EZP Coming Soon Page - Version 0.5.0

Version Description

  • Initial release

=

Download this release

Release Info

Developer bobriley
Plugin Icon 128x128 EZP Coming Soon Page
Version 0.5.0
Comparing to
See all releases

Version 0.5.0

Files changed (82) hide show
  1. classes/Entities/admin/class-ezp-cs-config-entity.php +113 -0
  2. classes/Entities/admin/class-ezp-cs-content-entity.php +81 -0
  3. classes/Entities/admin/class-ezp-cs-display-entity.php +292 -0
  4. classes/Entities/admin/class-ezp-cs-set-entity.php +70 -0
  5. classes/Entities/class-ezp-cs-global-entity.php +106 -0
  6. classes/Entities/class-ezp-cs-json-entity-base.php +290 -0
  7. classes/Entities/class-ezp-cs-standard-entity-base.php +350 -0
  8. classes/Entities/crm/class-ezp-contact-entity.php +85 -0
  9. classes/Entities/crm/class-ezp-cs-subscriber-entity.php +85 -0
  10. classes/Entities/crm/class-ezp-email-entity.php +85 -0
  11. classes/Utilities/class-ezp-cs-query-utility.php +206 -0
  12. classes/Utilities/class-ezp-cs-render-utility.php +44 -0
  13. classes/Utilities/class-ezp-cs-test-utility.php +56 -0
  14. classes/Utilities/class-ezp-cs-utility.php +259 -0
  15. classes/class-ezp-cs-constants.php +64 -0
  16. classes/class-ezp-cs-plugin-base.php +62 -0
  17. classes/class-ezp-cs-verifiers.php +109 -0
  18. classes/class-ezp-cs.php +504 -0
  19. easy-pie-coming-soon.php +38 -0
  20. images/backgrounds/cloud-1.jpg +0 -0
  21. images/backgrounds/dark-marble.jpg +0 -0
  22. images/backgrounds/fotogrph-yellow-wildflowers-691967596.jpg +0 -0
  23. images/backgrounds/leather-patch.jpg +0 -0
  24. images/backgrounds/water-ripples.jpg +0 -0
  25. images/easy-pie-cs-logo32.png +0 -0
  26. images/easy-pie-cs-menu-icon.png +0 -0
  27. images/easy-pie-mm-logo32.png +0 -0
  28. jquery-plugins/simple-modal/jquery.simplemodal.1.4.4.min.js +26 -0
  29. jquery-plugins/spectrum-picker/spectrum.css +511 -0
  30. jquery-plugins/spectrum-picker/spectrum.js +2010 -0
  31. jquery-plugins/spectrum-picker/spectrum.min.js +5 -0
  32. js/jquery.bxslider.min.js +10 -0
  33. js/page-options-content-tab.js +39 -0
  34. js/page-options-display-tab.js +253 -0
  35. js/page-options-subscribers.js +85 -0
  36. languages/easy-pie-coming-soon.mo +0 -0
  37. languages/easy-pie-coming-soon.po +530 -0
  38. license.txt +621 -0
  39. mini-themes/base-responsive/css/colors.css +320 -0
  40. mini-themes/base-responsive/css/images/loading.gif +0 -0
  41. mini-themes/base-responsive/css/overlays/01.png +0 -0
  42. mini-themes/base-responsive/css/overlays/02.png +0 -0
  43. mini-themes/base-responsive/css/overlays/03.png +0 -0
  44. mini-themes/base-responsive/css/overlays/04.png +0 -0
  45. mini-themes/base-responsive/css/overlays/05.png +0 -0
  46. mini-themes/base-responsive/css/overlays/06.png +0 -0
  47. mini-themes/base-responsive/css/overlays/07.png +0 -0
  48. mini-themes/base-responsive/css/overlays/08.png +0 -0
  49. mini-themes/base-responsive/css/overlays/09.png +0 -0
  50. mini-themes/base-responsive/css/overlays/10.png +0 -0
  51. mini-themes/base-responsive/css/overlays/11.png +0 -0
  52. mini-themes/base-responsive/css/overlays/12.png +0 -0
  53. mini-themes/base-responsive/css/overlays/13.png +0 -0
  54. mini-themes/base-responsive/css/overlays/14.png +0 -0
  55. mini-themes/base-responsive/css/overlays/15.png +0 -0
  56. mini-themes/base-responsive/css/style.css +332 -0
  57. mini-themes/base-responsive/fonts/FontAwesome.otf +0 -0
  58. mini-themes/base-responsive/fonts/fontawesome-webfont.eot +0 -0
  59. mini-themes/base-responsive/fonts/fontawesome-webfont.svg +414 -0
  60. mini-themes/base-responsive/fonts/fontawesome-webfont.ttf +0 -0
  61. mini-themes/base-responsive/fonts/fontawesome-webfont.woff +0 -0
  62. mini-themes/base-responsive/index.php +240 -0
  63. mini-themes/base-responsive/js/custom.js +24 -0
  64. mini-themes/base-responsive/js/html5shiv.js +8 -0
  65. mini-themes/base-responsive/js/jquery.countdown.min.js +26 -0
  66. mini-themes/base-responsive/js/respond.min.js +6 -0
  67. pages/page-options-content-tab.php +194 -0
  68. pages/page-options-display-tab.php +336 -0
  69. pages/page-options-settings.php +252 -0
  70. pages/page-options-subscribers.php +183 -0
  71. pages/page-options.php +86 -0
  72. pages/page-preview.php +33 -0
  73. readme.txt +83 -0
  74. styles/easy-pie-cs-styles.css +49 -0
  75. styles/images/controls.png +0 -0
  76. styles/jquery.bxslider.css +197 -0
  77. templates/blacknwhite/display.json +29 -0
  78. templates/blacknwhite/metadata.json +4 -0
  79. templates/blacknwhite/screenshot.png +0 -0
  80. uninstall.php +11 -0
  81. web-service/class-rest-base.php +132 -0
  82. web-service/crm_ws.php +233 -0
classes/Entities/admin/class-ezp-cs-config-entity.php ADDED
@@ -0,0 +1,113 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /*
4
+ Easy Pie Coming Soon Plugin
5
+ Copyright (C) 2014, Synthetic Thought LLC
6
+ website: easypiewp.com contact: bob@easypiewp.com
7
+
8
+ Easy Pie Coming Soon Plugin is distributed under the GNU General Public License, Version 3,
9
+ June 2007. Copyright (C) 2007 Free Software Foundation, Inc., 51 Franklin
10
+ St, Fifth Floor, Boston, MA 02110, USA
11
+
12
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
13
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
14
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
15
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
16
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
17
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
18
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
19
+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
20
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
21
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
22
+ */
23
+
24
+ require_once(dirname(__FILE__) . '/../class-ezp-cs-json-entity-base.php');
25
+
26
+ if (!class_exists('EZP_CS_Config_Entity')) {
27
+
28
+ /**
29
+ * @author Bob Riley <bob@easypiewp.com>
30
+ * @copyright 2014 Synthetic Thought LLC
31
+ */
32
+ class EZP_CS_Config_Entity extends EZP_CS_JSON_Entity_Base {
33
+
34
+ const TYPE = "EZP_CS_Config_Entity";
35
+
36
+ public $coming_soon_mode_on;
37
+
38
+ public $collect_email;
39
+ public $collect_name;
40
+ public $return_code;
41
+ public $author_url;
42
+ public $meta_description;
43
+ public $meta_keywords;
44
+
45
+ public $analytics_code;
46
+
47
+ public $facebook_url;
48
+ public $twitter_url;
49
+ public $google_plus_url;
50
+
51
+
52
+ function __construct() {
53
+
54
+ $this->coming_soon_mode_on = false;
55
+
56
+ $this->collect_email = true;
57
+ $this->collect_name = true;
58
+
59
+ $this->return_code = 503;
60
+
61
+ $this->author_url = "";
62
+ $this->meta_description = "";
63
+ $this->meta_keywords = "";
64
+
65
+ $this->analytics_code = "";
66
+
67
+ $this->facebook_url = "";
68
+ $this->twitter_url = "";
69
+ $this->google_plus_url = "";
70
+
71
+ parent::__construct();
72
+ }
73
+
74
+ /**
75
+ *
76
+ * @return EZP_CS_Config_Entity
77
+ */
78
+ public function create_with_defaults() {
79
+
80
+ $instance = new EZP_CS_Config_Entity();
81
+
82
+ return $instance;
83
+ }
84
+
85
+ /**
86
+ *
87
+ * @param type $id
88
+ * @return EZP_CS_Config_Entity
89
+ */
90
+ public static function get_by_id($id) {
91
+ return EZP_CS_JSON_Entity_Base::get_by_id_and_type($id, self::TYPE);
92
+ }
93
+
94
+ public function fix_url_fields() {
95
+
96
+ $this->fix_url_field($this->facebook_url);
97
+ $this->fix_url_field($this->google_plus_url);
98
+ $this->fix_url_field($this->twitter_url);
99
+ }
100
+
101
+ private function fix_url_field(&$field) {
102
+
103
+ if(!empty($field)) {
104
+
105
+ if(strpos($field, 'http') === false) {
106
+
107
+ $field = 'https://' . $field;
108
+ }
109
+ }
110
+ }
111
+ }
112
+ }
113
+ ?>
classes/Entities/admin/class-ezp-cs-content-entity.php ADDED
@@ -0,0 +1,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /*
4
+ Easy Pie Coming Soon Plugin
5
+ Copyright (C) 2014, Synthetic Thought LLC
6
+ website: easypiewp.com contact: bob@easypiewp.com
7
+
8
+ Easy Pie Coming Soon Plugin is distributed under the GNU General Public License, Version 3,
9
+ June 2007. Copyright (C) 2007 Free Software Foundation, Inc., 51 Franklin
10
+ St, Fifth Floor, Boston, MA 02110, USA
11
+
12
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
13
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
14
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
15
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
16
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
17
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
18
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
19
+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
20
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
21
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
22
+ */
23
+
24
+ require_once(dirname(__FILE__) . '/../class-ezp-cs-json-entity-base.php');
25
+
26
+ if (!class_exists('EZP_CS_Content_Entity')) {
27
+
28
+ /**
29
+ * @author Bob Riley <bob@easypiewp.com>
30
+ * @copyright 2014 Synthetic Thought LLC
31
+ */
32
+ class EZP_CS_Content_Entity extends EZP_CS_JSON_Entity_Base {
33
+
34
+ const TYPE = "EZP_CS_Content_Entity";
35
+
36
+ public $logo_url = "";
37
+ public $headline;
38
+ public $description;
39
+ public $disclaimer;
40
+ public $footer;
41
+ public $email_placeholder_text;
42
+ public $name_placeholder_text;
43
+ public $email_button_text;
44
+ public $thank_you_headline;
45
+ public $thank_you_description;
46
+
47
+ function __construct() {
48
+
49
+ $this->headline = EZP_CS_Utility::__("Coming soon");
50
+ $this->description = EZP_CS_Utility::__("Our exciting new website is coming soon! Check back later.");
51
+ $this->disclaimer = EZP_CS_Utility::__("We won't spam you or sell your email address. Pinky swear.");
52
+ $this->footer = EZP_CS_Utility::__("(C)2014 My Company LLC");
53
+
54
+ $this->email_placeholder_text = EZP_CS_Utility::__("Enter email");
55
+ $this->name_placeholder_text = EZP_CS_Utility::__("Enter name");
56
+ $this->email_button_text = EZP_CS_Utility::__("Subscribe");
57
+
58
+ $this->thank_you_headline = EZP_CS_Utility::__("Thank you!");
59
+ $this->thank_you_description = EZP_CS_Utility::__("You'll hear from us when we launch.");
60
+
61
+ parent::__construct();
62
+ }
63
+
64
+ public function create_with_defaults() {
65
+
66
+ $instance = new EZP_CS_Content_Entity();
67
+
68
+ return $instance;
69
+ }
70
+
71
+ /**
72
+ *
73
+ * @param type $id
74
+ * @return EZP_CS_Content_Entity
75
+ */
76
+ public static function get_by_id($id) {
77
+ return EZP_CS_JSON_Entity_Base::get_by_id_and_type($id, self::TYPE);
78
+ }
79
+ }
80
+ }
81
+ ?>
classes/Entities/admin/class-ezp-cs-display-entity.php ADDED
@@ -0,0 +1,292 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /*
4
+ Easy Pie Coming Soon Plugin
5
+ Copyright (C) 2014, Synthetic Thought LLC
6
+ website: easypiewp.com contact: bob@easypiewp.com
7
+
8
+ Easy Pie Coming Soon Plugin is distributed under the GNU General Public License, Version 3,
9
+ June 2007. Copyright (C) 2007 Free Software Foundation, Inc., 51 Franklin
10
+ St, Fifth Floor, Boston, MA 02110, USA
11
+
12
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
13
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
14
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
15
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
16
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
17
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
18
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
19
+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
20
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
21
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
22
+ */
23
+
24
+ require_once(dirname(__FILE__) . '/../class-ezp-cs-json-entity-base.php');
25
+
26
+ if (!class_exists('EZP_CS_Display_Entity')) {
27
+
28
+ /**
29
+ * @author Bob Riley <bob@easypiewp.com>
30
+ * @copyright 2014 Synthetic Thought LLC
31
+ */
32
+ class EZP_CS_Display_Entity extends EZP_CS_JSON_Entity_Base {
33
+
34
+ const TYPE = "EZP_CS_Display_Entity";
35
+
36
+ public $background_image_url = "";
37
+ public $builtin_background_image; // Delayed initialization
38
+ public $background_color = "#00FF00";
39
+ public $background_tiling_enabled = false;
40
+
41
+ public $logo_width = "80px";
42
+ public $logo_height = "80px";
43
+
44
+ public $content_box_opacity = 0.4;
45
+ public $content_box_color = "#000000";
46
+
47
+ public $text_headline_font_name = "arial";
48
+ public $text_headline_font_size = "42px";
49
+ public $text_headline_font_color = "#FFFFFF";
50
+
51
+ public $text_description_font_name = "arial";
52
+ public $text_description_font_size = "20px";
53
+ public $text_description_font_color = "#FFFFFF";
54
+
55
+ public $text_disclaimer_font_name = "times-new-roman";
56
+ public $text_disclaimer_font_size = "14px";
57
+ public $text_disclaimer_font_color = "#FFFFFF";
58
+
59
+ public $text_footer_font_name = "times-new-roman";
60
+ public $text_footer_font_size = "13px";
61
+ public $text_footer_font_color = "#FFFFFF";
62
+
63
+ public $email_button_width = "120px";
64
+ public $email_button_height = "42px";
65
+
66
+ public $email_button_font_name = "arial";
67
+ public $email_button_font_size = "16px";
68
+ public $email_button_font_color = "#FFFFFF";
69
+
70
+ public $email_button_color = "#E34141";
71
+
72
+ public $css = "/* This code adds a shadow around the content box */\r\n#headline { font-weight: bold }\r\n#content-area { box-shadow: 1px 7px 36px -5px rgba(34,34,34,1);}";
73
+
74
+ function __construct() {
75
+
76
+ parent::__construct();
77
+
78
+ $this->background_image_url = EZP_CS_Utility::$PLUGIN_URL . '/images/backgrounds/cloud-1.jpg';
79
+ $font_size_regex = "/(px|em|ex|%|in|cm|mm|pt|pc)+$/";
80
+ $div_size_regex = "/(px|%)+$/";
81
+ $this->verifiers['text_headline_font_size'] = new EZP_CS_Regex_Verifier($font_size_regex, EZP_CS_Utility::__("Headline font must end in a unit (px, em, etc...)"));
82
+ $this->verifiers['text_description_font_size'] = new EZP_CS_Regex_Verifier($font_size_regex, EZP_CS_Utility::__("Description font must end in a unit (px, em, etc...)"));
83
+ $this->verifiers['text_disclaimer_font_size'] = new EZP_CS_Regex_Verifier($font_size_regex, EZP_CS_Utility::__("Disclaimer font must end in a unit (px, em, etc...)"));
84
+ $this->verifiers['text_footer_font_size'] = new EZP_CS_Regex_Verifier($font_size_regex, EZP_CS_Utility::__("Footer font must end in a unit (px, em, etc...)"));
85
+ $this->verifiers['email_button_font_size'] = new EZP_CS_Regex_Verifier($font_size_regex, EZP_CS_Utility::__("Email button font must end in a unit (px, em, etc...)"));
86
+
87
+ $this->verifiers['logo_width'] = new EZP_CS_Regex_Verifier($font_size_regex, EZP_CS_Utility::__("Logo width must end in px or %"));
88
+ $this->verifiers['logo_height'] = new EZP_CS_Regex_Verifier($font_size_regex, EZP_CS_Utility::__("Logo height font must end in px or %"));
89
+ $this->verifiers['email_button_width'] = new EZP_CS_Regex_Verifier($font_size_regex, EZP_CS_Utility::__("Email button height font must end in px or %"));
90
+ $this->verifiers['email_button_height'] = new EZP_CS_Regex_Verifier($font_size_regex, EZP_CS_Utility::__("Email button width must end in px or %"));
91
+
92
+ $this->verifiers['content_box_opacity'] = new EZP_CS_Range_Verifier(0, 1, EZP_CS_Utility::__("Content box opacity must be between 0 and 1"));
93
+ }
94
+
95
+ public function create_with_defaults() {
96
+
97
+ $instance = new EZP_CS_Display_Entity();
98
+
99
+ return $instance;
100
+ }
101
+
102
+ /**
103
+ *
104
+ * @param type $id
105
+ * @return EZP_CS_Display_Entity
106
+ */
107
+ public static function get_by_id($id)
108
+ {
109
+ return EZP_CS_JSON_Entity_Base::get_by_id_and_type($id, self::TYPE);
110
+ }
111
+
112
+ public static function get_all_template_metadata()
113
+ {
114
+ $metadata_array = array();
115
+ $dirs = glob(EZP_CS_Utility::$MINI_THEMES_TEMPLATE_DIRECTORY . "*", GLOB_ONLYDIR);
116
+
117
+ sort($dirs);
118
+
119
+ foreach ($dirs as $dir) {
120
+
121
+ $metadata = null;
122
+ $metadata_path = $dir . "/metadata.json";
123
+
124
+ if (file_exists($metadata_path)) {
125
+
126
+ $metadata_text = file_get_contents($metadata_path);
127
+
128
+ if ($metadata_text != false) {
129
+
130
+ $metadata = json_decode($metadata_text);
131
+
132
+ } else {
133
+ self::debug("No metadata in $metadata_path");
134
+ }
135
+ }
136
+ else {
137
+ self::debug("No metadata file in $dir");
138
+ }
139
+
140
+ if ($metadata != null) {
141
+
142
+ $template_key = basename($dir);
143
+
144
+ // RSR TODO: Have a way to give each item a unique key if it conflicts..?
145
+ EZP_CS_Utility::add_property($metadata, 'template_key', $template_key);
146
+ EZP_CS_Utility::add_property($metadata, 'screenshot_url', EZP_CS_Utility::$PLUGIN_URL . "/templates/$template_key/screenshot.png");
147
+
148
+ array_push($metadata_array, $metadata);
149
+ }
150
+ }
151
+
152
+ return $metadata_array;
153
+ }
154
+
155
+ /**
156
+ *
157
+ * @param type $template_key
158
+ * @return EZP_CS_Display_Entity
159
+ * Inspired from good solution found at http://stackoverflow.com/questions/5397758/json-decode-to-custom-class
160
+ */
161
+ public static function create_from_mixed($mixed)
162
+ {
163
+ // RSR TODO: Move this into a base class
164
+ $instance = new EZP_CS_Display_Entity();
165
+
166
+ foreach ($mixed AS $key => $value) {
167
+ $instance->{$key} = $value;
168
+ }
169
+
170
+ return $instance;
171
+ }
172
+
173
+ /**
174
+ *
175
+ * @param type $template_key
176
+ * @return EZP_CS_Display_Entity
177
+ */
178
+ public static function create_from_template ($template_key)
179
+ {
180
+ EZP_CS_Utility::debug("copying from template $template_key");
181
+
182
+ $template_directory = EZP_CS_Utility::$MINI_THEMES_TEMPLATE_DIRECTORY . $template_key;
183
+
184
+ $metadata_path = $template_directory . "/display.json";
185
+
186
+ $display_json = file_get_contents($metadata_path);
187
+
188
+ $mixed = json_decode($display_json);
189
+
190
+ EZP_CS_Utility::debug_dump("mixed from template", $mixed);
191
+ $new = self::create_from_mixed($mixed);
192
+
193
+ EZP_CS_Utility::debug_dump("after copy from template", $new);
194
+
195
+ return $new;
196
+ }
197
+
198
+ public static function display_font_field_row($label, $variable_base_name, $model) {
199
+
200
+ $font_name_variable_name = $variable_base_name . '_font_name';
201
+ $font_size_variable_name = $variable_base_name . '_font_size';
202
+ $font_color_variable_name = $variable_base_name . '_font_color';
203
+
204
+ $font_name_value = $model->$font_name_variable_name;
205
+ $font_size_value = $model->$font_size_variable_name;
206
+ $font_color_value = $model->$font_color_variable_name;
207
+
208
+ ?>
209
+ <th scope="row">
210
+ <?php EZP_CS_Utility::_e($label); ?>
211
+ </th>
212
+ <td>
213
+ <div class="compound-setting">
214
+ <select style="height:32px" name="<?php echo $font_name_variable_name; ?>" >
215
+ <?php
216
+
217
+ EZP_CS_Display_Entity::render_font_options($font_name_value);
218
+ ?>
219
+ </select>
220
+
221
+ <input name="<?php echo $font_size_variable_name;?>" class="text-styling-size" placeholder="<?php EZP_CS_Utility::_e("Size");?>" value="<?php echo $font_size_value;?>" size="6" style="line-height:24px;padding-top:1px;margin:0"/>
222
+ <input name="<?php echo $font_color_variable_name;?>" class="spectrum-picker" type="text" value="<?php echo $font_color_value; ?>"/>
223
+ </div>
224
+ </td>
225
+
226
+ <?php
227
+ }
228
+
229
+ private static function render_font_options($current_font_name_value)
230
+ {
231
+ EZP_CS_Utility::render_option("arial", EZP_CS_Utility::__("Arial"), $current_font_name_value);
232
+ EZP_CS_Utility::render_option("courier-new", EZP_CS_Utility::__("Courier New"), $current_font_name_value);
233
+ EZP_CS_Utility::render_option("comic-sans-ms", EZP_CS_Utility::__("Comic Sans MS"), $current_font_name_value);
234
+ EZP_CS_Utility::render_option("georgia", EZP_CS_Utility::__("Georgia"), $current_font_name_value);
235
+ EZP_CS_Utility::render_option("impact", EZP_CS_Utility::__("Impact"), $current_font_name_value);
236
+ EZP_CS_Utility::render_option("times-new-roman", EZP_CS_Utility::__("Times New Roman"), $current_font_name_value);
237
+ EZP_CS_Utility::render_option("verdana", EZP_CS_Utility::__("Verdana"), $current_font_name_value);
238
+ }
239
+
240
+ public static function get_font_family_by_key($font_key)
241
+ {
242
+ switch($font_key) {
243
+ case "arial":
244
+ return "Arial, Helvetica, san-serif";
245
+ break;
246
+
247
+ case "courier-new":
248
+ return "\"Courier New\", Courier, monospace";
249
+ break;
250
+
251
+ case "comic-sans-ms":
252
+ return "\"Comic Sans MS\", cursive, sans-serif";
253
+ break;
254
+
255
+ case "georgia":
256
+ return "Georgia, serif";
257
+ break;
258
+
259
+ case "impact":
260
+ return "Impact, Charcoal, sans-serif";
261
+ break;
262
+
263
+ case "times-new-roman":
264
+ return "\"Times New Roman\", Times, serif";
265
+ break;
266
+
267
+ case "verdana":
268
+ return "Verdana, Geneva, sans-serif";
269
+ break;
270
+
271
+ default:
272
+ return "";
273
+ }
274
+ }
275
+
276
+ public function get_font_styling($variable_base_name)
277
+ {
278
+ $font_name_variable_name = $variable_base_name . '_font_name';
279
+ $font_size_variable_name = $variable_base_name . '_font_size';
280
+ $font_color_variable_name = $variable_base_name . '_font_color';
281
+
282
+ $font_name_key_value = $this->$font_name_variable_name;
283
+ $font_size_value = $this->$font_size_variable_name;
284
+ $font_color_value = $this->$font_color_variable_name;
285
+
286
+ $font_family_value = EZP_CS_Display_Entity::get_font_family_by_key($font_name_key_value);
287
+
288
+ return "color: $font_color_value; font-size: $font_size_value; font-family: $font_family_value";
289
+ }
290
+ }
291
+ }
292
+ ?>
classes/Entities/admin/class-ezp-cs-set-entity.php ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /*
4
+ Easy Pie Coming Soon Plugin
5
+ Copyright (C) 2014, Synthetic Thought LLC
6
+ website: easypiewp.com contact: bob@easypiewp.com
7
+
8
+ Easy Pie Coming Soon Plugin is distributed under the GNU General Public License, Version 3,
9
+ June 2007. Copyright (C) 2007 Free Software Foundation, Inc., 51 Franklin
10
+ St, Fifth Floor, Boston, MA 02110, USA
11
+
12
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
13
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
14
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
15
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
16
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
17
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
18
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
19
+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
20
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
21
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
22
+ */
23
+
24
+ require_once(dirname(__FILE__) . '/../class-ezp-cs-json-entity-base.php');
25
+
26
+ if (!class_exists('EZP_CS_Set_Entity')) {
27
+
28
+ /**
29
+ * @author Bob Riley <bob@easypiewp.com>
30
+ * @copyright 2014 Synthetic Thought LLC
31
+ */
32
+ class EZP_CS_Set_Entity extends EZP_CS_JSON_Entity_Base {
33
+
34
+ const TYPE = "EZP_CS_Set_Entity";
35
+
36
+ public $display_index;
37
+ public $content_index;
38
+
39
+ function __construct() {
40
+
41
+ parent::__construct();
42
+ }
43
+
44
+ function create($display_index, $content_index)
45
+ {
46
+ $instance = new EZP_CS_Set_Entity();
47
+
48
+ $instance->set("display_index", $display_index);
49
+ $instance->set("content_index", $content_index);
50
+
51
+ return $instance;
52
+ }
53
+
54
+ public static function get_all()
55
+ {
56
+ $base_types = EZP_CS_JSON_Entity_Base::get_by_type(self::TYPE);
57
+ }
58
+
59
+ /**
60
+ *
61
+ * @param type $id
62
+ * @return EZP_CS_Set_Entity
63
+ */
64
+ public static function get_by_id($id)
65
+ {
66
+ return EZP_CS_JSON_Entity_Base::get_by_id_and_type($id, self::TYPE);
67
+ }
68
+ }
69
+ }
70
+ ?>
classes/Entities/class-ezp-cs-global-entity.php ADDED
@@ -0,0 +1,106 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+
4
+ /*
5
+ Easy Pie Coming Soon Plugin
6
+ Copyright (C) 2014, Synthetic Thought LLC
7
+ website: easypiewp.com contact: bob@easypiewp.com
8
+
9
+ Easy Pie Coming Soon Plugin is distributed under the GNU General Public License, Version 3,
10
+ June 2007. Copyright (C) 2007 Free Software Foundation, Inc., 51 Franklin
11
+ St, Fifth Floor, Boston, MA 02110, USA
12
+
13
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
14
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
15
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
16
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
17
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
18
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
19
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
20
+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
21
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
22
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
23
+ */
24
+
25
+ require_once(dirname(__FILE__) . '/../Utilities/class-ezp-cs-query-utility.php');
26
+
27
+ require_once('class-ezp-cs-standard-entity-base.php');
28
+ require_once(dirname(__FILE__) . './crm/class-ezp-cs-subscriber-entity.php');
29
+ require_once(dirname(__FILE__) . './crm/class-ezp-contact-entity.php');
30
+ require_once(dirname(__FILE__) . './crm/class-ezp-email-entity.php');
31
+
32
+ require_once('class-ezp-cs-json-entity-base.php');
33
+ require_once(dirname(__FILE__) . './admin/class-ezp-cs-display-entity.php');
34
+ require_once(dirname(__FILE__) . './admin/class-ezp-cs-content-entity.php');
35
+ require_once(dirname(__FILE__) . './admin/class-ezp-cs-config-entity.php');
36
+ require_once(dirname(__FILE__) . './admin/class-ezp-cs-set-entity.php');
37
+
38
+ if (!class_exists('EZP_CS_Global_Entity')) {
39
+
40
+ /**
41
+ * @author Bob Riley <bob@easypiewp.com>
42
+ * @copyright 2014 Synthetic Thought LLC
43
+ */
44
+ class EZP_CS_Global_Entity extends EZP_CS_JSON_Entity_Base {
45
+
46
+ const TYPE = "EZP_CS_Global_Entity";
47
+
48
+ public $active_set_index;
49
+ public $config_index;
50
+ public $plugin_version;
51
+
52
+ function __construct() {
53
+
54
+ parent::__construct();
55
+
56
+ $plugin_version = EZP_CS_Constants::PLUGIN_VERSION;
57
+ }
58
+
59
+ public static function initialize_plugin_data() {
60
+
61
+ $globals = EZP_CS_JSON_Entity_Base::get_by_type(self::TYPE);
62
+
63
+ if($globals == null) {
64
+
65
+ // RSR TODO: error checking here to ensure data doesnt get out of sync
66
+ $display = EZP_CS_Display_Entity::create_with_defaults();
67
+
68
+ $display->save();
69
+
70
+ $content = EZP_CS_Content_Entity::create_with_defaults();
71
+
72
+ $content->save();
73
+
74
+ $set = EZP_CS_Set_Entity::create($display->id, $content->id);
75
+
76
+ $set->save();
77
+
78
+ $config = EZP_CS_Config_Entity::create_with_defaults();
79
+
80
+ $config->save();
81
+
82
+ $global = new EZP_CS_Global_Entity();
83
+
84
+ $global->set("active_set_index", $set->id);
85
+
86
+ $global->set("config_index", $config->id);
87
+
88
+ $global->save();
89
+ }
90
+ }
91
+
92
+ public static function get_instance() {
93
+
94
+ $global = null;
95
+ $globals = EZP_CS_JSON_Entity_Base::get_by_type(self::TYPE);
96
+
97
+ if($globals != null) {
98
+
99
+ $global = $globals[0];
100
+ }
101
+
102
+ return $global;
103
+ }
104
+ }
105
+ }
106
+ ?>
classes/Entities/class-ezp-cs-json-entity-base.php ADDED
@@ -0,0 +1,290 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /*
4
+ Easy Pie Coming Soon Plugin
5
+ Copyright (C) 2014, Synthetic Thought LLC
6
+ website: easypiewp.com contact: bob@easypiewp.com
7
+
8
+ Easy Pie Coming Soon Plugin is distributed under the GNU General Public License, Version 3,
9
+ June 2007. Copyright (C) 2007 Free Software Foundation, Inc., 51 Franklin
10
+ St, Fifth Floor, Boston, MA 02110, USA
11
+
12
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
13
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
14
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
15
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
16
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
17
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
18
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
19
+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
20
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
21
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
22
+ */
23
+
24
+ require_once(dirname(__FILE__) . '/../class-ezp-cs-verifiers.php');
25
+
26
+ if (!class_exists('EZP_CS_JSON_Entity_Base')) {
27
+
28
+ /**
29
+ * Base class for entities that store their data in JSON format
30
+ *
31
+ * @author Bob Riley <bob@easypiewp.com>
32
+ * @copyright 2014 Synthetic Thought LLC
33
+ */
34
+ class EZP_CS_JSON_Entity_Base {
35
+
36
+ public $id;
37
+ public $type;
38
+ private $dirty;
39
+ private $table_name;
40
+ protected $verifiers;
41
+
42
+ const DEFAULT_TABLE_NAME = "easy_pie_cs_entities";
43
+
44
+ function __construct($table_name = self::DEFAULT_TABLE_NAME) {
45
+
46
+ global $wpdb;
47
+
48
+ $this->id = -1;
49
+ //$this->type = $type;
50
+ $this->type = get_class($this);
51
+ $this->dirty = false;
52
+ $this->verifiers = array();
53
+
54
+ $this->table_name = $wpdb->prefix . $table_name;
55
+ }
56
+
57
+ public static function init_table($table_name = self::DEFAULT_TABLE_NAME) {
58
+
59
+ global $wpdb;
60
+
61
+ $table_name = $wpdb->prefix . $table_name;
62
+
63
+ $query_string = "CREATE TABLE IF NOT EXISTS " . $table_name . "(";
64
+ $query_string .= "id INT NOT NULL AUTO_INCREMENT,";
65
+ $query_string .= "type varchar(255), ";
66
+ $query_string .= "data TEXT, ";
67
+ $query_string .= "PRIMARY KEY (id));";
68
+
69
+ //$wpdb->query($query_string);
70
+ dbDelta($query_string);
71
+ }
72
+
73
+ public function insert() {
74
+ global $wpdb;
75
+
76
+ $query_string = "INSERT INTO " . $this->table_name;
77
+ $query_string .= " (type, data) VALUES (%s, %s);";
78
+
79
+ $data = EZP_CS_Utility::get_public_properties($this);
80
+
81
+ $serialized_data = json_encode($data);
82
+
83
+ if(strlen($serialized_data) < 65536) {
84
+
85
+ $prepared_query = $wpdb->prepare($query_string, $this->type, $serialized_data);
86
+
87
+ $wpdb->query($prepared_query);
88
+
89
+ $this->id = $wpdb->insert_id;
90
+
91
+ if($this->id == false) {
92
+
93
+ $this->id = -1;
94
+
95
+ EZP_CS_Utility::debug("Error inserting. Query: " . $prepared_query);
96
+
97
+ return false;
98
+ }
99
+ } else {
100
+
101
+ EZP_CS_Utility::debug("Entity trying to be inserted exceeds max size of 65K!");
102
+ return false;
103
+ }
104
+
105
+ return true;
106
+ }
107
+
108
+ public function update() {
109
+ global $wpdb;
110
+
111
+ $query_string = "UPDATE " . $this->table_name;
112
+ $query_string .= " SET type = %s, data = %s WHERE id = %d;";
113
+
114
+ $data = EZP_CS_Utility::get_public_properties($this);
115
+
116
+ $serialized_data = json_encode($data);
117
+
118
+ if(strlen($serialized_data) < 65536) {
119
+ $prepared_query = $wpdb->prepare($query_string, $this->type, $serialized_data, $this->id);
120
+ $wpdb->query($prepared_query);
121
+ $this->dirty = false;
122
+
123
+ return true;
124
+ } else {
125
+
126
+ EZP_CS_Utility::debug("Entity trying to be updated exceeds max size of 65K!");
127
+ return false;
128
+ }
129
+ }
130
+
131
+ public function delete() {
132
+ global $wpdb;
133
+
134
+ $query_string = "DELETE FROM " . $this->table_name;
135
+ $query_string .= " WHERE id = %d;";
136
+
137
+ $prepared_query = $wpdb->prepare($query_string, $this->id);
138
+
139
+ $wpdb->query($prepared_query);
140
+
141
+ $this->id = -1;
142
+ $this->dirty = false;
143
+ }
144
+
145
+ public static function get_by_id_and_type($id, $type, $table_name = self::DEFAULT_TABLE_NAME) {
146
+ global $wpdb;
147
+
148
+ $table_name = $wpdb->prefix . $table_name;
149
+
150
+ $query_string = "SELECT * FROM " . $table_name;
151
+ $query_string .= " WHERE id = %d;";
152
+
153
+ $prepped = $wpdb->prepare($query_string, $id);
154
+
155
+ $row = $wpdb->get_row($prepped);
156
+
157
+ if($row != NULL)
158
+ {
159
+ $instance = new $type();
160
+
161
+ $instance->id = $row->id;
162
+ $instance->type = $row->type;
163
+ $instance->table_name = $table_name;
164
+
165
+ $data = json_decode($row->data);
166
+
167
+ foreach ($data as $property_name => $property_value) {
168
+ $instance->$property_name = $property_value;
169
+ }
170
+
171
+ return $instance;
172
+ }
173
+ else {
174
+ EZP_CS_Utility::debug('get_by_id_and_type: row is null');
175
+ return null;
176
+ }
177
+ }
178
+
179
+ public static function get_by_type($type, $table_name = self::DEFAULT_TABLE_NAME, $page = 0) {
180
+
181
+ global $wpdb;
182
+
183
+ $table_name = $wpdb->prefix . $table_name;
184
+
185
+ $query_string = "SELECT * FROM " . $table_name;
186
+ $query_string .= " WHERE type = %s";
187
+
188
+ if($page > 0) {
189
+
190
+ $records_per_page = 50;
191
+
192
+ $offset = ($page - 1) * $records_per_page;
193
+
194
+ $query_string .= " LIMIT $offset, $records_per_page";
195
+ }
196
+
197
+ $query_string .= ';';
198
+
199
+ $prepared = $wpdb->prepare($query_string, $type);
200
+
201
+ $rows = $wpdb->get_results($prepared);
202
+
203
+ $instances = array();
204
+ foreach ($rows as $row) {
205
+
206
+ $instance = new $type();
207
+ $instance->id = $row->id;
208
+ $instance->type = $row->type;
209
+ $instance->table_name = $table_name;
210
+
211
+ $data = json_decode($row->data);
212
+
213
+ foreach ($data as $property_name => $property_value) {
214
+ $instance->$property_name = $property_value;
215
+ }
216
+ array_push($instances, $instance);
217
+ }
218
+
219
+ return $instances;
220
+ }
221
+
222
+ public function save() {
223
+
224
+ $saved = false;
225
+
226
+ if ($this->id == -1) {
227
+
228
+ $saved = $this->insert();
229
+ } else //screw the dirty part - too problematic if we update member directlyif ($this->dirty) {
230
+ {
231
+ $saved = $this->update();
232
+ $this->dirty = false;
233
+ }
234
+
235
+ return $saved;
236
+ }
237
+
238
+ public function set_post_variables($post) {
239
+
240
+ $error_string = "";
241
+
242
+ // First do a verifier scrub and only then let it fall through to set
243
+ foreach ($post as $key => $value) {
244
+
245
+ $value = stripslashes($value);
246
+
247
+ if (array_key_exists($key, $this->verifiers)) {
248
+
249
+ $local_error = $this->verifiers[$key]->verify($value);
250
+
251
+ if ($local_error != "") {
252
+
253
+ $error_string .= $local_error . ".<br/>";
254
+ }
255
+
256
+ $this->set($key, $value);
257
+ } else {
258
+ $this->set($key, $value);
259
+ }
260
+ }
261
+
262
+ return $error_string;
263
+ }
264
+
265
+ public function set($property_name, $property_value) {
266
+
267
+ if(property_exists($this->type, $property_name)) {
268
+
269
+ $this->$property_name = $property_value;
270
+ $this->dirty = true;
271
+ }
272
+ }
273
+
274
+ public function get($property_name) {
275
+
276
+ //if (array_key_exists($key, $this->data_array)) {
277
+ if (property_exists($this->type, $property_name)) {
278
+
279
+ return $this->$property_name;
280
+ //return $this->data_array[$key];
281
+ } else {
282
+
283
+ return null;
284
+ }
285
+ }
286
+ }
287
+
288
+ // EZP_CS_JSON_Entity_Base::init();
289
+ }
290
+ ?>
classes/Entities/class-ezp-cs-standard-entity-base.php ADDED
@@ -0,0 +1,350 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /*
4
+ Easy Pie Coming Soon Plugin
5
+ Copyright (C) 2014, Synthetic Thought LLC
6
+ website: easypiewp.com contact: bob@easypiewp.com
7
+
8
+ Easy Pie Coming Soon Plugin is distributed under the GNU General Public License, Version 3,
9
+ June 2007. Copyright (C) 2007 Free Software Foundation, Inc., 51 Franklin
10
+ St, Fifth Floor, Boston, MA 02110, USA
11
+
12
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
13
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
14
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
15
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
16
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
17
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
18
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
19
+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
20
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
21
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
22
+ */
23
+
24
+ require_once(dirname(__FILE__) . '/../class-ezp-cs-verifiers.php');
25
+ require_once(dirname(__FILE__) . '/../Utilities/class-ezp-cs-utility.php');
26
+
27
+ if (!class_exists('EZP_CS_Standard_Entity_Base')) {
28
+
29
+ /**
30
+ * Base class for standard entities
31
+ *
32
+ * @author Bob Riley <bob@easypiewp.com>
33
+ * @copyright 2014 Synthetic Thought LLC
34
+ */
35
+ class EZP_CS_Standard_Entity_Base {
36
+
37
+ public $id;
38
+ private $dirty;
39
+ protected $table_name;
40
+ protected $verifiers;
41
+
42
+ function __construct($base_table_name) {
43
+
44
+ global $wpdb;
45
+
46
+ $this->id = -1;
47
+ $this->dirty = false;
48
+ $this->verifiers = array();
49
+
50
+ $this->table_name = $wpdb->prefix . $base_table_name;
51
+ }
52
+
53
+ protected static function generic_init_table($field_information, $base_table_name, $index_array = null) {
54
+
55
+ global $wpdb;
56
+
57
+ $table_name = $wpdb->prefix . $base_table_name;
58
+
59
+ if ($index_array != null) {
60
+
61
+ if ($wpdb->get_var("SHOW TABLES LIKE '$table_name'") == $table_name) {
62
+
63
+ foreach ($index_array as $index_name => $index_columns) {
64
+
65
+ //Image Ratings Table
66
+ $sql = "ALTER TABLE " . $table_name .
67
+ " DROP INDEX $index_name";
68
+
69
+ $wpdb->query($sql);
70
+ }
71
+ }
72
+ else {
73
+ //EZP_CS_Utility::debug("$table_name table not present so didn't strip indices");
74
+ }
75
+ }
76
+ $query_string = "CREATE TABLE $table_name (\r\n";
77
+ $query_string .= "id INT NOT NULL AUTO_INCREMENT,\r\n";
78
+
79
+ foreach ($field_information as $field_name => $field_type) {
80
+
81
+ $query_string .= "$field_name $field_type,\r\n";
82
+ }
83
+
84
+ $query_string .= 'PRIMARY KEY (id)' . "\r\n);";
85
+
86
+ dbDelta($query_string);
87
+
88
+ $query_string = "";
89
+
90
+ if($index_array != null) {
91
+
92
+ foreach ($index_array as $index_name => $index_columns) {
93
+
94
+ //Image Ratings Table
95
+ $query_string .= "CREATE INDEX $index_name ON $table_name ($index_columns);";
96
+ }
97
+ }
98
+
99
+ if($query_string != "") {
100
+
101
+ $wpdb->query($query_string);
102
+ }
103
+ }
104
+
105
+ public function insert() {
106
+ global $wpdb;
107
+
108
+ $query_string = "INSERT INTO $this->table_name (";
109
+
110
+ $properties = EZP_CS_Utility::get_public_properties($this);
111
+
112
+ $keys = array_keys($properties);
113
+ $query_string .= implode(',', $keys);
114
+ $query_string .= ') VALUES (';
115
+
116
+ foreach ($properties as $property_value) {
117
+ $query_string .= EZP_CS_Utility::get_db_type_format($property_value) . ",";
118
+ }
119
+
120
+ if (count($properties) > 0) {
121
+
122
+ $query_string = substr($query_string, 0, -1);
123
+ }
124
+
125
+ $query_string .= ');';
126
+
127
+ $prepared_query = $wpdb->prepare($query_string, $properties);
128
+
129
+ $wpdb->query($prepared_query);
130
+
131
+ $this->id = $wpdb->insert_id;
132
+
133
+ if ($this->id == false) {
134
+
135
+ $this->id = -1;
136
+
137
+ EZP_CS_Utility::debug("Error inserting. Query: " . $prepared_query);
138
+
139
+ return false;
140
+ } else {
141
+
142
+ return true;
143
+ }
144
+ }
145
+
146
+ public function update() {
147
+ global $wpdb;
148
+
149
+ $query_string = "UPDATE " . $this->table_name;
150
+
151
+ $query_string .= " SET ";
152
+
153
+ $properties = EZP_CS_Utility::get_public_properties($this);
154
+
155
+ foreach ($properties as $prop_name => $prop_value) {
156
+ $type_format = EZP_CS_Utility::get_db_type_format($prop_value);
157
+
158
+ $query_string .= "$prop_name = $type_format,";
159
+ }
160
+
161
+ if (count($properties) > 0) {
162
+
163
+ $query_string = substr($query_string, 0, -1);
164
+ }
165
+
166
+ $query_string .= " WHERE id = " . $this->id;
167
+
168
+ $prepared_query = $wpdb->prepare($query_string, $properties);
169
+
170
+ $wpdb->query($prepared_query);
171
+
172
+ $this->dirty = false;
173
+
174
+ return true;
175
+ }
176
+
177
+ /*
178
+ * Only INNODB supports foreign key constraints so no cascading changes!
179
+ */
180
+
181
+ public function delete() {
182
+
183
+ self::delete_by_id($this->id, $this->table_name);
184
+
185
+ $this->id = -1;
186
+ $this->dirty = false;
187
+ }
188
+
189
+ /*
190
+ * Only INNODB supports foreign key constraints so no cascading changes!
191
+ */
192
+
193
+ public static function delete_by_id_and_table($id, $base_table_name) {
194
+ global $wpdb;
195
+
196
+ $table_name = $wpdb->prefix . $base_table_name;
197
+
198
+ $query_string = "DELETE FROM " . $table_name;
199
+ $query_string .= " WHERE id = %d;";
200
+
201
+ $prepared_query = $wpdb->prepare($query_string, $id);
202
+
203
+ $wpdb->query($prepared_query);
204
+ }
205
+
206
+ public static function get_by_id_and_type($id, $class_name, $base_table_name) {
207
+
208
+ return self::get_by_unique_field_and_type("id", $id, $class_name, $base_table_name);
209
+ }
210
+
211
+ public static function get_by_unique_field_and_type($field_name, $field_value, $class_name, $base_table_name) {
212
+
213
+ global $wpdb;
214
+
215
+ $table_name = $wpdb->prefix . $base_table_name;
216
+
217
+ $query_string = "SELECT * FROM " . $table_name;
218
+ $query_string .= " WHERE $field_name = %d;";
219
+
220
+ $prepped = $wpdb->prepare($query_string, $field_value);
221
+
222
+ $row = $wpdb->get_row($prepped);
223
+
224
+ if ($row != NULL) {
225
+ return self::get_instance_from_row($row, $class_name, $table_name);
226
+ } else {
227
+ EZP_CS_Utility::debug("get_by_unique_field_and_type: row is null for $table_name, $field_name, $field_value");
228
+ return null;
229
+ }
230
+ }
231
+
232
+ public static function get_all_objects($class_name, $base_table_name, $page = 0) {
233
+
234
+ global $wpdb;
235
+
236
+ $table_name = $wpdb->prefix . $base_table_name;
237
+
238
+ $query_string = "SELECT * FROM " . $table_name;
239
+
240
+ if ($page > 0) {
241
+
242
+ $records_per_page = 50;
243
+
244
+ $offset = ($page - 1) * $records_per_page;
245
+
246
+ $query_string .= " LIMIT $offset, $records_per_page";
247
+ }
248
+
249
+ $query_string .= ';';
250
+
251
+ $rows = $wpdb->get_results($query_string);
252
+
253
+ $instances = array();
254
+
255
+ foreach ($rows as $row) {
256
+
257
+ $instance = self::get_instance_from_row($row, $class_name, $table_name);
258
+
259
+ array_push($instances, $instance);
260
+ }
261
+
262
+ return $instances;
263
+ }
264
+
265
+ public function save() {
266
+
267
+ $saved = false;
268
+
269
+ if ($this->id == -1) {
270
+
271
+ $saved = $this->insert();
272
+
273
+ } else { //screw the dirty part - too problematic if we update member directlyif ($this->dirty) {
274
+
275
+ $saved = $this->update();
276
+ }
277
+
278
+ $this->dirty = false;
279
+
280
+ return $saved;
281
+ }
282
+
283
+ public function set_post_variables($post) {
284
+
285
+ $error_string = "";
286
+
287
+ // First do a verifier scrub and only then let it fall through to set
288
+ foreach ($post as $key => $value) {
289
+
290
+ $value = stripslashes($value);
291
+
292
+ if (array_key_exists($key, $this->verifiers)) {
293
+
294
+ $local_error = $this->verifiers[$key]->verify($value);
295
+
296
+ if ($local_error != "") {
297
+
298
+ $error_string .= $local_error . ".<br/>";
299
+ }
300
+
301
+ $this->set($key, $value);
302
+ } else {
303
+ $this->set($key, $value);
304
+ }
305
+ }
306
+
307
+ return $error_string;
308
+ }
309
+
310
+ public function set($property_name, $property_value) {
311
+
312
+ if(property_exists($this->type, $property_name)) {
313
+
314
+ $this->$property_name = $property_value;
315
+
316
+ $this->dirty = true;
317
+ }
318
+ }
319
+
320
+ public function get($property_name) {
321
+
322
+ if (property_exists($this, $property_name)) {
323
+
324
+ return $this->$property_name;
325
+ } else {
326
+
327
+ return null;
328
+ }
329
+ }
330
+
331
+ private static function get_instance_from_row($row, $class_name, $table_name) {
332
+ $instance = new $class_name();
333
+ $instance->id = $row->id;
334
+ $instance->table_name = $table_name;
335
+
336
+ $properties = EZP_CS_Utility::get_public_class_properties($class_name);
337
+
338
+ foreach ($properties as $prop_name => $prop_value) {
339
+
340
+ if (property_exists($row, $prop_name)) {
341
+
342
+ $instance->$prop_name = $row->$prop_name;
343
+ }
344
+ }
345
+
346
+ return $instance;
347
+ }
348
+ }
349
+ }
350
+ ?>
classes/Entities/crm/class-ezp-contact-entity.php ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /*
4
+ Easy Pie Coming Soon Plugin
5
+ Copyright (C) 2014, Synthetic Thought LLC
6
+ website: easypiewp.com contact: bob@easypiewp.com
7
+
8
+ Easy Pie Coming Soon Plugin is distributed under the GNU General Public License, Version 3,
9
+ June 2007. Copyright (C) 2007 Free Software Foundation, Inc., 51 Franklin
10
+ St, Fifth Floor, Boston, MA 02110, USA
11
+
12
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
13
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
14
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
15
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
16
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
17
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
18
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
19
+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
20
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
21
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
22
+ */
23
+
24
+ require_once(dirname(__FILE__) . '/../class-ezp-cs-standard-entity-base.php');
25
+
26
+ if (!class_exists('EZP_Contact_Entity')) {
27
+
28
+ /**
29
+ * @author Bob Riley <bob@easypiewp.com>
30
+ * @copyright 2014 Synthetic Thought LLC
31
+ */
32
+ class EZP_Contact_Entity extends EZP_CS_Standard_Entity_Base {
33
+
34
+ public $friendly_name = "";
35
+ public $public_id = "";
36
+ public $creation_date;
37
+
38
+ public static $TABLE_NAME = "easy_pie_contacts";
39
+
40
+ function __construct() {
41
+
42
+ parent::__construct(self::$TABLE_NAME);
43
+
44
+ $this->public_id = EZP_CS_Utility::get_guid();
45
+ $this->creation_date = date("Y-m-d H:i:s");
46
+ }
47
+
48
+ public static function init_table() {
49
+
50
+ $field_info = array();
51
+
52
+ $field_info['friendly_name'] = 'varchar(255)';
53
+ $field_info['public_id'] = 'char(36)';
54
+ $field_info['creation_date'] = 'datetime';
55
+
56
+ $index_array = array();
57
+ $index_array["public_id_idx"] = "public_id";
58
+
59
+ self::generic_init_table($field_info, self::$TABLE_NAME, $index_array);
60
+ }
61
+
62
+ public static function delete_by_id($id) {
63
+
64
+ self::delete_by_id_and_table($id, self::$TABLE_NAME);
65
+ }
66
+
67
+ public static function get_all()
68
+ {
69
+ return self::get_all_objects(get_class(), self::$TABLE_NAME);
70
+ }
71
+ //
72
+ /**
73
+ *
74
+ * @param type $id
75
+ * @return EZP_CS_Contact_Entity
76
+ */
77
+ public static function get_by_id($id)
78
+ {
79
+ return self::get_by_id_and_type($id, get_class(), self::$TABLE_NAME);
80
+ }
81
+ }
82
+
83
+ // EZP_Contact_Entity::init_class();
84
+ }
85
+ ?>
classes/Entities/crm/class-ezp-cs-subscriber-entity.php ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /*
4
+ Easy Pie Coming Soon Plugin
5
+ Copyright (C) 2014, Synthetic Thought LLC
6
+ website: easypiewp.com contact: bob@easypiewp.com
7
+
8
+ Easy Pie Coming Soon Plugin is distributed under the GNU General Public License, Version 3,
9
+ June 2007. Copyright (C) 2007 Free Software Foundation, Inc., 51 Franklin
10
+ St, Fifth Floor, Boston, MA 02110, USA
11
+
12
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
13
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
14
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
15
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
16
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
17
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
18
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
19
+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
20
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
21
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
22
+ */
23
+
24
+ require_once(dirname(__FILE__) . '/../class-ezp-cs-standard-entity-base.php');
25
+
26
+ if (!class_exists('EZP_CS_Subscriber_Entity')) {
27
+
28
+ /**
29
+ * @author Bob Riley <bob@easypiewp.com>
30
+ * @copyright 2014 Synthetic Thought LLC
31
+ */
32
+ class EZP_CS_Subscriber_Entity extends EZP_CS_Standard_Entity_Base {
33
+
34
+ public $contact_id = -1;
35
+ public $subscription_date;
36
+
37
+ public static $TABLE_NAME = "easy_pie_cs_subscribers";
38
+
39
+ function __construct() {
40
+
41
+ $this->subscription_date = date("Y-m-d H:i:s");
42
+
43
+ parent::__construct(self::$TABLE_NAME);
44
+ }
45
+
46
+ public static function init_table() {
47
+
48
+ $field_info = array();
49
+
50
+ $field_info["contact_id"] = "int";
51
+ $field_info["subscription_date"] = "datetime";
52
+
53
+ self::generic_init_table($field_info, self::$TABLE_NAME);
54
+ }
55
+
56
+ public static function delete_by_id($id) {
57
+
58
+ self::delete_by_id_and_table($id, self::$TABLE_NAME);
59
+ }
60
+
61
+ public static function get_all()
62
+ {
63
+ return self::get_all_objects(get_class(), self::$TABLE_NAME);
64
+ }
65
+
66
+ /**
67
+ * @return EZP_CS_Subscriber_Entity
68
+ */
69
+ public static function get_by_id($id)
70
+ {
71
+ return self::get_by_id_and_type($id, get_class(), self::$TABLE_NAME);
72
+ }
73
+
74
+ /**
75
+ * @return EZP_CS_Subscriber_Entity
76
+ */
77
+ public static function get_by_contact_id($contact_id)
78
+ {
79
+ return self::get_by_unique_field_and_type("contact_id", $contact_id, get_class(), self::$TABLE_NAME);
80
+ }
81
+ }
82
+
83
+ //EZP_CS_Subscriber_Entity::init_class();
84
+ }
85
+ ?>
classes/Entities/crm/class-ezp-email-entity.php ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /*
4
+ Easy Pie Coming Soon Plugin
5
+ Copyright (C) 2014, Synthetic Thought LLC
6
+ website: easypiewp.com contact: bob@easypiewp.com
7
+
8
+ Easy Pie Coming Soon Plugin is distributed under the GNU General Public License, Version 3,
9
+ June 2007. Copyright (C) 2007 Free Software Foundation, Inc., 51 Franklin
10
+ St, Fifth Floor, Boston, MA 02110, USA
11
+
12
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
13
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
14
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
15
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
16
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
17
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
18
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
19
+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
20
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
21
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
22
+ */
23
+
24
+ require_once(dirname(__FILE__) . '/../class-ezp-cs-standard-entity-base.php');
25
+
26
+ if (!class_exists('EZP_Email_Entity')) {
27
+
28
+ /**
29
+ * @author Bob Riley <bob@easypiewp.com>
30
+ * @copyright 2014 Synthetic Thought LLC
31
+ */
32
+ class EZP_Email_Entity extends EZP_CS_Standard_Entity_Base {
33
+
34
+ public $email_address = "";
35
+ public $name = "Main";
36
+ public $contact_id = -1;
37
+
38
+ public static $TABLE_NAME = "easy_pie_emails";
39
+
40
+ function __construct() {
41
+
42
+ $this->name = EZP_CS_Utility::__("Main Email");
43
+ parent::__construct(self::$TABLE_NAME);
44
+ }
45
+
46
+ public static function init_table() {
47
+
48
+ $field_info = array();
49
+
50
+ $field_info["email_address"] = "varchar(255)";
51
+ $field_info["name"] = "varchar(255)";
52
+ $field_info["contact_id"] = "int";
53
+
54
+ self::generic_init_table($field_info, self::$TABLE_NAME);
55
+ }
56
+
57
+ public static function delete_by_id($id) {
58
+
59
+ self::delete_by_id_and_table($id, self::$TABLE_NAME);
60
+ }
61
+
62
+ public static function get_all()
63
+ {
64
+ return self::get_all_objects(get_class(), self::$TABLE_NAME);
65
+ }
66
+
67
+ public static function get_by_contact_id($contact_id)
68
+ {
69
+ return self::get_by_unique_field_and_type("contact_id", $contact_id, get_class(), self::$TABLE_NAME);
70
+ }
71
+
72
+ /**
73
+ *
74
+ * @param type $id
75
+ * @return EZP_CS_Email_Entity
76
+ */
77
+ public static function get_by_id($id)
78
+ {
79
+ return self::get_by_id_and_type($id, get_class(), self::$TABLE_NAME);
80
+ }
81
+ }
82
+
83
+ // EZP_Email_Entity::init_class();
84
+ }
85
+ ?>
classes/Utilities/class-ezp-cs-query-utility.php ADDED
@@ -0,0 +1,206 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /*
4
+ Easy Pie Coming Soon Plugin
5
+ Copyright (C) 2014, Synthetic Thought LLC
6
+ website: easypiewp.com contact: bob@easypiewp.com
7
+
8
+ Easy Pie Coming Soon Plugin is distributed under the GNU General Public License, Version 3,
9
+ June 2007. Copyright (C) 2007 Free Software Foundation, Inc., 51 Franklin
10
+ St, Fifth Floor, Boston, MA 02110, USA
11
+
12
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
13
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
14
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
15
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
16
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
17
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
18
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
19
+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
20
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
21
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
22
+ */
23
+
24
+ require_once(dirname(__FILE__) . '/../class-ezp-cs-constants.php');
25
+
26
+ if (!class_exists('EZP_CS_Query_Utility')) {
27
+
28
+ /**
29
+ * @author Bob Riley <bob@easypiewp.com>
30
+ * @copyright 2014 Synthetic Thought LLC
31
+ */
32
+ class EZP_CS_Query_Utility {
33
+
34
+ const NUMBER_PER_PAGE = 20;
35
+ // const NUMBER_PER_PAGE = 1;
36
+
37
+ public static function init() {
38
+ }
39
+
40
+ public static function is_table_present($simple_table_name)
41
+ {
42
+ global $wpdb;
43
+
44
+ $table_name = $wpdb->prefix . $simple_table_name;
45
+
46
+ $table_query = "SHOW TABLES LIKE %s";
47
+ $prepared_table_query = $wpdb->prepare($table_query, $table_name);
48
+
49
+ $table_rows = $wpdb->get_results($prepared_table_query);
50
+
51
+ if(count($table_rows) == 0) {
52
+
53
+ return false;
54
+ }
55
+ else {
56
+
57
+ return true;
58
+ }
59
+ }
60
+ // Returns list of subscribers to the coming soon plugin
61
+ public static function get_subscriber_list($page_number = 0)
62
+ {
63
+ global $wpdb;
64
+
65
+ $subscribers_table_name = $wpdb->prefix . EZP_CS_Subscriber_Entity::$TABLE_NAME;
66
+ $contacts_table_name = $wpdb->prefix . EZP_Contact_Entity::$TABLE_NAME;
67
+ $emails_table_name = $wpdb->prefix . EZP_Email_Entity::$TABLE_NAME;
68
+
69
+ if($page_number >= 0) {
70
+
71
+ $offset = $page_number * self::NUMBER_PER_PAGE;
72
+ $limit_expression = " LIMIT $offset, " . self::NUMBER_PER_PAGE . ';';
73
+ } else {
74
+
75
+ $limit_expression = '';
76
+ }
77
+
78
+ $query_string = "select a.friendly_name, emails.email_address, a.contact_id, a.subscription_date FROM
79
+ $emails_table_name as emails inner join
80
+ (SELECT contacts.id as contact_id, contacts.friendly_name as friendly_name, subs.subscription_date FROM $subscribers_table_name AS subs
81
+ INNER JOIN $contacts_table_name as contacts ON subs.contact_id = contacts.id) as a
82
+ on emails.contact_id = a.contact_id order by a.subscription_date desc" . $limit_expression;
83
+
84
+
85
+ $rows = $wpdb->get_results($query_string);
86
+
87
+ if($rows != NULL)
88
+ {
89
+ return $rows;
90
+ }
91
+ else {
92
+ return array();
93
+ }
94
+ }
95
+
96
+ public static function get_subscriber_pages()
97
+ {
98
+ global $wpdb;
99
+
100
+ $subscribers_table_name = $wpdb->prefix . EZP_CS_Subscriber_Entity::$TABLE_NAME;
101
+ $contacts_table_name = $wpdb->prefix . EZP_Contact_Entity::$TABLE_NAME;
102
+ $emails_table_name = $wpdb->prefix . EZP_Email_Entity::$TABLE_NAME;
103
+
104
+ $query_string = "select count(a.friendly_name) as c FROM
105
+ $emails_table_name as emails inner join
106
+ (SELECT contacts.id as contact_id, contacts.friendly_name as friendly_name, subs.subscription_date FROM $subscribers_table_name AS subs
107
+ INNER JOIN $contacts_table_name as contacts ON subs.contact_id = contacts.id) as a
108
+ on emails.contact_id = a.contact_id order by a.subscription_date desc";
109
+
110
+ $count = $wpdb->get_var($query_string);
111
+
112
+ if($count != NULL)
113
+ {
114
+ $num_pages = $count / self::NUMBER_PER_PAGE;
115
+
116
+ if(($count % self::NUMBER_PER_PAGE) != 0) {
117
+
118
+ return floor($num_pages ) + 1;
119
+ } else {
120
+
121
+ return $num_pages;
122
+ }
123
+ }
124
+ else {
125
+
126
+ return 0;
127
+ }
128
+ }
129
+
130
+ public static function add_new_subscriber($friendly_name, $email_address) {
131
+
132
+ $error_text = null;
133
+ $friendly_name = sanitize_text_field($friendly_name);
134
+ $email_address = sanitize_text_field($email_address);
135
+
136
+ if(strlen($friendly_name) > 255) {
137
+
138
+ $error_text = EZP_CS_Utility::__('Name is too long') . '.';
139
+ }
140
+
141
+ if((!is_email($email_address)) || strlen($email_address) > 255) {
142
+
143
+ $error_text = EZP_CS_Utility::__('Email address is not valid') . '.';
144
+ }
145
+
146
+ // Note: If error with entity, silently let it go. No sense telling user, just admin.
147
+ if($error_text == null) {
148
+
149
+ $contact = new EZP_Contact_Entity();
150
+ $contact->friendly_name = $friendly_name;
151
+
152
+ if($contact->save()) {
153
+
154
+ $email = new EZP_Email_Entity();
155
+ $email->email_address = $email_address;
156
+ $email->contact_id = $contact->id;
157
+
158
+ if($email->save()) {
159
+ $cse = new EZP_CS_Subscriber_Entity();
160
+ $cse->contact_id = $contact->id;
161
+
162
+ if(!$cse->save()) {
163
+
164
+ EZP_CS_Utility::debug('add_new_subscriber:Error saving subscriber entity to deleting email and contact');
165
+ $email->delete();
166
+ $contact->delete();
167
+ }
168
+ } else {
169
+
170
+ EZP_CS_Utility::debug('add_new_subscriber:Error saving email entity so deleting contact');
171
+ $contact->delete();
172
+ }
173
+ } else {
174
+
175
+ EZP_CS_Utility::debug('add_new_subscriber:Error saving contact entity');
176
+
177
+ }
178
+ }
179
+
180
+ return $error_text;
181
+ }
182
+
183
+ // Delete contact and all dependent data
184
+ public static function purge_contact($contact_id)
185
+ {
186
+ $subscriber = EZP_CS_Subscriber_Entity::get_by_contact_id($contact_id);
187
+
188
+ if($subscriber != null) {
189
+
190
+ $subscriber->delete();
191
+ }
192
+
193
+ $emails = EZP_Email_Entity::get_by_contact_id($contact_id);
194
+ foreach($email as $email) {
195
+
196
+ /* @var $email EZP_Email_Entity */
197
+ $email->delete();
198
+ }
199
+
200
+ EZP_Contact_Entity::delete_by_id($contact_id);
201
+ }
202
+ }
203
+
204
+ EZP_CS_Query_Utility::init();
205
+ }
206
+ ?>
classes/Utilities/class-ezp-cs-render-utility.php ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /*
4
+ Easy Pie Coming Soon Plugin
5
+ Copyright (C) 2014, Synthetic Thought LLC
6
+ website: easypiewp.com contact: bob@easypiewp.com
7
+
8
+ Easy Pie Coming Soon Plugin is distributed under the GNU General Public License, Version 3,
9
+ June 2007. Copyright (C) 2007 Free Software Foundation, Inc., 51 Franklin
10
+ St, Fifth Floor, Boston, MA 02110, USA
11
+
12
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
13
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
14
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
15
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
16
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
17
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
18
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
19
+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
20
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
21
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
22
+ */
23
+
24
+ if (!class_exists('EZP_CS_Render_Utility')) {
25
+
26
+ /**
27
+ * @author Bob Riley <bob@easypiewp.com>
28
+ * @copyright 2014 Synthetic Thought LLC
29
+ */
30
+ class EZP_CS_Render_Utility {
31
+
32
+ public function get_display($value, $default)
33
+ {
34
+ if((!isset($value)) || (trim($value) == "")) {
35
+
36
+ return "none";
37
+ }
38
+ else {
39
+ return $default;
40
+ }
41
+ }
42
+ }
43
+ }
44
+ ?>
classes/Utilities/class-ezp-cs-test-utility.php ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /*
4
+ Easy Pie Coming Soon Plugin
5
+ Copyright (C) 2014, Synthetic Thought LLC
6
+ website: easypiewp.com contact: bob@easypiewp.com
7
+
8
+ Easy Pie Coming Soon Plugin is distributed under the GNU General Public License, Version 3,
9
+ June 2007. Copyright (C) 2007 Free Software Foundation, Inc., 51 Franklin
10
+ St, Fifth Floor, Boston, MA 02110, USA
11
+
12
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
13
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
14
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
15
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
16
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
17
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
18
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
19
+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
20
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
21
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
22
+ */
23
+
24
+ require_once(dirname(__FILE__) . '/../class-ezp-cs-constants.php');
25
+
26
+ if (!class_exists('EZP_CS_Test_Utility')) {
27
+
28
+ /**
29
+ * @author Bob Riley <bob@easypiewp.com>
30
+ * @copyright 2014 Synthetic Thought LLC
31
+ */
32
+ class EZP_CS_Test_Utility {
33
+
34
+ public static function init() {
35
+ }
36
+
37
+ public static function add_test_subscribers($post) {
38
+
39
+ if(isset($post['count'])) {
40
+
41
+ $count = $post['count'];
42
+
43
+ for($c = 0; $c < $count; $c++) {
44
+
45
+ EZP_CS_Query_Utility::add_new_subscriber("person-$c", "$c@gmail.com");
46
+ }
47
+ } else {
48
+
49
+ EZP_CS_Utility::debug('Count parameter not set for add_test_subscribers!');
50
+ }
51
+ }
52
+ }
53
+
54
+ EZP_CS_Test_Utility::init();
55
+ }
56
+ ?>
classes/Utilities/class-ezp-cs-utility.php ADDED
@@ -0,0 +1,259 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /*
4
+ Easy Pie Coming Soon Plugin
5
+ Copyright (C) 2014, Synthetic Thought LLC
6
+ website: easypiewp.com contact: bob@easypiewp.com
7
+
8
+ Easy Pie Coming Soon Plugin is distributed under the GNU General Public License, Version 3,
9
+ June 2007. Copyright (C) 2007 Free Software Foundation, Inc., 51 Franklin
10
+ St, Fifth Floor, Boston, MA 02110, USA
11
+
12
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
13
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
14
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
15
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
16
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
17
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
18
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
19
+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
20
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
21
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
22
+ */
23
+
24
+ require_once(dirname(__FILE__) . '/../class-ezp-cs-constants.php');
25
+
26
+ if (!class_exists('EZP_CS_Utility')) {
27
+
28
+ /**
29
+ * @author Bob Riley <bob@easypiewp.com>
30
+ * @copyright 2014 Synthetic Thought LLC
31
+ */
32
+ class EZP_CS_Utility {
33
+
34
+ // Pseudo-constants
35
+ public static $MINI_THEMES_TEMPLATE_DIRECTORY;
36
+ public static $PLUGIN_URL;
37
+ public static $PLUGIN_DIRECTORY;
38
+
39
+ private static $type_format_array;
40
+
41
+ public static function init() {
42
+
43
+ $__dir__ = dirname(__FILE__);
44
+
45
+ self::$MINI_THEMES_TEMPLATE_DIRECTORY = $__dir__ . "/../templates/";
46
+
47
+ self::$PLUGIN_URL = plugins_url() . "/" . EZP_CS_Constants::PLUGIN_SLUG;
48
+
49
+ self::$PLUGIN_DIRECTORY = (WP_CONTENT_DIR . "/plugins/" . EZP_CS_Constants::PLUGIN_SLUG);
50
+
51
+ self::$type_format_array = array('boolean' => '%s', 'integer' => '%d', 'double' => '%g', 'string' => '%s' );
52
+ }
53
+
54
+ public static function _e($text) {
55
+
56
+ _e($text, EZP_CS_Constants::PLUGIN_SLUG);
57
+ }
58
+
59
+ public static function __($text) {
60
+
61
+ return __($text, EZP_CS_Constants::PLUGIN_SLUG);
62
+ }
63
+
64
+ public static function _he($text) {
65
+
66
+ echo htmlspecialchars($text);
67
+ }
68
+
69
+ public function get_db_type_format($variable) {
70
+
71
+ $type_string = gettype($variable);
72
+
73
+ if($type_string == "NULL") {
74
+
75
+ self::debug("get_db_type_format: Error. Variable is not initialized.");
76
+ return "";
77
+ }
78
+
79
+ return self::$type_format_array[$type_string];
80
+ }
81
+
82
+ public static function get_public_properties($object) {
83
+
84
+ $publics = get_object_vars($object);
85
+ unset($publics['id']);
86
+ unset($publics['type']);
87
+
88
+ return $publics;
89
+ }
90
+
91
+ public static function get_public_class_properties($class_name) {
92
+
93
+ $publics = get_class_vars($class_name);
94
+ unset($publics['id']);
95
+
96
+ return $publics;
97
+ }
98
+
99
+ public static function get_guid() {
100
+
101
+ if (function_exists('com_create_guid') === true)
102
+ {
103
+ return trim(com_create_guid(), '{}');
104
+ }
105
+
106
+ return sprintf('%04X%04X-%04X-%04X-%04X-%04X%04X%04X', mt_rand(0, 65535), mt_rand(0, 65535), mt_rand(0, 65535), mt_rand(16384, 20479), mt_rand(32768, 49151), mt_rand(0, 65535), mt_rand(0, 65535), mt_rand(0, 65535));
107
+ }
108
+
109
+ public static function display_admin_notice()
110
+ {
111
+ echo "<div class='error'><a href='" . admin_url() . "admin.php?page=" . EZP_CS_Constants::$SETTINGS_SUBMENU_SLUG . "'>" . self::__("Coming Soon is On") . "</a></div>";
112
+ }
113
+
114
+ /*-- Option Field Help Methods --*/
115
+
116
+ public static function render_option($value, $text, $current_value)
117
+ {
118
+ $selected = "";
119
+
120
+ if($value == $current_value)
121
+ {
122
+ $selected = 'selected="selected"';
123
+ }
124
+
125
+ echo "<option value='$value' $selected>$text</option>";
126
+ }
127
+
128
+ public static function get_manifest_by_key($key) {
129
+
130
+ $manifests = self::get_manifests();
131
+
132
+ foreach ($manifests as $manifest) {
133
+
134
+ if ($manifest->key == $key) {
135
+
136
+ return $manifest;
137
+ }
138
+ }
139
+
140
+ return null;
141
+ }
142
+
143
+ public static function get_manifests() {
144
+
145
+ $user_manifest_array = self::get_manifests_in_directory(self::$MINI_THEMES_USER_DIRECTORY, self::$MINI_THEMES_USER_URL);
146
+ $standard_manifest_array = self::get_manifests_in_directory(self::$MINI_THEMES_STANDARD_DIRECTORY, self::$MINI_THEMES_STANDARD_URL);
147
+
148
+ $combined_manifest_array = &$user_manifest_array;
149
+
150
+ // stuff in user manifest array can override standard manifests
151
+ foreach ($standard_manifest_array as $sman) {
152
+
153
+ $contains = false;
154
+
155
+ foreach ($combined_manifest_array as $man) {
156
+
157
+ if ($sman->key == $man->key) {
158
+ $contains = true;
159
+ break;
160
+ }
161
+ }
162
+
163
+ if (!$contains) {
164
+ array_push($combined_manifest_array, $sman);
165
+ }
166
+ }
167
+ return $combined_manifest_array;
168
+ }
169
+
170
+ public static function get_manifests_in_directory($directory, $mini_theme_base_url) {
171
+
172
+ $manifest_array = array();
173
+ $dirs = glob($directory . "*", GLOB_ONLYDIR);
174
+
175
+ sort($dirs);
176
+
177
+ foreach ($dirs as $dir) {
178
+
179
+ $manifest = null;
180
+ $manifest_path = $dir . "/manifest.json";
181
+
182
+ if (file_exists($manifest_path)) {
183
+
184
+ $manifest_text = file_get_contents($manifest_path);
185
+
186
+ if ($manifest_text != false) {
187
+
188
+ $manifest = json_decode($manifest_text);
189
+ } else {
190
+
191
+ self::debug("Problem reading manifest in $dir ($dirs)");
192
+ }
193
+ } else {
194
+
195
+ // Manifest not present so assumption is they just want a generic mini-theme
196
+ $manifest = new stdClass();
197
+
198
+ self::add_property($manifest, 'title', basename($dir));
199
+ self::add_property($manifest, 'page', 'index.html');
200
+ self::add_property($manifest, 'description', 'User Mini Theme');
201
+ self::add_property($manifest, 'author_name', '');
202
+ self::add_property($manifest, 'website_url', '');
203
+ self::add_property($manifest, 'google_plus_author_url', '');
204
+ self::add_property($manifest, 'original_release_date', '2013/01/01');
205
+ self::add_property($manifest, 'latest_version_date', '2013/01/01');
206
+ self::add_property($manifest, 'version', '1.0.0');
207
+ self::add_property($manifest, 'release_notes', '');
208
+ self::add_property($manifest, 'screenshot', self::$MINI_THEMES_IMAGES_URL . "user-defined.png");
209
+ self::add_property($manifest, 'autodownload', false);
210
+ self::add_property($manifest, 'responsive', true);
211
+ }
212
+
213
+ if ($manifest != null) {
214
+
215
+ // RSR TODO: Have a way to give each item a unique key if it conflicts..?
216
+ self::add_property($manifest, 'key', basename($dir));
217
+ self::add_property($manifest, 'dir', $dir);
218
+ self::add_property($manifest, 'manifest_path', $manifest_path);
219
+ self::add_property($manifest, 'mini_theme_url', $mini_theme_base_url . $manifest->key);
220
+
221
+ array_push($manifest_array, $manifest);
222
+ }
223
+ }
224
+
225
+ return $manifest_array;
226
+ }
227
+
228
+ public static function add_property(&$obj, $property, $value) {
229
+
230
+ $obj = (array) $obj;
231
+ $obj[$property] = $value;
232
+ $obj = (object) $obj;
233
+ }
234
+
235
+ public static function debug($message) {
236
+
237
+ if (WP_DEBUG === true) {
238
+ if (is_array($message) || is_object($message)) {
239
+ error_log(EZP_CS_Constants::PLUGIN_SLUG . ":" . print_r($message, true));
240
+ } else {
241
+ error_log(EZP_CS_Constants::PLUGIN_SLUG . ":" . $message);
242
+ }
243
+ }
244
+ }
245
+
246
+ public static function debug_object($object) {
247
+
248
+ EZP_CS_Utility::debug(var_export($object, true));
249
+ }
250
+
251
+ public static function debug_dump($message, $object) {
252
+
253
+ EZP_CS_Utility::debug($message . ":" . var_export($object, true));
254
+ }
255
+ }
256
+
257
+ EZP_CS_Utility::init();
258
+ }
259
+ ?>
classes/class-ezp-cs-constants.php ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /*
4
+ Easy Pie Coming Soon Plugin
5
+ Copyright (C) 2014, Synthetic Thought LLC
6
+ website: easypiewp.com contact: bob@easypiewp.com
7
+
8
+ Easy Pie Coming Soon Plugin is distributed under the GNU General Public License, Version 3,
9
+ June 2007. Copyright (C) 2007 Free Software Foundation, Inc., 51 Franklin
10
+ St, Fifth Floor, Boston, MA 02110, USA
11
+
12
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
13
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
14
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
15
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
16
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
17
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
18
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
19
+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
20
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
21
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
22
+ */
23
+
24
+ if (!class_exists('EZP_CS_Constants')) {
25
+
26
+ /**
27
+ * @author Bob Riley <bob@easypiewp.com>
28
+ * @copyright 2014 Synthetic Thought LLC
29
+ */
30
+ class EZP_CS_Constants {
31
+
32
+ const COMPOUND_OPTION_NAME = 'easy-pie-cs-options';
33
+ const MAIN_PAGE_KEY = 'easy-pie-cs-main-page';
34
+ const PLUGIN_SLUG = 'easy-pie-coming-soon';
35
+ const PLUGIN_VERSION = "0.5.0"; // RSR Version
36
+
37
+
38
+
39
+ const PLUGIN_VERSION_OPTION_KEY = "easy_pie_cs_version"; // RSR Version
40
+
41
+ /* Pseudo constants */
42
+ public static $PLUGIN_DIR;
43
+ public static $TEMPLATE_SUBMENU_SLUG;
44
+ public static $SETTINGS_SUBMENU_SLUG;
45
+ public static $SUBSCRIBERS_SUBMENU_SLUG;
46
+ public static $PREVIEW_SUBMENU_SLUG;
47
+
48
+ public static function init() {
49
+
50
+ $__dir__ = dirname(__FILE__);
51
+
52
+ self::$PLUGIN_DIR = $__dir__ . "../" . self::PLUGIN_SLUG;
53
+
54
+ self::$TEMPLATE_SUBMENU_SLUG = EZP_CS_Constants::PLUGIN_SLUG;
55
+ self::$SETTINGS_SUBMENU_SLUG = EZP_CS_Constants::PLUGIN_SLUG . '-settings';
56
+ self::$SUBSCRIBERS_SUBMENU_SLUG = EZP_CS_Constants::PLUGIN_SLUG . '-subscribers';
57
+ self::$PREVIEW_SUBMENU_SLUG = EZP_CS_Constants::PLUGIN_SLUG . '-view';
58
+ }
59
+
60
+ }
61
+
62
+ EZP_CS_Constants::init();
63
+ }
64
+ ?>
classes/class-ezp-cs-plugin-base.php ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /*
4
+ Easy Pie Coming Soon Plugin
5
+ Copyright (C) 2014, Synthetic Thought LLC
6
+ website: easypiewp.com contact: bob@easypiewp.com
7
+
8
+ Easy Pie Coming Soon Plugin is distributed under the GNU General Public License, Version 3,
9
+ June 2007. Copyright (C) 2007 Free Software Foundation, Inc., 51 Franklin
10
+ St, Fifth Floor, Boston, MA 02110, USA
11
+
12
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
13
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
14
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
15
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
16
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
17
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
18
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
19
+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
20
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
21
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
22
+ */
23
+
24
+ if (!class_exists('EZP_CS_Plugin_Base')) {
25
+
26
+ /**
27
+ * @author Bob Riley <bob@easypiewp.com>
28
+ * @copyright 2014 Synthetic Thought LLC
29
+ */
30
+ class EZP_CS_Plugin_Base {
31
+
32
+ protected $plugin_slug;
33
+
34
+ function __construct($plugin_slug) {
35
+
36
+ $this->plugin_slug = $plugin_slug;
37
+ }
38
+ //Use WordPress Debugging log file. file is written to wp-content/debug.log
39
+ //trace with tail command to see real-time issues.
40
+ function debug($message) {
41
+
42
+ if (WP_DEBUG === true) {
43
+ if (is_array($message) || is_object($message)) {
44
+ error_log($this->plugin_slug . ":" . print_r($message, true));
45
+ } else {
46
+ error_log($this->plugin_slug . ":" . $message);
47
+ }
48
+ }
49
+ }
50
+
51
+ function _e($text) {
52
+
53
+ _e($text, $this->plugin_slug);
54
+ }
55
+
56
+ function __($text) {
57
+
58
+ return __($text, $this->plugin_slug);
59
+ }
60
+ }
61
+ }
62
+ ?>
classes/class-ezp-cs-verifiers.php ADDED
@@ -0,0 +1,109 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /*
4
+ Easy Pie Coming Soon Plugin
5
+ Copyright (C) 2014, Synthetic Thought LLC
6
+ website: easypiewp.com contact: bob@easypiewp.com
7
+
8
+ Easy Pie Coming Soon Plugin is distributed under the GNU General Public License, Version 3,
9
+ June 2007. Copyright (C) 2007 Free Software Foundation, Inc., 51 Franklin
10
+ St, Fifth Floor, Boston, MA 02110, USA
11
+
12
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
13
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
14
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
15
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
16
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
17
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
18
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
19
+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
20
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
21
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
22
+ */
23
+
24
+ if (!class_exists('EZP_CS_Verifier_Base')) {
25
+
26
+ /**
27
+ * @author Bob Riley <bob@easypiewp.com>
28
+ * @copyright 2014 Synthetic Thought LLC
29
+ */
30
+ class EZP_CS_Verifier_Base {
31
+
32
+ protected $error_text;
33
+
34
+ function __construct($error_text) {
35
+
36
+ $this->error_text = $error_text;
37
+ }
38
+
39
+ // Returns an error string if succeeded or empty string if failed.
40
+ public function Verify($value) {
41
+ return "";
42
+ }
43
+ }
44
+ }
45
+
46
+ if (!class_exists('EZP_CS_Range_Verifier')) {
47
+
48
+ /**
49
+ * @author Bob Riley <bob@easypiewp.com>
50
+ * @copyright 2014 Synthetic Thought LLC
51
+ */
52
+ class EZP_CS_Range_Verifier extends EZP_CS_Verifier_Base {
53
+
54
+ private $min = 0;
55
+ private $max = 0;
56
+
57
+ function __construct($min, $max, $error_text) {
58
+
59
+ parent::__construct($error_text);
60
+
61
+ $this->min = $min;
62
+ $this->max = $max;
63
+ }
64
+
65
+ // Returns an error string if succeeded or empty string if failed.
66
+ public function Verify($value) {
67
+
68
+ if(($value < $this->min) || ($value > $this->max)) {
69
+
70
+ return $this->error_text;
71
+ } else {
72
+
73
+ return "";
74
+ }
75
+ }
76
+ }
77
+ }
78
+
79
+ if (!class_exists('EZP_CS_Regex_Verifier')) {
80
+
81
+ /**
82
+ * @author Bob Riley <bob@easypiewp.com>
83
+ * @copyright 2014 Synthetic Thought LLC
84
+ */
85
+ class EZP_CS_Regex_Verifier extends EZP_CS_Verifier_Base {
86
+
87
+ private $regex = 0;
88
+
89
+ function __construct($regex, $error_text) {
90
+
91
+ parent::__construct($error_text);
92
+
93
+ $this->regex = $regex;
94
+ }
95
+
96
+ // Returns an error string if succeeded or empty string if failed.
97
+ public function Verify($value) {
98
+
99
+ if(preg_match($this->regex, $value) != 1) {
100
+
101
+ return $this->error_text;
102
+ } else {
103
+
104
+ return "";
105
+ }
106
+ }
107
+ }
108
+ }
109
+ ?>
classes/class-ezp-cs.php ADDED
@@ -0,0 +1,504 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /*
4
+ Easy Pie Coming Soon Plugin
5
+ Copyright (C) 2014, Synthetic Thought LLC
6
+ website: easypiewp.com contact: bob@easypiewp.com
7
+
8
+ Easy Pie Coming Soon Plugin is distributed under the GNU General Public License, Version 3,
9
+ June 2007. Copyright (C) 2007 Free Software Foundation, Inc., 51 Franklin
10
+ St, Fifth Floor, Boston, MA 02110, USA
11
+
12
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
13
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
14
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
15
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
16
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
17
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
18
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
19
+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
20
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
21
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
22
+ */
23
+
24
+ require_once(dirname(__FILE__) . './Utilities/class-ezp-cs-utility.php');
25
+
26
+ require_once(EZP_CS_Utility::$PLUGIN_DIRECTORY . '/../../../wp-admin/includes/upgrade.php');
27
+
28
+ //require_once("class-easy-pie-options.php");
29
+ require_once("Entities/class-ezp-cs-global-entity.php");
30
+
31
+ require_once('class-ezp-cs-plugin-base.php');
32
+ require_once('class-ezp-cs-constants.php');
33
+
34
+ require_once(dirname(__FILE__) . './Utilities/class-ezp-cs-render-utility.php');
35
+ require_once(dirname(__FILE__) . './Utilities/class-ezp-cs-test-utility.php');
36
+
37
+ if (!class_exists('EZP_CS')) {
38
+
39
+ /**
40
+ * @author Bob Riley <bob@easypiewp.com>
41
+ * @copyright 2014 Synthetic Thought LLC
42
+ */
43
+ class EZP_CS extends EZP_CS_Plugin_Base {
44
+
45
+ /**
46
+ * Constructor
47
+ */
48
+ function __construct($plugin_file_path) {
49
+
50
+ parent::__construct(EZP_CS_Constants::PLUGIN_SLUG);
51
+
52
+ $this->add_class_action('plugins_loaded', 'plugins_loaded_handler');
53
+
54
+ $entity_table_present = EZP_CS_Query_Utility::is_table_present(EZP_CS_JSON_Entity_Base::DEFAULT_TABLE_NAME);
55
+
56
+ if($entity_table_present) {
57
+
58
+ $global = EZP_CS_Global_Entity::get_instance();
59
+
60
+ $config = EZP_CS_Config_Entity::get_by_id($global->config_index);
61
+
62
+ $coming_soon_mode_on = $config->coming_soon_mode_on;
63
+
64
+ $in_preview = isset($_REQUEST['ezp_cs_preview']) && ($_REQUEST['ezp_cs_preview'] == 'true');
65
+ } else {
66
+
67
+ // On activation so we don't have the tables yet
68
+ $coming_soon_mode_on = false;
69
+ $in_preview = false;
70
+ }
71
+
72
+ // RSR TODO - is_admin() just says if admin panel is attempting to be displayed - NOT to see if someone is an admin
73
+ if (is_admin() && !$in_preview) {
74
+
75
+ //EZP_CS_Utility::debug("admin true");
76
+
77
+ if ($coming_soon_mode_on) {
78
+
79
+ $this->add_class_action("admin_notices", "display_admin_notice");
80
+ }
81
+
82
+ //- Hook Handlers
83
+ register_activation_hook($plugin_file_path, array('EZP_CS', 'activate'));
84
+ register_deactivation_hook($plugin_file_path, array('EZP_CS', 'deactivate'));
85
+ register_uninstall_hook($plugin_file_path, array('EZP_CS', 'uninstall'));
86
+
87
+ //- Actions
88
+ $this->add_class_action('admin_init', 'admin_init_handler');
89
+ $this->add_class_action('admin_menu', 'add_to_admin_menu');
90
+
91
+ $this->add_class_action('wp_ajax_EZP_CS_export_all_subscribers', 'ws_export_all_subscribers');
92
+
93
+ $this->add_class_action('wp_ajax_EZP_CS_purge_contact', 'ws_purge_contact');
94
+
95
+ $this->add_class_action('wp_ajax_EZP_CS_test', 'ws_test');
96
+
97
+ $this->add_class_action('wp_ajax_EZP_CS_copy_template', 'ws_copy_template');
98
+ } else {
99
+
100
+ //EZP_CS_Utility::debug("admin false");
101
+ if ($coming_soon_mode_on || $in_preview) {
102
+ EZP_CS_Utility::debug("displaying coming soon page");
103
+ $this->add_class_action('template_redirect', 'display_coming_soon_page');
104
+ }
105
+ }
106
+ }
107
+
108
+ function ws_export_all_subscribers() {
109
+
110
+ if (isset($_REQUEST['_wpnonce'])) {
111
+
112
+ $_wpnonce = $_REQUEST['_wpnonce'];
113
+
114
+ if (wp_verify_nonce($_wpnonce, 'easy-pie-cs-change-subscribers')) {
115
+
116
+ header("Pragma: public");
117
+ header("Expires: 0");
118
+ header("Cache-Control: must-revalidate, post-check=0, pre-check=0");
119
+ header("Cache-Control: private", false);
120
+ header("Content-Type: application/octet-stream");
121
+ header("Content-Disposition: attachment; filename=\"subscribers.csv\";");
122
+ header("Content-Transfer-Encoding: binary");
123
+
124
+ $subscribers = EZP_CS_Query_Utility::get_subscriber_list(-1);
125
+
126
+ echo "Name, Email, Date\r\n";
127
+ foreach ($subscribers as $subscriber) {
128
+
129
+ if ($subscriber->subscription_date != '') {
130
+ // $localized_date = date_i18n(get_option('date_format'), strtotime($subscriber->subscription_date));
131
+ $date_text = date('n/j/Y', strtotime($subscriber->subscription_date));
132
+ } else {
133
+ // $localized_date = '';
134
+ $date_text = '';
135
+ }
136
+
137
+ echo "$subscriber->friendly_name, $subscriber->email_address, $date_text\r\n";
138
+ }
139
+
140
+ exit;
141
+ } else {
142
+
143
+ EZP_CS_Utility::debug("ws_export_all_subscribers: Security violation. Nonce doesn't properly match!");
144
+ }
145
+ } else {
146
+
147
+ EZP_CS_Utility::debug("ws_export_all_subscribers: Security violation. Nonce doesn't exist!");
148
+ }
149
+ }
150
+
151
+ function ws_purge_contact() {
152
+ $request = stripslashes_deep($_REQUEST);
153
+
154
+ if (isset($request['_wpnonce'])) {
155
+
156
+ $_wpnonce = $request['_wpnonce'];
157
+
158
+ if (wp_verify_nonce($_wpnonce, 'easy-pie-cs-change-subscribers')) {
159
+
160
+ if (isset($request['contact_id'])) {
161
+
162
+ $contact_id = $request['contact_id'];
163
+
164
+ EZP_Contact_Entity::delete_by_id($contact_id);
165
+ } else {
166
+ EZP_CS_Utility::debug("ws_purge_contact: contact id not set");
167
+ }
168
+ } else {
169
+
170
+ EZP_CS_Utility::debug("ws_purge_contact: Security violation. Nonce doesn't properly match!");
171
+ }
172
+ } else {
173
+
174
+ EZP_CS_Utility::debug("ws_purge_contact: Security violation. Nonce doesn't exist!");
175
+ }
176
+ }
177
+
178
+ function ws_test() {
179
+
180
+ $post = stripslashes_deep($_POST);
181
+
182
+ if (isset($post['type'])) {
183
+
184
+ $type = $post['type'];
185
+
186
+ switch ($type) {
187
+ case 'add_subscribers':
188
+ EZP_CS_Test_Utility::add_test_subscribers($post);
189
+ break;
190
+
191
+ default:
192
+ EZP_CS_Utility::debug('ws_test: Unknown test type');
193
+ }
194
+ }
195
+ }
196
+
197
+ // RSR TODO: Implement for separate contact and subscriber management
198
+ // function ws_delete_subscriber() {
199
+ // EZP_CS_Utility::debug("delete subscriber");
200
+ //
201
+ // $post = stripslashes_deep($_POST);
202
+ //
203
+ // EZP_CS_Utility::debug_object($post);
204
+ // if (isset($post['subscriber_id'])) {
205
+ //
206
+ //
207
+ // $subscriber_id = $post['subscriber_id'];
208
+ //
209
+ // EZP_CS_Utility::debug("subscriber id set to $subscriber_id");
210
+ //
211
+ // $subscriber = EZP_Coming_Soon_Subscriber::get_by_id($subscriber_id);
212
+ //
213
+ // if ($subscriber != null) {
214
+ //
215
+ // $subscriber->delete();
216
+ // }
217
+ // } else {
218
+ // EZP_CS_Utility::debug("subscriber id not set");
219
+ // }
220
+ // }
221
+
222
+ function ws_copy_template() {
223
+
224
+ $post = stripslashes_deep($_POST);
225
+
226
+ if (isset($post['template_key'])) {
227
+
228
+ $template_key = $post['template_key'];
229
+
230
+ $global = EZP_CS_Global_Entity::get_instance();
231
+
232
+ $set_index = $global->active_set_index;
233
+
234
+ $set = EZP_CS_Set_Entity::get_by_id($set_index);
235
+
236
+ $display = EZP_CS_Display_Entity::get_by_id($set->display_index);
237
+
238
+ // RSR TODO: Have to be careful here - ensure that a single error won't hose up the state of the system - TODO: Maybe a reset to defaults option to clean out db?
239
+ $display->delete();
240
+
241
+ $new_display = EZP_CS_Display_Entity::create_from_template($template_key);
242
+
243
+ $new_display->save();
244
+
245
+ $set->display_index = $new_display->id;
246
+
247
+ $set->save();
248
+ }
249
+ }
250
+
251
+ function add_class_action($tag, $method_name) {
252
+
253
+ return add_action($tag, array($this, $method_name));
254
+ }
255
+
256
+ function add_class_filter($tag, $method_name) {
257
+
258
+ return add_filter($tag, array($this, $method_name));
259
+ }
260
+
261
+ public function display_admin_notice() {
262
+
263
+ $display_notice = true;
264
+
265
+ if (isset($_REQUEST['page']) && ($_REQUEST['page'] == EZP_CS_Constants::$SETTINGS_SUBMENU_SLUG)) {
266
+
267
+ $display_notice = false;
268
+ }
269
+
270
+ if ($display_notice) {
271
+
272
+ //echo "<div class='error'><a href='" . admin_url() . "admin.php?page=" . EZP_CS_Constants::$SETTINGS_SUBMENU_SLUG . "'>" . $this->__("Coming Soon is On") . "</a></div>";
273
+ EZP_CS_Utility::display_admin_notice();
274
+ }
275
+ }
276
+
277
+ /**
278
+ * Display the maintenance page
279
+ */
280
+ public function display_coming_soon_page() {
281
+
282
+ $in_preview = isset($_REQUEST['ezp_cs_preview']) && ($_REQUEST['ezp_cs_preview'] == 'true');
283
+
284
+ // RSR TODO: Need to put an enabled box somewhere
285
+ //
286
+ // For now
287
+ if (!is_user_logged_in() || $in_preview) {
288
+
289
+ $global = EZP_CS_Global_Entity::get_instance();
290
+
291
+ $set_index = $global->active_set_index;
292
+
293
+ $set = EZP_CS_Set_Entity::get_by_id($set_index);
294
+
295
+ $config = EZP_CS_Config_Entity::get_by_id($global->config_index);
296
+
297
+ if ($config->return_code == 503) {
298
+
299
+ header('HTTP/1.1 503 Service Temporarily Unavailable');
300
+ header('Status: 503 Service Temporarily Unavailable');
301
+ header('Retry-After: 86400'); // RSR TODO: Put in the retry time later
302
+ } else {
303
+
304
+ header('HTTP/1.1 200 OK');
305
+ }
306
+
307
+ $__dir__ = dirname(__FILE__);
308
+
309
+ $page = $__dir__ . "/../mini-themes/base-responsive/index.php";
310
+
311
+ $page_url = content_url('plugins/easy-pie-coming-soon/mini-themes/base-responsive');
312
+
313
+ require($page);
314
+
315
+
316
+ exit();
317
+ }
318
+ }
319
+
320
+ // <editor-fold defaultstate="collapsed" desc="Hook Handlers">
321
+ public static function activate() {
322
+
323
+ EZP_CS_Utility::debug("activate");
324
+
325
+ $installed_ver = get_option(EZP_CS_Constants::PLUGIN_VERSION_OPTION_KEY);
326
+
327
+ //rsr todo if($installed_ver != EZP_CS_Constants::PLUGIN_VERSION)
328
+ {
329
+ EZP_CS_JSON_Entity_Base::init_table();
330
+
331
+ EZP_Contact_Entity::init_table();
332
+ EZP_Email_Entity::init_table();
333
+ EZP_CS_Subscriber_Entity::init_table();
334
+
335
+ EZP_CS_Global_Entity::initialize_plugin_data();
336
+
337
+ update_option(EZP_CS_Constants::PLUGIN_VERSION_OPTION_KEY, EZP_CS_Constants::PLUGIN_VERSION);
338
+ }
339
+ }
340
+
341
+ public static function deactivate() {
342
+
343
+ EZP_CS_Utility::debug("deactivate");
344
+ }
345
+
346
+ public static function uninstall() {
347
+
348
+ EZP_CS_Utility::debug("uninstall");
349
+ }
350
+
351
+ // </editor-fold>
352
+
353
+ public function enqueue_scripts() {
354
+
355
+ $jsRoot = plugins_url() . "/" . EZP_CS_Constants::PLUGIN_SLUG . "/js";
356
+
357
+ wp_enqueue_script('jquery');
358
+ wp_enqueue_script('jquery-ui-core');
359
+
360
+ $jQueryPluginRoot = plugins_url() . "/" . EZP_CS_Constants::PLUGIN_SLUG . "/jquery-plugins";
361
+
362
+ if (isset($_GET['page'])) {
363
+
364
+
365
+ if ($_GET['page'] == EZP_CS_Constants::$TEMPLATE_SUBMENU_SLUG) {
366
+
367
+ if (!isset($_GET['tab']) || ($_GET['tab'] == 'display')) {
368
+
369
+
370
+ wp_enqueue_script('jquery-ui-slider');
371
+ wp_enqueue_script('spectrum.min.js', $jQueryPluginRoot . '/spectrum-picker/spectrum.min.js', array('jquery'), EZP_CS_Constants::PLUGIN_VERSION);
372
+ }
373
+
374
+ wp_enqueue_media();
375
+ } else if ($_GET['page'] == EZP_CS_Constants::$SUBSCRIBERS_SUBMENU_SLUG) {
376
+
377
+
378
+ wp_enqueue_script('jquery-ui-dialog');
379
+ }
380
+ }
381
+ }
382
+
383
+ /**
384
+ * enqueue_styles
385
+ * Loads the required css links only for this plugin */
386
+ public function enqueue_styles() {
387
+ $styleRoot = plugins_url() . "/" . EZP_CS_Constants::PLUGIN_SLUG . "/styles";
388
+
389
+ wp_register_style('jquery-ui-min-css', 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/themes/smoothness/jquery-ui.min.css', array(), EZP_CS_Constants::PLUGIN_VERSION);
390
+ wp_enqueue_style('jquery-ui-min-css');
391
+
392
+
393
+
394
+ wp_register_style('easy-pie-cs-styles.css', $styleRoot . '/easy-pie-cs-styles.css', array(), EZP_CS_Constants::PLUGIN_VERSION);
395
+ wp_enqueue_style('easy-pie-cs-styles.css');
396
+
397
+ $jQueryPluginRoot = plugins_url() . "/" . EZP_CS_Constants::PLUGIN_SLUG . "/jquery-plugins";
398
+ // wp_enqueue_style('jquery.eyecon.colorpicker.colorpicker', $jQueryPluginRoot . '/colorpicker/css/colorpicker.css', array(), EZP_CS_Constants::PLUGIN_VERSION);
399
+
400
+ if (isset($_GET['page']) && ($_GET['page'] == EZP_CS_Constants::$TEMPLATE_SUBMENU_SLUG)) {
401
+ if (!isset($_GET['tab']) || ($_GET['tab'] == 'display')) {
402
+ wp_enqueue_style('spectrum.css', $jQueryPluginRoot . '/spectrum-picker/spectrum.css', array(), EZP_CS_Constants::PLUGIN_VERSION);
403
+ }
404
+ }
405
+ }
406
+
407
+ // <editor-fold defaultstate="collapsed" desc=" Action Handlers ">
408
+ public function plugins_loaded_handler() {
409
+
410
+ $this->init_localization();
411
+ $this->upgrade_processing();
412
+ }
413
+
414
+ public function init_localization() {
415
+
416
+ load_plugin_textdomain(EZP_CS_Constants::PLUGIN_SLUG, false, EZP_CS_Constants::PLUGIN_SLUG . '/languages/');
417
+ }
418
+
419
+ public function admin_init_handler() {
420
+
421
+ // register_setting(EZP_CS_Constants::MAIN_PAGE_KEY, EZP_CS_Constants::COMPOUND_OPTION_NAME, array($this, 'validate_options'));
422
+ // $this->add_settings_sections();
423
+ $this->add_filters_and_actions();
424
+ }
425
+
426
+ private function add_filters_and_actions() {
427
+
428
+ add_filter('plugin_action_links', array($this, 'get_action_links'), 10, 2);
429
+
430
+ // adding new filter here? http://sumtips.com/2012/12/add-remove-tab-wordpress-3-5-media-upload-page.html
431
+ // selctive display of tabs depending on where you are http://wordpress.org/support/topic/hide-media-upload-library-tabs-leave-url-tab?replies=17
432
+ // $this->add_class_filter( 'media_upload_tabs', 'add_custom_wallpaper_tab');
433
+ // $this->add_class_action('media_upload_epcs', 'add_custom_wallpaper_tab_content');
434
+ }
435
+
436
+ function get_action_links($links, $file) {
437
+
438
+ if ($file == "easy-pie-coming-soon/easy-pie-coming-soon.php") {
439
+
440
+ $settings_link = '<a href="' . get_bloginfo('wpurl') . '/wp-admin/admin.php?page=' . EZP_CS_Constants::PLUGIN_SLUG . '">Settings</a>';
441
+
442
+ array_unshift($links, $settings_link);
443
+ }
444
+
445
+ return $links;
446
+ }
447
+
448
+ function upgrade_processing() {
449
+ // RSR TODO: In future versions compare where we are at with what's in the system and take action
450
+ }
451
+
452
+ // </editor-fold>
453
+
454
+ public function add_to_admin_menu() {
455
+
456
+ $perms = 'manage_options';
457
+
458
+
459
+ add_menu_page('Easy Pie Coming Soon', 'Coming Soon', $perms, EZP_CS_Constants::PLUGIN_SLUG, array($this, 'display_template_options_page'), EZP_CS_Utility::$PLUGIN_URL . '/images/easy-pie-cs-menu-icon.png');
460
+ $template_page_hook_suffix = add_submenu_page(EZP_CS_Constants::PLUGIN_SLUG, $this->__('Easy Pie Coming Soon Template'), $this->__('Template'), $perms, EZP_CS_Constants::$TEMPLATE_SUBMENU_SLUG, array($this, 'display_template_options_page'));
461
+ $settings_page_hook_suffix = add_submenu_page(EZP_CS_Constants::PLUGIN_SLUG, $this->__('Easy Pie Coming Soon Settings'), $this->__('Settings'), $perms, EZP_CS_Constants::$SETTINGS_SUBMENU_SLUG, array($this, 'display_settings_options_page'));
462
+ $subscribers_page_hook_suffix = add_submenu_page(EZP_CS_Constants::PLUGIN_SLUG, $this->__('Easy Pie Coming Soon Subscribers'), $this->__('Subscribers'), $perms, EZP_CS_Constants::$SUBSCRIBERS_SUBMENU_SLUG, array($this, 'display_subscribers_options_page'));
463
+ $preview_page_hook_suffix = add_submenu_page(EZP_CS_Constants::PLUGIN_SLUG, $this->__('Easy Pie Coming Soon Preview'), $this->__('Preview'), $perms, EZP_CS_Constants::$PREVIEW_SUBMENU_SLUG, array($this, 'display_preview_page'));
464
+
465
+ add_action('admin_print_scripts-' . $template_page_hook_suffix, array($this, 'enqueue_scripts'));
466
+ add_action('admin_print_scripts-' . $settings_page_hook_suffix, array($this, 'enqueue_scripts'));
467
+ add_action('admin_print_scripts-' . $subscribers_page_hook_suffix, array($this, 'enqueue_scripts'));
468
+
469
+ //Apply Styles
470
+ add_action('admin_print_styles-' . $template_page_hook_suffix, array($this, 'enqueue_styles'));
471
+ add_action('admin_print_styles-' . $settings_page_hook_suffix, array($this, 'enqueue_styles'));
472
+ add_action('admin_print_styles-' . $subscribers_page_hook_suffix, array($this, 'enqueue_styles'));
473
+ }
474
+
475
+ // </editor-fold>
476
+
477
+ function display_options_page($page) {
478
+
479
+ $relative_page_path = '/../pages/' . $page;
480
+
481
+ $__dir__ = dirname(__FILE__);
482
+
483
+ include($__dir__ . $relative_page_path);
484
+ }
485
+
486
+ function display_template_options_page() {
487
+ $this->display_options_page('page-options.php');
488
+ }
489
+
490
+ function display_settings_options_page() {
491
+ $this->display_options_page('page-options-settings.php');
492
+ }
493
+
494
+ function display_subscribers_options_page() {
495
+ $this->display_options_page('page-options-subscribers.php');
496
+ }
497
+
498
+ function display_preview_page() {
499
+ $this->display_options_page('page-preview.php');
500
+ }
501
+
502
+ }
503
+
504
+ }
easy-pie-coming-soon.php ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ Plugin Name: Easy Pie Coming Soon
4
+ Plugin URI: http://easypiewp.com/easy-pie-coming-soon-faq/
5
+ Description: Let people know that your site is 'coming soon'. Visitors can submit their email addresses for future notification.
6
+ Version: 0.5.0
7
+ Author: Bob Riley
8
+ Author URI: http://www.easypiewp.com
9
+ Text Domain: easy-pie-coming-soon
10
+ License: GPL v3
11
+ */
12
+
13
+ /*
14
+ Easy Pie Coming Soon Plugin
15
+ Copyright (C) 2014, Synthetic Thought LLC
16
+ website: easypiewp.com contact: bob@easypiewp.com
17
+
18
+ Easy Pie Coming Soon Plugin is distributed under the GNU General Public License, Version 3,
19
+ June 2007. Copyright (C) 2007 Free Software Foundation, Inc., 51 Franklin
20
+ St, Fifth Floor, Boston, MA 02110, USA
21
+
22
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
23
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
24
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
25
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
26
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
27
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
28
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
29
+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
30
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
31
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32
+ */
33
+
34
+ require_once("classes/class-ezp-cs.php");
35
+
36
+ $EZP_CS = new EZP_CS(__FILE__);
37
+
38
+ ?>
images/backgrounds/cloud-1.jpg ADDED
Binary file
images/backgrounds/dark-marble.jpg ADDED
Binary file
images/backgrounds/fotogrph-yellow-wildflowers-691967596.jpg ADDED
Binary file
images/backgrounds/leather-patch.jpg ADDED
Binary file
images/backgrounds/water-ripples.jpg ADDED
Binary file
images/easy-pie-cs-logo32.png ADDED
Binary file
images/easy-pie-cs-menu-icon.png ADDED
Binary file
images/easy-pie-mm-logo32.png ADDED
Binary file
jquery-plugins/simple-modal/jquery.simplemodal.1.4.4.min.js ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * SimpleModal 1.4.4 - jQuery Plugin
3
+ * http://simplemodal.com/
4
+ * Copyright (c) 2013 Eric Martin
5
+ * Licensed under MIT and GPL
6
+ * Date: Sun, Jan 20 2013 15:58:56 -0800
7
+ */
8
+ (function(b){"function"===typeof define&&define.amd?define(["jquery"],b):b(jQuery)})(function(b){var j=[],n=b(document),k=navigator.userAgent.toLowerCase(),l=b(window),g=[],o=null,p=/msie/.test(k)&&!/opera/.test(k),q=/opera/.test(k),m,r;m=p&&/msie 6./.test(k)&&"object"!==typeof window.XMLHttpRequest;r=p&&/msie 7.0/.test(k);b.modal=function(a,h){return b.modal.impl.init(a,h)};b.modal.close=function(){b.modal.impl.close()};b.modal.focus=function(a){b.modal.impl.focus(a)};b.modal.setContainerDimensions=
9
+ function(){b.modal.impl.setContainerDimensions()};b.modal.setPosition=function(){b.modal.impl.setPosition()};b.modal.update=function(a,h){b.modal.impl.update(a,h)};b.fn.modal=function(a){return b.modal.impl.init(this,a)};b.modal.defaults={appendTo:"body",focus:!0,opacity:50,overlayId:"simplemodal-overlay",overlayCss:{},containerId:"simplemodal-container",containerCss:{},dataId:"simplemodal-data",dataCss:{},minHeight:null,minWidth:null,maxHeight:null,maxWidth:null,autoResize:!1,autoPosition:!0,zIndex:1E3,
10
+ close:!0,closeHTML:'<a class="modalCloseImg" title="Close"></a>',closeClass:"simplemodal-close",escClose:!0,overlayClose:!1,fixed:!0,position:null,persist:!1,modal:!0,onOpen:null,onShow:null,onClose:null};b.modal.impl={d:{},init:function(a,h){if(this.d.data)return!1;o=p&&!b.support.boxModel;this.o=b.extend({},b.modal.defaults,h);this.zIndex=this.o.zIndex;this.occb=!1;if("object"===typeof a){if(a=a instanceof b?a:b(a),this.d.placeholder=!1,0<a.parent().parent().size()&&(a.before(b("<span></span>").attr("id",
11
+ "simplemodal-placeholder").css({display:"none"})),this.d.placeholder=!0,this.display=a.css("display"),!this.o.persist))this.d.orig=a.clone(!0)}else if("string"===typeof a||"number"===typeof a)a=b("<div></div>").html(a);else return alert("SimpleModal Error: Unsupported data type: "+typeof a),this;this.create(a);this.open();b.isFunction(this.o.onShow)&&this.o.onShow.apply(this,[this.d]);return this},create:function(a){this.getDimensions();if(this.o.modal&&m)this.d.iframe=b('<iframe src="javascript:false;"></iframe>').css(b.extend(this.o.iframeCss,
12
+ {display:"none",opacity:0,position:"fixed",height:g[0],width:g[1],zIndex:this.o.zIndex,top:0,left:0})).appendTo(this.o.appendTo);this.d.overlay=b("<div></div>").attr("id",this.o.overlayId).addClass("simplemodal-overlay").css(b.extend(this.o.overlayCss,{display:"none",opacity:this.o.opacity/100,height:this.o.modal?j[0]:0,width:this.o.modal?j[1]:0,position:"fixed",left:0,top:0,zIndex:this.o.zIndex+1})).appendTo(this.o.appendTo);this.d.container=b("<div></div>").attr("id",this.o.containerId).addClass("simplemodal-container").css(b.extend({position:this.o.fixed?
13
+ "fixed":"absolute"},this.o.containerCss,{display:"none",zIndex:this.o.zIndex+2})).append(this.o.close&&this.o.closeHTML?b(this.o.closeHTML).addClass(this.o.closeClass):"").appendTo(this.o.appendTo);this.d.wrap=b("<div></div>").attr("tabIndex",-1).addClass("simplemodal-wrap").css({height:"100%",outline:0,width:"100%"}).appendTo(this.d.container);this.d.data=a.attr("id",a.attr("id")||this.o.dataId).addClass("simplemodal-data").css(b.extend(this.o.dataCss,{display:"none"})).appendTo("body");this.setContainerDimensions();
14
+ this.d.data.appendTo(this.d.wrap);(m||o)&&this.fixIE()},bindEvents:function(){var a=this;b("."+a.o.closeClass).bind("click.simplemodal",function(b){b.preventDefault();a.close()});a.o.modal&&a.o.close&&a.o.overlayClose&&a.d.overlay.bind("click.simplemodal",function(b){b.preventDefault();a.close()});n.bind("keydown.simplemodal",function(b){a.o.modal&&9===b.keyCode?a.watchTab(b):a.o.close&&a.o.escClose&&27===b.keyCode&&(b.preventDefault(),a.close())});l.bind("resize.simplemodal orientationchange.simplemodal",
15
+ function(){a.getDimensions();a.o.autoResize?a.setContainerDimensions():a.o.autoPosition&&a.setPosition();m||o?a.fixIE():a.o.modal&&(a.d.iframe&&a.d.iframe.css({height:g[0],width:g[1]}),a.d.overlay.css({height:j[0],width:j[1]}))})},unbindEvents:function(){b("."+this.o.closeClass).unbind("click.simplemodal");n.unbind("keydown.simplemodal");l.unbind(".simplemodal");this.d.overlay.unbind("click.simplemodal")},fixIE:function(){var a=this.o.position;b.each([this.d.iframe||null,!this.o.modal?null:this.d.overlay,
16
+ "fixed"===this.d.container.css("position")?this.d.container:null],function(b,e){if(e){var f=e[0].style;f.position="absolute";if(2>b)f.removeExpression("height"),f.removeExpression("width"),f.setExpression("height",'document.body.scrollHeight > document.body.clientHeight ? document.body.scrollHeight : document.body.clientHeight + "px"'),f.setExpression("width",'document.body.scrollWidth > document.body.clientWidth ? document.body.scrollWidth : document.body.clientWidth + "px"');else{var c,d;a&&a.constructor===
17
+ Array?(c=a[0]?"number"===typeof a[0]?a[0].toString():a[0].replace(/px/,""):e.css("top").replace(/px/,""),c=-1===c.indexOf("%")?c+' + (t = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"':parseInt(c.replace(/%/,""))+' * ((document.documentElement.clientHeight || document.body.clientHeight) / 100) + (t = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"',a[1]&&(d="number"===typeof a[1]?
18
+ a[1].toString():a[1].replace(/px/,""),d=-1===d.indexOf("%")?d+' + (t = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft) + "px"':parseInt(d.replace(/%/,""))+' * ((document.documentElement.clientWidth || document.body.clientWidth) / 100) + (t = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft) + "px"')):(c='(document.documentElement.clientHeight || document.body.clientHeight) / 2 - (this.offsetHeight / 2) + (t = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"',
19
+ d='(document.documentElement.clientWidth || document.body.clientWidth) / 2 - (this.offsetWidth / 2) + (t = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft) + "px"');f.removeExpression("top");f.removeExpression("left");f.setExpression("top",c);f.setExpression("left",d)}}})},focus:function(a){var h=this,a=a&&-1!==b.inArray(a,["first","last"])?a:"first",e=b(":input:enabled:visible:"+a,h.d.wrap);setTimeout(function(){0<e.length?e.focus():h.d.wrap.focus()},
20
+ 10)},getDimensions:function(){var a="undefined"===typeof window.innerHeight?l.height():window.innerHeight;j=[n.height(),n.width()];g=[a,l.width()]},getVal:function(a,b){return a?"number"===typeof a?a:"auto"===a?0:0<a.indexOf("%")?parseInt(a.replace(/%/,""))/100*("h"===b?g[0]:g[1]):parseInt(a.replace(/px/,"")):null},update:function(a,b){if(!this.d.data)return!1;this.d.origHeight=this.getVal(a,"h");this.d.origWidth=this.getVal(b,"w");this.d.data.hide();a&&this.d.container.css("height",a);b&&this.d.container.css("width",
21
+ b);this.setContainerDimensions();this.d.data.show();this.o.focus&&this.focus();this.unbindEvents();this.bindEvents()},setContainerDimensions:function(){var a=m||r,b=this.d.origHeight?this.d.origHeight:q?this.d.container.height():this.getVal(a?this.d.container[0].currentStyle.height:this.d.container.css("height"),"h"),a=this.d.origWidth?this.d.origWidth:q?this.d.container.width():this.getVal(a?this.d.container[0].currentStyle.width:this.d.container.css("width"),"w"),e=this.d.data.outerHeight(!0),f=
22
+ this.d.data.outerWidth(!0);this.d.origHeight=this.d.origHeight||b;this.d.origWidth=this.d.origWidth||a;var c=this.o.maxHeight?this.getVal(this.o.maxHeight,"h"):null,d=this.o.maxWidth?this.getVal(this.o.maxWidth,"w"):null,c=c&&c<g[0]?c:g[0],d=d&&d<g[1]?d:g[1],i=this.o.minHeight?this.getVal(this.o.minHeight,"h"):"auto",b=b?this.o.autoResize&&b>c?c:b<i?i:b:e?e>c?c:this.o.minHeight&&"auto"!==i&&e<i?i:e:i,c=this.o.minWidth?this.getVal(this.o.minWidth,"w"):"auto",a=a?this.o.autoResize&&a>d?d:a<c?c:a:f?
23
+ f>d?d:this.o.minWidth&&"auto"!==c&&f<c?c:f:c;this.d.container.css({height:b,width:a});this.d.wrap.css({overflow:e>b||f>a?"auto":"visible"});this.o.autoPosition&&this.setPosition()},setPosition:function(){var a,b;a=g[0]/2-this.d.container.outerHeight(!0)/2;b=g[1]/2-this.d.container.outerWidth(!0)/2;var e="fixed"!==this.d.container.css("position")?l.scrollTop():0;this.o.position&&"[object Array]"===Object.prototype.toString.call(this.o.position)?(a=e+(this.o.position[0]||a),b=this.o.position[1]||b):
24
+ a=e+a;this.d.container.css({left:b,top:a})},watchTab:function(a){if(0<b(a.target).parents(".simplemodal-container").length){if(this.inputs=b(":input:enabled:visible:first, :input:enabled:visible:last",this.d.data[0]),!a.shiftKey&&a.target===this.inputs[this.inputs.length-1]||a.shiftKey&&a.target===this.inputs[0]||0===this.inputs.length)a.preventDefault(),this.focus(a.shiftKey?"last":"first")}else a.preventDefault(),this.focus()},open:function(){this.d.iframe&&this.d.iframe.show();b.isFunction(this.o.onOpen)?
25
+ this.o.onOpen.apply(this,[this.d]):(this.d.overlay.show(),this.d.container.show(),this.d.data.show());this.o.focus&&this.focus();this.bindEvents()},close:function(){if(!this.d.data)return!1;this.unbindEvents();if(b.isFunction(this.o.onClose)&&!this.occb)this.occb=!0,this.o.onClose.apply(this,[this.d]);else{if(this.d.placeholder){var a=b("#simplemodal-placeholder");this.o.persist?a.replaceWith(this.d.data.removeClass("simplemodal-data").css("display",this.display)):(this.d.data.hide().remove(),a.replaceWith(this.d.orig))}else this.d.data.hide().remove();
26
+ this.d.container.hide().remove();this.d.overlay.hide();this.d.iframe&&this.d.iframe.hide().remove();this.d.overlay.remove();this.d={}}}}});
jquery-plugins/spectrum-picker/spectrum.css ADDED
@@ -0,0 +1,511 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /***
2
+ Spectrum Colorpicker v1.2.0
3
+ https://github.com/bgrins/spectrum
4
+ Author: Brian Grinstead
5
+ License: MIT
6
+ ***/
7
+
8
+ .sp-container {
9
+ position:absolute;
10
+ top:0;
11
+ left:0;
12
+ display:inline-block;
13
+ *display: inline;
14
+ *zoom: 1;
15
+ /* https://github.com/bgrins/spectrum/issues/40 */
16
+ z-index: 9999994;
17
+ overflow: hidden;
18
+ }
19
+ .sp-container.sp-flat {
20
+ position: relative;
21
+ }
22
+
23
+ /* http://ansciath.tumblr.com/post/7347495869/css-aspect-ratio */
24
+ .sp-top {
25
+ position:relative;
26
+ width: 100%;
27
+ display:inline-block;
28
+ }
29
+ .sp-top-inner {
30
+ position:absolute;
31
+ top:0;
32
+ left:0;
33
+ bottom:0;
34
+ right:0;
35
+ }
36
+ .sp-color {
37
+ position: absolute;
38
+ top:0;
39
+ left:0;
40
+ bottom:0;
41
+ right:20%;
42
+ }
43
+ .sp-hue {
44
+ position: absolute;
45
+ top:0;
46
+ right:0;
47
+ bottom:0;
48
+ left:84%;
49
+ height: 100%;
50
+ }
51
+
52
+ .sp-clear-enabled .sp-hue {
53
+ top:33px;
54
+ height: 77.5%;
55
+ }
56
+
57
+ .sp-fill {
58
+ padding-top: 80%;
59
+ }
60
+ .sp-sat, .sp-val {
61
+ position: absolute;
62
+ top:0;
63
+ left:0;
64
+ right:0;
65
+ bottom:0;
66
+ }
67
+
68
+ .sp-alpha-enabled .sp-top {
69
+ margin-bottom: 18px;
70
+ }
71
+ .sp-alpha-enabled .sp-alpha {
72
+ display: block;
73
+ }
74
+ .sp-alpha-handle {
75
+ position:absolute;
76
+ top:-4px;
77
+ bottom: -4px;
78
+ width: 6px;
79
+ left: 50%;
80
+ cursor: pointer;
81
+ border: 1px solid black;
82
+ background: white;
83
+ opacity: .8;
84
+ }
85
+ .sp-alpha {
86
+ display: none;
87
+ position: absolute;
88
+ bottom: -14px;
89
+ right: 0;
90
+ left: 0;
91
+ height: 8px;
92
+ }
93
+ .sp-alpha-inner {
94
+ border: solid 1px #333;
95
+ }
96
+
97
+ .sp-clear {
98
+ display: none;
99
+ }
100
+
101
+ .sp-clear.sp-clear-display {
102
+ background-position: center;
103
+ }
104
+
105
+ .sp-clear-enabled .sp-clear {
106
+ display: block;
107
+ position:absolute;
108
+ top:0px;
109
+ right:0;
110
+ bottom:0;
111
+ left:84%;
112
+ height: 28px;
113
+ }
114
+
115
+ /* Don't allow text selection */
116
+ .sp-container, .sp-replacer, .sp-preview, .sp-dragger, .sp-slider, .sp-alpha, .sp-clear, .sp-alpha-handle, .sp-container.sp-dragging .sp-input, .sp-container button {
117
+ -webkit-user-select:none;
118
+ -moz-user-select: -moz-none;
119
+ -o-user-select:none;
120
+ user-select: none;
121
+ }
122
+
123
+ .sp-container.sp-input-disabled .sp-input-container {
124
+ display: none;
125
+ }
126
+ .sp-container.sp-buttons-disabled .sp-button-container {
127
+ display: none;
128
+ }
129
+ .sp-palette-only .sp-picker-container {
130
+ display: none;
131
+ }
132
+ .sp-palette-disabled .sp-palette-container {
133
+ display: none;
134
+ }
135
+
136
+ .sp-initial-disabled .sp-initial {
137
+ display: none;
138
+ }
139
+
140
+
141
+ /* Gradients for hue, saturation and value instead of images. Not pretty... but it works */
142
+ .sp-sat {
143
+ background-image: -webkit-gradient(linear, 0 0, 100% 0, from(#FFF), to(rgba(204, 154, 129, 0)));
144
+ background-image: -webkit-linear-gradient(left, #FFF, rgba(204, 154, 129, 0));
145
+ background-image: -moz-linear-gradient(left, #fff, rgba(204, 154, 129, 0));
146
+ background-image: -o-linear-gradient(left, #fff, rgba(204, 154, 129, 0));
147
+ background-image: -ms-linear-gradient(left, #fff, rgba(204, 154, 129, 0));
148
+ background-image: linear-gradient(to right, #fff, rgba(204, 154, 129, 0));
149
+ -ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType = 1, startColorstr=#FFFFFFFF, endColorstr=#00CC9A81)";
150
+ filter : progid:DXImageTransform.Microsoft.gradient(GradientType = 1, startColorstr='#FFFFFFFF', endColorstr='#00CC9A81');
151
+ }
152
+ .sp-val {
153
+ background-image: -webkit-gradient(linear, 0 100%, 0 0, from(#000000), to(rgba(204, 154, 129, 0)));
154
+ background-image: -webkit-linear-gradient(bottom, #000000, rgba(204, 154, 129, 0));
155
+ background-image: -moz-linear-gradient(bottom, #000, rgba(204, 154, 129, 0));
156
+ background-image: -o-linear-gradient(bottom, #000, rgba(204, 154, 129, 0));
157
+ background-image: -ms-linear-gradient(bottom, #000, rgba(204, 154, 129, 0));
158
+ background-image: linear-gradient(to top, #000, rgba(204, 154, 129, 0));
159
+ -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#00CC9A81, endColorstr=#FF000000)";
160
+ filter : progid:DXImageTransform.Microsoft.gradient(startColorstr='#00CC9A81', endColorstr='#FF000000');
161
+ }
162
+
163
+ .sp-hue {
164
+ background: -moz-linear-gradient(top, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);
165
+ background: -ms-linear-gradient(top, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);
166
+ background: -o-linear-gradient(top, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);
167
+ background: -webkit-gradient(linear, left top, left bottom, from(#ff0000), color-stop(0.17, #ffff00), color-stop(0.33, #00ff00), color-stop(0.5, #00ffff), color-stop(0.67, #0000ff), color-stop(0.83, #ff00ff), to(#ff0000));
168
+ background: -webkit-linear-gradient(top, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);
169
+ }
170
+
171
+ /* IE filters do not support multiple color stops.
172
+ Generate 6 divs, line them up, and do two color gradients for each.
173
+ Yes, really.
174
+ */
175
+ .sp-1 {
176
+ height:17%;
177
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0000', endColorstr='#ffff00');
178
+ }
179
+ .sp-2 {
180
+ height:16%;
181
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffff00', endColorstr='#00ff00');
182
+ }
183
+ .sp-3 {
184
+ height:17%;
185
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00ff00', endColorstr='#00ffff');
186
+ }
187
+ .sp-4 {
188
+ height:17%;
189
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00ffff', endColorstr='#0000ff');
190
+ }
191
+ .sp-5 {
192
+ height:16%;
193
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0000ff', endColorstr='#ff00ff');
194
+ }
195
+ .sp-6 {
196
+ height:17%;
197
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff00ff', endColorstr='#ff0000');
198
+ }
199
+
200
+ .sp-hidden {
201
+ display: none !important;
202
+ }
203
+
204
+ /* Clearfix hack */
205
+ .sp-cf:before, .sp-cf:after { content: ""; display: table; }
206
+ .sp-cf:after { clear: both; }
207
+ .sp-cf { *zoom: 1; }
208
+
209
+ /* Mobile devices, make hue slider bigger so it is easier to slide */
210
+ @media (max-device-width: 480px) {
211
+ .sp-color { right: 40%; }
212
+ .sp-hue { left: 63%; }
213
+ .sp-fill { padding-top: 60%; }
214
+ }
215
+ .sp-dragger {
216
+ border-radius: 5px;
217
+ height: 5px;
218
+ width: 5px;
219
+ border: 1px solid #fff;
220
+ background: #000;
221
+ cursor: pointer;
222
+ position:absolute;
223
+ top:0;
224
+ left: 0;
225
+ }
226
+ .sp-slider {
227
+ position: absolute;
228
+ top:0;
229
+ cursor:pointer;
230
+ height: 3px;
231
+ left: -1px;
232
+ right: -1px;
233
+ border: 1px solid #000;
234
+ background: white;
235
+ opacity: .8;
236
+ }
237
+
238
+ /*
239
+ Theme authors:
240
+ Here are the basic themeable display options (colors, fonts, global widths).
241
+ See http://bgrins.github.io/spectrum/themes/ for instructions.
242
+ */
243
+
244
+ .sp-container {
245
+ border-radius: 0;
246
+ background-color: #ECECEC;
247
+ border: solid 1px #f0c49B;
248
+ padding: 0;
249
+ }
250
+ .sp-container, .sp-container button, .sp-container input, .sp-color, .sp-hue, .sp-clear
251
+ {
252
+ font: normal 12px "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Verdana, sans-serif;
253
+ -webkit-box-sizing: border-box;
254
+ -moz-box-sizing: border-box;
255
+ -ms-box-sizing: border-box;
256
+ box-sizing: border-box;
257
+ }
258
+ .sp-top
259
+ {
260
+ margin-bottom: 3px;
261
+ }
262
+ .sp-color, .sp-hue, .sp-clear
263
+ {
264
+ border: solid 1px #666;
265
+ }
266
+
267
+ /* Input */
268
+ .sp-input-container {
269
+ float:right;
270
+ width: 100px;
271
+ margin-bottom: 4px;
272
+ }
273
+ .sp-initial-disabled .sp-input-container {
274
+ width: 100%;
275
+ }
276
+ .sp-input {
277
+ font-size: 12px !important;
278
+ border: 1px inset;
279
+ padding: 4px 5px;
280
+ margin: 0;
281
+ width: 100%;
282
+ background:transparent;
283
+ border-radius: 3px;
284
+ color: #222;
285
+ }
286
+ .sp-input:focus {
287
+ border: 1px solid orange;
288
+ }
289
+ .sp-input.sp-validation-error
290
+ {
291
+ border: 1px solid red;
292
+ background: #fdd;
293
+ }
294
+ .sp-picker-container , .sp-palette-container
295
+ {
296
+ float:left;
297
+ position: relative;
298
+ padding: 10px;
299
+ padding-bottom: 300px;
300
+ margin-bottom: -290px;
301
+ }
302
+ .sp-picker-container
303
+ {
304
+ width: 172px;
305
+ border-left: solid 1px #fff;
306
+ }
307
+
308
+ /* Palettes */
309
+ .sp-palette-container
310
+ {
311
+ border-right: solid 1px #ccc;
312
+ }
313
+
314
+ .sp-palette .sp-thumb-el {
315
+ display: block;
316
+ position:relative;
317
+ float:left;
318
+ width: 24px;
319
+ height: 15px;
320
+ margin: 3px;
321
+ cursor: pointer;
322
+ border:solid 2px transparent;
323
+ }
324
+ .sp-palette .sp-thumb-el:hover, .sp-palette .sp-thumb-el.sp-thumb-active {
325
+ border-color: orange;
326
+ }
327
+ .sp-thumb-el
328
+ {
329
+ position:relative;
330
+ }
331
+
332
+ /* Initial */
333
+ .sp-initial
334
+ {
335
+ float: left;
336
+ border: solid 1px #333;
337
+ }
338
+ .sp-initial span {
339
+ width: 30px;
340
+ height: 25px;
341
+ border:none;
342
+ display:block;
343
+ float:left;
344
+ margin:0;
345
+ }
346
+
347
+ .sp-initial .sp-clear-display {
348
+ background-position: center;
349
+ }
350
+
351
+ /* Buttons */
352
+ .sp-button-container {
353
+ float: right;
354
+ }
355
+
356
+ /* Replacer (the little preview div that shows up instead of the <input>) */
357
+ .sp-replacer {
358
+ margin:0;
359
+ overflow:hidden;
360
+ cursor:pointer;
361
+ padding: 4px;
362
+ display:inline-block;
363
+ *zoom: 1;
364
+ *display: inline;
365
+ border: solid 1px #91765d;
366
+ background: #eee;
367
+ color: #333;
368
+ vertical-align: middle;
369
+ }
370
+ .sp-replacer:hover, .sp-replacer.sp-active {
371
+ border-color: #F0C49B;
372
+ color: #111;
373
+ }
374
+ .sp-replacer.sp-disabled {
375
+ cursor:default;
376
+ border-color: silver;
377
+ color: silver;
378
+ }
379
+ .sp-dd {
380
+ padding: 2px 0;
381
+ height: 16px;
382
+ line-height: 16px;
383
+ float:left;
384
+ font-size:10px;
385
+ }
386
+ .sp-preview
387
+ {
388
+ position:relative;
389
+ width:25px;
390
+ height: 20px;
391
+ border: solid 1px #222;
392
+ margin-right: 5px;
393
+ float:left;
394
+ z-index: 0;
395
+ }
396
+
397
+ .sp-palette
398
+ {
399
+ *width: 220px;
400
+ max-width: 220px;
401
+ }
402
+ .sp-palette .sp-thumb-el
403
+ {
404
+ width:16px;
405
+ height: 16px;
406
+ margin:2px 1px;
407
+ border: solid 1px #d0d0d0;
408
+ }
409
+
410
+ .sp-container
411
+ {
412
+ padding-bottom:0;
413
+ }
414
+
415
+
416
+ /* Buttons: http://hellohappy.org/css3-buttons/ */
417
+ .sp-container button {
418
+ background-color: #eeeeee;
419
+ background-image: -webkit-linear-gradient(top, #eeeeee, #cccccc);
420
+ background-image: -moz-linear-gradient(top, #eeeeee, #cccccc);
421
+ background-image: -ms-linear-gradient(top, #eeeeee, #cccccc);
422
+ background-image: -o-linear-gradient(top, #eeeeee, #cccccc);
423
+ background-image: linear-gradient(to bottom, #eeeeee, #cccccc);
424
+ border: 1px solid #ccc;
425
+ border-bottom: 1px solid #bbb;
426
+ border-radius: 3px;
427
+ color: #333;
428
+ font-size: 14px;
429
+ line-height: 1;
430
+ padding: 5px 4px;
431
+ text-align: center;
432
+ text-shadow: 0 1px 0 #eee;
433
+ vertical-align: middle;
434
+ }
435
+ .sp-container button:hover {
436
+ background-color: #dddddd;
437
+ background-image: -webkit-linear-gradient(top, #dddddd, #bbbbbb);
438
+ background-image: -moz-linear-gradient(top, #dddddd, #bbbbbb);
439
+ background-image: -ms-linear-gradient(top, #dddddd, #bbbbbb);
440
+ background-image: -o-linear-gradient(top, #dddddd, #bbbbbb);
441
+ background-image: linear-gradient(to bottom, #dddddd, #bbbbbb);
442
+ border: 1px solid #bbb;
443
+ border-bottom: 1px solid #999;
444
+ cursor: pointer;
445
+ text-shadow: 0 1px 0 #ddd;
446
+ }
447
+ .sp-container button:active {
448
+ border: 1px solid #aaa;
449
+ border-bottom: 1px solid #888;
450
+ -webkit-box-shadow: inset 0 0 5px 2px #aaaaaa, 0 1px 0 0 #eeeeee;
451
+ -moz-box-shadow: inset 0 0 5px 2px #aaaaaa, 0 1px 0 0 #eeeeee;
452
+ -ms-box-shadow: inset 0 0 5px 2px #aaaaaa, 0 1px 0 0 #eeeeee;
453
+ -o-box-shadow: inset 0 0 5px 2px #aaaaaa, 0 1px 0 0 #eeeeee;
454
+ box-shadow: inset 0 0 5px 2px #aaaaaa, 0 1px 0 0 #eeeeee;
455
+ }
456
+ .sp-cancel
457
+ {
458
+ font-size: 11px;
459
+ color: #d93f3f !important;
460
+ margin:0;
461
+ padding:2px;
462
+ margin-right: 5px;
463
+ vertical-align: middle;
464
+ text-decoration:none;
465
+
466
+ }
467
+ .sp-cancel:hover
468
+ {
469
+ color: #d93f3f !important;
470
+ text-decoration: underline;
471
+ }
472
+
473
+
474
+ .sp-palette span:hover, .sp-palette span.sp-thumb-active
475
+ {
476
+ border-color: #000;
477
+ }
478
+
479
+ .sp-preview, .sp-alpha, .sp-thumb-el
480
+ {
481
+ position:relative;
482
+ background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==);
483
+ }
484
+ .sp-preview-inner, .sp-alpha-inner, .sp-thumb-inner
485
+ {
486
+ display:block;
487
+ position:absolute;
488
+ top:0;left:0;bottom:0;right:0;
489
+ }
490
+
491
+ .sp-palette .sp-thumb-inner
492
+ {
493
+ background-position: 50% 50%;
494
+ background-repeat: no-repeat;
495
+ }
496
+
497
+ .sp-palette .sp-thumb-light.sp-thumb-active .sp-thumb-inner
498
+ {
499
+ background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAIVJREFUeNpiYBhsgJFMffxAXABlN5JruT4Q3wfi/0DsT64h8UD8HmpIPCWG/KemIfOJCUB+Aoacx6EGBZyHBqI+WsDCwuQ9mhxeg2A210Ntfo8klk9sOMijaURm7yc1UP2RNCMbKE9ODK1HM6iegYLkfx8pligC9lCD7KmRof0ZhjQACDAAceovrtpVBRkAAAAASUVORK5CYII=);
500
+ }
501
+
502
+ .sp-palette .sp-thumb-dark.sp-thumb-active .sp-thumb-inner
503
+ {
504
+ background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAadEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjEwMPRyoQAAAMdJREFUOE+tkgsNwzAMRMugEAahEAahEAZhEAqlEAZhEAohEAYh81X2dIm8fKpEspLGvudPOsUYpxE2BIJCroJmEW9qJ+MKaBFhEMNabSy9oIcIPwrB+afvAUFoK4H0tMaQ3XtlrggDhOVVMuT4E5MMG0FBbCEYzjYT7OxLEvIHQLY2zWwQ3D+9luyOQTfKDiFD3iUIfPk8VqrKjgAiSfGFPecrg6HN6m/iBcwiDAo7WiBeawa+Kwh7tZoSCGLMqwlSAzVDhoK+6vH4G0P5wdkAAAAASUVORK5CYII=);
505
+ }
506
+
507
+ .sp-clear-display {
508
+ background-repeat:no-repeat;
509
+ background-position: center;
510
+ background-image: url(data:image/gif;base64,R0lGODlhFAAUAPcAAAAAAJmZmZ2dnZ6enqKioqOjo6SkpKWlpaampqenp6ioqKmpqaqqqqurq/Hx8fLy8vT09PX19ff39/j4+Pn5+fr6+vv7+wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAAP8ALAAAAAAUABQAAAihAP9FoPCvoMGDBy08+EdhQAIJCCMybCDAAYUEARBAlFiQQoMABQhKUJBxY0SPICEYHBnggEmDKAuoPMjS5cGYMxHW3IiT478JJA8M/CjTZ0GgLRekNGpwAsYABHIypcAgQMsITDtWJYBR6NSqMico9cqR6tKfY7GeBCuVwlipDNmefAtTrkSzB1RaIAoXodsABiZAEFB06gIBWC1mLVgBa0AAOw==);
511
+ }
jquery-plugins/spectrum-picker/spectrum.js ADDED
@@ -0,0 +1,2010 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Spectrum Colorpicker v1.2.0
2
+ // https://github.com/bgrins/spectrum
3
+ // Author: Brian Grinstead
4
+ // License: MIT
5
+
6
+ (function (window, $, undefined) {
7
+ var defaultOpts = {
8
+
9
+ // Callbacks
10
+ beforeShow: noop,
11
+ move: noop,
12
+ change: noop,
13
+ show: noop,
14
+ hide: noop,
15
+
16
+ // Options
17
+ color: false,
18
+ flat: false,
19
+ showInput: false,
20
+ allowEmpty: false,
21
+ showButtons: true,
22
+ clickoutFiresChange: false,
23
+ showInitial: false,
24
+ showPalette: false,
25
+ showPaletteOnly: false,
26
+ showSelectionPalette: true,
27
+ localStorageKey: false,
28
+ appendTo: "body",
29
+ maxSelectionSize: 7,
30
+ cancelText: "cancel",
31
+ chooseText: "choose",
32
+ preferredFormat: false,
33
+ className: "",
34
+ showAlpha: false,
35
+ theme: "sp-light",
36
+ palette: ['fff', '000'],
37
+ selectionPalette: [],
38
+ disabled: false
39
+ },
40
+ spectrums = [],
41
+ IE = !!/msie/i.exec( window.navigator.userAgent ),
42
+ rgbaSupport = (function() {
43
+ function contains( str, substr ) {
44
+ return !!~('' + str).indexOf(substr);
45
+ }
46
+
47
+ var elem = document.createElement('div');
48
+ var style = elem.style;
49
+ style.cssText = 'background-color:rgba(0,0,0,.5)';
50
+ return contains(style.backgroundColor, 'rgba') || contains(style.backgroundColor, 'hsla');
51
+ })(),
52
+ inputTypeColorSupport = (function() {
53
+ var colorInput = $("<input type='color' value='!' />")[0];
54
+ return colorInput.type === "color" && colorInput.value !== "!";
55
+ })(),
56
+ replaceInput = [
57
+ "<div class='sp-replacer'>",
58
+ "<div class='sp-preview'><div class='sp-preview-inner'></div></div>",
59
+ "<div class='sp-dd'>&#9660;</div>",
60
+ "</div>"
61
+ ].join(''),
62
+ markup = (function () {
63
+
64
+ // IE does not support gradients with multiple stops, so we need to simulate
65
+ // that for the rainbow slider with 8 divs that each have a single gradient
66
+ var gradientFix = "";
67
+ if (IE) {
68
+ for (var i = 1; i <= 6; i++) {
69
+ gradientFix += "<div class='sp-" + i + "'></div>";
70
+ }
71
+ }
72
+
73
+ return [
74
+ "<div class='sp-container sp-hidden'>",
75
+ "<div class='sp-palette-container'>",
76
+ "<div class='sp-palette sp-thumb sp-cf'></div>",
77
+ "</div>",
78
+ "<div class='sp-picker-container'>",
79
+ "<div class='sp-top sp-cf'>",
80
+ "<div class='sp-fill'></div>",
81
+ "<div class='sp-top-inner'>",
82
+ "<div class='sp-color'>",
83
+ "<div class='sp-sat'>",
84
+ "<div class='sp-val'>",
85
+ "<div class='sp-dragger'></div>",
86
+ "</div>",
87
+ "</div>",
88
+ "</div>",
89
+ "<div class='sp-clear sp-clear-display' title='Clear Color Selection'>",
90
+ "</div>",
91
+ "<div class='sp-hue'>",
92
+ "<div class='sp-slider'></div>",
93
+ gradientFix,
94
+ "</div>",
95
+ "</div>",
96
+ "<div class='sp-alpha'><div class='sp-alpha-inner'><div class='sp-alpha-handle'></div></div></div>",
97
+ "</div>",
98
+ "<div class='sp-input-container sp-cf'>",
99
+ "<input class='sp-input' type='text' spellcheck='false' />",
100
+ "</div>",
101
+ "<div class='sp-initial sp-thumb sp-cf'></div>",
102
+ "<div class='sp-button-container sp-cf'>",
103
+ "<a class='sp-cancel' href='#'></a>",
104
+ "<button class='sp-choose'></button>",
105
+ "</div>",
106
+ "</div>",
107
+ "</div>"
108
+ ].join("");
109
+ })();
110
+
111
+ function paletteTemplate (p, color, className) {
112
+ var html = [];
113
+ for (var i = 0; i < p.length; i++) {
114
+ var current = p[i];
115
+ if(current) {
116
+ var tiny = tinycolor(current);
117
+ var c = tiny.toHsl().l < 0.5 ? "sp-thumb-el sp-thumb-dark" : "sp-thumb-el sp-thumb-light";
118
+ c += (tinycolor.equals(color, current)) ? " sp-thumb-active" : "";
119
+
120
+ var swatchStyle = rgbaSupport ? ("background-color:" + tiny.toRgbString()) : "filter:" + tiny.toFilter();
121
+ html.push('<span title="' + tiny.toRgbString() + '" data-color="' + tiny.toRgbString() + '" class="' + c + '"><span class="sp-thumb-inner" style="' + swatchStyle + ';" /></span>');
122
+ } else {
123
+ var cls = 'sp-clear-display';
124
+ html.push('<span title="No Color Selected" data-color="" style="background-color:transparent;" class="' + cls + '"></span>');
125
+ }
126
+ }
127
+ return "<div class='sp-cf " + className + "'>" + html.join('') + "</div>";
128
+ }
129
+
130
+ function hideAll() {
131
+ for (var i = 0; i < spectrums.length; i++) {
132
+ if (spectrums[i]) {
133
+ spectrums[i].hide();
134
+ }
135
+ }
136
+ }
137
+
138
+ function instanceOptions(o, callbackContext) {
139
+ var opts = $.extend({}, defaultOpts, o);
140
+ opts.callbacks = {
141
+ 'move': bind(opts.move, callbackContext),
142
+ 'change': bind(opts.change, callbackContext),
143
+ 'show': bind(opts.show, callbackContext),
144
+ 'hide': bind(opts.hide, callbackContext),
145
+ 'beforeShow': bind(opts.beforeShow, callbackContext)
146
+ };
147
+
148
+ return opts;
149
+ }
150
+
151
+ function spectrum(element, o) {
152
+
153
+ var opts = instanceOptions(o, element),
154
+ flat = opts.flat,
155
+ showSelectionPalette = opts.showSelectionPalette,
156
+ localStorageKey = opts.localStorageKey,
157
+ theme = opts.theme,
158
+ callbacks = opts.callbacks,
159
+ resize = throttle(reflow, 10),
160
+ visible = false,
161
+ dragWidth = 0,
162
+ dragHeight = 0,
163
+ dragHelperHeight = 0,
164
+ slideHeight = 0,
165
+ slideWidth = 0,
166
+ alphaWidth = 0,
167
+ alphaSlideHelperWidth = 0,
168
+ slideHelperHeight = 0,
169
+ currentHue = 0,
170
+ currentSaturation = 0,
171
+ currentValue = 0,
172
+ currentAlpha = 1,
173
+ palette = opts.palette.slice(0),
174
+ paletteArray = $.isArray(palette[0]) ? palette : [palette],
175
+ selectionPalette = opts.selectionPalette.slice(0),
176
+ maxSelectionSize = opts.maxSelectionSize,
177
+ draggingClass = "sp-dragging",
178
+ shiftMovementDirection = null;
179
+
180
+ var doc = element.ownerDocument,
181
+ body = doc.body,
182
+ boundElement = $(element),
183
+ disabled = false,
184
+ container = $(markup, doc).addClass(theme),
185
+ dragger = container.find(".sp-color"),
186
+ dragHelper = container.find(".sp-dragger"),
187
+ slider = container.find(".sp-hue"),
188
+ slideHelper = container.find(".sp-slider"),
189
+ alphaSliderInner = container.find(".sp-alpha-inner"),
190
+ alphaSlider = container.find(".sp-alpha"),
191
+ alphaSlideHelper = container.find(".sp-alpha-handle"),
192
+ textInput = container.find(".sp-input"),
193
+ paletteContainer = container.find(".sp-palette"),
194
+ initialColorContainer = container.find(".sp-initial"),
195
+ cancelButton = container.find(".sp-cancel"),
196
+ clearButton = container.find(".sp-clear"),
197
+ chooseButton = container.find(".sp-choose"),
198
+ isInput = boundElement.is("input"),
199
+ isInputTypeColor = isInput && inputTypeColorSupport && boundElement.attr("type") === "color",
200
+ shouldReplace = isInput && !flat,
201
+ replacer = (shouldReplace) ? $(replaceInput).addClass(theme).addClass(opts.className) : $([]),
202
+ offsetElement = (shouldReplace) ? replacer : boundElement,
203
+ previewElement = replacer.find(".sp-preview-inner"),
204
+ initialColor = opts.color || (isInput && boundElement.val()),
205
+ colorOnShow = false,
206
+ preferredFormat = opts.preferredFormat,
207
+ currentPreferredFormat = preferredFormat,
208
+ clickoutFiresChange = !opts.showButtons || opts.clickoutFiresChange,
209
+ isEmpty = !initialColor,
210
+ allowEmpty = opts.allowEmpty && !isInputTypeColor;
211
+
212
+ function applyOptions() {
213
+
214
+ if (opts.showPaletteOnly) {
215
+ opts.showPalette = true;
216
+ }
217
+
218
+ container.toggleClass("sp-flat", flat);
219
+ container.toggleClass("sp-input-disabled", !opts.showInput);
220
+ container.toggleClass("sp-alpha-enabled", opts.showAlpha);
221
+ container.toggleClass("sp-clear-enabled", allowEmpty);
222
+ container.toggleClass("sp-buttons-disabled", !opts.showButtons);
223
+ container.toggleClass("sp-palette-disabled", !opts.showPalette);
224
+ container.toggleClass("sp-palette-only", opts.showPaletteOnly);
225
+ container.toggleClass("sp-initial-disabled", !opts.showInitial);
226
+ container.addClass(opts.className);
227
+
228
+ reflow();
229
+ }
230
+
231
+ function initialize() {
232
+
233
+ if (IE) {
234
+ container.find("*:not(input)").attr("unselectable", "on");
235
+ }
236
+
237
+ applyOptions();
238
+
239
+ if (shouldReplace) {
240
+ boundElement.after(replacer).hide();
241
+ }
242
+
243
+ if (!allowEmpty) {
244
+ clearButton.hide();
245
+ }
246
+
247
+ if (flat) {
248
+ boundElement.after(container).hide();
249
+ }
250
+ else {
251
+
252
+ var appendTo = opts.appendTo === "parent" ? boundElement.parent() : $(opts.appendTo);
253
+ if (appendTo.length !== 1) {
254
+ appendTo = $("body");
255
+ }
256
+
257
+ appendTo.append(container);
258
+ }
259
+
260
+ if (localStorageKey && window.localStorage) {
261
+
262
+ // Migrate old palettes over to new format. May want to remove this eventually.
263
+ try {
264
+ var oldPalette = window.localStorage[localStorageKey].split(",#");
265
+ if (oldPalette.length > 1) {
266
+ delete window.localStorage[localStorageKey];
267
+ $.each(oldPalette, function(i, c) {
268
+ addColorToSelectionPalette(c);
269
+ });
270
+ }
271
+ }
272
+ catch(e) { }
273
+
274
+ try {
275
+ selectionPalette = window.localStorage[localStorageKey].split(";");
276
+ }
277
+ catch (e) { }
278
+ }
279
+
280
+ offsetElement.bind("click.spectrum touchstart.spectrum", function (e) {
281
+ if (!disabled) {
282
+ toggle();
283
+ }
284
+
285
+ e.stopPropagation();
286
+
287
+ if (!$(e.target).is("input")) {
288
+ e.preventDefault();
289
+ }
290
+ });
291
+
292
+ if(boundElement.is(":disabled") || (opts.disabled === true)) {
293
+ disable();
294
+ }
295
+
296
+ // Prevent clicks from bubbling up to document. This would cause it to be hidden.
297
+ container.click(stopPropagation);
298
+
299
+ // Handle user typed input
300
+ textInput.change(setFromTextInput);
301
+ textInput.bind("paste", function () {
302
+ setTimeout(setFromTextInput, 1);
303
+ });
304
+ textInput.keydown(function (e) { if (e.keyCode == 13) { setFromTextInput(); } });
305
+
306
+ cancelButton.text(opts.cancelText);
307
+ cancelButton.bind("click.spectrum", function (e) {
308
+ e.stopPropagation();
309
+ e.preventDefault();
310
+ hide("cancel");
311
+ });
312
+
313
+
314
+ clearButton.bind("click.spectrum", function (e) {
315
+ e.stopPropagation();
316
+ e.preventDefault();
317
+
318
+ isEmpty = true;
319
+
320
+ move();
321
+ if(flat) {
322
+ //for the flat style, this is a change event
323
+ updateOriginalInput(true);
324
+ }
325
+ });
326
+
327
+
328
+ chooseButton.text(opts.chooseText);
329
+ chooseButton.bind("click.spectrum", function (e) {
330
+ e.stopPropagation();
331
+ e.preventDefault();
332
+
333
+ if (isValid()) {
334
+ updateOriginalInput(true);
335
+ hide();
336
+ }
337
+ });
338
+
339
+ draggable(alphaSlider, function (dragX, dragY, e) {
340
+ currentAlpha = (dragX / alphaWidth);
341
+ isEmpty = false;
342
+ if (e.shiftKey) {
343
+ currentAlpha = Math.round(currentAlpha * 10) / 10;
344
+ }
345
+
346
+ move();
347
+ });
348
+
349
+ draggable(slider, function (dragX, dragY) {
350
+ currentHue = parseFloat(dragY / slideHeight);
351
+ isEmpty = false;
352
+ move();
353
+ }, dragStart, dragStop);
354
+
355
+ draggable(dragger, function (dragX, dragY, e) {
356
+
357
+ // shift+drag should snap the movement to either the x or y axis.
358
+ if (!e.shiftKey) {
359
+ shiftMovementDirection = null;
360
+ }
361
+ else if (!shiftMovementDirection) {
362
+ var oldDragX = currentSaturation * dragWidth;
363
+ var oldDragY = dragHeight - (currentValue * dragHeight);
364
+ var furtherFromX = Math.abs(dragX - oldDragX) > Math.abs(dragY - oldDragY);
365
+
366
+ shiftMovementDirection = furtherFromX ? "x" : "y";
367
+ }
368
+
369
+ var setSaturation = !shiftMovementDirection || shiftMovementDirection === "x";
370
+ var setValue = !shiftMovementDirection || shiftMovementDirection === "y";
371
+
372
+ if (setSaturation) {
373
+ currentSaturation = parseFloat(dragX / dragWidth);
374
+ }
375
+ if (setValue) {
376
+ currentValue = parseFloat((dragHeight - dragY) / dragHeight);
377
+ }
378
+
379
+ isEmpty = false;
380
+
381
+ move();
382
+
383
+ }, dragStart, dragStop);
384
+
385
+ if (!!initialColor) {
386
+ set(initialColor);
387
+
388
+ // In case color was black - update the preview UI and set the format
389
+ // since the set function will not run (default color is black).
390
+ updateUI();
391
+ currentPreferredFormat = preferredFormat || tinycolor(initialColor).format;
392
+
393
+ addColorToSelectionPalette(initialColor);
394
+ }
395
+ else {
396
+ updateUI();
397
+ }
398
+
399
+ if (flat) {
400
+ show();
401
+ }
402
+
403
+ function palletElementClick(e) {
404
+ if (e.data && e.data.ignore) {
405
+ set($(this).data("color"));
406
+ move();
407
+ }
408
+ else {
409
+ set($(this).data("color"));
410
+ updateOriginalInput(true);
411
+ move();
412
+ hide();
413
+ }
414
+
415
+ return false;
416
+ }
417
+
418
+ var paletteEvent = IE ? "mousedown.spectrum" : "click.spectrum touchstart.spectrum";
419
+ paletteContainer.delegate(".sp-thumb-el", paletteEvent, palletElementClick);
420
+ initialColorContainer.delegate(".sp-thumb-el:nth-child(1)", paletteEvent, { ignore: true }, palletElementClick);
421
+ }
422
+
423
+ function addColorToSelectionPalette(color) {
424
+ if (showSelectionPalette) {
425
+ var colorRgb = tinycolor(color).toRgbString();
426
+ if ($.inArray(colorRgb, selectionPalette) === -1) {
427
+ selectionPalette.push(colorRgb);
428
+ while(selectionPalette.length > maxSelectionSize) {
429
+ selectionPalette.shift();
430
+ }
431
+ }
432
+
433
+ if (localStorageKey && window.localStorage) {
434
+ try {
435
+ window.localStorage[localStorageKey] = selectionPalette.join(";");
436
+ }
437
+ catch(e) { }
438
+ }
439
+ }
440
+ }
441
+
442
+ function getUniqueSelectionPalette() {
443
+ var unique = [];
444
+ var p = selectionPalette;
445
+ var paletteLookup = {};
446
+ var rgb;
447
+
448
+ if (opts.showPalette) {
449
+
450
+ for (var i = 0; i < paletteArray.length; i++) {
451
+ for (var j = 0; j < paletteArray[i].length; j++) {
452
+ rgb = tinycolor(paletteArray[i][j]).toRgbString();
453
+ paletteLookup[rgb] = true;
454
+ }
455
+ }
456
+
457
+ for (i = 0; i < p.length; i++) {
458
+ rgb = tinycolor(p[i]).toRgbString();
459
+
460
+ if (!paletteLookup.hasOwnProperty(rgb)) {
461
+ unique.push(p[i]);
462
+ paletteLookup[rgb] = true;
463
+ }
464
+ }
465
+ }
466
+
467
+ return unique.reverse().slice(0, opts.maxSelectionSize);
468
+ }
469
+
470
+ function drawPalette() {
471
+
472
+ var currentColor = get();
473
+
474
+ var html = $.map(paletteArray, function (palette, i) {
475
+ return paletteTemplate(palette, currentColor, "sp-palette-row sp-palette-row-" + i);
476
+ });
477
+
478
+ if (selectionPalette) {
479
+ html.push(paletteTemplate(getUniqueSelectionPalette(), currentColor, "sp-palette-row sp-palette-row-selection"));
480
+ }
481
+
482
+ paletteContainer.html(html.join(""));
483
+ }
484
+
485
+ function drawInitial() {
486
+ if (opts.showInitial) {
487
+ var initial = colorOnShow;
488
+ var current = get();
489
+ initialColorContainer.html(paletteTemplate([initial, current], current, "sp-palette-row-initial"));
490
+ }
491
+ }
492
+
493
+ function dragStart() {
494
+ if (dragHeight <= 0 || dragWidth <= 0 || slideHeight <= 0) {
495
+ reflow();
496
+ }
497
+ container.addClass(draggingClass);
498
+ shiftMovementDirection = null;
499
+ }
500
+
501
+ function dragStop() {
502
+ container.removeClass(draggingClass);
503
+ }
504
+
505
+ function setFromTextInput() {
506
+
507
+ var value = textInput.val();
508
+
509
+ if ((value === null || value === "") && allowEmpty) {
510
+ set(null);
511
+ }
512
+ else {
513
+ var tiny = tinycolor(value);
514
+ if (tiny.ok) {
515
+ set(tiny);
516
+ }
517
+ else {
518
+ textInput.addClass("sp-validation-error");
519
+ }
520
+ }
521
+ }
522
+
523
+ function toggle() {
524
+ if (visible) {
525
+ hide();
526
+ }
527
+ else {
528
+ show();
529
+ }
530
+ }
531
+
532
+ function show() {
533
+ var event = $.Event('beforeShow.spectrum');
534
+
535
+ if (visible) {
536
+ reflow();
537
+ return;
538
+ }
539
+
540
+ boundElement.trigger(event, [ get() ]);
541
+
542
+ if (callbacks.beforeShow(get()) === false || event.isDefaultPrevented()) {
543
+ return;
544
+ }
545
+
546
+ hideAll();
547
+ visible = true;
548
+
549
+ $(doc).bind("click.spectrum", hide);
550
+ $(window).bind("resize.spectrum", resize);
551
+ replacer.addClass("sp-active");
552
+ container.removeClass("sp-hidden");
553
+
554
+ if (opts.showPalette) {
555
+ drawPalette();
556
+ }
557
+ reflow();
558
+ updateUI();
559
+
560
+ colorOnShow = get();
561
+
562
+ drawInitial();
563
+ callbacks.show(colorOnShow);
564
+ boundElement.trigger('show.spectrum', [ colorOnShow ]);
565
+ }
566
+
567
+ function hide(e) {
568
+
569
+ // Return on right click
570
+ if (e && e.type == "click" && e.button == 2) { return; }
571
+
572
+ // Return if hiding is unnecessary
573
+ if (!visible || flat) { return; }
574
+ visible = false;
575
+
576
+ $(doc).unbind("click.spectrum", hide);
577
+ $(window).unbind("resize.spectrum", resize);
578
+
579
+ replacer.removeClass("sp-active");
580
+ container.addClass("sp-hidden");
581
+
582
+ var colorHasChanged = !tinycolor.equals(get(), colorOnShow);
583
+
584
+ if (colorHasChanged) {
585
+ if (clickoutFiresChange && e !== "cancel") {
586
+ updateOriginalInput(true);
587
+ }
588
+ else {
589
+ revert();
590
+ }
591
+ }
592
+
593
+ callbacks.hide(get());
594
+ boundElement.trigger('hide.spectrum', [ get() ]);
595
+ }
596
+
597
+ function revert() {
598
+ set(colorOnShow, true);
599
+ }
600
+
601
+ function set(color, ignoreFormatChange) {
602
+ if (tinycolor.equals(color, get())) {
603
+ return;
604
+ }
605
+
606
+ var newColor;
607
+ if (!color && allowEmpty) {
608
+ isEmpty = true;
609
+ } else {
610
+ isEmpty = false;
611
+ newColor = tinycolor(color);
612
+ var newHsv = newColor.toHsv();
613
+
614
+ currentHue = (newHsv.h % 360) / 360;
615
+ currentSaturation = newHsv.s;
616
+ currentValue = newHsv.v;
617
+ currentAlpha = newHsv.a;
618
+ }
619
+ updateUI();
620
+
621
+ if (newColor && newColor.ok && !ignoreFormatChange) {
622
+ currentPreferredFormat = preferredFormat || newColor.format;
623
+ }
624
+ }
625
+
626
+ function get(opts) {
627
+ opts = opts || { };
628
+
629
+ if (allowEmpty && isEmpty) {
630
+ return null;
631
+ }
632
+
633
+ return tinycolor.fromRatio({
634
+ h: currentHue,
635
+ s: currentSaturation,
636
+ v: currentValue,
637
+ a: Math.round(currentAlpha * 100) / 100
638
+ }, { format: opts.format || currentPreferredFormat });
639
+ }
640
+
641
+ function isValid() {
642
+ return !textInput.hasClass("sp-validation-error");
643
+ }
644
+
645
+ function move() {
646
+ updateUI();
647
+
648
+ callbacks.move(get());
649
+ boundElement.trigger('move.spectrum', [ get() ]);
650
+ }
651
+
652
+ function updateUI() {
653
+
654
+ textInput.removeClass("sp-validation-error");
655
+
656
+ updateHelperLocations();
657
+
658
+ // Update dragger background color (gradients take care of saturation and value).
659
+ var flatColor = tinycolor.fromRatio({ h: currentHue, s: 1, v: 1 });
660
+ dragger.css("background-color", flatColor.toHexString());
661
+
662
+ // Get a format that alpha will be included in (hex and names ignore alpha)
663
+ var format = currentPreferredFormat;
664
+ if (currentAlpha < 1) {
665
+ if (format === "hex" || format === "hex3" || format === "hex6" || format === "name") {
666
+ format = "rgb";
667
+ }
668
+ }
669
+
670
+ var realColor = get({ format: format }),
671
+ displayColor = '';
672
+
673
+ //reset background info for preview element
674
+ previewElement.removeClass("sp-clear-display");
675
+ previewElement.css('background-color', 'transparent');
676
+
677
+ if (!realColor && allowEmpty) {
678
+ // Update the replaced elements background with icon indicating no color selection
679
+ previewElement.addClass("sp-clear-display");
680
+ }
681
+ else {
682
+ var realHex = realColor.toHexString(),
683
+ realRgb = realColor.toRgbString();
684
+
685
+ // Update the replaced elements background color (with actual selected color)
686
+ if (rgbaSupport || realColor.alpha === 1) {
687
+ previewElement.css("background-color", realRgb);
688
+ }
689
+ else {
690
+ previewElement.css("background-color", "transparent");
691
+ previewElement.css("filter", realColor.toFilter());
692
+ }
693
+
694
+ if (opts.showAlpha) {
695
+ var rgb = realColor.toRgb();
696
+ rgb.a = 0;
697
+ var realAlpha = tinycolor(rgb).toRgbString();
698
+ var gradient = "linear-gradient(left, " + realAlpha + ", " + realHex + ")";
699
+
700
+ if (IE) {
701
+ alphaSliderInner.css("filter", tinycolor(realAlpha).toFilter({ gradientType: 1 }, realHex));
702
+ }
703
+ else {
704
+ alphaSliderInner.css("background", "-webkit-" + gradient);
705
+ alphaSliderInner.css("background", "-moz-" + gradient);
706
+ alphaSliderInner.css("background", "-ms-" + gradient);
707
+ alphaSliderInner.css("background", gradient);
708
+ }
709
+ }
710
+
711
+ displayColor = realColor.toString(format);
712
+ }
713
+ // Update the text entry input as it changes happen
714
+ if (opts.showInput) {
715
+ textInput.val(displayColor);
716
+ }
717
+
718
+ if (opts.showPalette) {
719
+ drawPalette();
720
+ }
721
+
722
+ drawInitial();
723
+ }
724
+
725
+ function updateHelperLocations() {
726
+ var s = currentSaturation;
727
+ var v = currentValue;
728
+
729
+ if(allowEmpty && isEmpty) {
730
+ //if selected color is empty, hide the helpers
731
+ alphaSlideHelper.hide();
732
+ slideHelper.hide();
733
+ dragHelper.hide();
734
+ }
735
+ else {
736
+ //make sure helpers are visible
737
+ alphaSlideHelper.show();
738
+ slideHelper.show();
739
+ dragHelper.show();
740
+
741
+ // Where to show the little circle in that displays your current selected color
742
+ var dragX = s * dragWidth;
743
+ var dragY = dragHeight - (v * dragHeight);
744
+ dragX = Math.max(
745
+ -dragHelperHeight,
746
+ Math.min(dragWidth - dragHelperHeight, dragX - dragHelperHeight)
747
+ );
748
+ dragY = Math.max(
749
+ -dragHelperHeight,
750
+ Math.min(dragHeight - dragHelperHeight, dragY - dragHelperHeight)
751
+ );
752
+ dragHelper.css({
753
+ "top": dragY,
754
+ "left": dragX
755
+ });
756
+
757
+ var alphaX = currentAlpha * alphaWidth;
758
+ alphaSlideHelper.css({
759
+ "left": alphaX - (alphaSlideHelperWidth / 2)
760
+ });
761
+
762
+ // Where to show the bar that displays your current selected hue
763
+ var slideY = (currentHue) * slideHeight;
764
+ slideHelper.css({
765
+ "top": slideY - slideHelperHeight
766
+ });
767
+ }
768
+ }
769
+
770
+ function updateOriginalInput(fireCallback) {
771
+ var color = get(),
772
+ displayColor = '',
773
+ hasChanged = !tinycolor.equals(color, colorOnShow);
774
+
775
+ if(color) {
776
+ displayColor = color.toString(currentPreferredFormat);
777
+ // Update the selection palette with the current color
778
+ addColorToSelectionPalette(color);
779
+ }
780
+
781
+ if (isInput) {
782
+ boundElement.val(displayColor);
783
+ }
784
+
785
+ colorOnShow = color;
786
+
787
+ if (fireCallback && hasChanged) {
788
+ callbacks.change(color);
789
+ boundElement.trigger('change', [ color ]);
790
+ }
791
+ }
792
+
793
+ function reflow() {
794
+ dragWidth = dragger.width();
795
+ dragHeight = dragger.height();
796
+ dragHelperHeight = dragHelper.height();
797
+ slideWidth = slider.width();
798
+ slideHeight = slider.height();
799
+ slideHelperHeight = slideHelper.height();
800
+ alphaWidth = alphaSlider.width();
801
+ alphaSlideHelperWidth = alphaSlideHelper.width();
802
+
803
+ if (!flat) {
804
+ container.css("position", "absolute");
805
+ container.offset(getOffset(container, offsetElement));
806
+ }
807
+
808
+ updateHelperLocations();
809
+ }
810
+
811
+ function destroy() {
812
+ boundElement.show();
813
+ offsetElement.unbind("click.spectrum touchstart.spectrum");
814
+ container.remove();
815
+ replacer.remove();
816
+ spectrums[spect.id] = null;
817
+ }
818
+
819
+ function option(optionName, optionValue) {
820
+ if (optionName === undefined) {
821
+ return $.extend({}, opts);
822
+ }
823
+ if (optionValue === undefined) {
824
+ return opts[optionName];
825
+ }
826
+
827
+ opts[optionName] = optionValue;
828
+ applyOptions();
829
+ }
830
+
831
+ function enable() {
832
+ disabled = false;
833
+ boundElement.attr("disabled", false);
834
+ offsetElement.removeClass("sp-disabled");
835
+ }
836
+
837
+ function disable() {
838
+ hide();
839
+ disabled = true;
840
+ boundElement.attr("disabled", true);
841
+ offsetElement.addClass("sp-disabled");
842
+ }
843
+
844
+ initialize();
845
+
846
+ var spect = {
847
+ show: show,
848
+ hide: hide,
849
+ toggle: toggle,
850
+ reflow: reflow,
851
+ option: option,
852
+ enable: enable,
853
+ disable: disable,
854
+ set: function (c) {
855
+ set(c);
856
+ updateOriginalInput();
857
+ },
858
+ get: get,
859
+ destroy: destroy,
860
+ container: container
861
+ };
862
+
863
+ spect.id = spectrums.push(spect) - 1;
864
+
865
+ return spect;
866
+ }
867
+
868
+ /**
869
+ * checkOffset - get the offset below/above and left/right element depending on screen position
870
+ * Thanks https://github.com/jquery/jquery-ui/blob/master/ui/jquery.ui.datepicker.js
871
+ */
872
+ function getOffset(picker, input) {
873
+ var extraY = 0;
874
+ var dpWidth = picker.outerWidth();
875
+ var dpHeight = picker.outerHeight();
876
+ var inputHeight = input.outerHeight();
877
+ var doc = picker[0].ownerDocument;
878
+ var docElem = doc.documentElement;
879
+ var viewWidth = docElem.clientWidth + $(doc).scrollLeft();
880
+ var viewHeight = docElem.clientHeight + $(doc).scrollTop();
881
+ var offset = input.offset();
882
+ offset.top += inputHeight;
883
+
884
+ offset.left -=
885
+ Math.min(offset.left, (offset.left + dpWidth > viewWidth && viewWidth > dpWidth) ?
886
+ Math.abs(offset.left + dpWidth - viewWidth) : 0);
887
+
888
+ offset.top -=
889
+ Math.min(offset.top, ((offset.top + dpHeight > viewHeight && viewHeight > dpHeight) ?
890
+ Math.abs(dpHeight + inputHeight - extraY) : extraY));
891
+
892
+ return offset;
893
+ }
894
+
895
+ /**
896
+ * noop - do nothing
897
+ */
898
+ function noop() {
899
+
900
+ }
901
+
902
+ /**
903
+ * stopPropagation - makes the code only doing this a little easier to read in line
904
+ */
905
+ function stopPropagation(e) {
906
+ e.stopPropagation();
907
+ }
908
+
909
+ /**
910
+ * Create a function bound to a given object
911
+ * Thanks to underscore.js
912
+ */
913
+ function bind(func, obj) {
914
+ var slice = Array.prototype.slice;
915
+ var args = slice.call(arguments, 2);
916
+ return function () {
917
+ return func.apply(obj, args.concat(slice.call(arguments)));
918
+ };
919
+ }
920
+
921
+ /**
922
+ * Lightweight drag helper. Handles containment within the element, so that
923
+ * when dragging, the x is within [0,element.width] and y is within [0,element.height]
924
+ */
925
+ function draggable(element, onmove, onstart, onstop) {
926
+ onmove = onmove || function () { };
927
+ onstart = onstart || function () { };
928
+ onstop = onstop || function () { };
929
+ var doc = element.ownerDocument || document;
930
+ var dragging = false;
931
+ var offset = {};
932
+ var maxHeight = 0;
933
+ var maxWidth = 0;
934
+ var hasTouch = ('ontouchstart' in window);
935
+
936
+ var duringDragEvents = {};
937
+ duringDragEvents["selectstart"] = prevent;
938
+ duringDragEvents["dragstart"] = prevent;
939
+ duringDragEvents["touchmove mousemove"] = move;
940
+ duringDragEvents["touchend mouseup"] = stop;
941
+
942
+ function prevent(e) {
943
+ if (e.stopPropagation) {
944
+ e.stopPropagation();
945
+ }
946
+ if (e.preventDefault) {
947
+ e.preventDefault();
948
+ }
949
+ e.returnValue = false;
950
+ }
951
+
952
+ function move(e) {
953
+ if (dragging) {
954
+ // Mouseup happened outside of window
955
+ if (IE && document.documentMode < 9 && !e.button) {
956
+ return stop();
957
+ }
958
+
959
+ var touches = e.originalEvent.touches;
960
+ var pageX = touches ? touches[0].pageX : e.pageX;
961
+ var pageY = touches ? touches[0].pageY : e.pageY;
962
+
963
+ var dragX = Math.max(0, Math.min(pageX - offset.left, maxWidth));
964
+ var dragY = Math.max(0, Math.min(pageY - offset.top, maxHeight));
965
+
966
+ if (hasTouch) {
967
+ // Stop scrolling in iOS
968
+ prevent(e);
969
+ }
970
+
971
+ onmove.apply(element, [dragX, dragY, e]);
972
+ }
973
+ }
974
+ function start(e) {
975
+ var rightclick = (e.which) ? (e.which == 3) : (e.button == 2);
976
+ var touches = e.originalEvent.touches;
977
+
978
+ if (!rightclick && !dragging) {
979
+ if (onstart.apply(element, arguments) !== false) {
980
+ dragging = true;
981
+ maxHeight = $(element).height();
982
+ maxWidth = $(element).width();
983
+ offset = $(element).offset();
984
+
985
+ $(doc).bind(duringDragEvents);
986
+ $(doc.body).addClass("sp-dragging");
987
+
988
+ if (!hasTouch) {
989
+ move(e);
990
+ }
991
+
992
+ prevent(e);
993
+ }
994
+ }
995
+ }
996
+ function stop() {
997
+ if (dragging) {
998
+ $(doc).unbind(duringDragEvents);
999
+ $(doc.body).removeClass("sp-dragging");
1000
+ onstop.apply(element, arguments);
1001
+ }
1002
+ dragging = false;
1003
+ }
1004
+
1005
+ $(element).bind("touchstart mousedown", start);
1006
+ }
1007
+
1008
+ function throttle(func, wait, debounce) {
1009
+ var timeout;
1010
+ return function () {
1011
+ var context = this, args = arguments;
1012
+ var throttler = function () {
1013
+ timeout = null;
1014
+ func.apply(context, args);
1015
+ };
1016
+ if (debounce) clearTimeout(timeout);
1017
+ if (debounce || !timeout) timeout = setTimeout(throttler, wait);
1018
+ };
1019
+ }
1020
+
1021
+
1022
+ function log(){/* jshint -W021 */if(window.console){if(Function.prototype.bind)log=Function.prototype.bind.call(console.log,console);else log=function(){Function.prototype.apply.call(console.log,console,arguments);};log.apply(this,arguments);}}
1023
+
1024
+ /**
1025
+ * Define a jQuery plugin
1026
+ */
1027
+ var dataID = "spectrum.id";
1028
+ $.fn.spectrum = function (opts, extra) {
1029
+
1030
+ if (typeof opts == "string") {
1031
+
1032
+ var returnValue = this;
1033
+ var args = Array.prototype.slice.call( arguments, 1 );
1034
+
1035
+ this.each(function () {
1036
+ var spect = spectrums[$(this).data(dataID)];
1037
+ if (spect) {
1038
+
1039
+ var method = spect[opts];
1040
+ if (!method) {
1041
+ throw new Error( "Spectrum: no such method: '" + opts + "'" );
1042
+ }
1043
+
1044
+ if (opts == "get") {
1045
+ returnValue = spect.get();
1046
+ }
1047
+ else if (opts == "container") {
1048
+ returnValue = spect.container;
1049
+ }
1050
+ else if (opts == "option") {
1051
+ returnValue = spect.option.apply(spect, args);
1052
+ }
1053
+ else if (opts == "destroy") {
1054
+ spect.destroy();
1055
+ $(this).removeData(dataID);
1056
+ }
1057
+ else {
1058
+ method.apply(spect, args);
1059
+ }
1060
+ }
1061
+ });
1062
+
1063
+ return returnValue;
1064
+ }
1065
+
1066
+ // Initializing a new instance of spectrum
1067
+ return this.spectrum("destroy").each(function () {
1068
+ var spect = spectrum(this, opts);
1069
+ $(this).data(dataID, spect.id);
1070
+ });
1071
+ };
1072
+
1073
+ $.fn.spectrum.load = true;
1074
+ $.fn.spectrum.loadOpts = {};
1075
+ $.fn.spectrum.draggable = draggable;
1076
+ $.fn.spectrum.defaults = defaultOpts;
1077
+
1078
+ $.spectrum = { };
1079
+ $.spectrum.localization = { };
1080
+ $.spectrum.palettes = { };
1081
+
1082
+ $.fn.spectrum.processNativeColorInputs = function () {
1083
+ if (!inputTypeColorSupport) {
1084
+ $("input[type=color]").spectrum({
1085
+ preferredFormat: "hex6"
1086
+ });
1087
+ }
1088
+ };
1089
+
1090
+ // TinyColor v0.9.16
1091
+ // https://github.com/bgrins/TinyColor
1092
+ // 2013-08-10, Brian Grinstead, MIT License
1093
+
1094
+ (function() {
1095
+
1096
+ var trimLeft = /^[\s,#]+/,
1097
+ trimRight = /\s+$/,
1098
+ tinyCounter = 0,
1099
+ math = Math,
1100
+ mathRound = math.round,
1101
+ mathMin = math.min,
1102
+ mathMax = math.max,
1103
+ mathRandom = math.random;
1104
+
1105
+ function tinycolor (color, opts) {
1106
+
1107
+ color = (color) ? color : '';
1108
+ opts = opts || { };
1109
+
1110
+ // If input is already a tinycolor, return itself
1111
+ if (typeof color == "object" && color.hasOwnProperty("_tc_id")) {
1112
+ return color;
1113
+ }
1114
+
1115
+ var rgb = inputToRGB(color);
1116
+ var r = rgb.r,
1117
+ g = rgb.g,
1118
+ b = rgb.b,
1119
+ a = rgb.a,
1120
+ roundA = mathRound(100*a) / 100,
1121
+ format = opts.format || rgb.format;
1122
+
1123
+ // Don't let the range of [0,255] come back in [0,1].
1124
+ // Potentially lose a little bit of precision here, but will fix issues where
1125
+ // .5 gets interpreted as half of the total, instead of half of 1
1126
+ // If it was supposed to be 128, this was already taken care of by `inputToRgb`
1127
+ if (r < 1) { r = mathRound(r); }
1128
+ if (g < 1) { g = mathRound(g); }
1129
+ if (b < 1) { b = mathRound(b); }
1130
+
1131
+ return {
1132
+ ok: rgb.ok,
1133
+ format: format,
1134
+ _tc_id: tinyCounter++,
1135
+ alpha: a,
1136
+ getAlpha: function() {
1137
+ return a;
1138
+ },
1139
+ setAlpha: function(value) {
1140
+ a = boundAlpha(value);
1141
+ roundA = mathRound(100*a) / 100;
1142
+ },
1143
+ toHsv: function() {
1144
+ var hsv = rgbToHsv(r, g, b);
1145
+ return { h: hsv.h * 360, s: hsv.s, v: hsv.v, a: a };
1146
+ },
1147
+ toHsvString: function() {
1148
+ var hsv = rgbToHsv(r, g, b);
1149
+ var h = mathRound(hsv.h * 360), s = mathRound(hsv.s * 100), v = mathRound(hsv.v * 100);
1150
+ return (a == 1) ?
1151
+ "hsv(" + h + ", " + s + "%, " + v + "%)" :
1152
+ "hsva(" + h + ", " + s + "%, " + v + "%, "+ roundA + ")";
1153
+ },
1154
+ toHsl: function() {
1155
+ var hsl = rgbToHsl(r, g, b);
1156
+ return { h: hsl.h * 360, s: hsl.s, l: hsl.l, a: a };
1157
+ },
1158
+ toHslString: function() {
1159
+ var hsl = rgbToHsl(r, g, b);
1160
+ var h = mathRound(hsl.h * 360), s = mathRound(hsl.s * 100), l = mathRound(hsl.l * 100);
1161
+ return (a == 1) ?
1162
+ "hsl(" + h + ", " + s + "%, " + l + "%)" :
1163
+ "hsla(" + h + ", " + s + "%, " + l + "%, "+ roundA + ")";
1164
+ },
1165
+ toHex: function(allow3Char) {
1166
+ return rgbToHex(r, g, b, allow3Char);
1167
+ },
1168
+ toHexString: function(allow3Char) {
1169
+ return '#' + rgbToHex(r, g, b, allow3Char);
1170
+ },
1171
+ toRgb: function() {
1172
+ return { r: mathRound(r), g: mathRound(g), b: mathRound(b), a: a };
1173
+ },
1174
+ toRgbString: function() {
1175
+ return (a == 1) ?
1176
+ "rgb(" + mathRound(r) + ", " + mathRound(g) + ", " + mathRound(b) + ")" :
1177
+ "rgba(" + mathRound(r) + ", " + mathRound(g) + ", " + mathRound(b) + ", " + roundA + ")";
1178
+ },
1179
+ toPercentageRgb: function() {
1180
+ return { r: mathRound(bound01(r, 255) * 100) + "%", g: mathRound(bound01(g, 255) * 100) + "%", b: mathRound(bound01(b, 255) * 100) + "%", a: a };
1181
+ },
1182
+ toPercentageRgbString: function() {
1183
+ return (a == 1) ?
1184
+ "rgb(" + mathRound(bound01(r, 255) * 100) + "%, " + mathRound(bound01(g, 255) * 100) + "%, " + mathRound(bound01(b, 255) * 100) + "%)" :
1185
+ "rgba(" + mathRound(bound01(r, 255) * 100) + "%, " + mathRound(bound01(g, 255) * 100) + "%, " + mathRound(bound01(b, 255) * 100) + "%, " + roundA + ")";
1186
+ },
1187
+ toName: function() {
1188
+ if (a === 0) {
1189
+ return "transparent";
1190
+ }
1191
+
1192
+ return hexNames[rgbToHex(r, g, b, true)] || false;
1193
+ },
1194
+ toFilter: function(secondColor) {
1195
+ var hex = rgbToHex(r, g, b);
1196
+ var secondHex = hex;
1197
+ var alphaHex = Math.round(parseFloat(a) * 255).toString(16);
1198
+ var secondAlphaHex = alphaHex;
1199
+ var gradientType = opts && opts.gradientType ? "GradientType = 1, " : "";
1200
+
1201
+ if (secondColor) {
1202
+ var s = tinycolor(secondColor);
1203
+ secondHex = s.toHex();
1204
+ secondAlphaHex = Math.round(parseFloat(s.alpha) * 255).toString(16);
1205
+ }
1206
+
1207
+ return "progid:DXImageTransform.Microsoft.gradient("+gradientType+"startColorstr=#" + pad2(alphaHex) + hex + ",endColorstr=#" + pad2(secondAlphaHex) + secondHex + ")";
1208
+ },
1209
+ toString: function(format) {
1210
+ var formatSet = !!format;
1211
+ format = format || this.format;
1212
+
1213
+ var formattedString = false;
1214
+ var hasAlphaAndFormatNotSet = !formatSet && a < 1 && a > 0;
1215
+ var formatWithAlpha = hasAlphaAndFormatNotSet && (format === "hex" || format === "hex6" || format === "hex3" || format === "name");
1216
+
1217
+ if (format === "rgb") {
1218
+ formattedString = this.toRgbString();
1219
+ }
1220
+ if (format === "prgb") {
1221
+ formattedString = this.toPercentageRgbString();
1222
+ }
1223
+ if (format === "hex" || format === "hex6") {
1224
+ formattedString = this.toHexString();
1225
+ }
1226
+ if (format === "hex3") {
1227
+ formattedString = this.toHexString(true);
1228
+ }
1229
+ if (format === "name") {
1230
+ formattedString = this.toName();
1231
+ }
1232
+ if (format === "hsl") {
1233
+ formattedString = this.toHslString();
1234
+ }
1235
+ if (format === "hsv") {
1236
+ formattedString = this.toHsvString();
1237
+ }
1238
+
1239
+ if (formatWithAlpha) {
1240
+ return this.toRgbString();
1241
+ }
1242
+
1243
+ return formattedString || this.toHexString();
1244
+ }
1245
+ };
1246
+ }
1247
+
1248
+ // If input is an object, force 1 into "1.0" to handle ratios properly
1249
+ // String input requires "1.0" as input, so 1 will be treated as 1
1250
+ tinycolor.fromRatio = function(color, opts) {
1251
+ if (typeof color == "object") {
1252
+ var newColor = {};
1253
+ for (var i in color) {
1254
+ if (color.hasOwnProperty(i)) {
1255
+ if (i === "a") {
1256
+ newColor[i] = color[i];
1257
+ }
1258
+ else {
1259
+ newColor[i] = convertToPercentage(color[i]);
1260
+ }
1261
+ }
1262
+ }
1263
+ color = newColor;
1264
+ }
1265
+
1266
+ return tinycolor(color, opts);
1267
+ };
1268
+
1269
+ // Given a string or object, convert that input to RGB
1270
+ // Possible string inputs:
1271
+ //
1272
+ // "red"
1273
+ // "#f00" or "f00"
1274
+ // "#ff0000" or "ff0000"
1275
+ // "rgb 255 0 0" or "rgb (255, 0, 0)"
1276
+ // "rgb 1.0 0 0" or "rgb (1, 0, 0)"
1277
+ // "rgba (255, 0, 0, 1)" or "rgba 255, 0, 0, 1"
1278
+ // "rgba (1.0, 0, 0, 1)" or "rgba 1.0, 0, 0, 1"
1279
+ // "hsl(0, 100%, 50%)" or "hsl 0 100% 50%"
1280
+ // "hsla(0, 100%, 50%, 1)" or "hsla 0 100% 50%, 1"
1281
+ // "hsv(0, 100%, 100%)" or "hsv 0 100% 100%"
1282
+ //
1283
+ function inputToRGB(color) {
1284
+
1285
+ var rgb = { r: 0, g: 0, b: 0 };
1286
+ var a = 1;
1287
+ var ok = false;
1288
+ var format = false;
1289
+
1290
+ if (typeof color == "string") {
1291
+ color = stringInputToObject(color);
1292
+ }
1293
+
1294
+ if (typeof color == "object") {
1295
+ if (color.hasOwnProperty("r") && color.hasOwnProperty("g") && color.hasOwnProperty("b")) {
1296
+ rgb = rgbToRgb(color.r, color.g, color.b);
1297
+ ok = true;
1298
+ format = String(color.r).substr(-1) === "%" ? "prgb" : "rgb";
1299
+ }
1300
+ else if (color.hasOwnProperty("h") && color.hasOwnProperty("s") && color.hasOwnProperty("v")) {
1301
+ color.s = convertToPercentage(color.s);
1302
+ color.v = convertToPercentage(color.v);
1303
+ rgb = hsvToRgb(color.h, color.s, color.v);
1304
+ ok = true;
1305
+ format = "hsv";
1306
+ }
1307
+ else if (color.hasOwnProperty("h") && color.hasOwnProperty("s") && color.hasOwnProperty("l")) {
1308
+ color.s = convertToPercentage(color.s);
1309
+ color.l = convertToPercentage(color.l);
1310
+ rgb = hslToRgb(color.h, color.s, color.l);
1311
+ ok = true;
1312
+ format = "hsl";
1313
+ }
1314
+
1315
+ if (color.hasOwnProperty("a")) {
1316
+ a = color.a;
1317
+ }
1318
+ }
1319
+
1320
+ a = boundAlpha(a);
1321
+
1322
+ return {
1323
+ ok: ok,
1324
+ format: color.format || format,
1325
+ r: mathMin(255, mathMax(rgb.r, 0)),
1326
+ g: mathMin(255, mathMax(rgb.g, 0)),
1327
+ b: mathMin(255, mathMax(rgb.b, 0)),
1328
+ a: a
1329
+ };
1330
+ }
1331
+
1332
+
1333
+ // Conversion Functions
1334
+ // --------------------
1335
+
1336
+ // `rgbToHsl`, `rgbToHsv`, `hslToRgb`, `hsvToRgb` modified from:
1337
+ // <http://mjijackson.com/2008/02/rgb-to-hsl-and-rgb-to-hsv-color-model-conversion-algorithms-in-javascript>
1338
+
1339
+ // `rgbToRgb`
1340
+ // Handle bounds / percentage checking to conform to CSS color spec
1341
+ // <http://www.w3.org/TR/css3-color/>
1342
+ // *Assumes:* r, g, b in [0, 255] or [0, 1]
1343
+ // *Returns:* { r, g, b } in [0, 255]
1344
+ function rgbToRgb(r, g, b){
1345
+ return {
1346
+ r: bound01(r, 255) * 255,
1347
+ g: bound01(g, 255) * 255,
1348
+ b: bound01(b, 255) * 255
1349
+ };
1350
+ }
1351
+
1352
+ // `rgbToHsl`
1353
+ // Converts an RGB color value to HSL.
1354
+ // *Assumes:* r, g, and b are contained in [0, 255] or [0, 1]
1355
+ // *Returns:* { h, s, l } in [0,1]
1356
+ function rgbToHsl(r, g, b) {
1357
+
1358
+ r = bound01(r, 255);
1359
+ g = bound01(g, 255);
1360
+ b = bound01(b, 255);
1361
+
1362
+ var max = mathMax(r, g, b), min = mathMin(r, g, b);
1363
+ var h, s, l = (max + min) / 2;
1364
+
1365
+ if(max == min) {
1366
+ h = s = 0; // achromatic
1367
+ }
1368
+ else {
1369
+ var d = max - min;
1370
+ s = l > 0.5 ? d / (2 - max - min) : d / (max + min);
1371
+ switch(max) {
1372
+ case r: h = (g - b) / d + (g < b ? 6 : 0); break;
1373
+ case g: h = (b - r) / d + 2; break;
1374
+ case b: h = (r - g) / d + 4; break;
1375
+ }
1376
+
1377
+ h /= 6;
1378
+ }
1379
+
1380
+ return { h: h, s: s, l: l };
1381
+ }
1382
+
1383
+ // `hslToRgb`
1384
+ // Converts an HSL color value to RGB.
1385
+ // *Assumes:* h is contained in [0, 1] or [0, 360] and s and l are contained [0, 1] or [0, 100]
1386
+ // *Returns:* { r, g, b } in the set [0, 255]
1387
+ function hslToRgb(h, s, l) {
1388
+ var r, g, b;
1389
+
1390
+ h = bound01(h, 360);
1391
+ s = bound01(s, 100);
1392
+ l = bound01(l, 100);
1393
+
1394
+ function hue2rgb(p, q, t) {
1395
+ if(t < 0) t += 1;
1396
+ if(t > 1) t -= 1;
1397
+ if(t < 1/6) return p + (q - p) * 6 * t;
1398
+ if(t < 1/2) return q;
1399
+ if(t < 2/3) return p + (q - p) * (2/3 - t) * 6;
1400
+ return p;
1401
+ }
1402
+
1403
+ if(s === 0) {
1404
+ r = g = b = l; // achromatic
1405
+ }
1406
+ else {
1407
+ var q = l < 0.5 ? l * (1 + s) : l + s - l * s;
1408
+ var p = 2 * l - q;
1409
+ r = hue2rgb(p, q, h + 1/3);
1410
+ g = hue2rgb(p, q, h);
1411
+ b = hue2rgb(p, q, h - 1/3);
1412
+ }
1413
+
1414
+ return { r: r * 255, g: g * 255, b: b * 255 };
1415
+ }
1416
+
1417
+ // `rgbToHsv`
1418
+ // Converts an RGB color value to HSV
1419
+ // *Assumes:* r, g, and b are contained in the set [0, 255] or [0, 1]
1420
+ // *Returns:* { h, s, v } in [0,1]
1421
+ function rgbToHsv(r, g, b) {
1422
+
1423
+ r = bound01(r, 255);
1424
+ g = bound01(g, 255);
1425
+ b = bound01(b, 255);
1426
+
1427
+ var max = mathMax(r, g, b), min = mathMin(r, g, b);
1428
+ var h, s, v = max;
1429
+
1430
+ var d = max - min;
1431
+ s = max === 0 ? 0 : d / max;
1432
+
1433
+ if(max == min) {
1434
+ h = 0; // achromatic
1435
+ }
1436
+ else {
1437
+ switch(max) {
1438
+ case r: h = (g - b) / d + (g < b ? 6 : 0); break;
1439
+ case g: h = (b - r) / d + 2; break;
1440
+ case b: h = (r - g) / d + 4; break;
1441
+ }
1442
+ h /= 6;
1443
+ }
1444
+ return { h: h, s: s, v: v };
1445
+ }
1446
+
1447
+ // `hsvToRgb`
1448
+ // Converts an HSV color value to RGB.
1449
+ // *Assumes:* h is contained in [0, 1] or [0, 360] and s and v are contained in [0, 1] or [0, 100]
1450
+ // *Returns:* { r, g, b } in the set [0, 255]
1451
+ function hsvToRgb(h, s, v) {
1452
+
1453
+ h = bound01(h, 360) * 6;
1454
+ s = bound01(s, 100);
1455
+ v = bound01(v, 100);
1456
+
1457
+ var i = math.floor(h),
1458
+ f = h - i,
1459
+ p = v * (1 - s),
1460
+ q = v * (1 - f * s),
1461
+ t = v * (1 - (1 - f) * s),
1462
+ mod = i % 6,
1463
+ r = [v, q, p, p, t, v][mod],
1464
+ g = [t, v, v, q, p, p][mod],
1465
+ b = [p, p, t, v, v, q][mod];
1466
+
1467
+ return { r: r * 255, g: g * 255, b: b * 255 };
1468
+ }
1469
+
1470
+ // `rgbToHex`
1471
+ // Converts an RGB color to hex
1472
+ // Assumes r, g, and b are contained in the set [0, 255]
1473
+ // Returns a 3 or 6 character hex
1474
+ function rgbToHex(r, g, b, allow3Char) {
1475
+
1476
+ var hex = [
1477
+ pad2(mathRound(r).toString(16)),
1478
+ pad2(mathRound(g).toString(16)),
1479
+ pad2(mathRound(b).toString(16))
1480
+ ];
1481
+
1482
+ // Return a 3 character hex if possible
1483
+ if (allow3Char && hex[0].charAt(0) == hex[0].charAt(1) && hex[1].charAt(0) == hex[1].charAt(1) && hex[2].charAt(0) == hex[2].charAt(1)) {
1484
+ return hex[0].charAt(0) + hex[1].charAt(0) + hex[2].charAt(0);
1485
+ }
1486
+
1487
+ return hex.join("");
1488
+ }
1489
+
1490
+ // `equals`
1491
+ // Can be called with any tinycolor input
1492
+ tinycolor.equals = function (color1, color2) {
1493
+ if (!color1 || !color2) { return false; }
1494
+ return tinycolor(color1).toRgbString() == tinycolor(color2).toRgbString();
1495
+ };
1496
+ tinycolor.random = function() {
1497
+ return tinycolor.fromRatio({
1498
+ r: mathRandom(),
1499
+ g: mathRandom(),
1500
+ b: mathRandom()
1501
+ });
1502
+ };
1503
+
1504
+
1505
+ // Modification Functions
1506
+ // ----------------------
1507
+ // Thanks to less.js for some of the basics here
1508
+ // <https://github.com/cloudhead/less.js/blob/master/lib/less/functions.js>
1509
+
1510
+ tinycolor.desaturate = function (color, amount) {
1511
+ amount = (amount === 0) ? 0 : (amount || 10);
1512
+ var hsl = tinycolor(color).toHsl();
1513
+ hsl.s -= amount / 100;
1514
+ hsl.s = clamp01(hsl.s);
1515
+ return tinycolor(hsl);
1516
+ };
1517
+ tinycolor.saturate = function (color, amount) {
1518
+ amount = (amount === 0) ? 0 : (amount || 10);
1519
+ var hsl = tinycolor(color).toHsl();
1520
+ hsl.s += amount / 100;
1521
+ hsl.s = clamp01(hsl.s);
1522
+ return tinycolor(hsl);
1523
+ };
1524
+ tinycolor.greyscale = function(color) {
1525
+ return tinycolor.desaturate(color, 100);
1526
+ };
1527
+ tinycolor.lighten = function(color, amount) {
1528
+ amount = (amount === 0) ? 0 : (amount || 10);
1529
+ var hsl = tinycolor(color).toHsl();
1530
+ hsl.l += amount / 100;
1531
+ hsl.l = clamp01(hsl.l);
1532
+ return tinycolor(hsl);
1533
+ };
1534
+ tinycolor.darken = function (color, amount) {
1535
+ amount = (amount === 0) ? 0 : (amount || 10);
1536
+ var hsl = tinycolor(color).toHsl();
1537
+ hsl.l -= amount / 100;
1538
+ hsl.l = clamp01(hsl.l);
1539
+ return tinycolor(hsl);
1540
+ };
1541
+ tinycolor.complement = function(color) {
1542
+ var hsl = tinycolor(color).toHsl();
1543
+ hsl.h = (hsl.h + 180) % 360;
1544
+ return tinycolor(hsl);
1545
+ };
1546
+
1547
+
1548
+ // Combination Functions
1549
+ // ---------------------
1550
+ // Thanks to jQuery xColor for some of the ideas behind these
1551
+ // <https://github.com/infusion/jQuery-xcolor/blob/master/jquery.xcolor.js>
1552
+
1553
+ tinycolor.triad = function(color) {
1554
+ var hsl = tinycolor(color).toHsl();
1555
+ var h = hsl.h;
1556
+ return [
1557
+ tinycolor(color),
1558
+ tinycolor({ h: (h + 120) % 360, s: hsl.s, l: hsl.l }),
1559
+ tinycolor({ h: (h + 240) % 360, s: hsl.s, l: hsl.l })
1560
+ ];
1561
+ };
1562
+ tinycolor.tetrad = function(color) {
1563
+ var hsl = tinycolor(color).toHsl();
1564
+ var h = hsl.h;
1565
+ return [
1566
+ tinycolor(color),
1567
+ tinycolor({ h: (h + 90) % 360, s: hsl.s, l: hsl.l }),
1568
+ tinycolor({ h: (h + 180) % 360, s: hsl.s, l: hsl.l }),
1569
+ tinycolor({ h: (h + 270) % 360, s: hsl.s, l: hsl.l })
1570
+ ];
1571
+ };
1572
+ tinycolor.splitcomplement = function(color) {
1573
+ var hsl = tinycolor(color).toHsl();
1574
+ var h = hsl.h;
1575
+ return [
1576
+ tinycolor(color),
1577
+ tinycolor({ h: (h + 72) % 360, s: hsl.s, l: hsl.l}),
1578
+ tinycolor({ h: (h + 216) % 360, s: hsl.s, l: hsl.l})
1579
+ ];
1580
+ };
1581
+ tinycolor.analogous = function(color, results, slices) {
1582
+ results = results || 6;
1583
+ slices = slices || 30;
1584
+
1585
+ var hsl = tinycolor(color).toHsl();
1586
+ var part = 360 / slices;
1587
+ var ret = [tinycolor(color)];
1588
+
1589
+ for (hsl.h = ((hsl.h - (part * results >> 1)) + 720) % 360; --results; ) {
1590
+ hsl.h = (hsl.h + part) % 360;
1591
+ ret.push(tinycolor(hsl));
1592
+ }
1593
+ return ret;
1594
+ };
1595
+ tinycolor.monochromatic = function(color, results) {
1596
+ results = results || 6;
1597
+ var hsv = tinycolor(color).toHsv();
1598
+ var h = hsv.h, s = hsv.s, v = hsv.v;
1599
+ var ret = [];
1600
+ var modification = 1 / results;
1601
+
1602
+ while (results--) {
1603
+ ret.push(tinycolor({ h: h, s: s, v: v}));
1604
+ v = (v + modification) % 1;
1605
+ }
1606
+
1607
+ return ret;
1608
+ };
1609
+
1610
+
1611
+ // Readability Functions
1612
+ // ---------------------
1613
+ // <http://www.w3.org/TR/AERT#color-contrast>
1614
+
1615
+ // `readability`
1616
+ // Analyze the 2 colors and returns an object with the following properties:
1617
+ // `brightness`: difference in brightness between the two colors
1618
+ // `color`: difference in color/hue between the two colors
1619
+ tinycolor.readability = function(color1, color2) {
1620
+ var a = tinycolor(color1).toRgb();
1621
+ var b = tinycolor(color2).toRgb();
1622
+ var brightnessA = (a.r * 299 + a.g * 587 + a.b * 114) / 1000;
1623
+ var brightnessB = (b.r * 299 + b.g * 587 + b.b * 114) / 1000;
1624
+ var colorDiff = (
1625
+ Math.max(a.r, b.r) - Math.min(a.r, b.r) +
1626
+ Math.max(a.g, b.g) - Math.min(a.g, b.g) +
1627
+ Math.max(a.b, b.b) - Math.min(a.b, b.b)
1628
+ );
1629
+
1630
+ return {
1631
+ brightness: Math.abs(brightnessA - brightnessB),
1632
+ color: colorDiff
1633
+ };
1634
+ };
1635
+
1636
+ // `readable`
1637
+ // http://www.w3.org/TR/AERT#color-contrast
1638
+ // Ensure that foreground and background color combinations provide sufficient contrast.
1639
+ // *Example*
1640
+ // tinycolor.readable("#000", "#111") => false
1641
+ tinycolor.readable = function(color1, color2) {
1642
+ var readability = tinycolor.readability(color1, color2);
1643
+ return readability.brightness > 125 && readability.color > 500;
1644
+ };
1645
+
1646
+ // `mostReadable`
1647
+ // Given a base color and a list of possible foreground or background
1648
+ // colors for that base, returns the most readable color.
1649
+ // *Example*
1650
+ // tinycolor.mostReadable("#123", ["#fff", "#000"]) => "#000"
1651
+ tinycolor.mostReadable = function(baseColor, colorList) {
1652
+ var bestColor = null;
1653
+ var bestScore = 0;
1654
+ var bestIsReadable = false;
1655
+ for (var i=0; i < colorList.length; i++) {
1656
+
1657
+ // We normalize both around the "acceptable" breaking point,
1658
+ // but rank brightness constrast higher than hue.
1659
+
1660
+ var readability = tinycolor.readability(baseColor, colorList[i]);
1661
+ var readable = readability.brightness > 125 && readability.color > 500;
1662
+ var score = 3 * (readability.brightness / 125) + (readability.color / 500);
1663
+
1664
+ if ((readable && ! bestIsReadable) ||
1665
+ (readable && bestIsReadable && score > bestScore) ||
1666
+ ((! readable) && (! bestIsReadable) && score > bestScore)) {
1667
+ bestIsReadable = readable;
1668
+ bestScore = score;
1669
+ bestColor = tinycolor(colorList[i]);
1670
+ }
1671
+ }
1672
+ return bestColor;
1673
+ };
1674
+
1675
+
1676
+ // Big List of Colors
1677
+ // ------------------
1678
+ // <http://www.w3.org/TR/css3-color/#svg-color>
1679
+ var names = tinycolor.names = {
1680
+ aliceblue: "f0f8ff",
1681
+ antiquewhite: "faebd7",
1682
+ aqua: "0ff",
1683
+ aquamarine: "7fffd4",
1684
+ azure: "f0ffff",
1685
+ beige: "f5f5dc",
1686
+ bisque: "ffe4c4",
1687
+ black: "000",
1688
+ blanchedalmond: "ffebcd",
1689
+ blue: "00f",
1690
+ blueviolet: "8a2be2",
1691
+ brown: "a52a2a",
1692
+ burlywood: "deb887",
1693
+ burntsienna: "ea7e5d",
1694
+ cadetblue: "5f9ea0",
1695
+ chartreuse: "7fff00",
1696
+ chocolate: "d2691e",
1697
+ coral: "ff7f50",
1698
+ cornflowerblue: "6495ed",
1699
+ cornsilk: "fff8dc",
1700
+ crimson: "dc143c",
1701
+ cyan: "0ff",
1702
+ darkblue: "00008b",
1703
+ darkcyan: "008b8b",
1704
+ darkgoldenrod: "b8860b",
1705
+ darkgray: "a9a9a9",
1706
+ darkgreen: "006400",
1707
+ darkgrey: "a9a9a9",
1708
+ darkkhaki: "bdb76b",
1709
+ darkmagenta: "8b008b",
1710
+ darkolivegreen: "556b2f",
1711
+ darkorange: "ff8c00",
1712
+ darkorchid: "9932cc",
1713
+ darkred: "8b0000",
1714
+ darksalmon: "e9967a",
1715
+ darkseagreen: "8fbc8f",
1716
+ darkslateblue: "483d8b",
1717
+ darkslategray: "2f4f4f",
1718
+ darkslategrey: "2f4f4f",
1719
+ darkturquoise: "00ced1",
1720
+ darkviolet: "9400d3",
1721
+ deeppink: "ff1493",
1722
+ deepskyblue: "00bfff",
1723
+ dimgray: "696969",
1724
+ dimgrey: "696969",
1725
+ dodgerblue: "1e90ff",
1726
+ firebrick: "b22222",
1727
+ floralwhite: "fffaf0",
1728
+ forestgreen: "228b22",
1729
+ fuchsia: "f0f",
1730
+ gainsboro: "dcdcdc",
1731
+ ghostwhite: "f8f8ff",
1732
+ gold: "ffd700",
1733
+ goldenrod: "daa520",
1734
+ gray: "808080",
1735
+ green: "008000",
1736
+ greenyellow: "adff2f",
1737
+ grey: "808080",
1738
+ honeydew: "f0fff0",
1739
+ hotpink: "ff69b4",
1740
+ indianred: "cd5c5c",
1741
+ indigo: "4b0082",
1742
+ ivory: "fffff0",
1743
+ khaki: "f0e68c",
1744
+ lavender: "e6e6fa",
1745
+ lavenderblush: "fff0f5",
1746
+ lawngreen: "7cfc00",
1747
+ lemonchiffon: "fffacd",
1748
+ lightblue: "add8e6",
1749
+ lightcoral: "f08080",
1750
+ lightcyan: "e0ffff",
1751
+ lightgoldenrodyellow: "fafad2",
1752
+ lightgray: "d3d3d3",
1753
+ lightgreen: "90ee90",
1754
+ lightgrey: "d3d3d3",
1755
+ lightpink: "ffb6c1",
1756
+ lightsalmon: "ffa07a",
1757
+ lightseagreen: "20b2aa",
1758
+ lightskyblue: "87cefa",
1759
+ lightslategray: "789",
1760
+ lightslategrey: "789",
1761
+ lightsteelblue: "b0c4de",
1762
+ lightyellow: "ffffe0",
1763
+ lime: "0f0",
1764
+ limegreen: "32cd32",
1765
+ linen: "faf0e6",
1766
+ magenta: "f0f",
1767
+ maroon: "800000",
1768
+ mediumaquamarine: "66cdaa",
1769
+ mediumblue: "0000cd",
1770
+ mediumorchid: "ba55d3",
1771
+ mediumpurple: "9370db",
1772
+ mediumseagreen: "3cb371",
1773
+ mediumslateblue: "7b68ee",
1774
+ mediumspringgreen: "00fa9a",
1775
+ mediumturquoise: "48d1cc",
1776
+ mediumvioletred: "c71585",
1777
+ midnightblue: "191970",
1778
+ mintcream: "f5fffa",
1779
+ mistyrose: "ffe4e1",
1780
+ moccasin: "ffe4b5",
1781
+ navajowhite: "ffdead",
1782
+ navy: "000080",
1783
+ oldlace: "fdf5e6",
1784
+ olive: "808000",
1785
+ olivedrab: "6b8e23",
1786
+ orange: "ffa500",
1787
+ orangered: "ff4500",
1788
+ orchid: "da70d6",
1789
+ palegoldenrod: "eee8aa",
1790
+ palegreen: "98fb98",
1791
+ paleturquoise: "afeeee",
1792
+ palevioletred: "db7093",
1793
+ papayawhip: "ffefd5",
1794
+ peachpuff: "ffdab9",
1795
+ peru: "cd853f",
1796
+ pink: "ffc0cb",
1797
+ plum: "dda0dd",
1798
+ powderblue: "b0e0e6",
1799
+ purple: "800080",
1800
+ red: "f00",
1801
+ rosybrown: "bc8f8f",
1802
+ royalblue: "4169e1",
1803
+ saddlebrown: "8b4513",
1804
+ salmon: "fa8072",
1805
+ sandybrown: "f4a460",
1806
+ seagreen: "2e8b57",
1807
+ seashell: "fff5ee",
1808
+ sienna: "a0522d",
1809
+ silver: "c0c0c0",
1810
+ skyblue: "87ceeb",
1811
+ slateblue: "6a5acd",
1812
+ slategray: "708090",
1813
+ slategrey: "708090",
1814
+ snow: "fffafa",
1815
+ springgreen: "00ff7f",
1816
+ steelblue: "4682b4",
1817
+ tan: "d2b48c",
1818
+ teal: "008080",
1819
+ thistle: "d8bfd8",
1820
+ tomato: "ff6347",
1821
+ turquoise: "40e0d0",
1822
+ violet: "ee82ee",
1823
+ wheat: "f5deb3",
1824
+ white: "fff",
1825
+ whitesmoke: "f5f5f5",
1826
+ yellow: "ff0",
1827
+ yellowgreen: "9acd32"
1828
+ };
1829
+
1830
+ // Make it easy to access colors via `hexNames[hex]`
1831
+ var hexNames = tinycolor.hexNames = flip(names);
1832
+
1833
+
1834
+ // Utilities
1835
+ // ---------
1836
+
1837
+ // `{ 'name1': 'val1' }` becomes `{ 'val1': 'name1' }`
1838
+ function flip(o) {
1839
+ var flipped = { };
1840
+ for (var i in o) {
1841
+ if (o.hasOwnProperty(i)) {
1842
+ flipped[o[i]] = i;
1843
+ }
1844
+ }
1845
+ return flipped;
1846
+ }
1847
+
1848
+ // Return a valid alpha value [0,1] with all invalid values being set to 1
1849
+ function boundAlpha(a) {
1850
+ a = parseFloat(a);
1851
+
1852
+ if (isNaN(a) || a < 0 || a > 1) {
1853
+ a = 1;
1854
+ }
1855
+
1856
+ return a;
1857
+ }
1858
+
1859
+ // Take input from [0, n] and return it as [0, 1]
1860
+ function bound01(n, max) {
1861
+ if (isOnePointZero(n)) { n = "100%"; }
1862
+
1863
+ var processPercent = isPercentage(n);
1864
+ n = mathMin(max, mathMax(0, parseFloat(n)));
1865
+
1866
+ // Automatically convert percentage into number
1867
+ if (processPercent) {
1868
+ n = parseInt(n * max, 10) / 100;
1869
+ }
1870
+
1871
+ // Handle floating point rounding errors
1872
+ if ((math.abs(n - max) < 0.000001)) {
1873
+ return 1;
1874
+ }
1875
+
1876
+ // Convert into [0, 1] range if it isn't already
1877
+ return (n % max) / parseFloat(max);
1878
+ }
1879
+
1880
+ // Force a number between 0 and 1
1881
+ function clamp01(val) {
1882
+ return mathMin(1, mathMax(0, val));
1883
+ }
1884
+
1885
+ // Parse an integer into hex
1886
+ function parseHex(val) {
1887
+ return parseInt(val, 16);
1888
+ }
1889
+
1890
+ // Need to handle 1.0 as 100%, since once it is a number, there is no difference between it and 1
1891
+ // <http://stackoverflow.com/questions/7422072/javascript-how-to-detect-number-as-a-decimal-including-1-0>
1892
+ function isOnePointZero(n) {
1893
+ return typeof n == "string" && n.indexOf('.') != -1 && parseFloat(n) === 1;
1894
+ }
1895
+
1896
+ // Check to see if string passed in is a percentage
1897
+ function isPercentage(n) {
1898
+ return typeof n === "string" && n.indexOf('%') != -1;
1899
+ }
1900
+
1901
+ // Force a hex value to have 2 characters
1902
+ function pad2(c) {
1903
+ return c.length == 1 ? '0' + c : '' + c;
1904
+ }
1905
+
1906
+ // Replace a decimal with it's percentage value
1907
+ function convertToPercentage(n) {
1908
+ if (n <= 1) {
1909
+ n = (n * 100) + "%";
1910
+ }
1911
+
1912
+ return n;
1913
+ }
1914
+
1915
+ var matchers = (function() {
1916
+
1917
+ // <http://www.w3.org/TR/css3-values/#integers>
1918
+ var CSS_INTEGER = "[-\\+]?\\d+%?";
1919
+
1920
+ // <http://www.w3.org/TR/css3-values/#number-value>
1921
+ var CSS_NUMBER = "[-\\+]?\\d*\\.\\d+%?";
1922
+
1923
+ // Allow positive/negative integer/number. Don't capture the either/or, just the entire outcome.
1924
+ var CSS_UNIT = "(?:" + CSS_NUMBER + ")|(?:" + CSS_INTEGER + ")";
1925
+
1926
+ // Actual matching.
1927
+ // Parentheses and commas are optional, but not required.
1928
+ // Whitespace can take the place of commas or opening paren
1929
+ var PERMISSIVE_MATCH3 = "[\\s|\\(]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")\\s*\\)?";
1930
+ var PERMISSIVE_MATCH4 = "[\\s|\\(]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")\\s*\\)?";
1931
+
1932
+ return {
1933
+ rgb: new RegExp("rgb" + PERMISSIVE_MATCH3),
1934
+ rgba: new RegExp("rgba" + PERMISSIVE_MATCH4),
1935
+ hsl: new RegExp("hsl" + PERMISSIVE_MATCH3),
1936
+ hsla: new RegExp("hsla" + PERMISSIVE_MATCH4),
1937
+ hsv: new RegExp("hsv" + PERMISSIVE_MATCH3),
1938
+ hex3: /^([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,
1939
+ hex6: /^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/
1940
+ };
1941
+ })();
1942
+
1943
+ // `stringInputToObject`
1944
+ // Permissive string parsing. Take in a number of formats, and output an object
1945
+ // based on detected format. Returns `{ r, g, b }` or `{ h, s, l }` or `{ h, s, v}`
1946
+ function stringInputToObject(color) {
1947
+
1948
+ color = color.replace(trimLeft,'').replace(trimRight, '').toLowerCase();
1949
+ var named = false;
1950
+ if (names[color]) {
1951
+ color = names[color];
1952
+ named = true;
1953
+ }
1954
+ else if (color == 'transparent') {
1955
+ return { r: 0, g: 0, b: 0, a: 0, format: "name" };
1956
+ }
1957
+
1958
+ // Try to match string input using regular expressions.
1959
+ // Keep most of the number bounding out of this function - don't worry about [0,1] or [0,100] or [0,360]
1960
+ // Just return an object and let the conversion functions handle that.
1961
+ // This way the result will be the same whether the tinycolor is initialized with string or object.
1962
+ var match;
1963
+ if ((match = matchers.rgb.exec(color))) {
1964
+ return { r: match[1], g: match[2], b: match[3] };
1965
+ }
1966
+ if ((match = matchers.rgba.exec(color))) {
1967
+ return { r: match[1], g: match[2], b: match[3], a: match[4] };
1968
+ }
1969
+ if ((match = matchers.hsl.exec(color))) {
1970
+ return { h: match[1], s: match[2], l: match[3] };
1971
+ }
1972
+ if ((match = matchers.hsla.exec(color))) {
1973
+ return { h: match[1], s: match[2], l: match[3], a: match[4] };
1974
+ }
1975
+ if ((match = matchers.hsv.exec(color))) {
1976
+ return { h: match[1], s: match[2], v: match[3] };
1977
+ }
1978
+ if ((match = matchers.hex6.exec(color))) {
1979
+ return {
1980
+ r: parseHex(match[1]),
1981
+ g: parseHex(match[2]),
1982
+ b: parseHex(match[3]),
1983
+ format: named ? "name" : "hex"
1984
+ };
1985
+ }
1986
+ if ((match = matchers.hex3.exec(color))) {
1987
+ return {
1988
+ r: parseHex(match[1] + '' + match[1]),
1989
+ g: parseHex(match[2] + '' + match[2]),
1990
+ b: parseHex(match[3] + '' + match[3]),
1991
+ format: named ? "name" : "hex"
1992
+ };
1993
+ }
1994
+
1995
+ return false;
1996
+ }
1997
+
1998
+ // Expose tinycolor to window, does not need to run in non-browser context.
1999
+ window.tinycolor = tinycolor;
2000
+
2001
+ })();
2002
+
2003
+
2004
+ $(function () {
2005
+ if ($.fn.spectrum.load) {
2006
+ $.fn.spectrum.processNativeColorInputs();
2007
+ }
2008
+ });
2009
+
2010
+ })(window, jQuery);
jquery-plugins/spectrum-picker/spectrum.min.js ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
1
+ // Spectrum Colorpicker v1.2.0
2
+ // https://github.com/bgrins/spectrum
3
+ // Author: Brian Grinstead
4
+ // License: MIT
5
+ (function(e,t,n){function l(e,t,n){var r=[];for(var i=0;i<e.length;i++){var s=e[i];if(s){var u=tinycolor(s);var a=u.toHsl().l<.5?"sp-thumb-el sp-thumb-dark":"sp-thumb-el sp-thumb-light";a+=tinycolor.equals(t,s)?" sp-thumb-active":"";var f=o?"background-color:"+u.toRgbString():"filter:"+u.toFilter();r.push('<span title="'+u.toRgbString()+'" data-color="'+u.toRgbString()+'" class="'+a+'"><span class="sp-thumb-inner" style="'+f+';" /></span>')}else{var l="sp-clear-display";r.push('<span title="No Color Selected" data-color="" style="background-color:transparent;" class="'+l+'"></span>')}}return"<div class='sp-cf "+n+"'>"+r.join("")+"</div>"}function c(){for(var e=0;e<i.length;e++){if(i[e]){i[e].hide()}}}function h(e,n){var i=t.extend({},r,e);i.callbacks={move:g(i.move,n),change:g(i.change,n),show:g(i.show,n),hide:g(i.hide,n),beforeShow:g(i.beforeShow,n)};return i}function p(r,p){function St(){if(v.showPaletteOnly){v.showPalette=true}K.toggleClass("sp-flat",g);K.toggleClass("sp-input-disabled",!v.showInput);K.toggleClass("sp-alpha-enabled",v.showAlpha);K.toggleClass("sp-clear-enabled",Et);K.toggleClass("sp-buttons-disabled",!v.showButtons);K.toggleClass("sp-palette-disabled",!v.showPalette);K.toggleClass("sp-palette-only",v.showPaletteOnly);K.toggleClass("sp-initial-disabled",!v.showInitial);K.addClass(v.className);Ut()}function xt(){function o(e){if(e.data&&e.data.ignore){Ht(t(this).data("color"));Ft()}else{Ht(t(this).data("color"));Rt(true);Ft();Dt()}return false}if(s){K.find("*:not(input)").attr("unselectable","on")}St();if(ct){V.after(ht).hide()}if(!Et){ut.hide()}if(g){V.after(K).hide()}else{var n=v.appendTo==="parent"?V.parent():t(v.appendTo);if(n.length!==1){n=t("body")}n.append(K)}if(E&&e.localStorage){try{var r=e.localStorage[E].split(",#");if(r.length>1){delete e.localStorage[E];t.each(r,function(e,t){Tt(t)})}}catch(i){}try{q=e.localStorage[E].split(";")}catch(i){}}pt.bind("click.spectrum touchstart.spectrum",function(e){if(!J){Mt()}e.stopPropagation();if(!t(e.target).is("input")){e.preventDefault()}});if(V.is(":disabled")||v.disabled===true){Vt()}K.click(m);rt.change(Ot);rt.bind("paste",function(){setTimeout(Ot,1)});rt.keydown(function(e){if(e.keyCode==13){Ot()}});ot.text(v.cancelText);ot.bind("click.spectrum",function(e){e.stopPropagation();e.preventDefault();Dt("cancel")});ut.bind("click.spectrum",function(e){e.stopPropagation();e.preventDefault();wt=true;Ft();if(g){Rt(true)}});at.text(v.chooseText);at.bind("click.spectrum",function(e){e.stopPropagation();e.preventDefault();if(jt()){Rt(true);Dt()}});y(tt,function(e,t,n){j=e/M;wt=false;if(n.shiftKey){j=Math.round(j*10)/10}Ft()});y(Y,function(e,t){P=parseFloat(t/A);wt=false;Ft()},Lt,At);y(Q,function(e,t,n){if(!n.shiftKey){z=null}else if(!z){var r=H*C;var i=k-B*k;var s=Math.abs(e-r)>Math.abs(t-i);z=s?"x":"y"}var o=!z||z==="x";var u=!z||z==="y";if(o){H=parseFloat(e/C)}if(u){B=parseFloat((k-t)/k)}wt=false;Ft()},Lt,At);if(!!vt){Ht(vt);It();yt=gt||tinycolor(vt).format;Tt(vt)}else{It()}if(g){_t()}var u=s?"mousedown.spectrum":"click.spectrum touchstart.spectrum";it.delegate(".sp-thumb-el",u,o);st.delegate(".sp-thumb-el:nth-child(1)",u,{ignore:true},o)}function Tt(n){if(w){var r=tinycolor(n).toRgbString();if(t.inArray(r,q)===-1){q.push(r);while(q.length>R){q.shift()}}if(E&&e.localStorage){try{e.localStorage[E]=q.join(";")}catch(i){}}}}function Nt(){var e=[];var t=q;var n={};var r;if(v.showPalette){for(var i=0;i<I.length;i++){for(var s=0;s<I[i].length;s++){r=tinycolor(I[i][s]).toRgbString();n[r]=true}}for(i=0;i<t.length;i++){r=tinycolor(t[i]).toRgbString();if(!n.hasOwnProperty(r)){e.push(t[i]);n[r]=true}}}return e.reverse().slice(0,v.maxSelectionSize)}function Ct(){var e=Bt();var n=t.map(I,function(t,n){return l(t,e,"sp-palette-row sp-palette-row-"+n)});if(q){n.push(l(Nt(),e,"sp-palette-row sp-palette-row-selection"))}it.html(n.join(""))}function kt(){if(v.showInitial){var e=mt;var t=Bt();st.html(l([e,t],t,"sp-palette-row-initial"))}}function Lt(){if(k<=0||C<=0||A<=0){Ut()}K.addClass(U);z=null}function At(){K.removeClass(U)}function Ot(){var e=rt.val();if((e===null||e==="")&&Et){Ht(null)}else{var t=tinycolor(e);if(t.ok){Ht(t)}else{rt.addClass("sp-validation-error")}}}function Mt(){if(N){Dt()}else{_t()}}function _t(){var n=t.Event("beforeShow.spectrum");if(N){Ut();return}V.trigger(n,[Bt()]);if(x.beforeShow(Bt())===false||n.isDefaultPrevented()){return}c();N=true;t(W).bind("click.spectrum",Dt);t(e).bind("resize.spectrum",T);ht.addClass("sp-active");K.removeClass("sp-hidden");if(v.showPalette){Ct()}Ut();It();mt=Bt();kt();x.show(mt);V.trigger("show.spectrum",[mt])}function Dt(n){if(n&&n.type=="click"&&n.button==2){return}if(!N||g){return}N=false;t(W).unbind("click.spectrum",Dt);t(e).unbind("resize.spectrum",T);ht.removeClass("sp-active");K.addClass("sp-hidden");var r=!tinycolor.equals(Bt(),mt);if(r){if(bt&&n!=="cancel"){Rt(true)}else{Pt()}}x.hide(Bt());V.trigger("hide.spectrum",[Bt()])}function Pt(){Ht(mt,true)}function Ht(e,t){if(tinycolor.equals(e,Bt())){return}var n;if(!e&&Et){wt=true}else{wt=false;n=tinycolor(e);var r=n.toHsv();P=r.h%360/360;H=r.s;B=r.v;j=r.a}It();if(n&&n.ok&&!t){yt=gt||n.format}}function Bt(e){e=e||{};if(Et&&wt){return null}return tinycolor.fromRatio({h:P,s:H,v:B,a:Math.round(j*100)/100},{format:e.format||yt})}function jt(){return!rt.hasClass("sp-validation-error")}function Ft(){It();x.move(Bt());V.trigger("move.spectrum",[Bt()])}function It(){rt.removeClass("sp-validation-error");qt();var e=tinycolor.fromRatio({h:P,s:1,v:1});Q.css("background-color",e.toHexString());var t=yt;if(j<1){if(t==="hex"||t==="hex3"||t==="hex6"||t==="name"){t="rgb"}}var n=Bt({format:t}),r="";dt.removeClass("sp-clear-display");dt.css("background-color","transparent");if(!n&&Et){dt.addClass("sp-clear-display")}else{var i=n.toHexString(),u=n.toRgbString();if(o||n.alpha===1){dt.css("background-color",u)}else{dt.css("background-color","transparent");dt.css("filter",n.toFilter())}if(v.showAlpha){var a=n.toRgb();a.a=0;var f=tinycolor(a).toRgbString();var l="linear-gradient(left, "+f+", "+i+")";if(s){et.css("filter",tinycolor(f).toFilter({gradientType:1},i))}else{et.css("background","-webkit-"+l);et.css("background","-moz-"+l);et.css("background","-ms-"+l);et.css("background",l)}}r=n.toString(t)}if(v.showInput){rt.val(r)}if(v.showPalette){Ct()}kt()}function qt(){var e=H;var t=B;if(Et&&wt){nt.hide();Z.hide();G.hide()}else{nt.show();Z.show();G.show();var n=e*C;var r=k-t*k;n=Math.max(-L,Math.min(C-L,n-L));r=Math.max(-L,Math.min(k-L,r-L));G.css({top:r,left:n});var i=j*M;nt.css({left:i-_/2});var s=P*A;Z.css({top:s-D})}}function Rt(e){var t=Bt(),n="",r=!tinycolor.equals(t,mt);if(t){n=t.toString(yt);Tt(t)}if(ft){V.val(n)}mt=t;if(e&&r){x.change(t);V.trigger("change",[t])}}function Ut(){C=Q.width();k=Q.height();L=G.height();O=Y.width();A=Y.height();D=Z.height();M=tt.width();_=nt.width();if(!g){K.css("position","absolute");K.offset(d(K,pt))}qt()}function zt(){V.show();pt.unbind("click.spectrum touchstart.spectrum");K.remove();ht.remove();i[$t.id]=null}function Wt(e,r){if(e===n){return t.extend({},v)}if(r===n){return v[e]}v[e]=r;St()}function Xt(){J=false;V.attr("disabled",false);pt.removeClass("sp-disabled")}function Vt(){Dt();J=true;V.attr("disabled",true);pt.addClass("sp-disabled")}var v=h(p,r),g=v.flat,w=v.showSelectionPalette,E=v.localStorageKey,S=v.theme,x=v.callbacks,T=b(Ut,10),N=false,C=0,k=0,L=0,A=0,O=0,M=0,_=0,D=0,P=0,H=0,B=0,j=1,F=v.palette.slice(0),I=t.isArray(F[0])?F:[F],q=v.selectionPalette.slice(0),R=v.maxSelectionSize,U="sp-dragging",z=null;var W=r.ownerDocument,X=W.body,V=t(r),J=false,K=t(f,W).addClass(S),Q=K.find(".sp-color"),G=K.find(".sp-dragger"),Y=K.find(".sp-hue"),Z=K.find(".sp-slider"),et=K.find(".sp-alpha-inner"),tt=K.find(".sp-alpha"),nt=K.find(".sp-alpha-handle"),rt=K.find(".sp-input"),it=K.find(".sp-palette"),st=K.find(".sp-initial"),ot=K.find(".sp-cancel"),ut=K.find(".sp-clear"),at=K.find(".sp-choose"),ft=V.is("input"),lt=ft&&u&&V.attr("type")==="color",ct=ft&&!g,ht=ct?t(a).addClass(S).addClass(v.className):t([]),pt=ct?ht:V,dt=ht.find(".sp-preview-inner"),vt=v.color||ft&&V.val(),mt=false,gt=v.preferredFormat,yt=gt,bt=!v.showButtons||v.clickoutFiresChange,wt=!vt,Et=v.allowEmpty&&!lt;xt();var $t={show:_t,hide:Dt,toggle:Mt,reflow:Ut,option:Wt,enable:Xt,disable:Vt,set:function(e){Ht(e);Rt()},get:Bt,destroy:zt,container:K};$t.id=i.push($t)-1;return $t}function d(e,n){var r=0;var i=e.outerWidth();var s=e.outerHeight();var o=n.outerHeight();var u=e[0].ownerDocument;var a=u.documentElement;var f=a.clientWidth+t(u).scrollLeft();var l=a.clientHeight+t(u).scrollTop();var c=n.offset();c.top+=o;c.left-=Math.min(c.left,c.left+i>f&&f>i?Math.abs(c.left+i-f):0);c.top-=Math.min(c.top,c.top+s>l&&l>s?Math.abs(s+o-r):r);return c}function v(){}function m(e){e.stopPropagation()}function g(e,t){var n=Array.prototype.slice;var r=n.call(arguments,2);return function(){return e.apply(t,r.concat(n.call(arguments)))}}function y(n,r,i,o){function d(e){if(e.stopPropagation){e.stopPropagation()}if(e.preventDefault){e.preventDefault()}e.returnValue=false}function v(e){if(a){if(s&&document.documentMode<9&&!e.button){return g()}var t=e.originalEvent.touches;var i=t?t[0].pageX:e.pageX;var o=t?t[0].pageY:e.pageY;var u=Math.max(0,Math.min(i-f.left,c));var p=Math.max(0,Math.min(o-f.top,l));if(h){d(e)}r.apply(n,[u,p,e])}}function m(e){var r=e.which?e.which==3:e.button==2;var s=e.originalEvent.touches;if(!r&&!a){if(i.apply(n,arguments)!==false){a=true;l=t(n).height();c=t(n).width();f=t(n).offset();t(u).bind(p);t(u.body).addClass("sp-dragging");if(!h){v(e)}d(e)}}}function g(){if(a){t(u).unbind(p);t(u.body).removeClass("sp-dragging");o.apply(n,arguments)}a=false}r=r||function(){};i=i||function(){};o=o||function(){};var u=n.ownerDocument||document;var a=false;var f={};var l=0;var c=0;var h="ontouchstart"in e;var p={};p["selectstart"]=d;p["dragstart"]=d;p["touchmove mousemove"]=v;p["touchend mouseup"]=g;t(n).bind("touchstart mousedown",m)}function b(e,t,n){var r;return function(){var i=this,s=arguments;var o=function(){r=null;e.apply(i,s)};if(n)clearTimeout(r);if(n||!r)r=setTimeout(o,t)}}function w(){if(e.console){if(Function.prototype.bind)w=Function.prototype.bind.call(console.log,console);else w=function(){Function.prototype.apply.call(console.log,console,arguments)};w.apply(this,arguments)}}var r={beforeShow:v,move:v,change:v,show:v,hide:v,color:false,flat:false,showInput:false,allowEmpty:false,showButtons:true,clickoutFiresChange:false,showInitial:false,showPalette:false,showPaletteOnly:false,showSelectionPalette:true,localStorageKey:false,appendTo:"body",maxSelectionSize:7,cancelText:"cancel",chooseText:"choose",preferredFormat:false,className:"",showAlpha:false,theme:"sp-light",palette:["fff","000"],selectionPalette:[],disabled:false},i=[],s=!!/msie/i.exec(e.navigator.userAgent),o=function(){function e(e,t){return!!~(""+e).indexOf(t)}var t=document.createElement("div");var n=t.style;n.cssText="background-color:rgba(0,0,0,.5)";return e(n.backgroundColor,"rgba")||e(n.backgroundColor,"hsla")}(),u=function(){var e=t("<input type='color' value='!' />")[0];return e.type==="color"&&e.value!=="!"}(),a=["<div class='sp-replacer'>","<div class='sp-preview'><div class='sp-preview-inner'></div></div>","<div class='sp-dd'>&#9660;</div>","</div>"].join(""),f=function(){var e="";if(s){for(var t=1;t<=6;t++){e+="<div class='sp-"+t+"'></div>"}}return["<div class='sp-container sp-hidden'>","<div class='sp-palette-container'>","<div class='sp-palette sp-thumb sp-cf'></div>","</div>","<div class='sp-picker-container'>","<div class='sp-top sp-cf'>","<div class='sp-fill'></div>","<div class='sp-top-inner'>","<div class='sp-color'>","<div class='sp-sat'>","<div class='sp-val'>","<div class='sp-dragger'></div>","</div>","</div>","</div>","<div class='sp-clear sp-clear-display' title='Clear Color Selection'>","</div>","<div class='sp-hue'>","<div class='sp-slider'></div>",e,"</div>","</div>","<div class='sp-alpha'><div class='sp-alpha-inner'><div class='sp-alpha-handle'></div></div></div>","</div>","<div class='sp-input-container sp-cf'>","<input class='sp-input' type='text' spellcheck='false' />","</div>","<div class='sp-initial sp-thumb sp-cf'></div>","<div class='sp-button-container sp-cf'>","<a class='sp-cancel' href='#'></a>","<button class='sp-choose'></button>","</div>","</div>","</div>"].join("")}();var E="spectrum.id";t.fn.spectrum=function(e,n){if(typeof e=="string"){var r=this;var s=Array.prototype.slice.call(arguments,1);this.each(function(){var n=i[t(this).data(E)];if(n){var o=n[e];if(!o){throw new Error("Spectrum: no such method: '"+e+"'")}if(e=="get"){r=n.get()}else if(e=="container"){r=n.container}else if(e=="option"){r=n.option.apply(n,s)}else if(e=="destroy"){n.destroy();t(this).removeData(E)}else{o.apply(n,s)}}});return r}return this.spectrum("destroy").each(function(){var n=p(this,e);t(this).data(E,n.id)})};t.fn.spectrum.load=true;t.fn.spectrum.loadOpts={};t.fn.spectrum.draggable=y;t.fn.spectrum.defaults=r;t.spectrum={};t.spectrum.localization={};t.spectrum.palettes={};t.fn.spectrum.processNativeColorInputs=function(){if(!u){t("input[type=color]").spectrum({preferredFormat:"hex6"})}};(function(){function f(e,t){e=e?e:"";t=t||{};if(typeof e=="object"&&e.hasOwnProperty("_tc_id")){return e}var n=l(e);var i=n.r,o=n.g,u=n.b,a=n.a,c=s(100*a)/100,p=t.format||n.format;if(i<1){i=s(i)}if(o<1){o=s(o)}if(u<1){u=s(u)}return{ok:n.ok,format:p,_tc_id:r++,alpha:a,getAlpha:function(){return a},setAlpha:function(e){a=w(e);c=s(100*a)/100},toHsv:function(){var e=d(i,o,u);return{h:e.h*360,s:e.s,v:e.v,a:a}},toHsvString:function(){var e=d(i,o,u);var t=s(e.h*360),n=s(e.s*100),r=s(e.v*100);return a==1?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+c+")"},toHsl:function(){var e=h(i,o,u);return{h:e.h*360,s:e.s,l:e.l,a:a}},toHslString:function(){var e=h(i,o,u);var t=s(e.h*360),n=s(e.s*100),r=s(e.l*100);return a==1?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+c+")"},toHex:function(e){return m(i,o,u,e)},toHexString:function(e){return"#"+m(i,o,u,e)},toRgb:function(){return{r:s(i),g:s(o),b:s(u),a:a}},toRgbString:function(){return a==1?"rgb("+s(i)+", "+s(o)+", "+s(u)+")":"rgba("+s(i)+", "+s(o)+", "+s(u)+", "+c+")"},toPercentageRgb:function(){return{r:s(E(i,255)*100)+"%",g:s(E(o,255)*100)+"%",b:s(E(u,255)*100)+"%",a:a}},toPercentageRgbString:function(){return a==1?"rgb("+s(E(i,255)*100)+"%, "+s(E(o,255)*100)+"%, "+s(E(u,255)*100)+"%)":"rgba("+s(E(i,255)*100)+"%, "+s(E(o,255)*100)+"%, "+s(E(u,255)*100)+"%, "+c+")"},toName:function(){if(a===0){return"transparent"}return y[m(i,o,u,true)]||false},toFilter:function(e){var n=m(i,o,u);var r=n;var s=Math.round(parseFloat(a)*255).toString(16);var l=s;var c=t&&t.gradientType?"GradientType = 1, ":"";if(e){var h=f(e);r=h.toHex();l=Math.round(parseFloat(h.alpha)*255).toString(16)}return"progid:DXImageTransform.Microsoft.gradient("+c+"startColorstr=#"+C(s)+n+",endColorstr=#"+C(l)+r+")"},toString:function(e){var t=!!e;e=e||this.format;var n=false;var r=!t&&a<1&&a>0;var i=r&&(e==="hex"||e==="hex6"||e==="hex3"||e==="name");if(e==="rgb"){n=this.toRgbString()}if(e==="prgb"){n=this.toPercentageRgbString()}if(e==="hex"||e==="hex6"){n=this.toHexString()}if(e==="hex3"){n=this.toHexString(true)}if(e==="name"){n=this.toName()}if(e==="hsl"){n=this.toHslString()}if(e==="hsv"){n=this.toHsvString()}if(i){return this.toRgbString()}return n||this.toHexString()}}}function l(e){var t={r:0,g:0,b:0};var n=1;var r=false;var i=false;if(typeof e=="string"){e=A(e)}if(typeof e=="object"){if(e.hasOwnProperty("r")&&e.hasOwnProperty("g")&&e.hasOwnProperty("b")){t=c(e.r,e.g,e.b);r=true;i=String(e.r).substr(-1)==="%"?"prgb":"rgb"}else if(e.hasOwnProperty("h")&&e.hasOwnProperty("s")&&e.hasOwnProperty("v")){e.s=k(e.s);e.v=k(e.v);t=v(e.h,e.s,e.v);r=true;i="hsv"}else if(e.hasOwnProperty("h")&&e.hasOwnProperty("s")&&e.hasOwnProperty("l")){e.s=k(e.s);e.l=k(e.l);t=p(e.h,e.s,e.l);r=true;i="hsl"}if(e.hasOwnProperty("a")){n=e.a}}n=w(n);return{ok:r,format:e.format||i,r:o(255,u(t.r,0)),g:o(255,u(t.g,0)),b:o(255,u(t.b,0)),a:n}}function c(e,t,n){return{r:E(e,255)*255,g:E(t,255)*255,b:E(n,255)*255}}function h(e,t,n){e=E(e,255);t=E(t,255);n=E(n,255);var r=u(e,t,n),i=o(e,t,n);var s,a,f=(r+i)/2;if(r==i){s=a=0}else{var l=r-i;a=f>.5?l/(2-r-i):l/(r+i);switch(r){case e:s=(t-n)/l+(t<n?6:0);break;case t:s=(n-e)/l+2;break;case n:s=(e-t)/l+4;break}s/=6}return{h:s,s:a,l:f}}function p(e,t,n){function o(e,t,n){if(n<0)n+=1;if(n>1)n-=1;if(n<1/6)return e+(t-e)*6*n;if(n<1/2)return t;if(n<2/3)return e+(t-e)*(2/3-n)*6;return e}var r,i,s;e=E(e,360);t=E(t,100);n=E(n,100);if(t===0){r=i=s=n}else{var u=n<.5?n*(1+t):n+t-n*t;var a=2*n-u;r=o(a,u,e+1/3);i=o(a,u,e);s=o(a,u,e-1/3)}return{r:r*255,g:i*255,b:s*255}}function d(e,t,n){e=E(e,255);t=E(t,255);n=E(n,255);var r=u(e,t,n),i=o(e,t,n);var s,a,f=r;var l=r-i;a=r===0?0:l/r;if(r==i){s=0}else{switch(r){case e:s=(t-n)/l+(t<n?6:0);break;case t:s=(n-e)/l+2;break;case n:s=(e-t)/l+4;break}s/=6}return{h:s,s:a,v:f}}function v(e,t,n){e=E(e,360)*6;t=E(t,100);n=E(n,100);var r=i.floor(e),s=e-r,o=n*(1-t),u=n*(1-s*t),a=n*(1-(1-s)*t),f=r%6,l=[n,u,o,o,a,n][f],c=[a,n,n,u,o,o][f],h=[o,o,a,n,n,u][f];return{r:l*255,g:c*255,b:h*255}}function m(e,t,n,r){var i=[C(s(e).toString(16)),C(s(t).toString(16)),C(s(n).toString(16))];if(r&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)){return i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)}return i.join("")}function b(e){var t={};for(var n in e){if(e.hasOwnProperty(n)){t[e[n]]=n}}return t}function w(e){e=parseFloat(e);if(isNaN(e)||e<0||e>1){e=1}return e}function E(e,t){if(T(e)){e="100%"}var n=N(e);e=o(t,u(0,parseFloat(e)));if(n){e=parseInt(e*t,10)/100}if(i.abs(e-t)<1e-6){return 1}return e%t/parseFloat(t)}function S(e){return o(1,u(0,e))}function x(e){return parseInt(e,16)}function T(e){return typeof e=="string"&&e.indexOf(".")!=-1&&parseFloat(e)===1}function N(e){return typeof e==="string"&&e.indexOf("%")!=-1}function C(e){return e.length==1?"0"+e:""+e}function k(e){if(e<=1){e=e*100+"%"}return e}function A(e){e=e.replace(t,"").replace(n,"").toLowerCase();var r=false;if(g[e]){e=g[e];r=true}else if(e=="transparent"){return{r:0,g:0,b:0,a:0,format:"name"}}var i;if(i=L.rgb.exec(e)){return{r:i[1],g:i[2],b:i[3]}}if(i=L.rgba.exec(e)){return{r:i[1],g:i[2],b:i[3],a:i[4]}}if(i=L.hsl.exec(e)){return{h:i[1],s:i[2],l:i[3]}}if(i=L.hsla.exec(e)){return{h:i[1],s:i[2],l:i[3],a:i[4]}}if(i=L.hsv.exec(e)){return{h:i[1],s:i[2],v:i[3]}}if(i=L.hex6.exec(e)){return{r:x(i[1]),g:x(i[2]),b:x(i[3]),format:r?"name":"hex"}}if(i=L.hex3.exec(e)){return{r:x(i[1]+""+i[1]),g:x(i[2]+""+i[2]),b:x(i[3]+""+i[3]),format:r?"name":"hex"}}return false}var t=/^[\s,#]+/,n=/\s+$/,r=0,i=Math,s=i.round,o=i.min,u=i.max,a=i.random;f.fromRatio=function(e,t){if(typeof e=="object"){var n={};for(var r in e){if(e.hasOwnProperty(r)){if(r==="a"){n[r]=e[r]}else{n[r]=k(e[r])}}}e=n}return f(e,t)};f.equals=function(e,t){if(!e||!t){return false}return f(e).toRgbString()==f(t).toRgbString()};f.random=function(){return f.fromRatio({r:a(),g:a(),b:a()})};f.desaturate=function(e,t){t=t===0?0:t||10;var n=f(e).toHsl();n.s-=t/100;n.s=S(n.s);return f(n)};f.saturate=function(e,t){t=t===0?0:t||10;var n=f(e).toHsl();n.s+=t/100;n.s=S(n.s);return f(n)};f.greyscale=function(e){return f.desaturate(e,100)};f.lighten=function(e,t){t=t===0?0:t||10;var n=f(e).toHsl();n.l+=t/100;n.l=S(n.l);return f(n)};f.darken=function(e,t){t=t===0?0:t||10;var n=f(e).toHsl();n.l-=t/100;n.l=S(n.l);return f(n)};f.complement=function(e){var t=f(e).toHsl();t.h=(t.h+180)%360;return f(t)};f.triad=function(e){var t=f(e).toHsl();var n=t.h;return[f(e),f({h:(n+120)%360,s:t.s,l:t.l}),f({h:(n+240)%360,s:t.s,l:t.l})]};f.tetrad=function(e){var t=f(e).toHsl();var n=t.h;return[f(e),f({h:(n+90)%360,s:t.s,l:t.l}),f({h:(n+180)%360,s:t.s,l:t.l}),f({h:(n+270)%360,s:t.s,l:t.l})]};f.splitcomplement=function(e){var t=f(e).toHsl();var n=t.h;return[f(e),f({h:(n+72)%360,s:t.s,l:t.l}),f({h:(n+216)%360,s:t.s,l:t.l})]};f.analogous=function(e,t,n){t=t||6;n=n||30;var r=f(e).toHsl();var i=360/n;var s=[f(e)];for(r.h=(r.h-(i*t>>1)+720)%360;--t;){r.h=(r.h+i)%360;s.push(f(r))}return s};f.monochromatic=function(e,t){t=t||6;var n=f(e).toHsv();var r=n.h,i=n.s,s=n.v;var o=[];var u=1/t;while(t--){o.push(f({h:r,s:i,v:s}));s=(s+u)%1}return o};f.readability=function(e,t){var n=f(e).toRgb();var r=f(t).toRgb();var i=(n.r*299+n.g*587+n.b*114)/1e3;var s=(r.r*299+r.g*587+r.b*114)/1e3;var o=Math.max(n.r,r.r)-Math.min(n.r,r.r)+Math.max(n.g,r.g)-Math.min(n.g,r.g)+Math.max(n.b,r.b)-Math.min(n.b,r.b);return{brightness:Math.abs(i-s),color:o}};f.readable=function(e,t){var n=f.readability(e,t);return n.brightness>125&&n.color>500};f.mostReadable=function(e,t){var n=null;var r=0;var i=false;for(var s=0;s<t.length;s++){var o=f.readability(e,t[s]);var u=o.brightness>125&&o.color>500;var a=3*(o.brightness/125)+o.color/500;if(u&&!i||u&&i&&a>r||!u&&!i&&a>r){i=u;r=a;n=f(t[s])}}return n};var g=f.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};var y=f.hexNames=b(g);var L=function(){var e="[-\\+]?\\d+%?";var t="[-\\+]?\\d*\\.\\d+%?";var n="(?:"+t+")|(?:"+e+")";var r="[\\s|\\(]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")\\s*\\)?";var i="[\\s|\\(]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")\\s*\\)?";return{rgb:new RegExp("rgb"+r),rgba:new RegExp("rgba"+i),hsl:new RegExp("hsl"+r),hsla:new RegExp("hsla"+i),hsv:new RegExp("hsv"+r),hex3:/^([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();e.tinycolor=f})();t(function(){if(t.fn.spectrum.load){t.fn.spectrum.processNativeColorInputs()}})})(window,jQuery)
js/jquery.bxslider.min.js ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * BxSlider v4.1.1 - Fully loaded, responsive content slider
3
+ * http://bxslider.com
4
+ *
5
+ * Copyright 2013, Steven Wanderski - http://stevenwanderski.com - http://bxcreative.com
6
+ * Written while drinking Belgian ales and listening to jazz
7
+ *
8
+ * Released under the MIT license - http://opensource.org/licenses/MIT
9
+ */
10
+ !function(t){var e={},s={mode:"horizontal",slideSelector:"",infiniteLoop:!0,hideControlOnEnd:!1,speed:500,easing:null,slideMargin:0,startSlide:0,randomStart:!1,captions:!1,ticker:!1,tickerHover:!1,adaptiveHeight:!1,adaptiveHeightSpeed:500,video:!1,useCSS:!0,preloadImages:"visible",responsive:!0,touchEnabled:!0,swipeThreshold:50,oneToOneTouch:!0,preventDefaultSwipeX:!0,preventDefaultSwipeY:!1,pager:!0,pagerType:"full",pagerShortSeparator:" / ",pagerSelector:null,buildPager:null,pagerCustom:null,controls:!0,nextText:"Next",prevText:"Prev",nextSelector:null,prevSelector:null,autoControls:!1,startText:"Start",stopText:"Stop",autoControlsCombine:!1,autoControlsSelector:null,auto:!1,pause:4e3,autoStart:!0,autoDirection:"next",autoHover:!1,autoDelay:0,minSlides:1,maxSlides:1,moveSlides:0,slideWidth:0,onSliderLoad:function(){},onSlideBefore:function(){},onSlideAfter:function(){},onSlideNext:function(){},onSlidePrev:function(){}};t.fn.bxSlider=function(n){if(0==this.length)return this;if(this.length>1)return this.each(function(){t(this).bxSlider(n)}),this;var o={},r=this;e.el=this;var a=t(window).width(),l=t(window).height(),d=function(){o.settings=t.extend({},s,n),o.settings.slideWidth=parseInt(o.settings.slideWidth),o.children=r.children(o.settings.slideSelector),o.children.length<o.settings.minSlides&&(o.settings.minSlides=o.children.length),o.children.length<o.settings.maxSlides&&(o.settings.maxSlides=o.children.length),o.settings.randomStart&&(o.settings.startSlide=Math.floor(Math.random()*o.children.length)),o.active={index:o.settings.startSlide},o.carousel=o.settings.minSlides>1||o.settings.maxSlides>1,o.carousel&&(o.settings.preloadImages="all"),o.minThreshold=o.settings.minSlides*o.settings.slideWidth+(o.settings.minSlides-1)*o.settings.slideMargin,o.maxThreshold=o.settings.maxSlides*o.settings.slideWidth+(o.settings.maxSlides-1)*o.settings.slideMargin,o.working=!1,o.controls={},o.interval=null,o.animProp="vertical"==o.settings.mode?"top":"left",o.usingCSS=o.settings.useCSS&&"fade"!=o.settings.mode&&function(){var t=document.createElement("div"),e=["WebkitPerspective","MozPerspective","OPerspective","msPerspective"];for(var i in e)if(void 0!==t.style[e[i]])return o.cssPrefix=e[i].replace("Perspective","").toLowerCase(),o.animProp="-"+o.cssPrefix+"-transform",!0;return!1}(),"vertical"==o.settings.mode&&(o.settings.maxSlides=o.settings.minSlides),r.data("origStyle",r.attr("style")),r.children(o.settings.slideSelector).each(function(){t(this).data("origStyle",t(this).attr("style"))}),c()},c=function(){r.wrap('<div class="bx-wrapper"><div class="bx-viewport"></div></div>'),o.viewport=r.parent(),o.loader=t('<div class="bx-loading" />'),o.viewport.prepend(o.loader),r.css({width:"horizontal"==o.settings.mode?100*o.children.length+215+"%":"auto",position:"relative"}),o.usingCSS&&o.settings.easing?r.css("-"+o.cssPrefix+"-transition-timing-function",o.settings.easing):o.settings.easing||(o.settings.easing="swing"),f(),o.viewport.css({width:"100%",overflow:"hidden",position:"relative"}),o.viewport.parent().css({maxWidth:v()}),o.settings.pager||o.viewport.parent().css({margin:"0 auto 0px"}),o.children.css({"float":"horizontal"==o.settings.mode?"left":"none",listStyle:"none",position:"relative"}),o.children.css("width",u()),"horizontal"==o.settings.mode&&o.settings.slideMargin>0&&o.children.css("marginRight",o.settings.slideMargin),"vertical"==o.settings.mode&&o.settings.slideMargin>0&&o.children.css("marginBottom",o.settings.slideMargin),"fade"==o.settings.mode&&(o.children.css({position:"absolute",zIndex:0,display:"none"}),o.children.eq(o.settings.startSlide).css({zIndex:50,display:"block"})),o.controls.el=t('<div class="bx-controls" />'),o.settings.captions&&P(),o.active.last=o.settings.startSlide==x()-1,o.settings.video&&r.fitVids();var e=o.children.eq(o.settings.startSlide);"all"==o.settings.preloadImages&&(e=o.children),o.settings.ticker?o.settings.pager=!1:(o.settings.pager&&T(),o.settings.controls&&C(),o.settings.auto&&o.settings.autoControls&&E(),(o.settings.controls||o.settings.autoControls||o.settings.pager)&&o.viewport.after(o.controls.el)),g(e,h)},g=function(e,i){var s=e.find("img, iframe").length;if(0==s)return i(),void 0;var n=0;e.find("img, iframe").each(function(){t(this).one("load",function(){++n==s&&i()}).each(function(){this.complete&&t(this).load()})})},h=function(){if(o.settings.infiniteLoop&&"fade"!=o.settings.mode&&!o.settings.ticker){var e="vertical"==o.settings.mode?o.settings.minSlides:o.settings.maxSlides,i=o.children.slice(0,e).clone().addClass("bx-clone"),s=o.children.slice(-e).clone().addClass("bx-clone");r.append(i).prepend(s)}o.loader.remove(),S(),"vertical"==o.settings.mode&&(o.settings.adaptiveHeight=!0),o.viewport.height(p()),r.redrawSlider(),o.settings.onSliderLoad(o.active.index),o.initialized=!0,o.settings.responsive&&t(window).bind("resize",B),o.settings.auto&&o.settings.autoStart&&H(),o.settings.ticker&&L(),o.settings.pager&&I(o.settings.startSlide),o.settings.controls&&W(),o.settings.touchEnabled&&!o.settings.ticker&&O()},p=function(){var e=0,s=t();if("vertical"==o.settings.mode||o.settings.adaptiveHeight)if(o.carousel){var n=1==o.settings.moveSlides?o.active.index:o.active.index*m();for(s=o.children.eq(n),i=1;i<=o.settings.maxSlides-1;i++)s=n+i>=o.children.length?s.add(o.children.eq(i-1)):s.add(o.children.eq(n+i))}else s=o.children.eq(o.active.index);else s=o.children;return"vertical"==o.settings.mode?(s.each(function(){e+=t(this).outerHeight()}),o.settings.slideMargin>0&&(e+=o.settings.slideMargin*(o.settings.minSlides-1))):e=Math.max.apply(Math,s.map(function(){return t(this).outerHeight(!1)}).get()),e},v=function(){var t="100%";return o.settings.slideWidth>0&&(t="horizontal"==o.settings.mode?o.settings.maxSlides*o.settings.slideWidth+(o.settings.maxSlides-1)*o.settings.slideMargin:o.settings.slideWidth),t},u=function(){var t=o.settings.slideWidth,e=o.viewport.width();return 0==o.settings.slideWidth||o.settings.slideWidth>e&&!o.carousel||"vertical"==o.settings.mode?t=e:o.settings.maxSlides>1&&"horizontal"==o.settings.mode&&(e>o.maxThreshold||e<o.minThreshold&&(t=(e-o.settings.slideMargin*(o.settings.minSlides-1))/o.settings.minSlides)),t},f=function(){var t=1;if("horizontal"==o.settings.mode&&o.settings.slideWidth>0)if(o.viewport.width()<o.minThreshold)t=o.settings.minSlides;else if(o.viewport.width()>o.maxThreshold)t=o.settings.maxSlides;else{var e=o.children.first().width();t=Math.floor(o.viewport.width()/e)}else"vertical"==o.settings.mode&&(t=o.settings.minSlides);return t},x=function(){var t=0;if(o.settings.moveSlides>0)if(o.settings.infiniteLoop)t=o.children.length/m();else for(var e=0,i=0;e<o.children.length;)++t,e=i+f(),i+=o.settings.moveSlides<=f()?o.settings.moveSlides:f();else t=Math.ceil(o.children.length/f());return t},m=function(){return o.settings.moveSlides>0&&o.settings.moveSlides<=f()?o.settings.moveSlides:f()},S=function(){if(o.children.length>o.settings.maxSlides&&o.active.last&&!o.settings.infiniteLoop){if("horizontal"==o.settings.mode){var t=o.children.last(),e=t.position();b(-(e.left-(o.viewport.width()-t.width())),"reset",0)}else if("vertical"==o.settings.mode){var i=o.children.length-o.settings.minSlides,e=o.children.eq(i).position();b(-e.top,"reset",0)}}else{var e=o.children.eq(o.active.index*m()).position();o.active.index==x()-1&&(o.active.last=!0),void 0!=e&&("horizontal"==o.settings.mode?b(-e.left,"reset",0):"vertical"==o.settings.mode&&b(-e.top,"reset",0))}},b=function(t,e,i,s){if(o.usingCSS){var n="vertical"==o.settings.mode?"translate3d(0, "+t+"px, 0)":"translate3d("+t+"px, 0, 0)";r.css("-"+o.cssPrefix+"-transition-duration",i/1e3+"s"),"slide"==e?(r.css(o.animProp,n),r.bind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd",function(){r.unbind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd"),D()})):"reset"==e?r.css(o.animProp,n):"ticker"==e&&(r.css("-"+o.cssPrefix+"-transition-timing-function","linear"),r.css(o.animProp,n),r.bind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd",function(){r.unbind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd"),b(s.resetValue,"reset",0),N()}))}else{var a={};a[o.animProp]=t,"slide"==e?r.animate(a,i,o.settings.easing,function(){D()}):"reset"==e?r.css(o.animProp,t):"ticker"==e&&r.animate(a,speed,"linear",function(){b(s.resetValue,"reset",0),N()})}},w=function(){for(var e="",i=x(),s=0;i>s;s++){var n="";o.settings.buildPager&&t.isFunction(o.settings.buildPager)?(n=o.settings.buildPager(s),o.pagerEl.addClass("bx-custom-pager")):(n=s+1,o.pagerEl.addClass("bx-default-pager")),e+='<div class="bx-pager-item"><a href="" data-slide-index="'+s+'" class="bx-pager-link">'+n+"</a></div>"}o.pagerEl.html(e)},T=function(){o.settings.pagerCustom?o.pagerEl=t(o.settings.pagerCustom):(o.pagerEl=t('<div class="bx-pager" />'),o.settings.pagerSelector?t(o.settings.pagerSelector).html(o.pagerEl):o.controls.el.addClass("bx-has-pager").append(o.pagerEl),w()),o.pagerEl.delegate("a","click",q)},C=function(){o.controls.next=t('<a class="bx-next" href="">'+o.settings.nextText+"</a>"),o.controls.prev=t('<a class="bx-prev" href="">'+o.settings.prevText+"</a>"),o.controls.next.bind("click",y),o.controls.prev.bind("click",z),o.settings.nextSelector&&t(o.settings.nextSelector).append(o.controls.next),o.settings.prevSelector&&t(o.settings.prevSelector).append(o.controls.prev),o.settings.nextSelector||o.settings.prevSelector||(o.controls.directionEl=t('<div class="bx-controls-direction" />'),o.controls.directionEl.append(o.controls.prev).append(o.controls.next),o.controls.el.addClass("bx-has-controls-direction").append(o.controls.directionEl))},E=function(){o.controls.start=t('<div class="bx-controls-auto-item"><a class="bx-start" href="">'+o.settings.startText+"</a></div>"),o.controls.stop=t('<div class="bx-controls-auto-item"><a class="bx-stop" href="">'+o.settings.stopText+"</a></div>"),o.controls.autoEl=t('<div class="bx-controls-auto" />'),o.controls.autoEl.delegate(".bx-start","click",k),o.controls.autoEl.delegate(".bx-stop","click",M),o.settings.autoControlsCombine?o.controls.autoEl.append(o.controls.start):o.controls.autoEl.append(o.controls.start).append(o.controls.stop),o.settings.autoControlsSelector?t(o.settings.autoControlsSelector).html(o.controls.autoEl):o.controls.el.addClass("bx-has-controls-auto").append(o.controls.autoEl),A(o.settings.autoStart?"stop":"start")},P=function(){o.children.each(function(){var e=t(this).find("img:first").attr("title");void 0!=e&&(""+e).length&&t(this).append('<div class="bx-caption"><span>'+e+"</span></div>")})},y=function(t){o.settings.auto&&r.stopAuto(),r.goToNextSlide(),t.preventDefault()},z=function(t){o.settings.auto&&r.stopAuto(),r.goToPrevSlide(),t.preventDefault()},k=function(t){r.startAuto(),t.preventDefault()},M=function(t){r.stopAuto(),t.preventDefault()},q=function(e){o.settings.auto&&r.stopAuto();var i=t(e.currentTarget),s=parseInt(i.attr("data-slide-index"));s!=o.active.index&&r.goToSlide(s),e.preventDefault()},I=function(e){var i=o.children.length;return"short"==o.settings.pagerType?(o.settings.maxSlides>1&&(i=Math.ceil(o.children.length/o.settings.maxSlides)),o.pagerEl.html(e+1+o.settings.pagerShortSeparator+i),void 0):(o.pagerEl.find("a").removeClass("active"),o.pagerEl.each(function(i,s){t(s).find("a").eq(e).addClass("active")}),void 0)},D=function(){if(o.settings.infiniteLoop){var t="";0==o.active.index?t=o.children.eq(0).position():o.active.index==x()-1&&o.carousel?t=o.children.eq((x()-1)*m()).position():o.active.index==o.children.length-1&&(t=o.children.eq(o.children.length-1).position()),"horizontal"==o.settings.mode?b(-t.left,"reset",0):"vertical"==o.settings.mode&&b(-t.top,"reset",0)}o.working=!1,o.settings.onSlideAfter(o.children.eq(o.active.index),o.oldIndex,o.active.index)},A=function(t){o.settings.autoControlsCombine?o.controls.autoEl.html(o.controls[t]):(o.controls.autoEl.find("a").removeClass("active"),o.controls.autoEl.find("a:not(.bx-"+t+")").addClass("active"))},W=function(){1==x()?(o.controls.prev.addClass("disabled"),o.controls.next.addClass("disabled")):!o.settings.infiniteLoop&&o.settings.hideControlOnEnd&&(0==o.active.index?(o.controls.prev.addClass("disabled"),o.controls.next.removeClass("disabled")):o.active.index==x()-1?(o.controls.next.addClass("disabled"),o.controls.prev.removeClass("disabled")):(o.controls.prev.removeClass("disabled"),o.controls.next.removeClass("disabled")))},H=function(){o.settings.autoDelay>0?setTimeout(r.startAuto,o.settings.autoDelay):r.startAuto(),o.settings.autoHover&&r.hover(function(){o.interval&&(r.stopAuto(!0),o.autoPaused=!0)},function(){o.autoPaused&&(r.startAuto(!0),o.autoPaused=null)})},L=function(){var e=0;if("next"==o.settings.autoDirection)r.append(o.children.clone().addClass("bx-clone"));else{r.prepend(o.children.clone().addClass("bx-clone"));var i=o.children.first().position();e="horizontal"==o.settings.mode?-i.left:-i.top}b(e,"reset",0),o.settings.pager=!1,o.settings.controls=!1,o.settings.autoControls=!1,o.settings.tickerHover&&!o.usingCSS&&o.viewport.hover(function(){r.stop()},function(){var e=0;o.children.each(function(){e+="horizontal"==o.settings.mode?t(this).outerWidth(!0):t(this).outerHeight(!0)});var i=o.settings.speed/e,s="horizontal"==o.settings.mode?"left":"top",n=i*(e-Math.abs(parseInt(r.css(s))));N(n)}),N()},N=function(t){speed=t?t:o.settings.speed;var e={left:0,top:0},i={left:0,top:0};"next"==o.settings.autoDirection?e=r.find(".bx-clone").first().position():i=o.children.first().position();var s="horizontal"==o.settings.mode?-e.left:-e.top,n="horizontal"==o.settings.mode?-i.left:-i.top,a={resetValue:n};b(s,"ticker",speed,a)},O=function(){o.touch={start:{x:0,y:0},end:{x:0,y:0}},o.viewport.bind("touchstart",X)},X=function(t){if(o.working)t.preventDefault();else{o.touch.originalPos=r.position();var e=t.originalEvent;o.touch.start.x=e.changedTouches[0].pageX,o.touch.start.y=e.changedTouches[0].pageY,o.viewport.bind("touchmove",Y),o.viewport.bind("touchend",V)}},Y=function(t){var e=t.originalEvent,i=Math.abs(e.changedTouches[0].pageX-o.touch.start.x),s=Math.abs(e.changedTouches[0].pageY-o.touch.start.y);if(3*i>s&&o.settings.preventDefaultSwipeX?t.preventDefault():3*s>i&&o.settings.preventDefaultSwipeY&&t.preventDefault(),"fade"!=o.settings.mode&&o.settings.oneToOneTouch){var n=0;if("horizontal"==o.settings.mode){var r=e.changedTouches[0].pageX-o.touch.start.x;n=o.touch.originalPos.left+r}else{var r=e.changedTouches[0].pageY-o.touch.start.y;n=o.touch.originalPos.top+r}b(n,"reset",0)}},V=function(t){o.viewport.unbind("touchmove",Y);var e=t.originalEvent,i=0;if(o.touch.end.x=e.changedTouches[0].pageX,o.touch.end.y=e.changedTouches[0].pageY,"fade"==o.settings.mode){var s=Math.abs(o.touch.start.x-o.touch.end.x);s>=o.settings.swipeThreshold&&(o.touch.start.x>o.touch.end.x?r.goToNextSlide():r.goToPrevSlide(),r.stopAuto())}else{var s=0;"horizontal"==o.settings.mode?(s=o.touch.end.x-o.touch.start.x,i=o.touch.originalPos.left):(s=o.touch.end.y-o.touch.start.y,i=o.touch.originalPos.top),!o.settings.infiniteLoop&&(0==o.active.index&&s>0||o.active.last&&0>s)?b(i,"reset",200):Math.abs(s)>=o.settings.swipeThreshold?(0>s?r.goToNextSlide():r.goToPrevSlide(),r.stopAuto()):b(i,"reset",200)}o.viewport.unbind("touchend",V)},B=function(){var e=t(window).width(),i=t(window).height();(a!=e||l!=i)&&(a=e,l=i,r.redrawSlider())};return r.goToSlide=function(e,i){if(!o.working&&o.active.index!=e)if(o.working=!0,o.oldIndex=o.active.index,o.active.index=0>e?x()-1:e>=x()?0:e,o.settings.onSlideBefore(o.children.eq(o.active.index),o.oldIndex,o.active.index),"next"==i?o.settings.onSlideNext(o.children.eq(o.active.index),o.oldIndex,o.active.index):"prev"==i&&o.settings.onSlidePrev(o.children.eq(o.active.index),o.oldIndex,o.active.index),o.active.last=o.active.index>=x()-1,o.settings.pager&&I(o.active.index),o.settings.controls&&W(),"fade"==o.settings.mode)o.settings.adaptiveHeight&&o.viewport.height()!=p()&&o.viewport.animate({height:p()},o.settings.adaptiveHeightSpeed),o.children.filter(":visible").fadeOut(o.settings.speed).css({zIndex:0}),o.children.eq(o.active.index).css("zIndex",51).fadeIn(o.settings.speed,function(){t(this).css("zIndex",50),D()});else{o.settings.adaptiveHeight&&o.viewport.height()!=p()&&o.viewport.animate({height:p()},o.settings.adaptiveHeightSpeed);var s=0,n={left:0,top:0};if(!o.settings.infiniteLoop&&o.carousel&&o.active.last)if("horizontal"==o.settings.mode){var a=o.children.eq(o.children.length-1);n=a.position(),s=o.viewport.width()-a.outerWidth()}else{var l=o.children.length-o.settings.minSlides;n=o.children.eq(l).position()}else if(o.carousel&&o.active.last&&"prev"==i){var d=1==o.settings.moveSlides?o.settings.maxSlides-m():(x()-1)*m()-(o.children.length-o.settings.maxSlides),a=r.children(".bx-clone").eq(d);n=a.position()}else if("next"==i&&0==o.active.index)n=r.find("> .bx-clone").eq(o.settings.maxSlides).position(),o.active.last=!1;else if(e>=0){var c=e*m();n=o.children.eq(c).position()}if("undefined"!=typeof n){var g="horizontal"==o.settings.mode?-(n.left-s):-n.top;b(g,"slide",o.settings.speed)}}},r.goToNextSlide=function(){if(o.settings.infiniteLoop||!o.active.last){var t=parseInt(o.active.index)+1;r.goToSlide(t,"next")}},r.goToPrevSlide=function(){if(o.settings.infiniteLoop||0!=o.active.index){var t=parseInt(o.active.index)-1;r.goToSlide(t,"prev")}},r.startAuto=function(t){o.interval||(o.interval=setInterval(function(){"next"==o.settings.autoDirection?r.goToNextSlide():r.goToPrevSlide()},o.settings.pause),o.settings.autoControls&&1!=t&&A("stop"))},r.stopAuto=function(t){o.interval&&(clearInterval(o.interval),o.interval=null,o.settings.autoControls&&1!=t&&A("start"))},r.getCurrentSlide=function(){return o.active.index},r.getSlideCount=function(){return o.children.length},r.redrawSlider=function(){o.children.add(r.find(".bx-clone")).outerWidth(u()),o.viewport.css("height",p()),o.settings.ticker||S(),o.active.last&&(o.active.index=x()-1),o.active.index>=x()&&(o.active.last=!0),o.settings.pager&&!o.settings.pagerCustom&&(w(),I(o.active.index))},r.destroySlider=function(){o.initialized&&(o.initialized=!1,t(".bx-clone",this).remove(),o.children.each(function(){void 0!=t(this).data("origStyle")?t(this).attr("style",t(this).data("origStyle")):t(this).removeAttr("style")}),void 0!=t(this).data("origStyle")?this.attr("style",t(this).data("origStyle")):t(this).removeAttr("style"),t(this).unwrap().unwrap(),o.controls.el&&o.controls.el.remove(),o.controls.next&&o.controls.next.remove(),o.controls.prev&&o.controls.prev.remove(),o.pagerEl&&o.pagerEl.remove(),t(".bx-caption",this).remove(),o.controls.autoEl&&o.controls.autoEl.remove(),clearInterval(o.interval),o.settings.responsive&&t(window).unbind("resize",B))},r.reloadSlider=function(t){void 0!=t&&(n=t),r.destroySlider(),d()},d(),this}}(jQuery);
js/page-options-content-tab.js ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Code behind for content tab
3
+ */
4
+
5
+ jQuery(document).ready(function($) {
6
+
7
+ var logo_uploader;
8
+
9
+ $('#easy-pie-cs-logo-button').click(function(e) {
10
+
11
+ e.preventDefault();
12
+
13
+ //If the uploader object has already been created, reopen the dialog
14
+ if (logo_uploader) {
15
+ logo_uploader.open();
16
+ return;
17
+ }
18
+
19
+ //Extend the wp.media object
20
+ logo_uploader = wp.media.frames.file_frame = wp.media({
21
+ title: 'Choose Image',
22
+ button: {
23
+ text: 'Choose Image'
24
+ },
25
+ multiple: false
26
+ });
27
+
28
+ //When a file is selected, grab the URL and set it as the text field's value
29
+ logo_uploader.on('select', function() {
30
+ attachment = logo_uploader.state().get('selection').first().toJSON();
31
+ $('#easy-pie-cs-logo-url').val(attachment.url);
32
+ $('#easy-pie-cs-logo-preview').css("display", "block");
33
+ $('#easy-pie-cs-logo-preview').attr("src", attachment.url);
34
+ });
35
+
36
+ //Open the uploader dialog
37
+ logo_uploader.open();
38
+ });
39
+ })
js/page-options-display-tab.js ADDED
@@ -0,0 +1,253 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ Easy Pie Coming Soon Plugin
3
+ Copyright (C) 2013, Synthetic Thought LLC
4
+ website: easypiewp.com contact: bob@easypiewp.com
5
+
6
+ Easy Pie Coming Soon Plugin is distributed under the GNU General Public License, Version 3,
7
+ June 2007. Copyright (C) 2007 Free Software Foundation, Inc., 51 Franklin
8
+ St, Fifth Floor, Boston, MA 02110, USA
9
+
10
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
11
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
12
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
13
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
14
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
15
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
16
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
17
+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
18
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
19
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
20
+ */
21
+
22
+ easyPie = {};
23
+ easyPie.CS = {};
24
+
25
+
26
+
27
+ easyPie.CS.toggleAdvancedBox = function() {
28
+
29
+ jQuery('#easy-pie-cs-advanced').toggle();
30
+ easyPie.CS.setCookie("advancedDisplay", jQuery("#easy-pie-cs-advanced").css("display"));
31
+ }
32
+
33
+ easyPie.CS.setCookie = function setCookie(c_name, value, exdays) {
34
+
35
+ var exdate = new Date();
36
+ exdate.setDate(exdate.getDate() + exdays);
37
+ var c_value = escape(value) + ((exdays == null) ? "" : "; expires=" + exdate.toUTCString());
38
+ document.cookie = c_name + "=" + c_value;
39
+ }
40
+
41
+ easyPie.CS.getCookie = function(c_name) {
42
+ var c_value = document.cookie;
43
+ var c_start = c_value.indexOf(" " + c_name + "=");
44
+ if (c_start == -1)
45
+ {
46
+ c_start = c_value.indexOf(c_name + "=");
47
+ }
48
+ if (c_start == -1)
49
+ {
50
+ c_value = null;
51
+ }
52
+ else
53
+ {
54
+ c_start = c_value.indexOf("=", c_start) + 1;
55
+ var c_end = c_value.indexOf(";", c_start);
56
+
57
+ if (c_end == -1)
58
+ {
59
+ c_end = c_value.length;
60
+ }
61
+ c_value = unescape(c_value.substring(c_start, c_end));
62
+ }
63
+ return c_value;
64
+ };
65
+
66
+ easyPie.CS.CopyTemplate = function(text) {
67
+
68
+ shouldCopy = confirm(text);
69
+
70
+ if(shouldCopy) {
71
+ alert("copying data attached to " + easyPie.CS.selectedTemplateId);
72
+ var templateKey = jQuery('#' + easyPie.CS.selectedTemplateId).attr('template_key');
73
+ jQuery.post(ajaxurl, { action: 'EZP_CS_copy_template', template_key: templateKey }, function() { window.location = window.location.href; } )
74
+ jQuery.modal.close();
75
+ } else {
76
+ // They don't want to copy it so keep the modal up
77
+
78
+ }
79
+ };
80
+
81
+ easyPie.CS.selectedTemplateId = "";
82
+
83
+ easyPie.CS.selectTemplate = function(imageId) {
84
+
85
+ var selector = "#" + imageId;
86
+
87
+ if((easyPie.CS.selectedTemplateId != "") && (easyPie.CS.selectedTemplateId != imageId)) {
88
+
89
+ var oldSelector = "#" + easyPie.CS.selectedTemplateId;
90
+
91
+ jQuery(oldSelector).animate({ opacity:.3 }, {queue: false});
92
+ }
93
+
94
+ jQuery(selector).animate({ opacity:1 }, {duration: 200, queue: false});
95
+
96
+
97
+ easyPie.CS.selectedTemplateId = imageId;
98
+ };
99
+
100
+ easyPie.CS.swappedTbRemove = false;
101
+
102
+ easyPie.CS.ShowTemplateDialog = function() {
103
+ //var url = '#TB_inline?width=650&height=350&inlineId=dup-dlg-quick-path';
104
+ //how to use thickbox http://codex.wordpress.org/ThickBox
105
+
106
+ // if(!easyPie.CS.swappedTbRemove) {
107
+ // var old_tb_remove = tb_remove;
108
+ //
109
+ // var tb_remove = function() {
110
+ // old_tb_remove(); // calls the tb_remove() of the Thickbox plugin
111
+ // alert('ohai');
112
+ // };
113
+ //
114
+ // easyPie.CS.swappedTbRemove = true;
115
+ // }
116
+ //
117
+ // var url = '#TB_inline?width=700&height=384&inlineId=template-dialog';
118
+ // tb_show("<?php EZP_CS_Utility::_e('Quick Template'); ?>", url); // to do a link include class='thickbox'
119
+
120
+ jQuery("#template-dialog").modal({overlayClose:true, overlayCss:'background-color:black;'});
121
+ easyPie.CS.selectTemplate("image-0");
122
+ };
123
+
124
+ easyPie.CS.selectedBuiltInBackgroundId = "";
125
+
126
+ easyPie.CS.selectBuiltInBackground = function(element) {
127
+
128
+ jQ = jQuery;
129
+
130
+ var src = jQ(element).attr("src");
131
+ var imageId = jQ(element).attr("id");
132
+
133
+ jQ("#easy-pie-cs-background-image-url").val(src);
134
+ jQ('#easy-pie-cs-background-image-preview').css("display", "none");
135
+
136
+ if((easyPie.CS.selectedBuiltInBackgroundId != "") && (easyPie.CS.selectedBuiltInBackgroundId != imageId)) {
137
+
138
+ var oldSelector = "#" + easyPie.CS.selectedBuiltInBackgroundId;
139
+
140
+ jQ(oldSelector).animate({ opacity:.4 }, {queue: false});
141
+ }
142
+
143
+ easyPie.CS.selectedBuiltInBackgroundId = imageId;
144
+ jQ(element).animate({ opacity:1 }, {duration: 200, queue: false});
145
+ }
146
+
147
+ jQuery(document).ready(function($) {
148
+
149
+ // $("a[href='admin.php?page=easy-pie-coming-soon-view']").click(function() { alert('hi'); });
150
+
151
+ $("#easy-pie-cs-builtin-background-slider img").click(function() { easyPie.CS.selectBuiltInBackground(this); });
152
+
153
+ $("#easy-pie-cs-builtin-background-slider img").each(function(index) {
154
+
155
+ if($(this).css("opacity") == 1) {
156
+
157
+ easyPie.CS.selectedBuiltInBackgroundId = $(this).attr("id");
158
+ }
159
+ })
160
+
161
+ // RSR TODO: Set start slide
162
+
163
+ //-- Opacity slider
164
+ var opacity = $("#content_box_opacity").val();
165
+
166
+ var updateSlide= function(event, ui) {
167
+ var displayValue = ui.value * 100 + "%";
168
+
169
+ $("#content_box_opacity").val(ui.value);// var value = $("#slider").slider("option","value");
170
+ $("#opacity-display-value").html(displayValue);
171
+
172
+ // $("#opacity-slider").find(".ui-slider-handle").text(op);
173
+ };
174
+
175
+ $("#opacity-slider").slider(
176
+ {
177
+ min: 0, max: 1, step: 0.1, value: opacity,
178
+
179
+ slide: updateSlide,
180
+ change: updateSlide
181
+ });
182
+
183
+
184
+ $("#opacity-display-value").html(opacity * 100 + "%");
185
+
186
+
187
+ (function($) {
188
+
189
+ $(".spectrum-picker").spectrum({
190
+ preferredFormat: "hex",
191
+ show: function(color) {
192
+ console.log(color.toHexString());
193
+ },
194
+ change: function(color) {
195
+ $(this).val(color);
196
+ console.log(color.toHexString());
197
+ },
198
+ showInput: true,
199
+ theme: "sp-light"
200
+ });
201
+
202
+ $('#easypie-cs-options .pages-selection input[type="checkbox"]').change(function() {
203
+ var values = [];
204
+ var div = $(this).parent().parent();
205
+ div.find('input:checked').each(function(i, e) {
206
+ values.push($(e).val());
207
+ });
208
+ div.children(":first").val(values.join());
209
+ });
210
+ })(jQuery);
211
+
212
+ // New Media uploader logic
213
+ var custom_uploader;
214
+
215
+ $('#easy-pie-cs-background-image-button').click(function(e) {
216
+
217
+ e.preventDefault();
218
+
219
+ //If the uploader object has already been created, reopen the dialog
220
+ if (custom_uploader) {
221
+ custom_uploader.open();
222
+ return;
223
+ }
224
+
225
+ //Extend the wp.media object
226
+ custom_uploader = wp.media.frames.file_frame = wp.media({
227
+ title: 'Choose Image',
228
+ button: {
229
+ text: 'Choose Image'
230
+ },
231
+ multiple: false
232
+ });
233
+
234
+ //When a file is selected, grab the URL and set it as the text field's value
235
+ custom_uploader.on('select', function() {
236
+ attachment = custom_uploader.state().get('selection').first().toJSON();
237
+ $('#easy-pie-cs-background-image-url').val(attachment.url);
238
+ $('#easy-pie-cs-background-image-preview').css("display", "block");
239
+ $('#easy-pie-cs-background-image-preview').attr("src", attachment.url);
240
+ $("#easy-pie-cs-builtin-background-slider img").css("opacity", 0.4);
241
+ });
242
+
243
+ //Open the uploader dialog
244
+ custom_uploader.open();
245
+ });
246
+
247
+ var advancedDisplay = easyPie.CS.getCookie("advancedDisplay");
248
+
249
+ if (advancedDisplay != null) {
250
+
251
+ $("#easy-pie-cs-advanced").css("display", advancedDisplay);
252
+ }
253
+ });
js/page-options-subscribers.js ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ Easy Pie Coming Soon Plugin
3
+ Copyright (C) 2013, Synthetic Thought LLC
4
+ website: easypiewp.com contact: bob@easypiewp.com
5
+
6
+ Easy Pie Coming Soon Plugin is distributed under the GNU General Public License, Version 3,
7
+ June 2007. Copyright (C) 2007 Free Software Foundation, Inc., 51 Franklin
8
+ St, Fifth Floor, Boston, MA 02110, USA
9
+
10
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
11
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
12
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
13
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
14
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
15
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
16
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
17
+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
18
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
19
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
20
+ */
21
+
22
+ easyPie = {};
23
+ easyPie.CS = {};
24
+
25
+
26
+ jQuery(document).ready(function($) {
27
+
28
+ // TODO: Init stuff
29
+
30
+ })
31
+
32
+
33
+ easyPie.CS.PurgeContact = function(confirmText, yesText, noText, contact_id, wpnonce, successCallback) {
34
+
35
+ //var c = confirm(confirmText);
36
+
37
+ jQuery("#easy-pie-cs-delete-confirm-text").text(confirmText);
38
+
39
+ var dialogButtons = {};
40
+
41
+ dialogButtons[yesText] = function() {
42
+ var that = this;
43
+ jQuery.ajax({
44
+ type: "POST",
45
+ url: ajaxurl,
46
+ dataType: "json",
47
+ timeout: 10000000,
48
+ data:
49
+ {
50
+ 'action': 'EZP_CS_purge_contact',
51
+ 'contact_id': contact_id,
52
+ '_wpnonce' : wpnonce
53
+ },
54
+ beforeSend: function() {
55
+ // alert('beforesend');
56
+ },
57
+ complete: function() {
58
+ // alert('complete');
59
+ },
60
+ success: function(data) {
61
+ jQuery(that).dialog("close");
62
+ // alert('succeess');
63
+ successCallback();
64
+ // location.reload();
65
+ },
66
+ error: function(data) {
67
+ jQuery(that).dialog("close");
68
+ // alert('error');
69
+ // location.reload();
70
+ }
71
+ });
72
+ };
73
+ dialogButtons[noText] = function() {
74
+ jQuery(this).dialog("close");
75
+ };
76
+
77
+
78
+ jQuery("#easy-pie-cs-delete-confirm").dialog({
79
+ resizable: false,
80
+ //height: 40,
81
+ modal: true,
82
+ width: 350,
83
+ buttons: dialogButtons
84
+ });
85
+ }
languages/easy-pie-coming-soon.mo ADDED
Binary file
languages/easy-pie-coming-soon.po ADDED
@@ -0,0 +1,530 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Easy Pie Coming Soon Plugin\n"
4
+ "POT-Creation-Date: 2014-04-19 11:39-0700\n"
5
+ "PO-Revision-Date: 2014-04-19 11:39-0700\n"
6
+ "Last-Translator: \n"
7
+ "Language-Team: \n"
8
+ "Language: en\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.6.4\n"
13
+ "X-Poedit-Basepath: .\n"
14
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
15
+ "X-Poedit-KeywordsList: _e;__\n"
16
+ "X-Poedit-SearchPath-0: ..\n"
17
+
18
+ #: ../classes/Entities/admin/class-ezp-cs-content-entity.php:49
19
+ msgid "Coming soon"
20
+ msgstr ""
21
+
22
+ #: ../classes/Entities/admin/class-ezp-cs-content-entity.php:50
23
+ msgid "Our exciting new website is coming soon! Check back later."
24
+ msgstr ""
25
+
26
+ #: ../classes/Entities/admin/class-ezp-cs-content-entity.php:51
27
+ msgid "We won't spam you or sell your email address. Pinky swear."
28
+ msgstr ""
29
+
30
+ #: ../classes/Entities/admin/class-ezp-cs-content-entity.php:52
31
+ msgid "(C)2014 My Company LLC"
32
+ msgstr ""
33
+
34
+ #: ../classes/Entities/admin/class-ezp-cs-content-entity.php:54
35
+ msgid "Enter email"
36
+ msgstr ""
37
+
38
+ #: ../classes/Entities/admin/class-ezp-cs-content-entity.php:55
39
+ msgid "Enter name"
40
+ msgstr ""
41
+
42
+ #: ../classes/Entities/admin/class-ezp-cs-content-entity.php:56
43
+ msgid "Subscribe"
44
+ msgstr ""
45
+
46
+ #: ../classes/Entities/admin/class-ezp-cs-content-entity.php:58
47
+ msgid "Thank you!"
48
+ msgstr ""
49
+
50
+ #: ../classes/Entities/admin/class-ezp-cs-content-entity.php:59
51
+ msgid "You'll hear from us when we launch."
52
+ msgstr ""
53
+
54
+ #: ../classes/Entities/admin/class-ezp-cs-display-entity.php:81
55
+ msgid "Headline font must end in a unit (px, em, etc...)"
56
+ msgstr ""
57
+
58
+ #: ../classes/Entities/admin/class-ezp-cs-display-entity.php:82
59
+ msgid "Description font must end in a unit (px, em, etc...)"
60
+ msgstr ""
61
+
62
+ #: ../classes/Entities/admin/class-ezp-cs-display-entity.php:83
63
+ msgid "Disclaimer font must end in a unit (px, em, etc...)"
64
+ msgstr ""
65
+
66
+ #: ../classes/Entities/admin/class-ezp-cs-display-entity.php:84
67
+ msgid "Footer font must end in a unit (px, em, etc...)"
68
+ msgstr ""
69
+
70
+ #: ../classes/Entities/admin/class-ezp-cs-display-entity.php:85
71
+ msgid "Email button font must end in a unit (px, em, etc...)"
72
+ msgstr ""
73
+
74
+ #: ../classes/Entities/admin/class-ezp-cs-display-entity.php:87
75
+ msgid "Logo width must end in px or %"
76
+ msgstr ""
77
+
78
+ #: ../classes/Entities/admin/class-ezp-cs-display-entity.php:88
79
+ msgid "Logo height font must end in px or %"
80
+ msgstr ""
81
+
82
+ #: ../classes/Entities/admin/class-ezp-cs-display-entity.php:89
83
+ msgid "Email button height font must end in px or %"
84
+ msgstr ""
85
+
86
+ #: ../classes/Entities/admin/class-ezp-cs-display-entity.php:90
87
+ msgid "Email button width must end in px or %"
88
+ msgstr ""
89
+
90
+ #: ../classes/Entities/admin/class-ezp-cs-display-entity.php:92
91
+ msgid "Content box opacity must be between 0 and 1"
92
+ msgstr ""
93
+
94
+ #: ../classes/Entities/admin/class-ezp-cs-display-entity.php:221
95
+ msgid "Size"
96
+ msgstr ""
97
+
98
+ #: ../classes/Entities/admin/class-ezp-cs-display-entity.php:231
99
+ msgid "Arial"
100
+ msgstr ""
101
+
102
+ #: ../classes/Entities/admin/class-ezp-cs-display-entity.php:232
103
+ msgid "Courier New"
104
+ msgstr ""
105
+
106
+ #: ../classes/Entities/admin/class-ezp-cs-display-entity.php:233
107
+ msgid "Comic Sans MS"
108
+ msgstr ""
109
+
110
+ #: ../classes/Entities/admin/class-ezp-cs-display-entity.php:234
111
+ msgid "Georgia"
112
+ msgstr ""
113
+
114
+ #: ../classes/Entities/admin/class-ezp-cs-display-entity.php:235
115
+ msgid "Impact"
116
+ msgstr ""
117
+
118
+ #: ../classes/Entities/admin/class-ezp-cs-display-entity.php:236
119
+ msgid "Times New Roman"
120
+ msgstr ""
121
+
122
+ #: ../classes/Entities/admin/class-ezp-cs-display-entity.php:237
123
+ msgid "Verdana"
124
+ msgstr ""
125
+
126
+ #: ../classes/Entities/crm/class-ezp-email-entity.php:42
127
+ msgid "Main Email"
128
+ msgstr ""
129
+
130
+ #: ../classes/Utilities/class-ezp-cs-query-utility.php:138
131
+ msgid "Name is too long"
132
+ msgstr ""
133
+
134
+ #: ../classes/Utilities/class-ezp-cs-query-utility.php:143
135
+ msgid "Email address is not valid"
136
+ msgstr ""
137
+
138
+ #: ../classes/Utilities/class-ezp-cs-utility.php:111
139
+ msgid "Coming Soon is On"
140
+ msgstr ""
141
+
142
+ #: ../classes/class-ezp-cs.php:460
143
+ msgid "Easy Pie Coming Soon Template"
144
+ msgstr ""
145
+
146
+ #: ../classes/class-ezp-cs.php:460 ../pages/page-options.php:44
147
+ msgid "Template"
148
+ msgstr ""
149
+
150
+ #: ../classes/class-ezp-cs.php:461
151
+ msgid "Easy Pie Coming Soon Settings"
152
+ msgstr ""
153
+
154
+ #: ../classes/class-ezp-cs.php:461 ../pages/page-options-settings.php:33
155
+ msgid "Settings"
156
+ msgstr ""
157
+
158
+ #: ../classes/class-ezp-cs.php:462
159
+ msgid "Easy Pie Coming Soon Subscribers"
160
+ msgstr ""
161
+
162
+ #: ../classes/class-ezp-cs.php:462 ../pages/page-options-subscribers.php:81
163
+ msgid "Subscribers"
164
+ msgstr ""
165
+
166
+ #: ../classes/class-ezp-cs.php:463
167
+ msgid "Easy Pie Coming Soon Preview"
168
+ msgstr ""
169
+
170
+ #: ../classes/class-ezp-cs.php:463 ../pages/page-preview.php:31
171
+ msgid "Preview"
172
+ msgstr ""
173
+
174
+ #: ../mini-themes/base-responsive/index.php:165
175
+ #: ../pages/page-options-subscribers.php:133
176
+ msgid "Name"
177
+ msgstr ""
178
+
179
+ #: ../mini-themes/base-responsive/index.php:170
180
+ #: ../pages/page-options-subscribers.php:134
181
+ msgid "Email"
182
+ msgstr ""
183
+
184
+ #: ../pages/page-options-content-tab.php:54
185
+ #: ../pages/page-options-display-tab.php:83
186
+ #: ../pages/page-options-settings.php:78
187
+ msgid "Errors present:"
188
+ msgstr ""
189
+
190
+ #: ../pages/page-options-content-tab.php:58
191
+ #: ../pages/page-options-display-tab.php:87
192
+ #: ../pages/page-options-settings.php:82
193
+ msgid "Settings Saved."
194
+ msgstr ""
195
+
196
+ #: ../pages/page-options-content-tab.php:58
197
+ #: ../pages/page-options-display-tab.php:87
198
+ #: ../pages/page-options-settings.php:82
199
+ msgid "If you have a caching plugin be sure to clear it."
200
+ msgstr ""
201
+
202
+ #: ../pages/page-options-content-tab.php:63
203
+ #: ../pages/page-options-display-tab.php:191
204
+ msgid "Logo"
205
+ msgstr ""
206
+
207
+ #: ../pages/page-options-content-tab.php:67
208
+ #: ../pages/page-options-display-tab.php:115
209
+ msgid "Image"
210
+ msgstr ""
211
+
212
+ #: ../pages/page-options-content-tab.php:72
213
+ #: ../pages/page-options-display-tab.php:164
214
+ msgid "Upload"
215
+ msgstr ""
216
+
217
+ #: ../pages/page-options-content-tab.php:82
218
+ msgid "Main Text"
219
+ msgstr ""
220
+
221
+ #: ../pages/page-options-content-tab.php:86
222
+ #: ../pages/page-options-content-tab.php:173
223
+ msgid "Headline"
224
+ msgstr ""
225
+
226
+ #: ../pages/page-options-content-tab.php:96
227
+ msgid "Description"
228
+ msgstr ""
229
+
230
+ #: ../pages/page-options-content-tab.php:106
231
+ msgid "Disclaimer"
232
+ msgstr ""
233
+
234
+ #: ../pages/page-options-content-tab.php:116
235
+ msgid "Footer"
236
+ msgstr ""
237
+
238
+ #: ../pages/page-options-content-tab.php:129
239
+ msgid "Email Text"
240
+ msgstr ""
241
+
242
+ #: ../pages/page-options-content-tab.php:134
243
+ msgid "Email Placeholder"
244
+ msgstr ""
245
+
246
+ #: ../pages/page-options-content-tab.php:144
247
+ msgid "Name Placeholder"
248
+ msgstr ""
249
+
250
+ #: ../pages/page-options-content-tab.php:154
251
+ msgid "Button"
252
+ msgstr ""
253
+
254
+ #: ../pages/page-options-content-tab.php:163
255
+ msgid "Section relevant only if email collection is enabled in settings"
256
+ msgstr ""
257
+
258
+ #: ../pages/page-options-content-tab.php:169
259
+ msgid "Thank You Text"
260
+ msgstr ""
261
+
262
+ #: ../pages/page-options-content-tab.php:184
263
+ #: ../pages/page-options-display-tab.php:255
264
+ msgid "Text"
265
+ msgstr ""
266
+
267
+ #: ../pages/page-options-content-tab.php:193
268
+ msgid "Section relevant only if email collection is enabled on the display tab"
269
+ msgstr ""
270
+
271
+ #: ../pages/page-options-display-tab.php:93
272
+ msgid "Display Template"
273
+ msgstr ""
274
+
275
+ #: ../pages/page-options-display-tab.php:95
276
+ msgid "Templates"
277
+ msgstr ""
278
+
279
+ #: ../pages/page-options-display-tab.php:96
280
+ msgid "Templates give you a starting point for your display settings."
281
+ msgstr ""
282
+
283
+ #: ../pages/page-options-display-tab.php:101
284
+ msgid "Background"
285
+ msgstr ""
286
+
287
+ #: ../pages/page-options-display-tab.php:105
288
+ #: ../pages/page-options-display-tab.php:240
289
+ #: ../pages/page-options-display-tab.php:308
290
+ msgid "Color"
291
+ msgstr ""
292
+
293
+ #: ../pages/page-options-display-tab.php:119
294
+ msgid "Instead of background color use one of these images"
295
+ msgstr ""
296
+
297
+ #: ../pages/page-options-display-tab.php:160
298
+ msgid "or use your own"
299
+ msgstr ""
300
+
301
+ #: ../pages/page-options-display-tab.php:173
302
+ msgid "Tile"
303
+ msgstr ""
304
+
305
+ #: ../pages/page-options-display-tab.php:178
306
+ msgid "Enabled"
307
+ msgstr ""
308
+
309
+ #: ../pages/page-options-display-tab.php:181
310
+ msgid "Image covers screen when tiling is disabled"
311
+ msgstr ""
312
+
313
+ #: ../pages/page-options-display-tab.php:196
314
+ #: ../pages/page-options-display-tab.php:283
315
+ msgid "Width"
316
+ msgstr ""
317
+
318
+ #: ../pages/page-options-display-tab.php:201
319
+ #: ../pages/page-options-display-tab.php:212
320
+ msgid "Specify px or %"
321
+ msgstr ""
322
+
323
+ #: ../pages/page-options-display-tab.php:207
324
+ #: ../pages/page-options-display-tab.php:294
325
+ msgid "Height"
326
+ msgstr ""
327
+
328
+ #: ../pages/page-options-display-tab.php:223
329
+ msgid "Content Box"
330
+ msgstr ""
331
+
332
+ #: ../pages/page-options-display-tab.php:227
333
+ msgid "Opacity"
334
+ msgstr ""
335
+
336
+ #: ../pages/page-options-display-tab.php:271
337
+ msgid "Specify px or em for sizes"
338
+ msgstr ""
339
+
340
+ #: ../pages/page-options-display-tab.php:278
341
+ msgid "Email Button"
342
+ msgstr ""
343
+
344
+ #: ../pages/page-options-display-tab.php:288
345
+ #: ../pages/page-options-display-tab.php:299
346
+ msgid "Append px or %"
347
+ msgstr ""
348
+
349
+ #: ../pages/page-options-display-tab.php:323
350
+ msgid "Advanced"
351
+ msgstr ""
352
+
353
+ #: ../pages/page-options-display-tab.php:326
354
+ msgid "Custom CSS"
355
+ msgstr ""
356
+
357
+ #: ../pages/page-options-display-tab.php:334
358
+ msgid "CSS Customization tips"
359
+ msgstr ""
360
+
361
+ #: ../pages/page-options-settings.php:36 ../pages/page-options.php:47
362
+ msgid "If you have a caching plugin, be sure to clear the cache!"
363
+ msgstr ""
364
+
365
+ #: ../pages/page-options-settings.php:87
366
+ msgid "General"
367
+ msgstr ""
368
+
369
+ #: ../pages/page-options-settings.php:91
370
+ msgid "Status"
371
+ msgstr ""
372
+
373
+ #: ../pages/page-options-settings.php:95
374
+ msgid "On"
375
+ msgstr ""
376
+
377
+ #: ../pages/page-options-settings.php:96
378
+ msgid "Off"
379
+ msgstr ""
380
+
381
+ #: ../pages/page-options-settings.php:106
382
+ msgid "Collection"
383
+ msgstr ""
384
+
385
+ #: ../pages/page-options-settings.php:110
386
+ msgid "Collect Email"
387
+ msgstr ""
388
+
389
+ #: ../pages/page-options-settings.php:115
390
+ #: ../pages/page-options-settings.php:126
391
+ #: ../pages/page-options-subscribers.php:151
392
+ msgid "Yes"
393
+ msgstr ""
394
+
395
+ #: ../pages/page-options-settings.php:121
396
+ msgid "Collect Name"
397
+ msgstr ""
398
+
399
+ #: ../pages/page-options-settings.php:136
400
+ msgid "HTTP"
401
+ msgstr ""
402
+
403
+ #: ../pages/page-options-settings.php:140
404
+ msgid "Return Code"
405
+ msgstr ""
406
+
407
+ #: ../pages/page-options-settings.php:144
408
+ msgid "200"
409
+ msgstr ""
410
+
411
+ #: ../pages/page-options-settings.php:145
412
+ msgid "503"
413
+ msgstr ""
414
+
415
+ #: ../pages/page-options-settings.php:154
416
+ msgid "Social"
417
+ msgstr ""
418
+
419
+ #: ../pages/page-options-settings.php:158
420
+ msgid "Facebook URL"
421
+ msgstr ""
422
+
423
+ #: ../pages/page-options-settings.php:168
424
+ msgid "Google Plus URL"
425
+ msgstr ""
426
+
427
+ #: ../pages/page-options-settings.php:178
428
+ msgid "Twitter URL"
429
+ msgstr ""
430
+
431
+ #: ../pages/page-options-settings.php:192
432
+ msgid "SEO"
433
+ msgstr ""
434
+
435
+ #: ../pages/page-options-settings.php:196
436
+ msgid "Author URL"
437
+ msgstr ""
438
+
439
+ #: ../pages/page-options-settings.php:201
440
+ msgid "Google+ or other identifying URL"
441
+ msgstr ""
442
+
443
+ #: ../pages/page-options-settings.php:207
444
+ msgid "Meta Description"
445
+ msgstr ""
446
+
447
+ #: ../pages/page-options-settings.php:217
448
+ msgid "Meta Keywords"
449
+ msgstr ""
450
+
451
+ #: ../pages/page-options-settings.php:222
452
+ msgid "Comma separated list"
453
+ msgstr ""
454
+
455
+ #: ../pages/page-options-settings.php:228
456
+ msgid "Analytics Code"
457
+ msgstr ""
458
+
459
+ #: ../pages/page-options-settings.php:233
460
+ msgid "Analytics tracking code"
461
+ msgstr ""
462
+
463
+ #: ../pages/page-options-settings.php:233
464
+ msgid "include"
465
+ msgstr ""
466
+
467
+ #: ../pages/page-options-settings.php:244
468
+ #: ../pages/page-options-subscribers.php:179 ../pages/page-options.php:77
469
+ msgid "Plugin FAQ"
470
+ msgstr ""
471
+
472
+ #: ../pages/page-options-settings.php:246
473
+ #: ../pages/page-options-subscribers.php:181 ../pages/page-options.php:79
474
+ msgid "Contact"
475
+ msgstr ""
476
+
477
+ #: ../pages/page-options-settings.php:248
478
+ #: ../pages/page-options-subscribers.php:183 ../pages/page-options.php:81
479
+ msgid "Donate"
480
+ msgstr ""
481
+
482
+ #: ../pages/page-options-subscribers.php:135
483
+ msgid "Date"
484
+ msgstr ""
485
+
486
+ #: ../pages/page-options-subscribers.php:136
487
+ #: ../pages/page-options-subscribers.php:149
488
+ #: ../pages/page-options-subscribers.php:153
489
+ msgid "Delete"
490
+ msgstr ""
491
+
492
+ #: ../pages/page-options-subscribers.php:145
493
+ msgid "unknown"
494
+ msgstr ""
495
+
496
+ #: ../pages/page-options-subscribers.php:152
497
+ msgid "No"
498
+ msgstr ""
499
+
500
+ #: ../pages/page-options-subscribers.php:163
501
+ msgid "Prev"
502
+ msgstr ""
503
+
504
+ #: ../pages/page-options-subscribers.php:164
505
+ msgid "Page"
506
+ msgstr ""
507
+
508
+ #: ../pages/page-options-subscribers.php:164
509
+ msgid "of"
510
+ msgstr ""
511
+
512
+ #: ../pages/page-options-subscribers.php:166
513
+ msgid "Next"
514
+ msgstr ""
515
+
516
+ #: ../pages/page-options-subscribers.php:168
517
+ msgid "CSV Export All"
518
+ msgstr ""
519
+
520
+ #: ../pages/page-options-subscribers.php:176
521
+ msgid "Delete User?"
522
+ msgstr ""
523
+
524
+ #: ../pages/page-options.php:53
525
+ msgid "Display"
526
+ msgstr ""
527
+
528
+ #: ../pages/page-options.php:54
529
+ msgid "Content"
530
+ msgstr ""
license.txt ADDED
@@ -0,0 +1,621 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ GNU GENERAL PUBLIC LICENSE
2
+ Version 3, 29 June 2007
3
+
4
+ Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
5
+ Everyone is permitted to copy and distribute verbatim copies
6
+ of this license document, but changing it is not allowed.
7
+
8
+ Preamble
9
+
10
+ The GNU General Public License is a free, copyleft license for
11
+ software and other kinds of works.
12
+
13
+ The licenses for most software and other practical works are designed
14
+ to take away your freedom to share and change the works. By contrast,
15
+ the GNU General Public License is intended to guarantee your freedom to
16
+ share and change all versions of a program--to make sure it remains free
17
+ software for all its users. We, the Free Software Foundation, use the
18
+ GNU General Public License for most of our software; it applies also to
19
+ any other work released this way by its authors. You can apply it to
20
+ your programs, too.
21
+
22
+ When we speak of free software, we are referring to freedom, not
23
+ price. Our General Public Licenses are designed to make sure that you
24
+ have the freedom to distribute copies of free software (and charge for
25
+ them if you wish), that you receive source code or can get it if you
26
+ want it, that you can change the software or use pieces of it in new
27
+ free programs, and that you know you can do these things.
28
+
29
+ To protect your rights, we need to prevent others from denying you
30
+ these rights or asking you to surrender the rights. Therefore, you have
31
+ certain responsibilities if you distribute copies of the software, or if
32
+ you modify it: responsibilities to respect the freedom of others.
33
+
34
+ For example, if you distribute copies of such a program, whether
35
+ gratis or for a fee, you must pass on to the recipients the same
36
+ freedoms that you received. You must make sure that they, too, receive
37
+ or can get the source code. And you must show them these terms so they
38
+ know their rights.
39
+
40
+ Developers that use the GNU GPL protect your rights with two steps:
41
+ (1) assert copyright on the software, and (2) offer you this License
42
+ giving you legal permission to copy, distribute and/or modify it.
43
+
44
+ For the developers' and authors' protection, the GPL clearly explains
45
+ that there is no warranty for this free software. For both users' and
46
+ authors' sake, the GPL requires that modified versions be marked as
47
+ changed, so that their problems will not be attributed erroneously to
48
+ authors of previous versions.
49
+
50
+ Some devices are designed to deny users access to install or run
51
+ modified versions of the software inside them, although the manufacturer
52
+ can do so. This is fundamentally incompatible with the aim of
53
+ protecting users' freedom to change the software. The systematic
54
+ pattern of such abuse occurs in the area of products for individuals to
55
+ use, which is precisely where it is most unacceptable. Therefore, we
56
+ have designed this version of the GPL to prohibit the practice for those
57
+ products. If such problems arise substantially in other domains, we
58
+ stand ready to extend this provision to those domains in future versions
59
+ of the GPL, as needed to protect the freedom of users.
60
+
61
+ Finally, every program is threatened constantly by software patents.
62
+ States should not allow patents to restrict development and use of
63
+ software on general-purpose computers, but in those that do, we wish to
64
+ avoid the special danger that patents applied to a free program could
65
+ make it effectively proprietary. To prevent this, the GPL assures that
66
+ patents cannot be used to render the program non-free.
67
+
68
+ The precise terms and conditions for copying, distribution and
69
+ modification follow.
70
+
71
+ TERMS AND CONDITIONS
72
+
73
+ 0. Definitions.
74
+
75
+ "This License" refers to version 3 of the GNU General Public License.
76
+
77
+ "Copyright" also means copyright-like laws that apply to other kinds of
78
+ works, such as semiconductor masks.
79
+
80
+ "The Program" refers to any copyrightable work licensed under this
81
+ License. Each licensee is addressed as "you". "Licensees" and
82
+ "recipients" may be individuals or organizations.
83
+
84
+ To "modify" a work means to copy from or adapt all or part of the work
85
+ in a fashion requiring copyright permission, other than the making of an
86
+ exact copy. The resulting work is called a "modified version" of the
87
+ earlier work or a work "based on" the earlier work.
88
+
89
+ A "covered work" means either the unmodified Program or a work based
90
+ on the Program.
91
+
92
+ To "propagate" a work means to do anything with it that, without
93
+ permission, would make you directly or secondarily liable for
94
+ infringement under applicable copyright law, except executing it on a
95
+ computer or modifying a private copy. Propagation includes copying,
96
+ distribution (with or without modification), making available to the
97
+ public, and in some countries other activities as well.
98
+
99
+ To "convey" a work means any kind of propagation that enables other
100
+ parties to make or receive copies. Mere interaction with a user through
101
+ a computer network, with no transfer of a copy, is not conveying.
102
+
103
+ An interactive user interface displays "Appropriate Legal Notices"
104
+ to the extent that it includes a convenient and prominently visible
105
+ feature that (1) displays an appropriate copyright notice, and (2)
106
+ tells the user that there is no warranty for the work (except to the
107
+ extent that warranties are provided), that licensees may convey the
108
+ work under this License, and how to view a copy of this License. If
109
+ the interface presents a list of user commands or options, such as a
110
+ menu, a prominent item in the list meets this criterion.
111
+
112
+ 1. Source Code.
113
+
114
+ The "source code" for a work means the preferred form of the work
115
+ for making modifications to it. "Object code" means any non-source
116
+ form of a work.
117
+
118
+ A "Standard Interface" means an interface that either is an official
119
+ standard defined by a recognized standards body, or, in the case of
120
+ interfaces specified for a particular programming language, one that
121
+ is widely used among developers working in that language.
122
+
123
+ The "System Libraries" of an executable work include anything, other
124
+ than the work as a whole, that (a) is included in the normal form of
125
+ packaging a Major Component, but which is not part of that Major
126
+ Component, and (b) serves only to enable use of the work with that
127
+ Major Component, or to implement a Standard Interface for which an
128
+ implementation is available to the public in source code form. A
129
+ "Major Component", in this context, means a major essential component
130
+ (kernel, window system, and so on) of the specific operating system
131
+ (if any) on which the executable work runs, or a compiler used to
132
+ produce the work, or an object code interpreter used to run it.
133
+
134
+ The "Corresponding Source" for a work in object code form means all
135
+ the source code needed to generate, install, and (for an executable
136
+ work) run the object code and to modify the work, including scripts to
137
+ control those activities. However, it does not include the work's
138
+ System Libraries, or general-purpose tools or generally available free
139
+ programs which are used unmodified in performing those activities but
140
+ which are not part of the work. For example, Corresponding Source
141
+ includes interface definition files associated with source files for
142
+ the work, and the source code for shared libraries and dynamically
143
+ linked subprograms that the work is specifically designed to require,
144
+ such as by intimate data communication or control flow between those
145
+ subprograms and other parts of the work.
146
+
147
+ The Corresponding Source need not include anything that users
148
+ can regenerate automatically from other parts of the Corresponding
149
+ Source.
150
+
151
+ The Corresponding Source for a work in source code form is that
152
+ same work.
153
+
154
+ 2. Basic Permissions.
155
+
156
+ All rights granted under this License are granted for the term of
157
+ copyright on the Program, and are irrevocable provided the stated
158
+ conditions are met. This License explicitly affirms your unlimited
159
+ permission to run the unmodified Program. The output from running a
160
+ covered work is covered by this License only if the output, given its
161
+ content, constitutes a covered work. This License acknowledges your
162
+ rights of fair use or other equivalent, as provided by copyright law.
163
+
164
+ You may make, run and propagate covered works that you do not
165
+ convey, without conditions so long as your license otherwise remains
166
+ in force. You may convey covered works to others for the sole purpose
167
+ of having them make modifications exclusively for you, or provide you
168
+ with facilities for running those works, provided that you comply with
169
+ the terms of this License in conveying all material for which you do
170
+ not control copyright. Those thus making or running the covered works
171
+ for you must do so exclusively on your behalf, under your direction
172
+ and control, on terms that prohibit them from making any copies of
173
+ your copyrighted material outside their relationship with you.
174
+
175
+ Conveying under any other circumstances is permitted solely under
176
+ the conditions stated below. Sublicensing is not allowed; section 10
177
+ makes it unnecessary.
178
+
179
+ 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
180
+
181
+ No covered work shall be deemed part of an effective technological
182
+ measure under any applicable law fulfilling obligations under article
183
+ 11 of the WIPO copyright treaty adopted on 20 December 1996, or
184
+ similar laws prohibiting or restricting circumvention of such
185
+ measures.
186
+
187
+ When you convey a covered work, you waive any legal power to forbid
188
+ circumvention of technological measures to the extent such circumvention
189
+ is effected by exercising rights under this License with respect to
190
+ the covered work, and you disclaim any intention to limit operation or
191
+ modification of the work as a means of enforcing, against the work's
192
+ users, your or third parties' legal rights to forbid circumvention of
193
+ technological measures.
194
+
195
+ 4. Conveying Verbatim Copies.
196
+
197
+ You may convey verbatim copies of the Program's source code as you
198
+ receive it, in any medium, provided that you conspicuously and
199
+ appropriately publish on each copy an appropriate copyright notice;
200
+ keep intact all notices stating that this License and any
201
+ non-permissive terms added in accord with section 7 apply to the code;
202
+ keep intact all notices of the absence of any warranty; and give all
203
+ recipients a copy of this License along with the Program.
204
+
205
+ You may charge any price or no price for each copy that you convey,
206
+ and you may offer support or warranty protection for a fee.
207
+
208
+ 5. Conveying Modified Source Versions.
209
+
210
+ You may convey a work based on the Program, or the modifications to
211
+ produce it from the Program, in the form of source code under the
212
+ terms of section 4, provided that you also meet all of these conditions:
213
+
214
+ a) The work must carry prominent notices stating that you modified
215
+ it, and giving a relevant date.
216
+
217
+ b) The work must carry prominent notices stating that it is
218
+ released under this License and any conditions added under section
219
+ 7. This requirement modifies the requirement in section 4 to
220
+ "keep intact all notices".
221
+
222
+ c) You must license the entire work, as a whole, under this
223
+ License to anyone who comes into possession of a copy. This
224
+ License will therefore apply, along with any applicable section 7
225
+ additional terms, to the whole of the work, and all its parts,
226
+ regardless of how they are packaged. This License gives no
227
+ permission to license the work in any other way, but it does not
228
+ invalidate such permission if you have separately received it.
229
+
230
+ d) If the work has interactive user interfaces, each must display
231
+ Appropriate Legal Notices; however, if the Program has interactive
232
+ interfaces that do not display Appropriate Legal Notices, your
233
+ work need not make them do so.
234
+
235
+ A compilation of a covered work with other separate and independent
236
+ works, which are not by their nature extensions of the covered work,
237
+ and which are not combined with it such as to form a larger program,
238
+ in or on a volume of a storage or distribution medium, is called an
239
+ "aggregate" if the compilation and its resulting copyright are not
240
+ used to limit the access or legal rights of the compilation's users
241
+ beyond what the individual works permit. Inclusion of a covered work
242
+ in an aggregate does not cause this License to apply to the other
243
+ parts of the aggregate.
244
+
245
+ 6. Conveying Non-Source Forms.
246
+
247
+ You may convey a covered work in object code form under the terms
248
+ of sections 4 and 5, provided that you also convey the
249
+ machine-readable Corresponding Source under the terms of this License,
250
+ in one of these ways:
251
+
252
+ a) Convey the object code in, or embodied in, a physical product
253
+ (including a physical distribution medium), accompanied by the
254
+ Corresponding Source fixed on a durable physical medium
255
+ customarily used for software interchange.
256
+
257
+ b) Convey the object code in, or embodied in, a physical product
258
+ (including a physical distribution medium), accompanied by a
259
+ written offer, valid for at least three years and valid for as
260
+ long as you offer spare parts or customer support for that product
261
+ model, to give anyone who possesses the object code either (1) a
262
+ copy of the Corresponding Source for all the software in the
263
+ product that is covered by this License, on a durable physical
264
+ medium customarily used for software interchange, for a price no
265
+ more than your reasonable cost of physically performing this
266
+ conveying of source, or (2) access to copy the
267
+ Corresponding Source from a network server at no charge.
268
+
269
+ c) Convey individual copies of the object code with a copy of the
270
+ written offer to provide the Corresponding Source. This
271
+ alternative is allowed only occasionally and noncommercially, and
272
+ only if you received the object code with such an offer, in accord
273
+ with subsection 6b.
274
+
275
+ d) Convey the object code by offering access from a designated
276
+ place (gratis or for a charge), and offer equivalent access to the
277
+ Corresponding Source in the same way through the same place at no
278
+ further charge. You need not require recipients to copy the
279
+ Corresponding Source along with the object code. If the place to
280
+ copy the object code is a network server, the Corresponding Source
281
+ may be on a different server (operated by you or a third party)
282
+ that supports equivalent copying facilities, provided you maintain
283
+ clear directions next to the object code saying where to find the
284
+ Corresponding Source. Regardless of what server hosts the
285
+ Corresponding Source, you remain obligated to ensure that it is
286
+ available for as long as needed to satisfy these requirements.
287
+
288
+ e) Convey the object code using peer-to-peer transmission, provided
289
+ you inform other peers where the object code and Corresponding
290
+ Source of the work are being offered to the general public at no
291
+ charge under subsection 6d.
292
+
293
+ A separable portion of the object code, whose source code is excluded
294
+ from the Corresponding Source as a System Library, need not be
295
+ included in conveying the object code work.
296
+
297
+ A "User Product" is either (1) a "consumer product", which means any
298
+ tangible personal property which is normally used for personal, family,
299
+ or household purposes, or (2) anything designed or sold for incorporation
300
+ into a dwelling. In determining whether a product is a consumer product,
301
+ doubtful cases shall be resolved in favor of coverage. For a particular
302
+ product received by a particular user, "normally used" refers to a
303
+ typical or common use of that class of product, regardless of the status
304
+ of the particular user or of the way in which the particular user
305
+ actually uses, or expects or is expected to use, the product. A product
306
+ is a consumer product regardless of whether the product has substantial
307
+ commercial, industrial or non-consumer uses, unless such uses represent
308
+ the only significant mode of use of the product.
309
+
310
+ "Installation Information" for a User Product means any methods,
311
+ procedures, authorization keys, or other information required to install
312
+ and execute modified versions of a covered work in that User Product from
313
+ a modified version of its Corresponding Source. The information must
314
+ suffice to ensure that the continued functioning of the modified object
315
+ code is in no case prevented or interfered with solely because
316
+ modification has been made.
317
+
318
+ If you convey an object code work under this section in, or with, or
319
+ specifically for use in, a User Product, and the conveying occurs as
320
+ part of a transaction in which the right of possession and use of the
321
+ User Product is transferred to the recipient in perpetuity or for a
322
+ fixed term (regardless of how the transaction is characterized), the
323
+ Corresponding Source conveyed under this section must be accompanied
324
+ by the Installation Information. But this requirement does not apply
325
+ if neither you nor any third party retains the ability to install
326
+ modified object code on the User Product (for example, the work has
327
+ been installed in ROM).
328
+
329
+ The requirement to provide Installation Information does not include a
330
+ requirement to continue to provide support service, warranty, or updates
331
+ for a work that has been modified or installed by the recipient, or for
332
+ the User Product in which it has been modified or installed. Access to a
333
+ network may be denied when the modification itself materially and
334
+ adversely affects the operation of the network or violates the rules and
335
+ protocols for communication across the network.
336
+
337
+ Corresponding Source conveyed, and Installation Information provided,
338
+ in accord with this section must be in a format that is publicly
339
+ documented (and with an implementation available to the public in
340
+ source code form), and must require no special password or key for
341
+ unpacking, reading or copying.
342
+
343
+ 7. Additional Terms.
344
+
345
+ "Additional permissions" are terms that supplement the terms of this
346
+ License by making exceptions from one or more of its conditions.
347
+ Additional permissions that are applicable to the entire Program shall
348
+ be treated as though they were included in this License, to the extent
349
+ that they are valid under applicable law. If additional permissions
350
+ apply only to part of the Program, that part may be used separately
351
+ under those permissions, but the entire Program remains governed by
352
+ this License without regard to the additional permissions.
353
+
354
+ When you convey a copy of a covered work, you may at your option
355
+ remove any additional permissions from that copy, or from any part of
356
+ it. (Additional permissions may be written to require their own
357
+ removal in certain cases when you modify the work.) You may place
358
+ additional permissions on material, added by you to a covered work,
359
+ for which you have or can give appropriate copyright permission.
360
+
361
+ Notwithstanding any other provision of this License, for material you
362
+ add to a covered work, you may (if authorized by the copyright holders of
363
+ that material) supplement the terms of this License with terms:
364
+
365
+ a) Disclaiming warranty or limiting liability differently from the
366
+ terms of sections 15 and 16 of this License; or
367
+
368
+ b) Requiring preservation of specified reasonable legal notices or
369
+ author attributions in that material or in the Appropriate Legal
370
+ Notices displayed by works containing it; or
371
+
372
+ c) Prohibiting misrepresentation of the origin of that material, or
373
+ requiring that modified versions of such material be marked in
374
+ reasonable ways as different from the original version; or
375
+
376
+ d) Limiting the use for publicity purposes of names of licensors or
377
+ authors of the material; or
378
+
379
+ e) Declining to grant rights under trademark law for use of some
380
+ trade names, trademarks, or service marks; or
381
+
382
+ f) Requiring indemnification of licensors and authors of that
383
+ material by anyone who conveys the material (or modified versions of
384
+ it) with contractual assumptions of liability to the recipient, for
385
+ any liability that these contractual assumptions directly impose on
386
+ those licensors and authors.
387
+
388
+ All other non-permissive additional terms are considered "further
389
+ restrictions" within the meaning of section 10. If the Program as you
390
+ received it, or any part of it, contains a notice stating that it is
391
+ governed by this License along with a term that is a further
392
+ restriction, you may remove that term. If a license document contains
393
+ a further restriction but permits relicensing or conveying under this
394
+ License, you may add to a covered work material governed by the terms
395
+ of that license document, provided that the further restriction does
396
+ not survive such relicensing or conveying.
397
+
398
+ If you add terms to a covered work in accord with this section, you
399
+ must place, in the relevant source files, a statement of the
400
+ additional terms that apply to those files, or a notice indicating
401
+ where to find the applicable terms.
402
+
403
+ Additional terms, permissive or non-permissive, may be stated in the
404
+ form of a separately written license, or stated as exceptions;
405
+ the above requirements apply either way.
406
+
407
+ 8. Termination.
408
+
409
+ You may not propagate or modify a covered work except as expressly
410
+ provided under this License. Any attempt otherwise to propagate or
411
+ modify it is void, and will automatically terminate your rights under
412
+ this License (including any patent licenses granted under the third
413
+ paragraph of section 11).
414
+
415
+ However, if you cease all violation of this License, then your
416
+ license from a particular copyright holder is reinstated (a)
417
+ provisionally, unless and until the copyright holder explicitly and
418
+ finally terminates your license, and (b) permanently, if the copyright
419
+ holder fails to notify you of the violation by some reasonable means
420
+ prior to 60 days after the cessation.
421
+
422
+ Moreover, your license from a particular copyright holder is
423
+ reinstated permanently if the copyright holder notifies you of the
424
+ violation by some reasonable means, this is the first time you have
425
+ received notice of violation of this License (for any work) from that
426
+ copyright holder, and you cure the violation prior to 30 days after
427
+ your receipt of the notice.
428
+
429
+ Termination of your rights under this section does not terminate the
430
+ licenses of parties who have received copies or rights from you under
431
+ this License. If your rights have been terminated and not permanently
432
+ reinstated, you do not qualify to receive new licenses for the same
433
+ material under section 10.
434
+
435
+ 9. Acceptance Not Required for Having Copies.
436
+
437
+ You are not required to accept this License in order to receive or
438
+ run a copy of the Program. Ancillary propagation of a covered work
439
+ occurring solely as a consequence of using peer-to-peer transmission
440
+ to receive a copy likewise does not require acceptance. However,
441
+ nothing other than this License grants you permission to propagate or
442
+ modify any covered work. These actions infringe copyright if you do
443
+ not accept this License. Therefore, by modifying or propagating a
444
+ covered work, you indicate your acceptance of this License to do so.
445
+
446
+ 10. Automatic Licensing of Downstream Recipients.
447
+
448
+ Each time you convey a covered work, the recipient automatically
449
+ receives a license from the original licensors, to run, modify and
450
+ propagate that work, subject to this License. You are not responsible
451
+ for enforcing compliance by third parties with this License.
452
+
453
+ An "entity transaction" is a transaction transferring control of an
454
+ organization, or substantially all assets of one, or subdividing an
455
+ organization, or merging organizations. If propagation of a covered
456
+ work results from an entity transaction, each party to that
457
+ transaction who receives a copy of the work also receives whatever
458
+ licenses to the work the party's predecessor in interest had or could
459
+ give under the previous paragraph, plus a right to possession of the
460
+ Corresponding Source of the work from the predecessor in interest, if
461
+ the predecessor has it or can get it with reasonable efforts.
462
+
463
+ You may not impose any further restrictions on the exercise of the
464
+ rights granted or affirmed under this License. For example, you may
465
+ not impose a license fee, royalty, or other charge for exercise of
466
+ rights granted under this License, and you may not initiate litigation
467
+ (including a cross-claim or counterclaim in a lawsuit) alleging that
468
+ any patent claim is infringed by making, using, selling, offering for
469
+ sale, or importing the Program or any portion of it.
470
+
471
+ 11. Patents.
472
+
473
+ A "contributor" is a copyright holder who authorizes use under this
474
+ License of the Program or a work on which the Program is based. The
475
+ work thus licensed is called the contributor's "contributor version".
476
+
477
+ A contributor's "essential patent claims" are all patent claims
478
+ owned or controlled by the contributor, whether already acquired or
479
+ hereafter acquired, that would be infringed by some manner, permitted
480
+ by this License, of making, using, or selling its contributor version,
481
+ but do not include claims that would be infringed only as a
482
+ consequence of further modification of the contributor version. For
483
+ purposes of this definition, "control" includes the right to grant
484
+ patent sublicenses in a manner consistent with the requirements of
485
+ this License.
486
+
487
+ Each contributor grants you a non-exclusive, worldwide, royalty-free
488
+ patent license under the contributor's essential patent claims, to
489
+ make, use, sell, offer for sale, import and otherwise run, modify and
490
+ propagate the contents of its contributor version.
491
+
492
+ In the following three paragraphs, a "patent license" is any express
493
+ agreement or commitment, however denominated, not to enforce a patent
494
+ (such as an express permission to practice a patent or covenant not to
495
+ sue for patent infringement). To "grant" such a patent license to a
496
+ party means to make such an agreement or commitment not to enforce a
497
+ patent against the party.
498
+
499
+ If you convey a covered work, knowingly relying on a patent license,
500
+ and the Corresponding Source of the work is not available for anyone
501
+ to copy, free of charge and under the terms of this License, through a
502
+ publicly available network server or other readily accessible means,
503
+ then you must either (1) cause the Corresponding Source to be so
504
+ available, or (2) arrange to deprive yourself of the benefit of the
505
+ patent license for this particular work, or (3) arrange, in a manner
506
+ consistent with the requirements of this License, to extend the patent
507
+ license to downstream recipients. "Knowingly relying" means you have
508
+ actual knowledge that, but for the patent license, your conveying the
509
+ covered work in a country, or your recipient's use of the covered work
510
+ in a country, would infringe one or more identifiable patents in that
511
+ country that you have reason to believe are valid.
512
+
513
+ If, pursuant to or in connection with a single transaction or
514
+ arrangement, you convey, or propagate by procuring conveyance of, a
515
+ covered work, and grant a patent license to some of the parties
516
+ receiving the covered work authorizing them to use, propagate, modify
517
+ or convey a specific copy of the covered work, then the patent license
518
+ you grant is automatically extended to all recipients of the covered
519
+ work and works based on it.
520
+
521
+ A patent license is "discriminatory" if it does not include within
522
+ the scope of its coverage, prohibits the exercise of, or is
523
+ conditioned on the non-exercise of one or more of the rights that are
524
+ specifically granted under this License. You may not convey a covered
525
+ work if you are a party to an arrangement with a third party that is
526
+ in the business of distributing software, under which you make payment
527
+ to the third party based on the extent of your activity of conveying
528
+ the work, and under which the third party grants, to any of the
529
+ parties who would receive the covered work from you, a discriminatory
530
+ patent license (a) in connection with copies of the covered work
531
+ conveyed by you (or copies made from those copies), or (b) primarily
532
+ for and in connection with specific products or compilations that
533
+ contain the covered work, unless you entered into that arrangement,
534
+ or that patent license was granted, prior to 28 March 2007.
535
+
536
+ Nothing in this License shall be construed as excluding or limiting
537
+ any implied license or other defenses to infringement that may
538
+ otherwise be available to you under applicable patent law.
539
+
540
+ 12. No Surrender of Others' Freedom.
541
+
542
+ If conditions are imposed on you (whether by court order, agreement or
543
+ otherwise) that contradict the conditions of this License, they do not
544
+ excuse you from the conditions of this License. If you cannot convey a
545
+ covered work so as to satisfy simultaneously your obligations under this
546
+ License and any other pertinent obligations, then as a consequence you may
547
+ not convey it at all. For example, if you agree to terms that obligate you
548
+ to collect a royalty for further conveying from those to whom you convey
549
+ the Program, the only way you could satisfy both those terms and this
550
+ License would be to refrain entirely from conveying the Program.
551
+
552
+ 13. Use with the GNU Affero General Public License.
553
+
554
+ Notwithstanding any other provision of this License, you have
555
+ permission to link or combine any covered work with a work licensed
556
+ under version 3 of the GNU Affero General Public License into a single
557
+ combined work, and to convey the resulting work. The terms of this
558
+ License will continue to apply to the part which is the covered work,
559
+ but the special requirements of the GNU Affero General Public License,
560
+ section 13, concerning interaction through a network will apply to the
561
+ combination as such.
562
+
563
+ 14. Revised Versions of this License.
564
+
565
+ The Free Software Foundation may publish revised and/or new versions of
566
+ the GNU General Public License from time to time. Such new versions will
567
+ be similar in spirit to the present version, but may differ in detail to
568
+ address new problems or concerns.
569
+
570
+ Each version is given a distinguishing version number. If the
571
+ Program specifies that a certain numbered version of the GNU General
572
+ Public License "or any later version" applies to it, you have the
573
+ option of following the terms and conditions either of that numbered
574
+ version or of any later version published by the Free Software
575
+ Foundation. If the Program does not specify a version number of the
576
+ GNU General Public License, you may choose any version ever published
577
+ by the Free Software Foundation.
578
+
579
+ If the Program specifies that a proxy can decide which future
580
+ versions of the GNU General Public License can be used, that proxy's
581
+ public statement of acceptance of a version permanently authorizes you
582
+ to choose that version for the Program.
583
+
584
+ Later license versions may give you additional or different
585
+ permissions. However, no additional obligations are imposed on any
586
+ author or copyright holder as a result of your choosing to follow a
587
+ later version.
588
+
589
+ 15. Disclaimer of Warranty.
590
+
591
+ THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
592
+ APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
593
+ HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
594
+ OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
595
+ THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
596
+ PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
597
+ IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
598
+ ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
599
+
600
+ 16. Limitation of Liability.
601
+
602
+ IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
603
+ WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
604
+ THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
605
+ GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
606
+ USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
607
+ DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
608
+ PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
609
+ EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
610
+ SUCH DAMAGES.
611
+
612
+ 17. Interpretation of Sections 15 and 16.
613
+
614
+ If the disclaimer of warranty and limitation of liability provided
615
+ above cannot be given local legal effect according to their terms,
616
+ reviewing courts shall apply local law that most closely approximates
617
+ an absolute waiver of all civil liability in connection with the
618
+ Program, unless a warranty or assumption of liability accompanies a
619
+ copy of the Program in return for a fee.
620
+
621
+ END OF TERMS AND CONDITIONS
mini-themes/base-responsive/css/colors.css ADDED
@@ -0,0 +1,320 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* Colors */
2
+
3
+ .white{
4
+ color:#fff;
5
+ }
6
+
7
+ .black{
8
+ color:#444;
9
+ }
10
+
11
+ .grey{
12
+ color:#bbb;
13
+ }
14
+
15
+ .red{
16
+ color:#f75353;
17
+ }
18
+
19
+ .green{
20
+ color:#51d466;
21
+ }
22
+
23
+ .lblue{
24
+ color:#32c8de;
25
+ }
26
+
27
+ .blue{
28
+ color:#609cee;
29
+ }
30
+
31
+ .brown{
32
+ color:#c27256;
33
+ }
34
+
35
+ .pink{
36
+ color:#eb76cb;
37
+ }
38
+
39
+ .orange{
40
+ color:#f7a253;
41
+ }
42
+
43
+ .yellow{
44
+ color:#f4e375;
45
+ }
46
+
47
+ .purple{
48
+ color:#cb79e6;
49
+ }
50
+
51
+ /* Link Color */
52
+
53
+ a.white{
54
+ color:#fff;
55
+ }
56
+
57
+ a.white:hover ,
58
+ a.white:visited{
59
+ color:#eee;
60
+ }
61
+
62
+ a.black{
63
+ color:#444;
64
+ }
65
+
66
+ a.black:hover ,
67
+ a.black:visited{
68
+ color:#222;
69
+ }
70
+
71
+ a.grey{
72
+ color:#bbb;
73
+ }
74
+
75
+ a.grey:hover ,
76
+ a.grey:visited{
77
+ color:#999;
78
+ }
79
+
80
+ a.red{
81
+ color:#f75353;
82
+ }
83
+
84
+ a.red:hover ,
85
+ a.red:visited{
86
+ color:#e93939;
87
+ }
88
+
89
+ a.green{
90
+ color:#51d466;
91
+ }
92
+
93
+ a.green:hover ,
94
+ a.green:visited{
95
+ color:#3dcb53;
96
+ }
97
+
98
+ a.lblue{
99
+ color:#32c8de;
100
+ }
101
+
102
+ a.lblue:hover ,
103
+ a.lblue:visited{
104
+ color:#31b5c8;
105
+ }
106
+
107
+ a.blue{
108
+ color:#609cee;
109
+ }
110
+
111
+ a.blue:hover ,
112
+ a.blue:visited{
113
+ color:#4584d8;
114
+ }
115
+
116
+ a.brown{
117
+ color:#c27256;
118
+ }
119
+
120
+ a.brown:hover ,
121
+ a.brown:visited{
122
+ color:#b05d41;
123
+ }
124
+
125
+ a.pink{
126
+ color:#eb76cb;
127
+ }
128
+
129
+ a.pink:hover ,
130
+ a.pink:visited{
131
+ color:#e14ead;
132
+ }
133
+
134
+ a.orange{
135
+ color:#f7a253;
136
+ }
137
+
138
+ a.orange:hover ,
139
+ a.orange:visited{
140
+ color:#ed8f38;
141
+ }
142
+
143
+ a.yellow{
144
+ color:#f4e375;
145
+ }
146
+
147
+ a.yellow:hover ,
148
+ a.yellow:visited{
149
+ color:#dfcb4a;
150
+ }
151
+
152
+ a.purple{
153
+ color:#cb79e6;
154
+ }
155
+
156
+ a.purple:hover ,
157
+ a.purple:visited{
158
+ color:#af52ce;
159
+ }
160
+
161
+ /* Background */
162
+
163
+ .br-white{
164
+ background:#fff;
165
+ }
166
+
167
+ .br-black{
168
+ background:#444;
169
+ }
170
+
171
+ .br-grey{
172
+ background:#bbb;
173
+ }
174
+
175
+ .br-red{
176
+ background:#f75353;
177
+ }
178
+
179
+ .br-green{
180
+ background:#51d466;
181
+ }
182
+
183
+ .br-lblue{
184
+ background:#32c8de;
185
+ }
186
+
187
+ .br-blue{
188
+ background:#609cee;
189
+ }
190
+
191
+ .br-brown{
192
+ background:#c27256;
193
+ }
194
+
195
+ .br-pink{
196
+ background:#eb76cb;
197
+ }
198
+
199
+ .br-orange{
200
+ background:#f7a253;
201
+ }
202
+
203
+ .br-yellow{
204
+ background:#f4e375;
205
+ }
206
+
207
+ .br-purple{
208
+ background:#cb79e6;
209
+ }
210
+
211
+ /* Background Hover */
212
+
213
+ .br-hover-white:hover{
214
+ background:#eee;
215
+ }
216
+
217
+ .br-hover-black:hover{
218
+ background:#222;
219
+ }
220
+
221
+ .br-hover-grey:hover{
222
+ background:#999;
223
+ }
224
+
225
+ .br-hover-red:hover{
226
+ background:#e93939;
227
+ }
228
+
229
+ .br-hover-green:hover{
230
+ background:#3dcb53;
231
+ }
232
+
233
+ .br-hover-lblue:hover{
234
+ background:#31b5c8;
235
+ }
236
+
237
+ .br-hover-blue:hover{
238
+ background:#4584d8;
239
+ }
240
+
241
+ .br-hover-brown:hover{
242
+ background:#b05d41;
243
+ }
244
+
245
+ .br-hover-pink:hover{
246
+ background:#e14ead;
247
+ }
248
+
249
+ .br-hover-orange:hover{
250
+ background:#ed8f38;
251
+ }
252
+
253
+ .br-hover-yellow:hover{
254
+ background:#dfcb4a;
255
+ }
256
+
257
+ .br-hover-purple:hover{
258
+ background:#af52ce;
259
+ }
260
+
261
+ /* Border Colors */
262
+
263
+ .border-white{
264
+ border:3px solid #ccc;
265
+ }
266
+
267
+ .border-black{
268
+ border:3px solid #111;
269
+ }
270
+
271
+ .border-grey{
272
+ border:3px solid #888;
273
+ }
274
+
275
+ .border-red{
276
+ border:3px solid #e02121;
277
+ }
278
+
279
+ .border-green{
280
+ border:3px solid #2fc046;
281
+ }
282
+
283
+ .border-lblue{
284
+ border:3px solid #149eb2;
285
+ }
286
+
287
+ .border-blue{
288
+ border:3px solid #3674c8;
289
+ }
290
+
291
+ .border-brown{
292
+ border:3px solid #97472c;
293
+ }
294
+
295
+ .border-pink{
296
+ border:3px solid #d644a2;
297
+ }
298
+
299
+ .border-orange{
300
+ border:3px solid #e07c20;
301
+ }
302
+
303
+ .border-yellow{
304
+ border:3px solid #d0bc39;
305
+ }
306
+
307
+ .border-purple{
308
+ border:3px solid #a23ec2;
309
+ }
310
+
311
+
312
+ /* Background Transition */
313
+
314
+ .br-animation{
315
+ -webkit-transition: background 1s ease;
316
+ -moz-transition: background 1s ease;
317
+ -o-transition: background 1s ease;
318
+ -ms-transition: background 1s ease;
319
+ transition: background 1s ease;
320
+ }
mini-themes/base-responsive/css/images/loading.gif ADDED
Binary file
mini-themes/base-responsive/css/overlays/01.png ADDED
Binary file
mini-themes/base-responsive/css/overlays/02.png ADDED
Binary file
mini-themes/base-responsive/css/overlays/03.png ADDED
Binary file
mini-themes/base-responsive/css/overlays/04.png ADDED
Binary file
mini-themes/base-responsive/css/overlays/05.png ADDED
Binary file
mini-themes/base-responsive/css/overlays/06.png ADDED
Binary file
mini-themes/base-responsive/css/overlays/07.png ADDED
Binary file
mini-themes/base-responsive/css/overlays/08.png ADDED
Binary file
mini-themes/base-responsive/css/overlays/09.png ADDED
Binary file
mini-themes/base-responsive/css/overlays/10.png ADDED
Binary file
mini-themes/base-responsive/css/overlays/11.png ADDED
Binary file
mini-themes/base-responsive/css/overlays/12.png ADDED
Binary file
mini-themes/base-responsive/css/overlays/13.png ADDED
Binary file
mini-themes/base-responsive/css/overlays/14.png ADDED
Binary file
mini-themes/base-responsive/css/overlays/15.png ADDED
Binary file
mini-themes/base-responsive/css/style.css ADDED
@@ -0,0 +1,332 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* Basic CSS starts */
2
+
3
+ body{
4
+ /* Setting: {{background-url}}*/
5
+ /* background: #222 url('../img/grass.jpg') center; */
6
+
7
+ /* Setting: {{background-cover-on}}*/
8
+ /* RSR now under control of admin -webkit-background-size: cover;
9
+ -moz-background-size: cover;
10
+ -o-background-size: cover;
11
+ background-size: cover;
12
+ */
13
+ color:#fff;
14
+ font-size:15px;
15
+ line-height:25px;
16
+ font-weight:300;
17
+ text-shadow:1px 1px 1px #777;
18
+ font-family: 'Open Sans', sans-serif;
19
+ -webkit-font-smoothing: antialiased;
20
+ }
21
+
22
+ h1,h2,h3,h4,h5,h6{
23
+ font-weight:300;
24
+ font-family: 'Open Sans', sans-serif;
25
+ }
26
+
27
+ p{
28
+ margin:0;
29
+ padding:0;
30
+ }
31
+
32
+ strong{
33
+ font-weight:600;
34
+ }
35
+
36
+ a{
37
+ color:#fff !important;
38
+ text-decoration:none;
39
+ border-bottom:1px dashed #fff;
40
+ }
41
+
42
+ a:hover{
43
+ color:#fff;
44
+ text-decoration:none;
45
+ border-bottom:0px;
46
+ }
47
+
48
+ a:hover,a:active,a:focus {
49
+ outline: 0;
50
+ }
51
+
52
+ hr{
53
+
54
+ }
55
+
56
+ form *{
57
+ border-radius:0px !important;
58
+ box-shadow:none !important;
59
+ /*rsr customizing now font-size:13px !important;*/
60
+ }
61
+
62
+ form input,
63
+ form textarea{
64
+ border:1px solid #555 !important;
65
+ /* customizing color:#555 !important; */
66
+ font-weight:400 !important;
67
+ }
68
+
69
+ form input:hover,
70
+ form textarea:hover,
71
+ form input:focus,
72
+ form textarea:focus{
73
+ border:1px solid #f75353 !important;
74
+ }
75
+
76
+ input::-webkit-input-placeholder{
77
+ color:#555 !important;
78
+ opacity:1 !important;
79
+ }
80
+
81
+ .btn{
82
+ border:0px !important;
83
+ }
84
+
85
+ :focus {
86
+ outline:none;
87
+ }
88
+
89
+ ::-moz-focus-inner {
90
+ border:0;
91
+ }
92
+
93
+ /* Basic CSS ends */
94
+
95
+ #thank-you-section {
96
+ display:none;
97
+ }
98
+ /*CSS Starts*/
99
+
100
+ /* Backgrounds */
101
+
102
+ .br-red{
103
+ background:#f75353;
104
+ }
105
+
106
+ .br-green{
107
+ background:#51d466;
108
+ }
109
+
110
+ .br-lblue{
111
+ background:#32c8de;
112
+ }
113
+
114
+ .br-blue{
115
+ background:#609cee;
116
+ }
117
+
118
+ .br-brown{
119
+ background:#c27256;
120
+ }
121
+
122
+ .br-pink{
123
+ background:#eb76cb;
124
+ }
125
+
126
+ .br-orange{
127
+ background:#f7a253;
128
+ }
129
+
130
+ .br-yellow{
131
+ background:#f4e375;
132
+ }
133
+
134
+ .br-purple{
135
+ background:#cb79e6;
136
+ }
137
+
138
+ .br-white{
139
+ background:#fff;
140
+ }
141
+ /* Border */
142
+
143
+ .br-border{
144
+ border:8px solid rgba(0,0,0,0.3);
145
+ }
146
+
147
+ .btn-danger{
148
+ background:#f75353;
149
+ }
150
+
151
+ /* Header */
152
+
153
+ header{
154
+ padding-top:0;
155
+ /* RSR padding-bottom:40px; */
156
+ }
157
+
158
+ /*RSR header{
159
+
160
+ font-size:60px;
161
+ }*/
162
+
163
+ header p{
164
+ margin:0 auto;
165
+ max-width:600px;
166
+ line-height:35px;
167
+ letter-spacing:0.5px;
168
+ }
169
+
170
+ /* Header Complete */
171
+
172
+ /*-- Clock --*/
173
+
174
+ #clock{
175
+ margin-bottom:40px;
176
+ text-align:center;
177
+ }
178
+
179
+ #clock div{
180
+ display:inline-block;
181
+ font-size:40px;
182
+ height:120px;
183
+ width:120px;
184
+ padding-top:30px;
185
+ margin-right:7px;
186
+ margin-left:7px;
187
+ outline:5px solid rgba(0,0,0,0.2);
188
+ }
189
+
190
+ #clock div span{
191
+ display:block;
192
+ margin-top:15px;
193
+ font-size:20px;
194
+
195
+ }
196
+
197
+ /*-- End Clock --*/
198
+
199
+ /*-- Content Area --*/
200
+
201
+ #content-area {
202
+ text-shadow:none;
203
+ /* Setting: is transparent if {{box-on}}, opacity={{box-opacity}}, color={{box-color}}, */
204
+ background:rgba(0,0,0,0.3);
205
+ margin:60px 10% 30px 10%; // RSR WAS 0 auto
206
+ max-width:600px;
207
+ padding-top:40px;
208
+ padding-bottom:40px;
209
+ padding-left:20px;
210
+ padding-right:20px;
211
+
212
+ }
213
+
214
+ #content-area p{
215
+ /* RSR customizable now font-size:18px;*/
216
+ margin-top:15px;
217
+ margin-bottom:25px;
218
+ }
219
+
220
+ #content-area span{
221
+ display:inline-block;
222
+ padding:8px 12px 8px 12px;
223
+ margin-right:5px;
224
+ margin-bottom:25px;
225
+ }
226
+
227
+ #content-area form input{
228
+ /* padding:20px !important; */
229
+ height: 42px;
230
+ }
231
+
232
+ #content-area form .btn{
233
+ /* rsr padding:12px 11px 12px 11px;*/
234
+ /* RSR overridden color:#fff; */
235
+ }
236
+
237
+ /*-- End Content Area --*/
238
+
239
+ /*-- Social --*/
240
+
241
+ #social{
242
+ margin-top:30px;
243
+ margin-bottom:20px;
244
+ }
245
+
246
+ #social a{
247
+ display:inline-block;
248
+ border-bottom:none;
249
+ margin-right:10px;
250
+ -webkit-transition: background 1s ease;
251
+ -moz-transition: background 1s ease;
252
+ -o-transition: background 1s ease;
253
+ -ms-transition: background 1s ease;
254
+ transition: background 1s ease;
255
+ outline:3px solid rgba(0,0,0,0.2);
256
+ }
257
+
258
+ #social i{
259
+ height:50px;
260
+ width:50px;
261
+ line-height:50px;
262
+ text-align:center;
263
+ font-size:22px;
264
+ }
265
+
266
+ #social a:hover{
267
+ background:rgba(0,0,0,0.2);
268
+ -webkit-transition: background 1s ease;
269
+ -moz-transition: background 1s ease;
270
+ -o-transition: background 1s ease;
271
+ -ms-transition: background 1s ease;
272
+ transition: background 1s ease;
273
+ }
274
+
275
+ /*-- End Social --*/
276
+
277
+ /*-- Footer --*/
278
+
279
+ #copyright-text {
280
+ margin-top:40px;
281
+ margin-bottom:20px;
282
+
283
+ }
284
+
285
+ /*-- End Footer --*/
286
+
287
+ /* Forms Inside the Slider Controls */
288
+
289
+ /* Responsive CSS */
290
+
291
+ /* Mobile phones */
292
+ @media (max-width: 480px){
293
+
294
+ #clock div{
295
+ font-size:20px !important;
296
+ height:60px !important;
297
+ width:60px !important;
298
+ padding-top:8px !important;
299
+
300
+ }
301
+
302
+ #clock div span{
303
+ margin-top:0px !important;
304
+ font-size:14px !important;
305
+
306
+ }
307
+
308
+ }
309
+
310
+ /* Tablets */
311
+ @media (max-width: 767px){
312
+ #clock div{
313
+ font-size:25px;
314
+ height:80px;
315
+ width:80px;
316
+ padding-top:10px;
317
+ margin-left:3px;
318
+ margin-right:3px;
319
+ }
320
+
321
+ #clock div span{
322
+ margin-top:8px;
323
+ font-size:15px;
324
+
325
+ }
326
+
327
+ }
328
+
329
+ /* Desktop */
330
+ @media (max-width: 991px){
331
+
332
+ }
mini-themes/base-responsive/fonts/FontAwesome.otf ADDED
Binary file
mini-themes/base-responsive/fonts/fontawesome-webfont.eot ADDED
Binary file
mini-themes/base-responsive/fonts/fontawesome-webfont.svg ADDED
@@ -0,0 +1,414 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" standalone="no"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
3
+ <svg xmlns="http://www.w3.org/2000/svg">
4
+ <metadata></metadata>
5
+ <defs>
6
+ <font id="fontawesomeregular" horiz-adv-x="1536" >
7
+ <font-face units-per-em="1792" ascent="1536" descent="-256" />
8
+ <missing-glyph horiz-adv-x="448" />
9
+ <glyph unicode=" " horiz-adv-x="448" />
10
+ <glyph unicode="&#x09;" horiz-adv-x="448" />
11
+ <glyph unicode="&#xa0;" horiz-adv-x="448" />
12
+ <glyph unicode="&#xa8;" horiz-adv-x="1792" />
13
+ <glyph unicode="&#xa9;" horiz-adv-x="1792" />
14
+ <glyph unicode="&#xae;" horiz-adv-x="1792" />
15
+ <glyph unicode="&#xb4;" horiz-adv-x="1792" />
16
+ <glyph unicode="&#xc6;" horiz-adv-x="1792" />
17
+ <glyph unicode="&#x2000;" horiz-adv-x="768" />
18
+ <glyph unicode="&#x2001;" />
19
+ <glyph unicode="&#x2002;" horiz-adv-x="768" />
20
+ <glyph unicode="&#x2003;" />
21
+ <glyph unicode="&#x2004;" horiz-adv-x="512" />
22
+ <glyph unicode="&#x2005;" horiz-adv-x="384" />
23
+ <glyph unicode="&#x2006;" horiz-adv-x="256" />
24
+ <glyph unicode="&#x2007;" horiz-adv-x="256" />
25
+ <glyph unicode="&#x2008;" horiz-adv-x="192" />
26
+ <glyph unicode="&#x2009;" horiz-adv-x="307" />
27
+ <glyph unicode="&#x200a;" horiz-adv-x="85" />
28
+ <glyph unicode="&#x202f;" horiz-adv-x="307" />
29
+ <glyph unicode="&#x205f;" horiz-adv-x="384" />
30
+ <glyph unicode="&#x2122;" horiz-adv-x="1792" />
31
+ <glyph unicode="&#x221e;" horiz-adv-x="1792" />
32
+ <glyph unicode="&#x2260;" horiz-adv-x="1792" />
33
+ <glyph unicode="&#xe000;" horiz-adv-x="500" d="M0 0z" />
34
+ <glyph unicode="&#xf000;" horiz-adv-x="1792" d="M1699 1350q0 -35 -43 -78l-632 -632v-768h320q26 0 45 -19t19 -45t-19 -45t-45 -19h-896q-26 0 -45 19t-19 45t19 45t45 19h320v768l-632 632q-43 43 -43 78q0 23 18 36.5t38 17.5t43 4h1408q23 0 43 -4t38 -17.5t18 -36.5z" />
35
+ <glyph unicode="&#xf001;" d="M1536 1312v-1120q0 -50 -34 -89t-86 -60.5t-103.5 -32t-96.5 -10.5t-96.5 10.5t-103.5 32t-86 60.5t-34 89t34 89t86 60.5t103.5 32t96.5 10.5q105 0 192 -39v537l-768 -237v-709q0 -50 -34 -89t-86 -60.5t-103.5 -32t-96.5 -10.5t-96.5 10.5t-103.5 32t-86 60.5t-34 89 t34 89t86 60.5t103.5 32t96.5 10.5q105 0 192 -39v967q0 31 19 56.5t49 35.5l832 256q12 4 28 4q40 0 68 -28t28 -68z" />
36
+ <glyph unicode="&#xf002;" horiz-adv-x="1664" d="M1152 704q0 185 -131.5 316.5t-316.5 131.5t-316.5 -131.5t-131.5 -316.5t131.5 -316.5t316.5 -131.5t316.5 131.5t131.5 316.5zM1664 -128q0 -52 -38 -90t-90 -38q-54 0 -90 38l-343 342q-179 -124 -399 -124q-143 0 -273.5 55.5t-225 150t-150 225t-55.5 273.5 t55.5 273.5t150 225t225 150t273.5 55.5t273.5 -55.5t225 -150t150 -225t55.5 -273.5q0 -220 -124 -399l343 -343q37 -37 37 -90z" />
37
+ <glyph unicode="&#xf003;" horiz-adv-x="1792" d="M1664 32v768q-32 -36 -69 -66q-268 -206 -426 -338q-51 -43 -83 -67t-86.5 -48.5t-102.5 -24.5h-1h-1q-48 0 -102.5 24.5t-86.5 48.5t-83 67q-158 132 -426 338q-37 30 -69 66v-768q0 -13 9.5 -22.5t22.5 -9.5h1472q13 0 22.5 9.5t9.5 22.5zM1664 1083v11v13.5t-0.5 13 t-3 12.5t-5.5 9t-9 7.5t-14 2.5h-1472q-13 0 -22.5 -9.5t-9.5 -22.5q0 -168 147 -284q193 -152 401 -317q6 -5 35 -29.5t46 -37.5t44.5 -31.5t50.5 -27.5t43 -9h1h1q20 0 43 9t50.5 27.5t44.5 31.5t46 37.5t35 29.5q208 165 401 317q54 43 100.5 115.5t46.5 131.5z M1792 1120v-1088q0 -66 -47 -113t-113 -47h-1472q-66 0 -113 47t-47 113v1088q0 66 47 113t113 47h1472q66 0 113 -47t47 -113z" />
38
+ <glyph unicode="&#xf004;" horiz-adv-x="1792" d="M896 -128q-26 0 -44 18l-624 602q-10 8 -27.5 26t-55.5 65.5t-68 97.5t-53.5 121t-23.5 138q0 220 127 344t351 124q62 0 126.5 -21.5t120 -58t95.5 -68.5t76 -68q36 36 76 68t95.5 68.5t120 58t126.5 21.5q224 0 351 -124t127 -344q0 -221 -229 -450l-623 -600 q-18 -18 -44 -18z" />
39
+ <glyph unicode="&#xf005;" horiz-adv-x="1664" d="M1664 889q0 -22 -26 -48l-363 -354l86 -500q1 -7 1 -20q0 -21 -10.5 -35.5t-30.5 -14.5q-19 0 -40 12l-449 236l-449 -236q-22 -12 -40 -12q-21 0 -31.5 14.5t-10.5 35.5q0 6 2 20l86 500l-364 354q-25 27 -25 48q0 37 56 46l502 73l225 455q19 41 49 41t49 -41l225 -455 l502 -73q56 -9 56 -46z" />
40
+ <glyph unicode="&#xf006;" horiz-adv-x="1664" d="M1137 532l306 297l-422 62l-189 382l-189 -382l-422 -62l306 -297l-73 -421l378 199l377 -199zM1664 889q0 -22 -26 -48l-363 -354l86 -500q1 -7 1 -20q0 -50 -41 -50q-19 0 -40 12l-449 236l-449 -236q-22 -12 -40 -12q-21 0 -31.5 14.5t-10.5 35.5q0 6 2 20l86 500 l-364 354q-25 27 -25 48q0 37 56 46l502 73l225 455q19 41 49 41t49 -41l225 -455l502 -73q56 -9 56 -46z" />
41
+ <glyph unicode="&#xf007;" horiz-adv-x="1408" d="M1408 131q0 -120 -73 -189.5t-194 -69.5h-874q-121 0 -194 69.5t-73 189.5q0 53 3.5 103.5t14 109t26.5 108.5t43 97.5t62 81t85.5 53.5t111.5 20q9 0 42 -21.5t74.5 -48t108 -48t133.5 -21.5t133.5 21.5t108 48t74.5 48t42 21.5q61 0 111.5 -20t85.5 -53.5t62 -81 t43 -97.5t26.5 -108.5t14 -109t3.5 -103.5zM1088 1024q0 -159 -112.5 -271.5t-271.5 -112.5t-271.5 112.5t-112.5 271.5t112.5 271.5t271.5 112.5t271.5 -112.5t112.5 -271.5z" />
42
+ <glyph unicode="&#xf008;" horiz-adv-x="1920" d="M384 -64v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM384 320v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM384 704v128q0 26 -19 45t-45 19h-128 q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM1408 -64v512q0 26 -19 45t-45 19h-768q-26 0 -45 -19t-19 -45v-512q0 -26 19 -45t45 -19h768q26 0 45 19t19 45zM384 1088v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45 t45 -19h128q26 0 45 19t19 45zM1792 -64v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM1408 704v512q0 26 -19 45t-45 19h-768q-26 0 -45 -19t-19 -45v-512q0 -26 19 -45t45 -19h768q26 0 45 19t19 45zM1792 320v128 q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM1792 704v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM1792 1088v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19 t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM1920 1248v-1344q0 -66 -47 -113t-113 -47h-1600q-66 0 -113 47t-47 113v1344q0 66 47 113t113 47h1600q66 0 113 -47t47 -113z" />
43
+ <glyph unicode="&#xf009;" horiz-adv-x="1664" d="M768 512v-384q0 -52 -38 -90t-90 -38h-512q-52 0 -90 38t-38 90v384q0 52 38 90t90 38h512q52 0 90 -38t38 -90zM768 1280v-384q0 -52 -38 -90t-90 -38h-512q-52 0 -90 38t-38 90v384q0 52 38 90t90 38h512q52 0 90 -38t38 -90zM1664 512v-384q0 -52 -38 -90t-90 -38 h-512q-52 0 -90 38t-38 90v384q0 52 38 90t90 38h512q52 0 90 -38t38 -90zM1664 1280v-384q0 -52 -38 -90t-90 -38h-512q-52 0 -90 38t-38 90v384q0 52 38 90t90 38h512q52 0 90 -38t38 -90z" />
44
+ <glyph unicode="&#xf00a;" horiz-adv-x="1792" d="M512 288v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM512 800v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1152 288v-192q0 -40 -28 -68t-68 -28h-320 q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM512 1312v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1152 800v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28 h320q40 0 68 -28t28 -68zM1792 288v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1152 1312v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1792 800v-192 q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1792 1312v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68z" />
45
+ <glyph unicode="&#xf00b;" horiz-adv-x="1792" d="M512 288v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM512 800v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1792 288v-192q0 -40 -28 -68t-68 -28h-960 q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h960q40 0 68 -28t28 -68zM512 1312v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1792 800v-192q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68v192q0 40 28 68t68 28 h960q40 0 68 -28t28 -68zM1792 1312v-192q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h960q40 0 68 -28t28 -68z" />
46
+ <glyph unicode="&#xf00c;" horiz-adv-x="1792" d="M1671 970q0 -40 -28 -68l-724 -724l-136 -136q-28 -28 -68 -28t-68 28l-136 136l-362 362q-28 28 -28 68t28 68l136 136q28 28 68 28t68 -28l294 -295l656 657q28 28 68 28t68 -28l136 -136q28 -28 28 -68z" />
47
+ <glyph unicode="&#xf00d;" horiz-adv-x="1408" d="M1298 214q0 -40 -28 -68l-136 -136q-28 -28 -68 -28t-68 28l-294 294l-294 -294q-28 -28 -68 -28t-68 28l-136 136q-28 28 -28 68t28 68l294 294l-294 294q-28 28 -28 68t28 68l136 136q28 28 68 28t68 -28l294 -294l294 294q28 28 68 28t68 -28l136 -136q28 -28 28 -68 t-28 -68l-294 -294l294 -294q28 -28 28 -68z" />
48
+ <glyph unicode="&#xf00e;" horiz-adv-x="1664" d="M1024 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-224v-224q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v224h-224q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h224v224q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5v-224h224 q13 0 22.5 -9.5t9.5 -22.5zM1152 704q0 185 -131.5 316.5t-316.5 131.5t-316.5 -131.5t-131.5 -316.5t131.5 -316.5t316.5 -131.5t316.5 131.5t131.5 316.5zM1664 -128q0 -53 -37.5 -90.5t-90.5 -37.5q-54 0 -90 38l-343 342q-179 -124 -399 -124q-143 0 -273.5 55.5 t-225 150t-150 225t-55.5 273.5t55.5 273.5t150 225t225 150t273.5 55.5t273.5 -55.5t225 -150t150 -225t55.5 -273.5q0 -220 -124 -399l343 -343q37 -37 37 -90z" />
49
+ <glyph unicode="&#xf010;" horiz-adv-x="1664" d="M1024 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-576q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h576q13 0 22.5 -9.5t9.5 -22.5zM1152 704q0 185 -131.5 316.5t-316.5 131.5t-316.5 -131.5t-131.5 -316.5t131.5 -316.5t316.5 -131.5t316.5 131.5t131.5 316.5z M1664 -128q0 -53 -37.5 -90.5t-90.5 -37.5q-54 0 -90 38l-343 342q-179 -124 -399 -124q-143 0 -273.5 55.5t-225 150t-150 225t-55.5 273.5t55.5 273.5t150 225t225 150t273.5 55.5t273.5 -55.5t225 -150t150 -225t55.5 -273.5q0 -220 -124 -399l343 -343q37 -37 37 -90z " />
50
+ <glyph unicode="&#xf011;" d="M1536 640q0 -156 -61 -298t-164 -245t-245 -164t-298 -61t-298 61t-245 164t-164 245t-61 298q0 182 80.5 343t226.5 270q43 32 95.5 25t83.5 -50q32 -42 24.5 -94.5t-49.5 -84.5q-98 -74 -151.5 -181t-53.5 -228q0 -104 40.5 -198.5t109.5 -163.5t163.5 -109.5 t198.5 -40.5t198.5 40.5t163.5 109.5t109.5 163.5t40.5 198.5q0 121 -53.5 228t-151.5 181q-42 32 -49.5 84.5t24.5 94.5q31 43 84 50t95 -25q146 -109 226.5 -270t80.5 -343zM896 1408v-640q0 -52 -38 -90t-90 -38t-90 38t-38 90v640q0 52 38 90t90 38t90 -38t38 -90z" />
51
+ <glyph unicode="&#xf012;" horiz-adv-x="1792" d="M256 96v-192q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM640 224v-320q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v320q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM1024 480v-576q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23 v576q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM1408 864v-960q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v960q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM1792 1376v-1472q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v1472q0 14 9 23t23 9h192q14 0 23 -9t9 -23z" />
52
+ <glyph unicode="&#xf013;" d="M1024 640q0 106 -75 181t-181 75t-181 -75t-75 -181t75 -181t181 -75t181 75t75 181zM1536 749v-222q0 -12 -8 -23t-20 -13l-185 -28q-19 -54 -39 -91q35 -50 107 -138q10 -12 10 -25t-9 -23q-27 -37 -99 -108t-94 -71q-12 0 -26 9l-138 108q-44 -23 -91 -38 q-16 -136 -29 -186q-7 -28 -36 -28h-222q-14 0 -24.5 8.5t-11.5 21.5l-28 184q-49 16 -90 37l-141 -107q-10 -9 -25 -9q-14 0 -25 11q-126 114 -165 168q-7 10 -7 23q0 12 8 23q15 21 51 66.5t54 70.5q-27 50 -41 99l-183 27q-13 2 -21 12.5t-8 23.5v222q0 12 8 23t19 13 l186 28q14 46 39 92q-40 57 -107 138q-10 12 -10 24q0 10 9 23q26 36 98.5 107.5t94.5 71.5q13 0 26 -10l138 -107q44 23 91 38q16 136 29 186q7 28 36 28h222q14 0 24.5 -8.5t11.5 -21.5l28 -184q49 -16 90 -37l142 107q9 9 24 9q13 0 25 -10q129 -119 165 -170q7 -8 7 -22 q0 -12 -8 -23q-15 -21 -51 -66.5t-54 -70.5q26 -50 41 -98l183 -28q13 -2 21 -12.5t8 -23.5z" />
53
+ <glyph unicode="&#xf014;" horiz-adv-x="1408" d="M512 800v-576q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v576q0 14 9 23t23 9h64q14 0 23 -9t9 -23zM768 800v-576q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v576q0 14 9 23t23 9h64q14 0 23 -9t9 -23zM1024 800v-576q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v576 q0 14 9 23t23 9h64q14 0 23 -9t9 -23zM1152 76v948h-896v-948q0 -22 7 -40.5t14.5 -27t10.5 -8.5h832q3 0 10.5 8.5t14.5 27t7 40.5zM480 1152h448l-48 117q-7 9 -17 11h-317q-10 -2 -17 -11zM1408 1120v-64q0 -14 -9 -23t-23 -9h-96v-948q0 -83 -47 -143.5t-113 -60.5h-832 q-66 0 -113 58.5t-47 141.5v952h-96q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h309l70 167q15 37 54 63t79 26h320q40 0 79 -26t54 -63l70 -167h309q14 0 23 -9t9 -23z" />
54
+ <glyph unicode="&#xf015;" horiz-adv-x="1664" d="M1408 544v-480q0 -26 -19 -45t-45 -19h-384v384h-256v-384h-384q-26 0 -45 19t-19 45v480q0 1 0.5 3t0.5 3l575 474l575 -474q1 -2 1 -6zM1631 613l-62 -74q-8 -9 -21 -11h-3q-13 0 -21 7l-692 577l-692 -577q-12 -8 -24 -7q-13 2 -21 11l-62 74q-8 10 -7 23.5t11 21.5 l719 599q32 26 76 26t76 -26l244 -204v195q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-408l219 -182q10 -8 11 -21.5t-7 -23.5z" />
55
+ <glyph unicode="&#xf016;" horiz-adv-x="1280" d="M128 0h1024v768h-416q-40 0 -68 28t-28 68v416h-512v-1280zM768 896h376q-10 29 -22 41l-313 313q-12 12 -41 22v-376zM1280 864v-896q0 -40 -28 -68t-68 -28h-1088q-40 0 -68 28t-28 68v1344q0 40 28 68t68 28h640q40 0 88 -20t76 -48l312 -312q28 -28 48 -76t20 -88z " />
56
+ <glyph unicode="&#xf017;" d="M896 992v-448q0 -14 -9 -23t-23 -9h-320q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h224v352q0 14 9 23t23 9h64q14 0 23 -9t9 -23zM1312 640q0 148 -73 273t-198 198t-273 73t-273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273zM1536 640 q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
57
+ <glyph unicode="&#xf018;" horiz-adv-x="1920" d="M1111 540v4l-24 320q-1 13 -11 22.5t-23 9.5h-186q-13 0 -23 -9.5t-11 -22.5l-24 -320v-4q-1 -12 8 -20t21 -8h244q12 0 21 8t8 20zM1870 73q0 -73 -46 -73h-704q13 0 22 9.5t8 22.5l-20 256q-1 13 -11 22.5t-23 9.5h-272q-13 0 -23 -9.5t-11 -22.5l-20 -256 q-1 -13 8 -22.5t22 -9.5h-704q-46 0 -46 73q0 54 26 116l417 1044q8 19 26 33t38 14h339q-13 0 -23 -9.5t-11 -22.5l-15 -192q-1 -14 8 -23t22 -9h166q13 0 22 9t8 23l-15 192q-1 13 -11 22.5t-23 9.5h339q20 0 38 -14t26 -33l417 -1044q26 -62 26 -116z" />
58
+ <glyph unicode="&#xf019;" horiz-adv-x="1664" d="M1280 192q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1536 192q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1664 416v-320q0 -40 -28 -68t-68 -28h-1472q-40 0 -68 28t-28 68v320q0 40 28 68t68 28h465l135 -136 q58 -56 136 -56t136 56l136 136h464q40 0 68 -28t28 -68zM1339 985q17 -41 -14 -70l-448 -448q-18 -19 -45 -19t-45 19l-448 448q-31 29 -14 70q17 39 59 39h256v448q0 26 19 45t45 19h256q26 0 45 -19t19 -45v-448h256q42 0 59 -39z" />
59
+ <glyph unicode="&#xf01a;" d="M1120 608q0 -12 -10 -24l-319 -319q-11 -9 -23 -9t-23 9l-320 320q-15 16 -7 35q8 20 30 20h192v352q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-352h192q14 0 23 -9t9 -23zM768 1184q-148 0 -273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273 t-73 273t-198 198t-273 73zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
60
+ <glyph unicode="&#xf01b;" d="M1118 660q-8 -20 -30 -20h-192v-352q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v352h-192q-14 0 -23 9t-9 23q0 12 10 24l319 319q11 9 23 9t23 -9l320 -320q15 -16 7 -35zM768 1184q-148 0 -273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198 t73 273t-73 273t-198 198t-273 73zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
61
+ <glyph unicode="&#xf01c;" d="M1023 576h316q-1 3 -2.5 8t-2.5 8l-212 496h-708l-212 -496q-1 -2 -2.5 -8t-2.5 -8h316l95 -192h320zM1536 546v-482q0 -26 -19 -45t-45 -19h-1408q-26 0 -45 19t-19 45v482q0 62 25 123l238 552q10 25 36.5 42t52.5 17h832q26 0 52.5 -17t36.5 -42l238 -552 q25 -61 25 -123z" />
62
+ <glyph unicode="&#xf01d;" d="M1184 640q0 -37 -32 -55l-544 -320q-15 -9 -32 -9q-16 0 -32 8q-32 19 -32 56v640q0 37 32 56q33 18 64 -1l544 -320q32 -18 32 -55zM1312 640q0 148 -73 273t-198 198t-273 73t-273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273zM1536 640 q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
63
+ <glyph unicode="&#xf01e;" d="M1536 1280v-448q0 -26 -19 -45t-45 -19h-448q-42 0 -59 40q-17 39 14 69l138 138q-148 137 -349 137q-104 0 -198.5 -40.5t-163.5 -109.5t-109.5 -163.5t-40.5 -198.5t40.5 -198.5t109.5 -163.5t163.5 -109.5t198.5 -40.5q119 0 225 52t179 147q7 10 23 12q14 0 25 -9 l137 -138q9 -8 9.5 -20.5t-7.5 -22.5q-109 -132 -264 -204.5t-327 -72.5q-156 0 -298 61t-245 164t-164 245t-61 298t61 298t164 245t245 164t298 61q147 0 284.5 -55.5t244.5 -156.5l130 129q29 31 70 14q39 -17 39 -59z" />
64
+ <glyph unicode="&#xf021;" d="M1511 480q0 -5 -1 -7q-64 -268 -268 -434.5t-478 -166.5q-146 0 -282.5 55t-243.5 157l-129 -129q-19 -19 -45 -19t-45 19t-19 45v448q0 26 19 45t45 19h448q26 0 45 -19t19 -45t-19 -45l-137 -137q71 -66 161 -102t187 -36q134 0 250 65t186 179q11 17 53 117 q8 23 30 23h192q13 0 22.5 -9.5t9.5 -22.5zM1536 1280v-448q0 -26 -19 -45t-45 -19h-448q-26 0 -45 19t-19 45t19 45l138 138q-148 137 -349 137q-134 0 -250 -65t-186 -179q-11 -17 -53 -117q-8 -23 -30 -23h-199q-13 0 -22.5 9.5t-9.5 22.5v7q65 268 270 434.5t480 166.5 q146 0 284 -55.5t245 -156.5l130 129q19 19 45 19t45 -19t19 -45z" />
65
+ <glyph unicode="&#xf022;" horiz-adv-x="1792" d="M384 352v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM384 608v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M384 864v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM1536 352v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-960q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h960q13 0 22.5 -9.5t9.5 -22.5z M1536 608v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-960q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h960q13 0 22.5 -9.5t9.5 -22.5zM1536 864v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-960q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h960q13 0 22.5 -9.5 t9.5 -22.5zM1664 160v832q0 13 -9.5 22.5t-22.5 9.5h-1472q-13 0 -22.5 -9.5t-9.5 -22.5v-832q0 -13 9.5 -22.5t22.5 -9.5h1472q13 0 22.5 9.5t9.5 22.5zM1792 1248v-1088q0 -66 -47 -113t-113 -47h-1472q-66 0 -113 47t-47 113v1088q0 66 47 113t113 47h1472q66 0 113 -47 t47 -113z" />
66
+ <glyph unicode="&#xf023;" horiz-adv-x="1152" d="M320 768h512v192q0 106 -75 181t-181 75t-181 -75t-75 -181v-192zM1152 672v-576q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68v576q0 40 28 68t68 28h32v192q0 184 132 316t316 132t316 -132t132 -316v-192h32q40 0 68 -28t28 -68z" />
67
+ <glyph unicode="&#xf024;" horiz-adv-x="1792" d="M320 1280q0 -72 -64 -110v-1266q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v1266q-64 38 -64 110q0 53 37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1792 1216v-763q0 -25 -12.5 -38.5t-39.5 -27.5q-215 -116 -369 -116q-61 0 -123.5 22t-108.5 48 t-115.5 48t-142.5 22q-192 0 -464 -146q-17 -9 -33 -9q-26 0 -45 19t-19 45v742q0 32 31 55q21 14 79 43q236 120 421 120q107 0 200 -29t219 -88q38 -19 88 -19q54 0 117.5 21t110 47t88 47t54.5 21q26 0 45 -19t19 -45z" />
68
+ <glyph unicode="&#xf025;" horiz-adv-x="1664" d="M1664 650q0 -166 -60 -314l-20 -49l-185 -33q-22 -83 -90.5 -136.5t-156.5 -53.5v-32q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v576q0 14 9 23t23 9h64q14 0 23 -9t9 -23v-32q71 0 130 -35.5t93 -95.5l68 12q29 95 29 193q0 148 -88 279t-236.5 209t-315.5 78 t-315.5 -78t-236.5 -209t-88 -279q0 -98 29 -193l68 -12q34 60 93 95.5t130 35.5v32q0 14 9 23t23 9h64q14 0 23 -9t9 -23v-576q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v32q-88 0 -156.5 53.5t-90.5 136.5l-185 33l-20 49q-60 148 -60 314q0 151 67 291t179 242.5 t266 163.5t320 61t320 -61t266 -163.5t179 -242.5t67 -291z" />
69
+ <glyph unicode="&#xf026;" horiz-adv-x="768" d="M768 1184v-1088q0 -26 -19 -45t-45 -19t-45 19l-333 333h-262q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h262l333 333q19 19 45 19t45 -19t19 -45z" />
70
+ <glyph unicode="&#xf027;" horiz-adv-x="1152" d="M768 1184v-1088q0 -26 -19 -45t-45 -19t-45 19l-333 333h-262q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h262l333 333q19 19 45 19t45 -19t19 -45zM1152 640q0 -76 -42.5 -141.5t-112.5 -93.5q-10 -5 -25 -5q-26 0 -45 18.5t-19 45.5q0 21 12 35.5t29 25t34 23t29 35.5 t12 57t-12 57t-29 35.5t-34 23t-29 25t-12 35.5q0 27 19 45.5t45 18.5q15 0 25 -5q70 -27 112.5 -93t42.5 -142z" />
71
+ <glyph unicode="&#xf028;" horiz-adv-x="1664" d="M768 1184v-1088q0 -26 -19 -45t-45 -19t-45 19l-333 333h-262q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h262l333 333q19 19 45 19t45 -19t19 -45zM1152 640q0 -76 -42.5 -141.5t-112.5 -93.5q-10 -5 -25 -5q-26 0 -45 18.5t-19 45.5q0 21 12 35.5t29 25t34 23t29 35.5 t12 57t-12 57t-29 35.5t-34 23t-29 25t-12 35.5q0 27 19 45.5t45 18.5q15 0 25 -5q70 -27 112.5 -93t42.5 -142zM1408 640q0 -153 -85 -282.5t-225 -188.5q-13 -5 -25 -5q-27 0 -46 19t-19 45q0 39 39 59q56 29 76 44q74 54 115.5 135.5t41.5 173.5t-41.5 173.5 t-115.5 135.5q-20 15 -76 44q-39 20 -39 59q0 26 19 45t45 19q13 0 26 -5q140 -59 225 -188.5t85 -282.5zM1664 640q0 -230 -127 -422.5t-338 -283.5q-13 -5 -26 -5q-26 0 -45 19t-19 45q0 36 39 59q7 4 22.5 10.5t22.5 10.5q46 25 82 51q123 91 192 227t69 289t-69 289 t-192 227q-36 26 -82 51q-7 4 -22.5 10.5t-22.5 10.5q-39 23 -39 59q0 26 19 45t45 19q13 0 26 -5q211 -91 338 -283.5t127 -422.5z" />
72
+ <glyph unicode="&#xf029;" horiz-adv-x="1408" d="M384 384v-128h-128v128h128zM384 1152v-128h-128v128h128zM1152 1152v-128h-128v128h128zM128 129h384v383h-384v-383zM128 896h384v384h-384v-384zM896 896h384v384h-384v-384zM640 640v-640h-640v640h640zM1152 128v-128h-128v128h128zM1408 128v-128h-128v128h128z M1408 640v-384h-384v128h-128v-384h-128v640h384v-128h128v128h128zM640 1408v-640h-640v640h640zM1408 1408v-640h-640v640h640z" />
73
+ <glyph unicode="&#xf02a;" horiz-adv-x="1792" d="M63 0h-63v1408h63v-1408zM126 1h-32v1407h32v-1407zM220 1h-31v1407h31v-1407zM377 1h-31v1407h31v-1407zM534 1h-62v1407h62v-1407zM660 1h-31v1407h31v-1407zM723 1h-31v1407h31v-1407zM786 1h-31v1407h31v-1407zM943 1h-63v1407h63v-1407zM1100 1h-63v1407h63v-1407z M1226 1h-63v1407h63v-1407zM1352 1h-63v1407h63v-1407zM1446 1h-63v1407h63v-1407zM1635 1h-94v1407h94v-1407zM1698 1h-32v1407h32v-1407zM1792 0h-63v1408h63v-1408z" />
74
+ <glyph unicode="&#xf02b;" d="M448 1088q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1515 512q0 -53 -37 -90l-491 -492q-39 -37 -91 -37q-53 0 -90 37l-715 716q-38 37 -64.5 101t-26.5 117v416q0 52 38 90t90 38h416q53 0 117 -26.5t102 -64.5 l715 -714q37 -39 37 -91z" />
75
+ <glyph unicode="&#xf02c;" horiz-adv-x="1920" d="M448 1088q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1515 512q0 -53 -37 -90l-491 -492q-39 -37 -91 -37q-53 0 -90 37l-715 716q-38 37 -64.5 101t-26.5 117v416q0 52 38 90t90 38h416q53 0 117 -26.5t102 -64.5 l715 -714q37 -39 37 -91zM1899 512q0 -53 -37 -90l-491 -492q-39 -37 -91 -37q-36 0 -59 14t-53 45l470 470q37 37 37 90q0 52 -37 91l-715 714q-38 38 -102 64.5t-117 26.5h224q53 0 117 -26.5t102 -64.5l715 -714q37 -39 37 -91z" />
76
+ <glyph unicode="&#xf02d;" horiz-adv-x="1664" d="M1639 1058q40 -57 18 -129l-275 -906q-19 -64 -76.5 -107.5t-122.5 -43.5h-923q-77 0 -148.5 53.5t-99.5 131.5q-24 67 -2 127q0 4 3 27t4 37q1 8 -3 21.5t-3 19.5q2 11 8 21t16.5 23.5t16.5 23.5q23 38 45 91.5t30 91.5q3 10 0.5 30t-0.5 28q3 11 17 28t17 23 q21 36 42 92t25 90q1 9 -2.5 32t0.5 28q4 13 22 30.5t22 22.5q19 26 42.5 84.5t27.5 96.5q1 8 -3 25.5t-2 26.5q2 8 9 18t18 23t17 21q8 12 16.5 30.5t15 35t16 36t19.5 32t26.5 23.5t36 11.5t47.5 -5.5l-1 -3q38 9 51 9h761q74 0 114 -56t18 -130l-274 -906 q-36 -119 -71.5 -153.5t-128.5 -34.5h-869q-27 0 -38 -15q-11 -16 -1 -43q24 -70 144 -70h923q29 0 56 15.5t35 41.5l300 987q7 22 5 57q38 -15 59 -43zM575 1056q-4 -13 2 -22.5t20 -9.5h608q13 0 25.5 9.5t16.5 22.5l21 64q4 13 -2 22.5t-20 9.5h-608q-13 0 -25.5 -9.5 t-16.5 -22.5zM492 800q-4 -13 2 -22.5t20 -9.5h608q13 0 25.5 9.5t16.5 22.5l21 64q4 13 -2 22.5t-20 9.5h-608q-13 0 -25.5 -9.5t-16.5 -22.5z" />
77
+ <glyph unicode="&#xf02e;" horiz-adv-x="1280" d="M1164 1408q23 0 44 -9q33 -13 52.5 -41t19.5 -62v-1289q0 -34 -19.5 -62t-52.5 -41q-19 -8 -44 -8q-48 0 -83 32l-441 424l-441 -424q-36 -33 -83 -33q-23 0 -44 9q-33 13 -52.5 41t-19.5 62v1289q0 34 19.5 62t52.5 41q21 9 44 9h1048z" />
78
+ <glyph unicode="&#xf02f;" horiz-adv-x="1664" d="M384 0h896v256h-896v-256zM384 640h896v384h-160q-40 0 -68 28t-28 68v160h-640v-640zM1536 576q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1664 576v-416q0 -13 -9.5 -22.5t-22.5 -9.5h-224v-160q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68 v160h-224q-13 0 -22.5 9.5t-9.5 22.5v416q0 79 56.5 135.5t135.5 56.5h64v544q0 40 28 68t68 28h672q40 0 88 -20t76 -48l152 -152q28 -28 48 -76t20 -88v-256h64q79 0 135.5 -56.5t56.5 -135.5z" />
79
+ <glyph unicode="&#xf030;" horiz-adv-x="1920" d="M960 864q119 0 203.5 -84.5t84.5 -203.5t-84.5 -203.5t-203.5 -84.5t-203.5 84.5t-84.5 203.5t84.5 203.5t203.5 84.5zM1664 1280q106 0 181 -75t75 -181v-896q0 -106 -75 -181t-181 -75h-1408q-106 0 -181 75t-75 181v896q0 106 75 181t181 75h224l51 136 q19 49 69.5 84.5t103.5 35.5h512q53 0 103.5 -35.5t69.5 -84.5l51 -136h224zM960 128q185 0 316.5 131.5t131.5 316.5t-131.5 316.5t-316.5 131.5t-316.5 -131.5t-131.5 -316.5t131.5 -316.5t316.5 -131.5z" />
80
+ <glyph unicode="&#xf031;" horiz-adv-x="1664" d="M725 977l-170 -450q73 -1 153.5 -2t119 -1.5t52.5 -0.5l29 2q-32 95 -92 241q-53 132 -92 211zM21 -128h-21l2 79q22 7 80 18q89 16 110 31q20 16 48 68l237 616l280 724h75h53l11 -21l205 -480q103 -242 124 -297q39 -102 96 -235q26 -58 65 -164q24 -67 65 -149 q22 -49 35 -57q22 -19 69 -23q47 -6 103 -27q6 -39 6 -57q0 -14 -1 -26q-80 0 -192 8q-93 8 -189 8q-79 0 -135 -2l-200 -11l-58 -2q0 45 4 78l131 28q56 13 68 23q12 12 12 27t-6 32l-47 114l-92 228l-450 2q-29 -65 -104 -274q-23 -64 -23 -84q0 -31 17 -43 q26 -21 103 -32q3 0 13.5 -2t30 -5t40.5 -6q1 -28 1 -58q0 -17 -2 -27q-66 0 -349 20l-48 -8q-81 -14 -167 -14z" />
81
+ <glyph unicode="&#xf032;" horiz-adv-x="1408" d="M555 15q76 -32 140 -32q131 0 216 41t122 113q38 70 38 181q0 114 -41 180q-58 94 -141 126q-80 32 -247 32q-74 0 -101 -10v-144l-1 -173l3 -270q0 -15 12 -44zM541 761q43 -7 109 -7q175 0 264 65t89 224q0 112 -85 187q-84 75 -255 75q-52 0 -130 -13q0 -44 2 -77 q7 -122 6 -279l-1 -98q0 -43 1 -77zM0 -128l2 94q45 9 68 12q77 12 123 31q17 27 21 51q9 66 9 194l-2 497q-5 256 -9 404q-1 87 -11 109q-1 4 -12 12q-18 12 -69 15q-30 2 -114 13l-4 83l260 6l380 13l45 1q5 0 14 0.5t14 0.5q1 0 21.5 -0.5t40.5 -0.5h74q88 0 191 -27 q43 -13 96 -39q57 -29 102 -76q44 -47 65 -104t21 -122q0 -70 -32 -128t-95 -105q-26 -20 -150 -77q177 -41 267 -146q92 -106 92 -236q0 -76 -29 -161q-21 -62 -71 -117q-66 -72 -140 -108q-73 -36 -203 -60q-82 -15 -198 -11l-197 4q-84 2 -298 -11q-33 -3 -272 -11z" />
82
+ <glyph unicode="&#xf033;" horiz-adv-x="1024" d="M0 -126l17 85q4 1 77 20q76 19 116 39q29 37 41 101l27 139l56 268l12 64q8 44 17 84.5t16 67t12.5 46.5t9 30.5t3.5 11.5l29 157l16 63l22 135l8 50v38q-41 22 -144 28q-28 2 -38 4l19 103l317 -14q39 -2 73 -2q66 0 214 9q33 2 68 4.5t36 2.5q-2 -19 -6 -38 q-7 -29 -13 -51q-55 -19 -109 -31q-64 -16 -101 -31q-12 -31 -24 -88q-9 -44 -13 -82q-44 -199 -66 -306l-61 -311l-38 -158l-43 -235l-12 -45q-2 -7 1 -27q64 -15 119 -21q36 -5 66 -10q-1 -29 -7 -58q-7 -31 -9 -41q-18 0 -23 -1q-24 -2 -42 -2q-9 0 -28 3q-19 4 -145 17 l-198 2q-41 1 -174 -11q-74 -7 -98 -9z" />
83
+ <glyph unicode="&#xf034;" horiz-adv-x="1792" d="M81 1407l54 -27q20 -5 211 -5h130l19 3l115 1l215 -1h293l34 -2q14 -1 28 7t21 16l7 8l42 1q15 0 28 -1v-104.5t1 -131.5l1 -100l-1 -58q0 -32 -4 -51q-39 -15 -68 -18q-25 43 -54 128q-8 24 -15.5 62.5t-11.5 65.5t-6 29q-13 15 -27 19q-7 2 -42.5 2t-103.5 -1t-111 -1 q-34 0 -67 -5q-10 -97 -8 -136l1 -152v-332l3 -359l-1 -147q-1 -46 11 -85q49 -25 89 -32q2 0 18 -5t44 -13t43 -12q30 -8 50 -18q5 -45 5 -50q0 -10 -3 -29q-14 -1 -34 -1q-110 0 -187 10q-72 8 -238 8q-88 0 -233 -14q-48 -4 -70 -4q-2 22 -2 26l-1 26v9q21 33 79 49 q139 38 159 50q9 21 12 56q8 192 6 433l-5 428q-1 62 -0.5 118.5t0.5 102.5t-2 57t-6 15q-6 5 -14 6q-38 6 -148 6q-43 0 -100 -13.5t-73 -24.5q-13 -9 -22 -33t-22 -75t-24 -84q-6 -19 -19.5 -32t-20.5 -13q-44 27 -56 44v297v86zM1744 128q33 0 42 -18.5t-11 -44.5 l-126 -162q-20 -26 -49 -26t-49 26l-126 162q-20 26 -11 44.5t42 18.5h80v1024h-80q-33 0 -42 18.5t11 44.5l126 162q20 26 49 26t49 -26l126 -162q20 -26 11 -44.5t-42 -18.5h-80v-1024h80z" />
84
+ <glyph unicode="&#xf035;" d="M81 1407l54 -27q20 -5 211 -5h130l19 3l115 1l446 -1h318l34 -2q14 -1 28 7t21 16l7 8l42 1q15 0 28 -1v-104.5t1 -131.5l1 -100l-1 -58q0 -32 -4 -51q-39 -15 -68 -18q-25 43 -54 128q-8 24 -15.5 62.5t-11.5 65.5t-6 29q-13 15 -27 19q-7 2 -58.5 2t-138.5 -1t-128 -1 q-94 0 -127 -5q-10 -97 -8 -136l1 -152v52l3 -359l-1 -147q-1 -46 11 -85q49 -25 89 -32q2 0 18 -5t44 -13t43 -12q30 -8 50 -18q5 -45 5 -50q0 -10 -3 -29q-14 -1 -34 -1q-110 0 -187 10q-72 8 -238 8q-82 0 -233 -13q-45 -5 -70 -5q-2 22 -2 26l-1 26v9q21 33 79 49 q139 38 159 50q9 21 12 56q6 137 6 433l-5 44q0 265 -2 278q-2 11 -6 15q-6 5 -14 6q-38 6 -148 6q-50 0 -168.5 -14t-132.5 -24q-13 -9 -22 -33t-22 -75t-24 -84q-6 -19 -19.5 -32t-20.5 -13q-44 27 -56 44v297v86zM1505 113q26 -20 26 -49t-26 -49l-162 -126 q-26 -20 -44.5 -11t-18.5 42v80h-1024v-80q0 -33 -18.5 -42t-44.5 11l-162 126q-26 20 -26 49t26 49l162 126q26 20 44.5 11t18.5 -42v-80h1024v80q0 33 18.5 42t44.5 -11z" />
85
+ <glyph unicode="&#xf036;" horiz-adv-x="1792" d="M1792 192v-128q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1408 576v-128q0 -26 -19 -45t-45 -19h-1280q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1280q26 0 45 -19t19 -45zM1664 960v-128q0 -26 -19 -45 t-45 -19h-1536q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1536q26 0 45 -19t19 -45zM1280 1344v-128q0 -26 -19 -45t-45 -19h-1152q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1152q26 0 45 -19t19 -45z" />
86
+ <glyph unicode="&#xf037;" horiz-adv-x="1792" d="M1792 192v-128q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1408 576v-128q0 -26 -19 -45t-45 -19h-896q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h896q26 0 45 -19t19 -45zM1664 960v-128q0 -26 -19 -45t-45 -19 h-1408q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1408q26 0 45 -19t19 -45zM1280 1344v-128q0 -26 -19 -45t-45 -19h-640q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h640q26 0 45 -19t19 -45z" />
87
+ <glyph unicode="&#xf038;" horiz-adv-x="1792" d="M1792 192v-128q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1792 576v-128q0 -26 -19 -45t-45 -19h-1280q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1280q26 0 45 -19t19 -45zM1792 960v-128q0 -26 -19 -45 t-45 -19h-1536q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1536q26 0 45 -19t19 -45zM1792 1344v-128q0 -26 -19 -45t-45 -19h-1152q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1152q26 0 45 -19t19 -45z" />
88
+ <glyph unicode="&#xf039;" horiz-adv-x="1792" d="M1792 192v-128q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1792 576v-128q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1792 960v-128q0 -26 -19 -45 t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1792 1344v-128q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45z" />
89
+ <glyph unicode="&#xf03a;" horiz-adv-x="1792" d="M256 224v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-192q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h192q13 0 22.5 -9.5t9.5 -22.5zM256 608v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-192q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h192q13 0 22.5 -9.5 t9.5 -22.5zM256 992v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-192q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h192q13 0 22.5 -9.5t9.5 -22.5zM1792 224v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1344q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1344 q13 0 22.5 -9.5t9.5 -22.5zM256 1376v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-192q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h192q13 0 22.5 -9.5t9.5 -22.5zM1792 608v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1344q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5 t22.5 9.5h1344q13 0 22.5 -9.5t9.5 -22.5zM1792 992v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1344q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1344q13 0 22.5 -9.5t9.5 -22.5zM1792 1376v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1344q-13 0 -22.5 9.5t-9.5 22.5v192 q0 13 9.5 22.5t22.5 9.5h1344q13 0 22.5 -9.5t9.5 -22.5z" />
90
+ <glyph unicode="&#xf03b;" horiz-adv-x="1792" d="M384 992v-576q0 -13 -9.5 -22.5t-22.5 -9.5q-14 0 -23 9l-288 288q-9 9 -9 23t9 23l288 288q9 9 23 9q13 0 22.5 -9.5t9.5 -22.5zM1792 224v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1728q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1728q13 0 22.5 -9.5 t9.5 -22.5zM1792 608v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1088q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1088q13 0 22.5 -9.5t9.5 -22.5zM1792 992v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1088q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1088 q13 0 22.5 -9.5t9.5 -22.5zM1792 1376v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1728q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1728q13 0 22.5 -9.5t9.5 -22.5z" />
91
+ <glyph unicode="&#xf03c;" horiz-adv-x="1792" d="M352 704q0 -14 -9 -23l-288 -288q-9 -9 -23 -9q-13 0 -22.5 9.5t-9.5 22.5v576q0 13 9.5 22.5t22.5 9.5q14 0 23 -9l288 -288q9 -9 9 -23zM1792 224v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1728q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1728q13 0 22.5 -9.5 t9.5 -22.5zM1792 608v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1088q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1088q13 0 22.5 -9.5t9.5 -22.5zM1792 992v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1088q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1088 q13 0 22.5 -9.5t9.5 -22.5zM1792 1376v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1728q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1728q13 0 22.5 -9.5t9.5 -22.5z" />
92
+ <glyph unicode="&#xf03d;" horiz-adv-x="1792" d="M1792 1184v-1088q0 -42 -39 -59q-13 -5 -25 -5q-27 0 -45 19l-403 403v-166q0 -119 -84.5 -203.5t-203.5 -84.5h-704q-119 0 -203.5 84.5t-84.5 203.5v704q0 119 84.5 203.5t203.5 84.5h704q119 0 203.5 -84.5t84.5 -203.5v-165l403 402q18 19 45 19q12 0 25 -5 q39 -17 39 -59z" />
93
+ <glyph unicode="&#xf03e;" horiz-adv-x="1920" d="M640 960q0 -80 -56 -136t-136 -56t-136 56t-56 136t56 136t136 56t136 -56t56 -136zM1664 576v-448h-1408v192l320 320l160 -160l512 512zM1760 1280h-1600q-13 0 -22.5 -9.5t-9.5 -22.5v-1216q0 -13 9.5 -22.5t22.5 -9.5h1600q13 0 22.5 9.5t9.5 22.5v1216 q0 13 -9.5 22.5t-22.5 9.5zM1920 1248v-1216q0 -66 -47 -113t-113 -47h-1600q-66 0 -113 47t-47 113v1216q0 66 47 113t113 47h1600q66 0 113 -47t47 -113z" />
94
+ <glyph unicode="&#xf040;" d="M363 0l91 91l-235 235l-91 -91v-107h128v-128h107zM886 928q0 22 -22 22q-10 0 -17 -7l-542 -542q-7 -7 -7 -17q0 -22 22 -22q10 0 17 7l542 542q7 7 7 17zM832 1120l416 -416l-832 -832h-416v416zM1515 1024q0 -53 -37 -90l-166 -166l-416 416l166 165q36 38 90 38 q53 0 91 -38l235 -234q37 -39 37 -91z" />
95
+ <glyph unicode="&#xf041;" horiz-adv-x="1024" d="M768 896q0 106 -75 181t-181 75t-181 -75t-75 -181t75 -181t181 -75t181 75t75 181zM1024 896q0 -109 -33 -179l-364 -774q-16 -33 -47.5 -52t-67.5 -19t-67.5 19t-46.5 52l-365 774q-33 70 -33 179q0 212 150 362t362 150t362 -150t150 -362z" />
96
+ <glyph unicode="&#xf042;" d="M768 96v1088q-148 0 -273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
97
+ <glyph unicode="&#xf043;" horiz-adv-x="1024" d="M512 384q0 36 -20 69q-1 1 -15.5 22.5t-25.5 38t-25 44t-21 50.5q-4 16 -21 16t-21 -16q-7 -23 -21 -50.5t-25 -44t-25.5 -38t-15.5 -22.5q-20 -33 -20 -69q0 -53 37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1024 512q0 -212 -150 -362t-362 -150t-362 150t-150 362 q0 145 81 275q6 9 62.5 90.5t101 151t99.5 178t83 201.5q9 30 34 47t51 17t51.5 -17t33.5 -47q28 -93 83 -201.5t99.5 -178t101 -151t62.5 -90.5q81 -127 81 -275z" />
98
+ <glyph unicode="&#xf044;" horiz-adv-x="1792" d="M888 352l116 116l-152 152l-116 -116v-56h96v-96h56zM1328 1072q-16 16 -33 -1l-350 -350q-17 -17 -1 -33t33 1l350 350q17 17 1 33zM1408 478v-190q0 -119 -84.5 -203.5t-203.5 -84.5h-832q-119 0 -203.5 84.5t-84.5 203.5v832q0 119 84.5 203.5t203.5 84.5h832 q63 0 117 -25q15 -7 18 -23q3 -17 -9 -29l-49 -49q-14 -14 -32 -8q-23 6 -45 6h-832q-66 0 -113 -47t-47 -113v-832q0 -66 47 -113t113 -47h832q66 0 113 47t47 113v126q0 13 9 22l64 64q15 15 35 7t20 -29zM1312 1216l288 -288l-672 -672h-288v288zM1756 1084l-92 -92 l-288 288l92 92q28 28 68 28t68 -28l152 -152q28 -28 28 -68t-28 -68z" />
99
+ <glyph unicode="&#xf045;" horiz-adv-x="1664" d="M1408 547v-259q0 -119 -84.5 -203.5t-203.5 -84.5h-832q-119 0 -203.5 84.5t-84.5 203.5v832q0 119 84.5 203.5t203.5 84.5h255v0q13 0 22.5 -9.5t9.5 -22.5q0 -27 -26 -32q-77 -26 -133 -60q-10 -4 -16 -4h-112q-66 0 -113 -47t-47 -113v-832q0 -66 47 -113t113 -47h832 q66 0 113 47t47 113v214q0 19 18 29q28 13 54 37q16 16 35 8q21 -9 21 -29zM1645 1043l-384 -384q-18 -19 -45 -19q-12 0 -25 5q-39 17 -39 59v192h-160q-323 0 -438 -131q-119 -137 -74 -473q3 -23 -20 -34q-8 -2 -12 -2q-16 0 -26 13q-10 14 -21 31t-39.5 68.5t-49.5 99.5 t-38.5 114t-17.5 122q0 49 3.5 91t14 90t28 88t47 81.5t68.5 74t94.5 61.5t124.5 48.5t159.5 30.5t196.5 11h160v192q0 42 39 59q13 5 25 5q26 0 45 -19l384 -384q19 -19 19 -45t-19 -45z" />
100
+ <glyph unicode="&#xf046;" horiz-adv-x="1664" d="M1408 606v-318q0 -119 -84.5 -203.5t-203.5 -84.5h-832q-119 0 -203.5 84.5t-84.5 203.5v832q0 119 84.5 203.5t203.5 84.5h832q63 0 117 -25q15 -7 18 -23q3 -17 -9 -29l-49 -49q-10 -10 -23 -10q-3 0 -9 2q-23 6 -45 6h-832q-66 0 -113 -47t-47 -113v-832 q0 -66 47 -113t113 -47h832q66 0 113 47t47 113v254q0 13 9 22l64 64q10 10 23 10q6 0 12 -3q20 -8 20 -29zM1639 1095l-814 -814q-24 -24 -57 -24t-57 24l-430 430q-24 24 -24 57t24 57l110 110q24 24 57 24t57 -24l263 -263l647 647q24 24 57 24t57 -24l110 -110 q24 -24 24 -57t-24 -57z" />
101
+ <glyph unicode="&#xf047;" horiz-adv-x="1792" d="M1792 640q0 -26 -19 -45l-256 -256q-19 -19 -45 -19t-45 19t-19 45v128h-384v-384h128q26 0 45 -19t19 -45t-19 -45l-256 -256q-19 -19 -45 -19t-45 19l-256 256q-19 19 -19 45t19 45t45 19h128v384h-384v-128q0 -26 -19 -45t-45 -19t-45 19l-256 256q-19 19 -19 45 t19 45l256 256q19 19 45 19t45 -19t19 -45v-128h384v384h-128q-26 0 -45 19t-19 45t19 45l256 256q19 19 45 19t45 -19l256 -256q19 -19 19 -45t-19 -45t-45 -19h-128v-384h384v128q0 26 19 45t45 19t45 -19l256 -256q19 -19 19 -45z" />
102
+ <glyph unicode="&#xf048;" horiz-adv-x="1024" d="M979 1395q19 19 32 13t13 -32v-1472q0 -26 -13 -32t-32 13l-710 710q-9 9 -13 19v-678q0 -26 -19 -45t-45 -19h-128q-26 0 -45 19t-19 45v1408q0 26 19 45t45 19h128q26 0 45 -19t19 -45v-678q4 11 13 19z" />
103
+ <glyph unicode="&#xf049;" horiz-adv-x="1792" d="M1747 1395q19 19 32 13t13 -32v-1472q0 -26 -13 -32t-32 13l-710 710q-9 9 -13 19v-710q0 -26 -13 -32t-32 13l-710 710q-9 9 -13 19v-678q0 -26 -19 -45t-45 -19h-128q-26 0 -45 19t-19 45v1408q0 26 19 45t45 19h128q26 0 45 -19t19 -45v-678q4 11 13 19l710 710 q19 19 32 13t13 -32v-710q4 11 13 19z" />
104
+ <glyph unicode="&#xf04a;" horiz-adv-x="1664" d="M1619 1395q19 19 32 13t13 -32v-1472q0 -26 -13 -32t-32 13l-710 710q-8 9 -13 19v-710q0 -26 -13 -32t-32 13l-710 710q-19 19 -19 45t19 45l710 710q19 19 32 13t13 -32v-710q5 11 13 19z" />
105
+ <glyph unicode="&#xf04b;" horiz-adv-x="1408" d="M1384 609l-1328 -738q-23 -13 -39.5 -3t-16.5 36v1472q0 26 16.5 36t39.5 -3l1328 -738q23 -13 23 -31t-23 -31z" />
106
+ <glyph unicode="&#xf04c;" d="M1536 1344v-1408q0 -26 -19 -45t-45 -19h-512q-26 0 -45 19t-19 45v1408q0 26 19 45t45 19h512q26 0 45 -19t19 -45zM640 1344v-1408q0 -26 -19 -45t-45 -19h-512q-26 0 -45 19t-19 45v1408q0 26 19 45t45 19h512q26 0 45 -19t19 -45z" />
107
+ <glyph unicode="&#xf04d;" d="M1536 1344v-1408q0 -26 -19 -45t-45 -19h-1408q-26 0 -45 19t-19 45v1408q0 26 19 45t45 19h1408q26 0 45 -19t19 -45z" />
108
+ <glyph unicode="&#xf04e;" horiz-adv-x="1664" d="M45 -115q-19 -19 -32 -13t-13 32v1472q0 26 13 32t32 -13l710 -710q8 -8 13 -19v710q0 26 13 32t32 -13l710 -710q19 -19 19 -45t-19 -45l-710 -710q-19 -19 -32 -13t-13 32v710q-5 -10 -13 -19z" />
109
+ <glyph unicode="&#xf050;" horiz-adv-x="1792" d="M45 -115q-19 -19 -32 -13t-13 32v1472q0 26 13 32t32 -13l710 -710q8 -8 13 -19v710q0 26 13 32t32 -13l710 -710q8 -8 13 -19v678q0 26 19 45t45 19h128q26 0 45 -19t19 -45v-1408q0 -26 -19 -45t-45 -19h-128q-26 0 -45 19t-19 45v678q-5 -10 -13 -19l-710 -710 q-19 -19 -32 -13t-13 32v710q-5 -10 -13 -19z" />
110
+ <glyph unicode="&#xf051;" horiz-adv-x="1024" d="M45 -115q-19 -19 -32 -13t-13 32v1472q0 26 13 32t32 -13l710 -710q8 -8 13 -19v678q0 26 19 45t45 19h128q26 0 45 -19t19 -45v-1408q0 -26 -19 -45t-45 -19h-128q-26 0 -45 19t-19 45v678q-5 -10 -13 -19z" />
111
+ <glyph unicode="&#xf052;" horiz-adv-x="1538" d="M14 557l710 710q19 19 45 19t45 -19l710 -710q19 -19 13 -32t-32 -13h-1472q-26 0 -32 13t13 32zM1473 0h-1408q-26 0 -45 19t-19 45v256q0 26 19 45t45 19h1408q26 0 45 -19t19 -45v-256q0 -26 -19 -45t-45 -19z" />
112
+ <glyph unicode="&#xf053;" horiz-adv-x="1152" d="M742 -37l-652 651q-37 37 -37 90.5t37 90.5l652 651q37 37 90.5 37t90.5 -37l75 -75q37 -37 37 -90.5t-37 -90.5l-486 -486l486 -485q37 -38 37 -91t-37 -90l-75 -75q-37 -37 -90.5 -37t-90.5 37z" />
113
+ <glyph unicode="&#xf054;" horiz-adv-x="1152" d="M1099 704q0 -52 -37 -91l-652 -651q-37 -37 -90 -37t-90 37l-76 75q-37 39 -37 91q0 53 37 90l486 486l-486 485q-37 39 -37 91q0 53 37 90l76 75q36 38 90 38t90 -38l652 -651q37 -37 37 -90z" />
114
+ <glyph unicode="&#xf055;" d="M1216 576v128q0 26 -19 45t-45 19h-256v256q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-256h-256q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h256v-256q0 -26 19 -45t45 -19h128q26 0 45 19t19 45v256h256q26 0 45 19t19 45zM1536 640q0 -209 -103 -385.5 t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
115
+ <glyph unicode="&#xf056;" d="M1216 576v128q0 26 -19 45t-45 19h-768q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h768q26 0 45 19t19 45zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5 t103 -385.5z" />
116
+ <glyph unicode="&#xf057;" d="M1149 414q0 26 -19 45l-181 181l181 181q19 19 19 45q0 27 -19 46l-90 90q-19 19 -46 19q-26 0 -45 -19l-181 -181l-181 181q-19 19 -45 19q-27 0 -46 -19l-90 -90q-19 -19 -19 -46q0 -26 19 -45l181 -181l-181 -181q-19 -19 -19 -45q0 -27 19 -46l90 -90q19 -19 46 -19 q26 0 45 19l181 181l181 -181q19 -19 45 -19q27 0 46 19l90 90q19 19 19 46zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
117
+ <glyph unicode="&#xf058;" d="M1284 802q0 28 -18 46l-91 90q-19 19 -45 19t-45 -19l-408 -407l-226 226q-19 19 -45 19t-45 -19l-91 -90q-18 -18 -18 -46q0 -27 18 -45l362 -362q19 -19 45 -19q27 0 46 19l543 543q18 18 18 45zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103 t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
118
+ <glyph unicode="&#xf059;" d="M896 160v192q0 14 -9 23t-23 9h-192q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h192q14 0 23 9t9 23zM1152 832q0 88 -55.5 163t-138.5 116t-170 41q-243 0 -371 -213q-15 -24 8 -42l132 -100q7 -6 19 -6q16 0 25 12q53 68 86 92q34 24 86 24q48 0 85.5 -26t37.5 -59 q0 -38 -20 -61t-68 -45q-63 -28 -115.5 -86.5t-52.5 -125.5v-36q0 -14 9 -23t23 -9h192q14 0 23 9t9 23q0 19 21.5 49.5t54.5 49.5q32 18 49 28.5t46 35t44.5 48t28 60.5t12.5 81zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5 t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
119
+ <glyph unicode="&#xf05a;" d="M1024 160v160q0 14 -9 23t-23 9h-96v512q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-160q0 -14 9 -23t23 -9h96v-320h-96q-14 0 -23 -9t-9 -23v-160q0 -14 9 -23t23 -9h448q14 0 23 9t9 23zM896 1056v160q0 14 -9 23t-23 9h-192q-14 0 -23 -9t-9 -23v-160q0 -14 9 -23 t23 -9h192q14 0 23 9t9 23zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
120
+ <glyph unicode="&#xf05b;" d="M1197 512h-109q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h109q-32 108 -112.5 188.5t-188.5 112.5v-109q0 -26 -19 -45t-45 -19h-128q-26 0 -45 19t-19 45v109q-108 -32 -188.5 -112.5t-112.5 -188.5h109q26 0 45 -19t19 -45v-128q0 -26 -19 -45t-45 -19h-109 q32 -108 112.5 -188.5t188.5 -112.5v109q0 26 19 45t45 19h128q26 0 45 -19t19 -45v-109q108 32 188.5 112.5t112.5 188.5zM1536 704v-128q0 -26 -19 -45t-45 -19h-143q-37 -161 -154.5 -278.5t-278.5 -154.5v-143q0 -26 -19 -45t-45 -19h-128q-26 0 -45 19t-19 45v143 q-161 37 -278.5 154.5t-154.5 278.5h-143q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h143q37 161 154.5 278.5t278.5 154.5v143q0 26 19 45t45 19h128q26 0 45 -19t19 -45v-143q161 -37 278.5 -154.5t154.5 -278.5h143q26 0 45 -19t19 -45z" />
121
+ <glyph unicode="&#xf05c;" d="M1097 457l-146 -146q-10 -10 -23 -10t-23 10l-137 137l-137 -137q-10 -10 -23 -10t-23 10l-146 146q-10 10 -10 23t10 23l137 137l-137 137q-10 10 -10 23t10 23l146 146q10 10 23 10t23 -10l137 -137l137 137q10 10 23 10t23 -10l146 -146q10 -10 10 -23t-10 -23 l-137 -137l137 -137q10 -10 10 -23t-10 -23zM1312 640q0 148 -73 273t-198 198t-273 73t-273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5 t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
122
+ <glyph unicode="&#xf05d;" d="M1171 723l-422 -422q-19 -19 -45 -19t-45 19l-294 294q-19 19 -19 45t19 45l102 102q19 19 45 19t45 -19l147 -147l275 275q19 19 45 19t45 -19l102 -102q19 -19 19 -45t-19 -45zM1312 640q0 148 -73 273t-198 198t-273 73t-273 -73t-198 -198t-73 -273t73 -273t198 -198 t273 -73t273 73t198 198t73 273zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
123
+ <glyph unicode="&#xf05e;" d="M1312 643q0 161 -87 295l-754 -753q137 -89 297 -89q111 0 211.5 43.5t173.5 116.5t116 174.5t43 212.5zM313 344l755 754q-135 91 -300 91q-148 0 -273 -73t-198 -199t-73 -274q0 -162 89 -299zM1536 643q0 -157 -61 -300t-163.5 -246t-245 -164t-298.5 -61t-298.5 61 t-245 164t-163.5 246t-61 300t61 299.5t163.5 245.5t245 164t298.5 61t298.5 -61t245 -164t163.5 -245.5t61 -299.5z" />
124
+ <glyph unicode="&#xf060;" d="M1536 640v-128q0 -53 -32.5 -90.5t-84.5 -37.5h-704l293 -294q38 -36 38 -90t-38 -90l-75 -76q-37 -37 -90 -37q-52 0 -91 37l-651 652q-37 37 -37 90q0 52 37 91l651 650q38 38 91 38q52 0 90 -38l75 -74q38 -38 38 -91t-38 -91l-293 -293h704q52 0 84.5 -37.5 t32.5 -90.5z" />
125
+ <glyph unicode="&#xf061;" d="M1472 576q0 -54 -37 -91l-651 -651q-39 -37 -91 -37q-51 0 -90 37l-75 75q-38 38 -38 91t38 91l293 293h-704q-52 0 -84.5 37.5t-32.5 90.5v128q0 53 32.5 90.5t84.5 37.5h704l-293 294q-38 36 -38 90t38 90l75 75q38 38 90 38q53 0 91 -38l651 -651q37 -35 37 -90z" />
126
+ <glyph unicode="&#xf062;" horiz-adv-x="1664" d="M1611 565q0 -51 -37 -90l-75 -75q-38 -38 -91 -38q-54 0 -90 38l-294 293v-704q0 -52 -37.5 -84.5t-90.5 -32.5h-128q-53 0 -90.5 32.5t-37.5 84.5v704l-294 -293q-36 -38 -90 -38t-90 38l-75 75q-38 38 -38 90q0 53 38 91l651 651q35 37 90 37q54 0 91 -37l651 -651 q37 -39 37 -91z" />
127
+ <glyph unicode="&#xf063;" horiz-adv-x="1664" d="M1611 704q0 -53 -37 -90l-651 -652q-39 -37 -91 -37q-53 0 -90 37l-651 652q-38 36 -38 90q0 53 38 91l74 75q39 37 91 37q53 0 90 -37l294 -294v704q0 52 38 90t90 38h128q52 0 90 -38t38 -90v-704l294 294q37 37 90 37q52 0 91 -37l75 -75q37 -39 37 -91z" />
128
+ <glyph unicode="&#xf064;" horiz-adv-x="1792" d="M1792 896q0 -26 -19 -45l-512 -512q-19 -19 -45 -19t-45 19t-19 45v256h-224q-98 0 -175.5 -6t-154 -21.5t-133 -42.5t-105.5 -69.5t-80 -101t-48.5 -138.5t-17.5 -181q0 -55 5 -123q0 -6 2.5 -23.5t2.5 -26.5q0 -15 -8.5 -25t-23.5 -10q-16 0 -28 17q-7 9 -13 22 t-13.5 30t-10.5 24q-127 285 -127 451q0 199 53 333q162 403 875 403h224v256q0 26 19 45t45 19t45 -19l512 -512q19 -19 19 -45z" />
129
+ <glyph unicode="&#xf065;" d="M755 480q0 -13 -10 -23l-332 -332l144 -144q19 -19 19 -45t-19 -45t-45 -19h-448q-26 0 -45 19t-19 45v448q0 26 19 45t45 19t45 -19l144 -144l332 332q10 10 23 10t23 -10l114 -114q10 -10 10 -23zM1536 1344v-448q0 -26 -19 -45t-45 -19t-45 19l-144 144l-332 -332 q-10 -10 -23 -10t-23 10l-114 114q-10 10 -10 23t10 23l332 332l-144 144q-19 19 -19 45t19 45t45 19h448q26 0 45 -19t19 -45z" />
130
+ <glyph unicode="&#xf066;" d="M768 576v-448q0 -26 -19 -45t-45 -19t-45 19l-144 144l-332 -332q-10 -10 -23 -10t-23 10l-114 114q-10 10 -10 23t10 23l332 332l-144 144q-19 19 -19 45t19 45t45 19h448q26 0 45 -19t19 -45zM1523 1248q0 -13 -10 -23l-332 -332l144 -144q19 -19 19 -45t-19 -45 t-45 -19h-448q-26 0 -45 19t-19 45v448q0 26 19 45t45 19t45 -19l144 -144l332 332q10 10 23 10t23 -10l114 -114q10 -10 10 -23z" />
131
+ <glyph unicode="&#xf067;" horiz-adv-x="1408" d="M1408 800v-192q0 -40 -28 -68t-68 -28h-416v-416q0 -40 -28 -68t-68 -28h-192q-40 0 -68 28t-28 68v416h-416q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h416v416q0 40 28 68t68 28h192q40 0 68 -28t28 -68v-416h416q40 0 68 -28t28 -68z" />
132
+ <glyph unicode="&#xf068;" horiz-adv-x="1408" d="M1408 800v-192q0 -40 -28 -68t-68 -28h-1216q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h1216q40 0 68 -28t28 -68z" />
133
+ <glyph unicode="&#xf069;" horiz-adv-x="1664" d="M1482 486q46 -26 59.5 -77.5t-12.5 -97.5l-64 -110q-26 -46 -77.5 -59.5t-97.5 12.5l-266 153v-307q0 -52 -38 -90t-90 -38h-128q-52 0 -90 38t-38 90v307l-266 -153q-46 -26 -97.5 -12.5t-77.5 59.5l-64 110q-26 46 -12.5 97.5t59.5 77.5l266 154l-266 154 q-46 26 -59.5 77.5t12.5 97.5l64 110q26 46 77.5 59.5t97.5 -12.5l266 -153v307q0 52 38 90t90 38h128q52 0 90 -38t38 -90v-307l266 153q46 26 97.5 12.5t77.5 -59.5l64 -110q26 -46 12.5 -97.5t-59.5 -77.5l-266 -154z" />
134
+ <glyph unicode="&#xf06a;" d="M768 1408q209 0 385.5 -103t279.5 -279.5t103 -385.5t-103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103zM896 161v190q0 14 -9 23.5t-22 9.5h-192q-13 0 -23 -10t-10 -23v-190q0 -13 10 -23t23 -10h192 q13 0 22 9.5t9 23.5zM894 505l18 621q0 12 -10 18q-10 8 -24 8h-220q-14 0 -24 -8q-10 -6 -10 -18l17 -621q0 -10 10 -17.5t24 -7.5h185q14 0 23.5 7.5t10.5 17.5z" />
135
+ <glyph unicode="&#xf06b;" d="M928 180v56v468v192h-320v-192v-468v-56q0 -25 18 -38.5t46 -13.5h192q28 0 46 13.5t18 38.5zM472 1024h195l-126 161q-26 31 -69 31q-40 0 -68 -28t-28 -68t28 -68t68 -28zM1160 1120q0 40 -28 68t-68 28q-43 0 -69 -31l-125 -161h194q40 0 68 28t28 68zM1536 864v-320 q0 -14 -9 -23t-23 -9h-96v-416q0 -40 -28 -68t-68 -28h-1088q-40 0 -68 28t-28 68v416h-96q-14 0 -23 9t-9 23v320q0 14 9 23t23 9h440q-93 0 -158.5 65.5t-65.5 158.5t65.5 158.5t158.5 65.5q107 0 168 -77l128 -165l128 165q61 77 168 77q93 0 158.5 -65.5t65.5 -158.5 t-65.5 -158.5t-158.5 -65.5h440q14 0 23 -9t9 -23z" />
136
+ <glyph unicode="&#xf06c;" horiz-adv-x="1792" d="M1280 832q0 26 -19 45t-45 19q-172 0 -318 -49.5t-259.5 -134t-235.5 -219.5q-19 -21 -19 -45q0 -26 19 -45t45 -19q24 0 45 19q27 24 74 71t67 66q137 124 268.5 176t313.5 52q26 0 45 19t19 45zM1792 1030q0 -95 -20 -193q-46 -224 -184.5 -383t-357.5 -268 q-214 -108 -438 -108q-148 0 -286 47q-15 5 -88 42t-96 37q-16 0 -39.5 -32t-45 -70t-52.5 -70t-60 -32q-30 0 -51 11t-31 24t-27 42q-2 4 -6 11t-5.5 10t-3 9.5t-1.5 13.5q0 35 31 73.5t68 65.5t68 56t31 48q0 4 -14 38t-16 44q-9 51 -9 104q0 115 43.5 220t119 184.5 t170.5 139t204 95.5q55 18 145 25.5t179.5 9t178.5 6t163.5 24t113.5 56.5l29.5 29.5t29.5 28t27 20t36.5 16t43.5 4.5q39 0 70.5 -46t47.5 -112t24 -124t8 -96z" />
137
+ <glyph unicode="&#xf06d;" horiz-adv-x="1408" d="M1408 -160v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-1344q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h1344q13 0 22.5 -9.5t9.5 -22.5zM1152 896q0 -78 -24.5 -144t-64 -112.5t-87.5 -88t-96 -77.5t-87.5 -72t-64 -81.5t-24.5 -96.5q0 -96 67 -224l-4 1l1 -1 q-90 41 -160 83t-138.5 100t-113.5 122.5t-72.5 150.5t-27.5 184q0 78 24.5 144t64 112.5t87.5 88t96 77.5t87.5 72t64 81.5t24.5 96.5q0 94 -66 224l3 -1l-1 1q90 -41 160 -83t138.5 -100t113.5 -122.5t72.5 -150.5t27.5 -184z" />
138
+ <glyph unicode="&#xf06e;" horiz-adv-x="1792" d="M1664 576q-152 236 -381 353q61 -104 61 -225q0 -185 -131.5 -316.5t-316.5 -131.5t-316.5 131.5t-131.5 316.5q0 121 61 225q-229 -117 -381 -353q133 -205 333.5 -326.5t434.5 -121.5t434.5 121.5t333.5 326.5zM944 960q0 20 -14 34t-34 14q-125 0 -214.5 -89.5 t-89.5 -214.5q0 -20 14 -34t34 -14t34 14t14 34q0 86 61 147t147 61q20 0 34 14t14 34zM1792 576q0 -34 -20 -69q-140 -230 -376.5 -368.5t-499.5 -138.5t-499.5 139t-376.5 368q-20 35 -20 69t20 69q140 229 376.5 368t499.5 139t499.5 -139t376.5 -368q20 -35 20 -69z" />
139
+ <glyph unicode="&#xf070;" horiz-adv-x="1792" d="M555 201l78 141q-87 63 -136 159t-49 203q0 121 61 225q-229 -117 -381 -353q167 -258 427 -375zM944 960q0 20 -14 34t-34 14q-125 0 -214.5 -89.5t-89.5 -214.5q0 -20 14 -34t34 -14t34 14t14 34q0 86 61 147t147 61q20 0 34 14t14 34zM1307 1151q0 -7 -1 -9 q-105 -188 -315 -566t-316 -567l-49 -89q-10 -16 -28 -16q-12 0 -134 70q-16 10 -16 28q0 12 44 87q-143 65 -263.5 173t-208.5 245q-20 31 -20 69t20 69q153 235 380 371t496 136q89 0 180 -17l54 97q10 16 28 16q5 0 18 -6t31 -15.5t33 -18.5t31.5 -18.5t19.5 -11.5 q16 -10 16 -27zM1344 704q0 -139 -79 -253.5t-209 -164.5l280 502q8 -45 8 -84zM1792 576q0 -35 -20 -69q-39 -64 -109 -145q-150 -172 -347.5 -267t-419.5 -95l74 132q212 18 392.5 137t301.5 307q-115 179 -282 294l63 112q95 -64 182.5 -153t144.5 -184q20 -34 20 -69z " />
140
+ <glyph unicode="&#xf071;" horiz-adv-x="1792" d="M1024 161v190q0 14 -9.5 23.5t-22.5 9.5h-192q-13 0 -22.5 -9.5t-9.5 -23.5v-190q0 -14 9.5 -23.5t22.5 -9.5h192q13 0 22.5 9.5t9.5 23.5zM1022 535l18 459q0 12 -10 19q-13 11 -24 11h-220q-11 0 -24 -11q-10 -7 -10 -21l17 -457q0 -10 10 -16.5t24 -6.5h185 q14 0 23.5 6.5t10.5 16.5zM1008 1469l768 -1408q35 -63 -2 -126q-17 -29 -46.5 -46t-63.5 -17h-1536q-34 0 -63.5 17t-46.5 46q-37 63 -2 126l768 1408q17 31 47 49t65 18t65 -18t47 -49z" />
141
+ <glyph unicode="&#xf072;" horiz-adv-x="1408" d="M1376 1376q44 -52 12 -148t-108 -172l-161 -161l160 -696q5 -19 -12 -33l-128 -96q-7 -6 -19 -6q-4 0 -7 1q-15 3 -21 16l-279 508l-259 -259l53 -194q5 -17 -8 -31l-96 -96q-9 -9 -23 -9h-2q-15 2 -24 13l-189 252l-252 189q-11 7 -13 23q-1 13 9 25l96 97q9 9 23 9 q6 0 8 -1l194 -53l259 259l-508 279q-14 8 -17 24q-2 16 9 27l128 128q14 13 30 8l665 -159l160 160q76 76 172 108t148 -12z" />
142
+ <glyph unicode="&#xf073;" horiz-adv-x="1664" d="M128 -128h288v288h-288v-288zM480 -128h320v288h-320v-288zM128 224h288v320h-288v-320zM480 224h320v320h-320v-320zM128 608h288v288h-288v-288zM864 -128h320v288h-320v-288zM480 608h320v288h-320v-288zM1248 -128h288v288h-288v-288zM864 224h320v320h-320v-320z M512 1088v288q0 13 -9.5 22.5t-22.5 9.5h-64q-13 0 -22.5 -9.5t-9.5 -22.5v-288q0 -13 9.5 -22.5t22.5 -9.5h64q13 0 22.5 9.5t9.5 22.5zM1248 224h288v320h-288v-320zM864 608h320v288h-320v-288zM1248 608h288v288h-288v-288zM1280 1088v288q0 13 -9.5 22.5t-22.5 9.5h-64 q-13 0 -22.5 -9.5t-9.5 -22.5v-288q0 -13 9.5 -22.5t22.5 -9.5h64q13 0 22.5 9.5t9.5 22.5zM1664 1152v-1280q0 -52 -38 -90t-90 -38h-1408q-52 0 -90 38t-38 90v1280q0 52 38 90t90 38h128v96q0 66 47 113t113 47h64q66 0 113 -47t47 -113v-96h384v96q0 66 47 113t113 47 h64q66 0 113 -47t47 -113v-96h128q52 0 90 -38t38 -90z" />
143
+ <glyph unicode="&#xf074;" horiz-adv-x="1792" d="M666 1055q-60 -92 -137 -273q-22 45 -37 72.5t-40.5 63.5t-51 56.5t-63 35t-81.5 14.5h-224q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h224q250 0 410 -225zM1792 256q0 -14 -9 -23l-320 -320q-9 -9 -23 -9q-13 0 -22.5 9.5t-9.5 22.5v192q-32 0 -85 -0.5t-81 -1t-73 1 t-71 5t-64 10.5t-63 18.5t-58 28.5t-59 40t-55 53.5t-56 69.5q59 93 136 273q22 -45 37 -72.5t40.5 -63.5t51 -56.5t63 -35t81.5 -14.5h256v192q0 14 9 23t23 9q12 0 24 -10l319 -319q9 -9 9 -23zM1792 1152q0 -14 -9 -23l-320 -320q-9 -9 -23 -9q-13 0 -22.5 9.5t-9.5 22.5 v192h-256q-48 0 -87 -15t-69 -45t-51 -61.5t-45 -77.5q-32 -62 -78 -171q-29 -66 -49.5 -111t-54 -105t-64 -100t-74 -83t-90 -68.5t-106.5 -42t-128 -16.5h-224q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h224q48 0 87 15t69 45t51 61.5t45 77.5q32 62 78 171q29 66 49.5 111 t54 105t64 100t74 83t90 68.5t106.5 42t128 16.5h256v192q0 14 9 23t23 9q12 0 24 -10l319 -319q9 -9 9 -23z" />
144
+ <glyph unicode="&#xf075;" horiz-adv-x="1792" d="M1792 640q0 -174 -120 -321.5t-326 -233t-450 -85.5q-70 0 -145 8q-198 -175 -460 -242q-49 -14 -114 -22q-17 -2 -30.5 9t-17.5 29v1q-3 4 -0.5 12t2 10t4.5 9.5l6 9t7 8.5t8 9q7 8 31 34.5t34.5 38t31 39.5t32.5 51t27 59t26 76q-157 89 -247.5 220t-90.5 281 q0 130 71 248.5t191 204.5t286 136.5t348 50.5q244 0 450 -85.5t326 -233t120 -321.5z" />
145
+ <glyph unicode="&#xf076;" d="M1536 704v-128q0 -201 -98.5 -362t-274 -251.5t-395.5 -90.5t-395.5 90.5t-274 251.5t-98.5 362v128q0 26 19 45t45 19h384q26 0 45 -19t19 -45v-128q0 -52 23.5 -90t53.5 -57t71 -30t64 -13t44 -2t44 2t64 13t71 30t53.5 57t23.5 90v128q0 26 19 45t45 19h384 q26 0 45 -19t19 -45zM512 1344v-384q0 -26 -19 -45t-45 -19h-384q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h384q26 0 45 -19t19 -45zM1536 1344v-384q0 -26 -19 -45t-45 -19h-384q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h384q26 0 45 -19t19 -45z" />
146
+ <glyph unicode="&#xf077;" horiz-adv-x="1664" d="M1611 320q0 -53 -37 -90l-75 -75q-38 -38 -91 -38q-54 0 -90 38l-486 485l-486 -485q-36 -38 -90 -38t-90 38l-75 75q-38 36 -38 90q0 53 38 91l651 651q37 37 90 37q52 0 91 -37l650 -651q38 -38 38 -91z" />
147
+ <glyph unicode="&#xf078;" horiz-adv-x="1664" d="M1611 832q0 -53 -37 -90l-651 -651q-38 -38 -91 -38q-54 0 -90 38l-651 651q-38 36 -38 90q0 53 38 91l74 75q39 37 91 37q53 0 90 -37l486 -486l486 486q37 37 90 37q52 0 91 -37l75 -75q37 -39 37 -91z" />
148
+ <glyph unicode="&#xf079;" horiz-adv-x="1920" d="M1280 32q0 -13 -9.5 -22.5t-22.5 -9.5h-960q-8 0 -13.5 2t-9 7t-5.5 8t-3 11.5t-1 11.5v13v11v160v416h-192q-26 0 -45 19t-19 45q0 24 15 41l320 384q19 22 49 22t49 -22l320 -384q15 -17 15 -41q0 -26 -19 -45t-45 -19h-192v-384h576q16 0 25 -11l160 -192q7 -11 7 -21 zM1920 448q0 -24 -15 -41l-320 -384q-20 -23 -49 -23t-49 23l-320 384q-15 17 -15 41q0 26 19 45t45 19h192v384h-576q-16 0 -25 12l-160 192q-7 9 -7 20q0 13 9.5 22.5t22.5 9.5h960q8 0 13.5 -2t9 -7t5.5 -8t3 -11.5t1 -11.5v-13v-11v-160v-416h192q26 0 45 -19t19 -45z " />
149
+ <glyph unicode="&#xf07a;" horiz-adv-x="1664" d="M640 0q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1536 0q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1664 1088v-512q0 -24 -16 -42.5t-41 -21.5 l-1044 -122q1 -7 4.5 -21.5t6 -26.5t2.5 -22q0 -16 -24 -64h920q26 0 45 -19t19 -45t-19 -45t-45 -19h-1024q-26 0 -45 19t-19 45q0 14 11 39.5t29.5 59.5t20.5 38l-177 823h-204q-26 0 -45 19t-19 45t19 45t45 19h256q16 0 28.5 -6.5t20 -15.5t13 -24.5t7.5 -26.5 t5.5 -29.5t4.5 -25.5h1201q26 0 45 -19t19 -45z" />
150
+ <glyph unicode="&#xf07b;" horiz-adv-x="1664" d="M1664 928v-704q0 -92 -66 -158t-158 -66h-1216q-92 0 -158 66t-66 158v960q0 92 66 158t158 66h320q92 0 158 -66t66 -158v-32h672q92 0 158 -66t66 -158z" />
151
+ <glyph unicode="&#xf07c;" horiz-adv-x="1920" d="M1879 584q0 -31 -31 -66l-336 -396q-43 -51 -120.5 -86.5t-143.5 -35.5h-1088q-34 0 -60.5 13t-26.5 43q0 31 31 66l336 396q43 51 120.5 86.5t143.5 35.5h1088q34 0 60.5 -13t26.5 -43zM1536 928v-160h-832q-94 0 -197 -47.5t-164 -119.5l-337 -396l-5 -6q0 4 -0.5 12.5 t-0.5 12.5v960q0 92 66 158t158 66h320q92 0 158 -66t66 -158v-32h544q92 0 158 -66t66 -158z" />
152
+ <glyph unicode="&#xf07d;" horiz-adv-x="768" d="M704 1216q0 -26 -19 -45t-45 -19h-128v-1024h128q26 0 45 -19t19 -45t-19 -45l-256 -256q-19 -19 -45 -19t-45 19l-256 256q-19 19 -19 45t19 45t45 19h128v1024h-128q-26 0 -45 19t-19 45t19 45l256 256q19 19 45 19t45 -19l256 -256q19 -19 19 -45z" />
153
+ <glyph unicode="&#xf07e;" horiz-adv-x="1792" d="M1792 640q0 -26 -19 -45l-256 -256q-19 -19 -45 -19t-45 19t-19 45v128h-1024v-128q0 -26 -19 -45t-45 -19t-45 19l-256 256q-19 19 -19 45t19 45l256 256q19 19 45 19t45 -19t19 -45v-128h1024v128q0 26 19 45t45 19t45 -19l256 -256q19 -19 19 -45z" />
154
+ <glyph unicode="&#xf080;" horiz-adv-x="1920" d="M512 512v-384h-256v384h256zM896 1024v-896h-256v896h256zM1280 768v-640h-256v640h256zM1664 1152v-1024h-256v1024h256zM1792 32v1216q0 13 -9.5 22.5t-22.5 9.5h-1600q-13 0 -22.5 -9.5t-9.5 -22.5v-1216q0 -13 9.5 -22.5t22.5 -9.5h1600q13 0 22.5 9.5t9.5 22.5z M1920 1248v-1216q0 -66 -47 -113t-113 -47h-1600q-66 0 -113 47t-47 113v1216q0 66 47 113t113 47h1600q66 0 113 -47t47 -113z" />
155
+ <glyph unicode="&#xf081;" d="M1280 926q-56 -25 -121 -34q68 40 93 117q-65 -38 -134 -51q-61 66 -153 66q-87 0 -148.5 -61.5t-61.5 -148.5q0 -29 5 -48q-129 7 -242 65t-192 155q-29 -50 -29 -106q0 -114 91 -175q-47 1 -100 26v-2q0 -75 50 -133.5t123 -72.5q-29 -8 -51 -8q-13 0 -39 4 q21 -63 74.5 -104t121.5 -42q-116 -90 -261 -90q-26 0 -50 3q148 -94 322 -94q112 0 210 35.5t168 95t120.5 137t75 162t24.5 168.5q0 18 -1 27q63 45 105 109zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5 t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
156
+ <glyph unicode="&#xf082;" d="M1307 618l23 219h-198v109q0 49 15.5 68.5t71.5 19.5h110v219h-175q-152 0 -218 -72t-66 -213v-131h-131v-219h131v-635h262v635h175zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960 q119 0 203.5 -84.5t84.5 -203.5z" />
157
+ <glyph unicode="&#xf083;" horiz-adv-x="1792" d="M928 704q0 14 -9 23t-23 9q-66 0 -113 -47t-47 -113q0 -14 9 -23t23 -9t23 9t9 23q0 40 28 68t68 28q14 0 23 9t9 23zM1152 574q0 -106 -75 -181t-181 -75t-181 75t-75 181t75 181t181 75t181 -75t75 -181zM128 0h1536v128h-1536v-128zM1280 574q0 159 -112.5 271.5 t-271.5 112.5t-271.5 -112.5t-112.5 -271.5t112.5 -271.5t271.5 -112.5t271.5 112.5t112.5 271.5zM256 1216h384v128h-384v-128zM128 1024h1536v118v138h-828l-64 -128h-644v-128zM1792 1280v-1280q0 -53 -37.5 -90.5t-90.5 -37.5h-1536q-53 0 -90.5 37.5t-37.5 90.5v1280 q0 53 37.5 90.5t90.5 37.5h1536q53 0 90.5 -37.5t37.5 -90.5z" />
158
+ <glyph unicode="&#xf084;" horiz-adv-x="1792" d="M832 1024q0 80 -56 136t-136 56t-136 -56t-56 -136q0 -42 19 -83q-41 19 -83 19q-80 0 -136 -56t-56 -136t56 -136t136 -56t136 56t56 136q0 42 -19 83q41 -19 83 -19q80 0 136 56t56 136zM1683 320q0 -17 -49 -66t-66 -49q-9 0 -28.5 16t-36.5 33t-38.5 40t-24.5 26 l-96 -96l220 -220q28 -28 28 -68q0 -42 -39 -81t-81 -39q-40 0 -68 28l-671 671q-176 -131 -365 -131q-163 0 -265.5 102.5t-102.5 265.5q0 160 95 313t248 248t313 95q163 0 265.5 -102.5t102.5 -265.5q0 -189 -131 -365l355 -355l96 96q-3 3 -26 24.5t-40 38.5t-33 36.5 t-16 28.5q0 17 49 66t66 49q13 0 23 -10q6 -6 46 -44.5t82 -79.5t86.5 -86t73 -78t28.5 -41z" />
159
+ <glyph unicode="&#xf085;" horiz-adv-x="1920" d="M896 640q0 106 -75 181t-181 75t-181 -75t-75 -181t75 -181t181 -75t181 75t75 181zM1664 128q0 52 -38 90t-90 38t-90 -38t-38 -90q0 -53 37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1664 1152q0 52 -38 90t-90 38t-90 -38t-38 -90q0 -53 37.5 -90.5t90.5 -37.5 t90.5 37.5t37.5 90.5zM1280 731v-185q0 -10 -7 -19.5t-16 -10.5l-155 -24q-11 -35 -32 -76q34 -48 90 -115q7 -10 7 -20q0 -12 -7 -19q-23 -30 -82.5 -89.5t-78.5 -59.5q-11 0 -21 7l-115 90q-37 -19 -77 -31q-11 -108 -23 -155q-7 -24 -30 -24h-186q-11 0 -20 7.5t-10 17.5 l-23 153q-34 10 -75 31l-118 -89q-7 -7 -20 -7q-11 0 -21 8q-144 133 -144 160q0 9 7 19q10 14 41 53t47 61q-23 44 -35 82l-152 24q-10 1 -17 9.5t-7 19.5v185q0 10 7 19.5t16 10.5l155 24q11 35 32 76q-34 48 -90 115q-7 11 -7 20q0 12 7 20q22 30 82 89t79 59q11 0 21 -7 l115 -90q34 18 77 32q11 108 23 154q7 24 30 24h186q11 0 20 -7.5t10 -17.5l23 -153q34 -10 75 -31l118 89q8 7 20 7q11 0 21 -8q144 -133 144 -160q0 -9 -7 -19q-12 -16 -42 -54t-45 -60q23 -48 34 -82l152 -23q10 -2 17 -10.5t7 -19.5zM1920 198v-140q0 -16 -149 -31 q-12 -27 -30 -52q51 -113 51 -138q0 -4 -4 -7q-122 -71 -124 -71q-8 0 -46 47t-52 68q-20 -2 -30 -2t-30 2q-14 -21 -52 -68t-46 -47q-2 0 -124 71q-4 3 -4 7q0 25 51 138q-18 25 -30 52q-149 15 -149 31v140q0 16 149 31q13 29 30 52q-51 113 -51 138q0 4 4 7q4 2 35 20 t59 34t30 16q8 0 46 -46.5t52 -67.5q20 2 30 2t30 -2q51 71 92 112l6 2q4 0 124 -70q4 -3 4 -7q0 -25 -51 -138q17 -23 30 -52q149 -15 149 -31zM1920 1222v-140q0 -16 -149 -31q-12 -27 -30 -52q51 -113 51 -138q0 -4 -4 -7q-122 -71 -124 -71q-8 0 -46 47t-52 68 q-20 -2 -30 -2t-30 2q-14 -21 -52 -68t-46 -47q-2 0 -124 71q-4 3 -4 7q0 25 51 138q-18 25 -30 52q-149 15 -149 31v140q0 16 149 31q13 29 30 52q-51 113 -51 138q0 4 4 7q4 2 35 20t59 34t30 16q8 0 46 -46.5t52 -67.5q20 2 30 2t30 -2q51 71 92 112l6 2q4 0 124 -70 q4 -3 4 -7q0 -25 -51 -138q17 -23 30 -52q149 -15 149 -31z" />
160
+ <glyph unicode="&#xf086;" horiz-adv-x="1792" d="M1408 768q0 -139 -94 -257t-256.5 -186.5t-353.5 -68.5q-86 0 -176 16q-124 -88 -278 -128q-36 -9 -86 -16h-3q-11 0 -20.5 8t-11.5 21q-1 3 -1 6.5t0.5 6.5t2 6l2.5 5t3.5 5.5t4 5t4.5 5t4 4.5q5 6 23 25t26 29.5t22.5 29t25 38.5t20.5 44q-124 72 -195 177t-71 224 q0 139 94 257t256.5 186.5t353.5 68.5t353.5 -68.5t256.5 -186.5t94 -257zM1792 512q0 -120 -71 -224.5t-195 -176.5q10 -24 20.5 -44t25 -38.5t22.5 -29t26 -29.5t23 -25q1 -1 4 -4.5t4.5 -5t4 -5t3.5 -5.5l2.5 -5t2 -6t0.5 -6.5t-1 -6.5q-3 -14 -13 -22t-22 -7 q-50 7 -86 16q-154 40 -278 128q-90 -16 -176 -16q-271 0 -472 132q58 -4 88 -4q161 0 309 45t264 129q125 92 192 212t67 254q0 77 -23 152q129 -71 204 -178t75 -230z" />
161
+ <glyph unicode="&#xf087;" d="M256 192q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1408 768q0 51 -39 89.5t-89 38.5h-352q0 58 48 159.5t48 160.5q0 98 -32 145t-128 47q-26 -26 -38 -85t-30.5 -125.5t-59.5 -109.5q-22 -23 -77 -91q-4 -5 -23 -30t-31.5 -41t-34.5 -42.5 t-40 -44t-38.5 -35.5t-40 -27t-35.5 -9h-32v-640h32q13 0 31.5 -3t33 -6.5t38 -11t35 -11.5t35.5 -12.5t29 -10.5q211 -73 342 -73h121q192 0 192 167q0 26 -5 56q30 16 47.5 52.5t17.5 73.5t-18 69q53 50 53 119q0 25 -10 55.5t-25 47.5q32 1 53.5 47t21.5 81zM1536 769 q0 -89 -49 -163q9 -33 9 -69q0 -77 -38 -144q3 -21 3 -43q0 -101 -60 -178q1 -139 -85 -219.5t-227 -80.5h-36h-93q-96 0 -189.5 22.5t-216.5 65.5q-116 40 -138 40h-288q-53 0 -90.5 37.5t-37.5 90.5v640q0 53 37.5 90.5t90.5 37.5h274q36 24 137 155q58 75 107 128 q24 25 35.5 85.5t30.5 126.5t62 108q39 37 90 37q84 0 151 -32.5t102 -101.5t35 -186q0 -93 -48 -192h176q104 0 180 -76t76 -179z" />
162
+ <glyph unicode="&#xf088;" d="M256 1088q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1408 512q0 35 -21.5 81t-53.5 47q15 17 25 47.5t10 55.5q0 69 -53 119q18 32 18 69t-17.5 73.5t-47.5 52.5q5 30 5 56q0 85 -49 126t-136 41h-128q-131 0 -342 -73q-5 -2 -29 -10.5 t-35.5 -12.5t-35 -11.5t-38 -11t-33 -6.5t-31.5 -3h-32v-640h32q16 0 35.5 -9t40 -27t38.5 -35.5t40 -44t34.5 -42.5t31.5 -41t23 -30q55 -68 77 -91q41 -43 59.5 -109.5t30.5 -125.5t38 -85q96 0 128 47t32 145q0 59 -48 160.5t-48 159.5h352q50 0 89 38.5t39 89.5z M1536 511q0 -103 -76 -179t-180 -76h-176q48 -99 48 -192q0 -118 -35 -186q-35 -69 -102 -101.5t-151 -32.5q-51 0 -90 37q-34 33 -54 82t-25.5 90.5t-17.5 84.5t-31 64q-48 50 -107 127q-101 131 -137 155h-274q-53 0 -90.5 37.5t-37.5 90.5v640q0 53 37.5 90.5t90.5 37.5 h288q22 0 138 40q128 44 223 66t200 22h112q140 0 226.5 -79t85.5 -216v-5q60 -77 60 -178q0 -22 -3 -43q38 -67 38 -144q0 -36 -9 -69q49 -74 49 -163z" />
163
+ <glyph unicode="&#xf089;" horiz-adv-x="896" d="M832 1504v-1339l-449 -236q-22 -12 -40 -12q-21 0 -31.5 14.5t-10.5 35.5q0 6 2 20l86 500l-364 354q-25 27 -25 48q0 37 56 46l502 73l225 455q19 41 49 41z" />
164
+ <glyph unicode="&#xf08a;" horiz-adv-x="1792" d="M1664 940q0 81 -21.5 143t-55 98.5t-81.5 59.5t-94 31t-98 8t-112 -25.5t-110.5 -64t-86.5 -72t-60 -61.5q-18 -22 -49 -22t-49 22q-24 28 -60 61.5t-86.5 72t-110.5 64t-112 25.5t-98 -8t-94 -31t-81.5 -59.5t-55 -98.5t-21.5 -143q0 -168 187 -355l581 -560l580 559 q188 188 188 356zM1792 940q0 -221 -229 -450l-623 -600q-18 -18 -44 -18t-44 18l-624 602q-10 8 -27.5 26t-55.5 65.5t-68 97.5t-53.5 121t-23.5 138q0 220 127 344t351 124q62 0 126.5 -21.5t120 -58t95.5 -68.5t76 -68q36 36 76 68t95.5 68.5t120 58t126.5 21.5 q224 0 351 -124t127 -344z" />
165
+ <glyph unicode="&#xf08b;" horiz-adv-x="1664" d="M640 96q0 -4 1 -20t0.5 -26.5t-3 -23.5t-10 -19.5t-20.5 -6.5h-320q-119 0 -203.5 84.5t-84.5 203.5v704q0 119 84.5 203.5t203.5 84.5h320q13 0 22.5 -9.5t9.5 -22.5q0 -4 1 -20t0.5 -26.5t-3 -23.5t-10 -19.5t-20.5 -6.5h-320q-66 0 -113 -47t-47 -113v-704 q0 -66 47 -113t113 -47h288h11h13t11.5 -1t11.5 -3t8 -5.5t7 -9t2 -13.5zM1568 640q0 -26 -19 -45l-544 -544q-19 -19 -45 -19t-45 19t-19 45v288h-448q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h448v288q0 26 19 45t45 19t45 -19l544 -544q19 -19 19 -45z" />
166
+ <glyph unicode="&#xf08c;" d="M237 122h231v694h-231v-694zM483 1030q-1 52 -36 86t-93 34t-94.5 -34t-36.5 -86q0 -51 35.5 -85.5t92.5 -34.5h1q59 0 95 34.5t36 85.5zM1068 122h231v398q0 154 -73 233t-193 79q-136 0 -209 -117h2v101h-231q3 -66 0 -694h231v388q0 38 7 56q15 35 45 59.5t74 24.5 q116 0 116 -157v-371zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
167
+ <glyph unicode="&#xf08d;" horiz-adv-x="1152" d="M480 672v448q0 14 -9 23t-23 9t-23 -9t-9 -23v-448q0 -14 9 -23t23 -9t23 9t9 23zM1152 320q0 -26 -19 -45t-45 -19h-429l-51 -483q-2 -12 -10.5 -20.5t-20.5 -8.5h-1q-27 0 -32 27l-76 485h-404q-26 0 -45 19t-19 45q0 123 78.5 221.5t177.5 98.5v512q-52 0 -90 38 t-38 90t38 90t90 38h640q52 0 90 -38t38 -90t-38 -90t-90 -38v-512q99 0 177.5 -98.5t78.5 -221.5z" />
168
+ <glyph unicode="&#xf08e;" horiz-adv-x="1792" d="M1408 608v-320q0 -119 -84.5 -203.5t-203.5 -84.5h-832q-119 0 -203.5 84.5t-84.5 203.5v832q0 119 84.5 203.5t203.5 84.5h704q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-704q-66 0 -113 -47t-47 -113v-832q0 -66 47 -113t113 -47h832q66 0 113 47t47 113v320 q0 14 9 23t23 9h64q14 0 23 -9t9 -23zM1792 1472v-512q0 -26 -19 -45t-45 -19t-45 19l-176 176l-652 -652q-10 -10 -23 -10t-23 10l-114 114q-10 10 -10 23t10 23l652 652l-176 176q-19 19 -19 45t19 45t45 19h512q26 0 45 -19t19 -45z" />
169
+ <glyph unicode="&#xf090;" d="M1184 640q0 -26 -19 -45l-544 -544q-19 -19 -45 -19t-45 19t-19 45v288h-448q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h448v288q0 26 19 45t45 19t45 -19l544 -544q19 -19 19 -45zM1536 992v-704q0 -119 -84.5 -203.5t-203.5 -84.5h-320q-13 0 -22.5 9.5t-9.5 22.5 q0 4 -1 20t-0.5 26.5t3 23.5t10 19.5t20.5 6.5h320q66 0 113 47t47 113v704q0 66 -47 113t-113 47h-288h-11h-13t-11.5 1t-11.5 3t-8 5.5t-7 9t-2 13.5q0 4 -1 20t-0.5 26.5t3 23.5t10 19.5t20.5 6.5h320q119 0 203.5 -84.5t84.5 -203.5z" />
170
+ <glyph unicode="&#xf091;" horiz-adv-x="1664" d="M458 653q-74 162 -74 371h-256v-96q0 -78 94.5 -162t235.5 -113zM1536 928v96h-256q0 -209 -74 -371q141 29 235.5 113t94.5 162zM1664 1056v-128q0 -71 -41.5 -143t-112 -130t-173 -97.5t-215.5 -44.5q-42 -54 -95 -95q-38 -34 -52.5 -72.5t-14.5 -89.5q0 -54 30.5 -91 t97.5 -37q75 0 133.5 -45.5t58.5 -114.5v-64q0 -14 -9 -23t-23 -9h-832q-14 0 -23 9t-9 23v64q0 69 58.5 114.5t133.5 45.5q67 0 97.5 37t30.5 91q0 51 -14.5 89.5t-52.5 72.5q-53 41 -95 95q-113 5 -215.5 44.5t-173 97.5t-112 130t-41.5 143v128q0 40 28 68t68 28h288v96 q0 66 47 113t113 47h576q66 0 113 -47t47 -113v-96h288q40 0 68 -28t28 -68z" />
171
+ <glyph unicode="&#xf092;" d="M394 184q-8 -9 -20 3q-13 11 -4 19q8 9 20 -3q12 -11 4 -19zM352 245q9 -12 0 -19q-8 -6 -17 7t0 18q9 7 17 -6zM291 305q-5 -7 -13 -2q-10 5 -7 12q3 5 13 2q10 -5 7 -12zM322 271q-6 -7 -16 3q-9 11 -2 16q6 6 16 -3q9 -11 2 -16zM451 159q-4 -12 -19 -6q-17 4 -13 15 t19 7q16 -5 13 -16zM514 154q0 -11 -16 -11q-17 -2 -17 11q0 11 16 11q17 2 17 -11zM572 164q2 -10 -14 -14t-18 8t14 15q16 2 18 -9zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-224q-16 0 -24.5 1t-19.5 5t-16 14.5t-5 27.5v239q0 97 -52 142q57 6 102.5 18t94 39 t81 66.5t53 105t20.5 150.5q0 121 -79 206q37 91 -8 204q-28 9 -81 -11t-92 -44l-38 -24q-93 26 -192 26t-192 -26q-16 11 -42.5 27t-83.5 38.5t-86 13.5q-44 -113 -7 -204q-79 -85 -79 -206q0 -85 20.5 -150t52.5 -105t80.5 -67t94 -39t102.5 -18q-40 -36 -49 -103 q-21 -10 -45 -15t-57 -5t-65.5 21.5t-55.5 62.5q-19 32 -48.5 52t-49.5 24l-20 3q-21 0 -29 -4.5t-5 -11.5t9 -14t13 -12l7 -5q22 -10 43.5 -38t31.5 -51l10 -23q13 -38 44 -61.5t67 -30t69.5 -7t55.5 3.5l23 4q0 -38 0.5 -103t0.5 -68q0 -22 -11 -33.5t-22 -13t-33 -1.5 h-224q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
172
+ <glyph unicode="&#xf093;" horiz-adv-x="1664" d="M1280 64q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1536 64q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1664 288v-320q0 -40 -28 -68t-68 -28h-1472q-40 0 -68 28t-28 68v320q0 40 28 68t68 28h427q21 -56 70.5 -92 t110.5 -36h256q61 0 110.5 36t70.5 92h427q40 0 68 -28t28 -68zM1339 936q-17 -40 -59 -40h-256v-448q0 -26 -19 -45t-45 -19h-256q-26 0 -45 19t-19 45v448h-256q-42 0 -59 40q-17 39 14 69l448 448q18 19 45 19t45 -19l448 -448q31 -30 14 -69z" />
173
+ <glyph unicode="&#xf094;" d="M1407 710q0 44 -7 113.5t-18 96.5q-12 30 -17 44t-9 36.5t-4 48.5q0 23 5 68.5t5 67.5q0 37 -10 55q-4 1 -13 1q-19 0 -58 -4.5t-59 -4.5q-60 0 -176 24t-175 24q-43 0 -94.5 -11.5t-85 -23.5t-89.5 -34q-137 -54 -202 -103q-96 -73 -159.5 -189.5t-88 -236t-24.5 -248.5 q0 -40 12.5 -120t12.5 -121q0 -23 -11 -66.5t-11 -65.5t12 -36.5t34 -14.5q24 0 72.5 11t73.5 11q57 0 169.5 -15.5t169.5 -15.5q181 0 284 36q129 45 235.5 152.5t166 245.5t59.5 275zM1535 712q0 -165 -70 -327.5t-196 -288t-281 -180.5q-124 -44 -326 -44 q-57 0 -170 14.5t-169 14.5q-24 0 -72.5 -14.5t-73.5 -14.5q-73 0 -123.5 55.5t-50.5 128.5q0 24 11 68t11 67q0 40 -12.5 120.5t-12.5 121.5q0 111 18 217.5t54.5 209.5t100.5 194t150 156q78 59 232 120q194 78 316 78q60 0 175.5 -24t173.5 -24q19 0 57 5t58 5 q81 0 118 -50.5t37 -134.5q0 -23 -5 -68t-5 -68q0 -10 1 -18.5t3 -17t4 -13.5t6.5 -16t6.5 -17q16 -40 25 -118.5t9 -136.5z" />
174
+ <glyph unicode="&#xf095;" horiz-adv-x="1408" d="M1408 296q0 -27 -10 -70.5t-21 -68.5q-21 -50 -122 -106q-94 -51 -186 -51q-27 0 -52.5 3.5t-57.5 12.5t-47.5 14.5t-55.5 20.5t-49 18q-98 35 -175 83q-128 79 -264.5 215.5t-215.5 264.5q-48 77 -83 175q-3 9 -18 49t-20.5 55.5t-14.5 47.5t-12.5 57.5t-3.5 52.5 q0 92 51 186q56 101 106 122q25 11 68.5 21t70.5 10q14 0 21 -3q18 -6 53 -76q11 -19 30 -54t35 -63.5t31 -53.5q3 -4 17.5 -25t21.5 -35.5t7 -28.5q0 -20 -28.5 -50t-62 -55t-62 -53t-28.5 -46q0 -9 5 -22.5t8.5 -20.5t14 -24t11.5 -19q76 -137 174 -235t235 -174 q2 -1 19 -11.5t24 -14t20.5 -8.5t22.5 -5q18 0 46 28.5t53 62t55 62t50 28.5q14 0 28.5 -7t35.5 -21.5t25 -17.5q25 -15 53.5 -31t63.5 -35t54 -30q70 -35 76 -53q3 -7 3 -21z" />
175
+ <glyph unicode="&#xf096;" horiz-adv-x="1408" d="M1120 1280h-832q-66 0 -113 -47t-47 -113v-832q0 -66 47 -113t113 -47h832q66 0 113 47t47 113v832q0 66 -47 113t-113 47zM1408 1120v-832q0 -119 -84.5 -203.5t-203.5 -84.5h-832q-119 0 -203.5 84.5t-84.5 203.5v832q0 119 84.5 203.5t203.5 84.5h832 q119 0 203.5 -84.5t84.5 -203.5z" />
176
+ <glyph unicode="&#xf097;" horiz-adv-x="1280" d="M1152 1280h-1024v-1242l423 406l89 85l89 -85l423 -406v1242zM1164 1408q23 0 44 -9q33 -13 52.5 -41t19.5 -62v-1289q0 -34 -19.5 -62t-52.5 -41q-19 -8 -44 -8q-48 0 -83 32l-441 424l-441 -424q-36 -33 -83 -33q-23 0 -44 9q-33 13 -52.5 41t-19.5 62v1289 q0 34 19.5 62t52.5 41q21 9 44 9h1048z" />
177
+ <glyph unicode="&#xf098;" d="M1280 343q0 11 -2 16q-3 8 -38.5 29.5t-88.5 49.5l-53 29q-5 3 -19 13t-25 15t-21 5q-18 0 -47 -32.5t-57 -65.5t-44 -33q-7 0 -16.5 3.5t-15.5 6.5t-17 9.5t-14 8.5q-99 55 -170.5 126.5t-126.5 170.5q-2 3 -8.5 14t-9.5 17t-6.5 15.5t-3.5 16.5q0 13 20.5 33.5t45 38.5 t45 39.5t20.5 36.5q0 10 -5 21t-15 25t-13 19q-3 6 -15 28.5t-25 45.5t-26.5 47.5t-25 40.5t-16.5 18t-16 2q-48 0 -101 -22q-46 -21 -80 -94.5t-34 -130.5q0 -16 2.5 -34t5 -30.5t9 -33t10 -29.5t12.5 -33t11 -30q60 -164 216.5 -320.5t320.5 -216.5q6 -2 30 -11t33 -12.5 t29.5 -10t33 -9t30.5 -5t34 -2.5q57 0 130.5 34t94.5 80q22 53 22 101zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
178
+ <glyph unicode="&#xf099;" horiz-adv-x="1664" d="M1620 1128q-67 -98 -162 -167q1 -14 1 -42q0 -130 -38 -259.5t-115.5 -248.5t-184.5 -210.5t-258 -146t-323 -54.5q-271 0 -496 145q35 -4 78 -4q225 0 401 138q-105 2 -188 64.5t-114 159.5q33 -5 61 -5q43 0 85 11q-112 23 -185.5 111.5t-73.5 205.5v4q68 -38 146 -41 q-66 44 -105 115t-39 154q0 88 44 163q121 -149 294.5 -238.5t371.5 -99.5q-8 38 -8 74q0 134 94.5 228.5t228.5 94.5q140 0 236 -102q109 21 205 78q-37 -115 -142 -178q93 10 186 50z" />
179
+ <glyph unicode="&#xf09a;" horiz-adv-x="768" d="M511 980h257l-30 -284h-227v-824h-341v824h-170v284h170v171q0 182 86 275.5t283 93.5h227v-284h-142q-39 0 -62.5 -6.5t-34 -23.5t-13.5 -34.5t-3 -49.5v-142z" />
180
+ <glyph unicode="&#xf09b;" d="M1536 640q0 -251 -146.5 -451.5t-378.5 -277.5q-27 -5 -39.5 7t-12.5 30v211q0 97 -52 142q57 6 102.5 18t94 39t81 66.5t53 105t20.5 150.5q0 121 -79 206q37 91 -8 204q-28 9 -81 -11t-92 -44l-38 -24q-93 26 -192 26t-192 -26q-16 11 -42.5 27t-83.5 38.5t-86 13.5 q-44 -113 -7 -204q-79 -85 -79 -206q0 -85 20.5 -150t52.5 -105t80.5 -67t94 -39t102.5 -18q-40 -36 -49 -103q-21 -10 -45 -15t-57 -5t-65.5 21.5t-55.5 62.5q-19 32 -48.5 52t-49.5 24l-20 3q-21 0 -29 -4.5t-5 -11.5t9 -14t13 -12l7 -5q22 -10 43.5 -38t31.5 -51l10 -23 q13 -38 44 -61.5t67 -30t69.5 -7t55.5 3.5l23 4q0 -38 0.5 -89t0.5 -54q0 -18 -13 -30t-40 -7q-232 77 -378.5 277.5t-146.5 451.5q0 209 103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
181
+ <glyph unicode="&#xf09c;" horiz-adv-x="1664" d="M1664 960v-256q0 -26 -19 -45t-45 -19h-64q-26 0 -45 19t-19 45v256q0 106 -75 181t-181 75t-181 -75t-75 -181v-192h96q40 0 68 -28t28 -68v-576q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68v576q0 40 28 68t68 28h672v192q0 185 131.5 316.5t316.5 131.5 t316.5 -131.5t131.5 -316.5z" />
182
+ <glyph unicode="&#xf09d;" horiz-adv-x="1920" d="M1760 1408q66 0 113 -47t47 -113v-1216q0 -66 -47 -113t-113 -47h-1600q-66 0 -113 47t-47 113v1216q0 66 47 113t113 47h1600zM160 1280q-13 0 -22.5 -9.5t-9.5 -22.5v-224h1664v224q0 13 -9.5 22.5t-22.5 9.5h-1600zM1760 0q13 0 22.5 9.5t9.5 22.5v608h-1664v-608 q0 -13 9.5 -22.5t22.5 -9.5h1600zM256 128v128h256v-128h-256zM640 128v128h384v-128h-384z" />
183
+ <glyph unicode="&#xf09e;" horiz-adv-x="1408" d="M384 192q0 -80 -56 -136t-136 -56t-136 56t-56 136t56 136t136 56t136 -56t56 -136zM896 69q2 -28 -17 -48q-18 -21 -47 -21h-135q-25 0 -43 16.5t-20 41.5q-22 229 -184.5 391.5t-391.5 184.5q-25 2 -41.5 20t-16.5 43v135q0 29 21 47q17 17 43 17h5q160 -13 306 -80.5 t259 -181.5q114 -113 181.5 -259t80.5 -306zM1408 67q2 -27 -18 -47q-18 -20 -46 -20h-143q-26 0 -44.5 17.5t-19.5 42.5q-12 215 -101 408.5t-231.5 336t-336 231.5t-408.5 102q-25 1 -42.5 19.5t-17.5 43.5v143q0 28 20 46q18 18 44 18h3q262 -13 501.5 -120t425.5 -294 q187 -186 294 -425.5t120 -501.5z" />
184
+ <glyph unicode="&#xf0a0;" d="M1040 320q0 -33 -23.5 -56.5t-56.5 -23.5t-56.5 23.5t-23.5 56.5t23.5 56.5t56.5 23.5t56.5 -23.5t23.5 -56.5zM1296 320q0 -33 -23.5 -56.5t-56.5 -23.5t-56.5 23.5t-23.5 56.5t23.5 56.5t56.5 23.5t56.5 -23.5t23.5 -56.5zM1408 160v320q0 13 -9.5 22.5t-22.5 9.5 h-1216q-13 0 -22.5 -9.5t-9.5 -22.5v-320q0 -13 9.5 -22.5t22.5 -9.5h1216q13 0 22.5 9.5t9.5 22.5zM178 640h1180l-157 482q-4 13 -16 21.5t-26 8.5h-782q-14 0 -26 -8.5t-16 -21.5zM1536 480v-320q0 -66 -47 -113t-113 -47h-1216q-66 0 -113 47t-47 113v320q0 25 16 75 l197 606q17 53 63 86t101 33h782q55 0 101 -33t63 -86l197 -606q16 -50 16 -75z" />
185
+ <glyph unicode="&#xf0a1;" horiz-adv-x="1792" d="M1664 896q53 0 90.5 -37.5t37.5 -90.5t-37.5 -90.5t-90.5 -37.5v-384q0 -52 -38 -90t-90 -38q-417 347 -812 380q-58 -19 -91 -66t-31 -100.5t40 -92.5q-20 -33 -23 -65.5t6 -58t33.5 -55t48 -50t61.5 -50.5q-29 -58 -111.5 -83t-168.5 -11.5t-132 55.5q-7 23 -29.5 87.5 t-32 94.5t-23 89t-15 101t3.5 98.5t22 110.5h-122q-66 0 -113 47t-47 113v192q0 66 47 113t113 47h480q435 0 896 384q52 0 90 -38t38 -90v-384zM1536 292v954q-394 -302 -768 -343v-270q377 -42 768 -341z" />
186
+ <glyph unicode="&#xf0a2;" horiz-adv-x="1664" d="M848 -160q0 16 -16 16q-59 0 -101.5 42.5t-42.5 101.5q0 16 -16 16t-16 -16q0 -73 51.5 -124.5t124.5 -51.5q16 0 16 16zM183 128h1298q-164 181 -246.5 411.5t-82.5 484.5q0 256 -320 256t-320 -256q0 -254 -82.5 -484.5t-246.5 -411.5zM1664 128q0 -52 -38 -90t-90 -38 h-448q0 -106 -75 -181t-181 -75t-181 75t-75 181h-448q-52 0 -90 38t-38 90q190 161 287 397.5t97 498.5q0 165 96 262t264 117q-8 18 -8 37q0 40 28 68t68 28t68 -28t28 -68q0 -19 -8 -37q168 -20 264 -117t96 -262q0 -262 97 -498.5t287 -397.5z" />
187
+ <glyph unicode="&#xf0a3;" d="M1376 640l138 -135q30 -28 20 -70q-12 -41 -52 -51l-188 -48l53 -186q12 -41 -19 -70q-29 -31 -70 -19l-186 53l-48 -188q-10 -40 -51 -52q-12 -2 -19 -2q-31 0 -51 22l-135 138l-135 -138q-28 -30 -70 -20q-41 11 -51 52l-48 188l-186 -53q-41 -12 -70 19q-31 29 -19 70 l53 186l-188 48q-40 10 -52 51q-10 42 20 70l138 135l-138 135q-30 28 -20 70q12 41 52 51l188 48l-53 186q-12 41 19 70q29 31 70 19l186 -53l48 188q10 41 51 51q41 12 70 -19l135 -139l135 139q29 30 70 19q41 -10 51 -51l48 -188l186 53q41 12 70 -19q31 -29 19 -70 l-53 -186l188 -48q40 -10 52 -51q10 -42 -20 -70z" />
188
+ <glyph unicode="&#xf0a4;" horiz-adv-x="1792" d="M256 192q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1664 768q0 51 -39 89.5t-89 38.5h-576q0 20 15 48.5t33 55t33 68t15 84.5q0 67 -44.5 97.5t-115.5 30.5q-24 0 -90 -139q-24 -44 -37 -65q-40 -64 -112 -145q-71 -81 -101 -106 q-69 -57 -140 -57h-32v-640h32q72 0 167 -32t193.5 -64t179.5 -32q189 0 189 167q0 26 -5 56q30 16 47.5 52.5t17.5 73.5t-18 69q53 50 53 119q0 25 -10 55.5t-25 47.5h331q52 0 90 38t38 90zM1792 769q0 -105 -75.5 -181t-180.5 -76h-169q-4 -62 -37 -119q3 -21 3 -43 q0 -101 -60 -178q1 -139 -85 -219.5t-227 -80.5q-133 0 -322 69q-164 59 -223 59h-288q-53 0 -90.5 37.5t-37.5 90.5v640q0 53 37.5 90.5t90.5 37.5h288q10 0 21.5 4.5t23.5 14t22.5 18t24 22.5t20.5 21.5t19 21.5t14 17q65 74 100 129q13 21 33 62t37 72t40.5 63t55 49.5 t69.5 17.5q125 0 206.5 -67t81.5 -189q0 -68 -22 -128h374q104 0 180 -76t76 -179z" />
189
+ <glyph unicode="&#xf0a5;" horiz-adv-x="1792" d="M1376 128h32v640h-32q-35 0 -67.5 12t-62.5 37t-50 46t-49 54q-2 3 -3.5 4.5t-4 4.5t-4.5 5q-72 81 -112 145q-14 22 -38 68q-1 3 -10.5 22.5t-18.5 36t-20 35.5t-21.5 30.5t-18.5 11.5q-71 0 -115.5 -30.5t-44.5 -97.5q0 -43 15 -84.5t33 -68t33 -55t15 -48.5h-576 q-50 0 -89 -38.5t-39 -89.5q0 -52 38 -90t90 -38h331q-15 -17 -25 -47.5t-10 -55.5q0 -69 53 -119q-18 -32 -18 -69t17.5 -73.5t47.5 -52.5q-4 -24 -4 -56q0 -85 48.5 -126t135.5 -41q84 0 183 32t194 64t167 32zM1664 192q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45 t45 -19t45 19t19 45zM1792 768v-640q0 -53 -37.5 -90.5t-90.5 -37.5h-288q-59 0 -223 -59q-190 -69 -317 -69q-142 0 -230 77.5t-87 217.5l1 5q-61 76 -61 178q0 22 3 43q-33 57 -37 119h-169q-105 0 -180.5 76t-75.5 181q0 103 76 179t180 76h374q-22 60 -22 128 q0 122 81.5 189t206.5 67q38 0 69.5 -17.5t55 -49.5t40.5 -63t37 -72t33 -62q35 -55 100 -129q2 -3 14 -17t19 -21.5t20.5 -21.5t24 -22.5t22.5 -18t23.5 -14t21.5 -4.5h288q53 0 90.5 -37.5t37.5 -90.5z" />
190
+ <glyph unicode="&#xf0a6;" d="M1280 -64q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1408 700q0 189 -167 189q-26 0 -56 -5q-16 30 -52.5 47.5t-73.5 17.5t-69 -18q-50 53 -119 53q-25 0 -55.5 -10t-47.5 -25v331q0 52 -38 90t-90 38q-51 0 -89.5 -39t-38.5 -89v-576 q-20 0 -48.5 15t-55 33t-68 33t-84.5 15q-67 0 -97.5 -44.5t-30.5 -115.5q0 -24 139 -90q44 -24 65 -37q64 -40 145 -112q81 -71 106 -101q57 -69 57 -140v-32h640v32q0 72 32 167t64 193.5t32 179.5zM1536 705q0 -133 -69 -322q-59 -164 -59 -223v-288q0 -53 -37.5 -90.5 t-90.5 -37.5h-640q-53 0 -90.5 37.5t-37.5 90.5v288q0 10 -4.5 21.5t-14 23.5t-18 22.5t-22.5 24t-21.5 20.5t-21.5 19t-17 14q-74 65 -129 100q-21 13 -62 33t-72 37t-63 40.5t-49.5 55t-17.5 69.5q0 125 67 206.5t189 81.5q68 0 128 -22v374q0 104 76 180t179 76 q105 0 181 -75.5t76 -180.5v-169q62 -4 119 -37q21 3 43 3q101 0 178 -60q139 1 219.5 -85t80.5 -227z" />
191
+ <glyph unicode="&#xf0a7;" d="M1408 576q0 84 -32 183t-64 194t-32 167v32h-640v-32q0 -35 -12 -67.5t-37 -62.5t-46 -50t-54 -49q-9 -8 -14 -12q-81 -72 -145 -112q-22 -14 -68 -38q-3 -1 -22.5 -10.5t-36 -18.5t-35.5 -20t-30.5 -21.5t-11.5 -18.5q0 -71 30.5 -115.5t97.5 -44.5q43 0 84.5 15t68 33 t55 33t48.5 15v-576q0 -50 38.5 -89t89.5 -39q52 0 90 38t38 90v331q46 -35 103 -35q69 0 119 53q32 -18 69 -18t73.5 17.5t52.5 47.5q24 -4 56 -4q85 0 126 48.5t41 135.5zM1280 1344q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1536 580 q0 -142 -77.5 -230t-217.5 -87l-5 1q-76 -61 -178 -61q-22 0 -43 3q-54 -30 -119 -37v-169q0 -105 -76 -180.5t-181 -75.5q-103 0 -179 76t-76 180v374q-54 -22 -128 -22q-121 0 -188.5 81.5t-67.5 206.5q0 38 17.5 69.5t49.5 55t63 40.5t72 37t62 33q55 35 129 100 q3 2 17 14t21.5 19t21.5 20.5t22.5 24t18 22.5t14 23.5t4.5 21.5v288q0 53 37.5 90.5t90.5 37.5h640q53 0 90.5 -37.5t37.5 -90.5v-288q0 -59 59 -223q69 -190 69 -317z" />
192
+ <glyph unicode="&#xf0a8;" d="M1280 576v128q0 26 -19 45t-45 19h-502l189 189q19 19 19 45t-19 45l-91 91q-18 18 -45 18t-45 -18l-362 -362l-91 -91q-18 -18 -18 -45t18 -45l91 -91l362 -362q18 -18 45 -18t45 18l91 91q18 18 18 45t-18 45l-189 189h502q26 0 45 19t19 45zM1536 640 q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
193
+ <glyph unicode="&#xf0a9;" d="M1285 640q0 27 -18 45l-91 91l-362 362q-18 18 -45 18t-45 -18l-91 -91q-18 -18 -18 -45t18 -45l189 -189h-502q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h502l-189 -189q-19 -19 -19 -45t19 -45l91 -91q18 -18 45 -18t45 18l362 362l91 91q18 18 18 45zM1536 640 q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
194
+ <glyph unicode="&#xf0aa;" d="M1284 641q0 27 -18 45l-362 362l-91 91q-18 18 -45 18t-45 -18l-91 -91l-362 -362q-18 -18 -18 -45t18 -45l91 -91q18 -18 45 -18t45 18l189 189v-502q0 -26 19 -45t45 -19h128q26 0 45 19t19 45v502l189 -189q19 -19 45 -19t45 19l91 91q18 18 18 45zM1536 640 q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
195
+ <glyph unicode="&#xf0ab;" d="M1284 639q0 27 -18 45l-91 91q-18 18 -45 18t-45 -18l-189 -189v502q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-502l-189 189q-19 19 -45 19t-45 -19l-91 -91q-18 -18 -18 -45t18 -45l362 -362l91 -91q18 -18 45 -18t45 18l91 91l362 362q18 18 18 45zM1536 640 q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
196
+ <glyph unicode="&#xf0ac;" d="M768 1408q209 0 385.5 -103t279.5 -279.5t103 -385.5t-103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103zM1042 887q-2 -1 -9.5 -9.5t-13.5 -9.5q2 0 4.5 5t5 11t3.5 7q6 7 22 15q14 6 52 12q34 8 51 -11 q-2 2 9.5 13t14.5 12q3 2 15 4.5t15 7.5l2 22q-12 -1 -17.5 7t-6.5 21q0 -2 -6 -8q0 7 -4.5 8t-11.5 -1t-9 -1q-10 3 -15 7.5t-8 16.5t-4 15q-2 5 -9.5 10.5t-9.5 10.5q-1 2 -2.5 5.5t-3 6.5t-4 5.5t-5.5 2.5t-7 -5t-7.5 -10t-4.5 -5q-3 2 -6 1.5t-4.5 -1t-4.5 -3t-5 -3.5 q-3 -2 -8.5 -3t-8.5 -2q15 5 -1 11q-10 4 -16 3q9 4 7.5 12t-8.5 14h5q-1 4 -8.5 8.5t-17.5 8.5t-13 6q-8 5 -34 9.5t-33 0.5q-5 -6 -4.5 -10.5t4 -14t3.5 -12.5q1 -6 -5.5 -13t-6.5 -12q0 -7 14 -15.5t10 -21.5q-3 -8 -16 -16t-16 -12q-5 -8 -1.5 -18.5t10.5 -16.5 q2 -2 1.5 -4t-3.5 -4.5t-5.5 -4t-6.5 -3.5l-3 -2q-11 -5 -20.5 6t-13.5 26q-7 25 -16 30q-23 8 -29 -1q-5 13 -41 26q-25 9 -58 4q6 1 0 15q-7 15 -19 12q3 6 4 17.5t1 13.5q3 13 12 23q1 1 7 8.5t9.5 13.5t0.5 6q35 -4 50 11q5 5 11.5 17t10.5 17q9 6 14 5.5t14.5 -5.5 t14.5 -5q14 -1 15.5 11t-7.5 20q12 -1 3 17q-5 7 -8 9q-12 4 -27 -5q-8 -4 2 -8q-1 1 -9.5 -10.5t-16.5 -17.5t-16 5q-1 1 -5.5 13.5t-9.5 13.5q-8 0 -16 -15q3 8 -11 15t-24 8q19 12 -8 27q-7 4 -20.5 5t-19.5 -4q-5 -7 -5.5 -11.5t5 -8t10.5 -5.5t11.5 -4t8.5 -3 q14 -10 8 -14q-2 -1 -8.5 -3.5t-11.5 -4.5t-6 -4q-3 -4 0 -14t-2 -14q-5 5 -9 17.5t-7 16.5q7 -9 -25 -6l-10 1q-4 0 -16 -2t-20.5 -1t-13.5 8q-4 8 0 20q1 4 4 2q-4 3 -11 9.5t-10 8.5q-46 -15 -94 -41q6 -1 12 1q5 2 13 6.5t10 5.5q34 14 42 7l5 5q14 -16 20 -25 q-7 4 -30 1q-20 -6 -22 -12q7 -12 5 -18q-4 3 -11.5 10t-14.5 11t-15 5q-16 0 -22 -1q-146 -80 -235 -222q7 -7 12 -8q4 -1 5 -9t2.5 -11t11.5 3q9 -8 3 -19q1 1 44 -27q19 -17 21 -21q3 -11 -10 -18q-1 2 -9 9t-9 4q-3 -5 0.5 -18.5t10.5 -12.5q-7 0 -9.5 -16t-2.5 -35.5 t-1 -23.5l2 -1q-3 -12 5.5 -34.5t21.5 -19.5q-13 -3 20 -43q6 -8 8 -9q3 -2 12 -7.5t15 -10t10 -10.5q4 -5 10 -22.5t14 -23.5q-2 -6 9.5 -20t10.5 -23q-1 0 -2.5 -1t-2.5 -1q3 -7 15.5 -14t15.5 -13q1 -3 2 -10t3 -11t8 -2q2 20 -24 62q-15 25 -17 29q-3 5 -5.5 15.5 t-4.5 14.5q2 0 6 -1.5t8.5 -3.5t7.5 -4t2 -3q-3 -7 2 -17.5t12 -18.5t17 -19t12 -13q6 -6 14 -19.5t0 -13.5q9 0 20 -10t17 -20q5 -8 8 -26t5 -24q2 -7 8.5 -13.5t12.5 -9.5l16 -8t13 -7q5 -2 18.5 -10.5t21.5 -11.5q10 -4 16 -4t14.5 2.5t13.5 3.5q15 2 29 -15t21 -21 q36 -19 55 -11q-2 -1 0.5 -7.5t8 -15.5t9 -14.5t5.5 -8.5q5 -6 18 -15t18 -15q6 4 7 9q-3 -8 7 -20t18 -10q14 3 14 32q-31 -15 -49 18q0 1 -2.5 5.5t-4 8.5t-2.5 8.5t0 7.5t5 3q9 0 10 3.5t-2 12.5t-4 13q-1 8 -11 20t-12 15q-5 -9 -16 -8t-16 9q0 -1 -1.5 -5.5t-1.5 -6.5 q-13 0 -15 1q1 3 2.5 17.5t3.5 22.5q1 4 5.5 12t7.5 14.5t4 12.5t-4.5 9.5t-17.5 2.5q-19 -1 -26 -20q-1 -3 -3 -10.5t-5 -11.5t-9 -7q-7 -3 -24 -2t-24 5q-13 8 -22.5 29t-9.5 37q0 10 2.5 26.5t3 25t-5.5 24.5q3 2 9 9.5t10 10.5q2 1 4.5 1.5t4.5 0t4 1.5t3 6q-1 1 -4 3 q-3 3 -4 3q7 -3 28.5 1.5t27.5 -1.5q15 -11 22 2q0 1 -2.5 9.5t-0.5 13.5q5 -27 29 -9q3 -3 15.5 -5t17.5 -5q3 -2 7 -5.5t5.5 -4.5t5 0.5t8.5 6.5q10 -14 12 -24q11 -40 19 -44q7 -3 11 -2t4.5 9.5t0 14t-1.5 12.5l-1 8v18l-1 8q-15 3 -18.5 12t1.5 18.5t15 18.5q1 1 8 3.5 t15.5 6.5t12.5 8q21 19 15 35q7 0 11 9q-1 0 -5 3t-7.5 5t-4.5 2q9 5 2 16q5 3 7.5 11t7.5 10q9 -12 21 -2q7 8 1 16q5 7 20.5 10.5t18.5 9.5q7 -2 8 2t1 12t3 12q4 5 15 9t13 5l17 11q3 4 0 4q18 -2 31 11q10 11 -6 20q3 6 -3 9.5t-15 5.5q3 1 11.5 0.5t10.5 1.5 q15 10 -7 16q-17 5 -43 -12zM879 10q206 36 351 189q-3 3 -12.5 4.5t-12.5 3.5q-18 7 -24 8q1 7 -2.5 13t-8 9t-12.5 8t-11 7q-2 2 -7 6t-7 5.5t-7.5 4.5t-8.5 2t-10 -1l-3 -1q-3 -1 -5.5 -2.5t-5.5 -3t-4 -3t0 -2.5q-21 17 -36 22q-5 1 -11 5.5t-10.5 7t-10 1.5t-11.5 -7 q-5 -5 -6 -15t-2 -13q-7 5 0 17.5t2 18.5q-3 6 -10.5 4.5t-12 -4.5t-11.5 -8.5t-9 -6.5t-8.5 -5.5t-8.5 -7.5q-3 -4 -6 -12t-5 -11q-2 4 -11.5 6.5t-9.5 5.5q2 -10 4 -35t5 -38q7 -31 -12 -48q-27 -25 -29 -40q-4 -22 12 -26q0 -7 -8 -20.5t-7 -21.5q0 -6 2 -16z" />
197
+ <glyph unicode="&#xf0ad;" horiz-adv-x="1664" d="M384 64q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1028 484l-682 -682q-37 -37 -90 -37q-52 0 -91 37l-106 108q-38 36 -38 90q0 53 38 91l681 681q39 -98 114.5 -173.5t173.5 -114.5zM1662 919q0 -39 -23 -106q-47 -134 -164.5 -217.5 t-258.5 -83.5q-185 0 -316.5 131.5t-131.5 316.5t131.5 316.5t316.5 131.5q58 0 121.5 -16.5t107.5 -46.5q16 -11 16 -28t-16 -28l-293 -169v-224l193 -107q5 3 79 48.5t135.5 81t70.5 35.5q15 0 23.5 -10t8.5 -25z" />
198
+ <glyph unicode="&#xf0ae;" horiz-adv-x="1792" d="M1024 128h640v128h-640v-128zM640 640h1024v128h-1024v-128zM1280 1152h384v128h-384v-128zM1792 320v-256q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v256q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1792 832v-256q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19 t-19 45v256q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1792 1344v-256q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v256q0 26 19 45t45 19h1664q26 0 45 -19t19 -45z" />
199
+ <glyph unicode="&#xf0b0;" horiz-adv-x="1408" d="M1403 1241q17 -41 -14 -70l-493 -493v-742q0 -42 -39 -59q-13 -5 -25 -5q-27 0 -45 19l-256 256q-19 19 -19 45v486l-493 493q-31 29 -14 70q17 39 59 39h1280q42 0 59 -39z" />
200
+ <glyph unicode="&#xf0b1;" horiz-adv-x="1792" d="M640 1280h512v128h-512v-128zM1792 640v-480q0 -66 -47 -113t-113 -47h-1472q-66 0 -113 47t-47 113v480h672v-160q0 -26 19 -45t45 -19h320q26 0 45 19t19 45v160h672zM1024 640v-128h-256v128h256zM1792 1120v-384h-1792v384q0 66 47 113t113 47h352v160q0 40 28 68 t68 28h576q40 0 68 -28t28 -68v-160h352q66 0 113 -47t47 -113z" />
201
+ <glyph unicode="&#xf0b2;" d="M1283 995l-355 -355l355 -355l144 144q29 31 70 14q39 -17 39 -59v-448q0 -26 -19 -45t-45 -19h-448q-42 0 -59 40q-17 39 14 69l144 144l-355 355l-355 -355l144 -144q31 -30 14 -69q-17 -40 -59 -40h-448q-26 0 -45 19t-19 45v448q0 42 40 59q39 17 69 -14l144 -144 l355 355l-355 355l-144 -144q-19 -19 -45 -19q-12 0 -24 5q-40 17 -40 59v448q0 26 19 45t45 19h448q42 0 59 -40q17 -39 -14 -69l-144 -144l355 -355l355 355l-144 144q-31 30 -14 69q17 40 59 40h448q26 0 45 -19t19 -45v-448q0 -42 -39 -59q-13 -5 -25 -5q-26 0 -45 19z " />
202
+ <glyph unicode="&#xf0c0;" horiz-adv-x="1920" d="M593 640q-162 -5 -265 -128h-134q-82 0 -138 40.5t-56 118.5q0 353 124 353q6 0 43.5 -21t97.5 -42.5t119 -21.5q67 0 133 23q-5 -37 -5 -66q0 -139 81 -256zM1664 3q0 -120 -73 -189.5t-194 -69.5h-874q-121 0 -194 69.5t-73 189.5q0 53 3.5 103.5t14 109t26.5 108.5 t43 97.5t62 81t85.5 53.5t111.5 20q10 0 43 -21.5t73 -48t107 -48t135 -21.5t135 21.5t107 48t73 48t43 21.5q61 0 111.5 -20t85.5 -53.5t62 -81t43 -97.5t26.5 -108.5t14 -109t3.5 -103.5zM640 1280q0 -106 -75 -181t-181 -75t-181 75t-75 181t75 181t181 75t181 -75 t75 -181zM1344 896q0 -159 -112.5 -271.5t-271.5 -112.5t-271.5 112.5t-112.5 271.5t112.5 271.5t271.5 112.5t271.5 -112.5t112.5 -271.5zM1920 671q0 -78 -56 -118.5t-138 -40.5h-134q-103 123 -265 128q81 117 81 256q0 29 -5 66q66 -23 133 -23q59 0 119 21.5t97.5 42.5 t43.5 21q124 0 124 -353zM1792 1280q0 -106 -75 -181t-181 -75t-181 75t-75 181t75 181t181 75t181 -75t75 -181z" />
203
+ <glyph unicode="&#xf0c1;" horiz-adv-x="1664" d="M1456 320q0 40 -28 68l-208 208q-28 28 -68 28q-42 0 -72 -32q3 -3 19 -18.5t21.5 -21.5t15 -19t13 -25.5t3.5 -27.5q0 -40 -28 -68t-68 -28q-15 0 -27.5 3.5t-25.5 13t-19 15t-21.5 21.5t-18.5 19q-33 -31 -33 -73q0 -40 28 -68l206 -207q27 -27 68 -27q40 0 68 26 l147 146q28 28 28 67zM753 1025q0 40 -28 68l-206 207q-28 28 -68 28q-39 0 -68 -27l-147 -146q-28 -28 -28 -67q0 -40 28 -68l208 -208q27 -27 68 -27q42 0 72 31q-3 3 -19 18.5t-21.5 21.5t-15 19t-13 25.5t-3.5 27.5q0 40 28 68t68 28q15 0 27.5 -3.5t25.5 -13t19 -15 t21.5 -21.5t18.5 -19q33 31 33 73zM1648 320q0 -120 -85 -203l-147 -146q-83 -83 -203 -83q-121 0 -204 85l-206 207q-83 83 -83 203q0 123 88 209l-88 88q-86 -88 -208 -88q-120 0 -204 84l-208 208q-84 84 -84 204t85 203l147 146q83 83 203 83q121 0 204 -85l206 -207 q83 -83 83 -203q0 -123 -88 -209l88 -88q86 88 208 88q120 0 204 -84l208 -208q84 -84 84 -204z" />
204
+ <glyph unicode="&#xf0c2;" horiz-adv-x="1920" d="M1920 384q0 -159 -112.5 -271.5t-271.5 -112.5h-1088q-185 0 -316.5 131.5t-131.5 316.5q0 132 71 241.5t187 163.5q-2 28 -2 43q0 212 150 362t362 150q158 0 286.5 -88t187.5 -230q70 62 166 62q106 0 181 -75t75 -181q0 -75 -41 -138q129 -30 213 -134.5t84 -239.5z " />
205
+ <glyph unicode="&#xf0c3;" horiz-adv-x="1664" d="M1527 88q56 -89 21.5 -152.5t-140.5 -63.5h-1152q-106 0 -140.5 63.5t21.5 152.5l503 793v399h-64q-26 0 -45 19t-19 45t19 45t45 19h512q26 0 45 -19t19 -45t-19 -45t-45 -19h-64v-399zM748 813l-272 -429h712l-272 429l-20 31v37v399h-128v-399v-37z" />
206
+ <glyph unicode="&#xf0c4;" horiz-adv-x="1792" d="M960 640q26 0 45 -19t19 -45t-19 -45t-45 -19t-45 19t-19 45t19 45t45 19zM1260 576l507 -398q28 -20 25 -56q-5 -35 -35 -51l-128 -64q-13 -7 -29 -7q-17 0 -31 8l-690 387l-110 -66q-8 -4 -12 -5q14 -49 10 -97q-7 -77 -56 -147.5t-132 -123.5q-132 -84 -277 -84 q-136 0 -222 78q-90 84 -79 207q7 76 56 147t131 124q132 84 278 84q83 0 151 -31q9 13 22 22l122 73l-122 73q-13 9 -22 22q-68 -31 -151 -31q-146 0 -278 84q-82 53 -131 124t-56 147q-5 59 15.5 113t63.5 93q85 79 222 79q145 0 277 -84q83 -52 132 -123t56 -148 q4 -48 -10 -97q4 -1 12 -5l110 -66l690 387q14 8 31 8q16 0 29 -7l128 -64q30 -16 35 -51q3 -36 -25 -56zM579 836q46 42 21 108t-106 117q-92 59 -192 59q-74 0 -113 -36q-46 -42 -21 -108t106 -117q92 -59 192 -59q74 0 113 36zM494 91q81 51 106 117t-21 108 q-39 36 -113 36q-100 0 -192 -59q-81 -51 -106 -117t21 -108q39 -36 113 -36q100 0 192 59zM672 704l96 -58v11q0 36 33 56l14 8l-79 47l-26 -26q-3 -3 -10 -11t-12 -12q-2 -2 -4 -3.5t-3 -2.5zM896 480l96 -32l736 576l-128 64l-768 -431v-113l-160 -96l9 -8q2 -2 7 -6 q4 -4 11 -12t11 -12l26 -26zM1600 64l128 64l-520 408l-177 -138q-2 -3 -13 -7z" />
207
+ <glyph unicode="&#xf0c5;" horiz-adv-x="1792" d="M1696 1152q40 0 68 -28t28 -68v-1216q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68v288h-544q-40 0 -68 28t-28 68v672q0 40 20 88t48 76l408 408q28 28 76 48t88 20h416q40 0 68 -28t28 -68v-328q68 40 128 40h416zM1152 939l-299 -299h299v299zM512 1323l-299 -299 h299v299zM708 676l316 316v416h-384v-416q0 -40 -28 -68t-68 -28h-416v-640h512v256q0 40 20 88t48 76zM1664 -128v1152h-384v-416q0 -40 -28 -68t-68 -28h-416v-640h896z" />
208
+ <glyph unicode="&#xf0c6;" horiz-adv-x="1408" d="M1404 151q0 -117 -79 -196t-196 -79q-135 0 -235 100l-777 776q-113 115 -113 271q0 159 110 270t269 111q158 0 273 -113l605 -606q10 -10 10 -22q0 -16 -30.5 -46.5t-46.5 -30.5q-13 0 -23 10l-606 607q-79 77 -181 77q-106 0 -179 -75t-73 -181q0 -105 76 -181 l776 -777q63 -63 145 -63q64 0 106 42t42 106q0 82 -63 145l-581 581q-26 24 -60 24q-29 0 -48 -19t-19 -48q0 -32 25 -59l410 -410q10 -10 10 -22q0 -16 -31 -47t-47 -31q-12 0 -22 10l-410 410q-63 61 -63 149q0 82 57 139t139 57q88 0 149 -63l581 -581q100 -98 100 -235 z" />
209
+ <glyph unicode="&#xf0c7;" d="M384 0h768v384h-768v-384zM1280 0h128v896q0 14 -10 38.5t-20 34.5l-281 281q-10 10 -34 20t-39 10v-416q0 -40 -28 -68t-68 -28h-576q-40 0 -68 28t-28 68v416h-128v-1280h128v416q0 40 28 68t68 28h832q40 0 68 -28t28 -68v-416zM896 928v320q0 13 -9.5 22.5t-22.5 9.5 h-192q-13 0 -22.5 -9.5t-9.5 -22.5v-320q0 -13 9.5 -22.5t22.5 -9.5h192q13 0 22.5 9.5t9.5 22.5zM1536 896v-928q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68v1344q0 40 28 68t68 28h928q40 0 88 -20t76 -48l280 -280q28 -28 48 -76t20 -88z" />
210
+ <glyph unicode="&#xf0c8;" d="M1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
211
+ <glyph unicode="&#xf0c9;" d="M1536 192v-128q0 -26 -19 -45t-45 -19h-1408q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1408q26 0 45 -19t19 -45zM1536 704v-128q0 -26 -19 -45t-45 -19h-1408q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1408q26 0 45 -19t19 -45zM1536 1216v-128q0 -26 -19 -45 t-45 -19h-1408q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1408q26 0 45 -19t19 -45z" />
212
+ <glyph unicode="&#xf0ca;" horiz-adv-x="1792" d="M384 128q0 -80 -56 -136t-136 -56t-136 56t-56 136t56 136t136 56t136 -56t56 -136zM384 640q0 -80 -56 -136t-136 -56t-136 56t-56 136t56 136t136 56t136 -56t56 -136zM1792 224v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1216q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5 t22.5 9.5h1216q13 0 22.5 -9.5t9.5 -22.5zM384 1152q0 -80 -56 -136t-136 -56t-136 56t-56 136t56 136t136 56t136 -56t56 -136zM1792 736v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1216q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1216q13 0 22.5 -9.5t9.5 -22.5z M1792 1248v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1216q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1216q13 0 22.5 -9.5t9.5 -22.5z" />
213
+ <glyph unicode="&#xf0cb;" horiz-adv-x="1792" d="M381 -84q0 -80 -54.5 -126t-135.5 -46q-106 0 -172 66l57 88q49 -45 106 -45q29 0 50.5 14.5t21.5 42.5q0 64 -105 56l-26 56q8 10 32.5 43.5t42.5 54t37 38.5v1q-16 0 -48.5 -1t-48.5 -1v-53h-106v152h333v-88l-95 -115q51 -12 81 -49t30 -88zM383 543v-159h-362 q-6 36 -6 54q0 51 23.5 93t56.5 68t66 47.5t56.5 43.5t23.5 45q0 25 -14.5 38.5t-39.5 13.5q-46 0 -81 -58l-85 59q24 51 71.5 79.5t105.5 28.5q73 0 123 -41.5t50 -112.5q0 -50 -34 -91.5t-75 -64.5t-75.5 -50.5t-35.5 -52.5h127v60h105zM1792 224v-192q0 -13 -9.5 -22.5 t-22.5 -9.5h-1216q-13 0 -22.5 9.5t-9.5 22.5v192q0 14 9 23t23 9h1216q13 0 22.5 -9.5t9.5 -22.5zM384 1123v-99h-335v99h107q0 41 0.5 122t0.5 121v12h-2q-8 -17 -50 -54l-71 76l136 127h106v-404h108zM1792 736v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1216q-13 0 -22.5 9.5 t-9.5 22.5v192q0 14 9 23t23 9h1216q13 0 22.5 -9.5t9.5 -22.5zM1792 1248v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1216q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1216q13 0 22.5 -9.5t9.5 -22.5z" />
214
+ <glyph unicode="&#xf0cc;" horiz-adv-x="1792" d="M1760 640q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-1728q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h1728zM483 704q-28 35 -51 80q-48 97 -48 188q0 181 134 309q133 127 393 127q50 0 167 -19q66 -12 177 -48q10 -38 21 -118q14 -123 14 -183q0 -18 -5 -45l-12 -3l-84 6 l-14 2q-50 149 -103 205q-88 91 -210 91q-114 0 -182 -59q-67 -58 -67 -146q0 -73 66 -140t279 -129q69 -20 173 -66q58 -28 95 -52h-743zM990 448h411q7 -39 7 -92q0 -111 -41 -212q-23 -55 -71 -104q-37 -35 -109 -81q-80 -48 -153 -66q-80 -21 -203 -21q-114 0 -195 23 l-140 40q-57 16 -72 28q-8 8 -8 22v13q0 108 -2 156q-1 30 0 68l2 37v44l102 2q15 -34 30 -71t22.5 -56t12.5 -27q35 -57 80 -94q43 -36 105 -57q59 -22 132 -22q64 0 139 27q77 26 122 86q47 61 47 129q0 84 -81 157q-34 29 -137 71z" />
215
+ <glyph unicode="&#xf0cd;" d="M48 1313q-37 2 -45 4l-3 88q13 1 40 1q60 0 112 -4q132 -7 166 -7q86 0 168 3q116 4 146 5q56 0 86 2l-1 -14l2 -64v-9q-60 -9 -124 -9q-60 0 -79 -25q-13 -14 -13 -132q0 -13 0.5 -32.5t0.5 -25.5l1 -229l14 -280q6 -124 51 -202q35 -59 96 -92q88 -47 177 -47 q104 0 191 28q56 18 99 51q48 36 65 64q36 56 53 114q21 73 21 229q0 79 -3.5 128t-11 122.5t-13.5 159.5l-4 59q-5 67 -24 88q-34 35 -77 34l-100 -2l-14 3l2 86h84l205 -10q76 -3 196 10l18 -2q6 -38 6 -51q0 -7 -4 -31q-45 -12 -84 -13q-73 -11 -79 -17q-15 -15 -15 -41 q0 -7 1.5 -27t1.5 -31q8 -19 22 -396q6 -195 -15 -304q-15 -76 -41 -122q-38 -65 -112 -123q-75 -57 -182 -89q-109 -33 -255 -33q-167 0 -284 46q-119 47 -179 122q-61 76 -83 195q-16 80 -16 237v333q0 188 -17 213q-25 36 -147 39zM1536 -96v64q0 14 -9 23t-23 9h-1472 q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h1472q14 0 23 9t9 23z" />
216
+ <glyph unicode="&#xf0ce;" horiz-adv-x="1664" d="M512 160v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM512 544v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM1024 160v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23 v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM512 928v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM1024 544v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM1536 160v192 q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM1024 928v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM1536 544v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192 q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM1536 928v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM1664 1248v-1088q0 -66 -47 -113t-113 -47h-1344q-66 0 -113 47t-47 113v1088q0 66 47 113t113 47h1344q66 0 113 -47t47 -113 z" />
217
+ <glyph unicode="&#xf0d0;" horiz-adv-x="1664" d="M1190 955l293 293l-107 107l-293 -293zM1637 1248q0 -27 -18 -45l-1286 -1286q-18 -18 -45 -18t-45 18l-198 198q-18 18 -18 45t18 45l1286 1286q18 18 45 18t45 -18l198 -198q18 -18 18 -45zM286 1438l98 -30l-98 -30l-30 -98l-30 98l-98 30l98 30l30 98zM636 1276 l196 -60l-196 -60l-60 -196l-60 196l-196 60l196 60l60 196zM1566 798l98 -30l-98 -30l-30 -98l-30 98l-98 30l98 30l30 98zM926 1438l98 -30l-98 -30l-30 -98l-30 98l-98 30l98 30l30 98z" />
218
+ <glyph unicode="&#xf0d1;" horiz-adv-x="1792" d="M640 128q0 52 -38 90t-90 38t-90 -38t-38 -90t38 -90t90 -38t90 38t38 90zM256 640h384v256h-158q-13 0 -22 -9l-195 -195q-9 -9 -9 -22v-30zM1536 128q0 52 -38 90t-90 38t-90 -38t-38 -90t38 -90t90 -38t90 38t38 90zM1792 1216v-1024q0 -15 -4 -26.5t-13.5 -18.5 t-16.5 -11.5t-23.5 -6t-22.5 -2t-25.5 0t-22.5 0.5q0 -106 -75 -181t-181 -75t-181 75t-75 181h-384q0 -106 -75 -181t-181 -75t-181 75t-75 181h-64q-3 0 -22.5 -0.5t-25.5 0t-22.5 2t-23.5 6t-16.5 11.5t-13.5 18.5t-4 26.5q0 26 19 45t45 19v320q0 8 -0.5 35t0 38 t2.5 34.5t6.5 37t14 30.5t22.5 30l198 198q19 19 50.5 32t58.5 13h160v192q0 26 19 45t45 19h1024q26 0 45 -19t19 -45z" />
219
+ <glyph unicode="&#xf0d2;" d="M1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103q-111 0 -218 32q59 93 78 164q9 34 54 211q20 -39 73 -67.5t114 -28.5q121 0 216 68.5t147 188.5t52 270q0 114 -59.5 214t-172.5 163t-255 63q-105 0 -196 -29t-154.5 -77t-109 -110.5t-67 -129.5t-21.5 -134 q0 -104 40 -183t117 -111q30 -12 38 20q2 7 8 31t8 30q6 23 -11 43q-51 61 -51 151q0 151 104.5 259.5t273.5 108.5q151 0 235.5 -82t84.5 -213q0 -170 -68.5 -289t-175.5 -119q-61 0 -98 43.5t-23 104.5q8 35 26.5 93.5t30 103t11.5 75.5q0 50 -27 83t-77 33 q-62 0 -105 -57t-43 -142q0 -73 25 -122l-99 -418q-17 -70 -13 -177q-206 91 -333 281t-127 423q0 209 103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
220
+ <glyph unicode="&#xf0d3;" d="M1248 1408q119 0 203.5 -84.5t84.5 -203.5v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-725q85 122 108 210q9 34 53 209q21 -39 73.5 -67t112.5 -28q181 0 295.5 147.5t114.5 373.5q0 84 -35 162.5t-96.5 139t-152.5 97t-197 36.5q-104 0 -194.5 -28.5t-153 -76.5 t-107.5 -109.5t-66.5 -128t-21.5 -132.5q0 -102 39.5 -180t116.5 -110q13 -5 23.5 0t14.5 19q10 44 15 61q6 23 -11 42q-50 62 -50 150q0 150 103.5 256.5t270.5 106.5q149 0 232.5 -81t83.5 -210q0 -168 -67.5 -286t-173.5 -118q-60 0 -97 43.5t-23 103.5q8 34 26.5 92.5 t29.5 102t11 74.5q0 49 -26.5 81.5t-75.5 32.5q-61 0 -103.5 -56.5t-42.5 -139.5q0 -72 24 -121l-98 -414q-24 -100 -7 -254h-183q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960z" />
221
+ <glyph unicode="&#xf0d4;" d="M678 -57q0 -38 -10 -71h-380q-95 0 -171.5 56.5t-103.5 147.5q24 45 69 77.5t100 49.5t107 24t107 7q32 0 49 -2q6 -4 30.5 -21t33 -23t31 -23t32 -25.5t27.5 -25.5t26.5 -29.5t21 -30.5t17.5 -34.5t9.5 -36t4.5 -40.5zM385 294q-234 -7 -385 -85v433q103 -118 273 -118 q32 0 70 5q-21 -61 -21 -86q0 -67 63 -149zM558 805q0 -100 -43.5 -160.5t-140.5 -60.5q-51 0 -97 26t-78 67.5t-56 93.5t-35.5 104t-11.5 99q0 96 51.5 165t144.5 69q66 0 119 -41t84 -104t47 -130t16 -128zM1536 896v-736q0 -119 -84.5 -203.5t-203.5 -84.5h-468 q39 73 39 157q0 66 -22 122.5t-55.5 93t-72 71t-72 59.5t-55.5 54.5t-22 59.5q0 36 23 68t56 61.5t65.5 64.5t55.5 93t23 131t-26.5 145.5t-75.5 118.5q-6 6 -14 11t-12.5 7.5t-10 9.5t-10.5 17h135l135 64h-437q-138 0 -244.5 -38.5t-182.5 -133.5q0 126 81 213t207 87h960 q119 0 203.5 -84.5t84.5 -203.5v-96h-256v256h-128v-256h-256v-128h256v-256h128v256h256z" />
222
+ <glyph unicode="&#xf0d5;" horiz-adv-x="1664" d="M876 71q0 21 -4.5 40.5t-9.5 36t-17.5 34.5t-21 30.5t-26.5 29.5t-27.5 25.5t-32 25.5t-31 23t-33 23t-30.5 21q-17 2 -50 2q-54 0 -106 -7t-108 -25t-98 -46t-69 -75t-27 -107q0 -68 35.5 -121.5t93 -84t120.5 -45.5t127 -15q59 0 112.5 12.5t100.5 39t74.5 73.5 t27.5 110zM756 933q0 60 -16.5 127.5t-47 130.5t-84 104t-119.5 41q-93 0 -144 -69t-51 -165q0 -47 11.5 -99t35.5 -104t56 -93.5t78 -67.5t97 -26q97 0 140.5 60.5t43.5 160.5zM625 1408h437l-135 -79h-135q71 -45 110 -126t39 -169q0 -74 -23 -131.5t-56 -92.5t-66 -64.5 t-56 -61t-23 -67.5q0 -26 16.5 -51t43 -48t58.5 -48t64 -55.5t58.5 -66t43 -85t16.5 -106.5q0 -160 -140 -282q-152 -131 -420 -131q-59 0 -119.5 10t-122 33.5t-108.5 58t-77 89t-30 121.5q0 61 37 135q32 64 96 110.5t145 71t155 36t150 13.5q-64 83 -64 149q0 12 2 23.5 t5 19.5t8 21.5t7 21.5q-40 -5 -70 -5q-149 0 -255.5 98t-106.5 246q0 140 95 250.5t234 141.5q94 20 187 20zM1664 1152v-128h-256v-256h-128v256h-256v128h256v256h128v-256h256z" />
223
+ <glyph unicode="&#xf0d6;" horiz-adv-x="1920" d="M768 384h384v96h-128v448h-114l-148 -137l77 -80q42 37 55 57h2v-288h-128v-96zM1280 640q0 -70 -21 -142t-59.5 -134t-101.5 -101t-138 -39t-138 39t-101.5 101t-59.5 134t-21 142t21 142t59.5 134t101.5 101t138 39t138 -39t101.5 -101t59.5 -134t21 -142zM1792 384 v512q-106 0 -181 75t-75 181h-1152q0 -106 -75 -181t-181 -75v-512q106 0 181 -75t75 -181h1152q0 106 75 181t181 75zM1920 1216v-1152q0 -26 -19 -45t-45 -19h-1792q-26 0 -45 19t-19 45v1152q0 26 19 45t45 19h1792q26 0 45 -19t19 -45z" />
224
+ <glyph unicode="&#xf0d7;" horiz-adv-x="1024" d="M1024 832q0 -26 -19 -45l-448 -448q-19 -19 -45 -19t-45 19l-448 448q-19 19 -19 45t19 45t45 19h896q26 0 45 -19t19 -45z" />
225
+ <glyph unicode="&#xf0d8;" horiz-adv-x="1024" d="M1024 320q0 -26 -19 -45t-45 -19h-896q-26 0 -45 19t-19 45t19 45l448 448q19 19 45 19t45 -19l448 -448q19 -19 19 -45z" />
226
+ <glyph unicode="&#xf0d9;" horiz-adv-x="640" d="M640 1088v-896q0 -26 -19 -45t-45 -19t-45 19l-448 448q-19 19 -19 45t19 45l448 448q19 19 45 19t45 -19t19 -45z" />
227
+ <glyph unicode="&#xf0da;" horiz-adv-x="640" d="M576 640q0 -26 -19 -45l-448 -448q-19 -19 -45 -19t-45 19t-19 45v896q0 26 19 45t45 19t45 -19l448 -448q19 -19 19 -45z" />
228
+ <glyph unicode="&#xf0db;" horiz-adv-x="1664" d="M160 0h608v1152h-640v-1120q0 -13 9.5 -22.5t22.5 -9.5zM1536 32v1120h-640v-1152h608q13 0 22.5 9.5t9.5 22.5zM1664 1248v-1216q0 -66 -47 -113t-113 -47h-1344q-66 0 -113 47t-47 113v1216q0 66 47 113t113 47h1344q66 0 113 -47t47 -113z" />
229
+ <glyph unicode="&#xf0dc;" horiz-adv-x="1024" d="M1024 448q0 -26 -19 -45l-448 -448q-19 -19 -45 -19t-45 19l-448 448q-19 19 -19 45t19 45t45 19h896q26 0 45 -19t19 -45zM1024 832q0 -26 -19 -45t-45 -19h-896q-26 0 -45 19t-19 45t19 45l448 448q19 19 45 19t45 -19l448 -448q19 -19 19 -45z" />
230
+ <glyph unicode="&#xf0dd;" horiz-adv-x="1024" d="M1024 448q0 -26 -19 -45l-448 -448q-19 -19 -45 -19t-45 19l-448 448q-19 19 -19 45t19 45t45 19h896q26 0 45 -19t19 -45z" />
231
+ <glyph unicode="&#xf0de;" horiz-adv-x="1024" d="M1024 832q0 -26 -19 -45t-45 -19h-896q-26 0 -45 19t-19 45t19 45l448 448q19 19 45 19t45 -19l448 -448q19 -19 19 -45z" />
232
+ <glyph unicode="&#xf0e0;" horiz-adv-x="1792" d="M1792 826v-794q0 -66 -47 -113t-113 -47h-1472q-66 0 -113 47t-47 113v794q44 -49 101 -87q362 -246 497 -345q57 -42 92.5 -65.5t94.5 -48t110 -24.5h1h1q51 0 110 24.5t94.5 48t92.5 65.5q170 123 498 345q57 39 100 87zM1792 1120q0 -79 -49 -151t-122 -123 q-376 -261 -468 -325q-10 -7 -42.5 -30.5t-54 -38t-52 -32.5t-57.5 -27t-50 -9h-1h-1q-23 0 -50 9t-57.5 27t-52 32.5t-54 38t-42.5 30.5q-91 64 -262 182.5t-205 142.5q-62 42 -117 115.5t-55 136.5q0 78 41.5 130t118.5 52h1472q65 0 112.5 -47t47.5 -113z" />
233
+ <glyph unicode="&#xf0e1;" d="M349 911v-991h-330v991h330zM370 1217q1 -73 -50.5 -122t-135.5 -49h-2q-82 0 -132 49t-50 122q0 74 51.5 122.5t134.5 48.5t133 -48.5t51 -122.5zM1536 488v-568h-329v530q0 105 -40.5 164.5t-126.5 59.5q-63 0 -105.5 -34.5t-63.5 -85.5q-11 -30 -11 -81v-553h-329 q2 399 2 647t-1 296l-1 48h329v-144h-2q20 32 41 56t56.5 52t87 43.5t114.5 15.5q171 0 275 -113.5t104 -332.5z" />
234
+ <glyph unicode="&#xf0e2;" d="M1536 640q0 -156 -61 -298t-164 -245t-245 -164t-298 -61q-172 0 -327 72.5t-264 204.5q-7 10 -6.5 22.5t8.5 20.5l137 138q10 9 25 9q16 -2 23 -12q73 -95 179 -147t225 -52q104 0 198.5 40.5t163.5 109.5t109.5 163.5t40.5 198.5t-40.5 198.5t-109.5 163.5 t-163.5 109.5t-198.5 40.5q-98 0 -188 -35.5t-160 -101.5l137 -138q31 -30 14 -69q-17 -40 -59 -40h-448q-26 0 -45 19t-19 45v448q0 42 40 59q39 17 69 -14l130 -129q107 101 244.5 156.5t284.5 55.5q156 0 298 -61t245 -164t164 -245t61 -298z" />
235
+ <glyph unicode="&#xf0e3;" horiz-adv-x="1792" d="M1771 0q0 -53 -37 -90l-107 -108q-39 -37 -91 -37q-53 0 -90 37l-363 364q-38 36 -38 90q0 53 43 96l-256 256l-126 -126q-14 -14 -34 -14t-34 14q2 -2 12.5 -12t12.5 -13t10 -11.5t10 -13.5t6 -13.5t5.5 -16.5t1.5 -18q0 -38 -28 -68q-3 -3 -16.5 -18t-19 -20.5 t-18.5 -16.5t-22 -15.5t-22 -9t-26 -4.5q-40 0 -68 28l-408 408q-28 28 -28 68q0 13 4.5 26t9 22t15.5 22t16.5 18.5t20.5 19t18 16.5q30 28 68 28q10 0 18 -1.5t16.5 -5.5t13.5 -6t13.5 -10t11.5 -10t13 -12.5t12 -12.5q-14 14 -14 34t14 34l348 348q14 14 34 14t34 -14 q-2 2 -12.5 12t-12.5 13t-10 11.5t-10 13.5t-6 13.5t-5.5 16.5t-1.5 18q0 38 28 68q3 3 16.5 18t19 20.5t18.5 16.5t22 15.5t22 9t26 4.5q40 0 68 -28l408 -408q28 -28 28 -68q0 -13 -4.5 -26t-9 -22t-15.5 -22t-16.5 -18.5t-20.5 -19t-18 -16.5q-30 -28 -68 -28 q-10 0 -18 1.5t-16.5 5.5t-13.5 6t-13.5 10t-11.5 10t-13 12.5t-12 12.5q14 -14 14 -34t-14 -34l-126 -126l256 -256q43 43 96 43q52 0 91 -37l363 -363q37 -39 37 -91z" />
236
+ <glyph unicode="&#xf0e4;" horiz-adv-x="1792" d="M384 384q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM576 832q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1004 351l101 382q6 26 -7.5 48.5t-38.5 29.5 t-48 -6.5t-30 -39.5l-101 -382q-60 -5 -107 -43.5t-63 -98.5q-20 -77 20 -146t117 -89t146 20t89 117q16 60 -6 117t-72 91zM1664 384q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1024 1024q0 53 -37.5 90.5 t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1472 832q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1792 384q0 -261 -141 -483q-19 -29 -54 -29h-1402q-35 0 -54 29 q-141 221 -141 483q0 182 71 348t191 286t286 191t348 71t348 -71t286 -191t191 -286t71 -348z" />
237
+ <glyph unicode="&#xf0e5;" horiz-adv-x="1792" d="M896 1152q-204 0 -381.5 -69.5t-282 -187.5t-104.5 -255q0 -112 71.5 -213.5t201.5 -175.5l87 -50l-27 -96q-24 -91 -70 -172q152 63 275 171l43 38l57 -6q69 -8 130 -8q204 0 381.5 69.5t282 187.5t104.5 255t-104.5 255t-282 187.5t-381.5 69.5zM1792 640 q0 -174 -120 -321.5t-326 -233t-450 -85.5q-70 0 -145 8q-198 -175 -460 -242q-49 -14 -114 -22h-5q-15 0 -27 10.5t-16 27.5v1q-3 4 -0.5 12t2 10t4.5 9.5l6 9t7 8.5t8 9q7 8 31 34.5t34.5 38t31 39.5t32.5 51t27 59t26 76q-157 89 -247.5 220t-90.5 281q0 174 120 321.5 t326 233t450 85.5t450 -85.5t326 -233t120 -321.5z" />
238
+ <glyph unicode="&#xf0e6;" horiz-adv-x="1792" d="M704 1152q-153 0 -286 -52t-211.5 -141t-78.5 -191q0 -82 53 -158t149 -132l97 -56l-35 -84q34 20 62 39l44 31l53 -10q78 -14 153 -14q153 0 286 52t211.5 141t78.5 191t-78.5 191t-211.5 141t-286 52zM704 1280q191 0 353.5 -68.5t256.5 -186.5t94 -257t-94 -257 t-256.5 -186.5t-353.5 -68.5q-86 0 -176 16q-124 -88 -278 -128q-36 -9 -86 -16h-3q-11 0 -20.5 8t-11.5 21q-1 3 -1 6.5t0.5 6.5t2 6l2.5 5t3.5 5.5t4 5t4.5 5t4 4.5q5 6 23 25t26 29.5t22.5 29t25 38.5t20.5 44q-124 72 -195 177t-71 224q0 139 94 257t256.5 186.5 t353.5 68.5zM1526 111q10 -24 20.5 -44t25 -38.5t22.5 -29t26 -29.5t23 -25q1 -1 4 -4.5t4.5 -5t4 -5t3.5 -5.5l2.5 -5t2 -6t0.5 -6.5t-1 -6.5q-3 -14 -13 -22t-22 -7q-50 7 -86 16q-154 40 -278 128q-90 -16 -176 -16q-271 0 -472 132q58 -4 88 -4q161 0 309 45t264 129 q125 92 192 212t67 254q0 77 -23 152q129 -71 204 -178t75 -230q0 -120 -71 -224.5t-195 -176.5z" />
239
+ <glyph unicode="&#xf0e7;" horiz-adv-x="896" d="M885 970q18 -20 7 -44l-540 -1157q-13 -25 -42 -25q-4 0 -14 2q-17 5 -25.5 19t-4.5 30l197 808l-406 -101q-4 -1 -12 -1q-18 0 -31 11q-18 15 -13 39l201 825q4 14 16 23t28 9h328q19 0 32 -12.5t13 -29.5q0 -8 -5 -18l-171 -463l396 98q8 2 12 2q19 0 34 -15z" />
240
+ <glyph unicode="&#xf0e8;" horiz-adv-x="1792" d="M1792 288v-320q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v320q0 40 28 68t68 28h96v192h-512v-192h96q40 0 68 -28t28 -68v-320q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v320q0 40 28 68t68 28h96v192h-512v-192h96q40 0 68 -28t28 -68v-320 q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v320q0 40 28 68t68 28h96v192q0 52 38 90t90 38h512v192h-96q-40 0 -68 28t-28 68v320q0 40 28 68t68 28h320q40 0 68 -28t28 -68v-320q0 -40 -28 -68t-68 -28h-96v-192h512q52 0 90 -38t38 -90v-192h96q40 0 68 -28t28 -68 z" />
241
+ <glyph unicode="&#xf0e9;" horiz-adv-x="1664" d="M896 708v-580q0 -104 -76 -180t-180 -76t-180 76t-76 180q0 26 19 45t45 19t45 -19t19 -45q0 -50 39 -89t89 -39t89 39t39 89v580q33 11 64 11t64 -11zM1664 681q0 -13 -9.5 -22.5t-22.5 -9.5q-11 0 -23 10q-49 46 -93 69t-102 23q-68 0 -128 -37t-103 -97 q-7 -10 -17.5 -28t-14.5 -24q-11 -17 -28 -17q-18 0 -29 17q-4 6 -14.5 24t-17.5 28q-43 60 -102.5 97t-127.5 37t-127.5 -37t-102.5 -97q-7 -10 -17.5 -28t-14.5 -24q-11 -17 -29 -17q-17 0 -28 17q-4 6 -14.5 24t-17.5 28q-43 60 -103 97t-128 37q-58 0 -102 -23t-93 -69 q-12 -10 -23 -10q-13 0 -22.5 9.5t-9.5 22.5q0 5 1 7q45 183 172.5 319.5t298 204.5t360.5 68q140 0 274.5 -40t246.5 -113.5t194.5 -187t115.5 -251.5q1 -2 1 -7zM896 1408v-98q-42 2 -64 2t-64 -2v98q0 26 19 45t45 19t45 -19t19 -45z" />
242
+ <glyph unicode="&#xf0ea;" horiz-adv-x="1792" d="M768 -128h896v640h-416q-40 0 -68 28t-28 68v416h-384v-1152zM1024 1312v64q0 13 -9.5 22.5t-22.5 9.5h-704q-13 0 -22.5 -9.5t-9.5 -22.5v-64q0 -13 9.5 -22.5t22.5 -9.5h704q13 0 22.5 9.5t9.5 22.5zM1280 640h299l-299 299v-299zM1792 512v-672q0 -40 -28 -68t-68 -28 h-960q-40 0 -68 28t-28 68v160h-544q-40 0 -68 28t-28 68v1344q0 40 28 68t68 28h1088q40 0 68 -28t28 -68v-328q21 -13 36 -28l408 -408q28 -28 48 -76t20 -88z" />
243
+ <glyph unicode="&#xf0eb;" horiz-adv-x="1024" d="M736 960q0 -13 -9.5 -22.5t-22.5 -9.5t-22.5 9.5t-9.5 22.5q0 46 -54 71t-106 25q-13 0 -22.5 9.5t-9.5 22.5t9.5 22.5t22.5 9.5q50 0 99.5 -16t87 -54t37.5 -90zM896 960q0 72 -34.5 134t-90 101.5t-123 62t-136.5 22.5t-136.5 -22.5t-123 -62t-90 -101.5t-34.5 -134 q0 -101 68 -180q10 -11 30.5 -33t30.5 -33q128 -153 141 -298h228q13 145 141 298q10 11 30.5 33t30.5 33q68 79 68 180zM1024 960q0 -155 -103 -268q-45 -49 -74.5 -87t-59.5 -95.5t-34 -107.5q47 -28 47 -82q0 -37 -25 -64q25 -27 25 -64q0 -52 -45 -81q13 -23 13 -47 q0 -46 -31.5 -71t-77.5 -25q-20 -44 -60 -70t-87 -26t-87 26t-60 70q-46 0 -77.5 25t-31.5 71q0 24 13 47q-45 29 -45 81q0 37 25 64q-25 27 -25 64q0 54 47 82q-4 50 -34 107.5t-59.5 95.5t-74.5 87q-103 113 -103 268q0 99 44.5 184.5t117 142t164 89t186.5 32.5 t186.5 -32.5t164 -89t117 -142t44.5 -184.5z" />
244
+ <glyph unicode="&#xf0ec;" horiz-adv-x="1792" d="M1792 352v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1376v-192q0 -13 -9.5 -22.5t-22.5 -9.5q-12 0 -24 10l-319 320q-9 9 -9 22q0 14 9 23l320 320q9 9 23 9q13 0 22.5 -9.5t9.5 -22.5v-192h1376q13 0 22.5 -9.5t9.5 -22.5zM1792 896q0 -14 -9 -23l-320 -320q-9 -9 -23 -9 q-13 0 -22.5 9.5t-9.5 22.5v192h-1376q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1376v192q0 14 9 23t23 9q12 0 24 -10l319 -319q9 -9 9 -23z" />
245
+ <glyph unicode="&#xf0ed;" horiz-adv-x="1920" d="M1280 608q0 14 -9 23t-23 9h-224v352q0 13 -9.5 22.5t-22.5 9.5h-192q-13 0 -22.5 -9.5t-9.5 -22.5v-352h-224q-13 0 -22.5 -9.5t-9.5 -22.5q0 -14 9 -23l352 -352q9 -9 23 -9t23 9l351 351q10 12 10 24zM1920 384q0 -159 -112.5 -271.5t-271.5 -112.5h-1088 q-185 0 -316.5 131.5t-131.5 316.5q0 130 70 240t188 165q-2 30 -2 43q0 212 150 362t362 150q156 0 285.5 -87t188.5 -231q71 62 166 62q106 0 181 -75t75 -181q0 -76 -41 -138q130 -31 213.5 -135.5t83.5 -238.5z" />
246
+ <glyph unicode="&#xf0ee;" horiz-adv-x="1920" d="M1280 672q0 14 -9 23l-352 352q-9 9 -23 9t-23 -9l-351 -351q-10 -12 -10 -24q0 -14 9 -23t23 -9h224v-352q0 -13 9.5 -22.5t22.5 -9.5h192q13 0 22.5 9.5t9.5 22.5v352h224q13 0 22.5 9.5t9.5 22.5zM1920 384q0 -159 -112.5 -271.5t-271.5 -112.5h-1088 q-185 0 -316.5 131.5t-131.5 316.5q0 130 70 240t188 165q-2 30 -2 43q0 212 150 362t362 150q156 0 285.5 -87t188.5 -231q71 62 166 62q106 0 181 -75t75 -181q0 -76 -41 -138q130 -31 213.5 -135.5t83.5 -238.5z" />
247
+ <glyph unicode="&#xf0f0;" horiz-adv-x="1408" d="M384 192q0 -26 -19 -45t-45 -19t-45 19t-19 45t19 45t45 19t45 -19t19 -45zM1408 131q0 -121 -73 -190t-194 -69h-874q-121 0 -194 69t-73 190q0 68 5.5 131t24 138t47.5 132.5t81 103t120 60.5q-22 -52 -22 -120v-203q-58 -20 -93 -70t-35 -111q0 -80 56 -136t136 -56 t136 56t56 136q0 61 -35.5 111t-92.5 70v203q0 62 25 93q132 -104 295 -104t295 104q25 -31 25 -93v-64q-106 0 -181 -75t-75 -181v-89q-32 -29 -32 -71q0 -40 28 -68t68 -28t68 28t28 68q0 42 -32 71v89q0 52 38 90t90 38t90 -38t38 -90v-89q-32 -29 -32 -71q0 -40 28 -68 t68 -28t68 28t28 68q0 42 -32 71v89q0 68 -34.5 127.5t-93.5 93.5q0 10 0.5 42.5t0 48t-2.5 41.5t-7 47t-13 40q68 -15 120 -60.5t81 -103t47.5 -132.5t24 -138t5.5 -131zM1088 1024q0 -159 -112.5 -271.5t-271.5 -112.5t-271.5 112.5t-112.5 271.5t112.5 271.5t271.5 112.5 t271.5 -112.5t112.5 -271.5z" />
248
+ <glyph unicode="&#xf0f1;" horiz-adv-x="1408" d="M1280 832q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1408 832q0 -62 -35.5 -111t-92.5 -70v-395q0 -159 -131.5 -271.5t-316.5 -112.5t-316.5 112.5t-131.5 271.5v132q-164 20 -274 128t-110 252v512q0 26 19 45t45 19q6 0 16 -2q17 30 47 48 t65 18q53 0 90.5 -37.5t37.5 -90.5t-37.5 -90.5t-90.5 -37.5q-33 0 -64 18v-402q0 -106 94 -181t226 -75t226 75t94 181v402q-31 -18 -64 -18q-53 0 -90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5q35 0 65 -18t47 -48q10 2 16 2q26 0 45 -19t19 -45v-512q0 -144 -110 -252 t-274 -128v-132q0 -106 94 -181t226 -75t226 75t94 181v395q-57 21 -92.5 70t-35.5 111q0 80 56 136t136 56t136 -56t56 -136z" />
249
+ <glyph unicode="&#xf0f2;" horiz-adv-x="1792" d="M640 1152h512v128h-512v-128zM288 1152v-1280h-64q-92 0 -158 66t-66 158v832q0 92 66 158t158 66h64zM1408 1152v-1280h-1024v1280h128v160q0 40 28 68t68 28h576q40 0 68 -28t28 -68v-160h128zM1792 928v-832q0 -92 -66 -158t-158 -66h-64v1280h64q92 0 158 -66 t66 -158z" />
250
+ <glyph unicode="&#xf0f3;" horiz-adv-x="1664" d="M848 -160q0 16 -16 16q-59 0 -101.5 42.5t-42.5 101.5q0 16 -16 16t-16 -16q0 -73 51.5 -124.5t124.5 -51.5q16 0 16 16zM1664 128q0 -52 -38 -90t-90 -38h-448q0 -106 -75 -181t-181 -75t-181 75t-75 181h-448q-52 0 -90 38t-38 90q190 161 287 397.5t97 498.5 q0 165 96 262t264 117q-8 18 -8 37q0 40 28 68t68 28t68 -28t28 -68q0 -19 -8 -37q168 -20 264 -117t96 -262q0 -262 97 -498.5t287 -397.5z" />
251
+ <glyph unicode="&#xf0f4;" horiz-adv-x="1920" d="M1664 896q0 80 -56 136t-136 56h-64v-384h64q80 0 136 56t56 136zM0 128h1792q0 -106 -75 -181t-181 -75h-1280q-106 0 -181 75t-75 181zM1856 896q0 -159 -112.5 -271.5t-271.5 -112.5h-64v-32q0 -92 -66 -158t-158 -66h-704q-92 0 -158 66t-66 158v736q0 26 19 45 t45 19h1152q159 0 271.5 -112.5t112.5 -271.5z" />
252
+ <glyph unicode="&#xf0f5;" horiz-adv-x="1408" d="M640 1472v-640q0 -61 -35.5 -111t-92.5 -70v-779q0 -52 -38 -90t-90 -38h-128q-52 0 -90 38t-38 90v779q-57 20 -92.5 70t-35.5 111v640q0 26 19 45t45 19t45 -19t19 -45v-416q0 -26 19 -45t45 -19t45 19t19 45v416q0 26 19 45t45 19t45 -19t19 -45v-416q0 -26 19 -45 t45 -19t45 19t19 45v416q0 26 19 45t45 19t45 -19t19 -45zM1408 1472v-1600q0 -52 -38 -90t-90 -38h-128q-52 0 -90 38t-38 90v512h-224q-13 0 -22.5 9.5t-9.5 22.5v800q0 132 94 226t226 94h256q26 0 45 -19t19 -45z" />
253
+ <glyph unicode="&#xf0f6;" horiz-adv-x="1280" d="M1024 352v-64q0 -14 -9 -23t-23 -9h-704q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h704q14 0 23 -9t9 -23zM1024 608v-64q0 -14 -9 -23t-23 -9h-704q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h704q14 0 23 -9t9 -23zM128 0h1024v768h-416q-40 0 -68 28t-28 68v416h-512v-1280z M768 896h376q-10 29 -22 41l-313 313q-12 12 -41 22v-376zM1280 864v-896q0 -40 -28 -68t-68 -28h-1088q-40 0 -68 28t-28 68v1344q0 40 28 68t68 28h640q40 0 88 -20t76 -48l312 -312q28 -28 48 -76t20 -88z" />
254
+ <glyph unicode="&#xf0f7;" horiz-adv-x="1408" d="M384 224v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM384 480v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M640 480v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM384 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M1152 224v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM896 480v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M640 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM384 992v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M1152 480v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM896 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M640 992v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM384 1248v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M1152 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM896 992v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M640 1248v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM1152 992v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M896 1248v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM1152 1248v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M896 -128h384v1536h-1152v-1536h384v224q0 13 9.5 22.5t22.5 9.5h320q13 0 22.5 -9.5t9.5 -22.5v-224zM1408 1472v-1664q0 -26 -19 -45t-45 -19h-1280q-26 0 -45 19t-19 45v1664q0 26 19 45t45 19h1280q26 0 45 -19t19 -45z" />
255
+ <glyph unicode="&#xf0f8;" horiz-adv-x="1408" d="M384 224v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM384 480v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M640 480v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM384 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M1152 224v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM896 480v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M640 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM1152 480v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M896 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM1152 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M896 -128h384v1152h-256v-32q0 -40 -28 -68t-68 -28h-448q-40 0 -68 28t-28 68v32h-256v-1152h384v224q0 13 9.5 22.5t22.5 9.5h320q13 0 22.5 -9.5t9.5 -22.5v-224zM896 1056v320q0 13 -9.5 22.5t-22.5 9.5h-64q-13 0 -22.5 -9.5t-9.5 -22.5v-96h-128v96q0 13 -9.5 22.5 t-22.5 9.5h-64q-13 0 -22.5 -9.5t-9.5 -22.5v-320q0 -13 9.5 -22.5t22.5 -9.5h64q13 0 22.5 9.5t9.5 22.5v96h128v-96q0 -13 9.5 -22.5t22.5 -9.5h64q13 0 22.5 9.5t9.5 22.5zM1408 1088v-1280q0 -26 -19 -45t-45 -19h-1280q-26 0 -45 19t-19 45v1280q0 26 19 45t45 19h320 v288q0 40 28 68t68 28h448q40 0 68 -28t28 -68v-288h320q26 0 45 -19t19 -45z" />
256
+ <glyph unicode="&#xf0f9;" horiz-adv-x="1920" d="M640 128q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM256 640h384v256h-158q-14 -2 -22 -9l-195 -195q-7 -12 -9 -22v-30zM1536 128q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5 t90.5 37.5t37.5 90.5zM1664 800v192q0 14 -9 23t-23 9h-224v224q0 14 -9 23t-23 9h-192q-14 0 -23 -9t-9 -23v-224h-224q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h224v-224q0 -14 9 -23t23 -9h192q14 0 23 9t9 23v224h224q14 0 23 9t9 23zM1920 1344v-1152 q0 -26 -19 -45t-45 -19h-192q0 -106 -75 -181t-181 -75t-181 75t-75 181h-384q0 -106 -75 -181t-181 -75t-181 75t-75 181h-128q-26 0 -45 19t-19 45t19 45t45 19v416q0 26 13 58t32 51l198 198q19 19 51 32t58 13h160v320q0 26 19 45t45 19h1152q26 0 45 -19t19 -45z" />
257
+ <glyph unicode="&#xf0fa;" horiz-adv-x="1792" d="M1280 416v192q0 14 -9 23t-23 9h-224v224q0 14 -9 23t-23 9h-192q-14 0 -23 -9t-9 -23v-224h-224q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h224v-224q0 -14 9 -23t23 -9h192q14 0 23 9t9 23v224h224q14 0 23 9t9 23zM640 1152h512v128h-512v-128zM256 1152v-1280h-32 q-92 0 -158 66t-66 158v832q0 92 66 158t158 66h32zM1440 1152v-1280h-1088v1280h160v160q0 40 28 68t68 28h576q40 0 68 -28t28 -68v-160h160zM1792 928v-832q0 -92 -66 -158t-158 -66h-32v1280h32q92 0 158 -66t66 -158z" />
258
+ <glyph unicode="&#xf0fb;" horiz-adv-x="1920" d="M1920 576q-1 -32 -288 -96l-352 -32l-224 -64h-64l-293 -352h69q26 0 45 -4.5t19 -11.5t-19 -11.5t-45 -4.5h-96h-160h-64v32h64v416h-160l-192 -224h-96l-32 32v192h32v32h128v8l-192 24v128l192 24v8h-128v32h-32v192l32 32h96l192 -224h160v416h-64v32h64h160h96 q26 0 45 -4.5t19 -11.5t-19 -11.5t-45 -4.5h-69l293 -352h64l224 -64l352 -32q261 -58 287 -93z" />
259
+ <glyph unicode="&#xf0fc;" horiz-adv-x="1664" d="M640 640v384h-256v-256q0 -53 37.5 -90.5t90.5 -37.5h128zM1664 192v-192h-1152v192l128 192h-128q-159 0 -271.5 112.5t-112.5 271.5v320l-64 64l32 128h480l32 128h960l32 -192l-64 -32v-800z" />
260
+ <glyph unicode="&#xf0fd;" d="M1280 192v896q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-320h-512v320q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-896q0 -26 19 -45t45 -19h128q26 0 45 19t19 45v320h512v-320q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM1536 1120v-960 q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
261
+ <glyph unicode="&#xf0fe;" d="M1280 576v128q0 26 -19 45t-45 19h-320v320q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-320h-320q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h320v-320q0 -26 19 -45t45 -19h128q26 0 45 19t19 45v320h320q26 0 45 19t19 45zM1536 1120v-960 q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
262
+ <glyph unicode="&#xf100;" horiz-adv-x="1024" d="M627 160q0 -13 -10 -23l-50 -50q-10 -10 -23 -10t-23 10l-466 466q-10 10 -10 23t10 23l466 466q10 10 23 10t23 -10l50 -50q10 -10 10 -23t-10 -23l-393 -393l393 -393q10 -10 10 -23zM1011 160q0 -13 -10 -23l-50 -50q-10 -10 -23 -10t-23 10l-466 466q-10 10 -10 23 t10 23l466 466q10 10 23 10t23 -10l50 -50q10 -10 10 -23t-10 -23l-393 -393l393 -393q10 -10 10 -23z" />
263
+ <glyph unicode="&#xf101;" horiz-adv-x="1024" d="M595 576q0 -13 -10 -23l-466 -466q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23t10 23l393 393l-393 393q-10 10 -10 23t10 23l50 50q10 10 23 10t23 -10l466 -466q10 -10 10 -23zM979 576q0 -13 -10 -23l-466 -466q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23t10 23 l393 393l-393 393q-10 10 -10 23t10 23l50 50q10 10 23 10t23 -10l466 -466q10 -10 10 -23z" />
264
+ <glyph unicode="&#xf102;" horiz-adv-x="1152" d="M1075 224q0 -13 -10 -23l-50 -50q-10 -10 -23 -10t-23 10l-393 393l-393 -393q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23t10 23l466 466q10 10 23 10t23 -10l466 -466q10 -10 10 -23zM1075 608q0 -13 -10 -23l-50 -50q-10 -10 -23 -10t-23 10l-393 393l-393 -393 q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23t10 23l466 466q10 10 23 10t23 -10l466 -466q10 -10 10 -23z" />
265
+ <glyph unicode="&#xf103;" horiz-adv-x="1152" d="M1075 672q0 -13 -10 -23l-466 -466q-10 -10 -23 -10t-23 10l-466 466q-10 10 -10 23t10 23l50 50q10 10 23 10t23 -10l393 -393l393 393q10 10 23 10t23 -10l50 -50q10 -10 10 -23zM1075 1056q0 -13 -10 -23l-466 -466q-10 -10 -23 -10t-23 10l-466 466q-10 10 -10 23 t10 23l50 50q10 10 23 10t23 -10l393 -393l393 393q10 10 23 10t23 -10l50 -50q10 -10 10 -23z" />
266
+ <glyph unicode="&#xf104;" horiz-adv-x="640" d="M627 992q0 -13 -10 -23l-393 -393l393 -393q10 -10 10 -23t-10 -23l-50 -50q-10 -10 -23 -10t-23 10l-466 466q-10 10 -10 23t10 23l466 466q10 10 23 10t23 -10l50 -50q10 -10 10 -23z" />
267
+ <glyph unicode="&#xf105;" horiz-adv-x="640" d="M595 576q0 -13 -10 -23l-466 -466q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23t10 23l393 393l-393 393q-10 10 -10 23t10 23l50 50q10 10 23 10t23 -10l466 -466q10 -10 10 -23z" />
268
+ <glyph unicode="&#xf106;" horiz-adv-x="1152" d="M1075 352q0 -13 -10 -23l-50 -50q-10 -10 -23 -10t-23 10l-393 393l-393 -393q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23t10 23l466 466q10 10 23 10t23 -10l466 -466q10 -10 10 -23z" />
269
+ <glyph unicode="&#xf107;" horiz-adv-x="1152" d="M1075 800q0 -13 -10 -23l-466 -466q-10 -10 -23 -10t-23 10l-466 466q-10 10 -10 23t10 23l50 50q10 10 23 10t23 -10l393 -393l393 393q10 10 23 10t23 -10l50 -50q10 -10 10 -23z" />
270
+ <glyph unicode="&#xf108;" horiz-adv-x="1920" d="M1792 544v832q0 13 -9.5 22.5t-22.5 9.5h-1600q-13 0 -22.5 -9.5t-9.5 -22.5v-832q0 -13 9.5 -22.5t22.5 -9.5h1600q13 0 22.5 9.5t9.5 22.5zM1920 1376v-1088q0 -66 -47 -113t-113 -47h-544q0 -37 16 -77.5t32 -71t16 -43.5q0 -26 -19 -45t-45 -19h-512q-26 0 -45 19 t-19 45q0 14 16 44t32 70t16 78h-544q-66 0 -113 47t-47 113v1088q0 66 47 113t113 47h1600q66 0 113 -47t47 -113z" />
271
+ <glyph unicode="&#xf109;" horiz-adv-x="1920" d="M416 256q-66 0 -113 47t-47 113v704q0 66 47 113t113 47h1088q66 0 113 -47t47 -113v-704q0 -66 -47 -113t-113 -47h-1088zM384 1120v-704q0 -13 9.5 -22.5t22.5 -9.5h1088q13 0 22.5 9.5t9.5 22.5v704q0 13 -9.5 22.5t-22.5 9.5h-1088q-13 0 -22.5 -9.5t-9.5 -22.5z M1760 192h160v-96q0 -40 -47 -68t-113 -28h-1600q-66 0 -113 28t-47 68v96h160h1600zM1040 96q16 0 16 16t-16 16h-160q-16 0 -16 -16t16 -16h160z" />
272
+ <glyph unicode="&#xf10a;" horiz-adv-x="1152" d="M640 128q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1024 288v960q0 13 -9.5 22.5t-22.5 9.5h-832q-13 0 -22.5 -9.5t-9.5 -22.5v-960q0 -13 9.5 -22.5t22.5 -9.5h832q13 0 22.5 9.5t9.5 22.5zM1152 1248v-1088q0 -66 -47 -113t-113 -47h-832 q-66 0 -113 47t-47 113v1088q0 66 47 113t113 47h832q66 0 113 -47t47 -113z" />
273
+ <glyph unicode="&#xf10b;" horiz-adv-x="768" d="M464 128q0 33 -23.5 56.5t-56.5 23.5t-56.5 -23.5t-23.5 -56.5t23.5 -56.5t56.5 -23.5t56.5 23.5t23.5 56.5zM672 288v704q0 13 -9.5 22.5t-22.5 9.5h-512q-13 0 -22.5 -9.5t-9.5 -22.5v-704q0 -13 9.5 -22.5t22.5 -9.5h512q13 0 22.5 9.5t9.5 22.5zM480 1136 q0 16 -16 16h-160q-16 0 -16 -16t16 -16h160q16 0 16 16zM768 1152v-1024q0 -52 -38 -90t-90 -38h-512q-52 0 -90 38t-38 90v1024q0 52 38 90t90 38h512q52 0 90 -38t38 -90z" />
274
+ <glyph unicode="&#xf10c;" d="M768 1184q-148 0 -273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273t-73 273t-198 198t-273 73zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103 t279.5 -279.5t103 -385.5z" />
275
+ <glyph unicode="&#xf10d;" horiz-adv-x="1664" d="M768 576v-384q0 -80 -56 -136t-136 -56h-384q-80 0 -136 56t-56 136v704q0 104 40.5 198.5t109.5 163.5t163.5 109.5t198.5 40.5h64q26 0 45 -19t19 -45v-128q0 -26 -19 -45t-45 -19h-64q-106 0 -181 -75t-75 -181v-32q0 -40 28 -68t68 -28h224q80 0 136 -56t56 -136z M1664 576v-384q0 -80 -56 -136t-136 -56h-384q-80 0 -136 56t-56 136v704q0 104 40.5 198.5t109.5 163.5t163.5 109.5t198.5 40.5h64q26 0 45 -19t19 -45v-128q0 -26 -19 -45t-45 -19h-64q-106 0 -181 -75t-75 -181v-32q0 -40 28 -68t68 -28h224q80 0 136 -56t56 -136z" />
276
+ <glyph unicode="&#xf10e;" horiz-adv-x="1664" d="M768 1216v-704q0 -104 -40.5 -198.5t-109.5 -163.5t-163.5 -109.5t-198.5 -40.5h-64q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h64q106 0 181 75t75 181v32q0 40 -28 68t-68 28h-224q-80 0 -136 56t-56 136v384q0 80 56 136t136 56h384q80 0 136 -56t56 -136zM1664 1216 v-704q0 -104 -40.5 -198.5t-109.5 -163.5t-163.5 -109.5t-198.5 -40.5h-64q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h64q106 0 181 75t75 181v32q0 40 -28 68t-68 28h-224q-80 0 -136 56t-56 136v384q0 80 56 136t136 56h384q80 0 136 -56t56 -136z" />
277
+ <glyph unicode="&#xf110;" horiz-adv-x="1568" d="M496 192q0 -60 -42.5 -102t-101.5 -42q-60 0 -102 42t-42 102t42 102t102 42q59 0 101.5 -42t42.5 -102zM928 0q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM320 640q0 -66 -47 -113t-113 -47t-113 47t-47 113 t47 113t113 47t113 -47t47 -113zM1360 192q0 -46 -33 -79t-79 -33t-79 33t-33 79t33 79t79 33t79 -33t33 -79zM528 1088q0 -73 -51.5 -124.5t-124.5 -51.5t-124.5 51.5t-51.5 124.5t51.5 124.5t124.5 51.5t124.5 -51.5t51.5 -124.5zM992 1280q0 -80 -56 -136t-136 -56 t-136 56t-56 136t56 136t136 56t136 -56t56 -136zM1536 640q0 -40 -28 -68t-68 -28t-68 28t-28 68t28 68t68 28t68 -28t28 -68zM1328 1088q0 -33 -23.5 -56.5t-56.5 -23.5t-56.5 23.5t-23.5 56.5t23.5 56.5t56.5 23.5t56.5 -23.5t23.5 -56.5z" />
278
+ <glyph unicode="&#xf111;" d="M1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
279
+ <glyph unicode="&#xf112;" horiz-adv-x="1792" d="M1792 416q0 -166 -127 -451q-3 -7 -10.5 -24t-13.5 -30t-13 -22q-12 -17 -28 -17q-15 0 -23.5 10t-8.5 25q0 9 2.5 26.5t2.5 23.5q5 68 5 123q0 101 -17.5 181t-48.5 138.5t-80 101t-105.5 69.5t-133 42.5t-154 21.5t-175.5 6h-224v-256q0 -26 -19 -45t-45 -19t-45 19 l-512 512q-19 19 -19 45t19 45l512 512q19 19 45 19t45 -19t19 -45v-256h224q713 0 875 -403q53 -134 53 -333z" />
280
+ <glyph unicode="&#xf113;" horiz-adv-x="1664" d="M640 320q0 -40 -12.5 -82t-43 -76t-72.5 -34t-72.5 34t-43 76t-12.5 82t12.5 82t43 76t72.5 34t72.5 -34t43 -76t12.5 -82zM1280 320q0 -40 -12.5 -82t-43 -76t-72.5 -34t-72.5 34t-43 76t-12.5 82t12.5 82t43 76t72.5 34t72.5 -34t43 -76t12.5 -82zM1440 320 q0 120 -69 204t-187 84q-41 0 -195 -21q-71 -11 -157 -11t-157 11q-152 21 -195 21q-118 0 -187 -84t-69 -204q0 -88 32 -153.5t81 -103t122 -60t140 -29.5t149 -7h168q82 0 149 7t140 29.5t122 60t81 103t32 153.5zM1664 496q0 -207 -61 -331q-38 -77 -105.5 -133t-141 -86 t-170 -47.5t-171.5 -22t-167 -4.5q-78 0 -142 3t-147.5 12.5t-152.5 30t-137 51.5t-121 81t-86 115q-62 123 -62 331q0 237 136 396q-27 82 -27 170q0 116 51 218q108 0 190 -39.5t189 -123.5q147 35 309 35q148 0 280 -32q105 82 187 121t189 39q51 -102 51 -218 q0 -87 -27 -168q136 -160 136 -398z" />
281
+ <glyph unicode="&#xf114;" horiz-adv-x="1664" d="M1536 224v704q0 40 -28 68t-68 28h-704q-40 0 -68 28t-28 68v64q0 40 -28 68t-68 28h-320q-40 0 -68 -28t-28 -68v-960q0 -40 28 -68t68 -28h1216q40 0 68 28t28 68zM1664 928v-704q0 -92 -66 -158t-158 -66h-1216q-92 0 -158 66t-66 158v960q0 92 66 158t158 66h320 q92 0 158 -66t66 -158v-32h672q92 0 158 -66t66 -158z" />
282
+ <glyph unicode="&#xf115;" horiz-adv-x="1920" d="M1781 605q0 35 -53 35h-1088q-40 0 -85.5 -21.5t-71.5 -52.5l-294 -363q-18 -24 -18 -40q0 -35 53 -35h1088q40 0 86 22t71 53l294 363q18 22 18 39zM640 768h768v160q0 40 -28 68t-68 28h-576q-40 0 -68 28t-28 68v64q0 40 -28 68t-68 28h-320q-40 0 -68 -28t-28 -68 v-853l256 315q44 53 116 87.5t140 34.5zM1909 605q0 -62 -46 -120l-295 -363q-43 -53 -116 -87.5t-140 -34.5h-1088q-92 0 -158 66t-66 158v960q0 92 66 158t158 66h320q92 0 158 -66t66 -158v-32h544q92 0 158 -66t66 -158v-160h192q54 0 99 -24.5t67 -70.5q15 -32 15 -68z " />
283
+ <glyph unicode="&#xf116;" horiz-adv-x="1152" d="M896 608v-64q0 -14 -9 -23t-23 -9h-224v-224q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v224h-224q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h224v224q0 14 9 23t23 9h64q14 0 23 -9t9 -23v-224h224q14 0 23 -9t9 -23zM1024 224v704q0 40 -28 68t-68 28h-704q-40 0 -68 -28 t-28 -68v-704q0 -40 28 -68t68 -28h704q40 0 68 28t28 68zM1152 928v-704q0 -92 -65.5 -158t-158.5 -66h-704q-93 0 -158.5 66t-65.5 158v704q0 93 65.5 158.5t158.5 65.5h704q93 0 158.5 -65.5t65.5 -158.5z" />
284
+ <glyph unicode="&#xf117;" horiz-adv-x="1152" d="M928 1152q93 0 158.5 -65.5t65.5 -158.5v-704q0 -92 -65.5 -158t-158.5 -66h-704q-93 0 -158.5 66t-65.5 158v704q0 93 65.5 158.5t158.5 65.5h704zM1024 224v704q0 40 -28 68t-68 28h-704q-40 0 -68 -28t-28 -68v-704q0 -40 28 -68t68 -28h704q40 0 68 28t28 68z M864 640q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-576q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h576z" />
285
+ <glyph unicode="&#xf118;" d="M1134 461q-37 -121 -138 -195t-228 -74t-228 74t-138 195q-8 25 4 48.5t38 31.5q25 8 48.5 -4t31.5 -38q25 -80 92.5 -129.5t151.5 -49.5t151.5 49.5t92.5 129.5q8 26 32 38t49 4t37 -31.5t4 -48.5zM640 896q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5 t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1152 896q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1408 640q0 130 -51 248.5t-136.5 204t-204 136.5t-248.5 51t-248.5 -51t-204 -136.5t-136.5 -204t-51 -248.5 t51 -248.5t136.5 -204t204 -136.5t248.5 -51t248.5 51t204 136.5t136.5 204t51 248.5zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
286
+ <glyph unicode="&#xf119;" d="M1134 307q8 -25 -4 -48.5t-37 -31.5t-49 4t-32 38q-25 80 -92.5 129.5t-151.5 49.5t-151.5 -49.5t-92.5 -129.5q-8 -26 -31.5 -38t-48.5 -4q-26 8 -38 31.5t-4 48.5q37 121 138 195t228 74t228 -74t138 -195zM640 896q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5 t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1152 896q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1408 640q0 130 -51 248.5t-136.5 204t-204 136.5t-248.5 51t-248.5 -51t-204 -136.5t-136.5 -204 t-51 -248.5t51 -248.5t136.5 -204t204 -136.5t248.5 -51t248.5 51t204 136.5t136.5 204t51 248.5zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
287
+ <glyph unicode="&#xf11a;" d="M1152 448q0 -26 -19 -45t-45 -19h-640q-26 0 -45 19t-19 45t19 45t45 19h640q26 0 45 -19t19 -45zM640 896q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1152 896q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5 t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1408 640q0 130 -51 248.5t-136.5 204t-204 136.5t-248.5 51t-248.5 -51t-204 -136.5t-136.5 -204t-51 -248.5t51 -248.5t136.5 -204t204 -136.5t248.5 -51t248.5 51t204 136.5t136.5 204t51 248.5zM1536 640 q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
288
+ <glyph unicode="&#xf11b;" horiz-adv-x="1920" d="M832 448v128q0 14 -9 23t-23 9h-192v192q0 14 -9 23t-23 9h-128q-14 0 -23 -9t-9 -23v-192h-192q-14 0 -23 -9t-9 -23v-128q0 -14 9 -23t23 -9h192v-192q0 -14 9 -23t23 -9h128q14 0 23 9t9 23v192h192q14 0 23 9t9 23zM1408 384q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5 t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1664 640q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1920 512q0 -212 -150 -362t-362 -150q-192 0 -338 128h-220q-146 -128 -338 -128q-212 0 -362 150 t-150 362t150 362t362 150h896q212 0 362 -150t150 -362z" />
289
+ <glyph unicode="&#xf11c;" horiz-adv-x="1920" d="M384 368v-96q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16h96q16 0 16 -16zM512 624v-96q0 -16 -16 -16h-224q-16 0 -16 16v96q0 16 16 16h224q16 0 16 -16zM384 880v-96q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16h96q16 0 16 -16zM1408 368v-96q0 -16 -16 -16 h-864q-16 0 -16 16v96q0 16 16 16h864q16 0 16 -16zM768 624v-96q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16h96q16 0 16 -16zM640 880v-96q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16h96q16 0 16 -16zM1024 624v-96q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16 h96q16 0 16 -16zM896 880v-96q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16h96q16 0 16 -16zM1280 624v-96q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16h96q16 0 16 -16zM1664 368v-96q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16h96q16 0 16 -16zM1152 880v-96 q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16h96q16 0 16 -16zM1408 880v-96q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16h96q16 0 16 -16zM1664 880v-352q0 -16 -16 -16h-224q-16 0 -16 16v96q0 16 16 16h112v240q0 16 16 16h96q16 0 16 -16zM1792 128v896h-1664v-896 h1664zM1920 1024v-896q0 -53 -37.5 -90.5t-90.5 -37.5h-1664q-53 0 -90.5 37.5t-37.5 90.5v896q0 53 37.5 90.5t90.5 37.5h1664q53 0 90.5 -37.5t37.5 -90.5z" />
290
+ <glyph unicode="&#xf11d;" horiz-adv-x="1792" d="M1664 491v616q-169 -91 -306 -91q-82 0 -145 32q-100 49 -184 76.5t-178 27.5q-173 0 -403 -127v-599q245 113 433 113q55 0 103.5 -7.5t98 -26t77 -31t82.5 -39.5l28 -14q44 -22 101 -22q120 0 293 92zM320 1280q0 -35 -17.5 -64t-46.5 -46v-1266q0 -14 -9 -23t-23 -9 h-64q-14 0 -23 9t-9 23v1266q-29 17 -46.5 46t-17.5 64q0 53 37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1792 1216v-763q0 -39 -35 -57q-10 -5 -17 -9q-218 -116 -369 -116q-88 0 -158 35l-28 14q-64 33 -99 48t-91 29t-114 14q-102 0 -235.5 -44t-228.5 -102 q-15 -9 -33 -9q-16 0 -32 8q-32 19 -32 56v742q0 35 31 55q35 21 78.5 42.5t114 52t152.5 49.5t155 19q112 0 209 -31t209 -86q38 -19 89 -19q122 0 310 112q22 12 31 17q31 16 62 -2q31 -20 31 -55z" />
291
+ <glyph unicode="&#xf11e;" horiz-adv-x="1792" d="M832 536v192q-181 -16 -384 -117v-185q205 96 384 110zM832 954v197q-172 -8 -384 -126v-189q215 111 384 118zM1664 491v184q-235 -116 -384 -71v224q-20 6 -39 15q-5 3 -33 17t-34.5 17t-31.5 15t-34.5 15.5t-32.5 13t-36 12.5t-35 8.5t-39.5 7.5t-39.5 4t-44 2 q-23 0 -49 -3v-222h19q102 0 192.5 -29t197.5 -82q19 -9 39 -15v-188q42 -17 91 -17q120 0 293 92zM1664 918v189q-169 -91 -306 -91q-45 0 -78 8v-196q148 -42 384 90zM320 1280q0 -35 -17.5 -64t-46.5 -46v-1266q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v1266 q-29 17 -46.5 46t-17.5 64q0 53 37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1792 1216v-763q0 -39 -35 -57q-10 -5 -17 -9q-218 -116 -369 -116q-88 0 -158 35l-28 14q-64 33 -99 48t-91 29t-114 14q-102 0 -235.5 -44t-228.5 -102q-15 -9 -33 -9q-16 0 -32 8 q-32 19 -32 56v742q0 35 31 55q35 21 78.5 42.5t114 52t152.5 49.5t155 19q112 0 209 -31t209 -86q38 -19 89 -19q122 0 310 112q22 12 31 17q31 16 62 -2q31 -20 31 -55z" />
292
+ <glyph unicode="&#xf120;" horiz-adv-x="1664" d="M585 553l-466 -466q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23t10 23l393 393l-393 393q-10 10 -10 23t10 23l50 50q10 10 23 10t23 -10l466 -466q10 -10 10 -23t-10 -23zM1664 96v-64q0 -14 -9 -23t-23 -9h-960q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h960q14 0 23 -9 t9 -23z" />
293
+ <glyph unicode="&#xf121;" horiz-adv-x="1920" d="M617 137l-50 -50q-10 -10 -23 -10t-23 10l-466 466q-10 10 -10 23t10 23l466 466q10 10 23 10t23 -10l50 -50q10 -10 10 -23t-10 -23l-393 -393l393 -393q10 -10 10 -23t-10 -23zM1208 1204l-373 -1291q-4 -13 -15.5 -19.5t-23.5 -2.5l-62 17q-13 4 -19.5 15.5t-2.5 24.5 l373 1291q4 13 15.5 19.5t23.5 2.5l62 -17q13 -4 19.5 -15.5t2.5 -24.5zM1865 553l-466 -466q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23t10 23l393 393l-393 393q-10 10 -10 23t10 23l50 50q10 10 23 10t23 -10l466 -466q10 -10 10 -23t-10 -23z" />
294
+ <glyph unicode="&#xf122;" horiz-adv-x="1792" d="M640 454v-70q0 -42 -39 -59q-13 -5 -25 -5q-27 0 -45 19l-512 512q-19 19 -19 45t19 45l512 512q29 31 70 14q39 -17 39 -59v-69l-397 -398q-19 -19 -19 -45t19 -45zM1792 416q0 -58 -17 -133.5t-38.5 -138t-48 -125t-40.5 -90.5l-20 -40q-8 -17 -28 -17q-6 0 -9 1 q-25 8 -23 34q43 400 -106 565q-64 71 -170.5 110.5t-267.5 52.5v-251q0 -42 -39 -59q-13 -5 -25 -5q-27 0 -45 19l-512 512q-19 19 -19 45t19 45l512 512q29 31 70 14q39 -17 39 -59v-262q411 -28 599 -221q169 -173 169 -509z" />
295
+ <glyph unicode="&#xf123;" horiz-adv-x="1664" d="M1186 579l257 250l-356 52l-66 10l-30 60l-159 322v-963l59 -31l318 -168l-60 355l-12 66zM1638 841l-363 -354l86 -500q5 -33 -6 -51.5t-34 -18.5q-17 0 -40 12l-449 236l-449 -236q-23 -12 -40 -12q-23 0 -34 18.5t-6 51.5l86 500l-364 354q-32 32 -23 59.5t54 34.5 l502 73l225 455q20 41 49 41q28 0 49 -41l225 -455l502 -73q45 -7 54 -34.5t-24 -59.5z" />
296
+ <glyph unicode="&#xf124;" horiz-adv-x="1408" d="M1401 1187l-640 -1280q-17 -35 -57 -35q-5 0 -15 2q-22 5 -35.5 22.5t-13.5 39.5v576h-576q-22 0 -39.5 13.5t-22.5 35.5t4 42t29 30l1280 640q13 7 29 7q27 0 45 -19q15 -14 18.5 -34.5t-6.5 -39.5z" />
297
+ <glyph unicode="&#xf125;" horiz-adv-x="1664" d="M557 256h595v595zM512 301l595 595h-595v-595zM1664 224v-192q0 -14 -9 -23t-23 -9h-224v-224q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v224h-864q-14 0 -23 9t-9 23v864h-224q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h224v224q0 14 9 23t23 9h192q14 0 23 -9t9 -23 v-224h851l246 247q10 9 23 9t23 -9q9 -10 9 -23t-9 -23l-247 -246v-851h224q14 0 23 -9t9 -23z" />
298
+ <glyph unicode="&#xf126;" horiz-adv-x="1024" d="M288 64q0 40 -28 68t-68 28t-68 -28t-28 -68t28 -68t68 -28t68 28t28 68zM288 1216q0 40 -28 68t-68 28t-68 -28t-28 -68t28 -68t68 -28t68 28t28 68zM928 1088q0 40 -28 68t-68 28t-68 -28t-28 -68t28 -68t68 -28t68 28t28 68zM1024 1088q0 -52 -26 -96.5t-70 -69.5 q-2 -287 -226 -414q-68 -38 -203 -81q-128 -40 -169.5 -71t-41.5 -100v-26q44 -25 70 -69.5t26 -96.5q0 -80 -56 -136t-136 -56t-136 56t-56 136q0 52 26 96.5t70 69.5v820q-44 25 -70 69.5t-26 96.5q0 80 56 136t136 56t136 -56t56 -136q0 -52 -26 -96.5t-70 -69.5v-497 q54 26 154 57q55 17 87.5 29.5t70.5 31t59 39.5t40.5 51t28 69.5t8.5 91.5q-44 25 -70 69.5t-26 96.5q0 80 56 136t136 56t136 -56t56 -136z" />
299
+ <glyph unicode="&#xf127;" horiz-adv-x="1664" d="M439 265l-256 -256q-10 -9 -23 -9q-12 0 -23 9q-9 10 -9 23t9 23l256 256q10 9 23 9t23 -9q9 -10 9 -23t-9 -23zM608 224v-320q0 -14 -9 -23t-23 -9t-23 9t-9 23v320q0 14 9 23t23 9t23 -9t9 -23zM384 448q0 -14 -9 -23t-23 -9h-320q-14 0 -23 9t-9 23t9 23t23 9h320 q14 0 23 -9t9 -23zM1648 320q0 -120 -85 -203l-147 -146q-83 -83 -203 -83q-121 0 -204 85l-334 335q-21 21 -42 56l239 18l273 -274q27 -27 68 -27.5t68 26.5l147 146q28 28 28 67q0 40 -28 68l-274 275l18 239q35 -21 56 -42l336 -336q84 -86 84 -204zM1031 1044l-239 -18 l-273 274q-28 28 -68 28q-39 0 -68 -27l-147 -146q-28 -28 -28 -67q0 -40 28 -68l274 -274l-18 -240q-35 21 -56 42l-336 336q-84 86 -84 204q0 120 85 203l147 146q83 83 203 83q121 0 204 -85l334 -335q21 -21 42 -56zM1664 960q0 -14 -9 -23t-23 -9h-320q-14 0 -23 9 t-9 23t9 23t23 9h320q14 0 23 -9t9 -23zM1120 1504v-320q0 -14 -9 -23t-23 -9t-23 9t-9 23v320q0 14 9 23t23 9t23 -9t9 -23zM1527 1353l-256 -256q-11 -9 -23 -9t-23 9q-9 10 -9 23t9 23l256 256q10 9 23 9t23 -9q9 -10 9 -23t-9 -23z" />
300
+ <glyph unicode="&#xf128;" horiz-adv-x="1024" d="M704 280v-240q0 -16 -12 -28t-28 -12h-240q-16 0 -28 12t-12 28v240q0 16 12 28t28 12h240q16 0 28 -12t12 -28zM1020 880q0 -54 -15.5 -101t-35 -76.5t-55 -59.5t-57.5 -43.5t-61 -35.5q-41 -23 -68.5 -65t-27.5 -67q0 -17 -12 -32.5t-28 -15.5h-240q-15 0 -25.5 18.5 t-10.5 37.5v45q0 83 65 156.5t143 108.5q59 27 84 56t25 76q0 42 -46.5 74t-107.5 32q-65 0 -108 -29q-35 -25 -107 -115q-13 -16 -31 -16q-12 0 -25 8l-164 125q-13 10 -15.5 25t5.5 28q160 266 464 266q80 0 161 -31t146 -83t106 -127.5t41 -158.5z" />
301
+ <glyph unicode="&#xf129;" horiz-adv-x="640" d="M640 192v-128q0 -26 -19 -45t-45 -19h-512q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h64v384h-64q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h384q26 0 45 -19t19 -45v-576h64q26 0 45 -19t19 -45zM512 1344v-192q0 -26 -19 -45t-45 -19h-256q-26 0 -45 19t-19 45v192 q0 26 19 45t45 19h256q26 0 45 -19t19 -45z" />
302
+ <glyph unicode="&#xf12a;" horiz-adv-x="640" d="M512 288v-224q0 -26 -19 -45t-45 -19h-256q-26 0 -45 19t-19 45v224q0 26 19 45t45 19h256q26 0 45 -19t19 -45zM542 1344l-28 -768q-1 -26 -20.5 -45t-45.5 -19h-256q-26 0 -45.5 19t-20.5 45l-28 768q-1 26 17.5 45t44.5 19h320q26 0 44.5 -19t17.5 -45z" />
303
+ <glyph unicode="&#xf12b;" d="M897 167v-167h-248l-159 252l-24 42q-8 9 -11 21h-3l-9 -21q-10 -20 -25 -44l-155 -250h-258v167h128l197 291l-185 272h-137v168h276l139 -228q2 -4 23 -42q8 -9 11 -21h3q3 9 11 21l25 42l140 228h257v-168h-125l-184 -267l204 -296h109zM1534 846v-206h-514l-3 27 q-4 28 -4 46q0 64 26 117t65 86.5t84 65t84 54.5t65 54t26 64q0 38 -29.5 62.5t-70.5 24.5q-51 0 -97 -39q-14 -11 -36 -38l-105 92q26 37 63 66q83 65 188 65q110 0 178 -59.5t68 -158.5q0 -56 -24.5 -103t-62 -76.5t-81.5 -58.5t-82 -50.5t-65.5 -51.5t-30.5 -63h232v80 h126z" />
304
+ <glyph unicode="&#xf12c;" d="M897 167v-167h-248l-159 252l-24 42q-8 9 -11 21h-3l-9 -21q-10 -20 -25 -44l-155 -250h-258v167h128l197 291l-185 272h-137v168h276l139 -228q2 -4 23 -42q8 -9 11 -21h3q3 9 11 21l25 42l140 228h257v-168h-125l-184 -267l204 -296h109zM1536 -50v-206h-514l-4 27 q-3 45 -3 46q0 64 26 117t65 86.5t84 65t84 54.5t65 54t26 64q0 38 -29.5 62.5t-70.5 24.5q-51 0 -97 -39q-14 -11 -36 -38l-105 92q26 37 63 66q80 65 188 65q110 0 178 -59.5t68 -158.5q0 -66 -34.5 -118.5t-84 -86t-99.5 -62.5t-87 -63t-41 -73h232v80h126z" />
305
+ <glyph unicode="&#xf12d;" horiz-adv-x="1920" d="M896 128l336 384h-768l-336 -384h768zM1909 1205q15 -34 9.5 -71.5t-30.5 -65.5l-896 -1024q-38 -44 -96 -44h-768q-38 0 -69.5 20.5t-47.5 54.5q-15 34 -9.5 71.5t30.5 65.5l896 1024q38 44 96 44h768q38 0 69.5 -20.5t47.5 -54.5z" />
306
+ <glyph unicode="&#xf12e;" horiz-adv-x="1664" d="M1664 438q0 -81 -44.5 -135t-123.5 -54q-41 0 -77.5 17.5t-59 38t-56.5 38t-71 17.5q-110 0 -110 -124q0 -39 16 -115t15 -115v-5q-22 0 -33 -1q-34 -3 -97.5 -11.5t-115.5 -13.5t-98 -5q-61 0 -103 26.5t-42 83.5q0 37 17.5 71t38 56.5t38 59t17.5 77.5q0 79 -54 123.5 t-135 44.5q-84 0 -143 -45.5t-59 -127.5q0 -43 15 -83t33.5 -64.5t33.5 -53t15 -50.5q0 -45 -46 -89q-37 -35 -117 -35q-95 0 -245 24q-9 2 -27.5 4t-27.5 4l-13 2q-1 0 -3 1q-2 0 -2 1v1024q2 -1 17.5 -3.5t34 -5t21.5 -3.5q150 -24 245 -24q80 0 117 35q46 44 46 89 q0 22 -15 50.5t-33.5 53t-33.5 64.5t-15 83q0 82 59 127.5t144 45.5q80 0 134 -44.5t54 -123.5q0 -41 -17.5 -77.5t-38 -59t-38 -56.5t-17.5 -71q0 -57 42 -83.5t103 -26.5q64 0 180 15t163 17v-2q-1 -2 -3.5 -17.5t-5 -34t-3.5 -21.5q-24 -150 -24 -245q0 -80 35 -117 q44 -46 89 -46q22 0 50.5 15t53 33.5t64.5 33.5t83 15q82 0 127.5 -59t45.5 -143z" />
307
+ <glyph unicode="&#xf130;" horiz-adv-x="1152" d="M1152 832v-128q0 -221 -147.5 -384.5t-364.5 -187.5v-132h256q26 0 45 -19t19 -45t-19 -45t-45 -19h-640q-26 0 -45 19t-19 45t19 45t45 19h256v132q-217 24 -364.5 187.5t-147.5 384.5v128q0 26 19 45t45 19t45 -19t19 -45v-128q0 -185 131.5 -316.5t316.5 -131.5 t316.5 131.5t131.5 316.5v128q0 26 19 45t45 19t45 -19t19 -45zM896 1216v-512q0 -132 -94 -226t-226 -94t-226 94t-94 226v512q0 132 94 226t226 94t226 -94t94 -226z" />
308
+ <glyph unicode="&#xf131;" horiz-adv-x="1408" d="M271 591l-101 -101q-42 103 -42 214v128q0 26 19 45t45 19t45 -19t19 -45v-128q0 -53 15 -113zM1385 1193l-361 -361v-128q0 -132 -94 -226t-226 -94q-55 0 -109 19l-96 -96q97 -51 205 -51q185 0 316.5 131.5t131.5 316.5v128q0 26 19 45t45 19t45 -19t19 -45v-128 q0 -221 -147.5 -384.5t-364.5 -187.5v-132h256q26 0 45 -19t19 -45t-19 -45t-45 -19h-640q-26 0 -45 19t-19 45t19 45t45 19h256v132q-125 13 -235 81l-254 -254q-10 -10 -23 -10t-23 10l-82 82q-10 10 -10 23t10 23l1234 1234q10 10 23 10t23 -10l82 -82q10 -10 10 -23 t-10 -23zM1005 1325l-621 -621v512q0 132 94 226t226 94q102 0 184.5 -59t116.5 -152z" />
309
+ <glyph unicode="&#xf132;" horiz-adv-x="1280" d="M1088 576v640h-448v-1137q119 63 213 137q235 184 235 360zM1280 1344v-768q0 -86 -33.5 -170.5t-83 -150t-118 -127.5t-126.5 -103t-121 -77.5t-89.5 -49.5t-42.5 -20q-12 -6 -26 -6t-26 6q-16 7 -42.5 20t-89.5 49.5t-121 77.5t-126.5 103t-118 127.5t-83 150 t-33.5 170.5v768q0 26 19 45t45 19h1152q26 0 45 -19t19 -45z" />
310
+ <glyph unicode="&#xf133;" horiz-adv-x="1664" d="M128 -128h1408v1024h-1408v-1024zM512 1088v288q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-288q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM1280 1088v288q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-288q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM1664 1152v-1280 q0 -52 -38 -90t-90 -38h-1408q-52 0 -90 38t-38 90v1280q0 52 38 90t90 38h128v96q0 66 47 113t113 47h64q66 0 113 -47t47 -113v-96h384v96q0 66 47 113t113 47h64q66 0 113 -47t47 -113v-96h128q52 0 90 -38t38 -90z" />
311
+ <glyph unicode="&#xf134;" horiz-adv-x="1408" d="M512 1344q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1408 1376v-320q0 -16 -12 -25q-8 -7 -20 -7q-4 0 -7 1l-448 96q-11 2 -18 11t-7 20h-256v-102q111 -23 183.5 -111t72.5 -203v-800q0 -26 -19 -45t-45 -19h-512q-26 0 -45 19t-19 45v800 q0 106 62.5 190.5t161.5 114.5v111h-32q-59 0 -115 -23.5t-91.5 -53t-66 -66.5t-40.5 -53.5t-14 -24.5q-17 -35 -57 -35q-16 0 -29 7q-23 12 -31.5 37t3.5 49q5 10 14.5 26t37.5 53.5t60.5 70t85 67t108.5 52.5q-25 42 -25 86q0 66 47 113t113 47t113 -47t47 -113 q0 -33 -14 -64h302q0 11 7 20t18 11l448 96q3 1 7 1q12 0 20 -7q12 -9 12 -25z" />
312
+ <glyph unicode="&#xf135;" horiz-adv-x="1664" d="M1440 1088q0 40 -28 68t-68 28t-68 -28t-28 -68t28 -68t68 -28t68 28t28 68zM1664 1376q0 -249 -75.5 -430.5t-253.5 -360.5q-81 -80 -195 -176l-20 -379q-2 -16 -16 -26l-384 -224q-7 -4 -16 -4q-12 0 -23 9l-64 64q-13 14 -8 32l85 276l-281 281l-276 -85q-3 -1 -9 -1 q-14 0 -23 9l-64 64q-17 19 -5 39l224 384q10 14 26 16l379 20q96 114 176 195q188 187 358 258t431 71q14 0 24 -9.5t10 -22.5z" />
313
+ <glyph unicode="&#xf136;" horiz-adv-x="1792" d="M1745 763l-164 -763h-334l178 832q13 56 -15 88q-27 33 -83 33h-169l-204 -953h-334l204 953h-286l-204 -953h-334l204 953l-153 327h1276q101 0 189.5 -40.5t147.5 -113.5q60 -73 81 -168.5t0 -194.5z" />
314
+ <glyph unicode="&#xf137;" d="M909 141l102 102q19 19 19 45t-19 45l-307 307l307 307q19 19 19 45t-19 45l-102 102q-19 19 -45 19t-45 -19l-454 -454q-19 -19 -19 -45t19 -45l454 -454q19 -19 45 -19t45 19zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5 t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
315
+ <glyph unicode="&#xf138;" d="M717 141l454 454q19 19 19 45t-19 45l-454 454q-19 19 -45 19t-45 -19l-102 -102q-19 -19 -19 -45t19 -45l307 -307l-307 -307q-19 -19 -19 -45t19 -45l102 -102q19 -19 45 -19t45 19zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5 t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
316
+ <glyph unicode="&#xf139;" d="M1165 397l102 102q19 19 19 45t-19 45l-454 454q-19 19 -45 19t-45 -19l-454 -454q-19 -19 -19 -45t19 -45l102 -102q19 -19 45 -19t45 19l307 307l307 -307q19 -19 45 -19t45 19zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5 t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
317
+ <glyph unicode="&#xf13a;" d="M813 237l454 454q19 19 19 45t-19 45l-102 102q-19 19 -45 19t-45 -19l-307 -307l-307 307q-19 19 -45 19t-45 -19l-102 -102q-19 -19 -19 -45t19 -45l454 -454q19 -19 45 -19t45 19zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5 t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
318
+ <glyph unicode="&#xf13b;" horiz-adv-x="1408" d="M1130 939l16 175h-884l47 -534h612l-22 -228l-197 -53l-196 53l-13 140h-175l22 -278l362 -100h4v1l359 99l50 544h-644l-15 181h674zM0 1408h1408l-128 -1438l-578 -162l-574 162z" />
319
+ <glyph unicode="&#xf13c;" horiz-adv-x="1792" d="M275 1408h1505l-266 -1333l-804 -267l-698 267l71 356h297l-29 -147l422 -161l486 161l68 339h-1208l58 297h1209l38 191h-1208z" />
320
+ <glyph unicode="&#xf13d;" horiz-adv-x="1792" d="M960 1280q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1792 352v-352q0 -22 -20 -30q-8 -2 -12 -2q-13 0 -23 9l-93 93q-119 -143 -318.5 -226.5t-429.5 -83.5t-429.5 83.5t-318.5 226.5l-93 -93q-9 -9 -23 -9q-4 0 -12 2q-20 8 -20 30v352 q0 14 9 23t23 9h352q22 0 30 -20q8 -19 -7 -35l-100 -100q67 -91 189.5 -153.5t271.5 -82.5v647h-192q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h192v163q-58 34 -93 92.5t-35 128.5q0 106 75 181t181 75t181 -75t75 -181q0 -70 -35 -128.5t-93 -92.5v-163h192q26 0 45 -19 t19 -45v-128q0 -26 -19 -45t-45 -19h-192v-647q149 20 271.5 82.5t189.5 153.5l-100 100q-15 16 -7 35q8 20 30 20h352q14 0 23 -9t9 -23z" />
321
+ <glyph unicode="&#xf13e;" horiz-adv-x="1152" d="M1056 768q40 0 68 -28t28 -68v-576q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68v576q0 40 28 68t68 28h32v320q0 185 131.5 316.5t316.5 131.5t316.5 -131.5t131.5 -316.5q0 -26 -19 -45t-45 -19h-64q-26 0 -45 19t-19 45q0 106 -75 181t-181 75t-181 -75t-75 -181 v-320h736z" />
322
+ <glyph unicode="&#xf140;" d="M1024 640q0 -106 -75 -181t-181 -75t-181 75t-75 181t75 181t181 75t181 -75t75 -181zM1152 640q0 159 -112.5 271.5t-271.5 112.5t-271.5 -112.5t-112.5 -271.5t112.5 -271.5t271.5 -112.5t271.5 112.5t112.5 271.5zM1280 640q0 -212 -150 -362t-362 -150t-362 150 t-150 362t150 362t362 150t362 -150t150 -362zM1408 640q0 130 -51 248.5t-136.5 204t-204 136.5t-248.5 51t-248.5 -51t-204 -136.5t-136.5 -204t-51 -248.5t51 -248.5t136.5 -204t204 -136.5t248.5 -51t248.5 51t204 136.5t136.5 204t51 248.5zM1536 640 q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
323
+ <glyph unicode="&#xf141;" horiz-adv-x="1408" d="M384 800v-192q0 -40 -28 -68t-68 -28h-192q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h192q40 0 68 -28t28 -68zM896 800v-192q0 -40 -28 -68t-68 -28h-192q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h192q40 0 68 -28t28 -68zM1408 800v-192q0 -40 -28 -68t-68 -28h-192 q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h192q40 0 68 -28t28 -68z" />
324
+ <glyph unicode="&#xf142;" horiz-adv-x="384" d="M384 288v-192q0 -40 -28 -68t-68 -28h-192q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h192q40 0 68 -28t28 -68zM384 800v-192q0 -40 -28 -68t-68 -28h-192q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h192q40 0 68 -28t28 -68zM384 1312v-192q0 -40 -28 -68t-68 -28h-192 q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h192q40 0 68 -28t28 -68z" />
325
+ <glyph unicode="&#xf143;" d="M512 256q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM863 162q-13 232 -177 396t-396 177q-14 1 -24 -9t-10 -23v-128q0 -13 8.5 -22t21.5 -10q154 -11 264 -121t121 -264q1 -13 10 -21.5t22 -8.5h128q13 0 23 10 t9 24zM1247 161q-5 154 -56 297.5t-139.5 260t-205 205t-260 139.5t-297.5 56q-14 1 -23 -9q-10 -10 -10 -23v-128q0 -13 9 -22t22 -10q204 -7 378 -111.5t278.5 -278.5t111.5 -378q1 -13 10 -22t22 -9h128q13 0 23 10q11 9 9 23zM1536 1120v-960q0 -119 -84.5 -203.5 t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
326
+ <glyph unicode="&#xf144;" d="M768 1408q209 0 385.5 -103t279.5 -279.5t103 -385.5t-103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103zM1152 585q32 18 32 55t-32 55l-544 320q-31 19 -64 1q-32 -19 -32 -56v-640q0 -37 32 -56 q16 -8 32 -8q17 0 32 9z" />
327
+ <glyph unicode="&#xf145;" horiz-adv-x="1792" d="M1024 1084l316 -316l-572 -572l-316 316zM813 105l618 618q19 19 19 45t-19 45l-362 362q-18 18 -45 18t-45 -18l-618 -618q-19 -19 -19 -45t19 -45l362 -362q18 -18 45 -18t45 18zM1702 742l-907 -908q-37 -37 -90.5 -37t-90.5 37l-126 126q56 56 56 136t-56 136 t-136 56t-136 -56l-125 126q-37 37 -37 90.5t37 90.5l907 906q37 37 90.5 37t90.5 -37l125 -125q-56 -56 -56 -136t56 -136t136 -56t136 56l126 -125q37 -37 37 -90.5t-37 -90.5z" />
328
+ <glyph unicode="&#xf146;" d="M1280 576v128q0 26 -19 45t-45 19h-896q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h896q26 0 45 19t19 45zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5 t84.5 -203.5z" />
329
+ <glyph unicode="&#xf147;" horiz-adv-x="1408" d="M1152 736v-64q0 -14 -9 -23t-23 -9h-832q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h832q14 0 23 -9t9 -23zM1280 288v832q0 66 -47 113t-113 47h-832q-66 0 -113 -47t-47 -113v-832q0 -66 47 -113t113 -47h832q66 0 113 47t47 113zM1408 1120v-832q0 -119 -84.5 -203.5 t-203.5 -84.5h-832q-119 0 -203.5 84.5t-84.5 203.5v832q0 119 84.5 203.5t203.5 84.5h832q119 0 203.5 -84.5t84.5 -203.5z" />
330
+ <glyph unicode="&#xf148;" horiz-adv-x="1024" d="M1018 933q-18 -37 -58 -37h-192v-864q0 -14 -9 -23t-23 -9h-704q-21 0 -29 18q-8 20 4 35l160 192q9 11 25 11h320v640h-192q-40 0 -58 37q-17 37 9 68l320 384q18 22 49 22t49 -22l320 -384q27 -32 9 -68z" />
331
+ <glyph unicode="&#xf149;" horiz-adv-x="1024" d="M32 1280h704q13 0 22.5 -9.5t9.5 -23.5v-863h192q40 0 58 -37t-9 -69l-320 -384q-18 -22 -49 -22t-49 22l-320 384q-26 31 -9 69q18 37 58 37h192v640h-320q-14 0 -25 11l-160 192q-13 14 -4 34q9 19 29 19z" />
332
+ <glyph unicode="&#xf14a;" d="M685 237l614 614q19 19 19 45t-19 45l-102 102q-19 19 -45 19t-45 -19l-467 -467l-211 211q-19 19 -45 19t-45 -19l-102 -102q-19 -19 -19 -45t19 -45l358 -358q19 -19 45 -19t45 19zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5 t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
333
+ <glyph unicode="&#xf14b;" d="M404 428l152 -152l-52 -52h-56v96h-96v56zM818 818q14 -13 -3 -30l-291 -291q-17 -17 -30 -3q-14 13 3 30l291 291q17 17 30 3zM544 128l544 544l-288 288l-544 -544v-288h288zM1152 736l92 92q28 28 28 68t-28 68l-152 152q-28 28 -68 28t-68 -28l-92 -92zM1536 1120 v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
334
+ <glyph unicode="&#xf14c;" d="M1280 608v480q0 26 -19 45t-45 19h-480q-42 0 -59 -39q-17 -41 14 -70l144 -144l-534 -534q-19 -19 -19 -45t19 -45l102 -102q19 -19 45 -19t45 19l534 534l144 -144q18 -19 45 -19q12 0 25 5q39 17 39 59zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960 q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
335
+ <glyph unicode="&#xf14d;" d="M1005 435l352 352q19 19 19 45t-19 45l-352 352q-30 31 -69 14q-40 -17 -40 -59v-160q-119 0 -216 -19.5t-162.5 -51t-114 -79t-76.5 -95.5t-44.5 -109t-21.5 -111.5t-5 -110.5q0 -181 167 -404q10 -12 25 -12q7 0 13 3q22 9 19 33q-44 354 62 473q46 52 130 75.5 t224 23.5v-160q0 -42 40 -59q12 -5 24 -5q26 0 45 19zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
336
+ <glyph unicode="&#xf14e;" d="M640 448l256 128l-256 128v-256zM1024 1039v-542l-512 -256v542zM1312 640q0 148 -73 273t-198 198t-273 73t-273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103 t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
337
+ <glyph unicode="&#xf150;" d="M1145 861q18 -35 -5 -66l-320 -448q-19 -27 -52 -27t-52 27l-320 448q-23 31 -5 66q17 35 57 35h640q40 0 57 -35zM1280 160v960q0 13 -9.5 22.5t-22.5 9.5h-960q-13 0 -22.5 -9.5t-9.5 -22.5v-960q0 -13 9.5 -22.5t22.5 -9.5h960q13 0 22.5 9.5t9.5 22.5zM1536 1120 v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
338
+ <glyph unicode="&#xf151;" d="M1145 419q-17 -35 -57 -35h-640q-40 0 -57 35q-18 35 5 66l320 448q19 27 52 27t52 -27l320 -448q23 -31 5 -66zM1280 160v960q0 13 -9.5 22.5t-22.5 9.5h-960q-13 0 -22.5 -9.5t-9.5 -22.5v-960q0 -13 9.5 -22.5t22.5 -9.5h960q13 0 22.5 9.5t9.5 22.5zM1536 1120v-960 q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
339
+ <glyph unicode="&#xf152;" d="M1088 640q0 -33 -27 -52l-448 -320q-31 -23 -66 -5q-35 17 -35 57v640q0 40 35 57q35 18 66 -5l448 -320q27 -19 27 -52zM1280 160v960q0 14 -9 23t-23 9h-960q-14 0 -23 -9t-9 -23v-960q0 -14 9 -23t23 -9h960q14 0 23 9t9 23zM1536 1120v-960q0 -119 -84.5 -203.5 t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
340
+ <glyph unicode="&#xf153;" horiz-adv-x="1024" d="M976 229l35 -159q3 -12 -3 -22.5t-17 -14.5l-5 -1q-4 -2 -10.5 -3.5t-16 -4.5t-21.5 -5.5t-25.5 -5t-30 -5t-33.5 -4.5t-36.5 -3t-38.5 -1q-234 0 -409 130.5t-238 351.5h-95q-13 0 -22.5 9.5t-9.5 22.5v113q0 13 9.5 22.5t22.5 9.5h66q-2 57 1 105h-67q-14 0 -23 9 t-9 23v114q0 14 9 23t23 9h98q67 210 243.5 338t400.5 128q102 0 194 -23q11 -3 20 -15q6 -11 3 -24l-43 -159q-3 -13 -14 -19.5t-24 -2.5l-4 1q-4 1 -11.5 2.5l-17.5 3.5t-22.5 3.5t-26 3t-29 2.5t-29.5 1q-126 0 -226 -64t-150 -176h468q16 0 25 -12q10 -12 7 -26 l-24 -114q-5 -26 -32 -26h-488q-3 -37 0 -105h459q15 0 25 -12q9 -12 6 -27l-24 -112q-2 -11 -11 -18.5t-20 -7.5h-387q48 -117 149.5 -185.5t228.5 -68.5q18 0 36 1.5t33.5 3.5t29.5 4.5t24.5 5t18.5 4.5l12 3l5 2q13 5 26 -2q12 -7 15 -21z" />
341
+ <glyph unicode="&#xf154;" horiz-adv-x="1024" d="M1020 399v-367q0 -14 -9 -23t-23 -9h-956q-14 0 -23 9t-9 23v150q0 13 9.5 22.5t22.5 9.5h97v383h-95q-14 0 -23 9.5t-9 22.5v131q0 14 9 23t23 9h95v223q0 171 123.5 282t314.5 111q185 0 335 -125q9 -8 10 -20.5t-7 -22.5l-103 -127q-9 -11 -22 -12q-13 -2 -23 7 q-5 5 -26 19t-69 32t-93 18q-85 0 -137 -47t-52 -123v-215h305q13 0 22.5 -9t9.5 -23v-131q0 -13 -9.5 -22.5t-22.5 -9.5h-305v-379h414v181q0 13 9 22.5t23 9.5h162q14 0 23 -9.5t9 -22.5z" />
342
+ <glyph unicode="&#xf155;" horiz-adv-x="1024" d="M978 351q0 -153 -99.5 -263.5t-258.5 -136.5v-175q0 -14 -9 -23t-23 -9h-135q-13 0 -22.5 9.5t-9.5 22.5v175q-66 9 -127.5 31t-101.5 44.5t-74 48t-46.5 37.5t-17.5 18q-17 21 -2 41l103 135q7 10 23 12q15 2 24 -9l2 -2q113 -99 243 -125q37 -8 74 -8q81 0 142.5 43 t61.5 122q0 28 -15 53t-33.5 42t-58.5 37.5t-66 32t-80 32.5q-39 16 -61.5 25t-61.5 26.5t-62.5 31t-56.5 35.5t-53.5 42.5t-43.5 49t-35.5 58t-21 66.5t-8.5 78q0 138 98 242t255 134v180q0 13 9.5 22.5t22.5 9.5h135q14 0 23 -9t9 -23v-176q57 -6 110.5 -23t87 -33.5 t63.5 -37.5t39 -29t15 -14q17 -18 5 -38l-81 -146q-8 -15 -23 -16q-14 -3 -27 7q-3 3 -14.5 12t-39 26.5t-58.5 32t-74.5 26t-85.5 11.5q-95 0 -155 -43t-60 -111q0 -26 8.5 -48t29.5 -41.5t39.5 -33t56 -31t60.5 -27t70 -27.5q53 -20 81 -31.5t76 -35t75.5 -42.5t62 -50 t53 -63.5t31.5 -76.5t13 -94z" />
343
+ <glyph unicode="&#xf156;" horiz-adv-x="898" d="M898 1066v-102q0 -14 -9 -23t-23 -9h-168q-23 -144 -129 -234t-276 -110q167 -178 459 -536q14 -16 4 -34q-8 -18 -29 -18h-195q-16 0 -25 12q-306 367 -498 571q-9 9 -9 22v127q0 13 9.5 22.5t22.5 9.5h112q132 0 212.5 43t102.5 125h-427q-14 0 -23 9t-9 23v102 q0 14 9 23t23 9h413q-57 113 -268 113h-145q-13 0 -22.5 9.5t-9.5 22.5v133q0 14 9 23t23 9h832q14 0 23 -9t9 -23v-102q0 -14 -9 -23t-23 -9h-233q47 -61 64 -144h171q14 0 23 -9t9 -23z" />
344
+ <glyph unicode="&#xf157;" horiz-adv-x="1027" d="M603 0h-172q-13 0 -22.5 9t-9.5 23v330h-288q-13 0 -22.5 9t-9.5 23v103q0 13 9.5 22.5t22.5 9.5h288v85h-288q-13 0 -22.5 9t-9.5 23v104q0 13 9.5 22.5t22.5 9.5h214l-321 578q-8 16 0 32q10 16 28 16h194q19 0 29 -18l215 -425q19 -38 56 -125q10 24 30.5 68t27.5 61 l191 420q8 19 29 19h191q17 0 27 -16q9 -14 1 -31l-313 -579h215q13 0 22.5 -9.5t9.5 -22.5v-104q0 -14 -9.5 -23t-22.5 -9h-290v-85h290q13 0 22.5 -9.5t9.5 -22.5v-103q0 -14 -9.5 -23t-22.5 -9h-290v-330q0 -13 -9.5 -22.5t-22.5 -9.5z" />
345
+ <glyph unicode="&#xf158;" horiz-adv-x="1280" d="M1043 971q0 100 -65 162t-171 62h-320v-448h320q106 0 171 62t65 162zM1280 971q0 -193 -126.5 -315t-326.5 -122h-340v-118h505q14 0 23 -9t9 -23v-128q0 -14 -9 -23t-23 -9h-505v-192q0 -14 -9.5 -23t-22.5 -9h-167q-14 0 -23 9t-9 23v192h-224q-14 0 -23 9t-9 23v128 q0 14 9 23t23 9h224v118h-224q-14 0 -23 9t-9 23v149q0 13 9 22.5t23 9.5h224v629q0 14 9 23t23 9h539q200 0 326.5 -122t126.5 -315z" />
346
+ <glyph unicode="&#xf159;" horiz-adv-x="1792" d="M514 341l81 299h-159l75 -300q1 -1 1 -3t1 -3q0 1 0.5 3.5t0.5 3.5zM630 768l35 128h-292l32 -128h225zM822 768h139l-35 128h-70zM1271 340l78 300h-162l81 -299q0 -1 0.5 -3.5t1.5 -3.5q0 1 0.5 3t0.5 3zM1382 768l33 128h-297l34 -128h230zM1792 736v-64q0 -14 -9 -23 t-23 -9h-213l-164 -616q-7 -24 -31 -24h-159q-24 0 -31 24l-166 616h-209l-167 -616q-7 -24 -31 -24h-159q-11 0 -19.5 7t-10.5 17l-160 616h-208q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h175l-33 128h-142q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h109l-89 344q-5 15 5 28 q10 12 26 12h137q26 0 31 -24l90 -360h359l97 360q7 24 31 24h126q24 0 31 -24l98 -360h365l93 360q5 24 31 24h137q16 0 26 -12q10 -13 5 -28l-91 -344h111q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-145l-34 -128h179q14 0 23 -9t9 -23z" />
347
+ <glyph unicode="&#xf15a;" horiz-adv-x="1280" d="M1167 896q18 -182 -131 -258q117 -28 175 -103t45 -214q-7 -71 -32.5 -125t-64.5 -89t-97 -58.5t-121.5 -34.5t-145.5 -15v-255h-154v251q-80 0 -122 1v-252h-154v255q-18 0 -54 0.5t-55 0.5h-200l31 183h111q50 0 58 51v402h16q-6 1 -16 1v287q-13 68 -89 68h-111v164 l212 -1q64 0 97 1v252h154v-247q82 2 122 2v245h154v-252q79 -7 140 -22.5t113 -45t82.5 -78t36.5 -114.5zM952 351q0 36 -15 64t-37 46t-57.5 30.5t-65.5 18.5t-74 9t-69 3t-64.5 -1t-47.5 -1v-338q8 0 37 -0.5t48 -0.5t53 1.5t58.5 4t57 8.5t55.5 14t47.5 21t39.5 30 t24.5 40t9.5 51zM881 827q0 33 -12.5 58.5t-30.5 42t-48 28t-55 16.5t-61.5 8t-58 2.5t-54 -1t-39.5 -0.5v-307q5 0 34.5 -0.5t46.5 0t50 2t55 5.5t51.5 11t48.5 18.5t37 27t27 38.5t9 51z" />
348
+ <glyph unicode="&#xf15b;" horiz-adv-x="1280" d="M1280 768v-800q0 -40 -28 -68t-68 -28h-1088q-40 0 -68 28t-28 68v1344q0 40 28 68t68 28h544v-544q0 -40 28 -68t68 -28h544zM1277 896h-509v509q82 -15 132 -65l312 -312q50 -50 65 -132z" />
349
+ <glyph unicode="&#xf15c;" horiz-adv-x="1280" d="M1024 160v64q0 14 -9 23t-23 9h-704q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h704q14 0 23 9t9 23zM1024 416v64q0 14 -9 23t-23 9h-704q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h704q14 0 23 9t9 23zM1280 768v-800q0 -40 -28 -68t-68 -28h-1088q-40 0 -68 28 t-28 68v1344q0 40 28 68t68 28h544v-544q0 -40 28 -68t68 -28h544zM1277 896h-509v509q82 -15 132 -65l312 -312q50 -50 65 -132z" />
350
+ <glyph unicode="&#xf15d;" horiz-adv-x="1664" d="M1191 1128h177l-72 218l-12 47q-2 16 -2 20h-4l-3 -20q0 -1 -3.5 -18t-7.5 -29zM736 96q0 -12 -10 -24l-319 -319q-10 -9 -23 -9q-12 0 -23 9l-320 320q-15 16 -7 35q8 20 30 20h192v1376q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-1376h192q14 0 23 -9t9 -23zM1572 -23 v-233h-584v90l369 529q12 18 21 27l11 9v3q-2 0 -6.5 -0.5t-7.5 -0.5q-12 -3 -30 -3h-232v-115h-120v229h567v-89l-369 -530q-6 -8 -21 -26l-11 -11v-2l14 2q9 2 30 2h248v119h121zM1661 874v-106h-288v106h75l-47 144h-243l-47 -144h75v-106h-287v106h70l230 662h162 l230 -662h70z" />
351
+ <glyph unicode="&#xf15e;" horiz-adv-x="1664" d="M1191 104h177l-72 218l-12 47q-2 16 -2 20h-4l-3 -20q0 -1 -3.5 -18t-7.5 -29zM736 96q0 -12 -10 -24l-319 -319q-10 -9 -23 -9q-12 0 -23 9l-320 320q-15 16 -7 35q8 20 30 20h192v1376q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-1376h192q14 0 23 -9t9 -23zM1661 -150 v-106h-288v106h75l-47 144h-243l-47 -144h75v-106h-287v106h70l230 662h162l230 -662h70zM1572 1001v-233h-584v90l369 529q12 18 21 27l11 9v3q-2 0 -6.5 -0.5t-7.5 -0.5q-12 -3 -30 -3h-232v-115h-120v229h567v-89l-369 -530q-6 -8 -21 -26l-11 -10v-3l14 3q9 1 30 1h248 v119h121z" />
352
+ <glyph unicode="&#xf160;" horiz-adv-x="1792" d="M736 96q0 -12 -10 -24l-319 -319q-10 -9 -23 -9q-12 0 -23 9l-320 320q-15 16 -7 35q8 20 30 20h192v1376q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-1376h192q14 0 23 -9t9 -23zM1792 -32v-192q0 -14 -9 -23t-23 -9h-832q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h832 q14 0 23 -9t9 -23zM1600 480v-192q0 -14 -9 -23t-23 -9h-640q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h640q14 0 23 -9t9 -23zM1408 992v-192q0 -14 -9 -23t-23 -9h-448q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h448q14 0 23 -9t9 -23zM1216 1504v-192q0 -14 -9 -23t-23 -9h-256 q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h256q14 0 23 -9t9 -23z" />
353
+ <glyph unicode="&#xf161;" horiz-adv-x="1792" d="M1216 -32v-192q0 -14 -9 -23t-23 -9h-256q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h256q14 0 23 -9t9 -23zM736 96q0 -12 -10 -24l-319 -319q-10 -9 -23 -9q-12 0 -23 9l-320 320q-15 16 -7 35q8 20 30 20h192v1376q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-1376h192 q14 0 23 -9t9 -23zM1408 480v-192q0 -14 -9 -23t-23 -9h-448q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h448q14 0 23 -9t9 -23zM1600 992v-192q0 -14 -9 -23t-23 -9h-640q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h640q14 0 23 -9t9 -23zM1792 1504v-192q0 -14 -9 -23t-23 -9h-832 q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h832q14 0 23 -9t9 -23z" />
354
+ <glyph unicode="&#xf162;" d="M1346 223q0 63 -44 116t-103 53q-52 0 -83 -37t-31 -94t36.5 -95t104.5 -38q50 0 85 27t35 68zM736 96q0 -12 -10 -24l-319 -319q-10 -9 -23 -9q-12 0 -23 9l-320 320q-15 16 -7 35q8 20 30 20h192v1376q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-1376h192q14 0 23 -9t9 -23 zM1486 165q0 -62 -13 -121.5t-41 -114t-68 -95.5t-98.5 -65.5t-127.5 -24.5q-62 0 -108 16q-24 8 -42 15l39 113q15 -7 31 -11q37 -13 75 -13q84 0 134.5 58.5t66.5 145.5h-2q-21 -23 -61.5 -37t-84.5 -14q-106 0 -173 71.5t-67 172.5q0 105 72 178t181 73q123 0 205 -94.5 t82 -252.5zM1456 882v-114h-469v114h167v432q0 7 0.5 19t0.5 17v16h-2l-7 -12q-8 -13 -26 -31l-62 -58l-82 86l192 185h123v-654h165z" />
355
+ <glyph unicode="&#xf163;" d="M1346 1247q0 63 -44 116t-103 53q-52 0 -83 -37t-31 -94t36.5 -95t104.5 -38q50 0 85 27t35 68zM736 96q0 -12 -10 -24l-319 -319q-10 -9 -23 -9q-12 0 -23 9l-320 320q-15 16 -7 35q8 20 30 20h192v1376q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-1376h192q14 0 23 -9 t9 -23zM1456 -142v-114h-469v114h167v432q0 7 0.5 19t0.5 17v16h-2l-7 -12q-8 -13 -26 -31l-62 -58l-82 86l192 185h123v-654h165zM1486 1189q0 -62 -13 -121.5t-41 -114t-68 -95.5t-98.5 -65.5t-127.5 -24.5q-62 0 -108 16q-24 8 -42 15l39 113q15 -7 31 -11q37 -13 75 -13 q84 0 134.5 58.5t66.5 145.5h-2q-21 -23 -61.5 -37t-84.5 -14q-106 0 -173 71.5t-67 172.5q0 105 72 178t181 73q123 0 205 -94.5t82 -252.5z" />
356
+ <glyph unicode="&#xf164;" horiz-adv-x="1664" d="M256 192q0 26 -19 45t-45 19q-27 0 -45.5 -19t-18.5 -45q0 -27 18.5 -45.5t45.5 -18.5q26 0 45 18.5t19 45.5zM416 704v-640q0 -26 -19 -45t-45 -19h-288q-26 0 -45 19t-19 45v640q0 26 19 45t45 19h288q26 0 45 -19t19 -45zM1600 704q0 -86 -55 -149q15 -44 15 -76 q3 -76 -43 -137q17 -56 0 -117q-15 -57 -54 -94q9 -112 -49 -181q-64 -76 -197 -78h-36h-76h-17q-66 0 -144 15.5t-121.5 29t-120.5 39.5q-123 43 -158 44q-26 1 -45 19.5t-19 44.5v641q0 25 18 43.5t43 20.5q24 2 76 59t101 121q68 87 101 120q18 18 31 48t17.5 48.5 t13.5 60.5q7 39 12.5 61t19.5 52t34 50q19 19 45 19q46 0 82.5 -10.5t60 -26t40 -40.5t24 -45t12 -50t5 -45t0.5 -39q0 -38 -9.5 -76t-19 -60t-27.5 -56q-3 -6 -10 -18t-11 -22t-8 -24h277q78 0 135 -57t57 -135z" />
357
+ <glyph unicode="&#xf165;" horiz-adv-x="1664" d="M256 960q0 -26 -19 -45t-45 -19q-27 0 -45.5 19t-18.5 45q0 27 18.5 45.5t45.5 18.5q26 0 45 -18.5t19 -45.5zM416 448v640q0 26 -19 45t-45 19h-288q-26 0 -45 -19t-19 -45v-640q0 -26 19 -45t45 -19h288q26 0 45 19t19 45zM1545 597q55 -61 55 -149q-1 -78 -57.5 -135 t-134.5 -57h-277q4 -14 8 -24t11 -22t10 -18q18 -37 27 -57t19 -58.5t10 -76.5q0 -24 -0.5 -39t-5 -45t-12 -50t-24 -45t-40 -40.5t-60 -26t-82.5 -10.5q-26 0 -45 19q-20 20 -34 50t-19.5 52t-12.5 61q-9 42 -13.5 60.5t-17.5 48.5t-31 48q-33 33 -101 120q-49 64 -101 121 t-76 59q-25 2 -43 20.5t-18 43.5v641q0 26 19 44.5t45 19.5q35 1 158 44q77 26 120.5 39.5t121.5 29t144 15.5h17h76h36q133 -2 197 -78q58 -69 49 -181q39 -37 54 -94q17 -61 0 -117q46 -61 43 -137q0 -32 -15 -76z" />
358
+ <glyph unicode="&#xf166;" d="M919 233v157q0 50 -29 50q-17 0 -33 -16v-224q16 -16 33 -16q29 0 29 49zM1103 355h66v34q0 51 -33 51t-33 -51v-34zM532 621v-70h-80v-423h-74v423h-78v70h232zM733 495v-367h-67v40q-39 -45 -76 -45q-33 0 -42 28q-6 16 -6 54v290h66v-270q0 -24 1 -26q1 -15 15 -15 q20 0 42 31v280h67zM985 384v-146q0 -52 -7 -73q-12 -42 -53 -42q-35 0 -68 41v-36h-67v493h67v-161q32 40 68 40q41 0 53 -42q7 -21 7 -74zM1236 255v-9q0 -29 -2 -43q-3 -22 -15 -40q-27 -40 -80 -40q-52 0 -81 38q-21 27 -21 86v129q0 59 20 86q29 38 80 38t78 -38 q21 -28 21 -86v-76h-133v-65q0 -51 34 -51q24 0 30 26q0 1 0.5 7t0.5 16.5v21.5h68zM785 1079v-156q0 -51 -32 -51t-32 51v156q0 52 32 52t32 -52zM1318 366q0 177 -19 260q-10 44 -43 73.5t-76 34.5q-136 15 -412 15q-275 0 -411 -15q-44 -5 -76.5 -34.5t-42.5 -73.5 q-20 -87 -20 -260q0 -176 20 -260q10 -43 42.5 -73t75.5 -35q137 -15 412 -15t412 15q43 5 75.5 35t42.5 73q20 84 20 260zM563 1017l90 296h-75l-51 -195l-53 195h-78l24 -69t23 -69q35 -103 46 -158v-201h74v201zM852 936v130q0 58 -21 87q-29 38 -78 38q-51 0 -78 -38 q-21 -29 -21 -87v-130q0 -58 21 -87q27 -38 78 -38q49 0 78 38q21 27 21 87zM1033 816h67v370h-67v-283q-22 -31 -42 -31q-15 0 -16 16q-1 2 -1 26v272h-67v-293q0 -37 6 -55q11 -27 43 -27q36 0 77 45v-40zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960 q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
359
+ <glyph unicode="&#xf167;" d="M971 292v-211q0 -67 -39 -67q-23 0 -45 22v301q22 22 45 22q39 0 39 -67zM1309 291v-46h-90v46q0 68 45 68t45 -68zM343 509h107v94h-312v-94h105v-569h100v569zM631 -60h89v494h-89v-378q-30 -42 -57 -42q-18 0 -21 21q-1 3 -1 35v364h-89v-391q0 -49 8 -73 q12 -37 58 -37q48 0 102 61v-54zM1060 88v197q0 73 -9 99q-17 56 -71 56q-50 0 -93 -54v217h-89v-663h89v48q45 -55 93 -55q54 0 71 55q9 27 9 100zM1398 98v13h-91q0 -51 -2 -61q-7 -36 -40 -36q-46 0 -46 69v87h179v103q0 79 -27 116q-39 51 -106 51q-68 0 -107 -51 q-28 -37 -28 -116v-173q0 -79 29 -116q39 -51 108 -51q72 0 108 53q18 27 21 54q2 9 2 58zM790 1011v210q0 69 -43 69t-43 -69v-210q0 -70 43 -70t43 70zM1509 260q0 -234 -26 -350q-14 -59 -58 -99t-102 -46q-184 -21 -555 -21t-555 21q-58 6 -102.5 46t-57.5 99 q-26 112 -26 350q0 234 26 350q14 59 58 99t103 47q183 20 554 20t555 -20q58 -7 102.5 -47t57.5 -99q26 -112 26 -350zM511 1536h102l-121 -399v-271h-100v271q-14 74 -61 212q-37 103 -65 187h106l71 -263zM881 1203v-175q0 -81 -28 -118q-37 -51 -106 -51q-67 0 -105 51 q-28 38 -28 118v175q0 80 28 117q38 51 105 51q69 0 106 -51q28 -37 28 -117zM1216 1365v-499h-91v55q-53 -62 -103 -62q-46 0 -59 37q-8 24 -8 75v394h91v-367q0 -33 1 -35q3 -22 21 -22q27 0 57 43v381h91z" />
360
+ <glyph unicode="&#xf168;" horiz-adv-x="1408" d="M597 869q-10 -18 -257 -456q-27 -46 -65 -46h-239q-21 0 -31 17t0 36l253 448q1 0 0 1l-161 279q-12 22 -1 37q9 15 32 15h239q40 0 66 -45zM1403 1511q11 -16 0 -37l-528 -934v-1l336 -615q11 -20 1 -37q-10 -15 -32 -15h-239q-42 0 -66 45l-339 622q18 32 531 942 q25 45 64 45h241q22 0 31 -15z" />
361
+ <glyph unicode="&#xf169;" d="M685 771q0 1 -126 222q-21 34 -52 34h-184q-18 0 -26 -11q-7 -12 1 -29l125 -216v-1l-196 -346q-9 -14 0 -28q8 -13 24 -13h185q31 0 50 36zM1309 1268q-7 12 -24 12h-187q-30 0 -49 -35l-411 -729q1 -2 262 -481q20 -35 52 -35h184q18 0 25 12q8 13 -1 28l-260 476v1 l409 723q8 16 0 28zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
362
+ <glyph unicode="&#xf16a;" horiz-adv-x="1792" d="M1280 640q0 37 -30 54l-512 320q-31 20 -65 2q-33 -18 -33 -56v-640q0 -38 33 -56q16 -8 31 -8q20 0 34 10l512 320q30 17 30 54zM1792 640q0 -96 -1 -150t-8.5 -136.5t-22.5 -147.5q-16 -73 -69 -123t-124 -58q-222 -25 -671 -25t-671 25q-71 8 -124.5 58t-69.5 123 q-14 65 -21.5 147.5t-8.5 136.5t-1 150t1 150t8.5 136.5t22.5 147.5q16 73 69 123t124 58q222 25 671 25t671 -25q71 -8 124.5 -58t69.5 -123q14 -65 21.5 -147.5t8.5 -136.5t1 -150z" />
363
+ <glyph unicode="&#xf16b;" horiz-adv-x="1792" d="M402 829l494 -305l-342 -285l-490 319zM1388 274v-108l-490 -293v-1l-1 1l-1 -1v1l-489 293v108l147 -96l342 284v2l1 -1l1 1v-2l343 -284zM554 1418l342 -285l-494 -304l-338 270zM1390 829l338 -271l-489 -319l-343 285zM1239 1418l489 -319l-338 -270l-494 304z" />
364
+ <glyph unicode="&#xf16c;" horiz-adv-x="1408" d="M928 135v-151l-707 -1v151zM1169 481v-701l-1 -35v-1h-1132l-35 1h-1v736h121v-618h928v618h120zM241 393l704 -65l-13 -150l-705 65zM309 709l683 -183l-39 -146l-683 183zM472 1058l609 -360l-77 -130l-609 360zM832 1389l398 -585l-124 -85l-399 584zM1285 1536 l121 -697l-149 -26l-121 697z" />
365
+ <glyph unicode="&#xf16d;" d="M1362 110v648h-135q20 -63 20 -131q0 -126 -64 -232.5t-174 -168.5t-240 -62q-197 0 -337 135.5t-140 327.5q0 68 20 131h-141v-648q0 -26 17.5 -43.5t43.5 -17.5h1069q25 0 43 17.5t18 43.5zM1078 643q0 124 -90.5 211.5t-218.5 87.5q-127 0 -217.5 -87.5t-90.5 -211.5 t90.5 -211.5t217.5 -87.5q128 0 218.5 87.5t90.5 211.5zM1362 1003v165q0 28 -20 48.5t-49 20.5h-174q-29 0 -49 -20.5t-20 -48.5v-165q0 -29 20 -49t49 -20h174q29 0 49 20t20 49zM1536 1211v-1142q0 -81 -58 -139t-139 -58h-1142q-81 0 -139 58t-58 139v1142q0 81 58 139 t139 58h1142q81 0 139 -58t58 -139z" />
366
+ <glyph unicode="&#xf16e;" d="M1248 1408q119 0 203.5 -84.5t84.5 -203.5v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960zM698 640q0 88 -62 150t-150 62t-150 -62t-62 -150t62 -150t150 -62t150 62t62 150zM1262 640q0 88 -62 150 t-150 62t-150 -62t-62 -150t62 -150t150 -62t150 62t62 150z" />
367
+ <glyph unicode="&#xf170;" d="M768 914l201 -306h-402zM1133 384h94l-459 691l-459 -691h94l104 160h522zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
368
+ <glyph unicode="&#xf171;" horiz-adv-x="1408" d="M815 677q8 -63 -50.5 -101t-111.5 -6q-39 17 -53.5 58t-0.5 82t52 58q36 18 72.5 12t64 -35.5t27.5 -67.5zM926 698q-14 107 -113 164t-197 13q-63 -28 -100.5 -88.5t-34.5 -129.5q4 -91 77.5 -155t165.5 -56q91 8 152 84t50 168zM1165 1240q-20 27 -56 44.5t-58 22 t-71 12.5q-291 47 -566 -2q-43 -7 -66 -12t-55 -22t-50 -43q30 -28 76 -45.5t73.5 -22t87.5 -11.5q228 -29 448 -1q63 8 89.5 12t72.5 21.5t75 46.5zM1222 205q-8 -26 -15.5 -76.5t-14 -84t-28.5 -70t-58 -56.5q-86 -48 -189.5 -71.5t-202 -22t-201.5 18.5q-46 8 -81.5 18 t-76.5 27t-73 43.5t-52 61.5q-25 96 -57 292l6 16l18 9q223 -148 506.5 -148t507.5 148q21 -6 24 -23t-5 -45t-8 -37zM1403 1166q-26 -167 -111 -655q-5 -30 -27 -56t-43.5 -40t-54.5 -31q-252 -126 -610 -88q-248 27 -394 139q-15 12 -25.5 26.5t-17 35t-9 34t-6 39.5 t-5.5 35q-9 50 -26.5 150t-28 161.5t-23.5 147.5t-22 158q3 26 17.5 48.5t31.5 37.5t45 30t46 22.5t48 18.5q125 46 313 64q379 37 676 -50q155 -46 215 -122q16 -20 16.5 -51t-5.5 -54z" />
369
+ <glyph unicode="&#xf172;" d="M848 666q0 43 -41 66t-77 1q-43 -20 -42.5 -72.5t43.5 -70.5q39 -23 81 4t36 72zM928 682q8 -66 -36 -121t-110 -61t-119 40t-56 113q-2 49 25.5 93t72.5 64q70 31 141.5 -10t81.5 -118zM1100 1073q-20 -21 -53.5 -34t-53 -16t-63.5 -8q-155 -20 -324 0q-44 6 -63 9.5 t-52.5 16t-54.5 32.5q13 19 36 31t40 15.5t47 8.5q198 35 408 1q33 -5 51 -8.5t43 -16t39 -31.5zM1142 327q0 7 5.5 26.5t3 32t-17.5 16.5q-161 -106 -365 -106t-366 106l-12 -6l-5 -12q26 -154 41 -210q47 -81 204 -108q249 -46 428 53q34 19 49 51.5t22.5 85.5t12.5 71z M1272 1020q9 53 -8 75q-43 55 -155 88q-216 63 -487 36q-132 -12 -226 -46q-38 -15 -59.5 -25t-47 -34t-29.5 -54q8 -68 19 -138t29 -171t24 -137q1 -5 5 -31t7 -36t12 -27t22 -28q105 -80 284 -100q259 -28 440 63q24 13 39.5 23t31 29t19.5 40q48 267 80 473zM1536 1120 v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
370
+ <glyph unicode="&#xf173;" horiz-adv-x="1024" d="M390 1408h219v-388h364v-241h-364v-394q0 -136 14 -172q13 -37 52 -60q50 -31 117 -31q117 0 232 76v-242q-102 -48 -178 -65q-77 -19 -173 -19q-105 0 -186 27q-78 25 -138 75q-58 51 -79 105q-22 54 -22 161v539h-170v217q91 30 155 84q64 55 103 132q39 78 54 196z " />
371
+ <glyph unicode="&#xf174;" d="M1123 127v181q-88 -56 -174 -56q-51 0 -88 23q-29 17 -39 45q-11 30 -11 129v295h274v181h-274v291h-164q-11 -90 -40 -147t-78 -99q-48 -40 -116 -63v-163h127v-404q0 -78 17 -121q17 -42 59 -78q43 -37 104 -57q62 -20 140 -20q67 0 129 14q57 13 134 49zM1536 1120 v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
372
+ <glyph unicode="&#xf175;" horiz-adv-x="768" d="M765 237q8 -19 -5 -35l-350 -384q-10 -10 -23 -10q-14 0 -24 10l-355 384q-13 16 -5 35q9 19 29 19h224v1248q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-1248h224q21 0 29 -19z" />
373
+ <glyph unicode="&#xf176;" horiz-adv-x="768" d="M765 1043q-9 -19 -29 -19h-224v-1248q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v1248h-224q-21 0 -29 19t5 35l350 384q10 10 23 10q14 0 24 -10l355 -384q13 -16 5 -35z" />
374
+ <glyph unicode="&#xf177;" horiz-adv-x="1792" d="M1792 736v-192q0 -14 -9 -23t-23 -9h-1248v-224q0 -21 -19 -29t-35 5l-384 350q-10 10 -10 23q0 14 10 24l384 354q16 14 35 6q19 -9 19 -29v-224h1248q14 0 23 -9t9 -23z" />
375
+ <glyph unicode="&#xf178;" horiz-adv-x="1792" d="M1728 643q0 -14 -10 -24l-384 -354q-16 -14 -35 -6q-19 9 -19 29v224h-1248q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h1248v224q0 21 19 29t35 -5l384 -350q10 -10 10 -23z" />
376
+ <glyph unicode="&#xf179;" horiz-adv-x="1408" d="M1393 321q-39 -125 -123 -250q-129 -196 -257 -196q-49 0 -140 32q-86 32 -151 32q-61 0 -142 -33q-81 -34 -132 -34q-152 0 -301 259q-147 261 -147 503q0 228 113 374q112 144 284 144q72 0 177 -30q104 -30 138 -30q45 0 143 34q102 34 173 34q119 0 213 -65 q52 -36 104 -100q-79 -67 -114 -118q-65 -94 -65 -207q0 -124 69 -223t158 -126zM1017 1494q0 -61 -29 -136q-30 -75 -93 -138q-54 -54 -108 -72q-37 -11 -104 -17q3 149 78 257q74 107 250 148q1 -3 2.5 -11t2.5 -11q0 -4 0.5 -10t0.5 -10z" />
377
+ <glyph unicode="&#xf17a;" horiz-adv-x="1664" d="M682 530v-651l-682 94v557h682zM682 1273v-659h-682v565zM1664 530v-786l-907 125v661h907zM1664 1408v-794h-907v669z" />
378
+ <glyph unicode="&#xf17b;" horiz-adv-x="1408" d="M493 1053q16 0 27.5 11.5t11.5 27.5t-11.5 27.5t-27.5 11.5t-27 -11.5t-11 -27.5t11 -27.5t27 -11.5zM915 1053q16 0 27 11.5t11 27.5t-11 27.5t-27 11.5t-27.5 -11.5t-11.5 -27.5t11.5 -27.5t27.5 -11.5zM103 869q42 0 72 -30t30 -72v-430q0 -43 -29.5 -73t-72.5 -30 t-73 30t-30 73v430q0 42 30 72t73 30zM1163 850v-666q0 -46 -32 -78t-77 -32h-75v-227q0 -43 -30 -73t-73 -30t-73 30t-30 73v227h-138v-227q0 -43 -30 -73t-73 -30q-42 0 -72 30t-30 73l-1 227h-74q-46 0 -78 32t-32 78v666h918zM931 1255q107 -55 171 -153.5t64 -215.5 h-925q0 117 64 215.5t172 153.5l-71 131q-7 13 5 20q13 6 20 -6l72 -132q95 42 201 42t201 -42l72 132q7 12 20 6q12 -7 5 -20zM1408 767v-430q0 -43 -30 -73t-73 -30q-42 0 -72 30t-30 73v430q0 43 30 72.5t72 29.5q43 0 73 -29.5t30 -72.5z" />
379
+ <glyph unicode="&#xf17c;" d="M663 1125q-11 -1 -15.5 -10.5t-8.5 -9.5q-5 -1 -5 5q0 12 19 15h10zM750 1111q-4 -1 -11.5 6.5t-17.5 4.5q24 11 32 -2q3 -6 -3 -9zM399 684q-4 1 -6 -3t-4.5 -12.5t-5.5 -13.5t-10 -13q-7 -10 -1 -12q4 -1 12.5 7t12.5 18q1 3 2 7t2 6t1.5 4.5t0.5 4v3t-1 2.5t-3 2z M1254 325q0 18 -55 42q4 15 7.5 27.5t5 26t3 21.5t0.5 22.5t-1 19.5t-3.5 22t-4 20.5t-5 25t-5.5 26.5q-10 48 -47 103t-72 75q24 -20 57 -83q87 -162 54 -278q-11 -40 -50 -42q-31 -4 -38.5 18.5t-8 83.5t-11.5 107q-9 39 -19.5 69t-19.5 45.5t-15.5 24.5t-13 15t-7.5 7 q-14 62 -31 103t-29.5 56t-23.5 33t-15 40q-4 21 6 53.5t4.5 49.5t-44.5 25q-15 3 -44.5 18t-35.5 16q-8 1 -11 26t8 51t36 27q37 3 51 -30t4 -58q-11 -19 -2 -26.5t30 -0.5q13 4 13 36v37q-5 30 -13.5 50t-21 30.5t-23.5 15t-27 7.5q-107 -8 -89 -134q0 -15 -1 -15 q-9 9 -29.5 10.5t-33 -0.5t-15.5 5q1 57 -16 90t-45 34q-27 1 -41.5 -27.5t-16.5 -59.5q-1 -15 3.5 -37t13 -37.5t15.5 -13.5q10 3 16 14q4 9 -7 8q-7 0 -15.5 14.5t-9.5 33.5q-1 22 9 37t34 14q17 0 27 -21t9.5 -39t-1.5 -22q-22 -15 -31 -29q-8 -12 -27.5 -23.5 t-20.5 -12.5q-13 -14 -15.5 -27t7.5 -18q14 -8 25 -19.5t16 -19t18.5 -13t35.5 -6.5q47 -2 102 15q2 1 23 7t34.5 10.5t29.5 13t21 17.5q9 14 20 8q5 -3 6.5 -8.5t-3 -12t-16.5 -9.5q-20 -6 -56.5 -21.5t-45.5 -19.5q-44 -19 -70 -23q-25 -5 -79 2q-10 2 -9 -2t17 -19 q25 -23 67 -22q17 1 36 7t36 14t33.5 17.5t30 17t24.5 12t17.5 2.5t8.5 -11q0 -2 -1 -4.5t-4 -5t-6 -4.5t-8.5 -5t-9 -4.5t-10 -5t-9.5 -4.5q-28 -14 -67.5 -44t-66.5 -43t-49 -1q-21 11 -63 73q-22 31 -25 22q-1 -3 -1 -10q0 -25 -15 -56.5t-29.5 -55.5t-21 -58t11.5 -63 q-23 -6 -62.5 -90t-47.5 -141q-2 -18 -1.5 -69t-5.5 -59q-8 -24 -29 -3q-32 31 -36 94q-2 28 4 56q4 19 -1 18l-4 -5q-36 -65 10 -166q5 -12 25 -28t24 -20q20 -23 104 -90.5t93 -76.5q16 -15 17.5 -38t-14 -43t-45.5 -23q8 -15 29 -44.5t28 -54t7 -70.5q46 24 7 92 q-4 8 -10.5 16t-9.5 12t-2 6q3 5 13 9.5t20 -2.5q46 -52 166 -36q133 15 177 87q23 38 34 30q12 -6 10 -52q-1 -25 -23 -92q-9 -23 -6 -37.5t24 -15.5q3 19 14.5 77t13.5 90q2 21 -6.5 73.5t-7.5 97t23 70.5q15 18 51 18q1 37 34.5 53t72.5 10.5t60 -22.5zM626 1152 q3 17 -2.5 30t-11.5 15q-9 2 -9 -7q2 -5 5 -6q10 0 7 -15q-3 -20 8 -20q3 0 3 3zM1045 955q-2 8 -6.5 11.5t-13 5t-14.5 5.5q-5 3 -9.5 8t-7 8t-5.5 6.5t-4 4t-4 -1.5q-14 -16 7 -43.5t39 -31.5q9 -1 14.5 8t3.5 20zM867 1168q0 11 -5 19.5t-11 12.5t-9 3q-14 -1 -7 -7l4 -2 q14 -4 18 -31q0 -3 8 2zM921 1401q0 2 -2.5 5t-9 7t-9.5 6q-15 15 -24 15q-9 -1 -11.5 -7.5t-1 -13t-0.5 -12.5q-1 -4 -6 -10.5t-6 -9t3 -8.5q4 -3 8 0t11 9t15 9q1 1 9 1t15 2t9 7zM1486 60q20 -12 31 -24.5t12 -24t-2.5 -22.5t-15.5 -22t-23.5 -19.5t-30 -18.5 t-31.5 -16.5t-32 -15.5t-27 -13q-38 -19 -85.5 -56t-75.5 -64q-17 -16 -68 -19.5t-89 14.5q-18 9 -29.5 23.5t-16.5 25.5t-22 19.5t-47 9.5q-44 1 -130 1q-19 0 -57 -1.5t-58 -2.5q-44 -1 -79.5 -15t-53.5 -30t-43.5 -28.5t-53.5 -11.5q-29 1 -111 31t-146 43q-19 4 -51 9.5 t-50 9t-39.5 9.5t-33.5 14.5t-17 19.5q-10 23 7 66.5t18 54.5q1 16 -4 40t-10 42.5t-4.5 36.5t10.5 27q14 12 57 14t60 12q30 18 42 35t12 51q21 -73 -32 -106q-32 -20 -83 -15q-34 3 -43 -10q-13 -15 5 -57q2 -6 8 -18t8.5 -18t4.5 -17t1 -22q0 -15 -17 -49t-14 -48 q3 -17 37 -26q20 -6 84.5 -18.5t99.5 -20.5q24 -6 74 -22t82.5 -23t55.5 -4q43 6 64.5 28t23 48t-7.5 58.5t-19 52t-20 36.5q-121 190 -169 242q-68 74 -113 40q-11 -9 -15 15q-3 16 -2 38q1 29 10 52t24 47t22 42q8 21 26.5 72t29.5 78t30 61t39 54q110 143 124 195 q-12 112 -16 310q-2 90 24 151.5t106 104.5q39 21 104 21q53 1 106 -13.5t89 -41.5q57 -42 91.5 -121.5t29.5 -147.5q-5 -95 30 -214q34 -113 133 -218q55 -59 99.5 -163t59.5 -191q8 -49 5 -84.5t-12 -55.5t-20 -22q-10 -2 -23.5 -19t-27 -35.5t-40.5 -33.5t-61 -14 q-18 1 -31.5 5t-22.5 13.5t-13.5 15.5t-11.5 20.5t-9 19.5q-22 37 -41 30t-28 -49t7 -97q20 -70 1 -195q-10 -65 18 -100.5t73 -33t85 35.5q59 49 89.5 66.5t103.5 42.5q53 18 77 36.5t18.5 34.5t-25 28.5t-51.5 23.5q-33 11 -49.5 48t-15 72.5t15.5 47.5q1 -31 8 -56.5 t14.5 -40.5t20.5 -28.5t21 -19t21.5 -13t16.5 -9.5z" />
380
+ <glyph unicode="&#xf17d;" d="M1024 36q-42 241 -140 498h-2l-2 -1q-16 -6 -43 -16.5t-101 -49t-137 -82t-131 -114.5t-103 -148l-15 11q184 -150 418 -150q132 0 256 52zM839 643q-21 49 -53 111q-311 -93 -673 -93q-1 -7 -1 -21q0 -124 44 -236.5t124 -201.5q50 89 123.5 166.5t142.5 124.5t130.5 81 t99.5 48l37 13q4 1 13 3.5t13 4.5zM732 855q-120 213 -244 378q-138 -65 -234 -186t-128 -272q302 0 606 80zM1416 536q-210 60 -409 29q87 -239 128 -469q111 75 185 189.5t96 250.5zM611 1277q-1 0 -2 -1q1 1 2 1zM1201 1132q-185 164 -433 164q-76 0 -155 -19 q131 -170 246 -382q69 26 130 60.5t96.5 61.5t65.5 57t37.5 40.5zM1424 647q-3 232 -149 410l-1 -1q-9 -12 -19 -24.5t-43.5 -44.5t-71 -60.5t-100 -65t-131.5 -64.5q25 -53 44 -95q2 -6 6.5 -17.5t7.5 -16.5q36 5 74.5 7t73.5 2t69 -1.5t64 -4t56.5 -5.5t48 -6.5t36.5 -6 t25 -4.5zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
381
+ <glyph unicode="&#xf17e;" d="M1173 473q0 50 -19.5 91.5t-48.5 68.5t-73 49t-82.5 34t-87.5 23l-104 24q-30 7 -44 10.5t-35 11.5t-30 16t-16.5 21t-7.5 30q0 77 144 77q43 0 77 -12t54 -28.5t38 -33.5t40 -29t48 -12q47 0 75.5 32t28.5 77q0 55 -56 99.5t-142 67.5t-182 23q-68 0 -132 -15.5 t-119.5 -47t-89 -87t-33.5 -128.5q0 -61 19 -106.5t56 -75.5t80 -48.5t103 -32.5l146 -36q90 -22 112 -36q32 -20 32 -60q0 -39 -40 -64.5t-105 -25.5q-51 0 -91.5 16t-65 38.5t-45.5 45t-46 38.5t-54 16q-50 0 -75.5 -30t-25.5 -75q0 -92 122 -157.5t291 -65.5 q73 0 140 18.5t122.5 53.5t88.5 93.5t33 131.5zM1536 256q0 -159 -112.5 -271.5t-271.5 -112.5q-130 0 -234 80q-77 -16 -150 -16q-143 0 -273.5 55.5t-225 150t-150 225t-55.5 273.5q0 73 16 150q-80 104 -80 234q0 159 112.5 271.5t271.5 112.5q130 0 234 -80 q77 16 150 16q143 0 273.5 -55.5t225 -150t150 -225t55.5 -273.5q0 -73 -16 -150q80 -104 80 -234z" />
382
+ <glyph unicode="&#xf180;" horiz-adv-x="1664" d="M1483 512l-587 -587q-52 -53 -127.5 -53t-128.5 53l-587 587q-53 53 -53 128t53 128l587 587q53 53 128 53t128 -53l265 -265l-398 -399l-188 188q-42 42 -99 42q-59 0 -100 -41l-120 -121q-42 -40 -42 -99q0 -58 42 -100l406 -408q30 -28 67 -37l6 -4h28q60 0 99 41 l619 619l2 -3q53 -53 53 -128t-53 -128zM1406 1138l120 -120q14 -15 14 -36t-14 -36l-730 -730q-17 -15 -37 -15v0q-4 0 -6 1q-18 2 -30 14l-407 408q-14 15 -14 36t14 35l121 120q13 15 35 15t36 -15l252 -252l574 575q15 15 36 15t36 -15z" />
383
+ <glyph unicode="&#xf181;" d="M704 192v1024q0 14 -9 23t-23 9h-480q-14 0 -23 -9t-9 -23v-1024q0 -14 9 -23t23 -9h480q14 0 23 9t9 23zM1376 576v640q0 14 -9 23t-23 9h-480q-14 0 -23 -9t-9 -23v-640q0 -14 9 -23t23 -9h480q14 0 23 9t9 23zM1536 1344v-1408q0 -26 -19 -45t-45 -19h-1408 q-26 0 -45 19t-19 45v1408q0 26 19 45t45 19h1408q26 0 45 -19t19 -45z" />
384
+ <glyph unicode="&#xf182;" horiz-adv-x="1280" d="M1280 480q0 -40 -28 -68t-68 -28q-51 0 -80 43l-227 341h-45v-132l247 -411q9 -15 9 -33q0 -26 -19 -45t-45 -19h-192v-272q0 -46 -33 -79t-79 -33h-160q-46 0 -79 33t-33 79v272h-192q-26 0 -45 19t-19 45q0 18 9 33l247 411v132h-45l-227 -341q-29 -43 -80 -43 q-40 0 -68 28t-28 68q0 29 16 53l256 384q73 107 176 107h384q103 0 176 -107l256 -384q16 -24 16 -53zM864 1280q0 -93 -65.5 -158.5t-158.5 -65.5t-158.5 65.5t-65.5 158.5t65.5 158.5t158.5 65.5t158.5 -65.5t65.5 -158.5z" />
385
+ <glyph unicode="&#xf183;" horiz-adv-x="1024" d="M1024 832v-416q0 -40 -28 -68t-68 -28t-68 28t-28 68v352h-64v-912q0 -46 -33 -79t-79 -33t-79 33t-33 79v464h-64v-464q0 -46 -33 -79t-79 -33t-79 33t-33 79v912h-64v-352q0 -40 -28 -68t-68 -28t-68 28t-28 68v416q0 80 56 136t136 56h640q80 0 136 -56t56 -136z M736 1280q0 -93 -65.5 -158.5t-158.5 -65.5t-158.5 65.5t-65.5 158.5t65.5 158.5t158.5 65.5t158.5 -65.5t65.5 -158.5z" />
386
+ <glyph unicode="&#xf184;" d="M773 234l350 473q16 22 24.5 59t-6 85t-61.5 79q-40 26 -83 25.5t-73.5 -17.5t-54.5 -45q-36 -40 -96 -40q-59 0 -95 40q-24 28 -54.5 45t-73.5 17.5t-84 -25.5q-46 -31 -60.5 -79t-6 -85t24.5 -59zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103 t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
387
+ <glyph unicode="&#xf185;" horiz-adv-x="1792" d="M1472 640q0 117 -45.5 223.5t-123 184t-184 123t-223.5 45.5t-223.5 -45.5t-184 -123t-123 -184t-45.5 -223.5t45.5 -223.5t123 -184t184 -123t223.5 -45.5t223.5 45.5t184 123t123 184t45.5 223.5zM1748 363q-4 -15 -20 -20l-292 -96v-306q0 -16 -13 -26q-15 -10 -29 -4 l-292 94l-180 -248q-10 -13 -26 -13t-26 13l-180 248l-292 -94q-14 -6 -29 4q-13 10 -13 26v306l-292 96q-16 5 -20 20q-5 17 4 29l180 248l-180 248q-9 13 -4 29q4 15 20 20l292 96v306q0 16 13 26q15 10 29 4l292 -94l180 248q9 12 26 12t26 -12l180 -248l292 94 q14 6 29 -4q13 -10 13 -26v-306l292 -96q16 -5 20 -20q5 -16 -4 -29l-180 -248l180 -248q9 -12 4 -29z" />
388
+ <glyph unicode="&#xf186;" d="M1262 233q-54 -9 -110 -9q-182 0 -337 90t-245 245t-90 337q0 192 104 357q-201 -60 -328.5 -229t-127.5 -384q0 -130 51 -248.5t136.5 -204t204 -136.5t248.5 -51q144 0 273.5 61.5t220.5 171.5zM1465 318q-94 -203 -283.5 -324.5t-413.5 -121.5q-156 0 -298 61 t-245 164t-164 245t-61 298q0 153 57.5 292.5t156 241.5t235.5 164.5t290 68.5q44 2 61 -39q18 -41 -15 -72q-86 -78 -131.5 -181.5t-45.5 -218.5q0 -148 73 -273t198 -198t273 -73q118 0 228 51q41 18 72 -13q14 -14 17.5 -34t-4.5 -38z" />
389
+ <glyph unicode="&#xf187;" horiz-adv-x="1792" d="M1088 704q0 26 -19 45t-45 19h-256q-26 0 -45 -19t-19 -45t19 -45t45 -19h256q26 0 45 19t19 45zM1664 896v-960q0 -26 -19 -45t-45 -19h-1408q-26 0 -45 19t-19 45v960q0 26 19 45t45 19h1408q26 0 45 -19t19 -45zM1728 1344v-256q0 -26 -19 -45t-45 -19h-1536 q-26 0 -45 19t-19 45v256q0 26 19 45t45 19h1536q26 0 45 -19t19 -45z" />
390
+ <glyph unicode="&#xf188;" horiz-adv-x="1664" d="M1632 576q0 -26 -19 -45t-45 -19h-224q0 -171 -67 -290l208 -209q19 -19 19 -45t-19 -45q-18 -19 -45 -19t-45 19l-198 197q-5 -5 -15 -13t-42 -28.5t-65 -36.5t-82 -29t-97 -13v896h-128v-896q-51 0 -101.5 13.5t-87 33t-66 39t-43.5 32.5l-15 14l-183 -207 q-20 -21 -48 -21q-24 0 -43 16q-19 18 -20.5 44.5t15.5 46.5l202 227q-58 114 -58 274h-224q-26 0 -45 19t-19 45t19 45t45 19h224v294l-173 173q-19 19 -19 45t19 45t45 19t45 -19l173 -173h844l173 173q19 19 45 19t45 -19t19 -45t-19 -45l-173 -173v-294h224q26 0 45 -19 t19 -45zM1152 1152h-640q0 133 93.5 226.5t226.5 93.5t226.5 -93.5t93.5 -226.5z" />
391
+ <glyph unicode="&#xf189;" horiz-adv-x="1920" d="M1917 1016q23 -64 -150 -294q-24 -32 -65 -85q-78 -100 -90 -131q-17 -41 14 -81q17 -21 81 -82h1l1 -1l1 -1l2 -2q141 -131 191 -221q3 -5 6.5 -12.5t7 -26.5t-0.5 -34t-25 -27.5t-59 -12.5l-256 -4q-24 -5 -56 5t-52 22l-20 12q-30 21 -70 64t-68.5 77.5t-61 58 t-56.5 15.5q-3 -1 -8 -3.5t-17 -14.5t-21.5 -29.5t-17 -52t-6.5 -77.5q0 -15 -3.5 -27.5t-7.5 -18.5l-4 -5q-18 -19 -53 -22h-115q-71 -4 -146 16.5t-131.5 53t-103 66t-70.5 57.5l-25 24q-10 10 -27.5 30t-71.5 91t-106 151t-122.5 211t-130.5 272q-6 16 -6 27t3 16l4 6 q15 19 57 19l274 2q12 -2 23 -6.5t16 -8.5l5 -3q16 -11 24 -32q20 -50 46 -103.5t41 -81.5l16 -29q29 -60 56 -104t48.5 -68.5t41.5 -38.5t34 -14t27 5q2 1 5 5t12 22t13.5 47t9.5 81t0 125q-2 40 -9 73t-14 46l-6 12q-25 34 -85 43q-13 2 5 24q17 19 38 30q53 26 239 24 q82 -1 135 -13q20 -5 33.5 -13.5t20.5 -24t10.5 -32t3.5 -45.5t-1 -55t-2.5 -70.5t-1.5 -82.5q0 -11 -1 -42t-0.5 -48t3.5 -40.5t11.5 -39t22.5 -24.5q8 -2 17 -4t26 11t38 34.5t52 67t68 107.5q60 104 107 225q4 10 10 17.5t11 10.5l4 3l5 2.5t13 3t20 0.5l288 2 q39 5 64 -2.5t31 -16.5z" />
392
+ <glyph unicode="&#xf18a;" horiz-adv-x="1792" d="M675 252q21 34 11 69t-45 50q-34 14 -73 1t-60 -46q-22 -34 -13 -68.5t43 -50.5t74.5 -2.5t62.5 47.5zM769 373q8 13 3.5 26.5t-17.5 18.5q-14 5 -28.5 -0.5t-21.5 -18.5q-17 -31 13 -45q14 -5 29 0.5t22 18.5zM943 266q-45 -102 -158 -150t-224 -12 q-107 34 -147.5 126.5t6.5 187.5q47 93 151.5 139t210.5 19q111 -29 158.5 -119.5t2.5 -190.5zM1255 426q-9 96 -89 170t-208.5 109t-274.5 21q-223 -23 -369.5 -141.5t-132.5 -264.5q9 -96 89 -170t208.5 -109t274.5 -21q223 23 369.5 141.5t132.5 264.5zM1563 422 q0 -68 -37 -139.5t-109 -137t-168.5 -117.5t-226 -83t-270.5 -31t-275 33.5t-240.5 93t-171.5 151t-65 199.5q0 115 69.5 245t197.5 258q169 169 341.5 236t246.5 -7q65 -64 20 -209q-4 -14 -1 -20t10 -7t14.5 0.5t13.5 3.5l6 2q139 59 246 59t153 -61q45 -63 0 -178 q-2 -13 -4.5 -20t4.5 -12.5t12 -7.5t17 -6q57 -18 103 -47t80 -81.5t34 -116.5zM1489 1046q42 -47 54.5 -108.5t-6.5 -117.5q-8 -23 -29.5 -34t-44.5 -4q-23 8 -34 29.5t-4 44.5q20 63 -24 111t-107 35q-24 -5 -45 8t-25 37q-5 24 8 44.5t37 25.5q60 13 119 -5.5t101 -65.5z M1670 1209q87 -96 112.5 -222.5t-13.5 -241.5q-9 -27 -34 -40t-52 -4t-40 34t-5 52q28 82 10 172t-80 158q-62 69 -148 95.5t-173 8.5q-28 -6 -52 9.5t-30 43.5t9.5 51.5t43.5 29.5q123 26 244 -11.5t208 -134.5z" />
393
+ <glyph unicode="&#xf18b;" d="M1133 -34q-171 -94 -368 -94q-196 0 -367 94q138 87 235.5 211t131.5 268q35 -144 132.5 -268t235.5 -211zM638 1394v-485q0 -252 -126.5 -459.5t-330.5 -306.5q-181 215 -181 495q0 187 83.5 349.5t229.5 269.5t325 137zM1536 638q0 -280 -181 -495 q-204 99 -330.5 306.5t-126.5 459.5v485q179 -30 325 -137t229.5 -269.5t83.5 -349.5z" />
394
+ <glyph unicode="&#xf18c;" horiz-adv-x="1408" d="M1402 433q-32 -80 -76 -138t-91 -88.5t-99 -46.5t-101.5 -14.5t-96.5 8.5t-86.5 22t-69.5 27.5t-46 22.5l-17 10q-113 -228 -289.5 -359.5t-384.5 -132.5q-19 0 -32 13t-13 32t13 31.5t32 12.5q173 1 322.5 107.5t251.5 294.5q-36 -14 -72 -23t-83 -13t-91 2.5t-93 28.5 t-92 59t-84.5 100t-74.5 146q114 47 214 57t167.5 -7.5t124.5 -56.5t88.5 -77t56.5 -82q53 131 79 291q-7 -1 -18 -2.5t-46.5 -2.5t-69.5 0.5t-81.5 10t-88.5 23t-84 42.5t-75 65t-54.5 94.5t-28.5 127.5q70 28 133.5 36.5t112.5 -1t92 -30t73.5 -50t56 -61t42 -63t27.5 -56 t16 -39.5l4 -16q12 122 12 195q-8 6 -21.5 16t-49 44.5t-63.5 71.5t-54 93t-33 112.5t12 127t70 138.5q73 -25 127.5 -61.5t84.5 -76.5t48 -85t20.5 -89t-0.5 -85.5t-13 -76.5t-19 -62t-17 -42l-7 -15q1 -5 1 -50.5t-1 -71.5q3 7 10 18.5t30.5 43t50.5 58t71 55.5t91.5 44.5 t112 14.5t132.5 -24q-2 -78 -21.5 -141.5t-50 -104.5t-69.5 -71.5t-81.5 -45.5t-84.5 -24t-80 -9.5t-67.5 1t-46.5 4.5l-17 3q-23 -147 -73 -283q6 7 18 18.5t49.5 41t77.5 52.5t99.5 42t117.5 20t129 -23.5t137 -77.5z" />
395
+ <glyph unicode="&#xf18d;" horiz-adv-x="1280" d="M1259 283v-66q0 -85 -57.5 -144.5t-138.5 -59.5h-57l-260 -269v269h-529q-81 0 -138.5 59.5t-57.5 144.5v66h1238zM1259 609v-255h-1238v255h1238zM1259 937v-255h-1238v255h1238zM1259 1077v-67h-1238v67q0 84 57.5 143.5t138.5 59.5h846q81 0 138.5 -59.5t57.5 -143.5z " />
396
+ <glyph unicode="&#xf18e;" d="M1152 640q0 -14 -9 -23l-320 -320q-9 -9 -23 -9q-13 0 -22.5 9.5t-9.5 22.5v192h-352q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h352v192q0 14 9 23t23 9q12 0 24 -10l319 -319q9 -9 9 -23zM1312 640q0 148 -73 273t-198 198t-273 73t-273 -73t-198 -198 t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
397
+ <glyph unicode="&#xf190;" d="M1152 736v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-352v-192q0 -14 -9 -23t-23 -9q-12 0 -24 10l-319 319q-9 9 -9 23t9 23l320 320q9 9 23 9q13 0 22.5 -9.5t9.5 -22.5v-192h352q13 0 22.5 -9.5t9.5 -22.5zM1312 640q0 148 -73 273t-198 198t-273 73t-273 -73t-198 -198 t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
398
+ <glyph unicode="&#xf191;" d="M1024 960v-640q0 -26 -19 -45t-45 -19q-20 0 -37 12l-448 320q-27 19 -27 52t27 52l448 320q17 12 37 12q26 0 45 -19t19 -45zM1280 160v960q0 13 -9.5 22.5t-22.5 9.5h-960q-13 0 -22.5 -9.5t-9.5 -22.5v-960q0 -13 9.5 -22.5t22.5 -9.5h960q13 0 22.5 9.5t9.5 22.5z M1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
399
+ <glyph unicode="&#xf192;" d="M1024 640q0 -106 -75 -181t-181 -75t-181 75t-75 181t75 181t181 75t181 -75t75 -181zM768 1184q-148 0 -273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273t-73 273t-198 198t-273 73zM1536 640q0 -209 -103 -385.5t-279.5 -279.5 t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
400
+ <glyph unicode="&#xf193;" horiz-adv-x="1664" d="M1023 349l102 -204q-58 -179 -210 -290t-339 -111q-156 0 -288.5 77.5t-210 210t-77.5 288.5q0 181 104.5 330t274.5 211l17 -131q-122 -54 -195 -165.5t-73 -244.5q0 -185 131.5 -316.5t316.5 -131.5q126 0 232.5 65t165 175.5t49.5 236.5zM1571 249l58 -114l-256 -128 q-13 -7 -29 -7q-40 0 -57 35l-239 477h-472q-24 0 -42.5 16.5t-21.5 40.5l-96 779q-2 16 6 42q14 51 57 82.5t97 31.5q66 0 113 -47t47 -113q0 -69 -52 -117.5t-120 -41.5l37 -289h423v-128h-407l16 -128h455q40 0 57 -35l228 -455z" />
401
+ <glyph unicode="&#xf194;" d="M1254 899q16 85 -21 132q-52 65 -187 45q-17 -3 -41 -12.5t-57.5 -30.5t-64.5 -48.5t-59.5 -70t-44.5 -91.5q80 7 113.5 -16t26.5 -99q-5 -52 -52 -143q-43 -78 -71 -99q-44 -32 -87 14q-23 24 -37.5 64.5t-19 73t-10 84t-8.5 71.5q-23 129 -34 164q-12 37 -35.5 69 t-50.5 40q-57 16 -127 -25q-54 -32 -136.5 -106t-122.5 -102v-7q16 -8 25.5 -26t21.5 -20q21 -3 54.5 8.5t58 10.5t41.5 -30q11 -18 18.5 -38.5t15 -48t12.5 -40.5q17 -46 53 -187q36 -146 57 -197q42 -99 103 -125q43 -12 85 -1.5t76 31.5q131 77 250 237 q104 139 172.5 292.5t82.5 226.5zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
402
+ <glyph unicode="&#xf195;" horiz-adv-x="1152" d="M1152 704q0 -191 -94.5 -353t-256.5 -256.5t-353 -94.5h-160q-14 0 -23 9t-9 23v611l-215 -66q-3 -1 -9 -1q-10 0 -19 6q-13 10 -13 26v128q0 23 23 31l233 71v93l-215 -66q-3 -1 -9 -1q-10 0 -19 6q-13 10 -13 26v128q0 23 23 31l233 71v250q0 14 9 23t23 9h160 q14 0 23 -9t9 -23v-181l375 116q15 5 28 -5t13 -26v-128q0 -23 -23 -31l-393 -121v-93l375 116q15 5 28 -5t13 -26v-128q0 -23 -23 -31l-393 -121v-487q188 13 318 151t130 328q0 14 9 23t23 9h160q14 0 23 -9t9 -23z" />
403
+ <glyph unicode="&#xf196;" horiz-adv-x="1792" />
404
+ <glyph unicode="&#xf197;" horiz-adv-x="1792" />
405
+ <glyph unicode="&#xf198;" horiz-adv-x="1792" />
406
+ <glyph unicode="&#xf199;" horiz-adv-x="1792" />
407
+ <glyph unicode="&#xf19a;" horiz-adv-x="1792" />
408
+ <glyph unicode="&#xf19b;" horiz-adv-x="1792" />
409
+ <glyph unicode="&#xf19c;" horiz-adv-x="1792" />
410
+ <glyph unicode="&#xf19d;" horiz-adv-x="1792" />
411
+ <glyph unicode="&#xf19e;" horiz-adv-x="1792" />
412
+ <glyph unicode="&#xf500;" horiz-adv-x="1792" />
413
+ </font>
414
+ </defs></svg>
mini-themes/base-responsive/fonts/fontawesome-webfont.ttf ADDED
Binary file
mini-themes/base-responsive/fonts/fontawesome-webfont.woff ADDED
Binary file
mini-themes/base-responsive/index.php ADDED
@@ -0,0 +1,240 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+
4
+ $global = EZP_CS_Global_Entity::get_instance();
5
+
6
+ $set_index = $global->active_set_index;
7
+
8
+ $set = EZP_CS_Set_Entity::get_by_id($set_index);
9
+
10
+ $display = EZP_CS_Display_Entity::get_by_id($set->display_index);
11
+
12
+ $content = EZP_CS_Content_Entity::get_by_id($set->content_index);
13
+
14
+ $config = EZP_CS_Config_Entity::get_by_id($global->config_index);
15
+
16
+ $error_display = 'none';
17
+ $error_text = '';
18
+
19
+ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
20
+
21
+ $subscriber = new EZP_CS_Subscriber_Entity();
22
+
23
+ $error_text = EZP_CS_Query_Utility::add_new_subscriber($_POST['name'], $_POST['email']);
24
+
25
+ if($error_text == null) {
26
+
27
+ $initial_section_display = 'none';
28
+ $thank_you_section_display = 'block';
29
+ } else {
30
+
31
+ $error_display = 'block';
32
+ $initial_section_display = 'block';
33
+ $thank_you_section_display = 'none';
34
+ }
35
+
36
+ } else {
37
+
38
+ $initial_section_display = 'block';
39
+ $thank_you_section_display = 'none';
40
+ }
41
+
42
+ ?>
43
+ <!DOCTYPE html>
44
+ <html>
45
+ <head>
46
+ <!-- Title here -->
47
+ <title>{{title}}</title>
48
+
49
+ <?php
50
+
51
+ echo "
52
+
53
+ <meta name='description' content='$config->meta_description'>
54
+
55
+ <meta name='keywords' content='$config->meta_keywords'>
56
+
57
+ <link rel='author' href='$config->author_url' />"
58
+
59
+ ?>
60
+
61
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
62
+
63
+ <!--Fonts-->
64
+ <!-- SEtting: {font-link-list} - list of all fonts referenced in the template -->
65
+ <!-- <link href='http://fonts.googleapis.com/css?family=Open+Sans:300,400,600' rel='stylesheet' type='text/css'>-->
66
+
67
+ <!-- Styles -->
68
+
69
+ <!-- Bootstrap CSS -->
70
+ <!-- <link href="<?php //echo $page_url . '/css/bootstrap.min.css' ?>" rel="stylesheet">-->
71
+ <link href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css" rel="stylesheet">
72
+
73
+ <!-- Font awesome CSS -->
74
+ <link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet">
75
+
76
+ <!-- Custom CSS -->
77
+ <link href="<?php echo $page_url . '/css/style.css?' . EZP_CS_Constants::PLUGIN_VERSION ?>" rel="stylesheet">
78
+
79
+ <style type="text/css">
80
+ <?php
81
+
82
+ list($bgr, $bgg, $bgb) = sscanf($display->content_box_color, "#%02x%02x%02x");
83
+
84
+ $background_color = "background-color: $display->background_color;";
85
+
86
+ if(trim($display->background_image_url) != '') {
87
+
88
+ $background_color = "";
89
+ }
90
+
91
+ if($display->background_tiling_enabled == 'true') {
92
+
93
+ $background_size_styles = "body { background-image: url('$display->background_image_url'); $background_color }";
94
+ } else {
95
+
96
+ $background_size_styles = "{ margin: 0; padding: 0; }
97
+ body {
98
+ background: url('$display->background_image_url') no-repeat center center fixed;
99
+ $background_color
100
+ -webkit-background-size: cover;
101
+ -moz-background-size: cover;
102
+ -o-background-size: cover;
103
+ background-size: cover;
104
+ }";
105
+ }
106
+
107
+ $email_display = EZP_CS_Render_Utility::get_display($config->collect_email, "block");
108
+ $name_display = EZP_CS_Render_Utility::get_display($config->collect_name, "inline-block");
109
+
110
+ $logo_display = EZP_CS_Render_Utility::get_display($content->logo_url, "inline");
111
+
112
+ $background_image_url = $display->builtin_background_image == "" ? $display->background_image_url : EZP_CS_Utility::$PLUGIN_URL . "/images/backgrounds/" . $display->builtin_background_image;
113
+
114
+
115
+ echo "
116
+
117
+ $background_size_styles
118
+ #content-area { background:rgba($bgr, $bgg, $bgb, $display->content_box_opacity); }
119
+ #headline, #thank-you-headline { {$display->get_font_styling('text_headline')} }
120
+ #description, #thank-you-text { {$display->get_font_styling('text_description')} }
121
+ #disclaimer { {$display->get_font_styling('text_disclaimer')} }
122
+ #footer { {$display->get_font_styling('text_footer')} }
123
+
124
+ #logo { display:$logo_display; height: $display->logo_height; width: $display->logo_width; }
125
+ #email-submit-button { margin-left:3px; {$display->get_font_styling('email_button')}; background-color: $display->email_button_color; height: $display->email_button_height; width: $display->email_button_width; }
126
+
127
+ #email-collection-box { display:$email_display; }
128
+ #name-form-group { display:$name_display; }
129
+ #email-form-group { margin-left:auto;margin-right:auto;}
130
+ #email-form-group, #name-form-group { width: 180px; }
131
+ /* #name-input, #email-input { width: 180px; } */
132
+
133
+ #initial-section { display:$initial_section_display; }
134
+ #thank-you-section { display: $thank_you_section_display; }
135
+ #error-block { display: $error_display; color:red; margin-top:5px; }
136
+
137
+
138
+ /* Custom CSS */
139
+ $display->css
140
+ ";?>
141
+ </style>
142
+
143
+ <!-- Analytics Code -->
144
+ <?php echo $config->analytics_code; ?>
145
+ </head>
146
+
147
+ <body>
148
+
149
+ <div class="container">
150
+
151
+ <!-- Subscribe Starts -->
152
+ <div id="content-area" class="text-center">
153
+
154
+ <!-- Settings: {{logo-url}}, {{logo-height}}, {{logo-width}}-->
155
+ <img id="logo" style="max-height:200px;max-width:200px" src="<?php echo $content->logo_url ?>"/>
156
+
157
+
158
+ <div id="initial-section">
159
+ <header class="text-center">
160
+ <!-- Setting: {{headline}} -->
161
+ <h1 id="headline"><?php echo $content->headline ?></h1>
162
+
163
+ <!-- Setting: {{description}} -->
164
+ <p id="description"><?php echo $content->description;?></p>
165
+
166
+ <p id="custom-html" style="display:"><!--Setting: {{custom-html}} --></p>
167
+ </header>
168
+
169
+ <form id="email-collection-box" name="email-collection-box" class="form-inline" role="form" action="index.php" method="post">
170
+
171
+ <!-- Setting: {{name-collection-on}}-->
172
+ <div id="name-form-group" class="form-group">
173
+ <label class="sr-only" for="name"><?php EZP_CS_Utility::_e("Name");?></label>
174
+ <!-- Setting: {{name-placeholder}}-->
175
+ <input id="name-input" name="name" type="text" class="form-control" placeholder="<?php echo $content->name_placeholder_text; ?>"/>
176
+ </div>
177
+ <div id="email-form-group" class="form-group">
178
+ <label class="sr-only" for="email"><?php EZP_CS_Utility::_e("Email");?></label>
179
+ <input id="email-input" name="email" type="email" class="form-control" placeholder="<?php echo $content->email_placeholder_text; ?>"/>
180
+ </div>
181
+
182
+ <button id="email-submit-button" form="email-collection-box" type="submit" class="btn btn-danger"><?php echo $content->email_button_text;?></button>
183
+ <div id="error-block"><?php if($error_text != null) { echo $error_text;}?></div>
184
+ <p id="disclaimer"><?php echo $content->disclaimer; ?></p>
185
+ </form>
186
+ </div>
187
+ <div id="thank-you-section">
188
+ <header class="text-center">
189
+ <!-- Setting: {{thank-you-headline}} -->
190
+ <h1 id="thank-you-headline"><?php echo $content->thank_you_headline; ?></h1>
191
+
192
+ <!-- Setting: {{thank-you-text}} -->
193
+ <p id="thank-you-text"><?php echo $content->thank_you_description; ?></p>
194
+
195
+ <p id="custom-html"><!--Setting: {{custom-html}} --></p>
196
+ </header>
197
+ </div>
198
+
199
+ </div>
200
+
201
+
202
+ <!-- Countdown Starts -->
203
+ <!-- <div id="clock"></div>-->
204
+
205
+ <!-- Social Networks -->
206
+ <div id="social" class="text-center">
207
+ <a target="_blank" href="<?php echo $config->facebook_url ?>" class="br-blue" style="display:<?php echo EZP_CS_Render_Utility::get_display($config->facebook_url, "inline-block"); ?>"><i class="fa fa-facebook"></i></a>
208
+ <a target="_blank" href="<?php echo $config->twitter_url ?>" class="br-lblue" style="display:<?php echo EZP_CS_Render_Utility::get_display($config->twitter_url, "inline-block"); ?>"><i class="fa fa-twitter"></i></a>
209
+ <a target="_blank" href="<?php echo $config->google_plus_url ?>" class="br-orange" style="display:<?php echo EZP_CS_Render_Utility::get_display($config->google_plus_url, "inline-block"); ?>"><i class="fa fa-google-plus"></i></a>
210
+ </div>
211
+
212
+
213
+ <!-- Footer -->
214
+ <!-- Setting {{footer-display}}
215
+ <footer class="text-center">
216
+ <!-- Setting {{footer-text}}-->
217
+ <!--<p id="footer">&copy; Copyright 2013 Company Name.</p> -->
218
+ <p id="footer"><?php echo $content->footer; ?> </p>
219
+ </footer>
220
+
221
+ </div>
222
+
223
+ <!-- Javascript files -->
224
+ <!-- jQuery -->
225
+
226
+ <script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
227
+ <script src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
228
+ <!-- Countdown Plugin-->
229
+ <!-- <script src="<?php //echo $page_url .'/js/jquery.countdown.min.js'?>"></script>-->
230
+ <!-- Slider backgrounds -->
231
+ <!--<script src="js/jquery.vegas.min.js"></script>-->
232
+ <!-- Respond JS for IE8 -->
233
+ <script src="<?php echo $page_url .'/js/respond.min.js?' . EZP_CS_Constants::PLUGIN_VERSION ?>"></script>
234
+ <!-- HTML5 Support for IE -->
235
+ <script src="<?php echo $page_url . '/js/html5shiv.js?' . EZP_CS_Constants::PLUGIN_VERSION?>"></script>
236
+ <!-- Custom JS -->
237
+ <script src="<?php echo $page_url . '/js/custom.js?' . EZP_CS_Constants::PLUGIN_VERSION ?>"></script>
238
+
239
+ </body>
240
+ </html>
mini-themes/base-responsive/js/custom.js ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* Count Down Timer */
2
+
3
+ //$('#clock').countdown('2017/10/10', function(event) {
4
+ // var $this = $(this).html(event.strftime(''
5
+ // + '<div class="br-red">%Y <span>Years</span></div> '
6
+ // + '<div class="br-blue">%d <span>Days</span></div> '
7
+ // + '<div class="br-green">%H <span>Hrs</span></div> '
8
+ // + '<div class="br-orange">%M <span>Min</span></div> '
9
+ // + '<div class="br-lblue">%S <span>Sec</span></div> '));
10
+ // });
11
+
12
+ /* Slider Backgrounds */
13
+
14
+ //$.vegas('slideshow', {
15
+ // delay:5000,
16
+ // backgrounds:[
17
+ // { src:'img/1.jpg', fade:10000 },
18
+ // { src:'img/2.jpg', fade:10000 },
19
+ // { src:'img/3.jpg', fade:10000 }
20
+ // ]
21
+ //})('overlay', {
22
+ // src:'img/overlay.png'
23
+ //});
24
+
mini-themes/base-responsive/js/html5shiv.js ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
1
+ /*
2
+ HTML5 Shiv v3.7.0 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed
3
+ */
4
+ (function(l,f){function m(){var a=e.elements;return"string"==typeof a?a.split(" "):a}function i(a){var b=n[a[o]];b||(b={},h++,a[o]=h,n[h]=b);return b}function p(a,b,c){b||(b=f);if(g)return b.createElement(a);c||(c=i(b));b=c.cache[a]?c.cache[a].cloneNode():r.test(a)?(c.cache[a]=c.createElem(a)).cloneNode():c.createElem(a);return b.canHaveChildren&&!s.test(a)?c.frag.appendChild(b):b}function t(a,b){if(!b.cache)b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag();
5
+ a.createElement=function(c){return!e.shivMethods?b.createElem(c):p(c,a,b)};a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+m().join().replace(/[\w\-]+/g,function(a){b.createElem(a);b.frag.createElement(a);return'c("'+a+'")'})+");return n}")(e,b.frag)}function q(a){a||(a=f);var b=i(a);if(e.shivCSS&&!j&&!b.hasCSS){var c,d=a;c=d.createElement("p");d=d.getElementsByTagName("head")[0]||d.documentElement;c.innerHTML="x<style>article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}</style>";
6
+ c=d.insertBefore(c.lastChild,d.firstChild);b.hasCSS=!!c}g||t(a,b);return a}var k=l.html5||{},s=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,r=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,j,o="_html5shiv",h=0,n={},g;(function(){try{var a=f.createElement("a");a.innerHTML="<xyz></xyz>";j="hidden"in a;var b;if(!(b=1==a.childNodes.length)){f.createElement("a");var c=f.createDocumentFragment();b="undefined"==typeof c.cloneNode||
7
+ "undefined"==typeof c.createDocumentFragment||"undefined"==typeof c.createElement}g=b}catch(d){g=j=!0}})();var e={elements:k.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output progress section summary template time video",version:"3.7.0",shivCSS:!1!==k.shivCSS,supportsUnknownElements:g,shivMethods:!1!==k.shivMethods,type:"default",shivDocument:q,createElement:p,createDocumentFragment:function(a,b){a||(a=f);
8
+ if(g)return a.createDocumentFragment();for(var b=b||i(a),c=b.frag.cloneNode(),d=0,e=m(),h=e.length;d<h;d++)c.createElement(e[d]);return c}};l.html5=e;q(f)})(this,document);
mini-themes/base-responsive/js/jquery.countdown.min.js ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * jQuery The Final Countdown plugin v2.0.1
3
+ * http://github.com/hilios/jquery.countdown
4
+ *
5
+ * Copyright (c) 2011 Edson Hilios
6
+ *
7
+ * Permission is hereby granted, free of charge, to any person obtaining
8
+ * a copy of this software and associated documentation files (the
9
+ * "Software"), to deal in the Software without restriction, including
10
+ * without limitation the rights to use, copy, modify, merge, publish,
11
+ * distribute, sublicense, and/or sell copies of the Software, and to
12
+ * permit persons to whom the Software is furnished to do so, subject to
13
+ * the following conditions:
14
+ *
15
+ * The above copyright notice and this permission notice shall be
16
+ * included in all copies or substantial portions of the Software.
17
+ *
18
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
19
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
20
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
21
+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
22
+ * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
23
+ * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
24
+ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
25
+ */
26
+ !function(a){"function"==typeof define&&define.amd?define(["jquery"],a):a(jQuery)}(function(a){"use strict";function b(a){if(a instanceof Date)return a;if(String(a).match(g))return String(a).match(/^[0-9]*$/)&&(a=Number(a)),new Date(a);throw new Error("Couldn't cast `"+a+"` to a date object.")}function c(a){return function(b){var c=b.match(/%(-|!)?[A-Z]{1}(:[^;]+;)?/gi);if(c)for(var e=0,f=c.length;f>e;++e){var g=c[e].match(/%(-|!)?([a-zA-Z]{1})(:[^;]+;)?/),i=new RegExp(g[0]),j=g[1]||"",k=g[3]||"",l=null;g=g[2],h.hasOwnProperty(g)&&(l=h[g],l=Number(a[l])),null!==l&&("!"===j&&(l=d(k,l)),""===j&&10>l&&(l="0"+l.toString()),b=b.replace(i,l.toString()))}return b=b.replace(/%%/,"%")}}function d(a,b){var c="s",d="";return a&&(a=a.replace(/(:|;|\s)/gi,"").split(/\,/),1===a.length?c=a[0]:(d=a[0],c=a[1])),1===Math.abs(b)?d:c}var e=100,f=[],g=[];g.push(/^[0-9]*$/.source),g.push(/([0-9]{1,2}\/){2}[0-9]{4}( [0-9]{1,2}(:[0-9]{2}){2})?/.source),g.push(/[0-9]{4}(\/[0-9]{1,2}){2}( [0-9]{1,2}(:[0-9]{2}){2})?/.source),g=new RegExp(g.join("|"));var h={Y:"years",m:"months",w:"weeks",d:"days",D:"totalDays",H:"hours",M:"minutes",S:"seconds"},i=function(b,c,d){this.el=b,this.$el=a(b),this.interval=null,this.offset={},this.setFinalDate(c),this.instanceNumber=f.length,f.push(this),this.$el.data("countdown-instance",this.instanceNumber),d&&(this.$el.on("update.countdown",d),this.$el.on("stoped.countdown",d),this.$el.on("finish.countdown",d)),this.start()};a.extend(i.prototype,{start:function(){if(null!==this.interval)throw new Error("Countdown is already running!");var a=this;this.update(),this.interval=setInterval(function(){a.update.call(a)},e)},stop:function(){clearInterval(this.interval),this.interval=null,this.dispatchEvent("stoped")},pause:function(){this.stop.call(this)},resume:function(){this.start.call(this)},remove:function(){this.stop(),delete f[this.instanceNumber]},setFinalDate:function(a){this.finalDate=b(a)},update:function(){return 0===this.$el.closest("html").length?(this.remove(),void 0):(this.totalSecsLeft=this.finalDate.valueOf()-(new Date).valueOf(),this.totalSecsLeft=Math.ceil(this.totalSecsLeft/1e3),this.totalSecsLeft=this.totalSecsLeft<0?0:this.totalSecsLeft,this.offset={seconds:this.totalSecsLeft%60,minutes:Math.floor(this.totalSecsLeft/60)%60,hours:Math.floor(this.totalSecsLeft/60/60)%24,days:Math.floor(this.totalSecsLeft/60/60/24)%7,totalDays:Math.floor(this.totalSecsLeft/60/60/24),weeks:Math.floor(this.totalSecsLeft/60/60/24/7),months:Math.floor(this.totalSecsLeft/60/60/24/30),years:Math.floor(this.totalSecsLeft/60/60/24/365)},0===this.totalSecsLeft?(this.stop(),this.dispatchEvent("finish")):this.dispatchEvent("update"),void 0)},dispatchEvent:function(b){var d=a.Event(b+".countdown");d.finalDate=this.finalDate,d.offset=a.extend({},this.offset),d.strftime=c(this.offset),this.$el.trigger(d)}}),a.fn.countdown=function(){var b=Array.prototype.slice.call(arguments,0);return this.each(function(){var c=a(this).data("countdown-instance");if(c){var d=f[c],e=b[0];i.prototype.hasOwnProperty(e)?d[e].apply(d,b.slice(1)):null===String(e).match(/^[$A-Z_][0-9A-Z_$]*$/i)?d.setFinalDate.call(d,e):a.error("Method %s does not exist on jQuery.countdown".replace(/\%s/gi,e))}else new i(this,b[0],b[1])})}});
mini-themes/base-responsive/js/respond.min.js ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
1
+ /*! matchMedia() polyfill - Test a CSS media type/query in JS. Authors & copyright (c) 2012: Scott Jehl, Paul Irish, Nicholas Zakas. Dual MIT/BSD license */
2
+ /*! NOTE: If you're already including a window.matchMedia polyfill via Modernizr or otherwise, you don't need this part */
3
+ window.matchMedia=window.matchMedia||function(a){"use strict";var c,d=a.documentElement,e=d.firstElementChild||d.firstChild,f=a.createElement("body"),g=a.createElement("div");return g.id="mq-test-1",g.style.cssText="position:absolute;top:-100em",f.style.background="none",f.appendChild(g),function(a){return g.innerHTML='&shy;<style media="'+a+'"> #mq-test-1 { width: 42px; }</style>',d.insertBefore(f,e),c=42===g.offsetWidth,d.removeChild(f),{matches:c,media:a}}}(document);
4
+
5
+ /*! Respond.js v1.3.0: min/max-width media query polyfill. (c) Scott Jehl. MIT/GPLv2 Lic. j.mp/respondjs */
6
+ (function(a){"use strict";function x(){u(!0)}var b={};if(a.respond=b,b.update=function(){},b.mediaQueriesSupported=a.matchMedia&&a.matchMedia("only all").matches,!b.mediaQueriesSupported){var q,r,t,c=a.document,d=c.documentElement,e=[],f=[],g=[],h={},i=30,j=c.getElementsByTagName("head")[0]||d,k=c.getElementsByTagName("base")[0],l=j.getElementsByTagName("link"),m=[],n=function(){for(var b=0;l.length>b;b++){var c=l[b],d=c.href,e=c.media,f=c.rel&&"stylesheet"===c.rel.toLowerCase();d&&f&&!h[d]&&(c.styleSheet&&c.styleSheet.rawCssText?(p(c.styleSheet.rawCssText,d,e),h[d]=!0):(!/^([a-zA-Z:]*\/\/)/.test(d)&&!k||d.replace(RegExp.$1,"").split("/")[0]===a.location.host)&&m.push({href:d,media:e}))}o()},o=function(){if(m.length){var b=m.shift();v(b.href,function(c){p(c,b.href,b.media),h[b.href]=!0,a.setTimeout(function(){o()},0)})}},p=function(a,b,c){var d=a.match(/@media[^\{]+\{([^\{\}]*\{[^\}\{]*\})+/gi),g=d&&d.length||0;b=b.substring(0,b.lastIndexOf("/"));var h=function(a){return a.replace(/(url\()['"]?([^\/\)'"][^:\)'"]+)['"]?(\))/g,"$1"+b+"$2$3")},i=!g&&c;b.length&&(b+="/"),i&&(g=1);for(var j=0;g>j;j++){var k,l,m,n;i?(k=c,f.push(h(a))):(k=d[j].match(/@media *([^\{]+)\{([\S\s]+?)$/)&&RegExp.$1,f.push(RegExp.$2&&h(RegExp.$2))),m=k.split(","),n=m.length;for(var o=0;n>o;o++)l=m[o],e.push({media:l.split("(")[0].match(/(only\s+)?([a-zA-Z]+)\s?/)&&RegExp.$2||"all",rules:f.length-1,hasquery:l.indexOf("(")>-1,minw:l.match(/\(\s*min\-width\s*:\s*(\s*[0-9\.]+)(px|em)\s*\)/)&&parseFloat(RegExp.$1)+(RegExp.$2||""),maxw:l.match(/\(\s*max\-width\s*:\s*(\s*[0-9\.]+)(px|em)\s*\)/)&&parseFloat(RegExp.$1)+(RegExp.$2||"")})}u()},s=function(){var a,b=c.createElement("div"),e=c.body,f=!1;return b.style.cssText="position:absolute;font-size:1em;width:1em",e||(e=f=c.createElement("body"),e.style.background="none"),e.appendChild(b),d.insertBefore(e,d.firstChild),a=b.offsetWidth,f?d.removeChild(e):e.removeChild(b),a=t=parseFloat(a)},u=function(b){var h="clientWidth",k=d[h],m="CSS1Compat"===c.compatMode&&k||c.body[h]||k,n={},o=l[l.length-1],p=(new Date).getTime();if(b&&q&&i>p-q)return a.clearTimeout(r),r=a.setTimeout(u,i),void 0;q=p;for(var v in e)if(e.hasOwnProperty(v)){var w=e[v],x=w.minw,y=w.maxw,z=null===x,A=null===y,B="em";x&&(x=parseFloat(x)*(x.indexOf(B)>-1?t||s():1)),y&&(y=parseFloat(y)*(y.indexOf(B)>-1?t||s():1)),w.hasquery&&(z&&A||!(z||m>=x)||!(A||y>=m))||(n[w.media]||(n[w.media]=[]),n[w.media].push(f[w.rules]))}for(var C in g)g.hasOwnProperty(C)&&g[C]&&g[C].parentNode===j&&j.removeChild(g[C]);for(var D in n)if(n.hasOwnProperty(D)){var E=c.createElement("style"),F=n[D].join("\n");E.type="text/css",E.media=D,j.insertBefore(E,o.nextSibling),E.styleSheet?E.styleSheet.cssText=F:E.appendChild(c.createTextNode(F)),g.push(E)}},v=function(a,b){var c=w();c&&(c.open("GET",a,!0),c.onreadystatechange=function(){4!==c.readyState||200!==c.status&&304!==c.status||b(c.responseText)},4!==c.readyState&&c.send(null))},w=function(){var b=!1;try{b=new a.XMLHttpRequest}catch(c){b=new a.ActiveXObject("Microsoft.XMLHTTP")}return function(){return b}}();n(),b.update=n,a.addEventListener?a.addEventListener("resize",x,!1):a.attachEvent&&a.attachEvent("onresize",x)}})(this);
pages/page-options-content-tab.php ADDED
@@ -0,0 +1,194 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ Easy Pie Coming Soon Plugin
4
+ Copyright (C) 2014, Synthetic Thought LLC
5
+ website: easypiewp.com contact: bob@easypiewp.com
6
+
7
+ Easy Pie Coming Soon Plugin is distributed under the GNU General Public License, Version 3,
8
+ June 2007. Copyright (C) 2007 Free Software Foundation, Inc., 51 Franklin
9
+ St, Fifth Floor, Boston, MA 02110, USA
10
+
11
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
12
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
13
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
14
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
15
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
16
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
17
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
18
+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
19
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
20
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
21
+ */
22
+
23
+ //- Settings Logic -
24
+ $action_updated = null;
25
+
26
+ $global = EZP_CS_Global_Entity::get_instance();
27
+
28
+ $set_index = $global->active_set_index;
29
+
30
+ $set = EZP_CS_Set_Entity::get_by_id($set_index);
31
+
32
+ $content = EZP_CS_Content_Entity::get_by_id($set->content_index);
33
+
34
+ $error_string = "";
35
+
36
+ if (isset($_POST['action']) && $_POST['action'] == 'save') {
37
+
38
+ check_admin_referer('easy-pie-coming-soon-save-content');
39
+
40
+ // Artificially set the bools since they aren't part of the postback
41
+ $error_string = $content->set_post_variables($_POST);
42
+
43
+ if ($error_string == "") {
44
+
45
+ $action_updated = $content->save();
46
+ }
47
+ }
48
+ ?>
49
+
50
+ <?php wp_nonce_field('easy-pie-coming-soon-save-content'); ?>
51
+ <input type="hidden" name="action" value="save"/>
52
+
53
+ <?php if ($error_string != "") : ?>
54
+ <div id="message" class="error below-h2"><p><?php echo EZP_CS_Utility::__('Errors present:') . "<br/> $error_string" ?></p></div>
55
+ <?php endif; ?>
56
+
57
+ <?php if ($action_updated) : ?>
58
+ <div id="message" class="updated below-h2"><p><span><?php echo EZP_CS_Utility::__('Settings Saved.'); ?></span><strong style="margin-left:7px;"><?php echo ' ' . EZP_CS_Utility::__('If you have a caching plugin be sure to clear it.'); ?></strong></p></div>
59
+ <?php endif; ?>
60
+
61
+ <div class="postbox" style="margin-top:12px;" >
62
+ <div class="inside" >
63
+ <h3 ><?php EZP_CS_Utility::_e("Logo") ?></h3>
64
+ <table class="form-table">
65
+ <tr>
66
+ <th scope="row">
67
+ <?php echo EZP_CS_Utility::_e("Image") ?>
68
+ </th>
69
+ <td>
70
+ <div class="compound-setting">
71
+ <input id="easy-pie-cs-logo-url" name="logo_url" value="<?php echo $content->logo_url; ?>" />
72
+ <button id="easy-pie-cs-logo-button"><?php EZP_CS_Utility::_e("Upload"); ?></button>
73
+ <img id="easy-pie-cs-logo-preview" style="display: <?php echo $content->logo_url == '' ? 'none' : 'block' ?> ;width:80px;height:80px;margin-top:8px;" src="<?php echo $content->logo_url; ?>" />
74
+ </div>
75
+ </td>
76
+ </tr>
77
+ </table>
78
+ </div></div>
79
+
80
+ <div class="postbox" >
81
+ <div class="inside" >
82
+ <h3 ><?php EZP_CS_Utility::_e("Main Text") ?></h3>
83
+ <table class="form-table">
84
+ <tr>
85
+ <th scope="row">
86
+ <?php echo EZP_CS_Utility::_e("Headline") ?>
87
+ </th>
88
+ <td>
89
+ <div class="compound-setting">
90
+ <input class="long-input" name="headline" type="text" value="<?php EZP_CS_Utility::_he($content->headline); ?>" />
91
+ </div>
92
+ </td>
93
+ </tr>
94
+ <tr>
95
+ <th scope="row">
96
+ <?php echo EZP_CS_Utility::_e("Description") ?>
97
+ </th>
98
+ <td>
99
+ <div class="compound-setting">
100
+ <textarea rows="5" cols="67" name="description" type="text" ><?php EZP_CS_Utility::_he($content->description); ?></textarea>
101
+ </div>
102
+ </td>
103
+ </tr>
104
+ <tr>
105
+ <th scope="row">
106
+ <?php echo EZP_CS_Utility::_e("Disclaimer") ?>
107
+ </th>
108
+ <td>
109
+ <div class="compound-setting">
110
+ <input class="long-input" name="disclaimer" type="text" value="<?php EZP_CS_Utility::_he($content->disclaimer); ?>" />
111
+ </div>
112
+ </td>
113
+ </tr>
114
+ <tr>
115
+ <th scope="row">
116
+ <?php echo EZP_CS_Utility::_e("Footer") ?>
117
+ </th>
118
+ <td>
119
+ <div class="compound-setting">
120
+ <input class="long-input" name="footer" type="text" value="<?php EZP_CS_Utility::_he($content->footer); ?>" />
121
+ </div>
122
+ </td>
123
+ </tr>
124
+ </table>
125
+ </div></div>
126
+
127
+ <div class="postbox" >
128
+ <div class="inside" >
129
+ <h3><?php EZP_CS_Utility::_e("Email Text") ?></h3>
130
+
131
+ <table class="form-table">
132
+ <tr>
133
+ <th scope="row">
134
+ <?php echo EZP_CS_Utility::_e("Email Placeholder") ?>
135
+ </th>
136
+ <td>
137
+ <div class="compound-setting">
138
+ <input class="long-input" name="email_placeholder_text" type="text" value="<?php EZP_CS_Utility::_he($content->email_placeholder_text); ?>" />
139
+ </div>
140
+ </td>
141
+ </tr>
142
+ <tr>
143
+ <th scope="row">
144
+ <?php echo EZP_CS_Utility::_e("Name Placeholder") ?>
145
+ </th>
146
+ <td>
147
+ <div class="compound-setting">
148
+ <input class="long-input" name="name_placeholder_text" type="text" value="<?php EZP_CS_Utility::_he($content->name_placeholder_text); ?>" />
149
+ </div>
150
+ </td>
151
+ </tr>
152
+ <tr>
153
+ <th scope="row">
154
+ <?php echo EZP_CS_Utility::_e("Button") ?>
155
+ </th>
156
+ <td>
157
+ <div class="compound-setting">
158
+ <input name="email_button_text" type="text" value="<?php echo $content->email_button_text; ?>" />
159
+ </div>
160
+ </td>
161
+ </tr>
162
+ </table>
163
+ <div style="margin-top:17px"><span class="description"><?php echo '*' . EZP_CS_Utility::__('Section relevant only if email collection is enabled in settings'); ?></span></div>
164
+ </div>
165
+ </div>
166
+
167
+ <div class="postbox" >
168
+ <div class="inside" >
169
+ <h3 ><?php EZP_CS_Utility::_e("Thank You Text") ?></h3>
170
+ <table class="form-table">
171
+ <tr>
172
+ <th scope="row">
173
+ <?php echo EZP_CS_Utility::_e("Headline") ?>
174
+ </th>
175
+ <td>
176
+ <div class="compound-setting">
177
+ <input class="long-input" name="thank_you_headline" type="text" value="<?php EZP_CS_Utility::_he($content->thank_you_headline); ?>" />
178
+ </div>
179
+ </td>
180
+ </tr>
181
+
182
+ <tr>
183
+ <th scope="row">
184
+ <?php echo EZP_CS_Utility::_e("Text") ?>
185
+ </th>
186
+ <td>
187
+ <div class="compound-setting">
188
+ <textarea rows="5" cols="67" name="thank_you_description" type="text"><?php EZP_CS_Utility::_he($content->thank_you_description); ?></textarea>
189
+ </div>
190
+ </td>
191
+ </tr>
192
+ </table>
193
+ <div style="margin-top:17px"><span class="description"><?php echo '*' . EZP_CS_Utility::__('Section relevant only if email collection is enabled on the display tab'); ?></span></div>
194
+ </div></div>
pages/page-options-display-tab.php ADDED
@@ -0,0 +1,336 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ Easy Pie Coming Soon Plugin
4
+ Copyright (C) 2014, Synthetic Thought LLC
5
+ website: easypiewp.com contact: bob@easypiewp.com
6
+
7
+ Easy Pie Coming Soon Plugin is distributed under the GNU General Public License, Version 3,
8
+ June 2007. Copyright (C) 2007 Free Software Foundation, Inc., 51 Franklin
9
+ St, Fifth Floor, Boston, MA 02110, USA
10
+
11
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
12
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
13
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
14
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
15
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
16
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
17
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
18
+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
19
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
20
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
21
+ */
22
+ ?>
23
+
24
+ <style>
25
+ #easy-pie-cs-advanced h3 { cursor: default; margin-left:5px; margin-top:10px;}
26
+ #easy-pie-cs-advanced table { margin-left:10px;}
27
+ #easy-pie-cs-quick-config-div { margin-top: 10px; width: 670px; overflow:hidden;}
28
+
29
+ .template-image-holder { margin: 10px 10px 15px 10px; }
30
+ .template-image { width:200px; opacity:0.4; border: black 1px solid;}
31
+ .template-name { }
32
+ .template-button { margin-top: 10px!important; }
33
+ #easy-pie-cs-template-cancel-btn { }
34
+ #easy-pie-cs-template-copy-btn { float:right;}
35
+ #template-dialog {background-color:white; box-shadow: 1px 7px 36px -5px rgba(34,34,34,1); border: #777 1px solid; padding:13px}
36
+ #opacity-slider { margin-left:40px; width: 130px; }
37
+ #opacity-slider .ui-slider-handle { width: 8px; text-align: center; }
38
+
39
+ .ezp-cs-radiodiv { margin-bottom:10px;}
40
+
41
+ #easy-pie-cs-builtin-background-slider { width: 610px}
42
+ #easy-pie-cs-builtin-background-slider img { height:100px; width:100px; margin-right:10px; margin-top:7px;}
43
+ </style>
44
+
45
+ <!--<script type="text/javascript" src="<?php echo EZP_CS_Utility::$PLUGIN_URL . '/jquery-plugins/simple-modal/jquery.simplemodal.1.4.4.min.js?' . EZP_CS_Constants::PLUGIN_VERSION; ?>"></script>-->
46
+
47
+ <?php
48
+ $action_updated = null;
49
+
50
+ $global = EZP_CS_Global_Entity::get_instance();
51
+
52
+ $set_index = $global->active_set_index;
53
+
54
+ $set = EZP_CS_Set_Entity::get_by_id($set_index);
55
+
56
+ $display = EZP_CS_Display_Entity::get_by_id($set->display_index);
57
+
58
+ $error_string = "";
59
+
60
+
61
+ if (isset($_POST['action']) && $_POST['action'] == 'save') {
62
+
63
+ check_admin_referer('easy-pie-coming-soon-save-display');
64
+
65
+ EZP_CS_Utility::debug('past admin check');
66
+
67
+ // Artificially set the bools since they aren't part of the postback
68
+ $display->background_tiling_enabled = "false";
69
+
70
+ $error_string = $display->set_post_variables($_POST);
71
+
72
+ if ($error_string == "") {
73
+
74
+ $action_updated = $display->save();
75
+ }
76
+ }
77
+ ?>
78
+
79
+ <?php wp_nonce_field('easy-pie-coming-soon-save-display'); ?>
80
+ <input type="hidden" name="action" value="save"/>
81
+
82
+ <?php if ($error_string != "") : ?>
83
+ <div id="message" class="error below-h2"><p><?php echo EZP_CS_Utility::__('Errors present:') . "<br/> $error_string" ?></p></div>
84
+ <?php endif; ?>
85
+
86
+ <?php if ($action_updated) : ?>
87
+ <div id="message" class="updated below-h2"><p><span><?php echo EZP_CS_Utility::__('Settings Saved.'); ?></span><strong style="margin-left:7px;"><?php echo ' ' . EZP_CS_Utility::__('If you have a caching plugin be sure to clear it.'); ?></strong></p></div>
88
+ <?php endif; ?>
89
+
90
+
91
+ <!--<div class="postbox" style="margin-top:12px;">
92
+ <div class="inside" >
93
+ <h3><?php EZP_CS_Utility::_e("Display Template") ?></h3>
94
+ <button onclick="easyPie.CS.ShowTemplateDialog();
95
+ return false;"><?php EZP_CS_Utility::_e("Templates"); ?></button>
96
+ <div style="margin-top:4px;"><span class="description"><?php EZP_CS_Utility::_e('Templates give you a starting point for your display settings.'); ?></span></div>
97
+ </div>
98
+ </div>-->
99
+ <div class="postbox" style="margin-top:12px;">
100
+ <div class="inside" >
101
+ <h3><?php EZP_CS_Utility::_e("Background") ?></h3>
102
+ <table class="form-table">
103
+ <tr>
104
+ <th scope="row">
105
+ <?php echo EZP_CS_Utility::_e("Color") ?>
106
+ </th>
107
+ <td>
108
+ <div class="compound-setting">
109
+ <input name="background_color" class="spectrum-picker" type="text" value="<?php echo $display->background_color; ?>"/>
110
+ </div>
111
+ </td>
112
+ </tr>
113
+ <tr>
114
+ <th scope="row">
115
+ <?php echo EZP_CS_Utility::_e("Image") ?>
116
+ </th>
117
+ <td>
118
+ <div>
119
+ <span class="description"><?php echo EZP_CS_Utility::__('Instead of background color use one of these images') . ':'; ?></span>
120
+ </div>
121
+ <div class="ezp-cs-radiodiv">
122
+ <div class="compound-setting">
123
+ <div id="easy-pie-cs-builtin-background-slider">
124
+ <?php
125
+ $background_dir = EZP_CS_Utility::$PLUGIN_DIRECTORY . '/images/backgrounds/';
126
+
127
+ $file_paths = glob($background_dir . '*.{jpg,png}', GLOB_BRACE);
128
+
129
+ if ($file_paths != FALSE) {
130
+
131
+ sort($file_paths);
132
+ $image_index = 0;
133
+ $build_in_background = false;
134
+ foreach ($file_paths as $file_path) {
135
+
136
+ $image_id = "built-in-bg-image-$image_index";
137
+
138
+ $file_name = basename($file_path);
139
+ $file_url = EZP_CS_Utility::$PLUGIN_URL . "/images/backgrounds/$file_name";
140
+
141
+
142
+ if ($display->background_image_url != $file_url) {
143
+ $opacity = 0.3;
144
+ } else {
145
+ $opacity = 1.0;
146
+ $build_in_background = true;
147
+ }
148
+
149
+ echo "<img id='$image_id' src='$file_url' style='opacity:$opacity;cursor: pointer;'/>";
150
+
151
+ $image_index++;
152
+ }
153
+ }
154
+ ?>
155
+ </div>
156
+ </div>
157
+ </div>
158
+ <div class="ezp-cs-radiodiv">
159
+ <div>
160
+ <span class="description"><?php echo EZP_CS_Utility::__('or use your own') . ':'; ?></span>
161
+ </div>
162
+ <div class="compound-setting">
163
+ <input id="easy-pie-cs-background-image-url" name="background_image_url" value="<?php echo $display->background_image_url; ?>" />
164
+ <button id="easy-pie-cs-background-image-button"><?php EZP_CS_Utility::_e("Upload"); ?></button>
165
+ <img id="easy-pie-cs-background-image-preview" style="display: <?php echo ($build_in_background || $display->background_image_url == '') ? 'none' : 'block' ?> ;width:80px;height:80px;margin-top:8px;" src="<?php echo $display->background_image_url; ?>" />
166
+ </div>
167
+ </div>
168
+
169
+ </td>
170
+ </tr>
171
+ <tr>
172
+ <th scope="row">
173
+ <?php echo EZP_CS_Utility::_e("Tile") ?>
174
+ </th>
175
+ <td>
176
+ <div class="compound-setting">
177
+ <input type="checkbox" name="background_tiling_enabled" value="true" <?php echo $display->background_tiling_enabled == 'true' ? 'checked' : ''; ?> />
178
+ <span><?php EZP_CS_Utility::_e("Enabled") ?></span>
179
+ </div>
180
+ <div>
181
+ <span class="description"><?php echo EZP_CS_Utility::__('Image covers screen when tiling is disabled') . '.'; ?></span>
182
+ </div>
183
+ </td>
184
+ </tr>
185
+ </table>
186
+ </div>
187
+ </div>
188
+
189
+ <div class="postbox" >
190
+ <div class="inside" >
191
+ <h3><?php EZP_CS_Utility::_e("Logo") ?></h3>
192
+
193
+ <table class="form-table">
194
+ <tr>
195
+ <th scope="row">
196
+ <?php echo EZP_CS_Utility::_e("Width") ?>
197
+ </th>
198
+ <td>
199
+ <div class="compound-setting">
200
+ <input class='narrow-input' name="logo_width" type="text" value="<?php echo $display->logo_width; ?>" />
201
+ <span class="description"><?php echo '*' . EZP_CS_Utility::__('Specify px or %'); ?></span>
202
+ </div>
203
+ </td>
204
+ </tr>
205
+ <tr>
206
+ <th scope="row">
207
+ <?php echo EZP_CS_Utility::_e("Height") ?>
208
+ </th>
209
+ <td>
210
+ <div class="compound-setting">
211
+ <input class='narrow-input' name="logo_height" type="text" value="<?php echo $display->logo_height; ?>" />
212
+ <span class="description"><?php echo '*' . EZP_CS_Utility::__('Specify px or %'); ?></span>
213
+ </div>
214
+ </td>
215
+ </tr>
216
+ </table>
217
+ </div>
218
+ </div>
219
+
220
+
221
+ <div class="postbox" >
222
+ <div class="inside" >
223
+ <h3><?php EZP_CS_Utility::_e("Content Box") ?></h3>
224
+ <table class="form-table">
225
+ <tr>
226
+ <th scope="row">
227
+ <?php echo EZP_CS_Utility::_e("Opacity") ?>
228
+ </th>
229
+ <td>
230
+ <div class="compound-setting">
231
+ <div style="display:none;"><input class='narrow-input' id="content_box_opacity" name="content_box_opacity" type="text" value="<?php echo $display->content_box_opacity ?>" readonly="true"/> </div>
232
+ <div id="opacity-display-value" style="float:left;">hi</div>
233
+ <div style="padding-top:2px;"><div id="opacity-slider"></div></div>
234
+ </div>
235
+
236
+ </td>
237
+ </tr>
238
+ <tr>
239
+ <th scope="row">
240
+ <?php echo EZP_CS_Utility::_e("Color") ?>
241
+ </th>
242
+ <td>
243
+ <div class="compound-setting">
244
+ <input name="content_box_color" class="spectrum-picker" type="text" value="<?php echo $display->content_box_color ?>"/>
245
+ </div>
246
+ </td>
247
+ </tr>
248
+ </table>
249
+ </div>
250
+ </div>
251
+
252
+
253
+ <div class="postbox" >
254
+ <div class="inside" >
255
+ <h3><?php EZP_CS_Utility::_e("Text") ?></h3>
256
+ <table class="form-table">
257
+ <tr>
258
+ <?php EZP_CS_Display_Entity::display_font_field_row('Headline', 'text_headline', $display) ?>
259
+ </tr>
260
+ <tr>
261
+ <?php EZP_CS_Display_Entity::display_font_field_row('Description', 'text_description', $display) ?>
262
+ </tr>
263
+
264
+ <tr>
265
+ <?php EZP_CS_Display_Entity::display_font_field_row('Disclaimer', 'text_disclaimer', $display) ?>
266
+ </tr>
267
+ <tr>
268
+ <?php EZP_CS_Display_Entity::display_font_field_row('Footer', 'text_footer', $display) ?>
269
+ </tr>
270
+ </table>
271
+ <div><span class="description"><?php echo '*' . EZP_CS_Utility::__('Specify px or em for sizes'); ?></span></div>
272
+ </div>
273
+ </div>
274
+
275
+ <div class="postbox" >
276
+ <div class="inside" >
277
+
278
+ <h3 ><?php EZP_CS_Utility::_e("Email Button") ?></h3>
279
+ <table class="form-table">
280
+
281
+ <tr>
282
+ <th scope="row">
283
+ <?php echo EZP_CS_Utility::_e("Width") ?>
284
+ </th>
285
+ <td>
286
+ <div class="compound-setting">
287
+ <input class='narrow-input' name="email_button_width" type="text" value="<?php echo $display->email_button_width; ?>" />
288
+ <span class="description"><?php echo '*' . EZP_CS_Utility::__('Append px or %'); ?></span>
289
+ </div>
290
+ </td>
291
+ </tr>
292
+ <tr>
293
+ <th scope="row">
294
+ <?php echo EZP_CS_Utility::_e("Height") ?>
295
+ </th>
296
+ <td>
297
+ <div class="compound-setting">
298
+ <input class='narrow-input' name="email_button_height" type="text" value="<?php echo $display->email_button_height; ?>" />
299
+ <span class="description"><?php echo '*' . EZP_CS_Utility::__('Append px or %'); ?></span>
300
+ </div>
301
+ </td>
302
+ </tr>
303
+ <tr>
304
+ <?php echo EZP_CS_Display_Entity::display_font_field_row("Font", 'email_button', $display); ?>
305
+ </tr>
306
+ <tr>
307
+ <th scope="row">
308
+ <?php echo EZP_CS_Utility::_e("Color") ?>
309
+ </th>
310
+ <td>
311
+ <div class="compound-setting">
312
+ <input name="email_button_color" class="spectrum-picker" type="text" value="<?php echo $display->email_button_color; ?>"/>
313
+ </div>
314
+ </td>
315
+ </tr>
316
+ </table>
317
+ </div>
318
+ </div>
319
+
320
+
321
+ <div class="postbox" >
322
+ <div class="inside" >
323
+ <h3 style="float:left;" ><span style="font-weight:bold"><?php EZP_CS_Utility::_e('Advanced'); ?><span></h3>
324
+ <table class="form-table">
325
+ <tr valign="top">
326
+ <th scope="row"><?php EZP_CS_Utility::_e("Custom CSS") ?></th><td>
327
+ <div>
328
+ <textarea cols="67" rows="9" id="easy-pie-cs-field-junk" name="css"><?php echo $display->css; ?></textarea>
329
+ </div>
330
+ </td>
331
+ </tr>
332
+ </table>
333
+
334
+ <div style="margin-top:4px;"><a target="_blank" href="http://easypiewp.com/coming-soon-plugin-css-tips"><span class="description"><?php EZP_CS_Utility::_e('CSS Customization tips'); ?></span></a></div>
335
+ </div>
336
+ </div>
pages/page-options-settings.php ADDED
@@ -0,0 +1,252 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ Easy Pie Coming Soon Plugin
4
+ Copyright (C) 2014, Synthetic Thought LLC
5
+ website: easypiewp.com contact: bob@easypiewp.com
6
+
7
+ Easy Pie Coming Soon Plugin is distributed under the GNU General Public License, Version 3,
8
+ June 2007. Copyright (C) 2007 Free Software Foundation, Inc., 51 Franklin
9
+ St, Fifth Floor, Boston, MA 02110, USA
10
+
11
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
12
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
13
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
14
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
15
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
16
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
17
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
18
+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
19
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
20
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
21
+ */
22
+ ?>
23
+
24
+ <style lang="text/css">
25
+ .compound-setting { line-height:20px;}
26
+ .narrow-input { width:66px;}
27
+ .long-input { width: 345px;}
28
+ </style>
29
+
30
+ <div class="wrap">
31
+
32
+ <?php screen_icon(EZP_CS_Constants::PLUGIN_SLUG); ?>
33
+ <h2>Easy Pie Coming Soon: <?php EZP_CS_Utility::_e('Settings') ?></h2>
34
+ <?php
35
+ if (isset($_GET['settings-updated'])) {
36
+ echo "<div class='updated'><p>" . EZP_CS_Utility::__('If you have a caching plugin, be sure to clear the cache!') . "</p></div>";
37
+ }
38
+ ?>
39
+ <div id="easypie-cs-options" class="inside">
40
+ <form id="easy-pie-cs-main-form" method="post" action="<?php echo admin_url('admin.php?page=' . EZP_CS_Constants::$SETTINGS_SUBMENU_SLUG); ?>" >
41
+ <?php
42
+ $action_updated = null;
43
+
44
+ $global = EZP_CS_Global_Entity::get_instance();
45
+
46
+ $config = EZP_CS_Config_Entity::get_by_id($global->config_index);
47
+
48
+ $error_string = "";
49
+
50
+ if (isset($_POST['action']) && $_POST['action'] == 'save') {
51
+
52
+ check_admin_referer('easy-pie-coming-soon-save-settings');
53
+
54
+ // Artificially set the bools since they aren't part of the postback
55
+ $config->collect_email = false;
56
+ $config->collect_name = false;
57
+
58
+ $error_string = $config->set_post_variables($_POST);
59
+
60
+ if ($error_string == "") {
61
+
62
+ $config->fix_url_fields();
63
+
64
+ $action_updated = $config->save();
65
+ }
66
+ }
67
+ ?>
68
+
69
+ <?php wp_nonce_field('easy-pie-coming-soon-save-settings'); ?>
70
+ <input type="hidden" name="action" value="save"/>
71
+ <?php
72
+ if ($config->coming_soon_mode_on) {
73
+ EZP_CS_Utility::display_admin_notice();
74
+ }
75
+
76
+ if ($error_string != "") :
77
+ ?>
78
+ <div id="message" class="error below-h2"><p><?php echo EZP_CS_Utility::__('Errors present:') . "<br/> $error_string" ?></p></div>
79
+ <?php endif; ?>
80
+
81
+ <?php if ($action_updated) : ?>
82
+ <div id="message" class="updated below-h2"><p><span><?php echo EZP_CS_Utility::__('Settings Saved.'); ?></span><strong style="margin-left:7px;"><?php echo ' ' . EZP_CS_Utility::__('If you have a caching plugin be sure to clear it.'); ?></strong></p></div>
83
+ <?php endif; ?>
84
+
85
+ <div class="postbox" style="margin-top:12px;" >
86
+ <div class="inside" >
87
+ <h3 ><?php EZP_CS_Utility::_e("General") ?></h3>
88
+ <table class="form-table">
89
+ <tr>
90
+ <th scope="row">
91
+ <?php echo EZP_CS_Utility::_e("Status") ?>
92
+ </th>
93
+ <td>
94
+ <div class="compound-setting">
95
+ <input type="radio" name="coming_soon_mode_on" value="true" <?php echo $config->coming_soon_mode_on ? 'checked' : ''; ?>/><span><?php echo EZP_CS_Utility::__('On'); ?></span>
96
+ <input type="radio" name="coming_soon_mode_on" value="" <?php echo $config->coming_soon_mode_on ? '' : 'checked'; ?>/><span><?php echo EZP_CS_Utility::__('Off'); ?></span>
97
+ </div>
98
+ </td>
99
+ </tr>
100
+ </table>
101
+ </div>
102
+ </div>
103
+
104
+ <div class="postbox" style="margin-top:12px;" >
105
+ <div class="inside" >
106
+ <h3 ><?php EZP_CS_Utility::_e("Collection") ?></h3>
107
+ <table class="form-table">
108
+ <tr>
109
+ <th scope="row">
110
+ <?php echo EZP_CS_Utility::_e("Collect Email") ?>
111
+ </th>
112
+ <td>
113
+ <div class="compound-setting">
114
+ <input type="checkbox" name="collect_email" <?php echo $config->collect_email ? 'checked' : ''; ?> />
115
+ <span><?php EZP_CS_Utility::_e("Yes") ?></span>
116
+ </div>
117
+ </td>
118
+ </tr>
119
+ <tr>
120
+ <th scope="row">
121
+ <?php echo EZP_CS_Utility::_e("Collect Name") ?>
122
+ </th>
123
+ <td>
124
+ <div class="compound-setting">
125
+ <input type="checkbox" name="collect_name" <?php echo $config->collect_name ? 'checked' : ''; ?> />
126
+ <span><?php EZP_CS_Utility::_e("Yes") ?></span>
127
+ </div>
128
+ </td>
129
+ </tr>
130
+ </table>
131
+ </div>
132
+ </div>
133
+
134
+ <div class="postbox" >
135
+ <div class="inside" >
136
+ <h3 ><?php EZP_CS_Utility::_e("HTTP") ?></h3>
137
+ <table class="form-table">
138
+ <tr>
139
+ <th scope="row">
140
+ <?php echo EZP_CS_Utility::_e("Return Code") ?>
141
+ </th>
142
+ <td>
143
+ <div class="compound-setting">
144
+ <input type="radio" name="return_code" value="200" <?php echo $config->return_code == 200 ? 'checked' : ''; ?> /><?php echo EZP_CS_Utility::_e("200") ?>
145
+ <input type="radio" name="return_code" value="503" <?php echo $config->return_code == 503 ? 'checked' : ''; ?> /><?php echo EZP_CS_Utility::_e("503") ?>
146
+ </div>
147
+ </td>
148
+ </tr>
149
+ </table>
150
+ </div></div>
151
+
152
+ <div class="postbox" >
153
+ <div class="inside" >
154
+ <h3><?php EZP_CS_Utility::_e("Social") ?></h3>
155
+ <table class="form-table">
156
+ <tr>
157
+ <th scope="row">
158
+ <?php echo EZP_CS_Utility::_e("Facebook URL") ?>
159
+ </th>
160
+ <td>
161
+ <div class="compound-setting">
162
+ <input class="long-input" name="facebook_url" type="text" value="<?php echo $config->facebook_url; ?>" />
163
+ </div>
164
+ </td>
165
+ </tr>
166
+ <tr>
167
+ <th scope="row">
168
+ <?php echo EZP_CS_Utility::_e("Google Plus URL") ?>
169
+ </th>
170
+ <td>
171
+ <div class="compound-setting">
172
+ <input class="long-input" name="google_plus_url" type="text" value="<?php echo $config->google_plus_url; ?>" />
173
+ </div>
174
+ </td>
175
+ </tr>
176
+ <tr>
177
+ <th scope="row">
178
+ <?php echo EZP_CS_Utility::_e("Twitter URL") ?>
179
+ </th>
180
+ <td>
181
+ <div class="compound-setting">
182
+ <input class="long-input" name="twitter_url" type="text" value="<?php echo $config->twitter_url; ?>" />
183
+ </div>
184
+ </td>
185
+ </tr>
186
+ </table>
187
+ </div>
188
+ </div>
189
+
190
+ <div class="postbox" >
191
+ <div class="inside" >
192
+ <h3><?php EZP_CS_Utility::_e("SEO") ?></h3>
193
+ <table class="form-table">
194
+ <tr>
195
+ <th scope="row">
196
+ <?php echo EZP_CS_Utility::_e("Author URL") ?>
197
+ </th>
198
+ <td>
199
+ <div class="compound-setting">
200
+ <input class="long-input" name="author_url" type="text" value="<?php echo $config->author_url; ?>" />
201
+ <div><span class="description"><?php EZP_CS_Utility::_e('Google+ or other identifying URL'); ?></span></div>
202
+ </div>
203
+ </td>
204
+ </tr>
205
+ <tr>
206
+ <th scope="row">
207
+ <?php echo EZP_CS_Utility::_e("Meta Description") ?>
208
+ </th>
209
+ <td>
210
+ <div class="compound-setting">
211
+ <textarea rows="5" cols="60" name="meta_description" type="text" ><?php echo EZP_CS_Utility::_he($config->meta_description); ?></textarea>
212
+ </div>
213
+ </td>
214
+ </tr>
215
+ <tr>
216
+ <th scope="row">
217
+ <?php echo EZP_CS_Utility::_e("Meta Keywords") ?>
218
+ </th>
219
+ <td>
220
+ <div class="compound-setting">
221
+ <input class="long-input" name="meta_keywords" type="text" value="<?php echo $config->meta_keywords; ?>" />
222
+ <div><span class="description"><?php EZP_CS_Utility::_e('Comma separated list'); ?></span></div>
223
+ </div>
224
+ </td>
225
+ </tr>
226
+ <tr>
227
+ <th scope="row">
228
+ <?php echo EZP_CS_Utility::_e("Analytics Code") ?>
229
+ </th>
230
+ <td>
231
+ <div class="compound-setting">
232
+ <textarea rows="5" cols="60" name="analytics_code" type="text" ><?php echo EZP_CS_Utility::_he($config->analytics_code); ?></textarea>
233
+ <div><span class="description"><?php echo EZP_CS_Utility::__('Analytics tracking code') . ' (' . EZP_CS_Utility::__('include') . '&lt;script&gt;&lt;/script&gt;)'; ?></span></div>
234
+ </div>
235
+ </td>
236
+ </tr>
237
+ </table>
238
+ </div>
239
+ </div>
240
+
241
+ <?php
242
+ submit_button();
243
+ ?>
244
+ <a href="http://easypiewp.com/easy-pie-coming-soon-faq" target="_blank"><?php EZP_CS_Utility::_e('Plugin FAQ'); ?></a>
245
+ |
246
+ <a href="http://easypiewp.com/about/" target="_blank"><?php echo EZP_CS_Utility::__('Contact') . ' Bob'; ?></a>
247
+ |
248
+ <a href="http://easypiewp.com/donate/" target="_blank"><?php EZP_CS_Utility::_e('Donate') ?></a>
249
+ </form>
250
+ </div>
251
+ </div>
252
+
pages/page-options-subscribers.php ADDED
@@ -0,0 +1,183 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ Easy Pie Coming Soon Plugin
4
+ Copyright (C) 2014, Synthetic Thought LLC
5
+ website: easypiewp.com contact: bob@easypiewp.com
6
+
7
+ Easy Pie Coming Soon Plugin is distributed under the GNU General Public License, Version 3,
8
+ June 2007. Copyright (C) 2007 Free Software Foundation, Inc., 51 Franklin
9
+ St, Fifth Floor, Boston, MA 02110, USA
10
+
11
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
12
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
13
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
14
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
15
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
16
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
17
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
18
+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
19
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
20
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
21
+ */
22
+ ?>
23
+
24
+ <script type="text/javascript" src='<?php echo EZP_CS_Utility::$PLUGIN_URL . "/js/page-options-subscribers.js?" . EZP_CS_Constants::PLUGIN_VERSION; ?>'></script>
25
+
26
+ <style lang="text/css">
27
+ .compound-setting { line-height:20px;}
28
+ .narrow-input { width:66px;}
29
+ .long-input { width: 345px;}
30
+
31
+ #easypie-cs-subscriber-table {font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif;
32
+ font-size: 12px;
33
+ background: #fff;
34
+ width: 100%;
35
+ border-collapse: collapse;
36
+ text-align: left;
37
+ margin: 20px;}
38
+ #easypie-cs-subscriber-table th {
39
+ font-weight:bold;
40
+ text-decoration: underline;
41
+ padding-bottom: 4px;
42
+ padding-left:10px;
43
+ width: 150px;
44
+ text-align:left;
45
+
46
+ }
47
+
48
+ #easypie-cs-subscriber-table td {
49
+ border-bottom: 1px solid #ccc;
50
+ color: #669;
51
+ padding-bottom: 4px;
52
+ padding-left:10px;
53
+ text-align:left;
54
+ max-width: 150px;
55
+ width: 150px;
56
+ text-overflow: ellipsis;
57
+ overflow: hidden;
58
+
59
+ }
60
+
61
+ #easypie-cs-subscriber-table button {
62
+ float:right;
63
+ /*padding: 6px 8px;*/
64
+ }
65
+
66
+ #easy-pie-cs-subscriber-controls {
67
+ text-align:left;
68
+ margin-left:15px;
69
+ }
70
+
71
+ #easy-pie-cs-postbox-inside { width: 550px; }
72
+
73
+ #easy-pie-cs-delete-confirm { display:none; }
74
+
75
+ #easy-pie-cs-subscriber-delete-column { width: 30px!important;}
76
+ </style>
77
+
78
+ <div class="wrap">
79
+
80
+ <?php screen_icon(EZP_CS_Constants::PLUGIN_SLUG); ?>
81
+ <h2>Easy Pie Coming Soon: <?php EZP_CS_Utility::_e('Subscribers') ?></h2>
82
+ <div id="easypie-cs-options" class="inside">
83
+
84
+ <?php
85
+ $_wpnonce = wp_create_nonce('easy-pie-cs-change-subscribers');
86
+ $current_page_idx = 0;
87
+ $prev_page_idx = 0;
88
+ $next_page_idx = 1;
89
+
90
+ if (isset($_GET['page_idx'])) {
91
+
92
+ $current_page_idx = $_GET['page_idx'];
93
+ $prev_page_idx = $current_page_idx > 0 ? $current_page_idx - 1 : 0;
94
+ $next_page_idx = $current_page_idx + 1;
95
+ }
96
+
97
+ $subscribers = EZP_CS_Query_Utility::get_subscriber_list($current_page_idx);
98
+
99
+ $next_url = admin_url("admin.php?page=easy-pie-coming-soon-subscribers&page_idx=$next_page_idx");
100
+ $prev_url = admin_url("admin.php?page=easy-pie-coming-soon-subscribers&page_idx=$prev_page_idx");
101
+
102
+ if ($current_page_idx == 0) {
103
+
104
+ $prev_disabled = 'disabled';
105
+ } else {
106
+
107
+ $prev_disabled = '';
108
+ }
109
+
110
+ $num_pages = EZP_CS_Query_Utility::get_subscriber_pages();
111
+
112
+ if ($next_page_idx >= $num_pages) {
113
+
114
+ $next_disabled = 'disabled';
115
+ } else {
116
+
117
+ $next_disabled = '';
118
+ }
119
+
120
+ if ($num_pages == 0) {
121
+
122
+ $controls_display = 'none';
123
+ } else {
124
+
125
+ $controls_display = 'block';
126
+ }
127
+ ?>
128
+ <div class="postbox" style="margin-top:12px;" >
129
+ <div class="inside" id="easy-pie-cs-postbox-inside" >
130
+
131
+ <table id="easypie-cs-subscriber-table">
132
+ <tr>
133
+ <th><?php EZP_CS_Utility::_e('Name'); ?></th>
134
+ <th><?php EZP_CS_Utility::_e('Email'); ?></th>
135
+ <th><?php EZP_CS_Utility::_e('Date'); ?></th>
136
+ <th id='easy-pie-cs-subscriber-delete-column'><?php EZP_CS_Utility::_e('Delete'); ?></th>
137
+ </tr>
138
+
139
+ <?php
140
+ foreach ($subscribers as $subscriber) {
141
+
142
+ if ($subscriber->subscription_date != '') {
143
+ $localized_date = date_i18n(get_option('date_format'), strtotime($subscriber->subscription_date));
144
+ } else {
145
+ $localized_date = EZP_CS_Utility::__('unknown');
146
+ }
147
+ // $localized_date = strtotime($subscriber->subscription_date);
148
+
149
+ $delete = EZP_CS_Utility::__('Delete');
150
+ $confirm_text = trim($subscriber->friendly_name) == '' ? EZP_CS_Utility::__("Delete user with email $subscriber->email_address?") : EZP_CS_Utility::__("Delete $subscriber->friendly_name?");
151
+ $yes_text = EZP_CS_Utility::__('Yes');
152
+ $no_text = EZP_CS_Utility::__('No');
153
+ $delete_text = EZP_CS_Utility::__('Delete');
154
+ $scrubbed_email = esc_html($subscriber->email_address);
155
+ $scrubbed_name = esc_html($subscriber->friendly_name);
156
+
157
+ echo "<tr><td title='$scrubbed_name'>$scrubbed_name</td><td title='$scrubbed_email'><a target='_blank' href='mailto:$scrubbed_email'>$scrubbed_email</a></td><td>$localized_date</td><td><a href='#' onclick='easyPie.CS.PurgeContact(\"$confirm_text\", \"$yes_text\", \"$no_text\", $subscriber->contact_id, \"$_wpnonce\", function() { location.reload(); });return false;'><span title='$delete_text' class='ui-icon ui-icon-closethick'></a></tr>";
158
+ }
159
+ ?>
160
+ </table>
161
+ <div id="easy-pie-cs-subscriber-controls" style="display: <?php echo $controls_display; ?>">
162
+ <button id="btn-prev" <?php echo $prev_disabled; ?> name="submit" type="submit" value="previous" onclick="window.location = '<?php echo $prev_url; ?>';
163
+ return false;"><span style='float:left; margin-top:1px' class="ui-icon ui-icon-triangle-1-w"></span><?php EZP_CS_Utility::_e("Prev"); ?></button>
164
+ <span ><?php echo EZP_CS_Utility::__('Page') . ' ' . ($current_page_idx + 1) . ' ' . EZP_CS_Utility::__('of') . ' '. $num_pages; ?></span>
165
+ <button id="btn-next" <?php echo $next_disabled; ?> name="submit" type="submit" value="next" onclick="window.location = '<?php echo $next_url; ?>';
166
+ return false;"><?php EZP_CS_Utility::_e("Next"); ?><span style='float:right; margin-top:1px' class="ui-icon ui-icon-triangle-1-e"></span></button>
167
+ <button id="btn-export" style='float:right' type="button" onclick="location.href = ajaxurl + '?action=EZP_CS_export_all_subscribers&_wpnonce=<?php echo $_wpnonce; ?>';
168
+ return false;"><?php EZP_CS_Utility::_e('CSV Export All'); ?></button>
169
+ </div>
170
+
171
+
172
+
173
+ </div>
174
+ </div>
175
+ </div>
176
+ <div id="easy-pie-cs-delete-confirm" title="<?php EZP_CS_Utility::_e('Delete User?'); ?>" >
177
+ <p><span class="ui-icon ui-icon-alert" style="float:left; margin:0 7px 20px 0;"></span><span id='easy-pie-cs-delete-confirm-text'></span></p>
178
+ </div>
179
+ <a href="http://easypiewp.com/easy-pie-coming-soon-faq" target="_blank"><?php EZP_CS_Utility::_e('Plugin FAQ'); ?></a>
180
+ |
181
+ <a href="http://easypiewp.com/about/" target="_blank"><?php echo EZP_CS_Utility::__('Contact') . ' Bob'; ?></a>
182
+ |
183
+ <a href="http://easypiewp.com/donate/" target="_blank"><?php EZP_CS_Utility::_e('Donate') ?></a>
pages/page-options.php ADDED
@@ -0,0 +1,86 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ Easy Pie Coming Soon Plugin
4
+ Copyright (C) 2014, Synthetic Thought LLC
5
+ website: easypiewp.com contact: bob@easypiewp.com
6
+
7
+ Easy Pie Coming Soon Plugin is distributed under the GNU General Public License, Version 3,
8
+ June 2007. Copyright (C) 2007 Free Software Foundation, Inc., 51 Franklin
9
+ St, Fifth Floor, Boston, MA 02110, USA
10
+
11
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
12
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
13
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
14
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
15
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
16
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
17
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
18
+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
19
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
20
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
21
+ */
22
+ ?>
23
+ <?php
24
+ if( isset( $_GET[ 'tab' ] ) ) {
25
+
26
+ $active_tab = $_GET[ 'tab' ];
27
+ } else {
28
+
29
+ $active_tab = 'display';
30
+ }
31
+ ?>
32
+
33
+ <script type="text/javascript" src='<?php echo EZP_CS_Utility::$PLUGIN_URL . "/js/page-options-$active_tab-tab.js?" . EZP_CS_Constants::PLUGIN_VERSION; ?>'></script>
34
+
35
+ <style lang="text/css">
36
+ .compound-setting { line-height:20px;}
37
+ .narrow-input { width:66px;}
38
+ .long-input { width: 345px;}
39
+ </style>
40
+
41
+ <div class="wrap">
42
+
43
+ <?php screen_icon(EZP_CS_Constants::PLUGIN_SLUG); ?>
44
+ <h2>Easy Pie Coming Soon: <?php EZP_CS_Utility::_e('Template'); ?></h2>
45
+ <?php
46
+ if (isset($_GET['settings-updated'])) {
47
+ echo "<div class='updated'><p>" . EZP_CS_Utility::__('If you have a caching plugin, be sure to clear the cache!') . "</p></div>";
48
+ }
49
+
50
+ ?>
51
+ <div id="easypie-cs-options" class="inside">
52
+ <h2 class="nav-tab-wrapper">
53
+ <a href="?page=<?php echo EZP_CS_Constants::PLUGIN_SLUG . '&tab=display' ?>" class="nav-tab <?php echo $active_tab == 'display' ? 'nav-tab-active' : ''; ?>"><?php EZP_CS_Utility::_e('Display');?></a>
54
+ <a href="?page=<?php echo EZP_CS_Constants::PLUGIN_SLUG . '&tab=content' ?>" class="nav-tab <?php echo $active_tab == 'content' ? 'nav-tab-active' : ''; ?>"><?php EZP_CS_Utility::_e('Content');?></a>
55
+ </h2>
56
+ <form id="easy-pie-cs-main-form" method="post" action="<?php echo admin_url( 'admin.php?page=' . EZP_CS_Constants::PLUGIN_SLUG . '&tab=' . $active_tab ); ?>" >
57
+ <?php
58
+ // settings_fields(EZP_CS_Constants::MAIN_PAGE_KEY);
59
+ //do_settings_sections(EZP_CS_Constants::MAIN_PAGE_KEY);
60
+ ?>
61
+ <div id='tab-holder'>
62
+ <?php
63
+ if($active_tab == 'display') {
64
+ include 'page-options-display-tab.php';
65
+ }
66
+ else {
67
+ include 'page-options-content-tab.php';
68
+ }
69
+
70
+ ?>
71
+ </div>
72
+
73
+ <?php
74
+ submit_button();
75
+ ?>
76
+
77
+ <a href="http://easypiewp.com/easy-pie-coming-soon-faq" target="_blank"><?php EZP_CS_Utility::_e('Plugin FAQ');?></a>
78
+ |
79
+ <a href="http://easypiewp.com/about/" target="_blank"><?php echo EZP_CS_Utility::__('Contact') . ' Bob';?></a>
80
+ |
81
+ <a href="http://easypiewp.com/donate/" target="_blank"><?php EZP_CS_Utility::_e('Donate') ?></a>
82
+ </form>
83
+ </div>
84
+ </div>
85
+
86
+
pages/page-preview.php ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ Easy Pie Coming Soon Plugin
4
+ Copyright (C) 2014, Synthetic Thought LLC
5
+ website: easypiewp.com contact: bob@easypiewp.com
6
+
7
+ Easy Pie Coming Soon Plugin is distributed under the GNU General Public License, Version 3,
8
+ June 2007. Copyright (C) 2007 Free Software Foundation, Inc., 51 Franklin
9
+ St, Fifth Floor, Boston, MA 02110, USA
10
+
11
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
12
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
13
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
14
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
15
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
16
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
17
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
18
+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
19
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
20
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
21
+ */
22
+ $relative_page_path = '/mini-themes/base-responsive/index.php';
23
+
24
+ $__dir__ = dirname(__FILE__);
25
+
26
+ $page_url = get_site_url() . '?ezp_cs_preview=true'
27
+
28
+ //header( "Location: $page_url" ) ;
29
+
30
+ ?>
31
+ <h2>Easy Pie Coming Soon: <?php EZP_CS_Utility::_e('Preview') ?></h2>
32
+ <iframe style="margin-top:20px; margin-left: 15px; width:80%; height: 600px" src="<?php echo $page_url; ?>"/>
33
+
readme.txt ADDED
@@ -0,0 +1,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ === Easy Pie Coming Soon ===
2
+ Contributors: bobriley
3
+ Donate link: http://easypiewp.com/donate/
4
+ Tags: coming soon, coming soon page, construction, landing page, launch, launch page, maintenance, maintenance mode, offline, unavailable, under construction, newsletter, email, facebook, twitter, googleplus
5
+ Requires at least: 3.5
6
+ Tested up to: 3.9
7
+ Stable tag: 0.5.0
8
+ License: GPLv3
9
+ License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
+
11
+ Easily let website visitors know that your website will be coming soon - and collect emails while it's down!
12
+
13
+ == Description ==
14
+ Need to let your visitors know your site is being worked on while you gather email addresses? The Easy Pie Coming Soon plugin makes it easy.
15
+
16
+ ### Basic Features
17
+ * **Announce your site is 'coming soon'** Inform visitors that your site is coming soon.
18
+ * **Collect Emails** Gather name and emails from site visitors!
19
+ * **Social Support** Show icons and links to Facebook, Twitter, and Google+.
20
+ * **Fully Responsive** Looks great on everything from cell phones to tablets to desktops.
21
+ * **No HTML or CSS required.** Don't know HTML or CSS? No problem. The plugin easly lets non-techies make a great looking coming soon page.
22
+ * **Built in backgrounds.** Includes several nice looking backgrounds.
23
+ * **Use your own background.** You don't like the included backgrounds? No problem - use your own!
24
+ * **Add your own logo.** Easily add your own logo using the WordPress Media Library.
25
+ * **Preview.** Preview your Coming Soon page before making it live!
26
+
27
+ ### Advanced Features
28
+ * **Export Email Addresses to CSV** Need to get the emails into a site like MailChimp, AWeber or some other external system? No problem - simply use CSV export option!
29
+ * **Custom CSS.** Easily add CSS from the Admin page to customize the look and feel.
30
+
31
+ == Installation ==
32
+
33
+ 1. Click Plugins/Add New from the WordPress admin panel
34
+ 1. Search for "easy pie Coming Soon" and install
35
+
36
+ -or-
37
+
38
+ 1. Download the .zip package
39
+ 1. Unzip into the subdirectory 'easy-pie-coming-soon' within your local WordPress plugins directory
40
+ 1. Refresh plugin page and activate plugin
41
+ 1. Configure plugin using *settings* link under plugin name or by going to Settings/Coming Soon
42
+
43
+ == Frequently Asked Questions ==
44
+
45
+ = Why is my site is still viewable even though I've turned on Coming Soon? =
46
+ Coming Soon is only shown to visitors who are not logged in. To verify, use a different browser type than the one you're logged in with to see what Visitors see when they visit (i.e. if you're logged in with Chrome, view the site in Firefox or Internet Explorer or vice versa).
47
+
48
+ Alternatively, you view your site using the private mode of the same browser.
49
+
50
+ = What happens if a search engine hits my site while it's in Coming Soon? =
51
+
52
+ It depends on the 'Return Code' setting on the Settings Page.
53
+
54
+ If set to the default of '503' search engines visiting your site will be returned a '503' status with 'retry later' HTTP header when in Coming Soon. This lets search engines know that your site is temporarily down and to come back 24 hours later.
55
+
56
+ If you have this set to '200' the search engine will think that this is your normal site and index it, potentially replacing your regular site information in the search engine. Because of this, it's recommended that you leave this setting at '503' unless you fully understand the ramifications of switching to '200'.
57
+
58
+ = I can't get out of Coming Soon. Help! =
59
+
60
+ Every once in a great while other plugins installed on a system can interact with Coming Soon to prevent access to wp-admin. If you find yourself in this unfortunate situation, [please contact me](mailto:bob@easypiewp.com).
61
+
62
+ = I found a bug or have seen other plugins interfere with Coming Soon. What should I do? =
63
+
64
+ Please capture as much information you can about your system, specifically use the error log to gather new information if you are comfortable. The [Easy Pie Error Log Guide](http://easypiewp.com/quickly-diagnose-wordpress-problems-using-error-log/) outlines how to do this.
65
+ Then, please [let me know](mailto:bob@easypiewp.com) what's going on, with as much detail as you have.
66
+
67
+ == Screenshots ==
68
+
69
+ 1. Example page
70
+ 2. Display configuration
71
+ 3. Content configuration
72
+ 4. Settings
73
+ 5. Subscriber list
74
+
75
+ == Changelog ==
76
+
77
+ = 0.5.0 =
78
+ * Initial release
79
+
80
+ == Upgrade Notice ==
81
+
82
+ = 0.5.0 =
83
+ * Initial release
styles/easy-pie-cs-styles.css ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ Document : styles.css
3
+ Created on : Oct 3, 2013, 8:40:59 AM
4
+ Author : Play
5
+ Description:
6
+ Purpose of the stylesheet follows.
7
+ */
8
+
9
+ #icon-easy-pie-coming-soon {
10
+ background: transparent url( '../images/easy-pie-cs-logo32.png' ) no-repeat;
11
+ }
12
+
13
+ .color-selector {
14
+ vertical-align: middle;
15
+ }
16
+ /*.bx-viewport { border-bottom: solid #AAA 1px; border-top: solid #AAA 1px;}*/
17
+
18
+ .bx-wrapper { margin: 0 0 20px 0!important }
19
+ #easy-pie-cs-bxslider-pager img { margin-top:-10px; margin-right:1px; border: 1px solid #AAA; height:71px; width:98%;}
20
+
21
+ .bx-prev { left: -45px!important;}
22
+ .bx-next { right: -45px!important;}
23
+
24
+ /*
25
+ old pager
26
+ #easy-pie-cs-bxpager {
27
+ text-align: center;
28
+ max-width: 100%;
29
+ margin-top: -44px;
30
+ }
31
+
32
+ #easy-pie-cs-bxpager a {
33
+ margin: 0 3px;
34
+ }
35
+
36
+ #easy-pie-cs-bxpager a img {
37
+ padding: 3px;
38
+ border: solid #ccc 2px;
39
+ width: 120px;
40
+ height: 80px;
41
+ }
42
+
43
+ #easy-pie-cs-bxpager a:hover img,
44
+ #easy-pie-cs-bxpager a.active img {
45
+ border: solid #5280DD 2px;
46
+ }*/
47
+
48
+
49
+
styles/images/controls.png ADDED
Binary file
styles/jquery.bxslider.css ADDED
@@ -0,0 +1,197 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * BxSlider v4.0 - Fully loaded, responsive content slider
3
+ * http://bxslider.com
4
+ *
5
+ * Written by: Steven Wanderski, 2012
6
+ * http://stevenwanderski.com
7
+ * (while drinking Belgian ales and listening to jazz)
8
+ *
9
+ * CEO and founder of bxCreative, LTD
10
+ * http://bxcreative.com
11
+ */
12
+
13
+
14
+ /** RESET AND LAYOUT
15
+ ===================================*/
16
+
17
+ .bx-wrapper {
18
+ position: relative;
19
+ margin: 0 auto 60px;
20
+ padding: 0;
21
+ *zoom: 1;
22
+ }
23
+
24
+ .bx-wrapper img {
25
+ max-width: 100%;
26
+ display: block;
27
+ }
28
+
29
+ /** THEME
30
+ ===================================*/
31
+
32
+ .bx-wrapper .bx-viewport {
33
+ -moz-box-shadow: 0 0 5px #ccc;
34
+ -webkit-box-shadow: 0 0 5px #ccc;
35
+ box-shadow: 0 0 5px #ccc;
36
+ border: solid #fff 5px;
37
+ left: -5px;
38
+ background: #fff;
39
+ }
40
+
41
+ .bx-wrapper .bx-pager,
42
+ .bx-wrapper .bx-controls-auto {
43
+ position: absolute;
44
+ bottom: -30px;
45
+ width: 100%;
46
+ }
47
+
48
+ /* LOADER */
49
+
50
+ .bx-wrapper .bx-loading {
51
+ min-height: 50px;
52
+ background: url(images/bx_loader.gif) center center no-repeat #fff;
53
+ height: 100%;
54
+ width: 100%;
55
+ position: absolute;
56
+ top: 0;
57
+ left: 0;
58
+ z-index: 2000;
59
+ }
60
+
61
+ /* PAGER */
62
+
63
+ .bx-wrapper .bx-pager {
64
+ text-align: center;
65
+ font-size: .85em;
66
+ font-family: Arial;
67
+ font-weight: bold;
68
+ color: #666;
69
+ padding-top: 20px;
70
+ }
71
+
72
+ .bx-wrapper .bx-pager .bx-pager-item,
73
+ .bx-wrapper .bx-controls-auto .bx-controls-auto-item {
74
+ display: inline-block;
75
+ *zoom: 1;
76
+ *display: inline;
77
+ }
78
+
79
+ .bx-wrapper .bx-pager.bx-default-pager a {
80
+ background: #666;
81
+ text-indent: -9999px;
82
+ display: block;
83
+ width: 10px;
84
+ height: 10px;
85
+ margin: 0 5px;
86
+ outline: 0;
87
+ -moz-border-radius: 5px;
88
+ -webkit-border-radius: 5px;
89
+ border-radius: 5px;
90
+ }
91
+
92
+ .bx-wrapper .bx-pager.bx-default-pager a:hover,
93
+ .bx-wrapper .bx-pager.bx-default-pager a.active {
94
+ background: #000;
95
+ }
96
+
97
+ /* DIRECTION CONTROLS (NEXT / PREV) */
98
+
99
+ .bx-wrapper .bx-prev {
100
+ left: 10px;
101
+ background: url(images/controls.png) no-repeat 0 -32px;
102
+ }
103
+
104
+ .bx-wrapper .bx-next {
105
+ right: 10px;
106
+ background: url(images/controls.png) no-repeat -43px -32px;
107
+ }
108
+
109
+ .bx-wrapper .bx-prev:hover {
110
+ background-position: 0 0;
111
+ }
112
+
113
+ .bx-wrapper .bx-next:hover {
114
+ background-position: -43px 0;
115
+ }
116
+
117
+ .bx-wrapper .bx-controls-direction a {
118
+ position: absolute;
119
+ top: 50%;
120
+ margin-top: -16px;
121
+ outline: 0;
122
+ width: 32px;
123
+ height: 32px;
124
+ text-indent: -9999px;
125
+ z-index: 9999;
126
+ }
127
+
128
+ .bx-wrapper .bx-controls-direction a.disabled {
129
+ display: none;
130
+ }
131
+
132
+ /* AUTO CONTROLS (START / STOP) */
133
+
134
+ .bx-wrapper .bx-controls-auto {
135
+ text-align: center;
136
+ }
137
+
138
+ .bx-wrapper .bx-controls-auto .bx-start {
139
+ display: block;
140
+ text-indent: -9999px;
141
+ width: 10px;
142
+ height: 11px;
143
+ outline: 0;
144
+ background: url(images/controls.png) -86px -11px no-repeat;
145
+ margin: 0 3px;
146
+ }
147
+
148
+ .bx-wrapper .bx-controls-auto .bx-start:hover,
149
+ .bx-wrapper .bx-controls-auto .bx-start.active {
150
+ background-position: -86px 0;
151
+ }
152
+
153
+ .bx-wrapper .bx-controls-auto .bx-stop {
154
+ display: block;
155
+ text-indent: -9999px;
156
+ width: 9px;
157
+ height: 11px;
158
+ outline: 0;
159
+ background: url(images/controls.png) -86px -44px no-repeat;
160
+ margin: 0 3px;
161
+ }
162
+
163
+ .bx-wrapper .bx-controls-auto .bx-stop:hover,
164
+ .bx-wrapper .bx-controls-auto .bx-stop.active {
165
+ background-position: -86px -33px;
166
+ }
167
+
168
+ /* PAGER WITH AUTO-CONTROLS HYBRID LAYOUT */
169
+
170
+ .bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-pager {
171
+ text-align: left;
172
+ width: 80%;
173
+ }
174
+
175
+ .bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-controls-auto {
176
+ right: 0;
177
+ width: 35px;
178
+ }
179
+
180
+ /* IMAGE CAPTIONS */
181
+
182
+ .bx-wrapper .bx-caption {
183
+ position: absolute;
184
+ bottom: 0;
185
+ left: 0;
186
+ background: #666\9;
187
+ background: rgba(80, 80, 80, 0.75);
188
+ width: 100%;
189
+ }
190
+
191
+ .bx-wrapper .bx-caption span {
192
+ color: #fff;
193
+ font-family: Arial;
194
+ display: block;
195
+ font-size: .85em;
196
+ padding: 10px;
197
+ }
templates/blacknwhite/display.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "background_image_url": "",
3
+ "builtin_background_image" : "light-gray-5.jpg",
4
+ "background_color": "#acacac",
5
+ "background_tiling_enabled": "false",
6
+ "logo_width": "200px",
7
+ "logo_height": "100px",
8
+ "content_box_opacity": "0.6",
9
+ "content_box_color": "#000000",
10
+ "text_headline_font_name": "times-new-roman",
11
+ "text_headline_font_size": "42px",
12
+ "text_headline_font_color": "#d9d9d9",
13
+ "text_description_font_name": "times-new-roman",
14
+ "text_description_font_size": "20px",
15
+ "text_description_font_color": "#d9d9d9",
16
+ "text_disclaimer_font_name": "arial",
17
+ "text_disclaimer_font_size": "14px",
18
+ "text_disclaimer_font_color": "#FFFFFF",
19
+ "text_footer_font_name": "arial",
20
+ "text_footer_font_size": "12px",
21
+ "text_footer_font_color": "#FFFFFF",
22
+ "email_button_width": "120px",
23
+ "email_button_height": "42px",
24
+ "email_button_font_name": "arial",
25
+ "email_button_font_size": "18px",
26
+ "email_button_font_color": "#ffffff",
27
+ "email_button_color": "#606060",
28
+ "css": "#content-area { box-shadow: 1px 7px 36px -5px rgba(34,34,34,1)}"
29
+ }
templates/blacknwhite/metadata.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
1
+ {
2
+ "name": "Black & White",
3
+ "description": "Clean looking black and white template."
4
+ }
templates/blacknwhite/screenshot.png ADDED
Binary file
uninstall.php ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /*
4
+ * To change this template, choose Tools | Templates
5
+ * and open the template in the editor.
6
+ */
7
+ if(defined('WP_UNINSTALL_PLUGIN')) {
8
+
9
+ delete_option("easy-pie-cs-options");
10
+ }
11
+ ?>
web-service/class-rest-base.php ADDED
@@ -0,0 +1,132 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /* File : Rest.inc.php
4
+ * Based on the work of Arun Kumar Sekar
5
+ */
6
+
7
+ class Rest_Base {
8
+
9
+ public $_allow = array();
10
+ public $_content_type = "application/json";
11
+ public $_request = array();
12
+ private $_method = "";
13
+ private $_code = 200;
14
+
15
+ public function __construct() {
16
+ $this->inputs();
17
+ }
18
+
19
+ public function get_referer() {
20
+ return $_SERVER['HTTP_REFERER'];
21
+ }
22
+
23
+ public function response($data, $status) {
24
+ $this->_code = ($status) ? $status : 200;
25
+ $this->set_headers();
26
+ echo $data;
27
+ exit;
28
+ }
29
+
30
+ private function get_status_message() {
31
+ $status = array(
32
+ 100 => 'Continue',
33
+ 101 => 'Switching Protocols',
34
+ 200 => 'OK',
35
+ 201 => 'Created',
36
+ 202 => 'Accepted',
37
+ 203 => 'Non-Authoritative Information',
38
+ 204 => 'No Content',
39
+ 205 => 'Reset Content',
40
+ 206 => 'Partial Content',
41
+ 300 => 'Multiple Choices',
42
+ 301 => 'Moved Permanently',
43
+ 302 => 'Found',
44
+ 303 => 'See Other',
45
+ 304 => 'Not Modified',
46
+ 305 => 'Use Proxy',
47
+ 306 => '(Unused)',
48
+ 307 => 'Temporary Redirect',
49
+ 400 => 'Bad Request',
50
+ 401 => 'Unauthorized',
51
+ 402 => 'Payment Required',
52
+ 403 => 'Forbidden',
53
+ 404 => 'Not Found',
54
+ 405 => 'Method Not Allowed',
55
+ 406 => 'Not Acceptable',
56
+ 407 => 'Proxy Authentication Required',
57
+ 408 => 'Request Timeout',
58
+ 409 => 'Conflict',
59
+ 410 => 'Gone',
60
+ 411 => 'Length Required',
61
+ 412 => 'Precondition Failed',
62
+ 413 => 'Request Entity Too Large',
63
+ 414 => 'Request-URI Too Long',
64
+ 415 => 'Unsupported Media Type',
65
+ 416 => 'Requested Range Not Satisfiable',
66
+ 417 => 'Expectation Failed',
67
+ 500 => 'Internal Server Error',
68
+ 501 => 'Not Implemented',
69
+ 502 => 'Bad Gateway',
70
+ 503 => 'Service Unavailable',
71
+ 504 => 'Gateway Timeout',
72
+ 505 => 'HTTP Version Not Supported');
73
+ return ($status[$this->_code]) ? $status[$this->_code] : $status[500];
74
+ }
75
+
76
+ public function get_request_method() {
77
+ return $_SERVER['REQUEST_METHOD'];
78
+ }
79
+
80
+ private function inputs() {
81
+ switch ($this->get_request_method()) {
82
+ case "POST":
83
+ $this->_request = $this->cleanInputs($_POST);
84
+ break;
85
+ case "GET":
86
+ case "DELETE":
87
+ $this->_request = $this->cleanInputs($_GET);
88
+ break;
89
+ case "PUT":
90
+ parse_str(file_get_contents("php://input"), $this->_request);
91
+ $this->_request = $this->cleanInputs($this->_request);
92
+ break;
93
+ default:
94
+ $this->response('', 406);
95
+ break;
96
+ }
97
+ }
98
+
99
+ private function cleanInputs($data) {
100
+ $clean_input = array();
101
+ if (is_array($data)) {
102
+ foreach ($data as $k => $v) {
103
+ $clean_input[$k] = $this->cleanInputs($v);
104
+ }
105
+ } else {
106
+ if (get_magic_quotes_gpc()) {
107
+ $data = trim(stripslashes($data));
108
+ }
109
+ $data = strip_tags($data);
110
+ $clean_input = trim($data);
111
+ }
112
+ return $clean_input;
113
+ }
114
+
115
+ private function set_headers() {
116
+ header("HTTP/1.1 " . $this->_code . " " . $this->get_status_message());
117
+ header("Content-Type:" . $this->_content_type);
118
+ }
119
+
120
+ public function json($data) {
121
+ // if(is_array($data)){
122
+ return json_encode($data);
123
+ // }
124
+ // else
125
+ // {
126
+ // return "why not an array?";
127
+ // }
128
+ }
129
+
130
+ }
131
+
132
+ ?>
web-service/crm_ws.php ADDED
@@ -0,0 +1,233 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ Easy Pie Coming Soon Plugin
4
+ Copyright (C) 2014, Synthetic Thought LLC
5
+ website: easypiewp.com contact: bob@easypiewp.com
6
+
7
+ Easy Pie Coming Soon Plugin is distributed under the GNU General Public License, Version 3,
8
+ June 2007. Copyright (C) 2007 Free Software Foundation, Inc., 51 Franklin
9
+ St, Fifth Floor, Boston, MA 02110, USA
10
+
11
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
12
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
13
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
14
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
15
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
16
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
17
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
18
+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
19
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
20
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
21
+ */
22
+ require_once("class-rest-base.php");
23
+
24
+ if (!class_exists('crm_ws')) {
25
+
26
+ class Crm_Ws extends Rest_Base {
27
+
28
+ public function Process() {
29
+ $func = strtolower(trim(str_replace("/", "", $_REQUEST['cmd'])));
30
+
31
+ // $this->response('{}', 200);
32
+ if ((int) method_exists($this, $func) > 0) {
33
+ // RSR TODO: Dangerous - make this a solid list of known functions
34
+ /* RSR TODO $this->$func();*/
35
+ } else {
36
+
37
+ // RSR figure out better way
38
+ //$this->response('', 404);
39
+ $this->response('bad func', 200);
40
+ }
41
+ // If the method not exist with in this class, response would be "Page not found".
42
+ }
43
+
44
+ private function export_all()
45
+ {
46
+ header("Pragma: public");
47
+ header("Expires: 0");
48
+ header("Cache-Control: must-revalidate, post-check=0, pre-check=0");
49
+ header("Cache-Control: private",false);
50
+ header("Content-Type: application/octet-stream");
51
+ header("Content-Disposition: attachment; filename=\"subscribers.csv\";" );
52
+ header("Content-Transfer-Encoding: binary");
53
+
54
+ echo "bob,riley@riley.com";
55
+ exit;
56
+ }
57
+
58
+ // <editor-fold desc="Application related">
59
+ private function AddContact() {
60
+
61
+ // Cross validation if the request method is GET else it will return "Not Acceptable" status
62
+ if ($this->get_request_method() != "POST") {
63
+ $this->response('not a post', 406);
64
+ }
65
+
66
+ // RSR TODO: need to check for all parameters not just group_id!
67
+ if (!isset($_REQUEST["group_id"])) {
68
+ $this->response('no group_id', 406);
69
+ } else {
70
+ $name = $this->_request["name"];
71
+ $email = $this->_request["email"];
72
+ }
73
+
74
+ $dal = new DAL();
75
+
76
+ $alertId = $dal->AddAlert($groupId, $name, $expression);
77
+
78
+ $dal = null;
79
+
80
+ $alert = new stdClass();
81
+ $alert->alert_id = $alertId;
82
+
83
+ $this->response($this->json($alert), 200);
84
+ }
85
+
86
+ private function UpdateAlert() {
87
+
88
+ // Cross validation if the request method is GET else it will return "Not Acceptable" status
89
+ if ($this->get_request_method() != "POST") {
90
+ $this->response('not a post', 406);
91
+ }
92
+
93
+ // RSR TODO: need to check for all parameters not just group_id!
94
+ if (!isset($_REQUEST["group_id"])) {
95
+ $this->response('no group_id', 406);
96
+ } else {
97
+ $alertId = $this->_request["alert_id"];
98
+ $groupId = $this->_request["group_id"];
99
+ $name = $this->_request["name"];
100
+ $expression = $this->_request["expression"];
101
+ }
102
+
103
+ $dal = new DAL();
104
+
105
+ $alertId = $dal->UpdateAlert($alertId, $groupId, $name, $expression);
106
+
107
+ $dal = null;
108
+
109
+ $alert = new stdClass();
110
+ $alert->alert_id = $alertId;
111
+
112
+ $this->response($this->json($alert), 200);
113
+ }
114
+
115
+ // <editor-fold desc="Application related">
116
+ private function DeleteAlert() {
117
+
118
+ // Cross validation if the request method is GET else it will return "Not Acceptable" status
119
+ if ($this->get_request_method() != "POST") {
120
+ $this->response('not a post', 200);
121
+ }
122
+
123
+ // RSR TODO: need to check for all parameters not just group_id!
124
+ if (!isset($_REQUEST["alert_id"])) {
125
+ $this->response('no alert_id', 200);
126
+ } else {
127
+ $alertId = $this->_request["alert_id"];
128
+ }
129
+
130
+ $dal = new DAL();
131
+
132
+ $dal->DeleteAlert($alertId);
133
+
134
+ $dal = null;
135
+ }
136
+
137
+ // </editor-fold>
138
+ // <editor-fold desc="Alerts related">
139
+ //
140
+ // RSR TODO: Consider making other indexes guids instead of ints like group index
141
+ private function GetAppsByGroupID() {
142
+
143
+ // Cross validation if the request method is GET else it will return "Not Acceptable" status
144
+ if ($this->get_request_method() != "GET") {
145
+ $this->response('', 406);
146
+ }
147
+
148
+ if (!isset($_REQUEST["group_id"])) {
149
+ $this->response('', 406);
150
+ } else {
151
+ $groupId = $_REQUEST["group_id"];
152
+ }
153
+
154
+ $dal = new DAL();
155
+
156
+ try {
157
+ $result = $dal->GetAppsByGroupID($groupId);
158
+ } catch (Exception $ex) {
159
+ // RSR TODO: come up with a better error reporting mechanism
160
+ $this->response($ex->getMessage(), 200);
161
+ }
162
+
163
+ $dal = null;
164
+ }
165
+
166
+ // RSR TODO: Consider making other indexes guids instead of ints like group index
167
+ private function AddApplicationToGroup() {
168
+
169
+ // Cross validation if the request method is GET else it will return "Not Acceptable" status
170
+ if ($this->get_request_method() != "POST") {
171
+ $this->response('not a post', 406);
172
+ }
173
+
174
+ // RSR TODO: need to check for all parameters not just group_id!
175
+ if (!isset($_REQUEST["group_id"])) {
176
+ $this->response('no group_id', 406);
177
+ } else {
178
+ $groupId = $this->_request["group_id"];
179
+ $applicationId = $this->_request["application_id"];
180
+ $genreId = $this->_request["genre_id"];
181
+ $title = $this->_request["title"];
182
+ $iconUrl = $this->_request["icon_url"];
183
+ }
184
+
185
+ $dal = new DAL();
186
+
187
+ try {
188
+ $dal->SafeAddApplication($applicationId, $genreId, $title, $iconUrl);
189
+ $dal->AddApplicationToGroup($groupId, $applicationId);
190
+ } catch (Exception $ex) {
191
+ $dal->DeleteApplicationFromGroup($groupId, $applicationId);
192
+ $dal->SafeDeleteApplication($applicationId);
193
+
194
+ // RSR TODO: come up with a better error reporting mechanism
195
+ $this->response($ex->getMessage(), 200);
196
+ }
197
+
198
+ $dal = null;
199
+ }
200
+
201
+ private function RemoveApplicationFromGroup() {
202
+ // Cross validation if the request method is GET else it will return "Not Acceptable" status
203
+ if ($this->get_request_method() != "POST") {
204
+ $this->response('not a post', 406);
205
+ }
206
+
207
+ // RSR TODO: come up with pattern for checking for all parameters
208
+ if (!isset($_REQUEST["group_id"])) {
209
+ $this->response('no group_id', 406);
210
+ } else {
211
+ $groupId = $this->_request["group_id"];
212
+ $applicationId = $this->_request["application_id"];
213
+ }
214
+ $dal = new DAL();
215
+
216
+ try {
217
+ $dal->DeleteApplicationFromGroup($groupId, $applicationId);
218
+ $dal->SafeDeleteApplication($applicationId);
219
+ } catch (Exception $ex) {
220
+ // RSR TODO: How to recover
221
+ // RSR TODO: come up with a better error reporting mechanism
222
+ $this->response($ex->getMessage(), 200);
223
+ }
224
+ }
225
+
226
+ // </editor-fold>
227
+ }
228
+
229
+ }
230
+
231
+ $api = new Crm_Ws();
232
+ $api->Process();
233
+ ?>