Version Description
Download this release
Release Info
Developer | McGuive7 |
Plugin | Better Font Awesome |
Version | 1.7.3 |
Comparing to | |
See all releases |
Code changes from version 1.7.2 to 1.7.3
- README.md +5 -3
- better-font-awesome.php +70 -7
- js/admin-notices.js +25 -0
- languages/better-font-awesome.pot +208 -533
- readme.txt +2 -2
- vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php +311 -93
- vendor/mickey-kay/better-font-awesome-library/composer.json +5 -2
- vendor/mickey-kay/better-font-awesome-library/composer.lock +68 -0
- vendor/mickey-kay/better-font-awesome-library/inc/icon-updater.php +1136 -0
- vendor/mickey-kay/better-font-awesome-library/js/admin.js +43 -27
- vendor/mickey-kay/better-font-awesome-library/lib/fontawesome-iconpicker/CODE_OF_CONDUCT.md +47 -0
- vendor/mickey-kay/better-font-awesome-library/lib/fontawesome-iconpicker/Gruntfile.js +91 -7
- vendor/mickey-kay/better-font-awesome-library/lib/fontawesome-iconpicker/README.md +13 -16
- vendor/mickey-kay/better-font-awesome-library/lib/fontawesome-iconpicker/dist/css/fontawesome-iconpicker.css +11 -27
- vendor/mickey-kay/better-font-awesome-library/lib/fontawesome-iconpicker/dist/css/fontawesome-iconpicker.min.css +3 -3
- vendor/mickey-kay/better-font-awesome-library/lib/fontawesome-iconpicker/dist/js/fontawesome-iconpicker.js +3239 -346
- vendor/mickey-kay/better-font-awesome-library/lib/fontawesome-iconpicker/dist/js/fontawesome-iconpicker.min.js +20 -2
- vendor/mickey-kay/better-font-awesome-library/lib/fontawesome-iconpicker/index.html +276 -245
- vendor/mickey-kay/better-font-awesome-library/lib/fontawesome-iconpicker/package.json +11 -13
- vendor/mickey-kay/better-font-awesome-library/lib/fontawesome-iconpicker/src/js/iconpicker.js +70 -146
- vendor/mickey-kay/better-font-awesome-library/lib/fontawesome-iconpicker/src/js/jquery.ui.pos.js +518 -474
- vendor/mickey-kay/better-font-awesome-library/lib/fontawesome-iconpicker/src/js/license.js +10 -0
- vendor/mickey-kay/better-font-awesome-library/lib/fontawesome-iconpicker/src/less/iconpicker.less +60 -59
- vendor/mickey-kay/better-font-awesome-library/lib/fontawesome-iconpicker/src/less/popovers.less +204 -203
- vendor/mickey-kay/better-font-awesome-library/lib/fontawesome-iconpicker/src/less/variables.less +38 -51
- vendor/mickey-kay/better-font-awesome-library/package.json +2 -2
- vendor/mickey-kay/better-font-awesome-library/vendor/autoload.php +7 -0
- vendor/mickey-kay/better-font-awesome-library/vendor/composer/ClassLoader.php +445 -0
- vendor/mickey-kay/better-font-awesome-library/vendor/composer/LICENSE +21 -0
- vendor/mickey-kay/better-font-awesome-library/vendor/composer/autoload_classmap.php +9 -0
- vendor/mickey-kay/better-font-awesome-library/vendor/composer/autoload_files.php +10 -0
- vendor/mickey-kay/better-font-awesome-library/vendor/composer/autoload_namespaces.php +9 -0
- vendor/mickey-kay/better-font-awesome-library/vendor/composer/autoload_psr4.php +9 -0
- vendor/mickey-kay/better-font-awesome-library/vendor/composer/autoload_real.php +70 -0
- vendor/mickey-kay/better-font-awesome-library/vendor/composer/autoload_static.php +19 -0
- vendor/mickey-kay/better-font-awesome-library/vendor/composer/installed.json +54 -0
- vendor/mickey-kay/better-font-awesome-library/vendor/mustangostang/spyc/COPYING +21 -0
- vendor/mickey-kay/better-font-awesome-library/vendor/mustangostang/spyc/README.md +30 -0
- vendor/mickey-kay/better-font-awesome-library/vendor/mustangostang/spyc/Spyc.php +1161 -0
- vendor/mickey-kay/better-font-awesome-library/vendor/mustangostang/spyc/composer.json +30 -0
- vendor/mickey-kay/better-font-awesome-library/vendor/mustangostang/spyc/examples/yaml-dump.php +25 -0
- vendor/mickey-kay/better-font-awesome-library/vendor/mustangostang/spyc/examples/yaml-load.php +21 -0
- vendor/mickey-kay/better-font-awesome-library/vendor/mustangostang/spyc/php4/5to4.php +17 -0
- vendor/mickey-kay/better-font-awesome-library/vendor/mustangostang/spyc/php4/spyc.php4 +1023 -0
- vendor/mickey-kay/better-font-awesome-library/vendor/mustangostang/spyc/php4/test.php4 +162 -0
- vendor/mickey-kay/better-font-awesome-library/vendor/mustangostang/spyc/spyc.yaml +219 -0
- vendor/mickey-kay/better-font-awesome-library/vendor/mustangostang/spyc/tests/DumpTest.php +196 -0
- vendor/mickey-kay/better-font-awesome-library/vendor/mustangostang/spyc/tests/IndentTest.php +70 -0
- vendor/mickey-kay/better-font-awesome-library/vendor/mustangostang/spyc/tests/LoadTest.php +19 -0
- vendor/mickey-kay/better-font-awesome-library/vendor/mustangostang/spyc/tests/ParseTest.php +401 -0
- vendor/mickey-kay/better-font-awesome-library/vendor/mustangostang/spyc/tests/RoundTripTest.php +78 -0
- vendor/mickey-kay/better-font-awesome-library/vendor/mustangostang/spyc/tests/comments.yaml +3 -0
- vendor/mickey-kay/better-font-awesome-library/vendor/mustangostang/spyc/tests/failing1.yaml +2 -0
- vendor/mickey-kay/better-font-awesome-library/vendor/mustangostang/spyc/tests/indent_1.yaml +70 -0
- vendor/mickey-kay/better-font-awesome-library/vendor/mustangostang/spyc/tests/quotes.yaml +8 -0
- vendor/mickey-kay/better-font-awesome-library/yarn.lock +3 -3
README.md
CHANGED
@@ -1,10 +1,12 @@
|
|
|
|
|
|
1 |
# Better Font Awesome #
|
2 |
**Contributors:** [McGuive7](https://profiles.wordpress.org/McGuive7)
|
3 |
**Tags:** better, font, awesome, icon, icons, bootstrap, fontstrap, cdn, shortcode
|
4 |
-
**Donate link:**
|
5 |
**Requires at least:** 3.0
|
6 |
-
**Tested up to:** 5.5
|
7 |
-
**Stable tag:** 1.7.
|
8 |
**License:** GPLv2+
|
9 |
**License URI:** http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
1 |
+
[![Build Status](https://travis-ci.org/MickeyKay/better-font-awesome.svg?branch=master)](https://travis-ci.org/MickeyKay/better-font-awesome) [![Downloads](https://img.shields.io/wordpress/plugin/dt/better-font-awesome.svg)](https://wordpress.org/plugins/better-font-awesome/) [![License: GPL v3](https://img.shields.io/badge/License-GPL%20v3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)
|
2 |
+
|
3 |
# Better Font Awesome #
|
4 |
**Contributors:** [McGuive7](https://profiles.wordpress.org/McGuive7)
|
5 |
**Tags:** better, font, awesome, icon, icons, bootstrap, fontstrap, cdn, shortcode
|
6 |
+
**Donate link:** https://mickeykay.me
|
7 |
**Requires at least:** 3.0
|
8 |
+
**Tested up to:** 5.5
|
9 |
+
**Stable tag:** 1.7.3
|
10 |
**License:** GPLv2+
|
11 |
**License URI:** http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
|
better-font-awesome.php
CHANGED
@@ -12,7 +12,7 @@
|
|
12 |
* Plugin Name: Better Font Awesome
|
13 |
* Plugin URI: http://wordpress.org/plugins/better-font-awesome
|
14 |
* Description: The ultimate Font Awesome icon plugin for WordPress.
|
15 |
-
* Version: 1.7.
|
16 |
* Author: Mickey Kay
|
17 |
* Author URI: mickeyskay@gmail.com
|
18 |
* License: GPLv2+
|
@@ -165,6 +165,9 @@ class Better_Font_Awesome_Plugin {
|
|
165 |
// Load the plugin text domain.
|
166 |
$this->load_text_domain();
|
167 |
|
|
|
|
|
|
|
168 |
// Set up the admin settings page.
|
169 |
add_action( 'admin_menu', array( $this, 'add_settings_page' ) );
|
170 |
add_action( 'admin_init', array( $this, 'add_settings' ) );
|
@@ -172,6 +175,7 @@ class Better_Font_Awesome_Plugin {
|
|
172 |
|
173 |
// Handle saving options via AJAX
|
174 |
add_action( 'wp_ajax_bfa_save_options', array( $this, 'save_options' ) );
|
|
|
175 |
|
176 |
}
|
177 |
|
@@ -315,6 +319,58 @@ class Better_Font_Awesome_Plugin {
|
|
315 |
load_plugin_textdomain( self::SLUG, false, dirname( plugin_basename( __FILE__ ) ) . '/languages' );
|
316 |
}
|
317 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
318 |
/**
|
319 |
* Create the plugin settings page.
|
320 |
*/
|
@@ -430,6 +486,7 @@ class Better_Font_Awesome_Plugin {
|
|
430 |
*/
|
431 |
public function admin_enqueue_scripts( $hook ) {
|
432 |
|
|
|
433 |
if ( 'settings_page_better-font-awesome' === $hook ) {
|
434 |
|
435 |
wp_enqueue_style(
|
@@ -444,15 +501,21 @@ class Better_Font_Awesome_Plugin {
|
|
444 |
);
|
445 |
|
446 |
wp_localize_script(
|
447 |
-
|
448 |
-
|
449 |
-
|
450 |
-
|
451 |
-
|
452 |
-
|
453 |
|
454 |
}
|
455 |
|
|
|
|
|
|
|
|
|
|
|
|
|
456 |
}
|
457 |
|
458 |
/**
|
12 |
* Plugin Name: Better Font Awesome
|
13 |
* Plugin URI: http://wordpress.org/plugins/better-font-awesome
|
14 |
* Description: The ultimate Font Awesome icon plugin for WordPress.
|
15 |
+
* Version: 1.7.3
|
16 |
* Author: Mickey Kay
|
17 |
* Author URI: mickeyskay@gmail.com
|
18 |
* License: GPLv2+
|
165 |
// Load the plugin text domain.
|
166 |
$this->load_text_domain();
|
167 |
|
168 |
+
// Output admin notices.
|
169 |
+
add_action( 'admin_notices', array( $this, 'do_admin_notices' ) );
|
170 |
+
|
171 |
// Set up the admin settings page.
|
172 |
add_action( 'admin_menu', array( $this, 'add_settings_page' ) );
|
173 |
add_action( 'admin_init', array( $this, 'add_settings' ) );
|
175 |
|
176 |
// Handle saving options via AJAX
|
177 |
add_action( 'wp_ajax_bfa_save_options', array( $this, 'save_options' ) );
|
178 |
+
add_action( 'wp_ajax_bfa_dismiss_testing_admin_notice', array( $this, 'dismiss_testing_admin_notice' ) );
|
179 |
|
180 |
}
|
181 |
|
319 |
load_plugin_textdomain( self::SLUG, false, dirname( plugin_basename( __FILE__ ) ) . '/languages' );
|
320 |
}
|
321 |
|
322 |
+
/**
|
323 |
+
* Generate admin notices.
|
324 |
+
*
|
325 |
+
* @since 1.7.3
|
326 |
+
*/
|
327 |
+
public function do_admin_notices() {
|
328 |
+
|
329 |
+
$user_dismissed_option_data = $this->get_dismissed_admin_notice_testing_data();
|
330 |
+
|
331 |
+
if (
|
332 |
+
!isset( $user_dismissed_option_data->{get_current_user_id()} ) ||
|
333 |
+
true !== $user_dismissed_option_data->{get_current_user_id()}
|
334 |
+
) :
|
335 |
+
?>
|
336 |
+
<div class="notice notice-info is-dismissible" id="<?php esc_attr_e( self::SLUG . '-testing-notice' ); ?>">
|
337 |
+
<p><strong><?php _e( 'Better Font Awesome - We need your help!', 'better-font-awesome' ); ?></strong> </p>
|
338 |
+
<p><?php printf( __( "First of all, thanks so much for using the plugin! Second of all, %sBetter Font Awesome 2.0%s is <i>almost</i> ready for use! The new version adds a few major improvements, most notably support for Font Awesome 5 icons. Before publishing the update, it's important that we get plenty of user testing to validate that everything is working as expected, and we could really use your help.", 'better-font-awesome' ), '<a href="https://mickeykay.me/2020/09/better-font-awesome-v2-ready-for-testing/" target="_blank">', '</a>' ); ?></p>
|
339 |
+
<p><?php printf( __( "If you are interested in helping us test the new update, please read the official %sblog post%s, which includes simple instructions for how to get involved. Thanks so much for you support", 'better-font-awesome' ), '<a href="https://mickeykay.me/2020/09/better-font-awesome-v2-ready-for-testing/" target="_blank">', '</a>' ); ?> <span class="dashicons dashicons-heart"></span>.</p>
|
340 |
+
<button type="button" class="notice-dismiss">
|
341 |
+
<span class="screen-reader-text"><?php _e( 'Dismiss this notice.', 'better-font-awesome' ); ?></span>
|
342 |
+
</button>
|
343 |
+
</div>
|
344 |
+
<?php
|
345 |
+
endif;
|
346 |
+
}
|
347 |
+
|
348 |
+
/**
|
349 |
+
* Get saved option data for dismissed admin notice.
|
350 |
+
*
|
351 |
+
* @return stdClass Dismissed admin notice data.
|
352 |
+
*/
|
353 |
+
private function get_dismissed_admin_notice_testing_data() {
|
354 |
+
$dismissed_option_key = self::SLUG . '-dismissed-notice-testing';
|
355 |
+
return get_option( $dismissed_option_key, new stdClass() );
|
356 |
+
}
|
357 |
+
|
358 |
+
/**
|
359 |
+
* Dismiss testing admin notice.
|
360 |
+
*
|
361 |
+
* @since 1.7.3
|
362 |
+
*/
|
363 |
+
public function dismiss_testing_admin_notice() {
|
364 |
+
$dismissed_option_key = self::SLUG . '-dismissed-notice-testing';
|
365 |
+
$dismissed_option_data = $this->get_dismissed_admin_notice_testing_data();
|
366 |
+
$updated_option_data = $dismissed_option_data;
|
367 |
+
$updated_option_data->{get_current_user_id()} = true;
|
368 |
+
|
369 |
+
update_option( $dismissed_option_key, $updated_option_data );
|
370 |
+
|
371 |
+
wp_die();
|
372 |
+
}
|
373 |
+
|
374 |
/**
|
375 |
* Create the plugin settings page.
|
376 |
*/
|
486 |
*/
|
487 |
public function admin_enqueue_scripts( $hook ) {
|
488 |
|
489 |
+
// Settings-specific functionality.
|
490 |
if ( 'settings_page_better-font-awesome' === $hook ) {
|
491 |
|
492 |
wp_enqueue_style(
|
501 |
);
|
502 |
|
503 |
wp_localize_script(
|
504 |
+
self::SLUG . '-admin',
|
505 |
+
'bfa_ajax_object',
|
506 |
+
array(
|
507 |
+
'ajax_url' => admin_url( 'admin-ajax.php' )
|
508 |
+
)
|
509 |
+
);
|
510 |
|
511 |
}
|
512 |
|
513 |
+
// Admin notices.
|
514 |
+
wp_enqueue_script(
|
515 |
+
self::SLUG . '-admin-notices',
|
516 |
+
plugin_dir_url( __FILE__ ) . 'js/admin-notices.js',
|
517 |
+
array( 'jquery' )
|
518 |
+
);
|
519 |
}
|
520 |
|
521 |
/**
|
js/admin-notices.js
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* Better Font Awesome admin notice JS
|
3 |
+
*
|
4 |
+
* @since 1.7.3
|
5 |
+
*/
|
6 |
+
( function( $ ) {
|
7 |
+
|
8 |
+
'use strict';
|
9 |
+
|
10 |
+
$( document ).ready( function() {
|
11 |
+
|
12 |
+
$( '#better-font-awesome-testing-notice' ).on( 'click', '.notice-dismiss', function() {
|
13 |
+
|
14 |
+
var data = {
|
15 |
+
'action': 'bfa_dismiss_testing_admin_notice'
|
16 |
+
};
|
17 |
+
|
18 |
+
$.post(
|
19 |
+
ajaxurl,
|
20 |
+
data,
|
21 |
+
function (response) {}
|
22 |
+
);
|
23 |
+
});
|
24 |
+
});
|
25 |
+
})( jQuery );
|
languages/better-font-awesome.pot
CHANGED
@@ -1,25 +1,31 @@
|
|
1 |
-
# Copyright (C)
|
2 |
# This file is distributed under the GPLv2+.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: Better Font Awesome 1.7.
|
6 |
"Report-Msgid-Bugs-To: "
|
7 |
"https://wordpress.org/support/plugin/better-font-awesome\n"
|
8 |
-
"POT-Creation-Date:
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=utf-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
"PO-Revision-Date:
|
13 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
14 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
15 |
-
"X-Generator: grunt-wp-i18n 0.
|
16 |
|
17 |
#. Plugin Name of the plugin/theme
|
18 |
msgid "Better Font Awesome"
|
19 |
msgstr ""
|
20 |
|
21 |
-
#: better-font-awesome.php:
|
22 |
#: svn/tags/1.7.1/better-font-awesome.php:237
|
|
|
|
|
|
|
|
|
|
|
|
|
23 |
msgid ""
|
24 |
"It appears that Better Font Awesome is missing it's <a "
|
25 |
"href=\"https://github.com/MickeyKay/better-font-awesome-library\" "
|
@@ -38,7 +44,7 @@ msgid ""
|
|
38 |
"target=\"_blank\">Github repo</a>."
|
39 |
msgstr ""
|
40 |
|
41 |
-
#: better-font-awesome.php:
|
42 |
#: svn/tags/1.0.1/better-font-awesome.php:218
|
43 |
#: svn/tags/1.0.10/better-font-awesome.php:219
|
44 |
#: svn/tags/1.0.2/better-font-awesome.php:218
|
@@ -66,10 +72,41 @@ msgstr ""
|
|
66 |
#: svn/tags/1.6.0/better-font-awesome.php:225
|
67 |
#: svn/tags/1.7.0/better-font-awesome.php:238
|
68 |
#: svn/tags/1.7.1/better-font-awesome.php:238
|
|
|
|
|
|
|
|
|
|
|
|
|
69 |
msgid "Back to the plugins page →"
|
70 |
msgstr ""
|
71 |
|
72 |
-
#: better-font-awesome.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
73 |
#: svn/tags/1.2.0/better-font-awesome.php:335
|
74 |
#: svn/tags/1.2.1/better-font-awesome.php:337
|
75 |
#: svn/tags/1.3.0/better-font-awesome.php:337
|
@@ -86,10 +123,16 @@ msgstr ""
|
|
86 |
#: svn/tags/1.6.0/better-font-awesome.php:337
|
87 |
#: svn/tags/1.7.0/better-font-awesome.php:350
|
88 |
#: svn/tags/1.7.1/better-font-awesome.php:350
|
|
|
|
|
|
|
|
|
|
|
|
|
89 |
msgid "Save Settings"
|
90 |
msgstr ""
|
91 |
|
92 |
-
#: better-font-awesome.php:
|
93 |
#: svn/tags/1.0.1/better-font-awesome.php:352
|
94 |
#: svn/tags/1.0.10/better-font-awesome.php:359
|
95 |
#: svn/tags/1.0.2/better-font-awesome.php:352
|
@@ -117,19 +160,16 @@ msgstr ""
|
|
117 |
#: svn/tags/1.6.0/better-font-awesome.php:368
|
118 |
#: svn/tags/1.7.0/better-font-awesome.php:381
|
119 |
#: svn/tags/1.7.1/better-font-awesome.php:381
|
|
|
|
|
|
|
|
|
|
|
|
|
120 |
msgid "Version"
|
121 |
msgstr ""
|
122 |
|
123 |
-
#: better-font-awesome.php:
|
124 |
-
#: svn/tags/0.9.1/better-font-awesome.php:201
|
125 |
-
#: svn/tags/0.9.2/better-font-awesome.php:213
|
126 |
-
#: svn/tags/0.9.3/better-font-awesome.php:251
|
127 |
-
#: svn/tags/0.9.3/trunk/better-font-awesome.php:251
|
128 |
-
#: svn/tags/0.9.4/better-font-awesome.php:255
|
129 |
-
#: svn/tags/0.9.5/better-font-awesome.php:255
|
130 |
-
#: svn/tags/0.9.6/better-font-awesome.php:252
|
131 |
-
#: svn/tags/0.9.7/better-font-awesome.php:256
|
132 |
-
#: svn/tags/1.0.0/better-font-awesome.php:361
|
133 |
#: svn/tags/1.0.1/better-font-awesome.php:361
|
134 |
#: svn/tags/1.0.10/better-font-awesome.php:368
|
135 |
#: svn/tags/1.0.2/better-font-awesome.php:361
|
@@ -157,19 +197,16 @@ msgstr ""
|
|
157 |
#: svn/tags/1.6.0/better-font-awesome.php:377
|
158 |
#: svn/tags/1.7.0/better-font-awesome.php:390
|
159 |
#: svn/tags/1.7.1/better-font-awesome.php:390
|
|
|
|
|
|
|
|
|
|
|
|
|
160 |
msgid "Use minified CSS"
|
161 |
msgstr ""
|
162 |
|
163 |
-
#: better-font-awesome.php:
|
164 |
-
#: svn/tags/0.9.1/better-font-awesome.php:204
|
165 |
-
#: svn/tags/0.9.2/better-font-awesome.php:216
|
166 |
-
#: svn/tags/0.9.3/better-font-awesome.php:254
|
167 |
-
#: svn/tags/0.9.3/trunk/better-font-awesome.php:254
|
168 |
-
#: svn/tags/0.9.4/better-font-awesome.php:258
|
169 |
-
#: svn/tags/0.9.5/better-font-awesome.php:258
|
170 |
-
#: svn/tags/0.9.6/better-font-awesome.php:255
|
171 |
-
#: svn/tags/0.9.7/better-font-awesome.php:259
|
172 |
-
#: svn/tags/1.0.0/better-font-awesome.php:367
|
173 |
#: svn/tags/1.0.1/better-font-awesome.php:367
|
174 |
#: svn/tags/1.0.10/better-font-awesome.php:374
|
175 |
#: svn/tags/1.0.2/better-font-awesome.php:367
|
@@ -197,12 +234,18 @@ msgstr ""
|
|
197 |
#: svn/tags/1.6.0/better-font-awesome.php:383
|
198 |
#: svn/tags/1.7.0/better-font-awesome.php:396
|
199 |
#: svn/tags/1.7.1/better-font-awesome.php:396
|
|
|
|
|
|
|
|
|
|
|
|
|
200 |
msgid ""
|
201 |
"Whether to include the minified version of the CSS (checked), or the "
|
202 |
"unminified version (unchecked)."
|
203 |
msgstr ""
|
204 |
|
205 |
-
#: better-font-awesome.php:
|
206 |
#: svn/tags/1.0.1/better-font-awesome.php:373
|
207 |
#: svn/tags/1.0.10/better-font-awesome.php:380
|
208 |
#: svn/tags/1.0.2/better-font-awesome.php:373
|
@@ -230,10 +273,16 @@ msgstr ""
|
|
230 |
#: svn/tags/1.6.0/better-font-awesome.php:389
|
231 |
#: svn/tags/1.7.0/better-font-awesome.php:402
|
232 |
#: svn/tags/1.7.1/better-font-awesome.php:402
|
|
|
|
|
|
|
|
|
|
|
|
|
233 |
msgid "Remove existing Font Awesome"
|
234 |
msgstr ""
|
235 |
|
236 |
-
#: better-font-awesome.php:
|
237 |
#: svn/tags/1.0.1/better-font-awesome.php:379
|
238 |
#: svn/tags/1.0.10/better-font-awesome.php:386
|
239 |
#: svn/tags/1.0.2/better-font-awesome.php:379
|
@@ -261,12 +310,18 @@ msgstr ""
|
|
261 |
#: svn/tags/1.6.0/better-font-awesome.php:395
|
262 |
#: svn/tags/1.7.0/better-font-awesome.php:408
|
263 |
#: svn/tags/1.7.1/better-font-awesome.php:408
|
|
|
|
|
|
|
|
|
|
|
|
|
264 |
msgid ""
|
265 |
"Attempt to remove Font Awesome CSS and shortcodes added by other plugins "
|
266 |
"and themes."
|
267 |
msgstr ""
|
268 |
|
269 |
-
#: better-font-awesome.php:
|
270 |
#: svn/tags/1.0.8/better-font-awesome.php:392
|
271 |
#: svn/tags/1.0.9/better-font-awesome.php:392
|
272 |
#: svn/tags/1.1.0/better-font-awesome.php:399
|
@@ -286,10 +341,16 @@ msgstr ""
|
|
286 |
#: svn/tags/1.6.0/better-font-awesome.php:401
|
287 |
#: svn/tags/1.7.0/better-font-awesome.php:414
|
288 |
#: svn/tags/1.7.1/better-font-awesome.php:414
|
|
|
|
|
|
|
|
|
|
|
|
|
289 |
msgid "Hide admin notices"
|
290 |
msgstr ""
|
291 |
|
292 |
-
#: better-font-awesome.php:
|
293 |
#: svn/tags/1.0.8/better-font-awesome.php:398
|
294 |
#: svn/tags/1.0.9/better-font-awesome.php:398
|
295 |
#: svn/tags/1.1.0/better-font-awesome.php:405
|
@@ -309,19 +370,18 @@ msgstr ""
|
|
309 |
#: svn/tags/1.6.0/better-font-awesome.php:407
|
310 |
#: svn/tags/1.7.0/better-font-awesome.php:420
|
311 |
#: svn/tags/1.7.1/better-font-awesome.php:420
|
|
|
|
|
|
|
|
|
|
|
|
|
312 |
msgid ""
|
313 |
"Hide the default admin warnings that are shown when API and CDN errors "
|
314 |
"occur."
|
315 |
msgstr ""
|
316 |
|
317 |
-
#: better-font-awesome.php:
|
318 |
-
#: svn/tags/0.9.2/better-font-awesome.php:190
|
319 |
-
#: svn/tags/0.9.3/better-font-awesome.php:228
|
320 |
-
#: svn/tags/0.9.3/trunk/better-font-awesome.php:228
|
321 |
-
#: svn/tags/0.9.4/better-font-awesome.php:220
|
322 |
-
#: svn/tags/0.9.5/better-font-awesome.php:220
|
323 |
-
#: svn/tags/0.9.6/better-font-awesome.php:217
|
324 |
-
#: svn/tags/0.9.7/better-font-awesome.php:221
|
325 |
#: svn/tags/1.0.0/better-font-awesome.php:396
|
326 |
#: svn/tags/1.0.0/better-font-awesome.php:422
|
327 |
#: svn/tags/1.0.1/better-font-awesome.php:396
|
@@ -378,10 +438,21 @@ msgstr ""
|
|
378 |
#: svn/tags/1.7.0/better-font-awesome.php:519
|
379 |
#: svn/tags/1.7.1/better-font-awesome.php:493
|
380 |
#: svn/tags/1.7.1/better-font-awesome.php:519
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
381 |
msgid "Always Latest"
|
382 |
msgstr ""
|
383 |
|
384 |
-
#: better-font-awesome.php:
|
385 |
#: svn/tags/1.0.1/better-font-awesome.php:456
|
386 |
#: svn/tags/1.0.10/better-font-awesome.php:475
|
387 |
#: svn/tags/1.0.2/better-font-awesome.php:456
|
@@ -409,12 +480,18 @@ msgstr ""
|
|
409 |
#: svn/tags/1.6.0/better-font-awesome.php:540
|
410 |
#: svn/tags/1.7.0/better-font-awesome.php:553
|
411 |
#: svn/tags/1.7.1/better-font-awesome.php:553
|
|
|
|
|
|
|
|
|
|
|
|
|
412 |
msgid ""
|
413 |
"Version selection is currently unavailable. The attempt to reach the "
|
414 |
"jsDelivr API server failed with the following error: %s"
|
415 |
msgstr ""
|
416 |
|
417 |
-
#: better-font-awesome.php:
|
418 |
#: svn/tags/1.0.1/better-font-awesome.php:463
|
419 |
#: svn/tags/1.0.10/better-font-awesome.php:482
|
420 |
#: svn/tags/1.0.2/better-font-awesome.php:463
|
@@ -442,10 +519,16 @@ msgstr ""
|
|
442 |
#: svn/tags/1.6.0/better-font-awesome.php:547
|
443 |
#: svn/tags/1.7.0/better-font-awesome.php:560
|
444 |
#: svn/tags/1.7.1/better-font-awesome.php:560
|
|
|
|
|
|
|
|
|
|
|
|
|
445 |
msgid "Font Awesome will still render using version: %s"
|
446 |
msgstr ""
|
447 |
|
448 |
-
#: better-font-awesome.php:
|
449 |
#: svn/tags/1.0.0/lib/better-font-awesome-library/better-font-awesome-library.php:1044
|
450 |
#: svn/tags/1.0.1/better-font-awesome.php:470
|
451 |
#: svn/tags/1.0.1/lib/better-font-awesome-library/better-font-awesome-library.php:1052
|
@@ -502,14 +585,26 @@ msgstr ""
|
|
502 |
#: svn/tags/1.7.0/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1107
|
503 |
#: svn/tags/1.7.1/better-font-awesome.php:567
|
504 |
#: svn/tags/1.7.1/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1107
|
505 |
-
#:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
506 |
msgid ""
|
507 |
"This may be the result of a temporary server or connectivity issue which "
|
508 |
"will resolve shortly. However if the problem persists please file a support "
|
509 |
"ticket on the %splugin forum%s, citing the errors listed above. "
|
510 |
msgstr ""
|
511 |
|
512 |
-
#: better-font-awesome.php:
|
513 |
#: svn/tags/1.3.1/better-font-awesome.php:601
|
514 |
#: svn/tags/1.3.2/better-font-awesome.php:601
|
515 |
#: svn/tags/1.3.3/better-font-awesome.php:601
|
@@ -523,6 +618,12 @@ msgstr ""
|
|
523 |
#: svn/tags/1.6.0/better-font-awesome.php:601
|
524 |
#: svn/tags/1.7.0/better-font-awesome.php:614
|
525 |
#: svn/tags/1.7.1/better-font-awesome.php:614
|
|
|
|
|
|
|
|
|
|
|
|
|
526 |
msgid ""
|
527 |
"<h3>Usage</h3>\n"
|
528 |
" <b>Font Awesome version 4.x "
|
@@ -556,485 +657,6 @@ msgid ""
|
|
556 |
"icon-coffee icon-2x icon-rotate-90\"></i></code>"
|
557 |
msgstr ""
|
558 |
|
559 |
-
#: svn/tags/0.9.0/Titan-Framework/class-admin-panel.php:290
|
560 |
-
#: svn/tags/0.9.1/Titan-Framework/class-admin-panel.php:290
|
561 |
-
#: svn/tags/0.9.2/Titan-Framework/class-admin-panel.php:290
|
562 |
-
#: svn/tags/0.9.3/Titan-Framework/class-admin-panel.php:290
|
563 |
-
#: svn/tags/0.9.3/trunk/Titan-Framework/class-admin-panel.php:290
|
564 |
-
#: svn/tags/0.9.4/Titan-Framework/class-admin-panel.php:290
|
565 |
-
#: svn/tags/0.9.5/Titan-Framework/class-admin-panel.php:287
|
566 |
-
#: svn/tags/0.9.6/Titan-Framework/class-admin-panel.php:287
|
567 |
-
#: svn/tags/0.9.7/Titan-Framework/class-admin-panel.php:287
|
568 |
-
msgid "Settings saved."
|
569 |
-
msgstr ""
|
570 |
-
|
571 |
-
#: svn/tags/0.9.0/Titan-Framework/class-admin-panel.php:292
|
572 |
-
#: svn/tags/0.9.1/Titan-Framework/class-admin-panel.php:292
|
573 |
-
#: svn/tags/0.9.2/Titan-Framework/class-admin-panel.php:292
|
574 |
-
#: svn/tags/0.9.3/Titan-Framework/class-admin-panel.php:292
|
575 |
-
#: svn/tags/0.9.3/trunk/Titan-Framework/class-admin-panel.php:292
|
576 |
-
#: svn/tags/0.9.4/Titan-Framework/class-admin-panel.php:292
|
577 |
-
#: svn/tags/0.9.5/Titan-Framework/class-admin-panel.php:289
|
578 |
-
#: svn/tags/0.9.6/Titan-Framework/class-admin-panel.php:289
|
579 |
-
#: svn/tags/0.9.7/Titan-Framework/class-admin-panel.php:289
|
580 |
-
msgid "Settings reset to default."
|
581 |
-
msgstr ""
|
582 |
-
|
583 |
-
#: svn/tags/0.9.0/Titan-Framework/class-meta-box.php:35
|
584 |
-
#: svn/tags/0.9.0/Titan-Framework/class-theme-customizer-section.php:30
|
585 |
-
#: svn/tags/0.9.1/Titan-Framework/class-meta-box.php:35
|
586 |
-
#: svn/tags/0.9.1/Titan-Framework/class-theme-customizer-section.php:30
|
587 |
-
#: svn/tags/0.9.2/Titan-Framework/class-meta-box.php:35
|
588 |
-
#: svn/tags/0.9.2/Titan-Framework/class-theme-customizer-section.php:30
|
589 |
-
#: svn/tags/0.9.3/Titan-Framework/class-meta-box.php:35
|
590 |
-
#: svn/tags/0.9.3/Titan-Framework/class-theme-customizer-section.php:30
|
591 |
-
#: svn/tags/0.9.3/trunk/Titan-Framework/class-meta-box.php:35
|
592 |
-
#: svn/tags/0.9.3/trunk/Titan-Framework/class-theme-customizer-section.php:30
|
593 |
-
#: svn/tags/0.9.4/Titan-Framework/class-meta-box.php:35
|
594 |
-
#: svn/tags/0.9.4/Titan-Framework/class-theme-customizer-section.php:30
|
595 |
-
#: svn/tags/0.9.5/Titan-Framework/class-meta-box.php:35
|
596 |
-
#: svn/tags/0.9.5/Titan-Framework/class-theme-customizer-section.php:30
|
597 |
-
#: svn/tags/0.9.6/Titan-Framework/class-meta-box.php:35
|
598 |
-
#: svn/tags/0.9.6/Titan-Framework/class-theme-customizer-section.php:30
|
599 |
-
#: svn/tags/0.9.7/Titan-Framework/class-meta-box.php:35
|
600 |
-
#: svn/tags/0.9.7/Titan-Framework/class-theme-customizer-section.php:30
|
601 |
-
msgid "More Options"
|
602 |
-
msgstr ""
|
603 |
-
|
604 |
-
#: svn/tags/0.9.0/Titan-Framework/class-option-save.php:20
|
605 |
-
#: svn/tags/0.9.1/Titan-Framework/class-option-save.php:20
|
606 |
-
#: svn/tags/0.9.2/Titan-Framework/class-option-save.php:20
|
607 |
-
#: svn/tags/0.9.3/Titan-Framework/class-option-save.php:20
|
608 |
-
#: svn/tags/0.9.3/trunk/Titan-Framework/class-option-save.php:20
|
609 |
-
#: svn/tags/0.9.4/Titan-Framework/class-option-save.php:20
|
610 |
-
#: svn/tags/0.9.5/Titan-Framework/class-option-save.php:20
|
611 |
-
#: svn/tags/0.9.6/Titan-Framework/class-option-save.php:20
|
612 |
-
#: svn/tags/0.9.7/Titan-Framework/class-option-save.php:20
|
613 |
-
msgid "Save Changes"
|
614 |
-
msgstr ""
|
615 |
-
|
616 |
-
#: svn/tags/0.9.0/Titan-Framework/class-option-save.php:23
|
617 |
-
#: svn/tags/0.9.1/Titan-Framework/class-option-save.php:23
|
618 |
-
#: svn/tags/0.9.2/Titan-Framework/class-option-save.php:23
|
619 |
-
#: svn/tags/0.9.3/Titan-Framework/class-option-save.php:23
|
620 |
-
#: svn/tags/0.9.3/trunk/Titan-Framework/class-option-save.php:23
|
621 |
-
#: svn/tags/0.9.4/Titan-Framework/class-option-save.php:23
|
622 |
-
#: svn/tags/0.9.5/Titan-Framework/class-option-save.php:23
|
623 |
-
#: svn/tags/0.9.6/Titan-Framework/class-option-save.php:23
|
624 |
-
#: svn/tags/0.9.7/Titan-Framework/class-option-save.php:23
|
625 |
-
msgid "Reset to Default"
|
626 |
-
msgstr ""
|
627 |
-
|
628 |
-
#: svn/tags/0.9.0/Titan-Framework/class-option-select-categories.php:37
|
629 |
-
#: svn/tags/0.9.0/Titan-Framework/class-option-select-categories.php:104
|
630 |
-
#: svn/tags/0.9.0/Titan-Framework/class-option-select-pages.php:30
|
631 |
-
#: svn/tags/0.9.0/Titan-Framework/class-option-select-posts.php:38
|
632 |
-
#: svn/tags/0.9.0/Titan-Framework/class-option-select-posts.php:106
|
633 |
-
#: svn/tags/0.9.1/Titan-Framework/class-option-select-categories.php:37
|
634 |
-
#: svn/tags/0.9.1/Titan-Framework/class-option-select-categories.php:104
|
635 |
-
#: svn/tags/0.9.1/Titan-Framework/class-option-select-pages.php:30
|
636 |
-
#: svn/tags/0.9.1/Titan-Framework/class-option-select-posts.php:38
|
637 |
-
#: svn/tags/0.9.1/Titan-Framework/class-option-select-posts.php:106
|
638 |
-
#: svn/tags/0.9.2/Titan-Framework/class-option-select-categories.php:37
|
639 |
-
#: svn/tags/0.9.2/Titan-Framework/class-option-select-categories.php:104
|
640 |
-
#: svn/tags/0.9.2/Titan-Framework/class-option-select-pages.php:30
|
641 |
-
#: svn/tags/0.9.2/Titan-Framework/class-option-select-posts.php:38
|
642 |
-
#: svn/tags/0.9.2/Titan-Framework/class-option-select-posts.php:106
|
643 |
-
#: svn/tags/0.9.3/Titan-Framework/class-option-select-categories.php:37
|
644 |
-
#: svn/tags/0.9.3/Titan-Framework/class-option-select-categories.php:104
|
645 |
-
#: svn/tags/0.9.3/Titan-Framework/class-option-select-pages.php:30
|
646 |
-
#: svn/tags/0.9.3/Titan-Framework/class-option-select-posts.php:38
|
647 |
-
#: svn/tags/0.9.3/Titan-Framework/class-option-select-posts.php:106
|
648 |
-
#: svn/tags/0.9.3/trunk/Titan-Framework/class-option-select-categories.php:37
|
649 |
-
#: svn/tags/0.9.3/trunk/Titan-Framework/class-option-select-categories.php:104
|
650 |
-
#: svn/tags/0.9.3/trunk/Titan-Framework/class-option-select-pages.php:30
|
651 |
-
#: svn/tags/0.9.3/trunk/Titan-Framework/class-option-select-posts.php:38
|
652 |
-
#: svn/tags/0.9.3/trunk/Titan-Framework/class-option-select-posts.php:106
|
653 |
-
#: svn/tags/0.9.4/Titan-Framework/class-option-select-categories.php:37
|
654 |
-
#: svn/tags/0.9.4/Titan-Framework/class-option-select-categories.php:104
|
655 |
-
#: svn/tags/0.9.4/Titan-Framework/class-option-select-pages.php:30
|
656 |
-
#: svn/tags/0.9.4/Titan-Framework/class-option-select-posts.php:38
|
657 |
-
#: svn/tags/0.9.4/Titan-Framework/class-option-select-posts.php:106
|
658 |
-
#: svn/tags/0.9.5/Titan-Framework/class-option-select-categories.php:37
|
659 |
-
#: svn/tags/0.9.5/Titan-Framework/class-option-select-categories.php:104
|
660 |
-
#: svn/tags/0.9.5/Titan-Framework/class-option-select-pages.php:30
|
661 |
-
#: svn/tags/0.9.5/Titan-Framework/class-option-select-posts.php:38
|
662 |
-
#: svn/tags/0.9.5/Titan-Framework/class-option-select-posts.php:106
|
663 |
-
#: svn/tags/0.9.6/Titan-Framework/class-option-select-categories.php:37
|
664 |
-
#: svn/tags/0.9.6/Titan-Framework/class-option-select-categories.php:104
|
665 |
-
#: svn/tags/0.9.6/Titan-Framework/class-option-select-pages.php:30
|
666 |
-
#: svn/tags/0.9.6/Titan-Framework/class-option-select-posts.php:38
|
667 |
-
#: svn/tags/0.9.6/Titan-Framework/class-option-select-posts.php:106
|
668 |
-
#: svn/tags/0.9.7/Titan-Framework/class-option-select-categories.php:37
|
669 |
-
#: svn/tags/0.9.7/Titan-Framework/class-option-select-categories.php:104
|
670 |
-
#: svn/tags/0.9.7/Titan-Framework/class-option-select-pages.php:30
|
671 |
-
#: svn/tags/0.9.7/Titan-Framework/class-option-select-posts.php:38
|
672 |
-
#: svn/tags/0.9.7/Titan-Framework/class-option-select-posts.php:106
|
673 |
-
msgid "Select"
|
674 |
-
msgstr ""
|
675 |
-
|
676 |
-
#: svn/tags/0.9.0/Titan-Framework/class-option-select-googlefont.php:29
|
677 |
-
#: svn/tags/0.9.1/Titan-Framework/class-option-select-googlefont.php:29
|
678 |
-
#: svn/tags/0.9.2/Titan-Framework/class-option-select-googlefont.php:29
|
679 |
-
#: svn/tags/0.9.3/Titan-Framework/class-option-select-googlefont.php:29
|
680 |
-
#: svn/tags/0.9.3/trunk/Titan-Framework/class-option-select-googlefont.php:29
|
681 |
-
#: svn/tags/0.9.4/Titan-Framework/class-option-select-googlefont.php:29
|
682 |
-
#: svn/tags/0.9.5/Titan-Framework/class-option-select-googlefont.php:29
|
683 |
-
#: svn/tags/0.9.6/Titan-Framework/class-option-select-googlefont.php:29
|
684 |
-
#: svn/tags/0.9.7/Titan-Framework/class-option-select-googlefont.php:29
|
685 |
-
msgid ""
|
686 |
-
"%s has been deprecated and will be removed in version %s! Please use %s "
|
687 |
-
"instead to avoid errors in the future."
|
688 |
-
msgstr ""
|
689 |
-
|
690 |
-
#: svn/tags/0.9.0/Titan-Framework/class-option-select-googlefont.php:108
|
691 |
-
#: svn/tags/0.9.1/Titan-Framework/class-option-select-googlefont.php:108
|
692 |
-
#: svn/tags/0.9.2/Titan-Framework/class-option-select-googlefont.php:108
|
693 |
-
#: svn/tags/0.9.3/Titan-Framework/class-option-select-googlefont.php:108
|
694 |
-
#: svn/tags/0.9.3/trunk/Titan-Framework/class-option-select-googlefont.php:108
|
695 |
-
#: svn/tags/0.9.4/Titan-Framework/class-option-select-googlefont.php:108
|
696 |
-
#: svn/tags/0.9.5/Titan-Framework/class-option-select-googlefont.php:108
|
697 |
-
#: svn/tags/0.9.6/Titan-Framework/class-option-select-googlefont.php:108
|
698 |
-
#: svn/tags/0.9.7/Titan-Framework/class-option-select-googlefont.php:108
|
699 |
-
msgid "Ultra-light"
|
700 |
-
msgstr ""
|
701 |
-
|
702 |
-
#: svn/tags/0.9.0/Titan-Framework/class-option-select-googlefont.php:111
|
703 |
-
#: svn/tags/0.9.1/Titan-Framework/class-option-select-googlefont.php:111
|
704 |
-
#: svn/tags/0.9.2/Titan-Framework/class-option-select-googlefont.php:111
|
705 |
-
#: svn/tags/0.9.3/Titan-Framework/class-option-select-googlefont.php:111
|
706 |
-
#: svn/tags/0.9.3/trunk/Titan-Framework/class-option-select-googlefont.php:111
|
707 |
-
#: svn/tags/0.9.4/Titan-Framework/class-option-select-googlefont.php:111
|
708 |
-
#: svn/tags/0.9.5/Titan-Framework/class-option-select-googlefont.php:111
|
709 |
-
#: svn/tags/0.9.6/Titan-Framework/class-option-select-googlefont.php:111
|
710 |
-
#: svn/tags/0.9.7/Titan-Framework/class-option-select-googlefont.php:111
|
711 |
-
msgid "Light"
|
712 |
-
msgstr ""
|
713 |
-
|
714 |
-
#: svn/tags/0.9.0/Titan-Framework/class-option-select-googlefont.php:114
|
715 |
-
#: svn/tags/0.9.1/Titan-Framework/class-option-select-googlefont.php:114
|
716 |
-
#: svn/tags/0.9.2/Titan-Framework/class-option-select-googlefont.php:114
|
717 |
-
#: svn/tags/0.9.3/Titan-Framework/class-option-select-googlefont.php:114
|
718 |
-
#: svn/tags/0.9.3/trunk/Titan-Framework/class-option-select-googlefont.php:114
|
719 |
-
#: svn/tags/0.9.4/Titan-Framework/class-option-select-googlefont.php:114
|
720 |
-
#: svn/tags/0.9.5/Titan-Framework/class-option-select-googlefont.php:114
|
721 |
-
#: svn/tags/0.9.6/Titan-Framework/class-option-select-googlefont.php:114
|
722 |
-
#: svn/tags/0.9.7/Titan-Framework/class-option-select-googlefont.php:114
|
723 |
-
msgid "Book"
|
724 |
-
msgstr ""
|
725 |
-
|
726 |
-
#: svn/tags/0.9.0/Titan-Framework/class-option-select-googlefont.php:117
|
727 |
-
#: svn/tags/0.9.1/Titan-Framework/class-option-select-googlefont.php:117
|
728 |
-
#: svn/tags/0.9.2/Titan-Framework/class-option-select-googlefont.php:117
|
729 |
-
#: svn/tags/0.9.3/Titan-Framework/class-option-select-googlefont.php:117
|
730 |
-
#: svn/tags/0.9.3/trunk/Titan-Framework/class-option-select-googlefont.php:117
|
731 |
-
#: svn/tags/0.9.4/Titan-Framework/class-option-select-googlefont.php:117
|
732 |
-
#: svn/tags/0.9.5/Titan-Framework/class-option-select-googlefont.php:117
|
733 |
-
#: svn/tags/0.9.6/Titan-Framework/class-option-select-googlefont.php:117
|
734 |
-
#: svn/tags/0.9.7/Titan-Framework/class-option-select-googlefont.php:117
|
735 |
-
msgid "Medium"
|
736 |
-
msgstr ""
|
737 |
-
|
738 |
-
#: svn/tags/0.9.0/Titan-Framework/class-option-select-googlefont.php:120
|
739 |
-
#: svn/tags/0.9.1/Titan-Framework/class-option-select-googlefont.php:120
|
740 |
-
#: svn/tags/0.9.2/Titan-Framework/class-option-select-googlefont.php:120
|
741 |
-
#: svn/tags/0.9.3/Titan-Framework/class-option-select-googlefont.php:120
|
742 |
-
#: svn/tags/0.9.3/trunk/Titan-Framework/class-option-select-googlefont.php:120
|
743 |
-
#: svn/tags/0.9.4/Titan-Framework/class-option-select-googlefont.php:120
|
744 |
-
#: svn/tags/0.9.5/Titan-Framework/class-option-select-googlefont.php:120
|
745 |
-
#: svn/tags/0.9.6/Titan-Framework/class-option-select-googlefont.php:120
|
746 |
-
#: svn/tags/0.9.7/Titan-Framework/class-option-select-googlefont.php:120
|
747 |
-
msgid "Semi-Bold"
|
748 |
-
msgstr ""
|
749 |
-
|
750 |
-
#: svn/tags/0.9.0/Titan-Framework/class-option-select-googlefont.php:123
|
751 |
-
#: svn/tags/0.9.1/Titan-Framework/class-option-select-googlefont.php:123
|
752 |
-
#: svn/tags/0.9.2/Titan-Framework/class-option-select-googlefont.php:123
|
753 |
-
#: svn/tags/0.9.3/Titan-Framework/class-option-select-googlefont.php:123
|
754 |
-
#: svn/tags/0.9.3/trunk/Titan-Framework/class-option-select-googlefont.php:123
|
755 |
-
#: svn/tags/0.9.4/Titan-Framework/class-option-select-googlefont.php:123
|
756 |
-
#: svn/tags/0.9.5/Titan-Framework/class-option-select-googlefont.php:123
|
757 |
-
#: svn/tags/0.9.6/Titan-Framework/class-option-select-googlefont.php:123
|
758 |
-
#: svn/tags/0.9.7/Titan-Framework/class-option-select-googlefont.php:123
|
759 |
-
msgid "Bold"
|
760 |
-
msgstr ""
|
761 |
-
|
762 |
-
#: svn/tags/0.9.0/Titan-Framework/class-option-select-googlefont.php:126
|
763 |
-
#: svn/tags/0.9.1/Titan-Framework/class-option-select-googlefont.php:126
|
764 |
-
#: svn/tags/0.9.2/Titan-Framework/class-option-select-googlefont.php:126
|
765 |
-
#: svn/tags/0.9.3/Titan-Framework/class-option-select-googlefont.php:126
|
766 |
-
#: svn/tags/0.9.3/trunk/Titan-Framework/class-option-select-googlefont.php:126
|
767 |
-
#: svn/tags/0.9.4/Titan-Framework/class-option-select-googlefont.php:126
|
768 |
-
#: svn/tags/0.9.5/Titan-Framework/class-option-select-googlefont.php:126
|
769 |
-
#: svn/tags/0.9.6/Titan-Framework/class-option-select-googlefont.php:126
|
770 |
-
#: svn/tags/0.9.7/Titan-Framework/class-option-select-googlefont.php:126
|
771 |
-
msgid "Extra-Bold"
|
772 |
-
msgstr ""
|
773 |
-
|
774 |
-
#: svn/tags/0.9.0/Titan-Framework/class-option-select-googlefont.php:129
|
775 |
-
#: svn/tags/0.9.1/Titan-Framework/class-option-select-googlefont.php:129
|
776 |
-
#: svn/tags/0.9.2/Titan-Framework/class-option-select-googlefont.php:129
|
777 |
-
#: svn/tags/0.9.3/Titan-Framework/class-option-select-googlefont.php:129
|
778 |
-
#: svn/tags/0.9.3/trunk/Titan-Framework/class-option-select-googlefont.php:129
|
779 |
-
#: svn/tags/0.9.4/Titan-Framework/class-option-select-googlefont.php:129
|
780 |
-
#: svn/tags/0.9.5/Titan-Framework/class-option-select-googlefont.php:129
|
781 |
-
#: svn/tags/0.9.6/Titan-Framework/class-option-select-googlefont.php:129
|
782 |
-
#: svn/tags/0.9.7/Titan-Framework/class-option-select-googlefont.php:129
|
783 |
-
msgid "Ultra-Bold"
|
784 |
-
msgstr ""
|
785 |
-
|
786 |
-
#: svn/tags/0.9.0/Titan-Framework/class-option-select-googlefont.php:132
|
787 |
-
#: svn/tags/0.9.1/Titan-Framework/class-option-select-googlefont.php:132
|
788 |
-
#: svn/tags/0.9.2/Titan-Framework/class-option-select-googlefont.php:132
|
789 |
-
#: svn/tags/0.9.3/Titan-Framework/class-option-select-googlefont.php:132
|
790 |
-
#: svn/tags/0.9.3/trunk/Titan-Framework/class-option-select-googlefont.php:132
|
791 |
-
#: svn/tags/0.9.4/Titan-Framework/class-option-select-googlefont.php:132
|
792 |
-
#: svn/tags/0.9.5/Titan-Framework/class-option-select-googlefont.php:132
|
793 |
-
#: svn/tags/0.9.6/Titan-Framework/class-option-select-googlefont.php:132
|
794 |
-
#: svn/tags/0.9.7/Titan-Framework/class-option-select-googlefont.php:132
|
795 |
-
msgid "Regular"
|
796 |
-
msgstr ""
|
797 |
-
|
798 |
-
#: svn/tags/0.9.0/Titan-Framework/class-option-upload.php:196
|
799 |
-
#: svn/tags/0.9.1/Titan-Framework/class-option-upload.php:196
|
800 |
-
#: svn/tags/0.9.2/Titan-Framework/class-option-upload.php:196
|
801 |
-
#: svn/tags/0.9.3/Titan-Framework/class-option-upload.php:196
|
802 |
-
#: svn/tags/0.9.3/trunk/Titan-Framework/class-option-upload.php:196
|
803 |
-
#: svn/tags/0.9.4/Titan-Framework/class-option-upload.php:196
|
804 |
-
#: svn/tags/0.9.5/Titan-Framework/class-option-upload.php:196
|
805 |
-
#: svn/tags/0.9.6/Titan-Framework/class-option-upload.php:196
|
806 |
-
#: svn/tags/0.9.7/Titan-Framework/class-option-upload.php:196
|
807 |
-
msgid "Select Image"
|
808 |
-
msgstr ""
|
809 |
-
|
810 |
-
#: svn/tags/0.9.0/Titan-Framework/class-option-upload.php:199
|
811 |
-
#: svn/tags/0.9.1/Titan-Framework/class-option-upload.php:199
|
812 |
-
#: svn/tags/0.9.2/Titan-Framework/class-option-upload.php:199
|
813 |
-
#: svn/tags/0.9.3/Titan-Framework/class-option-upload.php:199
|
814 |
-
#: svn/tags/0.9.3/trunk/Titan-Framework/class-option-upload.php:199
|
815 |
-
#: svn/tags/0.9.4/Titan-Framework/class-option-upload.php:199
|
816 |
-
#: svn/tags/0.9.5/Titan-Framework/class-option-upload.php:199
|
817 |
-
#: svn/tags/0.9.6/Titan-Framework/class-option-upload.php:199
|
818 |
-
#: svn/tags/0.9.7/Titan-Framework/class-option-upload.php:199
|
819 |
-
msgid "Use image"
|
820 |
-
msgstr ""
|
821 |
-
|
822 |
-
#: svn/tags/0.9.0/Titan-Framework/class-option.php:40
|
823 |
-
#: svn/tags/0.9.1/Titan-Framework/class-option.php:40
|
824 |
-
#: svn/tags/0.9.2/Titan-Framework/class-option.php:40
|
825 |
-
#: svn/tags/0.9.3/Titan-Framework/class-option.php:40
|
826 |
-
#: svn/tags/0.9.3/trunk/Titan-Framework/class-option.php:40
|
827 |
-
#: svn/tags/0.9.4/Titan-Framework/class-option.php:40
|
828 |
-
#: svn/tags/0.9.5/Titan-Framework/class-option.php:40
|
829 |
-
#: svn/tags/0.9.6/Titan-Framework/class-option.php:40
|
830 |
-
#: svn/tags/0.9.7/Titan-Framework/class-option.php:40
|
831 |
-
msgid "Option type or extended class %s does not exist."
|
832 |
-
msgstr ""
|
833 |
-
|
834 |
-
#: svn/tags/0.9.0/Titan-Framework/class-titan-framework.php:85
|
835 |
-
#: svn/tags/0.9.1/Titan-Framework/class-titan-framework.php:85
|
836 |
-
#: svn/tags/0.9.2/Titan-Framework/class-titan-framework.php:85
|
837 |
-
#: svn/tags/0.9.3/Titan-Framework/class-titan-framework.php:85
|
838 |
-
#: svn/tags/0.9.3/trunk/Titan-Framework/class-titan-framework.php:85
|
839 |
-
#: svn/tags/0.9.4/Titan-Framework/class-titan-framework.php:85
|
840 |
-
#: svn/tags/0.9.5/Titan-Framework/class-titan-framework.php:85
|
841 |
-
#: svn/tags/0.9.6/Titan-Framework/class-titan-framework.php:85
|
842 |
-
#: svn/tags/0.9.7/Titan-Framework/class-titan-framework.php:85
|
843 |
-
msgid "All option IDs must be unique. The id %s has been used multiple times."
|
844 |
-
msgstr ""
|
845 |
-
|
846 |
-
#: svn/tags/0.9.0/Titan-Framework/class-titan-framework.php:346
|
847 |
-
#: svn/tags/0.9.0/Titan-Framework/class-titan-framework.php:393
|
848 |
-
#: svn/tags/0.9.1/Titan-Framework/class-titan-framework.php:346
|
849 |
-
#: svn/tags/0.9.1/Titan-Framework/class-titan-framework.php:393
|
850 |
-
#: svn/tags/0.9.2/Titan-Framework/class-titan-framework.php:346
|
851 |
-
#: svn/tags/0.9.2/Titan-Framework/class-titan-framework.php:393
|
852 |
-
#: svn/tags/0.9.3/Titan-Framework/class-titan-framework.php:346
|
853 |
-
#: svn/tags/0.9.3/Titan-Framework/class-titan-framework.php:393
|
854 |
-
#: svn/tags/0.9.3/trunk/Titan-Framework/class-titan-framework.php:346
|
855 |
-
#: svn/tags/0.9.3/trunk/Titan-Framework/class-titan-framework.php:393
|
856 |
-
#: svn/tags/0.9.4/Titan-Framework/class-titan-framework.php:346
|
857 |
-
#: svn/tags/0.9.4/Titan-Framework/class-titan-framework.php:393
|
858 |
-
#: svn/tags/0.9.5/Titan-Framework/class-titan-framework.php:346
|
859 |
-
#: svn/tags/0.9.5/Titan-Framework/class-titan-framework.php:393
|
860 |
-
#: svn/tags/0.9.6/Titan-Framework/class-titan-framework.php:346
|
861 |
-
#: svn/tags/0.9.6/Titan-Framework/class-titan-framework.php:393
|
862 |
-
#: svn/tags/0.9.7/Titan-Framework/class-titan-framework.php:346
|
863 |
-
#: svn/tags/0.9.7/Titan-Framework/class-titan-framework.php:393
|
864 |
-
msgid ""
|
865 |
-
"Wrong usage of %s, this should be called inside a hook or from within a "
|
866 |
-
"theme file."
|
867 |
-
msgstr ""
|
868 |
-
|
869 |
-
#: svn/tags/0.9.0/Titan-Framework/titan-framework.php:126
|
870 |
-
#: svn/tags/0.9.1/Titan-Framework/titan-framework.php:126
|
871 |
-
#: svn/tags/0.9.2/Titan-Framework/titan-framework.php:126
|
872 |
-
#: svn/tags/0.9.3/Titan-Framework/titan-framework.php:126
|
873 |
-
#: svn/tags/0.9.3/trunk/Titan-Framework/titan-framework.php:126
|
874 |
-
#: svn/tags/0.9.4/Titan-Framework/titan-framework.php:126
|
875 |
-
#: svn/tags/0.9.5/Titan-Framework/titan-framework.php:126
|
876 |
-
#: svn/tags/0.9.6/Titan-Framework/titan-framework.php:126
|
877 |
-
#: svn/tags/0.9.7/Titan-Framework/titan-framework.php:126
|
878 |
-
msgid "Documentation"
|
879 |
-
msgstr ""
|
880 |
-
|
881 |
-
#: svn/tags/0.9.0/Titan-Framework/titan-framework.php:130
|
882 |
-
#: svn/tags/0.9.1/Titan-Framework/titan-framework.php:130
|
883 |
-
#: svn/tags/0.9.2/Titan-Framework/titan-framework.php:130
|
884 |
-
#: svn/tags/0.9.3/Titan-Framework/titan-framework.php:130
|
885 |
-
#: svn/tags/0.9.3/trunk/Titan-Framework/titan-framework.php:130
|
886 |
-
#: svn/tags/0.9.4/Titan-Framework/titan-framework.php:130
|
887 |
-
#: svn/tags/0.9.5/Titan-Framework/titan-framework.php:130
|
888 |
-
#: svn/tags/0.9.6/Titan-Framework/titan-framework.php:130
|
889 |
-
#: svn/tags/0.9.7/Titan-Framework/titan-framework.php:130
|
890 |
-
msgid "GitHub Repo"
|
891 |
-
msgstr ""
|
892 |
-
|
893 |
-
#: svn/tags/0.9.0/Titan-Framework/titan-framework.php:134
|
894 |
-
#: svn/tags/0.9.1/Titan-Framework/titan-framework.php:134
|
895 |
-
#: svn/tags/0.9.2/Titan-Framework/titan-framework.php:134
|
896 |
-
#: svn/tags/0.9.3/Titan-Framework/titan-framework.php:134
|
897 |
-
#: svn/tags/0.9.3/trunk/Titan-Framework/titan-framework.php:134
|
898 |
-
#: svn/tags/0.9.4/Titan-Framework/titan-framework.php:134
|
899 |
-
#: svn/tags/0.9.5/Titan-Framework/titan-framework.php:134
|
900 |
-
#: svn/tags/0.9.6/Titan-Framework/titan-framework.php:134
|
901 |
-
#: svn/tags/0.9.7/Titan-Framework/titan-framework.php:134
|
902 |
-
msgid "Issue Tracker"
|
903 |
-
msgstr ""
|
904 |
-
|
905 |
-
#: svn/tags/0.9.0/better-font-awesome.php:185
|
906 |
-
#: svn/tags/0.9.1/better-font-awesome.php:178
|
907 |
-
msgid "Latest"
|
908 |
-
msgstr ""
|
909 |
-
|
910 |
-
#: svn/tags/0.9.0/better-font-awesome.php:199
|
911 |
-
#: svn/tags/0.9.1/better-font-awesome.php:192
|
912 |
-
#: svn/tags/0.9.2/better-font-awesome.php:204
|
913 |
-
#: svn/tags/0.9.3/better-font-awesome.php:242
|
914 |
-
#: svn/tags/0.9.3/trunk/better-font-awesome.php:242
|
915 |
-
#: svn/tags/0.9.4/better-font-awesome.php:234
|
916 |
-
#: svn/tags/0.9.5/better-font-awesome.php:234
|
917 |
-
#: svn/tags/0.9.6/better-font-awesome.php:231
|
918 |
-
#: svn/tags/0.9.7/better-font-awesome.php:235
|
919 |
-
msgid "Font Awesome version"
|
920 |
-
msgstr ""
|
921 |
-
|
922 |
-
#: svn/tags/0.9.0/better-font-awesome.php:202
|
923 |
-
#: svn/tags/0.9.1/better-font-awesome.php:195
|
924 |
-
#: svn/tags/0.9.2/better-font-awesome.php:207
|
925 |
-
#: svn/tags/0.9.3/better-font-awesome.php:245
|
926 |
-
#: svn/tags/0.9.3/trunk/better-font-awesome.php:245
|
927 |
-
#: svn/tags/0.9.4/better-font-awesome.php:237
|
928 |
-
#: svn/tags/0.9.5/better-font-awesome.php:237
|
929 |
-
#: svn/tags/0.9.6/better-font-awesome.php:234
|
930 |
-
#: svn/tags/0.9.7/better-font-awesome.php:238
|
931 |
-
msgid ""
|
932 |
-
"Select the version of Font Awesome you would like to use. Visit the <a "
|
933 |
-
"href=\"http://fontawesome.io/\" target=\"_blank\">Font Awesome website</a> "
|
934 |
-
"for more information."
|
935 |
-
msgstr ""
|
936 |
-
|
937 |
-
#: svn/tags/0.9.0/better-font-awesome.php:216
|
938 |
-
#: svn/tags/0.9.1/better-font-awesome.php:209
|
939 |
-
msgid "Remove existing Font Awesome styles"
|
940 |
-
msgstr ""
|
941 |
-
|
942 |
-
#: svn/tags/0.9.0/better-font-awesome.php:219
|
943 |
-
#: svn/tags/0.9.1/better-font-awesome.php:212
|
944 |
-
msgid ""
|
945 |
-
"Remove Font Awesome CSS included by other plugins and themes. This may help "
|
946 |
-
"if icons are not rendering as expected."
|
947 |
-
msgstr ""
|
948 |
-
|
949 |
-
#: svn/tags/0.9.0/better-font-awesome.php:224
|
950 |
-
#: svn/tags/0.9.1/better-font-awesome.php:217
|
951 |
-
#: svn/tags/0.9.2/better-font-awesome.php:229
|
952 |
-
#: svn/tags/0.9.3/better-font-awesome.php:267
|
953 |
-
#: svn/tags/0.9.3/trunk/better-font-awesome.php:267
|
954 |
-
#: svn/tags/0.9.4/better-font-awesome.php:271
|
955 |
-
#: svn/tags/0.9.5/better-font-awesome.php:271
|
956 |
-
#: svn/tags/0.9.6/better-font-awesome.php:268
|
957 |
-
#: svn/tags/0.9.7/better-font-awesome.php:272
|
958 |
-
msgid "Usage"
|
959 |
-
msgstr ""
|
960 |
-
|
961 |
-
#: svn/tags/0.9.0/better-font-awesome.php:226
|
962 |
-
#: svn/tags/0.9.1/better-font-awesome.php:219
|
963 |
-
#: svn/tags/0.9.2/better-font-awesome.php:231
|
964 |
-
#: svn/tags/0.9.3/better-font-awesome.php:269
|
965 |
-
#: svn/tags/0.9.3/trunk/better-font-awesome.php:269
|
966 |
-
#: svn/tags/0.9.4/better-font-awesome.php:273
|
967 |
-
#: svn/tags/0.9.5/better-font-awesome.php:273
|
968 |
-
#: svn/tags/0.9.6/better-font-awesome.php:270
|
969 |
-
#: svn/tags/0.9.7/better-font-awesome.php:274
|
970 |
-
msgid ""
|
971 |
-
"\n"
|
972 |
-
"\t\t \t\t<b>Version 4</b> <small><a "
|
973 |
-
"href=\"http://fontawesome.io/examples/\">See all available classes "
|
974 |
-
"»</a></small><br /><br />\n"
|
975 |
-
"\t\t \t\t<i class=\"icon-star fa fa-star\"></i> <code>[icon "
|
976 |
-
"name=\"star\"]</code> or <code><i "
|
977 |
-
"class=\"fa-star\"></i></code><br /><br />\n"
|
978 |
-
"\t\t \t\t<i class=\"icon-star fa fa-star icon-2x fa-2x\"></i> "
|
979 |
-
"<code>[icon name=\"star\" class=\"fa-2x\"]</code> or <code><i "
|
980 |
-
"class=\"fa-star fa-2x\"></i></code><br /><br />\n"
|
981 |
-
"\t\t \t\t<i class=\"icon-star fa fa-star icon-2x fa-2x icon-border "
|
982 |
-
"fa-border\"></i> <code>[icon name=\"star\" class=\"fa-2x "
|
983 |
-
"fa-border\"]</code> or <code><i class=\"fa-star fa-2x "
|
984 |
-
"fa-border\"></i></code><br /><br /><br />\n"
|
985 |
-
"\t\t \t\t<b>Version 3</b> <small><a "
|
986 |
-
"href=\"http://fontawesome.io/3.2.1/examples/\">See all available classes "
|
987 |
-
"»</a></small><br /><br />\n"
|
988 |
-
"\t\t \t\t<i class=\"icon-star fa fa-star\"></i> <code>[icon "
|
989 |
-
"name=\"star\"]</code> or <code><i "
|
990 |
-
"class=\"icon-star\"></i></code><br /><br />\n"
|
991 |
-
"\t\t \t\t<i class=\"icon-star fa fa-star icon-2x fa-2x\"></i> "
|
992 |
-
"<code>[icon name=\"star\" class=\"icon-2x\"]</code> or <code><i "
|
993 |
-
"class=\"icon-star icon-2x\"></i></code><br /><br />\n"
|
994 |
-
"\t\t \t\t<i class=\"icon-star fa fa-star icon-2x fa-2x icon-border "
|
995 |
-
"fa-border\"></i> <code>[icon name=\"star\" class=\"icon-2x "
|
996 |
-
"icon-border\"]</code> or <code><i class=\"icon-star icon-2x "
|
997 |
-
"icon-border\"></i></code>\n"
|
998 |
-
"\n"
|
999 |
-
"\t\t \t\t"
|
1000 |
-
msgstr ""
|
1001 |
-
|
1002 |
-
#: svn/tags/0.9.2/better-font-awesome.php:221
|
1003 |
-
#: svn/tags/0.9.3/better-font-awesome.php:259
|
1004 |
-
#: svn/tags/0.9.3/trunk/better-font-awesome.php:259
|
1005 |
-
#: svn/tags/0.9.4/better-font-awesome.php:263
|
1006 |
-
#: svn/tags/0.9.5/better-font-awesome.php:263
|
1007 |
-
#: svn/tags/0.9.6/better-font-awesome.php:260
|
1008 |
-
#: svn/tags/0.9.7/better-font-awesome.php:264
|
1009 |
-
msgid "Remove existing FA"
|
1010 |
-
msgstr ""
|
1011 |
-
|
1012 |
-
#: svn/tags/0.9.2/better-font-awesome.php:224
|
1013 |
-
#: svn/tags/0.9.3/better-font-awesome.php:262
|
1014 |
-
#: svn/tags/0.9.3/trunk/better-font-awesome.php:262
|
1015 |
-
#: svn/tags/0.9.4/better-font-awesome.php:266
|
1016 |
-
#: svn/tags/0.9.5/better-font-awesome.php:266
|
1017 |
-
#: svn/tags/0.9.6/better-font-awesome.php:263
|
1018 |
-
#: svn/tags/0.9.7/better-font-awesome.php:267
|
1019 |
-
msgid ""
|
1020 |
-
"Remove Font Awesome CSS and shortcodes added by other plugins and themes. "
|
1021 |
-
"This may help if icons are not rendering properly."
|
1022 |
-
msgstr ""
|
1023 |
-
|
1024 |
-
#: svn/tags/0.9.4/better-font-awesome.php:243
|
1025 |
-
#: svn/tags/0.9.5/better-font-awesome.php:243
|
1026 |
-
#: svn/tags/0.9.6/better-font-awesome.php:240
|
1027 |
-
#: svn/tags/0.9.7/better-font-awesome.php:244
|
1028 |
-
msgid "CDN"
|
1029 |
-
msgstr ""
|
1030 |
-
|
1031 |
-
#: svn/tags/0.9.4/better-font-awesome.php:246
|
1032 |
-
#: svn/tags/0.9.5/better-font-awesome.php:246
|
1033 |
-
#: svn/tags/0.9.6/better-font-awesome.php:243
|
1034 |
-
#: svn/tags/0.9.7/better-font-awesome.php:247
|
1035 |
-
msgid "Select the CDN from which to load Font Awesome."
|
1036 |
-
msgstr ""
|
1037 |
-
|
1038 |
#: svn/tags/1.0.0/better-font-awesome.php:217
|
1039 |
#: svn/tags/1.0.1/better-font-awesome.php:217
|
1040 |
#: svn/tags/1.0.10/better-font-awesome.php:218
|
@@ -1153,7 +775,13 @@ msgstr ""
|
|
1153 |
#: svn/tags/1.7.0/lib/better-font-awesome-library/better-font-awesome-library.php:1079
|
1154 |
#: svn/tags/1.7.0/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1077
|
1155 |
#: svn/tags/1.7.1/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1077
|
1156 |
-
#: vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1077
|
|
|
|
|
|
|
|
|
|
|
|
|
1157 |
msgid "API Error"
|
1158 |
msgstr ""
|
1159 |
|
@@ -1186,7 +814,13 @@ msgstr ""
|
|
1186 |
#: svn/tags/1.7.0/lib/better-font-awesome-library/better-font-awesome-library.php:1081
|
1187 |
#: svn/tags/1.7.0/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1079
|
1188 |
#: svn/tags/1.7.1/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1079
|
1189 |
-
#: vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1079
|
|
|
|
|
|
|
|
|
|
|
|
|
1190 |
msgid ""
|
1191 |
"The attempt to reach the jsDelivr API server failed with the following "
|
1192 |
"error: %s"
|
@@ -1221,7 +855,13 @@ msgstr ""
|
|
1221 |
#: svn/tags/1.7.0/lib/better-font-awesome-library/better-font-awesome-library.php:1091
|
1222 |
#: svn/tags/1.7.0/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1089
|
1223 |
#: svn/tags/1.7.1/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1089
|
1224 |
-
#: vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1089
|
|
|
|
|
|
|
|
|
|
|
|
|
1225 |
msgid "Remote CSS Error"
|
1226 |
msgstr ""
|
1227 |
|
@@ -1254,7 +894,13 @@ msgstr ""
|
|
1254 |
#: svn/tags/1.7.0/lib/better-font-awesome-library/better-font-awesome-library.php:1093
|
1255 |
#: svn/tags/1.7.0/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1091
|
1256 |
#: svn/tags/1.7.1/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1091
|
1257 |
-
#: vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1091
|
|
|
|
|
|
|
|
|
|
|
|
|
1258 |
msgid ""
|
1259 |
"The attempt to fetch the remote Font Awesome stylesheet failed with the "
|
1260 |
"following error: %s %s The embedded fallback Font Awesome will be used "
|
@@ -1290,7 +936,13 @@ msgstr ""
|
|
1290 |
#: svn/tags/1.7.0/lib/better-font-awesome-library/better-font-awesome-library.php:1107
|
1291 |
#: svn/tags/1.7.0/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1105
|
1292 |
#: svn/tags/1.7.1/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1105
|
1293 |
-
#: vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1105
|
|
|
|
|
|
|
|
|
|
|
|
|
1294 |
msgid "Solution"
|
1295 |
msgstr ""
|
1296 |
|
@@ -1322,7 +974,18 @@ msgstr ""
|
|
1322 |
#: svn/tags/1.7.0/lib/better-font-awesome-library/better-font-awesome-library.php:493
|
1323 |
#: svn/tags/1.7.0/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:491
|
1324 |
#: svn/tags/1.7.1/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:491
|
1325 |
-
#: vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:491
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1326 |
msgid "The jsDelivr API servers appear to be temporarily unavailable."
|
1327 |
msgstr ""
|
1328 |
|
@@ -1354,7 +1017,13 @@ msgstr ""
|
|
1354 |
#: svn/tags/1.7.0/lib/better-font-awesome-library/better-font-awesome-library.php:1103
|
1355 |
#: svn/tags/1.7.0/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1101
|
1356 |
#: svn/tags/1.7.1/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1101
|
1357 |
-
#: vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1101
|
|
|
|
|
|
|
|
|
|
|
|
|
1358 |
msgid ""
|
1359 |
"<b>Don't worry! Better Font Awesome will still render using the included "
|
1360 |
"fallback version:</b> "
|
@@ -1375,7 +1044,13 @@ msgstr ""
|
|
1375 |
#: svn/tags/1.7.0/lib/better-font-awesome-library/better-font-awesome-library.php:1053
|
1376 |
#: svn/tags/1.7.0/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1051
|
1377 |
#: svn/tags/1.7.1/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1051
|
1378 |
-
#: vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1051
|
|
|
|
|
|
|
|
|
|
|
|
|
1379 |
msgid "Insert Icon"
|
1380 |
msgstr ""
|
1381 |
|
1 |
+
# Copyright (C) 2020 Mickey Kay
|
2 |
# This file is distributed under the GPLv2+.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: Better Font Awesome 1.7.3\n"
|
6 |
"Report-Msgid-Bugs-To: "
|
7 |
"https://wordpress.org/support/plugin/better-font-awesome\n"
|
8 |
+
"POT-Creation-Date: 2020-09-20 00:58:32+00:00\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=utf-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"PO-Revision-Date: 2020-MO-DA HO:MI+ZONE\n"
|
13 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
14 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
15 |
+
"X-Generator: grunt-wp-i18n 1.0.3\n"
|
16 |
|
17 |
#. Plugin Name of the plugin/theme
|
18 |
msgid "Better Font Awesome"
|
19 |
msgstr ""
|
20 |
|
21 |
+
#: better-font-awesome.php:241 svn/tags/1.7.0/better-font-awesome.php:237
|
22 |
#: svn/tags/1.7.1/better-font-awesome.php:237
|
23 |
+
#: svn/tags/1.7.2/better-font-awesome.php:237
|
24 |
+
#: svn/tags/2.0.0-beta/better-font-awesome.php:237
|
25 |
+
#: svn/tags/2.0.0-beta1/better-font-awesome.php:237
|
26 |
+
#: svn/tags/2.0.0-beta2/better-font-awesome.php:237
|
27 |
+
#: svn/tags/2.0.0-beta3/better-font-awesome.php:237
|
28 |
+
#: svn/trunk/better-font-awesome.php:237
|
29 |
msgid ""
|
30 |
"It appears that Better Font Awesome is missing it's <a "
|
31 |
"href=\"https://github.com/MickeyKay/better-font-awesome-library\" "
|
44 |
"target=\"_blank\">Github repo</a>."
|
45 |
msgstr ""
|
46 |
|
47 |
+
#: better-font-awesome.php:242 svn/tags/1.0.0/better-font-awesome.php:218
|
48 |
#: svn/tags/1.0.1/better-font-awesome.php:218
|
49 |
#: svn/tags/1.0.10/better-font-awesome.php:219
|
50 |
#: svn/tags/1.0.2/better-font-awesome.php:218
|
72 |
#: svn/tags/1.6.0/better-font-awesome.php:225
|
73 |
#: svn/tags/1.7.0/better-font-awesome.php:238
|
74 |
#: svn/tags/1.7.1/better-font-awesome.php:238
|
75 |
+
#: svn/tags/1.7.2/better-font-awesome.php:238
|
76 |
+
#: svn/tags/2.0.0-beta/better-font-awesome.php:238
|
77 |
+
#: svn/tags/2.0.0-beta1/better-font-awesome.php:238
|
78 |
+
#: svn/tags/2.0.0-beta2/better-font-awesome.php:238
|
79 |
+
#: svn/tags/2.0.0-beta3/better-font-awesome.php:238
|
80 |
+
#: svn/trunk/better-font-awesome.php:238
|
81 |
msgid "Back to the plugins page →"
|
82 |
msgstr ""
|
83 |
|
84 |
+
#: better-font-awesome.php:337
|
85 |
+
msgid "Better Font Awesome - We need your help!"
|
86 |
+
msgstr ""
|
87 |
+
|
88 |
+
#: better-font-awesome.php:338
|
89 |
+
msgid ""
|
90 |
+
"First of all, thanks so much for using the plugin! Second of all, %sBetter "
|
91 |
+
"Font Awesome 2.0%s is <i>almost</i> ready for use! The new version adds a "
|
92 |
+
"few major improvements, most notably support for Font Awesome 5 icons. "
|
93 |
+
"Before publishing the update, it's important that we get plenty of user "
|
94 |
+
"testing to validate that everything is working as expected, and we could "
|
95 |
+
"really use your help."
|
96 |
+
msgstr ""
|
97 |
+
|
98 |
+
#: better-font-awesome.php:339
|
99 |
+
msgid ""
|
100 |
+
"If you are interested in helping us test the new update, please read the "
|
101 |
+
"official %sblog post%s, which includes simple instructions for how to get "
|
102 |
+
"involved. Thanks so much for you support"
|
103 |
+
msgstr ""
|
104 |
+
|
105 |
+
#: better-font-awesome.php:341
|
106 |
+
msgid "Dismiss this notice."
|
107 |
+
msgstr ""
|
108 |
+
|
109 |
+
#: better-font-awesome.php:406 svn/tags/1.1.0/better-font-awesome.php:335
|
110 |
#: svn/tags/1.2.0/better-font-awesome.php:335
|
111 |
#: svn/tags/1.2.1/better-font-awesome.php:337
|
112 |
#: svn/tags/1.3.0/better-font-awesome.php:337
|
123 |
#: svn/tags/1.6.0/better-font-awesome.php:337
|
124 |
#: svn/tags/1.7.0/better-font-awesome.php:350
|
125 |
#: svn/tags/1.7.1/better-font-awesome.php:350
|
126 |
+
#: svn/tags/1.7.2/better-font-awesome.php:350
|
127 |
+
#: svn/tags/2.0.0-beta/better-font-awesome.php:350
|
128 |
+
#: svn/tags/2.0.0-beta1/better-font-awesome.php:350
|
129 |
+
#: svn/tags/2.0.0-beta2/better-font-awesome.php:350
|
130 |
+
#: svn/tags/2.0.0-beta3/better-font-awesome.php:350
|
131 |
+
#: svn/trunk/better-font-awesome.php:350
|
132 |
msgid "Save Settings"
|
133 |
msgstr ""
|
134 |
|
135 |
+
#: better-font-awesome.php:437 svn/tags/1.0.0/better-font-awesome.php:352
|
136 |
#: svn/tags/1.0.1/better-font-awesome.php:352
|
137 |
#: svn/tags/1.0.10/better-font-awesome.php:359
|
138 |
#: svn/tags/1.0.2/better-font-awesome.php:352
|
160 |
#: svn/tags/1.6.0/better-font-awesome.php:368
|
161 |
#: svn/tags/1.7.0/better-font-awesome.php:381
|
162 |
#: svn/tags/1.7.1/better-font-awesome.php:381
|
163 |
+
#: svn/tags/1.7.2/better-font-awesome.php:381
|
164 |
+
#: svn/tags/2.0.0-beta/better-font-awesome.php:381
|
165 |
+
#: svn/tags/2.0.0-beta1/better-font-awesome.php:381
|
166 |
+
#: svn/tags/2.0.0-beta2/better-font-awesome.php:381
|
167 |
+
#: svn/tags/2.0.0-beta3/better-font-awesome.php:381
|
168 |
+
#: svn/trunk/better-font-awesome.php:381
|
169 |
msgid "Version"
|
170 |
msgstr ""
|
171 |
|
172 |
+
#: better-font-awesome.php:446 svn/tags/1.0.0/better-font-awesome.php:361
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
173 |
#: svn/tags/1.0.1/better-font-awesome.php:361
|
174 |
#: svn/tags/1.0.10/better-font-awesome.php:368
|
175 |
#: svn/tags/1.0.2/better-font-awesome.php:361
|
197 |
#: svn/tags/1.6.0/better-font-awesome.php:377
|
198 |
#: svn/tags/1.7.0/better-font-awesome.php:390
|
199 |
#: svn/tags/1.7.1/better-font-awesome.php:390
|
200 |
+
#: svn/tags/1.7.2/better-font-awesome.php:390
|
201 |
+
#: svn/tags/2.0.0-beta/better-font-awesome.php:390
|
202 |
+
#: svn/tags/2.0.0-beta1/better-font-awesome.php:390
|
203 |
+
#: svn/tags/2.0.0-beta2/better-font-awesome.php:390
|
204 |
+
#: svn/tags/2.0.0-beta3/better-font-awesome.php:390
|
205 |
+
#: svn/trunk/better-font-awesome.php:390
|
206 |
msgid "Use minified CSS"
|
207 |
msgstr ""
|
208 |
|
209 |
+
#: better-font-awesome.php:452 svn/tags/1.0.0/better-font-awesome.php:367
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
210 |
#: svn/tags/1.0.1/better-font-awesome.php:367
|
211 |
#: svn/tags/1.0.10/better-font-awesome.php:374
|
212 |
#: svn/tags/1.0.2/better-font-awesome.php:367
|
234 |
#: svn/tags/1.6.0/better-font-awesome.php:383
|
235 |
#: svn/tags/1.7.0/better-font-awesome.php:396
|
236 |
#: svn/tags/1.7.1/better-font-awesome.php:396
|
237 |
+
#: svn/tags/1.7.2/better-font-awesome.php:396
|
238 |
+
#: svn/tags/2.0.0-beta/better-font-awesome.php:396
|
239 |
+
#: svn/tags/2.0.0-beta1/better-font-awesome.php:396
|
240 |
+
#: svn/tags/2.0.0-beta2/better-font-awesome.php:396
|
241 |
+
#: svn/tags/2.0.0-beta3/better-font-awesome.php:396
|
242 |
+
#: svn/trunk/better-font-awesome.php:396
|
243 |
msgid ""
|
244 |
"Whether to include the minified version of the CSS (checked), or the "
|
245 |
"unminified version (unchecked)."
|
246 |
msgstr ""
|
247 |
|
248 |
+
#: better-font-awesome.php:458 svn/tags/1.0.0/better-font-awesome.php:373
|
249 |
#: svn/tags/1.0.1/better-font-awesome.php:373
|
250 |
#: svn/tags/1.0.10/better-font-awesome.php:380
|
251 |
#: svn/tags/1.0.2/better-font-awesome.php:373
|
273 |
#: svn/tags/1.6.0/better-font-awesome.php:389
|
274 |
#: svn/tags/1.7.0/better-font-awesome.php:402
|
275 |
#: svn/tags/1.7.1/better-font-awesome.php:402
|
276 |
+
#: svn/tags/1.7.2/better-font-awesome.php:402
|
277 |
+
#: svn/tags/2.0.0-beta/better-font-awesome.php:402
|
278 |
+
#: svn/tags/2.0.0-beta1/better-font-awesome.php:402
|
279 |
+
#: svn/tags/2.0.0-beta2/better-font-awesome.php:402
|
280 |
+
#: svn/tags/2.0.0-beta3/better-font-awesome.php:402
|
281 |
+
#: svn/trunk/better-font-awesome.php:402
|
282 |
msgid "Remove existing Font Awesome"
|
283 |
msgstr ""
|
284 |
|
285 |
+
#: better-font-awesome.php:464 svn/tags/1.0.0/better-font-awesome.php:379
|
286 |
#: svn/tags/1.0.1/better-font-awesome.php:379
|
287 |
#: svn/tags/1.0.10/better-font-awesome.php:386
|
288 |
#: svn/tags/1.0.2/better-font-awesome.php:379
|
310 |
#: svn/tags/1.6.0/better-font-awesome.php:395
|
311 |
#: svn/tags/1.7.0/better-font-awesome.php:408
|
312 |
#: svn/tags/1.7.1/better-font-awesome.php:408
|
313 |
+
#: svn/tags/1.7.2/better-font-awesome.php:408
|
314 |
+
#: svn/tags/2.0.0-beta/better-font-awesome.php:408
|
315 |
+
#: svn/tags/2.0.0-beta1/better-font-awesome.php:408
|
316 |
+
#: svn/tags/2.0.0-beta2/better-font-awesome.php:408
|
317 |
+
#: svn/tags/2.0.0-beta3/better-font-awesome.php:408
|
318 |
+
#: svn/trunk/better-font-awesome.php:408
|
319 |
msgid ""
|
320 |
"Attempt to remove Font Awesome CSS and shortcodes added by other plugins "
|
321 |
"and themes."
|
322 |
msgstr ""
|
323 |
|
324 |
+
#: better-font-awesome.php:470 svn/tags/1.0.10/better-font-awesome.php:392
|
325 |
#: svn/tags/1.0.8/better-font-awesome.php:392
|
326 |
#: svn/tags/1.0.9/better-font-awesome.php:392
|
327 |
#: svn/tags/1.1.0/better-font-awesome.php:399
|
341 |
#: svn/tags/1.6.0/better-font-awesome.php:401
|
342 |
#: svn/tags/1.7.0/better-font-awesome.php:414
|
343 |
#: svn/tags/1.7.1/better-font-awesome.php:414
|
344 |
+
#: svn/tags/1.7.2/better-font-awesome.php:414
|
345 |
+
#: svn/tags/2.0.0-beta/better-font-awesome.php:414
|
346 |
+
#: svn/tags/2.0.0-beta1/better-font-awesome.php:414
|
347 |
+
#: svn/tags/2.0.0-beta2/better-font-awesome.php:414
|
348 |
+
#: svn/tags/2.0.0-beta3/better-font-awesome.php:414
|
349 |
+
#: svn/trunk/better-font-awesome.php:414
|
350 |
msgid "Hide admin notices"
|
351 |
msgstr ""
|
352 |
|
353 |
+
#: better-font-awesome.php:476 svn/tags/1.0.10/better-font-awesome.php:398
|
354 |
#: svn/tags/1.0.8/better-font-awesome.php:398
|
355 |
#: svn/tags/1.0.9/better-font-awesome.php:398
|
356 |
#: svn/tags/1.1.0/better-font-awesome.php:405
|
370 |
#: svn/tags/1.6.0/better-font-awesome.php:407
|
371 |
#: svn/tags/1.7.0/better-font-awesome.php:420
|
372 |
#: svn/tags/1.7.1/better-font-awesome.php:420
|
373 |
+
#: svn/tags/1.7.2/better-font-awesome.php:420
|
374 |
+
#: svn/tags/2.0.0-beta/better-font-awesome.php:420
|
375 |
+
#: svn/tags/2.0.0-beta1/better-font-awesome.php:420
|
376 |
+
#: svn/tags/2.0.0-beta2/better-font-awesome.php:420
|
377 |
+
#: svn/tags/2.0.0-beta3/better-font-awesome.php:420
|
378 |
+
#: svn/trunk/better-font-awesome.php:420
|
379 |
msgid ""
|
380 |
"Hide the default admin warnings that are shown when API and CDN errors "
|
381 |
"occur."
|
382 |
msgstr ""
|
383 |
|
384 |
+
#: better-font-awesome.php:556 better-font-awesome.php:582
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
385 |
#: svn/tags/1.0.0/better-font-awesome.php:396
|
386 |
#: svn/tags/1.0.0/better-font-awesome.php:422
|
387 |
#: svn/tags/1.0.1/better-font-awesome.php:396
|
438 |
#: svn/tags/1.7.0/better-font-awesome.php:519
|
439 |
#: svn/tags/1.7.1/better-font-awesome.php:493
|
440 |
#: svn/tags/1.7.1/better-font-awesome.php:519
|
441 |
+
#: svn/tags/1.7.2/better-font-awesome.php:493
|
442 |
+
#: svn/tags/1.7.2/better-font-awesome.php:519
|
443 |
+
#: svn/tags/2.0.0-beta/better-font-awesome.php:493
|
444 |
+
#: svn/tags/2.0.0-beta/better-font-awesome.php:519
|
445 |
+
#: svn/tags/2.0.0-beta1/better-font-awesome.php:493
|
446 |
+
#: svn/tags/2.0.0-beta1/better-font-awesome.php:519
|
447 |
+
#: svn/tags/2.0.0-beta2/better-font-awesome.php:493
|
448 |
+
#: svn/tags/2.0.0-beta2/better-font-awesome.php:519
|
449 |
+
#: svn/tags/2.0.0-beta3/better-font-awesome.php:493
|
450 |
+
#: svn/tags/2.0.0-beta3/better-font-awesome.php:519
|
451 |
+
#: svn/trunk/better-font-awesome.php:493 svn/trunk/better-font-awesome.php:519
|
452 |
msgid "Always Latest"
|
453 |
msgstr ""
|
454 |
|
455 |
+
#: better-font-awesome.php:616 svn/tags/1.0.0/better-font-awesome.php:456
|
456 |
#: svn/tags/1.0.1/better-font-awesome.php:456
|
457 |
#: svn/tags/1.0.10/better-font-awesome.php:475
|
458 |
#: svn/tags/1.0.2/better-font-awesome.php:456
|
480 |
#: svn/tags/1.6.0/better-font-awesome.php:540
|
481 |
#: svn/tags/1.7.0/better-font-awesome.php:553
|
482 |
#: svn/tags/1.7.1/better-font-awesome.php:553
|
483 |
+
#: svn/tags/1.7.2/better-font-awesome.php:553
|
484 |
+
#: svn/tags/2.0.0-beta/better-font-awesome.php:553
|
485 |
+
#: svn/tags/2.0.0-beta1/better-font-awesome.php:553
|
486 |
+
#: svn/tags/2.0.0-beta2/better-font-awesome.php:553
|
487 |
+
#: svn/tags/2.0.0-beta3/better-font-awesome.php:553
|
488 |
+
#: svn/trunk/better-font-awesome.php:553
|
489 |
msgid ""
|
490 |
"Version selection is currently unavailable. The attempt to reach the "
|
491 |
"jsDelivr API server failed with the following error: %s"
|
492 |
msgstr ""
|
493 |
|
494 |
+
#: better-font-awesome.php:623 svn/tags/1.0.0/better-font-awesome.php:463
|
495 |
#: svn/tags/1.0.1/better-font-awesome.php:463
|
496 |
#: svn/tags/1.0.10/better-font-awesome.php:482
|
497 |
#: svn/tags/1.0.2/better-font-awesome.php:463
|
519 |
#: svn/tags/1.6.0/better-font-awesome.php:547
|
520 |
#: svn/tags/1.7.0/better-font-awesome.php:560
|
521 |
#: svn/tags/1.7.1/better-font-awesome.php:560
|
522 |
+
#: svn/tags/1.7.2/better-font-awesome.php:560
|
523 |
+
#: svn/tags/2.0.0-beta/better-font-awesome.php:560
|
524 |
+
#: svn/tags/2.0.0-beta1/better-font-awesome.php:560
|
525 |
+
#: svn/tags/2.0.0-beta2/better-font-awesome.php:560
|
526 |
+
#: svn/tags/2.0.0-beta3/better-font-awesome.php:560
|
527 |
+
#: svn/trunk/better-font-awesome.php:560
|
528 |
msgid "Font Awesome will still render using version: %s"
|
529 |
msgstr ""
|
530 |
|
531 |
+
#: better-font-awesome.php:630 svn/tags/1.0.0/better-font-awesome.php:470
|
532 |
#: svn/tags/1.0.0/lib/better-font-awesome-library/better-font-awesome-library.php:1044
|
533 |
#: svn/tags/1.0.1/better-font-awesome.php:470
|
534 |
#: svn/tags/1.0.1/lib/better-font-awesome-library/better-font-awesome-library.php:1052
|
585 |
#: svn/tags/1.7.0/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1107
|
586 |
#: svn/tags/1.7.1/better-font-awesome.php:567
|
587 |
#: svn/tags/1.7.1/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1107
|
588 |
+
#: svn/tags/1.7.2/better-font-awesome.php:567
|
589 |
+
#: svn/tags/1.7.2/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1107
|
590 |
+
#: svn/tags/2.0.0-beta/better-font-awesome.php:567
|
591 |
+
#: svn/tags/2.0.0-beta/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1312
|
592 |
+
#: svn/tags/2.0.0-beta1/better-font-awesome.php:567
|
593 |
+
#: svn/tags/2.0.0-beta1/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1312
|
594 |
+
#: svn/tags/2.0.0-beta2/better-font-awesome.php:567
|
595 |
+
#: svn/tags/2.0.0-beta2/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1313
|
596 |
+
#: svn/tags/2.0.0-beta3/better-font-awesome.php:567
|
597 |
+
#: svn/tags/2.0.0-beta3/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1317
|
598 |
+
#: svn/trunk/better-font-awesome.php:567
|
599 |
+
#: svn/trunk/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1107
|
600 |
+
#: vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1317
|
601 |
msgid ""
|
602 |
"This may be the result of a temporary server or connectivity issue which "
|
603 |
"will resolve shortly. However if the problem persists please file a support "
|
604 |
"ticket on the %splugin forum%s, citing the errors listed above. "
|
605 |
msgstr ""
|
606 |
|
607 |
+
#: better-font-awesome.php:677 svn/tags/1.3.0/better-font-awesome.php:601
|
608 |
#: svn/tags/1.3.1/better-font-awesome.php:601
|
609 |
#: svn/tags/1.3.2/better-font-awesome.php:601
|
610 |
#: svn/tags/1.3.3/better-font-awesome.php:601
|
618 |
#: svn/tags/1.6.0/better-font-awesome.php:601
|
619 |
#: svn/tags/1.7.0/better-font-awesome.php:614
|
620 |
#: svn/tags/1.7.1/better-font-awesome.php:614
|
621 |
+
#: svn/tags/1.7.2/better-font-awesome.php:614
|
622 |
+
#: svn/tags/2.0.0-beta/better-font-awesome.php:614
|
623 |
+
#: svn/tags/2.0.0-beta1/better-font-awesome.php:614
|
624 |
+
#: svn/tags/2.0.0-beta2/better-font-awesome.php:614
|
625 |
+
#: svn/tags/2.0.0-beta3/better-font-awesome.php:614
|
626 |
+
#: svn/trunk/better-font-awesome.php:614
|
627 |
msgid ""
|
628 |
"<h3>Usage</h3>\n"
|
629 |
" <b>Font Awesome version 4.x "
|
657 |
"icon-coffee icon-2x icon-rotate-90\"></i></code>"
|
658 |
msgstr ""
|
659 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
660 |
#: svn/tags/1.0.0/better-font-awesome.php:217
|
661 |
#: svn/tags/1.0.1/better-font-awesome.php:217
|
662 |
#: svn/tags/1.0.10/better-font-awesome.php:218
|
775 |
#: svn/tags/1.7.0/lib/better-font-awesome-library/better-font-awesome-library.php:1079
|
776 |
#: svn/tags/1.7.0/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1077
|
777 |
#: svn/tags/1.7.1/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1077
|
778 |
+
#: svn/tags/1.7.2/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1077
|
779 |
+
#: svn/tags/2.0.0-beta/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1282
|
780 |
+
#: svn/tags/2.0.0-beta1/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1282
|
781 |
+
#: svn/tags/2.0.0-beta2/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1283
|
782 |
+
#: svn/tags/2.0.0-beta3/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1287
|
783 |
+
#: svn/trunk/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1077
|
784 |
+
#: vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1287
|
785 |
msgid "API Error"
|
786 |
msgstr ""
|
787 |
|
814 |
#: svn/tags/1.7.0/lib/better-font-awesome-library/better-font-awesome-library.php:1081
|
815 |
#: svn/tags/1.7.0/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1079
|
816 |
#: svn/tags/1.7.1/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1079
|
817 |
+
#: svn/tags/1.7.2/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1079
|
818 |
+
#: svn/tags/2.0.0-beta/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1284
|
819 |
+
#: svn/tags/2.0.0-beta1/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1284
|
820 |
+
#: svn/tags/2.0.0-beta2/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1285
|
821 |
+
#: svn/tags/2.0.0-beta3/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1289
|
822 |
+
#: svn/trunk/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1079
|
823 |
+
#: vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1289
|
824 |
msgid ""
|
825 |
"The attempt to reach the jsDelivr API server failed with the following "
|
826 |
"error: %s"
|
855 |
#: svn/tags/1.7.0/lib/better-font-awesome-library/better-font-awesome-library.php:1091
|
856 |
#: svn/tags/1.7.0/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1089
|
857 |
#: svn/tags/1.7.1/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1089
|
858 |
+
#: svn/tags/1.7.2/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1089
|
859 |
+
#: svn/tags/2.0.0-beta/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1294
|
860 |
+
#: svn/tags/2.0.0-beta1/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1294
|
861 |
+
#: svn/tags/2.0.0-beta2/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1295
|
862 |
+
#: svn/tags/2.0.0-beta3/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1299
|
863 |
+
#: svn/trunk/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1089
|
864 |
+
#: vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1299
|
865 |
msgid "Remote CSS Error"
|
866 |
msgstr ""
|
867 |
|
894 |
#: svn/tags/1.7.0/lib/better-font-awesome-library/better-font-awesome-library.php:1093
|
895 |
#: svn/tags/1.7.0/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1091
|
896 |
#: svn/tags/1.7.1/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1091
|
897 |
+
#: svn/tags/1.7.2/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1091
|
898 |
+
#: svn/tags/2.0.0-beta/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1296
|
899 |
+
#: svn/tags/2.0.0-beta1/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1296
|
900 |
+
#: svn/tags/2.0.0-beta2/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1297
|
901 |
+
#: svn/tags/2.0.0-beta3/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1301
|
902 |
+
#: svn/trunk/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1091
|
903 |
+
#: vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1301
|
904 |
msgid ""
|
905 |
"The attempt to fetch the remote Font Awesome stylesheet failed with the "
|
906 |
"following error: %s %s The embedded fallback Font Awesome will be used "
|
936 |
#: svn/tags/1.7.0/lib/better-font-awesome-library/better-font-awesome-library.php:1107
|
937 |
#: svn/tags/1.7.0/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1105
|
938 |
#: svn/tags/1.7.1/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1105
|
939 |
+
#: svn/tags/1.7.2/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1105
|
940 |
+
#: svn/tags/2.0.0-beta/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1310
|
941 |
+
#: svn/tags/2.0.0-beta1/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1310
|
942 |
+
#: svn/tags/2.0.0-beta2/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1311
|
943 |
+
#: svn/tags/2.0.0-beta3/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1315
|
944 |
+
#: svn/trunk/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1105
|
945 |
+
#: vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1315
|
946 |
msgid "Solution"
|
947 |
msgstr ""
|
948 |
|
974 |
#: svn/tags/1.7.0/lib/better-font-awesome-library/better-font-awesome-library.php:493
|
975 |
#: svn/tags/1.7.0/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:491
|
976 |
#: svn/tags/1.7.1/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:491
|
977 |
+
#: svn/tags/1.7.2/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:491
|
978 |
+
#: svn/tags/2.0.0-beta/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:524
|
979 |
+
#: svn/tags/2.0.0-beta/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:590
|
980 |
+
#: svn/tags/2.0.0-beta1/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:524
|
981 |
+
#: svn/tags/2.0.0-beta1/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:590
|
982 |
+
#: svn/tags/2.0.0-beta2/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:524
|
983 |
+
#: svn/tags/2.0.0-beta2/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:590
|
984 |
+
#: svn/tags/2.0.0-beta3/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:524
|
985 |
+
#: svn/tags/2.0.0-beta3/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:595
|
986 |
+
#: svn/trunk/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:491
|
987 |
+
#: vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:524
|
988 |
+
#: vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:595
|
989 |
msgid "The jsDelivr API servers appear to be temporarily unavailable."
|
990 |
msgstr ""
|
991 |
|
1017 |
#: svn/tags/1.7.0/lib/better-font-awesome-library/better-font-awesome-library.php:1103
|
1018 |
#: svn/tags/1.7.0/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1101
|
1019 |
#: svn/tags/1.7.1/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1101
|
1020 |
+
#: svn/tags/1.7.2/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1101
|
1021 |
+
#: svn/tags/2.0.0-beta/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1306
|
1022 |
+
#: svn/tags/2.0.0-beta1/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1306
|
1023 |
+
#: svn/tags/2.0.0-beta2/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1307
|
1024 |
+
#: svn/tags/2.0.0-beta3/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1311
|
1025 |
+
#: svn/trunk/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1101
|
1026 |
+
#: vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1311
|
1027 |
msgid ""
|
1028 |
"<b>Don't worry! Better Font Awesome will still render using the included "
|
1029 |
"fallback version:</b> "
|
1044 |
#: svn/tags/1.7.0/lib/better-font-awesome-library/better-font-awesome-library.php:1053
|
1045 |
#: svn/tags/1.7.0/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1051
|
1046 |
#: svn/tags/1.7.1/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1051
|
1047 |
+
#: svn/tags/1.7.2/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1051
|
1048 |
+
#: svn/tags/2.0.0-beta/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1256
|
1049 |
+
#: svn/tags/2.0.0-beta1/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1256
|
1050 |
+
#: svn/tags/2.0.0-beta2/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1257
|
1051 |
+
#: svn/tags/2.0.0-beta3/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1261
|
1052 |
+
#: svn/trunk/vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1051
|
1053 |
+
#: vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php:1261
|
1054 |
msgid "Insert Icon"
|
1055 |
msgstr ""
|
1056 |
|
readme.txt
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
=== Better Font Awesome ===
|
2 |
Contributors: McGuive7
|
3 |
Tags: better, font, awesome, icon, icons, bootstrap, fontstrap, cdn, shortcode
|
4 |
-
Donate link:
|
5 |
Requires at least: 3.0
|
6 |
Tested up to: 5.5
|
7 |
-
Stable tag: 1.7.
|
8 |
License: GPLv2+
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
1 |
=== Better Font Awesome ===
|
2 |
Contributors: McGuive7
|
3 |
Tags: better, font, awesome, icon, icons, bootstrap, fontstrap, cdn, shortcode
|
4 |
+
Donate link: https://mickeykay.me
|
5 |
Requires at least: 3.0
|
6 |
Tested up to: 5.5
|
7 |
+
Stable tag: 1.7.3
|
8 |
License: GPLv2+
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
vendor/mickey-kay/better-font-awesome-library/better-font-awesome-library.php
CHANGED
@@ -45,7 +45,29 @@ class Better_Font_Awesome_Library {
|
|
45 |
*
|
46 |
* @var string
|
47 |
*/
|
48 |
-
const JSDELIVR_API_URL = '
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
49 |
|
50 |
/**
|
51 |
* Initialization args.
|
@@ -121,15 +143,6 @@ class Better_Font_Awesome_Library {
|
|
121 |
*/
|
122 |
private $stylesheet_url;
|
123 |
|
124 |
-
/**
|
125 |
-
* Font Awesome CSS.
|
126 |
-
*
|
127 |
-
* @since 1.0.0
|
128 |
-
*
|
129 |
-
* @var string
|
130 |
-
*/
|
131 |
-
private $css;
|
132 |
-
|
133 |
/**
|
134 |
* Data associated with the local fallback version of Font Awesome.
|
135 |
*
|
@@ -231,6 +244,9 @@ class Better_Font_Awesome_Library {
|
|
231 |
*/
|
232 |
public function load() {
|
233 |
|
|
|
|
|
|
|
234 |
// Initialize library properties and actions as needed.
|
235 |
$this->initialize( $this->args );
|
236 |
|
@@ -307,6 +323,10 @@ class Better_Font_Awesome_Library {
|
|
307 |
|
308 |
}
|
309 |
|
|
|
|
|
|
|
|
|
310 |
/**
|
311 |
* Do necessary initialization actions.
|
312 |
*
|
@@ -438,7 +458,7 @@ class Better_Font_Awesome_Library {
|
|
438 |
* @since 1.0.0
|
439 |
*/
|
440 |
private function setup_api_data() {
|
441 |
-
$this->api_data = $this->
|
442 |
}
|
443 |
|
444 |
/**
|
@@ -452,9 +472,11 @@ class Better_Font_Awesome_Library {
|
|
452 |
* @return array|WP_ERROR Available CDN Font Awesome versions, or a
|
453 |
* WP_ERROR if the fetch fails.
|
454 |
*/
|
455 |
-
private function
|
|
|
|
|
456 |
|
457 |
-
if ( false === ( $response = get_transient( self::SLUG .
|
458 |
|
459 |
$response = wp_remote_get( $url, $this->wp_remote_get_args );
|
460 |
|
@@ -462,10 +484,12 @@ class Better_Font_Awesome_Library {
|
|
462 |
|
463 |
// Decode the API data and grab the versions info.
|
464 |
$json_data = json_decode( wp_remote_retrieve_body( $response ) );
|
465 |
-
$response = $json_data
|
466 |
|
467 |
/**
|
468 |
-
*
|
|
|
|
|
469 |
*
|
470 |
* @since 1.0.0
|
471 |
*
|
@@ -473,8 +497,88 @@ class Better_Font_Awesome_Library {
|
|
473 |
*/
|
474 |
$transient_expiration = apply_filters( 'bfa_api_transient_expiration', 12 * HOUR_IN_SECONDS );
|
475 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
476 |
// Set the API transient.
|
477 |
-
set_transient(
|
478 |
|
479 |
} elseif ( is_wp_error( $response ) ) { // Check for faulty wp_remote_get()
|
480 |
|
@@ -526,7 +630,8 @@ class Better_Font_Awesome_Library {
|
|
526 |
private function get_latest_version() {
|
527 |
|
528 |
if ( $this->api_data_exists() ) {
|
529 |
-
|
|
|
530 |
} else {
|
531 |
return $this->guess_latest_version();
|
532 |
}
|
@@ -584,7 +689,11 @@ class Better_Font_Awesome_Library {
|
|
584 |
* @param string $version Version of Font Awesome to use.
|
585 |
*/
|
586 |
private function set_stylesheet_url( $version ) {
|
587 |
-
|
|
|
|
|
|
|
|
|
588 |
}
|
589 |
|
590 |
/**
|
@@ -594,15 +703,11 @@ class Better_Font_Awesome_Library {
|
|
594 |
*/
|
595 |
private function setup_stylesheet_data() {
|
596 |
|
597 |
-
// Get the Font Awesome CSS.
|
598 |
-
$this->css = $this->get_css( $this->stylesheet_url, $this->font_awesome_version );
|
599 |
-
|
600 |
-
// Get the list of available icons from the Font Awesome CSS.
|
601 |
-
$this->icons = $this->setup_icon_array( $this->css );
|
602 |
-
|
603 |
// Set up prefix based on version ('fa' or 'icon').
|
604 |
-
$this->prefix = $this->
|
605 |
|
|
|
|
|
606 |
}
|
607 |
|
608 |
/**
|
@@ -761,36 +866,86 @@ class Better_Font_Awesome_Library {
|
|
761 |
return $this->get_local_file_contents( $this->fallback_data['path'] );
|
762 |
}
|
763 |
|
764 |
-
|
765 |
-
|
766 |
-
|
767 |
-
|
768 |
-
|
769 |
-
|
770 |
-
|
771 |
-
|
772 |
-
|
773 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
774 |
|
775 |
$icons = array();
|
776 |
$hex_codes = array();
|
777 |
|
|
|
|
|
778 |
/**
|
779 |
* Get all CSS selectors that have a "content:" pseudo-element rule,
|
780 |
* as well as all associated hex codes.
|
781 |
*/
|
782 |
preg_match_all( '/\.(icon-|fa-)([^,}]*)\s*:before\s*{\s*(content:)\s*"(\\\\[^"]+)"/s', $css, $matches );
|
783 |
-
|
|
|
784 |
$hex_codes = $matches[4];
|
785 |
|
786 |
-
|
787 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
788 |
|
789 |
-
|
790 |
-
|
|
|
|
|
|
|
791 |
|
792 |
/**
|
793 |
-
* Filter the array of available icons.
|
794 |
*
|
795 |
* @since 1.0.0
|
796 |
*
|
@@ -798,8 +953,16 @@ class Better_Font_Awesome_Library {
|
|
798 |
*/
|
799 |
$icons = apply_filters( 'bfa_icon_list', $icons );
|
800 |
|
801 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
802 |
|
|
|
803 |
}
|
804 |
|
805 |
/**
|
@@ -811,9 +974,9 @@ class Better_Font_Awesome_Library {
|
|
811 |
*
|
812 |
* @return string $prefix 'fa' or 'icon', depending on the version.
|
813 |
*/
|
814 |
-
private function
|
815 |
|
816 |
-
if (
|
817 |
$prefix = 'fa';
|
818 |
} else {
|
819 |
$prefix = 'icon';
|
@@ -873,41 +1036,7 @@ class Better_Font_Awesome_Library {
|
|
873 |
add_shortcode( 'icon', array( $this, 'render_shortcode' ) );
|
874 |
}
|
875 |
|
876 |
-
|
877 |
-
* Render [icon] shortcode.
|
878 |
-
*
|
879 |
-
* Usage:
|
880 |
-
* [icon name="flag" class="fw 2x spin" unprefixed_class="custom_class"]
|
881 |
-
*
|
882 |
-
* @param array $atts Shortcode attributes.
|
883 |
-
* @return string $output Icon HTML (e.g. <i class="fa fa-car"></i>).
|
884 |
-
*/
|
885 |
-
public function render_shortcode( $atts ) {
|
886 |
-
|
887 |
-
extract( shortcode_atts( array(
|
888 |
-
'name' => '',
|
889 |
-
'class' => '',
|
890 |
-
'unprefixed_class' => '',
|
891 |
-
'title' => '', /* For compatibility with other plugins */
|
892 |
-
'size' => '', /* For compatibility with other plugins */
|
893 |
-
'space' => '',
|
894 |
-
), $atts )
|
895 |
-
);
|
896 |
-
|
897 |
-
/**
|
898 |
-
* Include for backwards compatibility with Font Awesome More Icons plugin.
|
899 |
-
*
|
900 |
-
* @see https://wordpress.org/plugins/font-awesome-more-icons/
|
901 |
-
*/
|
902 |
-
$title = $title ? 'title="' . $title . '" ' : '';
|
903 |
-
$space = 'true' == $space ? ' ' : '';
|
904 |
-
$size = $size ? ' '. $this->prefix . '-' . $size : '';
|
905 |
-
|
906 |
-
// Remove "icon-" and "fa-" from name
|
907 |
-
// This helps both:
|
908 |
-
// 1. Incorrect shortcodes (when user includes full class name including prefix)
|
909 |
-
// 2. Old shortcodes from other plugins that required prefixes
|
910 |
-
|
911 |
/**
|
912 |
* Strip 'icon-' and 'fa-' from the BEGINNING of $name.
|
913 |
*
|
@@ -924,10 +1053,11 @@ class Better_Font_Awesome_Library {
|
|
924 |
|
925 |
}
|
926 |
|
927 |
-
|
|
|
928 |
|
929 |
-
|
930 |
-
$
|
931 |
|
932 |
// Remove "icon-" and "fa-" from the icon class.
|
933 |
$class = str_replace( 'icon-', '', $class );
|
@@ -938,23 +1068,79 @@ class Better_Font_Awesome_Library {
|
|
938 |
$class = preg_replace( '/\s{3,}/', ' ', $class );
|
939 |
|
940 |
// Add the version-specific prefix back on to each class.
|
941 |
-
$class_array = explode( ' ', $class );
|
|
|
942 |
foreach ( $class_array as $index => $class ) {
|
943 |
-
$class_array[ $index ] = $
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
944 |
}
|
945 |
-
$class = implode( ' ', $class_array );
|
946 |
|
947 |
-
|
948 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
949 |
|
950 |
/**
|
951 |
* Filter the icon class.
|
952 |
*
|
953 |
* @since 1.0.0
|
954 |
*
|
955 |
-
* @param string $
|
956 |
*/
|
957 |
-
$
|
958 |
|
959 |
/**
|
960 |
* Filter the default <i> icon tag.
|
@@ -966,11 +1152,9 @@ class Better_Font_Awesome_Library {
|
|
966 |
$tag = apply_filters( 'bfa_icon_tag', 'i' );
|
967 |
|
968 |
// Generate the HTML <i> icon element output.
|
969 |
-
$output = sprintf( '<%s class="%s %s
|
970 |
$tag,
|
971 |
-
$
|
972 |
-
$icon_name,
|
973 |
-
$class,
|
974 |
$size,
|
975 |
$title,
|
976 |
$space,
|
@@ -988,6 +1172,32 @@ class Better_Font_Awesome_Library {
|
|
988 |
|
989 |
}
|
990 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
991 |
/**
|
992 |
* Register and enqueue Font Awesome CSS.
|
993 |
*/
|
@@ -1295,5 +1505,13 @@ class Better_Font_Awesome_Library {
|
|
1295 |
return $this->errors;
|
1296 |
}
|
1297 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1298 |
}
|
1299 |
endif;
|
45 |
*
|
46 |
* @var string
|
47 |
*/
|
48 |
+
const JSDELIVR_API_URL = 'https://data.jsdelivr.com/v1/package/gh/FortAwesome/Font-Awesome';
|
49 |
+
|
50 |
+
/**
|
51 |
+
* jsDelivr API URL for Font Awesome icon metadata.
|
52 |
+
*
|
53 |
+
* Version 5+ only,
|
54 |
+
*
|
55 |
+
* @since 2.0.0
|
56 |
+
*
|
57 |
+
* @var string
|
58 |
+
*/
|
59 |
+
const JSDELIVR_ICON_METADATA_BASE_URL = 'https://cdn.jsdelivr.net/gh/FortAwesome/Font-Awesome@';
|
60 |
+
|
61 |
+
/**
|
62 |
+
* jsDelivr API file path for Font Awesome icon metadata.
|
63 |
+
*
|
64 |
+
* Version 5+ only,
|
65 |
+
*
|
66 |
+
* @since 2.0.0
|
67 |
+
*
|
68 |
+
* @var string
|
69 |
+
*/
|
70 |
+
const JSDELIVR_ICON_METADATA_FILE_PATH = '/advanced-options/metadata/icons.yml';
|
71 |
|
72 |
/**
|
73 |
* Initialization args.
|
143 |
*/
|
144 |
private $stylesheet_url;
|
145 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
146 |
/**
|
147 |
* Data associated with the local fallback version of Font Awesome.
|
148 |
*
|
244 |
*/
|
245 |
public function load() {
|
246 |
|
247 |
+
// Load dependencies.
|
248 |
+
$this->load_depenencies();
|
249 |
+
|
250 |
// Initialize library properties and actions as needed.
|
251 |
$this->initialize( $this->args );
|
252 |
|
323 |
|
324 |
}
|
325 |
|
326 |
+
private function load_depenencies() {
|
327 |
+
require_once __DIR__ . '/vendor/autoload.php';
|
328 |
+
}
|
329 |
+
|
330 |
/**
|
331 |
* Do necessary initialization actions.
|
332 |
*
|
458 |
* @since 1.0.0
|
459 |
*/
|
460 |
private function setup_api_data() {
|
461 |
+
$this->api_data = $this->get_version_data();
|
462 |
}
|
463 |
|
464 |
/**
|
472 |
* @return array|WP_ERROR Available CDN Font Awesome versions, or a
|
473 |
* WP_ERROR if the fetch fails.
|
474 |
*/
|
475 |
+
private function get_version_data() {
|
476 |
+
$transient_suffix = '-version-data';
|
477 |
+
$url = self::JSDELIVR_API_URL;
|
478 |
|
479 |
+
if ( false === ( $response = get_transient( self::SLUG . $transient_suffix ) ) ) {
|
480 |
|
481 |
$response = wp_remote_get( $url, $this->wp_remote_get_args );
|
482 |
|
484 |
|
485 |
// Decode the API data and grab the versions info.
|
486 |
$json_data = json_decode( wp_remote_retrieve_body( $response ) );
|
487 |
+
$response = $json_data;
|
488 |
|
489 |
/**
|
490 |
+
* Deprecated.
|
491 |
+
*
|
492 |
+
* Preserved for legacy support.
|
493 |
*
|
494 |
* @since 1.0.0
|
495 |
*
|
497 |
*/
|
498 |
$transient_expiration = apply_filters( 'bfa_api_transient_expiration', 12 * HOUR_IN_SECONDS );
|
499 |
|
500 |
+
/**
|
501 |
+
* Filter API version data transient expiration.
|
502 |
+
*
|
503 |
+
* @since 2.0.0
|
504 |
+
*
|
505 |
+
* @param int Expiration for API version data.
|
506 |
+
*/
|
507 |
+
$transient_expiration = apply_filters( 'bfa_api_version_data', $transient_expiration );
|
508 |
+
|
509 |
+
// Set the API transient.
|
510 |
+
set_transient( self::SLUG . $transient_suffix, $response, $transient_expiration );
|
511 |
+
|
512 |
+
} elseif ( is_wp_error( $response ) ) { // Check for faulty wp_remote_get()
|
513 |
+
|
514 |
+
$this->set_error( 'api', $response->get_error_code(), $response->get_error_message() . " (URL: $url)" );
|
515 |
+
$response = '';
|
516 |
+
|
517 |
+
} elseif ( isset( $response['response'] ) ) { // Check for 404 and other non-WP_ERROR codes
|
518 |
+
|
519 |
+
$this->set_error( 'api', $response['response']['code'], $response['response']['message'] . " (URL: $url)" );
|
520 |
+
$response = '';
|
521 |
+
|
522 |
+
} else { // Total failsafe
|
523 |
+
|
524 |
+
$this->set_error( 'api', 'Unknown', __( 'The jsDelivr API servers appear to be temporarily unavailable.', 'better-font-awesome' ) . " (URL: $url)" );
|
525 |
+
$response = '';
|
526 |
+
|
527 |
+
}
|
528 |
+
|
529 |
+
}
|
530 |
+
|
531 |
+
return $response;
|
532 |
+
|
533 |
+
}
|
534 |
+
|
535 |
+
/**
|
536 |
+
* Fetch the jsDelivr API data.
|
537 |
+
*
|
538 |
+
* First check to see if the transient is set for this version's metadata,
|
539 |
+
* and if not use the jsDelivr API to retrieve all available versions of
|
540 |
+
* Font Awesome.
|
541 |
+
*
|
542 |
+
* @since 2.0.0
|
543 |
+
*
|
544 |
+
* @return array Icon metadata, keyed by icon slug.
|
545 |
+
*/
|
546 |
+
private function get_icons_metadata() {
|
547 |
+
$transient_suffix = '-icons-metadata';
|
548 |
+
$version = $this->get_version();
|
549 |
+
$transient_slug = self::SLUG . "${transient_suffix}_version-${version}";
|
550 |
+
|
551 |
+
$url = self::JSDELIVR_ICON_METADATA_BASE_URL . $version . self::JSDELIVR_ICON_METADATA_FILE_PATH;
|
552 |
+
|
553 |
+
if ( false === ( $response = get_transient( $transient_slug ) ) ) {
|
554 |
+
|
555 |
+
$response = wp_remote_get( $url, $this->wp_remote_get_args );
|
556 |
+
|
557 |
+
if ( 200 == wp_remote_retrieve_response_code( $response ) ) {
|
558 |
+
|
559 |
+
// Decode the API data and grab the versions info.
|
560 |
+
$yaml_data = wp_remote_retrieve_body( $response );
|
561 |
+
|
562 |
+
$response = spyc_load( $yaml_data );
|
563 |
+
|
564 |
+
// Short-circuit if something is wrong with parsing.
|
565 |
+
if ( empty( $response ) ) {
|
566 |
+
return '';
|
567 |
+
}
|
568 |
+
|
569 |
+
/**
|
570 |
+
* Filter icon metadata transient expiration.
|
571 |
+
*
|
572 |
+
* This can be very long since versioned icon data should never change.
|
573 |
+
*
|
574 |
+
* @since 2.0.0
|
575 |
+
*
|
576 |
+
* @param int Expiration for icon metadata.
|
577 |
+
*/
|
578 |
+
$transient_expiration = apply_filters( 'bfa_icons_metadata', YEAR_IN_SECONDS );
|
579 |
+
|
580 |
// Set the API transient.
|
581 |
+
set_transient( $transient_slug, $response, $transient_expiration );
|
582 |
|
583 |
} elseif ( is_wp_error( $response ) ) { // Check for faulty wp_remote_get()
|
584 |
|
630 |
private function get_latest_version() {
|
631 |
|
632 |
if ( $this->api_data_exists() ) {
|
633 |
+
$versions = $this->get_api_value( 'versions' );
|
634 |
+
return $versions[0];
|
635 |
} else {
|
636 |
return $this->guess_latest_version();
|
637 |
}
|
689 |
* @param string $version Version of Font Awesome to use.
|
690 |
*/
|
691 |
private function set_stylesheet_url( $version ) {
|
692 |
+
if ( version_compare( $version, '5.0.0', '>=' ) ) {
|
693 |
+
$this->stylesheet_url = '//cdn.jsdelivr.net/gh/FortAwesome/Font-Awesome@' . $version . '/web-fonts-with-css/css/fontawesome-all' . $this->get_min_suffix() . '.css';
|
694 |
+
} else {
|
695 |
+
$this->stylesheet_url = '//cdn.jsdelivr.net/fontawesome/' . $version . '/css/font-awesome' . $this->get_min_suffix() . '.css';
|
696 |
+
}
|
697 |
}
|
698 |
|
699 |
/**
|
703 |
*/
|
704 |
private function setup_stylesheet_data() {
|
705 |
|
|
|
|
|
|
|
|
|
|
|
|
|
706 |
// Set up prefix based on version ('fa' or 'icon').
|
707 |
+
$this->prefix = $this->derive_prefix( $this->font_awesome_version );
|
708 |
|
709 |
+
// Get the list of available icons.
|
710 |
+
$this->icons = $this->get_icon_array();
|
711 |
}
|
712 |
|
713 |
/**
|
866 |
return $this->get_local_file_contents( $this->fallback_data['path'] );
|
867 |
}
|
868 |
|
869 |
+
private function get_icon_array_version_5() {
|
870 |
+
|
871 |
+
$icons_metadata = $this->get_icons_metadata();
|
872 |
+
$icons = array();
|
873 |
+
|
874 |
+
// Add style prefixes.
|
875 |
+
foreach ( $icons_metadata as $slug => $metadata ) {
|
876 |
+
$search_terms = array_map( function( $term ) {
|
877 |
+
return $term;
|
878 |
+
}, $metadata['search']['terms'] );
|
879 |
+
|
880 |
+
foreach ( $metadata['styles'] as $style ) {
|
881 |
+
$icons[] = array(
|
882 |
+
'title' => "{$metadata['label']} ({$style})",
|
883 |
+
'slug' => $slug,
|
884 |
+
'style' => $style,
|
885 |
+
'base_class' => $this->get_icon_base_class( $slug, $style ),
|
886 |
+
'searchTerms' => $search_terms,
|
887 |
+
);
|
888 |
+
}
|
889 |
+
}
|
890 |
+
|
891 |
+
return $icons;
|
892 |
+
}
|
893 |
+
|
894 |
+
private function get_icon_array_version_pre_5() {
|
895 |
|
896 |
$icons = array();
|
897 |
$hex_codes = array();
|
898 |
|
899 |
+
$css = $this->get_css( $this->stylesheet_url, $this->font_awesome_version );
|
900 |
+
|
901 |
/**
|
902 |
* Get all CSS selectors that have a "content:" pseudo-element rule,
|
903 |
* as well as all associated hex codes.
|
904 |
*/
|
905 |
preg_match_all( '/\.(icon-|fa-)([^,}]*)\s*:before\s*{\s*(content:)\s*"(\\\\[^"]+)"/s', $css, $matches );
|
906 |
+
|
907 |
+
$icon_slugs = $matches[2];
|
908 |
$hex_codes = $matches[4];
|
909 |
|
910 |
+
foreach ( $icon_slugs as $index => $slug ) {
|
911 |
+
$icons[] = array(
|
912 |
+
'title' => $slug,
|
913 |
+
'slug' => $slug,
|
914 |
+
'base_class' => $this->get_icon_base_class( $slug ),
|
915 |
+
'searchTerms' => $slug,
|
916 |
+
);
|
917 |
+
|
918 |
+
}
|
919 |
+
|
920 |
+
// Alphabetize the icons array by icon slug.
|
921 |
+
uasort( $icons, function( $icon1, $icon2 ) {
|
922 |
+
return strcmp( $icon1['slug'], $icon2['slug'] );
|
923 |
+
});
|
924 |
+
|
925 |
+
return array_values( $icons );
|
926 |
+
}
|
927 |
+
|
928 |
+
/**
|
929 |
+
* Get array of icons for the current version.
|
930 |
+
*
|
931 |
+
* @since 1.0.0
|
932 |
+
*
|
933 |
+
* @param string CSS for the current version of FA (only used pre-v5)
|
934 |
+
*
|
935 |
+
* @return array All available icon names (e.g. adjust, car, pencil).
|
936 |
+
*/
|
937 |
+
private function get_icon_array() {
|
938 |
+
|
939 |
+
$icons = array();
|
940 |
|
941 |
+
if ( version_compare( $this->get_version(), '5.0.0', '>=' ) ) {
|
942 |
+
$icons = $this->get_icon_array_version_5();
|
943 |
+
} else {
|
944 |
+
$icons = $this->get_icon_array_version_pre_5();
|
945 |
+
}
|
946 |
|
947 |
/**
|
948 |
+
* [DEPRECATED] Filter the array of available icons.
|
949 |
*
|
950 |
* @since 1.0.0
|
951 |
*
|
953 |
*/
|
954 |
$icons = apply_filters( 'bfa_icon_list', $icons );
|
955 |
|
956 |
+
/**
|
957 |
+
* Filter the array of available icons.
|
958 |
+
*
|
959 |
+
* @since 2.0.0
|
960 |
+
*
|
961 |
+
* @param array $icons Array of all available icons.
|
962 |
+
*/
|
963 |
+
$icons = apply_filters( 'bfa_icon_array', $icons );
|
964 |
|
965 |
+
return $icons;
|
966 |
}
|
967 |
|
968 |
/**
|
974 |
*
|
975 |
* @return string $prefix 'fa' or 'icon', depending on the version.
|
976 |
*/
|
977 |
+
private function derive_prefix( $version ) {
|
978 |
|
979 |
+
if ( version_compare( $this->get_version(), 4, '>=' ) ) {
|
980 |
$prefix = 'fa';
|
981 |
} else {
|
982 |
$prefix = 'icon';
|
1036 |
add_shortcode( 'icon', array( $this, 'render_shortcode' ) );
|
1037 |
}
|
1038 |
|
1039 |
+
public function sanitize_shortcode_name_att( $name ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1040 |
/**
|
1041 |
* Strip 'icon-' and 'fa-' from the BEGINNING of $name.
|
1042 |
*
|
1053 |
|
1054 |
}
|
1055 |
|
1056 |
+
return $name;
|
1057 |
+
}
|
1058 |
|
1059 |
+
public function sanitize_shortcode_class_att( $class ) {
|
1060 |
+
$prefix = $this->get_prefix();
|
1061 |
|
1062 |
// Remove "icon-" and "fa-" from the icon class.
|
1063 |
$class = str_replace( 'icon-', '', $class );
|
1068 |
$class = preg_replace( '/\s{3,}/', ' ', $class );
|
1069 |
|
1070 |
// Add the version-specific prefix back on to each class.
|
1071 |
+
$class_array = array_filter( explode( ' ', $class ) );
|
1072 |
+
|
1073 |
foreach ( $class_array as $index => $class ) {
|
1074 |
+
$class_array[ $index ] = $prefix ? $prefix . '-' . $class : $class;
|
1075 |
+
}
|
1076 |
+
|
1077 |
+
return implode( ' ', $class_array );
|
1078 |
+
}
|
1079 |
+
|
1080 |
+
/**
|
1081 |
+
* Render [icon] shortcode.
|
1082 |
+
*
|
1083 |
+
* Usage:
|
1084 |
+
* [icon name="flag" class="fw 2x spin" unprefixed_class="custom_class"]
|
1085 |
+
*
|
1086 |
+
* @param array $atts Shortcode attributes.
|
1087 |
+
* @return string $output Icon HTML (e.g. <i class="fa fa-car"></i>).
|
1088 |
+
*/
|
1089 |
+
public function render_shortcode( $atts ) {
|
1090 |
+
|
1091 |
+
extract( shortcode_atts( array(
|
1092 |
+
'name' => '',
|
1093 |
+
'class' => '',
|
1094 |
+
'unprefixed_class' => '',
|
1095 |
+
'title' => '', /* For compatibility with other plugins */
|
1096 |
+
'size' => '', /* For compatibility with other plugins */
|
1097 |
+
'space' => '',
|
1098 |
+
'style' => '', /* Style category */
|
1099 |
+
), $atts ));
|
1100 |
+
|
1101 |
+
$icon = $this->get_icon_by_slug( $name );
|
1102 |
+
|
1103 |
+
// Maybe this is an old icon that needs an updated alias.
|
1104 |
+
if ( ! $icon ) {
|
1105 |
+
require_once __DIR__ . '/inc/icon-updater.php';
|
1106 |
+
$name = bfa_get_updated_icon_slug( $name );
|
1107 |
+
|
1108 |
+
if ( ! $name ) {
|
1109 |
+
return '';
|
1110 |
+
}
|
1111 |
}
|
|
|
1112 |
|
1113 |
+
$prefix = $this->get_prefix();
|
1114 |
+
$classes = array();
|
1115 |
+
|
1116 |
+
/**
|
1117 |
+
* Include for backwards compatibility with Font Awesome More Icons plugin.
|
1118 |
+
*
|
1119 |
+
* @see https://wordpress.org/plugins/font-awesome-more-icons/
|
1120 |
+
*/
|
1121 |
+
$title = $title ? 'title="' . $title . '" ' : '';
|
1122 |
+
$space = 'true' == $space ? ' ' : '';
|
1123 |
+
$size = $size ? ' '. $prefix . '-' . $size : '';
|
1124 |
+
|
1125 |
+
// Santize name.
|
1126 |
+
$name = $this->sanitize_shortcode_name_att( $name );
|
1127 |
+
|
1128 |
+
// Generate classes array.
|
1129 |
+
$icon = $this->get_icon_by_slug( $name );
|
1130 |
+
$classes[] = $icon['base_class'];
|
1131 |
+
$classes[] = $this->sanitize_shortcode_class_att( $class );
|
1132 |
+
$classes[] = $unprefixed_class;
|
1133 |
+
|
1134 |
+
$class_string = implode( ' ', array_filter( $classes ) );
|
1135 |
|
1136 |
/**
|
1137 |
* Filter the icon class.
|
1138 |
*
|
1139 |
* @since 1.0.0
|
1140 |
*
|
1141 |
+
* @param string $class_string Classes attached to the icon.
|
1142 |
*/
|
1143 |
+
$class_string = apply_filters( 'bfa_icon_class', $class_string, $name );
|
1144 |
|
1145 |
/**
|
1146 |
* Filter the default <i> icon tag.
|
1152 |
$tag = apply_filters( 'bfa_icon_tag', 'i' );
|
1153 |
|
1154 |
// Generate the HTML <i> icon element output.
|
1155 |
+
$output = sprintf( '<%s class="%s %s" %s>%s</%s>',
|
1156 |
$tag,
|
1157 |
+
$class_string,
|
|
|
|
|
1158 |
$size,
|
1159 |
$title,
|
1160 |
$space,
|
1172 |
|
1173 |
}
|
1174 |
|
1175 |
+
public function get_icon_base_class( $slug, $style = '' ) {
|
1176 |
+
return "{$this->get_icon_style_class( $style )} {$this->get_prefix()}-{$slug}";
|
1177 |
+
}
|
1178 |
+
|
1179 |
+
private function get_icon_style_class( $style = '' ) {
|
1180 |
+
|
1181 |
+
if ( version_compare( $this->get_version(), 5, '>=' ) ) {
|
1182 |
+
switch ( $style ) {
|
1183 |
+
case 'brands':
|
1184 |
+
return 'fab';
|
1185 |
+
|
1186 |
+
case 'solid':
|
1187 |
+
return 'fas';
|
1188 |
+
|
1189 |
+
case 'light':
|
1190 |
+
return 'fal';
|
1191 |
+
|
1192 |
+
case 'regular':
|
1193 |
+
default:
|
1194 |
+
return 'far';
|
1195 |
+
}
|
1196 |
+
} else {
|
1197 |
+
return $this->get_prefix();
|
1198 |
+
}
|
1199 |
+
}
|
1200 |
+
|
1201 |
/**
|
1202 |
* Register and enqueue Font Awesome CSS.
|
1203 |
*/
|
1505 |
return $this->errors;
|
1506 |
}
|
1507 |
|
1508 |
+
public function get_icon_by_slug( $slug ) {
|
1509 |
+
foreach ( $this->get_icons() as $icon ) {
|
1510 |
+
if ( $slug === $icon['slug'] ) {
|
1511 |
+
return $icon;
|
1512 |
+
}
|
1513 |
+
}
|
1514 |
+
}
|
1515 |
+
|
1516 |
}
|
1517 |
endif;
|
vendor/mickey-kay/better-font-awesome-library/composer.json
CHANGED
@@ -1,5 +1,8 @@
|
|
1 |
{
|
2 |
"name": "mickey-kay/better-font-awesome-library",
|
3 |
"description": "Better Font Awesome Library for PHP",
|
4 |
-
"license": "GPL-2.0"
|
5 |
-
|
|
|
|
|
|
1 |
{
|
2 |
"name": "mickey-kay/better-font-awesome-library",
|
3 |
"description": "Better Font Awesome Library for PHP",
|
4 |
+
"license": "GPL-2.0",
|
5 |
+
"require": {
|
6 |
+
"mustangostang/spyc": "^0.6.2"
|
7 |
+
}
|
8 |
+
}
|
vendor/mickey-kay/better-font-awesome-library/composer.lock
ADDED
@@ -0,0 +1,68 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_readme": [
|
3 |
+
"This file locks the dependencies of your project to a known state",
|
4 |
+
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
|
5 |
+
"This file is @generated automatically"
|
6 |
+
],
|
7 |
+
"content-hash": "2af966f91fba481aec1dcf6e1531d0f0",
|
8 |
+
"packages": [
|
9 |
+
{
|
10 |
+
"name": "mustangostang/spyc",
|
11 |
+
"version": "0.6.2",
|
12 |
+
"source": {
|
13 |
+
"type": "git",
|
14 |
+
"url": "https://github.com/mustangostang/spyc.git",
|
15 |
+
"reference": "23c35ae854d835f2d7bcc3e3ad743d7e57a8c14d"
|
16 |
+
},
|
17 |
+
"dist": {
|
18 |
+
"type": "zip",
|
19 |
+
"url": "https://api.github.com/repos/mustangostang/spyc/zipball/23c35ae854d835f2d7bcc3e3ad743d7e57a8c14d",
|
20 |
+
"reference": "23c35ae854d835f2d7bcc3e3ad743d7e57a8c14d",
|
21 |
+
"shasum": ""
|
22 |
+
},
|
23 |
+
"require": {
|
24 |
+
"php": ">=5.3.1"
|
25 |
+
},
|
26 |
+
"require-dev": {
|
27 |
+
"phpunit/phpunit": "4.3.*@dev"
|
28 |
+
},
|
29 |
+
"type": "library",
|
30 |
+
"extra": {
|
31 |
+
"branch-alias": {
|
32 |
+
"dev-master": "0.5.x-dev"
|
33 |
+
}
|
34 |
+
},
|
35 |
+
"autoload": {
|
36 |
+
"files": [
|
37 |
+
"Spyc.php"
|
38 |
+
]
|
39 |
+
},
|
40 |
+
"notification-url": "https://packagist.org/downloads/",
|
41 |
+
"license": [
|
42 |
+
"MIT"
|
43 |
+
],
|
44 |
+
"authors": [
|
45 |
+
{
|
46 |
+
"name": "mustangostang",
|
47 |
+
"email": "vlad.andersen@gmail.com"
|
48 |
+
}
|
49 |
+
],
|
50 |
+
"description": "A simple YAML loader/dumper class for PHP",
|
51 |
+
"homepage": "https://github.com/mustangostang/spyc/",
|
52 |
+
"keywords": [
|
53 |
+
"spyc",
|
54 |
+
"yaml",
|
55 |
+
"yml"
|
56 |
+
],
|
57 |
+
"time": "2017-02-24T16:06:33+00:00"
|
58 |
+
}
|
59 |
+
],
|
60 |
+
"packages-dev": [],
|
61 |
+
"aliases": [],
|
62 |
+
"minimum-stability": "stable",
|
63 |
+
"stability-flags": [],
|
64 |
+
"prefer-stable": false,
|
65 |
+
"prefer-lowest": false,
|
66 |
+
"platform": [],
|
67 |
+
"platform-dev": []
|
68 |
+
}
|
vendor/mickey-kay/better-font-awesome-library/inc/icon-updater.php
ADDED
@@ -0,0 +1,1136 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
function bfa_get_updated_icon_slug( $slug ) {
|
4 |
+
$bfa_icon_name_change_list = array(
|
5 |
+
'address-book-o' => array(
|
6 |
+
'old_slug' => 'address-book-o',
|
7 |
+
'new_slug' => 'address-book',
|
8 |
+
),
|
9 |
+
'address-card-o' => array(
|
10 |
+
'old_slug' => 'address-card-o',
|
11 |
+
'new_slug' => 'address-card',
|
12 |
+
),
|
13 |
+
'area-chart' => array(
|
14 |
+
'old_slug' => 'area-chart',
|
15 |
+
'new_slug' => 'chart-area',
|
16 |
+
),
|
17 |
+
'arrow-circle-o-down' => array(
|
18 |
+
'old_slug' => 'arrow-circle-o-down',
|
19 |
+
'new_slug' => 'arrow-alt-circle-down',
|
20 |
+
),
|
21 |
+
'arrow-circle-o-left' => array(
|
22 |
+
'old_slug' => 'arrow-circle-o-left',
|
23 |
+
'new_slug' => 'arrow-alt-circle-left',
|
24 |
+
),
|
25 |
+
'arrow-circle-o-right' => array(
|
26 |
+
'old_slug' => 'arrow-circle-o-right',
|
27 |
+
'new_slug' => 'arrow-alt-circle-right',
|
28 |
+
),
|
29 |
+
'arrow-circle-o-up' => array(
|
30 |
+
'old_slug' => 'arrow-circle-o-up',
|
31 |
+
'new_slug' => 'arrow-alt-circle-up',
|
32 |
+
),
|
33 |
+
'arrows-alt' => array(
|
34 |
+
'old_slug' => 'arrows-alt',
|
35 |
+
'new_slug' => 'expand-arrows-alt',
|
36 |
+
),
|
37 |
+
'arrows-h' => array(
|
38 |
+
'old_slug' => 'arrows-h',
|
39 |
+
'new_slug' => 'arrows-alt-h',
|
40 |
+
),
|
41 |
+
'arrows-v' => array(
|
42 |
+
'old_slug' => 'arrows-v',
|
43 |
+
'new_slug' => 'arrows-alt-v',
|
44 |
+
),
|
45 |
+
'arrows' => array(
|
46 |
+
'old_slug' => 'arrows',
|
47 |
+
'new_slug' => 'arrows-alt',
|
48 |
+
),
|
49 |
+
'asl-interpreting' => array(
|
50 |
+
'old_slug' => 'asl-interpreting',
|
51 |
+
'new_slug' => 'american-sign-language-interpreting',
|
52 |
+
),
|
53 |
+
'automobile' => array(
|
54 |
+
'old_slug' => 'automobile',
|
55 |
+
'new_slug' => 'car',
|
56 |
+
),
|
57 |
+
'bank' => array(
|
58 |
+
'old_slug' => 'bank',
|
59 |
+
'new_slug' => 'university',
|
60 |
+
),
|
61 |
+
'bar-chart-o' => array(
|
62 |
+
'old_slug' => 'bar-chart-o',
|
63 |
+
'new_slug' => 'chart-bar',
|
64 |
+
),
|
65 |
+
'bar-chart' => array(
|
66 |
+
'old_slug' => 'bar-chart',
|
67 |
+
'new_slug' => 'chart-bar',
|
68 |
+
),
|
69 |
+
'bathtub' => array(
|
70 |
+
'old_slug' => 'bathtub',
|
71 |
+
'new_slug' => 'bath',
|
72 |
+
),
|
73 |
+
'battery-0' => array(
|
74 |
+
'old_slug' => 'battery-0',
|
75 |
+
'new_slug' => 'battery-empty',
|
76 |
+
),
|
77 |
+
'battery-1' => array(
|
78 |
+
'old_slug' => 'battery-1',
|
79 |
+
'new_slug' => 'battery-quarter',
|
80 |
+
),
|
81 |
+
'battery-2' => array(
|
82 |
+
'old_slug' => 'battery-2',
|
83 |
+
'new_slug' => 'battery-half',
|
84 |
+
),
|
85 |
+
'battery-3' => array(
|
86 |
+
'old_slug' => 'battery-3',
|
87 |
+
'new_slug' => 'battery-three-quarters',
|
88 |
+
),
|
89 |
+
'battery-4' => array(
|
90 |
+
'old_slug' => 'battery-4',
|
91 |
+
'new_slug' => 'battery-full',
|
92 |
+
),
|
93 |
+
'battery' => array(
|
94 |
+
'old_slug' => 'battery',
|
95 |
+
'new_slug' => 'battery-full',
|
96 |
+
),
|
97 |
+
'bell-o' => array(
|
98 |
+
'old_slug' => 'bell-o',
|
99 |
+
'new_slug' => 'bell',
|
100 |
+
),
|
101 |
+
'bell-slash-o' => array(
|
102 |
+
'old_slug' => 'bell-slash-o',
|
103 |
+
'new_slug' => 'bell-slash',
|
104 |
+
),
|
105 |
+
'bitbucket-square' => array(
|
106 |
+
'old_slug' => 'bitbucket-square',
|
107 |
+
'new_slug' => 'bitbucket',
|
108 |
+
),
|
109 |
+
'bitcoin' => array(
|
110 |
+
'old_slug' => 'bitcoin',
|
111 |
+
'new_slug' => 'btc',
|
112 |
+
),
|
113 |
+
'bookmark-o' => array(
|
114 |
+
'old_slug' => 'bookmark-o',
|
115 |
+
'new_slug' => 'bookmark',
|
116 |
+
),
|
117 |
+
'building-o' => array(
|
118 |
+
'old_slug' => 'building-o',
|
119 |
+
'new_slug' => 'building',
|
120 |
+
),
|
121 |
+
'cab' => array(
|
122 |
+
'old_slug' => 'cab',
|
123 |
+
'new_slug' => 'taxi',
|
124 |
+
),
|
125 |
+
'calendar-check-o' => array(
|
126 |
+
'old_slug' => 'calendar-check-o',
|
127 |
+
'new_slug' => 'calendar-check',
|
128 |
+
),
|
129 |
+
'calendar-minus-o' => array(
|
130 |
+
'old_slug' => 'calendar-minus-o',
|
131 |
+
'new_slug' => 'calendar-minus',
|
132 |
+
),
|
133 |
+
'calendar-o' => array(
|
134 |
+
'old_slug' => 'calendar-o',
|
135 |
+
'new_slug' => 'calendar',
|
136 |
+
),
|
137 |
+
'calendar-plus-o' => array(
|
138 |
+
'old_slug' => 'calendar-plus-o',
|
139 |
+
'new_slug' => 'calendar-plus',
|
140 |
+
),
|
141 |
+
'calendar-times-o' => array(
|
142 |
+
'old_slug' => 'calendar-times-o',
|
143 |
+
'new_slug' => 'calendar-times',
|
144 |
+
),
|
145 |
+
'calendar' => array(
|
146 |
+
'old_slug' => 'calendar',
|
147 |
+
'new_slug' => 'calendar-alt',
|
148 |
+
),
|
149 |
+
'caret-square-o-down' => array(
|
150 |
+
'old_slug' => 'caret-square-o-down',
|
151 |
+
'new_slug' => 'caret-square-down',
|
152 |
+
),
|
153 |
+
'caret-square-o-left' => array(
|
154 |
+
'old_slug' => 'caret-square-o-left',
|
155 |
+
'new_slug' => 'caret-square-left',
|
156 |
+
),
|
157 |
+
'caret-square-o-right' => array(
|
158 |
+
'old_slug' => 'caret-square-o-right',
|
159 |
+
'new_slug' => 'caret-square-right',
|
160 |
+
),
|
161 |
+
'caret-square-o-up' => array(
|
162 |
+
'old_slug' => 'caret-square-o-up',
|
163 |
+
'new_slug' => 'caret-square-up',
|
164 |
+
),
|
165 |
+
'cc' => array(
|
166 |
+
'old_slug' => 'cc',
|
167 |
+
'new_slug' => 'closed-captioning',
|
168 |
+
),
|
169 |
+
'chain-broken' => array(
|
170 |
+
'old_slug' => 'chain-broken',
|
171 |
+
'new_slug' => 'unlink',
|
172 |
+
),
|
173 |
+
'chain' => array(
|
174 |
+
'old_slug' => 'chain',
|
175 |
+
'new_slug' => 'link',
|
176 |
+
),
|
177 |
+
'check-circle-o' => array(
|
178 |
+
'old_slug' => 'check-circle-o',
|
179 |
+
'new_slug' => 'check-circle',
|
180 |
+
),
|
181 |
+
'check-square-o' => array(
|
182 |
+
'old_slug' => 'check-square-o',
|
183 |
+
'new_slug' => 'check-square',
|
184 |
+
),
|
185 |
+
'circle-o-notch' => array(
|
186 |
+
'old_slug' => 'circle-o-notch',
|
187 |
+
'new_slug' => 'circle-notch',
|
188 |
+
),
|
189 |
+
'circle-o' => array(
|
190 |
+
'old_slug' => 'circle-o',
|
191 |
+
'new_slug' => 'circle',
|
192 |
+
),
|
193 |
+
'circle-thin' => array(
|
194 |
+
'old_slug' => 'circle-thin',
|
195 |
+
'new_slug' => 'circle',
|
196 |
+
),
|
197 |
+
'clock-o' => array(
|
198 |
+
'old_slug' => 'clock-o',
|
199 |
+
'new_slug' => 'clock',
|
200 |
+
),
|
201 |
+
'close' => array(
|
202 |
+
'old_slug' => 'close',
|
203 |
+
'new_slug' => 'times',
|
204 |
+
),
|
205 |
+
'cloud-download' => array(
|
206 |
+
'old_slug' => 'cloud-download',
|
207 |
+
'new_slug' => 'cloud-download-alt',
|
208 |
+
),
|
209 |
+
'cloud-upload' => array(
|
210 |
+
'old_slug' => 'cloud-upload',
|
211 |
+
'new_slug' => 'cloud-upload-alt',
|
212 |
+
),
|
213 |
+
'cny' => array(
|
214 |
+
'old_slug' => 'cny',
|
215 |
+
'new_slug' => 'yen-sign',
|
216 |
+
),
|
217 |
+
'code-fork' => array(
|
218 |
+
'old_slug' => 'code-fork',
|
219 |
+
'new_slug' => 'code-branch',
|
220 |
+
),
|
221 |
+
'comment-o' => array(
|
222 |
+
'old_slug' => 'comment-o',
|
223 |
+
'new_slug' => 'comment',
|
224 |
+
),
|
225 |
+
'commenting-o' => array(
|
226 |
+
'old_slug' => 'commenting-o',
|
227 |
+
'new_slug' => 'comment-alt',
|
228 |
+
),
|
229 |
+
'commenting' => array(
|
230 |
+
'old_slug' => 'commenting',
|
231 |
+
'new_slug' => 'comment-alt',
|
232 |
+
),
|
233 |
+
'comments-o' => array(
|
234 |
+
'old_slug' => 'comments-o',
|
235 |
+
'new_slug' => 'comments',
|
236 |
+
),
|
237 |
+
'credit-card-alt' => array(
|
238 |
+
'old_slug' => 'credit-card-alt',
|
239 |
+
'new_slug' => 'credit-card',
|
240 |
+
),
|
241 |
+
'cutlery' => array(
|
242 |
+
'old_slug' => 'cutlery',
|
243 |
+
'new_slug' => 'utensils',
|
244 |
+
),
|
245 |
+
'dashboard' => array(
|
246 |
+
'old_slug' => 'dashboard',
|
247 |
+
'new_slug' => 'tachometer-alt',
|
248 |
+
),
|
249 |
+
'deafness' => array(
|
250 |
+
'old_slug' => 'deafness',
|
251 |
+
'new_slug' => 'deaf',
|
252 |
+
),
|
253 |
+
'dedent' => array(
|
254 |
+
'old_slug' => 'dedent',
|
255 |
+
'new_slug' => 'outdent',
|
256 |
+
),
|
257 |
+
'diamond' => array(
|
258 |
+
'old_slug' => 'diamond',
|
259 |
+
'new_slug' => 'gem',
|
260 |
+
),
|
261 |
+
'dollar' => array(
|
262 |
+
'old_slug' => 'dollar',
|
263 |
+
'new_slug' => 'dollar-sign',
|
264 |
+
),
|
265 |
+
'dot-circle-o' => array(
|
266 |
+
'old_slug' => 'dot-circle-o',
|
267 |
+
'new_slug' => 'dot-circle',
|
268 |
+
),
|
269 |
+
'drivers-license-o' => array(
|
270 |
+
'old_slug' => 'drivers-license-o',
|
271 |
+
'new_slug' => 'id-card',
|
272 |
+
),
|
273 |
+
'drivers-license' => array(
|
274 |
+
'old_slug' => 'drivers-license',
|
275 |
+
'new_slug' => 'id-card',
|
276 |
+
),
|
277 |
+
'eercast' => array(
|
278 |
+
'old_slug' => 'eercast',
|
279 |
+
'new_slug' => 'sellcast',
|
280 |
+
),
|
281 |
+
'envelope-o' => array(
|
282 |
+
'old_slug' => 'envelope-o',
|
283 |
+
'new_slug' => 'envelope',
|
284 |
+
),
|
285 |
+
'envelope-open-o' => array(
|
286 |
+
'old_slug' => 'envelope-open-o',
|
287 |
+
'new_slug' => 'envelope-open',
|
288 |
+
),
|
289 |
+
'eur' => array(
|
290 |
+
'old_slug' => 'eur',
|
291 |
+
'new_slug' => 'euro-sign',
|
292 |
+
),
|
293 |
+
'euro' => array(
|
294 |
+
'old_slug' => 'euro',
|
295 |
+
'new_slug' => 'euro-sign',
|
296 |
+
),
|
297 |
+
'exchange' => array(
|
298 |
+
'old_slug' => 'exchange',
|
299 |
+
'new_slug' => 'exchange-alt',
|
300 |
+
),
|
301 |
+
'external-link-square' => array(
|
302 |
+
'old_slug' => 'external-link-square',
|
303 |
+
'new_slug' => 'external-link-square-alt',
|
304 |
+
),
|
305 |
+
'external-link' => array(
|
306 |
+
'old_slug' => 'external-link',
|
307 |
+
'new_slug' => 'external-link-alt',
|
308 |
+
),
|
309 |
+
'eyedropper' => array(
|
310 |
+
'old_slug' => 'eyedropper',
|
311 |
+
'new_slug' => 'eye-dropper',
|
312 |
+
),
|
313 |
+
'fa' => array(
|
314 |
+
'old_slug' => 'fa',
|
315 |
+
'new_slug' => 'font-awesome',
|
316 |
+
),
|
317 |
+
'facebook-f' => array(
|
318 |
+
'old_slug' => 'facebook-f',
|
319 |
+
'new_slug' => 'facebook-f',
|
320 |
+
),
|
321 |
+
'facebook-official' => array(
|
322 |
+
'old_slug' => 'facebook-official',
|
323 |
+
'new_slug' => 'facebook',
|
324 |
+
),
|
325 |
+
'facebook' => array(
|
326 |
+
'old_slug' => 'facebook',
|
327 |
+
'new_slug' => 'facebook-f',
|
328 |
+
),
|
329 |
+
'feed' => array(
|
330 |
+
'old_slug' => 'feed',
|
331 |
+
'new_slug' => 'rss',
|
332 |
+
),
|
333 |
+
'file-archive-o' => array(
|
334 |
+
'old_slug' => 'file-archive-o',
|
335 |
+
'new_slug' => 'file-archive',
|
336 |
+
),
|
337 |
+
'file-audio-o' => array(
|
338 |
+
'old_slug' => 'file-audio-o',
|
339 |
+
'new_slug' => 'file-audio',
|
340 |
+
),
|
341 |
+
'file-code-o' => array(
|
342 |
+
'old_slug' => 'file-code-o',
|
343 |
+
'new_slug' => 'file-code',
|
344 |
+
),
|
345 |
+
'file-excel-o' => array(
|
346 |
+
'old_slug' => 'file-excel-o',
|
347 |
+
'new_slug' => 'file-excel',
|
348 |
+
),
|
349 |
+
'file-image-o' => array(
|
350 |
+
'old_slug' => 'file-image-o',
|
351 |
+
'new_slug' => 'file-image',
|
352 |
+
),
|
353 |
+
'file-movie-o' => array(
|
354 |
+
'old_slug' => 'file-movie-o',
|
355 |
+
'new_slug' => 'file-video',
|
356 |
+
),
|
357 |
+
'file-o' => array(
|
358 |
+
'old_slug' => 'file-o',
|
359 |
+
'new_slug' => 'file',
|
360 |
+
),
|
361 |
+
'file-pdf-o' => array(
|
362 |
+
'old_slug' => 'file-pdf-o',
|
363 |
+
'new_slug' => 'file-pdf',
|
364 |
+
),
|
365 |
+
'file-photo-o' => array(
|
366 |
+
'old_slug' => 'file-photo-o',
|
367 |
+
'new_slug' => 'file-image',
|
368 |
+
),
|
369 |
+
'file-picture-o' => array(
|
370 |
+
'old_slug' => 'file-picture-o',
|
371 |
+
'new_slug' => 'file-image',
|
372 |
+
),
|
373 |
+
'file-powerpoint-o' => array(
|
374 |
+
'old_slug' => 'file-powerpoint-o',
|
375 |
+
'new_slug' => 'file-powerpoint',
|
376 |
+
),
|
377 |
+
'file-sound-o' => array(
|
378 |
+
'old_slug' => 'file-sound-o',
|
379 |
+
'new_slug' => 'file-audio',
|
380 |
+
),
|
381 |
+
'file-text-o' => array(
|
382 |
+
'old_slug' => 'file-text-o',
|
383 |
+
'new_slug' => 'file-alt',
|
384 |
+
),
|
385 |
+
'file-text' => array(
|
386 |
+
'old_slug' => 'file-text',
|
387 |
+
'new_slug' => 'file-alt',
|
388 |
+
),
|
389 |
+
'file-video-o' => array(
|
390 |
+
'old_slug' => 'file-video-o',
|
391 |
+
'new_slug' => 'file-video',
|
392 |
+
),
|
393 |
+
'file-word-o' => array(
|
394 |
+
'old_slug' => 'file-word-o',
|
395 |
+
'new_slug' => 'file-word',
|
396 |
+
),
|
397 |
+
'file-zip-o' => array(
|
398 |
+
'old_slug' => 'file-zip-o',
|
399 |
+
'new_slug' => 'file-archive',
|
400 |
+
),
|
401 |
+
'files-o' => array(
|
402 |
+
'old_slug' => 'files-o',
|
403 |
+
'new_slug' => 'copy',
|
404 |
+
),
|
405 |
+
'flag-o' => array(
|
406 |
+
'old_slug' => 'flag-o',
|
407 |
+
'new_slug' => 'flag',
|
408 |
+
),
|
409 |
+
'flash' => array(
|
410 |
+
'old_slug' => 'flash',
|
411 |
+
'new_slug' => 'bolt',
|
412 |
+
),
|
413 |
+
'floppy-o' => array(
|
414 |
+
'old_slug' => 'floppy-o',
|
415 |
+
'new_slug' => 'save',
|
416 |
+
),
|
417 |
+
'folder-o' => array(
|
418 |
+
'old_slug' => 'folder-o',
|
419 |
+
'new_slug' => 'folder',
|
420 |
+
),
|
421 |
+
'folder-open-o' => array(
|
422 |
+
'old_slug' => 'folder-open-o',
|
423 |
+
'new_slug' => 'folder-open',
|
424 |
+
),
|
425 |
+
'frown-o' => array(
|
426 |
+
'old_slug' => 'frown-o',
|
427 |
+
'new_slug' => 'frown',
|
428 |
+
),
|
429 |
+
'futbol-o' => array(
|
430 |
+
'old_slug' => 'futbol-o',
|
431 |
+
'new_slug' => 'futbol',
|
432 |
+
),
|
433 |
+
'gbp' => array(
|
434 |
+
'old_slug' => 'gbp',
|
435 |
+
'new_slug' => 'pound-sign',
|
436 |
+
),
|
437 |
+
'ge' => array(
|
438 |
+
'old_slug' => 'ge',
|
439 |
+
'new_slug' => 'empire',
|
440 |
+
),
|
441 |
+
'gear' => array(
|
442 |
+
'old_slug' => 'gear',
|
443 |
+
'new_slug' => 'cog',
|
444 |
+
),
|
445 |
+
'gears' => array(
|
446 |
+
'old_slug' => 'gears',
|
447 |
+
'new_slug' => 'cogs',
|
448 |
+
),
|
449 |
+
'gittip' => array(
|
450 |
+
'old_slug' => 'gittip',
|
451 |
+
'new_slug' => 'gratipay',
|
452 |
+
),
|
453 |
+
'glass' => array(
|
454 |
+
'old_slug' => 'glass',
|
455 |
+
'new_slug' => 'glass-martini',
|
456 |
+
),
|
457 |
+
'google-plus-circle' => array(
|
458 |
+
'old_slug' => 'google-plus-circle',
|
459 |
+
'new_slug' => 'google-plus',
|
460 |
+
),
|
461 |
+
'google-plus-official' => array(
|
462 |
+
'old_slug' => 'google-plus-official',
|
463 |
+
'new_slug' => 'google-plus',
|
464 |
+
),
|
465 |
+
'google-plus' => array(
|
466 |
+
'old_slug' => 'google-plus',
|
467 |
+
'new_slug' => 'google-plus-g',
|
468 |
+
),
|
469 |
+
'group' => array(
|
470 |
+
'old_slug' => 'group',
|
471 |
+
'new_slug' => 'users',
|
472 |
+
),
|
473 |
+
'hand-grab-o' => array(
|
474 |
+
'old_slug' => 'hand-grab-o',
|
475 |
+
'new_slug' => 'hand-rock',
|
476 |
+
),
|
477 |
+
'hand-lizard-o' => array(
|
478 |
+
'old_slug' => 'hand-lizard-o',
|
479 |
+
'new_slug' => 'hand-lizard',
|
480 |
+
),
|
481 |
+
'hand-o-down' => array(
|
482 |
+
'old_slug' => 'hand-o-down',
|
483 |
+
'new_slug' => 'hand-point-down',
|
484 |
+
),
|
485 |
+
'hand-o-left' => array(
|
486 |
+
'old_slug' => 'hand-o-left',
|
487 |
+
'new_slug' => 'hand-point-left',
|
488 |
+
),
|
489 |
+
'hand-o-right' => array(
|
490 |
+
'old_slug' => 'hand-o-right',
|
491 |
+
'new_slug' => 'hand-point-right',
|
492 |
+
),
|
493 |
+
'hand-o-up' => array(
|
494 |
+
'old_slug' => 'hand-o-up',
|
495 |
+
'new_slug' => 'hand-point-up',
|
496 |
+
),
|
497 |
+
'hand-paper-o' => array(
|
498 |
+
'old_slug' => 'hand-paper-o',
|
499 |
+
'new_slug' => 'hand-paper',
|
500 |
+
),
|
501 |
+
'hand-peace-o' => array(
|
502 |
+
'old_slug' => 'hand-peace-o',
|
503 |
+
'new_slug' => 'hand-peace',
|
504 |
+
),
|
505 |
+
'hand-pointer-o' => array(
|
506 |
+
'old_slug' => 'hand-pointer-o',
|
507 |
+
'new_slug' => 'hand-pointer',
|
508 |
+
),
|
509 |
+
'hand-rock-o' => array(
|
510 |
+
'old_slug' => 'hand-rock-o',
|
511 |
+
'new_slug' => 'hand-rock',
|
512 |
+
),
|
513 |
+
'hand-scissors-o' => array(
|
514 |
+
'old_slug' => 'hand-scissors-o',
|
515 |
+
'new_slug' => 'hand-scissors',
|
516 |
+
),
|
517 |
+
'hand-spock-o' => array(
|
518 |
+
'old_slug' => 'hand-spock-o',
|
519 |
+
'new_slug' => 'hand-spock',
|
520 |
+
),
|
521 |
+
'hand-stop-o' => array(
|
522 |
+
'old_slug' => 'hand-stop-o',
|
523 |
+
'new_slug' => 'hand-paper',
|
524 |
+
),
|
525 |
+
'handshake-o' => array(
|
526 |
+
'old_slug' => 'handshake-o',
|
527 |
+
'new_slug' => 'handshake',
|
528 |
+
),
|
529 |
+
'hard-of-hearing' => array(
|
530 |
+
'old_slug' => 'hard-of-hearing',
|
531 |
+
'new_slug' => 'deaf',
|
532 |
+
),
|
533 |
+
'hdd-o' => array(
|
534 |
+
'old_slug' => 'hdd-o',
|
535 |
+
'new_slug' => 'hdd',
|
536 |
+
),
|
537 |
+
'header' => array(
|
538 |
+
'old_slug' => 'header',
|
539 |
+
'new_slug' => 'heading',
|
540 |
+
),
|
541 |
+
'heart-o' => array(
|
542 |
+
'old_slug' => 'heart-o',
|
543 |
+
'new_slug' => 'heart',
|
544 |
+
),
|
545 |
+
'hospital-o' => array(
|
546 |
+
'old_slug' => 'hospital-o',
|
547 |
+
'new_slug' => 'hospital',
|
548 |
+
),
|
549 |
+
'hotel' => array(
|
550 |
+
'old_slug' => 'hotel',
|
551 |
+
'new_slug' => 'bed',
|
552 |
+
),
|
553 |
+
'hourglass-1' => array(
|
554 |
+
'old_slug' => 'hourglass-1',
|
555 |
+
'new_slug' => 'hourglass-start',
|
556 |
+
),
|
557 |
+
'hourglass-2' => array(
|
558 |
+
'old_slug' => 'hourglass-2',
|
559 |
+
'new_slug' => 'hourglass-half',
|
560 |
+
),
|
561 |
+
'hourglass-3' => array(
|
562 |
+
'old_slug' => 'hourglass-3',
|
563 |
+
'new_slug' => 'hourglass-end',
|
564 |
+
),
|
565 |
+
'hourglass-o' => array(
|
566 |
+
'old_slug' => 'hourglass-o',
|
567 |
+
'new_slug' => 'hourglass',
|
568 |
+
),
|
569 |
+
'id-card-o' => array(
|
570 |
+
'old_slug' => 'id-card-o',
|
571 |
+
'new_slug' => 'id-card',
|
572 |
+
),
|
573 |
+
'ils' => array(
|
574 |
+
'old_slug' => 'ils',
|
575 |
+
'new_slug' => 'shekel-sign',
|
576 |
+
),
|
577 |
+
'image' => array(
|
578 |
+
'old_slug' => 'image',
|
579 |
+
'new_slug' => 'image',
|
580 |
+
),
|
581 |
+
'inr' => array(
|
582 |
+
'old_slug' => 'inr',
|
583 |
+
'new_slug' => 'rupee-sign',
|
584 |
+
),
|
585 |
+
'institution' => array(
|
586 |
+
'old_slug' => 'institution',
|
587 |
+
'new_slug' => 'university',
|
588 |
+
),
|
589 |
+
'intersex' => array(
|
590 |
+
'old_slug' => 'intersex',
|
591 |
+
'new_slug' => 'transgender',
|
592 |
+
),
|
593 |
+
'jpy' => array(
|
594 |
+
'old_slug' => 'jpy',
|
595 |
+
'new_slug' => 'yen-sign',
|
596 |
+
),
|
597 |
+
'keyboard-o' => array(
|
598 |
+
'old_slug' => 'keyboard-o',
|
599 |
+
'new_slug' => 'keyboard',
|
600 |
+
),
|
601 |
+
'krw' => array(
|
602 |
+
'old_slug' => 'krw',
|
603 |
+
'new_slug' => 'won-sign',
|
604 |
+
),
|
605 |
+
'legal' => array(
|
606 |
+
'old_slug' => 'legal',
|
607 |
+
'new_slug' => 'gavel',
|
608 |
+
),
|
609 |
+
'lemon-o' => array(
|
610 |
+
'old_slug' => 'lemon-o',
|
611 |
+
'new_slug' => 'lemon',
|
612 |
+
),
|
613 |
+
'level-down' => array(
|
614 |
+
'old_slug' => 'level-down',
|
615 |
+
'new_slug' => 'level-down-alt',
|
616 |
+
),
|
617 |
+
'level-up' => array(
|
618 |
+
'old_slug' => 'level-up',
|
619 |
+
'new_slug' => 'level-up-alt',
|
620 |
+
),
|
621 |
+
'life-bouy' => array(
|
622 |
+
'old_slug' => 'life-bouy',
|
623 |
+
'new_slug' => 'life-ring',
|
624 |
+
),
|
625 |
+
'life-buoy' => array(
|
626 |
+
'old_slug' => 'life-buoy',
|
627 |
+
'new_slug' => 'life-ring',
|
628 |
+
),
|
629 |
+
'life-saver' => array(
|
630 |
+
'old_slug' => 'life-saver',
|
631 |
+
'new_slug' => 'life-ring',
|
632 |
+
),
|
633 |
+
'lightbulb-o' => array(
|
634 |
+
'old_slug' => 'lightbulb-o',
|
635 |
+
'new_slug' => 'lightbulb',
|
636 |
+
),
|
637 |
+
'line-chart' => array(
|
638 |
+
'old_slug' => 'line-chart',
|
639 |
+
'new_slug' => 'chart-line',
|
640 |
+
),
|
641 |
+
'linkedin-square' => array(
|
642 |
+
'old_slug' => 'linkedin-square',
|
643 |
+
'new_slug' => 'linkedin',
|
644 |
+
),
|
645 |
+
'linkedin' => array(
|
646 |
+
'old_slug' => 'linkedin',
|
647 |
+
'new_slug' => 'linkedin-in',
|
648 |
+
),
|
649 |
+
'long-arrow-down' => array(
|
650 |
+
'old_slug' => 'long-arrow-down',
|
651 |
+
'new_slug' => 'long-arrow-alt-down',
|
652 |
+
),
|
653 |
+
'long-arrow-left' => array(
|
654 |
+
'old_slug' => 'long-arrow-left',
|
655 |
+
'new_slug' => 'long-arrow-alt-left',
|
656 |
+
),
|
657 |
+
'long-arrow-right' => array(
|
658 |
+
'old_slug' => 'long-arrow-right',
|
659 |
+
'new_slug' => 'long-arrow-alt-right',
|
660 |
+
),
|
661 |
+
'long-arrow-up' => array(
|
662 |
+
'old_slug' => 'long-arrow-up',
|
663 |
+
'new_slug' => 'long-arrow-alt-up',
|
664 |
+
),
|
665 |
+
'mail-forward' => array(
|
666 |
+
'old_slug' => 'mail-forward',
|
667 |
+
'new_slug' => 'share',
|
668 |
+
),
|
669 |
+
'mail-reply-all' => array(
|
670 |
+
'old_slug' => 'mail-reply-all',
|
671 |
+
'new_slug' => 'reply-all',
|
672 |
+
),
|
673 |
+
'mail-reply' => array(
|
674 |
+
'old_slug' => 'mail-reply',
|
675 |
+
'new_slug' => 'reply',
|
676 |
+
),
|
677 |
+
'map-marker' => array(
|
678 |
+
'old_slug' => 'map-marker',
|
679 |
+
'new_slug' => 'map-marker-alt',
|
680 |
+
),
|
681 |
+
'map-o' => array(
|
682 |
+
'old_slug' => 'map-o',
|
683 |
+
'new_slug' => 'map',
|
684 |
+
),
|
685 |
+
'meanpath' => array(
|
686 |
+
'old_slug' => 'meanpath',
|
687 |
+
'new_slug' => 'font-awesome',
|
688 |
+
),
|
689 |
+
'meh-o' => array(
|
690 |
+
'old_slug' => 'meh-o',
|
691 |
+
'new_slug' => 'meh',
|
692 |
+
),
|
693 |
+
'minus-square-o' => array(
|
694 |
+
'old_slug' => 'minus-square-o',
|
695 |
+
'new_slug' => 'minus-square',
|
696 |
+
),
|
697 |
+
'mobile-phone' => array(
|
698 |
+
'old_slug' => 'mobile-phone',
|
699 |
+
'new_slug' => 'mobile-alt',
|
700 |
+
),
|
701 |
+
'mobile' => array(
|
702 |
+
'old_slug' => 'mobile',
|
703 |
+
'new_slug' => 'mobile-alt',
|
704 |
+
),
|
705 |
+
'money' => array(
|
706 |
+
'old_slug' => 'money',
|
707 |
+
'new_slug' => 'money-bill-alt',
|
708 |
+
),
|
709 |
+
'moon-o' => array(
|
710 |
+
'old_slug' => 'moon-o',
|
711 |
+
'new_slug' => 'moon',
|
712 |
+
),
|
713 |
+
'mortar-board' => array(
|
714 |
+
'old_slug' => 'mortar-board',
|
715 |
+
'new_slug' => 'graduation-cap',
|
716 |
+
),
|
717 |
+
'navicon' => array(
|
718 |
+
'old_slug' => 'navicon',
|
719 |
+
'new_slug' => 'bars',
|
720 |
+
),
|
721 |
+
'newspaper-o' => array(
|
722 |
+
'old_slug' => 'newspaper-o',
|
723 |
+
'new_slug' => 'newspaper',
|
724 |
+
),
|
725 |
+
'paper-plane-o' => array(
|
726 |
+
'old_slug' => 'paper-plane-o',
|
727 |
+
'new_slug' => 'paper-plane',
|
728 |
+
),
|
729 |
+
'paste' => array(
|
730 |
+
'old_slug' => 'paste',
|
731 |
+
'new_slug' => 'clipboard',
|
732 |
+
),
|
733 |
+
'pause-circle-o' => array(
|
734 |
+
'old_slug' => 'pause-circle-o',
|
735 |
+
'new_slug' => 'pause-circle',
|
736 |
+
),
|
737 |
+
'pencil-square-o' => array(
|
738 |
+
'old_slug' => 'pencil-square-o',
|
739 |
+
'new_slug' => 'edit',
|
740 |
+
),
|
741 |
+
'pencil-square' => array(
|
742 |
+
'old_slug' => 'pencil-square',
|
743 |
+
'new_slug' => 'pen-square',
|
744 |
+
),
|
745 |
+
'pencil' => array(
|
746 |
+
'old_slug' => 'pencil',
|
747 |
+
'new_slug' => 'pencil-alt',
|
748 |
+
),
|
749 |
+
'photo' => array(
|
750 |
+
'old_slug' => 'photo',
|
751 |
+
'new_slug' => 'image',
|
752 |
+
),
|
753 |
+
'picture-o' => array(
|
754 |
+
'old_slug' => 'picture-o',
|
755 |
+
'new_slug' => 'image',
|
756 |
+
),
|
757 |
+
'pie-chart' => array(
|
758 |
+
'old_slug' => 'pie-chart',
|
759 |
+
'new_slug' => 'chart-pie',
|
760 |
+
),
|
761 |
+
'play-circle-o' => array(
|
762 |
+
'old_slug' => 'play-circle-o',
|
763 |
+
'new_slug' => 'play-circle',
|
764 |
+
),
|
765 |
+
'plus-square-o' => array(
|
766 |
+
'old_slug' => 'plus-square-o',
|
767 |
+
'new_slug' => 'plus-square',
|
768 |
+
),
|
769 |
+
'question-circle-o' => array(
|
770 |
+
'old_slug' => 'question-circle-o',
|
771 |
+
'new_slug' => 'question-circle',
|
772 |
+
),
|
773 |
+
'ra' => array(
|
774 |
+
'old_slug' => 'ra',
|
775 |
+
'new_slug' => 'rebel',
|
776 |
+
),
|
777 |
+
'refresh' => array(
|
778 |
+
'old_slug' => 'refresh',
|
779 |
+
'new_slug' => 'sync',
|
780 |
+
),
|
781 |
+
'remove' => array(
|
782 |
+
'old_slug' => 'remove',
|
783 |
+
'new_slug' => 'times',
|
784 |
+
),
|
785 |
+
'reorder' => array(
|
786 |
+
'old_slug' => 'reorder',
|
787 |
+
'new_slug' => 'bars',
|
788 |
+
),
|
789 |
+
'repeat' => array(
|
790 |
+
'old_slug' => 'repeat',
|
791 |
+
'new_slug' => 'redo',
|
792 |
+
),
|
793 |
+
'resistance' => array(
|
794 |
+
'old_slug' => 'resistance',
|
795 |
+
'new_slug' => 'rebel',
|
796 |
+
),
|
797 |
+
'rmb' => array(
|
798 |
+
'old_slug' => 'rmb',
|
799 |
+
'new_slug' => 'yen-sign',
|
800 |
+
),
|
801 |
+
'rotate-left' => array(
|
802 |
+
'old_slug' => 'rotate-left',
|
803 |
+
'new_slug' => 'undo',
|
804 |
+
),
|
805 |
+
'rotate-right' => array(
|
806 |
+
'old_slug' => 'rotate-right',
|
807 |
+
'new_slug' => 'redo',
|
808 |
+
),
|
809 |
+
'rouble' => array(
|
810 |
+
'old_slug' => 'rouble',
|
811 |
+
'new_slug' => 'ruble-sign',
|
812 |
+
),
|
813 |
+
'rub' => array(
|
814 |
+
'old_slug' => 'rub',
|
815 |
+
'new_slug' => 'ruble-sign',
|
816 |
+
),
|
817 |
+
'ruble' => array(
|
818 |
+
'old_slug' => 'ruble',
|
819 |
+
'new_slug' => 'ruble-sign',
|
820 |
+
),
|
821 |
+
'rupee' => array(
|
822 |
+
'old_slug' => 'rupee',
|
823 |
+
'new_slug' => 'rupee-sign',
|
824 |
+
),
|
825 |
+
's15' => array(
|
826 |
+
'old_slug' => 's15',
|
827 |
+
'new_slug' => 'bath',
|
828 |
+
),
|
829 |
+
'scissors' => array(
|
830 |
+
'old_slug' => 'scissors',
|
831 |
+
'new_slug' => 'cut',
|
832 |
+
),
|
833 |
+
'send-o' => array(
|
834 |
+
'old_slug' => 'send-o',
|
835 |
+
'new_slug' => 'paper-plane',
|
836 |
+
),
|
837 |
+
'send' => array(
|
838 |
+
'old_slug' => 'send',
|
839 |
+
'new_slug' => 'paper-plane',
|
840 |
+
),
|
841 |
+
'share-square-o' => array(
|
842 |
+
'old_slug' => 'share-square-o',
|
843 |
+
'new_slug' => 'share-square',
|
844 |
+
),
|
845 |
+
'shekel' => array(
|
846 |
+
'old_slug' => 'shekel',
|
847 |
+
'new_slug' => 'shekel-sign',
|
848 |
+
),
|
849 |
+
'sheqel' => array(
|
850 |
+
'old_slug' => 'sheqel',
|
851 |
+
'new_slug' => 'shekel-sign',
|
852 |
+
),
|
853 |
+
'shield' => array(
|
854 |
+
'old_slug' => 'shield',
|
855 |
+
'new_slug' => 'shield-alt',
|
856 |
+
),
|
857 |
+
'sign-in' => array(
|
858 |
+
'old_slug' => 'sign-in',
|
859 |
+
'new_slug' => 'sign-in-alt',
|
860 |
+
),
|
861 |
+
'sign-out' => array(
|
862 |
+
'old_slug' => 'sign-out',
|
863 |
+
'new_slug' => 'sign-out-alt',
|
864 |
+
),
|
865 |
+
'signing' => array(
|
866 |
+
'old_slug' => 'signing',
|
867 |
+
'new_slug' => 'sign-language',
|
868 |
+
),
|
869 |
+
'sliders' => array(
|
870 |
+
'old_slug' => 'sliders',
|
871 |
+
'new_slug' => 'sliders-h',
|
872 |
+
),
|
873 |
+
'smile-o' => array(
|
874 |
+
'old_slug' => 'smile-o',
|
875 |
+
'new_slug' => 'smile',
|
876 |
+
),
|
877 |
+
'snowflake-o' => array(
|
878 |
+
'old_slug' => 'snowflake-o',
|
879 |
+
'new_slug' => 'snowflake',
|
880 |
+
),
|
881 |
+
'soccer-ball-o' => array(
|
882 |
+
'old_slug' => 'soccer-ball-o',
|
883 |
+
'new_slug' => 'futbol',
|
884 |
+
),
|
885 |
+
'sort-alpha-asc' => array(
|
886 |
+
'old_slug' => 'sort-alpha-asc',
|
887 |
+
'new_slug' => 'sort-alpha-down',
|
888 |
+
),
|
889 |
+
'sort-alpha-desc' => array(
|
890 |
+
'old_slug' => 'sort-alpha-desc',
|
891 |
+
'new_slug' => 'sort-alpha-up',
|
892 |
+
),
|
893 |
+
'sort-amount-asc' => array(
|
894 |
+
'old_slug' => 'sort-amount-asc',
|
895 |
+
'new_slug' => 'sort-amount-down',
|
896 |
+
),
|
897 |
+
'sort-amount-desc' => array(
|
898 |
+
'old_slug' => 'sort-amount-desc',
|
899 |
+
'new_slug' => 'sort-amount-up',
|
900 |
+
),
|
901 |
+
'sort-asc' => array(
|
902 |
+
'old_slug' => 'sort-asc',
|
903 |
+
'new_slug' => 'sort-up',
|
904 |
+
),
|
905 |
+
'sort-desc' => array(
|
906 |
+
'old_slug' => 'sort-desc',
|
907 |
+
'new_slug' => 'sort-down',
|
908 |
+
),
|
909 |
+
'sort-numeric-asc' => array(
|
910 |
+
'old_slug' => 'sort-numeric-asc',
|
911 |
+
'new_slug' => 'sort-numeric-down',
|
912 |
+
),
|
913 |
+
'sort-numeric-desc' => array(
|
914 |
+
'old_slug' => 'sort-numeric-desc',
|
915 |
+
'new_slug' => 'sort-numeric-up',
|
916 |
+
),
|
917 |
+
'spoon' => array(
|
918 |
+
'old_slug' => 'spoon',
|
919 |
+
'new_slug' => 'utensil-spoon',
|
920 |
+
),
|
921 |
+
'square-o' => array(
|
922 |
+
'old_slug' => 'square-o',
|
923 |
+
'new_slug' => 'square',
|
924 |
+
),
|
925 |
+
'star-half-empty' => array(
|
926 |
+
'old_slug' => 'star-half-empty',
|
927 |
+
'new_slug' => 'star-half',
|
928 |
+
),
|
929 |
+
'star-half-full' => array(
|
930 |
+
'old_slug' => 'star-half-full',
|
931 |
+
'new_slug' => 'star-half',
|
932 |
+
),
|
933 |
+
'star-half-o' => array(
|
934 |
+
'old_slug' => 'star-half-o',
|
935 |
+
'new_slug' => 'star-half',
|
936 |
+
),
|
937 |
+
'star-o' => array(
|
938 |
+
'old_slug' => 'star-o',
|
939 |
+
'new_slug' => 'star',
|
940 |
+
),
|
941 |
+
'sticky-note-o' => array(
|
942 |
+
'old_slug' => 'sticky-note-o',
|
943 |
+
'new_slug' => 'sticky-note',
|
944 |
+
),
|
945 |
+
'stop-circle-o' => array(
|
946 |
+
'old_slug' => 'stop-circle-o',
|
947 |
+
'new_slug' => 'stop-circle',
|
948 |
+
),
|
949 |
+
'sun-o' => array(
|
950 |
+
'old_slug' => 'sun-o',
|
951 |
+
'new_slug' => 'sun',
|
952 |
+
),
|
953 |
+
'support' => array(
|
954 |
+
'old_slug' => 'support',
|
955 |
+
'new_slug' => 'life-ring',
|
956 |
+
),
|
957 |
+
'tablet' => array(
|
958 |
+
'old_slug' => 'tablet',
|
959 |
+
'new_slug' => 'tablet-alt',
|
960 |
+
),
|
961 |
+
'tachometer' => array(
|
962 |
+
'old_slug' => 'tachometer',
|
963 |
+
'new_slug' => 'tachometer-alt',
|
964 |
+
),
|
965 |
+
'television' => array(
|
966 |
+
'old_slug' => 'television',
|
967 |
+
'new_slug' => 'tv',
|
968 |
+
),
|
969 |
+
'thermometer-0' => array(
|
970 |
+
'old_slug' => 'thermometer-0',
|
971 |
+
'new_slug' => 'thermometer-empty',
|
972 |
+
),
|
973 |
+
'thermometer-1' => array(
|
974 |
+
'old_slug' => 'thermometer-1',
|
975 |
+
'new_slug' => 'thermometer-quarter',
|
976 |
+
),
|
977 |
+
'thermometer-2' => array(
|
978 |
+
'old_slug' => 'thermometer-2',
|
979 |
+
'new_slug' => 'thermometer-half',
|
980 |
+
),
|
981 |
+
'thermometer-3' => array(
|
982 |
+
'old_slug' => 'thermometer-3',
|
983 |
+
'new_slug' => 'thermometer-three-quarters',
|
984 |
+
),
|
985 |
+
'thermometer-4' => array(
|
986 |
+
'old_slug' => 'thermometer-4',
|
987 |
+
'new_slug' => 'thermometer-full',
|
988 |
+
),
|
989 |
+
'thermometer' => array(
|
990 |
+
'old_slug' => 'thermometer',
|
991 |
+
'new_slug' => 'thermometer-full',
|
992 |
+
),
|
993 |
+
'thumb-tack' => array(
|
994 |
+
'old_slug' => 'thumb-tack',
|
995 |
+
'new_slug' => 'thumbtack',
|
996 |
+
),
|
997 |
+
'thumbs-o-down' => array(
|
998 |
+
'old_slug' => 'thumbs-o-down',
|
999 |
+
'new_slug' => 'thumbs-down',
|
1000 |
+
),
|
1001 |
+
'thumbs-o-up' => array(
|
1002 |
+
'old_slug' => 'thumbs-o-up',
|
1003 |
+
'new_slug' => 'thumbs-up',
|
1004 |
+
),
|
1005 |
+
'ticket' => array(
|
1006 |
+
'old_slug' => 'ticket',
|
1007 |
+
'new_slug' => 'ticket-alt',
|
1008 |
+
),
|
1009 |
+
'times-circle-o' => array(
|
1010 |
+
'old_slug' => 'times-circle-o',
|
1011 |
+
'new_slug' => 'times-circle',
|
1012 |
+
),
|
1013 |
+
'times-rectangle-o' => array(
|
1014 |
+
'old_slug' => 'times-rectangle-o',
|
1015 |
+
'new_slug' => 'window-close',
|
1016 |
+
),
|
1017 |
+
'times-rectangle' => array(
|
1018 |
+
'old_slug' => 'times-rectangle',
|
1019 |
+
'new_slug' => 'window-close',
|
1020 |
+
),
|
1021 |
+
'toggle-down' => array(
|
1022 |
+
'old_slug' => 'toggle-down',
|
1023 |
+
'new_slug' => 'caret-square-down',
|
1024 |
+
),
|
1025 |
+
'toggle-left' => array(
|
1026 |
+
'old_slug' => 'toggle-left',
|
1027 |
+
'new_slug' => 'caret-square-left',
|
1028 |
+
),
|
1029 |
+
'toggle-right' => array(
|
1030 |
+
'old_slug' => 'toggle-right',
|
1031 |
+
'new_slug' => 'caret-square-right',
|
1032 |
+
),
|
1033 |
+
'toggle-up' => array(
|
1034 |
+
'old_slug' => 'toggle-up',
|
1035 |
+
'new_slug' => 'caret-square-up',
|
1036 |
+
),
|
1037 |
+
'trash-o' => array(
|
1038 |
+
'old_slug' => 'trash-o',
|
1039 |
+
'new_slug' => 'trash-alt',
|
1040 |
+
),
|
1041 |
+
'trash' => array(
|
1042 |
+
'old_slug' => 'trash',
|
1043 |
+
'new_slug' => 'trash-alt',
|
1044 |
+
),
|
1045 |
+
'try' => array(
|
1046 |
+
'old_slug' => 'try',
|
1047 |
+
'new_slug' => 'lira-sign',
|
1048 |
+
),
|
1049 |
+
'turkish-lira' => array(
|
1050 |
+
'old_slug' => 'turkish-lira',
|
1051 |
+
'new_slug' => 'lira-sign',
|
1052 |
+
),
|
1053 |
+
'unsorted' => array(
|
1054 |
+
'old_slug' => 'unsorted',
|
1055 |
+
'new_slug' => 'sort',
|
1056 |
+
),
|
1057 |
+
'usd' => array(
|
1058 |
+
'old_slug' => 'usd',
|
1059 |
+
'new_slug' => 'dollar-sign',
|
1060 |
+
),
|
1061 |
+
'user-circle-o' => array(
|
1062 |
+
'old_slug' => 'user-circle-o',
|
1063 |
+
'new_slug' => 'user-circle',
|
1064 |
+
),
|
1065 |
+
'user-o' => array(
|
1066 |
+
'old_slug' => 'user-o',
|
1067 |
+
'new_slug' => 'user',
|
1068 |
+
),
|
1069 |
+
'vcard-o' => array(
|
1070 |
+
'old_slug' => 'vcard-o',
|
1071 |
+
'new_slug' => 'address-card',
|
1072 |
+
),
|
1073 |
+
'vcard' => array(
|
1074 |
+
'old_slug' => 'vcard',
|
1075 |
+
'new_slug' => 'address-card',
|
1076 |
+
),
|
1077 |
+
'video-camera' => array(
|
1078 |
+
'old_slug' => 'video-camera',
|
1079 |
+
'new_slug' => 'video',
|
1080 |
+
),
|
1081 |
+
'vimeo' => array(
|
1082 |
+
'old_slug' => 'vimeo',
|
1083 |
+
'new_slug' => 'vimeo-v',
|
1084 |
+
),
|
1085 |
+
'volume-control-phone' => array(
|
1086 |
+
'old_slug' => 'volume-control-phone',
|
1087 |
+
'new_slug' => 'phone-volume',
|
1088 |
+
),
|
1089 |
+
'warning' => array(
|
1090 |
+
'old_slug' => 'warning',
|
1091 |
+
'new_slug' => 'exclamation-triangle',
|
1092 |
+
),
|
1093 |
+
'wechat' => array(
|
1094 |
+
'old_slug' => 'wechat',
|
1095 |
+
'new_slug' => 'weixin',
|
1096 |
+
),
|
1097 |
+
'wheelchair-alt' => array(
|
1098 |
+
'old_slug' => 'wheelchair-alt',
|
1099 |
+
'new_slug' => 'accessible-icon',
|
1100 |
+
),
|
1101 |
+
'window-close-o' => array(
|
1102 |
+
'old_slug' => 'window-close-o',
|
1103 |
+
'new_slug' => 'window-close',
|
1104 |
+
),
|
1105 |
+
'won' => array(
|
1106 |
+
'old_slug' => 'won',
|
1107 |
+
'new_slug' => 'won-sign',
|
1108 |
+
),
|
1109 |
+
'y-combinator-square' => array(
|
1110 |
+
'old_slug' => 'y-combinator-square',
|
1111 |
+
'new_slug' => 'hacker-news',
|
1112 |
+
),
|
1113 |
+
'yc-square' => array(
|
1114 |
+
'old_slug' => 'yc-square',
|
1115 |
+
'new_slug' => 'hacker-news',
|
1116 |
+
),
|
1117 |
+
'yc' => array(
|
1118 |
+
'old_slug' => 'yc',
|
1119 |
+
'new_slug' => 'y-combinator',
|
1120 |
+
),
|
1121 |
+
'yen' => array(
|
1122 |
+
'old_slug' => 'yen',
|
1123 |
+
'new_slug' => 'yen-sign',
|
1124 |
+
),
|
1125 |
+
'youtube-play' => array(
|
1126 |
+
'old_slug' => 'youtube-play',
|
1127 |
+
'new_slug' => 'youtube',
|
1128 |
+
),
|
1129 |
+
'youtube-square' => array(
|
1130 |
+
'old_slug' => 'youtube-square',
|
1131 |
+
'new_slug' => 'youtube',
|
1132 |
+
),
|
1133 |
+
);
|
1134 |
+
|
1135 |
+
return ! empty( $bfa_icon_name_change_list[ $slug ] ) ? $bfa_icon_name_change_list[ $slug ]['new_slug'] : null;
|
1136 |
+
}
|
vendor/mickey-kay/better-font-awesome-library/js/admin.js
CHANGED
@@ -8,45 +8,61 @@
|
|
8 |
|
9 |
( function( $ ) {
|
10 |
|
11 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
|
13 |
$( 'body' ).on( 'mousedown', '.bfa-iconpicker', function(e) { // Use mousedown even to allow for triggering click later without infinite looping.
|
14 |
|
15 |
e.preventDefault();
|
16 |
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
|
|
|
|
|
|
|
|
|
|
35 |
|
36 |
})
|
37 |
.on( 'click', '.bfa-iconpicker', function(e) {
|
|
|
38 |
$( this ).find( '.iconpicker-search' ).focus();
|
39 |
});
|
40 |
|
41 |
// Set up icon insertion functionality.
|
42 |
$( document ).on( 'iconpickerSelect', function( e ) {
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
function icon_shortcode( icon ) {
|
49 |
-
return '[icon name="' + icon + '" class="" unprefixed_class=""]';
|
50 |
-
}
|
51 |
|
52 |
} )( jQuery );
|
8 |
|
9 |
( function( $ ) {
|
10 |
|
11 |
+
var icons = Object.values( bfa_vars.fa_icons );
|
12 |
+
|
13 |
+
function get_icon_by_title( title ) {
|
14 |
+
return icons.find( function( icon ) {
|
15 |
+
return icon.title == title;
|
16 |
+
});
|
17 |
+
}
|
18 |
+
|
19 |
+
function icon_shortcode( icon ) {
|
20 |
+
var icon_style_string = icon.style ? ' style="' + icon.style + '"' : '';
|
21 |
+
return '[icon name="' + icon.slug + '"' + icon_style_string + ' class="" unprefixed_class=""]';
|
22 |
+
}
|
23 |
+
|
24 |
+
$( document ).on( 'ready ', function() {
|
25 |
|
26 |
$( 'body' ).on( 'mousedown', '.bfa-iconpicker', function(e) { // Use mousedown even to allow for triggering click later without infinite looping.
|
27 |
|
28 |
e.preventDefault();
|
29 |
|
30 |
+
$( this ).not( ' .initialized' )
|
31 |
+
.addClass( 'initialized' )
|
32 |
+
.iconpicker({
|
33 |
+
placement: 'bottomLeft',
|
34 |
+
hideOnSelect: true,
|
35 |
+
animation: false,
|
36 |
+
selectedCustomClass: 'selected',
|
37 |
+
icons: icons,
|
38 |
+
fullClassFormatter: function( icon_title ) {
|
39 |
+
var classes = [];
|
40 |
+
var icon = get_icon_by_title( icon_title );
|
41 |
+
|
42 |
+
return icon.base_class;
|
43 |
+
},
|
44 |
+
})
|
45 |
+
.find( '.iconpicker-item' ).each( function() {
|
46 |
+
var $item = $( this );
|
47 |
+
var title = $item.attr( 'title' ).replace( '.', '' );
|
48 |
+
|
49 |
+
$item.attr( 'title', title );
|
50 |
+
});
|
51 |
+
|
52 |
+
$( this ).trigger( 'click' );
|
53 |
|
54 |
})
|
55 |
.on( 'click', '.bfa-iconpicker', function(e) {
|
56 |
+
e.preventDefault(); // Prevent scrolling to top.
|
57 |
$( this ).find( '.iconpicker-search' ).focus();
|
58 |
});
|
59 |
|
60 |
// Set up icon insertion functionality.
|
61 |
$( document ).on( 'iconpickerSelect', function( e ) {
|
62 |
+
var icon_title = e.iconpickerItem.context.title.replace( '.', '' );
|
63 |
+
var icon = get_icon_by_title( icon_title );
|
64 |
+
wp.media.editor.insert( icon_shortcode( icon ) );
|
65 |
+
});
|
66 |
+
});
|
|
|
|
|
|
|
67 |
|
68 |
} )( jQuery );
|
vendor/mickey-kay/better-font-awesome-library/lib/fontawesome-iconpicker/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Contributor Covenant Code of Conduct
|
2 |
+
|
3 |
+
## Our Pledge
|
4 |
+
|
5 |
+
In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.
|
6 |
+
|
7 |
+
## Our Standards
|
8 |
+
|
9 |
+
Examples of behavior that contributes to creating a positive environment include:
|
10 |
+
|
11 |
+
* Using welcoming and inclusive language
|
12 |
+
* Being respectful of differing viewpoints and experiences
|
13 |
+
* Gracefully accepting constructive criticism
|
14 |
+
* Focusing on what is best for the community
|
15 |
+
* Showing empathy towards other community members
|
16 |
+
|
17 |
+
Examples of unacceptable behavior by participants include:
|
18 |
+
|
19 |
+
* The use of sexualized language or imagery and unwelcome sexual attention or advances
|
20 |
+
* Trolling, insulting/derogatory comments, and personal or political attacks
|
21 |
+
* Public or private harassment
|
22 |
+
* Publishing others' private information, such as a physical or electronic address, without explicit permission
|
23 |
+
* Other conduct which could reasonably be considered inappropriate in a professional setting
|
24 |
+
|
25 |
+
## Our Responsibilities
|
26 |
+
|
27 |
+
Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.
|
28 |
+
|
29 |
+
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
|
30 |
+
|
31 |
+
## Scope
|
32 |
+
|
33 |
+
This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.
|
34 |
+
|
35 |
+
## Enforcement
|
36 |
+
|
37 |
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team members through their social media sites or at _git @ itsjavi.com_.
|
38 |
+
The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
|
39 |
+
|
40 |
+
Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.
|
41 |
+
|
42 |
+
## Attribution
|
43 |
+
|
44 |
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]
|
45 |
+
|
46 |
+
[homepage]: http://contributor-covenant.org
|
47 |
+
[version]: http://contributor-covenant.org/version/1/4/
|
vendor/mickey-kay/better-font-awesome-library/lib/fontawesome-iconpicker/Gruntfile.js
CHANGED
@@ -1,6 +1,75 @@
|
|
1 |
'use strict';
|
2 |
module.exports = function(grunt) {
|
|
|
|
|
3 |
grunt.initConfig({
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
less: {
|
5 |
dist: {
|
6 |
options: {
|
@@ -26,30 +95,34 @@ module.exports = function(grunt) {
|
|
26 |
}
|
27 |
},
|
28 |
jsbeautifier: {
|
29 |
-
files: ['Gruntfile.js', 'src/js/*.js']
|
30 |
},
|
31 |
uglify: {
|
32 |
distMin: {
|
33 |
options: {
|
34 |
compress: {},
|
35 |
-
beautify: false
|
|
|
36 |
},
|
37 |
files: {
|
38 |
'dist/js/fontawesome-iconpicker.min.js': [
|
|
|
39 |
'src/js/jquery.ui.pos.js',
|
40 |
-
|
41 |
]
|
42 |
}
|
43 |
},
|
44 |
dist: {
|
45 |
options: {
|
46 |
compress: false,
|
47 |
-
beautify: true
|
|
|
48 |
},
|
49 |
files: {
|
50 |
'dist/js/fontawesome-iconpicker.js': [
|
|
|
51 |
'src/js/jquery.ui.pos.js',
|
52 |
-
|
53 |
]
|
54 |
}
|
55 |
}
|
@@ -72,6 +145,10 @@ module.exports = function(grunt) {
|
|
72 |
dist: [
|
73 |
'dist/css',
|
74 |
'dist/js/*.js'
|
|
|
|
|
|
|
|
|
75 |
]
|
76 |
}
|
77 |
});
|
@@ -82,13 +159,20 @@ module.exports = function(grunt) {
|
|
82 |
grunt.loadNpmTasks('grunt-contrib-watch');
|
83 |
grunt.loadNpmTasks('grunt-contrib-less');
|
84 |
grunt.loadNpmTasks('grunt-jsbeautifier');
|
|
|
|
|
|
|
85 |
|
86 |
// Register tasks
|
87 |
grunt.registerTask('default', [
|
88 |
-
'
|
|
|
|
|
|
|
89 |
'less',
|
90 |
'jsbeautifier',
|
91 |
-
'uglify'
|
|
|
92 |
]);
|
93 |
grunt.registerTask('dev', [
|
94 |
'watch'
|
1 |
'use strict';
|
2 |
module.exports = function(grunt) {
|
3 |
+
const parsedIconPicker = 'prod/src/js/iconpicker.js';
|
4 |
+
const tempIconsFile = '.icons.temp';
|
5 |
grunt.initConfig({
|
6 |
+
download: {
|
7 |
+
somefile: {
|
8 |
+
src: ['https://raw.githubusercontent.com/FortAwesome/Font-Awesome/5.0.8/advanced-options/metadata/icons.yml'],
|
9 |
+
dest: tempIconsFile
|
10 |
+
},
|
11 |
+
},
|
12 |
+
yaml: {
|
13 |
+
getIcons: {
|
14 |
+
options: {
|
15 |
+
space: 2,
|
16 |
+
disableDest: true,
|
17 |
+
middleware: function(response, sourceJSON, src, dest) {
|
18 |
+
let targetJSON = {
|
19 |
+
icons: []
|
20 |
+
};
|
21 |
+
sourceJSON = JSON.parse(sourceJSON);
|
22 |
+
Object.keys(sourceJSON).forEach(function(key) {
|
23 |
+
let ele = sourceJSON[key];
|
24 |
+
let icon = 'fa-' + key;
|
25 |
+
ele.styles.forEach(function(style) {
|
26 |
+
style = style.toLowerCase();
|
27 |
+
if (style.startsWith('brand')) {
|
28 |
+
targetJSON.icons.push({
|
29 |
+
title: 'fab ' + icon,
|
30 |
+
searchTerms: ele.search.terms
|
31 |
+
});
|
32 |
+
} else if (style.startsWith('solid')) {
|
33 |
+
targetJSON.icons.push({
|
34 |
+
title: 'fas ' + icon,
|
35 |
+
searchTerms: ele.search.terms
|
36 |
+
});
|
37 |
+
} else if (style.startsWith('regular')) {
|
38 |
+
targetJSON.icons.push({
|
39 |
+
title: 'far ' + icon,
|
40 |
+
searchTerms: ele.search.terms
|
41 |
+
});
|
42 |
+
} else if (style.startsWith('light')) {
|
43 |
+
targetJSON.icons.push({
|
44 |
+
title: 'fal ' + icon,
|
45 |
+
searchTerms: ele.search.terms
|
46 |
+
});
|
47 |
+
}
|
48 |
+
});
|
49 |
+
});
|
50 |
+
grunt.file.write(dest, JSON.stringify(targetJSON));
|
51 |
+
}
|
52 |
+
},
|
53 |
+
files: [{
|
54 |
+
expand: false,
|
55 |
+
src: [tempIconsFile],
|
56 |
+
dest: tempIconsFile
|
57 |
+
}]
|
58 |
+
},
|
59 |
+
},
|
60 |
+
'string-replace': {
|
61 |
+
dist: {
|
62 |
+
files: {
|
63 |
+
'prod/': ['src/js/iconpicker.js'],
|
64 |
+
},
|
65 |
+
options: {
|
66 |
+
replacements: [{
|
67 |
+
pattern: '//###REPLACE-WITH-FONT-AWESOME-5-FONTS###',
|
68 |
+
replacement: "<%= grunt.file.read('" + tempIconsFile + "') %>"
|
69 |
+
}]
|
70 |
+
}
|
71 |
+
}
|
72 |
+
},
|
73 |
less: {
|
74 |
dist: {
|
75 |
options: {
|
95 |
}
|
96 |
},
|
97 |
jsbeautifier: {
|
98 |
+
files: ['Gruntfile.js', 'src/js/*.js', parsedIconPicker]
|
99 |
},
|
100 |
uglify: {
|
101 |
distMin: {
|
102 |
options: {
|
103 |
compress: {},
|
104 |
+
beautify: false,
|
105 |
+
preserveComments: 'some'
|
106 |
},
|
107 |
files: {
|
108 |
'dist/js/fontawesome-iconpicker.min.js': [
|
109 |
+
'src/js/license.js',
|
110 |
'src/js/jquery.ui.pos.js',
|
111 |
+
parsedIconPicker
|
112 |
]
|
113 |
}
|
114 |
},
|
115 |
dist: {
|
116 |
options: {
|
117 |
compress: false,
|
118 |
+
beautify: true,
|
119 |
+
preserveComments: 'some'
|
120 |
},
|
121 |
files: {
|
122 |
'dist/js/fontawesome-iconpicker.js': [
|
123 |
+
'src/js/license.js',
|
124 |
'src/js/jquery.ui.pos.js',
|
125 |
+
parsedIconPicker
|
126 |
]
|
127 |
}
|
128 |
}
|
145 |
dist: [
|
146 |
'dist/css',
|
147 |
'dist/js/*.js'
|
148 |
+
],
|
149 |
+
temp: [
|
150 |
+
tempIconsFile,
|
151 |
+
'prod/'
|
152 |
]
|
153 |
}
|
154 |
});
|
159 |
grunt.loadNpmTasks('grunt-contrib-watch');
|
160 |
grunt.loadNpmTasks('grunt-contrib-less');
|
161 |
grunt.loadNpmTasks('grunt-jsbeautifier');
|
162 |
+
grunt.loadNpmTasks('grunt-yaml');
|
163 |
+
grunt.loadNpmTasks('grunt-http-download');
|
164 |
+
grunt.loadNpmTasks('grunt-string-replace');
|
165 |
|
166 |
// Register tasks
|
167 |
grunt.registerTask('default', [
|
168 |
+
'download',
|
169 |
+
'yaml',
|
170 |
+
'string-replace',
|
171 |
+
'clean:dist',
|
172 |
'less',
|
173 |
'jsbeautifier',
|
174 |
+
'uglify',
|
175 |
+
'clean:temp'
|
176 |
]);
|
177 |
grunt.registerTask('dev', [
|
178 |
'watch'
|
vendor/mickey-kay/better-font-awesome-library/lib/fontawesome-iconpicker/README.md
CHANGED
@@ -2,11 +2,11 @@ fontawesome-iconpicker
|
|
2 |
========================
|
3 |
|
4 |
Font Awesome Icon Picker is a fully customizable plugin for Twitter Bootstrap,
|
5 |
-
with a powerful base API, based on [bootstrap-popover-picker](https://
|
6 |
|
7 |
-
You can use Font Awesome or another font icon set of your choice (icon list is totally customizable).
|
8 |
|
9 |
-
[View demos](https://
|
10 |
|
11 |
## Instantiation
|
12 |
|
@@ -49,6 +49,13 @@ In order of call:
|
|
49 |
* iconpickerDestroy
|
50 |
* iconpickerDestroyed
|
51 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
52 |
## Popover placement extensions
|
53 |
|
54 |
This plugin comes with more placement options than the original Bootstrap Popover.
|
@@ -59,7 +66,7 @@ Here are all the possibilities in detail:
|
|
59 |
F 7
|
60 |
E 8
|
61 |
D C B A 9
|
62 |
-
|
63 |
0. inline (no placement, display as inline-block)
|
64 |
1. topLeftCorner
|
65 |
2. topLeft
|
@@ -82,7 +89,7 @@ Here are all the possibilities in detail:
|
|
82 |
## Available options
|
83 |
|
84 |
```javascript
|
85 |
-
var
|
86 |
title: false, // Popover title (optional) only if specified in the template
|
87 |
selected: false, // use this value as the current item and ignore the original
|
88 |
defaultValue: false, // use this value as the current item if input or element value is empty
|
@@ -95,7 +102,7 @@ var defaults = {
|
|
95 |
searchInFooter: false, // If true, the search will be added to the footer instead of the title
|
96 |
mustAccept: false, // only applicable when there's an iconpicker-btn-accept button in the popover footer
|
97 |
selectedCustomClass: 'bg-primary', // Appends this class when to the selected item
|
98 |
-
icons: [], // list of icon
|
99 |
fullClassFormatter: function(val) {
|
100 |
return 'fa ' + val;
|
101 |
},
|
@@ -116,13 +123,3 @@ var defaults = {
|
|
116 |
}
|
117 |
};
|
118 |
```
|
119 |
-
|
120 |
-
## TO-DO
|
121 |
-
- [x] Support other icon fonts
|
122 |
-
- [x] Fix: input marked as error when it is empty
|
123 |
-
- [x] Add role=button to each item, for making them tabbable
|
124 |
-
- [x] Ability to use the user input as the filter instead of the popover input
|
125 |
-
- [x] Fix bottomRight position when using component mode
|
126 |
-
- [x] Better dropdown compatibility
|
127 |
-
- [x] Ability to mix various class prefixes and use a customizable class formatter function
|
128 |
-
- [ ] ~~Ability to select and copy the icon character (the would need to be hardcoded in js)~~ (Use the chrome extension)
|
2 |
========================
|
3 |
|
4 |
Font Awesome Icon Picker is a fully customizable plugin for Twitter Bootstrap,
|
5 |
+
with a powerful base API, based on [bootstrap-popover-picker](https://farbelous.github.io/bootstrap-popover-picker/)
|
6 |
|
7 |
+
You can use Font Awesome 5 or another font icon set of your choice (icon list is totally customizable).
|
8 |
|
9 |
+
[View demos](https://farbelous.github.io/fontawesome-iconpicker/)
|
10 |
|
11 |
## Instantiation
|
12 |
|
49 |
* iconpickerDestroy
|
50 |
* iconpickerDestroyed
|
51 |
|
52 |
+
```javascript
|
53 |
+
// Bind iconpicker events to the element
|
54 |
+
$('.my').on('iconpickerSelected', function(event){
|
55 |
+
/* event.iconpickerValue */
|
56 |
+
});
|
57 |
+
```
|
58 |
+
|
59 |
## Popover placement extensions
|
60 |
|
61 |
This plugin comes with more placement options than the original Bootstrap Popover.
|
66 |
F 7
|
67 |
E 8
|
68 |
D C B A 9
|
69 |
+
|
70 |
0. inline (no placement, display as inline-block)
|
71 |
1. topLeftCorner
|
72 |
2. topLeft
|
89 |
## Available options
|
90 |
|
91 |
```javascript
|
92 |
+
var options = {
|
93 |
title: false, // Popover title (optional) only if specified in the template
|
94 |
selected: false, // use this value as the current item and ignore the original
|
95 |
defaultValue: false, // use this value as the current item if input or element value is empty
|
102 |
searchInFooter: false, // If true, the search will be added to the footer instead of the title
|
103 |
mustAccept: false, // only applicable when there's an iconpicker-btn-accept button in the popover footer
|
104 |
selectedCustomClass: 'bg-primary', // Appends this class when to the selected item
|
105 |
+
icons: [], // list of icon objects [{title:String, searchTerms:String}]. By default, all Font Awesome icons are included.
|
106 |
fullClassFormatter: function(val) {
|
107 |
return 'fa ' + val;
|
108 |
},
|
123 |
}
|
124 |
};
|
125 |
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/mickey-kay/better-font-awesome-library/lib/fontawesome-iconpicker/dist/css/fontawesome-iconpicker.css
CHANGED
@@ -1,28 +1,10 @@
|
|
1 |
/*!
|
2 |
* Font Awesome Icon Picker
|
3 |
-
* https://
|
4 |
*
|
5 |
* Originally written by (c) 2016 Javi Aguilar
|
6 |
* Licensed under the MIT License
|
7 |
-
* https://github.com/
|
8 |
-
*
|
9 |
-
*/
|
10 |
-
/*
|
11 |
-
* Font Awesome Icon Picker
|
12 |
-
* https://itsjavi.com/fontawesome-iconpicker/
|
13 |
-
*
|
14 |
-
* Originally written by (c) 2016 Javi Aguilar
|
15 |
-
* Licensed under the MIT License
|
16 |
-
* https://github.com/itsjavi/fontawesome-iconpicker/blob/master/LICENSE
|
17 |
-
*
|
18 |
-
*/
|
19 |
-
/*
|
20 |
-
* Font Awesome Icon Picker
|
21 |
-
* https://itsjavi.com/fontawesome-iconpicker/
|
22 |
-
*
|
23 |
-
* Originally written by (c) 2016 Javi Aguilar
|
24 |
-
* Licensed under the MIT License
|
25 |
-
* https://github.com/itsjavi/fontawesome-iconpicker/blob/master/LICENSE
|
26 |
*
|
27 |
*/
|
28 |
.iconpicker-popover.popover {
|
@@ -33,8 +15,9 @@
|
|
33 |
max-width: none;
|
34 |
padding: 1px;
|
35 |
text-align: left;
|
36 |
-
width:
|
37 |
background: #f7f7f7;
|
|
|
38 |
}
|
39 |
.iconpicker-popover.popover.top,
|
40 |
.iconpicker-popover.popover.topLeftCorner,
|
@@ -123,7 +106,7 @@
|
|
123 |
}
|
124 |
.iconpicker-popover .popover-footer input[type=search].iconpicker-search {
|
125 |
/*width:auto;
|
126 |
-
|
127 |
margin-bottom: 12px;
|
128 |
}
|
129 |
.iconpicker-popover.popover > .arrow,
|
@@ -310,11 +293,11 @@
|
|
310 |
box-shadow: 0 0 0 1px #dddddd;
|
311 |
color: inherit;
|
312 |
/*&:nth-child(4n+4) {
|
313 |
-
|
314 |
-
|
315 |
-
|
316 |
-
|
317 |
-
|
318 |
}
|
319 |
.iconpicker .iconpicker-item:hover:not(.iconpicker-selected) {
|
320 |
background-color: #eeeeee;
|
@@ -322,6 +305,7 @@
|
|
322 |
.iconpicker .iconpicker-item.iconpicker-selected {
|
323 |
box-shadow: none;
|
324 |
color: #fff;
|
|
|
325 |
}
|
326 |
.iconpicker-component {
|
327 |
cursor: pointer;
|
1 |
/*!
|
2 |
* Font Awesome Icon Picker
|
3 |
+
* https://farbelous.github.io/fontawesome-iconpicker/
|
4 |
*
|
5 |
* Originally written by (c) 2016 Javi Aguilar
|
6 |
* Licensed under the MIT License
|
7 |
+
* https://github.com/farbelous/fontawesome-iconpicker/blob/master/LICENSE
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
*
|
9 |
*/
|
10 |
.iconpicker-popover.popover {
|
15 |
max-width: none;
|
16 |
padding: 1px;
|
17 |
text-align: left;
|
18 |
+
width: 234px;
|
19 |
background: #f7f7f7;
|
20 |
+
z-index: 9;
|
21 |
}
|
22 |
.iconpicker-popover.popover.top,
|
23 |
.iconpicker-popover.popover.topLeftCorner,
|
106 |
}
|
107 |
.iconpicker-popover .popover-footer input[type=search].iconpicker-search {
|
108 |
/*width:auto;
|
109 |
+
float:left;*/
|
110 |
margin-bottom: 12px;
|
111 |
}
|
112 |
.iconpicker-popover.popover > .arrow,
|
293 |
box-shadow: 0 0 0 1px #dddddd;
|
294 |
color: inherit;
|
295 |
/*&:nth-child(4n+4) {
|
296 |
+
margin-right: 0;
|
297 |
+
}
|
298 |
+
&:nth-last-child(-n+4) {
|
299 |
+
margin-bottom: 0;
|
300 |
+
}*/
|
301 |
}
|
302 |
.iconpicker .iconpicker-item:hover:not(.iconpicker-selected) {
|
303 |
background-color: #eeeeee;
|
305 |
.iconpicker .iconpicker-item.iconpicker-selected {
|
306 |
box-shadow: none;
|
307 |
color: #fff;
|
308 |
+
background: #000;
|
309 |
}
|
310 |
.iconpicker-component {
|
311 |
cursor: pointer;
|
vendor/mickey-kay/better-font-awesome-library/lib/fontawesome-iconpicker/dist/css/fontawesome-iconpicker.min.css
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
/*!
|
2 |
* Font Awesome Icon Picker
|
3 |
-
* https://
|
4 |
*
|
5 |
* Originally written by (c) 2016 Javi Aguilar
|
6 |
* Licensed under the MIT License
|
7 |
-
* https://github.com/
|
8 |
*
|
9 |
-
*/.iconpicker-popover.popover{position:absolute;top:0;left:0;display:none;max-width:none;padding:1px;text-align:left;width:
|
1 |
/*!
|
2 |
* Font Awesome Icon Picker
|
3 |
+
* https://farbelous.github.io/fontawesome-iconpicker/
|
4 |
*
|
5 |
* Originally written by (c) 2016 Javi Aguilar
|
6 |
* Licensed under the MIT License
|
7 |
+
* https://github.com/farbelous/fontawesome-iconpicker/blob/master/LICENSE
|
8 |
*
|
9 |
+
*/.iconpicker-popover.popover{position:absolute;top:0;left:0;display:none;max-width:none;padding:1px;text-align:left;width:234px;background:#f7f7f7;z-index:9}.iconpicker-popover.popover.top,.iconpicker-popover.popover.topLeftCorner,.iconpicker-popover.popover.topLeft,.iconpicker-popover.popover.topRight,.iconpicker-popover.popover.topRightCorner{margin-top:-10px}.iconpicker-popover.popover.right,.iconpicker-popover.popover.rightTop,.iconpicker-popover.popover.rightBottom{margin-left:10px}.iconpicker-popover.popover.bottom,.iconpicker-popover.popover.bottomRightCorner,.iconpicker-popover.popover.bottomRight,.iconpicker-popover.popover.bottomLeft,.iconpicker-popover.popover.bottomLeftCorner{margin-top:10px}.iconpicker-popover.popover.left,.iconpicker-popover.popover.leftBottom,.iconpicker-popover.popover.leftTop{margin-left:-10px}.iconpicker-popover.popover.inline{margin:0 0 12px 0;position:relative;display:inline-block;opacity:1;top:auto;left:auto;bottom:auto;right:auto;max-width:100%;box-shadow:none;z-index:auto;vertical-align:top}.iconpicker-popover.popover.inline>.arrow{display:none}.dropdown-menu .iconpicker-popover.inline{margin:0;border:none}.dropdown-menu.iconpicker-container{padding:0}.iconpicker-popover.popover .popover-title{padding:12px;font-size:13px;line-height:15px;border-bottom:1px solid #ebebeb;background-color:#f7f7f7}.iconpicker-popover.popover .popover-title input[type=search].iconpicker-search{margin:0 0 2px 0}.iconpicker-popover.popover .popover-title-text~input[type=search].iconpicker-search{margin-top:12px}.iconpicker-popover.popover .popover-content{padding:0px;text-align:center}.iconpicker-popover .popover-footer{float:none;clear:both;padding:12px;text-align:right;margin:0;border-top:1px solid #ebebeb;background-color:#f7f7f7}.iconpicker-popover .popover-footer:before,.iconpicker-popover .popover-footer:after{content:" ";display:table}.iconpicker-popover .popover-footer:after{clear:both}.iconpicker-popover .popover-footer .iconpicker-btn{margin-left:10px}.iconpicker-popover .popover-footer input[type=search].iconpicker-search{margin-bottom:12px}.iconpicker-popover.popover>.arrow,.iconpicker-popover.popover>.arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.iconpicker-popover.popover>.arrow{border-width:11px}.iconpicker-popover.popover>.arrow:after{border-width:10px;content:""}.iconpicker-popover.popover.top>.arrow,.iconpicker-popover.popover.topLeft>.arrow,.iconpicker-popover.popover.topRight>.arrow{left:50%;margin-left:-11px;border-bottom-width:0;border-top-color:#999;border-top-color:rgba(0,0,0,0.25);bottom:-11px}.iconpicker-popover.popover.top>.arrow:after,.iconpicker-popover.popover.topLeft>.arrow:after,.iconpicker-popover.popover.topRight>.arrow:after{content:" ";bottom:1px;margin-left:-10px;border-bottom-width:0;border-top-color:#fff}.iconpicker-popover.popover.topLeft>.arrow{left:8px;margin-left:0}.iconpicker-popover.popover.topRight>.arrow{left:auto;right:8px;margin-left:0}.iconpicker-popover.popover.right>.arrow,.iconpicker-popover.popover.rightTop>.arrow,.iconpicker-popover.popover.rightBottom>.arrow{top:50%;left:-11px;margin-top:-11px;border-left-width:0;border-right-color:#999;border-right-color:rgba(0,0,0,0.25)}.iconpicker-popover.popover.right>.arrow:after,.iconpicker-popover.popover.rightTop>.arrow:after,.iconpicker-popover.popover.rightBottom>.arrow:after{content:" ";left:1px;bottom:-10px;border-left-width:0;border-right-color:#fff}.iconpicker-popover.popover.rightTop>.arrow{top:auto;bottom:8px;margin-top:0}.iconpicker-popover.popover.rightBottom>.arrow{top:8px;margin-top:0}.iconpicker-popover.popover.bottom>.arrow,.iconpicker-popover.popover.bottomRight>.arrow,.iconpicker-popover.popover.bottomLeft>.arrow{left:50%;margin-left:-11px;border-top-width:0;border-bottom-color:#999;border-bottom-color:rgba(0,0,0,0.25);top:-11px}.iconpicker-popover.popover.bottom>.arrow:after,.iconpicker-popover.popover.bottomRight>.arrow:after,.iconpicker-popover.popover.bottomLeft>.arrow:after{content:" ";top:1px;margin-left:-10px;border-top-width:0;border-bottom-color:#fff}.iconpicker-popover.popover.bottomLeft>.arrow{left:8px;margin-left:0}.iconpicker-popover.popover.bottomRight>.arrow{left:auto;right:8px;margin-left:0}.iconpicker-popover.popover.left>.arrow,.iconpicker-popover.popover.leftBottom>.arrow,.iconpicker-popover.popover.leftTop>.arrow{top:50%;right:-11px;margin-top:-11px;border-right-width:0;border-left-color:#999;border-left-color:rgba(0,0,0,0.25)}.iconpicker-popover.popover.left>.arrow:after,.iconpicker-popover.popover.leftBottom>.arrow:after,.iconpicker-popover.popover.leftTop>.arrow:after{content:" ";right:1px;border-right-width:0;border-left-color:#fff;bottom:-10px}.iconpicker-popover.popover.leftBottom>.arrow{top:8px;margin-top:0}.iconpicker-popover.popover.leftTop>.arrow{top:auto;bottom:8px;margin-top:0}.iconpicker{position:relative;text-align:left;text-shadow:none;line-height:0;display:block;margin:0;overflow:hidden}.iconpicker *{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;position:relative}.iconpicker:before,.iconpicker:after{content:" ";display:table}.iconpicker:after{clear:both}.iconpicker .iconpicker-items{position:relative;clear:both;float:none;padding:12px 0 0 12px;background:#fff;margin:0;overflow:hidden;overflow-y:auto;min-height:49px;max-height:246px}.iconpicker .iconpicker-items:before,.iconpicker .iconpicker-items:after{content:" ";display:table}.iconpicker .iconpicker-items:after{clear:both}.iconpicker .iconpicker-item{float:left;width:14px;height:14px;padding:12px;margin:0 12px 12px 0;text-align:center;cursor:pointer;border-radius:3px;font-size:14px;box-shadow:0 0 0 1px #ddd;color:inherit}.iconpicker .iconpicker-item:hover:not(.iconpicker-selected){background-color:#eee}.iconpicker .iconpicker-item.iconpicker-selected{box-shadow:none;color:#fff;background:#000}.iconpicker-component{cursor:pointer}
|
vendor/mickey-kay/better-font-awesome-library/lib/fontawesome-iconpicker/dist/js/fontawesome-iconpicker.js
CHANGED
@@ -1,350 +1,375 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
}
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
21 |
}
|
22 |
-
|
23 |
-
return
|
24 |
-
width: b.width(),
|
25 |
-
height: b.height(),
|
26 |
-
offset: {
|
27 |
-
top: b.scrollTop(),
|
28 |
-
left: b.scrollLeft()
|
29 |
-
}
|
30 |
-
};
|
31 |
}
|
32 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
return {
|
34 |
-
width:
|
35 |
-
height:
|
36 |
-
offset:
|
37 |
-
top: c.pageY,
|
38 |
-
left: c.pageX
|
39 |
-
}
|
40 |
};
|
41 |
}
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
46 |
};
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
if (c !== b) {
|
51 |
-
return c;
|
52 |
}
|
53 |
-
|
54 |
-
a("
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
if (d === e) {
|
59 |
-
e = f[0].clientWidth;
|
60 |
}
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
};
|
70 |
-
},
|
71 |
-
getWithinInfo: function(b) {
|
72 |
-
var c = a(b || window), d = a.isWindow(c[0]), e = !!c[0] && c[0].nodeType === 9;
|
73 |
-
return {
|
74 |
-
element: c,
|
75 |
-
isWindow: d,
|
76 |
-
isDocument: e,
|
77 |
-
offset: c.offset() || {
|
78 |
-
left: 0,
|
79 |
-
top: 0
|
80 |
-
},
|
81 |
-
scrollLeft: c.scrollLeft(),
|
82 |
-
scrollTop: c.scrollTop(),
|
83 |
-
width: d ? c.width() : c.outerWidth(),
|
84 |
-
height: d ? c.height() : c.outerHeight()
|
85 |
-
};
|
86 |
-
}
|
87 |
-
};
|
88 |
-
a.fn.pos = function(b) {
|
89 |
-
if (!b || !b.of) {
|
90 |
-
return l.apply(this, arguments);
|
91 |
-
}
|
92 |
-
b = a.extend({}, b);
|
93 |
-
var c, k, p, q, r, s, t = a(b.of), u = a.pos.getWithinInfo(b.within), v = a.pos.getScrollInfo(u), w = (b.collision || "flip").split(" "), x = {};
|
94 |
-
s = o(t);
|
95 |
-
if (t[0].preventDefault) {
|
96 |
-
b.at = "left top";
|
97 |
-
}
|
98 |
-
k = s.width;
|
99 |
-
p = s.height;
|
100 |
-
q = s.offset;
|
101 |
-
r = a.extend({}, q);
|
102 |
-
a.each([ "my", "at" ], function() {
|
103 |
-
var a = (b[this] || "").split(" "), c, d;
|
104 |
-
if (a.length === 1) {
|
105 |
-
a = g.test(a[0]) ? a.concat([ "center" ]) : h.test(a[0]) ? [ "center" ].concat(a) : [ "center", "center" ];
|
106 |
-
}
|
107 |
-
a[0] = g.test(a[0]) ? a[0] : "center";
|
108 |
-
a[1] = h.test(a[1]) ? a[1] : "center";
|
109 |
-
c = i.exec(a[0]);
|
110 |
-
d = i.exec(a[1]);
|
111 |
-
x[this] = [ c ? c[0] : 0, d ? d[0] : 0 ];
|
112 |
-
b[this] = [ j.exec(a[0])[0], j.exec(a[1])[0] ];
|
113 |
-
});
|
114 |
-
if (w.length === 1) {
|
115 |
-
w[1] = w[0];
|
116 |
-
}
|
117 |
-
if (b.at[0] === "right") {
|
118 |
-
r.left += k;
|
119 |
-
} else if (b.at[0] === "center") {
|
120 |
-
r.left += k / 2;
|
121 |
-
}
|
122 |
-
if (b.at[1] === "bottom") {
|
123 |
-
r.top += p;
|
124 |
-
} else if (b.at[1] === "center") {
|
125 |
-
r.top += p / 2;
|
126 |
-
}
|
127 |
-
c = m(x.at, k, p);
|
128 |
-
r.left += c[0];
|
129 |
-
r.top += c[1];
|
130 |
-
return this.each(function() {
|
131 |
-
var g, h, i = a(this), j = i.outerWidth(), l = i.outerHeight(), o = n(this, "marginLeft"), s = n(this, "marginTop"), y = j + o + n(this, "marginRight") + v.width, z = l + s + n(this, "marginBottom") + v.height, A = a.extend({}, r), B = m(x.my, i.outerWidth(), i.outerHeight());
|
132 |
-
if (b.my[0] === "right") {
|
133 |
-
A.left -= j;
|
134 |
-
} else if (b.my[0] === "center") {
|
135 |
-
A.left -= j / 2;
|
136 |
-
}
|
137 |
-
if (b.my[1] === "bottom") {
|
138 |
-
A.top -= l;
|
139 |
-
} else if (b.my[1] === "center") {
|
140 |
-
A.top -= l / 2;
|
141 |
-
}
|
142 |
-
A.left += B[0];
|
143 |
-
A.top += B[1];
|
144 |
-
if (!a.support.offsetFractions) {
|
145 |
-
A.left = f(A.left);
|
146 |
-
A.top = f(A.top);
|
147 |
-
}
|
148 |
-
g = {
|
149 |
-
marginLeft: o,
|
150 |
-
marginTop: s
|
151 |
-
};
|
152 |
-
a.each([ "left", "top" ], function(d, e) {
|
153 |
-
if (a.ui.pos[w[d]]) {
|
154 |
-
a.ui.pos[w[d]][e](A, {
|
155 |
-
targetWidth: k,
|
156 |
-
targetHeight: p,
|
157 |
-
elemWidth: j,
|
158 |
-
elemHeight: l,
|
159 |
-
collisionPosition: g,
|
160 |
-
collisionWidth: y,
|
161 |
-
collisionHeight: z,
|
162 |
-
offset: [ c[0] + B[0], c[1] + B[1] ],
|
163 |
-
my: b.my,
|
164 |
-
at: b.at,
|
165 |
-
within: u,
|
166 |
-
elem: i
|
167 |
-
});
|
168 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
169 |
});
|
170 |
-
if (
|
171 |
-
|
172 |
-
var c = q.left - A.left, f = c + k - j, g = q.top - A.top, h = g + p - l, m = {
|
173 |
-
target: {
|
174 |
-
element: t,
|
175 |
-
left: q.left,
|
176 |
-
top: q.top,
|
177 |
-
width: k,
|
178 |
-
height: p
|
179 |
-
},
|
180 |
-
element: {
|
181 |
-
element: i,
|
182 |
-
left: A.left,
|
183 |
-
top: A.top,
|
184 |
-
width: j,
|
185 |
-
height: l
|
186 |
-
},
|
187 |
-
horizontal: f < 0 ? "left" : c > 0 ? "right" : "center",
|
188 |
-
vertical: h < 0 ? "top" : g > 0 ? "bottom" : "middle"
|
189 |
-
};
|
190 |
-
if (k < j && e(c + f) < k) {
|
191 |
-
m.horizontal = "center";
|
192 |
-
}
|
193 |
-
if (p < l && e(g + h) < p) {
|
194 |
-
m.vertical = "middle";
|
195 |
-
}
|
196 |
-
if (d(e(c), e(f)) > d(e(g), e(h))) {
|
197 |
-
m.important = "horizontal";
|
198 |
-
} else {
|
199 |
-
m.important = "vertical";
|
200 |
-
}
|
201 |
-
b.using.call(this, a, m);
|
202 |
-
};
|
203 |
}
|
204 |
-
|
205 |
-
|
206 |
-
})
|
207 |
-
|
208 |
-
};
|
209 |
-
a.ui.pos = {
|
210 |
-
_trigger: function(a, b, c, d) {
|
211 |
-
if (b.elem) {
|
212 |
-
b.elem.trigger({
|
213 |
-
type: c,
|
214 |
-
position: a,
|
215 |
-
positionData: b,
|
216 |
-
triggered: d
|
217 |
-
});
|
218 |
}
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
|
232 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
233 |
} else {
|
234 |
-
|
235 |
}
|
236 |
-
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
-
|
241 |
-
}
|
242 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
243 |
}
|
244 |
-
a.ui.pos._trigger(b, c, "posCollided", "fitLeft");
|
245 |
},
|
246 |
-
|
247 |
-
|
248 |
-
|
249 |
-
|
250 |
-
if (
|
251 |
-
|
252 |
-
|
253 |
-
|
254 |
-
|
255 |
-
|
256 |
-
if (i > j) {
|
257 |
-
b.top = f + g - c.collisionHeight;
|
258 |
} else {
|
259 |
-
|
|
|
|
|
|
|
|
|
260 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
261 |
}
|
262 |
-
|
263 |
-
|
264 |
-
|
265 |
-
b
|
266 |
-
|
267 |
-
|
268 |
-
|
269 |
-
|
270 |
-
|
271 |
-
|
272 |
-
|
273 |
-
|
274 |
-
|
275 |
-
|
276 |
-
|
277 |
-
|
278 |
-
|
279 |
-
|
280 |
-
}
|
281 |
-
|
282 |
-
|
283 |
-
|
284 |
-
|
|
|
285 |
}
|
|
|
286 |
}
|
287 |
-
a.ui.pos._trigger(b, c, "posCollided", "flipLeft");
|
288 |
},
|
289 |
-
|
290 |
-
|
291 |
-
|
292 |
-
|
293 |
-
|
294 |
-
|
295 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
296 |
}
|
297 |
-
|
298 |
-
|
299 |
-
|
300 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
301 |
}
|
|
|
302 |
}
|
303 |
-
a.ui.pos._trigger(b, c, "posCollided", "flipTop");
|
304 |
-
}
|
305 |
-
},
|
306 |
-
flipfit: {
|
307 |
-
left: function() {
|
308 |
-
a.ui.pos.flip.left.apply(this, arguments);
|
309 |
-
a.ui.pos.fit.left.apply(this, arguments);
|
310 |
},
|
311 |
-
|
312 |
-
|
313 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
314 |
}
|
315 |
-
}
|
316 |
-
};
|
317 |
-
(function() {
|
318 |
-
var b, c, d, e, f, g = document.getElementsByTagName("body")[0], h = document.createElement("div");
|
319 |
-
b = document.createElement(g ? "div" : "body");
|
320 |
-
d = {
|
321 |
-
visibility: "hidden",
|
322 |
-
width: 0,
|
323 |
-
height: 0,
|
324 |
-
border: 0,
|
325 |
-
margin: 0,
|
326 |
-
background: "none"
|
327 |
};
|
328 |
-
|
329 |
-
|
330 |
-
|
331 |
-
|
332 |
-
|
333 |
-
|
334 |
-
|
335 |
-
|
336 |
-
|
337 |
-
|
338 |
-
|
339 |
-
|
340 |
-
|
341 |
-
|
342 |
-
|
343 |
-
|
344 |
-
|
345 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
346 |
})();
|
347 |
-
|
|
|
348 |
|
349 |
(function(a) {
|
350 |
"use strict";
|
@@ -381,7 +406,9 @@
|
|
381 |
var c = function(d, e) {
|
382 |
this._id = c._idCounter++;
|
383 |
this.element = a(d).addClass("iconpicker-element");
|
384 |
-
this._trigger("iconpickerCreate"
|
|
|
|
|
385 |
this.options = a.extend({}, c.defaultOptions, this.element.data(), e);
|
386 |
this.options.templates = a.extend({}, c.defaultOptions.templates, this.options.templates);
|
387 |
this.options.originalPlacement = this.options.placement;
|
@@ -395,8 +422,6 @@
|
|
395 |
}
|
396 |
this.container.addClass("iconpicker-container");
|
397 |
if (this.isDropdownMenu()) {
|
398 |
-
this.options.templates.search = false;
|
399 |
-
this.options.templates.buttons = false;
|
400 |
this.options.placement = "inline";
|
401 |
}
|
402 |
this.input = this.element.is("input,textarea") ? this.element.addClass("iconpicker-input") : false;
|
@@ -428,7 +453,9 @@
|
|
428 |
if (this.isInline()) {
|
429 |
this.show();
|
430 |
}
|
431 |
-
this._trigger("iconpickerCreated"
|
|
|
|
|
432 |
};
|
433 |
c._idCounter = 0;
|
434 |
c.defaultOptions = {
|
@@ -445,7 +472,7 @@
|
|
445 |
selectedCustomClass: "bg-primary",
|
446 |
icons: [],
|
447 |
fullClassFormatter: function(a) {
|
448 |
-
return
|
449 |
},
|
450 |
input: "input,.iconpicker-input",
|
451 |
inputSearch: false,
|
@@ -530,15 +557,20 @@
|
|
530 |
if (b.options.hideOnSelect && b.options.mustAccept === false) {
|
531 |
b.hide();
|
532 |
}
|
533 |
-
c.preventDefault();
|
534 |
-
return false;
|
535 |
};
|
536 |
for (var d in this.options.icons) {
|
537 |
-
if (typeof this.options.icons[d] === "string") {
|
538 |
var e = a(this.options.templates.iconpickerItem);
|
539 |
-
e.find("i").addClass(this.options.fullClassFormatter(this.options.icons[d]));
|
540 |
-
e.data("iconpickerValue", this.options.icons[d]).on("click.iconpicker", c);
|
541 |
-
this.iconpicker.find(".iconpicker-items").append(e.attr("title", "." + this.options.icons[d]));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
542 |
}
|
543 |
}
|
544 |
this.popover.find(".popover-content").append(this.iconpicker);
|
@@ -608,12 +640,8 @@
|
|
608 |
if (!c._isEventInsideIconpicker(a) && !c.isInline()) {
|
609 |
c.hide();
|
610 |
}
|
611 |
-
a.stopPropagation();
|
612 |
-
a.preventDefault();
|
613 |
-
return false;
|
614 |
});
|
615 |
}
|
616 |
-
return false;
|
617 |
},
|
618 |
_unbindElementEvents: function() {
|
619 |
this.popover.off(".iconpicker");
|
@@ -821,7 +849,14 @@
|
|
821 |
}
|
822 |
var d = c === "";
|
823 |
c = a.trim(c);
|
824 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
825 |
return c;
|
826 |
}
|
827 |
return false;
|
@@ -910,13 +945,15 @@
|
|
910 |
this.iconpicker.find(".iconpicker-item").each(function() {
|
911 |
var b = a(this);
|
912 |
var e = b.attr("title").toLowerCase();
|
913 |
-
var f =
|
|
|
|
|
914 |
try {
|
915 |
-
|
916 |
} catch (a) {
|
917 |
-
|
918 |
}
|
919 |
-
if (
|
920 |
d.push(b);
|
921 |
b.show();
|
922 |
} else {
|
@@ -931,25 +968,33 @@
|
|
931 |
return false;
|
932 |
}
|
933 |
a.iconpicker.batch(a(".iconpicker-popover.in:not(.inline)").not(this.popover), "hide");
|
934 |
-
this._trigger("iconpickerShow"
|
|
|
|
|
935 |
this.updatePlacement();
|
936 |
this.popover.addClass("in");
|
937 |
setTimeout(a.proxy(function() {
|
938 |
this.popover.css("display", this.isInline() ? "" : "block");
|
939 |
-
this._trigger("iconpickerShown"
|
|
|
|
|
940 |
}, this), this.options.animation ? 300 : 1);
|
941 |
},
|
942 |
hide: function() {
|
943 |
if (!this.popover.hasClass("in")) {
|
944 |
return false;
|
945 |
}
|
946 |
-
this._trigger("iconpickerHide"
|
|
|
|
|
947 |
this.popover.removeClass("in");
|
948 |
setTimeout(a.proxy(function() {
|
949 |
this.popover.css("display", "none");
|
950 |
this.getSearchInput().val("");
|
951 |
this.filter("");
|
952 |
-
this._trigger("iconpickerHidden"
|
|
|
|
|
953 |
}, this), this.options.animation ? 300 : 1);
|
954 |
},
|
955 |
toggle: function() {
|
@@ -961,7 +1006,9 @@
|
|
961 |
},
|
962 |
update: function(a, b) {
|
963 |
a = a ? a : this.getSourceValue(this.iconpickerValue);
|
964 |
-
this._trigger("iconpickerUpdate"
|
|
|
|
|
965 |
if (b === true) {
|
966 |
a = this.setValue(a);
|
967 |
} else {
|
@@ -971,16 +1018,22 @@
|
|
971 |
if (a !== false) {
|
972 |
this._updateComponents();
|
973 |
}
|
974 |
-
this._trigger("iconpickerUpdated"
|
|
|
|
|
975 |
return a;
|
976 |
},
|
977 |
destroy: function() {
|
978 |
-
this._trigger("iconpickerDestroy"
|
|
|
|
|
979 |
this.element.removeData("iconpicker").removeData("iconpickerValue").removeClass("iconpicker-element");
|
980 |
this._unbindElementEvents();
|
981 |
this._unbindWindowEvents();
|
982 |
a(this.popover).remove();
|
983 |
-
this._trigger("iconpickerDestroyed"
|
|
|
|
|
984 |
},
|
985 |
disable: function() {
|
986 |
if (this.hasInput()) {
|
@@ -1015,5 +1068,2845 @@
|
|
1015 |
}
|
1016 |
});
|
1017 |
};
|
1018 |
-
c.defaultOptions.icons = [ "fa-500px", "fa-address-book", "fa-address-book-o", "fa-address-card", "fa-address-card-o", "fa-adjust", "fa-adn", "fa-align-center", "fa-align-justify", "fa-align-left", "fa-align-right", "fa-amazon", "fa-ambulance", "fa-american-sign-language-interpreting", "fa-anchor", "fa-android", "fa-angellist", "fa-angle-double-down", "fa-angle-double-left", "fa-angle-double-right", "fa-angle-double-up", "fa-angle-down", "fa-angle-left", "fa-angle-right", "fa-angle-up", "fa-apple", "fa-archive", "fa-area-chart", "fa-arrow-circle-down", "fa-arrow-circle-left", "fa-arrow-circle-o-down", "fa-arrow-circle-o-left", "fa-arrow-circle-o-right", "fa-arrow-circle-o-up", "fa-arrow-circle-right", "fa-arrow-circle-up", "fa-arrow-down", "fa-arrow-left", "fa-arrow-right", "fa-arrow-up", "fa-arrows", "fa-arrows-alt", "fa-arrows-h", "fa-arrows-v", "fa-asl-interpreting", "fa-assistive-listening-systems", "fa-asterisk", "fa-at", "fa-audio-description", "fa-automobile", "fa-backward", "fa-balance-scale", "fa-ban", "fa-bandcamp", "fa-bank", "fa-bar-chart", "fa-bar-chart-o", "fa-barcode", "fa-bars", "fa-bath", "fa-bathtub", "fa-battery", "fa-battery-0", "fa-battery-1", "fa-battery-2", "fa-battery-3", "fa-battery-4", "fa-battery-empty", "fa-battery-full", "fa-battery-half", "fa-battery-quarter", "fa-battery-three-quarters", "fa-bed", "fa-beer", "fa-behance", "fa-behance-square", "fa-bell", "fa-bell-o", "fa-bell-slash", "fa-bell-slash-o", "fa-bicycle", "fa-binoculars", "fa-birthday-cake", "fa-bitbucket", "fa-bitbucket-square", "fa-bitcoin", "fa-black-tie", "fa-blind", "fa-bluetooth", "fa-bluetooth-b", "fa-bold", "fa-bolt", "fa-bomb", "fa-book", "fa-bookmark", "fa-bookmark-o", "fa-braille", "fa-briefcase", "fa-btc", "fa-bug", "fa-building", "fa-building-o", "fa-bullhorn", "fa-bullseye", "fa-bus", "fa-buysellads", "fa-cab", "fa-calculator", "fa-calendar", "fa-calendar-check-o", "fa-calendar-minus-o", "fa-calendar-o", "fa-calendar-plus-o", "fa-calendar-times-o", "fa-camera", "fa-camera-retro", "fa-car", "fa-caret-down", "fa-caret-left", "fa-caret-right", "fa-caret-square-o-down", "fa-caret-square-o-left", "fa-caret-square-o-right", "fa-caret-square-o-up", "fa-caret-up", "fa-cart-arrow-down", "fa-cart-plus", "fa-cc", "fa-cc-amex", "fa-cc-diners-club", "fa-cc-discover", "fa-cc-jcb", "fa-cc-mastercard", "fa-cc-paypal", "fa-cc-stripe", "fa-cc-visa", "fa-certificate", "fa-chain", "fa-chain-broken", "fa-check", "fa-check-circle", "fa-check-circle-o", "fa-check-square", "fa-check-square-o", "fa-chevron-circle-down", "fa-chevron-circle-left", "fa-chevron-circle-right", "fa-chevron-circle-up", "fa-chevron-down", "fa-chevron-left", "fa-chevron-right", "fa-chevron-up", "fa-child", "fa-chrome", "fa-circle", "fa-circle-o", "fa-circle-o-notch", "fa-circle-thin", "fa-clipboard", "fa-clock-o", "fa-clone", "fa-close", "fa-cloud", "fa-cloud-download", "fa-cloud-upload", "fa-cny", "fa-code", "fa-code-fork", "fa-codepen", "fa-codiepie", "fa-coffee", "fa-cog", "fa-cogs", "fa-columns", "fa-comment", "fa-comment-o", "fa-commenting", "fa-commenting-o", "fa-comments", "fa-comments-o", "fa-compass", "fa-compress", "fa-connectdevelop", "fa-contao", "fa-copy", "fa-copyright", "fa-creative-commons", "fa-credit-card", "fa-credit-card-alt", "fa-crop", "fa-crosshairs", "fa-css3", "fa-cube", "fa-cubes", "fa-cut", "fa-cutlery", "fa-dashboard", "fa-dashcube", "fa-database", "fa-deaf", "fa-deafness", "fa-dedent", "fa-delicious", "fa-desktop", "fa-deviantart", "fa-diamond", "fa-digg", "fa-dollar", "fa-dot-circle-o", "fa-download", "fa-dribbble", "fa-drivers-license", "fa-drivers-license-o", "fa-dropbox", "fa-drupal", "fa-edge", "fa-edit", "fa-eercast", "fa-eject", "fa-ellipsis-h", "fa-ellipsis-v", "fa-empire", "fa-envelope", "fa-envelope-o", "fa-envelope-open", "fa-envelope-open-o", "fa-envelope-square", "fa-envira", "fa-eraser", "fa-etsy", "fa-eur", "fa-euro", "fa-exchange", "fa-exclamation", "fa-exclamation-circle", "fa-exclamation-triangle", "fa-expand", "fa-expeditedssl", "fa-external-link", "fa-external-link-square", "fa-eye", "fa-eye-slash", "fa-eyedropper", "fa-fa", "fa-facebook", "fa-facebook-f", "fa-facebook-official", "fa-facebook-square", "fa-fast-backward", "fa-fast-forward", "fa-fax", "fa-feed", "fa-female", "fa-fighter-jet", "fa-file", "fa-file-archive-o", "fa-file-audio-o", "fa-file-code-o", "fa-file-excel-o", "fa-file-image-o", "fa-file-movie-o", "fa-file-o", "fa-file-pdf-o", "fa-file-photo-o", "fa-file-picture-o", "fa-file-powerpoint-o", "fa-file-sound-o", "fa-file-text", "fa-file-text-o", "fa-file-video-o", "fa-file-word-o", "fa-file-zip-o", "fa-files-o", "fa-film", "fa-filter", "fa-fire", "fa-fire-extinguisher", "fa-firefox", "fa-first-order", "fa-flag", "fa-flag-checkered", "fa-flag-o", "fa-flash", "fa-flask", "fa-flickr", "fa-floppy-o", "fa-folder", "fa-folder-o", "fa-folder-open", "fa-folder-open-o", "fa-font", "fa-font-awesome", "fa-fonticons", "fa-fort-awesome", "fa-forumbee", "fa-forward", "fa-foursquare", "fa-free-code-camp", "fa-frown-o", "fa-futbol-o", "fa-gamepad", "fa-gavel", "fa-gbp", "fa-ge", "fa-gear", "fa-gears", "fa-genderless", "fa-get-pocket", "fa-gg", "fa-gg-circle", "fa-gift", "fa-git", "fa-git-square", "fa-github", "fa-github-alt", "fa-github-square", "fa-gitlab", "fa-gittip", "fa-glass", "fa-glide", "fa-glide-g", "fa-globe", "fa-google", "fa-google-plus", "fa-google-plus-circle", "fa-google-plus-official", "fa-google-plus-square", "fa-google-wallet", "fa-graduation-cap", "fa-gratipay", "fa-grav", "fa-group", "fa-h-square", "fa-hacker-news", "fa-hand-grab-o", "fa-hand-lizard-o", "fa-hand-o-down", "fa-hand-o-left", "fa-hand-o-right", "fa-hand-o-up", "fa-hand-paper-o", "fa-hand-peace-o", "fa-hand-pointer-o", "fa-hand-rock-o", "fa-hand-scissors-o", "fa-hand-spock-o", "fa-hand-stop-o", "fa-handshake-o", "fa-hard-of-hearing", "fa-hashtag", "fa-hdd-o", "fa-header", "fa-headphones", "fa-heart", "fa-heart-o", "fa-heartbeat", "fa-history", "fa-home", "fa-hospital-o", "fa-hotel", "fa-hourglass", "fa-hourglass-1", "fa-hourglass-2", "fa-hourglass-3", "fa-hourglass-end", "fa-hourglass-half", "fa-hourglass-o", "fa-hourglass-start", "fa-houzz", "fa-html5", "fa-i-cursor", "fa-id-badge", "fa-id-card", "fa-id-card-o", "fa-ils", "fa-image", "fa-imdb", "fa-inbox", "fa-indent", "fa-industry", "fa-info", "fa-info-circle", "fa-inr", "fa-instagram", "fa-institution", "fa-internet-explorer", "fa-intersex", "fa-ioxhost", "fa-italic", "fa-joomla", "fa-jpy", "fa-jsfiddle", "fa-key", "fa-keyboard-o", "fa-krw", "fa-language", "fa-laptop", "fa-lastfm", "fa-lastfm-square", "fa-leaf", "fa-leanpub", "fa-legal", "fa-lemon-o", "fa-level-down", "fa-level-up", "fa-life-bouy", "fa-life-buoy", "fa-life-ring", "fa-life-saver", "fa-lightbulb-o", "fa-line-chart", "fa-link", "fa-linkedin", "fa-linkedin-square", "fa-linode", "fa-linux", "fa-list", "fa-list-alt", "fa-list-ol", "fa-list-ul", "fa-location-arrow", "fa-lock", "fa-long-arrow-down", "fa-long-arrow-left", "fa-long-arrow-right", "fa-long-arrow-up", "fa-low-vision", "fa-magic", "fa-magnet", "fa-mail-forward", "fa-mail-reply", "fa-mail-reply-all", "fa-male", "fa-map", "fa-map-marker", "fa-map-o", "fa-map-pin", "fa-map-signs", "fa-mars", "fa-mars-double", "fa-mars-stroke", "fa-mars-stroke-h", "fa-mars-stroke-v", "fa-maxcdn", "fa-meanpath", "fa-medium", "fa-medkit", "fa-meetup", "fa-meh-o", "fa-mercury", "fa-microchip", "fa-microphone", "fa-microphone-slash", "fa-minus", "fa-minus-circle", "fa-minus-square", "fa-minus-square-o", "fa-mixcloud", "fa-mobile", "fa-mobile-phone", "fa-modx", "fa-money", "fa-moon-o", "fa-mortar-board", "fa-motorcycle", "fa-mouse-pointer", "fa-music", "fa-navicon", "fa-neuter", "fa-newspaper-o", "fa-object-group", "fa-object-ungroup", "fa-odnoklassniki", "fa-odnoklassniki-square", "fa-opencart", "fa-openid", "fa-opera", "fa-optin-monster", "fa-outdent", "fa-pagelines", "fa-paint-brush", "fa-paper-plane", "fa-paper-plane-o", "fa-paperclip", "fa-paragraph", "fa-paste", "fa-pause", "fa-pause-circle", "fa-pause-circle-o", "fa-paw", "fa-paypal", "fa-pencil", "fa-pencil-square", "fa-pencil-square-o", "fa-percent", "fa-phone", "fa-phone-square", "fa-photo", "fa-picture-o", "fa-pie-chart", "fa-pied-piper", "fa-pied-piper-alt", "fa-pied-piper-pp", "fa-pinterest", "fa-pinterest-p", "fa-pinterest-square", "fa-plane", "fa-play", "fa-play-circle", "fa-play-circle-o", "fa-plug", "fa-plus", "fa-plus-circle", "fa-plus-square", "fa-plus-square-o", "fa-podcast", "fa-power-off", "fa-print", "fa-product-hunt", "fa-puzzle-piece", "fa-qq", "fa-qrcode", "fa-question", "fa-question-circle", "fa-question-circle-o", "fa-quora", "fa-quote-left", "fa-quote-right", "fa-ra", "fa-random", "fa-ravelry", "fa-rebel", "fa-recycle", "fa-reddit", "fa-reddit-alien", "fa-reddit-square", "fa-refresh", "fa-registered", "fa-remove", "fa-renren", "fa-reorder", "fa-repeat", "fa-reply", "fa-reply-all", "fa-resistance", "fa-retweet", "fa-rmb", "fa-road", "fa-rocket", "fa-rotate-left", "fa-rotate-right", "fa-rouble", "fa-rss", "fa-rss-square", "fa-rub", "fa-ruble", "fa-rupee", "fa-s15", "fa-safari", "fa-save", "fa-scissors", "fa-scribd", "fa-search", "fa-search-minus", "fa-search-plus", "fa-sellsy", "fa-send", "fa-send-o", "fa-server", "fa-share", "fa-share-alt", "fa-share-alt-square", "fa-share-square", "fa-share-square-o", "fa-shekel", "fa-sheqel", "fa-shield", "fa-ship", "fa-shirtsinbulk", "fa-shopping-bag", "fa-shopping-basket", "fa-shopping-cart", "fa-shower", "fa-sign-in", "fa-sign-language", "fa-sign-out", "fa-signal", "fa-signing", "fa-simplybuilt", "fa-sitemap", "fa-skyatlas", "fa-skype", "fa-slack", "fa-sliders", "fa-slideshare", "fa-smile-o", "fa-snapchat", "fa-snapchat-ghost", "fa-snapchat-square", "fa-snowflake-o", "fa-soccer-ball-o", "fa-sort", "fa-sort-alpha-asc", "fa-sort-alpha-desc", "fa-sort-amount-asc", "fa-sort-amount-desc", "fa-sort-asc", "fa-sort-desc", "fa-sort-down", "fa-sort-numeric-asc", "fa-sort-numeric-desc", "fa-sort-up", "fa-soundcloud", "fa-space-shuttle", "fa-spinner", "fa-spoon", "fa-spotify", "fa-square", "fa-square-o", "fa-stack-exchange", "fa-stack-overflow", "fa-star", "fa-star-half", "fa-star-half-empty", "fa-star-half-full", "fa-star-half-o", "fa-star-o", "fa-steam", "fa-steam-square", "fa-step-backward", "fa-step-forward", "fa-stethoscope", "fa-sticky-note", "fa-sticky-note-o", "fa-stop", "fa-stop-circle", "fa-stop-circle-o", "fa-street-view", "fa-strikethrough", "fa-stumbleupon", "fa-stumbleupon-circle", "fa-subscript", "fa-subway", "fa-suitcase", "fa-sun-o", "fa-superpowers", "fa-superscript", "fa-support", "fa-table", "fa-tablet", "fa-tachometer", "fa-tag", "fa-tags", "fa-tasks", "fa-taxi", "fa-telegram", "fa-television", "fa-tencent-weibo", "fa-terminal", "fa-text-height", "fa-text-width", "fa-th", "fa-th-large", "fa-th-list", "fa-themeisle", "fa-thermometer", "fa-thermometer-0", "fa-thermometer-1", "fa-thermometer-2", "fa-thermometer-3", "fa-thermometer-4", "fa-thermometer-empty", "fa-thermometer-full", "fa-thermometer-half", "fa-thermometer-quarter", "fa-thermometer-three-quarters", "fa-thumb-tack", "fa-thumbs-down", "fa-thumbs-o-down", "fa-thumbs-o-up", "fa-thumbs-up", "fa-ticket", "fa-times", "fa-times-circle", "fa-times-circle-o", "fa-times-rectangle", "fa-times-rectangle-o", "fa-tint", "fa-toggle-down", "fa-toggle-left", "fa-toggle-off", "fa-toggle-on", "fa-toggle-right", "fa-toggle-up", "fa-trademark", "fa-train", "fa-transgender", "fa-transgender-alt", "fa-trash", "fa-trash-o", "fa-tree", "fa-trello", "fa-tripadvisor", "fa-trophy", "fa-truck", "fa-try", "fa-tty", "fa-tumblr", "fa-tumblr-square", "fa-turkish-lira", "fa-tv", "fa-twitch", "fa-twitter", "fa-twitter-square", "fa-umbrella", "fa-underline", "fa-undo", "fa-universal-access", "fa-university", "fa-unlink", "fa-unlock", "fa-unlock-alt", "fa-unsorted", "fa-upload", "fa-usb", "fa-usd", "fa-user", "fa-user-circle", "fa-user-circle-o", "fa-user-md", "fa-user-o", "fa-user-plus", "fa-user-secret", "fa-user-times", "fa-users", "fa-vcard", "fa-vcard-o", "fa-venus", "fa-venus-double", "fa-venus-mars", "fa-viacoin", "fa-viadeo", "fa-viadeo-square", "fa-video-camera", "fa-vimeo", "fa-vimeo-square", "fa-vine", "fa-vk", "fa-volume-control-phone", "fa-volume-down", "fa-volume-off", "fa-volume-up", "fa-warning", "fa-wechat", "fa-weibo", "fa-weixin", "fa-whatsapp", "fa-wheelchair", "fa-wheelchair-alt", "fa-wifi", "fa-wikipedia-w", "fa-window-close", "fa-window-close-o", "fa-window-maximize", "fa-window-minimize", "fa-window-restore", "fa-windows", "fa-won", "fa-wordpress", "fa-wpbeginner", "fa-wpexplorer", "fa-wpforms", "fa-wrench", "fa-xing", "fa-xing-square", "fa-y-combinator", "fa-y-combinator-square", "fa-yahoo", "fa-yc", "fa-yc-square", "fa-yelp", "fa-yen", "fa-yoast", "fa-youtube", "fa-youtube-play", "fa-youtube-square" ];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1019 |
});
|
1 |
+
/*!
|
2 |
+
* Font Awesome Icon Picker
|
3 |
+
* https://farbelous.github.io/fontawesome-iconpicker/
|
4 |
+
*
|
5 |
+
* Originally written by (c) 2016 Javi Aguilar
|
6 |
+
* Licensed under the MIT License
|
7 |
+
* https://github.com/farbelous/fontawesome-iconpicker/blob/master/LICENSE
|
8 |
+
*
|
9 |
+
*/
|
10 |
+
(function(a) {
|
11 |
+
if (typeof define === "function" && define.amd) {
|
12 |
+
define([ "jquery" ], a);
|
13 |
+
} else {
|
14 |
+
a(jQuery);
|
15 |
}
|
16 |
+
})(function(a) {
|
17 |
+
a.ui = a.ui || {};
|
18 |
+
var b = a.ui.version = "1.12.1";
|
19 |
+
/*!
|
20 |
+
* jQuery UI Position 1.12.1
|
21 |
+
* http://jqueryui.com
|
22 |
+
*
|
23 |
+
* Copyright jQuery Foundation and other contributors
|
24 |
+
* Released under the MIT license.
|
25 |
+
* http://jquery.org/license
|
26 |
+
*
|
27 |
+
* http://api.jqueryui.com/position/
|
28 |
+
*/
|
29 |
+
(function() {
|
30 |
+
var b, c = Math.max, d = Math.abs, e = /left|center|right/, f = /top|center|bottom/, g = /[\+\-]\d+(\.[\d]+)?%?/, h = /^\w+/, i = /%$/, j = a.fn.pos;
|
31 |
+
function k(a, b, c) {
|
32 |
+
return [ parseFloat(a[0]) * (i.test(a[0]) ? b / 100 : 1), parseFloat(a[1]) * (i.test(a[1]) ? c / 100 : 1) ];
|
33 |
}
|
34 |
+
function l(b, c) {
|
35 |
+
return parseInt(a.css(b, c), 10) || 0;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
36 |
}
|
37 |
+
function m(b) {
|
38 |
+
var c = b[0];
|
39 |
+
if (c.nodeType === 9) {
|
40 |
+
return {
|
41 |
+
width: b.width(),
|
42 |
+
height: b.height(),
|
43 |
+
offset: {
|
44 |
+
top: 0,
|
45 |
+
left: 0
|
46 |
+
}
|
47 |
+
};
|
48 |
+
}
|
49 |
+
if (a.isWindow(c)) {
|
50 |
+
return {
|
51 |
+
width: b.width(),
|
52 |
+
height: b.height(),
|
53 |
+
offset: {
|
54 |
+
top: b.scrollTop(),
|
55 |
+
left: b.scrollLeft()
|
56 |
+
}
|
57 |
+
};
|
58 |
+
}
|
59 |
+
if (c.preventDefault) {
|
60 |
+
return {
|
61 |
+
width: 0,
|
62 |
+
height: 0,
|
63 |
+
offset: {
|
64 |
+
top: c.pageY,
|
65 |
+
left: c.pageX
|
66 |
+
}
|
67 |
+
};
|
68 |
+
}
|
69 |
return {
|
70 |
+
width: b.outerWidth(),
|
71 |
+
height: b.outerHeight(),
|
72 |
+
offset: b.offset()
|
|
|
|
|
|
|
73 |
};
|
74 |
}
|
75 |
+
a.pos = {
|
76 |
+
scrollbarWidth: function() {
|
77 |
+
if (b !== undefined) {
|
78 |
+
return b;
|
79 |
+
}
|
80 |
+
var c, d, e = a("<div " + "style='display:block;position:absolute;width:50px;height:50px;overflow:hidden;'>" + "<div style='height:100px;width:auto;'></div></div>"), f = e.children()[0];
|
81 |
+
a("body").append(e);
|
82 |
+
c = f.offsetWidth;
|
83 |
+
e.css("overflow", "scroll");
|
84 |
+
d = f.offsetWidth;
|
85 |
+
if (c === d) {
|
86 |
+
d = e[0].clientWidth;
|
87 |
+
}
|
88 |
+
e.remove();
|
89 |
+
return b = c - d;
|
90 |
+
},
|
91 |
+
getScrollInfo: function(b) {
|
92 |
+
var c = b.isWindow || b.isDocument ? "" : b.element.css("overflow-x"), d = b.isWindow || b.isDocument ? "" : b.element.css("overflow-y"), e = c === "scroll" || c === "auto" && b.width < b.element[0].scrollWidth, f = d === "scroll" || d === "auto" && b.height < b.element[0].scrollHeight;
|
93 |
+
return {
|
94 |
+
width: f ? a.pos.scrollbarWidth() : 0,
|
95 |
+
height: e ? a.pos.scrollbarWidth() : 0
|
96 |
+
};
|
97 |
+
},
|
98 |
+
getWithinInfo: function(b) {
|
99 |
+
var c = a(b || window), d = a.isWindow(c[0]), e = !!c[0] && c[0].nodeType === 9, f = !d && !e;
|
100 |
+
return {
|
101 |
+
element: c,
|
102 |
+
isWindow: d,
|
103 |
+
isDocument: e,
|
104 |
+
offset: f ? a(b).offset() : {
|
105 |
+
left: 0,
|
106 |
+
top: 0
|
107 |
+
},
|
108 |
+
scrollLeft: c.scrollLeft(),
|
109 |
+
scrollTop: c.scrollTop(),
|
110 |
+
width: c.outerWidth(),
|
111 |
+
height: c.outerHeight()
|
112 |
+
};
|
113 |
+
}
|
114 |
};
|
115 |
+
a.fn.pos = function(b) {
|
116 |
+
if (!b || !b.of) {
|
117 |
+
return j.apply(this, arguments);
|
|
|
|
|
118 |
}
|
119 |
+
b = a.extend({}, b);
|
120 |
+
var i, n, o, p, q, r, s = a(b.of), t = a.pos.getWithinInfo(b.within), u = a.pos.getScrollInfo(t), v = (b.collision || "flip").split(" "), w = {};
|
121 |
+
r = m(s);
|
122 |
+
if (s[0].preventDefault) {
|
123 |
+
b.at = "left top";
|
|
|
|
|
124 |
}
|
125 |
+
n = r.width;
|
126 |
+
o = r.height;
|
127 |
+
p = r.offset;
|
128 |
+
q = a.extend({}, p);
|
129 |
+
a.each([ "my", "at" ], function() {
|
130 |
+
var a = (b[this] || "").split(" "), c, d;
|
131 |
+
if (a.length === 1) {
|
132 |
+
a = e.test(a[0]) ? a.concat([ "center" ]) : f.test(a[0]) ? [ "center" ].concat(a) : [ "center", "center" ];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
133 |
}
|
134 |
+
a[0] = e.test(a[0]) ? a[0] : "center";
|
135 |
+
a[1] = f.test(a[1]) ? a[1] : "center";
|
136 |
+
c = g.exec(a[0]);
|
137 |
+
d = g.exec(a[1]);
|
138 |
+
w[this] = [ c ? c[0] : 0, d ? d[0] : 0 ];
|
139 |
+
b[this] = [ h.exec(a[0])[0], h.exec(a[1])[0] ];
|
140 |
});
|
141 |
+
if (v.length === 1) {
|
142 |
+
v[1] = v[0];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
143 |
}
|
144 |
+
if (b.at[0] === "right") {
|
145 |
+
q.left += n;
|
146 |
+
} else if (b.at[0] === "center") {
|
147 |
+
q.left += n / 2;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
148 |
}
|
149 |
+
if (b.at[1] === "bottom") {
|
150 |
+
q.top += o;
|
151 |
+
} else if (b.at[1] === "center") {
|
152 |
+
q.top += o / 2;
|
153 |
+
}
|
154 |
+
i = k(w.at, n, o);
|
155 |
+
q.left += i[0];
|
156 |
+
q.top += i[1];
|
157 |
+
return this.each(function() {
|
158 |
+
var e, f, g = a(this), h = g.outerWidth(), j = g.outerHeight(), m = l(this, "marginLeft"), r = l(this, "marginTop"), x = h + m + l(this, "marginRight") + u.width, y = j + r + l(this, "marginBottom") + u.height, z = a.extend({}, q), A = k(w.my, g.outerWidth(), g.outerHeight());
|
159 |
+
if (b.my[0] === "right") {
|
160 |
+
z.left -= h;
|
161 |
+
} else if (b.my[0] === "center") {
|
162 |
+
z.left -= h / 2;
|
163 |
+
}
|
164 |
+
if (b.my[1] === "bottom") {
|
165 |
+
z.top -= j;
|
166 |
+
} else if (b.my[1] === "center") {
|
167 |
+
z.top -= j / 2;
|
168 |
+
}
|
169 |
+
z.left += A[0];
|
170 |
+
z.top += A[1];
|
171 |
+
e = {
|
172 |
+
marginLeft: m,
|
173 |
+
marginTop: r
|
174 |
+
};
|
175 |
+
a.each([ "left", "top" ], function(c, d) {
|
176 |
+
if (a.ui.pos[v[c]]) {
|
177 |
+
a.ui.pos[v[c]][d](z, {
|
178 |
+
targetWidth: n,
|
179 |
+
targetHeight: o,
|
180 |
+
elemWidth: h,
|
181 |
+
elemHeight: j,
|
182 |
+
collisionPosition: e,
|
183 |
+
collisionWidth: x,
|
184 |
+
collisionHeight: y,
|
185 |
+
offset: [ i[0] + A[0], i[1] + A[1] ],
|
186 |
+
my: b.my,
|
187 |
+
at: b.at,
|
188 |
+
within: t,
|
189 |
+
elem: g
|
190 |
+
});
|
191 |
+
}
|
192 |
+
});
|
193 |
+
if (b.using) {
|
194 |
+
f = function(a) {
|
195 |
+
var e = p.left - z.left, f = e + n - h, i = p.top - z.top, k = i + o - j, l = {
|
196 |
+
target: {
|
197 |
+
element: s,
|
198 |
+
left: p.left,
|
199 |
+
top: p.top,
|
200 |
+
width: n,
|
201 |
+
height: o
|
202 |
+
},
|
203 |
+
element: {
|
204 |
+
element: g,
|
205 |
+
left: z.left,
|
206 |
+
top: z.top,
|
207 |
+
width: h,
|
208 |
+
height: j
|
209 |
+
},
|
210 |
+
horizontal: f < 0 ? "left" : e > 0 ? "right" : "center",
|
211 |
+
vertical: k < 0 ? "top" : i > 0 ? "bottom" : "middle"
|
212 |
+
};
|
213 |
+
if (n < h && d(e + f) < n) {
|
214 |
+
l.horizontal = "center";
|
215 |
+
}
|
216 |
+
if (o < j && d(i + k) < o) {
|
217 |
+
l.vertical = "middle";
|
218 |
+
}
|
219 |
+
if (c(d(e), d(f)) > c(d(i), d(k))) {
|
220 |
+
l.important = "horizontal";
|
221 |
} else {
|
222 |
+
l.important = "vertical";
|
223 |
}
|
224 |
+
b.using.call(this, a, l);
|
225 |
+
};
|
226 |
+
}
|
227 |
+
g.offset(a.extend(z, {
|
228 |
+
using: f
|
229 |
+
}));
|
230 |
+
});
|
231 |
+
};
|
232 |
+
a.ui.pos = {
|
233 |
+
_trigger: function(a, b, c, d) {
|
234 |
+
if (b.elem) {
|
235 |
+
b.elem.trigger({
|
236 |
+
type: c,
|
237 |
+
position: a,
|
238 |
+
positionData: b,
|
239 |
+
triggered: d
|
240 |
+
});
|
241 |
}
|
|
|
242 |
},
|
243 |
+
fit: {
|
244 |
+
left: function(b, d) {
|
245 |
+
a.ui.pos._trigger(b, d, "posCollide", "fitLeft");
|
246 |
+
var e = d.within, f = e.isWindow ? e.scrollLeft : e.offset.left, g = e.width, h = b.left - d.collisionPosition.marginLeft, i = f - h, j = h + d.collisionWidth - g - f, k;
|
247 |
+
if (d.collisionWidth > g) {
|
248 |
+
if (i > 0 && j <= 0) {
|
249 |
+
k = b.left + i + d.collisionWidth - g - f;
|
250 |
+
b.left += i - k;
|
251 |
+
} else if (j > 0 && i <= 0) {
|
252 |
+
b.left = f;
|
|
|
|
|
253 |
} else {
|
254 |
+
if (i > j) {
|
255 |
+
b.left = f + g - d.collisionWidth;
|
256 |
+
} else {
|
257 |
+
b.left = f;
|
258 |
+
}
|
259 |
}
|
260 |
+
} else if (i > 0) {
|
261 |
+
b.left += i;
|
262 |
+
} else if (j > 0) {
|
263 |
+
b.left -= j;
|
264 |
+
} else {
|
265 |
+
b.left = c(b.left - h, b.left);
|
266 |
}
|
267 |
+
a.ui.pos._trigger(b, d, "posCollided", "fitLeft");
|
268 |
+
},
|
269 |
+
top: function(b, d) {
|
270 |
+
a.ui.pos._trigger(b, d, "posCollide", "fitTop");
|
271 |
+
var e = d.within, f = e.isWindow ? e.scrollTop : e.offset.top, g = d.within.height, h = b.top - d.collisionPosition.marginTop, i = f - h, j = h + d.collisionHeight - g - f, k;
|
272 |
+
if (d.collisionHeight > g) {
|
273 |
+
if (i > 0 && j <= 0) {
|
274 |
+
k = b.top + i + d.collisionHeight - g - f;
|
275 |
+
b.top += i - k;
|
276 |
+
} else if (j > 0 && i <= 0) {
|
277 |
+
b.top = f;
|
278 |
+
} else {
|
279 |
+
if (i > j) {
|
280 |
+
b.top = f + g - d.collisionHeight;
|
281 |
+
} else {
|
282 |
+
b.top = f;
|
283 |
+
}
|
284 |
+
}
|
285 |
+
} else if (i > 0) {
|
286 |
+
b.top += i;
|
287 |
+
} else if (j > 0) {
|
288 |
+
b.top -= j;
|
289 |
+
} else {
|
290 |
+
b.top = c(b.top - h, b.top);
|
291 |
}
|
292 |
+
a.ui.pos._trigger(b, d, "posCollided", "fitTop");
|
293 |
}
|
|
|
294 |
},
|
295 |
+
flip: {
|
296 |
+
left: function(b, c) {
|
297 |
+
a.ui.pos._trigger(b, c, "posCollide", "flipLeft");
|
298 |
+
var e = c.within, f = e.offset.left + e.scrollLeft, g = e.width, h = e.isWindow ? e.scrollLeft : e.offset.left, i = b.left - c.collisionPosition.marginLeft, j = i - h, k = i + c.collisionWidth - g - h, l = c.my[0] === "left" ? -c.elemWidth : c.my[0] === "right" ? c.elemWidth : 0, m = c.at[0] === "left" ? c.targetWidth : c.at[0] === "right" ? -c.targetWidth : 0, n = -2 * c.offset[0], o, p;
|
299 |
+
if (j < 0) {
|
300 |
+
o = b.left + l + m + n + c.collisionWidth - g - f;
|
301 |
+
if (o < 0 || o < d(j)) {
|
302 |
+
b.left += l + m + n;
|
303 |
+
}
|
304 |
+
} else if (k > 0) {
|
305 |
+
p = b.left - c.collisionPosition.marginLeft + l + m + n - h;
|
306 |
+
if (p > 0 || d(p) < k) {
|
307 |
+
b.left += l + m + n;
|
308 |
+
}
|
309 |
}
|
310 |
+
a.ui.pos._trigger(b, c, "posCollided", "flipLeft");
|
311 |
+
},
|
312 |
+
top: function(b, c) {
|
313 |
+
a.ui.pos._trigger(b, c, "posCollide", "flipTop");
|
314 |
+
var e = c.within, f = e.offset.top + e.scrollTop, g = e.height, h = e.isWindow ? e.scrollTop : e.offset.top, i = b.top - c.collisionPosition.marginTop, j = i - h, k = i + c.collisionHeight - g - h, l = c.my[1] === "top", m = l ? -c.elemHeight : c.my[1] === "bottom" ? c.elemHeight : 0, n = c.at[1] === "top" ? c.targetHeight : c.at[1] === "bottom" ? -c.targetHeight : 0, o = -2 * c.offset[1], p, q;
|
315 |
+
if (j < 0) {
|
316 |
+
q = b.top + m + n + o + c.collisionHeight - g - f;
|
317 |
+
if (q < 0 || q < d(j)) {
|
318 |
+
b.top += m + n + o;
|
319 |
+
}
|
320 |
+
} else if (k > 0) {
|
321 |
+
p = b.top - c.collisionPosition.marginTop + m + n + o - h;
|
322 |
+
if (p > 0 || d(p) < k) {
|
323 |
+
b.top += m + n + o;
|
324 |
+
}
|
325 |
}
|
326 |
+
a.ui.pos._trigger(b, c, "posCollided", "flipTop");
|
327 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
328 |
},
|
329 |
+
flipfit: {
|
330 |
+
left: function() {
|
331 |
+
a.ui.pos.flip.left.apply(this, arguments);
|
332 |
+
a.ui.pos.fit.left.apply(this, arguments);
|
333 |
+
},
|
334 |
+
top: function() {
|
335 |
+
a.ui.pos.flip.top.apply(this, arguments);
|
336 |
+
a.ui.pos.fit.top.apply(this, arguments);
|
337 |
+
}
|
338 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
339 |
};
|
340 |
+
(function() {
|
341 |
+
var b, c, d, e, f, g = document.getElementsByTagName("body")[0], h = document.createElement("div");
|
342 |
+
b = document.createElement(g ? "div" : "body");
|
343 |
+
d = {
|
344 |
+
visibility: "hidden",
|
345 |
+
width: 0,
|
346 |
+
height: 0,
|
347 |
+
border: 0,
|
348 |
+
margin: 0,
|
349 |
+
background: "none"
|
350 |
+
};
|
351 |
+
if (g) {
|
352 |
+
a.extend(d, {
|
353 |
+
position: "absolute",
|
354 |
+
left: "-1000px",
|
355 |
+
top: "-1000px"
|
356 |
+
});
|
357 |
+
}
|
358 |
+
for (f in d) {
|
359 |
+
b.style[f] = d[f];
|
360 |
+
}
|
361 |
+
b.appendChild(h);
|
362 |
+
c = g || document.documentElement;
|
363 |
+
c.insertBefore(b, c.firstChild);
|
364 |
+
h.style.cssText = "position: absolute; left: 10.7432222px;";
|
365 |
+
e = a(h).offset().left;
|
366 |
+
a.support.offsetFractions = e > 10 && e < 11;
|
367 |
+
b.innerHTML = "";
|
368 |
+
c.removeChild(b);
|
369 |
+
})();
|
370 |
})();
|
371 |
+
var c = a.ui.position;
|
372 |
+
});
|
373 |
|
374 |
(function(a) {
|
375 |
"use strict";
|
406 |
var c = function(d, e) {
|
407 |
this._id = c._idCounter++;
|
408 |
this.element = a(d).addClass("iconpicker-element");
|
409 |
+
this._trigger("iconpickerCreate", {
|
410 |
+
iconpickerValue: this.iconpickerValue
|
411 |
+
});
|
412 |
this.options = a.extend({}, c.defaultOptions, this.element.data(), e);
|
413 |
this.options.templates = a.extend({}, c.defaultOptions.templates, this.options.templates);
|
414 |
this.options.originalPlacement = this.options.placement;
|
422 |
}
|
423 |
this.container.addClass("iconpicker-container");
|
424 |
if (this.isDropdownMenu()) {
|
|
|
|
|
425 |
this.options.placement = "inline";
|
426 |
}
|
427 |
this.input = this.element.is("input,textarea") ? this.element.addClass("iconpicker-input") : false;
|
453 |
if (this.isInline()) {
|
454 |
this.show();
|
455 |
}
|
456 |
+
this._trigger("iconpickerCreated", {
|
457 |
+
iconpickerValue: this.iconpickerValue
|
458 |
+
});
|
459 |
};
|
460 |
c._idCounter = 0;
|
461 |
c.defaultOptions = {
|
472 |
selectedCustomClass: "bg-primary",
|
473 |
icons: [],
|
474 |
fullClassFormatter: function(a) {
|
475 |
+
return a;
|
476 |
},
|
477 |
input: "input,.iconpicker-input",
|
478 |
inputSearch: false,
|
557 |
if (b.options.hideOnSelect && b.options.mustAccept === false) {
|
558 |
b.hide();
|
559 |
}
|
|
|
|
|
560 |
};
|
561 |
for (var d in this.options.icons) {
|
562 |
+
if (typeof this.options.icons[d].title === "string") {
|
563 |
var e = a(this.options.templates.iconpickerItem);
|
564 |
+
e.find("i").addClass(this.options.fullClassFormatter(this.options.icons[d].title));
|
565 |
+
e.data("iconpickerValue", this.options.icons[d].title).on("click.iconpicker", c);
|
566 |
+
this.iconpicker.find(".iconpicker-items").append(e.attr("title", "." + this.options.icons[d].title));
|
567 |
+
if (this.options.icons[d].searchTerms.length > 0) {
|
568 |
+
var f = "";
|
569 |
+
for (var g = 0; g < this.options.icons[d].searchTerms.length; g++) {
|
570 |
+
f = f + this.options.icons[d].searchTerms[g] + " ";
|
571 |
+
}
|
572 |
+
this.iconpicker.find(".iconpicker-items").append(e.attr("data-search-terms", f));
|
573 |
+
}
|
574 |
}
|
575 |
}
|
576 |
this.popover.find(".popover-content").append(this.iconpicker);
|
640 |
if (!c._isEventInsideIconpicker(a) && !c.isInline()) {
|
641 |
c.hide();
|
642 |
}
|
|
|
|
|
|
|
643 |
});
|
644 |
}
|
|
|
645 |
},
|
646 |
_unbindElementEvents: function() {
|
647 |
this.popover.off(".iconpicker");
|
849 |
}
|
850 |
var d = c === "";
|
851 |
c = a.trim(c);
|
852 |
+
var e = false;
|
853 |
+
for (var f = 0; f < this.options.icons.length; f++) {
|
854 |
+
if (this.options.icons[f].title === c) {
|
855 |
+
e = true;
|
856 |
+
break;
|
857 |
+
}
|
858 |
+
}
|
859 |
+
if (e || d) {
|
860 |
return c;
|
861 |
}
|
862 |
return false;
|
945 |
this.iconpicker.find(".iconpicker-item").each(function() {
|
946 |
var b = a(this);
|
947 |
var e = b.attr("title").toLowerCase();
|
948 |
+
var f = b.attr("data-search-terms") ? b.attr("data-search-terms").toLowerCase() : "";
|
949 |
+
e = e + " " + f;
|
950 |
+
var g = false;
|
951 |
try {
|
952 |
+
g = new RegExp("(^|\\W)" + c, "g");
|
953 |
} catch (a) {
|
954 |
+
g = false;
|
955 |
}
|
956 |
+
if (g !== false && e.match(g)) {
|
957 |
d.push(b);
|
958 |
b.show();
|
959 |
} else {
|
968 |
return false;
|
969 |
}
|
970 |
a.iconpicker.batch(a(".iconpicker-popover.in:not(.inline)").not(this.popover), "hide");
|
971 |
+
this._trigger("iconpickerShow", {
|
972 |
+
iconpickerValue: this.iconpickerValue
|
973 |
+
});
|
974 |
this.updatePlacement();
|
975 |
this.popover.addClass("in");
|
976 |
setTimeout(a.proxy(function() {
|
977 |
this.popover.css("display", this.isInline() ? "" : "block");
|
978 |
+
this._trigger("iconpickerShown", {
|
979 |
+
iconpickerValue: this.iconpickerValue
|
980 |
+
});
|
981 |
}, this), this.options.animation ? 300 : 1);
|
982 |
},
|
983 |
hide: function() {
|
984 |
if (!this.popover.hasClass("in")) {
|
985 |
return false;
|
986 |
}
|
987 |
+
this._trigger("iconpickerHide", {
|
988 |
+
iconpickerValue: this.iconpickerValue
|
989 |
+
});
|
990 |
this.popover.removeClass("in");
|
991 |
setTimeout(a.proxy(function() {
|
992 |
this.popover.css("display", "none");
|
993 |
this.getSearchInput().val("");
|
994 |
this.filter("");
|
995 |
+
this._trigger("iconpickerHidden", {
|
996 |
+
iconpickerValue: this.iconpickerValue
|
997 |
+
});
|
998 |
}, this), this.options.animation ? 300 : 1);
|
999 |
},
|
1000 |
toggle: function() {
|
1006 |
},
|
1007 |
update: function(a, b) {
|
1008 |
a = a ? a : this.getSourceValue(this.iconpickerValue);
|
1009 |
+
this._trigger("iconpickerUpdate", {
|
1010 |
+
iconpickerValue: this.iconpickerValue
|
1011 |
+
});
|
1012 |
if (b === true) {
|
1013 |
a = this.setValue(a);
|
1014 |
} else {
|
1018 |
if (a !== false) {
|
1019 |
this._updateComponents();
|
1020 |
}
|
1021 |
+
this._trigger("iconpickerUpdated", {
|
1022 |
+
iconpickerValue: this.iconpickerValue
|
1023 |
+
});
|
1024 |
return a;
|
1025 |
},
|
1026 |
destroy: function() {
|
1027 |
+
this._trigger("iconpickerDestroy", {
|
1028 |
+
iconpickerValue: this.iconpickerValue
|
1029 |
+
});
|
1030 |
this.element.removeData("iconpicker").removeData("iconpickerValue").removeClass("iconpicker-element");
|
1031 |
this._unbindElementEvents();
|
1032 |
this._unbindWindowEvents();
|
1033 |
a(this.popover).remove();
|
1034 |
+
this._trigger("iconpickerDestroyed", {
|
1035 |
+
iconpickerValue: this.iconpickerValue
|
1036 |
+
});
|
1037 |
},
|
1038 |
disable: function() {
|
1039 |
if (this.hasInput()) {
|
1068 |
}
|
1069 |
});
|
1070 |
};
|
1071 |
+
c.defaultOptions = a.extend(c.defaultOptions, {
|
1072 |
+
icons: [ {
|
1073 |
+
title: "fab fa-500px",
|
1074 |
+
searchTerms: []
|
1075 |
+
}, {
|
1076 |
+
title: "fab fa-accessible-icon",
|
1077 |
+
searchTerms: [ "accessibility", "wheelchair", "handicap", "person", "wheelchair-alt" ]
|
1078 |
+
}, {
|
1079 |
+
title: "fab fa-accusoft",
|
1080 |
+
searchTerms: []
|
1081 |
+
}, {
|
1082 |
+
title: "fas fa-address-book",
|
1083 |
+
searchTerms: []
|
1084 |
+
}, {
|
1085 |
+
title: "far fa-address-book",
|
1086 |
+
searchTerms: []
|
1087 |
+
}, {
|
1088 |
+
title: "fas fa-address-card",
|
1089 |
+
searchTerms: []
|
1090 |
+
}, {
|
1091 |
+
title: "far fa-address-card",
|
1092 |
+
searchTerms: []
|
1093 |
+
}, {
|
1094 |
+
title: "fas fa-adjust",
|
1095 |
+
searchTerms: [ "contrast" ]
|
1096 |
+
}, {
|
1097 |
+
title: "fab fa-adn",
|
1098 |
+
searchTerms: []
|
1099 |
+
}, {
|
1100 |
+
title: "fab fa-adversal",
|
1101 |
+
searchTerms: []
|
1102 |
+
}, {
|
1103 |
+
title: "fab fa-affiliatetheme",
|
1104 |
+
searchTerms: []
|
1105 |
+
}, {
|
1106 |
+
title: "fab fa-algolia",
|
1107 |
+
searchTerms: []
|
1108 |
+
}, {
|
1109 |
+
title: "fas fa-align-center",
|
1110 |
+
searchTerms: [ "middle", "text" ]
|
1111 |
+
}, {
|
1112 |
+
title: "fas fa-align-justify",
|
1113 |
+
searchTerms: [ "text" ]
|
1114 |
+
}, {
|
1115 |
+
title: "fas fa-align-left",
|
1116 |
+
searchTerms: [ "text" ]
|
1117 |
+
}, {
|
1118 |
+
title: "fas fa-align-right",
|
1119 |
+
searchTerms: [ "text" ]
|
1120 |
+
}, {
|
1121 |
+
title: "fab fa-amazon",
|
1122 |
+
searchTerms: []
|
1123 |
+
}, {
|
1124 |
+
title: "fab fa-amazon-pay",
|
1125 |
+
searchTerms: []
|
1126 |
+
}, {
|
1127 |
+
title: "fas fa-ambulance",
|
1128 |
+
searchTerms: [ "vehicle", "support", "help" ]
|
1129 |
+
}, {
|
1130 |
+
title: "fas fa-american-sign-language-interpreting",
|
1131 |
+
searchTerms: []
|
1132 |
+
}, {
|
1133 |
+
title: "fab fa-amilia",
|
1134 |
+
searchTerms: []
|
1135 |
+
}, {
|
1136 |
+
title: "fas fa-anchor",
|
1137 |
+
searchTerms: [ "link" ]
|
1138 |
+
}, {
|
1139 |
+
title: "fab fa-android",
|
1140 |
+
searchTerms: [ "robot" ]
|
1141 |
+
}, {
|
1142 |
+
title: "fab fa-angellist",
|
1143 |
+
searchTerms: []
|
1144 |
+
}, {
|
1145 |
+
title: "fas fa-angle-double-down",
|
1146 |
+
searchTerms: [ "arrows" ]
|
1147 |
+
}, {
|
1148 |
+
title: "fas fa-angle-double-left",
|
1149 |
+
searchTerms: [ "laquo", "quote", "previous", "back", "arrows" ]
|
1150 |
+
}, {
|
1151 |
+
title: "fas fa-angle-double-right",
|
1152 |
+
searchTerms: [ "raquo", "quote", "next", "forward", "arrows" ]
|
1153 |
+
}, {
|
1154 |
+
title: "fas fa-angle-double-up",
|
1155 |
+
searchTerms: [ "arrows" ]
|
1156 |
+
}, {
|
1157 |
+
title: "fas fa-angle-down",
|
1158 |
+
searchTerms: [ "arrow" ]
|
1159 |
+
}, {
|
1160 |
+
title: "fas fa-angle-left",
|
1161 |
+
searchTerms: [ "previous", "back", "arrow" ]
|
1162 |
+
}, {
|
1163 |
+
title: "fas fa-angle-right",
|
1164 |
+
searchTerms: [ "next", "forward", "arrow" ]
|
1165 |
+
}, {
|
1166 |
+
title: "fas fa-angle-up",
|
1167 |
+
searchTerms: [ "arrow" ]
|
1168 |
+
}, {
|
1169 |
+
title: "fab fa-angrycreative",
|
1170 |
+
searchTerms: []
|
1171 |
+
}, {
|
1172 |
+
title: "fab fa-angular",
|
1173 |
+
searchTerms: []
|
1174 |
+
}, {
|
1175 |
+
title: "fab fa-app-store",
|
1176 |
+
searchTerms: []
|
1177 |
+
}, {
|
1178 |
+
title: "fab fa-app-store-ios",
|
1179 |
+
searchTerms: []
|
1180 |
+
}, {
|
1181 |
+
title: "fab fa-apper",
|
1182 |
+
searchTerms: []
|
1183 |
+
}, {
|
1184 |
+
title: "fab fa-apple",
|
1185 |
+
searchTerms: [ "osx", "food" ]
|
1186 |
+
}, {
|
1187 |
+
title: "fab fa-apple-pay",
|
1188 |
+
searchTerms: []
|
1189 |
+
}, {
|
1190 |
+
title: "fas fa-archive",
|
1191 |
+
searchTerms: [ "box", "storage", "package" ]
|
1192 |
+
}, {
|
1193 |
+
title: "fas fa-arrow-alt-circle-down",
|
1194 |
+
searchTerms: [ "download", "arrow-circle-o-down" ]
|
1195 |
+
}, {
|
1196 |
+
title: "far fa-arrow-alt-circle-down",
|
1197 |
+
searchTerms: [ "download", "arrow-circle-o-down" ]
|
1198 |
+
}, {
|
1199 |
+
title: "fas fa-arrow-alt-circle-left",
|
1200 |
+
searchTerms: [ "previous", "back", "arrow-circle-o-left" ]
|
1201 |
+
}, {
|
1202 |
+
title: "far fa-arrow-alt-circle-left",
|
1203 |
+
searchTerms: [ "previous", "back", "arrow-circle-o-left" ]
|
1204 |
+
}, {
|
1205 |
+
title: "fas fa-arrow-alt-circle-right",
|
1206 |
+
searchTerms: [ "next", "forward", "arrow-circle-o-right" ]
|
1207 |
+
}, {
|
1208 |
+
title: "far fa-arrow-alt-circle-right",
|
1209 |
+
searchTerms: [ "next", "forward", "arrow-circle-o-right" ]
|
1210 |
+
}, {
|
1211 |
+
title: "fas fa-arrow-alt-circle-up",
|
1212 |
+
searchTerms: [ "arrow-circle-o-up" ]
|
1213 |
+
}, {
|
1214 |
+
title: "far fa-arrow-alt-circle-up",
|
1215 |
+
searchTerms: [ "arrow-circle-o-up" ]
|
1216 |
+
}, {
|
1217 |
+
title: "fas fa-arrow-circle-down",
|
1218 |
+
searchTerms: [ "download" ]
|
1219 |
+
}, {
|
1220 |
+
title: "fas fa-arrow-circle-left",
|
1221 |
+
searchTerms: [ "previous", "back" ]
|
1222 |
+
}, {
|
1223 |
+
title: "fas fa-arrow-circle-right",
|
1224 |
+
searchTerms: [ "next", "forward" ]
|
1225 |
+
}, {
|
1226 |
+
title: "fas fa-arrow-circle-up",
|
1227 |
+
searchTerms: []
|
1228 |
+
}, {
|
1229 |
+
title: "fas fa-arrow-down",
|
1230 |
+
searchTerms: [ "download" ]
|
1231 |
+
}, {
|
1232 |
+
title: "fas fa-arrow-left",
|
1233 |
+
searchTerms: [ "previous", "back" ]
|
1234 |
+
}, {
|
1235 |
+
title: "fas fa-arrow-right",
|
1236 |
+
searchTerms: [ "next", "forward" ]
|
1237 |
+
}, {
|
1238 |
+
title: "fas fa-arrow-up",
|
1239 |
+
searchTerms: []
|
1240 |
+
}, {
|
1241 |
+
title: "fas fa-arrows-alt",
|
1242 |
+
searchTerms: [ "expand", "enlarge", "fullscreen", "bigger", "move", "reorder", "resize", "arrow", "arrows" ]
|
1243 |
+
}, {
|
1244 |
+
title: "fas fa-arrows-alt-h",
|
1245 |
+
searchTerms: [ "resize", "arrows-h" ]
|
1246 |
+
}, {
|
1247 |
+
title: "fas fa-arrows-alt-v",
|
1248 |
+
searchTerms: [ "resize", "arrows-v" ]
|
1249 |
+
}, {
|
1250 |
+
title: "fas fa-assistive-listening-systems",
|
1251 |
+
searchTerms: []
|
1252 |
+
}, {
|
1253 |
+
title: "fas fa-asterisk",
|
1254 |
+
searchTerms: [ "details" ]
|
1255 |
+
}, {
|
1256 |
+
title: "fab fa-asymmetrik",
|
1257 |
+
searchTerms: []
|
1258 |
+
}, {
|
1259 |
+
title: "fas fa-at",
|
1260 |
+
searchTerms: [ "email", "e-mail" ]
|
1261 |
+
}, {
|
1262 |
+
title: "fab fa-audible",
|
1263 |
+
searchTerms: []
|
1264 |
+
}, {
|
1265 |
+
title: "fas fa-audio-description",
|
1266 |
+
searchTerms: []
|
1267 |
+
}, {
|
1268 |
+
title: "fab fa-autoprefixer",
|
1269 |
+
searchTerms: []
|
1270 |
+
}, {
|
1271 |
+
title: "fab fa-avianex",
|
1272 |
+
searchTerms: []
|
1273 |
+
}, {
|
1274 |
+
title: "fab fa-aviato",
|
1275 |
+
searchTerms: []
|
1276 |
+
}, {
|
1277 |
+
title: "fab fa-aws",
|
1278 |
+
searchTerms: []
|
1279 |
+
}, {
|
1280 |
+
title: "fas fa-backward",
|
1281 |
+
searchTerms: [ "rewind", "previous" ]
|
1282 |
+
}, {
|
1283 |
+
title: "fas fa-balance-scale",
|
1284 |
+
searchTerms: []
|
1285 |
+
}, {
|
1286 |
+
title: "fas fa-ban",
|
1287 |
+
searchTerms: [ "delete", "remove", "trash", "hide", "block", "stop", "abort", "cancel", "ban", "prohibit" ]
|
1288 |
+
}, {
|
1289 |
+
title: "fas fa-band-aid",
|
1290 |
+
searchTerms: [ "bandage", "ouch", "boo boo" ]
|
1291 |
+
}, {
|
1292 |
+
title: "fab fa-bandcamp",
|
1293 |
+
searchTerms: []
|
1294 |
+
}, {
|
1295 |
+
title: "fas fa-barcode",
|
1296 |
+
searchTerms: [ "scan" ]
|
1297 |
+
}, {
|
1298 |
+
title: "fas fa-bars",
|
1299 |
+
searchTerms: [ "menu", "drag", "reorder", "settings", "list", "ul", "ol", "checklist", "todo", "list", "hamburger" ]
|
1300 |
+
}, {
|
1301 |
+
title: "fas fa-baseball-ball",
|
1302 |
+
searchTerms: []
|
1303 |
+
}, {
|
1304 |
+
title: "fas fa-basketball-ball",
|
1305 |
+
searchTerms: []
|
1306 |
+
}, {
|
1307 |
+
title: "fas fa-bath",
|
1308 |
+
searchTerms: []
|
1309 |
+
}, {
|
1310 |
+
title: "fas fa-battery-empty",
|
1311 |
+
searchTerms: [ "power", "status" ]
|
1312 |
+
}, {
|
1313 |
+
title: "fas fa-battery-full",
|
1314 |
+
searchTerms: [ "power", "status" ]
|
1315 |
+
}, {
|
1316 |
+
title: "fas fa-battery-half",
|
1317 |
+
searchTerms: [ "power", "status" ]
|
1318 |
+
}, {
|
1319 |
+
title: "fas fa-battery-quarter",
|
1320 |
+
searchTerms: [ "power", "status" ]
|
1321 |
+
}, {
|
1322 |
+
title: "fas fa-battery-three-quarters",
|
1323 |
+
searchTerms: [ "power", "status" ]
|
1324 |
+
}, {
|
1325 |
+
title: "fas fa-bed",
|
1326 |
+
searchTerms: [ "travel" ]
|
1327 |
+
}, {
|
1328 |
+
title: "fas fa-beer",
|
1329 |
+
searchTerms: [ "alcohol", "stein", "drink", "mug", "bar", "liquor" ]
|
1330 |
+
}, {
|
1331 |
+
title: "fab fa-behance",
|
1332 |
+
searchTerms: []
|
1333 |
+
}, {
|
1334 |
+
title: "fab fa-behance-square",
|
1335 |
+
searchTerms: []
|
1336 |
+
}, {
|
1337 |
+
title: "fas fa-bell",
|
1338 |
+
searchTerms: [ "alert", "reminder", "notification" ]
|
1339 |
+
}, {
|
1340 |
+
title: "far fa-bell",
|
1341 |
+
searchTerms: [ "alert", "reminder", "notification" ]
|
1342 |
+
}, {
|
1343 |
+
title: "fas fa-bell-slash",
|
1344 |
+
searchTerms: []
|
1345 |
+
}, {
|
1346 |
+
title: "far fa-bell-slash",
|
1347 |
+
searchTerms: []
|
1348 |
+
}, {
|
1349 |
+
title: "fas fa-bicycle",
|
1350 |
+
searchTerms: [ "vehicle", "bike", "gears" ]
|
1351 |
+
}, {
|
1352 |
+
title: "fab fa-bimobject",
|
1353 |
+
searchTerms: []
|
1354 |
+
}, {
|
1355 |
+
title: "fas fa-binoculars",
|
1356 |
+
searchTerms: []
|
1357 |
+
}, {
|
1358 |
+
title: "fas fa-birthday-cake",
|
1359 |
+
searchTerms: []
|
1360 |
+
}, {
|
1361 |
+
title: "fab fa-bitbucket",
|
1362 |
+
searchTerms: [ "git", "bitbucket-square" ]
|
1363 |
+
}, {
|
1364 |
+
title: "fab fa-bitcoin",
|
1365 |
+
searchTerms: []
|
1366 |
+
}, {
|
1367 |
+
title: "fab fa-bity",
|
1368 |
+
searchTerms: []
|
1369 |
+
}, {
|
1370 |
+
title: "fab fa-black-tie",
|
1371 |
+
searchTerms: []
|
1372 |
+
}, {
|
1373 |
+
title: "fab fa-blackberry",
|
1374 |
+
searchTerms: []
|
1375 |
+
}, {
|
1376 |
+
title: "fas fa-blind",
|
1377 |
+
searchTerms: []
|
1378 |
+
}, {
|
1379 |
+
title: "fab fa-blogger",
|
1380 |
+
searchTerms: []
|
1381 |
+
}, {
|
1382 |
+
title: "fab fa-blogger-b",
|
1383 |
+
searchTerms: []
|
1384 |
+
}, {
|
1385 |
+
title: "fab fa-bluetooth",
|
1386 |
+
searchTerms: []
|
1387 |
+
}, {
|
1388 |
+
title: "fab fa-bluetooth-b",
|
1389 |
+
searchTerms: []
|
1390 |
+
}, {
|
1391 |
+
title: "fas fa-bold",
|
1392 |
+
searchTerms: []
|
1393 |
+
}, {
|
1394 |
+
title: "fas fa-bolt",
|
1395 |
+
searchTerms: [ "lightning", "weather" ]
|
1396 |
+
}, {
|
1397 |
+
title: "fas fa-bomb",
|
1398 |
+
searchTerms: []
|
1399 |
+
}, {
|
1400 |
+
title: "fas fa-book",
|
1401 |
+
searchTerms: [ "read", "documentation" ]
|
1402 |
+
}, {
|
1403 |
+
title: "fas fa-bookmark",
|
1404 |
+
searchTerms: [ "save" ]
|
1405 |
+
}, {
|
1406 |
+
title: "far fa-bookmark",
|
1407 |
+
searchTerms: [ "save" ]
|
1408 |
+
}, {
|
1409 |
+
title: "fas fa-bowling-ball",
|
1410 |
+
searchTerms: []
|
1411 |
+
}, {
|
1412 |
+
title: "fas fa-box",
|
1413 |
+
searchTerms: []
|
1414 |
+
}, {
|
1415 |
+
title: "fas fa-boxes",
|
1416 |
+
searchTerms: []
|
1417 |
+
}, {
|
1418 |
+
title: "fas fa-braille",
|
1419 |
+
searchTerms: []
|
1420 |
+
}, {
|
1421 |
+
title: "fas fa-briefcase",
|
1422 |
+
searchTerms: [ "work", "business", "office", "luggage", "bag" ]
|
1423 |
+
}, {
|
1424 |
+
title: "fab fa-btc",
|
1425 |
+
searchTerms: []
|
1426 |
+
}, {
|
1427 |
+
title: "fas fa-bug",
|
1428 |
+
searchTerms: [ "report", "insect" ]
|
1429 |
+
}, {
|
1430 |
+
title: "fas fa-building",
|
1431 |
+
searchTerms: [ "work", "business", "apartment", "office", "company" ]
|
1432 |
+
}, {
|
1433 |
+
title: "far fa-building",
|
1434 |
+
searchTerms: [ "work", "business", "apartment", "office", "company" ]
|
1435 |
+
}, {
|
1436 |
+
title: "fas fa-bullhorn",
|
1437 |
+
searchTerms: [ "announcement", "share", "broadcast", "louder", "megaphone" ]
|
1438 |
+
}, {
|
1439 |
+
title: "fas fa-bullseye",
|
1440 |
+
searchTerms: [ "target" ]
|
1441 |
+
}, {
|
1442 |
+
title: "fab fa-buromobelexperte",
|
1443 |
+
searchTerms: []
|
1444 |
+
}, {
|
1445 |
+
title: "fas fa-bus",
|
1446 |
+
searchTerms: [ "vehicle" ]
|
1447 |
+
}, {
|
1448 |
+
title: "fab fa-buysellads",
|
1449 |
+
searchTerms: []
|
1450 |
+
}, {
|
1451 |
+
title: "fas fa-calculator",
|
1452 |
+
searchTerms: []
|
1453 |
+
}, {
|
1454 |
+
title: "fas fa-calendar",
|
1455 |
+
searchTerms: [ "date", "time", "when", "event", "calendar-o" ]
|
1456 |
+
}, {
|
1457 |
+
title: "far fa-calendar",
|
1458 |
+
searchTerms: [ "date", "time", "when", "event", "calendar-o" ]
|
1459 |
+
}, {
|
1460 |
+
title: "fas fa-calendar-alt",
|
1461 |
+
searchTerms: [ "date", "time", "when", "event", "calendar" ]
|
1462 |
+
}, {
|
1463 |
+
title: "far fa-calendar-alt",
|
1464 |
+
searchTerms: [ "date", "time", "when", "event", "calendar" ]
|
1465 |
+
}, {
|
1466 |
+
title: "fas fa-calendar-check",
|
1467 |
+
searchTerms: [ "ok" ]
|
1468 |
+
}, {
|
1469 |
+
title: "far fa-calendar-check",
|
1470 |
+
searchTerms: [ "ok" ]
|
1471 |
+
}, {
|
1472 |
+
title: "fas fa-calendar-minus",
|
1473 |
+
searchTerms: []
|
1474 |
+
}, {
|
1475 |
+
title: "far fa-calendar-minus",
|
1476 |
+
searchTerms: []
|
1477 |
+
}, {
|
1478 |
+
title: "fas fa-calendar-plus",
|
1479 |
+
searchTerms: []
|
1480 |
+
}, {
|
1481 |
+
title: "far fa-calendar-plus",
|
1482 |
+
searchTerms: []
|
1483 |
+
}, {
|
1484 |
+
title: "fas fa-calendar-times",
|
1485 |
+
searchTerms: []
|
1486 |
+
}, {
|
1487 |
+
title: "far fa-calendar-times",
|
1488 |
+
searchTerms: []
|
1489 |
+
}, {
|
1490 |
+
title: "fas fa-camera",
|
1491 |
+
searchTerms: [ "photo", "picture", "record" ]
|
1492 |
+
}, {
|
1493 |
+
title: "fas fa-camera-retro",
|
1494 |
+
searchTerms: [ "photo", "picture", "record" ]
|
1495 |
+
}, {
|
1496 |
+
title: "fas fa-car",
|
1497 |
+
searchTerms: [ "vehicle" ]
|
1498 |
+
}, {
|
1499 |
+
title: "fas fa-caret-down",
|
1500 |
+
searchTerms: [ "more", "dropdown", "menu", "triangle down", "arrow" ]
|
1501 |
+
}, {
|
1502 |
+
title: "fas fa-caret-left",
|
1503 |
+
searchTerms: [ "previous", "back", "triangle left", "arrow" ]
|
1504 |
+
}, {
|
1505 |
+
title: "fas fa-caret-right",
|
1506 |
+
searchTerms: [ "next", "forward", "triangle right", "arrow" ]
|
1507 |
+
}, {
|
1508 |
+
title: "fas fa-caret-square-down",
|
1509 |
+
searchTerms: [ "more", "dropdown", "menu", "caret-square-o-down" ]
|
1510 |
+
}, {
|
1511 |
+
title: "far fa-caret-square-down",
|
1512 |
+
searchTerms: [ "more", "dropdown", "menu", "caret-square-o-down" ]
|
1513 |
+
}, {
|
1514 |
+
title: "fas fa-caret-square-left",
|
1515 |
+
searchTerms: [ "previous", "back", "caret-square-o-left" ]
|
1516 |
+
}, {
|
1517 |
+
title: "far fa-caret-square-left",
|
1518 |
+
searchTerms: [ "previous", "back", "caret-square-o-left" ]
|
1519 |
+
}, {
|
1520 |
+
title: "fas fa-caret-square-right",
|
1521 |
+
searchTerms: [ "next", "forward", "caret-square-o-right" ]
|
1522 |
+
}, {
|
1523 |
+
title: "far fa-caret-square-right",
|
1524 |
+
searchTerms: [ "next", "forward", "caret-square-o-right" ]
|
1525 |
+
}, {
|
1526 |
+
title: "fas fa-caret-square-up",
|
1527 |
+
searchTerms: [ "caret-square-o-up" ]
|
1528 |
+
}, {
|
1529 |
+
title: "far fa-caret-square-up",
|
1530 |
+
searchTerms: [ "caret-square-o-up" ]
|
1531 |
+
}, {
|
1532 |
+
title: "fas fa-caret-up",
|
1533 |
+
searchTerms: [ "triangle up", "arrow" ]
|
1534 |
+
}, {
|
1535 |
+
title: "fas fa-cart-arrow-down",
|
1536 |
+
searchTerms: [ "shopping" ]
|
1537 |
+
}, {
|
1538 |
+
title: "fas fa-cart-plus",
|
1539 |
+
searchTerms: [ "add", "shopping" ]
|
1540 |
+
}, {
|
1541 |
+
title: "fab fa-cc-amazon-pay",
|
1542 |
+
searchTerms: []
|
1543 |
+
}, {
|
1544 |
+
title: "fab fa-cc-amex",
|
1545 |
+
searchTerms: [ "amex" ]
|
1546 |
+
}, {
|
1547 |
+
title: "fab fa-cc-apple-pay",
|
1548 |
+
searchTerms: []
|
1549 |
+
}, {
|
1550 |
+
title: "fab fa-cc-diners-club",
|
1551 |
+
searchTerms: []
|
1552 |
+
}, {
|
1553 |
+
title: "fab fa-cc-discover",
|
1554 |
+
searchTerms: []
|
1555 |
+
}, {
|
1556 |
+
title: "fab fa-cc-jcb",
|
1557 |
+
searchTerms: []
|
1558 |
+
}, {
|
1559 |
+
title: "fab fa-cc-mastercard",
|
1560 |
+
searchTerms: []
|
1561 |
+
}, {
|
1562 |
+
title: "fab fa-cc-paypal",
|
1563 |
+
searchTerms: []
|
1564 |
+
}, {
|
1565 |
+
title: "fab fa-cc-stripe",
|
1566 |
+
searchTerms: []
|
1567 |
+
}, {
|
1568 |
+
title: "fab fa-cc-visa",
|
1569 |
+
searchTerms: []
|
1570 |
+
}, {
|
1571 |
+
title: "fab fa-centercode",
|
1572 |
+
searchTerms: []
|
1573 |
+
}, {
|
1574 |
+
title: "fas fa-certificate",
|
1575 |
+
searchTerms: [ "badge", "star" ]
|
1576 |
+
}, {
|
1577 |
+
title: "fas fa-chart-area",
|
1578 |
+
searchTerms: [ "graph", "analytics", "area-chart" ]
|
1579 |
+
}, {
|
1580 |
+
title: "fas fa-chart-bar",
|
1581 |
+
searchTerms: [ "graph", "analytics", "bar-chart" ]
|
1582 |
+
}, {
|
1583 |
+
title: "far fa-chart-bar",
|
1584 |
+
searchTerms: [ "graph", "analytics", "bar-chart" ]
|
1585 |
+
}, {
|
1586 |
+
title: "fas fa-chart-line",
|
1587 |
+
searchTerms: [ "graph", "analytics", "line-chart", "dashboard" ]
|
1588 |
+
}, {
|
1589 |
+
title: "fas fa-chart-pie",
|
1590 |
+
searchTerms: [ "graph", "analytics", "pie-chart" ]
|
1591 |
+
}, {
|
1592 |
+
title: "fas fa-check",
|
1593 |
+
searchTerms: [ "checkmark", "done", "todo", "agree", "accept", "confirm", "tick", "ok", "select" ]
|
1594 |
+
}, {
|
1595 |
+
title: "fas fa-check-circle",
|
1596 |
+
searchTerms: [ "todo", "done", "agree", "accept", "confirm", "ok", "select" ]
|
1597 |
+
}, {
|
1598 |
+
title: "far fa-check-circle",
|
1599 |
+
searchTerms: [ "todo", "done", "agree", "accept", "confirm", "ok", "select" ]
|
1600 |
+
}, {
|
1601 |
+
title: "fas fa-check-square",
|
1602 |
+
searchTerms: [ "checkmark", "done", "todo", "agree", "accept", "confirm", "ok", "select" ]
|
1603 |
+
}, {
|
1604 |
+
title: "far fa-check-square",
|
1605 |
+
searchTerms: [ "checkmark", "done", "todo", "agree", "accept", "confirm", "ok", "select" ]
|
1606 |
+
}, {
|
1607 |
+
title: "fas fa-chess",
|
1608 |
+
searchTerms: []
|
1609 |
+
}, {
|
1610 |
+
title: "fas fa-chess-bishop",
|
1611 |
+
searchTerms: []
|
1612 |
+
}, {
|
1613 |
+
title: "fas fa-chess-board",
|
1614 |
+
searchTerms: []
|
1615 |
+
}, {
|
1616 |
+
title: "fas fa-chess-king",
|
1617 |
+
searchTerms: []
|
1618 |
+
}, {
|
1619 |
+
title: "fas fa-chess-knight",
|
1620 |
+
searchTerms: []
|
1621 |
+
}, {
|
1622 |
+
title: "fas fa-chess-pawn",
|
1623 |
+
searchTerms: []
|
1624 |
+
}, {
|
1625 |
+
title: "fas fa-chess-queen",
|
1626 |
+
searchTerms: []
|
1627 |
+
}, {
|
1628 |
+
title: "fas fa-chess-rook",
|
1629 |
+
searchTerms: []
|
1630 |
+
}, {
|
1631 |
+
title: "fas fa-chevron-circle-down",
|
1632 |
+
searchTerms: [ "more", "dropdown", "menu", "arrow" ]
|
1633 |
+
}, {
|
1634 |
+
title: "fas fa-chevron-circle-left",
|
1635 |
+
searchTerms: [ "previous", "back", "arrow" ]
|
1636 |
+
}, {
|
1637 |
+
title: "fas fa-chevron-circle-right",
|
1638 |
+
searchTerms: [ "next", "forward", "arrow" ]
|
1639 |
+
}, {
|
1640 |
+
title: "fas fa-chevron-circle-up",
|
1641 |
+
searchTerms: [ "arrow" ]
|
1642 |
+
}, {
|
1643 |
+
title: "fas fa-chevron-down",
|
1644 |
+
searchTerms: []
|
1645 |
+
}, {
|
1646 |
+
title: "fas fa-chevron-left",
|
1647 |
+
searchTerms: [ "bracket", "previous", "back" ]
|
1648 |
+
}, {
|
1649 |
+
title: "fas fa-chevron-right",
|
1650 |
+
searchTerms: [ "bracket", "next", "forward" ]
|
1651 |
+
}, {
|
1652 |
+
title: "fas fa-chevron-up",
|
1653 |
+
searchTerms: []
|
1654 |
+
}, {
|
1655 |
+
title: "fas fa-child",
|
1656 |
+
searchTerms: []
|
1657 |
+
}, {
|
1658 |
+
title: "fab fa-chrome",
|
1659 |
+
searchTerms: [ "browser" ]
|
1660 |
+
}, {
|
1661 |
+
title: "fas fa-circle",
|
1662 |
+
searchTerms: [ "dot", "notification", "circle-thin" ]
|
1663 |
+
}, {
|
1664 |
+
title: "far fa-circle",
|
1665 |
+
searchTerms: [ "dot", "notification", "circle-thin" ]
|
1666 |
+
}, {
|
1667 |
+
title: "fas fa-circle-notch",
|
1668 |
+
searchTerms: [ "circle-o-notch" ]
|
1669 |
+
}, {
|
1670 |
+
title: "fas fa-clipboard",
|
1671 |
+
searchTerms: [ "paste" ]
|
1672 |
+
}, {
|
1673 |
+
title: "far fa-clipboard",
|
1674 |
+
searchTerms: [ "paste" ]
|
1675 |
+
}, {
|
1676 |
+
title: "fas fa-clipboard-check",
|
1677 |
+
searchTerms: []
|
1678 |
+
}, {
|
1679 |
+
title: "fas fa-clipboard-list",
|
1680 |
+
searchTerms: []
|
1681 |
+
}, {
|
1682 |
+
title: "fas fa-clock",
|
1683 |
+
searchTerms: [ "watch", "timer", "late", "timestamp", "date" ]
|
1684 |
+
}, {
|
1685 |
+
title: "far fa-clock",
|
1686 |
+
searchTerms: [ "watch", "timer", "late", "timestamp", "date" ]
|
1687 |
+
}, {
|
1688 |
+
title: "fas fa-clone",
|
1689 |
+
searchTerms: [ "copy" ]
|
1690 |
+
}, {
|
1691 |
+
title: "far fa-clone",
|
1692 |
+
searchTerms: [ "copy" ]
|
1693 |
+
}, {
|
1694 |
+
title: "fas fa-closed-captioning",
|
1695 |
+
searchTerms: [ "cc" ]
|
1696 |
+
}, {
|
1697 |
+
title: "far fa-closed-captioning",
|
1698 |
+
searchTerms: [ "cc" ]
|
1699 |
+
}, {
|
1700 |
+
title: "fas fa-cloud",
|
1701 |
+
searchTerms: [ "save" ]
|
1702 |
+
}, {
|
1703 |
+
title: "fas fa-cloud-download-alt",
|
1704 |
+
searchTerms: [ "cloud-download" ]
|
1705 |
+
}, {
|
1706 |
+
title: "fas fa-cloud-upload-alt",
|
1707 |
+
searchTerms: [ "cloud-upload" ]
|
1708 |
+
}, {
|
1709 |
+
title: "fab fa-cloudscale",
|
1710 |
+
searchTerms: []
|
1711 |
+
}, {
|
1712 |
+
title: "fab fa-cloudsmith",
|
1713 |
+
searchTerms: []
|
1714 |
+
}, {
|
1715 |
+
title: "fab fa-cloudversify",
|
1716 |
+
searchTerms: []
|
1717 |
+
}, {
|
1718 |
+
title: "fas fa-code",
|
1719 |
+
searchTerms: [ "html", "brackets" ]
|
1720 |
+
}, {
|
1721 |
+
title: "fas fa-code-branch",
|
1722 |
+
searchTerms: [ "git", "fork", "vcs", "svn", "github", "rebase", "version", "branch", "code-fork" ]
|
1723 |
+
}, {
|
1724 |
+
title: "fab fa-codepen",
|
1725 |
+
searchTerms: []
|
1726 |
+
}, {
|
1727 |
+
title: "fab fa-codiepie",
|
1728 |
+
searchTerms: []
|
1729 |
+
}, {
|
1730 |
+
title: "fas fa-coffee",
|
1731 |
+
searchTerms: [ "morning", "mug", "breakfast", "tea", "drink", "cafe" ]
|
1732 |
+
}, {
|
1733 |
+
title: "fas fa-cog",
|
1734 |
+
searchTerms: [ "settings" ]
|
1735 |
+
}, {
|
1736 |
+
title: "fas fa-cogs",
|
1737 |
+
searchTerms: [ "settings", "gears" ]
|
1738 |
+
}, {
|
1739 |
+
title: "fas fa-columns",
|
1740 |
+
searchTerms: [ "split", "panes", "dashboard" ]
|
1741 |
+
}, {
|
1742 |
+
title: "fas fa-comment",
|
1743 |
+
searchTerms: [ "speech", "notification", "note", "chat", "bubble", "feedback", "message", "texting", "sms", "conversation" ]
|
1744 |
+
}, {
|
1745 |
+
title: "far fa-comment",
|
1746 |
+
searchTerms: [ "speech", "notification", "note", "chat", "bubble", "feedback", "message", "texting", "sms", "conversation" ]
|
1747 |
+
}, {
|
1748 |
+
title: "fas fa-comment-alt",
|
1749 |
+
searchTerms: [ "speech", "notification", "note", "chat", "bubble", "feedback", "message", "texting", "sms", "conversation", "commenting", "commenting" ]
|
1750 |
+
}, {
|
1751 |
+
title: "far fa-comment-alt",
|
1752 |
+
searchTerms: [ "speech", "notification", "note", "chat", "bubble", "feedback", "message", "texting", "sms", "conversation", "commenting", "commenting" ]
|
1753 |
+
}, {
|
1754 |
+
title: "fas fa-comments",
|
1755 |
+
searchTerms: [ "speech", "notification", "note", "chat", "bubble", "feedback", "message", "texting", "sms", "conversation" ]
|
1756 |
+
}, {
|
1757 |
+
title: "far fa-comments",
|
1758 |
+
searchTerms: [ "speech", "notification", "note", "chat", "bubble", "feedback", "message", "texting", "sms", "conversation" ]
|
1759 |
+
}, {
|
1760 |
+
title: "fas fa-compass",
|
1761 |
+
searchTerms: [ "safari", "directory", "menu", "location" ]
|
1762 |
+
}, {
|
1763 |
+
title: "far fa-compass",
|
1764 |
+
searchTerms: [ "safari", "directory", "menu", "location" ]
|
1765 |
+
}, {
|
1766 |
+
title: "fas fa-compress",
|
1767 |
+
searchTerms: [ "collapse", "combine", "contract", "merge", "smaller" ]
|
1768 |
+
}, {
|
1769 |
+
title: "fab fa-connectdevelop",
|
1770 |
+
searchTerms: []
|
1771 |
+
}, {
|
1772 |
+
title: "fab fa-contao",
|
1773 |
+
searchTerms: []
|
1774 |
+
}, {
|
1775 |
+
title: "fas fa-copy",
|
1776 |
+
searchTerms: [ "duplicate", "clone", "file", "files-o" ]
|
1777 |
+
}, {
|
1778 |
+
title: "far fa-copy",
|
1779 |
+
searchTerms: [ "duplicate", "clone", "file", "files-o" ]
|
1780 |
+
}, {
|
1781 |
+
title: "fas fa-copyright",
|
1782 |
+
searchTerms: []
|
1783 |
+
}, {
|
1784 |
+
title: "far fa-copyright",
|
1785 |
+
searchTerms: []
|
1786 |
+
}, {
|
1787 |
+
title: "fab fa-cpanel",
|
1788 |
+
searchTerms: []
|
1789 |
+
}, {
|
1790 |
+
title: "fab fa-creative-commons",
|
1791 |
+
searchTerms: []
|
1792 |
+
}, {
|
1793 |
+
title: "fas fa-credit-card",
|
1794 |
+
searchTerms: [ "money", "buy", "debit", "checkout", "purchase", "payment", "credit-card-alt" ]
|
1795 |
+
}, {
|
1796 |
+
title: "far fa-credit-card",
|
1797 |
+
searchTerms: [ "money", "buy", "debit", "checkout", "purchase", "payment", "credit-card-alt" ]
|
1798 |
+
}, {
|
1799 |
+
title: "fas fa-crop",
|
1800 |
+
searchTerms: [ "design" ]
|
1801 |
+
}, {
|
1802 |
+
title: "fas fa-crosshairs",
|
1803 |
+
searchTerms: [ "picker", "gpd" ]
|
1804 |
+
}, {
|
1805 |
+
title: "fab fa-css3",
|
1806 |
+
searchTerms: [ "code" ]
|
1807 |
+
}, {
|
1808 |
+
title: "fab fa-css3-alt",
|
1809 |
+
searchTerms: []
|
1810 |
+
}, {
|
1811 |
+
title: "fas fa-cube",
|
1812 |
+
searchTerms: [ "package" ]
|
1813 |
+
}, {
|
1814 |
+
title: "fas fa-cubes",
|
1815 |
+
searchTerms: [ "packages" ]
|
1816 |
+
}, {
|
1817 |
+
title: "fas fa-cut",
|
1818 |
+
searchTerms: [ "scissors", "scissors" ]
|
1819 |
+
}, {
|
1820 |
+
title: "fab fa-cuttlefish",
|
1821 |
+
searchTerms: []
|
1822 |
+
}, {
|
1823 |
+
title: "fab fa-d-and-d",
|
1824 |
+
searchTerms: []
|
1825 |
+
}, {
|
1826 |
+
title: "fab fa-dashcube",
|
1827 |
+
searchTerms: []
|
1828 |
+
}, {
|
1829 |
+
title: "fas fa-database",
|
1830 |
+
searchTerms: []
|
1831 |
+
}, {
|
1832 |
+
title: "fas fa-deaf",
|
1833 |
+
searchTerms: []
|
1834 |
+
}, {
|
1835 |
+
title: "fab fa-delicious",
|
1836 |
+
searchTerms: []
|
1837 |
+
}, {
|
1838 |
+
title: "fab fa-deploydog",
|
1839 |
+
searchTerms: []
|
1840 |
+
}, {
|
1841 |
+
title: "fab fa-deskpro",
|
1842 |
+
searchTerms: []
|
1843 |
+
}, {
|
1844 |
+
title: "fas fa-desktop",
|
1845 |
+
searchTerms: [ "monitor", "screen", "desktop", "computer", "demo", "device", "pc" ]
|
1846 |
+
}, {
|
1847 |
+
title: "fab fa-deviantart",
|
1848 |
+
searchTerms: []
|
1849 |
+
}, {
|
1850 |
+
title: "fab fa-digg",
|
1851 |
+
searchTerms: []
|
1852 |
+
}, {
|
1853 |
+
title: "fab fa-digital-ocean",
|
1854 |
+
searchTerms: []
|
1855 |
+
}, {
|
1856 |
+
title: "fab fa-discord",
|
1857 |
+
searchTerms: []
|
1858 |
+
}, {
|
1859 |
+
title: "fab fa-discourse",
|
1860 |
+
searchTerms: []
|
1861 |
+
}, {
|
1862 |
+
title: "fas fa-dna",
|
1863 |
+
searchTerms: [ "double helix", "helix" ]
|
1864 |
+
}, {
|
1865 |
+
title: "fab fa-dochub",
|
1866 |
+
searchTerms: []
|
1867 |
+
}, {
|
1868 |
+
title: "fab fa-docker",
|
1869 |
+
searchTerms: []
|
1870 |
+
}, {
|
1871 |
+
title: "fas fa-dollar-sign",
|
1872 |
+
searchTerms: [ "usd", "price" ]
|
1873 |
+
}, {
|
1874 |
+
title: "fas fa-dolly",
|
1875 |
+
searchTerms: []
|
1876 |
+
}, {
|
1877 |
+
title: "fas fa-dolly-flatbed",
|
1878 |
+
searchTerms: []
|
1879 |
+
}, {
|
1880 |
+
title: "fas fa-dot-circle",
|
1881 |
+
searchTerms: [ "target", "bullseye", "notification" ]
|
1882 |
+
}, {
|
1883 |
+
title: "far fa-dot-circle",
|
1884 |
+
searchTerms: [ "target", "bullseye", "notification" ]
|
1885 |
+
}, {
|
1886 |
+
title: "fas fa-download",
|
1887 |
+
searchTerms: [ "import" ]
|
1888 |
+
}, {
|
1889 |
+
title: "fab fa-draft2digital",
|
1890 |
+
searchTerms: []
|
1891 |
+
}, {
|
1892 |
+
title: "fab fa-dribbble",
|
1893 |
+
searchTerms: []
|
1894 |
+
}, {
|
1895 |
+
title: "fab fa-dribbble-square",
|
1896 |
+
searchTerms: []
|
1897 |
+
}, {
|
1898 |
+
title: "fab fa-dropbox",
|
1899 |
+
searchTerms: []
|
1900 |
+
}, {
|
1901 |
+
title: "fab fa-drupal",
|
1902 |
+
searchTerms: []
|
1903 |
+
}, {
|
1904 |
+
title: "fab fa-dyalog",
|
1905 |
+
searchTerms: []
|
1906 |
+
}, {
|
1907 |
+
title: "fab fa-earlybirds",
|
1908 |
+
searchTerms: []
|
1909 |
+
}, {
|
1910 |
+
title: "fab fa-edge",
|
1911 |
+
searchTerms: [ "browser", "ie" ]
|
1912 |
+
}, {
|
1913 |
+
title: "fas fa-edit",
|
1914 |
+
searchTerms: [ "write", "edit", "update", "pencil", "pen" ]
|
1915 |
+
}, {
|
1916 |
+
title: "far fa-edit",
|
1917 |
+
searchTerms: [ "write", "edit", "update", "pencil", "pen" ]
|
1918 |
+
}, {
|
1919 |
+
title: "fas fa-eject",
|
1920 |
+
searchTerms: []
|
1921 |
+
}, {
|
1922 |
+
title: "fab fa-elementor",
|
1923 |
+
searchTerms: []
|
1924 |
+
}, {
|
1925 |
+
title: "fas fa-ellipsis-h",
|
1926 |
+
searchTerms: [ "dots" ]
|
1927 |
+
}, {
|
1928 |
+
title: "fas fa-ellipsis-v",
|
1929 |
+
searchTerms: [ "dots" ]
|
1930 |
+
}, {
|
1931 |
+
title: "fab fa-ember",
|
1932 |
+
searchTerms: []
|
1933 |
+
}, {
|
1934 |
+
title: "fab fa-empire",
|
1935 |
+
searchTerms: []
|
1936 |
+
}, {
|
1937 |
+
title: "fas fa-envelope",
|
1938 |
+
searchTerms: [ "email", "e-mail", "letter", "support", "mail", "message", "notification" ]
|
1939 |
+
}, {
|
1940 |
+
title: "far fa-envelope",
|
1941 |
+
searchTerms: [ "email", "e-mail", "letter", "support", "mail", "message", "notification" ]
|
1942 |
+
}, {
|
1943 |
+
title: "fas fa-envelope-open",
|
1944 |
+
searchTerms: [ "email", "e-mail", "letter", "support", "mail", "message", "notification" ]
|
1945 |
+
}, {
|
1946 |
+
title: "far fa-envelope-open",
|
1947 |
+
searchTerms: [ "email", "e-mail", "letter", "support", "mail", "message", "notification" ]
|
1948 |
+
}, {
|
1949 |
+
title: "fas fa-envelope-square",
|
1950 |
+
searchTerms: [ "email", "e-mail", "letter", "support", "mail", "message", "notification" ]
|
1951 |
+
}, {
|
1952 |
+
title: "fab fa-envira",
|
1953 |
+
searchTerms: [ "leaf" ]
|
1954 |
+
}, {
|
1955 |
+
title: "fas fa-eraser",
|
1956 |
+
searchTerms: [ "remove", "delete" ]
|
1957 |
+
}, {
|
1958 |
+
title: "fab fa-erlang",
|
1959 |
+
searchTerms: []
|
1960 |
+
}, {
|
1961 |
+
title: "fab fa-ethereum",
|
1962 |
+
searchTerms: []
|
1963 |
+
}, {
|
1964 |
+
title: "fab fa-etsy",
|
1965 |
+
searchTerms: []
|
1966 |
+
}, {
|
1967 |
+
title: "fas fa-euro-sign",
|
1968 |
+
searchTerms: [ "eur", "eur" ]
|
1969 |
+
}, {
|
1970 |
+
title: "fas fa-exchange-alt",
|
1971 |
+
searchTerms: [ "transfer", "arrows", "arrow", "exchange", "swap" ]
|
1972 |
+
}, {
|
1973 |
+
title: "fas fa-exclamation",
|
1974 |
+
searchTerms: [ "warning", "error", "problem", "notification", "notify", "alert", "danger" ]
|
1975 |
+
}, {
|
1976 |
+
title: "fas fa-exclamation-circle",
|
1977 |
+
searchTerms: [ "warning", "error", "problem", "notification", "notify", "alert", "danger" ]
|
1978 |
+
}, {
|
1979 |
+
title: "fas fa-exclamation-triangle",
|
1980 |
+
searchTerms: [ "warning", "error", "problem", "notification", "notify", "alert", "danger" ]
|
1981 |
+
}, {
|
1982 |
+
title: "fas fa-expand",
|
1983 |
+
searchTerms: [ "enlarge", "bigger", "resize" ]
|
1984 |
+
}, {
|
1985 |
+
title: "fas fa-expand-arrows-alt",
|
1986 |
+
searchTerms: [ "enlarge", "bigger", "resize", "move", "arrows-alt" ]
|
1987 |
+
}, {
|
1988 |
+
title: "fab fa-expeditedssl",
|
1989 |
+
searchTerms: []
|
1990 |
+
}, {
|
1991 |
+
title: "fas fa-external-link-alt",
|
1992 |
+
searchTerms: [ "open", "new", "external-link" ]
|
1993 |
+
}, {
|
1994 |
+
title: "fas fa-external-link-square-alt",
|
1995 |
+
searchTerms: [ "open", "new", "external-link-square" ]
|
1996 |
+
}, {
|
1997 |
+
title: "fas fa-eye",
|
1998 |
+
searchTerms: [ "show", "visible", "views" ]
|
1999 |
+
}, {
|
2000 |
+
title: "fas fa-eye-dropper",
|
2001 |
+
searchTerms: [ "eyedropper" ]
|
2002 |
+
}, {
|
2003 |
+
title: "fas fa-eye-slash",
|
2004 |
+
searchTerms: [ "toggle", "show", "hide", "visible", "visiblity", "views" ]
|
2005 |
+
}, {
|
2006 |
+
title: "far fa-eye-slash",
|
2007 |
+
searchTerms: [ "toggle", "show", "hide", "visible", "visiblity", "views" ]
|
2008 |
+
}, {
|
2009 |
+
title: "fab fa-facebook",
|
2010 |
+
searchTerms: [ "social network", "facebook-official" ]
|
2011 |
+
}, {
|
2012 |
+
title: "fab fa-facebook-f",
|
2013 |
+
searchTerms: [ "facebook" ]
|
2014 |
+
}, {
|
2015 |
+
title: "fab fa-facebook-messenger",
|
2016 |
+
searchTerms: []
|
2017 |
+
}, {
|
2018 |
+
title: "fab fa-facebook-square",
|
2019 |
+
searchTerms: [ "social network" ]
|
2020 |
+
}, {
|
2021 |
+
title: "fas fa-fast-backward",
|
2022 |
+
searchTerms: [ "rewind", "previous", "beginning", "start", "first" ]
|
2023 |
+
}, {
|
2024 |
+
title: "fas fa-fast-forward",
|
2025 |
+
searchTerms: [ "next", "end", "last" ]
|
2026 |
+
}, {
|
2027 |
+
title: "fas fa-fax",
|
2028 |
+
searchTerms: []
|
2029 |
+
}, {
|
2030 |
+
title: "fas fa-female",
|
2031 |
+
searchTerms: [ "woman", "human", "user", "person", "profile" ]
|
2032 |
+
}, {
|
2033 |
+
title: "fas fa-fighter-jet",
|
2034 |
+
searchTerms: [ "fly", "plane", "airplane", "quick", "fast", "travel" ]
|
2035 |
+
}, {
|
2036 |
+
title: "fas fa-file",
|
2037 |
+
searchTerms: [ "new", "page", "pdf", "document" ]
|
2038 |
+
}, {
|
2039 |
+
title: "far fa-file",
|
2040 |
+
searchTerms: [ "new", "page", "pdf", "document" ]
|
2041 |
+
}, {
|
2042 |
+
title: "fas fa-file-alt",
|
2043 |
+
searchTerms: [ "new", "page", "pdf", "document", "file-text" ]
|
2044 |
+
}, {
|
2045 |
+
title: "far fa-file-alt",
|
2046 |
+
searchTerms: [ "new", "page", "pdf", "document", "file-text" ]
|
2047 |
+
}, {
|
2048 |
+
title: "fas fa-file-archive",
|
2049 |
+
searchTerms: []
|
2050 |
+
}, {
|
2051 |
+
title: "far fa-file-archive",
|
2052 |
+
searchTerms: []
|
2053 |
+
}, {
|
2054 |
+
title: "fas fa-file-audio",
|
2055 |
+
searchTerms: []
|
2056 |
+
}, {
|
2057 |
+
title: "far fa-file-audio",
|
2058 |
+
searchTerms: []
|
2059 |
+
}, {
|
2060 |
+
title: "fas fa-file-code",
|
2061 |
+
searchTerms: []
|
2062 |
+
}, {
|
2063 |
+
title: "far fa-file-code",
|
2064 |
+
searchTerms: []
|
2065 |
+
}, {
|
2066 |
+
title: "fas fa-file-excel",
|
2067 |
+
searchTerms: []
|
2068 |
+
}, {
|
2069 |
+
title: "far fa-file-excel",
|
2070 |
+
searchTerms: []
|
2071 |
+
}, {
|
2072 |
+
title: "fas fa-file-image",
|
2073 |
+
searchTerms: []
|
2074 |
+
}, {
|
2075 |
+
title: "far fa-file-image",
|
2076 |
+
searchTerms: []
|
2077 |
+
}, {
|
2078 |
+
title: "fas fa-file-pdf",
|
2079 |
+
searchTerms: []
|
2080 |
+
}, {
|
2081 |
+
title: "far fa-file-pdf",
|
2082 |
+
searchTerms: []
|
2083 |
+
}, {
|
2084 |
+
title: "fas fa-file-powerpoint",
|
2085 |
+
searchTerms: []
|
2086 |
+
}, {
|
2087 |
+
title: "far fa-file-powerpoint",
|
2088 |
+
searchTerms: []
|
2089 |
+
}, {
|
2090 |
+
title: "fas fa-file-video",
|
2091 |
+
searchTerms: []
|
2092 |
+
}, {
|
2093 |
+
title: "far fa-file-video",
|
2094 |
+
searchTerms: []
|
2095 |
+
}, {
|
2096 |
+
title: "fas fa-file-word",
|
2097 |
+
searchTerms: []
|
2098 |
+
}, {
|
2099 |
+
title: "far fa-file-word",
|
2100 |
+
searchTerms: []
|
2101 |
+
}, {
|
2102 |
+
title: "fas fa-film",
|
2103 |
+
searchTerms: [ "movie" ]
|
2104 |
+
}, {
|
2105 |
+
title: "fas fa-filter",
|
2106 |
+
searchTerms: [ "funnel", "options" ]
|
2107 |
+
}, {
|
2108 |
+
title: "fas fa-fire",
|
2109 |
+
searchTerms: [ "flame", "hot", "popular" ]
|
2110 |
+
}, {
|
2111 |
+
title: "fas fa-fire-extinguisher",
|
2112 |
+
searchTerms: []
|
2113 |
+
}, {
|
2114 |
+
title: "fab fa-firefox",
|
2115 |
+
searchTerms: [ "browser" ]
|
2116 |
+
}, {
|
2117 |
+
title: "fas fa-first-aid",
|
2118 |
+
searchTerms: []
|
2119 |
+
}, {
|
2120 |
+
title: "fab fa-first-order",
|
2121 |
+
searchTerms: []
|
2122 |
+
}, {
|
2123 |
+
title: "fab fa-firstdraft",
|
2124 |
+
searchTerms: []
|
2125 |
+
}, {
|
2126 |
+
title: "fas fa-flag",
|
2127 |
+
searchTerms: [ "report", "notification", "notify" ]
|
2128 |
+
}, {
|
2129 |
+
title: "far fa-flag",
|
2130 |
+
searchTerms: [ "report", "notification", "notify" ]
|
2131 |
+
}, {
|
2132 |
+
title: "fas fa-flag-checkered",
|
2133 |
+
searchTerms: [ "report", "notification", "notify" ]
|
2134 |
+
}, {
|
2135 |
+
title: "fas fa-flask",
|
2136 |
+
searchTerms: [ "science", "beaker", "experimental", "labs" ]
|
2137 |
+
}, {
|
2138 |
+
title: "fab fa-flickr",
|
2139 |
+
searchTerms: []
|
2140 |
+
}, {
|
2141 |
+
title: "fab fa-flipboard",
|
2142 |
+
searchTerms: []
|
2143 |
+
}, {
|
2144 |
+
title: "fab fa-fly",
|
2145 |
+
searchTerms: []
|
2146 |
+
}, {
|
2147 |
+
title: "fas fa-folder",
|
2148 |
+
searchTerms: []
|
2149 |
+
}, {
|
2150 |
+
title: "far fa-folder",
|
2151 |
+
searchTerms: []
|
2152 |
+
}, {
|
2153 |
+
title: "fas fa-folder-open",
|
2154 |
+
searchTerms: []
|
2155 |
+
}, {
|
2156 |
+
title: "far fa-folder-open",
|
2157 |
+
searchTerms: []
|
2158 |
+
}, {
|
2159 |
+
title: "fas fa-font",
|
2160 |
+
searchTerms: [ "text" ]
|
2161 |
+
}, {
|
2162 |
+
title: "fab fa-font-awesome",
|
2163 |
+
searchTerms: [ "meanpath" ]
|
2164 |
+
}, {
|
2165 |
+
title: "fab fa-font-awesome-alt",
|
2166 |
+
searchTerms: []
|
2167 |
+
}, {
|
2168 |
+
title: "fab fa-font-awesome-flag",
|
2169 |
+
searchTerms: []
|
2170 |
+
}, {
|
2171 |
+
title: "fab fa-fonticons",
|
2172 |
+
searchTerms: []
|
2173 |
+
}, {
|
2174 |
+
title: "fab fa-fonticons-fi",
|
2175 |
+
searchTerms: []
|
2176 |
+
}, {
|
2177 |
+
title: "fas fa-football-ball",
|
2178 |
+
searchTerms: []
|
2179 |
+
}, {
|
2180 |
+
title: "fab fa-fort-awesome",
|
2181 |
+
searchTerms: [ "castle" ]
|
2182 |
+
}, {
|
2183 |
+
title: "fab fa-fort-awesome-alt",
|
2184 |
+
searchTerms: [ "castle" ]
|
2185 |
+
}, {
|
2186 |
+
title: "fab fa-forumbee",
|
2187 |
+
searchTerms: []
|
2188 |
+
}, {
|
2189 |
+
title: "fas fa-forward",
|
2190 |
+
searchTerms: [ "forward", "next" ]
|
2191 |
+
}, {
|
2192 |
+
title: "fab fa-foursquare",
|
2193 |
+
searchTerms: []
|
2194 |
+
}, {
|
2195 |
+
title: "fab fa-free-code-camp",
|
2196 |
+
searchTerms: []
|
2197 |
+
}, {
|
2198 |
+
title: "fab fa-freebsd",
|
2199 |
+
searchTerms: []
|
2200 |
+
}, {
|
2201 |
+
title: "fas fa-frown",
|
2202 |
+
searchTerms: [ "face", "emoticon", "sad", "disapprove", "rating" ]
|
2203 |
+
}, {
|
2204 |
+
title: "far fa-frown",
|
2205 |
+
searchTerms: [ "face", "emoticon", "sad", "disapprove", "rating" ]
|
2206 |
+
}, {
|
2207 |
+
title: "fas fa-futbol",
|
2208 |
+
searchTerms: []
|
2209 |
+
}, {
|
2210 |
+
title: "far fa-futbol",
|
2211 |
+
searchTerms: []
|
2212 |
+
}, {
|
2213 |
+
title: "fas fa-gamepad",
|
2214 |
+
searchTerms: [ "controller" ]
|
2215 |
+
}, {
|
2216 |
+
title: "fas fa-gavel",
|
2217 |
+
searchTerms: [ "judge", "lawyer", "opinion", "hammer" ]
|
2218 |
+
}, {
|
2219 |
+
title: "fas fa-gem",
|
2220 |
+
searchTerms: [ "diamond" ]
|
2221 |
+
}, {
|
2222 |
+
title: "far fa-gem",
|
2223 |
+
searchTerms: [ "diamond" ]
|
2224 |
+
}, {
|
2225 |
+
title: "fas fa-genderless",
|
2226 |
+
searchTerms: []
|
2227 |
+
}, {
|
2228 |
+
title: "fab fa-get-pocket",
|
2229 |
+
searchTerms: []
|
2230 |
+
}, {
|
2231 |
+
title: "fab fa-gg",
|
2232 |
+
searchTerms: []
|
2233 |
+
}, {
|
2234 |
+
title: "fab fa-gg-circle",
|
2235 |
+
searchTerms: []
|
2236 |
+
}, {
|
2237 |
+
title: "fas fa-gift",
|
2238 |
+
searchTerms: [ "present" ]
|
2239 |
+
}, {
|
2240 |
+
title: "fab fa-git",
|
2241 |
+
searchTerms: []
|
2242 |
+
}, {
|
2243 |
+
title: "fab fa-git-square",
|
2244 |
+
searchTerms: []
|
2245 |
+
}, {
|
2246 |
+
title: "fab fa-github",
|
2247 |
+
searchTerms: [ "octocat" ]
|
2248 |
+
}, {
|
2249 |
+
title: "fab fa-github-alt",
|
2250 |
+
searchTerms: [ "octocat" ]
|
2251 |
+
}, {
|
2252 |
+
title: "fab fa-github-square",
|
2253 |
+
searchTerms: [ "octocat" ]
|
2254 |
+
}, {
|
2255 |
+
title: "fab fa-gitkraken",
|
2256 |
+
searchTerms: []
|
2257 |
+
}, {
|
2258 |
+
title: "fab fa-gitlab",
|
2259 |
+
searchTerms: [ "Axosoft" ]
|
2260 |
+
}, {
|
2261 |
+
title: "fab fa-gitter",
|
2262 |
+
searchTerms: []
|
2263 |
+
}, {
|
2264 |
+
title: "fas fa-glass-martini",
|
2265 |
+
searchTerms: [ "martini", "drink", "bar", "alcohol", "liquor", "glass" ]
|
2266 |
+
}, {
|
2267 |
+
title: "fab fa-glide",
|
2268 |
+
searchTerms: []
|
2269 |
+
}, {
|
2270 |
+
title: "fab fa-glide-g",
|
2271 |
+
searchTerms: []
|
2272 |
+
}, {
|
2273 |
+
title: "fas fa-globe",
|
2274 |
+
searchTerms: [ "world", "planet", "map", "place", "travel", "earth", "global", "translate", "all", "language", "localize", "location", "coordinates", "country", "gps" ]
|
2275 |
+
}, {
|
2276 |
+
title: "fab fa-gofore",
|
2277 |
+
searchTerms: []
|
2278 |
+
}, {
|
2279 |
+
title: "fas fa-golf-ball",
|
2280 |
+
searchTerms: []
|
2281 |
+
}, {
|
2282 |
+
title: "fab fa-goodreads",
|
2283 |
+
searchTerms: []
|
2284 |
+
}, {
|
2285 |
+
title: "fab fa-goodreads-g",
|
2286 |
+
searchTerms: []
|
2287 |
+
}, {
|
2288 |
+
title: "fab fa-google",
|
2289 |
+
searchTerms: []
|
2290 |
+
}, {
|
2291 |
+
title: "fab fa-google-drive",
|
2292 |
+
searchTerms: []
|
2293 |
+
}, {
|
2294 |
+
title: "fab fa-google-play",
|
2295 |
+
searchTerms: []
|
2296 |
+
}, {
|
2297 |
+
title: "fab fa-google-plus",
|
2298 |
+
searchTerms: [ "google-plus-circle", "google-plus-official" ]
|
2299 |
+
}, {
|
2300 |
+
title: "fab fa-google-plus-g",
|
2301 |
+
searchTerms: [ "social network", "google-plus" ]
|
2302 |
+
}, {
|
2303 |
+
title: "fab fa-google-plus-square",
|
2304 |
+
searchTerms: [ "social network" ]
|
2305 |
+
}, {
|
2306 |
+
title: "fab fa-google-wallet",
|
2307 |
+
searchTerms: []
|
2308 |
+
}, {
|
2309 |
+
title: "fas fa-graduation-cap",
|
2310 |
+
searchTerms: [ "learning", "school", "student" ]
|
2311 |
+
}, {
|
2312 |
+
title: "fab fa-gratipay",
|
2313 |
+
searchTerms: [ "heart", "like", "favorite", "love" ]
|
2314 |
+
}, {
|
2315 |
+
title: "fab fa-grav",
|
2316 |
+
searchTerms: []
|
2317 |
+
}, {
|
2318 |
+
title: "fab fa-gripfire",
|
2319 |
+
searchTerms: []
|
2320 |
+
}, {
|
2321 |
+
title: "fab fa-grunt",
|
2322 |
+
searchTerms: []
|
2323 |
+
}, {
|
2324 |
+
title: "fab fa-gulp",
|
2325 |
+
searchTerms: []
|
2326 |
+
}, {
|
2327 |
+
title: "fas fa-h-square",
|
2328 |
+
searchTerms: [ "hospital", "hotel" ]
|
2329 |
+
}, {
|
2330 |
+
title: "fab fa-hacker-news",
|
2331 |
+
searchTerms: []
|
2332 |
+
}, {
|
2333 |
+
title: "fab fa-hacker-news-square",
|
2334 |
+
searchTerms: []
|
2335 |
+
}, {
|
2336 |
+
title: "fas fa-hand-lizard",
|
2337 |
+
searchTerms: []
|
2338 |
+
}, {
|
2339 |
+
title: "far fa-hand-lizard",
|
2340 |
+
searchTerms: []
|
2341 |
+
}, {
|
2342 |
+
title: "fas fa-hand-paper",
|
2343 |
+
searchTerms: [ "stop" ]
|
2344 |
+
}, {
|
2345 |
+
title: "far fa-hand-paper",
|
2346 |
+
searchTerms: [ "stop" ]
|
2347 |
+
}, {
|
2348 |
+
title: "fas fa-hand-peace",
|
2349 |
+
searchTerms: []
|
2350 |
+
}, {
|
2351 |
+
title: "far fa-hand-peace",
|
2352 |
+
searchTerms: []
|
2353 |
+
}, {
|
2354 |
+
title: "fas fa-hand-point-down",
|
2355 |
+
searchTerms: [ "point", "finger", "hand-o-down" ]
|
2356 |
+
}, {
|
2357 |
+
title: "far fa-hand-point-down",
|
2358 |
+
searchTerms: [ "point", "finger", "hand-o-down" ]
|
2359 |
+
}, {
|
2360 |
+
title: "fas fa-hand-point-left",
|
2361 |
+
searchTerms: [ "point", "left", "previous", "back", "finger", "hand-o-left" ]
|
2362 |
+
}, {
|
2363 |
+
title: "far fa-hand-point-left",
|
2364 |
+
searchTerms: [ "point", "left", "previous", "back", "finger", "hand-o-left" ]
|
2365 |
+
}, {
|
2366 |
+
title: "fas fa-hand-point-right",
|
2367 |
+
searchTerms: [ "point", "right", "next", "forward", "finger", "hand-o-right" ]
|
2368 |
+
}, {
|
2369 |
+
title: "far fa-hand-point-right",
|
2370 |
+
searchTerms: [ "point", "right", "next", "forward", "finger", "hand-o-right" ]
|
2371 |
+
}, {
|
2372 |
+
title: "fas fa-hand-point-up",
|
2373 |
+
searchTerms: [ "point", "finger", "hand-o-up" ]
|
2374 |
+
}, {
|
2375 |
+
title: "far fa-hand-point-up",
|
2376 |
+
searchTerms: [ "point", "finger", "hand-o-up" ]
|
2377 |
+
}, {
|
2378 |
+
title: "fas fa-hand-pointer",
|
2379 |
+
searchTerms: [ "select" ]
|
2380 |
+
}, {
|
2381 |
+
title: "far fa-hand-pointer",
|
2382 |
+
searchTerms: [ "select" ]
|
2383 |
+
}, {
|
2384 |
+
title: "fas fa-hand-rock",
|
2385 |
+
searchTerms: []
|
2386 |
+
}, {
|
2387 |
+
title: "far fa-hand-rock",
|
2388 |
+
searchTerms: []
|
2389 |
+
}, {
|
2390 |
+
title: "fas fa-hand-scissors",
|
2391 |
+
searchTerms: []
|
2392 |
+
}, {
|
2393 |
+
title: "far fa-hand-scissors",
|
2394 |
+
searchTerms: []
|
2395 |
+
}, {
|
2396 |
+
title: "fas fa-hand-spock",
|
2397 |
+
searchTerms: []
|
2398 |
+
}, {
|
2399 |
+
title: "far fa-hand-spock",
|
2400 |
+
searchTerms: []
|
2401 |
+
}, {
|
2402 |
+
title: "fas fa-handshake",
|
2403 |
+
searchTerms: []
|
2404 |
+
}, {
|
2405 |
+
title: "far fa-handshake",
|
2406 |
+
searchTerms: []
|
2407 |
+
}, {
|
2408 |
+
title: "fas fa-hashtag",
|
2409 |
+
searchTerms: []
|
2410 |
+
}, {
|
2411 |
+
title: "fas fa-hdd",
|
2412 |
+
searchTerms: [ "harddrive", "hard drive", "storage", "save" ]
|
2413 |
+
}, {
|
2414 |
+
title: "far fa-hdd",
|
2415 |
+
searchTerms: [ "harddrive", "hard drive", "storage", "save" ]
|
2416 |
+
}, {
|
2417 |
+
title: "fas fa-heading",
|
2418 |
+
searchTerms: [ "header", "header" ]
|
2419 |
+
}, {
|
2420 |
+
title: "fas fa-headphones",
|
2421 |
+
searchTerms: [ "sound", "listen", "music", "audio" ]
|
2422 |
+
}, {
|
2423 |
+
title: "fas fa-heart",
|
2424 |
+
searchTerms: [ "love", "like", "favorite" ]
|
2425 |
+
}, {
|
2426 |
+
title: "far fa-heart",
|
2427 |
+
searchTerms: [ "love", "like", "favorite" ]
|
2428 |
+
}, {
|
2429 |
+
title: "fas fa-heartbeat",
|
2430 |
+
searchTerms: [ "ekg", "vital signs" ]
|
2431 |
+
}, {
|
2432 |
+
title: "fab fa-hips",
|
2433 |
+
searchTerms: []
|
2434 |
+
}, {
|
2435 |
+
title: "fab fa-hire-a-helper",
|
2436 |
+
searchTerms: []
|
2437 |
+
}, {
|
2438 |
+
title: "fas fa-history",
|
2439 |
+
searchTerms: []
|
2440 |
+
}, {
|
2441 |
+
title: "fas fa-hockey-puck",
|
2442 |
+
searchTerms: []
|
2443 |
+
}, {
|
2444 |
+
title: "fas fa-home",
|
2445 |
+
searchTerms: [ "main", "house" ]
|
2446 |
+
}, {
|
2447 |
+
title: "fab fa-hooli",
|
2448 |
+
searchTerms: []
|
2449 |
+
}, {
|
2450 |
+
title: "fas fa-hospital",
|
2451 |
+
searchTerms: [ "building", "medical center", "emergency room" ]
|
2452 |
+
}, {
|
2453 |
+
title: "far fa-hospital",
|
2454 |
+
searchTerms: [ "building", "medical center", "emergency room" ]
|
2455 |
+
}, {
|
2456 |
+
title: "fas fa-hospital-symbol",
|
2457 |
+
searchTerms: []
|
2458 |
+
}, {
|
2459 |
+
title: "fab fa-hotjar",
|
2460 |
+
searchTerms: []
|
2461 |
+
}, {
|
2462 |
+
title: "fas fa-hourglass",
|
2463 |
+
searchTerms: []
|
2464 |
+
}, {
|
2465 |
+
title: "far fa-hourglass",
|
2466 |
+
searchTerms: []
|
2467 |
+
}, {
|
2468 |
+
title: "fas fa-hourglass-end",
|
2469 |
+
searchTerms: []
|
2470 |
+
}, {
|
2471 |
+
title: "fas fa-hourglass-half",
|
2472 |
+
searchTerms: []
|
2473 |
+
}, {
|
2474 |
+
title: "fas fa-hourglass-start",
|
2475 |
+
searchTerms: []
|
2476 |
+
}, {
|
2477 |
+
title: "fab fa-houzz",
|
2478 |
+
searchTerms: []
|
2479 |
+
}, {
|
2480 |
+
title: "fab fa-html5",
|
2481 |
+
searchTerms: []
|
2482 |
+
}, {
|
2483 |
+
title: "fab fa-hubspot",
|
2484 |
+
searchTerms: []
|
2485 |
+
}, {
|
2486 |
+
title: "fas fa-i-cursor",
|
2487 |
+
searchTerms: []
|
2488 |
+
}, {
|
2489 |
+
title: "fas fa-id-badge",
|
2490 |
+
searchTerms: []
|
2491 |
+
}, {
|
2492 |
+
title: "far fa-id-badge",
|
2493 |
+
searchTerms: []
|
2494 |
+
}, {
|
2495 |
+
title: "fas fa-id-card",
|
2496 |
+
searchTerms: []
|
2497 |
+
}, {
|
2498 |
+
title: "far fa-id-card",
|
2499 |
+
searchTerms: []
|
2500 |
+
}, {
|
2501 |
+
title: "fas fa-image",
|
2502 |
+
searchTerms: [ "photo", "album", "picture", "picture" ]
|
2503 |
+
}, {
|
2504 |
+
title: "far fa-image",
|
2505 |
+
searchTerms: [ "photo", "album", "picture", "picture" ]
|
2506 |
+
}, {
|
2507 |
+
title: "fas fa-images",
|
2508 |
+
searchTerms: [ "photo", "album", "picture" ]
|
2509 |
+
}, {
|
2510 |
+
title: "far fa-images",
|
2511 |
+
searchTerms: [ "photo", "album", "picture" ]
|
2512 |
+
}, {
|
2513 |
+
title: "fab fa-imdb",
|
2514 |
+
searchTerms: []
|
2515 |
+
}, {
|
2516 |
+
title: "fas fa-inbox",
|
2517 |
+
searchTerms: []
|
2518 |
+
}, {
|
2519 |
+
title: "fas fa-indent",
|
2520 |
+
searchTerms: []
|
2521 |
+
}, {
|
2522 |
+
title: "fas fa-industry",
|
2523 |
+
searchTerms: [ "factory" ]
|
2524 |
+
}, {
|
2525 |
+
title: "fas fa-info",
|
2526 |
+
searchTerms: [ "help", "information", "more", "details" ]
|
2527 |
+
}, {
|
2528 |
+
title: "fas fa-info-circle",
|
2529 |
+
searchTerms: [ "help", "information", "more", "details" ]
|
2530 |
+
}, {
|
2531 |
+
title: "fab fa-instagram",
|
2532 |
+
searchTerms: []
|
2533 |
+
}, {
|
2534 |
+
title: "fab fa-internet-explorer",
|
2535 |
+
searchTerms: [ "browser", "ie" ]
|
2536 |
+
}, {
|
2537 |
+
title: "fab fa-ioxhost",
|
2538 |
+
searchTerms: []
|
2539 |
+
}, {
|
2540 |
+
title: "fas fa-italic",
|
2541 |
+
searchTerms: [ "italics" ]
|
2542 |
+
}, {
|
2543 |
+
title: "fab fa-itunes",
|
2544 |
+
searchTerms: []
|
2545 |
+
}, {
|
2546 |
+
title: "fab fa-itunes-note",
|
2547 |
+
searchTerms: []
|
2548 |
+
}, {
|
2549 |
+
title: "fab fa-jenkins",
|
2550 |
+
searchTerms: []
|
2551 |
+
}, {
|
2552 |
+
title: "fab fa-joget",
|
2553 |
+
searchTerms: []
|
2554 |
+
}, {
|
2555 |
+
title: "fab fa-joomla",
|
2556 |
+
searchTerms: []
|
2557 |
+
}, {
|
2558 |
+
title: "fab fa-js",
|
2559 |
+
searchTerms: []
|
2560 |
+
}, {
|
2561 |
+
title: "fab fa-js-square",
|
2562 |
+
searchTerms: []
|
2563 |
+
}, {
|
2564 |
+
title: "fab fa-jsfiddle",
|
2565 |
+
searchTerms: []
|
2566 |
+
}, {
|
2567 |
+
title: "fas fa-key",
|
2568 |
+
searchTerms: [ "unlock", "password" ]
|
2569 |
+
}, {
|
2570 |
+
title: "fas fa-keyboard",
|
2571 |
+
searchTerms: [ "type", "input" ]
|
2572 |
+
}, {
|
2573 |
+
title: "far fa-keyboard",
|
2574 |
+
searchTerms: [ "type", "input" ]
|
2575 |
+
}, {
|
2576 |
+
title: "fab fa-keycdn",
|
2577 |
+
searchTerms: []
|
2578 |
+
}, {
|
2579 |
+
title: "fab fa-kickstarter",
|
2580 |
+
searchTerms: []
|
2581 |
+
}, {
|
2582 |
+
title: "fab fa-kickstarter-k",
|
2583 |
+
searchTerms: []
|
2584 |
+
}, {
|
2585 |
+
title: "fab fa-korvue",
|
2586 |
+
searchTerms: []
|
2587 |
+
}, {
|
2588 |
+
title: "fas fa-language",
|
2589 |
+
searchTerms: []
|
2590 |
+
}, {
|
2591 |
+
title: "fas fa-laptop",
|
2592 |
+
searchTerms: [ "demo", "computer", "device", "pc" ]
|
2593 |
+
}, {
|
2594 |
+
title: "fab fa-laravel",
|
2595 |
+
searchTerms: []
|
2596 |
+
}, {
|
2597 |
+
title: "fab fa-lastfm",
|
2598 |
+
searchTerms: []
|
2599 |
+
}, {
|
2600 |
+
title: "fab fa-lastfm-square",
|
2601 |
+
searchTerms: []
|
2602 |
+
}, {
|
2603 |
+
title: "fas fa-leaf",
|
2604 |
+
searchTerms: [ "eco", "nature", "plant" ]
|
2605 |
+
}, {
|
2606 |
+
title: "fab fa-leanpub",
|
2607 |
+
searchTerms: []
|
2608 |
+
}, {
|
2609 |
+
title: "fas fa-lemon",
|
2610 |
+
searchTerms: [ "food" ]
|
2611 |
+
}, {
|
2612 |
+
title: "far fa-lemon",
|
2613 |
+
searchTerms: [ "food" ]
|
2614 |
+
}, {
|
2615 |
+
title: "fab fa-less",
|
2616 |
+
searchTerms: []
|
2617 |
+
}, {
|
2618 |
+
title: "fas fa-level-down-alt",
|
2619 |
+
searchTerms: [ "level-down" ]
|
2620 |
+
}, {
|
2621 |
+
title: "fas fa-level-up-alt",
|
2622 |
+
searchTerms: [ "level-up" ]
|
2623 |
+
}, {
|
2624 |
+
title: "fas fa-life-ring",
|
2625 |
+
searchTerms: [ "support" ]
|
2626 |
+
}, {
|
2627 |
+
title: "far fa-life-ring",
|
2628 |
+
searchTerms: [ "support" ]
|
2629 |
+
}, {
|
2630 |
+
title: "fas fa-lightbulb",
|
2631 |
+
searchTerms: [ "idea", "inspiration" ]
|
2632 |
+
}, {
|
2633 |
+
title: "far fa-lightbulb",
|
2634 |
+
searchTerms: [ "idea", "inspiration" ]
|
2635 |
+
}, {
|
2636 |
+
title: "fab fa-line",
|
2637 |
+
searchTerms: []
|
2638 |
+
}, {
|
2639 |
+
title: "fas fa-link",
|
2640 |
+
searchTerms: [ "chain" ]
|
2641 |
+
}, {
|
2642 |
+
title: "fab fa-linkedin",
|
2643 |
+
searchTerms: [ "linkedin-square" ]
|
2644 |
+
}, {
|
2645 |
+
title: "fab fa-linkedin-in",
|
2646 |
+
searchTerms: [ "linkedin" ]
|
2647 |
+
}, {
|
2648 |
+
title: "fab fa-linode",
|
2649 |
+
searchTerms: []
|
2650 |
+
}, {
|
2651 |
+
title: "fab fa-linux",
|
2652 |
+
searchTerms: [ "tux" ]
|
2653 |
+
}, {
|
2654 |
+
title: "fas fa-lira-sign",
|
2655 |
+
searchTerms: [ "try", "turkish", "try" ]
|
2656 |
+
}, {
|
2657 |
+
title: "fas fa-list",
|
2658 |
+
searchTerms: [ "ul", "ol", "checklist", "finished", "completed", "done", "todo" ]
|
2659 |
+
}, {
|
2660 |
+
title: "fas fa-list-alt",
|
2661 |
+
searchTerms: [ "ul", "ol", "checklist", "finished", "completed", "done", "todo" ]
|
2662 |
+
}, {
|
2663 |
+
title: "far fa-list-alt",
|
2664 |
+
searchTerms: [ "ul", "ol", "checklist", "finished", "completed", "done", "todo" ]
|
2665 |
+
}, {
|
2666 |
+
title: "fas fa-list-ol",
|
2667 |
+
searchTerms: [ "ul", "ol", "checklist", "list", "todo", "list", "numbers" ]
|
2668 |
+
}, {
|
2669 |
+
title: "fas fa-list-ul",
|
2670 |
+
searchTerms: [ "ul", "ol", "checklist", "todo", "list" ]
|
2671 |
+
}, {
|
2672 |
+
title: "fas fa-location-arrow",
|
2673 |
+
searchTerms: [ "map", "coordinates", "location", "address", "place", "where", "gps" ]
|
2674 |
+
}, {
|
2675 |
+
title: "fas fa-lock",
|
2676 |
+
searchTerms: [ "protect", "admin", "security" ]
|
2677 |
+
}, {
|
2678 |
+
title: "fas fa-lock-open",
|
2679 |
+
searchTerms: [ "protect", "admin", "password", "lock", "open" ]
|
2680 |
+
}, {
|
2681 |
+
title: "fas fa-long-arrow-alt-down",
|
2682 |
+
searchTerms: [ "long-arrow-down" ]
|
2683 |
+
}, {
|
2684 |
+
title: "fas fa-long-arrow-alt-left",
|
2685 |
+
searchTerms: [ "previous", "back", "long-arrow-left" ]
|
2686 |
+
}, {
|
2687 |
+
title: "fas fa-long-arrow-alt-right",
|
2688 |
+
searchTerms: [ "long-arrow-right" ]
|
2689 |
+
}, {
|
2690 |
+
title: "fas fa-long-arrow-alt-up",
|
2691 |
+
searchTerms: [ "long-arrow-up" ]
|
2692 |
+
}, {
|
2693 |
+
title: "fas fa-low-vision",
|
2694 |
+
searchTerms: []
|
2695 |
+
}, {
|
2696 |
+
title: "fab fa-lyft",
|
2697 |
+
searchTerms: []
|
2698 |
+
}, {
|
2699 |
+
title: "fab fa-magento",
|
2700 |
+
searchTerms: []
|
2701 |
+
}, {
|
2702 |
+
title: "fas fa-magic",
|
2703 |
+
searchTerms: [ "wizard", "automatic", "autocomplete" ]
|
2704 |
+
}, {
|
2705 |
+
title: "fas fa-magnet",
|
2706 |
+
searchTerms: []
|
2707 |
+
}, {
|
2708 |
+
title: "fas fa-male",
|
2709 |
+
searchTerms: [ "man", "human", "user", "person", "profile" ]
|
2710 |
+
}, {
|
2711 |
+
title: "fas fa-map",
|
2712 |
+
searchTerms: []
|
2713 |
+
}, {
|
2714 |
+
title: "far fa-map",
|
2715 |
+
searchTerms: []
|
2716 |
+
}, {
|
2717 |
+
title: "fas fa-map-marker",
|
2718 |
+
searchTerms: [ "map", "pin", "location", "coordinates", "localize", "address", "travel", "where", "place", "gps" ]
|
2719 |
+
}, {
|
2720 |
+
title: "fas fa-map-marker-alt",
|
2721 |
+
searchTerms: [ "map-marker", "gps" ]
|
2722 |
+
}, {
|
2723 |
+
title: "fas fa-map-pin",
|
2724 |
+
searchTerms: []
|
2725 |
+
}, {
|
2726 |
+
title: "fas fa-map-signs",
|
2727 |
+
searchTerms: []
|
2728 |
+
}, {
|
2729 |
+
title: "fas fa-mars",
|
2730 |
+
searchTerms: [ "male" ]
|
2731 |
+
}, {
|
2732 |
+
title: "fas fa-mars-double",
|
2733 |
+
searchTerms: []
|
2734 |
+
}, {
|
2735 |
+
title: "fas fa-mars-stroke",
|
2736 |
+
searchTerms: []
|
2737 |
+
}, {
|
2738 |
+
title: "fas fa-mars-stroke-h",
|
2739 |
+
searchTerms: []
|
2740 |
+
}, {
|
2741 |
+
title: "fas fa-mars-stroke-v",
|
2742 |
+
searchTerms: []
|
2743 |
+
}, {
|
2744 |
+
title: "fab fa-maxcdn",
|
2745 |
+
searchTerms: []
|
2746 |
+
}, {
|
2747 |
+
title: "fab fa-medapps",
|
2748 |
+
searchTerms: []
|
2749 |
+
}, {
|
2750 |
+
title: "fab fa-medium",
|
2751 |
+
searchTerms: []
|
2752 |
+
}, {
|
2753 |
+
title: "fab fa-medium-m",
|
2754 |
+
searchTerms: []
|
2755 |
+
}, {
|
2756 |
+
title: "fas fa-medkit",
|
2757 |
+
searchTerms: [ "first aid", "firstaid", "help", "support", "health" ]
|
2758 |
+
}, {
|
2759 |
+
title: "fab fa-medrt",
|
2760 |
+
searchTerms: []
|
2761 |
+
}, {
|
2762 |
+
title: "fab fa-meetup",
|
2763 |
+
searchTerms: []
|
2764 |
+
}, {
|
2765 |
+
title: "fas fa-meh",
|
2766 |
+
searchTerms: [ "face", "emoticon", "rating", "neutral" ]
|
2767 |
+
}, {
|
2768 |
+
title: "far fa-meh",
|
2769 |
+
searchTerms: [ "face", "emoticon", "rating", "neutral" ]
|
2770 |
+
}, {
|
2771 |
+
title: "fas fa-mercury",
|
2772 |
+
searchTerms: [ "transgender" ]
|
2773 |
+
}, {
|
2774 |
+
title: "fas fa-microchip",
|
2775 |
+
searchTerms: []
|
2776 |
+
}, {
|
2777 |
+
title: "fas fa-microphone",
|
2778 |
+
searchTerms: [ "record", "voice", "sound" ]
|
2779 |
+
}, {
|
2780 |
+
title: "fas fa-microphone-slash",
|
2781 |
+
searchTerms: [ "record", "voice", "sound", "mute" ]
|
2782 |
+
}, {
|
2783 |
+
title: "fab fa-microsoft",
|
2784 |
+
searchTerms: []
|
2785 |
+
}, {
|
2786 |
+
title: "fas fa-minus",
|
2787 |
+
searchTerms: [ "hide", "minify", "delete", "remove", "trash", "hide", "collapse" ]
|
2788 |
+
}, {
|
2789 |
+
title: "fas fa-minus-circle",
|
2790 |
+
searchTerms: [ "delete", "remove", "trash", "hide" ]
|
2791 |
+
}, {
|
2792 |
+
title: "fas fa-minus-square",
|
2793 |
+
searchTerms: [ "hide", "minify", "delete", "remove", "trash", "hide", "collapse" ]
|
2794 |
+
}, {
|
2795 |
+
title: "far fa-minus-square",
|
2796 |
+
searchTerms: [ "hide", "minify", "delete", "remove", "trash", "hide", "collapse" ]
|
2797 |
+
}, {
|
2798 |
+
title: "fab fa-mix",
|
2799 |
+
searchTerms: []
|
2800 |
+
}, {
|
2801 |
+
title: "fab fa-mixcloud",
|
2802 |
+
searchTerms: []
|
2803 |
+
}, {
|
2804 |
+
title: "fab fa-mizuni",
|
2805 |
+
searchTerms: []
|
2806 |
+
}, {
|
2807 |
+
title: "fas fa-mobile",
|
2808 |
+
searchTerms: [ "cell phone", "cellphone", "text", "call", "iphone", "number", "telephone" ]
|
2809 |
+
}, {
|
2810 |
+
title: "fas fa-mobile-alt",
|
2811 |
+
searchTerms: [ "mobile" ]
|
2812 |
+
}, {
|
2813 |
+
title: "fab fa-modx",
|
2814 |
+
searchTerms: []
|
2815 |
+
}, {
|
2816 |
+
title: "fab fa-monero",
|
2817 |
+
searchTerms: []
|
2818 |
+
}, {
|
2819 |
+
title: "fas fa-money-bill-alt",
|
2820 |
+
searchTerms: [ "cash", "money", "buy", "checkout", "purchase", "payment", "price" ]
|
2821 |
+
}, {
|
2822 |
+
title: "far fa-money-bill-alt",
|
2823 |
+
searchTerms: [ "cash", "money", "buy", "checkout", "purchase", "payment", "price" ]
|
2824 |
+
}, {
|
2825 |
+
title: "fas fa-moon",
|
2826 |
+
searchTerms: [ "night", "darker", "contrast" ]
|
2827 |
+
}, {
|
2828 |
+
title: "far fa-moon",
|
2829 |
+
searchTerms: [ "night", "darker", "contrast" ]
|
2830 |
+
}, {
|
2831 |
+
title: "fas fa-motorcycle",
|
2832 |
+
searchTerms: [ "vehicle", "bike" ]
|
2833 |
+
}, {
|
2834 |
+
title: "fas fa-mouse-pointer",
|
2835 |
+
searchTerms: [ "select" ]
|
2836 |
+
}, {
|
2837 |
+
title: "fas fa-music",
|
2838 |
+
searchTerms: [ "note", "sound" ]
|
2839 |
+
}, {
|
2840 |
+
title: "fab fa-napster",
|
2841 |
+
searchTerms: []
|
2842 |
+
}, {
|
2843 |
+
title: "fas fa-neuter",
|
2844 |
+
searchTerms: []
|
2845 |
+
}, {
|
2846 |
+
title: "fas fa-newspaper",
|
2847 |
+
searchTerms: [ "press", "article" ]
|
2848 |
+
}, {
|
2849 |
+
title: "far fa-newspaper",
|
2850 |
+
searchTerms: [ "press", "article" ]
|
2851 |
+
}, {
|
2852 |
+
title: "fab fa-nintendo-switch",
|
2853 |
+
searchTerms: []
|
2854 |
+
}, {
|
2855 |
+
title: "fab fa-node",
|
2856 |
+
searchTerms: []
|
2857 |
+
}, {
|
2858 |
+
title: "fab fa-node-js",
|
2859 |
+
searchTerms: []
|
2860 |
+
}, {
|
2861 |
+
title: "fab fa-npm",
|
2862 |
+
searchTerms: []
|
2863 |
+
}, {
|
2864 |
+
title: "fab fa-ns8",
|
2865 |
+
searchTerms: []
|
2866 |
+
}, {
|
2867 |
+
title: "fab fa-nutritionix",
|
2868 |
+
searchTerms: []
|
2869 |
+
}, {
|
2870 |
+
title: "fas fa-object-group",
|
2871 |
+
searchTerms: [ "design" ]
|
2872 |
+
}, {
|
2873 |
+
title: "far fa-object-group",
|
2874 |
+
searchTerms: [ "design" ]
|
2875 |
+
}, {
|
2876 |
+
title: "fas fa-object-ungroup",
|
2877 |
+
searchTerms: [ "design" ]
|
2878 |
+
}, {
|
2879 |
+
title: "far fa-object-ungroup",
|
2880 |
+
searchTerms: [ "design" ]
|
2881 |
+
}, {
|
2882 |
+
title: "fab fa-odnoklassniki",
|
2883 |
+
searchTerms: []
|
2884 |
+
}, {
|
2885 |
+
title: "fab fa-odnoklassniki-square",
|
2886 |
+
searchTerms: []
|
2887 |
+
}, {
|
2888 |
+
title: "fab fa-opencart",
|
2889 |
+
searchTerms: []
|
2890 |
+
}, {
|
2891 |
+
title: "fab fa-openid",
|
2892 |
+
searchTerms: []
|
2893 |
+
}, {
|
2894 |
+
title: "fab fa-opera",
|
2895 |
+
searchTerms: []
|
2896 |
+
}, {
|
2897 |
+
title: "fab fa-optin-monster",
|
2898 |
+
searchTerms: []
|
2899 |
+
}, {
|
2900 |
+
title: "fab fa-osi",
|
2901 |
+
searchTerms: []
|
2902 |
+
}, {
|
2903 |
+
title: "fas fa-outdent",
|
2904 |
+
searchTerms: []
|
2905 |
+
}, {
|
2906 |
+
title: "fab fa-page4",
|
2907 |
+
searchTerms: []
|
2908 |
+
}, {
|
2909 |
+
title: "fab fa-pagelines",
|
2910 |
+
searchTerms: [ "leaf", "leaves", "tree", "plant", "eco", "nature" ]
|
2911 |
+
}, {
|
2912 |
+
title: "fas fa-paint-brush",
|
2913 |
+
searchTerms: []
|
2914 |
+
}, {
|
2915 |
+
title: "fab fa-palfed",
|
2916 |
+
searchTerms: []
|
2917 |
+
}, {
|
2918 |
+
title: "fas fa-pallet",
|
2919 |
+
searchTerms: []
|
2920 |
+
}, {
|
2921 |
+
title: "fas fa-paper-plane",
|
2922 |
+
searchTerms: []
|
2923 |
+
}, {
|
2924 |
+
title: "far fa-paper-plane",
|
2925 |
+
searchTerms: []
|
2926 |
+
}, {
|
2927 |
+
title: "fas fa-paperclip",
|
2928 |
+
searchTerms: [ "attachment" ]
|
2929 |
+
}, {
|
2930 |
+
title: "fas fa-paragraph",
|
2931 |
+
searchTerms: []
|
2932 |
+
}, {
|
2933 |
+
title: "fas fa-paste",
|
2934 |
+
searchTerms: [ "copy", "clipboard" ]
|
2935 |
+
}, {
|
2936 |
+
title: "fab fa-patreon",
|
2937 |
+
searchTerms: []
|
2938 |
+
}, {
|
2939 |
+
title: "fas fa-pause",
|
2940 |
+
searchTerms: [ "wait" ]
|
2941 |
+
}, {
|
2942 |
+
title: "fas fa-pause-circle",
|
2943 |
+
searchTerms: []
|
2944 |
+
}, {
|
2945 |
+
title: "far fa-pause-circle",
|
2946 |
+
searchTerms: []
|
2947 |
+
}, {
|
2948 |
+
title: "fas fa-paw",
|
2949 |
+
searchTerms: [ "pet" ]
|
2950 |
+
}, {
|
2951 |
+
title: "fab fa-paypal",
|
2952 |
+
searchTerms: []
|
2953 |
+
}, {
|
2954 |
+
title: "fas fa-pen-square",
|
2955 |
+
searchTerms: [ "write", "edit", "update", "pencil-square" ]
|
2956 |
+
}, {
|
2957 |
+
title: "fas fa-pencil-alt",
|
2958 |
+
searchTerms: [ "write", "edit", "update", "pencil", "design" ]
|
2959 |
+
}, {
|
2960 |
+
title: "fas fa-percent",
|
2961 |
+
searchTerms: []
|
2962 |
+
}, {
|
2963 |
+
title: "fab fa-periscope",
|
2964 |
+
searchTerms: []
|
2965 |
+
}, {
|
2966 |
+
title: "fab fa-phabricator",
|
2967 |
+
searchTerms: []
|
2968 |
+
}, {
|
2969 |
+
title: "fab fa-phoenix-framework",
|
2970 |
+
searchTerms: []
|
2971 |
+
}, {
|
2972 |
+
title: "fas fa-phone",
|
2973 |
+
searchTerms: [ "call", "voice", "number", "support", "earphone", "telephone" ]
|
2974 |
+
}, {
|
2975 |
+
title: "fas fa-phone-square",
|
2976 |
+
searchTerms: [ "call", "voice", "number", "support", "telephone" ]
|
2977 |
+
}, {
|
2978 |
+
title: "fas fa-phone-volume",
|
2979 |
+
searchTerms: [ "telephone", "volume-control-phone" ]
|
2980 |
+
}, {
|
2981 |
+
title: "fab fa-php",
|
2982 |
+
searchTerms: []
|
2983 |
+
}, {
|
2984 |
+
title: "fab fa-pied-piper",
|
2985 |
+
searchTerms: []
|
2986 |
+
}, {
|
2987 |
+
title: "fab fa-pied-piper-alt",
|
2988 |
+
searchTerms: []
|
2989 |
+
}, {
|
2990 |
+
title: "fab fa-pied-piper-pp",
|
2991 |
+
searchTerms: []
|
2992 |
+
}, {
|
2993 |
+
title: "fas fa-pills",
|
2994 |
+
searchTerms: [ "medicine", "drugs" ]
|
2995 |
+
}, {
|
2996 |
+
title: "fab fa-pinterest",
|
2997 |
+
searchTerms: []
|
2998 |
+
}, {
|
2999 |
+
title: "fab fa-pinterest-p",
|
3000 |
+
searchTerms: []
|
3001 |
+
}, {
|
3002 |
+
title: "fab fa-pinterest-square",
|
3003 |
+
searchTerms: []
|
3004 |
+
}, {
|
3005 |
+
title: "fas fa-plane",
|
3006 |
+
searchTerms: [ "travel", "trip", "location", "destination", "airplane", "fly", "mode" ]
|
3007 |
+
}, {
|
3008 |
+
title: "fas fa-play",
|
3009 |
+
searchTerms: [ "start", "playing", "music", "sound" ]
|
3010 |
+
}, {
|
3011 |
+
title: "fas fa-play-circle",
|
3012 |
+
searchTerms: [ "start", "playing" ]
|
3013 |
+
}, {
|
3014 |
+
title: "far fa-play-circle",
|
3015 |
+
searchTerms: [ "start", "playing" ]
|
3016 |
+
}, {
|
3017 |
+
title: "fab fa-playstation",
|
3018 |
+
searchTerms: []
|
3019 |
+
}, {
|
3020 |
+
title: "fas fa-plug",
|
3021 |
+
searchTerms: [ "power", "connect" ]
|
3022 |
+
}, {
|
3023 |
+
title: "fas fa-plus",
|
3024 |
+
searchTerms: [ "add", "new", "create", "expand" ]
|
3025 |
+
}, {
|
3026 |
+
title: "fas fa-plus-circle",
|
3027 |
+
searchTerms: [ "add", "new", "create", "expand" ]
|
3028 |
+
}, {
|
3029 |
+
title: "fas fa-plus-square",
|
3030 |
+
searchTerms: [ "add", "new", "create", "expand" ]
|
3031 |
+
}, {
|
3032 |
+
title: "far fa-plus-square",
|
3033 |
+
searchTerms: [ "add", "new", "create", "expand" ]
|
3034 |
+
}, {
|
3035 |
+
title: "fas fa-podcast",
|
3036 |
+
searchTerms: []
|
3037 |
+
}, {
|
3038 |
+
title: "fas fa-pound-sign",
|
3039 |
+
searchTerms: [ "gbp", "gbp" ]
|
3040 |
+
}, {
|
3041 |
+
title: "fas fa-power-off",
|
3042 |
+
searchTerms: [ "on" ]
|
3043 |
+
}, {
|
3044 |
+
title: "fas fa-print",
|
3045 |
+
searchTerms: []
|
3046 |
+
}, {
|
3047 |
+
title: "fab fa-product-hunt",
|
3048 |
+
searchTerms: []
|
3049 |
+
}, {
|
3050 |
+
title: "fab fa-pushed",
|
3051 |
+
searchTerms: []
|
3052 |
+
}, {
|
3053 |
+
title: "fas fa-puzzle-piece",
|
3054 |
+
searchTerms: [ "addon", "add-on", "section" ]
|
3055 |
+
}, {
|
3056 |
+
title: "fab fa-python",
|
3057 |
+
searchTerms: []
|
3058 |
+
}, {
|
3059 |
+
title: "fab fa-qq",
|
3060 |
+
searchTerms: []
|
3061 |
+
}, {
|
3062 |
+
title: "fas fa-qrcode",
|
3063 |
+
searchTerms: [ "scan" ]
|
3064 |
+
}, {
|
3065 |
+
title: "fas fa-question",
|
3066 |
+
searchTerms: [ "help", "information", "unknown", "support" ]
|
3067 |
+
}, {
|
3068 |
+
title: "fas fa-question-circle",
|
3069 |
+
searchTerms: [ "help", "information", "unknown", "support" ]
|
3070 |
+
}, {
|
3071 |
+
title: "far fa-question-circle",
|
3072 |
+
searchTerms: [ "help", "information", "unknown", "support" ]
|
3073 |
+
}, {
|
3074 |
+
title: "fas fa-quidditch",
|
3075 |
+
searchTerms: []
|
3076 |
+
}, {
|
3077 |
+
title: "fab fa-quinscape",
|
3078 |
+
searchTerms: []
|
3079 |
+
}, {
|
3080 |
+
title: "fab fa-quora",
|
3081 |
+
searchTerms: []
|
3082 |
+
}, {
|
3083 |
+
title: "fas fa-quote-left",
|
3084 |
+
searchTerms: []
|
3085 |
+
}, {
|
3086 |
+
title: "fas fa-quote-right",
|
3087 |
+
searchTerms: []
|
3088 |
+
}, {
|
3089 |
+
title: "fas fa-random",
|
3090 |
+
searchTerms: [ "sort", "shuffle" ]
|
3091 |
+
}, {
|
3092 |
+
title: "fab fa-ravelry",
|
3093 |
+
searchTerms: []
|
3094 |
+
}, {
|
3095 |
+
title: "fab fa-react",
|
3096 |
+
searchTerms: []
|
3097 |
+
}, {
|
3098 |
+
title: "fab fa-rebel",
|
3099 |
+
searchTerms: []
|
3100 |
+
}, {
|
3101 |
+
title: "fas fa-recycle",
|
3102 |
+
searchTerms: []
|
3103 |
+
}, {
|
3104 |
+
title: "fab fa-red-river",
|
3105 |
+
searchTerms: []
|
3106 |
+
}, {
|
3107 |
+
title: "fab fa-reddit",
|
3108 |
+
searchTerms: []
|
3109 |
+
}, {
|
3110 |
+
title: "fab fa-reddit-alien",
|
3111 |
+
searchTerms: []
|
3112 |
+
}, {
|
3113 |
+
title: "fab fa-reddit-square",
|
3114 |
+
searchTerms: []
|
3115 |
+
}, {
|
3116 |
+
title: "fas fa-redo",
|
3117 |
+
searchTerms: [ "forward", "repeat", "repeat" ]
|
3118 |
+
}, {
|
3119 |
+
title: "fas fa-redo-alt",
|
3120 |
+
searchTerms: [ "forward", "repeat" ]
|
3121 |
+
}, {
|
3122 |
+
title: "fas fa-registered",
|
3123 |
+
searchTerms: []
|
3124 |
+
}, {
|
3125 |
+
title: "far fa-registered",
|
3126 |
+
searchTerms: []
|
3127 |
+
}, {
|
3128 |
+
title: "fab fa-rendact",
|
3129 |
+
searchTerms: []
|
3130 |
+
}, {
|
3131 |
+
title: "fab fa-renren",
|
3132 |
+
searchTerms: []
|
3133 |
+
}, {
|
3134 |
+
title: "fas fa-reply",
|
3135 |
+
searchTerms: []
|
3136 |
+
}, {
|
3137 |
+
title: "fas fa-reply-all",
|
3138 |
+
searchTerms: []
|
3139 |
+
}, {
|
3140 |
+
title: "fab fa-replyd",
|
3141 |
+
searchTerms: []
|
3142 |
+
}, {
|
3143 |
+
title: "fab fa-resolving",
|
3144 |
+
searchTerms: []
|
3145 |
+
}, {
|
3146 |
+
title: "fas fa-retweet",
|
3147 |
+
searchTerms: [ "refresh", "reload", "share", "swap" ]
|
3148 |
+
}, {
|
3149 |
+
title: "fas fa-road",
|
3150 |
+
searchTerms: [ "street" ]
|
3151 |
+
}, {
|
3152 |
+
title: "fas fa-rocket",
|
3153 |
+
searchTerms: [ "app" ]
|
3154 |
+
}, {
|
3155 |
+
title: "fab fa-rocketchat",
|
3156 |
+
searchTerms: []
|
3157 |
+
}, {
|
3158 |
+
title: "fab fa-rockrms",
|
3159 |
+
searchTerms: []
|
3160 |
+
}, {
|
3161 |
+
title: "fas fa-rss",
|
3162 |
+
searchTerms: [ "blog" ]
|
3163 |
+
}, {
|
3164 |
+
title: "fas fa-rss-square",
|
3165 |
+
searchTerms: [ "feed", "blog" ]
|
3166 |
+
}, {
|
3167 |
+
title: "fas fa-ruble-sign",
|
3168 |
+
searchTerms: [ "rub", "rub" ]
|
3169 |
+
}, {
|
3170 |
+
title: "fas fa-rupee-sign",
|
3171 |
+
searchTerms: [ "indian", "inr" ]
|
3172 |
+
}, {
|
3173 |
+
title: "fab fa-safari",
|
3174 |
+
searchTerms: [ "browser" ]
|
3175 |
+
}, {
|
3176 |
+
title: "fab fa-sass",
|
3177 |
+
searchTerms: []
|
3178 |
+
}, {
|
3179 |
+
title: "fas fa-save",
|
3180 |
+
searchTerms: [ "floppy", "floppy-o" ]
|
3181 |
+
}, {
|
3182 |
+
title: "far fa-save",
|
3183 |
+
searchTerms: [ "floppy", "floppy-o" ]
|
3184 |
+
}, {
|
3185 |
+
title: "fab fa-schlix",
|
3186 |
+
searchTerms: []
|
3187 |
+
}, {
|
3188 |
+
title: "fab fa-scribd",
|
3189 |
+
searchTerms: []
|
3190 |
+
}, {
|
3191 |
+
title: "fas fa-search",
|
3192 |
+
searchTerms: [ "magnify", "zoom", "enlarge", "bigger" ]
|
3193 |
+
}, {
|
3194 |
+
title: "fas fa-search-minus",
|
3195 |
+
searchTerms: [ "magnify", "minify", "zoom", "smaller" ]
|
3196 |
+
}, {
|
3197 |
+
title: "fas fa-search-plus",
|
3198 |
+
searchTerms: [ "magnify", "zoom", "enlarge", "bigger" ]
|
3199 |
+
}, {
|
3200 |
+
title: "fab fa-searchengin",
|
3201 |
+
searchTerms: []
|
3202 |
+
}, {
|
3203 |
+
title: "fab fa-sellcast",
|
3204 |
+
searchTerms: [ "eercast" ]
|
3205 |
+
}, {
|
3206 |
+
title: "fab fa-sellsy",
|
3207 |
+
searchTerms: []
|
3208 |
+
}, {
|
3209 |
+
title: "fas fa-server",
|
3210 |
+
searchTerms: []
|
3211 |
+
}, {
|
3212 |
+
title: "fab fa-servicestack",
|
3213 |
+
searchTerms: []
|
3214 |
+
}, {
|
3215 |
+
title: "fas fa-share",
|
3216 |
+
searchTerms: []
|
3217 |
+
}, {
|
3218 |
+
title: "fas fa-share-alt",
|
3219 |
+
searchTerms: []
|
3220 |
+
}, {
|
3221 |
+
title: "fas fa-share-alt-square",
|
3222 |
+
searchTerms: []
|
3223 |
+
}, {
|
3224 |
+
title: "fas fa-share-square",
|
3225 |
+
searchTerms: [ "social", "send" ]
|
3226 |
+
}, {
|
3227 |
+
title: "far fa-share-square",
|
3228 |
+
searchTerms: [ "social", "send" ]
|
3229 |
+
}, {
|
3230 |
+
title: "fas fa-shekel-sign",
|
3231 |
+
searchTerms: [ "ils", "ils" ]
|
3232 |
+
}, {
|
3233 |
+
title: "fas fa-shield-alt",
|
3234 |
+
searchTerms: [ "shield" ]
|
3235 |
+
}, {
|
3236 |
+
title: "fas fa-ship",
|
3237 |
+
searchTerms: [ "boat", "sea" ]
|
3238 |
+
}, {
|
3239 |
+
title: "fas fa-shipping-fast",
|
3240 |
+
searchTerms: []
|
3241 |
+
}, {
|
3242 |
+
title: "fab fa-shirtsinbulk",
|
3243 |
+
searchTerms: []
|
3244 |
+
}, {
|
3245 |
+
title: "fas fa-shopping-bag",
|
3246 |
+
searchTerms: []
|
3247 |
+
}, {
|
3248 |
+
title: "fas fa-shopping-basket",
|
3249 |
+
searchTerms: []
|
3250 |
+
}, {
|
3251 |
+
title: "fas fa-shopping-cart",
|
3252 |
+
searchTerms: [ "checkout", "buy", "purchase", "payment" ]
|
3253 |
+
}, {
|
3254 |
+
title: "fas fa-shower",
|
3255 |
+
searchTerms: []
|
3256 |
+
}, {
|
3257 |
+
title: "fas fa-sign-in-alt",
|
3258 |
+
searchTerms: [ "enter", "join", "log in", "login", "sign up", "sign in", "signin", "signup", "arrow", "sign-in" ]
|
3259 |
+
}, {
|
3260 |
+
title: "fas fa-sign-language",
|
3261 |
+
searchTerms: []
|
3262 |
+
}, {
|
3263 |
+
title: "fas fa-sign-out-alt",
|
3264 |
+
searchTerms: [ "log out", "logout", "leave", "exit", "arrow", "sign-out" ]
|
3265 |
+
}, {
|
3266 |
+
title: "fas fa-signal",
|
3267 |
+
searchTerms: [ "graph", "bars", "status" ]
|
3268 |
+
}, {
|
3269 |
+
title: "fab fa-simplybuilt",
|
3270 |
+
searchTerms: []
|
3271 |
+
}, {
|
3272 |
+
title: "fab fa-sistrix",
|
3273 |
+
searchTerms: []
|
3274 |
+
}, {
|
3275 |
+
title: "fas fa-sitemap",
|
3276 |
+
searchTerms: [ "directory", "hierarchy", "organization" ]
|
3277 |
+
}, {
|
3278 |
+
title: "fab fa-skyatlas",
|
3279 |
+
searchTerms: []
|
3280 |
+
}, {
|
3281 |
+
title: "fab fa-skype",
|
3282 |
+
searchTerms: []
|
3283 |
+
}, {
|
3284 |
+
title: "fab fa-slack",
|
3285 |
+
searchTerms: [ "hashtag", "anchor", "hash" ]
|
3286 |
+
}, {
|
3287 |
+
title: "fab fa-slack-hash",
|
3288 |
+
searchTerms: [ "hashtag", "anchor", "hash" ]
|
3289 |
+
}, {
|
3290 |
+
title: "fas fa-sliders-h",
|
3291 |
+
searchTerms: [ "settings", "sliders" ]
|
3292 |
+
}, {
|
3293 |
+
title: "fab fa-slideshare",
|
3294 |
+
searchTerms: []
|
3295 |
+
}, {
|
3296 |
+
title: "fas fa-smile",
|
3297 |
+
searchTerms: [ "face", "emoticon", "happy", "approve", "satisfied", "rating" ]
|
3298 |
+
}, {
|
3299 |
+
title: "far fa-smile",
|
3300 |
+
searchTerms: [ "face", "emoticon", "happy", "approve", "satisfied", "rating" ]
|
3301 |
+
}, {
|
3302 |
+
title: "fab fa-snapchat",
|
3303 |
+
searchTerms: []
|
3304 |
+
}, {
|
3305 |
+
title: "fab fa-snapchat-ghost",
|
3306 |
+
searchTerms: []
|
3307 |
+
}, {
|
3308 |
+
title: "fab fa-snapchat-square",
|
3309 |
+
searchTerms: []
|
3310 |
+
}, {
|
3311 |
+
title: "fas fa-snowflake",
|
3312 |
+
searchTerms: []
|
3313 |
+
}, {
|
3314 |
+
title: "far fa-snowflake",
|
3315 |
+
searchTerms: []
|
3316 |
+
}, {
|
3317 |
+
title: "fas fa-sort",
|
3318 |
+
searchTerms: [ "order" ]
|
3319 |
+
}, {
|
3320 |
+
title: "fas fa-sort-alpha-down",
|
3321 |
+
searchTerms: [ "sort-alpha-asc" ]
|
3322 |
+
}, {
|
3323 |
+
title: "fas fa-sort-alpha-up",
|
3324 |
+
searchTerms: [ "sort-alpha-desc" ]
|
3325 |
+
}, {
|
3326 |
+
title: "fas fa-sort-amount-down",
|
3327 |
+
searchTerms: [ "sort-amount-asc" ]
|
3328 |
+
}, {
|
3329 |
+
title: "fas fa-sort-amount-up",
|
3330 |
+
searchTerms: [ "sort-amount-desc" ]
|
3331 |
+
}, {
|
3332 |
+
title: "fas fa-sort-down",
|
3333 |
+
searchTerms: [ "arrow", "descending", "sort-desc" ]
|
3334 |
+
}, {
|
3335 |
+
title: "fas fa-sort-numeric-down",
|
3336 |
+
searchTerms: [ "numbers", "sort-numeric-asc" ]
|
3337 |
+
}, {
|
3338 |
+
title: "fas fa-sort-numeric-up",
|
3339 |
+
searchTerms: [ "numbers", "sort-numeric-desc" ]
|
3340 |
+
}, {
|
3341 |
+
title: "fas fa-sort-up",
|
3342 |
+
searchTerms: [ "arrow", "ascending", "sort-asc" ]
|
3343 |
+
}, {
|
3344 |
+
title: "fab fa-soundcloud",
|
3345 |
+
searchTerms: []
|
3346 |
+
}, {
|
3347 |
+
title: "fas fa-space-shuttle",
|
3348 |
+
searchTerms: []
|
3349 |
+
}, {
|
3350 |
+
title: "fab fa-speakap",
|
3351 |
+
searchTerms: []
|
3352 |
+
}, {
|
3353 |
+
title: "fas fa-spinner",
|
3354 |
+
searchTerms: [ "loading", "progress" ]
|
3355 |
+
}, {
|
3356 |
+
title: "fab fa-spotify",
|
3357 |
+
searchTerms: []
|
3358 |
+
}, {
|
3359 |
+
title: "fas fa-square",
|
3360 |
+
searchTerms: [ "block", "box" ]
|
3361 |
+
}, {
|
3362 |
+
title: "far fa-square",
|
3363 |
+
searchTerms: [ "block", "box" ]
|
3364 |
+
}, {
|
3365 |
+
title: "fas fa-square-full",
|
3366 |
+
searchTerms: []
|
3367 |
+
}, {
|
3368 |
+
title: "fab fa-stack-exchange",
|
3369 |
+
searchTerms: []
|
3370 |
+
}, {
|
3371 |
+
title: "fab fa-stack-overflow",
|
3372 |
+
searchTerms: []
|
3373 |
+
}, {
|
3374 |
+
title: "fas fa-star",
|
3375 |
+
searchTerms: [ "award", "achievement", "night", "rating", "score", "favorite" ]
|
3376 |
+
}, {
|
3377 |
+
title: "far fa-star",
|
3378 |
+
searchTerms: [ "award", "achievement", "night", "rating", "score", "favorite" ]
|
3379 |
+
}, {
|
3380 |
+
title: "fas fa-star-half",
|
3381 |
+
searchTerms: [ "award", "achievement", "rating", "score", "star-half-empty", "star-half-full" ]
|
3382 |
+
}, {
|
3383 |
+
title: "far fa-star-half",
|
3384 |
+
searchTerms: [ "award", "achievement", "rating", "score", "star-half-empty", "star-half-full" ]
|
3385 |
+
}, {
|
3386 |
+
title: "fab fa-staylinked",
|
3387 |
+
searchTerms: []
|
3388 |
+
}, {
|
3389 |
+
title: "fab fa-steam",
|
3390 |
+
searchTerms: []
|
3391 |
+
}, {
|
3392 |
+
title: "fab fa-steam-square",
|
3393 |
+
searchTerms: []
|
3394 |
+
}, {
|
3395 |
+
title: "fab fa-steam-symbol",
|
3396 |
+
searchTerms: []
|
3397 |
+
}, {
|
3398 |
+
title: "fas fa-step-backward",
|
3399 |
+
searchTerms: [ "rewind", "previous", "beginning", "start", "first" ]
|
3400 |
+
}, {
|
3401 |
+
title: "fas fa-step-forward",
|
3402 |
+
searchTerms: [ "next", "end", "last" ]
|
3403 |
+
}, {
|
3404 |
+
title: "fas fa-stethoscope",
|
3405 |
+
searchTerms: []
|
3406 |
+
}, {
|
3407 |
+
title: "fab fa-sticker-mule",
|
3408 |
+
searchTerms: []
|
3409 |
+
}, {
|
3410 |
+
title: "fas fa-sticky-note",
|
3411 |
+
searchTerms: []
|
3412 |
+
}, {
|
3413 |
+
title: "far fa-sticky-note",
|
3414 |
+
searchTerms: []
|
3415 |
+
}, {
|
3416 |
+
title: "fas fa-stop",
|
3417 |
+
searchTerms: [ "block", "box", "square" ]
|
3418 |
+
}, {
|
3419 |
+
title: "fas fa-stop-circle",
|
3420 |
+
searchTerms: []
|
3421 |
+
}, {
|
3422 |
+
title: "far fa-stop-circle",
|
3423 |
+
searchTerms: []
|
3424 |
+
}, {
|
3425 |
+
title: "fas fa-stopwatch",
|
3426 |
+
searchTerms: [ "time" ]
|
3427 |
+
}, {
|
3428 |
+
title: "fab fa-strava",
|
3429 |
+
searchTerms: []
|
3430 |
+
}, {
|
3431 |
+
title: "fas fa-street-view",
|
3432 |
+
searchTerms: [ "map" ]
|
3433 |
+
}, {
|
3434 |
+
title: "fas fa-strikethrough",
|
3435 |
+
searchTerms: []
|
3436 |
+
}, {
|
3437 |
+
title: "fab fa-stripe",
|
3438 |
+
searchTerms: []
|
3439 |
+
}, {
|
3440 |
+
title: "fab fa-stripe-s",
|
3441 |
+
searchTerms: []
|
3442 |
+
}, {
|
3443 |
+
title: "fab fa-studiovinari",
|
3444 |
+
searchTerms: []
|
3445 |
+
}, {
|
3446 |
+
title: "fab fa-stumbleupon",
|
3447 |
+
searchTerms: []
|
3448 |
+
}, {
|
3449 |
+
title: "fab fa-stumbleupon-circle",
|
3450 |
+
searchTerms: []
|
3451 |
+
}, {
|
3452 |
+
title: "fas fa-subscript",
|
3453 |
+
searchTerms: []
|
3454 |
+
}, {
|
3455 |
+
title: "fas fa-subway",
|
3456 |
+
searchTerms: []
|
3457 |
+
}, {
|
3458 |
+
title: "fas fa-suitcase",
|
3459 |
+
searchTerms: [ "trip", "luggage", "travel", "move", "baggage" ]
|
3460 |
+
}, {
|
3461 |
+
title: "fas fa-sun",
|
3462 |
+
searchTerms: [ "weather", "contrast", "lighter", "brighten", "day" ]
|
3463 |
+
}, {
|
3464 |
+
title: "far fa-sun",
|
3465 |
+
searchTerms: [ "weather", "contrast", "lighter", "brighten", "day" ]
|
3466 |
+
}, {
|
3467 |
+
title: "fab fa-superpowers",
|
3468 |
+
searchTerms: []
|
3469 |
+
}, {
|
3470 |
+
title: "fas fa-superscript",
|
3471 |
+
searchTerms: [ "exponential" ]
|
3472 |
+
}, {
|
3473 |
+
title: "fab fa-supple",
|
3474 |
+
searchTerms: []
|
3475 |
+
}, {
|
3476 |
+
title: "fas fa-sync",
|
3477 |
+
searchTerms: [ "reload", "refresh", "refresh" ]
|
3478 |
+
}, {
|
3479 |
+
title: "fas fa-sync-alt",
|
3480 |
+
searchTerms: [ "reload", "refresh" ]
|
3481 |
+
}, {
|
3482 |
+
title: "fas fa-syringe",
|
3483 |
+
searchTerms: [ "immunizations", "needle" ]
|
3484 |
+
}, {
|
3485 |
+
title: "fas fa-table",
|
3486 |
+
searchTerms: [ "data", "excel", "spreadsheet" ]
|
3487 |
+
}, {
|
3488 |
+
title: "fas fa-table-tennis",
|
3489 |
+
searchTerms: []
|
3490 |
+
}, {
|
3491 |
+
title: "fas fa-tablet",
|
3492 |
+
searchTerms: [ "ipad", "device" ]
|
3493 |
+
}, {
|
3494 |
+
title: "fas fa-tablet-alt",
|
3495 |
+
searchTerms: [ "tablet" ]
|
3496 |
+
}, {
|
3497 |
+
title: "fas fa-tachometer-alt",
|
3498 |
+
searchTerms: [ "tachometer", "dashboard" ]
|
3499 |
+
}, {
|
3500 |
+
title: "fas fa-tag",
|
3501 |
+
searchTerms: [ "label" ]
|
3502 |
+
}, {
|
3503 |
+
title: "fas fa-tags",
|
3504 |
+
searchTerms: [ "labels" ]
|
3505 |
+
}, {
|
3506 |
+
title: "fas fa-tasks",
|
3507 |
+
searchTerms: [ "progress", "loading", "downloading", "downloads", "settings" ]
|
3508 |
+
}, {
|
3509 |
+
title: "fas fa-taxi",
|
3510 |
+
searchTerms: [ "vehicle" ]
|
3511 |
+
}, {
|
3512 |
+
title: "fab fa-telegram",
|
3513 |
+
searchTerms: []
|
3514 |
+
}, {
|
3515 |
+
title: "fab fa-telegram-plane",
|
3516 |
+
searchTerms: []
|
3517 |
+
}, {
|
3518 |
+
title: "fab fa-tencent-weibo",
|
3519 |
+
searchTerms: []
|
3520 |
+
}, {
|
3521 |
+
title: "fas fa-terminal",
|
3522 |
+
searchTerms: [ "command", "prompt", "code" ]
|
3523 |
+
}, {
|
3524 |
+
title: "fas fa-text-height",
|
3525 |
+
searchTerms: []
|
3526 |
+
}, {
|
3527 |
+
title: "fas fa-text-width",
|
3528 |
+
searchTerms: []
|
3529 |
+
}, {
|
3530 |
+
title: "fas fa-th",
|
3531 |
+
searchTerms: [ "blocks", "squares", "boxes", "grid" ]
|
3532 |
+
}, {
|
3533 |
+
title: "fas fa-th-large",
|
3534 |
+
searchTerms: [ "blocks", "squares", "boxes", "grid" ]
|
3535 |
+
}, {
|
3536 |
+
title: "fas fa-th-list",
|
3537 |
+
searchTerms: [ "ul", "ol", "checklist", "finished", "completed", "done", "todo" ]
|
3538 |
+
}, {
|
3539 |
+
title: "fab fa-themeisle",
|
3540 |
+
searchTerms: []
|
3541 |
+
}, {
|
3542 |
+
title: "fas fa-thermometer",
|
3543 |
+
searchTerms: [ "temperature", "fever" ]
|
3544 |
+
}, {
|
3545 |
+
title: "fas fa-thermometer-empty",
|
3546 |
+
searchTerms: [ "status" ]
|
3547 |
+
}, {
|
3548 |
+
title: "fas fa-thermometer-full",
|
3549 |
+
searchTerms: [ "status" ]
|
3550 |
+
}, {
|
3551 |
+
title: "fas fa-thermometer-half",
|
3552 |
+
searchTerms: [ "status" ]
|
3553 |
+
}, {
|
3554 |
+
title: "fas fa-thermometer-quarter",
|
3555 |
+
searchTerms: [ "status" ]
|
3556 |
+
}, {
|
3557 |
+
title: "fas fa-thermometer-three-quarters",
|
3558 |
+
searchTerms: [ "status" ]
|
3559 |
+
}, {
|
3560 |
+
title: "fas fa-thumbs-down",
|
3561 |
+
searchTerms: [ "dislike", "disapprove", "disagree", "hand", "thumbs-o-down" ]
|
3562 |
+
}, {
|
3563 |
+
title: "far fa-thumbs-down",
|
3564 |
+
searchTerms: [ "dislike", "disapprove", "disagree", "hand", "thumbs-o-down" ]
|
3565 |
+
}, {
|
3566 |
+
title: "fas fa-thumbs-up",
|
3567 |
+
searchTerms: [ "like", "favorite", "approve", "agree", "hand", "thumbs-o-up" ]
|
3568 |
+
}, {
|
3569 |
+
title: "far fa-thumbs-up",
|
3570 |
+
searchTerms: [ "like", "favorite", "approve", "agree", "hand", "thumbs-o-up" ]
|
3571 |
+
}, {
|
3572 |
+
title: "fas fa-thumbtack",
|
3573 |
+
searchTerms: [ "marker", "pin", "location", "coordinates", "thumb-tack" ]
|
3574 |
+
}, {
|
3575 |
+
title: "fas fa-ticket-alt",
|
3576 |
+
searchTerms: [ "ticket" ]
|
3577 |
+
}, {
|
3578 |
+
title: "fas fa-times",
|
3579 |
+
searchTerms: [ "close", "exit", "x", "cross" ]
|
3580 |
+
}, {
|
3581 |
+
title: "fas fa-times-circle",
|
3582 |
+
searchTerms: [ "close", "exit", "x" ]
|
3583 |
+
}, {
|
3584 |
+
title: "far fa-times-circle",
|
3585 |
+
searchTerms: [ "close", "exit", "x" ]
|
3586 |
+
}, {
|
3587 |
+
title: "fas fa-tint",
|
3588 |
+
searchTerms: [ "raindrop", "waterdrop", "drop", "droplet" ]
|
3589 |
+
}, {
|
3590 |
+
title: "fas fa-toggle-off",
|
3591 |
+
searchTerms: [ "switch" ]
|
3592 |
+
}, {
|
3593 |
+
title: "fas fa-toggle-on",
|
3594 |
+
searchTerms: [ "switch" ]
|
3595 |
+
}, {
|
3596 |
+
title: "fas fa-trademark",
|
3597 |
+
searchTerms: []
|
3598 |
+
}, {
|
3599 |
+
title: "fas fa-train",
|
3600 |
+
searchTerms: []
|
3601 |
+
}, {
|
3602 |
+
title: "fas fa-transgender",
|
3603 |
+
searchTerms: [ "intersex" ]
|
3604 |
+
}, {
|
3605 |
+
title: "fas fa-transgender-alt",
|
3606 |
+
searchTerms: []
|
3607 |
+
}, {
|
3608 |
+
title: "fas fa-trash",
|
3609 |
+
searchTerms: [ "garbage", "delete", "remove", "hide" ]
|
3610 |
+
}, {
|
3611 |
+
title: "fas fa-trash-alt",
|
3612 |
+
searchTerms: [ "garbage", "delete", "remove", "hide", "trash", "trash-o" ]
|
3613 |
+
}, {
|
3614 |
+
title: "far fa-trash-alt",
|
3615 |
+
searchTerms: [ "garbage", "delete", "remove", "hide", "trash", "trash-o" ]
|
3616 |
+
}, {
|
3617 |
+
title: "fas fa-tree",
|
3618 |
+
searchTerms: []
|
3619 |
+
}, {
|
3620 |
+
title: "fab fa-trello",
|
3621 |
+
searchTerms: []
|
3622 |
+
}, {
|
3623 |
+
title: "fab fa-tripadvisor",
|
3624 |
+
searchTerms: []
|
3625 |
+
}, {
|
3626 |
+
title: "fas fa-trophy",
|
3627 |
+
searchTerms: [ "award", "achievement", "cup", "winner", "game" ]
|
3628 |
+
}, {
|
3629 |
+
title: "fas fa-truck",
|
3630 |
+
searchTerms: [ "shipping" ]
|
3631 |
+
}, {
|
3632 |
+
title: "fas fa-tty",
|
3633 |
+
searchTerms: []
|
3634 |
+
}, {
|
3635 |
+
title: "fab fa-tumblr",
|
3636 |
+
searchTerms: []
|
3637 |
+
}, {
|
3638 |
+
title: "fab fa-tumblr-square",
|
3639 |
+
searchTerms: []
|
3640 |
+
}, {
|
3641 |
+
title: "fas fa-tv",
|
3642 |
+
searchTerms: [ "display", "computer", "monitor", "television" ]
|
3643 |
+
}, {
|
3644 |
+
title: "fab fa-twitch",
|
3645 |
+
searchTerms: []
|
3646 |
+
}, {
|
3647 |
+
title: "fab fa-twitter",
|
3648 |
+
searchTerms: [ "tweet", "social network" ]
|
3649 |
+
}, {
|
3650 |
+
title: "fab fa-twitter-square",
|
3651 |
+
searchTerms: [ "tweet", "social network" ]
|
3652 |
+
}, {
|
3653 |
+
title: "fab fa-typo3",
|
3654 |
+
searchTerms: []
|
3655 |
+
}, {
|
3656 |
+
title: "fab fa-uber",
|
3657 |
+
searchTerms: []
|
3658 |
+
}, {
|
3659 |
+
title: "fab fa-uikit",
|
3660 |
+
searchTerms: []
|
3661 |
+
}, {
|
3662 |
+
title: "fas fa-umbrella",
|
3663 |
+
searchTerms: []
|
3664 |
+
}, {
|
3665 |
+
title: "fas fa-underline",
|
3666 |
+
searchTerms: []
|
3667 |
+
}, {
|
3668 |
+
title: "fas fa-undo",
|
3669 |
+
searchTerms: [ "back" ]
|
3670 |
+
}, {
|
3671 |
+
title: "fas fa-undo-alt",
|
3672 |
+
searchTerms: [ "back" ]
|
3673 |
+
}, {
|
3674 |
+
title: "fab fa-uniregistry",
|
3675 |
+
searchTerms: []
|
3676 |
+
}, {
|
3677 |
+
title: "fas fa-universal-access",
|
3678 |
+
searchTerms: []
|
3679 |
+
}, {
|
3680 |
+
title: "fas fa-university",
|
3681 |
+
searchTerms: [ "bank", "institution" ]
|
3682 |
+
}, {
|
3683 |
+
title: "fas fa-unlink",
|
3684 |
+
searchTerms: [ "remove", "chain", "chain-broken" ]
|
3685 |
+
}, {
|
3686 |
+
title: "fas fa-unlock",
|
3687 |
+
searchTerms: [ "protect", "admin", "password", "lock" ]
|
3688 |
+
}, {
|
3689 |
+
title: "fas fa-unlock-alt",
|
3690 |
+
searchTerms: [ "protect", "admin", "password", "lock" ]
|
3691 |
+
}, {
|
3692 |
+
title: "fab fa-untappd",
|
3693 |
+
searchTerms: []
|
3694 |
+
}, {
|
3695 |
+
title: "fas fa-upload",
|
3696 |
+
searchTerms: [ "import" ]
|
3697 |
+
}, {
|
3698 |
+
title: "fab fa-usb",
|
3699 |
+
searchTerms: []
|
3700 |
+
}, {
|
3701 |
+
title: "fas fa-user",
|
3702 |
+
searchTerms: [ "person", "man", "head", "profile", "account" ]
|
3703 |
+
}, {
|
3704 |
+
title: "far fa-user",
|
3705 |
+
searchTerms: [ "person", "man", "head", "profile", "account" ]
|
3706 |
+
}, {
|
3707 |
+
title: "fas fa-user-circle",
|
3708 |
+
searchTerms: [ "person", "man", "head", "profile", "account" ]
|
3709 |
+
}, {
|
3710 |
+
title: "far fa-user-circle",
|
3711 |
+
searchTerms: [ "person", "man", "head", "profile", "account" ]
|
3712 |
+
}, {
|
3713 |
+
title: "fas fa-user-md",
|
3714 |
+
searchTerms: [ "doctor", "profile", "medical", "nurse", "job", "occupation" ]
|
3715 |
+
}, {
|
3716 |
+
title: "fas fa-user-plus",
|
3717 |
+
searchTerms: [ "sign up", "signup" ]
|
3718 |
+
}, {
|
3719 |
+
title: "fas fa-user-secret",
|
3720 |
+
searchTerms: [ "whisper", "spy", "incognito", "privacy" ]
|
3721 |
+
}, {
|
3722 |
+
title: "fas fa-user-times",
|
3723 |
+
searchTerms: []
|
3724 |
+
}, {
|
3725 |
+
title: "fas fa-users",
|
3726 |
+
searchTerms: [ "people", "profiles", "persons" ]
|
3727 |
+
}, {
|
3728 |
+
title: "fab fa-ussunnah",
|
3729 |
+
searchTerms: []
|
3730 |
+
}, {
|
3731 |
+
title: "fas fa-utensil-spoon",
|
3732 |
+
searchTerms: [ "spoon" ]
|
3733 |
+
}, {
|
3734 |
+
title: "fas fa-utensils",
|
3735 |
+
searchTerms: [ "food", "restaurant", "spoon", "knife", "dinner", "eat", "cutlery" ]
|
3736 |
+
}, {
|
3737 |
+
title: "fab fa-vaadin",
|
3738 |
+
searchTerms: []
|
3739 |
+
}, {
|
3740 |
+
title: "fas fa-venus",
|
3741 |
+
searchTerms: [ "female" ]
|
3742 |
+
}, {
|
3743 |
+
title: "fas fa-venus-double",
|
3744 |
+
searchTerms: []
|
3745 |
+
}, {
|
3746 |
+
title: "fas fa-venus-mars",
|
3747 |
+
searchTerms: []
|
3748 |
+
}, {
|
3749 |
+
title: "fab fa-viacoin",
|
3750 |
+
searchTerms: []
|
3751 |
+
}, {
|
3752 |
+
title: "fab fa-viadeo",
|
3753 |
+
searchTerms: []
|
3754 |
+
}, {
|
3755 |
+
title: "fab fa-viadeo-square",
|
3756 |
+
searchTerms: []
|
3757 |
+
}, {
|
3758 |
+
title: "fab fa-viber",
|
3759 |
+
searchTerms: []
|
3760 |
+
}, {
|
3761 |
+
title: "fas fa-video",
|
3762 |
+
searchTerms: [ "film", "movie", "record", "camera", "video-camera" ]
|
3763 |
+
}, {
|
3764 |
+
title: "fab fa-vimeo",
|
3765 |
+
searchTerms: []
|
3766 |
+
}, {
|
3767 |
+
title: "fab fa-vimeo-square",
|
3768 |
+
searchTerms: []
|
3769 |
+
}, {
|
3770 |
+
title: "fab fa-vimeo-v",
|
3771 |
+
searchTerms: [ "vimeo" ]
|
3772 |
+
}, {
|
3773 |
+
title: "fab fa-vine",
|
3774 |
+
searchTerms: []
|
3775 |
+
}, {
|
3776 |
+
title: "fab fa-vk",
|
3777 |
+
searchTerms: []
|
3778 |
+
}, {
|
3779 |
+
title: "fab fa-vnv",
|
3780 |
+
searchTerms: []
|
3781 |
+
}, {
|
3782 |
+
title: "fas fa-volleyball-ball",
|
3783 |
+
searchTerms: []
|
3784 |
+
}, {
|
3785 |
+
title: "fas fa-volume-down",
|
3786 |
+
searchTerms: [ "audio", "lower", "quieter", "sound", "music" ]
|
3787 |
+
}, {
|
3788 |
+
title: "fas fa-volume-off",
|
3789 |
+
searchTerms: [ "audio", "mute", "sound", "music" ]
|
3790 |
+
}, {
|
3791 |
+
title: "fas fa-volume-up",
|
3792 |
+
searchTerms: [ "audio", "higher", "louder", "sound", "music" ]
|
3793 |
+
}, {
|
3794 |
+
title: "fab fa-vuejs",
|
3795 |
+
searchTerms: []
|
3796 |
+
}, {
|
3797 |
+
title: "fas fa-warehouse",
|
3798 |
+
searchTerms: []
|
3799 |
+
}, {
|
3800 |
+
title: "fab fa-weibo",
|
3801 |
+
searchTerms: []
|
3802 |
+
}, {
|
3803 |
+
title: "fas fa-weight",
|
3804 |
+
searchTerms: [ "scale" ]
|
3805 |
+
}, {
|
3806 |
+
title: "fab fa-weixin",
|
3807 |
+
searchTerms: []
|
3808 |
+
}, {
|
3809 |
+
title: "fab fa-whatsapp",
|
3810 |
+
searchTerms: []
|
3811 |
+
}, {
|
3812 |
+
title: "fab fa-whatsapp-square",
|
3813 |
+
searchTerms: []
|
3814 |
+
}, {
|
3815 |
+
title: "fas fa-wheelchair",
|
3816 |
+
searchTerms: [ "handicap", "person" ]
|
3817 |
+
}, {
|
3818 |
+
title: "fab fa-whmcs",
|
3819 |
+
searchTerms: []
|
3820 |
+
}, {
|
3821 |
+
title: "fas fa-wifi",
|
3822 |
+
searchTerms: []
|
3823 |
+
}, {
|
3824 |
+
title: "fab fa-wikipedia-w",
|
3825 |
+
searchTerms: []
|
3826 |
+
}, {
|
3827 |
+
title: "fas fa-window-close",
|
3828 |
+
searchTerms: []
|
3829 |
+
}, {
|
3830 |
+
title: "far fa-window-close",
|
3831 |
+
searchTerms: []
|
3832 |
+
}, {
|
3833 |
+
title: "fas fa-window-maximize",
|
3834 |
+
searchTerms: []
|
3835 |
+
}, {
|
3836 |
+
title: "far fa-window-maximize",
|
3837 |
+
searchTerms: []
|
3838 |
+
}, {
|
3839 |
+
title: "fas fa-window-minimize",
|
3840 |
+
searchTerms: []
|
3841 |
+
}, {
|
3842 |
+
title: "far fa-window-minimize",
|
3843 |
+
searchTerms: []
|
3844 |
+
}, {
|
3845 |
+
title: "fas fa-window-restore",
|
3846 |
+
searchTerms: []
|
3847 |
+
}, {
|
3848 |
+
title: "far fa-window-restore",
|
3849 |
+
searchTerms: []
|
3850 |
+
}, {
|
3851 |
+
title: "fab fa-windows",
|
3852 |
+
searchTerms: [ "microsoft" ]
|
3853 |
+
}, {
|
3854 |
+
title: "fas fa-won-sign",
|
3855 |
+
searchTerms: [ "krw", "krw" ]
|
3856 |
+
}, {
|
3857 |
+
title: "fab fa-wordpress",
|
3858 |
+
searchTerms: []
|
3859 |
+
}, {
|
3860 |
+
title: "fab fa-wordpress-simple",
|
3861 |
+
searchTerms: []
|
3862 |
+
}, {
|
3863 |
+
title: "fab fa-wpbeginner",
|
3864 |
+
searchTerms: []
|
3865 |
+
}, {
|
3866 |
+
title: "fab fa-wpexplorer",
|
3867 |
+
searchTerms: []
|
3868 |
+
}, {
|
3869 |
+
title: "fab fa-wpforms",
|
3870 |
+
searchTerms: []
|
3871 |
+
}, {
|
3872 |
+
title: "fas fa-wrench",
|
3873 |
+
searchTerms: [ "settings", "fix", "update", "spanner", "tool" ]
|
3874 |
+
}, {
|
3875 |
+
title: "fab fa-xbox",
|
3876 |
+
searchTerms: []
|
3877 |
+
}, {
|
3878 |
+
title: "fab fa-xing",
|
3879 |
+
searchTerms: []
|
3880 |
+
}, {
|
3881 |
+
title: "fab fa-xing-square",
|
3882 |
+
searchTerms: []
|
3883 |
+
}, {
|
3884 |
+
title: "fab fa-y-combinator",
|
3885 |
+
searchTerms: []
|
3886 |
+
}, {
|
3887 |
+
title: "fab fa-yahoo",
|
3888 |
+
searchTerms: []
|
3889 |
+
}, {
|
3890 |
+
title: "fab fa-yandex",
|
3891 |
+
searchTerms: []
|
3892 |
+
}, {
|
3893 |
+
title: "fab fa-yandex-international",
|
3894 |
+
searchTerms: []
|
3895 |
+
}, {
|
3896 |
+
title: "fab fa-yelp",
|
3897 |
+
searchTerms: []
|
3898 |
+
}, {
|
3899 |
+
title: "fas fa-yen-sign",
|
3900 |
+
searchTerms: [ "jpy", "jpy" ]
|
3901 |
+
}, {
|
3902 |
+
title: "fab fa-yoast",
|
3903 |
+
searchTerms: []
|
3904 |
+
}, {
|
3905 |
+
title: "fab fa-youtube",
|
3906 |
+
searchTerms: [ "video", "film", "youtube-play", "youtube-square" ]
|
3907 |
+
}, {
|
3908 |
+
title: "fab fa-youtube-square",
|
3909 |
+
searchTerms: []
|
3910 |
+
} ]
|
3911 |
+
});
|
3912 |
});
|
vendor/mickey-kay/better-font-awesome-library/lib/fontawesome-iconpicker/dist/js/fontawesome-iconpicker.min.js
CHANGED
@@ -1,2 +1,20 @@
|
|
1 |
-
!function(a,b){function c(a,b,c){return[parseFloat(a[0])*(n.test(a[0])?b/100:1),parseFloat(a[1])*(n.test(a[1])?c/100:1)]}function d(b,c){return parseInt(a.css(b,c),10)||0}function e(b){var c=b[0];return 9===c.nodeType?{width:b.width(),height:b.height(),offset:{top:0,left:0}}:a.isWindow(c)?{width:b.width(),height:b.height(),offset:{top:b.scrollTop(),left:b.scrollLeft()}}:c.preventDefault?{width:0,height:0,offset:{top:c.pageY,left:c.pageX}}:{width:b.outerWidth(),height:b.outerHeight(),offset:b.offset()}}a.ui=a.ui||{};var f,g=Math.max,h=Math.abs,i=Math.round,j=/left|center|right/,k=/top|center|bottom/,l=/[\+\-]\d+(\.[\d]+)?%?/,m=/^\w+/,n=/%$/,o=a.fn.pos;a.pos={scrollbarWidth:function(){if(f!==b)return f;var c,d,e=a("<div style='display:block;position:absolute;width:50px;height:50px;overflow:hidden;'><div style='height:100px;width:auto;'></div></div>"),g=e.children()[0];return a("body").append(e),c=g.offsetWidth,e.css("overflow","scroll"),d=g.offsetWidth,c===d&&(d=e[0].clientWidth),e.remove(),f=c-d},getScrollInfo:function(b){var c=b.isWindow||b.isDocument?"":b.element.css("overflow-x"),d=b.isWindow||b.isDocument?"":b.element.css("overflow-y"),e="scroll"===c||"auto"===c&&b.width<b.element[0].scrollWidth,f="scroll"===d||"auto"===d&&b.height<b.element[0].scrollHeight;return{width:f?a.pos.scrollbarWidth():0,height:e?a.pos.scrollbarWidth():0}},getWithinInfo:function(b){var c=a(b||window),d=a.isWindow(c[0]),e=!!c[0]&&9===c[0].nodeType;return{element:c,isWindow:d,isDocument:e,offset:c.offset()||{left:0,top:0},scrollLeft:c.scrollLeft(),scrollTop:c.scrollTop(),width:d?c.width():c.outerWidth(),height:d?c.height():c.outerHeight()}}},a.fn.pos=function(b){if(!b||!b.of)return o.apply(this,arguments);b=a.extend({},b);var f,n,p,q,r,s,t=a(b.of),u=a.pos.getWithinInfo(b.within),v=a.pos.getScrollInfo(u),w=(b.collision||"flip").split(" "),x={};return s=e(t),t[0].preventDefault&&(b.at="left top"),n=s.width,p=s.height,q=s.offset,r=a.extend({},q),a.each(["my","at"],function(){var a,c,d=(b[this]||"").split(" ");1===d.length&&(d=j.test(d[0])?d.concat(["center"]):k.test(d[0])?["center"].concat(d):["center","center"]),d[0]=j.test(d[0])?d[0]:"center",d[1]=k.test(d[1])?d[1]:"center",a=l.exec(d[0]),c=l.exec(d[1]),x[this]=[a?a[0]:0,c?c[0]:0],b[this]=[m.exec(d[0])[0],m.exec(d[1])[0]]}),1===w.length&&(w[1]=w[0]),"right"===b.at[0]?r.left+=n:"center"===b.at[0]&&(r.left+=n/2),"bottom"===b.at[1]?r.top+=p:"center"===b.at[1]&&(r.top+=p/2),f=c(x.at,n,p),r.left+=f[0],r.top+=f[1],this.each(function(){var e,j,k=a(this),l=k.outerWidth(),m=k.outerHeight(),o=d(this,"marginLeft"),s=d(this,"marginTop"),y=l+o+d(this,"marginRight")+v.width,z=m+s+d(this,"marginBottom")+v.height,A=a.extend({},r),B=c(x.my,k.outerWidth(),k.outerHeight());"right"===b.my[0]?A.left-=l:"center"===b.my[0]&&(A.left-=l/2),"bottom"===b.my[1]?A.top-=m:"center"===b.my[1]&&(A.top-=m/2),A.left+=B[0],A.top+=B[1],a.support.offsetFractions||(A.left=i(A.left),A.top=i(A.top)),e={marginLeft:o,marginTop:s},a.each(["left","top"],function(c,d){a.ui.pos[w[c]]&&a.ui.pos[w[c]][d](A,{targetWidth:n,targetHeight:p,elemWidth:l,elemHeight:m,collisionPosition:e,collisionWidth:y,collisionHeight:z,offset:[f[0]+B[0],f[1]+B[1]],my:b.my,at:b.at,within:u,elem:k})}),b.using&&(j=function(a){var c=q.left-A.left,d=c+n-l,e=q.top-A.top,f=e+p-m,i={target:{element:t,left:q.left,top:q.top,width:n,height:p},element:{element:k,left:A.left,top:A.top,width:l,height:m},horizontal:d<0?"left":c>0?"right":"center",vertical:f<0?"top":e>0?"bottom":"middle"};n<l&&h(c+d)<n&&(i.horizontal="center"),p<m&&h(e+f)<p&&(i.vertical="middle"),g(h(c),h(d))>g(h(e),h(f))?i.important="horizontal":i.important="vertical",b.using.call(this,a,i)}),k.offset(a.extend(A,{using:j}))})},a.ui.pos={_trigger:function(a,b,c,d){b.elem&&b.elem.trigger({type:c,position:a,positionData:b,triggered:d})},fit:{left:function(b,c){a.ui.pos._trigger(b,c,"posCollide","fitLeft");var d,e=c.within,f=e.isWindow?e.scrollLeft:e.offset.left,h=e.width,i=b.left-c.collisionPosition.marginLeft,j=f-i,k=i+c.collisionWidth-h-f;c.collisionWidth>h?j>0&&k<=0?(d=b.left+j+c.collisionWidth-h-f,b.left+=j-d):k>0&&j<=0?b.left=f:j>k?b.left=f+h-c.collisionWidth:b.left=f:j>0?b.left+=j:k>0?b.left-=k:b.left=g(b.left-i,b.left),a.ui.pos._trigger(b,c,"posCollided","fitLeft")},top:function(b,c){a.ui.pos._trigger(b,c,"posCollide","fitTop");var d,e=c.within,f=e.isWindow?e.scrollTop:e.offset.top,h=c.within.height,i=b.top-c.collisionPosition.marginTop,j=f-i,k=i+c.collisionHeight-h-f;c.collisionHeight>h?j>0&&k<=0?(d=b.top+j+c.collisionHeight-h-f,b.top+=j-d):k>0&&j<=0?b.top=f:j>k?b.top=f+h-c.collisionHeight:b.top=f:j>0?b.top+=j:k>0?b.top-=k:b.top=g(b.top-i,b.top),a.ui.pos._trigger(b,c,"posCollided","fitTop")}},flip:{left:function(b,c){a.ui.pos._trigger(b,c,"posCollide","flipLeft");var d,e,f=c.within,g=f.offset.left+f.scrollLeft,i=f.width,j=f.isWindow?f.scrollLeft:f.offset.left,k=b.left-c.collisionPosition.marginLeft,l=k-j,m=k+c.collisionWidth-i-j,n="left"===c.my[0]?-c.elemWidth:"right"===c.my[0]?c.elemWidth:0,o="left"===c.at[0]?c.targetWidth:"right"===c.at[0]?-c.targetWidth:0,p=-2*c.offset[0];l<0?(d=b.left+n+o+p+c.collisionWidth-i-g,(d<0||d<h(l))&&(b.left+=n+o+p)):m>0&&(e=b.left-c.collisionPosition.marginLeft+n+o+p-j,(e>0||h(e)<m)&&(b.left+=n+o+p)),a.ui.pos._trigger(b,c,"posCollided","flipLeft")},top:function(b,c){a.ui.pos._trigger(b,c,"posCollide","flipTop");var d,e,f=c.within,g=f.offset.top+f.scrollTop,i=f.height,j=f.isWindow?f.scrollTop:f.offset.top,k=b.top-c.collisionPosition.marginTop,l=k-j,m=k+c.collisionHeight-i-j,n="top"===c.my[1],o=n?-c.elemHeight:"bottom"===c.my[1]?c.elemHeight:0,p="top"===c.at[1]?c.targetHeight:"bottom"===c.at[1]?-c.targetHeight:0,q=-2*c.offset[1];l<0?(e=b.top+o+p+q+c.collisionHeight-i-g,b.top+o+p+q>l&&(e<0||e<h(l))&&(b.top+=o+p+q)):m>0&&(d=b.top-c.collisionPosition.marginTop+o+p+q-j,b.top+o+p+q>m&&(d>0||h(d)<m)&&(b.top+=o+p+q)),a.ui.pos._trigger(b,c,"posCollided","flipTop")}},flipfit:{left:function(){a.ui.pos.flip.left.apply(this,arguments),a.ui.pos.fit.left.apply(this,arguments)},top:function(){a.ui.pos.flip.top.apply(this,arguments),a.ui.pos.fit.top.apply(this,arguments)}}},function(){var b,c,d,e,f,g=document.getElementsByTagName("body")[0],h=document.createElement("div");b=document.createElement(g?"div":"body"),d={visibility:"hidden",width:0,height:0,border:0,margin:0,background:"none"},g&&a.extend(d,{position:"absolute",left:"-1000px",top:"-1000px"});for(f in d)b.style[f]=d[f];b.appendChild(h),c=g||document.documentElement,c.insertBefore(b,c.firstChild),h.style.cssText="position: absolute; left: 10.7432222px;",e=a(h).offset().left,a.support.offsetFractions=e>10&&e<11,b.innerHTML="",c.removeChild(b)}()}(jQuery),function(a){"use strict";"function"==typeof define&&define.amd?define(["jquery"],a):window.jQuery&&!window.jQuery.fn.iconpicker&&a(window.jQuery)}(function(a){"use strict";var b={isEmpty:function(a){return a===!1||""===a||null===a||void 0===a},isEmptyObject:function(a){return this.isEmpty(a)===!0||0===a.length},isElement:function(b){return a(b).length>0},isString:function(a){return"string"==typeof a||a instanceof String},isArray:function(b){return a.isArray(b)},inArray:function(b,c){return a.inArray(b,c)!==-1},throwError:function(a){throw"Font Awesome Icon Picker Exception: "+a}},c=function(d,e){this._id=c._idCounter++,this.element=a(d).addClass("iconpicker-element"),this._trigger("iconpickerCreate"),this.options=a.extend({},c.defaultOptions,this.element.data(),e),this.options.templates=a.extend({},c.defaultOptions.templates,this.options.templates),this.options.originalPlacement=this.options.placement,this.container=!!b.isElement(this.options.container)&&a(this.options.container),this.container===!1&&(this.element.is(".dropdown-toggle")?this.container=a("~ .dropdown-menu:first",this.element):this.container=this.element.is("input,textarea,button,.btn")?this.element.parent():this.element),this.container.addClass("iconpicker-container"),this.isDropdownMenu()&&(this.options.templates.search=!1,this.options.templates.buttons=!1,this.options.placement="inline"),this.input=!!this.element.is("input,textarea")&&this.element.addClass("iconpicker-input"),this.input===!1&&(this.input=this.container.find(this.options.input),this.input.is("input,textarea")||(this.input=!1)),this.component=this.isDropdownMenu()?this.container.parent().find(this.options.component):this.container.find(this.options.component),0===this.component.length?this.component=!1:this.component.find("i").addClass("iconpicker-component"),this._createPopover(),this._createIconpicker(),0===this.getAcceptButton().length&&(this.options.mustAccept=!1),this.isInputGroup()?this.container.parent().append(this.popover):this.container.append(this.popover),this._bindElementEvents(),this._bindWindowEvents(),this.update(this.options.selected),this.isInline()&&this.show(),this._trigger("iconpickerCreated")};c._idCounter=0,c.defaultOptions={title:!1,selected:!1,defaultValue:!1,placement:"bottom",collision:"none",animation:!0,hideOnSelect:!1,showFooter:!1,searchInFooter:!1,mustAccept:!1,selectedCustomClass:"bg-primary",icons:[],fullClassFormatter:function(a){return"fa "+a},input:"input,.iconpicker-input",inputSearch:!1,container:!1,component:".input-group-addon,.iconpicker-component",templates:{popover:'<div class="iconpicker-popover popover"><div class="arrow"></div><div class="popover-title"></div><div class="popover-content"></div></div>',footer:'<div class="popover-footer"></div>',buttons:'<button class="iconpicker-btn iconpicker-btn-cancel btn btn-default btn-sm">Cancel</button> <button class="iconpicker-btn iconpicker-btn-accept btn btn-primary btn-sm">Accept</button>',search:'<input type="search" class="form-control iconpicker-search" placeholder="Type to filter" />',iconpicker:'<div class="iconpicker"><div class="iconpicker-items"></div></div>',iconpickerItem:'<a role="button" href="#" class="iconpicker-item"><i></i></a>'}},c.batch=function(b,c){var d=Array.prototype.slice.call(arguments,2);return a(b).each(function(){var b=a(this).data("iconpicker");b&&b[c].apply(b,d)})},c.prototype={constructor:c,options:{},_id:0,_trigger:function(b,c){c=c||{},this.element.trigger(a.extend({type:b,iconpickerInstance:this},c))},_createPopover:function(){this.popover=a(this.options.templates.popover);var c=this.popover.find(".popover-title");if(this.options.title&&c.append(a('<div class="popover-title-text">'+this.options.title+"</div>")),this.hasSeparatedSearchInput()&&!this.options.searchInFooter?c.append(this.options.templates.search):this.options.title||c.remove(),this.options.showFooter&&!b.isEmpty(this.options.templates.footer)){var d=a(this.options.templates.footer);this.hasSeparatedSearchInput()&&this.options.searchInFooter&&d.append(a(this.options.templates.search)),b.isEmpty(this.options.templates.buttons)||d.append(a(this.options.templates.buttons)),this.popover.append(d)}return this.options.animation===!0&&this.popover.addClass("fade"),this.popover},_createIconpicker:function(){var b=this;this.iconpicker=a(this.options.templates.iconpicker);var c=function(c){var d=a(this);return d.is("i")&&(d=d.parent()),b._trigger("iconpickerSelect",{iconpickerItem:d,iconpickerValue:b.iconpickerValue}),b.options.mustAccept===!1?(b.update(d.data("iconpickerValue")),b._trigger("iconpickerSelected",{iconpickerItem:this,iconpickerValue:b.iconpickerValue})):b.update(d.data("iconpickerValue"),!0),b.options.hideOnSelect&&b.options.mustAccept===!1&&b.hide(),c.preventDefault(),!1};for(var d in this.options.icons)if("string"==typeof this.options.icons[d]){var e=a(this.options.templates.iconpickerItem);e.find("i").addClass(this.options.fullClassFormatter(this.options.icons[d])),e.data("iconpickerValue",this.options.icons[d]).on("click.iconpicker",c),this.iconpicker.find(".iconpicker-items").append(e.attr("title","."+this.options.icons[d]))}return this.popover.find(".popover-content").append(this.iconpicker),this.iconpicker},_isEventInsideIconpicker:function(b){var c=a(b.target);return!((!c.hasClass("iconpicker-element")||c.hasClass("iconpicker-element")&&!c.is(this.element))&&0===c.parents(".iconpicker-popover").length)},_bindElementEvents:function(){var c=this;this.getSearchInput().on("keyup.iconpicker",function(){c.filter(a(this).val().toLowerCase())}),this.getAcceptButton().on("click.iconpicker",function(){var a=c.iconpicker.find(".iconpicker-selected").get(0);c.update(c.iconpickerValue),c._trigger("iconpickerSelected",{iconpickerItem:a,iconpickerValue:c.iconpickerValue}),c.isInline()||c.hide()}),this.getCancelButton().on("click.iconpicker",function(){c.isInline()||c.hide()}),this.element.on("focus.iconpicker",function(a){c.show(),a.stopPropagation()}),this.hasComponent()&&this.component.on("click.iconpicker",function(){c.toggle()}),this.hasInput()&&this.input.on("keyup.iconpicker",function(d){b.inArray(d.keyCode,[38,40,37,39,16,17,18,9,8,91,93,20,46,186,190,46,78,188,44,86])?c._updateFormGroupStatus(c.getValid(this.value)!==!1):c.update(),c.options.inputSearch===!0&&c.filter(a(this).val().toLowerCase())})},_bindWindowEvents:function(){var b=a(window.document),c=this,d=".iconpicker.inst"+this._id;return a(window).on("resize.iconpicker"+d+" orientationchange.iconpicker"+d,function(a){c.popover.hasClass("in")&&c.updatePlacement()}),c.isInline()||b.on("mouseup"+d,function(a){return c._isEventInsideIconpicker(a)||c.isInline()||c.hide(),a.stopPropagation(),a.preventDefault(),!1}),!1},_unbindElementEvents:function(){this.popover.off(".iconpicker"),this.element.off(".iconpicker"),this.hasInput()&&this.input.off(".iconpicker"),this.hasComponent()&&this.component.off(".iconpicker"),this.hasContainer()&&this.container.off(".iconpicker")},_unbindWindowEvents:function(){a(window).off(".iconpicker.inst"+this._id),a(window.document).off(".iconpicker.inst"+this._id)},updatePlacement:function(b,c){b=b||this.options.placement,this.options.placement=b,c=c||this.options.collision,c=c===!0?"flip":c;var d={at:"right bottom",my:"right top",of:this.hasInput()&&!this.isInputGroup()?this.input:this.container,collision:c===!0?"flip":c,within:window};if(this.popover.removeClass("inline topLeftCorner topLeft top topRight topRightCorner rightTop right rightBottom bottomRight bottomRightCorner bottom bottomLeft bottomLeftCorner leftBottom left leftTop"),"object"==typeof b)return this.popover.pos(a.extend({},d,b));switch(b){case"inline":d=!1;break;case"topLeftCorner":d.my="right bottom",d.at="left top";break;case"topLeft":d.my="left bottom",d.at="left top";break;case"top":d.my="center bottom",d.at="center top";break;case"topRight":d.my="right bottom",d.at="right top";break;case"topRightCorner":d.my="left bottom",d.at="right top";break;case"rightTop":d.my="left bottom",d.at="right center";break;case"right":d.my="left center",d.at="right center";break;case"rightBottom":d.my="left top",d.at="right center";break;case"bottomRightCorner":d.my="left top",d.at="right bottom";break;case"bottomRight":d.my="right top",d.at="right bottom";break;case"bottom":d.my="center top",d.at="center bottom";break;case"bottomLeft":d.my="left top",d.at="left bottom";break;case"bottomLeftCorner":d.my="right top",d.at="left bottom";break;case"leftBottom":d.my="right top",d.at="left center";break;case"left":d.my="right center",d.at="left center";break;case"leftTop":d.my="right bottom",d.at="left center";break;default:return!1}return this.popover.css({display:"inline"===this.options.placement?"":"block"}),d!==!1?this.popover.pos(d).css("maxWidth",a(window).width()-this.container.offset().left-5):this.popover.css({top:"auto",right:"auto",bottom:"auto",left:"auto",maxWidth:"none"}),this.popover.addClass(this.options.placement),!0},_updateComponents:function(){if(this.iconpicker.find(".iconpicker-item.iconpicker-selected").removeClass("iconpicker-selected "+this.options.selectedCustomClass),this.iconpickerValue&&this.iconpicker.find("."+this.options.fullClassFormatter(this.iconpickerValue).replace(/ /g,".")).parent().addClass("iconpicker-selected "+this.options.selectedCustomClass),this.hasComponent()){var a=this.component.find("i");a.length>0?a.attr("class",this.options.fullClassFormatter(this.iconpickerValue)):this.component.html(this.getHtml())}},_updateFormGroupStatus:function(a){return!!this.hasInput()&&(a!==!1?this.input.parents(".form-group:first").removeClass("has-error"):this.input.parents(".form-group:first").addClass("has-error"),!0)},getValid:function(c){b.isString(c)||(c="");var d=""===c;return c=a.trim(c),!(!b.inArray(c,this.options.icons)&&!d)&&c},setValue:function(a){var b=this.getValid(a);return b!==!1?(this.iconpickerValue=b,this._trigger("iconpickerSetValue",{iconpickerValue:b}),this.iconpickerValue):(this._trigger("iconpickerInvalid",{iconpickerValue:a}),!1)},getHtml:function(){return'<i class="'+this.options.fullClassFormatter(this.iconpickerValue)+'"></i>'},setSourceValue:function(a){return a=this.setValue(a),a!==!1&&""!==a&&(this.hasInput()?this.input.val(this.iconpickerValue):this.element.data("iconpickerValue",this.iconpickerValue),this._trigger("iconpickerSetSourceValue",{iconpickerValue:a})),a},getSourceValue:function(a){a=a||this.options.defaultValue;var b=a;return b=this.hasInput()?this.input.val():this.element.data("iconpickerValue"),void 0!==b&&""!==b&&null!==b&&b!==!1||(b=a),b},hasInput:function(){return this.input!==!1},isInputSearch:function(){return this.hasInput()&&this.options.inputSearch===!0},isInputGroup:function(){return this.container.is(".input-group")},isDropdownMenu:function(){return this.container.is(".dropdown-menu")},hasSeparatedSearchInput:function(){return this.options.templates.search!==!1&&!this.isInputSearch()},hasComponent:function(){return this.component!==!1},hasContainer:function(){return this.container!==!1},getAcceptButton:function(){return this.popover.find(".iconpicker-btn-accept")},getCancelButton:function(){return this.popover.find(".iconpicker-btn-cancel")},getSearchInput:function(){return this.popover.find(".iconpicker-search")},filter:function(c){if(b.isEmpty(c))return this.iconpicker.find(".iconpicker-item").show(),a(!1);var d=[];return this.iconpicker.find(".iconpicker-item").each(function(){var b=a(this),e=b.attr("title").toLowerCase(),f=!1;try{f=new RegExp(c,"g")}catch(a){f=!1}f!==!1&&e.match(f)?(d.push(b),b.show()):b.hide()}),d},show:function(){return!this.popover.hasClass("in")&&(a.iconpicker.batch(a(".iconpicker-popover.in:not(.inline)").not(this.popover),"hide"),this._trigger("iconpickerShow"),this.updatePlacement(),this.popover.addClass("in"),void setTimeout(a.proxy(function(){this.popover.css("display",this.isInline()?"":"block"),this._trigger("iconpickerShown")},this),this.options.animation?300:1))},hide:function(){return!!this.popover.hasClass("in")&&(this._trigger("iconpickerHide"),this.popover.removeClass("in"),void setTimeout(a.proxy(function(){this.popover.css("display","none"),this.getSearchInput().val(""),this.filter(""),this._trigger("iconpickerHidden")},this),this.options.animation?300:1))},toggle:function(){this.popover.is(":visible")?this.hide():this.show(!0)},update:function(a,b){return a=a?a:this.getSourceValue(this.iconpickerValue),this._trigger("iconpickerUpdate"),b===!0?a=this.setValue(a):(a=this.setSourceValue(a),this._updateFormGroupStatus(a!==!1)),a!==!1&&this._updateComponents(),this._trigger("iconpickerUpdated"),a},destroy:function(){this._trigger("iconpickerDestroy"),this.element.removeData("iconpicker").removeData("iconpickerValue").removeClass("iconpicker-element"),this._unbindElementEvents(),this._unbindWindowEvents(),a(this.popover).remove(),this._trigger("iconpickerDestroyed")},disable:function(){return!!this.hasInput()&&(this.input.prop("disabled",!0),!0)},enable:function(){return!!this.hasInput()&&(this.input.prop("disabled",!1),!0)},isDisabled:function(){return!!this.hasInput()&&this.input.prop("disabled")===!0},isInline:function(){return"inline"===this.options.placement||this.popover.hasClass("inline")}},a.iconpicker=c,a.fn.iconpicker=function(b){return this.each(function(){var d=a(this);d.data("iconpicker")||d.data("iconpicker",new c(this,"object"==typeof b?b:{}))})},c.defaultOptions.icons=["fa-500px","fa-address-book","fa-address-book-o","fa-address-card","fa-address-card-o","fa-adjust","fa-adn","fa-align-center","fa-align-justify","fa-align-left","fa-align-right","fa-amazon","fa-ambulance","fa-american-sign-language-interpreting","fa-anchor","fa-android","fa-angellist","fa-angle-double-down","fa-angle-double-left","fa-angle-double-right","fa-angle-double-up","fa-angle-down","fa-angle-left","fa-angle-right","fa-angle-up","fa-apple","fa-archive","fa-area-chart","fa-arrow-circle-down","fa-arrow-circle-left","fa-arrow-circle-o-down","fa-arrow-circle-o-left","fa-arrow-circle-o-right","fa-arrow-circle-o-up","fa-arrow-circle-right","fa-arrow-circle-up","fa-arrow-down","fa-arrow-left","fa-arrow-right","fa-arrow-up","fa-arrows","fa-arrows-alt","fa-arrows-h","fa-arrows-v","fa-asl-interpreting","fa-assistive-listening-systems","fa-asterisk","fa-at","fa-audio-description","fa-automobile","fa-backward","fa-balance-scale","fa-ban","fa-bandcamp","fa-bank","fa-bar-chart","fa-bar-chart-o","fa-barcode","fa-bars","fa-bath","fa-bathtub","fa-battery","fa-battery-0","fa-battery-1","fa-battery-2","fa-battery-3","fa-battery-4","fa-battery-empty","fa-battery-full","fa-battery-half","fa-battery-quarter","fa-battery-three-quarters","fa-bed","fa-beer","fa-behance","fa-behance-square","fa-bell","fa-bell-o","fa-bell-slash","fa-bell-slash-o","fa-bicycle","fa-binoculars","fa-birthday-cake","fa-bitbucket","fa-bitbucket-square","fa-bitcoin","fa-black-tie","fa-blind","fa-bluetooth","fa-bluetooth-b","fa-bold","fa-bolt","fa-bomb","fa-book","fa-bookmark","fa-bookmark-o","fa-braille","fa-briefcase","fa-btc","fa-bug","fa-building","fa-building-o","fa-bullhorn","fa-bullseye","fa-bus","fa-buysellads","fa-cab","fa-calculator","fa-calendar","fa-calendar-check-o","fa-calendar-minus-o","fa-calendar-o","fa-calendar-plus-o","fa-calendar-times-o","fa-camera","fa-camera-retro","fa-car","fa-caret-down","fa-caret-left","fa-caret-right","fa-caret-square-o-down","fa-caret-square-o-left","fa-caret-square-o-right","fa-caret-square-o-up","fa-caret-up","fa-cart-arrow-down","fa-cart-plus","fa-cc","fa-cc-amex","fa-cc-diners-club","fa-cc-discover","fa-cc-jcb","fa-cc-mastercard","fa-cc-paypal","fa-cc-stripe","fa-cc-visa","fa-certificate","fa-chain","fa-chain-broken","fa-check","fa-check-circle","fa-check-circle-o","fa-check-square","fa-check-square-o","fa-chevron-circle-down","fa-chevron-circle-left","fa-chevron-circle-right","fa-chevron-circle-up","fa-chevron-down","fa-chevron-left","fa-chevron-right","fa-chevron-up","fa-child","fa-chrome","fa-circle","fa-circle-o","fa-circle-o-notch","fa-circle-thin","fa-clipboard","fa-clock-o","fa-clone","fa-close","fa-cloud","fa-cloud-download","fa-cloud-upload","fa-cny","fa-code","fa-code-fork","fa-codepen","fa-codiepie","fa-coffee","fa-cog","fa-cogs","fa-columns","fa-comment","fa-comment-o","fa-commenting","fa-commenting-o","fa-comments","fa-comments-o","fa-compass","fa-compress","fa-connectdevelop","fa-contao","fa-copy","fa-copyright","fa-creative-commons","fa-credit-card","fa-credit-card-alt","fa-crop","fa-crosshairs","fa-css3","fa-cube","fa-cubes","fa-cut","fa-cutlery","fa-dashboard","fa-dashcube","fa-database","fa-deaf","fa-deafness","fa-dedent","fa-delicious","fa-desktop","fa-deviantart","fa-diamond","fa-digg","fa-dollar","fa-dot-circle-o","fa-download","fa-dribbble","fa-drivers-license","fa-drivers-license-o","fa-dropbox","fa-drupal","fa-edge","fa-edit","fa-eercast","fa-eject","fa-ellipsis-h","fa-ellipsis-v","fa-empire","fa-envelope","fa-envelope-o","fa-envelope-open","fa-envelope-open-o","fa-envelope-square","fa-envira","fa-eraser","fa-etsy","fa-eur","fa-euro","fa-exchange","fa-exclamation","fa-exclamation-circle","fa-exclamation-triangle","fa-expand","fa-expeditedssl","fa-external-link","fa-external-link-square","fa-eye","fa-eye-slash","fa-eyedropper","fa-fa","fa-facebook","fa-facebook-f","fa-facebook-official","fa-facebook-square","fa-fast-backward","fa-fast-forward","fa-fax","fa-feed","fa-female","fa-fighter-jet","fa-file","fa-file-archive-o","fa-file-audio-o","fa-file-code-o","fa-file-excel-o","fa-file-image-o","fa-file-movie-o","fa-file-o","fa-file-pdf-o","fa-file-photo-o","fa-file-picture-o","fa-file-powerpoint-o","fa-file-sound-o","fa-file-text","fa-file-text-o","fa-file-video-o","fa-file-word-o","fa-file-zip-o","fa-files-o","fa-film","fa-filter","fa-fire","fa-fire-extinguisher","fa-firefox","fa-first-order","fa-flag","fa-flag-checkered","fa-flag-o","fa-flash","fa-flask","fa-flickr","fa-floppy-o","fa-folder","fa-folder-o","fa-folder-open","fa-folder-open-o","fa-font","fa-font-awesome","fa-fonticons","fa-fort-awesome","fa-forumbee","fa-forward","fa-foursquare","fa-free-code-camp","fa-frown-o","fa-futbol-o","fa-gamepad","fa-gavel","fa-gbp","fa-ge","fa-gear","fa-gears","fa-genderless","fa-get-pocket","fa-gg","fa-gg-circle","fa-gift","fa-git","fa-git-square","fa-github","fa-github-alt","fa-github-square","fa-gitlab","fa-gittip","fa-glass","fa-glide","fa-glide-g","fa-globe","fa-google","fa-google-plus","fa-google-plus-circle","fa-google-plus-official","fa-google-plus-square","fa-google-wallet","fa-graduation-cap","fa-gratipay","fa-grav","fa-group","fa-h-square","fa-hacker-news","fa-hand-grab-o","fa-hand-lizard-o","fa-hand-o-down","fa-hand-o-left","fa-hand-o-right","fa-hand-o-up","fa-hand-paper-o","fa-hand-peace-o","fa-hand-pointer-o","fa-hand-rock-o","fa-hand-scissors-o","fa-hand-spock-o","fa-hand-stop-o","fa-handshake-o","fa-hard-of-hearing","fa-hashtag","fa-hdd-o","fa-header","fa-headphones","fa-heart","fa-heart-o","fa-heartbeat","fa-history","fa-home","fa-hospital-o","fa-hotel","fa-hourglass","fa-hourglass-1","fa-hourglass-2","fa-hourglass-3","fa-hourglass-end","fa-hourglass-half","fa-hourglass-o","fa-hourglass-start","fa-houzz","fa-html5","fa-i-cursor","fa-id-badge","fa-id-card","fa-id-card-o","fa-ils","fa-image","fa-imdb","fa-inbox","fa-indent","fa-industry","fa-info","fa-info-circle","fa-inr","fa-instagram","fa-institution","fa-internet-explorer","fa-intersex","fa-ioxhost","fa-italic","fa-joomla","fa-jpy","fa-jsfiddle","fa-key","fa-keyboard-o","fa-krw","fa-language","fa-laptop","fa-lastfm","fa-lastfm-square","fa-leaf","fa-leanpub","fa-legal","fa-lemon-o","fa-level-down","fa-level-up","fa-life-bouy","fa-life-buoy","fa-life-ring","fa-life-saver","fa-lightbulb-o","fa-line-chart","fa-link","fa-linkedin","fa-linkedin-square","fa-linode","fa-linux","fa-list","fa-list-alt","fa-list-ol","fa-list-ul","fa-location-arrow","fa-lock","fa-long-arrow-down","fa-long-arrow-left","fa-long-arrow-right","fa-long-arrow-up","fa-low-vision","fa-magic","fa-magnet","fa-mail-forward","fa-mail-reply","fa-mail-reply-all","fa-male","fa-map","fa-map-marker","fa-map-o","fa-map-pin","fa-map-signs","fa-mars","fa-mars-double","fa-mars-stroke","fa-mars-stroke-h","fa-mars-stroke-v","fa-maxcdn","fa-meanpath","fa-medium","fa-medkit","fa-meetup","fa-meh-o","fa-mercury","fa-microchip","fa-microphone","fa-microphone-slash","fa-minus","fa-minus-circle","fa-minus-square","fa-minus-square-o","fa-mixcloud","fa-mobile","fa-mobile-phone","fa-modx","fa-money","fa-moon-o","fa-mortar-board","fa-motorcycle","fa-mouse-pointer","fa-music","fa-navicon","fa-neuter","fa-newspaper-o","fa-object-group","fa-object-ungroup","fa-odnoklassniki","fa-odnoklassniki-square","fa-opencart","fa-openid","fa-opera","fa-optin-monster","fa-outdent","fa-pagelines","fa-paint-brush","fa-paper-plane","fa-paper-plane-o","fa-paperclip","fa-paragraph","fa-paste","fa-pause","fa-pause-circle","fa-pause-circle-o","fa-paw","fa-paypal","fa-pencil","fa-pencil-square","fa-pencil-square-o","fa-percent","fa-phone","fa-phone-square","fa-photo","fa-picture-o","fa-pie-chart","fa-pied-piper","fa-pied-piper-alt","fa-pied-piper-pp","fa-pinterest","fa-pinterest-p","fa-pinterest-square","fa-plane","fa-play","fa-play-circle","fa-play-circle-o","fa-plug","fa-plus","fa-plus-circle","fa-plus-square","fa-plus-square-o","fa-podcast","fa-power-off","fa-print","fa-product-hunt","fa-puzzle-piece","fa-qq","fa-qrcode","fa-question","fa-question-circle","fa-question-circle-o","fa-quora","fa-quote-left","fa-quote-right","fa-ra","fa-random","fa-ravelry","fa-rebel","fa-recycle","fa-reddit","fa-reddit-alien","fa-reddit-square","fa-refresh","fa-registered","fa-remove","fa-renren","fa-reorder","fa-repeat","fa-reply","fa-reply-all","fa-resistance","fa-retweet","fa-rmb","fa-road","fa-rocket","fa-rotate-left","fa-rotate-right","fa-rouble","fa-rss","fa-rss-square","fa-rub","fa-ruble","fa-rupee","fa-s15","fa-safari","fa-save","fa-scissors","fa-scribd","fa-search","fa-search-minus","fa-search-plus","fa-sellsy","fa-send","fa-send-o","fa-server","fa-share","fa-share-alt","fa-share-alt-square","fa-share-square","fa-share-square-o","fa-shekel","fa-sheqel","fa-shield","fa-ship","fa-shirtsinbulk","fa-shopping-bag","fa-shopping-basket","fa-shopping-cart","fa-shower","fa-sign-in","fa-sign-language","fa-sign-out","fa-signal","fa-signing","fa-simplybuilt","fa-sitemap","fa-skyatlas","fa-skype","fa-slack","fa-sliders","fa-slideshare","fa-smile-o","fa-snapchat","fa-snapchat-ghost","fa-snapchat-square","fa-snowflake-o","fa-soccer-ball-o","fa-sort","fa-sort-alpha-asc","fa-sort-alpha-desc","fa-sort-amount-asc","fa-sort-amount-desc","fa-sort-asc","fa-sort-desc","fa-sort-down","fa-sort-numeric-asc","fa-sort-numeric-desc","fa-sort-up","fa-soundcloud","fa-space-shuttle","fa-spinner","fa-spoon","fa-spotify","fa-square","fa-square-o","fa-stack-exchange","fa-stack-overflow","fa-star","fa-star-half","fa-star-half-empty","fa-star-half-full","fa-star-half-o","fa-star-o","fa-steam","fa-steam-square","fa-step-backward","fa-step-forward","fa-stethoscope","fa-sticky-note","fa-sticky-note-o","fa-stop","fa-stop-circle","fa-stop-circle-o","fa-street-view","fa-strikethrough","fa-stumbleupon","fa-stumbleupon-circle","fa-subscript","fa-subway","fa-suitcase","fa-sun-o","fa-superpowers","fa-superscript","fa-support","fa-table","fa-tablet","fa-tachometer","fa-tag","fa-tags","fa-tasks","fa-taxi","fa-telegram","fa-television","fa-tencent-weibo","fa-terminal","fa-text-height","fa-text-width","fa-th","fa-th-large","fa-th-list","fa-themeisle","fa-thermometer","fa-thermometer-0","fa-thermometer-1","fa-thermometer-2","fa-thermometer-3","fa-thermometer-4","fa-thermometer-empty","fa-thermometer-full","fa-thermometer-half","fa-thermometer-quarter","fa-thermometer-three-quarters","fa-thumb-tack","fa-thumbs-down","fa-thumbs-o-down","fa-thumbs-o-up","fa-thumbs-up","fa-ticket","fa-times","fa-times-circle","fa-times-circle-o","fa-times-rectangle","fa-times-rectangle-o","fa-tint","fa-toggle-down","fa-toggle-left","fa-toggle-off","fa-toggle-on","fa-toggle-right","fa-toggle-up","fa-trademark","fa-train","fa-transgender","fa-transgender-alt","fa-trash","fa-trash-o","fa-tree","fa-trello","fa-tripadvisor","fa-trophy","fa-truck","fa-try","fa-tty","fa-tumblr","fa-tumblr-square","fa-turkish-lira","fa-tv","fa-twitch","fa-twitter","fa-twitter-square","fa-umbrella","fa-underline","fa-undo","fa-universal-access","fa-university","fa-unlink","fa-unlock","fa-unlock-alt","fa-unsorted","fa-upload","fa-usb","fa-usd","fa-user","fa-user-circle","fa-user-circle-o","fa-user-md","fa-user-o","fa-user-plus","fa-user-secret","fa-user-times","fa-users","fa-vcard","fa-vcard-o","fa-venus","fa-venus-double","fa-venus-mars","fa-viacoin","fa-viadeo","fa-viadeo-square","fa-video-camera","fa-vimeo","fa-vimeo-square","fa-vine","fa-vk","fa-volume-control-phone","fa-volume-down","fa-volume-off","fa-volume-up","fa-warning","fa-wechat","fa-weibo","fa-weixin","fa-whatsapp","fa-wheelchair","fa-wheelchair-alt","fa-wifi","fa-wikipedia-w","fa-window-close","fa-window-close-o","fa-window-maximize","fa-window-minimize","fa-window-restore","fa-windows","fa-won","fa-wordpress","fa-wpbeginner","fa-wpexplorer","fa-wpforms","fa-wrench","fa-xing","fa-xing-square","fa-y-combinator","fa-y-combinator-square","fa-yahoo","fa-yc","fa-yc-square","fa-yelp","fa-yen","fa-yoast","fa-youtube","fa-youtube-play","fa-youtube-square"];
|
2 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*!
|
2 |
+
* Font Awesome Icon Picker
|
3 |
+
* https://farbelous.github.io/fontawesome-iconpicker/
|
4 |
+
*
|
5 |
+
* Originally written by (c) 2016 Javi Aguilar
|
6 |
+
* Licensed under the MIT License
|
7 |
+
* https://github.com/farbelous/fontawesome-iconpicker/blob/master/LICENSE
|
8 |
+
*
|
9 |
+
*/
|
10 |
+
!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):a(jQuery)}(function(a){a.ui=a.ui||{};a.ui.version="1.12.1";/*!
|
11 |
+
* jQuery UI Position 1.12.1
|
12 |
+
* http://jqueryui.com
|
13 |
+
*
|
14 |
+
* Copyright jQuery Foundation and other contributors
|
15 |
+
* Released under the MIT license.
|
16 |
+
* http://jquery.org/license
|
17 |
+
*
|
18 |
+
* http://api.jqueryui.com/position/
|
19 |
+
*/
|
20 |
+
!function(){function b(a,b,c){return[parseFloat(a[0])*(l.test(a[0])?b/100:1),parseFloat(a[1])*(l.test(a[1])?c/100:1)]}function c(b,c){return parseInt(a.css(b,c),10)||0}function d(b){var c=b[0];return 9===c.nodeType?{width:b.width(),height:b.height(),offset:{top:0,left:0}}:a.isWindow(c)?{width:b.width(),height:b.height(),offset:{top:b.scrollTop(),left:b.scrollLeft()}}:c.preventDefault?{width:0,height:0,offset:{top:c.pageY,left:c.pageX}}:{width:b.outerWidth(),height:b.outerHeight(),offset:b.offset()}}var e,f=Math.max,g=Math.abs,h=/left|center|right/,i=/top|center|bottom/,j=/[\+\-]\d+(\.[\d]+)?%?/,k=/^\w+/,l=/%$/,m=a.fn.pos;a.pos={scrollbarWidth:function(){if(void 0!==e)return e;var b,c,d=a("<div style='display:block;position:absolute;width:50px;height:50px;overflow:hidden;'><div style='height:100px;width:auto;'></div></div>"),f=d.children()[0];return a("body").append(d),b=f.offsetWidth,d.css("overflow","scroll"),c=f.offsetWidth,b===c&&(c=d[0].clientWidth),d.remove(),e=b-c},getScrollInfo:function(b){var c=b.isWindow||b.isDocument?"":b.element.css("overflow-x"),d=b.isWindow||b.isDocument?"":b.element.css("overflow-y"),e="scroll"===c||"auto"===c&&b.width<b.element[0].scrollWidth;return{width:"scroll"===d||"auto"===d&&b.height<b.element[0].scrollHeight?a.pos.scrollbarWidth():0,height:e?a.pos.scrollbarWidth():0}},getWithinInfo:function(b){var c=a(b||window),d=a.isWindow(c[0]),e=!!c[0]&&9===c[0].nodeType;return{element:c,isWindow:d,isDocument:e,offset:d||e?{left:0,top:0}:a(b).offset(),scrollLeft:c.scrollLeft(),scrollTop:c.scrollTop(),width:c.outerWidth(),height:c.outerHeight()}}},a.fn.pos=function(e){if(!e||!e.of)return m.apply(this,arguments);e=a.extend({},e);var l,n,o,p,q,r,s=a(e.of),t=a.pos.getWithinInfo(e.within),u=a.pos.getScrollInfo(t),v=(e.collision||"flip").split(" "),w={};return r=d(s),s[0].preventDefault&&(e.at="left top"),n=r.width,o=r.height,p=r.offset,q=a.extend({},p),a.each(["my","at"],function(){var a,b,c=(e[this]||"").split(" ");1===c.length&&(c=h.test(c[0])?c.concat(["center"]):i.test(c[0])?["center"].concat(c):["center","center"]),c[0]=h.test(c[0])?c[0]:"center",c[1]=i.test(c[1])?c[1]:"center",a=j.exec(c[0]),b=j.exec(c[1]),w[this]=[a?a[0]:0,b?b[0]:0],e[this]=[k.exec(c[0])[0],k.exec(c[1])[0]]}),1===v.length&&(v[1]=v[0]),"right"===e.at[0]?q.left+=n:"center"===e.at[0]&&(q.left+=n/2),"bottom"===e.at[1]?q.top+=o:"center"===e.at[1]&&(q.top+=o/2),l=b(w.at,n,o),q.left+=l[0],q.top+=l[1],this.each(function(){var d,h,i=a(this),j=i.outerWidth(),k=i.outerHeight(),m=c(this,"marginLeft"),r=c(this,"marginTop"),x=j+m+c(this,"marginRight")+u.width,y=k+r+c(this,"marginBottom")+u.height,z=a.extend({},q),A=b(w.my,i.outerWidth(),i.outerHeight());"right"===e.my[0]?z.left-=j:"center"===e.my[0]&&(z.left-=j/2),"bottom"===e.my[1]?z.top-=k:"center"===e.my[1]&&(z.top-=k/2),z.left+=A[0],z.top+=A[1],d={marginLeft:m,marginTop:r},a.each(["left","top"],function(b,c){a.ui.pos[v[b]]&&a.ui.pos[v[b]][c](z,{targetWidth:n,targetHeight:o,elemWidth:j,elemHeight:k,collisionPosition:d,collisionWidth:x,collisionHeight:y,offset:[l[0]+A[0],l[1]+A[1]],my:e.my,at:e.at,within:t,elem:i})}),e.using&&(h=function(a){var b=p.left-z.left,c=b+n-j,d=p.top-z.top,h=d+o-k,l={target:{element:s,left:p.left,top:p.top,width:n,height:o},element:{element:i,left:z.left,top:z.top,width:j,height:k},horizontal:c<0?"left":b>0?"right":"center",vertical:h<0?"top":d>0?"bottom":"middle"};n<j&&g(b+c)<n&&(l.horizontal="center"),o<k&&g(d+h)<o&&(l.vertical="middle"),f(g(b),g(c))>f(g(d),g(h))?l.important="horizontal":l.important="vertical",e.using.call(this,a,l)}),i.offset(a.extend(z,{using:h}))})},a.ui.pos={_trigger:function(a,b,c,d){b.elem&&b.elem.trigger({type:c,position:a,positionData:b,triggered:d})},fit:{left:function(b,c){a.ui.pos._trigger(b,c,"posCollide","fitLeft");var d,e=c.within,g=e.isWindow?e.scrollLeft:e.offset.left,h=e.width,i=b.left-c.collisionPosition.marginLeft,j=g-i,k=i+c.collisionWidth-h-g;c.collisionWidth>h?j>0&&k<=0?(d=b.left+j+c.collisionWidth-h-g,b.left+=j-d):b.left=k>0&&j<=0?g:j>k?g+h-c.collisionWidth:g:j>0?b.left+=j:k>0?b.left-=k:b.left=f(b.left-i,b.left),a.ui.pos._trigger(b,c,"posCollided","fitLeft")},top:function(b,c){a.ui.pos._trigger(b,c,"posCollide","fitTop");var d,e=c.within,g=e.isWindow?e.scrollTop:e.offset.top,h=c.within.height,i=b.top-c.collisionPosition.marginTop,j=g-i,k=i+c.collisionHeight-h-g;c.collisionHeight>h?j>0&&k<=0?(d=b.top+j+c.collisionHeight-h-g,b.top+=j-d):b.top=k>0&&j<=0?g:j>k?g+h-c.collisionHeight:g:j>0?b.top+=j:k>0?b.top-=k:b.top=f(b.top-i,b.top),a.ui.pos._trigger(b,c,"posCollided","fitTop")}},flip:{left:function(b,c){a.ui.pos._trigger(b,c,"posCollide","flipLeft");var d,e,f=c.within,h=f.offset.left+f.scrollLeft,i=f.width,j=f.isWindow?f.scrollLeft:f.offset.left,k=b.left-c.collisionPosition.marginLeft,l=k-j,m=k+c.collisionWidth-i-j,n="left"===c.my[0]?-c.elemWidth:"right"===c.my[0]?c.elemWidth:0,o="left"===c.at[0]?c.targetWidth:"right"===c.at[0]?-c.targetWidth:0,p=-2*c.offset[0];l<0?((d=b.left+n+o+p+c.collisionWidth-i-h)<0||d<g(l))&&(b.left+=n+o+p):m>0&&((e=b.left-c.collisionPosition.marginLeft+n+o+p-j)>0||g(e)<m)&&(b.left+=n+o+p),a.ui.pos._trigger(b,c,"posCollided","flipLeft")},top:function(b,c){a.ui.pos._trigger(b,c,"posCollide","flipTop");var d,e,f=c.within,h=f.offset.top+f.scrollTop,i=f.height,j=f.isWindow?f.scrollTop:f.offset.top,k=b.top-c.collisionPosition.marginTop,l=k-j,m=k+c.collisionHeight-i-j,n="top"===c.my[1],o=n?-c.elemHeight:"bottom"===c.my[1]?c.elemHeight:0,p="top"===c.at[1]?c.targetHeight:"bottom"===c.at[1]?-c.targetHeight:0,q=-2*c.offset[1];l<0?((e=b.top+o+p+q+c.collisionHeight-i-h)<0||e<g(l))&&(b.top+=o+p+q):m>0&&((d=b.top-c.collisionPosition.marginTop+o+p+q-j)>0||g(d)<m)&&(b.top+=o+p+q),a.ui.pos._trigger(b,c,"posCollided","flipTop")}},flipfit:{left:function(){a.ui.pos.flip.left.apply(this,arguments),a.ui.pos.fit.left.apply(this,arguments)},top:function(){a.ui.pos.flip.top.apply(this,arguments),a.ui.pos.fit.top.apply(this,arguments)}}},function(){var b,c,d,e,f,g=document.getElementsByTagName("body")[0],h=document.createElement("div");b=document.createElement(g?"div":"body"),d={visibility:"hidden",width:0,height:0,border:0,margin:0,background:"none"},g&&a.extend(d,{position:"absolute",left:"-1000px",top:"-1000px"});for(f in d)b.style[f]=d[f];b.appendChild(h),c=g||document.documentElement,c.insertBefore(b,c.firstChild),h.style.cssText="position: absolute; left: 10.7432222px;",e=a(h).offset().left,a.support.offsetFractions=e>10&&e<11,b.innerHTML="",c.removeChild(b)}()}();a.ui.position}),function(a){"use strict";"function"==typeof define&&define.amd?define(["jquery"],a):window.jQuery&&!window.jQuery.fn.iconpicker&&a(window.jQuery)}(function(a){"use strict";var b={isEmpty:function(a){return!1===a||""===a||null===a||void 0===a},isEmptyObject:function(a){return!0===this.isEmpty(a)||0===a.length},isElement:function(b){return a(b).length>0},isString:function(a){return"string"==typeof a||a instanceof String},isArray:function(b){return a.isArray(b)},inArray:function(b,c){return-1!==a.inArray(b,c)},throwError:function(a){throw"Font Awesome Icon Picker Exception: "+a}},c=function(d,e){this._id=c._idCounter++,this.element=a(d).addClass("iconpicker-element"),this._trigger("iconpickerCreate",{iconpickerValue:this.iconpickerValue}),this.options=a.extend({},c.defaultOptions,this.element.data(),e),this.options.templates=a.extend({},c.defaultOptions.templates,this.options.templates),this.options.originalPlacement=this.options.placement,this.container=!!b.isElement(this.options.container)&&a(this.options.container),!1===this.container&&(this.element.is(".dropdown-toggle")?this.container=a("~ .dropdown-menu:first",this.element):this.container=this.element.is("input,textarea,button,.btn")?this.element.parent():this.element),this.container.addClass("iconpicker-container"),this.isDropdownMenu()&&(this.options.placement="inline"),this.input=!!this.element.is("input,textarea")&&this.element.addClass("iconpicker-input"),!1===this.input&&(this.input=this.container.find(this.options.input),this.input.is("input,textarea")||(this.input=!1)),this.component=this.isDropdownMenu()?this.container.parent().find(this.options.component):this.container.find(this.options.component),0===this.component.length?this.component=!1:this.component.find("i").addClass("iconpicker-component"),this._createPopover(),this._createIconpicker(),0===this.getAcceptButton().length&&(this.options.mustAccept=!1),this.isInputGroup()?this.container.parent().append(this.popover):this.container.append(this.popover),this._bindElementEvents(),this._bindWindowEvents(),this.update(this.options.selected),this.isInline()&&this.show(),this._trigger("iconpickerCreated",{iconpickerValue:this.iconpickerValue})};c._idCounter=0,c.defaultOptions={title:!1,selected:!1,defaultValue:!1,placement:"bottom",collision:"none",animation:!0,hideOnSelect:!1,showFooter:!1,searchInFooter:!1,mustAccept:!1,selectedCustomClass:"bg-primary",icons:[],fullClassFormatter:function(a){return a},input:"input,.iconpicker-input",inputSearch:!1,container:!1,component:".input-group-addon,.iconpicker-component",templates:{popover:'<div class="iconpicker-popover popover"><div class="arrow"></div><div class="popover-title"></div><div class="popover-content"></div></div>',footer:'<div class="popover-footer"></div>',buttons:'<button class="iconpicker-btn iconpicker-btn-cancel btn btn-default btn-sm">Cancel</button> <button class="iconpicker-btn iconpicker-btn-accept btn btn-primary btn-sm">Accept</button>',search:'<input type="search" class="form-control iconpicker-search" placeholder="Type to filter" />',iconpicker:'<div class="iconpicker"><div class="iconpicker-items"></div></div>',iconpickerItem:'<a role="button" href="#" class="iconpicker-item"><i></i></a>'}},c.batch=function(b,c){var d=Array.prototype.slice.call(arguments,2);return a(b).each(function(){var b=a(this).data("iconpicker");b&&b[c].apply(b,d)})},c.prototype={constructor:c,options:{},_id:0,_trigger:function(b,c){c=c||{},this.element.trigger(a.extend({type:b,iconpickerInstance:this},c))},_createPopover:function(){this.popover=a(this.options.templates.popover);var c=this.popover.find(".popover-title");if(this.options.title&&c.append(a('<div class="popover-title-text">'+this.options.title+"</div>")),this.hasSeparatedSearchInput()&&!this.options.searchInFooter?c.append(this.options.templates.search):this.options.title||c.remove(),this.options.showFooter&&!b.isEmpty(this.options.templates.footer)){var d=a(this.options.templates.footer);this.hasSeparatedSearchInput()&&this.options.searchInFooter&&d.append(a(this.options.templates.search)),b.isEmpty(this.options.templates.buttons)||d.append(a(this.options.templates.buttons)),this.popover.append(d)}return!0===this.options.animation&&this.popover.addClass("fade"),this.popover},_createIconpicker:function(){var b=this;this.iconpicker=a(this.options.templates.iconpicker);var c=function(c){var d=a(this);d.is("i")&&(d=d.parent()),b._trigger("iconpickerSelect",{iconpickerItem:d,iconpickerValue:b.iconpickerValue}),!1===b.options.mustAccept?(b.update(d.data("iconpickerValue")),b._trigger("iconpickerSelected",{iconpickerItem:this,iconpickerValue:b.iconpickerValue})):b.update(d.data("iconpickerValue"),!0),b.options.hideOnSelect&&!1===b.options.mustAccept&&b.hide()};for(var d in this.options.icons)if("string"==typeof this.options.icons[d].title){var e=a(this.options.templates.iconpickerItem);if(e.find("i").addClass(this.options.fullClassFormatter(this.options.icons[d].title)),e.data("iconpickerValue",this.options.icons[d].title).on("click.iconpicker",c),this.iconpicker.find(".iconpicker-items").append(e.attr("title","."+this.options.icons[d].title)),this.options.icons[d].searchTerms.length>0){for(var f="",g=0;g<this.options.icons[d].searchTerms.length;g++)f=f+this.options.icons[d].searchTerms[g]+" ";this.iconpicker.find(".iconpicker-items").append(e.attr("data-search-terms",f))}}return this.popover.find(".popover-content").append(this.iconpicker),this.iconpicker},_isEventInsideIconpicker:function(b){var c=a(b.target);return!((!c.hasClass("iconpicker-element")||c.hasClass("iconpicker-element")&&!c.is(this.element))&&0===c.parents(".iconpicker-popover").length)},_bindElementEvents:function(){var c=this;this.getSearchInput().on("keyup.iconpicker",function(){c.filter(a(this).val().toLowerCase())}),this.getAcceptButton().on("click.iconpicker",function(){var a=c.iconpicker.find(".iconpicker-selected").get(0);c.update(c.iconpickerValue),c._trigger("iconpickerSelected",{iconpickerItem:a,iconpickerValue:c.iconpickerValue}),c.isInline()||c.hide()}),this.getCancelButton().on("click.iconpicker",function(){c.isInline()||c.hide()}),this.element.on("focus.iconpicker",function(a){c.show(),a.stopPropagation()}),this.hasComponent()&&this.component.on("click.iconpicker",function(){c.toggle()}),this.hasInput()&&this.input.on("keyup.iconpicker",function(d){b.inArray(d.keyCode,[38,40,37,39,16,17,18,9,8,91,93,20,46,186,190,46,78,188,44,86])?c._updateFormGroupStatus(!1!==c.getValid(this.value)):c.update(),!0===c.options.inputSearch&&c.filter(a(this).val().toLowerCase())})},_bindWindowEvents:function(){var b=a(window.document),c=this,d=".iconpicker.inst"+this._id;a(window).on("resize.iconpicker"+d+" orientationchange.iconpicker"+d,function(a){c.popover.hasClass("in")&&c.updatePlacement()}),c.isInline()||b.on("mouseup"+d,function(a){c._isEventInsideIconpicker(a)||c.isInline()||c.hide()})},_unbindElementEvents:function(){this.popover.off(".iconpicker"),this.element.off(".iconpicker"),this.hasInput()&&this.input.off(".iconpicker"),this.hasComponent()&&this.component.off(".iconpicker"),this.hasContainer()&&this.container.off(".iconpicker")},_unbindWindowEvents:function(){a(window).off(".iconpicker.inst"+this._id),a(window.document).off(".iconpicker.inst"+this._id)},updatePlacement:function(b,c){b=b||this.options.placement,this.options.placement=b,c=c||this.options.collision,c=!0===c?"flip":c;var d={at:"right bottom",my:"right top",of:this.hasInput()&&!this.isInputGroup()?this.input:this.container,collision:!0===c?"flip":c,within:window};if(this.popover.removeClass("inline topLeftCorner topLeft top topRight topRightCorner rightTop right rightBottom bottomRight bottomRightCorner bottom bottomLeft bottomLeftCorner leftBottom left leftTop"),"object"==typeof b)return this.popover.pos(a.extend({},d,b));switch(b){case"inline":d=!1;break;case"topLeftCorner":d.my="right bottom",d.at="left top";break;case"topLeft":d.my="left bottom",d.at="left top";break;case"top":d.my="center bottom",d.at="center top";break;case"topRight":d.my="right bottom",d.at="right top";break;case"topRightCorner":d.my="left bottom",d.at="right top";break;case"rightTop":d.my="left bottom",d.at="right center";break;case"right":d.my="left center",d.at="right center";break;case"rightBottom":d.my="left top",d.at="right center";break;case"bottomRightCorner":d.my="left top",d.at="right bottom";break;case"bottomRight":d.my="right top",d.at="right bottom";break;case"bottom":d.my="center top",d.at="center bottom";break;case"bottomLeft":d.my="left top",d.at="left bottom";break;case"bottomLeftCorner":d.my="right top",d.at="left bottom";break;case"leftBottom":d.my="right top",d.at="left center";break;case"left":d.my="right center",d.at="left center";break;case"leftTop":d.my="right bottom",d.at="left center";break;default:return!1}return this.popover.css({display:"inline"===this.options.placement?"":"block"}),!1!==d?this.popover.pos(d).css("maxWidth",a(window).width()-this.container.offset().left-5):this.popover.css({top:"auto",right:"auto",bottom:"auto",left:"auto",maxWidth:"none"}),this.popover.addClass(this.options.placement),!0},_updateComponents:function(){if(this.iconpicker.find(".iconpicker-item.iconpicker-selected").removeClass("iconpicker-selected "+this.options.selectedCustomClass),this.iconpickerValue&&this.iconpicker.find("."+this.options.fullClassFormatter(this.iconpickerValue).replace(/ /g,".")).parent().addClass("iconpicker-selected "+this.options.selectedCustomClass),this.hasComponent()){var a=this.component.find("i");a.length>0?a.attr("class",this.options.fullClassFormatter(this.iconpickerValue)):this.component.html(this.getHtml())}},_updateFormGroupStatus:function(a){return!!this.hasInput()&&(!1!==a?this.input.parents(".form-group:first").removeClass("has-error"):this.input.parents(".form-group:first").addClass("has-error"),!0)},getValid:function(c){b.isString(c)||(c="");var d=""===c;c=a.trim(c);for(var e=!1,f=0;f<this.options.icons.length;f++)if(this.options.icons[f].title===c){e=!0;break}return!(!e&&!d)&&c},setValue:function(a){var b=this.getValid(a);return!1!==b?(this.iconpickerValue=b,this._trigger("iconpickerSetValue",{iconpickerValue:b}),this.iconpickerValue):(this._trigger("iconpickerInvalid",{iconpickerValue:a}),!1)},getHtml:function(){return'<i class="'+this.options.fullClassFormatter(this.iconpickerValue)+'"></i>'},setSourceValue:function(a){return a=this.setValue(a),!1!==a&&""!==a&&(this.hasInput()?this.input.val(this.iconpickerValue):this.element.data("iconpickerValue",this.iconpickerValue),this._trigger("iconpickerSetSourceValue",{iconpickerValue:a})),a},getSourceValue:function(a){a=a||this.options.defaultValue;var b=a;return b=this.hasInput()?this.input.val():this.element.data("iconpickerValue"),void 0!==b&&""!==b&&null!==b&&!1!==b||(b=a),b},hasInput:function(){return!1!==this.input},isInputSearch:function(){return this.hasInput()&&!0===this.options.inputSearch},isInputGroup:function(){return this.container.is(".input-group")},isDropdownMenu:function(){return this.container.is(".dropdown-menu")},hasSeparatedSearchInput:function(){return!1!==this.options.templates.search&&!this.isInputSearch()},hasComponent:function(){return!1!==this.component},hasContainer:function(){return!1!==this.container},getAcceptButton:function(){return this.popover.find(".iconpicker-btn-accept")},getCancelButton:function(){return this.popover.find(".iconpicker-btn-cancel")},getSearchInput:function(){return this.popover.find(".iconpicker-search")},filter:function(c){if(b.isEmpty(c))return this.iconpicker.find(".iconpicker-item").show(),a(!1);var d=[];return this.iconpicker.find(".iconpicker-item").each(function(){var b=a(this),e=b.attr("title").toLowerCase();e=e+" "+(b.attr("data-search-terms")?b.attr("data-search-terms").toLowerCase():"");var f=!1;try{f=new RegExp("(^|\\W)"+c,"g")}catch(a){f=!1}!1!==f&&e.match(f)?(d.push(b),b.show()):b.hide()}),d},show:function(){if(this.popover.hasClass("in"))return!1;a.iconpicker.batch(a(".iconpicker-popover.in:not(.inline)").not(this.popover),"hide"),this._trigger("iconpickerShow",{iconpickerValue:this.iconpickerValue}),this.updatePlacement(),this.popover.addClass("in"),setTimeout(a.proxy(function(){this.popover.css("display",this.isInline()?"":"block"),this._trigger("iconpickerShown",{iconpickerValue:this.iconpickerValue})},this),this.options.animation?300:1)},hide:function(){if(!this.popover.hasClass("in"))return!1;this._trigger("iconpickerHide",{iconpickerValue:this.iconpickerValue}),this.popover.removeClass("in"),setTimeout(a.proxy(function(){this.popover.css("display","none"),this.getSearchInput().val(""),this.filter(""),this._trigger("iconpickerHidden",{iconpickerValue:this.iconpickerValue})},this),this.options.animation?300:1)},toggle:function(){this.popover.is(":visible")?this.hide():this.show(!0)},update:function(a,b){return a=a||this.getSourceValue(this.iconpickerValue),this._trigger("iconpickerUpdate",{iconpickerValue:this.iconpickerValue}),!0===b?a=this.setValue(a):(a=this.setSourceValue(a),this._updateFormGroupStatus(!1!==a)),!1!==a&&this._updateComponents(),this._trigger("iconpickerUpdated",{iconpickerValue:this.iconpickerValue}),a},destroy:function(){this._trigger("iconpickerDestroy",{iconpickerValue:this.iconpickerValue}),this.element.removeData("iconpicker").removeData("iconpickerValue").removeClass("iconpicker-element"),this._unbindElementEvents(),this._unbindWindowEvents(),a(this.popover).remove(),this._trigger("iconpickerDestroyed",{iconpickerValue:this.iconpickerValue})},disable:function(){return!!this.hasInput()&&(this.input.prop("disabled",!0),!0)},enable:function(){return!!this.hasInput()&&(this.input.prop("disabled",!1),!0)},isDisabled:function(){return!!this.hasInput()&&!0===this.input.prop("disabled")},isInline:function(){return"inline"===this.options.placement||this.popover.hasClass("inline")}},a.iconpicker=c,a.fn.iconpicker=function(b){return this.each(function(){var d=a(this);d.data("iconpicker")||d.data("iconpicker",new c(this,"object"==typeof b?b:{}))})},c.defaultOptions=a.extend(c.defaultOptions,{icons:[{title:"fab fa-500px",searchTerms:[]},{title:"fab fa-accessible-icon",searchTerms:["accessibility","wheelchair","handicap","person","wheelchair-alt"]},{title:"fab fa-accusoft",searchTerms:[]},{title:"fas fa-address-book",searchTerms:[]},{title:"far fa-address-book",searchTerms:[]},{title:"fas fa-address-card",searchTerms:[]},{title:"far fa-address-card",searchTerms:[]},{title:"fas fa-adjust",searchTerms:["contrast"]},{title:"fab fa-adn",searchTerms:[]},{title:"fab fa-adversal",searchTerms:[]},{title:"fab fa-affiliatetheme",searchTerms:[]},{title:"fab fa-algolia",searchTerms:[]},{title:"fas fa-align-center",searchTerms:["middle","text"]},{title:"fas fa-align-justify",searchTerms:["text"]},{title:"fas fa-align-left",searchTerms:["text"]},{title:"fas fa-align-right",searchTerms:["text"]},{title:"fab fa-amazon",searchTerms:[]},{title:"fab fa-amazon-pay",searchTerms:[]},{title:"fas fa-ambulance",searchTerms:["vehicle","support","help"]},{title:"fas fa-american-sign-language-interpreting",searchTerms:[]},{title:"fab fa-amilia",searchTerms:[]},{title:"fas fa-anchor",searchTerms:["link"]},{title:"fab fa-android",searchTerms:["robot"]},{title:"fab fa-angellist",searchTerms:[]},{title:"fas fa-angle-double-down",searchTerms:["arrows"]},{title:"fas fa-angle-double-left",searchTerms:["laquo","quote","previous","back","arrows"]},{title:"fas fa-angle-double-right",searchTerms:["raquo","quote","next","forward","arrows"]},{title:"fas fa-angle-double-up",searchTerms:["arrows"]},{title:"fas fa-angle-down",searchTerms:["arrow"]},{title:"fas fa-angle-left",searchTerms:["previous","back","arrow"]},{title:"fas fa-angle-right",searchTerms:["next","forward","arrow"]},{title:"fas fa-angle-up",searchTerms:["arrow"]},{title:"fab fa-angrycreative",searchTerms:[]},{title:"fab fa-angular",searchTerms:[]},{title:"fab fa-app-store",searchTerms:[]},{title:"fab fa-app-store-ios",searchTerms:[]},{title:"fab fa-apper",searchTerms:[]},{title:"fab fa-apple",searchTerms:["osx","food"]},{title:"fab fa-apple-pay",searchTerms:[]},{title:"fas fa-archive",searchTerms:["box","storage","package"]},{title:"fas fa-arrow-alt-circle-down",searchTerms:["download","arrow-circle-o-down"]},{title:"far fa-arrow-alt-circle-down",searchTerms:["download","arrow-circle-o-down"]},{title:"fas fa-arrow-alt-circle-left",searchTerms:["previous","back","arrow-circle-o-left"]},{title:"far fa-arrow-alt-circle-left",searchTerms:["previous","back","arrow-circle-o-left"]},{title:"fas fa-arrow-alt-circle-right",searchTerms:["next","forward","arrow-circle-o-right"]},{title:"far fa-arrow-alt-circle-right",searchTerms:["next","forward","arrow-circle-o-right"]},{title:"fas fa-arrow-alt-circle-up",searchTerms:["arrow-circle-o-up"]},{title:"far fa-arrow-alt-circle-up",searchTerms:["arrow-circle-o-up"]},{title:"fas fa-arrow-circle-down",searchTerms:["download"]},{title:"fas fa-arrow-circle-left",searchTerms:["previous","back"]},{title:"fas fa-arrow-circle-right",searchTerms:["next","forward"]},{title:"fas fa-arrow-circle-up",searchTerms:[]},{title:"fas fa-arrow-down",searchTerms:["download"]},{title:"fas fa-arrow-left",searchTerms:["previous","back"]},{title:"fas fa-arrow-right",searchTerms:["next","forward"]},{title:"fas fa-arrow-up",searchTerms:[]},{title:"fas fa-arrows-alt",searchTerms:["expand","enlarge","fullscreen","bigger","move","reorder","resize","arrow","arrows"]},{title:"fas fa-arrows-alt-h",searchTerms:["resize","arrows-h"]},{title:"fas fa-arrows-alt-v",searchTerms:["resize","arrows-v"]},{title:"fas fa-assistive-listening-systems",searchTerms:[]},{title:"fas fa-asterisk",searchTerms:["details"]},{title:"fab fa-asymmetrik",searchTerms:[]},{title:"fas fa-at",searchTerms:["email","e-mail"]},{title:"fab fa-audible",searchTerms:[]},{title:"fas fa-audio-description",searchTerms:[]},{title:"fab fa-autoprefixer",searchTerms:[]},{title:"fab fa-avianex",searchTerms:[]},{title:"fab fa-aviato",searchTerms:[]},{title:"fab fa-aws",searchTerms:[]},{title:"fas fa-backward",searchTerms:["rewind","previous"]},{title:"fas fa-balance-scale",searchTerms:[]},{title:"fas fa-ban",searchTerms:["delete","remove","trash","hide","block","stop","abort","cancel","ban","prohibit"]},{title:"fas fa-band-aid",searchTerms:["bandage","ouch","boo boo"]},{title:"fab fa-bandcamp",searchTerms:[]},{title:"fas fa-barcode",searchTerms:["scan"]},{title:"fas fa-bars",searchTerms:["menu","drag","reorder","settings","list","ul","ol","checklist","todo","list","hamburger"]},{title:"fas fa-baseball-ball",searchTerms:[]},{title:"fas fa-basketball-ball",searchTerms:[]},{title:"fas fa-bath",searchTerms:[]},{title:"fas fa-battery-empty",searchTerms:["power","status"]},{title:"fas fa-battery-full",searchTerms:["power","status"]},{title:"fas fa-battery-half",searchTerms:["power","status"]},{title:"fas fa-battery-quarter",searchTerms:["power","status"]},{title:"fas fa-battery-three-quarters",searchTerms:["power","status"]},{title:"fas fa-bed",searchTerms:["travel"]},{title:"fas fa-beer",searchTerms:["alcohol","stein","drink","mug","bar","liquor"]},{title:"fab fa-behance",searchTerms:[]},{title:"fab fa-behance-square",searchTerms:[]},{title:"fas fa-bell",searchTerms:["alert","reminder","notification"]},{title:"far fa-bell",searchTerms:["alert","reminder","notification"]},{title:"fas fa-bell-slash",searchTerms:[]},{title:"far fa-bell-slash",searchTerms:[]},{title:"fas fa-bicycle",searchTerms:["vehicle","bike","gears"]},{title:"fab fa-bimobject",searchTerms:[]},{title:"fas fa-binoculars",searchTerms:[]},{title:"fas fa-birthday-cake",searchTerms:[]},{title:"fab fa-bitbucket",searchTerms:["git","bitbucket-square"]},{title:"fab fa-bitcoin",searchTerms:[]},{title:"fab fa-bity",searchTerms:[]},{title:"fab fa-black-tie",searchTerms:[]},{title:"fab fa-blackberry",searchTerms:[]},{title:"fas fa-blind",searchTerms:[]},{title:"fab fa-blogger",searchTerms:[]},{title:"fab fa-blogger-b",searchTerms:[]},{title:"fab fa-bluetooth",searchTerms:[]},{title:"fab fa-bluetooth-b",searchTerms:[]},{title:"fas fa-bold",searchTerms:[]},{title:"fas fa-bolt",searchTerms:["lightning","weather"]},{title:"fas fa-bomb",searchTerms:[]},{title:"fas fa-book",searchTerms:["read","documentation"]},{title:"fas fa-bookmark",searchTerms:["save"]},{title:"far fa-bookmark",searchTerms:["save"]},{title:"fas fa-bowling-ball",searchTerms:[]},{title:"fas fa-box",searchTerms:[]},{title:"fas fa-boxes",searchTerms:[]},{title:"fas fa-braille",searchTerms:[]},{title:"fas fa-briefcase",searchTerms:["work","business","office","luggage","bag"]},{title:"fab fa-btc",searchTerms:[]},{title:"fas fa-bug",searchTerms:["report","insect"]},{title:"fas fa-building",searchTerms:["work","business","apartment","office","company"]},{title:"far fa-building",searchTerms:["work","business","apartment","office","company"]},{title:"fas fa-bullhorn",searchTerms:["announcement","share","broadcast","louder","megaphone"]},{title:"fas fa-bullseye",searchTerms:["target"]},{title:"fab fa-buromobelexperte",searchTerms:[]},{title:"fas fa-bus",searchTerms:["vehicle"]},{title:"fab fa-buysellads",searchTerms:[]},{title:"fas fa-calculator",searchTerms:[]},{title:"fas fa-calendar",searchTerms:["date","time","when","event","calendar-o"]},{title:"far fa-calendar",searchTerms:["date","time","when","event","calendar-o"]},{title:"fas fa-calendar-alt",searchTerms:["date","time","when","event","calendar"]},{title:"far fa-calendar-alt",searchTerms:["date","time","when","event","calendar"]},{title:"fas fa-calendar-check",searchTerms:["ok"]},{title:"far fa-calendar-check",searchTerms:["ok"]},{title:"fas fa-calendar-minus",searchTerms:[]},{title:"far fa-calendar-minus",searchTerms:[]},{title:"fas fa-calendar-plus",searchTerms:[]},{title:"far fa-calendar-plus",searchTerms:[]},{title:"fas fa-calendar-times",searchTerms:[]},{title:"far fa-calendar-times",searchTerms:[]},{title:"fas fa-camera",searchTerms:["photo","picture","record"]},{title:"fas fa-camera-retro",searchTerms:["photo","picture","record"]},{title:"fas fa-car",searchTerms:["vehicle"]},{title:"fas fa-caret-down",searchTerms:["more","dropdown","menu","triangle down","arrow"]},{title:"fas fa-caret-left",searchTerms:["previous","back","triangle left","arrow"]},{title:"fas fa-caret-right",searchTerms:["next","forward","triangle right","arrow"]},{title:"fas fa-caret-square-down",searchTerms:["more","dropdown","menu","caret-square-o-down"]},{title:"far fa-caret-square-down",searchTerms:["more","dropdown","menu","caret-square-o-down"]},{title:"fas fa-caret-square-left",searchTerms:["previous","back","caret-square-o-left"]},{title:"far fa-caret-square-left",searchTerms:["previous","back","caret-square-o-left"]},{title:"fas fa-caret-square-right",searchTerms:["next","forward","caret-square-o-right"]},{title:"far fa-caret-square-right",searchTerms:["next","forward","caret-square-o-right"]},{title:"fas fa-caret-square-up",searchTerms:["caret-square-o-up"]},{title:"far fa-caret-square-up",searchTerms:["caret-square-o-up"]},{title:"fas fa-caret-up",searchTerms:["triangle up","arrow"]},{title:"fas fa-cart-arrow-down",searchTerms:["shopping"]},{title:"fas fa-cart-plus",searchTerms:["add","shopping"]},{title:"fab fa-cc-amazon-pay",searchTerms:[]},{title:"fab fa-cc-amex",searchTerms:["amex"]},{title:"fab fa-cc-apple-pay",searchTerms:[]},{title:"fab fa-cc-diners-club",searchTerms:[]},{title:"fab fa-cc-discover",searchTerms:[]},{title:"fab fa-cc-jcb",searchTerms:[]},{title:"fab fa-cc-mastercard",searchTerms:[]},{title:"fab fa-cc-paypal",searchTerms:[]},{title:"fab fa-cc-stripe",searchTerms:[]},{title:"fab fa-cc-visa",searchTerms:[]},{title:"fab fa-centercode",searchTerms:[]},{title:"fas fa-certificate",searchTerms:["badge","star"]},{title:"fas fa-chart-area",searchTerms:["graph","analytics","area-chart"]},{title:"fas fa-chart-bar",searchTerms:["graph","analytics","bar-chart"]},{title:"far fa-chart-bar",searchTerms:["graph","analytics","bar-chart"]},{title:"fas fa-chart-line",searchTerms:["graph","analytics","line-chart","dashboard"]},{title:"fas fa-chart-pie",searchTerms:["graph","analytics","pie-chart"]},{title:"fas fa-check",searchTerms:["checkmark","done","todo","agree","accept","confirm","tick","ok","select"]},{title:"fas fa-check-circle",searchTerms:["todo","done","agree","accept","confirm","ok","select"]},{title:"far fa-check-circle",searchTerms:["todo","done","agree","accept","confirm","ok","select"]},{title:"fas fa-check-square",searchTerms:["checkmark","done","todo","agree","accept","confirm","ok","select"]},{title:"far fa-check-square",searchTerms:["checkmark","done","todo","agree","accept","confirm","ok","select"]},{title:"fas fa-chess",searchTerms:[]},{title:"fas fa-chess-bishop",searchTerms:[]},{title:"fas fa-chess-board",searchTerms:[]},{title:"fas fa-chess-king",searchTerms:[]},{title:"fas fa-chess-knight",searchTerms:[]},{title:"fas fa-chess-pawn",searchTerms:[]},{title:"fas fa-chess-queen",searchTerms:[]},{title:"fas fa-chess-rook",searchTerms:[]},{title:"fas fa-chevron-circle-down",searchTerms:["more","dropdown","menu","arrow"]},{title:"fas fa-chevron-circle-left",searchTerms:["previous","back","arrow"]},{title:"fas fa-chevron-circle-right",searchTerms:["next","forward","arrow"]},{title:"fas fa-chevron-circle-up",searchTerms:["arrow"]},{title:"fas fa-chevron-down",searchTerms:[]},{title:"fas fa-chevron-left",searchTerms:["bracket","previous","back"]},{title:"fas fa-chevron-right",searchTerms:["bracket","next","forward"]},{title:"fas fa-chevron-up",searchTerms:[]},{title:"fas fa-child",searchTerms:[]},{title:"fab fa-chrome",searchTerms:["browser"]},{title:"fas fa-circle",searchTerms:["dot","notification","circle-thin"]},{title:"far fa-circle",searchTerms:["dot","notification","circle-thin"]},{title:"fas fa-circle-notch",searchTerms:["circle-o-notch"]},{title:"fas fa-clipboard",searchTerms:["paste"]},{title:"far fa-clipboard",searchTerms:["paste"]},{title:"fas fa-clipboard-check",searchTerms:[]},{title:"fas fa-clipboard-list",searchTerms:[]},{title:"fas fa-clock",searchTerms:["watch","timer","late","timestamp","date"]},{title:"far fa-clock",searchTerms:["watch","timer","late","timestamp","date"]},{title:"fas fa-clone",searchTerms:["copy"]},{title:"far fa-clone",searchTerms:["copy"]},{title:"fas fa-closed-captioning",searchTerms:["cc"]},{title:"far fa-closed-captioning",searchTerms:["cc"]},{title:"fas fa-cloud",searchTerms:["save"]},{title:"fas fa-cloud-download-alt",searchTerms:["cloud-download"]},{title:"fas fa-cloud-upload-alt",searchTerms:["cloud-upload"]},{title:"fab fa-cloudscale",searchTerms:[]},{title:"fab fa-cloudsmith",searchTerms:[]},{title:"fab fa-cloudversify",searchTerms:[]},{title:"fas fa-code",searchTerms:["html","brackets"]},{title:"fas fa-code-branch",searchTerms:["git","fork","vcs","svn","github","rebase","version","branch","code-fork"]},{title:"fab fa-codepen",searchTerms:[]},{title:"fab fa-codiepie",searchTerms:[]},{title:"fas fa-coffee",searchTerms:["morning","mug","breakfast","tea","drink","cafe"]},{title:"fas fa-cog",searchTerms:["settings"]},{title:"fas fa-cogs",searchTerms:["settings","gears"]},{title:"fas fa-columns",searchTerms:["split","panes","dashboard"]},{title:"fas fa-comment",searchTerms:["speech","notification","note","chat","bubble","feedback","message","texting","sms","conversation"]},{title:"far fa-comment",searchTerms:["speech","notification","note","chat","bubble","feedback","message","texting","sms","conversation"]},{title:"fas fa-comment-alt",searchTerms:["speech","notification","note","chat","bubble","feedback","message","texting","sms","conversation","commenting","commenting"]},{title:"far fa-comment-alt",searchTerms:["speech","notification","note","chat","bubble","feedback","message","texting","sms","conversation","commenting","commenting"]},{title:"fas fa-comments",searchTerms:["speech","notification","note","chat","bubble","feedback","message","texting","sms","conversation"]},{title:"far fa-comments",searchTerms:["speech","notification","note","chat","bubble","feedback","message","texting","sms","conversation"]},{title:"fas fa-compass",searchTerms:["safari","directory","menu","location"]},{title:"far fa-compass",searchTerms:["safari","directory","menu","location"]},{title:"fas fa-compress",searchTerms:["collapse","combine","contract","merge","smaller"]},{title:"fab fa-connectdevelop",searchTerms:[]},{title:"fab fa-contao",searchTerms:[]},{title:"fas fa-copy",searchTerms:["duplicate","clone","file","files-o"]},{title:"far fa-copy",searchTerms:["duplicate","clone","file","files-o"]},{title:"fas fa-copyright",searchTerms:[]},{title:"far fa-copyright",searchTerms:[]},{title:"fab fa-cpanel",searchTerms:[]},{title:"fab fa-creative-commons",searchTerms:[]},{title:"fas fa-credit-card",searchTerms:["money","buy","debit","checkout","purchase","payment","credit-card-alt"]},{title:"far fa-credit-card",searchTerms:["money","buy","debit","checkout","purchase","payment","credit-card-alt"]},{title:"fas fa-crop",searchTerms:["design"]},{title:"fas fa-crosshairs",searchTerms:["picker","gpd"]},{title:"fab fa-css3",searchTerms:["code"]},{title:"fab fa-css3-alt",searchTerms:[]},{title:"fas fa-cube",searchTerms:["package"]},{title:"fas fa-cubes",searchTerms:["packages"]},{title:"fas fa-cut",searchTerms:["scissors","scissors"]},{title:"fab fa-cuttlefish",searchTerms:[]},{title:"fab fa-d-and-d",searchTerms:[]},{title:"fab fa-dashcube",searchTerms:[]},{title:"fas fa-database",searchTerms:[]},{title:"fas fa-deaf",searchTerms:[]},{title:"fab fa-delicious",searchTerms:[]},{title:"fab fa-deploydog",searchTerms:[]},{title:"fab fa-deskpro",searchTerms:[]},{title:"fas fa-desktop",searchTerms:["monitor","screen","desktop","computer","demo","device","pc"]},{title:"fab fa-deviantart",searchTerms:[]},{title:"fab fa-digg",searchTerms:[]},{title:"fab fa-digital-ocean",searchTerms:[]},{title:"fab fa-discord",searchTerms:[]},{title:"fab fa-discourse",searchTerms:[]},{title:"fas fa-dna",searchTerms:["double helix","helix"]},{title:"fab fa-dochub",searchTerms:[]},{title:"fab fa-docker",searchTerms:[]},{title:"fas fa-dollar-sign",searchTerms:["usd","price"]},{title:"fas fa-dolly",searchTerms:[]},{title:"fas fa-dolly-flatbed",searchTerms:[]},{title:"fas fa-dot-circle",searchTerms:["target","bullseye","notification"]},{title:"far fa-dot-circle",searchTerms:["target","bullseye","notification"]},{title:"fas fa-download",searchTerms:["import"]},{title:"fab fa-draft2digital",searchTerms:[]},{title:"fab fa-dribbble",searchTerms:[]},{title:"fab fa-dribbble-square",searchTerms:[]},{title:"fab fa-dropbox",searchTerms:[]},{title:"fab fa-drupal",searchTerms:[]},{title:"fab fa-dyalog",searchTerms:[]},{title:"fab fa-earlybirds",searchTerms:[]},{title:"fab fa-edge",searchTerms:["browser","ie"]},{title:"fas fa-edit",searchTerms:["write","edit","update","pencil","pen"]},{title:"far fa-edit",searchTerms:["write","edit","update","pencil","pen"]},{title:"fas fa-eject",searchTerms:[]},{title:"fab fa-elementor",searchTerms:[]},{title:"fas fa-ellipsis-h",searchTerms:["dots"]},{title:"fas fa-ellipsis-v",searchTerms:["dots"]},{title:"fab fa-ember",searchTerms:[]},{title:"fab fa-empire",searchTerms:[]},{title:"fas fa-envelope",searchTerms:["email","e-mail","letter","support","mail","message","notification"]},{title:"far fa-envelope",searchTerms:["email","e-mail","letter","support","mail","message","notification"]},{title:"fas fa-envelope-open",searchTerms:["email","e-mail","letter","support","mail","message","notification"]},{title:"far fa-envelope-open",searchTerms:["email","e-mail","letter","support","mail","message","notification"]},{title:"fas fa-envelope-square",searchTerms:["email","e-mail","letter","support","mail","message","notification"]},{title:"fab fa-envira",searchTerms:["leaf"]},{title:"fas fa-eraser",searchTerms:["remove","delete"]},{title:"fab fa-erlang",searchTerms:[]},{title:"fab fa-ethereum",searchTerms:[]},{title:"fab fa-etsy",searchTerms:[]},{title:"fas fa-euro-sign",searchTerms:["eur","eur"]},{title:"fas fa-exchange-alt",searchTerms:["transfer","arrows","arrow","exchange","swap"]},{title:"fas fa-exclamation",searchTerms:["warning","error","problem","notification","notify","alert","danger"]},{title:"fas fa-exclamation-circle",searchTerms:["warning","error","problem","notification","notify","alert","danger"]},{title:"fas fa-exclamation-triangle",searchTerms:["warning","error","problem","notification","notify","alert","danger"]},{title:"fas fa-expand",searchTerms:["enlarge","bigger","resize"]},{title:"fas fa-expand-arrows-alt",searchTerms:["enlarge","bigger","resize","move","arrows-alt"]},{title:"fab fa-expeditedssl",searchTerms:[]},{title:"fas fa-external-link-alt",searchTerms:["open","new","external-link"]},{title:"fas fa-external-link-square-alt",searchTerms:["open","new","external-link-square"]},{title:"fas fa-eye",searchTerms:["show","visible","views"]},{title:"fas fa-eye-dropper",searchTerms:["eyedropper"]},{title:"fas fa-eye-slash",searchTerms:["toggle","show","hide","visible","visiblity","views"]},{title:"far fa-eye-slash",searchTerms:["toggle","show","hide","visible","visiblity","views"]},{title:"fab fa-facebook",searchTerms:["social network","facebook-official"]},{title:"fab fa-facebook-f",searchTerms:["facebook"]},{title:"fab fa-facebook-messenger",searchTerms:[]},{title:"fab fa-facebook-square",searchTerms:["social network"]},{title:"fas fa-fast-backward",searchTerms:["rewind","previous","beginning","start","first"]},{title:"fas fa-fast-forward",searchTerms:["next","end","last"]},{title:"fas fa-fax",searchTerms:[]},{title:"fas fa-female",searchTerms:["woman","human","user","person","profile"]},{title:"fas fa-fighter-jet",searchTerms:["fly","plane","airplane","quick","fast","travel"]},{title:"fas fa-file",searchTerms:["new","page","pdf","document"]},{title:"far fa-file",searchTerms:["new","page","pdf","document"]},{title:"fas fa-file-alt",searchTerms:["new","page","pdf","document","file-text"]},{title:"far fa-file-alt",searchTerms:["new","page","pdf","document","file-text"]},{title:"fas fa-file-archive",searchTerms:[]},{title:"far fa-file-archive",searchTerms:[]},{title:"fas fa-file-audio",searchTerms:[]},{title:"far fa-file-audio",searchTerms:[]},{title:"fas fa-file-code",searchTerms:[]},{title:"far fa-file-code",searchTerms:[]},{title:"fas fa-file-excel",searchTerms:[]},{title:"far fa-file-excel",searchTerms:[]},{title:"fas fa-file-image",searchTerms:[]},{title:"far fa-file-image",searchTerms:[]},{title:"fas fa-file-pdf",searchTerms:[]},{title:"far fa-file-pdf",searchTerms:[]},{title:"fas fa-file-powerpoint",searchTerms:[]},{title:"far fa-file-powerpoint",searchTerms:[]},{title:"fas fa-file-video",searchTerms:[]},{title:"far fa-file-video",searchTerms:[]},{title:"fas fa-file-word",searchTerms:[]},{title:"far fa-file-word",searchTerms:[]},{title:"fas fa-film",searchTerms:["movie"]},{title:"fas fa-filter",searchTerms:["funnel","options"]},{title:"fas fa-fire",searchTerms:["flame","hot","popular"]},{title:"fas fa-fire-extinguisher",searchTerms:[]},{title:"fab fa-firefox",searchTerms:["browser"]},{title:"fas fa-first-aid",searchTerms:[]},{title:"fab fa-first-order",searchTerms:[]},{title:"fab fa-firstdraft",searchTerms:[]},{title:"fas fa-flag",searchTerms:["report","notification","notify"]},{title:"far fa-flag",searchTerms:["report","notification","notify"]},{title:"fas fa-flag-checkered",searchTerms:["report","notification","notify"]},{title:"fas fa-flask",searchTerms:["science","beaker","experimental","labs"]},{title:"fab fa-flickr",searchTerms:[]},{title:"fab fa-flipboard",searchTerms:[]},{title:"fab fa-fly",searchTerms:[]},{title:"fas fa-folder",searchTerms:[]},{title:"far fa-folder",searchTerms:[]},{title:"fas fa-folder-open",searchTerms:[]},{title:"far fa-folder-open",searchTerms:[]},{title:"fas fa-font",searchTerms:["text"]},{title:"fab fa-font-awesome",searchTerms:["meanpath"]},{title:"fab fa-font-awesome-alt",searchTerms:[]},{title:"fab fa-font-awesome-flag",searchTerms:[]},{title:"fab fa-fonticons",searchTerms:[]},{title:"fab fa-fonticons-fi",searchTerms:[]},{title:"fas fa-football-ball",searchTerms:[]},{title:"fab fa-fort-awesome",searchTerms:["castle"]},{title:"fab fa-fort-awesome-alt",searchTerms:["castle"]},{title:"fab fa-forumbee",searchTerms:[]},{title:"fas fa-forward",searchTerms:["forward","next"]},{title:"fab fa-foursquare",searchTerms:[]},{title:"fab fa-free-code-camp",searchTerms:[]},{title:"fab fa-freebsd",searchTerms:[]},{title:"fas fa-frown",searchTerms:["face","emoticon","sad","disapprove","rating"]},{title:"far fa-frown",searchTerms:["face","emoticon","sad","disapprove","rating"]},{title:"fas fa-futbol",searchTerms:[]},{title:"far fa-futbol",searchTerms:[]},{title:"fas fa-gamepad",searchTerms:["controller"]},{title:"fas fa-gavel",searchTerms:["judge","lawyer","opinion","hammer"]},{title:"fas fa-gem",searchTerms:["diamond"]},{title:"far fa-gem",searchTerms:["diamond"]},{title:"fas fa-genderless",searchTerms:[]},{title:"fab fa-get-pocket",searchTerms:[]},{title:"fab fa-gg",searchTerms:[]},{title:"fab fa-gg-circle",searchTerms:[]},{title:"fas fa-gift",searchTerms:["present"]},{title:"fab fa-git",searchTerms:[]},{title:"fab fa-git-square",searchTerms:[]},{title:"fab fa-github",searchTerms:["octocat"]},{title:"fab fa-github-alt",searchTerms:["octocat"]},{title:"fab fa-github-square",searchTerms:["octocat"]},{title:"fab fa-gitkraken",searchTerms:[]},{title:"fab fa-gitlab",searchTerms:["Axosoft"]},{title:"fab fa-gitter",searchTerms:[]},{title:"fas fa-glass-martini",searchTerms:["martini","drink","bar","alcohol","liquor","glass"]},{title:"fab fa-glide",searchTerms:[]},{title:"fab fa-glide-g",searchTerms:[]},{title:"fas fa-globe",searchTerms:["world","planet","map","place","travel","earth","global","translate","all","language","localize","location","coordinates","country","gps"]},{title:"fab fa-gofore",searchTerms:[]},{title:"fas fa-golf-ball",searchTerms:[]},{title:"fab fa-goodreads",searchTerms:[]},{title:"fab fa-goodreads-g",searchTerms:[]},{title:"fab fa-google",searchTerms:[]},{title:"fab fa-google-drive",searchTerms:[]},{title:"fab fa-google-play",searchTerms:[]},{title:"fab fa-google-plus",searchTerms:["google-plus-circle","google-plus-official"]},{title:"fab fa-google-plus-g",searchTerms:["social network","google-plus"]},{title:"fab fa-google-plus-square",searchTerms:["social network"]},{title:"fab fa-google-wallet",searchTerms:[]},{title:"fas fa-graduation-cap",searchTerms:["learning","school","student"]},{title:"fab fa-gratipay",searchTerms:["heart","like","favorite","love"]},{title:"fab fa-grav",searchTerms:[]},{title:"fab fa-gripfire",searchTerms:[]},{title:"fab fa-grunt",searchTerms:[]},{title:"fab fa-gulp",searchTerms:[]},{title:"fas fa-h-square",searchTerms:["hospital","hotel"]},{title:"fab fa-hacker-news",searchTerms:[]},{title:"fab fa-hacker-news-square",searchTerms:[]},{title:"fas fa-hand-lizard",searchTerms:[]},{title:"far fa-hand-lizard",searchTerms:[]},{title:"fas fa-hand-paper",searchTerms:["stop"]},{title:"far fa-hand-paper",searchTerms:["stop"]},{title:"fas fa-hand-peace",searchTerms:[]},{title:"far fa-hand-peace",searchTerms:[]},{title:"fas fa-hand-point-down",searchTerms:["point","finger","hand-o-down"]},{title:"far fa-hand-point-down",searchTerms:["point","finger","hand-o-down"]},{title:"fas fa-hand-point-left",searchTerms:["point","left","previous","back","finger","hand-o-left"]},{title:"far fa-hand-point-left",searchTerms:["point","left","previous","back","finger","hand-o-left"]},{title:"fas fa-hand-point-right",searchTerms:["point","right","next","forward","finger","hand-o-right"]},{title:"far fa-hand-point-right",searchTerms:["point","right","next","forward","finger","hand-o-right"]},{title:"fas fa-hand-point-up",searchTerms:["point","finger","hand-o-up"]},{title:"far fa-hand-point-up",searchTerms:["point","finger","hand-o-up"]},{title:"fas fa-hand-pointer",searchTerms:["select"]},{title:"far fa-hand-pointer",searchTerms:["select"]},{title:"fas fa-hand-rock",searchTerms:[]},{title:"far fa-hand-rock",searchTerms:[]},{title:"fas fa-hand-scissors",searchTerms:[]},{title:"far fa-hand-scissors",searchTerms:[]},{title:"fas fa-hand-spock",searchTerms:[]},{title:"far fa-hand-spock",searchTerms:[]},{title:"fas fa-handshake",searchTerms:[]},{title:"far fa-handshake",searchTerms:[]},{title:"fas fa-hashtag",searchTerms:[]},{title:"fas fa-hdd",searchTerms:["harddrive","hard drive","storage","save"]},{title:"far fa-hdd",searchTerms:["harddrive","hard drive","storage","save"]},{title:"fas fa-heading",searchTerms:["header","header"]},{title:"fas fa-headphones",searchTerms:["sound","listen","music","audio"]},{title:"fas fa-heart",searchTerms:["love","like","favorite"]},{title:"far fa-heart",searchTerms:["love","like","favorite"]},{title:"fas fa-heartbeat",searchTerms:["ekg","vital signs"]},{title:"fab fa-hips",searchTerms:[]},{title:"fab fa-hire-a-helper",searchTerms:[]},{title:"fas fa-history",searchTerms:[]},{title:"fas fa-hockey-puck",searchTerms:[]},{title:"fas fa-home",searchTerms:["main","house"]},{title:"fab fa-hooli",searchTerms:[]},{title:"fas fa-hospital",searchTerms:["building","medical center","emergency room"]},{title:"far fa-hospital",searchTerms:["building","medical center","emergency room"]},{title:"fas fa-hospital-symbol",searchTerms:[]},{title:"fab fa-hotjar",searchTerms:[]},{title:"fas fa-hourglass",searchTerms:[]},{title:"far fa-hourglass",searchTerms:[]},{title:"fas fa-hourglass-end",searchTerms:[]},{title:"fas fa-hourglass-half",searchTerms:[]},{title:"fas fa-hourglass-start",searchTerms:[]},{title:"fab fa-houzz",searchTerms:[]},{title:"fab fa-html5",searchTerms:[]},{title:"fab fa-hubspot",searchTerms:[]},{title:"fas fa-i-cursor",searchTerms:[]},{title:"fas fa-id-badge",searchTerms:[]},{title:"far fa-id-badge",searchTerms:[]},{title:"fas fa-id-card",searchTerms:[]},{title:"far fa-id-card",searchTerms:[]},{title:"fas fa-image",searchTerms:["photo","album","picture","picture"]},{title:"far fa-image",searchTerms:["photo","album","picture","picture"]},{title:"fas fa-images",searchTerms:["photo","album","picture"]},{title:"far fa-images",searchTerms:["photo","album","picture"]},{title:"fab fa-imdb",searchTerms:[]},{title:"fas fa-inbox",searchTerms:[]},{title:"fas fa-indent",searchTerms:[]},{title:"fas fa-industry",searchTerms:["factory"]},{title:"fas fa-info",searchTerms:["help","information","more","details"]},{title:"fas fa-info-circle",searchTerms:["help","information","more","details"]},{title:"fab fa-instagram",searchTerms:[]},{title:"fab fa-internet-explorer",searchTerms:["browser","ie"]},{title:"fab fa-ioxhost",searchTerms:[]},{title:"fas fa-italic",searchTerms:["italics"]},{title:"fab fa-itunes",searchTerms:[]},{title:"fab fa-itunes-note",searchTerms:[]},{title:"fab fa-jenkins",searchTerms:[]},{title:"fab fa-joget",searchTerms:[]},{title:"fab fa-joomla",searchTerms:[]},{title:"fab fa-js",searchTerms:[]},{title:"fab fa-js-square",searchTerms:[]},{title:"fab fa-jsfiddle",searchTerms:[]},{title:"fas fa-key",searchTerms:["unlock","password"]},{title:"fas fa-keyboard",searchTerms:["type","input"]},{title:"far fa-keyboard",searchTerms:["type","input"]},{title:"fab fa-keycdn",searchTerms:[]},{title:"fab fa-kickstarter",searchTerms:[]},{title:"fab fa-kickstarter-k",searchTerms:[]},{title:"fab fa-korvue",searchTerms:[]},{title:"fas fa-language",searchTerms:[]},{title:"fas fa-laptop",searchTerms:["demo","computer","device","pc"]},{title:"fab fa-laravel",searchTerms:[]},{title:"fab fa-lastfm",searchTerms:[]},{title:"fab fa-lastfm-square",searchTerms:[]},{title:"fas fa-leaf",searchTerms:["eco","nature","plant"]},{title:"fab fa-leanpub",searchTerms:[]},{title:"fas fa-lemon",searchTerms:["food"]},{title:"far fa-lemon",searchTerms:["food"]},{title:"fab fa-less",searchTerms:[]},{title:"fas fa-level-down-alt",searchTerms:["level-down"]},{title:"fas fa-level-up-alt",searchTerms:["level-up"]},{title:"fas fa-life-ring",searchTerms:["support"]},{title:"far fa-life-ring",searchTerms:["support"]},{title:"fas fa-lightbulb",searchTerms:["idea","inspiration"]},{title:"far fa-lightbulb",searchTerms:["idea","inspiration"]},{title:"fab fa-line",searchTerms:[]},{title:"fas fa-link",searchTerms:["chain"]},{title:"fab fa-linkedin",searchTerms:["linkedin-square"]},{title:"fab fa-linkedin-in",searchTerms:["linkedin"]},{title:"fab fa-linode",searchTerms:[]},{title:"fab fa-linux",searchTerms:["tux"]},{title:"fas fa-lira-sign",searchTerms:["try","turkish","try"]},{title:"fas fa-list",searchTerms:["ul","ol","checklist","finished","completed","done","todo"]},{title:"fas fa-list-alt",searchTerms:["ul","ol","checklist","finished","completed","done","todo"]},{title:"far fa-list-alt",searchTerms:["ul","ol","checklist","finished","completed","done","todo"]},{title:"fas fa-list-ol",searchTerms:["ul","ol","checklist","list","todo","list","numbers"]},{title:"fas fa-list-ul",searchTerms:["ul","ol","checklist","todo","list"]},{title:"fas fa-location-arrow",searchTerms:["map","coordinates","location","address","place","where","gps"]},{title:"fas fa-lock",searchTerms:["protect","admin","security"]},{title:"fas fa-lock-open",searchTerms:["protect","admin","password","lock","open"]},{title:"fas fa-long-arrow-alt-down",searchTerms:["long-arrow-down"]},{title:"fas fa-long-arrow-alt-left",searchTerms:["previous","back","long-arrow-left"]},{title:"fas fa-long-arrow-alt-right",searchTerms:["long-arrow-right"]},{title:"fas fa-long-arrow-alt-up",searchTerms:["long-arrow-up"]},{title:"fas fa-low-vision",searchTerms:[]},{title:"fab fa-lyft",searchTerms:[]},{title:"fab fa-magento",searchTerms:[]},{title:"fas fa-magic",searchTerms:["wizard","automatic","autocomplete"]},{title:"fas fa-magnet",searchTerms:[]},{title:"fas fa-male",searchTerms:["man","human","user","person","profile"]},{title:"fas fa-map",searchTerms:[]},{title:"far fa-map",searchTerms:[]},{title:"fas fa-map-marker",searchTerms:["map","pin","location","coordinates","localize","address","travel","where","place","gps"]},{title:"fas fa-map-marker-alt",searchTerms:["map-marker","gps"]},{title:"fas fa-map-pin",searchTerms:[]},{title:"fas fa-map-signs",searchTerms:[]},{title:"fas fa-mars",searchTerms:["male"]},{title:"fas fa-mars-double",searchTerms:[]},{title:"fas fa-mars-stroke",searchTerms:[]},{title:"fas fa-mars-stroke-h",searchTerms:[]},{title:"fas fa-mars-stroke-v",searchTerms:[]},{title:"fab fa-maxcdn",searchTerms:[]},{title:"fab fa-medapps",searchTerms:[]},{title:"fab fa-medium",searchTerms:[]},{title:"fab fa-medium-m",searchTerms:[]},{title:"fas fa-medkit",searchTerms:["first aid","firstaid","help","support","health"]},{title:"fab fa-medrt",searchTerms:[]},{title:"fab fa-meetup",searchTerms:[]},{title:"fas fa-meh",searchTerms:["face","emoticon","rating","neutral"]},{title:"far fa-meh",searchTerms:["face","emoticon","rating","neutral"]},{title:"fas fa-mercury",searchTerms:["transgender"]},{title:"fas fa-microchip",searchTerms:[]},{title:"fas fa-microphone",searchTerms:["record","voice","sound"]},{title:"fas fa-microphone-slash",searchTerms:["record","voice","sound","mute"]},{title:"fab fa-microsoft",searchTerms:[]},{title:"fas fa-minus",searchTerms:["hide","minify","delete","remove","trash","hide","collapse"]},{title:"fas fa-minus-circle",searchTerms:["delete","remove","trash","hide"]},{title:"fas fa-minus-square",searchTerms:["hide","minify","delete","remove","trash","hide","collapse"]},{title:"far fa-minus-square",searchTerms:["hide","minify","delete","remove","trash","hide","collapse"]},{title:"fab fa-mix",searchTerms:[]},{title:"fab fa-mixcloud",searchTerms:[]},{title:"fab fa-mizuni",searchTerms:[]},{title:"fas fa-mobile",searchTerms:["cell phone","cellphone","text","call","iphone","number","telephone"]},{title:"fas fa-mobile-alt",searchTerms:["mobile"]},{title:"fab fa-modx",searchTerms:[]},{title:"fab fa-monero",searchTerms:[]},{title:"fas fa-money-bill-alt",searchTerms:["cash","money","buy","checkout","purchase","payment","price"]},{title:"far fa-money-bill-alt",searchTerms:["cash","money","buy","checkout","purchase","payment","price"]},{title:"fas fa-moon",searchTerms:["night","darker","contrast"]},{title:"far fa-moon",searchTerms:["night","darker","contrast"]},{title:"fas fa-motorcycle",searchTerms:["vehicle","bike"]},{title:"fas fa-mouse-pointer",searchTerms:["select"]},{title:"fas fa-music",searchTerms:["note","sound"]},{title:"fab fa-napster",searchTerms:[]},{title:"fas fa-neuter",searchTerms:[]},{title:"fas fa-newspaper",searchTerms:["press","article"]},{title:"far fa-newspaper",searchTerms:["press","article"]},{title:"fab fa-nintendo-switch",searchTerms:[]},{title:"fab fa-node",searchTerms:[]},{title:"fab fa-node-js",searchTerms:[]},{title:"fab fa-npm",searchTerms:[]},{title:"fab fa-ns8",searchTerms:[]},{title:"fab fa-nutritionix",searchTerms:[]},{title:"fas fa-object-group",searchTerms:["design"]},{title:"far fa-object-group",searchTerms:["design"]},{title:"fas fa-object-ungroup",searchTerms:["design"]},{title:"far fa-object-ungroup",searchTerms:["design"]},{title:"fab fa-odnoklassniki",searchTerms:[]},{title:"fab fa-odnoklassniki-square",searchTerms:[]},{title:"fab fa-opencart",searchTerms:[]},{title:"fab fa-openid",searchTerms:[]},{title:"fab fa-opera",searchTerms:[]},{title:"fab fa-optin-monster",searchTerms:[]},{title:"fab fa-osi",searchTerms:[]},{title:"fas fa-outdent",searchTerms:[]},{title:"fab fa-page4",searchTerms:[]},{title:"fab fa-pagelines",searchTerms:["leaf","leaves","tree","plant","eco","nature"]},{title:"fas fa-paint-brush",searchTerms:[]},{title:"fab fa-palfed",searchTerms:[]},{title:"fas fa-pallet",searchTerms:[]},{title:"fas fa-paper-plane",searchTerms:[]},{title:"far fa-paper-plane",searchTerms:[]},{title:"fas fa-paperclip",searchTerms:["attachment"]},{title:"fas fa-paragraph",searchTerms:[]},{title:"fas fa-paste",searchTerms:["copy","clipboard"]},{title:"fab fa-patreon",searchTerms:[]},{title:"fas fa-pause",searchTerms:["wait"]},{title:"fas fa-pause-circle",searchTerms:[]},{title:"far fa-pause-circle",searchTerms:[]},{title:"fas fa-paw",searchTerms:["pet"]},{title:"fab fa-paypal",searchTerms:[]},{title:"fas fa-pen-square",searchTerms:["write","edit","update","pencil-square"]},{title:"fas fa-pencil-alt",searchTerms:["write","edit","update","pencil","design"]},{title:"fas fa-percent",searchTerms:[]},{title:"fab fa-periscope",searchTerms:[]},{title:"fab fa-phabricator",searchTerms:[]},{title:"fab fa-phoenix-framework",searchTerms:[]},{title:"fas fa-phone",searchTerms:["call","voice","number","support","earphone","telephone"]},{title:"fas fa-phone-square",searchTerms:["call","voice","number","support","telephone"]},{title:"fas fa-phone-volume",searchTerms:["telephone","volume-control-phone"]},{title:"fab fa-php",searchTerms:[]},{title:"fab fa-pied-piper",searchTerms:[]},{title:"fab fa-pied-piper-alt",searchTerms:[]},{title:"fab fa-pied-piper-pp",searchTerms:[]},{title:"fas fa-pills",searchTerms:["medicine","drugs"]},{title:"fab fa-pinterest",searchTerms:[]},{title:"fab fa-pinterest-p",searchTerms:[]},{title:"fab fa-pinterest-square",searchTerms:[]},{title:"fas fa-plane",searchTerms:["travel","trip","location","destination","airplane","fly","mode"]},{title:"fas fa-play",searchTerms:["start","playing","music","sound"]},{title:"fas fa-play-circle",searchTerms:["start","playing"]},{title:"far fa-play-circle",searchTerms:["start","playing"]},{title:"fab fa-playstation",searchTerms:[]},{title:"fas fa-plug",searchTerms:["power","connect"]},{title:"fas fa-plus",searchTerms:["add","new","create","expand"]},{title:"fas fa-plus-circle",searchTerms:["add","new","create","expand"]},{title:"fas fa-plus-square",searchTerms:["add","new","create","expand"]},{title:"far fa-plus-square",searchTerms:["add","new","create","expand"]},{title:"fas fa-podcast",searchTerms:[]},{title:"fas fa-pound-sign",searchTerms:["gbp","gbp"]},{title:"fas fa-power-off",searchTerms:["on"]},{title:"fas fa-print",searchTerms:[]},{title:"fab fa-product-hunt",searchTerms:[]},{title:"fab fa-pushed",searchTerms:[]},{title:"fas fa-puzzle-piece",searchTerms:["addon","add-on","section"]},{title:"fab fa-python",searchTerms:[]},{title:"fab fa-qq",searchTerms:[]},{title:"fas fa-qrcode",searchTerms:["scan"]},{title:"fas fa-question",searchTerms:["help","information","unknown","support"]},{title:"fas fa-question-circle",searchTerms:["help","information","unknown","support"]},{title:"far fa-question-circle",searchTerms:["help","information","unknown","support"]},{title:"fas fa-quidditch",searchTerms:[]},{title:"fab fa-quinscape",searchTerms:[]},{title:"fab fa-quora",searchTerms:[]},{title:"fas fa-quote-left",searchTerms:[]},{title:"fas fa-quote-right",searchTerms:[]},{title:"fas fa-random",searchTerms:["sort","shuffle"]},{title:"fab fa-ravelry",searchTerms:[]},{title:"fab fa-react",searchTerms:[]},{title:"fab fa-rebel",searchTerms:[]},{title:"fas fa-recycle",searchTerms:[]},{title:"fab fa-red-river",searchTerms:[]},{title:"fab fa-reddit",searchTerms:[]},{title:"fab fa-reddit-alien",searchTerms:[]},{title:"fab fa-reddit-square",searchTerms:[]},{title:"fas fa-redo",searchTerms:["forward","repeat","repeat"]},{title:"fas fa-redo-alt",searchTerms:["forward","repeat"]},{title:"fas fa-registered",searchTerms:[]},{title:"far fa-registered",searchTerms:[]},{title:"fab fa-rendact",searchTerms:[]},{title:"fab fa-renren",searchTerms:[]},{title:"fas fa-reply",searchTerms:[]},{title:"fas fa-reply-all",searchTerms:[]},{title:"fab fa-replyd",searchTerms:[]},{title:"fab fa-resolving",searchTerms:[]},{title:"fas fa-retweet",searchTerms:["refresh","reload","share","swap"]},{title:"fas fa-road",searchTerms:["street"]},{title:"fas fa-rocket",searchTerms:["app"]},{title:"fab fa-rocketchat",searchTerms:[]},{title:"fab fa-rockrms",searchTerms:[]},{title:"fas fa-rss",searchTerms:["blog"]},{title:"fas fa-rss-square",searchTerms:["feed","blog"]},{title:"fas fa-ruble-sign",searchTerms:["rub","rub"]},{title:"fas fa-rupee-sign",searchTerms:["indian","inr"]},{title:"fab fa-safari",searchTerms:["browser"]},{title:"fab fa-sass",searchTerms:[]},{title:"fas fa-save",searchTerms:["floppy","floppy-o"]},{title:"far fa-save",searchTerms:["floppy","floppy-o"]},{title:"fab fa-schlix",searchTerms:[]},{title:"fab fa-scribd",searchTerms:[]},{title:"fas fa-search",searchTerms:["magnify","zoom","enlarge","bigger"]},{title:"fas fa-search-minus",searchTerms:["magnify","minify","zoom","smaller"]},{title:"fas fa-search-plus",searchTerms:["magnify","zoom","enlarge","bigger"]},{title:"fab fa-searchengin",searchTerms:[]},{title:"fab fa-sellcast",searchTerms:["eercast"]},{title:"fab fa-sellsy",searchTerms:[]},{title:"fas fa-server",searchTerms:[]},{title:"fab fa-servicestack",searchTerms:[]},{title:"fas fa-share",searchTerms:[]},{title:"fas fa-share-alt",searchTerms:[]},{title:"fas fa-share-alt-square",searchTerms:[]},{title:"fas fa-share-square",searchTerms:["social","send"]},{title:"far fa-share-square",searchTerms:["social","send"]},{title:"fas fa-shekel-sign",searchTerms:["ils","ils"]},{title:"fas fa-shield-alt",searchTerms:["shield"]},{title:"fas fa-ship",searchTerms:["boat","sea"]},{title:"fas fa-shipping-fast",searchTerms:[]},{title:"fab fa-shirtsinbulk",searchTerms:[]},{title:"fas fa-shopping-bag",searchTerms:[]},{title:"fas fa-shopping-basket",searchTerms:[]},{title:"fas fa-shopping-cart",searchTerms:["checkout","buy","purchase","payment"]},{title:"fas fa-shower",searchTerms:[]},{title:"fas fa-sign-in-alt",searchTerms:["enter","join","log in","login","sign up","sign in","signin","signup","arrow","sign-in"]},{title:"fas fa-sign-language",searchTerms:[]},{title:"fas fa-sign-out-alt",searchTerms:["log out","logout","leave","exit","arrow","sign-out"]},{title:"fas fa-signal",searchTerms:["graph","bars","status"]},{title:"fab fa-simplybuilt",searchTerms:[]},{title:"fab fa-sistrix",searchTerms:[]},{title:"fas fa-sitemap",searchTerms:["directory","hierarchy","organization"]},{title:"fab fa-skyatlas",searchTerms:[]},{title:"fab fa-skype",searchTerms:[]},{title:"fab fa-slack",searchTerms:["hashtag","anchor","hash"]},{title:"fab fa-slack-hash",searchTerms:["hashtag","anchor","hash"]},{title:"fas fa-sliders-h",searchTerms:["settings","sliders"]},{title:"fab fa-slideshare",searchTerms:[]},{title:"fas fa-smile",searchTerms:["face","emoticon","happy","approve","satisfied","rating"]},{title:"far fa-smile",searchTerms:["face","emoticon","happy","approve","satisfied","rating"]},{title:"fab fa-snapchat",searchTerms:[]},{title:"fab fa-snapchat-ghost",searchTerms:[]},{title:"fab fa-snapchat-square",searchTerms:[]},{title:"fas fa-snowflake",searchTerms:[]},{title:"far fa-snowflake",searchTerms:[]},{title:"fas fa-sort",searchTerms:["order"]},{title:"fas fa-sort-alpha-down",searchTerms:["sort-alpha-asc"]},{title:"fas fa-sort-alpha-up",searchTerms:["sort-alpha-desc"]},{title:"fas fa-sort-amount-down",searchTerms:["sort-amount-asc"]},{title:"fas fa-sort-amount-up",searchTerms:["sort-amount-desc"]},{title:"fas fa-sort-down",searchTerms:["arrow","descending","sort-desc"]},{title:"fas fa-sort-numeric-down",searchTerms:["numbers","sort-numeric-asc"]},{title:"fas fa-sort-numeric-up",searchTerms:["numbers","sort-numeric-desc"]},{title:"fas fa-sort-up",searchTerms:["arrow","ascending","sort-asc"]},{title:"fab fa-soundcloud",searchTerms:[]},{title:"fas fa-space-shuttle",searchTerms:[]},{title:"fab fa-speakap",searchTerms:[]},{title:"fas fa-spinner",searchTerms:["loading","progress"]},{title:"fab fa-spotify",searchTerms:[]},{title:"fas fa-square",searchTerms:["block","box"]},{title:"far fa-square",searchTerms:["block","box"]},{title:"fas fa-square-full",searchTerms:[]},{title:"fab fa-stack-exchange",searchTerms:[]},{title:"fab fa-stack-overflow",searchTerms:[]},{title:"fas fa-star",searchTerms:["award","achievement","night","rating","score","favorite"]},{title:"far fa-star",searchTerms:["award","achievement","night","rating","score","favorite"]},{title:"fas fa-star-half",searchTerms:["award","achievement","rating","score","star-half-empty","star-half-full"]},{title:"far fa-star-half",searchTerms:["award","achievement","rating","score","star-half-empty","star-half-full"]},{title:"fab fa-staylinked",searchTerms:[]},{title:"fab fa-steam",searchTerms:[]},{title:"fab fa-steam-square",searchTerms:[]},{title:"fab fa-steam-symbol",searchTerms:[]},{title:"fas fa-step-backward",searchTerms:["rewind","previous","beginning","start","first"]},{title:"fas fa-step-forward",searchTerms:["next","end","last"]},{title:"fas fa-stethoscope",searchTerms:[]},{title:"fab fa-sticker-mule",searchTerms:[]},{title:"fas fa-sticky-note",searchTerms:[]},{title:"far fa-sticky-note",searchTerms:[]},{title:"fas fa-stop",searchTerms:["block","box","square"]},{title:"fas fa-stop-circle",searchTerms:[]},{title:"far fa-stop-circle",searchTerms:[]},{title:"fas fa-stopwatch",searchTerms:["time"]},{title:"fab fa-strava",searchTerms:[]},{title:"fas fa-street-view",searchTerms:["map"]},{title:"fas fa-strikethrough",searchTerms:[]},{title:"fab fa-stripe",searchTerms:[]},{title:"fab fa-stripe-s",searchTerms:[]},{title:"fab fa-studiovinari",searchTerms:[]},{title:"fab fa-stumbleupon",searchTerms:[]},{title:"fab fa-stumbleupon-circle",searchTerms:[]},{title:"fas fa-subscript",searchTerms:[]},{title:"fas fa-subway",searchTerms:[]},{title:"fas fa-suitcase",searchTerms:["trip","luggage","travel","move","baggage"]},{title:"fas fa-sun",searchTerms:["weather","contrast","lighter","brighten","day"]},{title:"far fa-sun",searchTerms:["weather","contrast","lighter","brighten","day"]},{title:"fab fa-superpowers",searchTerms:[]},{title:"fas fa-superscript",searchTerms:["exponential"]},{title:"fab fa-supple",searchTerms:[]},{title:"fas fa-sync",searchTerms:["reload","refresh","refresh"]},{title:"fas fa-sync-alt",searchTerms:["reload","refresh"]},{title:"fas fa-syringe",searchTerms:["immunizations","needle"]},{title:"fas fa-table",searchTerms:["data","excel","spreadsheet"]},{title:"fas fa-table-tennis",searchTerms:[]},{title:"fas fa-tablet",searchTerms:["ipad","device"]},{title:"fas fa-tablet-alt",searchTerms:["tablet"]},{title:"fas fa-tachometer-alt",searchTerms:["tachometer","dashboard"]},{title:"fas fa-tag",searchTerms:["label"]},{title:"fas fa-tags",searchTerms:["labels"]},{title:"fas fa-tasks",searchTerms:["progress","loading","downloading","downloads","settings"]},{title:"fas fa-taxi",searchTerms:["vehicle"]},{title:"fab fa-telegram",searchTerms:[]},{title:"fab fa-telegram-plane",searchTerms:[]},{title:"fab fa-tencent-weibo",searchTerms:[]},{title:"fas fa-terminal",searchTerms:["command","prompt","code"]},{title:"fas fa-text-height",searchTerms:[]},{title:"fas fa-text-width",searchTerms:[]},{title:"fas fa-th",searchTerms:["blocks","squares","boxes","grid"]},{title:"fas fa-th-large",searchTerms:["blocks","squares","boxes","grid"]},{title:"fas fa-th-list",searchTerms:["ul","ol","checklist","finished","completed","done","todo"]},{title:"fab fa-themeisle",searchTerms:[]},{title:"fas fa-thermometer",searchTerms:["temperature","fever"]},{title:"fas fa-thermometer-empty",searchTerms:["status"]},{title:"fas fa-thermometer-full",searchTerms:["status"]},{title:"fas fa-thermometer-half",searchTerms:["status"]},{title:"fas fa-thermometer-quarter",searchTerms:["status"]},{title:"fas fa-thermometer-three-quarters",searchTerms:["status"]},{title:"fas fa-thumbs-down",searchTerms:["dislike","disapprove","disagree","hand","thumbs-o-down"]},{title:"far fa-thumbs-down",searchTerms:["dislike","disapprove","disagree","hand","thumbs-o-down"]},{title:"fas fa-thumbs-up",searchTerms:["like","favorite","approve","agree","hand","thumbs-o-up"]},{title:"far fa-thumbs-up",searchTerms:["like","favorite","approve","agree","hand","thumbs-o-up"]},{title:"fas fa-thumbtack",searchTerms:["marker","pin","location","coordinates","thumb-tack"]},{title:"fas fa-ticket-alt",searchTerms:["ticket"]},{title:"fas fa-times",searchTerms:["close","exit","x","cross"]},{title:"fas fa-times-circle",searchTerms:["close","exit","x"]},{title:"far fa-times-circle",searchTerms:["close","exit","x"]},{title:"fas fa-tint",searchTerms:["raindrop","waterdrop","drop","droplet"]},{title:"fas fa-toggle-off",searchTerms:["switch"]},{title:"fas fa-toggle-on",searchTerms:["switch"]},{title:"fas fa-trademark",searchTerms:[]},{title:"fas fa-train",searchTerms:[]},{title:"fas fa-transgender",searchTerms:["intersex"]},{title:"fas fa-transgender-alt",searchTerms:[]},{title:"fas fa-trash",searchTerms:["garbage","delete","remove","hide"]},{title:"fas fa-trash-alt",searchTerms:["garbage","delete","remove","hide","trash","trash-o"]},{title:"far fa-trash-alt",searchTerms:["garbage","delete","remove","hide","trash","trash-o"]},{title:"fas fa-tree",searchTerms:[]},{title:"fab fa-trello",searchTerms:[]},{title:"fab fa-tripadvisor",searchTerms:[]},{title:"fas fa-trophy",searchTerms:["award","achievement","cup","winner","game"]},{title:"fas fa-truck",searchTerms:["shipping"]},{title:"fas fa-tty",searchTerms:[]},{title:"fab fa-tumblr",searchTerms:[]},{title:"fab fa-tumblr-square",searchTerms:[]},{title:"fas fa-tv",searchTerms:["display","computer","monitor","television"]},{title:"fab fa-twitch",searchTerms:[]},{title:"fab fa-twitter",searchTerms:["tweet","social network"]},{title:"fab fa-twitter-square",searchTerms:["tweet","social network"]},{title:"fab fa-typo3",searchTerms:[]},{title:"fab fa-uber",searchTerms:[]},{title:"fab fa-uikit",searchTerms:[]},{title:"fas fa-umbrella",searchTerms:[]},{title:"fas fa-underline",searchTerms:[]},{title:"fas fa-undo",searchTerms:["back"]},{title:"fas fa-undo-alt",searchTerms:["back"]},{title:"fab fa-uniregistry",searchTerms:[]},{title:"fas fa-universal-access",searchTerms:[]},{title:"fas fa-university",searchTerms:["bank","institution"]},{title:"fas fa-unlink",searchTerms:["remove","chain","chain-broken"]},{title:"fas fa-unlock",searchTerms:["protect","admin","password","lock"]},{title:"fas fa-unlock-alt",searchTerms:["protect","admin","password","lock"]},{title:"fab fa-untappd",searchTerms:[]},{title:"fas fa-upload",searchTerms:["import"]},{title:"fab fa-usb",searchTerms:[]},{title:"fas fa-user",searchTerms:["person","man","head","profile","account"]},{title:"far fa-user",searchTerms:["person","man","head","profile","account"]},{title:"fas fa-user-circle",searchTerms:["person","man","head","profile","account"]},{title:"far fa-user-circle",searchTerms:["person","man","head","profile","account"]},{title:"fas fa-user-md",searchTerms:["doctor","profile","medical","nurse","job","occupation"]},{title:"fas fa-user-plus",searchTerms:["sign up","signup"]},{title:"fas fa-user-secret",searchTerms:["whisper","spy","incognito","privacy"]},{title:"fas fa-user-times",searchTerms:[]},{title:"fas fa-users",searchTerms:["people","profiles","persons"]},{title:"fab fa-ussunnah",searchTerms:[]},{title:"fas fa-utensil-spoon",searchTerms:["spoon"]},{title:"fas fa-utensils",searchTerms:["food","restaurant","spoon","knife","dinner","eat","cutlery"]},{title:"fab fa-vaadin",searchTerms:[]},{title:"fas fa-venus",searchTerms:["female"]},{title:"fas fa-venus-double",searchTerms:[]},{title:"fas fa-venus-mars",searchTerms:[]},{title:"fab fa-viacoin",searchTerms:[]},{title:"fab fa-viadeo",searchTerms:[]},{title:"fab fa-viadeo-square",searchTerms:[]},{title:"fab fa-viber",searchTerms:[]},{title:"fas fa-video",searchTerms:["film","movie","record","camera","video-camera"]},{title:"fab fa-vimeo",searchTerms:[]},{title:"fab fa-vimeo-square",searchTerms:[]},{title:"fab fa-vimeo-v",searchTerms:["vimeo"]},{title:"fab fa-vine",searchTerms:[]},{title:"fab fa-vk",searchTerms:[]},{title:"fab fa-vnv",searchTerms:[]},{title:"fas fa-volleyball-ball",searchTerms:[]},{title:"fas fa-volume-down",searchTerms:["audio","lower","quieter","sound","music"]},{title:"fas fa-volume-off",searchTerms:["audio","mute","sound","music"]},{title:"fas fa-volume-up",searchTerms:["audio","higher","louder","sound","music"]},{title:"fab fa-vuejs",searchTerms:[]},{title:"fas fa-warehouse",searchTerms:[]},{title:"fab fa-weibo",searchTerms:[]},{title:"fas fa-weight",searchTerms:["scale"]},{title:"fab fa-weixin",searchTerms:[]},{title:"fab fa-whatsapp",searchTerms:[]},{title:"fab fa-whatsapp-square",searchTerms:[]},{title:"fas fa-wheelchair",searchTerms:["handicap","person"]},{title:"fab fa-whmcs",searchTerms:[]},{title:"fas fa-wifi",searchTerms:[]},{title:"fab fa-wikipedia-w",searchTerms:[]},{title:"fas fa-window-close",searchTerms:[]},{title:"far fa-window-close",searchTerms:[]},{title:"fas fa-window-maximize",searchTerms:[]},{title:"far fa-window-maximize",searchTerms:[]},{title:"fas fa-window-minimize",searchTerms:[]},{title:"far fa-window-minimize",searchTerms:[]},{title:"fas fa-window-restore",searchTerms:[]},{title:"far fa-window-restore",searchTerms:[]},{title:"fab fa-windows",searchTerms:["microsoft"]},{title:"fas fa-won-sign",searchTerms:["krw","krw"]},{title:"fab fa-wordpress",searchTerms:[]},{title:"fab fa-wordpress-simple",searchTerms:[]},{title:"fab fa-wpbeginner",searchTerms:[]},{title:"fab fa-wpexplorer",searchTerms:[]},{title:"fab fa-wpforms",searchTerms:[]},{title:"fas fa-wrench",searchTerms:["settings","fix","update","spanner","tool"]},{title:"fab fa-xbox",searchTerms:[]},{title:"fab fa-xing",searchTerms:[]},{title:"fab fa-xing-square",searchTerms:[]},{title:"fab fa-y-combinator",searchTerms:[]},{title:"fab fa-yahoo",searchTerms:[]},{title:"fab fa-yandex",searchTerms:[]},{title:"fab fa-yandex-international",searchTerms:[]},{title:"fab fa-yelp",searchTerms:[]},{title:"fas fa-yen-sign",searchTerms:["jpy","jpy"]},{title:"fab fa-yoast",searchTerms:[]},{title:"fab fa-youtube",searchTerms:["video","film","youtube-play","youtube-square"]},{title:"fab fa-youtube-square",searchTerms:[]}]})});
|
vendor/mickey-kay/better-font-awesome-library/lib/fontawesome-iconpicker/index.html
CHANGED
@@ -1,272 +1,303 @@
|
|
1 |
<!DOCTYPE html>
|
2 |
<html lang="en">
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
<!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
|
10 |
-
<!--[if lt IE 9]>
|
11 |
-
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
|
12 |
-
<![endif]-->
|
13 |
-
<style>
|
14 |
-
footer{
|
15 |
-
font-style: italic;
|
16 |
-
background:#f7f7f7;
|
17 |
-
padding:60px;
|
18 |
-
text-align: center;
|
19 |
-
margin-top: 60px;
|
20 |
-
}
|
21 |
-
pre{
|
22 |
-
text-align: left;
|
23 |
-
}
|
24 |
-
.form-control, .form-group{
|
25 |
-
position: relative;
|
26 |
-
}
|
27 |
-
p.lead{
|
28 |
-
max-width: 600px;
|
29 |
-
margin:0 auto 20px auto;
|
30 |
-
}
|
31 |
-
div.lead{
|
32 |
-
margin:30px 0;
|
33 |
-
}
|
34 |
-
a.action-placement{
|
35 |
-
margin:0 4px 4px 4px;
|
36 |
-
display:inline-block;
|
37 |
-
/*border-bottom: 1px dotted #428BCA;*/
|
38 |
-
text-decoration: none;
|
39 |
-
}
|
40 |
-
a.action-placement.active{
|
41 |
-
color:#5CB85C;
|
42 |
-
}
|
43 |
-
.form-group{
|
44 |
-
text-align: left;
|
45 |
-
margin-bottom: 30px;
|
46 |
-
}
|
47 |
-
.form-group label{
|
48 |
-
display:block;
|
49 |
-
margin-bottom: 15px;
|
50 |
-
}
|
51 |
-
.lead iframe{
|
52 |
-
display:inline-block;
|
53 |
-
vertical-align: middle;
|
54 |
-
}
|
55 |
-
</style>
|
56 |
-
</head>
|
57 |
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
<p class="lead">
|
63 |
-
Font Awesome Icon Picker is a fully customizable plugin for Twitter Bootstrap,
|
64 |
-
with a powerful base API,<br> based on
|
65 |
-
<a href="https://itsjavi.com/bootstrap-popover-picker" target="_blank">Bootstrap Popover Picker</a>
|
66 |
-
</p>
|
67 |
-
<div class="lead">
|
68 |
|
69 |
-
|
70 |
-
|
71 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
72 |
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
81 |
<p class="lead">
|
82 |
-
|
83 |
</p>
|
84 |
-
<div class="
|
85 |
-
<div class="
|
86 |
-
<
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
<div class="row">
|
93 |
-
<div class="col-md-5">
|
94 |
-
<div class="form-group">
|
95 |
-
<label>Default</label>
|
96 |
-
<input class="form-control icp icp-auto" value="fa-anchor" type="text" />
|
97 |
-
</div>
|
98 |
-
<div class="form-group">
|
99 |
-
<label>As a component</label>
|
100 |
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
<
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
</
|
130 |
-
</
|
131 |
-
<div class="
|
132 |
-
<label data-title="Inline picker" data-placement="inline" class="icp icp-auto" data-selected="fa-align-justify">
|
133 |
-
Inline mode, without input:
|
134 |
-
</label>
|
135 |
-
</div>
|
136 |
</div>
|
137 |
-
<
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
142 |
{
|
143 |
//...
|
144 |
title: 'With custom options',
|
145 |
-
icons: [
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
146 |
selectedCustomClass: 'label label-success',
|
147 |
mustAccept:true,
|
148 |
placement:'bottomRight',
|
149 |
showFooter:true,
|
150 |
//... (see the source code of this page)
|
151 |
}</pre>
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
<pre class="well">
|
157 |
-
{
|
158 |
-
//...
|
159 |
-
title: 'Prepending glypghicons',
|
160 |
-
icons: $.merge([
|
161 |
-
'glyphicon-home',
|
162 |
-
'glyphicon-repeat',
|
163 |
-
'glyphicon-search',
|
164 |
-
'glyphicon-arrow-left',
|
165 |
-
'glyphicon-arrow-right',
|
166 |
-
'glyphicon-star'],
|
167 |
-
$.iconpicker.defaultOptions.icons),
|
168 |
-
fullClassFormatter: function(val){
|
169 |
-
if(val.match(/^fa-/)){
|
170 |
-
return 'fa '+val;
|
171 |
-
}else{
|
172 |
-
return 'glyphicon '+val;
|
173 |
-
}
|
174 |
-
}
|
175 |
-
//...
|
176 |
-
}</pre>
|
177 |
-
</div>
|
178 |
-
</div>
|
179 |
</div>
|
180 |
</div>
|
181 |
-
<div class="panel-footer">
|
182 |
-
<button class="btn btn-danger action-destroy">Destroy instances</button>
|
183 |
-
<button class="btn btn-default action-create">Create instances</button>
|
184 |
-
</div>
|
185 |
</div>
|
186 |
</div>
|
187 |
-
<footer>
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
$('.icp-glyphs').iconpicker({
|
215 |
-
title: 'Prepending glypghicons',
|
216 |
-
icons: $.merge(['glyphicon-home', 'glyphicon-repeat', 'glyphicon-search',
|
217 |
-
'glyphicon-arrow-left', 'glyphicon-arrow-right', 'glyphicon-star'], $.iconpicker.defaultOptions.icons),
|
218 |
-
fullClassFormatter: function(val){
|
219 |
-
if(val.match(/^fa-/)){
|
220 |
-
return 'fa '+val;
|
221 |
-
}else{
|
222 |
-
return 'glyphicon '+val;
|
223 |
-
}
|
224 |
-
}
|
225 |
-
});
|
226 |
-
$('.icp-opts').iconpicker({
|
227 |
-
title: 'With custom options',
|
228 |
-
icons: ['fa-github', 'fa-heart', 'fa-html5', 'fa-css3'],
|
229 |
-
selectedCustomClass: 'label label-success',
|
230 |
-
mustAccept: true,
|
231 |
-
placement: 'bottomRight',
|
232 |
-
showFooter: true,
|
233 |
-
// note that this is ignored cause we have an accept button:
|
234 |
-
hideOnSelect: true,
|
235 |
-
templates: {
|
236 |
-
footer: '<div class="popover-footer">' +
|
237 |
-
'<div style="text-align:left; font-size:12px;">Placements: \n\
|
238 |
-
<a href="#" class=" action-placement">inline</a>\n\
|
239 |
-
<a href="#" class=" action-placement">topLeftCorner</a>\n\
|
240 |
-
<a href="#" class=" action-placement">topLeft</a>\n\
|
241 |
-
<a href="#" class=" action-placement">top</a>\n\
|
242 |
-
<a href="#" class=" action-placement">topRight</a>\n\
|
243 |
-
<a href="#" class=" action-placement">topRightCorner</a>\n\
|
244 |
-
<a href="#" class=" action-placement">rightTop</a>\n\
|
245 |
-
<a href="#" class=" action-placement">right</a>\n\
|
246 |
-
<a href="#" class=" action-placement">rightBottom</a>\n\
|
247 |
-
<a href="#" class=" action-placement">bottomRightCorner</a>\n\
|
248 |
-
<a href="#" class=" active action-placement">bottomRight</a>\n\
|
249 |
-
<a href="#" class=" action-placement">bottom</a>\n\
|
250 |
-
<a href="#" class=" action-placement">bottomLeft</a>\n\
|
251 |
-
<a href="#" class=" action-placement">bottomLeftCorner</a>\n\
|
252 |
-
<a href="#" class=" action-placement">leftBottom</a>\n\
|
253 |
-
<a href="#" class=" action-placement">left</a>\n\
|
254 |
-
<a href="#" class=" action-placement">leftTop</a>\n\
|
255 |
-
</div><hr></div>'}
|
256 |
-
}).data('iconpicker').show();
|
257 |
-
}).trigger('click');
|
258 |
-
|
259 |
|
260 |
-
|
261 |
-
//
|
262 |
-
//
|
263 |
-
$('.icp').on('iconpickerSelected', function(e) {
|
264 |
-
$('.lead .picker-target').get(0).className = 'picker-target fa-3x ' +
|
265 |
-
e.iconpickerInstance.options.iconBaseClass + ' ' +
|
266 |
-
e.iconpickerInstance.options.fullClassFormatter(e.iconpickerValue);
|
267 |
-
});
|
268 |
});
|
269 |
-
|
270 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
271 |
|
272 |
</html>
|
1 |
<!DOCTYPE html>
|
2 |
<html lang="en">
|
3 |
+
<head>
|
4 |
+
<meta charset="utf-8">
|
5 |
+
<title>Font Awesome Icon Picker plugin for Bootstrap</title>
|
6 |
+
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-85082661-5"></script>
|
7 |
+
<script>
|
8 |
+
window.dataLayer = window.dataLayer || [];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
|
10 |
+
function gtag() {
|
11 |
+
dataLayer.push(arguments);
|
12 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
|
14 |
+
gtag('js', new Date());
|
15 |
+
gtag('config', 'UA-85082661-5');
|
16 |
+
</script>
|
17 |
+
<link href="//netdna.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
|
18 |
+
<!-- <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet"> -->
|
19 |
+
<link href="https://use.fontawesome.com/releases/v5.0.8/css/all.css" rel="stylesheet">
|
20 |
+
<link href="dist/css/fontawesome-iconpicker.min.css" rel="stylesheet">
|
21 |
+
<!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
|
22 |
+
<!--[if lt IE 9]>
|
23 |
+
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
|
24 |
+
<![endif]-->
|
25 |
+
<style>
|
26 |
+
footer {
|
27 |
+
font-style: italic;
|
28 |
+
background: #f7f7f7;
|
29 |
+
padding: 60px;
|
30 |
+
text-align: center;
|
31 |
+
margin-top: 60px;
|
32 |
+
}
|
33 |
|
34 |
+
pre {
|
35 |
+
text-align: left;
|
36 |
+
}
|
37 |
|
38 |
+
.form-control, .form-group {
|
39 |
+
position: relative;
|
40 |
+
}
|
41 |
+
|
42 |
+
p.lead {
|
43 |
+
max-width: 800px;
|
44 |
+
margin: 0 auto 20px auto;
|
45 |
+
}
|
46 |
+
|
47 |
+
div.lead {
|
48 |
+
margin: 30px 0;
|
49 |
+
}
|
50 |
+
|
51 |
+
a.action-placement {
|
52 |
+
margin: 0 4px 4px 4px;
|
53 |
+
display: inline-block;
|
54 |
+
/*border-bottom: 1px dotted #428BCA;*/
|
55 |
+
text-decoration: none;
|
56 |
+
}
|
57 |
+
|
58 |
+
a.action-placement.active {
|
59 |
+
color: #5CB85C;
|
60 |
+
}
|
61 |
+
|
62 |
+
.form-group {
|
63 |
+
text-align: left;
|
64 |
+
margin-bottom: 30px;
|
65 |
+
}
|
66 |
+
|
67 |
+
.form-group label {
|
68 |
+
display: block;
|
69 |
+
margin-bottom: 15px;
|
70 |
+
}
|
71 |
+
|
72 |
+
.lead iframe {
|
73 |
+
display: inline-block;
|
74 |
+
vertical-align: middle;
|
75 |
+
}
|
76 |
+
</style>
|
77 |
+
</head>
|
78 |
+
|
79 |
+
<body>
|
80 |
+
<div class="container" style="text-align: center">
|
81 |
+
<h1 class="page-header">Font Awesome Icon Picker</h1>
|
82 |
+
|
83 |
+
<p class="lead">
|
84 |
+
Font Awesome Icon Picker is a fully customizable plugin for Twitter Bootstrap,
|
85 |
+
with a powerful base API, based on
|
86 |
+
<a href="https://itsjavi.com/bootstrap-popover-picker" target="_blank">Bootstrap Popover Picker</a>
|
87 |
+
</p>
|
88 |
+
<div class="lead">
|
89 |
+
|
90 |
+
<a class="btn btn-warning" href="https://github.com/itsjavi/fontawesome-iconpicker">
|
91 |
+
<i class="fab fa-github"></i> Source Code
|
92 |
+
</a>
|
93 |
+
|
94 |
+
<a class="btn btn-primary" href="https://github.com/itsjavi/fontawesome-iconpicker/releases">
|
95 |
+
<i class="fas fa-download"></i> Download
|
96 |
+
</a>
|
97 |
+
|
98 |
+
<a class="btn btn-primary" target="_blank"
|
99 |
+
href="https://chrome.google.com/webstore/detail/font-awesome-icon-picker/mcepmpclbgahgbpcgbmnpplcfmlaiopm">
|
100 |
+
<i class="fas fa-puzzle-piece"></i> Google Chrome extension
|
101 |
+
</a>
|
102 |
+
</div>
|
103 |
+
<p class="lead">
|
104 |
+
You can use Font Awesome or another font icon set of your choice (icon options and items are customizable).
|
105 |
+
</p>
|
106 |
+
<div class="panel panel-default">
|
107 |
+
<div class="panel-heading">
|
108 |
+
<h2 class="panel-title">Demos</h2>
|
109 |
+
</div>
|
110 |
+
<div class="panel-body">
|
111 |
<p class="lead">
|
112 |
+
<i class="fa fa-graduation-cap fa-3x picker-target"></i>
|
113 |
</p>
|
114 |
+
<div class="row">
|
115 |
+
<div class="col-md-5">
|
116 |
+
<div class="form-group">
|
117 |
+
<label>Default</label>
|
118 |
+
<input class="form-control icp icp-auto" value="fas fa-anchor" type="text"/>
|
119 |
+
</div>
|
120 |
+
<div class="form-group">
|
121 |
+
<label>As a component</label>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
122 |
|
123 |
+
<div class="input-group">
|
124 |
+
<input data-placement="bottomRight" class="form-control icp icp-auto" value="fas fa-archive"
|
125 |
+
type="text"/>
|
126 |
+
<span class="input-group-addon"></span>
|
127 |
+
</div>
|
128 |
+
</div>
|
129 |
+
<div class="form-group">
|
130 |
+
<label>With the input as a search box</label>
|
131 |
+
<input class="form-control icp icp-auto" data-input-search="true" value="fas fa-plane"
|
132 |
+
type="text"/>
|
133 |
+
</div>
|
134 |
+
<div class="form-group">
|
135 |
+
<label>Inside dropdowns</label>
|
136 |
+
<div class="btn-group">
|
137 |
+
<button data-selected="graduation-cap" type="button"
|
138 |
+
class="icp icp-dd btn btn-default dropdown-toggle iconpicker-component"
|
139 |
+
data-toggle="dropdown">
|
140 |
+
Dropdown <i class="fa fa-fw"></i>
|
141 |
+
<span class="caret"></span>
|
142 |
+
</button>
|
143 |
+
<div class="dropdown-menu"></div>
|
144 |
+
</div>
|
145 |
+
<div class="btn-group">
|
146 |
+
<button type="button" class="btn btn-primary iconpicker-component"><i
|
147 |
+
class="fa fa-fw fa-heart"></i></button>
|
148 |
+
<button type="button" class="icp icp-dd btn btn-primary dropdown-toggle"
|
149 |
+
data-selected="fa-car" data-toggle="dropdown">
|
150 |
+
<span class="caret"></span>
|
151 |
+
<span class="sr-only">Toggle Dropdown</span>
|
152 |
+
</button>
|
153 |
+
<div class="dropdown-menu"></div>
|
|
|
|
|
|
|
|
|
154 |
</div>
|
155 |
+
<p class="help-block"><br>
|
156 |
+
Note: In dropdowns the placement is controlled by the Bootstrap dropdown plugin
|
157 |
+
</p>
|
158 |
+
</div>
|
159 |
+
<div class="form-group">
|
160 |
+
<label data-title="Inline picker" data-placement="inline" class="icp icp-auto"
|
161 |
+
data-selected="fa-align-justify">
|
162 |
+
Inline mode, without input:
|
163 |
+
</label>
|
164 |
+
</div>
|
165 |
+
</div>
|
166 |
+
<div class="col-md-7">
|
167 |
+
<div class="form-group">
|
168 |
+
<label>With custom options, e.g. a subset of icons</label>
|
169 |
+
<input class="form-control icp icp-opts" value="fab fa-github" type="text"/><br>
|
170 |
+
<pre class="well">
|
171 |
{
|
172 |
//...
|
173 |
title: 'With custom options',
|
174 |
+
icons: [
|
175 |
+
{
|
176 |
+
title: "fab fa-github",
|
177 |
+
searchTerms: ['repository', 'code']
|
178 |
+
},
|
179 |
+
{
|
180 |
+
title: "fas fa-heart",
|
181 |
+
searchTerms: ['love']
|
182 |
+
},
|
183 |
+
{
|
184 |
+
title: "fab fa-html5",
|
185 |
+
searchTerms: ['web']
|
186 |
+
},
|
187 |
+
{
|
188 |
+
title: "fab fa-css3",
|
189 |
+
searchTerms: ['style']
|
190 |
+
}
|
191 |
+
],
|
192 |
selectedCustomClass: 'label label-success',
|
193 |
mustAccept:true,
|
194 |
placement:'bottomRight',
|
195 |
showFooter:true,
|
196 |
//... (see the source code of this page)
|
197 |
}</pre>
|
198 |
+
<p class="help-block"><br>
|
199 |
+
Tip: You can use any font library of your choice and add the icons this way,
|
200 |
+
mix them up with Font Awesome icons, etc.
|
201 |
+
</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
202 |
</div>
|
203 |
</div>
|
|
|
|
|
|
|
|
|
204 |
</div>
|
205 |
</div>
|
206 |
+
<div class="panel-footer">
|
207 |
+
<button class="btn btn-danger action-destroy">Destroy instances</button>
|
208 |
+
<button class="btn btn-default action-create">Create instances</button>
|
209 |
+
</div>
|
210 |
+
</div>
|
211 |
+
</div>
|
212 |
+
<footer>
|
213 |
+
created by <a href="https://itsjavi.com" target="_blank">Javi Aguilar</a>
|
214 |
+
</footer>
|
215 |
+
<script src="//code.jquery.com/jquery-2.2.1.min.js"></script>
|
216 |
+
<script src="//netdna.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
|
217 |
+
<script src="dist/js/fontawesome-iconpicker.js"></script>
|
218 |
+
<script>
|
219 |
+
$(function () {
|
220 |
+
$('.action-destroy').on('click', function () {
|
221 |
+
$.iconpicker.batch('.icp.iconpicker-element', 'destroy');
|
222 |
+
});
|
223 |
+
// Live binding of buttons
|
224 |
+
$(document).on('click', '.action-placement', function (e) {
|
225 |
+
$('.action-placement').removeClass('active');
|
226 |
+
$(this).addClass('active');
|
227 |
+
$('.icp-opts').data('iconpicker').updatePlacement($(this).text());
|
228 |
+
e.preventDefault();
|
229 |
+
return false;
|
230 |
+
});
|
231 |
+
$('.action-create').on('click', function () {
|
232 |
+
$('.icp-auto').iconpicker();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
233 |
|
234 |
+
$('.icp-dd').iconpicker({
|
235 |
+
//title: 'Dropdown with picker',
|
236 |
+
//component:'.btn > i'
|
|
|
|
|
|
|
|
|
|
|
237 |
});
|
238 |
+
$('.icp-opts').iconpicker({
|
239 |
+
title: 'With custom options',
|
240 |
+
icons: [
|
241 |
+
{
|
242 |
+
title: "fab fa-github",
|
243 |
+
searchTerms: ['repository', 'code']
|
244 |
+
},
|
245 |
+
{
|
246 |
+
title: "fas fa-heart",
|
247 |
+
searchTerms: ['love']
|
248 |
+
},
|
249 |
+
{
|
250 |
+
title: "fab fa-html5",
|
251 |
+
searchTerms: ['web']
|
252 |
+
},
|
253 |
+
{
|
254 |
+
title: "fab fa-css3",
|
255 |
+
searchTerms: ['style']
|
256 |
+
}
|
257 |
+
],
|
258 |
+
selectedCustomClass: 'label label-success',
|
259 |
+
mustAccept: true,
|
260 |
+
placement: 'bottomRight',
|
261 |
+
showFooter: true,
|
262 |
+
// note that this is ignored cause we have an accept button:
|
263 |
+
hideOnSelect: true,
|
264 |
+
// fontAwesome5: true,
|
265 |
+
templates: {
|
266 |
+
footer: '<div class="popover-footer">' +
|
267 |
+
'<div style="text-align:left; font-size:12px;">Placements: \n\
|
268 |
+
<a href="#" class=" action-placement">inline</a>\n\
|
269 |
+
<a href="#" class=" action-placement">topLeftCorner</a>\n\
|
270 |
+
<a href="#" class=" action-placement">topLeft</a>\n\
|
271 |
+
<a href="#" class=" action-placement">top</a>\n\
|
272 |
+
<a href="#" class=" action-placement">topRight</a>\n\
|
273 |
+
<a href="#" class=" action-placement">topRightCorner</a>\n\
|
274 |
+
<a href="#" class=" action-placement">rightTop</a>\n\
|
275 |
+
<a href="#" class=" action-placement">right</a>\n\
|
276 |
+
<a href="#" class=" action-placement">rightBottom</a>\n\
|
277 |
+
<a href="#" class=" action-placement">bottomRightCorner</a>\n\
|
278 |
+
<a href="#" class=" active action-placement">bottomRight</a>\n\
|
279 |
+
<a href="#" class=" action-placement">bottom</a>\n\
|
280 |
+
<a href="#" class=" action-placement">bottomLeft</a>\n\
|
281 |
+
<a href="#" class=" action-placement">bottomLeftCorner</a>\n\
|
282 |
+
<a href="#" class=" action-placement">leftBottom</a>\n\
|
283 |
+
<a href="#" class=" action-placement">left</a>\n\
|
284 |
+
<a href="#" class=" action-placement">leftTop</a>\n\
|
285 |
+
</div><hr></div>'
|
286 |
+
}
|
287 |
+
}).data('iconpicker').show();
|
288 |
+
}).trigger('click');
|
289 |
+
|
290 |
+
|
291 |
+
// Events sample:
|
292 |
+
// This event is only triggered when the actual input value is changed
|
293 |
+
// by user interaction
|
294 |
+
$('.icp').on('iconpickerSelected', function (e) {
|
295 |
+
$('.lead .picker-target').get(0).className = 'picker-target fa-3x ' +
|
296 |
+
e.iconpickerInstance.options.iconBaseClass + ' ' +
|
297 |
+
e.iconpickerInstance.options.fullClassFormatter(e.iconpickerValue);
|
298 |
+
});
|
299 |
+
});
|
300 |
+
</script>
|
301 |
+
</body>
|
302 |
|
303 |
</html>
|
vendor/mickey-kay/better-font-awesome-library/lib/fontawesome-iconpicker/package.json
CHANGED
@@ -1,15 +1,17 @@
|
|
1 |
{
|
2 |
"name": "fontawesome-iconpicker",
|
3 |
-
"version": "
|
4 |
"description": "Font Awesome Icon Picker plugin for Twitter Bootstrap",
|
5 |
-
"homepage": "https://
|
6 |
"repository": {
|
7 |
"type": "git",
|
8 |
-
"url": "git@github.com:
|
9 |
},
|
|
|
|
|
10 |
"main": "dist/js/fontawesome-iconpicker.js",
|
11 |
"bugs": {
|
12 |
-
"url": "https://github.com/
|
13 |
},
|
14 |
"keywords": [
|
15 |
"bootstrap",
|
@@ -18,21 +20,17 @@
|
|
18 |
"popover",
|
19 |
"picker"
|
20 |
],
|
21 |
-
"author": "Javi Aguilar",
|
22 |
-
"licenses": [
|
23 |
-
{
|
24 |
-
"type": "MIT",
|
25 |
-
"url": "https://github.com/itsjavi/fontawesome-iconpicker/blob/master/LICENSE"
|
26 |
-
}
|
27 |
-
],
|
28 |
"devDependencies": {
|
29 |
"grunt": "~0.4.5",
|
30 |
"grunt-contrib-clean": "~0.5.0",
|
|
|
31 |
"grunt-contrib-jshint": "~0.10.0",
|
32 |
"grunt-contrib-less": "~0.11.2",
|
33 |
"grunt-contrib-uglify": "~0.5.0",
|
34 |
-
"grunt-contrib-
|
|
|
35 |
"grunt-jsbeautifier": "~0.2.7",
|
36 |
-
"grunt-
|
|
|
37 |
}
|
38 |
}
|
1 |
{
|
2 |
"name": "fontawesome-iconpicker",
|
3 |
+
"version": "3.0.0",
|
4 |
"description": "Font Awesome Icon Picker plugin for Twitter Bootstrap",
|
5 |
+
"homepage": "https://farbelous.github.io/fontawesome-iconpicker/",
|
6 |
"repository": {
|
7 |
"type": "git",
|
8 |
+
"url": "git@github.com:farbelous/fontawesome-iconpicker.git"
|
9 |
},
|
10 |
+
"author": "Javi Aguilar",
|
11 |
+
"license": "MIT",
|
12 |
"main": "dist/js/fontawesome-iconpicker.js",
|
13 |
"bugs": {
|
14 |
+
"url": "https://github.com/farbelous/fontawesome-iconpicker/issues"
|
15 |
},
|
16 |
"keywords": [
|
17 |
"bootstrap",
|
20 |
"popover",
|
21 |
"picker"
|
22 |
],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23 |
"devDependencies": {
|
24 |
"grunt": "~0.4.5",
|
25 |
"grunt-contrib-clean": "~0.5.0",
|
26 |
+
"grunt-contrib-concat": "~0.4.0",
|
27 |
"grunt-contrib-jshint": "~0.10.0",
|
28 |
"grunt-contrib-less": "~0.11.2",
|
29 |
"grunt-contrib-uglify": "~0.5.0",
|
30 |
+
"grunt-contrib-watch": "~0.6.1",
|
31 |
+
"grunt-http-download": "^0.1.0",
|
32 |
"grunt-jsbeautifier": "~0.2.7",
|
33 |
+
"grunt-string-replace": "^1.3.1",
|
34 |
+
"grunt-yaml": "^0.4.2"
|
35 |
}
|
36 |
}
|
vendor/mickey-kay/better-font-awesome-library/lib/fontawesome-iconpicker/src/js/iconpicker.js
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
-
|
2 |
* Font Awesome Icon Picker
|
3 |
-
* https://
|
4 |
*
|
5 |
* Originally written by (c) 2016 Javi Aguilar
|
6 |
* Licensed under the MIT License
|
7 |
-
* https://github.com/
|
8 |
*
|
9 |
*/
|
10 |
|
@@ -46,11 +46,12 @@
|
|
46 |
var Iconpicker = function(element, options) {
|
47 |
this._id = Iconpicker._idCounter++;
|
48 |
this.element = $(element).addClass('iconpicker-element');
|
49 |
-
this._trigger('iconpickerCreate'
|
|
|
|
|
50 |
this.options = $.extend({}, Iconpicker.defaultOptions, this.element.data(), options);
|
51 |
this.options.templates = $.extend({}, Iconpicker.defaultOptions.templates, this.options.templates);
|
52 |
this.options.originalPlacement = this.options.placement;
|
53 |
-
|
54 |
// Iconpicker container element
|
55 |
this.container = (_helpers.isElement(this.options.container) ? $(this.options.container) : false);
|
56 |
if (this.container === false) {
|
@@ -63,14 +64,10 @@
|
|
63 |
this.container.addClass('iconpicker-container');
|
64 |
|
65 |
if (this.isDropdownMenu()) {
|
66 |
-
// if you try to click the dropdown, it is closed, because of that
|
67 |
-
// we'll hide some picker controls
|
68 |
-
this.options.templates.search = false;
|
69 |
-
this.options.templates.buttons = false;
|
70 |
this.options.placement = 'inline';
|
71 |
}
|
72 |
|
73 |
-
// Is the element an input? Should we search inside for any input?
|
74 |
this.input = (this.element.is('input,textarea') ? this.element.addClass('iconpicker-input') : false);
|
75 |
if (this.input === false) {
|
76 |
this.input = (this.container.find(this.options.input));
|
@@ -114,7 +111,9 @@
|
|
114 |
this.show();
|
115 |
}
|
116 |
|
117 |
-
this._trigger('iconpickerCreated'
|
|
|
|
|
118 |
};
|
119 |
|
120 |
// Instance identifier counter
|
@@ -135,7 +134,7 @@
|
|
135 |
selectedCustomClass: 'bg-primary', // Appends this class when to the selected item
|
136 |
icons: [], // list of icon classes (declared at the bottom of this script for maintainability)
|
137 |
fullClassFormatter: function(val) {
|
138 |
-
return
|
139 |
},
|
140 |
input: 'input,.iconpicker-input', // children input selector
|
141 |
inputSearch: false, // use the input as a search box too?
|
@@ -212,6 +211,7 @@
|
|
212 |
_createIconpicker: function() {
|
213 |
var _self = this;
|
214 |
this.iconpicker = $(this.options.templates.iconpicker);
|
|
|
215 |
|
216 |
var itemClickFn = function(e) {
|
217 |
var $this = $(this);
|
@@ -238,19 +238,29 @@
|
|
238 |
// only hide when the accept button is not present
|
239 |
_self.hide();
|
240 |
}
|
241 |
-
e.preventDefault();
|
242 |
-
return false;
|
243 |
};
|
244 |
|
245 |
for (var i in this.options.icons) {
|
246 |
-
|
|
|
|
|
247 |
var itemElement = $(this.options.templates.iconpickerItem);
|
248 |
itemElement.find('i')
|
249 |
-
.addClass(this.options.fullClassFormatter(this.options.icons[i]));
|
250 |
-
itemElement.data('iconpickerValue', this.options.icons[i])
|
251 |
.on('click.iconpicker', itemClickFn);
|
252 |
this.iconpicker.find('.iconpicker-items').append(itemElement
|
253 |
-
.attr('title', '.' + this.options.icons[i]));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
254 |
}
|
255 |
}
|
256 |
|
@@ -260,7 +270,7 @@
|
|
260 |
},
|
261 |
_isEventInsideIconpicker: function(e) {
|
262 |
var _t = $(e.target);
|
263 |
-
if ((!_t.hasClass('iconpicker-element')
|
264 |
(_t.hasClass('iconpicker-element') && !_t.is(this.element))) &&
|
265 |
(_t.parents('.iconpicker-popover').length === 0)) {
|
266 |
return false;
|
@@ -340,13 +350,8 @@
|
|
340 |
if (!_self._isEventInsideIconpicker(e) && !_self.isInline()) {
|
341 |
_self.hide();
|
342 |
}
|
343 |
-
e.stopPropagation();
|
344 |
-
e.preventDefault();
|
345 |
-
return false;
|
346 |
});
|
347 |
}
|
348 |
-
|
349 |
-
return false;
|
350 |
},
|
351 |
_unbindElementEvents: function() {
|
352 |
this.popover.off('.iconpicker');
|
@@ -384,7 +389,7 @@
|
|
384 |
my: "right top",
|
385 |
// of: Which element to position against.
|
386 |
of: (this.hasInput() && !this.isInputGroup()) ? this.input : this.container,
|
387 |
-
// collision: When the positioned element overflows the window (or within element)
|
388 |
// in some direction, move it to an alternative position.
|
389 |
collision: (collision === true ? 'flip' : collision),
|
390 |
// within: Element to position within, affecting collision detection.
|
@@ -590,8 +595,15 @@
|
|
590 |
|
591 |
// trim string
|
592 |
val = $.trim(val);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
593 |
|
594 |
-
if (
|
595 |
return val;
|
596 |
}
|
597 |
return false;
|
@@ -697,9 +709,11 @@
|
|
697 |
this.iconpicker.find('.iconpicker-item').each(function() {
|
698 |
var $this = $(this);
|
699 |
var text = $this.attr('title').toLowerCase();
|
|
|
|
|
700 |
var regex = false;
|
701 |
try {
|
702 |
-
regex = new RegExp(filterText, 'g');
|
703 |
} catch (e) {
|
704 |
regex = false;
|
705 |
}
|
@@ -720,25 +734,33 @@
|
|
720 |
// hide other non-inline pickers
|
721 |
$.iconpicker.batch($('.iconpicker-popover.in:not(.inline)').not(this.popover), 'hide');
|
722 |
|
723 |
-
this._trigger('iconpickerShow'
|
|
|
|
|
724 |
this.updatePlacement();
|
725 |
this.popover.addClass('in');
|
726 |
setTimeout($.proxy(function() {
|
727 |
this.popover.css('display', this.isInline() ? '' : 'block');
|
728 |
-
this._trigger('iconpickerShown'
|
|
|
|
|
729 |
}, this), this.options.animation ? 300 : 1); // animation duration
|
730 |
},
|
731 |
hide: function() {
|
732 |
if (!this.popover.hasClass('in')) {
|
733 |
return false;
|
734 |
}
|
735 |
-
this._trigger('iconpickerHide'
|
|
|
|
|
736 |
this.popover.removeClass('in');
|
737 |
setTimeout($.proxy(function() {
|
738 |
this.popover.css('display', 'none');
|
739 |
this.getSearchInput().val('');
|
740 |
this.filter(''); // clear filter
|
741 |
-
this._trigger('iconpickerHidden'
|
|
|
|
|
742 |
}, this), this.options.animation ? 300 : 1);
|
743 |
},
|
744 |
toggle: function() {
|
@@ -749,10 +771,12 @@
|
|
749 |
}
|
750 |
},
|
751 |
update: function(val, updateOnlyInternal) {
|
752 |
-
val = (val ? val :
|
753 |
// reads the input or element value again and tries to update the plugin
|
754 |
// fallback to the current selected item value
|
755 |
-
this._trigger('iconpickerUpdate'
|
|
|
|
|
756 |
|
757 |
if (updateOnlyInternal === true) {
|
758 |
val = this.setValue(val);
|
@@ -765,11 +789,15 @@
|
|
765 |
this._updateComponents();
|
766 |
}
|
767 |
|
768 |
-
this._trigger('iconpickerUpdated'
|
|
|
|
|
769 |
return val;
|
770 |
},
|
771 |
destroy: function() {
|
772 |
-
this._trigger('iconpickerDestroy'
|
|
|
|
|
773 |
|
774 |
// unbinds events and resets everything to the initial state,
|
775 |
// including component mode
|
@@ -780,7 +808,9 @@
|
|
780 |
|
781 |
$(this.popover).remove();
|
782 |
|
783 |
-
this._trigger('iconpickerDestroyed'
|
|
|
|
|
784 |
},
|
785 |
disable: function() {
|
786 |
if (this.hasInput()) {
|
@@ -821,114 +851,8 @@
|
|
821 |
};
|
822 |
|
823 |
// List of all Font Awesome icons without class prefix
|
824 |
-
Iconpicker.defaultOptions
|
825 |
-
|
826 |
-
|
827 |
-
|
828 |
-
'fa-angle-double-left', 'fa-angle-double-right', 'fa-angle-double-up', 'fa-angle-down', 'fa-angle-left', 'fa-angle-right',
|
829 |
-
'fa-angle-up', 'fa-apple', 'fa-archive', 'fa-area-chart', 'fa-arrow-circle-down', 'fa-arrow-circle-left',
|
830 |
-
'fa-arrow-circle-o-down', 'fa-arrow-circle-o-left', 'fa-arrow-circle-o-right', 'fa-arrow-circle-o-up',
|
831 |
-
'fa-arrow-circle-right', 'fa-arrow-circle-up', 'fa-arrow-down', 'fa-arrow-left', 'fa-arrow-right', 'fa-arrow-up', 'fa-arrows',
|
832 |
-
'fa-arrows-alt', 'fa-arrows-h', 'fa-arrows-v', 'fa-asl-interpreting', 'fa-assistive-listening-systems', 'fa-asterisk',
|
833 |
-
'fa-at', 'fa-audio-description', 'fa-automobile', 'fa-backward', 'fa-balance-scale', 'fa-ban', 'fa-bandcamp', 'fa-bank',
|
834 |
-
'fa-bar-chart', 'fa-bar-chart-o', 'fa-barcode', 'fa-bars', 'fa-bath', 'fa-bathtub', 'fa-battery', 'fa-battery-0',
|
835 |
-
'fa-battery-1', 'fa-battery-2', 'fa-battery-3', 'fa-battery-4', 'fa-battery-empty', 'fa-battery-full', 'fa-battery-half',
|
836 |
-
'fa-battery-quarter', 'fa-battery-three-quarters', 'fa-bed', 'fa-beer', 'fa-behance', 'fa-behance-square', 'fa-bell',
|
837 |
-
'fa-bell-o', 'fa-bell-slash', 'fa-bell-slash-o', 'fa-bicycle', 'fa-binoculars', 'fa-birthday-cake', 'fa-bitbucket',
|
838 |
-
'fa-bitbucket-square', 'fa-bitcoin', 'fa-black-tie', 'fa-blind', 'fa-bluetooth', 'fa-bluetooth-b', 'fa-bold', 'fa-bolt',
|
839 |
-
'fa-bomb', 'fa-book', 'fa-bookmark', 'fa-bookmark-o', 'fa-braille', 'fa-briefcase', 'fa-btc', 'fa-bug', 'fa-building',
|
840 |
-
'fa-building-o', 'fa-bullhorn', 'fa-bullseye', 'fa-bus', 'fa-buysellads', 'fa-cab', 'fa-calculator', 'fa-calendar',
|
841 |
-
'fa-calendar-check-o', 'fa-calendar-minus-o', 'fa-calendar-o', 'fa-calendar-plus-o', 'fa-calendar-times-o', 'fa-camera',
|
842 |
-
'fa-camera-retro', 'fa-car', 'fa-caret-down', 'fa-caret-left', 'fa-caret-right', 'fa-caret-square-o-down',
|
843 |
-
'fa-caret-square-o-left', 'fa-caret-square-o-right', 'fa-caret-square-o-up', 'fa-caret-up', 'fa-cart-arrow-down',
|
844 |
-
'fa-cart-plus', 'fa-cc', 'fa-cc-amex', 'fa-cc-diners-club', 'fa-cc-discover', 'fa-cc-jcb', 'fa-cc-mastercard', 'fa-cc-paypal',
|
845 |
-
'fa-cc-stripe', 'fa-cc-visa', 'fa-certificate', 'fa-chain', 'fa-chain-broken', 'fa-check', 'fa-check-circle',
|
846 |
-
'fa-check-circle-o', 'fa-check-square', 'fa-check-square-o', 'fa-chevron-circle-down', 'fa-chevron-circle-left',
|
847 |
-
'fa-chevron-circle-right', 'fa-chevron-circle-up', 'fa-chevron-down', 'fa-chevron-left', 'fa-chevron-right', 'fa-chevron-up',
|
848 |
-
'fa-child', 'fa-chrome', 'fa-circle', 'fa-circle-o', 'fa-circle-o-notch', 'fa-circle-thin', 'fa-clipboard', 'fa-clock-o',
|
849 |
-
'fa-clone', 'fa-close', 'fa-cloud', 'fa-cloud-download', 'fa-cloud-upload', 'fa-cny', 'fa-code', 'fa-code-fork', 'fa-codepen',
|
850 |
-
'fa-codiepie', 'fa-coffee', 'fa-cog', 'fa-cogs', 'fa-columns', 'fa-comment', 'fa-comment-o', 'fa-commenting',
|
851 |
-
'fa-commenting-o', 'fa-comments', 'fa-comments-o', 'fa-compass', 'fa-compress', 'fa-connectdevelop', 'fa-contao', 'fa-copy',
|
852 |
-
'fa-copyright', 'fa-creative-commons', 'fa-credit-card', 'fa-credit-card-alt', 'fa-crop', 'fa-crosshairs', 'fa-css3',
|
853 |
-
'fa-cube', 'fa-cubes', 'fa-cut', 'fa-cutlery', 'fa-dashboard', 'fa-dashcube', 'fa-database', 'fa-deaf', 'fa-deafness',
|
854 |
-
'fa-dedent', 'fa-delicious', 'fa-desktop', 'fa-deviantart', 'fa-diamond', 'fa-digg', 'fa-dollar', 'fa-dot-circle-o',
|
855 |
-
'fa-download', 'fa-dribbble', 'fa-drivers-license', 'fa-drivers-license-o', 'fa-dropbox', 'fa-drupal', 'fa-edge', 'fa-edit',
|
856 |
-
'fa-eercast', 'fa-eject', 'fa-ellipsis-h', 'fa-ellipsis-v', 'fa-empire', 'fa-envelope', 'fa-envelope-o', 'fa-envelope-open',
|
857 |
-
'fa-envelope-open-o', 'fa-envelope-square', 'fa-envira', 'fa-eraser', 'fa-etsy', 'fa-eur', 'fa-euro', 'fa-exchange',
|
858 |
-
'fa-exclamation', 'fa-exclamation-circle', 'fa-exclamation-triangle', 'fa-expand', 'fa-expeditedssl', 'fa-external-link',
|
859 |
-
'fa-external-link-square', 'fa-eye', 'fa-eye-slash', 'fa-eyedropper', 'fa-fa', 'fa-facebook', 'fa-facebook-f',
|
860 |
-
'fa-facebook-official', 'fa-facebook-square', 'fa-fast-backward', 'fa-fast-forward', 'fa-fax', 'fa-feed', 'fa-female',
|
861 |
-
'fa-fighter-jet', 'fa-file', 'fa-file-archive-o', 'fa-file-audio-o', 'fa-file-code-o', 'fa-file-excel-o', 'fa-file-image-o',
|
862 |
-
'fa-file-movie-o', 'fa-file-o', 'fa-file-pdf-o', 'fa-file-photo-o', 'fa-file-picture-o', 'fa-file-powerpoint-o',
|
863 |
-
'fa-file-sound-o', 'fa-file-text', 'fa-file-text-o', 'fa-file-video-o', 'fa-file-word-o', 'fa-file-zip-o', 'fa-files-o',
|
864 |
-
'fa-film', 'fa-filter', 'fa-fire', 'fa-fire-extinguisher', 'fa-firefox', 'fa-first-order', 'fa-flag', 'fa-flag-checkered',
|
865 |
-
'fa-flag-o', 'fa-flash', 'fa-flask', 'fa-flickr', 'fa-floppy-o', 'fa-folder', 'fa-folder-o', 'fa-folder-open',
|
866 |
-
'fa-folder-open-o', 'fa-font', 'fa-font-awesome', 'fa-fonticons', 'fa-fort-awesome', 'fa-forumbee', 'fa-forward',
|
867 |
-
'fa-foursquare', 'fa-free-code-camp', 'fa-frown-o', 'fa-futbol-o', 'fa-gamepad', 'fa-gavel', 'fa-gbp', 'fa-ge', 'fa-gear',
|
868 |
-
'fa-gears', 'fa-genderless', 'fa-get-pocket', 'fa-gg', 'fa-gg-circle', 'fa-gift', 'fa-git', 'fa-git-square', 'fa-github',
|
869 |
-
'fa-github-alt', 'fa-github-square', 'fa-gitlab', 'fa-gittip', 'fa-glass', 'fa-glide', 'fa-glide-g', 'fa-globe', 'fa-google',
|
870 |
-
'fa-google-plus', 'fa-google-plus-circle', 'fa-google-plus-official', 'fa-google-plus-square', 'fa-google-wallet',
|
871 |
-
'fa-graduation-cap', 'fa-gratipay', 'fa-grav', 'fa-group', 'fa-h-square', 'fa-hacker-news', 'fa-hand-grab-o',
|
872 |
-
'fa-hand-lizard-o', 'fa-hand-o-down', 'fa-hand-o-left', 'fa-hand-o-right', 'fa-hand-o-up', 'fa-hand-paper-o',
|
873 |
-
'fa-hand-peace-o', 'fa-hand-pointer-o', 'fa-hand-rock-o', 'fa-hand-scissors-o', 'fa-hand-spock-o', 'fa-hand-stop-o',
|
874 |
-
'fa-handshake-o', 'fa-hard-of-hearing', 'fa-hashtag', 'fa-hdd-o', 'fa-header', 'fa-headphones', 'fa-heart', 'fa-heart-o',
|
875 |
-
'fa-heartbeat', 'fa-history', 'fa-home', 'fa-hospital-o', 'fa-hotel', 'fa-hourglass', 'fa-hourglass-1', 'fa-hourglass-2',
|
876 |
-
'fa-hourglass-3', 'fa-hourglass-end', 'fa-hourglass-half', 'fa-hourglass-o', 'fa-hourglass-start', 'fa-houzz', 'fa-html5',
|
877 |
-
'fa-i-cursor', 'fa-id-badge', 'fa-id-card', 'fa-id-card-o', 'fa-ils', 'fa-image', 'fa-imdb', 'fa-inbox', 'fa-indent',
|
878 |
-
'fa-industry', 'fa-info', 'fa-info-circle', 'fa-inr', 'fa-instagram', 'fa-institution', 'fa-internet-explorer', 'fa-intersex',
|
879 |
-
'fa-ioxhost', 'fa-italic', 'fa-joomla', 'fa-jpy', 'fa-jsfiddle', 'fa-key', 'fa-keyboard-o', 'fa-krw', 'fa-language',
|
880 |
-
'fa-laptop', 'fa-lastfm', 'fa-lastfm-square', 'fa-leaf', 'fa-leanpub', 'fa-legal', 'fa-lemon-o', 'fa-level-down',
|
881 |
-
'fa-level-up', 'fa-life-bouy', 'fa-life-buoy', 'fa-life-ring', 'fa-life-saver', 'fa-lightbulb-o', 'fa-line-chart', 'fa-link',
|
882 |
-
'fa-linkedin', 'fa-linkedin-square', 'fa-linode', 'fa-linux', 'fa-list', 'fa-list-alt', 'fa-list-ol', 'fa-list-ul',
|
883 |
-
'fa-location-arrow', 'fa-lock', 'fa-long-arrow-down', 'fa-long-arrow-left', 'fa-long-arrow-right', 'fa-long-arrow-up',
|
884 |
-
'fa-low-vision', 'fa-magic', 'fa-magnet', 'fa-mail-forward', 'fa-mail-reply', 'fa-mail-reply-all', 'fa-male', 'fa-map',
|
885 |
-
'fa-map-marker', 'fa-map-o', 'fa-map-pin', 'fa-map-signs', 'fa-mars', 'fa-mars-double', 'fa-mars-stroke', 'fa-mars-stroke-h',
|
886 |
-
'fa-mars-stroke-v', 'fa-maxcdn', 'fa-meanpath', 'fa-medium', 'fa-medkit', 'fa-meetup', 'fa-meh-o', 'fa-mercury',
|
887 |
-
'fa-microchip', 'fa-microphone', 'fa-microphone-slash', 'fa-minus', 'fa-minus-circle', 'fa-minus-square', 'fa-minus-square-o',
|
888 |
-
'fa-mixcloud', 'fa-mobile', 'fa-mobile-phone', 'fa-modx', 'fa-money', 'fa-moon-o', 'fa-mortar-board', 'fa-motorcycle',
|
889 |
-
'fa-mouse-pointer', 'fa-music', 'fa-navicon', 'fa-neuter', 'fa-newspaper-o', 'fa-object-group', 'fa-object-ungroup',
|
890 |
-
'fa-odnoklassniki', 'fa-odnoklassniki-square', 'fa-opencart', 'fa-openid', 'fa-opera', 'fa-optin-monster', 'fa-outdent',
|
891 |
-
'fa-pagelines', 'fa-paint-brush', 'fa-paper-plane', 'fa-paper-plane-o', 'fa-paperclip', 'fa-paragraph', 'fa-paste',
|
892 |
-
'fa-pause', 'fa-pause-circle', 'fa-pause-circle-o', 'fa-paw', 'fa-paypal', 'fa-pencil', 'fa-pencil-square',
|
893 |
-
'fa-pencil-square-o', 'fa-percent', 'fa-phone', 'fa-phone-square', 'fa-photo', 'fa-picture-o', 'fa-pie-chart',
|
894 |
-
'fa-pied-piper', 'fa-pied-piper-alt', 'fa-pied-piper-pp', 'fa-pinterest', 'fa-pinterest-p', 'fa-pinterest-square', 'fa-plane',
|
895 |
-
'fa-play', 'fa-play-circle', 'fa-play-circle-o', 'fa-plug', 'fa-plus', 'fa-plus-circle', 'fa-plus-square', 'fa-plus-square-o',
|
896 |
-
'fa-podcast', 'fa-power-off', 'fa-print', 'fa-product-hunt', 'fa-puzzle-piece', 'fa-qq', 'fa-qrcode', 'fa-question',
|
897 |
-
'fa-question-circle', 'fa-question-circle-o', 'fa-quora', 'fa-quote-left', 'fa-quote-right', 'fa-ra', 'fa-random',
|
898 |
-
'fa-ravelry', 'fa-rebel', 'fa-recycle', 'fa-reddit', 'fa-reddit-alien', 'fa-reddit-square', 'fa-refresh', 'fa-registered',
|
899 |
-
'fa-remove', 'fa-renren', 'fa-reorder', 'fa-repeat', 'fa-reply', 'fa-reply-all', 'fa-resistance', 'fa-retweet', 'fa-rmb',
|
900 |
-
'fa-road', 'fa-rocket', 'fa-rotate-left', 'fa-rotate-right', 'fa-rouble', 'fa-rss', 'fa-rss-square', 'fa-rub', 'fa-ruble',
|
901 |
-
'fa-rupee', 'fa-s15', 'fa-safari', 'fa-save', 'fa-scissors', 'fa-scribd', 'fa-search', 'fa-search-minus', 'fa-search-plus',
|
902 |
-
'fa-sellsy', 'fa-send', 'fa-send-o', 'fa-server', 'fa-share', 'fa-share-alt', 'fa-share-alt-square', 'fa-share-square',
|
903 |
-
'fa-share-square-o', 'fa-shekel', 'fa-sheqel', 'fa-shield', 'fa-ship', 'fa-shirtsinbulk', 'fa-shopping-bag',
|
904 |
-
'fa-shopping-basket', 'fa-shopping-cart', 'fa-shower', 'fa-sign-in', 'fa-sign-language', 'fa-sign-out', 'fa-signal',
|
905 |
-
'fa-signing', 'fa-simplybuilt', 'fa-sitemap', 'fa-skyatlas', 'fa-skype', 'fa-slack', 'fa-sliders', 'fa-slideshare',
|
906 |
-
'fa-smile-o', 'fa-snapchat', 'fa-snapchat-ghost', 'fa-snapchat-square', 'fa-snowflake-o', 'fa-soccer-ball-o', 'fa-sort',
|
907 |
-
'fa-sort-alpha-asc', 'fa-sort-alpha-desc', 'fa-sort-amount-asc', 'fa-sort-amount-desc', 'fa-sort-asc', 'fa-sort-desc',
|
908 |
-
'fa-sort-down', 'fa-sort-numeric-asc', 'fa-sort-numeric-desc', 'fa-sort-up', 'fa-soundcloud', 'fa-space-shuttle',
|
909 |
-
'fa-spinner', 'fa-spoon', 'fa-spotify', 'fa-square', 'fa-square-o', 'fa-stack-exchange', 'fa-stack-overflow', 'fa-star',
|
910 |
-
'fa-star-half', 'fa-star-half-empty', 'fa-star-half-full', 'fa-star-half-o', 'fa-star-o', 'fa-steam', 'fa-steam-square',
|
911 |
-
'fa-step-backward', 'fa-step-forward', 'fa-stethoscope', 'fa-sticky-note', 'fa-sticky-note-o', 'fa-stop', 'fa-stop-circle',
|
912 |
-
'fa-stop-circle-o', 'fa-street-view', 'fa-strikethrough', 'fa-stumbleupon', 'fa-stumbleupon-circle', 'fa-subscript',
|
913 |
-
'fa-subway', 'fa-suitcase', 'fa-sun-o', 'fa-superpowers', 'fa-superscript', 'fa-support', 'fa-table', 'fa-tablet',
|
914 |
-
'fa-tachometer', 'fa-tag', 'fa-tags', 'fa-tasks', 'fa-taxi', 'fa-telegram', 'fa-television', 'fa-tencent-weibo',
|
915 |
-
'fa-terminal', 'fa-text-height', 'fa-text-width', 'fa-th', 'fa-th-large', 'fa-th-list', 'fa-themeisle', 'fa-thermometer',
|
916 |
-
'fa-thermometer-0', 'fa-thermometer-1', 'fa-thermometer-2', 'fa-thermometer-3', 'fa-thermometer-4', 'fa-thermometer-empty',
|
917 |
-
'fa-thermometer-full', 'fa-thermometer-half', 'fa-thermometer-quarter', 'fa-thermometer-three-quarters', 'fa-thumb-tack',
|
918 |
-
'fa-thumbs-down', 'fa-thumbs-o-down', 'fa-thumbs-o-up', 'fa-thumbs-up', 'fa-ticket', 'fa-times', 'fa-times-circle',
|
919 |
-
'fa-times-circle-o', 'fa-times-rectangle', 'fa-times-rectangle-o', 'fa-tint', 'fa-toggle-down', 'fa-toggle-left',
|
920 |
-
'fa-toggle-off', 'fa-toggle-on', 'fa-toggle-right', 'fa-toggle-up', 'fa-trademark', 'fa-train', 'fa-transgender',
|
921 |
-
'fa-transgender-alt', 'fa-trash', 'fa-trash-o', 'fa-tree', 'fa-trello', 'fa-tripadvisor', 'fa-trophy', 'fa-truck', 'fa-try',
|
922 |
-
'fa-tty', 'fa-tumblr', 'fa-tumblr-square', 'fa-turkish-lira', 'fa-tv', 'fa-twitch', 'fa-twitter', 'fa-twitter-square',
|
923 |
-
'fa-umbrella', 'fa-underline', 'fa-undo', 'fa-universal-access', 'fa-university', 'fa-unlink', 'fa-unlock', 'fa-unlock-alt',
|
924 |
-
'fa-unsorted', 'fa-upload', 'fa-usb', 'fa-usd', 'fa-user', 'fa-user-circle', 'fa-user-circle-o', 'fa-user-md', 'fa-user-o',
|
925 |
-
'fa-user-plus', 'fa-user-secret', 'fa-user-times', 'fa-users', 'fa-vcard', 'fa-vcard-o', 'fa-venus', 'fa-venus-double',
|
926 |
-
'fa-venus-mars', 'fa-viacoin', 'fa-viadeo', 'fa-viadeo-square', 'fa-video-camera', 'fa-vimeo', 'fa-vimeo-square', 'fa-vine',
|
927 |
-
'fa-vk', 'fa-volume-control-phone', 'fa-volume-down', 'fa-volume-off', 'fa-volume-up', 'fa-warning', 'fa-wechat', 'fa-weibo',
|
928 |
-
'fa-weixin', 'fa-whatsapp', 'fa-wheelchair', 'fa-wheelchair-alt', 'fa-wifi', 'fa-wikipedia-w', 'fa-window-close',
|
929 |
-
'fa-window-close-o', 'fa-window-maximize', 'fa-window-minimize', 'fa-window-restore', 'fa-windows', 'fa-won', 'fa-wordpress',
|
930 |
-
'fa-wpbeginner', 'fa-wpexplorer', 'fa-wpforms', 'fa-wrench', 'fa-xing', 'fa-xing-square', 'fa-y-combinator',
|
931 |
-
'fa-y-combinator-square', 'fa-yahoo', 'fa-yc', 'fa-yc-square', 'fa-yelp', 'fa-yen', 'fa-yoast', 'fa-youtube',
|
932 |
-
'fa-youtube-play', 'fa-youtube-square'
|
933 |
-
];
|
934 |
}));
|
1 |
+
/*
|
2 |
* Font Awesome Icon Picker
|
3 |
+
* https://farbelous.github.io/fontawesome-iconpicker/
|
4 |
*
|
5 |
* Originally written by (c) 2016 Javi Aguilar
|
6 |
* Licensed under the MIT License
|
7 |
+
* https://github.com/farbelous/fontawesome-iconpicker/blob/master/LICENSE
|
8 |
*
|
9 |
*/
|
10 |
|
46 |
var Iconpicker = function(element, options) {
|
47 |
this._id = Iconpicker._idCounter++;
|
48 |
this.element = $(element).addClass('iconpicker-element');
|
49 |
+
this._trigger('iconpickerCreate', {
|
50 |
+
iconpickerValue: this.iconpickerValue
|
51 |
+
});
|
52 |
this.options = $.extend({}, Iconpicker.defaultOptions, this.element.data(), options);
|
53 |
this.options.templates = $.extend({}, Iconpicker.defaultOptions.templates, this.options.templates);
|
54 |
this.options.originalPlacement = this.options.placement;
|
|
|
55 |
// Iconpicker container element
|
56 |
this.container = (_helpers.isElement(this.options.container) ? $(this.options.container) : false);
|
57 |
if (this.container === false) {
|
64 |
this.container.addClass('iconpicker-container');
|
65 |
|
66 |
if (this.isDropdownMenu()) {
|
|
|
|
|
|
|
|
|
67 |
this.options.placement = 'inline';
|
68 |
}
|
69 |
|
70 |
+
// Is the element an input? Should we search inside for any input?
|
71 |
this.input = (this.element.is('input,textarea') ? this.element.addClass('iconpicker-input') : false);
|
72 |
if (this.input === false) {
|
73 |
this.input = (this.container.find(this.options.input));
|
111 |
this.show();
|
112 |
}
|
113 |
|
114 |
+
this._trigger('iconpickerCreated', {
|
115 |
+
iconpickerValue: this.iconpickerValue
|
116 |
+
});
|
117 |
};
|
118 |
|
119 |
// Instance identifier counter
|
134 |
selectedCustomClass: 'bg-primary', // Appends this class when to the selected item
|
135 |
icons: [], // list of icon classes (declared at the bottom of this script for maintainability)
|
136 |
fullClassFormatter: function(val) {
|
137 |
+
return val;
|
138 |
},
|
139 |
input: 'input,.iconpicker-input', // children input selector
|
140 |
inputSearch: false, // use the input as a search box too?
|
211 |
_createIconpicker: function() {
|
212 |
var _self = this;
|
213 |
this.iconpicker = $(this.options.templates.iconpicker);
|
214 |
+
console.log('---------------');
|
215 |
|
216 |
var itemClickFn = function(e) {
|
217 |
var $this = $(this);
|
238 |
// only hide when the accept button is not present
|
239 |
_self.hide();
|
240 |
}
|
|
|
|
|
241 |
};
|
242 |
|
243 |
for (var i in this.options.icons) {
|
244 |
+
console.log('+++++++++++++++++');
|
245 |
+
console.log(this.options.icons);
|
246 |
+
if (typeof this.options.icons[i].title === 'string') {
|
247 |
var itemElement = $(this.options.templates.iconpickerItem);
|
248 |
itemElement.find('i')
|
249 |
+
.addClass(this.options.fullClassFormatter(this.options.icons[i].title));
|
250 |
+
itemElement.data('iconpickerValue', this.options.icons[i].title)
|
251 |
.on('click.iconpicker', itemClickFn);
|
252 |
this.iconpicker.find('.iconpicker-items').append(itemElement
|
253 |
+
.attr('title', '.' + this.options.icons[i].title));
|
254 |
+
|
255 |
+
if (this.options.icons[i].searchTerms.length > 0) {
|
256 |
+
var searchTerms = '';
|
257 |
+
for (var j = 0; j < this.options.icons[i].searchTerms.length; j++) {
|
258 |
+
searchTerms = searchTerms + this.options.icons[i].searchTerms[j] + ' ';
|
259 |
+
}
|
260 |
+
this.iconpicker.find('.iconpicker-items').append(itemElement
|
261 |
+
.attr('data-search-terms', searchTerms));
|
262 |
+
}
|
263 |
+
|
264 |
}
|
265 |
}
|
266 |
|
270 |
},
|
271 |
_isEventInsideIconpicker: function(e) {
|
272 |
var _t = $(e.target);
|
273 |
+
if ((!_t.hasClass('iconpicker-element') ||
|
274 |
(_t.hasClass('iconpicker-element') && !_t.is(this.element))) &&
|
275 |
(_t.parents('.iconpicker-popover').length === 0)) {
|
276 |
return false;
|
350 |
if (!_self._isEventInsideIconpicker(e) && !_self.isInline()) {
|
351 |
_self.hide();
|
352 |
}
|
|
|
|
|
|
|
353 |
});
|
354 |
}
|
|
|
|
|
355 |
},
|
356 |
_unbindElementEvents: function() {
|
357 |
this.popover.off('.iconpicker');
|
389 |
my: "right top",
|
390 |
// of: Which element to position against.
|
391 |
of: (this.hasInput() && !this.isInputGroup()) ? this.input : this.container,
|
392 |
+
// collision: When the positioned element overflows the window (or within element)
|
393 |
// in some direction, move it to an alternative position.
|
394 |
collision: (collision === true ? 'flip' : collision),
|
395 |
// within: Element to position within, affecting collision detection.
|
595 |
|
596 |
// trim string
|
597 |
val = $.trim(val);
|
598 |
+
var e = false;
|
599 |
+
for (var i = 0; i < this.options.icons.length; i++) {
|
600 |
+
if (this.options.icons[i].title === val) {
|
601 |
+
e = true;
|
602 |
+
break;
|
603 |
+
};
|
604 |
+
}
|
605 |
|
606 |
+
if (e || isEmpty) {
|
607 |
return val;
|
608 |
}
|
609 |
return false;
|
709 |
this.iconpicker.find('.iconpicker-item').each(function() {
|
710 |
var $this = $(this);
|
711 |
var text = $this.attr('title').toLowerCase();
|
712 |
+
var searchTerms = $this.attr('data-search-terms') ? $this.attr('data-search-terms').toLowerCase() : '';
|
713 |
+
text = text + ' ' + searchTerms;
|
714 |
var regex = false;
|
715 |
try {
|
716 |
+
regex = new RegExp('(^|\\W)' + filterText, 'g');
|
717 |
} catch (e) {
|
718 |
regex = false;
|
719 |
}
|
734 |
// hide other non-inline pickers
|
735 |
$.iconpicker.batch($('.iconpicker-popover.in:not(.inline)').not(this.popover), 'hide');
|
736 |
|
737 |
+
this._trigger('iconpickerShow', {
|
738 |
+
iconpickerValue: this.iconpickerValue
|
739 |
+
});
|
740 |
this.updatePlacement();
|
741 |
this.popover.addClass('in');
|
742 |
setTimeout($.proxy(function() {
|
743 |
this.popover.css('display', this.isInline() ? '' : 'block');
|
744 |
+
this._trigger('iconpickerShown', {
|
745 |
+
iconpickerValue: this.iconpickerValue
|
746 |
+
});
|
747 |
}, this), this.options.animation ? 300 : 1); // animation duration
|
748 |
},
|
749 |
hide: function() {
|
750 |
if (!this.popover.hasClass('in')) {
|
751 |
return false;
|
752 |
}
|
753 |
+
this._trigger('iconpickerHide', {
|
754 |
+
iconpickerValue: this.iconpickerValue
|
755 |
+
});
|
756 |
this.popover.removeClass('in');
|
757 |
setTimeout($.proxy(function() {
|
758 |
this.popover.css('display', 'none');
|
759 |
this.getSearchInput().val('');
|
760 |
this.filter(''); // clear filter
|
761 |
+
this._trigger('iconpickerHidden', {
|
762 |
+
iconpickerValue: this.iconpickerValue
|
763 |
+
});
|
764 |
}, this), this.options.animation ? 300 : 1);
|
765 |
},
|
766 |
toggle: function() {
|
771 |
}
|
772 |
},
|
773 |
update: function(val, updateOnlyInternal) {
|
774 |
+
val = (val ? val : this.getSourceValue(this.iconpickerValue));
|
775 |
// reads the input or element value again and tries to update the plugin
|
776 |
// fallback to the current selected item value
|
777 |
+
this._trigger('iconpickerUpdate', {
|
778 |
+
iconpickerValue: this.iconpickerValue
|
779 |
+
});
|
780 |
|
781 |
if (updateOnlyInternal === true) {
|
782 |
val = this.setValue(val);
|
789 |
this._updateComponents();
|
790 |
}
|
791 |
|
792 |
+
this._trigger('iconpickerUpdated', {
|
793 |
+
iconpickerValue: this.iconpickerValue
|
794 |
+
});
|
795 |
return val;
|
796 |
},
|
797 |
destroy: function() {
|
798 |
+
this._trigger('iconpickerDestroy', {
|
799 |
+
iconpickerValue: this.iconpickerValue
|
800 |
+
});
|
801 |
|
802 |
// unbinds events and resets everything to the initial state,
|
803 |
// including component mode
|
808 |
|
809 |
$(this.popover).remove();
|
810 |
|
811 |
+
this._trigger('iconpickerDestroyed', {
|
812 |
+
iconpickerValue: this.iconpickerValue
|
813 |
+
});
|
814 |
},
|
815 |
disable: function() {
|
816 |
if (this.hasInput()) {
|
851 |
};
|
852 |
|
853 |
// List of all Font Awesome icons without class prefix
|
854 |
+
Iconpicker.defaultOptions = $.extend(
|
855 |
+
Iconpicker.defaultOptions,
|
856 |
+
//###REPLACE-WITH-FONT-AWESOME-5-FONTS###
|
857 |
+
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
858 |
}));
|
vendor/mickey-kay/better-font-awesome-library/lib/fontawesome-iconpicker/src/js/jquery.ui.pos.js
CHANGED
@@ -1,532 +1,576 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
* problems with jQuery native .position(), and added some triggers when position
|
4 |
-
* collapses
|
5 |
-
*
|
6 |
-
* http://jqueryui.com
|
7 |
-
*
|
8 |
-
* Copyright 2014 jQuery Foundation and other contributors
|
9 |
-
* Released under the MIT license.
|
10 |
-
* http://jquery.org/license
|
11 |
-
*
|
12 |
-
* http://api.jqueryui.com/position/
|
13 |
-
*/
|
14 |
-
(function($, undefined) {
|
15 |
|
16 |
-
|
|
|
|
|
17 |
|
18 |
-
|
19 |
-
|
20 |
-
abs = Math.abs,
|
21 |
-
round = Math.round,
|
22 |
-
rhorizontal = /left|center|right/,
|
23 |
-
rvertical = /top|center|bottom/,
|
24 |
-
roffset = /[\+\-]\d+(\.[\d]+)?%?/,
|
25 |
-
rposition = /^\w+/,
|
26 |
-
rpercent = /%$/,
|
27 |
-
_position = $.fn.pos;
|
28 |
-
|
29 |
-
function getOffsets(offsets, width, height) {
|
30 |
-
return [
|
31 |
-
parseFloat(offsets[0]) * (rpercent.test(offsets[0]) ? width / 100 : 1),
|
32 |
-
parseFloat(offsets[1]) * (rpercent.test(offsets[1]) ? height / 100 : 1)
|
33 |
-
];
|
34 |
}
|
|
|
35 |
|
36 |
-
|
37 |
-
return parseInt($.css(element, property), 10) || 0;
|
38 |
-
}
|
39 |
|
40 |
-
|
41 |
-
var raw = elem[0];
|
42 |
-
if (raw.nodeType === 9) {
|
43 |
-
return {
|
44 |
-
width: elem.width(),
|
45 |
-
height: elem.height(),
|
46 |
-
offset: {
|
47 |
-
top: 0,
|
48 |
-
left: 0
|
49 |
-
}
|
50 |
-
};
|
51 |
-
}
|
52 |
-
if ($.isWindow(raw)) {
|
53 |
-
return {
|
54 |
-
width: elem.width(),
|
55 |
-
height: elem.height(),
|
56 |
-
offset: {
|
57 |
-
top: elem.scrollTop(),
|
58 |
-
left: elem.scrollLeft()
|
59 |
-
}
|
60 |
-
};
|
61 |
-
}
|
62 |
-
if (raw.preventDefault) {
|
63 |
-
return {
|
64 |
-
width: 0,
|
65 |
-
height: 0,
|
66 |
-
offset: {
|
67 |
-
top: raw.pageY,
|
68 |
-
left: raw.pageX
|
69 |
-
}
|
70 |
-
};
|
71 |
-
}
|
72 |
-
return {
|
73 |
-
width: elem.outerWidth(),
|
74 |
-
height: elem.outerHeight(),
|
75 |
-
offset: elem.offset()
|
76 |
-
};
|
77 |
-
}
|
78 |
|
79 |
-
$.pos = {
|
80 |
-
scrollbarWidth: function() {
|
81 |
-
if (cachedScrollbarWidth !== undefined) {
|
82 |
-
return cachedScrollbarWidth;
|
83 |
-
}
|
84 |
-
var w1, w2,
|
85 |
-
div = $("<div style='display:block;position:absolute;width:50px;height:50px;overflow:hidden;'><div style='height:100px;width:auto;'></div></div>"),
|
86 |
-
innerDiv = div.children()[0];
|
87 |
|
88 |
-
|
89 |
-
|
90 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
91 |
|
92 |
-
|
|
|
|
|
|
|
|
|
93 |
|
94 |
-
if (w1 === w2) {
|
95 |
-
w2 = div[0].clientWidth;
|
96 |
-
}
|
97 |
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
120 |
return {
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
offset: withinElement.offset() || {
|
125 |
-
left: 0,
|
126 |
-
top: 0
|
127 |
-
},
|
128 |
-
scrollLeft: withinElement.scrollLeft(),
|
129 |
-
scrollTop: withinElement.scrollTop(),
|
130 |
-
width: isWindow ? withinElement.width() : withinElement.outerWidth(),
|
131 |
-
height: isWindow ? withinElement.height() : withinElement.outerHeight()
|
132 |
};
|
133 |
}
|
134 |
-
};
|
135 |
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
140 |
|
141 |
-
|
142 |
-
|
|
|
143 |
|
144 |
-
|
145 |
-
target = $(options.of),
|
146 |
-
within = $.pos.getWithinInfo(options.within),
|
147 |
-
scrollInfo = $.pos.getScrollInfo(within),
|
148 |
-
collision = (options.collision || "flip").split(" "),
|
149 |
-
offsets = {};
|
150 |
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
173 |
}
|
174 |
-
|
175 |
-
pos[1] = rvertical.test(pos[1]) ? pos[1] : "center";
|
176 |
-
|
177 |
-
// calculate offsets
|
178 |
-
horizontalOffset = roffset.exec(pos[0]);
|
179 |
-
verticalOffset = roffset.exec(pos[1]);
|
180 |
-
offsets[this] = [
|
181 |
-
horizontalOffset ? horizontalOffset[0] : 0,
|
182 |
-
verticalOffset ? verticalOffset[0] : 0
|
183 |
-
];
|
184 |
|
185 |
-
|
186 |
-
options
|
187 |
-
|
188 |
-
|
189 |
-
];
|
190 |
-
});
|
191 |
|
192 |
-
|
193 |
-
|
194 |
-
collision[1] = collision[0];
|
195 |
-
}
|
196 |
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
|
|
202 |
|
203 |
-
|
204 |
-
|
205 |
-
} else if (options.at[1] === "center") {
|
206 |
-
basePosition.top += targetHeight / 2;
|
207 |
-
}
|
208 |
|
209 |
-
|
210 |
-
|
211 |
-
basePosition.top += atOffset[1];
|
212 |
-
|
213 |
-
return this.each(function() {
|
214 |
-
var collisionPosition, using,
|
215 |
-
elem = $(this),
|
216 |
-
elemWidth = elem.outerWidth(),
|
217 |
-
elemHeight = elem.outerHeight(),
|
218 |
-
marginLeft = parseCss(this, "marginLeft"),
|
219 |
-
marginTop = parseCss(this, "marginTop"),
|
220 |
-
collisionWidth = elemWidth + marginLeft + parseCss(this, "marginRight") + scrollInfo.width,
|
221 |
-
collisionHeight = elemHeight + marginTop + parseCss(this, "marginBottom") + scrollInfo.height,
|
222 |
-
position = $.extend({}, basePosition),
|
223 |
-
myOffset = getOffsets(offsets.my, elem.outerWidth(), elem.outerHeight());
|
224 |
-
|
225 |
-
if (options.my[0] === "right") {
|
226 |
-
position.left -= elemWidth;
|
227 |
-
} else if (options.my[0] === "center") {
|
228 |
-
position.left -= elemWidth / 2;
|
229 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
230 |
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
position.top -= elemHeight / 2;
|
235 |
}
|
236 |
|
237 |
-
|
238 |
-
|
|
|
|
|
|
|
239 |
|
240 |
-
|
241 |
-
|
242 |
-
|
243 |
-
|
244 |
}
|
245 |
|
246 |
-
|
247 |
-
|
248 |
-
|
249 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
250 |
|
251 |
-
|
252 |
-
|
253 |
-
|
254 |
-
|
255 |
-
targetHeight: targetHeight,
|
256 |
-
elemWidth: elemWidth,
|
257 |
-
elemHeight: elemHeight,
|
258 |
-
collisionPosition: collisionPosition,
|
259 |
-
collisionWidth: collisionWidth,
|
260 |
-
collisionHeight: collisionHeight,
|
261 |
-
offset: [atOffset[0] + myOffset[0], atOffset[1] + myOffset[1]],
|
262 |
-
my: options.my,
|
263 |
-
at: options.at,
|
264 |
-
within: within,
|
265 |
-
elem: elem
|
266 |
-
});
|
267 |
}
|
268 |
-
});
|
269 |
|
270 |
-
|
271 |
-
|
272 |
-
|
273 |
-
|
274 |
-
|
275 |
-
|
276 |
-
bottom = top + targetHeight - elemHeight,
|
277 |
-
feedback = {
|
278 |
-
target: {
|
279 |
-
element: target,
|
280 |
-
left: targetOffset.left,
|
281 |
-
top: targetOffset.top,
|
282 |
-
width: targetWidth,
|
283 |
-
height: targetHeight
|
284 |
-
},
|
285 |
-
element: {
|
286 |
-
element: elem,
|
287 |
-
left: position.left,
|
288 |
-
top: position.top,
|
289 |
-
width: elemWidth,
|
290 |
-
height: elemHeight
|
291 |
-
},
|
292 |
-
horizontal: right < 0 ? "left" : left > 0 ? "right" : "center",
|
293 |
-
vertical: bottom < 0 ? "top" : top > 0 ? "bottom" : "middle"
|
294 |
-
};
|
295 |
-
if (targetWidth < elemWidth && abs(left + right) < targetWidth) {
|
296 |
-
feedback.horizontal = "center";
|
297 |
-
}
|
298 |
-
if (targetHeight < elemHeight && abs(top + bottom) < targetHeight) {
|
299 |
-
feedback.vertical = "middle";
|
300 |
-
}
|
301 |
-
if (max(abs(left), abs(right)) > max(abs(top), abs(bottom))) {
|
302 |
-
feedback.important = "horizontal";
|
303 |
-
} else {
|
304 |
-
feedback.important = "vertical";
|
305 |
-
}
|
306 |
-
options.using.call(this, props, feedback);
|
307 |
};
|
308 |
-
}
|
309 |
|
310 |
-
|
311 |
-
|
312 |
-
|
313 |
-
|
314 |
-
|
315 |
-
|
316 |
-
|
317 |
-
|
318 |
-
|
319 |
-
|
320 |
-
|
321 |
-
|
322 |
-
|
323 |
-
|
|
|
|
|
|
|
324 |
});
|
325 |
-
|
326 |
-
|
327 |
-
|
328 |
-
|
329 |
-
|
330 |
-
|
331 |
-
|
332 |
-
|
333 |
-
|
334 |
-
|
335 |
-
|
336 |
-
|
337 |
-
|
338 |
-
|
339 |
-
|
340 |
-
|
341 |
-
|
342 |
-
|
343 |
-
|
344 |
-
|
345 |
-
|
346 |
-
|
347 |
-
|
348 |
-
|
349 |
-
|
350 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
351 |
} else {
|
352 |
-
|
353 |
}
|
354 |
-
|
355 |
-
|
356 |
-
}
|
357 |
-
|
358 |
-
|
359 |
-
|
360 |
-
|
361 |
-
|
362 |
-
|
363 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
364 |
}
|
365 |
-
$.ui.pos._trigger(position, data, 'posCollided', 'fitLeft');
|
366 |
},
|
367 |
-
|
368 |
-
|
369 |
-
|
370 |
-
|
371 |
-
|
372 |
-
|
373 |
-
|
374 |
-
|
375 |
-
|
376 |
-
|
377 |
-
|
378 |
-
|
379 |
-
|
380 |
-
|
381 |
-
|
382 |
-
|
383 |
-
|
384 |
-
|
385 |
-
|
386 |
-
|
387 |
-
|
388 |
-
if (
|
389 |
-
position.
|
|
|
|
|
390 |
} else {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
391 |
position.top = withinOffset;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
392 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
393 |
}
|
394 |
-
|
395 |
-
} else if (overTop > 0) {
|
396 |
-
position.top += overTop;
|
397 |
-
// too far down -> align with bottom edge
|
398 |
-
} else if (overBottom > 0) {
|
399 |
-
position.top -= overBottom;
|
400 |
-
// adjust based on position and margin
|
401 |
-
} else {
|
402 |
-
position.top = max(position.top - collisionPosTop, position.top);
|
403 |
}
|
404 |
-
|
405 |
-
|
406 |
-
|
407 |
-
|
408 |
-
|
409 |
-
|
410 |
-
|
411 |
-
|
412 |
-
|
413 |
-
|
414 |
-
|
415 |
-
|
416 |
-
|
417 |
-
|
418 |
-
|
419 |
-
|
420 |
-
|
421 |
-
|
422 |
-
|
423 |
-
|
424 |
-
|
425 |
-
|
426 |
-
|
427 |
-
|
428 |
-
|
429 |
-
|
430 |
-
|
431 |
-
|
432 |
-
|
433 |
-
|
434 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
435 |
}
|
436 |
-
|
437 |
-
|
438 |
-
|
439 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
440 |
}
|
|
|
441 |
}
|
442 |
-
$.ui.pos._trigger(position, data, 'posCollided', 'flipLeft');
|
443 |
},
|
444 |
-
|
445 |
-
|
446 |
-
|
447 |
-
|
448 |
-
|
449 |
-
|
450 |
-
|
451 |
-
|
452 |
-
overBottom = collisionPosTop + data.collisionHeight - outerHeight - offsetTop,
|
453 |
-
top = data.my[1] === "top",
|
454 |
-
myOffset = top ?
|
455 |
-
-data.elemHeight :
|
456 |
-
data.my[1] === "bottom" ?
|
457 |
-
data.elemHeight :
|
458 |
-
0,
|
459 |
-
atOffset = data.at[1] === "top" ?
|
460 |
-
data.targetHeight :
|
461 |
-
data.at[1] === "bottom" ?
|
462 |
-
-data.targetHeight :
|
463 |
-
0,
|
464 |
-
offset = -2 * data.offset[1],
|
465 |
-
newOverTop,
|
466 |
-
newOverBottom;
|
467 |
-
if (overTop < 0) {
|
468 |
-
newOverBottom = position.top + myOffset + atOffset + offset + data.collisionHeight - outerHeight - withinOffset;
|
469 |
-
if ((position.top + myOffset + atOffset + offset) > overTop && (newOverBottom < 0 || newOverBottom < abs(overTop))) {
|
470 |
-
position.top += myOffset + atOffset + offset;
|
471 |
-
}
|
472 |
-
} else if (overBottom > 0) {
|
473 |
-
newOverTop = position.top - data.collisionPosition.marginTop + myOffset + atOffset + offset - offsetTop;
|
474 |
-
if ((position.top + myOffset + atOffset + offset) > overBottom && (newOverTop > 0 || abs(newOverTop) < overBottom)) {
|
475 |
-
position.top += myOffset + atOffset + offset;
|
476 |
-
}
|
477 |
}
|
478 |
-
$.ui.pos._trigger(position, data, 'posCollided', 'flipTop');
|
479 |
}
|
480 |
-
}
|
481 |
-
|
482 |
-
|
483 |
-
|
484 |
-
|
485 |
-
|
486 |
-
|
487 |
-
|
488 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
489 |
}
|
490 |
-
|
491 |
-
|
|
|
|
|
|
|
|
|
492 |
|
493 |
-
|
494 |
-
(function() {
|
495 |
-
var testElement, testElementParent, testElementStyle, offsetLeft, i,
|
496 |
-
body = document.getElementsByTagName("body")[0],
|
497 |
-
div = document.createElement("div");
|
498 |
-
|
499 |
-
//Create a "fake body" for testing based on method used in jQuery.support
|
500 |
-
testElement = document.createElement(body ? "div" : "body");
|
501 |
-
testElementStyle = {
|
502 |
-
visibility: "hidden",
|
503 |
-
width: 0,
|
504 |
-
height: 0,
|
505 |
-
border: 0,
|
506 |
-
margin: 0,
|
507 |
-
background: "none"
|
508 |
-
};
|
509 |
-
if (body) {
|
510 |
-
$.extend(testElementStyle, {
|
511 |
-
position: "absolute",
|
512 |
-
left: "-1000px",
|
513 |
-
top: "-1000px"
|
514 |
-
});
|
515 |
-
}
|
516 |
-
for (i in testElementStyle) {
|
517 |
-
testElement.style[i] = testElementStyle[i];
|
518 |
-
}
|
519 |
-
testElement.appendChild(div);
|
520 |
-
testElementParent = body || document.documentElement;
|
521 |
-
testElementParent.insertBefore(testElement, testElementParent.firstChild);
|
522 |
|
523 |
-
|
|
|
524 |
|
525 |
-
|
526 |
-
|
|
|
527 |
|
528 |
-
testElement.innerHTML = "";
|
529 |
-
testElementParent.removeChild(testElement);
|
530 |
})();
|
531 |
|
532 |
-
|
|
|
|
|
|
|
|
|
|
1 |
+
(function(factory) {
|
2 |
+
if (typeof define === "function" && define.amd) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
|
4 |
+
// AMD. Register as an anonymous module.
|
5 |
+
define(["jquery"], factory);
|
6 |
+
} else {
|
7 |
|
8 |
+
// Browser globals
|
9 |
+
factory(jQuery);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
}
|
11 |
+
}(function($) {
|
12 |
|
13 |
+
$.ui = $.ui || {};
|
|
|
|
|
14 |
|
15 |
+
var version = $.ui.version = "1.12.1";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
|
18 |
+
/*!
|
19 |
+
* jQuery UI Position 1.12.1
|
20 |
+
* http://jqueryui.com
|
21 |
+
*
|
22 |
+
* Copyright jQuery Foundation and other contributors
|
23 |
+
* Released under the MIT license.
|
24 |
+
* http://jquery.org/license
|
25 |
+
*
|
26 |
+
* http://api.jqueryui.com/position/
|
27 |
+
*/
|
28 |
|
29 |
+
//>>label: Position
|
30 |
+
//>>group: Core
|
31 |
+
//>>description: Positions elements relative to other elements.
|
32 |
+
//>>docs: http://api.jqueryui.com/position/
|
33 |
+
//>>demos: http://jqueryui.com/position/
|
34 |
|
|
|
|
|
|
|
35 |
|
36 |
+
(function() {
|
37 |
+
var cachedScrollbarWidth,
|
38 |
+
max = Math.max,
|
39 |
+
abs = Math.abs,
|
40 |
+
rhorizontal = /left|center|right/,
|
41 |
+
rvertical = /top|center|bottom/,
|
42 |
+
roffset = /[\+\-]\d+(\.[\d]+)?%?/,
|
43 |
+
rposition = /^\w+/,
|
44 |
+
rpercent = /%$/,
|
45 |
+
_position = $.fn.pos;
|
46 |
+
|
47 |
+
function getOffsets(offsets, width, height) {
|
48 |
+
return [
|
49 |
+
parseFloat(offsets[0]) * (rpercent.test(offsets[0]) ? width / 100 : 1),
|
50 |
+
parseFloat(offsets[1]) * (rpercent.test(offsets[1]) ? height / 100 : 1)
|
51 |
+
];
|
52 |
+
}
|
53 |
+
|
54 |
+
function parseCss(element, property) {
|
55 |
+
return parseInt($.css(element, property), 10) || 0;
|
56 |
+
}
|
57 |
+
|
58 |
+
function getDimensions(elem) {
|
59 |
+
var raw = elem[0];
|
60 |
+
if (raw.nodeType === 9) {
|
61 |
+
return {
|
62 |
+
width: elem.width(),
|
63 |
+
height: elem.height(),
|
64 |
+
offset: {
|
65 |
+
top: 0,
|
66 |
+
left: 0
|
67 |
+
}
|
68 |
+
};
|
69 |
+
}
|
70 |
+
if ($.isWindow(raw)) {
|
71 |
+
return {
|
72 |
+
width: elem.width(),
|
73 |
+
height: elem.height(),
|
74 |
+
offset: {
|
75 |
+
top: elem.scrollTop(),
|
76 |
+
left: elem.scrollLeft()
|
77 |
+
}
|
78 |
+
};
|
79 |
+
}
|
80 |
+
if (raw.preventDefault) {
|
81 |
+
return {
|
82 |
+
width: 0,
|
83 |
+
height: 0,
|
84 |
+
offset: {
|
85 |
+
top: raw.pageY,
|
86 |
+
left: raw.pageX
|
87 |
+
}
|
88 |
+
};
|
89 |
+
}
|
90 |
return {
|
91 |
+
width: elem.outerWidth(),
|
92 |
+
height: elem.outerHeight(),
|
93 |
+
offset: elem.offset()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
94 |
};
|
95 |
}
|
|
|
96 |
|
97 |
+
$.pos = {
|
98 |
+
scrollbarWidth: function() {
|
99 |
+
if (cachedScrollbarWidth !== undefined) {
|
100 |
+
return cachedScrollbarWidth;
|
101 |
+
}
|
102 |
+
var w1, w2,
|
103 |
+
div = $("<div " +
|
104 |
+
"style='display:block;position:absolute;width:50px;height:50px;overflow:hidden;'>" +
|
105 |
+
"<div style='height:100px;width:auto;'></div></div>"),
|
106 |
+
innerDiv = div.children()[0];
|
107 |
|
108 |
+
$("body").append(div);
|
109 |
+
w1 = innerDiv.offsetWidth;
|
110 |
+
div.css("overflow", "scroll");
|
111 |
|
112 |
+
w2 = innerDiv.offsetWidth;
|
|
|
|
|
|
|
|
|
|
|
113 |
|
114 |
+
if (w1 === w2) {
|
115 |
+
w2 = div[0].clientWidth;
|
116 |
+
}
|
117 |
+
|
118 |
+
div.remove();
|
119 |
+
|
120 |
+
return (cachedScrollbarWidth = w1 - w2);
|
121 |
+
},
|
122 |
+
getScrollInfo: function(within) {
|
123 |
+
var overflowX = within.isWindow || within.isDocument ? "" :
|
124 |
+
within.element.css("overflow-x"),
|
125 |
+
overflowY = within.isWindow || within.isDocument ? "" :
|
126 |
+
within.element.css("overflow-y"),
|
127 |
+
hasOverflowX = overflowX === "scroll" ||
|
128 |
+
(overflowX === "auto" && within.width < within.element[0].scrollWidth),
|
129 |
+
hasOverflowY = overflowY === "scroll" ||
|
130 |
+
(overflowY === "auto" && within.height < within.element[0].scrollHeight);
|
131 |
+
return {
|
132 |
+
width: hasOverflowY ? $.pos.scrollbarWidth() : 0,
|
133 |
+
height: hasOverflowX ? $.pos.scrollbarWidth() : 0
|
134 |
+
};
|
135 |
+
},
|
136 |
+
getWithinInfo: function(element) {
|
137 |
+
var withinElement = $(element || window),
|
138 |
+
isWindow = $.isWindow(withinElement[0]),
|
139 |
+
isDocument = !!withinElement[0] && withinElement[0].nodeType === 9,
|
140 |
+
hasOffset = !isWindow && !isDocument;
|
141 |
+
return {
|
142 |
+
element: withinElement,
|
143 |
+
isWindow: isWindow,
|
144 |
+
isDocument: isDocument,
|
145 |
+
offset: hasOffset ? $(element).offset() : {
|
146 |
+
left: 0,
|
147 |
+
top: 0
|
148 |
+
},
|
149 |
+
scrollLeft: withinElement.scrollLeft(),
|
150 |
+
scrollTop: withinElement.scrollTop(),
|
151 |
+
width: withinElement.outerWidth(),
|
152 |
+
height: withinElement.outerHeight()
|
153 |
+
};
|
154 |
}
|
155 |
+
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
156 |
|
157 |
+
$.fn.pos = function(options) {
|
158 |
+
if (!options || !options.of) {
|
159 |
+
return _position.apply(this, arguments);
|
160 |
+
}
|
|
|
|
|
161 |
|
162 |
+
// Make a copy, we don't want to modify arguments
|
163 |
+
options = $.extend({}, options);
|
|
|
|
|
164 |
|
165 |
+
var atOffset, targetWidth, targetHeight, targetOffset, basePosition, dimensions,
|
166 |
+
target = $(options.of),
|
167 |
+
within = $.pos.getWithinInfo(options.within),
|
168 |
+
scrollInfo = $.pos.getScrollInfo(within),
|
169 |
+
collision = (options.collision || "flip").split(" "),
|
170 |
+
offsets = {};
|
171 |
|
172 |
+
dimensions = getDimensions(target);
|
173 |
+
if (target[0].preventDefault) {
|
|
|
|
|
|
|
174 |
|
175 |
+
// Force left top to allow flipping
|
176 |
+
options.at = "left top";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
177 |
}
|
178 |
+
targetWidth = dimensions.width;
|
179 |
+
targetHeight = dimensions.height;
|
180 |
+
targetOffset = dimensions.offset;
|
181 |
+
|
182 |
+
// Clone to reuse original targetOffset later
|
183 |
+
basePosition = $.extend({}, targetOffset);
|
184 |
+
|
185 |
+
// Force my and at to have valid horizontal and vertical positions
|
186 |
+
// if a value is missing or invalid, it will be converted to center
|
187 |
+
$.each(["my", "at"], function() {
|
188 |
+
var pos = (options[this] || "").split(" "),
|
189 |
+
horizontalOffset,
|
190 |
+
verticalOffset;
|
191 |
+
|
192 |
+
if (pos.length === 1) {
|
193 |
+
pos = rhorizontal.test(pos[0]) ?
|
194 |
+
pos.concat(["center"]) :
|
195 |
+
rvertical.test(pos[0]) ? ["center"].concat(pos) : ["center", "center"];
|
196 |
+
}
|
197 |
+
pos[0] = rhorizontal.test(pos[0]) ? pos[0] : "center";
|
198 |
+
pos[1] = rvertical.test(pos[1]) ? pos[1] : "center";
|
199 |
+
|
200 |
+
// Calculate offsets
|
201 |
+
horizontalOffset = roffset.exec(pos[0]);
|
202 |
+
verticalOffset = roffset.exec(pos[1]);
|
203 |
+
offsets[this] = [
|
204 |
+
horizontalOffset ? horizontalOffset[0] : 0,
|
205 |
+
verticalOffset ? verticalOffset[0] : 0
|
206 |
+
];
|
207 |
+
|
208 |
+
// Reduce to just the positions without the offsets
|
209 |
+
options[this] = [
|
210 |
+
rposition.exec(pos[0])[0],
|
211 |
+
rposition.exec(pos[1])[0]
|
212 |
+
];
|
213 |
+
});
|
214 |
|
215 |
+
// Normalize collision option
|
216 |
+
if (collision.length === 1) {
|
217 |
+
collision[1] = collision[0];
|
|
|
218 |
}
|
219 |
|
220 |
+
if (options.at[0] === "right") {
|
221 |
+
basePosition.left += targetWidth;
|
222 |
+
} else if (options.at[0] === "center") {
|
223 |
+
basePosition.left += targetWidth / 2;
|
224 |
+
}
|
225 |
|
226 |
+
if (options.at[1] === "bottom") {
|
227 |
+
basePosition.top += targetHeight;
|
228 |
+
} else if (options.at[1] === "center") {
|
229 |
+
basePosition.top += targetHeight / 2;
|
230 |
}
|
231 |
|
232 |
+
atOffset = getOffsets(offsets.at, targetWidth, targetHeight);
|
233 |
+
basePosition.left += atOffset[0];
|
234 |
+
basePosition.top += atOffset[1];
|
235 |
+
|
236 |
+
return this.each(function() {
|
237 |
+
var collisionPosition, using,
|
238 |
+
elem = $(this),
|
239 |
+
elemWidth = elem.outerWidth(),
|
240 |
+
elemHeight = elem.outerHeight(),
|
241 |
+
marginLeft = parseCss(this, "marginLeft"),
|
242 |
+
marginTop = parseCss(this, "marginTop"),
|
243 |
+
collisionWidth = elemWidth + marginLeft + parseCss(this, "marginRight") +
|
244 |
+
scrollInfo.width,
|
245 |
+
collisionHeight = elemHeight + marginTop + parseCss(this, "marginBottom") +
|
246 |
+
scrollInfo.height,
|
247 |
+
position = $.extend({}, basePosition),
|
248 |
+
myOffset = getOffsets(offsets.my, elem.outerWidth(), elem.outerHeight());
|
249 |
+
|
250 |
+
if (options.my[0] === "right") {
|
251 |
+
position.left -= elemWidth;
|
252 |
+
} else if (options.my[0] === "center") {
|
253 |
+
position.left -= elemWidth / 2;
|
254 |
+
}
|
255 |
|
256 |
+
if (options.my[1] === "bottom") {
|
257 |
+
position.top -= elemHeight;
|
258 |
+
} else if (options.my[1] === "center") {
|
259 |
+
position.top -= elemHeight / 2;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
260 |
}
|
|
|
261 |
|
262 |
+
position.left += myOffset[0];
|
263 |
+
position.top += myOffset[1];
|
264 |
+
|
265 |
+
collisionPosition = {
|
266 |
+
marginLeft: marginLeft,
|
267 |
+
marginTop: marginTop
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
268 |
};
|
|
|
269 |
|
270 |
+
$.each(["left", "top"], function(i, dir) {
|
271 |
+
if ($.ui.pos[collision[i]]) {
|
272 |
+
$.ui.pos[collision[i]][dir](position, {
|
273 |
+
targetWidth: targetWidth,
|
274 |
+
targetHeight: targetHeight,
|
275 |
+
elemWidth: elemWidth,
|
276 |
+
elemHeight: elemHeight,
|
277 |
+
collisionPosition: collisionPosition,
|
278 |
+
collisionWidth: collisionWidth,
|
279 |
+
collisionHeight: collisionHeight,
|
280 |
+
offset: [atOffset[0] + myOffset[0], atOffset[1] + myOffset[1]],
|
281 |
+
my: options.my,
|
282 |
+
at: options.at,
|
283 |
+
within: within,
|
284 |
+
elem: elem
|
285 |
+
});
|
286 |
+
}
|
287 |
});
|
288 |
+
|
289 |
+
if (options.using) {
|
290 |
+
|
291 |
+
// Adds feedback as second argument to using callback, if present
|
292 |
+
using = function(props) {
|
293 |
+
var left = targetOffset.left - position.left,
|
294 |
+
right = left + targetWidth - elemWidth,
|
295 |
+
top = targetOffset.top - position.top,
|
296 |
+
bottom = top + targetHeight - elemHeight,
|
297 |
+
feedback = {
|
298 |
+
target: {
|
299 |
+
element: target,
|
300 |
+
left: targetOffset.left,
|
301 |
+
top: targetOffset.top,
|
302 |
+
width: targetWidth,
|
303 |
+
height: targetHeight
|
304 |
+
},
|
305 |
+
element: {
|
306 |
+
element: elem,
|
307 |
+
left: position.left,
|
308 |
+
top: position.top,
|
309 |
+
width: elemWidth,
|
310 |
+
height: elemHeight
|
311 |
+
},
|
312 |
+
horizontal: right < 0 ? "left" : left > 0 ? "right" : "center",
|
313 |
+
vertical: bottom < 0 ? "top" : top > 0 ? "bottom" : "middle"
|
314 |
+
};
|
315 |
+
if (targetWidth < elemWidth && abs(left + right) < targetWidth) {
|
316 |
+
feedback.horizontal = "center";
|
317 |
+
}
|
318 |
+
if (targetHeight < elemHeight && abs(top + bottom) < targetHeight) {
|
319 |
+
feedback.vertical = "middle";
|
320 |
+
}
|
321 |
+
if (max(abs(left), abs(right)) > max(abs(top), abs(bottom))) {
|
322 |
+
feedback.important = "horizontal";
|
323 |
} else {
|
324 |
+
feedback.important = "vertical";
|
325 |
}
|
326 |
+
options.using.call(this, props, feedback);
|
327 |
+
};
|
328 |
+
}
|
329 |
+
|
330 |
+
elem.offset($.extend(position, {
|
331 |
+
using: using
|
332 |
+
}));
|
333 |
+
});
|
334 |
+
};
|
335 |
+
|
336 |
+
$.ui.pos = {
|
337 |
+
_trigger: function(position, data, name, triggered) {
|
338 |
+
if (data.elem) {
|
339 |
+
data.elem.trigger({
|
340 |
+
'type': name,
|
341 |
+
'position': position,
|
342 |
+
'positionData': data,
|
343 |
+
'triggered': triggered
|
344 |
+
});
|
345 |
}
|
|
|
346 |
},
|
347 |
+
fit: {
|
348 |
+
left: function(position, data) {
|
349 |
+
$.ui.pos._trigger(position, data, 'posCollide', 'fitLeft');
|
350 |
+
var within = data.within,
|
351 |
+
withinOffset = within.isWindow ? within.scrollLeft : within.offset.left,
|
352 |
+
outerWidth = within.width,
|
353 |
+
collisionPosLeft = position.left - data.collisionPosition.marginLeft,
|
354 |
+
overLeft = withinOffset - collisionPosLeft,
|
355 |
+
overRight = collisionPosLeft + data.collisionWidth - outerWidth - withinOffset,
|
356 |
+
newOverRight;
|
357 |
+
|
358 |
+
// Element is wider than within
|
359 |
+
if (data.collisionWidth > outerWidth) {
|
360 |
+
|
361 |
+
// Element is initially over the left side of within
|
362 |
+
if (overLeft > 0 && overRight <= 0) {
|
363 |
+
newOverRight = position.left + overLeft + data.collisionWidth - outerWidth -
|
364 |
+
withinOffset;
|
365 |
+
position.left += overLeft - newOverRight;
|
366 |
+
|
367 |
+
// Element is initially over right side of within
|
368 |
+
} else if (overRight > 0 && overLeft <= 0) {
|
369 |
+
position.left = withinOffset;
|
370 |
+
|
371 |
+
// Element is initially over both left and right sides of within
|
372 |
} else {
|
373 |
+
if (overLeft > overRight) {
|
374 |
+
position.left = withinOffset + outerWidth - data.collisionWidth;
|
375 |
+
} else {
|
376 |
+
position.left = withinOffset;
|
377 |
+
}
|
378 |
+
}
|
379 |
+
|
380 |
+
// Too far left -> align with left edge
|
381 |
+
} else if (overLeft > 0) {
|
382 |
+
position.left += overLeft;
|
383 |
+
|
384 |
+
// Too far right -> align with right edge
|
385 |
+
} else if (overRight > 0) {
|
386 |
+
position.left -= overRight;
|
387 |
+
|
388 |
+
// Adjust based on position and margin
|
389 |
+
} else {
|
390 |
+
position.left = max(position.left - collisionPosLeft, position.left);
|
391 |
+
}
|
392 |
+
$.ui.pos._trigger(position, data, 'posCollided', 'fitLeft');
|
393 |
+
},
|
394 |
+
top: function(position, data) {
|
395 |
+
$.ui.pos._trigger(position, data, 'posCollide', 'fitTop');
|
396 |
+
var within = data.within,
|
397 |
+
withinOffset = within.isWindow ? within.scrollTop : within.offset.top,
|
398 |
+
outerHeight = data.within.height,
|
399 |
+
collisionPosTop = position.top - data.collisionPosition.marginTop,
|
400 |
+
overTop = withinOffset - collisionPosTop,
|
401 |
+
overBottom = collisionPosTop + data.collisionHeight - outerHeight - withinOffset,
|
402 |
+
newOverBottom;
|
403 |
+
|
404 |
+
// Element is taller than within
|
405 |
+
if (data.collisionHeight > outerHeight) {
|
406 |
+
|
407 |
+
// Element is initially over the top of within
|
408 |
+
if (overTop > 0 && overBottom <= 0) {
|
409 |
+
newOverBottom = position.top + overTop + data.collisionHeight - outerHeight -
|
410 |
+
withinOffset;
|
411 |
+
position.top += overTop - newOverBottom;
|
412 |
+
|
413 |
+
// Element is initially over bottom of within
|
414 |
+
} else if (overBottom > 0 && overTop <= 0) {
|
415 |
position.top = withinOffset;
|
416 |
+
|
417 |
+
// Element is initially over both top and bottom of within
|
418 |
+
} else {
|
419 |
+
if (overTop > overBottom) {
|
420 |
+
position.top = withinOffset + outerHeight - data.collisionHeight;
|
421 |
+
} else {
|
422 |
+
position.top = withinOffset;
|
423 |
+
}
|
424 |
}
|
425 |
+
|
426 |
+
// Too far up -> align with top
|
427 |
+
} else if (overTop > 0) {
|
428 |
+
position.top += overTop;
|
429 |
+
|
430 |
+
// Too far down -> align with bottom edge
|
431 |
+
} else if (overBottom > 0) {
|
432 |
+
position.top -= overBottom;
|
433 |
+
|
434 |
+
// Adjust based on position and margin
|
435 |
+
} else {
|
436 |
+
position.top = max(position.top - collisionPosTop, position.top);
|
437 |
}
|
438 |
+
$.ui.pos._trigger(position, data, 'posCollided', 'fitTop');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
439 |
}
|
440 |
+
},
|
441 |
+
flip: {
|
442 |
+
left: function(position, data) {
|
443 |
+
$.ui.pos._trigger(position, data, 'posCollide', 'flipLeft');
|
444 |
+
var within = data.within,
|
445 |
+
withinOffset = within.offset.left + within.scrollLeft,
|
446 |
+
outerWidth = within.width,
|
447 |
+
offsetLeft = within.isWindow ? within.scrollLeft : within.offset.left,
|
448 |
+
collisionPosLeft = position.left - data.collisionPosition.marginLeft,
|
449 |
+
overLeft = collisionPosLeft - offsetLeft,
|
450 |
+
overRight = collisionPosLeft + data.collisionWidth - outerWidth - offsetLeft,
|
451 |
+
myOffset = data.my[0] === "left" ?
|
452 |
+
-data.elemWidth :
|
453 |
+
data.my[0] === "right" ?
|
454 |
+
data.elemWidth :
|
455 |
+
0,
|
456 |
+
atOffset = data.at[0] === "left" ?
|
457 |
+
data.targetWidth :
|
458 |
+
data.at[0] === "right" ?
|
459 |
+
-data.targetWidth :
|
460 |
+
0,
|
461 |
+
offset = -2 * data.offset[0],
|
462 |
+
newOverRight,
|
463 |
+
newOverLeft;
|
464 |
+
|
465 |
+
if (overLeft < 0) {
|
466 |
+
newOverRight = position.left + myOffset + atOffset + offset + data.collisionWidth -
|
467 |
+
outerWidth - withinOffset;
|
468 |
+
if (newOverRight < 0 || newOverRight < abs(overLeft)) {
|
469 |
+
position.left += myOffset + atOffset + offset;
|
470 |
+
}
|
471 |
+
} else if (overRight > 0) {
|
472 |
+
newOverLeft = position.left - data.collisionPosition.marginLeft + myOffset +
|
473 |
+
atOffset + offset - offsetLeft;
|
474 |
+
if (newOverLeft > 0 || abs(newOverLeft) < overRight) {
|
475 |
+
position.left += myOffset + atOffset + offset;
|
476 |
+
}
|
477 |
}
|
478 |
+
$.ui.pos._trigger(position, data, 'posCollided', 'flipLeft');
|
479 |
+
},
|
480 |
+
top: function(position, data) {
|
481 |
+
$.ui.pos._trigger(position, data, 'posCollide', 'flipTop');
|
482 |
+
var within = data.within,
|
483 |
+
withinOffset = within.offset.top + within.scrollTop,
|
484 |
+
outerHeight = within.height,
|
485 |
+
offsetTop = within.isWindow ? within.scrollTop : within.offset.top,
|
486 |
+
collisionPosTop = position.top - data.collisionPosition.marginTop,
|
487 |
+
overTop = collisionPosTop - offsetTop,
|
488 |
+
overBottom = collisionPosTop + data.collisionHeight - outerHeight - offsetTop,
|
489 |
+
top = data.my[1] === "top",
|
490 |
+
myOffset = top ?
|
491 |
+
-data.elemHeight :
|
492 |
+
data.my[1] === "bottom" ?
|
493 |
+
data.elemHeight :
|
494 |
+
0,
|
495 |
+
atOffset = data.at[1] === "top" ?
|
496 |
+
data.targetHeight :
|
497 |
+
data.at[1] === "bottom" ?
|
498 |
+
-data.targetHeight :
|
499 |
+
0,
|
500 |
+
offset = -2 * data.offset[1],
|
501 |
+
newOverTop,
|
502 |
+
newOverBottom;
|
503 |
+
if (overTop < 0) {
|
504 |
+
newOverBottom = position.top + myOffset + atOffset + offset + data.collisionHeight -
|
505 |
+
outerHeight - withinOffset;
|
506 |
+
if (newOverBottom < 0 || newOverBottom < abs(overTop)) {
|
507 |
+
position.top += myOffset + atOffset + offset;
|
508 |
+
}
|
509 |
+
} else if (overBottom > 0) {
|
510 |
+
newOverTop = position.top - data.collisionPosition.marginTop + myOffset + atOffset +
|
511 |
+
offset - offsetTop;
|
512 |
+
if (newOverTop > 0 || abs(newOverTop) < overBottom) {
|
513 |
+
position.top += myOffset + atOffset + offset;
|
514 |
+
}
|
515 |
}
|
516 |
+
$.ui.pos._trigger(position, data, 'posCollided', 'flipTop');
|
517 |
}
|
|
|
518 |
},
|
519 |
+
flipfit: {
|
520 |
+
left: function() {
|
521 |
+
$.ui.pos.flip.left.apply(this, arguments);
|
522 |
+
$.ui.pos.fit.left.apply(this, arguments);
|
523 |
+
},
|
524 |
+
top: function() {
|
525 |
+
$.ui.pos.flip.top.apply(this, arguments);
|
526 |
+
$.ui.pos.fit.top.apply(this, arguments);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
527 |
}
|
|
|
528 |
}
|
529 |
+
};
|
530 |
+
// fraction support test
|
531 |
+
(function() {
|
532 |
+
var testElement, testElementParent, testElementStyle, offsetLeft, i,
|
533 |
+
body = document.getElementsByTagName("body")[0],
|
534 |
+
div = document.createElement("div");
|
535 |
+
|
536 |
+
//Create a "fake body" for testing based on method used in jQuery.support
|
537 |
+
testElement = document.createElement(body ? "div" : "body");
|
538 |
+
testElementStyle = {
|
539 |
+
visibility: "hidden",
|
540 |
+
width: 0,
|
541 |
+
height: 0,
|
542 |
+
border: 0,
|
543 |
+
margin: 0,
|
544 |
+
background: "none"
|
545 |
+
};
|
546 |
+
if (body) {
|
547 |
+
$.extend(testElementStyle, {
|
548 |
+
position: "absolute",
|
549 |
+
left: "-1000px",
|
550 |
+
top: "-1000px"
|
551 |
+
});
|
552 |
}
|
553 |
+
for (i in testElementStyle) {
|
554 |
+
testElement.style[i] = testElementStyle[i];
|
555 |
+
}
|
556 |
+
testElement.appendChild(div);
|
557 |
+
testElementParent = body || document.documentElement;
|
558 |
+
testElementParent.insertBefore(testElement, testElementParent.firstChild);
|
559 |
|
560 |
+
div.style.cssText = "position: absolute; left: 10.7432222px;";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
561 |
|
562 |
+
offsetLeft = $(div).offset().left;
|
563 |
+
$.support.offsetFractions = offsetLeft > 10 && offsetLeft < 11;
|
564 |
|
565 |
+
testElement.innerHTML = "";
|
566 |
+
testElementParent.removeChild(testElement);
|
567 |
+
})();
|
568 |
|
|
|
|
|
569 |
})();
|
570 |
|
571 |
+
var position = $.ui.position;
|
572 |
+
|
573 |
+
|
574 |
+
|
575 |
+
|
576 |
+
}));
|
vendor/mickey-kay/better-font-awesome-library/lib/fontawesome-iconpicker/src/js/license.js
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*!
|
2 |
+
* Font Awesome Icon Picker
|
3 |
+
* https://farbelous.github.io/fontawesome-iconpicker/
|
4 |
+
*
|
5 |
+
* Originally written by (c) 2016 Javi Aguilar
|
6 |
+
* Licensed under the MIT License
|
7 |
+
* https://github.com/farbelous/fontawesome-iconpicker/blob/master/LICENSE
|
8 |
+
*
|
9 |
+
*/
|
10 |
+
// TODO: refactor project using ES6 imports, gulp, babel, webpack, etc
|
vendor/mickey-kay/better-font-awesome-library/lib/fontawesome-iconpicker/src/less/iconpicker.less
CHANGED
@@ -1,77 +1,78 @@
|
|
1 |
/*!
|
2 |
* Font Awesome Icon Picker
|
3 |
-
* https://
|
4 |
*
|
5 |
* Originally written by (c) 2016 Javi Aguilar
|
6 |
* Licensed under the MIT License
|
7 |
-
* https://github.com/
|
8 |
*
|
9 |
*/
|
10 |
@import 'variables.less';
|
11 |
@import 'popovers.less';
|
12 |
|
13 |
-
.iconpicker{
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
position: relative;
|
21 |
.clearfix();
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
margin:0;
|
27 |
-
|
|
|
|
|
|
|
|
|
|
|
28 |
|
29 |
-
|
30 |
-
position: relative;
|
31 |
-
.clearfix();
|
32 |
-
clear:both;
|
33 |
-
float:none;
|
34 |
-
padding:@base_spacing 0 0 @base_spacing;
|
35 |
-
background:#fff;
|
36 |
-
//margin:0 -@base_spacing -@base_spacing 0;
|
37 |
-
//width:@picker_width - (@base_spacing*2);
|
38 |
-
margin:0;
|
39 |
-
overflow:hidden;
|
40 |
-
overflow-y: auto;
|
41 |
-
min-height: @row_outer_height;
|
42 |
-
max-height: (@row_outer_height * @num_rows) + 1;
|
43 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
44 |
}
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
margin:
|
52 |
-
text-align:center;
|
53 |
-
cursor:pointer;
|
54 |
-
border-radius:3px;
|
55 |
-
font-size:@item_size;
|
56 |
-
.outer-border();
|
57 |
-
color:inherit;
|
58 |
-
&:hover:not(.iconpicker-selected){
|
59 |
-
background-color:@hover_bg;
|
60 |
-
}
|
61 |
-
&.iconpicker-selected{
|
62 |
-
box-shadow: none;
|
63 |
-
color:#fff;
|
64 |
-
}
|
65 |
-
/*&:nth-child(4n+4) {
|
66 |
-
margin-right: 0;
|
67 |
-
}
|
68 |
-
&:nth-last-child(-n+4) {
|
69 |
-
margin-bottom: 0;
|
70 |
-
}*/
|
71 |
-
//box-shadow:0;
|
72 |
}
|
|
|
|
|
|
|
|
|
|
|
73 |
}
|
74 |
|
75 |
-
.iconpicker-component{
|
76 |
-
|
77 |
-
}
|
1 |
/*!
|
2 |
* Font Awesome Icon Picker
|
3 |
+
* https://farbelous.github.io/fontawesome-iconpicker/
|
4 |
*
|
5 |
* Originally written by (c) 2016 Javi Aguilar
|
6 |
* Licensed under the MIT License
|
7 |
+
* https://github.com/farbelous/fontawesome-iconpicker/blob/master/LICENSE
|
8 |
*
|
9 |
*/
|
10 |
@import 'variables.less';
|
11 |
@import 'popovers.less';
|
12 |
|
13 |
+
.iconpicker {
|
14 |
+
* {
|
15 |
+
-webkit-box-sizing: content-box;
|
16 |
+
-moz-box-sizing: content-box;
|
17 |
+
box-sizing: content-box;
|
18 |
+
position: relative;
|
19 |
+
}
|
20 |
+
position: relative;
|
21 |
+
.clearfix();
|
22 |
+
text-align: left;
|
23 |
+
text-shadow: none;
|
24 |
+
line-height: 0;
|
25 |
+
display: block;
|
26 |
+
margin: 0;
|
27 |
+
overflow: hidden;
|
28 |
+
|
29 |
+
.iconpicker-items {
|
30 |
position: relative;
|
31 |
.clearfix();
|
32 |
+
clear: both;
|
33 |
+
float: none;
|
34 |
+
padding: @base_spacing 0 0 @base_spacing;
|
35 |
+
background: #fff;
|
36 |
+
//margin:0 -@base_spacing -@base_spacing 0;
|
37 |
+
//width:@picker_width - (@base_spacing*2);
|
38 |
+
margin: 0;
|
39 |
+
overflow: hidden;
|
40 |
+
overflow-y: auto;
|
41 |
+
min-height: @row_outer_height;
|
42 |
+
max-height: (@row_outer_height * @num_rows) + 1;
|
43 |
|
44 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
45 |
|
46 |
+
.iconpicker-item {
|
47 |
+
float: left;
|
48 |
+
width: @item_size;
|
49 |
+
height: @item_size;
|
50 |
+
padding: @base_spacing;
|
51 |
+
margin: 0 @base_spacing @base_spacing 0;
|
52 |
+
text-align: center;
|
53 |
+
cursor: pointer;
|
54 |
+
border-radius: 3px;
|
55 |
+
font-size: @item_size;
|
56 |
+
.outer-border();
|
57 |
+
color: inherit;
|
58 |
+
&:hover:not(.iconpicker-selected) {
|
59 |
+
background-color: @hover_bg;
|
60 |
}
|
61 |
+
&.iconpicker-selected {
|
62 |
+
box-shadow: none;
|
63 |
+
color: #fff;
|
64 |
+
background: #000;
|
65 |
+
}
|
66 |
+
/*&:nth-child(4n+4) {
|
67 |
+
margin-right: 0;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
68 |
}
|
69 |
+
&:nth-last-child(-n+4) {
|
70 |
+
margin-bottom: 0;
|
71 |
+
}*/
|
72 |
+
//box-shadow:0;
|
73 |
+
}
|
74 |
}
|
75 |
|
76 |
+
.iconpicker-component {
|
77 |
+
cursor: pointer;
|
78 |
+
}
|
vendor/mickey-kay/better-font-awesome-library/lib/fontawesome-iconpicker/src/less/popovers.less
CHANGED
@@ -1,104 +1,103 @@
|
|
1 |
-
/*
|
2 |
-
* Font Awesome Icon Picker
|
3 |
-
* https://itsjavi.com/fontawesome-iconpicker/
|
4 |
-
*
|
5 |
-
* Originally written by (c) 2016 Javi Aguilar
|
6 |
-
* Licensed under the MIT License
|
7 |
-
* https://github.com/itsjavi/fontawesome-iconpicker/blob/master/LICENSE
|
8 |
-
*
|
9 |
-
*/
|
10 |
-
|
11 |
//
|
12 |
// Popovers
|
13 |
// --------------------------------------------------
|
14 |
|
15 |
-
|
16 |
.iconpicker-popover.popover {
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
50 |
}
|
51 |
|
52 |
-
.dropdown-menu .iconpicker-popover.inline{
|
53 |
-
|
54 |
-
|
55 |
}
|
56 |
|
57 |
-
.dropdown-menu.iconpicker-container{
|
58 |
-
|
59 |
}
|
60 |
|
61 |
.iconpicker-popover.popover .popover-title {
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
}
|
74 |
-
|
75 |
-
|
|
|
76 |
}
|
77 |
|
78 |
.iconpicker-popover.popover .popover-content {
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
}
|
84 |
|
85 |
-
.iconpicker-popover .popover-footer{
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
}
|
103 |
|
104 |
// Arrows
|
@@ -106,131 +105,133 @@
|
|
106 |
// .arrow is outer, .arrow:after is inner
|
107 |
|
108 |
.iconpicker-popover.popover > .arrow {
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
}
|
|
|
119 |
.iconpicker-popover.popover > .arrow {
|
120 |
-
|
121 |
}
|
|
|
122 |
.iconpicker-popover.popover > .arrow:after {
|
123 |
-
|
124 |
-
|
125 |
}
|
126 |
|
127 |
.iconpicker-popover.popover {
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
|
235 |
-
|
236 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
//
|
2 |
// Popovers
|
3 |
// --------------------------------------------------
|
4 |
|
|
|
5 |
.iconpicker-popover.popover {
|
6 |
+
position: absolute;
|
7 |
+
top: 0;
|
8 |
+
left: 0;
|
9 |
+
display: none;
|
10 |
+
max-width: none;
|
11 |
+
padding: 1px;
|
12 |
+
text-align: left;
|
13 |
+
width: @picker_width + @num_cols;
|
14 |
+
background: @popover-title-bg;
|
15 |
+
z-index: 9;
|
16 |
+
|
17 |
+
// Offset the popover to account for the popover arrow
|
18 |
+
&.top, &.topLeftCorner, &.topLeft, &.topRight, &.topRightCorner {
|
19 |
+
margin-top: -@popover-arrow-width;
|
20 |
+
}
|
21 |
+
&.right, &.rightTop, &.rightBottom {
|
22 |
+
margin-left: @popover-arrow-width;
|
23 |
+
}
|
24 |
+
&.bottom, &.bottomRightCorner, &.bottomRight, &.bottomLeft, &.bottomLeftCorner {
|
25 |
+
margin-top: @popover-arrow-width;
|
26 |
+
}
|
27 |
+
&.left, &.leftBottom, &.leftTop {
|
28 |
+
margin-left: -@popover-arrow-width;
|
29 |
+
}
|
30 |
+
|
31 |
+
&.inline {
|
32 |
+
> .arrow {
|
33 |
+
display: none;
|
34 |
+
}
|
35 |
+
margin: 0 0 @base_spacing 0;
|
36 |
+
position: relative;
|
37 |
+
display: inline-block;
|
38 |
+
opacity: 1;
|
39 |
+
top: auto;
|
40 |
+
left: auto;
|
41 |
+
bottom: auto;
|
42 |
+
right: auto;
|
43 |
+
max-width: 100%;
|
44 |
+
box-shadow: none;
|
45 |
+
z-index: auto;
|
46 |
+
vertical-align: top;
|
47 |
+
}
|
48 |
}
|
49 |
|
50 |
+
.dropdown-menu .iconpicker-popover.inline {
|
51 |
+
margin: 0;
|
52 |
+
border: none;
|
53 |
}
|
54 |
|
55 |
+
.dropdown-menu.iconpicker-container {
|
56 |
+
padding: 0;
|
57 |
}
|
58 |
|
59 |
.iconpicker-popover.popover .popover-title {
|
60 |
+
//padding: 8px 14px;
|
61 |
+
//border-radius: 5px 5px 0 0;
|
62 |
+
padding: @base_spacing;
|
63 |
+
font-size: @title_size;
|
64 |
+
line-height: @title_size + 2px;
|
65 |
+
border-bottom: 1px solid darken(@popover-title-bg, 5%);
|
66 |
+
background-color: @popover-title-bg;
|
67 |
+
|
68 |
+
input[type=search].iconpicker-search {
|
69 |
+
margin: 0 0 2px 0;
|
70 |
+
}
|
71 |
}
|
72 |
+
|
73 |
+
.iconpicker-popover.popover .popover-title-text ~ input[type=search].iconpicker-search {
|
74 |
+
margin-top: @base_spacing;
|
75 |
}
|
76 |
|
77 |
.iconpicker-popover.popover .popover-content {
|
78 |
+
//padding: 9px 14px;
|
79 |
+
padding: 0px;
|
80 |
+
text-align: center;
|
81 |
+
//overflow:hidden;
|
82 |
}
|
83 |
|
84 |
+
.iconpicker-popover .popover-footer {
|
85 |
+
.clearfix();
|
86 |
+
float: none;
|
87 |
+
clear: both;
|
88 |
+
padding: @base_spacing;
|
89 |
+
text-align: right;
|
90 |
+
margin: 0;
|
91 |
+
border-top: 1px solid darken(@popover-title-bg, 5%);
|
92 |
+
background-color: @popover-title-bg;
|
93 |
+
.iconpicker-btn {
|
94 |
+
margin-left: 10px;
|
95 |
+
}
|
96 |
+
input[type=search].iconpicker-search {
|
97 |
+
/*width:auto;
|
98 |
+
float:left;*/
|
99 |
+
margin-bottom: @base_spacing;
|
100 |
+
}
|
101 |
}
|
102 |
|
103 |
// Arrows
|
105 |
// .arrow is outer, .arrow:after is inner
|
106 |
|
107 |
.iconpicker-popover.popover > .arrow {
|
108 |
+
&,
|
109 |
+
&:after {
|
110 |
+
position: absolute;
|
111 |
+
display: block;
|
112 |
+
width: 0;
|
113 |
+
height: 0;
|
114 |
+
border-color: transparent;
|
115 |
+
border-style: solid;
|
116 |
+
}
|
117 |
}
|
118 |
+
|
119 |
.iconpicker-popover.popover > .arrow {
|
120 |
+
border-width: @popover-arrow-outer-width;
|
121 |
}
|
122 |
+
|
123 |
.iconpicker-popover.popover > .arrow:after {
|
124 |
+
border-width: @popover-arrow-width;
|
125 |
+
content: "";
|
126 |
}
|
127 |
|
128 |
.iconpicker-popover.popover {
|
129 |
+
&.top, &.topLeft, &.topRight {
|
130 |
+
> .arrow {
|
131 |
+
left: 50%;
|
132 |
+
margin-left: -@popover-arrow-outer-width;
|
133 |
+
border-bottom-width: 0;
|
134 |
+
border-top-color: @popover-arrow-outer-fallback-color; // IE8 fallback
|
135 |
+
border-top-color: @popover-arrow-outer-color;
|
136 |
+
bottom: -@popover-arrow-outer-width;
|
137 |
+
&:after {
|
138 |
+
content: " ";
|
139 |
+
bottom: 1px;
|
140 |
+
margin-left: -@popover-arrow-width;
|
141 |
+
border-bottom-width: 0;
|
142 |
+
border-top-color: @popover-arrow-color;
|
143 |
+
}
|
144 |
+
}
|
145 |
+
}
|
146 |
+
&.topLeft > .arrow {
|
147 |
+
left: @arrow_position;
|
148 |
+
margin-left: 0;
|
149 |
+
}
|
150 |
+
&.topRight > .arrow {
|
151 |
+
left: auto;
|
152 |
+
right: @arrow_position;
|
153 |
+
margin-left: 0;
|
154 |
+
}
|
155 |
+
&.right, &.rightTop, &.rightBottom {
|
156 |
+
> .arrow {
|
157 |
+
top: 50%;
|
158 |
+
left: -@popover-arrow-outer-width;
|
159 |
+
margin-top: -@popover-arrow-outer-width;
|
160 |
+
border-left-width: 0;
|
161 |
+
border-right-color: @popover-arrow-outer-fallback-color; // IE8 fallback
|
162 |
+
border-right-color: @popover-arrow-outer-color;
|
163 |
+
&:after {
|
164 |
+
content: " ";
|
165 |
+
left: 1px;
|
166 |
+
bottom: -@popover-arrow-width;
|
167 |
+
border-left-width: 0;
|
168 |
+
border-right-color: @popover-arrow-color;
|
169 |
+
}
|
170 |
+
}
|
171 |
+
}
|
172 |
+
|
173 |
+
&.rightTop > .arrow {
|
174 |
+
top: auto;
|
175 |
+
bottom: @arrow_position;
|
176 |
+
margin-top: 0;
|
177 |
+
}
|
178 |
+
&.rightBottom > .arrow {
|
179 |
+
top: @arrow_position;
|
180 |
+
margin-top: 0;
|
181 |
+
}
|
182 |
+
|
183 |
+
&.bottom, &.bottomRight, &.bottomLeft {
|
184 |
+
> .arrow {
|
185 |
+
left: 50%;
|
186 |
+
margin-left: -@popover-arrow-outer-width;
|
187 |
+
border-top-width: 0;
|
188 |
+
border-bottom-color: @popover-arrow-outer-fallback-color; // IE8 fallback
|
189 |
+
border-bottom-color: @popover-arrow-outer-color;
|
190 |
+
top: -@popover-arrow-outer-width;
|
191 |
+
&:after {
|
192 |
+
content: " ";
|
193 |
+
top: 1px;
|
194 |
+
margin-left: -@popover-arrow-width;
|
195 |
+
border-top-width: 0;
|
196 |
+
border-bottom-color: @popover-arrow-color;
|
197 |
+
}
|
198 |
+
}
|
199 |
+
}
|
200 |
+
&.bottomLeft > .arrow {
|
201 |
+
left: @arrow_position;
|
202 |
+
margin-left: 0;
|
203 |
+
}
|
204 |
+
&.bottomRight > .arrow {
|
205 |
+
left: auto;
|
206 |
+
right: @arrow_position;
|
207 |
+
margin-left: 0;
|
208 |
+
}
|
209 |
+
|
210 |
+
&.left, &.leftBottom, &.leftTop {
|
211 |
+
> .arrow {
|
212 |
+
top: 50%;
|
213 |
+
right: -@popover-arrow-outer-width;
|
214 |
+
margin-top: -@popover-arrow-outer-width;
|
215 |
+
border-right-width: 0;
|
216 |
+
border-left-color: @popover-arrow-outer-fallback-color; // IE8 fallback
|
217 |
+
border-left-color: @popover-arrow-outer-color;
|
218 |
+
&:after {
|
219 |
+
content: " ";
|
220 |
+
right: 1px;
|
221 |
+
border-right-width: 0;
|
222 |
+
border-left-color: @popover-arrow-color;
|
223 |
+
bottom: -@popover-arrow-width;
|
224 |
+
}
|
225 |
+
}
|
226 |
+
}
|
227 |
+
|
228 |
+
&.leftBottom > .arrow {
|
229 |
+
top: @arrow_position;
|
230 |
+
margin-top: 0;
|
231 |
+
}
|
232 |
+
&.leftTop > .arrow {
|
233 |
+
top: auto;
|
234 |
+
bottom: @arrow_position;
|
235 |
+
margin-top: 0;
|
236 |
+
}
|
237 |
}
|
vendor/mickey-kay/better-font-awesome-library/lib/fontawesome-iconpicker/src/less/variables.less
CHANGED
@@ -1,20 +1,11 @@
|
|
1 |
-
/*
|
2 |
-
* Font Awesome Icon Picker
|
3 |
-
* https://itsjavi.com/fontawesome-iconpicker/
|
4 |
-
*
|
5 |
-
* Originally written by (c) 2016 Javi Aguilar
|
6 |
-
* Licensed under the MIT License
|
7 |
-
* https://github.com/itsjavi/fontawesome-iconpicker/blob/master/LICENSE
|
8 |
-
*
|
9 |
-
*/
|
10 |
-
|
11 |
// Iconpicker variables:
|
12 |
-
@item_size:14px;
|
13 |
-
@hover_bg
|
14 |
@num_cols: 4;
|
15 |
@num_rows: 5;
|
16 |
@base_spacing: 12px;
|
17 |
-
@
|
|
|
18 |
@row_outer_height: (@item_size + (@base_spacing * 3)) - 1px;
|
19 |
@title_size: (@base_spacing + @item_size) / 2;
|
20 |
@border_color: #ddd;
|
@@ -25,29 +16,28 @@
|
|
25 |
//##
|
26 |
|
27 |
//** Popover body background color
|
28 |
-
@popover-bg:
|
29 |
//** Popover maximum width
|
30 |
-
@popover-max-width:
|
31 |
//** Popover border color
|
32 |
-
@popover-border-color:
|
33 |
//** Popover fallback border color
|
34 |
-
@popover-fallback-border-color:
|
35 |
|
36 |
//** Popover title background color
|
37 |
-
@popover-title-bg:
|
38 |
|
39 |
//** Popover arrow width
|
40 |
-
@popover-arrow-width:
|
41 |
//** Popover arrow color
|
42 |
-
@popover-arrow-color:
|
43 |
|
44 |
//** Popover outer arrow width
|
45 |
-
@popover-arrow-outer-width:
|
46 |
//** Popover outer arrow color
|
47 |
-
@popover-arrow-outer-color:
|
48 |
//** Popover outer arrow fallback color
|
49 |
-
@popover-arrow-outer-fallback-color:
|
50 |
-
|
51 |
|
52 |
// Clearfix
|
53 |
//
|
@@ -62,53 +52,50 @@
|
|
62 |
// Source: http://nicolasgallagher.com/micro-clearfix-hack/
|
63 |
|
64 |
.clearfix() {
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
}
|
74 |
|
75 |
-
.outer-border(){
|
76 |
-
|
77 |
}
|
78 |
|
79 |
-
|
80 |
//
|
81 |
// Other Bootstrap Variables:
|
82 |
// --------------------------------------------------
|
83 |
|
84 |
-
|
85 |
//== Colors
|
86 |
//
|
87 |
//## Gray and brand colors for use across Bootstrap.
|
88 |
|
89 |
-
@gray-darker:
|
90 |
-
@gray-dark:
|
91 |
-
@gray:
|
92 |
-
@gray-light:
|
93 |
-
@gray-lighter:
|
94 |
-
|
95 |
-
@brand-primary: #428bca;
|
96 |
-
@brand-success: #5cb85c;
|
97 |
-
@brand-info: #5bc0de;
|
98 |
-
@brand-warning: #f0ad4e;
|
99 |
-
@brand-danger: #d9534f;
|
100 |
|
|
|
|
|
|
|
|
|
|
|
101 |
|
102 |
//== Scaffolding
|
103 |
//
|
104 |
// ## Settings for some of the most global styles.
|
105 |
|
106 |
//** Background color for `<body>`.
|
107 |
-
@body-bg:
|
108 |
//** Global text color on `<body>`.
|
109 |
-
@text-color:
|
110 |
|
111 |
//** Global textual link color.
|
112 |
-
@link-color:
|
113 |
//** Link hover color set via `darken()` function.
|
114 |
-
@link-hover-color:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
// Iconpicker variables:
|
2 |
+
@item_size: 14px;
|
3 |
+
@hover_bg: #eee;
|
4 |
@num_cols: 4;
|
5 |
@num_rows: 5;
|
6 |
@base_spacing: 12px;
|
7 |
+
@scrollbar_compensation: @base_spacing + 6px;
|
8 |
+
@picker_width: (@item_size * @num_cols) + (@num_cols * @base_spacing * (@num_cols - 1)) + @base_spacing + @scrollbar_compensation;
|
9 |
@row_outer_height: (@item_size + (@base_spacing * 3)) - 1px;
|
10 |
@title_size: (@base_spacing + @item_size) / 2;
|
11 |
@border_color: #ddd;
|
16 |
//##
|
17 |
|
18 |
//** Popover body background color
|
19 |
+
@popover-bg: #fff;
|
20 |
//** Popover maximum width
|
21 |
+
@popover-max-width: 276px;
|
22 |
//** Popover border color
|
23 |
+
@popover-border-color: rgba(0, 0, 0, .2);
|
24 |
//** Popover fallback border color
|
25 |
+
@popover-fallback-border-color: #ccc;
|
26 |
|
27 |
//** Popover title background color
|
28 |
+
@popover-title-bg: darken(@popover-bg, 3%);
|
29 |
|
30 |
//** Popover arrow width
|
31 |
+
@popover-arrow-width: 10px;
|
32 |
//** Popover arrow color
|
33 |
+
@popover-arrow-color: #fff;
|
34 |
|
35 |
//** Popover outer arrow width
|
36 |
+
@popover-arrow-outer-width: (@popover-arrow-width + 1);
|
37 |
//** Popover outer arrow color
|
38 |
+
@popover-arrow-outer-color: fadein(@popover-border-color, 5%);
|
39 |
//** Popover outer arrow fallback color
|
40 |
+
@popover-arrow-outer-fallback-color: darken(@popover-fallback-border-color, 20%);
|
|
|
41 |
|
42 |
// Clearfix
|
43 |
//
|
52 |
// Source: http://nicolasgallagher.com/micro-clearfix-hack/
|
53 |
|
54 |
.clearfix() {
|
55 |
+
&:before,
|
56 |
+
&:after {
|
57 |
+
content: " "; // 1
|
58 |
+
display: table; // 2
|
59 |
+
}
|
60 |
+
&:after {
|
61 |
+
clear: both;
|
62 |
+
}
|
63 |
}
|
64 |
|
65 |
+
.outer-border() {
|
66 |
+
box-shadow: 0 0 0 1px @border_color;
|
67 |
}
|
68 |
|
|
|
69 |
//
|
70 |
// Other Bootstrap Variables:
|
71 |
// --------------------------------------------------
|
72 |
|
|
|
73 |
//== Colors
|
74 |
//
|
75 |
//## Gray and brand colors for use across Bootstrap.
|
76 |
|
77 |
+
@gray-darker: lighten(#000, 13.5%); // #222
|
78 |
+
@gray-dark: lighten(#000, 20%); // #333
|
79 |
+
@gray: lighten(#000, 33.5%); // #555
|
80 |
+
@gray-light: lighten(#000, 60%); // #999
|
81 |
+
@gray-lighter: lighten(#000, 93.5%); // #eee
|
|
|
|
|
|
|
|
|
|
|
|
|
82 |
|
83 |
+
@brand-primary: #428bca;
|
84 |
+
@brand-success: #5cb85c;
|
85 |
+
@brand-info: #5bc0de;
|
86 |
+
@brand-warning: #f0ad4e;
|
87 |
+
@brand-danger: #d9534f;
|
88 |
|
89 |
//== Scaffolding
|
90 |
//
|
91 |
// ## Settings for some of the most global styles.
|
92 |
|
93 |
//** Background color for `<body>`.
|
94 |
+
@body-bg: #fff;
|
95 |
//** Global text color on `<body>`.
|
96 |
+
@text-color: @gray-dark;
|
97 |
|
98 |
//** Global textual link color.
|
99 |
+
@link-color: @brand-primary;
|
100 |
//** Link hover color set via `darken()` function.
|
101 |
+
@link-hover-color: darken(@link-color, 15%);
|
vendor/mickey-kay/better-font-awesome-library/package.json
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
{
|
2 |
"name": "better-font-awesome-library",
|
3 |
"description": "Better Font Awesome Library",
|
4 |
-
"version": "
|
5 |
"main": " ",
|
6 |
"devDependencies": {
|
7 |
"font-awesome": "4.7.0",
|
8 |
-
"fontawesome-iconpicker": "
|
9 |
"grunt": "^1.0.1",
|
10 |
"grunt-contrib-copy": "^1.0.0",
|
11 |
"load-grunt-tasks": "^3.5.2"
|
1 |
{
|
2 |
"name": "better-font-awesome-library",
|
3 |
"description": "Better Font Awesome Library",
|
4 |
+
"version": "2.0.0-beta",
|
5 |
"main": " ",
|
6 |
"devDependencies": {
|
7 |
"font-awesome": "4.7.0",
|
8 |
+
"fontawesome-iconpicker": "3.0.0",
|
9 |
"grunt": "^1.0.1",
|
10 |
"grunt-contrib-copy": "^1.0.0",
|
11 |
"load-grunt-tasks": "^3.5.2"
|
vendor/mickey-kay/better-font-awesome-library/vendor/autoload.php
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
// autoload.php @generated by Composer
|
4 |
+
|
5 |
+
require_once __DIR__ . '/composer/autoload_real.php';
|
6 |
+
|
7 |
+
return ComposerAutoloaderInitab4657d25d7e31c0f5004a96fe7d39fe::getLoader();
|
vendor/mickey-kay/better-font-awesome-library/vendor/composer/ClassLoader.php
ADDED
@@ -0,0 +1,445 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/*
|
4 |
+
* This file is part of Composer.
|
5 |
+
*
|
6 |
+
* (c) Nils Adermann <naderman@naderman.de>
|
7 |
+
* Jordi Boggiano <j.boggiano@seld.be>
|
8 |
+
*
|
9 |
+
* For the full copyright and license information, please view the LICENSE
|
10 |
+
* file that was distributed with this source code.
|
11 |
+
*/
|
12 |
+
|
13 |
+
namespace Composer\Autoload;
|
14 |
+
|
15 |
+
/**
|
16 |
+
* ClassLoader implements a PSR-0, PSR-4 and classmap class loader.
|
17 |
+
*
|
18 |
+
* $loader = new \Composer\Autoload\ClassLoader();
|
19 |
+
*
|
20 |
+
* // register classes with namespaces
|
21 |
+
* $loader->add('Symfony\Component', __DIR__.'/component');
|
22 |
+
* $loader->add('Symfony', __DIR__.'/framework');
|
23 |
+
*
|
24 |
+
* // activate the autoloader
|
25 |
+
* $loader->register();
|
26 |
+
*
|
27 |
+
* // to enable searching the include path (eg. for PEAR packages)
|
28 |
+
* $loader->setUseIncludePath(true);
|
29 |
+
*
|
30 |
+
* In this example, if you try to use a class in the Symfony\Component
|
31 |
+
* namespace or one of its children (Symfony\Component\Console for instance),
|
32 |
+
* the autoloader will first look for the class under the component/
|
33 |
+
* directory, and it will then fallback to the framework/ directory if not
|
34 |
+
* found before giving up.
|
35 |
+
*
|
36 |
+
* This class is loosely based on the Symfony UniversalClassLoader.
|
37 |
+
*
|
38 |
+
* @author Fabien Potencier <fabien@symfony.com>
|
39 |
+
* @author Jordi Boggiano <j.boggiano@seld.be>
|
40 |
+
* @see http://www.php-fig.org/psr/psr-0/
|
41 |
+
* @see http://www.php-fig.org/psr/psr-4/
|
42 |
+
*/
|
43 |
+
class ClassLoader
|
44 |
+
{
|
45 |
+
// PSR-4
|
46 |
+
private $prefixLengthsPsr4 = array();
|
47 |
+
private $prefixDirsPsr4 = array();
|
48 |
+
private $fallbackDirsPsr4 = array();
|
49 |
+
|
50 |
+
// PSR-0
|
51 |
+
private $prefixesPsr0 = array();
|
52 |
+
private $fallbackDirsPsr0 = array();
|
53 |
+
|
54 |
+
private $useIncludePath = false;
|
55 |
+
private $classMap = array();
|
56 |
+
private $classMapAuthoritative = false;
|
57 |
+
private $missingClasses = array();
|
58 |
+
private $apcuPrefix;
|
59 |
+
|
60 |
+
public function getPrefixes()
|
61 |
+
{
|
62 |
+
if (!empty($this->prefixesPsr0)) {
|
63 |
+
return call_user_func_array('array_merge', $this->prefixesPsr0);
|
64 |
+
}
|
65 |
+
|
66 |
+
return array();
|
67 |
+
}
|
68 |
+
|
69 |
+
public function getPrefixesPsr4()
|
70 |
+
{
|
71 |
+
return $this->prefixDirsPsr4;
|
72 |
+
}
|
73 |
+
|
74 |
+
public function getFallbackDirs()
|
75 |
+
{
|
76 |
+
return $this->fallbackDirsPsr0;
|
77 |
+
}
|
78 |
+
|
79 |
+
public function getFallbackDirsPsr4()
|
80 |
+
{
|
81 |
+
return $this->fallbackDirsPsr4;
|
82 |
+
}
|
83 |
+
|
84 |
+
public function getClassMap()
|
85 |
+
{
|
86 |
+
return $this->classMap;
|
87 |
+
}
|
88 |
+
|
89 |
+
/**
|
90 |
+
* @param array $classMap Class to filename map
|
91 |
+
*/
|
92 |
+
public function addClassMap(array $classMap)
|
93 |
+
{
|
94 |
+
if ($this->classMap) {
|
95 |
+
$this->classMap = array_merge($this->classMap, $classMap);
|
96 |
+
} else {
|
97 |
+
$this->classMap = $classMap;
|
98 |
+
}
|
99 |
+
}
|
100 |
+
|
101 |
+
/**
|
102 |
+
* Registers a set of PSR-0 directories for a given prefix, either
|
103 |
+
* appending or prepending to the ones previously set for this prefix.
|
104 |
+
*
|
105 |
+
* @param string $prefix The prefix
|
106 |
+
* @param array|string $paths The PSR-0 root directories
|
107 |
+
* @param bool $prepend Whether to prepend the directories
|
108 |
+
*/
|
109 |
+
public function add($prefix, $paths, $prepend = false)
|
110 |
+
{
|
111 |
+
if (!$prefix) {
|
112 |
+
if ($prepend) {
|
113 |
+
$this->fallbackDirsPsr0 = array_merge(
|
114 |
+
(array) $paths,
|
115 |
+
$this->fallbackDirsPsr0
|
116 |
+
);
|
117 |
+
} else {
|
118 |
+
$this->fallbackDirsPsr0 = array_merge(
|
119 |
+
$this->fallbackDirsPsr0,
|
120 |
+
(array) $paths
|
121 |
+
);
|
122 |
+
}
|
123 |
+
|
124 |
+
return;
|
125 |
+
}
|
126 |
+
|
127 |
+
$first = $prefix[0];
|
128 |
+
if (!isset($this->prefixesPsr0[$first][$prefix])) {
|
129 |
+
$this->prefixesPsr0[$first][$prefix] = (array) $paths;
|
130 |
+
|
131 |
+
return;
|
132 |
+
}
|
133 |
+
if ($prepend) {
|
134 |
+
$this->prefixesPsr0[$first][$prefix] = array_merge(
|
135 |
+
(array) $paths,
|
136 |
+
$this->prefixesPsr0[$first][$prefix]
|
137 |
+
);
|
138 |
+
} else {
|
139 |
+
$this->prefixesPsr0[$first][$prefix] = array_merge(
|
140 |
+
$this->prefixesPsr0[$first][$prefix],
|
141 |
+
(array) $paths
|
142 |
+
);
|
143 |
+
}
|
144 |
+
}
|
145 |
+
|
146 |
+
/**
|
147 |
+
* Registers a set of PSR-4 directories for a given namespace, either
|
148 |
+
* appending or prepending to the ones previously set for this namespace.
|
149 |
+
*
|
150 |
+
* @param string $prefix The prefix/namespace, with trailing '\\'
|
151 |
+
* @param array|string $paths The PSR-4 base directories
|
152 |
+
* @param bool $prepend Whether to prepend the directories
|
153 |
+
*
|
154 |
+
* @throws \InvalidArgumentException
|
155 |
+
*/
|
156 |
+
public function addPsr4($prefix, $paths, $prepend = false)
|
157 |
+
{
|
158 |
+
if (!$prefix) {
|
159 |
+
// Register directories for the root namespace.
|
160 |
+
if ($prepend) {
|
161 |
+
$this->fallbackDirsPsr4 = array_merge(
|
162 |
+
(array) $paths,
|
163 |
+
$this->fallbackDirsPsr4
|
164 |
+
);
|
165 |
+
} else {
|
166 |
+
$this->fallbackDirsPsr4 = array_merge(
|
167 |
+
$this->fallbackDirsPsr4,
|
168 |
+
(array) $paths
|
169 |
+
);
|
170 |
+
}
|
171 |
+
} elseif (!isset($this->prefixDirsPsr4[$prefix])) {
|
172 |
+
// Register directories for a new namespace.
|
173 |
+
$length = strlen($prefix);
|
174 |
+
if ('\\' !== $prefix[$length - 1]) {
|
175 |
+
throw new \InvalidArgumentException("A non-empty PSR-4 prefix must end with a namespace separator.");
|
176 |
+
}
|
177 |
+
$this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length;
|
178 |
+
$this->prefixDirsPsr4[$prefix] = (array) $paths;
|
179 |
+
} elseif ($prepend) {
|
180 |
+
// Prepend directories for an already registered namespace.
|
181 |
+
$this->prefixDirsPsr4[$prefix] = array_merge(
|
182 |
+
(array) $paths,
|
183 |
+
$this->prefixDirsPsr4[$prefix]
|
184 |
+
);
|
185 |
+
} else {
|
186 |
+
// Append directories for an already registered namespace.
|
187 |
+
$this->prefixDirsPsr4[$prefix] = array_merge(
|
188 |
+
$this->prefixDirsPsr4[$prefix],
|
189 |
+
(array) $paths
|
190 |
+
);
|
191 |
+
}
|
192 |
+
}
|
193 |
+
|
194 |
+
/**
|
195 |
+
* Registers a set of PSR-0 directories for a given prefix,
|
196 |
+
* replacing any others previously set for this prefix.
|
197 |
+
*
|
198 |
+
* @param string $prefix The prefix
|
199 |
+
* @param array|string $paths The PSR-0 base directories
|
200 |
+
*/
|
201 |
+
public function set($prefix, $paths)
|
202 |
+
{
|
203 |
+
if (!$prefix) {
|
204 |
+
$this->fallbackDirsPsr0 = (array) $paths;
|
205 |
+
} else {
|
206 |
+
$this->prefixesPsr0[$prefix[0]][$prefix] = (array) $paths;
|
207 |
+
}
|
208 |
+
}
|
209 |
+
|
210 |
+
/**
|
211 |
+
* Registers a set of PSR-4 directories for a given namespace,
|
212 |
+
* replacing any others previously set for this namespace.
|
213 |
+
*
|
214 |
+
* @param string $prefix The prefix/namespace, with trailing '\\'
|
215 |
+
* @param array|string $paths The PSR-4 base directories
|
216 |
+
*
|
217 |
+
* @throws \InvalidArgumentException
|
218 |
+
*/
|
219 |
+
public function setPsr4($prefix, $paths)
|
220 |
+
{
|
221 |
+
if (!$prefix) {
|
222 |
+
$this->fallbackDirsPsr4 = (array) $paths;
|
223 |
+
} else {
|
224 |
+
$length = strlen($prefix);
|
225 |
+
if ('\\' !== $prefix[$length - 1]) {
|
226 |
+
throw new \InvalidArgumentException("A non-empty PSR-4 prefix must end with a namespace separator.");
|
227 |
+
}
|
228 |
+
$this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length;
|
229 |
+
$this->prefixDirsPsr4[$prefix] = (array) $paths;
|
230 |
+
}
|
231 |
+
}
|
232 |
+
|
233 |
+
/**
|
234 |
+
* Turns on searching the include path for class files.
|
235 |
+
*
|
236 |
+
* @param bool $useIncludePath
|
237 |
+
*/
|
238 |
+
public function setUseIncludePath($useIncludePath)
|
239 |
+
{
|
240 |
+
$this->useIncludePath = $useIncludePath;
|
241 |
+
}
|
242 |
+
|
243 |
+
/**
|
244 |
+
* Can be used to check if the autoloader uses the include path to check
|
245 |
+
* for classes.
|
246 |
+
*
|
247 |
+
* @return bool
|
248 |
+
*/
|
249 |
+
public function getUseIncludePath()
|
250 |
+
{
|
251 |
+
return $this->useIncludePath;
|
252 |
+
}
|
253 |
+
|
254 |
+
/**
|
255 |
+
* Turns off searching the prefix and fallback directories for classes
|
256 |
+
* that have not been registered with the class map.
|
257 |
+
*
|
258 |
+
* @param bool $classMapAuthoritative
|
259 |
+
*/
|
260 |
+
public function setClassMapAuthoritative($classMapAuthoritative)
|
261 |
+
{
|
262 |
+
$this->classMapAuthoritative = $classMapAuthoritative;
|
263 |
+
}
|
264 |
+
|
265 |
+
/**
|
266 |
+
* Should class lookup fail if not found in the current class map?
|
267 |
+
*
|
268 |
+
* @return bool
|
269 |
+
*/
|
270 |
+
public function isClassMapAuthoritative()
|
271 |
+
{
|
272 |
+
return $this->classMapAuthoritative;
|
273 |
+
}
|
274 |
+
|
275 |
+
/**
|
276 |
+
* APCu prefix to use to cache found/not-found classes, if the extension is enabled.
|
277 |
+
*
|
278 |
+
* @param string|null $apcuPrefix
|
279 |
+
*/
|
280 |
+
public function setApcuPrefix($apcuPrefix)
|
281 |
+
{
|
282 |
+
$this->apcuPrefix = function_exists('apcu_fetch') && ini_get('apc.enabled') ? $apcuPrefix : null;
|
283 |
+
}
|
284 |
+
|
285 |
+
/**
|
286 |
+
* The APCu prefix in use, or null if APCu caching is not enabled.
|
287 |
+
*
|
288 |
+
* @return string|null
|
289 |
+
*/
|
290 |
+
public function getApcuPrefix()
|
291 |
+
{
|
292 |
+
return $this->apcuPrefix;
|
293 |
+
}
|
294 |
+
|
295 |
+
/**
|
296 |
+
* Registers this instance as an autoloader.
|
297 |
+
*
|
298 |
+
* @param bool $prepend Whether to prepend the autoloader or not
|
299 |
+
*/
|
300 |
+
public function register($prepend = false)
|
301 |
+
{
|
302 |
+
spl_autoload_register(array($this, 'loadClass'), true, $prepend);
|
303 |
+
}
|
304 |
+
|
305 |
+
/**
|
306 |
+
* Unregisters this instance as an autoloader.
|
307 |
+
*/
|
308 |
+
public function unregister()
|
309 |
+
{
|
310 |
+
spl_autoload_unregister(array($this, 'loadClass'));
|
311 |
+
}
|
312 |
+
|
313 |
+
/**
|
314 |
+
* Loads the given class or interface.
|
315 |
+
*
|
316 |
+
* @param string $class The name of the class
|
317 |
+
* @return bool|null True if loaded, null otherwise
|
318 |
+
*/
|
319 |
+
public function loadClass($class)
|
320 |
+
{
|
321 |
+
if ($file = $this->findFile($class)) {
|
322 |
+
includeFile($file);
|
323 |
+
|
324 |
+
return true;
|
325 |
+
}
|
326 |
+
}
|
327 |
+
|
328 |
+
/**
|
329 |
+
* Finds the path to the file where the class is defined.
|
330 |
+
*
|
331 |
+
* @param string $class The name of the class
|
332 |
+
*
|
333 |
+
* @return string|false The path if found, false otherwise
|
334 |
+
*/
|
335 |
+
public function findFile($class)
|
336 |
+
{
|
337 |
+
// class map lookup
|
338 |
+
if (isset($this->classMap[$class])) {
|
339 |
+
return $this->classMap[$class];
|
340 |
+
}
|
341 |
+
if ($this->classMapAuthoritative || isset($this->missingClasses[$class])) {
|
342 |
+
return false;
|
343 |
+
}
|
344 |
+
if (null !== $this->apcuPrefix) {
|
345 |
+
$file = apcu_fetch($this->apcuPrefix.$class, $hit);
|
346 |
+
if ($hit) {
|
347 |
+
return $file;
|
348 |
+
}
|
349 |
+
}
|
350 |
+
|
351 |
+
$file = $this->findFileWithExtension($class, '.php');
|
352 |
+
|
353 |
+
// Search for Hack files if we are running on HHVM
|
354 |
+
if (false === $file && defined('HHVM_VERSION')) {
|
355 |
+
$file = $this->findFileWithExtension($class, '.hh');
|
356 |
+
}
|
357 |
+
|
358 |
+
if (null !== $this->apcuPrefix) {
|
359 |
+
apcu_add($this->apcuPrefix.$class, $file);
|
360 |
+
}
|
361 |
+
|
362 |
+
if (false === $file) {
|
363 |
+
// Remember that this class does not exist.
|
364 |
+
$this->missingClasses[$class] = true;
|
365 |
+
}
|
366 |
+
|
367 |
+
return $file;
|
368 |
+
}
|
369 |
+
|
370 |
+
private function findFileWithExtension($class, $ext)
|
371 |
+
{
|
372 |
+
// PSR-4 lookup
|
373 |
+
$logicalPathPsr4 = strtr($class, '\\', DIRECTORY_SEPARATOR) . $ext;
|
374 |
+
|
375 |
+
$first = $class[0];
|
376 |
+
if (isset($this->prefixLengthsPsr4[$first])) {
|
377 |
+
$subPath = $class;
|
378 |
+
while (false !== $lastPos = strrpos($subPath, '\\')) {
|
379 |
+
$subPath = substr($subPath, 0, $lastPos);
|
380 |
+
$search = $subPath.'\\';
|
381 |
+
if (isset($this->prefixDirsPsr4[$search])) {
|
382 |
+
foreach ($this->prefixDirsPsr4[$search] as $dir) {
|
383 |
+
$length = $this->prefixLengthsPsr4[$first][$search];
|
384 |
+
if (file_exists($file = $dir . DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $length))) {
|
385 |
+
return $file;
|
386 |
+
}
|
387 |
+
}
|
388 |
+
}
|
389 |
+
}
|
390 |
+
}
|
391 |
+
|
392 |
+
// PSR-4 fallback dirs
|
393 |
+
foreach ($this->fallbackDirsPsr4 as $dir) {
|
394 |
+
if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr4)) {
|
395 |
+
return $file;
|
396 |
+
}
|
397 |
+
}
|
398 |
+
|
399 |
+
// PSR-0 lookup
|
400 |
+
if (false !== $pos = strrpos($class, '\\')) {
|
401 |
+
// namespaced class name
|
402 |
+
$logicalPathPsr0 = substr($logicalPathPsr4, 0, $pos + 1)
|
403 |
+
. strtr(substr($logicalPathPsr4, $pos + 1), '_', DIRECTORY_SEPARATOR);
|
404 |
+
} else {
|
405 |
+
// PEAR-like class name
|
406 |
+
$logicalPathPsr0 = strtr($class, '_', DIRECTORY_SEPARATOR) . $ext;
|
407 |
+
}
|
408 |
+
|
409 |
+
if (isset($this->prefixesPsr0[$first])) {
|
410 |
+
foreach ($this->prefixesPsr0[$first] as $prefix => $dirs) {
|
411 |
+
if (0 === strpos($class, $prefix)) {
|
412 |
+
foreach ($dirs as $dir) {
|
413 |
+
if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) {
|
414 |
+
return $file;
|
415 |
+
}
|
416 |
+
}
|
417 |
+
}
|
418 |
+
}
|
419 |
+
}
|
420 |
+
|
421 |
+
// PSR-0 fallback dirs
|
422 |
+
foreach ($this->fallbackDirsPsr0 as $dir) {
|
423 |
+
if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) {
|
424 |
+
return $file;
|
425 |
+
}
|
426 |
+
}
|
427 |
+
|
428 |
+
// PSR-0 include paths.
|
429 |
+
if ($this->useIncludePath && $file = stream_resolve_include_path($logicalPathPsr0)) {
|
430 |
+
return $file;
|
431 |
+
}
|
432 |
+
|
433 |
+
return false;
|
434 |
+
}
|
435 |
+
}
|
436 |
+
|
437 |
+
/**
|
438 |
+
* Scope isolated include.
|
439 |
+
*
|
440 |
+
* Prevents access to $this/self from included files.
|
441 |
+
*/
|
442 |
+
function includeFile($file)
|
443 |
+
{
|
444 |
+
include $file;
|
445 |
+
}
|
vendor/mickey-kay/better-font-awesome-library/vendor/composer/LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
Copyright (c) Nils Adermann, Jordi Boggiano
|
3 |
+
|
4 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
5 |
+
of this software and associated documentation files (the "Software"), to deal
|
6 |
+
in the Software without restriction, including without limitation the rights
|
7 |
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
8 |
+
copies of the Software, and to permit persons to whom the Software is furnished
|
9 |
+
to do so, subject to the following conditions:
|
10 |
+
|
11 |
+
The above copyright notice and this permission notice shall be included in all
|
12 |
+
copies or substantial portions of the Software.
|
13 |
+
|
14 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
15 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
16 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
17 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
18 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
19 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
20 |
+
THE SOFTWARE.
|
21 |
+
|
vendor/mickey-kay/better-font-awesome-library/vendor/composer/autoload_classmap.php
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
// autoload_classmap.php @generated by Composer
|
4 |
+
|
5 |
+
$vendorDir = dirname(dirname(__FILE__));
|
6 |
+
$baseDir = dirname($vendorDir);
|
7 |
+
|
8 |
+
return array(
|
9 |
+
);
|
vendor/mickey-kay/better-font-awesome-library/vendor/composer/autoload_files.php
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
// autoload_files.php @generated by Composer
|
4 |
+
|
5 |
+
$vendorDir = dirname(dirname(__FILE__));
|
6 |
+
$baseDir = dirname($vendorDir);
|
7 |
+
|
8 |
+
return array(
|
9 |
+
'04c6c5c2f7095ccf6c481d3e53e1776f' => $vendorDir . '/mustangostang/spyc/Spyc.php',
|
10 |
+
);
|
vendor/mickey-kay/better-font-awesome-library/vendor/composer/autoload_namespaces.php
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
// autoload_namespaces.php @generated by Composer
|
4 |
+
|
5 |
+
$vendorDir = dirname(dirname(__FILE__));
|
6 |
+
$baseDir = dirname($vendorDir);
|
7 |
+
|
8 |
+
return array(
|
9 |
+
);
|
vendor/mickey-kay/better-font-awesome-library/vendor/composer/autoload_psr4.php
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
// autoload_psr4.php @generated by Composer
|
4 |
+
|
5 |
+
$vendorDir = dirname(dirname(__FILE__));
|
6 |
+
$baseDir = dirname($vendorDir);
|
7 |
+
|
8 |
+
return array(
|
9 |
+
);
|
vendor/mickey-kay/better-font-awesome-library/vendor/composer/autoload_real.php
ADDED
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
// autoload_real.php @generated by Composer
|
4 |
+
|
5 |
+
class ComposerAutoloaderInitab4657d25d7e31c0f5004a96fe7d39fe
|
6 |
+
{
|
7 |
+
private static $loader;
|
8 |
+
|
9 |
+
public static function loadClassLoader($class)
|
10 |
+
{
|
11 |
+
if ('Composer\Autoload\ClassLoader' === $class) {
|
12 |
+
require __DIR__ . '/ClassLoader.php';
|
13 |
+
}
|
14 |
+
}
|
15 |
+
|
16 |
+
public static function getLoader()
|
17 |
+
{
|
18 |
+
if (null !== self::$loader) {
|
19 |
+
return self::$loader;
|
20 |
+
}
|
21 |
+
|
22 |
+
spl_autoload_register(array('ComposerAutoloaderInitab4657d25d7e31c0f5004a96fe7d39fe', 'loadClassLoader'), true, true);
|
23 |
+
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
24 |
+
spl_autoload_unregister(array('ComposerAutoloaderInitab4657d25d7e31c0f5004a96fe7d39fe', 'loadClassLoader'));
|
25 |
+
|
26 |
+
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
27 |
+
if ($useStaticLoader) {
|
28 |
+
require_once __DIR__ . '/autoload_static.php';
|
29 |
+
|
30 |
+
call_user_func(\Composer\Autoload\ComposerStaticInitab4657d25d7e31c0f5004a96fe7d39fe::getInitializer($loader));
|
31 |
+
} else {
|
32 |
+
$map = require __DIR__ . '/autoload_namespaces.php';
|
33 |
+
foreach ($map as $namespace => $path) {
|
34 |
+
$loader->set($namespace, $path);
|
35 |
+
}
|
36 |
+
|
37 |
+
$map = require __DIR__ . '/autoload_psr4.php';
|
38 |
+
foreach ($map as $namespace => $path) {
|
39 |
+
$loader->setPsr4($namespace, $path);
|
40 |
+
}
|
41 |
+
|
42 |
+
$classMap = require __DIR__ . '/autoload_classmap.php';
|
43 |
+
if ($classMap) {
|
44 |
+
$loader->addClassMap($classMap);
|
45 |
+
}
|
46 |
+
}
|
47 |
+
|
48 |
+
$loader->register(true);
|
49 |
+
|
50 |
+
if ($useStaticLoader) {
|
51 |
+
$includeFiles = Composer\Autoload\ComposerStaticInitab4657d25d7e31c0f5004a96fe7d39fe::$files;
|
52 |
+
} else {
|
53 |
+
$includeFiles = require __DIR__ . '/autoload_files.php';
|
54 |
+
}
|
55 |
+
foreach ($includeFiles as $fileIdentifier => $file) {
|
56 |
+
composerRequireab4657d25d7e31c0f5004a96fe7d39fe($fileIdentifier, $file);
|
57 |
+
}
|
58 |
+
|
59 |
+
return $loader;
|
60 |
+
}
|
61 |
+
}
|
62 |
+
|
63 |
+
function composerRequireab4657d25d7e31c0f5004a96fe7d39fe($fileIdentifier, $file)
|
64 |
+
{
|
65 |
+
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
66 |
+
require $file;
|
67 |
+
|
68 |
+
$GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
|
69 |
+
}
|
70 |
+
}
|
vendor/mickey-kay/better-font-awesome-library/vendor/composer/autoload_static.php
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
// autoload_static.php @generated by Composer
|
4 |
+
|
5 |
+
namespace Composer\Autoload;
|
6 |
+
|
7 |
+
class ComposerStaticInitab4657d25d7e31c0f5004a96fe7d39fe
|
8 |
+
{
|
9 |
+
public static $files = array (
|
10 |
+
'04c6c5c2f7095ccf6c481d3e53e1776f' => __DIR__ . '/..' . '/mustangostang/spyc/Spyc.php',
|
11 |
+
);
|
12 |
+
|
13 |
+
public static function getInitializer(ClassLoader $loader)
|
14 |
+
{
|
15 |
+
return \Closure::bind(function () use ($loader) {
|
16 |
+
|
17 |
+
}, null, ClassLoader::class);
|
18 |
+
}
|
19 |
+
}
|
vendor/mickey-kay/better-font-awesome-library/vendor/composer/installed.json
ADDED
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[
|
2 |
+
{
|
3 |
+
"name": "mustangostang/spyc",
|
4 |
+
"version": "0.6.2",
|
5 |
+
"version_normalized": "0.6.2.0",
|
6 |
+
"source": {
|
7 |
+
"type": "git",
|
8 |
+
"url": "https://github.com/mustangostang/spyc.git",
|
9 |
+
"reference": "23c35ae854d835f2d7bcc3e3ad743d7e57a8c14d"
|
10 |
+
},
|
11 |
+
"dist": {
|
12 |
+
"type": "zip",
|
13 |
+
"url": "https://api.github.com/repos/mustangostang/spyc/zipball/23c35ae854d835f2d7bcc3e3ad743d7e57a8c14d",
|
14 |
+
"reference": "23c35ae854d835f2d7bcc3e3ad743d7e57a8c14d",
|
15 |
+
"shasum": ""
|
16 |
+
},
|
17 |
+
"require": {
|
18 |
+
"php": ">=5.3.1"
|
19 |
+
},
|
20 |
+
"require-dev": {
|
21 |
+
"phpunit/phpunit": "4.3.*@dev"
|
22 |
+
},
|
23 |
+
"time": "2017-02-24T16:06:33+00:00",
|
24 |
+
"type": "library",
|
25 |
+
"extra": {
|
26 |
+
"branch-alias": {
|
27 |
+
"dev-master": "0.5.x-dev"
|
28 |
+
}
|
29 |
+
},
|
30 |
+
"installation-source": "dist",
|
31 |
+
"autoload": {
|
32 |
+
"files": [
|
33 |
+
"Spyc.php"
|
34 |
+
]
|
35 |
+
},
|
36 |
+
"notification-url": "https://packagist.org/downloads/",
|
37 |
+
"license": [
|
38 |
+
"MIT"
|
39 |
+
],
|
40 |
+
"authors": [
|
41 |
+
{
|
42 |
+
"name": "mustangostang",
|
43 |
+
"email": "vlad.andersen@gmail.com"
|
44 |
+
}
|
45 |
+
],
|
46 |
+
"description": "A simple YAML loader/dumper class for PHP",
|
47 |
+
"homepage": "https://github.com/mustangostang/spyc/",
|
48 |
+
"keywords": [
|
49 |
+
"spyc",
|
50 |
+
"yaml",
|
51 |
+
"yml"
|
52 |
+
]
|
53 |
+
}
|
54 |
+
]
|
vendor/mickey-kay/better-font-awesome-library/vendor/mustangostang/spyc/COPYING
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
The MIT License
|
2 |
+
|
3 |
+
Copyright (c) 2011 Vladimir Andersen
|
4 |
+
|
5 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6 |
+
of this software and associated documentation files (the "Software"), to deal
|
7 |
+
in the Software without restriction, including without limitation the rights
|
8 |
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9 |
+
copies of the Software, and to permit persons to whom the Software is
|
10 |
+
furnished to do so, subject to the following conditions:
|
11 |
+
|
12 |
+
The above copyright notice and this permission notice shall be included in
|
13 |
+
all copies or substantial portions of the Software.
|
14 |
+
|
15 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21 |
+
THE SOFTWARE.
|
vendor/mickey-kay/better-font-awesome-library/vendor/mustangostang/spyc/README.md
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
**Spyc** is a YAML loader/dumper written in pure PHP. Given a YAML document, Spyc will return an array that
|
2 |
+
you can use however you see fit. Given an array, Spyc will return a string which contains a YAML document
|
3 |
+
built from your data.
|
4 |
+
|
5 |
+
**YAML** is an amazingly human friendly and strikingly versatile data serialization language which can be used
|
6 |
+
for log files, config files, custom protocols, the works. For more information, see http://www.yaml.org.
|
7 |
+
|
8 |
+
Spyc supports YAML 1.0 specification.
|
9 |
+
|
10 |
+
## Using Spyc
|
11 |
+
|
12 |
+
Using Spyc is trivial:
|
13 |
+
|
14 |
+
```
|
15 |
+
<?php
|
16 |
+
require_once "spyc.php";
|
17 |
+
$Data = Spyc::YAMLLoad('spyc.yaml');
|
18 |
+
```
|
19 |
+
|
20 |
+
or (if you prefer functional syntax)
|
21 |
+
|
22 |
+
```
|
23 |
+
<?php
|
24 |
+
require_once "spyc.php";
|
25 |
+
$Data = spyc_load_file('spyc.yaml');
|
26 |
+
```
|
27 |
+
|
28 |
+
## Donations, anyone?
|
29 |
+
|
30 |
+
If you find Spyc useful, I'm accepting Bitcoin donations (who doesn't these days?) at 193bEkLP7zMrNLZm9UdUet4puGD5mQiLai
|
vendor/mickey-kay/better-font-awesome-library/vendor/mustangostang/spyc/Spyc.php
ADDED
@@ -0,0 +1,1161 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Spyc -- A Simple PHP YAML Class
|
4 |
+
* @version 0.6.2
|
5 |
+
* @author Vlad Andersen <vlad.andersen@gmail.com>
|
6 |
+
* @author Chris Wanstrath <chris@ozmm.org>
|
7 |
+
* @link https://github.com/mustangostang/spyc/
|
8 |
+
* @copyright Copyright 2005-2006 Chris Wanstrath, 2006-2011 Vlad Andersen
|
9 |
+
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
10 |
+
* @package Spyc
|
11 |
+
*/
|
12 |
+
|
13 |
+
if (!function_exists('spyc_load')) {
|
14 |
+
/**
|
15 |
+
* Parses YAML to array.
|
16 |
+
* @param string $string YAML string.
|
17 |
+
* @return array
|
18 |
+
*/
|
19 |
+
function spyc_load ($string) {
|
20 |
+
return Spyc::YAMLLoadString($string);
|
21 |
+
}
|
22 |
+
}
|
23 |
+
|
24 |
+
if (!function_exists('spyc_load_file')) {
|
25 |
+
/**
|
26 |
+
* Parses YAML to array.
|
27 |
+
* @param string $file Path to YAML file.
|
28 |
+
* @return array
|
29 |
+
*/
|
30 |
+
function spyc_load_file ($file) {
|
31 |
+
return Spyc::YAMLLoad($file);
|
32 |
+
}
|
33 |
+
}
|
34 |
+
|
35 |
+
if (!function_exists('spyc_dump')) {
|
36 |
+
/**
|
37 |
+
* Dumps array to YAML.
|
38 |
+
* @param array $data Array.
|
39 |
+
* @return string
|
40 |
+
*/
|
41 |
+
function spyc_dump ($data) {
|
42 |
+
return Spyc::YAMLDump($data, false, false, true);
|
43 |
+
}
|
44 |
+
}
|
45 |
+
|
46 |
+
if (!class_exists('Spyc')) {
|
47 |
+
|
48 |
+
/**
|
49 |
+
* The Simple PHP YAML Class.
|
50 |
+
*
|
51 |
+
* This class can be used to read a YAML file and convert its contents
|
52 |
+
* into a PHP array. It currently supports a very limited subsection of
|
53 |
+
* the YAML spec.
|
54 |
+
*
|
55 |
+
* Usage:
|
56 |
+
* <code>
|
57 |
+
* $Spyc = new Spyc;
|
58 |
+
* $array = $Spyc->load($file);
|
59 |
+
* </code>
|
60 |
+
* or:
|
61 |
+
* <code>
|
62 |
+
* $array = Spyc::YAMLLoad($file);
|
63 |
+
* </code>
|
64 |
+
* or:
|
65 |
+
* <code>
|
66 |
+
* $array = spyc_load_file($file);
|
67 |
+
* </code>
|
68 |
+
* @package Spyc
|
69 |
+
*/
|
70 |
+
class Spyc {
|
71 |
+
|
72 |
+
// SETTINGS
|
73 |
+
|
74 |
+
const REMPTY = "\0\0\0\0\0";
|
75 |
+
|
76 |
+
/**
|
77 |
+
* Setting this to true will force YAMLDump to enclose any string value in
|
78 |
+
* quotes. False by default.
|
79 |
+
*
|
80 |
+
* @var bool
|
81 |
+
*/
|
82 |
+
public $setting_dump_force_quotes = false;
|
83 |
+
|
84 |
+
/**
|
85 |
+
* Setting this to true will forse YAMLLoad to use syck_load function when
|
86 |
+
* possible. False by default.
|
87 |
+
* @var bool
|
88 |
+
*/
|
89 |
+
public $setting_use_syck_is_possible = false;
|
90 |
+
|
91 |
+
|
92 |
+
|
93 |
+
/**#@+
|
94 |
+
* @access private
|
95 |
+
* @var mixed
|
96 |
+
*/
|
97 |
+
private $_dumpIndent;
|
98 |
+
private $_dumpWordWrap;
|
99 |
+
private $_containsGroupAnchor = false;
|
100 |
+
private $_containsGroupAlias = false;
|
101 |
+
private $path;
|
102 |
+
private $result;
|
103 |
+
private $LiteralPlaceHolder = '___YAML_Literal_Block___';
|
104 |
+
private $SavedGroups = array();
|
105 |
+
private $indent;
|
106 |
+
/**
|
107 |
+
* Path modifier that should be applied after adding current element.
|
108 |
+
* @var array
|
109 |
+
*/
|
110 |
+
private $delayedPath = array();
|
111 |
+
|
112 |
+
/**#@+
|
113 |
+
* @access public
|
114 |
+
* @var mixed
|
115 |
+
*/
|
116 |
+
public $_nodeId;
|
117 |
+
|
118 |
+
/**
|
119 |
+
* Load a valid YAML string to Spyc.
|
120 |
+
* @param string $input
|
121 |
+
* @return array
|
122 |
+
*/
|
123 |
+
public function load ($input) {
|
124 |
+
return $this->_loadString($input);
|
125 |
+
}
|
126 |
+
|
127 |
+
/**
|
128 |
+
* Load a valid YAML file to Spyc.
|
129 |
+
* @param string $file
|
130 |
+
* @return array
|
131 |
+
*/
|
132 |
+
public function loadFile ($file) {
|
133 |
+
return $this->_load($file);
|
134 |
+
}
|
135 |
+
|
136 |
+
/**
|
137 |
+
* Load YAML into a PHP array statically
|
138 |
+
*
|
139 |
+
* The load method, when supplied with a YAML stream (string or file),
|
140 |
+
* will do its best to convert YAML in a file into a PHP array. Pretty
|
141 |
+
* simple.
|
142 |
+
* Usage:
|
143 |
+
* <code>
|
144 |
+
* $array = Spyc::YAMLLoad('lucky.yaml');
|
145 |
+
* print_r($array);
|
146 |
+
* </code>
|
147 |
+
* @access public
|
148 |
+
* @return array
|
149 |
+
* @param string $input Path of YAML file or string containing YAML
|
150 |
+
*/
|
151 |
+
public static function YAMLLoad($input) {
|
152 |
+
$Spyc = new Spyc;
|
153 |
+
return $Spyc->_load($input);
|
154 |
+
}
|
155 |
+
|
156 |
+
/**
|
157 |
+
* Load a string of YAML into a PHP array statically
|
158 |
+
*
|
159 |
+
* The load method, when supplied with a YAML string, will do its best
|
160 |
+
* to convert YAML in a string into a PHP array. Pretty simple.
|
161 |
+
*
|
162 |
+
* Note: use this function if you don't want files from the file system
|
163 |
+
* loaded and processed as YAML. This is of interest to people concerned
|
164 |
+
* about security whose input is from a string.
|
165 |
+
*
|
166 |
+
* Usage:
|
167 |
+
* <code>
|
168 |
+
* $array = Spyc::YAMLLoadString("---\n0: hello world\n");
|
169 |
+
* print_r($array);
|
170 |
+
* </code>
|
171 |
+
* @access public
|
172 |
+
* @return array
|
173 |
+
* @param string $input String containing YAML
|
174 |
+
*/
|
175 |
+
public static function YAMLLoadString($input) {
|
176 |
+
$Spyc = new Spyc;
|
177 |
+
return $Spyc->_loadString($input);
|
178 |
+
}
|
179 |
+
|
180 |
+
/**
|
181 |
+
* Dump YAML from PHP array statically
|
182 |
+
*
|
183 |
+
* The dump method, when supplied with an array, will do its best
|
184 |
+
* to convert the array into friendly YAML. Pretty simple. Feel free to
|
185 |
+
* save the returned string as nothing.yaml and pass it around.
|
186 |
+
*
|
187 |
+
* Oh, and you can decide how big the indent is and what the wordwrap
|
188 |
+
* for folding is. Pretty cool -- just pass in 'false' for either if
|
189 |
+
* you want to use the default.
|
190 |
+
*
|
191 |
+
* Indent's default is 2 spaces, wordwrap's default is 40 characters. And
|
192 |
+
* you can turn off wordwrap by passing in 0.
|
193 |
+
*
|
194 |
+
* @access public
|
195 |
+
* @return string
|
196 |
+
* @param array|\stdClass $array PHP array
|
197 |
+
* @param int $indent Pass in false to use the default, which is 2
|
198 |
+
* @param int $wordwrap Pass in 0 for no wordwrap, false for default (40)
|
199 |
+
* @param bool $no_opening_dashes Do not start YAML file with "---\n"
|
200 |
+
*/
|
201 |
+
public static function YAMLDump($array, $indent = false, $wordwrap = false, $no_opening_dashes = false) {
|
202 |
+
$spyc = new Spyc;
|
203 |
+
return $spyc->dump($array, $indent, $wordwrap, $no_opening_dashes);
|
204 |
+
}
|
205 |
+
|
206 |
+
|
207 |
+
/**
|
208 |
+
* Dump PHP array to YAML
|
209 |
+
*
|
210 |
+
* The dump method, when supplied with an array, will do its best
|
211 |
+
* to convert the array into friendly YAML. Pretty simple. Feel free to
|
212 |
+
* save the returned string as tasteful.yaml and pass it around.
|
213 |
+
*
|
214 |
+
* Oh, and you can decide how big the indent is and what the wordwrap
|
215 |
+
* for folding is. Pretty cool -- just pass in 'false' for either if
|
216 |
+
* you want to use the default.
|
217 |
+
*
|
218 |
+
* Indent's default is 2 spaces, wordwrap's default is 40 characters. And
|
219 |
+
* you can turn off wordwrap by passing in 0.
|
220 |
+
*
|
221 |
+
* @access public
|
222 |
+
* @return string
|
223 |
+
* @param array $array PHP array
|
224 |
+
* @param int $indent Pass in false to use the default, which is 2
|
225 |
+
* @param int $wordwrap Pass in 0 for no wordwrap, false for default (40)
|
226 |
+
*/
|
227 |
+
public function dump($array,$indent = false,$wordwrap = false, $no_opening_dashes = false) {
|
228 |
+
// Dumps to some very clean YAML. We'll have to add some more features
|
229 |
+
// and options soon. And better support for folding.
|
230 |
+
|
231 |
+
// New features and options.
|
232 |
+
if ($indent === false or !is_numeric($indent)) {
|
233 |
+
$this->_dumpIndent = 2;
|
234 |
+
} else {
|
235 |
+
$this->_dumpIndent = $indent;
|
236 |
+
}
|
237 |
+
|
238 |
+
if ($wordwrap === false or !is_numeric($wordwrap)) {
|
239 |
+
$this->_dumpWordWrap = 40;
|
240 |
+
} else {
|
241 |
+
$this->_dumpWordWrap = $wordwrap;
|
242 |
+
}
|
243 |
+
|
244 |
+
// New YAML document
|
245 |
+
$string = "";
|
246 |
+
if (!$no_opening_dashes) $string = "---\n";
|
247 |
+
|
248 |
+
// Start at the base of the array and move through it.
|
249 |
+
if ($array) {
|
250 |
+
$array = (array)$array;
|
251 |
+
$previous_key = -1;
|
252 |
+
foreach ($array as $key => $value) {
|
253 |
+
if (!isset($first_key)) $first_key = $key;
|
254 |
+
$string .= $this->_yamlize($key,$value,0,$previous_key, $first_key, $array);
|
255 |
+
$previous_key = $key;
|
256 |
+
}
|
257 |
+
}
|
258 |
+
return $string;
|
259 |
+
}
|
260 |
+
|
261 |
+
/**
|
262 |
+
* Attempts to convert a key / value array item to YAML
|
263 |
+
* @access private
|
264 |
+
* @return string
|
265 |
+
* @param $key The name of the key
|
266 |
+
* @param $value The value of the item
|
267 |
+
* @param $indent The indent of the current node
|
268 |
+
*/
|
269 |
+
private function _yamlize($key,$value,$indent, $previous_key = -1, $first_key = 0, $source_array = null) {
|
270 |
+
if(is_object($value)) $value = (array)$value;
|
271 |
+
if (is_array($value)) {
|
272 |
+
if (empty ($value))
|
273 |
+
return $this->_dumpNode($key, array(), $indent, $previous_key, $first_key, $source_array);
|
274 |
+
// It has children. What to do?
|
275 |
+
// Make it the right kind of item
|
276 |
+
$string = $this->_dumpNode($key, self::REMPTY, $indent, $previous_key, $first_key, $source_array);
|
277 |
+
// Add the indent
|
278 |
+
$indent += $this->_dumpIndent;
|
279 |
+
// Yamlize the array
|
280 |
+
$string .= $this->_yamlizeArray($value,$indent);
|
281 |
+
} elseif (!is_array($value)) {
|
282 |
+
// It doesn't have children. Yip.
|
283 |
+
$string = $this->_dumpNode($key, $value, $indent, $previous_key, $first_key, $source_array);
|
284 |
+
}
|
285 |
+
return $string;
|
286 |
+
}
|
287 |
+
|
288 |
+
/**
|
289 |
+
* Attempts to convert an array to YAML
|
290 |
+
* @access private
|
291 |
+
* @return string
|
292 |
+
* @param $array The array you want to convert
|
293 |
+
* @param $indent The indent of the current level
|
294 |
+
*/
|
295 |
+
private function _yamlizeArray($array,$indent) {
|
296 |
+
if (is_array($array)) {
|
297 |
+
$string = '';
|
298 |
+
$previous_key = -1;
|
299 |
+
foreach ($array as $key => $value) {
|
300 |
+
if (!isset($first_key)) $first_key = $key;
|
301 |
+
$string .= $this->_yamlize($key, $value, $indent, $previous_key, $first_key, $array);
|
302 |
+
$previous_key = $key;
|
303 |
+
}
|
304 |
+
return $string;
|
305 |
+
} else {
|
306 |
+
return false;
|
307 |
+
}
|
308 |
+
}
|
309 |
+
|
310 |
+
/**
|
311 |
+
* Returns YAML from a key and a value
|
312 |
+
* @access private
|
313 |
+
* @return string
|
314 |
+
* @param $key The name of the key
|
315 |
+
* @param $value The value of the item
|
316 |
+
* @param $indent The indent of the current node
|
317 |
+
*/
|
318 |
+
private function _dumpNode($key, $value, $indent, $previous_key = -1, $first_key = 0, $source_array = null) {
|
319 |
+
// do some folding here, for blocks
|
320 |
+
if (is_string ($value) && ((strpos($value,"\n") !== false || strpos($value,": ") !== false || strpos($value,"- ") !== false ||
|
321 |
+
strpos($value,"*") !== false || strpos($value,"#") !== false || strpos($value,"<") !== false || strpos($value,">") !== false || strpos ($value, '%') !== false || strpos ($value, ' ') !== false ||
|
322 |
+
strpos($value,"[") !== false || strpos($value,"]") !== false || strpos($value,"{") !== false || strpos($value,"}") !== false) || strpos($value,"&") !== false || strpos($value, "'") !== false || strpos($value, "!") === 0 ||
|
323 |
+
substr ($value, -1, 1) == ':')
|
324 |
+
) {
|
325 |
+
$value = $this->_doLiteralBlock($value,$indent);
|
326 |
+
} else {
|
327 |
+
$value = $this->_doFolding($value,$indent);
|
328 |
+
}
|
329 |
+
|
330 |
+
if ($value === array()) $value = '[ ]';
|
331 |
+
if ($value === "") $value = '""';
|
332 |
+
if (self::isTranslationWord($value)) {
|
333 |
+
$value = $this->_doLiteralBlock($value, $indent);
|
334 |
+
}
|
335 |
+
if (trim ($value) != $value)
|
336 |
+
$value = $this->_doLiteralBlock($value,$indent);
|
337 |
+
|
338 |
+
if (is_bool($value)) {
|
339 |
+
$value = $value ? "true" : "false";
|
340 |
+
}
|
341 |
+
|
342 |
+
if ($value === null) $value = 'null';
|
343 |
+
if ($value === "'" . self::REMPTY . "'") $value = null;
|
344 |
+
|
345 |
+
$spaces = str_repeat(' ',$indent);
|
346 |
+
|
347 |
+
//if (is_int($key) && $key - 1 == $previous_key && $first_key===0) {
|
348 |
+
if (is_array ($source_array) && array_keys($source_array) === range(0, count($source_array) - 1)) {
|
349 |
+
// It's a sequence
|
350 |
+
$string = $spaces.'- '.$value."\n";
|
351 |
+
} else {
|
352 |
+
// if ($first_key===0) throw new Exception('Keys are all screwy. The first one was zero, now it\'s "'. $key .'"');
|
353 |
+
// It's mapped
|
354 |
+
if (strpos($key, ":") !== false || strpos($key, "#") !== false) { $key = '"' . $key . '"'; }
|
355 |
+
$string = rtrim ($spaces.$key.': '.$value)."\n";
|
356 |
+
}
|
357 |
+
return $string;
|
358 |
+
}
|
359 |
+
|
360 |
+
/**
|
361 |
+
* Creates a literal block for dumping
|
362 |
+
* @access private
|
363 |
+
* @return string
|
364 |
+
* @param $value
|
365 |
+
* @param $indent int The value of the indent
|
366 |
+
*/
|
367 |
+
private function _doLiteralBlock($value,$indent) {
|
368 |
+
if ($value === "\n") return '\n';
|
369 |
+
if (strpos($value, "\n") === false && strpos($value, "'") === false) {
|
370 |
+
return sprintf ("'%s'", $value);
|
371 |
+
}
|
372 |
+
if (strpos($value, "\n") === false && strpos($value, '"') === false) {
|
373 |
+
return sprintf ('"%s"', $value);
|
374 |
+
}
|
375 |
+
$exploded = explode("\n",$value);
|
376 |
+
$newValue = '|';
|
377 |
+
if (isset($exploded[0]) && ($exploded[0] == "|" || $exploded[0] == "|-" || $exploded[0] == ">")) {
|
378 |
+
$newValue = $exploded[0];
|
379 |
+
unset($exploded[0]);
|
380 |
+
}
|
381 |
+
$indent += $this->_dumpIndent;
|
382 |
+
$spaces = str_repeat(' ',$indent);
|
383 |
+
foreach ($exploded as $line) {
|
384 |
+
$line = trim($line);
|
385 |
+
if (strpos($line, '"') === 0 && strrpos($line, '"') == (strlen($line)-1) || strpos($line, "'") === 0 && strrpos($line, "'") == (strlen($line)-1)) {
|
386 |
+
$line = substr($line, 1, -1);
|
387 |
+
}
|
388 |
+
$newValue .= "\n" . $spaces . ($line);
|
389 |
+
}
|
390 |
+
return $newValue;
|
391 |
+
}
|
392 |
+
|
393 |
+
/**
|
394 |
+
* Folds a string of text, if necessary
|
395 |
+
* @access private
|
396 |
+
* @return string
|
397 |
+
* @param $value The string you wish to fold
|
398 |
+
*/
|
399 |
+
private function _doFolding($value,$indent) {
|
400 |
+
// Don't do anything if wordwrap is set to 0
|
401 |
+
|
402 |
+
if ($this->_dumpWordWrap !== 0 && is_string ($value) && strlen($value) > $this->_dumpWordWrap) {
|
403 |
+
$indent += $this->_dumpIndent;
|
404 |
+
$indent = str_repeat(' ',$indent);
|
405 |
+
$wrapped = wordwrap($value,$this->_dumpWordWrap,"\n$indent");
|
406 |
+
$value = ">\n".$indent.$wrapped;
|
407 |
+
} else {
|
408 |
+
if ($this->setting_dump_force_quotes && is_string ($value) && $value !== self::REMPTY)
|
409 |
+
$value = '"' . $value . '"';
|
410 |
+
if (is_numeric($value) && is_string($value))
|
411 |
+
$value = '"' . $value . '"';
|
412 |
+
}
|
413 |
+
|
414 |
+
|
415 |
+
return $value;
|
416 |
+
}
|
417 |
+
|
418 |
+
private function isTrueWord($value) {
|
419 |
+
$words = self::getTranslations(array('true', 'on', 'yes', 'y'));
|
420 |
+
return in_array($value, $words, true);
|
421 |
+
}
|
422 |
+
|
423 |
+
private function isFalseWord($value) {
|
424 |
+
$words = self::getTranslations(array('false', 'off', 'no', 'n'));
|
425 |
+
return in_array($value, $words, true);
|
426 |
+
}
|
427 |
+
|
428 |
+
private function isNullWord($value) {
|
429 |
+
$words = self::getTranslations(array('null', '~'));
|
430 |
+
return in_array($value, $words, true);
|
431 |
+
}
|
432 |
+
|
433 |
+
private function isTranslationWord($value) {
|
434 |
+
return (
|
435 |
+
self::isTrueWord($value) ||
|
436 |
+
self::isFalseWord($value) ||
|
437 |
+
self::isNullWord($value)
|
438 |
+
);
|
439 |
+
}
|
440 |
+
|
441 |
+
/**
|
442 |
+
* Coerce a string into a native type
|
443 |
+
* Reference: http://yaml.org/type/bool.html
|
444 |
+
* TODO: Use only words from the YAML spec.
|
445 |
+
* @access private
|
446 |
+
* @param $value The value to coerce
|
447 |
+
*/
|
448 |
+
private function coerceValue(&$value) {
|
449 |
+
if (self::isTrueWord($value)) {
|
450 |
+
$value = true;
|
451 |
+
} else if (self::isFalseWord($value)) {
|
452 |
+
$value = false;
|
453 |
+
} else if (self::isNullWord($value)) {
|
454 |
+
$value = null;
|
455 |
+
}
|
456 |
+
}
|
457 |
+
|
458 |
+
/**
|
459 |
+
* Given a set of words, perform the appropriate translations on them to
|
460 |
+
* match the YAML 1.1 specification for type coercing.
|
461 |
+
* @param $words The words to translate
|
462 |
+
* @access private
|
463 |
+
*/
|
464 |
+
private static function getTranslations(array $words) {
|
465 |
+
$result = array();
|
466 |
+
foreach ($words as $i) {
|
467 |
+
$result = array_merge($result, array(ucfirst($i), strtoupper($i), strtolower($i)));
|
468 |
+
}
|
469 |
+
return $result;
|
470 |
+
}
|
471 |
+
|
472 |
+
// LOADING FUNCTIONS
|
473 |
+
|
474 |
+
private function _load($input) {
|
475 |
+
$Source = $this->loadFromSource($input);
|
476 |
+
return $this->loadWithSource($Source);
|
477 |
+
}
|
478 |
+
|
479 |
+
private function _loadString($input) {
|
480 |
+
$Source = $this->loadFromString($input);
|
481 |
+
return $this->loadWithSource($Source);
|
482 |
+
}
|
483 |
+
|
484 |
+
private function loadWithSource($Source) {
|
485 |
+
if (empty ($Source)) return array();
|
486 |
+
if ($this->setting_use_syck_is_possible && function_exists ('syck_load')) {
|
487 |
+
$array = syck_load (implode ("\n", $Source));
|
488 |
+
return is_array($array) ? $array : array();
|
489 |
+
}
|
490 |
+
|
491 |
+
$this->path = array();
|
492 |
+
$this->result = array();
|
493 |
+
|
494 |
+
$cnt = count($Source);
|
495 |
+
for ($i = 0; $i < $cnt; $i++) {
|
496 |
+
$line = $Source[$i];
|
497 |
+
|
498 |
+
$this->indent = strlen($line) - strlen(ltrim($line));
|
499 |
+
$tempPath = $this->getParentPathByIndent($this->indent);
|
500 |
+
$line = self::stripIndent($line, $this->indent);
|
501 |
+
if (self::isComment($line)) continue;
|
502 |
+
if (self::isEmpty($line)) continue;
|
503 |
+
$this->path = $tempPath;
|
504 |
+
|
505 |
+
$literalBlockStyle = self::startsLiteralBlock($line);
|
506 |
+
if ($literalBlockStyle) {
|
507 |
+
$line = rtrim ($line, $literalBlockStyle . " \n");
|
508 |
+
$literalBlock = '';
|
509 |
+
$line .= ' '.$this->LiteralPlaceHolder;
|
510 |
+
$literal_block_indent = strlen($Source[$i+1]) - strlen(ltrim($Source[$i+1]));
|
511 |
+
while (++$i < $cnt && $this->literalBlockContinues($Source[$i], $this->indent)) {
|
512 |
+
$literalBlock = $this->addLiteralLine($literalBlock, $Source[$i], $literalBlockStyle, $literal_block_indent);
|
513 |
+
}
|
514 |
+
$i--;
|
515 |
+
}
|
516 |
+
|
517 |
+
// Strip out comments
|
518 |
+
if (strpos ($line, '#')) {
|
519 |
+
$line = preg_replace('/\s*#([^"\']+)$/','',$line);
|
520 |
+
}
|
521 |
+
|
522 |
+
while (++$i < $cnt && self::greedilyNeedNextLine($line)) {
|
523 |
+
$line = rtrim ($line, " \n\t\r") . ' ' . ltrim ($Source[$i], " \t");
|
524 |
+
}
|
525 |
+
$i--;
|
526 |
+
|
527 |
+
$lineArray = $this->_parseLine($line);
|
528 |
+
|
529 |
+
if ($literalBlockStyle)
|
530 |
+
$lineArray = $this->revertLiteralPlaceHolder ($lineArray, $literalBlock);
|
531 |
+
|
532 |
+
$this->addArray($lineArray, $this->indent);
|
533 |
+
|
534 |
+
foreach ($this->delayedPath as $indent => $delayedPath)
|
535 |
+
$this->path[$indent] = $delayedPath;
|
536 |
+
|
537 |
+
$this->delayedPath = array();
|
538 |
+
|
539 |
+
}
|
540 |
+
return $this->result;
|
541 |
+
}
|
542 |
+
|
543 |
+
private function loadFromSource ($input) {
|
544 |
+
if (!empty($input) && strpos($input, "\n") === false && file_exists($input))
|
545 |
+
$input = file_get_contents($input);
|
546 |
+
|
547 |
+
return $this->loadFromString($input);
|
548 |
+
}
|
549 |
+
|
550 |
+
private function loadFromString ($input) {
|
551 |
+
$lines = explode("\n",$input);
|
552 |
+
foreach ($lines as $k => $_) {
|
553 |
+
$lines[$k] = rtrim ($_, "\r");
|
554 |
+
}
|
555 |
+
return $lines;
|
556 |
+
}
|
557 |
+
|
558 |
+
/**
|
559 |
+
* Parses YAML code and returns an array for a node
|
560 |
+
* @access private
|
561 |
+
* @return array
|
562 |
+
* @param string $line A line from the YAML file
|
563 |
+
*/
|
564 |
+
private function _parseLine($line) {
|
565 |
+
if (!$line) return array();
|
566 |
+
$line = trim($line);
|
567 |
+
if (!$line) return array();
|
568 |
+
|
569 |
+
$array = array();
|
570 |
+
|
571 |
+
$group = $this->nodeContainsGroup($line);
|
572 |
+
if ($group) {
|
573 |
+
$this->addGroup($line, $group);
|
574 |
+
$line = $this->stripGroup ($line, $group);
|
575 |
+
}
|
576 |
+
|
577 |
+
if ($this->startsMappedSequence($line))
|
578 |
+
return $this->returnMappedSequence($line);
|
579 |
+
|
580 |
+
if ($this->startsMappedValue($line))
|
581 |
+
return $this->returnMappedValue($line);
|
582 |
+
|
583 |
+
if ($this->isArrayElement($line))
|
584 |
+
return $this->returnArrayElement($line);
|
585 |
+
|
586 |
+
if ($this->isPlainArray($line))
|
587 |
+
return $this->returnPlainArray($line);
|
588 |
+
|
589 |
+
|
590 |
+
return $this->returnKeyValuePair($line);
|
591 |
+
|
592 |
+
}
|
593 |
+
|
594 |
+
/**
|
595 |
+
* Finds the type of the passed value, returns the value as the new type.
|
596 |
+
* @access private
|
597 |
+
* @param string $value
|
598 |
+
* @return mixed
|
599 |
+
*/
|
600 |
+
private function _toType($value) {
|
601 |
+
if ($value === '') return "";
|
602 |
+
$first_character = $value[0];
|
603 |
+
$last_character = substr($value, -1, 1);
|
604 |
+
|
605 |
+
$is_quoted = false;
|
606 |
+
do {
|
607 |
+
if (!$value) break;
|
608 |
+
if ($first_character != '"' && $first_character != "'") break;
|
609 |
+
if ($last_character != '"' && $last_character != "'") break;
|
610 |
+
$is_quoted = true;
|
611 |
+
} while (0);
|
612 |
+
|
613 |
+
if ($is_quoted) {
|
614 |
+
$value = str_replace('\n', "\n", $value);
|
615 |
+
if ($first_character == "'")
|
616 |
+
return strtr(substr ($value, 1, -1), array ('\'\'' => '\'', '\\\''=> '\''));
|
617 |
+
return strtr(substr ($value, 1, -1), array ('\\"' => '"', '\\\''=> '\''));
|
618 |
+
}
|
619 |
+
|
620 |
+
if (strpos($value, ' #') !== false && !$is_quoted)
|
621 |
+
$value = preg_replace('/\s+#(.+)$/','',$value);
|
622 |
+
|
623 |
+
if ($first_character == '[' && $last_character == ']') {
|
624 |
+
// Take out strings sequences and mappings
|
625 |
+
$innerValue = trim(substr ($value, 1, -1));
|
626 |
+
if ($innerValue === '') return array();
|
627 |
+
$explode = $this->_inlineEscape($innerValue);
|
628 |
+
// Propagate value array
|
629 |
+
$value = array();
|
630 |
+
foreach ($explode as $v) {
|
631 |
+
$value[] = $this->_toType($v);
|
632 |
+
}
|
633 |
+
return $value;
|
634 |
+
}
|
635 |
+
|
636 |
+
if (strpos($value,': ')!==false && $first_character != '{') {
|
637 |
+
$array = explode(': ',$value);
|
638 |
+
$key = trim($array[0]);
|
639 |
+
array_shift($array);
|
640 |
+
$value = trim(implode(': ',$array));
|
641 |
+
$value = $this->_toType($value);
|
642 |
+
return array($key => $value);
|
643 |
+
}
|
644 |
+
|
645 |
+
if ($first_character == '{' && $last_character == '}') {
|
646 |
+
$innerValue = trim(substr ($value, 1, -1));
|
647 |
+
if ($innerValue === '') return array();
|
648 |
+
// Inline Mapping
|
649 |
+
// Take out strings sequences and mappings
|
650 |
+
$explode = $this->_inlineEscape($innerValue);
|
651 |
+
// Propagate value array
|
652 |
+
$array = array();
|
653 |
+
foreach ($explode as $v) {
|
654 |
+
$SubArr = $this->_toType($v);
|
655 |
+
if (empty($SubArr)) continue;
|
656 |
+
if (is_array ($SubArr)) {
|
657 |
+
$array[key($SubArr)] = $SubArr[key($SubArr)]; continue;
|
658 |
+
}
|
659 |
+
$array[] = $SubArr;
|
660 |
+
}
|
661 |
+
return $array;
|
662 |
+
}
|
663 |
+
|
664 |
+
if ($value == 'null' || $value == 'NULL' || $value == 'Null' || $value == '' || $value == '~') {
|
665 |
+
return null;
|
666 |
+
}
|
667 |
+
|
668 |
+
if ( is_numeric($value) && preg_match ('/^(-|)[1-9]+[0-9]*$/', $value) ){
|
669 |
+
$intvalue = (int)$value;
|
670 |
+
if ($intvalue != PHP_INT_MAX && $intvalue != ~PHP_INT_MAX)
|
671 |
+
$value = $intvalue;
|
672 |
+
return $value;
|
673 |
+
}
|
674 |
+
|
675 |
+
if ( is_string($value) && preg_match('/^0[xX][0-9a-fA-F]+$/', $value)) {
|
676 |
+
// Hexadecimal value.
|
677 |
+
return hexdec($value);
|
678 |
+
}
|
679 |
+
|
680 |
+
$this->coerceValue($value);
|
681 |
+
|
682 |
+
if (is_numeric($value)) {
|
683 |
+
if ($value === '0') return 0;
|
684 |
+
if (rtrim ($value, 0) === $value)
|
685 |
+
$value = (float)$value;
|
686 |
+
return $value;
|
687 |
+
}
|
688 |
+
|
689 |
+
return $value;
|
690 |
+
}
|
691 |
+
|
692 |
+
/**
|
693 |
+
* Used in inlines to check for more inlines or quoted strings
|
694 |
+
* @access private
|
695 |
+
* @return array
|
696 |
+
*/
|
697 |
+
private function _inlineEscape($inline) {
|
698 |
+
// There's gotta be a cleaner way to do this...
|
699 |
+
// While pure sequences seem to be nesting just fine,
|
700 |
+
// pure mappings and mappings with sequences inside can't go very
|
701 |
+
// deep. This needs to be fixed.
|
702 |
+
|
703 |
+
$seqs = array();
|
704 |
+
$maps = array();
|
705 |
+
$saved_strings = array();
|
706 |
+
$saved_empties = array();
|
707 |
+
|
708 |
+
// Check for empty strings
|
709 |
+
$regex = '/("")|(\'\')/';
|
710 |
+
if (preg_match_all($regex,$inline,$strings)) {
|
711 |
+
$saved_empties = $strings[0];
|
712 |
+
$inline = preg_replace($regex,'YAMLEmpty',$inline);
|
713 |
+
}
|
714 |
+
unset($regex);
|
715 |
+
|
716 |
+
// Check for strings
|
717 |
+
$regex = '/(?:(")|(?:\'))((?(1)[^"]+|[^\']+))(?(1)"|\')/';
|
718 |
+
if (preg_match_all($regex,$inline,$strings)) {
|
719 |
+
$saved_strings = $strings[0];
|
720 |
+
$inline = preg_replace($regex,'YAMLString',$inline);
|
721 |
+
}
|
722 |
+
unset($regex);
|
723 |
+
|
724 |
+
// echo $inline;
|
725 |
+
|
726 |
+
$i = 0;
|
727 |
+
do {
|
728 |
+
|
729 |
+
// Check for sequences
|
730 |
+
while (preg_match('/\[([^{}\[\]]+)\]/U',$inline,$matchseqs)) {
|
731 |
+
$seqs[] = $matchseqs[0];
|
732 |
+
$inline = preg_replace('/\[([^{}\[\]]+)\]/U', ('YAMLSeq' . (count($seqs) - 1) . 's'), $inline, 1);
|
733 |
+
}
|
734 |
+
|
735 |
+
// Check for mappings
|
736 |
+
while (preg_match('/{([^\[\]{}]+)}/U',$inline,$matchmaps)) {
|
737 |
+
$maps[] = $matchmaps[0];
|
738 |
+
$inline = preg_replace('/{([^\[\]{}]+)}/U', ('YAMLMap' . (count($maps) - 1) . 's'), $inline, 1);
|
739 |
+
}
|
740 |
+
|
741 |
+
if ($i++ >= 10) break;
|
742 |
+
|
743 |
+
} while (strpos ($inline, '[') !== false || strpos ($inline, '{') !== false);
|
744 |
+
|
745 |
+
$explode = explode(',',$inline);
|
746 |
+
$explode = array_map('trim', $explode);
|
747 |
+
$stringi = 0; $i = 0;
|
748 |
+
|
749 |
+
while (1) {
|
750 |
+
|
751 |
+
// Re-add the sequences
|
752 |
+
if (!empty($seqs)) {
|
753 |
+
foreach ($explode as $key => $value) {
|
754 |
+
if (strpos($value,'YAMLSeq') !== false) {
|
755 |
+
foreach ($seqs as $seqk => $seq) {
|
756 |
+
$explode[$key] = str_replace(('YAMLSeq'.$seqk.'s'),$seq,$value);
|
757 |
+
$value = $explode[$key];
|
758 |
+
}
|
759 |
+
}
|
760 |
+
}
|
761 |
+
}
|
762 |
+
|
763 |
+
// Re-add the mappings
|
764 |
+
if (!empty($maps)) {
|
765 |
+
foreach ($explode as $key => $value) {
|
766 |
+
if (strpos($value,'YAMLMap') !== false) {
|
767 |
+
foreach ($maps as $mapk => $map) {
|
768 |
+
$explode[$key] = str_replace(('YAMLMap'.$mapk.'s'), $map, $value);
|
769 |
+
$value = $explode[$key];
|
770 |
+
}
|
771 |
+
}
|
772 |
+
}
|
773 |
+
}
|
774 |
+
|
775 |
+
|
776 |
+
// Re-add the strings
|
777 |
+
if (!empty($saved_strings)) {
|
778 |
+
foreach ($explode as $key => $value) {
|
779 |
+
while (strpos($value,'YAMLString') !== false) {
|
780 |
+
$explode[$key] = preg_replace('/YAMLString/',$saved_strings[$stringi],$value, 1);
|
781 |
+
unset($saved_strings[$stringi]);
|
782 |
+
++$stringi;
|
783 |
+
$value = $explode[$key];
|
784 |
+
}
|
785 |
+
}
|
786 |
+
}
|
787 |
+
|
788 |
+
|
789 |
+
// Re-add the empties
|
790 |
+
if (!empty($saved_empties)) {
|
791 |
+
foreach ($explode as $key => $value) {
|
792 |
+
while (strpos($value,'YAMLEmpty') !== false) {
|
793 |
+
$explode[$key] = preg_replace('/YAMLEmpty/', '', $value, 1);
|
794 |
+
$value = $explode[$key];
|
795 |
+
}
|
796 |
+
}
|
797 |
+
}
|
798 |
+
|
799 |
+
$finished = true;
|
800 |
+
foreach ($explode as $key => $value) {
|
801 |
+
if (strpos($value,'YAMLSeq') !== false) {
|
802 |
+
$finished = false; break;
|
803 |
+
}
|
804 |
+
if (strpos($value,'YAMLMap') !== false) {
|
805 |
+
$finished = false; break;
|
806 |
+
}
|
807 |
+
if (strpos($value,'YAMLString') !== false) {
|
808 |
+
$finished = false; break;
|
809 |
+
}
|
810 |
+
if (strpos($value,'YAMLEmpty') !== false) {
|
811 |
+
$finished = false; break;
|
812 |
+
}
|
813 |
+
}
|
814 |
+
if ($finished) break;
|
815 |
+
|
816 |
+
$i++;
|
817 |
+
if ($i > 10)
|
818 |
+
break; // Prevent infinite loops.
|
819 |
+
}
|
820 |
+
|
821 |
+
|
822 |
+
return $explode;
|
823 |
+
}
|
824 |
+
|
825 |
+
private function literalBlockContinues ($line, $lineIndent) {
|
826 |
+
if (!trim($line)) return true;
|
827 |
+
if (strlen($line) - strlen(ltrim($line)) > $lineIndent) return true;
|
828 |
+
return false;
|
829 |
+
}
|
830 |
+
|
831 |
+
private function referenceContentsByAlias ($alias) {
|
832 |
+
do {
|
833 |
+
if (!isset($this->SavedGroups[$alias])) { echo "Bad group name: $alias."; break; }
|
834 |
+
$groupPath = $this->SavedGroups[$alias];
|
835 |
+
$value = $this->result;
|
836 |
+
foreach ($groupPath as $k) {
|
837 |
+
$value = $value[$k];
|
838 |
+
}
|
839 |
+
} while (false);
|
840 |
+
return $value;
|
841 |
+
}
|
842 |
+
|
843 |
+
private function addArrayInline ($array, $indent) {
|
844 |
+
$CommonGroupPath = $this->path;
|
845 |
+
if (empty ($array)) return false;
|
846 |
+
|
847 |
+
foreach ($array as $k => $_) {
|
848 |
+
$this->addArray(array($k => $_), $indent);
|
849 |
+
$this->path = $CommonGroupPath;
|
850 |
+
}
|
851 |
+
return true;
|
852 |
+
}
|
853 |
+
|
854 |
+
private function addArray ($incoming_data, $incoming_indent) {
|
855 |
+
|
856 |
+
// print_r ($incoming_data);
|
857 |
+
|
858 |
+
if (count ($incoming_data) > 1)
|
859 |
+
return $this->addArrayInline ($incoming_data, $incoming_indent);
|
860 |
+
|
861 |
+
$key = key ($incoming_data);
|
862 |
+
$value = isset($incoming_data[$key]) ? $incoming_data[$key] : null;
|
863 |
+
if ($key === '__!YAMLZero') $key = '0';
|
864 |
+
|
865 |
+
if ($incoming_indent == 0 && !$this->_containsGroupAlias && !$this->_containsGroupAnchor) { // Shortcut for root-level values.
|
866 |
+
if ($key || $key === '' || $key === '0') {
|
867 |
+
$this->result[$key] = $value;
|
868 |
+
} else {
|
869 |
+
$this->result[] = $value; end ($this->result); $key = key ($this->result);
|
870 |
+
}
|
871 |
+
$this->path[$incoming_indent] = $key;
|
872 |
+
return;
|
873 |
+
}
|
874 |
+
|
875 |
+
|
876 |
+
|
877 |
+
$history = array();
|
878 |
+
// Unfolding inner array tree.
|
879 |
+
$history[] = $_arr = $this->result;
|
880 |
+
foreach ($this->path as $k) {
|
881 |
+
$history[] = $_arr = $_arr[$k];
|
882 |
+
}
|
883 |
+
|
884 |
+
if ($this->_containsGroupAlias) {
|
885 |
+
$value = $this->referenceContentsByAlias($this->_containsGroupAlias);
|
886 |
+
$this->_containsGroupAlias = false;
|
887 |
+
}
|
888 |
+
|
889 |
+
|
890 |
+
// Adding string or numeric key to the innermost level or $this->arr.
|
891 |
+
if (is_string($key) && $key == '<<') {
|
892 |
+
if (!is_array ($_arr)) { $_arr = array (); }
|
893 |
+
|
894 |
+
$_arr = array_merge ($_arr, $value);
|
895 |
+
} else if ($key || $key === '' || $key === '0') {
|
896 |
+
if (!is_array ($_arr))
|
897 |
+
$_arr = array ($key=>$value);
|
898 |
+
else
|
899 |
+
$_arr[$key] = $value;
|
900 |
+
} else {
|
901 |
+
if (!is_array ($_arr)) { $_arr = array ($value); $key = 0; }
|
902 |
+
else { $_arr[] = $value; end ($_arr); $key = key ($_arr); }
|
903 |
+
}
|
904 |
+
|
905 |
+
$reverse_path = array_reverse($this->path);
|
906 |
+
$reverse_history = array_reverse ($history);
|
907 |
+
$reverse_history[0] = $_arr;
|
908 |
+
$cnt = count($reverse_history) - 1;
|
909 |
+
for ($i = 0; $i < $cnt; $i++) {
|
910 |
+
$reverse_history[$i+1][$reverse_path[$i]] = $reverse_history[$i];
|
911 |
+
}
|
912 |
+
$this->result = $reverse_history[$cnt];
|
913 |
+
|
914 |
+
$this->path[$incoming_indent] = $key;
|
915 |
+
|
916 |
+
if ($this->_containsGroupAnchor) {
|
917 |
+
$this->SavedGroups[$this->_containsGroupAnchor] = $this->path;
|
918 |
+
if (is_array ($value)) {
|
919 |
+
$k = key ($value);
|
920 |
+
if (!is_int ($k)) {
|
921 |
+
$this->SavedGroups[$this->_containsGroupAnchor][$incoming_indent + 2] = $k;
|
922 |
+
}
|
923 |
+
}
|
924 |
+
$this->_containsGroupAnchor = false;
|
925 |
+
}
|
926 |
+
|
927 |
+
}
|
928 |
+
|
929 |
+
private static function startsLiteralBlock ($line) {
|
930 |
+
$lastChar = substr (trim($line), -1);
|
931 |
+
if ($lastChar != '>' && $lastChar != '|') return false;
|
932 |
+
if ($lastChar == '|') return $lastChar;
|
933 |
+
// HTML tags should not be counted as literal blocks.
|
934 |
+
if (preg_match ('#<.*?>$#', $line)) return false;
|
935 |
+
return $lastChar;
|
936 |
+
}
|
937 |
+
|
938 |
+
private static function greedilyNeedNextLine($line) {
|
939 |
+
$line = trim ($line);
|
940 |
+
if (!strlen($line)) return false;
|
941 |
+
if (substr ($line, -1, 1) == ']') return false;
|
942 |
+
if ($line[0] == '[') return true;
|
943 |
+
if (preg_match ('#^[^:]+?:\s*\[#', $line)) return true;
|
944 |
+
return false;
|
945 |
+
}
|
946 |
+
|
947 |
+
private function addLiteralLine ($literalBlock, $line, $literalBlockStyle, $indent = -1) {
|
948 |
+
$line = self::stripIndent($line, $indent);
|
949 |
+
if ($literalBlockStyle !== '|') {
|
950 |
+
$line = self::stripIndent($line);
|
951 |
+
}
|
952 |
+
$line = rtrim ($line, "\r\n\t ") . "\n";
|
953 |
+
if ($literalBlockStyle == '|') {
|
954 |
+
return $literalBlock . $line;
|
955 |
+
}
|
956 |
+
if (strlen($line) == 0)
|
957 |
+
return rtrim($literalBlock, ' ') . "\n";
|
958 |
+
if ($line == "\n" && $literalBlockStyle == '>') {
|
959 |
+
return rtrim ($literalBlock, " \t") . "\n";
|
960 |
+
}
|
961 |
+
if ($line != "\n")
|
962 |
+
$line = trim ($line, "\r\n ") . " ";
|
963 |
+
return $literalBlock . $line;
|
964 |
+
}
|
965 |
+
|
966 |
+
function revertLiteralPlaceHolder ($lineArray, $literalBlock) {
|
967 |
+
foreach ($lineArray as $k => $_) {
|
968 |
+
if (is_array($_))
|
969 |
+
$lineArray[$k] = $this->revertLiteralPlaceHolder ($_, $literalBlock);
|
970 |
+
else if (substr($_, -1 * strlen ($this->LiteralPlaceHolder)) == $this->LiteralPlaceHolder)
|
971 |
+
$lineArray[$k] = rtrim ($literalBlock, " \r\n");
|
972 |
+
}
|
973 |
+
return $lineArray;
|
974 |
+
}
|
975 |
+
|
976 |
+
private static function stripIndent ($line, $indent = -1) {
|
977 |
+
if ($indent == -1) $indent = strlen($line) - strlen(ltrim($line));
|
978 |
+
return substr ($line, $indent);
|
979 |
+
}
|
980 |
+
|
981 |
+
private function getParentPathByIndent ($indent) {
|
982 |
+
if ($indent == 0) return array();
|
983 |
+
$linePath = $this->path;
|
984 |
+
do {
|
985 |
+
end($linePath); $lastIndentInParentPath = key($linePath);
|
986 |
+
if ($indent <= $lastIndentInParentPath) array_pop ($linePath);
|
987 |
+
} while ($indent <= $lastIndentInParentPath);
|
988 |
+
return $linePath;
|
989 |
+
}
|
990 |
+
|
991 |
+
|
992 |
+
private function clearBiggerPathValues ($indent) {
|
993 |
+
|
994 |
+
|
995 |
+
if ($indent == 0) $this->path = array();
|
996 |
+
if (empty ($this->path)) return true;
|
997 |
+
|
998 |
+
foreach ($this->path as $k => $_) {
|
999 |
+
if ($k > $indent) unset ($this->path[$k]);
|
1000 |
+
}
|
1001 |
+
|
1002 |
+
return true;
|
1003 |
+
}
|
1004 |
+
|
1005 |
+
|
1006 |
+
private static function isComment ($line) {
|
1007 |
+
if (!$line) return false;
|
1008 |
+
if ($line[0] == '#') return true;
|
1009 |
+
if (trim($line, " \r\n\t") == '---') return true;
|
1010 |
+
return false;
|
1011 |
+
}
|
1012 |
+
|
1013 |
+
private static function isEmpty ($line) {
|
1014 |
+
return (trim ($line) === '');
|
1015 |
+
}
|
1016 |
+
|
1017 |
+
|
1018 |
+
private function isArrayElement ($line) {
|
1019 |
+
if (!$line || !is_scalar($line)) return false;
|
1020 |
+
if (substr($line, 0, 2) != '- ') return false;
|
1021 |
+
if (strlen ($line) > 3)
|
1022 |
+
if (substr($line,0,3) == '---') return false;
|
1023 |
+
|
1024 |
+
return true;
|
1025 |
+
}
|
1026 |
+
|
1027 |
+
private function isHashElement ($line) {
|
1028 |
+
return strpos($line, ':');
|
1029 |
+
}
|
1030 |
+
|
1031 |
+
private function isLiteral ($line) {
|
1032 |
+
if ($this->isArrayElement($line)) return false;
|
1033 |
+
if ($this->isHashElement($line)) return false;
|
1034 |
+
return true;
|
1035 |
+
}
|
1036 |
+
|
1037 |
+
|
1038 |
+
private static function unquote ($value) {
|
1039 |
+
if (!$value) return $value;
|
1040 |
+
if (!is_string($value)) return $value;
|
1041 |
+
if ($value[0] == '\'') return trim ($value, '\'');
|
1042 |
+
if ($value[0] == '"') return trim ($value, '"');
|
1043 |
+
return $value;
|
1044 |
+
}
|
1045 |
+
|
1046 |
+
private function startsMappedSequence ($line) {
|
1047 |
+
return (substr($line, 0, 2) == '- ' && substr ($line, -1, 1) == ':');
|
1048 |
+
}
|
1049 |
+
|
1050 |
+
private function returnMappedSequence ($line) {
|
1051 |
+
$array = array();
|
1052 |
+
$key = self::unquote(trim(substr($line,1,-1)));
|
1053 |
+
$array[$key] = array();
|
1054 |
+
$this->delayedPath = array(strpos ($line, $key) + $this->indent => $key);
|
1055 |
+
return array($array);
|
1056 |
+
}
|
1057 |
+
|
1058 |
+
private function checkKeysInValue($value) {
|
1059 |
+
if (strchr('[{"\'', $value[0]) === false) {
|
1060 |
+
if (strchr($value, ': ') !== false) {
|
1061 |
+
throw new Exception('Too many keys: '.$value);
|
1062 |
+
}
|
1063 |
+
}
|
1064 |
+
}
|
1065 |
+
|
1066 |
+
private function returnMappedValue ($line) {
|
1067 |
+
$this->checkKeysInValue($line);
|
1068 |
+
$array = array();
|
1069 |
+
$key = self::unquote (trim(substr($line,0,-1)));
|
1070 |
+
$array[$key] = '';
|
1071 |
+
return $array;
|
1072 |
+
}
|
1073 |
+
|
1074 |
+
private function startsMappedValue ($line) {
|
1075 |
+
return (substr ($line, -1, 1) == ':');
|
1076 |
+
}
|
1077 |
+
|
1078 |
+
private function isPlainArray ($line) {
|
1079 |
+
return ($line[0] == '[' && substr ($line, -1, 1) == ']');
|
1080 |
+
}
|
1081 |
+
|
1082 |
+
private function returnPlainArray ($line) {
|
1083 |
+
return $this->_toType($line);
|
1084 |
+
}
|
1085 |
+
|
1086 |
+
private function returnKeyValuePair ($line) {
|
1087 |
+
$array = array();
|
1088 |
+
$key = '';
|
1089 |
+
if (strpos ($line, ': ')) {
|
1090 |
+
// It's a key/value pair most likely
|
1091 |
+
// If the key is in double quotes pull it out
|
1092 |
+
if (($line[0] == '"' || $line[0] == "'") && preg_match('/^(["\'](.*)["\'](\s)*:)/',$line,$matches)) {
|
1093 |
+
$value = trim(str_replace($matches[1],'',$line));
|
1094 |
+
$key = $matches[2];
|
1095 |
+
} else {
|
1096 |
+
// Do some guesswork as to the key and the value
|
1097 |
+
$explode = explode(': ', $line);
|
1098 |
+
$key = trim(array_shift($explode));
|
1099 |
+
$value = trim(implode(': ', $explode));
|
1100 |
+
$this->checkKeysInValue($value);
|
1101 |
+
}
|
1102 |
+
// Set the type of the value. Int, string, etc
|
1103 |
+
$value = $this->_toType($value);
|
1104 |
+
if ($key === '0') $key = '__!YAMLZero';
|
1105 |
+
$array[$key] = $value;
|
1106 |
+
} else {
|
1107 |
+
$array = array ($line);
|
1108 |
+
}
|
1109 |
+
return $array;
|
1110 |
+
|
1111 |
+
}
|
1112 |
+
|
1113 |
+
|
1114 |
+
private function returnArrayElement ($line) {
|
1115 |
+
if (strlen($line) <= 1) return array(array()); // Weird %)
|
1116 |
+
$array = array();
|
1117 |
+
$value = trim(substr($line,1));
|
1118 |
+
$value = $this->_toType($value);
|
1119 |
+
if ($this->isArrayElement($value)) {
|
1120 |
+
$value = $this->returnArrayElement($value);
|
1121 |
+
}
|
1122 |
+
$array[] = $value;
|
1123 |
+
return $array;
|
1124 |
+
}
|
1125 |
+
|
1126 |
+
|
1127 |
+
private function nodeContainsGroup ($line) {
|
1128 |
+
$symbolsForReference = 'A-z0-9_\-';
|
1129 |
+
if (strpos($line, '&') === false && strpos($line, '*') === false) return false; // Please die fast ;-)
|
1130 |
+
if ($line[0] == '&' && preg_match('/^(&['.$symbolsForReference.']+)/', $line, $matches)) return $matches[1];
|
1131 |
+
if ($line[0] == '*' && preg_match('/^(\*['.$symbolsForReference.']+)/', $line, $matches)) return $matches[1];
|
1132 |
+
if (preg_match('/(&['.$symbolsForReference.']+)$/', $line, $matches)) return $matches[1];
|
1133 |
+
if (preg_match('/(\*['.$symbolsForReference.']+$)/', $line, $matches)) return $matches[1];
|
1134 |
+
if (preg_match ('#^\s*<<\s*:\s*(\*[^\s]+).*$#', $line, $matches)) return $matches[1];
|
1135 |
+
return false;
|
1136 |
+
|
1137 |
+
}
|
1138 |
+
|
1139 |
+
private function addGroup ($line, $group) {
|
1140 |
+
if ($group[0] == '&') $this->_containsGroupAnchor = substr ($group, 1);
|
1141 |
+
if ($group[0] == '*') $this->_containsGroupAlias = substr ($group, 1);
|
1142 |
+
//print_r ($this->path);
|
1143 |
+
}
|
1144 |
+
|
1145 |
+
private function stripGroup ($line, $group) {
|
1146 |
+
$line = trim(str_replace($group, '', $line));
|
1147 |
+
return $line;
|
1148 |
+
}
|
1149 |
+
}
|
1150 |
+
}
|
1151 |
+
|
1152 |
+
// Enable use of Spyc from command line
|
1153 |
+
// The syntax is the following: php Spyc.php spyc.yaml
|
1154 |
+
|
1155 |
+
do {
|
1156 |
+
if (PHP_SAPI != 'cli') break;
|
1157 |
+
if (empty ($_SERVER['argc']) || $_SERVER['argc'] < 2) break;
|
1158 |
+
if (empty ($_SERVER['PHP_SELF']) || FALSE === strpos ($_SERVER['PHP_SELF'], 'Spyc.php') ) break;
|
1159 |
+
$file = $argv[1];
|
1160 |
+
echo json_encode (spyc_load_file ($file));
|
1161 |
+
} while (0);
|
vendor/mickey-kay/better-font-awesome-library/vendor/mustangostang/spyc/composer.json
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "mustangostang/spyc",
|
3 |
+
"description": "A simple YAML loader/dumper class for PHP",
|
4 |
+
"type": "library",
|
5 |
+
"keywords": [
|
6 |
+
"spyc",
|
7 |
+
"yaml",
|
8 |
+
"yml"
|
9 |
+
],
|
10 |
+
"homepage": "https://github.com/mustangostang/spyc/",
|
11 |
+
"authors" : [{
|
12 |
+
"name": "mustangostang",
|
13 |
+
"email": "vlad.andersen@gmail.com"
|
14 |
+
}],
|
15 |
+
"license": "MIT",
|
16 |
+
"require": {
|
17 |
+
"php": ">=5.3.1"
|
18 |
+
},
|
19 |
+
"autoload": {
|
20 |
+
"files": [ "Spyc.php" ]
|
21 |
+
},
|
22 |
+
"require-dev": {
|
23 |
+
"phpunit/phpunit": "4.3.*@dev"
|
24 |
+
},
|
25 |
+
"extra": {
|
26 |
+
"branch-alias": {
|
27 |
+
"dev-master": "0.5.x-dev"
|
28 |
+
}
|
29 |
+
}
|
30 |
+
}
|
vendor/mickey-kay/better-font-awesome-library/vendor/mustangostang/spyc/examples/yaml-dump.php
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
#
|
4 |
+
# S P Y C
|
5 |
+
# a simple php yaml class
|
6 |
+
#
|
7 |
+
# Feel free to dump an array to YAML, and then to load that YAML back into an
|
8 |
+
# array. This is a good way to test the limitations of the parser and maybe
|
9 |
+
# learn some basic YAML.
|
10 |
+
#
|
11 |
+
|
12 |
+
include('../Spyc.php');
|
13 |
+
|
14 |
+
$array[] = 'Sequence item';
|
15 |
+
$array['The Key'] = 'Mapped value';
|
16 |
+
$array[] = array('A sequence','of a sequence');
|
17 |
+
$array[] = array('first' => 'A sequence','second' => 'of mapped values');
|
18 |
+
$array['Mapped'] = array('A sequence','which is mapped');
|
19 |
+
$array['A Note'] = 'What if your text is too long?';
|
20 |
+
$array['Another Note'] = 'If that is the case, the dumper will probably fold your text by using a block. Kinda like this.';
|
21 |
+
$array['The trick?'] = 'The trick is that we overrode the default indent, 2, to 4 and the default wordwrap, 40, to 60.';
|
22 |
+
$array['Old Dog'] = "And if you want\n to preserve line breaks, \ngo ahead!";
|
23 |
+
$array['key:withcolon'] = "Should support this to";
|
24 |
+
|
25 |
+
$yaml = Spyc::YAMLDump($array,4,60);
|
vendor/mickey-kay/better-font-awesome-library/vendor/mustangostang/spyc/examples/yaml-load.php
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
#
|
4 |
+
# S P Y C
|
5 |
+
# a simple php yaml class
|
6 |
+
#
|
7 |
+
# license: [MIT License, http://www.opensource.org/licenses/mit-license.php]
|
8 |
+
#
|
9 |
+
|
10 |
+
include('../Spyc.php');
|
11 |
+
|
12 |
+
$array = Spyc::YAMLLoad('../spyc.yaml');
|
13 |
+
|
14 |
+
echo '<pre><a href="spyc.yaml">spyc.yaml</a> loaded into PHP:<br/>';
|
15 |
+
print_r($array);
|
16 |
+
echo '</pre>';
|
17 |
+
|
18 |
+
|
19 |
+
echo '<pre>YAML Data dumped back:<br/>';
|
20 |
+
echo Spyc::YAMLDump($array);
|
21 |
+
echo '</pre>';
|
vendor/mickey-kay/better-font-awesome-library/vendor/mustangostang/spyc/php4/5to4.php
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
php5to4 ("../spyc.php", 'spyc-latest.php4');
|
4 |
+
|
5 |
+
function php5to4 ($src, $dest) {
|
6 |
+
$code = file_get_contents ($src);
|
7 |
+
$code = preg_replace ('#(public|private|protected)\s+\$#i', 'var \$', $code);
|
8 |
+
$code = preg_replace ('#(public|private|protected)\s+static\s+\$#i', 'var \$', $code);
|
9 |
+
$code = preg_replace ('#(public|private|protected)\s+function#i', 'function', $code);
|
10 |
+
$code = preg_replace ('#(public|private|protected)\s+static\s+function#i', 'function', $code);
|
11 |
+
$code = preg_replace ('#throw new Exception\\(([^)]*)\\)#i', 'trigger_error($1,E_USER_ERROR)', $code);
|
12 |
+
$code = str_replace ('self::', '$this->', $code);
|
13 |
+
$f = fopen ($dest, 'w');
|
14 |
+
fwrite($f, $code);
|
15 |
+
fclose ($f);
|
16 |
+
print "Written to $dest.\n";
|
17 |
+
}
|
vendor/mickey-kay/better-font-awesome-library/vendor/mustangostang/spyc/php4/spyc.php4
ADDED
@@ -0,0 +1,1023 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Spyc -- A Simple PHP YAML Class
|
4 |
+
* @version 0.4.5
|
5 |
+
* @author Vlad Andersen <vlad.andersen@gmail.com>
|
6 |
+
* @author Chris Wanstrath <chris@ozmm.org>
|
7 |
+
* @link http://code.google.com/p/spyc/
|
8 |
+
* @copyright Copyright 2005-2006 Chris Wanstrath, 2006-2009 Vlad Andersen
|
9 |
+
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
10 |
+
* @package Spyc
|
11 |
+
*/
|
12 |
+
|
13 |
+
if (!function_exists('spyc_load')) {
|
14 |
+
/**
|
15 |
+
* Parses YAML to array.
|
16 |
+
* @param string $string YAML string.
|
17 |
+
* @return array
|
18 |
+
*/
|
19 |
+
function spyc_load ($string) {
|
20 |
+
return Spyc::YAMLLoadString($string);
|
21 |
+
}
|
22 |
+
}
|
23 |
+
|
24 |
+
if (!function_exists('spyc_load_file')) {
|
25 |
+
/**
|
26 |
+
* Parses YAML to array.
|
27 |
+
* @param string $file Path to YAML file.
|
28 |
+
* @return array
|
29 |
+
*/
|
30 |
+
function spyc_load_file ($file) {
|
31 |
+
return Spyc::YAMLLoad($file);
|
32 |
+
}
|
33 |
+
}
|
34 |
+
|
35 |
+
/**
|
36 |
+
* The Simple PHP YAML Class.
|
37 |
+
*
|
38 |
+
* This class can be used to read a YAML file and convert its contents
|
39 |
+
* into a PHP array. It currently supports a very limited subsection of
|
40 |
+
* the YAML spec.
|
41 |
+
*
|
42 |
+
* Usage:
|
43 |
+
* <code>
|
44 |
+
* $Spyc = new Spyc;
|
45 |
+
* $array = $Spyc->load($file);
|
46 |
+
* </code>
|
47 |
+
* or:
|
48 |
+
* <code>
|
49 |
+
* $array = Spyc::YAMLLoad($file);
|
50 |
+
* </code>
|
51 |
+
* or:
|
52 |
+
* <code>
|
53 |
+
* $array = spyc_load_file($file);
|
54 |
+
* </code>
|
55 |
+
* @package Spyc
|
56 |
+
*/
|
57 |
+
class Spyc {
|
58 |
+
|
59 |
+
// SETTINGS
|
60 |
+
|
61 |
+
/**
|
62 |
+
* Setting this to true will force YAMLDump to enclose any string value in
|
63 |
+
* quotes. False by default.
|
64 |
+
*
|
65 |
+
* @var bool
|
66 |
+
*/
|
67 |
+
var $setting_dump_force_quotes = false;
|
68 |
+
|
69 |
+
/**
|
70 |
+
* Setting this to true will forse YAMLLoad to use syck_load function when
|
71 |
+
* possible. False by default.
|
72 |
+
* @var bool
|
73 |
+
*/
|
74 |
+
var $setting_use_syck_is_possible = false;
|
75 |
+
|
76 |
+
|
77 |
+
|
78 |
+
/**#@+
|
79 |
+
* @access private
|
80 |
+
* @var mixed
|
81 |
+
*/
|
82 |
+
var $_dumpIndent;
|
83 |
+
var $_dumpWordWrap;
|
84 |
+
var $_containsGroupAnchor = false;
|
85 |
+
var $_containsGroupAlias = false;
|
86 |
+
var $path;
|
87 |
+
var $result;
|
88 |
+
var $LiteralPlaceHolder = '___YAML_Literal_Block___';
|
89 |
+
var $SavedGroups = array();
|
90 |
+
var $indent;
|
91 |
+
/**
|
92 |
+
* Path modifier that should be applied after adding current element.
|
93 |
+
* @var array
|
94 |
+
*/
|
95 |
+
var $delayedPath = array();
|
96 |
+
|
97 |
+
/**#@+
|
98 |
+
* @access public
|
99 |
+
* @var mixed
|
100 |
+
*/
|
101 |
+
var $_nodeId;
|
102 |
+
|
103 |
+
/**
|
104 |
+
* Load a valid YAML string to Spyc.
|
105 |
+
* @param string $input
|
106 |
+
* @return array
|
107 |
+
*/
|
108 |
+
function load ($input) {
|
109 |
+
return $this->__loadString($input);
|
110 |
+
}
|
111 |
+
|
112 |
+
/**
|
113 |
+
* Load a valid YAML file to Spyc.
|
114 |
+
* @param string $file
|
115 |
+
* @return array
|
116 |
+
*/
|
117 |
+
function loadFile ($file) {
|
118 |
+
return $this->__load($file);
|
119 |
+
}
|
120 |
+
|
121 |
+
/**
|
122 |
+
* Load YAML into a PHP array statically
|
123 |
+
*
|
124 |
+
* The load method, when supplied with a YAML stream (string or file),
|
125 |
+
* will do its best to convert YAML in a file into a PHP array. Pretty
|
126 |
+
* simple.
|
127 |
+
* Usage:
|
128 |
+
* <code>
|
129 |
+
* $array = Spyc::YAMLLoad('lucky.yaml');
|
130 |
+
* print_r($array);
|
131 |
+
* </code>
|
132 |
+
* @access public
|
133 |
+
* @return array
|
134 |
+
* @param string $input Path of YAML file or string containing YAML
|
135 |
+
*/
|
136 |
+
function YAMLLoad($input) {
|
137 |
+
$Spyc = new Spyc;
|
138 |
+
return $Spyc->__load($input);
|
139 |
+
}
|
140 |
+
|
141 |
+
/**
|
142 |
+
* Load a string of YAML into a PHP array statically
|
143 |
+
*
|
144 |
+
* The load method, when supplied with a YAML string, will do its best
|
145 |
+
* to convert YAML in a string into a PHP array. Pretty simple.
|
146 |
+
*
|
147 |
+
* Note: use this function if you don't want files from the file system
|
148 |
+
* loaded and processed as YAML. This is of interest to people concerned
|
149 |
+
* about security whose input is from a string.
|
150 |
+
*
|
151 |
+
* Usage:
|
152 |
+
* <code>
|
153 |
+
* $array = Spyc::YAMLLoadString("---\n0: hello world\n");
|
154 |
+
* print_r($array);
|
155 |
+
* </code>
|
156 |
+
* @access public
|
157 |
+
* @return array
|
158 |
+
* @param string $input String containing YAML
|
159 |
+
*/
|
160 |
+
function YAMLLoadString($input) {
|
161 |
+
$Spyc = new Spyc;
|
162 |
+
return $Spyc->__loadString($input);
|
163 |
+
}
|
164 |
+
|
165 |
+
/**
|
166 |
+
* Dump YAML from PHP array statically
|
167 |
+
*
|
168 |
+
* The dump method, when supplied with an array, will do its best
|
169 |
+
* to convert the array into friendly YAML. Pretty simple. Feel free to
|
170 |
+
* save the returned string as nothing.yaml and pass it around.
|
171 |
+
*
|
172 |
+
* Oh, and you can decide how big the indent is and what the wordwrap
|
173 |
+
* for folding is. Pretty cool -- just pass in 'false' for either if
|
174 |
+
* you want to use the default.
|
175 |
+
*
|
176 |
+
* Indent's default is 2 spaces, wordwrap's default is 40 characters. And
|
177 |
+
* you can turn off wordwrap by passing in 0.
|
178 |
+
*
|
179 |
+
* @access public
|
180 |
+
* @return string
|
181 |
+
* @param array $array PHP array
|
182 |
+
* @param int $indent Pass in false to use the default, which is 2
|
183 |
+
* @param int $wordwrap Pass in 0 for no wordwrap, false for default (40)
|
184 |
+
*/
|
185 |
+
function YAMLDump($array,$indent = false,$wordwrap = false) {
|
186 |
+
$spyc = new Spyc;
|
187 |
+
return $spyc->dump($array,$indent,$wordwrap);
|
188 |
+
}
|
189 |
+
|
190 |
+
|
191 |
+
/**
|
192 |
+
* Dump PHP array to YAML
|
193 |
+
*
|
194 |
+
* The dump method, when supplied with an array, will do its best
|
195 |
+
* to convert the array into friendly YAML. Pretty simple. Feel free to
|
196 |
+
* save the returned string as tasteful.yaml and pass it around.
|
197 |
+
*
|
198 |
+
* Oh, and you can decide how big the indent is and what the wordwrap
|
199 |
+
* for folding is. Pretty cool -- just pass in 'false' for either if
|
200 |
+
* you want to use the default.
|
201 |
+
*
|
202 |
+
* Indent's default is 2 spaces, wordwrap's default is 40 characters. And
|
203 |
+
* you can turn off wordwrap by passing in 0.
|
204 |
+
*
|
205 |
+
* @access public
|
206 |
+
* @return string
|
207 |
+
* @param array $array PHP array
|
208 |
+
* @param int $indent Pass in false to use the default, which is 2
|
209 |
+
* @param int $wordwrap Pass in 0 for no wordwrap, false for default (40)
|
210 |
+
*/
|
211 |
+
function dump($array,$indent = false,$wordwrap = false) {
|
212 |
+
// Dumps to some very clean YAML. We'll have to add some more features
|
213 |
+
// and options soon. And better support for folding.
|
214 |
+
|
215 |
+
// New features and options.
|
216 |
+
if ($indent === false or !is_numeric($indent)) {
|
217 |
+
$this->_dumpIndent = 2;
|
218 |
+
} else {
|
219 |
+
$this->_dumpIndent = $indent;
|
220 |
+
}
|
221 |
+
|
222 |
+
if ($wordwrap === false or !is_numeric($wordwrap)) {
|
223 |
+
$this->_dumpWordWrap = 40;
|
224 |
+
} else {
|
225 |
+
$this->_dumpWordWrap = $wordwrap;
|
226 |
+
}
|
227 |
+
|
228 |
+
// New YAML document
|
229 |
+
$string = "---\n";
|
230 |
+
|
231 |
+
// Start at the base of the array and move through it.
|
232 |
+
if ($array) {
|
233 |
+
$array = (array)$array;
|
234 |
+
$first_key = key($array);
|
235 |
+
|
236 |
+
$previous_key = -1;
|
237 |
+
foreach ($array as $key => $value) {
|
238 |
+
$string .= $this->_yamlize($key,$value,0,$previous_key, $first_key);
|
239 |
+
$previous_key = $key;
|
240 |
+
}
|
241 |
+
}
|
242 |
+
return $string;
|
243 |
+
}
|
244 |
+
|
245 |
+
/**
|
246 |
+
* Attempts to convert a key / value array item to YAML
|
247 |
+
* @access private
|
248 |
+
* @return string
|
249 |
+
* @param $key The name of the key
|
250 |
+
* @param $value The value of the item
|
251 |
+
* @param $indent The indent of the current node
|
252 |
+
*/
|
253 |
+
function _yamlize($key,$value,$indent, $previous_key = -1, $first_key = 0) {
|
254 |
+
if (is_array($value)) {
|
255 |
+
if (empty ($value))
|
256 |
+
return $this->_dumpNode($key, array(), $indent, $previous_key, $first_key);
|
257 |
+
// It has children. What to do?
|
258 |
+
// Make it the right kind of item
|
259 |
+
$string = $this->_dumpNode($key, NULL, $indent, $previous_key, $first_key);
|
260 |
+
// Add the indent
|
261 |
+
$indent += $this->_dumpIndent;
|
262 |
+
// Yamlize the array
|
263 |
+
$string .= $this->_yamlizeArray($value,$indent);
|
264 |
+
} elseif (!is_array($value)) {
|
265 |
+
// It doesn't have children. Yip.
|
266 |
+
$string = $this->_dumpNode($key, $value, $indent, $previous_key, $first_key);
|
267 |
+
}
|
268 |
+
return $string;
|
269 |
+
}
|
270 |
+
|
271 |
+
/**
|
272 |
+
* Attempts to convert an array to YAML
|
273 |
+
* @access private
|
274 |
+
* @return string
|
275 |
+
* @param $array The array you want to convert
|
276 |
+
* @param $indent The indent of the current level
|
277 |
+
*/
|
278 |
+
function _yamlizeArray($array,$indent) {
|
279 |
+
if (is_array($array)) {
|
280 |
+
$string = '';
|
281 |
+
$previous_key = -1;
|
282 |
+
$first_key = key($array);
|
283 |
+
foreach ($array as $key => $value) {
|
284 |
+
$string .= $this->_yamlize($key, $value, $indent, $previous_key, $first_key);
|
285 |
+
$previous_key = $key;
|
286 |
+
}
|
287 |
+
return $string;
|
288 |
+
} else {
|
289 |
+
return false;
|
290 |
+
}
|
291 |
+
}
|
292 |
+
|
293 |
+
/**
|
294 |
+
* Returns YAML from a key and a value
|
295 |
+
* @access private
|
296 |
+
* @return string
|
297 |
+
* @param $key The name of the key
|
298 |
+
* @param $value The value of the item
|
299 |
+
* @param $indent The indent of the current node
|
300 |
+
*/
|
301 |
+
function _dumpNode($key, $value, $indent, $previous_key = -1, $first_key = 0) {
|
302 |
+
// do some folding here, for blocks
|
303 |
+
if (is_string ($value) && ((strpos($value,"\n") !== false || strpos($value,": ") !== false || strpos($value,"- ") !== false ||
|
304 |
+
strpos($value,"*") !== false || strpos($value,"#") !== false || strpos($value,"<") !== false || strpos($value,">") !== false ||
|
305 |
+
strpos($value,"[") !== false || strpos($value,"]") !== false || strpos($value,"{") !== false || strpos($value,"}") !== false) || substr ($value, -1, 1) == ':')) {
|
306 |
+
$value = $this->_doLiteralBlock($value,$indent);
|
307 |
+
} else {
|
308 |
+
$value = $this->_doFolding($value,$indent);
|
309 |
+
if (is_bool($value)) {
|
310 |
+
$value = ($value) ? "true" : "false";
|
311 |
+
}
|
312 |
+
}
|
313 |
+
|
314 |
+
if ($value === array()) $value = '[ ]';
|
315 |
+
|
316 |
+
$spaces = str_repeat(' ',$indent);
|
317 |
+
|
318 |
+
if (is_int($key) && $key - 1 == $previous_key && $first_key===0) {
|
319 |
+
// It's a sequence
|
320 |
+
$string = $spaces.'- '.$value."\n";
|
321 |
+
} else {
|
322 |
+
if ($first_key===0) throw new Exception('Keys are all screwy. The first one was zero, now it\'s "'. $key .'"');
|
323 |
+
// It's mapped
|
324 |
+
if (strpos($key, ":") !== false) { $key = '"' . $key . '"'; }
|
325 |
+
$string = $spaces.$key.': '.$value."\n";
|
326 |
+
}
|
327 |
+
return $string;
|
328 |
+
}
|
329 |
+
|
330 |
+
/**
|
331 |
+
* Creates a literal block for dumping
|
332 |
+
* @access private
|
333 |
+
* @return string
|
334 |
+
* @param $value
|
335 |
+
* @param $indent int The value of the indent
|
336 |
+
*/
|
337 |
+
function _doLiteralBlock($value,$indent) {
|
338 |
+
if (strpos($value, "\n") === false && strpos($value, "'") === false) {
|
339 |
+
return sprintf ("'%s'", $value);
|
340 |
+
}
|
341 |
+
if (strpos($value, "\n") === false && strpos($value, '"') === false) {
|
342 |
+
return sprintf ('"%s"', $value);
|
343 |
+
}
|
344 |
+
$exploded = explode("\n",$value);
|
345 |
+
$newValue = '|';
|
346 |
+
$indent += $this->_dumpIndent;
|
347 |
+
$spaces = str_repeat(' ',$indent);
|
348 |
+
foreach ($exploded as $line) {
|
349 |
+
$newValue .= "\n" . $spaces . trim($line);
|
350 |
+
}
|
351 |
+
return $newValue;
|
352 |
+
}
|
353 |
+
|
354 |
+
/**
|
355 |
+
* Folds a string of text, if necessary
|
356 |
+
* @access private
|
357 |
+
* @return string
|
358 |
+
* @param $value The string you wish to fold
|
359 |
+
*/
|
360 |
+
function _doFolding($value,$indent) {
|
361 |
+
// Don't do anything if wordwrap is set to 0
|
362 |
+
|
363 |
+
if ($this->_dumpWordWrap !== 0 && is_string ($value) && strlen($value) > $this->_dumpWordWrap) {
|
364 |
+
$indent += $this->_dumpIndent;
|
365 |
+
$indent = str_repeat(' ',$indent);
|
366 |
+
$wrapped = wordwrap($value,$this->_dumpWordWrap,"\n$indent");
|
367 |
+
$value = ">\n".$indent.$wrapped;
|
368 |
+
} else {
|
369 |
+
if ($this->setting_dump_force_quotes && is_string ($value))
|
370 |
+
$value = '"' . $value . '"';
|
371 |
+
}
|
372 |
+
|
373 |
+
|
374 |
+
return $value;
|
375 |
+
}
|
376 |
+
|
377 |
+
// LOADING FUNCTIONS
|
378 |
+
|
379 |
+
function __load($input) {
|
380 |
+
$Source = $this->loadFromSource($input);
|
381 |
+
return $this->loadWithSource($Source);
|
382 |
+
}
|
383 |
+
|
384 |
+
function __loadString($input) {
|
385 |
+
$Source = $this->loadFromString($input);
|
386 |
+
return $this->loadWithSource($Source);
|
387 |
+
}
|
388 |
+
|
389 |
+
function loadWithSource($Source) {
|
390 |
+
if (empty ($Source)) return array();
|
391 |
+
if ($this->setting_use_syck_is_possible && function_exists ('syck_load')) {
|
392 |
+
$array = syck_load (implode ('', $Source));
|
393 |
+
return is_array($array) ? $array : array();
|
394 |
+
}
|
395 |
+
|
396 |
+
$this->path = array();
|
397 |
+
$this->result = array();
|
398 |
+
|
399 |
+
$cnt = count($Source);
|
400 |
+
for ($i = 0; $i < $cnt; $i++) {
|
401 |
+
$line = $Source[$i];
|
402 |
+
|
403 |
+
$this->indent = strlen($line) - strlen(ltrim($line));
|
404 |
+
$tempPath = $this->getParentPathByIndent($this->indent);
|
405 |
+
$line = $this->stripIndent($line, $this->indent);
|
406 |
+
if ($this->isComment($line)) continue;
|
407 |
+
if ($this->isEmpty($line)) continue;
|
408 |
+
$this->path = $tempPath;
|
409 |
+
|
410 |
+
$literalBlockStyle = $this->startsLiteralBlock($line);
|
411 |
+
if ($literalBlockStyle) {
|
412 |
+
$line = rtrim ($line, $literalBlockStyle . " \n");
|
413 |
+
$literalBlock = '';
|
414 |
+
$line .= $this->LiteralPlaceHolder;
|
415 |
+
|
416 |
+
while (++$i < $cnt && $this->literalBlockContinues($Source[$i], $this->indent)) {
|
417 |
+
$literalBlock = $this->addLiteralLine($literalBlock, $Source[$i], $literalBlockStyle);
|
418 |
+
}
|
419 |
+
$i--;
|
420 |
+
}
|
421 |
+
|
422 |
+
while (++$i < $cnt && $this->greedilyNeedNextLine($line)) {
|
423 |
+
$line = rtrim ($line, " \n\t\r") . ' ' . ltrim ($Source[$i], " \t");
|
424 |
+
}
|
425 |
+
$i--;
|
426 |
+
|
427 |
+
|
428 |
+
|
429 |
+
if (strpos ($line, '#')) {
|
430 |
+
if (strpos ($line, '"') === false && strpos ($line, "'") === false)
|
431 |
+
$line = preg_replace('/\s+#(.+)$/','',$line);
|
432 |
+
}
|
433 |
+
|
434 |
+
$lineArray = $this->_parseLine($line);
|
435 |
+
|
436 |
+
if ($literalBlockStyle)
|
437 |
+
$lineArray = $this->revertLiteralPlaceHolder ($lineArray, $literalBlock);
|
438 |
+
|
439 |
+
$this->addArray($lineArray, $this->indent);
|
440 |
+
|
441 |
+
foreach ($this->delayedPath as $indent => $delayedPath)
|
442 |
+
$this->path[$indent] = $delayedPath;
|
443 |
+
|
444 |
+
$this->delayedPath = array();
|
445 |
+
|
446 |
+
}
|
447 |
+
return $this->result;
|
448 |
+
}
|
449 |
+
|
450 |
+
function loadFromSource ($input) {
|
451 |
+
if (!empty($input) && strpos($input, "\n") === false && file_exists($input))
|
452 |
+
return file($input);
|
453 |
+
|
454 |
+
return $this->loadFromString($input);
|
455 |
+
}
|
456 |
+
|
457 |
+
function loadFromString ($input) {
|
458 |
+
$lines = explode("\n",$input);
|
459 |
+
foreach ($lines as $k => $_) {
|
460 |
+
$lines[$k] = rtrim ($_, "\r");
|
461 |
+
}
|
462 |
+
return $lines;
|
463 |
+
}
|
464 |
+
|
465 |
+
/**
|
466 |
+
* Parses YAML code and returns an array for a node
|
467 |
+
* @access private
|
468 |
+
* @return array
|
469 |
+
* @param string $line A line from the YAML file
|
470 |
+
*/
|
471 |
+
function _parseLine($line) {
|
472 |
+
if (!$line) return array();
|
473 |
+
$line = trim($line);
|
474 |
+
|
475 |
+
if (!$line) return array();
|
476 |
+
$array = array();
|
477 |
+
|
478 |
+
$group = $this->nodeContainsGroup($line);
|
479 |
+
if ($group) {
|
480 |
+
$this->addGroup($line, $group);
|
481 |
+
$line = $this->stripGroup ($line, $group);
|
482 |
+
}
|
483 |
+
|
484 |
+
if ($this->startsMappedSequence($line))
|
485 |
+
return $this->returnMappedSequence($line);
|
486 |
+
|
487 |
+
if ($this->startsMappedValue($line))
|
488 |
+
return $this->returnMappedValue($line);
|
489 |
+
|
490 |
+
if ($this->isArrayElement($line))
|
491 |
+
return $this->returnArrayElement($line);
|
492 |
+
|
493 |
+
if ($this->isPlainArray($line))
|
494 |
+
return $this->returnPlainArray($line);
|
495 |
+
|
496 |
+
|
497 |
+
return $this->returnKeyValuePair($line);
|
498 |
+
|
499 |
+
}
|
500 |
+
|
501 |
+
/**
|
502 |
+
* Finds the type of the passed value, returns the value as the new type.
|
503 |
+
* @access private
|
504 |
+
* @param string $value
|
505 |
+
* @return mixed
|
506 |
+
*/
|
507 |
+
function _toType($value) {
|
508 |
+
if ($value === '') return null;
|
509 |
+
$first_character = $value[0];
|
510 |
+
$last_character = substr($value, -1, 1);
|
511 |
+
|
512 |
+
$is_quoted = false;
|
513 |
+
do {
|
514 |
+
if (!$value) break;
|
515 |
+
if ($first_character != '"' && $first_character != "'") break;
|
516 |
+
if ($last_character != '"' && $last_character != "'") break;
|
517 |
+
$is_quoted = true;
|
518 |
+
} while (0);
|
519 |
+
|
520 |
+
if ($is_quoted)
|
521 |
+
return strtr(substr ($value, 1, -1), array ('\\"' => '"', '\'\'' => '\'', '\\\'' => '\''));
|
522 |
+
|
523 |
+
if (strpos($value, ' #') !== false)
|
524 |
+
$value = preg_replace('/\s+#(.+)$/','',$value);
|
525 |
+
|
526 |
+
if ($first_character == '[' && $last_character == ']') {
|
527 |
+
// Take out strings sequences and mappings
|
528 |
+
$innerValue = trim(substr ($value, 1, -1));
|
529 |
+
if ($innerValue === '') return array();
|
530 |
+
$explode = $this->_inlineEscape($innerValue);
|
531 |
+
// Propagate value array
|
532 |
+
$value = array();
|
533 |
+
foreach ($explode as $v) {
|
534 |
+
$value[] = $this->_toType($v);
|
535 |
+
}
|
536 |
+
return $value;
|
537 |
+
}
|
538 |
+
|
539 |
+
if (strpos($value,': ')!==false && $first_character != '{') {
|
540 |
+
$array = explode(': ',$value);
|
541 |
+
$key = trim($array[0]);
|
542 |
+
array_shift($array);
|
543 |
+
$value = trim(implode(': ',$array));
|
544 |
+
$value = $this->_toType($value);
|
545 |
+
return array($key => $value);
|
546 |
+
}
|
547 |
+
|
548 |
+
if ($first_character == '{' && $last_character == '}') {
|
549 |
+
$innerValue = trim(substr ($value, 1, -1));
|
550 |
+
if ($innerValue === '') return array();
|
551 |
+
// Inline Mapping
|
552 |
+
// Take out strings sequences and mappings
|
553 |
+
$explode = $this->_inlineEscape($innerValue);
|
554 |
+
// Propagate value array
|
555 |
+
$array = array();
|
556 |
+
foreach ($explode as $v) {
|
557 |
+
$SubArr = $this->_toType($v);
|
558 |
+
if (empty($SubArr)) continue;
|
559 |
+
if (is_array ($SubArr)) {
|
560 |
+
$array[key($SubArr)] = $SubArr[key($SubArr)]; continue;
|
561 |
+
}
|
562 |
+
$array[] = $SubArr;
|
563 |
+
}
|
564 |
+
return $array;
|
565 |
+
}
|
566 |
+
|
567 |
+
if ($value == 'null' || $value == 'NULL' || $value == 'Null' || $value == '' || $value == '~') {
|
568 |
+
return null;
|
569 |
+
}
|
570 |
+
|
571 |
+
if (intval($first_character) > 0 && preg_match ('/^[1-9]+[0-9]*$/', $value)) {
|
572 |
+
$intvalue = (int)$value;
|
573 |
+
if ($intvalue != PHP_INT_MAX)
|
574 |
+
$value = $intvalue;
|
575 |
+
return $value;
|
576 |
+
}
|
577 |
+
|
578 |
+
if (in_array($value,
|
579 |
+
array('true', 'on', '+', 'yes', 'y', 'True', 'TRUE', 'On', 'ON', 'YES', 'Yes', 'Y'))) {
|
580 |
+
return true;
|
581 |
+
}
|
582 |
+
|
583 |
+
if (in_array(strtolower($value),
|
584 |
+
array('false', 'off', '-', 'no', 'n'))) {
|
585 |
+
return false;
|
586 |
+
}
|
587 |
+
|
588 |
+
if (is_numeric($value)) {
|
589 |
+
if ($value === '0') return 0;
|
590 |
+
if (trim ($value, 0) === $value)
|
591 |
+
$value = (float)$value;
|
592 |
+
return $value;
|
593 |
+
}
|
594 |
+
|
595 |
+
return $value;
|
596 |
+
}
|
597 |
+
|
598 |
+
/**
|
599 |
+
* Used in inlines to check for more inlines or quoted strings
|
600 |
+
* @access private
|
601 |
+
* @return array
|
602 |
+
*/
|
603 |
+
function _inlineEscape($inline) {
|
604 |
+
// There's gotta be a cleaner way to do this...
|
605 |
+
// While pure sequences seem to be nesting just fine,
|
606 |
+
// pure mappings and mappings with sequences inside can't go very
|
607 |
+
// deep. This needs to be fixed.
|
608 |
+
|
609 |
+
$seqs = array();
|
610 |
+
$maps = array();
|
611 |
+
$saved_strings = array();
|
612 |
+
|
613 |
+
// Check for strings
|
614 |
+
$regex = '/(?:(")|(?:\'))((?(1)[^"]+|[^\']+))(?(1)"|\')/';
|
615 |
+
if (preg_match_all($regex,$inline,$strings)) {
|
616 |
+
$saved_strings = $strings[0];
|
617 |
+
$inline = preg_replace($regex,'YAMLString',$inline);
|
618 |
+
}
|
619 |
+
unset($regex);
|
620 |
+
|
621 |
+
$i = 0;
|
622 |
+
do {
|
623 |
+
|
624 |
+
// Check for sequences
|
625 |
+
while (preg_match('/\[([^{}\[\]]+)\]/U',$inline,$matchseqs)) {
|
626 |
+
$seqs[] = $matchseqs[0];
|
627 |
+
$inline = preg_replace('/\[([^{}\[\]]+)\]/U', ('YAMLSeq' . (count($seqs) - 1) . 's'), $inline, 1);
|
628 |
+
}
|
629 |
+
|
630 |
+
// Check for mappings
|
631 |
+
while (preg_match('/{([^\[\]{}]+)}/U',$inline,$matchmaps)) {
|
632 |
+
$maps[] = $matchmaps[0];
|
633 |
+
$inline = preg_replace('/{([^\[\]{}]+)}/U', ('YAMLMap' . (count($maps) - 1) . 's'), $inline, 1);
|
634 |
+
}
|
635 |
+
|
636 |
+
if ($i++ >= 10) break;
|
637 |
+
|
638 |
+
} while (strpos ($inline, '[') !== false || strpos ($inline, '{') !== false);
|
639 |
+
|
640 |
+
$explode = explode(', ',$inline);
|
641 |
+
$stringi = 0; $i = 0;
|
642 |
+
|
643 |
+
while (1) {
|
644 |
+
|
645 |
+
// Re-add the sequences
|
646 |
+
if (!empty($seqs)) {
|
647 |
+
foreach ($explode as $key => $value) {
|
648 |
+
if (strpos($value,'YAMLSeq') !== false) {
|
649 |
+
foreach ($seqs as $seqk => $seq) {
|
650 |
+
$explode[$key] = str_replace(('YAMLSeq'.$seqk.'s'),$seq,$value);
|
651 |
+
$value = $explode[$key];
|
652 |
+
}
|
653 |
+
}
|
654 |
+
}
|
655 |
+
}
|
656 |
+
|
657 |
+
// Re-add the mappings
|
658 |
+
if (!empty($maps)) {
|
659 |
+
foreach ($explode as $key => $value) {
|
660 |
+
if (strpos($value,'YAMLMap') !== false) {
|
661 |
+
foreach ($maps as $mapk => $map) {
|
662 |
+
$explode[$key] = str_replace(('YAMLMap'.$mapk.'s'), $map, $value);
|
663 |
+
$value = $explode[$key];
|
664 |
+
}
|
665 |
+
}
|
666 |
+
}
|
667 |
+
}
|
668 |
+
|
669 |
+
|
670 |
+
// Re-add the strings
|
671 |
+
if (!empty($saved_strings)) {
|
672 |
+
foreach ($explode as $key => $value) {
|
673 |
+
while (strpos($value,'YAMLString') !== false) {
|
674 |
+
$explode[$key] = preg_replace('/YAMLString/',$saved_strings[$stringi],$value, 1);
|
675 |
+
unset($saved_strings[$stringi]);
|
676 |
+
++$stringi;
|
677 |
+
$value = $explode[$key];
|
678 |
+
}
|
679 |
+
}
|
680 |
+
}
|
681 |
+
|
682 |
+
$finished = true;
|
683 |
+
foreach ($explode as $key => $value) {
|
684 |
+
if (strpos($value,'YAMLSeq') !== false) {
|
685 |
+
$finished = false; break;
|
686 |
+
}
|
687 |
+
if (strpos($value,'YAMLMap') !== false) {
|
688 |
+
$finished = false; break;
|
689 |
+
}
|
690 |
+
if (strpos($value,'YAMLString') !== false) {
|
691 |
+
$finished = false; break;
|
692 |
+
}
|
693 |
+
}
|
694 |
+
if ($finished) break;
|
695 |
+
|
696 |
+
$i++;
|
697 |
+
if ($i > 10)
|
698 |
+
break; // Prevent infinite loops.
|
699 |
+
}
|
700 |
+
|
701 |
+
return $explode;
|
702 |
+
}
|
703 |
+
|
704 |
+
function literalBlockContinues ($line, $lineIndent) {
|
705 |
+
if (!trim($line)) return true;
|
706 |
+
if (strlen($line) - strlen(ltrim($line)) > $lineIndent) return true;
|
707 |
+
return false;
|
708 |
+
}
|
709 |
+
|
710 |
+
function referenceContentsByAlias ($alias) {
|
711 |
+
do {
|
712 |
+
if (!isset($this->SavedGroups[$alias])) { echo "Bad group name: $alias."; break; }
|
713 |
+
$groupPath = $this->SavedGroups[$alias];
|
714 |
+
$value = $this->result;
|
715 |
+
foreach ($groupPath as $k) {
|
716 |
+
$value = $value[$k];
|
717 |
+
}
|
718 |
+
} while (false);
|
719 |
+
return $value;
|
720 |
+
}
|
721 |
+
|
722 |
+
function addArrayInline ($array, $indent) {
|
723 |
+
$CommonGroupPath = $this->path;
|
724 |
+
if (empty ($array)) return false;
|
725 |
+
|
726 |
+
foreach ($array as $k => $_) {
|
727 |
+
$this->addArray(array($k => $_), $indent);
|
728 |
+
$this->path = $CommonGroupPath;
|
729 |
+
}
|
730 |
+
return true;
|
731 |
+
}
|
732 |
+
|
733 |
+
function addArray ($incoming_data, $incoming_indent) {
|
734 |
+
|
735 |
+
// print_r ($incoming_data);
|
736 |
+
|
737 |
+
if (count ($incoming_data) > 1)
|
738 |
+
return $this->addArrayInline ($incoming_data, $incoming_indent);
|
739 |
+
|
740 |
+
$key = key ($incoming_data);
|
741 |
+
$value = isset($incoming_data[$key]) ? $incoming_data[$key] : null;
|
742 |
+
if ($key === '__!YAMLZero') $key = '0';
|
743 |
+
|
744 |
+
if ($incoming_indent == 0 && !$this->_containsGroupAlias && !$this->_containsGroupAnchor) { // Shortcut for root-level values.
|
745 |
+
if ($key || $key === '' || $key === '0') {
|
746 |
+
$this->result[$key] = $value;
|
747 |
+
} else {
|
748 |
+
$this->result[] = $value; end ($this->result); $key = key ($this->result);
|
749 |
+
}
|
750 |
+
$this->path[$incoming_indent] = $key;
|
751 |
+
return;
|
752 |
+
}
|
753 |
+
|
754 |
+
|
755 |
+
|
756 |
+
$history = array();
|
757 |
+
// Unfolding inner array tree.
|
758 |
+
$history[] = $_arr = $this->result;
|
759 |
+
foreach ($this->path as $k) {
|
760 |
+
$history[] = $_arr = $_arr[$k];
|
761 |
+
}
|
762 |
+
|
763 |
+
if ($this->_containsGroupAlias) {
|
764 |
+
$value = $this->referenceContentsByAlias($this->_containsGroupAlias);
|
765 |
+
$this->_containsGroupAlias = false;
|
766 |
+
}
|
767 |
+
|
768 |
+
|
769 |
+
// Adding string or numeric key to the innermost level or $this->arr.
|
770 |
+
if (is_string($key) && $key == '<<') {
|
771 |
+
if (!is_array ($_arr)) { $_arr = array (); }
|
772 |
+
$_arr = array_merge ($_arr, $value);
|
773 |
+
} else if ($key || $key === '' || $key === '0') {
|
774 |
+
$_arr[$key] = $value;
|
775 |
+
} else {
|
776 |
+
if (!is_array ($_arr)) { $_arr = array ($value); $key = 0; }
|
777 |
+
else { $_arr[] = $value; end ($_arr); $key = key ($_arr); }
|
778 |
+
}
|
779 |
+
|
780 |
+
$reverse_path = array_reverse($this->path);
|
781 |
+
$reverse_history = array_reverse ($history);
|
782 |
+
$reverse_history[0] = $_arr;
|
783 |
+
$cnt = count($reverse_history) - 1;
|
784 |
+
for ($i = 0; $i < $cnt; $i++) {
|
785 |
+
$reverse_history[$i+1][$reverse_path[$i]] = $reverse_history[$i];
|
786 |
+
}
|
787 |
+
$this->result = $reverse_history[$cnt];
|
788 |
+
|
789 |
+
$this->path[$incoming_indent] = $key;
|
790 |
+
|
791 |
+
if ($this->_containsGroupAnchor) {
|
792 |
+
$this->SavedGroups[$this->_containsGroupAnchor] = $this->path;
|
793 |
+
if (is_array ($value)) {
|
794 |
+
$k = key ($value);
|
795 |
+
if (!is_int ($k)) {
|
796 |
+
$this->SavedGroups[$this->_containsGroupAnchor][$incoming_indent + 2] = $k;
|
797 |
+
}
|
798 |
+
}
|
799 |
+
$this->_containsGroupAnchor = false;
|
800 |
+
}
|
801 |
+
|
802 |
+
}
|
803 |
+
|
804 |
+
function startsLiteralBlock ($line) {
|
805 |
+
$lastChar = substr (trim($line), -1);
|
806 |
+
if ($lastChar != '>' && $lastChar != '|') return false;
|
807 |
+
if ($lastChar == '|') return $lastChar;
|
808 |
+
// HTML tags should not be counted as literal blocks.
|
809 |
+
if (preg_match ('#<.*?>$#', $line)) return false;
|
810 |
+
return $lastChar;
|
811 |
+
}
|
812 |
+
|
813 |
+
function greedilyNeedNextLine($line) {
|
814 |
+
$line = trim ($line);
|
815 |
+
if (!strlen($line)) return false;
|
816 |
+
if (substr ($line, -1, 1) == ']') return false;
|
817 |
+
if ($line[0] == '[') return true;
|
818 |
+
if (preg_match ('#^[^:]+?:\s*\[#', $line)) return true;
|
819 |
+
return false;
|
820 |
+
}
|
821 |
+
|
822 |
+
function addLiteralLine ($literalBlock, $line, $literalBlockStyle) {
|
823 |
+
$line = $this->stripIndent($line);
|
824 |
+
$line = rtrim ($line, "\r\n\t ") . "\n";
|
825 |
+
if ($literalBlockStyle == '|') {
|
826 |
+
return $literalBlock . $line;
|
827 |
+
}
|
828 |
+
if (strlen($line) == 0)
|
829 |
+
return rtrim($literalBlock, ' ') . "\n";
|
830 |
+
if ($line == "\n" && $literalBlockStyle == '>') {
|
831 |
+
return rtrim ($literalBlock, " \t") . "\n";
|
832 |
+
}
|
833 |
+
if ($line != "\n")
|
834 |
+
$line = trim ($line, "\r\n ") . " ";
|
835 |
+
return $literalBlock . $line;
|
836 |
+
}
|
837 |
+
|
838 |
+
function revertLiteralPlaceHolder ($lineArray, $literalBlock) {
|
839 |
+
foreach ($lineArray as $k => $_) {
|
840 |
+
if (is_array($_))
|
841 |
+
$lineArray[$k] = $this->revertLiteralPlaceHolder ($_, $literalBlock);
|
842 |
+
else if (substr($_, -1 * strlen ($this->LiteralPlaceHolder)) == $this->LiteralPlaceHolder)
|
843 |
+
$lineArray[$k] = rtrim ($literalBlock, " \r\n");
|
844 |
+
}
|
845 |
+
return $lineArray;
|
846 |
+
}
|
847 |
+
|
848 |
+
function stripIndent ($line, $indent = -1) {
|
849 |
+
if ($indent == -1) $indent = strlen($line) - strlen(ltrim($line));
|
850 |
+
return substr ($line, $indent);
|
851 |
+
}
|
852 |
+
|
853 |
+
function getParentPathByIndent ($indent) {
|
854 |
+
if ($indent == 0) return array();
|
855 |
+
$linePath = $this->path;
|
856 |
+
do {
|
857 |
+
end($linePath); $lastIndentInParentPath = key($linePath);
|
858 |
+
if ($indent <= $lastIndentInParentPath) array_pop ($linePath);
|
859 |
+
} while ($indent <= $lastIndentInParentPath);
|
860 |
+
return $linePath;
|
861 |
+
}
|
862 |
+
|
863 |
+
|
864 |
+
function clearBiggerPathValues ($indent) {
|
865 |
+
|
866 |
+
|
867 |
+
if ($indent == 0) $this->path = array();
|
868 |
+
if (empty ($this->path)) return true;
|
869 |
+
|
870 |
+
foreach ($this->path as $k => $_) {
|
871 |
+
if ($k > $indent) unset ($this->path[$k]);
|
872 |
+
}
|
873 |
+
|
874 |
+
return true;
|
875 |
+
}
|
876 |
+
|
877 |
+
|
878 |
+
function isComment ($line) {
|
879 |
+
if (!$line) return false;
|
880 |
+
if ($line[0] == '#') return true;
|
881 |
+
if (trim($line, " \r\n\t") == '---') return true;
|
882 |
+
return false;
|
883 |
+
}
|
884 |
+
|
885 |
+
function isEmpty ($line) {
|
886 |
+
return (trim ($line) === '');
|
887 |
+
}
|
888 |
+
|
889 |
+
|
890 |
+
function isArrayElement ($line) {
|
891 |
+
if (!$line) return false;
|
892 |
+
if ($line[0] != '-') return false;
|
893 |
+
if (strlen ($line) > 3)
|
894 |
+
if (substr($line,0,3) == '---') return false;
|
895 |
+
|
896 |
+
return true;
|
897 |
+
}
|
898 |
+
|
899 |
+
function isHashElement ($line) {
|
900 |
+
return strpos($line, ':');
|
901 |
+
}
|
902 |
+
|
903 |
+
function isLiteral ($line) {
|
904 |
+
if ($this->isArrayElement($line)) return false;
|
905 |
+
if ($this->isHashElement($line)) return false;
|
906 |
+
return true;
|
907 |
+
}
|
908 |
+
|
909 |
+
|
910 |
+
function unquote ($value) {
|
911 |
+
if (!$value) return $value;
|
912 |
+
if (!is_string($value)) return $value;
|
913 |
+
if ($value[0] == '\'') return trim ($value, '\'');
|
914 |
+
if ($value[0] == '"') return trim ($value, '"');
|
915 |
+
return $value;
|
916 |
+
}
|
917 |
+
|
918 |
+
function startsMappedSequence ($line) {
|
919 |
+
return ($line[0] == '-' && substr ($line, -1, 1) == ':');
|
920 |
+
}
|
921 |
+
|
922 |
+
function returnMappedSequence ($line) {
|
923 |
+
$array = array();
|
924 |
+
$key = $this->unquote(trim(substr($line,1,-1)));
|
925 |
+
$array[$key] = array();
|
926 |
+
$this->delayedPath = array(strpos ($line, $key) + $this->indent => $key);
|
927 |
+
return array($array);
|
928 |
+
}
|
929 |
+
|
930 |
+
function returnMappedValue ($line) {
|
931 |
+
$array = array();
|
932 |
+
$key = $this->unquote (trim(substr($line,0,-1)));
|
933 |
+
$array[$key] = '';
|
934 |
+
return $array;
|
935 |
+
}
|
936 |
+
|
937 |
+
function startsMappedValue ($line) {
|
938 |
+
return (substr ($line, -1, 1) == ':');
|
939 |
+
}
|
940 |
+
|
941 |
+
function isPlainArray ($line) {
|
942 |
+
return ($line[0] == '[' && substr ($line, -1, 1) == ']');
|
943 |
+
}
|
944 |
+
|
945 |
+
function returnPlainArray ($line) {
|
946 |
+
return $this->_toType($line);
|
947 |
+
}
|
948 |
+
|
949 |
+
function returnKeyValuePair ($line) {
|
950 |
+
$array = array();
|
951 |
+
$key = '';
|
952 |
+
if (strpos ($line, ':')) {
|
953 |
+
// It's a key/value pair most likely
|
954 |
+
// If the key is in double quotes pull it out
|
955 |
+
if (($line[0] == '"' || $line[0] == "'") && preg_match('/^(["\'](.*)["\'](\s)*:)/',$line,$matches)) {
|
956 |
+
$value = trim(str_replace($matches[1],'',$line));
|
957 |
+
$key = $matches[2];
|
958 |
+
} else {
|
959 |
+
// Do some guesswork as to the key and the value
|
960 |
+
$explode = explode(':',$line);
|
961 |
+
$key = trim($explode[0]);
|
962 |
+
array_shift($explode);
|
963 |
+
$value = trim(implode(':',$explode));
|
964 |
+
}
|
965 |
+
// Set the type of the value. Int, string, etc
|
966 |
+
$value = $this->_toType($value);
|
967 |
+
if ($key === '0') $key = '__!YAMLZero';
|
968 |
+
$array[$key] = $value;
|
969 |
+
} else {
|
970 |
+
$array = array ($line);
|
971 |
+
}
|
972 |
+
return $array;
|
973 |
+
|
974 |
+
}
|
975 |
+
|
976 |
+
|
977 |
+
function returnArrayElement ($line) {
|
978 |
+
if (strlen($line) <= 1) return array(array()); // Weird %)
|
979 |
+
$array = array();
|
980 |
+
$value = trim(substr($line,1));
|
981 |
+
$value = $this->_toType($value);
|
982 |
+
$array[] = $value;
|
983 |
+
return $array;
|
984 |
+
}
|
985 |
+
|
986 |
+
|
987 |
+
function nodeContainsGroup ($line) {
|
988 |
+
$symbolsForReference = 'A-z0-9_\-';
|
989 |
+
if (strpos($line, '&') === false && strpos($line, '*') === false) return false; // Please die fast ;-)
|
990 |
+
if ($line[0] == '&' && preg_match('/^(&['.$symbolsForReference.']+)/', $line, $matches)) return $matches[1];
|
991 |
+
if ($line[0] == '*' && preg_match('/^(\*['.$symbolsForReference.']+)/', $line, $matches)) return $matches[1];
|
992 |
+
if (preg_match('/(&['.$symbolsForReference.']+)$/', $line, $matches)) return $matches[1];
|
993 |
+
if (preg_match('/(\*['.$symbolsForReference.']+$)/', $line, $matches)) return $matches[1];
|
994 |
+
if (preg_match ('#^\s*<<\s*:\s*(\*[^\s]+).*$#', $line, $matches)) return $matches[1];
|
995 |
+
return false;
|
996 |
+
|
997 |
+
}
|
998 |
+
|
999 |
+
function addGroup ($line, $group) {
|
1000 |
+
if ($group[0] == '&') $this->_containsGroupAnchor = substr ($group, 1);
|
1001 |
+
if ($group[0] == '*') $this->_containsGroupAlias = substr ($group, 1);
|
1002 |
+
//print_r ($this->path);
|
1003 |
+
}
|
1004 |
+
|
1005 |
+
function stripGroup ($line, $group) {
|
1006 |
+
$line = trim(str_replace($group, '', $line));
|
1007 |
+
return $line;
|
1008 |
+
}
|
1009 |
+
}
|
1010 |
+
|
1011 |
+
// Enable use of Spyc from command line
|
1012 |
+
// The syntax is the following: php spyc.php spyc.yaml
|
1013 |
+
|
1014 |
+
define ('SPYC_FROM_COMMAND_LINE', false);
|
1015 |
+
|
1016 |
+
do {
|
1017 |
+
if (!SPYC_FROM_COMMAND_LINE) break;
|
1018 |
+
if (empty ($_SERVER['argc']) || $_SERVER['argc'] < 2) break;
|
1019 |
+
if (empty ($_SERVER['PHP_SELF']) || $_SERVER['PHP_SELF'] != 'spyc.php') break;
|
1020 |
+
$file = $argv[1];
|
1021 |
+
printf ("Spyc loading file: %s\n", $file);
|
1022 |
+
print_r (spyc_load_file ($file));
|
1023 |
+
} while (0);
|
vendor/mickey-kay/better-font-awesome-library/vendor/mustangostang/spyc/php4/test.php4
ADDED
@@ -0,0 +1,162 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
#
|
3 |
+
# S P Y C
|
4 |
+
# a simple php yaml class
|
5 |
+
# v0.3
|
6 |
+
#
|
7 |
+
# author: [chris wanstrath, chris@ozmm.org]
|
8 |
+
# websites: [http://www.yaml.org, http://spyc.sourceforge.net/]
|
9 |
+
# license: [MIT License, http://www.opensource.org/licenses/mit-license.php]
|
10 |
+
# copyright: (c) 2005-2006 Chris Wanstrath
|
11 |
+
#
|
12 |
+
# We're gonna load a file into memory and see if we get what we expect.
|
13 |
+
# If not, we're gonna complain.
|
14 |
+
#
|
15 |
+
# Pretty lo-fi. Let's see if we can't get some unit testing going in the next,
|
16 |
+
# I dunno, 20 months? Alright. Go team.
|
17 |
+
#
|
18 |
+
|
19 |
+
error_reporting(E_ALL);
|
20 |
+
|
21 |
+
include('spyc.php4');
|
22 |
+
|
23 |
+
$yaml = Spyc::YAMLLoad('../spyc.yaml');
|
24 |
+
|
25 |
+
// print_r ($yaml);
|
26 |
+
|
27 |
+
# Added in .2
|
28 |
+
if ($yaml[1040] != "Ooo, a numeric key!")
|
29 |
+
die('Key: 1040 failed');
|
30 |
+
|
31 |
+
# Test mappings / types
|
32 |
+
if ($yaml['String'] != "Anyone's name, really.")
|
33 |
+
die('Key: String failed');
|
34 |
+
|
35 |
+
if ($yaml['Int'] !== 13)
|
36 |
+
die('Key: Int failed');
|
37 |
+
|
38 |
+
if ($yaml['True'] !== true)
|
39 |
+
die('Key: True failed');
|
40 |
+
|
41 |
+
if ($yaml['False'] !== false)
|
42 |
+
die('Key: False failed');
|
43 |
+
|
44 |
+
if ($yaml['Zero'] !== 0)
|
45 |
+
die('Key: Zero failed');
|
46 |
+
|
47 |
+
if (isset($yaml['Null']))
|
48 |
+
die('Key: Null failed');
|
49 |
+
|
50 |
+
if ($yaml['Float'] !== 5.34)
|
51 |
+
die('Key: Float failed');
|
52 |
+
|
53 |
+
|
54 |
+
# Test sequences
|
55 |
+
if ($yaml[0] != "PHP Class")
|
56 |
+
die('Sequence 0 failed');
|
57 |
+
|
58 |
+
if ($yaml[1] != "Basic YAML Loader")
|
59 |
+
die('Sequence 1 failed');
|
60 |
+
|
61 |
+
if ($yaml[2] != "Very Basic YAML Dumper")
|
62 |
+
die('Sequence 2 failed');
|
63 |
+
|
64 |
+
# A sequence of a sequence
|
65 |
+
if ($yaml[3] != array("YAML is so easy to learn.",
|
66 |
+
"Your config files will never be the same."))
|
67 |
+
die('Sequence 3 failed');
|
68 |
+
|
69 |
+
# Sequence of mappings
|
70 |
+
if ($yaml[4] != array("cpu" => "1.5ghz", "ram" => "1 gig",
|
71 |
+
"os" => "os x 10.4.1"))
|
72 |
+
die('Sequence 4 failed');
|
73 |
+
|
74 |
+
# Mapped sequence
|
75 |
+
if ($yaml['domains'] != array("yaml.org", "php.net"))
|
76 |
+
die("Key: 'domains' failed");
|
77 |
+
|
78 |
+
# A sequence like this.
|
79 |
+
if ($yaml[5] != array("program" => "Adium", "platform" => "OS X",
|
80 |
+
"type" => "Chat Client"))
|
81 |
+
die('Sequence 5 failed');
|
82 |
+
|
83 |
+
# A folded block as a mapped value
|
84 |
+
if ($yaml['no time'] != "There isn't any time for your tricks!\nDo you understand?")
|
85 |
+
die("Key: 'no time' failed");
|
86 |
+
|
87 |
+
# A literal block as a mapped value
|
88 |
+
if ($yaml['some time'] != "There is nothing but time\nfor your tricks.")
|
89 |
+
die("Key: 'some time' failed");
|
90 |
+
|
91 |
+
# Crazy combinations
|
92 |
+
if ($yaml['databases'] != array( array("name" => "spartan", "notes" =>
|
93 |
+
array( "Needs to be backed up",
|
94 |
+
"Needs to be normalized" ),
|
95 |
+
"type" => "mysql" )))
|
96 |
+
die("Key: 'databases' failed");
|
97 |
+
|
98 |
+
# You can be a bit tricky
|
99 |
+
if ($yaml["if: you'd"] != "like")
|
100 |
+
die("Key: 'if: you\'d' failed");
|
101 |
+
|
102 |
+
# Inline sequences
|
103 |
+
if ($yaml[6] != array("One", "Two", "Three", "Four"))
|
104 |
+
die("Sequence 6 failed");
|
105 |
+
|
106 |
+
# Nested Inline Sequences
|
107 |
+
if ($yaml[7] != array("One", array("Two", "And", "Three"), "Four", "Five"))
|
108 |
+
die("Sequence 7 failed");
|
109 |
+
|
110 |
+
# Nested Nested Inline Sequences
|
111 |
+
if ($yaml[8] != array( "This", array("Is", "Getting", array("Ridiculous", "Guys")),
|
112 |
+
"Seriously", array("Show", "Mercy")))
|
113 |
+
die("Sequence 8 failed");
|
114 |
+
|
115 |
+
# Inline mappings
|
116 |
+
if ($yaml[9] != array("name" => "chris", "age" => "young", "brand" => "lucky strike"))
|
117 |
+
die("Sequence 9 failed");
|
118 |
+
|
119 |
+
# Nested inline mappings
|
120 |
+
if ($yaml[10] != array("name" => "mark", "age" => "older than chris",
|
121 |
+
"brand" => array("marlboro", "lucky strike")))
|
122 |
+
die("Sequence 10 failed");
|
123 |
+
|
124 |
+
# References -- they're shaky, but functional
|
125 |
+
if ($yaml['dynamic languages'] != array('Perl', 'Python', 'PHP', 'Ruby'))
|
126 |
+
die("Key: 'dynamic languages' failed");
|
127 |
+
|
128 |
+
if ($yaml['compiled languages'] != array('C/C++', 'Java'))
|
129 |
+
die("Key: 'compiled languages' failed");
|
130 |
+
|
131 |
+
if ($yaml['all languages'] != array(
|
132 |
+
array('Perl', 'Python', 'PHP', 'Ruby'),
|
133 |
+
array('C/C++', 'Java')
|
134 |
+
))
|
135 |
+
die("Key: 'all languages' failed");
|
136 |
+
|
137 |
+
# Added in .2.2: Escaped quotes
|
138 |
+
if ($yaml[11] != "you know, this shouldn't work. but it does.")
|
139 |
+
die("Sequence 11 failed.");
|
140 |
+
|
141 |
+
if ($yaml[12] != "that's my value.")
|
142 |
+
die("Sequence 12 failed.");
|
143 |
+
|
144 |
+
if ($yaml[13] != "again, that's my value.")
|
145 |
+
die("Sequence 13 failed.");
|
146 |
+
|
147 |
+
if ($yaml[14] != "here's to \"quotes\", boss.")
|
148 |
+
die("Sequence 14 failed.");
|
149 |
+
|
150 |
+
if ($yaml[15] != array( 'name' => "Foo, Bar's", 'age' => 20))
|
151 |
+
die("Sequence 15 failed.");
|
152 |
+
|
153 |
+
if ($yaml[16] != array( 0 => "a", 1 => array (0 => 1, 1 => 2), 2 => "b"))
|
154 |
+
die("Sequence 16 failed.");
|
155 |
+
|
156 |
+
if ($yaml['endloop'] != "Does this line in the end indeed make Spyc go to an infinite loop?")
|
157 |
+
die("[endloop] failed.");
|
158 |
+
|
159 |
+
|
160 |
+
print "spyc.yaml parsed correctly\n";
|
161 |
+
|
162 |
+
?>
|
vendor/mickey-kay/better-font-awesome-library/vendor/mustangostang/spyc/spyc.yaml
ADDED
@@ -0,0 +1,219 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#
|
2 |
+
# S P Y C
|
3 |
+
# a simple php yaml class
|
4 |
+
#
|
5 |
+
# authors: [vlad andersen (vlad.andersen@gmail.com), chris wanstrath (chris@ozmm.org)]
|
6 |
+
# websites: [http://www.yaml.org, http://spyc.sourceforge.net/]
|
7 |
+
# license: [MIT License, http://www.opensource.org/licenses/mit-license.php]
|
8 |
+
# copyright: (c) 2005-2006 Chris Wanstrath, 2006-2014 Vlad Andersen
|
9 |
+
#
|
10 |
+
# spyc.yaml - A file containing the YAML that Spyc understands.
|
11 |
+
|
12 |
+
---
|
13 |
+
|
14 |
+
# Mappings - with proper types
|
15 |
+
String: Anyone's name, really.
|
16 |
+
Int: 13
|
17 |
+
BadHex: f0xf3
|
18 |
+
Hex: 0xf3
|
19 |
+
True: true
|
20 |
+
False: false
|
21 |
+
Zero: 0
|
22 |
+
Null: NULL
|
23 |
+
NotNull: 'null'
|
24 |
+
NotTrue: 'y'
|
25 |
+
NotBoolTrue: 'true'
|
26 |
+
NotInt: '5'
|
27 |
+
Float: 5.34
|
28 |
+
Negative: -90
|
29 |
+
SmallFloat: 0.7
|
30 |
+
NewLine: \n
|
31 |
+
QuotedNewLine: "\n"
|
32 |
+
|
33 |
+
# A sequence
|
34 |
+
- PHP Class
|
35 |
+
- Basic YAML Loader
|
36 |
+
- Very Basic YAML Dumper
|
37 |
+
|
38 |
+
# A sequence of a sequence
|
39 |
+
-
|
40 |
+
- YAML is so easy to learn.
|
41 |
+
- Your config files will never be the same.
|
42 |
+
|
43 |
+
# Sequence of mappings
|
44 |
+
-
|
45 |
+
cpu: 1.5ghz
|
46 |
+
ram: 1 gig
|
47 |
+
os : os x 10.4.1
|
48 |
+
|
49 |
+
# Mapped sequence
|
50 |
+
domains:
|
51 |
+
- yaml.org
|
52 |
+
- php.net
|
53 |
+
|
54 |
+
# A sequence like this.
|
55 |
+
- program: Adium
|
56 |
+
platform: OS X
|
57 |
+
type: Chat Client
|
58 |
+
|
59 |
+
# A folded block as a mapped value
|
60 |
+
no time: >
|
61 |
+
There isn't any time
|
62 |
+
for your tricks!
|
63 |
+
|
64 |
+
Do you understand?
|
65 |
+
|
66 |
+
# A literal block as a mapped value
|
67 |
+
some time: |
|
68 |
+
There is nothing but time
|
69 |
+
for your tricks.
|
70 |
+
|
71 |
+
# Crazy combinations
|
72 |
+
databases:
|
73 |
+
- name: spartan
|
74 |
+
notes:
|
75 |
+
- Needs to be backed up
|
76 |
+
- Needs to be normalized
|
77 |
+
type: mysql
|
78 |
+
|
79 |
+
# You can be a bit tricky
|
80 |
+
"if: you'd": like
|
81 |
+
|
82 |
+
# Inline sequences
|
83 |
+
- [One, Two, Three, Four]
|
84 |
+
|
85 |
+
# Nested Inline Sequences
|
86 |
+
- [One, [Two, And, Three], Four, Five]
|
87 |
+
|
88 |
+
# Nested Nested Inline Sequences
|
89 |
+
- [This, [Is, Getting, [Ridiculous, Guys]], Seriously, [Show, Mercy]]
|
90 |
+
|
91 |
+
# Inline mappings
|
92 |
+
- {name: chris, age: young, brand: lucky strike}
|
93 |
+
|
94 |
+
# Nested inline mappings
|
95 |
+
- {name: mark, age: older than chris, brand: [marlboro, lucky strike]}
|
96 |
+
|
97 |
+
# References -- they're shaky, but functional
|
98 |
+
dynamic languages: &DLANGS
|
99 |
+
- Perl
|
100 |
+
- Python
|
101 |
+
- PHP
|
102 |
+
- Ruby
|
103 |
+
compiled languages: &CLANGS
|
104 |
+
- C/C++
|
105 |
+
- Java
|
106 |
+
all languages:
|
107 |
+
- *DLANGS
|
108 |
+
- *CLANGS
|
109 |
+
|
110 |
+
# Added in .2.2: Escaped quotes
|
111 |
+
- you know, this shouldn't work. but it does.
|
112 |
+
- 'that''s my value.'
|
113 |
+
- 'again, that\'s my value.'
|
114 |
+
- "here's to \"quotes\", boss."
|
115 |
+
|
116 |
+
# added in .2.3
|
117 |
+
- {name: "Foo, Bar's", age: 20}
|
118 |
+
|
119 |
+
# Added in .2.4: bug [ 1418193 ] Quote Values in Nested Arrays
|
120 |
+
- [a, ['1', "2"], b]
|
121 |
+
|
122 |
+
# Add in .5.2: Quoted new line values.
|
123 |
+
- "First line\nSecond line\nThird line"
|
124 |
+
|
125 |
+
# Added in .2.4: malformed YAML
|
126 |
+
all
|
127 |
+
javascripts: [dom1.js, dom.js]
|
128 |
+
|
129 |
+
# Added in .2
|
130 |
+
1040: Ooo, a numeric key! # And working comments? Wow! Colons in comments: a menace (0.3).
|
131 |
+
|
132 |
+
hash_1: Hash #and a comment
|
133 |
+
hash_2: "Hash #and a comment"
|
134 |
+
"hash#3": "Hash (#) can appear in key too"
|
135 |
+
|
136 |
+
float_test: 1.0
|
137 |
+
float_test_with_quotes: '1.0'
|
138 |
+
float_inverse_test: 001
|
139 |
+
|
140 |
+
a_really_large_number: 115792089237316195423570985008687907853269984665640564039457584007913129639936 # 2^256
|
141 |
+
|
142 |
+
int array: [ 1, 2, 3 ]
|
143 |
+
|
144 |
+
array on several lines:
|
145 |
+
[ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9,
|
146 |
+
10, 11, 12, 13, 14, 15, 16, 17, 18, 19 ]
|
147 |
+
|
148 |
+
morelesskey: "<value>"
|
149 |
+
|
150 |
+
array_of_zero: [0]
|
151 |
+
sophisticated_array_of_zero: {rx: {tx: [0]} }
|
152 |
+
|
153 |
+
switches:
|
154 |
+
- { row: 0, col: 0, func: {tx: [0, 1]} }
|
155 |
+
|
156 |
+
empty_sequence: [ ]
|
157 |
+
empty_hash: { }
|
158 |
+
|
159 |
+
special_characters: "[{]]{{]]"
|
160 |
+
|
161 |
+
asterisks: "*"
|
162 |
+
|
163 |
+
empty_key:
|
164 |
+
:
|
165 |
+
key: value
|
166 |
+
|
167 |
+
trailing_colon: "foo:"
|
168 |
+
|
169 |
+
multiline_items:
|
170 |
+
- type: SomeItem
|
171 |
+
values: [blah, blah, blah,
|
172 |
+
blah]
|
173 |
+
ints: [2, 54, 12,
|
174 |
+
2143]
|
175 |
+
|
176 |
+
many_lines: |
|
177 |
+
A quick
|
178 |
+
fox
|
179 |
+
|
180 |
+
|
181 |
+
jumped
|
182 |
+
over
|
183 |
+
|
184 |
+
|
185 |
+
|
186 |
+
|
187 |
+
|
188 |
+
a lazy
|
189 |
+
|
190 |
+
|
191 |
+
|
192 |
+
dog
|
193 |
+
|
194 |
+
|
195 |
+
werte:
|
196 |
+
1: nummer 1
|
197 |
+
0: Stunde 0
|
198 |
+
|
199 |
+
noindent_records:
|
200 |
+
- record1: value1
|
201 |
+
- record2: value2
|
202 |
+
|
203 |
+
"a:1": [1000]
|
204 |
+
"a:2":
|
205 |
+
- 2000
|
206 |
+
a:3: [3000]
|
207 |
+
|
208 |
+
complex_unquoted_key:
|
209 |
+
a:b:''test': value
|
210 |
+
|
211 |
+
array with commas:
|
212 |
+
["0","1"]
|
213 |
+
|
214 |
+
invoice: ["Something", "", '', "Something else"]
|
215 |
+
quotes: ['Something', "Nothing", 'Anything', "Thing"]
|
216 |
+
|
217 |
+
# [Endloop]
|
218 |
+
endloop: |
|
219 |
+
Does this line in the end indeed make Spyc go to an infinite loop?
|
vendor/mickey-kay/better-font-awesome-library/vendor/mustangostang/spyc/tests/DumpTest.php
ADDED
@@ -0,0 +1,196 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
require_once ("../Spyc.php");
|
4 |
+
|
5 |
+
class DumpTest extends PHPUnit_Framework_TestCase {
|
6 |
+
|
7 |
+
private $files_to_test = array();
|
8 |
+
|
9 |
+
public function setUp() {
|
10 |
+
$this->files_to_test = array ('../spyc.yaml', 'failing1.yaml', 'indent_1.yaml', 'quotes.yaml');
|
11 |
+
}
|
12 |
+
|
13 |
+
public function testShortSyntax() {
|
14 |
+
$dump = spyc_dump(array ('item1', 'item2', 'item3'));
|
15 |
+
$awaiting = "- item1\n- item2\n- item3\n";
|
16 |
+
$this->assertEquals ($awaiting, $dump);
|
17 |
+
}
|
18 |
+
|
19 |
+
public function testDump() {
|
20 |
+
foreach ($this->files_to_test as $file) {
|
21 |
+
$yaml = spyc_load(file_get_contents($file));
|
22 |
+
$dump = Spyc::YAMLDump ($yaml);
|
23 |
+
$yaml_after_dump = Spyc::YAMLLoad ($dump);
|
24 |
+
$this->assertEquals ($yaml, $yaml_after_dump);
|
25 |
+
}
|
26 |
+
}
|
27 |
+
|
28 |
+
public function testDumpWithQuotes() {
|
29 |
+
$Spyc = new Spyc();
|
30 |
+
$Spyc->setting_dump_force_quotes = true;
|
31 |
+
foreach ($this->files_to_test as $file) {
|
32 |
+
$yaml = $Spyc->load(file_get_contents($file));
|
33 |
+
$dump = $Spyc->dump ($yaml);
|
34 |
+
$yaml_after_dump = Spyc::YAMLLoad ($dump);
|
35 |
+
$this->assertEquals ($yaml, $yaml_after_dump);
|
36 |
+
}
|
37 |
+
}
|
38 |
+
|
39 |
+
public function testDumpArrays() {
|
40 |
+
$dump = Spyc::YAMLDump(array ('item1', 'item2', 'item3'));
|
41 |
+
$awaiting = "---\n- item1\n- item2\n- item3\n";
|
42 |
+
$this->assertEquals ($awaiting, $dump);
|
43 |
+
}
|
44 |
+
|
45 |
+
public function testNull() {
|
46 |
+
$dump = Spyc::YAMLDump(array('a' => 1, 'b' => null, 'c' => 3));
|
47 |
+
$awaiting = "---\na: 1\nb: null\nc: 3\n";
|
48 |
+
$this->assertEquals ($awaiting, $dump);
|
49 |
+
}
|
50 |
+
|
51 |
+
public function testNext() {
|
52 |
+
$array = array("aaa", "bbb", "ccc");
|
53 |
+
#set arrays internal pointer to next element
|
54 |
+
next($array);
|
55 |
+
$dump = Spyc::YAMLDump($array);
|
56 |
+
$awaiting = "---\n- aaa\n- bbb\n- ccc\n";
|
57 |
+
$this->assertEquals ($awaiting, $dump);
|
58 |
+
}
|
59 |
+
|
60 |
+
public function testDumpingMixedArrays() {
|
61 |
+
$array = array();
|
62 |
+
$array[] = 'Sequence item';
|
63 |
+
$array['The Key'] = 'Mapped value';
|
64 |
+
$array[] = array('A sequence','of a sequence');
|
65 |
+
$array[] = array('first' => 'A sequence','second' => 'of mapped values');
|
66 |
+
$array['Mapped'] = array('A sequence','which is mapped');
|
67 |
+
$array['A Note'] = 'What if your text is too long?';
|
68 |
+
$array['Another Note'] = 'If that is the case, the dumper will probably fold your text by using a block. Kinda like this.';
|
69 |
+
$array['The trick?'] = 'The trick is that we overrode the default indent, 2, to 4 and the default wordwrap, 40, to 60.';
|
70 |
+
$array['Old Dog'] = "And if you want\n to preserve line breaks, \ngo ahead!";
|
71 |
+
$array['key:withcolon'] = "Should support this to";
|
72 |
+
|
73 |
+
$yaml = Spyc::YAMLDump($array,4,60);
|
74 |
+
}
|
75 |
+
|
76 |
+
public function testMixed() {
|
77 |
+
$dump = Spyc::YAMLDump(array(0 => 1, 'b' => 2, 1 => 3));
|
78 |
+
$awaiting = "---\n0: 1\nb: 2\n1: 3\n";
|
79 |
+
$this->assertEquals ($awaiting, $dump);
|
80 |
+
}
|
81 |
+
|
82 |
+
public function testDumpNumerics() {
|
83 |
+
$dump = Spyc::YAMLDump(array ('404', '405', '500'));
|
84 |
+
$awaiting = "---\n- \"404\"\n- \"405\"\n- \"500\"\n";
|
85 |
+
$this->assertEquals ($awaiting, $dump);
|
86 |
+
}
|
87 |
+
|
88 |
+
public function testDumpAsterisks() {
|
89 |
+
$dump = Spyc::YAMLDump(array ('*'));
|
90 |
+
$awaiting = "---\n- '*'\n";
|
91 |
+
$this->assertEquals ($awaiting, $dump);
|
92 |
+
}
|
93 |
+
|
94 |
+
public function testDumpAmpersands() {
|
95 |
+
$dump = Spyc::YAMLDump(array ('some' => '&foo'));
|
96 |
+
$awaiting = "---\nsome: '&foo'\n";
|
97 |
+
$this->assertEquals ($awaiting, $dump);
|
98 |
+
}
|
99 |
+
|
100 |
+
public function testDumpExclamations() {
|
101 |
+
$dump = Spyc::YAMLDump(array ('some' => '!foo'));
|
102 |
+
$awaiting = "---\nsome: '!foo'\n";
|
103 |
+
$this->assertEquals ($awaiting, $dump);
|
104 |
+
}
|
105 |
+
|
106 |
+
public function testDumpExclamations2() {
|
107 |
+
$dump = Spyc::YAMLDump(array ('some' => 'foo!'));
|
108 |
+
$awaiting = "---\nsome: foo!\n";
|
109 |
+
$this->assertEquals ($awaiting, $dump);
|
110 |
+
}
|
111 |
+
|
112 |
+
public function testDumpApostrophes() {
|
113 |
+
$dump = Spyc::YAMLDump(array ('some' => "'Biz' pimpt bedrijventerreinen"));
|
114 |
+
$awaiting = "---\nsome: \"'Biz' pimpt bedrijventerreinen\"\n";
|
115 |
+
$this->assertEquals ($awaiting, $dump);
|
116 |
+
}
|
117 |
+
|
118 |
+
public function testDumpNumericHashes() {
|
119 |
+
$dump = Spyc::YAMLDump(array ("titel"=> array("0" => "", 1 => "Dr.", 5 => "Prof.", 6 => "Prof. Dr.")));
|
120 |
+
$awaiting = "---\ntitel:\n 0: \"\"\n 1: Dr.\n 5: Prof.\n 6: Prof. Dr.\n";
|
121 |
+
$this->assertEquals ($awaiting, $dump);
|
122 |
+
}
|
123 |
+
|
124 |
+
public function testEmpty() {
|
125 |
+
$dump = Spyc::YAMLDump(array("foo" => array()));
|
126 |
+
$awaiting = "---\nfoo: [ ]\n";
|
127 |
+
$this->assertEquals ($awaiting, $dump);
|
128 |
+
}
|
129 |
+
|
130 |
+
public function testHashesInKeys() {
|
131 |
+
$dump = Spyc::YAMLDump(array ('#color' => '#ffffff'));
|
132 |
+
$awaiting = "---\n\"#color\": '#ffffff'\n";
|
133 |
+
$this->assertEquals ($awaiting, $dump);
|
134 |
+
}
|
135 |
+
|
136 |
+
public function testParagraph() {
|
137 |
+
$dump = Spyc::YAMLDump(array ('key' => "|\n value"));
|
138 |
+
$awaiting = "---\nkey: |\n value\n";
|
139 |
+
$this->assertEquals ($awaiting, $dump);
|
140 |
+
}
|
141 |
+
|
142 |
+
public function testParagraphTwo() {
|
143 |
+
$dump = Spyc::YAMLDump(array ('key' => 'Congrats, pimpt bedrijventerreinen pimpt bedrijventerreinen pimpt bedrijventerreinen!'));
|
144 |
+
$awaiting = "---\nkey: >\n Congrats, pimpt bedrijventerreinen pimpt\n bedrijventerreinen pimpt\n bedrijventerreinen!\n";
|
145 |
+
$this->assertEquals ($awaiting, $dump);
|
146 |
+
}
|
147 |
+
|
148 |
+
public function testString() {
|
149 |
+
$dump = Spyc::YAMLDump(array ('key' => array('key_one' => 'Congrats, pimpt bedrijventerreinen!')));
|
150 |
+
$awaiting = "---\nkey:\n key_one: Congrats, pimpt bedrijventerreinen!\n";
|
151 |
+
$this->assertEquals ($awaiting, $dump);
|
152 |
+
}
|
153 |
+
|
154 |
+
public function testStringLong() {
|
155 |
+
$dump = Spyc::YAMLDump(array ('key' => array('key_one' => 'Congrats, pimpt bedrijventerreinen pimpt bedrijventerreinen pimpt bedrijventerreinen!')));
|
156 |
+
$awaiting = "---\nkey:\n key_one: >\n Congrats, pimpt bedrijventerreinen pimpt\n bedrijventerreinen pimpt\n bedrijventerreinen!\n";
|
157 |
+
$this->assertEquals ($awaiting, $dump);
|
158 |
+
}
|
159 |
+
|
160 |
+
public function testStringDoubleQuote() {
|
161 |
+
$dump = Spyc::YAMLDump(array ('key' => array('key_one' => array('key_two' => '"Système d\'e-réservation"'))));
|
162 |
+
$awaiting = "---\nkey:\n key_one:\n key_two: |\n Système d'e-réservation\n";
|
163 |
+
$this->assertEquals ($awaiting, $dump);
|
164 |
+
}
|
165 |
+
|
166 |
+
public function testLongStringDoubleQuote() {
|
167 |
+
$dump = Spyc::YAMLDump(array ('key' => array('key_one' => array('key_two' => '"Système d\'e-réservation bedrijventerreinen pimpt" bedrijventerreinen!'))));
|
168 |
+
$awaiting = "---\nkey:\n key_one:\n key_two: |\n \"Système d'e-réservation bedrijventerreinen pimpt\" bedrijventerreinen!\n";
|
169 |
+
$this->assertEquals ($awaiting, $dump);
|
170 |
+
}
|
171 |
+
|
172 |
+
public function testStringStartingWithSpace() {
|
173 |
+
$dump = Spyc::YAMLDump(array ('key' => array('key_one' => " Congrats, pimpt bedrijventerreinen \n pimpt bedrijventerreinen pimpt bedrijventerreinen!")));
|
174 |
+
$awaiting = "---\nkey:\n key_one: |\n Congrats, pimpt bedrijventerreinen\n pimpt bedrijventerreinen pimpt bedrijventerreinen!\n";
|
175 |
+
$this->assertEquals ($awaiting, $dump);
|
176 |
+
}
|
177 |
+
|
178 |
+
public function testPerCentOne() {
|
179 |
+
$dump = Spyc::YAMLDump(array ('key' => "%name%, pimpts bedrijventerreinen!"));
|
180 |
+
$awaiting = "---\nkey: '%name%, pimpts bedrijventerreinen!'\n";
|
181 |
+
$this->assertEquals ($awaiting, $dump);
|
182 |
+
}
|
183 |
+
|
184 |
+
public function testPerCentAndSimpleQuote() {
|
185 |
+
$dump = Spyc::YAMLDump(array ('key' => "%name%, pimpt's bedrijventerreinen!"));
|
186 |
+
$awaiting = "---\nkey: \"%name%, pimpt's bedrijventerreinen!\"\n";
|
187 |
+
$this->assertEquals ($awaiting, $dump);
|
188 |
+
}
|
189 |
+
|
190 |
+
public function testPerCentAndDoubleQuote() {
|
191 |
+
$dump = Spyc::YAMLDump(array ('key' => '%name%, pimpt\'s "bed"rijventerreinen!'));
|
192 |
+
$awaiting = "---\nkey: |\n %name%, pimpt's \"bed\"rijventerreinen!\n";
|
193 |
+
$this->assertEquals ($awaiting, $dump);
|
194 |
+
}
|
195 |
+
|
196 |
+
}
|
vendor/mickey-kay/better-font-awesome-library/vendor/mustangostang/spyc/tests/IndentTest.php
ADDED
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
require_once ("../Spyc.php");
|
4 |
+
|
5 |
+
class IndentTest extends PHPUnit_Framework_TestCase {
|
6 |
+
|
7 |
+
protected $Y;
|
8 |
+
|
9 |
+
protected function setUp() {
|
10 |
+
$this->Y = Spyc::YAMLLoad("indent_1.yaml");
|
11 |
+
}
|
12 |
+
|
13 |
+
public function testIndent_1() {
|
14 |
+
$this->assertEquals (array ('child_1' => 2, 'child_2' => 0, 'child_3' => 1), $this->Y['root']);
|
15 |
+
}
|
16 |
+
|
17 |
+
public function testIndent_2() {
|
18 |
+
$this->assertEquals (array ('child_1' => 1, 'child_2' => 2), $this->Y['root2']);
|
19 |
+
}
|
20 |
+
|
21 |
+
public function testIndent_3() {
|
22 |
+
$this->assertEquals (array (array ('resolutions' => array (1024 => 768, 1920 => 1200), 'producer' => 'Nec')), $this->Y['display']);
|
23 |
+
}
|
24 |
+
|
25 |
+
public function testIndent_4() {
|
26 |
+
$this->assertEquals (array (
|
27 |
+
array ('resolutions' => array (1024 => 768)),
|
28 |
+
array ('resolutions' => array (1920 => 1200)),
|
29 |
+
), $this->Y['displays']);
|
30 |
+
}
|
31 |
+
|
32 |
+
public function testIndent_5() {
|
33 |
+
$this->assertEquals (array (array (
|
34 |
+
'row' => 0,
|
35 |
+
'col' => 0,
|
36 |
+
'headsets_affected' => array (
|
37 |
+
array (
|
38 |
+
'ports' => array (0),
|
39 |
+
'side' => 'left',
|
40 |
+
)
|
41 |
+
),
|
42 |
+
'switch_function' => array (
|
43 |
+
'ics_ptt' => true
|
44 |
+
)
|
45 |
+
)), $this->Y['nested_hashes_and_seqs']);
|
46 |
+
}
|
47 |
+
|
48 |
+
public function testIndent_6() {
|
49 |
+
$this->assertEquals (array (
|
50 |
+
'h' => array (
|
51 |
+
array ('a' => 'b', 'a1' => 'b1'),
|
52 |
+
array ('c' => 'd')
|
53 |
+
)
|
54 |
+
), $this->Y['easier_nest']);
|
55 |
+
}
|
56 |
+
|
57 |
+
public function testIndent_space() {
|
58 |
+
$this->assertEquals ("By four\n spaces", $this->Y['one_space']);
|
59 |
+
}
|
60 |
+
|
61 |
+
public function testListAndComment() {
|
62 |
+
$this->assertEquals (array ('one', 'two', 'three'), $this->Y['list_and_comment']);
|
63 |
+
}
|
64 |
+
|
65 |
+
public function testAnchorAndAlias() {
|
66 |
+
$this->assertEquals (array ('database' => 'rails_dev', 'adapter' => 'mysql', 'host' => 'localhost'), $this->Y['development']);
|
67 |
+
$this->assertEquals (array (1 => 'abc'), $this->Y['zzz']);
|
68 |
+
}
|
69 |
+
|
70 |
+
}
|
vendor/mickey-kay/better-font-awesome-library/vendor/mustangostang/spyc/tests/LoadTest.php
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
require_once ("../Spyc.php");
|
4 |
+
|
5 |
+
class LoadTest extends PHPUnit_Framework_TestCase {
|
6 |
+
public function testQuotes() {
|
7 |
+
$test_values = array(
|
8 |
+
"adjacent '''' \"\"\"\" quotes.",
|
9 |
+
"adjacent '''' quotes.",
|
10 |
+
"adjacent \"\"\"\" quotes.",
|
11 |
+
);
|
12 |
+
foreach($test_values as $value) {
|
13 |
+
$yaml = array($value);
|
14 |
+
$dump = Spyc::YAMLDump ($yaml);
|
15 |
+
$yaml_loaded = Spyc::YAMLLoad ($dump);
|
16 |
+
$this->assertEquals ($yaml, $yaml_loaded);
|
17 |
+
}
|
18 |
+
}
|
19 |
+
}
|
vendor/mickey-kay/better-font-awesome-library/vendor/mustangostang/spyc/tests/ParseTest.php
ADDED
@@ -0,0 +1,401 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
require_once ("../Spyc.php");
|
4 |
+
|
5 |
+
class ParseTest extends PHPUnit_Framework_TestCase {
|
6 |
+
|
7 |
+
protected $yaml;
|
8 |
+
|
9 |
+
protected function setUp() {
|
10 |
+
$this->yaml = spyc_load_file('../spyc.yaml');
|
11 |
+
}
|
12 |
+
|
13 |
+
public function testMergeHashKeys() {
|
14 |
+
$Expected = array (
|
15 |
+
array ('step' => array('instrument' => 'Lasik 2000', 'pulseEnergy' => 5.4, 'pulseDuration' => 12, 'repetition' => 1000, 'spotSize' => '1mm')),
|
16 |
+
array ('step' => array('instrument' => 'Lasik 2000', 'pulseEnergy' => 5.4, 'pulseDuration' => 12, 'repetition' => 1000, 'spotSize' => '2mm')),
|
17 |
+
);
|
18 |
+
$Actual = spyc_load_file ('indent_1.yaml');
|
19 |
+
$this->assertEquals ($Expected, $Actual['steps']);
|
20 |
+
}
|
21 |
+
|
22 |
+
public function testDeathMasks() {
|
23 |
+
$Expected = array ('sad' => 2, 'magnificent' => 4);
|
24 |
+
$Actual = spyc_load_file ('indent_1.yaml');
|
25 |
+
$this->assertEquals ($Expected, $Actual['death masks are']);
|
26 |
+
}
|
27 |
+
|
28 |
+
public function testDevDb() {
|
29 |
+
$Expected = array ('adapter' => 'mysql', 'host' => 'localhost', 'database' => 'rails_dev');
|
30 |
+
$Actual = spyc_load_file ('indent_1.yaml');
|
31 |
+
$this->assertEquals ($Expected, $Actual['development']);
|
32 |
+
}
|
33 |
+
|
34 |
+
public function testNumericKey() {
|
35 |
+
$this->assertEquals ("Ooo, a numeric key!", $this->yaml[1040]);
|
36 |
+
}
|
37 |
+
|
38 |
+
public function testMappingsString() {
|
39 |
+
$this->assertEquals ("Anyone's name, really.", $this->yaml['String']);
|
40 |
+
}
|
41 |
+
|
42 |
+
public function testMappingsInt() {
|
43 |
+
$this->assertSame (13, $this->yaml['Int']);
|
44 |
+
}
|
45 |
+
|
46 |
+
public function testMappingsHex() {
|
47 |
+
$this->assertSame (243, $this->yaml['Hex']);
|
48 |
+
$this->assertSame ('f0xf3', $this->yaml['BadHex']);
|
49 |
+
}
|
50 |
+
|
51 |
+
public function testMappingsBooleanTrue() {
|
52 |
+
$this->assertSame (true, $this->yaml['True']);
|
53 |
+
}
|
54 |
+
|
55 |
+
public function testMappingsBooleanFalse() {
|
56 |
+
$this->assertSame (false, $this->yaml['False']);
|
57 |
+
}
|
58 |
+
|
59 |
+
public function testMappingsZero() {
|
60 |
+
$this->assertSame (0, $this->yaml['Zero']);
|
61 |
+
}
|
62 |
+
|
63 |
+
public function testMappingsNull() {
|
64 |
+
$this->assertSame (null, $this->yaml['Null']);
|
65 |
+
}
|
66 |
+
|
67 |
+
public function testMappingsNotNull() {
|
68 |
+
$this->assertSame ('null', $this->yaml['NotNull']);
|
69 |
+
}
|
70 |
+
|
71 |
+
public function testMappingsFloat() {
|
72 |
+
$this->assertSame (5.34, $this->yaml['Float']);
|
73 |
+
}
|
74 |
+
|
75 |
+
public function testMappingsNegative() {
|
76 |
+
$this->assertSame (-90, $this->yaml['Negative']);
|
77 |
+
}
|
78 |
+
|
79 |
+
public function testMappingsSmallFloat() {
|
80 |
+
$this->assertSame (0.7, $this->yaml['SmallFloat']);
|
81 |
+
}
|
82 |
+
|
83 |
+
public function testNewline() {
|
84 |
+
$this->assertSame ('\n', $this->yaml['NewLine']);
|
85 |
+
}
|
86 |
+
|
87 |
+
public function testQuotedNewline() {
|
88 |
+
$this->assertSame ("\n", $this->yaml['QuotedNewLine']);
|
89 |
+
}
|
90 |
+
|
91 |
+
public function testSeq0() {
|
92 |
+
$this->assertEquals ("PHP Class", $this->yaml[0]);
|
93 |
+
}
|
94 |
+
|
95 |
+
public function testSeq1() {
|
96 |
+
$this->assertEquals ("Basic YAML Loader", $this->yaml[1]);
|
97 |
+
}
|
98 |
+
|
99 |
+
public function testSeq2() {
|
100 |
+
$this->assertEquals ("Very Basic YAML Dumper", $this->yaml[2]);
|
101 |
+
}
|
102 |
+
|
103 |
+
public function testSeq3() {
|
104 |
+
$this->assertEquals (array("YAML is so easy to learn.",
|
105 |
+
"Your config files will never be the same."), $this->yaml[3]);
|
106 |
+
}
|
107 |
+
|
108 |
+
public function testSeqMap() {
|
109 |
+
$this->assertEquals (array("cpu" => "1.5ghz", "ram" => "1 gig",
|
110 |
+
"os" => "os x 10.4.1"), $this->yaml[4]);
|
111 |
+
}
|
112 |
+
|
113 |
+
public function testMappedSequence() {
|
114 |
+
$this->assertEquals (array("yaml.org", "php.net"), $this->yaml['domains']);
|
115 |
+
}
|
116 |
+
|
117 |
+
public function testAnotherSequence() {
|
118 |
+
$this->assertEquals (array("program" => "Adium", "platform" => "OS X",
|
119 |
+
"type" => "Chat Client"), $this->yaml[5]);
|
120 |
+
}
|
121 |
+
|
122 |
+
public function testFoldedBlock() {
|
123 |
+
$this->assertEquals ("There isn't any time for your tricks!\nDo you understand?", $this->yaml['no time']);
|
124 |
+
}
|
125 |
+
|
126 |
+
public function testLiteralAsMapped() {
|
127 |
+
$this->assertEquals ("There is nothing but time\nfor your tricks.", $this->yaml['some time']);
|
128 |
+
}
|
129 |
+
|
130 |
+
public function testCrazy() {
|
131 |
+
$this->assertEquals (array( array("name" => "spartan", "notes" =>
|
132 |
+
array( "Needs to be backed up",
|
133 |
+
"Needs to be normalized" ),
|
134 |
+
"type" => "mysql" )), $this->yaml['databases']);
|
135 |
+
}
|
136 |
+
|
137 |
+
public function testColons() {
|
138 |
+
$this->assertEquals ("like", $this->yaml["if: you'd"]);
|
139 |
+
}
|
140 |
+
|
141 |
+
public function testInline() {
|
142 |
+
$this->assertEquals (array("One", "Two", "Three", "Four"), $this->yaml[6]);
|
143 |
+
}
|
144 |
+
|
145 |
+
public function testNestedInline() {
|
146 |
+
$this->assertEquals (array("One", array("Two", "And", "Three"), "Four", "Five"), $this->yaml[7]);
|
147 |
+
}
|
148 |
+
|
149 |
+
public function testNestedNestedInline() {
|
150 |
+
$this->assertEquals (array( "This", array("Is", "Getting", array("Ridiculous", "Guys")),
|
151 |
+
"Seriously", array("Show", "Mercy")), $this->yaml[8]);
|
152 |
+
}
|
153 |
+
|
154 |
+
public function testInlineMappings() {
|
155 |
+
$this->assertEquals (array("name" => "chris", "age" => "young", "brand" => "lucky strike"), $this->yaml[9]);
|
156 |
+
}
|
157 |
+
|
158 |
+
public function testNestedInlineMappings() {
|
159 |
+
$this->assertEquals (array("name" => "mark", "age" => "older than chris",
|
160 |
+
"brand" => array("marlboro", "lucky strike")), $this->yaml[10]);
|
161 |
+
}
|
162 |
+
|
163 |
+
public function testReferences() {
|
164 |
+
$this->assertEquals (array('Perl', 'Python', 'PHP', 'Ruby'), $this->yaml['dynamic languages']);
|
165 |
+
}
|
166 |
+
|
167 |
+
public function testReferences2() {
|
168 |
+
$this->assertEquals (array('C/C++', 'Java'), $this->yaml['compiled languages']);
|
169 |
+
}
|
170 |
+
|
171 |
+
public function testReferences3() {
|
172 |
+
$this->assertEquals (array(
|
173 |
+
array('Perl', 'Python', 'PHP', 'Ruby'),
|
174 |
+
array('C/C++', 'Java')
|
175 |
+
), $this->yaml['all languages']);
|
176 |
+
}
|
177 |
+
|
178 |
+
public function testEscapedQuotes() {
|
179 |
+
$this->assertEquals ("you know, this shouldn't work. but it does.", $this->yaml[11]);
|
180 |
+
}
|
181 |
+
|
182 |
+
public function testEscapedQuotes_2() {
|
183 |
+
$this->assertEquals ( "that's my value.", $this->yaml[12]);
|
184 |
+
}
|
185 |
+
|
186 |
+
public function testEscapedQuotes_3() {
|
187 |
+
$this->assertEquals ("again, that's my value.", $this->yaml[13]);
|
188 |
+
}
|
189 |
+
|
190 |
+
public function testQuotes() {
|
191 |
+
$this->assertEquals ("here's to \"quotes\", boss.", $this->yaml[14]);
|
192 |
+
}
|
193 |
+
|
194 |
+
public function testQuoteSequence() {
|
195 |
+
$this->assertEquals ( array( 'name' => "Foo, Bar's", 'age' => 20), $this->yaml[15]);
|
196 |
+
}
|
197 |
+
|
198 |
+
public function testShortSequence() {
|
199 |
+
$this->assertEquals (array( 0 => "a", 1 => array (0 => 1, 1 => 2), 2 => "b"), $this->yaml[16]);
|
200 |
+
}
|
201 |
+
|
202 |
+
public function testQuotedNewlines() {
|
203 |
+
$this->assertEquals ("First line\nSecond line\nThird line", $this->yaml[17]);
|
204 |
+
}
|
205 |
+
|
206 |
+
public function testHash_1() {
|
207 |
+
$this->assertEquals ("Hash", $this->yaml['hash_1']);
|
208 |
+
}
|
209 |
+
|
210 |
+
public function testHash_2() {
|
211 |
+
$this->assertEquals ('Hash #and a comment', $this->yaml['hash_2']);
|
212 |
+
}
|
213 |
+
|
214 |
+
public function testHash_3() {
|
215 |
+
$this->assertEquals ('Hash (#) can appear in key too', $this->yaml['hash#3']);
|
216 |
+
}
|
217 |
+
|
218 |
+
public function testEndloop() {
|
219 |
+
$this->assertEquals ("Does this line in the end indeed make Spyc go to an infinite loop?", $this->yaml['endloop']);
|
220 |
+
}
|
221 |
+
|
222 |
+
public function testReallyLargeNumber() {
|
223 |
+
$this->assertEquals ('115792089237316195423570985008687907853269984665640564039457584007913129639936', $this->yaml['a_really_large_number']);
|
224 |
+
}
|
225 |
+
|
226 |
+
public function testFloatWithZeros() {
|
227 |
+
$this->assertSame ('1.0', $this->yaml['float_test']);
|
228 |
+
}
|
229 |
+
|
230 |
+
public function testFloatWithQuotes() {
|
231 |
+
$this->assertSame ('1.0', $this->yaml['float_test_with_quotes']);
|
232 |
+
}
|
233 |
+
|
234 |
+
public function testFloatInverse() {
|
235 |
+
$this->assertEquals ('001', $this->yaml['float_inverse_test']);
|
236 |
+
}
|
237 |
+
|
238 |
+
public function testIntArray() {
|
239 |
+
$this->assertEquals (array (1, 2, 3), $this->yaml['int array']);
|
240 |
+
}
|
241 |
+
|
242 |
+
public function testArrayOnSeveralLines() {
|
243 |
+
$this->assertEquals (array (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19), $this->yaml['array on several lines']);
|
244 |
+
}
|
245 |
+
|
246 |
+
public function testArrayWithCommas() {
|
247 |
+
$this->assertEquals(array (0, 1), $this->yaml['array with commas']);
|
248 |
+
}
|
249 |
+
|
250 |
+
public function testmoreLessKey() {
|
251 |
+
$this->assertEquals ('<value>', $this->yaml['morelesskey']);
|
252 |
+
}
|
253 |
+
|
254 |
+
public function testArrayOfZero() {
|
255 |
+
$this->assertSame (array(0), $this->yaml['array_of_zero']);
|
256 |
+
}
|
257 |
+
|
258 |
+
public function testSophisticatedArrayOfZero() {
|
259 |
+
$this->assertSame (array('rx' => array ('tx' => array (0))), $this->yaml['sophisticated_array_of_zero']);
|
260 |
+
}
|
261 |
+
|
262 |
+
public function testSwitches() {
|
263 |
+
$this->assertEquals (array (array ('row' => 0, 'col' => 0, 'func' => array ('tx' => array(0, 1)))), $this->yaml['switches']);
|
264 |
+
}
|
265 |
+
|
266 |
+
public function testEmptySequence() {
|
267 |
+
$this->assertSame (array(), $this->yaml['empty_sequence']);
|
268 |
+
}
|
269 |
+
|
270 |
+
public function testEmptyHash() {
|
271 |
+
$this->assertSame (array(), $this->yaml['empty_hash']);
|
272 |
+
}
|
273 |
+
|
274 |
+
public function testEmptykey() {
|
275 |
+
$this->assertSame (array('' => array ('key' => 'value')), $this->yaml['empty_key']);
|
276 |
+
}
|
277 |
+
|
278 |
+
public function testMultilines() {
|
279 |
+
$this->assertSame (array(array('type' => 'SomeItem', 'values' => array ('blah', 'blah', 'blah', 'blah'), 'ints' => array(2, 54, 12, 2143))), $this->yaml['multiline_items']);
|
280 |
+
}
|
281 |
+
|
282 |
+
public function testManyNewlines() {
|
283 |
+
$this->assertSame ('A quick
|
284 |
+
fox
|
285 |
+
|
286 |
+
|
287 |
+
jumped
|
288 |
+
over
|
289 |
+
|
290 |
+
|
291 |
+
|
292 |
+
|
293 |
+
|
294 |
+
a lazy
|
295 |
+
|
296 |
+
|
297 |
+
|
298 |
+
dog', $this->yaml['many_lines']);
|
299 |
+
}
|
300 |
+
|
301 |
+
public function testWerte() {
|
302 |
+
$this->assertSame (array ('1' => 'nummer 1', '0' => 'Stunde 0'), $this->yaml['werte']);
|
303 |
+
}
|
304 |
+
|
305 |
+
/* public function testNoIndent() {
|
306 |
+
$this->assertSame (array(
|
307 |
+
array ('record1'=>'value1'),
|
308 |
+
array ('record2'=>'value2')
|
309 |
+
)
|
310 |
+
, $this->yaml['noindent_records']);
|
311 |
+
} */
|
312 |
+
|
313 |
+
public function testColonsInKeys() {
|
314 |
+
$this->assertSame (array (1000), $this->yaml['a:1']);
|
315 |
+
}
|
316 |
+
|
317 |
+
public function testColonsInKeys2() {
|
318 |
+
$this->assertSame (array (2000), $this->yaml['a:2']);
|
319 |
+
}
|
320 |
+
|
321 |
+
public function testUnquotedColonsInKeys() {
|
322 |
+
$this->assertSame (array (3000), $this->yaml['a:3']);
|
323 |
+
}
|
324 |
+
|
325 |
+
public function testComplicatedKeyWithColon() {
|
326 |
+
$this->assertSame(array("a:b:''test'" => 'value'), $this->yaml['complex_unquoted_key']);
|
327 |
+
}
|
328 |
+
|
329 |
+
public function testKeysInMappedValueException() {
|
330 |
+
$this->setExpectedException('Exception');
|
331 |
+
Spyc::YAMLLoad('x: y: z:');
|
332 |
+
}
|
333 |
+
|
334 |
+
public function testKeysInValueException() {
|
335 |
+
$this->setExpectedException('Exception');
|
336 |
+
Spyc::YAMLLoad('x: y: z');
|
337 |
+
}
|
338 |
+
|
339 |
+
public function testSpecialCharacters() {
|
340 |
+
$this->assertSame ('[{]]{{]]', $this->yaml['special_characters']);
|
341 |
+
}
|
342 |
+
|
343 |
+
public function testAngleQuotes() {
|
344 |
+
$Quotes = Spyc::YAMLLoad('quotes.yaml');
|
345 |
+
$this->assertEquals (array ('html_tags' => array ('<br>', '<p>'), 'html_content' => array ('<p>hello world</p>', 'hello<br>world'), 'text_content' => array ('hello world')),
|
346 |
+
$Quotes);
|
347 |
+
}
|
348 |
+
|
349 |
+
public function testFailingColons() {
|
350 |
+
$Failing = Spyc::YAMLLoad('failing1.yaml');
|
351 |
+
$this->assertSame (array ('MyObject' => array ('Prop1' => array ('key1:val1'))),
|
352 |
+
$Failing);
|
353 |
+
}
|
354 |
+
|
355 |
+
public function testQuotesWithComments() {
|
356 |
+
$Expected = 'bar';
|
357 |
+
$Actual = spyc_load_file ('comments.yaml');
|
358 |
+
$this->assertEquals ($Expected, $Actual['foo']);
|
359 |
+
}
|
360 |
+
|
361 |
+
public function testArrayWithComments() {
|
362 |
+
$Expected = array ('x', 'y', 'z');
|
363 |
+
$Actual = spyc_load_file ('comments.yaml');
|
364 |
+
$this->assertEquals ($Expected, $Actual['arr']);
|
365 |
+
}
|
366 |
+
|
367 |
+
public function testAfterArrayWithKittens() {
|
368 |
+
$Expected = 'kittens';
|
369 |
+
$Actual = spyc_load_file ('comments.yaml');
|
370 |
+
$this->assertEquals ($Expected, $Actual['bar']);
|
371 |
+
}
|
372 |
+
|
373 |
+
// Plain characters http://www.yaml.org/spec/1.2/spec.html#id2789510
|
374 |
+
public function testKai() {
|
375 |
+
$Expected = array('-example' => 'value');
|
376 |
+
$Actual = spyc_load_file ('indent_1.yaml');
|
377 |
+
$this->assertEquals ($Expected, $Actual['kai']);
|
378 |
+
}
|
379 |
+
|
380 |
+
public function testKaiList() {
|
381 |
+
$Expected = array ('-item', '-item', '-item');
|
382 |
+
$Actual = spyc_load_file ('indent_1.yaml');
|
383 |
+
$this->assertEquals ($Expected, $Actual['kai_list_of_items']);
|
384 |
+
}
|
385 |
+
|
386 |
+
public function testDifferentQuoteTypes() {
|
387 |
+
$expected = array ('Something', "", "", "Something else");
|
388 |
+
$this->assertSame ($expected, $this->yaml['invoice']);
|
389 |
+
}
|
390 |
+
|
391 |
+
public function testDifferentQuoteTypes2() {
|
392 |
+
$expected = array ('Something', "Nothing", "Anything", "Thing");
|
393 |
+
$this->assertSame ($expected, $this->yaml['quotes']);
|
394 |
+
}
|
395 |
+
|
396 |
+
// Separation spaces http://www.yaml.org/spec/1.2/spec.html#id2778394
|
397 |
+
public function testMultipleArrays() {
|
398 |
+
$expected = array(array(array('x')));
|
399 |
+
$this->assertSame($expected, Spyc::YAMLLoad("- - - x"));
|
400 |
+
}
|
401 |
+
}
|
vendor/mickey-kay/better-font-awesome-library/vendor/mustangostang/spyc/tests/RoundTripTest.php
ADDED
@@ -0,0 +1,78 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
require_once ("../Spyc.php");
|
4 |
+
|
5 |
+
function roundTrip($a) { return Spyc::YAMLLoad(Spyc::YAMLDump(array('x' => $a))); }
|
6 |
+
|
7 |
+
|
8 |
+
class RoundTripTest extends PHPUnit_Framework_TestCase {
|
9 |
+
|
10 |
+
protected function setUp() {
|
11 |
+
}
|
12 |
+
|
13 |
+
public function testNull() {
|
14 |
+
$this->assertEquals (array ('x' => null), roundTrip (null));
|
15 |
+
}
|
16 |
+
|
17 |
+
public function testY() {
|
18 |
+
$this->assertEquals (array ('x' => 'y'), roundTrip ('y'));
|
19 |
+
}
|
20 |
+
|
21 |
+
public function testExclam() {
|
22 |
+
$this->assertEquals (array ('x' => '!yeah'), roundTrip ('!yeah'));
|
23 |
+
}
|
24 |
+
|
25 |
+
public function test5() {
|
26 |
+
$this->assertEquals (array ('x' => '5'), roundTrip ('5'));
|
27 |
+
}
|
28 |
+
|
29 |
+
public function testSpaces() {
|
30 |
+
$this->assertEquals (array ('x' => 'x '), roundTrip ('x '));
|
31 |
+
}
|
32 |
+
|
33 |
+
public function testApostrophes() {
|
34 |
+
$this->assertEquals (array ('x' => "'biz'"), roundTrip ("'biz'"));
|
35 |
+
}
|
36 |
+
|
37 |
+
public function testNewLines() {
|
38 |
+
$this->assertEquals (array ('x' => "\n"), roundTrip ("\n"));
|
39 |
+
}
|
40 |
+
|
41 |
+
public function testHashes() {
|
42 |
+
$this->assertEquals (array ('x' => array ("#color" => '#fff')), roundTrip (array ("#color" => '#fff')));
|
43 |
+
}
|
44 |
+
|
45 |
+
public function testPreserveString() {
|
46 |
+
$result1 = roundTrip ('0');
|
47 |
+
$result2 = roundTrip ('true');
|
48 |
+
$this->assertTrue (is_string ($result1['x']));
|
49 |
+
$this->assertTrue (is_string ($result2['x']));
|
50 |
+
}
|
51 |
+
|
52 |
+
public function testPreserveBool() {
|
53 |
+
$result = roundTrip (true);
|
54 |
+
$this->assertTrue (is_bool ($result['x']));
|
55 |
+
}
|
56 |
+
|
57 |
+
public function testPreserveInteger() {
|
58 |
+
$result = roundTrip (0);
|
59 |
+
$this->assertTrue (is_int ($result['x']));
|
60 |
+
}
|
61 |
+
|
62 |
+
public function testWordWrap() {
|
63 |
+
$this->assertEquals (array ('x' => "aaaaaaaaaaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb"), roundTrip ("aaaaaaaaaaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb"));
|
64 |
+
}
|
65 |
+
|
66 |
+
public function testABCD() {
|
67 |
+
$this->assertEquals (array ('a', 'b', 'c', 'd'), Spyc::YAMLLoad(Spyc::YAMLDump(array('a', 'b', 'c', 'd'))));
|
68 |
+
}
|
69 |
+
|
70 |
+
public function testABCD2() {
|
71 |
+
$a = array('a', 'b', 'c', 'd'); // Create a simple list
|
72 |
+
$b = Spyc::YAMLDump($a); // Dump the list as YAML
|
73 |
+
$c = Spyc::YAMLLoad($b); // Load the dumped YAML
|
74 |
+
$d = Spyc::YAMLDump($c); // Re-dump the data
|
75 |
+
$this->assertSame($b, $d);
|
76 |
+
}
|
77 |
+
|
78 |
+
}
|
vendor/mickey-kay/better-font-awesome-library/vendor/mustangostang/spyc/tests/comments.yaml
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
foo: 'bar' #Comment
|
2 |
+
arr: ['x', 'y', 'z'] # Comment here
|
3 |
+
bar: kittens
|
vendor/mickey-kay/better-font-awesome-library/vendor/mustangostang/spyc/tests/failing1.yaml
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
1 |
+
MyObject:
|
2 |
+
Prop1: {key1:val1}
|
vendor/mickey-kay/better-font-awesome-library/vendor/mustangostang/spyc/tests/indent_1.yaml
ADDED
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
root:
|
2 |
+
child_1: 2
|
3 |
+
|
4 |
+
child_2: 0
|
5 |
+
child_3: 1
|
6 |
+
|
7 |
+
root2:
|
8 |
+
child_1: 1
|
9 |
+
# A comment
|
10 |
+
child_2: 2
|
11 |
+
|
12 |
+
displays:
|
13 |
+
- resolutions:
|
14 |
+
1024: 768
|
15 |
+
- resolutions:
|
16 |
+
1920: 1200
|
17 |
+
|
18 |
+
display:
|
19 |
+
- resolutions:
|
20 |
+
1024: 768
|
21 |
+
1920: 1200
|
22 |
+
producer: "Nec"
|
23 |
+
|
24 |
+
nested_hashes_and_seqs:
|
25 |
+
- { row: 0, col: 0, headsets_affected: [{ports: [0], side: left}], switch_function: {ics_ptt: true} }
|
26 |
+
|
27 |
+
easier_nest: { h: [{a: b, a1: b1}, {c: d}] }
|
28 |
+
|
29 |
+
one_space: |
|
30 |
+
By four
|
31 |
+
spaces
|
32 |
+
|
33 |
+
steps:
|
34 |
+
- step: &id001
|
35 |
+
instrument: Lasik 2000
|
36 |
+
pulseEnergy: 5.4
|
37 |
+
pulseDuration: 12
|
38 |
+
repetition: 1000
|
39 |
+
spotSize: 1mm
|
40 |
+
- step:
|
41 |
+
<<: *id001
|
42 |
+
spotSize: 2mm
|
43 |
+
|
44 |
+
death masks are:
|
45 |
+
sad: 2
|
46 |
+
<<: {magnificent: 4}
|
47 |
+
|
48 |
+
login: &login
|
49 |
+
adapter: mysql
|
50 |
+
host: localhost
|
51 |
+
|
52 |
+
development:
|
53 |
+
database: rails_dev
|
54 |
+
<<: *login
|
55 |
+
|
56 |
+
"key": "value:"
|
57 |
+
colon_only: ":"
|
58 |
+
|
59 |
+
list_and_comment: [one, two, three] # comment
|
60 |
+
kai:
|
61 |
+
-example: value
|
62 |
+
kai_list_of_items:
|
63 |
+
- -item
|
64 |
+
- '-item'
|
65 |
+
-item
|
66 |
+
|
67 |
+
&foo bar:
|
68 |
+
1: "abc"
|
69 |
+
|
70 |
+
zzz: *foo
|
vendor/mickey-kay/better-font-awesome-library/vendor/mustangostang/spyc/tests/quotes.yaml
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
html_tags:
|
2 |
+
- <br>
|
3 |
+
- <p>
|
4 |
+
html_content:
|
5 |
+
- <p>hello world</p>
|
6 |
+
- hello<br>world
|
7 |
+
text_content:
|
8 |
+
- hello world
|
vendor/mickey-kay/better-font-awesome-library/yarn.lock
CHANGED
@@ -154,9 +154,9 @@ font-awesome@4.7.0:
|
|
154 |
version "4.7.0"
|
155 |
resolved "https://registry.yarnpkg.com/font-awesome/-/font-awesome-4.7.0.tgz#8fa8cf0411a1a31afd07b06d2902bb9fc815a133"
|
156 |
|
157 |
-
fontawesome-iconpicker@
|
158 |
-
version "
|
159 |
-
resolved "https://registry.yarnpkg.com/fontawesome-iconpicker/-/fontawesome-iconpicker-
|
160 |
|
161 |
fs.realpath@^1.0.0:
|
162 |
version "1.0.0"
|
154 |
version "4.7.0"
|
155 |
resolved "https://registry.yarnpkg.com/font-awesome/-/font-awesome-4.7.0.tgz#8fa8cf0411a1a31afd07b06d2902bb9fc815a133"
|
156 |
|
157 |
+
fontawesome-iconpicker@3.0.0:
|
158 |
+
version "3.0.0"
|
159 |
+
resolved "https://registry.yarnpkg.com/fontawesome-iconpicker/-/fontawesome-iconpicker-3.0.0.tgz#689be496bf6ab8df539b849f2c2f6be3e209590e"
|
160 |
|
161 |
fs.realpath@^1.0.0:
|
162 |
version "1.0.0"
|