Version Description
We added a lot of PRO features to the free version: * Free version can activate up to 3 PopUps at the same time! * Free version can now use the custom CSS editor for PopUps! * Free version now suppors PopUp Animations! * Free version can use all Form Submit actions! * Free version unlocked the Color options for PopUps! * Small code improvements to avoid PHP notices
Download this release
Release Info
Developer | stracker.phil |
Plugin | Hustle – Pop-Ups, Slide-ins and Email Opt-ins |
Version | 4.7.0.9 |
Comparing to | |
See all releases |
Code changes from version 4.7.0.3 to 4.7.0.9
- changelog.txt +22 -0
- css/animate.css +2733 -0
- css/animate.min.css +11 -0
- css/popup-admin.css +51 -5
- css/popup-admin.min.css +3 -3
- css/tpl/simple/style.css +19 -0
- css/tpl/simple/template.php +34 -114
- css/vendor/animate.scss +3159 -0
- inc/addons/class-popup-addon-anonymous.php +47 -1
- inc/addons/class-popup-addon-headerfooter.php +6 -4
- inc/class-popup-admin.php +40 -32
- inc/class-popup-base.php +267 -10
- inc/class-popup-database.php +25 -25
- inc/class-popup-item.php +291 -26
- inc/class-popup-public.php +5 -4
- inc/class-popup-rule.php +7 -4
- inc/external/wpmu-lib/changelog.txt +38 -0
- inc/external/wpmu-lib/core.php +31 -28
- inc/external/wpmu-lib/css/{font-awesome.css → fontawesome.2.css} +0 -0
- inc/external/wpmu-lib/css/{font-awesome.min.css → fontawesome.2.min.css} +2 -2
- inc/external/wpmu-lib/css/fontawesome.css +0 -2175
- inc/external/wpmu-lib/css/fontawesome.min.css +0 -8
- inc/external/wpmu-lib/css/jquery-ui.custom.css +0 -1864
- inc/external/wpmu-lib/css/jquery-ui.min.css +0 -13
- inc/external/wpmu-lib/css/{jquery-ui.wpmui.css → jquery-ui.wpmui.2.css} +0 -0
- inc/external/wpmu-lib/css/jquery-ui.wpmui.2.min.css +9 -0
- inc/external/wpmu-lib/css/{select2.css → select2.2.css} +1 -0
- inc/external/wpmu-lib/css/select2.2.min.css +5 -0
- inc/external/wpmu-lib/css/select2.min.css +0 -5
- inc/external/wpmu-lib/css/{wpmu-card-list.css → wpmu-card-list.2.css} +40 -0
- inc/external/wpmu-lib/css/wpmu-card-list.2.min.css +5 -0
- inc/external/wpmu-lib/css/wpmu-card-list.min.css +0 -5
- inc/external/wpmu-lib/css/wpmu-html.2.css +347 -0
- inc/external/wpmu-lib/css/wpmu-html.2.min.css +5 -0
- inc/external/wpmu-lib/css/wpmu-html.css +0 -180
- inc/external/wpmu-lib/css/wpmu-html.min.css +0 -5
- inc/external/wpmu-lib/css/{wpmu-ui.css → wpmu-ui.2.css} +174 -49
- inc/external/wpmu-lib/css/wpmu-ui.2.min.css +5 -0
- inc/external/wpmu-lib/css/wpmu-ui.min.css +0 -5
- inc/external/wpmu-lib/css/{wpmu-vnav.css → wpmu-vnav.2.css} +0 -0
- inc/external/wpmu-lib/css/{wpmu-vnav.min.css → wpmu-vnav.2.min.css} +2 -2
- inc/external/wpmu-lib/inc/class-thelib-array.php +271 -0
- inc/external/wpmu-lib/inc/class-thelib-base.php +0 -191
- inc/external/wpmu-lib/inc/class-thelib-core.php +239 -0
- inc/external/wpmu-lib/inc/class-thelib-debug.php +959 -0
- inc/external/wpmu-lib/inc/class-thelib-html.php +541 -146
- inc/external/wpmu-lib/inc/class-thelib-net.php +210 -0
- inc/external/wpmu-lib/inc/class-thelib-session.php +57 -0
- inc/external/wpmu-lib/inc/class-thelib-ui.php +512 -0
- inc/external/wpmu-lib/inc/class-thelib-updates.php +646 -0
- inc/external/wpmu-lib/inc/class-thelib.php +170 -912
- inc/external/wpmu-lib/js/{select2.js → select2.2.js} +2 -2
- inc/external/wpmu-lib/js/{select2.min.js → select2.2.min.js} +2 -2
- inc/external/wpmu-lib/js/{tiny-scrollbar.js → tiny-scrollbar.2.js} +2 -2
- inc/external/wpmu-lib/js/{tiny-scrollbar.min.js → tiny-scrollbar.2.min.js} +2 -2
- inc/external/wpmu-lib/js/{wpmu-card-list.js → wpmu-card-list.2.js} +2 -2
- inc/external/wpmu-lib/js/{wpmu-card-list.min.js → wpmu-card-list.2.min.js} +2 -2
- inc/external/wpmu-lib/js/{wpmu-ui.js → wpmu-ui.2.js} +414 -23
- inc/external/wpmu-lib/js/wpmu-ui.2.min.js +4 -0
- inc/external/wpmu-lib/js/wpmu-ui.min.js +0 -4
- inc/external/wpmu-lib/js/wpmu-vnav.2.js +163 -0
- inc/external/wpmu-lib/js/wpmu-vnav.2.min.js +4 -0
- inc/external/wpmu-lib/js/wpmu-vnav.js +0 -141
- inc/external/wpmu-lib/js/wpmu-vnav.min.js +0 -4
- inc/external/wpmu-lib/view/list.php +14 -12
- inc/external/wpmu-lib/view/pointer.php +66 -11
- inc/rules/class-popup-rule-popup.php +6 -3
- inc/rules/class-popup-rule-protectedcontent.php +19 -0
- inc/rules/class-popup-rule-referrer.php +27 -11
- inc/rules/class-popup-rule-url.php +10 -7
- js/ace.js +2 -2
- js/ace.min.js +2 -2
- js/popup-admin.js +2 -2
- js/popup-admin.min.js +2 -2
- js/public.js +204 -77
- js/public.min.js +3 -3
- js/theme-chrome.js +2 -2
- js/theme-chrome.min.js +2 -2
- js/worker-css.js +2 -2
- js/worker-css.min.js +2 -2
changelog.txt
CHANGED
@@ -4,6 +4,28 @@ Author: Barry (Incsub), Marko Miljus (Incsub), Philipp Stracker (Incsub)
|
|
4 |
Change Log:
|
5 |
----------------------------------------------------------------------
|
6 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
4.7.0.3
|
8 |
----------------------------------------------------------------------
|
9 |
- Fix several small bugs
|
4 |
Change Log:
|
5 |
----------------------------------------------------------------------
|
6 |
|
7 |
+
4.7.0.9
|
8 |
+
----------------------------------------------------------------------
|
9 |
+
We added a lot of PRO features to the free version:
|
10 |
+
- Free version can activate up to 3 PopUps at the same time!
|
11 |
+
- Free version can now use the custom CSS editor for PopUps!
|
12 |
+
- Free version now suppors PopUp Animations!
|
13 |
+
- Free version can use all Form Submit actions!
|
14 |
+
- Free version unlocked the Color options for PopUps!
|
15 |
+
- Small code improvements to avoid PHP notices
|
16 |
+
|
17 |
+
4.7.0.7
|
18 |
+
----------------------------------------------------------------------
|
19 |
+
- Add a link target option for CTA Button (use _blank to open CTA in new tab)
|
20 |
+
- Add JS hook 'popup-submit-process' to allow manual updating of popup contents after form submit
|
21 |
+
- Simplify PopUp template structure to encourage creation of custom templates
|
22 |
+
- Fix XSS vulnerability (add_query_arg/remove_query_arg)
|
23 |
+
- Fix several small issues with different rules
|
24 |
+
|
25 |
+
4.7.0.5
|
26 |
+
----------------------------------------------------------------------
|
27 |
+
- Fix incompatibility with Custom Sidebars plugin
|
28 |
+
|
29 |
4.7.0.3
|
30 |
----------------------------------------------------------------------
|
31 |
- Fix several small bugs
|
css/animate.css
ADDED
@@ -0,0 +1,2733 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*!
|
2 |
+
Animate.css - http://daneden.me/animate
|
3 |
+
Licensed under the MIT license - http://opensource.org/licenses/MIT
|
4 |
+
|
5 |
+
Copyright (c) 2014 Daniel Eden
|
6 |
+
https://raw.githubusercontent.com/daneden/animate.css/master/animate.css
|
7 |
+
*/
|
8 |
+
.animated {
|
9 |
+
-webkit-animation-duration: 1s;
|
10 |
+
animation-duration: 1s;
|
11 |
+
-webkit-animation-fill-mode: both;
|
12 |
+
animation-fill-mode: both;
|
13 |
+
}
|
14 |
+
|
15 |
+
.animated.infinite {
|
16 |
+
-webkit-animation-iteration-count: infinite;
|
17 |
+
animation-iteration-count: infinite;
|
18 |
+
}
|
19 |
+
|
20 |
+
.animated.hinge {
|
21 |
+
-webkit-animation-duration: 2s;
|
22 |
+
animation-duration: 2s;
|
23 |
+
}
|
24 |
+
|
25 |
+
@-webkit-keyframes bounce {
|
26 |
+
0%, 20%, 53%, 80%, 100% {
|
27 |
+
transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
|
28 |
+
-webkit-transform: translate3d(0, 0, 0);
|
29 |
+
transform: translate3d(0, 0, 0);
|
30 |
+
}
|
31 |
+
40%, 43% {
|
32 |
+
transition-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
|
33 |
+
-webkit-transform: translate3d(0, -30px, 0);
|
34 |
+
transform: translate3d(0, -30px, 0);
|
35 |
+
}
|
36 |
+
70% {
|
37 |
+
transition-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
|
38 |
+
-webkit-transform: translate3d(0, -15px, 0);
|
39 |
+
transform: translate3d(0, -15px, 0);
|
40 |
+
}
|
41 |
+
90% {
|
42 |
+
-webkit-transform: translate3d(0, -4px, 0);
|
43 |
+
transform: translate3d(0, -4px, 0);
|
44 |
+
}
|
45 |
+
}
|
46 |
+
@keyframes bounce {
|
47 |
+
0%, 20%, 53%, 80%, 100% {
|
48 |
+
transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
|
49 |
+
-webkit-transform: translate3d(0, 0, 0);
|
50 |
+
transform: translate3d(0, 0, 0);
|
51 |
+
}
|
52 |
+
40%, 43% {
|
53 |
+
transition-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
|
54 |
+
-webkit-transform: translate3d(0, -30px, 0);
|
55 |
+
transform: translate3d(0, -30px, 0);
|
56 |
+
}
|
57 |
+
70% {
|
58 |
+
transition-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
|
59 |
+
-webkit-transform: translate3d(0, -15px, 0);
|
60 |
+
transform: translate3d(0, -15px, 0);
|
61 |
+
}
|
62 |
+
90% {
|
63 |
+
-webkit-transform: translate3d(0, -4px, 0);
|
64 |
+
transform: translate3d(0, -4px, 0);
|
65 |
+
}
|
66 |
+
}
|
67 |
+
.bounce {
|
68 |
+
-webkit-animation-name: bounce;
|
69 |
+
animation-name: bounce;
|
70 |
+
-webkit-transform-origin: center bottom;
|
71 |
+
-ms-transform-origin: center bottom;
|
72 |
+
transform-origin: center bottom;
|
73 |
+
}
|
74 |
+
|
75 |
+
@-webkit-keyframes flash {
|
76 |
+
0%, 50%, 100% {
|
77 |
+
opacity: 1;
|
78 |
+
}
|
79 |
+
25%, 75% {
|
80 |
+
opacity: 0;
|
81 |
+
}
|
82 |
+
}
|
83 |
+
@keyframes flash {
|
84 |
+
0%, 50%, 100% {
|
85 |
+
opacity: 1;
|
86 |
+
}
|
87 |
+
25%, 75% {
|
88 |
+
opacity: 0;
|
89 |
+
}
|
90 |
+
}
|
91 |
+
.flash {
|
92 |
+
-webkit-animation-name: flash;
|
93 |
+
animation-name: flash;
|
94 |
+
}
|
95 |
+
|
96 |
+
/* originally authored by Nick Pettit - https://github.com/nickpettit/glide */
|
97 |
+
@-webkit-keyframes pulse {
|
98 |
+
0% {
|
99 |
+
-webkit-transform: scale3d(1, 1, 1);
|
100 |
+
transform: scale3d(1, 1, 1);
|
101 |
+
}
|
102 |
+
50% {
|
103 |
+
-webkit-transform: scale3d(1.05, 1.05, 1.05);
|
104 |
+
transform: scale3d(1.05, 1.05, 1.05);
|
105 |
+
}
|
106 |
+
100% {
|
107 |
+
-webkit-transform: scale3d(1, 1, 1);
|
108 |
+
transform: scale3d(1, 1, 1);
|
109 |
+
}
|
110 |
+
}
|
111 |
+
@keyframes pulse {
|
112 |
+
0% {
|
113 |
+
-webkit-transform: scale3d(1, 1, 1);
|
114 |
+
transform: scale3d(1, 1, 1);
|
115 |
+
}
|
116 |
+
50% {
|
117 |
+
-webkit-transform: scale3d(1.05, 1.05, 1.05);
|
118 |
+
transform: scale3d(1.05, 1.05, 1.05);
|
119 |
+
}
|
120 |
+
100% {
|
121 |
+
-webkit-transform: scale3d(1, 1, 1);
|
122 |
+
transform: scale3d(1, 1, 1);
|
123 |
+
}
|
124 |
+
}
|
125 |
+
.pulse {
|
126 |
+
-webkit-animation-name: pulse;
|
127 |
+
animation-name: pulse;
|
128 |
+
}
|
129 |
+
|
130 |
+
@-webkit-keyframes rubberBand {
|
131 |
+
0% {
|
132 |
+
-webkit-transform: scale3d(1, 1, 1);
|
133 |
+
transform: scale3d(1, 1, 1);
|
134 |
+
}
|
135 |
+
30% {
|
136 |
+
-webkit-transform: scale3d(1.25, 0.75, 1);
|
137 |
+
transform: scale3d(1.25, 0.75, 1);
|
138 |
+
}
|
139 |
+
40% {
|
140 |
+
-webkit-transform: scale3d(0.75, 1.25, 1);
|
141 |
+
transform: scale3d(0.75, 1.25, 1);
|
142 |
+
}
|
143 |
+
50% {
|
144 |
+
-webkit-transform: scale3d(1.15, 0.85, 1);
|
145 |
+
transform: scale3d(1.15, 0.85, 1);
|
146 |
+
}
|
147 |
+
65% {
|
148 |
+
-webkit-transform: scale3d(0.95, 1.05, 1);
|
149 |
+
transform: scale3d(0.95, 1.05, 1);
|
150 |
+
}
|
151 |
+
75% {
|
152 |
+
-webkit-transform: scale3d(1.05, 0.95, 1);
|
153 |
+
transform: scale3d(1.05, 0.95, 1);
|
154 |
+
}
|
155 |
+
100% {
|
156 |
+
-webkit-transform: scale3d(1, 1, 1);
|
157 |
+
transform: scale3d(1, 1, 1);
|
158 |
+
}
|
159 |
+
}
|
160 |
+
@keyframes rubberBand {
|
161 |
+
0% {
|
162 |
+
-webkit-transform: scale3d(1, 1, 1);
|
163 |
+
transform: scale3d(1, 1, 1);
|
164 |
+
}
|
165 |
+
30% {
|
166 |
+
-webkit-transform: scale3d(1.25, 0.75, 1);
|
167 |
+
transform: scale3d(1.25, 0.75, 1);
|
168 |
+
}
|
169 |
+
40% {
|
170 |
+
-webkit-transform: scale3d(0.75, 1.25, 1);
|
171 |
+
transform: scale3d(0.75, 1.25, 1);
|
172 |
+
}
|
173 |
+
50% {
|
174 |
+
-webkit-transform: scale3d(1.15, 0.85, 1);
|
175 |
+
transform: scale3d(1.15, 0.85, 1);
|
176 |
+
}
|
177 |
+
65% {
|
178 |
+
-webkit-transform: scale3d(0.95, 1.05, 1);
|
179 |
+
transform: scale3d(0.95, 1.05, 1);
|
180 |
+
}
|
181 |
+
75% {
|
182 |
+
-webkit-transform: scale3d(1.05, 0.95, 1);
|
183 |
+
transform: scale3d(1.05, 0.95, 1);
|
184 |
+
}
|
185 |
+
100% {
|
186 |
+
-webkit-transform: scale3d(1, 1, 1);
|
187 |
+
transform: scale3d(1, 1, 1);
|
188 |
+
}
|
189 |
+
}
|
190 |
+
.rubberBand {
|
191 |
+
-webkit-animation-name: rubberBand;
|
192 |
+
animation-name: rubberBand;
|
193 |
+
}
|
194 |
+
|
195 |
+
@-webkit-keyframes shake {
|
196 |
+
0%, 100% {
|
197 |
+
-webkit-transform: translate3d(0, 0, 0);
|
198 |
+
transform: translate3d(0, 0, 0);
|
199 |
+
}
|
200 |
+
10%, 30%, 50%, 70%, 90% {
|
201 |
+
-webkit-transform: translate3d(-10px, 0, 0);
|
202 |
+
transform: translate3d(-10px, 0, 0);
|
203 |
+
}
|
204 |
+
20%, 40%, 60%, 80% {
|
205 |
+
-webkit-transform: translate3d(10px, 0, 0);
|
206 |
+
transform: translate3d(10px, 0, 0);
|
207 |
+
}
|
208 |
+
}
|
209 |
+
@keyframes shake {
|
210 |
+
0%, 100% {
|
211 |
+
-webkit-transform: translate3d(0, 0, 0);
|
212 |
+
transform: translate3d(0, 0, 0);
|
213 |
+
}
|
214 |
+
10%, 30%, 50%, 70%, 90% {
|
215 |
+
-webkit-transform: translate3d(-10px, 0, 0);
|
216 |
+
transform: translate3d(-10px, 0, 0);
|
217 |
+
}
|
218 |
+
20%, 40%, 60%, 80% {
|
219 |
+
-webkit-transform: translate3d(10px, 0, 0);
|
220 |
+
transform: translate3d(10px, 0, 0);
|
221 |
+
}
|
222 |
+
}
|
223 |
+
.shake {
|
224 |
+
-webkit-animation-name: shake;
|
225 |
+
animation-name: shake;
|
226 |
+
}
|
227 |
+
|
228 |
+
@-webkit-keyframes swing {
|
229 |
+
20% {
|
230 |
+
-webkit-transform: rotate3d(0, 0, 1, 15deg);
|
231 |
+
transform: rotate3d(0, 0, 1, 15deg);
|
232 |
+
}
|
233 |
+
40% {
|
234 |
+
-webkit-transform: rotate3d(0, 0, 1, -10deg);
|
235 |
+
transform: rotate3d(0, 0, 1, -10deg);
|
236 |
+
}
|
237 |
+
60% {
|
238 |
+
-webkit-transform: rotate3d(0, 0, 1, 5deg);
|
239 |
+
transform: rotate3d(0, 0, 1, 5deg);
|
240 |
+
}
|
241 |
+
80% {
|
242 |
+
-webkit-transform: rotate3d(0, 0, 1, -5deg);
|
243 |
+
transform: rotate3d(0, 0, 1, -5deg);
|
244 |
+
}
|
245 |
+
100% {
|
246 |
+
-webkit-transform: rotate3d(0, 0, 1, 0deg);
|
247 |
+
transform: rotate3d(0, 0, 1, 0deg);
|
248 |
+
}
|
249 |
+
}
|
250 |
+
@keyframes swing {
|
251 |
+
20% {
|
252 |
+
-webkit-transform: rotate3d(0, 0, 1, 15deg);
|
253 |
+
transform: rotate3d(0, 0, 1, 15deg);
|
254 |
+
}
|
255 |
+
40% {
|
256 |
+
-webkit-transform: rotate3d(0, 0, 1, -10deg);
|
257 |
+
transform: rotate3d(0, 0, 1, -10deg);
|
258 |
+
}
|
259 |
+
60% {
|
260 |
+
-webkit-transform: rotate3d(0, 0, 1, 5deg);
|
261 |
+
transform: rotate3d(0, 0, 1, 5deg);
|
262 |
+
}
|
263 |
+
80% {
|
264 |
+
-webkit-transform: rotate3d(0, 0, 1, -5deg);
|
265 |
+
transform: rotate3d(0, 0, 1, -5deg);
|
266 |
+
}
|
267 |
+
100% {
|
268 |
+
-webkit-transform: rotate3d(0, 0, 1, 0deg);
|
269 |
+
transform: rotate3d(0, 0, 1, 0deg);
|
270 |
+
}
|
271 |
+
}
|
272 |
+
.swing {
|
273 |
+
-webkit-transform-origin: top center;
|
274 |
+
-ms-transform-origin: top center;
|
275 |
+
transform-origin: top center;
|
276 |
+
-webkit-animation-name: swing;
|
277 |
+
animation-name: swing;
|
278 |
+
}
|
279 |
+
|
280 |
+
@-webkit-keyframes tada {
|
281 |
+
0% {
|
282 |
+
-webkit-transform: scale3d(1, 1, 1);
|
283 |
+
transform: scale3d(1, 1, 1);
|
284 |
+
}
|
285 |
+
10%, 20% {
|
286 |
+
-webkit-transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
|
287 |
+
transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
|
288 |
+
}
|
289 |
+
30%, 50%, 70%, 90% {
|
290 |
+
-webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
|
291 |
+
transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
|
292 |
+
}
|
293 |
+
40%, 60%, 80% {
|
294 |
+
-webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
|
295 |
+
transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
|
296 |
+
}
|
297 |
+
100% {
|
298 |
+
-webkit-transform: scale3d(1, 1, 1);
|
299 |
+
transform: scale3d(1, 1, 1);
|
300 |
+
}
|
301 |
+
}
|
302 |
+
@keyframes tada {
|
303 |
+
0% {
|
304 |
+
-webkit-transform: scale3d(1, 1, 1);
|
305 |
+
transform: scale3d(1, 1, 1);
|
306 |
+
}
|
307 |
+
10%, 20% {
|
308 |
+
-webkit-transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
|
309 |
+
transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
|
310 |
+
}
|
311 |
+
30%, 50%, 70%, 90% {
|
312 |
+
-webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
|
313 |
+
transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
|
314 |
+
}
|
315 |
+
40%, 60%, 80% {
|
316 |
+
-webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
|
317 |
+
transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
|
318 |
+
}
|
319 |
+
100% {
|
320 |
+
-webkit-transform: scale3d(1, 1, 1);
|
321 |
+
transform: scale3d(1, 1, 1);
|
322 |
+
}
|
323 |
+
}
|
324 |
+
.tada {
|
325 |
+
-webkit-animation-name: tada;
|
326 |
+
animation-name: tada;
|
327 |
+
}
|
328 |
+
|
329 |
+
/* originally authored by Nick Pettit - https://github.com/nickpettit/glide */
|
330 |
+
@-webkit-keyframes wobble {
|
331 |
+
0% {
|
332 |
+
-webkit-transform: none;
|
333 |
+
transform: none;
|
334 |
+
}
|
335 |
+
15% {
|
336 |
+
-webkit-transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg);
|
337 |
+
transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg);
|
338 |
+
}
|
339 |
+
30% {
|
340 |
+
-webkit-transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg);
|
341 |
+
transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg);
|
342 |
+
}
|
343 |
+
45% {
|
344 |
+
-webkit-transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg);
|
345 |
+
transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg);
|
346 |
+
}
|
347 |
+
60% {
|
348 |
+
-webkit-transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg);
|
349 |
+
transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg);
|
350 |
+
}
|
351 |
+
75% {
|
352 |
+
-webkit-transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg);
|
353 |
+
transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg);
|
354 |
+
}
|
355 |
+
100% {
|
356 |
+
-webkit-transform: none;
|
357 |
+
transform: none;
|
358 |
+
}
|
359 |
+
}
|
360 |
+
@keyframes wobble {
|
361 |
+
0% {
|
362 |
+
-webkit-transform: none;
|
363 |
+
transform: none;
|
364 |
+
}
|
365 |
+
15% {
|
366 |
+
-webkit-transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg);
|
367 |
+
transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg);
|
368 |
+
}
|
369 |
+
30% {
|
370 |
+
-webkit-transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg);
|
371 |
+
transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg);
|
372 |
+
}
|
373 |
+
45% {
|
374 |
+
-webkit-transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg);
|
375 |
+
transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg);
|
376 |
+
}
|
377 |
+
60% {
|
378 |
+
-webkit-transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg);
|
379 |
+
transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg);
|
380 |
+
}
|
381 |
+
75% {
|
382 |
+
-webkit-transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg);
|
383 |
+
transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg);
|
384 |
+
}
|
385 |
+
100% {
|
386 |
+
-webkit-transform: none;
|
387 |
+
transform: none;
|
388 |
+
}
|
389 |
+
}
|
390 |
+
.wobble {
|
391 |
+
-webkit-animation-name: wobble;
|
392 |
+
animation-name: wobble;
|
393 |
+
}
|
394 |
+
|
395 |
+
@-webkit-keyframes bounceIn {
|
396 |
+
0%, 20%, 40%, 60%, 80%, 100% {
|
397 |
+
transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
|
398 |
+
}
|
399 |
+
0% {
|
400 |
+
opacity: 0;
|
401 |
+
-webkit-transform: scale3d(0.3, 0.3, 0.3);
|
402 |
+
transform: scale3d(0.3, 0.3, 0.3);
|
403 |
+
}
|
404 |
+
20% {
|
405 |
+
-webkit-transform: scale3d(1.1, 1.1, 1.1);
|
406 |
+
transform: scale3d(1.1, 1.1, 1.1);
|
407 |
+
}
|
408 |
+
40% {
|
409 |
+
-webkit-transform: scale3d(0.9, 0.9, 0.9);
|
410 |
+
transform: scale3d(0.9, 0.9, 0.9);
|
411 |
+
}
|
412 |
+
60% {
|
413 |
+
opacity: 1;
|
414 |
+
-webkit-transform: scale3d(1.03, 1.03, 1.03);
|
415 |
+
transform: scale3d(1.03, 1.03, 1.03);
|
416 |
+
}
|
417 |
+
80% {
|
418 |
+
-webkit-transform: scale3d(0.97, 0.97, 0.97);
|
419 |
+
transform: scale3d(0.97, 0.97, 0.97);
|
420 |
+
}
|
421 |
+
100% {
|
422 |
+
opacity: 1;
|
423 |
+
-webkit-transform: scale3d(1, 1, 1);
|
424 |
+
transform: scale3d(1, 1, 1);
|
425 |
+
}
|
426 |
+
}
|
427 |
+
@keyframes bounceIn {
|
428 |
+
0%, 20%, 40%, 60%, 80%, 100% {
|
429 |
+
transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
|
430 |
+
}
|
431 |
+
0% {
|
432 |
+
opacity: 0;
|
433 |
+
-webkit-transform: scale3d(0.3, 0.3, 0.3);
|
434 |
+
transform: scale3d(0.3, 0.3, 0.3);
|
435 |
+
}
|
436 |
+
20% {
|
437 |
+
-webkit-transform: scale3d(1.1, 1.1, 1.1);
|
438 |
+
transform: scale3d(1.1, 1.1, 1.1);
|
439 |
+
}
|
440 |
+
40% {
|
441 |
+
-webkit-transform: scale3d(0.9, 0.9, 0.9);
|
442 |
+
transform: scale3d(0.9, 0.9, 0.9);
|
443 |
+
}
|
444 |
+
60% {
|
445 |
+
opacity: 1;
|
446 |
+
-webkit-transform: scale3d(1.03, 1.03, 1.03);
|
447 |
+
transform: scale3d(1.03, 1.03, 1.03);
|
448 |
+
}
|
449 |
+
80% {
|
450 |
+
-webkit-transform: scale3d(0.97, 0.97, 0.97);
|
451 |
+
transform: scale3d(0.97, 0.97, 0.97);
|
452 |
+
}
|
453 |
+
100% {
|
454 |
+
opacity: 1;
|
455 |
+
-webkit-transform: scale3d(1, 1, 1);
|
456 |
+
transform: scale3d(1, 1, 1);
|
457 |
+
}
|
458 |
+
}
|
459 |
+
.bounceIn {
|
460 |
+
-webkit-animation-name: bounceIn;
|
461 |
+
animation-name: bounceIn;
|
462 |
+
-webkit-animation-duration: .75s;
|
463 |
+
animation-duration: .75s;
|
464 |
+
}
|
465 |
+
|
466 |
+
@-webkit-keyframes bounceInDown {
|
467 |
+
0%, 60%, 75%, 90%, 100% {
|
468 |
+
transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
|
469 |
+
}
|
470 |
+
0% {
|
471 |
+
opacity: 0;
|
472 |
+
-webkit-transform: translate3d(0, -3000px, 0);
|
473 |
+
transform: translate3d(0, -3000px, 0);
|
474 |
+
}
|
475 |
+
60% {
|
476 |
+
opacity: 1;
|
477 |
+
-webkit-transform: translate3d(0, 25px, 0);
|
478 |
+
transform: translate3d(0, 25px, 0);
|
479 |
+
}
|
480 |
+
75% {
|
481 |
+
-webkit-transform: translate3d(0, -10px, 0);
|
482 |
+
transform: translate3d(0, -10px, 0);
|
483 |
+
}
|
484 |
+
90% {
|
485 |
+
-webkit-transform: translate3d(0, 5px, 0);
|
486 |
+
transform: translate3d(0, 5px, 0);
|
487 |
+
}
|
488 |
+
100% {
|
489 |
+
-webkit-transform: none;
|
490 |
+
transform: none;
|
491 |
+
}
|
492 |
+
}
|
493 |
+
@keyframes bounceInDown {
|
494 |
+
0%, 60%, 75%, 90%, 100% {
|
495 |
+
transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
|
496 |
+
}
|
497 |
+
0% {
|
498 |
+
opacity: 0;
|
499 |
+
-webkit-transform: translate3d(0, -3000px, 0);
|
500 |
+
transform: translate3d(0, -3000px, 0);
|
501 |
+
}
|
502 |
+
60% {
|
503 |
+
opacity: 1;
|
504 |
+
-webkit-transform: translate3d(0, 25px, 0);
|
505 |
+
transform: translate3d(0, 25px, 0);
|
506 |
+
}
|
507 |
+
75% {
|
508 |
+
-webkit-transform: translate3d(0, -10px, 0);
|
509 |
+
transform: translate3d(0, -10px, 0);
|
510 |
+
}
|
511 |
+
90% {
|
512 |
+
-webkit-transform: translate3d(0, 5px, 0);
|
513 |
+
transform: translate3d(0, 5px, 0);
|
514 |
+
}
|
515 |
+
100% {
|
516 |
+
-webkit-transform: none;
|
517 |
+
transform: none;
|
518 |
+
}
|
519 |
+
}
|
520 |
+
.bounceInDown {
|
521 |
+
-webkit-animation-name: bounceInDown;
|
522 |
+
animation-name: bounceInDown;
|
523 |
+
}
|
524 |
+
|
525 |
+
@-webkit-keyframes bounceInLeft {
|
526 |
+
0%, 60%, 75%, 90%, 100% {
|
527 |
+
transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
|
528 |
+
}
|
529 |
+
0% {
|
530 |
+
opacity: 0;
|
531 |
+
-webkit-transform: translate3d(-3000px, 0, 0);
|
532 |
+
transform: translate3d(-3000px, 0, 0);
|
533 |
+
}
|
534 |
+
60% {
|
535 |
+
opacity: 1;
|
536 |
+
-webkit-transform: translate3d(25px, 0, 0);
|
537 |
+
transform: translate3d(25px, 0, 0);
|
538 |
+
}
|
539 |
+
75% {
|
540 |
+
-webkit-transform: translate3d(-10px, 0, 0);
|
541 |
+
transform: translate3d(-10px, 0, 0);
|
542 |
+
}
|
543 |
+
90% {
|
544 |
+
-webkit-transform: translate3d(5px, 0, 0);
|
545 |
+
transform: translate3d(5px, 0, 0);
|
546 |
+
}
|
547 |
+
100% {
|
548 |
+
-webkit-transform: none;
|
549 |
+
transform: none;
|
550 |
+
}
|
551 |
+
}
|
552 |
+
@keyframes bounceInLeft {
|
553 |
+
0%, 60%, 75%, 90%, 100% {
|
554 |
+
transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
|
555 |
+
}
|
556 |
+
0% {
|
557 |
+
opacity: 0;
|
558 |
+
-webkit-transform: translate3d(-3000px, 0, 0);
|
559 |
+
transform: translate3d(-3000px, 0, 0);
|
560 |
+
}
|
561 |
+
60% {
|
562 |
+
opacity: 1;
|
563 |
+
-webkit-transform: translate3d(25px, 0, 0);
|
564 |
+
transform: translate3d(25px, 0, 0);
|
565 |
+
}
|
566 |
+
75% {
|
567 |
+
-webkit-transform: translate3d(-10px, 0, 0);
|
568 |
+
transform: translate3d(-10px, 0, 0);
|
569 |
+
}
|
570 |
+
90% {
|
571 |
+
-webkit-transform: translate3d(5px, 0, 0);
|
572 |
+
transform: translate3d(5px, 0, 0);
|
573 |
+
}
|
574 |
+
100% {
|
575 |
+
-webkit-transform: none;
|
576 |
+
transform: none;
|
577 |
+
}
|
578 |
+
}
|
579 |
+
.bounceInLeft {
|
580 |
+
-webkit-animation-name: bounceInLeft;
|
581 |
+
animation-name: bounceInLeft;
|
582 |
+
}
|
583 |
+
|
584 |
+
@-webkit-keyframes bounceInRight {
|
585 |
+
0%, 60%, 75%, 90%, 100% {
|
586 |
+
transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
|
587 |
+
}
|
588 |
+
0% {
|
589 |
+
opacity: 0;
|
590 |
+
-webkit-transform: translate3d(3000px, 0, 0);
|
591 |
+
transform: translate3d(3000px, 0, 0);
|
592 |
+
}
|
593 |
+
60% {
|
594 |
+
opacity: 1;
|
595 |
+
-webkit-transform: translate3d(-25px, 0, 0);
|
596 |
+
transform: translate3d(-25px, 0, 0);
|
597 |
+
}
|
598 |
+
75% {
|
599 |
+
-webkit-transform: translate3d(10px, 0, 0);
|
600 |
+
transform: translate3d(10px, 0, 0);
|
601 |
+
}
|
602 |
+
90% {
|
603 |
+
-webkit-transform: translate3d(-5px, 0, 0);
|
604 |
+
transform: translate3d(-5px, 0, 0);
|
605 |
+
}
|
606 |
+
100% {
|
607 |
+
-webkit-transform: none;
|
608 |
+
transform: none;
|
609 |
+
}
|
610 |
+
}
|
611 |
+
@keyframes bounceInRight {
|
612 |
+
0%, 60%, 75%, 90%, 100% {
|
613 |
+
transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
|
614 |
+
}
|
615 |
+
0% {
|
616 |
+
opacity: 0;
|
617 |
+
-webkit-transform: translate3d(3000px, 0, 0);
|
618 |
+
transform: translate3d(3000px, 0, 0);
|
619 |
+
}
|
620 |
+
60% {
|
621 |
+
opacity: 1;
|
622 |
+
-webkit-transform: translate3d(-25px, 0, 0);
|
623 |
+
transform: translate3d(-25px, 0, 0);
|
624 |
+
}
|
625 |
+
75% {
|
626 |
+
-webkit-transform: translate3d(10px, 0, 0);
|
627 |
+
transform: translate3d(10px, 0, 0);
|
628 |
+
}
|
629 |
+
90% {
|
630 |
+
-webkit-transform: translate3d(-5px, 0, 0);
|
631 |
+
transform: translate3d(-5px, 0, 0);
|
632 |
+
}
|
633 |
+
100% {
|
634 |
+
-webkit-transform: none;
|
635 |
+
transform: none;
|
636 |
+
}
|
637 |
+
}
|
638 |
+
.bounceInRight {
|
639 |
+
-webkit-animation-name: bounceInRight;
|
640 |
+
animation-name: bounceInRight;
|
641 |
+
}
|
642 |
+
|
643 |
+
@-webkit-keyframes bounceInUp {
|
644 |
+
0%, 60%, 75%, 90%, 100% {
|
645 |
+
transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
|
646 |
+
}
|
647 |
+
0% {
|
648 |
+
opacity: 0;
|
649 |
+
-webkit-transform: translate3d(0, 3000px, 0);
|
650 |
+
transform: translate3d(0, 3000px, 0);
|
651 |
+
}
|
652 |
+
60% {
|
653 |
+
opacity: 1;
|
654 |
+
-webkit-transform: translate3d(0, -20px, 0);
|
655 |
+
transform: translate3d(0, -20px, 0);
|
656 |
+
}
|
657 |
+
75% {
|
658 |
+
-webkit-transform: translate3d(0, 10px, 0);
|
659 |
+
transform: translate3d(0, 10px, 0);
|
660 |
+
}
|
661 |
+
90% {
|
662 |
+
-webkit-transform: translate3d(0, -5px, 0);
|
663 |
+
transform: translate3d(0, -5px, 0);
|
664 |
+
}
|
665 |
+
100% {
|
666 |
+
-webkit-transform: translate3d(0, 0, 0);
|
667 |
+
transform: translate3d(0, 0, 0);
|
668 |
+
}
|
669 |
+
}
|
670 |
+
@keyframes bounceInUp {
|
671 |
+
0%, 60%, 75%, 90%, 100% {
|
672 |
+
transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
|
673 |
+
}
|
674 |
+
0% {
|
675 |
+
opacity: 0;
|
676 |
+
-webkit-transform: translate3d(0, 3000px, 0);
|
677 |
+
transform: translate3d(0, 3000px, 0);
|
678 |
+
}
|
679 |
+
60% {
|
680 |
+
opacity: 1;
|
681 |
+
-webkit-transform: translate3d(0, -20px, 0);
|
682 |
+
transform: translate3d(0, -20px, 0);
|
683 |
+
}
|
684 |
+
75% {
|
685 |
+
-webkit-transform: translate3d(0, 10px, 0);
|
686 |
+
transform: translate3d(0, 10px, 0);
|
687 |
+
}
|
688 |
+
90% {
|
689 |
+
-webkit-transform: translate3d(0, -5px, 0);
|
690 |
+
transform: translate3d(0, -5px, 0);
|
691 |
+
}
|
692 |
+
100% {
|
693 |
+
-webkit-transform: translate3d(0, 0, 0);
|
694 |
+
transform: translate3d(0, 0, 0);
|
695 |
+
}
|
696 |
+
}
|
697 |
+
.bounceInUp {
|
698 |
+
-webkit-animation-name: bounceInUp;
|
699 |
+
animation-name: bounceInUp;
|
700 |
+
}
|
701 |
+
|
702 |
+
@-webkit-keyframes bounceOut {
|
703 |
+
20% {
|
704 |
+
-webkit-transform: scale3d(0.9, 0.9, 0.9);
|
705 |
+
transform: scale3d(0.9, 0.9, 0.9);
|
706 |
+
}
|
707 |
+
50%, 55% {
|
708 |
+
opacity: 1;
|
709 |
+
-webkit-transform: scale3d(1.1, 1.1, 1.1);
|
710 |
+
transform: scale3d(1.1, 1.1, 1.1);
|
711 |
+
}
|
712 |
+
100% {
|
713 |
+
opacity: 0;
|
714 |
+
-webkit-transform: scale3d(0.3, 0.3, 0.3);
|
715 |
+
transform: scale3d(0.3, 0.3, 0.3);
|
716 |
+
}
|
717 |
+
}
|
718 |
+
@keyframes bounceOut {
|
719 |
+
20% {
|
720 |
+
-webkit-transform: scale3d(0.9, 0.9, 0.9);
|
721 |
+
transform: scale3d(0.9, 0.9, 0.9);
|
722 |
+
}
|
723 |
+
50%, 55% {
|
724 |
+
opacity: 1;
|
725 |
+
-webkit-transform: scale3d(1.1, 1.1, 1.1);
|
726 |
+
transform: scale3d(1.1, 1.1, 1.1);
|
727 |
+
}
|
728 |
+
100% {
|
729 |
+
opacity: 0;
|
730 |
+
-webkit-transform: scale3d(0.3, 0.3, 0.3);
|
731 |
+
transform: scale3d(0.3, 0.3, 0.3);
|
732 |
+
}
|
733 |
+
}
|
734 |
+
.bounceOut {
|
735 |
+
-webkit-animation-name: bounceOut;
|
736 |
+
animation-name: bounceOut;
|
737 |
+
-webkit-animation-duration: .75s;
|
738 |
+
animation-duration: .75s;
|
739 |
+
}
|
740 |
+
|
741 |
+
@-webkit-keyframes bounceOutDown {
|
742 |
+
20% {
|
743 |
+
-webkit-transform: translate3d(0, 10px, 0);
|
744 |
+
transform: translate3d(0, 10px, 0);
|
745 |
+
}
|
746 |
+
40%, 45% {
|
747 |
+
opacity: 1;
|
748 |
+
-webkit-transform: translate3d(0, -20px, 0);
|
749 |
+
transform: translate3d(0, -20px, 0);
|
750 |
+
}
|
751 |
+
100% {
|
752 |
+
opacity: 0;
|
753 |
+
-webkit-transform: translate3d(0, 2000px, 0);
|
754 |
+
transform: translate3d(0, 2000px, 0);
|
755 |
+
}
|
756 |
+
}
|
757 |
+
@keyframes bounceOutDown {
|
758 |
+
20% {
|
759 |
+
-webkit-transform: translate3d(0, 10px, 0);
|
760 |
+
transform: translate3d(0, 10px, 0);
|
761 |
+
}
|
762 |
+
40%, 45% {
|
763 |
+
opacity: 1;
|
764 |
+
-webkit-transform: translate3d(0, -20px, 0);
|
765 |
+
transform: translate3d(0, -20px, 0);
|
766 |
+
}
|
767 |
+
100% {
|
768 |
+
opacity: 0;
|
769 |
+
-webkit-transform: translate3d(0, 2000px, 0);
|
770 |
+
transform: translate3d(0, 2000px, 0);
|
771 |
+
}
|
772 |
+
}
|
773 |
+
.bounceOutDown {
|
774 |
+
-webkit-animation-name: bounceOutDown;
|
775 |
+
animation-name: bounceOutDown;
|
776 |
+
}
|
777 |
+
|
778 |
+
@-webkit-keyframes bounceOutLeft {
|
779 |
+
20% {
|
780 |
+
opacity: 1;
|
781 |
+
-webkit-transform: translate3d(20px, 0, 0);
|
782 |
+
transform: translate3d(20px, 0, 0);
|
783 |
+
}
|
784 |
+
100% {
|
785 |
+
opacity: 0;
|
786 |
+
-webkit-transform: translate3d(-2000px, 0, 0);
|
787 |
+
transform: translate3d(-2000px, 0, 0);
|
788 |
+
}
|
789 |
+
}
|
790 |
+
@keyframes bounceOutLeft {
|
791 |
+
20% {
|
792 |
+
opacity: 1;
|
793 |
+
-webkit-transform: translate3d(20px, 0, 0);
|
794 |
+
transform: translate3d(20px, 0, 0);
|
795 |
+
}
|
796 |
+
100% {
|
797 |
+
opacity: 0;
|
798 |
+
-webkit-transform: translate3d(-2000px, 0, 0);
|
799 |
+
transform: translate3d(-2000px, 0, 0);
|
800 |
+
}
|
801 |
+
}
|
802 |
+
.bounceOutLeft {
|
803 |
+
-webkit-animation-name: bounceOutLeft;
|
804 |
+
animation-name: bounceOutLeft;
|
805 |
+
}
|
806 |
+
|
807 |
+
@-webkit-keyframes bounceOutRight {
|
808 |
+
20% {
|
809 |
+
opacity: 1;
|
810 |
+
-webkit-transform: translate3d(-20px, 0, 0);
|
811 |
+
transform: translate3d(-20px, 0, 0);
|
812 |
+
}
|
813 |
+
100% {
|
814 |
+
opacity: 0;
|
815 |
+
-webkit-transform: translate3d(2000px, 0, 0);
|
816 |
+
transform: translate3d(2000px, 0, 0);
|
817 |
+
}
|
818 |
+
}
|
819 |
+
@keyframes bounceOutRight {
|
820 |
+
20% {
|
821 |
+
opacity: 1;
|
822 |
+
-webkit-transform: translate3d(-20px, 0, 0);
|
823 |
+
transform: translate3d(-20px, 0, 0);
|
824 |
+
}
|
825 |
+
100% {
|
826 |
+
opacity: 0;
|
827 |
+
-webkit-transform: translate3d(2000px, 0, 0);
|
828 |
+
transform: translate3d(2000px, 0, 0);
|
829 |
+
}
|
830 |
+
}
|
831 |
+
.bounceOutRight {
|
832 |
+
-webkit-animation-name: bounceOutRight;
|
833 |
+
animation-name: bounceOutRight;
|
834 |
+
}
|
835 |
+
|
836 |
+
@-webkit-keyframes bounceOutUp {
|
837 |
+
20% {
|
838 |
+
-webkit-transform: translate3d(0, -10px, 0);
|
839 |
+
transform: translate3d(0, -10px, 0);
|
840 |
+
}
|
841 |
+
40%, 45% {
|
842 |
+
opacity: 1;
|
843 |
+
-webkit-transform: translate3d(0, 20px, 0);
|
844 |
+
transform: translate3d(0, 20px, 0);
|
845 |
+
}
|
846 |
+
100% {
|
847 |
+
opacity: 0;
|
848 |
+
-webkit-transform: translate3d(0, -2000px, 0);
|
849 |
+
transform: translate3d(0, -2000px, 0);
|
850 |
+
}
|
851 |
+
}
|
852 |
+
@keyframes bounceOutUp {
|
853 |
+
20% {
|
854 |
+
-webkit-transform: translate3d(0, -10px, 0);
|
855 |
+
transform: translate3d(0, -10px, 0);
|
856 |
+
}
|
857 |
+
40%, 45% {
|
858 |
+
opacity: 1;
|
859 |
+
-webkit-transform: translate3d(0, 20px, 0);
|
860 |
+
transform: translate3d(0, 20px, 0);
|
861 |
+
}
|
862 |
+
100% {
|
863 |
+
opacity: 0;
|
864 |
+
-webkit-transform: translate3d(0, -2000px, 0);
|
865 |
+
transform: translate3d(0, -2000px, 0);
|
866 |
+
}
|
867 |
+
}
|
868 |
+
.bounceOutUp {
|
869 |
+
-webkit-animation-name: bounceOutUp;
|
870 |
+
animation-name: bounceOutUp;
|
871 |
+
}
|
872 |
+
|
873 |
+
@-webkit-keyframes fadeIn {
|
874 |
+
0% {
|
875 |
+
opacity: 0;
|
876 |
+
}
|
877 |
+
100% {
|
878 |
+
opacity: 1;
|
879 |
+
}
|
880 |
+
}
|
881 |
+
@keyframes fadeIn {
|
882 |
+
0% {
|
883 |
+
opacity: 0;
|
884 |
+
}
|
885 |
+
100% {
|
886 |
+
opacity: 1;
|
887 |
+
}
|
888 |
+
}
|
889 |
+
.fadeIn {
|
890 |
+
-webkit-animation-name: fadeIn;
|
891 |
+
animation-name: fadeIn;
|
892 |
+
}
|
893 |
+
|
894 |
+
@-webkit-keyframes fadeInDown {
|
895 |
+
0% {
|
896 |
+
opacity: 0;
|
897 |
+
-webkit-transform: translate3d(0, -100%, 0);
|
898 |
+
transform: translate3d(0, -100%, 0);
|
899 |
+
}
|
900 |
+
100% {
|
901 |
+
opacity: 1;
|
902 |
+
-webkit-transform: none;
|
903 |
+
transform: none;
|
904 |
+
}
|
905 |
+
}
|
906 |
+
@keyframes fadeInDown {
|
907 |
+
0% {
|
908 |
+
opacity: 0;
|
909 |
+
-webkit-transform: translate3d(0, -100%, 0);
|
910 |
+
transform: translate3d(0, -100%, 0);
|
911 |
+
}
|
912 |
+
100% {
|
913 |
+
opacity: 1;
|
914 |
+
-webkit-transform: none;
|
915 |
+
transform: none;
|
916 |
+
}
|
917 |
+
}
|
918 |
+
.fadeInDown {
|
919 |
+
-webkit-animation-name: fadeInDown;
|
920 |
+
animation-name: fadeInDown;
|
921 |
+
}
|
922 |
+
|
923 |
+
@-webkit-keyframes fadeInDownBig {
|
924 |
+
0% {
|
925 |
+
opacity: 0;
|
926 |
+
-webkit-transform: translate3d(0, -2000px, 0);
|
927 |
+
transform: translate3d(0, -2000px, 0);
|
928 |
+
}
|
929 |
+
100% {
|
930 |
+
opacity: 1;
|
931 |
+
-webkit-transform: none;
|
932 |
+
transform: none;
|
933 |
+
}
|
934 |
+
}
|
935 |
+
@keyframes fadeInDownBig {
|
936 |
+
0% {
|
937 |
+
opacity: 0;
|
938 |
+
-webkit-transform: translate3d(0, -2000px, 0);
|
939 |
+
transform: translate3d(0, -2000px, 0);
|
940 |
+
}
|
941 |
+
100% {
|
942 |
+
opacity: 1;
|
943 |
+
-webkit-transform: none;
|
944 |
+
transform: none;
|
945 |
+
}
|
946 |
+
}
|
947 |
+
.fadeInDownBig {
|
948 |
+
-webkit-animation-name: fadeInDownBig;
|
949 |
+
animation-name: fadeInDownBig;
|
950 |
+
}
|
951 |
+
|
952 |
+
@-webkit-keyframes fadeInLeft {
|
953 |
+
0% {
|
954 |
+
opacity: 0;
|
955 |
+
-webkit-transform: translate3d(-100%, 0, 0);
|
956 |
+
transform: translate3d(-100%, 0, 0);
|
957 |
+
}
|
958 |
+
100% {
|
959 |
+
opacity: 1;
|
960 |
+
-webkit-transform: none;
|
961 |
+
transform: none;
|
962 |
+
}
|
963 |
+
}
|
964 |
+
@keyframes fadeInLeft {
|
965 |
+
0% {
|
966 |
+
opacity: 0;
|
967 |
+
-webkit-transform: translate3d(-100%, 0, 0);
|
968 |
+
transform: translate3d(-100%, 0, 0);
|
969 |
+
}
|
970 |
+
100% {
|
971 |
+
opacity: 1;
|
972 |
+
-webkit-transform: none;
|
973 |
+
transform: none;
|
974 |
+
}
|
975 |
+
}
|
976 |
+
.fadeInLeft {
|
977 |
+
-webkit-animation-name: fadeInLeft;
|
978 |
+
animation-name: fadeInLeft;
|
979 |
+
}
|
980 |
+
|
981 |
+
@-webkit-keyframes fadeInLeftBig {
|
982 |
+
0% {
|
983 |
+
opacity: 0;
|
984 |
+
-webkit-transform: translate3d(-2000px, 0, 0);
|
985 |
+
transform: translate3d(-2000px, 0, 0);
|
986 |
+
}
|
987 |
+
100% {
|
988 |
+
opacity: 1;
|
989 |
+
-webkit-transform: none;
|
990 |
+
transform: none;
|
991 |
+
}
|
992 |
+
}
|
993 |
+
@keyframes fadeInLeftBig {
|
994 |
+
0% {
|
995 |
+
opacity: 0;
|
996 |
+
-webkit-transform: translate3d(-2000px, 0, 0);
|
997 |
+
transform: translate3d(-2000px, 0, 0);
|
998 |
+
}
|
999 |
+
100% {
|
1000 |
+
opacity: 1;
|
1001 |
+
-webkit-transform: none;
|
1002 |
+
transform: none;
|
1003 |
+
}
|
1004 |
+
}
|
1005 |
+
.fadeInLeftBig {
|
1006 |
+
-webkit-animation-name: fadeInLeftBig;
|
1007 |
+
animation-name: fadeInLeftBig;
|
1008 |
+
}
|
1009 |
+
|
1010 |
+
@-webkit-keyframes fadeInRight {
|
1011 |
+
0% {
|
1012 |
+
opacity: 0;
|
1013 |
+
-webkit-transform: translate3d(100%, 0, 0);
|
1014 |
+
transform: translate3d(100%, 0, 0);
|
1015 |
+
}
|
1016 |
+
100% {
|
1017 |
+
opacity: 1;
|
1018 |
+
-webkit-transform: none;
|
1019 |
+
transform: none;
|
1020 |
+
}
|
1021 |
+
}
|
1022 |
+
@keyframes fadeInRight {
|
1023 |
+
0% {
|
1024 |
+
opacity: 0;
|
1025 |
+
-webkit-transform: translate3d(100%, 0, 0);
|
1026 |
+
transform: translate3d(100%, 0, 0);
|
1027 |
+
}
|
1028 |
+
100% {
|
1029 |
+
opacity: 1;
|
1030 |
+
-webkit-transform: none;
|
1031 |
+
transform: none;
|
1032 |
+
}
|
1033 |
+
}
|
1034 |
+
.fadeInRight {
|
1035 |
+
-webkit-animation-name: fadeInRight;
|
1036 |
+
animation-name: fadeInRight;
|
1037 |
+
}
|
1038 |
+
|
1039 |
+
@-webkit-keyframes fadeInRightBig {
|
1040 |
+
0% {
|
1041 |
+
opacity: 0;
|
1042 |
+
-webkit-transform: translate3d(2000px, 0, 0);
|
1043 |
+
transform: translate3d(2000px, 0, 0);
|
1044 |
+
}
|
1045 |
+
100% {
|
1046 |
+
opacity: 1;
|
1047 |
+
-webkit-transform: none;
|
1048 |
+
transform: none;
|
1049 |
+
}
|
1050 |
+
}
|
1051 |
+
@keyframes fadeInRightBig {
|
1052 |
+
0% {
|
1053 |
+
opacity: 0;
|
1054 |
+
-webkit-transform: translate3d(2000px, 0, 0);
|
1055 |
+
transform: translate3d(2000px, 0, 0);
|
1056 |
+
}
|
1057 |
+
100% {
|
1058 |
+
opacity: 1;
|
1059 |
+
-webkit-transform: none;
|
1060 |
+
transform: none;
|
1061 |
+
}
|
1062 |
+
}
|
1063 |
+
.fadeInRightBig {
|
1064 |
+
-webkit-animation-name: fadeInRightBig;
|
1065 |
+
animation-name: fadeInRightBig;
|
1066 |
+
}
|
1067 |
+
|
1068 |
+
@-webkit-keyframes fadeInUp {
|
1069 |
+
0% {
|
1070 |
+
opacity: 0;
|
1071 |
+
-webkit-transform: translate3d(0, 100%, 0);
|
1072 |
+
transform: translate3d(0, 100%, 0);
|
1073 |
+
}
|
1074 |
+
100% {
|
1075 |
+
opacity: 1;
|
1076 |
+
-webkit-transform: none;
|
1077 |
+
transform: none;
|
1078 |
+
}
|
1079 |
+
}
|
1080 |
+
@keyframes fadeInUp {
|
1081 |
+
0% {
|
1082 |
+
opacity: 0;
|
1083 |
+
-webkit-transform: translate3d(0, 100%, 0);
|
1084 |
+
transform: translate3d(0, 100%, 0);
|
1085 |
+
}
|
1086 |
+
100% {
|
1087 |
+
opacity: 1;
|
1088 |
+
-webkit-transform: none;
|
1089 |
+
transform: none;
|
1090 |
+
}
|
1091 |
+
}
|
1092 |
+
.fadeInUp {
|
1093 |
+
-webkit-animation-name: fadeInUp;
|
1094 |
+
animation-name: fadeInUp;
|
1095 |
+
}
|
1096 |
+
|
1097 |
+
@-webkit-keyframes fadeInUpBig {
|
1098 |
+
0% {
|
1099 |
+
opacity: 0;
|
1100 |
+
-webkit-transform: translate3d(0, 2000px, 0);
|
1101 |
+
transform: translate3d(0, 2000px, 0);
|
1102 |
+
}
|
1103 |
+
100% {
|
1104 |
+
opacity: 1;
|
1105 |
+
-webkit-transform: none;
|
1106 |
+
transform: none;
|
1107 |
+
}
|
1108 |
+
}
|
1109 |
+
@keyframes fadeInUpBig {
|
1110 |
+
0% {
|
1111 |
+
opacity: 0;
|
1112 |
+
-webkit-transform: translate3d(0, 2000px, 0);
|
1113 |
+
transform: translate3d(0, 2000px, 0);
|
1114 |
+
}
|
1115 |
+
100% {
|
1116 |
+
opacity: 1;
|
1117 |
+
-webkit-transform: none;
|
1118 |
+
transform: none;
|
1119 |
+
}
|
1120 |
+
}
|
1121 |
+
.fadeInUpBig {
|
1122 |
+
-webkit-animation-name: fadeInUpBig;
|
1123 |
+
animation-name: fadeInUpBig;
|
1124 |
+
}
|
1125 |
+
|
1126 |
+
@-webkit-keyframes fadeOut {
|
1127 |
+
0% {
|
1128 |
+
opacity: 1;
|
1129 |
+
}
|
1130 |
+
100% {
|
1131 |
+
opacity: 0;
|
1132 |
+
}
|
1133 |
+
}
|
1134 |
+
@keyframes fadeOut {
|
1135 |
+
0% {
|
1136 |
+
opacity: 1;
|
1137 |
+
}
|
1138 |
+
100% {
|
1139 |
+
opacity: 0;
|
1140 |
+
}
|
1141 |
+
}
|
1142 |
+
.fadeOut {
|
1143 |
+
-webkit-animation-name: fadeOut;
|
1144 |
+
animation-name: fadeOut;
|
1145 |
+
}
|
1146 |
+
|
1147 |
+
@-webkit-keyframes fadeOutDown {
|
1148 |
+
0% {
|
1149 |
+
opacity: 1;
|
1150 |
+
}
|
1151 |
+
100% {
|
1152 |
+
opacity: 0;
|
1153 |
+
-webkit-transform: translate3d(0, 100%, 0);
|
1154 |
+
transform: translate3d(0, 100%, 0);
|
1155 |
+
}
|
1156 |
+
}
|
1157 |
+
@keyframes fadeOutDown {
|
1158 |
+
0% {
|
1159 |
+
opacity: 1;
|
1160 |
+
}
|
1161 |
+
100% {
|
1162 |
+
opacity: 0;
|
1163 |
+
-webkit-transform: translate3d(0, 100%, 0);
|
1164 |
+
transform: translate3d(0, 100%, 0);
|
1165 |
+
}
|
1166 |
+
}
|
1167 |
+
.fadeOutDown {
|
1168 |
+
-webkit-animation-name: fadeOutDown;
|
1169 |
+
animation-name: fadeOutDown;
|
1170 |
+
}
|
1171 |
+
|
1172 |
+
@-webkit-keyframes fadeOutDownBig {
|
1173 |
+
0% {
|
1174 |
+
opacity: 1;
|
1175 |
+
}
|
1176 |
+
100% {
|
1177 |
+
opacity: 0;
|
1178 |
+
-webkit-transform: translate3d(0, 2000px, 0);
|
1179 |
+
transform: translate3d(0, 2000px, 0);
|
1180 |
+
}
|
1181 |
+
}
|
1182 |
+
@keyframes fadeOutDownBig {
|
1183 |
+
0% {
|
1184 |
+
opacity: 1;
|
1185 |
+
}
|
1186 |
+
100% {
|
1187 |
+
opacity: 0;
|
1188 |
+
-webkit-transform: translate3d(0, 2000px, 0);
|
1189 |
+
transform: translate3d(0, 2000px, 0);
|
1190 |
+
}
|
1191 |
+
}
|
1192 |
+
.fadeOutDownBig {
|
1193 |
+
-webkit-animation-name: fadeOutDownBig;
|
1194 |
+
animation-name: fadeOutDownBig;
|
1195 |
+
}
|
1196 |
+
|
1197 |
+
@-webkit-keyframes fadeOutLeft {
|
1198 |
+
0% {
|
1199 |
+
opacity: 1;
|
1200 |
+
}
|
1201 |
+
100% {
|
1202 |
+
opacity: 0;
|
1203 |
+
-webkit-transform: translate3d(-100%, 0, 0);
|
1204 |
+
transform: translate3d(-100%, 0, 0);
|
1205 |
+
}
|
1206 |
+
}
|
1207 |
+
@keyframes fadeOutLeft {
|
1208 |
+
0% {
|
1209 |
+
opacity: 1;
|
1210 |
+
}
|
1211 |
+
100% {
|
1212 |
+
opacity: 0;
|
1213 |
+
-webkit-transform: translate3d(-100%, 0, 0);
|
1214 |
+
transform: translate3d(-100%, 0, 0);
|
1215 |
+
}
|
1216 |
+
}
|
1217 |
+
.fadeOutLeft {
|
1218 |
+
-webkit-animation-name: fadeOutLeft;
|
1219 |
+
animation-name: fadeOutLeft;
|
1220 |
+
}
|
1221 |
+
|
1222 |
+
@-webkit-keyframes fadeOutLeftBig {
|
1223 |
+
0% {
|
1224 |
+
opacity: 1;
|
1225 |
+
}
|
1226 |
+
100% {
|
1227 |
+
opacity: 0;
|
1228 |
+
-webkit-transform: translate3d(-2000px, 0, 0);
|
1229 |
+
transform: translate3d(-2000px, 0, 0);
|
1230 |
+
}
|
1231 |
+
}
|
1232 |
+
@keyframes fadeOutLeftBig {
|
1233 |
+
0% {
|
1234 |
+
opacity: 1;
|
1235 |
+
}
|
1236 |
+
100% {
|
1237 |
+
opacity: 0;
|
1238 |
+
-webkit-transform: translate3d(-2000px, 0, 0);
|
1239 |
+
transform: translate3d(-2000px, 0, 0);
|
1240 |
+
}
|
1241 |
+
}
|
1242 |
+
.fadeOutLeftBig {
|
1243 |
+
-webkit-animation-name: fadeOutLeftBig;
|
1244 |
+
animation-name: fadeOutLeftBig;
|
1245 |
+
}
|
1246 |
+
|
1247 |
+
@-webkit-keyframes fadeOutRight {
|
1248 |
+
0% {
|
1249 |
+
opacity: 1;
|
1250 |
+
}
|
1251 |
+
100% {
|
1252 |
+
opacity: 0;
|
1253 |
+
-webkit-transform: translate3d(100%, 0, 0);
|
1254 |
+
transform: translate3d(100%, 0, 0);
|
1255 |
+
}
|
1256 |
+
}
|
1257 |
+
@keyframes fadeOutRight {
|
1258 |
+
0% {
|
1259 |
+
opacity: 1;
|
1260 |
+
}
|
1261 |
+
100% {
|
1262 |
+
opacity: 0;
|
1263 |
+
-webkit-transform: translate3d(100%, 0, 0);
|
1264 |
+
transform: translate3d(100%, 0, 0);
|
1265 |
+
}
|
1266 |
+
}
|
1267 |
+
.fadeOutRight {
|
1268 |
+
-webkit-animation-name: fadeOutRight;
|
1269 |
+
animation-name: fadeOutRight;
|
1270 |
+
}
|
1271 |
+
|
1272 |
+
@-webkit-keyframes fadeOutRightBig {
|
1273 |
+
0% {
|
1274 |
+
opacity: 1;
|
1275 |
+
}
|
1276 |
+
100% {
|
1277 |
+
opacity: 0;
|
1278 |
+
-webkit-transform: translate3d(2000px, 0, 0);
|
1279 |
+
transform: translate3d(2000px, 0, 0);
|
1280 |
+
}
|
1281 |
+
}
|
1282 |
+
@keyframes fadeOutRightBig {
|
1283 |
+
0% {
|
1284 |
+
opacity: 1;
|
1285 |
+
}
|
1286 |
+
100% {
|
1287 |
+
opacity: 0;
|
1288 |
+
-webkit-transform: translate3d(2000px, 0, 0);
|
1289 |
+
transform: translate3d(2000px, 0, 0);
|
1290 |
+
}
|
1291 |
+
}
|
1292 |
+
.fadeOutRightBig {
|
1293 |
+
-webkit-animation-name: fadeOutRightBig;
|
1294 |
+
animation-name: fadeOutRightBig;
|
1295 |
+
}
|
1296 |
+
|
1297 |
+
@-webkit-keyframes fadeOutUp {
|
1298 |
+
0% {
|
1299 |
+
opacity: 1;
|
1300 |
+
}
|
1301 |
+
100% {
|
1302 |
+
opacity: 0;
|
1303 |
+
-webkit-transform: translate3d(0, -100%, 0);
|
1304 |
+
transform: translate3d(0, -100%, 0);
|
1305 |
+
}
|
1306 |
+
}
|
1307 |
+
@keyframes fadeOutUp {
|
1308 |
+
0% {
|
1309 |
+
opacity: 1;
|
1310 |
+
}
|
1311 |
+
100% {
|
1312 |
+
opacity: 0;
|
1313 |
+
-webkit-transform: translate3d(0, -100%, 0);
|
1314 |
+
transform: translate3d(0, -100%, 0);
|
1315 |
+
}
|
1316 |
+
}
|
1317 |
+
.fadeOutUp {
|
1318 |
+
-webkit-animation-name: fadeOutUp;
|
1319 |
+
animation-name: fadeOutUp;
|
1320 |
+
}
|
1321 |
+
|
1322 |
+
@-webkit-keyframes fadeOutUpBig {
|
1323 |
+
0% {
|
1324 |
+
opacity: 1;
|
1325 |
+
}
|
1326 |
+
100% {
|
1327 |
+
opacity: 0;
|
1328 |
+
-webkit-transform: translate3d(0, -2000px, 0);
|
1329 |
+
transform: translate3d(0, -2000px, 0);
|
1330 |
+
}
|
1331 |
+
}
|
1332 |
+
@keyframes fadeOutUpBig {
|
1333 |
+
0% {
|
1334 |
+
opacity: 1;
|
1335 |
+
}
|
1336 |
+
100% {
|
1337 |
+
opacity: 0;
|
1338 |
+
-webkit-transform: translate3d(0, -2000px, 0);
|
1339 |
+
transform: translate3d(0, -2000px, 0);
|
1340 |
+
}
|
1341 |
+
}
|
1342 |
+
.fadeOutUpBig {
|
1343 |
+
-webkit-animation-name: fadeOutUpBig;
|
1344 |
+
animation-name: fadeOutUpBig;
|
1345 |
+
}
|
1346 |
+
|
1347 |
+
@-webkit-keyframes flip {
|
1348 |
+
0% {
|
1349 |
+
-webkit-transform: perspective(400px) rotate3d(0, 1, 0, -360deg);
|
1350 |
+
transform: perspective(400px) rotate3d(0, 1, 0, -360deg);
|
1351 |
+
-webkit-animation-timing-function: ease-out;
|
1352 |
+
animation-timing-function: ease-out;
|
1353 |
+
}
|
1354 |
+
40% {
|
1355 |
+
-webkit-transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -190deg);
|
1356 |
+
transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -190deg);
|
1357 |
+
-webkit-animation-timing-function: ease-out;
|
1358 |
+
animation-timing-function: ease-out;
|
1359 |
+
}
|
1360 |
+
50% {
|
1361 |
+
-webkit-transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -170deg);
|
1362 |
+
transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -170deg);
|
1363 |
+
-webkit-animation-timing-function: ease-in;
|
1364 |
+
animation-timing-function: ease-in;
|
1365 |
+
}
|
1366 |
+
80% {
|
1367 |
+
-webkit-transform: perspective(400px) scale3d(0.95, 0.95, 0.95);
|
1368 |
+
transform: perspective(400px) scale3d(0.95, 0.95, 0.95);
|
1369 |
+
-webkit-animation-timing-function: ease-in;
|
1370 |
+
animation-timing-function: ease-in;
|
1371 |
+
}
|
1372 |
+
100% {
|
1373 |
+
-webkit-transform: perspective(400px);
|
1374 |
+
transform: perspective(400px);
|
1375 |
+
-webkit-animation-timing-function: ease-in;
|
1376 |
+
animation-timing-function: ease-in;
|
1377 |
+
}
|
1378 |
+
}
|
1379 |
+
@keyframes flip {
|
1380 |
+
0% {
|
1381 |
+
-webkit-transform: perspective(400px) rotate3d(0, 1, 0, -360deg);
|
1382 |
+
transform: perspective(400px) rotate3d(0, 1, 0, -360deg);
|
1383 |
+
-webkit-animation-timing-function: ease-out;
|
1384 |
+
animation-timing-function: ease-out;
|
1385 |
+
}
|
1386 |
+
40% {
|
1387 |
+
-webkit-transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -190deg);
|
1388 |
+
transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -190deg);
|
1389 |
+
-webkit-animation-timing-function: ease-out;
|
1390 |
+
animation-timing-function: ease-out;
|
1391 |
+
}
|
1392 |
+
50% {
|
1393 |
+
-webkit-transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -170deg);
|
1394 |
+
transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -170deg);
|
1395 |
+
-webkit-animation-timing-function: ease-in;
|
1396 |
+
animation-timing-function: ease-in;
|
1397 |
+
}
|
1398 |
+
80% {
|
1399 |
+
-webkit-transform: perspective(400px) scale3d(0.95, 0.95, 0.95);
|
1400 |
+
transform: perspective(400px) scale3d(0.95, 0.95, 0.95);
|
1401 |
+
-webkit-animation-timing-function: ease-in;
|
1402 |
+
animation-timing-function: ease-in;
|
1403 |
+
}
|
1404 |
+
100% {
|
1405 |
+
-webkit-transform: perspective(400px);
|
1406 |
+
transform: perspective(400px);
|
1407 |
+
-webkit-animation-timing-function: ease-in;
|
1408 |
+
animation-timing-function: ease-in;
|
1409 |
+
}
|
1410 |
+
}
|
1411 |
+
.animated.flip {
|
1412 |
+
-webkit-backface-visibility: visible;
|
1413 |
+
backface-visibility: visible;
|
1414 |
+
-webkit-animation-name: flip;
|
1415 |
+
animation-name: flip;
|
1416 |
+
}
|
1417 |
+
|
1418 |
+
@-webkit-keyframes flipInX {
|
1419 |
+
0% {
|
1420 |
+
-webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
|
1421 |
+
transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
|
1422 |
+
transition-timing-function: ease-in;
|
1423 |
+
opacity: 0;
|
1424 |
+
}
|
1425 |
+
40% {
|
1426 |
+
-webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
|
1427 |
+
transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
|
1428 |
+
transition-timing-function: ease-in;
|
1429 |
+
}
|
1430 |
+
60% {
|
1431 |
+
-webkit-transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
|
1432 |
+
transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
|
1433 |
+
opacity: 1;
|
1434 |
+
}
|
1435 |
+
80% {
|
1436 |
+
-webkit-transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
|
1437 |
+
transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
|
1438 |
+
}
|
1439 |
+
100% {
|
1440 |
+
-webkit-transform: perspective(400px);
|
1441 |
+
transform: perspective(400px);
|
1442 |
+
}
|
1443 |
+
}
|
1444 |
+
@keyframes flipInX {
|
1445 |
+
0% {
|
1446 |
+
-webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
|
1447 |
+
transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
|
1448 |
+
transition-timing-function: ease-in;
|
1449 |
+
opacity: 0;
|
1450 |
+
}
|
1451 |
+
40% {
|
1452 |
+
-webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
|
1453 |
+
transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
|
1454 |
+
transition-timing-function: ease-in;
|
1455 |
+
}
|
1456 |
+
60% {
|
1457 |
+
-webkit-transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
|
1458 |
+
transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
|
1459 |
+
opacity: 1;
|
1460 |
+
}
|
1461 |
+
80% {
|
1462 |
+
-webkit-transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
|
1463 |
+
transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
|
1464 |
+
}
|
1465 |
+
100% {
|
1466 |
+
-webkit-transform: perspective(400px);
|
1467 |
+
transform: perspective(400px);
|
1468 |
+
}
|
1469 |
+
}
|
1470 |
+
.flipInX {
|
1471 |
+
-webkit-backface-visibility: visible !important;
|
1472 |
+
backface-visibility: visible !important;
|
1473 |
+
-webkit-animation-name: flipInX;
|
1474 |
+
animation-name: flipInX;
|
1475 |
+
}
|
1476 |
+
|
1477 |
+
@-webkit-keyframes flipInY {
|
1478 |
+
0% {
|
1479 |
+
-webkit-transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
|
1480 |
+
transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
|
1481 |
+
transition-timing-function: ease-in;
|
1482 |
+
opacity: 0;
|
1483 |
+
}
|
1484 |
+
40% {
|
1485 |
+
-webkit-transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
|
1486 |
+
transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
|
1487 |
+
transition-timing-function: ease-in;
|
1488 |
+
}
|
1489 |
+
60% {
|
1490 |
+
-webkit-transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
|
1491 |
+
transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
|
1492 |
+
opacity: 1;
|
1493 |
+
}
|
1494 |
+
80% {
|
1495 |
+
-webkit-transform: perspective(400px) rotate3d(0, 1, 0, -5deg);
|
1496 |
+
transform: perspective(400px) rotate3d(0, 1, 0, -5deg);
|
1497 |
+
}
|
1498 |
+
100% {
|
1499 |
+
-webkit-transform: perspective(400px);
|
1500 |
+
transform: perspective(400px);
|
1501 |
+
}
|
1502 |
+
}
|
1503 |
+
@keyframes flipInY {
|
1504 |
+
0% {
|
1505 |
+
-webkit-transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
|
1506 |
+
transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
|
1507 |
+
transition-timing-function: ease-in;
|
1508 |
+
opacity: 0;
|
1509 |
+
}
|
1510 |
+
40% {
|
1511 |
+
-webkit-transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
|
1512 |
+
transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
|
1513 |
+
transition-timing-function: ease-in;
|
1514 |
+
}
|
1515 |
+
60% {
|
1516 |
+
-webkit-transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
|
1517 |
+
transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
|
1518 |
+
opacity: 1;
|
1519 |
+
}
|
1520 |
+
80% {
|
1521 |
+
-webkit-transform: perspective(400px) rotate3d(0, 1, 0, -5deg);
|
1522 |
+
transform: perspective(400px) rotate3d(0, 1, 0, -5deg);
|
1523 |
+
}
|
1524 |
+
100% {
|
1525 |
+
-webkit-transform: perspective(400px);
|
1526 |
+
transform: perspective(400px);
|
1527 |
+
}
|
1528 |
+
}
|
1529 |
+
.flipInY {
|
1530 |
+
-webkit-backface-visibility: visible !important;
|
1531 |
+
backface-visibility: visible !important;
|
1532 |
+
-webkit-animation-name: flipInY;
|
1533 |
+
animation-name: flipInY;
|
1534 |
+
}
|
1535 |
+
|
1536 |
+
@-webkit-keyframes flipOutX {
|
1537 |
+
0% {
|
1538 |
+
-webkit-transform: perspective(400px);
|
1539 |
+
transform: perspective(400px);
|
1540 |
+
}
|
1541 |
+
30% {
|
1542 |
+
-webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
|
1543 |
+
transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
|
1544 |
+
opacity: 1;
|
1545 |
+
}
|
1546 |
+
100% {
|
1547 |
+
-webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
|
1548 |
+
transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
|
1549 |
+
opacity: 0;
|
1550 |
+
}
|
1551 |
+
}
|
1552 |
+
@keyframes flipOutX {
|
1553 |
+
0% {
|
1554 |
+
-webkit-transform: perspective(400px);
|
1555 |
+
transform: perspective(400px);
|
1556 |
+
}
|
1557 |
+
30% {
|
1558 |
+
-webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
|
1559 |
+
transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
|
1560 |
+
opacity: 1;
|
1561 |
+
}
|
1562 |
+
100% {
|
1563 |
+
-webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
|
1564 |
+
transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
|
1565 |
+
opacity: 0;
|
1566 |
+
}
|
1567 |
+
}
|
1568 |
+
.flipOutX {
|
1569 |
+
-webkit-animation-name: flipOutX;
|
1570 |
+
animation-name: flipOutX;
|
1571 |
+
-webkit-animation-duration: .75s;
|
1572 |
+
animation-duration: .75s;
|
1573 |
+
-webkit-backface-visibility: visible !important;
|
1574 |
+
backface-visibility: visible !important;
|
1575 |
+
}
|
1576 |
+
|
1577 |
+
@-webkit-keyframes flipOutY {
|
1578 |
+
0% {
|
1579 |
+
-webkit-transform: perspective(400px);
|
1580 |
+
transform: perspective(400px);
|
1581 |
+
}
|
1582 |
+
30% {
|
1583 |
+
-webkit-transform: perspective(400px) rotate3d(0, 1, 0, -15deg);
|
1584 |
+
transform: perspective(400px) rotate3d(0, 1, 0, -15deg);
|
1585 |
+
opacity: 1;
|
1586 |
+
}
|
1587 |
+
100% {
|
1588 |
+
-webkit-transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
|
1589 |
+
transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
|
1590 |
+
opacity: 0;
|
1591 |
+
}
|
1592 |
+
}
|
1593 |
+
@keyframes flipOutY {
|
1594 |
+
0% {
|
1595 |
+
-webkit-transform: perspective(400px);
|
1596 |
+
transform: perspective(400px);
|
1597 |
+
}
|
1598 |
+
30% {
|
1599 |
+
-webkit-transform: perspective(400px) rotate3d(0, 1, 0, -15deg);
|
1600 |
+
transform: perspective(400px) rotate3d(0, 1, 0, -15deg);
|
1601 |
+
opacity: 1;
|
1602 |
+
}
|
1603 |
+
100% {
|
1604 |
+
-webkit-transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
|
1605 |
+
transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
|
1606 |
+
opacity: 0;
|
1607 |
+
}
|
1608 |
+
}
|
1609 |
+
.flipOutY {
|
1610 |
+
-webkit-backface-visibility: visible !important;
|
1611 |
+
backface-visibility: visible !important;
|
1612 |
+
-webkit-animation-name: flipOutY;
|
1613 |
+
animation-name: flipOutY;
|
1614 |
+
-webkit-animation-duration: .75s;
|
1615 |
+
animation-duration: .75s;
|
1616 |
+
}
|
1617 |
+
|
1618 |
+
@-webkit-keyframes lightSpeedIn {
|
1619 |
+
0% {
|
1620 |
+
-webkit-transform: translate3d(100%, 0, 0) skewX(-30deg);
|
1621 |
+
transform: translate3d(100%, 0, 0) skewX(-30deg);
|
1622 |
+
opacity: 0;
|
1623 |
+
}
|
1624 |
+
60% {
|
1625 |
+
-webkit-transform: skewX(20deg);
|
1626 |
+
transform: skewX(20deg);
|
1627 |
+
opacity: 1;
|
1628 |
+
}
|
1629 |
+
80% {
|
1630 |
+
-webkit-transform: skewX(-5deg);
|
1631 |
+
transform: skewX(-5deg);
|
1632 |
+
opacity: 1;
|
1633 |
+
}
|
1634 |
+
100% {
|
1635 |
+
-webkit-transform: none;
|
1636 |
+
transform: none;
|
1637 |
+
opacity: 1;
|
1638 |
+
}
|
1639 |
+
}
|
1640 |
+
@keyframes lightSpeedIn {
|
1641 |
+
0% {
|
1642 |
+
-webkit-transform: translate3d(100%, 0, 0) skewX(-30deg);
|
1643 |
+
transform: translate3d(100%, 0, 0) skewX(-30deg);
|
1644 |
+
opacity: 0;
|
1645 |
+
}
|
1646 |
+
60% {
|
1647 |
+
-webkit-transform: skewX(20deg);
|
1648 |
+
transform: skewX(20deg);
|
1649 |
+
opacity: 1;
|
1650 |
+
}
|
1651 |
+
80% {
|
1652 |
+
-webkit-transform: skewX(-5deg);
|
1653 |
+
transform: skewX(-5deg);
|
1654 |
+
opacity: 1;
|
1655 |
+
}
|
1656 |
+
100% {
|
1657 |
+
-webkit-transform: none;
|
1658 |
+
transform: none;
|
1659 |
+
opacity: 1;
|
1660 |
+
}
|
1661 |
+
}
|
1662 |
+
.lightSpeedIn {
|
1663 |
+
-webkit-animation-name: lightSpeedIn;
|
1664 |
+
animation-name: lightSpeedIn;
|
1665 |
+
-webkit-animation-timing-function: ease-out;
|
1666 |
+
animation-timing-function: ease-out;
|
1667 |
+
}
|
1668 |
+
|
1669 |
+
@-webkit-keyframes lightSpeedOut {
|
1670 |
+
0% {
|
1671 |
+
opacity: 1;
|
1672 |
+
}
|
1673 |
+
100% {
|
1674 |
+
-webkit-transform: translate3d(100%, 0, 0) skewX(30deg);
|
1675 |
+
transform: translate3d(100%, 0, 0) skewX(30deg);
|
1676 |
+
opacity: 0;
|
1677 |
+
}
|
1678 |
+
}
|
1679 |
+
@keyframes lightSpeedOut {
|
1680 |
+
0% {
|
1681 |
+
opacity: 1;
|
1682 |
+
}
|
1683 |
+
100% {
|
1684 |
+
-webkit-transform: translate3d(100%, 0, 0) skewX(30deg);
|
1685 |
+
transform: translate3d(100%, 0, 0) skewX(30deg);
|
1686 |
+
opacity: 0;
|
1687 |
+
}
|
1688 |
+
}
|
1689 |
+
.lightSpeedOut {
|
1690 |
+
-webkit-animation-name: lightSpeedOut;
|
1691 |
+
animation-name: lightSpeedOut;
|
1692 |
+
-webkit-animation-timing-function: ease-in;
|
1693 |
+
animation-timing-function: ease-in;
|
1694 |
+
}
|
1695 |
+
|
1696 |
+
@-webkit-keyframes rotateIn {
|
1697 |
+
0% {
|
1698 |
+
-webkit-transform-origin: center;
|
1699 |
+
transform-origin: center;
|
1700 |
+
-webkit-transform: rotate3d(0, 0, 1, -200deg);
|
1701 |
+
transform: rotate3d(0, 0, 1, -200deg);
|
1702 |
+
opacity: 0;
|
1703 |
+
}
|
1704 |
+
100% {
|
1705 |
+
-webkit-transform-origin: center;
|
1706 |
+
transform-origin: center;
|
1707 |
+
-webkit-transform: none;
|
1708 |
+
transform: none;
|
1709 |
+
opacity: 1;
|
1710 |
+
}
|
1711 |
+
}
|
1712 |
+
@keyframes rotateIn {
|
1713 |
+
0% {
|
1714 |
+
-webkit-transform-origin: center;
|
1715 |
+
transform-origin: center;
|
1716 |
+
-webkit-transform: rotate3d(0, 0, 1, -200deg);
|
1717 |
+
transform: rotate3d(0, 0, 1, -200deg);
|
1718 |
+
opacity: 0;
|
1719 |
+
}
|
1720 |
+
100% {
|
1721 |
+
-webkit-transform-origin: center;
|
1722 |
+
transform-origin: center;
|
1723 |
+
-webkit-transform: none;
|
1724 |
+
transform: none;
|
1725 |
+
opacity: 1;
|
1726 |
+
}
|
1727 |
+
}
|
1728 |
+
.rotateIn {
|
1729 |
+
-webkit-animation-name: rotateIn;
|
1730 |
+
animation-name: rotateIn;
|
1731 |
+
}
|
1732 |
+
|
1733 |
+
@-webkit-keyframes rotateInDownLeft {
|
1734 |
+
0% {
|
1735 |
+
-webkit-transform-origin: left bottom;
|
1736 |
+
transform-origin: left bottom;
|
1737 |
+
-webkit-transform: rotate3d(0, 0, 1, -45deg);
|
1738 |
+
transform: rotate3d(0, 0, 1, -45deg);
|
1739 |
+
opacity: 0;
|
1740 |
+
}
|
1741 |
+
100% {
|
1742 |
+
-webkit-transform-origin: left bottom;
|
1743 |
+
transform-origin: left bottom;
|
1744 |
+
-webkit-transform: none;
|
1745 |
+
transform: none;
|
1746 |
+
opacity: 1;
|
1747 |
+
}
|
1748 |
+
}
|
1749 |
+
@keyframes rotateInDownLeft {
|
1750 |
+
0% {
|
1751 |
+
-webkit-transform-origin: left bottom;
|
1752 |
+
transform-origin: left bottom;
|
1753 |
+
-webkit-transform: rotate3d(0, 0, 1, -45deg);
|
1754 |
+
transform: rotate3d(0, 0, 1, -45deg);
|
1755 |
+
opacity: 0;
|
1756 |
+
}
|
1757 |
+
100% {
|
1758 |
+
-webkit-transform-origin: left bottom;
|
1759 |
+
transform-origin: left bottom;
|
1760 |
+
-webkit-transform: none;
|
1761 |
+
transform: none;
|
1762 |
+
opacity: 1;
|
1763 |
+
}
|
1764 |
+
}
|
1765 |
+
.rotateInDownLeft {
|
1766 |
+
-webkit-animation-name: rotateInDownLeft;
|
1767 |
+
animation-name: rotateInDownLeft;
|
1768 |
+
}
|
1769 |
+
|
1770 |
+
@-webkit-keyframes rotateInDownRight {
|
1771 |
+
0% {
|
1772 |
+
-webkit-transform-origin: right bottom;
|
1773 |
+
transform-origin: right bottom;
|
1774 |
+
-webkit-transform: rotate3d(0, 0, 1, 45deg);
|
1775 |
+
transform: rotate3d(0, 0, 1, 45deg);
|
1776 |
+
opacity: 0;
|
1777 |
+
}
|
1778 |
+
100% {
|
1779 |
+
-webkit-transform-origin: right bottom;
|
1780 |
+
transform-origin: right bottom;
|
1781 |
+
-webkit-transform: none;
|
1782 |
+
transform: none;
|
1783 |
+
opacity: 1;
|
1784 |
+
}
|
1785 |
+
}
|
1786 |
+
@keyframes rotateInDownRight {
|
1787 |
+
0% {
|
1788 |
+
-webkit-transform-origin: right bottom;
|
1789 |
+
transform-origin: right bottom;
|
1790 |
+
-webkit-transform: rotate3d(0, 0, 1, 45deg);
|
1791 |
+
transform: rotate3d(0, 0, 1, 45deg);
|
1792 |
+
opacity: 0;
|
1793 |
+
}
|
1794 |
+
100% {
|
1795 |
+
-webkit-transform-origin: right bottom;
|
1796 |
+
transform-origin: right bottom;
|
1797 |
+
-webkit-transform: none;
|
1798 |
+
transform: none;
|
1799 |
+
opacity: 1;
|
1800 |
+
}
|
1801 |
+
}
|
1802 |
+
.rotateInDownRight {
|
1803 |
+
-webkit-animation-name: rotateInDownRight;
|
1804 |
+
animation-name: rotateInDownRight;
|
1805 |
+
}
|
1806 |
+
|
1807 |
+
@-webkit-keyframes rotateInUpLeft {
|
1808 |
+
0% {
|
1809 |
+
-webkit-transform-origin: left bottom;
|
1810 |
+
transform-origin: left bottom;
|
1811 |
+
-webkit-transform: rotate3d(0, 0, 1, 45deg);
|
1812 |
+
transform: rotate3d(0, 0, 1, 45deg);
|
1813 |
+
opacity: 0;
|
1814 |
+
}
|
1815 |
+
100% {
|
1816 |
+
-webkit-transform-origin: left bottom;
|
1817 |
+
transform-origin: left bottom;
|
1818 |
+
-webkit-transform: none;
|
1819 |
+
transform: none;
|
1820 |
+
opacity: 1;
|
1821 |
+
}
|
1822 |
+
}
|
1823 |
+
@keyframes rotateInUpLeft {
|
1824 |
+
0% {
|
1825 |
+
-webkit-transform-origin: left bottom;
|
1826 |
+
transform-origin: left bottom;
|
1827 |
+
-webkit-transform: rotate3d(0, 0, 1, 45deg);
|
1828 |
+
transform: rotate3d(0, 0, 1, 45deg);
|
1829 |
+
opacity: 0;
|
1830 |
+
}
|
1831 |
+
100% {
|
1832 |
+
-webkit-transform-origin: left bottom;
|
1833 |
+
transform-origin: left bottom;
|
1834 |
+
-webkit-transform: none;
|
1835 |
+
transform: none;
|
1836 |
+
opacity: 1;
|
1837 |
+
}
|
1838 |
+
}
|
1839 |
+
.rotateInUpLeft {
|
1840 |
+
-webkit-animation-name: rotateInUpLeft;
|
1841 |
+
animation-name: rotateInUpLeft;
|
1842 |
+
}
|
1843 |
+
|
1844 |
+
@-webkit-keyframes rotateInUpRight {
|
1845 |
+
0% {
|
1846 |
+
-webkit-transform-origin: right bottom;
|
1847 |
+
transform-origin: right bottom;
|
1848 |
+
-webkit-transform: rotate3d(0, 0, 1, -90deg);
|
1849 |
+
transform: rotate3d(0, 0, 1, -90deg);
|
1850 |
+
opacity: 0;
|
1851 |
+
}
|
1852 |
+
100% {
|
1853 |
+
-webkit-transform-origin: right bottom;
|
1854 |
+
transform-origin: right bottom;
|
1855 |
+
-webkit-transform: none;
|
1856 |
+
transform: none;
|
1857 |
+
opacity: 1;
|
1858 |
+
}
|
1859 |
+
}
|
1860 |
+
@keyframes rotateInUpRight {
|
1861 |
+
0% {
|
1862 |
+
-webkit-transform-origin: right bottom;
|
1863 |
+
transform-origin: right bottom;
|
1864 |
+
-webkit-transform: rotate3d(0, 0, 1, -90deg);
|
1865 |
+
transform: rotate3d(0, 0, 1, -90deg);
|
1866 |
+
opacity: 0;
|
1867 |
+
}
|
1868 |
+
100% {
|
1869 |
+
-webkit-transform-origin: right bottom;
|
1870 |
+
transform-origin: right bottom;
|
1871 |
+
-webkit-transform: none;
|
1872 |
+
transform: none;
|
1873 |
+
opacity: 1;
|
1874 |
+
}
|
1875 |
+
}
|
1876 |
+
.rotateInUpRight {
|
1877 |
+
-webkit-animation-name: rotateInUpRight;
|
1878 |
+
animation-name: rotateInUpRight;
|
1879 |
+
}
|
1880 |
+
|
1881 |
+
@-webkit-keyframes rotateOut {
|
1882 |
+
0% {
|
1883 |
+
-webkit-transform-origin: center;
|
1884 |
+
transform-origin: center;
|
1885 |
+
opacity: 1;
|
1886 |
+
}
|
1887 |
+
100% {
|
1888 |
+
-webkit-transform-origin: center;
|
1889 |
+
transform-origin: center;
|
1890 |
+
-webkit-transform: rotate3d(0, 0, 1, 200deg);
|
1891 |
+
transform: rotate3d(0, 0, 1, 200deg);
|
1892 |
+
opacity: 0;
|
1893 |
+
}
|
1894 |
+
}
|
1895 |
+
@keyframes rotateOut {
|
1896 |
+
0% {
|
1897 |
+
-webkit-transform-origin: center;
|
1898 |
+
transform-origin: center;
|
1899 |
+
opacity: 1;
|
1900 |
+
}
|
1901 |
+
100% {
|
1902 |
+
-webkit-transform-origin: center;
|
1903 |
+
transform-origin: center;
|
1904 |
+
-webkit-transform: rotate3d(0, 0, 1, 200deg);
|
1905 |
+
transform: rotate3d(0, 0, 1, 200deg);
|
1906 |
+
opacity: 0;
|
1907 |
+
}
|
1908 |
+
}
|
1909 |
+
.rotateOut {
|
1910 |
+
-webkit-animation-name: rotateOut;
|
1911 |
+
animation-name: rotateOut;
|
1912 |
+
}
|
1913 |
+
|
1914 |
+
@-webkit-keyframes rotateOutDownLeft {
|
1915 |
+
0% {
|
1916 |
+
-webkit-transform-origin: left bottom;
|
1917 |
+
transform-origin: left bottom;
|
1918 |
+
opacity: 1;
|
1919 |
+
}
|
1920 |
+
100% {
|
1921 |
+
-webkit-transform-origin: left bottom;
|
1922 |
+
transform-origin: left bottom;
|
1923 |
+
-webkit-transform: rotate3d(0, 0, 1, 45deg);
|
1924 |
+
transform: rotate3d(0, 0, 1, 45deg);
|
1925 |
+
opacity: 0;
|
1926 |
+
}
|
1927 |
+
}
|
1928 |
+
@keyframes rotateOutDownLeft {
|
1929 |
+
0% {
|
1930 |
+
-webkit-transform-origin: left bottom;
|
1931 |
+
transform-origin: left bottom;
|
1932 |
+
opacity: 1;
|
1933 |
+
}
|
1934 |
+
100% {
|
1935 |
+
-webkit-transform-origin: left bottom;
|
1936 |
+
transform-origin: left bottom;
|
1937 |
+
-webkit-transform: rotate3d(0, 0, 1, 45deg);
|
1938 |
+
transform: rotate3d(0, 0, 1, 45deg);
|
1939 |
+
opacity: 0;
|
1940 |
+
}
|
1941 |
+
}
|
1942 |
+
.rotateOutDownLeft {
|
1943 |
+
-webkit-animation-name: rotateOutDownLeft;
|
1944 |
+
animation-name: rotateOutDownLeft;
|
1945 |
+
}
|
1946 |
+
|
1947 |
+
@-webkit-keyframes rotateOutDownRight {
|
1948 |
+
0% {
|
1949 |
+
-webkit-transform-origin: right bottom;
|
1950 |
+
transform-origin: right bottom;
|
1951 |
+
opacity: 1;
|
1952 |
+
}
|
1953 |
+
100% {
|
1954 |
+
-webkit-transform-origin: right bottom;
|
1955 |
+
transform-origin: right bottom;
|
1956 |
+
-webkit-transform: rotate3d(0, 0, 1, -45deg);
|
1957 |
+
transform: rotate3d(0, 0, 1, -45deg);
|
1958 |
+
opacity: 0;
|
1959 |
+
}
|
1960 |
+
}
|
1961 |
+
@keyframes rotateOutDownRight {
|
1962 |
+
0% {
|
1963 |
+
-webkit-transform-origin: right bottom;
|
1964 |
+
transform-origin: right bottom;
|
1965 |
+
opacity: 1;
|
1966 |
+
}
|
1967 |
+
100% {
|
1968 |
+
-webkit-transform-origin: right bottom;
|
1969 |
+
transform-origin: right bottom;
|
1970 |
+
-webkit-transform: rotate3d(0, 0, 1, -45deg);
|
1971 |
+
transform: rotate3d(0, 0, 1, -45deg);
|
1972 |
+
opacity: 0;
|
1973 |
+
}
|
1974 |
+
}
|
1975 |
+
.rotateOutDownRight {
|
1976 |
+
-webkit-animation-name: rotateOutDownRight;
|
1977 |
+
animation-name: rotateOutDownRight;
|
1978 |
+
}
|
1979 |
+
|
1980 |
+
@-webkit-keyframes rotateOutUpLeft {
|
1981 |
+
0% {
|
1982 |
+
-webkit-transform-origin: left bottom;
|
1983 |
+
transform-origin: left bottom;
|
1984 |
+
opacity: 1;
|
1985 |
+
}
|
1986 |
+
100% {
|
1987 |
+
-webkit-transform-origin: left bottom;
|
1988 |
+
transform-origin: left bottom;
|
1989 |
+
-webkit-transform: rotate3d(0, 0, 1, -45deg);
|
1990 |
+
transform: rotate3d(0, 0, 1, -45deg);
|
1991 |
+
opacity: 0;
|
1992 |
+
}
|
1993 |
+
}
|
1994 |
+
@keyframes rotateOutUpLeft {
|
1995 |
+
0% {
|
1996 |
+
-webkit-transform-origin: left bottom;
|
1997 |
+
transform-origin: left bottom;
|
1998 |
+
opacity: 1;
|
1999 |
+
}
|
2000 |
+
100% {
|
2001 |
+
-webkit-transform-origin: left bottom;
|
2002 |
+
transform-origin: left bottom;
|
2003 |
+
-webkit-transform: rotate3d(0, 0, 1, -45deg);
|
2004 |
+
transform: rotate3d(0, 0, 1, -45deg);
|
2005 |
+
opacity: 0;
|
2006 |
+
}
|
2007 |
+
}
|
2008 |
+
.rotateOutUpLeft {
|
2009 |
+
-webkit-animation-name: rotateOutUpLeft;
|
2010 |
+
animation-name: rotateOutUpLeft;
|
2011 |
+
}
|
2012 |
+
|
2013 |
+
@-webkit-keyframes rotateOutUpRight {
|
2014 |
+
0% {
|
2015 |
+
-webkit-transform-origin: right bottom;
|
2016 |
+
transform-origin: right bottom;
|
2017 |
+
opacity: 1;
|
2018 |
+
}
|
2019 |
+
100% {
|
2020 |
+
-webkit-transform-origin: right bottom;
|
2021 |
+
transform-origin: right bottom;
|
2022 |
+
-webkit-transform: rotate3d(0, 0, 1, 90deg);
|
2023 |
+
transform: rotate3d(0, 0, 1, 90deg);
|
2024 |
+
opacity: 0;
|
2025 |
+
}
|
2026 |
+
}
|
2027 |
+
@keyframes rotateOutUpRight {
|
2028 |
+
0% {
|
2029 |
+
-webkit-transform-origin: right bottom;
|
2030 |
+
transform-origin: right bottom;
|
2031 |
+
opacity: 1;
|
2032 |
+
}
|
2033 |
+
100% {
|
2034 |
+
-webkit-transform-origin: right bottom;
|
2035 |
+
transform-origin: right bottom;
|
2036 |
+
-webkit-transform: rotate3d(0, 0, 1, 90deg);
|
2037 |
+
transform: rotate3d(0, 0, 1, 90deg);
|
2038 |
+
opacity: 0;
|
2039 |
+
}
|
2040 |
+
}
|
2041 |
+
.rotateOutUpRight {
|
2042 |
+
-webkit-animation-name: rotateOutUpRight;
|
2043 |
+
animation-name: rotateOutUpRight;
|
2044 |
+
}
|
2045 |
+
|
2046 |
+
@-webkit-keyframes hinge {
|
2047 |
+
0% {
|
2048 |
+
-webkit-transform-origin: top left;
|
2049 |
+
transform-origin: top left;
|
2050 |
+
-webkit-animation-timing-function: ease-in-out;
|
2051 |
+
animation-timing-function: ease-in-out;
|
2052 |
+
}
|
2053 |
+
20%, 60% {
|
2054 |
+
-webkit-transform: rotate3d(0, 0, 1, 80deg);
|
2055 |
+
transform: rotate3d(0, 0, 1, 80deg);
|
2056 |
+
-webkit-transform-origin: top left;
|
2057 |
+
transform-origin: top left;
|
2058 |
+
-webkit-animation-timing-function: ease-in-out;
|
2059 |
+
animation-timing-function: ease-in-out;
|
2060 |
+
}
|
2061 |
+
40%, 80% {
|
2062 |
+
-webkit-transform: rotate3d(0, 0, 1, 60deg);
|
2063 |
+
transform: rotate3d(0, 0, 1, 60deg);
|
2064 |
+
-webkit-transform-origin: top left;
|
2065 |
+
transform-origin: top left;
|
2066 |
+
-webkit-animation-timing-function: ease-in-out;
|
2067 |
+
animation-timing-function: ease-in-out;
|
2068 |
+
opacity: 1;
|
2069 |
+
}
|
2070 |
+
100% {
|
2071 |
+
-webkit-transform: translate3d(0, 700px, 0);
|
2072 |
+
transform: translate3d(0, 700px, 0);
|
2073 |
+
opacity: 0;
|
2074 |
+
}
|
2075 |
+
}
|
2076 |
+
@keyframes hinge {
|
2077 |
+
0% {
|
2078 |
+
-webkit-transform-origin: top left;
|
2079 |
+
transform-origin: top left;
|
2080 |
+
-webkit-animation-timing-function: ease-in-out;
|
2081 |
+
animation-timing-function: ease-in-out;
|
2082 |
+
}
|
2083 |
+
20%, 60% {
|
2084 |
+
-webkit-transform: rotate3d(0, 0, 1, 80deg);
|
2085 |
+
transform: rotate3d(0, 0, 1, 80deg);
|
2086 |
+
-webkit-transform-origin: top left;
|
2087 |
+
transform-origin: top left;
|
2088 |
+
-webkit-animation-timing-function: ease-in-out;
|
2089 |
+
animation-timing-function: ease-in-out;
|
2090 |
+
}
|
2091 |
+
40%, 80% {
|
2092 |
+
-webkit-transform: rotate3d(0, 0, 1, 60deg);
|
2093 |
+
transform: rotate3d(0, 0, 1, 60deg);
|
2094 |
+
-webkit-transform-origin: top left;
|
2095 |
+
transform-origin: top left;
|
2096 |
+
-webkit-animation-timing-function: ease-in-out;
|
2097 |
+
animation-timing-function: ease-in-out;
|
2098 |
+
opacity: 1;
|
2099 |
+
}
|
2100 |
+
100% {
|
2101 |
+
-webkit-transform: translate3d(0, 700px, 0);
|
2102 |
+
transform: translate3d(0, 700px, 0);
|
2103 |
+
opacity: 0;
|
2104 |
+
}
|
2105 |
+
}
|
2106 |
+
.hinge {
|
2107 |
+
-webkit-animation-name: hinge;
|
2108 |
+
animation-name: hinge;
|
2109 |
+
}
|
2110 |
+
|
2111 |
+
/* originally authored by Nick Pettit - https://github.com/nickpettit/glide */
|
2112 |
+
@-webkit-keyframes rollIn {
|
2113 |
+
0% {
|
2114 |
+
opacity: 0;
|
2115 |
+
-webkit-transform: translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg);
|
2116 |
+
transform: translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg);
|
2117 |
+
}
|
2118 |
+
100% {
|
2119 |
+
opacity: 1;
|
2120 |
+
-webkit-transform: none;
|
2121 |
+
transform: none;
|
2122 |
+
}
|
2123 |
+
}
|
2124 |
+
@keyframes rollIn {
|
2125 |
+
0% {
|
2126 |
+
opacity: 0;
|
2127 |
+
-webkit-transform: translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg);
|
2128 |
+
transform: translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg);
|
2129 |
+
}
|
2130 |
+
100% {
|
2131 |
+
opacity: 1;
|
2132 |
+
-webkit-transform: none;
|
2133 |
+
transform: none;
|
2134 |
+
}
|
2135 |
+
}
|
2136 |
+
.rollIn {
|
2137 |
+
-webkit-animation-name: rollIn;
|
2138 |
+
animation-name: rollIn;
|
2139 |
+
}
|
2140 |
+
|
2141 |
+
/* originally authored by Nick Pettit - https://github.com/nickpettit/glide */
|
2142 |
+
@-webkit-keyframes rollOut {
|
2143 |
+
0% {
|
2144 |
+
opacity: 1;
|
2145 |
+
}
|
2146 |
+
100% {
|
2147 |
+
opacity: 0;
|
2148 |
+
-webkit-transform: translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg);
|
2149 |
+
transform: translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg);
|
2150 |
+
}
|
2151 |
+
}
|
2152 |
+
@keyframes rollOut {
|
2153 |
+
0% {
|
2154 |
+
opacity: 1;
|
2155 |
+
}
|
2156 |
+
100% {
|
2157 |
+
opacity: 0;
|
2158 |
+
-webkit-transform: translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg);
|
2159 |
+
transform: translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg);
|
2160 |
+
}
|
2161 |
+
}
|
2162 |
+
.rollOut {
|
2163 |
+
-webkit-animation-name: rollOut;
|
2164 |
+
animation-name: rollOut;
|
2165 |
+
}
|
2166 |
+
|
2167 |
+
@-webkit-keyframes zoomIn {
|
2168 |
+
0% {
|
2169 |
+
opacity: 0;
|
2170 |
+
-webkit-transform: scale3d(0.3, 0.3, 0.3);
|
2171 |
+
transform: scale3d(0.3, 0.3, 0.3);
|
2172 |
+
}
|
2173 |
+
50% {
|
2174 |
+
opacity: 1;
|
2175 |
+
}
|
2176 |
+
}
|
2177 |
+
@keyframes zoomIn {
|
2178 |
+
0% {
|
2179 |
+
opacity: 0;
|
2180 |
+
-webkit-transform: scale3d(0.3, 0.3, 0.3);
|
2181 |
+
transform: scale3d(0.3, 0.3, 0.3);
|
2182 |
+
}
|
2183 |
+
50% {
|
2184 |
+
opacity: 1;
|
2185 |
+
}
|
2186 |
+
}
|
2187 |
+
.zoomIn {
|
2188 |
+
-webkit-animation-name: zoomIn;
|
2189 |
+
animation-name: zoomIn;
|
2190 |
+
}
|
2191 |
+
|
2192 |
+
@-webkit-keyframes zoomInDown {
|
2193 |
+
0% {
|
2194 |
+
opacity: 0;
|
2195 |
+
-webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -1000px, 0);
|
2196 |
+
transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -1000px, 0);
|
2197 |
+
-webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
|
2198 |
+
animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
|
2199 |
+
}
|
2200 |
+
60% {
|
2201 |
+
opacity: 1;
|
2202 |
+
-webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0);
|
2203 |
+
transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0);
|
2204 |
+
-webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
|
2205 |
+
animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
|
2206 |
+
}
|
2207 |
+
}
|
2208 |
+
@keyframes zoomInDown {
|
2209 |
+
0% {
|
2210 |
+
opacity: 0;
|
2211 |
+
-webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -1000px, 0);
|
2212 |
+
transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -1000px, 0);
|
2213 |
+
-webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
|
2214 |
+
animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
|
2215 |
+
}
|
2216 |
+
60% {
|
2217 |
+
opacity: 1;
|
2218 |
+
-webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0);
|
2219 |
+
transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0);
|
2220 |
+
-webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
|
2221 |
+
animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
|
2222 |
+
}
|
2223 |
+
}
|
2224 |
+
.zoomInDown {
|
2225 |
+
-webkit-animation-name: zoomInDown;
|
2226 |
+
animation-name: zoomInDown;
|
2227 |
+
}
|
2228 |
+
|
2229 |
+
@-webkit-keyframes zoomInLeft {
|
2230 |
+
0% {
|
2231 |
+
opacity: 0;
|
2232 |
+
-webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(-1000px, 0, 0);
|
2233 |
+
transform: scale3d(0.1, 0.1, 0.1) translate3d(-1000px, 0, 0);
|
2234 |
+
-webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
|
2235 |
+
animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
|
2236 |
+
}
|
2237 |
+
60% {
|
2238 |
+
opacity: 1;
|
2239 |
+
-webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(10px, 0, 0);
|
2240 |
+
transform: scale3d(0.475, 0.475, 0.475) translate3d(10px, 0, 0);
|
2241 |
+
-webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
|
2242 |
+
animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
|
2243 |
+
}
|
2244 |
+
}
|
2245 |
+
@keyframes zoomInLeft {
|
2246 |
+
0% {
|
2247 |
+
opacity: 0;
|
2248 |
+
-webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(-1000px, 0, 0);
|
2249 |
+
transform: scale3d(0.1, 0.1, 0.1) translate3d(-1000px, 0, 0);
|
2250 |
+
-webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
|
2251 |
+
animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
|
2252 |
+
}
|
2253 |
+
60% {
|
2254 |
+
opacity: 1;
|
2255 |
+
-webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(10px, 0, 0);
|
2256 |
+
transform: scale3d(0.475, 0.475, 0.475) translate3d(10px, 0, 0);
|
2257 |
+
-webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
|
2258 |
+
animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
|
2259 |
+
}
|
2260 |
+
}
|
2261 |
+
.zoomInLeft {
|
2262 |
+
-webkit-animation-name: zoomInLeft;
|
2263 |
+
animation-name: zoomInLeft;
|
2264 |
+
}
|
2265 |
+
|
2266 |
+
@-webkit-keyframes zoomInRight {
|
2267 |
+
0% {
|
2268 |
+
opacity: 0;
|
2269 |
+
-webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(1000px, 0, 0);
|
2270 |
+
transform: scale3d(0.1, 0.1, 0.1) translate3d(1000px, 0, 0);
|
2271 |
+
-webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
|
2272 |
+
animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
|
2273 |
+
}
|
2274 |
+
60% {
|
2275 |
+
opacity: 1;
|
2276 |
+
-webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(-10px, 0, 0);
|
2277 |
+
transform: scale3d(0.475, 0.475, 0.475) translate3d(-10px, 0, 0);
|
2278 |
+
-webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
|
2279 |
+
animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
|
2280 |
+
}
|
2281 |
+
}
|
2282 |
+
@keyframes zoomInRight {
|
2283 |
+
0% {
|
2284 |
+
opacity: 0;
|
2285 |
+
-webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(1000px, 0, 0);
|
2286 |
+
transform: scale3d(0.1, 0.1, 0.1) translate3d(1000px, 0, 0);
|
2287 |
+
-webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
|
2288 |
+
animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
|
2289 |
+
}
|
2290 |
+
60% {
|
2291 |
+
opacity: 1;
|
2292 |
+
-webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(-10px, 0, 0);
|
2293 |
+
transform: scale3d(0.475, 0.475, 0.475) translate3d(-10px, 0, 0);
|
2294 |
+
-webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
|
2295 |
+
animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
|
2296 |
+
}
|
2297 |
+
}
|
2298 |
+
.zoomInRight {
|
2299 |
+
-webkit-animation-name: zoomInRight;
|
2300 |
+
animation-name: zoomInRight;
|
2301 |
+
}
|
2302 |
+
|
2303 |
+
@-webkit-keyframes zoomInUp {
|
2304 |
+
0% {
|
2305 |
+
opacity: 0;
|
2306 |
+
-webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 1000px, 0);
|
2307 |
+
transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 1000px, 0);
|
2308 |
+
-webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
|
2309 |
+
animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
|
2310 |
+
}
|
2311 |
+
60% {
|
2312 |
+
opacity: 1;
|
2313 |
+
-webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0);
|
2314 |
+
transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0);
|
2315 |
+
-webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
|
2316 |
+
animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
|
2317 |
+
}
|
2318 |
+
}
|
2319 |
+
@keyframes zoomInUp {
|
2320 |
+
0% {
|
2321 |
+
opacity: 0;
|
2322 |
+
-webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 1000px, 0);
|
2323 |
+
transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 1000px, 0);
|
2324 |
+
-webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
|
2325 |
+
animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
|
2326 |
+
}
|
2327 |
+
60% {
|
2328 |
+
opacity: 1;
|
2329 |
+
-webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0);
|
2330 |
+
transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0);
|
2331 |
+
-webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
|
2332 |
+
animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
|
2333 |
+
}
|
2334 |
+
}
|
2335 |
+
.zoomInUp {
|
2336 |
+
-webkit-animation-name: zoomInUp;
|
2337 |
+
animation-name: zoomInUp;
|
2338 |
+
}
|
2339 |
+
|
2340 |
+
@-webkit-keyframes zoomOut {
|
2341 |
+
0% {
|
2342 |
+
opacity: 1;
|
2343 |
+
}
|
2344 |
+
50% {
|
2345 |
+
opacity: 0;
|
2346 |
+
-webkit-transform: scale3d(0.3, 0.3, 0.3);
|
2347 |
+
transform: scale3d(0.3, 0.3, 0.3);
|
2348 |
+
}
|
2349 |
+
100% {
|
2350 |
+
opacity: 0;
|
2351 |
+
}
|
2352 |
+
}
|
2353 |
+
@keyframes zoomOut {
|
2354 |
+
0% {
|
2355 |
+
opacity: 1;
|
2356 |
+
}
|
2357 |
+
50% {
|
2358 |
+
opacity: 0;
|
2359 |
+
-webkit-transform: scale3d(0.3, 0.3, 0.3);
|
2360 |
+
transform: scale3d(0.3, 0.3, 0.3);
|
2361 |
+
}
|
2362 |
+
100% {
|
2363 |
+
opacity: 0;
|
2364 |
+
}
|
2365 |
+
}
|
2366 |
+
.zoomOut {
|
2367 |
+
-webkit-animation-name: zoomOut;
|
2368 |
+
animation-name: zoomOut;
|
2369 |
+
}
|
2370 |
+
|
2371 |
+
@-webkit-keyframes zoomOutDown {
|
2372 |
+
40% {
|
2373 |
+
opacity: 1;
|
2374 |
+
-webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0);
|
2375 |
+
transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0);
|
2376 |
+
-webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
|
2377 |
+
animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
|
2378 |
+
}
|
2379 |
+
100% {
|
2380 |
+
opacity: 0;
|
2381 |
+
-webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 2000px, 0);
|
2382 |
+
transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 2000px, 0);
|
2383 |
+
-webkit-transform-origin: center bottom;
|
2384 |
+
transform-origin: center bottom;
|
2385 |
+
-webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
|
2386 |
+
animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
|
2387 |
+
}
|
2388 |
+
}
|
2389 |
+
@keyframes zoomOutDown {
|
2390 |
+
40% {
|
2391 |
+
opacity: 1;
|
2392 |
+
-webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0);
|
2393 |
+
transform: scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0);
|
2394 |
+
-webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
|
2395 |
+
animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
|
2396 |
+
}
|
2397 |
+
100% {
|
2398 |
+
opacity: 0;
|
2399 |
+
-webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 2000px, 0);
|
2400 |
+
transform: scale3d(0.1, 0.1, 0.1) translate3d(0, 2000px, 0);
|
2401 |
+
-webkit-transform-origin: center bottom;
|
2402 |
+
transform-origin: center bottom;
|
2403 |
+
-webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
|
2404 |
+
animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
|
2405 |
+
}
|
2406 |
+
}
|
2407 |
+
.zoomOutDown {
|
2408 |
+
-webkit-animation-name: zoomOutDown;
|
2409 |
+
animation-name: zoomOutDown;
|
2410 |
+
}
|
2411 |
+
|
2412 |
+
@-webkit-keyframes zoomOutLeft {
|
2413 |
+
40% {
|
2414 |
+
opacity: 1;
|
2415 |
+
-webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(42px, 0, 0);
|
2416 |
+
transform: scale3d(0.475, 0.475, 0.475) translate3d(42px, 0, 0);
|
2417 |
+
}
|
2418 |
+
100% {
|
2419 |
+
opacity: 0;
|
2420 |
+
-webkit-transform: scale(0.1) translate3d(-2000px, 0, 0);
|
2421 |
+
transform: scale(0.1) translate3d(-2000px, 0, 0);
|
2422 |
+
-webkit-transform-origin: left center;
|
2423 |
+
transform-origin: left center;
|
2424 |
+
}
|
2425 |
+
}
|
2426 |
+
@keyframes zoomOutLeft {
|
2427 |
+
40% {
|
2428 |
+
opacity: 1;
|
2429 |
+
-webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(42px, 0, 0);
|
2430 |
+
transform: scale3d(0.475, 0.475, 0.475) translate3d(42px, 0, 0);
|
2431 |
+
}
|
2432 |
+
100% {
|
2433 |
+
opacity: 0;
|
2434 |
+
-webkit-transform: scale(0.1) translate3d(-2000px, 0, 0);
|
2435 |
+
transform: scale(0.1) translate3d(-2000px, 0, 0);
|
2436 |
+
-webkit-transform-origin: left center;
|
2437 |
+
transform-origin: left center;
|
2438 |
+
}
|
2439 |
+
}
|
2440 |
+
.zoomOutLeft {
|
2441 |
+
-webkit-animation-name: zoomOutLeft;
|
2442 |
+
animation-name: zoomOutLeft;
|
2443 |
+
}
|
2444 |
+
|
2445 |
+
@-webkit-keyframes zoomOutRight {
|
2446 |
+
40% {
|
2447 |
+
opacity: 1;
|
2448 |
+
-webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(-42px, 0, 0);
|
2449 |
+
transform: scale3d(0.475, 0.475, 0.475) translate3d(-42px, 0, 0);
|
2450 |
+
}
|
2451 |
+
100% {
|
2452 |
+
opacity: 0;
|
2453 |
+
-webkit-transform: scale(0.1) translate3d(2000px, 0, 0);
|
2454 |
+
transform: scale(0.1) translate3d(2000px, 0, 0);
|
2455 |
+
-webkit-transform-origin: right center;
|
2456 |
+
transform-origin: right center;
|
2457 |
+
}
|
2458 |
+
}
|
2459 |
+
@keyframes zoomOutRight {
|
2460 |
+
40% {
|
2461 |
+
opacity: 1;
|
2462 |
+
-webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(-42px, 0, 0);
|
2463 |
+
transform: scale3d(0.475, 0.475, 0.475) translate3d(-42px, 0, 0);
|
2464 |
+
}
|
2465 |
+
100% {
|
2466 |
+
opacity: 0;
|
2467 |
+
-webkit-transform: scale(0.1) translate3d(2000px, 0, 0);
|
2468 |
+
transform: scale(0.1) translate3d(2000px, 0, 0);
|
2469 |
+
-webkit-transform-origin: right center;
|
2470 |
+
transform-origin: right center;
|
2471 |
+
}
|
2472 |
+
}
|
2473 |
+
.zoomOutRight {
|
2474 |
+
-webkit-animation-name: zoomOutRight;
|
2475 |
+
animation-name: zoomOutRight;
|
2476 |
+
}
|
2477 |
+
|
2478 |
+
@-webkit-keyframes zoomOutUp {
|
2479 |
+
40% {
|
2480 |
+
opacity: 1;
|
2481 |
+
-webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0);
|
2482 |
+
transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0);
|
2483 |
+
-webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
|
2484 |
+
animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
|
2485 |
+
}
|
2486 |
+
100% {
|
2487 |
+
opacity: 0;
|
2488 |
+
-webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -2000px, 0);
|
2489 |
+
transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -2000px, 0);
|
2490 |
+
-webkit-transform-origin: center bottom;
|
2491 |
+
transform-origin: center bottom;
|
2492 |
+
-webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
|
2493 |
+
animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
|
2494 |
+
}
|
2495 |
+
}
|
2496 |
+
@keyframes zoomOutUp {
|
2497 |
+
40% {
|
2498 |
+
opacity: 1;
|
2499 |
+
-webkit-transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0);
|
2500 |
+
transform: scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0);
|
2501 |
+
-webkit-animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
|
2502 |
+
animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
|
2503 |
+
}
|
2504 |
+
100% {
|
2505 |
+
opacity: 0;
|
2506 |
+
-webkit-transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -2000px, 0);
|
2507 |
+
transform: scale3d(0.1, 0.1, 0.1) translate3d(0, -2000px, 0);
|
2508 |
+
-webkit-transform-origin: center bottom;
|
2509 |
+
transform-origin: center bottom;
|
2510 |
+
-webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
|
2511 |
+
animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1);
|
2512 |
+
}
|
2513 |
+
}
|
2514 |
+
.zoomOutUp {
|
2515 |
+
-webkit-animation-name: zoomOutUp;
|
2516 |
+
animation-name: zoomOutUp;
|
2517 |
+
}
|
2518 |
+
|
2519 |
+
@-webkit-keyframes slideInDown {
|
2520 |
+
0% {
|
2521 |
+
-webkit-transform: translateY(-100%);
|
2522 |
+
transform: translateY(-100%);
|
2523 |
+
visibility: visible;
|
2524 |
+
}
|
2525 |
+
100% {
|
2526 |
+
-webkit-transform: translateY(0);
|
2527 |
+
transform: translateY(0);
|
2528 |
+
}
|
2529 |
+
}
|
2530 |
+
@keyframes slideInDown {
|
2531 |
+
0% {
|
2532 |
+
-webkit-transform: translateY(-100%);
|
2533 |
+
transform: translateY(-100%);
|
2534 |
+
visibility: visible;
|
2535 |
+
}
|
2536 |
+
100% {
|
2537 |
+
-webkit-transform: translateY(0);
|
2538 |
+
transform: translateY(0);
|
2539 |
+
}
|
2540 |
+
}
|
2541 |
+
.slideInDown {
|
2542 |
+
-webkit-animation-name: slideInDown;
|
2543 |
+
animation-name: slideInDown;
|
2544 |
+
}
|
2545 |
+
|
2546 |
+
@-webkit-keyframes slideInLeft {
|
2547 |
+
0% {
|
2548 |
+
-webkit-transform: translateX(-100%);
|
2549 |
+
transform: translateX(-100%);
|
2550 |
+
visibility: visible;
|
2551 |
+
}
|
2552 |
+
100% {
|
2553 |
+
-webkit-transform: translateX(0);
|
2554 |
+
transform: translateX(0);
|
2555 |
+
}
|
2556 |
+
}
|
2557 |
+
@keyframes slideInLeft {
|
2558 |
+
0% {
|
2559 |
+
-webkit-transform: translateX(-100%);
|
2560 |
+
transform: translateX(-100%);
|
2561 |
+
visibility: visible;
|
2562 |
+
}
|
2563 |
+
100% {
|
2564 |
+
-webkit-transform: translateX(0);
|
2565 |
+
transform: translateX(0);
|
2566 |
+
}
|
2567 |
+
}
|
2568 |
+
.slideInLeft {
|
2569 |
+
-webkit-animation-name: slideInLeft;
|
2570 |
+
animation-name: slideInLeft;
|
2571 |
+
}
|
2572 |
+
|
2573 |
+
@-webkit-keyframes slideInRight {
|
2574 |
+
0% {
|
2575 |
+
-webkit-transform: translateX(100%);
|
2576 |
+
transform: translateX(100%);
|
2577 |
+
visibility: visible;
|
2578 |
+
}
|
2579 |
+
100% {
|
2580 |
+
-webkit-transform: translateX(0);
|
2581 |
+
transform: translateX(0);
|
2582 |
+
}
|
2583 |
+
}
|
2584 |
+
@keyframes slideInRight {
|
2585 |
+
0% {
|
2586 |
+
-webkit-transform: translateX(100%);
|
2587 |
+
transform: translateX(100%);
|
2588 |
+
visibility: visible;
|
2589 |
+
}
|
2590 |
+
100% {
|
2591 |
+
-webkit-transform: translateX(0);
|
2592 |
+
transform: translateX(0);
|
2593 |
+
}
|
2594 |
+
}
|
2595 |
+
.slideInRight {
|
2596 |
+
-webkit-animation-name: slideInRight;
|
2597 |
+
animation-name: slideInRight;
|
2598 |
+
}
|
2599 |
+
|
2600 |
+
@-webkit-keyframes slideInUp {
|
2601 |
+
0% {
|
2602 |
+
-webkit-transform: translateY(100%);
|
2603 |
+
transform: translateY(100%);
|
2604 |
+
visibility: visible;
|
2605 |
+
}
|
2606 |
+
100% {
|
2607 |
+
-webkit-transform: translateY(0);
|
2608 |
+
transform: translateY(0);
|
2609 |
+
}
|
2610 |
+
}
|
2611 |
+
@keyframes slideInUp {
|
2612 |
+
0% {
|
2613 |
+
-webkit-transform: translateY(100%);
|
2614 |
+
transform: translateY(100%);
|
2615 |
+
visibility: visible;
|
2616 |
+
}
|
2617 |
+
100% {
|
2618 |
+
-webkit-transform: translateY(0);
|
2619 |
+
transform: translateY(0);
|
2620 |
+
}
|
2621 |
+
}
|
2622 |
+
.slideInUp {
|
2623 |
+
-webkit-animation-name: slideInUp;
|
2624 |
+
animation-name: slideInUp;
|
2625 |
+
}
|
2626 |
+
|
2627 |
+
@-webkit-keyframes slideOutDown {
|
2628 |
+
0% {
|
2629 |
+
-webkit-transform: translateY(0);
|
2630 |
+
transform: translateY(0);
|
2631 |
+
}
|
2632 |
+
100% {
|
2633 |
+
visibility: hidden;
|
2634 |
+
-webkit-transform: translateY(100%);
|
2635 |
+
transform: translateY(100%);
|
2636 |
+
}
|
2637 |
+
}
|
2638 |
+
@keyframes slideOutDown {
|
2639 |
+
0% {
|
2640 |
+
-webkit-transform: translateY(0);
|
2641 |
+
transform: translateY(0);
|
2642 |
+
}
|
2643 |
+
100% {
|
2644 |
+
visibility: hidden;
|
2645 |
+
-webkit-transform: translateY(100%);
|
2646 |
+
transform: translateY(100%);
|
2647 |
+
}
|
2648 |
+
}
|
2649 |
+
.slideOutDown {
|
2650 |
+
-webkit-animation-name: slideOutDown;
|
2651 |
+
animation-name: slideOutDown;
|
2652 |
+
}
|
2653 |
+
|
2654 |
+
@-webkit-keyframes slideOutLeft {
|
2655 |
+
0% {
|
2656 |
+
-webkit-transform: translateX(0);
|
2657 |
+
transform: translateX(0);
|
2658 |
+
}
|
2659 |
+
100% {
|
2660 |
+
visibility: hidden;
|
2661 |
+
-webkit-transform: translateX(-100%);
|
2662 |
+
transform: translateX(-100%);
|
2663 |
+
}
|
2664 |
+
}
|
2665 |
+
@keyframes slideOutLeft {
|
2666 |
+
0% {
|
2667 |
+
-webkit-transform: translateX(0);
|
2668 |
+
transform: translateX(0);
|
2669 |
+
}
|
2670 |
+
100% {
|
2671 |
+
visibility: hidden;
|
2672 |
+
-webkit-transform: translateX(-100%);
|
2673 |
+
transform: translateX(-100%);
|
2674 |
+
}
|
2675 |
+
}
|
2676 |
+
.slideOutLeft {
|
2677 |
+
-webkit-animation-name: slideOutLeft;
|
2678 |
+
animation-name: slideOutLeft;
|
2679 |
+
}
|
2680 |
+
|
2681 |
+
@-webkit-keyframes slideOutRight {
|
2682 |
+
0% {
|
2683 |
+
-webkit-transform: translateX(0);
|
2684 |
+
transform: translateX(0);
|
2685 |
+
}
|
2686 |
+
100% {
|
2687 |
+
visibility: hidden;
|
2688 |
+
-webkit-transform: translateX(100%);
|
2689 |
+
transform: translateX(100%);
|
2690 |
+
}
|
2691 |
+
}
|
2692 |
+
@keyframes slideOutRight {
|
2693 |
+
0% {
|
2694 |
+
-webkit-transform: translateX(0);
|
2695 |
+
transform: translateX(0);
|
2696 |
+
}
|
2697 |
+
100% {
|
2698 |
+
visibility: hidden;
|
2699 |
+
-webkit-transform: translateX(100%);
|
2700 |
+
transform: translateX(100%);
|
2701 |
+
}
|
2702 |
+
}
|
2703 |
+
.slideOutRight {
|
2704 |
+
-webkit-animation-name: slideOutRight;
|
2705 |
+
animation-name: slideOutRight;
|
2706 |
+
}
|
2707 |
+
|
2708 |
+
@-webkit-keyframes slideOutUp {
|
2709 |
+
0% {
|
2710 |
+
-webkit-transform: translateY(0);
|
2711 |
+
transform: translateY(0);
|
2712 |
+
}
|
2713 |
+
100% {
|
2714 |
+
visibility: hidden;
|
2715 |
+
-webkit-transform: translateY(-100%);
|
2716 |
+
transform: translateY(-100%);
|
2717 |
+
}
|
2718 |
+
}
|
2719 |
+
@keyframes slideOutUp {
|
2720 |
+
0% {
|
2721 |
+
-webkit-transform: translateY(0);
|
2722 |
+
transform: translateY(0);
|
2723 |
+
}
|
2724 |
+
100% {
|
2725 |
+
visibility: hidden;
|
2726 |
+
-webkit-transform: translateY(-100%);
|
2727 |
+
transform: translateY(-100%);
|
2728 |
+
}
|
2729 |
+
}
|
2730 |
+
.slideOutUp {
|
2731 |
+
-webkit-animation-name: slideOutUp;
|
2732 |
+
animation-name: slideOutUp;
|
2733 |
+
}
|
css/animate.min.css
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*! PopUp Free - v4.7.09
|
2 |
+
* https://wordpress.org/plugins/wordpress-popup/
|
3 |
+
* Copyright (c) 2015; * Licensed GPLv2+ */
|
4 |
+
|
5 |
+
/*!
|
6 |
+
Animate.css - http://daneden.me/animate
|
7 |
+
Licensed under the MIT license - http://opensource.org/licenses/MIT
|
8 |
+
|
9 |
+
Copyright (c) 2014 Daniel Eden
|
10 |
+
https://raw.githubusercontent.com/daneden/animate.css/master/animate.css
|
11 |
+
*/.animated{-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.animated.infinite{-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}.animated.hinge{-webkit-animation-duration:2s;animation-duration:2s}@-webkit-keyframes bounce{0%,20%,53%,80%,100%{transition-timing-function:cubic-bezier(0.215,.61,.355,1);-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}40%,43%{transition-timing-function:cubic-bezier(0.755,.05,.855,.06);-webkit-transform:translate3d(0,-30px,0);transform:translate3d(0,-30px,0)}70%{transition-timing-function:cubic-bezier(0.755,.05,.855,.06);-webkit-transform:translate3d(0,-15px,0);transform:translate3d(0,-15px,0)}90%{-webkit-transform:translate3d(0,-4px,0);transform:translate3d(0,-4px,0)}}@keyframes bounce{0%,20%,53%,80%,100%{transition-timing-function:cubic-bezier(0.215,.61,.355,1);-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}40%,43%{transition-timing-function:cubic-bezier(0.755,.05,.855,.06);-webkit-transform:translate3d(0,-30px,0);transform:translate3d(0,-30px,0)}70%{transition-timing-function:cubic-bezier(0.755,.05,.855,.06);-webkit-transform:translate3d(0,-15px,0);transform:translate3d(0,-15px,0)}90%{-webkit-transform:translate3d(0,-4px,0);transform:translate3d(0,-4px,0)}}.bounce{-webkit-animation-name:bounce;animation-name:bounce;-webkit-transform-origin:center bottom;-ms-transform-origin:center bottom;transform-origin:center bottom}@-webkit-keyframes flash{0%,50%,100%{opacity:1}25%,75%{opacity:0}}@keyframes flash{0%,50%,100%{opacity:1}25%,75%{opacity:0}}.flash{-webkit-animation-name:flash;animation-name:flash}@-webkit-keyframes pulse{0%{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}50%{-webkit-transform:scale3d(1.05,1.05,1.05);transform:scale3d(1.05,1.05,1.05)}100%{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}}@keyframes pulse{0%{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}50%{-webkit-transform:scale3d(1.05,1.05,1.05);transform:scale3d(1.05,1.05,1.05)}100%{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}}.pulse{-webkit-animation-name:pulse;animation-name:pulse}@-webkit-keyframes rubberBand{0%{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}30%{-webkit-transform:scale3d(1.25,.75,1);transform:scale3d(1.25,.75,1)}40%{-webkit-transform:scale3d(0.75,1.25,1);transform:scale3d(0.75,1.25,1)}50%{-webkit-transform:scale3d(1.15,.85,1);transform:scale3d(1.15,.85,1)}65%{-webkit-transform:scale3d(0.95,1.05,1);transform:scale3d(0.95,1.05,1)}75%{-webkit-transform:scale3d(1.05,.95,1);transform:scale3d(1.05,.95,1)}100%{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}}@keyframes rubberBand{0%{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}30%{-webkit-transform:scale3d(1.25,.75,1);transform:scale3d(1.25,.75,1)}40%{-webkit-transform:scale3d(0.75,1.25,1);transform:scale3d(0.75,1.25,1)}50%{-webkit-transform:scale3d(1.15,.85,1);transform:scale3d(1.15,.85,1)}65%{-webkit-transform:scale3d(0.95,1.05,1);transform:scale3d(0.95,1.05,1)}75%{-webkit-transform:scale3d(1.05,.95,1);transform:scale3d(1.05,.95,1)}100%{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}}.rubberBand{-webkit-animation-name:rubberBand;animation-name:rubberBand}@-webkit-keyframes shake{0%,100%{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}20%,40%,60%,80%{-webkit-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}}@keyframes shake{0%,100%{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}20%,40%,60%,80%{-webkit-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}}.shake{-webkit-animation-name:shake;animation-name:shake}@-webkit-keyframes swing{20%{-webkit-transform:rotate3d(0,0,1,15deg);transform:rotate3d(0,0,1,15deg)}40%{-webkit-transform:rotate3d(0,0,1,-10deg);transform:rotate3d(0,0,1,-10deg)}60%{-webkit-transform:rotate3d(0,0,1,5deg);transform:rotate3d(0,0,1,5deg)}80%{-webkit-transform:rotate3d(0,0,1,-5deg);transform:rotate3d(0,0,1,-5deg)}100%{-webkit-transform:rotate3d(0,0,1,0deg);transform:rotate3d(0,0,1,0deg)}}@keyframes swing{20%{-webkit-transform:rotate3d(0,0,1,15deg);transform:rotate3d(0,0,1,15deg)}40%{-webkit-transform:rotate3d(0,0,1,-10deg);transform:rotate3d(0,0,1,-10deg)}60%{-webkit-transform:rotate3d(0,0,1,5deg);transform:rotate3d(0,0,1,5deg)}80%{-webkit-transform:rotate3d(0,0,1,-5deg);transform:rotate3d(0,0,1,-5deg)}100%{-webkit-transform:rotate3d(0,0,1,0deg);transform:rotate3d(0,0,1,0deg)}}.swing{-webkit-transform-origin:top center;-ms-transform-origin:top center;transform-origin:top center;-webkit-animation-name:swing;animation-name:swing}@-webkit-keyframes tada{0%{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}10%,20%{-webkit-transform:scale3d(0.9,.9,.9) rotate3d(0,0,1,-3deg);transform:scale3d(0.9,.9,.9) rotate3d(0,0,1,-3deg)}30%,50%,70%,90%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg);transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg)}40%,60%,80%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg);transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg)}100%{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}}@keyframes tada{0%{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}10%,20%{-webkit-transform:scale3d(0.9,.9,.9) rotate3d(0,0,1,-3deg);transform:scale3d(0.9,.9,.9) rotate3d(0,0,1,-3deg)}30%,50%,70%,90%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg);transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg)}40%,60%,80%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg);transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg)}100%{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}}.tada{-webkit-animation-name:tada;animation-name:tada}@-webkit-keyframes wobble{0%{-webkit-transform:none;transform:none}15%{-webkit-transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg);transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg)}30%{-webkit-transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg);transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg)}45%{-webkit-transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg);transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg)}60%{-webkit-transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg);transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg)}75%{-webkit-transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg);transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg)}100%{-webkit-transform:none;transform:none}}@keyframes wobble{0%{-webkit-transform:none;transform:none}15%{-webkit-transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg);transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg)}30%{-webkit-transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg);transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg)}45%{-webkit-transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg);transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg)}60%{-webkit-transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg);transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg)}75%{-webkit-transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg);transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg)}100%{-webkit-transform:none;transform:none}}.wobble{-webkit-animation-name:wobble;animation-name:wobble}@-webkit-keyframes bounceIn{0%,20%,40%,60%,80%,100%{transition-timing-function:cubic-bezier(0.215,.61,.355,1)}0%{opacity:0;-webkit-transform:scale3d(0.3,.3,.3);transform:scale3d(0.3,.3,.3)}20%{-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}40%{-webkit-transform:scale3d(0.9,.9,.9);transform:scale3d(0.9,.9,.9)}60%{opacity:1;-webkit-transform:scale3d(1.03,1.03,1.03);transform:scale3d(1.03,1.03,1.03)}80%{-webkit-transform:scale3d(0.97,.97,.97);transform:scale3d(0.97,.97,.97)}100%{opacity:1;-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}}@keyframes bounceIn{0%,20%,40%,60%,80%,100%{transition-timing-function:cubic-bezier(0.215,.61,.355,1)}0%{opacity:0;-webkit-transform:scale3d(0.3,.3,.3);transform:scale3d(0.3,.3,.3)}20%{-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}40%{-webkit-transform:scale3d(0.9,.9,.9);transform:scale3d(0.9,.9,.9)}60%{opacity:1;-webkit-transform:scale3d(1.03,1.03,1.03);transform:scale3d(1.03,1.03,1.03)}80%{-webkit-transform:scale3d(0.97,.97,.97);transform:scale3d(0.97,.97,.97)}100%{opacity:1;-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}}.bounceIn{-webkit-animation-name:bounceIn;animation-name:bounceIn;-webkit-animation-duration:.75s;animation-duration:.75s}@-webkit-keyframes bounceInDown{0%,60%,75%,90%,100%{transition-timing-function:cubic-bezier(0.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,-3000px,0);transform:translate3d(0,-3000px,0)}60%{opacity:1;-webkit-transform:translate3d(0,25px,0);transform:translate3d(0,25px,0)}75%{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}90%{-webkit-transform:translate3d(0,5px,0);transform:translate3d(0,5px,0)}100%{-webkit-transform:none;transform:none}}@keyframes bounceInDown{0%,60%,75%,90%,100%{transition-timing-function:cubic-bezier(0.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,-3000px,0);transform:translate3d(0,-3000px,0)}60%{opacity:1;-webkit-transform:translate3d(0,25px,0);transform:translate3d(0,25px,0)}75%{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}90%{-webkit-transform:translate3d(0,5px,0);transform:translate3d(0,5px,0)}100%{-webkit-transform:none;transform:none}}.bounceInDown{-webkit-animation-name:bounceInDown;animation-name:bounceInDown}@-webkit-keyframes bounceInLeft{0%,60%,75%,90%,100%{transition-timing-function:cubic-bezier(0.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(-3000px,0,0);transform:translate3d(-3000px,0,0)}60%{opacity:1;-webkit-transform:translate3d(25px,0,0);transform:translate3d(25px,0,0)}75%{-webkit-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}90%{-webkit-transform:translate3d(5px,0,0);transform:translate3d(5px,0,0)}100%{-webkit-transform:none;transform:none}}@keyframes bounceInLeft{0%,60%,75%,90%,100%{transition-timing-function:cubic-bezier(0.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(-3000px,0,0);transform:translate3d(-3000px,0,0)}60%{opacity:1;-webkit-transform:translate3d(25px,0,0);transform:translate3d(25px,0,0)}75%{-webkit-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}90%{-webkit-transform:translate3d(5px,0,0);transform:translate3d(5px,0,0)}100%{-webkit-transform:none;transform:none}}.bounceInLeft{-webkit-animation-name:bounceInLeft;animation-name:bounceInLeft}@-webkit-keyframes bounceInRight{0%,60%,75%,90%,100%{transition-timing-function:cubic-bezier(0.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(3000px,0,0);transform:translate3d(3000px,0,0)}60%{opacity:1;-webkit-transform:translate3d(-25px,0,0);transform:translate3d(-25px,0,0)}75%{-webkit-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}90%{-webkit-transform:translate3d(-5px,0,0);transform:translate3d(-5px,0,0)}100%{-webkit-transform:none;transform:none}}@keyframes bounceInRight{0%,60%,75%,90%,100%{transition-timing-function:cubic-bezier(0.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(3000px,0,0);transform:translate3d(3000px,0,0)}60%{opacity:1;-webkit-transform:translate3d(-25px,0,0);transform:translate3d(-25px,0,0)}75%{-webkit-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}90%{-webkit-transform:translate3d(-5px,0,0);transform:translate3d(-5px,0,0)}100%{-webkit-transform:none;transform:none}}.bounceInRight{-webkit-animation-name:bounceInRight;animation-name:bounceInRight}@-webkit-keyframes bounceInUp{0%,60%,75%,90%,100%{transition-timing-function:cubic-bezier(0.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,3000px,0);transform:translate3d(0,3000px,0)}60%{opacity:1;-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}75%{-webkit-transform:translate3d(0,10px,0);transform:translate3d(0,10px,0)}90%{-webkit-transform:translate3d(0,-5px,0);transform:translate3d(0,-5px,0)}100%{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}@keyframes bounceInUp{0%,60%,75%,90%,100%{transition-timing-function:cubic-bezier(0.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,3000px,0);transform:translate3d(0,3000px,0)}60%{opacity:1;-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}75%{-webkit-transform:translate3d(0,10px,0);transform:translate3d(0,10px,0)}90%{-webkit-transform:translate3d(0,-5px,0);transform:translate3d(0,-5px,0)}100%{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}.bounceInUp{-webkit-animation-name:bounceInUp;animation-name:bounceInUp}@-webkit-keyframes bounceOut{20%{-webkit-transform:scale3d(0.9,.9,.9);transform:scale3d(0.9,.9,.9)}50%,55%{opacity:1;-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}100%{opacity:0;-webkit-transform:scale3d(0.3,.3,.3);transform:scale3d(0.3,.3,.3)}}@keyframes bounceOut{20%{-webkit-transform:scale3d(0.9,.9,.9);transform:scale3d(0.9,.9,.9)}50%,55%{opacity:1;-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}100%{opacity:0;-webkit-transform:scale3d(0.3,.3,.3);transform:scale3d(0.3,.3,.3)}}.bounceOut{-webkit-animation-name:bounceOut;animation-name:bounceOut;-webkit-animation-duration:.75s;animation-duration:.75s}@-webkit-keyframes bounceOutDown{20%{-webkit-transform:translate3d(0,10px,0);transform:translate3d(0,10px,0)}40%,45%{opacity:1;-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}100%{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}}@keyframes bounceOutDown{20%{-webkit-transform:translate3d(0,10px,0);transform:translate3d(0,10px,0)}40%,45%{opacity:1;-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}100%{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}}.bounceOutDown{-webkit-animation-name:bounceOutDown;animation-name:bounceOutDown}@-webkit-keyframes bounceOutLeft{20%{opacity:1;-webkit-transform:translate3d(20px,0,0);transform:translate3d(20px,0,0)}100%{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}}@keyframes bounceOutLeft{20%{opacity:1;-webkit-transform:translate3d(20px,0,0);transform:translate3d(20px,0,0)}100%{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}}.bounceOutLeft{-webkit-animation-name:bounceOutLeft;animation-name:bounceOutLeft}@-webkit-keyframes bounceOutRight{20%{opacity:1;-webkit-transform:translate3d(-20px,0,0);transform:translate3d(-20px,0,0)}100%{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}}@keyframes bounceOutRight{20%{opacity:1;-webkit-transform:translate3d(-20px,0,0);transform:translate3d(-20px,0,0)}100%{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}}.bounceOutRight{-webkit-animation-name:bounceOutRight;animation-name:bounceOutRight}@-webkit-keyframes bounceOutUp{20%{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}40%,45%{opacity:1;-webkit-transform:translate3d(0,20px,0);transform:translate3d(0,20px,0)}100%{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}}@keyframes bounceOutUp{20%{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}40%,45%{opacity:1;-webkit-transform:translate3d(0,20px,0);transform:translate3d(0,20px,0)}100%{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}}.bounceOutUp{-webkit-animation-name:bounceOutUp;animation-name:bounceOutUp}@-webkit-keyframes fadeIn{0%{opacity:0}100%{opacity:1}}@keyframes fadeIn{0%{opacity:0}100%{opacity:1}}.fadeIn{-webkit-animation-name:fadeIn;animation-name:fadeIn}@-webkit-keyframes fadeInDown{0%{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}100%{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInDown{0%{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}100%{opacity:1;-webkit-transform:none;transform:none}}.fadeInDown{-webkit-animation-name:fadeInDown;animation-name:fadeInDown}@-webkit-keyframes fadeInDownBig{0%{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}100%{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInDownBig{0%{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}100%{opacity:1;-webkit-transform:none;transform:none}}.fadeInDownBig{-webkit-animation-name:fadeInDownBig;animation-name:fadeInDownBig}@-webkit-keyframes fadeInLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}100%{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}100%{opacity:1;-webkit-transform:none;transform:none}}.fadeInLeft{-webkit-animation-name:fadeInLeft;animation-name:fadeInLeft}@-webkit-keyframes fadeInLeftBig{0%{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}100%{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInLeftBig{0%{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}100%{opacity:1;-webkit-transform:none;transform:none}}.fadeInLeftBig{-webkit-animation-name:fadeInLeftBig;animation-name:fadeInLeftBig}@-webkit-keyframes fadeInRight{0%{opacity:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}100%{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInRight{0%{opacity:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}100%{opacity:1;-webkit-transform:none;transform:none}}.fadeInRight{-webkit-animation-name:fadeInRight;animation-name:fadeInRight}@-webkit-keyframes fadeInRightBig{0%{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}100%{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInRightBig{0%{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}100%{opacity:1;-webkit-transform:none;transform:none}}.fadeInRightBig{-webkit-animation-name:fadeInRightBig;animation-name:fadeInRightBig}@-webkit-keyframes fadeInUp{0%{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}100%{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInUp{0%{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}100%{opacity:1;-webkit-transform:none;transform:none}}.fadeInUp{-webkit-animation-name:fadeInUp;animation-name:fadeInUp}@-webkit-keyframes fadeInUpBig{0%{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}100%{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInUpBig{0%{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}100%{opacity:1;-webkit-transform:none;transform:none}}.fadeInUpBig{-webkit-animation-name:fadeInUpBig;animation-name:fadeInUpBig}@-webkit-keyframes fadeOut{0%{opacity:1}100%{opacity:0}}@keyframes fadeOut{0%{opacity:1}100%{opacity:0}}.fadeOut{-webkit-animation-name:fadeOut;animation-name:fadeOut}@-webkit-keyframes fadeOutDown{0%{opacity:1}100%{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}@keyframes fadeOutDown{0%{opacity:1}100%{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}.fadeOutDown{-webkit-animation-name:fadeOutDown;animation-name:fadeOutDown}@-webkit-keyframes fadeOutDownBig{0%{opacity:1}100%{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}}@keyframes fadeOutDownBig{0%{opacity:1}100%{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}}.fadeOutDownBig{-webkit-animation-name:fadeOutDownBig;animation-name:fadeOutDownBig}@-webkit-keyframes fadeOutLeft{0%{opacity:1}100%{opacity:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}@keyframes fadeOutLeft{0%{opacity:1}100%{opacity:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}.fadeOutLeft{-webkit-animation-name:fadeOutLeft;animation-name:fadeOutLeft}@-webkit-keyframes fadeOutLeftBig{0%{opacity:1}100%{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}}@keyframes fadeOutLeftBig{0%{opacity:1}100%{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}}.fadeOutLeftBig{-webkit-animation-name:fadeOutLeftBig;animation-name:fadeOutLeftBig}@-webkit-keyframes fadeOutRight{0%{opacity:1}100%{opacity:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}@keyframes fadeOutRight{0%{opacity:1}100%{opacity:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}.fadeOutRight{-webkit-animation-name:fadeOutRight;animation-name:fadeOutRight}@-webkit-keyframes fadeOutRightBig{0%{opacity:1}100%{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}}@keyframes fadeOutRightBig{0%{opacity:1}100%{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}}.fadeOutRightBig{-webkit-animation-name:fadeOutRightBig;animation-name:fadeOutRightBig}@-webkit-keyframes fadeOutUp{0%{opacity:1}100%{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}@keyframes fadeOutUp{0%{opacity:1}100%{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}.fadeOutUp{-webkit-animation-name:fadeOutUp;animation-name:fadeOutUp}@-webkit-keyframes fadeOutUpBig{0%{opacity:1}100%{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}}@keyframes fadeOutUpBig{0%{opacity:1}100%{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}}.fadeOutUpBig{-webkit-animation-name:fadeOutUpBig;animation-name:fadeOutUpBig}@-webkit-keyframes flip{0%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-360deg);transform:perspective(400px) rotate3d(0,1,0,-360deg);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}40%{-webkit-transform:perspective(400px) translate3d(0,0,150px) rotate3d(0,1,0,-190deg);transform:perspective(400px) translate3d(0,0,150px) rotate3d(0,1,0,-190deg);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}50%{-webkit-transform:perspective(400px) translate3d(0,0,150px) rotate3d(0,1,0,-170deg);transform:perspective(400px) translate3d(0,0,150px) rotate3d(0,1,0,-170deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}80%{-webkit-transform:perspective(400px) scale3d(0.95,.95,.95);transform:perspective(400px) scale3d(0.95,.95,.95);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}100%{-webkit-transform:perspective(400px);transform:perspective(400px);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}}@keyframes flip{0%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-360deg);transform:perspective(400px) rotate3d(0,1,0,-360deg);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}40%{-webkit-transform:perspective(400px) translate3d(0,0,150px) rotate3d(0,1,0,-190deg);transform:perspective(400px) translate3d(0,0,150px) rotate3d(0,1,0,-190deg);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}50%{-webkit-transform:perspective(400px) translate3d(0,0,150px) rotate3d(0,1,0,-170deg);transform:perspective(400px) translate3d(0,0,150px) rotate3d(0,1,0,-170deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}80%{-webkit-transform:perspective(400px) scale3d(0.95,.95,.95);transform:perspective(400px) scale3d(0.95,.95,.95);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}100%{-webkit-transform:perspective(400px);transform:perspective(400px);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}}.animated.flip{-webkit-backface-visibility:visible;backface-visibility:visible;-webkit-animation-name:flip;animation-name:flip}@-webkit-keyframes flipInX{0%{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotate3d(1,0,0,90deg);transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotate3d(1,0,0,-20deg);transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(1,0,0,10deg);transform:perspective(400px) rotate3d(1,0,0,10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-5deg);transform:perspective(400px) rotate3d(1,0,0,-5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}@keyframes flipInX{0%{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotate3d(1,0,0,90deg);transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotate3d(1,0,0,-20deg);transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(1,0,0,10deg);transform:perspective(400px) rotate3d(1,0,0,10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-5deg);transform:perspective(400px) rotate3d(1,0,0,-5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.flipInX{-webkit-backface-visibility:visible!important;backface-visibility:visible!important;-webkit-animation-name:flipInX;animation-name:flipInX}@-webkit-keyframes flipInY{0%{-webkit-transform:perspective(400px) rotate3d(0,1,0,90deg);transform:perspective(400px) rotate3d(0,1,0,90deg);transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-20deg);transform:perspective(400px) rotate3d(0,1,0,-20deg);transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0,1,0,10deg);transform:perspective(400px) rotate3d(0,1,0,10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-5deg);transform:perspective(400px) rotate3d(0,1,0,-5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}@keyframes flipInY{0%{-webkit-transform:perspective(400px) rotate3d(0,1,0,90deg);transform:perspective(400px) rotate3d(0,1,0,90deg);transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-20deg);transform:perspective(400px) rotate3d(0,1,0,-20deg);transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0,1,0,10deg);transform:perspective(400px) rotate3d(0,1,0,10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-5deg);transform:perspective(400px) rotate3d(0,1,0,-5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.flipInY{-webkit-backface-visibility:visible!important;backface-visibility:visible!important;-webkit-animation-name:flipInY;animation-name:flipInY}@-webkit-keyframes flipOutX{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotate3d(1,0,0,-20deg);opacity:1}100%{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotate3d(1,0,0,90deg);opacity:0}}@keyframes flipOutX{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotate3d(1,0,0,-20deg);opacity:1}100%{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotate3d(1,0,0,90deg);opacity:0}}.flipOutX{-webkit-animation-name:flipOutX;animation-name:flipOutX;-webkit-animation-duration:.75s;animation-duration:.75s;-webkit-backface-visibility:visible!important;backface-visibility:visible!important}@-webkit-keyframes flipOutY{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-15deg);transform:perspective(400px) rotate3d(0,1,0,-15deg);opacity:1}100%{-webkit-transform:perspective(400px) rotate3d(0,1,0,90deg);transform:perspective(400px) rotate3d(0,1,0,90deg);opacity:0}}@keyframes flipOutY{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-15deg);transform:perspective(400px) rotate3d(0,1,0,-15deg);opacity:1}100%{-webkit-transform:perspective(400px) rotate3d(0,1,0,90deg);transform:perspective(400px) rotate3d(0,1,0,90deg);opacity:0}}.flipOutY{-webkit-backface-visibility:visible!important;backface-visibility:visible!important;-webkit-animation-name:flipOutY;animation-name:flipOutY;-webkit-animation-duration:.75s;animation-duration:.75s}@-webkit-keyframes lightSpeedIn{0%{-webkit-transform:translate3d(100%,0,0) skewX(-30deg);transform:translate3d(100%,0,0) skewX(-30deg);opacity:0}60%{-webkit-transform:skewX(20deg);transform:skewX(20deg);opacity:1}80%{-webkit-transform:skewX(-5deg);transform:skewX(-5deg);opacity:1}100%{-webkit-transform:none;transform:none;opacity:1}}@keyframes lightSpeedIn{0%{-webkit-transform:translate3d(100%,0,0) skewX(-30deg);transform:translate3d(100%,0,0) skewX(-30deg);opacity:0}60%{-webkit-transform:skewX(20deg);transform:skewX(20deg);opacity:1}80%{-webkit-transform:skewX(-5deg);transform:skewX(-5deg);opacity:1}100%{-webkit-transform:none;transform:none;opacity:1}}.lightSpeedIn{-webkit-animation-name:lightSpeedIn;animation-name:lightSpeedIn;-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}@-webkit-keyframes lightSpeedOut{0%{opacity:1}100%{-webkit-transform:translate3d(100%,0,0) skewX(30deg);transform:translate3d(100%,0,0) skewX(30deg);opacity:0}}@keyframes lightSpeedOut{0%{opacity:1}100%{-webkit-transform:translate3d(100%,0,0) skewX(30deg);transform:translate3d(100%,0,0) skewX(30deg);opacity:0}}.lightSpeedOut{-webkit-animation-name:lightSpeedOut;animation-name:lightSpeedOut;-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}@-webkit-keyframes rotateIn{0%{-webkit-transform-origin:center;transform-origin:center;-webkit-transform:rotate3d(0,0,1,-200deg);transform:rotate3d(0,0,1,-200deg);opacity:0}100%{-webkit-transform-origin:center;transform-origin:center;-webkit-transform:none;transform:none;opacity:1}}@keyframes rotateIn{0%{-webkit-transform-origin:center;transform-origin:center;-webkit-transform:rotate3d(0,0,1,-200deg);transform:rotate3d(0,0,1,-200deg);opacity:0}100%{-webkit-transform-origin:center;transform-origin:center;-webkit-transform:none;transform:none;opacity:1}}.rotateIn{-webkit-animation-name:rotateIn;animation-name:rotateIn}@-webkit-keyframes rotateInDownLeft{0%{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}100%{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:none;transform:none;opacity:1}}@keyframes rotateInDownLeft{0%{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}100%{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:none;transform:none;opacity:1}}.rotateInDownLeft{-webkit-animation-name:rotateInDownLeft;animation-name:rotateInDownLeft}@-webkit-keyframes rotateInDownRight{0%{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}100%{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:none;transform:none;opacity:1}}@keyframes rotateInDownRight{0%{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}100%{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:none;transform:none;opacity:1}}.rotateInDownRight{-webkit-animation-name:rotateInDownRight;animation-name:rotateInDownRight}@-webkit-keyframes rotateInUpLeft{0%{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}100%{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:none;transform:none;opacity:1}}@keyframes rotateInUpLeft{0%{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}100%{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:none;transform:none;opacity:1}}.rotateInUpLeft{-webkit-animation-name:rotateInUpLeft;animation-name:rotateInUpLeft}@-webkit-keyframes rotateInUpRight{0%{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate3d(0,0,1,-90deg);transform:rotate3d(0,0,1,-90deg);opacity:0}100%{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:none;transform:none;opacity:1}}@keyframes rotateInUpRight{0%{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate3d(0,0,1,-90deg);transform:rotate3d(0,0,1,-90deg);opacity:0}100%{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:none;transform:none;opacity:1}}.rotateInUpRight{-webkit-animation-name:rotateInUpRight;animation-name:rotateInUpRight}@-webkit-keyframes rotateOut{0%{-webkit-transform-origin:center;transform-origin:center;opacity:1}100%{-webkit-transform-origin:center;transform-origin:center;-webkit-transform:rotate3d(0,0,1,200deg);transform:rotate3d(0,0,1,200deg);opacity:0}}@keyframes rotateOut{0%{-webkit-transform-origin:center;transform-origin:center;opacity:1}100%{-webkit-transform-origin:center;transform-origin:center;-webkit-transform:rotate3d(0,0,1,200deg);transform:rotate3d(0,0,1,200deg);opacity:0}}.rotateOut{-webkit-animation-name:rotateOut;animation-name:rotateOut}@-webkit-keyframes rotateOutDownLeft{0%{-webkit-transform-origin:left bottom;transform-origin:left bottom;opacity:1}100%{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}}@keyframes rotateOutDownLeft{0%{-webkit-transform-origin:left bottom;transform-origin:left bottom;opacity:1}100%{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}}.rotateOutDownLeft{-webkit-animation-name:rotateOutDownLeft;animation-name:rotateOutDownLeft}@-webkit-keyframes rotateOutDownRight{0%{-webkit-transform-origin:right bottom;transform-origin:right bottom;opacity:1}100%{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}}@keyframes rotateOutDownRight{0%{-webkit-transform-origin:right bottom;transform-origin:right bottom;opacity:1}100%{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}}.rotateOutDownRight{-webkit-animation-name:rotateOutDownRight;animation-name:rotateOutDownRight}@-webkit-keyframes rotateOutUpLeft{0%{-webkit-transform-origin:left bottom;transform-origin:left bottom;opacity:1}100%{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}}@keyframes rotateOutUpLeft{0%{-webkit-transform-origin:left bottom;transform-origin:left bottom;opacity:1}100%{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}}.rotateOutUpLeft{-webkit-animation-name:rotateOutUpLeft;animation-name:rotateOutUpLeft}@-webkit-keyframes rotateOutUpRight{0%{-webkit-transform-origin:right bottom;transform-origin:right bottom;opacity:1}100%{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate3d(0,0,1,90deg);transform:rotate3d(0,0,1,90deg);opacity:0}}@keyframes rotateOutUpRight{0%{-webkit-transform-origin:right bottom;transform-origin:right bottom;opacity:1}100%{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate3d(0,0,1,90deg);transform:rotate3d(0,0,1,90deg);opacity:0}}.rotateOutUpRight{-webkit-animation-name:rotateOutUpRight;animation-name:rotateOutUpRight}@-webkit-keyframes hinge{0%{-webkit-transform-origin:top left;transform-origin:top left;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}20%,60%{-webkit-transform:rotate3d(0,0,1,80deg);transform:rotate3d(0,0,1,80deg);-webkit-transform-origin:top left;transform-origin:top left;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}40%,80%{-webkit-transform:rotate3d(0,0,1,60deg);transform:rotate3d(0,0,1,60deg);-webkit-transform-origin:top left;transform-origin:top left;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;opacity:1}100%{-webkit-transform:translate3d(0,700px,0);transform:translate3d(0,700px,0);opacity:0}}@keyframes hinge{0%{-webkit-transform-origin:top left;transform-origin:top left;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}20%,60%{-webkit-transform:rotate3d(0,0,1,80deg);transform:rotate3d(0,0,1,80deg);-webkit-transform-origin:top left;transform-origin:top left;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}40%,80%{-webkit-transform:rotate3d(0,0,1,60deg);transform:rotate3d(0,0,1,60deg);-webkit-transform-origin:top left;transform-origin:top left;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;opacity:1}100%{-webkit-transform:translate3d(0,700px,0);transform:translate3d(0,700px,0);opacity:0}}.hinge{-webkit-animation-name:hinge;animation-name:hinge}@-webkit-keyframes rollIn{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg);transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg)}100%{opacity:1;-webkit-transform:none;transform:none}}@keyframes rollIn{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg);transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg)}100%{opacity:1;-webkit-transform:none;transform:none}}.rollIn{-webkit-animation-name:rollIn;animation-name:rollIn}@-webkit-keyframes rollOut{0%{opacity:1}100%{opacity:0;-webkit-transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg);transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg)}}@keyframes rollOut{0%{opacity:1}100%{opacity:0;-webkit-transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg);transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg)}}.rollOut{-webkit-animation-name:rollOut;animation-name:rollOut}@-webkit-keyframes zoomIn{0%{opacity:0;-webkit-transform:scale3d(0.3,.3,.3);transform:scale3d(0.3,.3,.3)}50%{opacity:1}}@keyframes zoomIn{0%{opacity:0;-webkit-transform:scale3d(0.3,.3,.3);transform:scale3d(0.3,.3,.3)}50%{opacity:1}}.zoomIn{-webkit-animation-name:zoomIn;animation-name:zoomIn}@-webkit-keyframes zoomInDown{0%{opacity:0;-webkit-transform:scale3d(0.1,.1,.1) translate3d(0,-1000px,0);transform:scale3d(0.1,.1,.1) translate3d(0,-1000px,0);-webkit-animation-timing-function:cubic-bezier(0.55,.055,.675,.19);animation-timing-function:cubic-bezier(0.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(0.475,.475,.475) translate3d(0,60px,0);transform:scale3d(0.475,.475,.475) translate3d(0,60px,0);-webkit-animation-timing-function:cubic-bezier(0.175,.885,.32,1);animation-timing-function:cubic-bezier(0.175,.885,.32,1)}}@keyframes zoomInDown{0%{opacity:0;-webkit-transform:scale3d(0.1,.1,.1) translate3d(0,-1000px,0);transform:scale3d(0.1,.1,.1) translate3d(0,-1000px,0);-webkit-animation-timing-function:cubic-bezier(0.55,.055,.675,.19);animation-timing-function:cubic-bezier(0.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(0.475,.475,.475) translate3d(0,60px,0);transform:scale3d(0.475,.475,.475) translate3d(0,60px,0);-webkit-animation-timing-function:cubic-bezier(0.175,.885,.32,1);animation-timing-function:cubic-bezier(0.175,.885,.32,1)}}.zoomInDown{-webkit-animation-name:zoomInDown;animation-name:zoomInDown}@-webkit-keyframes zoomInLeft{0%{opacity:0;-webkit-transform:scale3d(0.1,.1,.1) translate3d(-1000px,0,0);transform:scale3d(0.1,.1,.1) translate3d(-1000px,0,0);-webkit-animation-timing-function:cubic-bezier(0.55,.055,.675,.19);animation-timing-function:cubic-bezier(0.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(0.475,.475,.475) translate3d(10px,0,0);transform:scale3d(0.475,.475,.475) translate3d(10px,0,0);-webkit-animation-timing-function:cubic-bezier(0.175,.885,.32,1);animation-timing-function:cubic-bezier(0.175,.885,.32,1)}}@keyframes zoomInLeft{0%{opacity:0;-webkit-transform:scale3d(0.1,.1,.1) translate3d(-1000px,0,0);transform:scale3d(0.1,.1,.1) translate3d(-1000px,0,0);-webkit-animation-timing-function:cubic-bezier(0.55,.055,.675,.19);animation-timing-function:cubic-bezier(0.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(0.475,.475,.475) translate3d(10px,0,0);transform:scale3d(0.475,.475,.475) translate3d(10px,0,0);-webkit-animation-timing-function:cubic-bezier(0.175,.885,.32,1);animation-timing-function:cubic-bezier(0.175,.885,.32,1)}}.zoomInLeft{-webkit-animation-name:zoomInLeft;animation-name:zoomInLeft}@-webkit-keyframes zoomInRight{0%{opacity:0;-webkit-transform:scale3d(0.1,.1,.1) translate3d(1000px,0,0);transform:scale3d(0.1,.1,.1) translate3d(1000px,0,0);-webkit-animation-timing-function:cubic-bezier(0.55,.055,.675,.19);animation-timing-function:cubic-bezier(0.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(0.475,.475,.475) translate3d(-10px,0,0);transform:scale3d(0.475,.475,.475) translate3d(-10px,0,0);-webkit-animation-timing-function:cubic-bezier(0.175,.885,.32,1);animation-timing-function:cubic-bezier(0.175,.885,.32,1)}}@keyframes zoomInRight{0%{opacity:0;-webkit-transform:scale3d(0.1,.1,.1) translate3d(1000px,0,0);transform:scale3d(0.1,.1,.1) translate3d(1000px,0,0);-webkit-animation-timing-function:cubic-bezier(0.55,.055,.675,.19);animation-timing-function:cubic-bezier(0.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(0.475,.475,.475) translate3d(-10px,0,0);transform:scale3d(0.475,.475,.475) translate3d(-10px,0,0);-webkit-animation-timing-function:cubic-bezier(0.175,.885,.32,1);animation-timing-function:cubic-bezier(0.175,.885,.32,1)}}.zoomInRight{-webkit-animation-name:zoomInRight;animation-name:zoomInRight}@-webkit-keyframes zoomInUp{0%{opacity:0;-webkit-transform:scale3d(0.1,.1,.1) translate3d(0,1000px,0);transform:scale3d(0.1,.1,.1) translate3d(0,1000px,0);-webkit-animation-timing-function:cubic-bezier(0.55,.055,.675,.19);animation-timing-function:cubic-bezier(0.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(0.475,.475,.475) translate3d(0,-60px,0);transform:scale3d(0.475,.475,.475) translate3d(0,-60px,0);-webkit-animation-timing-function:cubic-bezier(0.175,.885,.32,1);animation-timing-function:cubic-bezier(0.175,.885,.32,1)}}@keyframes zoomInUp{0%{opacity:0;-webkit-transform:scale3d(0.1,.1,.1) translate3d(0,1000px,0);transform:scale3d(0.1,.1,.1) translate3d(0,1000px,0);-webkit-animation-timing-function:cubic-bezier(0.55,.055,.675,.19);animation-timing-function:cubic-bezier(0.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(0.475,.475,.475) translate3d(0,-60px,0);transform:scale3d(0.475,.475,.475) translate3d(0,-60px,0);-webkit-animation-timing-function:cubic-bezier(0.175,.885,.32,1);animation-timing-function:cubic-bezier(0.175,.885,.32,1)}}.zoomInUp{-webkit-animation-name:zoomInUp;animation-name:zoomInUp}@-webkit-keyframes zoomOut{0%{opacity:1}50%{opacity:0;-webkit-transform:scale3d(0.3,.3,.3);transform:scale3d(0.3,.3,.3)}100%{opacity:0}}@keyframes zoomOut{0%{opacity:1}50%{opacity:0;-webkit-transform:scale3d(0.3,.3,.3);transform:scale3d(0.3,.3,.3)}100%{opacity:0}}.zoomOut{-webkit-animation-name:zoomOut;animation-name:zoomOut}@-webkit-keyframes zoomOutDown{40%{opacity:1;-webkit-transform:scale3d(0.475,.475,.475) translate3d(0,-60px,0);transform:scale3d(0.475,.475,.475) translate3d(0,-60px,0);-webkit-animation-timing-function:cubic-bezier(0.55,.055,.675,.19);animation-timing-function:cubic-bezier(0.55,.055,.675,.19)}100%{opacity:0;-webkit-transform:scale3d(0.1,.1,.1) translate3d(0,2000px,0);transform:scale3d(0.1,.1,.1) translate3d(0,2000px,0);-webkit-transform-origin:center bottom;transform-origin:center bottom;-webkit-animation-timing-function:cubic-bezier(0.175,.885,.32,1);animation-timing-function:cubic-bezier(0.175,.885,.32,1)}}@keyframes zoomOutDown{40%{opacity:1;-webkit-transform:scale3d(0.475,.475,.475) translate3d(0,-60px,0);transform:scale3d(0.475,.475,.475) translate3d(0,-60px,0);-webkit-animation-timing-function:cubic-bezier(0.55,.055,.675,.19);animation-timing-function:cubic-bezier(0.55,.055,.675,.19)}100%{opacity:0;-webkit-transform:scale3d(0.1,.1,.1) translate3d(0,2000px,0);transform:scale3d(0.1,.1,.1) translate3d(0,2000px,0);-webkit-transform-origin:center bottom;transform-origin:center bottom;-webkit-animation-timing-function:cubic-bezier(0.175,.885,.32,1);animation-timing-function:cubic-bezier(0.175,.885,.32,1)}}.zoomOutDown{-webkit-animation-name:zoomOutDown;animation-name:zoomOutDown}@-webkit-keyframes zoomOutLeft{40%{opacity:1;-webkit-transform:scale3d(0.475,.475,.475) translate3d(42px,0,0);transform:scale3d(0.475,.475,.475) translate3d(42px,0,0)}100%{opacity:0;-webkit-transform:scale(0.1) translate3d(-2000px,0,0);transform:scale(0.1) translate3d(-2000px,0,0);-webkit-transform-origin:left center;transform-origin:left center}}@keyframes zoomOutLeft{40%{opacity:1;-webkit-transform:scale3d(0.475,.475,.475) translate3d(42px,0,0);transform:scale3d(0.475,.475,.475) translate3d(42px,0,0)}100%{opacity:0;-webkit-transform:scale(0.1) translate3d(-2000px,0,0);transform:scale(0.1) translate3d(-2000px,0,0);-webkit-transform-origin:left center;transform-origin:left center}}.zoomOutLeft{-webkit-animation-name:zoomOutLeft;animation-name:zoomOutLeft}@-webkit-keyframes zoomOutRight{40%{opacity:1;-webkit-transform:scale3d(0.475,.475,.475) translate3d(-42px,0,0);transform:scale3d(0.475,.475,.475) translate3d(-42px,0,0)}100%{opacity:0;-webkit-transform:scale(0.1) translate3d(2000px,0,0);transform:scale(0.1) translate3d(2000px,0,0);-webkit-transform-origin:right center;transform-origin:right center}}@keyframes zoomOutRight{40%{opacity:1;-webkit-transform:scale3d(0.475,.475,.475) translate3d(-42px,0,0);transform:scale3d(0.475,.475,.475) translate3d(-42px,0,0)}100%{opacity:0;-webkit-transform:scale(0.1) translate3d(2000px,0,0);transform:scale(0.1) translate3d(2000px,0,0);-webkit-transform-origin:right center;transform-origin:right center}}.zoomOutRight{-webkit-animation-name:zoomOutRight;animation-name:zoomOutRight}@-webkit-keyframes zoomOutUp{40%{opacity:1;-webkit-transform:scale3d(0.475,.475,.475) translate3d(0,60px,0);transform:scale3d(0.475,.475,.475) translate3d(0,60px,0);-webkit-animation-timing-function:cubic-bezier(0.55,.055,.675,.19);animation-timing-function:cubic-bezier(0.55,.055,.675,.19)}100%{opacity:0;-webkit-transform:scale3d(0.1,.1,.1) translate3d(0,-2000px,0);transform:scale3d(0.1,.1,.1) translate3d(0,-2000px,0);-webkit-transform-origin:center bottom;transform-origin:center bottom;-webkit-animation-timing-function:cubic-bezier(0.175,.885,.32,1);animation-timing-function:cubic-bezier(0.175,.885,.32,1)}}@keyframes zoomOutUp{40%{opacity:1;-webkit-transform:scale3d(0.475,.475,.475) translate3d(0,60px,0);transform:scale3d(0.475,.475,.475) translate3d(0,60px,0);-webkit-animation-timing-function:cubic-bezier(0.55,.055,.675,.19);animation-timing-function:cubic-bezier(0.55,.055,.675,.19)}100%{opacity:0;-webkit-transform:scale3d(0.1,.1,.1) translate3d(0,-2000px,0);transform:scale3d(0.1,.1,.1) translate3d(0,-2000px,0);-webkit-transform-origin:center bottom;transform-origin:center bottom;-webkit-animation-timing-function:cubic-bezier(0.175,.885,.32,1);animation-timing-function:cubic-bezier(0.175,.885,.32,1)}}.zoomOutUp{-webkit-animation-name:zoomOutUp;animation-name:zoomOutUp}@-webkit-keyframes slideInDown{0%{-webkit-transform:translateY(-100%);transform:translateY(-100%);visibility:visible}100%{-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes slideInDown{0%{-webkit-transform:translateY(-100%);transform:translateY(-100%);visibility:visible}100%{-webkit-transform:translateY(0);transform:translateY(0)}}.slideInDown{-webkit-animation-name:slideInDown;animation-name:slideInDown}@-webkit-keyframes slideInLeft{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes slideInLeft{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}.slideInLeft{-webkit-animation-name:slideInLeft;animation-name:slideInLeft}@-webkit-keyframes slideInRight{0%{-webkit-transform:translateX(100%);transform:translateX(100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes slideInRight{0%{-webkit-transform:translateX(100%);transform:translateX(100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}.slideInRight{-webkit-animation-name:slideInRight;animation-name:slideInRight}@-webkit-keyframes slideInUp{0%{-webkit-transform:translateY(100%);transform:translateY(100%);visibility:visible}100%{-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes slideInUp{0%{-webkit-transform:translateY(100%);transform:translateY(100%);visibility:visible}100%{-webkit-transform:translateY(0);transform:translateY(0)}}.slideInUp{-webkit-animation-name:slideInUp;animation-name:slideInUp}@-webkit-keyframes slideOutDown{0%{-webkit-transform:translateY(0);transform:translateY(0)}100%{visibility:hidden;-webkit-transform:translateY(100%);transform:translateY(100%)}}@keyframes slideOutDown{0%{-webkit-transform:translateY(0);transform:translateY(0)}100%{visibility:hidden;-webkit-transform:translateY(100%);transform:translateY(100%)}}.slideOutDown{-webkit-animation-name:slideOutDown;animation-name:slideOutDown}@-webkit-keyframes slideOutLeft{0%{-webkit-transform:translateX(0);transform:translateX(0)}100%{visibility:hidden;-webkit-transform:translateX(-100%);transform:translateX(-100%)}}@keyframes slideOutLeft{0%{-webkit-transform:translateX(0);transform:translateX(0)}100%{visibility:hidden;-webkit-transform:translateX(-100%);transform:translateX(-100%)}}.slideOutLeft{-webkit-animation-name:slideOutLeft;animation-name:slideOutLeft}@-webkit-keyframes slideOutRight{0%{-webkit-transform:translateX(0);transform:translateX(0)}100%{visibility:hidden;-webkit-transform:translateX(100%);transform:translateX(100%)}}@keyframes slideOutRight{0%{-webkit-transform:translateX(0);transform:translateX(0)}100%{visibility:hidden;-webkit-transform:translateX(100%);transform:translateX(100%)}}.slideOutRight{-webkit-animation-name:slideOutRight;animation-name:slideOutRight}@-webkit-keyframes slideOutUp{0%{-webkit-transform:translateY(0);transform:translateY(0)}100%{visibility:hidden;-webkit-transform:translateY(-100%);transform:translateY(-100%)}}@keyframes slideOutUp{0%{-webkit-transform:translateY(0);transform:translateY(0)}100%{visibility:hidden;-webkit-transform:translateY(-100%);transform:translateY(-100%)}}.slideOutUp{-webkit-animation-name:slideOutUp;animation-name:slideOutUp}
|
css/popup-admin.css
CHANGED
@@ -90,7 +90,6 @@ div.msg-err {
|
|
90 |
padding: 0 0.6em;
|
91 |
padding: 1px 12px;
|
92 |
background-color: #FAFAFA;
|
93 |
-
-webkit-box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
|
94 |
box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
|
95 |
clear: both;
|
96 |
margin: 15px 0 0;
|
@@ -116,7 +115,7 @@ div.msg-err {
|
|
116 |
max-width: 920px;
|
117 |
}
|
118 |
.tbl-shortcodes .flag {
|
119 |
-
width:
|
120 |
overflow: visible;
|
121 |
}
|
122 |
.tbl-shortcodes .flag [data-tooltip] {
|
@@ -161,7 +160,6 @@ div.msg-err {
|
|
161 |
|
162 |
.tbl-addons tbody td,
|
163 |
.tbl-addons tbody th {
|
164 |
-
-webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1);
|
165 |
box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1);
|
166 |
}
|
167 |
.tbl-addons code {
|
@@ -217,7 +215,6 @@ div.msg-err {
|
|
217 |
}
|
218 |
.post-type-inc_popup .wp-list-table tbody td,
|
219 |
.post-type-inc_popup .wp-list-table tbody th {
|
220 |
-
-webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1);
|
221 |
box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1);
|
222 |
padding-top: 15px;
|
223 |
padding-bottom: 15px;
|
@@ -859,6 +856,7 @@ div.msg-err {
|
|
859 |
/* For IE8 - See #6727 */
|
860 |
.ui-slider.ui-state-disabled .ui-slider-handle,
|
861 |
.ui-slider.ui-state-disabled .ui-slider-range {
|
|
|
862 |
filter: inherit;
|
863 |
}
|
864 |
|
@@ -1076,6 +1074,31 @@ div.msg-err {
|
|
1076 |
== ==
|
1077 |
=======================================
|
1078 |
\*===================================*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1079 |
.pro-only {
|
1080 |
position: relative;
|
1081 |
margin: 3px 0;
|
@@ -1093,7 +1116,6 @@ div.msg-err {
|
|
1093 |
left: -3px;
|
1094 |
right: -3px;
|
1095 |
bottom: -3px;
|
1096 |
-
text-align: center;
|
1097 |
background: rgba(0, 0, 0, 0.6);
|
1098 |
color: #FFF;
|
1099 |
font-family: "Source Sans Pro", "Open Sans", sans-serif;
|
@@ -1102,9 +1124,33 @@ div.msg-err {
|
|
1102 |
z-index: 9999;
|
1103 |
transition: opacity .2s;
|
1104 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1105 |
.pro-only .pro-note a {
|
1106 |
color: #7ed321;
|
1107 |
}
|
1108 |
.pro-only:hover .pro-note {
|
1109 |
opacity: 1;
|
1110 |
}
|
|
|
|
|
|
|
|
|
|
|
|
90 |
padding: 0 0.6em;
|
91 |
padding: 1px 12px;
|
92 |
background-color: #FAFAFA;
|
|
|
93 |
box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
|
94 |
clear: both;
|
95 |
margin: 15px 0 0;
|
115 |
max-width: 920px;
|
116 |
}
|
117 |
.tbl-shortcodes .flag {
|
118 |
+
width: 12%;
|
119 |
overflow: visible;
|
120 |
}
|
121 |
.tbl-shortcodes .flag [data-tooltip] {
|
160 |
|
161 |
.tbl-addons tbody td,
|
162 |
.tbl-addons tbody th {
|
|
|
163 |
box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1);
|
164 |
}
|
165 |
.tbl-addons code {
|
215 |
}
|
216 |
.post-type-inc_popup .wp-list-table tbody td,
|
217 |
.post-type-inc_popup .wp-list-table tbody th {
|
|
|
218 |
box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1);
|
219 |
padding-top: 15px;
|
220 |
padding-bottom: 15px;
|
856 |
/* For IE8 - See #6727 */
|
857 |
.ui-slider.ui-state-disabled .ui-slider-handle,
|
858 |
.ui-slider.ui-state-disabled .ui-slider-range {
|
859 |
+
-webkit-filter: inherit;
|
860 |
filter: inherit;
|
861 |
}
|
862 |
|
1074 |
== ==
|
1075 |
=======================================
|
1076 |
\*===================================*/
|
1077 |
+
.pro-icon {
|
1078 |
+
display: inline-block;
|
1079 |
+
width: 20px;
|
1080 |
+
height: 20px;
|
1081 |
+
font-size: 20px;
|
1082 |
+
line-height: 1;
|
1083 |
+
font-family: "dashicons";
|
1084 |
+
text-decoration: inherit;
|
1085 |
+
font-weight: normal;
|
1086 |
+
font-style: normal;
|
1087 |
+
vertical-align: top;
|
1088 |
+
text-align: center;
|
1089 |
+
transition: color .1s ease-in 0;
|
1090 |
+
-webkit-font-smoothing: antialiased;
|
1091 |
+
-moz-osx-font-smoothing: grayscale;
|
1092 |
+
color: #DBA901;
|
1093 |
+
margin-left: -2px;
|
1094 |
+
margin-right: 4px;
|
1095 |
+
transition: opacity .2s;
|
1096 |
+
}
|
1097 |
+
|
1098 |
+
.pro-icon:before {
|
1099 |
+
content: "\f160";
|
1100 |
+
}
|
1101 |
+
|
1102 |
.pro-only {
|
1103 |
position: relative;
|
1104 |
margin: 3px 0;
|
1116 |
left: -3px;
|
1117 |
right: -3px;
|
1118 |
bottom: -3px;
|
|
|
1119 |
background: rgba(0, 0, 0, 0.6);
|
1120 |
color: #FFF;
|
1121 |
font-family: "Source Sans Pro", "Open Sans", sans-serif;
|
1124 |
z-index: 9999;
|
1125 |
transition: opacity .2s;
|
1126 |
}
|
1127 |
+
.pro-only .pro-note .text {
|
1128 |
+
position: absolute;
|
1129 |
+
left: 0;
|
1130 |
+
right: 0;
|
1131 |
+
top: 50%;
|
1132 |
+
margin-top: -20px;
|
1133 |
+
height: 40px;
|
1134 |
+
line-height: 40px;
|
1135 |
+
text-align: center;
|
1136 |
+
}
|
1137 |
+
.pro-only .pro-note .pro-icon {
|
1138 |
+
position: absolute;
|
1139 |
+
font-size: 64px;
|
1140 |
+
left: 10px;
|
1141 |
+
top: 50%;
|
1142 |
+
margin-top: -32px;
|
1143 |
+
opacity: 0.6;
|
1144 |
+
}
|
1145 |
.pro-only .pro-note a {
|
1146 |
color: #7ed321;
|
1147 |
}
|
1148 |
.pro-only:hover .pro-note {
|
1149 |
opacity: 1;
|
1150 |
}
|
1151 |
+
.pro-only:hover .pro-note .pro-icon {
|
1152 |
+
opacity: 0.6;
|
1153 |
+
}
|
1154 |
+
.pro-only:hover .pro-icon {
|
1155 |
+
opacity: 0.3;
|
1156 |
+
}
|
css/popup-admin.min.css
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
-
/*! PopUp Free - v4.7.
|
2 |
* https://wordpress.org/plugins/wordpress-popup/
|
3 |
-
* Copyright (c)
|
4 |
|
5 |
-
.post-type-inc_popup .status-icon{color:#CCC;width:30px;font-size:16px;line-height:20px;height:20px}.post-type-inc_popup .status-icon:before{content:"\f153"}.post-type-inc_popup .status-active .status-icon,.post-type-inc_popup .status-publish .status-icon{color:#090;font-size:30px}.post-type-inc_popup .status-active .status-icon:before,.post-type-inc_popup .status-publish .status-icon:before{content:"\f147"}.post-type-inc_popup .status-trash .status-icon:before{content:"\f182"}select.block,textarea.block,input.block{margin-left:0;margin-right:0;display:block;width:100%}textarea.block{height:7.2em}.wp-admin select{vertical-align:top;margin-top:0}.inp-small{width:75px}.inp-row{min-height:32px}.inp-row label.inp-height{margin:7px 0 0;display:inline-block}.inactive{opacity:.35;position:relative}.inactive:before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;z-index:10000}.inactive-anim{transition:opacity .3s}fieldset{border:1px solid #DDD;padding:8px;margin:0 0 10px}fieldset:last-child{margin-bottom:0}div.msg-ok,div.msg-err{padding:0 .6em;padding:1px 12px;background-color:#FAFAFA;-webkit-box-shadow:0 1px 1px 0 rgba(0,0,0,.1);box-shadow:0 1px 1px 0 rgba(0,0,0,.1);clear:both;margin:15px 0 0}div.msg-ok{border-left:4px solid #7AD03A}div.msg-err{border-left:4px solid #DD3D36}.tbl-shortcodes{margin-top:20px;max-width:920px}.tbl-shortcodes .flag{width:15%;overflow:visible}.tbl-shortcodes .flag [data-tooltip]{text-align:center;cursor:default}.tbl-shortcodes .flag .wpmui-tip{text-align:center;min-width:135px}.tbl-shortcodes tbody .flag{text-align:center}.tbl-shortcodes tbody td{border-bottom:1px solid #F0F0F0}.tbl-shortcodes tbody tr:hover td{background:#FCFCFC}.tbl-shortcodes .shortcode .icon:before{content:"\f153";color:#CCC;font-size:14px;width:24px;display:inline-block}.tbl-shortcodes .shortcode.sc-admin .sc-admin .icon:before,.tbl-shortcodes .shortcode.sc-front .sc-front .icon:before{content:"\f147";color:#000;font-size:24px}.tbl-shortcodes .shortcode.sc-admin.sc-limited .sc-admin .icon:before,.tbl-shortcodes .shortcode.sc-front.sc-limited .load-front .icon:before{color:#D90}.tbl-shortcodes .legend{float:left;margin:10px 10px 10px 0}.tbl-shortcodes.load-footer .load-footer,.tbl-shortcodes.load-ajax .load-ajax,.tbl-shortcodes.load-front .load-front,.tbl-shortcodes.load-anonymous .load-anonymous{background:#f0f0f0}.tbl-addons tbody td,.tbl-addons tbody th{-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.1);box-shadow:inset 0 -1px 0 rgba(0,0,0,.1)}.tbl-addons code{display:inline-block;margin:0 1px 1px 0;font-size:12px}.tbl-addons .column-name{width:35%}@media screen and (max-width:900px){.tbl-addons .column-name{width:50%}}.locked td,.locked th{color:#AAA}.locked td .locked-msg,.locked th .locked-msg{color:#333}.locked td .locked-msg:before,.locked th .locked-msg:before{content:'- '}.locked td .locked-msg:after,.locked th .locked-msg:after{content:' -'}.post-type-inc_popup{}.post-type-inc_popup .view-switch{display:none}.post-type-inc_popup .tablenav .alignleft.actions #post-query-submit,.post-type-inc_popup .tablenav .alignleft.actions select[name="m"]{display:none}.post-type-inc_popup [for=po_name-hide]{display:none}.post-type-inc_popup .wp-list-table tbody td,.post-type-inc_popup .wp-list-table tbody th{-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.1);box-shadow:inset 0 -1px 0 rgba(0,0,0,.1);padding-top:15px;padding-bottom:15px}.post-type-inc_popup .wp-list-table .column-po_order{width:10px}.post-type-inc_popup .wp-list-table tbody tr:hover .column-po_order{cursor:move;cursor:ns-resize}.post-type-inc_popup .wp-list-table tbody tr:hover .column-po_order:before{content:"\f333";width:20px;height:20px;font-size:20px;line-height:1;font-family:dashicons;text-decoration:inherit;font-weight:400;font-style:normal;vertical-align:top;text-align:center;transition:color .1s ease-in 0ms;-webkit-transition:color .1s ease-in 0ms;-webkit-font-smoothing:antialiased}.post-type-inc_popup .wp-list-table .column-po_name .the-title{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:700}.post-type-inc_popup .wp-list-table .column-po_cond{width:55%}@media screen and (max-width:600px){.post-type-inc_popup .wp-list-table .column-po_cond{width:40%}}.post-type-inc_popup .wp-list-table .column-po_pos{width:30px;text-align:center;white-space:nowrap}.post-type-inc_popup .wp-list-table .column-po_state{width:60px;text-align:center}.post-type-inc_popup .wp-list-table .rule,.post-type-inc_popup .wp-list-table .rule-always{color:#FFF;padding:1px 6px;border-radius:3px;margin:0 4px 1px 0;font-size:12px;float:left}.post-type-inc_popup .wp-list-table .rule{background:#999}.post-type-inc_popup .wp-list-table .rule-always{background:#CCC}.post-type-inc_popup .wp-list-table #the-list tr:nth-child(odd){background-color:#FFF!important}.post-type-inc_popup .wp-list-table #the-list tr:nth-child(even){background-color:#F9F9F9!important}.post-type-inc_popup .wp-list-table tr.ui-sortable-helper{box-shadow:0 1px 5px rgba(0,0,0,.2)}.post-type-inc_popup .wp-list-table .ui-sortable-placeholder{position:relative}.post-type-inc_popup .wp-list-table .ui-sortable-placeholder .column-po_order:before{content:'X';display:block;position:absolute;background:red;width:20px;height:20px}.post-type-inc_popup .wp-list-table .ui-sortable-placeholder td{background:#DDD;height:70px;padding:0}.sticky-submit #submitdiv.closed,.sticky-submit #submitdiv{position:fixed;right:0;z-index:10;top:0;left:160px;box-shadow:0 5px 7px -3px rgba(0,0,0,.2);background:#F5F5F5}.sticky-submit #submitdiv.closed .inside,.sticky-submit #submitdiv .inside{display:block}.sticky-submit #submitdiv.closed .hndle,.sticky-submit #submitdiv.closed .handlediv,.sticky-submit #submitdiv .hndle,.sticky-submit #submitdiv .handlediv{display:none}.sticky-submit #submitdiv.closed #misc-publishing-actions,.sticky-submit #submitdiv #misc-publishing-actions{display:none}.sticky-submit #submitdiv.closed .sticky-actions,.sticky-submit #submitdiv .sticky-actions{padding:10px}.sticky-submit #submitdiv.closed .delete-action,.sticky-submit #submitdiv .delete-action{float:left}.sticky-submit #submitdiv.closed .duplicate-action,.sticky-submit #submitdiv.closed .save-action,.sticky-submit #submitdiv.closed .preview-action,.sticky-submit #submitdiv.closed .publishing-action,.sticky-submit #submitdiv .duplicate-action,.sticky-submit #submitdiv .save-action,.sticky-submit #submitdiv .preview-action,.sticky-submit #submitdiv .publishing-action{float:right;margin-right:10px}.sticky-submit #submitdiv.closed .do-duplicate,.sticky-submit #submitdiv .do-duplicate{margin:0}.sticky-submit.folded #submitdiv{left:36px}@media only screen and (max-width:900px){.sticky-submit.auto-fold #submitdiv{left:36px}}.sticky-submit #post-body{margin-top:75px}@media screen and (max-width:782px){.sticky-submit #submitdiv{left:0!important;top:46px!important}}@media screen and (max-width:600px){.sticky-submit #submitdiv{left:0!important;top:0!important}}.wp-toolbar .sticky-submit #submitdiv{top:32px}.wp-toolbar .sticky-submit #post-body{margin-top:105px}#submitdiv #minor-publishing-actions{text-align:left;padding:20px 10px}#submitdiv #major-publishing-actions{z-index:10;position:relative}#submitdiv .handlediv,#submitdiv .hndle{display:none}#submitdiv .preview{float:none}#submitdiv .status{float:right;position:relative;width:100px;top:-6px}#submitdiv .status>label{float:left;line-height:26px;margin-right:10px}#submitdiv .status-hint-box{float:right}#submitdiv .status-switch{width:40px;margin:0;padding:0;float:left}#submitdiv .status-switch input{position:absolute;left:-3000px;top:-3000px;display:none}#submitdiv .status-switch .label-active,#submitdiv .status-switch .label-inactive{position:absolute;top:18px;right:0;left:0;text-align:left;z-index:0;transition:all .3s}#submitdiv .status-switch .status-box{background:#AAA;border-radius:20px;height:16px;padding:0;cursor:pointer;display:block}#submitdiv .status-switch .status-box .label-active{display:none}#submitdiv .status-switch .status-box .label-inactive{display:block}#submitdiv .status-switch .status-box .indicator{width:10px;height:10px;position:absolute;left:3px;top:3px;background:#FFF;border-radius:20px;transition:right .2s,left .2s}#submitdiv .status-switch input:checked+.status-box{background:#3A3}#submitdiv .status-switch input:checked+.status-box .indicator{left:26px}#submitdiv .status-switch input:checked+.status-box .label-active{display:block}#submitdiv .status-switch input:checked+.status-box .label-inactive{display:none}#submitdiv .preview-action .spinner,#submitdiv .publishing-action .spinner,#submitdiv .save-action .spinner{float:left}#submitdiv .submitdelete.disabled{color:#AAA!important;cursor:default}#submitdiv .delete-action{line-height:28px;vertical-align:middle;text-align:left;float:left}#submitdiv .publishing-action{text-align:right;float:right;line-height:23px}#submitdiv .do-duplicate{margin:0 10px 0 0;line-height:28px;display:inline-block}.post-type-inc_popup #post #post-body-content{height:75px}.post-type-inc_popup #post .columns-2 #postbox-container-1{padding-top:75px}.post-type-inc_popup #post #normal-sortables{min-height:0}.post-type-inc_popup #post #titlediv label{font-weight:700;margin:5px 0;display:block}.post-type-inc_popup #post #titlediv #po_name{width:100%;max-width:800px}.post-type-inc_popup #post .postbox-container .postbox{clear:both}.post-type-inc_popup #post .postbox-container #meta-appearance{float:left;width:49%}@media screen and (max-width:900px){.post-type-inc_popup #post .postbox-container #meta-appearance{width:100%;float:none}}.post-type-inc_popup #post .postbox-container #meta-behavior{float:right;width:49%;clear:none}@media screen and (max-width:900px){.post-type-inc_popup #post .postbox-container #meta-behavior{width:100%;float:none}}.post-type-inc_popup #post .postbox-container #meta-content,.post-type-inc_popup #post .postbox-container #meta-rules{clear:both}.post-type-inc_popup #post .content-main{margin-right:270px;min-height:400px}.post-type-inc_popup #post .content-image{position:absolute;width:250px;top:0;right:12px}.post-type-inc_popup #post .content-image .featured-img{width:224px;height:224px;margin:10px 0;background:#F8F8F8;position:relative}.post-type-inc_popup #post .content-image .featured-img .lbl-empty{display:block;height:224px;padding-top:100px;text-align:center}.post-type-inc_popup #post .content-image .featured-img.has-image:hover .reset{display:block}.post-type-inc_popup #post .content-image img{max-width:100%;max-height:100%;margin:0 auto;display:block}.post-type-inc_popup #post .content-image .reset,.post-type-inc_popup #post .content-image .reset .dashicons{font-size:13px;text-decoration:none}.post-type-inc_popup #post .content-image .reset .dashicons{display:inline}.post-type-inc_popup #post .content-image .reset{position:absolute;display:none;z-index:10;margin-top:-36px;background:rgba(255,255,255,.85);padding:5px;height:26px;left:0;right:0;bottom:0;color:#666}.post-type-inc_popup #post .content-image .reset:hover{color:#000}.post-type-inc_popup #post .img-pos{text-align:center;margin:10px 0}.post-type-inc_popup #post .img-pos .option{display:inline-block;background:#F1F1F1;padding:12px 10px;text-align:left;margin:2px;cursor:pointer;position:relative;overflow:hidden}.post-type-inc_popup #post .img-pos .option:hover{background:#DDD}.post-type-inc_popup #post .img-pos .option .image{color:#000;padding:4px;display:inline-block;border:1px solid #666;margin:-5px;background:#FFF}.post-type-inc_popup #post .img-pos .option .image.left{margin-right:0}.post-type-inc_popup #post .img-pos .option .image.right{margin-left:0}.post-type-inc_popup #post .img-pos .option.selected{background:#0074A2;color:#FFF}.post-type-inc_popup #post .img-pos .option input{position:absolute;left:-30px;top:-30px}.post-type-inc_popup #post .add_image{padding-left:5px}.post-type-inc_popup #post .add_image .add-image-icon:before{color:#888}.post-type-inc_popup #post h3.main-content{padding-bottom:10px}.post-type-inc_popup #post .wpmui-toggle{width:40px}.post-type-inc_popup #post .wpmui-toggle-label{border:0;height:16px;background:#CCC}.post-type-inc_popup #post .wpmui-toggle-inner{display:none}.post-type-inc_popup #post .wpmui-toggle-switch{margin:3px;width:10px;height:10px;right:24px;border:0;box-shadow:none;transition:right .2s}.post-type-inc_popup #post .wpmui-toggle-checkbox:checked+.wpmui-toggle-label{background:#3A3}.post-type-inc_popup #post .wpmui-toggle-checkbox:checked+.wpmui-toggle-label .wpmui-toggle-switch{right:0}.post-type-inc_popup #post .all-rules-box,.post-type-inc_popup #post .active-rules-box{border:1px solid #E5E5E5;height:400px;padding:10px;overflow:scroll;overflow-x:hidden;overflow-y:scroll;background:#FDFDFD;box-shadow:0 1px 2px #F0F0F0 inset}.post-type-inc_popup #post .all-rules,.post-type-inc_popup #post .active-rules{list-style:none;margin:0;padding:0}.post-type-inc_popup #post .all-rules>li,.post-type-inc_popup #post .active-rules>li{padding:5px;margin:0 0 5px;line-height:20px;min-height:30px;border-radius:2px;border:1px solid #E5E5E5;background:#FEFEFE;cursor:default;position:relative}.post-type-inc_popup #post .all-rules>li:last-child,.post-type-inc_popup #post .active-rules>li:last-child{margin:0}.post-type-inc_popup #post .all-rules>li:hover,.post-type-inc_popup #post .active-rules>li:hover{border-color:#AAA;color:#000;background:#FFF;box-shadow:0 1px 3px #E9E9E9}.post-type-inc_popup #post .all-rules .wpmui-toggle,.post-type-inc_popup #post .active-rules .wpmui-toggle{margin:2px 6px}.post-type-inc_popup #post .all-rules .rule{cursor:pointer}.post-type-inc_popup #post .all-rules .rule.inactive{cursor:default}.post-type-inc_popup #post .all-rules .rule.on{background:#F7FCFE;border-color:#2EA2CC}.post-type-inc_popup #post .active-rules .rule.off{display:none!important}.post-type-inc_popup #post .active-rules .rule-title{background:#E5E5E5;padding:5px;margin:-5px;cursor:pointer}.post-type-inc_popup #post .active-rules .rule-toggle{position:absolute;right:0;top:0;width:30px;height:30px;cursor:pointer;border-left:1px solid #DCDCDC}.post-type-inc_popup #post .active-rules .rule-toggle:before{content:'\f140';line-height:30px;color:#333}.post-type-inc_popup #post .active-rules .rule.open .rule-toggle:before{content:'\f142'}.post-type-inc_popup #post .active-rules .rule-inner{display:none;margin-top:10px;padding:3px}.post-type-inc_popup #post .active-rules .rule-form{margin-top:5px;padding-top:5px}.post-type-inc_popup #post .active-rules .rule.open .rule-inner{display:block}.post-type-inc_popup #post .col-colorpicker{width:41.66%;min-width:260px;margin-bottom:10px}.post-type-inc_popup #post .wp-picker-container{width:260px}.post-type-inc_popup #post .wp-picker-container *{box-sizing:content-box}.post-type-inc_popup #post .wp-picker-container .wp-picker-holder{position:absolute;z-index:10}.post-type-inc_popup #post .wp-picker-container .iris-picker{box-shadow:0 1px 5px rgba(0,0,0,.2)}.post-type-inc_popup #post hr{margin:16px -12px 6px;border-top:0;border-bottom:1px solid #EEE}.post-type-inc_popup #post .col-all-rules{width:320px}.post-type-inc_popup #post .col-active-rules{float:none;display:block}.post-type-inc_popup #post .wpmui-toggle{float:right;margin:6px}.post-type-inc_popup #post .slider-wrap .slider{margin:15px 10px 5px}.post-type-inc_popup #post .slider-wrap .slider-data{padding-bottom:10px;border-bottom:1px solid #EEE}#poststuff .postbox label h3{border:0;padding:0;cursor:default}.ui-slider{position:relative;text-align:left}.ui-slider .ui-slider-handle{position:absolute;z-index:2;width:1.2em;height:1.2em;cursor:default;-ms-touch-action:none;touch-action:none}.ui-slider .ui-slider-range{position:absolute;z-index:1;font-size:.7em;display:block;border:0;background-position:0 0}.ui-slider.ui-state-disabled .ui-slider-handle,.ui-slider.ui-state-disabled .ui-slider-range{filter:inherit}.ui-slider-horizontal{height:.8em}.ui-slider-horizontal .ui-slider-handle{top:-.3em;margin-left:-.6em}.ui-slider-horizontal .ui-slider-range{top:0;height:100%}.ui-slider-horizontal .ui-slider-range-min{left:0}.ui-slider-horizontal .ui-slider-range-max{right:0}.ui-slider-vertical{width:.8em;height:100px}.ui-slider-vertical .ui-slider-handle{left:-.3em;margin-left:0;margin-bottom:-.6em}.ui-slider-vertical .ui-slider-range{left:0;width:100%}.ui-slider-vertical .ui-slider-range-min{bottom:0}.ui-slider-vertical .ui-slider-range-max{top:0}.ui-widget{font-family:Verdana,Arial,sans-serif;font-size:1.1em}.ui-widget .ui-widget{font-size:1em}.ui-widget input,.ui-widget select,.ui-widget textarea,.ui-widget button{font-family:Verdana,Arial,sans-serif;font-size:1em}.ui-widget-content{border:1px solid #aaa;background:#fff;color:#222}.ui-widget-content a{color:#222}.ui-widget-header{border:1px solid #aaa;background:#ccc;color:#222;font-weight:700}.ui-widget-header a{color:#222}.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default{border:1px solid #d3d3d3;background:#e6e6e6;font-weight:400;color:#555}.ui-state-default a,.ui-state-default a:link,.ui-state-default a:visited{color:#555;text-decoration:none}.ui-state-hover,.ui-widget-content .ui-state-hover,.ui-widget-header .ui-state-hover,.ui-state-focus,.ui-widget-content .ui-state-focus,.ui-widget-header .ui-state-focus{border:1px solid #999;background:#dadada;font-weight:400;color:#212121}.ui-state-hover a,.ui-state-hover a:hover,.ui-state-hover a:link,.ui-state-hover a:visited,.ui-state-focus a,.ui-state-focus a:hover,.ui-state-focus a:link,.ui-state-focus a:visited{color:#212121;text-decoration:none}.ui-state-active,.ui-widget-content .ui-state-active,.ui-widget-header .ui-state-active{border:1px solid #aaa;background:#fff;font-weight:400;color:#212121}.ui-state-active a,.ui-state-active a:link,.ui-state-active a:visited{color:#212121;text-decoration:none}.ui-state-highlight,.ui-widget-content .ui-state-highlight,.ui-widget-header .ui-state-highlight{border:1px solid #fcefa1;background:#fbf9ee;color:#363636}.ui-state-highlight a,.ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a{color:#363636}.ui-state-error,.ui-widget-content .ui-state-error,.ui-widget-header .ui-state-error{border:1px solid #cd0a0a;background:#fef1ec;color:#cd0a0a}.ui-state-error a,.ui-widget-content .ui-state-error a,.ui-widget-header .ui-state-error a{color:#cd0a0a}.ui-state-error-text,.ui-widget-content .ui-state-error-text,.ui-widget-header .ui-state-error-text{color:#cd0a0a}.ui-priority-primary,.ui-widget-content .ui-priority-primary,.ui-widget-header .ui-priority-primary{font-weight:700}.ui-priority-secondary,.ui-widget-content .ui-priority-secondary,.ui-widget-header .ui-priority-secondary{opacity:.7;filter:Alpha(Opacity=70);font-weight:400}.ui-state-disabled,.ui-widget-content .ui-state-disabled,.ui-widget-header .ui-state-disabled{opacity:.35;filter:Alpha(Opacity=35);background-image:none}.ui-state-disabled .ui-icon{filter:Alpha(Opacity=35)}.pro-only{position:relative;margin:3px 0;clear:both}.pro-only:after{content:' ';display:table;clear:both}.pro-only .pro-note{opacity:0;position:absolute;top:-3px;left:-3px;right:-3px;bottom:-3px;text-align:center;background:rgba(0,0,0,.6);color:#FFF;font-family:"Source Sans Pro","Open Sans",sans-serif;font-weight:100;font-size:20px;z-index:9999;transition:opacity .2s}.pro-only .pro-note a{color:#7ed321}.pro-only:hover .pro-note{opacity:1}
|
1 |
+
/*! PopUp Free - v4.7.09
|
2 |
* https://wordpress.org/plugins/wordpress-popup/
|
3 |
+
* Copyright (c) 2015; * Licensed GPLv2+ */
|
4 |
|
5 |
+
.post-type-inc_popup .status-icon{color:#CCC;width:30px;font-size:16px;line-height:20px;height:20px}.post-type-inc_popup .status-icon:before{content:"\f153"}.post-type-inc_popup .status-active .status-icon,.post-type-inc_popup .status-publish .status-icon{color:#090;font-size:30px}.post-type-inc_popup .status-active .status-icon:before,.post-type-inc_popup .status-publish .status-icon:before{content:"\f147"}.post-type-inc_popup .status-trash .status-icon:before{content:"\f182"}select.block,textarea.block,input.block{margin-left:0;margin-right:0;display:block;width:100%}textarea.block{height:7.2em}.wp-admin select{vertical-align:top;margin-top:0}.inp-small{width:75px}.inp-row{min-height:32px}.inp-row label.inp-height{margin:7px 0 0;display:inline-block}.inactive{opacity:.35;position:relative}.inactive:before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;z-index:10000}.inactive-anim{transition:opacity .3s}fieldset{border:1px solid #DDD;padding:8px;margin:0 0 10px}fieldset:last-child{margin-bottom:0}div.msg-ok,div.msg-err{padding:0 .6em;padding:1px 12px;background-color:#FAFAFA;box-shadow:0 1px 1px 0 rgba(0,0,0,.1);clear:both;margin:15px 0 0}div.msg-ok{border-left:4px solid #7AD03A}div.msg-err{border-left:4px solid #DD3D36}.tbl-shortcodes{margin-top:20px;max-width:920px}.tbl-shortcodes .flag{width:12%;overflow:visible}.tbl-shortcodes .flag [data-tooltip]{text-align:center;cursor:default}.tbl-shortcodes .flag .wpmui-tip{text-align:center;min-width:135px}.tbl-shortcodes tbody .flag{text-align:center}.tbl-shortcodes tbody td{border-bottom:1px solid #F0F0F0}.tbl-shortcodes tbody tr:hover td{background:#FCFCFC}.tbl-shortcodes .shortcode .icon:before{content:"\f153";color:#CCC;font-size:14px;width:24px;display:inline-block}.tbl-shortcodes .shortcode.sc-admin .sc-admin .icon:before,.tbl-shortcodes .shortcode.sc-front .sc-front .icon:before{content:"\f147";color:#000;font-size:24px}.tbl-shortcodes .shortcode.sc-admin.sc-limited .sc-admin .icon:before,.tbl-shortcodes .shortcode.sc-front.sc-limited .load-front .icon:before{color:#D90}.tbl-shortcodes .legend{float:left;margin:10px 10px 10px 0}.tbl-shortcodes.load-footer .load-footer,.tbl-shortcodes.load-ajax .load-ajax,.tbl-shortcodes.load-front .load-front,.tbl-shortcodes.load-anonymous .load-anonymous{background:#f0f0f0}.tbl-addons tbody td,.tbl-addons tbody th{box-shadow:inset 0 -1px 0 rgba(0,0,0,.1)}.tbl-addons code{display:inline-block;margin:0 1px 1px 0;font-size:12px}.tbl-addons .column-name{width:35%}@media screen and (max-width:900px){.tbl-addons .column-name{width:50%}}.locked td,.locked th{color:#AAA}.locked td .locked-msg,.locked th .locked-msg{color:#333}.locked td .locked-msg:before,.locked th .locked-msg:before{content:'- '}.locked td .locked-msg:after,.locked th .locked-msg:after{content:' -'}.post-type-inc_popup{}.post-type-inc_popup .view-switch{display:none}.post-type-inc_popup .tablenav .alignleft.actions #post-query-submit,.post-type-inc_popup .tablenav .alignleft.actions select[name="m"]{display:none}.post-type-inc_popup [for=po_name-hide]{display:none}.post-type-inc_popup .wp-list-table tbody td,.post-type-inc_popup .wp-list-table tbody th{box-shadow:inset 0 -1px 0 rgba(0,0,0,.1);padding-top:15px;padding-bottom:15px}.post-type-inc_popup .wp-list-table .column-po_order{width:10px}.post-type-inc_popup .wp-list-table tbody tr:hover .column-po_order{cursor:move;cursor:ns-resize}.post-type-inc_popup .wp-list-table tbody tr:hover .column-po_order:before{content:"\f333";width:20px;height:20px;font-size:20px;line-height:1;font-family:dashicons;text-decoration:inherit;font-weight:400;font-style:normal;vertical-align:top;text-align:center;transition:color .1s ease-in 0ms;-webkit-transition:color .1s ease-in 0ms;-webkit-font-smoothing:antialiased}.post-type-inc_popup .wp-list-table .column-po_name .the-title{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:700}.post-type-inc_popup .wp-list-table .column-po_cond{width:55%}@media screen and (max-width:600px){.post-type-inc_popup .wp-list-table .column-po_cond{width:40%}}.post-type-inc_popup .wp-list-table .column-po_pos{width:30px;text-align:center;white-space:nowrap}.post-type-inc_popup .wp-list-table .column-po_state{width:60px;text-align:center}.post-type-inc_popup .wp-list-table .rule,.post-type-inc_popup .wp-list-table .rule-always{color:#FFF;padding:1px 6px;border-radius:3px;margin:0 4px 1px 0;font-size:12px;float:left}.post-type-inc_popup .wp-list-table .rule{background:#999}.post-type-inc_popup .wp-list-table .rule-always{background:#CCC}.post-type-inc_popup .wp-list-table #the-list tr:nth-child(odd){background-color:#FFF!important}.post-type-inc_popup .wp-list-table #the-list tr:nth-child(even){background-color:#F9F9F9!important}.post-type-inc_popup .wp-list-table tr.ui-sortable-helper{box-shadow:0 1px 5px rgba(0,0,0,.2)}.post-type-inc_popup .wp-list-table .ui-sortable-placeholder{position:relative}.post-type-inc_popup .wp-list-table .ui-sortable-placeholder .column-po_order:before{content:'X';display:block;position:absolute;background:red;width:20px;height:20px}.post-type-inc_popup .wp-list-table .ui-sortable-placeholder td{background:#DDD;height:70px;padding:0}.sticky-submit #submitdiv.closed,.sticky-submit #submitdiv{position:fixed;right:0;z-index:10;top:0;left:160px;box-shadow:0 5px 7px -3px rgba(0,0,0,.2);background:#F5F5F5}.sticky-submit #submitdiv.closed .inside,.sticky-submit #submitdiv .inside{display:block}.sticky-submit #submitdiv.closed .hndle,.sticky-submit #submitdiv.closed .handlediv,.sticky-submit #submitdiv .hndle,.sticky-submit #submitdiv .handlediv{display:none}.sticky-submit #submitdiv.closed #misc-publishing-actions,.sticky-submit #submitdiv #misc-publishing-actions{display:none}.sticky-submit #submitdiv.closed .sticky-actions,.sticky-submit #submitdiv .sticky-actions{padding:10px}.sticky-submit #submitdiv.closed .delete-action,.sticky-submit #submitdiv .delete-action{float:left}.sticky-submit #submitdiv.closed .duplicate-action,.sticky-submit #submitdiv.closed .save-action,.sticky-submit #submitdiv.closed .preview-action,.sticky-submit #submitdiv.closed .publishing-action,.sticky-submit #submitdiv .duplicate-action,.sticky-submit #submitdiv .save-action,.sticky-submit #submitdiv .preview-action,.sticky-submit #submitdiv .publishing-action{float:right;margin-right:10px}.sticky-submit #submitdiv.closed .do-duplicate,.sticky-submit #submitdiv .do-duplicate{margin:0}.sticky-submit.folded #submitdiv{left:36px}@media only screen and (max-width:900px){.sticky-submit.auto-fold #submitdiv{left:36px}}.sticky-submit #post-body{margin-top:75px}@media screen and (max-width:782px){.sticky-submit #submitdiv{left:0!important;top:46px!important}}@media screen and (max-width:600px){.sticky-submit #submitdiv{left:0!important;top:0!important}}.wp-toolbar .sticky-submit #submitdiv{top:32px}.wp-toolbar .sticky-submit #post-body{margin-top:105px}#submitdiv #minor-publishing-actions{text-align:left;padding:20px 10px}#submitdiv #major-publishing-actions{z-index:10;position:relative}#submitdiv .handlediv,#submitdiv .hndle{display:none}#submitdiv .preview{float:none}#submitdiv .status{float:right;position:relative;width:100px;top:-6px}#submitdiv .status>label{float:left;line-height:26px;margin-right:10px}#submitdiv .status-hint-box{float:right}#submitdiv .status-switch{width:40px;margin:0;padding:0;float:left}#submitdiv .status-switch input{position:absolute;left:-3000px;top:-3000px;display:none}#submitdiv .status-switch .label-active,#submitdiv .status-switch .label-inactive{position:absolute;top:18px;right:0;left:0;text-align:left;z-index:0;transition:all .3s}#submitdiv .status-switch .status-box{background:#AAA;border-radius:20px;height:16px;padding:0;cursor:pointer;display:block}#submitdiv .status-switch .status-box .label-active{display:none}#submitdiv .status-switch .status-box .label-inactive{display:block}#submitdiv .status-switch .status-box .indicator{width:10px;height:10px;position:absolute;left:3px;top:3px;background:#FFF;border-radius:20px;transition:right .2s,left .2s}#submitdiv .status-switch input:checked+.status-box{background:#3A3}#submitdiv .status-switch input:checked+.status-box .indicator{left:26px}#submitdiv .status-switch input:checked+.status-box .label-active{display:block}#submitdiv .status-switch input:checked+.status-box .label-inactive{display:none}#submitdiv .preview-action .spinner,#submitdiv .publishing-action .spinner,#submitdiv .save-action .spinner{float:left}#submitdiv .submitdelete.disabled{color:#AAA!important;cursor:default}#submitdiv .delete-action{line-height:28px;vertical-align:middle;text-align:left;float:left}#submitdiv .publishing-action{text-align:right;float:right;line-height:23px}#submitdiv .do-duplicate{margin:0 10px 0 0;line-height:28px;display:inline-block}.post-type-inc_popup #post #post-body-content{height:75px}.post-type-inc_popup #post .columns-2 #postbox-container-1{padding-top:75px}.post-type-inc_popup #post #normal-sortables{min-height:0}.post-type-inc_popup #post #titlediv label{font-weight:700;margin:5px 0;display:block}.post-type-inc_popup #post #titlediv #po_name{width:100%;max-width:800px}.post-type-inc_popup #post .postbox-container .postbox{clear:both}.post-type-inc_popup #post .postbox-container #meta-appearance{float:left;width:49%}@media screen and (max-width:900px){.post-type-inc_popup #post .postbox-container #meta-appearance{width:100%;float:none}}.post-type-inc_popup #post .postbox-container #meta-behavior{float:right;width:49%;clear:none}@media screen and (max-width:900px){.post-type-inc_popup #post .postbox-container #meta-behavior{width:100%;float:none}}.post-type-inc_popup #post .postbox-container #meta-content,.post-type-inc_popup #post .postbox-container #meta-rules{clear:both}.post-type-inc_popup #post .content-main{margin-right:270px;min-height:400px}.post-type-inc_popup #post .content-image{position:absolute;width:250px;top:0;right:12px}.post-type-inc_popup #post .content-image .featured-img{width:224px;height:224px;margin:10px 0;background:#F8F8F8;position:relative}.post-type-inc_popup #post .content-image .featured-img .lbl-empty{display:block;height:224px;padding-top:100px;text-align:center}.post-type-inc_popup #post .content-image .featured-img.has-image:hover .reset{display:block}.post-type-inc_popup #post .content-image img{max-width:100%;max-height:100%;margin:0 auto;display:block}.post-type-inc_popup #post .content-image .reset,.post-type-inc_popup #post .content-image .reset .dashicons{font-size:13px;text-decoration:none}.post-type-inc_popup #post .content-image .reset .dashicons{display:inline}.post-type-inc_popup #post .content-image .reset{position:absolute;display:none;z-index:10;margin-top:-36px;background:rgba(255,255,255,.85);padding:5px;height:26px;left:0;right:0;bottom:0;color:#666}.post-type-inc_popup #post .content-image .reset:hover{color:#000}.post-type-inc_popup #post .img-pos{text-align:center;margin:10px 0}.post-type-inc_popup #post .img-pos .option{display:inline-block;background:#F1F1F1;padding:12px 10px;text-align:left;margin:2px;cursor:pointer;position:relative;overflow:hidden}.post-type-inc_popup #post .img-pos .option:hover{background:#DDD}.post-type-inc_popup #post .img-pos .option .image{color:#000;padding:4px;display:inline-block;border:1px solid #666;margin:-5px;background:#FFF}.post-type-inc_popup #post .img-pos .option .image.left{margin-right:0}.post-type-inc_popup #post .img-pos .option .image.right{margin-left:0}.post-type-inc_popup #post .img-pos .option.selected{background:#0074A2;color:#FFF}.post-type-inc_popup #post .img-pos .option input{position:absolute;left:-30px;top:-30px}.post-type-inc_popup #post .add_image{padding-left:5px}.post-type-inc_popup #post .add_image .add-image-icon:before{color:#888}.post-type-inc_popup #post h3.main-content{padding-bottom:10px}.post-type-inc_popup #post .wpmui-toggle{width:40px}.post-type-inc_popup #post .wpmui-toggle-label{border:0;height:16px;background:#CCC}.post-type-inc_popup #post .wpmui-toggle-inner{display:none}.post-type-inc_popup #post .wpmui-toggle-switch{margin:3px;width:10px;height:10px;right:24px;border:0;box-shadow:none;transition:right .2s}.post-type-inc_popup #post .wpmui-toggle-checkbox:checked+.wpmui-toggle-label{background:#3A3}.post-type-inc_popup #post .wpmui-toggle-checkbox:checked+.wpmui-toggle-label .wpmui-toggle-switch{right:0}.post-type-inc_popup #post .all-rules-box,.post-type-inc_popup #post .active-rules-box{border:1px solid #E5E5E5;height:400px;padding:10px;overflow:scroll;overflow-x:hidden;overflow-y:scroll;background:#FDFDFD;box-shadow:0 1px 2px #F0F0F0 inset}.post-type-inc_popup #post .all-rules,.post-type-inc_popup #post .active-rules{list-style:none;margin:0;padding:0}.post-type-inc_popup #post .all-rules>li,.post-type-inc_popup #post .active-rules>li{padding:5px;margin:0 0 5px;line-height:20px;min-height:30px;border-radius:2px;border:1px solid #E5E5E5;background:#FEFEFE;cursor:default;position:relative}.post-type-inc_popup #post .all-rules>li:last-child,.post-type-inc_popup #post .active-rules>li:last-child{margin:0}.post-type-inc_popup #post .all-rules>li:hover,.post-type-inc_popup #post .active-rules>li:hover{border-color:#AAA;color:#000;background:#FFF;box-shadow:0 1px 3px #E9E9E9}.post-type-inc_popup #post .all-rules .wpmui-toggle,.post-type-inc_popup #post .active-rules .wpmui-toggle{margin:2px 6px}.post-type-inc_popup #post .all-rules .rule{cursor:pointer}.post-type-inc_popup #post .all-rules .rule.inactive{cursor:default}.post-type-inc_popup #post .all-rules .rule.on{background:#F7FCFE;border-color:#2EA2CC}.post-type-inc_popup #post .active-rules .rule.off{display:none!important}.post-type-inc_popup #post .active-rules .rule-title{background:#E5E5E5;padding:5px;margin:-5px;cursor:pointer}.post-type-inc_popup #post .active-rules .rule-toggle{position:absolute;right:0;top:0;width:30px;height:30px;cursor:pointer;border-left:1px solid #DCDCDC}.post-type-inc_popup #post .active-rules .rule-toggle:before{content:'\f140';line-height:30px;color:#333}.post-type-inc_popup #post .active-rules .rule.open .rule-toggle:before{content:'\f142'}.post-type-inc_popup #post .active-rules .rule-inner{display:none;margin-top:10px;padding:3px}.post-type-inc_popup #post .active-rules .rule-form{margin-top:5px;padding-top:5px}.post-type-inc_popup #post .active-rules .rule.open .rule-inner{display:block}.post-type-inc_popup #post .col-colorpicker{width:41.66%;min-width:260px;margin-bottom:10px}.post-type-inc_popup #post .wp-picker-container{width:260px}.post-type-inc_popup #post .wp-picker-container *{box-sizing:content-box}.post-type-inc_popup #post .wp-picker-container .wp-picker-holder{position:absolute;z-index:10}.post-type-inc_popup #post .wp-picker-container .iris-picker{box-shadow:0 1px 5px rgba(0,0,0,.2)}.post-type-inc_popup #post hr{margin:16px -12px 6px;border-top:0;border-bottom:1px solid #EEE}.post-type-inc_popup #post .col-all-rules{width:320px}.post-type-inc_popup #post .col-active-rules{float:none;display:block}.post-type-inc_popup #post .wpmui-toggle{float:right;margin:6px}.post-type-inc_popup #post .slider-wrap .slider{margin:15px 10px 5px}.post-type-inc_popup #post .slider-wrap .slider-data{padding-bottom:10px;border-bottom:1px solid #EEE}#poststuff .postbox label h3{border:0;padding:0;cursor:default}.ui-slider{position:relative;text-align:left}.ui-slider .ui-slider-handle{position:absolute;z-index:2;width:1.2em;height:1.2em;cursor:default;-ms-touch-action:none;touch-action:none}.ui-slider .ui-slider-range{position:absolute;z-index:1;font-size:.7em;display:block;border:0;background-position:0 0}.ui-slider.ui-state-disabled .ui-slider-handle,.ui-slider.ui-state-disabled .ui-slider-range{-webkit-filter:inherit;filter:inherit}.ui-slider-horizontal{height:.8em}.ui-slider-horizontal .ui-slider-handle{top:-.3em;margin-left:-.6em}.ui-slider-horizontal .ui-slider-range{top:0;height:100%}.ui-slider-horizontal .ui-slider-range-min{left:0}.ui-slider-horizontal .ui-slider-range-max{right:0}.ui-slider-vertical{width:.8em;height:100px}.ui-slider-vertical .ui-slider-handle{left:-.3em;margin-left:0;margin-bottom:-.6em}.ui-slider-vertical .ui-slider-range{left:0;width:100%}.ui-slider-vertical .ui-slider-range-min{bottom:0}.ui-slider-vertical .ui-slider-range-max{top:0}.ui-widget{font-family:Verdana,Arial,sans-serif;font-size:1.1em}.ui-widget .ui-widget{font-size:1em}.ui-widget input,.ui-widget select,.ui-widget textarea,.ui-widget button{font-family:Verdana,Arial,sans-serif;font-size:1em}.ui-widget-content{border:1px solid #aaa;background:#fff;color:#222}.ui-widget-content a{color:#222}.ui-widget-header{border:1px solid #aaa;background:#ccc;color:#222;font-weight:700}.ui-widget-header a{color:#222}.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default{border:1px solid #d3d3d3;background:#e6e6e6;font-weight:400;color:#555}.ui-state-default a,.ui-state-default a:link,.ui-state-default a:visited{color:#555;text-decoration:none}.ui-state-hover,.ui-widget-content .ui-state-hover,.ui-widget-header .ui-state-hover,.ui-state-focus,.ui-widget-content .ui-state-focus,.ui-widget-header .ui-state-focus{border:1px solid #999;background:#dadada;font-weight:400;color:#212121}.ui-state-hover a,.ui-state-hover a:hover,.ui-state-hover a:link,.ui-state-hover a:visited,.ui-state-focus a,.ui-state-focus a:hover,.ui-state-focus a:link,.ui-state-focus a:visited{color:#212121;text-decoration:none}.ui-state-active,.ui-widget-content .ui-state-active,.ui-widget-header .ui-state-active{border:1px solid #aaa;background:#fff;font-weight:400;color:#212121}.ui-state-active a,.ui-state-active a:link,.ui-state-active a:visited{color:#212121;text-decoration:none}.ui-state-highlight,.ui-widget-content .ui-state-highlight,.ui-widget-header .ui-state-highlight{border:1px solid #fcefa1;background:#fbf9ee;color:#363636}.ui-state-highlight a,.ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a{color:#363636}.ui-state-error,.ui-widget-content .ui-state-error,.ui-widget-header .ui-state-error{border:1px solid #cd0a0a;background:#fef1ec;color:#cd0a0a}.ui-state-error a,.ui-widget-content .ui-state-error a,.ui-widget-header .ui-state-error a{color:#cd0a0a}.ui-state-error-text,.ui-widget-content .ui-state-error-text,.ui-widget-header .ui-state-error-text{color:#cd0a0a}.ui-priority-primary,.ui-widget-content .ui-priority-primary,.ui-widget-header .ui-priority-primary{font-weight:700}.ui-priority-secondary,.ui-widget-content .ui-priority-secondary,.ui-widget-header .ui-priority-secondary{opacity:.7;filter:Alpha(Opacity=70);font-weight:400}.ui-state-disabled,.ui-widget-content .ui-state-disabled,.ui-widget-header .ui-state-disabled{opacity:.35;filter:Alpha(Opacity=35);background-image:none}.ui-state-disabled .ui-icon{filter:Alpha(Opacity=35)}.pro-icon{display:inline-block;width:20px;height:20px;font-size:20px;line-height:1;font-family:dashicons;text-decoration:inherit;font-weight:400;font-style:normal;vertical-align:top;text-align:center;transition:color .1s ease-in 0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#DBA901;margin-left:-2px;margin-right:4px;transition:opacity .2s}.pro-icon:before{content:"\f160"}.pro-only{position:relative;margin:3px 0;clear:both}.pro-only:after{content:' ';display:table;clear:both}.pro-only .pro-note{opacity:0;position:absolute;top:-3px;left:-3px;right:-3px;bottom:-3px;background:rgba(0,0,0,.6);color:#FFF;font-family:"Source Sans Pro","Open Sans",sans-serif;font-weight:100;font-size:20px;z-index:9999;transition:opacity .2s}.pro-only .pro-note .text{position:absolute;left:0;right:0;top:50%;margin-top:-20px;height:40px;line-height:40px;text-align:center}.pro-only .pro-note .pro-icon{position:absolute;font-size:64px;left:10px;top:50%;margin-top:-32px;opacity:.6}.pro-only .pro-note a{color:#7ed321}.pro-only:hover .pro-note{opacity:1}.pro-only:hover .pro-note .pro-icon{opacity:.6}.pro-only:hover .pro-icon{opacity:.3}
|
css/tpl/simple/style.css
CHANGED
@@ -40,11 +40,30 @@
|
|
40 |
#messagebox.custom-size {
|
41 |
padding: 0;
|
42 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
43 |
#messagebox.custom-pos .wdpu-msg {
|
44 |
position: absolute;
|
45 |
display: inline-block;
|
46 |
margin: 0 0 30px;
|
47 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
48 |
#messagebox .wdpu-msg {
|
49 |
position: relative;
|
50 |
display: block;
|
40 |
#messagebox.custom-size {
|
41 |
padding: 0;
|
42 |
}
|
43 |
+
#messagebox.inline {
|
44 |
+
position: relative;
|
45 |
+
overflow: visible;
|
46 |
+
background: transparent;
|
47 |
+
padding: 0;
|
48 |
+
}
|
49 |
+
#messagebox.inline .wdpu-msg {
|
50 |
+
max-width: 100%;
|
51 |
+
margin: 0;
|
52 |
+
}
|
53 |
#messagebox.custom-pos .wdpu-msg {
|
54 |
position: absolute;
|
55 |
display: inline-block;
|
56 |
margin: 0 0 30px;
|
57 |
}
|
58 |
+
#messagebox.no-title.no-subtitle .wdpu-head {
|
59 |
+
display: none;
|
60 |
+
}
|
61 |
+
#messagebox.no-title .wdpu-title {
|
62 |
+
display: none;
|
63 |
+
}
|
64 |
+
#messagebox.no-subtitle .wdpu-subtitle {
|
65 |
+
display: none;
|
66 |
+
}
|
67 |
#messagebox .wdpu-msg {
|
68 |
position: relative;
|
69 |
display: block;
|
css/tpl/simple/template.php
CHANGED
@@ -2,143 +2,63 @@
|
|
2 |
/**
|
3 |
* File is included inside an IncPopupItem object.
|
4 |
* All variables of the object are available in this template.
|
5 |
-
*/
|
6 |
-
|
7 |
-
$has_title = ! empty( $this->title );
|
8 |
-
$has_subtitle = ! empty( $this->subtitle );
|
9 |
-
$has_cta = ! empty( $this->cta_label ) && ! empty( $this->cta_link );
|
10 |
-
$has_img = ! empty( $this->image );
|
11 |
-
$has_buttons = $has_cta || $this->can_hide;
|
12 |
-
|
13 |
-
if ( ! $this->image_mobile && wp_is_mobile() ) { $has_img = false; }
|
14 |
-
|
15 |
-
$msg_class = '';
|
16 |
-
if ( $has_img ) {
|
17 |
-
$img_left = ($this->image_pos == 'left');
|
18 |
-
$msg_class .= 'img-' . $this->image_pos . ' ';
|
19 |
-
} else {
|
20 |
-
$msg_class .= 'no-img ';
|
21 |
-
}
|
22 |
-
if ( $this->is_preview ) {
|
23 |
-
$msg_class .= 'preview ';
|
24 |
-
if ( ! $this->image_mobile ) {
|
25 |
-
$msg_class .= 'mobile-no-img ';
|
26 |
-
}
|
27 |
-
}
|
28 |
-
if ( $has_buttons ) {
|
29 |
-
$msg_class .= 'buttons ';
|
30 |
-
}
|
31 |
-
if ( $this->round_corners ) { $msg_class .= 'rounded '; }
|
32 |
-
if ( $this->custom_size ) { $msg_class .= 'custom-size '; }
|
33 |
-
$msg_class .= 'wdpu-' . $this->id . ' ';
|
34 |
-
|
35 |
-
$move_class = '';
|
36 |
-
|
37 |
-
/**
|
38 |
-
* Allow users to manually position a Pop-up.
|
39 |
-
* Return value should be an array that defines either left/right/top/bottom.
|
40 |
-
* Important: Filter is only used when PopUp uses a custom size!
|
41 |
*
|
42 |
-
*
|
43 |
-
*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
44 |
*
|
45 |
-
*
|
46 |
-
*
|
|
|
|
|
|
|
|
|
|
|
47 |
*/
|
48 |
-
$pos = false;
|
49 |
-
$pos_style = '';
|
50 |
-
if ( $this->custom_size ) {
|
51 |
-
$pos = apply_filters( 'popup-template-position', $pos, $this->id, $this );
|
52 |
-
|
53 |
-
if ( is_array( $pos ) ) {
|
54 |
-
$pos_style .= 'position:absolute;';
|
55 |
-
$msg_class .= 'custom-pos ';
|
56 |
-
|
57 |
-
if ( isset( $pos['left'] ) || isset( $pos['right'] ) ) {
|
58 |
-
isset( $pos['left'] ) && $pos_style .= 'left:' . $pos['left'] . ';';
|
59 |
-
isset( $pos['right'] ) && $pos_style .= 'right:' . $pos['right'] . ';';
|
60 |
-
$move_class .= 'no-move-x ';
|
61 |
-
$pos_style .= 'margin-left:0;margin-right:0;';
|
62 |
-
}
|
63 |
-
if ( isset( $pos['top'] ) || isset( $pos['bottom'] ) ) {
|
64 |
-
isset( $pos['top'] ) && $pos_style .= 'top:' . $pos['top'] . ';';
|
65 |
-
isset( $pos['bottom'] ) && $pos_style .= 'bottom:' . $pos['bottom'] . ';';
|
66 |
-
$move_class .= 'no-move-y ';
|
67 |
-
$pos_style .= 'margin-top:0;margin-bottom:0;';
|
68 |
-
}
|
69 |
-
} else {
|
70 |
-
$move_class = 'no-move-x ';
|
71 |
-
}
|
72 |
-
} else {
|
73 |
-
$move_class = 'no-move-x ';
|
74 |
-
}
|
75 |
-
|
76 |
-
/**
|
77 |
-
* Allow users to add a custom CSS class to the Pop-up.
|
78 |
-
*
|
79 |
-
* @var string
|
80 |
-
* @since 4.6.1.2
|
81 |
-
*/
|
82 |
-
$msg_class .= apply_filters( 'popup-template-class', '', $this->id, $this );
|
83 |
|
84 |
?>
|
85 |
-
<div id="
|
86 |
-
class="
|
87 |
-
style="display: none;">
|
88 |
|
89 |
-
<div class="wdpu-msg resize move <?php echo esc_attr( $move_class ); ?>" style="<?php echo esc_attr( $pos_style ); ?>">
|
90 |
<a href="#" class="wdpu-close" title="<?php _e( 'Close this box', PO_LANG ); ?>"></a>
|
91 |
|
92 |
<div class="wdpu-msg-inner resize">
|
93 |
-
<?php if ( $
|
94 |
-
<div class="wdpu-image">
|
95 |
-
<img src="<?php echo esc_url( $this->image ); ?>" />
|
96 |
-
</div>
|
97 |
<?php endif; ?>
|
98 |
|
99 |
<div class="wdpu-text">
|
100 |
<div class="wdpu-inner <?php if ( ! $has_buttons ) { echo esc_attr( 'no-bm' ); } ?>">
|
101 |
-
|
102 |
-
<div class="wdpu-
|
103 |
-
|
104 |
-
<div class="wdpu-title">
|
105 |
-
<?php echo esc_html( $this->title ); ?>
|
106 |
-
</div>
|
107 |
-
<?php endif; ?>
|
108 |
-
<?php if ( $has_subtitle ) : ?>
|
109 |
-
<div class="wdpu-subtitle">
|
110 |
-
<?php echo esc_html( $this->subtitle ); ?>
|
111 |
-
</div>
|
112 |
-
<?php endif; ?>
|
113 |
-
</div>
|
114 |
-
<?php endif; ?>
|
115 |
-
<div class="wdpu-content">
|
116 |
-
<?php echo '' . apply_filters( 'the_content', $this->content ); ?>
|
117 |
</div>
|
|
|
118 |
</div>
|
119 |
|
120 |
<?php if ( $has_buttons ) : ?>
|
121 |
<div class="wdpu-buttons">
|
122 |
-
|
123 |
-
|
124 |
-
<?php echo esc_html( $this->cta_label ); ?>
|
125 |
-
</a>
|
126 |
-
<?php endif; ?>
|
127 |
-
|
128 |
-
<?php if ( $this->can_hide ) : ?>
|
129 |
-
<a href="#" class="wdpu-hide-forever">
|
130 |
-
<?php _e( 'Never see this message again.', PO_LANG ); ?>
|
131 |
-
</a>
|
132 |
-
<?php endif; ?>
|
133 |
</div>
|
134 |
<?php endif; ?>
|
135 |
</div>
|
136 |
|
137 |
-
<?php if ( $
|
138 |
-
<div class="wdpu-image">
|
139 |
-
<img src="<?php echo esc_url( $this->image ); ?>" />
|
140 |
-
</div>
|
141 |
<?php endif; ?>
|
142 |
</div>
|
|
|
143 |
</div>
|
144 |
</div>
|
2 |
/**
|
3 |
* File is included inside an IncPopupItem object.
|
4 |
* All variables of the object are available in this template.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
*
|
6 |
+
* Placeholders:
|
7 |
+
* %color1% .. PopUp Color-1
|
8 |
+
* %color2% .. PopUp Color-2
|
9 |
+
* %id% .. Random PopUp-ID (changes on every request)
|
10 |
+
* %title% .. PopUp Title
|
11 |
+
* %subtitle% .. PopUp Subtitle
|
12 |
+
* %img_url% .. Feature-Image URL
|
13 |
+
* %content% .. PopUp Contents (with parsed shortcodes)
|
14 |
+
* %cta_button% .. Full CTA button tag
|
15 |
+
* %hide_forever% .. Full Hide-Forver button tag
|
16 |
+
* %outer_class% .. CSS classes (contains style-name and popup-ID)
|
17 |
+
* %inner_class% .. CSS classes
|
18 |
+
* %outer_style% .. CSS style tag contents
|
19 |
+
* %inner_style% .. CSS style tag contents
|
20 |
*
|
21 |
+
* Additional Variables
|
22 |
+
* $has_title .. Bool
|
23 |
+
* $has_subtitle .. Bool
|
24 |
+
* $has_cta .. Bool
|
25 |
+
* $img_is_left .. Bool
|
26 |
+
* $img_is_right .. Bool
|
27 |
+
* $has_buttons .. Bool
|
28 |
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
|
30 |
?>
|
31 |
+
<div id="%id%" class="%outer_class%" style="%outer_style%">
|
32 |
+
<div class="resize %inner_class%" style="%inner_style%">
|
|
|
33 |
|
|
|
34 |
<a href="#" class="wdpu-close" title="<?php _e( 'Close this box', PO_LANG ); ?>"></a>
|
35 |
|
36 |
<div class="wdpu-msg-inner resize">
|
37 |
+
<?php if ( $img_is_left ) : ?>
|
38 |
+
<div class="wdpu-image"><img src="%img_url%" /></div>
|
|
|
|
|
39 |
<?php endif; ?>
|
40 |
|
41 |
<div class="wdpu-text">
|
42 |
<div class="wdpu-inner <?php if ( ! $has_buttons ) { echo esc_attr( 'no-bm' ); } ?>">
|
43 |
+
<div class="wdpu-head">
|
44 |
+
<div class="wdpu-title">%title%</div>
|
45 |
+
<div class="wdpu-subtitle">%subtitle%</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
46 |
</div>
|
47 |
+
<div class="wdpu-content">%content%</div>
|
48 |
</div>
|
49 |
|
50 |
<?php if ( $has_buttons ) : ?>
|
51 |
<div class="wdpu-buttons">
|
52 |
+
%cta_button%
|
53 |
+
%hide_forever%
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
54 |
</div>
|
55 |
<?php endif; ?>
|
56 |
</div>
|
57 |
|
58 |
+
<?php if ( $img_is_right ) : ?>
|
59 |
+
<div class="wdpu-image"><img src="%img_url%" /></div>
|
|
|
|
|
60 |
<?php endif; ?>
|
61 |
</div>
|
62 |
+
|
63 |
</div>
|
64 |
</div>
|
css/vendor/animate.scss
ADDED
@@ -0,0 +1,3159 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
@charset "UTF-8";
|
2 |
+
/*!
|
3 |
+
Animate.css - http://daneden.me/animate
|
4 |
+
Licensed under the MIT license - http://opensource.org/licenses/MIT
|
5 |
+
|
6 |
+
Copyright (c) 2014 Daniel Eden
|
7 |
+
https://raw.githubusercontent.com/daneden/animate.css/master/animate.css
|
8 |
+
*/
|
9 |
+
|
10 |
+
.animated {
|
11 |
+
-webkit-animation-duration: 1s;
|
12 |
+
animation-duration: 1s;
|
13 |
+
-webkit-animation-fill-mode: both;
|
14 |
+
animation-fill-mode: both;
|
15 |
+
}
|
16 |
+
|
17 |
+
.animated.infinite {
|
18 |
+
-webkit-animation-iteration-count: infinite;
|
19 |
+
animation-iteration-count: infinite;
|
20 |
+
}
|
21 |
+
|
22 |
+
.animated.hinge {
|
23 |
+
-webkit-animation-duration: 2s;
|
24 |
+
animation-duration: 2s;
|
25 |
+
}
|
26 |
+
|
27 |
+
@-webkit-keyframes bounce {
|
28 |
+
0%, 20%, 53%, 80%, 100% {
|
29 |
+
-webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
|
30 |
+
transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
|
31 |
+
-webkit-transform: translate3d(0,0,0);
|
32 |
+
transform: translate3d(0,0,0);
|
33 |
+
}
|
34 |
+
|
35 |
+
40%, 43% {
|
36 |
+
-webkit-transition-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
|
37 |
+
transition-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
|
38 |
+
-webkit-transform: translate3d(0, -30px, 0);
|
39 |
+
transform: translate3d(0, -30px, 0);
|
40 |
+
}
|
41 |
+
|
42 |
+
70% {
|
43 |
+
-webkit-transition-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
|
44 |
+
transition-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
|
45 |
+
-webkit-transform: translate3d(0, -15px, 0);
|
46 |
+
transform: translate3d(0, -15px, 0);
|
47 |
+
}
|
48 |
+
|
49 |
+
90% {
|
50 |
+
-webkit-transform: translate3d(0,-4px,0);
|
51 |
+
transform: translate3d(0,-4px,0);
|
52 |
+
}
|
53 |
+
}
|
54 |
+
|
55 |
+
@keyframes bounce {
|
56 |
+
0%, 20%, 53%, 80%, 100% {
|
57 |
+
-webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
|
58 |
+
transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
|
59 |
+
-webkit-transform: translate3d(0,0,0);
|
60 |
+
transform: translate3d(0,0,0);
|
61 |
+
}
|
62 |
+
|
63 |
+
40%, 43% {
|
64 |
+
-webkit-transition-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
|
65 |
+
transition-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
|
66 |
+
-webkit-transform: translate3d(0, -30px, 0);
|
67 |
+
transform: translate3d(0, -30px, 0);
|
68 |
+
}
|
69 |
+
|
70 |
+
70% {
|
71 |
+
-webkit-transition-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
|
72 |
+
transition-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
|
73 |
+
-webkit-transform: translate3d(0, -15px, 0);
|
74 |
+
transform: translate3d(0, -15px, 0);
|
75 |
+
}
|
76 |
+
|
77 |
+
90% {
|
78 |
+
-webkit-transform: translate3d(0,-4px,0);
|
79 |
+
transform: translate3d(0,-4px,0);
|
80 |
+
}
|
81 |
+
}
|
82 |
+
|
83 |
+
.bounce {
|
84 |
+
-webkit-animation-name: bounce;
|
85 |
+
animation-name: bounce;
|
86 |
+
-webkit-transform-origin: center bottom;
|
87 |
+
-ms-transform-origin: center bottom;
|
88 |
+
transform-origin: center bottom;
|
89 |
+
}
|
90 |
+
|
91 |
+
@-webkit-keyframes flash {
|
92 |
+
0%, 50%, 100% {
|
93 |
+
opacity: 1;
|
94 |
+
}
|
95 |
+
|
96 |
+
25%, 75% {
|
97 |
+
opacity: 0;
|
98 |
+
}
|
99 |
+
}
|
100 |
+
|
101 |
+
@keyframes flash {
|
102 |
+
0%, 50%, 100% {
|
103 |
+
opacity: 1;
|
104 |
+
}
|
105 |
+
|
106 |
+
25%, 75% {
|
107 |
+
opacity: 0;
|
108 |
+
}
|
109 |
+
}
|
110 |
+
|
111 |
+
.flash {
|
112 |
+
-webkit-animation-name: flash;
|
113 |
+
animation-name: flash;
|
114 |
+
}
|
115 |
+
|
116 |
+
/* originally authored by Nick Pettit - https://github.com/nickpettit/glide */
|
117 |
+
|
118 |
+
@-webkit-keyframes pulse {
|
119 |
+
0% {
|
120 |
+
-webkit-transform: scale3d(1, 1, 1);
|
121 |
+
transform: scale3d(1, 1, 1);
|
122 |
+
}
|
123 |
+
|
124 |
+
50% {
|
125 |
+
-webkit-transform: scale3d(1.05, 1.05, 1.05);
|
126 |
+
transform: scale3d(1.05, 1.05, 1.05);
|
127 |
+
}
|
128 |
+
|
129 |
+
100% {
|
130 |
+
-webkit-transform: scale3d(1, 1, 1);
|
131 |
+
transform: scale3d(1, 1, 1);
|
132 |
+
}
|
133 |
+
}
|
134 |
+
|
135 |
+
@keyframes pulse {
|
136 |
+
0% {
|
137 |
+
-webkit-transform: scale3d(1, 1, 1);
|
138 |
+
transform: scale3d(1, 1, 1);
|
139 |
+
}
|
140 |
+
|
141 |
+
50% {
|
142 |
+
-webkit-transform: scale3d(1.05, 1.05, 1.05);
|
143 |
+
transform: scale3d(1.05, 1.05, 1.05);
|
144 |
+
}
|
145 |
+
|
146 |
+
100% {
|
147 |
+
-webkit-transform: scale3d(1, 1, 1);
|
148 |
+
transform: scale3d(1, 1, 1);
|
149 |
+
}
|
150 |
+
}
|
151 |
+
|
152 |
+
.pulse {
|
153 |
+
-webkit-animation-name: pulse;
|
154 |
+
animation-name: pulse;
|
155 |
+
}
|
156 |
+
|
157 |
+
@-webkit-keyframes rubberBand {
|
158 |
+
0% {
|
159 |
+
-webkit-transform: scale3d(1, 1, 1);
|
160 |
+
transform: scale3d(1, 1, 1);
|
161 |
+
}
|
162 |
+
|
163 |
+
30% {
|
164 |
+
-webkit-transform: scale3d(1.25, 0.75, 1);
|
165 |
+
transform: scale3d(1.25, 0.75, 1);
|
166 |
+
}
|
167 |
+
|
168 |
+
40% {
|
169 |
+
-webkit-transform: scale3d(0.75, 1.25, 1);
|
170 |
+
transform: scale3d(0.75, 1.25, 1);
|
171 |
+
}
|
172 |
+
|
173 |
+
50% {
|
174 |
+
-webkit-transform: scale3d(1.15, 0.85, 1);
|
175 |
+
transform: scale3d(1.15, 0.85, 1);
|
176 |
+
}
|
177 |
+
|
178 |
+
65% {
|
179 |
+
-webkit-transform: scale3d(.95, 1.05, 1);
|
180 |
+
transform: scale3d(.95, 1.05, 1);
|
181 |
+
}
|
182 |
+
|
183 |
+
75% {
|
184 |
+
-webkit-transform: scale3d(1.05, .95, 1);
|
185 |
+
transform: scale3d(1.05, .95, 1);
|
186 |
+
}
|
187 |
+
|
188 |
+
100% {
|
189 |
+
-webkit-transform: scale3d(1, 1, 1);
|
190 |
+
transform: scale3d(1, 1, 1);
|
191 |
+
}
|
192 |
+
}
|
193 |
+
|
194 |
+
@keyframes rubberBand {
|
195 |
+
0% {
|
196 |
+
-webkit-transform: scale3d(1, 1, 1);
|
197 |
+
transform: scale3d(1, 1, 1);
|
198 |
+
}
|
199 |
+
|
200 |
+
30% {
|
201 |
+
-webkit-transform: scale3d(1.25, 0.75, 1);
|
202 |
+
transform: scale3d(1.25, 0.75, 1);
|
203 |
+
}
|
204 |
+
|
205 |
+
40% {
|
206 |
+
-webkit-transform: scale3d(0.75, 1.25, 1);
|
207 |
+
transform: scale3d(0.75, 1.25, 1);
|
208 |
+
}
|
209 |
+
|
210 |
+
50% {
|
211 |
+
-webkit-transform: scale3d(1.15, 0.85, 1);
|
212 |
+
transform: scale3d(1.15, 0.85, 1);
|
213 |
+
}
|
214 |
+
|
215 |
+
65% {
|
216 |
+
-webkit-transform: scale3d(.95, 1.05, 1);
|
217 |
+
transform: scale3d(.95, 1.05, 1);
|
218 |
+
}
|
219 |
+
|
220 |
+
75% {
|
221 |
+
-webkit-transform: scale3d(1.05, .95, 1);
|
222 |
+
transform: scale3d(1.05, .95, 1);
|
223 |
+
}
|
224 |
+
|
225 |
+
100% {
|
226 |
+
-webkit-transform: scale3d(1, 1, 1);
|
227 |
+
transform: scale3d(1, 1, 1);
|
228 |
+
}
|
229 |
+
}
|
230 |
+
|
231 |
+
.rubberBand {
|
232 |
+
-webkit-animation-name: rubberBand;
|
233 |
+
animation-name: rubberBand;
|
234 |
+
}
|
235 |
+
|
236 |
+
@-webkit-keyframes shake {
|
237 |
+
0%, 100% {
|
238 |
+
-webkit-transform: translate3d(0, 0, 0);
|
239 |
+
transform: translate3d(0, 0, 0);
|
240 |
+
}
|
241 |
+
|
242 |
+
10%, 30%, 50%, 70%, 90% {
|
243 |
+
-webkit-transform: translate3d(-10px, 0, 0);
|
244 |
+
transform: translate3d(-10px, 0, 0);
|
245 |
+
}
|
246 |
+
|
247 |
+
20%, 40%, 60%, 80% {
|
248 |
+
-webkit-transform: translate3d(10px, 0, 0);
|
249 |
+
transform: translate3d(10px, 0, 0);
|
250 |
+
}
|
251 |
+
}
|
252 |
+
|
253 |
+
@keyframes shake {
|
254 |
+
0%, 100% {
|
255 |
+
-webkit-transform: translate3d(0, 0, 0);
|
256 |
+
transform: translate3d(0, 0, 0);
|
257 |
+
}
|
258 |
+
|
259 |
+
10%, 30%, 50%, 70%, 90% {
|
260 |
+
-webkit-transform: translate3d(-10px, 0, 0);
|
261 |
+
transform: translate3d(-10px, 0, 0);
|
262 |
+
}
|
263 |
+
|
264 |
+
20%, 40%, 60%, 80% {
|
265 |
+
-webkit-transform: translate3d(10px, 0, 0);
|
266 |
+
transform: translate3d(10px, 0, 0);
|
267 |
+
}
|
268 |
+
}
|
269 |
+
|
270 |
+
.shake {
|
271 |
+
-webkit-animation-name: shake;
|
272 |
+
animation-name: shake;
|
273 |
+
}
|
274 |
+
|
275 |
+
@-webkit-keyframes swing {
|
276 |
+
20% {
|
277 |
+
-webkit-transform: rotate3d(0, 0, 1, 15deg);
|
278 |
+
transform: rotate3d(0, 0, 1, 15deg);
|
279 |
+
}
|
280 |
+
|
281 |
+
40% {
|
282 |
+
-webkit-transform: rotate3d(0, 0, 1, -10deg);
|
283 |
+
transform: rotate3d(0, 0, 1, -10deg);
|
284 |
+
}
|
285 |
+
|
286 |
+
60% {
|
287 |
+
-webkit-transform: rotate3d(0, 0, 1, 5deg);
|
288 |
+
transform: rotate3d(0, 0, 1, 5deg);
|
289 |
+
}
|
290 |
+
|
291 |
+
80% {
|
292 |
+
-webkit-transform: rotate3d(0, 0, 1, -5deg);
|
293 |
+
transform: rotate3d(0, 0, 1, -5deg);
|
294 |
+
}
|
295 |
+
|
296 |
+
100% {
|
297 |
+
-webkit-transform: rotate3d(0, 0, 1, 0deg);
|
298 |
+
transform: rotate3d(0, 0, 1, 0deg);
|
299 |
+
}
|
300 |
+
}
|
301 |
+
|
302 |
+
@keyframes swing {
|
303 |
+
20% {
|
304 |
+
-webkit-transform: rotate3d(0, 0, 1, 15deg);
|
305 |
+
transform: rotate3d(0, 0, 1, 15deg);
|
306 |
+
}
|
307 |
+
|
308 |
+
40% {
|
309 |
+
-webkit-transform: rotate3d(0, 0, 1, -10deg);
|
310 |
+
transform: rotate3d(0, 0, 1, -10deg);
|
311 |
+
}
|
312 |
+
|
313 |
+
60% {
|
314 |
+
-webkit-transform: rotate3d(0, 0, 1, 5deg);
|
315 |
+
transform: rotate3d(0, 0, 1, 5deg);
|
316 |
+
}
|
317 |
+
|
318 |
+
80% {
|
319 |
+
-webkit-transform: rotate3d(0, 0, 1, -5deg);
|
320 |
+
transform: rotate3d(0, 0, 1, -5deg);
|
321 |
+
}
|
322 |
+
|
323 |
+
100% {
|
324 |
+
-webkit-transform: rotate3d(0, 0, 1, 0deg);
|
325 |
+
transform: rotate3d(0, 0, 1, 0deg);
|
326 |
+
}
|
327 |
+
}
|
328 |
+
|
329 |
+
.swing {
|
330 |
+
-webkit-transform-origin: top center;
|
331 |
+
-ms-transform-origin: top center;
|
332 |
+
transform-origin: top center;
|
333 |
+
-webkit-animation-name: swing;
|
334 |
+
animation-name: swing;
|
335 |
+
}
|
336 |
+
|
337 |
+
@-webkit-keyframes tada {
|
338 |
+
0% {
|
339 |
+
-webkit-transform: scale3d(1, 1, 1);
|
340 |
+
transform: scale3d(1, 1, 1);
|
341 |
+
}
|
342 |
+
|
343 |
+
10%, 20% {
|
344 |
+
-webkit-transform: scale3d(.9, .9, .9) rotate3d(0, 0, 1, -3deg);
|
345 |
+
transform: scale3d(.9, .9, .9) rotate3d(0, 0, 1, -3deg);
|
346 |
+
}
|
347 |
+
|
348 |
+
30%, 50%, 70%, 90% {
|
349 |
+
-webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
|
350 |
+
transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
|
351 |
+
}
|
352 |
+
|
353 |
+
40%, 60%, 80% {
|
354 |
+
-webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
|
355 |
+
transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
|
356 |
+
}
|
357 |
+
|
358 |
+
100% {
|
359 |
+
-webkit-transform: scale3d(1, 1, 1);
|
360 |
+
transform: scale3d(1, 1, 1);
|
361 |
+
}
|
362 |
+
}
|
363 |
+
|
364 |
+
@keyframes tada {
|
365 |
+
0% {
|
366 |
+
-webkit-transform: scale3d(1, 1, 1);
|
367 |
+
transform: scale3d(1, 1, 1);
|
368 |
+
}
|
369 |
+
|
370 |
+
10%, 20% {
|
371 |
+
-webkit-transform: scale3d(.9, .9, .9) rotate3d(0, 0, 1, -3deg);
|
372 |
+
transform: scale3d(.9, .9, .9) rotate3d(0, 0, 1, -3deg);
|
373 |
+
}
|
374 |
+
|
375 |
+
30%, 50%, 70%, 90% {
|
376 |
+
-webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
|
377 |
+
transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
|
378 |
+
}
|
379 |
+
|
380 |
+
40%, 60%, 80% {
|
381 |
+
-webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
|
382 |
+
transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
|
383 |
+
}
|
384 |
+
|
385 |
+
100% {
|
386 |
+
-webkit-transform: scale3d(1, 1, 1);
|
387 |
+
transform: scale3d(1, 1, 1);
|
388 |
+
}
|
389 |
+
}
|
390 |
+
|
391 |
+
.tada {
|
392 |
+
-webkit-animation-name: tada;
|
393 |
+
animation-name: tada;
|
394 |
+
}
|
395 |
+
|
396 |
+
/* originally authored by Nick Pettit - https://github.com/nickpettit/glide */
|
397 |
+
|
398 |
+
@-webkit-keyframes wobble {
|
399 |
+
0% {
|
400 |
+
-webkit-transform: none;
|
401 |
+
transform: none;
|
402 |
+
}
|
403 |
+
|
404 |
+
15% {
|
405 |
+
-webkit-transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg);
|
406 |
+
transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg);
|
407 |
+
}
|
408 |
+
|
409 |
+
30% {
|
410 |
+
-webkit-transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg);
|
411 |
+
transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg);
|
412 |
+
}
|
413 |
+
|
414 |
+
45% {
|
415 |
+
-webkit-transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg);
|
416 |
+
transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg);
|
417 |
+
}
|
418 |
+
|
419 |
+
60% {
|
420 |
+
-webkit-transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg);
|
421 |
+
transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg);
|
422 |
+
}
|
423 |
+
|
424 |
+
75% {
|
425 |
+
-webkit-transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg);
|
426 |
+
transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg);
|
427 |
+
}
|
428 |
+
|
429 |
+
100% {
|
430 |
+
-webkit-transform: none;
|
431 |
+
transform: none;
|
432 |
+
}
|
433 |
+
}
|
434 |
+
|
435 |
+
@keyframes wobble {
|
436 |
+
0% {
|
437 |
+
-webkit-transform: none;
|
438 |
+
transform: none;
|
439 |
+
}
|
440 |
+
|
441 |
+
15% {
|
442 |
+
-webkit-transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg);
|
443 |
+
transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg);
|
444 |
+
}
|
445 |
+
|
446 |
+
30% {
|
447 |
+
-webkit-transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg);
|
448 |
+
transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg);
|
449 |
+
}
|
450 |
+
|
451 |
+
45% {
|
452 |
+
-webkit-transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg);
|
453 |
+
transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg);
|
454 |
+
}
|
455 |
+
|
456 |
+
60% {
|
457 |
+
-webkit-transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg);
|
458 |
+
transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg);
|
459 |
+
}
|
460 |
+
|
461 |
+
75% {
|
462 |
+
-webkit-transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg);
|
463 |
+
transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg);
|
464 |
+
}
|
465 |
+
|
466 |
+
100% {
|
467 |
+
-webkit-transform: none;
|
468 |
+
transform: none;
|
469 |
+
}
|
470 |
+
}
|
471 |
+
|
472 |
+
.wobble {
|
473 |
+
-webkit-animation-name: wobble;
|
474 |
+
animation-name: wobble;
|
475 |
+
}
|
476 |
+
|
477 |
+
@-webkit-keyframes bounceIn {
|
478 |
+
0%, 20%, 40%, 60%, 80%, 100% {
|
479 |
+
-webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
|
480 |
+
transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
|
481 |
+
}
|
482 |
+
|
483 |
+
0% {
|
484 |
+
opacity: 0;
|
485 |
+
-webkit-transform: scale3d(.3, .3, .3);
|
486 |
+
transform: scale3d(.3, .3, .3);
|
487 |
+
}
|
488 |
+
|
489 |
+
20% {
|
490 |
+
-webkit-transform: scale3d(1.1, 1.1, 1.1);
|
491 |
+
transform: scale3d(1.1, 1.1, 1.1);
|
492 |
+
}
|
493 |
+
|
494 |
+
40% {
|
495 |
+
-webkit-transform: scale3d(.9, .9, .9);
|
496 |
+
transform: scale3d(.9, .9, .9);
|
497 |
+
}
|
498 |
+
|
499 |
+
60% {
|
500 |
+
opacity: 1;
|
501 |
+
-webkit-transform: scale3d(1.03, 1.03, 1.03);
|
502 |
+
transform: scale3d(1.03, 1.03, 1.03);
|
503 |
+
}
|
504 |
+
|
505 |
+
80% {
|
506 |
+
-webkit-transform: scale3d(.97, .97, .97);
|
507 |
+
transform: scale3d(.97, .97, .97);
|
508 |
+
}
|
509 |
+
|
510 |
+
100% {
|
511 |
+
opacity: 1;
|
512 |
+
-webkit-transform: scale3d(1, 1, 1);
|
513 |
+
transform: scale3d(1, 1, 1);
|
514 |
+
}
|
515 |
+
}
|
516 |
+
|
517 |
+
@keyframes bounceIn {
|
518 |
+
0%, 20%, 40%, 60%, 80%, 100% {
|
519 |
+
-webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
|
520 |
+
transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
|
521 |
+
}
|
522 |
+
|
523 |
+
0% {
|
524 |
+
opacity: 0;
|
525 |
+
-webkit-transform: scale3d(.3, .3, .3);
|
526 |
+
transform: scale3d(.3, .3, .3);
|
527 |
+
}
|
528 |
+
|
529 |
+
20% {
|
530 |
+
-webkit-transform: scale3d(1.1, 1.1, 1.1);
|
531 |
+
transform: scale3d(1.1, 1.1, 1.1);
|
532 |
+
}
|
533 |
+
|
534 |
+
40% {
|
535 |
+
-webkit-transform: scale3d(.9, .9, .9);
|
536 |
+
transform: scale3d(.9, .9, .9);
|
537 |
+
}
|
538 |
+
|
539 |
+
60% {
|
540 |
+
opacity: 1;
|
541 |
+
-webkit-transform: scale3d(1.03, 1.03, 1.03);
|
542 |
+
transform: scale3d(1.03, 1.03, 1.03);
|
543 |
+
}
|
544 |
+
|
545 |
+
80% {
|
546 |
+
-webkit-transform: scale3d(.97, .97, .97);
|
547 |
+
transform: scale3d(.97, .97, .97);
|
548 |
+
}
|
549 |
+
|
550 |
+
100% {
|
551 |
+
opacity: 1;
|
552 |
+
-webkit-transform: scale3d(1, 1, 1);
|
553 |
+
transform: scale3d(1, 1, 1);
|
554 |
+
}
|
555 |
+
}
|
556 |
+
|
557 |
+
.bounceIn {
|
558 |
+
-webkit-animation-name: bounceIn;
|
559 |
+
animation-name: bounceIn;
|
560 |
+
-webkit-animation-duration: .75s;
|
561 |
+
animation-duration: .75s;
|
562 |
+
}
|
563 |
+
|
564 |
+
@-webkit-keyframes bounceInDown {
|
565 |
+
0%, 60%, 75%, 90%, 100% {
|
566 |
+
-webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
|
567 |
+
transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
|
568 |
+
}
|
569 |
+
|
570 |
+
0% {
|
571 |
+
opacity: 0;
|
572 |
+
-webkit-transform: translate3d(0, -3000px, 0);
|
573 |
+
transform: translate3d(0, -3000px, 0);
|
574 |
+
}
|
575 |
+
|
576 |
+
60% {
|
577 |
+
opacity: 1;
|
578 |
+
-webkit-transform: translate3d(0, 25px, 0);
|
579 |
+
transform: translate3d(0, 25px, 0);
|
580 |
+
}
|
581 |
+
|
582 |
+
75% {
|
583 |
+
-webkit-transform: translate3d(0, -10px, 0);
|
584 |
+
transform: translate3d(0, -10px, 0);
|
585 |
+
}
|
586 |
+
|
587 |
+
90% {
|
588 |
+
-webkit-transform: translate3d(0, 5px, 0);
|
589 |
+
transform: translate3d(0, 5px, 0);
|
590 |
+
}
|
591 |
+
|
592 |
+
100% {
|
593 |
+
-webkit-transform: none;
|
594 |
+
transform: none;
|
595 |
+
}
|
596 |
+
}
|
597 |
+
|
598 |
+
@keyframes bounceInDown {
|
599 |
+
0%, 60%, 75%, 90%, 100% {
|
600 |
+
-webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
|
601 |
+
transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
|
602 |
+
}
|
603 |
+
|
604 |
+
0% {
|
605 |
+
opacity: 0;
|
606 |
+
-webkit-transform: translate3d(0, -3000px, 0);
|
607 |
+
transform: translate3d(0, -3000px, 0);
|
608 |
+
}
|
609 |
+
|
610 |
+
60% {
|
611 |
+
opacity: 1;
|
612 |
+
-webkit-transform: translate3d(0, 25px, 0);
|
613 |
+
transform: translate3d(0, 25px, 0);
|
614 |
+
}
|
615 |
+
|
616 |
+
75% {
|
617 |
+
-webkit-transform: translate3d(0, -10px, 0);
|
618 |
+
transform: translate3d(0, -10px, 0);
|
619 |
+
}
|
620 |
+
|
621 |
+
90% {
|
622 |
+
-webkit-transform: translate3d(0, 5px, 0);
|
623 |
+
transform: translate3d(0, 5px, 0);
|
624 |
+
}
|
625 |
+
|
626 |
+
100% {
|
627 |
+
-webkit-transform: none;
|
628 |
+
transform: none;
|
629 |
+
}
|
630 |
+
}
|
631 |
+
|
632 |
+
.bounceInDown {
|
633 |
+
-webkit-animation-name: bounceInDown;
|
634 |
+
animation-name: bounceInDown;
|
635 |
+
}
|
636 |
+
|
637 |
+
@-webkit-keyframes bounceInLeft {
|
638 |
+
0%, 60%, 75%, 90%, 100% {
|
639 |
+
-webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
|
640 |
+
transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
|
641 |
+
}
|
642 |
+
|
643 |
+
0% {
|
644 |
+
opacity: 0;
|
645 |
+
-webkit-transform: translate3d(-3000px, 0, 0);
|
646 |
+
transform: translate3d(-3000px, 0, 0);
|
647 |
+
}
|
648 |
+
|
649 |
+
60% {
|
650 |
+
opacity: 1;
|
651 |
+
-webkit-transform: translate3d(25px, 0, 0);
|
652 |
+
transform: translate3d(25px, 0, 0);
|
653 |
+
}
|
654 |
+
|
655 |
+
75% {
|
656 |
+
-webkit-transform: translate3d(-10px, 0, 0);
|
657 |
+
transform: translate3d(-10px, 0, 0);
|
658 |
+
}
|
659 |
+
|
660 |
+
90% {
|
661 |
+
-webkit-transform: translate3d(5px, 0, 0);
|
662 |
+
transform: translate3d(5px, 0, 0);
|
663 |
+
}
|
664 |
+
|
665 |
+
100% {
|
666 |
+
-webkit-transform: none;
|
667 |
+
transform: none;
|
668 |
+
}
|
669 |
+
}
|
670 |
+
|
671 |
+
@keyframes bounceInLeft {
|
672 |
+
0%, 60%, 75%, 90%, 100% {
|
673 |
+
-webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
|
674 |
+
transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
|
675 |
+
}
|
676 |
+
|
677 |
+
0% {
|
678 |
+
opacity: 0;
|
679 |
+
-webkit-transform: translate3d(-3000px, 0, 0);
|
680 |
+
transform: translate3d(-3000px, 0, 0);
|
681 |
+
}
|
682 |
+
|
683 |
+
60% {
|
684 |
+
opacity: 1;
|
685 |
+
-webkit-transform: translate3d(25px, 0, 0);
|
686 |
+
transform: translate3d(25px, 0, 0);
|
687 |
+
}
|
688 |
+
|
689 |
+
75% {
|
690 |
+
-webkit-transform: translate3d(-10px, 0, 0);
|
691 |
+
transform: translate3d(-10px, 0, 0);
|
692 |
+
}
|
693 |
+
|
694 |
+
90% {
|
695 |
+
-webkit-transform: translate3d(5px, 0, 0);
|
696 |
+
transform: translate3d(5px, 0, 0);
|
697 |
+
}
|
698 |
+
|
699 |
+
100% {
|
700 |
+
-webkit-transform: none;
|
701 |
+
transform: none;
|
702 |
+
}
|
703 |
+
}
|
704 |
+
|
705 |
+
.bounceInLeft {
|
706 |
+
-webkit-animation-name: bounceInLeft;
|
707 |
+
animation-name: bounceInLeft;
|
708 |
+
}
|
709 |
+
|
710 |
+
@-webkit-keyframes bounceInRight {
|
711 |
+
0%, 60%, 75%, 90%, 100% {
|
712 |
+
-webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
|
713 |
+
transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
|
714 |
+
}
|
715 |
+
|
716 |
+
0% {
|
717 |
+
opacity: 0;
|
718 |
+
-webkit-transform: translate3d(3000px, 0, 0);
|
719 |
+
transform: translate3d(3000px, 0, 0);
|
720 |
+
}
|
721 |
+
|
722 |
+
60% {
|
723 |
+
opacity: 1;
|
724 |
+
-webkit-transform: translate3d(-25px, 0, 0);
|
725 |
+
transform: translate3d(-25px, 0, 0);
|
726 |
+
}
|
727 |
+
|
728 |
+
75% {
|
729 |
+
-webkit-transform: translate3d(10px, 0, 0);
|
730 |
+
transform: translate3d(10px, 0, 0);
|
731 |
+
}
|
732 |
+
|
733 |
+
90% {
|
734 |
+
-webkit-transform: translate3d(-5px, 0, 0);
|
735 |
+
transform: translate3d(-5px, 0, 0);
|
736 |
+
}
|
737 |
+
|
738 |
+
100% {
|
739 |
+
-webkit-transform: none;
|
740 |
+
transform: none;
|
741 |
+
}
|
742 |
+
}
|
743 |
+
|
744 |
+
@keyframes bounceInRight {
|
745 |
+
0%, 60%, 75%, 90%, 100% {
|
746 |
+
-webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
|
747 |
+
transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
|
748 |
+
}
|
749 |
+
|
750 |
+
0% {
|
751 |
+
opacity: 0;
|
752 |
+
-webkit-transform: translate3d(3000px, 0, 0);
|
753 |
+
transform: translate3d(3000px, 0, 0);
|
754 |
+
}
|
755 |
+
|
756 |
+
60% {
|
757 |
+
opacity: 1;
|
758 |
+
-webkit-transform: translate3d(-25px, 0, 0);
|
759 |
+
transform: translate3d(-25px, 0, 0);
|
760 |
+
}
|
761 |
+
|
762 |
+
75% {
|
763 |
+
-webkit-transform: translate3d(10px, 0, 0);
|
764 |
+
transform: translate3d(10px, 0, 0);
|
765 |
+
}
|
766 |
+
|
767 |
+
90% {
|
768 |
+
-webkit-transform: translate3d(-5px, 0, 0);
|
769 |
+
transform: translate3d(-5px, 0, 0);
|
770 |
+
}
|
771 |
+
|
772 |
+
100% {
|
773 |
+
-webkit-transform: none;
|
774 |
+
transform: none;
|
775 |
+
}
|
776 |
+
}
|
777 |
+
|
778 |
+
.bounceInRight {
|
779 |
+
-webkit-animation-name: bounceInRight;
|
780 |
+
animation-name: bounceInRight;
|
781 |
+
}
|
782 |
+
|
783 |
+
@-webkit-keyframes bounceInUp {
|
784 |
+
0%, 60%, 75%, 90%, 100% {
|
785 |
+
-webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
|
786 |
+
transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
|
787 |
+
}
|
788 |
+
|
789 |
+
0% {
|
790 |
+
opacity: 0;
|
791 |
+
-webkit-transform: translate3d(0, 3000px, 0);
|
792 |
+
transform: translate3d(0, 3000px, 0);
|
793 |
+
}
|
794 |
+
|
795 |
+
60% {
|
796 |
+
opacity: 1;
|
797 |
+
-webkit-transform: translate3d(0, -20px, 0);
|
798 |
+
transform: translate3d(0, -20px, 0);
|
799 |
+
}
|
800 |
+
|
801 |
+
75% {
|
802 |
+
-webkit-transform: translate3d(0, 10px, 0);
|
803 |
+
transform: translate3d(0, 10px, 0);
|
804 |
+
}
|
805 |
+
|
806 |
+
90% {
|
807 |
+
-webkit-transform: translate3d(0, -5px, 0);
|
808 |
+
transform: translate3d(0, -5px, 0);
|
809 |
+
}
|
810 |
+
|
811 |
+
100% {
|
812 |
+
-webkit-transform: translate3d(0, 0, 0);
|
813 |
+
transform: translate3d(0, 0, 0);
|
814 |
+
}
|
815 |
+
}
|
816 |
+
|
817 |
+
@keyframes bounceInUp {
|
818 |
+
0%, 60%, 75%, 90%, 100% {
|
819 |
+
-webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
|
820 |
+
transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
|
821 |
+
}
|
822 |
+
|
823 |
+
0% {
|
824 |
+
opacity: 0;
|
825 |
+
-webkit-transform: translate3d(0, 3000px, 0);
|
826 |
+
transform: translate3d(0, 3000px, 0);
|
827 |
+
}
|
828 |
+
|
829 |
+
60% {
|
830 |
+
opacity: 1;
|
831 |
+
-webkit-transform: translate3d(0, -20px, 0);
|
832 |
+
transform: translate3d(0, -20px, 0);
|
833 |
+
}
|
834 |
+
|
835 |
+
75% {
|
836 |
+
-webkit-transform: translate3d(0, 10px, 0);
|
837 |
+
transform: translate3d(0, 10px, 0);
|
838 |
+
}
|
839 |
+
|
840 |
+
90% {
|
841 |
+
-webkit-transform: translate3d(0, -5px, 0);
|
842 |
+
transform: translate3d(0, -5px, 0);
|
843 |
+
}
|
844 |
+
|
845 |
+
100% {
|
846 |
+
-webkit-transform: translate3d(0, 0, 0);
|
847 |
+
transform: translate3d(0, 0, 0);
|
848 |
+
}
|
849 |
+
}
|
850 |
+
|
851 |
+
.bounceInUp {
|
852 |
+
-webkit-animation-name: bounceInUp;
|
853 |
+
animation-name: bounceInUp;
|
854 |
+
}
|
855 |
+
|
856 |
+
@-webkit-keyframes bounceOut {
|
857 |
+
20% {
|
858 |
+
-webkit-transform: scale3d(.9, .9, .9);
|
859 |
+
transform: scale3d(.9, .9, .9);
|
860 |
+
}
|
861 |
+
|
862 |
+
50%, 55% {
|
863 |
+
opacity: 1;
|
864 |
+
-webkit-transform: scale3d(1.1, 1.1, 1.1);
|
865 |
+
transform: scale3d(1.1, 1.1, 1.1);
|
866 |
+
}
|
867 |
+
|
868 |
+
100% {
|
869 |
+
opacity: 0;
|
870 |
+
-webkit-transform: scale3d(.3, .3, .3);
|
871 |
+
transform: scale3d(.3, .3, .3);
|
872 |
+
}
|
873 |
+
}
|
874 |
+
|
875 |
+
@keyframes bounceOut {
|
876 |
+
20% {
|
877 |
+
-webkit-transform: scale3d(.9, .9, .9);
|
878 |
+
transform: scale3d(.9, .9, .9);
|
879 |
+
}
|
880 |
+
|
881 |
+
50%, 55% {
|
882 |
+
opacity: 1;
|
883 |
+
-webkit-transform: scale3d(1.1, 1.1, 1.1);
|
884 |
+
transform: scale3d(1.1, 1.1, 1.1);
|
885 |
+
}
|
886 |
+
|
887 |
+
100% {
|
888 |
+
opacity: 0;
|
889 |
+
-webkit-transform: scale3d(.3, .3, .3);
|
890 |
+
transform: scale3d(.3, .3, .3);
|
891 |
+
}
|
892 |
+
}
|
893 |
+
|
894 |
+
.bounceOut {
|
895 |
+
-webkit-animation-name: bounceOut;
|
896 |
+
animation-name: bounceOut;
|
897 |
+
-webkit-animation-duration: .75s;
|
898 |
+
animation-duration: .75s;
|
899 |
+
}
|
900 |
+
|
901 |
+
@-webkit-keyframes bounceOutDown {
|
902 |
+
20% {
|
903 |
+
-webkit-transform: translate3d(0, 10px, 0);
|
904 |
+
transform: translate3d(0, 10px, 0);
|
905 |
+
}
|
906 |
+
|
907 |
+
40%, 45% {
|
908 |
+
opacity: 1;
|
909 |
+
-webkit-transform: translate3d(0, -20px, 0);
|
910 |
+
transform: translate3d(0, -20px, 0);
|
911 |
+
}
|
912 |
+
|
913 |
+
100% {
|
914 |
+
opacity: 0;
|
915 |
+
-webkit-transform: translate3d(0, 2000px, 0);
|
916 |
+
transform: translate3d(0, 2000px, 0);
|
917 |
+
}
|
918 |
+
}
|
919 |
+
|
920 |
+
@keyframes bounceOutDown {
|
921 |
+
20% {
|
922 |
+
-webkit-transform: translate3d(0, 10px, 0);
|
923 |
+
transform: translate3d(0, 10px, 0);
|
924 |
+
}
|
925 |
+
|
926 |
+
40%, 45% {
|
927 |
+
opacity: 1;
|
928 |
+
-webkit-transform: translate3d(0, -20px, 0);
|
929 |
+
transform: translate3d(0, -20px, 0);
|
930 |
+
}
|
931 |
+
|
932 |
+
100% {
|
933 |
+
opacity: 0;
|
934 |
+
-webkit-transform: translate3d(0, 2000px, 0);
|
935 |
+
transform: translate3d(0, 2000px, 0);
|
936 |
+
}
|
937 |
+
}
|
938 |
+
|
939 |
+
.bounceOutDown {
|
940 |
+
-webkit-animation-name: bounceOutDown;
|
941 |
+
animation-name: bounceOutDown;
|
942 |
+
}
|
943 |
+
|
944 |
+
@-webkit-keyframes bounceOutLeft {
|
945 |
+
20% {
|
946 |
+
opacity: 1;
|
947 |
+
-webkit-transform: translate3d(20px, 0, 0);
|
948 |
+
transform: translate3d(20px, 0, 0);
|
949 |
+
}
|
950 |
+
|
951 |
+
100% {
|
952 |
+
opacity: 0;
|
953 |
+
-webkit-transform: translate3d(-2000px, 0, 0);
|
954 |
+
transform: translate3d(-2000px, 0, 0);
|
955 |
+
}
|
956 |
+
}
|
957 |
+
|
958 |
+
@keyframes bounceOutLeft {
|
959 |
+
20% {
|
960 |
+
opacity: 1;
|
961 |
+
-webkit-transform: translate3d(20px, 0, 0);
|
962 |
+
transform: translate3d(20px, 0, 0);
|
963 |
+
}
|
964 |
+
|
965 |
+
100% {
|
966 |
+
opacity: 0;
|
967 |
+
-webkit-transform: translate3d(-2000px, 0, 0);
|
968 |
+
transform: translate3d(-2000px, 0, 0);
|
969 |
+
}
|
970 |
+
}
|
971 |
+
|
972 |
+
.bounceOutLeft {
|
973 |
+
-webkit-animation-name: bounceOutLeft;
|
974 |
+
animation-name: bounceOutLeft;
|
975 |
+
}
|
976 |
+
|
977 |
+
@-webkit-keyframes bounceOutRight {
|
978 |
+
20% {
|
979 |
+
opacity: 1;
|
980 |
+
-webkit-transform: translate3d(-20px, 0, 0);
|
981 |
+
transform: translate3d(-20px, 0, 0);
|
982 |
+
}
|
983 |
+
|
984 |
+
100% {
|
985 |
+
opacity: 0;
|
986 |
+
-webkit-transform: translate3d(2000px, 0, 0);
|
987 |
+
transform: translate3d(2000px, 0, 0);
|
988 |
+
}
|
989 |
+
}
|
990 |
+
|
991 |
+
@keyframes bounceOutRight {
|
992 |
+
20% {
|
993 |
+
opacity: 1;
|
994 |
+
-webkit-transform: translate3d(-20px, 0, 0);
|
995 |
+
transform: translate3d(-20px, 0, 0);
|
996 |
+
}
|
997 |
+
|
998 |
+
100% {
|
999 |
+
opacity: 0;
|
1000 |
+
-webkit-transform: translate3d(2000px, 0, 0);
|
1001 |
+
transform: translate3d(2000px, 0, 0);
|
1002 |
+
}
|
1003 |
+
}
|
1004 |
+
|
1005 |
+
.bounceOutRight {
|
1006 |
+
-webkit-animation-name: bounceOutRight;
|
1007 |
+
animation-name: bounceOutRight;
|
1008 |
+
}
|
1009 |
+
|
1010 |
+
@-webkit-keyframes bounceOutUp {
|
1011 |
+
20% {
|
1012 |
+
-webkit-transform: translate3d(0, -10px, 0);
|
1013 |
+
transform: translate3d(0, -10px, 0);
|
1014 |
+
}
|
1015 |
+
|
1016 |
+
40%, 45% {
|
1017 |
+
opacity: 1;
|
1018 |
+
-webkit-transform: translate3d(0, 20px, 0);
|
1019 |
+
transform: translate3d(0, 20px, 0);
|
1020 |
+
}
|
1021 |
+
|
1022 |
+
100% {
|
1023 |
+
opacity: 0;
|
1024 |
+
-webkit-transform: translate3d(0, -2000px, 0);
|
1025 |
+
transform: translate3d(0, -2000px, 0);
|
1026 |
+
}
|
1027 |
+
}
|
1028 |
+
|
1029 |
+
@keyframes bounceOutUp {
|
1030 |
+
20% {
|
1031 |
+
-webkit-transform: translate3d(0, -10px, 0);
|
1032 |
+
transform: translate3d(0, -10px, 0);
|
1033 |
+
}
|
1034 |
+
|
1035 |
+
40%, 45% {
|
1036 |
+
opacity: 1;
|
1037 |
+
-webkit-transform: translate3d(0, 20px, 0);
|
1038 |
+
transform: translate3d(0, 20px, 0);
|
1039 |
+
}
|
1040 |
+
|
1041 |
+
100% {
|
1042 |
+
opacity: 0;
|
1043 |
+
-webkit-transform: translate3d(0, -2000px, 0);
|
1044 |
+
transform: translate3d(0, -2000px, 0);
|
1045 |
+
}
|
1046 |
+
}
|
1047 |
+
|
1048 |
+
.bounceOutUp {
|
1049 |
+
-webkit-animation-name: bounceOutUp;
|
1050 |
+
animation-name: bounceOutUp;
|
1051 |
+
}
|
1052 |
+
|
1053 |
+
@-webkit-keyframes fadeIn {
|
1054 |
+
0% {opacity: 0;}
|
1055 |
+
100% {opacity: 1;}
|
1056 |
+
}
|
1057 |
+
|
1058 |
+
@keyframes fadeIn {
|
1059 |
+
0% {opacity: 0;}
|
1060 |
+
100% {opacity: 1;}
|
1061 |
+
}
|
1062 |
+
|
1063 |
+
.fadeIn {
|
1064 |
+
-webkit-animation-name: fadeIn;
|
1065 |
+
animation-name: fadeIn;
|
1066 |
+
}
|
1067 |
+
|
1068 |
+
@-webkit-keyframes fadeInDown {
|
1069 |
+
0% {
|
1070 |
+
opacity: 0;
|
1071 |
+
-webkit-transform: translate3d(0, -100%, 0);
|
1072 |
+
transform: translate3d(0, -100%, 0);
|
1073 |
+
}
|
1074 |
+
|
1075 |
+
100% {
|
1076 |
+
opacity: 1;
|
1077 |
+
-webkit-transform: none;
|
1078 |
+
transform: none;
|
1079 |
+
}
|
1080 |
+
}
|
1081 |
+
|
1082 |
+
@keyframes fadeInDown {
|
1083 |
+
0% {
|
1084 |
+
opacity: 0;
|
1085 |
+
-webkit-transform: translate3d(0, -100%, 0);
|
1086 |
+
transform: translate3d(0, -100%, 0);
|
1087 |
+
}
|
1088 |
+
|
1089 |
+
100% {
|
1090 |
+
opacity: 1;
|
1091 |
+
-webkit-transform: none;
|
1092 |
+
transform: none;
|
1093 |
+
}
|
1094 |
+
}
|
1095 |
+
|
1096 |
+
.fadeInDown {
|
1097 |
+
-webkit-animation-name: fadeInDown;
|
1098 |
+
animation-name: fadeInDown;
|
1099 |
+
}
|
1100 |
+
|
1101 |
+
@-webkit-keyframes fadeInDownBig {
|
1102 |
+
0% {
|
1103 |
+
opacity: 0;
|
1104 |
+
-webkit-transform: translate3d(0, -2000px, 0);
|
1105 |
+
transform: translate3d(0, -2000px, 0);
|
1106 |
+
}
|
1107 |
+
|
1108 |
+
100% {
|
1109 |
+
opacity: 1;
|
1110 |
+
-webkit-transform: none;
|
1111 |
+
transform: none;
|
1112 |
+
}
|
1113 |
+
}
|
1114 |
+
|
1115 |
+
@keyframes fadeInDownBig {
|
1116 |
+
0% {
|
1117 |
+
opacity: 0;
|
1118 |
+
-webkit-transform: translate3d(0, -2000px, 0);
|
1119 |
+
transform: translate3d(0, -2000px, 0);
|
1120 |
+
}
|
1121 |
+
|
1122 |
+
100% {
|
1123 |
+
opacity: 1;
|
1124 |
+
-webkit-transform: none;
|
1125 |
+
transform: none;
|
1126 |
+
}
|
1127 |
+
}
|
1128 |
+
|
1129 |
+
.fadeInDownBig {
|
1130 |
+
-webkit-animation-name: fadeInDownBig;
|
1131 |
+
animation-name: fadeInDownBig;
|
1132 |
+
}
|
1133 |
+
|
1134 |
+
@-webkit-keyframes fadeInLeft {
|
1135 |
+
0% {
|
1136 |
+
opacity: 0;
|
1137 |
+
-webkit-transform: translate3d(-100%, 0, 0);
|
1138 |
+
transform: translate3d(-100%, 0, 0);
|
1139 |
+
}
|
1140 |
+
|
1141 |
+
100% {
|
1142 |
+
opacity: 1;
|
1143 |
+
-webkit-transform: none;
|
1144 |
+
transform: none;
|
1145 |
+
}
|
1146 |
+
}
|
1147 |
+
|
1148 |
+
@keyframes fadeInLeft {
|
1149 |
+
0% {
|
1150 |
+
opacity: 0;
|
1151 |
+
-webkit-transform: translate3d(-100%, 0, 0);
|
1152 |
+
transform: translate3d(-100%, 0, 0);
|
1153 |
+
}
|
1154 |
+
|
1155 |
+
100% {
|
1156 |
+
opacity: 1;
|
1157 |
+
-webkit-transform: none;
|
1158 |
+
transform: none;
|
1159 |
+
}
|
1160 |
+
}
|
1161 |
+
|
1162 |
+
.fadeInLeft {
|
1163 |
+
-webkit-animation-name: fadeInLeft;
|
1164 |
+
animation-name: fadeInLeft;
|
1165 |
+
}
|
1166 |
+
|
1167 |
+
@-webkit-keyframes fadeInLeftBig {
|
1168 |
+
0% {
|
1169 |
+
opacity: 0;
|
1170 |
+
-webkit-transform: translate3d(-2000px, 0, 0);
|
1171 |
+
transform: translate3d(-2000px, 0, 0);
|
1172 |
+
}
|
1173 |
+
|
1174 |
+
100% {
|
1175 |
+
opacity: 1;
|
1176 |
+
-webkit-transform: none;
|
1177 |
+
transform: none;
|
1178 |
+
}
|
1179 |
+
}
|
1180 |
+
|
1181 |
+
@keyframes fadeInLeftBig {
|
1182 |
+
0% {
|
1183 |
+
opacity: 0;
|
1184 |
+
-webkit-transform: translate3d(-2000px, 0, 0);
|
1185 |
+
transform: translate3d(-2000px, 0, 0);
|
1186 |
+
}
|
1187 |
+
|
1188 |
+
100% {
|
1189 |
+
opacity: 1;
|
1190 |
+
-webkit-transform: none;
|
1191 |
+
transform: none;
|
1192 |
+
}
|
1193 |
+
}
|
1194 |
+
|
1195 |
+
.fadeInLeftBig {
|
1196 |
+
-webkit-animation-name: fadeInLeftBig;
|
1197 |
+
animation-name: fadeInLeftBig;
|
1198 |
+
}
|
1199 |
+
|
1200 |
+
@-webkit-keyframes fadeInRight {
|
1201 |
+
0% {
|
1202 |
+
opacity: 0;
|
1203 |
+
-webkit-transform: translate3d(100%, 0, 0);
|
1204 |
+
transform: translate3d(100%, 0, 0);
|
1205 |
+
}
|
1206 |
+
|
1207 |
+
100% {
|
1208 |
+
opacity: 1;
|
1209 |
+
-webkit-transform: none;
|
1210 |
+
transform: none;
|
1211 |
+
}
|
1212 |
+
}
|
1213 |
+
|
1214 |
+
@keyframes fadeInRight {
|
1215 |
+
0% {
|
1216 |
+
opacity: 0;
|
1217 |
+
-webkit-transform: translate3d(100%, 0, 0);
|
1218 |
+
transform: translate3d(100%, 0, 0);
|
1219 |
+
}
|
1220 |
+
|
1221 |
+
100% {
|
1222 |
+
opacity: 1;
|
1223 |
+
-webkit-transform: none;
|
1224 |
+
transform: none;
|
1225 |
+
}
|
1226 |
+
}
|
1227 |
+
|
1228 |
+
.fadeInRight {
|
1229 |
+
-webkit-animation-name: fadeInRight;
|
1230 |
+
animation-name: fadeInRight;
|
1231 |
+
}
|
1232 |
+
|
1233 |
+
@-webkit-keyframes fadeInRightBig {
|
1234 |
+
0% {
|
1235 |
+
opacity: 0;
|
1236 |
+
-webkit-transform: translate3d(2000px, 0, 0);
|
1237 |
+
transform: translate3d(2000px, 0, 0);
|
1238 |
+
}
|
1239 |
+
|
1240 |
+
100% {
|
1241 |
+
opacity: 1;
|
1242 |
+
-webkit-transform: none;
|
1243 |
+
transform: none;
|
1244 |
+
}
|
1245 |
+
}
|
1246 |
+
|
1247 |
+
@keyframes fadeInRightBig {
|
1248 |
+
0% {
|
1249 |
+
opacity: 0;
|
1250 |
+
-webkit-transform: translate3d(2000px, 0, 0);
|
1251 |
+
transform: translate3d(2000px, 0, 0);
|
1252 |
+
}
|
1253 |
+
|
1254 |
+
100% {
|
1255 |
+
opacity: 1;
|
1256 |
+
-webkit-transform: none;
|
1257 |
+
transform: none;
|
1258 |
+
}
|
1259 |
+
}
|
1260 |
+
|
1261 |
+
.fadeInRightBig {
|
1262 |
+
-webkit-animation-name: fadeInRightBig;
|
1263 |
+
animation-name: fadeInRightBig;
|
1264 |
+
}
|
1265 |
+
|
1266 |
+
@-webkit-keyframes fadeInUp {
|
1267 |
+
0% {
|
1268 |
+
opacity: 0;
|
1269 |
+
-webkit-transform: translate3d(0, 100%, 0);
|
1270 |
+
transform: translate3d(0, 100%, 0);
|
1271 |
+
}
|
1272 |
+
|
1273 |
+
100% {
|
1274 |
+
opacity: 1;
|
1275 |
+
-webkit-transform: none;
|
1276 |
+
transform: none;
|
1277 |
+
}
|
1278 |
+
}
|
1279 |
+
|
1280 |
+
@keyframes fadeInUp {
|
1281 |
+
0% {
|
1282 |
+
opacity: 0;
|
1283 |
+
-webkit-transform: translate3d(0, 100%, 0);
|
1284 |
+
transform: translate3d(0, 100%, 0);
|
1285 |
+
}
|
1286 |
+
|
1287 |
+
100% {
|
1288 |
+
opacity: 1;
|
1289 |
+
-webkit-transform: none;
|
1290 |
+
transform: none;
|
1291 |
+
}
|
1292 |
+
}
|
1293 |
+
|
1294 |
+
.fadeInUp {
|
1295 |
+
-webkit-animation-name: fadeInUp;
|
1296 |
+
animation-name: fadeInUp;
|
1297 |
+
}
|
1298 |
+
|
1299 |
+
@-webkit-keyframes fadeInUpBig {
|
1300 |
+
0% {
|
1301 |
+
opacity: 0;
|
1302 |
+
-webkit-transform: translate3d(0, 2000px, 0);
|
1303 |
+
transform: translate3d(0, 2000px, 0);
|
1304 |
+
}
|
1305 |
+
|
1306 |
+
100% {
|
1307 |
+
opacity: 1;
|
1308 |
+
-webkit-transform: none;
|
1309 |
+
transform: none;
|
1310 |
+
}
|
1311 |
+
}
|
1312 |
+
|
1313 |
+
@keyframes fadeInUpBig {
|
1314 |
+
0% {
|
1315 |
+
opacity: 0;
|
1316 |
+
-webkit-transform: translate3d(0, 2000px, 0);
|
1317 |
+
transform: translate3d(0, 2000px, 0);
|
1318 |
+
}
|
1319 |
+
|
1320 |
+
100% {
|
1321 |
+
opacity: 1;
|
1322 |
+
-webkit-transform: none;
|
1323 |
+
transform: none;
|
1324 |
+
}
|
1325 |
+
}
|
1326 |
+
|
1327 |
+
.fadeInUpBig {
|
1328 |
+
-webkit-animation-name: fadeInUpBig;
|
1329 |
+
animation-name: fadeInUpBig;
|
1330 |
+
}
|
1331 |
+
|
1332 |
+
@-webkit-keyframes fadeOut {
|
1333 |
+
0% {opacity: 1;}
|
1334 |
+
100% {opacity: 0;}
|
1335 |
+
}
|
1336 |
+
|
1337 |
+
@keyframes fadeOut {
|
1338 |
+
0% {opacity: 1;}
|
1339 |
+
100% {opacity: 0;}
|
1340 |
+
}
|
1341 |
+
|
1342 |
+
.fadeOut {
|
1343 |
+
-webkit-animation-name: fadeOut;
|
1344 |
+
animation-name: fadeOut;
|
1345 |
+
}
|
1346 |
+
|
1347 |
+
@-webkit-keyframes fadeOutDown {
|
1348 |
+
0% {
|
1349 |
+
opacity: 1;
|
1350 |
+
}
|
1351 |
+
|
1352 |
+
100% {
|
1353 |
+
opacity: 0;
|
1354 |
+
-webkit-transform: translate3d(0, 100%, 0);
|
1355 |
+
transform: translate3d(0, 100%, 0);
|
1356 |
+
}
|
1357 |
+
}
|
1358 |
+
|
1359 |
+
@keyframes fadeOutDown {
|
1360 |
+
0% {
|
1361 |
+
opacity: 1;
|
1362 |
+
}
|
1363 |
+
|
1364 |
+
100% {
|
1365 |
+
opacity: 0;
|
1366 |
+
-webkit-transform: translate3d(0, 100%, 0);
|
1367 |
+
transform: translate3d(0, 100%, 0);
|
1368 |
+
}
|
1369 |
+
}
|
1370 |
+
|
1371 |
+
.fadeOutDown {
|
1372 |
+
-webkit-animation-name: fadeOutDown;
|
1373 |
+
animation-name: fadeOutDown;
|
1374 |
+
}
|
1375 |
+
|
1376 |
+
@-webkit-keyframes fadeOutDownBig {
|
1377 |
+
0% {
|
1378 |
+
opacity: 1;
|
1379 |
+
}
|
1380 |
+
|
1381 |
+
100% {
|
1382 |
+
opacity: 0;
|
1383 |
+
-webkit-transform: translate3d(0, 2000px, 0);
|
1384 |
+
transform: translate3d(0, 2000px, 0);
|
1385 |
+
}
|
1386 |
+
}
|
1387 |
+
|
1388 |
+
@keyframes fadeOutDownBig {
|
1389 |
+
0% {
|
1390 |
+
opacity: 1;
|
1391 |
+
}
|
1392 |
+
|
1393 |
+
100% {
|
1394 |
+
opacity: 0;
|
1395 |
+
-webkit-transform: translate3d(0, 2000px, 0);
|
1396 |
+
transform: translate3d(0, 2000px, 0);
|
1397 |
+
}
|
1398 |
+
}
|
1399 |
+
|
1400 |
+
.fadeOutDownBig {
|
1401 |
+
-webkit-animation-name: fadeOutDownBig;
|
1402 |
+
animation-name: fadeOutDownBig;
|
1403 |
+
}
|
1404 |
+
|
1405 |
+
@-webkit-keyframes fadeOutLeft {
|
1406 |
+
0% {
|
1407 |
+
opacity: 1;
|
1408 |
+
}
|
1409 |
+
|
1410 |
+
100% {
|
1411 |
+
opacity: 0;
|
1412 |
+
-webkit-transform: translate3d(-100%, 0, 0);
|
1413 |
+
transform: translate3d(-100%, 0, 0);
|
1414 |
+
}
|
1415 |
+
}
|
1416 |
+
|
1417 |
+
@keyframes fadeOutLeft {
|
1418 |
+
0% {
|
1419 |
+
opacity: 1;
|
1420 |
+
}
|
1421 |
+
|
1422 |
+
100% {
|
1423 |
+
opacity: 0;
|
1424 |
+
-webkit-transform: translate3d(-100%, 0, 0);
|
1425 |
+
transform: translate3d(-100%, 0, 0);
|
1426 |
+
}
|
1427 |
+
}
|
1428 |
+
|
1429 |
+
.fadeOutLeft {
|
1430 |
+
-webkit-animation-name: fadeOutLeft;
|
1431 |
+
animation-name: fadeOutLeft;
|
1432 |
+
}
|
1433 |
+
|
1434 |
+
@-webkit-keyframes fadeOutLeftBig {
|
1435 |
+
0% {
|
1436 |
+
opacity: 1;
|
1437 |
+
}
|
1438 |
+
|
1439 |
+
100% {
|
1440 |
+
opacity: 0;
|
1441 |
+
-webkit-transform: translate3d(-2000px, 0, 0);
|
1442 |
+
transform: translate3d(-2000px, 0, 0);
|
1443 |
+
}
|
1444 |
+
}
|
1445 |
+
|
1446 |
+
@keyframes fadeOutLeftBig {
|
1447 |
+
0% {
|
1448 |
+
opacity: 1;
|
1449 |
+
}
|
1450 |
+
|
1451 |
+
100% {
|
1452 |
+
opacity: 0;
|
1453 |
+
-webkit-transform: translate3d(-2000px, 0, 0);
|
1454 |
+
transform: translate3d(-2000px, 0, 0);
|
1455 |
+
}
|
1456 |
+
}
|
1457 |
+
|
1458 |
+
.fadeOutLeftBig {
|
1459 |
+
-webkit-animation-name: fadeOutLeftBig;
|
1460 |
+
animation-name: fadeOutLeftBig;
|
1461 |
+
}
|
1462 |
+
|
1463 |
+
@-webkit-keyframes fadeOutRight {
|
1464 |
+
0% {
|
1465 |
+
opacity: 1;
|
1466 |
+
}
|
1467 |
+
|
1468 |
+
100% {
|
1469 |
+
opacity: 0;
|
1470 |
+
-webkit-transform: translate3d(100%, 0, 0);
|
1471 |
+
transform: translate3d(100%, 0, 0);
|
1472 |
+
}
|
1473 |
+
}
|
1474 |
+
|
1475 |
+
@keyframes fadeOutRight {
|
1476 |
+
0% {
|
1477 |
+
opacity: 1;
|
1478 |
+
}
|
1479 |
+
|
1480 |
+
100% {
|
1481 |
+
opacity: 0;
|
1482 |
+
-webkit-transform: translate3d(100%, 0, 0);
|
1483 |
+
transform: translate3d(100%, 0, 0);
|
1484 |
+
}
|
1485 |
+
}
|
1486 |
+
|
1487 |
+
.fadeOutRight {
|
1488 |
+
-webkit-animation-name: fadeOutRight;
|
1489 |
+
animation-name: fadeOutRight;
|
1490 |
+
}
|
1491 |
+
|
1492 |
+
@-webkit-keyframes fadeOutRightBig {
|
1493 |
+
0% {
|
1494 |
+
opacity: 1;
|
1495 |
+
}
|
1496 |
+
|
1497 |
+
100% {
|
1498 |
+
opacity: 0;
|
1499 |
+
-webkit-transform: translate3d(2000px, 0, 0);
|
1500 |
+
transform: translate3d(2000px, 0, 0);
|
1501 |
+
}
|
1502 |
+
}
|
1503 |
+
|
1504 |
+
@keyframes fadeOutRightBig {
|
1505 |
+
0% {
|
1506 |
+
opacity: 1;
|
1507 |
+
}
|
1508 |
+
|
1509 |
+
100% {
|
1510 |
+
opacity: 0;
|
1511 |
+
-webkit-transform: translate3d(2000px, 0, 0);
|
1512 |
+
transform: translate3d(2000px, 0, 0);
|
1513 |
+
}
|
1514 |
+
}
|
1515 |
+
|
1516 |
+
.fadeOutRightBig {
|
1517 |
+
-webkit-animation-name: fadeOutRightBig;
|
1518 |
+
animation-name: fadeOutRightBig;
|
1519 |
+
}
|
1520 |
+
|
1521 |
+
@-webkit-keyframes fadeOutUp {
|
1522 |
+
0% {
|
1523 |
+
opacity: 1;
|
1524 |
+
}
|
1525 |
+
|
1526 |
+
100% {
|
1527 |
+
opacity: 0;
|
1528 |
+
-webkit-transform: translate3d(0, -100%, 0);
|
1529 |
+
transform: translate3d(0, -100%, 0);
|
1530 |
+
}
|
1531 |
+
}
|
1532 |
+
|
1533 |
+
@keyframes fadeOutUp {
|
1534 |
+
0% {
|
1535 |
+
opacity: 1;
|
1536 |
+
}
|
1537 |
+
|
1538 |
+
100% {
|
1539 |
+
opacity: 0;
|
1540 |
+
-webkit-transform: translate3d(0, -100%, 0);
|
1541 |
+
transform: translate3d(0, -100%, 0);
|
1542 |
+
}
|
1543 |
+
}
|
1544 |
+
|
1545 |
+
.fadeOutUp {
|
1546 |
+
-webkit-animation-name: fadeOutUp;
|
1547 |
+
animation-name: fadeOutUp;
|
1548 |
+
}
|
1549 |
+
|
1550 |
+
@-webkit-keyframes fadeOutUpBig {
|
1551 |
+
0% {
|
1552 |
+
opacity: 1;
|
1553 |
+
}
|
1554 |
+
|
1555 |
+
100% {
|
1556 |
+
opacity: 0;
|
1557 |
+
-webkit-transform: translate3d(0, -2000px, 0);
|
1558 |
+
transform: translate3d(0, -2000px, 0);
|
1559 |
+
}
|
1560 |
+
}
|
1561 |
+
|
1562 |
+
@keyframes fadeOutUpBig {
|
1563 |
+
0% {
|
1564 |
+
opacity: 1;
|
1565 |
+
}
|
1566 |
+
|
1567 |
+
100% {
|
1568 |
+
opacity: 0;
|
1569 |
+
-webkit-transform: translate3d(0, -2000px, 0);
|
1570 |
+
transform: translate3d(0, -2000px, 0);
|
1571 |
+
}
|
1572 |
+
}
|
1573 |
+
|
1574 |
+
.fadeOutUpBig {
|
1575 |
+
-webkit-animation-name: fadeOutUpBig;
|
1576 |
+
animation-name: fadeOutUpBig;
|
1577 |
+
}
|
1578 |
+
|
1579 |
+
@-webkit-keyframes flip {
|
1580 |
+
0% {
|
1581 |
+
-webkit-transform: perspective(400px) rotate3d(0, 1, 0, -360deg);
|
1582 |
+
transform: perspective(400px) rotate3d(0, 1, 0, -360deg);
|
1583 |
+
-webkit-animation-timing-function: ease-out;
|
1584 |
+
animation-timing-function: ease-out;
|
1585 |
+
}
|
1586 |
+
|
1587 |
+
40% {
|
1588 |
+
-webkit-transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -190deg);
|
1589 |
+
transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -190deg);
|
1590 |
+
-webkit-animation-timing-function: ease-out;
|
1591 |
+
animation-timing-function: ease-out;
|
1592 |
+
}
|
1593 |
+
|
1594 |
+
50% {
|
1595 |
+
-webkit-transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -170deg);
|
1596 |
+
transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -170deg);
|
1597 |
+
-webkit-animation-timing-function: ease-in;
|
1598 |
+
animation-timing-function: ease-in;
|
1599 |
+
}
|
1600 |
+
|
1601 |
+
80% {
|
1602 |
+
-webkit-transform: perspective(400px) scale3d(.95, .95, .95);
|
1603 |
+
transform: perspective(400px) scale3d(.95, .95, .95);
|
1604 |
+
-webkit-animation-timing-function: ease-in;
|
1605 |
+
animation-timing-function: ease-in;
|
1606 |
+
}
|
1607 |
+
|
1608 |
+
100% {
|
1609 |
+
-webkit-transform: perspective(400px);
|
1610 |
+
transform: perspective(400px);
|
1611 |
+
-webkit-animation-timing-function: ease-in;
|
1612 |
+
animation-timing-function: ease-in;
|
1613 |
+
}
|
1614 |
+
}
|
1615 |
+
|
1616 |
+
@keyframes flip {
|
1617 |
+
0% {
|
1618 |
+
-webkit-transform: perspective(400px) rotate3d(0, 1, 0, -360deg);
|
1619 |
+
transform: perspective(400px) rotate3d(0, 1, 0, -360deg);
|
1620 |
+
-webkit-animation-timing-function: ease-out;
|
1621 |
+
animation-timing-function: ease-out;
|
1622 |
+
}
|
1623 |
+
|
1624 |
+
40% {
|
1625 |
+
-webkit-transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -190deg);
|
1626 |
+
transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -190deg);
|
1627 |
+
-webkit-animation-timing-function: ease-out;
|
1628 |
+
animation-timing-function: ease-out;
|
1629 |
+
}
|
1630 |
+
|
1631 |
+
50% {
|
1632 |
+
-webkit-transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -170deg);
|
1633 |
+
transform: perspective(400px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -170deg);
|
1634 |
+
-webkit-animation-timing-function: ease-in;
|
1635 |
+
animation-timing-function: ease-in;
|
1636 |
+
}
|
1637 |
+
|
1638 |
+
80% {
|
1639 |
+
-webkit-transform: perspective(400px) scale3d(.95, .95, .95);
|
1640 |
+
transform: perspective(400px) scale3d(.95, .95, .95);
|
1641 |
+
-webkit-animation-timing-function: ease-in;
|
1642 |
+
animation-timing-function: ease-in;
|
1643 |
+
}
|
1644 |
+
|
1645 |
+
100% {
|
1646 |
+
-webkit-transform: perspective(400px);
|
1647 |
+
transform: perspective(400px);
|
1648 |
+
-webkit-animation-timing-function: ease-in;
|
1649 |
+
animation-timing-function: ease-in;
|
1650 |
+
}
|
1651 |
+
}
|
1652 |
+
|
1653 |
+
.animated.flip {
|
1654 |
+
-webkit-backface-visibility: visible;
|
1655 |
+
backface-visibility: visible;
|
1656 |
+
-webkit-animation-name: flip;
|
1657 |
+
animation-name: flip;
|
1658 |
+
}
|
1659 |
+
|
1660 |
+
@-webkit-keyframes flipInX {
|
1661 |
+
0% {
|
1662 |
+
-webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
|
1663 |
+
transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
|
1664 |
+
-webkit-transition-timing-function: ease-in;
|
1665 |
+
transition-timing-function: ease-in;
|
1666 |
+
opacity: 0;
|
1667 |
+
}
|
1668 |
+
|
1669 |
+
40% {
|
1670 |
+
-webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
|
1671 |
+
transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
|
1672 |
+
-webkit-transition-timing-function: ease-in;
|
1673 |
+
transition-timing-function: ease-in;
|
1674 |
+
}
|
1675 |
+
|
1676 |
+
60% {
|
1677 |
+
-webkit-transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
|
1678 |
+
transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
|
1679 |
+
opacity: 1;
|
1680 |
+
}
|
1681 |
+
|
1682 |
+
80% {
|
1683 |
+
-webkit-transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
|
1684 |
+
transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
|
1685 |
+
}
|
1686 |
+
|
1687 |
+
100% {
|
1688 |
+
-webkit-transform: perspective(400px);
|
1689 |
+
transform: perspective(400px);
|
1690 |
+
}
|
1691 |
+
}
|
1692 |
+
|
1693 |
+
@keyframes flipInX {
|
1694 |
+
0% {
|
1695 |
+
-webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
|
1696 |
+
transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
|
1697 |
+
-webkit-transition-timing-function: ease-in;
|
1698 |
+
transition-timing-function: ease-in;
|
1699 |
+
opacity: 0;
|
1700 |
+
}
|
1701 |
+
|
1702 |
+
40% {
|
1703 |
+
-webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
|
1704 |
+
transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
|
1705 |
+
-webkit-transition-timing-function: ease-in;
|
1706 |
+
transition-timing-function: ease-in;
|
1707 |
+
}
|
1708 |
+
|
1709 |
+
60% {
|
1710 |
+
-webkit-transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
|
1711 |
+
transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
|
1712 |
+
opacity: 1;
|
1713 |
+
}
|
1714 |
+
|
1715 |
+
80% {
|
1716 |
+
-webkit-transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
|
1717 |
+
transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
|
1718 |
+
}
|
1719 |
+
|
1720 |
+
100% {
|
1721 |
+
-webkit-transform: perspective(400px);
|
1722 |
+
transform: perspective(400px);
|
1723 |
+
}
|
1724 |
+
}
|
1725 |
+
|
1726 |
+
.flipInX {
|
1727 |
+
-webkit-backface-visibility: visible !important;
|
1728 |
+
backface-visibility: visible !important;
|
1729 |
+
-webkit-animation-name: flipInX;
|
1730 |
+
animation-name: flipInX;
|
1731 |
+
}
|
1732 |
+
|
1733 |
+
@-webkit-keyframes flipInY {
|
1734 |
+
0% {
|
1735 |
+
-webkit-transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
|
1736 |
+
transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
|
1737 |
+
-webkit-transition-timing-function: ease-in;
|
1738 |
+
transition-timing-function: ease-in;
|
1739 |
+
opacity: 0;
|
1740 |
+
}
|
1741 |
+
|
1742 |
+
40% {
|
1743 |
+
-webkit-transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
|
1744 |
+
transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
|
1745 |
+
-webkit-transition-timing-function: ease-in;
|
1746 |
+
transition-timing-function: ease-in;
|
1747 |
+
}
|
1748 |
+
|
1749 |
+
60% {
|
1750 |
+
-webkit-transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
|
1751 |
+
transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
|
1752 |
+
opacity: 1;
|
1753 |
+
}
|
1754 |
+
|
1755 |
+
80% {
|
1756 |
+
-webkit-transform: perspective(400px) rotate3d(0, 1, 0, -5deg);
|
1757 |
+
transform: perspective(400px) rotate3d(0, 1, 0, -5deg);
|
1758 |
+
}
|
1759 |
+
|
1760 |
+
100% {
|
1761 |
+
-webkit-transform: perspective(400px);
|
1762 |
+
transform: perspective(400px);
|
1763 |
+
}
|
1764 |
+
}
|
1765 |
+
|
1766 |
+
@keyframes flipInY {
|
1767 |
+
0% {
|
1768 |
+
-webkit-transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
|
1769 |
+
transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
|
1770 |
+
-webkit-transition-timing-function: ease-in;
|
1771 |
+
transition-timing-function: ease-in;
|
1772 |
+
opacity: 0;
|
1773 |
+
}
|
1774 |
+
|
1775 |
+
40% {
|
1776 |
+
-webkit-transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
|
1777 |
+
transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
|
1778 |
+
-webkit-transition-timing-function: ease-in;
|
1779 |
+
transition-timing-function: ease-in;
|
1780 |
+
}
|
1781 |
+
|
1782 |
+
60% {
|
1783 |
+
-webkit-transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
|
1784 |
+
transform: perspective(400px) rotate3d(0, 1, 0, 10deg);
|
1785 |
+
opacity: 1;
|
1786 |
+
}
|
1787 |
+
|
1788 |
+
80% {
|
1789 |
+
-webkit-transform: perspective(400px) rotate3d(0, 1, 0, -5deg);
|
1790 |
+
transform: perspective(400px) rotate3d(0, 1, 0, -5deg);
|
1791 |
+
}
|
1792 |
+
|
1793 |
+
100% {
|
1794 |
+
-webkit-transform: perspective(400px);
|
1795 |
+
transform: perspective(400px);
|
1796 |
+
}
|
1797 |
+
}
|
1798 |
+
|
1799 |
+
.flipInY {
|
1800 |
+
-webkit-backface-visibility: visible !important;
|
1801 |
+
backface-visibility: visible !important;
|
1802 |
+
-webkit-animation-name: flipInY;
|
1803 |
+
animation-name: flipInY;
|
1804 |
+
}
|
1805 |
+
|
1806 |
+
@-webkit-keyframes flipOutX {
|
1807 |
+
0% {
|
1808 |
+
-webkit-transform: perspective(400px);
|
1809 |
+
transform: perspective(400px);
|
1810 |
+
}
|
1811 |
+
|
1812 |
+
30% {
|
1813 |
+
-webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
|
1814 |
+
transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
|
1815 |
+
opacity: 1;
|
1816 |
+
}
|
1817 |
+
|
1818 |
+
100% {
|
1819 |
+
-webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
|
1820 |
+
transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
|
1821 |
+
opacity: 0;
|
1822 |
+
}
|
1823 |
+
}
|
1824 |
+
|
1825 |
+
@keyframes flipOutX {
|
1826 |
+
0% {
|
1827 |
+
-webkit-transform: perspective(400px);
|
1828 |
+
transform: perspective(400px);
|
1829 |
+
}
|
1830 |
+
|
1831 |
+
30% {
|
1832 |
+
-webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
|
1833 |
+
transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
|
1834 |
+
opacity: 1;
|
1835 |
+
}
|
1836 |
+
|
1837 |
+
100% {
|
1838 |
+
-webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
|
1839 |
+
transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
|
1840 |
+
opacity: 0;
|
1841 |
+
}
|
1842 |
+
}
|
1843 |
+
|
1844 |
+
.flipOutX {
|
1845 |
+
-webkit-animation-name: flipOutX;
|
1846 |
+
animation-name: flipOutX;
|
1847 |
+
-webkit-animation-duration: .75s;
|
1848 |
+
animation-duration: .75s;
|
1849 |
+
-webkit-backface-visibility: visible !important;
|
1850 |
+
backface-visibility: visible !important;
|
1851 |
+
}
|
1852 |
+
|
1853 |
+
@-webkit-keyframes flipOutY {
|
1854 |
+
0% {
|
1855 |
+
-webkit-transform: perspective(400px);
|
1856 |
+
transform: perspective(400px);
|
1857 |
+
}
|
1858 |
+
|
1859 |
+
30% {
|
1860 |
+
-webkit-transform: perspective(400px) rotate3d(0, 1, 0, -15deg);
|
1861 |
+
transform: perspective(400px) rotate3d(0, 1, 0, -15deg);
|
1862 |
+
opacity: 1;
|
1863 |
+
}
|
1864 |
+
|
1865 |
+
100% {
|
1866 |
+
-webkit-transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
|
1867 |
+
transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
|
1868 |
+
opacity: 0;
|
1869 |
+
}
|
1870 |
+
}
|
1871 |
+
|
1872 |
+
@keyframes flipOutY {
|
1873 |
+
0% {
|
1874 |
+
-webkit-transform: perspective(400px);
|
1875 |
+
transform: perspective(400px);
|
1876 |
+
}
|
1877 |
+
|
1878 |
+
30% {
|
1879 |
+
-webkit-transform: perspective(400px) rotate3d(0, 1, 0, -15deg);
|
1880 |
+
transform: perspective(400px) rotate3d(0, 1, 0, -15deg);
|
1881 |
+
opacity: 1;
|
1882 |
+
}
|
1883 |
+
|
1884 |
+
100% {
|
1885 |
+
-webkit-transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
|
1886 |
+
transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
|
1887 |
+
opacity: 0;
|
1888 |
+
}
|
1889 |
+
}
|
1890 |
+
|
1891 |
+
.flipOutY {
|
1892 |
+
-webkit-backface-visibility: visible !important;
|
1893 |
+
backface-visibility: visible !important;
|
1894 |
+
-webkit-animation-name: flipOutY;
|
1895 |
+
animation-name: flipOutY;
|
1896 |
+
-webkit-animation-duration: .75s;
|
1897 |
+
animation-duration: .75s;
|
1898 |
+
}
|
1899 |
+
|
1900 |
+
@-webkit-keyframes lightSpeedIn {
|
1901 |
+
0% {
|
1902 |
+
-webkit-transform: translate3d(100%, 0, 0) skewX(-30deg);
|
1903 |
+
transform: translate3d(100%, 0, 0) skewX(-30deg);
|
1904 |
+
opacity: 0;
|
1905 |
+
}
|
1906 |
+
|
1907 |
+
60% {
|
1908 |
+
-webkit-transform: skewX(20deg);
|
1909 |
+
transform: skewX(20deg);
|
1910 |
+
opacity: 1;
|
1911 |
+
}
|
1912 |
+
|
1913 |
+
80% {
|
1914 |
+
-webkit-transform: skewX(-5deg);
|
1915 |
+
transform: skewX(-5deg);
|
1916 |
+
opacity: 1;
|
1917 |
+
}
|
1918 |
+
|
1919 |
+
100% {
|
1920 |
+
-webkit-transform: none;
|
1921 |
+
transform: none;
|
1922 |
+
opacity: 1;
|
1923 |
+
}
|
1924 |
+
}
|
1925 |
+
|
1926 |
+
@keyframes lightSpeedIn {
|
1927 |
+
0% {
|
1928 |
+
-webkit-transform: translate3d(100%, 0, 0) skewX(-30deg);
|
1929 |
+
transform: translate3d(100%, 0, 0) skewX(-30deg);
|
1930 |
+
opacity: 0;
|
1931 |
+
}
|
1932 |
+
|
1933 |
+
60% {
|
1934 |
+
-webkit-transform: skewX(20deg);
|
1935 |
+
transform: skewX(20deg);
|
1936 |
+
opacity: 1;
|
1937 |
+
}
|
1938 |
+
|
1939 |
+
80% {
|
1940 |
+
-webkit-transform: skewX(-5deg);
|
1941 |
+
transform: skewX(-5deg);
|
1942 |
+
opacity: 1;
|
1943 |
+
}
|
1944 |
+
|
1945 |
+
100% {
|
1946 |
+
-webkit-transform: none;
|
1947 |
+
transform: none;
|
1948 |
+
opacity: 1;
|
1949 |
+
}
|
1950 |
+
}
|
1951 |
+
|
1952 |
+
.lightSpeedIn {
|
1953 |
+
-webkit-animation-name: lightSpeedIn;
|
1954 |
+
animation-name: lightSpeedIn;
|
1955 |
+
-webkit-animation-timing-function: ease-out;
|
1956 |
+
animation-timing-function: ease-out;
|
1957 |
+
}
|
1958 |
+
|
1959 |
+
@-webkit-keyframes lightSpeedOut {
|
1960 |
+
0% {
|
1961 |
+
opacity: 1;
|
1962 |
+
}
|
1963 |
+
|
1964 |
+
100% {
|
1965 |
+
-webkit-transform: translate3d(100%, 0, 0) skewX(30deg);
|
1966 |
+
transform: translate3d(100%, 0, 0) skewX(30deg);
|
1967 |
+
opacity: 0;
|
1968 |
+
}
|
1969 |
+
}
|
1970 |
+
|
1971 |
+
@keyframes lightSpeedOut {
|
1972 |
+
0% {
|
1973 |
+
opacity: 1;
|
1974 |
+
}
|
1975 |
+
|
1976 |
+
100% {
|
1977 |
+
-webkit-transform: translate3d(100%, 0, 0) skewX(30deg);
|
1978 |
+
transform: translate3d(100%, 0, 0) skewX(30deg);
|
1979 |
+
opacity: 0;
|
1980 |
+
}
|
1981 |
+
}
|
1982 |
+
|
1983 |
+
.lightSpeedOut {
|
1984 |
+
-webkit-animation-name: lightSpeedOut;
|
1985 |
+
animation-name: lightSpeedOut;
|
1986 |
+
-webkit-animation-timing-function: ease-in;
|
1987 |
+
animation-timing-function: ease-in;
|
1988 |
+
}
|
1989 |
+
|
1990 |
+
@-webkit-keyframes rotateIn {
|
1991 |
+
0% {
|
1992 |
+
-webkit-transform-origin: center;
|
1993 |
+
transform-origin: center;
|
1994 |
+
-webkit-transform: rotate3d(0, 0, 1, -200deg);
|
1995 |
+
transform: rotate3d(0, 0, 1, -200deg);
|
1996 |
+
opacity: 0;
|
1997 |
+
}
|
1998 |
+
|
1999 |
+
100% {
|
2000 |
+
-webkit-transform-origin: center;
|
2001 |
+
transform-origin: center;
|
2002 |
+
-webkit-transform: none;
|
2003 |
+
transform: none;
|
2004 |
+
opacity: 1;
|
2005 |
+
}
|
2006 |
+
}
|
2007 |
+
|
2008 |
+
@keyframes rotateIn {
|
2009 |
+
0% {
|
2010 |
+
-webkit-transform-origin: center;
|
2011 |
+
transform-origin: center;
|
2012 |
+
-webkit-transform: rotate3d(0, 0, 1, -200deg);
|
2013 |
+
transform: rotate3d(0, 0, 1, -200deg);
|
2014 |
+
opacity: 0;
|
2015 |
+
}
|
2016 |
+
|
2017 |
+
100% {
|
2018 |
+
-webkit-transform-origin: center;
|
2019 |
+
transform-origin: center;
|
2020 |
+
-webkit-transform: none;
|
2021 |
+
transform: none;
|
2022 |
+
opacity: 1;
|
2023 |
+
}
|
2024 |
+
}
|
2025 |
+
|
2026 |
+
.rotateIn {
|
2027 |
+
-webkit-animation-name: rotateIn;
|
2028 |
+
animation-name: rotateIn;
|
2029 |
+
}
|
2030 |
+
|
2031 |
+
@-webkit-keyframes rotateInDownLeft {
|
2032 |
+
0% {
|
2033 |
+
-webkit-transform-origin: left bottom;
|
2034 |
+
transform-origin: left bottom;
|
2035 |
+
-webkit-transform: rotate3d(0, 0, 1, -45deg);
|
2036 |
+
transform: rotate3d(0, 0, 1, -45deg);
|
2037 |
+
opacity: 0;
|
2038 |
+
}
|
2039 |
+
|
2040 |
+
100% {
|
2041 |
+
-webkit-transform-origin: left bottom;
|
2042 |
+
transform-origin: left bottom;
|
2043 |
+
-webkit-transform: none;
|
2044 |
+
transform: none;
|
2045 |
+
opacity: 1;
|
2046 |
+
}
|
2047 |
+
}
|
2048 |
+
|
2049 |
+
@keyframes rotateInDownLeft {
|
2050 |
+
0% {
|
2051 |
+
-webkit-transform-origin: left bottom;
|
2052 |
+
transform-origin: left bottom;
|
2053 |
+
-webkit-transform: rotate3d(0, 0, 1, -45deg);
|
2054 |
+
transform: rotate3d(0, 0, 1, -45deg);
|
2055 |
+
opacity: 0;
|
2056 |
+
}
|
2057 |
+
|
2058 |
+
100% {
|
2059 |
+
-webkit-transform-origin: left bottom;
|
2060 |
+
transform-origin: left bottom;
|
2061 |
+
-webkit-transform: none;
|
2062 |
+
transform: none;
|
2063 |
+
opacity: 1;
|
2064 |
+
}
|
2065 |
+
}
|
2066 |
+
|
2067 |
+
.rotateInDownLeft {
|
2068 |
+
-webkit-animation-name: rotateInDownLeft;
|
2069 |
+
animation-name: rotateInDownLeft;
|
2070 |
+
}
|
2071 |
+
|
2072 |
+
@-webkit-keyframes rotateInDownRight {
|
2073 |
+
0% {
|
2074 |
+
-webkit-transform-origin: right bottom;
|
2075 |
+
transform-origin: right bottom;
|
2076 |
+
-webkit-transform: rotate3d(0, 0, 1, 45deg);
|
2077 |
+
transform: rotate3d(0, 0, 1, 45deg);
|
2078 |
+
opacity: 0;
|
2079 |
+
}
|
2080 |
+
|
2081 |
+
100% {
|
2082 |
+
-webkit-transform-origin: right bottom;
|
2083 |
+
transform-origin: right bottom;
|
2084 |
+
-webkit-transform: none;
|
2085 |
+
transform: none;
|
2086 |
+
opacity: 1;
|
2087 |
+
}
|
2088 |
+
}
|
2089 |
+
|
2090 |
+
@keyframes rotateInDownRight {
|
2091 |
+
0% {
|
2092 |
+
-webkit-transform-origin: right bottom;
|
2093 |
+
transform-origin: right bottom;
|
2094 |
+
-webkit-transform: rotate3d(0, 0, 1, 45deg);
|
2095 |
+
transform: rotate3d(0, 0, 1, 45deg);
|
2096 |
+
opacity: 0;
|
2097 |
+
}
|
2098 |
+
|
2099 |
+
100% {
|
2100 |
+
-webkit-transform-origin: right bottom;
|
2101 |
+
transform-origin: right bottom;
|
2102 |
+
-webkit-transform: none;
|
2103 |
+
transform: none;
|
2104 |
+
opacity: 1;
|
2105 |
+
}
|
2106 |
+
}
|
2107 |
+
|
2108 |
+
.rotateInDownRight {
|
2109 |
+
-webkit-animation-name: rotateInDownRight;
|
2110 |
+
animation-name: rotateInDownRight;
|
2111 |
+
}
|
2112 |
+
|
2113 |
+
@-webkit-keyframes rotateInUpLeft {
|
2114 |
+
0% {
|
2115 |
+
-webkit-transform-origin: left bottom;
|
2116 |
+
transform-origin: left bottom;
|
2117 |
+
-webkit-transform: rotate3d(0, 0, 1, 45deg);
|
2118 |
+
transform: rotate3d(0, 0, 1, 45deg);
|
2119 |
+
opacity: 0;
|
2120 |
+
}
|
2121 |
+
|
2122 |
+
100% {
|
2123 |
+
-webkit-transform-origin: left bottom;
|
2124 |
+
transform-origin: left bottom;
|
2125 |
+
-webkit-transform: none;
|
2126 |
+
transform: none;
|
2127 |
+
opacity: 1;
|
2128 |
+
}
|
2129 |
+
}
|
2130 |
+
|
2131 |
+
@keyframes rotateInUpLeft {
|
2132 |
+
0% {
|
2133 |
+
-webkit-transform-origin: left bottom;
|
2134 |
+
transform-origin: left bottom;
|
2135 |
+
-webkit-transform: rotate3d(0, 0, 1, 45deg);
|
2136 |
+
transform: rotate3d(0, 0, 1, 45deg);
|
2137 |
+
opacity: 0;
|
2138 |
+
}
|
2139 |
+
|
2140 |
+
100% {
|
2141 |
+
-webkit-transform-origin: left bottom;
|
2142 |
+
transform-origin: left bottom;
|
2143 |
+
-webkit-transform: none;
|
2144 |
+
transform: none;
|
2145 |
+
opacity: 1;
|
2146 |
+
}
|
2147 |
+
}
|
2148 |
+
|
2149 |
+
.rotateInUpLeft {
|
2150 |
+
-webkit-animation-name: rotateInUpLeft;
|
2151 |
+
animation-name: rotateInUpLeft;
|
2152 |
+
}
|
2153 |
+
|
2154 |
+
@-webkit-keyframes rotateInUpRight {
|
2155 |
+
0% {
|
2156 |
+
-webkit-transform-origin: right bottom;
|
2157 |
+
transform-origin: right bottom;
|
2158 |
+
-webkit-transform: rotate3d(0, 0, 1, -90deg);
|
2159 |
+
transform: rotate3d(0, 0, 1, -90deg);
|
2160 |
+
opacity: 0;
|
2161 |
+
}
|
2162 |
+
|
2163 |
+
100% {
|
2164 |
+
-webkit-transform-origin: right bottom;
|
2165 |
+
transform-origin: right bottom;
|
2166 |
+
-webkit-transform: none;
|
2167 |
+
transform: none;
|
2168 |
+
opacity: 1;
|
2169 |
+
}
|
2170 |
+
}
|
2171 |
+
|
2172 |
+
@keyframes rotateInUpRight {
|
2173 |
+
0% {
|
2174 |
+
-webkit-transform-origin: right bottom;
|
2175 |
+
transform-origin: right bottom;
|
2176 |
+
-webkit-transform: rotate3d(0, 0, 1, -90deg);
|
2177 |
+
transform: rotate3d(0, 0, 1, -90deg);
|
2178 |
+
opacity: 0;
|
2179 |
+
}
|
2180 |
+
|
2181 |
+
100% {
|
2182 |
+
-webkit-transform-origin: right bottom;
|
2183 |
+
transform-origin: right bottom;
|
2184 |
+
-webkit-transform: none;
|
2185 |
+
transform: none;
|
2186 |
+
opacity: 1;
|
2187 |
+
}
|
2188 |
+
}
|
2189 |
+
|
2190 |
+
.rotateInUpRight {
|
2191 |
+
-webkit-animation-name: rotateInUpRight;
|
2192 |
+
animation-name: rotateInUpRight;
|
2193 |
+
}
|
2194 |
+
|
2195 |
+
@-webkit-keyframes rotateOut {
|
2196 |
+
0% {
|
2197 |
+
-webkit-transform-origin: center;
|
2198 |
+
transform-origin: center;
|
2199 |
+
opacity: 1;
|
2200 |
+
}
|
2201 |
+
|
2202 |
+
100% {
|
2203 |
+
-webkit-transform-origin: center;
|
2204 |
+
transform-origin: center;
|
2205 |
+
-webkit-transform: rotate3d(0, 0, 1, 200deg);
|
2206 |
+
transform: rotate3d(0, 0, 1, 200deg);
|
2207 |
+
opacity: 0;
|
2208 |
+
}
|
2209 |
+
}
|
2210 |
+
|
2211 |
+
@keyframes rotateOut {
|
2212 |
+
0% {
|
2213 |
+
-webkit-transform-origin: center;
|
2214 |
+
transform-origin: center;
|
2215 |
+
opacity: 1;
|
2216 |
+
}
|
2217 |
+
|
2218 |
+
100% {
|
2219 |
+
-webkit-transform-origin: center;
|
2220 |
+
transform-origin: center;
|
2221 |
+
-webkit-transform: rotate3d(0, 0, 1, 200deg);
|
2222 |
+
transform: rotate3d(0, 0, 1, 200deg);
|
2223 |
+
opacity: 0;
|
2224 |
+
}
|
2225 |
+
}
|
2226 |
+
|
2227 |
+
.rotateOut {
|
2228 |
+
-webkit-animation-name: rotateOut;
|
2229 |
+
animation-name: rotateOut;
|
2230 |
+
}
|
2231 |
+
|
2232 |
+
@-webkit-keyframes rotateOutDownLeft {
|
2233 |
+
0% {
|
2234 |
+
-webkit-transform-origin: left bottom;
|
2235 |
+
transform-origin: left bottom;
|
2236 |
+
opacity: 1;
|
2237 |
+
}
|
2238 |
+
|
2239 |
+
100% {
|
2240 |
+
-webkit-transform-origin: left bottom;
|
2241 |
+
transform-origin: left bottom;
|
2242 |
+
-webkit-transform: rotate3d(0, 0, 1, 45deg);
|
2243 |
+
transform: rotate3d(0, 0, 1, 45deg);
|
2244 |
+
opacity: 0;
|
2245 |
+
}
|
2246 |
+
}
|
2247 |
+
|
2248 |
+
@keyframes rotateOutDownLeft {
|
2249 |
+
0% {
|
2250 |
+
-webkit-transform-origin: left bottom;
|
2251 |
+
transform-origin: left bottom;
|
2252 |
+
opacity: 1;
|
2253 |
+
}
|
2254 |
+
|
2255 |
+
100% {
|
2256 |
+
-webkit-transform-origin: left bottom;
|
2257 |
+
transform-origin: left bottom;
|
2258 |
+
-webkit-transform: rotate3d(0, 0, 1, 45deg);
|
2259 |
+
transform: rotate3d(0, 0, 1, 45deg);
|
2260 |
+
opacity: 0;
|
2261 |
+
}
|
2262 |
+
}
|
2263 |
+
|
2264 |
+
.rotateOutDownLeft {
|
2265 |
+
-webkit-animation-name: rotateOutDownLeft;
|
2266 |
+
animation-name: rotateOutDownLeft;
|
2267 |
+
}
|
2268 |
+
|
2269 |
+
@-webkit-keyframes rotateOutDownRight {
|
2270 |
+
0% {
|
2271 |
+
-webkit-transform-origin: right bottom;
|
2272 |
+
transform-origin: right bottom;
|
2273 |
+
opacity: 1;
|
2274 |
+
}
|
2275 |
+
|
2276 |
+
100% {
|
2277 |
+
-webkit-transform-origin: right bottom;
|
2278 |
+
transform-origin: right bottom;
|
2279 |
+
-webkit-transform: rotate3d(0, 0, 1, -45deg);
|
2280 |
+
transform: rotate3d(0, 0, 1, -45deg);
|
2281 |
+
opacity: 0;
|
2282 |
+
}
|
2283 |
+
}
|
2284 |
+
|
2285 |
+
@keyframes rotateOutDownRight {
|
2286 |
+
0% {
|
2287 |
+
-webkit-transform-origin: right bottom;
|
2288 |
+
transform-origin: right bottom;
|
2289 |
+
opacity: 1;
|
2290 |
+
}
|
2291 |
+
|
2292 |
+
100% {
|
2293 |
+
-webkit-transform-origin: right bottom;
|
2294 |
+
transform-origin: right bottom;
|
2295 |
+
-webkit-transform: rotate3d(0, 0, 1, -45deg);
|
2296 |
+
transform: rotate3d(0, 0, 1, -45deg);
|
2297 |
+
opacity: 0;
|
2298 |
+
}
|
2299 |
+
}
|
2300 |
+
|
2301 |
+
.rotateOutDownRight {
|
2302 |
+
-webkit-animation-name: rotateOutDownRight;
|
2303 |
+
animation-name: rotateOutDownRight;
|
2304 |
+
}
|
2305 |
+
|
2306 |
+
@-webkit-keyframes rotateOutUpLeft {
|
2307 |
+
0% {
|
2308 |
+
-webkit-transform-origin: left bottom;
|
2309 |
+
transform-origin: left bottom;
|
2310 |
+
opacity: 1;
|
2311 |
+
}
|
2312 |
+
|
2313 |
+
100% {
|
2314 |
+
-webkit-transform-origin: left bottom;
|
2315 |
+
transform-origin: left bottom;
|
2316 |
+
-webkit-transform: rotate3d(0, 0, 1, -45deg);
|
2317 |
+
transform: rotate3d(0, 0, 1, -45deg);
|
2318 |
+
opacity: 0;
|
2319 |
+
}
|
2320 |
+
}
|
2321 |
+
|
2322 |
+
@keyframes rotateOutUpLeft {
|
2323 |
+
0% {
|
2324 |
+
-webkit-transform-origin: left bottom;
|
2325 |
+
transform-origin: left bottom;
|
2326 |
+
opacity: 1;
|
2327 |
+
}
|
2328 |
+
|
2329 |
+
100% {
|
2330 |
+
-webkit-transform-origin: left bottom;
|
2331 |
+
transform-origin: left bottom;
|
2332 |
+
-webkit-transform: rotate3d(0, 0, 1, -45deg);
|
2333 |
+
transform: rotate3d(0, 0, 1, -45deg);
|
2334 |
+
opacity: 0;
|
2335 |
+
}
|
2336 |
+
}
|
2337 |
+
|
2338 |
+
.rotateOutUpLeft {
|
2339 |
+
-webkit-animation-name: rotateOutUpLeft;
|
2340 |
+
animation-name: rotateOutUpLeft;
|
2341 |
+
}
|
2342 |
+
|
2343 |
+
@-webkit-keyframes rotateOutUpRight {
|
2344 |
+
0% {
|
2345 |
+
-webkit-transform-origin: right bottom;
|
2346 |
+
transform-origin: right bottom;
|
2347 |
+
opacity: 1;
|
2348 |
+
}
|
2349 |
+
|
2350 |
+
100% {
|
2351 |
+
-webkit-transform-origin: right bottom;
|
2352 |
+
transform-origin: right bottom;
|
2353 |
+
-webkit-transform: rotate3d(0, 0, 1, 90deg);
|
2354 |
+
transform: rotate3d(0, 0, 1, 90deg);
|
2355 |
+
opacity: 0;
|
2356 |
+
}
|
2357 |
+
}
|
2358 |
+
|
2359 |
+
@keyframes rotateOutUpRight {
|
2360 |
+
0% {
|
2361 |
+
-webkit-transform-origin: right bottom;
|
2362 |
+
transform-origin: right bottom;
|
2363 |
+
opacity: 1;
|
2364 |
+
}
|
2365 |
+
|
2366 |
+
100% {
|
2367 |
+
-webkit-transform-origin: right bottom;
|
2368 |
+
transform-origin: right bottom;
|
2369 |
+
-webkit-transform: rotate3d(0, 0, 1, 90deg);
|
2370 |
+
transform: rotate3d(0, 0, 1, 90deg);
|
2371 |
+
opacity: 0;
|
2372 |
+
}
|
2373 |
+
}
|
2374 |
+
|
2375 |
+
.rotateOutUpRight {
|
2376 |
+
-webkit-animation-name: rotateOutUpRight;
|
2377 |
+
animation-name: rotateOutUpRight;
|
2378 |
+
}
|
2379 |
+
|
2380 |
+
@-webkit-keyframes hinge {
|
2381 |
+
0% {
|
2382 |
+
-webkit-transform-origin: top left;
|
2383 |
+
transform-origin: top left;
|
2384 |
+
-webkit-animation-timing-function: ease-in-out;
|
2385 |
+
animation-timing-function: ease-in-out;
|
2386 |
+
}
|
2387 |
+
|
2388 |
+
20%, 60% {
|
2389 |
+
-webkit-transform: rotate3d(0, 0, 1, 80deg);
|
2390 |
+
transform: rotate3d(0, 0, 1, 80deg);
|
2391 |
+
-webkit-transform-origin: top left;
|
2392 |
+
transform-origin: top left;
|
2393 |
+
-webkit-animation-timing-function: ease-in-out;
|
2394 |
+
animation-timing-function: ease-in-out;
|
2395 |
+
}
|
2396 |
+
|
2397 |
+
40%, 80% {
|
2398 |
+
-webkit-transform: rotate3d(0, 0, 1, 60deg);
|
2399 |
+
transform: rotate3d(0, 0, 1, 60deg);
|
2400 |
+
-webkit-transform-origin: top left;
|
2401 |
+
transform-origin: top left;
|
2402 |
+
-webkit-animation-timing-function: ease-in-out;
|
2403 |
+
animation-timing-function: ease-in-out;
|
2404 |
+
opacity: 1;
|
2405 |
+
}
|
2406 |
+
|
2407 |
+
100% {
|
2408 |
+
-webkit-transform: translate3d(0, 700px, 0);
|
2409 |
+
transform: translate3d(0, 700px, 0);
|
2410 |
+
opacity: 0;
|
2411 |
+
}
|
2412 |
+
}
|
2413 |
+
|
2414 |
+
@keyframes hinge {
|
2415 |
+
0% {
|
2416 |
+
-webkit-transform-origin: top left;
|
2417 |
+
transform-origin: top left;
|
2418 |
+
-webkit-animation-timing-function: ease-in-out;
|
2419 |
+
animation-timing-function: ease-in-out;
|
2420 |
+
}
|
2421 |
+
|
2422 |
+
20%, 60% {
|
2423 |
+
-webkit-transform: rotate3d(0, 0, 1, 80deg);
|
2424 |
+
transform: rotate3d(0, 0, 1, 80deg);
|
2425 |
+
-webkit-transform-origin: top left;
|
2426 |
+
transform-origin: top left;
|
2427 |
+
-webkit-animation-timing-function: ease-in-out;
|
2428 |
+
animation-timing-function: ease-in-out;
|
2429 |
+
}
|
2430 |
+
|
2431 |
+
40%, 80% {
|
2432 |
+
-webkit-transform: rotate3d(0, 0, 1, 60deg);
|
2433 |
+
transform: rotate3d(0, 0, 1, 60deg);
|
2434 |
+
-webkit-transform-origin: top left;
|
2435 |
+
transform-origin: top left;
|
2436 |
+
-webkit-animation-timing-function: ease-in-out;
|
2437 |
+
animation-timing-function: ease-in-out;
|
2438 |
+
opacity: 1;
|
2439 |
+
}
|
2440 |
+
|
2441 |
+
100% {
|
2442 |
+
-webkit-transform: translate3d(0, 700px, 0);
|
2443 |
+
transform: translate3d(0, 700px, 0);
|
2444 |
+
opacity: 0;
|
2445 |
+
}
|
2446 |
+
}
|
2447 |
+
|
2448 |
+
.hinge {
|
2449 |
+
-webkit-animation-name: hinge;
|
2450 |
+
animation-name: hinge;
|
2451 |
+
}
|
2452 |
+
|
2453 |
+
/* originally authored by Nick Pettit - https://github.com/nickpettit/glide */
|
2454 |
+
|
2455 |
+
@-webkit-keyframes rollIn {
|
2456 |
+
0% {
|
2457 |
+
opacity: 0;
|
2458 |
+
-webkit-transform: translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg);
|
2459 |
+
transform: translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg);
|
2460 |
+
}
|
2461 |
+
|
2462 |
+
100% {
|
2463 |
+
opacity: 1;
|
2464 |
+
-webkit-transform: none;
|
2465 |
+
transform: none;
|
2466 |
+
}
|
2467 |
+
}
|
2468 |
+
|
2469 |
+
@keyframes rollIn {
|
2470 |
+
0% {
|
2471 |
+
opacity: 0;
|
2472 |
+
-webkit-transform: translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg);
|
2473 |
+
transform: translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg);
|
2474 |
+
}
|
2475 |
+
|
2476 |
+
100% {
|
2477 |
+
opacity: 1;
|
2478 |
+
-webkit-transform: none;
|
2479 |
+
transform: none;
|
2480 |
+
}
|
2481 |
+
}
|
2482 |
+
|
2483 |
+
.rollIn {
|
2484 |
+
-webkit-animation-name: rollIn;
|
2485 |
+
animation-name: rollIn;
|
2486 |
+
}
|
2487 |
+
|
2488 |
+
/* originally authored by Nick Pettit - https://github.com/nickpettit/glide */
|
2489 |
+
|
2490 |
+
@-webkit-keyframes rollOut {
|
2491 |
+
0% {
|
2492 |
+
opacity: 1;
|
2493 |
+
}
|
2494 |
+
|
2495 |
+
100% {
|
2496 |
+
opacity: 0;
|
2497 |
+
-webkit-transform: translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg);
|
2498 |
+
transform: translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg);
|
2499 |
+
}
|
2500 |
+
}
|
2501 |
+
|
2502 |
+
@keyframes rollOut {
|
2503 |
+
0% {
|
2504 |
+
opacity: 1;
|
2505 |
+
}
|
2506 |
+
|
2507 |
+
100% {
|
2508 |
+
opacity: 0;
|
2509 |
+
-webkit-transform: translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg);
|
2510 |
+
transform: translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg);
|
2511 |
+
}
|
2512 |
+
}
|
2513 |
+
|
2514 |
+
.rollOut {
|
2515 |
+
-webkit-animation-name: rollOut;
|
2516 |
+
animation-name: rollOut;
|
2517 |
+
}
|
2518 |
+
|
2519 |
+
@-webkit-keyframes zoomIn {
|
2520 |
+
0% {
|
2521 |
+
opacity: 0;
|
2522 |
+
-webkit-transform: scale3d(.3, .3, .3);
|
2523 |
+
transform: scale3d(.3, .3, .3);
|
2524 |
+
}
|
2525 |
+
|
2526 |
+
50% {
|
2527 |
+
opacity: 1;
|
2528 |
+
}
|
2529 |
+
}
|
2530 |
+
|
2531 |
+
@keyframes zoomIn {
|
2532 |
+
0% {
|
2533 |
+
opacity: 0;
|
2534 |
+
-webkit-transform: scale3d(.3, .3, .3);
|
2535 |
+
transform: scale3d(.3, .3, .3);
|
2536 |
+
}
|
2537 |
+
|
2538 |
+
50% {
|
2539 |
+
opacity: 1;
|
2540 |
+
}
|
2541 |
+
}
|
2542 |
+
|
2543 |
+
.zoomIn {
|
2544 |
+
-webkit-animation-name: zoomIn;
|
2545 |
+
animation-name: zoomIn;
|
2546 |
+
}
|
2547 |
+
|
2548 |
+
@-webkit-keyframes zoomInDown {
|
2549 |
+
0% {
|
2550 |
+
opacity: 0;
|
2551 |
+
-webkit-transform: scale3d(.1, .1, .1) translate3d(0, -1000px, 0);
|
2552 |
+
transform: scale3d(.1, .1, .1) translate3d(0, -1000px, 0);
|
2553 |
+
-webkit-animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
|
2554 |
+
animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
|
2555 |
+
}
|
2556 |
+
|
2557 |
+
60% {
|
2558 |
+
opacity: 1;
|
2559 |
+
-webkit-transform: scale3d(.475, .475, .475) translate3d(0, 60px, 0);
|
2560 |
+
transform: scale3d(.475, .475, .475) translate3d(0, 60px, 0);
|
2561 |
+
-webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
|
2562 |
+
animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
|
2563 |
+
}
|
2564 |
+
}
|
2565 |
+
|
2566 |
+
@keyframes zoomInDown {
|
2567 |
+
0% {
|
2568 |
+
opacity: 0;
|
2569 |
+
-webkit-transform: scale3d(.1, .1, .1) translate3d(0, -1000px, 0);
|
2570 |
+
transform: scale3d(.1, .1, .1) translate3d(0, -1000px, 0);
|
2571 |
+
-webkit-animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
|
2572 |
+
animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
|
2573 |
+
}
|
2574 |
+
|
2575 |
+
60% {
|
2576 |
+
opacity: 1;
|
2577 |
+
-webkit-transform: scale3d(.475, .475, .475) translate3d(0, 60px, 0);
|
2578 |
+
transform: scale3d(.475, .475, .475) translate3d(0, 60px, 0);
|
2579 |
+
-webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
|
2580 |
+
animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
|
2581 |
+
}
|
2582 |
+
}
|
2583 |
+
|
2584 |
+
.zoomInDown {
|
2585 |
+
-webkit-animation-name: zoomInDown;
|
2586 |
+
animation-name: zoomInDown;
|
2587 |
+
}
|
2588 |
+
|
2589 |
+
@-webkit-keyframes zoomInLeft {
|
2590 |
+
0% {
|
2591 |
+
opacity: 0;
|
2592 |
+
-webkit-transform: scale3d(.1, .1, .1) translate3d(-1000px, 0, 0);
|
2593 |
+
transform: scale3d(.1, .1, .1) translate3d(-1000px, 0, 0);
|
2594 |
+
-webkit-animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
|
2595 |
+
animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
|
2596 |
+
}
|
2597 |
+
|
2598 |
+
60% {
|
2599 |
+
opacity: 1;
|
2600 |
+
-webkit-transform: scale3d(.475, .475, .475) translate3d(10px, 0, 0);
|
2601 |
+
transform: scale3d(.475, .475, .475) translate3d(10px, 0, 0);
|
2602 |
+
-webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
|
2603 |
+
animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
|
2604 |
+
}
|
2605 |
+
}
|
2606 |
+
|
2607 |
+
@keyframes zoomInLeft {
|
2608 |
+
0% {
|
2609 |
+
opacity: 0;
|
2610 |
+
-webkit-transform: scale3d(.1, .1, .1) translate3d(-1000px, 0, 0);
|
2611 |
+
transform: scale3d(.1, .1, .1) translate3d(-1000px, 0, 0);
|
2612 |
+
-webkit-animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
|
2613 |
+
animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
|
2614 |
+
}
|
2615 |
+
|
2616 |
+
60% {
|
2617 |
+
opacity: 1;
|
2618 |
+
-webkit-transform: scale3d(.475, .475, .475) translate3d(10px, 0, 0);
|
2619 |
+
transform: scale3d(.475, .475, .475) translate3d(10px, 0, 0);
|
2620 |
+
-webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
|
2621 |
+
animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
|
2622 |
+
}
|
2623 |
+
}
|
2624 |
+
|
2625 |
+
.zoomInLeft {
|
2626 |
+
-webkit-animation-name: zoomInLeft;
|
2627 |
+
animation-name: zoomInLeft;
|
2628 |
+
}
|
2629 |
+
|
2630 |
+
@-webkit-keyframes zoomInRight {
|
2631 |
+
0% {
|
2632 |
+
opacity: 0;
|
2633 |
+
-webkit-transform: scale3d(.1, .1, .1) translate3d(1000px, 0, 0);
|
2634 |
+
transform: scale3d(.1, .1, .1) translate3d(1000px, 0, 0);
|
2635 |
+
-webkit-animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
|
2636 |
+
animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
|
2637 |
+
}
|
2638 |
+
|
2639 |
+
60% {
|
2640 |
+
opacity: 1;
|
2641 |
+
-webkit-transform: scale3d(.475, .475, .475) translate3d(-10px, 0, 0);
|
2642 |
+
transform: scale3d(.475, .475, .475) translate3d(-10px, 0, 0);
|
2643 |
+
-webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
|
2644 |
+
animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
|
2645 |
+
}
|
2646 |
+
}
|
2647 |
+
|
2648 |
+
@keyframes zoomInRight {
|
2649 |
+
0% {
|
2650 |
+
opacity: 0;
|
2651 |
+
-webkit-transform: scale3d(.1, .1, .1) translate3d(1000px, 0, 0);
|
2652 |
+
transform: scale3d(.1, .1, .1) translate3d(1000px, 0, 0);
|
2653 |
+
-webkit-animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
|
2654 |
+
animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
|
2655 |
+
}
|
2656 |
+
|
2657 |
+
60% {
|
2658 |
+
opacity: 1;
|
2659 |
+
-webkit-transform: scale3d(.475, .475, .475) translate3d(-10px, 0, 0);
|
2660 |
+
transform: scale3d(.475, .475, .475) translate3d(-10px, 0, 0);
|
2661 |
+
-webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
|
2662 |
+
animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
|
2663 |
+
}
|
2664 |
+
}
|
2665 |
+
|
2666 |
+
.zoomInRight {
|
2667 |
+
-webkit-animation-name: zoomInRight;
|
2668 |
+
animation-name: zoomInRight;
|
2669 |
+
}
|
2670 |
+
|
2671 |
+
@-webkit-keyframes zoomInUp {
|
2672 |
+
0% {
|
2673 |
+
opacity: 0;
|
2674 |
+
-webkit-transform: scale3d(.1, .1, .1) translate3d(0, 1000px, 0);
|
2675 |
+
transform: scale3d(.1, .1, .1) translate3d(0, 1000px, 0);
|
2676 |
+
-webkit-animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
|
2677 |
+
animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
|
2678 |
+
}
|
2679 |
+
|
2680 |
+
60% {
|
2681 |
+
opacity: 1;
|
2682 |
+
-webkit-transform: scale3d(.475, .475, .475) translate3d(0, -60px, 0);
|
2683 |
+
transform: scale3d(.475, .475, .475) translate3d(0, -60px, 0);
|
2684 |
+
-webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
|
2685 |
+
animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
|
2686 |
+
}
|
2687 |
+
}
|
2688 |
+
|
2689 |
+
@keyframes zoomInUp {
|
2690 |
+
0% {
|
2691 |
+
opacity: 0;
|
2692 |
+
-webkit-transform: scale3d(.1, .1, .1) translate3d(0, 1000px, 0);
|
2693 |
+
transform: scale3d(.1, .1, .1) translate3d(0, 1000px, 0);
|
2694 |
+
-webkit-animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
|
2695 |
+
animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
|
2696 |
+
}
|
2697 |
+
|
2698 |
+
60% {
|
2699 |
+
opacity: 1;
|
2700 |
+
-webkit-transform: scale3d(.475, .475, .475) translate3d(0, -60px, 0);
|
2701 |
+
transform: scale3d(.475, .475, .475) translate3d(0, -60px, 0);
|
2702 |
+
-webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
|
2703 |
+
animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
|
2704 |
+
}
|
2705 |
+
}
|
2706 |
+
|
2707 |
+
.zoomInUp {
|
2708 |
+
-webkit-animation-name: zoomInUp;
|
2709 |
+
animation-name: zoomInUp;
|
2710 |
+
}
|
2711 |
+
|
2712 |
+
@-webkit-keyframes zoomOut {
|
2713 |
+
0% {
|
2714 |
+
opacity: 1;
|
2715 |
+
}
|
2716 |
+
|
2717 |
+
50% {
|
2718 |
+
opacity: 0;
|
2719 |
+
-webkit-transform: scale3d(.3, .3, .3);
|
2720 |
+
transform: scale3d(.3, .3, .3);
|
2721 |
+
}
|
2722 |
+
|
2723 |
+
100% {
|
2724 |
+
opacity: 0;
|
2725 |
+
}
|
2726 |
+
}
|
2727 |
+
|
2728 |
+
@keyframes zoomOut {
|
2729 |
+
0% {
|
2730 |
+
opacity: 1;
|
2731 |
+
}
|
2732 |
+
|
2733 |
+
50% {
|
2734 |
+
opacity: 0;
|
2735 |
+
-webkit-transform: scale3d(.3, .3, .3);
|
2736 |
+
transform: scale3d(.3, .3, .3);
|
2737 |
+
}
|
2738 |
+
|
2739 |
+
100% {
|
2740 |
+
opacity: 0;
|
2741 |
+
}
|
2742 |
+
}
|
2743 |
+
|
2744 |
+
.zoomOut {
|
2745 |
+
-webkit-animation-name: zoomOut;
|
2746 |
+
animation-name: zoomOut;
|
2747 |
+
}
|
2748 |
+
|
2749 |
+
@-webkit-keyframes zoomOutDown {
|
2750 |
+
40% {
|
2751 |
+
opacity: 1;
|
2752 |
+
-webkit-transform: scale3d(.475, .475, .475) translate3d(0, -60px, 0);
|
2753 |
+
transform: scale3d(.475, .475, .475) translate3d(0, -60px, 0);
|
2754 |
+
-webkit-animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
|
2755 |
+
animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
|
2756 |
+
}
|
2757 |
+
|
2758 |
+
100% {
|
2759 |
+
opacity: 0;
|
2760 |
+
-webkit-transform: scale3d(.1, .1, .1) translate3d(0, 2000px, 0);
|
2761 |
+
transform: scale3d(.1, .1, .1) translate3d(0, 2000px, 0);
|
2762 |
+
-webkit-transform-origin: center bottom;
|
2763 |
+
transform-origin: center bottom;
|
2764 |
+
-webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
|
2765 |
+
animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
|
2766 |
+
}
|
2767 |
+
}
|
2768 |
+
|
2769 |
+
@keyframes zoomOutDown {
|
2770 |
+
40% {
|
2771 |
+
opacity: 1;
|
2772 |
+
-webkit-transform: scale3d(.475, .475, .475) translate3d(0, -60px, 0);
|
2773 |
+
transform: scale3d(.475, .475, .475) translate3d(0, -60px, 0);
|
2774 |
+
-webkit-animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
|
2775 |
+
animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
|
2776 |
+
}
|
2777 |
+
|
2778 |
+
100% {
|
2779 |
+
opacity: 0;
|
2780 |
+
-webkit-transform: scale3d(.1, .1, .1) translate3d(0, 2000px, 0);
|
2781 |
+
transform: scale3d(.1, .1, .1) translate3d(0, 2000px, 0);
|
2782 |
+
-webkit-transform-origin: center bottom;
|
2783 |
+
transform-origin: center bottom;
|
2784 |
+
-webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
|
2785 |
+
animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
|
2786 |
+
}
|
2787 |
+
}
|
2788 |
+
|
2789 |
+
.zoomOutDown {
|
2790 |
+
-webkit-animation-name: zoomOutDown;
|
2791 |
+
animation-name: zoomOutDown;
|
2792 |
+
}
|
2793 |
+
|
2794 |
+
@-webkit-keyframes zoomOutLeft {
|
2795 |
+
40% {
|
2796 |
+
opacity: 1;
|
2797 |
+
-webkit-transform: scale3d(.475, .475, .475) translate3d(42px, 0, 0);
|
2798 |
+
transform: scale3d(.475, .475, .475) translate3d(42px, 0, 0);
|
2799 |
+
}
|
2800 |
+
|
2801 |
+
100% {
|
2802 |
+
opacity: 0;
|
2803 |
+
-webkit-transform: scale(.1) translate3d(-2000px, 0, 0);
|
2804 |
+
transform: scale(.1) translate3d(-2000px, 0, 0);
|
2805 |
+
-webkit-transform-origin: left center;
|
2806 |
+
transform-origin: left center;
|
2807 |
+
}
|
2808 |
+
}
|
2809 |
+
|
2810 |
+
@keyframes zoomOutLeft {
|
2811 |
+
40% {
|
2812 |
+
opacity: 1;
|
2813 |
+
-webkit-transform: scale3d(.475, .475, .475) translate3d(42px, 0, 0);
|
2814 |
+
transform: scale3d(.475, .475, .475) translate3d(42px, 0, 0);
|
2815 |
+
}
|
2816 |
+
|
2817 |
+
100% {
|
2818 |
+
opacity: 0;
|
2819 |
+
-webkit-transform: scale(.1) translate3d(-2000px, 0, 0);
|
2820 |
+
transform: scale(.1) translate3d(-2000px, 0, 0);
|
2821 |
+
-webkit-transform-origin: left center;
|
2822 |
+
transform-origin: left center;
|
2823 |
+
}
|
2824 |
+
}
|
2825 |
+
|
2826 |
+
.zoomOutLeft {
|
2827 |
+
-webkit-animation-name: zoomOutLeft;
|
2828 |
+
animation-name: zoomOutLeft;
|
2829 |
+
}
|
2830 |
+
|
2831 |
+
@-webkit-keyframes zoomOutRight {
|
2832 |
+
40% {
|
2833 |
+
opacity: 1;
|
2834 |
+
-webkit-transform: scale3d(.475, .475, .475) translate3d(-42px, 0, 0);
|
2835 |
+
transform: scale3d(.475, .475, .475) translate3d(-42px, 0, 0);
|
2836 |
+
}
|
2837 |
+
|
2838 |
+
100% {
|
2839 |
+
opacity: 0;
|
2840 |
+
-webkit-transform: scale(.1) translate3d(2000px, 0, 0);
|
2841 |
+
transform: scale(.1) translate3d(2000px, 0, 0);
|
2842 |
+
-webkit-transform-origin: right center;
|
2843 |
+
transform-origin: right center;
|
2844 |
+
}
|
2845 |
+
}
|
2846 |
+
|
2847 |
+
@keyframes zoomOutRight {
|
2848 |
+
40% {
|
2849 |
+
opacity: 1;
|
2850 |
+
-webkit-transform: scale3d(.475, .475, .475) translate3d(-42px, 0, 0);
|
2851 |
+
transform: scale3d(.475, .475, .475) translate3d(-42px, 0, 0);
|
2852 |
+
}
|
2853 |
+
|
2854 |
+
100% {
|
2855 |
+
opacity: 0;
|
2856 |
+
-webkit-transform: scale(.1) translate3d(2000px, 0, 0);
|
2857 |
+
transform: scale(.1) translate3d(2000px, 0, 0);
|
2858 |
+
-webkit-transform-origin: right center;
|
2859 |
+
transform-origin: right center;
|
2860 |
+
}
|
2861 |
+
}
|
2862 |
+
|
2863 |
+
.zoomOutRight {
|
2864 |
+
-webkit-animation-name: zoomOutRight;
|
2865 |
+
animation-name: zoomOutRight;
|
2866 |
+
}
|
2867 |
+
|
2868 |
+
@-webkit-keyframes zoomOutUp {
|
2869 |
+
40% {
|
2870 |
+
opacity: 1;
|
2871 |
+
-webkit-transform: scale3d(.475, .475, .475) translate3d(0, 60px, 0);
|
2872 |
+
transform: scale3d(.475, .475, .475) translate3d(0, 60px, 0);
|
2873 |
+
-webkit-animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
|
2874 |
+
animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
|
2875 |
+
}
|
2876 |
+
|
2877 |
+
100% {
|
2878 |
+
opacity: 0;
|
2879 |
+
-webkit-transform: scale3d(.1, .1, .1) translate3d(0, -2000px, 0);
|
2880 |
+
transform: scale3d(.1, .1, .1) translate3d(0, -2000px, 0);
|
2881 |
+
-webkit-transform-origin: center bottom;
|
2882 |
+
transform-origin: center bottom;
|
2883 |
+
-webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
|
2884 |
+
animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
|
2885 |
+
}
|
2886 |
+
}
|
2887 |
+
|
2888 |
+
@keyframes zoomOutUp {
|
2889 |
+
40% {
|
2890 |
+
opacity: 1;
|
2891 |
+
-webkit-transform: scale3d(.475, .475, .475) translate3d(0, 60px, 0);
|
2892 |
+
transform: scale3d(.475, .475, .475) translate3d(0, 60px, 0);
|
2893 |
+
-webkit-animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
|
2894 |
+
animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
|
2895 |
+
}
|
2896 |
+
|
2897 |
+
100% {
|
2898 |
+
opacity: 0;
|
2899 |
+
-webkit-transform: scale3d(.1, .1, .1) translate3d(0, -2000px, 0);
|
2900 |
+
transform: scale3d(.1, .1, .1) translate3d(0, -2000px, 0);
|
2901 |
+
-webkit-transform-origin: center bottom;
|
2902 |
+
transform-origin: center bottom;
|
2903 |
+
-webkit-animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
|
2904 |
+
animation-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
|
2905 |
+
}
|
2906 |
+
}
|
2907 |
+
|
2908 |
+
.zoomOutUp {
|
2909 |
+
-webkit-animation-name: zoomOutUp;
|
2910 |
+
animation-name: zoomOutUp;
|
2911 |
+
}
|
2912 |
+
|
2913 |
+
@-webkit-keyframes slideInDown {
|
2914 |
+
0% {
|
2915 |
+
-webkit-transform: translateY(-100%);
|
2916 |
+
transform: translateY(-100%);
|
2917 |
+
visibility: visible;
|
2918 |
+
}
|
2919 |
+
|
2920 |
+
100% {
|
2921 |
+
-webkit-transform: translateY(0);
|
2922 |
+
transform: translateY(0);
|
2923 |
+
}
|
2924 |
+
}
|
2925 |
+
|
2926 |
+
@keyframes slideInDown {
|
2927 |
+
0% {
|
2928 |
+
-webkit-transform: translateY(-100%);
|
2929 |
+
transform: translateY(-100%);
|
2930 |
+
visibility: visible;
|
2931 |
+
}
|
2932 |
+
|
2933 |
+
100% {
|
2934 |
+
-webkit-transform: translateY(0);
|
2935 |
+
transform: translateY(0);
|
2936 |
+
}
|
2937 |
+
}
|
2938 |
+
|
2939 |
+
.slideInDown {
|
2940 |
+
-webkit-animation-name: slideInDown;
|
2941 |
+
animation-name: slideInDown;
|
2942 |
+
}
|
2943 |
+
|
2944 |
+
@-webkit-keyframes slideInLeft {
|
2945 |
+
0% {
|
2946 |
+
-webkit-transform: translateX(-100%);
|
2947 |
+
transform: translateX(-100%);
|
2948 |
+
visibility: visible;
|
2949 |
+
}
|
2950 |
+
|
2951 |
+
100% {
|
2952 |
+
-webkit-transform: translateX(0);
|
2953 |
+
transform: translateX(0);
|
2954 |
+
}
|
2955 |
+
}
|
2956 |
+
|
2957 |
+
@keyframes slideInLeft {
|
2958 |
+
0% {
|
2959 |
+
-webkit-transform: translateX(-100%);
|
2960 |
+
transform: translateX(-100%);
|
2961 |
+
visibility: visible;
|
2962 |
+
}
|
2963 |
+
|
2964 |
+
100% {
|
2965 |
+
-webkit-transform: translateX(0);
|
2966 |
+
transform: translateX(0);
|
2967 |
+
}
|
2968 |
+
}
|
2969 |
+
|
2970 |
+
.slideInLeft {
|
2971 |
+
-webkit-animation-name: slideInLeft;
|
2972 |
+
animation-name: slideInLeft;
|
2973 |
+
}
|
2974 |
+
|
2975 |
+
@-webkit-keyframes slideInRight {
|
2976 |
+
0% {
|
2977 |
+
-webkit-transform: translateX(100%);
|
2978 |
+
transform: translateX(100%);
|
2979 |
+
visibility: visible;
|
2980 |
+
}
|
2981 |
+
|
2982 |
+
100% {
|
2983 |
+
-webkit-transform: translateX(0);
|
2984 |
+
transform: translateX(0);
|
2985 |
+
}
|
2986 |
+
}
|
2987 |
+
|
2988 |
+
@keyframes slideInRight {
|
2989 |
+
0% {
|
2990 |
+
-webkit-transform: translateX(100%);
|
2991 |
+
transform: translateX(100%);
|
2992 |
+
visibility: visible;
|
2993 |
+
}
|
2994 |
+
|
2995 |
+
100% {
|
2996 |
+
-webkit-transform: translateX(0);
|
2997 |
+
transform: translateX(0);
|
2998 |
+
}
|
2999 |
+
}
|
3000 |
+
|
3001 |
+
.slideInRight {
|
3002 |
+
-webkit-animation-name: slideInRight;
|
3003 |
+
animation-name: slideInRight;
|
3004 |
+
}
|
3005 |
+
|
3006 |
+
@-webkit-keyframes slideInUp {
|
3007 |
+
0% {
|
3008 |
+
-webkit-transform: translateY(100%);
|
3009 |
+
transform: translateY(100%);
|
3010 |
+
visibility: visible;
|
3011 |
+
}
|
3012 |
+
|
3013 |
+
100% {
|
3014 |
+
-webkit-transform: translateY(0);
|
3015 |
+
transform: translateY(0);
|
3016 |
+
}
|
3017 |
+
}
|
3018 |
+
|
3019 |
+
@keyframes slideInUp {
|
3020 |
+
0% {
|
3021 |
+
-webkit-transform: translateY(100%);
|
3022 |
+
transform: translateY(100%);
|
3023 |
+
visibility: visible;
|
3024 |
+
}
|
3025 |
+
|
3026 |
+
100% {
|
3027 |
+
-webkit-transform: translateY(0);
|
3028 |
+
transform: translateY(0);
|
3029 |
+
}
|
3030 |
+
}
|
3031 |
+
|
3032 |
+
.slideInUp {
|
3033 |
+
-webkit-animation-name: slideInUp;
|
3034 |
+
animation-name: slideInUp;
|
3035 |
+
}
|
3036 |
+
|
3037 |
+
@-webkit-keyframes slideOutDown {
|
3038 |
+
0% {
|
3039 |
+
-webkit-transform: translateY(0);
|
3040 |
+
transform: translateY(0);
|
3041 |
+
}
|
3042 |
+
|
3043 |
+
100% {
|
3044 |
+
visibility: hidden;
|
3045 |
+
-webkit-transform: translateY(100%);
|
3046 |
+
transform: translateY(100%);
|
3047 |
+
}
|
3048 |
+
}
|
3049 |
+
|
3050 |
+
@keyframes slideOutDown {
|
3051 |
+
0% {
|
3052 |
+
-webkit-transform: translateY(0);
|
3053 |
+
transform: translateY(0);
|
3054 |
+
}
|
3055 |
+
|
3056 |
+
100% {
|
3057 |
+
visibility: hidden;
|
3058 |
+
-webkit-transform: translateY(100%);
|
3059 |
+
transform: translateY(100%);
|
3060 |
+
}
|
3061 |
+
}
|
3062 |
+
|
3063 |
+
.slideOutDown {
|
3064 |
+
-webkit-animation-name: slideOutDown;
|
3065 |
+
animation-name: slideOutDown;
|
3066 |
+
}
|
3067 |
+
|
3068 |
+
@-webkit-keyframes slideOutLeft {
|
3069 |
+
0% {
|
3070 |
+
-webkit-transform: translateX(0);
|
3071 |
+
transform: translateX(0);
|
3072 |
+
}
|
3073 |
+
|
3074 |
+
100% {
|
3075 |
+
visibility: hidden;
|
3076 |
+
-webkit-transform: translateX(-100%);
|
3077 |
+
transform: translateX(-100%);
|
3078 |
+
}
|
3079 |
+
}
|
3080 |
+
|
3081 |
+
@keyframes slideOutLeft {
|
3082 |
+
0% {
|
3083 |
+
-webkit-transform: translateX(0);
|
3084 |
+
transform: translateX(0);
|
3085 |
+
}
|
3086 |
+
|
3087 |
+
100% {
|
3088 |
+
visibility: hidden;
|
3089 |
+
-webkit-transform: translateX(-100%);
|
3090 |
+
transform: translateX(-100%);
|
3091 |
+
}
|
3092 |
+
}
|
3093 |
+
|
3094 |
+
.slideOutLeft {
|
3095 |
+
-webkit-animation-name: slideOutLeft;
|
3096 |
+
animation-name: slideOutLeft;
|
3097 |
+
}
|
3098 |
+
|
3099 |
+
@-webkit-keyframes slideOutRight {
|
3100 |
+
0% {
|
3101 |
+
-webkit-transform: translateX(0);
|
3102 |
+
transform: translateX(0);
|
3103 |
+
}
|
3104 |
+
|
3105 |
+
100% {
|
3106 |
+
visibility: hidden;
|
3107 |
+
-webkit-transform: translateX(100%);
|
3108 |
+
transform: translateX(100%);
|
3109 |
+
}
|
3110 |
+
}
|
3111 |
+
|
3112 |
+
@keyframes slideOutRight {
|
3113 |
+
0% {
|
3114 |
+
-webkit-transform: translateX(0);
|
3115 |
+
transform: translateX(0);
|
3116 |
+
}
|
3117 |
+
|
3118 |
+
100% {
|
3119 |
+
visibility: hidden;
|
3120 |
+
-webkit-transform: translateX(100%);
|
3121 |
+
transform: translateX(100%);
|
3122 |
+
}
|
3123 |
+
}
|
3124 |
+
|
3125 |
+
.slideOutRight {
|
3126 |
+
-webkit-animation-name: slideOutRight;
|
3127 |
+
animation-name: slideOutRight;
|
3128 |
+
}
|
3129 |
+
|
3130 |
+
@-webkit-keyframes slideOutUp {
|
3131 |
+
0% {
|
3132 |
+
-webkit-transform: translateY(0);
|
3133 |
+
transform: translateY(0);
|
3134 |
+
}
|
3135 |
+
|
3136 |
+
100% {
|
3137 |
+
visibility: hidden;
|
3138 |
+
-webkit-transform: translateY(-100%);
|
3139 |
+
transform: translateY(-100%);
|
3140 |
+
}
|
3141 |
+
}
|
3142 |
+
|
3143 |
+
@keyframes slideOutUp {
|
3144 |
+
0% {
|
3145 |
+
-webkit-transform: translateY(0);
|
3146 |
+
transform: translateY(0);
|
3147 |
+
}
|
3148 |
+
|
3149 |
+
100% {
|
3150 |
+
visibility: hidden;
|
3151 |
+
-webkit-transform: translateY(-100%);
|
3152 |
+
transform: translateY(-100%);
|
3153 |
+
}
|
3154 |
+
}
|
3155 |
+
|
3156 |
+
.slideOutUp {
|
3157 |
+
-webkit-animation-name: slideOutUp;
|
3158 |
+
animation-name: slideOutUp;
|
3159 |
+
}
|
inc/addons/class-popup-addon-anonymous.php
CHANGED
@@ -7,4 +7,50 @@ Author: Ve (Incsub)
|
|
7 |
Author URI: http://premium.wpmudev.org
|
8 |
Type: Setting
|
9 |
Version: 1.0
|
10 |
-
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
Author URI: http://premium.wpmudev.org
|
8 |
Type: Setting
|
9 |
Version: 1.0
|
10 |
+
*/
|
11 |
+
|
12 |
+
class IncPopupAddon_AnonyousLoading {
|
13 |
+
|
14 |
+
const METHOD = 'anonymous';
|
15 |
+
|
16 |
+
/**
|
17 |
+
* Initialize the addon
|
18 |
+
*
|
19 |
+
* @since 4.6
|
20 |
+
*/
|
21 |
+
static public function init() {
|
22 |
+
if ( is_admin() ) {
|
23 |
+
// Called from the PopUp Settings screen.
|
24 |
+
add_filter(
|
25 |
+
'popup-settings-loading-method',
|
26 |
+
array( __CLASS__, 'settings' )
|
27 |
+
);
|
28 |
+
}
|
29 |
+
}
|
30 |
+
|
31 |
+
/**
|
32 |
+
* Filter that returns a modified version of the loading methods
|
33 |
+
* (displayed in the settings page)
|
34 |
+
*
|
35 |
+
* @since 4.6
|
36 |
+
* @param array $loading_methods
|
37 |
+
* @return array
|
38 |
+
*/
|
39 |
+
static public function settings( $loading_methods ) {
|
40 |
+
$pro_only = ' - ' . __( 'PRO Verson', PO_LANG );
|
41 |
+
|
42 |
+
$loading_methods[] = (object) array(
|
43 |
+
'id' => self::METHOD,
|
44 |
+
'label' => __( 'Anonymous Script', PO_LANG ) . $pro_only,
|
45 |
+
'info' => __(
|
46 |
+
'Drastically increase the chance to bypass ad-blockers. ' .
|
47 |
+
'Loads PopUp like WordPress AJAX, but the URL to the ' .
|
48 |
+
'JavaScript file is masked. ', PO_LANG
|
49 |
+
),
|
50 |
+
'disabled' => true,
|
51 |
+
);
|
52 |
+
return $loading_methods;
|
53 |
+
}
|
54 |
+
}
|
55 |
+
|
56 |
+
IncPopupAddon_AnonyousLoading::init();
|
inc/addons/class-popup-addon-headerfooter.php
CHANGED
@@ -96,9 +96,11 @@ class IncPopupAddon_HeaderFooter {
|
|
96 |
);
|
97 |
|
98 |
// Build the url to call, NOTE: uses home_url and thus requires WordPress 3.0
|
99 |
-
$url =
|
100 |
-
|
101 |
-
|
|
|
|
|
102 |
);
|
103 |
|
104 |
// Perform the HTTP GET ignoring SSL errors
|
@@ -115,7 +117,7 @@ class IncPopupAddon_HeaderFooter {
|
|
115 |
// Grab the response code and make sure the request was sucessful
|
116 |
$code = (int) wp_remote_retrieve_response_code( $response );
|
117 |
if ( is_wp_error( $response ) ) {
|
118 |
-
|
119 |
return $Resp;
|
120 |
}
|
121 |
|
96 |
);
|
97 |
|
98 |
// Build the url to call, NOTE: uses home_url and thus requires WordPress 3.0
|
99 |
+
$url = esc_url_raw(
|
100 |
+
add_query_arg(
|
101 |
+
array( 'popup-headerfooter-check' => '1' ),
|
102 |
+
home_url()
|
103 |
+
)
|
104 |
);
|
105 |
|
106 |
// Perform the HTTP GET ignoring SSL errors
|
117 |
// Grab the response code and make sure the request was sucessful
|
118 |
$code = (int) wp_remote_retrieve_response_code( $response );
|
119 |
if ( is_wp_error( $response ) ) {
|
120 |
+
lib2()->ui->admin_message( $response->get_error_message() );
|
121 |
return $Resp;
|
122 |
}
|
123 |
|
inc/class-popup-admin.php
CHANGED
@@ -85,24 +85,25 @@ class IncPopup extends IncPopupBase {
|
|
85 |
* @since 4.6.0
|
86 |
*/
|
87 |
static public function setup_module_specific( $hook ) {
|
88 |
-
|
89 |
-
|
90 |
|
91 |
if ( IncPopupItem::POST_TYPE === $hook->post_type ) {
|
92 |
// WordPress core scripts
|
93 |
-
|
94 |
-
|
95 |
|
96 |
-
|
97 |
-
|
98 |
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
|
|
103 |
|
104 |
-
if ( $_REQUEST['post_status']
|
105 |
-
|
106 |
'po_bulk',
|
107 |
array(
|
108 |
'activate' => __( 'Activate', PO_LANG ),
|
@@ -113,7 +114,7 @@ class IncPopup extends IncPopupBase {
|
|
113 |
}
|
114 |
|
115 |
// For Preview
|
116 |
-
|
117 |
'_popup_data',
|
118 |
array(
|
119 |
'ajaxurl' => admin_url( 'admin-ajax.php' ),
|
@@ -124,7 +125,6 @@ class IncPopup extends IncPopupBase {
|
|
124 |
)
|
125 |
);
|
126 |
|
127 |
-
|
128 |
// -- PopUp LIST -----------------------
|
129 |
|
130 |
if ( 'edit' === $hook->base ) {
|
@@ -190,8 +190,8 @@ class IncPopup extends IncPopupBase {
|
|
190 |
// -- PopUp EDITOR -----------------
|
191 |
|
192 |
if ( 'post' === $hook->base ) {
|
193 |
-
|
194 |
-
|
195 |
|
196 |
// See if a custom action should be executed (e.g. duplicate)
|
197 |
self::form_check_actions();
|
@@ -242,7 +242,7 @@ class IncPopup extends IncPopupBase {
|
|
242 |
if ( ! self::correct_level() ) { return; }
|
243 |
|
244 |
if ( is_network_admin() ) {
|
245 |
-
|
246 |
if ( 'hide' === $_REQUEST['popup_network'] ) {
|
247 |
IncPopupDatabase::set_flag( 'network_dismiss', true );
|
248 |
wp_safe_redirect( admin_url( 'network' ) );
|
@@ -312,7 +312,7 @@ class IncPopup extends IncPopupBase {
|
|
312 |
* @since 4.6.0
|
313 |
*/
|
314 |
static public function handle_ajax() {
|
315 |
-
|
316 |
|
317 |
$action = $_POST['do'];
|
318 |
|
@@ -360,9 +360,9 @@ class IncPopup extends IncPopupBase {
|
|
360 |
* @since 4.6.0
|
361 |
*/
|
362 |
static public function handle_settings_update() {
|
363 |
-
|
364 |
|
365 |
-
if ( $_POST['action']
|
366 |
check_admin_referer( 'update-popup-settings' );
|
367 |
|
368 |
$old_settings = IncPopupDatabase::get_settings();
|
@@ -378,8 +378,10 @@ class IncPopup extends IncPopupBase {
|
|
378 |
|
379 |
IncPopupDatabase::set_settings( $settings );
|
380 |
|
381 |
-
|
382 |
-
$redirect_url =
|
|
|
|
|
383 |
wp_safe_redirect( $redirect_url );
|
384 |
die();
|
385 |
}
|
@@ -403,7 +405,7 @@ class IncPopup extends IncPopupBase {
|
|
403 |
* @return array
|
404 |
*/
|
405 |
static public function post_columns( $post_columns ) {
|
406 |
-
|
407 |
|
408 |
$new_columns = array();
|
409 |
|
@@ -678,7 +680,7 @@ class IncPopup extends IncPopupBase {
|
|
678 |
$wp_list_table = _get_list_table( 'WP_Posts_List_Table' );
|
679 |
$action = $wp_list_table->current_action();
|
680 |
|
681 |
-
|
682 |
|
683 |
if ( $action ) {
|
684 |
if ( 'list' === $_REQUEST['mode'] ) {
|
@@ -739,11 +741,11 @@ class IncPopup extends IncPopupBase {
|
|
739 |
}
|
740 |
|
741 |
if ( $count > 0 && ! empty( $msg ) ) {
|
742 |
-
|
743 |
}
|
744 |
}
|
745 |
else {
|
746 |
-
|
747 |
|
748 |
// ----- Custom row-action.
|
749 |
$nonce = $_REQUEST['_wpnonce'];
|
@@ -765,7 +767,9 @@ class IncPopup extends IncPopupBase {
|
|
765 |
break;
|
766 |
}
|
767 |
|
768 |
-
$back_url =
|
|
|
|
|
769 |
wp_safe_redirect( $back_url );
|
770 |
die();
|
771 |
}
|
@@ -891,7 +895,7 @@ class IncPopup extends IncPopupBase {
|
|
891 |
* @since 4.6.0
|
892 |
*/
|
893 |
static protected function form_check_actions() {
|
894 |
-
|
895 |
|
896 |
$popup_id = absint( $_REQUEST['post'] );
|
897 |
$action = $_REQUEST['do'];
|
@@ -906,8 +910,12 @@ class IncPopup extends IncPopupBase {
|
|
906 |
$item->save();
|
907 |
|
908 |
// Show the new item in the editor.
|
909 |
-
$new_url =
|
910 |
-
|
|
|
|
|
|
|
|
|
911 |
wp_safe_redirect( $new_url );
|
912 |
die();
|
913 |
|
@@ -1090,7 +1098,7 @@ class IncPopup extends IncPopupBase {
|
|
1090 |
$popup = IncPopupDatabase::get( $post_id );
|
1091 |
|
1092 |
// Make sure the POST collection contains all required fields.
|
1093 |
-
if ( 0 !==
|
1094 |
|
1095 |
// Autosave is not processed.
|
1096 |
if ( defined( 'DOING_AUTOSAVE' ) && DOING_AUTOSAVE ) { return; }
|
@@ -1170,7 +1178,7 @@ class IncPopup extends IncPopupBase {
|
|
1170 |
* @return string The modified redirect URL.
|
1171 |
*/
|
1172 |
static public function form_redirect( $url, $post_id ) {
|
1173 |
-
return remove_query_arg( 'message', $url );
|
1174 |
}
|
1175 |
|
1176 |
};
|
85 |
* @since 4.6.0
|
86 |
*/
|
87 |
static public function setup_module_specific( $hook ) {
|
88 |
+
lib2()->array->equip( $hook, 'post_type', 'base' );
|
89 |
+
lib2()->array->equip_request( 'post_status' );
|
90 |
|
91 |
if ( IncPopupItem::POST_TYPE === $hook->post_type ) {
|
92 |
// WordPress core scripts
|
93 |
+
lib2()->ui->js( 'jquery-ui-slider' );
|
94 |
+
lib2()->ui->js( 'jquery-ui-sortable' );
|
95 |
|
96 |
+
lib2()->ui->add( 'core' );
|
97 |
+
lib2()->ui->add( 'select' );
|
98 |
|
99 |
+
lib2()->ui->add( PO_CSS_URL . 'popup-admin.min.css' );
|
100 |
+
lib2()->ui->add( PO_JS_URL . 'popup-admin.min.js' );
|
101 |
+
lib2()->ui->add( PO_JS_URL . 'ace.js' ); // CSS editor.
|
102 |
+
lib2()->ui->add( PO_JS_URL . 'public.min.js' ); // For Preview.
|
103 |
+
lib2()->ui->add( PO_CSS_URL . 'animate.min.css' ); // For Preview.
|
104 |
|
105 |
+
if ( 'trash' != $_REQUEST['post_status'] ) {
|
106 |
+
lib2()->ui->data(
|
107 |
'po_bulk',
|
108 |
array(
|
109 |
'activate' => __( 'Activate', PO_LANG ),
|
114 |
}
|
115 |
|
116 |
// For Preview
|
117 |
+
lib2()->ui->data(
|
118 |
'_popup_data',
|
119 |
array(
|
120 |
'ajaxurl' => admin_url( 'admin-ajax.php' ),
|
125 |
)
|
126 |
);
|
127 |
|
|
|
128 |
// -- PopUp LIST -----------------------
|
129 |
|
130 |
if ( 'edit' === $hook->base ) {
|
190 |
// -- PopUp EDITOR -----------------
|
191 |
|
192 |
if ( 'post' === $hook->base ) {
|
193 |
+
lib2()->ui->css( 'wp-color-picker' ); // WordPress core script
|
194 |
+
lib2()->ui->js( 'wp-color-picker' ); // WordPress core script
|
195 |
|
196 |
// See if a custom action should be executed (e.g. duplicate)
|
197 |
self::form_check_actions();
|
242 |
if ( ! self::correct_level() ) { return; }
|
243 |
|
244 |
if ( is_network_admin() ) {
|
245 |
+
lib2()->array->equip_request( 'popup_network' );
|
246 |
if ( 'hide' === $_REQUEST['popup_network'] ) {
|
247 |
IncPopupDatabase::set_flag( 'network_dismiss', true );
|
248 |
wp_safe_redirect( admin_url( 'network' ) );
|
312 |
* @since 4.6.0
|
313 |
*/
|
314 |
static public function handle_ajax() {
|
315 |
+
lib2()->array->equip_post( 'do', 'order' );
|
316 |
|
317 |
$action = $_POST['do'];
|
318 |
|
360 |
* @since 4.6.0
|
361 |
*/
|
362 |
static public function handle_settings_update() {
|
363 |
+
lib2()->array->equip_post( 'action', 'po_option' );
|
364 |
|
365 |
+
if ( 'updatesettings' == $_POST['action'] ) {
|
366 |
check_admin_referer( 'update-popup-settings' );
|
367 |
|
368 |
$old_settings = IncPopupDatabase::get_settings();
|
378 |
|
379 |
IncPopupDatabase::set_settings( $settings );
|
380 |
|
381 |
+
lib2()->ui->admin_message( __( 'Your settings have been updated.', PO_LANG ) );
|
382 |
+
$redirect_url = esc_url_raw(
|
383 |
+
remove_query_arg( array( 'message', 'count' ), wp_get_referer() )
|
384 |
+
);
|
385 |
wp_safe_redirect( $redirect_url );
|
386 |
die();
|
387 |
}
|
405 |
* @return array
|
406 |
*/
|
407 |
static public function post_columns( $post_columns ) {
|
408 |
+
lib2()->array->equip_request( 'post_status' );
|
409 |
|
410 |
$new_columns = array();
|
411 |
|
680 |
$wp_list_table = _get_list_table( 'WP_Posts_List_Table' );
|
681 |
$action = $wp_list_table->current_action();
|
682 |
|
683 |
+
lib2()->array->equip_request( 'mode' );
|
684 |
|
685 |
if ( $action ) {
|
686 |
if ( 'list' === $_REQUEST['mode'] ) {
|
741 |
}
|
742 |
|
743 |
if ( $count > 0 && ! empty( $msg ) ) {
|
744 |
+
lib2()->ui->admin_message( sprintf( $msg, $count ) );
|
745 |
}
|
746 |
}
|
747 |
else {
|
748 |
+
lib2()->array->equip_request( '_wpnonce', 'post_id' );
|
749 |
|
750 |
// ----- Custom row-action.
|
751 |
$nonce = $_REQUEST['_wpnonce'];
|
767 |
break;
|
768 |
}
|
769 |
|
770 |
+
$back_url = esc_url_raw(
|
771 |
+
remove_query_arg( array( 'action', 'post_id', '_wpnonce' ) )
|
772 |
+
);
|
773 |
wp_safe_redirect( $back_url );
|
774 |
die();
|
775 |
}
|
895 |
* @since 4.6.0
|
896 |
*/
|
897 |
static protected function form_check_actions() {
|
898 |
+
lib2()->array->equip_request( 'post', 'do' );
|
899 |
|
900 |
$popup_id = absint( $_REQUEST['post'] );
|
901 |
$action = $_REQUEST['do'];
|
910 |
$item->save();
|
911 |
|
912 |
// Show the new item in the editor.
|
913 |
+
$new_url = esc_url_raw(
|
914 |
+
add_query_arg(
|
915 |
+
array( 'post' => $item->id, 'post_type' => IncPopupItem::POST_TYPE ),
|
916 |
+
remove_query_arg( array( 'post', 'do' ) )
|
917 |
+
)
|
918 |
+
);
|
919 |
wp_safe_redirect( $new_url );
|
920 |
die();
|
921 |
|
1098 |
$popup = IncPopupDatabase::get( $post_id );
|
1099 |
|
1100 |
// Make sure the POST collection contains all required fields.
|
1101 |
+
if ( 0 !== lib2()->array->equip_post( 'popup-nonce', 'post_type', 'po-action' ) ) { return; }
|
1102 |
|
1103 |
// Autosave is not processed.
|
1104 |
if ( defined( 'DOING_AUTOSAVE' ) && DOING_AUTOSAVE ) { return; }
|
1178 |
* @return string The modified redirect URL.
|
1179 |
*/
|
1180 |
static public function form_redirect( $url, $post_id ) {
|
1181 |
+
return esc_url_raw( remove_query_arg( 'message', $url ) );
|
1182 |
}
|
1183 |
|
1184 |
};
|
inc/class-popup-base.php
CHANGED
@@ -63,7 +63,7 @@ abstract class IncPopupBase {
|
|
63 |
if ( ! empty( $_POST['thefrom'] ) ) { $_POST['thefrom'] = strrev( $_POST['thefrom'] ); }
|
64 |
if ( ! empty( $_POST['thereferrer'] ) ) { $_POST['thereferrer'] = strrev( $_POST['thereferrer'] ); }
|
65 |
|
66 |
-
|
67 |
|
68 |
// Register the popup post type.
|
69 |
add_action(
|
@@ -103,9 +103,15 @@ abstract class IncPopupBase {
|
|
103 |
);
|
104 |
|
105 |
// Compatibility with plugins
|
|
|
|
|
|
|
|
|
|
|
|
|
106 |
if ( function_exists( 'get_rocket_option' ) && get_rocket_option( 'minify_js' ) ) {
|
107 |
foreach ( array( 'edit-inc_popup', 'inc_popup', 'inc_popup_page_settings' ) as $screen ) {
|
108 |
-
|
109 |
__(
|
110 |
'You are using WP Rocket with JS Minification, which has ' .
|
111 |
'caused some issues in the past. We recommend to disable ' .
|
@@ -210,7 +216,7 @@ abstract class IncPopupBase {
|
|
210 |
|
211 |
// Add core styles to the response.
|
212 |
foreach ( $core_styles as $key => $data ) {
|
213 |
-
|
214 |
|
215 |
$list[ $key ] = (object) array(
|
216 |
'url' => trailingslashit( PO_TPL_URL . $key ),
|
@@ -297,7 +303,7 @@ abstract class IncPopupBase {
|
|
297 |
static protected function prepare_formdata( $form ) {
|
298 |
if ( ! is_array( $form ) ) { $form = array(); }
|
299 |
|
300 |
-
|
301 |
$form,
|
302 |
'po_name',
|
303 |
'po_content',
|
@@ -305,6 +311,7 @@ abstract class IncPopupBase {
|
|
305 |
'po_subheading',
|
306 |
'po_cta',
|
307 |
'po_cta_link',
|
|
|
308 |
'po_image',
|
309 |
'po_image_pos',
|
310 |
'po_style',
|
@@ -329,6 +336,7 @@ abstract class IncPopupBase {
|
|
329 |
'subtitle' => $form['po_subheading'],
|
330 |
'cta_label' => $form['po_cta'],
|
331 |
'cta_link' => $form['po_cta_link'],
|
|
|
332 |
'image' => $form['po_image'],
|
333 |
'image_pos' => $form['po_image_pos'],
|
334 |
'image_mobile' => ! isset( $form['po_image_no_mobile'] ),
|
@@ -374,7 +382,7 @@ abstract class IncPopupBase {
|
|
374 |
* @since 4.6
|
375 |
*/
|
376 |
public function ajax_load_popup() {
|
377 |
-
|
378 |
$action = $_REQUEST['do'];
|
379 |
|
380 |
switch ( $action ) {
|
@@ -419,6 +427,135 @@ abstract class IncPopupBase {
|
|
419 |
return $data;
|
420 |
}
|
421 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
422 |
|
423 |
/*==================================*\
|
424 |
======================================
|
@@ -440,6 +577,13 @@ abstract class IncPopupBase {
|
|
440 |
$items = $this->find_popups();
|
441 |
$this->popups = array();
|
442 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
443 |
if ( empty( $items ) ) {
|
444 |
return;
|
445 |
}
|
@@ -457,17 +601,41 @@ abstract class IncPopupBase {
|
|
457 |
*/
|
458 |
protected function find_popups() {
|
459 |
$popups = array();
|
460 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
461 |
|
462 |
-
$popup_id = absint( $_REQUEST['po_id'] );
|
463 |
if ( $popup_id ) {
|
464 |
// Check for forced popup.
|
465 |
-
$
|
466 |
} else {
|
467 |
-
$
|
468 |
}
|
469 |
|
470 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
471 |
$popup = IncPopupDatabase::get( $id );
|
472 |
|
473 |
if ( $popup_id ) {
|
@@ -516,6 +684,78 @@ abstract class IncPopupBase {
|
|
516 |
\*===================================*/
|
517 |
|
518 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
519 |
/**
|
520 |
* Change the Request-URI, so other plugins use the correct form action, etc.
|
521 |
*
|
@@ -550,6 +790,23 @@ abstract class IncPopupBase {
|
|
550 |
$_SERVER['REQUEST_URI'] = $this->orig_url;
|
551 |
}
|
552 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
553 |
|
554 |
|
555 |
};
|
63 |
if ( ! empty( $_POST['thefrom'] ) ) { $_POST['thefrom'] = strrev( $_POST['thefrom'] ); }
|
64 |
if ( ! empty( $_POST['thereferrer'] ) ) { $_POST['thereferrer'] = strrev( $_POST['thereferrer'] ); }
|
65 |
|
66 |
+
lib2()->translate_plugin( PO_LANG, PO_LANG_DIR );
|
67 |
|
68 |
// Register the popup post type.
|
69 |
add_action(
|
103 |
);
|
104 |
|
105 |
// Compatibility with plugins
|
106 |
+
add_filter(
|
107 |
+
'popup-output-data',
|
108 |
+
array( $this, 'compat_init' ),
|
109 |
+
999, 2
|
110 |
+
);
|
111 |
+
|
112 |
if ( function_exists( 'get_rocket_option' ) && get_rocket_option( 'minify_js' ) ) {
|
113 |
foreach ( array( 'edit-inc_popup', 'inc_popup', 'inc_popup_page_settings' ) as $screen ) {
|
114 |
+
lib2()->ui->admin_message(
|
115 |
__(
|
116 |
'You are using WP Rocket with JS Minification, which has ' .
|
117 |
'caused some issues in the past. We recommend to disable ' .
|
216 |
|
217 |
// Add core styles to the response.
|
218 |
foreach ( $core_styles as $key => $data ) {
|
219 |
+
lib2()->array->equip( $data, 'pro', 'deprecated', 'name' );
|
220 |
|
221 |
$list[ $key ] = (object) array(
|
222 |
'url' => trailingslashit( PO_TPL_URL . $key ),
|
303 |
static protected function prepare_formdata( $form ) {
|
304 |
if ( ! is_array( $form ) ) { $form = array(); }
|
305 |
|
306 |
+
lib2()->array->equip(
|
307 |
$form,
|
308 |
'po_name',
|
309 |
'po_content',
|
311 |
'po_subheading',
|
312 |
'po_cta',
|
313 |
'po_cta_link',
|
314 |
+
'po_cta_target',
|
315 |
'po_image',
|
316 |
'po_image_pos',
|
317 |
'po_style',
|
336 |
'subtitle' => $form['po_subheading'],
|
337 |
'cta_label' => $form['po_cta'],
|
338 |
'cta_link' => $form['po_cta_link'],
|
339 |
+
'cta_target' => $form['po_cta_target'],
|
340 |
'image' => $form['po_image'],
|
341 |
'image_pos' => $form['po_image_pos'],
|
342 |
'image_mobile' => ! isset( $form['po_image_no_mobile'] ),
|
382 |
* @since 4.6
|
383 |
*/
|
384 |
public function ajax_load_popup() {
|
385 |
+
lib2()->array->equip_request( 'do', 'data' );
|
386 |
$action = $_REQUEST['do'];
|
387 |
|
388 |
switch ( $action ) {
|
427 |
return $data;
|
428 |
}
|
429 |
|
430 |
+
/**
|
431 |
+
* Returns an object that contains all available PopUp loading/unloading
|
432 |
+
* animations.
|
433 |
+
*
|
434 |
+
* @since 4.8.0.0
|
435 |
+
* @return object {
|
436 |
+
* Hierarchial lists of PopUp animations.
|
437 |
+
*
|
438 |
+
* $in .. Loading animatins
|
439 |
+
* $out .. Unloading animations
|
440 |
+
* }
|
441 |
+
*/
|
442 |
+
public static function get_animations() {
|
443 |
+
$pro_only = ' - ' . __( 'PRO Version', PO_LANG );
|
444 |
+
|
445 |
+
$animations_in = array(
|
446 |
+
'' => array(
|
447 |
+
'' => __( '(No Animation)', PO_LANG ),
|
448 |
+
),
|
449 |
+
__( 'Attention Seekers', PO_LANG ) => array(
|
450 |
+
'bounce' => __( 'Bounce', PO_LANG ),
|
451 |
+
'flash' => __( 'Flash', PO_LANG ),
|
452 |
+
'pulse' => __( 'Pulse', PO_LANG ),
|
453 |
+
'rubberBand' => __( 'Rubber Band', PO_LANG ),
|
454 |
+
'shake' => __( 'Shake', PO_LANG ),
|
455 |
+
'swing' => __( 'Swing', PO_LANG ),
|
456 |
+
'tada' => __( 'Tada', PO_LANG ),
|
457 |
+
'wobble' => __( 'Wobble', PO_LANG ),
|
458 |
+
),
|
459 |
+
__( 'Bouncing Entrances', PO_LANG ) => array(
|
460 |
+
'bounceIn' => __( 'Bounce In', PO_LANG ) . $pro_only,
|
461 |
+
'bounceInDown' => __( 'Bounce In Down', PO_LANG ) . $pro_only,
|
462 |
+
'bounceInLeft' => __( 'Bounce In Left', PO_LANG ) . $pro_only,
|
463 |
+
'bounceInRight' => __( 'Bounce In Right', PO_LANG ) . $pro_only,
|
464 |
+
'bounceInUp' => __( 'Bounce In Up', PO_LANG ) . $pro_only,
|
465 |
+
),
|
466 |
+
__( 'Fading Entrances', PO_LANG ) => array(
|
467 |
+
'fadeIn' => __( 'Fade In', PO_LANG ) . $pro_only,
|
468 |
+
'fadeInDown' => __( 'Fade In Down', PO_LANG ) . $pro_only,
|
469 |
+
'fadeInDownBig' => __( 'Fade In Down Big', PO_LANG ) . $pro_only,
|
470 |
+
'fadeInLeft' => __( 'Fade In Left', PO_LANG ) . $pro_only,
|
471 |
+
'fadeInLeftBig' => __( 'Fade In Left Big', PO_LANG ) . $pro_only,
|
472 |
+
'fadeInRight' => __( 'Fade In Right', PO_LANG ) . $pro_only,
|
473 |
+
'fadeInRightBig' => __( 'Fade In Right Big', PO_LANG ) . $pro_only,
|
474 |
+
'fadeInUp' => __( 'Fade In Up', PO_LANG ) . $pro_only,
|
475 |
+
'fadeInUpBig' => __( 'Fade In Up Big', PO_LANG ) . $pro_only,
|
476 |
+
),
|
477 |
+
__( 'Flippers', PO_LANG ) => array(
|
478 |
+
'flip' => __( 'Flip', PO_LANG ) . $pro_only,
|
479 |
+
'flipInX' => __( 'Flip In X', PO_LANG ) . $pro_only,
|
480 |
+
'flipInY' => __( 'Flip In Y', PO_LANG ) . $pro_only,
|
481 |
+
),
|
482 |
+
__( 'Lightspeed', PO_LANG ) => array(
|
483 |
+
'lightSpeedIn' => __( 'Light Speed In', PO_LANG ) . $pro_only,
|
484 |
+
),
|
485 |
+
__( 'Rotating Entrances', PO_LANG ) => array(
|
486 |
+
'rotateIn' => __( 'Rotate In', PO_LANG ) . $pro_only,
|
487 |
+
'rotateInDownLeft' => __( 'Rotate In Down Left', PO_LANG ) . $pro_only,
|
488 |
+
'rotateInDownRight' => __( 'Rotate In Down Right', PO_LANG ) . $pro_only,
|
489 |
+
'rotateInUpLeft' => __( 'Rotate In Up Left', PO_LANG ) . $pro_only,
|
490 |
+
'rotateInUpRight' => __( 'Rotate In Up Right', PO_LANG ) . $pro_only,
|
491 |
+
),
|
492 |
+
__( 'Specials', PO_LANG ) => array(
|
493 |
+
'rollIn' => __( 'Roll In', PO_LANG ) . $pro_only,
|
494 |
+
),
|
495 |
+
__( 'Zoom Entrances', PO_LANG ) => array(
|
496 |
+
'zoomIn' => __( 'Zoom In', PO_LANG ) . $pro_only,
|
497 |
+
'zoomInDown' => __( 'Zoom In Down', PO_LANG ) . $pro_only,
|
498 |
+
'zoomInLeft' => __( 'Zoom In Left', PO_LANG ) . $pro_only,
|
499 |
+
'zoomInRight' => __( 'Zoom In Right', PO_LANG ) . $pro_only,
|
500 |
+
'zoomInUp' => __( 'Zoom In Up', PO_LANG ) . $pro_only,
|
501 |
+
),
|
502 |
+
);
|
503 |
+
|
504 |
+
$animations_out = array(
|
505 |
+
'' => array(
|
506 |
+
'' => __( '(No Animation)', PO_LANG ),
|
507 |
+
),
|
508 |
+
__( 'Bouncing Exits', PO_LANG ) => array(
|
509 |
+
'bounceOut' => __( 'Bounce Out', PO_LANG ),
|
510 |
+
'bounceOutDown' => __( 'Bounce Out Down', PO_LANG ),
|
511 |
+
'bounceOutLeft' => __( 'Bounce Out Left', PO_LANG ),
|
512 |
+
'bounceOutRight' => __( 'Bounce Out Right', PO_LANG ),
|
513 |
+
'bounceOutUp' => __( 'Bounce Out Up', PO_LANG ),
|
514 |
+
),
|
515 |
+
__( 'Fading Exits', PO_LANG ) => array(
|
516 |
+
'fadeOut' => __( 'Fade Out', PO_LANG ),
|
517 |
+
'fadeOutDown' => __( 'Fade Out Down', PO_LANG ),
|
518 |
+
'fadeOutDownBig' => __( 'Fade Out Down Big', PO_LANG ),
|
519 |
+
'fadeOutLeft' => __( 'Fade Out Left', PO_LANG ),
|
520 |
+
'fadeOutLeftBig' => __( 'Fade Out Left Big', PO_LANG ),
|
521 |
+
'fadeOutRight' => __( 'Fade Out Right', PO_LANG ),
|
522 |
+
'fadeOutRightBig' => __( 'Fade Out Right Big', PO_LANG ),
|
523 |
+
'fadeOutUp' => __( 'Fade Out Up', PO_LANG ),
|
524 |
+
'fadeOutUpBig' => __( 'Fade Out Up Big', PO_LANG ),
|
525 |
+
),
|
526 |
+
__( 'Flippers', PO_LANG ) => array(
|
527 |
+
'flipOutX' => __( 'Flip Out X', PO_LANG ) . $pro_only,
|
528 |
+
'flipOutY' => __( 'Flip Out Y', PO_LANG ) . $pro_only,
|
529 |
+
),
|
530 |
+
__( 'Lightspeed', PO_LANG ) => array(
|
531 |
+
'lightSpeedOut' => __( 'Light Speed Out', PO_LANG ) . $pro_only,
|
532 |
+
),
|
533 |
+
__( 'Rotating Exits', PO_LANG ) => array(
|
534 |
+
'rotateOut' => __( 'Rotate Out', PO_LANG ) . $pro_only,
|
535 |
+
'rotateOutDownLeft' => __( 'Rotate Out Down Left', PO_LANG ) . $pro_only,
|
536 |
+
'rotateOutDownRight' => __( 'Rotate Out Down Right', PO_LANG ) . $pro_only,
|
537 |
+
'rotateOutUpLeft' => __( 'Rotate Out Up Left', PO_LANG ) . $pro_only,
|
538 |
+
'rotateOutUpRight' => __( 'Rotate Out Up Right', PO_LANG ) . $pro_only,
|
539 |
+
),
|
540 |
+
__( 'Specials', PO_LANG ) => array(
|
541 |
+
'hinge' => __( 'Hinge', PO_LANG ) . $pro_only,
|
542 |
+
'rollOut' => __( 'Roll Out', PO_LANG ) . $pro_only,
|
543 |
+
),
|
544 |
+
__( 'Zoom Exits', PO_LANG ) => array(
|
545 |
+
'zoomOut' => __( 'Zoom Out', PO_LANG ) . $pro_only,
|
546 |
+
'zoomOutDown' => __( 'Zoom Out Down', PO_LANG ) . $pro_only,
|
547 |
+
'zoomOutLeft' => __( 'Zoom Out Left', PO_LANG ) . $pro_only,
|
548 |
+
'zoomOutRight' => __( 'Zoom Out Right', PO_LANG ) . $pro_only,
|
549 |
+
'zoomOutUp' => __( 'Zoom Out Up', PO_LANG ) . $pro_only,
|
550 |
+
),
|
551 |
+
);
|
552 |
+
|
553 |
+
return (object) array(
|
554 |
+
'in' => $animations_in,
|
555 |
+
'out' => $animations_out,
|
556 |
+
);
|
557 |
+
}
|
558 |
+
|
559 |
|
560 |
/*==================================*\
|
561 |
======================================
|
577 |
$items = $this->find_popups();
|
578 |
$this->popups = array();
|
579 |
|
580 |
+
/**
|
581 |
+
* Filter the popup list so other modules can modify the popup details.
|
582 |
+
*
|
583 |
+
* @since 4.8.0.0
|
584 |
+
*/
|
585 |
+
$items = apply_filters( 'popup-select-popups', $items, $this );
|
586 |
+
|
587 |
if ( empty( $items ) ) {
|
588 |
return;
|
589 |
}
|
601 |
*/
|
602 |
protected function find_popups() {
|
603 |
$popups = array();
|
604 |
+
lib2()->array->equip_request( 'po_id', 'preview' );
|
605 |
+
|
606 |
+
/**
|
607 |
+
* Allow other modules to provide a single popup ID to display.
|
608 |
+
* The value 0 will use the default logic, which evaluates all active
|
609 |
+
* Popups instead of displaying a single Popup.
|
610 |
+
*
|
611 |
+
* @since 4.8.0.0
|
612 |
+
*/
|
613 |
+
$popup_id = apply_filters(
|
614 |
+
'popup-find-popup-single',
|
615 |
+
absint( $_REQUEST['po_id'] )
|
616 |
+
);
|
617 |
|
|
|
618 |
if ( $popup_id ) {
|
619 |
// Check for forced popup.
|
620 |
+
$popup_ids = array( $popup_id );
|
621 |
} else {
|
622 |
+
$popup_ids = IncPopupDatabase::get_active_ids();
|
623 |
}
|
624 |
|
625 |
+
/**
|
626 |
+
* Filter the list of Popup IDs that will be considered for display.
|
627 |
+
* These Popups will be loaded and their rules evaluated in the next step.
|
628 |
+
*
|
629 |
+
* @since 4.8.0.0
|
630 |
+
*/
|
631 |
+
$popup_ids = apply_filters(
|
632 |
+
'popup-active-popup-ids',
|
633 |
+
$popup_ids,
|
634 |
+
$popup_id,
|
635 |
+
$this
|
636 |
+
);
|
637 |
+
|
638 |
+
foreach ( $popup_ids as $id ) {
|
639 |
$popup = IncPopupDatabase::get( $id );
|
640 |
|
641 |
if ( $popup_id ) {
|
684 |
\*===================================*/
|
685 |
|
686 |
|
687 |
+
/**
|
688 |
+
* Adds compatibility code for other plugins/shortcodes.
|
689 |
+
* Currently these plugins are aupported:
|
690 |
+
* - Appointments+ (WPMU DEV)
|
691 |
+
*
|
692 |
+
* @since 4.6.1.1
|
693 |
+
* @param array $data Data collection that is printed to javascript.
|
694 |
+
* @param IncPopupItem $popup The original popup object.
|
695 |
+
* @return array Modified data collection.
|
696 |
+
*/
|
697 |
+
public function compat_init( $script_data, $popup ) {
|
698 |
+
if ( class_exists( 'Appointments' ) ) {
|
699 |
+
$this->compat_appointments_trigger();
|
700 |
+
|
701 |
+
if ( ! isset( $script_data['script'] ) ) {
|
702 |
+
$script_data['script'] = '';
|
703 |
+
}
|
704 |
+
|
705 |
+
$script_data['script'] .= $this->compat_data['script'];
|
706 |
+
}
|
707 |
+
|
708 |
+
return $script_data;
|
709 |
+
}
|
710 |
+
|
711 |
+
/**
|
712 |
+
* Triggers the WP_footer action.
|
713 |
+
*
|
714 |
+
* This is required so the Appointments+ plugin generates Javascript for the
|
715 |
+
* shortcodes. We will then intercept the javascript via the
|
716 |
+
* `compat_appointments_footer()` function below.
|
717 |
+
*
|
718 |
+
* @since 4.6.1.1
|
719 |
+
*/
|
720 |
+
public function compat_appointments_trigger() {
|
721 |
+
global $appointments;
|
722 |
+
|
723 |
+
add_filter(
|
724 |
+
'app_footer_scripts',
|
725 |
+
array( $this, 'compat_appointments_footer' ),
|
726 |
+
999
|
727 |
+
);
|
728 |
+
|
729 |
+
$appointments->load_scripts_styles();
|
730 |
+
$appointments->wp_footer();
|
731 |
+
}
|
732 |
+
|
733 |
+
/**
|
734 |
+
* Integration of Appointments+
|
735 |
+
* Inject the javascript used by Appointments plugin into the plugin.
|
736 |
+
*
|
737 |
+
* @since 4.6.1.1
|
738 |
+
* @param string $script
|
739 |
+
* @return string
|
740 |
+
*/
|
741 |
+
public function compat_appointments_footer( $script ) {
|
742 |
+
global $wp_scripts;
|
743 |
+
if ( ! isset( $this->compat_data['script'] ) ) {
|
744 |
+
$this->compat_data['script'] = '';
|
745 |
+
}
|
746 |
+
|
747 |
+
// 1. get the localized script data.
|
748 |
+
if ( ! empty( $wp_scripts->registered['app-js-check']->extra['data'] ) ) {
|
749 |
+
$this->compat_data['script'] .= $wp_scripts->registered['app-js-check']->extra['data'];
|
750 |
+
$wp_scripts->registered['app-js-check']->extra['data'] = '';
|
751 |
+
}
|
752 |
+
|
753 |
+
// 2. get the footer script.
|
754 |
+
$this->compat_data['script'] .= '(function($) {' . $script . '})(jQuery);';
|
755 |
+
|
756 |
+
return '';
|
757 |
+
}
|
758 |
+
|
759 |
/**
|
760 |
* Change the Request-URI, so other plugins use the correct form action, etc.
|
761 |
*
|
790 |
$_SERVER['REQUEST_URI'] = $this->orig_url;
|
791 |
}
|
792 |
|
793 |
+
/**
|
794 |
+
* Add extra translations from the free plugin version so poedit will
|
795 |
+
* recognize the translations and we do not need to keep separate
|
796 |
+
* translation files for pro/free version.
|
797 |
+
*
|
798 |
+
* @since 4.6.1.3
|
799 |
+
*/
|
800 |
+
private function other_translations() {
|
801 |
+
return;
|
802 |
+
|
803 |
+
// These functions will never be called, but poedit recognizes the text.
|
804 |
+
__( 'PRO Version', PO_LANG );
|
805 |
+
__( 'Pro feature. <a href="%1$s" target="_blank">Find out more »</a>', PO_LANG );
|
806 |
+
__( '<strong>WordPress PopUp</strong><br />Your installation was successfully updated to use the latest version of the plugin!<br /><em>Note: Some PopUp options changed or were replaced. You should have a look at your <a href="%s">PopUps</a> to see if they still look as intended.</em>', PO_LANG );
|
807 |
+
__( 'In the free version you can activate 1 PopUp. When you activate this PopUp then all other PopUps will be deactivated ', PO_LANG );
|
808 |
+
__( 'In the free version you can activate 1 PopUp. The PRO Version allows you to have unlimited active PopUps! <a href=\"%1$s\" target=\"_blank\">Find out more »</a>', PO_LANG );
|
809 |
+
}
|
810 |
|
811 |
|
812 |
};
|
inc/class-popup-database.php
CHANGED
@@ -190,7 +190,7 @@ class IncPopupDatabase {
|
|
190 |
";
|
191 |
$sql = $wpdb->prepare( $sql, $item->id );
|
192 |
$status = $wpdb->get_var( $sql );
|
193 |
-
if (
|
194 |
|
195 |
$raw = maybe_unserialize( $item->popover_settings );
|
196 |
$checks = explode( ',', @$raw['popover_check']['order'] );
|
@@ -218,8 +218,8 @@ class IncPopupDatabase {
|
|
218 |
if ( isset( $raw['on_click'] ) ) { $display = 'click'; }
|
219 |
|
220 |
$custom_colors = false;
|
221 |
-
if ( $colors['col1']
|
222 |
-
if ( $colors['col2']
|
223 |
|
224 |
$custom_size = true;
|
225 |
if ( ! empty( $raw['popover_size']['usejs'] ) ) { $custom_size = false; }
|
@@ -301,15 +301,15 @@ class IncPopupDatabase {
|
|
301 |
dbDelta( $sql );
|
302 |
|
303 |
if ( $count > 0 ) {
|
304 |
-
|
305 |
sprintf(
|
306 |
__(
|
307 |
-
|
308 |
-
|
309 |
-
|
310 |
-
|
311 |
-
|
312 |
-
|
313 |
),
|
314 |
admin_url( 'edit.php?post_type=' . IncPopupItem::POST_TYPE )
|
315 |
)
|
@@ -393,7 +393,7 @@ class IncPopupDatabase {
|
|
393 |
if ( $clear ) {
|
394 |
$popup = false;
|
395 |
} else {
|
396 |
-
|
397 |
}
|
398 |
|
399 |
if ( false === $popup ) {
|
@@ -418,19 +418,16 @@ class IncPopupDatabase {
|
|
418 |
|
419 |
if ( null === $List ) {
|
420 |
self::before_db();
|
421 |
-
|
422 |
-
|
423 |
-
|
424 |
-
|
425 |
-
|
426 |
-
|
427 |
-
";
|
428 |
-
$sql = $wpdb->prepare(
|
429 |
-
$sql_get,
|
430 |
-
IncPopupItem::POST_TYPE,
|
431 |
-
'publish'
|
432 |
);
|
433 |
-
|
|
|
|
|
434 |
self::after_db();
|
435 |
}
|
436 |
|
@@ -587,7 +584,7 @@ class IncPopupDatabase {
|
|
587 |
'info' => __(
|
588 |
'Include PopUp as part of your site\'s HTML (no AJAX call).',
|
589 |
PO_LANG
|
590 |
-
|
591 |
);
|
592 |
|
593 |
$Loading_methods[] = (object) array(
|
@@ -614,7 +611,10 @@ class IncPopupDatabase {
|
|
614 |
*
|
615 |
* @var array
|
616 |
*/
|
617 |
-
$Loading_methods = apply_filters(
|
|
|
|
|
|
|
618 |
}
|
619 |
|
620 |
return $Loading_methods;
|
190 |
";
|
191 |
$sql = $wpdb->prepare( $sql, $item->id );
|
192 |
$status = $wpdb->get_var( $sql );
|
193 |
+
if ( '1' != $status ) { continue; }
|
194 |
|
195 |
$raw = maybe_unserialize( $item->popover_settings );
|
196 |
$checks = explode( ',', @$raw['popover_check']['order'] );
|
218 |
if ( isset( $raw['on_click'] ) ) { $display = 'click'; }
|
219 |
|
220 |
$custom_colors = false;
|
221 |
+
if ( 'FFFFFF' != $colors['col1'] ) { $custom_colors = true; }
|
222 |
+
if ( '000000' != $colors['col2'] ) { $custom_colors = true; }
|
223 |
|
224 |
$custom_size = true;
|
225 |
if ( ! empty( $raw['popover_size']['usejs'] ) ) { $custom_size = false; }
|
301 |
dbDelta( $sql );
|
302 |
|
303 |
if ( $count > 0 ) {
|
304 |
+
lib2()->ui->admin_message(
|
305 |
sprintf(
|
306 |
__(
|
307 |
+
'<strong>WordPress PopUp</strong><br />' .
|
308 |
+
'Your installation was successfully updated to use the ' .
|
309 |
+
'latest version of the plugin!<br />' .
|
310 |
+
'<em>Note: Some PopUp options changed or were replaced. ' .
|
311 |
+
'You should have a look at your <a href="%s">PopUps</a> ' .
|
312 |
+
'to see if they still look as intended.</em>', PO_LANG
|
313 |
),
|
314 |
admin_url( 'edit.php?post_type=' . IncPopupItem::POST_TYPE )
|
315 |
)
|
393 |
if ( $clear ) {
|
394 |
$popup = false;
|
395 |
} else {
|
396 |
+
$popup = wp_cache_get( $post_id, IncPopupItem::POST_TYPE );
|
397 |
}
|
398 |
|
399 |
if ( false === $popup ) {
|
418 |
|
419 |
if ( null === $List ) {
|
420 |
self::before_db();
|
421 |
+
// Using get_posts() adds support for WPML
|
422 |
+
$active_posts = get_posts(
|
423 |
+
array(
|
424 |
+
'post_type' => IncPopupItem::POST_TYPE,
|
425 |
+
'suppress_filters' => 0,
|
426 |
+
)
|
|
|
|
|
|
|
|
|
|
|
427 |
);
|
428 |
+
foreach ( $active_posts as $post ) {
|
429 |
+
$List[] = $post->ID;
|
430 |
+
}
|
431 |
self::after_db();
|
432 |
}
|
433 |
|
584 |
'info' => __(
|
585 |
'Include PopUp as part of your site\'s HTML (no AJAX call).',
|
586 |
PO_LANG
|
587 |
+
),
|
588 |
);
|
589 |
|
590 |
$Loading_methods[] = (object) array(
|
611 |
*
|
612 |
* @var array
|
613 |
*/
|
614 |
+
$Loading_methods = apply_filters(
|
615 |
+
'popup-settings-loading-method',
|
616 |
+
$Loading_methods
|
617 |
+
);
|
618 |
}
|
619 |
|
620 |
return $Loading_methods;
|
inc/class-popup-item.php
CHANGED
@@ -54,6 +54,9 @@ class IncPopupItem {
|
|
54 |
// Link for the CTA button.
|
55 |
public $cta_link = '';
|
56 |
|
|
|
|
|
|
|
57 |
// Image dispalyed in the popup.
|
58 |
public $image = '';
|
59 |
|
@@ -92,13 +95,16 @@ class IncPopupItem {
|
|
92 |
// CSS code to customize this PopUp
|
93 |
public $custom_css = '';
|
94 |
|
|
|
|
|
|
|
95 |
// -- "Never show again" options
|
96 |
|
97 |
// Add button "Never show popup again".
|
98 |
public $can_hide = false;
|
99 |
|
100 |
// "Close button acts as 'Never show popup again'".
|
101 |
-
public $
|
102 |
|
103 |
// Expiration of "Never show popup again" (in days).
|
104 |
public $hide_expire = 365;
|
@@ -125,6 +131,13 @@ class IncPopupItem {
|
|
125 |
// Hiding animation
|
126 |
public $animation_out = '';
|
127 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
128 |
// -- Conditions
|
129 |
|
130 |
// Conditions that need to be true in order to use the popup.
|
@@ -188,6 +201,7 @@ class IncPopupItem {
|
|
188 |
$this->subtitle = '';
|
189 |
$this->cta_label = '';
|
190 |
$this->cta_link = '';
|
|
|
191 |
$this->image = '';
|
192 |
$this->image_pos = 'right';
|
193 |
$this->image_mobile = true;
|
@@ -203,6 +217,7 @@ class IncPopupItem {
|
|
203 |
);
|
204 |
$this->style = 'minimal';
|
205 |
$this->custom_css = '';
|
|
|
206 |
$this->deprecated_style = false;
|
207 |
$this->round_corners = true;
|
208 |
$this->scroll_body = false;
|
@@ -221,6 +236,7 @@ class IncPopupItem {
|
|
221 |
);
|
222 |
$this->animation_in = '';
|
223 |
$this->animation_out = '';
|
|
|
224 |
$this->rule = array();
|
225 |
$this->rule_files = array();
|
226 |
$this->rule_data = array();
|
@@ -264,10 +280,14 @@ class IncPopupItem {
|
|
264 |
isset( $data['subtitle'] ) && $this->subtitle = $data['subtitle'];
|
265 |
isset( $data['cta_label'] ) && $this->cta_label = $data['cta_label'];
|
266 |
isset( $data['cta_link'] ) && $this->cta_link = $data['cta_link'];
|
|
|
267 |
isset( $data['custom_size'] ) && $this->custom_size = $data['custom_size'];
|
268 |
isset( $data['custom_css'] ) && $this->custom_css = $data['custom_css'];
|
|
|
269 |
isset( $data['animation_in'] ) && $this->animation_in = $data['animation_in'];
|
270 |
isset( $data['animation_out'] ) && $this->animation_out = $data['animation_out'];
|
|
|
|
|
271 |
|
272 |
isset( $data['size']['width'] ) && $this->size['width'] = $data['size']['width'];
|
273 |
isset( $data['size']['height'] ) && $this->size['height'] = $data['size']['height'];
|
@@ -328,14 +348,15 @@ class IncPopupItem {
|
|
328 |
$this->deprecated_style = @$styles[ $this->style ]->deprecated;
|
329 |
|
330 |
// Boolean types.
|
331 |
-
$this->custom_size = (true ==
|
332 |
-
$this->custom_colors = (true ==
|
333 |
-
$this->deprecated_style = (true ==
|
334 |
-
$this->round_corners = (true ==
|
335 |
-
$this->scroll_body = (true ==
|
336 |
-
$this->can_hide = (true ==
|
337 |
-
$this->close_hides = (true ==
|
338 |
-
$this->overlay_close = (true ==
|
|
|
339 |
|
340 |
// Numeric types.
|
341 |
$this->hide_expire = absint( $this->hide_expire );
|
@@ -368,7 +389,9 @@ class IncPopupItem {
|
|
368 |
}
|
369 |
|
370 |
// Generate unique ID.
|
|
|
371 |
$this->code->id = 'a' . md5( $this->id . date( 'dis' ) );
|
|
|
372 |
|
373 |
// Display data (legacy code for old styles).
|
374 |
if ( $this->custom_colors ) {
|
@@ -392,6 +415,7 @@ class IncPopupItem {
|
|
392 |
// Very rough validation that makes sure that the field does not close
|
393 |
// the <style> tag manually.
|
394 |
$this->custom_css = str_replace( '</s', 's', $this->custom_css );
|
|
|
395 |
|
396 |
$this->script_data['html_id'] = $this->code->id;
|
397 |
$this->script_data['popup_id'] = $this->id;
|
@@ -407,9 +431,10 @@ class IncPopupItem {
|
|
407 |
$this->script_data['form_submit'] = $this->form_submit;
|
408 |
$this->script_data['animation_in'] = $this->animation_in;
|
409 |
$this->script_data['animation_out'] = $this->animation_out;
|
|
|
410 |
|
411 |
// Validation only done when editing popups.
|
412 |
-
if ( is_admin() ) {
|
413 |
// Name.
|
414 |
if ( empty( $this->name ) ) {
|
415 |
$this->name = __( 'New PopUp', PO_LANG );
|
@@ -482,14 +507,17 @@ class IncPopupItem {
|
|
482 |
$this->subtitle = get_post_meta( $this->id, 'po_subtitle', true );
|
483 |
$this->cta_label = get_post_meta( $this->id, 'po_cta_label', true );
|
484 |
$this->cta_link = get_post_meta( $this->id, 'po_cta_link', true );
|
|
|
485 |
$this->custom_size = get_post_meta( $this->id, 'po_custom_size', true );
|
486 |
$this->size = get_post_meta( $this->id, 'po_size', true );
|
487 |
$this->color = get_post_meta( $this->id, 'po_color', true );
|
488 |
$this->custom_colors = get_post_meta( $this->id, 'po_custom_colors', true );
|
489 |
$this->style = get_post_meta( $this->id, 'po_style', true );
|
490 |
$this->custom_css = get_post_meta( $this->id, 'po_custom_css', true );
|
|
|
491 |
$this->animation_in = get_post_meta( $this->id, 'po_animation_in', true );
|
492 |
$this->animation_out = get_post_meta( $this->id, 'po_animation_out', true );
|
|
|
493 |
$this->round_corners = get_post_meta( $this->id, 'po_round_corners', true );
|
494 |
$this->scroll_body = get_post_meta( $this->id, 'po_scroll_body', true );
|
495 |
$this->can_hide = get_post_meta( $this->id, 'po_can_hide', true );
|
@@ -530,22 +558,26 @@ class IncPopupItem {
|
|
530 |
default: $status = 'draft'; break;
|
531 |
}
|
532 |
|
533 |
-
if (
|
534 |
// Limit the number of active PopUps.
|
535 |
-
if (
|
536 |
-
|
|
|
537 |
|
538 |
-
|
539 |
sprintf(
|
540 |
__(
|
541 |
-
'In the free version you can activate
|
|
|
|
|
542 |
'The PRO Version allows you to have unlimited ' .
|
543 |
'active PopUps! ' .
|
544 |
'<a href="%1$s" target="_blank">Find out more »</a>',
|
545 |
PO_LANG
|
546 |
),
|
547 |
'http://premium.wpmudev.org/project/the-pop-over-plugin/'
|
548 |
-
)
|
|
|
549 |
);
|
550 |
}
|
551 |
}
|
@@ -583,14 +615,17 @@ class IncPopupItem {
|
|
583 |
update_post_meta( $this->id, 'po_subtitle', $this->subtitle );
|
584 |
update_post_meta( $this->id, 'po_cta_label', $this->cta_label );
|
585 |
update_post_meta( $this->id, 'po_cta_link', $this->cta_link );
|
|
|
586 |
update_post_meta( $this->id, 'po_custom_size', $this->custom_size );
|
587 |
update_post_meta( $this->id, 'po_size', $this->size );
|
588 |
update_post_meta( $this->id, 'po_color', $this->color );
|
589 |
update_post_meta( $this->id, 'po_custom_colors', $this->custom_colors );
|
590 |
update_post_meta( $this->id, 'po_style', $this->style );
|
591 |
update_post_meta( $this->id, 'po_custom_css', $this->custom_css );
|
|
|
592 |
update_post_meta( $this->id, 'po_animation_in', $this->animation_in );
|
593 |
update_post_meta( $this->id, 'po_animation_out', $this->animation_out );
|
|
|
594 |
update_post_meta( $this->id, 'po_round_corners', $this->round_corners );
|
595 |
update_post_meta( $this->id, 'po_scroll_body', $this->scroll_body );
|
596 |
update_post_meta( $this->id, 'po_can_hide', $this->can_hide );
|
@@ -628,9 +663,9 @@ class IncPopupItem {
|
|
628 |
break;
|
629 |
}
|
630 |
}
|
631 |
-
|
632 |
} else {
|
633 |
-
|
634 |
}
|
635 |
}
|
636 |
|
@@ -654,10 +689,10 @@ class IncPopupItem {
|
|
654 |
|
655 |
// Check for specific/frequently used shortcodes.
|
656 |
|
657 |
-
if (
|
658 |
&& preg_match( '#\[gravityforms?(\s.*?\]|\])#', $content )
|
659 |
) {
|
660 |
-
|
661 |
sprintf(
|
662 |
__( 'You are using Gravity Forms inside this PopUp. It is best to switch to the <a href="%s">loading method</a> "Page Footer" to ensure the form works as expected.', PO_LANG ),
|
663 |
'edit.php?post_type=' . IncPopupItem::POST_TYPE . '&page=settings'
|
@@ -677,7 +712,7 @@ class IncPopupItem {
|
|
677 |
foreach ( $check->shortcodes as $code ) {
|
678 |
$match = array();
|
679 |
if ( preg_match( '#\[' . $code . '(\s.*?\]|\])#', $content, $match ) ) {
|
680 |
-
|
681 |
sprintf(
|
682 |
__( 'Shortcode <code>%s</code> requires a different <a href="%s">loading method</a> to work.<br />Try "Page Footer", though sometimes the method "Custom AJAX" also works (please test the result)', PO_LANG ),
|
683 |
$match[0],
|
@@ -695,7 +730,7 @@ class IncPopupItem {
|
|
695 |
break;
|
696 |
|
697 |
default:
|
698 |
-
//
|
699 |
}
|
700 |
}
|
701 |
|
@@ -719,6 +754,200 @@ class IncPopupItem {
|
|
719 |
return $active;
|
720 |
}
|
721 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
722 |
/**
|
723 |
* Load the PopUp HTML code from the popup.php template.
|
724 |
*
|
@@ -732,6 +961,9 @@ class IncPopupItem {
|
|
732 |
$styles = apply_filters( 'popup-styles', array() );
|
733 |
$details = $styles[$this->style];
|
734 |
|
|
|
|
|
|
|
735 |
$Html[ $this->id ] = '';
|
736 |
$tpl_file = $details->dir . 'template.php';
|
737 |
|
@@ -743,8 +975,41 @@ class IncPopupItem {
|
|
743 |
|
744 |
$Html[ $this->id ] = str_replace( array( "\t", "\r", "\n", ' ' ), ' ', $Html[ $this->id ] );
|
745 |
$Html[ $this->id ] = str_replace( array( ' ', ' ', ' ' ), ' ', $Html[ $this->id ] );
|
746 |
-
|
747 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
748 |
}
|
749 |
}
|
750 |
|
@@ -773,14 +1038,14 @@ class IncPopupItem {
|
|
773 |
$Code[ $this->id ] = ob_get_contents();
|
774 |
ob_end_clean();
|
775 |
|
776 |
-
$Code[ $this->id ] = str_replace( '#messagebox', '
|
777 |
$Code[ $this->id ] = str_replace( '%styleurl%', $details->url, $Code[ $this->id ] );
|
778 |
$Code[ $this->id ] = str_replace( '#000001', $this->code->color1, $Code[ $this->id ] );
|
779 |
$Code[ $this->id ] = str_replace( '#000002', $this->code->color2, $Code[ $this->id ] );
|
780 |
}
|
781 |
$custom_css = $this->custom_css;
|
782 |
$custom_css = str_replace( '#popup', '#' . $this->code->id, $custom_css );
|
783 |
-
$custom_css = str_replace( '#messagebox', '
|
784 |
$custom_css = str_replace( '%styleurl%', $details->url, $custom_css );
|
785 |
$Code[ $this->id ] .= $custom_css;
|
786 |
}
|
54 |
// Link for the CTA button.
|
55 |
public $cta_link = '';
|
56 |
|
57 |
+
// Link target for the CTA button.
|
58 |
+
public $cta_target = '';
|
59 |
+
|
60 |
// Image dispalyed in the popup.
|
61 |
public $image = '';
|
62 |
|
95 |
// CSS code to customize this PopUp
|
96 |
public $custom_css = '';
|
97 |
|
98 |
+
// CSS classes to add to this PopUp
|
99 |
+
public $class = array();
|
100 |
+
|
101 |
// -- "Never show again" options
|
102 |
|
103 |
// Add button "Never show popup again".
|
104 |
public $can_hide = false;
|
105 |
|
106 |
// "Close button acts as 'Never show popup again'".
|
107 |
+
public $close_hides = false;
|
108 |
|
109 |
// Expiration of "Never show popup again" (in days).
|
110 |
public $hide_expire = 365;
|
131 |
// Hiding animation
|
132 |
public $animation_out = '';
|
133 |
|
134 |
+
// If true, then the PopUp will be displayed instantly and with inline class.
|
135 |
+
public $inline = false;
|
136 |
+
|
137 |
+
// Set to true by Upfront. This means that the PopUp is not stored as
|
138 |
+
// custom post type but inside upfront layout.
|
139 |
+
public $is_upfront = false;
|
140 |
+
|
141 |
// -- Conditions
|
142 |
|
143 |
// Conditions that need to be true in order to use the popup.
|
201 |
$this->subtitle = '';
|
202 |
$this->cta_label = '';
|
203 |
$this->cta_link = '';
|
204 |
+
$this->cta_target = '';
|
205 |
$this->image = '';
|
206 |
$this->image_pos = 'right';
|
207 |
$this->image_mobile = true;
|
217 |
);
|
218 |
$this->style = 'minimal';
|
219 |
$this->custom_css = '';
|
220 |
+
$this->class = array();
|
221 |
$this->deprecated_style = false;
|
222 |
$this->round_corners = true;
|
223 |
$this->scroll_body = false;
|
236 |
);
|
237 |
$this->animation_in = '';
|
238 |
$this->animation_out = '';
|
239 |
+
$this->inline = false;
|
240 |
$this->rule = array();
|
241 |
$this->rule_files = array();
|
242 |
$this->rule_data = array();
|
280 |
isset( $data['subtitle'] ) && $this->subtitle = $data['subtitle'];
|
281 |
isset( $data['cta_label'] ) && $this->cta_label = $data['cta_label'];
|
282 |
isset( $data['cta_link'] ) && $this->cta_link = $data['cta_link'];
|
283 |
+
isset( $data['cta_target'] ) && $this->cta_target = $data['cta_target'];
|
284 |
isset( $data['custom_size'] ) && $this->custom_size = $data['custom_size'];
|
285 |
isset( $data['custom_css'] ) && $this->custom_css = $data['custom_css'];
|
286 |
+
isset( $data['class'] ) && $this->class = $data['class'];
|
287 |
isset( $data['animation_in'] ) && $this->animation_in = $data['animation_in'];
|
288 |
isset( $data['animation_out'] ) && $this->animation_out = $data['animation_out'];
|
289 |
+
isset( $data['inline'] ) && $this->inline = $data['inline'];
|
290 |
+
isset( $data['is_upfront'] ) && $this->is_upfront = $data['is_upfront'];
|
291 |
|
292 |
isset( $data['size']['width'] ) && $this->size['width'] = $data['size']['width'];
|
293 |
isset( $data['size']['height'] ) && $this->size['height'] = $data['size']['height'];
|
348 |
$this->deprecated_style = @$styles[ $this->style ]->deprecated;
|
349 |
|
350 |
// Boolean types.
|
351 |
+
$this->custom_size = (true == $this->custom_size);
|
352 |
+
$this->custom_colors = (true == $this->custom_colors);
|
353 |
+
$this->deprecated_style = (true == $this->deprecated_style);
|
354 |
+
$this->round_corners = (true == $this->round_corners);
|
355 |
+
$this->scroll_body = (true == $this->scroll_body);
|
356 |
+
$this->can_hide = (true == $this->can_hide);
|
357 |
+
$this->close_hides = (true == $this->close_hides);
|
358 |
+
$this->overlay_close = (true == $this->overlay_close);
|
359 |
+
$this->inline = (true == $this->inline);
|
360 |
|
361 |
// Numeric types.
|
362 |
$this->hide_expire = absint( $this->hide_expire );
|
389 |
}
|
390 |
|
391 |
// Generate unique ID.
|
392 |
+
$this->code = (object) array();
|
393 |
$this->code->id = 'a' . md5( $this->id . date( 'dis' ) );
|
394 |
+
$this->code->cls = 'wdpu-' . $this->id;
|
395 |
|
396 |
// Display data (legacy code for old styles).
|
397 |
if ( $this->custom_colors ) {
|
415 |
// Very rough validation that makes sure that the field does not close
|
416 |
// the <style> tag manually.
|
417 |
$this->custom_css = str_replace( '</s', 's', $this->custom_css );
|
418 |
+
$this->class = lib2()->array->get( $this->class );
|
419 |
|
420 |
$this->script_data['html_id'] = $this->code->id;
|
421 |
$this->script_data['popup_id'] = $this->id;
|
431 |
$this->script_data['form_submit'] = $this->form_submit;
|
432 |
$this->script_data['animation_in'] = $this->animation_in;
|
433 |
$this->script_data['animation_out'] = $this->animation_out;
|
434 |
+
$this->script_data['inline'] = $this->inline;
|
435 |
|
436 |
// Validation only done when editing popups.
|
437 |
+
if ( ! $this->is_upfront && is_admin() && $this->id >= 0 ) {
|
438 |
// Name.
|
439 |
if ( empty( $this->name ) ) {
|
440 |
$this->name = __( 'New PopUp', PO_LANG );
|
507 |
$this->subtitle = get_post_meta( $this->id, 'po_subtitle', true );
|
508 |
$this->cta_label = get_post_meta( $this->id, 'po_cta_label', true );
|
509 |
$this->cta_link = get_post_meta( $this->id, 'po_cta_link', true );
|
510 |
+
$this->cta_target = get_post_meta( $this->id, 'po_cta_target', true );
|
511 |
$this->custom_size = get_post_meta( $this->id, 'po_custom_size', true );
|
512 |
$this->size = get_post_meta( $this->id, 'po_size', true );
|
513 |
$this->color = get_post_meta( $this->id, 'po_color', true );
|
514 |
$this->custom_colors = get_post_meta( $this->id, 'po_custom_colors', true );
|
515 |
$this->style = get_post_meta( $this->id, 'po_style', true );
|
516 |
$this->custom_css = get_post_meta( $this->id, 'po_custom_css', true );
|
517 |
+
$this->class = get_post_meta( $this->id, 'po_class', true );
|
518 |
$this->animation_in = get_post_meta( $this->id, 'po_animation_in', true );
|
519 |
$this->animation_out = get_post_meta( $this->id, 'po_animation_out', true );
|
520 |
+
$this->inline = get_post_meta( $this->id, 'po_inline', true );
|
521 |
$this->round_corners = get_post_meta( $this->id, 'po_round_corners', true );
|
522 |
$this->scroll_body = get_post_meta( $this->id, 'po_scroll_body', true );
|
523 |
$this->can_hide = get_post_meta( $this->id, 'po_can_hide', true );
|
558 |
default: $status = 'draft'; break;
|
559 |
}
|
560 |
|
561 |
+
if ( 'publish' == $status ) {
|
562 |
// Limit the number of active PopUps.
|
563 |
+
if ( 3 <= IncPopupDatabase::count_active( $this->id ) ) {
|
564 |
+
$status = 'draft';
|
565 |
+
$show_message = false;
|
566 |
|
567 |
+
lib2()->ui->admin_message(
|
568 |
sprintf(
|
569 |
__(
|
570 |
+
'In the free version you can activate 3 PopUps. ' .
|
571 |
+
'You can activate this PopUp when you first ' .
|
572 |
+
'deactivate another PopUp.<br>' .
|
573 |
'The PRO Version allows you to have unlimited ' .
|
574 |
'active PopUps! ' .
|
575 |
'<a href="%1$s" target="_blank">Find out more »</a>',
|
576 |
PO_LANG
|
577 |
),
|
578 |
'http://premium.wpmudev.org/project/the-pop-over-plugin/'
|
579 |
+
),
|
580 |
+
'err'
|
581 |
);
|
582 |
}
|
583 |
}
|
615 |
update_post_meta( $this->id, 'po_subtitle', $this->subtitle );
|
616 |
update_post_meta( $this->id, 'po_cta_label', $this->cta_label );
|
617 |
update_post_meta( $this->id, 'po_cta_link', $this->cta_link );
|
618 |
+
update_post_meta( $this->id, 'po_cta_target', $this->cta_target );
|
619 |
update_post_meta( $this->id, 'po_custom_size', $this->custom_size );
|
620 |
update_post_meta( $this->id, 'po_size', $this->size );
|
621 |
update_post_meta( $this->id, 'po_color', $this->color );
|
622 |
update_post_meta( $this->id, 'po_custom_colors', $this->custom_colors );
|
623 |
update_post_meta( $this->id, 'po_style', $this->style );
|
624 |
update_post_meta( $this->id, 'po_custom_css', $this->custom_css );
|
625 |
+
update_post_meta( $this->id, 'po_class', $this->class );
|
626 |
update_post_meta( $this->id, 'po_animation_in', $this->animation_in );
|
627 |
update_post_meta( $this->id, 'po_animation_out', $this->animation_out );
|
628 |
+
update_post_meta( $this->id, 'po_inline', $this->inline );
|
629 |
update_post_meta( $this->id, 'po_round_corners', $this->round_corners );
|
630 |
update_post_meta( $this->id, 'po_scroll_body', $this->scroll_body );
|
631 |
update_post_meta( $this->id, 'po_can_hide', $this->can_hide );
|
663 |
break;
|
664 |
}
|
665 |
}
|
666 |
+
lib2()->ui->admin_message( sprintf( $msg, $this->name ) );
|
667 |
} else {
|
668 |
+
lib2()->ui->admin_message( __( 'Could not save PopUp.', PO_LANG ), 'err' );
|
669 |
}
|
670 |
}
|
671 |
|
689 |
|
690 |
// Check for specific/frequently used shortcodes.
|
691 |
|
692 |
+
if ( 'footer' !== $method
|
693 |
&& preg_match( '#\[gravityforms?(\s.*?\]|\])#', $content )
|
694 |
) {
|
695 |
+
lib2()->ui->admin_message(
|
696 |
sprintf(
|
697 |
__( 'You are using Gravity Forms inside this PopUp. It is best to switch to the <a href="%s">loading method</a> "Page Footer" to ensure the form works as expected.', PO_LANG ),
|
698 |
'edit.php?post_type=' . IncPopupItem::POST_TYPE . '&page=settings'
|
712 |
foreach ( $check->shortcodes as $code ) {
|
713 |
$match = array();
|
714 |
if ( preg_match( '#\[' . $code . '(\s.*?\]|\])#', $content, $match ) ) {
|
715 |
+
lib2()->ui->admin_message(
|
716 |
sprintf(
|
717 |
__( 'Shortcode <code>%s</code> requires a different <a href="%s">loading method</a> to work.<br />Try "Page Footer", though sometimes the method "Custom AJAX" also works (please test the result)', PO_LANG ),
|
718 |
$match[0],
|
730 |
break;
|
731 |
|
732 |
default:
|
733 |
+
//lib2()->ui->admin_message( 'Shortcode-Check not defined for: ' . $method );
|
734 |
}
|
735 |
}
|
736 |
|
754 |
return $active;
|
755 |
}
|
756 |
|
757 |
+
/**
|
758 |
+
* Prepares the variables that are available in popup template files.
|
759 |
+
*
|
760 |
+
* This function is used by the function `load_html()` and exports a list of
|
761 |
+
* variables that make it easier to style/modify popup templates.
|
762 |
+
*
|
763 |
+
* @since 4.8.0.0
|
764 |
+
* @return array List of variables
|
765 |
+
*/
|
766 |
+
protected function prepare_template_vars() {
|
767 |
+
$has_title = ! empty( $this->title );
|
768 |
+
$has_subtitle = ! empty( $this->subtitle );
|
769 |
+
$has_cta = ! empty( $this->cta_label ) && ! empty( $this->cta_link );
|
770 |
+
$cta_target = empty( $this->cta_target ) ? '_self' : $this->cta_target;
|
771 |
+
$has_img = ! empty( $this->image );
|
772 |
+
$has_buttons = $has_cta || $this->can_hide;
|
773 |
+
|
774 |
+
if ( ! $this->image_mobile && wp_is_mobile() ) { $has_img = false; }
|
775 |
+
|
776 |
+
if ( $has_cta ) {
|
777 |
+
$cta_button_tag = sprintf(
|
778 |
+
'<a href="%1$s" class="wdpu-cta" target="%2$s">%3$s</a>',
|
779 |
+
esc_url( $this->cta_link ),
|
780 |
+
esc_attr( $cta_target ),
|
781 |
+
esc_html( $this->cta_label )
|
782 |
+
);
|
783 |
+
} else {
|
784 |
+
$cta_button_tag = '';
|
785 |
+
}
|
786 |
+
|
787 |
+
if ( $this->can_hide ) {
|
788 |
+
$hide_forever_tag = sprintf(
|
789 |
+
'<a href="#" class="wdpu-hide-forever">%s</a>',
|
790 |
+
__( 'Never see this message again.', PO_LANG )
|
791 |
+
);
|
792 |
+
} else {
|
793 |
+
$hide_forever_tag = '';
|
794 |
+
}
|
795 |
+
|
796 |
+
$outer_class = $this->class;
|
797 |
+
$inner_class = array();
|
798 |
+
$img_left = false;
|
799 |
+
|
800 |
+
$outer_class[] = 'wdpu-container';
|
801 |
+
$outer_class[] = 'wdpu-background';
|
802 |
+
$inner_class[] = 'wdpu-msg';
|
803 |
+
$inner_class[] = 'move';
|
804 |
+
|
805 |
+
if ( $has_img ) {
|
806 |
+
$img_left = ($this->image_pos == 'left');
|
807 |
+
$outer_class[] = 'img-' . $this->image_pos;
|
808 |
+
} else {
|
809 |
+
$outer_class[] = 'no-img';
|
810 |
+
}
|
811 |
+
|
812 |
+
$img_is_left = $has_img && $img_left;
|
813 |
+
$img_is_right = $has_img && ! $img_left;
|
814 |
+
|
815 |
+
if ( $this->is_preview ) {
|
816 |
+
$outer_class[] = 'preview';
|
817 |
+
if ( ! $this->image_mobile ) {
|
818 |
+
$outer_class[] = 'mobile-no-img';
|
819 |
+
}
|
820 |
+
}
|
821 |
+
|
822 |
+
if ( $has_buttons ) {
|
823 |
+
$outer_class[] = 'buttons';
|
824 |
+
}
|
825 |
+
|
826 |
+
$outer_class[] = 'style-' . $this->style;
|
827 |
+
if ( $this->round_corners ) { $outer_class[] = 'rounded'; }
|
828 |
+
if ( $this->custom_size ) { $outer_class[] = 'custom-size'; }
|
829 |
+
$outer_class[] = 'wdpu-' . $this->id;
|
830 |
+
|
831 |
+
$content = apply_filters( 'the_content', $this->content );
|
832 |
+
|
833 |
+
/**
|
834 |
+
* Allow users to manually position a Pop-up.
|
835 |
+
* Return value should be an array that defines either left/right/top/bottom.
|
836 |
+
* Important: Filter is only used when PopUp uses a custom size!
|
837 |
+
*
|
838 |
+
* Example:
|
839 |
+
* return array( 'left' => '20%', 'top' => '50px' );
|
840 |
+
*
|
841 |
+
* @var false|array
|
842 |
+
* @since 4.6.1.2
|
843 |
+
*/
|
844 |
+
$pos = false;
|
845 |
+
$pos_style = '';
|
846 |
+
if ( $this->custom_size ) {
|
847 |
+
$pos = apply_filters( 'popup-template-position', $pos, $this->id, $this );
|
848 |
+
|
849 |
+
if ( is_array( $pos ) ) {
|
850 |
+
$pos_style .= 'position:absolute;';
|
851 |
+
$outer_class[] = 'custom-pos';
|
852 |
+
|
853 |
+
if ( isset( $pos['left'] ) || isset( $pos['right'] ) ) {
|
854 |
+
isset( $pos['left'] ) && $pos_style .= 'left:' . $pos['left'] . ';';
|
855 |
+
isset( $pos['right'] ) && $pos_style .= 'right:' . $pos['right'] . ';';
|
856 |
+
$inner_class[] = 'no-move-x';
|
857 |
+
$pos_style .= 'margin-left:0;margin-right:0;';
|
858 |
+
}
|
859 |
+
if ( isset( $pos['top'] ) || isset( $pos['bottom'] ) ) {
|
860 |
+
isset( $pos['top'] ) && $pos_style .= 'top:' . $pos['top'] . ';';
|
861 |
+
isset( $pos['bottom'] ) && $pos_style .= 'bottom:' . $pos['bottom'] . ';';
|
862 |
+
$inner_class[] = 'no-move-y';
|
863 |
+
$pos_style .= 'margin-top:0;margin-bottom:0;';
|
864 |
+
}
|
865 |
+
} else {
|
866 |
+
$inner_class[] = 'no-move-x';
|
867 |
+
}
|
868 |
+
} else {
|
869 |
+
$inner_class[] = 'no-move-x';
|
870 |
+
}
|
871 |
+
|
872 |
+
/**
|
873 |
+
* Allow users to add a custom CSS class to the Pop-up.
|
874 |
+
*
|
875 |
+
* @var string
|
876 |
+
* @since 4.6.1.2
|
877 |
+
*/
|
878 |
+
if ( $this->inline ) { $outer_class[] = 'inline'; }
|
879 |
+
if ( $has_title ) { $outer_class[] = 'with-title'; }
|
880 |
+
else { $outer_class[] = 'no-title'; }
|
881 |
+
if ( $has_subtitle ) { $outer_class[] = 'with-subtitle'; }
|
882 |
+
else { $outer_class[] = 'no-subtitle'; }
|
883 |
+
|
884 |
+
$outer_class = implode(
|
885 |
+
' ',
|
886 |
+
apply_filters(
|
887 |
+
'popup-template-class',
|
888 |
+
$outer_class,
|
889 |
+
$this->id,
|
890 |
+
$this
|
891 |
+
)
|
892 |
+
);
|
893 |
+
|
894 |
+
$inner_class = implode(
|
895 |
+
' ',
|
896 |
+
apply_filters(
|
897 |
+
'popup-template-move-class',
|
898 |
+
$inner_class,
|
899 |
+
$this->id,
|
900 |
+
$this
|
901 |
+
)
|
902 |
+
);
|
903 |
+
|
904 |
+
/**
|
905 |
+
* This determines if the PopUp is initially hidden on the page.
|
906 |
+
*
|
907 |
+
* @var bool
|
908 |
+
* @since 4.8.0.0
|
909 |
+
*/
|
910 |
+
$layer_style = 'display:none;';
|
911 |
+
if ( $this->inline ) {
|
912 |
+
$layer_style = '';
|
913 |
+
}
|
914 |
+
|
915 |
+
$layer_style = apply_filters(
|
916 |
+
'popup-layer-style',
|
917 |
+
$layer_style,
|
918 |
+
$this->id,
|
919 |
+
$this
|
920 |
+
);
|
921 |
+
|
922 |
+
/**
|
923 |
+
* Prepare the variable collection that can be used in templates.
|
924 |
+
*
|
925 |
+
* This list of variables is available in the template.php file.
|
926 |
+
* Add new variables by using the filter 'popup-template-vars' below.
|
927 |
+
*/
|
928 |
+
$vars = array(
|
929 |
+
'has_title' => $has_title,
|
930 |
+
'has_subtitle' => $has_subtitle,
|
931 |
+
'has_cta' => $has_cta,
|
932 |
+
'cta_target' => $cta_target,
|
933 |
+
'has_img' => $has_img,
|
934 |
+
'has_buttons' => $has_buttons,
|
935 |
+
'outer_class' => $outer_class,
|
936 |
+
'img_left' => $img_left,
|
937 |
+
'img_is_left' => $img_is_left,
|
938 |
+
'img_is_right' => $img_is_right,
|
939 |
+
'inner_class' => $inner_class,
|
940 |
+
'pos' => $pos,
|
941 |
+
'pos_style' => $pos_style,
|
942 |
+
'layer_style' => $layer_style,
|
943 |
+
'content' => $content,
|
944 |
+
'cta_button_tag' => $cta_button_tag,
|
945 |
+
'hide_forever_tag' => $hide_forever_tag,
|
946 |
+
);
|
947 |
+
|
948 |
+
return apply_filters( 'popup-template-vars', $vars );
|
949 |
+
}
|
950 |
+
|
951 |
/**
|
952 |
* Load the PopUp HTML code from the popup.php template.
|
953 |
*
|
961 |
$styles = apply_filters( 'popup-styles', array() );
|
962 |
$details = $styles[$this->style];
|
963 |
|
964 |
+
$vars = $this->prepare_template_vars();
|
965 |
+
extract( $vars );
|
966 |
+
|
967 |
$Html[ $this->id ] = '';
|
968 |
$tpl_file = $details->dir . 'template.php';
|
969 |
|
975 |
|
976 |
$Html[ $this->id ] = str_replace( array( "\t", "\r", "\n", ' ' ), ' ', $Html[ $this->id ] );
|
977 |
$Html[ $this->id ] = str_replace( array( ' ', ' ', ' ' ), ' ', $Html[ $this->id ] );
|
978 |
+
|
979 |
+
// Replace variables in the template.
|
980 |
+
$Html[ $this->id ] = str_replace(
|
981 |
+
array(
|
982 |
+
'%color1%',
|
983 |
+
'%color2%',
|
984 |
+
'%id%',
|
985 |
+
'%title%',
|
986 |
+
'%subtitle%',
|
987 |
+
'%img_url%',
|
988 |
+
'%content%',
|
989 |
+
'%cta_button%',
|
990 |
+
'%hide_forever%',
|
991 |
+
'%outer_class%',
|
992 |
+
'%inner_class%',
|
993 |
+
'%outer_style%',
|
994 |
+
'%inner_style%',
|
995 |
+
),
|
996 |
+
array(
|
997 |
+
esc_attr( $this->code->color1 ),
|
998 |
+
esc_attr( $this->code->color2 ),
|
999 |
+
esc_attr( $this->code->id ),
|
1000 |
+
esc_html( $this->title ),
|
1001 |
+
esc_html( $this->subtitle ),
|
1002 |
+
esc_url( $this->image ),
|
1003 |
+
$content,
|
1004 |
+
$cta_button_tag,
|
1005 |
+
$hide_forever_tag,
|
1006 |
+
esc_attr( $outer_class ),
|
1007 |
+
esc_attr( $inner_class ),
|
1008 |
+
esc_attr( $layer_style ),
|
1009 |
+
esc_attr( $pos_style ),
|
1010 |
+
),
|
1011 |
+
$Html[ $this->id ]
|
1012 |
+
);
|
1013 |
}
|
1014 |
}
|
1015 |
|
1038 |
$Code[ $this->id ] = ob_get_contents();
|
1039 |
ob_end_clean();
|
1040 |
|
1041 |
+
$Code[ $this->id ] = str_replace( '#messagebox', '.' . $this->code->cls, $Code[ $this->id ] );
|
1042 |
$Code[ $this->id ] = str_replace( '%styleurl%', $details->url, $Code[ $this->id ] );
|
1043 |
$Code[ $this->id ] = str_replace( '#000001', $this->code->color1, $Code[ $this->id ] );
|
1044 |
$Code[ $this->id ] = str_replace( '#000002', $this->code->color2, $Code[ $this->id ] );
|
1045 |
}
|
1046 |
$custom_css = $this->custom_css;
|
1047 |
$custom_css = str_replace( '#popup', '#' . $this->code->id, $custom_css );
|
1048 |
+
$custom_css = str_replace( '#messagebox', '.' . $this->code->cls, $custom_css );
|
1049 |
$custom_css = str_replace( '%styleurl%', $details->url, $custom_css );
|
1050 |
$Code[ $this->id ] .= $custom_css;
|
1051 |
}
|
inc/class-popup-public.php
CHANGED
@@ -144,8 +144,9 @@ class IncPopup extends IncPopupBase {
|
|
144 |
|
145 |
$popup_data = apply_filters( 'popup-ajax-data', $this->script_data );
|
146 |
|
147 |
-
|
148 |
-
|
|
|
149 |
}
|
150 |
|
151 |
/**
|
@@ -216,7 +217,7 @@ class IncPopup extends IncPopupBase {
|
|
216 |
* In an ajax request they would already be defined by the ajax url.
|
217 |
*/
|
218 |
$_REQUEST['thereferrer'] = isset( $_SERVER['HTTP_REFERER'] ) ? $_SERVER['HTTP_REFERER'] : '';
|
219 |
-
$_REQUEST['thefrom'] =
|
220 |
|
221 |
// Populates $this->popups
|
222 |
$this->select_popup();
|
@@ -258,7 +259,7 @@ class IncPopup extends IncPopupBase {
|
|
258 |
* In an ajax request they would already be defined by the ajax url.
|
259 |
*/
|
260 |
$_REQUEST['thereferrer'] = isset( $_SERVER['HTTP_REFERER'] ) ? $_SERVER['HTTP_REFERER'] : '';
|
261 |
-
$_REQUEST['thefrom'] =
|
262 |
|
263 |
// Populates $this->popups
|
264 |
$this->select_popup();
|
144 |
|
145 |
$popup_data = apply_filters( 'popup-ajax-data', $this->script_data );
|
146 |
|
147 |
+
lib2()->ui->data( '_popup_data', $popup_data, 'front' );
|
148 |
+
lib2()->ui->add( PO_JS_URL . 'public.min.js', 'front' );
|
149 |
+
lib2()->ui->add( PO_CSS_URL . 'animate.min.css', 'front' );
|
150 |
}
|
151 |
|
152 |
/**
|
217 |
* In an ajax request they would already be defined by the ajax url.
|
218 |
*/
|
219 |
$_REQUEST['thereferrer'] = isset( $_SERVER['HTTP_REFERER'] ) ? $_SERVER['HTTP_REFERER'] : '';
|
220 |
+
$_REQUEST['thefrom'] = lib2()->net->current_url();
|
221 |
|
222 |
// Populates $this->popups
|
223 |
$this->select_popup();
|
259 |
* In an ajax request they would already be defined by the ajax url.
|
260 |
*/
|
261 |
$_REQUEST['thereferrer'] = isset( $_SERVER['HTTP_REFERER'] ) ? $_SERVER['HTTP_REFERER'] : '';
|
262 |
+
$_REQUEST['thefrom'] = lib2()->net->current_url();
|
263 |
|
264 |
// Populates $this->popups
|
265 |
$this->select_popup();
|
inc/class-popup-rule.php
CHANGED
@@ -20,7 +20,6 @@ class IncPopupRules {
|
|
20 |
self::$classes[$classname] = new $classname();
|
21 |
}
|
22 |
|
23 |
-
|
24 |
/**
|
25 |
* Checks which php file defines the specified rule-ID
|
26 |
*
|
@@ -279,9 +278,10 @@ abstract class IncPopupRule {
|
|
279 |
* }
|
280 |
*
|
281 |
* @since 4.6
|
|
|
282 |
* @return mixed Data collection of this rule.
|
283 |
*/
|
284 |
-
protected function save_() {
|
285 |
return false;
|
286 |
}
|
287 |
|
@@ -378,8 +378,11 @@ abstract class IncPopupRule {
|
|
378 |
*/
|
379 |
public function _save( $key, $data ) {
|
380 |
$method = 'save_' . $key;
|
|
|
|
|
|
|
381 |
if ( method_exists( $this, $method ) ) {
|
382 |
-
$data[$key] = $this->$method();
|
383 |
}
|
384 |
|
385 |
return $data;
|
@@ -443,4 +446,4 @@ abstract class IncPopupRule {
|
|
443 |
<?php
|
444 |
}
|
445 |
|
446 |
-
};
|
20 |
self::$classes[$classname] = new $classname();
|
21 |
}
|
22 |
|
|
|
23 |
/**
|
24 |
* Checks which php file defines the specified rule-ID
|
25 |
*
|
278 |
* }
|
279 |
*
|
280 |
* @since 4.6
|
281 |
+
* @param array $data The contents of $_POST['po_rule_data'].
|
282 |
* @return mixed Data collection of this rule.
|
283 |
*/
|
284 |
+
protected function save_( $data ) {
|
285 |
return false;
|
286 |
}
|
287 |
|
378 |
*/
|
379 |
public function _save( $key, $data ) {
|
380 |
$method = 'save_' . $key;
|
381 |
+
$data = isset( $_POST['po_rule_data'] ) ? $_POST['po_rule_data'] : array();
|
382 |
+
$data = lib2()->array->get( $data );
|
383 |
+
|
384 |
if ( method_exists( $this, $method ) ) {
|
385 |
+
$data[$key] = $this->$method($data);
|
386 |
}
|
387 |
|
388 |
return $data;
|
446 |
<?php
|
447 |
}
|
448 |
|
449 |
+
};
|
inc/external/wpmu-lib/changelog.txt
CHANGED
@@ -4,6 +4,44 @@ Author: Philipp Stracker
|
|
4 |
Change Log:
|
5 |
----------------------------------------------------------------------
|
6 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
1.1.1
|
8 |
----------------------------------------------------------------------
|
9 |
- Fix a PHP warning in html plugin_list
|
4 |
Change Log:
|
5 |
----------------------------------------------------------------------
|
6 |
|
7 |
+
2.0.2
|
8 |
+
----------------------------------------------------------------------
|
9 |
+
- Fix bug with wpmui.popup contents
|
10 |
+
|
11 |
+
2.0.2
|
12 |
+
----------------------------------------------------------------------
|
13 |
+
- Fix javascript collision with ACF Pro plugin
|
14 |
+
- New js element wpmuUi.progressbar()
|
15 |
+
- New function lib2()->convert()
|
16 |
+
- lib2()->ui->admin_message() has new styles and discardable mode
|
17 |
+
- lib2()->html->element() regards class for hidden fields
|
18 |
+
- lib2()->html->element() can handle new HTML5 input types: number, url, email, time, search
|
19 |
+
- lib2()->html->element() radio-slider element can get special class 'reverse'
|
20 |
+
- lib2()->html->element() has a new attribute called 'wrapper_class'
|
21 |
+
- lib2()->html->plugin_list() only displays the Details link if details are present
|
22 |
+
- lib2()->debug has many small improvements
|
23 |
+
|
24 |
+
2.0.1
|
25 |
+
----------------------------------------------------------------------
|
26 |
+
- Fix errors when running side by side with older version
|
27 |
+
- Add new function handlers to the JS popup: wpmUi.popup().on() and .off()
|
28 |
+
|
29 |
+
2.0.0
|
30 |
+
----------------------------------------------------------------------
|
31 |
+
- Massive refactoring of the file and code structure
|
32 |
+
- Added new functions
|
33 |
+
- Much better documentation of the library
|
34 |
+
- Great improvements in the debugger output
|
35 |
+
|
36 |
+
1.1.3
|
37 |
+
----------------------------------------------------------------------
|
38 |
+
- Improve the wpmUi.popup() object
|
39 |
+
|
40 |
+
1.1.2
|
41 |
+
----------------------------------------------------------------------
|
42 |
+
- Fix issue where js/css files were not loaded in front-end
|
43 |
+
- Several small code improvements
|
44 |
+
|
45 |
1.1.1
|
46 |
----------------------------------------------------------------------
|
47 |
- Fix a PHP warning in html plugin_list
|
inc/external/wpmu-lib/core.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: WPMU Dev code library
|
4 |
Plugin URI: http://premium.wpmudev.org/
|
5 |
Description: Framework to support creating WordPress plugins and themes.
|
6 |
-
Version:
|
7 |
Author: WPMU DEV
|
8 |
Author URI: http://premium.wpmudev.org/
|
9 |
Textdomain: wpmu-lib
|
@@ -13,38 +13,47 @@ Textdomain: wpmu-lib
|
|
13 |
* Constants for wp-config.php
|
14 |
*
|
15 |
* define( 'WDEV_UNMINIFIED', true ) // Load the unminified JS/CSS files
|
16 |
-
* define( 'WDEV_DEBUG', true ) // Activate
|
|
|
17 |
*/
|
18 |
|
19 |
-
$version = '
|
20 |
|
21 |
/**
|
22 |
* Load TheLib class definition if not some other plugin already loaded it.
|
23 |
*/
|
24 |
$dirname = dirname( __FILE__ ) . '/inc/';
|
25 |
$file_ver = str_replace( '.', '_', $version );
|
26 |
-
$
|
|
|
27 |
|
28 |
$files = array(
|
29 |
-
$
|
30 |
-
$main_class
|
31 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
32 |
);
|
33 |
|
|
|
34 |
foreach ( $files as $class_name => $class_file ) {
|
35 |
if ( ! class_exists( $class_name ) && file_exists( $dirname . $class_file ) ) {
|
36 |
require_once( $dirname . $class_file );
|
37 |
}
|
38 |
}
|
39 |
|
40 |
-
if ( ! class_exists( '
|
41 |
/**
|
42 |
* The wrapper class is used to handle situations when some plugins include
|
43 |
* different versions of TheLib.
|
44 |
*
|
45 |
-
*
|
46 |
*/
|
47 |
-
class
|
48 |
static public $version = '0.0.0';
|
49 |
static public $object = null;
|
50 |
|
@@ -57,28 +66,22 @@ if ( ! class_exists( 'TheLibWrap' ) ) {
|
|
57 |
};
|
58 |
}
|
59 |
$obj = new $main_class();
|
60 |
-
|
61 |
|
62 |
-
if ( ! function_exists( '
|
63 |
/**
|
64 |
-
* This is a shortcut function to access the latest
|
|
|
|
|
|
|
|
|
|
|
|
|
65 |
*
|
66 |
* Usage:
|
67 |
-
*
|
68 |
*/
|
69 |
-
function
|
70 |
-
|
71 |
-
|
72 |
-
if ( func_num_args() ) {
|
73 |
-
$func = func_get_arg( 0 );
|
74 |
-
$args = func_get_args();
|
75 |
-
array_shift( $args );
|
76 |
-
|
77 |
-
if ( is_callable( array( $obj, $func ) ) ) {
|
78 |
-
return call_user_method_array( $func, $obj, $args );
|
79 |
-
}
|
80 |
-
}
|
81 |
-
|
82 |
-
return $obj;
|
83 |
}
|
84 |
}
|
3 |
Plugin Name: WPMU Dev code library
|
4 |
Plugin URI: http://premium.wpmudev.org/
|
5 |
Description: Framework to support creating WordPress plugins and themes.
|
6 |
+
Version: 2.0.3
|
7 |
Author: WPMU DEV
|
8 |
Author URI: http://premium.wpmudev.org/
|
9 |
Textdomain: wpmu-lib
|
13 |
* Constants for wp-config.php
|
14 |
*
|
15 |
* define( 'WDEV_UNMINIFIED', true ) // Load the unminified JS/CSS files
|
16 |
+
* define( 'WDEV_DEBUG', true ) // Activate lib2()->debug->dump() without having to enable WP_DEBUG
|
17 |
+
* define( 'WDEV_AJAX_DEBUG', false ) // Disable lib2()->debug->dump() for Ajax requests
|
18 |
*/
|
19 |
|
20 |
+
$version = '2.0.3'; // Remember to update the class-name in functions-wpmulib.php!!
|
21 |
|
22 |
/**
|
23 |
* Load TheLib class definition if not some other plugin already loaded it.
|
24 |
*/
|
25 |
$dirname = dirname( __FILE__ ) . '/inc/';
|
26 |
$file_ver = str_replace( '.', '_', $version );
|
27 |
+
$class_base = 'TheLib_' . $file_ver;
|
28 |
+
$main_class = $class_base . '_Core';
|
29 |
|
30 |
$files = array(
|
31 |
+
$class_base => 'class-thelib.php',
|
32 |
+
$main_class => 'class-thelib-core.php',
|
33 |
+
$class_base . '_Array' => 'class-thelib-array.php',
|
34 |
+
$class_base . '_Debug' => 'class-thelib-debug.php',
|
35 |
+
$class_base . '_Html' => 'class-thelib-html.php',
|
36 |
+
$class_base . '_Net' => 'class-thelib-net.php',
|
37 |
+
$class_base . '_Session' => 'class-thelib-session.php',
|
38 |
+
$class_base . '_Updates' => 'class-thelib-updates.php',
|
39 |
+
$class_base . '_Ui' => 'class-thelib-ui.php',
|
40 |
);
|
41 |
|
42 |
+
|
43 |
foreach ( $files as $class_name => $class_file ) {
|
44 |
if ( ! class_exists( $class_name ) && file_exists( $dirname . $class_file ) ) {
|
45 |
require_once( $dirname . $class_file );
|
46 |
}
|
47 |
}
|
48 |
|
49 |
+
if ( ! class_exists( 'TheLib2Wrap' ) ) {
|
50 |
/**
|
51 |
* The wrapper class is used to handle situations when some plugins include
|
52 |
* different versions of TheLib.
|
53 |
*
|
54 |
+
* TheLib2Wrap will always keep the latest version of TheLib for later usage.
|
55 |
*/
|
56 |
+
class TheLib2Wrap {
|
57 |
static public $version = '0.0.0';
|
58 |
static public $object = null;
|
59 |
|
66 |
};
|
67 |
}
|
68 |
$obj = new $main_class();
|
69 |
+
TheLib2Wrap::set_obj( $version, $obj );
|
70 |
|
71 |
+
if ( ! function_exists( 'lib2' ) ) {
|
72 |
/**
|
73 |
+
* This is a shortcut function to access the latest TheLib_x_y_z_Core object.
|
74 |
+
*
|
75 |
+
* The shortcut function is called `lib2` because it is incompatible with
|
76 |
+
* the old WDev() function. The number (2) reflects the main version of this
|
77 |
+
* module.
|
78 |
+
*
|
79 |
+
* The main version is only increased when backwards compatibility fails!
|
80 |
*
|
81 |
* Usage:
|
82 |
+
* lib2()->ui->admin_message();
|
83 |
*/
|
84 |
+
function lib2() {
|
85 |
+
return TheLib2Wrap::$object;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
86 |
}
|
87 |
}
|
inc/external/wpmu-lib/css/{font-awesome.css → fontawesome.2.css}
RENAMED
File without changes
|
inc/external/wpmu-lib/css/{font-awesome.min.css → fontawesome.2.min.css}
RENAMED
@@ -1,6 +1,6 @@
|
|
1 |
-
/*! WPMU Dev code library -
|
2 |
* http://premium.wpmudev.org/
|
3 |
-
* Copyright (c)
|
4 |
|
5 |
@charset "UTF-8";/*!
|
6 |
* Font Awesome 4.2.0 by @davegandy - http://fontawesome.io - @fontawesome
|
1 |
+
/*! WPMU Dev code library - v2.0.3
|
2 |
* http://premium.wpmudev.org/
|
3 |
+
* Copyright (c) 2015; * Licensed GPLv2+ */
|
4 |
|
5 |
@charset "UTF-8";/*!
|
6 |
* Font Awesome 4.2.0 by @davegandy - http://fontawesome.io - @fontawesome
|
inc/external/wpmu-lib/css/fontawesome.css
DELETED
@@ -1,2175 +0,0 @@
|
|
1 |
-
@charset "UTF-8";
|
2 |
-
/*!
|
3 |
-
* Font Awesome 4.2.0 by @davegandy - http://fontawesome.io - @fontawesome
|
4 |
-
* License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
|
5 |
-
*/
|
6 |
-
/* FONT PATH
|
7 |
-
* -------------------------- */
|
8 |
-
@font-face {
|
9 |
-
font-family: 'FontAwesome420';
|
10 |
-
src: url("../fonts/fontawesome420-webfont.eot?v=4.2.0");
|
11 |
-
src: url("../fonts/fontawesome420-webfont.eot?#iefix&v=4.2.0") format("embedded-opentype"), url("../fonts/fontawesome420-webfont.woff?v=4.2.0") format("woff"), url("../fonts/fontawesome420-webfont.ttf?v=4.2.0") format("truetype"), url("../fonts/fontawesome420-webfont.svg?v=4.2.0#fontawesomeregular") format("svg");
|
12 |
-
font-weight: normal;
|
13 |
-
font-style: normal;
|
14 |
-
}
|
15 |
-
.wpmui-fa {
|
16 |
-
display: inline-block;
|
17 |
-
font: normal normal normal 14px/1 FontAwesome420;
|
18 |
-
font-size: inherit;
|
19 |
-
text-rendering: auto;
|
20 |
-
-webkit-font-smoothing: antialiased;
|
21 |
-
-moz-osx-font-smoothing: grayscale;
|
22 |
-
}
|
23 |
-
|
24 |
-
/* makes the font 33% larger relative to the icon container */
|
25 |
-
.wpmui-fa-lg {
|
26 |
-
font-size: 1.33333em;
|
27 |
-
line-height: 0.75em;
|
28 |
-
vertical-align: -15%;
|
29 |
-
}
|
30 |
-
|
31 |
-
.wpmui-fa-2x {
|
32 |
-
font-size: 2em;
|
33 |
-
}
|
34 |
-
|
35 |
-
.wpmui-fa-3x {
|
36 |
-
font-size: 3em;
|
37 |
-
}
|
38 |
-
|
39 |
-
.wpmui-fa-4x {
|
40 |
-
font-size: 4em;
|
41 |
-
}
|
42 |
-
|
43 |
-
.wpmui-fa-5x {
|
44 |
-
font-size: 5em;
|
45 |
-
}
|
46 |
-
|
47 |
-
.wpmui-fa-fw {
|
48 |
-
width: 1.28571em;
|
49 |
-
text-align: center;
|
50 |
-
}
|
51 |
-
|
52 |
-
.wpmui-fa-ul {
|
53 |
-
padding-left: 0;
|
54 |
-
margin-left: 2.14286em;
|
55 |
-
list-style-type: none;
|
56 |
-
}
|
57 |
-
.wpmui-fa-ul > li {
|
58 |
-
position: relative;
|
59 |
-
}
|
60 |
-
|
61 |
-
.wpmui-fa-li {
|
62 |
-
position: absolute;
|
63 |
-
left: -2.14286em;
|
64 |
-
width: 2.14286em;
|
65 |
-
top: 0.14286em;
|
66 |
-
text-align: center;
|
67 |
-
}
|
68 |
-
.wpmui-fa-li.wpmui-fa-lg {
|
69 |
-
left: -1.85714em;
|
70 |
-
}
|
71 |
-
|
72 |
-
.wpmui-fa-border {
|
73 |
-
padding: .2em .25em .15em;
|
74 |
-
border: solid 0.08em #eee;
|
75 |
-
border-radius: .1em;
|
76 |
-
}
|
77 |
-
|
78 |
-
.pull-right {
|
79 |
-
float: right;
|
80 |
-
}
|
81 |
-
|
82 |
-
.pull-left {
|
83 |
-
float: left;
|
84 |
-
}
|
85 |
-
|
86 |
-
.wpmui-fa.pull-left {
|
87 |
-
margin-right: .3em;
|
88 |
-
}
|
89 |
-
.wpmui-fa.pull-right {
|
90 |
-
margin-left: .3em;
|
91 |
-
}
|
92 |
-
|
93 |
-
.wpmui-fa-spin {
|
94 |
-
-webkit-animation: fa-spin 2s infinite linear;
|
95 |
-
animation: fa-spin 2s infinite linear;
|
96 |
-
}
|
97 |
-
|
98 |
-
@-webkit-keyframes fa-spin {
|
99 |
-
0% {
|
100 |
-
-webkit-transform: rotate(0deg);
|
101 |
-
transform: rotate(0deg);
|
102 |
-
}
|
103 |
-
100% {
|
104 |
-
-webkit-transform: rotate(359deg);
|
105 |
-
transform: rotate(359deg);
|
106 |
-
}
|
107 |
-
}
|
108 |
-
@keyframes fa-spin {
|
109 |
-
0% {
|
110 |
-
-webkit-transform: rotate(0deg);
|
111 |
-
transform: rotate(0deg);
|
112 |
-
}
|
113 |
-
100% {
|
114 |
-
-webkit-transform: rotate(359deg);
|
115 |
-
transform: rotate(359deg);
|
116 |
-
}
|
117 |
-
}
|
118 |
-
.wpmui-fa-rotate-90 {
|
119 |
-
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1);
|
120 |
-
-webkit-transform: rotate(90deg);
|
121 |
-
-ms-transform: rotate(90deg);
|
122 |
-
transform: rotate(90deg);
|
123 |
-
}
|
124 |
-
|
125 |
-
.wpmui-fa-rotate-180 {
|
126 |
-
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2);
|
127 |
-
-webkit-transform: rotate(180deg);
|
128 |
-
-ms-transform: rotate(180deg);
|
129 |
-
transform: rotate(180deg);
|
130 |
-
}
|
131 |
-
|
132 |
-
.wpmui-fa-rotate-270 {
|
133 |
-
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
|
134 |
-
-webkit-transform: rotate(270deg);
|
135 |
-
-ms-transform: rotate(270deg);
|
136 |
-
transform: rotate(270deg);
|
137 |
-
}
|
138 |
-
|
139 |
-
.wpmui-fa-flip-horizontal {
|
140 |
-
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=0);
|
141 |
-
-webkit-transform: scale(-1, 1);
|
142 |
-
-ms-transform: scale(-1, 1);
|
143 |
-
transform: scale(-1, 1);
|
144 |
-
}
|
145 |
-
|
146 |
-
.wpmui-fa-flip-vertical {
|
147 |
-
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2);
|
148 |
-
-webkit-transform: scale(1, -1);
|
149 |
-
-ms-transform: scale(1, -1);
|
150 |
-
transform: scale(1, -1);
|
151 |
-
}
|
152 |
-
|
153 |
-
:root .wpmui-fa-rotate-90,
|
154 |
-
:root .wpmui-fa-rotate-180,
|
155 |
-
:root .wpmui-fa-rotate-270,
|
156 |
-
:root .wpmui-fa-flip-horizontal,
|
157 |
-
:root .wpmui-fa-flip-vertical {
|
158 |
-
filter: none;
|
159 |
-
}
|
160 |
-
|
161 |
-
.wpmui-fa-stack {
|
162 |
-
position: relative;
|
163 |
-
display: inline-block;
|
164 |
-
width: 2em;
|
165 |
-
height: 2em;
|
166 |
-
line-height: 2em;
|
167 |
-
vertical-align: middle;
|
168 |
-
}
|
169 |
-
|
170 |
-
.wpmui-fa-stack-1x, .wpmui-fa-stack-2x {
|
171 |
-
position: absolute;
|
172 |
-
left: 0;
|
173 |
-
width: 100%;
|
174 |
-
text-align: center;
|
175 |
-
}
|
176 |
-
|
177 |
-
.wpmui-fa-stack-1x {
|
178 |
-
line-height: inherit;
|
179 |
-
}
|
180 |
-
|
181 |
-
.wpmui-fa-stack-2x {
|
182 |
-
font-size: 2em;
|
183 |
-
}
|
184 |
-
|
185 |
-
.wpmui-fa-inverse {
|
186 |
-
color: #fff;
|
187 |
-
}
|
188 |
-
|
189 |
-
/* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen
|
190 |
-
readers do not read off random characters that represent icons */
|
191 |
-
.wpmui-fa-glass:before {
|
192 |
-
content: "";
|
193 |
-
}
|
194 |
-
|
195 |
-
.wpmui-fa-music:before {
|
196 |
-
content: "";
|
197 |
-
}
|
198 |
-
|
199 |
-
.wpmui-fa-search:before {
|
200 |
-
content: "";
|
201 |
-
}
|
202 |
-
|
203 |
-
.wpmui-fa-envelope-o:before {
|
204 |
-
content: "";
|
205 |
-
}
|
206 |
-
|
207 |
-
.wpmui-fa-heart:before {
|
208 |
-
content: "";
|
209 |
-
}
|
210 |
-
|
211 |
-
.wpmui-fa-star:before {
|
212 |
-
content: "";
|
213 |
-
}
|
214 |
-
|
215 |
-
.wpmui-fa-star-o:before {
|
216 |
-
content: "";
|
217 |
-
}
|
218 |
-
|
219 |
-
.wpmui-fa-user:before {
|
220 |
-
content: "";
|
221 |
-
}
|
222 |
-
|
223 |
-
.wpmui-fa-film:before {
|
224 |
-
content: "";
|
225 |
-
}
|
226 |
-
|
227 |
-
.wpmui-fa-th-large:before {
|
228 |
-
content: "";
|
229 |
-
}
|
230 |
-
|
231 |
-
.wpmui-fa-th:before {
|
232 |
-
content: "";
|
233 |
-
}
|
234 |
-
|
235 |
-
.wpmui-fa-th-list:before {
|
236 |
-
content: "";
|
237 |
-
}
|
238 |
-
|
239 |
-
.wpmui-fa-check:before {
|
240 |
-
content: "";
|
241 |
-
}
|
242 |
-
|
243 |
-
.wpmui-fa-remove:before,
|
244 |
-
.wpmui-fa-close:before,
|
245 |
-
.wpmui-fa-times:before {
|
246 |
-
content: "";
|
247 |
-
}
|
248 |
-
|
249 |
-
.wpmui-fa-search-plus:before {
|
250 |
-
content: "";
|
251 |
-
}
|
252 |
-
|
253 |
-
.wpmui-fa-search-minus:before {
|
254 |
-
content: "";
|
255 |
-
}
|
256 |
-
|
257 |
-
.wpmui-fa-power-off:before {
|
258 |
-
content: "";
|
259 |
-
}
|
260 |
-
|
261 |
-
.wpmui-fa-signal:before {
|
262 |
-
content: "";
|
263 |
-
}
|
264 |
-
|
265 |
-
.wpmui-fa-gear:before,
|
266 |
-
.wpmui-fa-cog:before {
|
267 |
-
content: "";
|
268 |
-
}
|
269 |
-
|
270 |
-
.wpmui-fa-trash-o:before {
|
271 |
-
content: "";
|
272 |
-
}
|
273 |
-
|
274 |
-
.wpmui-fa-home:before {
|
275 |
-
content: "";
|
276 |
-
}
|
277 |
-
|
278 |
-
.wpmui-fa-file-o:before {
|
279 |
-
content: "";
|
280 |
-
}
|
281 |
-
|
282 |
-
.wpmui-fa-clock-o:before {
|
283 |
-
content: "";
|
284 |
-
}
|
285 |
-
|
286 |
-
.wpmui-fa-road:before {
|
287 |
-
content: "";
|
288 |
-
}
|
289 |
-
|
290 |
-
.wpmui-fa-download:before {
|
291 |
-
content: "";
|
292 |
-
}
|
293 |
-
|
294 |
-
.wpmui-fa-arrow-circle-o-down:before {
|
295 |
-
content: "";
|
296 |
-
}
|
297 |
-
|
298 |
-
.wpmui-fa-arrow-circle-o-up:before {
|
299 |
-
content: "";
|
300 |
-
}
|
301 |
-
|
302 |
-
.wpmui-fa-inbox:before {
|
303 |
-
content: "";
|
304 |
-
}
|
305 |
-
|
306 |
-
.wpmui-fa-play-circle-o:before {
|
307 |
-
content: "";
|
308 |
-
}
|
309 |
-
|
310 |
-
.wpmui-fa-rotate-right:before,
|
311 |
-
.wpmui-fa-repeat:before {
|
312 |
-
content: "";
|
313 |
-
}
|
314 |
-
|
315 |
-
.wpmui-fa-refresh:before {
|
316 |
-
content: "";
|
317 |
-
}
|
318 |
-
|
319 |
-
.wpmui-fa-list-alt:before {
|
320 |
-
content: "";
|
321 |
-
}
|
322 |
-
|
323 |
-
.wpmui-fa-lock:before {
|
324 |
-
content: "";
|
325 |
-
}
|
326 |
-
|
327 |
-
.wpmui-fa-flag:before {
|
328 |
-
content: "";
|
329 |
-
}
|
330 |
-
|
331 |
-
.wpmui-fa-headphones:before {
|
332 |
-
content: "";
|
333 |
-
}
|
334 |
-
|
335 |
-
.wpmui-fa-volume-off:before {
|
336 |
-
content: "";
|
337 |
-
}
|
338 |
-
|
339 |
-
.wpmui-fa-volume-down:before {
|
340 |
-
content: "";
|
341 |
-
}
|
342 |
-
|
343 |
-
.wpmui-fa-volume-up:before {
|
344 |
-
content: "";
|
345 |
-
}
|
346 |
-
|
347 |
-
.wpmui-fa-qrcode:before {
|
348 |
-
content: "";
|
349 |
-
}
|
350 |
-
|
351 |
-
.wpmui-fa-barcode:before {
|
352 |
-
content: "";
|
353 |
-
}
|
354 |
-
|
355 |
-
.wpmui-fa-tag:before {
|
356 |
-
content: "";
|
357 |
-
}
|
358 |
-
|
359 |
-
.wpmui-fa-tags:before {
|
360 |
-
content: "";
|
361 |
-
}
|
362 |
-
|
363 |
-
.wpmui-fa-book:before {
|
364 |
-
content: "";
|
365 |
-
}
|
366 |
-
|
367 |
-
.wpmui-fa-bookmark:before {
|
368 |
-
content: "";
|
369 |
-
}
|
370 |
-
|
371 |
-
.wpmui-fa-print:before {
|
372 |
-
content: "";
|
373 |
-
}
|
374 |
-
|
375 |
-
.wpmui-fa-camera:before {
|
376 |
-
content: "";
|
377 |
-
}
|
378 |
-
|
379 |
-
.wpmui-fa-font:before {
|
380 |
-
content: "";
|
381 |
-
}
|
382 |
-
|
383 |
-
.wpmui-fa-bold:before {
|
384 |
-
content: "";
|
385 |
-
}
|
386 |
-
|
387 |
-
.wpmui-fa-italic:before {
|
388 |
-
content: "";
|
389 |
-
}
|
390 |
-
|
391 |
-
.wpmui-fa-text-height:before {
|
392 |
-
content: "";
|
393 |
-
}
|
394 |
-
|
395 |
-
.wpmui-fa-text-width:before {
|
396 |
-
content: "";
|
397 |
-
}
|
398 |
-
|
399 |
-
.wpmui-fa-align-left:before {
|
400 |
-
content: "";
|
401 |
-
}
|
402 |
-
|
403 |
-
.wpmui-fa-align-center:before {
|
404 |
-
content: "";
|
405 |
-
}
|
406 |
-
|
407 |
-
.wpmui-fa-align-right:before {
|
408 |
-
content: "";
|
409 |
-
}
|
410 |
-
|
411 |
-
.wpmui-fa-align-justify:before {
|
412 |
-
content: "";
|
413 |
-
}
|
414 |
-
|
415 |
-
.wpmui-fa-list:before {
|
416 |
-
content: "";
|
417 |
-
}
|
418 |
-
|
419 |
-
.wpmui-fa-dedent:before,
|
420 |
-
.wpmui-fa-outdent:before {
|
421 |
-
content: "";
|
422 |
-
}
|
423 |
-
|
424 |
-
.wpmui-fa-indent:before {
|
425 |
-
content: "";
|
426 |
-
}
|
427 |
-
|
428 |
-
.wpmui-fa-video-camera:before {
|
429 |
-
content: "";
|
430 |
-
}
|
431 |
-
|
432 |
-
.wpmui-fa-photo:before,
|
433 |
-
.wpmui-fa-image:before,
|
434 |
-
.wpmui-fa-picture-o:before {
|
435 |
-
content: "";
|
436 |
-
}
|
437 |
-
|
438 |
-
.wpmui-fa-pencil:before {
|
439 |
-
content: "";
|
440 |
-
}
|
441 |
-
|
442 |
-
.wpmui-fa-map-marker:before {
|
443 |
-
content: "";
|
444 |
-
}
|
445 |
-
|
446 |
-
.wpmui-fa-adjust:before {
|
447 |
-
content: "";
|
448 |
-
}
|
449 |
-
|
450 |
-
.wpmui-fa-tint:before {
|
451 |
-
content: "";
|
452 |
-
}
|
453 |
-
|
454 |
-
.wpmui-fa-edit:before,
|
455 |
-
.wpmui-fa-pencil-square-o:before {
|
456 |
-
content: "";
|
457 |
-
}
|
458 |
-
|
459 |
-
.wpmui-fa-share-square-o:before {
|
460 |
-
content: "";
|
461 |
-
}
|
462 |
-
|
463 |
-
.wpmui-fa-check-square-o:before {
|
464 |
-
content: "";
|
465 |
-
}
|
466 |
-
|
467 |
-
.wpmui-fa-arrows:before {
|
468 |
-
content: "";
|
469 |
-
}
|
470 |
-
|
471 |
-
.wpmui-fa-step-backward:before {
|
472 |
-
content: "";
|
473 |
-
}
|
474 |
-
|
475 |
-
.wpmui-fa-fast-backward:before {
|
476 |
-
content: "";
|
477 |
-
}
|
478 |
-
|
479 |
-
.wpmui-fa-backward:before {
|
480 |
-
content: "";
|
481 |
-
}
|
482 |
-
|
483 |
-
.wpmui-fa-play:before {
|
484 |
-
content: "";
|
485 |
-
}
|
486 |
-
|
487 |
-
.wpmui-fa-pause:before {
|
488 |
-
content: "";
|
489 |
-
}
|
490 |
-
|
491 |
-
.wpmui-fa-stop:before {
|
492 |
-
content: "";
|
493 |
-
}
|
494 |
-
|
495 |
-
.wpmui-fa-forward:before {
|
496 |
-
content: "";
|
497 |
-
}
|
498 |
-
|
499 |
-
.wpmui-fa-fast-forward:before {
|
500 |
-
content: "";
|
501 |
-
}
|
502 |
-
|
503 |
-
.wpmui-fa-step-forward:before {
|
504 |
-
content: "";
|
505 |
-
}
|
506 |
-
|
507 |
-
.wpmui-fa-eject:before {
|
508 |
-
content: "";
|
509 |
-
}
|
510 |
-
|
511 |
-
.wpmui-fa-chevron-left:before {
|
512 |
-
content: "";
|
513 |
-
}
|
514 |
-
|
515 |
-
.wpmui-fa-chevron-right:before {
|
516 |
-
content: "";
|
517 |
-
}
|
518 |
-
|
519 |
-
.wpmui-fa-plus-circle:before {
|
520 |
-
content: "";
|
521 |
-
}
|
522 |
-
|
523 |
-
.wpmui-fa-minus-circle:before {
|
524 |
-
content: "";
|
525 |
-
}
|
526 |
-
|
527 |
-
.wpmui-fa-times-circle:before {
|
528 |
-
content: "";
|
529 |
-
}
|
530 |
-
|
531 |
-
.wpmui-fa-check-circle:before {
|
532 |
-
content: "";
|
533 |
-
}
|
534 |
-
|
535 |
-
.wpmui-fa-question-circle:before {
|
536 |
-
content: "";
|
537 |
-
}
|
538 |
-
|
539 |
-
.wpmui-fa-info-circle:before {
|
540 |
-
content: "";
|
541 |
-
}
|
542 |
-
|
543 |
-
.wpmui-fa-crosshairs:before {
|
544 |
-
content: "";
|
545 |
-
}
|
546 |
-
|
547 |
-
.wpmui-fa-times-circle-o:before {
|
548 |
-
content: "";
|
549 |
-
}
|
550 |
-
|
551 |
-
.wpmui-fa-check-circle-o:before {
|
552 |
-
content: "";
|
553 |
-
}
|
554 |
-
|
555 |
-
.wpmui-fa-ban:before {
|
556 |
-
content: "";
|
557 |
-
}
|
558 |
-
|
559 |
-
.wpmui-fa-arrow-left:before {
|
560 |
-
content: "";
|
561 |
-
}
|
562 |
-
|
563 |
-
.wpmui-fa-arrow-right:before {
|
564 |
-
content: "";
|
565 |
-
}
|
566 |
-
|
567 |
-
.wpmui-fa-arrow-up:before {
|
568 |
-
content: "";
|
569 |
-
}
|
570 |
-
|
571 |
-
.wpmui-fa-arrow-down:before {
|
572 |
-
content: "";
|
573 |
-
}
|
574 |
-
|
575 |
-
.wpmui-fa-mail-forward:before,
|
576 |
-
.wpmui-fa-share:before {
|
577 |
-
content: "";
|
578 |
-
}
|
579 |
-
|
580 |
-
.wpmui-fa-expand:before {
|
581 |
-
content: "";
|
582 |
-
}
|
583 |
-
|
584 |
-
.wpmui-fa-compress:before {
|
585 |
-
content: "";
|
586 |
-
}
|
587 |
-
|
588 |
-
.wpmui-fa-plus:before {
|
589 |
-
content: "";
|
590 |
-
}
|
591 |
-
|
592 |
-
.wpmui-fa-minus:before {
|
593 |
-
content: "";
|
594 |
-
}
|
595 |
-
|
596 |
-
.wpmui-fa-asterisk:before {
|
597 |
-
content: "";
|
598 |
-
}
|
599 |
-
|
600 |
-
.wpmui-fa-exclamation-circle:before {
|
601 |
-
content: "";
|
602 |
-
}
|
603 |
-
|
604 |
-
.wpmui-fa-gift:before {
|
605 |
-
content: "";
|
606 |
-
}
|
607 |
-
|
608 |
-
.wpmui-fa-leaf:before {
|
609 |
-
content: "";
|
610 |
-
}
|
611 |
-
|
612 |
-
.wpmui-fa-fire:before {
|
613 |
-
content: "";
|
614 |
-
}
|
615 |
-
|
616 |
-
.wpmui-fa-eye:before {
|
617 |
-
content: "";
|
618 |
-
}
|
619 |
-
|
620 |
-
.wpmui-fa-eye-slash:before {
|
621 |
-
content: "";
|
622 |
-
}
|
623 |
-
|
624 |
-
.wpmui-fa-warning:before,
|
625 |
-
.wpmui-fa-exclamation-triangle:before {
|
626 |
-
content: "";
|
627 |
-
}
|
628 |
-
|
629 |
-
.wpmui-fa-plane:before {
|
630 |
-
content: "";
|
631 |
-
}
|
632 |
-
|
633 |
-
.wpmui-fa-calendar:before {
|
634 |
-
content: "";
|
635 |
-
}
|
636 |
-
|
637 |
-
.wpmui-fa-random:before {
|
638 |
-
content: "";
|
639 |
-
}
|
640 |
-
|
641 |
-
.wpmui-fa-comment:before {
|
642 |
-
content: "";
|
643 |
-
}
|
644 |
-
|
645 |
-
.wpmui-fa-magnet:before {
|
646 |
-
content: "";
|
647 |
-
}
|
648 |
-
|
649 |
-
.wpmui-fa-chevron-up:before {
|
650 |
-
content: "";
|
651 |
-
}
|
652 |
-
|
653 |
-
.wpmui-fa-chevron-down:before {
|
654 |
-
content: "";
|
655 |
-
}
|
656 |
-
|
657 |
-
.wpmui-fa-retweet:before {
|
658 |
-
content: "";
|
659 |
-
}
|
660 |
-
|
661 |
-
.wpmui-fa-shopping-cart:before {
|
662 |
-
content: "";
|
663 |
-
}
|
664 |
-
|
665 |
-
.wpmui-fa-folder:before {
|
666 |
-
content: "";
|
667 |
-
}
|
668 |
-
|
669 |
-
.wpmui-fa-folder-open:before {
|
670 |
-
content: "";
|
671 |
-
}
|
672 |
-
|
673 |
-
.wpmui-fa-arrows-v:before {
|
674 |
-
content: "";
|
675 |
-
}
|
676 |
-
|
677 |
-
.wpmui-fa-arrows-h:before {
|
678 |
-
content: "";
|
679 |
-
}
|
680 |
-
|
681 |
-
.wpmui-fa-bar-chart-o:before,
|
682 |
-
.wpmui-fa-bar-chart:before {
|
683 |
-
content: "";
|
684 |
-
}
|
685 |
-
|
686 |
-
.wpmui-fa-twitter-square:before {
|
687 |
-
content: "";
|
688 |
-
}
|
689 |
-
|
690 |
-
.wpmui-fa-facebook-square:before {
|
691 |
-
content: "";
|
692 |
-
}
|
693 |
-
|
694 |
-
.wpmui-fa-camera-retro:before {
|
695 |
-
content: "";
|
696 |
-
}
|
697 |
-
|
698 |
-
.wpmui-fa-key:before {
|
699 |
-
content: "";
|
700 |
-
}
|
701 |
-
|
702 |
-
.wpmui-fa-gears:before,
|
703 |
-
.wpmui-fa-cogs:before {
|
704 |
-
content: "";
|
705 |
-
}
|
706 |
-
|
707 |
-
.wpmui-fa-comments:before {
|
708 |
-
content: "";
|
709 |
-
}
|
710 |
-
|
711 |
-
.wpmui-fa-thumbs-o-up:before {
|
712 |
-
content: "";
|
713 |
-
}
|
714 |
-
|
715 |
-
.wpmui-fa-thumbs-o-down:before {
|
716 |
-
content: "";
|
717 |
-
}
|
718 |
-
|
719 |
-
.wpmui-fa-star-half:before {
|
720 |
-
content: "";
|
721 |
-
}
|
722 |
-
|
723 |
-
.wpmui-fa-heart-o:before {
|
724 |
-
content: "";
|
725 |
-
}
|
726 |
-
|
727 |
-
.wpmui-fa-sign-out:before {
|
728 |
-
content: "";
|
729 |
-
}
|
730 |
-
|
731 |
-
.wpmui-fa-linkedin-square:before {
|
732 |
-
content: "";
|
733 |
-
}
|
734 |
-
|
735 |
-
.wpmui-fa-thumb-tack:before {
|
736 |
-
content: "";
|
737 |
-
}
|
738 |
-
|
739 |
-
.wpmui-fa-external-link:before {
|
740 |
-
content: "";
|
741 |
-
}
|
742 |
-
|
743 |
-
.wpmui-fa-sign-in:before {
|
744 |
-
content: "";
|
745 |
-
}
|
746 |
-
|
747 |
-
.wpmui-fa-trophy:before {
|
748 |
-
content: "";
|
749 |
-
}
|
750 |
-
|
751 |
-
.wpmui-fa-github-square:before {
|
752 |
-
content: "";
|
753 |
-
}
|
754 |
-
|
755 |
-
.wpmui-fa-upload:before {
|
756 |
-
content: "";
|
757 |
-
}
|
758 |
-
|
759 |
-
.wpmui-fa-lemon-o:before {
|
760 |
-
content: "";
|
761 |
-
}
|
762 |
-
|
763 |
-
.wpmui-fa-phone:before {
|
764 |
-
content: "";
|
765 |
-
}
|
766 |
-
|
767 |
-
.wpmui-fa-square-o:before {
|
768 |
-
content: "";
|
769 |
-
}
|
770 |
-
|
771 |
-
.wpmui-fa-bookmark-o:before {
|
772 |
-
content: "";
|
773 |
-
}
|
774 |
-
|
775 |
-
.wpmui-fa-phone-square:before {
|
776 |
-
content: "";
|
777 |
-
}
|
778 |
-
|
779 |
-
.wpmui-fa-twitter:before {
|
780 |
-
content: "";
|
781 |
-
}
|
782 |
-
|
783 |
-
.wpmui-fa-facebook:before {
|
784 |
-
content: "";
|
785 |
-
}
|
786 |
-
|
787 |
-
.wpmui-fa-github:before {
|
788 |
-
content: "";
|
789 |
-
}
|
790 |
-
|
791 |
-
.wpmui-fa-unlock:before {
|
792 |
-
content: "";
|
793 |
-
}
|
794 |
-
|
795 |
-
.wpmui-fa-credit-card:before {
|
796 |
-
content: "";
|
797 |
-
}
|
798 |
-
|
799 |
-
.wpmui-fa-rss:before {
|
800 |
-
content: "";
|
801 |
-
}
|
802 |
-
|
803 |
-
.wpmui-fa-hdd-o:before {
|
804 |
-
content: "";
|
805 |
-
}
|
806 |
-
|
807 |
-
.wpmui-fa-bullhorn:before {
|
808 |
-
content: "";
|
809 |
-
}
|
810 |
-
|
811 |
-
.wpmui-fa-bell:before {
|
812 |
-
content: "";
|
813 |
-
}
|
814 |
-
|
815 |
-
.wpmui-fa-certificate:before {
|
816 |
-
content: "";
|
817 |
-
}
|
818 |
-
|
819 |
-
.wpmui-fa-hand-o-right:before {
|
820 |
-
content: "";
|
821 |
-
}
|
822 |
-
|
823 |
-
.wpmui-fa-hand-o-left:before {
|
824 |
-
content: "";
|
825 |
-
}
|
826 |
-
|
827 |
-
.wpmui-fa-hand-o-up:before {
|
828 |
-
content: "";
|
829 |
-
}
|
830 |
-
|
831 |
-
.wpmui-fa-hand-o-down:before {
|
832 |
-
content: "";
|
833 |
-
}
|
834 |
-
|
835 |
-
.wpmui-fa-arrow-circle-left:before {
|
836 |
-
content: "";
|
837 |
-
}
|
838 |
-
|
839 |
-
.wpmui-fa-arrow-circle-right:before {
|
840 |
-
content: "";
|
841 |
-
}
|
842 |
-
|
843 |
-
.wpmui-fa-arrow-circle-up:before {
|
844 |
-
content: "";
|
845 |
-
}
|
846 |
-
|
847 |
-
.wpmui-fa-arrow-circle-down:before {
|
848 |
-
content: "";
|
849 |
-
}
|
850 |
-
|
851 |
-
.wpmui-fa-globe:before {
|
852 |
-
content: "";
|
853 |
-
}
|
854 |
-
|
855 |
-
.wpmui-fa-wrench:before {
|
856 |
-
content: "";
|
857 |
-
}
|
858 |
-
|
859 |
-
.wpmui-fa-tasks:before {
|
860 |
-
content: "";
|
861 |
-
}
|
862 |
-
|
863 |
-
.wpmui-fa-filter:before {
|
864 |
-
content: "";
|
865 |
-
}
|
866 |
-
|
867 |
-
.wpmui-fa-briefcase:before {
|
868 |
-
content: "";
|
869 |
-
}
|
870 |
-
|
871 |
-
.wpmui-fa-arrows-alt:before {
|
872 |
-
content: "";
|
873 |
-
}
|
874 |
-
|
875 |
-
.wpmui-fa-group:before,
|
876 |
-
.wpmui-fa-users:before {
|
877 |
-
content: "";
|
878 |
-
}
|
879 |
-
|
880 |
-
.wpmui-fa-chain:before,
|
881 |
-
.wpmui-fa-link:before {
|
882 |
-
content: "";
|
883 |
-
}
|
884 |
-
|
885 |
-
.wpmui-fa-cloud:before {
|
886 |
-
content: "";
|
887 |
-
}
|
888 |
-
|
889 |
-
.wpmui-fa-flask:before {
|
890 |
-
content: "";
|
891 |
-
}
|
892 |
-
|
893 |
-
.wpmui-fa-cut:before,
|
894 |
-
.wpmui-fa-scissors:before {
|
895 |
-
content: "";
|
896 |
-
}
|
897 |
-
|
898 |
-
.wpmui-fa-copy:before,
|
899 |
-
.wpmui-fa-files-o:before {
|
900 |
-
content: "";
|
901 |
-
}
|
902 |
-
|
903 |
-
.wpmui-fa-paperclip:before {
|
904 |
-
content: "";
|
905 |
-
}
|
906 |
-
|
907 |
-
.wpmui-fa-save:before,
|
908 |
-
.wpmui-fa-floppy-o:before {
|
909 |
-
content: "";
|
910 |
-
}
|
911 |
-
|
912 |
-
.wpmui-fa-square:before {
|
913 |
-
content: "";
|
914 |
-
}
|
915 |
-
|
916 |
-
.wpmui-fa-navicon:before,
|
917 |
-
.wpmui-fa-reorder:before,
|
918 |
-
.wpmui-fa-bars:before {
|
919 |
-
content: "";
|
920 |
-
}
|
921 |
-
|
922 |
-
.wpmui-fa-list-ul:before {
|
923 |
-
content: "";
|
924 |
-
}
|
925 |
-
|
926 |
-
.wpmui-fa-list-ol:before {
|
927 |
-
content: "";
|
928 |
-
}
|
929 |
-
|
930 |
-
.wpmui-fa-strikethrough:before {
|
931 |
-
content: "";
|
932 |
-
}
|
933 |
-
|
934 |
-
.wpmui-fa-underline:before {
|
935 |
-
content: "";
|
936 |
-
}
|
937 |
-
|
938 |
-
.wpmui-fa-table:before {
|
939 |
-
content: "";
|
940 |
-
}
|
941 |
-
|
942 |
-
.wpmui-fa-magic:before {
|
943 |
-
content: "";
|
944 |
-
}
|
945 |
-
|
946 |
-
.wpmui-fa-truck:before {
|
947 |
-
content: "";
|
948 |
-
}
|
949 |
-
|
950 |
-
.wpmui-fa-pinterest:before {
|
951 |
-
content: "";
|
952 |
-
}
|
953 |
-
|
954 |
-
.wpmui-fa-pinterest-square:before {
|
955 |
-
content: "";
|
956 |
-
}
|
957 |
-
|
958 |
-
.wpmui-fa-google-plus-square:before {
|
959 |
-
content: "";
|
960 |
-
}
|
961 |
-
|
962 |
-
.wpmui-fa-google-plus:before {
|
963 |
-
content: "";
|
964 |
-
}
|
965 |
-
|
966 |
-
.wpmui-fa-money:before {
|
967 |
-
content: "";
|
968 |
-
}
|
969 |
-
|
970 |
-
.wpmui-fa-caret-down:before {
|
971 |
-
content: "";
|
972 |
-
}
|
973 |
-
|
974 |
-
.wpmui-fa-caret-up:before {
|
975 |
-
content: "";
|
976 |
-
}
|
977 |
-
|
978 |
-
.wpmui-fa-caret-left:before {
|
979 |
-
content: "";
|
980 |
-
}
|
981 |
-
|
982 |
-
.wpmui-fa-caret-right:before {
|
983 |
-
content: "";
|
984 |
-
}
|
985 |
-
|
986 |
-
.wpmui-fa-columns:before {
|
987 |
-
content: "";
|
988 |
-
}
|
989 |
-
|
990 |
-
.wpmui-fa-unsorted:before,
|
991 |
-
.wpmui-fa-sort:before {
|
992 |
-
content: "";
|
993 |
-
}
|
994 |
-
|
995 |
-
.wpmui-fa-sort-down:before,
|
996 |
-
.wpmui-fa-sort-desc:before {
|
997 |
-
content: "";
|
998 |
-
}
|
999 |
-
|
1000 |
-
.wpmui-fa-sort-up:before,
|
1001 |
-
.wpmui-fa-sort-asc:before {
|
1002 |
-
content: "";
|
1003 |
-
}
|
1004 |
-
|
1005 |
-
.wpmui-fa-envelope:before {
|
1006 |
-
content: "";
|
1007 |
-
}
|
1008 |
-
|
1009 |
-
.wpmui-fa-linkedin:before {
|
1010 |
-
content: "";
|
1011 |
-
}
|
1012 |
-
|
1013 |
-
.wpmui-fa-rotate-left:before,
|
1014 |
-
.wpmui-fa-undo:before {
|
1015 |
-
content: "";
|
1016 |
-
}
|
1017 |
-
|
1018 |
-
.wpmui-fa-legal:before,
|
1019 |
-
.wpmui-fa-gavel:before {
|
1020 |
-
content: "";
|
1021 |
-
}
|
1022 |
-
|
1023 |
-
.wpmui-fa-dashboard:before,
|
1024 |
-
.wpmui-fa-tachometer:before {
|
1025 |
-
content: "";
|
1026 |
-
}
|
1027 |
-
|
1028 |
-
.wpmui-fa-comment-o:before {
|
1029 |
-
content: "";
|
1030 |
-
}
|
1031 |
-
|
1032 |
-
.wpmui-fa-comments-o:before {
|
1033 |
-
content: "";
|
1034 |
-
}
|
1035 |
-
|
1036 |
-
.wpmui-fa-flash:before,
|
1037 |
-
.wpmui-fa-bolt:before {
|
1038 |
-
content: "";
|
1039 |
-
}
|
1040 |
-
|
1041 |
-
.wpmui-fa-sitemap:before {
|
1042 |
-
content: "";
|
1043 |
-
}
|
1044 |
-
|
1045 |
-
.wpmui-fa-umbrella:before {
|
1046 |
-
content: "";
|
1047 |
-
}
|
1048 |
-
|
1049 |
-
.wpmui-fa-paste:before,
|
1050 |
-
.wpmui-fa-clipboard:before {
|
1051 |
-
content: "";
|
1052 |
-
}
|
1053 |
-
|
1054 |
-
.wpmui-fa-lightbulb-o:before {
|
1055 |
-
content: "";
|
1056 |
-
}
|
1057 |
-
|
1058 |
-
.wpmui-fa-exchange:before {
|
1059 |
-
content: "";
|
1060 |
-
}
|
1061 |
-
|
1062 |
-
.wpmui-fa-cloud-download:before {
|
1063 |
-
content: "";
|
1064 |
-
}
|
1065 |
-
|
1066 |
-
.wpmui-fa-cloud-upload:before {
|
1067 |
-
content: "";
|
1068 |
-
}
|
1069 |
-
|
1070 |
-
.wpmui-fa-user-md:before {
|
1071 |
-
content: "";
|
1072 |
-
}
|
1073 |
-
|
1074 |
-
.wpmui-fa-stethoscope:before {
|
1075 |
-
content: "";
|
1076 |
-
}
|
1077 |
-
|
1078 |
-
.wpmui-fa-suitcase:before {
|
1079 |
-
content: "";
|
1080 |
-
}
|
1081 |
-
|
1082 |
-
.wpmui-fa-bell-o:before {
|
1083 |
-
content: "";
|
1084 |
-
}
|
1085 |
-
|
1086 |
-
.wpmui-fa-coffee:before {
|
1087 |
-
content: "";
|
1088 |
-
}
|
1089 |
-
|
1090 |
-
.wpmui-fa-cutlery:before {
|
1091 |
-
content: "";
|
1092 |
-
}
|
1093 |
-
|
1094 |
-
.wpmui-fa-file-text-o:before {
|
1095 |
-
content: "";
|
1096 |
-
}
|
1097 |
-
|
1098 |
-
.wpmui-fa-building-o:before {
|
1099 |
-
content: "";
|
1100 |
-
}
|
1101 |
-
|
1102 |
-
.wpmui-fa-hospital-o:before {
|
1103 |
-
content: "";
|
1104 |
-
}
|
1105 |
-
|
1106 |
-
.wpmui-fa-ambulance:before {
|
1107 |
-
content: "";
|
1108 |
-
}
|
1109 |
-
|
1110 |
-
.wpmui-fa-medkit:before {
|
1111 |
-
content: "";
|
1112 |
-
}
|
1113 |
-
|
1114 |
-
.wpmui-fa-fighter-jet:before {
|
1115 |
-
content: "";
|
1116 |
-
}
|
1117 |
-
|
1118 |
-
.wpmui-fa-beer:before {
|
1119 |
-
content: "";
|
1120 |
-
}
|
1121 |
-
|
1122 |
-
.wpmui-fa-h-square:before {
|
1123 |
-
content: "";
|
1124 |
-
}
|
1125 |
-
|
1126 |
-
.wpmui-fa-plus-square:before {
|
1127 |
-
content: "";
|
1128 |
-
}
|
1129 |
-
|
1130 |
-
.wpmui-fa-angle-double-left:before {
|
1131 |
-
content: "";
|
1132 |
-
}
|
1133 |
-
|
1134 |
-
.wpmui-fa-angle-double-right:before {
|
1135 |
-
content: "";
|
1136 |
-
}
|
1137 |
-
|
1138 |
-
.wpmui-fa-angle-double-up:before {
|
1139 |
-
content: "";
|
1140 |
-
}
|
1141 |
-
|
1142 |
-
.wpmui-fa-angle-double-down:before {
|
1143 |
-
content: "";
|
1144 |
-
}
|
1145 |
-
|
1146 |
-
.wpmui-fa-angle-left:before {
|
1147 |
-
content: "";
|
1148 |
-
}
|
1149 |
-
|
1150 |
-
.wpmui-fa-angle-right:before {
|
1151 |
-
content: "";
|
1152 |
-
}
|
1153 |
-
|
1154 |
-
.wpmui-fa-angle-up:before {
|
1155 |
-
content: "";
|
1156 |
-
}
|
1157 |
-
|
1158 |
-
.wpmui-fa-angle-down:before {
|
1159 |
-
content: "";
|
1160 |
-
}
|
1161 |
-
|
1162 |
-
.wpmui-fa-desktop:before {
|
1163 |
-
content: "";
|
1164 |
-
}
|
1165 |
-
|
1166 |
-
.wpmui-fa-laptop:before {
|
1167 |
-
content: "";
|
1168 |
-
}
|
1169 |
-
|
1170 |
-
.wpmui-fa-tablet:before {
|
1171 |
-
content: "";
|
1172 |
-
}
|
1173 |
-
|
1174 |
-
.wpmui-fa-mobile-phone:before,
|
1175 |
-
.wpmui-fa-mobile:before {
|
1176 |
-
content: "";
|
1177 |
-
}
|
1178 |
-
|
1179 |
-
.wpmui-fa-circle-o:before {
|
1180 |
-
content: "";
|
1181 |
-
}
|
1182 |
-
|
1183 |
-
.wpmui-fa-quote-left:before {
|
1184 |
-
content: "";
|
1185 |
-
}
|
1186 |
-
|
1187 |
-
.wpmui-fa-quote-right:before {
|
1188 |
-
content: "";
|
1189 |
-
}
|
1190 |
-
|
1191 |
-
.wpmui-fa-spinner:before {
|
1192 |
-
content: "";
|
1193 |
-
}
|
1194 |
-
|
1195 |
-
.wpmui-fa-circle:before {
|
1196 |
-
content: "";
|
1197 |
-
}
|
1198 |
-
|
1199 |
-
.wpmui-fa-mail-reply:before,
|
1200 |
-
.wpmui-fa-reply:before {
|
1201 |
-
content: "";
|
1202 |
-
}
|
1203 |
-
|
1204 |
-
.wpmui-fa-github-alt:before {
|
1205 |
-
content: "";
|
1206 |
-
}
|
1207 |
-
|
1208 |
-
.wpmui-fa-folder-o:before {
|
1209 |
-
content: "";
|
1210 |
-
}
|
1211 |
-
|
1212 |
-
.wpmui-fa-folder-open-o:before {
|
1213 |
-
content: "";
|
1214 |
-
}
|
1215 |
-
|
1216 |
-
.wpmui-fa-smile-o:before {
|
1217 |
-
content: "";
|
1218 |
-
}
|
1219 |
-
|
1220 |
-
.wpmui-fa-frown-o:before {
|
1221 |
-
content: "";
|
1222 |
-
}
|
1223 |
-
|
1224 |
-
.wpmui-fa-meh-o:before {
|
1225 |
-
content: "";
|
1226 |
-
}
|
1227 |
-
|
1228 |
-
.wpmui-fa-gamepad:before {
|
1229 |
-
content: "";
|
1230 |
-
}
|
1231 |
-
|
1232 |
-
.wpmui-fa-keyboard-o:before {
|
1233 |
-
content: "";
|
1234 |
-
}
|
1235 |
-
|
1236 |
-
.wpmui-fa-flag-o:before {
|
1237 |
-
content: "";
|
1238 |
-
}
|
1239 |
-
|
1240 |
-
.wpmui-fa-flag-checkered:before {
|
1241 |
-
content: "";
|
1242 |
-
}
|
1243 |
-
|
1244 |
-
.wpmui-fa-terminal:before {
|
1245 |
-
content: "";
|
1246 |
-
}
|
1247 |
-
|
1248 |
-
.wpmui-fa-code:before {
|
1249 |
-
content: "";
|
1250 |
-
}
|
1251 |
-
|
1252 |
-
.wpmui-fa-mail-reply-all:before,
|
1253 |
-
.wpmui-fa-reply-all:before {
|
1254 |
-
content: "";
|
1255 |
-
}
|
1256 |
-
|
1257 |
-
.wpmui-fa-star-half-empty:before,
|
1258 |
-
.wpmui-fa-star-half-full:before,
|
1259 |
-
.wpmui-fa-star-half-o:before {
|
1260 |
-
content: "";
|
1261 |
-
}
|
1262 |
-
|
1263 |
-
.wpmui-fa-location-arrow:before {
|
1264 |
-
content: "";
|
1265 |
-
}
|
1266 |
-
|
1267 |
-
.wpmui-fa-crop:before {
|
1268 |
-
content: "";
|
1269 |
-
}
|
1270 |
-
|
1271 |
-
.wpmui-fa-code-fork:before {
|
1272 |
-
content: "";
|
1273 |
-
}
|
1274 |
-
|
1275 |
-
.wpmui-fa-unlink:before,
|
1276 |
-
.wpmui-fa-chain-broken:before {
|
1277 |
-
content: "";
|
1278 |
-
}
|
1279 |
-
|
1280 |
-
.wpmui-fa-question:before {
|
1281 |
-
content: "";
|
1282 |
-
}
|
1283 |
-
|
1284 |
-
.wpmui-fa-info:before {
|
1285 |
-
content: "";
|
1286 |
-
}
|
1287 |
-
|
1288 |
-
.wpmui-fa-exclamation:before {
|
1289 |
-
content: "";
|
1290 |
-
}
|
1291 |
-
|
1292 |
-
.wpmui-fa-superscript:before {
|
1293 |
-
content: "";
|
1294 |
-
}
|
1295 |
-
|
1296 |
-
.wpmui-fa-subscript:before {
|
1297 |
-
content: "";
|
1298 |
-
}
|
1299 |
-
|
1300 |
-
.wpmui-fa-eraser:before {
|
1301 |
-
content: "";
|
1302 |
-
}
|
1303 |
-
|
1304 |
-
.wpmui-fa-puzzle-piece:before {
|
1305 |
-
content: "";
|
1306 |
-
}
|
1307 |
-
|
1308 |
-
.wpmui-fa-microphone:before {
|
1309 |
-
content: "";
|
1310 |
-
}
|
1311 |
-
|
1312 |
-
.wpmui-fa-microphone-slash:before {
|
1313 |
-
content: "";
|
1314 |
-
}
|
1315 |
-
|
1316 |
-
.wpmui-fa-shield:before {
|
1317 |
-
content: "";
|
1318 |
-
}
|
1319 |
-
|
1320 |
-
.wpmui-fa-calendar-o:before {
|
1321 |
-
content: "";
|
1322 |
-
}
|
1323 |
-
|
1324 |
-
.wpmui-fa-fire-extinguisher:before {
|
1325 |
-
content: "";
|
1326 |
-
}
|
1327 |
-
|
1328 |
-
.wpmui-fa-rocket:before {
|
1329 |
-
content: "";
|
1330 |
-
}
|
1331 |
-
|
1332 |
-
.wpmui-fa-maxcdn:before {
|
1333 |
-
content: "";
|
1334 |
-
}
|
1335 |
-
|
1336 |
-
.wpmui-fa-chevron-circle-left:before {
|
1337 |
-
content: "";
|
1338 |
-
}
|
1339 |
-
|
1340 |
-
.wpmui-fa-chevron-circle-right:before {
|
1341 |
-
content: "";
|
1342 |
-
}
|
1343 |
-
|
1344 |
-
.wpmui-fa-chevron-circle-up:before {
|
1345 |
-
content: "";
|
1346 |
-
}
|
1347 |
-
|
1348 |
-
.wpmui-fa-chevron-circle-down:before {
|
1349 |
-
content: "";
|
1350 |
-
}
|
1351 |
-
|
1352 |
-
.wpmui-fa-html5:before {
|
1353 |
-
content: "";
|
1354 |
-
}
|
1355 |
-
|
1356 |
-
.wpmui-fa-css3:before {
|
1357 |
-
content: "";
|
1358 |
-
}
|
1359 |
-
|
1360 |
-
.wpmui-fa-anchor:before {
|
1361 |
-
content: "";
|
1362 |
-
}
|
1363 |
-
|
1364 |
-
.wpmui-fa-unlock-alt:before {
|
1365 |
-
content: "";
|
1366 |
-
}
|
1367 |
-
|
1368 |
-
.wpmui-fa-bullseye:before {
|
1369 |
-
content: "";
|
1370 |
-
}
|
1371 |
-
|
1372 |
-
.wpmui-fa-ellipsis-h:before {
|
1373 |
-
content: "";
|
1374 |
-
}
|
1375 |
-
|
1376 |
-
.wpmui-fa-ellipsis-v:before {
|
1377 |
-
content: "";
|
1378 |
-
}
|
1379 |
-
|
1380 |
-
.wpmui-fa-rss-square:before {
|
1381 |
-
content: "";
|
1382 |
-
}
|
1383 |
-
|
1384 |
-
.wpmui-fa-play-circle:before {
|
1385 |
-
content: "";
|
1386 |
-
}
|
1387 |
-
|
1388 |
-
.wpmui-fa-ticket:before {
|
1389 |
-
content: "";
|
1390 |
-
}
|
1391 |
-
|
1392 |
-
.wpmui-fa-minus-square:before {
|
1393 |
-
content: "";
|
1394 |
-
}
|
1395 |
-
|
1396 |
-
.wpmui-fa-minus-square-o:before {
|
1397 |
-
content: "";
|
1398 |
-
}
|
1399 |
-
|
1400 |
-
.wpmui-fa-level-up:before {
|
1401 |
-
content: "";
|
1402 |
-
}
|
1403 |
-
|
1404 |
-
.wpmui-fa-level-down:before {
|
1405 |
-
content: "";
|
1406 |
-
}
|
1407 |
-
|
1408 |
-
.wpmui-fa-check-square:before {
|
1409 |
-
content: "";
|
1410 |
-
}
|
1411 |
-
|
1412 |
-
.wpmui-fa-pencil-square:before {
|
1413 |
-
content: "";
|
1414 |
-
}
|
1415 |
-
|
1416 |
-
.wpmui-fa-external-link-square:before {
|
1417 |
-
content: "";
|
1418 |
-
}
|
1419 |
-
|
1420 |
-
.wpmui-fa-share-square:before {
|
1421 |
-
content: "";
|
1422 |
-
}
|
1423 |
-
|
1424 |
-
.wpmui-fa-compass:before {
|
1425 |
-
content: "";
|
1426 |
-
}
|
1427 |
-
|
1428 |
-
.wpmui-fa-toggle-down:before,
|
1429 |
-
.wpmui-fa-caret-square-o-down:before {
|
1430 |
-
content: "";
|
1431 |
-
}
|
1432 |
-
|
1433 |
-
.wpmui-fa-toggle-up:before,
|
1434 |
-
.wpmui-fa-caret-square-o-up:before {
|
1435 |
-
content: "";
|
1436 |
-
}
|
1437 |
-
|
1438 |
-
.wpmui-fa-toggle-right:before,
|
1439 |
-
.wpmui-fa-caret-square-o-right:before {
|
1440 |
-
content: "";
|
1441 |
-
}
|
1442 |
-
|
1443 |
-
.wpmui-fa-euro:before,
|
1444 |
-
.wpmui-fa-eur:before {
|
1445 |
-
content: "";
|
1446 |
-
}
|
1447 |
-
|
1448 |
-
.wpmui-fa-gbp:before {
|
1449 |
-
content: "";
|
1450 |
-
}
|
1451 |
-
|
1452 |
-
.wpmui-fa-dollar:before,
|
1453 |
-
.wpmui-fa-usd:before {
|
1454 |
-
content: "";
|
1455 |
-
}
|
1456 |
-
|
1457 |
-
.wpmui-fa-rupee:before,
|
1458 |
-
.wpmui-fa-inr:before {
|
1459 |
-
content: "";
|
1460 |
-
}
|
1461 |
-
|
1462 |
-
.wpmui-fa-cny:before,
|
1463 |
-
.wpmui-fa-rmb:before,
|
1464 |
-
.wpmui-fa-yen:before,
|
1465 |
-
.wpmui-fa-jpy:before {
|
1466 |
-
content: "";
|
1467 |
-
}
|
1468 |
-
|
1469 |
-
.wpmui-fa-ruble:before,
|
1470 |
-
.wpmui-fa-rouble:before,
|
1471 |
-
.wpmui-fa-rub:before {
|
1472 |
-
content: "";
|
1473 |
-
}
|
1474 |
-
|
1475 |
-
.wpmui-fa-won:before,
|
1476 |
-
.wpmui-fa-krw:before {
|
1477 |
-
content: "";
|
1478 |
-
}
|
1479 |
-
|
1480 |
-
.wpmui-fa-bitcoin:before,
|
1481 |
-
.wpmui-fa-btc:before {
|
1482 |
-
content: "";
|
1483 |
-
}
|
1484 |
-
|
1485 |
-
.wpmui-fa-file:before {
|
1486 |
-
content: "";
|
1487 |
-
}
|
1488 |
-
|
1489 |
-
.wpmui-fa-file-text:before {
|
1490 |
-
content: "";
|
1491 |
-
}
|
1492 |
-
|
1493 |
-
.wpmui-fa-sort-alpha-asc:before {
|
1494 |
-
content: "";
|
1495 |
-
}
|
1496 |
-
|
1497 |
-
.wpmui-fa-sort-alpha-desc:before {
|
1498 |
-
content: "";
|
1499 |
-
}
|
1500 |
-
|
1501 |
-
.wpmui-fa-sort-amount-asc:before {
|
1502 |
-
content: "";
|
1503 |
-
}
|
1504 |
-
|
1505 |
-
.wpmui-fa-sort-amount-desc:before {
|
1506 |
-
content: "";
|
1507 |
-
}
|
1508 |
-
|
1509 |
-
.wpmui-fa-sort-numeric-asc:before {
|
1510 |
-
content: "";
|
1511 |
-
}
|
1512 |
-
|
1513 |
-
.wpmui-fa-sort-numeric-desc:before {
|
1514 |
-
content: "";
|
1515 |
-
}
|
1516 |
-
|
1517 |
-
.wpmui-fa-thumbs-up:before {
|
1518 |
-
content: "";
|
1519 |
-
}
|
1520 |
-
|
1521 |
-
.wpmui-fa-thumbs-down:before {
|
1522 |
-
content: "";
|
1523 |
-
}
|
1524 |
-
|
1525 |
-
.wpmui-fa-youtube-square:before {
|
1526 |
-
content: "";
|
1527 |
-
}
|
1528 |
-
|
1529 |
-
.wpmui-fa-youtube:before {
|
1530 |
-
content: "";
|
1531 |
-
}
|
1532 |
-
|
1533 |
-
.wpmui-fa-xing:before {
|
1534 |
-
content: "";
|
1535 |
-
}
|
1536 |
-
|
1537 |
-
.wpmui-fa-xing-square:before {
|
1538 |
-
content: "";
|
1539 |
-
}
|
1540 |
-
|
1541 |
-
.wpmui-fa-youtube-play:before {
|
1542 |
-
content: "";
|
1543 |
-
}
|
1544 |
-
|
1545 |
-
.wpmui-fa-dropbox:before {
|
1546 |
-
content: "";
|
1547 |
-
}
|
1548 |
-
|
1549 |
-
.wpmui-fa-stack-overflow:before {
|
1550 |
-
content: "";
|
1551 |
-
}
|
1552 |
-
|
1553 |
-
.wpmui-fa-instagram:before {
|
1554 |
-
content: "";
|
1555 |
-
}
|
1556 |
-
|
1557 |
-
.wpmui-fa-flickr:before {
|
1558 |
-
content: "";
|
1559 |
-
}
|
1560 |
-
|
1561 |
-
.wpmui-fa-adn:before {
|
1562 |
-
content: "";
|
1563 |
-
}
|
1564 |
-
|
1565 |
-
.wpmui-fa-bitbucket:before {
|
1566 |
-
content: "";
|
1567 |
-
}
|
1568 |
-
|
1569 |
-
.wpmui-fa-bitbucket-square:before {
|
1570 |
-
content: "";
|
1571 |
-
}
|
1572 |
-
|
1573 |
-
.wpmui-fa-tumblr:before {
|
1574 |
-
content: "";
|
1575 |
-
}
|
1576 |
-
|
1577 |
-
.wpmui-fa-tumblr-square:before {
|
1578 |
-
content: "";
|
1579 |
-
}
|
1580 |
-
|
1581 |
-
.wpmui-fa-long-arrow-down:before {
|
1582 |
-
content: "";
|
1583 |
-
}
|
1584 |
-
|
1585 |
-
.wpmui-fa-long-arrow-up:before {
|
1586 |
-
content: "";
|
1587 |
-
}
|
1588 |
-
|
1589 |
-
.wpmui-fa-long-arrow-left:before {
|
1590 |
-
content: "";
|
1591 |
-
}
|
1592 |
-
|
1593 |
-
.wpmui-fa-long-arrow-right:before {
|
1594 |
-
content: "";
|
1595 |
-
}
|
1596 |
-
|
1597 |
-
.wpmui-fa-apple:before {
|
1598 |
-
content: "";
|
1599 |
-
}
|
1600 |
-
|
1601 |
-
.wpmui-fa-windows:before {
|
1602 |
-
content: "";
|
1603 |
-
}
|
1604 |
-
|
1605 |
-
.wpmui-fa-android:before {
|
1606 |
-
content: "";
|
1607 |
-
}
|
1608 |
-
|
1609 |
-
.wpmui-fa-linux:before {
|
1610 |
-
content: "";
|
1611 |
-
}
|
1612 |
-
|
1613 |
-
.wpmui-fa-dribbble:before {
|
1614 |
-
content: "";
|
1615 |
-
}
|
1616 |
-
|
1617 |
-
.wpmui-fa-skype:before {
|
1618 |
-
content: "";
|
1619 |
-
}
|
1620 |
-
|
1621 |
-
.wpmui-fa-foursquare:before {
|
1622 |
-
content: "";
|
1623 |
-
}
|
1624 |
-
|
1625 |
-
.wpmui-fa-trello:before {
|
1626 |
-
content: "";
|
1627 |
-
}
|
1628 |
-
|
1629 |
-
.wpmui-fa-female:before {
|
1630 |
-
content: "";
|
1631 |
-
}
|
1632 |
-
|
1633 |
-
.wpmui-fa-male:before {
|
1634 |
-
content: "";
|
1635 |
-
}
|
1636 |
-
|
1637 |
-
.wpmui-fa-gittip:before {
|
1638 |
-
content: "";
|
1639 |
-
}
|
1640 |
-
|
1641 |
-
.wpmui-fa-sun-o:before {
|
1642 |
-
content: "";
|
1643 |
-
}
|
1644 |
-
|
1645 |
-
.wpmui-fa-moon-o:before {
|
1646 |
-
content: "";
|
1647 |
-
}
|
1648 |
-
|
1649 |
-
.wpmui-fa-archive:before {
|
1650 |
-
content: "";
|
1651 |
-
}
|
1652 |
-
|
1653 |
-
.wpmui-fa-bug:before {
|
1654 |
-
content: "";
|
1655 |
-
}
|
1656 |
-
|
1657 |
-
.wpmui-fa-vk:before {
|
1658 |
-
content: "";
|
1659 |
-
}
|
1660 |
-
|
1661 |
-
.wpmui-fa-weibo:before {
|
1662 |
-
content: "";
|
1663 |
-
}
|
1664 |
-
|
1665 |
-
.wpmui-fa-renren:before {
|
1666 |
-
content: "";
|
1667 |
-
}
|
1668 |
-
|
1669 |
-
.wpmui-fa-pagelines:before {
|
1670 |
-
content: "";
|
1671 |
-
}
|
1672 |
-
|
1673 |
-
.wpmui-fa-stack-exchange:before {
|
1674 |
-
content: "";
|
1675 |
-
}
|
1676 |
-
|
1677 |
-
.wpmui-fa-arrow-circle-o-right:before {
|
1678 |
-
content: "";
|
1679 |
-
}
|
1680 |
-
|
1681 |
-
.wpmui-fa-arrow-circle-o-left:before {
|
1682 |
-
content: "";
|
1683 |
-
}
|
1684 |
-
|
1685 |
-
.wpmui-fa-toggle-left:before,
|
1686 |
-
.wpmui-fa-caret-square-o-left:before {
|
1687 |
-
content: "";
|
1688 |
-
}
|
1689 |
-
|
1690 |
-
.wpmui-fa-dot-circle-o:before {
|
1691 |
-
content: "";
|
1692 |
-
}
|
1693 |
-
|
1694 |
-
.wpmui-fa-wheelchair:before {
|
1695 |
-
content: "";
|
1696 |
-
}
|
1697 |
-
|
1698 |
-
.wpmui-fa-vimeo-square:before {
|
1699 |
-
content: "";
|
1700 |
-
}
|
1701 |
-
|
1702 |
-
.wpmui-fa-turkish-lira:before,
|
1703 |
-
.wpmui-fa-try:before {
|
1704 |
-
content: "";
|
1705 |
-
}
|
1706 |
-
|
1707 |
-
.wpmui-fa-plus-square-o:before {
|
1708 |
-
content: "";
|
1709 |
-
}
|
1710 |
-
|
1711 |
-
.wpmui-fa-space-shuttle:before {
|
1712 |
-
content: "";
|
1713 |
-
}
|
1714 |
-
|
1715 |
-
.wpmui-fa-slack:before {
|
1716 |
-
content: "";
|
1717 |
-
}
|
1718 |
-
|
1719 |
-
.wpmui-fa-envelope-square:before {
|
1720 |
-
content: "";
|
1721 |
-
}
|
1722 |
-
|
1723 |
-
.wpmui-fa-wordpress:before {
|
1724 |
-
content: "";
|
1725 |
-
}
|
1726 |
-
|
1727 |
-
.wpmui-fa-openid:before {
|
1728 |
-
content: "";
|
1729 |
-
}
|
1730 |
-
|
1731 |
-
.wpmui-fa-institution:before,
|
1732 |
-
.wpmui-fa-bank:before,
|
1733 |
-
.wpmui-fa-university:before {
|
1734 |
-
content: "";
|
1735 |
-
}
|
1736 |
-
|
1737 |
-
.wpmui-fa-mortar-board:before,
|
1738 |
-
.wpmui-fa-graduation-cap:before {
|
1739 |
-
content: "";
|
1740 |
-
}
|
1741 |
-
|
1742 |
-
.wpmui-fa-yahoo:before {
|
1743 |
-
content: "";
|
1744 |
-
}
|
1745 |
-
|
1746 |
-
.wpmui-fa-google:before {
|
1747 |
-
content: "";
|
1748 |
-
}
|
1749 |
-
|
1750 |
-
.wpmui-fa-reddit:before {
|
1751 |
-
content: "";
|
1752 |
-
}
|
1753 |
-
|
1754 |
-
.wpmui-fa-reddit-square:before {
|
1755 |
-
content: "";
|
1756 |
-
}
|
1757 |
-
|
1758 |
-
.wpmui-fa-stumbleupon-circle:before {
|
1759 |
-
content: "";
|
1760 |
-
}
|
1761 |
-
|
1762 |
-
.wpmui-fa-stumbleupon:before {
|
1763 |
-
content: "";
|
1764 |
-
}
|
1765 |
-
|
1766 |
-
.wpmui-fa-delicious:before {
|
1767 |
-
content: "";
|
1768 |
-
}
|
1769 |
-
|
1770 |
-
.wpmui-fa-digg:before {
|
1771 |
-
content: "";
|
1772 |
-
}
|
1773 |
-
|
1774 |
-
.wpmui-fa-pied-piper:before {
|
1775 |
-
content: "";
|
1776 |
-
}
|
1777 |
-
|
1778 |
-
.wpmui-fa-pied-piper-alt:before {
|
1779 |
-
content: "";
|
1780 |
-
}
|
1781 |
-
|
1782 |
-
.wpmui-fa-drupal:before {
|
1783 |
-
content: "";
|
1784 |
-
}
|
1785 |
-
|
1786 |
-
.wpmui-fa-joomla:before {
|
1787 |
-
content: "";
|
1788 |
-
}
|
1789 |
-
|
1790 |
-
.wpmui-fa-language:before {
|
1791 |
-
content: "";
|
1792 |
-
}
|
1793 |
-
|
1794 |
-
.wpmui-fa-fax:before {
|
1795 |
-
content: "";
|
1796 |
-
}
|
1797 |
-
|
1798 |
-
.wpmui-fa-building:before {
|
1799 |
-
content: "";
|
1800 |
-
}
|
1801 |
-
|
1802 |
-
.wpmui-fa-child:before {
|
1803 |
-
content: "";
|
1804 |
-
}
|
1805 |
-
|
1806 |
-
.wpmui-fa-paw:before {
|
1807 |
-
content: "";
|
1808 |
-
}
|
1809 |
-
|
1810 |
-
.wpmui-fa-spoon:before {
|
1811 |
-
content: "";
|
1812 |
-
}
|
1813 |
-
|
1814 |
-
.wpmui-fa-cube:before {
|
1815 |
-
content: "";
|
1816 |
-
}
|
1817 |
-
|
1818 |
-
.wpmui-fa-cubes:before {
|
1819 |
-
content: "";
|
1820 |
-
}
|
1821 |
-
|
1822 |
-
.wpmui-fa-behance:before {
|
1823 |
-
content: "";
|
1824 |
-
}
|
1825 |
-
|
1826 |
-
.wpmui-fa-behance-square:before {
|
1827 |
-
content: "";
|
1828 |
-
}
|
1829 |
-
|
1830 |
-
.wpmui-fa-steam:before {
|
1831 |
-
content: "";
|
1832 |
-
}
|
1833 |
-
|
1834 |
-
.wpmui-fa-steam-square:before {
|
1835 |
-
content: "";
|
1836 |
-
}
|
1837 |
-
|
1838 |
-
.wpmui-fa-recycle:before {
|
1839 |
-
content: "";
|
1840 |
-
}
|
1841 |
-
|
1842 |
-
.wpmui-fa-automobile:before,
|
1843 |
-
.wpmui-fa-car:before {
|
1844 |
-
content: "";
|
1845 |
-
}
|
1846 |
-
|
1847 |
-
.wpmui-fa-cab:before,
|
1848 |
-
.wpmui-fa-taxi:before {
|
1849 |
-
content: "";
|
1850 |
-
}
|
1851 |
-
|
1852 |
-
.wpmui-fa-tree:before {
|
1853 |
-
content: "";
|
1854 |
-
}
|
1855 |
-
|
1856 |
-
.wpmui-fa-spotify:before {
|
1857 |
-
content: "";
|
1858 |
-
}
|
1859 |
-
|
1860 |
-
.wpmui-fa-deviantart:before {
|
1861 |
-
content: "";
|
1862 |
-
}
|
1863 |
-
|
1864 |
-
.wpmui-fa-soundcloud:before {
|
1865 |
-
content: "";
|
1866 |
-
}
|
1867 |
-
|
1868 |
-
.wpmui-fa-database:before {
|
1869 |
-
content: "";
|
1870 |
-
}
|
1871 |
-
|
1872 |
-
.wpmui-fa-file-pdf-o:before {
|
1873 |
-
content: "";
|
1874 |
-
}
|
1875 |
-
|
1876 |
-
.wpmui-fa-file-word-o:before {
|
1877 |
-
content: "";
|
1878 |
-
}
|
1879 |
-
|
1880 |
-
.wpmui-fa-file-excel-o:before {
|
1881 |
-
content: "";
|
1882 |
-
}
|
1883 |
-
|
1884 |
-
.wpmui-fa-file-powerpoint-o:before {
|
1885 |
-
content: "";
|
1886 |
-
}
|
1887 |
-
|
1888 |
-
.wpmui-fa-file-photo-o:before,
|
1889 |
-
.wpmui-fa-file-picture-o:before,
|
1890 |
-
.wpmui-fa-file-image-o:before {
|
1891 |
-
content: "";
|
1892 |
-
}
|
1893 |
-
|
1894 |
-
.wpmui-fa-file-zip-o:before,
|
1895 |
-
.wpmui-fa-file-archive-o:before {
|
1896 |
-
content: "";
|
1897 |
-
}
|
1898 |
-
|
1899 |
-
.wpmui-fa-file-sound-o:before,
|
1900 |
-
.wpmui-fa-file-audio-o:before {
|
1901 |
-
content: "";
|
1902 |
-
}
|
1903 |
-
|
1904 |
-
.wpmui-fa-file-movie-o:before,
|
1905 |
-
.wpmui-fa-file-video-o:before {
|
1906 |
-
content: "";
|
1907 |
-
}
|
1908 |
-
|
1909 |
-
.wpmui-fa-file-code-o:before {
|
1910 |
-
content: "";
|
1911 |
-
}
|
1912 |
-
|
1913 |
-
.wpmui-fa-vine:before {
|
1914 |
-
content: "";
|
1915 |
-
}
|
1916 |
-
|
1917 |
-
.wpmui-fa-codepen:before {
|
1918 |
-
content: "";
|
1919 |
-
}
|
1920 |
-
|
1921 |
-
.wpmui-fa-jsfiddle:before {
|
1922 |
-
content: "";
|
1923 |
-
}
|
1924 |
-
|
1925 |
-
.wpmui-fa-life-bouy:before,
|
1926 |
-
.wpmui-fa-life-buoy:before,
|
1927 |
-
.wpmui-fa-life-saver:before,
|
1928 |
-
.wpmui-fa-support:before,
|
1929 |
-
.wpmui-fa-life-ring:before {
|
1930 |
-
content: "";
|
1931 |
-
}
|
1932 |
-
|
1933 |
-
.wpmui-fa-circle-o-notch:before {
|
1934 |
-
content: "";
|
1935 |
-
}
|
1936 |
-
|
1937 |
-
.wpmui-fa-ra:before,
|
1938 |
-
.wpmui-fa-rebel:before {
|
1939 |
-
content: "";
|
1940 |
-
}
|
1941 |
-
|
1942 |
-
.wpmui-fa-ge:before,
|
1943 |
-
.wpmui-fa-empire:before {
|
1944 |
-
content: "";
|
1945 |
-
}
|
1946 |
-
|
1947 |
-
.wpmui-fa-git-square:before {
|
1948 |
-
content: "";
|
1949 |
-
}
|
1950 |
-
|
1951 |
-
.wpmui-fa-git:before {
|
1952 |
-
content: "";
|
1953 |
-
}
|
1954 |
-
|
1955 |
-
.wpmui-fa-hacker-news:before {
|
1956 |
-
content: "";
|
1957 |
-
}
|
1958 |
-
|
1959 |
-
.wpmui-fa-tencent-weibo:before {
|
1960 |
-
content: "";
|
1961 |
-
}
|
1962 |
-
|
1963 |
-
.wpmui-fa-qq:before {
|
1964 |
-
content: "";
|
1965 |
-
}
|
1966 |
-
|
1967 |
-
.wpmui-fa-wechat:before,
|
1968 |
-
.wpmui-fa-weixin:before {
|
1969 |
-
content: "";
|
1970 |
-
}
|
1971 |
-
|
1972 |
-
.wpmui-fa-send:before,
|
1973 |
-
.wpmui-fa-paper-plane:before {
|
1974 |
-
content: "";
|
1975 |
-
}
|
1976 |
-
|
1977 |
-
.wpmui-fa-send-o:before,
|
1978 |
-
.wpmui-fa-paper-plane-o:before {
|
1979 |
-
content: "";
|
1980 |
-
}
|
1981 |
-
|
1982 |
-
.wpmui-fa-history:before {
|
1983 |
-
content: "";
|
1984 |
-
}
|
1985 |
-
|
1986 |
-
.wpmui-fa-circle-thin:before {
|
1987 |
-
content: "";
|
1988 |
-
}
|
1989 |
-
|
1990 |
-
.wpmui-fa-header:before {
|
1991 |
-
content: "";
|
1992 |
-
}
|
1993 |
-
|
1994 |
-
.wpmui-fa-paragraph:before {
|
1995 |
-
content: "";
|
1996 |
-
}
|
1997 |
-
|
1998 |
-
.wpmui-fa-sliders:before {
|
1999 |
-
content: "";
|
2000 |
-
}
|
2001 |
-
|
2002 |
-
.wpmui-fa-share-alt:before {
|
2003 |
-
content: "";
|
2004 |
-
}
|
2005 |
-
|
2006 |
-
.wpmui-fa-share-alt-square:before {
|
2007 |
-
content: "";
|
2008 |
-
}
|
2009 |
-
|
2010 |
-
.wpmui-fa-bomb:before {
|
2011 |
-
content: "";
|
2012 |
-
}
|
2013 |
-
|
2014 |
-
.wpmui-fa-soccer-ball-o:before,
|
2015 |
-
.wpmui-fa-futbol-o:before {
|
2016 |
-
content: "";
|
2017 |
-
}
|
2018 |
-
|
2019 |
-
.wpmui-fa-tty:before {
|
2020 |
-
content: "";
|
2021 |
-
}
|
2022 |
-
|
2023 |
-
.wpmui-fa-binoculars:before {
|
2024 |
-
content: "";
|
2025 |
-
}
|
2026 |
-
|
2027 |
-
.wpmui-fa-plug:before {
|
2028 |
-
content: "";
|
2029 |
-
}
|
2030 |
-
|
2031 |
-
.wpmui-fa-slideshare:before {
|
2032 |
-
content: "";
|
2033 |
-
}
|
2034 |
-
|
2035 |
-
.wpmui-fa-twitch:before {
|
2036 |
-
content: "";
|
2037 |
-
}
|
2038 |
-
|
2039 |
-
.wpmui-fa-yelp:before {
|
2040 |
-
content: "";
|
2041 |
-
}
|
2042 |
-
|
2043 |
-
.wpmui-fa-newspaper-o:before {
|
2044 |
-
content: "";
|
2045 |
-
}
|
2046 |
-
|
2047 |
-
.wpmui-fa-wifi:before {
|
2048 |
-
content: "";
|
2049 |
-
}
|
2050 |
-
|
2051 |
-
.wpmui-fa-calculator:before {
|
2052 |
-
content: "";
|
2053 |
-
}
|
2054 |
-
|
2055 |
-
.wpmui-fa-paypal:before {
|
2056 |
-
content: "";
|
2057 |
-
}
|
2058 |
-
|
2059 |
-
.wpmui-fa-google-wallet:before {
|
2060 |
-
content: "";
|
2061 |
-
}
|
2062 |
-
|
2063 |
-
.wpmui-fa-cc-visa:before {
|
2064 |
-
content: "";
|
2065 |
-
}
|
2066 |
-
|
2067 |
-
.wpmui-fa-cc-mastercard:before {
|
2068 |
-
content: "";
|
2069 |
-
}
|
2070 |
-
|
2071 |
-
.wpmui-fa-cc-discover:before {
|
2072 |
-
content: "";
|
2073 |
-
}
|
2074 |
-
|
2075 |
-
.wpmui-fa-cc-amex:before {
|
2076 |
-
content: "";
|
2077 |
-
}
|
2078 |
-
|
2079 |
-
.wpmui-fa-cc-paypal:before {
|
2080 |
-
content: "";
|
2081 |
-
}
|
2082 |
-
|
2083 |
-
.wpmui-fa-cc-stripe:before {
|
2084 |
-
content: "";
|
2085 |
-
}
|
2086 |
-
|
2087 |
-
.wpmui-fa-bell-slash:before {
|
2088 |
-
content: "";
|
2089 |
-
}
|
2090 |
-
|
2091 |
-
.wpmui-fa-bell-slash-o:before {
|
2092 |
-
content: "";
|
2093 |
-
}
|
2094 |
-
|
2095 |
-
.wpmui-fa-trash:before {
|
2096 |
-
content: "";
|
2097 |
-
}
|
2098 |
-
|
2099 |
-
.wpmui-fa-copyright:before {
|
2100 |
-
content: "";
|
2101 |
-
}
|
2102 |
-
|
2103 |
-
.wpmui-fa-at:before {
|
2104 |
-
content: "";
|
2105 |
-
}
|
2106 |
-
|
2107 |
-
.wpmui-fa-eyedropper:before {
|
2108 |
-
content: "";
|
2109 |
-
}
|
2110 |
-
|
2111 |
-
.wpmui-fa-paint-brush:before {
|
2112 |
-
content: "";
|
2113 |
-
}
|
2114 |
-
|
2115 |
-
.wpmui-fa-birthday-cake:before {
|
2116 |
-
content: "";
|
2117 |
-
}
|
2118 |
-
|
2119 |
-
.wpmui-fa-area-chart:before {
|
2120 |
-
content: "";
|
2121 |
-
}
|
2122 |
-
|
2123 |
-
.wpmui-fa-pie-chart:before {
|
2124 |
-
content: "";
|
2125 |
-
}
|
2126 |
-
|
2127 |
-
.wpmui-fa-line-chart:before {
|
2128 |
-
content: "";
|
2129 |
-
}
|
2130 |
-
|
2131 |
-
.wpmui-fa-lastfm:before {
|
2132 |
-
content: "";
|
2133 |
-
}
|
2134 |
-
|
2135 |
-
.wpmui-fa-lastfm-square:before {
|
2136 |
-
content: "";
|
2137 |
-
}
|
2138 |
-
|
2139 |
-
.wpmui-fa-toggle-off:before {
|
2140 |
-
content: "";
|
2141 |
-
}
|
2142 |
-
|
2143 |
-
.wpmui-fa-toggle-on:before {
|
2144 |
-
content: "";
|
2145 |
-
}
|
2146 |
-
|
2147 |
-
.wpmui-fa-bicycle:before {
|
2148 |
-
content: "";
|
2149 |
-
}
|
2150 |
-
|
2151 |
-
.wpmui-fa-bus:before {
|
2152 |
-
content: "";
|
2153 |
-
}
|
2154 |
-
|
2155 |
-
.wpmui-fa-ioxhost:before {
|
2156 |
-
content: "";
|
2157 |
-
}
|
2158 |
-
|
2159 |
-
.wpmui-fa-angellist:before {
|
2160 |
-
content: "";
|
2161 |
-
}
|
2162 |
-
|
2163 |
-
.wpmui-fa-cc:before {
|
2164 |
-
content: "";
|
2165 |
-
}
|
2166 |
-
|
2167 |
-
.wpmui-fa-shekel:before,
|
2168 |
-
.wpmui-fa-sheqel:before,
|
2169 |
-
.wpmui-fa-ils:before {
|
2170 |
-
content: "";
|
2171 |
-
}
|
2172 |
-
|
2173 |
-
.wpmui-fa-meanpath:before {
|
2174 |
-
content: "";
|
2175 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
inc/external/wpmu-lib/css/fontawesome.min.css
DELETED
@@ -1,8 +0,0 @@
|
|
1 |
-
/*! WPMU Dev code library - v1.1.1
|
2 |
-
* http://premium.wpmudev.org/
|
3 |
-
* Copyright (c) 2014; * Licensed GPLv2+ */
|
4 |
-
|
5 |
-
@charset "UTF-8";/*!
|
6 |
-
* Font Awesome 4.2.0 by @davegandy - http://fontawesome.io - @fontawesome
|
7 |
-
* License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
|
8 |
-
*/@font-face{font-family:FontAwesome420;src:url(../fonts/fontawesome420-webfont.eot?v=4.2.0);src:url(../fonts/fontawesome420-webfont.eot?#iefix&v=4.2.0) format("embedded-opentype"),url(../fonts/fontawesome420-webfont.woff?v=4.2.0) format("woff"),url(../fonts/fontawesome420-webfont.ttf?v=4.2.0) format("truetype"),url(../fonts/fontawesome420-webfont.svg?v=4.2.0#fontawesomeregular) format("svg");font-weight:400;font-style:normal}.wpmui-fa{display:inline-block;font:normal normal normal 14px/1 FontAwesome420;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.wpmui-fa-lg{font-size:1.33333em;line-height:.75em;vertical-align:-15%}.wpmui-fa-2x{font-size:2em}.wpmui-fa-3x{font-size:3em}.wpmui-fa-4x{font-size:4em}.wpmui-fa-5x{font-size:5em}.wpmui-fa-fw{width:1.28571em;text-align:center}.wpmui-fa-ul{padding-left:0;margin-left:2.14286em;list-style-type:none}.wpmui-fa-ul>li{position:relative}.wpmui-fa-li{position:absolute;left:-2.14286em;width:2.14286em;top:.14286em;text-align:center}.wpmui-fa-li.wpmui-fa-lg{left:-1.85714em}.wpmui-fa-border{padding:.2em .25em .15em;border:solid .08em #eee;border-radius:.1em}.pull-right{float:right}.pull-left{float:left}.wpmui-fa.pull-left{margin-right:.3em}.wpmui-fa.pull-right{margin-left:.3em}.wpmui-fa-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.wpmui-fa-rotate-90{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=1);-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.wpmui-fa-rotate-180{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2);-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.wpmui-fa-rotate-270{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=3);-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.wpmui-fa-flip-horizontal{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=0);-webkit-transform:scale(-1,1);-ms-transform:scale(-1,1);transform:scale(-1,1)}.wpmui-fa-flip-vertical{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2);-webkit-transform:scale(1,-1);-ms-transform:scale(1,-1);transform:scale(1,-1)}:root .wpmui-fa-rotate-90,:root .wpmui-fa-rotate-180,:root .wpmui-fa-rotate-270,:root .wpmui-fa-flip-horizontal,:root .wpmui-fa-flip-vertical{filter:none}.wpmui-fa-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:middle}.wpmui-fa-stack-1x,.wpmui-fa-stack-2x{position:absolute;left:0;width:100%;text-align:center}.wpmui-fa-stack-1x{line-height:inherit}.wpmui-fa-stack-2x{font-size:2em}.wpmui-fa-inverse{color:#fff}.wpmui-fa-glass:before{content:""}.wpmui-fa-music:before{content:""}.wpmui-fa-search:before{content:""}.wpmui-fa-envelope-o:before{content:""}.wpmui-fa-heart:before{content:""}.wpmui-fa-star:before{content:""}.wpmui-fa-star-o:before{content:""}.wpmui-fa-user:before{content:""}.wpmui-fa-film:before{content:""}.wpmui-fa-th-large:before{content:""}.wpmui-fa-th:before{content:""}.wpmui-fa-th-list:before{content:""}.wpmui-fa-check:before{content:""}.wpmui-fa-remove:before,.wpmui-fa-close:before,.wpmui-fa-times:before{content:""}.wpmui-fa-search-plus:before{content:""}.wpmui-fa-search-minus:before{content:""}.wpmui-fa-power-off:before{content:""}.wpmui-fa-signal:before{content:""}.wpmui-fa-gear:before,.wpmui-fa-cog:before{content:""}.wpmui-fa-trash-o:before{content:""}.wpmui-fa-home:before{content:""}.wpmui-fa-file-o:before{content:""}.wpmui-fa-clock-o:before{content:""}.wpmui-fa-road:before{content:""}.wpmui-fa-download:before{content:""}.wpmui-fa-arrow-circle-o-down:before{content:""}.wpmui-fa-arrow-circle-o-up:before{content:""}.wpmui-fa-inbox:before{content:""}.wpmui-fa-play-circle-o:before{content:""}.wpmui-fa-rotate-right:before,.wpmui-fa-repeat:before{content:""}.wpmui-fa-refresh:before{content:""}.wpmui-fa-list-alt:before{content:""}.wpmui-fa-lock:before{content:""}.wpmui-fa-flag:before{content:""}.wpmui-fa-headphones:before{content:""}.wpmui-fa-volume-off:before{content:""}.wpmui-fa-volume-down:before{content:""}.wpmui-fa-volume-up:before{content:""}.wpmui-fa-qrcode:before{content:""}.wpmui-fa-barcode:before{content:""}.wpmui-fa-tag:before{content:""}.wpmui-fa-tags:before{content:""}.wpmui-fa-book:before{content:""}.wpmui-fa-bookmark:before{content:""}.wpmui-fa-print:before{content:""}.wpmui-fa-camera:before{content:""}.wpmui-fa-font:before{content:""}.wpmui-fa-bold:before{content:""}.wpmui-fa-italic:before{content:""}.wpmui-fa-text-height:before{content:""}.wpmui-fa-text-width:before{content:""}.wpmui-fa-align-left:before{content:""}.wpmui-fa-align-center:before{content:""}.wpmui-fa-align-right:before{content:""}.wpmui-fa-align-justify:before{content:""}.wpmui-fa-list:before{content:""}.wpmui-fa-dedent:before,.wpmui-fa-outdent:before{content:""}.wpmui-fa-indent:before{content:""}.wpmui-fa-video-camera:before{content:""}.wpmui-fa-photo:before,.wpmui-fa-image:before,.wpmui-fa-picture-o:before{content:""}.wpmui-fa-pencil:before{content:""}.wpmui-fa-map-marker:before{content:""}.wpmui-fa-adjust:before{content:""}.wpmui-fa-tint:before{content:""}.wpmui-fa-edit:before,.wpmui-fa-pencil-square-o:before{content:""}.wpmui-fa-share-square-o:before{content:""}.wpmui-fa-check-square-o:before{content:""}.wpmui-fa-arrows:before{content:""}.wpmui-fa-step-backward:before{content:""}.wpmui-fa-fast-backward:before{content:""}.wpmui-fa-backward:before{content:""}.wpmui-fa-play:before{content:""}.wpmui-fa-pause:before{content:""}.wpmui-fa-stop:before{content:""}.wpmui-fa-forward:before{content:""}.wpmui-fa-fast-forward:before{content:""}.wpmui-fa-step-forward:before{content:""}.wpmui-fa-eject:before{content:""}.wpmui-fa-chevron-left:before{content:""}.wpmui-fa-chevron-right:before{content:""}.wpmui-fa-plus-circle:before{content:""}.wpmui-fa-minus-circle:before{content:""}.wpmui-fa-times-circle:before{content:""}.wpmui-fa-check-circle:before{content:""}.wpmui-fa-question-circle:before{content:""}.wpmui-fa-info-circle:before{content:""}.wpmui-fa-crosshairs:before{content:""}.wpmui-fa-times-circle-o:before{content:""}.wpmui-fa-check-circle-o:before{content:""}.wpmui-fa-ban:before{content:""}.wpmui-fa-arrow-left:before{content:""}.wpmui-fa-arrow-right:before{content:""}.wpmui-fa-arrow-up:before{content:""}.wpmui-fa-arrow-down:before{content:""}.wpmui-fa-mail-forward:before,.wpmui-fa-share:before{content:""}.wpmui-fa-expand:before{content:""}.wpmui-fa-compress:before{content:""}.wpmui-fa-plus:before{content:""}.wpmui-fa-minus:before{content:""}.wpmui-fa-asterisk:before{content:""}.wpmui-fa-exclamation-circle:before{content:""}.wpmui-fa-gift:before{content:""}.wpmui-fa-leaf:before{content:""}.wpmui-fa-fire:before{content:""}.wpmui-fa-eye:before{content:""}.wpmui-fa-eye-slash:before{content:""}.wpmui-fa-warning:before,.wpmui-fa-exclamation-triangle:before{content:""}.wpmui-fa-plane:before{content:""}.wpmui-fa-calendar:before{content:""}.wpmui-fa-random:before{content:""}.wpmui-fa-comment:before{content:""}.wpmui-fa-magnet:before{content:""}.wpmui-fa-chevron-up:before{content:""}.wpmui-fa-chevron-down:before{content:""}.wpmui-fa-retweet:before{content:""}.wpmui-fa-shopping-cart:before{content:""}.wpmui-fa-folder:before{content:""}.wpmui-fa-folder-open:before{content:""}.wpmui-fa-arrows-v:before{content:""}.wpmui-fa-arrows-h:before{content:""}.wpmui-fa-bar-chart-o:before,.wpmui-fa-bar-chart:before{content:""}.wpmui-fa-twitter-square:before{content:""}.wpmui-fa-facebook-square:before{content:""}.wpmui-fa-camera-retro:before{content:""}.wpmui-fa-key:before{content:""}.wpmui-fa-gears:before,.wpmui-fa-cogs:before{content:""}.wpmui-fa-comments:before{content:""}.wpmui-fa-thumbs-o-up:before{content:""}.wpmui-fa-thumbs-o-down:before{content:""}.wpmui-fa-star-half:before{content:""}.wpmui-fa-heart-o:before{content:""}.wpmui-fa-sign-out:before{content:""}.wpmui-fa-linkedin-square:before{content:""}.wpmui-fa-thumb-tack:before{content:""}.wpmui-fa-external-link:before{content:""}.wpmui-fa-sign-in:before{content:""}.wpmui-fa-trophy:before{content:""}.wpmui-fa-github-square:before{content:""}.wpmui-fa-upload:before{content:""}.wpmui-fa-lemon-o:before{content:""}.wpmui-fa-phone:before{content:""}.wpmui-fa-square-o:before{content:""}.wpmui-fa-bookmark-o:before{content:""}.wpmui-fa-phone-square:before{content:""}.wpmui-fa-twitter:before{content:""}.wpmui-fa-facebook:before{content:""}.wpmui-fa-github:before{content:""}.wpmui-fa-unlock:before{content:""}.wpmui-fa-credit-card:before{content:""}.wpmui-fa-rss:before{content:""}.wpmui-fa-hdd-o:before{content:""}.wpmui-fa-bullhorn:before{content:""}.wpmui-fa-bell:before{content:""}.wpmui-fa-certificate:before{content:""}.wpmui-fa-hand-o-right:before{content:""}.wpmui-fa-hand-o-left:before{content:""}.wpmui-fa-hand-o-up:before{content:""}.wpmui-fa-hand-o-down:before{content:""}.wpmui-fa-arrow-circle-left:before{content:""}.wpmui-fa-arrow-circle-right:before{content:""}.wpmui-fa-arrow-circle-up:before{content:""}.wpmui-fa-arrow-circle-down:before{content:""}.wpmui-fa-globe:before{content:""}.wpmui-fa-wrench:before{content:""}.wpmui-fa-tasks:before{content:""}.wpmui-fa-filter:before{content:""}.wpmui-fa-briefcase:before{content:""}.wpmui-fa-arrows-alt:before{content:""}.wpmui-fa-group:before,.wpmui-fa-users:before{content:""}.wpmui-fa-chain:before,.wpmui-fa-link:before{content:""}.wpmui-fa-cloud:before{content:""}.wpmui-fa-flask:before{content:""}.wpmui-fa-cut:before,.wpmui-fa-scissors:before{content:""}.wpmui-fa-copy:before,.wpmui-fa-files-o:before{content:""}.wpmui-fa-paperclip:before{content:""}.wpmui-fa-save:before,.wpmui-fa-floppy-o:before{content:""}.wpmui-fa-square:before{content:""}.wpmui-fa-navicon:before,.wpmui-fa-reorder:before,.wpmui-fa-bars:before{content:""}.wpmui-fa-list-ul:before{content:""}.wpmui-fa-list-ol:before{content:""}.wpmui-fa-strikethrough:before{content:""}.wpmui-fa-underline:before{content:""}.wpmui-fa-table:before{content:""}.wpmui-fa-magic:before{content:""}.wpmui-fa-truck:before{content:""}.wpmui-fa-pinterest:before{content:""}.wpmui-fa-pinterest-square:before{content:""}.wpmui-fa-google-plus-square:before{content:""}.wpmui-fa-google-plus:before{content:""}.wpmui-fa-money:before{content:""}.wpmui-fa-caret-down:before{content:""}.wpmui-fa-caret-up:before{content:""}.wpmui-fa-caret-left:before{content:""}.wpmui-fa-caret-right:before{content:""}.wpmui-fa-columns:before{content:""}.wpmui-fa-unsorted:before,.wpmui-fa-sort:before{content:""}.wpmui-fa-sort-down:before,.wpmui-fa-sort-desc:before{content:""}.wpmui-fa-sort-up:before,.wpmui-fa-sort-asc:before{content:""}.wpmui-fa-envelope:before{content:""}.wpmui-fa-linkedin:before{content:""}.wpmui-fa-rotate-left:before,.wpmui-fa-undo:before{content:""}.wpmui-fa-legal:before,.wpmui-fa-gavel:before{content:""}.wpmui-fa-dashboard:before,.wpmui-fa-tachometer:before{content:""}.wpmui-fa-comment-o:before{content:""}.wpmui-fa-comments-o:before{content:""}.wpmui-fa-flash:before,.wpmui-fa-bolt:before{content:""}.wpmui-fa-sitemap:before{content:""}.wpmui-fa-umbrella:before{content:""}.wpmui-fa-paste:before,.wpmui-fa-clipboard:before{content:""}.wpmui-fa-lightbulb-o:before{content:""}.wpmui-fa-exchange:before{content:""}.wpmui-fa-cloud-download:before{content:""}.wpmui-fa-cloud-upload:before{content:""}.wpmui-fa-user-md:before{content:""}.wpmui-fa-stethoscope:before{content:""}.wpmui-fa-suitcase:before{content:""}.wpmui-fa-bell-o:before{content:""}.wpmui-fa-coffee:before{content:""}.wpmui-fa-cutlery:before{content:""}.wpmui-fa-file-text-o:before{content:""}.wpmui-fa-building-o:before{content:""}.wpmui-fa-hospital-o:before{content:""}.wpmui-fa-ambulance:before{content:""}.wpmui-fa-medkit:before{content:""}.wpmui-fa-fighter-jet:before{content:""}.wpmui-fa-beer:before{content:""}.wpmui-fa-h-square:before{content:""}.wpmui-fa-plus-square:before{content:""}.wpmui-fa-angle-double-left:before{content:""}.wpmui-fa-angle-double-right:before{content:""}.wpmui-fa-angle-double-up:before{content:""}.wpmui-fa-angle-double-down:before{content:""}.wpmui-fa-angle-left:before{content:""}.wpmui-fa-angle-right:before{content:""}.wpmui-fa-angle-up:before{content:""}.wpmui-fa-angle-down:before{content:""}.wpmui-fa-desktop:before{content:""}.wpmui-fa-laptop:before{content:""}.wpmui-fa-tablet:before{content:""}.wpmui-fa-mobile-phone:before,.wpmui-fa-mobile:before{content:""}.wpmui-fa-circle-o:before{content:""}.wpmui-fa-quote-left:before{content:""}.wpmui-fa-quote-right:before{content:""}.wpmui-fa-spinner:before{content:""}.wpmui-fa-circle:before{content:""}.wpmui-fa-mail-reply:before,.wpmui-fa-reply:before{content:""}.wpmui-fa-github-alt:before{content:""}.wpmui-fa-folder-o:before{content:""}.wpmui-fa-folder-open-o:before{content:""}.wpmui-fa-smile-o:before{content:""}.wpmui-fa-frown-o:before{content:""}.wpmui-fa-meh-o:before{content:""}.wpmui-fa-gamepad:before{content:""}.wpmui-fa-keyboard-o:before{content:""}.wpmui-fa-flag-o:before{content:""}.wpmui-fa-flag-checkered:before{content:""}.wpmui-fa-terminal:before{content:""}.wpmui-fa-code:before{content:""}.wpmui-fa-mail-reply-all:before,.wpmui-fa-reply-all:before{content:""}.wpmui-fa-star-half-empty:before,.wpmui-fa-star-half-full:before,.wpmui-fa-star-half-o:before{content:""}.wpmui-fa-location-arrow:before{content:""}.wpmui-fa-crop:before{content:""}.wpmui-fa-code-fork:before{content:""}.wpmui-fa-unlink:before,.wpmui-fa-chain-broken:before{content:""}.wpmui-fa-question:before{content:""}.wpmui-fa-info:before{content:""}.wpmui-fa-exclamation:before{content:""}.wpmui-fa-superscript:before{content:""}.wpmui-fa-subscript:before{content:""}.wpmui-fa-eraser:before{content:""}.wpmui-fa-puzzle-piece:before{content:""}.wpmui-fa-microphone:before{content:""}.wpmui-fa-microphone-slash:before{content:""}.wpmui-fa-shield:before{content:""}.wpmui-fa-calendar-o:before{content:""}.wpmui-fa-fire-extinguisher:before{content:""}.wpmui-fa-rocket:before{content:""}.wpmui-fa-maxcdn:before{content:""}.wpmui-fa-chevron-circle-left:before{content:""}.wpmui-fa-chevron-circle-right:before{content:""}.wpmui-fa-chevron-circle-up:before{content:""}.wpmui-fa-chevron-circle-down:before{content:""}.wpmui-fa-html5:before{content:""}.wpmui-fa-css3:before{content:""}.wpmui-fa-anchor:before{content:""}.wpmui-fa-unlock-alt:before{content:""}.wpmui-fa-bullseye:before{content:""}.wpmui-fa-ellipsis-h:before{content:""}.wpmui-fa-ellipsis-v:before{content:""}.wpmui-fa-rss-square:before{content:""}.wpmui-fa-play-circle:before{content:""}.wpmui-fa-ticket:before{content:""}.wpmui-fa-minus-square:before{content:""}.wpmui-fa-minus-square-o:before{content:""}.wpmui-fa-level-up:before{content:""}.wpmui-fa-level-down:before{content:""}.wpmui-fa-check-square:before{content:""}.wpmui-fa-pencil-square:before{content:""}.wpmui-fa-external-link-square:before{content:""}.wpmui-fa-share-square:before{content:""}.wpmui-fa-compass:before{content:""}.wpmui-fa-toggle-down:before,.wpmui-fa-caret-square-o-down:before{content:""}.wpmui-fa-toggle-up:before,.wpmui-fa-caret-square-o-up:before{content:""}.wpmui-fa-toggle-right:before,.wpmui-fa-caret-square-o-right:before{content:""}.wpmui-fa-euro:before,.wpmui-fa-eur:before{content:""}.wpmui-fa-gbp:before{content:""}.wpmui-fa-dollar:before,.wpmui-fa-usd:before{content:""}.wpmui-fa-rupee:before,.wpmui-fa-inr:before{content:""}.wpmui-fa-cny:before,.wpmui-fa-rmb:before,.wpmui-fa-yen:before,.wpmui-fa-jpy:before{content:""}.wpmui-fa-ruble:before,.wpmui-fa-rouble:before,.wpmui-fa-rub:before{content:""}.wpmui-fa-won:before,.wpmui-fa-krw:before{content:""}.wpmui-fa-bitcoin:before,.wpmui-fa-btc:before{content:""}.wpmui-fa-file:before{content:""}.wpmui-fa-file-text:before{content:""}.wpmui-fa-sort-alpha-asc:before{content:""}.wpmui-fa-sort-alpha-desc:before{content:""}.wpmui-fa-sort-amount-asc:before{content:""}.wpmui-fa-sort-amount-desc:before{content:""}.wpmui-fa-sort-numeric-asc:before{content:""}.wpmui-fa-sort-numeric-desc:before{content:""}.wpmui-fa-thumbs-up:before{content:""}.wpmui-fa-thumbs-down:before{content:""}.wpmui-fa-youtube-square:before{content:""}.wpmui-fa-youtube:before{content:""}.wpmui-fa-xing:before{content:""}.wpmui-fa-xing-square:before{content:""}.wpmui-fa-youtube-play:before{content:""}.wpmui-fa-dropbox:before{content:""}.wpmui-fa-stack-overflow:before{content:""}.wpmui-fa-instagram:before{content:""}.wpmui-fa-flickr:before{content:""}.wpmui-fa-adn:before{content:""}.wpmui-fa-bitbucket:before{content:""}.wpmui-fa-bitbucket-square:before{content:""}.wpmui-fa-tumblr:before{content:""}.wpmui-fa-tumblr-square:before{content:""}.wpmui-fa-long-arrow-down:before{content:""}.wpmui-fa-long-arrow-up:before{content:""}.wpmui-fa-long-arrow-left:before{content:""}.wpmui-fa-long-arrow-right:before{content:""}.wpmui-fa-apple:before{content:""}.wpmui-fa-windows:before{content:""}.wpmui-fa-android:before{content:""}.wpmui-fa-linux:before{content:""}.wpmui-fa-dribbble:before{content:""}.wpmui-fa-skype:before{content:""}.wpmui-fa-foursquare:before{content:""}.wpmui-fa-trello:before{content:""}.wpmui-fa-female:before{content:""}.wpmui-fa-male:before{content:""}.wpmui-fa-gittip:before{content:""}.wpmui-fa-sun-o:before{content:""}.wpmui-fa-moon-o:before{content:""}.wpmui-fa-archive:before{content:""}.wpmui-fa-bug:before{content:""}.wpmui-fa-vk:before{content:""}.wpmui-fa-weibo:before{content:""}.wpmui-fa-renren:before{content:""}.wpmui-fa-pagelines:before{content:""}.wpmui-fa-stack-exchange:before{content:""}.wpmui-fa-arrow-circle-o-right:before{content:""}.wpmui-fa-arrow-circle-o-left:before{content:""}.wpmui-fa-toggle-left:before,.wpmui-fa-caret-square-o-left:before{content:""}.wpmui-fa-dot-circle-o:before{content:""}.wpmui-fa-wheelchair:before{content:""}.wpmui-fa-vimeo-square:before{content:""}.wpmui-fa-turkish-lira:before,.wpmui-fa-try:before{content:""}.wpmui-fa-plus-square-o:before{content:""}.wpmui-fa-space-shuttle:before{content:""}.wpmui-fa-slack:before{content:""}.wpmui-fa-envelope-square:before{content:""}.wpmui-fa-wordpress:before{content:""}.wpmui-fa-openid:before{content:""}.wpmui-fa-institution:before,.wpmui-fa-bank:before,.wpmui-fa-university:before{content:""}.wpmui-fa-mortar-board:before,.wpmui-fa-graduation-cap:before{content:""}.wpmui-fa-yahoo:before{content:""}.wpmui-fa-google:before{content:""}.wpmui-fa-reddit:before{content:""}.wpmui-fa-reddit-square:before{content:""}.wpmui-fa-stumbleupon-circle:before{content:""}.wpmui-fa-stumbleupon:before{content:""}.wpmui-fa-delicious:before{content:""}.wpmui-fa-digg:before{content:""}.wpmui-fa-pied-piper:before{content:""}.wpmui-fa-pied-piper-alt:before{content:""}.wpmui-fa-drupal:before{content:""}.wpmui-fa-joomla:before{content:""}.wpmui-fa-language:before{content:""}.wpmui-fa-fax:before{content:""}.wpmui-fa-building:before{content:""}.wpmui-fa-child:before{content:""}.wpmui-fa-paw:before{content:""}.wpmui-fa-spoon:before{content:""}.wpmui-fa-cube:before{content:""}.wpmui-fa-cubes:before{content:""}.wpmui-fa-behance:before{content:""}.wpmui-fa-behance-square:before{content:""}.wpmui-fa-steam:before{content:""}.wpmui-fa-steam-square:before{content:""}.wpmui-fa-recycle:before{content:""}.wpmui-fa-automobile:before,.wpmui-fa-car:before{content:""}.wpmui-fa-cab:before,.wpmui-fa-taxi:before{content:""}.wpmui-fa-tree:before{content:""}.wpmui-fa-spotify:before{content:""}.wpmui-fa-deviantart:before{content:""}.wpmui-fa-soundcloud:before{content:""}.wpmui-fa-database:before{content:""}.wpmui-fa-file-pdf-o:before{content:""}.wpmui-fa-file-word-o:before{content:""}.wpmui-fa-file-excel-o:before{content:""}.wpmui-fa-file-powerpoint-o:before{content:""}.wpmui-fa-file-photo-o:before,.wpmui-fa-file-picture-o:before,.wpmui-fa-file-image-o:before{content:""}.wpmui-fa-file-zip-o:before,.wpmui-fa-file-archive-o:before{content:""}.wpmui-fa-file-sound-o:before,.wpmui-fa-file-audio-o:before{content:""}.wpmui-fa-file-movie-o:before,.wpmui-fa-file-video-o:before{content:""}.wpmui-fa-file-code-o:before{content:""}.wpmui-fa-vine:before{content:""}.wpmui-fa-codepen:before{content:""}.wpmui-fa-jsfiddle:before{content:""}.wpmui-fa-life-bouy:before,.wpmui-fa-life-buoy:before,.wpmui-fa-life-saver:before,.wpmui-fa-support:before,.wpmui-fa-life-ring:before{content:""}.wpmui-fa-circle-o-notch:before{content:""}.wpmui-fa-ra:before,.wpmui-fa-rebel:before{content:""}.wpmui-fa-ge:before,.wpmui-fa-empire:before{content:""}.wpmui-fa-git-square:before{content:""}.wpmui-fa-git:before{content:""}.wpmui-fa-hacker-news:before{content:""}.wpmui-fa-tencent-weibo:before{content:""}.wpmui-fa-qq:before{content:""}.wpmui-fa-wechat:before,.wpmui-fa-weixin:before{content:""}.wpmui-fa-send:before,.wpmui-fa-paper-plane:before{content:""}.wpmui-fa-send-o:before,.wpmui-fa-paper-plane-o:before{content:""}.wpmui-fa-history:before{content:""}.wpmui-fa-circle-thin:before{content:""}.wpmui-fa-header:before{content:""}.wpmui-fa-paragraph:before{content:""}.wpmui-fa-sliders:before{content:""}.wpmui-fa-share-alt:before{content:""}.wpmui-fa-share-alt-square:before{content:""}.wpmui-fa-bomb:before{content:""}.wpmui-fa-soccer-ball-o:before,.wpmui-fa-futbol-o:before{content:""}.wpmui-fa-tty:before{content:""}.wpmui-fa-binoculars:before{content:""}.wpmui-fa-plug:before{content:""}.wpmui-fa-slideshare:before{content:""}.wpmui-fa-twitch:before{content:""}.wpmui-fa-yelp:before{content:""}.wpmui-fa-newspaper-o:before{content:""}.wpmui-fa-wifi:before{content:""}.wpmui-fa-calculator:before{content:""}.wpmui-fa-paypal:before{content:""}.wpmui-fa-google-wallet:before{content:""}.wpmui-fa-cc-visa:before{content:""}.wpmui-fa-cc-mastercard:before{content:""}.wpmui-fa-cc-discover:before{content:""}.wpmui-fa-cc-amex:before{content:""}.wpmui-fa-cc-paypal:before{content:""}.wpmui-fa-cc-stripe:before{content:""}.wpmui-fa-bell-slash:before{content:""}.wpmui-fa-bell-slash-o:before{content:""}.wpmui-fa-trash:before{content:""}.wpmui-fa-copyright:before{content:""}.wpmui-fa-at:before{content:""}.wpmui-fa-eyedropper:before{content:""}.wpmui-fa-paint-brush:before{content:""}.wpmui-fa-birthday-cake:before{content:""}.wpmui-fa-area-chart:before{content:""}.wpmui-fa-pie-chart:before{content:""}.wpmui-fa-line-chart:before{content:""}.wpmui-fa-lastfm:before{content:""}.wpmui-fa-lastfm-square:before{content:""}.wpmui-fa-toggle-off:before{content:""}.wpmui-fa-toggle-on:before{content:""}.wpmui-fa-bicycle:before{content:""}.wpmui-fa-bus:before{content:""}.wpmui-fa-ioxhost:before{content:""}.wpmui-fa-angellist:before{content:""}.wpmui-fa-cc:before{content:""}.wpmui-fa-shekel:before,.wpmui-fa-sheqel:before,.wpmui-fa-ils:before{content:""}.wpmui-fa-meanpath:before{content:""}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
inc/external/wpmu-lib/css/jquery-ui.custom.css
DELETED
@@ -1,1864 +0,0 @@
|
|
1 |
-
/*! jQuery UI - v1.10.4 - 2014-05-07
|
2 |
-
* http://jqueryui.com
|
3 |
-
* Includes: jquery.ui.core.css, jquery.ui.resizable.css, jquery.ui.selectable.css, jquery.ui.accordion.css, jquery.ui.autocomplete.css, jquery.ui.button.css, jquery.ui.datepicker.css, jquery.ui.dialog.css, jquery.ui.menu.css, jquery.ui.progressbar.css, jquery.ui.slider.css, jquery.ui.spinner.css, jquery.ui.tabs.css, jquery.ui.tooltip.css, jquery.ui.theme.css
|
4 |
-
* To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Verdana%2CArial%2Csans-serif&fwDefault=normal&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=cccccc&bgTextureHeader=highlight_soft&bgImgOpacityHeader=75&borderColorHeader=aaaaaa&fcHeader=222222&iconColorHeader=222222&bgColorContent=ffffff&bgTextureContent=flat&bgImgOpacityContent=75&borderColorContent=aaaaaa&fcContent=222222&iconColorContent=222222&bgColorDefault=e6e6e6&bgTextureDefault=glass&bgImgOpacityDefault=75&borderColorDefault=d3d3d3&fcDefault=555555&iconColorDefault=888888&bgColorHover=dadada&bgTextureHover=glass&bgImgOpacityHover=75&borderColorHover=999999&fcHover=212121&iconColorHover=454545&bgColorActive=ffffff&bgTextureActive=glass&bgImgOpacityActive=65&borderColorActive=aaaaaa&fcActive=212121&iconColorActive=454545&bgColorHighlight=fbf9ee&bgTextureHighlight=glass&bgImgOpacityHighlight=55&borderColorHighlight=fcefa1&fcHighlight=363636&iconColorHighlight=2e83ff&bgColorError=fef1ec&bgTextureError=glass&bgImgOpacityError=95&borderColorError=cd0a0a&fcError=cd0a0a&iconColorError=cd0a0a&bgColorOverlay=aaaaaa&bgTextureOverlay=flat&bgImgOpacityOverlay=0&opacityOverlay=30&bgColorShadow=aaaaaa&bgTextureShadow=flat&bgImgOpacityShadow=0&opacityShadow=30&thicknessShadow=8px&offsetTopShadow=-8px&offsetLeftShadow=-8px&cornerRadiusShadow=8px
|
5 |
-
* Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */
|
6 |
-
/**
|
7 |
-
* We have to load own CSS files because WordPress core does not provide any
|
8 |
-
* jQuery UI Theme (only javascript files are provided by WP core)
|
9 |
-
*
|
10 |
-
* THIS FILE IS MODIFIED:
|
11 |
-
*
|
12 |
-
* Image folder was moved inside the "images" directory.
|
13 |
-
* Best merge changes for new jQuery UI version via a diff/merge tool.
|
14 |
-
*/
|
15 |
-
/* Layout helpers
|
16 |
-
----------------------------------*/
|
17 |
-
.ui-helper-hidden {
|
18 |
-
display: none;
|
19 |
-
}
|
20 |
-
|
21 |
-
.ui-helper-hidden-accessible {
|
22 |
-
border: 0;
|
23 |
-
clip: rect(0 0 0 0);
|
24 |
-
height: 1px;
|
25 |
-
margin: -1px;
|
26 |
-
overflow: hidden;
|
27 |
-
padding: 0;
|
28 |
-
position: absolute;
|
29 |
-
width: 1px;
|
30 |
-
}
|
31 |
-
|
32 |
-
.ui-helper-reset {
|
33 |
-
margin: 0;
|
34 |
-
padding: 0;
|
35 |
-
border: 0;
|
36 |
-
outline: 0;
|
37 |
-
line-height: 1.3;
|
38 |
-
text-decoration: none;
|
39 |
-
font-size: 100%;
|
40 |
-
list-style: none;
|
41 |
-
}
|
42 |
-
|
43 |
-
.ui-helper-clearfix:before,
|
44 |
-
.ui-helper-clearfix:after {
|
45 |
-
content: "";
|
46 |
-
display: table;
|
47 |
-
border-collapse: collapse;
|
48 |
-
}
|
49 |
-
|
50 |
-
.ui-helper-clearfix:after {
|
51 |
-
clear: both;
|
52 |
-
}
|
53 |
-
|
54 |
-
.ui-helper-clearfix {
|
55 |
-
min-height: 0;
|
56 |
-
/* support: IE7 */
|
57 |
-
}
|
58 |
-
|
59 |
-
.ui-helper-zfix {
|
60 |
-
width: 100%;
|
61 |
-
height: 100%;
|
62 |
-
top: 0;
|
63 |
-
left: 0;
|
64 |
-
position: absolute;
|
65 |
-
opacity: 0;
|
66 |
-
filter: Alpha(Opacity=0);
|
67 |
-
}
|
68 |
-
|
69 |
-
.ui-front {
|
70 |
-
z-index: 100;
|
71 |
-
}
|
72 |
-
|
73 |
-
/* Interaction Cues
|
74 |
-
----------------------------------*/
|
75 |
-
.ui-state-disabled {
|
76 |
-
cursor: default !important;
|
77 |
-
}
|
78 |
-
|
79 |
-
/* Icons
|
80 |
-
----------------------------------*/
|
81 |
-
/* states and images */
|
82 |
-
.ui-icon {
|
83 |
-
display: block;
|
84 |
-
text-indent: -99999px;
|
85 |
-
overflow: hidden;
|
86 |
-
background-repeat: no-repeat;
|
87 |
-
}
|
88 |
-
|
89 |
-
/* Misc visuals
|
90 |
-
----------------------------------*/
|
91 |
-
/* Overlays */
|
92 |
-
.ui-widget-overlay {
|
93 |
-
position: fixed;
|
94 |
-
top: 0;
|
95 |
-
left: 0;
|
96 |
-
width: 100%;
|
97 |
-
height: 100%;
|
98 |
-
}
|
99 |
-
|
100 |
-
.ui-resizable {
|
101 |
-
position: relative;
|
102 |
-
}
|
103 |
-
|
104 |
-
.ui-resizable-handle {
|
105 |
-
position: absolute;
|
106 |
-
font-size: 0.1px;
|
107 |
-
display: block;
|
108 |
-
}
|
109 |
-
|
110 |
-
.ui-resizable-disabled .ui-resizable-handle,
|
111 |
-
.ui-resizable-autohide .ui-resizable-handle {
|
112 |
-
display: none;
|
113 |
-
}
|
114 |
-
|
115 |
-
.ui-resizable-n {
|
116 |
-
cursor: n-resize;
|
117 |
-
height: 7px;
|
118 |
-
width: 100%;
|
119 |
-
top: -5px;
|
120 |
-
left: 0;
|
121 |
-
}
|
122 |
-
|
123 |
-
.ui-resizable-s {
|
124 |
-
cursor: s-resize;
|
125 |
-
height: 7px;
|
126 |
-
width: 100%;
|
127 |
-
bottom: -5px;
|
128 |
-
left: 0;
|
129 |
-
}
|
130 |
-
|
131 |
-
.ui-resizable-e {
|
132 |
-
cursor: e-resize;
|
133 |
-
width: 7px;
|
134 |
-
right: -5px;
|
135 |
-
top: 0;
|
136 |
-
height: 100%;
|
137 |
-
}
|
138 |
-
|
139 |
-
.ui-resizable-w {
|
140 |
-
cursor: w-resize;
|
141 |
-
width: 7px;
|
142 |
-
left: -5px;
|
143 |
-
top: 0;
|
144 |
-
height: 100%;
|
145 |
-
}
|
146 |
-
|
147 |
-
.ui-resizable-se {
|
148 |
-
cursor: se-resize;
|
149 |
-
width: 12px;
|
150 |
-
height: 12px;
|
151 |
-
right: 1px;
|
152 |
-
bottom: 1px;
|
153 |
-
}
|
154 |
-
|
155 |
-
.ui-resizable-sw {
|
156 |
-
cursor: sw-resize;
|
157 |
-
width: 9px;
|
158 |
-
height: 9px;
|
159 |
-
left: -5px;
|
160 |
-
bottom: -5px;
|
161 |
-
}
|
162 |
-
|
163 |
-
.ui-resizable-nw {
|
164 |
-
cursor: nw-resize;
|
165 |
-
width: 9px;
|
166 |
-
height: 9px;
|
167 |
-
left: -5px;
|
168 |
-
top: -5px;
|
169 |
-
}
|
170 |
-
|
171 |
-
.ui-resizable-ne {
|
172 |
-
cursor: ne-resize;
|
173 |
-
width: 9px;
|
174 |
-
height: 9px;
|
175 |
-
right: -5px;
|
176 |
-
top: -5px;
|
177 |
-
}
|
178 |
-
|
179 |
-
.ui-selectable-helper {
|
180 |
-
position: absolute;
|
181 |
-
z-index: 100;
|
182 |
-
border: 1px dotted black;
|
183 |
-
}
|
184 |
-
|
185 |
-
.ui-accordion .ui-accordion-header {
|
186 |
-
display: block;
|
187 |
-
cursor: pointer;
|
188 |
-
position: relative;
|
189 |
-
margin-top: 2px;
|
190 |
-
padding: .5em .5em .5em .7em;
|
191 |
-
min-height: 0;
|
192 |
-
/* support: IE7 */
|
193 |
-
}
|
194 |
-
|
195 |
-
.ui-accordion .ui-accordion-icons {
|
196 |
-
padding-left: 2.2em;
|
197 |
-
}
|
198 |
-
|
199 |
-
.ui-accordion .ui-accordion-noicons {
|
200 |
-
padding-left: .7em;
|
201 |
-
}
|
202 |
-
|
203 |
-
.ui-accordion .ui-accordion-icons .ui-accordion-icons {
|
204 |
-
padding-left: 2.2em;
|
205 |
-
}
|
206 |
-
|
207 |
-
.ui-accordion .ui-accordion-header .ui-accordion-header-icon {
|
208 |
-
position: absolute;
|
209 |
-
left: .5em;
|
210 |
-
top: 50%;
|
211 |
-
margin-top: -8px;
|
212 |
-
}
|
213 |
-
|
214 |
-
.ui-accordion .ui-accordion-content {
|
215 |
-
padding: 1em 2.2em;
|
216 |
-
border-top: 0;
|
217 |
-
overflow: auto;
|
218 |
-
}
|
219 |
-
|
220 |
-
.ui-autocomplete {
|
221 |
-
position: absolute;
|
222 |
-
top: 0;
|
223 |
-
left: 0;
|
224 |
-
cursor: default;
|
225 |
-
}
|
226 |
-
|
227 |
-
.ui-button {
|
228 |
-
display: inline-block;
|
229 |
-
position: relative;
|
230 |
-
padding: 0;
|
231 |
-
line-height: normal;
|
232 |
-
margin-right: .1em;
|
233 |
-
cursor: pointer;
|
234 |
-
vertical-align: middle;
|
235 |
-
text-align: center;
|
236 |
-
overflow: visible;
|
237 |
-
/* removes extra width in IE */
|
238 |
-
}
|
239 |
-
|
240 |
-
.ui-button,
|
241 |
-
.ui-button:link,
|
242 |
-
.ui-button:visited,
|
243 |
-
.ui-button:hover,
|
244 |
-
.ui-button:active {
|
245 |
-
text-decoration: none;
|
246 |
-
}
|
247 |
-
|
248 |
-
/* to make room for the icon, a width needs to be set here */
|
249 |
-
.ui-button-icon-only {
|
250 |
-
width: 2.2em;
|
251 |
-
}
|
252 |
-
|
253 |
-
/* button elements seem to need a little more width */
|
254 |
-
button.ui-button-icon-only {
|
255 |
-
width: 2.4em;
|
256 |
-
}
|
257 |
-
|
258 |
-
.ui-button-icons-only {
|
259 |
-
width: 3.4em;
|
260 |
-
}
|
261 |
-
|
262 |
-
button.ui-button-icons-only {
|
263 |
-
width: 3.7em;
|
264 |
-
}
|
265 |
-
|
266 |
-
/* button text element */
|
267 |
-
.ui-button .ui-button-text {
|
268 |
-
display: block;
|
269 |
-
line-height: normal;
|
270 |
-
}
|
271 |
-
|
272 |
-
.ui-button-text-only .ui-button-text {
|
273 |
-
padding: .4em 1em;
|
274 |
-
}
|
275 |
-
|
276 |
-
.ui-button-icon-only .ui-button-text,
|
277 |
-
.ui-button-icons-only .ui-button-text {
|
278 |
-
padding: .4em;
|
279 |
-
text-indent: -9999999px;
|
280 |
-
}
|
281 |
-
|
282 |
-
.ui-button-text-icon-primary .ui-button-text,
|
283 |
-
.ui-button-text-icons .ui-button-text {
|
284 |
-
padding: .4em 1em .4em 2.1em;
|
285 |
-
}
|
286 |
-
|
287 |
-
.ui-button-text-icon-secondary .ui-button-text,
|
288 |
-
.ui-button-text-icons .ui-button-text {
|
289 |
-
padding: .4em 2.1em .4em 1em;
|
290 |
-
}
|
291 |
-
|
292 |
-
.ui-button-text-icons .ui-button-text {
|
293 |
-
padding-left: 2.1em;
|
294 |
-
padding-right: 2.1em;
|
295 |
-
}
|
296 |
-
|
297 |
-
/* no icon support for input elements, provide padding by default */
|
298 |
-
input.ui-button {
|
299 |
-
padding: .4em 1em;
|
300 |
-
}
|
301 |
-
|
302 |
-
/* button icon element(s) */
|
303 |
-
.ui-button-icon-only .ui-icon,
|
304 |
-
.ui-button-text-icon-primary .ui-icon,
|
305 |
-
.ui-button-text-icon-secondary .ui-icon,
|
306 |
-
.ui-button-text-icons .ui-icon,
|
307 |
-
.ui-button-icons-only .ui-icon {
|
308 |
-
position: absolute;
|
309 |
-
top: 50%;
|
310 |
-
margin-top: -8px;
|
311 |
-
}
|
312 |
-
|
313 |
-
.ui-button-icon-only .ui-icon {
|
314 |
-
left: 50%;
|
315 |
-
margin-left: -8px;
|
316 |
-
}
|
317 |
-
|
318 |
-
.ui-button-text-icon-primary .ui-button-icon-primary,
|
319 |
-
.ui-button-text-icons .ui-button-icon-primary,
|
320 |
-
.ui-button-icons-only .ui-button-icon-primary {
|
321 |
-
left: .5em;
|
322 |
-
}
|
323 |
-
|
324 |
-
.ui-button-text-icon-secondary .ui-button-icon-secondary,
|
325 |
-
.ui-button-text-icons .ui-button-icon-secondary,
|
326 |
-
.ui-button-icons-only .ui-button-icon-secondary {
|
327 |
-
right: .5em;
|
328 |
-
}
|
329 |
-
|
330 |
-
/* button sets */
|
331 |
-
.ui-buttonset {
|
332 |
-
margin-right: 7px;
|
333 |
-
}
|
334 |
-
|
335 |
-
.ui-buttonset .ui-button {
|
336 |
-
margin-left: 0;
|
337 |
-
margin-right: -.3em;
|
338 |
-
}
|
339 |
-
|
340 |
-
/* workarounds */
|
341 |
-
/* reset extra padding in Firefox, see h5bp.com/l */
|
342 |
-
input.ui-button::-moz-focus-inner,
|
343 |
-
button.ui-button::-moz-focus-inner {
|
344 |
-
border: 0;
|
345 |
-
padding: 0;
|
346 |
-
}
|
347 |
-
|
348 |
-
.ui-datepicker {
|
349 |
-
width: 17em;
|
350 |
-
padding: .2em .2em 0;
|
351 |
-
display: none;
|
352 |
-
}
|
353 |
-
|
354 |
-
.ui-datepicker .ui-datepicker-header {
|
355 |
-
position: relative;
|
356 |
-
padding: .2em 0;
|
357 |
-
}
|
358 |
-
|
359 |
-
.ui-datepicker .ui-datepicker-prev,
|
360 |
-
.ui-datepicker .ui-datepicker-next {
|
361 |
-
position: absolute;
|
362 |
-
top: 2px;
|
363 |
-
width: 1.8em;
|
364 |
-
height: 1.8em;
|
365 |
-
}
|
366 |
-
|
367 |
-
.ui-datepicker .ui-datepicker-prev-hover,
|
368 |
-
.ui-datepicker .ui-datepicker-next-hover {
|
369 |
-
top: 1px;
|
370 |
-
}
|
371 |
-
|
372 |
-
.ui-datepicker .ui-datepicker-prev {
|
373 |
-
left: 2px;
|
374 |
-
}
|
375 |
-
|
376 |
-
.ui-datepicker .ui-datepicker-next {
|
377 |
-
right: 2px;
|
378 |
-
}
|
379 |
-
|
380 |
-
.ui-datepicker .ui-datepicker-prev-hover {
|
381 |
-
left: 1px;
|
382 |
-
}
|
383 |
-
|
384 |
-
.ui-datepicker .ui-datepicker-next-hover {
|
385 |
-
right: 1px;
|
386 |
-
}
|
387 |
-
|
388 |
-
.ui-datepicker .ui-datepicker-prev span,
|
389 |
-
.ui-datepicker .ui-datepicker-next span {
|
390 |
-
display: block;
|
391 |
-
position: absolute;
|
392 |
-
left: 50%;
|
393 |
-
margin-left: -8px;
|
394 |
-
top: 50%;
|
395 |
-
margin-top: -8px;
|
396 |
-
}
|
397 |
-
|
398 |
-
.ui-datepicker .ui-datepicker-title {
|
399 |
-
margin: 0 2.3em;
|
400 |
-
line-height: 1.8em;
|
401 |
-
text-align: center;
|
402 |
-
}
|
403 |
-
|
404 |
-
.ui-datepicker .ui-datepicker-title select {
|
405 |
-
font-size: 1em;
|
406 |
-
margin: 1px 0;
|
407 |
-
}
|
408 |
-
|
409 |
-
.ui-datepicker select.ui-datepicker-month,
|
410 |
-
.ui-datepicker select.ui-datepicker-year {
|
411 |
-
width: 49%;
|
412 |
-
}
|
413 |
-
|
414 |
-
.ui-datepicker table {
|
415 |
-
width: 100%;
|
416 |
-
font-size: .9em;
|
417 |
-
border-collapse: collapse;
|
418 |
-
margin: 0 0 .4em;
|
419 |
-
}
|
420 |
-
|
421 |
-
.ui-datepicker th {
|
422 |
-
padding: .7em .3em;
|
423 |
-
text-align: center;
|
424 |
-
font-weight: bold;
|
425 |
-
border: 0;
|
426 |
-
}
|
427 |
-
|
428 |
-
.ui-datepicker td {
|
429 |
-
border: 0;
|
430 |
-
padding: 1px;
|
431 |
-
}
|
432 |
-
|
433 |
-
.ui-datepicker td span,
|
434 |
-
.ui-datepicker td a {
|
435 |
-
display: block;
|
436 |
-
padding: .2em;
|
437 |
-
text-align: right;
|
438 |
-
text-decoration: none;
|
439 |
-
}
|
440 |
-
|
441 |
-
.ui-datepicker .ui-datepicker-buttonpane {
|
442 |
-
background-image: none;
|
443 |
-
margin: .7em 0 0 0;
|
444 |
-
padding: 0 .2em;
|
445 |
-
border-left: 0;
|
446 |
-
border-right: 0;
|
447 |
-
border-bottom: 0;
|
448 |
-
}
|
449 |
-
|
450 |
-
.ui-datepicker .ui-datepicker-buttonpane button {
|
451 |
-
float: right;
|
452 |
-
margin: .5em .2em .4em;
|
453 |
-
cursor: pointer;
|
454 |
-
padding: .2em .6em .3em .6em;
|
455 |
-
width: auto;
|
456 |
-
overflow: visible;
|
457 |
-
}
|
458 |
-
|
459 |
-
.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current {
|
460 |
-
float: left;
|
461 |
-
}
|
462 |
-
|
463 |
-
/* with multiple calendars */
|
464 |
-
.ui-datepicker.ui-datepicker-multi {
|
465 |
-
width: auto;
|
466 |
-
}
|
467 |
-
|
468 |
-
.ui-datepicker-multi .ui-datepicker-group {
|
469 |
-
float: left;
|
470 |
-
}
|
471 |
-
|
472 |
-
.ui-datepicker-multi .ui-datepicker-group table {
|
473 |
-
width: 95%;
|
474 |
-
margin: 0 auto .4em;
|
475 |
-
}
|
476 |
-
|
477 |
-
.ui-datepicker-multi-2 .ui-datepicker-group {
|
478 |
-
width: 50%;
|
479 |
-
}
|
480 |
-
|
481 |
-
.ui-datepicker-multi-3 .ui-datepicker-group {
|
482 |
-
width: 33.3%;
|
483 |
-
}
|
484 |
-
|
485 |
-
.ui-datepicker-multi-4 .ui-datepicker-group {
|
486 |
-
width: 25%;
|
487 |
-
}
|
488 |
-
|
489 |
-
.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,
|
490 |
-
.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header {
|
491 |
-
border-left-width: 0;
|
492 |
-
}
|
493 |
-
|
494 |
-
.ui-datepicker-multi .ui-datepicker-buttonpane {
|
495 |
-
clear: left;
|
496 |
-
}
|
497 |
-
|
498 |
-
.ui-datepicker-row-break {
|
499 |
-
clear: both;
|
500 |
-
width: 100%;
|
501 |
-
font-size: 0;
|
502 |
-
}
|
503 |
-
|
504 |
-
/* RTL support */
|
505 |
-
.ui-datepicker-rtl {
|
506 |
-
direction: rtl;
|
507 |
-
}
|
508 |
-
|
509 |
-
.ui-datepicker-rtl .ui-datepicker-prev {
|
510 |
-
right: 2px;
|
511 |
-
left: auto;
|
512 |
-
}
|
513 |
-
|
514 |
-
.ui-datepicker-rtl .ui-datepicker-next {
|
515 |
-
left: 2px;
|
516 |
-
right: auto;
|
517 |
-
}
|
518 |
-
|
519 |
-
.ui-datepicker-rtl .ui-datepicker-prev:hover {
|
520 |
-
right: 1px;
|
521 |
-
left: auto;
|
522 |
-
}
|
523 |
-
|
524 |
-
.ui-datepicker-rtl .ui-datepicker-next:hover {
|
525 |
-
left: 1px;
|
526 |
-
right: auto;
|
527 |
-
}
|
528 |
-
|
529 |
-
.ui-datepicker-rtl .ui-datepicker-buttonpane {
|
530 |
-
clear: right;
|
531 |
-
}
|
532 |
-
|
533 |
-
.ui-datepicker-rtl .ui-datepicker-buttonpane button {
|
534 |
-
float: left;
|
535 |
-
}
|
536 |
-
|
537 |
-
.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current,
|
538 |
-
.ui-datepicker-rtl .ui-datepicker-group {
|
539 |
-
float: right;
|
540 |
-
}
|
541 |
-
|
542 |
-
.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header,
|
543 |
-
.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header {
|
544 |
-
border-right-width: 0;
|
545 |
-
border-left-width: 1px;
|
546 |
-
}
|
547 |
-
|
548 |
-
.ui-dialog {
|
549 |
-
overflow: hidden;
|
550 |
-
position: absolute;
|
551 |
-
top: 0;
|
552 |
-
left: 0;
|
553 |
-
padding: .2em;
|
554 |
-
outline: 0;
|
555 |
-
}
|
556 |
-
|
557 |
-
.ui-dialog .ui-dialog-titlebar {
|
558 |
-
padding: .4em 1em;
|
559 |
-
position: relative;
|
560 |
-
}
|
561 |
-
|
562 |
-
.ui-dialog .ui-dialog-title {
|
563 |
-
float: left;
|
564 |
-
margin: .1em 0;
|
565 |
-
white-space: nowrap;
|
566 |
-
width: 90%;
|
567 |
-
overflow: hidden;
|
568 |
-
text-overflow: ellipsis;
|
569 |
-
}
|
570 |
-
|
571 |
-
.ui-dialog .ui-dialog-titlebar-close {
|
572 |
-
position: absolute;
|
573 |
-
right: .3em;
|
574 |
-
top: 50%;
|
575 |
-
width: 20px;
|
576 |
-
margin: -10px 0 0 0;
|
577 |
-
padding: 1px;
|
578 |
-
height: 20px;
|
579 |
-
}
|
580 |
-
|
581 |
-
.ui-dialog .ui-dialog-content {
|
582 |
-
position: relative;
|
583 |
-
border: 0;
|
584 |
-
padding: .5em 1em;
|
585 |
-
background: none;
|
586 |
-
overflow: auto;
|
587 |
-
}
|
588 |
-
|
589 |
-
.ui-dialog .ui-dialog-buttonpane {
|
590 |
-
text-align: left;
|
591 |
-
border-width: 1px 0 0 0;
|
592 |
-
background-image: none;
|
593 |
-
margin-top: .5em;
|
594 |
-
padding: .3em 1em .5em .4em;
|
595 |
-
}
|
596 |
-
|
597 |
-
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {
|
598 |
-
float: right;
|
599 |
-
}
|
600 |
-
|
601 |
-
.ui-dialog .ui-dialog-buttonpane button {
|
602 |
-
margin: .5em .4em .5em 0;
|
603 |
-
cursor: pointer;
|
604 |
-
}
|
605 |
-
|
606 |
-
.ui-dialog .ui-resizable-se {
|
607 |
-
width: 12px;
|
608 |
-
height: 12px;
|
609 |
-
right: -5px;
|
610 |
-
bottom: -5px;
|
611 |
-
background-position: 16px 16px;
|
612 |
-
}
|
613 |
-
|
614 |
-
.ui-draggable .ui-dialog-titlebar {
|
615 |
-
cursor: move;
|
616 |
-
}
|
617 |
-
|
618 |
-
.ui-menu {
|
619 |
-
list-style: none;
|
620 |
-
padding: 2px;
|
621 |
-
margin: 0;
|
622 |
-
display: block;
|
623 |
-
outline: none;
|
624 |
-
}
|
625 |
-
|
626 |
-
.ui-menu .ui-menu {
|
627 |
-
margin-top: -3px;
|
628 |
-
position: absolute;
|
629 |
-
}
|
630 |
-
|
631 |
-
.ui-menu .ui-menu-item {
|
632 |
-
margin: 0;
|
633 |
-
padding: 0;
|
634 |
-
width: 100%;
|
635 |
-
/* support: IE10, see #8844 */
|
636 |
-
list-style-image: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);
|
637 |
-
}
|
638 |
-
|
639 |
-
.ui-menu .ui-menu-divider {
|
640 |
-
margin: 5px -2px 5px -2px;
|
641 |
-
height: 0;
|
642 |
-
font-size: 0;
|
643 |
-
line-height: 0;
|
644 |
-
border-width: 1px 0 0 0;
|
645 |
-
}
|
646 |
-
|
647 |
-
.ui-menu .ui-menu-item a {
|
648 |
-
text-decoration: none;
|
649 |
-
display: block;
|
650 |
-
padding: 2px .4em;
|
651 |
-
line-height: 1.5;
|
652 |
-
min-height: 0;
|
653 |
-
/* support: IE7 */
|
654 |
-
font-weight: normal;
|
655 |
-
}
|
656 |
-
|
657 |
-
.ui-menu .ui-menu-item a.ui-state-focus,
|
658 |
-
.ui-menu .ui-menu-item a.ui-state-active {
|
659 |
-
font-weight: normal;
|
660 |
-
margin: -1px;
|
661 |
-
}
|
662 |
-
|
663 |
-
.ui-menu .ui-state-disabled {
|
664 |
-
font-weight: normal;
|
665 |
-
margin: .4em 0 .2em;
|
666 |
-
line-height: 1.5;
|
667 |
-
}
|
668 |
-
|
669 |
-
.ui-menu .ui-state-disabled a {
|
670 |
-
cursor: default;
|
671 |
-
}
|
672 |
-
|
673 |
-
/* icon support */
|
674 |
-
.ui-menu-icons {
|
675 |
-
position: relative;
|
676 |
-
}
|
677 |
-
|
678 |
-
.ui-menu-icons .ui-menu-item a {
|
679 |
-
position: relative;
|
680 |
-
padding-left: 2em;
|
681 |
-
}
|
682 |
-
|
683 |
-
/* left-aligned */
|
684 |
-
.ui-menu .ui-icon {
|
685 |
-
position: absolute;
|
686 |
-
top: .2em;
|
687 |
-
left: .2em;
|
688 |
-
}
|
689 |
-
|
690 |
-
/* right-aligned */
|
691 |
-
.ui-menu .ui-menu-icon {
|
692 |
-
position: static;
|
693 |
-
float: right;
|
694 |
-
}
|
695 |
-
|
696 |
-
.ui-progressbar {
|
697 |
-
height: 2em;
|
698 |
-
text-align: left;
|
699 |
-
overflow: hidden;
|
700 |
-
}
|
701 |
-
|
702 |
-
.ui-progressbar .ui-progressbar-value {
|
703 |
-
margin: -1px;
|
704 |
-
height: 100%;
|
705 |
-
}
|
706 |
-
|
707 |
-
.ui-progressbar .ui-progressbar-overlay {
|
708 |
-
background: url(../images/jquery-ui/animated-overlay.gif);
|
709 |
-
height: 100%;
|
710 |
-
filter: alpha(opacity=25);
|
711 |
-
opacity: 0.25;
|
712 |
-
}
|
713 |
-
|
714 |
-
.ui-progressbar-indeterminate .ui-progressbar-value {
|
715 |
-
background-image: none;
|
716 |
-
}
|
717 |
-
|
718 |
-
.ui-slider {
|
719 |
-
position: relative;
|
720 |
-
text-align: left;
|
721 |
-
}
|
722 |
-
|
723 |
-
.ui-slider .ui-slider-handle {
|
724 |
-
position: absolute;
|
725 |
-
z-index: 2;
|
726 |
-
width: 1.2em;
|
727 |
-
height: 1.2em;
|
728 |
-
cursor: default;
|
729 |
-
}
|
730 |
-
|
731 |
-
.ui-slider .ui-slider-range {
|
732 |
-
position: absolute;
|
733 |
-
z-index: 1;
|
734 |
-
font-size: .7em;
|
735 |
-
display: block;
|
736 |
-
border: 0;
|
737 |
-
background-position: 0 0;
|
738 |
-
}
|
739 |
-
|
740 |
-
/* For IE8 - See #6727 */
|
741 |
-
.ui-slider.ui-state-disabled .ui-slider-handle,
|
742 |
-
.ui-slider.ui-state-disabled .ui-slider-range {
|
743 |
-
filter: inherit;
|
744 |
-
}
|
745 |
-
|
746 |
-
.ui-slider-horizontal {
|
747 |
-
height: .8em;
|
748 |
-
}
|
749 |
-
|
750 |
-
.ui-slider-horizontal .ui-slider-handle {
|
751 |
-
top: -.3em;
|
752 |
-
margin-left: -.6em;
|
753 |
-
}
|
754 |
-
|
755 |
-
.ui-slider-horizontal .ui-slider-range {
|
756 |
-
top: 0;
|
757 |
-
height: 100%;
|
758 |
-
}
|
759 |
-
|
760 |
-
.ui-slider-horizontal .ui-slider-range-min {
|
761 |
-
left: 0;
|
762 |
-
}
|
763 |
-
|
764 |
-
.ui-slider-horizontal .ui-slider-range-max {
|
765 |
-
right: 0;
|
766 |
-
}
|
767 |
-
|
768 |
-
.ui-slider-vertical {
|
769 |
-
width: .8em;
|
770 |
-
height: 100px;
|
771 |
-
}
|
772 |
-
|
773 |
-
.ui-slider-vertical .ui-slider-handle {
|
774 |
-
left: -.3em;
|
775 |
-
margin-left: 0;
|
776 |
-
margin-bottom: -.6em;
|
777 |
-
}
|
778 |
-
|
779 |
-
.ui-slider-vertical .ui-slider-range {
|
780 |
-
left: 0;
|
781 |
-
width: 100%;
|
782 |
-
}
|
783 |
-
|
784 |
-
.ui-slider-vertical .ui-slider-range-min {
|
785 |
-
bottom: 0;
|
786 |
-
}
|
787 |
-
|
788 |
-
.ui-slider-vertical .ui-slider-range-max {
|
789 |
-
top: 0;
|
790 |
-
}
|
791 |
-
|
792 |
-
.ui-spinner {
|
793 |
-
position: relative;
|
794 |
-
display: inline-block;
|
795 |
-
overflow: hidden;
|
796 |
-
padding: 0;
|
797 |
-
vertical-align: middle;
|
798 |
-
}
|
799 |
-
|
800 |
-
.ui-spinner-input {
|
801 |
-
border: none;
|
802 |
-
background: none;
|
803 |
-
color: inherit;
|
804 |
-
padding: 0;
|
805 |
-
margin: .2em 0;
|
806 |
-
vertical-align: middle;
|
807 |
-
margin-left: .4em;
|
808 |
-
margin-right: 22px;
|
809 |
-
}
|
810 |
-
|
811 |
-
.ui-spinner-button {
|
812 |
-
width: 16px;
|
813 |
-
height: 50%;
|
814 |
-
font-size: .5em;
|
815 |
-
padding: 0;
|
816 |
-
margin: 0;
|
817 |
-
text-align: center;
|
818 |
-
position: absolute;
|
819 |
-
cursor: default;
|
820 |
-
display: block;
|
821 |
-
overflow: hidden;
|
822 |
-
right: 0;
|
823 |
-
}
|
824 |
-
|
825 |
-
/* more specificity required here to override default borders */
|
826 |
-
.ui-spinner a.ui-spinner-button {
|
827 |
-
border-top: none;
|
828 |
-
border-bottom: none;
|
829 |
-
border-right: none;
|
830 |
-
}
|
831 |
-
|
832 |
-
/* vertically center icon */
|
833 |
-
.ui-spinner .ui-icon {
|
834 |
-
position: absolute;
|
835 |
-
margin-top: -8px;
|
836 |
-
top: 50%;
|
837 |
-
left: 0;
|
838 |
-
}
|
839 |
-
|
840 |
-
.ui-spinner-up {
|
841 |
-
top: 0;
|
842 |
-
}
|
843 |
-
|
844 |
-
.ui-spinner-down {
|
845 |
-
bottom: 0;
|
846 |
-
}
|
847 |
-
|
848 |
-
/* TR overrides */
|
849 |
-
.ui-spinner .ui-icon-triangle-1-s {
|
850 |
-
/* need to fix icons sprite */
|
851 |
-
background-position: -65px -16px;
|
852 |
-
}
|
853 |
-
|
854 |
-
.ui-tabs {
|
855 |
-
position: relative;
|
856 |
-
/* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */
|
857 |
-
padding: .2em;
|
858 |
-
}
|
859 |
-
|
860 |
-
.ui-tabs .ui-tabs-nav {
|
861 |
-
margin: 0;
|
862 |
-
padding: .2em .2em 0;
|
863 |
-
}
|
864 |
-
|
865 |
-
.ui-tabs .ui-tabs-nav li {
|
866 |
-
list-style: none;
|
867 |
-
float: left;
|
868 |
-
position: relative;
|
869 |
-
top: 0;
|
870 |
-
margin: 1px .2em 0 0;
|
871 |
-
border-bottom-width: 0;
|
872 |
-
padding: 0;
|
873 |
-
white-space: nowrap;
|
874 |
-
}
|
875 |
-
|
876 |
-
.ui-tabs .ui-tabs-nav .ui-tabs-anchor {
|
877 |
-
float: left;
|
878 |
-
padding: .5em 1em;
|
879 |
-
text-decoration: none;
|
880 |
-
}
|
881 |
-
|
882 |
-
.ui-tabs .ui-tabs-nav li.ui-tabs-active {
|
883 |
-
margin-bottom: -1px;
|
884 |
-
padding-bottom: 1px;
|
885 |
-
}
|
886 |
-
|
887 |
-
.ui-tabs .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor,
|
888 |
-
.ui-tabs .ui-tabs-nav li.ui-state-disabled .ui-tabs-anchor,
|
889 |
-
.ui-tabs .ui-tabs-nav li.ui-tabs-loading .ui-tabs-anchor {
|
890 |
-
cursor: text;
|
891 |
-
}
|
892 |
-
|
893 |
-
.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor {
|
894 |
-
cursor: pointer;
|
895 |
-
}
|
896 |
-
|
897 |
-
.ui-tabs .ui-tabs-panel {
|
898 |
-
display: block;
|
899 |
-
border-width: 0;
|
900 |
-
padding: 1em 1.4em;
|
901 |
-
background: none;
|
902 |
-
}
|
903 |
-
|
904 |
-
.ui-tooltip {
|
905 |
-
padding: 8px;
|
906 |
-
position: absolute;
|
907 |
-
z-index: 9999;
|
908 |
-
max-width: 300px;
|
909 |
-
-webkit-box-shadow: 0 0 5px #aaa;
|
910 |
-
box-shadow: 0 0 5px #aaa;
|
911 |
-
}
|
912 |
-
|
913 |
-
body .ui-tooltip {
|
914 |
-
border-width: 2px;
|
915 |
-
}
|
916 |
-
|
917 |
-
/* Component containers
|
918 |
-
----------------------------------*/
|
919 |
-
.ui-widget {
|
920 |
-
font-family: Verdana,Arial,sans-serif;
|
921 |
-
font-size: 1.1em;
|
922 |
-
}
|
923 |
-
|
924 |
-
.ui-widget .ui-widget {
|
925 |
-
font-size: 1em;
|
926 |
-
}
|
927 |
-
|
928 |
-
.ui-widget input,
|
929 |
-
.ui-widget select,
|
930 |
-
.ui-widget textarea,
|
931 |
-
.ui-widget button {
|
932 |
-
font-family: Verdana,Arial,sans-serif;
|
933 |
-
font-size: 1em;
|
934 |
-
}
|
935 |
-
|
936 |
-
.ui-widget-content {
|
937 |
-
border: 1px solid #aaaaaa;
|
938 |
-
background: #ffffff url(../images/jquery-ui/ui-bg_flat_75_ffffff_40x100.png) 50% 50% repeat-x;
|
939 |
-
color: #222222;
|
940 |
-
}
|
941 |
-
|
942 |
-
.ui-widget-content a {
|
943 |
-
color: #222222;
|
944 |
-
}
|
945 |
-
|
946 |
-
.ui-widget-header {
|
947 |
-
border: 1px solid #aaaaaa;
|
948 |
-
background: #cccccc url(../images/jquery-ui/ui-bg_highlight-soft_75_cccccc_1x100.png) 50% 50% repeat-x;
|
949 |
-
color: #222222;
|
950 |
-
font-weight: bold;
|
951 |
-
}
|
952 |
-
|
953 |
-
.ui-widget-header a {
|
954 |
-
color: #222222;
|
955 |
-
}
|
956 |
-
|
957 |
-
/* Interaction states
|
958 |
-
----------------------------------*/
|
959 |
-
.ui-state-default,
|
960 |
-
.ui-widget-content .ui-state-default,
|
961 |
-
.ui-widget-header .ui-state-default {
|
962 |
-
border: 1px solid #d3d3d3;
|
963 |
-
background: #e6e6e6 url(../images/jquery-ui/ui-bg_glass_75_e6e6e6_1x400.png) 50% 50% repeat-x;
|
964 |
-
font-weight: normal;
|
965 |
-
color: #555555;
|
966 |
-
}
|
967 |
-
|
968 |
-
.ui-state-default a,
|
969 |
-
.ui-state-default a:link,
|
970 |
-
.ui-state-default a:visited {
|
971 |
-
color: #555555;
|
972 |
-
text-decoration: none;
|
973 |
-
}
|
974 |
-
|
975 |
-
.ui-state-hover,
|
976 |
-
.ui-widget-content .ui-state-hover,
|
977 |
-
.ui-widget-header .ui-state-hover,
|
978 |
-
.ui-state-focus,
|
979 |
-
.ui-widget-content .ui-state-focus,
|
980 |
-
.ui-widget-header .ui-state-focus {
|
981 |
-
border: 1px solid #999999;
|
982 |
-
background: #dadada url(../images/jquery-ui/ui-bg_glass_75_dadada_1x400.png) 50% 50% repeat-x;
|
983 |
-
font-weight: normal;
|
984 |
-
color: #212121;
|
985 |
-
}
|
986 |
-
|
987 |
-
.ui-state-hover a,
|
988 |
-
.ui-state-hover a:hover,
|
989 |
-
.ui-state-hover a:link,
|
990 |
-
.ui-state-hover a:visited,
|
991 |
-
.ui-state-focus a,
|
992 |
-
.ui-state-focus a:hover,
|
993 |
-
.ui-state-focus a:link,
|
994 |
-
.ui-state-focus a:visited {
|
995 |
-
color: #212121;
|
996 |
-
text-decoration: none;
|
997 |
-
}
|
998 |
-
|
999 |
-
.ui-state-active,
|
1000 |
-
.ui-widget-content .ui-state-active,
|
1001 |
-
.ui-widget-header .ui-state-active {
|
1002 |
-
border: 1px solid #aaaaaa;
|
1003 |
-
background: #ffffff url(../images/jquery-ui/ui-bg_glass_65_ffffff_1x400.png) 50% 50% repeat-x;
|
1004 |
-
font-weight: normal;
|
1005 |
-
color: #212121;
|
1006 |
-
}
|
1007 |
-
|
1008 |
-
.ui-state-active a,
|
1009 |
-
.ui-state-active a:link,
|
1010 |
-
.ui-state-active a:visited {
|
1011 |
-
color: #212121;
|
1012 |
-
text-decoration: none;
|
1013 |
-
}
|
1014 |
-
|
1015 |
-
/* Interaction Cues
|
1016 |
-
----------------------------------*/
|
1017 |
-
.ui-state-highlight,
|
1018 |
-
.ui-widget-content .ui-state-highlight,
|
1019 |
-
.ui-widget-header .ui-state-highlight {
|
1020 |
-
border: 1px solid #fcefa1;
|
1021 |
-
background: #fbf9ee url(../images/jquery-ui/ui-bg_glass_55_fbf9ee_1x400.png) 50% 50% repeat-x;
|
1022 |
-
color: #363636;
|
1023 |
-
}
|
1024 |
-
|
1025 |
-
.ui-state-highlight a,
|
1026 |
-
.ui-widget-content .ui-state-highlight a,
|
1027 |
-
.ui-widget-header .ui-state-highlight a {
|
1028 |
-
color: #363636;
|
1029 |
-
}
|
1030 |
-
|
1031 |
-
.ui-state-error,
|
1032 |
-
.ui-widget-content .ui-state-error,
|
1033 |
-
.ui-widget-header .ui-state-error {
|
1034 |
-
border: 1px solid #cd0a0a;
|
1035 |
-
background: #fef1ec url(../images/jquery-ui/ui-bg_glass_95_fef1ec_1x400.png) 50% 50% repeat-x;
|
1036 |
-
color: #cd0a0a;
|
1037 |
-
}
|
1038 |
-
|
1039 |
-
.ui-state-error a,
|
1040 |
-
.ui-widget-content .ui-state-error a,
|
1041 |
-
.ui-widget-header .ui-state-error a {
|
1042 |
-
color: #cd0a0a;
|
1043 |
-
}
|
1044 |
-
|
1045 |
-
.ui-state-error-text,
|
1046 |
-
.ui-widget-content .ui-state-error-text,
|
1047 |
-
.ui-widget-header .ui-state-error-text {
|
1048 |
-
color: #cd0a0a;
|
1049 |
-
}
|
1050 |
-
|
1051 |
-
.ui-priority-primary,
|
1052 |
-
.ui-widget-content .ui-priority-primary,
|
1053 |
-
.ui-widget-header .ui-priority-primary {
|
1054 |
-
font-weight: bold;
|
1055 |
-
}
|
1056 |
-
|
1057 |
-
.ui-priority-secondary,
|
1058 |
-
.ui-widget-content .ui-priority-secondary,
|
1059 |
-
.ui-widget-header .ui-priority-secondary {
|
1060 |
-
opacity: .7;
|
1061 |
-
filter: Alpha(Opacity=70);
|
1062 |
-
font-weight: normal;
|
1063 |
-
}
|
1064 |
-
|
1065 |
-
.ui-state-disabled,
|
1066 |
-
.ui-widget-content .ui-state-disabled,
|
1067 |
-
.ui-widget-header .ui-state-disabled {
|
1068 |
-
opacity: .35;
|
1069 |
-
filter: Alpha(Opacity=35);
|
1070 |
-
background-image: none;
|
1071 |
-
}
|
1072 |
-
|
1073 |
-
.ui-state-disabled .ui-icon {
|
1074 |
-
filter: Alpha(Opacity=35);
|
1075 |
-
/* For IE8 - See #6059 */
|
1076 |
-
}
|
1077 |
-
|
1078 |
-
/* Icons
|
1079 |
-
----------------------------------*/
|
1080 |
-
/* states and images */
|
1081 |
-
.ui-icon {
|
1082 |
-
width: 16px;
|
1083 |
-
height: 16px;
|
1084 |
-
}
|
1085 |
-
|
1086 |
-
.ui-icon,
|
1087 |
-
.ui-widget-content .ui-icon {
|
1088 |
-
background-image: url(../images/jquery-ui/ui-icons_222222_256x240.png);
|
1089 |
-
}
|
1090 |
-
|
1091 |
-
.ui-widget-header .ui-icon {
|
1092 |
-
background-image: url(../images/jquery-ui/ui-icons_222222_256x240.png);
|
1093 |
-
}
|
1094 |
-
|
1095 |
-
.ui-state-default .ui-icon {
|
1096 |
-
background-image: url(../images/jquery-ui/ui-icons_888888_256x240.png);
|
1097 |
-
}
|
1098 |
-
|
1099 |
-
.ui-state-hover .ui-icon,
|
1100 |
-
.ui-state-focus .ui-icon {
|
1101 |
-
background-image: url(../images/jquery-ui/ui-icons_454545_256x240.png);
|
1102 |
-
}
|
1103 |
-
|
1104 |
-
.ui-state-active .ui-icon {
|
1105 |
-
background-image: url(../images/jquery-ui/ui-icons_454545_256x240.png);
|
1106 |
-
}
|
1107 |
-
|
1108 |
-
.ui-state-highlight .ui-icon {
|
1109 |
-
background-image: url(../images/jquery-ui/ui-icons_2e83ff_256x240.png);
|
1110 |
-
}
|
1111 |
-
|
1112 |
-
.ui-state-error .ui-icon,
|
1113 |
-
.ui-state-error-text .ui-icon {
|
1114 |
-
background-image: url(../images/jquery-ui/ui-icons_cd0a0a_256x240.png);
|
1115 |
-
}
|
1116 |
-
|
1117 |
-
/* positioning */
|
1118 |
-
.ui-icon-blank {
|
1119 |
-
background-position: 16px 16px;
|
1120 |
-
}
|
1121 |
-
|
1122 |
-
.ui-icon-carat-1-n {
|
1123 |
-
background-position: 0 0;
|
1124 |
-
}
|
1125 |
-
|
1126 |
-
.ui-icon-carat-1-ne {
|
1127 |
-
background-position: -16px 0;
|
1128 |
-
}
|
1129 |
-
|
1130 |
-
.ui-icon-carat-1-e {
|
1131 |
-
background-position: -32px 0;
|
1132 |
-
}
|
1133 |
-
|
1134 |
-
.ui-icon-carat-1-se {
|
1135 |
-
background-position: -48px 0;
|
1136 |
-
}
|
1137 |
-
|
1138 |
-
.ui-icon-carat-1-s {
|
1139 |
-
background-position: -64px 0;
|
1140 |
-
}
|
1141 |
-
|
1142 |
-
.ui-icon-carat-1-sw {
|
1143 |
-
background-position: -80px 0;
|
1144 |
-
}
|
1145 |
-
|
1146 |
-
.ui-icon-carat-1-w {
|
1147 |
-
background-position: -96px 0;
|
1148 |
-
}
|
1149 |
-
|
1150 |
-
.ui-icon-carat-1-nw {
|
1151 |
-
background-position: -112px 0;
|
1152 |
-
}
|
1153 |
-
|
1154 |
-
.ui-icon-carat-2-n-s {
|
1155 |
-
background-position: -128px 0;
|
1156 |
-
}
|
1157 |
-
|
1158 |
-
.ui-icon-carat-2-e-w {
|
1159 |
-
background-position: -144px 0;
|
1160 |
-
}
|
1161 |
-
|
1162 |
-
.ui-icon-triangle-1-n {
|
1163 |
-
background-position: 0 -16px;
|
1164 |
-
}
|
1165 |
-
|
1166 |
-
.ui-icon-triangle-1-ne {
|
1167 |
-
background-position: -16px -16px;
|
1168 |
-
}
|
1169 |
-
|
1170 |
-
.ui-icon-triangle-1-e {
|
1171 |
-
background-position: -32px -16px;
|
1172 |
-
}
|
1173 |
-
|
1174 |
-
.ui-icon-triangle-1-se {
|
1175 |
-
background-position: -48px -16px;
|
1176 |
-
}
|
1177 |
-
|
1178 |
-
.ui-icon-triangle-1-s {
|
1179 |
-
background-position: -64px -16px;
|
1180 |
-
}
|
1181 |
-
|
1182 |
-
.ui-icon-triangle-1-sw {
|
1183 |
-
background-position: -80px -16px;
|
1184 |
-
}
|
1185 |
-
|
1186 |
-
.ui-icon-triangle-1-w {
|
1187 |
-
background-position: -96px -16px;
|
1188 |
-
}
|
1189 |
-
|
1190 |
-
.ui-icon-triangle-1-nw {
|
1191 |
-
background-position: -112px -16px;
|
1192 |
-
}
|
1193 |
-
|
1194 |
-
.ui-icon-triangle-2-n-s {
|
1195 |
-
background-position: -128px -16px;
|
1196 |
-
}
|
1197 |
-
|
1198 |
-
.ui-icon-triangle-2-e-w {
|
1199 |
-
background-position: -144px -16px;
|
1200 |
-
}
|
1201 |
-
|
1202 |
-
.ui-icon-arrow-1-n {
|
1203 |
-
background-position: 0 -32px;
|
1204 |
-
}
|
1205 |
-
|
1206 |
-
.ui-icon-arrow-1-ne {
|
1207 |
-
background-position: -16px -32px;
|
1208 |
-
}
|
1209 |
-
|
1210 |
-
.ui-icon-arrow-1-e {
|
1211 |
-
background-position: -32px -32px;
|
1212 |
-
}
|
1213 |
-
|
1214 |
-
.ui-icon-arrow-1-se {
|
1215 |
-
background-position: -48px -32px;
|
1216 |
-
}
|
1217 |
-
|
1218 |
-
.ui-icon-arrow-1-s {
|
1219 |
-
background-position: -64px -32px;
|
1220 |
-
}
|
1221 |
-
|
1222 |
-
.ui-icon-arrow-1-sw {
|
1223 |
-
background-position: -80px -32px;
|
1224 |
-
}
|
1225 |
-
|
1226 |
-
.ui-icon-arrow-1-w {
|
1227 |
-
background-position: -96px -32px;
|
1228 |
-
}
|
1229 |
-
|
1230 |
-
.ui-icon-arrow-1-nw {
|
1231 |
-
background-position: -112px -32px;
|
1232 |
-
}
|
1233 |
-
|
1234 |
-
.ui-icon-arrow-2-n-s {
|
1235 |
-
background-position: -128px -32px;
|
1236 |
-
}
|
1237 |
-
|
1238 |
-
.ui-icon-arrow-2-ne-sw {
|
1239 |
-
background-position: -144px -32px;
|
1240 |
-
}
|
1241 |
-
|
1242 |
-
.ui-icon-arrow-2-e-w {
|
1243 |
-
background-position: -160px -32px;
|
1244 |
-
}
|
1245 |
-
|
1246 |
-
.ui-icon-arrow-2-se-nw {
|
1247 |
-
background-position: -176px -32px;
|
1248 |
-
}
|
1249 |
-
|
1250 |
-
.ui-icon-arrowstop-1-n {
|
1251 |
-
background-position: -192px -32px;
|
1252 |
-
}
|
1253 |
-
|
1254 |
-
.ui-icon-arrowstop-1-e {
|
1255 |
-
background-position: -208px -32px;
|
1256 |
-
}
|
1257 |
-
|
1258 |
-
.ui-icon-arrowstop-1-s {
|
1259 |
-
background-position: -224px -32px;
|
1260 |
-
}
|
1261 |
-
|
1262 |
-
.ui-icon-arrowstop-1-w {
|
1263 |
-
background-position: -240px -32px;
|
1264 |
-
}
|
1265 |
-
|
1266 |
-
.ui-icon-arrowthick-1-n {
|
1267 |
-
background-position: 0 -48px;
|
1268 |
-
}
|
1269 |
-
|
1270 |
-
.ui-icon-arrowthick-1-ne {
|
1271 |
-
background-position: -16px -48px;
|
1272 |
-
}
|
1273 |
-
|
1274 |
-
.ui-icon-arrowthick-1-e {
|
1275 |
-
background-position: -32px -48px;
|
1276 |
-
}
|
1277 |
-
|
1278 |
-
.ui-icon-arrowthick-1-se {
|
1279 |
-
background-position: -48px -48px;
|
1280 |
-
}
|
1281 |
-
|
1282 |
-
.ui-icon-arrowthick-1-s {
|
1283 |
-
background-position: -64px -48px;
|
1284 |
-
}
|
1285 |
-
|
1286 |
-
.ui-icon-arrowthick-1-sw {
|
1287 |
-
background-position: -80px -48px;
|
1288 |
-
}
|
1289 |
-
|
1290 |
-
.ui-icon-arrowthick-1-w {
|
1291 |
-
background-position: -96px -48px;
|
1292 |
-
}
|
1293 |
-
|
1294 |
-
.ui-icon-arrowthick-1-nw {
|
1295 |
-
background-position: -112px -48px;
|
1296 |
-
}
|
1297 |
-
|
1298 |
-
.ui-icon-arrowthick-2-n-s {
|
1299 |
-
background-position: -128px -48px;
|
1300 |
-
}
|
1301 |
-
|
1302 |
-
.ui-icon-arrowthick-2-ne-sw {
|
1303 |
-
background-position: -144px -48px;
|
1304 |
-
}
|
1305 |
-
|
1306 |
-
.ui-icon-arrowthick-2-e-w {
|
1307 |
-
background-position: -160px -48px;
|
1308 |
-
}
|
1309 |
-
|
1310 |
-
.ui-icon-arrowthick-2-se-nw {
|
1311 |
-
background-position: -176px -48px;
|
1312 |
-
}
|
1313 |
-
|
1314 |
-
.ui-icon-arrowthickstop-1-n {
|
1315 |
-
background-position: -192px -48px;
|
1316 |
-
}
|
1317 |
-
|
1318 |
-
.ui-icon-arrowthickstop-1-e {
|
1319 |
-
background-position: -208px -48px;
|
1320 |
-
}
|
1321 |
-
|
1322 |
-
.ui-icon-arrowthickstop-1-s {
|
1323 |
-
background-position: -224px -48px;
|
1324 |
-
}
|
1325 |
-
|
1326 |
-
.ui-icon-arrowthickstop-1-w {
|
1327 |
-
background-position: -240px -48px;
|
1328 |
-
}
|
1329 |
-
|
1330 |
-
.ui-icon-arrowreturnthick-1-w {
|
1331 |
-
background-position: 0 -64px;
|
1332 |
-
}
|
1333 |
-
|
1334 |
-
.ui-icon-arrowreturnthick-1-n {
|
1335 |
-
background-position: -16px -64px;
|
1336 |
-
}
|
1337 |
-
|
1338 |
-
.ui-icon-arrowreturnthick-1-e {
|
1339 |
-
background-position: -32px -64px;
|
1340 |
-
}
|
1341 |
-
|
1342 |
-
.ui-icon-arrowreturnthick-1-s {
|
1343 |
-
background-position: -48px -64px;
|
1344 |
-
}
|
1345 |
-
|
1346 |
-
.ui-icon-arrowreturn-1-w {
|
1347 |
-
background-position: -64px -64px;
|
1348 |
-
}
|
1349 |
-
|
1350 |
-
.ui-icon-arrowreturn-1-n {
|
1351 |
-
background-position: -80px -64px;
|
1352 |
-
}
|
1353 |
-
|
1354 |
-
.ui-icon-arrowreturn-1-e {
|
1355 |
-
background-position: -96px -64px;
|
1356 |
-
}
|
1357 |
-
|
1358 |
-
.ui-icon-arrowreturn-1-s {
|
1359 |
-
background-position: -112px -64px;
|
1360 |
-
}
|
1361 |
-
|
1362 |
-
.ui-icon-arrowrefresh-1-w {
|
1363 |
-
background-position: -128px -64px;
|
1364 |
-
}
|
1365 |
-
|
1366 |
-
.ui-icon-arrowrefresh-1-n {
|
1367 |
-
background-position: -144px -64px;
|
1368 |
-
}
|
1369 |
-
|
1370 |
-
.ui-icon-arrowrefresh-1-e {
|
1371 |
-
background-position: -160px -64px;
|
1372 |
-
}
|
1373 |
-
|
1374 |
-
.ui-icon-arrowrefresh-1-s {
|
1375 |
-
background-position: -176px -64px;
|
1376 |
-
}
|
1377 |
-
|
1378 |
-
.ui-icon-arrow-4 {
|
1379 |
-
background-position: 0 -80px;
|
1380 |
-
}
|
1381 |
-
|
1382 |
-
.ui-icon-arrow-4-diag {
|
1383 |
-
background-position: -16px -80px;
|
1384 |
-
}
|
1385 |
-
|
1386 |
-
.ui-icon-extlink {
|
1387 |
-
background-position: -32px -80px;
|
1388 |
-
}
|
1389 |
-
|
1390 |
-
.ui-icon-newwin {
|
1391 |
-
background-position: -48px -80px;
|
1392 |
-
}
|
1393 |
-
|
1394 |
-
.ui-icon-refresh {
|
1395 |
-
background-position: -64px -80px;
|
1396 |
-
}
|
1397 |
-
|
1398 |
-
.ui-icon-shuffle {
|
1399 |
-
background-position: -80px -80px;
|
1400 |
-
}
|
1401 |
-
|
1402 |
-
.ui-icon-transfer-e-w {
|
1403 |
-
background-position: -96px -80px;
|
1404 |
-
}
|
1405 |
-
|
1406 |
-
.ui-icon-transferthick-e-w {
|
1407 |
-
background-position: -112px -80px;
|
1408 |
-
}
|
1409 |
-
|
1410 |
-
.ui-icon-folder-collapsed {
|
1411 |
-
background-position: 0 -96px;
|
1412 |
-
}
|
1413 |
-
|
1414 |
-
.ui-icon-folder-open {
|
1415 |
-
background-position: -16px -96px;
|
1416 |
-
}
|
1417 |
-
|
1418 |
-
.ui-icon-document {
|
1419 |
-
background-position: -32px -96px;
|
1420 |
-
}
|
1421 |
-
|
1422 |
-
.ui-icon-document-b {
|
1423 |
-
background-position: -48px -96px;
|
1424 |
-
}
|
1425 |
-
|
1426 |
-
.ui-icon-note {
|
1427 |
-
background-position: -64px -96px;
|
1428 |
-
}
|
1429 |
-
|
1430 |
-
.ui-icon-mail-closed {
|
1431 |
-
background-position: -80px -96px;
|
1432 |
-
}
|
1433 |
-
|
1434 |
-
.ui-icon-mail-open {
|
1435 |
-
background-position: -96px -96px;
|
1436 |
-
}
|
1437 |
-
|
1438 |
-
.ui-icon-suitcase {
|
1439 |
-
background-position: -112px -96px;
|
1440 |
-
}
|
1441 |
-
|
1442 |
-
.ui-icon-comment {
|
1443 |
-
background-position: -128px -96px;
|
1444 |
-
}
|
1445 |
-
|
1446 |
-
.ui-icon-person {
|
1447 |
-
background-position: -144px -96px;
|
1448 |
-
}
|
1449 |
-
|
1450 |
-
.ui-icon-print {
|
1451 |
-
background-position: -160px -96px;
|
1452 |
-
}
|
1453 |
-
|
1454 |
-
.ui-icon-trash {
|
1455 |
-
background-position: -176px -96px;
|
1456 |
-
}
|
1457 |
-
|
1458 |
-
.ui-icon-locked {
|
1459 |
-
background-position: -192px -96px;
|
1460 |
-
}
|
1461 |
-
|
1462 |
-
.ui-icon-unlocked {
|
1463 |
-
background-position: -208px -96px;
|
1464 |
-
}
|
1465 |
-
|
1466 |
-
.ui-icon-bookmark {
|
1467 |
-
background-position: -224px -96px;
|
1468 |
-
}
|
1469 |
-
|
1470 |
-
.ui-icon-tag {
|
1471 |
-
background-position: -240px -96px;
|
1472 |
-
}
|
1473 |
-
|
1474 |
-
.ui-icon-home {
|
1475 |
-
background-position: 0 -112px;
|
1476 |
-
}
|
1477 |
-
|
1478 |
-
.ui-icon-flag {
|
1479 |
-
background-position: -16px -112px;
|
1480 |
-
}
|
1481 |
-
|
1482 |
-
.ui-icon-calendar {
|
1483 |
-
background-position: -32px -112px;
|
1484 |
-
}
|
1485 |
-
|
1486 |
-
.ui-icon-cart {
|
1487 |
-
background-position: -48px -112px;
|
1488 |
-
}
|
1489 |
-
|
1490 |
-
.ui-icon-pencil {
|
1491 |
-
background-position: -64px -112px;
|
1492 |
-
}
|
1493 |
-
|
1494 |
-
.ui-icon-clock {
|
1495 |
-
background-position: -80px -112px;
|
1496 |
-
}
|
1497 |
-
|
1498 |
-
.ui-icon-disk {
|
1499 |
-
background-position: -96px -112px;
|
1500 |
-
}
|
1501 |
-
|
1502 |
-
.ui-icon-calculator {
|
1503 |
-
background-position: -112px -112px;
|
1504 |
-
}
|
1505 |
-
|
1506 |
-
.ui-icon-zoomin {
|
1507 |
-
background-position: -128px -112px;
|
1508 |
-
}
|
1509 |
-
|
1510 |
-
.ui-icon-zoomout {
|
1511 |
-
background-position: -144px -112px;
|
1512 |
-
}
|
1513 |
-
|
1514 |
-
.ui-icon-search {
|
1515 |
-
background-position: -160px -112px;
|
1516 |
-
}
|
1517 |
-
|
1518 |
-
.ui-icon-wrench {
|
1519 |
-
background-position: -176px -112px;
|
1520 |
-
}
|
1521 |
-
|
1522 |
-
.ui-icon-gear {
|
1523 |
-
background-position: -192px -112px;
|
1524 |
-
}
|
1525 |
-
|
1526 |
-
.ui-icon-heart {
|
1527 |
-
background-position: -208px -112px;
|
1528 |
-
}
|
1529 |
-
|
1530 |
-
.ui-icon-star {
|
1531 |
-
background-position: -224px -112px;
|
1532 |
-
}
|
1533 |
-
|
1534 |
-
.ui-icon-link {
|
1535 |
-
background-position: -240px -112px;
|
1536 |
-
}
|
1537 |
-
|
1538 |
-
.ui-icon-cancel {
|
1539 |
-
background-position: 0 -128px;
|
1540 |
-
}
|
1541 |
-
|
1542 |
-
.ui-icon-plus {
|
1543 |
-
background-position: -16px -128px;
|
1544 |
-
}
|
1545 |
-
|
1546 |
-
.ui-icon-plusthick {
|
1547 |
-
background-position: -32px -128px;
|
1548 |
-
}
|
1549 |
-
|
1550 |
-
.ui-icon-minus {
|
1551 |
-
background-position: -48px -128px;
|
1552 |
-
}
|
1553 |
-
|
1554 |
-
.ui-icon-minusthick {
|
1555 |
-
background-position: -64px -128px;
|
1556 |
-
}
|
1557 |
-
|
1558 |
-
.ui-icon-close {
|
1559 |
-
background-position: -80px -128px;
|
1560 |
-
}
|
1561 |
-
|
1562 |
-
.ui-icon-closethick {
|
1563 |
-
background-position: -96px -128px;
|
1564 |
-
}
|
1565 |
-
|
1566 |
-
.ui-icon-key {
|
1567 |
-
background-position: -112px -128px;
|
1568 |
-
}
|
1569 |
-
|
1570 |
-
.ui-icon-lightbulb {
|
1571 |
-
background-position: -128px -128px;
|
1572 |
-
}
|
1573 |
-
|
1574 |
-
.ui-icon-scissors {
|
1575 |
-
background-position: -144px -128px;
|
1576 |
-
}
|
1577 |
-
|
1578 |
-
.ui-icon-clipboard {
|
1579 |
-
background-position: -160px -128px;
|
1580 |
-
}
|
1581 |
-
|
1582 |
-
.ui-icon-copy {
|
1583 |
-
background-position: -176px -128px;
|
1584 |
-
}
|
1585 |
-
|
1586 |
-
.ui-icon-contact {
|
1587 |
-
background-position: -192px -128px;
|
1588 |
-
}
|
1589 |
-
|
1590 |
-
.ui-icon-image {
|
1591 |
-
background-position: -208px -128px;
|
1592 |
-
}
|
1593 |
-
|
1594 |
-
.ui-icon-video {
|
1595 |
-
background-position: -224px -128px;
|
1596 |
-
}
|
1597 |
-
|
1598 |
-
.ui-icon-script {
|
1599 |
-
background-position: -240px -128px;
|
1600 |
-
}
|
1601 |
-
|
1602 |
-
.ui-icon-alert {
|
1603 |
-
background-position: 0 -144px;
|
1604 |
-
}
|
1605 |
-
|
1606 |
-
.ui-icon-info {
|
1607 |
-
background-position: -16px -144px;
|
1608 |
-
}
|
1609 |
-
|
1610 |
-
.ui-icon-notice {
|
1611 |
-
background-position: -32px -144px;
|
1612 |
-
}
|
1613 |
-
|
1614 |
-
.ui-icon-help {
|
1615 |
-
background-position: -48px -144px;
|
1616 |
-
}
|
1617 |
-
|
1618 |
-
.ui-icon-check {
|
1619 |
-
background-position: -64px -144px;
|
1620 |
-
}
|
1621 |
-
|
1622 |
-
.ui-icon-bullet {
|
1623 |
-
background-position: -80px -144px;
|
1624 |
-
}
|
1625 |
-
|
1626 |
-
.ui-icon-radio-on {
|
1627 |
-
background-position: -96px -144px;
|
1628 |
-
}
|
1629 |
-
|
1630 |
-
.ui-icon-radio-off {
|
1631 |
-
background-position: -112px -144px;
|
1632 |
-
}
|
1633 |
-
|
1634 |
-
.ui-icon-pin-w {
|
1635 |
-
background-position: -128px -144px;
|
1636 |
-
}
|
1637 |
-
|
1638 |
-
.ui-icon-pin-s {
|
1639 |
-
background-position: -144px -144px;
|
1640 |
-
}
|
1641 |
-
|
1642 |
-
.ui-icon-play {
|
1643 |
-
background-position: 0 -160px;
|
1644 |
-
}
|
1645 |
-
|
1646 |
-
.ui-icon-pause {
|
1647 |
-
background-position: -16px -160px;
|
1648 |
-
}
|
1649 |
-
|
1650 |
-
.ui-icon-seek-next {
|
1651 |
-
background-position: -32px -160px;
|
1652 |
-
}
|
1653 |
-
|
1654 |
-
.ui-icon-seek-prev {
|
1655 |
-
background-position: -48px -160px;
|
1656 |
-
}
|
1657 |
-
|
1658 |
-
.ui-icon-seek-end {
|
1659 |
-
background-position: -64px -160px;
|
1660 |
-
}
|
1661 |
-
|
1662 |
-
.ui-icon-seek-start {
|
1663 |
-
background-position: -80px -160px;
|
1664 |
-
}
|
1665 |
-
|
1666 |
-
/* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */
|
1667 |
-
.ui-icon-seek-first {
|
1668 |
-
background-position: -80px -160px;
|
1669 |
-
}
|
1670 |
-
|
1671 |
-
.ui-icon-stop {
|
1672 |
-
background-position: -96px -160px;
|
1673 |
-
}
|
1674 |
-
|
1675 |
-
.ui-icon-eject {
|
1676 |
-
background-position: -112px -160px;
|
1677 |
-
}
|
1678 |
-
|
1679 |
-
.ui-icon-volume-off {
|
1680 |
-
background-position: -128px -160px;
|
1681 |
-
}
|
1682 |
-
|
1683 |
-
.ui-icon-volume-on {
|
1684 |
-
background-position: -144px -160px;
|
1685 |
-
}
|
1686 |
-
|
1687 |
-
.ui-icon-power {
|
1688 |
-
background-position: 0 -176px;
|
1689 |
-
}
|
1690 |
-
|
1691 |
-
.ui-icon-signal-diag {
|
1692 |
-
background-position: -16px -176px;
|
1693 |
-
}
|
1694 |
-
|
1695 |
-
.ui-icon-signal {
|
1696 |
-
background-position: -32px -176px;
|
1697 |
-
}
|
1698 |
-
|
1699 |
-
.ui-icon-battery-0 {
|
1700 |
-
background-position: -48px -176px;
|
1701 |
-
}
|
1702 |
-
|
1703 |
-
.ui-icon-battery-1 {
|
1704 |
-
background-position: -64px -176px;
|
1705 |
-
}
|
1706 |
-
|
1707 |
-
.ui-icon-battery-2 {
|
1708 |
-
background-position: -80px -176px;
|
1709 |
-
}
|
1710 |
-
|
1711 |
-
.ui-icon-battery-3 {
|
1712 |
-
background-position: -96px -176px;
|
1713 |
-
}
|
1714 |
-
|
1715 |
-
.ui-icon-circle-plus {
|
1716 |
-
background-position: 0 -192px;
|
1717 |
-
}
|
1718 |
-
|
1719 |
-
.ui-icon-circle-minus {
|
1720 |
-
background-position: -16px -192px;
|
1721 |
-
}
|
1722 |
-
|
1723 |
-
.ui-icon-circle-close {
|
1724 |
-
background-position: -32px -192px;
|
1725 |
-
}
|
1726 |
-
|
1727 |
-
.ui-icon-circle-triangle-e {
|
1728 |
-
background-position: -48px -192px;
|
1729 |
-
}
|
1730 |
-
|
1731 |
-
.ui-icon-circle-triangle-s {
|
1732 |
-
background-position: -64px -192px;
|
1733 |
-
}
|
1734 |
-
|
1735 |
-
.ui-icon-circle-triangle-w {
|
1736 |
-
background-position: -80px -192px;
|
1737 |
-
}
|
1738 |
-
|
1739 |
-
.ui-icon-circle-triangle-n {
|
1740 |
-
background-position: -96px -192px;
|
1741 |
-
}
|
1742 |
-
|
1743 |
-
.ui-icon-circle-arrow-e {
|
1744 |
-
background-position: -112px -192px;
|
1745 |
-
}
|
1746 |
-
|
1747 |
-
.ui-icon-circle-arrow-s {
|
1748 |
-
background-position: -128px -192px;
|
1749 |
-
}
|
1750 |
-
|
1751 |
-
.ui-icon-circle-arrow-w {
|
1752 |
-
background-position: -144px -192px;
|
1753 |
-
}
|
1754 |
-
|
1755 |
-
.ui-icon-circle-arrow-n {
|
1756 |
-
background-position: -160px -192px;
|
1757 |
-
}
|
1758 |
-
|
1759 |
-
.ui-icon-circle-zoomin {
|
1760 |
-
background-position: -176px -192px;
|
1761 |
-
}
|
1762 |
-
|
1763 |
-
.ui-icon-circle-zoomout {
|
1764 |
-
background-position: -192px -192px;
|
1765 |
-
}
|
1766 |
-
|
1767 |
-
.ui-icon-circle-check {
|
1768 |
-
background-position: -208px -192px;
|
1769 |
-
}
|
1770 |
-
|
1771 |
-
.ui-icon-circlesmall-plus {
|
1772 |
-
background-position: 0 -208px;
|
1773 |
-
}
|
1774 |
-
|
1775 |
-
.ui-icon-circlesmall-minus {
|
1776 |
-
background-position: -16px -208px;
|
1777 |
-
}
|
1778 |
-
|
1779 |
-
.ui-icon-circlesmall-close {
|
1780 |
-
background-position: -32px -208px;
|
1781 |
-
}
|
1782 |
-
|
1783 |
-
.ui-icon-squaresmall-plus {
|
1784 |
-
background-position: -48px -208px;
|
1785 |
-
}
|
1786 |
-
|
1787 |
-
.ui-icon-squaresmall-minus {
|
1788 |
-
background-position: -64px -208px;
|
1789 |
-
}
|
1790 |
-
|
1791 |
-
.ui-icon-squaresmall-close {
|
1792 |
-
background-position: -80px -208px;
|
1793 |
-
}
|
1794 |
-
|
1795 |
-
.ui-icon-grip-dotted-vertical {
|
1796 |
-
background-position: 0 -224px;
|
1797 |
-
}
|
1798 |
-
|
1799 |
-
.ui-icon-grip-dotted-horizontal {
|
1800 |
-
background-position: -16px -224px;
|
1801 |
-
}
|
1802 |
-
|
1803 |
-
.ui-icon-grip-solid-vertical {
|
1804 |
-
background-position: -32px -224px;
|
1805 |
-
}
|
1806 |
-
|
1807 |
-
.ui-icon-grip-solid-horizontal {
|
1808 |
-
background-position: -48px -224px;
|
1809 |
-
}
|
1810 |
-
|
1811 |
-
.ui-icon-gripsmall-diagonal-se {
|
1812 |
-
background-position: -64px -224px;
|
1813 |
-
}
|
1814 |
-
|
1815 |
-
.ui-icon-grip-diagonal-se {
|
1816 |
-
background-position: -80px -224px;
|
1817 |
-
}
|
1818 |
-
|
1819 |
-
/* Misc visuals
|
1820 |
-
----------------------------------*/
|
1821 |
-
/* Corner radius */
|
1822 |
-
.ui-corner-all,
|
1823 |
-
.ui-corner-top,
|
1824 |
-
.ui-corner-left,
|
1825 |
-
.ui-corner-tl {
|
1826 |
-
border-top-left-radius: 4px;
|
1827 |
-
}
|
1828 |
-
|
1829 |
-
.ui-corner-all,
|
1830 |
-
.ui-corner-top,
|
1831 |
-
.ui-corner-right,
|
1832 |
-
.ui-corner-tr {
|
1833 |
-
border-top-right-radius: 4px;
|
1834 |
-
}
|
1835 |
-
|
1836 |
-
.ui-corner-all,
|
1837 |
-
.ui-corner-bottom,
|
1838 |
-
.ui-corner-left,
|
1839 |
-
.ui-corner-bl {
|
1840 |
-
border-bottom-left-radius: 4px;
|
1841 |
-
}
|
1842 |
-
|
1843 |
-
.ui-corner-all,
|
1844 |
-
.ui-corner-bottom,
|
1845 |
-
.ui-corner-right,
|
1846 |
-
.ui-corner-br {
|
1847 |
-
border-bottom-right-radius: 4px;
|
1848 |
-
}
|
1849 |
-
|
1850 |
-
/* Overlays */
|
1851 |
-
.ui-widget-overlay {
|
1852 |
-
background: #aaaaaa url(../images/jquery-ui/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x;
|
1853 |
-
opacity: .3;
|
1854 |
-
filter: Alpha(Opacity=30);
|
1855 |
-
}
|
1856 |
-
|
1857 |
-
.ui-widget-shadow {
|
1858 |
-
margin: -8px 0 0 -8px;
|
1859 |
-
padding: 8px;
|
1860 |
-
background: #aaaaaa url(../images/jquery-ui/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x;
|
1861 |
-
opacity: .3;
|
1862 |
-
filter: Alpha(Opacity=30);
|
1863 |
-
border-radius: 8px;
|
1864 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
inc/external/wpmu-lib/css/jquery-ui.min.css
DELETED
@@ -1,13 +0,0 @@
|
|
1 |
-
/*! WPMU Dev code library - v1.1.1
|
2 |
-
* http://premium.wpmudev.org/
|
3 |
-
* Copyright (c) 2014; * Licensed GPLv2+ */
|
4 |
-
|
5 |
-
/*! jQuery UI - v1.10.4 - 2014-05-07
|
6 |
-
* http://jqueryui.com
|
7 |
-
* Includes: jquery.ui.core.css, jquery.ui.resizable.css, jquery.ui.selectable.css, jquery.ui.accordion.css, jquery.ui.autocomplete.css, jquery.ui.button.css, jquery.ui.datepicker.css, jquery.ui.dialog.css, jquery.ui.menu.css, jquery.ui.progressbar.css, jquery.ui.slider.css, jquery.ui.spinner.css, jquery.ui.tabs.css, jquery.ui.tooltip.css, jquery.ui.theme.css
|
8 |
-
* To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Verdana%2CArial%2Csans-serif&fwDefault=normal&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=cccccc&bgTextureHeader=highlight_soft&bgImgOpacityHeader=75&borderColorHeader=aaaaaa&fcHeader=222222&iconColorHeader=222222&bgColorContent=ffffff&bgTextureContent=flat&bgImgOpacityContent=75&borderColorContent=aaaaaa&fcContent=222222&iconColorContent=222222&bgColorDefault=e6e6e6&bgTextureDefault=glass&bgImgOpacityDefault=75&borderColorDefault=d3d3d3&fcDefault=555555&iconColorDefault=888888&bgColorHover=dadada&bgTextureHover=glass&bgImgOpacityHover=75&borderColorHover=999999&fcHover=212121&iconColorHover=454545&bgColorActive=ffffff&bgTextureActive=glass&bgImgOpacityActive=65&borderColorActive=aaaaaa&fcActive=212121&iconColorActive=454545&bgColorHighlight=fbf9ee&bgTextureHighlight=glass&bgImgOpacityHighlight=55&borderColorHighlight=fcefa1&fcHighlight=363636&iconColorHighlight=2e83ff&bgColorError=fef1ec&bgTextureError=glass&bgImgOpacityError=95&borderColorError=cd0a0a&fcError=cd0a0a&iconColorError=cd0a0a&bgColorOverlay=aaaaaa&bgTextureOverlay=flat&bgImgOpacityOverlay=0&opacityOverlay=30&bgColorShadow=aaaaaa&bgTextureShadow=flat&bgImgOpacityShadow=0&opacityShadow=30&thicknessShadow=8px&offsetTopShadow=-8px&offsetLeftShadow=-8px&cornerRadiusShadow=8px
|
9 |
-
* Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */.ui-helper-hidden{display:none}.ui-helper-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.ui-helper-reset{margin:0;padding:0;border:0;outline:0;line-height:1.3;text-decoration:none;font-size:100%;list-style:none}.ui-helper-clearfix:before,.ui-helper-clearfix:after{content:"";display:table;border-collapse:collapse}.ui-helper-clearfix:after{clear:both}.ui-helper-clearfix{min-height:0}.ui-helper-zfix{width:100%;height:100%;top:0;left:0;position:absolute;opacity:0;filter:Alpha(Opacity=0)}.ui-front{z-index:100}.ui-state-disabled{cursor:default!important}.ui-icon{display:block;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat}.ui-widget-overlay{position:fixed;top:0;left:0;width:100%;height:100%}.ui-resizable{position:relative}.ui-resizable-handle{position:absolute;font-size:.1px;display:block}.ui-resizable-disabled .ui-resizable-handle,.ui-resizable-autohide .ui-resizable-handle{display:none}.ui-resizable-n{cursor:n-resize;height:7px;width:100%;top:-5px;left:0}.ui-resizable-s{cursor:s-resize;height:7px;width:100%;bottom:-5px;left:0}.ui-resizable-e{cursor:e-resize;width:7px;right:-5px;top:0;height:100%}.ui-resizable-w{cursor:w-resize;width:7px;left:-5px;top:0;height:100%}.ui-resizable-se{cursor:se-resize;width:12px;height:12px;right:1px;bottom:1px}.ui-resizable-sw{cursor:sw-resize;width:9px;height:9px;left:-5px;bottom:-5px}.ui-resizable-nw{cursor:nw-resize;width:9px;height:9px;left:-5px;top:-5px}.ui-resizable-ne{cursor:ne-resize;width:9px;height:9px;right:-5px;top:-5px}.ui-selectable-helper{position:absolute;z-index:100;border:1px dotted #000}.ui-accordion .ui-accordion-header{display:block;cursor:pointer;position:relative;margin-top:2px;padding:.5em .5em .5em .7em;min-height:0}.ui-accordion .ui-accordion-icons{padding-left:2.2em}.ui-accordion .ui-accordion-noicons{padding-left:.7em}.ui-accordion .ui-accordion-icons .ui-accordion-icons{padding-left:2.2em}.ui-accordion .ui-accordion-header .ui-accordion-header-icon{position:absolute;left:.5em;top:50%;margin-top:-8px}.ui-accordion .ui-accordion-content{padding:1em 2.2em;border-top:0;overflow:auto}.ui-autocomplete{position:absolute;top:0;left:0;cursor:default}.ui-button{display:inline-block;position:relative;padding:0;line-height:normal;margin-right:.1em;cursor:pointer;vertical-align:middle;text-align:center;overflow:visible}.ui-button,.ui-button:link,.ui-button:visited,.ui-button:hover,.ui-button:active{text-decoration:none}.ui-button-icon-only{width:2.2em}button.ui-button-icon-only{width:2.4em}.ui-button-icons-only{width:3.4em}button.ui-button-icons-only{width:3.7em}.ui-button .ui-button-text{display:block;line-height:normal}.ui-button-text-only .ui-button-text{padding:.4em 1em}.ui-button-icon-only .ui-button-text,.ui-button-icons-only .ui-button-text{padding:.4em;text-indent:-9999999px}.ui-button-text-icon-primary .ui-button-text,.ui-button-text-icons .ui-button-text{padding:.4em 1em .4em 2.1em}.ui-button-text-icon-secondary .ui-button-text,.ui-button-text-icons .ui-button-text{padding:.4em 2.1em .4em 1em}.ui-button-text-icons .ui-button-text{padding-left:2.1em;padding-right:2.1em}input.ui-button{padding:.4em 1em}.ui-button-icon-only .ui-icon,.ui-button-text-icon-primary .ui-icon,.ui-button-text-icon-secondary .ui-icon,.ui-button-text-icons .ui-icon,.ui-button-icons-only .ui-icon{position:absolute;top:50%;margin-top:-8px}.ui-button-icon-only .ui-icon{left:50%;margin-left:-8px}.ui-button-text-icon-primary .ui-button-icon-primary,.ui-button-text-icons .ui-button-icon-primary,.ui-button-icons-only .ui-button-icon-primary{left:.5em}.ui-button-text-icon-secondary .ui-button-icon-secondary,.ui-button-text-icons .ui-button-icon-secondary,.ui-button-icons-only .ui-button-icon-secondary{right:.5em}.ui-buttonset{margin-right:7px}.ui-buttonset .ui-button{margin-left:0;margin-right:-.3em}input.ui-button::-moz-focus-inner,button.ui-button::-moz-focus-inner{border:0;padding:0}.ui-datepicker{width:17em;padding:.2em .2em 0;display:none}.ui-datepicker .ui-datepicker-header{position:relative;padding:.2em 0}.ui-datepicker .ui-datepicker-prev,.ui-datepicker .ui-datepicker-next{position:absolute;top:2px;width:1.8em;height:1.8em}.ui-datepicker .ui-datepicker-prev-hover,.ui-datepicker .ui-datepicker-next-hover{top:1px}.ui-datepicker .ui-datepicker-prev{left:2px}.ui-datepicker .ui-datepicker-next{right:2px}.ui-datepicker .ui-datepicker-prev-hover{left:1px}.ui-datepicker .ui-datepicker-next-hover{right:1px}.ui-datepicker .ui-datepicker-prev span,.ui-datepicker .ui-datepicker-next span{display:block;position:absolute;left:50%;margin-left:-8px;top:50%;margin-top:-8px}.ui-datepicker .ui-datepicker-title{margin:0 2.3em;line-height:1.8em;text-align:center}.ui-datepicker .ui-datepicker-title select{font-size:1em;margin:1px 0}.ui-datepicker select.ui-datepicker-month,.ui-datepicker select.ui-datepicker-year{width:49%}.ui-datepicker table{width:100%;font-size:.9em;border-collapse:collapse;margin:0 0 .4em}.ui-datepicker th{padding:.7em .3em;text-align:center;font-weight:700;border:0}.ui-datepicker td{border:0;padding:1px}.ui-datepicker td span,.ui-datepicker td a{display:block;padding:.2em;text-align:right;text-decoration:none}.ui-datepicker .ui-datepicker-buttonpane{background-image:none;margin:.7em 0 0;padding:0 .2em;border-left:0;border-right:0;border-bottom:0}.ui-datepicker .ui-datepicker-buttonpane button{float:right;margin:.5em .2em .4em;cursor:pointer;padding:.2em .6em .3em;width:auto;overflow:visible}.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current{float:left}.ui-datepicker.ui-datepicker-multi{width:auto}.ui-datepicker-multi .ui-datepicker-group{float:left}.ui-datepicker-multi .ui-datepicker-group table{width:95%;margin:0 auto .4em}.ui-datepicker-multi-2 .ui-datepicker-group{width:50%}.ui-datepicker-multi-3 .ui-datepicker-group{width:33.3%}.ui-datepicker-multi-4 .ui-datepicker-group{width:25%}.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header{border-left-width:0}.ui-datepicker-multi .ui-datepicker-buttonpane{clear:left}.ui-datepicker-row-break{clear:both;width:100%;font-size:0}.ui-datepicker-rtl{direction:rtl}.ui-datepicker-rtl .ui-datepicker-prev{right:2px;left:auto}.ui-datepicker-rtl .ui-datepicker-next{left:2px;right:auto}.ui-datepicker-rtl .ui-datepicker-prev:hover{right:1px;left:auto}.ui-datepicker-rtl .ui-datepicker-next:hover{left:1px;right:auto}.ui-datepicker-rtl .ui-datepicker-buttonpane{clear:right}.ui-datepicker-rtl .ui-datepicker-buttonpane button{float:left}.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current,.ui-datepicker-rtl .ui-datepicker-group{float:right}.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header{border-right-width:0;border-left-width:1px}.ui-dialog{overflow:hidden;position:absolute;top:0;left:0;padding:.2em;outline:0}.ui-dialog .ui-dialog-titlebar{padding:.4em 1em;position:relative}.ui-dialog .ui-dialog-title{float:left;margin:.1em 0;white-space:nowrap;width:90%;overflow:hidden;text-overflow:ellipsis}.ui-dialog .ui-dialog-titlebar-close{position:absolute;right:.3em;top:50%;width:20px;margin:-10px 0 0 0;padding:1px;height:20px}.ui-dialog .ui-dialog-content{position:relative;border:0;padding:.5em 1em;background:0 0;overflow:auto}.ui-dialog .ui-dialog-buttonpane{text-align:left;border-width:1px 0 0;background-image:none;margin-top:.5em;padding:.3em 1em .5em .4em}.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset{float:right}.ui-dialog .ui-dialog-buttonpane button{margin:.5em .4em .5em 0;cursor:pointer}.ui-dialog .ui-resizable-se{width:12px;height:12px;right:-5px;bottom:-5px;background-position:16px 16px}.ui-draggable .ui-dialog-titlebar{cursor:move}.ui-menu{list-style:none;padding:2px;margin:0;display:block;outline:0}.ui-menu .ui-menu{margin-top:-3px;position:absolute}.ui-menu .ui-menu-item{margin:0;padding:0;width:100%;list-style-image:url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)}.ui-menu .ui-menu-divider{margin:5px -2px 5px -2px;height:0;font-size:0;line-height:0;border-width:1px 0 0}.ui-menu .ui-menu-item a{text-decoration:none;display:block;padding:2px .4em;line-height:1.5;min-height:0;font-weight:400}.ui-menu .ui-menu-item a.ui-state-focus,.ui-menu .ui-menu-item a.ui-state-active{font-weight:400;margin:-1px}.ui-menu .ui-state-disabled{font-weight:400;margin:.4em 0 .2em;line-height:1.5}.ui-menu .ui-state-disabled a{cursor:default}.ui-menu-icons{position:relative}.ui-menu-icons .ui-menu-item a{position:relative;padding-left:2em}.ui-menu .ui-icon{position:absolute;top:.2em;left:.2em}.ui-menu .ui-menu-icon{position:static;float:right}.ui-progressbar{height:2em;text-align:left;overflow:hidden}.ui-progressbar .ui-progressbar-value{margin:-1px;height:100%}.ui-progressbar .ui-progressbar-overlay{background:url(../images/jquery-ui/animated-overlay.gif);height:100%;filter:alpha(opacity=25);opacity:.25}.ui-progressbar-indeterminate .ui-progressbar-value{background-image:none}.ui-slider{position:relative;text-align:left}.ui-slider .ui-slider-handle{position:absolute;z-index:2;width:1.2em;height:1.2em;cursor:default}.ui-slider .ui-slider-range{position:absolute;z-index:1;font-size:.7em;display:block;border:0;background-position:0 0}.ui-slider.ui-state-disabled .ui-slider-handle,.ui-slider.ui-state-disabled .ui-slider-range{filter:inherit}.ui-slider-horizontal{height:.8em}.ui-slider-horizontal .ui-slider-handle{top:-.3em;margin-left:-.6em}.ui-slider-horizontal .ui-slider-range{top:0;height:100%}.ui-slider-horizontal .ui-slider-range-min{left:0}.ui-slider-horizontal .ui-slider-range-max{right:0}.ui-slider-vertical{width:.8em;height:100px}.ui-slider-vertical .ui-slider-handle{left:-.3em;margin-left:0;margin-bottom:-.6em}.ui-slider-vertical .ui-slider-range{left:0;width:100%}.ui-slider-vertical .ui-slider-range-min{bottom:0}.ui-slider-vertical .ui-slider-range-max{top:0}.ui-spinner{position:relative;display:inline-block;overflow:hidden;padding:0;vertical-align:middle}.ui-spinner-input{border:0;background:0 0;color:inherit;padding:0;margin:.2em 0;vertical-align:middle;margin-left:.4em;margin-right:22px}.ui-spinner-button{width:16px;height:50%;font-size:.5em;padding:0;margin:0;text-align:center;position:absolute;cursor:default;display:block;overflow:hidden;right:0}.ui-spinner a.ui-spinner-button{border-top:0;border-bottom:0;border-right:0}.ui-spinner .ui-icon{position:absolute;margin-top:-8px;top:50%;left:0}.ui-spinner-up{top:0}.ui-spinner-down{bottom:0}.ui-spinner .ui-icon-triangle-1-s{background-position:-65px -16px}.ui-tabs{position:relative;padding:.2em}.ui-tabs .ui-tabs-nav{margin:0;padding:.2em .2em 0}.ui-tabs .ui-tabs-nav li{list-style:none;float:left;position:relative;top:0;margin:1px .2em 0 0;border-bottom-width:0;padding:0;white-space:nowrap}.ui-tabs .ui-tabs-nav .ui-tabs-anchor{float:left;padding:.5em 1em;text-decoration:none}.ui-tabs .ui-tabs-nav li.ui-tabs-active{margin-bottom:-1px;padding-bottom:1px}.ui-tabs .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor,.ui-tabs .ui-tabs-nav li.ui-state-disabled .ui-tabs-anchor,.ui-tabs .ui-tabs-nav li.ui-tabs-loading .ui-tabs-anchor{cursor:text}.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor{cursor:pointer}.ui-tabs .ui-tabs-panel{display:block;border-width:0;padding:1em 1.4em;background:0 0}.ui-tooltip{padding:8px;position:absolute;z-index:9999;max-width:300px;-webkit-box-shadow:0 0 5px #aaa;box-shadow:0 0 5px #aaa}body .ui-tooltip{border-width:2px}.ui-widget{font-family:Verdana,Arial,sans-serif;font-size:1.1em}.ui-widget .ui-widget{font-size:1em}.ui-widget input,.ui-widget select,.ui-widget textarea,.ui-widget button{font-family:Verdana,Arial,sans-serif;font-size:1em}.ui-widget-content{border:1px solid #aaa;background:#fff url(../images/jquery-ui/ui-bg_flat_75_ffffff_40x100.png) 50% 50% repeat-x;color:#222}.ui-widget-content a{color:#222}.ui-widget-header{border:1px solid #aaa;background:#ccc url(../images/jquery-ui/ui-bg_highlight-soft_75_cccccc_1x100.png) 50% 50% repeat-x;color:#222;font-weight:700}.ui-widget-header a{color:#222}.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default{border:1px solid #d3d3d3;background:#e6e6e6 url(../images/jquery-ui/ui-bg_glass_75_e6e6e6_1x400.png) 50% 50% repeat-x;font-weight:400;color:#555}.ui-state-default a,.ui-state-default a:link,.ui-state-default a:visited{color:#555;text-decoration:none}.ui-state-hover,.ui-widget-content .ui-state-hover,.ui-widget-header .ui-state-hover,.ui-state-focus,.ui-widget-content .ui-state-focus,.ui-widget-header .ui-state-focus{border:1px solid #999;background:#dadada url(../images/jquery-ui/ui-bg_glass_75_dadada_1x400.png) 50% 50% repeat-x;font-weight:400;color:#212121}.ui-state-hover a,.ui-state-hover a:hover,.ui-state-hover a:link,.ui-state-hover a:visited,.ui-state-focus a,.ui-state-focus a:hover,.ui-state-focus a:link,.ui-state-focus a:visited{color:#212121;text-decoration:none}.ui-state-active,.ui-widget-content .ui-state-active,.ui-widget-header .ui-state-active{border:1px solid #aaa;background:#fff url(../images/jquery-ui/ui-bg_glass_65_ffffff_1x400.png) 50% 50% repeat-x;font-weight:400;color:#212121}.ui-state-active a,.ui-state-active a:link,.ui-state-active a:visited{color:#212121;text-decoration:none}.ui-state-highlight,.ui-widget-content .ui-state-highlight,.ui-widget-header .ui-state-highlight{border:1px solid #fcefa1;background:#fbf9ee url(../images/jquery-ui/ui-bg_glass_55_fbf9ee_1x400.png) 50% 50% repeat-x;color:#363636}.ui-state-highlight a,.ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a{color:#363636}.ui-state-error,.ui-widget-content .ui-state-error,.ui-widget-header .ui-state-error{border:1px solid #cd0a0a;background:#fef1ec url(../images/jquery-ui/ui-bg_glass_95_fef1ec_1x400.png) 50% 50% repeat-x;color:#cd0a0a}.ui-state-error a,.ui-widget-content .ui-state-error a,.ui-widget-header .ui-state-error a{color:#cd0a0a}.ui-state-error-text,.ui-widget-content .ui-state-error-text,.ui-widget-header .ui-state-error-text{color:#cd0a0a}.ui-priority-primary,.ui-widget-content .ui-priority-primary,.ui-widget-header .ui-priority-primary{font-weight:700}.ui-priority-secondary,.ui-widget-content .ui-priority-secondary,.ui-widget-header .ui-priority-secondary{opacity:.7;filter:Alpha(Opacity=70);font-weight:400}.ui-state-disabled,.ui-widget-content .ui-state-disabled,.ui-widget-header .ui-state-disabled{opacity:.35;filter:Alpha(Opacity=35);background-image:none}.ui-state-disabled .ui-icon{filter:Alpha(Opacity=35)}.ui-icon{width:16px;height:16px}.ui-icon,.ui-widget-content .ui-icon{background-image:url(../images/jquery-ui/ui-icons_222222_256x240.png)}.ui-widget-header .ui-icon{background-image:url(../images/jquery-ui/ui-icons_222222_256x240.png)}.ui-state-default .ui-icon{background-image:url(../images/jquery-ui/ui-icons_888888_256x240.png)}.ui-state-hover .ui-icon,.ui-state-focus .ui-icon{background-image:url(../images/jquery-ui/ui-icons_454545_256x240.png)}.ui-state-active .ui-icon{background-image:url(../images/jquery-ui/ui-icons_454545_256x240.png)}.ui-state-highlight .ui-icon{background-image:url(../images/jquery-ui/ui-icons_2e83ff_256x240.png)}.ui-state-error .ui-icon,.ui-state-error-text .ui-icon{background-image:url(../images/jquery-ui/ui-icons_cd0a0a_256x240.png)}.ui-icon-blank{background-position:16px 16px}.ui-icon-carat-1-n{background-position:0 0}.ui-icon-carat-1-ne{background-position:-16px 0}.ui-icon-carat-1-e{background-position:-32px 0}.ui-icon-carat-1-se{background-position:-48px 0}.ui-icon-carat-1-s{background-position:-64px 0}.ui-icon-carat-1-sw{background-position:-80px 0}.ui-icon-carat-1-w{background-position:-96px 0}.ui-icon-carat-1-nw{background-position:-112px 0}.ui-icon-carat-2-n-s{background-position:-128px 0}.ui-icon-carat-2-e-w{background-position:-144px 0}.ui-icon-triangle-1-n{background-position:0 -16px}.ui-icon-triangle-1-ne{background-position:-16px -16px}.ui-icon-triangle-1-e{background-position:-32px -16px}.ui-icon-triangle-1-se{background-position:-48px -16px}.ui-icon-triangle-1-s{background-position:-64px -16px}.ui-icon-triangle-1-sw{background-position:-80px -16px}.ui-icon-triangle-1-w{background-position:-96px -16px}.ui-icon-triangle-1-nw{background-position:-112px -16px}.ui-icon-triangle-2-n-s{background-position:-128px -16px}.ui-icon-triangle-2-e-w{background-position:-144px -16px}.ui-icon-arrow-1-n{background-position:0 -32px}.ui-icon-arrow-1-ne{background-position:-16px -32px}.ui-icon-arrow-1-e{background-position:-32px -32px}.ui-icon-arrow-1-se{background-position:-48px -32px}.ui-icon-arrow-1-s{background-position:-64px -32px}.ui-icon-arrow-1-sw{background-position:-80px -32px}.ui-icon-arrow-1-w{background-position:-96px -32px}.ui-icon-arrow-1-nw{background-position:-112px -32px}.ui-icon-arrow-2-n-s{background-position:-128px -32px}.ui-icon-arrow-2-ne-sw{background-position:-144px -32px}.ui-icon-arrow-2-e-w{background-position:-160px -32px}.ui-icon-arrow-2-se-nw{background-position:-176px -32px}.ui-icon-arrowstop-1-n{background-position:-192px -32px}.ui-icon-arrowstop-1-e{background-position:-208px -32px}.ui-icon-arrowstop-1-s{background-position:-224px -32px}.ui-icon-arrowstop-1-w{background-position:-240px -32px}.ui-icon-arrowthick-1-n{background-position:0 -48px}.ui-icon-arrowthick-1-ne{background-position:-16px -48px}.ui-icon-arrowthick-1-e{background-position:-32px -48px}.ui-icon-arrowthick-1-se{background-position:-48px -48px}.ui-icon-arrowthick-1-s{background-position:-64px -48px}.ui-icon-arrowthick-1-sw{background-position:-80px -48px}.ui-icon-arrowthick-1-w{background-position:-96px -48px}.ui-icon-arrowthick-1-nw{background-position:-112px -48px}.ui-icon-arrowthick-2-n-s{background-position:-128px -48px}.ui-icon-arrowthick-2-ne-sw{background-position:-144px -48px}.ui-icon-arrowthick-2-e-w{background-position:-160px -48px}.ui-icon-arrowthick-2-se-nw{background-position:-176px -48px}.ui-icon-arrowthickstop-1-n{background-position:-192px -48px}.ui-icon-arrowthickstop-1-e{background-position:-208px -48px}.ui-icon-arrowthickstop-1-s{background-position:-224px -48px}.ui-icon-arrowthickstop-1-w{background-position:-240px -48px}.ui-icon-arrowreturnthick-1-w{background-position:0 -64px}.ui-icon-arrowreturnthick-1-n{background-position:-16px -64px}.ui-icon-arrowreturnthick-1-e{background-position:-32px -64px}.ui-icon-arrowreturnthick-1-s{background-position:-48px -64px}.ui-icon-arrowreturn-1-w{background-position:-64px -64px}.ui-icon-arrowreturn-1-n{background-position:-80px -64px}.ui-icon-arrowreturn-1-e{background-position:-96px -64px}.ui-icon-arrowreturn-1-s{background-position:-112px -64px}.ui-icon-arrowrefresh-1-w{background-position:-128px -64px}.ui-icon-arrowrefresh-1-n{background-position:-144px -64px}.ui-icon-arrowrefresh-1-e{background-position:-160px -64px}.ui-icon-arrowrefresh-1-s{background-position:-176px -64px}.ui-icon-arrow-4{background-position:0 -80px}.ui-icon-arrow-4-diag{background-position:-16px -80px}.ui-icon-extlink{background-position:-32px -80px}.ui-icon-newwin{background-position:-48px -80px}.ui-icon-refresh{background-position:-64px -80px}.ui-icon-shuffle{background-position:-80px -80px}.ui-icon-transfer-e-w{background-position:-96px -80px}.ui-icon-transferthick-e-w{background-position:-112px -80px}.ui-icon-folder-collapsed{background-position:0 -96px}.ui-icon-folder-open{background-position:-16px -96px}.ui-icon-document{background-position:-32px -96px}.ui-icon-document-b{background-position:-48px -96px}.ui-icon-note{background-position:-64px -96px}.ui-icon-mail-closed{background-position:-80px -96px}.ui-icon-mail-open{background-position:-96px -96px}.ui-icon-suitcase{background-position:-112px -96px}.ui-icon-comment{background-position:-128px -96px}.ui-icon-person{background-position:-144px -96px}.ui-icon-print{background-position:-160px -96px}.ui-icon-trash{background-position:-176px -96px}.ui-icon-locked{background-position:-192px -96px}.ui-icon-unlocked{background-position:-208px -96px}.ui-icon-bookmark{background-position:-224px -96px}.ui-icon-tag{background-position:-240px -96px}.ui-icon-home{background-position:0 -112px}.ui-icon-flag{background-position:-16px -112px}.ui-icon-calendar{background-position:-32px -112px}.ui-icon-cart{background-position:-48px -112px}.ui-icon-pencil{background-position:-64px -112px}.ui-icon-clock{background-position:-80px -112px}.ui-icon-disk{background-position:-96px -112px}.ui-icon-calculator{background-position:-112px -112px}.ui-icon-zoomin{background-position:-128px -112px}.ui-icon-zoomout{background-position:-144px -112px}.ui-icon-search{background-position:-160px -112px}.ui-icon-wrench{background-position:-176px -112px}.ui-icon-gear{background-position:-192px -112px}.ui-icon-heart{background-position:-208px -112px}.ui-icon-star{background-position:-224px -112px}.ui-icon-link{background-position:-240px -112px}.ui-icon-cancel{background-position:0 -128px}.ui-icon-plus{background-position:-16px -128px}.ui-icon-plusthick{background-position:-32px -128px}.ui-icon-minus{background-position:-48px -128px}.ui-icon-minusthick{background-position:-64px -128px}.ui-icon-close{background-position:-80px -128px}.ui-icon-closethick{background-position:-96px -128px}.ui-icon-key{background-position:-112px -128px}.ui-icon-lightbulb{background-position:-128px -128px}.ui-icon-scissors{background-position:-144px -128px}.ui-icon-clipboard{background-position:-160px -128px}.ui-icon-copy{background-position:-176px -128px}.ui-icon-contact{background-position:-192px -128px}.ui-icon-image{background-position:-208px -128px}.ui-icon-video{background-position:-224px -128px}.ui-icon-script{background-position:-240px -128px}.ui-icon-alert{background-position:0 -144px}.ui-icon-info{background-position:-16px -144px}.ui-icon-notice{background-position:-32px -144px}.ui-icon-help{background-position:-48px -144px}.ui-icon-check{background-position:-64px -144px}.ui-icon-bullet{background-position:-80px -144px}.ui-icon-radio-on{background-position:-96px -144px}.ui-icon-radio-off{background-position:-112px -144px}.ui-icon-pin-w{background-position:-128px -144px}.ui-icon-pin-s{background-position:-144px -144px}.ui-icon-play{background-position:0 -160px}.ui-icon-pause{background-position:-16px -160px}.ui-icon-seek-next{background-position:-32px -160px}.ui-icon-seek-prev{background-position:-48px -160px}.ui-icon-seek-end{background-position:-64px -160px}.ui-icon-seek-start{background-position:-80px -160px}.ui-icon-seek-first{background-position:-80px -160px}.ui-icon-stop{background-position:-96px -160px}.ui-icon-eject{background-position:-112px -160px}.ui-icon-volume-off{background-position:-128px -160px}.ui-icon-volume-on{background-position:-144px -160px}.ui-icon-power{background-position:0 -176px}.ui-icon-signal-diag{background-position:-16px -176px}.ui-icon-signal{background-position:-32px -176px}.ui-icon-battery-0{background-position:-48px -176px}.ui-icon-battery-1{background-position:-64px -176px}.ui-icon-battery-2{background-position:-80px -176px}.ui-icon-battery-3{background-position:-96px -176px}.ui-icon-circle-plus{background-position:0 -192px}.ui-icon-circle-minus{background-position:-16px -192px}.ui-icon-circle-close{background-position:-32px -192px}.ui-icon-circle-triangle-e{background-position:-48px -192px}.ui-icon-circle-triangle-s{background-position:-64px -192px}.ui-icon-circle-triangle-w{background-position:-80px -192px}.ui-icon-circle-triangle-n{background-position:-96px -192px}.ui-icon-circle-arrow-e{background-position:-112px -192px}.ui-icon-circle-arrow-s{background-position:-128px -192px}.ui-icon-circle-arrow-w{background-position:-144px -192px}.ui-icon-circle-arrow-n{background-position:-160px -192px}.ui-icon-circle-zoomin{background-position:-176px -192px}.ui-icon-circle-zoomout{background-position:-192px -192px}.ui-icon-circle-check{background-position:-208px -192px}.ui-icon-circlesmall-plus{background-position:0 -208px}.ui-icon-circlesmall-minus{background-position:-16px -208px}.ui-icon-circlesmall-close{background-position:-32px -208px}.ui-icon-squaresmall-plus{background-position:-48px -208px}.ui-icon-squaresmall-minus{background-position:-64px -208px}.ui-icon-squaresmall-close{background-position:-80px -208px}.ui-icon-grip-dotted-vertical{background-position:0 -224px}.ui-icon-grip-dotted-horizontal{background-position:-16px -224px}.ui-icon-grip-solid-vertical{background-position:-32px -224px}.ui-icon-grip-solid-horizontal{background-position:-48px -224px}.ui-icon-gripsmall-diagonal-se{background-position:-64px -224px}.ui-icon-grip-diagonal-se{background-position:-80px -224px}.ui-corner-all,.ui-corner-top,.ui-corner-left,.ui-corner-tl{border-top-left-radius:4px}.ui-corner-all,.ui-corner-top,.ui-corner-right,.ui-corner-tr{border-top-right-radius:4px}.ui-corner-all,.ui-corner-bottom,.ui-corner-left,.ui-corner-bl{border-bottom-left-radius:4px}.ui-corner-all,.ui-corner-bottom,.ui-corner-right,.ui-corner-br{border-bottom-right-radius:4px}.ui-widget-overlay{background:#aaa url(../images/jquery-ui/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x;opacity:.3;filter:Alpha(Opacity=30)}.ui-widget-shadow{margin:-8px 0 0 -8px;padding:8px;background:#aaa url(../images/jquery-ui/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x;opacity:.3;filter:Alpha(Opacity=30);border-radius:8px}/*! jQuery UI - v1.10.4 - 2014-05-07
|
10 |
-
* http://jqueryui.com
|
11 |
-
* Includes: jquery.ui.core.css, jquery.ui.resizable.css, jquery.ui.selectable.css, jquery.ui.accordion.css, jquery.ui.autocomplete.css, jquery.ui.button.css, jquery.ui.datepicker.css, jquery.ui.dialog.css, jquery.ui.menu.css, jquery.ui.progressbar.css, jquery.ui.slider.css, jquery.ui.spinner.css, jquery.ui.tabs.css, jquery.ui.tooltip.css, jquery.ui.theme.css
|
12 |
-
* To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Verdana%2CArial%2Csans-serif&fwDefault=normal&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=cccccc&bgTextureHeader=highlight_soft&bgImgOpacityHeader=75&borderColorHeader=aaaaaa&fcHeader=222222&iconColorHeader=222222&bgColorContent=ffffff&bgTextureContent=flat&bgImgOpacityContent=75&borderColorContent=aaaaaa&fcContent=222222&iconColorContent=222222&bgColorDefault=e6e6e6&bgTextureDefault=glass&bgImgOpacityDefault=75&borderColorDefault=d3d3d3&fcDefault=555555&iconColorDefault=888888&bgColorHover=dadada&bgTextureHover=glass&bgImgOpacityHover=75&borderColorHover=999999&fcHover=212121&iconColorHover=454545&bgColorActive=ffffff&bgTextureActive=glass&bgImgOpacityActive=65&borderColorActive=aaaaaa&fcActive=212121&iconColorActive=454545&bgColorHighlight=fbf9ee&bgTextureHighlight=glass&bgImgOpacityHighlight=55&borderColorHighlight=fcefa1&fcHighlight=363636&iconColorHighlight=2e83ff&bgColorError=fef1ec&bgTextureError=glass&bgImgOpacityError=95&borderColorError=cd0a0a&fcError=cd0a0a&iconColorError=cd0a0a&bgColorOverlay=aaaaaa&bgTextureOverlay=flat&bgImgOpacityOverlay=0&opacityOverlay=30&bgColorShadow=aaaaaa&bgTextureShadow=flat&bgImgOpacityShadow=0&opacityShadow=30&thicknessShadow=8px&offsetTopShadow=-8px&offsetLeftShadow=-8px&cornerRadiusShadow=8px
|
13 |
-
* Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */.ui-helper-hidden{display:none}.ui-helper-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.ui-helper-reset{margin:0;padding:0;border:0;outline:0;line-height:1.3;text-decoration:none;font-size:100%;list-style:none}.ui-helper-clearfix:before,.ui-helper-clearfix:after{content:"";display:table;border-collapse:collapse}.ui-helper-clearfix:after{clear:both}.ui-helper-clearfix{min-height:0}.ui-helper-zfix{width:100%;height:100%;top:0;left:0;position:absolute;opacity:0;filter:Alpha(Opacity=0)}.ui-front{z-index:100}.ui-state-disabled{cursor:default!important}.ui-icon{display:block;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat}.ui-widget-overlay{position:fixed;top:0;left:0;width:100%;height:100%}.ui-resizable{position:relative}.ui-resizable-handle{position:absolute;font-size:.1px;display:block}.ui-resizable-disabled .ui-resizable-handle,.ui-resizable-autohide .ui-resizable-handle{display:none}.ui-resizable-n{cursor:n-resize;height:7px;width:100%;top:-5px;left:0}.ui-resizable-s{cursor:s-resize;height:7px;width:100%;bottom:-5px;left:0}.ui-resizable-e{cursor:e-resize;width:7px;right:-5px;top:0;height:100%}.ui-resizable-w{cursor:w-resize;width:7px;left:-5px;top:0;height:100%}.ui-resizable-se{cursor:se-resize;width:12px;height:12px;right:1px;bottom:1px}.ui-resizable-sw{cursor:sw-resize;width:9px;height:9px;left:-5px;bottom:-5px}.ui-resizable-nw{cursor:nw-resize;width:9px;height:9px;left:-5px;top:-5px}.ui-resizable-ne{cursor:ne-resize;width:9px;height:9px;right:-5px;top:-5px}.ui-selectable-helper{position:absolute;z-index:100;border:1px dotted #000}.ui-accordion .ui-accordion-header{display:block;cursor:pointer;position:relative;margin-top:2px;padding:.5em .5em .5em .7em;min-height:0}.ui-accordion .ui-accordion-icons{padding-left:2.2em}.ui-accordion .ui-accordion-noicons{padding-left:.7em}.ui-accordion .ui-accordion-icons .ui-accordion-icons{padding-left:2.2em}.ui-accordion .ui-accordion-header .ui-accordion-header-icon{position:absolute;left:.5em;top:50%;margin-top:-8px}.ui-accordion .ui-accordion-content{padding:1em 2.2em;border-top:0;overflow:auto}.ui-autocomplete{position:absolute;top:0;left:0;cursor:default}.ui-button{display:inline-block;position:relative;padding:0;line-height:normal;margin-right:.1em;cursor:pointer;vertical-align:middle;text-align:center;overflow:visible}.ui-button,.ui-button:link,.ui-button:visited,.ui-button:hover,.ui-button:active{text-decoration:none}.ui-button-icon-only{width:2.2em}button.ui-button-icon-only{width:2.4em}.ui-button-icons-only{width:3.4em}button.ui-button-icons-only{width:3.7em}.ui-button .ui-button-text{display:block;line-height:normal}.ui-button-text-only .ui-button-text{padding:.4em 1em}.ui-button-icon-only .ui-button-text,.ui-button-icons-only .ui-button-text{padding:.4em;text-indent:-9999999px}.ui-button-text-icon-primary .ui-button-text,.ui-button-text-icons .ui-button-text{padding:.4em 1em .4em 2.1em}.ui-button-text-icon-secondary .ui-button-text,.ui-button-text-icons .ui-button-text{padding:.4em 2.1em .4em 1em}.ui-button-text-icons .ui-button-text{padding-left:2.1em;padding-right:2.1em}input.ui-button{padding:.4em 1em}.ui-button-icon-only .ui-icon,.ui-button-text-icon-primary .ui-icon,.ui-button-text-icon-secondary .ui-icon,.ui-button-text-icons .ui-icon,.ui-button-icons-only .ui-icon{position:absolute;top:50%;margin-top:-8px}.ui-button-icon-only .ui-icon{left:50%;margin-left:-8px}.ui-button-text-icon-primary .ui-button-icon-primary,.ui-button-text-icons .ui-button-icon-primary,.ui-button-icons-only .ui-button-icon-primary{left:.5em}.ui-button-text-icon-secondary .ui-button-icon-secondary,.ui-button-text-icons .ui-button-icon-secondary,.ui-button-icons-only .ui-button-icon-secondary{right:.5em}.ui-buttonset{margin-right:7px}.ui-buttonset .ui-button{margin-left:0;margin-right:-.3em}input.ui-button::-moz-focus-inner,button.ui-button::-moz-focus-inner{border:0;padding:0}.ui-datepicker{width:17em;padding:.2em .2em 0;display:none}.ui-datepicker .ui-datepicker-header{position:relative;padding:.2em 0}.ui-datepicker .ui-datepicker-prev,.ui-datepicker .ui-datepicker-next{position:absolute;top:2px;width:1.8em;height:1.8em}.ui-datepicker .ui-datepicker-prev-hover,.ui-datepicker .ui-datepicker-next-hover{top:1px}.ui-datepicker .ui-datepicker-prev{left:2px}.ui-datepicker .ui-datepicker-next{right:2px}.ui-datepicker .ui-datepicker-prev-hover{left:1px}.ui-datepicker .ui-datepicker-next-hover{right:1px}.ui-datepicker .ui-datepicker-prev span,.ui-datepicker .ui-datepicker-next span{display:block;position:absolute;left:50%;margin-left:-8px;top:50%;margin-top:-8px}.ui-datepicker .ui-datepicker-title{margin:0 2.3em;line-height:1.8em;text-align:center}.ui-datepicker .ui-datepicker-title select{font-size:1em;margin:1px 0}.ui-datepicker select.ui-datepicker-month,.ui-datepicker select.ui-datepicker-year{width:49%}.ui-datepicker table{width:100%;font-size:.9em;border-collapse:collapse;margin:0 0 .4em}.ui-datepicker th{padding:.7em .3em;text-align:center;font-weight:700;border:0}.ui-datepicker td{border:0;padding:1px}.ui-datepicker td span,.ui-datepicker td a{display:block;padding:.2em;text-align:right;text-decoration:none}.ui-datepicker .ui-datepicker-buttonpane{background-image:none;margin:.7em 0 0;padding:0 .2em;border-left:0;border-right:0;border-bottom:0}.ui-datepicker .ui-datepicker-buttonpane button{float:right;margin:.5em .2em .4em;cursor:pointer;padding:.2em .6em .3em;width:auto;overflow:visible}.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current{float:left}.ui-datepicker.ui-datepicker-multi{width:auto}.ui-datepicker-multi .ui-datepicker-group{float:left}.ui-datepicker-multi .ui-datepicker-group table{width:95%;margin:0 auto .4em}.ui-datepicker-multi-2 .ui-datepicker-group{width:50%}.ui-datepicker-multi-3 .ui-datepicker-group{width:33.3%}.ui-datepicker-multi-4 .ui-datepicker-group{width:25%}.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header{border-left-width:0}.ui-datepicker-multi .ui-datepicker-buttonpane{clear:left}.ui-datepicker-row-break{clear:both;width:100%;font-size:0}.ui-datepicker-rtl{direction:rtl}.ui-datepicker-rtl .ui-datepicker-prev{right:2px;left:auto}.ui-datepicker-rtl .ui-datepicker-next{left:2px;right:auto}.ui-datepicker-rtl .ui-datepicker-prev:hover{right:1px;left:auto}.ui-datepicker-rtl .ui-datepicker-next:hover{left:1px;right:auto}.ui-datepicker-rtl .ui-datepicker-buttonpane{clear:right}.ui-datepicker-rtl .ui-datepicker-buttonpane button{float:left}.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current,.ui-datepicker-rtl .ui-datepicker-group{float:right}.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header{border-right-width:0;border-left-width:1px}.ui-dialog{overflow:hidden;position:absolute;top:0;left:0;padding:.2em;outline:0}.ui-dialog .ui-dialog-titlebar{padding:.4em 1em;position:relative}.ui-dialog .ui-dialog-title{float:left;margin:.1em 0;white-space:nowrap;width:90%;overflow:hidden;text-overflow:ellipsis}.ui-dialog .ui-dialog-titlebar-close{position:absolute;right:.3em;top:50%;width:20px;margin:-10px 0 0 0;padding:1px;height:20px}.ui-dialog .ui-dialog-content{position:relative;border:0;padding:.5em 1em;background:0 0;overflow:auto}.ui-dialog .ui-dialog-buttonpane{text-align:left;border-width:1px 0 0;background-image:none;margin-top:.5em;padding:.3em 1em .5em .4em}.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset{float:right}.ui-dialog .ui-dialog-buttonpane button{margin:.5em .4em .5em 0;cursor:pointer}.ui-dialog .ui-resizable-se{width:12px;height:12px;right:-5px;bottom:-5px;background-position:16px 16px}.ui-draggable .ui-dialog-titlebar{cursor:move}.ui-menu{list-style:none;padding:2px;margin:0;display:block;outline:0}.ui-menu .ui-menu{margin-top:-3px;position:absolute}.ui-menu .ui-menu-item{margin:0;padding:0;width:100%;list-style-image:url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)}.ui-menu .ui-menu-divider{margin:5px -2px 5px -2px;height:0;font-size:0;line-height:0;border-width:1px 0 0}.ui-menu .ui-menu-item a{text-decoration:none;display:block;padding:2px .4em;line-height:1.5;min-height:0;font-weight:400}.ui-menu .ui-menu-item a.ui-state-focus,.ui-menu .ui-menu-item a.ui-state-active{font-weight:400;margin:-1px}.ui-menu .ui-state-disabled{font-weight:400;margin:.4em 0 .2em;line-height:1.5}.ui-menu .ui-state-disabled a{cursor:default}.ui-menu-icons{position:relative}.ui-menu-icons .ui-menu-item a{position:relative;padding-left:2em}.ui-menu .ui-icon{position:absolute;top:.2em;left:.2em}.ui-menu .ui-menu-icon{position:static;float:right}.ui-progressbar{height:2em;text-align:left;overflow:hidden}.ui-progressbar .ui-progressbar-value{margin:-1px;height:100%}.ui-progressbar .ui-progressbar-overlay{background:url(../img/jquery-ui/animated-overlay.gif);height:100%;filter:alpha(opacity=25);opacity:.25}.ui-progressbar-indeterminate .ui-progressbar-value{background-image:none}.ui-slider{position:relative;text-align:left}.ui-slider .ui-slider-handle{position:absolute;z-index:2;width:1.2em;height:1.2em;cursor:default}.ui-slider .ui-slider-range{position:absolute;z-index:1;font-size:.7em;display:block;border:0;background-position:0 0}.ui-slider.ui-state-disabled .ui-slider-handle,.ui-slider.ui-state-disabled .ui-slider-range{filter:inherit}.ui-slider-horizontal{height:.8em}.ui-slider-horizontal .ui-slider-handle{top:-.3em;margin-left:-.6em}.ui-slider-horizontal .ui-slider-range{top:0;height:100%}.ui-slider-horizontal .ui-slider-range-min{left:0}.ui-slider-horizontal .ui-slider-range-max{right:0}.ui-slider-vertical{width:.8em;height:100px}.ui-slider-vertical .ui-slider-handle{left:-.3em;margin-left:0;margin-bottom:-.6em}.ui-slider-vertical .ui-slider-range{left:0;width:100%}.ui-slider-vertical .ui-slider-range-min{bottom:0}.ui-slider-vertical .ui-slider-range-max{top:0}.ui-spinner{position:relative;display:inline-block;overflow:hidden;padding:0;vertical-align:middle}.ui-spinner-input{border:0;background:0 0;color:inherit;padding:0;margin:.2em 0;vertical-align:middle;margin-left:.4em;margin-right:22px}.ui-spinner-button{width:16px;height:50%;font-size:.5em;padding:0;margin:0;text-align:center;position:absolute;cursor:default;display:block;overflow:hidden;right:0}.ui-spinner a.ui-spinner-button{border-top:0;border-bottom:0;border-right:0}.ui-spinner .ui-icon{position:absolute;margin-top:-8px;top:50%;left:0}.ui-spinner-up{top:0}.ui-spinner-down{bottom:0}.ui-spinner .ui-icon-triangle-1-s{background-position:-65px -16px}.ui-tabs{position:relative;padding:.2em}.ui-tabs .ui-tabs-nav{margin:0;padding:.2em .2em 0}.ui-tabs .ui-tabs-nav li{list-style:none;float:left;position:relative;top:0;margin:1px .2em 0 0;border-bottom-width:0;padding:0;white-space:nowrap}.ui-tabs .ui-tabs-nav .ui-tabs-anchor{float:left;padding:.5em 1em;text-decoration:none}.ui-tabs .ui-tabs-nav li.ui-tabs-active{margin-bottom:-1px;padding-bottom:1px}.ui-tabs .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor,.ui-tabs .ui-tabs-nav li.ui-state-disabled .ui-tabs-anchor,.ui-tabs .ui-tabs-nav li.ui-tabs-loading .ui-tabs-anchor{cursor:text}.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor{cursor:pointer}.ui-tabs .ui-tabs-panel{display:block;border-width:0;padding:1em 1.4em;background:0 0}.ui-tooltip{padding:8px;position:absolute;z-index:9999;max-width:300px;-webkit-box-shadow:0 0 5px #aaa;box-shadow:0 0 5px #aaa}body .ui-tooltip{border-width:2px}.ui-widget{font-family:Verdana,Arial,sans-serif;font-size:1.1em}.ui-widget .ui-widget{font-size:1em}.ui-widget input,.ui-widget select,.ui-widget textarea,.ui-widget button{font-family:Verdana,Arial,sans-serif;font-size:1em}.ui-widget-content{border:1px solid #aaa;background:#fff url(../img/jquery-ui/ui-bg_flat_75_ffffff_40x100.png) 50% 50% repeat-x;color:#222}.ui-widget-content a{color:#222}.ui-widget-header{border:1px solid #aaa;background:#ccc url(../img/jquery-ui/ui-bg_highlight-soft_75_cccccc_1x100.png) 50% 50% repeat-x;color:#222;font-weight:700}.ui-widget-header a{color:#222}.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default{border:1px solid #d3d3d3;background:#e6e6e6 url(../img/jquery-ui/ui-bg_glass_75_e6e6e6_1x400.png) 50% 50% repeat-x;font-weight:400;color:#555}.ui-state-default a,.ui-state-default a:link,.ui-state-default a:visited{color:#555;text-decoration:none}.ui-state-hover,.ui-widget-content .ui-state-hover,.ui-widget-header .ui-state-hover,.ui-state-focus,.ui-widget-content .ui-state-focus,.ui-widget-header .ui-state-focus{border:1px solid #999;background:#dadada url(../img/jquery-ui/ui-bg_glass_75_dadada_1x400.png) 50% 50% repeat-x;font-weight:400;color:#212121}.ui-state-hover a,.ui-state-hover a:hover,.ui-state-hover a:link,.ui-state-hover a:visited,.ui-state-focus a,.ui-state-focus a:hover,.ui-state-focus a:link,.ui-state-focus a:visited{color:#212121;text-decoration:none}.ui-state-active,.ui-widget-content .ui-state-active,.ui-widget-header .ui-state-active{border:1px solid #aaa;background:#fff url(../img/jquery-ui/ui-bg_glass_65_ffffff_1x400.png) 50% 50% repeat-x;font-weight:400;color:#212121}.ui-state-active a,.ui-state-active a:link,.ui-state-active a:visited{color:#212121;text-decoration:none}.ui-state-highlight,.ui-widget-content .ui-state-highlight,.ui-widget-header .ui-state-highlight{border:1px solid #fcefa1;background:#fbf9ee url(../img/jquery-ui/ui-bg_glass_55_fbf9ee_1x400.png) 50% 50% repeat-x;color:#363636}.ui-state-highlight a,.ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a{color:#363636}.ui-state-error,.ui-widget-content .ui-state-error,.ui-widget-header .ui-state-error{border:1px solid #cd0a0a;background:#fef1ec url(../img/jquery-ui/ui-bg_glass_95_fef1ec_1x400.png) 50% 50% repeat-x;color:#cd0a0a}.ui-state-error a,.ui-widget-content .ui-state-error a,.ui-widget-header .ui-state-error a{color:#cd0a0a}.ui-state-error-text,.ui-widget-content .ui-state-error-text,.ui-widget-header .ui-state-error-text{color:#cd0a0a}.ui-priority-primary,.ui-widget-content .ui-priority-primary,.ui-widget-header .ui-priority-primary{font-weight:700}.ui-priority-secondary,.ui-widget-content .ui-priority-secondary,.ui-widget-header .ui-priority-secondary{opacity:.7;filter:Alpha(Opacity=70);font-weight:400}.ui-state-disabled,.ui-widget-content .ui-state-disabled,.ui-widget-header .ui-state-disabled{opacity:.35;filter:Alpha(Opacity=35);background-image:none}.ui-state-disabled .ui-icon{filter:Alpha(Opacity=35)}.ui-icon{width:16px;height:16px}.ui-icon,.ui-widget-content .ui-icon{background-image:url(../img/jquery-ui/ui-icons_222222_256x240.png)}.ui-widget-header .ui-icon{background-image:url(../img/jquery-ui/ui-icons_222222_256x240.png)}.ui-state-default .ui-icon{background-image:url(../img/jquery-ui/ui-icons_888888_256x240.png)}.ui-state-hover .ui-icon,.ui-state-focus .ui-icon{background-image:url(../img/jquery-ui/ui-icons_454545_256x240.png)}.ui-state-active .ui-icon{background-image:url(../img/jquery-ui/ui-icons_454545_256x240.png)}.ui-state-highlight .ui-icon{background-image:url(../img/jquery-ui/ui-icons_2e83ff_256x240.png)}.ui-state-error .ui-icon,.ui-state-error-text .ui-icon{background-image:url(../img/jquery-ui/ui-icons_cd0a0a_256x240.png)}.ui-icon-blank{background-position:16px 16px}.ui-icon-carat-1-n{background-position:0 0}.ui-icon-carat-1-ne{background-position:-16px 0}.ui-icon-carat-1-e{background-position:-32px 0}.ui-icon-carat-1-se{background-position:-48px 0}.ui-icon-carat-1-s{background-position:-64px 0}.ui-icon-carat-1-sw{background-position:-80px 0}.ui-icon-carat-1-w{background-position:-96px 0}.ui-icon-carat-1-nw{background-position:-112px 0}.ui-icon-carat-2-n-s{background-position:-128px 0}.ui-icon-carat-2-e-w{background-position:-144px 0}.ui-icon-triangle-1-n{background-position:0 -16px}.ui-icon-triangle-1-ne{background-position:-16px -16px}.ui-icon-triangle-1-e{background-position:-32px -16px}.ui-icon-triangle-1-se{background-position:-48px -16px}.ui-icon-triangle-1-s{background-position:-64px -16px}.ui-icon-triangle-1-sw{background-position:-80px -16px}.ui-icon-triangle-1-w{background-position:-96px -16px}.ui-icon-triangle-1-nw{background-position:-112px -16px}.ui-icon-triangle-2-n-s{background-position:-128px -16px}.ui-icon-triangle-2-e-w{background-position:-144px -16px}.ui-icon-arrow-1-n{background-position:0 -32px}.ui-icon-arrow-1-ne{background-position:-16px -32px}.ui-icon-arrow-1-e{background-position:-32px -32px}.ui-icon-arrow-1-se{background-position:-48px -32px}.ui-icon-arrow-1-s{background-position:-64px -32px}.ui-icon-arrow-1-sw{background-position:-80px -32px}.ui-icon-arrow-1-w{background-position:-96px -32px}.ui-icon-arrow-1-nw{background-position:-112px -32px}.ui-icon-arrow-2-n-s{background-position:-128px -32px}.ui-icon-arrow-2-ne-sw{background-position:-144px -32px}.ui-icon-arrow-2-e-w{background-position:-160px -32px}.ui-icon-arrow-2-se-nw{background-position:-176px -32px}.ui-icon-arrowstop-1-n{background-position:-192px -32px}.ui-icon-arrowstop-1-e{background-position:-208px -32px}.ui-icon-arrowstop-1-s{background-position:-224px -32px}.ui-icon-arrowstop-1-w{background-position:-240px -32px}.ui-icon-arrowthick-1-n{background-position:0 -48px}.ui-icon-arrowthick-1-ne{background-position:-16px -48px}.ui-icon-arrowthick-1-e{background-position:-32px -48px}.ui-icon-arrowthick-1-se{background-position:-48px -48px}.ui-icon-arrowthick-1-s{background-position:-64px -48px}.ui-icon-arrowthick-1-sw{background-position:-80px -48px}.ui-icon-arrowthick-1-w{background-position:-96px -48px}.ui-icon-arrowthick-1-nw{background-position:-112px -48px}.ui-icon-arrowthick-2-n-s{background-position:-128px -48px}.ui-icon-arrowthick-2-ne-sw{background-position:-144px -48px}.ui-icon-arrowthick-2-e-w{background-position:-160px -48px}.ui-icon-arrowthick-2-se-nw{background-position:-176px -48px}.ui-icon-arrowthickstop-1-n{background-position:-192px -48px}.ui-icon-arrowthickstop-1-e{background-position:-208px -48px}.ui-icon-arrowthickstop-1-s{background-position:-224px -48px}.ui-icon-arrowthickstop-1-w{background-position:-240px -48px}.ui-icon-arrowreturnthick-1-w{background-position:0 -64px}.ui-icon-arrowreturnthick-1-n{background-position:-16px -64px}.ui-icon-arrowreturnthick-1-e{background-position:-32px -64px}.ui-icon-arrowreturnthick-1-s{background-position:-48px -64px}.ui-icon-arrowreturn-1-w{background-position:-64px -64px}.ui-icon-arrowreturn-1-n{background-position:-80px -64px}.ui-icon-arrowreturn-1-e{background-position:-96px -64px}.ui-icon-arrowreturn-1-s{background-position:-112px -64px}.ui-icon-arrowrefresh-1-w{background-position:-128px -64px}.ui-icon-arrowrefresh-1-n{background-position:-144px -64px}.ui-icon-arrowrefresh-1-e{background-position:-160px -64px}.ui-icon-arrowrefresh-1-s{background-position:-176px -64px}.ui-icon-arrow-4{background-position:0 -80px}.ui-icon-arrow-4-diag{background-position:-16px -80px}.ui-icon-extlink{background-position:-32px -80px}.ui-icon-newwin{background-position:-48px -80px}.ui-icon-refresh{background-position:-64px -80px}.ui-icon-shuffle{background-position:-80px -80px}.ui-icon-transfer-e-w{background-position:-96px -80px}.ui-icon-transferthick-e-w{background-position:-112px -80px}.ui-icon-folder-collapsed{background-position:0 -96px}.ui-icon-folder-open{background-position:-16px -96px}.ui-icon-document{background-position:-32px -96px}.ui-icon-document-b{background-position:-48px -96px}.ui-icon-note{background-position:-64px -96px}.ui-icon-mail-closed{background-position:-80px -96px}.ui-icon-mail-open{background-position:-96px -96px}.ui-icon-suitcase{background-position:-112px -96px}.ui-icon-comment{background-position:-128px -96px}.ui-icon-person{background-position:-144px -96px}.ui-icon-print{background-position:-160px -96px}.ui-icon-trash{background-position:-176px -96px}.ui-icon-locked{background-position:-192px -96px}.ui-icon-unlocked{background-position:-208px -96px}.ui-icon-bookmark{background-position:-224px -96px}.ui-icon-tag{background-position:-240px -96px}.ui-icon-home{background-position:0 -112px}.ui-icon-flag{background-position:-16px -112px}.ui-icon-calendar{background-position:-32px -112px}.ui-icon-cart{background-position:-48px -112px}.ui-icon-pencil{background-position:-64px -112px}.ui-icon-clock{background-position:-80px -112px}.ui-icon-disk{background-position:-96px -112px}.ui-icon-calculator{background-position:-112px -112px}.ui-icon-zoomin{background-position:-128px -112px}.ui-icon-zoomout{background-position:-144px -112px}.ui-icon-search{background-position:-160px -112px}.ui-icon-wrench{background-position:-176px -112px}.ui-icon-gear{background-position:-192px -112px}.ui-icon-heart{background-position:-208px -112px}.ui-icon-star{background-position:-224px -112px}.ui-icon-link{background-position:-240px -112px}.ui-icon-cancel{background-position:0 -128px}.ui-icon-plus{background-position:-16px -128px}.ui-icon-plusthick{background-position:-32px -128px}.ui-icon-minus{background-position:-48px -128px}.ui-icon-minusthick{background-position:-64px -128px}.ui-icon-close{background-position:-80px -128px}.ui-icon-closethick{background-position:-96px -128px}.ui-icon-key{background-position:-112px -128px}.ui-icon-lightbulb{background-position:-128px -128px}.ui-icon-scissors{background-position:-144px -128px}.ui-icon-clipboard{background-position:-160px -128px}.ui-icon-copy{background-position:-176px -128px}.ui-icon-contact{background-position:-192px -128px}.ui-icon-image{background-position:-208px -128px}.ui-icon-video{background-position:-224px -128px}.ui-icon-script{background-position:-240px -128px}.ui-icon-alert{background-position:0 -144px}.ui-icon-info{background-position:-16px -144px}.ui-icon-notice{background-position:-32px -144px}.ui-icon-help{background-position:-48px -144px}.ui-icon-check{background-position:-64px -144px}.ui-icon-bullet{background-position:-80px -144px}.ui-icon-radio-on{background-position:-96px -144px}.ui-icon-radio-off{background-position:-112px -144px}.ui-icon-pin-w{background-position:-128px -144px}.ui-icon-pin-s{background-position:-144px -144px}.ui-icon-play{background-position:0 -160px}.ui-icon-pause{background-position:-16px -160px}.ui-icon-seek-next{background-position:-32px -160px}.ui-icon-seek-prev{background-position:-48px -160px}.ui-icon-seek-end{background-position:-64px -160px}.ui-icon-seek-start{background-position:-80px -160px}.ui-icon-seek-first{background-position:-80px -160px}.ui-icon-stop{background-position:-96px -160px}.ui-icon-eject{background-position:-112px -160px}.ui-icon-volume-off{background-position:-128px -160px}.ui-icon-volume-on{background-position:-144px -160px}.ui-icon-power{background-position:0 -176px}.ui-icon-signal-diag{background-position:-16px -176px}.ui-icon-signal{background-position:-32px -176px}.ui-icon-battery-0{background-position:-48px -176px}.ui-icon-battery-1{background-position:-64px -176px}.ui-icon-battery-2{background-position:-80px -176px}.ui-icon-battery-3{background-position:-96px -176px}.ui-icon-circle-plus{background-position:0 -192px}.ui-icon-circle-minus{background-position:-16px -192px}.ui-icon-circle-close{background-position:-32px -192px}.ui-icon-circle-triangle-e{background-position:-48px -192px}.ui-icon-circle-triangle-s{background-position:-64px -192px}.ui-icon-circle-triangle-w{background-position:-80px -192px}.ui-icon-circle-triangle-n{background-position:-96px -192px}.ui-icon-circle-arrow-e{background-position:-112px -192px}.ui-icon-circle-arrow-s{background-position:-128px -192px}.ui-icon-circle-arrow-w{background-position:-144px -192px}.ui-icon-circle-arrow-n{background-position:-160px -192px}.ui-icon-circle-zoomin{background-position:-176px -192px}.ui-icon-circle-zoomout{background-position:-192px -192px}.ui-icon-circle-check{background-position:-208px -192px}.ui-icon-circlesmall-plus{background-position:0 -208px}.ui-icon-circlesmall-minus{background-position:-16px -208px}.ui-icon-circlesmall-close{background-position:-32px -208px}.ui-icon-squaresmall-plus{background-position:-48px -208px}.ui-icon-squaresmall-minus{background-position:-64px -208px}.ui-icon-squaresmall-close{background-position:-80px -208px}.ui-icon-grip-dotted-vertical{background-position:0 -224px}.ui-icon-grip-dotted-horizontal{background-position:-16px -224px}.ui-icon-grip-solid-vertical{background-position:-32px -224px}.ui-icon-grip-solid-horizontal{background-position:-48px -224px}.ui-icon-gripsmall-diagonal-se{background-position:-64px -224px}.ui-icon-grip-diagonal-se{background-position:-80px -224px}.ui-corner-all,.ui-corner-top,.ui-corner-left,.ui-corner-tl{border-top-left-radius:4px}.ui-corner-all,.ui-corner-top,.ui-corner-right,.ui-corner-tr{border-top-right-radius:4px}.ui-corner-all,.ui-corner-bottom,.ui-corner-left,.ui-corner-bl{border-bottom-left-radius:4px}.ui-corner-all,.ui-corner-bottom,.ui-corner-right,.ui-corner-br{border-bottom-right-radius:4px}.ui-widget-overlay{background:#aaa url(../img/jquery-ui/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x;opacity:.3;filter:Alpha(Opacity=30)}.ui-widget-shadow{margin:-8px 0 0 -8px;padding:8px;background:#aaa url(../img/jquery-ui/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x;opacity:.3;filter:Alpha(Opacity=30);border-radius:8px}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
inc/external/wpmu-lib/css/{jquery-ui.wpmui.css → jquery-ui.wpmui.2.css}
RENAMED
File without changes
|
inc/external/wpmu-lib/css/jquery-ui.wpmui.2.min.css
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*! WPMU Dev code library - v2.0.3
|
2 |
+
* http://premium.wpmudev.org/
|
3 |
+
* Copyright (c) 2015; * Licensed GPLv2+ */
|
4 |
+
|
5 |
+
/*! jQuery UI - v1.10.4 - 2014-05-07
|
6 |
+
* http://jqueryui.com
|
7 |
+
* Includes: jquery.ui.core.css, jquery.ui.resizable.css, jquery.ui.selectable.css, jquery.ui.accordion.css, jquery.ui.autocomplete.css, jquery.ui.button.css, jquery.ui.datepicker.css, jquery.ui.dialog.css, jquery.ui.menu.css, jquery.ui.progressbar.css, jquery.ui.slider.css, jquery.ui.spinner.css, jquery.ui.tabs.css, jquery.ui.tooltip.css, jquery.ui.theme.css
|
8 |
+
* To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Verdana%2CArial%2Csans-serif&fwDefault=normal&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=cccccc&bgTextureHeader=highlight_soft&bgImgOpacityHeader=75&borderColorHeader=aaaaaa&fcHeader=222222&iconColorHeader=222222&bgColorContent=ffffff&bgTextureContent=flat&bgImgOpacityContent=75&borderColorContent=aaaaaa&fcContent=222222&iconColorContent=222222&bgColorDefault=e6e6e6&bgTextureDefault=glass&bgImgOpacityDefault=75&borderColorDefault=d3d3d3&fcDefault=555555&iconColorDefault=888888&bgColorHover=dadada&bgTextureHover=glass&bgImgOpacityHover=75&borderColorHover=999999&fcHover=212121&iconColorHover=454545&bgColorActive=ffffff&bgTextureActive=glass&bgImgOpacityActive=65&borderColorActive=aaaaaa&fcActive=212121&iconColorActive=454545&bgColorHighlight=fbf9ee&bgTextureHighlight=glass&bgImgOpacityHighlight=55&borderColorHighlight=fcefa1&fcHighlight=363636&iconColorHighlight=2e83ff&bgColorError=fef1ec&bgTextureError=glass&bgImgOpacityError=95&borderColorError=cd0a0a&fcError=cd0a0a&iconColorError=cd0a0a&bgColorOverlay=aaaaaa&bgTextureOverlay=flat&bgImgOpacityOverlay=0&opacityOverlay=30&bgColorShadow=aaaaaa&bgTextureShadow=flat&bgImgOpacityShadow=0&opacityShadow=30&thicknessShadow=8px&offsetTopShadow=-8px&offsetLeftShadow=-8px&cornerRadiusShadow=8px
|
9 |
+
* Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */.ui-helper-hidden{display:none}.ui-helper-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.ui-helper-reset{margin:0;padding:0;border:0;outline:0;line-height:1.3;text-decoration:none;font-size:100%;list-style:none}.ui-helper-clearfix:before,.ui-helper-clearfix:after{content:"";display:table;border-collapse:collapse}.ui-helper-clearfix:after{clear:both}.ui-helper-clearfix{min-height:0}.ui-helper-zfix{width:100%;height:100%;top:0;left:0;position:absolute;opacity:0;filter:Alpha(Opacity=0)}.ui-front{z-index:100}.ui-state-disabled{cursor:default!important}.ui-icon{display:block;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat}.ui-widget-overlay{position:fixed;top:0;left:0;width:100%;height:100%}.ui-resizable{position:relative}.ui-resizable-handle{position:absolute;font-size:.1px;display:block}.ui-resizable-disabled .ui-resizable-handle,.ui-resizable-autohide .ui-resizable-handle{display:none}.ui-resizable-n{cursor:n-resize;height:7px;width:100%;top:-5px;left:0}.ui-resizable-s{cursor:s-resize;height:7px;width:100%;bottom:-5px;left:0}.ui-resizable-e{cursor:e-resize;width:7px;right:-5px;top:0;height:100%}.ui-resizable-w{cursor:w-resize;width:7px;left:-5px;top:0;height:100%}.ui-resizable-se{cursor:se-resize;width:12px;height:12px;right:1px;bottom:1px}.ui-resizable-sw{cursor:sw-resize;width:9px;height:9px;left:-5px;bottom:-5px}.ui-resizable-nw{cursor:nw-resize;width:9px;height:9px;left:-5px;top:-5px}.ui-resizable-ne{cursor:ne-resize;width:9px;height:9px;right:-5px;top:-5px}.ui-selectable-helper{position:absolute;z-index:100;border:1px dotted #000}.ui-accordion .ui-accordion-header{display:block;cursor:pointer;position:relative;margin-top:2px;padding:.5em .5em .5em .7em;min-height:0}.ui-accordion .ui-accordion-icons{padding-left:2.2em}.ui-accordion .ui-accordion-noicons{padding-left:.7em}.ui-accordion .ui-accordion-icons .ui-accordion-icons{padding-left:2.2em}.ui-accordion .ui-accordion-header .ui-accordion-header-icon{position:absolute;left:.5em;top:50%;margin-top:-8px}.ui-accordion .ui-accordion-content{padding:1em 2.2em;border-top:0;overflow:auto}.ui-autocomplete{position:absolute;top:0;left:0;cursor:default}.ui-button{display:inline-block;position:relative;padding:0;line-height:normal;margin-right:.1em;cursor:pointer;vertical-align:middle;text-align:center;overflow:visible}.ui-button,.ui-button:link,.ui-button:visited,.ui-button:hover,.ui-button:active{text-decoration:none}.ui-button-icon-only{width:2.2em}button.ui-button-icon-only{width:2.4em}.ui-button-icons-only{width:3.4em}button.ui-button-icons-only{width:3.7em}.ui-button .ui-button-text{display:block;line-height:normal}.ui-button-text-only .ui-button-text{padding:.4em 1em}.ui-button-icon-only .ui-button-text,.ui-button-icons-only .ui-button-text{padding:.4em;text-indent:-9999999px}.ui-button-text-icon-primary .ui-button-text,.ui-button-text-icons .ui-button-text{padding:.4em 1em .4em 2.1em}.ui-button-text-icon-secondary .ui-button-text,.ui-button-text-icons .ui-button-text{padding:.4em 2.1em .4em 1em}.ui-button-text-icons .ui-button-text{padding-left:2.1em;padding-right:2.1em}input.ui-button{padding:.4em 1em}.ui-button-icon-only .ui-icon,.ui-button-text-icon-primary .ui-icon,.ui-button-text-icon-secondary .ui-icon,.ui-button-text-icons .ui-icon,.ui-button-icons-only .ui-icon{position:absolute;top:50%;margin-top:-8px}.ui-button-icon-only .ui-icon{left:50%;margin-left:-8px}.ui-button-text-icon-primary .ui-button-icon-primary,.ui-button-text-icons .ui-button-icon-primary,.ui-button-icons-only .ui-button-icon-primary{left:.5em}.ui-button-text-icon-secondary .ui-button-icon-secondary,.ui-button-text-icons .ui-button-icon-secondary,.ui-button-icons-only .ui-button-icon-secondary{right:.5em}.ui-buttonset{margin-right:7px}.ui-buttonset .ui-button{margin-left:0;margin-right:-.3em}input.ui-button::-moz-focus-inner,button.ui-button::-moz-focus-inner{border:0;padding:0}.ui-datepicker{width:17em;padding:.2em .2em 0;display:none}.ui-datepicker .ui-datepicker-header{position:relative;padding:.2em 0}.ui-datepicker .ui-datepicker-prev,.ui-datepicker .ui-datepicker-next{position:absolute;top:2px;width:1.8em;height:1.8em}.ui-datepicker .ui-datepicker-prev-hover,.ui-datepicker .ui-datepicker-next-hover{top:1px}.ui-datepicker .ui-datepicker-prev{left:2px}.ui-datepicker .ui-datepicker-next{right:2px}.ui-datepicker .ui-datepicker-prev-hover{left:1px}.ui-datepicker .ui-datepicker-next-hover{right:1px}.ui-datepicker .ui-datepicker-prev span,.ui-datepicker .ui-datepicker-next span{display:block;position:absolute;left:50%;margin-left:-8px;top:50%;margin-top:-8px}.ui-datepicker .ui-datepicker-title{margin:0 2.3em;line-height:1.8em;text-align:center}.ui-datepicker .ui-datepicker-title select{font-size:1em;margin:1px 0}.ui-datepicker select.ui-datepicker-month,.ui-datepicker select.ui-datepicker-year{width:49%}.ui-datepicker table{width:100%;font-size:.9em;border-collapse:collapse;margin:0 0 .4em}.ui-datepicker th{padding:.7em .3em;text-align:center;font-weight:700;border:0}.ui-datepicker td{border:0;padding:1px}.ui-datepicker td span,.ui-datepicker td a{display:block;padding:.2em;text-align:right;text-decoration:none}.ui-datepicker .ui-datepicker-buttonpane{background-image:none;margin:.7em 0 0;padding:0 .2em;border-left:0;border-right:0;border-bottom:0}.ui-datepicker .ui-datepicker-buttonpane button{float:right;margin:.5em .2em .4em;cursor:pointer;padding:.2em .6em .3em;width:auto;overflow:visible}.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current{float:left}.ui-datepicker.ui-datepicker-multi{width:auto}.ui-datepicker-multi .ui-datepicker-group{float:left}.ui-datepicker-multi .ui-datepicker-group table{width:95%;margin:0 auto .4em}.ui-datepicker-multi-2 .ui-datepicker-group{width:50%}.ui-datepicker-multi-3 .ui-datepicker-group{width:33.3%}.ui-datepicker-multi-4 .ui-datepicker-group{width:25%}.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header{border-left-width:0}.ui-datepicker-multi .ui-datepicker-buttonpane{clear:left}.ui-datepicker-row-break{clear:both;width:100%;font-size:0}.ui-datepicker-rtl{direction:rtl}.ui-datepicker-rtl .ui-datepicker-prev{right:2px;left:auto}.ui-datepicker-rtl .ui-datepicker-next{left:2px;right:auto}.ui-datepicker-rtl .ui-datepicker-prev:hover{right:1px;left:auto}.ui-datepicker-rtl .ui-datepicker-next:hover{left:1px;right:auto}.ui-datepicker-rtl .ui-datepicker-buttonpane{clear:right}.ui-datepicker-rtl .ui-datepicker-buttonpane button{float:left}.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current,.ui-datepicker-rtl .ui-datepicker-group{float:right}.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header{border-right-width:0;border-left-width:1px}.ui-dialog{overflow:hidden;position:absolute;top:0;left:0;padding:.2em;outline:0}.ui-dialog .ui-dialog-titlebar{padding:.4em 1em;position:relative}.ui-dialog .ui-dialog-title{float:left;margin:.1em 0;white-space:nowrap;width:90%;overflow:hidden;text-overflow:ellipsis}.ui-dialog .ui-dialog-titlebar-close{position:absolute;right:.3em;top:50%;width:20px;margin:-10px 0 0 0;padding:1px;height:20px}.ui-dialog .ui-dialog-content{position:relative;border:0;padding:.5em 1em;background:0 0;overflow:auto}.ui-dialog .ui-dialog-buttonpane{text-align:left;border-width:1px 0 0;background-image:none;margin-top:.5em;padding:.3em 1em .5em .4em}.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset{float:right}.ui-dialog .ui-dialog-buttonpane button{margin:.5em .4em .5em 0;cursor:pointer}.ui-dialog .ui-resizable-se{width:12px;height:12px;right:-5px;bottom:-5px;background-position:16px 16px}.ui-draggable .ui-dialog-titlebar{cursor:move}.ui-menu{list-style:none;padding:2px;margin:0;display:block;outline:0}.ui-menu .ui-menu{margin-top:-3px;position:absolute}.ui-menu .ui-menu-item{margin:0;padding:0;width:100%;list-style-image:url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)}.ui-menu .ui-menu-divider{margin:5px -2px 5px -2px;height:0;font-size:0;line-height:0;border-width:1px 0 0}.ui-menu .ui-menu-item a{text-decoration:none;display:block;padding:2px .4em;line-height:1.5;min-height:0;font-weight:400}.ui-menu .ui-menu-item a.ui-state-focus,.ui-menu .ui-menu-item a.ui-state-active{font-weight:400;margin:-1px}.ui-menu .ui-state-disabled{font-weight:400;margin:.4em 0 .2em;line-height:1.5}.ui-menu .ui-state-disabled a{cursor:default}.ui-menu-icons{position:relative}.ui-menu-icons .ui-menu-item a{position:relative;padding-left:2em}.ui-menu .ui-icon{position:absolute;top:.2em;left:.2em}.ui-menu .ui-menu-icon{position:static;float:right}.ui-progressbar{height:2em;text-align:left;overflow:hidden}.ui-progressbar .ui-progressbar-value{margin:-1px;height:100%}.ui-progressbar .ui-progressbar-overlay{background:url(../img/jquery-ui/animated-overlay.gif);height:100%;filter:alpha(opacity=25);opacity:.25}.ui-progressbar-indeterminate .ui-progressbar-value{background-image:none}.ui-slider{position:relative;text-align:left}.ui-slider .ui-slider-handle{position:absolute;z-index:2;width:1.2em;height:1.2em;cursor:default}.ui-slider .ui-slider-range{position:absolute;z-index:1;font-size:.7em;display:block;border:0;background-position:0 0}.ui-slider.ui-state-disabled .ui-slider-handle,.ui-slider.ui-state-disabled .ui-slider-range{filter:inherit}.ui-slider-horizontal{height:.8em}.ui-slider-horizontal .ui-slider-handle{top:-.3em;margin-left:-.6em}.ui-slider-horizontal .ui-slider-range{top:0;height:100%}.ui-slider-horizontal .ui-slider-range-min{left:0}.ui-slider-horizontal .ui-slider-range-max{right:0}.ui-slider-vertical{width:.8em;height:100px}.ui-slider-vertical .ui-slider-handle{left:-.3em;margin-left:0;margin-bottom:-.6em}.ui-slider-vertical .ui-slider-range{left:0;width:100%}.ui-slider-vertical .ui-slider-range-min{bottom:0}.ui-slider-vertical .ui-slider-range-max{top:0}.ui-spinner{position:relative;display:inline-block;overflow:hidden;padding:0;vertical-align:middle}.ui-spinner-input{border:0;background:0 0;color:inherit;padding:0;margin:.2em 0;vertical-align:middle;margin-left:.4em;margin-right:22px}.ui-spinner-button{width:16px;height:50%;font-size:.5em;padding:0;margin:0;text-align:center;position:absolute;cursor:default;display:block;overflow:hidden;right:0}.ui-spinner a.ui-spinner-button{border-top:0;border-bottom:0;border-right:0}.ui-spinner .ui-icon{position:absolute;margin-top:-8px;top:50%;left:0}.ui-spinner-up{top:0}.ui-spinner-down{bottom:0}.ui-spinner .ui-icon-triangle-1-s{background-position:-65px -16px}.ui-tabs{position:relative;padding:.2em}.ui-tabs .ui-tabs-nav{margin:0;padding:.2em .2em 0}.ui-tabs .ui-tabs-nav li{list-style:none;float:left;position:relative;top:0;margin:1px .2em 0 0;border-bottom-width:0;padding:0;white-space:nowrap}.ui-tabs .ui-tabs-nav .ui-tabs-anchor{float:left;padding:.5em 1em;text-decoration:none}.ui-tabs .ui-tabs-nav li.ui-tabs-active{margin-bottom:-1px;padding-bottom:1px}.ui-tabs .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor,.ui-tabs .ui-tabs-nav li.ui-state-disabled .ui-tabs-anchor,.ui-tabs .ui-tabs-nav li.ui-tabs-loading .ui-tabs-anchor{cursor:text}.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor{cursor:pointer}.ui-tabs .ui-tabs-panel{display:block;border-width:0;padding:1em 1.4em;background:0 0}.ui-tooltip{padding:8px;position:absolute;z-index:9999;max-width:300px;-webkit-box-shadow:0 0 5px #aaa;box-shadow:0 0 5px #aaa}body .ui-tooltip{border-width:2px}.ui-widget{font-family:Verdana,Arial,sans-serif;font-size:1.1em}.ui-widget .ui-widget{font-size:1em}.ui-widget input,.ui-widget select,.ui-widget textarea,.ui-widget button{font-family:Verdana,Arial,sans-serif;font-size:1em}.ui-widget-content{border:1px solid #aaa;background:#fff url(../img/jquery-ui/ui-bg_flat_75_ffffff_40x100.png) 50% 50% repeat-x;color:#222}.ui-widget-content a{color:#222}.ui-widget-header{border:1px solid #aaa;background:#ccc url(../img/jquery-ui/ui-bg_highlight-soft_75_cccccc_1x100.png) 50% 50% repeat-x;color:#222;font-weight:700}.ui-widget-header a{color:#222}.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default{border:1px solid #d3d3d3;background:#e6e6e6 url(../img/jquery-ui/ui-bg_glass_75_e6e6e6_1x400.png) 50% 50% repeat-x;font-weight:400;color:#555}.ui-state-default a,.ui-state-default a:link,.ui-state-default a:visited{color:#555;text-decoration:none}.ui-state-hover,.ui-widget-content .ui-state-hover,.ui-widget-header .ui-state-hover,.ui-state-focus,.ui-widget-content .ui-state-focus,.ui-widget-header .ui-state-focus{border:1px solid #999;background:#dadada url(../img/jquery-ui/ui-bg_glass_75_dadada_1x400.png) 50% 50% repeat-x;font-weight:400;color:#212121}.ui-state-hover a,.ui-state-hover a:hover,.ui-state-hover a:link,.ui-state-hover a:visited,.ui-state-focus a,.ui-state-focus a:hover,.ui-state-focus a:link,.ui-state-focus a:visited{color:#212121;text-decoration:none}.ui-state-active,.ui-widget-content .ui-state-active,.ui-widget-header .ui-state-active{border:1px solid #aaa;background:#fff url(../img/jquery-ui/ui-bg_glass_65_ffffff_1x400.png) 50% 50% repeat-x;font-weight:400;color:#212121}.ui-state-active a,.ui-state-active a:link,.ui-state-active a:visited{color:#212121;text-decoration:none}.ui-state-highlight,.ui-widget-content .ui-state-highlight,.ui-widget-header .ui-state-highlight{border:1px solid #fcefa1;background:#fbf9ee url(../img/jquery-ui/ui-bg_glass_55_fbf9ee_1x400.png) 50% 50% repeat-x;color:#363636}.ui-state-highlight a,.ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a{color:#363636}.ui-state-error,.ui-widget-content .ui-state-error,.ui-widget-header .ui-state-error{border:1px solid #cd0a0a;background:#fef1ec url(../img/jquery-ui/ui-bg_glass_95_fef1ec_1x400.png) 50% 50% repeat-x;color:#cd0a0a}.ui-state-error a,.ui-widget-content .ui-state-error a,.ui-widget-header .ui-state-error a{color:#cd0a0a}.ui-state-error-text,.ui-widget-content .ui-state-error-text,.ui-widget-header .ui-state-error-text{color:#cd0a0a}.ui-priority-primary,.ui-widget-content .ui-priority-primary,.ui-widget-header .ui-priority-primary{font-weight:700}.ui-priority-secondary,.ui-widget-content .ui-priority-secondary,.ui-widget-header .ui-priority-secondary{opacity:.7;filter:Alpha(Opacity=70);font-weight:400}.ui-state-disabled,.ui-widget-content .ui-state-disabled,.ui-widget-header .ui-state-disabled{opacity:.35;filter:Alpha(Opacity=35);background-image:none}.ui-state-disabled .ui-icon{filter:Alpha(Opacity=35)}.ui-icon{width:16px;height:16px}.ui-icon,.ui-widget-content .ui-icon{background-image:url(../img/jquery-ui/ui-icons_222222_256x240.png)}.ui-widget-header .ui-icon{background-image:url(../img/jquery-ui/ui-icons_222222_256x240.png)}.ui-state-default .ui-icon{background-image:url(../img/jquery-ui/ui-icons_888888_256x240.png)}.ui-state-hover .ui-icon,.ui-state-focus .ui-icon{background-image:url(../img/jquery-ui/ui-icons_454545_256x240.png)}.ui-state-active .ui-icon{background-image:url(../img/jquery-ui/ui-icons_454545_256x240.png)}.ui-state-highlight .ui-icon{background-image:url(../img/jquery-ui/ui-icons_2e83ff_256x240.png)}.ui-state-error .ui-icon,.ui-state-error-text .ui-icon{background-image:url(../img/jquery-ui/ui-icons_cd0a0a_256x240.png)}.ui-icon-blank{background-position:16px 16px}.ui-icon-carat-1-n{background-position:0 0}.ui-icon-carat-1-ne{background-position:-16px 0}.ui-icon-carat-1-e{background-position:-32px 0}.ui-icon-carat-1-se{background-position:-48px 0}.ui-icon-carat-1-s{background-position:-64px 0}.ui-icon-carat-1-sw{background-position:-80px 0}.ui-icon-carat-1-w{background-position:-96px 0}.ui-icon-carat-1-nw{background-position:-112px 0}.ui-icon-carat-2-n-s{background-position:-128px 0}.ui-icon-carat-2-e-w{background-position:-144px 0}.ui-icon-triangle-1-n{background-position:0 -16px}.ui-icon-triangle-1-ne{background-position:-16px -16px}.ui-icon-triangle-1-e{background-position:-32px -16px}.ui-icon-triangle-1-se{background-position:-48px -16px}.ui-icon-triangle-1-s{background-position:-64px -16px}.ui-icon-triangle-1-sw{background-position:-80px -16px}.ui-icon-triangle-1-w{background-position:-96px -16px}.ui-icon-triangle-1-nw{background-position:-112px -16px}.ui-icon-triangle-2-n-s{background-position:-128px -16px}.ui-icon-triangle-2-e-w{background-position:-144px -16px}.ui-icon-arrow-1-n{background-position:0 -32px}.ui-icon-arrow-1-ne{background-position:-16px -32px}.ui-icon-arrow-1-e{background-position:-32px -32px}.ui-icon-arrow-1-se{background-position:-48px -32px}.ui-icon-arrow-1-s{background-position:-64px -32px}.ui-icon-arrow-1-sw{background-position:-80px -32px}.ui-icon-arrow-1-w{background-position:-96px -32px}.ui-icon-arrow-1-nw{background-position:-112px -32px}.ui-icon-arrow-2-n-s{background-position:-128px -32px}.ui-icon-arrow-2-ne-sw{background-position:-144px -32px}.ui-icon-arrow-2-e-w{background-position:-160px -32px}.ui-icon-arrow-2-se-nw{background-position:-176px -32px}.ui-icon-arrowstop-1-n{background-position:-192px -32px}.ui-icon-arrowstop-1-e{background-position:-208px -32px}.ui-icon-arrowstop-1-s{background-position:-224px -32px}.ui-icon-arrowstop-1-w{background-position:-240px -32px}.ui-icon-arrowthick-1-n{background-position:0 -48px}.ui-icon-arrowthick-1-ne{background-position:-16px -48px}.ui-icon-arrowthick-1-e{background-position:-32px -48px}.ui-icon-arrowthick-1-se{background-position:-48px -48px}.ui-icon-arrowthick-1-s{background-position:-64px -48px}.ui-icon-arrowthick-1-sw{background-position:-80px -48px}.ui-icon-arrowthick-1-w{background-position:-96px -48px}.ui-icon-arrowthick-1-nw{background-position:-112px -48px}.ui-icon-arrowthick-2-n-s{background-position:-128px -48px}.ui-icon-arrowthick-2-ne-sw{background-position:-144px -48px}.ui-icon-arrowthick-2-e-w{background-position:-160px -48px}.ui-icon-arrowthick-2-se-nw{background-position:-176px -48px}.ui-icon-arrowthickstop-1-n{background-position:-192px -48px}.ui-icon-arrowthickstop-1-e{background-position:-208px -48px}.ui-icon-arrowthickstop-1-s{background-position:-224px -48px}.ui-icon-arrowthickstop-1-w{background-position:-240px -48px}.ui-icon-arrowreturnthick-1-w{background-position:0 -64px}.ui-icon-arrowreturnthick-1-n{background-position:-16px -64px}.ui-icon-arrowreturnthick-1-e{background-position:-32px -64px}.ui-icon-arrowreturnthick-1-s{background-position:-48px -64px}.ui-icon-arrowreturn-1-w{background-position:-64px -64px}.ui-icon-arrowreturn-1-n{background-position:-80px -64px}.ui-icon-arrowreturn-1-e{background-position:-96px -64px}.ui-icon-arrowreturn-1-s{background-position:-112px -64px}.ui-icon-arrowrefresh-1-w{background-position:-128px -64px}.ui-icon-arrowrefresh-1-n{background-position:-144px -64px}.ui-icon-arrowrefresh-1-e{background-position:-160px -64px}.ui-icon-arrowrefresh-1-s{background-position:-176px -64px}.ui-icon-arrow-4{background-position:0 -80px}.ui-icon-arrow-4-diag{background-position:-16px -80px}.ui-icon-extlink{background-position:-32px -80px}.ui-icon-newwin{background-position:-48px -80px}.ui-icon-refresh{background-position:-64px -80px}.ui-icon-shuffle{background-position:-80px -80px}.ui-icon-transfer-e-w{background-position:-96px -80px}.ui-icon-transferthick-e-w{background-position:-112px -80px}.ui-icon-folder-collapsed{background-position:0 -96px}.ui-icon-folder-open{background-position:-16px -96px}.ui-icon-document{background-position:-32px -96px}.ui-icon-document-b{background-position:-48px -96px}.ui-icon-note{background-position:-64px -96px}.ui-icon-mail-closed{background-position:-80px -96px}.ui-icon-mail-open{background-position:-96px -96px}.ui-icon-suitcase{background-position:-112px -96px}.ui-icon-comment{background-position:-128px -96px}.ui-icon-person{background-position:-144px -96px}.ui-icon-print{background-position:-160px -96px}.ui-icon-trash{background-position:-176px -96px}.ui-icon-locked{background-position:-192px -96px}.ui-icon-unlocked{background-position:-208px -96px}.ui-icon-bookmark{background-position:-224px -96px}.ui-icon-tag{background-position:-240px -96px}.ui-icon-home{background-position:0 -112px}.ui-icon-flag{background-position:-16px -112px}.ui-icon-calendar{background-position:-32px -112px}.ui-icon-cart{background-position:-48px -112px}.ui-icon-pencil{background-position:-64px -112px}.ui-icon-clock{background-position:-80px -112px}.ui-icon-disk{background-position:-96px -112px}.ui-icon-calculator{background-position:-112px -112px}.ui-icon-zoomin{background-position:-128px -112px}.ui-icon-zoomout{background-position:-144px -112px}.ui-icon-search{background-position:-160px -112px}.ui-icon-wrench{background-position:-176px -112px}.ui-icon-gear{background-position:-192px -112px}.ui-icon-heart{background-position:-208px -112px}.ui-icon-star{background-position:-224px -112px}.ui-icon-link{background-position:-240px -112px}.ui-icon-cancel{background-position:0 -128px}.ui-icon-plus{background-position:-16px -128px}.ui-icon-plusthick{background-position:-32px -128px}.ui-icon-minus{background-position:-48px -128px}.ui-icon-minusthick{background-position:-64px -128px}.ui-icon-close{background-position:-80px -128px}.ui-icon-closethick{background-position:-96px -128px}.ui-icon-key{background-position:-112px -128px}.ui-icon-lightbulb{background-position:-128px -128px}.ui-icon-scissors{background-position:-144px -128px}.ui-icon-clipboard{background-position:-160px -128px}.ui-icon-copy{background-position:-176px -128px}.ui-icon-contact{background-position:-192px -128px}.ui-icon-image{background-position:-208px -128px}.ui-icon-video{background-position:-224px -128px}.ui-icon-script{background-position:-240px -128px}.ui-icon-alert{background-position:0 -144px}.ui-icon-info{background-position:-16px -144px}.ui-icon-notice{background-position:-32px -144px}.ui-icon-help{background-position:-48px -144px}.ui-icon-check{background-position:-64px -144px}.ui-icon-bullet{background-position:-80px -144px}.ui-icon-radio-on{background-position:-96px -144px}.ui-icon-radio-off{background-position:-112px -144px}.ui-icon-pin-w{background-position:-128px -144px}.ui-icon-pin-s{background-position:-144px -144px}.ui-icon-play{background-position:0 -160px}.ui-icon-pause{background-position:-16px -160px}.ui-icon-seek-next{background-position:-32px -160px}.ui-icon-seek-prev{background-position:-48px -160px}.ui-icon-seek-end{background-position:-64px -160px}.ui-icon-seek-start{background-position:-80px -160px}.ui-icon-seek-first{background-position:-80px -160px}.ui-icon-stop{background-position:-96px -160px}.ui-icon-eject{background-position:-112px -160px}.ui-icon-volume-off{background-position:-128px -160px}.ui-icon-volume-on{background-position:-144px -160px}.ui-icon-power{background-position:0 -176px}.ui-icon-signal-diag{background-position:-16px -176px}.ui-icon-signal{background-position:-32px -176px}.ui-icon-battery-0{background-position:-48px -176px}.ui-icon-battery-1{background-position:-64px -176px}.ui-icon-battery-2{background-position:-80px -176px}.ui-icon-battery-3{background-position:-96px -176px}.ui-icon-circle-plus{background-position:0 -192px}.ui-icon-circle-minus{background-position:-16px -192px}.ui-icon-circle-close{background-position:-32px -192px}.ui-icon-circle-triangle-e{background-position:-48px -192px}.ui-icon-circle-triangle-s{background-position:-64px -192px}.ui-icon-circle-triangle-w{background-position:-80px -192px}.ui-icon-circle-triangle-n{background-position:-96px -192px}.ui-icon-circle-arrow-e{background-position:-112px -192px}.ui-icon-circle-arrow-s{background-position:-128px -192px}.ui-icon-circle-arrow-w{background-position:-144px -192px}.ui-icon-circle-arrow-n{background-position:-160px -192px}.ui-icon-circle-zoomin{background-position:-176px -192px}.ui-icon-circle-zoomout{background-position:-192px -192px}.ui-icon-circle-check{background-position:-208px -192px}.ui-icon-circlesmall-plus{background-position:0 -208px}.ui-icon-circlesmall-minus{background-position:-16px -208px}.ui-icon-circlesmall-close{background-position:-32px -208px}.ui-icon-squaresmall-plus{background-position:-48px -208px}.ui-icon-squaresmall-minus{background-position:-64px -208px}.ui-icon-squaresmall-close{background-position:-80px -208px}.ui-icon-grip-dotted-vertical{background-position:0 -224px}.ui-icon-grip-dotted-horizontal{background-position:-16px -224px}.ui-icon-grip-solid-vertical{background-position:-32px -224px}.ui-icon-grip-solid-horizontal{background-position:-48px -224px}.ui-icon-gripsmall-diagonal-se{background-position:-64px -224px}.ui-icon-grip-diagonal-se{background-position:-80px -224px}.ui-corner-all,.ui-corner-top,.ui-corner-left,.ui-corner-tl{border-top-left-radius:4px}.ui-corner-all,.ui-corner-top,.ui-corner-right,.ui-corner-tr{border-top-right-radius:4px}.ui-corner-all,.ui-corner-bottom,.ui-corner-left,.ui-corner-bl{border-bottom-left-radius:4px}.ui-corner-all,.ui-corner-bottom,.ui-corner-right,.ui-corner-br{border-bottom-right-radius:4px}.ui-widget-overlay{background:#aaa url(../img/jquery-ui/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x;opacity:.3;filter:Alpha(Opacity=30)}.ui-widget-shadow{margin:-8px 0 0 -8px;padding:8px;background:#aaa url(../img/jquery-ui/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x;opacity:.3;filter:Alpha(Opacity=30);border-radius:8px}
|
inc/external/wpmu-lib/css/{select2.css → select2.2.css}
RENAMED
@@ -131,6 +131,7 @@ html[dir="rtl"] .select2-container .select2-choice > .select2-chosen {
|
|
131 |
|
132 |
.select2-drop {
|
133 |
width: 100%;
|
|
|
134 |
margin-top: -1px;
|
135 |
position: absolute;
|
136 |
z-index: 9999;
|
131 |
|
132 |
.select2-drop {
|
133 |
width: 100%;
|
134 |
+
max-width: 80%;
|
135 |
margin-top: -1px;
|
136 |
position: absolute;
|
137 |
z-index: 9999;
|
inc/external/wpmu-lib/css/select2.2.min.css
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*! WPMU Dev code library - v2.0.3
|
2 |
+
* http://premium.wpmudev.org/
|
3 |
+
* Copyright (c) 2015; * Licensed GPLv2+ */
|
4 |
+
|
5 |
+
.select2-container{margin:0;position:relative;display:inline-block;zoom:1;*display:inline;vertical-align:middle}.select2-container,.select2-drop,.select2-search,.select2-search input{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.select2-container .select2-choice{display:block;height:26px;padding:0 0 0 8px;overflow:hidden;position:relative;border:1px solid #aaa;white-space:nowrap;line-height:26px;color:#444;text-decoration:none;border-radius:4px;background-clip:padding-box;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:#fff;background-image:-webkit-gradient(linear,left bottom,left top,color-stop(0,#eee),color-stop(0.5,#fff));background-image:-webkit-linear-gradient(center bottom,#eee 0,#fff 50%);background-image:-moz-linear-gradient(center bottom,#eee 0,#fff 50%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#eeeeee', GradientType=0);background-image:linear-gradient(to top,#eee 0,#fff 50%)}html[dir=rtl] .select2-container .select2-choice{padding:0 8px 0 0}.select2-container.select2-drop-above .select2-choice{border-bottom-color:#aaa;border-radius:0 0 4px 4px;background-image:-webkit-gradient(linear,left bottom,left top,color-stop(0,#eee),color-stop(0.9,#fff));background-image:-webkit-linear-gradient(center bottom,#eee 0,#fff 90%);background-image:-moz-linear-gradient(center bottom,#eee 0,#fff 90%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#eeeeee', GradientType=0);background-image:linear-gradient(to bottom,#eee 0,#fff 90%)}.select2-container.select2-allowclear .select2-choice .select2-chosen{margin-right:42px}.select2-container .select2-choice>.select2-chosen{margin-right:26px;display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;float:none;width:auto}html[dir=rtl] .select2-container .select2-choice>.select2-chosen{margin-left:26px;margin-right:0}.select2-container .select2-choice abbr{display:none;width:12px;height:12px;position:absolute;right:24px;top:8px;font-size:1px;text-decoration:none;border:0;background:url(../img/select2.png) right top no-repeat;cursor:pointer;outline:0}.select2-container.select2-allowclear .select2-choice abbr{display:inline-block}.select2-container .select2-choice abbr:hover{background-position:right -11px;cursor:pointer}.select2-drop-mask{border:0;margin:0;padding:0;position:fixed;left:0;top:0;min-height:100%;min-width:100%;height:auto;width:auto;opacity:0;z-index:9998;background-color:#fff;filter:alpha(opacity=0)}.select2-drop{width:100%;max-width:80%;margin-top:-1px;position:absolute;z-index:9999;top:100%;background:#fff;color:#000;border:1px solid #aaa;border-top:0;border-radius:0 0 4px 4px;-webkit-box-shadow:0 4px 5px rgba(0,0,0,.15);box-shadow:0 4px 5px rgba(0,0,0,.15)}.select2-drop.select2-drop-above{margin-top:1px;border-top:1px solid #aaa;border-bottom:0;border-radius:4px 4px 0 0;-webkit-box-shadow:0 -4px 5px rgba(0,0,0,.15);box-shadow:0 -4px 5px rgba(0,0,0,.15)}.select2-drop-active{border:1px solid #5897fb;border-top:0}.select2-drop.select2-drop-above.select2-drop-active{border-top:1px solid #5897fb}.select2-drop-auto-width{border-top:1px solid #aaa;width:auto}.select2-drop-auto-width .select2-search{padding-top:4px}.select2-container .select2-choice .select2-arrow{display:inline-block;width:18px;height:100%;position:absolute;right:0;top:0;border-left:1px solid #aaa;border-radius:0 4px 4px 0;background-clip:padding-box;background:#ccc;background-image:-webkit-gradient(linear,left bottom,left top,color-stop(0,#ccc),color-stop(0.6,#eee));background-image:-webkit-linear-gradient(center bottom,#ccc 0,#eee 60%);background-image:-moz-linear-gradient(center bottom,#ccc 0,#eee 60%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#cccccc', GradientType=0);background-image:linear-gradient(to top,#ccc 0,#eee 60%)}html[dir=rtl] .select2-container .select2-choice .select2-arrow{left:0;right:auto;border-left:0;border-right:1px solid #aaa;border-radius:4px 0 0 4px}.select2-container .select2-choice .select2-arrow b{display:block;width:100%;height:100%;background:url(../img/select2.png) no-repeat 0 1px}html[dir=rtl] .select2-container .select2-choice .select2-arrow b{background-position:2px 1px}.select2-search{display:inline-block;width:100%;min-height:26px;margin:0;padding-left:4px;padding-right:4px;position:relative;z-index:10000;white-space:nowrap}.select2-search input{width:100%;height:auto!important;min-height:26px;padding:4px 20px 4px 5px;margin:0;outline:0;font-family:sans-serif;font-size:1em;border:1px solid #aaa;border-radius:0;-webkit-box-shadow:none;box-shadow:none;background:#fff url(../img/select2.png) no-repeat 100% -22px;background:url(../img/select2.png) no-repeat 100% -22px,-webkit-gradient(linear,left bottom,left top,color-stop(0.85,#fff),color-stop(0.99,#eee));background:url(../img/select2.png) no-repeat 100% -22px,-webkit-linear-gradient(center bottom,#fff 85%,#eee 99%);background:url(../img/select2.png) no-repeat 100% -22px,-moz-linear-gradient(center bottom,#fff 85%,#eee 99%);background:url(../img/select2.png) no-repeat 100% -22px,linear-gradient(to bottom,#fff 85%,#eee 99%) 0 0}html[dir=rtl] .select2-search input{padding:4px 5px 4px 20px;background:#fff url(../img/select2.png) no-repeat -37px -22px;background:url(../img/select2.png) no-repeat -37px -22px,-webkit-gradient(linear,left bottom,left top,color-stop(0.85,#fff),color-stop(0.99,#eee));background:url(../img/select2.png) no-repeat -37px -22px,-webkit-linear-gradient(center bottom,#fff 85%,#eee 99%);background:url(../img/select2.png) no-repeat -37px -22px,-moz-linear-gradient(center bottom,#fff 85%,#eee 99%);background:url(../img/select2.png) no-repeat -37px -22px,linear-gradient(to bottom,#fff 85%,#eee 99%) 0 0}.select2-drop.select2-drop-above .select2-search input{margin-top:4px}.select2-search input.select2-active{background:#fff url(../img/spinner.gif) no-repeat 100%;background:url(../img/spinner.gif) no-repeat 100%,-webkit-gradient(linear,left bottom,left top,color-stop(0.85,#fff),color-stop(0.99,#eee));background:url(../img/spinner.gif) no-repeat 100%,-webkit-linear-gradient(center bottom,#fff 85%,#eee 99%);background:url(../img/spinner.gif) no-repeat 100%,-moz-linear-gradient(center bottom,#fff 85%,#eee 99%);background:url(../img/spinner.gif) no-repeat 100%,linear-gradient(to bottom,#fff 85%,#eee 99%) 0 0}.select2-container-active .select2-choice,.select2-container-active .select2-choices{border:1px solid #5897fb;outline:0;-webkit-box-shadow:0 0 5px rgba(0,0,0,.3);box-shadow:0 0 5px rgba(0,0,0,.3)}.select2-dropdown-open .select2-choice{border-bottom-color:transparent;-webkit-box-shadow:0 1px 0 #fff inset;box-shadow:0 1px 0 #fff inset;border-bottom-left-radius:0;border-bottom-right-radius:0;background-color:#eee;background-image:-webkit-gradient(linear,left bottom,left top,color-stop(0,#fff),color-stop(0.5,#eee));background-image:-webkit-linear-gradient(center bottom,#fff 0,#eee 50%);background-image:-moz-linear-gradient(center bottom,#fff 0,#eee 50%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#ffffff', GradientType=0);background-image:linear-gradient(to top,#fff 0,#eee 50%)}.select2-dropdown-open.select2-drop-above .select2-choice,.select2-dropdown-open.select2-drop-above .select2-choices{border:1px solid #5897fb;border-top-color:transparent;background-image:-webkit-gradient(linear,left top,left bottom,color-stop(0,#fff),color-stop(0.5,#eee));background-image:-webkit-linear-gradient(center top,#fff 0,#eee 50%);background-image:-moz-linear-gradient(center top,#fff 0,#eee 50%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#ffffff', GradientType=0);background-image:linear-gradient(to bottom,#fff 0,#eee 50%)}.select2-dropdown-open .select2-choice .select2-arrow{background:transparent;border-left:0;filter:none}html[dir=rtl] .select2-dropdown-open .select2-choice .select2-arrow{border-right:0}.select2-dropdown-open .select2-choice .select2-arrow b{background-position:-18px 1px}html[dir=rtl] .select2-dropdown-open .select2-choice .select2-arrow b{background-position:-16px 1px}.select2-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.select2-results{max-height:200px;padding:0 0 0 4px;margin:4px 4px 4px 0;position:relative;overflow-x:hidden;overflow-y:auto;-webkit-tap-highlight-color:transparent}html[dir=rtl] .select2-results{padding:0 4px 0 0;margin:4px 0 4px 4px}.select2-results ul.select2-result-sub{margin:0;padding-left:0}.select2-results li{list-style:none;display:list-item;background-image:none}.select2-results li.select2-result-with-children>.select2-result-label{font-weight:700}.select2-results .select2-result-label{padding:3px 7px 4px;margin:0;cursor:pointer;min-height:1em;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.select2-results-dept-1 .select2-result-label{padding-left:20px}.select2-results-dept-2 .select2-result-label{padding-left:40px}.select2-results-dept-3 .select2-result-label{padding-left:60px}.select2-results-dept-4 .select2-result-label{padding-left:80px}.select2-results-dept-5 .select2-result-label{padding-left:100px}.select2-results-dept-6 .select2-result-label{padding-left:110px}.select2-results-dept-7 .select2-result-label{padding-left:120px}.select2-results .select2-highlighted{background:#3875d7;color:#fff}.select2-results li em{background:#feffde;font-style:normal}.select2-results .select2-highlighted em{background:transparent}.select2-results .select2-highlighted ul{background:#fff;color:#000}.select2-results .select2-no-results,.select2-results .select2-searching,.select2-results .select2-selection-limit{background:#f4f4f4;display:list-item;padding-left:5px}.select2-results .select2-disabled.select2-highlighted{color:#666;background:#f4f4f4;display:list-item;cursor:default}.select2-results .select2-disabled{background:#f4f4f4;display:list-item;cursor:default}.select2-results .select2-selected{display:none}.select2-more-results.select2-active{background:#f4f4f4 url(../img/spinner.gif) no-repeat 100%}.select2-more-results{background:#f4f4f4;display:list-item}.select2-container.select2-container-disabled .select2-choice{background-color:#f4f4f4;background-image:none;border:1px solid #ddd;cursor:default}.select2-container.select2-container-disabled .select2-choice .select2-arrow{background-color:#f4f4f4;background-image:none;border-left:0}.select2-container.select2-container-disabled .select2-choice abbr{display:none}.select2-container-multi .select2-choices{height:auto!important;height:1%;margin:0;padding:0 5px 0 0;position:relative;border:1px solid #aaa;cursor:text;overflow:hidden;background-color:#fff;background-image:-webkit-gradient(linear,0 0,0 100%,color-stop(1%,#eee),color-stop(15%,#fff));background-image:-webkit-linear-gradient(top,#eee 1%,#fff 15%);background-image:-moz-linear-gradient(top,#eee 1%,#fff 15%);background-image:linear-gradient(to bottom,#eee 1%,#fff 15%)}html[dir=rtl] .select2-container-multi .select2-choices{padding:0 0 0 5px}.select2-locked{padding:3px 5px!important}.select2-container-multi .select2-choices{min-height:26px}.select2-container-multi.select2-container-active .select2-choices{border:1px solid #5897fb;outline:0;-webkit-box-shadow:0 0 5px rgba(0,0,0,.3);box-shadow:0 0 5px rgba(0,0,0,.3)}.select2-container-multi .select2-choices li{float:left;list-style:none}html[dir=rtl] .select2-container-multi .select2-choices li{float:right}.select2-container-multi .select2-choices .select2-search-field{margin:0;padding:0;white-space:nowrap}.select2-container-multi .select2-choices .select2-search-field input{padding:5px;margin:1px 0;font-family:sans-serif;font-size:100%;color:#666;outline:0;border:0;-webkit-box-shadow:none;box-shadow:none;background:transparent!important}.select2-container-multi .select2-choices .select2-search-field input.select2-active{background:#fff url(../img/spinner.gif) no-repeat 100%!important}.select2-default{color:#999!important}.select2-container-multi .select2-choices .select2-search-choice{padding:3px 5px 3px 18px;margin:3px 0 3px 5px;position:relative;line-height:13px;color:#333;cursor:default;border:1px solid #aaa;border-radius:3px;-webkit-box-shadow:0 0 2px #fff inset,0 1px 0 rgba(0,0,0,.05);box-shadow:0 0 2px #fff inset,0 1px 0 rgba(0,0,0,.05);background-clip:padding-box;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:#e4e4e4;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#f4f4f4', GradientType=0);background-image:-webkit-gradient(linear,0 0,0 100%,color-stop(20%,#f4f4f4),color-stop(50%,#f0f0f0),color-stop(52%,#e8e8e8),color-stop(100%,#eee));background-image:-webkit-linear-gradient(top,#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);background-image:-moz-linear-gradient(top,#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);background-image:linear-gradient(to top,#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%)}html[dir=rtl] .select2-container-multi .select2-choices .select2-search-choice{margin:3px 5px 3px 0;padding:3px 18px 3px 5px}.select2-container-multi .select2-choices .select2-search-choice .select2-chosen{cursor:default}.select2-container-multi .select2-choices .select2-search-choice-focus{background:#d4d4d4}.select2-search-choice-close{display:block;width:12px;height:13px;position:absolute;right:3px;top:4px;font-size:1px;outline:0;background:url(../img/select2.png) right top no-repeat}html[dir=rtl] .select2-search-choice-close{right:auto;left:3px}.select2-container-multi .select2-search-choice-close{left:3px}html[dir=rtl] .select2-container-multi .select2-search-choice-close{left:auto;right:2px}.select2-container-multi .select2-choices .select2-search-choice .select2-search-choice-close:hover{background-position:right -11px}.select2-container-multi .select2-choices .select2-search-choice-focus .select2-search-choice-close{background-position:right -11px}.select2-container-multi.select2-container-disabled .select2-choices{background-color:#f4f4f4;background-image:none;border:1px solid #ddd;cursor:default}.select2-container-multi.select2-container-disabled .select2-choices .select2-search-choice{padding:3px 5px;border:1px solid #ddd;background-image:none;background-color:#f4f4f4}.select2-container-multi.select2-container-disabled .select2-choices .select2-search-choice .select2-search-choice-close{display:none;background:0 0}.select2-result-selectable .select2-match,.select2-result-unselectable .select2-match{text-decoration:underline}.select2-offscreen,.select2-offscreen:focus{clip:rect(0 0 0 0)!important;width:1px!important;height:1px!important;border:0!important;margin:0!important;padding:0!important;overflow:hidden!important;position:absolute!important;outline:0!important;left:0!important;top:0!important}.select2-display-none{display:none}.select2-measure-scrollbar{position:absolute;top:-10000px;left:-10000px;width:100px;height:100px;overflow:scroll}@media only screen and (-webkit-min-device-pixel-ratio:1.5),only screen and (min-resolution:2dppx){.select2-search input,.select2-search-choice-close,.select2-container .select2-choice abbr,.select2-container .select2-choice .select2-arrow b{background-image:url(../img/select2x2.png)!important;background-repeat:no-repeat!important;background-size:60px 40px!important}.select2-search input{background-position:100% -21px!important}}
|
inc/external/wpmu-lib/css/select2.min.css
DELETED
@@ -1,5 +0,0 @@
|
|
1 |
-
/*! WPMU Dev code library - v1.1.1
|
2 |
-
* http://premium.wpmudev.org/
|
3 |
-
* Copyright (c) 2014; * Licensed GPLv2+ */
|
4 |
-
|
5 |
-
.select2-container{margin:0;position:relative;display:inline-block;zoom:1;*display:inline;vertical-align:middle}.select2-container,.select2-drop,.select2-search,.select2-search input{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.select2-container .select2-choice{display:block;height:26px;padding:0 0 0 8px;overflow:hidden;position:relative;border:1px solid #aaa;white-space:nowrap;line-height:26px;color:#444;text-decoration:none;border-radius:4px;background-clip:padding-box;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:#fff;background-image:-webkit-gradient(linear,left bottom,left top,color-stop(0,#eee),color-stop(0.5,#fff));background-image:-webkit-linear-gradient(center bottom,#eee 0,#fff 50%);background-image:-moz-linear-gradient(center bottom,#eee 0,#fff 50%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#eeeeee', GradientType=0);background-image:linear-gradient(to top,#eee 0,#fff 50%)}html[dir=rtl] .select2-container .select2-choice{padding:0 8px 0 0}.select2-container.select2-drop-above .select2-choice{border-bottom-color:#aaa;border-radius:0 0 4px 4px;background-image:-webkit-gradient(linear,left bottom,left top,color-stop(0,#eee),color-stop(0.9,#fff));background-image:-webkit-linear-gradient(center bottom,#eee 0,#fff 90%);background-image:-moz-linear-gradient(center bottom,#eee 0,#fff 90%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#eeeeee', GradientType=0);background-image:linear-gradient(to bottom,#eee 0,#fff 90%)}.select2-container.select2-allowclear .select2-choice .select2-chosen{margin-right:42px}.select2-container .select2-choice>.select2-chosen{margin-right:26px;display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;float:none;width:auto}html[dir=rtl] .select2-container .select2-choice>.select2-chosen{margin-left:26px;margin-right:0}.select2-container .select2-choice abbr{display:none;width:12px;height:12px;position:absolute;right:24px;top:8px;font-size:1px;text-decoration:none;border:0;background:url(../img/select2.png) right top no-repeat;cursor:pointer;outline:0}.select2-container.select2-allowclear .select2-choice abbr{display:inline-block}.select2-container .select2-choice abbr:hover{background-position:right -11px;cursor:pointer}.select2-drop-mask{border:0;margin:0;padding:0;position:fixed;left:0;top:0;min-height:100%;min-width:100%;height:auto;width:auto;opacity:0;z-index:9998;background-color:#fff;filter:alpha(opacity=0)}.select2-drop{width:100%;margin-top:-1px;position:absolute;z-index:9999;top:100%;background:#fff;color:#000;border:1px solid #aaa;border-top:0;border-radius:0 0 4px 4px;-webkit-box-shadow:0 4px 5px rgba(0,0,0,.15);box-shadow:0 4px 5px rgba(0,0,0,.15)}.select2-drop.select2-drop-above{margin-top:1px;border-top:1px solid #aaa;border-bottom:0;border-radius:4px 4px 0 0;-webkit-box-shadow:0 -4px 5px rgba(0,0,0,.15);box-shadow:0 -4px 5px rgba(0,0,0,.15)}.select2-drop-active{border:1px solid #5897fb;border-top:0}.select2-drop.select2-drop-above.select2-drop-active{border-top:1px solid #5897fb}.select2-drop-auto-width{border-top:1px solid #aaa;width:auto}.select2-drop-auto-width .select2-search{padding-top:4px}.select2-container .select2-choice .select2-arrow{display:inline-block;width:18px;height:100%;position:absolute;right:0;top:0;border-left:1px solid #aaa;border-radius:0 4px 4px 0;background-clip:padding-box;background:#ccc;background-image:-webkit-gradient(linear,left bottom,left top,color-stop(0,#ccc),color-stop(0.6,#eee));background-image:-webkit-linear-gradient(center bottom,#ccc 0,#eee 60%);background-image:-moz-linear-gradient(center bottom,#ccc 0,#eee 60%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#cccccc', GradientType=0);background-image:linear-gradient(to top,#ccc 0,#eee 60%)}html[dir=rtl] .select2-container .select2-choice .select2-arrow{left:0;right:auto;border-left:0;border-right:1px solid #aaa;border-radius:4px 0 0 4px}.select2-container .select2-choice .select2-arrow b{display:block;width:100%;height:100%;background:url(../img/select2.png) no-repeat 0 1px}html[dir=rtl] .select2-container .select2-choice .select2-arrow b{background-position:2px 1px}.select2-search{display:inline-block;width:100%;min-height:26px;margin:0;padding-left:4px;padding-right:4px;position:relative;z-index:10000;white-space:nowrap}.select2-search input{width:100%;height:auto!important;min-height:26px;padding:4px 20px 4px 5px;margin:0;outline:0;font-family:sans-serif;font-size:1em;border:1px solid #aaa;border-radius:0;-webkit-box-shadow:none;box-shadow:none;background:#fff url(../img/select2.png) no-repeat 100% -22px;background:url(../img/select2.png) no-repeat 100% -22px,-webkit-gradient(linear,left bottom,left top,color-stop(0.85,#fff),color-stop(0.99,#eee));background:url(../img/select2.png) no-repeat 100% -22px,-webkit-linear-gradient(center bottom,#fff 85%,#eee 99%);background:url(../img/select2.png) no-repeat 100% -22px,-moz-linear-gradient(center bottom,#fff 85%,#eee 99%);background:url(../img/select2.png) no-repeat 100% -22px,linear-gradient(to bottom,#fff 85%,#eee 99%) 0 0}html[dir=rtl] .select2-search input{padding:4px 5px 4px 20px;background:#fff url(../img/select2.png) no-repeat -37px -22px;background:url(../img/select2.png) no-repeat -37px -22px,-webkit-gradient(linear,left bottom,left top,color-stop(0.85,#fff),color-stop(0.99,#eee));background:url(../img/select2.png) no-repeat -37px -22px,-webkit-linear-gradient(center bottom,#fff 85%,#eee 99%);background:url(../img/select2.png) no-repeat -37px -22px,-moz-linear-gradient(center bottom,#fff 85%,#eee 99%);background:url(../img/select2.png) no-repeat -37px -22px,linear-gradient(to bottom,#fff 85%,#eee 99%) 0 0}.select2-drop.select2-drop-above .select2-search input{margin-top:4px}.select2-search input.select2-active{background:#fff url(../img/spinner.gif) no-repeat 100%;background:url(../img/spinner.gif) no-repeat 100%,-webkit-gradient(linear,left bottom,left top,color-stop(0.85,#fff),color-stop(0.99,#eee));background:url(../img/spinner.gif) no-repeat 100%,-webkit-linear-gradient(center bottom,#fff 85%,#eee 99%);background:url(../img/spinner.gif) no-repeat 100%,-moz-linear-gradient(center bottom,#fff 85%,#eee 99%);background:url(../img/spinner.gif) no-repeat 100%,linear-gradient(to bottom,#fff 85%,#eee 99%) 0 0}.select2-container-active .select2-choice,.select2-container-active .select2-choices{border:1px solid #5897fb;outline:0;-webkit-box-shadow:0 0 5px rgba(0,0,0,.3);box-shadow:0 0 5px rgba(0,0,0,.3)}.select2-dropdown-open .select2-choice{border-bottom-color:transparent;-webkit-box-shadow:0 1px 0 #fff inset;box-shadow:0 1px 0 #fff inset;border-bottom-left-radius:0;border-bottom-right-radius:0;background-color:#eee;background-image:-webkit-gradient(linear,left bottom,left top,color-stop(0,#fff),color-stop(0.5,#eee));background-image:-webkit-linear-gradient(center bottom,#fff 0,#eee 50%);background-image:-moz-linear-gradient(center bottom,#fff 0,#eee 50%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#ffffff', GradientType=0);background-image:linear-gradient(to top,#fff 0,#eee 50%)}.select2-dropdown-open.select2-drop-above .select2-choice,.select2-dropdown-open.select2-drop-above .select2-choices{border:1px solid #5897fb;border-top-color:transparent;background-image:-webkit-gradient(linear,left top,left bottom,color-stop(0,#fff),color-stop(0.5,#eee));background-image:-webkit-linear-gradient(center top,#fff 0,#eee 50%);background-image:-moz-linear-gradient(center top,#fff 0,#eee 50%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#ffffff', GradientType=0);background-image:linear-gradient(to bottom,#fff 0,#eee 50%)}.select2-dropdown-open .select2-choice .select2-arrow{background:transparent;border-left:0;filter:none}html[dir=rtl] .select2-dropdown-open .select2-choice .select2-arrow{border-right:0}.select2-dropdown-open .select2-choice .select2-arrow b{background-position:-18px 1px}html[dir=rtl] .select2-dropdown-open .select2-choice .select2-arrow b{background-position:-16px 1px}.select2-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.select2-results{max-height:200px;padding:0 0 0 4px;margin:4px 4px 4px 0;position:relative;overflow-x:hidden;overflow-y:auto;-webkit-tap-highlight-color:transparent}html[dir=rtl] .select2-results{padding:0 4px 0 0;margin:4px 0 4px 4px}.select2-results ul.select2-result-sub{margin:0;padding-left:0}.select2-results li{list-style:none;display:list-item;background-image:none}.select2-results li.select2-result-with-children>.select2-result-label{font-weight:700}.select2-results .select2-result-label{padding:3px 7px 4px;margin:0;cursor:pointer;min-height:1em;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.select2-results-dept-1 .select2-result-label{padding-left:20px}.select2-results-dept-2 .select2-result-label{padding-left:40px}.select2-results-dept-3 .select2-result-label{padding-left:60px}.select2-results-dept-4 .select2-result-label{padding-left:80px}.select2-results-dept-5 .select2-result-label{padding-left:100px}.select2-results-dept-6 .select2-result-label{padding-left:110px}.select2-results-dept-7 .select2-result-label{padding-left:120px}.select2-results .select2-highlighted{background:#3875d7;color:#fff}.select2-results li em{background:#feffde;font-style:normal}.select2-results .select2-highlighted em{background:transparent}.select2-results .select2-highlighted ul{background:#fff;color:#000}.select2-results .select2-no-results,.select2-results .select2-searching,.select2-results .select2-selection-limit{background:#f4f4f4;display:list-item;padding-left:5px}.select2-results .select2-disabled.select2-highlighted{color:#666;background:#f4f4f4;display:list-item;cursor:default}.select2-results .select2-disabled{background:#f4f4f4;display:list-item;cursor:default}.select2-results .select2-selected{display:none}.select2-more-results.select2-active{background:#f4f4f4 url(../img/spinner.gif) no-repeat 100%}.select2-more-results{background:#f4f4f4;display:list-item}.select2-container.select2-container-disabled .select2-choice{background-color:#f4f4f4;background-image:none;border:1px solid #ddd;cursor:default}.select2-container.select2-container-disabled .select2-choice .select2-arrow{background-color:#f4f4f4;background-image:none;border-left:0}.select2-container.select2-container-disabled .select2-choice abbr{display:none}.select2-container-multi .select2-choices{height:auto!important;height:1%;margin:0;padding:0 5px 0 0;position:relative;border:1px solid #aaa;cursor:text;overflow:hidden;background-color:#fff;background-image:-webkit-gradient(linear,0 0,0 100%,color-stop(1%,#eee),color-stop(15%,#fff));background-image:-webkit-linear-gradient(top,#eee 1%,#fff 15%);background-image:-moz-linear-gradient(top,#eee 1%,#fff 15%);background-image:linear-gradient(to bottom,#eee 1%,#fff 15%)}html[dir=rtl] .select2-container-multi .select2-choices{padding:0 0 0 5px}.select2-locked{padding:3px 5px!important}.select2-container-multi .select2-choices{min-height:26px}.select2-container-multi.select2-container-active .select2-choices{border:1px solid #5897fb;outline:0;-webkit-box-shadow:0 0 5px rgba(0,0,0,.3);box-shadow:0 0 5px rgba(0,0,0,.3)}.select2-container-multi .select2-choices li{float:left;list-style:none}html[dir=rtl] .select2-container-multi .select2-choices li{float:right}.select2-container-multi .select2-choices .select2-search-field{margin:0;padding:0;white-space:nowrap}.select2-container-multi .select2-choices .select2-search-field input{padding:5px;margin:1px 0;font-family:sans-serif;font-size:100%;color:#666;outline:0;border:0;-webkit-box-shadow:none;box-shadow:none;background:transparent!important}.select2-container-multi .select2-choices .select2-search-field input.select2-active{background:#fff url(../img/spinner.gif) no-repeat 100%!important}.select2-default{color:#999!important}.select2-container-multi .select2-choices .select2-search-choice{padding:3px 5px 3px 18px;margin:3px 0 3px 5px;position:relative;line-height:13px;color:#333;cursor:default;border:1px solid #aaa;border-radius:3px;-webkit-box-shadow:0 0 2px #fff inset,0 1px 0 rgba(0,0,0,.05);box-shadow:0 0 2px #fff inset,0 1px 0 rgba(0,0,0,.05);background-clip:padding-box;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:#e4e4e4;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#f4f4f4', GradientType=0);background-image:-webkit-gradient(linear,0 0,0 100%,color-stop(20%,#f4f4f4),color-stop(50%,#f0f0f0),color-stop(52%,#e8e8e8),color-stop(100%,#eee));background-image:-webkit-linear-gradient(top,#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);background-image:-moz-linear-gradient(top,#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);background-image:linear-gradient(to top,#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%)}html[dir=rtl] .select2-container-multi .select2-choices .select2-search-choice{margin:3px 5px 3px 0;padding:3px 18px 3px 5px}.select2-container-multi .select2-choices .select2-search-choice .select2-chosen{cursor:default}.select2-container-multi .select2-choices .select2-search-choice-focus{background:#d4d4d4}.select2-search-choice-close{display:block;width:12px;height:13px;position:absolute;right:3px;top:4px;font-size:1px;outline:0;background:url(../img/select2.png) right top no-repeat}html[dir=rtl] .select2-search-choice-close{right:auto;left:3px}.select2-container-multi .select2-search-choice-close{left:3px}html[dir=rtl] .select2-container-multi .select2-search-choice-close{left:auto;right:2px}.select2-container-multi .select2-choices .select2-search-choice .select2-search-choice-close:hover{background-position:right -11px}.select2-container-multi .select2-choices .select2-search-choice-focus .select2-search-choice-close{background-position:right -11px}.select2-container-multi.select2-container-disabled .select2-choices{background-color:#f4f4f4;background-image:none;border:1px solid #ddd;cursor:default}.select2-container-multi.select2-container-disabled .select2-choices .select2-search-choice{padding:3px 5px;border:1px solid #ddd;background-image:none;background-color:#f4f4f4}.select2-container-multi.select2-container-disabled .select2-choices .select2-search-choice .select2-search-choice-close{display:none;background:0 0}.select2-result-selectable .select2-match,.select2-result-unselectable .select2-match{text-decoration:underline}.select2-offscreen,.select2-offscreen:focus{clip:rect(0 0 0 0)!important;width:1px!important;height:1px!important;border:0!important;margin:0!important;padding:0!important;overflow:hidden!important;position:absolute!important;outline:0!important;left:0!important;top:0!important}.select2-display-none{display:none}.select2-measure-scrollbar{position:absolute;top:-10000px;left:-10000px;width:100px;height:100px;overflow:scroll}@media only screen and (-webkit-min-device-pixel-ratio:1.5),only screen and (min-resolution:2dppx){.select2-search input,.select2-search-choice-close,.select2-container .select2-choice abbr,.select2-container .select2-choice .select2-arrow b{background-image:url(../img/select2x2.png)!important;background-repeat:no-repeat!important;background-size:60px 40px!important}.select2-search input{background-position:100% -21px!important}}
|
|
|
|
|
|
|
|
|
|
inc/external/wpmu-lib/css/{wpmu-card-list.css → wpmu-card-list.2.css}
RENAMED
@@ -23,6 +23,14 @@
|
|
23 |
box-sizing: border-box;
|
24 |
opacity: .8;
|
25 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
.wpmui-list-wrapper .list-card .badge-active {
|
27 |
display: none;
|
28 |
}
|
@@ -49,6 +57,9 @@
|
|
49 |
z-index: 20;
|
50 |
border: 1px solid #FFF;
|
51 |
}
|
|
|
|
|
|
|
52 |
.wpmui-list-wrapper .list-card .item-icon {
|
53 |
position: absolute;
|
54 |
top: 20px;
|
@@ -138,6 +149,7 @@
|
|
138 |
.wpmui-list-wrapper .is-no-detail {
|
139 |
display: inline;
|
140 |
}
|
|
|
141 |
.wpmui-list-wrapper .details .wpmui-input-wrapper,
|
142 |
.wpmui-list-wrapper .details .wpmui-select-wrapper,
|
143 |
.wpmui-list-wrapper .details .wpmui-radio-wrapper,
|
@@ -149,6 +161,7 @@
|
|
149 |
background-color: #FFF;
|
150 |
border: 1px solid #dedede;
|
151 |
}
|
|
|
152 |
.wpmui-list-wrapper .details .wpmui-input-wrapper .wpmui-radio-slider,
|
153 |
.wpmui-list-wrapper .details .wpmui-select-wrapper .wpmui-radio-slider,
|
154 |
.wpmui-list-wrapper .details .wpmui-radio-wrapper .wpmui-radio-slider,
|
@@ -188,10 +201,12 @@
|
|
188 |
height: auto;
|
189 |
left: 0;
|
190 |
right: 0;
|
|
|
191 |
}
|
192 |
.wpmui-list-wrapper .wpmui-list-table.has-details .detail-mode .details {
|
193 |
display: block;
|
194 |
position: absolute;
|
|
|
195 |
top: 135px;
|
196 |
left: 0;
|
197 |
right: 0;
|
@@ -238,3 +253,28 @@
|
|
238 |
padding-top: 0;
|
239 |
padding-bottom: 0;
|
240 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23 |
box-sizing: border-box;
|
24 |
opacity: .8;
|
25 |
}
|
26 |
+
.wpmui-list-wrapper .list-card .badge-container {
|
27 |
+
overflow: hidden;
|
28 |
+
width: 100px;
|
29 |
+
height: 100px;
|
30 |
+
position: absolute;
|
31 |
+
left: 0px;
|
32 |
+
top: 0px;
|
33 |
+
}
|
34 |
.wpmui-list-wrapper .list-card .badge-active {
|
35 |
display: none;
|
36 |
}
|
57 |
z-index: 20;
|
58 |
border: 1px solid #FFF;
|
59 |
}
|
60 |
+
.wpmui-list-wrapper .list-card.active .item-icon {
|
61 |
+
color: #3b8b08;
|
62 |
+
}
|
63 |
.wpmui-list-wrapper .list-card .item-icon {
|
64 |
position: absolute;
|
65 |
top: 20px;
|
149 |
.wpmui-list-wrapper .is-no-detail {
|
150 |
display: inline;
|
151 |
}
|
152 |
+
.wpmui-list-wrapper .details .wpmui-html-text-wrapper,
|
153 |
.wpmui-list-wrapper .details .wpmui-input-wrapper,
|
154 |
.wpmui-list-wrapper .details .wpmui-select-wrapper,
|
155 |
.wpmui-list-wrapper .details .wpmui-radio-wrapper,
|
161 |
background-color: #FFF;
|
162 |
border: 1px solid #dedede;
|
163 |
}
|
164 |
+
.wpmui-list-wrapper .details .wpmui-html-text-wrapper .wpmui-radio-slider,
|
165 |
.wpmui-list-wrapper .details .wpmui-input-wrapper .wpmui-radio-slider,
|
166 |
.wpmui-list-wrapper .details .wpmui-select-wrapper .wpmui-radio-slider,
|
167 |
.wpmui-list-wrapper .details .wpmui-radio-wrapper .wpmui-radio-slider,
|
201 |
height: auto;
|
202 |
left: 0;
|
203 |
right: 0;
|
204 |
+
overflow: visible;
|
205 |
}
|
206 |
.wpmui-list-wrapper .wpmui-list-table.has-details .detail-mode .details {
|
207 |
display: block;
|
208 |
position: absolute;
|
209 |
+
overflow: auto;
|
210 |
top: 135px;
|
211 |
left: 0;
|
212 |
right: 0;
|
253 |
padding-top: 0;
|
254 |
padding-bottom: 0;
|
255 |
}
|
256 |
+
.wpmui-list-wrapper .close-button {
|
257 |
+
position: absolute;
|
258 |
+
top: -30px;
|
259 |
+
right: -30px;
|
260 |
+
border-radius: 15px;
|
261 |
+
background: #FFF;
|
262 |
+
}
|
263 |
+
.wpmui-list-wrapper .close-button:after {
|
264 |
+
content: "\f335";
|
265 |
+
display: inline-block;
|
266 |
+
width: 30px;
|
267 |
+
height: 30px;
|
268 |
+
font-size: 26px;
|
269 |
+
line-height: 30px;
|
270 |
+
font-family: dashicons;
|
271 |
+
text-decoration: inherit;
|
272 |
+
font-weight: 400;
|
273 |
+
font-style: normal;
|
274 |
+
vertical-align: top;
|
275 |
+
text-align: center;
|
276 |
+
-webkit-transition: color .1s ease-in 0;
|
277 |
+
transition: color .1s ease-in 0;
|
278 |
+
-webkit-font-smoothing: antialiased;
|
279 |
+
-moz-osx-font-smoothing: grayscale;
|
280 |
+
}
|
inc/external/wpmu-lib/css/wpmu-card-list.2.min.css
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*! WPMU Dev code library - v2.0.3
|
2 |
+
* http://premium.wpmudev.org/
|
3 |
+
* Copyright (c) 2015; * Licensed GPLv2+ */
|
4 |
+
|
5 |
+
.wpmui-list-wrapper .wpmui-list{margin-left:-16px}.wpmui-list-wrapper .wpmui-list:after{content:'';display:table;clear:both}.wpmui-list-wrapper .list-card{float:left;margin:0 0 16px 16px;width:48%;width:-webkit-calc(50% - 16px);width:calc(50% - 16px);background-color:#fff;border:1px solid #dedede;box-sizing:border-box;opacity:.8}.wpmui-list-wrapper .list-card .badge-container{overflow:hidden;width:100px;height:100px;position:absolute;left:0;top:0}.wpmui-list-wrapper .list-card .badge-active{display:none}.wpmui-list-wrapper .list-card.active{opacity:1;background:#FFF;border:1px solid #BBB;box-shadow:0 1px 3px rgba(0,0,0,.12);z-index:20}.wpmui-list-wrapper .list-card.active .desc,.wpmui-list-wrapper .list-card.active .name{color:#333}.wpmui-list-wrapper .list-card.active .badge-active{position:absolute;top:15px;left:-35px;display:block;background-color:#6bbb1a;color:#FFF;transform:rotate(315deg);padding:3px 40px;z-index:20;border:1px solid #FFF}.wpmui-list-wrapper .list-card.active .item-icon{color:#3b8b08}.wpmui-list-wrapper .list-card .item-icon{position:absolute;top:20px;left:20px;width:128px;height:128px;margin:0 20px 20px 0;font-size:100px;z-index:16}.wpmui-list-wrapper .list-card .item-icon i{opacity:.8;font-size:100px}.wpmui-list-wrapper .list-card .desc,.wpmui-list-wrapper .list-card .name{margin-left:148px;margin-right:120px;color:#777}.wpmui-list-wrapper .list-card .action-links{position:absolute;top:20px;right:20px;width:120px;text-align:right}.wpmui-list-wrapper .list-card .action-links .space{display:block;line-height:10px;height:10px;padding:0;margin:0}.wpmui-list-wrapper .list-card h4{margin:0 0 12px;font-size:18px;line-height:1.3}@media screen and (min-width:1600px){.wpmui-list-wrapper .list-card{width:30%;width:-webkit-calc(33.3333% - 16px);width:calc(33.3333% - 16px)}}.wpmui-list-wrapper .list-card-top{position:relative;padding:20px 20px 10px;height:135px;overflow:hidden}.wpmui-list-wrapper .list-card-top .fader{position:absolute;bottom:0;height:20px;left:0;right:0;z-index:5;background:-moz-linear-gradient(top,rgba(255,255,255,0) 0,#fff 90%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,rgba(255,255,255,0)),color-stop(90%,#fff));background:-webkit-linear-gradient(top,rgba(255,255,255,0) 0,#fff 90%);background:-o-linear-gradient(top,rgba(255,255,255,0) 0,#fff 90%);background:-ms-linear-gradient(top,rgba(255,255,255,0) 0,#fff 90%);background:linear-gradient(to bottom,rgba(255,255,255,0) 0,#fff 90%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00ffffff', endColorstr='#ffffff', GradientType=0)}.wpmui-list-wrapper .list-card-bottom{clear:both;padding:12px 20px;background-color:#fafafa;border-top:1px solid #dedede;overflow:hidden;height:45px}.wpmui-list-wrapper .details,.wpmui-list-wrapper .is-detail{display:none}.wpmui-list-wrapper .is-no-detail{display:inline}.wpmui-list-wrapper .details .wpmui-html-text-wrapper,.wpmui-list-wrapper .details .wpmui-input-wrapper,.wpmui-list-wrapper .details .wpmui-select-wrapper,.wpmui-list-wrapper .details .wpmui-radio-wrapper,.wpmui-list-wrapper .details .wpmui-radio-slider-wrapper{display:block;position:relative;padding:10px;margin:0 0 10px;background-color:#FFF;border:1px solid #dedede}.wpmui-list-wrapper .details .wpmui-html-text-wrapper .wpmui-radio-slider,.wpmui-list-wrapper .details .wpmui-input-wrapper .wpmui-radio-slider,.wpmui-list-wrapper .details .wpmui-select-wrapper .wpmui-radio-slider,.wpmui-list-wrapper .details .wpmui-radio-wrapper .wpmui-radio-slider,.wpmui-list-wrapper .details .wpmui-radio-slider-wrapper .wpmui-radio-slider{position:absolute;top:10px;right:10px}.wpmui-list-wrapper .wpmui-list-table.has-details:before{content:'';background:#000;opacity:.3;position:fixed;left:0;top:0;right:0;bottom:0;z-index:21}.wpmui-list-wrapper .wpmui-list-table.has-details .list-card{opacity:.7}.wpmui-list-wrapper .wpmui-list-table.has-details .detail-mode{z-index:25;opacity:1}.wpmui-list-wrapper .wpmui-list-table.has-details .detail-mode .is-detail{display:inline}.wpmui-list-wrapper .wpmui-list-table.has-details .detail-mode .is-no-detail{display:none}.wpmui-list-wrapper .wpmui-list-table.has-details .detail-mode .list-card-top{position:absolute;top:0;bottom:43px;height:auto;left:0;right:0;overflow:visible}.wpmui-list-wrapper .wpmui-list-table.has-details .detail-mode .details{display:block;position:absolute;overflow:auto;top:135px;left:0;right:0;background:#FCFCFC;border-top:1px solid #dedede;padding:20px;bottom:0}.wpmui-list-wrapper .detail-mode{position:absolute;top:50px;left:50px;right:50px;width:auto;height:auto;z-index:20;box-shadow:0 1px 10px rgba(0,0,0,.3);opacity:1}.wpmui-list-wrapper .detail-mode .list-card{border:1px solid #999}.wpmui-list-wrapper .detail-mode .list-card-bottom{position:absolute;bottom:0;left:0;right:0}.wpmui-list-wrapper .toggle-details{cursor:pointer}.wpmui-list-wrapper .toggle-link{float:right;color:#0074a2}.wpmui-list-wrapper .toggle-link:hover{color:#2ea2cc}.wpmui-list-wrapper .filter-links>li{line-height:48px;height:48px}.wpmui-list-wrapper .filter-links>li a{padding-top:0;padding-bottom:0}.wpmui-list-wrapper .close-button{position:absolute;top:-30px;right:-30px;border-radius:15px;background:#FFF}.wpmui-list-wrapper .close-button:after{content:"\f335";display:inline-block;width:30px;height:30px;font-size:26px;line-height:30px;font-family:dashicons;text-decoration:inherit;font-weight:400;font-style:normal;vertical-align:top;text-align:center;-webkit-transition:color .1s ease-in 0;transition:color .1s ease-in 0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
|
inc/external/wpmu-lib/css/wpmu-card-list.min.css
DELETED
@@ -1,5 +0,0 @@
|
|
1 |
-
/*! WPMU Dev code library - v1.1.1
|
2 |
-
* http://premium.wpmudev.org/
|
3 |
-
* Copyright (c) 2014; * Licensed GPLv2+ */
|
4 |
-
|
5 |
-
.wpmui-list-wrapper .wpmui-list{margin-left:-16px}.wpmui-list-wrapper .wpmui-list:after{content:'';display:table;clear:both}.wpmui-list-wrapper .list-card{float:left;margin:0 0 16px 16px;width:48%;width:-webkit-calc(50% - 16px);width:calc(50% - 16px);background-color:#fff;border:1px solid #dedede;box-sizing:border-box;opacity:.8}.wpmui-list-wrapper .list-card .badge-active{display:none}.wpmui-list-wrapper .list-card.active{opacity:1;background:#FFF;border:1px solid #BBB;box-shadow:0 1px 3px rgba(0,0,0,.12);z-index:20}.wpmui-list-wrapper .list-card.active .desc,.wpmui-list-wrapper .list-card.active .name{color:#333}.wpmui-list-wrapper .list-card.active .badge-active{position:absolute;top:15px;left:-35px;display:block;background-color:#6bbb1a;color:#FFF;transform:rotate(315deg);padding:3px 40px;z-index:20;border:1px solid #FFF}.wpmui-list-wrapper .list-card .item-icon{position:absolute;top:20px;left:20px;width:128px;height:128px;margin:0 20px 20px 0;font-size:100px;z-index:16}.wpmui-list-wrapper .list-card .item-icon i{opacity:.8;font-size:100px}.wpmui-list-wrapper .list-card .desc,.wpmui-list-wrapper .list-card .name{margin-left:148px;margin-right:120px;color:#777}.wpmui-list-wrapper .list-card .action-links{position:absolute;top:20px;right:20px;width:120px;text-align:right}.wpmui-list-wrapper .list-card .action-links .space{display:block;line-height:10px;height:10px;padding:0;margin:0}.wpmui-list-wrapper .list-card h4{margin:0 0 12px;font-size:18px;line-height:1.3}@media screen and (min-width:1600px){.wpmui-list-wrapper .list-card{width:30%;width:-webkit-calc(33.3333% - 16px);width:calc(33.3333% - 16px)}}.wpmui-list-wrapper .list-card-top{position:relative;padding:20px 20px 10px;height:135px;overflow:hidden}.wpmui-list-wrapper .list-card-top .fader{position:absolute;bottom:0;height:20px;left:0;right:0;z-index:5;background:-moz-linear-gradient(top,rgba(255,255,255,0) 0,#fff 90%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,rgba(255,255,255,0)),color-stop(90%,#fff));background:-webkit-linear-gradient(top,rgba(255,255,255,0) 0,#fff 90%);background:-o-linear-gradient(top,rgba(255,255,255,0) 0,#fff 90%);background:-ms-linear-gradient(top,rgba(255,255,255,0) 0,#fff 90%);background:linear-gradient(to bottom,rgba(255,255,255,0) 0,#fff 90%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00ffffff', endColorstr='#ffffff', GradientType=0)}.wpmui-list-wrapper .list-card-bottom{clear:both;padding:12px 20px;background-color:#fafafa;border-top:1px solid #dedede;overflow:hidden;height:45px}.wpmui-list-wrapper .details,.wpmui-list-wrapper .is-detail{display:none}.wpmui-list-wrapper .is-no-detail{display:inline}.wpmui-list-wrapper .details .wpmui-input-wrapper,.wpmui-list-wrapper .details .wpmui-select-wrapper,.wpmui-list-wrapper .details .wpmui-radio-wrapper,.wpmui-list-wrapper .details .wpmui-radio-slider-wrapper{display:block;position:relative;padding:10px;margin:0 0 10px;background-color:#FFF;border:1px solid #dedede}.wpmui-list-wrapper .details .wpmui-input-wrapper .wpmui-radio-slider,.wpmui-list-wrapper .details .wpmui-select-wrapper .wpmui-radio-slider,.wpmui-list-wrapper .details .wpmui-radio-wrapper .wpmui-radio-slider,.wpmui-list-wrapper .details .wpmui-radio-slider-wrapper .wpmui-radio-slider{position:absolute;top:10px;right:10px}.wpmui-list-wrapper .wpmui-list-table.has-details:before{content:'';background:#000;opacity:.3;position:fixed;left:0;top:0;right:0;bottom:0;z-index:21}.wpmui-list-wrapper .wpmui-list-table.has-details .list-card{opacity:.7}.wpmui-list-wrapper .wpmui-list-table.has-details .detail-mode{z-index:25;opacity:1}.wpmui-list-wrapper .wpmui-list-table.has-details .detail-mode .is-detail{display:inline}.wpmui-list-wrapper .wpmui-list-table.has-details .detail-mode .is-no-detail{display:none}.wpmui-list-wrapper .wpmui-list-table.has-details .detail-mode .list-card-top{position:absolute;top:0;bottom:43px;height:auto;left:0;right:0}.wpmui-list-wrapper .wpmui-list-table.has-details .detail-mode .details{display:block;position:absolute;top:135px;left:0;right:0;background:#FCFCFC;border-top:1px solid #dedede;padding:20px;bottom:0}.wpmui-list-wrapper .detail-mode{position:absolute;top:50px;left:50px;right:50px;width:auto;height:auto;z-index:20;box-shadow:0 1px 10px rgba(0,0,0,.3);opacity:1}.wpmui-list-wrapper .detail-mode .list-card{border:1px solid #999}.wpmui-list-wrapper .detail-mode .list-card-bottom{position:absolute;bottom:0;left:0;right:0}.wpmui-list-wrapper .toggle-details{cursor:pointer}.wpmui-list-wrapper .toggle-link{float:right;color:#0074a2}.wpmui-list-wrapper .toggle-link:hover{color:#2ea2cc}.wpmui-list-wrapper .filter-links>li{line-height:48px;height:48px}.wpmui-list-wrapper .filter-links>li a{padding-top:0;padding-bottom:0}
|
|
|
|
|
|
|
|
|
|
inc/external/wpmu-lib/css/wpmu-html.2.css
ADDED
@@ -0,0 +1,347 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* WPMU Dev HTML helper styles
|
3 |
+
* (Philipp Stracker for WPMU Dev)
|
4 |
+
*
|
5 |
+
* This file is included by the WDev()->html->element() function.
|
6 |
+
*
|
7 |
+
* @since 1.1.0
|
8 |
+
*/
|
9 |
+
/***
|
10 |
+
* GENERAL INPUT FIELDS *
|
11 |
+
***/
|
12 |
+
#wpwrap,
|
13 |
+
body {
|
14 |
+
/* Styles used to display input elements inside Widget Admin */
|
15 |
+
/* horizontal separator */
|
16 |
+
/* vertical separator */
|
17 |
+
}
|
18 |
+
#wpwrap .wpmui-input-wrapper.wpmui-loading > *,
|
19 |
+
body .wpmui-input-wrapper.wpmui-loading > * {
|
20 |
+
opacity: 0.25;
|
21 |
+
cursor: default;
|
22 |
+
}
|
23 |
+
#wpwrap .wpmui-input-wrapper.wpmui-loading .wpmui-field-input,
|
24 |
+
body .wpmui-input-wrapper.wpmui-loading .wpmui-field-input {
|
25 |
+
background-color: #E5E5E5;
|
26 |
+
}
|
27 |
+
#wpwrap .wpmui-input-wrapper.wpmui-loading:after,
|
28 |
+
body .wpmui-input-wrapper.wpmui-loading:after {
|
29 |
+
top: 5px;
|
30 |
+
/* compensate for the field margin */
|
31 |
+
bottom: 5px;
|
32 |
+
/* compensate for the field margin */
|
33 |
+
background-color: transparent;
|
34 |
+
}
|
35 |
+
#wpwrap .wpmui-field-description,
|
36 |
+
body .wpmui-field-description {
|
37 |
+
display: block;
|
38 |
+
margin: 10px 4px 10px 0;
|
39 |
+
color: #666;
|
40 |
+
font-size: 0.9em;
|
41 |
+
font-weight: normal;
|
42 |
+
}
|
43 |
+
#wpwrap .wpmui-field-input,
|
44 |
+
#wpwrap .wpmui-field-button,
|
45 |
+
body .wpmui-field-input,
|
46 |
+
body .wpmui-field-button {
|
47 |
+
margin-top: 6px;
|
48 |
+
margin-bottom: 6px;
|
49 |
+
vertical-align: top;
|
50 |
+
display: inline-block;
|
51 |
+
position: relative;
|
52 |
+
}
|
53 |
+
#wpwrap .wpmui-field-input.button,
|
54 |
+
#wpwrap .wpmui-field-input.button-primary,
|
55 |
+
#wpwrap .wpmui-field-button,
|
56 |
+
body .wpmui-field-input.button,
|
57 |
+
body .wpmui-field-input.button-primary,
|
58 |
+
body .wpmui-field-button {
|
59 |
+
margin-right: 6px;
|
60 |
+
}
|
61 |
+
#wpwrap .wpmui-field-label,
|
62 |
+
body .wpmui-field-label {
|
63 |
+
display: block;
|
64 |
+
clear: both;
|
65 |
+
margin: 2px 0;
|
66 |
+
font-style: normal;
|
67 |
+
color: #222;
|
68 |
+
}
|
69 |
+
#wpwrap h3.wpmui-field-label,
|
70 |
+
body h3.wpmui-field-label {
|
71 |
+
margin-bottom: 10px;
|
72 |
+
}
|
73 |
+
#wpwrap .wpmui-label-before,
|
74 |
+
#wpwrap .wpmui-label-after,
|
75 |
+
body .wpmui-label-before,
|
76 |
+
body .wpmui-label-after {
|
77 |
+
display: inline-block;
|
78 |
+
margin: 6px;
|
79 |
+
line-height: 28px;
|
80 |
+
vertical-align: top;
|
81 |
+
}
|
82 |
+
#wpwrap .wpmui-label-before .wpmui-field-input,
|
83 |
+
#wpwrap .wpmui-label-before .wpmui-field-button,
|
84 |
+
#wpwrap .wpmui-label-after .wpmui-field-input,
|
85 |
+
#wpwrap .wpmui-label-after .wpmui-field-button,
|
86 |
+
body .wpmui-label-before .wpmui-field-input,
|
87 |
+
body .wpmui-label-before .wpmui-field-button,
|
88 |
+
body .wpmui-label-after .wpmui-field-input,
|
89 |
+
body .wpmui-label-after .wpmui-field-button {
|
90 |
+
margin-top: 0;
|
91 |
+
margin-bottom: 0;
|
92 |
+
}
|
93 |
+
#wpwrap .wpmui-label-before,
|
94 |
+
body .wpmui-label-before {
|
95 |
+
margin-left: 0;
|
96 |
+
}
|
97 |
+
#wpwrap .widget-content .wpmui-wrapper,
|
98 |
+
body .widget-content .wpmui-wrapper {
|
99 |
+
display: block;
|
100 |
+
margin: 1em 0;
|
101 |
+
}
|
102 |
+
#wpwrap .widget-content .wpmui-wrapper .wpmui-field-label,
|
103 |
+
body .widget-content .wpmui-wrapper .wpmui-field-label {
|
104 |
+
margin: 0;
|
105 |
+
}
|
106 |
+
#wpwrap .widget-content .wpmui-wrapper .wpmui-field-description,
|
107 |
+
body .widget-content .wpmui-wrapper .wpmui-field-description {
|
108 |
+
margin: 0;
|
109 |
+
}
|
110 |
+
#wpwrap .widget-content .wpmui-wrapper .wpmui-field-input,
|
111 |
+
#wpwrap .widget-content .wpmui-wrapper .wpmui-field-button,
|
112 |
+
body .widget-content .wpmui-wrapper .wpmui-field-input,
|
113 |
+
body .widget-content .wpmui-wrapper .wpmui-field-button {
|
114 |
+
margin-top: 4px;
|
115 |
+
margin-bottom: 0;
|
116 |
+
}
|
117 |
+
#wpwrap .wpmui-separator,
|
118 |
+
body .wpmui-separator {
|
119 |
+
border-bottom: 1px solid #E5E5E5;
|
120 |
+
margin: 15px 0;
|
121 |
+
}
|
122 |
+
#wpwrap .wpmui-divider,
|
123 |
+
body .wpmui-divider {
|
124 |
+
position: absolute;
|
125 |
+
right: 20px;
|
126 |
+
top: 0;
|
127 |
+
bottom: 0;
|
128 |
+
border-right: 1px solid #E5E5E5;
|
129 |
+
}
|
130 |
+
#wpwrap .wpmui-hidden,
|
131 |
+
body .wpmui-hidden {
|
132 |
+
display: none;
|
133 |
+
visibility: hidden;
|
134 |
+
}
|
135 |
+
#wpwrap .wpmui-fa,
|
136 |
+
body .wpmui-fa {
|
137 |
+
font-family: Fontawesome420 !important;
|
138 |
+
}
|
139 |
+
#wpwrap .no-click,
|
140 |
+
body .no-click {
|
141 |
+
cursor: default;
|
142 |
+
}
|
143 |
+
|
144 |
+
/***
|
145 |
+
* CHECKBOX *
|
146 |
+
***/
|
147 |
+
#wpwrap .wpmui-field-checkbox,
|
148 |
+
body .wpmui-field-checkbox {
|
149 |
+
margin: 6px 4px 0 0;
|
150 |
+
position: absolute;
|
151 |
+
left: 0;
|
152 |
+
top: 0;
|
153 |
+
}
|
154 |
+
#wpwrap .wpmui-checkbox-wrapper,
|
155 |
+
body .wpmui-checkbox-wrapper {
|
156 |
+
margin: 6px auto;
|
157 |
+
position: relative;
|
158 |
+
display: inline-block;
|
159 |
+
line-height: 28px;
|
160 |
+
}
|
161 |
+
#wpwrap .wpmui-checkbox-wrapper .wpmui-checkbox-caption,
|
162 |
+
body .wpmui-checkbox-wrapper .wpmui-checkbox-caption {
|
163 |
+
padding-left: 24px;
|
164 |
+
font-weight: 500;
|
165 |
+
}
|
166 |
+
#wpwrap .wpmui-checkbox-list,
|
167 |
+
body .wpmui-checkbox-list {
|
168 |
+
border: 1px solid #e5e5e5;
|
169 |
+
padding: 0 5px;
|
170 |
+
background: #FFFFFF;
|
171 |
+
max-height: 320px;
|
172 |
+
overflow: auto;
|
173 |
+
}
|
174 |
+
#wpwrap .wpmui-checkbox-list .wpmui-checkbox-wrapper,
|
175 |
+
body .wpmui-checkbox-list .wpmui-checkbox-wrapper {
|
176 |
+
margin: 0;
|
177 |
+
}
|
178 |
+
#wpwrap .wpmui-checkbox-list .wpmui-no-checkbox .wpmui-checkbox-caption,
|
179 |
+
body .wpmui-checkbox-list .wpmui-no-checkbox .wpmui-checkbox-caption {
|
180 |
+
padding: 0;
|
181 |
+
}
|
182 |
+
#wpwrap .wpmui-checkbox-list .wpmui-group,
|
183 |
+
body .wpmui-checkbox-list .wpmui-group {
|
184 |
+
margin-bottom: 10px;
|
185 |
+
}
|
186 |
+
#wpwrap .wpmui-checkbox-list .wpmui-group .wpmui-parent .wpmui-checkbox-caption,
|
187 |
+
body .wpmui-checkbox-list .wpmui-group .wpmui-parent .wpmui-checkbox-caption {
|
188 |
+
font-weight: 600;
|
189 |
+
}
|
190 |
+
#wpwrap .wpmui-checkbox-list .wpmui-group .wpmui-child,
|
191 |
+
body .wpmui-checkbox-list .wpmui-group .wpmui-child {
|
192 |
+
margin-left: 24px;
|
193 |
+
}
|
194 |
+
|
195 |
+
/***
|
196 |
+
* RADIO SLIDER *
|
197 |
+
***/
|
198 |
+
#wpwrap .wpmui-radio-slider-wrapper,
|
199 |
+
body .wpmui-radio-slider-wrapper {
|
200 |
+
clear: both;
|
201 |
+
}
|
202 |
+
#wpwrap .wpmui-radio-slider-wrapper .wpmui-field-label,
|
203 |
+
body .wpmui-radio-slider-wrapper .wpmui-field-label {
|
204 |
+
cursor: default;
|
205 |
+
}
|
206 |
+
#wpwrap .wpmui-radio-slider-wrapper .wpmui-label-before,
|
207 |
+
#wpwrap .wpmui-radio-slider-wrapper .wpmui-label-after,
|
208 |
+
body .wpmui-radio-slider-wrapper .wpmui-label-before,
|
209 |
+
body .wpmui-radio-slider-wrapper .wpmui-label-after {
|
210 |
+
line-height: 18px;
|
211 |
+
margin-top: 3px;
|
212 |
+
margin-bottom: 3px;
|
213 |
+
}
|
214 |
+
#wpwrap .wpmui-radio-slider-wrapper .wpmui-radio-slider,
|
215 |
+
body .wpmui-radio-slider-wrapper .wpmui-radio-slider {
|
216 |
+
position: relative;
|
217 |
+
display: inline-block;
|
218 |
+
width: 40px;
|
219 |
+
height: 18px;
|
220 |
+
margin: 3px 0;
|
221 |
+
border-radius: 10px;
|
222 |
+
background: #b0b0b0;
|
223 |
+
opacity: .8;
|
224 |
+
overflow: visible;
|
225 |
+
cursor: pointer;
|
226 |
+
}
|
227 |
+
#wpwrap .wpmui-radio-slider-wrapper .wpmui-radio-slider:hover,
|
228 |
+
body .wpmui-radio-slider-wrapper .wpmui-radio-slider:hover {
|
229 |
+
opacity: 1;
|
230 |
+
}
|
231 |
+
#wpwrap .wpmui-radio-slider-wrapper .wpmui-radio-slider[readonly], #wpwrap .wpmui-radio-slider-wrapper .wpmui-radio-slider[readonly]:hover,
|
232 |
+
body .wpmui-radio-slider-wrapper .wpmui-radio-slider[readonly],
|
233 |
+
body .wpmui-radio-slider-wrapper .wpmui-radio-slider[readonly]:hover {
|
234 |
+
opacity: 0.5;
|
235 |
+
cursor: default;
|
236 |
+
}
|
237 |
+
#wpwrap .wpmui-radio-slider-wrapper .wpmui-radio-slider[readonly] .wpmui-toggle, #wpwrap .wpmui-radio-slider-wrapper .wpmui-radio-slider[readonly]:hover .wpmui-toggle,
|
238 |
+
body .wpmui-radio-slider-wrapper .wpmui-radio-slider[readonly] .wpmui-toggle,
|
239 |
+
body .wpmui-radio-slider-wrapper .wpmui-radio-slider[readonly]:hover .wpmui-toggle {
|
240 |
+
opacity: .7;
|
241 |
+
}
|
242 |
+
#wpwrap .wpmui-radio-slider-wrapper .wpmui-radio-slider.on,
|
243 |
+
body .wpmui-radio-slider-wrapper .wpmui-radio-slider.on {
|
244 |
+
background: #6BBB1A;
|
245 |
+
/* rgb( 107, 187, 26 ) */
|
246 |
+
}
|
247 |
+
#wpwrap .wpmui-radio-slider-wrapper .wpmui-radio-slider.on .wpmui-toggle,
|
248 |
+
body .wpmui-radio-slider-wrapper .wpmui-radio-slider.on .wpmui-toggle {
|
249 |
+
left: 21px;
|
250 |
+
}
|
251 |
+
#wpwrap .wpmui-radio-slider-wrapper .wpmui-radio-slider .wpmui-toggle,
|
252 |
+
body .wpmui-radio-slider-wrapper .wpmui-radio-slider .wpmui-toggle {
|
253 |
+
position: absolute;
|
254 |
+
display: inline-block;
|
255 |
+
left: 0;
|
256 |
+
width: 12px;
|
257 |
+
height: 12px;
|
258 |
+
margin: 3px;
|
259 |
+
background: #F4F4F4;
|
260 |
+
border-radius: 50%;
|
261 |
+
transition: all .2s ease-in-out;
|
262 |
+
}
|
263 |
+
#wpwrap .wpmui-radio-slider-wrapper .wpmui-label-before,
|
264 |
+
body .wpmui-radio-slider-wrapper .wpmui-label-before {
|
265 |
+
color: #000;
|
266 |
+
}
|
267 |
+
#wpwrap .wpmui-radio-slider-wrapper .wpmui-label-after,
|
268 |
+
body .wpmui-radio-slider-wrapper .wpmui-label-after {
|
269 |
+
color: #CCC;
|
270 |
+
}
|
271 |
+
#wpwrap .wpmui-radio-slider-wrapper.on .wpmui-label-before,
|
272 |
+
body .wpmui-radio-slider-wrapper.on .wpmui-label-before {
|
273 |
+
color: #CCC;
|
274 |
+
}
|
275 |
+
#wpwrap .wpmui-radio-slider-wrapper.on .wpmui-label-after,
|
276 |
+
body .wpmui-radio-slider-wrapper.on .wpmui-label-after {
|
277 |
+
color: #390;
|
278 |
+
/* rgb( 51, 153, 0 ) */
|
279 |
+
}
|
280 |
+
#wpwrap .wpmui-radio-slider-wrapper.reverse-wrapper .wpmui-radio-slider,
|
281 |
+
body .wpmui-radio-slider-wrapper.reverse-wrapper .wpmui-radio-slider {
|
282 |
+
background: #6BBB1A;
|
283 |
+
/* rgb( 107, 187, 26 ) */
|
284 |
+
}
|
285 |
+
#wpwrap .wpmui-radio-slider-wrapper.reverse-wrapper .wpmui-label-before,
|
286 |
+
body .wpmui-radio-slider-wrapper.reverse-wrapper .wpmui-label-before {
|
287 |
+
color: #390;
|
288 |
+
/* rgb( 51, 153, 0 ) */
|
289 |
+
}
|
290 |
+
#wpwrap .wpmui-radio-slider-wrapper.reverse-wrapper .wpmui-label-after,
|
291 |
+
body .wpmui-radio-slider-wrapper.reverse-wrapper .wpmui-label-after {
|
292 |
+
color: #CCC;
|
293 |
+
}
|
294 |
+
#wpwrap .wpmui-radio-slider-wrapper.reverse-wrapper.on .wpmui-radio-slider,
|
295 |
+
body .wpmui-radio-slider-wrapper.reverse-wrapper.on .wpmui-radio-slider {
|
296 |
+
background: #B0B0B0;
|
297 |
+
}
|
298 |
+
#wpwrap .wpmui-radio-slider-wrapper.reverse-wrapper.on .wpmui-label-before,
|
299 |
+
body .wpmui-radio-slider-wrapper.reverse-wrapper.on .wpmui-label-before {
|
300 |
+
color: #CCC;
|
301 |
+
}
|
302 |
+
#wpwrap .wpmui-radio-slider-wrapper.reverse-wrapper.on .wpmui-label-after,
|
303 |
+
body .wpmui-radio-slider-wrapper.reverse-wrapper.on .wpmui-label-after {
|
304 |
+
color: #000;
|
305 |
+
}
|
306 |
+
#wpwrap .wpmui-radio-slider-wrapper.inp-before-wrapper,
|
307 |
+
body .wpmui-radio-slider-wrapper.inp-before-wrapper {
|
308 |
+
position: relative;
|
309 |
+
display: block;
|
310 |
+
}
|
311 |
+
#wpwrap .wpmui-radio-slider-wrapper.inp-before-wrapper .wpmui-field-label,
|
312 |
+
body .wpmui-radio-slider-wrapper.inp-before-wrapper .wpmui-field-label {
|
313 |
+
margin-left: 50px;
|
314 |
+
}
|
315 |
+
#wpwrap .wpmui-radio-slider-wrapper.inp-before-wrapper .wpmui-radio-slider,
|
316 |
+
body .wpmui-radio-slider-wrapper.inp-before-wrapper .wpmui-radio-slider {
|
317 |
+
position: absolute;
|
318 |
+
left: 0;
|
319 |
+
top: 0;
|
320 |
+
}
|
321 |
+
|
322 |
+
/***
|
323 |
+
* HTML TABLE *
|
324 |
+
***/
|
325 |
+
.wpmui-html-table {
|
326 |
+
width: 100%;
|
327 |
+
clear: both;
|
328 |
+
margin: 10px 0;
|
329 |
+
background: #FFF;
|
330 |
+
border: 1px solid #e5e5e5;
|
331 |
+
border-spacing: 0;
|
332 |
+
-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
|
333 |
+
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
|
334 |
+
}
|
335 |
+
.wpmui-html-table td,
|
336 |
+
.wpmui-html-table th {
|
337 |
+
line-height: 24px;
|
338 |
+
padding: 8px 6px;
|
339 |
+
vertical-align: top;
|
340 |
+
font-size: 12px;
|
341 |
+
overflow: hidden;
|
342 |
+
color: #555;
|
343 |
+
}
|
344 |
+
.wpmui-html-table thead tr th {
|
345 |
+
border-bottom: 1px solid #e1e1e1;
|
346 |
+
color: #333;
|
347 |
+
}
|
inc/external/wpmu-lib/css/wpmu-html.2.min.css
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*! WPMU Dev code library - v2.0.3
|
2 |
+
* http://premium.wpmudev.org/
|
3 |
+
* Copyright (c) 2015; * Licensed GPLv2+ */
|
4 |
+
|
5 |
+
#wpwrap,body{}#wpwrap .wpmui-input-wrapper.wpmui-loading>*,body .wpmui-input-wrapper.wpmui-loading>*{opacity:.25;cursor:default}#wpwrap .wpmui-input-wrapper.wpmui-loading .wpmui-field-input,body .wpmui-input-wrapper.wpmui-loading .wpmui-field-input{background-color:#E5E5E5}#wpwrap .wpmui-input-wrapper.wpmui-loading:after,body .wpmui-input-wrapper.wpmui-loading:after{top:5px;bottom:5px;background-color:transparent}#wpwrap .wpmui-field-description,body .wpmui-field-description{display:block;margin:10px 4px 10px 0;color:#666;font-size:.9em;font-weight:400}#wpwrap .wpmui-field-input,#wpwrap .wpmui-field-button,body .wpmui-field-input,body .wpmui-field-button{margin-top:6px;margin-bottom:6px;vertical-align:top;display:inline-block;position:relative}#wpwrap .wpmui-field-input.button,#wpwrap .wpmui-field-input.button-primary,#wpwrap .wpmui-field-button,body .wpmui-field-input.button,body .wpmui-field-input.button-primary,body .wpmui-field-button{margin-right:6px}#wpwrap .wpmui-field-label,body .wpmui-field-label{display:block;clear:both;margin:2px 0;font-style:normal;color:#222}#wpwrap h3.wpmui-field-label,body h3.wpmui-field-label{margin-bottom:10px}#wpwrap .wpmui-label-before,#wpwrap .wpmui-label-after,body .wpmui-label-before,body .wpmui-label-after{display:inline-block;margin:6px;line-height:28px;vertical-align:top}#wpwrap .wpmui-label-before .wpmui-field-input,#wpwrap .wpmui-label-before .wpmui-field-button,#wpwrap .wpmui-label-after .wpmui-field-input,#wpwrap .wpmui-label-after .wpmui-field-button,body .wpmui-label-before .wpmui-field-input,body .wpmui-label-before .wpmui-field-button,body .wpmui-label-after .wpmui-field-input,body .wpmui-label-after .wpmui-field-button{margin-top:0;margin-bottom:0}#wpwrap .wpmui-label-before,body .wpmui-label-before{margin-left:0}#wpwrap .widget-content .wpmui-wrapper,body .widget-content .wpmui-wrapper{display:block;margin:1em 0}#wpwrap .widget-content .wpmui-wrapper .wpmui-field-label,body .widget-content .wpmui-wrapper .wpmui-field-label{margin:0}#wpwrap .widget-content .wpmui-wrapper .wpmui-field-description,body .widget-content .wpmui-wrapper .wpmui-field-description{margin:0}#wpwrap .widget-content .wpmui-wrapper .wpmui-field-input,#wpwrap .widget-content .wpmui-wrapper .wpmui-field-button,body .widget-content .wpmui-wrapper .wpmui-field-input,body .widget-content .wpmui-wrapper .wpmui-field-button{margin-top:4px;margin-bottom:0}#wpwrap .wpmui-separator,body .wpmui-separator{border-bottom:1px solid #E5E5E5;margin:15px 0}#wpwrap .wpmui-divider,body .wpmui-divider{position:absolute;right:20px;top:0;bottom:0;border-right:1px solid #E5E5E5}#wpwrap .wpmui-hidden,body .wpmui-hidden{display:none;visibility:hidden}#wpwrap .wpmui-fa,body .wpmui-fa{font-family:Fontawesome420!important}#wpwrap .no-click,body .no-click{cursor:default}#wpwrap .wpmui-field-checkbox,body .wpmui-field-checkbox{margin:6px 4px 0 0;position:absolute;left:0;top:0}#wpwrap .wpmui-checkbox-wrapper,body .wpmui-checkbox-wrapper{margin:6px auto;position:relative;display:inline-block;line-height:28px}#wpwrap .wpmui-checkbox-wrapper .wpmui-checkbox-caption,body .wpmui-checkbox-wrapper .wpmui-checkbox-caption{padding-left:24px;font-weight:500}#wpwrap .wpmui-checkbox-list,body .wpmui-checkbox-list{border:1px solid #e5e5e5;padding:0 5px;background:#FFF;max-height:320px;overflow:auto}#wpwrap .wpmui-checkbox-list .wpmui-checkbox-wrapper,body .wpmui-checkbox-list .wpmui-checkbox-wrapper{margin:0}#wpwrap .wpmui-checkbox-list .wpmui-no-checkbox .wpmui-checkbox-caption,body .wpmui-checkbox-list .wpmui-no-checkbox .wpmui-checkbox-caption{padding:0}#wpwrap .wpmui-checkbox-list .wpmui-group,body .wpmui-checkbox-list .wpmui-group{margin-bottom:10px}#wpwrap .wpmui-checkbox-list .wpmui-group .wpmui-parent .wpmui-checkbox-caption,body .wpmui-checkbox-list .wpmui-group .wpmui-parent .wpmui-checkbox-caption{font-weight:600}#wpwrap .wpmui-checkbox-list .wpmui-group .wpmui-child,body .wpmui-checkbox-list .wpmui-group .wpmui-child{margin-left:24px}#wpwrap .wpmui-radio-slider-wrapper,body .wpmui-radio-slider-wrapper{clear:both}#wpwrap .wpmui-radio-slider-wrapper .wpmui-field-label,body .wpmui-radio-slider-wrapper .wpmui-field-label{cursor:default}#wpwrap .wpmui-radio-slider-wrapper .wpmui-label-before,#wpwrap .wpmui-radio-slider-wrapper .wpmui-label-after,body .wpmui-radio-slider-wrapper .wpmui-label-before,body .wpmui-radio-slider-wrapper .wpmui-label-after{line-height:18px;margin-top:3px;margin-bottom:3px}#wpwrap .wpmui-radio-slider-wrapper .wpmui-radio-slider,body .wpmui-radio-slider-wrapper .wpmui-radio-slider{position:relative;display:inline-block;width:40px;height:18px;margin:3px 0;border-radius:10px;background:#b0b0b0;opacity:.8;overflow:visible;cursor:pointer}#wpwrap .wpmui-radio-slider-wrapper .wpmui-radio-slider:hover,body .wpmui-radio-slider-wrapper .wpmui-radio-slider:hover{opacity:1}#wpwrap .wpmui-radio-slider-wrapper .wpmui-radio-slider[readonly],#wpwrap .wpmui-radio-slider-wrapper .wpmui-radio-slider[readonly]:hover,body .wpmui-radio-slider-wrapper .wpmui-radio-slider[readonly],body .wpmui-radio-slider-wrapper .wpmui-radio-slider[readonly]:hover{opacity:.5;cursor:default}#wpwrap .wpmui-radio-slider-wrapper .wpmui-radio-slider[readonly] .wpmui-toggle,#wpwrap .wpmui-radio-slider-wrapper .wpmui-radio-slider[readonly]:hover .wpmui-toggle,body .wpmui-radio-slider-wrapper .wpmui-radio-slider[readonly] .wpmui-toggle,body .wpmui-radio-slider-wrapper .wpmui-radio-slider[readonly]:hover .wpmui-toggle{opacity:.7}#wpwrap .wpmui-radio-slider-wrapper .wpmui-radio-slider.on,body .wpmui-radio-slider-wrapper .wpmui-radio-slider.on{background:#6BBB1A}#wpwrap .wpmui-radio-slider-wrapper .wpmui-radio-slider.on .wpmui-toggle,body .wpmui-radio-slider-wrapper .wpmui-radio-slider.on .wpmui-toggle{left:21px}#wpwrap .wpmui-radio-slider-wrapper .wpmui-radio-slider .wpmui-toggle,body .wpmui-radio-slider-wrapper .wpmui-radio-slider .wpmui-toggle{position:absolute;display:inline-block;left:0;width:12px;height:12px;margin:3px;background:#F4F4F4;border-radius:50%;transition:all .2s ease-in-out}#wpwrap .wpmui-radio-slider-wrapper .wpmui-label-before,body .wpmui-radio-slider-wrapper .wpmui-label-before{color:#000}#wpwrap .wpmui-radio-slider-wrapper .wpmui-label-after,body .wpmui-radio-slider-wrapper .wpmui-label-after{color:#CCC}#wpwrap .wpmui-radio-slider-wrapper.on .wpmui-label-before,body .wpmui-radio-slider-wrapper.on .wpmui-label-before{color:#CCC}#wpwrap .wpmui-radio-slider-wrapper.on .wpmui-label-after,body .wpmui-radio-slider-wrapper.on .wpmui-label-after{color:#390}#wpwrap .wpmui-radio-slider-wrapper.reverse-wrapper .wpmui-radio-slider,body .wpmui-radio-slider-wrapper.reverse-wrapper .wpmui-radio-slider{background:#6BBB1A}#wpwrap .wpmui-radio-slider-wrapper.reverse-wrapper .wpmui-label-before,body .wpmui-radio-slider-wrapper.reverse-wrapper .wpmui-label-before{color:#390}#wpwrap .wpmui-radio-slider-wrapper.reverse-wrapper .wpmui-label-after,body .wpmui-radio-slider-wrapper.reverse-wrapper .wpmui-label-after{color:#CCC}#wpwrap .wpmui-radio-slider-wrapper.reverse-wrapper.on .wpmui-radio-slider,body .wpmui-radio-slider-wrapper.reverse-wrapper.on .wpmui-radio-slider{background:#B0B0B0}#wpwrap .wpmui-radio-slider-wrapper.reverse-wrapper.on .wpmui-label-before,body .wpmui-radio-slider-wrapper.reverse-wrapper.on .wpmui-label-before{color:#CCC}#wpwrap .wpmui-radio-slider-wrapper.reverse-wrapper.on .wpmui-label-after,body .wpmui-radio-slider-wrapper.reverse-wrapper.on .wpmui-label-after{color:#000}#wpwrap .wpmui-radio-slider-wrapper.inp-before-wrapper,body .wpmui-radio-slider-wrapper.inp-before-wrapper{position:relative;display:block}#wpwrap .wpmui-radio-slider-wrapper.inp-before-wrapper .wpmui-field-label,body .wpmui-radio-slider-wrapper.inp-before-wrapper .wpmui-field-label{margin-left:50px}#wpwrap .wpmui-radio-slider-wrapper.inp-before-wrapper .wpmui-radio-slider,body .wpmui-radio-slider-wrapper.inp-before-wrapper .wpmui-radio-slider{position:absolute;left:0;top:0}.wpmui-html-table{width:100%;clear:both;margin:10px 0;background:#FFF;border:1px solid #e5e5e5;border-spacing:0;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04)}.wpmui-html-table td,.wpmui-html-table th{line-height:24px;padding:8px 6px;vertical-align:top;font-size:12px;overflow:hidden;color:#555}.wpmui-html-table thead tr th{border-bottom:1px solid #e1e1e1;color:#333}
|
inc/external/wpmu-lib/css/wpmu-html.css
DELETED
@@ -1,180 +0,0 @@
|
|
1 |
-
/**
|
2 |
-
* WPMU Dev HTML helper styles
|
3 |
-
* (Philipp Stracker for WPMU Dev)
|
4 |
-
*
|
5 |
-
* This file is included by the WDev()->html->element() function.
|
6 |
-
*
|
7 |
-
* @since 1.1.0
|
8 |
-
*/
|
9 |
-
/***
|
10 |
-
* GENERAL INPUT FIELDS *
|
11 |
-
***/
|
12 |
-
#wpwrap,
|
13 |
-
body {
|
14 |
-
/* horizontal separator */
|
15 |
-
/* vertical separator */
|
16 |
-
}
|
17 |
-
#wpwrap .wpmui-field-description,
|
18 |
-
body .wpmui-field-description {
|
19 |
-
display: block;
|
20 |
-
margin: 10px 4px 10px 0;
|
21 |
-
color: #666;
|
22 |
-
font-size: 0.9em;
|
23 |
-
font-weight: normal;
|
24 |
-
}
|
25 |
-
#wpwrap .wpmui-field-input,
|
26 |
-
#wpwrap .wpmui-field-button,
|
27 |
-
body .wpmui-field-input,
|
28 |
-
body .wpmui-field-button {
|
29 |
-
margin-top: 6px;
|
30 |
-
margin-bottom: 6px;
|
31 |
-
vertical-align: top;
|
32 |
-
}
|
33 |
-
#wpwrap .wpmui-field-input.button,
|
34 |
-
#wpwrap .wpmui-field-input.button-primary,
|
35 |
-
#wpwrap .wpmui-field-button,
|
36 |
-
body .wpmui-field-input.button,
|
37 |
-
body .wpmui-field-input.button-primary,
|
38 |
-
body .wpmui-field-button {
|
39 |
-
margin-right: 6px;
|
40 |
-
}
|
41 |
-
#wpwrap .wpmui-field-label,
|
42 |
-
body .wpmui-field-label {
|
43 |
-
display: block;
|
44 |
-
clear: both;
|
45 |
-
margin: 2px 0;
|
46 |
-
font-style: normal;
|
47 |
-
color: #222;
|
48 |
-
}
|
49 |
-
#wpwrap h3.wpmui-field-label,
|
50 |
-
body h3.wpmui-field-label {
|
51 |
-
margin-bottom: 10px;
|
52 |
-
}
|
53 |
-
#wpwrap .wpmui-label-before,
|
54 |
-
#wpwrap .wpmui-label-after,
|
55 |
-
body .wpmui-label-before,
|
56 |
-
body .wpmui-label-after {
|
57 |
-
display: inline-block;
|
58 |
-
margin: 6px;
|
59 |
-
line-height: 28px;
|
60 |
-
vertical-align: top;
|
61 |
-
}
|
62 |
-
#wpwrap .wpmui-label-before .wpmui-field-input,
|
63 |
-
#wpwrap .wpmui-label-before .wpmui-field-button,
|
64 |
-
#wpwrap .wpmui-label-after .wpmui-field-input,
|
65 |
-
#wpwrap .wpmui-label-after .wpmui-field-button,
|
66 |
-
body .wpmui-label-before .wpmui-field-input,
|
67 |
-
body .wpmui-label-before .wpmui-field-button,
|
68 |
-
body .wpmui-label-after .wpmui-field-input,
|
69 |
-
body .wpmui-label-after .wpmui-field-button {
|
70 |
-
margin-top: 0;
|
71 |
-
margin-bottom: 0;
|
72 |
-
}
|
73 |
-
#wpwrap .wpmui-label-before,
|
74 |
-
body .wpmui-label-before {
|
75 |
-
margin-left: 0;
|
76 |
-
}
|
77 |
-
#wpwrap .wpmui-separator,
|
78 |
-
body .wpmui-separator {
|
79 |
-
border-bottom: 1px solid #E5E5E5;
|
80 |
-
margin: 15px 0;
|
81 |
-
}
|
82 |
-
#wpwrap .wpmui-divider,
|
83 |
-
body .wpmui-divider {
|
84 |
-
position: absolute;
|
85 |
-
right: 20px;
|
86 |
-
top: 0;
|
87 |
-
bottom: 0;
|
88 |
-
border-right: 1px solid #E5E5E5;
|
89 |
-
}
|
90 |
-
#wpwrap .wpmui-hidden,
|
91 |
-
body .wpmui-hidden {
|
92 |
-
display: none;
|
93 |
-
visibility: hidden;
|
94 |
-
}
|
95 |
-
#wpwrap .wpmui-fa,
|
96 |
-
body .wpmui-fa {
|
97 |
-
font-family: Fontawesome420 !important;
|
98 |
-
}
|
99 |
-
|
100 |
-
/***
|
101 |
-
* CHECKBOX *
|
102 |
-
***/
|
103 |
-
#wpwrap .wpmui-field-checkbox,
|
104 |
-
body .wpmui-field-checkbox {
|
105 |
-
margin: 6px 4px 0 0;
|
106 |
-
position: absolute;
|
107 |
-
left: 0;
|
108 |
-
top: 0;
|
109 |
-
}
|
110 |
-
#wpwrap .wpmui-checkbox-wrapper,
|
111 |
-
body .wpmui-checkbox-wrapper {
|
112 |
-
margin: 6px auto;
|
113 |
-
position: relative;
|
114 |
-
display: inline-block;
|
115 |
-
line-height: 28px;
|
116 |
-
}
|
117 |
-
#wpwrap .wpmui-checkbox-wrapper .wpmui-checkbox-caption,
|
118 |
-
body .wpmui-checkbox-wrapper .wpmui-checkbox-caption {
|
119 |
-
padding-left: 24px;
|
120 |
-
font-weight: 500;
|
121 |
-
}
|
122 |
-
|
123 |
-
/***
|
124 |
-
* RADIO SLIDER *
|
125 |
-
***/
|
126 |
-
#wpwrap .wpmui-radio-slider-wrapper .wpmui-label-before,
|
127 |
-
#wpwrap .wpmui-radio-slider-wrapper .wpmui-label-after,
|
128 |
-
body .wpmui-radio-slider-wrapper .wpmui-label-before,
|
129 |
-
body .wpmui-radio-slider-wrapper .wpmui-label-after {
|
130 |
-
line-height: 18px;
|
131 |
-
margin-top: 3px;
|
132 |
-
margin-bottom: 3px;
|
133 |
-
}
|
134 |
-
#wpwrap .wpmui-radio-slider-wrapper .wpmui-label-before,
|
135 |
-
body .wpmui-radio-slider-wrapper .wpmui-label-before {
|
136 |
-
font-weight: bold;
|
137 |
-
color: #000;
|
138 |
-
}
|
139 |
-
#wpwrap .wpmui-radio-slider-wrapper .wpmui-label-after,
|
140 |
-
body .wpmui-radio-slider-wrapper .wpmui-label-after {
|
141 |
-
font-weight: normal;
|
142 |
-
color: #888;
|
143 |
-
}
|
144 |
-
#wpwrap .wpmui-radio-slider-wrapper.on .wpmui-label-before,
|
145 |
-
body .wpmui-radio-slider-wrapper.on .wpmui-label-before {
|
146 |
-
font-weight: normal;
|
147 |
-
color: #888;
|
148 |
-
}
|
149 |
-
#wpwrap .wpmui-radio-slider-wrapper.on .wpmui-label-after,
|
150 |
-
body .wpmui-radio-slider-wrapper.on .wpmui-label-after {
|
151 |
-
font-weight: bold;
|
152 |
-
color: #000;
|
153 |
-
}
|
154 |
-
|
155 |
-
/***
|
156 |
-
* HTML TABLE *
|
157 |
-
***/
|
158 |
-
.wpmui-html-table {
|
159 |
-
width: 100%;
|
160 |
-
clear: both;
|
161 |
-
margin: 10px 0;
|
162 |
-
background: #FFF;
|
163 |
-
border: 1px solid #e5e5e5;
|
164 |
-
border-spacing: 0;
|
165 |
-
-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
|
166 |
-
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
|
167 |
-
}
|
168 |
-
.wpmui-html-table td,
|
169 |
-
.wpmui-html-table th {
|
170 |
-
line-height: 24px;
|
171 |
-
padding: 8px 6px;
|
172 |
-
vertical-align: top;
|
173 |
-
font-size: 12px;
|
174 |
-
overflow: hidden;
|
175 |
-
color: #555;
|
176 |
-
}
|
177 |
-
.wpmui-html-table thead tr th {
|
178 |
-
border-bottom: 1px solid #e1e1e1;
|
179 |
-
color: #333;
|
180 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
inc/external/wpmu-lib/css/wpmu-html.min.css
DELETED
@@ -1,5 +0,0 @@
|
|
1 |
-
/*! WPMU Dev code library - v1.1.1
|
2 |
-
* http://premium.wpmudev.org/
|
3 |
-
* Copyright (c) 2014; * Licensed GPLv2+ */
|
4 |
-
|
5 |
-
#wpwrap,body{}#wpwrap .wpmui-field-description,body .wpmui-field-description{display:block;margin:10px 4px 10px 0;color:#666;font-size:.9em;font-weight:400}#wpwrap .wpmui-field-input,#wpwrap .wpmui-field-button,body .wpmui-field-input,body .wpmui-field-button{margin-top:6px;margin-bottom:6px;vertical-align:top}#wpwrap .wpmui-field-input.button,#wpwrap .wpmui-field-input.button-primary,#wpwrap .wpmui-field-button,body .wpmui-field-input.button,body .wpmui-field-input.button-primary,body .wpmui-field-button{margin-right:6px}#wpwrap .wpmui-field-label,body .wpmui-field-label{display:block;clear:both;margin:2px 0;font-style:normal;color:#222}#wpwrap h3.wpmui-field-label,body h3.wpmui-field-label{margin-bottom:10px}#wpwrap .wpmui-label-before,#wpwrap .wpmui-label-after,body .wpmui-label-before,body .wpmui-label-after{display:inline-block;margin:6px;line-height:28px;vertical-align:top}#wpwrap .wpmui-label-before .wpmui-field-input,#wpwrap .wpmui-label-before .wpmui-field-button,#wpwrap .wpmui-label-after .wpmui-field-input,#wpwrap .wpmui-label-after .wpmui-field-button,body .wpmui-label-before .wpmui-field-input,body .wpmui-label-before .wpmui-field-button,body .wpmui-label-after .wpmui-field-input,body .wpmui-label-after .wpmui-field-button{margin-top:0;margin-bottom:0}#wpwrap .wpmui-label-before,body .wpmui-label-before{margin-left:0}#wpwrap .wpmui-separator,body .wpmui-separator{border-bottom:1px solid #E5E5E5;margin:15px 0}#wpwrap .wpmui-divider,body .wpmui-divider{position:absolute;right:20px;top:0;bottom:0;border-right:1px solid #E5E5E5}#wpwrap .wpmui-hidden,body .wpmui-hidden{display:none;visibility:hidden}#wpwrap .wpmui-fa,body .wpmui-fa{font-family:Fontawesome420!important}#wpwrap .wpmui-field-checkbox,body .wpmui-field-checkbox{margin:6px 4px 0 0;position:absolute;left:0;top:0}#wpwrap .wpmui-checkbox-wrapper,body .wpmui-checkbox-wrapper{margin:6px auto;position:relative;display:inline-block;line-height:28px}#wpwrap .wpmui-checkbox-wrapper .wpmui-checkbox-caption,body .wpmui-checkbox-wrapper .wpmui-checkbox-caption{padding-left:24px;font-weight:500}#wpwrap .wpmui-radio-slider-wrapper .wpmui-label-before,#wpwrap .wpmui-radio-slider-wrapper .wpmui-label-after,body .wpmui-radio-slider-wrapper .wpmui-label-before,body .wpmui-radio-slider-wrapper .wpmui-label-after{line-height:18px;margin-top:3px;margin-bottom:3px}#wpwrap .wpmui-radio-slider-wrapper .wpmui-label-before,body .wpmui-radio-slider-wrapper .wpmui-label-before{font-weight:700;color:#000}#wpwrap .wpmui-radio-slider-wrapper .wpmui-label-after,body .wpmui-radio-slider-wrapper .wpmui-label-after{font-weight:400;color:#888}#wpwrap .wpmui-radio-slider-wrapper.on .wpmui-label-before,body .wpmui-radio-slider-wrapper.on .wpmui-label-before{font-weight:400;color:#888}#wpwrap .wpmui-radio-slider-wrapper.on .wpmui-label-after,body .wpmui-radio-slider-wrapper.on .wpmui-label-after{font-weight:700;color:#000}.wpmui-html-table{width:100%;clear:both;margin:10px 0;background:#FFF;border:1px solid #e5e5e5;border-spacing:0;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04)}.wpmui-html-table td,.wpmui-html-table th{line-height:24px;padding:8px 6px;vertical-align:top;font-size:12px;overflow:hidden;color:#555}.wpmui-html-table thead tr th{border-bottom:1px solid #e1e1e1;color:#333}
|
|
|
|
|
|
|
|
|
|
inc/external/wpmu-lib/css/{wpmu-ui.css → wpmu-ui.2.css}
RENAMED
@@ -5,6 +5,7 @@
|
|
5 |
* This library provides a Javascript API via the global wpmuUI object.
|
6 |
*
|
7 |
* Content:
|
|
|
8 |
* 01. Modal overlays
|
9 |
* 02. Popup Windows
|
10 |
* 03. Messages
|
@@ -17,8 +18,14 @@
|
|
17 |
* 10. Select2
|
18 |
* 11. On Off Switch
|
19 |
* 12. Confirmation
|
|
|
20 |
* 99. General Styles
|
21 |
*/
|
|
|
|
|
|
|
|
|
|
|
22 |
/**
|
23 |
* =============================================================================
|
24 |
* == 01. MODAL OVERLAYS
|
@@ -27,17 +34,27 @@
|
|
27 |
.wpmui-loading {
|
28 |
position: relative;
|
29 |
}
|
30 |
-
|
31 |
.wpmui-loading:after {
|
32 |
content: '';
|
33 |
position: absolute;
|
34 |
-
left:
|
35 |
-
top:
|
36 |
-
right:
|
37 |
-
bottom:
|
38 |
background: rgba(255, 255, 255, 0.8) url(../img/spinner.gif) center no-repeat;
|
39 |
z-index: 1000;
|
40 |
cursor: default;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
41 |
}
|
42 |
|
43 |
.wpmui-overlay {
|
@@ -51,22 +68,50 @@
|
|
51 |
z-index: 9999;
|
52 |
display: none;
|
53 |
}
|
|
|
|
|
|
|
54 |
|
55 |
.wpmui-has-overlay .wpmui-overlay {
|
56 |
display: block;
|
57 |
}
|
58 |
-
|
59 |
.wpmui-has-overlay #wpwrap {
|
60 |
-webkit-filter: grayscale(75%);
|
61 |
-moz-filter: grayscale(75%);
|
62 |
filter: gray;
|
63 |
filter: grayscale(75%);
|
64 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
65 |
|
66 |
.wpmui-no-scroll {
|
67 |
overflow: hidden;
|
68 |
}
|
69 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
70 |
/**
|
71 |
* =============================================================================
|
72 |
* == 02. POPUP WINDOWS
|
@@ -83,8 +128,7 @@
|
|
83 |
-moz-box-sizing: border-box;
|
84 |
box-sizing: border-box;
|
85 |
}
|
86 |
-
|
87 |
-
.wpmui-wnd-title {
|
88 |
line-height: 50px;
|
89 |
white-space: nowrap;
|
90 |
overflow: hidden;
|
@@ -92,14 +136,13 @@
|
|
92 |
padding: 0 70px 0 20px;
|
93 |
border-bottom: 1px solid #E5E5E5;
|
94 |
background: #F8F8F8;
|
95 |
-
height: 50px;
|
96 |
display: block;
|
97 |
font-size: 23px;
|
98 |
font-weight: 100;
|
99 |
z-index: 5;
|
100 |
}
|
101 |
-
|
102 |
-
.wpmui-wnd-close {
|
103 |
position: absolute;
|
104 |
top: 0;
|
105 |
right: 0;
|
@@ -113,21 +156,15 @@
|
|
113 |
cursor: pointer;
|
114 |
z-index: 10;
|
115 |
}
|
116 |
-
|
117 |
-
.wpmui-wnd-close .dashicons {
|
118 |
-
line-height: 50px;
|
119 |
-
}
|
120 |
-
|
121 |
-
.wpmui-wnd-close:hover,
|
122 |
-
.wpmui-wnd-close:focus,
|
123 |
-
.wpmui-wnd-close:active {
|
124 |
background: #FCFCFC;
|
125 |
color: #333;
|
126 |
}
|
127 |
-
|
128 |
-
|
|
|
|
|
129 |
position: absolute;
|
130 |
-
top: 51px;
|
131 |
left: 0;
|
132 |
right: 0;
|
133 |
bottom: 0;
|
@@ -135,24 +172,26 @@
|
|
135 |
padding: 20px 20px 20px 20px;
|
136 |
z-index: 1;
|
137 |
}
|
138 |
-
|
139 |
-
.wpmui-wnd-content:after {
|
140 |
content: '';
|
141 |
display: block;
|
142 |
clear: both;
|
143 |
padding: 50px 0 0 0;
|
144 |
}
|
145 |
-
|
146 |
.wpmui-wnd.no-buttons .wpmui-wnd-content:after {
|
147 |
padding-top: 0;
|
148 |
}
|
149 |
-
|
|
|
|
|
|
|
|
|
|
|
150 |
.wpmui-wnd hr {
|
151 |
margin: 15px -20px;
|
152 |
border: 0;
|
153 |
border-top: 1px solid #E5E5E5;
|
154 |
}
|
155 |
-
|
156 |
.wpmui-wnd .buttons {
|
157 |
text-align: right;
|
158 |
position: absolute;
|
@@ -267,62 +306,88 @@
|
|
267 |
* == 05. WORDPRESS POINTERS
|
268 |
* =============================================================================
|
269 |
*/
|
270 |
-
.wpmui-pointer {
|
271 |
margin-top: 30px;
|
272 |
}
|
273 |
-
.wpmui-pointer h3 {
|
274 |
background: transparent;
|
275 |
color: #333;
|
276 |
border: 0;
|
277 |
margin: 0;
|
278 |
-
padding:
|
|
|
279 |
}
|
280 |
-
.wpmui-pointer h3:before {
|
281 |
content: '';
|
282 |
display: none;
|
283 |
}
|
284 |
-
.wpmui-pointer p {
|
285 |
-
padding: 0
|
286 |
margin: 2px 0;
|
|
|
287 |
}
|
288 |
-
.wpmui-pointer .wp-pointer-content {
|
289 |
-
border-left: 2px solid #0074A2;
|
290 |
background: #FAFDFF;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
291 |
}
|
292 |
-
.wpmui-pointer .wp-pointer-
|
|
|
|
|
|
|
293 |
position: absolute;
|
294 |
top: 0;
|
295 |
right: 0;
|
296 |
white-space: nowrap;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
297 |
}
|
298 |
-
.wpmui-pointer .wp-pointer-buttons a.close:before {
|
299 |
position: static;
|
300 |
float: right;
|
301 |
line-height: 14px;
|
302 |
margin: 3px 0 1px 5px;
|
303 |
}
|
304 |
-
.wpmui-pointer .wp-pointer-arrow {
|
305 |
border: 0;
|
306 |
position: absolute;
|
307 |
top: 50%;
|
308 |
left: 0;
|
309 |
-
margin: -
|
310 |
}
|
311 |
-
.wpmui-pointer .wp-pointer-arrow:before {
|
312 |
-
|
313 |
-
border
|
314 |
margin: 0;
|
315 |
left: -10px;
|
316 |
position: absolute;
|
317 |
top: 0;
|
318 |
}
|
319 |
-
.wpmui-pointer .wp-pointer-arrow
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
320 |
display: none;
|
321 |
}
|
322 |
-
.wpmui-pointer.wp-pointer-left {
|
323 |
padding-left: 8px;
|
|
|
324 |
}
|
325 |
-
.wpmui-pointer.wp-pointer-left .wp-pointer-arrow {
|
326 |
left: 8px;
|
327 |
}
|
328 |
|
@@ -355,6 +420,7 @@
|
|
355 |
font-size: 12px;
|
356 |
}
|
357 |
|
|
|
358 |
.wpmui-form .button-link,
|
359 |
.wpmui-wnd .button-link {
|
360 |
display: inline-block;
|
@@ -362,7 +428,6 @@
|
|
362 |
font-size: 13px;
|
363 |
line-height: 26px;
|
364 |
height: 28px;
|
365 |
-
margin: 0;
|
366 |
padding: 0 10px 1px;
|
367 |
cursor: pointer;
|
368 |
white-space: nowrap;
|
@@ -372,6 +437,9 @@
|
|
372 |
-webkit-box-sizing: border-box;
|
373 |
-moz-box-sizing: border-box;
|
374 |
box-sizing: border-box;
|
|
|
|
|
|
|
375 |
-webkit-transition-property: border, background, color;
|
376 |
transition-property: border, background, color;
|
377 |
-webkit-transition-duration: .05s;
|
@@ -379,10 +447,13 @@
|
|
379 |
-webkit-transition-timing-function: ease-in-out;
|
380 |
transition-timing-function: ease-in-out;
|
381 |
}
|
382 |
-
|
383 |
.wpmui-form .button-link:hover,
|
384 |
.wpmui-form .button-link:active,
|
385 |
-
.wpmui-form .button-link:focus
|
|
|
|
|
|
|
386 |
color: #2EA2CC;
|
387 |
}
|
388 |
|
@@ -813,7 +884,7 @@
|
|
813 |
* == 12. CONFIRMATION
|
814 |
* =============================================================================
|
815 |
*/
|
816 |
-
.
|
817 |
left: 0;
|
818 |
top: 0;
|
819 |
right: 0;
|
@@ -845,6 +916,60 @@
|
|
845 |
margin-left: 10px;
|
846 |
}
|
847 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
848 |
/**
|
849 |
* =============================================================================
|
850 |
* == 99. GENERAL STYLES
|
5 |
* This library provides a Javascript API via the global wpmuUI object.
|
6 |
*
|
7 |
* Content:
|
8 |
+
* 00. Settings
|
9 |
* 01. Modal overlays
|
10 |
* 02. Popup Windows
|
11 |
* 03. Messages
|
18 |
* 10. Select2
|
19 |
* 11. On Off Switch
|
20 |
* 12. Confirmation
|
21 |
+
* 13. Progress Bar
|
22 |
* 99. General Styles
|
23 |
*/
|
24 |
+
/**
|
25 |
+
* =============================================================================
|
26 |
+
* == 00. SETTINGS
|
27 |
+
* =============================================================================
|
28 |
+
*/
|
29 |
/**
|
30 |
* =============================================================================
|
31 |
* == 01. MODAL OVERLAYS
|
34 |
.wpmui-loading {
|
35 |
position: relative;
|
36 |
}
|
|
|
37 |
.wpmui-loading:after {
|
38 |
content: '';
|
39 |
position: absolute;
|
40 |
+
left: -1px;
|
41 |
+
top: -1px;
|
42 |
+
right: -1px;
|
43 |
+
bottom: -1px;
|
44 |
background: rgba(255, 255, 255, 0.8) url(../img/spinner.gif) center no-repeat;
|
45 |
z-index: 1000;
|
46 |
cursor: default;
|
47 |
+
min-width: 20px;
|
48 |
+
min-height: 20px;
|
49 |
+
}
|
50 |
+
|
51 |
+
.wpmui-loading-icon {
|
52 |
+
display: inline-block;
|
53 |
+
width: 20px;
|
54 |
+
height: 20px;
|
55 |
+
line-height: 20px;
|
56 |
+
vertical-align: middle;
|
57 |
+
background: transparent url(../img/spinner.gif) center no-repeat;
|
58 |
}
|
59 |
|
60 |
.wpmui-overlay {
|
68 |
z-index: 9999;
|
69 |
display: none;
|
70 |
}
|
71 |
+
.wpmui-overlay.light {
|
72 |
+
opacity: .25;
|
73 |
+
}
|
74 |
|
75 |
.wpmui-has-overlay .wpmui-overlay {
|
76 |
display: block;
|
77 |
}
|
|
|
78 |
.wpmui-has-overlay #wpwrap {
|
79 |
-webkit-filter: grayscale(75%);
|
80 |
-moz-filter: grayscale(75%);
|
81 |
filter: gray;
|
82 |
filter: grayscale(75%);
|
83 |
}
|
84 |
+
.wpmui-has-overlay #wpbody {
|
85 |
+
-webkit-filter: blur(3px);
|
86 |
+
-moz-filter: blur(3px);
|
87 |
+
filter: blur(3px);
|
88 |
+
}
|
89 |
+
.wpmui-has-overlay.no-blur #wpbody {
|
90 |
+
-webkit-filter: blur(0);
|
91 |
+
-moz-filter: blur(0);
|
92 |
+
filter: blur(0);
|
93 |
+
}
|
94 |
|
95 |
.wpmui-no-scroll {
|
96 |
overflow: hidden;
|
97 |
}
|
98 |
|
99 |
+
.wpmui-blur {
|
100 |
+
-webkit-filter: blur(3px) grayscale(75%);
|
101 |
+
-moz-filter: blur(3px) grayscale(75%);
|
102 |
+
filter: blur(3px) grayscale(75%);
|
103 |
+
position: relative;
|
104 |
+
}
|
105 |
+
.wpmui-blur:before {
|
106 |
+
content: '';
|
107 |
+
position: absolute;
|
108 |
+
left: 0;
|
109 |
+
top: 0;
|
110 |
+
right: 0;
|
111 |
+
bottom: 0;
|
112 |
+
z-index: 10;
|
113 |
+
}
|
114 |
+
|
115 |
/**
|
116 |
* =============================================================================
|
117 |
* == 02. POPUP WINDOWS
|
128 |
-moz-box-sizing: border-box;
|
129 |
box-sizing: border-box;
|
130 |
}
|
131 |
+
.wpmui-wnd .wpmui-wnd-title {
|
|
|
132 |
line-height: 50px;
|
133 |
white-space: nowrap;
|
134 |
overflow: hidden;
|
136 |
padding: 0 70px 0 20px;
|
137 |
border-bottom: 1px solid #E5E5E5;
|
138 |
background: #F8F8F8;
|
139 |
+
min-height: 50px;
|
140 |
display: block;
|
141 |
font-size: 23px;
|
142 |
font-weight: 100;
|
143 |
z-index: 5;
|
144 |
}
|
145 |
+
.wpmui-wnd .wpmui-wnd-close {
|
|
|
146 |
position: absolute;
|
147 |
top: 0;
|
148 |
right: 0;
|
156 |
cursor: pointer;
|
157 |
z-index: 10;
|
158 |
}
|
159 |
+
.wpmui-wnd .wpmui-wnd-close:hover, .wpmui-wnd .wpmui-wnd-close:focus, .wpmui-wnd .wpmui-wnd-close:active {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
160 |
background: #FCFCFC;
|
161 |
color: #333;
|
162 |
}
|
163 |
+
.wpmui-wnd .wpmui-wnd-close .dashicons {
|
164 |
+
line-height: 50px;
|
165 |
+
}
|
166 |
+
.wpmui-wnd .wpmui-wnd-content {
|
167 |
position: absolute;
|
|
|
168 |
left: 0;
|
169 |
right: 0;
|
170 |
bottom: 0;
|
172 |
padding: 20px 20px 20px 20px;
|
173 |
z-index: 1;
|
174 |
}
|
175 |
+
.wpmui-wnd .wpmui-wnd-content:after {
|
|
|
176 |
content: '';
|
177 |
display: block;
|
178 |
clear: both;
|
179 |
padding: 50px 0 0 0;
|
180 |
}
|
|
|
181 |
.wpmui-wnd.no-buttons .wpmui-wnd-content:after {
|
182 |
padding-top: 0;
|
183 |
}
|
184 |
+
.wpmui-wnd.no-close .wpmui-wnd-title {
|
185 |
+
padding: 0 20px;
|
186 |
+
}
|
187 |
+
.wpmui-wnd.no-close .wpmui-wnd-close {
|
188 |
+
display: none;
|
189 |
+
}
|
190 |
.wpmui-wnd hr {
|
191 |
margin: 15px -20px;
|
192 |
border: 0;
|
193 |
border-top: 1px solid #E5E5E5;
|
194 |
}
|
|
|
195 |
.wpmui-wnd .buttons {
|
196 |
text-align: right;
|
197 |
position: absolute;
|
306 |
* == 05. WORDPRESS POINTERS
|
307 |
* =============================================================================
|
308 |
*/
|
309 |
+
.wpmui-pointer.wp-pointer-left {
|
310 |
margin-top: 30px;
|
311 |
}
|
312 |
+
.wpmui-pointer.wp-pointer-left h3 {
|
313 |
background: transparent;
|
314 |
color: #333;
|
315 |
border: 0;
|
316 |
margin: 0;
|
317 |
+
padding: 13px 20px 5px;
|
318 |
+
font-size: 13px;
|
319 |
}
|
320 |
+
.wpmui-pointer.wp-pointer-left h3:before {
|
321 |
content: '';
|
322 |
display: none;
|
323 |
}
|
324 |
+
.wpmui-pointer.wp-pointer-left p {
|
325 |
+
padding: 0 20px;
|
326 |
margin: 2px 0;
|
327 |
+
font-size: 12px;
|
328 |
}
|
329 |
+
.wpmui-pointer.wp-pointer-left .wp-pointer-content {
|
|
|
330 |
background: #FAFDFF;
|
331 |
+
border-radius: 4px;
|
332 |
+
border: 1px solid #ccc;
|
333 |
+
box-shadow: 0px 1px 8px -2px rgba(0, 0, 0, 0.35);
|
334 |
+
padding: 0 0 15px;
|
335 |
+
}
|
336 |
+
.wpmui-pointer.wp-pointer-left.no-title {
|
337 |
+
margin-top: 13px;
|
338 |
}
|
339 |
+
.wpmui-pointer.wp-pointer-left.no-title .wp-pointer-content {
|
340 |
+
padding-top: 17px;
|
341 |
+
}
|
342 |
+
.wpmui-pointer.wp-pointer-left .wp-pointer-buttons {
|
343 |
position: absolute;
|
344 |
top: 0;
|
345 |
right: 0;
|
346 |
white-space: nowrap;
|
347 |
+
padding: 5px 10px;
|
348 |
+
}
|
349 |
+
.wpmui-pointer.wp-pointer-left .wp-pointer-buttons a.close {
|
350 |
+
font-size: 1px;
|
351 |
+
color: transparent;
|
352 |
+
width: 10px;
|
353 |
+
padding: 0;
|
354 |
}
|
355 |
+
.wpmui-pointer.wp-pointer-left .wp-pointer-buttons a.close:before {
|
356 |
position: static;
|
357 |
float: right;
|
358 |
line-height: 14px;
|
359 |
margin: 3px 0 1px 5px;
|
360 |
}
|
361 |
+
.wpmui-pointer.wp-pointer-left .wp-pointer-arrow {
|
362 |
border: 0;
|
363 |
position: absolute;
|
364 |
top: 50%;
|
365 |
left: 0;
|
366 |
+
margin: -6px 0 0;
|
367 |
}
|
368 |
+
.wpmui-pointer.wp-pointer-left .wp-pointer-arrow:before, .wpmui-pointer.wp-pointer-left .wp-pointer-arrow:after {
|
369 |
+
content: '';
|
370 |
+
border: 6px solid transparent;
|
371 |
margin: 0;
|
372 |
left: -10px;
|
373 |
position: absolute;
|
374 |
top: 0;
|
375 |
}
|
376 |
+
.wpmui-pointer.wp-pointer-left .wp-pointer-arrow:before {
|
377 |
+
border-right-color: #CCC;
|
378 |
+
left: -11px;
|
379 |
+
}
|
380 |
+
.wpmui-pointer.wp-pointer-left .wp-pointer-arrow:after {
|
381 |
+
border-right-color: #FAFDFF;
|
382 |
+
}
|
383 |
+
.wpmui-pointer.wp-pointer-left .wp-pointer-arrow-inner {
|
384 |
display: none;
|
385 |
}
|
386 |
+
.wpmui-pointer.wp-pointer-left.wp-pointer-left {
|
387 |
padding-left: 8px;
|
388 |
+
margin-left: -12px;
|
389 |
}
|
390 |
+
.wpmui-pointer.wp-pointer-left.wp-pointer-left .wp-pointer-arrow {
|
391 |
left: 8px;
|
392 |
}
|
393 |
|
420 |
font-size: 12px;
|
421 |
}
|
422 |
|
423 |
+
#wpwrap .button-link,
|
424 |
.wpmui-form .button-link,
|
425 |
.wpmui-wnd .button-link {
|
426 |
display: inline-block;
|
428 |
font-size: 13px;
|
429 |
line-height: 26px;
|
430 |
height: 28px;
|
|
|
431 |
padding: 0 10px 1px;
|
432 |
cursor: pointer;
|
433 |
white-space: nowrap;
|
437 |
-webkit-box-sizing: border-box;
|
438 |
-moz-box-sizing: border-box;
|
439 |
box-sizing: border-box;
|
440 |
+
-webkit-box-shadow: 0 0 0 transparent;
|
441 |
+
-moz-box-shadow: 0 0 0 transparent;
|
442 |
+
box-shadow: 0 0 0 transparent;
|
443 |
-webkit-transition-property: border, background, color;
|
444 |
transition-property: border, background, color;
|
445 |
-webkit-transition-duration: .05s;
|
447 |
-webkit-transition-timing-function: ease-in-out;
|
448 |
transition-timing-function: ease-in-out;
|
449 |
}
|
450 |
+
#wpwrap .button-link:hover, #wpwrap .button-link:active, #wpwrap .button-link:focus,
|
451 |
.wpmui-form .button-link:hover,
|
452 |
.wpmui-form .button-link:active,
|
453 |
+
.wpmui-form .button-link:focus,
|
454 |
+
.wpmui-wnd .button-link:hover,
|
455 |
+
.wpmui-wnd .button-link:active,
|
456 |
+
.wpmui-wnd .button-link:focus {
|
457 |
color: #2EA2CC;
|
458 |
}
|
459 |
|
884 |
* == 12. CONFIRMATION
|
885 |
* =============================================================================
|
886 |
*/
|
887 |
+
.wpmui-confirm-modal {
|
888 |
left: 0;
|
889 |
top: 0;
|
890 |
right: 0;
|
916 |
margin-left: 10px;
|
917 |
}
|
918 |
|
919 |
+
/**
|
920 |
+
* =============================================================================
|
921 |
+
* == 13. PROGRESS BAR
|
922 |
+
* =============================================================================
|
923 |
+
*/
|
924 |
+
.wpmui-progress-wrap {
|
925 |
+
position: relative;
|
926 |
+
width: 100%;
|
927 |
+
}
|
928 |
+
.wpmui-progress-wrap .wpmui-progress-full {
|
929 |
+
background: rgba(255, 255, 255, 0.7);
|
930 |
+
width: 100%;
|
931 |
+
border-radius: 2px;
|
932 |
+
box-shadow: 1px 1px 2px 0px rgba(0, 0, 0, 0.1);
|
933 |
+
}
|
934 |
+
.wpmui-progress-wrap .wpmui-progress {
|
935 |
+
background: #369;
|
936 |
+
border-radius: 2px;
|
937 |
+
height: 28px;
|
938 |
+
transition: width .25s;
|
939 |
+
}
|
940 |
+
.wpmui-progress-wrap .wpmui-progress-percent {
|
941 |
+
position: absolute;
|
942 |
+
left: 0;
|
943 |
+
right: 0;
|
944 |
+
top: 0;
|
945 |
+
line-height: 28px;
|
946 |
+
font-size: 13px;
|
947 |
+
text-align: center;
|
948 |
+
color: #FFF;
|
949 |
+
text-shadow: 0 0 5px #264c73;
|
950 |
+
}
|
951 |
+
.wpmui-progress-wrap .wpmui-progress-percent:before {
|
952 |
+
content: '';
|
953 |
+
position: absolute;
|
954 |
+
left: 50%;
|
955 |
+
width: 30px;
|
956 |
+
height: 10px;
|
957 |
+
top: 50%;
|
958 |
+
border-radius: 5px;
|
959 |
+
margin-top: -5px;
|
960 |
+
margin-left: -15px;
|
961 |
+
box-shadow: 0 0 8px 4px #264c73;
|
962 |
+
background: #264c73;
|
963 |
+
z-index: -1;
|
964 |
+
opacity: .5;
|
965 |
+
}
|
966 |
+
.wpmui-progress-wrap .wpmui-progress-label {
|
967 |
+
font-size: 12px;
|
968 |
+
margin-top: 6px;
|
969 |
+
color: #888;
|
970 |
+
text-align: right;
|
971 |
+
}
|
972 |
+
|
973 |
/**
|
974 |
* =============================================================================
|
975 |
* == 99. GENERAL STYLES
|
inc/external/wpmu-lib/css/wpmu-ui.2.min.css
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*! WPMU Dev code library - v2.0.3
|
2 |
+
* http://premium.wpmudev.org/
|
3 |
+
* Copyright (c) 2015; * Licensed GPLv2+ */
|
4 |
+
|
5 |
+
.wpmui-loading{position:relative}.wpmui-loading:after{content:'';position:absolute;left:-1px;top:-1px;right:-1px;bottom:-1px;background:rgba(255,255,255,.8) url(../img/spinner.gif) center no-repeat;z-index:1000;cursor:default;min-width:20px;min-height:20px}.wpmui-loading-icon{display:inline-block;width:20px;height:20px;line-height:20px;vertical-align:middle;background:transparent url(../img/spinner.gif) center no-repeat}.wpmui-overlay{background:#000;opacity:.7;position:fixed;top:0;right:0;bottom:0;left:0;z-index:9999;display:none}.wpmui-overlay.light{opacity:.25}.wpmui-has-overlay .wpmui-overlay{display:block}.wpmui-has-overlay #wpwrap{-webkit-filter:grayscale(75%);-moz-filter:grayscale(75%);filter:gray;filter:grayscale(75%)}.wpmui-has-overlay #wpbody{-webkit-filter:blur(3px);-moz-filter:blur(3px);filter:blur(3px)}.wpmui-has-overlay.no-blur #wpbody{-webkit-filter:blur(0);-moz-filter:blur(0);filter:blur(0)}.wpmui-no-scroll{overflow:hidden}.wpmui-blur{-webkit-filter:blur(3px) grayscale(75%);-moz-filter:blur(3px) grayscale(75%);filter:blur(3px) grayscale(75%);position:relative}.wpmui-blur:before{content:'';position:absolute;left:0;top:0;right:0;bottom:0;z-index:10}.wpmui-wnd{background:#F5F5F5;position:fixed;box-shadow:0 2px 20px rgba(0,0,0,.4);z-index:10000;top:50%;left:50%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.wpmui-wnd .wpmui-wnd-title{line-height:50px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0 70px 0 20px;border-bottom:1px solid #E5E5E5;background:#F8F8F8;min-height:50px;display:block;font-size:23px;font-weight:100;z-index:5}.wpmui-wnd .wpmui-wnd-close{position:absolute;top:0;right:0;width:50px;line-height:50px;height:50px;text-align:center;text-decoration:none;color:#666;border-left:1px solid #E5E5E5;cursor:pointer;z-index:10}.wpmui-wnd .wpmui-wnd-close:hover,.wpmui-wnd .wpmui-wnd-close:focus,.wpmui-wnd .wpmui-wnd-close:active{background:#FCFCFC;color:#333}.wpmui-wnd .wpmui-wnd-close .dashicons{line-height:50px}.wpmui-wnd .wpmui-wnd-content{position:absolute;left:0;right:0;bottom:0;overflow:auto;padding:20px;z-index:1}.wpmui-wnd .wpmui-wnd-content:after{content:'';display:block;clear:both;padding:50px 0 0}.wpmui-wnd.no-buttons .wpmui-wnd-content:after{padding-top:0}.wpmui-wnd.no-close .wpmui-wnd-title{padding:0 20px}.wpmui-wnd.no-close .wpmui-wnd-close{display:none}.wpmui-wnd hr{margin:15px -20px;border:0;border-top:1px solid #E5E5E5}.wpmui-wnd .buttons{text-align:right;position:absolute;bottom:0;right:0;background:rgba(245,245,245,.8);padding:10px 20px;left:0;height:50px;border-top:1px solid #E5E5E5;margin:0;z-index:2;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.wpmui-msg{position:relative;min-height:30px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.wpmui-msg .wpmui-close{float:right;margin-top:8px;width:20px;height:20px;line-height:20px;text-align:center;cursor:pointer;text-decoration:none;font-size:16px;padding:0;color:#CCC}.wpmui-msg .wpmui-close:hover,.wpmui-msg .wpmui-close:focus,.wpmui-msg .wpmui-close:active{color:#333}.wpmui-msg .debug{padding:5px;color:#666;font-size:12px;font-family:monospace;margin-bottom:.5em;background:#F8F8F8}.wpmui-tip-box{position:relative}.wpmui-tip{position:absolute;display:none;padding:8px;z-index:100;background:#333;color:#EEE;box-shadow:0 1px 8px rgba(0,0,0,.4);border-radius:2px}.wpmui-tip.wpmui-visible{display:block}.wpmui-tip:before{content:'';position:absolute;border:5px solid transparent;left:50%;top:50%;margin-left:-5px;margin-top:-5px}.wpmui-tip.top:before{border-top-color:#333;bottom:-10px;top:auto}.wpmui-tip.bottom:before{border-bottom-color:#333;top:-5px}.wpmui-tip.left:before{border-left-color:#333;right:-10px;left:auto}.wpmui-tip.right:before{border-right-color:#333;left:-5px}.wpmui-pointer.wp-pointer-left{margin-top:30px}.wpmui-pointer.wp-pointer-left h3{background:transparent;color:#333;border:0;margin:0;padding:13px 20px 5px;font-size:13px}.wpmui-pointer.wp-pointer-left h3:before{content:'';display:none}.wpmui-pointer.wp-pointer-left p{padding:0 20px;margin:2px 0;font-size:12px}.wpmui-pointer.wp-pointer-left .wp-pointer-content{background:#FAFDFF;border-radius:4px;border:1px solid #ccc;box-shadow:0 1px 8px -2px rgba(0,0,0,.35);padding:0 0 15px}.wpmui-pointer.wp-pointer-left.no-title{margin-top:13px}.wpmui-pointer.wp-pointer-left.no-title .wp-pointer-content{padding-top:17px}.wpmui-pointer.wp-pointer-left .wp-pointer-buttons{position:absolute;top:0;right:0;white-space:nowrap;padding:5px 10px}.wpmui-pointer.wp-pointer-left .wp-pointer-buttons a.close{font-size:1px;color:transparent;width:10px;padding:0}.wpmui-pointer.wp-pointer-left .wp-pointer-buttons a.close:before{position:static;float:right;line-height:14px;margin:3px 0 1px 5px}.wpmui-pointer.wp-pointer-left .wp-pointer-arrow{border:0;position:absolute;top:50%;left:0;margin:-6px 0 0}.wpmui-pointer.wp-pointer-left .wp-pointer-arrow:before,.wpmui-pointer.wp-pointer-left .wp-pointer-arrow:after{content:'';border:6px solid transparent;margin:0;left:-10px;position:absolute;top:0}.wpmui-pointer.wp-pointer-left .wp-pointer-arrow:before{border-right-color:#CCC;left:-11px}.wpmui-pointer.wp-pointer-left .wp-pointer-arrow:after{border-right-color:#FAFDFF}.wpmui-pointer.wp-pointer-left .wp-pointer-arrow-inner{display:none}.wpmui-pointer.wp-pointer-left.wp-pointer-left{padding-left:8px;margin-left:-12px}.wpmui-pointer.wp-pointer-left.wp-pointer-left .wp-pointer-arrow{left:8px}.wpmui-form label{display:block;line-height:26px;font-size:14px;font-weight:500}.wpmui-form input[type=text],.wpmui-form input[type=password],.wpmui-form textarea,.wpmui-form select{width:100%;margin:0;display:block;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.wpmui-form .hint{color:#666;font-size:12px}#wpwrap .button-link,.wpmui-form .button-link,.wpmui-wnd .button-link{display:inline-block;text-decoration:underline;font-size:13px;line-height:26px;height:28px;padding:0 10px 1px;cursor:pointer;white-space:nowrap;color:#0074A2;background:transparent;border:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-box-shadow:0 0 0 transparent;-moz-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;-webkit-transition-property:border,background,color;transition-property:border,background,color;-webkit-transition-duration:.05s;transition-duration:.05s;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out}#wpwrap .button-link:hover,#wpwrap .button-link:active,#wpwrap .button-link:focus,.wpmui-form .button-link:hover,.wpmui-form .button-link:active,.wpmui-form .button-link:focus,.wpmui-wnd .button-link:hover,.wpmui-wnd .button-link:active,.wpmui-wnd .button-link:focus{color:#2EA2CC}.wpmui-grid-8 *,.wpmui-grid-12 *,.wpmui-grid-8 :after,.wpmui-grid-12 :after,.wpmui-grid-8 :before,.wpmui-grid-12 :before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.wpmui-grid-8 [class*=col-],.wpmui-grid-12 [class*=col-]{float:left;padding-right:20px}.wpmui-grid-8 [class*=col-]:last-of-type,.wpmui-grid-12 [class*=col-]:last-of-type{padding-right:0}.wpmui-grid-8,.wpmui-grid-12{width:100%;margin:0;overflow:hidden;padding:10px 0 0}.wpmui-grid-8:after,.wpmui-grid-12:after{content:'';display:table;clear:both}.wpmui-grid-8 .col-8,.wpmui-grid-12 .col-12{width:100%}.wpmui-grid-12 .col-11{width:91.66%}.wpmui-grid-8 .col-7{width:87.5%}.wpmui-grid-12 .col-10{width:83.333%}.wpmui-grid-8 .col-6,.wpmui-grid-12 .col-9{width:75%}.wpmui-grid-12 .col-8{width:66.66%}.wpmui-grid-8 .col-5{width:62.5%}.wpmui-grid-12 .col-7{width:58.33%}.wpmui-grid-8 .col-4,.wpmui-grid-12 .col-6{width:50%}.wpmui-grid-12 .col-5{width:41.66%}.wpmui-grid-8 .col-3{width:37.5%}.wpmui-grid-12 .col-4{width:33.33%}.wpmui-grid-8 .col-2,.wpmui-grid-12 .col-3{width:25%}.wpmui-grid-12 .col-2{width:16.667%}.wpmui-grid-8 .col-1{width:12.5%}.wpmui-grid-12 .col-1{width:8.33%}@media handheld,only screen and (max-width:767px){.wpmui-grid-8,.wpmui-grid-12{width:100%;min-width:0;margin-left:0;margin-right:0;padding-left:0;padding-right:0}.wpmui-grid-8 [class*=col-],.wpmui-grid-12 [class*=col-]{width:auto;float:none;margin-left:0;margin-right:0;margin-top:10px;margin-bottom:10px;padding-left:20px;padding-right:20px}}.wpmui-box{margin-bottom:10px;padding:0;line-height:1;position:relative;min-width:255px;border:1px solid #E5E5E5;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04);background:#FFF}.wpmui-box>h3{font-size:14px;padding:8px 12px;margin:0;line-height:1.4;border-bottom:1px solid #EEE;cursor:pointer}.wpmui-box>h3 .toggle{cursor:pointer;float:right;width:36px;height:36px;color:#AAA;text-decoration:none;margin:-8px -12px;text-align:center;position:relative;line-height:36px}.wpmui-box>h3:hover .toggle,.wpmui-box .toggle:hover,.wpmui-box .toggle:focus,.wpmui-box .toggle:active{color:#777}.wpmui-box>h3 .toggle:before{content:'\f142';font:400 20px/36px dashicons;speak:none;display:inline-block;position:absolute;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important;width:100%;height:100%;top:0;right:0}.wpmui-box>.inside{margin:6px 0 0;position:relative;padding:0 12px 12px;line-height:1.4em;font-size:13px}.wpmui-box>.inside:after{content:'';display:table;clear:both}.wpmui-box.closed>h3 .toggle:before{content:'\f140'}.wpmui-box.closed>.inside{display:none}.wpmui-box.static>h3{cursor:default}.wpmui-box.static>h3 .toggle{display:none}.wpmui-box.static>.inside{display:block}.wpmui-tabs{border-bottom:1px solid #EEE;padding-bottom:0;padding-left:10px;list-style:none;margin:20px 0 0}.wpmui-tabs .tab{border:1px solid #EEE;background:#F0F0F0;color:#999;display:inline-block;text-decoration:none;margin:0 4px -1px 0;padding:0 12px;font-weight:600;font-size:13px;line-height:34px}.wpmui-tabs .tab:hover,.wpmui-tabs .tab:focus,.wpmui-tabs .tab:active{background:#F4F4F4;color:#777}.wpmui-tabs .tab.active{border-bottom:1px solid #FFF;background:#FFF;color:#444}.wpmui-tab-contents{padding:12px}.wpmui-tab-contents .tab{display:none}.wpmui-tab-contents .tab.active{display:block}.wpmui-box>.inside>.wpmui-tabs{margin-left:-12px;margin-right:-12px;padding-left:22px}.wpmui-box>.inside>.wpmui-tab-contents{margin-left:-12px;margin-right:-12px;margin-bottom:-12px}.select2-container a{transition:none!important}.select2-drop{z-index:1000500!important}.select2-drop-mask{z-index:1000499!important}.wpmui-toggle{position:relative;width:26px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.wpmui-toggle-checkbox{display:none!important}.wpmui-toggle-label{display:block;overflow:hidden;cursor:pointer;border:1px solid #CCC;border-radius:50px}.wpmui-toggle-inner{display:block;width:200%;margin-left:-100%;-moz-transition:margin .3s ease-in 0s;-webkit-transition:margin .3s ease-in 0s;-o-transition:margin .3s ease-in 0s;transition:margin .3s ease-in 0s}.wpmui-toggle-inner:before,.wpmui-toggle-inner:after{display:block;float:left;width:50%;height:5px;padding:0;line-height:5px;font-size:10px;color:#fff;font-family:Trebuchet,Arial,sans-serif;font-weight:700;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;box-shadow:0 1px 0 rgba(0,0,0,.2) inset}.wpmui-toggle-inner:before{content:"";padding-left:5px;background-color:#0074A2}.wpmui-toggle-inner:after{content:"";padding-right:5px;background-color:#EEE;text-align:right}.wpmui-toggle-switch{display:block;width:14px;margin:-3.5px;background:#F8F8F8;border:1px solid #CCC;border-radius:15px;position:absolute;top:0;bottom:0;right:20px;-moz-transition:all .3s ease-in 0s;-webkit-transition:all .3s ease-in 0s;-o-transition:all .3s ease-in 0s;transition:all .3s ease-in 0s;box-shadow:-1px 1px 2px rgba(0,0,0,.1)}.wpmui-toggle-checkbox:checked+.wpmui-toggle-label .wpmui-toggle-inner{margin-left:0}.wpmui-toggle-checkbox:checked+.wpmui-toggle-label .wpmui-toggle-switch{right:0}.wpmui-confirm-modal{left:0;top:0;right:0;bottom:0;z-index:99998;background:#000;opacity:.4}.wpmui-confirm-box{top:25%;width:580px;padding:20px 20px 0;left:50%;margin-left:-310px;z-index:99999;background:#FFF;box-shadow:0 0 10px rgba(0,0,0,.4)}.wpmui-confirm-box .wpmui-confirm-btn{margin:10px -20px 0;padding:10px 20px;text-align:right;background:#FAFAFA;border-top:1px solid #E5E5E5}.wpmui-confirm-box .wpmui-confirm-btn button{margin-left:10px}.wpmui-progress-wrap{position:relative;width:100%}.wpmui-progress-wrap .wpmui-progress-full{background:rgba(255,255,255,.7);width:100%;border-radius:2px;box-shadow:1px 1px 2px 0 rgba(0,0,0,.1)}.wpmui-progress-wrap .wpmui-progress{background:#369;border-radius:2px;height:28px;transition:width .25s}.wpmui-progress-wrap .wpmui-progress-percent{position:absolute;left:0;right:0;top:0;line-height:28px;font-size:13px;text-align:center;color:#FFF;text-shadow:0 0 5px #264c73}.wpmui-progress-wrap .wpmui-progress-percent:before{content:'';position:absolute;left:50%;width:30px;height:10px;top:50%;border-radius:5px;margin-top:-5px;margin-left:-15px;box-shadow:0 0 8px 4px #264c73;background:#264c73;z-index:-1;opacity:.5}.wpmui-progress-wrap .wpmui-progress-label{font-size:12px;margin-top:6px;color:#888;text-align:right}.no-pad-top{padding-top:0!important;margin-top:0!important}.no-pad-bottom{padding-bottom:0!important;margin-bottom:0!important}.no-pad{padding-top:0!important;padding-bottom:0!important;margin-top:0!important;margin-bottom:0!important}.dashicons.light{opacity:.5}.cf:before,.cf:after{content:'';display:table}.cf:after{clear:both}.wpmui-left{float:left}.wpmui-right{float:right}.button .dashicons,.button-primary .dashicons{line-height:26px;height:26px;float:left;margin-right:6px}
|
inc/external/wpmu-lib/css/wpmu-ui.min.css
DELETED
@@ -1,5 +0,0 @@
|
|
1 |
-
/*! WPMU Dev code library - v1.1.1
|
2 |
-
* http://premium.wpmudev.org/
|
3 |
-
* Copyright (c) 2014; * Licensed GPLv2+ */
|
4 |
-
|
5 |
-
.wpmui-loading{position:relative}.wpmui-loading:after{content:'';position:absolute;left:0;top:0;right:0;bottom:0;background:rgba(255,255,255,.8) url(../img/spinner.gif) center no-repeat;z-index:1000;cursor:default}.wpmui-overlay{background:#000;opacity:.7;position:fixed;top:0;right:0;bottom:0;left:0;z-index:9999;display:none}.wpmui-has-overlay .wpmui-overlay{display:block}.wpmui-has-overlay #wpwrap{-webkit-filter:grayscale(75%);-moz-filter:grayscale(75%);filter:gray;filter:grayscale(75%)}.wpmui-no-scroll{overflow:hidden}.wpmui-wnd{background:#F5F5F5;position:fixed;box-shadow:0 2px 20px rgba(0,0,0,.4);z-index:10000;top:50%;left:50%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.wpmui-wnd-title{line-height:50px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0 70px 0 20px;border-bottom:1px solid #E5E5E5;background:#F8F8F8;height:50px;display:block;font-size:23px;font-weight:100;z-index:5}.wpmui-wnd-close{position:absolute;top:0;right:0;width:50px;line-height:50px;height:50px;text-align:center;text-decoration:none;color:#666;border-left:1px solid #E5E5E5;cursor:pointer;z-index:10}.wpmui-wnd-close .dashicons{line-height:50px}.wpmui-wnd-close:hover,.wpmui-wnd-close:focus,.wpmui-wnd-close:active{background:#FCFCFC;color:#333}.wpmui-wnd-content{position:absolute;top:51px;left:0;right:0;bottom:0;overflow:auto;padding:20px;z-index:1}.wpmui-wnd-content:after{content:'';display:block;clear:both;padding:50px 0 0}.wpmui-wnd.no-buttons .wpmui-wnd-content:after{padding-top:0}.wpmui-wnd hr{margin:15px -20px;border:0;border-top:1px solid #E5E5E5}.wpmui-wnd .buttons{text-align:right;position:absolute;bottom:0;right:0;background:rgba(245,245,245,.8);padding:10px 20px;left:0;height:50px;border-top:1px solid #E5E5E5;margin:0;z-index:2;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.wpmui-msg{position:relative;min-height:30px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.wpmui-msg .wpmui-close{float:right;margin-top:8px;width:20px;height:20px;line-height:20px;text-align:center;cursor:pointer;text-decoration:none;font-size:16px;padding:0;color:#CCC}.wpmui-msg .wpmui-close:hover,.wpmui-msg .wpmui-close:focus,.wpmui-msg .wpmui-close:active{color:#333}.wpmui-msg .debug{padding:5px;color:#666;font-size:12px;font-family:monospace;margin-bottom:.5em;background:#F8F8F8}.wpmui-tip-box{position:relative}.wpmui-tip{position:absolute;display:none;padding:8px;z-index:100;background:#333;color:#EEE;box-shadow:0 1px 8px rgba(0,0,0,.4);border-radius:2px}.wpmui-tip.wpmui-visible{display:block}.wpmui-tip:before{content:'';position:absolute;border:5px solid transparent;left:50%;top:50%;margin-left:-5px;margin-top:-5px}.wpmui-tip.top:before{border-top-color:#333;bottom:-10px;top:auto}.wpmui-tip.bottom:before{border-bottom-color:#333;top:-5px}.wpmui-tip.left:before{border-left-color:#333;right:-10px;left:auto}.wpmui-tip.right:before{border-right-color:#333;left:-5px}.wpmui-pointer{margin-top:30px}.wpmui-pointer h3{background:transparent;color:#333;border:0;margin:0;padding:8px 15px 5px}.wpmui-pointer h3:before{content:'';display:none}.wpmui-pointer p{padding:0 15px;margin:2px 0}.wpmui-pointer .wp-pointer-content{border-left:2px solid #0074A2;background:#FAFDFF}.wpmui-pointer .wp-pointer-buttons{position:absolute;top:0;right:0;white-space:nowrap}.wpmui-pointer .wp-pointer-buttons a.close:before{position:static;float:right;line-height:14px;margin:3px 0 1px 5px}.wpmui-pointer .wp-pointer-arrow{border:0;position:absolute;top:50%;left:0;margin:-5px 0 0}.wpmui-pointer .wp-pointer-arrow:before{border:5px solid transparent;border-right-color:#0074A2;margin:0;left:-10px;position:absolute;top:0}.wpmui-pointer .wp-pointer-arrow-inner{display:none}.wpmui-pointer.wp-pointer-left{padding-left:8px}.wpmui-pointer.wp-pointer-left .wp-pointer-arrow{left:8px}.wpmui-form label{display:block;line-height:26px;font-size:14px;font-weight:500}.wpmui-form input[type=text],.wpmui-form input[type=password],.wpmui-form textarea,.wpmui-form select{width:100%;margin:0;display:block;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.wpmui-form .hint{color:#666;font-size:12px}.wpmui-form .button-link,.wpmui-wnd .button-link{display:inline-block;text-decoration:underline;font-size:13px;line-height:26px;height:28px;margin:0;padding:0 10px 1px;cursor:pointer;white-space:nowrap;color:#0074A2;background:transparent;border:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-transition-property:border,background,color;transition-property:border,background,color;-webkit-transition-duration:.05s;transition-duration:.05s;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out}.wpmui-form .button-link:hover,.wpmui-form .button-link:active,.wpmui-form .button-link:focus{color:#2EA2CC}.wpmui-grid-8 *,.wpmui-grid-12 *,.wpmui-grid-8 :after,.wpmui-grid-12 :after,.wpmui-grid-8 :before,.wpmui-grid-12 :before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.wpmui-grid-8 [class*=col-],.wpmui-grid-12 [class*=col-]{float:left;padding-right:20px}.wpmui-grid-8 [class*=col-]:last-of-type,.wpmui-grid-12 [class*=col-]:last-of-type{padding-right:0}.wpmui-grid-8,.wpmui-grid-12{width:100%;margin:0;overflow:hidden;padding:10px 0 0}.wpmui-grid-8:after,.wpmui-grid-12:after{content:'';display:table;clear:both}.wpmui-grid-8 .col-8,.wpmui-grid-12 .col-12{width:100%}.wpmui-grid-12 .col-11{width:91.66%}.wpmui-grid-8 .col-7{width:87.5%}.wpmui-grid-12 .col-10{width:83.333%}.wpmui-grid-8 .col-6,.wpmui-grid-12 .col-9{width:75%}.wpmui-grid-12 .col-8{width:66.66%}.wpmui-grid-8 .col-5{width:62.5%}.wpmui-grid-12 .col-7{width:58.33%}.wpmui-grid-8 .col-4,.wpmui-grid-12 .col-6{width:50%}.wpmui-grid-12 .col-5{width:41.66%}.wpmui-grid-8 .col-3{width:37.5%}.wpmui-grid-12 .col-4{width:33.33%}.wpmui-grid-8 .col-2,.wpmui-grid-12 .col-3{width:25%}.wpmui-grid-12 .col-2{width:16.667%}.wpmui-grid-8 .col-1{width:12.5%}.wpmui-grid-12 .col-1{width:8.33%}@media handheld,only screen and (max-width:767px){.wpmui-grid-8,.wpmui-grid-12{width:100%;min-width:0;margin-left:0;margin-right:0;padding-left:0;padding-right:0}.wpmui-grid-8 [class*=col-],.wpmui-grid-12 [class*=col-]{width:auto;float:none;margin-left:0;margin-right:0;margin-top:10px;margin-bottom:10px;padding-left:20px;padding-right:20px}}.wpmui-box{margin-bottom:10px;padding:0;line-height:1;position:relative;min-width:255px;border:1px solid #E5E5E5;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04);background:#FFF}.wpmui-box>h3{font-size:14px;padding:8px 12px;margin:0;line-height:1.4;border-bottom:1px solid #EEE;cursor:pointer}.wpmui-box>h3 .toggle{cursor:pointer;float:right;width:36px;height:36px;color:#AAA;text-decoration:none;margin:-8px -12px;text-align:center;position:relative;line-height:36px}.wpmui-box>h3:hover .toggle,.wpmui-box .toggle:hover,.wpmui-box .toggle:focus,.wpmui-box .toggle:active{color:#777}.wpmui-box>h3 .toggle:before{content:'\f142';font:400 20px/36px dashicons;speak:none;display:inline-block;position:absolute;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important;width:100%;height:100%;top:0;right:0}.wpmui-box>.inside{margin:6px 0 0;position:relative;padding:0 12px 12px;line-height:1.4em;font-size:13px}.wpmui-box>.inside:after{content:'';display:table;clear:both}.wpmui-box.closed>h3 .toggle:before{content:'\f140'}.wpmui-box.closed>.inside{display:none}.wpmui-box.static>h3{cursor:default}.wpmui-box.static>h3 .toggle{display:none}.wpmui-box.static>.inside{display:block}.wpmui-tabs{border-bottom:1px solid #EEE;padding-bottom:0;padding-left:10px;list-style:none;margin:20px 0 0}.wpmui-tabs .tab{border:1px solid #EEE;background:#F0F0F0;color:#999;display:inline-block;text-decoration:none;margin:0 4px -1px 0;padding:0 12px;font-weight:600;font-size:13px;line-height:34px}.wpmui-tabs .tab:hover,.wpmui-tabs .tab:focus,.wpmui-tabs .tab:active{background:#F4F4F4;color:#777}.wpmui-tabs .tab.active{border-bottom:1px solid #FFF;background:#FFF;color:#444}.wpmui-tab-contents{padding:12px}.wpmui-tab-contents .tab{display:none}.wpmui-tab-contents .tab.active{display:block}.wpmui-box>.inside>.wpmui-tabs{margin-left:-12px;margin-right:-12px;padding-left:22px}.wpmui-box>.inside>.wpmui-tab-contents{margin-left:-12px;margin-right:-12px;margin-bottom:-12px}.select2-container a{transition:none!important}.select2-drop{z-index:1000500!important}.select2-drop-mask{z-index:1000499!important}.wpmui-toggle{position:relative;width:26px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.wpmui-toggle-checkbox{display:none!important}.wpmui-toggle-label{display:block;overflow:hidden;cursor:pointer;border:1px solid #CCC;border-radius:50px}.wpmui-toggle-inner{display:block;width:200%;margin-left:-100%;-moz-transition:margin .3s ease-in 0s;-webkit-transition:margin .3s ease-in 0s;-o-transition:margin .3s ease-in 0s;transition:margin .3s ease-in 0s}.wpmui-toggle-inner:before,.wpmui-toggle-inner:after{display:block;float:left;width:50%;height:5px;padding:0;line-height:5px;font-size:10px;color:#fff;font-family:Trebuchet,Arial,sans-serif;font-weight:700;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;box-shadow:0 1px 0 rgba(0,0,0,.2) inset}.wpmui-toggle-inner:before{content:"";padding-left:5px;background-color:#0074A2}.wpmui-toggle-inner:after{content:"";padding-right:5px;background-color:#EEE;text-align:right}.wpmui-toggle-switch{display:block;width:14px;margin:-3.5px;background:#F8F8F8;border:1px solid #CCC;border-radius:15px;position:absolute;top:0;bottom:0;right:20px;-moz-transition:all .3s ease-in 0s;-webkit-transition:all .3s ease-in 0s;-o-transition:all .3s ease-in 0s;transition:all .3s ease-in 0s;box-shadow:-1px 1px 2px rgba(0,0,0,.1)}.wpmui-toggle-checkbox:checked+.wpmui-toggle-label .wpmui-toggle-inner{margin-left:0}.wpmui-toggle-checkbox:checked+.wpmui-toggle-label .wpmui-toggle-switch{right:0}.wmui-confirm-modal{left:0;top:0;right:0;bottom:0;z-index:99998;background:#000;opacity:.4}.wpmui-confirm-box{top:25%;width:580px;padding:20px 20px 0;left:50%;margin-left:-310px;z-index:99999;background:#FFF;box-shadow:0 0 10px rgba(0,0,0,.4)}.wpmui-confirm-box .wpmui-confirm-btn{margin:10px -20px 0;padding:10px 20px;text-align:right;background:#FAFAFA;border-top:1px solid #E5E5E5}.wpmui-confirm-box .wpmui-confirm-btn button{margin-left:10px}.no-pad-top{padding-top:0!important;margin-top:0!important}.no-pad-bottom{padding-bottom:0!important;margin-bottom:0!important}.no-pad{padding-top:0!important;padding-bottom:0!important;margin-top:0!important;margin-bottom:0!important}.dashicons.light{opacity:.5}.cf:before,.cf:after{content:'';display:table}.cf:after{clear:both}.wpmui-left{float:left}.wpmui-right{float:right}.button .dashicons,.button-primary .dashicons{line-height:26px;height:26px;float:left;margin-right:6px}
|
|
|
|
|
|
|
|
|
|
inc/external/wpmu-lib/css/{wpmu-vnav.css → wpmu-vnav.2.css}
RENAMED
File without changes
|
inc/external/wpmu-lib/css/{wpmu-vnav.min.css → wpmu-vnav.2.min.css}
RENAMED
@@ -1,5 +1,5 @@
|
|
1 |
-
/*! WPMU Dev code library -
|
2 |
* http://premium.wpmudev.org/
|
3 |
-
* Copyright (c)
|
4 |
|
5 |
.lst-vnav{list-style:none;padding:0;position:relative}.lst-vnav-item{padding:0;margin:0}.lst-vnav-sep{border-bottom:1px solid #E8E8E8;padding:0;margin:0;padding-bottom:5px;margin-bottom:5px}.lst-vnav-item h3{width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:5px;margin:0;height:22px;line-height:22px;font-size:15px;color:#0074A2;cursor:pointer;position:relative;z-index:2;font-weight:400;border:1px solid transparent}.lst-vnav-item h3:hover{color:#2EA2CC}.lst-vnav-item.active h3{color:#333;background-color:#FDFDFD;border:1px solid #DEDEDE;border-right-color:#FDFDFD}.lst-vnav-item>.data{display:none;margin:0;border:1px solid #DEDEDE;padding:10px;top:0;right:0;left:191px;position:absolute;background-color:#FDFDFD}.lst-vnav-item.active>.data{display:block;z-index:1}.lst-vnav-item .form-table tbody>tr:first-child>th,.lst-vnav-item .form-table tbody>tr:first-child>td{padding-top:0}.lst-vnav-item .form-table tbody>tr:last-child>th,.lst-vnav-item .form-table tbody>tr:last-child>td{padding-bottom:0}.lst-vnav-item .widefat thead>tr>th,.lst-vnav-item .widefat thead>tr>td,.lst-vnav-item .widefat tfoot>tr>th,.lst-vnav-item .widefat tfoot>tr>td{padding:8px 10px}@media screen and (max-width:1024px){.lst-vnav-item h3{width:150px}.lst-vnav-item>.data{left:161px;padding:5px}.lst-vnav-item .form-table th{width:170px}}@media screen and (max-width:782px){.lst-vnav{margin-bottom:40px}.lst-vnav-item h3{width:auto;background-color:#F8F8F8;display:none;font-weight:700}.lst-vnav-item.active h3{display:block;background-color:#F1F1F1;border-bottom-color:transparent;border-right-color:#DEDEDE}.lst-vnav.open .lst-vnav-item h3{display:block;border-top-style:none;border-bottom-style:none;border-left-color:#999;border-right-color:#999}.lst-vnav.open .lst-vnav-item:first-child h3{border-top:1px solid #999}.lst-vnav.open .lst-vnav-item:last-child h3{border-bottom:1px solid #999}.lst-vnav-item>.data{left:0;top:30px;border-top-style:none;min-height:0!important}.lst-vnav-item .form-table th{width:auto}.lst-vnav-item .form-table td{padding-left:16px}}
|
1 |
+
/*! WPMU Dev code library - v2.0.3
|
2 |
* http://premium.wpmudev.org/
|
3 |
+
* Copyright (c) 2015; * Licensed GPLv2+ */
|
4 |
|
5 |
.lst-vnav{list-style:none;padding:0;position:relative}.lst-vnav-item{padding:0;margin:0}.lst-vnav-sep{border-bottom:1px solid #E8E8E8;padding:0;margin:0;padding-bottom:5px;margin-bottom:5px}.lst-vnav-item h3{width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:5px;margin:0;height:22px;line-height:22px;font-size:15px;color:#0074A2;cursor:pointer;position:relative;z-index:2;font-weight:400;border:1px solid transparent}.lst-vnav-item h3:hover{color:#2EA2CC}.lst-vnav-item.active h3{color:#333;background-color:#FDFDFD;border:1px solid #DEDEDE;border-right-color:#FDFDFD}.lst-vnav-item>.data{display:none;margin:0;border:1px solid #DEDEDE;padding:10px;top:0;right:0;left:191px;position:absolute;background-color:#FDFDFD}.lst-vnav-item.active>.data{display:block;z-index:1}.lst-vnav-item .form-table tbody>tr:first-child>th,.lst-vnav-item .form-table tbody>tr:first-child>td{padding-top:0}.lst-vnav-item .form-table tbody>tr:last-child>th,.lst-vnav-item .form-table tbody>tr:last-child>td{padding-bottom:0}.lst-vnav-item .widefat thead>tr>th,.lst-vnav-item .widefat thead>tr>td,.lst-vnav-item .widefat tfoot>tr>th,.lst-vnav-item .widefat tfoot>tr>td{padding:8px 10px}@media screen and (max-width:1024px){.lst-vnav-item h3{width:150px}.lst-vnav-item>.data{left:161px;padding:5px}.lst-vnav-item .form-table th{width:170px}}@media screen and (max-width:782px){.lst-vnav{margin-bottom:40px}.lst-vnav-item h3{width:auto;background-color:#F8F8F8;display:none;font-weight:700}.lst-vnav-item.active h3{display:block;background-color:#F1F1F1;border-bottom-color:transparent;border-right-color:#DEDEDE}.lst-vnav.open .lst-vnav-item h3{display:block;border-top-style:none;border-bottom-style:none;border-left-color:#999;border-right-color:#999}.lst-vnav.open .lst-vnav-item:first-child h3{border-top:1px solid #999}.lst-vnav.open .lst-vnav-item:last-child h3{border-bottom:1px solid #999}.lst-vnav-item>.data{left:0;top:30px;border-top-style:none;min-height:0!important}.lst-vnav-item .form-table th{width:auto}.lst-vnav-item .form-table td{padding-left:16px}}
|
inc/external/wpmu-lib/inc/class-thelib-array.php
ADDED
@@ -0,0 +1,271 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* The Array component.
|
4 |
+
* Access via function `lib2()->array`.
|
5 |
+
*
|
6 |
+
* @since 1.1.4
|
7 |
+
*/
|
8 |
+
class TheLib_2_0_3_Array extends TheLib_2_0_3 {
|
9 |
+
|
10 |
+
/**
|
11 |
+
* If the specified variable is an array it will be returned. Otherwise
|
12 |
+
* an empty array is returned.
|
13 |
+
*
|
14 |
+
* @since 1.0.14
|
15 |
+
* @api
|
16 |
+
*
|
17 |
+
* @param mixed $val1 Value that maybe is an array.
|
18 |
+
* @param mixed $val2 Optional, Second value that maybe is an array.
|
19 |
+
* @return array
|
20 |
+
*/
|
21 |
+
public function get( &$val1, $val2 = array() ) {
|
22 |
+
if ( is_array( $val1 ) ) {
|
23 |
+
return $val1;
|
24 |
+
} else if ( is_array( $val2 ) ) {
|
25 |
+
return $val2;
|
26 |
+
} else {
|
27 |
+
return array();
|
28 |
+
}
|
29 |
+
}
|
30 |
+
|
31 |
+
/**
|
32 |
+
* Inserts any number of scalars or arrays at the point
|
33 |
+
* in the haystack immediately after the search key ($needle) was found,
|
34 |
+
* or at the end if the needle is not found or not supplied.
|
35 |
+
* Modifies $haystack in place.
|
36 |
+
*
|
37 |
+
* @since 1.1.3
|
38 |
+
* @api
|
39 |
+
*
|
40 |
+
* @param array &$haystack The associative array to search. This will be modified by the function
|
41 |
+
* @param string $where [after|before]
|
42 |
+
* @param string $needle The key to search for
|
43 |
+
* @param mixed $stuff One or more arrays or scalars to be inserted into $haystack
|
44 |
+
* @return int The index at which $needle was found
|
45 |
+
*/
|
46 |
+
public function insert( &$haystack, $where, $needle, $stuff ){
|
47 |
+
if ( ! is_array( $haystack ) ) { return $haystack; }
|
48 |
+
|
49 |
+
$new_array = array();
|
50 |
+
for ( $i = 3; $i < func_num_args(); ++$i ){
|
51 |
+
$arg = func_get_arg( $i );
|
52 |
+
if ( is_array( $arg ) ) {
|
53 |
+
$new_array = array_merge( $new_array, $arg );
|
54 |
+
} else {
|
55 |
+
$new_array[] = $arg;
|
56 |
+
}
|
57 |
+
}
|
58 |
+
|
59 |
+
$i = 0;
|
60 |
+
foreach ( $haystack as $key => $value ) {
|
61 |
+
$i += 1;
|
62 |
+
|
63 |
+
if ( $key == $needle ) {
|
64 |
+
if ( 'before' == $where ) {
|
65 |
+
$i -= 1;
|
66 |
+
}
|
67 |
+
|
68 |
+
break;
|
69 |
+
}
|
70 |
+
}
|
71 |
+
|
72 |
+
$haystack = array_merge(
|
73 |
+
array_slice( $haystack, 0, $i, true ),
|
74 |
+
$new_array,
|
75 |
+
array_slice( $haystack, $i, null, true )
|
76 |
+
);
|
77 |
+
|
78 |
+
return $i;
|
79 |
+
}
|
80 |
+
|
81 |
+
/**
|
82 |
+
* Tests if the given array is sequential or associative.
|
83 |
+
*
|
84 |
+
* It is considered sequential, when all array keys are integers.
|
85 |
+
* Otherwise the result is false (meaning: associative array)
|
86 |
+
*
|
87 |
+
* @since 1.1.3
|
88 |
+
* @api
|
89 |
+
*
|
90 |
+
* @param array $array
|
91 |
+
* @return bool
|
92 |
+
*/
|
93 |
+
public function is_seq( $array ) {
|
94 |
+
for (
|
95 |
+
reset( $array );
|
96 |
+
is_int( key( $array ) );
|
97 |
+
next( $array )
|
98 |
+
) {}
|
99 |
+
return is_null( key( $array ) );
|
100 |
+
}
|
101 |
+
|
102 |
+
/**
|
103 |
+
* array_merge_recursive does indeed merge arrays, but it converts values with duplicate
|
104 |
+
* keys to arrays rather than overwriting the value in the first array with the duplicate
|
105 |
+
* value in the second array, as array_merge does. I.e., with array_merge_recursive,
|
106 |
+
* this happens (documented behavior):
|
107 |
+
*
|
108 |
+
* array_merge_recursive(array('key' => 'org value'), array('key' => 'new value'));
|
109 |
+
* => array('key' => array('org value', 'new value'));
|
110 |
+
*
|
111 |
+
* merge_recursive_distinct does not change the datatypes of the values in the arrays.
|
112 |
+
* Matching keys' values in the second array overwrite those in the first array, as is the
|
113 |
+
* case with array_merge, i.e.:
|
114 |
+
*
|
115 |
+
* merge_recursive_distinct(array('key' => 'org value'), array('key' => 'new value'));
|
116 |
+
* => array('key' => array('new value'));
|
117 |
+
*
|
118 |
+
* Parameters are passed by reference, though only for performance reasons. They're not
|
119 |
+
* altered by this function.
|
120 |
+
*
|
121 |
+
* @since 1.1.2
|
122 |
+
* @api
|
123 |
+
*
|
124 |
+
* @param array $array1
|
125 |
+
* @param array $array2
|
126 |
+
* @return array
|
127 |
+
* @author Daniel <daniel (at) danielsmedegaardbuus (dot) dk>
|
128 |
+
* @author Gabriel Sobrinho <gabriel (dot) sobrinho (at) gmail (dot) com>
|
129 |
+
*/
|
130 |
+
public function merge_recursive_distinct( array &$array1, array &$array2 ) {
|
131 |
+
$merged = $array1;
|
132 |
+
|
133 |
+
foreach ( $array2 as $key => &$value ) {
|
134 |
+
if ( is_array( $value ) && isset( $merged[$key] ) && is_array( $merged[$key] ) ) {
|
135 |
+
if ( $this->is_seq( $value ) && $this->is_seq( $merged[$key] ) ) {
|
136 |
+
$merged[$key] = array_merge( $merged[$key], $value );
|
137 |
+
} else {
|
138 |
+
$merged[$key] = $this->merge_recursive_distinct( $merged[$key], $value );
|
139 |
+
}
|
140 |
+
} else {
|
141 |
+
$merged[$key] = $value;
|
142 |
+
}
|
143 |
+
}
|
144 |
+
|
145 |
+
return $merged;
|
146 |
+
}
|
147 |
+
|
148 |
+
/**
|
149 |
+
* Checks if the given array contains all the specified fields.
|
150 |
+
* If fields are not defined then they will be added to the source array
|
151 |
+
* with the boolean value false.
|
152 |
+
*
|
153 |
+
* This function is used to initialize optional fields.
|
154 |
+
* It is optimized and tested to yield best performance.
|
155 |
+
*
|
156 |
+
* @since 1.0.14
|
157 |
+
* @api
|
158 |
+
*
|
159 |
+
* @param Array|Object $arr The array or object to check.
|
160 |
+
* @param strings|Array $fields List of fields to check for.
|
161 |
+
* @return int Number of missing fields that were initialized.
|
162 |
+
*/
|
163 |
+
public function equip( &$arr, $fields ) {
|
164 |
+
$missing = 0;
|
165 |
+
$is_obj = false;
|
166 |
+
|
167 |
+
if ( is_object( $arr ) ) { $is_obj = true; }
|
168 |
+
else if ( ! is_array( $arr ) ) { return -1; }
|
169 |
+
|
170 |
+
if ( ! is_array( $fields ) ) {
|
171 |
+
$fields = func_get_args();
|
172 |
+
array_shift( $fields ); // Remove $arr from the field list.
|
173 |
+
}
|
174 |
+
|
175 |
+
foreach ( $fields as $field ) {
|
176 |
+
if ( $is_obj ) {
|
177 |
+
if ( ! property_exists( $arr, $field ) ) {
|
178 |
+
$arr->$field = false;
|
179 |
+
$missing += 1;
|
180 |
+
}
|
181 |
+
} else {
|
182 |
+
if ( ! isset( $arr[ $field ] ) ) {
|
183 |
+
$arr[ $field ] = false;
|
184 |
+
$missing += 1;
|
185 |
+
}
|
186 |
+
}
|
187 |
+
}
|
188 |
+
|
189 |
+
return $missing;
|
190 |
+
}
|
191 |
+
|
192 |
+
/**
|
193 |
+
* Short function for lib2()->equip( $_POST, ... )
|
194 |
+
*
|
195 |
+
* @since 1.0.14
|
196 |
+
* @api
|
197 |
+
* @uses equip()
|
198 |
+
*
|
199 |
+
* @param strings|Array <param list>
|
200 |
+
* @return int Number of missing fields that were initialized.
|
201 |
+
*/
|
202 |
+
public function equip_post( $fields ) {
|
203 |
+
$fields = is_array( $fields ) ? $fields : func_get_args();
|
204 |
+
return $this->equip( $_POST, $fields );
|
205 |
+
}
|
206 |
+
|
207 |
+
/**
|
208 |
+
* Short function for lib2()->equip( $_REQUEST, ... )
|
209 |
+
*
|
210 |
+
* @since 1.0.14
|
211 |
+
* @api
|
212 |
+
* @uses equip()
|
213 |
+
*
|
214 |
+
* @param strings|Array <param list>
|
215 |
+
* @return int Number of missing fields that were initialized.
|
216 |
+
*/
|
217 |
+
public function equip_request( $fields ) {
|
218 |
+
$fields = is_array( $fields ) ? $fields : func_get_args();
|
219 |
+
return $this->equip( $_REQUEST, $fields );
|
220 |
+
}
|
221 |
+
|
222 |
+
/**
|
223 |
+
* Short function for lib2()->equip( $_GET, ... )
|
224 |
+
*
|
225 |
+
* @since 1.1.3
|
226 |
+
* @api
|
227 |
+
* @uses equip()
|
228 |
+
*
|
229 |
+
* @param strings|Array <param list>
|
230 |
+
* @return int Number of missing fields that were initialized.
|
231 |
+
*/
|
232 |
+
public function equip_get( $fields ) {
|
233 |
+
$fields = is_array( $fields ) ? $fields : func_get_args();
|
234 |
+
return $this->equip( $_GET, $fields );
|
235 |
+
}
|
236 |
+
|
237 |
+
/**
|
238 |
+
* By default WordPress escapes all GPC values with slashes.
|
239 |
+
* {@see wp-includes/load.php wp_magic_quotes()}
|
240 |
+
*
|
241 |
+
* This function can be used to strip slashes of a list of parameters. This
|
242 |
+
* ensures that not all parameters are un-escaped but only ones that are
|
243 |
+
* used by the current function.
|
244 |
+
*
|
245 |
+
* @since 1.1.4
|
246 |
+
* @api
|
247 |
+
*
|
248 |
+
* @param Array $arr The array or object to check.
|
249 |
+
* @param strings|Array $fields List of fields to check for.
|
250 |
+
* @return int Number of fields that were un-escaped.
|
251 |
+
*/
|
252 |
+
public function strip_slashes( &$arr, $fields ) {
|
253 |
+
$modified = 0;
|
254 |
+
if ( ! is_array( $arr ) ) { return -1; }
|
255 |
+
|
256 |
+
if ( ! is_array( $fields ) ) {
|
257 |
+
$fields = func_get_args();
|
258 |
+
array_shift( $fields ); // Remove $arr from the field list.
|
259 |
+
}
|
260 |
+
|
261 |
+
foreach ( $fields as $field ) {
|
262 |
+
if ( isset( $arr[ $field ] ) ) {
|
263 |
+
$arr[ $field ] = stripslashes_deep( $arr[$field] );
|
264 |
+
$modified += 1;
|
265 |
+
}
|
266 |
+
}
|
267 |
+
|
268 |
+
return $modified;
|
269 |
+
}
|
270 |
+
|
271 |
+
};
|
inc/external/wpmu-lib/inc/class-thelib-base.php
DELETED
@@ -1,191 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
/**
|
4 |
-
* Implement uniform data storage and sharing among all child classes.
|
5 |
-
*
|
6 |
-
* @since 1.1.0
|
7 |
-
*/
|
8 |
-
class TheLib_1_1_1_Base {
|
9 |
-
|
10 |
-
// --- Start of 5.2 compatibility functions
|
11 |
-
|
12 |
-
/**
|
13 |
-
* Internal data collection used to pass arguments to callback functions.
|
14 |
-
* Only used for 5.2 version as alternative to closures.
|
15 |
-
*
|
16 |
-
* @var array
|
17 |
-
*/
|
18 |
-
static protected $data = array();
|
19 |
-
|
20 |
-
|
21 |
-
protected function _have( $key ) {
|
22 |
-
return isset( self::$data[ $key ] );
|
23 |
-
}
|
24 |
-
|
25 |
-
protected function _add( $key, $value ) {
|
26 |
-
if ( ! isset( self::$data[ $key ] )
|
27 |
-
|| ! is_array( self::$data[ $key ] )
|
28 |
-
) {
|
29 |
-
self::$data[ $key ] = array();
|
30 |
-
}
|
31 |
-
|
32 |
-
self::$data[ $key ][] = $value;
|
33 |
-
}
|
34 |
-
|
35 |
-
protected function _get( $key ) {
|
36 |
-
if ( ! isset( self::$data[ $key ] )
|
37 |
-
|| ! is_array( self::$data[ $key ] )
|
38 |
-
) {
|
39 |
-
self::$data[ $key ] = array();
|
40 |
-
}
|
41 |
-
|
42 |
-
return self::$data[ $key ];
|
43 |
-
}
|
44 |
-
|
45 |
-
protected function _clear( $key ) {
|
46 |
-
self::$data[ $key ] = array();
|
47 |
-
}
|
48 |
-
|
49 |
-
|
50 |
-
// --- End of 5.2 compatibility functions
|
51 |
-
|
52 |
-
// --- Start of Session access
|
53 |
-
|
54 |
-
/**
|
55 |
-
* Flag if we can use the $_SESSION variable
|
56 |
-
*
|
57 |
-
* @var bool
|
58 |
-
*/
|
59 |
-
static protected $_have_session = null;
|
60 |
-
|
61 |
-
static private function _sess_init() {
|
62 |
-
if ( null !== self::$_have_session ) { return; }
|
63 |
-
|
64 |
-
self::$_have_session = false;
|
65 |
-
|
66 |
-
if ( ! session_id() ) {
|
67 |
-
if ( ! headers_sent() ) {
|
68 |
-
session_start();
|
69 |
-
self::$_have_session = true;
|
70 |
-
}
|
71 |
-
} else {
|
72 |
-
self::$_have_session = true;
|
73 |
-
}
|
74 |
-
}
|
75 |
-
|
76 |
-
static protected function _sess_have( $key ) {
|
77 |
-
if ( null === self::$_have_session ) { self::_sess_init(); }
|
78 |
-
if ( ! self::$_have_session ) { return false; }
|
79 |
-
|
80 |
-
return isset( $_SESSION[ '_lib_persist_' . $key ] );
|
81 |
-
}
|
82 |
-
|
83 |
-
static protected function _sess_add( $key, $value ) {
|
84 |
-
if ( null === self::$_have_session ) { self::_sess_init(); }
|
85 |
-
if ( ! self::$_have_session ) { return; }
|
86 |
-
|
87 |
-
if ( ! isset( $_SESSION[ '_lib_persist_' . $key ] )
|
88 |
-
|| ! is_array( $_SESSION[ '_lib_persist_' . $key ] )
|
89 |
-
) {
|
90 |
-
$_SESSION[ '_lib_persist_' . $key ] = array();
|
91 |
-
}
|
92 |
-
|
93 |
-
$_SESSION[ '_lib_persist_' . $key ][] = $value;
|
94 |
-
}
|
95 |
-
|
96 |
-
static protected function _sess_get( $key ) {
|
97 |
-
if ( null === self::$_have_session ) { self::_sess_init(); }
|
98 |
-
if ( ! self::$_have_session ) { return array(); }
|
99 |
-
|
100 |
-
if ( ! isset( $_SESSION[ '_lib_persist_' . $key ] )
|
101 |
-
|| ! is_array( $_SESSION[ '_lib_persist_' . $key ] )
|
102 |
-
) {
|
103 |
-
$_SESSION[ '_lib_persist_' . $key ] = array();
|
104 |
-
}
|
105 |
-
|
106 |
-
return $_SESSION[ '_lib_persist_' . $key ];
|
107 |
-
}
|
108 |
-
|
109 |
-
static protected function _sess_clear( $key ) {
|
110 |
-
if ( null === self::$_have_session ) { self::_sess_init(); }
|
111 |
-
if ( ! self::$_have_session ) { return; }
|
112 |
-
|
113 |
-
unset( $_SESSION[ '_lib_persist_' . $key ] );
|
114 |
-
}
|
115 |
-
|
116 |
-
// --- End of Session access
|
117 |
-
|
118 |
-
/**
|
119 |
-
* Base constructor. Initialize the session if not already done.
|
120 |
-
*
|
121 |
-
* @since 1.1.0
|
122 |
-
*/
|
123 |
-
public function __construct() {
|
124 |
-
self::_sess_init();
|
125 |
-
}
|
126 |
-
|
127 |
-
/**
|
128 |
-
* Returns the full URL to an internal CSS file of the code library.
|
129 |
-
*
|
130 |
-
* @since 1.0.0
|
131 |
-
*
|
132 |
-
* @private
|
133 |
-
* @param string $file The filename, relative to this plugins folder.
|
134 |
-
* @return string
|
135 |
-
*/
|
136 |
-
protected function _css_url( $file ) {
|
137 |
-
static $Url = null;
|
138 |
-
|
139 |
-
if ( defined( 'WDEV_UNMINIFIED' ) && WDEV_UNMINIFIED ) {
|
140 |
-
$file = str_replace( '.min.css', '.css', $file );
|
141 |
-
}
|
142 |
-
if ( null === $Url ) {
|
143 |
-
$Url = plugins_url( 'css/', dirname( __FILE__ ) );
|
144 |
-
}
|
145 |
-
|
146 |
-
return $Url . $file;
|
147 |
-
}
|
148 |
-
|
149 |
-
/**
|
150 |
-
* Returns the full URL to an internal JS file of the code library.
|
151 |
-
*
|
152 |
-
* @since 1.0.0
|
153 |
-
*
|
154 |
-
* @private
|
155 |
-
* @param string $file The filename, relative to this plugins folder.
|
156 |
-
* @return string
|
157 |
-
*/
|
158 |
-
protected function _js_url( $file ) {
|
159 |
-
static $Url = null;
|
160 |
-
|
161 |
-
if ( defined( 'WDEV_UNMINIFIED' ) && WDEV_UNMINIFIED ) {
|
162 |
-
$file = str_replace( '.min.js', '.js', $file );
|
163 |
-
}
|
164 |
-
if ( null === $Url ) {
|
165 |
-
$Url = plugins_url( 'js/', dirname( __FILE__ ) );
|
166 |
-
}
|
167 |
-
|
168 |
-
return $Url . $file;
|
169 |
-
}
|
170 |
-
|
171 |
-
/**
|
172 |
-
* Returns the full path to an internal php partial of the code library.
|
173 |
-
*
|
174 |
-
* @since 1.0.0
|
175 |
-
*
|
176 |
-
* @private
|
177 |
-
* @param string $file The filename, relative to this plugins folder.
|
178 |
-
* @return string
|
179 |
-
*/
|
180 |
-
protected function _view_path( $file ) {
|
181 |
-
static $Path = null;
|
182 |
-
|
183 |
-
if ( null === $Path ) {
|
184 |
-
$basedir = dirname( dirname( __FILE__ ) ) . '/';
|
185 |
-
$Path = $basedir . 'view/';
|
186 |
-
}
|
187 |
-
|
188 |
-
return $Path . $file;
|
189 |
-
}
|
190 |
-
|
191 |
-
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
inc/external/wpmu-lib/inc/class-thelib-core.php
ADDED
@@ -0,0 +1,239 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Main access to the Code-Library.
|
4 |
+
* Access via function `lib2()`.
|
5 |
+
*
|
6 |
+
* Inspired by Jigsaw plugin by Jared Novack (http://jigsaw.upstatement.com/)
|
7 |
+
*
|
8 |
+
* @since 1.0.0
|
9 |
+
*/
|
10 |
+
class TheLib_2_0_3_Core extends TheLib_2_0_3 {
|
11 |
+
|
12 |
+
/**
|
13 |
+
* Interface to the array component.
|
14 |
+
*
|
15 |
+
* @since 1.1.5
|
16 |
+
* @api
|
17 |
+
*
|
18 |
+
* @var TheLib_Array
|
19 |
+
*/
|
20 |
+
public $array = null;
|
21 |
+
|
22 |
+
/**
|
23 |
+
* Interface to the Debug component.
|
24 |
+
*
|
25 |
+
* @since 1.1.0
|
26 |
+
* @api
|
27 |
+
*
|
28 |
+
* @var TheLib_Debug
|
29 |
+
*/
|
30 |
+
public $debug = null;
|
31 |
+
|
32 |
+
/**
|
33 |
+
* Interface to the HTML component.
|
34 |
+
*
|
35 |
+
* @since 1.1.0
|
36 |
+
* @api
|
37 |
+
*
|
38 |
+
* @var TheLib_Html
|
39 |
+
*/
|
40 |
+
public $html = null;
|
41 |
+
|
42 |
+
/**
|
43 |
+
* Interface to the Net component.
|
44 |
+
*
|
45 |
+
* @since 1.1.0
|
46 |
+
* @api
|
47 |
+
*
|
48 |
+
* @var TheLib_Net
|
49 |
+
*/
|
50 |
+
public $net = null;
|
51 |
+
|
52 |
+
/**
|
53 |
+
* Interface to the session component.
|
54 |
+
*
|
55 |
+
* @since 1.1.5
|
56 |
+
* @api
|
57 |
+
*
|
58 |
+
* @var TheLib_Session
|
59 |
+
*/
|
60 |
+
public $session = null;
|
61 |
+
|
62 |
+
/**
|
63 |
+
* Interface to the updates component.
|
64 |
+
*
|
65 |
+
* @since 1.1.5
|
66 |
+
* @api
|
67 |
+
*
|
68 |
+
* @var TheLib_Updates
|
69 |
+
*/
|
70 |
+
public $updates = null;
|
71 |
+
|
72 |
+
/**
|
73 |
+
* Interface to the UI component.
|
74 |
+
*
|
75 |
+
* @since 1.1.5
|
76 |
+
* @api
|
77 |
+
*
|
78 |
+
* @var TheLib_Ui
|
79 |
+
*/
|
80 |
+
public $ui = null;
|
81 |
+
|
82 |
+
/**
|
83 |
+
* Class constructor
|
84 |
+
*
|
85 |
+
* @since 1.0.0
|
86 |
+
* @internal
|
87 |
+
*/
|
88 |
+
public function __construct() {
|
89 |
+
parent::__construct();
|
90 |
+
|
91 |
+
self::$core = $this;
|
92 |
+
|
93 |
+
// A List of all components.
|
94 |
+
$components = array(
|
95 |
+
'array',
|
96 |
+
'debug',
|
97 |
+
'html',
|
98 |
+
'net',
|
99 |
+
'session',
|
100 |
+
'updates',
|
101 |
+
'ui',
|
102 |
+
);
|
103 |
+
|
104 |
+
// Create instances of each component.
|
105 |
+
foreach ( $components as $component ) {
|
106 |
+
if ( ! property_exists( $this, $component ) ) { continue; }
|
107 |
+
|
108 |
+
$class_name = str_replace( 'Core', ucfirst( $component ), __CLASS__ );
|
109 |
+
$this->$component = new $class_name();
|
110 |
+
}
|
111 |
+
}
|
112 |
+
|
113 |
+
/**
|
114 |
+
* Short way to load the textdomain of a plugin.
|
115 |
+
*
|
116 |
+
* @since 1.0.0
|
117 |
+
* @api
|
118 |
+
*
|
119 |
+
* @param string $domain Translations will be mapped to this domain.
|
120 |
+
* @param string $rel_dir Path to the dictionary folder; relative to ABSPATH.
|
121 |
+
*/
|
122 |
+
public function translate_plugin( $domain, $rel_dir ) {
|
123 |
+
$this->_add( 'textdomain', compact( 'domain', 'rel_dir' ) );
|
124 |
+
|
125 |
+
$this->add_action( 'plugins_loaded', '_translate_plugin_callback' );
|
126 |
+
}
|
127 |
+
|
128 |
+
/**
|
129 |
+
* Create function callback for load textdomain (for PHP <5.3 only)
|
130 |
+
*
|
131 |
+
* @since 1.0.1
|
132 |
+
* @internal
|
133 |
+
*/
|
134 |
+
public function _translate_plugin_callback() {
|
135 |
+
$items = $this->_get( 'textdomain' );
|
136 |
+
foreach ( $items as $item ) {
|
137 |
+
extract( $item ); // domain, rel_dir
|
138 |
+
load_plugin_textdomain( $domain, false, $rel_dir );
|
139 |
+
}
|
140 |
+
}
|
141 |
+
|
142 |
+
/**
|
143 |
+
* Checks if the provided value evaluates to a boolean TRUE.
|
144 |
+
*
|
145 |
+
* Following values are considered true:
|
146 |
+
* - Boolean: true
|
147 |
+
* - Number: anything except 0
|
148 |
+
* - Strings: true, yes, on (case insensitive)
|
149 |
+
*
|
150 |
+
* @since 1.1.0
|
151 |
+
* @api
|
152 |
+
*
|
153 |
+
* @param mixed $value A value that will be evaluated into a boolean.
|
154 |
+
* @return bool True if the specified $value evaluated to true.
|
155 |
+
*/
|
156 |
+
public function is_true( $value ) {
|
157 |
+
if ( false === $value || null === $value || '' === $value ) {
|
158 |
+
return false;
|
159 |
+
} elseif ( true === $value ) {
|
160 |
+
return true;
|
161 |
+
} elseif ( is_numeric( $value ) ) {
|
162 |
+
$value = intval( $value );
|
163 |
+
return $value != 0;
|
164 |
+
} elseif ( is_string( $value ) ) {
|
165 |
+
$value = strtolower( trim( $value ) );
|
166 |
+
return in_array(
|
167 |
+
$value,
|
168 |
+
array( 'true', 'yes', 'on', '1' )
|
169 |
+
);
|
170 |
+
}
|
171 |
+
return false;
|
172 |
+
}
|
173 |
+
|
174 |
+
/**
|
175 |
+
* Converts a number from any base to another base.
|
176 |
+
* The from/to base values can even be non-numeric values.
|
177 |
+
*
|
178 |
+
* @since 2.0.2
|
179 |
+
* @api
|
180 |
+
*
|
181 |
+
* @param string $number A number in the base_from base.
|
182 |
+
* @param string $base_from List of characters
|
183 |
+
* E.g. 0123456789 to convert from decimal.
|
184 |
+
* @param string $base_to List of characters to use as destination base.
|
185 |
+
* E.g. 0123456789ABCDEF to convert to hexadecimal.
|
186 |
+
* @return string The converted number
|
187 |
+
*/
|
188 |
+
public function convert( $number, $base_from = '0123456789', $base_to = '0123456789ABCDEF' ) {
|
189 |
+
if ( $base_from == $base_to ) {
|
190 |
+
// No conversion needed.
|
191 |
+
return $number;
|
192 |
+
}
|
193 |
+
|
194 |
+
$retval = '';
|
195 |
+
$number_len = strlen( $number );
|
196 |
+
|
197 |
+
if ( '0123456789' == $base_to ) {
|
198 |
+
// Convert a value to normal decimal base.
|
199 |
+
|
200 |
+
$arr_base_from = str_split( $base_from, 1 );
|
201 |
+
$arr_number = str_split( $number, 1 );
|
202 |
+
$base_from_len = strlen( $base_from );
|
203 |
+
$retval = 0;
|
204 |
+
for ( $i = 1; $i <= $number_len; $i += 1 ) {
|
205 |
+
$retval = bcadd(
|
206 |
+
$retval,
|
207 |
+
bcmul(
|
208 |
+
array_search( $arr_number[$i - 1], $arr_base_from ),
|
209 |
+
bcpow( $base_from_len, $number_len - $i )
|
210 |
+
)
|
211 |
+
);
|
212 |
+
}
|
213 |
+
} else {
|
214 |
+
// Convert a value to a NON-decimal base.
|
215 |
+
|
216 |
+
if ( '0123456789' != $base_from ) {
|
217 |
+
// Base value is non-decimal, convert it to decimal first.
|
218 |
+
$base10 = $this->convert( $number, $base_from, '0123456789' );
|
219 |
+
} else {
|
220 |
+
// Base value is decimal.
|
221 |
+
$base10 = $number;
|
222 |
+
}
|
223 |
+
|
224 |
+
$arr_base_to = str_split( $base_to, 1 );
|
225 |
+
$base_to_len = strlen( $base_to );
|
226 |
+
if ( $base10 < strlen( $base_to ) ) {
|
227 |
+
$retval = $arr_base_to[$base10];
|
228 |
+
} else {
|
229 |
+
while ( 0 != $base10 ) {
|
230 |
+
$retval = $arr_base_to[bcmod( $base10, $base_to_len )] . $retval;
|
231 |
+
$base10 = bcdiv( $base10, $base_to_len, 0 );
|
232 |
+
}
|
233 |
+
}
|
234 |
+
}
|
235 |
+
|
236 |
+
return $retval;
|
237 |
+
}
|
238 |
+
|
239 |
+
};
|
inc/external/wpmu-lib/inc/class-thelib-debug.php
ADDED
@@ -0,0 +1,959 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* The Debug component.
|
4 |
+
*
|
5 |
+
* @since 1.1.4
|
6 |
+
*/
|
7 |
+
class TheLib_2_0_3_Debug extends TheLib_2_0_3 {
|
8 |
+
|
9 |
+
/**
|
10 |
+
* If set to true or false it will override the WP_DEBUG value
|
11 |
+
* If set to null the WP_DEBUG and WDEV_DEBUG values are used.
|
12 |
+
*
|
13 |
+
* @since 1.1.4
|
14 |
+
* @internal
|
15 |
+
* @var bool
|
16 |
+
*/
|
17 |
+
protected $enabled = null;
|
18 |
+
|
19 |
+
/**
|
20 |
+
* If set to true each debug output will contain a stack-trace.
|
21 |
+
* Otherwise only the variable will be dumped.
|
22 |
+
*
|
23 |
+
* @since 1.1.4
|
24 |
+
* @internal
|
25 |
+
* @var bool
|
26 |
+
*/
|
27 |
+
protected $stacktrace = true;
|
28 |
+
|
29 |
+
/**
|
30 |
+
* Toggles the plain-text / HTML output of the debug.
|
31 |
+
* All Ajax requests will ignore this flag and use plain-text format.
|
32 |
+
*
|
33 |
+
* @since 1.1.4
|
34 |
+
* @internal
|
35 |
+
* @var bool
|
36 |
+
*/
|
37 |
+
protected $plain_text = false;
|
38 |
+
|
39 |
+
/**
|
40 |
+
* Constructor.
|
41 |
+
* Setup action hooks for debugger.
|
42 |
+
*
|
43 |
+
* @since 2.0.0
|
44 |
+
* @internal
|
45 |
+
*/
|
46 |
+
public function __construct() {
|
47 |
+
remove_all_actions( 'lib2_debug_log' );
|
48 |
+
remove_all_actions( 'lib2_debug_log_trace' );
|
49 |
+
remove_all_actions( 'lib2_debug_dump' );
|
50 |
+
remove_all_actions( 'lib2_debug_trace' );
|
51 |
+
|
52 |
+
add_action(
|
53 |
+
'lib2_debug_log',
|
54 |
+
array( $this, 'log' ),
|
55 |
+
10, 99
|
56 |
+
);
|
57 |
+
|
58 |
+
add_action(
|
59 |
+
'lib2_debug_log_trace',
|
60 |
+
array( $this, 'log_trace' )
|
61 |
+
);
|
62 |
+
|
63 |
+
add_action(
|
64 |
+
'lib2_debug_dump',
|
65 |
+
array( $this, 'dump' ),
|
66 |
+
10, 99
|
67 |
+
);
|
68 |
+
|
69 |
+
add_action(
|
70 |
+
'lib2_debug_trace',
|
71 |
+
array( $this, 'trace' )
|
72 |
+
);
|
73 |
+
}
|
74 |
+
|
75 |
+
/**
|
76 |
+
* Resets all debug-output flags.
|
77 |
+
*
|
78 |
+
* @since 1.1.4
|
79 |
+
* @api
|
80 |
+
*/
|
81 |
+
public function reset() {
|
82 |
+
$this->enabled = null;
|
83 |
+
$this->stacktrace = true;
|
84 |
+
}
|
85 |
+
|
86 |
+
/**
|
87 |
+
* Force-Enable debugging.
|
88 |
+
*
|
89 |
+
* @since 1.1.4
|
90 |
+
* @api
|
91 |
+
*/
|
92 |
+
public function enable() {
|
93 |
+
$this->enabled = true;
|
94 |
+
}
|
95 |
+
|
96 |
+
/**
|
97 |
+
* Force-Disable debugging.
|
98 |
+
*
|
99 |
+
* @since 1.1.4
|
100 |
+
* @api
|
101 |
+
*/
|
102 |
+
public function disable() {
|
103 |
+
$this->enabled = false;
|
104 |
+
}
|
105 |
+
|
106 |
+
/**
|
107 |
+
* Returns the debugging status. False means no debug output is made.
|
108 |
+
*
|
109 |
+
* @since 2.0.0
|
110 |
+
* @api
|
111 |
+
*
|
112 |
+
* @return bool
|
113 |
+
*/
|
114 |
+
public function is_enabled() {
|
115 |
+
$enabled = $this->enabled;
|
116 |
+
$is_ajax = defined( 'DOING_AJAX' ) && DOING_AJAX;
|
117 |
+
|
118 |
+
if ( null === $enabled ) {
|
119 |
+
$enabled = false;
|
120 |
+
if ( defined( 'WDEV_DEBUG' ) && WDEV_DEBUG ) { $enabled = true; }
|
121 |
+
elseif ( defined( 'WP_DEBUG' ) && WP_DEBUG ) { $enabled = true; }
|
122 |
+
|
123 |
+
if ( $is_ajax && defined( 'WDEV_AJAX_DEBUG' ) ) {
|
124 |
+
$enabled = WDEV_AJAX_DEBUG;
|
125 |
+
}
|
126 |
+
}
|
127 |
+
|
128 |
+
return $enabled;
|
129 |
+
}
|
130 |
+
|
131 |
+
/**
|
132 |
+
* Enable stack-trace.
|
133 |
+
*
|
134 |
+
* @since 1.1.4
|
135 |
+
* @api
|
136 |
+
*/
|
137 |
+
public function stacktrace_on() {
|
138 |
+
$this->stacktrace = true;
|
139 |
+
}
|
140 |
+
|
141 |
+
/**
|
142 |
+
* Disable stack-trace.
|
143 |
+
*
|
144 |
+
* @since 1.1.4
|
145 |
+
* @api
|
146 |
+
*/
|
147 |
+
public function stacktrace_off() {
|
148 |
+
$this->stacktrace = false;
|
149 |
+
}
|
150 |
+
|
151 |
+
/**
|
152 |
+
* Do not format debug output.
|
153 |
+
*
|
154 |
+
* @since 1.1.4
|
155 |
+
* @api
|
156 |
+
*/
|
157 |
+
public function format_text() {
|
158 |
+
$this->plain_text = true;
|
159 |
+
}
|
160 |
+
|
161 |
+
/**
|
162 |
+
* Use HTML to format debug output.
|
163 |
+
*
|
164 |
+
* @since 1.1.4
|
165 |
+
* @api
|
166 |
+
*/
|
167 |
+
public function format_html() {
|
168 |
+
$this->plain_text = false;
|
169 |
+
}
|
170 |
+
|
171 |
+
/**
|
172 |
+
* Determines if the debug output should be made in plain text.
|
173 |
+
*
|
174 |
+
* @since 2.0.0
|
175 |
+
* @api
|
176 |
+
*
|
177 |
+
* @return bool
|
178 |
+
*/
|
179 |
+
public function is_plain_text() {
|
180 |
+
$plain_text = $this->plain_text;
|
181 |
+
|
182 |
+
$is_ajax = defined( 'DOING_AJAX' ) && DOING_AJAX;
|
183 |
+
if ( $is_ajax ) { $plain_text = true; }
|
184 |
+
|
185 |
+
return $plain_text;
|
186 |
+
}
|
187 |
+
|
188 |
+
/**
|
189 |
+
* Write debug information to error log file.
|
190 |
+
*
|
191 |
+
* @since 2.0.0
|
192 |
+
* @api
|
193 |
+
*
|
194 |
+
* @param mixed <dynamic> Each param will be dumped
|
195 |
+
*/
|
196 |
+
public function log( $first_arg ) {
|
197 |
+
if ( $this->is_enabled() ) {
|
198 |
+
$plain_text = $this->plain_text;
|
199 |
+
$this->format_text();
|
200 |
+
$log_file = WP_CONTENT_DIR . '/lib2.log';
|
201 |
+
$time = date( "Y-m-d\tH:i:s\t" );
|
202 |
+
|
203 |
+
foreach ( func_get_args() as $param ) {
|
204 |
+
if ( is_scalar( $param ) ) {
|
205 |
+
$dump = $param;
|
206 |
+
} else {
|
207 |
+
$dump = var_export( $param, true );
|
208 |
+
}
|
209 |
+
error_log( $time . $dump . "\n", 3, $log_file );
|
210 |
+
}
|
211 |
+
|
212 |
+
$this->plain_text = $plain_text;
|
213 |
+
}
|
214 |
+
}
|
215 |
+
|
216 |
+
/**
|
217 |
+
* Write stacktrace information to error log file.
|
218 |
+
*
|
219 |
+
* @since 2.0.0
|
220 |
+
* @api
|
221 |
+
*/
|
222 |
+
public function log_trace() {
|
223 |
+
if ( $this->is_enabled() ) {
|
224 |
+
$plain_text = $this->plain_text;
|
225 |
+
$this->format_text();
|
226 |
+
$log_file = WP_CONTENT_DIR . '/lib2.log';
|
227 |
+
|
228 |
+
// Display the backtrace.
|
229 |
+
$trace = $this->trace( false );
|
230 |
+
error_log( $trace, 3, $log_file );
|
231 |
+
|
232 |
+
$this->plain_text = $plain_text;
|
233 |
+
}
|
234 |
+
}
|
235 |
+
|
236 |
+
/**
|
237 |
+
* Adds a log-message to the HTTP response header.
|
238 |
+
* This is very useful to debug Ajax requests or redirects
|
239 |
+
*
|
240 |
+
* @since 1.0.0
|
241 |
+
* @param string $message The debug message
|
242 |
+
*/
|
243 |
+
public function header( $message ) {
|
244 |
+
static $Number = 0;
|
245 |
+
if ( ! $this->is_enabled() ) { return; }
|
246 |
+
|
247 |
+
$Number += 1;
|
248 |
+
if ( headers_sent() ) {
|
249 |
+
// HTTP Headers already sent, so add the response as HTML comment.
|
250 |
+
$message = str_replace( '-->', '--/>', $message );
|
251 |
+
printf( "<!-- Debug-Note[%s]: %s -->\n", $Number, $message );
|
252 |
+
} else {
|
253 |
+
// No output was sent yet so add the message to the HTTP headers.
|
254 |
+
$message = str_replace( array( "\n", "\r" ), ' ', $message );
|
255 |
+
header( "X-Debug-Note[$Number]: $message", false );
|
256 |
+
}
|
257 |
+
}
|
258 |
+
|
259 |
+
/**
|
260 |
+
* Displays a debug message at the current position on the page.
|
261 |
+
*
|
262 |
+
* @since 1.0.14
|
263 |
+
* @api
|
264 |
+
*
|
265 |
+
* @param mixed <dynamic> Each param will be dumped
|
266 |
+
*/
|
267 |
+
public function dump( $first_arg ) {
|
268 |
+
if ( ! $this->is_enabled() ) { return; }
|
269 |
+
$plain_text = $this->is_plain_text();
|
270 |
+
|
271 |
+
$this->add_scripts();
|
272 |
+
|
273 |
+
if ( ! $plain_text ) {
|
274 |
+
$block_id = 'wdev-debug-' . md5( rand() );
|
275 |
+
$block_label = '';
|
276 |
+
if ( is_scalar( $first_arg ) && ! empty( $first_arg ) ) {
|
277 |
+
$block_label = ': ' . (string) $first_arg;
|
278 |
+
}
|
279 |
+
?>
|
280 |
+
<div class="wdev-debug">
|
281 |
+
<span class="wdev-debug-label" onclick="toggleBlock('<?php echo esc_attr( $block_id ); ?>')">
|
282 |
+
DEBUG<?php echo esc_html( $block_label ); ?>
|
283 |
+
</span>
|
284 |
+
<div class="<?php echo esc_attr( $block_id ); ?>">
|
285 |
+
<table cellspacing="0" cellpadding="0" width="100%" border="0" class="wdev-dump">
|
286 |
+
<?php
|
287 |
+
foreach ( func_get_args() as $param ) {
|
288 |
+
$this->_dump_var( $param );
|
289 |
+
}
|
290 |
+
?>
|
291 |
+
</table>
|
292 |
+
<?php
|
293 |
+
} else {
|
294 |
+
foreach ( func_get_args() as $param ) {
|
295 |
+
$dump = var_export( $param, true );
|
296 |
+
echo "\r\n" . $dump;
|
297 |
+
}
|
298 |
+
}
|
299 |
+
|
300 |
+
// Display the backtrace.
|
301 |
+
if ( $this->stacktrace ) {
|
302 |
+
$this->trace();
|
303 |
+
}
|
304 |
+
|
305 |
+
if ( ! $plain_text ) {
|
306 |
+
echo '</div>';
|
307 |
+
echo '<div class="wdev-debug-clear"></div>';
|
308 |
+
echo '</div>';
|
309 |
+
}
|
310 |
+
}
|
311 |
+
|
312 |
+
/**
|
313 |
+
* Output a stack-trace.
|
314 |
+
*
|
315 |
+
* @since 2.0.0
|
316 |
+
* @api
|
317 |
+
*
|
318 |
+
* @param bool $output Optional. If false then the trace will be returned
|
319 |
+
* instead of echo'ed. Default: true (echo)
|
320 |
+
* @return string Returns the stack-trace contents.
|
321 |
+
*/
|
322 |
+
public function trace( $output = true ) {
|
323 |
+
if ( ! $this->is_enabled() ) { return; }
|
324 |
+
$plain_text = $this->is_plain_text();
|
325 |
+
|
326 |
+
$this->add_scripts();
|
327 |
+
$trace_str = '';
|
328 |
+
|
329 |
+
if ( ! $plain_text ) {
|
330 |
+
$block_id = 'wdev-debug-' . md5( rand() );
|
331 |
+
$trace_str .= sprintf(
|
332 |
+
'<span class="wdev-trace-toggle" onclick="toggleBlock(\'%1$s-trace\')">
|
333 |
+
<b>Back-Trace</b>
|
334 |
+
</span>
|
335 |
+
<div class="%1$s-trace" style="display:none">
|
336 |
+
<table class="wdev-trace" width="100%%" cellspacing="0" cellpadding="3" border="1">
|
337 |
+
',
|
338 |
+
esc_attr( $block_id )
|
339 |
+
);
|
340 |
+
}
|
341 |
+
|
342 |
+
$trace = debug_backtrace();
|
343 |
+
$trace_num = count( $trace );
|
344 |
+
$line = 0;
|
345 |
+
|
346 |
+
for ( $i = 0; $i < $trace_num; $i += 1 ) {
|
347 |
+
$item = $trace[$i];
|
348 |
+
$line_item = $item;
|
349 |
+
$j = $i;
|
350 |
+
|
351 |
+
while ( empty( $line_item['line'] ) && $j < $trace_num ) {
|
352 |
+
$line_item = $trace[$j];
|
353 |
+
$j += 1;
|
354 |
+
}
|
355 |
+
|
356 |
+
self::$core->array->equip( $line_item, 'file', 'line', 'class', 'type', 'function' );
|
357 |
+
self::$core->array->equip( $item, 'args', 'file', 'line', 'class', 'type', 'function' );
|
358 |
+
if ( 0 === strpos( $item['class'], 'TheLib_' ) ) { continue; }
|
359 |
+
|
360 |
+
$line += 1;
|
361 |
+
$args = '';
|
362 |
+
$arg_num = '';
|
363 |
+
$dummy = array();
|
364 |
+
|
365 |
+
if ( $i > 0 && is_array( $item['args'] ) && count( $item['args'] ) ) {
|
366 |
+
foreach ( $item['args'] as $arg ) {
|
367 |
+
if ( is_scalar( $arg ) ) {
|
368 |
+
if ( is_bool( $arg ) ) {
|
369 |
+
$dummy[] = ( $arg ? 'true' : 'false' );
|
370 |
+
} elseif ( is_string( $arg ) ) {
|
371 |
+
$dummy[] = '"' . $arg . '"';
|
372 |
+
} else {
|
373 |
+
$dummy[] = $arg;
|
374 |
+
}
|
375 |
+
} elseif ( is_array( $arg ) ) {
|
376 |
+
$dummy[] = '<i>[Array]</i>';
|
377 |
+
} elseif ( is_object( $arg ) ) {
|
378 |
+
$dummy[] = '<i>[' . get_class( $arg ) . ']</i>';
|
379 |
+
} elseif ( is_null( $arg ) ) {
|
380 |
+
$dummy[] = '<i>NULL</i>';
|
381 |
+
} else {
|
382 |
+
$dummy[] = '<i>[???]</i>';
|
383 |
+
}
|
384 |
+
}
|
385 |
+
|
386 |
+
$args = implode( '</font></span><span class="trc-param"><font>', $dummy );
|
387 |
+
$args = '<span class="trc-param"><font>' . $args . '</font></span>';
|
388 |
+
}
|
389 |
+
|
390 |
+
if ( $plain_text ) {
|
391 |
+
$file = $line_item['file'];
|
392 |
+
if ( strlen( $file ) > 80 ) {
|
393 |
+
$file = '...' . substr( $line_item['file'], -77 );
|
394 |
+
} else {
|
395 |
+
$file = str_pad( $file, 80, ' ', STR_PAD_RIGHT );
|
396 |
+
}
|
397 |
+
|
398 |
+
$trace_str .= sprintf(
|
399 |
+
"\r\n %s. \t %s \t by %s",
|
400 |
+
str_pad( $line, 2, ' ', STR_PAD_LEFT ),
|
401 |
+
$file . ': ' . str_pad( $line_item['line'], 5, ' ', STR_PAD_LEFT ),
|
402 |
+
$item['class'] . $item['type'] . $item['function'] . '(' . strip_tags( $args ) . ')'
|
403 |
+
);
|
404 |
+
} else {
|
405 |
+
$trace_str .= sprintf(
|
406 |
+
"<tr onclick='_m(this)'><td class='trc-num'>%s</td><td class='trc-loc'>%s</td><td class='trc-arg'>%s</td></tr>\r\n",
|
407 |
+
$line,
|
408 |
+
$line_item['file'] . ': ' . $line_item['line'],
|
409 |
+
$item['class'] . $item['type'] . $item['function'] . '(' . $args . ')'
|
410 |
+
);
|
411 |
+
}
|
412 |
+
}
|
413 |
+
|
414 |
+
if ( $plain_text ) {
|
415 |
+
$trace_str .= "\r\n-----\r\n";
|
416 |
+
} else {
|
417 |
+
$trace_str .= '</table>';
|
418 |
+
$trace_str .= '</div>';
|
419 |
+
}
|
420 |
+
|
421 |
+
if ( $output ) {
|
422 |
+
echo '' . $trace_str;
|
423 |
+
}
|
424 |
+
|
425 |
+
return $trace_str;
|
426 |
+
}
|
427 |
+
|
428 |
+
/**
|
429 |
+
* Outputs an advanced var dump.
|
430 |
+
*
|
431 |
+
* @since 1.1.0
|
432 |
+
* @internal
|
433 |
+
*
|
434 |
+
* @param any $input The variable/object/value to dump.
|
435 |
+
* @param int $default_depth Deeper items will be collapsed
|
436 |
+
* @param int $level Do not change this value!
|
437 |
+
*/
|
438 |
+
protected function _dump_var( $data, $item_key = null, $default_depth = 3, $level = array( null ), $args = array() ) {
|
439 |
+
if ( ! is_string( $data ) && is_callable( $data ) ) {
|
440 |
+
$type = 'Callable';
|
441 |
+
} else {
|
442 |
+
$type = ucfirst( gettype( $data ) );
|
443 |
+
}
|
444 |
+
|
445 |
+
if ( empty( $level ) ) { $level = array( null ); }
|
446 |
+
$args['containers'] = self::$core->array->get( $args['containers'] );
|
447 |
+
$args['collapsed'] = self::$core->array->get( $args['collapsed'] );
|
448 |
+
|
449 |
+
$type_data = null;
|
450 |
+
$type_length = null;
|
451 |
+
$full_dump = false;
|
452 |
+
|
453 |
+
switch ( $type ) {
|
454 |
+
case 'String':
|
455 |
+
$type_length = strlen( $data );
|
456 |
+
$type_data = '"' . htmlentities( $data ) . '"';
|
457 |
+
break;
|
458 |
+
|
459 |
+
case 'Double':
|
460 |
+
case 'Float':
|
461 |
+
$type = 'Float';
|
462 |
+
$type_length = strlen( $data );
|
463 |
+
$type_data = htmlentities( $data );
|
464 |
+
break;
|
465 |
+
|
466 |
+
case 'Integer':
|
467 |
+
$type_length = strlen( $data );
|
468 |
+
$type_data = htmlentities( $data );
|
469 |
+
break;
|
470 |
+
|
471 |
+
case 'Boolean':
|
472 |
+
$type_length = strlen( $data );
|
473 |
+
$type_data = $data ? 'TRUE' : 'FALSE';
|
474 |
+
break;
|
475 |
+
|
476 |
+
case 'NULL':
|
477 |
+
$type_length = 0;
|
478 |
+
$type_data = 'NULL';
|
479 |
+
break;
|
480 |
+
|
481 |
+
case 'Array':
|
482 |
+
$type_length = count( $data );
|
483 |
+
break;
|
484 |
+
|
485 |
+
case 'Object':
|
486 |
+
$full_dump = true;
|
487 |
+
break;
|
488 |
+
}
|
489 |
+
|
490 |
+
$type_label = $type . ( $type_length !== null ? '(' . $type_length . ')' : '' );
|
491 |
+
|
492 |
+
if ( in_array( $type, array( 'Object', 'Array' ) ) ) {
|
493 |
+
$populated = false;
|
494 |
+
|
495 |
+
$dump_data = (array) $data;
|
496 |
+
ksort( $dump_data );
|
497 |
+
|
498 |
+
if ( 'Object' == $type ) {
|
499 |
+
$type_label .= ' [' . get_class( $data ) . ']';
|
500 |
+
}
|
501 |
+
|
502 |
+
$last_key = end( (array_keys( $dump_data )) );
|
503 |
+
reset( $dump_data );
|
504 |
+
|
505 |
+
foreach ( $dump_data as $key => $value ) {
|
506 |
+
if ( ! $populated ) {
|
507 |
+
$populated = true;
|
508 |
+
|
509 |
+
$id = substr( md5( rand() . ':' . $key . ':' . count( $level ) ), 0, 8 );
|
510 |
+
$args['containers'][] = $id;
|
511 |
+
$collapse = count( $args['containers'] ) >= $default_depth;
|
512 |
+
if ( $collapse ) {
|
513 |
+
$args['collapsed'][] = $id;
|
514 |
+
}
|
515 |
+
|
516 |
+
$title_args = $args;
|
517 |
+
$title_args['toggle'] = $id;
|
518 |
+
|
519 |
+
$this->_dump_line(
|
520 |
+
$item_key,
|
521 |
+
$type_label,
|
522 |
+
'',
|
523 |
+
$level,
|
524 |
+
$title_args
|
525 |
+
);
|
526 |
+
unset( $args['protected'] );
|
527 |
+
unset( $args['private'] );
|
528 |
+
}
|
529 |
+
|
530 |
+
// Tree right before the item-name
|
531 |
+
$new_level = $level;
|
532 |
+
|
533 |
+
if ( $last_key == $key ) {
|
534 |
+
$new_level[] = false;
|
535 |
+
$args['lastkey'] = true;
|
536 |
+
} else {
|
537 |
+
$new_level[] = true;
|
538 |
+
$args['lastkey'] = false;
|
539 |
+
}
|
540 |
+
|
541 |
+
$encode_key = json_encode( $key );
|
542 |
+
$matches = null;
|
543 |
+
if ( 1 === strpos( $encode_key, '\\u0000*\\u0000' ) ) {
|
544 |
+
$args['protected'] = true;
|
545 |
+
$key = substr( $key, 3 );
|
546 |
+
} elseif ( 1 === preg_match( '/\\\\u0000(\w+)\\\\u0000/i', $encode_key, $matches ) ) {
|
547 |
+
$args['private'] = true;
|
548 |
+
$key = substr( $key, 2 + strlen( $matches[1] ) );
|
549 |
+
}
|
550 |
+
|
551 |
+
$this->_dump_var(
|
552 |
+
$value,
|
553 |
+
$key,
|
554 |
+
$default_depth,
|
555 |
+
$new_level,
|
556 |
+
$args
|
557 |
+
);
|
558 |
+
|
559 |
+
unset( $args['protected'] );
|
560 |
+
unset( $args['private'] );
|
561 |
+
} // end of array/object loop.
|
562 |
+
|
563 |
+
if ( ! $populated ) {
|
564 |
+
$this->_dump_line(
|
565 |
+
$item_key,
|
566 |
+
$type_label,
|
567 |
+
'',
|
568 |
+
$level,
|
569 |
+
$args
|
570 |
+
);
|
571 |
+
}
|
572 |
+
} else {
|
573 |
+
$this->_dump_line(
|
574 |
+
$item_key,
|
575 |
+
$type_label,
|
576 |
+
$type_data,
|
577 |
+
$level,
|
578 |
+
$args
|
579 |
+
);
|
580 |
+
}
|
581 |
+
}
|
582 |
+
|
583 |
+
/**
|
584 |
+
* Outputs a single line of the dump_var output.
|
585 |
+
*
|
586 |
+
* @since 1.1.4
|
587 |
+
* @internal
|
588 |
+
*/
|
589 |
+
protected function _dump_line( $key, $type, $value, $level, $args = array() ) {
|
590 |
+
$type_color = '#999';
|
591 |
+
$type_key = strtolower( $type );
|
592 |
+
if ( strlen( $type_key ) > 4 ) { $type_key = substr( $type_key, 0, 4 ); }
|
593 |
+
|
594 |
+
$custom_type_colors = array(
|
595 |
+
'stri' => 'green',
|
596 |
+
'doub' => '#0099c5',
|
597 |
+
'floa' => '#0099c5',
|
598 |
+
'inte' => 'red',
|
599 |
+
'bool' => '#92008d',
|
600 |
+
'null' => '#AAA',
|
601 |
+
);
|
602 |
+
|
603 |
+
if ( isset( $custom_type_colors[ $type_key ] ) ) {
|
604 |
+
$type_color = $custom_type_colors[ $type_key ];
|
605 |
+
}
|
606 |
+
|
607 |
+
$collapse = array_intersect( $args['containers'], $args['collapsed'] );
|
608 |
+
$args['do_collapse'] = is_array( $collapse ) && count( $collapse ) > 0;
|
609 |
+
if ( ! empty( $args['toggle'] ) ) {
|
610 |
+
$args['containers'] = array_diff( $args['containers'], array( $args['toggle'] ) );
|
611 |
+
$args['collapsed'] = array_diff( $args['collapsed'], array( $args['toggle'] ) );
|
612 |
+
|
613 |
+
$collapse_this = array_intersect( $args['containers'], $args['collapsed'] );
|
614 |
+
$args['do_collapse_next'] = $args['do_collapse'];
|
615 |
+
$args['do_collapse'] = is_array( $collapse_this ) && count( $collapse_this ) > 0;
|
616 |
+
}
|
617 |
+
|
618 |
+
$row_class = '';
|
619 |
+
$row_attr = '';
|
620 |
+
if ( ! empty( $args['containers'] ) ) {
|
621 |
+
$row_class = implode( ' ', $args['containers'] );
|
622 |
+
}
|
623 |
+
if ( ! empty( $args['do_collapse'] ) ) {
|
624 |
+
$row_attr = 'style="display:none;"';
|
625 |
+
}
|
626 |
+
echo '<tr class="' . $row_class . '"' . $row_attr . '><td>';
|
627 |
+
|
628 |
+
// Property-key, if set.
|
629 |
+
if ( $key === null ) {
|
630 |
+
// Full Tree-level.
|
631 |
+
echo '<span class="dev-tree">';
|
632 |
+
for ( $i = 0; $i < count( $level ); $i += 1 ) {
|
633 |
+
if ( null === $level[$i] ) { continue; }
|
634 |
+
if ( $level[$i] ) { echo ' │ '; }
|
635 |
+
else { echo ' '; }
|
636 |
+
}
|
637 |
+
echo '</span>';
|
638 |
+
} else {
|
639 |
+
echo '<span class="dev-tree">';
|
640 |
+
// Tree-level without last level.
|
641 |
+
for ( $i = 0; $i < count( $level ) - 1; $i += 1 ) {
|
642 |
+
if ( null === $level[$i] ) { continue; }
|
643 |
+
if ( $level[$i] ) { echo ' │ '; }
|
644 |
+
else { echo ' '; }
|
645 |
+
}
|
646 |
+
|
647 |
+
if ( empty( $args['lastkey'] ) ) {
|
648 |
+
echo ' ├─';
|
649 |
+
} else {
|
650 |
+
echo ' └─';
|
651 |
+
}
|
652 |
+
echo '</span>';
|
653 |
+
|
654 |
+
$key_style = '';
|
655 |
+
if ( ! empty( $args['protected'] ) ) {
|
656 |
+
$key_style .= 'color:#900;';
|
657 |
+
$prefix = '';
|
658 |
+
} elseif ( ! empty( $args['private'] ) ) {
|
659 |
+
$key_style .= 'color:#C00;font-style:italic;';
|
660 |
+
$prefix = 'PRIVATE ';
|
661 |
+
} else {
|
662 |
+
$key_style .= 'color:#000;';
|
663 |
+
$prefix = '';
|
664 |
+
}
|
665 |
+
|
666 |
+
$valid_ids = array( 'ID', 'id' );
|
667 |
+
$is_id = in_array( (string) $key, $valid_ids );
|
668 |
+
if ( $is_id ) {
|
669 |
+
$key_style .= 'background:#FDA;';
|
670 |
+
}
|
671 |
+
|
672 |
+
echo '<span class="dev-item dev-item-key" style="' . $key_style . '">[ ' . $prefix . $key . ' ]</span>';
|
673 |
+
echo '<span class="dev-item"> => </span>';
|
674 |
+
}
|
675 |
+
|
676 |
+
// Data-Type.
|
677 |
+
if ( ! empty( $args['toggle'] ) ) {
|
678 |
+
echo '<a href="javascript:toggleDisplay(\''. $args['toggle'] . '\',\'' . trim( $row_class . ' ' . $args['toggle'] ) . '\');" class="dev-item dev-toggle-item">';
|
679 |
+
echo '<span style="color:#666666">' . $type . '</span> ';
|
680 |
+
echo '</a>';
|
681 |
+
} else {
|
682 |
+
echo '<span class="dev-item" style="color:#666666">' . $type . ' </span>';
|
683 |
+
}
|
684 |
+
|
685 |
+
if ( ! empty( $args['toggle'] ) ) {
|
686 |
+
$collapsed = ! empty( $args['do_collapse_next'] );
|
687 |
+
$toggle_style = 'display: ' . ( $collapsed ? 'inline' : 'none' );
|
688 |
+
echo '<span id="plus' . $args['toggle'] . '" class="plus dev-item" style="' . $toggle_style . '"> ⤵</span>';
|
689 |
+
}
|
690 |
+
|
691 |
+
// Value.
|
692 |
+
if ( $value !== null ) {
|
693 |
+
$value_style = '';
|
694 |
+
if ( isset( $args['highlight'] ) ) {
|
695 |
+
$value_style = $args['highlight'];
|
696 |
+
}
|
697 |
+
echo '<span class="dev-item" style="color:' . $type_color . ';' . $value_style . '">' . $value . '</span>';
|
698 |
+
}
|
699 |
+
|
700 |
+
echo '</td></tr>';
|
701 |
+
echo "\r\n";
|
702 |
+
}
|
703 |
+
|
704 |
+
/**
|
705 |
+
* Outputs the CSS and JS scripts required to display the debug dump/trace.
|
706 |
+
*
|
707 |
+
* @since 2.0.0
|
708 |
+
* @internal
|
709 |
+
*/
|
710 |
+
protected function add_scripts() {
|
711 |
+
if ( $this->is_plain_text() ) { return; }
|
712 |
+
if ( defined( '__DEBUG_SCRIPT' ) ) { return; }
|
713 |
+
define( '__DEBUG_SCRIPT', true );
|
714 |
+
|
715 |
+
if ( ! headers_sent() ) {
|
716 |
+
header( 'Content-type: text/html; charset=utf-8' );
|
717 |
+
}
|
718 |
+
|
719 |
+
?>
|
720 |
+
<style>
|
721 |
+
.wdev-debug {
|
722 |
+
clear: both;
|
723 |
+
border: 1px solid #C00;
|
724 |
+
background: rgba(255, 200, 200, 1);
|
725 |
+
padding: 10px;
|
726 |
+
margin: 10px;
|
727 |
+
position: relative;
|
728 |
+
z-index: 99999;
|
729 |
+
box-shadow: 0 1px 5px rgba(0,0,0,0.3);
|
730 |
+
font-size: 12px;
|
731 |
+
font-family: sans-serif;
|
732 |
+
font-weight: 200;
|
733 |
+
line-height: 1;
|
734 |
+
}
|
735 |
+
.wdev-debug .dev-tree {
|
736 |
+
color: #000;
|
737 |
+
opacity: .2;
|
738 |
+
font-family: monospace;
|
739 |
+
font-size: 19px;
|
740 |
+
line-height: 16px;
|
741 |
+
float: left;
|
742 |
+
}
|
743 |
+
.wdev-debug .dev-item {
|
744 |
+
float: left;
|
745 |
+
line-height: 16px;
|
746 |
+
white-space: pre;
|
747 |
+
}
|
748 |
+
.wdev-debug .dev-toggle-item {
|
749 |
+
text-decoration: none;
|
750 |
+
background: rgba(255,255,255,0.2);
|
751 |
+
display: inline-block;
|
752 |
+
}
|
753 |
+
.wdev-debug .wdev-dump {
|
754 |
+
margin: 0;
|
755 |
+
border-collapse: collapse;
|
756 |
+
padding: 0;
|
757 |
+
border: 0;
|
758 |
+
}
|
759 |
+
.wdev-debug .wdev-trace-toggle {
|
760 |
+
display: block;
|
761 |
+
margin: 10px 0 0 0;
|
762 |
+
}
|
763 |
+
.wdev-debug .wdev-dump td {
|
764 |
+
font-size: 12px;
|
765 |
+
line-height: 1;
|
766 |
+
font-family: sans-serif;
|
767 |
+
font-weight: 200;
|
768 |
+
background: transparent;
|
769 |
+
cursor: default;
|
770 |
+
padding: 0;
|
771 |
+
border: 0;
|
772 |
+
}
|
773 |
+
.wdev-debug .wdev-dump tr:hover td {
|
774 |
+
background-color: #FFF;
|
775 |
+
background-color: rgba(255,255,255,0.3);
|
776 |
+
}
|
777 |
+
.wdev-debug-clear {
|
778 |
+
clear: both;
|
779 |
+
display: table;
|
780 |
+
padding: 0;
|
781 |
+
margin: 0;
|
782 |
+
}
|
783 |
+
.wdev-debug-label {
|
784 |
+
font-size: 11px;
|
785 |
+
float: right;
|
786 |
+
margin: -10px;
|
787 |
+
color: #FFF;
|
788 |
+
background-color: #D88;
|
789 |
+
padding: 2px 8px;
|
790 |
+
cursor: pointer;
|
791 |
+
max-width: 50%;
|
792 |
+
white-space: nowrap;
|
793 |
+
overflow: hidden;
|
794 |
+
text-overflow: ellipsis;
|
795 |
+
}
|
796 |
+
.wdev-debug-label:hover {
|
797 |
+
background-color: #E66;
|
798 |
+
}
|
799 |
+
.wdev-debug pre {
|
800 |
+
font-size: 12px !important;
|
801 |
+
margin: 1px 0 !important;
|
802 |
+
background: rgba(255, 200, 200, 0.8);
|
803 |
+
}
|
804 |
+
.wdev-trace td {
|
805 |
+
padding: 1px 2px !important;
|
806 |
+
font-size: 12px;
|
807 |
+
vertical-align: top;
|
808 |
+
}
|
809 |
+
.wdev-trace {
|
810 |
+
margin: 4px 0 0 0;
|
811 |
+
background: #EBB;
|
812 |
+
border-collapse: collapse;
|
813 |
+
}
|
814 |
+
.wdev-trace tr.mark td {
|
815 |
+
background: #EC9;
|
816 |
+
}
|
817 |
+
.wdev-trace tr td {
|
818 |
+
cursor: default;
|
819 |
+
}
|
820 |
+
.wdev-trace-toggle {
|
821 |
+
cursor: pointer;
|
822 |
+
}
|
823 |
+
.wdev-debug .trc-num {
|
824 |
+
width: 40px;
|
825 |
+
}
|
826 |
+
.wdev-debug .trc-loc {
|
827 |
+
width: 60%;
|
828 |
+
}
|
829 |
+
.wdev-debug .trc-arg {
|
830 |
+
width: 40%;
|
831 |
+
font-size: 11px;
|
832 |
+
white-space: nowrap;
|
833 |
+
}
|
834 |
+
.wdev-debug .trc-param {
|
835 |
+
padding: 0 3px;
|
836 |
+
display: block;
|
837 |
+
margin: 1px 0 1px 8px;
|
838 |
+
}
|
839 |
+
.wdev-debug .trc-param font {
|
840 |
+
background: rgba( 0,0,0,0.05 );
|
841 |
+
}
|
842 |
+
.wdev-debug .trc-param:after {
|
843 |
+
content: ',';
|
844 |
+
}
|
845 |
+
.wdev-debug .trc-param:last-child:after {
|
846 |
+
content: '';
|
847 |
+
}
|
848 |
+
</style>
|
849 |
+
<script>
|
850 |
+
// Toggle whole block (debug/trace)
|
851 |
+
function toggleBlock( clsname ) {
|
852 |
+
var wrap = document.getElementsByClassName( clsname );
|
853 |
+
|
854 |
+
for ( var i = 0; i < wrap.length; i += 1 ) {
|
855 |
+
var state = (wrap[i].style.display == 'none' ? 'block' : 'none');
|
856 |
+
wrap[i].style.display = state;
|
857 |
+
}
|
858 |
+
}
|
859 |
+
// Mark a table row
|
860 |
+
function _m( row ) {
|
861 |
+
row.classList.toggle( 'mark' );
|
862 |
+
}
|
863 |
+
// Toggle a single debug-output-level
|
864 |
+
function toggleDisplay( clsname, full_class ) {
|
865 |
+
var elements = document.getElementsByClassName( clsname ),
|
866 |
+
plus = document.getElementById( "plus" + clsname ),
|
867 |
+
plus_state = (plus.style.display == 'none' ? 'inline' : 'none'),
|
868 |
+
el_state = (plus_state == 'none' ? 'table-row' : 'none' ),
|
869 |
+
sub_id = '',
|
870 |
+
sub_state = el_state;
|
871 |
+
|
872 |
+
plus.style.display = plus_state;
|
873 |
+
|
874 |
+
for ( var i = 0; i < elements.length; i += 1 ) {
|
875 |
+
var sub_plus = elements[i].getElementsByClassName( 'plus' );
|
876 |
+
|
877 |
+
if ( elements[i].className == full_class ) {
|
878 |
+
if ( sub_plus.length ) { sub_plus[0].style.display = 'inline'; }
|
879 |
+
elements[i].style.display = el_state;
|
880 |
+
} else {
|
881 |
+
if ( sub_plus.length ) { sub_plus[0].style.display = 'inline'; }
|
882 |
+
elements[i].style.display = 'none';
|
883 |
+
}
|
884 |
+
}
|
885 |
+
}
|
886 |
+
</script>
|
887 |
+
<?php
|
888 |
+
}
|
889 |
+
|
890 |
+
/**
|
891 |
+
* Returns an HTML element that displays a colored label. By default the
|
892 |
+
* label is a random/unique MD5 hash.
|
893 |
+
* This marker is intended for debugging to identify changes in objects
|
894 |
+
* that are loaded via ajax.
|
895 |
+
*
|
896 |
+
* @since 2.0.1
|
897 |
+
* @api
|
898 |
+
*
|
899 |
+
* @param string $label Optional. The label to display. Default is a
|
900 |
+
* random MD5 string.
|
901 |
+
* @param array $styles Optional. Array of CSS styles to apply.
|
902 |
+
* @return object {
|
903 |
+
* Marker details
|
904 |
+
*
|
905 |
+
* $html
|
906 |
+
* $hash
|
907 |
+
* $text
|
908 |
+
* $color
|
909 |
+
* }
|
910 |
+
*/
|
911 |
+
public function marker_html( $label = null, $styles = array() ) {
|
912 |
+
$hash = md5( rand( 1000, 9999 ) . time() );
|
913 |
+
|
914 |
+
if ( null === $label ) {
|
915 |
+
$label = $hash;
|
916 |
+
} else {
|
917 |
+
$hash = md5( $label );
|
918 |
+
}
|
919 |
+
|
920 |
+
$color = substr( $hash, 0, 3 );
|
921 |
+
$def_styles = array(
|
922 |
+
'background' => '#' . $color,
|
923 |
+
'color' => '#fff',
|
924 |
+
'width' => '280px',
|
925 |
+
'font-size' => '12px',
|
926 |
+
'text-transform' => 'uppercase',
|
927 |
+
'font-family' => 'monospace',
|
928 |
+
'text-align' => 'center',
|
929 |
+
'margin' => '0 auto 5px',
|
930 |
+
'border-radius' => '3px',
|
931 |
+
'padding' => '4px',
|
932 |
+
'text-shadow' => '0 0 1px #666',
|
933 |
+
'box-shadow' => '0 0 1px #000 inset',
|
934 |
+
);
|
935 |
+
$styles = wp_parse_args(
|
936 |
+
$styles,
|
937 |
+
$def_styles
|
938 |
+
);
|
939 |
+
|
940 |
+
$style = '';
|
941 |
+
foreach ( $styles as $key => $val ) {
|
942 |
+
$style .= $key . ':' . $val . ';';
|
943 |
+
}
|
944 |
+
|
945 |
+
$marker = sprintf(
|
946 |
+
'<div style="%1$s">%2$s</div>',
|
947 |
+
esc_attr( $style ),
|
948 |
+
$label
|
949 |
+
);
|
950 |
+
|
951 |
+
return (object) array(
|
952 |
+
'html' => $marker,
|
953 |
+
'hash' => $hash,
|
954 |
+
'text' => $label,
|
955 |
+
'color' => '#' . $color,
|
956 |
+
);
|
957 |
+
}
|
958 |
+
}
|
959 |
+
|
inc/external/wpmu-lib/inc/class-thelib-html.php
CHANGED
@@ -4,12 +4,10 @@
|
|
4 |
*
|
5 |
* @since 1.1.0
|
6 |
*/
|
7 |
-
class
|
8 |
|
9 |
/* Constants for default HTML input elements. */
|
10 |
const INPUT_TYPE_HIDDEN = 'hidden';
|
11 |
-
const INPUT_TYPE_TEXT = 'text';
|
12 |
-
const INPUT_TYPE_PASSWORD = 'password';
|
13 |
const INPUT_TYPE_TEXT_AREA = 'textarea';
|
14 |
const INPUT_TYPE_SELECT = 'select';
|
15 |
const INPUT_TYPE_RADIO = 'radio';
|
@@ -17,6 +15,14 @@ class TheLib_1_1_1_Html extends TheLib_1_1_1_Base {
|
|
17 |
const INPUT_TYPE_BUTTON = 'button';
|
18 |
const INPUT_TYPE_CHECKBOX = 'checkbox';
|
19 |
const INPUT_TYPE_IMAGE = 'image';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
const INPUT_TYPE_FILE = 'file';
|
21 |
|
22 |
/* Constants for advanced HTML input elements. */
|
@@ -56,13 +62,16 @@ class TheLib_1_1_1_Html extends TheLib_1_1_1_Base {
|
|
56 |
* Displays a WordPress like message to the user. The message is generated
|
57 |
* via Javascript after the page is fully loaded.
|
58 |
*
|
|
|
|
|
59 |
* @since 1.1.0
|
|
|
60 |
*
|
61 |
* @param string $text Contents of the message.
|
62 |
* @return Reference to $this for chaining.
|
63 |
*/
|
64 |
public function message( $text, $type = 'ok', $id = 'msg_ok', $close = true ) {
|
65 |
-
|
66 |
|
67 |
$data = array(
|
68 |
'message' => $text,
|
@@ -92,23 +101,51 @@ class TheLib_1_1_1_Html extends TheLib_1_1_1_Base {
|
|
92 |
* Displays a WordPress pointer on the current admin screen.
|
93 |
*
|
94 |
* @since 1.1.0
|
|
|
95 |
*
|
96 |
-
* @param string $pointer_id Internal ID of the pointer, make sure it is unique!
|
|
|
97 |
* @param string $html_el HTML element to point to (e.g. '#menu-appearance')
|
98 |
* @param string $title The title of the pointer.
|
99 |
* @param string $body Text of the pointer.
|
100 |
-
*
|
|
|
101 |
*/
|
102 |
-
public function pointer( $
|
103 |
if ( ! is_admin() ) {
|
104 |
return;
|
105 |
}
|
106 |
|
107 |
-
|
108 |
-
'
|
109 |
-
|
110 |
-
|
111 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
112 |
|
113 |
return $this;
|
114 |
}
|
@@ -117,43 +154,42 @@ class TheLib_1_1_1_Html extends TheLib_1_1_1_Base {
|
|
117 |
* Action handler for plugins_loaded. This decides if the pointer will be displayed.
|
118 |
*
|
119 |
* @since 1.0.2
|
120 |
-
*
|
121 |
-
* @private
|
122 |
*/
|
123 |
public function _init_pointer() {
|
124 |
$items = $this->_get( 'init_pointer' );
|
125 |
foreach ( $items as $item ) {
|
126 |
-
extract( $item );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
127 |
|
128 |
-
//
|
129 |
-
$
|
130 |
-
|
131 |
-
'
|
132 |
-
true
|
133 |
-
);
|
134 |
-
$seen_list = explode( ',', $seen );
|
135 |
|
136 |
-
// Handle our first pointer announcing the plugin's new settings screen.
|
137 |
-
if ( ! in_array( $pointer_id, $seen_list ) ) {
|
138 |
-
$this->_have( 'pointer' ) || add_action(
|
139 |
-
'admin_print_footer_scripts',
|
140 |
-
array( $this, '_pointer_print_scripts' )
|
141 |
-
);
|
142 |
-
$this->_have( 'pointer' ) || add_action(
|
143 |
-
'admin_enqueue_scripts',
|
144 |
-
array( $this, '_enqueue_pointer' )
|
145 |
-
);
|
146 |
$this->_add( 'pointer', $item );
|
147 |
}
|
148 |
}
|
149 |
}
|
150 |
|
151 |
/**
|
152 |
-
* Enqueue wp-pointer
|
153 |
*
|
154 |
* @since 1.0.1
|
155 |
-
*
|
156 |
-
* @private
|
157 |
*/
|
158 |
public function _enqueue_pointer() {
|
159 |
// Load the JS/CSS for WP Pointers
|
@@ -162,21 +198,109 @@ class TheLib_1_1_1_Html extends TheLib_1_1_1_Base {
|
|
162 |
}
|
163 |
|
164 |
/**
|
165 |
-
* Action hook for admin footer scripts
|
166 |
*
|
167 |
* @since 1.0.1
|
168 |
-
*
|
169 |
-
* @private
|
170 |
*/
|
171 |
public function _pointer_print_scripts() {
|
172 |
$items = $this->_get( 'pointer' );
|
173 |
foreach ( $items as $item ) {
|
174 |
-
extract( $item ); // pointer_id, html_el, title, body
|
175 |
include $this->_view_path( 'pointer.php' );
|
176 |
}
|
177 |
}
|
178 |
|
179 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
180 |
/*=================================*\
|
181 |
=====================================
|
182 |
== ==
|
@@ -194,6 +318,7 @@ class TheLib_1_1_1_Html extends TheLib_1_1_1_Base {
|
|
194 |
* javascript.
|
195 |
*
|
196 |
* @since 1.1
|
|
|
197 |
*
|
198 |
* @param array $items {
|
199 |
* List of all items to include. Each item has these properties:
|
@@ -216,10 +341,11 @@ class TheLib_1_1_1_Html extends TheLib_1_1_1_Base {
|
|
216 |
* @var string $key
|
217 |
* @var string $label
|
218 |
* }
|
|
|
219 |
* @return Reference to $this for chaining.
|
220 |
*/
|
221 |
public function plugin_list( $items, $lang, $filters ) {
|
222 |
-
|
223 |
include $this->_view_path( 'list.php' );
|
224 |
return $this;
|
225 |
}
|
@@ -241,12 +367,33 @@ class TheLib_1_1_1_Html extends TheLib_1_1_1_Base {
|
|
241 |
* Use constants to specify field type. e.g. self::INPUT_TYPE_TEXT
|
242 |
*
|
243 |
* @since 1.1.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
244 |
*
|
245 |
* @return void|string If $return param is false the HTML will be echo'ed,
|
246 |
-
*
|
247 |
*/
|
248 |
public function element( $field_args, $return = false ) {
|
249 |
-
|
250 |
|
251 |
if ( is_string( $field_args ) ) {
|
252 |
if ( $return ) {
|
@@ -269,6 +416,7 @@ class TheLib_1_1_1_Html extends TheLib_1_1_1_Base {
|
|
269 |
'value' => '',
|
270 |
'type' => 'text',
|
271 |
'class' => '',
|
|
|
272 |
'maxlength' => '',
|
273 |
'equalTo' => '',
|
274 |
'field_options' => array(),
|
@@ -280,7 +428,11 @@ class TheLib_1_1_1_Html extends TheLib_1_1_1_Base {
|
|
280 |
'data_placeholder' => '',
|
281 |
'ajax_data' => '',
|
282 |
'data_ms' => '', // alias for "ajax_data"
|
|
|
283 |
'label_type' => 'label',
|
|
|
|
|
|
|
284 |
// Specific for type 'button', 'submit':
|
285 |
'button_value' => '',
|
286 |
'button_type' => '', // for display [empty/'submit'/'button']
|
@@ -323,7 +475,11 @@ class TheLib_1_1_1_Html extends TheLib_1_1_1_Base {
|
|
323 |
}
|
324 |
|
325 |
if ( ! empty( $ajax_data ) ) {
|
326 |
-
if (
|
|
|
|
|
|
|
|
|
327 |
$ajax_data['_wpnonce'] = wp_create_nonce( $ajax_data['action'] );
|
328 |
}
|
329 |
|
@@ -334,10 +490,30 @@ class TheLib_1_1_1_Html extends TheLib_1_1_1_Base {
|
|
334 |
$read_only = empty( $read_only ) ? '' : 'readonly="readonly" ';
|
335 |
$multiple = empty( $multiple ) ? '' : 'multiple="multiple" ';
|
336 |
|
|
|
|
|
|
|
|
|
|
|
337 |
if ( ! empty( $ajax_data ) ) {
|
338 |
$class .= ' wpmui-ajax-update';
|
339 |
}
|
340 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
341 |
$labels = (object) array(
|
342 |
'title' => $title,
|
343 |
'desc' => $desc,
|
@@ -346,11 +522,10 @@ class TheLib_1_1_1_Html extends TheLib_1_1_1_Base {
|
|
346 |
'tooltip' => $tooltip,
|
347 |
'tooltip_code' => $this->tooltip( $tooltip, true ),
|
348 |
'id' => $id,
|
349 |
-
'class' =>
|
350 |
'label_type' => $label_type,
|
351 |
);
|
352 |
|
353 |
-
|
354 |
// Capture to output buffer
|
355 |
if ( $return ) { ob_start(); }
|
356 |
|
@@ -359,13 +534,24 @@ class TheLib_1_1_1_Html extends TheLib_1_1_1_Base {
|
|
359 |
$this->element_hidden(
|
360 |
$id,
|
361 |
$name,
|
362 |
-
$value
|
|
|
363 |
);
|
364 |
break;
|
365 |
|
366 |
case self::INPUT_TYPE_TEXT:
|
367 |
case self::INPUT_TYPE_PASSWORD:
|
|
|
|
|
|
|
|
|
|
|
368 |
case self::INPUT_TYPE_FILE:
|
|
|
|
|
|
|
|
|
|
|
369 |
$this->element_input(
|
370 |
$labels,
|
371 |
$type,
|
@@ -373,7 +559,8 @@ class TheLib_1_1_1_Html extends TheLib_1_1_1_Base {
|
|
373 |
$id,
|
374 |
$name,
|
375 |
$value,
|
376 |
-
$read_only . $max_attr . $attr_placeholder . $ajax_data
|
|
|
377 |
);
|
378 |
break;
|
379 |
|
@@ -384,7 +571,8 @@ class TheLib_1_1_1_Html extends TheLib_1_1_1_Base {
|
|
384 |
$id,
|
385 |
$name,
|
386 |
$value,
|
387 |
-
$max_attr . $attr_placeholder . $ajax_data
|
|
|
388 |
);
|
389 |
break;
|
390 |
|
@@ -395,7 +583,8 @@ class TheLib_1_1_1_Html extends TheLib_1_1_1_Base {
|
|
395 |
$id,
|
396 |
$name,
|
397 |
$value,
|
398 |
-
$read_only . $attr_placeholder . $ajax_data
|
|
|
399 |
);
|
400 |
break;
|
401 |
|
@@ -406,8 +595,9 @@ class TheLib_1_1_1_Html extends TheLib_1_1_1_Base {
|
|
406 |
$id,
|
407 |
$name,
|
408 |
$value,
|
409 |
-
$multiple . $read_only . $attr_data_placeholder . $ajax_data,
|
410 |
-
$field_options
|
|
|
411 |
);
|
412 |
break;
|
413 |
|
@@ -419,7 +609,8 @@ class TheLib_1_1_1_Html extends TheLib_1_1_1_Base {
|
|
419 |
$name,
|
420 |
$value,
|
421 |
$ajax_data,
|
422 |
-
$field_options
|
|
|
423 |
);
|
424 |
break;
|
425 |
|
@@ -430,8 +621,9 @@ class TheLib_1_1_1_Html extends TheLib_1_1_1_Base {
|
|
430 |
$id,
|
431 |
$name,
|
432 |
$value,
|
433 |
-
$ajax_data,
|
434 |
-
$field_options
|
|
|
435 |
);
|
436 |
break;
|
437 |
|
@@ -454,7 +646,6 @@ class TheLib_1_1_1_Html extends TheLib_1_1_1_Base {
|
|
454 |
$class .= ' wpmui-submit button-primary';
|
455 |
}
|
456 |
|
457 |
-
|
458 |
$this->element_button(
|
459 |
$labels,
|
460 |
$type,
|
@@ -463,7 +654,7 @@ class TheLib_1_1_1_Html extends TheLib_1_1_1_Base {
|
|
463 |
$name,
|
464 |
$value,
|
465 |
$button_value,
|
466 |
-
$ajax_data
|
467 |
);
|
468 |
break;
|
469 |
|
@@ -475,7 +666,7 @@ class TheLib_1_1_1_Html extends TheLib_1_1_1_Base {
|
|
475 |
$name,
|
476 |
$value,
|
477 |
$alt,
|
478 |
-
$ajax_data
|
479 |
);
|
480 |
break;
|
481 |
|
@@ -488,8 +679,9 @@ class TheLib_1_1_1_Html extends TheLib_1_1_1_Base {
|
|
488 |
$value,
|
489 |
$url,
|
490 |
$read_only,
|
491 |
-
$ajax_data,
|
492 |
-
$field_options
|
|
|
493 |
);
|
494 |
break;
|
495 |
|
@@ -501,11 +693,12 @@ class TheLib_1_1_1_Html extends TheLib_1_1_1_Base {
|
|
501 |
$name,
|
502 |
$value,
|
503 |
$field_options,
|
504 |
-
$multiple . $read_only . $attr_data_placeholder,
|
505 |
$ajax_data,
|
506 |
$empty_text,
|
507 |
$button_text,
|
508 |
-
$title_selected
|
|
|
509 |
);
|
510 |
break;
|
511 |
|
@@ -516,8 +709,9 @@ class TheLib_1_1_1_Html extends TheLib_1_1_1_Base {
|
|
516 |
$id,
|
517 |
$name,
|
518 |
$value,
|
519 |
-
$multiple . $read_only . $attr_data_placeholder . $ajax_data,
|
520 |
-
$field_options
|
|
|
521 |
);
|
522 |
break;
|
523 |
|
@@ -528,7 +722,7 @@ class TheLib_1_1_1_Html extends TheLib_1_1_1_Base {
|
|
528 |
$id,
|
529 |
$value,
|
530 |
$url,
|
531 |
-
$ajax_data,
|
532 |
$target
|
533 |
);
|
534 |
break;
|
@@ -545,7 +739,8 @@ class TheLib_1_1_1_Html extends TheLib_1_1_1_Base {
|
|
545 |
$class,
|
546 |
$id,
|
547 |
$value,
|
548 |
-
|
|
|
549 |
);
|
550 |
break;
|
551 |
|
@@ -555,7 +750,8 @@ class TheLib_1_1_1_Html extends TheLib_1_1_1_Base {
|
|
555 |
$class,
|
556 |
$id,
|
557 |
$value,
|
558 |
-
$field_options
|
|
|
559 |
);
|
560 |
break;
|
561 |
}
|
@@ -569,13 +765,15 @@ class TheLib_1_1_1_Html extends TheLib_1_1_1_Base {
|
|
569 |
* Helper function used by `html_element`
|
570 |
*
|
571 |
* @since 1.1.0
|
|
|
572 |
*/
|
573 |
-
private function element_hidden( $id, $name, $value ) {
|
574 |
printf(
|
575 |
-
'<input class="wpmui-field-input wpmui-hidden" type="hidden" id="%1$s" name="%2$s" value="%3$s" />',
|
576 |
esc_attr( $id ),
|
577 |
esc_attr( $name ),
|
578 |
-
esc_attr( $value )
|
|
|
579 |
);
|
580 |
}
|
581 |
|
@@ -583,9 +781,10 @@ class TheLib_1_1_1_Html extends TheLib_1_1_1_Base {
|
|
583 |
* Helper function used by `html_element`
|
584 |
*
|
585 |
* @since 1.1.0
|
|
|
586 |
*/
|
587 |
-
private function element_input( $labels, $type, $class, $id, $name, $value, $attr ) {
|
588 |
-
|
589 |
$this->element_label( $labels );
|
590 |
|
591 |
printf(
|
@@ -599,19 +798,27 @@ class TheLib_1_1_1_Html extends TheLib_1_1_1_Base {
|
|
599 |
);
|
600 |
|
601 |
$this->element_hint( $labels );
|
602 |
-
|
603 |
}
|
604 |
|
605 |
/**
|
606 |
* Helper function used by `html_element`
|
607 |
*
|
608 |
* @since 1.1.0
|
|
|
609 |
*/
|
610 |
-
private function element_datepicker( $labels, $class, $id, $name, $value, $attr ) {
|
|
|
611 |
$this->element_label( $labels );
|
612 |
|
|
|
|
|
|
|
|
|
|
|
|
|
613 |
printf(
|
614 |
-
'<span class="wpmui-
|
615 |
esc_attr( $class ),
|
616 |
esc_attr( $id ),
|
617 |
esc_attr( $name ),
|
@@ -620,14 +827,17 @@ class TheLib_1_1_1_Html extends TheLib_1_1_1_Base {
|
|
620 |
);
|
621 |
|
622 |
$this->element_hint( $labels );
|
|
|
623 |
}
|
624 |
|
625 |
/**
|
626 |
* Helper function used by `html_element`
|
627 |
*
|
628 |
* @since 1.1.0
|
|
|
629 |
*/
|
630 |
-
private function element_textarea( $labels, $class, $id, $name, $value, $attr ) {
|
|
|
631 |
$this->element_label( $labels );
|
632 |
|
633 |
printf(
|
@@ -640,17 +850,19 @@ class TheLib_1_1_1_Html extends TheLib_1_1_1_Base {
|
|
640 |
);
|
641 |
|
642 |
$this->element_hint( $labels );
|
|
|
643 |
}
|
644 |
|
645 |
/**
|
646 |
* Helper function used by `html_element`
|
647 |
*
|
648 |
* @since 1.1.0
|
|
|
649 |
*/
|
650 |
-
private function element_select( $labels, $class, $id, $name, $value, $attr, $field_options ) {
|
651 |
$options = $this->select_options( $field_options, $value );
|
652 |
|
653 |
-
|
654 |
$this->element_label( $labels );
|
655 |
|
656 |
printf(
|
@@ -663,33 +875,38 @@ class TheLib_1_1_1_Html extends TheLib_1_1_1_Base {
|
|
663 |
);
|
664 |
|
665 |
$this->element_hint( $labels );
|
666 |
-
|
667 |
}
|
668 |
|
669 |
/**
|
670 |
* Helper function used by `html_element`
|
671 |
*
|
672 |
* @since 1.1.0
|
|
|
673 |
*/
|
674 |
-
private function element_radio( $labels, $class, $id, $name, $value, $attr, $field_options ) {
|
675 |
-
|
676 |
-
'<span class="wpmui-radio-wrapper wrapper-%1$s">',
|
677 |
-
esc_attr( $id )
|
678 |
-
);
|
679 |
-
|
680 |
$this->element_label( $labels );
|
681 |
|
682 |
foreach ( $field_options as $key => $option ) {
|
683 |
if ( is_array( $option ) ) {
|
|
|
684 |
$item_text = $option['text'];
|
685 |
$item_desc = $option['desc'];
|
686 |
-
|
687 |
-
else {
|
688 |
$item_text = $option;
|
689 |
$item_desc = '';
|
|
|
690 |
}
|
691 |
|
692 |
$checked = checked( $value, $key, false );
|
|
|
|
|
|
|
|
|
|
|
|
|
693 |
$radio_desc = '';
|
694 |
|
695 |
if ( ! empty( $item_desc ) ) {
|
@@ -698,61 +915,157 @@ class TheLib_1_1_1_Html extends TheLib_1_1_1_Base {
|
|
698 |
|
699 |
printf(
|
700 |
'<div class="wpmui-radio-input-wrapper %1$s wpmui-%2$s"><label class="wpmui-field-label" for="%4$s_%2$s"><input class="wpmui-field-input wpmui-radio %1$s" type="radio" name="%3$s" id="%4$s_%2$s" value="%2$s" %5$s /><span class="wpmui-radio-caption">%6$s</span>%7$s</label></div>',
|
701 |
-
esc_attr( $
|
702 |
esc_attr( $key ),
|
703 |
esc_attr( $name ),
|
704 |
esc_attr( $id ),
|
705 |
-
$
|
706 |
$item_text,
|
707 |
$radio_desc
|
708 |
);
|
709 |
}
|
710 |
|
711 |
$this->element_hint( $labels );
|
712 |
-
|
713 |
}
|
714 |
|
715 |
/**
|
716 |
* Helper function used by `html_element`
|
717 |
*
|
718 |
* @since 1.1.0
|
|
|
719 |
*/
|
720 |
-
private function element_checkbox( $labels, $class, $id, $name, $value, $attr, $options ) {
|
721 |
-
$checked = checked( $value, true, false );
|
722 |
-
|
723 |
$item_desc = '';
|
724 |
if ( ! empty( $labels->desc ) ) {
|
725 |
$item_desc = sprintf( '<div class="wpmui-field-description"><p>%1$s</p></div>', $labels->desc );
|
726 |
}
|
|
|
727 |
|
728 |
-
$
|
729 |
-
|
730 |
-
|
731 |
-
|
732 |
-
$item_label = sprintf(
|
733 |
-
'<div class="wpmui-checkbox-caption">%1$s %2$s</div>',
|
734 |
$labels->title,
|
735 |
-
$labels->tooltip
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
736 |
);
|
737 |
}
|
738 |
|
739 |
-
|
740 |
-
|
741 |
-
|
742 |
-
|
743 |
-
|
744 |
-
|
745 |
-
|
746 |
-
$
|
747 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
748 |
|
749 |
$this->element_hint( $labels );
|
|
|
|
|
|
|
|
|
750 |
}
|
751 |
|
752 |
/**
|
753 |
* Helper function used by `html_element`
|
754 |
*
|
755 |
* @since 1.1.0
|
|
|
756 |
*/
|
757 |
private function element_wp_editor( $labels, $id, $value, $options ) {
|
758 |
$this->element_label( $labels );
|
@@ -766,6 +1079,7 @@ class TheLib_1_1_1_Html extends TheLib_1_1_1_Base {
|
|
766 |
* Helper function used by `html_element`
|
767 |
*
|
768 |
* @since 1.1.0
|
|
|
769 |
*/
|
770 |
private function element_button( $labels, $type, $class, $id, $name, $label, $value, $attr ) {
|
771 |
$this->element_label( $labels );
|
@@ -788,6 +1102,7 @@ class TheLib_1_1_1_Html extends TheLib_1_1_1_Base {
|
|
788 |
* Helper function used by `html_element`
|
789 |
*
|
790 |
* @since 1.1.0
|
|
|
791 |
*/
|
792 |
private function element_image( $labels, $class, $id, $name, $value, $alt, $attr ) {
|
793 |
$this->element_label( $labels );
|
@@ -809,9 +1124,10 @@ class TheLib_1_1_1_Html extends TheLib_1_1_1_Base {
|
|
809 |
* Helper function used by `html_element`
|
810 |
*
|
811 |
* @since 1.1.0
|
|
|
812 |
*/
|
813 |
-
private function element_radioslider( $labels, $class, $id, $name, $state, $url, $read_only, $attr, $options ) {
|
814 |
-
$options =
|
815 |
if ( ! isset( $options['active'] ) ) { $options['active'] = true; }
|
816 |
if ( ! isset( $options['inactive'] ) ) { $options['inactive'] = false; }
|
817 |
|
@@ -820,11 +1136,7 @@ class TheLib_1_1_1_Html extends TheLib_1_1_1_Base {
|
|
820 |
|
821 |
$turned = ( $value ) ? 'on' : '';
|
822 |
|
823 |
-
|
824 |
-
'<span class="wpmui-radio-slider-wrapper %s">',
|
825 |
-
$turned
|
826 |
-
);
|
827 |
-
|
828 |
$this->element_label( $labels );
|
829 |
|
830 |
$attr .= ' data-states="' . esc_attr( json_encode( $options ) ) . '" ';
|
@@ -841,29 +1153,32 @@ class TheLib_1_1_1_Html extends TheLib_1_1_1_Base {
|
|
841 |
}
|
842 |
|
843 |
printf(
|
844 |
-
'<div class="wpmui-radio-slider %1$s wpmui-slider-%5$s %7$s" %6$s
|
845 |
esc_attr( $turned ),
|
846 |
$attr,
|
847 |
$link_url,
|
848 |
$attr_input,
|
849 |
esc_attr( $id ),
|
850 |
$read_only,
|
851 |
-
esc_attr( $class )
|
|
|
|
|
852 |
);
|
853 |
|
854 |
$this->element_hint( $labels );
|
855 |
-
|
856 |
}
|
857 |
|
858 |
/**
|
859 |
* Helper function used by `html_element`
|
860 |
*
|
861 |
* @since 1.1.0
|
|
|
862 |
*/
|
863 |
-
private function element_tagselect( $labels, $class, $id, $name, $value, $field_options, $attr, $ajax_data, $empty_text, $button_text, $title_selected ) {
|
864 |
$labels->id = '_src_' . $id;
|
865 |
|
866 |
-
|
867 |
$this->element_label( $labels );
|
868 |
|
869 |
$options_selected = '';
|
@@ -911,7 +1226,7 @@ class TheLib_1_1_1_Html extends TheLib_1_1_1_Base {
|
|
911 |
$label_tag->id = $id;
|
912 |
$label_tag->tooltip = '';
|
913 |
$label_tag->tooltip_code = '';
|
914 |
-
$label_tag->class
|
915 |
$this->element_label( $label_tag );
|
916 |
|
917 |
// Second Select: The actual tag-list
|
@@ -926,15 +1241,16 @@ class TheLib_1_1_1_Html extends TheLib_1_1_1_Base {
|
|
926 |
}
|
927 |
|
928 |
$this->element_hint( $labels );
|
929 |
-
|
930 |
}
|
931 |
|
932 |
/**
|
933 |
* Helper function used by `html_element`
|
934 |
*
|
935 |
* @since 1.1.0
|
|
|
936 |
*/
|
937 |
-
private function element_wp_pages( $labels, $class, $id, $name, $value, $attr, $field_options ) {
|
938 |
$defaults = array(
|
939 |
'hierarchical' => 1,
|
940 |
'sort_column' => 'post_title',
|
@@ -984,15 +1300,16 @@ class TheLib_1_1_1_Html extends TheLib_1_1_1_Base {
|
|
984 |
$name,
|
985 |
$value,
|
986 |
$attr,
|
987 |
-
$items
|
|
|
988 |
);
|
989 |
}
|
990 |
|
991 |
-
|
992 |
/**
|
993 |
* Helper function used by `html_element`
|
994 |
*
|
995 |
* @since 1.1.0
|
|
|
996 |
*/
|
997 |
private function element_separator( $type = 'horizontal' ) {
|
998 |
if ( 'v' === $type[0] ) {
|
@@ -1006,6 +1323,7 @@ class TheLib_1_1_1_Html extends TheLib_1_1_1_Base {
|
|
1006 |
* Helper function used by `html_element`
|
1007 |
*
|
1008 |
* @since 1.1.0
|
|
|
1009 |
*/
|
1010 |
private function element_link( $labels, $class, $id, $label, $url, $attr, $target ) {
|
1011 |
$this->element_desc( $labels );
|
@@ -1034,11 +1352,12 @@ class TheLib_1_1_1_Html extends TheLib_1_1_1_Base {
|
|
1034 |
* Helper function used by `html_element`
|
1035 |
*
|
1036 |
* @since 1.1.0
|
|
|
1037 |
*/
|
1038 |
-
private function element_wrapper( $labels, $class, $id, $code, $wrap ) {
|
1039 |
if ( empty( $wrap ) ) { $wrap = 'span'; }
|
1040 |
|
1041 |
-
|
1042 |
$this->element_label( $labels );
|
1043 |
|
1044 |
printf(
|
@@ -1049,25 +1368,26 @@ class TheLib_1_1_1_Html extends TheLib_1_1_1_Base {
|
|
1049 |
);
|
1050 |
|
1051 |
$this->element_hint( $labels );
|
1052 |
-
|
1053 |
}
|
1054 |
|
1055 |
/**
|
1056 |
* Helper function used by `html_element`
|
1057 |
*
|
1058 |
* @since 1.1.0
|
|
|
1059 |
*/
|
1060 |
-
private function element_table( $labels, $class, $id, $rows, $args ) {
|
1061 |
-
|
1062 |
|
1063 |
-
|
1064 |
$this->element_label( $labels );
|
1065 |
|
1066 |
$code_body = '';
|
1067 |
$code_head = '';
|
1068 |
|
1069 |
if ( is_array( $rows ) ) {
|
1070 |
-
$args['col_class'] =
|
1071 |
|
1072 |
foreach ( $rows as $row_num => $row ) {
|
1073 |
$code_row = '';
|
@@ -1120,13 +1440,15 @@ class TheLib_1_1_1_Html extends TheLib_1_1_1_Base {
|
|
1120 |
}
|
1121 |
|
1122 |
$this->element_hint( $labels );
|
1123 |
-
|
1124 |
}
|
1125 |
|
1126 |
/**
|
1127 |
* Returns HTML code containing options used to build a select tag.
|
1128 |
*
|
1129 |
* @since 1.1.0
|
|
|
|
|
1130 |
* @param array $list List items as 'key => value' pairs.
|
1131 |
* @param array|string $value The selected value.
|
1132 |
* @param string $type Either 'default' or 'taglist'.
|
@@ -1135,6 +1457,7 @@ class TheLib_1_1_1_Html extends TheLib_1_1_1_Base {
|
|
1135 |
*/
|
1136 |
private function select_options( $list, $value = '', $type = 'default' ) {
|
1137 |
$options = '';
|
|
|
1138 |
|
1139 |
foreach ( $list as $key => $option ) {
|
1140 |
if ( is_array( $option ) ) {
|
@@ -1145,16 +1468,22 @@ class TheLib_1_1_1_Html extends TheLib_1_1_1_Base {
|
|
1145 |
$this->select_options( $option, $value, $type )
|
1146 |
);
|
1147 |
} else {
|
1148 |
-
|
1149 |
-
|
|
|
|
|
1150 |
}
|
1151 |
-
|
|
|
|
|
|
|
|
|
1152 |
$is_selected = $key == $value;
|
1153 |
}
|
1154 |
|
1155 |
switch ( $type ) {
|
1156 |
case 'default':
|
1157 |
-
$attr
|
1158 |
$options .= sprintf(
|
1159 |
'<option value="%1$s" %2$s>%3$s</option>',
|
1160 |
esc_attr( $key ),
|
@@ -1164,7 +1493,7 @@ class TheLib_1_1_1_Html extends TheLib_1_1_1_Base {
|
|
1164 |
break;
|
1165 |
|
1166 |
case 'taglist':
|
1167 |
-
$attr
|
1168 |
$options .= sprintf(
|
1169 |
'<option value="%1$s" %2$s>%3$s</option>',
|
1170 |
esc_attr( $key ),
|
@@ -1179,10 +1508,67 @@ class TheLib_1_1_1_Html extends TheLib_1_1_1_Base {
|
|
1179 |
return $options;
|
1180 |
}
|
1181 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1182 |
/**
|
1183 |
* Helper function used by `html_element`
|
1184 |
*
|
1185 |
* @since 1.1.0
|
|
|
1186 |
*/
|
1187 |
private function element_label( $labels ) {
|
1188 |
if ( ! empty( $labels->title ) ) {
|
@@ -1203,13 +1589,15 @@ class TheLib_1_1_1_Html extends TheLib_1_1_1_Base {
|
|
1203 |
* Helper function used by `html_element`
|
1204 |
*
|
1205 |
* @since 1.1.0
|
|
|
1206 |
*/
|
1207 |
private function element_desc( $labels ) {
|
1208 |
if ( ! empty( $labels->desc ) ) {
|
1209 |
printf(
|
1210 |
-
'<
|
1211 |
$labels->desc,
|
1212 |
-
esc_attr( 'wpmui-description-' . $labels->id )
|
|
|
1213 |
);
|
1214 |
}
|
1215 |
|
@@ -1225,6 +1613,7 @@ class TheLib_1_1_1_Html extends TheLib_1_1_1_Base {
|
|
1225 |
* Helper function used by `html_element`
|
1226 |
*
|
1227 |
* @since 1.1.0
|
|
|
1228 |
*/
|
1229 |
private function element_hint( $labels ) {
|
1230 |
if ( ! empty( $labels->after ) ) {
|
@@ -1243,26 +1632,32 @@ class TheLib_1_1_1_Html extends TheLib_1_1_1_Base {
|
|
1243 |
* Method for outputting tooltips.
|
1244 |
*
|
1245 |
* @since 1.1.0
|
|
|
|
|
|
|
|
|
|
|
1246 |
*
|
1247 |
-
* @return string
|
1248 |
*/
|
1249 |
public function tooltip( $tip = '', $return = false ) {
|
1250 |
-
if ( empty( $tip ) ) {
|
1251 |
-
return;
|
1252 |
-
}
|
1253 |
|
1254 |
if ( $return ) { ob_start(); }
|
|
|
|
|
1255 |
?>
|
1256 |
<div class="wpmui-tooltip-wrapper">
|
1257 |
<div class="wpmui-tooltip-info"><i class="wpmui-fa wpmui-fa-info-circle"></i></div>
|
1258 |
<div class="wpmui-tooltip">
|
1259 |
<div class="wpmui-tooltip-button">×</div>
|
1260 |
<div class="wpmui-tooltip-content">
|
1261 |
-
<?php
|
1262 |
</div>
|
1263 |
</div>
|
1264 |
-
</div>
|
1265 |
<?php
|
|
|
|
|
1266 |
if ( $return ) { return ob_get_clean(); }
|
1267 |
}
|
1268 |
|
4 |
*
|
5 |
* @since 1.1.0
|
6 |
*/
|
7 |
+
class TheLib_2_0_3_Html extends TheLib_2_0_3 {
|
8 |
|
9 |
/* Constants for default HTML input elements. */
|
10 |
const INPUT_TYPE_HIDDEN = 'hidden';
|
|
|
|
|
11 |
const INPUT_TYPE_TEXT_AREA = 'textarea';
|
12 |
const INPUT_TYPE_SELECT = 'select';
|
13 |
const INPUT_TYPE_RADIO = 'radio';
|
15 |
const INPUT_TYPE_BUTTON = 'button';
|
16 |
const INPUT_TYPE_CHECKBOX = 'checkbox';
|
17 |
const INPUT_TYPE_IMAGE = 'image';
|
18 |
+
// Different input types
|
19 |
+
const INPUT_TYPE_TEXT = 'text';
|
20 |
+
const INPUT_TYPE_PASSWORD = 'password';
|
21 |
+
const INPUT_TYPE_NUMBER = 'number';
|
22 |
+
const INPUT_TYPE_EMAIL = 'email';
|
23 |
+
const INPUT_TYPE_URL = 'url';
|
24 |
+
const INPUT_TYPE_TIME = 'time';
|
25 |
+
const INPUT_TYPE_SEARCH = 'search';
|
26 |
const INPUT_TYPE_FILE = 'file';
|
27 |
|
28 |
/* Constants for advanced HTML input elements. */
|
62 |
* Displays a WordPress like message to the user. The message is generated
|
63 |
* via Javascript after the page is fully loaded.
|
64 |
*
|
65 |
+
* Should only be used in the Admin-Side
|
66 |
+
*
|
67 |
* @since 1.1.0
|
68 |
+
* @api
|
69 |
*
|
70 |
* @param string $text Contents of the message.
|
71 |
* @return Reference to $this for chaining.
|
72 |
*/
|
73 |
public function message( $text, $type = 'ok', $id = 'msg_ok', $close = true ) {
|
74 |
+
self::$core->ui->add( 'core' );
|
75 |
|
76 |
$data = array(
|
77 |
'message' => $text,
|
101 |
* Displays a WordPress pointer on the current admin screen.
|
102 |
*
|
103 |
* @since 1.1.0
|
104 |
+
* @api
|
105 |
*
|
106 |
+
* @param array|string $pointer_id Internal ID of the pointer, make sure it is unique!
|
107 |
+
* Optionally this param can contain all params in array notation.
|
108 |
* @param string $html_el HTML element to point to (e.g. '#menu-appearance')
|
109 |
* @param string $title The title of the pointer.
|
110 |
* @param string $body Text of the pointer.
|
111 |
+
*
|
112 |
+
* @return TheLib_Html Reference to $this for chaining.
|
113 |
*/
|
114 |
+
public function pointer( $args, $html_el = '', $title = false, $body = '' ) {
|
115 |
if ( ! is_admin() ) {
|
116 |
return;
|
117 |
}
|
118 |
|
119 |
+
if ( is_array( $args ) ) {
|
120 |
+
if ( isset( $args['target'] ) && ! isset( $args['html_el'] ) ) {
|
121 |
+
$args['html_el'] = $args['target'];
|
122 |
+
}
|
123 |
+
if ( isset( $args['id'] ) && ! isset( $args['pointer_id'] ) ) {
|
124 |
+
$args['pointer_id'] = $args['id'];
|
125 |
+
}
|
126 |
+
if ( isset( $args['modal'] ) && ! isset( $args['blur'] ) ) {
|
127 |
+
$args['blur'] = $args['modal'];
|
128 |
+
}
|
129 |
+
if ( ! isset( $args['once'] ) ) {
|
130 |
+
$args['once'] = true;
|
131 |
+
}
|
132 |
+
|
133 |
+
self::$core->array->equip( $args, 'pointer_id', 'html_el', 'title', 'body', 'once', 'modal', 'blur' );
|
134 |
+
|
135 |
+
extract( $args );
|
136 |
+
} else {
|
137 |
+
$pointer_id = $args;
|
138 |
+
$once = true;
|
139 |
+
$modal = true;
|
140 |
+
$blur = true;
|
141 |
+
}
|
142 |
+
|
143 |
+
$once = self::$core->is_true( $once );
|
144 |
+
$modal = self::$core->is_true( $modal );
|
145 |
+
$blur = self::$core->is_true( $blur );
|
146 |
+
|
147 |
+
$this->_add( 'init_pointer', compact( 'pointer_id', 'html_el', 'title', 'body', 'once', 'modal', 'blur' ) );
|
148 |
+
$this->add_action( 'init', '_init_pointer' );
|
149 |
|
150 |
return $this;
|
151 |
}
|
154 |
* Action handler for plugins_loaded. This decides if the pointer will be displayed.
|
155 |
*
|
156 |
* @since 1.0.2
|
157 |
+
* @internal
|
|
|
158 |
*/
|
159 |
public function _init_pointer() {
|
160 |
$items = $this->_get( 'init_pointer' );
|
161 |
foreach ( $items as $item ) {
|
162 |
+
extract( $item ); // pointer_id, html_el, title, body, once, modal, blur
|
163 |
+
$show = true;
|
164 |
+
|
165 |
+
if ( $once ) {
|
166 |
+
// Find out which pointer IDs this user has already seen.
|
167 |
+
$seen = (string) get_user_meta(
|
168 |
+
get_current_user_id(),
|
169 |
+
'dismissed_wp_pointers',
|
170 |
+
true
|
171 |
+
);
|
172 |
+
$seen_list = explode( ',', $seen );
|
173 |
+
$show = ! in_array( $pointer_id, $seen_list );
|
174 |
+
} else {
|
175 |
+
$show = true;
|
176 |
+
}
|
177 |
|
178 |
+
// Include all scripts and code to display the pointer!
|
179 |
+
if ( $show ) {
|
180 |
+
$this->add_action( 'admin_print_footer_scripts', '_pointer_print_scripts' );
|
181 |
+
$this->add_action( 'admin_enqueue_scripts', '_enqueue_pointer' );
|
|
|
|
|
|
|
182 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
183 |
$this->_add( 'pointer', $item );
|
184 |
}
|
185 |
}
|
186 |
}
|
187 |
|
188 |
/**
|
189 |
+
* Enqueue wp-pointer
|
190 |
*
|
191 |
* @since 1.0.1
|
192 |
+
* @internal
|
|
|
193 |
*/
|
194 |
public function _enqueue_pointer() {
|
195 |
// Load the JS/CSS for WP Pointers
|
198 |
}
|
199 |
|
200 |
/**
|
201 |
+
* Action hook for admin footer scripts
|
202 |
*
|
203 |
* @since 1.0.1
|
204 |
+
* @internal
|
|
|
205 |
*/
|
206 |
public function _pointer_print_scripts() {
|
207 |
$items = $this->_get( 'pointer' );
|
208 |
foreach ( $items as $item ) {
|
209 |
+
extract( $item ); // pointer_id, html_el, title, body, once, modal, blur
|
210 |
include $this->_view_path( 'pointer.php' );
|
211 |
}
|
212 |
}
|
213 |
|
214 |
|
215 |
+
/*===========================*\
|
216 |
+
===============================
|
217 |
+
== ==
|
218 |
+
== POPUP ==
|
219 |
+
== ==
|
220 |
+
===============================
|
221 |
+
\*===========================*/
|
222 |
+
|
223 |
+
|
224 |
+
/**
|
225 |
+
* Display a wpmUi popup on page load.
|
226 |
+
*
|
227 |
+
* @since 1.1.0
|
228 |
+
* @api
|
229 |
+
*
|
230 |
+
* @param array $args Popup options.
|
231 |
+
* @return Reference to $this for chaining.
|
232 |
+
*/
|
233 |
+
public function popup( $args = array() ) {
|
234 |
+
// Determine which hook should print the data.
|
235 |
+
$hook = ( is_admin() ? 'admin_footer' : 'wp_footer' );
|
236 |
+
|
237 |
+
self::$core->array->equip( $args, 'title', 'body', 'screen', 'modal', 'width', 'height', 'class' );
|
238 |
+
|
239 |
+
// Don't add empty popups
|
240 |
+
if ( empty( $args['title'] ) && empty( $args['body'] ) ) {
|
241 |
+
return;
|
242 |
+
}
|
243 |
+
if ( ! isset( $args['close'] ) ) {
|
244 |
+
$args['close'] = true;
|
245 |
+
}
|
246 |
+
if ( ! isset( $args['sticky'] ) ) {
|
247 |
+
$args['sticky'] = false;
|
248 |
+
}
|
249 |
+
|
250 |
+
$args['width'] = absint( $args['width'] );
|
251 |
+
$args['height'] = absint( $args['height'] );
|
252 |
+
|
253 |
+
if ( $args['width'] < 20 ) {
|
254 |
+
$args['width'] = '';
|
255 |
+
}
|
256 |
+
if ( $args['height'] < 20 ) {
|
257 |
+
$args['height'] = '';
|
258 |
+
}
|
259 |
+
|
260 |
+
$args['modal'] = $args['modal'] ? 'true' : 'false';
|
261 |
+
$args['persist'] = $args['sticky'] ? 'false' : 'true';
|
262 |
+
$args['close'] = $args['close'] ? 'true' : 'false';
|
263 |
+
|
264 |
+
self::_add( 'popup', $args );
|
265 |
+
$this->add_action( $hook, '_popup_callback' );
|
266 |
+
self::$core->ui->add( 'core' );
|
267 |
+
|
268 |
+
return $this;
|
269 |
+
}
|
270 |
+
|
271 |
+
/**
|
272 |
+
* Add popup code to the page footer
|
273 |
+
*
|
274 |
+
* @since 1.1.3
|
275 |
+
* @internal
|
276 |
+
*/
|
277 |
+
public function _popup_callback() {
|
278 |
+
$items = self::_get( 'popup' );
|
279 |
+
self::_clear( 'popup' );
|
280 |
+
$screen_info = get_current_screen();
|
281 |
+
$screen_id = $screen_info->id;
|
282 |
+
|
283 |
+
foreach ( $items as $item ) {
|
284 |
+
extract( $item ); // title, body, modal, close, modal, persist, width, height, class
|
285 |
+
|
286 |
+
if ( empty( $title ) ) {
|
287 |
+
$close = false;
|
288 |
+
}
|
289 |
+
|
290 |
+
if ( empty( $screen ) || $screen_id == $screen ) {
|
291 |
+
$body = '<div>' . $body . '</div>';
|
292 |
+
echo '<script>jQuery(function(){wpmUi.popup()';
|
293 |
+
printf( '.title( %1$s, %2$s )', json_encode( $title ), $close );
|
294 |
+
printf( '.modal( %1$s, %2$s )', $modal, $persist );
|
295 |
+
printf( '.size( %1$s, %2$s )', json_encode( $width ), json_encode( $height ) );
|
296 |
+
printf( '.set_class( %1$s )', json_encode( $class ) );
|
297 |
+
printf( '.content( %1$s )', json_encode( $body ) );
|
298 |
+
echo '.show();})</script>';
|
299 |
+
}
|
300 |
+
}
|
301 |
+
}
|
302 |
+
|
303 |
+
|
304 |
/*=================================*\
|
305 |
=====================================
|
306 |
== ==
|
318 |
* javascript.
|
319 |
*
|
320 |
* @since 1.1
|
321 |
+
* @api
|
322 |
*
|
323 |
* @param array $items {
|
324 |
* List of all items to include. Each item has these properties:
|
341 |
* @var string $key
|
342 |
* @var string $label
|
343 |
* }
|
344 |
+
*
|
345 |
* @return Reference to $this for chaining.
|
346 |
*/
|
347 |
public function plugin_list( $items, $lang, $filters ) {
|
348 |
+
self::$core->ui->add( 'card_list' );
|
349 |
include $this->_view_path( 'list.php' );
|
350 |
return $this;
|
351 |
}
|
367 |
* Use constants to specify field type. e.g. self::INPUT_TYPE_TEXT
|
368 |
*
|
369 |
* @since 1.1.0
|
370 |
+
* @api
|
371 |
+
*
|
372 |
+
* @param array|string $field_args {
|
373 |
+
* If this param is a string then the string is output.
|
374 |
+
* Otherwise an array is expected that defines the output
|
375 |
+
* field.
|
376 |
+
*
|
377 |
+
* $type string Field type. {@see const definitions}
|
378 |
+
* $id string Field ID (html attribute)
|
379 |
+
* $class string Field class (html attribute)
|
380 |
+
* $value string Field value (html attribute)
|
381 |
+
*
|
382 |
+
* $title string Field label/caption to display.
|
383 |
+
* $desc string Description.
|
384 |
+
* $before string Text before the input element.
|
385 |
+
* $after string Text after the input element.
|
386 |
+
*
|
387 |
+
* (more attributes available)
|
388 |
+
* }
|
389 |
+
* @param bool $return Optional. If true the element is returned by
|
390 |
+
* function. Default: false (direct echo the HTML)
|
391 |
*
|
392 |
* @return void|string If $return param is false the HTML will be echo'ed,
|
393 |
+
* otherwise returned as string (default is echo)
|
394 |
*/
|
395 |
public function element( $field_args, $return = false ) {
|
396 |
+
self::$core->ui->add( 'html_element' );
|
397 |
|
398 |
if ( is_string( $field_args ) ) {
|
399 |
if ( $return ) {
|
416 |
'value' => '',
|
417 |
'type' => 'text',
|
418 |
'class' => '',
|
419 |
+
'label_class' => '',
|
420 |
'maxlength' => '',
|
421 |
'equalTo' => '',
|
422 |
'field_options' => array(),
|
428 |
'data_placeholder' => '',
|
429 |
'ajax_data' => '',
|
430 |
'data_ms' => '', // alias for "ajax_data"
|
431 |
+
'data' => array(),
|
432 |
'label_type' => 'label',
|
433 |
+
'sticky' => false, // populate $value from $_REQUEST struct
|
434 |
+
'config' => array(), // other, element-specific configurations
|
435 |
+
'wrapper_class' => '', // class added to the outermost element wrapper
|
436 |
// Specific for type 'button', 'submit':
|
437 |
'button_value' => '',
|
438 |
'button_type' => '', // for display [empty/'submit'/'button']
|
475 |
}
|
476 |
|
477 |
if ( ! empty( $ajax_data ) ) {
|
478 |
+
if ( ! empty( $ajax_data['action'] )
|
479 |
+
&& ( empty( $ajax_data['_wpnonce'] )
|
480 |
+
|| true === $ajax_data['_wpnonce']
|
481 |
+
)
|
482 |
+
) {
|
483 |
$ajax_data['_wpnonce'] = wp_create_nonce( $ajax_data['action'] );
|
484 |
}
|
485 |
|
490 |
$read_only = empty( $read_only ) ? '' : 'readonly="readonly" ';
|
491 |
$multiple = empty( $multiple ) ? '' : 'multiple="multiple" ';
|
492 |
|
493 |
+
$data_attr = '';
|
494 |
+
foreach ( $data as $data_key => $data_value ) {
|
495 |
+
$data_attr .= 'data-' . $data_key . '=' . json_encode( $data_value ) . ' ';
|
496 |
+
}
|
497 |
+
|
498 |
if ( ! empty( $ajax_data ) ) {
|
499 |
$class .= ' wpmui-ajax-update';
|
500 |
}
|
501 |
|
502 |
+
if ( $sticky ) {
|
503 |
+
$sticky_key = $name;
|
504 |
+
if ( '[]' == substr( $sticky_key, -2 ) ) {
|
505 |
+
$sticky_key = substr( $sticky_key, 0, -2 );
|
506 |
+
}
|
507 |
+
|
508 |
+
if ( isset( $_POST[$sticky_key] ) ) {
|
509 |
+
$value = $_POST[$sticky_key];
|
510 |
+
} elseif ( isset( $_GET[$sticky_key] ) ) {
|
511 |
+
$value = $_GET[$sticky_key];
|
512 |
+
}
|
513 |
+
}
|
514 |
+
|
515 |
+
$field_options = self::$core->array->get( $field_options );
|
516 |
+
|
517 |
$labels = (object) array(
|
518 |
'title' => $title,
|
519 |
'desc' => $desc,
|
522 |
'tooltip' => $tooltip,
|
523 |
'tooltip_code' => $this->tooltip( $tooltip, true ),
|
524 |
'id' => $id,
|
525 |
+
'class' => $label_class,
|
526 |
'label_type' => $label_type,
|
527 |
);
|
528 |
|
|
|
529 |
// Capture to output buffer
|
530 |
if ( $return ) { ob_start(); }
|
531 |
|
534 |
$this->element_hidden(
|
535 |
$id,
|
536 |
$name,
|
537 |
+
$value,
|
538 |
+
$class
|
539 |
);
|
540 |
break;
|
541 |
|
542 |
case self::INPUT_TYPE_TEXT:
|
543 |
case self::INPUT_TYPE_PASSWORD:
|
544 |
+
case self::INPUT_TYPE_NUMBER:
|
545 |
+
case self::INPUT_TYPE_EMAIL:
|
546 |
+
case self::INPUT_TYPE_URL:
|
547 |
+
case self::INPUT_TYPE_TIME:
|
548 |
+
case self::INPUT_TYPE_SEARCH:
|
549 |
case self::INPUT_TYPE_FILE:
|
550 |
+
$attr = array();
|
551 |
+
foreach ( $config as $conf_key => $conf_value ) {
|
552 |
+
$attr[] = $conf_key . '="' . esc_attr( $conf_value ) . '"';
|
553 |
+
}
|
554 |
+
|
555 |
$this->element_input(
|
556 |
$labels,
|
557 |
$type,
|
559 |
$id,
|
560 |
$name,
|
561 |
$value,
|
562 |
+
$read_only . $max_attr . $attr_placeholder . $ajax_data . $data_attr . implode( ' ', $attr ),
|
563 |
+
$wrapper_class
|
564 |
);
|
565 |
break;
|
566 |
|
571 |
$id,
|
572 |
$name,
|
573 |
$value,
|
574 |
+
$max_attr . $attr_placeholder . $ajax_data . $data_attr,
|
575 |
+
$wrapper_class
|
576 |
);
|
577 |
break;
|
578 |
|
583 |
$id,
|
584 |
$name,
|
585 |
$value,
|
586 |
+
$read_only . $attr_placeholder . $ajax_data . $data_attr,
|
587 |
+
$wrapper_class
|
588 |
);
|
589 |
break;
|
590 |
|
595 |
$id,
|
596 |
$name,
|
597 |
$value,
|
598 |
+
$multiple . $read_only . $attr_data_placeholder . $ajax_data . $data_attr,
|
599 |
+
$field_options,
|
600 |
+
$wrapper_class
|
601 |
);
|
602 |
break;
|
603 |
|
609 |
$name,
|
610 |
$value,
|
611 |
$ajax_data,
|
612 |
+
$field_options,
|
613 |
+
$wrapper_class
|
614 |
);
|
615 |
break;
|
616 |
|
621 |
$id,
|
622 |
$name,
|
623 |
$value,
|
624 |
+
$ajax_data . $data_attr,
|
625 |
+
$field_options,
|
626 |
+
$config
|
627 |
);
|
628 |
break;
|
629 |
|
646 |
$class .= ' wpmui-submit button-primary';
|
647 |
}
|
648 |
|
|
|
649 |
$this->element_button(
|
650 |
$labels,
|
651 |
$type,
|
654 |
$name,
|
655 |
$value,
|
656 |
$button_value,
|
657 |
+
$ajax_data . $data_attr
|
658 |
);
|
659 |
break;
|
660 |
|
666 |
$name,
|
667 |
$value,
|
668 |
$alt,
|
669 |
+
$ajax_data . $data_attr
|
670 |
);
|
671 |
break;
|
672 |
|
679 |
$value,
|
680 |
$url,
|
681 |
$read_only,
|
682 |
+
$ajax_data . $data_attr,
|
683 |
+
$field_options,
|
684 |
+
$wrapper_class
|
685 |
);
|
686 |
break;
|
687 |
|
693 |
$name,
|
694 |
$value,
|
695 |
$field_options,
|
696 |
+
$multiple . $read_only . $attr_data_placeholder . $data_attr,
|
697 |
$ajax_data,
|
698 |
$empty_text,
|
699 |
$button_text,
|
700 |
+
$title_selected,
|
701 |
+
$wrapper_class
|
702 |
);
|
703 |
break;
|
704 |
|
709 |
$id,
|
710 |
$name,
|
711 |
$value,
|
712 |
+
$multiple . $read_only . $attr_data_placeholder . $ajax_data . $data_attr,
|
713 |
+
$field_options,
|
714 |
+
$wrapper_class
|
715 |
);
|
716 |
break;
|
717 |
|
722 |
$id,
|
723 |
$value,
|
724 |
$url,
|
725 |
+
$ajax_data . $data_attr,
|
726 |
$target
|
727 |
);
|
728 |
break;
|
739 |
$class,
|
740 |
$id,
|
741 |
$value,
|
742 |
+
'span',
|
743 |
+
$wrapper_class
|
744 |
);
|
745 |
break;
|
746 |
|
750 |
$class,
|
751 |
$id,
|
752 |
$value,
|
753 |
+
$field_options,
|
754 |
+
$wrapper_class
|
755 |
);
|
756 |
break;
|
757 |
}
|
765 |
* Helper function used by `html_element`
|
766 |
*
|
767 |
* @since 1.1.0
|
768 |
+
* @internal
|
769 |
*/
|
770 |
+
private function element_hidden( $id, $name, $value, $class ) {
|
771 |
printf(
|
772 |
+
'<input class="wpmui-field-input wpmui-hidden %4$s" type="hidden" id="%1$s" name="%2$s" value="%3$s" />',
|
773 |
esc_attr( $id ),
|
774 |
esc_attr( $name ),
|
775 |
+
esc_attr( $value ),
|
776 |
+
esc_attr( $class )
|
777 |
);
|
778 |
}
|
779 |
|
781 |
* Helper function used by `html_element`
|
782 |
*
|
783 |
* @since 1.1.0
|
784 |
+
* @internal
|
785 |
*/
|
786 |
+
private function element_input( $labels, $type, $class, $id, $name, $value, $attr, $wrapper_class ) {
|
787 |
+
$this->wrap_open( 'input', $class, 'span', $wrapper_class );
|
788 |
$this->element_label( $labels );
|
789 |
|
790 |
printf(
|
798 |
);
|
799 |
|
800 |
$this->element_hint( $labels );
|
801 |
+
$this->wrap_close();
|
802 |
}
|
803 |
|
804 |
/**
|
805 |
* Helper function used by `html_element`
|
806 |
*
|
807 |
* @since 1.1.0
|
808 |
+
* @internal
|
809 |
*/
|
810 |
+
private function element_datepicker( $labels, $class, $id, $name, $value, $attr, $wrapper_class ) {
|
811 |
+
$this->wrap_open( 'datepicker', $class, 'span', $wrapper_class );
|
812 |
$this->element_label( $labels );
|
813 |
|
814 |
+
if ( ! empty( $value ) ) {
|
815 |
+
if ( ! preg_match( '/\d\d\d\d-\d\d-\d\d/', $value ) ) {
|
816 |
+
$value = date( 'Y-m-d', strtotime( $value ) );
|
817 |
+
}
|
818 |
+
}
|
819 |
+
|
820 |
printf(
|
821 |
+
'<span class="wpmui-field-input"><input class="wpmui-datepicker %1$s" type="text" id="%2$s" name="%3$s" value="%4$s" %5$s /><i class="wpmui-icon wpmui-fa wpmui-fa-calendar"></i></span>',
|
822 |
esc_attr( $class ),
|
823 |
esc_attr( $id ),
|
824 |
esc_attr( $name ),
|
827 |
);
|
828 |
|
829 |
$this->element_hint( $labels );
|
830 |
+
$this->wrap_close();
|
831 |
}
|
832 |
|
833 |
/**
|
834 |
* Helper function used by `html_element`
|
835 |
*
|
836 |
* @since 1.1.0
|
837 |
+
* @internal
|
838 |
*/
|
839 |
+
private function element_textarea( $labels, $class, $id, $name, $value, $attr, $wrapper_class ) {
|
840 |
+
$this->wrap_open( 'textarea', $class, 'span', $wrapper_class );
|
841 |
$this->element_label( $labels );
|
842 |
|
843 |
printf(
|
850 |
);
|
851 |
|
852 |
$this->element_hint( $labels );
|
853 |
+
$this->wrap_close();
|
854 |
}
|
855 |
|
856 |
/**
|
857 |
* Helper function used by `html_element`
|
858 |
*
|
859 |
* @since 1.1.0
|
860 |
+
* @internal
|
861 |
*/
|
862 |
+
private function element_select( $labels, $class, $id, $name, $value, $attr, $field_options, $wrapper_class ) {
|
863 |
$options = $this->select_options( $field_options, $value );
|
864 |
|
865 |
+
$this->wrap_open( 'select', $class, 'span', $wrapper_class );
|
866 |
$this->element_label( $labels );
|
867 |
|
868 |
printf(
|
875 |
);
|
876 |
|
877 |
$this->element_hint( $labels );
|
878 |
+
$this->wrap_close();
|
879 |
}
|
880 |
|
881 |
/**
|
882 |
* Helper function used by `html_element`
|
883 |
*
|
884 |
* @since 1.1.0
|
885 |
+
* @internal
|
886 |
*/
|
887 |
+
private function element_radio( $labels, $class, $id, $name, $value, $attr, $field_options, $wrapper_class ) {
|
888 |
+
$this->wrap_open( 'radio', $class, 'span', $wrapper_class );
|
|
|
|
|
|
|
|
|
889 |
$this->element_label( $labels );
|
890 |
|
891 |
foreach ( $field_options as $key => $option ) {
|
892 |
if ( is_array( $option ) ) {
|
893 |
+
self::$core->array->equip( $option, 'text', 'desc', 'disabled' );
|
894 |
$item_text = $option['text'];
|
895 |
$item_desc = $option['desc'];
|
896 |
+
$item_disabled = self::$core->is_true( $option['disabled'] );
|
897 |
+
} else {
|
898 |
$item_text = $option;
|
899 |
$item_desc = '';
|
900 |
+
$item_disabled = false;
|
901 |
}
|
902 |
|
903 |
$checked = checked( $value, $key, false );
|
904 |
+
$item_attr = $attr;
|
905 |
+
$item_class = $class;
|
906 |
+
if ( $item_disabled ) {
|
907 |
+
$item_attr .= ' disabled="disabled"';
|
908 |
+
$item_class .= ' disabled';
|
909 |
+
}
|
910 |
$radio_desc = '';
|
911 |
|
912 |
if ( ! empty( $item_desc ) ) {
|
915 |
|
916 |
printf(
|
917 |
'<div class="wpmui-radio-input-wrapper %1$s wpmui-%2$s"><label class="wpmui-field-label" for="%4$s_%2$s"><input class="wpmui-field-input wpmui-radio %1$s" type="radio" name="%3$s" id="%4$s_%2$s" value="%2$s" %5$s /><span class="wpmui-radio-caption">%6$s</span>%7$s</label></div>',
|
918 |
+
esc_attr( $item_class ),
|
919 |
esc_attr( $key ),
|
920 |
esc_attr( $name ),
|
921 |
esc_attr( $id ),
|
922 |
+
$item_attr . $checked,
|
923 |
$item_text,
|
924 |
$radio_desc
|
925 |
);
|
926 |
}
|
927 |
|
928 |
$this->element_hint( $labels );
|
929 |
+
$this->wrap_close();
|
930 |
}
|
931 |
|
932 |
/**
|
933 |
* Helper function used by `html_element`
|
934 |
*
|
935 |
* @since 1.1.0
|
936 |
+
* @internal
|
937 |
*/
|
938 |
+
private function element_checkbox( $labels, $class, $id, $name, $value, $attr, $itemlist, $options ) {
|
|
|
|
|
939 |
$item_desc = '';
|
940 |
if ( ! empty( $labels->desc ) ) {
|
941 |
$item_desc = sprintf( '<div class="wpmui-field-description"><p>%1$s</p></div>', $labels->desc );
|
942 |
}
|
943 |
+
$listitems = array();
|
944 |
|
945 |
+
if ( ! empty( $itemlist ) ) {
|
946 |
+
// Multiple items in the checkbox list.
|
947 |
+
printf(
|
948 |
+
'<div class="wpmui-checkbox-title">%1$s %2$s</div><div class="wpmui-checkbox-list wpmui-field-input">%3$s',
|
|
|
|
|
949 |
$labels->title,
|
950 |
+
$labels->tooltip,
|
951 |
+
$item_desc
|
952 |
+
);
|
953 |
+
$item_desc = '';
|
954 |
+
|
955 |
+
if ( ! is_array( $value ) ) {
|
956 |
+
$value = array( $value );
|
957 |
+
}
|
958 |
+
|
959 |
+
foreach ( $itemlist as $key => $item ) {
|
960 |
+
$tmp_items = array();
|
961 |
+
if ( is_array( $item ) ) {
|
962 |
+
$tmp_items[] = array(
|
963 |
+
'name' => false,
|
964 |
+
'label' => $key,
|
965 |
+
'value' => false,
|
966 |
+
'parent' => true,
|
967 |
+
);
|
968 |
+
foreach ( $item as $sub_key => $sub_item ) {
|
969 |
+
$tmp_items[] = array(
|
970 |
+
'name' => $name . '[]',
|
971 |
+
'label' => $sub_item,
|
972 |
+
'value' => $sub_key,
|
973 |
+
'child' => true,
|
974 |
+
);
|
975 |
+
}
|
976 |
+
} else {
|
977 |
+
$tmp_items[] = array(
|
978 |
+
'name' => $name . '[]',
|
979 |
+
'label' => $item,
|
980 |
+
'value' => $key,
|
981 |
+
);
|
982 |
+
}
|
983 |
+
|
984 |
+
foreach ( $tmp_items as $tmp_item ) {
|
985 |
+
$item_label = sprintf(
|
986 |
+
'<div class="wpmui-checkbox-caption">%1$s</div>',
|
987 |
+
$tmp_item['label']
|
988 |
+
);
|
989 |
+
|
990 |
+
$tmp_item['label'] = $item_label;
|
991 |
+
$tmp_item['checked'] = checked( in_array( $tmp_item['value'], $value ), true, false );
|
992 |
+
$tmp_item['child'] = empty( $tmp_item['child'] ) ? false : true;
|
993 |
+
$tmp_item['parent'] = empty( $tmp_item['parent'] ) ? false : true;
|
994 |
+
|
995 |
+
$listitems[] = $tmp_item;
|
996 |
+
}
|
997 |
+
}
|
998 |
+
} else {
|
999 |
+
// Single checkbox item.
|
1000 |
+
$item_label = '';
|
1001 |
+
if ( empty( $options['checkbox_position'] )
|
1002 |
+
|| 'left' === $options['checkbox_position']
|
1003 |
+
) {
|
1004 |
+
$item_label = sprintf(
|
1005 |
+
'<div class="wpmui-checkbox-caption">%1$s %2$s</div>',
|
1006 |
+
$labels->title,
|
1007 |
+
$labels->tooltip
|
1008 |
+
);
|
1009 |
+
}
|
1010 |
+
|
1011 |
+
$listitems[] = array(
|
1012 |
+
'name' => $name,
|
1013 |
+
'label' => $item_label,
|
1014 |
+
'checked' => checked( $value, true, false ),
|
1015 |
+
'value' => 1,
|
1016 |
+
'child' => false,
|
1017 |
+
'parent' => false,
|
1018 |
);
|
1019 |
}
|
1020 |
|
1021 |
+
$is_group = false;
|
1022 |
+
foreach ( $listitems as $item ) {
|
1023 |
+
$item_class = $class;
|
1024 |
+
if ( $item['parent'] ) {
|
1025 |
+
$is_group = true;
|
1026 |
+
echo '<div class="wpmui-group">';
|
1027 |
+
$item_class .= ' wpmui-parent';
|
1028 |
+
} elseif ( $item['child'] ) {
|
1029 |
+
$is_group = true;
|
1030 |
+
$item_class .= ' wpmui-child';
|
1031 |
+
} elseif ( $is_group ) {
|
1032 |
+
echo '</div>';
|
1033 |
+
$is_group = false;
|
1034 |
+
}
|
1035 |
+
|
1036 |
+
if ( empty( $item['name'] ) ) {
|
1037 |
+
printf(
|
1038 |
+
'<label class="wpmui-checkbox-wrapper wpmui-field-label wpmui-no-checkbox %1$s">%2$s %3$s</label>',
|
1039 |
+
esc_attr( $item_class ),
|
1040 |
+
$item['label'],
|
1041 |
+
$item_desc
|
1042 |
+
);
|
1043 |
+
} else {
|
1044 |
+
printf(
|
1045 |
+
'<label class="wpmui-checkbox-wrapper wpmui-field-label %2$s"><input id="%1$s" class="wpmui-field-input wpmui-field-checkbox" type="checkbox" name="%3$s" value="%7$s" %4$s />%5$s %6$s</label>',
|
1046 |
+
esc_attr( $id ),
|
1047 |
+
esc_attr( $item_class ),
|
1048 |
+
esc_attr( $item['name'] ),
|
1049 |
+
$attr . $item['checked'],
|
1050 |
+
$item['label'],
|
1051 |
+
$item_desc,
|
1052 |
+
$item['value']
|
1053 |
+
);
|
1054 |
+
}
|
1055 |
+
}
|
1056 |
|
1057 |
$this->element_hint( $labels );
|
1058 |
+
|
1059 |
+
if ( ! empty( $itemlist ) ) {
|
1060 |
+
echo '</div>';
|
1061 |
+
}
|
1062 |
}
|
1063 |
|
1064 |
/**
|
1065 |
* Helper function used by `html_element`
|
1066 |
*
|
1067 |
* @since 1.1.0
|
1068 |
+
* @internal
|
1069 |
*/
|
1070 |
private function element_wp_editor( $labels, $id, $value, $options ) {
|
1071 |
$this->element_label( $labels );
|
1079 |
* Helper function used by `html_element`
|
1080 |
*
|
1081 |
* @since 1.1.0
|
1082 |
+
* @internal
|
1083 |
*/
|
1084 |
private function element_button( $labels, $type, $class, $id, $name, $label, $value, $attr ) {
|
1085 |
$this->element_label( $labels );
|
1102 |
* Helper function used by `html_element`
|
1103 |
*
|
1104 |
* @since 1.1.0
|
1105 |
+
* @internal
|
1106 |
*/
|
1107 |
private function element_image( $labels, $class, $id, $name, $value, $alt, $attr ) {
|
1108 |
$this->element_label( $labels );
|
1124 |
* Helper function used by `html_element`
|
1125 |
*
|
1126 |
* @since 1.1.0
|
1127 |
+
* @internal
|
1128 |
*/
|
1129 |
+
private function element_radioslider( $labels, $class, $id, $name, $state, $url, $read_only, $attr, $options, $wrapper_class ) {
|
1130 |
+
$options = self::$core->array->get( $options );
|
1131 |
if ( ! isset( $options['active'] ) ) { $options['active'] = true; }
|
1132 |
if ( ! isset( $options['inactive'] ) ) { $options['inactive'] = false; }
|
1133 |
|
1136 |
|
1137 |
$turned = ( $value ) ? 'on' : '';
|
1138 |
|
1139 |
+
$this->wrap_open( 'radio-slider', $class, 'span', $turned . ' ' . $wrapper_class );
|
|
|
|
|
|
|
|
|
1140 |
$this->element_label( $labels );
|
1141 |
|
1142 |
$attr .= ' data-states="' . esc_attr( json_encode( $options ) ) . '" ';
|
1153 |
}
|
1154 |
|
1155 |
printf(
|
1156 |
+
'<div class="wpmui-radio-slider %1$s wpmui-slider-%5$s %7$s" %6$s>%8$s<div class="wpmui-toggle" %2$s>%3$s</div>%4$s%9$s</div>',
|
1157 |
esc_attr( $turned ),
|
1158 |
$attr,
|
1159 |
$link_url,
|
1160 |
$attr_input,
|
1161 |
esc_attr( $id ),
|
1162 |
$read_only,
|
1163 |
+
esc_attr( $class ),
|
1164 |
+
'<span class="before"></span>',
|
1165 |
+
'<span class="after"></span>'
|
1166 |
);
|
1167 |
|
1168 |
$this->element_hint( $labels );
|
1169 |
+
$this->wrap_close();
|
1170 |
}
|
1171 |
|
1172 |
/**
|
1173 |
* Helper function used by `html_element`
|
1174 |
*
|
1175 |
* @since 1.1.0
|
1176 |
+
* @internal
|
1177 |
*/
|
1178 |
+
private function element_tagselect( $labels, $class, $id, $name, $value, $field_options, $attr, $ajax_data, $empty_text, $button_text, $title_selected, $wrapper_class ) {
|
1179 |
$labels->id = '_src_' . $id;
|
1180 |
|
1181 |
+
$this->wrap_open( 'tag-selector', $class, 'span', $wrapper_class );
|
1182 |
$this->element_label( $labels );
|
1183 |
|
1184 |
$options_selected = '';
|
1226 |
$label_tag->id = $id;
|
1227 |
$label_tag->tooltip = '';
|
1228 |
$label_tag->tooltip_code = '';
|
1229 |
+
$label_tag->class .= ' wpmui-tag-label';
|
1230 |
$this->element_label( $label_tag );
|
1231 |
|
1232 |
// Second Select: The actual tag-list
|
1241 |
}
|
1242 |
|
1243 |
$this->element_hint( $labels );
|
1244 |
+
$this->wrap_close();
|
1245 |
}
|
1246 |
|
1247 |
/**
|
1248 |
* Helper function used by `html_element`
|
1249 |
*
|
1250 |
* @since 1.1.0
|
1251 |
+
* @internal
|
1252 |
*/
|
1253 |
+
private function element_wp_pages( $labels, $class, $id, $name, $value, $attr, $field_options, $wrapper_class ) {
|
1254 |
$defaults = array(
|
1255 |
'hierarchical' => 1,
|
1256 |
'sort_column' => 'post_title',
|
1300 |
$name,
|
1301 |
$value,
|
1302 |
$attr,
|
1303 |
+
$items,
|
1304 |
+
$wrapper_class
|
1305 |
);
|
1306 |
}
|
1307 |
|
|
|
1308 |
/**
|
1309 |
* Helper function used by `html_element`
|
1310 |
*
|
1311 |
* @since 1.1.0
|
1312 |
+
* @internal
|
1313 |
*/
|
1314 |
private function element_separator( $type = 'horizontal' ) {
|
1315 |
if ( 'v' === $type[0] ) {
|
1323 |
* Helper function used by `html_element`
|
1324 |
*
|
1325 |
* @since 1.1.0
|
1326 |
+
* @internal
|
1327 |
*/
|
1328 |
private function element_link( $labels, $class, $id, $label, $url, $attr, $target ) {
|
1329 |
$this->element_desc( $labels );
|
1352 |
* Helper function used by `html_element`
|
1353 |
*
|
1354 |
* @since 1.1.0
|
1355 |
+
* @internal
|
1356 |
*/
|
1357 |
+
private function element_wrapper( $labels, $class, $id, $code, $wrap, $wrapper_class ) {
|
1358 |
if ( empty( $wrap ) ) { $wrap = 'span'; }
|
1359 |
|
1360 |
+
$this->wrap_open( 'html-text', $class, 'span', $wrapper_class );
|
1361 |
$this->element_label( $labels );
|
1362 |
|
1363 |
printf(
|
1368 |
);
|
1369 |
|
1370 |
$this->element_hint( $labels );
|
1371 |
+
$this->wrap_close();
|
1372 |
}
|
1373 |
|
1374 |
/**
|
1375 |
* Helper function used by `html_element`
|
1376 |
*
|
1377 |
* @since 1.1.0
|
1378 |
+
* @internal
|
1379 |
*/
|
1380 |
+
private function element_table( $labels, $class, $id, $rows, $args, $wrapper_class ) {
|
1381 |
+
self::$core->array->equip( $args, 'head_row', 'head_col', 'col_class' );
|
1382 |
|
1383 |
+
$this->wrap_open( 'table', $class, 'span', $wrapper_class );
|
1384 |
$this->element_label( $labels );
|
1385 |
|
1386 |
$code_body = '';
|
1387 |
$code_head = '';
|
1388 |
|
1389 |
if ( is_array( $rows ) ) {
|
1390 |
+
$args['col_class'] = self::$core->array->get( $args['col_class'] );
|
1391 |
|
1392 |
foreach ( $rows as $row_num => $row ) {
|
1393 |
$code_row = '';
|
1440 |
}
|
1441 |
|
1442 |
$this->element_hint( $labels );
|
1443 |
+
$this->wrap_close();
|
1444 |
}
|
1445 |
|
1446 |
/**
|
1447 |
* Returns HTML code containing options used to build a select tag.
|
1448 |
*
|
1449 |
* @since 1.1.0
|
1450 |
+
* @internal
|
1451 |
+
*
|
1452 |
* @param array $list List items as 'key => value' pairs.
|
1453 |
* @param array|string $value The selected value.
|
1454 |
* @param string $type Either 'default' or 'taglist'.
|
1457 |
*/
|
1458 |
private function select_options( $list, $value = '', $type = 'default' ) {
|
1459 |
$options = '';
|
1460 |
+
$list = self::$core->array->get( $list );
|
1461 |
|
1462 |
foreach ( $list as $key => $option ) {
|
1463 |
if ( is_array( $option ) ) {
|
1468 |
$this->select_options( $option, $value, $type )
|
1469 |
);
|
1470 |
} else {
|
1471 |
+
$attr = '';
|
1472 |
+
if ( is_object( $option ) ) {
|
1473 |
+
if ( isset( $option->attr ) ) { $attr = $option->attr; }
|
1474 |
+
if ( isset( $option->label ) ) { $option = $option->label; }
|
1475 |
}
|
1476 |
+
if ( empty( $option ) ) { continue; }
|
1477 |
+
|
1478 |
+
if ( is_array( $value ) ) {
|
1479 |
+
$is_selected = ( in_array( $key, $value ) );
|
1480 |
+
} else {
|
1481 |
$is_selected = $key == $value;
|
1482 |
}
|
1483 |
|
1484 |
switch ( $type ) {
|
1485 |
case 'default':
|
1486 |
+
$attr .= selected( $is_selected, true, false );
|
1487 |
$options .= sprintf(
|
1488 |
'<option value="%1$s" %2$s>%3$s</option>',
|
1489 |
esc_attr( $key ),
|
1493 |
break;
|
1494 |
|
1495 |
case 'taglist':
|
1496 |
+
$attr .= ($is_selected ? 'disabled="disabled"' : '');
|
1497 |
$options .= sprintf(
|
1498 |
'<option value="%1$s" %2$s>%3$s</option>',
|
1499 |
esc_attr( $key ),
|
1508 |
return $options;
|
1509 |
}
|
1510 |
|
1511 |
+
/**
|
1512 |
+
* Output the opening tag of an input wrapper.
|
1513 |
+
*
|
1514 |
+
* @since 2.0.0
|
1515 |
+
* @internal
|
1516 |
+
*
|
1517 |
+
* @param string $type Wrapper type, class is set to 'wpmui-$type-wrapper'.
|
1518 |
+
* @param string $classes String or array containing additional classes.
|
1519 |
+
* All classes are extended with '-wrapper'.
|
1520 |
+
* @param string $tag Optional. The tag name, default 'span'
|
1521 |
+
* @param string $raw_classes String or array containing additional classes.
|
1522 |
+
* These classes are not modified, but output as they appear.
|
1523 |
+
*/
|
1524 |
+
private function wrap_open( $type, $classes = '', $tag = 'span', $raw_classes = '' ) {
|
1525 |
+
if ( is_string( $classes ) ) {
|
1526 |
+
$classes = explode( ' ', $classes );
|
1527 |
+
}
|
1528 |
+
|
1529 |
+
if ( count( $classes ) ) {
|
1530 |
+
$classes = array_filter( array_map( 'trim', $classes ) );
|
1531 |
+
$classes = array_map( 'strtolower', $classes );
|
1532 |
+
$extra_classes = implode( '-wrapper ', $classes );
|
1533 |
+
if ( ! empty( $extra_classes ) ) { $extra_classes .= '-wrapper'; }
|
1534 |
+
} else {
|
1535 |
+
$extra_classes = '';
|
1536 |
+
}
|
1537 |
+
|
1538 |
+
if ( ! empty( $raw_classes ) ) {
|
1539 |
+
if ( is_array( $raw_classes ) ) {
|
1540 |
+
$extra_classes .= implode( ' ', $raw_classes );
|
1541 |
+
} else {
|
1542 |
+
$extra_classes .= ' ' . $raw_classes;
|
1543 |
+
}
|
1544 |
+
}
|
1545 |
+
$extra_classes = trim( $extra_classes );
|
1546 |
+
|
1547 |
+
printf(
|
1548 |
+
'<%1$s class="wpmui-wrapper wpmui-%2$s-wrapper %3$s">',
|
1549 |
+
$tag,
|
1550 |
+
$type,
|
1551 |
+
$extra_classes
|
1552 |
+
);
|
1553 |
+
}
|
1554 |
+
|
1555 |
+
/**
|
1556 |
+
* Output the closing tag of an input wrapper.
|
1557 |
+
*
|
1558 |
+
* @since 2.0.0
|
1559 |
+
* @internal
|
1560 |
+
*
|
1561 |
+
* @param string $tag Optional. The tag name, default 'span'
|
1562 |
+
*/
|
1563 |
+
private function wrap_close( $tag = 'span' ) {
|
1564 |
+
printf( '</%1$s>', $tag );
|
1565 |
+
}
|
1566 |
+
|
1567 |
/**
|
1568 |
* Helper function used by `html_element`
|
1569 |
*
|
1570 |
* @since 1.1.0
|
1571 |
+
* @internal
|
1572 |
*/
|
1573 |
private function element_label( $labels ) {
|
1574 |
if ( ! empty( $labels->title ) ) {
|
1589 |
* Helper function used by `html_element`
|
1590 |
*
|
1591 |
* @since 1.1.0
|
1592 |
+
* @internal
|
1593 |
*/
|
1594 |
private function element_desc( $labels ) {
|
1595 |
if ( ! empty( $labels->desc ) ) {
|
1596 |
printf(
|
1597 |
+
'<label class="wpmui-field-description %2$s" for="%3$s">%1$s</label >',
|
1598 |
$labels->desc,
|
1599 |
+
esc_attr( 'wpmui-description-' . $labels->id . ' ' . $labels->class ),
|
1600 |
+
esc_attr( $labels->id )
|
1601 |
);
|
1602 |
}
|
1603 |
|
1613 |
* Helper function used by `html_element`
|
1614 |
*
|
1615 |
* @since 1.1.0
|
1616 |
+
* @internal
|
1617 |
*/
|
1618 |
private function element_hint( $labels ) {
|
1619 |
if ( ! empty( $labels->after ) ) {
|
1632 |
* Method for outputting tooltips.
|
1633 |
*
|
1634 |
* @since 1.1.0
|
1635 |
+
* @api
|
1636 |
+
*
|
1637 |
+
* @param string $tip The tooltip to display.
|
1638 |
+
* @param bool $return Optional. If true then the HTML code is returned as
|
1639 |
+
* function return value. Otherwise echo'ed.
|
1640 |
*
|
1641 |
+
* @return string|void Depending on param $return either nothing or HTML code.
|
1642 |
*/
|
1643 |
public function tooltip( $tip = '', $return = false ) {
|
1644 |
+
if ( empty( $tip ) ) { return; }
|
|
|
|
|
1645 |
|
1646 |
if ( $return ) { ob_start(); }
|
1647 |
+
|
1648 |
+
$this->wrap_open( 'tooltip', '', 'div' );
|
1649 |
?>
|
1650 |
<div class="wpmui-tooltip-wrapper">
|
1651 |
<div class="wpmui-tooltip-info"><i class="wpmui-fa wpmui-fa-info-circle"></i></div>
|
1652 |
<div class="wpmui-tooltip">
|
1653 |
<div class="wpmui-tooltip-button">×</div>
|
1654 |
<div class="wpmui-tooltip-content">
|
1655 |
+
<?php echo '' . $tip; ?>
|
1656 |
</div>
|
1657 |
</div>
|
|
|
1658 |
<?php
|
1659 |
+
$this->wrap_close( 'div' );
|
1660 |
+
|
1661 |
if ( $return ) { return ob_get_clean(); }
|
1662 |
}
|
1663 |
|
inc/external/wpmu-lib/inc/class-thelib-net.php
ADDED
@@ -0,0 +1,210 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* The Net component.
|
4 |
+
* Access via function `lib2()->net`.
|
5 |
+
*
|
6 |
+
* @since 2.0.0
|
7 |
+
*/
|
8 |
+
class TheLib_2_0_3_Net extends TheLib_2_0_3 {
|
9 |
+
|
10 |
+
/**
|
11 |
+
* Returns the current URL.
|
12 |
+
* This URL is not guaranteed to look exactly same as the user sees it.
|
13 |
+
* E.g. Hashtags are missing ("index.php#section-a")
|
14 |
+
*
|
15 |
+
* @since 1.0.7
|
16 |
+
* @api
|
17 |
+
*
|
18 |
+
* @param string $protocol Optional. Define URL protocol ('http', 'https')
|
19 |
+
* @return string Full URL to current page.
|
20 |
+
*/
|
21 |
+
public function current_url( $protocol = null ) {
|
22 |
+
static $Url = array();
|
23 |
+
|
24 |
+
if ( null !== $protocol ) {
|
25 |
+
// Remove the "://" part, if it was provided
|
26 |
+
$protocol = array_shift( explode( ':', $protocol ) );
|
27 |
+
}
|
28 |
+
|
29 |
+
if ( ! isset( $Url[$protocol] ) ) {
|
30 |
+
if ( null === $protocol ) {
|
31 |
+
$cur_url = 'http';
|
32 |
+
|
33 |
+
if ( isset( $_SERVER['HTTPS'] )
|
34 |
+
&& 'on' == strtolower( $_SERVER['HTTPS'] )
|
35 |
+
) {
|
36 |
+
$cur_url .= 's';
|
37 |
+
}
|
38 |
+
} else {
|
39 |
+
$cur_url = $protocol;
|
40 |
+
}
|
41 |
+
|
42 |
+
$is_ssl = 'https' === $cur_url;
|
43 |
+
$cur_url .= '://';
|
44 |
+
|
45 |
+
if ( isset( $_SERVER['SERVER_NAME'] ) ) {
|
46 |
+
$cur_url .= $_SERVER['SERVER_NAME'];
|
47 |
+
} elseif ( defined( 'WP_TESTS_DOMAIN' ) ) {
|
48 |
+
$cur_url .= WP_TESTS_DOMAIN;
|
49 |
+
}
|
50 |
+
|
51 |
+
if ( ! isset( $_SERVER['SERVER_PORT'] ) ) {
|
52 |
+
if ( $is_ssl ) { $_SERVER['SERVER_PORT'] = '443'; }
|
53 |
+
else { $_SERVER['SERVER_PORT'] = '80'; }
|
54 |
+
}
|
55 |
+
|
56 |
+
if ( ( ! $is_ssl && '80' != $_SERVER['SERVER_PORT'] ) ||
|
57 |
+
( $is_ssl && '443' != $_SERVER['SERVER_PORT'] )
|
58 |
+
) {
|
59 |
+
$cur_url .= ':' . $_SERVER['SERVER_PORT'];
|
60 |
+
}
|
61 |
+
|
62 |
+
if ( empty( $_SERVER['REQUEST_URI'] ) ) {
|
63 |
+
$cur_url = trailingslashit( $cur_url );
|
64 |
+
} else {
|
65 |
+
$cur_url .= $_SERVER['REQUEST_URI'];
|
66 |
+
}
|
67 |
+
|
68 |
+
$Url[$protocol] = $cur_url;
|
69 |
+
}
|
70 |
+
|
71 |
+
return $Url[$protocol];
|
72 |
+
}
|
73 |
+
|
74 |
+
/**
|
75 |
+
* Changes a relative URL to an absolute URL.
|
76 |
+
* This function uses WordPress `home_url()` to expand a relative URL.
|
77 |
+
*
|
78 |
+
* @uses home_url()
|
79 |
+
*
|
80 |
+
* @since 2.0.0
|
81 |
+
* @api
|
82 |
+
*
|
83 |
+
* @param string $url An URL that can be absolute or relative.
|
84 |
+
* @return string The absolute URL.
|
85 |
+
*/
|
86 |
+
public function expand_url( $url ) {
|
87 |
+
if ( false === strpos( $url, '://' ) ) {
|
88 |
+
$url = home_url( $url );
|
89 |
+
}
|
90 |
+
|
91 |
+
return $url;
|
92 |
+
}
|
93 |
+
|
94 |
+
/**
|
95 |
+
* Retrieves the best guess of the client's actual IP address.
|
96 |
+
* Takes into account numerous HTTP proxy headers due to variations
|
97 |
+
* in how different ISPs handle IP addresses in headers between hops.
|
98 |
+
*
|
99 |
+
* @since 1.1.3
|
100 |
+
* @api
|
101 |
+
*
|
102 |
+
* @return object {
|
103 |
+
* IP Address details
|
104 |
+
*
|
105 |
+
* @type string $ip The users IP address (might be spoofed, if $proxy is true)
|
106 |
+
* @type bool $proxy True, if a proxy was detected
|
107 |
+
* @type string $proxy_id The proxy-server IP address
|
108 |
+
* }
|
109 |
+
*/
|
110 |
+
public function current_ip() {
|
111 |
+
$result = (object) array(
|
112 |
+
'ip' => $_SERVER['REMOTE_ADDR'],
|
113 |
+
'proxy' => false,
|
114 |
+
'proxy_ip' => '',
|
115 |
+
);
|
116 |
+
|
117 |
+
/*
|
118 |
+
* This code tries to bypass a proxy and get the actual IP address of
|
119 |
+
* the visitor behind the proxy.
|
120 |
+
* Warning: These values might be spoofed!
|
121 |
+
*/
|
122 |
+
$ip_fields = array(
|
123 |
+
'HTTP_CLIENT_IP',
|
124 |
+
'HTTP_X_FORWARDED_FOR',
|
125 |
+
'HTTP_X_FORWARDED',
|
126 |
+
'HTTP_X_CLUSTER_CLIENT_IP',
|
127 |
+
'HTTP_FORWARDED_FOR',
|
128 |
+
'HTTP_FORWARDED',
|
129 |
+
'REMOTE_ADDR',
|
130 |
+
);
|
131 |
+
$forwarded = false;
|
132 |
+
foreach ( $ip_fields as $key ) {
|
133 |
+
if ( true === array_key_exists( $key, $_SERVER ) ) {
|
134 |
+
foreach ( explode( ',', $_SERVER[$key] ) as $ip ) {
|
135 |
+
$ip = trim( $ip );
|
136 |
+
|
137 |
+
if ( false !== filter_var( $ip, FILTER_VALIDATE_IP, FILTER_FLAG_NO_PRIV_RANGE | FILTER_FLAG_NO_RES_RANGE ) ) {
|
138 |
+
$forwarded = $ip;
|
139 |
+
break 2;
|
140 |
+
}
|
141 |
+
}
|
142 |
+
}
|
143 |
+
}
|
144 |
+
|
145 |
+
// If we found a different IP address then REMOTE_ADDR then it's a proxy!
|
146 |
+
if ( ! empty( $forwarded ) && $forwarded != $result->ip ) {
|
147 |
+
$result->proxy = true;
|
148 |
+
$result->proxy_ip = $result->ip;
|
149 |
+
$result->ip = $forwarded;
|
150 |
+
}
|
151 |
+
|
152 |
+
return $result;
|
153 |
+
}
|
154 |
+
|
155 |
+
/**
|
156 |
+
* Starts a file download and terminates the current request.
|
157 |
+
* Note that this does not work inside Ajax requests!
|
158 |
+
*
|
159 |
+
* @since 1.1.0
|
160 |
+
* @api
|
161 |
+
*
|
162 |
+
* @param string $contents The file contents (text file).
|
163 |
+
* @param string $filename The file name.
|
164 |
+
*/
|
165 |
+
public function file_download( $contents, $filename ) {
|
166 |
+
// Send the download headers.
|
167 |
+
header( 'Pragma: public' );
|
168 |
+
header( 'Expires: 0' );
|
169 |
+
header( 'Cache-Control: must-revalidate, post-check=0, pre-check=0' );
|
170 |
+
header( 'Cache-Control: private', false ); // required for certain browsers
|
171 |
+
header( 'Content-type: application/json' );
|
172 |
+
header( 'Content-Disposition: attachment; filename="' . $filename . '"' );
|
173 |
+
header( 'Content-Transfer-Encoding: binary' );
|
174 |
+
header( 'Content-Length: ' . strlen( $contents ) );
|
175 |
+
|
176 |
+
// Finally send the export-file content.
|
177 |
+
echo '' . $contents;
|
178 |
+
|
179 |
+
exit;
|
180 |
+
}
|
181 |
+
|
182 |
+
/**
|
183 |
+
* Checks if the specified URL is publicly reachable.
|
184 |
+
*
|
185 |
+
* @since 1.1.0
|
186 |
+
* @api
|
187 |
+
*
|
188 |
+
* @param string $url The URL to check.
|
189 |
+
* @return bool If URL is online or not.
|
190 |
+
*/
|
191 |
+
public function is_online( $url ) {
|
192 |
+
static $Checked = array();
|
193 |
+
|
194 |
+
if ( ! isset( $Checked[$url] ) ) {
|
195 |
+
$check = 'http://www.isup.me/' . $url;
|
196 |
+
$res = wp_remote_get( $check, array( 'decompress' => false ) );
|
197 |
+
|
198 |
+
if ( is_wp_error( $res ) ) {
|
199 |
+
$state = false;
|
200 |
+
} else {
|
201 |
+
$state = ( false === stripos( $res['body'], 'not just you' ) );
|
202 |
+
}
|
203 |
+
|
204 |
+
$Checked[$url] = $state;
|
205 |
+
}
|
206 |
+
|
207 |
+
return $Checked[$url];
|
208 |
+
}
|
209 |
+
|
210 |
+
}
|
inc/external/wpmu-lib/inc/class-thelib-session.php
ADDED
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* The Session storage component.
|
4 |
+
* Access via function `lib2()->session`.
|
5 |
+
*
|
6 |
+
* @since 1.1.4
|
7 |
+
*/
|
8 |
+
class TheLib_2_0_3_Session extends TheLib_2_0_3 {
|
9 |
+
|
10 |
+
/**
|
11 |
+
* Adds a value to the data collection in the user session.
|
12 |
+
*
|
13 |
+
* @since 1.0.15
|
14 |
+
* @api
|
15 |
+
*
|
16 |
+
* @param string $key The key of the value.
|
17 |
+
* @param mixed $value Value to store.
|
18 |
+
*/
|
19 |
+
public function add( $key, $value ) {
|
20 |
+
self::_sess_add( 'store:' . $key, $value );
|
21 |
+
}
|
22 |
+
|
23 |
+
/**
|
24 |
+
* Returns the current data array of the specified value from user session.
|
25 |
+
*
|
26 |
+
* @since 1.0.15
|
27 |
+
* @api
|
28 |
+
*
|
29 |
+
* @param string $key The key of the value.
|
30 |
+
* @return array The value, or an empty array if no value was assigned yet.
|
31 |
+
*/
|
32 |
+
public function get( $key ) {
|
33 |
+
$vals = self::_sess_get( 'store:' . $key );
|
34 |
+
foreach ( $vals as $key => $val ) {
|
35 |
+
if ( null === $val ) { unset( $vals[ $key ] ); }
|
36 |
+
}
|
37 |
+
$vals = array_values( $vals );
|
38 |
+
return $vals;
|
39 |
+
}
|
40 |
+
|
41 |
+
/**
|
42 |
+
* Returns the current data array of the specified value from user session
|
43 |
+
* and then clears the values from the session.
|
44 |
+
*
|
45 |
+
* @since 1.0.15
|
46 |
+
* @api
|
47 |
+
*
|
48 |
+
* @param string $key The key of the value.
|
49 |
+
* @return array The value, or an empty array if no value was assigned yet.
|
50 |
+
*/
|
51 |
+
public function get_clear( $key ) {
|
52 |
+
$val = $this->get( $key );
|
53 |
+
self::_sess_clear( 'store:' . $key );
|
54 |
+
return $val;
|
55 |
+
}
|
56 |
+
|
57 |
+
};
|
inc/external/wpmu-lib/inc/class-thelib-ui.php
ADDED
@@ -0,0 +1,512 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* The UI component.
|
4 |
+
* Access via function `lib2()->ui`.
|
5 |
+
*
|
6 |
+
* @since 1.1.4
|
7 |
+
*/
|
8 |
+
class TheLib_2_0_3_Ui extends TheLib_2_0_3 {
|
9 |
+
|
10 |
+
/**
|
11 |
+
* Class constructor
|
12 |
+
*
|
13 |
+
* @since 1.0.0
|
14 |
+
* @internal
|
15 |
+
*/
|
16 |
+
public function __construct() {
|
17 |
+
parent::__construct();
|
18 |
+
|
19 |
+
// Check for persistent data from last request that needs to be processed.
|
20 |
+
$this->add_action(
|
21 |
+
'plugins_loaded',
|
22 |
+
'_check_admin_notices'
|
23 |
+
);
|
24 |
+
}
|
25 |
+
|
26 |
+
/**
|
27 |
+
* Enqueue core UI files (CSS/JS).
|
28 |
+
*
|
29 |
+
* Defined modules:
|
30 |
+
* - core
|
31 |
+
* - scrollbar
|
32 |
+
* - select
|
33 |
+
* - vnav
|
34 |
+
* - card-list
|
35 |
+
* - html-element
|
36 |
+
* - media
|
37 |
+
* - fontawesome
|
38 |
+
* - jquery-ui
|
39 |
+
*
|
40 |
+
* All undefined modules are assumed to be a valid CSS or JS file-name.
|
41 |
+
*
|
42 |
+
* @since 1.0.0
|
43 |
+
* @api
|
44 |
+
*
|
45 |
+
* @param string $modules The module to load.
|
46 |
+
* @param string $onpage A page hook; files will only be loaded on this page.
|
47 |
+
*/
|
48 |
+
public function add( $module = 'core', $onpage = 'all' ) {
|
49 |
+
switch ( $module ) {
|
50 |
+
case 'core':
|
51 |
+
$this->css( $this->_css_url( 'wpmu-ui.2.min.css' ), $onpage );
|
52 |
+
$this->js( $this->_js_url( 'wpmu-ui.2.min.js' ), $onpage );
|
53 |
+
break;
|
54 |
+
|
55 |
+
case 'scrollbar':
|
56 |
+
$this->js( $this->_js_url( 'tiny-scrollbar.2.min.js' ), $onpage );
|
57 |
+
break;
|
58 |
+
|
59 |
+
case 'select':
|
60 |
+
$this->css( $this->_css_url( 'select2.2.min.css' ), $onpage );
|
61 |
+
$this->js( $this->_js_url( 'select2.2.min.js' ), $onpage );
|
62 |
+
break;
|
63 |
+
|
64 |
+
case 'vnav':
|
65 |
+
$this->css( $this->_css_url( 'wpmu-vnav.2.min.css' ), $onpage );
|
66 |
+
$this->js( $this->_js_url( 'wpmu-vnav.2.min.js' ), $onpage );
|
67 |
+
break;
|
68 |
+
|
69 |
+
case 'card-list':
|
70 |
+
case 'card_list':
|
71 |
+
$this->css( $this->_css_url( 'wpmu-card-list.2.min.css' ), $onpage );
|
72 |
+
$this->js( $this->_js_url( 'wpmu-card-list.2.min.js' ), $onpage );
|
73 |
+
break;
|
74 |
+
|
75 |
+
case 'html-element':
|
76 |
+
case 'html_element':
|
77 |
+
$this->css( $this->_css_url( 'wpmu-html.2.min.css' ), $onpage );
|
78 |
+
break;
|
79 |
+
|
80 |
+
case 'media':
|
81 |
+
$this->js( 'wpmu:media', $onpage );
|
82 |
+
break;
|
83 |
+
|
84 |
+
case 'fontawesome':
|
85 |
+
$this->css( $this->_css_url( 'fontawesome.2.min.css' ), $onpage );
|
86 |
+
break;
|
87 |
+
|
88 |
+
case 'jquery-ui':
|
89 |
+
$this->js( 'jquery-ui-core', $onpage );
|
90 |
+
$this->js( 'jquery-ui-datepicker', $onpage );
|
91 |
+
$this->js( 'jquery-ui-draggable', $onpage );
|
92 |
+
$this->css( $this->_css_url( 'jquery-ui.wpmui.2.min.css' ), $onpage );
|
93 |
+
break;
|
94 |
+
|
95 |
+
default:
|
96 |
+
$ext = strrchr( $module, '.' );
|
97 |
+
|
98 |
+
if ( defined( 'WDEV_UNMINIFIED' ) && WDEV_UNMINIFIED ) {
|
99 |
+
$module = str_replace( '.min' . $ext, $ext, $module );
|
100 |
+
}
|
101 |
+
if ( '.css' === $ext ) {
|
102 |
+
$this->css( $module, $onpage, 20 );
|
103 |
+
} else if ( '.js' === $ext ) {
|
104 |
+
$this->js( $module, $onpage, 20 );
|
105 |
+
}
|
106 |
+
}
|
107 |
+
}
|
108 |
+
|
109 |
+
/**
|
110 |
+
* Adds a variable to javascript.
|
111 |
+
*
|
112 |
+
* @since 1.0.7
|
113 |
+
* @api
|
114 |
+
*
|
115 |
+
* @param string $name Name of the variable
|
116 |
+
* @param mixed $data Value of the variable
|
117 |
+
*/
|
118 |
+
public function data( $name, $data ) {
|
119 |
+
$this->_add( 'js_data_hook', true );
|
120 |
+
|
121 |
+
// Determine which hook should print the data.
|
122 |
+
$hook = ( is_admin() ? 'admin_footer' : 'wp_footer' );
|
123 |
+
|
124 |
+
// Enqueue the data for output with javascript sources.
|
125 |
+
$this->_add( 'js_data', array( $name, $data ) );
|
126 |
+
|
127 |
+
$this->add_action( $hook, '_print_script_data' );
|
128 |
+
}
|
129 |
+
|
130 |
+
/**
|
131 |
+
* Adds custom javascript to the page footer.
|
132 |
+
*
|
133 |
+
* @since 1.1.3
|
134 |
+
* @api
|
135 |
+
*
|
136 |
+
* @param string $jscript The javascript code.
|
137 |
+
*/
|
138 |
+
public function script( $jscript ) {
|
139 |
+
$this->_add( 'js_data_hook', true );
|
140 |
+
|
141 |
+
// Determine which hook should print the data.
|
142 |
+
$hook = ( is_admin() ? 'admin_footer' : 'wp_footer' );
|
143 |
+
|
144 |
+
// Enqueue the data for output with javascript sources.
|
145 |
+
$this->_add( 'js_script', $jscript );
|
146 |
+
|
147 |
+
$this->add_action( $hook, '_print_script_code' );
|
148 |
+
}
|
149 |
+
|
150 |
+
/**
|
151 |
+
* Enqueue a javascript file.
|
152 |
+
*
|
153 |
+
* @since 1.0.0
|
154 |
+
* @api
|
155 |
+
*
|
156 |
+
* @param string $url Full URL to the javascript file.
|
157 |
+
* @param string $onpage A page hook; files will only be loaded on this page.
|
158 |
+
* @param int $priority Loading order. The higher the number, the later it is loaded.
|
159 |
+
*/
|
160 |
+
public function js( $url, $onpage = 'all', $priority = 10 ) {
|
161 |
+
$this->_prepare_js_or_css( $url, 'js', $onpage, $priority );
|
162 |
+
}
|
163 |
+
|
164 |
+
/**
|
165 |
+
* Enqueue a css file.
|
166 |
+
*
|
167 |
+
* @since 1.0.0
|
168 |
+
* @api
|
169 |
+
*
|
170 |
+
* @param string $url Full URL to the css filename.
|
171 |
+
* @param string $onpage A page hook; files will only be loaded on this page.
|
172 |
+
* @param int $priority Loading order. The higher the number, the later it is loaded.
|
173 |
+
*/
|
174 |
+
public function css( $url, $onpage = 'all', $priority = 10 ) {
|
175 |
+
$this->_prepare_js_or_css( $url, 'css', $onpage, $priority );
|
176 |
+
}
|
177 |
+
|
178 |
+
/**
|
179 |
+
* Prepare to enqueue a javascript or css file.
|
180 |
+
*
|
181 |
+
* @since 1.0.7
|
182 |
+
* @internal
|
183 |
+
*
|
184 |
+
* @param string $url Full URL to the javascript/css file.
|
185 |
+
* @param string $type 'css' or 'js'
|
186 |
+
* @param string $onpage A page hook; files will only be loaded on this page.
|
187 |
+
* @param int $priority Loading order. The higher the number, the later it is loaded.
|
188 |
+
*/
|
189 |
+
protected function _prepare_js_or_css( $url, $type, $onpage, $priority ) {
|
190 |
+
$this->_add( 'js_or_css', compact( 'url', 'type', 'onpage', 'priority' ) );
|
191 |
+
|
192 |
+
$this->add_action( 'init', '_add_js_or_css' );
|
193 |
+
}
|
194 |
+
|
195 |
+
/**
|
196 |
+
* Returns the JS/CSS handle of the item.
|
197 |
+
* This is a private helper function used by array_map()
|
198 |
+
*
|
199 |
+
* @since 1.0.7
|
200 |
+
* @internal
|
201 |
+
*/
|
202 |
+
public function _get_script_handle( $item ) {
|
203 |
+
if ( ! property_exists( $item, 'handle' ) ) {
|
204 |
+
$item->handle = '';
|
205 |
+
}
|
206 |
+
|
207 |
+
return $item->handle;
|
208 |
+
}
|
209 |
+
|
210 |
+
/**
|
211 |
+
* Enqueues either a css or javascript file
|
212 |
+
*
|
213 |
+
* @since 1.0.0
|
214 |
+
* @internal
|
215 |
+
*/
|
216 |
+
public function _add_js_or_css() {
|
217 |
+
global $wp_styles, $wp_scripts;
|
218 |
+
|
219 |
+
$scripts = $this->_get( 'js_or_css' );
|
220 |
+
$this->_clear( 'js_or_css' );
|
221 |
+
|
222 |
+
// Prevent adding the same URL twice.
|
223 |
+
$done_urls = array();
|
224 |
+
|
225 |
+
foreach ( $scripts as $script ) {
|
226 |
+
extract( $script ); // url, type, onpage, priority
|
227 |
+
|
228 |
+
// Skip Front-End files in Admin Dashboard.
|
229 |
+
if ( 'front' === $onpage && is_admin() ) { continue; }
|
230 |
+
|
231 |
+
// Prevent adding the same URL twice.
|
232 |
+
if ( in_array( $url, $done_urls ) ) { continue; }
|
233 |
+
$done_urls[] = $url;
|
234 |
+
|
235 |
+
$type = ( 'css' === $type || 'style' === $type ? 'css' : 'js' );
|
236 |
+
|
237 |
+
// The $handle values are intentionally not cached:
|
238 |
+
// Any plugin/theme could add new handles at any moment...
|
239 |
+
$handles = array();
|
240 |
+
if ( 'css' == $type ) {
|
241 |
+
if ( ! is_a( $wp_styles, 'WP_Styles' ) ) {
|
242 |
+
$wp_styles = new WP_Styles();
|
243 |
+
}
|
244 |
+
$handles = array_values(
|
245 |
+
array_map(
|
246 |
+
array( $this, '_get_script_handle' ),
|
247 |
+
$wp_styles->registered
|
248 |
+
)
|
249 |
+
);
|
250 |
+
$type_callback = '_enqueue_style_callback';
|
251 |
+
} else {
|
252 |
+
if ( ! is_a( $wp_scripts, 'WP_Scripts' ) ) {
|
253 |
+
$wp_scripts = new WP_Scripts();
|
254 |
+
}
|
255 |
+
$handles = array_values(
|
256 |
+
array_map(
|
257 |
+
array( $this, '_get_script_handle' ),
|
258 |
+
$wp_scripts->registered
|
259 |
+
)
|
260 |
+
);
|
261 |
+
$type_callback = '_enqueue_script_callback';
|
262 |
+
}
|
263 |
+
|
264 |
+
if ( in_array( $url, $handles ) ) {
|
265 |
+
$alias = $url;
|
266 |
+
$url = '';
|
267 |
+
} else {
|
268 |
+
// Get the filename from the URL, then sanitize it and prefix "wpmu-"
|
269 |
+
$urlparts = explode( '?', $url, 2 );
|
270 |
+
$alias = 'wpmu-' . sanitize_title( basename( $urlparts[0] ) );
|
271 |
+
}
|
272 |
+
$onpage = empty( $onpage ) ? 'all' : $onpage;
|
273 |
+
|
274 |
+
if ( ! is_admin() ) {
|
275 |
+
$hook = 'wp_enqueue_scripts';
|
276 |
+
} else {
|
277 |
+
$hook = 'admin_enqueue_scripts';
|
278 |
+
}
|
279 |
+
|
280 |
+
$item = compact( 'url', 'alias', 'onpage' );
|
281 |
+
$this->_add( $type, $item );
|
282 |
+
|
283 |
+
$this->add_action( $hook, $type_callback, 100 + $priority );
|
284 |
+
}
|
285 |
+
}
|
286 |
+
|
287 |
+
/**
|
288 |
+
* Action hook for enqueue style (for PHP <5.3 only)
|
289 |
+
*
|
290 |
+
* @since 1.0.1
|
291 |
+
* @internal
|
292 |
+
*
|
293 |
+
* @param string $hook The current admin page that is rendered.
|
294 |
+
*/
|
295 |
+
public function _enqueue_style_callback( $hook = '' ) {
|
296 |
+
$items = $this->_get( 'css' );
|
297 |
+
|
298 |
+
if ( empty( $hook ) ) { $hook = 'front'; }
|
299 |
+
|
300 |
+
foreach ( $items as $item ) {
|
301 |
+
extract( $item ); // url, alias, onpage
|
302 |
+
|
303 |
+
if ( empty( $onpage ) ) { $onpage = 'all'; }
|
304 |
+
|
305 |
+
// onpage == 'all' will always load the script.
|
306 |
+
// otherwise onpage must match the enqueue-hook.
|
307 |
+
if ( 'all' == $onpage || $hook == $onpage ) {
|
308 |
+
if ( empty( $url ) ) {
|
309 |
+
wp_enqueue_style( $alias );
|
310 |
+
} else {
|
311 |
+
wp_enqueue_style( $alias, $url );
|
312 |
+
}
|
313 |
+
}
|
314 |
+
}
|
315 |
+
}
|
316 |
+
|
317 |
+
/**
|
318 |
+
* Action hook for enqueue script (for PHP <5.3 only)
|
319 |
+
*
|
320 |
+
* @since 1.0.1
|
321 |
+
* @internal
|
322 |
+
*
|
323 |
+
* @param string $hook The current admin page that is rendered.
|
324 |
+
*/
|
325 |
+
public function _enqueue_script_callback( $hook = '' ) {
|
326 |
+
$items = $this->_get( 'js' );
|
327 |
+
|
328 |
+
if ( empty( $hook ) ) { $hook = 'front'; }
|
329 |
+
|
330 |
+
foreach ( $items as $item ) {
|
331 |
+
extract( $item ); // url, alias, onpage
|
332 |
+
|
333 |
+
if ( empty( $onpage ) ) { $onpage = 'all'; }
|
334 |
+
|
335 |
+
// onpage == 'all' will always load the script.
|
336 |
+
// otherwise onpage must match the enqueue-hook.
|
337 |
+
if ( 'all' == $onpage || $hook == $onpage ) {
|
338 |
+
// Load the Media-library functions.
|
339 |
+
if ( 'wpmu:media' === $url ) {
|
340 |
+
wp_enqueue_media();
|
341 |
+
continue;
|
342 |
+
}
|
343 |
+
|
344 |
+
// Register script if it has an URL.
|
345 |
+
if ( ! empty( $url ) ) {
|
346 |
+
wp_register_script( $alias, $url, array( 'jquery' ), false, true );
|
347 |
+
}
|
348 |
+
|
349 |
+
// Enqueue the script for output in the page footer.
|
350 |
+
wp_enqueue_script( $alias );
|
351 |
+
}
|
352 |
+
}
|
353 |
+
}
|
354 |
+
|
355 |
+
/**
|
356 |
+
* Prints extra script data to the page.
|
357 |
+
*
|
358 |
+
* @action `wp_head`
|
359 |
+
* @since 1.1.1
|
360 |
+
* @internal
|
361 |
+
*/
|
362 |
+
public function _print_script_data() {
|
363 |
+
$data = $this->_get( 'js_data' );
|
364 |
+
$this->_clear( 'js_data' );
|
365 |
+
|
366 |
+
// Append javascript data to the script output.
|
367 |
+
if ( is_array( $data ) ) {
|
368 |
+
$collected = array();
|
369 |
+
|
370 |
+
foreach ( $data as $item ) {
|
371 |
+
if ( ! is_array( $item ) ) { continue; }
|
372 |
+
$key = sanitize_html_class( $item[0] );
|
373 |
+
$obj = array( 'window.' . $key => $item[1] );
|
374 |
+
$collected = self::$core->array->merge_recursive_distinct( $collected, $obj );
|
375 |
+
}
|
376 |
+
|
377 |
+
echo '<script>';
|
378 |
+
foreach ( $collected as $var => $value ) {
|
379 |
+
printf(
|
380 |
+
'%1$s = %2$s;',
|
381 |
+
$var,
|
382 |
+
json_encode( $value )
|
383 |
+
);
|
384 |
+
}
|
385 |
+
echo '</script>';
|
386 |
+
}
|
387 |
+
}
|
388 |
+
|
389 |
+
|
390 |
+
/**
|
391 |
+
* Prints extra javascript code to the page.
|
392 |
+
*
|
393 |
+
* @action `wp_foot`
|
394 |
+
* @since 1.1.3
|
395 |
+
* @internal
|
396 |
+
*/
|
397 |
+
public function _print_script_code() {
|
398 |
+
$data = $this->_get( 'js_script' );
|
399 |
+
$this->_clear( 'js_script' );
|
400 |
+
|
401 |
+
// Append javascript data to the script output.
|
402 |
+
if ( is_array( $data ) ) {
|
403 |
+
foreach ( $data as $item ) {
|
404 |
+
printf(
|
405 |
+
'<script>try { %1$s } catch( err ){ window.console.log(err.message); }</script>',
|
406 |
+
$item
|
407 |
+
);
|
408 |
+
}
|
409 |
+
}
|
410 |
+
}
|
411 |
+
|
412 |
+
/**
|
413 |
+
* Display an admin notice.
|
414 |
+
*
|
415 |
+
* @since 1.0.0
|
416 |
+
* @api
|
417 |
+
*
|
418 |
+
* @param string $text Text to display.
|
419 |
+
* @param string $class Message-type [updated|error]
|
420 |
+
* @param string $screen Limit message to this screen-ID
|
421 |
+
* @param string $id Message ID. Prevents adding duplicate messages.
|
422 |
+
*/
|
423 |
+
public function admin_message( $text, $class = '', $screen = '', $id = '' ) {
|
424 |
+
switch ( $class ) {
|
425 |
+
case 'red':
|
426 |
+
case 'err':
|
427 |
+
case 'error':
|
428 |
+
$class = 'error';
|
429 |
+
break;
|
430 |
+
|
431 |
+
case 'warning':
|
432 |
+
case 'orange':
|
433 |
+
$class = 'warning';
|
434 |
+
break;
|
435 |
+
|
436 |
+
case 'info':
|
437 |
+
case 'blue':
|
438 |
+
$class = 'info';
|
439 |
+
break;
|
440 |
+
|
441 |
+
default:
|
442 |
+
$class = 'updated';
|
443 |
+
break;
|
444 |
+
}
|
445 |
+
|
446 |
+
// Check if the message is already queued...
|
447 |
+
$items = self::_sess_get( 'admin_notice' );
|
448 |
+
foreach ( $items as $key => $data ) {
|
449 |
+
if (
|
450 |
+
$data['text'] == $text &&
|
451 |
+
$data['class'] == $class &&
|
452 |
+
$data['screen'] == $screen
|
453 |
+
) {
|
454 |
+
return; // Don't add duplicate message to queue.
|
455 |
+
}
|
456 |
+
|
457 |
+
/**
|
458 |
+
* `$id` prevents adding duplicate messages.
|
459 |
+
*
|
460 |
+
* @since 1.1.0
|
461 |
+
*/
|
462 |
+
if ( ! empty( $id ) && $data['id'] == $id ) {
|
463 |
+
return; // Don't add duplicate message to queue.
|
464 |
+
}
|
465 |
+
}
|
466 |
+
|
467 |
+
self::_sess_add( 'admin_notice', compact( 'text', 'class', 'screen', 'id' ) );
|
468 |
+
$this->add_action( 'admin_notices', '_admin_notice_callback', 1 );
|
469 |
+
$this->add_action( 'network_admin_notices', '_admin_notice_callback', 1 );
|
470 |
+
}
|
471 |
+
|
472 |
+
/**
|
473 |
+
* Action hook for admin notices (for PHP <5.3 only)
|
474 |
+
*
|
475 |
+
* @since 1.0.1
|
476 |
+
* @internal
|
477 |
+
*/
|
478 |
+
public function _admin_notice_callback() {
|
479 |
+
$items = self::_sess_get( 'admin_notice' );
|
480 |
+
self::_sess_clear( 'admin_notice' );
|
481 |
+
$screen_info = get_current_screen();
|
482 |
+
$screen_id = $screen_info->id;
|
483 |
+
|
484 |
+
foreach ( $items as $item ) {
|
485 |
+
extract( $item ); // text, class, screen, id
|
486 |
+
if ( empty( $screen ) || $screen_id == $screen ) {
|
487 |
+
printf(
|
488 |
+
'<div class="%1$s notice notice-%1$s is-dismissible %3$s"><p>%2$s</p><button type="button" class="notice-dismiss"><span class="screen-reader-text">%4$s</span></button></div>',
|
489 |
+
esc_attr( $class ),
|
490 |
+
$text,
|
491 |
+
esc_attr( $id ),
|
492 |
+
__( 'Dismiss this notice.' )
|
493 |
+
);
|
494 |
+
}
|
495 |
+
}
|
496 |
+
}
|
497 |
+
|
498 |
+
/**
|
499 |
+
* Checks the DB for persistent data from last request.
|
500 |
+
* If persistent data exists the appropriate hooks are set to process them.
|
501 |
+
*
|
502 |
+
* @since 1.0.7
|
503 |
+
* @internal
|
504 |
+
*/
|
505 |
+
public function _check_admin_notices() {
|
506 |
+
if ( self::_sess_have( 'admin_notice' ) ) {
|
507 |
+
$this->add_action( 'admin_notices', '_admin_notice_callback', 1 );
|
508 |
+
$this->add_action( 'network_admin_notices', '_admin_notice_callback', 1 );
|
509 |
+
}
|
510 |
+
}
|
511 |
+
|
512 |
+
};
|
inc/external/wpmu-lib/inc/class-thelib-updates.php
ADDED
@@ -0,0 +1,646 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* The Queued Update component.
|
4 |
+
*
|
5 |
+
* This component makes it saver to perform plugin updates via code, e.g. when
|
6 |
+
* database keys need to be changed when updating a plugin.
|
7 |
+
*
|
8 |
+
* First all updates are added to the update-queue and only when all updates are
|
9 |
+
* prepared the queue is executed! This decreases the risk of being stuck with
|
10 |
+
* an unknown database state when an error happens during the preparation.
|
11 |
+
*
|
12 |
+
* @since 1.1.4
|
13 |
+
* @example inc/class-thelib-updates.php 20 11 Demo workflow.
|
14 |
+
*/
|
15 |
+
class TheLib_2_0_3_Updates extends TheLib_2_0_3 {
|
16 |
+
/*
|
17 |
+
Example:
|
18 |
+
|
19 |
+
// make sure the queue is empty
|
20 |
+
lib2()->updates->clear();
|
21 |
+
|
22 |
+
// Enqueue some updates
|
23 |
+
lib2()->updates->add( 'update_post_meta', 123, 'key', 'new-value' );
|
24 |
+
$the_post = get_post( 123 );
|
25 |
+
$the_post['post_type'] = 'new_type';
|
26 |
+
lib2()->updates->add( 'update_post', $the_post );
|
27 |
+
|
28 |
+
// Execute the changes
|
29 |
+
lib2()->updates->execute();
|
30 |
+
*/
|
31 |
+
|
32 |
+
/**
|
33 |
+
* A list of all transaction commands that are queued up already
|
34 |
+
*
|
35 |
+
* @since 1.1.4
|
36 |
+
* @internal
|
37 |
+
*
|
38 |
+
* @type array
|
39 |
+
*/
|
40 |
+
protected $commands = array();
|
41 |
+
|
42 |
+
/**
|
43 |
+
* Holds the last error message if something goes wrong during execution.
|
44 |
+
*
|
45 |
+
* @since 1.1.4
|
46 |
+
* @internal
|
47 |
+
*
|
48 |
+
* @var Exception|false
|
49 |
+
*/
|
50 |
+
protected $error = false;
|
51 |
+
|
52 |
+
/**
|
53 |
+
* The plugin name. Used to log data in the uploads directory.
|
54 |
+
* @see write_to_file()
|
55 |
+
*
|
56 |
+
* @since 2.0.0
|
57 |
+
* @internal
|
58 |
+
*
|
59 |
+
* @type string
|
60 |
+
*/
|
61 |
+
protected $plugin = '';
|
62 |
+
|
63 |
+
/**
|
64 |
+
* Clears all commands from the transaction queue.
|
65 |
+
*
|
66 |
+
* This should always be used before starting an update to guarantee that
|
67 |
+
* we start at a known (= empty) state.
|
68 |
+
*
|
69 |
+
* @since 1.1.4
|
70 |
+
* @api
|
71 |
+
*/
|
72 |
+
public function clear() {
|
73 |
+
$this->commands = array();
|
74 |
+
$this->error = false;
|
75 |
+
}
|
76 |
+
|
77 |
+
/**
|
78 |
+
* Adds a command to the transaction queue.
|
79 |
+
*
|
80 |
+
* We use this workflow to first collect all update-statements before
|
81 |
+
* the first update is actually written to database.
|
82 |
+
* This way we have opportunity to parse all available data and not end
|
83 |
+
* with inconsistent data when there is an error somehwere during upgrading.
|
84 |
+
*
|
85 |
+
* @since 1.1.4
|
86 |
+
* @api
|
87 |
+
*
|
88 |
+
* @param callable $command The command to execute.
|
89 |
+
* @param mixed $args Optional. All params that come after $command will be
|
90 |
+
* passed as function parameters to that function.
|
91 |
+
*/
|
92 |
+
public function add( $command ) {
|
93 |
+
$this->commands[] = func_get_args();
|
94 |
+
}
|
95 |
+
|
96 |
+
/**
|
97 |
+
* Executes each command that is in the transaction queue.
|
98 |
+
*
|
99 |
+
* Each command that was executed without an error will be removed from the
|
100 |
+
* queue. All commands are executed in the same sequence as they were added.
|
101 |
+
*
|
102 |
+
* @since 1.1.4
|
103 |
+
* @api
|
104 |
+
*/
|
105 |
+
public function execute() {
|
106 |
+
$this->error = false;
|
107 |
+
|
108 |
+
foreach ( $this->commands as $key => $transaction ) {
|
109 |
+
$done = false;
|
110 |
+
$log_line = '';
|
111 |
+
|
112 |
+
if ( count( $transaction ) < 1 ) {
|
113 |
+
$done = false;
|
114 |
+
} elseif ( ! is_callable( $transaction[0] ) ) {
|
115 |
+
$done = false;
|
116 |
+
} else {
|
117 |
+
$func = array_shift( $transaction );
|
118 |
+
|
119 |
+
if ( is_array( $func ) ) {
|
120 |
+
if ( is_object( $func[0] ) ) {
|
121 |
+
$log_line = get_class( $func[0] ) . '->';
|
122 |
+
} elseif ( is_scalar( $func[0] ) ) {
|
123 |
+
$log_line = $func[0] . '::';
|
124 |
+
}
|
125 |
+
if ( is_scalar( $func[1] ) ) {
|
126 |
+
$log_line .= $func[1];
|
127 |
+
}
|
128 |
+
} else {
|
129 |
+
$log_line = $func;
|
130 |
+
}
|
131 |
+
$log_line .= '(' . json_encode( $transaction ) . ')';
|
132 |
+
|
133 |
+
try {
|
134 |
+
call_user_func_array( $func, $transaction );
|
135 |
+
$done = true;
|
136 |
+
} catch( Exception $ex ) {
|
137 |
+
$this->set_error( $ex, $func );
|
138 |
+
return false;
|
139 |
+
}
|
140 |
+
}
|
141 |
+
|
142 |
+
if ( $done ) {
|
143 |
+
$this->log_action( $log_line );
|
144 |
+
unset( $this->commands[$key] );
|
145 |
+
}
|
146 |
+
}
|
147 |
+
|
148 |
+
return true;
|
149 |
+
}
|
150 |
+
|
151 |
+
/**
|
152 |
+
* Saves error details if a command fails during execution.
|
153 |
+
* Only one error can be saved.
|
154 |
+
*
|
155 |
+
* @since 1.1.0
|
156 |
+
* @internal
|
157 |
+
*
|
158 |
+
* @param Exception $exception The error that was raised.
|
159 |
+
* @param array $command The command that was executed.
|
160 |
+
*/
|
161 |
+
protected function set_error( $exception, $command ) {
|
162 |
+
$this->error = $exception;
|
163 |
+
$this->error->command = $command;
|
164 |
+
}
|
165 |
+
|
166 |
+
/**
|
167 |
+
* Returns the last error and resets the error-flag.
|
168 |
+
*
|
169 |
+
* @since 1.1.4
|
170 |
+
* @api
|
171 |
+
*
|
172 |
+
* @return Exception|false The error object
|
173 |
+
*/
|
174 |
+
public function last_error() {
|
175 |
+
$error = $this->error;
|
176 |
+
$this->error = false;
|
177 |
+
|
178 |
+
return $error;
|
179 |
+
}
|
180 |
+
|
181 |
+
/**
|
182 |
+
* Debug function that will display the contents of the current queue.
|
183 |
+
*
|
184 |
+
* @since 1.1.4
|
185 |
+
*/
|
186 |
+
public function debug() {
|
187 |
+
self::$core->debug->dump( $this->commands );
|
188 |
+
}
|
189 |
+
|
190 |
+
/**
|
191 |
+
* Sets the plugin name (i.e. the sub-folder for the write_to_file function)
|
192 |
+
*
|
193 |
+
* @since 2.0.0
|
194 |
+
* @api
|
195 |
+
*
|
196 |
+
* @param string $name The plugin name, must be a valid folder name.
|
197 |
+
*/
|
198 |
+
public function plugin( $name ) {
|
199 |
+
$this->plugin = sanitize_html_class( $name );
|
200 |
+
}
|
201 |
+
|
202 |
+
/**
|
203 |
+
* Writes data to a file in the uploads directory.
|
204 |
+
*
|
205 |
+
* @since 2.0.0
|
206 |
+
* @internal
|
207 |
+
*
|
208 |
+
* @param string $name Snapshot name, used as file-name.
|
209 |
+
* @param string $ext File extension.
|
210 |
+
* @param string $data Data to write into the file.
|
211 |
+
* @param bool $silent_fail See $this->snapshot()
|
212 |
+
*
|
213 |
+
* @return string|false The filename that was created. False on failure.
|
214 |
+
*/
|
215 |
+
private function write_to_file( $file, $ext, $data, $silent_fail = false ) {
|
216 |
+
// Find the uploads-folder.
|
217 |
+
$upload = wp_upload_dir();
|
218 |
+
|
219 |
+
if ( false !== $upload['error'] ) {
|
220 |
+
return $this->write_file_failed(
|
221 |
+
$silent_fail,
|
222 |
+
1,
|
223 |
+
$upload['error']
|
224 |
+
);
|
225 |
+
}
|
226 |
+
|
227 |
+
// Create the Snapshot sub-folder.
|
228 |
+
if ( empty( $this->plugin ) ) {
|
229 |
+
$this->plugin( 'wpmudev' );
|
230 |
+
}
|
231 |
+
$target = trailingslashit( $upload['basedir'] ) . $this->plugin . '/';
|
232 |
+
|
233 |
+
if ( ! is_dir( $target ) ) {
|
234 |
+
mkdir( $target );
|
235 |
+
}
|
236 |
+
|
237 |
+
if ( ! is_dir( $target ) ) {
|
238 |
+
return $this->write_file_failed(
|
239 |
+
$silent_fail,
|
240 |
+
2,
|
241 |
+
'Could not create sub-directory ' . $target
|
242 |
+
);
|
243 |
+
}
|
244 |
+
|
245 |
+
// Create the empty snapshot file.
|
246 |
+
$filename = sanitize_html_class( $file );
|
247 |
+
$filename .= '-' . date( 'Ymd-His' );
|
248 |
+
$ext = '.' . $ext;
|
249 |
+
$i = '';
|
250 |
+
$sep = '';
|
251 |
+
|
252 |
+
while ( file_exists( $target . $filename . $sep . $i . $ext ) ) {
|
253 |
+
if ( empty( $i ) ) { $i = 1; }
|
254 |
+
else { $i += 1; }
|
255 |
+
$sep = '-';
|
256 |
+
}
|
257 |
+
$filename = $target . $filename . $sep . $i . $ext;
|
258 |
+
|
259 |
+
file_put_contents( $filename, '' );
|
260 |
+
|
261 |
+
if ( ! file_exists( $filename ) ) {
|
262 |
+
return $this->write_file_failed(
|
263 |
+
$silent_fail,
|
264 |
+
3,
|
265 |
+
'Could not create file ' . $filename
|
266 |
+
);
|
267 |
+
}
|
268 |
+
|
269 |
+
// Write data to file.
|
270 |
+
file_put_contents( $filename, $data );
|
271 |
+
|
272 |
+
return $filename;
|
273 |
+
}
|
274 |
+
|
275 |
+
/**
|
276 |
+
* Reads data from a file in the uploads directory.
|
277 |
+
*
|
278 |
+
* @since 2.0.0
|
279 |
+
* @internal
|
280 |
+
*
|
281 |
+
* @param string $name Snapshot name, used as file-name.
|
282 |
+
* @return string The file contents as string.
|
283 |
+
*/
|
284 |
+
private function read_from_file( $file ) {
|
285 |
+
// Find the uploads-folder.
|
286 |
+
$upload = wp_upload_dir();
|
287 |
+
|
288 |
+
if ( false !== $upload['error'] ) {
|
289 |
+
return '';
|
290 |
+
}
|
291 |
+
|
292 |
+
// Build the full file name.
|
293 |
+
if ( empty( $this->plugin ) ) {
|
294 |
+
$this->plugin( 'wpmudev' );
|
295 |
+
}
|
296 |
+
$target = trailingslashit( $upload['basedir'] ) . $this->plugin . '/';
|
297 |
+
|
298 |
+
if ( ! is_dir( $target ) ) {
|
299 |
+
return '';
|
300 |
+
}
|
301 |
+
|
302 |
+
$filename = $target . $file;
|
303 |
+
|
304 |
+
if ( ! is_file( $filename ) ) {
|
305 |
+
return '';
|
306 |
+
}
|
307 |
+
|
308 |
+
$data = file_get_contents( $filename );
|
309 |
+
|
310 |
+
return $data;
|
311 |
+
}
|
312 |
+
|
313 |
+
/**
|
314 |
+
* Returns a list with all backup files in the plugins upload folder.
|
315 |
+
*
|
316 |
+
* @since 2.0.0
|
317 |
+
* @api
|
318 |
+
*
|
319 |
+
* @param string $ext File extension to include. Empty means all files.
|
320 |
+
* Only specify extension, without the dot (e.g. 'txt')
|
321 |
+
* @return array List of filenames (only file name without path)
|
322 |
+
*/
|
323 |
+
public function list_files( $ext = '' ) {
|
324 |
+
$res = array();
|
325 |
+
|
326 |
+
// Find the uploads-folder.
|
327 |
+
$upload = wp_upload_dir();
|
328 |
+
|
329 |
+
if ( false !== $upload['error'] ) {
|
330 |
+
return $res;
|
331 |
+
}
|
332 |
+
|
333 |
+
// Build the full file name.
|
334 |
+
if ( empty( $this->plugin ) ) {
|
335 |
+
$this->plugin( 'wpmudev' );
|
336 |
+
}
|
337 |
+
$target = trailingslashit( $upload['basedir'] ) . $this->plugin . '/';
|
338 |
+
|
339 |
+
if ( ! is_dir( $target ) ) {
|
340 |
+
return $res;
|
341 |
+
}
|
342 |
+
|
343 |
+
if ( empty( $ext ) ) {
|
344 |
+
$ext = '*';
|
345 |
+
}
|
346 |
+
|
347 |
+
$pattern = $target . '*.' . $ext;
|
348 |
+
$res = glob( $pattern );
|
349 |
+
foreach ( $res as $key => $path ) {
|
350 |
+
$res[$key] = str_replace( $target, '', $path );
|
351 |
+
}
|
352 |
+
|
353 |
+
return $res;
|
354 |
+
}
|
355 |
+
|
356 |
+
/**
|
357 |
+
* Saves a snapshot of certain database values to the uploads directory.
|
358 |
+
*
|
359 |
+
* @since 2.0.0
|
360 |
+
* @api
|
361 |
+
*
|
362 |
+
* @param string $name Snapshot name, used as file-name.
|
363 |
+
* @param array $data_list {
|
364 |
+
* List of db-items to backup.
|
365 |
+
*
|
366 |
+
* @options .. array of option keys
|
367 |
+
* @posts .. array of post_ids
|
368 |
+
* }
|
369 |
+
* @param bool $silent_fail If set to false then failure will be silent.
|
370 |
+
* Otherwise the script will wp_die() on failure (default)
|
371 |
+
*/
|
372 |
+
public function log_action( $data, $silent_fail = false ) {
|
373 |
+
static $Logfile = null;
|
374 |
+
|
375 |
+
$data .= "\n-----\n";
|
376 |
+
if ( null === $Logfile ) {
|
377 |
+
$Logfile = $this->write_to_file( 'update_log', 'log', $data, $silent_fail );
|
378 |
+
} else {
|
379 |
+
file_put_contents( $Logfile, $data, FILE_APPEND );
|
380 |
+
}
|
381 |
+
}
|
382 |
+
|
383 |
+
/**
|
384 |
+
* Saves a snapshot of certain database values to the uploads directory.
|
385 |
+
*
|
386 |
+
* @since 2.0.0
|
387 |
+
* @api
|
388 |
+
*
|
389 |
+
* @param string $name Snapshot name, used as file-name.
|
390 |
+
* @param array $data_list {
|
391 |
+
* List of db-items to backup.
|
392 |
+
*
|
393 |
+
* @options .. array of option keys
|
394 |
+
* @posts .. array of post_ids
|
395 |
+
* }
|
396 |
+
* @param bool $silent_fail If set to false then failure will be silent.
|
397 |
+
* Otherwise the script will wp_die() on failure (default)
|
398 |
+
*/
|
399 |
+
public function snapshot( $name, $data_list, $silent_fail = false ) {
|
400 |
+
// Collect data from the DB that was specified by the user.
|
401 |
+
$data = $this->snapshot_collect( $data_list );
|
402 |
+
|
403 |
+
/*
|
404 |
+
* Data is serialized using json_encode.
|
405 |
+
* While is method is slightly slowe then phps `serialize` the output
|
406 |
+
* string is about 30% smaller, resulting in smaller backup files...
|
407 |
+
*
|
408 |
+
* http://techblog.procurios.nl/k/618/news/view/34972/14863/cache-a-large-array-json-serialize-or-var_export.html
|
409 |
+
*/
|
410 |
+
$data = json_encode( $data );
|
411 |
+
|
412 |
+
$this->write_to_file( $name, 'json', $data, $silent_fail );
|
413 |
+
}
|
414 |
+
|
415 |
+
/**
|
416 |
+
* Displays an error message (Snapshot failed) and then die()
|
417 |
+
*
|
418 |
+
* @since 2.0.0
|
419 |
+
* @internal
|
420 |
+
*
|
421 |
+
* @param bool $silent_fail See $this->snapshot()
|
422 |
+
* @param string $err_code An error-code to display.
|
423 |
+
* @param string $error The full error message.
|
424 |
+
*/
|
425 |
+
private function write_file_failed( $silent_fail, $err_code, $error = '' ) {
|
426 |
+
if ( $silent_fail ) { return false; }
|
427 |
+
|
428 |
+
$msg = '<b>Abborting update of Protected Content!</b> '.
|
429 |
+
'Could not create a restore-point [' . $err_code . ']<br />' .
|
430 |
+
$error;
|
431 |
+
wp_die( $msg );
|
432 |
+
}
|
433 |
+
|
434 |
+
/**
|
435 |
+
* Collects data from the current sites DB and returns a structured object.
|
436 |
+
*
|
437 |
+
* @since 2.0.0
|
438 |
+
* @internal
|
439 |
+
*
|
440 |
+
* @param array $data_list See $this->snapshot()
|
441 |
+
*/
|
442 |
+
private function snapshot_collect( $data_list ) {
|
443 |
+
$dump = (object) array();
|
444 |
+
|
445 |
+
// Options.
|
446 |
+
$dump->options = array();
|
447 |
+
if ( isset( $data_list->options )
|
448 |
+
&& is_array( $data_list->options )
|
449 |
+
) {
|
450 |
+
foreach ( $data_list->options as $option ) {
|
451 |
+
$dump->options[$option] = get_option( $option );
|
452 |
+
}
|
453 |
+
}
|
454 |
+
|
455 |
+
// Posts and Post-Meta
|
456 |
+
$dump->posts = array();
|
457 |
+
$dump->postmeta = array();
|
458 |
+
if ( isset( $data_list->posts )
|
459 |
+
&& is_array( $data_list->posts )
|
460 |
+
) {
|
461 |
+
foreach ( $data_list->posts as $id ) {
|
462 |
+
$post = get_post( $id );
|
463 |
+
$meta = get_post_meta( $id );
|
464 |
+
|
465 |
+
// Flatten the meta values.
|
466 |
+
foreach ( $meta as $key => $values ) {
|
467 |
+
if ( is_array( $values ) && isset( $values[0] ) ) {
|
468 |
+
$meta[ $key ] = $values[0];
|
469 |
+
}
|
470 |
+
}
|
471 |
+
|
472 |
+
// Append the data to the dump.
|
473 |
+
if ( ! isset( $dump->posts[$post->post_type] ) ) {
|
474 |
+
$dump->posts[$post->post_type] = array();
|
475 |
+
$dump->postmeta[$post->post_type] = array();
|
476 |
+
}
|
477 |
+
$dump->posts[$post->post_type][$post->ID] = $post;
|
478 |
+
$dump->postmeta[$post->post_type][$post->ID] = $meta;
|
479 |
+
}
|
480 |
+
}
|
481 |
+
|
482 |
+
return $dump;
|
483 |
+
}
|
484 |
+
|
485 |
+
/**
|
486 |
+
* Restores a saved snapshot.
|
487 |
+
*
|
488 |
+
* We're using a lot of SQL queries here to get as much performance as
|
489 |
+
* possible. Using functions like wp_set_option() takes much longer than
|
490 |
+
* a direct SQL query.
|
491 |
+
*
|
492 |
+
* @since 2.0.0
|
493 |
+
* @api
|
494 |
+
*
|
495 |
+
* @param string $snapshot Exact filename of the snapshot, including ext.
|
496 |
+
* @return bool True, if the restore-process was successful
|
497 |
+
*/
|
498 |
+
public function restore( $snapshot ) {
|
499 |
+
global $wpdb;
|
500 |
+
|
501 |
+
// Get the contents of the snapshot file.
|
502 |
+
$data = $this->read_from_file( $snapshot );
|
503 |
+
if ( empty( $data ) ) {
|
504 |
+
return false;
|
505 |
+
}
|
506 |
+
|
507 |
+
// Decode the snapshot data to an PHP object.
|
508 |
+
$data = json_decode( $data, true );
|
509 |
+
if ( empty( $data ) ) {
|
510 |
+
return false;
|
511 |
+
}
|
512 |
+
|
513 |
+
// The restore-process is handled as execution transaction.
|
514 |
+
$this->clear();
|
515 |
+
|
516 |
+
// Options
|
517 |
+
if ( ! empty( $data['options'] ) && is_array( $data['options'] ) ) {
|
518 |
+
$sql_delete = "DELETE FROM {$wpdb->options} WHERE option_name IN ";
|
519 |
+
$sql_idlist = array();
|
520 |
+
$sql_insert = "INSERT INTO {$wpdb->options} (option_name, option_value) VALUES ";
|
521 |
+
$sql_values = array();
|
522 |
+
|
523 |
+
foreach ( $data['options'] as $key => $value ) {
|
524 |
+
$sql_idlist[] = $wpdb->prepare( '%s', $key );
|
525 |
+
$sql_values[] = $wpdb->prepare( '(%s,%s)', $key, maybe_serialize( $value ) );
|
526 |
+
}
|
527 |
+
|
528 |
+
if ( ! empty( $sql_values ) ) {
|
529 |
+
$this->add( $sql_delete . '(' . implode( ',', $sql_idlist ) . ')' );
|
530 |
+
$this->add( $sql_insert . implode( ",\n", $sql_values ) );
|
531 |
+
}
|
532 |
+
}
|
533 |
+
|
534 |
+
// Posts
|
535 |
+
if ( ! empty( $data['posts'] ) && is_array( $data['posts'] ) ) {
|
536 |
+
foreach ( $data['posts'] as $posttype => $items ) {
|
537 |
+
$sql_delete_post = "DELETE FROM {$wpdb->posts} WHERE ID IN ";
|
538 |
+
$sql_delete_meta = "DELETE FROM {$wpdb->postmeta} WHERE post_id IN ";
|
539 |
+
$sql_idlist = array();
|
540 |
+
$sql_insert = "INSERT INTO {$wpdb->posts} (ID, post_author, post_date, post_date_gmt, post_content, post_title, post_excerpt, post_status, comment_status, ping_status, post_password, post_name, to_ping, pinged, post_modified, post_modified_gmt, post_content_filtered, post_parent, guid, menu_order, post_type, post_mime_type, comment_count) VALUES ";
|
541 |
+
$sql_values = array();
|
542 |
+
|
543 |
+
foreach ( $items as $id => $post ) {
|
544 |
+
self::$core->array->equip(
|
545 |
+
$post,
|
546 |
+
'post_author',
|
547 |
+
'post_date',
|
548 |
+
'post_date_gmt',
|
549 |
+
'post_content',
|
550 |
+
'post_title',
|
551 |
+
'post_excerpt',
|
552 |
+
'post_status',
|
553 |
+
'comment_status',
|
554 |
+
'ping_status',
|
555 |
+
'post_password',
|
556 |
+
'post_name',
|
557 |
+
'to_ping',
|
558 |
+
'pinged',
|
559 |
+
'post_modified',
|
560 |
+
'post_modified_gmt',
|
561 |
+
'post_content_filtered',
|
562 |
+
'post_parent',
|
563 |
+
'guid',
|
564 |
+
'menu_order',
|
565 |
+
'post_type',
|
566 |
+
'post_mime_type',
|
567 |
+
'comment_count'
|
568 |
+
);
|
569 |
+
$sql_idlist[] = $wpdb->prepare( '%s', $id );
|
570 |
+
$sql_values[] = $wpdb->prepare(
|
571 |
+
'(%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s)',
|
572 |
+
$id,
|
573 |
+
$post['post_author'],
|
574 |
+
$post['post_date'],
|
575 |
+
$post['post_date_gmt'],
|
576 |
+
$post['post_content'],
|
577 |
+
$post['post_title'],
|
578 |
+
$post['post_excerpt'],
|
579 |
+
$post['post_status'],
|
580 |
+
$post['comment_status'],
|
581 |
+
$post['ping_status'],
|
582 |
+
$post['post_password'],
|
583 |
+
$post['post_name'],
|
584 |
+
$post['to_ping'],
|
585 |
+
$post['pinged'],
|
586 |
+
$post['post_modified'],
|
587 |
+
$post['post_modified_gmt'],
|
588 |
+
$post['post_content_filtered'],
|
589 |
+
$post['post_parent'],
|
590 |
+
$post['guid'],
|
591 |
+
$post['menu_order'],
|
592 |
+
$post['post_type'],
|
593 |
+
$post['post_mime_type'],
|
594 |
+
$post['comment_count']
|
595 |
+
);
|
596 |
+
}
|
597 |
+
|
598 |
+
while ( ! empty( $sql_idlist ) ) {
|
599 |
+
$values = array();
|
600 |
+
for ( $i = 0; $i < 100; $i += 1 ) {
|
601 |
+
if ( empty( $sql_idlist ) ) { break; }
|
602 |
+
$values[] = array_shift( $sql_idlist );
|
603 |
+
}
|
604 |
+
$this->add( $sql_delete_post . '(' . implode( ',', $values ) . ')' );
|
605 |
+
$this->add( $sql_delete_meta . '(' . implode( ',', $values ) . ')' );
|
606 |
+
}
|
607 |
+
while ( ! empty( $sql_values ) ) {
|
608 |
+
$values = array();
|
609 |
+
for ( $i = 0; $i < 100; $i += 1 ) {
|
610 |
+
if ( empty( $sql_values ) ) { break; }
|
611 |
+
$values[] = array_shift( $sql_values );
|
612 |
+
}
|
613 |
+
$this->add( $sql_insert . implode( ",\n", $values ) );
|
614 |
+
}
|
615 |
+
}
|
616 |
+
}
|
617 |
+
|
618 |
+
// Postmeta
|
619 |
+
if ( ! empty( $data['postmeta'] ) && is_array( $data['postmeta'] ) ) {
|
620 |
+
foreach ( $data['postmeta'] as $posttype => $items ) {
|
621 |
+
foreach ( $items as $id => $entries ) {
|
622 |
+
$sql_meta = "INSERT INTO {$wpdb->postmeta} (post_id,meta_key,meta_value) VALUES ";
|
623 |
+
$sql_values = array();
|
624 |
+
|
625 |
+
foreach ( $entries as $key => $value ) {
|
626 |
+
$sql_values[] = $wpdb->prepare( '(%s,%s,%s)', $id, $key, $value );
|
627 |
+
}
|
628 |
+
|
629 |
+
if ( ! empty( $sql_values ) ) {
|
630 |
+
$this->add( $sql_meta . implode( ",\n", $sql_values ) );
|
631 |
+
}
|
632 |
+
}
|
633 |
+
}
|
634 |
+
}
|
635 |
+
|
636 |
+
// Run all scheduled queries
|
637 |
+
foreach ( $this->commands as $key => $params ) {
|
638 |
+
if ( ! isset( $params[0] ) ) { continue; }
|
639 |
+
$query = $params[0];
|
640 |
+
|
641 |
+
$res = $wpdb->query( $query );
|
642 |
+
}
|
643 |
+
|
644 |
+
return true;
|
645 |
+
}
|
646 |
+
}
|
inc/external/wpmu-lib/inc/class-thelib.php
CHANGED
@@ -1,1036 +1,294 @@
|
|
1 |
<?php
|
2 |
-
|
3 |
-
|
4 |
-
|
|
|
|
|
|
|
5 |
|
6 |
/**
|
7 |
-
*
|
8 |
-
*
|
9 |
-
* @since 1.1.0
|
10 |
*
|
11 |
-
* @var
|
|
|
12 |
*/
|
13 |
-
|
14 |
|
15 |
/**
|
16 |
-
*
|
17 |
*
|
18 |
-
* @
|
|
|
19 |
*/
|
20 |
-
|
21 |
-
parent::__construct();
|
22 |
|
23 |
-
// Check for persistent data from last request that needs to be processed.
|
24 |
-
$this->check_persistent_data();
|
25 |
-
|
26 |
-
// Create a new HTML helper component.
|
27 |
-
$class_name = __CLASS__ . '_Html';
|
28 |
-
$this->html = new $class_name();
|
29 |
-
}
|
30 |
|
31 |
/**
|
32 |
-
*
|
33 |
*
|
34 |
-
*
|
35 |
-
*
|
36 |
-
* - scrollbar
|
37 |
-
* - select
|
38 |
-
* - vnav
|
39 |
*
|
40 |
-
* @
|
41 |
-
* @
|
42 |
-
* @param string $onpage A page hook; files will only be loaded on this page.
|
43 |
*/
|
44 |
-
|
45 |
-
|
46 |
-
case 'core':
|
47 |
-
$this->add_css( $this->_css_url( 'wpmu-ui.min.css' ), $onpage );
|
48 |
-
$this->add_js( $this->_js_url( 'wpmu-ui.min.js' ), $onpage );
|
49 |
-
break;
|
50 |
-
|
51 |
-
case 'scrollbar':
|
52 |
-
$this->add_js( $this->_js_url( 'tiny-scrollbar.min.js' ), $onpage );
|
53 |
-
break;
|
54 |
-
|
55 |
-
case 'select':
|
56 |
-
$this->add_css( $this->_css_url( 'select2.min.css' ), $onpage );
|
57 |
-
$this->add_js( $this->_js_url( 'select2.min.js' ), $onpage );
|
58 |
-
break;
|
59 |
-
|
60 |
-
case 'vnav':
|
61 |
-
$this->add_css( $this->_css_url( 'wpmu-vnav.min.css' ), $onpage );
|
62 |
-
$this->add_js( $this->_js_url( 'wpmu-vnav.min.js' ), $onpage );
|
63 |
-
break;
|
64 |
-
|
65 |
-
case 'card-list':
|
66 |
-
case 'card_list':
|
67 |
-
$this->add_css( $this->_css_url( 'wpmu-card-list.min.css' ), $onpage );
|
68 |
-
$this->add_js( $this->_js_url( 'wpmu-card-list.min.js' ), $onpage );
|
69 |
-
break;
|
70 |
-
|
71 |
-
case 'html-element':
|
72 |
-
case 'html_element':
|
73 |
-
$this->add_css( $this->_css_url( 'wpmu-html.min.css' ), $onpage );
|
74 |
-
break;
|
75 |
-
|
76 |
-
case 'media':
|
77 |
-
$this->add_js( 'wpmu:media', $onpage );
|
78 |
-
break;
|
79 |
-
|
80 |
-
case 'fontawesome':
|
81 |
-
$this->add_css( $this->_css_url( 'fontawesome.min.css' ), $onpage );
|
82 |
-
break;
|
83 |
-
|
84 |
-
case 'jquery-ui':
|
85 |
-
$this->add_js( 'jquery-ui-core', $onpage );
|
86 |
-
$this->add_js( 'jquery-ui-datepicker', $onpage );
|
87 |
-
$this->add_css( $this->_css_url( 'jquery-ui.wpmui.min.css' ), $onpage );
|
88 |
-
break;
|
89 |
-
|
90 |
-
default:
|
91 |
-
$ext = strrchr( $module, '.' );
|
92 |
-
|
93 |
-
if ( defined( 'WDEV_UNMINIFIED' ) && WDEV_UNMINIFIED ) {
|
94 |
-
$module = str_replace( '.min' . $ext, $ext, $module );
|
95 |
-
}
|
96 |
-
if ( '.css' === $ext ) {
|
97 |
-
$this->add_css( $module, $onpage, 20 );
|
98 |
-
} else if ( '.js' === $ext ) {
|
99 |
-
$this->add_js( $module, $onpage, 20 );
|
100 |
-
}
|
101 |
-
}
|
102 |
}
|
103 |
|
104 |
/**
|
105 |
-
*
|
106 |
*
|
107 |
-
* @since
|
|
|
108 |
*
|
109 |
-
* @param
|
110 |
-
* @param
|
111 |
*/
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
$hook = ( is_admin() ? 'admin_head' : 'wp_head' );
|
118 |
-
|
119 |
-
// Enqueue the data for output with javascript sources.
|
120 |
-
$this->_add( 'js_data', array( $name, $data ) );
|
121 |
-
|
122 |
-
if ( ! $hooked && ! did_action( $hook ) ) {
|
123 |
-
add_action(
|
124 |
-
$hook,
|
125 |
-
array( $this, '_print_script_data' )
|
126 |
-
);
|
127 |
}
|
128 |
|
129 |
-
|
130 |
-
// Javascript sources already enqueued:
|
131 |
-
// Directly output the data right now.
|
132 |
-
$this->_print_script_data();
|
133 |
-
}
|
134 |
}
|
135 |
|
136 |
/**
|
137 |
-
*
|
138 |
*
|
139 |
-
* @since 1.
|
|
|
140 |
*
|
141 |
-
* @param string $
|
142 |
-
* @
|
143 |
-
* @param int $priority Loading order. The higher the number, the later it is loaded.
|
144 |
*/
|
145 |
-
|
146 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
147 |
}
|
148 |
|
149 |
/**
|
150 |
-
*
|
151 |
*
|
152 |
-
* @since 1.
|
|
|
153 |
*
|
154 |
-
* @param string $
|
155 |
-
* @param string $onpage A page hook; files will only be loaded on this page.
|
156 |
-
* @param int $priority Loading order. The higher the number, the later it is loaded.
|
157 |
*/
|
158 |
-
|
159 |
-
|
160 |
}
|
161 |
|
162 |
-
/**
|
163 |
-
* Prepare to enqueue a javascript or css file.
|
164 |
-
*
|
165 |
-
* @since 1.0.7
|
166 |
-
* @private
|
167 |
-
*
|
168 |
-
* @param string $url Full URL to the javascript/css file.
|
169 |
-
* @param string $type 'css' or 'js'
|
170 |
-
* @param string $onpage A page hook; files will only be loaded on this page.
|
171 |
-
* @param int $priority Loading order. The higher the number, the later it is loaded.
|
172 |
-
*/
|
173 |
-
protected function _prepare_js_or_css( $url, $type, $onpage, $priority ) {
|
174 |
-
$hooked = $this->_have( 'js_or_css' );
|
175 |
-
$this->_add( 'js_or_css', compact( 'url', 'type', 'onpage', 'priority' ) );
|
176 |
|
177 |
-
|
178 |
-
$hooked || add_action(
|
179 |
-
'init',
|
180 |
-
array( $this, '_add_js_or_css' )
|
181 |
-
);
|
182 |
-
} else {
|
183 |
-
$this->_add_js_or_css();
|
184 |
-
}
|
185 |
-
}
|
186 |
|
187 |
/**
|
188 |
-
*
|
189 |
-
* This is a private helper function used by array_map()
|
190 |
*
|
191 |
-
* @
|
192 |
-
* @
|
193 |
*/
|
194 |
-
|
195 |
-
return @$item->handle;
|
196 |
-
}
|
197 |
|
198 |
/**
|
199 |
-
*
|
200 |
*
|
201 |
-
* @since 1.
|
202 |
-
* @
|
203 |
*/
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
$scripts = $this->_get( 'js_or_css' );
|
208 |
-
$this->_clear( 'js_or_css' );
|
209 |
-
|
210 |
-
// Prevent adding the same URL twice.
|
211 |
-
$done_urls = array();
|
212 |
-
|
213 |
-
foreach ( $scripts as $script ) {
|
214 |
-
extract( $script ); // url, type, onpage, priority
|
215 |
|
216 |
-
|
217 |
-
|
218 |
-
// Prevent adding the same URL twice.
|
219 |
-
if ( in_array( $url, $done_urls ) ) { continue; }
|
220 |
-
$done_urls[] = $url;
|
221 |
-
|
222 |
-
$type = ( 'css' === $type || 'style' === $type ? 'css' : 'js' );
|
223 |
-
|
224 |
-
// The $handle values are intentionally not cached:
|
225 |
-
// Any plugin/theme could add new handles at any moment...
|
226 |
-
$handles = array();
|
227 |
-
if ( 'css' == $type ) {
|
228 |
-
if ( ! is_a( $wp_styles, 'WP_Styles' ) ) {
|
229 |
-
$wp_styles = new WP_Styles();
|
230 |
-
}
|
231 |
-
$handles = array_values(
|
232 |
-
array_map(
|
233 |
-
array( $this, '_get_script_handle' ),
|
234 |
-
$wp_styles->registered
|
235 |
-
)
|
236 |
-
);
|
237 |
-
$type_callback = '_enqueue_style_callback';
|
238 |
-
} else {
|
239 |
-
if ( ! is_a( $wp_scripts, 'WP_Scripts' ) ) {
|
240 |
-
$wp_scripts = new WP_Scripts();
|
241 |
-
}
|
242 |
-
$handles = array_values(
|
243 |
-
array_map(
|
244 |
-
array( $this, '_get_script_handle' ),
|
245 |
-
$wp_scripts->registered
|
246 |
-
)
|
247 |
-
);
|
248 |
-
$type_callback = '_enqueue_script_callback';
|
249 |
-
}
|
250 |
|
251 |
-
|
252 |
-
|
253 |
-
|
254 |
-
|
255 |
-
// Get the filename from the URL, then sanitize it and prefix "wpmu-"
|
256 |
-
$urlparts = explode( '?', $url, 2 );
|
257 |
-
$alias = 'wpmu-' . sanitize_title( basename( $urlparts[0] ) );
|
258 |
-
}
|
259 |
-
$onpage = empty( $onpage ) ? '' : $onpage;
|
260 |
-
|
261 |
-
if ( 'front' === $onpage && ! is_admin() ) {
|
262 |
-
$hook = 'wp_enqueue_scripts';
|
263 |
-
} else {
|
264 |
-
$hook = 'admin_enqueue_scripts';
|
265 |
-
}
|
266 |
-
|
267 |
-
$item = compact( 'url', 'alias', 'onpage' );
|
268 |
-
$hooked = $this->_have( $type );
|
269 |
-
$this->_add( $type, $item );
|
270 |
-
|
271 |
-
if ( ! did_action( $hook ) ) {
|
272 |
-
$hooked || add_action(
|
273 |
-
$hook,
|
274 |
-
array( $this, $type_callback ),
|
275 |
-
100 + $priority // Load custom styles a bit later than core styles.
|
276 |
-
);
|
277 |
-
} else {
|
278 |
-
$this->$type_callback();
|
279 |
}
|
|
|
|
|
280 |
}
|
281 |
}
|
282 |
|
283 |
/**
|
284 |
-
*
|
285 |
*
|
286 |
-
* @since 1.0
|
287 |
-
* @
|
288 |
*
|
289 |
-
* @param string $
|
|
|
290 |
*/
|
291 |
-
|
292 |
-
|
293 |
-
|
294 |
-
if ( empty( $hook ) ) { $hook = 'front'; }
|
295 |
|
296 |
-
|
297 |
-
extract( $item ); // url, alias, onpage
|
298 |
-
|
299 |
-
if ( empty( $onpage ) ) { $onpage = 'all'; }
|
300 |
-
|
301 |
-
// onpage == 'all' will always load the script.
|
302 |
-
// otherwise onpage must match the enqueue-hook.
|
303 |
-
if ( 'all' == $onpage || $hook == $onpage ) {
|
304 |
-
if ( empty( $url ) ) {
|
305 |
-
wp_enqueue_style( $alias );
|
306 |
-
} else {
|
307 |
-
wp_enqueue_style( $alias, $url );
|
308 |
-
}
|
309 |
-
}
|
310 |
-
}
|
311 |
}
|
312 |
|
313 |
/**
|
314 |
-
*
|
315 |
*
|
316 |
-
* @since 1.0
|
317 |
-
* @
|
318 |
*
|
319 |
-
* @param string $
|
|
|
320 |
*/
|
321 |
-
|
322 |
-
|
323 |
-
|
324 |
-
|
325 |
-
|
326 |
-
|
327 |
-
|
328 |
-
|
329 |
-
if ( empty( $onpage ) ) { $onpage = 'all'; }
|
330 |
-
|
331 |
-
// onpage == 'all' will always load the script.
|
332 |
-
// otherwise onpage must match the enqueue-hook.
|
333 |
-
if ( 'all' == $onpage || $hook == $onpage ) {
|
334 |
-
// Load the Media-library functions.
|
335 |
-
if ( 'wpmu:media' === $url ) {
|
336 |
-
wp_enqueue_media();
|
337 |
-
continue;
|
338 |
-
}
|
339 |
-
|
340 |
-
// Register script if it has an URL.
|
341 |
-
if ( ! empty( $url ) ) {
|
342 |
-
wp_register_script( $alias, $url, array( 'jquery' ), false, true );
|
343 |
-
}
|
344 |
-
|
345 |
-
// Enqueue the script for output in the page footer.
|
346 |
-
wp_enqueue_script( $alias );
|
347 |
-
}
|
348 |
}
|
349 |
-
}
|
350 |
-
|
351 |
-
/**
|
352 |
-
* Prints extra script data to the page.
|
353 |
-
*
|
354 |
-
* @action `wp_head`
|
355 |
-
* @since 1.1.1
|
356 |
-
* @private
|
357 |
-
*/
|
358 |
-
public function _print_script_data() {
|
359 |
-
$data = $this->_get( 'js_data' );
|
360 |
-
$this->_clear( 'js_data' );
|
361 |
|
362 |
-
|
363 |
-
if ( is_array( $data ) ) {
|
364 |
-
foreach ( $data as $item ) {
|
365 |
-
if ( ! is_array( $item ) ) { continue; }
|
366 |
-
|
367 |
-
printf(
|
368 |
-
'<script>window.%1$s = %2$s;</script>',
|
369 |
-
sanitize_html_class( $item[0] ),
|
370 |
-
json_encode( $item[1] )
|
371 |
-
);
|
372 |
-
}
|
373 |
-
}
|
374 |
}
|
375 |
|
376 |
-
|
377 |
/**
|
378 |
-
*
|
379 |
*
|
380 |
-
* @since 1.
|
381 |
-
* @
|
382 |
-
* @param string $html_el HTML element to point to (e.g. '#menu-appearance')
|
383 |
-
* @param string $title The title of the pointer.
|
384 |
-
* @param string $body Text of the pointer.
|
385 |
-
*/
|
386 |
-
public function pointer( $pointer_id, $html_el, $title, $body ) {
|
387 |
-
$this->html->pointer( $pointer_id, $html_el, $title, $body );
|
388 |
-
}
|
389 |
-
|
390 |
-
|
391 |
-
|
392 |
-
/**
|
393 |
-
* Display an admin notice.
|
394 |
*
|
395 |
-
* @
|
396 |
-
* @
|
397 |
-
* @param string $class Message-type [updated|error]
|
398 |
-
* @param string $screen Limit message to this screen-ID
|
399 |
-
* @param string $id Message ID. Prevents adding duplicate messages.
|
400 |
*/
|
401 |
-
|
402 |
-
if (
|
403 |
-
|
404 |
-
|
405 |
-
|
|
|
|
|
|
|
406 |
}
|
407 |
|
408 |
-
|
409 |
-
$items = self::_sess_get( 'message' );
|
410 |
-
foreach ( $items as $key => $data ) {
|
411 |
-
if (
|
412 |
-
$data['text'] == $text &&
|
413 |
-
$data['class'] == $class &&
|
414 |
-
$data['screen'] == $screen
|
415 |
-
) {
|
416 |
-
return; // Don't add duplicate message to queue.
|
417 |
-
}
|
418 |
-
|
419 |
-
/**
|
420 |
-
* `$id` prevents adding duplicate messages.
|
421 |
-
*
|
422 |
-
* @since 1.1.0
|
423 |
-
*/
|
424 |
-
if ( ! empty( $id ) && $data['id'] == $id ) {
|
425 |
-
return; // Don't add duplicate message to queue.
|
426 |
-
}
|
427 |
-
}
|
428 |
-
|
429 |
-
self::_sess_add( 'message', compact( 'text', 'class', 'screen', 'id' ) );
|
430 |
-
|
431 |
-
if ( did_action( 'admin_notices' ) ) {
|
432 |
-
$this->_admin_notice_callback();
|
433 |
-
} else {
|
434 |
-
$this->_have( '_admin_notice' ) || add_action(
|
435 |
-
'admin_notices',
|
436 |
-
array( $this, '_admin_notice_callback' ),
|
437 |
-
1
|
438 |
-
);
|
439 |
-
$this->_add( '_admin_notice', true );
|
440 |
-
}
|
441 |
}
|
442 |
|
443 |
/**
|
444 |
-
*
|
445 |
*
|
446 |
-
* @since 1.0
|
447 |
-
* @
|
448 |
-
*/
|
449 |
-
public function _admin_notice_callback() {
|
450 |
-
$items = self::_sess_get( 'message' );
|
451 |
-
self::_sess_clear( 'message' );
|
452 |
-
$screen_info = get_current_screen();
|
453 |
-
$screen_id = $screen_info->id;
|
454 |
-
|
455 |
-
foreach ( $items as $item ) {
|
456 |
-
extract( $item ); // text, class, screen, id
|
457 |
-
if ( empty( $screen ) || $screen_id == $screen ) {
|
458 |
-
printf(
|
459 |
-
'<div class="%1$s %3$s"><p>%2$s</p></div>',
|
460 |
-
esc_attr( $class ),
|
461 |
-
$text,
|
462 |
-
esc_attr( $id )
|
463 |
-
);
|
464 |
-
}
|
465 |
-
}
|
466 |
-
}
|
467 |
-
|
468 |
-
|
469 |
-
|
470 |
-
/**
|
471 |
-
* Short way to load the textdomain of a plugin.
|
472 |
*
|
473 |
-
* @
|
474 |
-
* @param string $domain Translations will be mapped to this domain.
|
475 |
-
* @param string $rel_dir Path to the dictionary folder; relative to ABSPATH.
|
476 |
*/
|
477 |
-
|
478 |
-
|
479 |
-
|
480 |
-
$this->_add( 'textdomain', compact( 'domain', 'rel_dir' ) );
|
481 |
|
482 |
-
|
483 |
-
$hooked || add_action(
|
484 |
-
'plugins_loaded',
|
485 |
-
array( $this, '_translate_plugin_callback' )
|
486 |
-
);
|
487 |
-
} else {
|
488 |
-
$this->_translate_plugin_callback();
|
489 |
-
}
|
490 |
-
}
|
491 |
-
|
492 |
-
/**
|
493 |
-
* Create function callback for load textdomain (for PHP <5.3 only)
|
494 |
-
*
|
495 |
-
* @since 1.0.1
|
496 |
-
* @private
|
497 |
-
*/
|
498 |
-
public function _translate_plugin_callback() {
|
499 |
-
$items = $this->_get( 'textdomain' );
|
500 |
-
foreach ( $items as $item ) {
|
501 |
-
extract( $item ); // domain, rel_dir
|
502 |
-
load_plugin_textdomain( $domain, false, $rel_dir );
|
503 |
-
}
|
504 |
}
|
505 |
|
506 |
-
|
507 |
|
508 |
/**
|
509 |
-
*
|
510 |
-
* If persistent data exists the appropriate hooks are set to process them.
|
511 |
*
|
512 |
-
* @since
|
|
|
513 |
*/
|
514 |
-
public function
|
515 |
-
|
516 |
-
if ( self::_sess_have( 'message' ) ) {
|
517 |
-
$this->_have( '_admin_notice' ) || add_action(
|
518 |
-
'admin_notices',
|
519 |
-
array( $this, '_admin_notice_callback' ),
|
520 |
-
1
|
521 |
-
);
|
522 |
-
$this->_add( '_admin_notice', true );
|
523 |
-
}
|
524 |
}
|
525 |
|
526 |
/**
|
527 |
-
* Returns the
|
528 |
-
* This URL is not guaranteed to look exactly same as the user sees it.
|
529 |
-
* E.g. Hashtags are missing ("index.php#section-a")
|
530 |
*
|
531 |
-
* @since 1.0.
|
532 |
-
* @
|
533 |
-
* @return string Full URL to current page.
|
534 |
-
*/
|
535 |
-
public function current_url( $protocol = null ) {
|
536 |
-
static $Url = array();
|
537 |
-
|
538 |
-
if ( null !== $protocol ) {
|
539 |
-
// Remove the "://" part, if it was provided
|
540 |
-
$protocol = array_shift( explode( ':', $protocol ) );
|
541 |
-
}
|
542 |
-
|
543 |
-
if ( ! isset( $Url[$protocol] ) ) {
|
544 |
-
if ( null === $protocol ) {
|
545 |
-
$cur_url = 'http';
|
546 |
-
|
547 |
-
if ( isset( $_SERVER['HTTPS'] )
|
548 |
-
&& strtolower( $_SERVER['HTTPS'] ) === 'on'
|
549 |
-
) {
|
550 |
-
$cur_url .= 's';
|
551 |
-
}
|
552 |
-
} else {
|
553 |
-
$cur_url = $protocol;
|
554 |
-
}
|
555 |
-
|
556 |
-
$is_ssl = 'https' === $cur_url;
|
557 |
-
$cur_url .= '://';
|
558 |
-
$cur_url .= $_SERVER['SERVER_NAME'];
|
559 |
-
|
560 |
-
if ( ( ! $is_ssl && $_SERVER['SERVER_PORT'] != '80' ) ||
|
561 |
-
( $is_ssl && $_SERVER['SERVER_PORT'] != '443' )
|
562 |
-
) {
|
563 |
-
$cur_url .= ':' . $_SERVER['SERVER_PORT'];
|
564 |
-
}
|
565 |
-
|
566 |
-
$cur_url .= $_SERVER['REQUEST_URI'];
|
567 |
-
|
568 |
-
$Url[$protocol] = trailingslashit( $cur_url );
|
569 |
-
}
|
570 |
-
|
571 |
-
return $Url[$protocol];
|
572 |
-
}
|
573 |
-
|
574 |
-
/**
|
575 |
-
* Adds a value to the data collection in the user session.
|
576 |
*
|
577 |
-
* @
|
578 |
-
* @
|
579 |
-
* @param mixed $value Value to store.
|
580 |
*/
|
581 |
-
|
582 |
-
|
583 |
-
}
|
584 |
|
585 |
-
|
586 |
-
|
587 |
-
*
|
588 |
-
* @since 1.0.15
|
589 |
-
* @param string $key The key of the value.
|
590 |
-
* @return array The value, or an empty array if no value was assigned yet.
|
591 |
-
*/
|
592 |
-
public function store_get( $key ) {
|
593 |
-
$vals = self::_sess_get( 'store:' . $key );
|
594 |
-
foreach ( $vals as $key => $val ) {
|
595 |
-
if ( null === $val ) { unset( $vals[ $key ] ); }
|
596 |
}
|
597 |
-
|
598 |
-
|
599 |
-
}
|
600 |
-
|
601 |
-
/**
|
602 |
-
* Returns the current data array of the specified value from user session
|
603 |
-
* and then clears the values from the session.
|
604 |
-
*
|
605 |
-
* @since 1.0.15
|
606 |
-
* @param string $key The key of the value.
|
607 |
-
* @return array The value, or an empty array if no value was assigned yet.
|
608 |
-
*/
|
609 |
-
public function store_get_clear( $key ) {
|
610 |
-
$val = $this->store_get( $key );
|
611 |
-
self::_sess_clear( 'store:' . $key );
|
612 |
-
return $val;
|
613 |
-
}
|
614 |
-
|
615 |
-
/**
|
616 |
-
* If the specified variable is an array it will be returned. Otherwise
|
617 |
-
* an empty array is returned.
|
618 |
-
*
|
619 |
-
* @since 1.0.14
|
620 |
-
* @param mixed $val1 Value that maybe is an array.
|
621 |
-
* @param mixed $val2 Optional, Second value that maybe is an array.
|
622 |
-
* @return array
|
623 |
-
*/
|
624 |
-
public function get_array( &$val1, $val2 = array() ) {
|
625 |
-
if ( is_array( $val1 ) ) {
|
626 |
-
return $val1;
|
627 |
-
} else if ( is_array( $val2 ) ) {
|
628 |
-
return $val2;
|
629 |
-
} else {
|
630 |
-
return array();
|
631 |
}
|
|
|
|
|
632 |
}
|
633 |
|
634 |
/**
|
635 |
-
*
|
636 |
-
* If fields are not defined then they will be added to the source array
|
637 |
-
* with the boolean value false.
|
638 |
*
|
639 |
-
*
|
640 |
-
*
|
641 |
*
|
642 |
-
* @
|
643 |
-
* @
|
644 |
-
* @param strings|Array $fields List of fields to check for.
|
645 |
-
* @return int Number of missing fields that were initialized.
|
646 |
*/
|
647 |
-
|
648 |
-
$
|
649 |
-
$is_obj = false;
|
650 |
-
|
651 |
-
if ( is_object( $arr ) ) { $is_obj = true; }
|
652 |
-
else if ( ! is_array( $arr ) ) { return -1; }
|
653 |
|
654 |
-
if (
|
655 |
-
$
|
656 |
-
array_shift( $fields ); // Remove $arr from the field list.
|
657 |
}
|
658 |
-
|
659 |
-
|
660 |
-
if ( $is_obj ) {
|
661 |
-
if ( ! isset( $arr->$field ) ) {
|
662 |
-
$arr->$field = false;
|
663 |
-
$missing += 1;
|
664 |
-
}
|
665 |
-
} else {
|
666 |
-
if ( ! isset( $arr[ $field ] ) ) {
|
667 |
-
$arr[ $field ] = false;
|
668 |
-
$missing += 1;
|
669 |
-
}
|
670 |
-
}
|
671 |
}
|
672 |
|
673 |
-
return $
|
674 |
-
}
|
675 |
-
|
676 |
-
/**
|
677 |
-
* Short function for WDev()->load_fields( $_POST, ... )
|
678 |
-
*
|
679 |
-
* @since 1.0.14
|
680 |
-
* @param strings|Array <param list>
|
681 |
-
* @return int Number of missing fields that were initialized.
|
682 |
-
*/
|
683 |
-
public function load_post_fields( $fields ) {
|
684 |
-
$fields = is_array( $fields ) ? $fields : func_get_args();
|
685 |
-
return $this->load_fields( $_POST, $fields );
|
686 |
-
}
|
687 |
-
|
688 |
-
/**
|
689 |
-
* Short function for WDev()->load_fields( $_REQUEST, ... )
|
690 |
-
*
|
691 |
-
* @since 1.0.14
|
692 |
-
* @param strings|Array <param list>
|
693 |
-
* @return int Number of missing fields that were initialized.
|
694 |
-
*/
|
695 |
-
public function load_request_fields( $fields ) {
|
696 |
-
$fields = is_array( $fields ) ? $fields : func_get_args();
|
697 |
-
return $this->load_fields( $_REQUEST, $fields );
|
698 |
}
|
699 |
|
700 |
/**
|
701 |
-
*
|
702 |
-
* Note that this does not work inside Ajax requests!
|
703 |
*
|
704 |
-
* @since 1.
|
705 |
-
* @
|
706 |
-
* @param string $filename The file name.
|
707 |
-
*/
|
708 |
-
public function file_download( $contents, $filename ) {
|
709 |
-
// Send the download headers.
|
710 |
-
header( 'Pragma: public' );
|
711 |
-
header( 'Expires: 0' );
|
712 |
-
header( 'Cache-Control: must-revalidate, post-check=0, pre-check=0' );
|
713 |
-
header( 'Cache-Control: private', false ); // required for certain browsers
|
714 |
-
header( 'Content-type: application/json' );
|
715 |
-
header( 'Content-Disposition: attachment; filename="' . $filename . '"' );
|
716 |
-
header( 'Content-Transfer-Encoding: binary' );
|
717 |
-
header( 'Content-Length: ' . strlen( $contents ) );
|
718 |
-
|
719 |
-
// Finally send the export-file content.
|
720 |
-
echo '' . $contents;
|
721 |
-
|
722 |
-
exit;
|
723 |
-
}
|
724 |
-
|
725 |
-
/**
|
726 |
-
* Checks if the provided value evaluates to a boolean TRUE.
|
727 |
-
*
|
728 |
-
* Following values are considered true:
|
729 |
-
* - Boolean: true
|
730 |
-
* - Number: anything except 0
|
731 |
-
* - Strings: true, yes, on (case insensitive)
|
732 |
-
*
|
733 |
-
* @since 1.1.0
|
734 |
-
* @param [type] $value [description]
|
735 |
-
* @return bool [description]
|
736 |
-
*/
|
737 |
-
public function is_true( $value ) {
|
738 |
-
if ( $value === false || $value === null || $value === '' ) {
|
739 |
-
return false;
|
740 |
-
} elseif ( $value === true ) {
|
741 |
-
return true;
|
742 |
-
} elseif ( is_numeric( $value ) ) {
|
743 |
-
$value = intval( $value );
|
744 |
-
return $value != 0;
|
745 |
-
} elseif ( is_string( $value ) ) {
|
746 |
-
$value = strtolower( trim( $value ) );
|
747 |
-
return in_array(
|
748 |
-
$value,
|
749 |
-
array( 'true', 'yes', 'on', '1' )
|
750 |
-
);
|
751 |
-
}
|
752 |
-
return false;
|
753 |
-
}
|
754 |
-
|
755 |
-
/**
|
756 |
-
* Checks if the specified URL is publicly reachable.
|
757 |
*
|
758 |
-
* @
|
759 |
-
* @
|
760 |
-
* @return bool If URL is online or not.
|
761 |
*/
|
762 |
-
|
763 |
-
static $
|
764 |
-
|
765 |
-
if ( ! isset( $Checked[$url] ) ) {
|
766 |
-
$check = 'http://www.isup.me/' . $url;
|
767 |
-
$res = wp_remote_get( $check );
|
768 |
-
|
769 |
-
if ( is_wp_error( $res ) ) {
|
770 |
-
$state = false;
|
771 |
-
} else {
|
772 |
-
$state = ( false === stripos( $res['body'], 'not just you' ) );
|
773 |
-
}
|
774 |
|
775 |
-
|
|
|
|
|
776 |
}
|
777 |
|
778 |
-
return $
|
779 |
}
|
780 |
|
781 |
/**
|
782 |
-
*
|
783 |
*
|
784 |
-
* @since
|
785 |
-
* @
|
786 |
-
*/
|
787 |
-
public function debug() {
|
788 |
-
static $Need_styles = true;
|
789 |
-
|
790 |
-
if ( ( ! defined( 'WDEV_DEBUG' ) || ! WDEV_DEBUG )
|
791 |
-
&& ( ! defined( 'WP_DEBUG' ) || ! WP_DEBUG )
|
792 |
-
) { return; }
|
793 |
-
|
794 |
-
if ( $Need_styles ) {
|
795 |
-
?>
|
796 |
-
<style>
|
797 |
-
.wdev-debug {
|
798 |
-
clear: both;
|
799 |
-
border: 1px solid #C00;
|
800 |
-
background: rgba(255, 200, 200, 1);
|
801 |
-
padding: 10px;
|
802 |
-
margin: 10px;
|
803 |
-
position: relative;
|
804 |
-
z-index: 99999;
|
805 |
-
box-shadow: 0 1px 5px rgba(0,0,0,0.3);
|
806 |
-
font-size: 12px;
|
807 |
-
}
|
808 |
-
.wdev-debug:before {
|
809 |
-
content: 'DEBUG';
|
810 |
-
font-size: 11px;
|
811 |
-
position: absolute;
|
812 |
-
right: 0;
|
813 |
-
top: 0;
|
814 |
-
color: #FFF;
|
815 |
-
background-color: #D88;
|
816 |
-
padding: 2px 8px;
|
817 |
-
}
|
818 |
-
.wdev-debug pre {
|
819 |
-
font-size: 12px !important;
|
820 |
-
margin: 1px 0 !important;
|
821 |
-
background: rgba(255, 200, 200, 0.8);
|
822 |
-
}
|
823 |
-
.wdev-debug .wdev-param {
|
824 |
-
background: rgba( 0,0,0,0.1 );
|
825 |
-
padding: 0 3px;
|
826 |
-
font-size: 11px;
|
827 |
-
}
|
828 |
-
.wdev-debug table td {
|
829 |
-
padding: 1px 2px !important;
|
830 |
-
font-size: 12px;
|
831 |
-
}
|
832 |
-
.wdev-debug table {
|
833 |
-
margin: 4px 0 0 0;
|
834 |
-
background: #EBB;
|
835 |
-
}
|
836 |
-
</style>
|
837 |
-
<?php
|
838 |
-
$Need_styles = false;
|
839 |
-
}
|
840 |
-
|
841 |
-
echo '<div class="wdev-debug"><div class="wdev-debug-wrap">';
|
842 |
-
foreach ( func_get_args() as $param ) {
|
843 |
-
$this->dump( $param );
|
844 |
-
}
|
845 |
-
echo '<table class="wdev-trace" cellspacing="0" cellpadding="3" border="1">';
|
846 |
-
|
847 |
-
// Display the backtrace.
|
848 |
-
$trace = debug_backtrace();
|
849 |
-
$trace_num = count( $trace );
|
850 |
-
for ( $i = 0; $i < $trace_num; $i += 1 ) {
|
851 |
-
$item = $trace[$i];
|
852 |
-
$line_item = $item;
|
853 |
-
$j = $i;
|
854 |
-
while ( empty( $line_item['line'] ) && $j < $trace_num ) {
|
855 |
-
$line_item = $trace[$j];
|
856 |
-
$j += 1;
|
857 |
-
}
|
858 |
-
|
859 |
-
$args = '';
|
860 |
-
$arg_num = '';
|
861 |
-
$this->load_fields( $item, 'args' );
|
862 |
-
|
863 |
-
if ( $i > 0 && is_array( $item['args'] ) ) {
|
864 |
-
$argnum = count( $item['args'] );
|
865 |
-
|
866 |
-
if ( $argnum > 0 ) {
|
867 |
-
if ( is_scalar( $item['args'][0] ) ) {
|
868 |
-
$first = '"' . strval( $item['args'][0] ) . '"';
|
869 |
-
} else {
|
870 |
-
$first = '...';
|
871 |
-
}
|
872 |
-
|
873 |
-
if ( $argnum > 1 ) {
|
874 |
-
$dummy = array_fill( 0, $argnum - 1, '...' );
|
875 |
-
} else {
|
876 |
-
$dummy = array();
|
877 |
-
}
|
878 |
-
|
879 |
-
array_unshift( $dummy, $first );
|
880 |
-
$args = implode( '</span>, <span class="wdev-param">', $dummy );
|
881 |
-
$args = '<span class="wdev-param">' . $args . '</span>';
|
882 |
-
}
|
883 |
-
}
|
884 |
-
|
885 |
-
printf(
|
886 |
-
'<tr><td>%1$s</td><td>%2$s</td><td>%3$s</td></tr>',
|
887 |
-
$i,
|
888 |
-
@$line_item['file'] . ': ' . @$line_item['line'],
|
889 |
-
@$item['class'] . @$item['type'] . @$item['function'] . '(' . $args . ')'
|
890 |
-
);
|
891 |
-
}
|
892 |
-
echo '</table>';
|
893 |
-
echo '</div></div>';
|
894 |
-
}
|
895 |
-
|
896 |
-
/**
|
897 |
-
* Outputs an advanced var dump.
|
898 |
*
|
899 |
-
* @
|
900 |
-
* @param
|
901 |
-
* @param
|
902 |
-
* @param int $level Do not change this value!
|
903 |
*/
|
904 |
-
|
905 |
-
|
906 |
-
define( 'DUMP_DEBUG_SCRIPT', true );
|
907 |
-
|
908 |
-
echo '<script>function toggleDisplay(id,display) {';
|
909 |
-
echo 'var data = document.getElementById("container"+id);';
|
910 |
-
echo 'var plus = document.getElementById("plus"+id);';
|
911 |
-
echo 'var state = data.style.display;';
|
912 |
-
echo 'data.style.display = state == display ? "none" : display;';
|
913 |
-
echo 'if (plus) plus.style.display = state == "inline" ? "inline" : "none";';
|
914 |
-
echo '}</script>';
|
915 |
-
}
|
916 |
-
|
917 |
-
if ( ! is_string( $data ) && is_callable( $data ) ) {
|
918 |
-
$type = 'Callable';
|
919 |
-
} else {
|
920 |
-
$type = ucfirst( gettype( $data ) );
|
921 |
-
}
|
922 |
-
|
923 |
-
$collapsed = $level >= $default_depth;
|
924 |
-
|
925 |
-
$type_data = null;
|
926 |
-
$type_color = null;
|
927 |
-
$type_length = null;
|
928 |
-
$full_dump = false;
|
929 |
-
|
930 |
-
switch ( $type ) {
|
931 |
-
case 'String':
|
932 |
-
$type_color = 'green';
|
933 |
-
$type_length = strlen( $data );
|
934 |
-
$type_data = '"' . htmlentities( $data ) . '"';
|
935 |
-
break;
|
936 |
-
|
937 |
-
case 'Double':
|
938 |
-
case 'Float':
|
939 |
-
$type = 'Float';
|
940 |
-
$type_color = '#0099c5';
|
941 |
-
$type_length = strlen( $data );
|
942 |
-
$type_data = htmlentities( $data );
|
943 |
-
break;
|
944 |
-
|
945 |
-
case 'Integer':
|
946 |
-
$type_color = 'red';
|
947 |
-
$type_length = strlen( $data );
|
948 |
-
$type_data = htmlentities( $data );
|
949 |
-
break;
|
950 |
-
|
951 |
-
case 'Boolean':
|
952 |
-
$type_color = '#92008d';
|
953 |
-
$type_length = strlen( $data );
|
954 |
-
$type_data = $data ? 'TRUE' : 'FALSE';
|
955 |
-
break;
|
956 |
-
|
957 |
-
case 'NULL':
|
958 |
-
$type_length = 0;
|
959 |
-
$type_color = '#AAA';
|
960 |
-
$type_data = 'NULL';
|
961 |
-
break;
|
962 |
-
|
963 |
-
case 'Array':
|
964 |
-
$type_length = count( $data );
|
965 |
-
break;
|
966 |
-
|
967 |
-
case 'Object':
|
968 |
-
$full_dump = true;
|
969 |
-
break;
|
970 |
-
}
|
971 |
-
|
972 |
-
$type_label = $type . ( $type_length !== null ? '(' . $type_length . ')' : '' );
|
973 |
-
|
974 |
-
if ( in_array( $type, array( 'Object', 'Array' ) ) ) {
|
975 |
-
$populated = false;
|
976 |
-
|
977 |
-
foreach ( $data as $key => $value ) {
|
978 |
-
if ( ! $populated ) {
|
979 |
-
$populated = true;
|
980 |
-
|
981 |
-
$id = substr( md5( rand() . ':' . $key . ':' . $level ), 0, 8 );
|
982 |
-
|
983 |
-
echo '<a href="javascript:toggleDisplay(\''. $id . '\',\'inline\');" style="text-decoration:none">';
|
984 |
-
echo '<span style="color:#666666">' . $type_label . '</span>';
|
985 |
-
echo '</a>';
|
986 |
|
987 |
-
|
988 |
-
|
989 |
-
echo '<br />';
|
990 |
-
|
991 |
-
for ( $i = 0; $i <= $level; $i++ ) {
|
992 |
-
echo ' <span style="color:black">|</span> ';
|
993 |
-
}
|
994 |
-
if ( $full_dump ) {
|
995 |
-
echo '<a href="javascript:toggleDisplay(\''. $id . '-dump\',\'block\');" style="text-decoration:none;color:#66A">';
|
996 |
-
echo '( full dump )';
|
997 |
-
echo '</a>';
|
998 |
-
echo '<div id="container' . $id . '-dump" style="display: none;">';
|
999 |
-
var_dump( $data );
|
1000 |
-
echo '</div>';
|
1001 |
-
}
|
1002 |
-
|
1003 |
-
echo '<br />';
|
1004 |
-
}
|
1005 |
-
|
1006 |
-
|
1007 |
-
for ( $i = 0; $i <= $level; $i++ ) {
|
1008 |
-
echo ' <span style="color:black">|</span> ';
|
1009 |
-
}
|
1010 |
-
|
1011 |
-
echo '<span style="color:black">[' . $key . '] => </span>';
|
1012 |
-
|
1013 |
-
$this->dump( $value, $default_depth, $level + 1 );
|
1014 |
-
}
|
1015 |
-
|
1016 |
-
if ( $populated ) {
|
1017 |
-
for ( $i = 0; $i <= $level; $i++ ) {
|
1018 |
-
echo ' <span style="color:black">|</span> ';
|
1019 |
-
}
|
1020 |
-
|
1021 |
-
echo '</div>';
|
1022 |
-
|
1023 |
-
} else {
|
1024 |
-
echo '<span style="color:#666666">' . $type_label . '</span> ';
|
1025 |
-
}
|
1026 |
} else {
|
1027 |
-
|
1028 |
-
|
1029 |
-
if ( $type_data != null ) {
|
1030 |
-
echo '<span style="color:' . $type_color . '">' . $type_data . '</span>';
|
1031 |
-
}
|
1032 |
}
|
1033 |
-
|
1034 |
-
echo '<br />';
|
1035 |
}
|
1036 |
-
|
|
1 |
<?php
|
2 |
+
/**
|
3 |
+
* Implement uniform data storage and sharing among all child classes.
|
4 |
+
*
|
5 |
+
* @since 1.1.0
|
6 |
+
*/
|
7 |
+
class TheLib_2_0_3 {
|
8 |
|
9 |
/**
|
10 |
+
* Internal data collection used to pass arguments to callback functions.
|
11 |
+
* Only used for 5.2 version as alternative to closures.
|
|
|
12 |
*
|
13 |
+
* @var array
|
14 |
+
* @internal
|
15 |
*/
|
16 |
+
static protected $data = array();
|
17 |
|
18 |
/**
|
19 |
+
* Back-reference to the main component: TheLib_x_y_z_Core
|
20 |
*
|
21 |
+
* @var TheLib_Core
|
22 |
+
* @internal
|
23 |
*/
|
24 |
+
static protected $core = null;
|
|
|
25 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
|
27 |
/**
|
28 |
+
* Checks if a key exists in the request-cache.
|
29 |
*
|
30 |
+
* @since 1.1.0
|
31 |
+
* @internal
|
|
|
|
|
|
|
32 |
*
|
33 |
+
* @param string $key The key to check
|
34 |
+
* @return bool
|
|
|
35 |
*/
|
36 |
+
protected function _have( $key ) {
|
37 |
+
return isset( self::$data[ $key ] );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
38 |
}
|
39 |
|
40 |
/**
|
41 |
+
* Request cache
|
42 |
*
|
43 |
+
* @since 1.1.0
|
44 |
+
* @internal
|
45 |
*
|
46 |
+
* @param string $key
|
47 |
+
* @param mixed $value
|
48 |
*/
|
49 |
+
protected function _add( $key, $value ) {
|
50 |
+
if ( ! isset( self::$data[ $key ] )
|
51 |
+
|| ! is_array( self::$data[ $key ] )
|
52 |
+
) {
|
53 |
+
self::$data[ $key ] = array();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
54 |
}
|
55 |
|
56 |
+
self::$data[ $key ][] = $value;
|
|
|
|
|
|
|
|
|
57 |
}
|
58 |
|
59 |
/**
|
60 |
+
* Request cache
|
61 |
*
|
62 |
+
* @since 1.1.0
|
63 |
+
* @internal
|
64 |
*
|
65 |
+
* @param string $key
|
66 |
+
* @return mixed
|
|
|
67 |
*/
|
68 |
+
protected function _get( $key ) {
|
69 |
+
if ( ! isset( self::$data[ $key ] )
|
70 |
+
|| ! is_array( self::$data[ $key ] )
|
71 |
+
) {
|
72 |
+
self::$data[ $key ] = array();
|
73 |
+
}
|
74 |
+
|
75 |
+
return self::$data[ $key ];
|
76 |
}
|
77 |
|
78 |
/**
|
79 |
+
* Request cache
|
80 |
*
|
81 |
+
* @since 1.1.0
|
82 |
+
* @internal
|
83 |
*
|
84 |
+
* @param string $key
|
|
|
|
|
85 |
*/
|
86 |
+
protected function _clear( $key ) {
|
87 |
+
self::$data[ $key ] = array();
|
88 |
}
|
89 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
90 |
|
91 |
+
// --- Start of Session access
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
92 |
|
93 |
/**
|
94 |
+
* Flag if we can use the $_SESSION variable
|
|
|
95 |
*
|
96 |
+
* @var bool
|
97 |
+
* @internal
|
98 |
*/
|
99 |
+
static protected $_have_session = null;
|
|
|
|
|
100 |
|
101 |
/**
|
102 |
+
* Session storage
|
103 |
*
|
104 |
+
* @since 1.1.0
|
105 |
+
* @internal
|
106 |
*/
|
107 |
+
static private function _sess_init() {
|
108 |
+
if ( null !== self::$_have_session ) { return; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
109 |
|
110 |
+
self::$_have_session = false;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
111 |
|
112 |
+
if ( ! session_id() ) {
|
113 |
+
if ( ! headers_sent() ) {
|
114 |
+
session_start();
|
115 |
+
self::$_have_session = true;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
116 |
}
|
117 |
+
} else {
|
118 |
+
self::$_have_session = true;
|
119 |
}
|
120 |
}
|
121 |
|
122 |
/**
|
123 |
+
* Session storage
|
124 |
*
|
125 |
+
* @since 1.1.0
|
126 |
+
* @internal
|
127 |
*
|
128 |
+
* @param string $key
|
129 |
+
* @return bool
|
130 |
*/
|
131 |
+
static protected function _sess_have( $key ) {
|
132 |
+
if ( null === self::$_have_session ) { self::_sess_init(); }
|
133 |
+
if ( ! self::$_have_session ) { return false; }
|
|
|
134 |
|
135 |
+
return isset( $_SESSION[ '_lib_persist_' . $key ] );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
136 |
}
|
137 |
|
138 |
/**
|
139 |
+
* Session storage
|
140 |
*
|
141 |
+
* @since 1.1.0
|
142 |
+
* @internal
|
143 |
*
|
144 |
+
* @param string $key
|
145 |
+
* @param mixed $value
|
146 |
*/
|
147 |
+
static protected function _sess_add( $key, $value ) {
|
148 |
+
if ( null === self::$_have_session ) { self::_sess_init(); }
|
149 |
+
if ( ! self::$_have_session ) { return; }
|
150 |
+
|
151 |
+
if ( ! isset( $_SESSION[ '_lib_persist_' . $key ] )
|
152 |
+
|| ! is_array( $_SESSION[ '_lib_persist_' . $key ] )
|
153 |
+
) {
|
154 |
+
$_SESSION[ '_lib_persist_' . $key ] = array();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
155 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
156 |
|
157 |
+
$_SESSION[ '_lib_persist_' . $key ][] = $value;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
158 |
}
|
159 |
|
|
|
160 |
/**
|
161 |
+
* Session storage
|
162 |
*
|
163 |
+
* @since 1.1.0
|
164 |
+
* @internal
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
165 |
*
|
166 |
+
* @param string $key
|
167 |
+
* @return array
|
|
|
|
|
|
|
168 |
*/
|
169 |
+
static protected function _sess_get( $key ) {
|
170 |
+
if ( null === self::$_have_session ) { self::_sess_init(); }
|
171 |
+
if ( ! self::$_have_session ) { return array(); }
|
172 |
+
|
173 |
+
if ( ! isset( $_SESSION[ '_lib_persist_' . $key ] )
|
174 |
+
|| ! is_array( $_SESSION[ '_lib_persist_' . $key ] )
|
175 |
+
) {
|
176 |
+
$_SESSION[ '_lib_persist_' . $key ] = array();
|
177 |
}
|
178 |
|
179 |
+
return $_SESSION[ '_lib_persist_' . $key ];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
180 |
}
|
181 |
|
182 |
/**
|
183 |
+
* Session storage
|
184 |
*
|
185 |
+
* @since 1.1.0
|
186 |
+
* @internal
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
187 |
*
|
188 |
+
* @param string $key
|
|
|
|
|
189 |
*/
|
190 |
+
static protected function _sess_clear( $key ) {
|
191 |
+
if ( null === self::$_have_session ) { self::_sess_init(); }
|
192 |
+
if ( ! self::$_have_session ) { return; }
|
|
|
193 |
|
194 |
+
unset( $_SESSION[ '_lib_persist_' . $key ] );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
195 |
}
|
196 |
|
197 |
+
// --- End of Session access
|
198 |
|
199 |
/**
|
200 |
+
* Base constructor. Initialize the session if not already done.
|
|
|
201 |
*
|
202 |
+
* @since 1.1.0
|
203 |
+
* @internal
|
204 |
*/
|
205 |
+
public function __construct() {
|
206 |
+
self::_sess_init();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
207 |
}
|
208 |
|
209 |
/**
|
210 |
+
* Returns the full URL to an internal CSS file of the code library.
|
|
|
|
|
211 |
*
|
212 |
+
* @since 1.0.0
|
213 |
+
* @internal
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
214 |
*
|
215 |
+
* @param string $file The filename, relative to this plugins folder.
|
216 |
+
* @return string
|
|
|
217 |
*/
|
218 |
+
protected function _css_url( $file ) {
|
219 |
+
static $Url = null;
|
|
|
220 |
|
221 |
+
if ( defined( 'WDEV_UNMINIFIED' ) && WDEV_UNMINIFIED ) {
|
222 |
+
$file = str_replace( '.min.css', '.css', $file );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
223 |
}
|
224 |
+
if ( null === $Url ) {
|
225 |
+
$Url = plugins_url( 'css/', dirname( __FILE__ ) );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
226 |
}
|
227 |
+
|
228 |
+
return $Url . $file;
|
229 |
}
|
230 |
|
231 |
/**
|
232 |
+
* Returns the full URL to an internal JS file of the code library.
|
|
|
|
|
233 |
*
|
234 |
+
* @since 1.0.0
|
235 |
+
* @internal
|
236 |
*
|
237 |
+
* @param string $file The filename, relative to this plugins folder.
|
238 |
+
* @return string
|
|
|
|
|
239 |
*/
|
240 |
+
protected function _js_url( $file ) {
|
241 |
+
static $Url = null;
|
|
|
|
|
|
|
|
|
242 |
|
243 |
+
if ( defined( 'WDEV_UNMINIFIED' ) && WDEV_UNMINIFIED ) {
|
244 |
+
$file = str_replace( '.min.js', '.js', $file );
|
|
|
245 |
}
|
246 |
+
if ( null === $Url ) {
|
247 |
+
$Url = plugins_url( 'js/', dirname( __FILE__ ) );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
248 |
}
|
249 |
|
250 |
+
return $Url . $file;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
251 |
}
|
252 |
|
253 |
/**
|
254 |
+
* Returns the full path to an internal php partial of the code library.
|
|
|
255 |
*
|
256 |
+
* @since 1.0.0
|
257 |
+
* @internal
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
258 |
*
|
259 |
+
* @param string $file The filename, relative to this plugins folder.
|
260 |
+
* @return string
|
|
|
261 |
*/
|
262 |
+
protected function _view_path( $file ) {
|
263 |
+
static $Path = null;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
264 |
|
265 |
+
if ( null === $Path ) {
|
266 |
+
$basedir = dirname( dirname( __FILE__ ) ) . '/';
|
267 |
+
$Path = $basedir . 'view/';
|
268 |
}
|
269 |
|
270 |
+
return $Path . $file;
|
271 |
}
|
272 |
|
273 |
/**
|
274 |
+
* Adds or executes an action.
|
275 |
*
|
276 |
+
* @since 1.1.3
|
277 |
+
* @api
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
278 |
*
|
279 |
+
* @param string $tag The action-name.
|
280 |
+
* @param string $function Function name (must be a class function)
|
281 |
+
* @param int $priority Execution priority. Lower is earlier.
|
|
|
282 |
*/
|
283 |
+
protected function add_action( $tag, $function, $priority = 10 ) {
|
284 |
+
$hooked = $this->_have( '_hooked_action-' . $tag );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
285 |
|
286 |
+
if ( did_action( $tag ) ) {
|
287 |
+
$this->$function();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
288 |
} else {
|
289 |
+
$this->_add( '_hooked_action-' . $tag, true );
|
290 |
+
add_action( $tag, array( $this, $function ), $priority );
|
|
|
|
|
|
|
291 |
}
|
|
|
|
|
292 |
}
|
293 |
+
|
294 |
+
};
|
inc/external/wpmu-lib/js/{select2.js → select2.2.js}
RENAMED
@@ -1,6 +1,6 @@
|
|
1 |
-
/*! WPMU Dev code library -
|
2 |
* http://premium.wpmudev.org/
|
3 |
-
* Copyright (c)
|
4 |
/*!
|
5 |
https://github.com/ivaynberg/select2/releases
|
6 |
Copyright 2012 Igor Vaynberg
|
1 |
+
/*! WPMU Dev code library - v2.0.3
|
2 |
* http://premium.wpmudev.org/
|
3 |
+
* Copyright (c) 2015; * Licensed GPLv2+ */
|
4 |
/*!
|
5 |
https://github.com/ivaynberg/select2/releases
|
6 |
Copyright 2012 Igor Vaynberg
|
inc/external/wpmu-lib/js/{select2.min.js → select2.2.min.js}
RENAMED
@@ -1,5 +1,5 @@
|
|
1 |
-
/*! WPMU Dev code library -
|
2 |
* http://premium.wpmudev.org/
|
3 |
-
* Copyright (c)
|
4 |
(function(e){e.fn.each2===void 0&&e.extend(e.fn,{each2:function(t){for(var s=e([0]),i=-1,n=this.length;n>++i&&(s.context=s[0]=this[i])&&t.call(s[0],i,s)!==!1;);return this}})})(jQuery),function(e,t){"use strict";function s(t){var s=e(document.createTextNode(""));t.before(s),s.before(t),s.remove()}function i(e){function t(e){return j[e]||e}return e.replace(/[^\u0000-\u007E]/g,t)}function n(e,t){for(var s=0,i=t.length;i>s;s+=1)if(a(e,t[s]))return s;return-1}function o(){var t=e(z);t.appendTo("body");var s={width:t.width()-t[0].clientWidth,height:t.height()-t[0].clientHeight};return t.remove(),s}function a(e,s){return e===s?!0:e===t||s===t?!1:null===e||null===s?!1:e.constructor===String?e+""==s+"":s.constructor===String?s+""==e+"":!1}function r(t,s){var i,n,o;if(null===t||1>t.length)return[];for(i=t.split(s),n=0,o=i.length;o>n;n+=1)i[n]=e.trim(i[n]);return i}function c(e){return e.outerWidth(!1)-e.width()}function l(s){var i="keyup-change-value";s.on("keydown",function(){e.data(s,i)===t&&e.data(s,i,s.val())}),s.on("keyup",function(){var n=e.data(s,i);n!==t&&s.val()!==n&&(e.removeData(s,i),s.trigger("keyup-change"))})}function h(s){s.on("mousemove",function(s){var i=F;(i===t||i.x!==s.pageX||i.y!==s.pageY)&&e(s.target).trigger("mousemove-filtered",s)})}function u(e,s,i){i=i||t;var n;return function(){var t=arguments;window.clearTimeout(n),n=window.setTimeout(function(){s.apply(i,t)},e)}}function d(e,t){var s=u(e,function(e){t.trigger("scroll-debounced",e)});t.on("scroll",function(e){n(e.target,t.get())>=0&&s(e)})}function p(e){e[0]!==document.activeElement&&window.setTimeout(function(){var t,s=e[0],i=e.val().length;e.focus();var n=s.offsetWidth>0||s.offsetHeight>0;n&&s===document.activeElement&&(s.setSelectionRange?s.setSelectionRange(i,i):s.createTextRange&&(t=s.createTextRange(),t.collapse(!1),t.select()))},0)}function f(t){t=e(t)[0];var s=0,i=0;if("selectionStart"in t)s=t.selectionStart,i=t.selectionEnd-s;else if("selection"in document){t.focus();var n=document.selection.createRange();i=document.selection.createRange().text.length,n.moveStart("character",-t.value.length),s=n.text.length-i}return{offset:s,length:i}}function g(e){e.preventDefault(),e.stopPropagation()}function m(e){e.preventDefault(),e.stopImmediatePropagation()}function v(t){if(!L){var s=t[0].currentStyle||window.getComputedStyle(t[0],null);L=e(document.createElement("div")).css({position:"absolute",left:"-10000px",top:"-10000px",display:"none",fontSize:s.fontSize,fontFamily:s.fontFamily,fontStyle:s.fontStyle,fontWeight:s.fontWeight,letterSpacing:s.letterSpacing,textTransform:s.textTransform,whiteSpace:"nowrap"}),L.attr("class","select2-sizer"),e("body").append(L)}return L.text(t.val()),L.width()}function b(t,s,i){var n,o,a=[];n=e.trim(t.attr("class")),n&&(n=""+n,e(n.split(/\s+/)).each2(function(){0===this.indexOf("select2-")&&a.push(this)})),n=e.trim(s.attr("class")),n&&(n=""+n,e(n.split(/\s+/)).each2(function(){0!==this.indexOf("select2-")&&(o=i(this),o&&a.push(o))})),t.attr("class",a.join(" "))}function w(e,s,n,o){var a=i(e.toUpperCase()).indexOf(i(s.toUpperCase())),r=s.length;return 0>a?(n.push(o(e)),t):(n.push(o(e.substring(0,a))),n.push("<span class='select2-match'>"),n.push(o(e.substring(a,a+r))),n.push("</span>"),n.push(o(e.substring(a+r,e.length))),t)}function C(e){var t={"\\":"\","&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};return(e+"").replace(/[&<>"'\/\\]/g,function(e){return t[e]})}function S(s){var i,n=null,o=s.quietMillis||100,a=s.url,r=this;return function(c){window.clearTimeout(i),i=window.setTimeout(function(){var i=s.data,o=a,l=s.transport||e.fn.select2.ajaxDefaults.transport,h={type:s.type||"GET",cache:s.cache||!1,jsonpCallback:s.jsonpCallback||t,dataType:s.dataType||"json"},u=e.extend({},e.fn.select2.ajaxDefaults.params,h);i=i?i.call(r,c.term,c.page,c.context):null,o="function"==typeof o?o.call(r,c.term,c.page,c.context):o,n&&"function"==typeof n.abort&&n.abort(),s.params&&(e.isFunction(s.params)?e.extend(u,s.params.call(r)):e.extend(u,s.params)),e.extend(u,{url:o,dataType:s.dataType,data:i,success:function(e){var t=s.results(e,c.page,c);c.callback(t)},error:function(e,t,s){var i={hasError:!0,jqXHR:e,textStatus:t,errorThrown:s};c.callback(i)}}),n=l.call(r,u)},o)}}function y(s){var i,n,o=s,a=function(e){return""+e.text};e.isArray(o)&&(n=o,o={results:n}),e.isFunction(o)===!1&&(n=o,o=function(){return n});var r=o();return r.text&&(a=r.text,e.isFunction(a)||(i=r.text,a=function(e){return e[i]})),function(s){var i,n=s.term,r={results:[]};return""===n?(s.callback(o()),t):(i=function(t,o){var r,c;if(t=t[0],t.children){r={};for(c in t)t.hasOwnProperty(c)&&(r[c]=t[c]);r.children=[],e(t.children).each2(function(e,t){i(t,r.children)}),(r.children.length||s.matcher(n,a(r),t))&&o.push(r)}else s.matcher(n,a(t),t)&&o.push(t)},e(o().results).each2(function(e,t){i(t,r.results)}),s.callback(r),t)}}function E(s){var i=e.isFunction(s);return function(n){var o=n.term,a={results:[]},r=i?s(n):s;e.isArray(r)&&(e(r).each(function(){var e=this.text!==t,s=e?this.text:this;(""===o||n.matcher(o,s))&&a.results.push(e?this:{id:this,text:this})}),n.callback(a))}}function x(t,s){if(e.isFunction(t))return!0;if(!t)return!1;if("string"==typeof t)return!0;throw Error(s+" must be a string, function, or falsy value")}function T(t,s){if(e.isFunction(t)){var i=Array.prototype.slice.call(arguments,2);return t.apply(s,i)}return t}function O(t){var s=0;return e.each(t,function(e,t){t.children?s+=O(t.children):s++}),s}function P(e,s,i,n){var o,r,c,l,h,u=e,d=!1;if(!n.createSearchChoice||!n.tokenSeparators||1>n.tokenSeparators.length)return t;for(;;){for(r=-1,c=0,l=n.tokenSeparators.length;l>c&&(h=n.tokenSeparators[c],r=e.indexOf(h),!(r>=0));c++);if(0>r)break;if(o=e.substring(0,r),e=e.substring(r+h.length),o.length>0&&(o=n.createSearchChoice.call(this,o,s),o!==t&&null!==o&&n.id(o)!==t&&null!==n.id(o))){for(d=!1,c=0,l=s.length;l>c;c++)if(a(n.id(o),n.id(s[c]))){d=!0;break}d||i(o)}}return u!==e?e:t}function I(){var t=this;e.each(arguments,function(e,s){t[s].remove(),t[s]=null})}function k(t,s){var i=function(){};return i.prototype=new t,i.prototype.constructor=i,i.prototype.parent=t.prototype,i.prototype=e.extend(i.prototype,s),i}if(window.Select2===t){var A,R,D,H,M,L,N,U,F={x:0,y:0},A={TAB:9,ENTER:13,ESC:27,SPACE:32,LEFT:37,UP:38,RIGHT:39,DOWN:40,SHIFT:16,CTRL:17,ALT:18,PAGE_UP:33,PAGE_DOWN:34,HOME:36,END:35,BACKSPACE:8,DELETE:46,isArrow:function(e){switch(e=e.which?e.which:e){case A.LEFT:case A.RIGHT:case A.UP:case A.DOWN:return!0}return!1},isControl:function(e){var t=e.which;switch(t){case A.SHIFT:case A.CTRL:case A.ALT:return!0}return e.metaKey?!0:!1},isFunctionKey:function(e){return e=e.which?e.which:e,e>=112&&123>=e}},z="<div class='select2-measure-scrollbar'></div>",j={"Ⓐ":"A","A":"A","À":"A","Á":"A","Â":"A","Ầ":"A","Ấ":"A","Ẫ":"A","Ẩ":"A","Ã":"A","Ā":"A","Ă":"A","Ằ":"A","Ắ":"A","Ẵ":"A","Ẳ":"A","Ȧ":"A","Ǡ":"A","Ä":"A","Ǟ":"A","Ả":"A","Å":"A","Ǻ":"A","Ǎ":"A","Ȁ":"A","Ȃ":"A","Ạ":"A","Ậ":"A","Ặ":"A","Ḁ":"A","Ą":"A","Ⱥ":"A","Ɐ":"A","Ꜳ":"AA","Æ":"AE","Ǽ":"AE","Ǣ":"AE","Ꜵ":"AO","Ꜷ":"AU","Ꜹ":"AV","Ꜻ":"AV","Ꜽ":"AY","Ⓑ":"B","B":"B","Ḃ":"B","Ḅ":"B","Ḇ":"B","Ƀ":"B","Ƃ":"B","Ɓ":"B","Ⓒ":"C","C":"C","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","Ç":"C","Ḉ":"C","Ƈ":"C","Ȼ":"C","Ꜿ":"C","Ⓓ":"D","D":"D","Ḋ":"D","Ď":"D","Ḍ":"D","Ḑ":"D","Ḓ":"D","Ḏ":"D","Đ":"D","Ƌ":"D","Ɗ":"D","Ɖ":"D","Ꝺ":"D","DZ":"DZ","DŽ":"DZ","Dz":"Dz","Dž":"Dz","Ⓔ":"E","E":"E","È":"E","É":"E","Ê":"E","Ề":"E","Ế":"E","Ễ":"E","Ể":"E","Ẽ":"E","Ē":"E","Ḕ":"E","Ḗ":"E","Ĕ":"E","Ė":"E","Ë":"E","Ẻ":"E","Ě":"E","Ȅ":"E","Ȇ":"E","Ẹ":"E","Ệ":"E","Ȩ":"E","Ḝ":"E","Ę":"E","Ḙ":"E","Ḛ":"E","Ɛ":"E","Ǝ":"E","Ⓕ":"F","F":"F","Ḟ":"F","Ƒ":"F","Ꝼ":"F","Ⓖ":"G","G":"G","Ǵ":"G","Ĝ":"G","Ḡ":"G","Ğ":"G","Ġ":"G","Ǧ":"G","Ģ":"G","Ǥ":"G","Ɠ":"G","Ꞡ":"G","Ᵹ":"G","Ꝿ":"G","Ⓗ":"H","H":"H","Ĥ":"H","Ḣ":"H","Ḧ":"H","Ȟ":"H","Ḥ":"H","Ḩ":"H","Ḫ":"H","Ħ":"H","Ⱨ":"H","Ⱶ":"H","Ɥ":"H","Ⓘ":"I","I":"I","Ì":"I","Í":"I","Î":"I","Ĩ":"I","Ī":"I","Ĭ":"I","İ":"I","Ï":"I","Ḯ":"I","Ỉ":"I","Ǐ":"I","Ȉ":"I","Ȋ":"I","Ị":"I","Į":"I","Ḭ":"I","Ɨ":"I","Ⓙ":"J","J":"J","Ĵ":"J","Ɉ":"J","Ⓚ":"K","K":"K","Ḱ":"K","Ǩ":"K","Ḳ":"K","Ķ":"K","Ḵ":"K","Ƙ":"K","Ⱪ":"K","Ꝁ":"K","Ꝃ":"K","Ꝅ":"K","Ꞣ":"K","Ⓛ":"L","L":"L","Ŀ":"L","Ĺ":"L","Ľ":"L","Ḷ":"L","Ḹ":"L","Ļ":"L","Ḽ":"L","Ḻ":"L","Ł":"L","Ƚ":"L","Ɫ":"L","Ⱡ":"L","Ꝉ":"L","Ꝇ":"L","Ꞁ":"L","LJ":"LJ","Lj":"Lj","Ⓜ":"M","M":"M","Ḿ":"M","Ṁ":"M","Ṃ":"M","Ɱ":"M","Ɯ":"M","Ⓝ":"N","N":"N","Ǹ":"N","Ń":"N","Ñ":"N","Ṅ":"N","Ň":"N","Ṇ":"N","Ņ":"N","Ṋ":"N","Ṉ":"N","Ƞ":"N","Ɲ":"N","Ꞑ":"N","Ꞥ":"N","NJ":"NJ","Nj":"Nj","Ⓞ":"O","O":"O","Ò":"O","Ó":"O","Ô":"O","Ồ":"O","Ố":"O","Ỗ":"O","Ổ":"O","Õ":"O","Ṍ":"O","Ȭ":"O","Ṏ":"O","Ō":"O","Ṑ":"O","Ṓ":"O","Ŏ":"O","Ȯ":"O","Ȱ":"O","Ö":"O","Ȫ":"O","Ỏ":"O","Ő":"O","Ǒ":"O","Ȍ":"O","Ȏ":"O","Ơ":"O","Ờ":"O","Ớ":"O","Ỡ":"O","Ở":"O","Ợ":"O","Ọ":"O","Ộ":"O","Ǫ":"O","Ǭ":"O","Ø":"O","Ǿ":"O","Ɔ":"O","Ɵ":"O","Ꝋ":"O","Ꝍ":"O","Ƣ":"OI","Ꝏ":"OO","Ȣ":"OU","Ⓟ":"P","P":"P","Ṕ":"P","Ṗ":"P","Ƥ":"P","Ᵽ":"P","Ꝑ":"P","Ꝓ":"P","Ꝕ":"P","Ⓠ":"Q","Q":"Q","Ꝗ":"Q","Ꝙ":"Q","Ɋ":"Q","Ⓡ":"R","R":"R","Ŕ":"R","Ṙ":"R","Ř":"R","Ȑ":"R","Ȓ":"R","Ṛ":"R","Ṝ":"R","Ŗ":"R","Ṟ":"R","Ɍ":"R","Ɽ":"R","Ꝛ":"R","Ꞧ":"R","Ꞃ":"R","Ⓢ":"S","S":"S","ẞ":"S","Ś":"S","Ṥ":"S","Ŝ":"S","Ṡ":"S","Š":"S","Ṧ":"S","Ṣ":"S","Ṩ":"S","Ș":"S","Ş":"S","Ȿ":"S","Ꞩ":"S","Ꞅ":"S","Ⓣ":"T","T":"T","Ṫ":"T","Ť":"T","Ṭ":"T","Ț":"T","Ţ":"T","Ṱ":"T","Ṯ":"T","Ŧ":"T","Ƭ":"T","Ʈ":"T","Ⱦ":"T","Ꞇ":"T","Ꜩ":"TZ","Ⓤ":"U","U":"U","Ù":"U","Ú":"U","Û":"U","Ũ":"U","Ṹ":"U","Ū":"U","Ṻ":"U","Ŭ":"U","Ü":"U","Ǜ":"U","Ǘ":"U","Ǖ":"U","Ǚ":"U","Ủ":"U","Ů":"U","Ű":"U","Ǔ":"U","Ȕ":"U","Ȗ":"U","Ư":"U","Ừ":"U","Ứ":"U","Ữ":"U","Ử":"U","Ự":"U","Ụ":"U","Ṳ":"U","Ų":"U","Ṷ":"U","Ṵ":"U","Ʉ":"U","Ⓥ":"V","V":"V","Ṽ":"V","Ṿ":"V","Ʋ":"V","Ꝟ":"V","Ʌ":"V","Ꝡ":"VY","Ⓦ":"W","W":"W","Ẁ":"W","Ẃ":"W","Ŵ":"W","Ẇ":"W","Ẅ":"W","Ẉ":"W","Ⱳ":"W","Ⓧ":"X","X":"X","Ẋ":"X","Ẍ":"X","Ⓨ":"Y","Y":"Y","Ỳ":"Y","Ý":"Y","Ŷ":"Y","Ỹ":"Y","Ȳ":"Y","Ẏ":"Y","Ÿ":"Y","Ỷ":"Y","Ỵ":"Y","Ƴ":"Y","Ɏ":"Y","Ỿ":"Y","Ⓩ":"Z","Z":"Z","Ź":"Z","Ẑ":"Z","Ż":"Z","Ž":"Z","Ẓ":"Z","Ẕ":"Z","Ƶ":"Z","Ȥ":"Z","Ɀ":"Z","Ⱬ":"Z","Ꝣ":"Z","ⓐ":"a","a":"a","ẚ":"a","à":"a","á":"a","â":"a","ầ":"a","ấ":"a","ẫ":"a","ẩ":"a","ã":"a","ā":"a","ă":"a","ằ":"a","ắ":"a","ẵ":"a","ẳ":"a","ȧ":"a","ǡ":"a","ä":"a","ǟ":"a","ả":"a","å":"a","ǻ":"a","ǎ":"a","ȁ":"a","ȃ":"a","ạ":"a","ậ":"a","ặ":"a","ḁ":"a","ą":"a","ⱥ":"a","ɐ":"a","ꜳ":"aa","æ":"ae","ǽ":"ae","ǣ":"ae","ꜵ":"ao","ꜷ":"au","ꜹ":"av","ꜻ":"av","ꜽ":"ay","ⓑ":"b","b":"b","ḃ":"b","ḅ":"b","ḇ":"b","ƀ":"b","ƃ":"b","ɓ":"b","ⓒ":"c","c":"c","ć":"c","ĉ":"c","ċ":"c","č":"c","ç":"c","ḉ":"c","ƈ":"c","ȼ":"c","ꜿ":"c","ↄ":"c","ⓓ":"d","d":"d","ḋ":"d","ď":"d","ḍ":"d","ḑ":"d","ḓ":"d","ḏ":"d","đ":"d","ƌ":"d","ɖ":"d","ɗ":"d","ꝺ":"d","dz":"dz","dž":"dz","ⓔ":"e","e":"e","è":"e","é":"e","ê":"e","ề":"e","ế":"e","ễ":"e","ể":"e","ẽ":"e","ē":"e","ḕ":"e","ḗ":"e","ĕ":"e","ė":"e","ë":"e","ẻ":"e","ě":"e","ȅ":"e","ȇ":"e","ẹ":"e","ệ":"e","ȩ":"e","ḝ":"e","ę":"e","ḙ":"e","ḛ":"e","ɇ":"e","ɛ":"e","ǝ":"e","ⓕ":"f","f":"f","ḟ":"f","ƒ":"f","ꝼ":"f","ⓖ":"g","g":"g","ǵ":"g","ĝ":"g","ḡ":"g","ğ":"g","ġ":"g","ǧ":"g","ģ":"g","ǥ":"g","ɠ":"g","ꞡ":"g","ᵹ":"g","ꝿ":"g","ⓗ":"h","h":"h","ĥ":"h","ḣ":"h","ḧ":"h","ȟ":"h","ḥ":"h","ḩ":"h","ḫ":"h","ẖ":"h","ħ":"h","ⱨ":"h","ⱶ":"h","ɥ":"h","ƕ":"hv","ⓘ":"i","i":"i","ì":"i","í":"i","î":"i","ĩ":"i","ī":"i","ĭ":"i","ï":"i","ḯ":"i","ỉ":"i","ǐ":"i","ȉ":"i","ȋ":"i","ị":"i","į":"i","ḭ":"i","ɨ":"i","ı":"i","ⓙ":"j","j":"j","ĵ":"j","ǰ":"j","ɉ":"j","ⓚ":"k","k":"k","ḱ":"k","ǩ":"k","ḳ":"k","ķ":"k","ḵ":"k","ƙ":"k","ⱪ":"k","ꝁ":"k","ꝃ":"k","ꝅ":"k","ꞣ":"k","ⓛ":"l","l":"l","ŀ":"l","ĺ":"l","ľ":"l","ḷ":"l","ḹ":"l","ļ":"l","ḽ":"l","ḻ":"l","ſ":"l","ł":"l","ƚ":"l","ɫ":"l","ⱡ":"l","ꝉ":"l","ꞁ":"l","ꝇ":"l","lj":"lj","ⓜ":"m","m":"m","ḿ":"m","ṁ":"m","ṃ":"m","ɱ":"m","ɯ":"m","ⓝ":"n","n":"n","ǹ":"n","ń":"n","ñ":"n","ṅ":"n","ň":"n","ṇ":"n","ņ":"n","ṋ":"n","ṉ":"n","ƞ":"n","ɲ":"n","ʼn":"n","ꞑ":"n","ꞥ":"n","nj":"nj","ⓞ":"o","o":"o","ò":"o","ó":"o","ô":"o","ồ":"o","ố":"o","ỗ":"o","ổ":"o","õ":"o","ṍ":"o","ȭ":"o","ṏ":"o","ō":"o","ṑ":"o","ṓ":"o","ŏ":"o","ȯ":"o","ȱ":"o","ö":"o","ȫ":"o","ỏ":"o","ő":"o","ǒ":"o","ȍ":"o","ȏ":"o","ơ":"o","ờ":"o","ớ":"o","ỡ":"o","ở":"o","ợ":"o","ọ":"o","ộ":"o","ǫ":"o","ǭ":"o","ø":"o","ǿ":"o","ɔ":"o","ꝋ":"o","ꝍ":"o","ɵ":"o","ƣ":"oi","ȣ":"ou","ꝏ":"oo","ⓟ":"p","p":"p","ṕ":"p","ṗ":"p","ƥ":"p","ᵽ":"p","ꝑ":"p","ꝓ":"p","ꝕ":"p","ⓠ":"q","q":"q","ɋ":"q","ꝗ":"q","ꝙ":"q","ⓡ":"r","r":"r","ŕ":"r","ṙ":"r","ř":"r","ȑ":"r","ȓ":"r","ṛ":"r","ṝ":"r","ŗ":"r","ṟ":"r","ɍ":"r","ɽ":"r","ꝛ":"r","ꞧ":"r","ꞃ":"r","ⓢ":"s","s":"s","ß":"s","ś":"s","ṥ":"s","ŝ":"s","ṡ":"s","š":"s","ṧ":"s","ṣ":"s","ṩ":"s","ș":"s","ş":"s","ȿ":"s","ꞩ":"s","ꞅ":"s","ẛ":"s","ⓣ":"t","t":"t","ṫ":"t","ẗ":"t","ť":"t","ṭ":"t","ț":"t","ţ":"t","ṱ":"t","ṯ":"t","ŧ":"t","ƭ":"t","ʈ":"t","ⱦ":"t","ꞇ":"t","ꜩ":"tz","ⓤ":"u","u":"u","ù":"u","ú":"u","û":"u","ũ":"u","ṹ":"u","ū":"u","ṻ":"u","ŭ":"u","ü":"u","ǜ":"u","ǘ":"u","ǖ":"u","ǚ":"u","ủ":"u","ů":"u","ű":"u","ǔ":"u","ȕ":"u","ȗ":"u","ư":"u","ừ":"u","ứ":"u","ữ":"u","ử":"u","ự":"u","ụ":"u","ṳ":"u","ų":"u","ṷ":"u","ṵ":"u","ʉ":"u","ⓥ":"v","v":"v","ṽ":"v","ṿ":"v","ʋ":"v","ꝟ":"v","ʌ":"v","ꝡ":"vy","ⓦ":"w","w":"w","ẁ":"w","ẃ":"w","ŵ":"w","ẇ":"w","ẅ":"w","ẘ":"w","ẉ":"w","ⱳ":"w","ⓧ":"x","x":"x","ẋ":"x","ẍ":"x","ⓨ":"y","y":"y","ỳ":"y","ý":"y","ŷ":"y","ỹ":"y","ȳ":"y","ẏ":"y","ÿ":"y","ỷ":"y","ẙ":"y","ỵ":"y","ƴ":"y","ɏ":"y","ỿ":"y","ⓩ":"z","z":"z","ź":"z","ẑ":"z","ż":"z","ž":"z","ẓ":"z","ẕ":"z","ƶ":"z","ȥ":"z","ɀ":"z","ⱬ":"z","ꝣ":"z","Ά":"Α","Έ":"Ε","Ή":"Η","Ί":"Ι","Ϊ":"Ι","Ό":"Ο","Ύ":"Υ","Ϋ":"Υ","Ώ":"Ω","ά":"α","έ":"ε","ή":"η","ί":"ι","ϊ":"ι","ΐ":"ι","ό":"ο","ύ":"υ","ϋ":"υ","ΰ":"υ","ω":"ω","ς":"σ"};N=e(document),M=function(){var e=1;return function(){return e++}}(),R=k(Object,{bind:function(e){var t=this;return function(){e.apply(t,arguments)}},init:function(s){var i,n,a=".select2-results";this.opts=s=this.prepareOpts(s),this.id=s.id,s.element.data("select2")!==t&&null!==s.element.data("select2")&&s.element.data("select2").destroy(),this.container=this.createContainer(),this.liveRegion=e("<span>",{role:"status","aria-live":"polite"}).addClass("select2-hidden-accessible").appendTo(document.body),this.containerId="s2id_"+(s.element.attr("id")||"autogen"+M()),this.containerEventName=this.containerId.replace(/([.])/g,"_").replace(/([;&,\-\.\+\*\~':"\!\^#$%@\[\]\(\)=>\|])/g,"\\$1"),this.container.attr("id",this.containerId),this.container.attr("title",s.element.attr("title")),this.body=e("body"),b(this.container,this.opts.element,this.opts.adaptContainerCssClass),this.container.attr("style",s.element.attr("style")),this.container.css(T(s.containerCss,this.opts.element)),this.container.addClass(T(s.containerCssClass,this.opts.element)),this.elementTabIndex=this.opts.element.attr("tabindex"),this.opts.element.data("select2",this).attr("tabindex","-1").before(this.container).on("click.select2",g),this.container.data("select2",this),this.dropdown=this.container.find(".select2-drop"),b(this.dropdown,this.opts.element,this.opts.adaptDropdownCssClass),this.dropdown.addClass(T(s.dropdownCssClass,this.opts.element)),this.dropdown.data("select2",this),this.dropdown.on("click",g),this.results=i=this.container.find(a),this.search=n=this.container.find("input.select2-input"),this.queryCount=0,this.resultsPage=0,this.context=null,this.initContainer(),this.container.on("click",g),h(this.results),this.dropdown.on("mousemove-filtered",a,this.bind(this.highlightUnderEvent)),this.dropdown.on("touchstart touchmove touchend",a,this.bind(function(e){this._touchEvent=!0,this.highlightUnderEvent(e)})),this.dropdown.on("touchmove",a,this.bind(this.touchMoved)),this.dropdown.on("touchstart touchend",a,this.bind(this.clearTouchMoved)),this.dropdown.on("click",this.bind(function(){this._touchEvent&&(this._touchEvent=!1,this.selectHighlighted())})),d(80,this.results),this.dropdown.on("scroll-debounced",a,this.bind(this.loadMoreIfNeeded)),e(this.container).on("change",".select2-input",function(e){e.stopPropagation()}),e(this.dropdown).on("change",".select2-input",function(e){e.stopPropagation()}),e.fn.mousewheel&&i.mousewheel(function(e,t,s,n){var o=i.scrollTop();n>0&&0>=o-n?(i.scrollTop(0),g(e)):0>n&&i.get(0).scrollHeight-i.scrollTop()+n<=i.height()&&(i.scrollTop(i.get(0).scrollHeight-i.height()),g(e))}),l(n),n.on("keyup-change input paste",this.bind(this.updateResults)),n.on("focus",function(){n.addClass("select2-focused")}),n.on("blur",function(){n.removeClass("select2-focused")}),this.dropdown.on("mouseup",a,this.bind(function(t){e(t.target).closest(".select2-result-selectable").length>0&&(this.highlightUnderEvent(t),this.selectHighlighted(t))})),this.dropdown.on("click mouseup mousedown touchstart touchend focusin",function(e){e.stopPropagation()}),this.nextSearchTerm=t,e.isFunction(this.opts.initSelection)&&(this.initSelection(),this.monitorSource()),null!==s.maximumInputLength&&this.search.attr("maxlength",s.maximumInputLength);var r=s.element.prop("disabled");r===t&&(r=!1),this.enable(!r);var c=s.element.prop("readonly");c===t&&(c=!1),this.readonly(c),U=U||o(),this.autofocus=s.element.prop("autofocus"),s.element.prop("autofocus",!1),this.autofocus&&this.focus(),this.search.attr("placeholder",s.searchInputPlaceholder)},destroy:function(){var e=this.opts.element,s=e.data("select2"),i=this;this.close(),e.length&&e[0].detachEvent&&e.each(function(){this.detachEvent("onpropertychange",i._sync)}),this.propertyObserver&&(this.propertyObserver.disconnect(),this.propertyObserver=null),this._sync=null,s!==t&&(s.container.remove(),s.liveRegion.remove(),s.dropdown.remove(),e.removeClass("select2-offscreen").removeData("select2").off(".select2").prop("autofocus",this.autofocus||!1),this.elementTabIndex?e.attr({tabindex:this.elementTabIndex}):e.removeAttr("tabindex"),e.show()),I.call(this,"container","liveRegion","dropdown","results","search")},optionToData:function(e){return e.is("option")?{id:e.prop("value"),text:e.text(),element:e.get(),css:e.attr("class"),disabled:e.prop("disabled"),locked:a(e.attr("locked"),"locked")||a(e.data("locked"),!0)}:e.is("optgroup")?{text:e.attr("label"),children:[],element:e.get(),css:e.attr("class")}:t},prepareOpts:function(s){var i,n,o,c,l=this;if(i=s.element,"select"===i.get(0).tagName.toLowerCase()&&(this.select=n=s.element),n&&e.each(["id","multiple","ajax","query","createSearchChoice","initSelection","data","tags"],function(){if(this in s)throw Error("Option '"+this+"' is not allowed for Select2 when attached to a <select> element.")}),s=e.extend({},{populateResults:function(i,n,o){var a,r=this.opts.id,c=this.liveRegion;a=function(i,n,h){var u,d,p,f,g,m,v,b,w,C;i=s.sortResults(i,n,o);var S=[];for(u=0,d=i.length;d>u;u+=1)p=i[u],g=p.disabled===!0,f=!g&&r(p)!==t,m=p.children&&p.children.length>0,v=e("<li></li>"),v.addClass("select2-results-dept-"+h),v.addClass("select2-result"),v.addClass(f?"select2-result-selectable":"select2-result-unselectable"),g&&v.addClass("select2-disabled"),m&&v.addClass("select2-result-with-children"),v.addClass(l.opts.formatResultCssClass(p)),v.attr("role","presentation"),b=e(document.createElement("div")),b.addClass("select2-result-label"),b.attr("id","select2-result-label-"+M()),b.attr("role","option"),C=s.formatResult(p,b,o,l.opts.escapeMarkup),C!==t&&(b.html(C),v.append(b)),m&&(w=e("<ul></ul>"),w.addClass("select2-result-sub"),a(p.children,w,h+1),v.append(w)),v.data("select2-data",p),S.push(v[0]);n.append(S),c.text(s.formatMatches(i.length))},a(n,i,0)}},e.fn.select2.defaults,s),"function"!=typeof s.id&&(o=s.id,s.id=function(e){return e[o]}),e.isArray(s.element.data("select2Tags"))){if("tags"in s)throw"tags specified as both an attribute 'data-select2-tags' and in options of Select2 "+s.element.attr("id");s.tags=s.element.data("select2Tags")}if(n?(s.query=this.bind(function(e){var s,n,o,a={results:[],more:!1},r=e.term;o=function(t,s){var i;t.is("option")?e.matcher(r,t.text(),t)&&s.push(l.optionToData(t)):t.is("optgroup")&&(i=l.optionToData(t),t.children().each2(function(e,t){o(t,i.children)}),i.children.length>0&&s.push(i))},s=i.children(),this.getPlaceholder()!==t&&s.length>0&&(n=this.getPlaceholderOption(),n&&(s=s.not(n))),s.each2(function(e,t){o(t,a.results)}),e.callback(a)}),s.id=function(e){return e.id}):"query"in s||("ajax"in s?(c=s.element.data("ajax-url"),c&&c.length>0&&(s.ajax.url=c),s.query=S.call(s.element,s.ajax)):"data"in s?s.query=y(s.data):"tags"in s&&(s.query=E(s.tags),s.createSearchChoice===t&&(s.createSearchChoice=function(t){return{id:e.trim(t),text:e.trim(t)}}),s.initSelection===t&&(s.initSelection=function(i,n){var o=[];e(r(i.val(),s.separator)).each(function(){var i={id:this,text:this},n=s.tags;e.isFunction(n)&&(n=n()),e(n).each(function(){return a(this.id,i.id)?(i=this,!1):t}),o.push(i)}),n(o)}))),"function"!=typeof s.query)throw"query function not defined for Select2 "+s.element.attr("id");if("top"===s.createSearchChoicePosition)s.createSearchChoicePosition=function(e,t){e.unshift(t)};else if("bottom"===s.createSearchChoicePosition)s.createSearchChoicePosition=function(e,t){e.push(t)};else if("function"!=typeof s.createSearchChoicePosition)throw"invalid createSearchChoicePosition option must be 'top', 'bottom' or a custom function";return s},monitorSource:function(){var s,i=this.opts.element,n=this;i.on("change.select2",this.bind(function(){this.opts.element.data("select2-change-triggered")!==!0&&this.initSelection()})),this._sync=this.bind(function(){var e=i.prop("disabled");e===t&&(e=!1),this.enable(!e);var s=i.prop("readonly");s===t&&(s=!1),this.readonly(s),b(this.container,this.opts.element,this.opts.adaptContainerCssClass),this.container.addClass(T(this.opts.containerCssClass,this.opts.element)),b(this.dropdown,this.opts.element,this.opts.adaptDropdownCssClass),this.dropdown.addClass(T(this.opts.dropdownCssClass,this.opts.element))}),i.length&&i[0].attachEvent&&i.each(function(){this.attachEvent("onpropertychange",n._sync)}),s=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver,s!==t&&(this.propertyObserver&&(delete this.propertyObserver,this.propertyObserver=null),this.propertyObserver=new s(function(t){e.each(t,n._sync)}),this.propertyObserver.observe(i.get(0),{attributes:!0,subtree:!1}))},triggerSelect:function(t){var s=e.Event("select2-selecting",{val:this.id(t),object:t,choice:t});return this.opts.element.trigger(s),!s.isDefaultPrevented()},triggerChange:function(t){t=t||{},t=e.extend({},t,{type:"change",val:this.val()}),this.opts.element.data("select2-change-triggered",!0),this.opts.element.trigger(t),this.opts.element.data("select2-change-triggered",!1),this.opts.element.click(),this.opts.blurOnChange&&this.opts.element.blur()},isInterfaceEnabled:function(){return this.enabledInterface===!0},enableInterface:function(){var e=this._enabled&&!this._readonly,t=!e;return e===this.enabledInterface?!1:(this.container.toggleClass("select2-container-disabled",t),this.close(),this.enabledInterface=e,!0)},enable:function(e){e===t&&(e=!0),this._enabled!==e&&(this._enabled=e,this.opts.element.prop("disabled",!e),this.enableInterface())},disable:function(){this.enable(!1)},readonly:function(e){e===t&&(e=!1),this._readonly!==e&&(this._readonly=e,this.opts.element.prop("readonly",e),this.enableInterface())},opened:function(){return this.container?this.container.hasClass("select2-dropdown-open"):!1},positionDropdown:function(){var t,s,i,n,o,a=this.dropdown,r=this.container.offset(),c=this.container.outerHeight(!1),l=this.container.outerWidth(!1),h=a.outerHeight(!1),u=e(window),d=u.width(),p=u.height(),f=u.scrollLeft()+d,g=u.scrollTop()+p,m=r.top+c,v=r.left,b=g>=m+h,w=r.top-h>=u.scrollTop(),C=a.outerWidth(!1),S=f>=v+C,y=a.hasClass("select2-drop-above");y?(s=!0,!w&&b&&(i=!0,s=!1)):(s=!1,!b&&w&&(i=!0,s=!0)),i&&(a.hide(),r=this.container.offset(),c=this.container.outerHeight(!1),l=this.container.outerWidth(!1),h=a.outerHeight(!1),f=u.scrollLeft()+d,g=u.scrollTop()+p,m=r.top+c,v=r.left,C=a.outerWidth(!1),S=f>=v+C,a.show(),this.focusSearch()),this.opts.dropdownAutoWidth?(o=e(".select2-results",a)[0],a.addClass("select2-drop-auto-width"),a.css("width",""),C=a.outerWidth(!1)+(o.scrollHeight===o.clientHeight?0:U.width),C>l?l=C:C=l,h=a.outerHeight(!1),S=f>=v+C):this.container.removeClass("select2-drop-auto-width"),"static"!==this.body.css("position")&&(t=this.body.offset(),m-=t.top,v-=t.left),S||(v=r.left+this.container.outerWidth(!1)-C),n={left:v,width:l},s?(n.top=r.top-h,n.bottom="auto",this.container.addClass("select2-drop-above"),a.addClass("select2-drop-above")):(n.top=m,n.bottom="auto",this.container.removeClass("select2-drop-above"),a.removeClass("select2-drop-above")),n=e.extend(n,T(this.opts.dropdownCss,this.opts.element)),a.css(n)},shouldOpen:function(){var t;return this.opened()?!1:this._enabled===!1||this._readonly===!0?!1:(t=e.Event("select2-opening"),this.opts.element.trigger(t),!t.isDefaultPrevented())},clearDropdownAlignmentPreference:function(){this.container.removeClass("select2-drop-above"),this.dropdown.removeClass("select2-drop-above")},open:function(){return this.shouldOpen()?(this.opening(),N.on("mousemove.select2Event",function(e){F.x=e.pageX,F.y=e.pageY}),!0):!1},opening:function(){var t,i=this.containerEventName,n="scroll."+i,o="resize."+i,a="orientationchange."+i;this.container.addClass("select2-dropdown-open").addClass("select2-container-active"),this.clearDropdownAlignmentPreference(),this.dropdown[0]!==this.body.children().last()[0]&&this.dropdown.detach().appendTo(this.body),t=e("#select2-drop-mask"),0==t.length&&(t=e(document.createElement("div")),t.attr("id","select2-drop-mask").attr("class","select2-drop-mask"),t.hide(),t.appendTo(this.body),t.on("mousedown touchstart click",function(i){s(t);var n,o=e("#select2-drop");o.length>0&&(n=o.data("select2"),n.opts.selectOnBlur&&n.selectHighlighted({noFocus:!0}),n.close(),i.preventDefault(),i.stopPropagation())})),this.dropdown.prev()[0]!==t[0]&&this.dropdown.before(t),e("#select2-drop").removeAttr("id"),this.dropdown.attr("id","select2-drop"),t.show(),this.positionDropdown(),this.dropdown.show(),this.positionDropdown(),this.dropdown.addClass("select2-drop-active");var r=this;this.container.parents().add(window).each(function(){e(this).on(o+" "+n+" "+a,function(){r.opened()&&r.positionDropdown()})})},close:function(){if(this.opened()){var t=this.containerEventName,s="scroll."+t,i="resize."+t,n="orientationchange."+t;this.container.parents().add(window).each(function(){e(this).off(s).off(i).off(n)}),this.clearDropdownAlignmentPreference(),e("#select2-drop-mask").hide(),this.dropdown.removeAttr("id"),this.dropdown.hide(),this.container.removeClass("select2-dropdown-open").removeClass("select2-container-active"),this.results.empty(),N.off("mousemove.select2Event"),this.clearSearch(),this.search.removeClass("select2-active"),this.opts.element.trigger(e.Event("select2-close"))}},externalSearch:function(e){this.open(),this.search.val(e),this.updateResults(!1)},clearSearch:function(){},getMaximumSelectionSize:function(){return T(this.opts.maximumSelectionSize,this.opts.element)},ensureHighlightVisible:function(){var s,i,n,o,a,r,c,l,h=this.results;if(i=this.highlight(),!(0>i)){if(0==i)return h.scrollTop(0),t;s=this.findHighlightableChoices().find(".select2-result-label"),n=e(s[i]),l=(n.offset()||{}).top||0,o=l+n.outerHeight(!0),i===s.length-1&&(c=h.find("li.select2-more-results"),c.length>0&&(o=c.offset().top+c.outerHeight(!0))),a=h.offset().top+h.outerHeight(!0),o>a&&h.scrollTop(h.scrollTop()+(o-a)),r=l-h.offset().top,0>r&&"none"!=n.css("display")&&h.scrollTop(h.scrollTop()+r)}},findHighlightableChoices:function(){return this.results.find(".select2-result-selectable:not(.select2-disabled):not(.select2-selected)")},moveHighlight:function(t){for(var s=this.findHighlightableChoices(),i=this.highlight();i>-1&&s.length>i;){i+=t;var n=e(s[i]);if(n.hasClass("select2-result-selectable")&&!n.hasClass("select2-disabled")&&!n.hasClass("select2-selected")){this.highlight(i);break}}},highlight:function(s){var i,o,a=this.findHighlightableChoices();return 0===arguments.length?n(a.filter(".select2-highlighted")[0],a.get()):(s>=a.length&&(s=a.length-1),0>s&&(s=0),this.removeHighlight(),i=e(a[s]),i.addClass("select2-highlighted"),this.search.attr("aria-activedescendant",i.find(".select2-result-label").attr("id")),this.ensureHighlightVisible(),this.liveRegion.text(i.text()),o=i.data("select2-data"),o&&this.opts.element.trigger({type:"select2-highlight",val:this.id(o),choice:o}),t)},removeHighlight:function(){this.results.find(".select2-highlighted").removeClass("select2-highlighted")},touchMoved:function(){this._touchMoved=!0},clearTouchMoved:function(){this._touchMoved=!1},countSelectableResults:function(){return this.findHighlightableChoices().length},highlightUnderEvent:function(t){var s=e(t.target).closest(".select2-result-selectable");if(s.length>0&&!s.is(".select2-highlighted")){var i=this.findHighlightableChoices();this.highlight(i.index(s))}else 0==s.length&&this.removeHighlight()},loadMoreIfNeeded:function(){var e,t=this.results,s=t.find("li.select2-more-results"),i=this.resultsPage+1,n=this,o=this.search.val(),a=this.context;0!==s.length&&(e=s.offset().top-t.offset().top-t.height(),this.opts.loadMorePadding>=e&&(s.addClass("select2-active"),this.opts.query({element:this.opts.element,term:o,page:i,context:a,matcher:this.opts.matcher,callback:this.bind(function(e){n.opened()&&(n.opts.populateResults.call(this,t,e.results,{term:o,page:i,context:a}),n.postprocessResults(e,!1,!1),e.more===!0?(s.detach().appendTo(t).text(T(n.opts.formatLoadMore,n.opts.element,i+1)),window.setTimeout(function(){n.loadMoreIfNeeded()},10)):s.remove(),n.positionDropdown(),n.resultsPage=i,n.context=e.context,this.opts.element.trigger({type:"select2-loaded",items:e}))})})))},tokenize:function(){},updateResults:function(s){function i(){l.removeClass("select2-active"),d.positionDropdown(),h.find(".select2-no-results,.select2-selection-limit,.select2-searching").length?d.liveRegion.text(h.text()):d.liveRegion.text(d.opts.formatMatches(h.find(".select2-result-selectable").length))}function n(e){h.html(e),i()}var o,r,c,l=this.search,h=this.results,u=this.opts,d=this,p=l.val(),f=e.data(this.container,"select2-last-term");if((s===!0||!f||!a(p,f))&&(e.data(this.container,"select2-last-term",p),s===!0||this.showSearchInput!==!1&&this.opened())){c=++this.queryCount;var g=this.getMaximumSelectionSize();if(g>=1&&(o=this.data(),e.isArray(o)&&o.length>=g&&x(u.formatSelectionTooBig,"formatSelectionTooBig")))return n("<li class='select2-selection-limit'>"+T(u.formatSelectionTooBig,u.element,g)+"</li>"),t;if(l.val().length<u.minimumInputLength)return x(u.formatInputTooShort,"formatInputTooShort")?n("<li class='select2-no-results'>"+T(u.formatInputTooShort,u.element,l.val(),u.minimumInputLength)+"</li>"):n(""),s&&this.showSearch&&this.showSearch(!0),t;if(u.maximumInputLength&&l.val().length>u.maximumInputLength)return x(u.formatInputTooLong,"formatInputTooLong")?n("<li class='select2-no-results'>"+T(u.formatInputTooLong,u.element,l.val(),u.maximumInputLength)+"</li>"):n(""),t;u.formatSearching&&0===this.findHighlightableChoices().length&&n("<li class='select2-searching'>"+T(u.formatSearching,u.element)+"</li>"),l.addClass("select2-active"),this.removeHighlight(),r=this.tokenize(),r!=t&&null!=r&&l.val(r),this.resultsPage=1,u.query({element:u.element,term:l.val(),page:this.resultsPage,context:null,matcher:u.matcher,callback:this.bind(function(o){var r;if(c==this.queryCount){if(!this.opened())return this.search.removeClass("select2-active"),t;if(o.hasError!==t&&x(u.formatAjaxError,"formatAjaxError"))return n("<li class='select2-ajax-error'>"+T(u.formatAjaxError,u.element,o.jqXHR,o.textStatus,o.errorThrown)+"</li>"),t;if(this.context=o.context===t?null:o.context,this.opts.createSearchChoice&&""!==l.val()&&(r=this.opts.createSearchChoice.call(d,l.val(),o.results),r!==t&&null!==r&&d.id(r)!==t&&null!==d.id(r)&&0===e(o.results).filter(function(){return a(d.id(this),d.id(r))}).length&&this.opts.createSearchChoicePosition(o.results,r)),0===o.results.length&&x(u.formatNoMatches,"formatNoMatches"))return n("<li class='select2-no-results'>"+T(u.formatNoMatches,u.element,l.val())+"</li>"),t;
|
5 |
h.empty(),d.opts.populateResults.call(this,h,o.results,{term:l.val(),page:this.resultsPage,context:null}),o.more===!0&&x(u.formatLoadMore,"formatLoadMore")&&(h.append("<li class='select2-more-results'>"+u.escapeMarkup(T(u.formatLoadMore,u.element,this.resultsPage))+"</li>"),window.setTimeout(function(){d.loadMoreIfNeeded()},10)),this.postprocessResults(o,s),i(),this.opts.element.trigger({type:"select2-loaded",items:o})}})})}},cancel:function(){this.close()},blur:function(){this.opts.selectOnBlur&&this.selectHighlighted({noFocus:!0}),this.close(),this.container.removeClass("select2-container-active"),this.search[0]===document.activeElement&&this.search.blur(),this.clearSearch(),this.selection.find(".select2-search-choice-focus").removeClass("select2-search-choice-focus")},focusSearch:function(){p(this.search)},selectHighlighted:function(e){if(this._touchMoved)return this.clearTouchMoved(),t;var s=this.highlight(),i=this.results.find(".select2-highlighted"),n=i.closest(".select2-result").data("select2-data");n?(this.highlight(s),this.onSelect(n,e)):e&&e.noFocus&&this.close()},getPlaceholder:function(){var e;return this.opts.element.attr("placeholder")||this.opts.element.attr("data-placeholder")||this.opts.element.data("placeholder")||this.opts.placeholder||((e=this.getPlaceholderOption())!==t?e.text():t)},getPlaceholderOption:function(){if(this.select){var s=this.select.children("option").first();if(this.opts.placeholderOption!==t)return"first"===this.opts.placeholderOption&&s||"function"==typeof this.opts.placeholderOption&&this.opts.placeholderOption(this.select);if(""===e.trim(s.text())&&""===s.val())return s}},initContainerWidth:function(){function s(){var s,i,n,o,a,r;if("off"===this.opts.width)return null;if("element"===this.opts.width)return 0===this.opts.element.outerWidth(!1)?"auto":this.opts.element.outerWidth(!1)+"px";if("copy"===this.opts.width||"resolve"===this.opts.width){if(s=this.opts.element.attr("style"),s!==t)for(i=s.split(";"),o=0,a=i.length;a>o;o+=1)if(r=i[o].replace(/\s/g,""),n=r.match(/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i),null!==n&&n.length>=1)return n[1];return"resolve"===this.opts.width?(s=this.opts.element.css("width"),s.indexOf("%")>0?s:0===this.opts.element.outerWidth(!1)?"auto":this.opts.element.outerWidth(!1)+"px"):null}return e.isFunction(this.opts.width)?this.opts.width():this.opts.width}var i=s.call(this);null!==i&&this.container.css("width",i)}}),D=k(R,{createContainer:function(){var t=e(document.createElement("div")).attr({"class":"select2-container"}).html(["<a href='javascript:void(0)' class='select2-choice' tabindex='-1'>"," <span class='select2-chosen'> </span><abbr class='select2-search-choice-close'></abbr>"," <span class='select2-arrow' role='presentation'><b role='presentation'></b></span>","</a>","<label for='' class='select2-offscreen'></label>","<input class='select2-focusser select2-offscreen' type='text' aria-haspopup='true' role='button' />","<div class='select2-drop select2-display-none'>"," <div class='select2-search'>"," <label for='' class='select2-offscreen'></label>"," <input type='text' autocomplete='off' autocorrect='off' autocapitalize='off' spellcheck='false' class='select2-input' role='combobox' aria-expanded='true'"," aria-autocomplete='list' />"," </div>"," <ul class='select2-results' role='listbox'>"," </ul>","</div>"].join(""));return t},enableInterface:function(){this.parent.enableInterface.apply(this,arguments)&&this.focusser.prop("disabled",!this.isInterfaceEnabled())},opening:function(){var s,i,n;this.opts.minimumResultsForSearch>=0&&this.showSearch(!0),this.parent.opening.apply(this,arguments),this.showSearchInput!==!1&&this.search.val(this.focusser.val()),this.opts.shouldFocusInput(this)&&(this.search.focus(),s=this.search.get(0),s.createTextRange?(i=s.createTextRange(),i.collapse(!1),i.select()):s.setSelectionRange&&(n=this.search.val().length,s.setSelectionRange(n,n))),""===this.search.val()&&this.nextSearchTerm!=t&&(this.search.val(this.nextSearchTerm),this.search.select()),this.focusser.prop("disabled",!0).val(""),this.updateResults(!0),this.opts.element.trigger(e.Event("select2-open"))},close:function(){this.opened()&&(this.parent.close.apply(this,arguments),this.focusser.prop("disabled",!1),this.opts.shouldFocusInput(this)&&this.focusser.focus())},focus:function(){this.opened()?this.close():(this.focusser.prop("disabled",!1),this.opts.shouldFocusInput(this)&&this.focusser.focus())},isFocused:function(){return this.container.hasClass("select2-container-active")},cancel:function(){this.parent.cancel.apply(this,arguments),this.focusser.prop("disabled",!1),this.opts.shouldFocusInput(this)&&this.focusser.focus()},destroy:function(){e("label[for='"+this.focusser.attr("id")+"']").attr("for",this.opts.element.attr("id")),this.parent.destroy.apply(this,arguments),I.call(this,"selection","focusser")},initContainer:function(){var i,n,o=this.container,a=this.dropdown,r=M();0>this.opts.minimumResultsForSearch?this.showSearch(!1):this.showSearch(!0),this.selection=i=o.find(".select2-choice"),this.focusser=o.find(".select2-focusser"),i.find(".select2-chosen").attr("id","select2-chosen-"+r),this.focusser.attr("aria-labelledby","select2-chosen-"+r),this.results.attr("id","select2-results-"+r),this.search.attr("aria-owns","select2-results-"+r),this.focusser.attr("id","s2id_autogen"+r),n=e("label[for='"+this.opts.element.attr("id")+"']"),this.focusser.prev().text(n.text()).attr("for",this.focusser.attr("id"));var c=this.opts.element.attr("title");this.opts.element.attr("title",c||n.text()),this.focusser.attr("tabindex",this.elementTabIndex),this.search.attr("id",this.focusser.attr("id")+"_search"),this.search.prev().text(e("label[for='"+this.focusser.attr("id")+"']").text()).attr("for",this.search.attr("id")),this.search.on("keydown",this.bind(function(e){if(this.isInterfaceEnabled()&&229!=e.keyCode){if(e.which===A.PAGE_UP||e.which===A.PAGE_DOWN)return g(e),t;switch(e.which){case A.UP:case A.DOWN:return this.moveHighlight(e.which===A.UP?-1:1),g(e),t;case A.ENTER:return this.selectHighlighted(),g(e),t;case A.TAB:return this.selectHighlighted({noFocus:!0}),t;case A.ESC:return this.cancel(e),g(e),t}}})),this.search.on("blur",this.bind(function(){document.activeElement===this.body.get(0)&&window.setTimeout(this.bind(function(){this.opened()&&this.search.focus()}),0)})),this.focusser.on("keydown",this.bind(function(e){if(this.isInterfaceEnabled()&&e.which!==A.TAB&&!A.isControl(e)&&!A.isFunctionKey(e)&&e.which!==A.ESC){if(this.opts.openOnEnter===!1&&e.which===A.ENTER)return g(e),t;if(e.which==A.DOWN||e.which==A.UP||e.which==A.ENTER&&this.opts.openOnEnter){if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey)return;return this.open(),g(e),t}return e.which==A.DELETE||e.which==A.BACKSPACE?(this.opts.allowClear&&this.clear(),g(e),t):t}})),l(this.focusser),this.focusser.on("keyup-change input",this.bind(function(e){if(this.opts.minimumResultsForSearch>=0){if(e.stopPropagation(),this.opened())return;this.open()}})),i.on("mousedown touchstart","abbr",this.bind(function(e){this.isInterfaceEnabled()&&(this.clear(),m(e),this.close(),this.selection.focus())})),i.on("mousedown touchstart",this.bind(function(t){s(i),this.container.hasClass("select2-container-active")||this.opts.element.trigger(e.Event("select2-focus")),this.opened()?this.close():this.isInterfaceEnabled()&&this.open(),g(t)})),a.on("mousedown touchstart",this.bind(function(){this.opts.shouldFocusInput(this)&&this.search.focus()})),i.on("focus",this.bind(function(e){g(e)})),this.focusser.on("focus",this.bind(function(){this.container.hasClass("select2-container-active")||this.opts.element.trigger(e.Event("select2-focus")),this.container.addClass("select2-container-active")})).on("blur",this.bind(function(){this.opened()||(this.container.removeClass("select2-container-active"),this.opts.element.trigger(e.Event("select2-blur")))})),this.search.on("focus",this.bind(function(){this.container.hasClass("select2-container-active")||this.opts.element.trigger(e.Event("select2-focus")),this.container.addClass("select2-container-active")})),this.initContainerWidth(),this.opts.element.addClass("select2-offscreen"),this.setPlaceholder()},clear:function(t){var s=this.selection.data("select2-data");if(s){var i=e.Event("select2-clearing");if(this.opts.element.trigger(i),i.isDefaultPrevented())return;var n=this.getPlaceholderOption();this.opts.element.val(n?n.val():""),this.selection.find(".select2-chosen").empty(),this.selection.removeData("select2-data"),this.setPlaceholder(),t!==!1&&(this.opts.element.trigger({type:"select2-removed",val:this.id(s),choice:s}),this.triggerChange({removed:s}))}},initSelection:function(){if(this.isPlaceholderOptionSelected())this.updateSelection(null),this.close(),this.setPlaceholder();else{var e=this;this.opts.initSelection.call(null,this.opts.element,function(s){s!==t&&null!==s&&(e.updateSelection(s),e.close(),e.setPlaceholder(),e.nextSearchTerm=e.opts.nextSearchTerm(s,e.search.val()))})}},isPlaceholderOptionSelected:function(){var e;return this.getPlaceholder()===t?!1:(e=this.getPlaceholderOption())!==t&&e.prop("selected")||""===this.opts.element.val()||this.opts.element.val()===t||null===this.opts.element.val()},prepareOpts:function(){var t=this.parent.prepareOpts.apply(this,arguments),s=this;return"select"===t.element.get(0).tagName.toLowerCase()?t.initSelection=function(e,t){var i=e.find("option").filter(function(){return this.selected&&!this.disabled});t(s.optionToData(i))}:"data"in t&&(t.initSelection=t.initSelection||function(s,i){var n=s.val(),o=null;t.query({matcher:function(e,s,i){var r=a(n,t.id(i));return r&&(o=i),r},callback:e.isFunction(i)?function(){i(o)}:e.noop})}),t},getPlaceholder:function(){return this.select&&this.getPlaceholderOption()===t?t:this.parent.getPlaceholder.apply(this,arguments)},setPlaceholder:function(){var e=this.getPlaceholder();if(this.isPlaceholderOptionSelected()&&e!==t){if(this.select&&this.getPlaceholderOption()===t)return;this.selection.find(".select2-chosen").html(this.opts.escapeMarkup(e)),this.selection.addClass("select2-default"),this.container.removeClass("select2-allowclear")}},postprocessResults:function(e,s,i){var n=0,o=this;if(this.findHighlightableChoices().each2(function(e,s){return a(o.id(s.data("select2-data")),o.opts.element.val())?(n=e,!1):t}),i!==!1&&(s===!0&&n>=0?this.highlight(n):this.highlight(0)),s===!0){var r=this.opts.minimumResultsForSearch;r>=0&&this.showSearch(O(e.results)>=r)}},showSearch:function(t){this.showSearchInput!==t&&(this.showSearchInput=t,this.dropdown.find(".select2-search").toggleClass("select2-search-hidden",!t),this.dropdown.find(".select2-search").toggleClass("select2-offscreen",!t),e(this.dropdown,this.container).toggleClass("select2-with-searchbox",t))},onSelect:function(e,t){if(this.triggerSelect(e)){var s=this.opts.element.val(),i=this.data();this.opts.element.val(this.id(e)),this.updateSelection(e),this.opts.element.trigger({type:"select2-selected",val:this.id(e),choice:e}),this.nextSearchTerm=this.opts.nextSearchTerm(e,this.search.val()),this.close(),t&&t.noFocus||!this.opts.shouldFocusInput(this)||this.focusser.focus(),a(s,this.id(e))||this.triggerChange({added:e,removed:i})}},updateSelection:function(e){var s,i,n=this.selection.find(".select2-chosen");this.selection.data("select2-data",e),n.empty(),null!==e&&(s=this.opts.formatSelection(e,n,this.opts.escapeMarkup)),s!==t&&n.append(s),i=this.opts.formatSelectionCssClass(e,n),i!==t&&n.addClass(i),this.selection.removeClass("select2-default"),this.opts.allowClear&&this.getPlaceholder()!==t&&this.container.addClass("select2-allowclear")},val:function(){var e,s=!1,i=null,n=this,o=this.data();if(0===arguments.length)return this.opts.element.val();if(e=arguments[0],arguments.length>1&&(s=arguments[1]),this.select)this.select.val(e).find("option").filter(function(){return this.selected}).each2(function(e,t){return i=n.optionToData(t),!1}),this.updateSelection(i),this.setPlaceholder(),s&&this.triggerChange({added:i,removed:o});else{if(!e&&0!==e)return this.clear(s),t;if(this.opts.initSelection===t)throw Error("cannot call val() if initSelection() is not defined");this.opts.element.val(e),this.opts.initSelection(this.opts.element,function(e){n.opts.element.val(e?n.id(e):""),n.updateSelection(e),n.setPlaceholder(),s&&n.triggerChange({added:e,removed:o})})}},clearSearch:function(){this.search.val(""),this.focusser.val("")},data:function(e){var s,i=!1;return 0===arguments.length?(s=this.selection.data("select2-data"),s==t&&(s=null),s):(arguments.length>1&&(i=arguments[1]),e?(s=this.data(),this.opts.element.val(e?this.id(e):""),this.updateSelection(e),i&&this.triggerChange({added:e,removed:s})):this.clear(i),t)}}),H=k(R,{createContainer:function(){var t=e(document.createElement("div")).attr({"class":"select2-container select2-container-multi"}).html(["<ul class='select2-choices'>"," <li class='select2-search-field'>"," <label for='' class='select2-offscreen'></label>"," <input type='text' autocomplete='off' autocorrect='off' autocapitalize='off' spellcheck='false' class='select2-input'>"," </li>","</ul>","<div class='select2-drop select2-drop-multi select2-display-none'>"," <ul class='select2-results'>"," </ul>","</div>"].join(""));return t},prepareOpts:function(){var t=this.parent.prepareOpts.apply(this,arguments),s=this;return"select"===t.element.get(0).tagName.toLowerCase()?t.initSelection=function(e,t){var i=[];e.find("option").filter(function(){return this.selected&&!this.disabled}).each2(function(e,t){i.push(s.optionToData(t))}),t(i)}:"data"in t&&(t.initSelection=t.initSelection||function(s,i){var n=r(s.val(),t.separator),o=[];t.query({matcher:function(s,i,r){var c=e.grep(n,function(e){return a(e,t.id(r))}).length;return c&&o.push(r),c},callback:e.isFunction(i)?function(){for(var e=[],s=0;n.length>s;s++)for(var r=n[s],c=0;o.length>c;c++){var l=o[c];if(a(r,t.id(l))){e.push(l),o.splice(c,1);break}}i(e)}:e.noop})}),t},selectChoice:function(e){var t=this.container.find(".select2-search-choice-focus");t.length&&e&&e[0]==t[0]||(t.length&&this.opts.element.trigger("choice-deselected",t),t.removeClass("select2-search-choice-focus"),e&&e.length&&(this.close(),e.addClass("select2-search-choice-focus"),this.opts.element.trigger("choice-selected",e)))},destroy:function(){e("label[for='"+this.search.attr("id")+"']").attr("for",this.opts.element.attr("id")),this.parent.destroy.apply(this,arguments),I.call(this,"searchContainer","selection")},initContainer:function(){var s,i=".select2-choices";this.searchContainer=this.container.find(".select2-search-field"),this.selection=s=this.container.find(i);var n=this;this.selection.on("click",".select2-search-choice:not(.select2-locked)",function(){n.search[0].focus(),n.selectChoice(e(this))}),this.search.attr("id","s2id_autogen"+M()),this.search.prev().text(e("label[for='"+this.opts.element.attr("id")+"']").text()).attr("for",this.search.attr("id")),this.search.on("input paste",this.bind(function(){this.search.attr("placeholder")&&0==this.search.val().length||this.isInterfaceEnabled()&&(this.opened()||this.open())})),this.search.attr("tabindex",this.elementTabIndex),this.keydowns=0,this.search.on("keydown",this.bind(function(e){if(this.isInterfaceEnabled()){++this.keydowns;var i=s.find(".select2-search-choice-focus"),n=i.prev(".select2-search-choice:not(.select2-locked)"),o=i.next(".select2-search-choice:not(.select2-locked)"),a=f(this.search);if(i.length&&(e.which==A.LEFT||e.which==A.RIGHT||e.which==A.BACKSPACE||e.which==A.DELETE||e.which==A.ENTER)){var r=i;return e.which==A.LEFT&&n.length?r=n:e.which==A.RIGHT?r=o.length?o:null:e.which===A.BACKSPACE?this.unselect(i.first())&&(this.search.width(10),r=n.length?n:o):e.which==A.DELETE?this.unselect(i.first())&&(this.search.width(10),r=o.length?o:null):e.which==A.ENTER&&(r=null),this.selectChoice(r),g(e),r&&r.length||this.open(),t}if((e.which===A.BACKSPACE&&1==this.keydowns||e.which==A.LEFT)&&0==a.offset&&!a.length)return this.selectChoice(s.find(".select2-search-choice:not(.select2-locked)").last()),g(e),t;if(this.selectChoice(null),this.opened())switch(e.which){case A.UP:case A.DOWN:return this.moveHighlight(e.which===A.UP?-1:1),g(e),t;case A.ENTER:return this.selectHighlighted(),g(e),t;case A.TAB:return this.selectHighlighted({noFocus:!0}),this.close(),t;case A.ESC:return this.cancel(e),g(e),t}if(e.which!==A.TAB&&!A.isControl(e)&&!A.isFunctionKey(e)&&e.which!==A.BACKSPACE&&e.which!==A.ESC){if(e.which===A.ENTER){if(this.opts.openOnEnter===!1)return;if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey)return}this.open(),(e.which===A.PAGE_UP||e.which===A.PAGE_DOWN)&&g(e),e.which===A.ENTER&&g(e)}}})),this.search.on("keyup",this.bind(function(){this.keydowns=0,this.resizeSearch()})),this.search.on("blur",this.bind(function(t){this.container.removeClass("select2-container-active"),this.search.removeClass("select2-focused"),this.selectChoice(null),this.opened()||this.clearSearch(),t.stopImmediatePropagation(),this.opts.element.trigger(e.Event("select2-blur"))})),this.container.on("click",i,this.bind(function(t){this.isInterfaceEnabled()&&(e(t.target).closest(".select2-search-choice").length>0||(this.selectChoice(null),this.clearPlaceholder(),this.container.hasClass("select2-container-active")||this.opts.element.trigger(e.Event("select2-focus")),this.open(),this.focusSearch(),t.preventDefault()))})),this.container.on("focus",i,this.bind(function(){this.isInterfaceEnabled()&&(this.container.hasClass("select2-container-active")||this.opts.element.trigger(e.Event("select2-focus")),this.container.addClass("select2-container-active"),this.dropdown.addClass("select2-drop-active"),this.clearPlaceholder())})),this.initContainerWidth(),this.opts.element.addClass("select2-offscreen"),this.clearSearch()},enableInterface:function(){this.parent.enableInterface.apply(this,arguments)&&this.search.prop("disabled",!this.isInterfaceEnabled())},initSelection:function(){if(""===this.opts.element.val()&&""===this.opts.element.text()&&(this.updateSelection([]),this.close(),this.clearSearch()),this.select||""!==this.opts.element.val()){var e=this;this.opts.initSelection.call(null,this.opts.element,function(s){s!==t&&null!==s&&(e.updateSelection(s),e.close(),e.clearSearch())})}},clearSearch:function(){var e=this.getPlaceholder(),s=this.getMaxSearchWidth();e!==t&&0===this.getVal().length&&this.search.hasClass("select2-focused")===!1?(this.search.val(e).addClass("select2-default"),this.search.width(s>0?s:this.container.css("width"))):this.search.val("").width(10)},clearPlaceholder:function(){this.search.hasClass("select2-default")&&this.search.val("").removeClass("select2-default")},opening:function(){this.clearPlaceholder(),this.resizeSearch(),this.parent.opening.apply(this,arguments),this.focusSearch(),""===this.search.val()&&this.nextSearchTerm!=t&&(this.search.val(this.nextSearchTerm),this.search.select()),this.updateResults(!0),this.opts.shouldFocusInput(this)&&this.search.focus(),this.opts.element.trigger(e.Event("select2-open"))},close:function(){this.opened()&&this.parent.close.apply(this,arguments)},focus:function(){this.close(),this.search.focus()},isFocused:function(){return this.search.hasClass("select2-focused")},updateSelection:function(t){var s=[],i=[],o=this;e(t).each(function(){0>n(o.id(this),s)&&(s.push(o.id(this)),i.push(this))}),t=i,this.selection.find(".select2-search-choice").remove(),e(t).each(function(){o.addSelectedChoice(this)}),o.postprocessResults()},tokenize:function(){var e=this.search.val();e=this.opts.tokenizer.call(this,e,this.data(),this.bind(this.onSelect),this.opts),null!=e&&e!=t&&(this.search.val(e),e.length>0&&this.open())},onSelect:function(e,s){this.triggerSelect(e)&&""!==e.text&&(this.addSelectedChoice(e),this.opts.element.trigger({type:"selected",val:this.id(e),choice:e}),this.nextSearchTerm=this.opts.nextSearchTerm(e,this.search.val()),this.clearSearch(),this.updateResults(),(this.select||!this.opts.closeOnSelect)&&this.postprocessResults(e,!1,this.opts.closeOnSelect===!0),this.opts.closeOnSelect?(this.close(),this.search.width(10)):this.countSelectableResults()>0?(this.search.width(10),this.resizeSearch(),this.getMaximumSelectionSize()>0&&this.val().length>=this.getMaximumSelectionSize()?this.updateResults(!0):this.nextSearchTerm!=t&&(this.search.val(this.nextSearchTerm),this.updateResults(),this.search.select()),this.positionDropdown()):(this.close(),this.search.width(10)),this.triggerChange({added:e}),s&&s.noFocus||this.focusSearch())},cancel:function(){this.close(),this.focusSearch()},addSelectedChoice:function(s){var i,n,o=!s.locked,a=e("<li class='select2-search-choice'> <div></div> <a href='#' class='select2-search-choice-close' tabindex='-1'></a></li>"),r=e("<li class='select2-search-choice select2-locked'><div></div></li>"),c=o?a:r,l=this.id(s),h=this.getVal();i=this.opts.formatSelection(s,c.find("div"),this.opts.escapeMarkup),i!=t&&c.find("div").replaceWith("<div>"+i+"</div>"),n=this.opts.formatSelectionCssClass(s,c.find("div")),n!=t&&c.addClass(n),o&&c.find(".select2-search-choice-close").on("mousedown",g).on("click dblclick",this.bind(function(t){this.isInterfaceEnabled()&&(this.unselect(e(t.target)),this.selection.find(".select2-search-choice-focus").removeClass("select2-search-choice-focus"),g(t),this.close(),this.focusSearch())})).on("focus",this.bind(function(){this.isInterfaceEnabled()&&(this.container.addClass("select2-container-active"),this.dropdown.addClass("select2-drop-active"))})),c.data("select2-data",s),c.insertBefore(this.searchContainer),h.push(l),this.setVal(h)},unselect:function(t){var s,i,o=this.getVal();if(t=t.closest(".select2-search-choice"),0===t.length)throw"Invalid argument: "+t+". Must be .select2-search-choice";if(s=t.data("select2-data")){var a=e.Event("select2-removing");if(a.val=this.id(s),a.choice=s,this.opts.element.trigger(a),a.isDefaultPrevented())return!1;for(;(i=n(this.id(s),o))>=0;)o.splice(i,1),this.setVal(o),this.select&&this.postprocessResults();return t.remove(),this.opts.element.trigger({type:"select2-removed",val:this.id(s),choice:s}),this.triggerChange({removed:s}),!0}},postprocessResults:function(e,t,s){var i=this.getVal(),o=this.results.find(".select2-result"),a=this.results.find(".select2-result-with-children"),r=this;o.each2(function(e,t){var s=r.id(t.data("select2-data"));n(s,i)>=0&&(t.addClass("select2-selected"),t.find(".select2-result-selectable").addClass("select2-selected"))}),a.each2(function(e,t){t.is(".select2-result-selectable")||0!==t.find(".select2-result-selectable:not(.select2-selected)").length||t.addClass("select2-selected")}),-1==this.highlight()&&s!==!1&&r.highlight(0),!this.opts.createSearchChoice&&!o.filter(".select2-result:not(.select2-selected)").length>0&&(!e||e&&!e.more&&0===this.results.find(".select2-no-results").length)&&x(r.opts.formatNoMatches,"formatNoMatches")&&this.results.append("<li class='select2-no-results'>"+T(r.opts.formatNoMatches,r.opts.element,r.search.val())+"</li>")},getMaxSearchWidth:function(){return this.selection.width()-c(this.search)},resizeSearch:function(){var e,t,s,i,n,o=c(this.search);e=v(this.search)+10,t=this.search.offset().left,s=this.selection.width(),i=this.selection.offset().left,n=s-(t-i)-o,e>n&&(n=s-o),40>n&&(n=s-o),0>=n&&(n=e),this.search.width(Math.floor(n))},getVal:function(){var e;return this.select?(e=this.select.val(),null===e?[]:e):(e=this.opts.element.val(),r(e,this.opts.separator))},setVal:function(t){var s;this.select?this.select.val(t):(s=[],e(t).each(function(){0>n(this,s)&&s.push(this)}),this.opts.element.val(0===s.length?"":s.join(this.opts.separator)))},buildChangeDetails:function(e,t){for(var t=t.slice(0),e=e.slice(0),s=0;t.length>s;s++)for(var i=0;e.length>i;i++)a(this.opts.id(t[s]),this.opts.id(e[i]))&&(t.splice(s,1),s>0&&s--,e.splice(i,1),i--);return{added:t,removed:e}},val:function(s,i){var n,o=this;if(0===arguments.length)return this.getVal();if(n=this.data(),n.length||(n=[]),!s&&0!==s)return this.opts.element.val(""),this.updateSelection([]),this.clearSearch(),i&&this.triggerChange({added:this.data(),removed:n}),t;if(this.setVal(s),this.select)this.opts.initSelection(this.select,this.bind(this.updateSelection)),i&&this.triggerChange(this.buildChangeDetails(n,this.data()));else{if(this.opts.initSelection===t)throw Error("val() cannot be called if initSelection() is not defined");this.opts.initSelection(this.opts.element,function(t){var s=e.map(t,o.id);o.setVal(s),o.updateSelection(t),o.clearSearch(),i&&o.triggerChange(o.buildChangeDetails(n,o.data()))})}this.clearSearch()},onSortStart:function(){if(this.select)throw Error("Sorting of elements is not supported when attached to <select>. Attach to <input type='hidden'/> instead.");this.search.width(0),this.searchContainer.hide()},onSortEnd:function(){var t=[],s=this;this.searchContainer.show(),this.searchContainer.appendTo(this.searchContainer.parent()),this.resizeSearch(),this.selection.find(".select2-search-choice").each(function(){t.push(s.opts.id(e(this).data("select2-data")))}),this.setVal(t),this.triggerChange()},data:function(s,i){var n,o,a=this;return 0===arguments.length?this.selection.children(".select2-search-choice").map(function(){return e(this).data("select2-data")}).get():(o=this.data(),s||(s=[]),n=e.map(s,function(e){return a.opts.id(e)}),this.setVal(n),this.updateSelection(s),this.clearSearch(),i&&this.triggerChange(this.buildChangeDetails(o,this.data())),t)}}),e.fn.select2=function(){var s,i,o,a,r,c=Array.prototype.slice.call(arguments,0),l=["val","destroy","opened","open","close","focus","isFocused","container","dropdown","onSortStart","onSortEnd","enable","disable","readonly","positionDropdown","data","search"],h=["opened","isFocused","container","dropdown"],u=["val","data"],d={search:"externalSearch"};return this.each(function(){if(0===c.length||"object"==typeof c[0])s=0===c.length?{}:e.extend({},c[0]),s.element=e(this),"select"===s.element.get(0).tagName.toLowerCase()?r=s.element.prop("multiple"):(r=s.multiple||!1,"tags"in s&&(s.multiple=r=!0)),i=r?new window.Select2["class"].multi:new window.Select2["class"].single,i.init(s);else{if("string"!=typeof c[0])throw"Invalid arguments to select2 plugin: "+c;if(0>n(c[0],l))throw"Unknown method: "+c[0];if(a=t,i=e(this).data("select2"),i===t)return;if(o=c[0],"container"===o?a=i.container:"dropdown"===o?a=i.dropdown:(d[o]&&(o=d[o]),a=i[o].apply(i,c.slice(1))),n(c[0],h)>=0||n(c[0],u)>=0&&1==c.length)return!1}}),a===t?this:a},e.fn.select2.defaults={width:"copy",loadMorePadding:0,closeOnSelect:!0,openOnEnter:!0,containerCss:{},dropdownCss:{},containerCssClass:"",dropdownCssClass:"",formatResult:function(e,t,s,i){var n=[];return w(e.text,s.term,n,i),n.join("")},formatSelection:function(e,s,i){return e?i(e.text):t},sortResults:function(e){return e},formatResultCssClass:function(e){return e.css},formatSelectionCssClass:function(){return t},minimumResultsForSearch:0,minimumInputLength:0,maximumInputLength:null,maximumSelectionSize:0,id:function(e){return e==t?null:e.id},matcher:function(e,t){return i(""+t).toUpperCase().indexOf(i(""+e).toUpperCase())>=0},separator:",",tokenSeparators:[],tokenizer:P,escapeMarkup:C,blurOnChange:!1,selectOnBlur:!1,adaptContainerCssClass:function(e){return e},adaptDropdownCssClass:function(){return null},nextSearchTerm:function(){return t},searchInputPlaceholder:"",createSearchChoicePosition:"top",shouldFocusInput:function(e){var t="ontouchstart"in window||navigator.msMaxTouchPoints>0;return t?0>e.opts.minimumResultsForSearch?!1:!0:!0}},e.fn.select2.locales=[],e.fn.select2.locales.en={formatMatches:function(e){return 1===e?"One result is available, press enter to select it.":e+" results are available, use up and down arrow keys to navigate."},formatNoMatches:function(){return"No matches found"},formatAjaxError:function(){return"Loading failed"},formatInputTooShort:function(e,t){var s=t-e.length;return"Please enter "+s+" or more character"+(1==s?"":"s")},formatInputTooLong:function(e,t){var s=e.length-t;return"Please delete "+s+" character"+(1==s?"":"s")},formatSelectionTooBig:function(e){return"You can only select "+e+" item"+(1==e?"":"s")},formatLoadMore:function(){return"Loading more results…"},formatSearching:function(){return"Searching…"}},e.extend(e.fn.select2.defaults,e.fn.select2.locales.en),e.fn.select2.ajaxDefaults={transport:e.ajax,params:{type:"GET",cache:!1,dataType:"json"}},window.Select2={query:{ajax:S,local:y,tags:E},util:{debounce:u,markMatch:w,escapeMarkup:C,stripDiacritics:i},"class":{"abstract":R,single:D,multi:H}}}}(jQuery);
|
1 |
+
/*! WPMU Dev code library - v2.0.3
|
2 |
* http://premium.wpmudev.org/
|
3 |
+
* Copyright (c) 2015; * Licensed GPLv2+ */
|
4 |
(function(e){e.fn.each2===void 0&&e.extend(e.fn,{each2:function(t){for(var s=e([0]),i=-1,n=this.length;n>++i&&(s.context=s[0]=this[i])&&t.call(s[0],i,s)!==!1;);return this}})})(jQuery),function(e,t){"use strict";function s(t){var s=e(document.createTextNode(""));t.before(s),s.before(t),s.remove()}function i(e){function t(e){return j[e]||e}return e.replace(/[^\u0000-\u007E]/g,t)}function n(e,t){for(var s=0,i=t.length;i>s;s+=1)if(a(e,t[s]))return s;return-1}function o(){var t=e(z);t.appendTo("body");var s={width:t.width()-t[0].clientWidth,height:t.height()-t[0].clientHeight};return t.remove(),s}function a(e,s){return e===s?!0:e===t||s===t?!1:null===e||null===s?!1:e.constructor===String?e+""==s+"":s.constructor===String?s+""==e+"":!1}function r(t,s){var i,n,o;if(null===t||1>t.length)return[];for(i=t.split(s),n=0,o=i.length;o>n;n+=1)i[n]=e.trim(i[n]);return i}function c(e){return e.outerWidth(!1)-e.width()}function l(s){var i="keyup-change-value";s.on("keydown",function(){e.data(s,i)===t&&e.data(s,i,s.val())}),s.on("keyup",function(){var n=e.data(s,i);n!==t&&s.val()!==n&&(e.removeData(s,i),s.trigger("keyup-change"))})}function h(s){s.on("mousemove",function(s){var i=F;(i===t||i.x!==s.pageX||i.y!==s.pageY)&&e(s.target).trigger("mousemove-filtered",s)})}function u(e,s,i){i=i||t;var n;return function(){var t=arguments;window.clearTimeout(n),n=window.setTimeout(function(){s.apply(i,t)},e)}}function d(e,t){var s=u(e,function(e){t.trigger("scroll-debounced",e)});t.on("scroll",function(e){n(e.target,t.get())>=0&&s(e)})}function p(e){e[0]!==document.activeElement&&window.setTimeout(function(){var t,s=e[0],i=e.val().length;e.focus();var n=s.offsetWidth>0||s.offsetHeight>0;n&&s===document.activeElement&&(s.setSelectionRange?s.setSelectionRange(i,i):s.createTextRange&&(t=s.createTextRange(),t.collapse(!1),t.select()))},0)}function f(t){t=e(t)[0];var s=0,i=0;if("selectionStart"in t)s=t.selectionStart,i=t.selectionEnd-s;else if("selection"in document){t.focus();var n=document.selection.createRange();i=document.selection.createRange().text.length,n.moveStart("character",-t.value.length),s=n.text.length-i}return{offset:s,length:i}}function g(e){e.preventDefault(),e.stopPropagation()}function m(e){e.preventDefault(),e.stopImmediatePropagation()}function v(t){if(!L){var s=t[0].currentStyle||window.getComputedStyle(t[0],null);L=e(document.createElement("div")).css({position:"absolute",left:"-10000px",top:"-10000px",display:"none",fontSize:s.fontSize,fontFamily:s.fontFamily,fontStyle:s.fontStyle,fontWeight:s.fontWeight,letterSpacing:s.letterSpacing,textTransform:s.textTransform,whiteSpace:"nowrap"}),L.attr("class","select2-sizer"),e("body").append(L)}return L.text(t.val()),L.width()}function b(t,s,i){var n,o,a=[];n=e.trim(t.attr("class")),n&&(n=""+n,e(n.split(/\s+/)).each2(function(){0===this.indexOf("select2-")&&a.push(this)})),n=e.trim(s.attr("class")),n&&(n=""+n,e(n.split(/\s+/)).each2(function(){0!==this.indexOf("select2-")&&(o=i(this),o&&a.push(o))})),t.attr("class",a.join(" "))}function w(e,s,n,o){var a=i(e.toUpperCase()).indexOf(i(s.toUpperCase())),r=s.length;return 0>a?(n.push(o(e)),t):(n.push(o(e.substring(0,a))),n.push("<span class='select2-match'>"),n.push(o(e.substring(a,a+r))),n.push("</span>"),n.push(o(e.substring(a+r,e.length))),t)}function C(e){var t={"\\":"\","&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};return(e+"").replace(/[&<>"'\/\\]/g,function(e){return t[e]})}function S(s){var i,n=null,o=s.quietMillis||100,a=s.url,r=this;return function(c){window.clearTimeout(i),i=window.setTimeout(function(){var i=s.data,o=a,l=s.transport||e.fn.select2.ajaxDefaults.transport,h={type:s.type||"GET",cache:s.cache||!1,jsonpCallback:s.jsonpCallback||t,dataType:s.dataType||"json"},u=e.extend({},e.fn.select2.ajaxDefaults.params,h);i=i?i.call(r,c.term,c.page,c.context):null,o="function"==typeof o?o.call(r,c.term,c.page,c.context):o,n&&"function"==typeof n.abort&&n.abort(),s.params&&(e.isFunction(s.params)?e.extend(u,s.params.call(r)):e.extend(u,s.params)),e.extend(u,{url:o,dataType:s.dataType,data:i,success:function(e){var t=s.results(e,c.page,c);c.callback(t)},error:function(e,t,s){var i={hasError:!0,jqXHR:e,textStatus:t,errorThrown:s};c.callback(i)}}),n=l.call(r,u)},o)}}function y(s){var i,n,o=s,a=function(e){return""+e.text};e.isArray(o)&&(n=o,o={results:n}),e.isFunction(o)===!1&&(n=o,o=function(){return n});var r=o();return r.text&&(a=r.text,e.isFunction(a)||(i=r.text,a=function(e){return e[i]})),function(s){var i,n=s.term,r={results:[]};return""===n?(s.callback(o()),t):(i=function(t,o){var r,c;if(t=t[0],t.children){r={};for(c in t)t.hasOwnProperty(c)&&(r[c]=t[c]);r.children=[],e(t.children).each2(function(e,t){i(t,r.children)}),(r.children.length||s.matcher(n,a(r),t))&&o.push(r)}else s.matcher(n,a(t),t)&&o.push(t)},e(o().results).each2(function(e,t){i(t,r.results)}),s.callback(r),t)}}function E(s){var i=e.isFunction(s);return function(n){var o=n.term,a={results:[]},r=i?s(n):s;e.isArray(r)&&(e(r).each(function(){var e=this.text!==t,s=e?this.text:this;(""===o||n.matcher(o,s))&&a.results.push(e?this:{id:this,text:this})}),n.callback(a))}}function x(t,s){if(e.isFunction(t))return!0;if(!t)return!1;if("string"==typeof t)return!0;throw Error(s+" must be a string, function, or falsy value")}function T(t,s){if(e.isFunction(t)){var i=Array.prototype.slice.call(arguments,2);return t.apply(s,i)}return t}function O(t){var s=0;return e.each(t,function(e,t){t.children?s+=O(t.children):s++}),s}function P(e,s,i,n){var o,r,c,l,h,u=e,d=!1;if(!n.createSearchChoice||!n.tokenSeparators||1>n.tokenSeparators.length)return t;for(;;){for(r=-1,c=0,l=n.tokenSeparators.length;l>c&&(h=n.tokenSeparators[c],r=e.indexOf(h),!(r>=0));c++);if(0>r)break;if(o=e.substring(0,r),e=e.substring(r+h.length),o.length>0&&(o=n.createSearchChoice.call(this,o,s),o!==t&&null!==o&&n.id(o)!==t&&null!==n.id(o))){for(d=!1,c=0,l=s.length;l>c;c++)if(a(n.id(o),n.id(s[c]))){d=!0;break}d||i(o)}}return u!==e?e:t}function I(){var t=this;e.each(arguments,function(e,s){t[s].remove(),t[s]=null})}function k(t,s){var i=function(){};return i.prototype=new t,i.prototype.constructor=i,i.prototype.parent=t.prototype,i.prototype=e.extend(i.prototype,s),i}if(window.Select2===t){var A,R,D,H,M,L,N,U,F={x:0,y:0},A={TAB:9,ENTER:13,ESC:27,SPACE:32,LEFT:37,UP:38,RIGHT:39,DOWN:40,SHIFT:16,CTRL:17,ALT:18,PAGE_UP:33,PAGE_DOWN:34,HOME:36,END:35,BACKSPACE:8,DELETE:46,isArrow:function(e){switch(e=e.which?e.which:e){case A.LEFT:case A.RIGHT:case A.UP:case A.DOWN:return!0}return!1},isControl:function(e){var t=e.which;switch(t){case A.SHIFT:case A.CTRL:case A.ALT:return!0}return e.metaKey?!0:!1},isFunctionKey:function(e){return e=e.which?e.which:e,e>=112&&123>=e}},z="<div class='select2-measure-scrollbar'></div>",j={"Ⓐ":"A","A":"A","À":"A","Á":"A","Â":"A","Ầ":"A","Ấ":"A","Ẫ":"A","Ẩ":"A","Ã":"A","Ā":"A","Ă":"A","Ằ":"A","Ắ":"A","Ẵ":"A","Ẳ":"A","Ȧ":"A","Ǡ":"A","Ä":"A","Ǟ":"A","Ả":"A","Å":"A","Ǻ":"A","Ǎ":"A","Ȁ":"A","Ȃ":"A","Ạ":"A","Ậ":"A","Ặ":"A","Ḁ":"A","Ą":"A","Ⱥ":"A","Ɐ":"A","Ꜳ":"AA","Æ":"AE","Ǽ":"AE","Ǣ":"AE","Ꜵ":"AO","Ꜷ":"AU","Ꜹ":"AV","Ꜻ":"AV","Ꜽ":"AY","Ⓑ":"B","B":"B","Ḃ":"B","Ḅ":"B","Ḇ":"B","Ƀ":"B","Ƃ":"B","Ɓ":"B","Ⓒ":"C","C":"C","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","Ç":"C","Ḉ":"C","Ƈ":"C","Ȼ":"C","Ꜿ":"C","Ⓓ":"D","D":"D","Ḋ":"D","Ď":"D","Ḍ":"D","Ḑ":"D","Ḓ":"D","Ḏ":"D","Đ":"D","Ƌ":"D","Ɗ":"D","Ɖ":"D","Ꝺ":"D","DZ":"DZ","DŽ":"DZ","Dz":"Dz","Dž":"Dz","Ⓔ":"E","E":"E","È":"E","É":"E","Ê":"E","Ề":"E","Ế":"E","Ễ":"E","Ể":"E","Ẽ":"E","Ē":"E","Ḕ":"E","Ḗ":"E","Ĕ":"E","Ė":"E","Ë":"E","Ẻ":"E","Ě":"E","Ȅ":"E","Ȇ":"E","Ẹ":"E","Ệ":"E","Ȩ":"E","Ḝ":"E","Ę":"E","Ḙ":"E","Ḛ":"E","Ɛ":"E","Ǝ":"E","Ⓕ":"F","F":"F","Ḟ":"F","Ƒ":"F","Ꝼ":"F","Ⓖ":"G","G":"G","Ǵ":"G","Ĝ":"G","Ḡ":"G","Ğ":"G","Ġ":"G","Ǧ":"G","Ģ":"G","Ǥ":"G","Ɠ":"G","Ꞡ":"G","Ᵹ":"G","Ꝿ":"G","Ⓗ":"H","H":"H","Ĥ":"H","Ḣ":"H","Ḧ":"H","Ȟ":"H","Ḥ":"H","Ḩ":"H","Ḫ":"H","Ħ":"H","Ⱨ":"H","Ⱶ":"H","Ɥ":"H","Ⓘ":"I","I":"I","Ì":"I","Í":"I","Î":"I","Ĩ":"I","Ī":"I","Ĭ":"I","İ":"I","Ï":"I","Ḯ":"I","Ỉ":"I","Ǐ":"I","Ȉ":"I","Ȋ":"I","Ị":"I","Į":"I","Ḭ":"I","Ɨ":"I","Ⓙ":"J","J":"J","Ĵ":"J","Ɉ":"J","Ⓚ":"K","K":"K","Ḱ":"K","Ǩ":"K","Ḳ":"K","Ķ":"K","Ḵ":"K","Ƙ":"K","Ⱪ":"K","Ꝁ":"K","Ꝃ":"K","Ꝅ":"K","Ꞣ":"K","Ⓛ":"L","L":"L","Ŀ":"L","Ĺ":"L","Ľ":"L","Ḷ":"L","Ḹ":"L","Ļ":"L","Ḽ":"L","Ḻ":"L","Ł":"L","Ƚ":"L","Ɫ":"L","Ⱡ":"L","Ꝉ":"L","Ꝇ":"L","Ꞁ":"L","LJ":"LJ","Lj":"Lj","Ⓜ":"M","M":"M","Ḿ":"M","Ṁ":"M","Ṃ":"M","Ɱ":"M","Ɯ":"M","Ⓝ":"N","N":"N","Ǹ":"N","Ń":"N","Ñ":"N","Ṅ":"N","Ň":"N","Ṇ":"N","Ņ":"N","Ṋ":"N","Ṉ":"N","Ƞ":"N","Ɲ":"N","Ꞑ":"N","Ꞥ":"N","NJ":"NJ","Nj":"Nj","Ⓞ":"O","O":"O","Ò":"O","Ó":"O","Ô":"O","Ồ":"O","Ố":"O","Ỗ":"O","Ổ":"O","Õ":"O","Ṍ":"O","Ȭ":"O","Ṏ":"O","Ō":"O","Ṑ":"O","Ṓ":"O","Ŏ":"O","Ȯ":"O","Ȱ":"O","Ö":"O","Ȫ":"O","Ỏ":"O","Ő":"O","Ǒ":"O","Ȍ":"O","Ȏ":"O","Ơ":"O","Ờ":"O","Ớ":"O","Ỡ":"O","Ở":"O","Ợ":"O","Ọ":"O","Ộ":"O","Ǫ":"O","Ǭ":"O","Ø":"O","Ǿ":"O","Ɔ":"O","Ɵ":"O","Ꝋ":"O","Ꝍ":"O","Ƣ":"OI","Ꝏ":"OO","Ȣ":"OU","Ⓟ":"P","P":"P","Ṕ":"P","Ṗ":"P","Ƥ":"P","Ᵽ":"P","Ꝑ":"P","Ꝓ":"P","Ꝕ":"P","Ⓠ":"Q","Q":"Q","Ꝗ":"Q","Ꝙ":"Q","Ɋ":"Q","Ⓡ":"R","R":"R","Ŕ":"R","Ṙ":"R","Ř":"R","Ȑ":"R","Ȓ":"R","Ṛ":"R","Ṝ":"R","Ŗ":"R","Ṟ":"R","Ɍ":"R","Ɽ":"R","Ꝛ":"R","Ꞧ":"R","Ꞃ":"R","Ⓢ":"S","S":"S","ẞ":"S","Ś":"S","Ṥ":"S","Ŝ":"S","Ṡ":"S","Š":"S","Ṧ":"S","Ṣ":"S","Ṩ":"S","Ș":"S","Ş":"S","Ȿ":"S","Ꞩ":"S","Ꞅ":"S","Ⓣ":"T","T":"T","Ṫ":"T","Ť":"T","Ṭ":"T","Ț":"T","Ţ":"T","Ṱ":"T","Ṯ":"T","Ŧ":"T","Ƭ":"T","Ʈ":"T","Ⱦ":"T","Ꞇ":"T","Ꜩ":"TZ","Ⓤ":"U","U":"U","Ù":"U","Ú":"U","Û":"U","Ũ":"U","Ṹ":"U","Ū":"U","Ṻ":"U","Ŭ":"U","Ü":"U","Ǜ":"U","Ǘ":"U","Ǖ":"U","Ǚ":"U","Ủ":"U","Ů":"U","Ű":"U","Ǔ":"U","Ȕ":"U","Ȗ":"U","Ư":"U","Ừ":"U","Ứ":"U","Ữ":"U","Ử":"U","Ự":"U","Ụ":"U","Ṳ":"U","Ų":"U","Ṷ":"U","Ṵ":"U","Ʉ":"U","Ⓥ":"V","V":"V","Ṽ":"V","Ṿ":"V","Ʋ":"V","Ꝟ":"V","Ʌ":"V","Ꝡ":"VY","Ⓦ":"W","W":"W","Ẁ":"W","Ẃ":"W","Ŵ":"W","Ẇ":"W","Ẅ":"W","Ẉ":"W","Ⱳ":"W","Ⓧ":"X","X":"X","Ẋ":"X","Ẍ":"X","Ⓨ":"Y","Y":"Y","Ỳ":"Y","Ý":"Y","Ŷ":"Y","Ỹ":"Y","Ȳ":"Y","Ẏ":"Y","Ÿ":"Y","Ỷ":"Y","Ỵ":"Y","Ƴ":"Y","Ɏ":"Y","Ỿ":"Y","Ⓩ":"Z","Z":"Z","Ź":"Z","Ẑ":"Z","Ż":"Z","Ž":"Z","Ẓ":"Z","Ẕ":"Z","Ƶ":"Z","Ȥ":"Z","Ɀ":"Z","Ⱬ":"Z","Ꝣ":"Z","ⓐ":"a","a":"a","ẚ":"a","à":"a","á":"a","â":"a","ầ":"a","ấ":"a","ẫ":"a","ẩ":"a","ã":"a","ā":"a","ă":"a","ằ":"a","ắ":"a","ẵ":"a","ẳ":"a","ȧ":"a","ǡ":"a","ä":"a","ǟ":"a","ả":"a","å":"a","ǻ":"a","ǎ":"a","ȁ":"a","ȃ":"a","ạ":"a","ậ":"a","ặ":"a","ḁ":"a","ą":"a","ⱥ":"a","ɐ":"a","ꜳ":"aa","æ":"ae","ǽ":"ae","ǣ":"ae","ꜵ":"ao","ꜷ":"au","ꜹ":"av","ꜻ":"av","ꜽ":"ay","ⓑ":"b","b":"b","ḃ":"b","ḅ":"b","ḇ":"b","ƀ":"b","ƃ":"b","ɓ":"b","ⓒ":"c","c":"c","ć":"c","ĉ":"c","ċ":"c","č":"c","ç":"c","ḉ":"c","ƈ":"c","ȼ":"c","ꜿ":"c","ↄ":"c","ⓓ":"d","d":"d","ḋ":"d","ď":"d","ḍ":"d","ḑ":"d","ḓ":"d","ḏ":"d","đ":"d","ƌ":"d","ɖ":"d","ɗ":"d","ꝺ":"d","dz":"dz","dž":"dz","ⓔ":"e","e":"e","è":"e","é":"e","ê":"e","ề":"e","ế":"e","ễ":"e","ể":"e","ẽ":"e","ē":"e","ḕ":"e","ḗ":"e","ĕ":"e","ė":"e","ë":"e","ẻ":"e","ě":"e","ȅ":"e","ȇ":"e","ẹ":"e","ệ":"e","ȩ":"e","ḝ":"e","ę":"e","ḙ":"e","ḛ":"e","ɇ":"e","ɛ":"e","ǝ":"e","ⓕ":"f","f":"f","ḟ":"f","ƒ":"f","ꝼ":"f","ⓖ":"g","g":"g","ǵ":"g","ĝ":"g","ḡ":"g","ğ":"g","ġ":"g","ǧ":"g","ģ":"g","ǥ":"g","ɠ":"g","ꞡ":"g","ᵹ":"g","ꝿ":"g","ⓗ":"h","h":"h","ĥ":"h","ḣ":"h","ḧ":"h","ȟ":"h","ḥ":"h","ḩ":"h","ḫ":"h","ẖ":"h","ħ":"h","ⱨ":"h","ⱶ":"h","ɥ":"h","ƕ":"hv","ⓘ":"i","i":"i","ì":"i","í":"i","î":"i","ĩ":"i","ī":"i","ĭ":"i","ï":"i","ḯ":"i","ỉ":"i","ǐ":"i","ȉ":"i","ȋ":"i","ị":"i","į":"i","ḭ":"i","ɨ":"i","ı":"i","ⓙ":"j","j":"j","ĵ":"j","ǰ":"j","ɉ":"j","ⓚ":"k","k":"k","ḱ":"k","ǩ":"k","ḳ":"k","ķ":"k","ḵ":"k","ƙ":"k","ⱪ":"k","ꝁ":"k","ꝃ":"k","ꝅ":"k","ꞣ":"k","ⓛ":"l","l":"l","ŀ":"l","ĺ":"l","ľ":"l","ḷ":"l","ḹ":"l","ļ":"l","ḽ":"l","ḻ":"l","ſ":"l","ł":"l","ƚ":"l","ɫ":"l","ⱡ":"l","ꝉ":"l","ꞁ":"l","ꝇ":"l","lj":"lj","ⓜ":"m","m":"m","ḿ":"m","ṁ":"m","ṃ":"m","ɱ":"m","ɯ":"m","ⓝ":"n","n":"n","ǹ":"n","ń":"n","ñ":"n","ṅ":"n","ň":"n","ṇ":"n","ņ":"n","ṋ":"n","ṉ":"n","ƞ":"n","ɲ":"n","ʼn":"n","ꞑ":"n","ꞥ":"n","nj":"nj","ⓞ":"o","o":"o","ò":"o","ó":"o","ô":"o","ồ":"o","ố":"o","ỗ":"o","ổ":"o","õ":"o","ṍ":"o","ȭ":"o","ṏ":"o","ō":"o","ṑ":"o","ṓ":"o","ŏ":"o","ȯ":"o","ȱ":"o","ö":"o","ȫ":"o","ỏ":"o","ő":"o","ǒ":"o","ȍ":"o","ȏ":"o","ơ":"o","ờ":"o","ớ":"o","ỡ":"o","ở":"o","ợ":"o","ọ":"o","ộ":"o","ǫ":"o","ǭ":"o","ø":"o","ǿ":"o","ɔ":"o","ꝋ":"o","ꝍ":"o","ɵ":"o","ƣ":"oi","ȣ":"ou","ꝏ":"oo","ⓟ":"p","p":"p","ṕ":"p","ṗ":"p","ƥ":"p","ᵽ":"p","ꝑ":"p","ꝓ":"p","ꝕ":"p","ⓠ":"q","q":"q","ɋ":"q","ꝗ":"q","ꝙ":"q","ⓡ":"r","r":"r","ŕ":"r","ṙ":"r","ř":"r","ȑ":"r","ȓ":"r","ṛ":"r","ṝ":"r","ŗ":"r","ṟ":"r","ɍ":"r","ɽ":"r","ꝛ":"r","ꞧ":"r","ꞃ":"r","ⓢ":"s","s":"s","ß":"s","ś":"s","ṥ":"s","ŝ":"s","ṡ":"s","š":"s","ṧ":"s","ṣ":"s","ṩ":"s","ș":"s","ş":"s","ȿ":"s","ꞩ":"s","ꞅ":"s","ẛ":"s","ⓣ":"t","t":"t","ṫ":"t","ẗ":"t","ť":"t","ṭ":"t","ț":"t","ţ":"t","ṱ":"t","ṯ":"t","ŧ":"t","ƭ":"t","ʈ":"t","ⱦ":"t","ꞇ":"t","ꜩ":"tz","ⓤ":"u","u":"u","ù":"u","ú":"u","û":"u","ũ":"u","ṹ":"u","ū":"u","ṻ":"u","ŭ":"u","ü":"u","ǜ":"u","ǘ":"u","ǖ":"u","ǚ":"u","ủ":"u","ů":"u","ű":"u","ǔ":"u","ȕ":"u","ȗ":"u","ư":"u","ừ":"u","ứ":"u","ữ":"u","ử":"u","ự":"u","ụ":"u","ṳ":"u","ų":"u","ṷ":"u","ṵ":"u","ʉ":"u","ⓥ":"v","v":"v","ṽ":"v","ṿ":"v","ʋ":"v","ꝟ":"v","ʌ":"v","ꝡ":"vy","ⓦ":"w","w":"w","ẁ":"w","ẃ":"w","ŵ":"w","ẇ":"w","ẅ":"w","ẘ":"w","ẉ":"w","ⱳ":"w","ⓧ":"x","x":"x","ẋ":"x","ẍ":"x","ⓨ":"y","y":"y","ỳ":"y","ý":"y","ŷ":"y","ỹ":"y","ȳ":"y","ẏ":"y","ÿ":"y","ỷ":"y","ẙ":"y","ỵ":"y","ƴ":"y","ɏ":"y","ỿ":"y","ⓩ":"z","z":"z","ź":"z","ẑ":"z","ż":"z","ž":"z","ẓ":"z","ẕ":"z","ƶ":"z","ȥ":"z","ɀ":"z","ⱬ":"z","ꝣ":"z","Ά":"Α","Έ":"Ε","Ή":"Η","Ί":"Ι","Ϊ":"Ι","Ό":"Ο","Ύ":"Υ","Ϋ":"Υ","Ώ":"Ω","ά":"α","έ":"ε","ή":"η","ί":"ι","ϊ":"ι","ΐ":"ι","ό":"ο","ύ":"υ","ϋ":"υ","ΰ":"υ","ω":"ω","ς":"σ"};N=e(document),M=function(){var e=1;return function(){return e++}}(),R=k(Object,{bind:function(e){var t=this;return function(){e.apply(t,arguments)}},init:function(s){var i,n,a=".select2-results";this.opts=s=this.prepareOpts(s),this.id=s.id,s.element.data("select2")!==t&&null!==s.element.data("select2")&&s.element.data("select2").destroy(),this.container=this.createContainer(),this.liveRegion=e("<span>",{role:"status","aria-live":"polite"}).addClass("select2-hidden-accessible").appendTo(document.body),this.containerId="s2id_"+(s.element.attr("id")||"autogen"+M()),this.containerEventName=this.containerId.replace(/([.])/g,"_").replace(/([;&,\-\.\+\*\~':"\!\^#$%@\[\]\(\)=>\|])/g,"\\$1"),this.container.attr("id",this.containerId),this.container.attr("title",s.element.attr("title")),this.body=e("body"),b(this.container,this.opts.element,this.opts.adaptContainerCssClass),this.container.attr("style",s.element.attr("style")),this.container.css(T(s.containerCss,this.opts.element)),this.container.addClass(T(s.containerCssClass,this.opts.element)),this.elementTabIndex=this.opts.element.attr("tabindex"),this.opts.element.data("select2",this).attr("tabindex","-1").before(this.container).on("click.select2",g),this.container.data("select2",this),this.dropdown=this.container.find(".select2-drop"),b(this.dropdown,this.opts.element,this.opts.adaptDropdownCssClass),this.dropdown.addClass(T(s.dropdownCssClass,this.opts.element)),this.dropdown.data("select2",this),this.dropdown.on("click",g),this.results=i=this.container.find(a),this.search=n=this.container.find("input.select2-input"),this.queryCount=0,this.resultsPage=0,this.context=null,this.initContainer(),this.container.on("click",g),h(this.results),this.dropdown.on("mousemove-filtered",a,this.bind(this.highlightUnderEvent)),this.dropdown.on("touchstart touchmove touchend",a,this.bind(function(e){this._touchEvent=!0,this.highlightUnderEvent(e)})),this.dropdown.on("touchmove",a,this.bind(this.touchMoved)),this.dropdown.on("touchstart touchend",a,this.bind(this.clearTouchMoved)),this.dropdown.on("click",this.bind(function(){this._touchEvent&&(this._touchEvent=!1,this.selectHighlighted())})),d(80,this.results),this.dropdown.on("scroll-debounced",a,this.bind(this.loadMoreIfNeeded)),e(this.container).on("change",".select2-input",function(e){e.stopPropagation()}),e(this.dropdown).on("change",".select2-input",function(e){e.stopPropagation()}),e.fn.mousewheel&&i.mousewheel(function(e,t,s,n){var o=i.scrollTop();n>0&&0>=o-n?(i.scrollTop(0),g(e)):0>n&&i.get(0).scrollHeight-i.scrollTop()+n<=i.height()&&(i.scrollTop(i.get(0).scrollHeight-i.height()),g(e))}),l(n),n.on("keyup-change input paste",this.bind(this.updateResults)),n.on("focus",function(){n.addClass("select2-focused")}),n.on("blur",function(){n.removeClass("select2-focused")}),this.dropdown.on("mouseup",a,this.bind(function(t){e(t.target).closest(".select2-result-selectable").length>0&&(this.highlightUnderEvent(t),this.selectHighlighted(t))})),this.dropdown.on("click mouseup mousedown touchstart touchend focusin",function(e){e.stopPropagation()}),this.nextSearchTerm=t,e.isFunction(this.opts.initSelection)&&(this.initSelection(),this.monitorSource()),null!==s.maximumInputLength&&this.search.attr("maxlength",s.maximumInputLength);var r=s.element.prop("disabled");r===t&&(r=!1),this.enable(!r);var c=s.element.prop("readonly");c===t&&(c=!1),this.readonly(c),U=U||o(),this.autofocus=s.element.prop("autofocus"),s.element.prop("autofocus",!1),this.autofocus&&this.focus(),this.search.attr("placeholder",s.searchInputPlaceholder)},destroy:function(){var e=this.opts.element,s=e.data("select2"),i=this;this.close(),e.length&&e[0].detachEvent&&e.each(function(){this.detachEvent("onpropertychange",i._sync)}),this.propertyObserver&&(this.propertyObserver.disconnect(),this.propertyObserver=null),this._sync=null,s!==t&&(s.container.remove(),s.liveRegion.remove(),s.dropdown.remove(),e.removeClass("select2-offscreen").removeData("select2").off(".select2").prop("autofocus",this.autofocus||!1),this.elementTabIndex?e.attr({tabindex:this.elementTabIndex}):e.removeAttr("tabindex"),e.show()),I.call(this,"container","liveRegion","dropdown","results","search")},optionToData:function(e){return e.is("option")?{id:e.prop("value"),text:e.text(),element:e.get(),css:e.attr("class"),disabled:e.prop("disabled"),locked:a(e.attr("locked"),"locked")||a(e.data("locked"),!0)}:e.is("optgroup")?{text:e.attr("label"),children:[],element:e.get(),css:e.attr("class")}:t},prepareOpts:function(s){var i,n,o,c,l=this;if(i=s.element,"select"===i.get(0).tagName.toLowerCase()&&(this.select=n=s.element),n&&e.each(["id","multiple","ajax","query","createSearchChoice","initSelection","data","tags"],function(){if(this in s)throw Error("Option '"+this+"' is not allowed for Select2 when attached to a <select> element.")}),s=e.extend({},{populateResults:function(i,n,o){var a,r=this.opts.id,c=this.liveRegion;a=function(i,n,h){var u,d,p,f,g,m,v,b,w,C;i=s.sortResults(i,n,o);var S=[];for(u=0,d=i.length;d>u;u+=1)p=i[u],g=p.disabled===!0,f=!g&&r(p)!==t,m=p.children&&p.children.length>0,v=e("<li></li>"),v.addClass("select2-results-dept-"+h),v.addClass("select2-result"),v.addClass(f?"select2-result-selectable":"select2-result-unselectable"),g&&v.addClass("select2-disabled"),m&&v.addClass("select2-result-with-children"),v.addClass(l.opts.formatResultCssClass(p)),v.attr("role","presentation"),b=e(document.createElement("div")),b.addClass("select2-result-label"),b.attr("id","select2-result-label-"+M()),b.attr("role","option"),C=s.formatResult(p,b,o,l.opts.escapeMarkup),C!==t&&(b.html(C),v.append(b)),m&&(w=e("<ul></ul>"),w.addClass("select2-result-sub"),a(p.children,w,h+1),v.append(w)),v.data("select2-data",p),S.push(v[0]);n.append(S),c.text(s.formatMatches(i.length))},a(n,i,0)}},e.fn.select2.defaults,s),"function"!=typeof s.id&&(o=s.id,s.id=function(e){return e[o]}),e.isArray(s.element.data("select2Tags"))){if("tags"in s)throw"tags specified as both an attribute 'data-select2-tags' and in options of Select2 "+s.element.attr("id");s.tags=s.element.data("select2Tags")}if(n?(s.query=this.bind(function(e){var s,n,o,a={results:[],more:!1},r=e.term;o=function(t,s){var i;t.is("option")?e.matcher(r,t.text(),t)&&s.push(l.optionToData(t)):t.is("optgroup")&&(i=l.optionToData(t),t.children().each2(function(e,t){o(t,i.children)}),i.children.length>0&&s.push(i))},s=i.children(),this.getPlaceholder()!==t&&s.length>0&&(n=this.getPlaceholderOption(),n&&(s=s.not(n))),s.each2(function(e,t){o(t,a.results)}),e.callback(a)}),s.id=function(e){return e.id}):"query"in s||("ajax"in s?(c=s.element.data("ajax-url"),c&&c.length>0&&(s.ajax.url=c),s.query=S.call(s.element,s.ajax)):"data"in s?s.query=y(s.data):"tags"in s&&(s.query=E(s.tags),s.createSearchChoice===t&&(s.createSearchChoice=function(t){return{id:e.trim(t),text:e.trim(t)}}),s.initSelection===t&&(s.initSelection=function(i,n){var o=[];e(r(i.val(),s.separator)).each(function(){var i={id:this,text:this},n=s.tags;e.isFunction(n)&&(n=n()),e(n).each(function(){return a(this.id,i.id)?(i=this,!1):t}),o.push(i)}),n(o)}))),"function"!=typeof s.query)throw"query function not defined for Select2 "+s.element.attr("id");if("top"===s.createSearchChoicePosition)s.createSearchChoicePosition=function(e,t){e.unshift(t)};else if("bottom"===s.createSearchChoicePosition)s.createSearchChoicePosition=function(e,t){e.push(t)};else if("function"!=typeof s.createSearchChoicePosition)throw"invalid createSearchChoicePosition option must be 'top', 'bottom' or a custom function";return s},monitorSource:function(){var s,i=this.opts.element,n=this;i.on("change.select2",this.bind(function(){this.opts.element.data("select2-change-triggered")!==!0&&this.initSelection()})),this._sync=this.bind(function(){var e=i.prop("disabled");e===t&&(e=!1),this.enable(!e);var s=i.prop("readonly");s===t&&(s=!1),this.readonly(s),b(this.container,this.opts.element,this.opts.adaptContainerCssClass),this.container.addClass(T(this.opts.containerCssClass,this.opts.element)),b(this.dropdown,this.opts.element,this.opts.adaptDropdownCssClass),this.dropdown.addClass(T(this.opts.dropdownCssClass,this.opts.element))}),i.length&&i[0].attachEvent&&i.each(function(){this.attachEvent("onpropertychange",n._sync)}),s=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver,s!==t&&(this.propertyObserver&&(delete this.propertyObserver,this.propertyObserver=null),this.propertyObserver=new s(function(t){e.each(t,n._sync)}),this.propertyObserver.observe(i.get(0),{attributes:!0,subtree:!1}))},triggerSelect:function(t){var s=e.Event("select2-selecting",{val:this.id(t),object:t,choice:t});return this.opts.element.trigger(s),!s.isDefaultPrevented()},triggerChange:function(t){t=t||{},t=e.extend({},t,{type:"change",val:this.val()}),this.opts.element.data("select2-change-triggered",!0),this.opts.element.trigger(t),this.opts.element.data("select2-change-triggered",!1),this.opts.element.click(),this.opts.blurOnChange&&this.opts.element.blur()},isInterfaceEnabled:function(){return this.enabledInterface===!0},enableInterface:function(){var e=this._enabled&&!this._readonly,t=!e;return e===this.enabledInterface?!1:(this.container.toggleClass("select2-container-disabled",t),this.close(),this.enabledInterface=e,!0)},enable:function(e){e===t&&(e=!0),this._enabled!==e&&(this._enabled=e,this.opts.element.prop("disabled",!e),this.enableInterface())},disable:function(){this.enable(!1)},readonly:function(e){e===t&&(e=!1),this._readonly!==e&&(this._readonly=e,this.opts.element.prop("readonly",e),this.enableInterface())},opened:function(){return this.container?this.container.hasClass("select2-dropdown-open"):!1},positionDropdown:function(){var t,s,i,n,o,a=this.dropdown,r=this.container.offset(),c=this.container.outerHeight(!1),l=this.container.outerWidth(!1),h=a.outerHeight(!1),u=e(window),d=u.width(),p=u.height(),f=u.scrollLeft()+d,g=u.scrollTop()+p,m=r.top+c,v=r.left,b=g>=m+h,w=r.top-h>=u.scrollTop(),C=a.outerWidth(!1),S=f>=v+C,y=a.hasClass("select2-drop-above");y?(s=!0,!w&&b&&(i=!0,s=!1)):(s=!1,!b&&w&&(i=!0,s=!0)),i&&(a.hide(),r=this.container.offset(),c=this.container.outerHeight(!1),l=this.container.outerWidth(!1),h=a.outerHeight(!1),f=u.scrollLeft()+d,g=u.scrollTop()+p,m=r.top+c,v=r.left,C=a.outerWidth(!1),S=f>=v+C,a.show(),this.focusSearch()),this.opts.dropdownAutoWidth?(o=e(".select2-results",a)[0],a.addClass("select2-drop-auto-width"),a.css("width",""),C=a.outerWidth(!1)+(o.scrollHeight===o.clientHeight?0:U.width),C>l?l=C:C=l,h=a.outerHeight(!1),S=f>=v+C):this.container.removeClass("select2-drop-auto-width"),"static"!==this.body.css("position")&&(t=this.body.offset(),m-=t.top,v-=t.left),S||(v=r.left+this.container.outerWidth(!1)-C),n={left:v,width:l},s?(n.top=r.top-h,n.bottom="auto",this.container.addClass("select2-drop-above"),a.addClass("select2-drop-above")):(n.top=m,n.bottom="auto",this.container.removeClass("select2-drop-above"),a.removeClass("select2-drop-above")),n=e.extend(n,T(this.opts.dropdownCss,this.opts.element)),a.css(n)},shouldOpen:function(){var t;return this.opened()?!1:this._enabled===!1||this._readonly===!0?!1:(t=e.Event("select2-opening"),this.opts.element.trigger(t),!t.isDefaultPrevented())},clearDropdownAlignmentPreference:function(){this.container.removeClass("select2-drop-above"),this.dropdown.removeClass("select2-drop-above")},open:function(){return this.shouldOpen()?(this.opening(),N.on("mousemove.select2Event",function(e){F.x=e.pageX,F.y=e.pageY}),!0):!1},opening:function(){var t,i=this.containerEventName,n="scroll."+i,o="resize."+i,a="orientationchange."+i;this.container.addClass("select2-dropdown-open").addClass("select2-container-active"),this.clearDropdownAlignmentPreference(),this.dropdown[0]!==this.body.children().last()[0]&&this.dropdown.detach().appendTo(this.body),t=e("#select2-drop-mask"),0==t.length&&(t=e(document.createElement("div")),t.attr("id","select2-drop-mask").attr("class","select2-drop-mask"),t.hide(),t.appendTo(this.body),t.on("mousedown touchstart click",function(i){s(t);var n,o=e("#select2-drop");o.length>0&&(n=o.data("select2"),n.opts.selectOnBlur&&n.selectHighlighted({noFocus:!0}),n.close(),i.preventDefault(),i.stopPropagation())})),this.dropdown.prev()[0]!==t[0]&&this.dropdown.before(t),e("#select2-drop").removeAttr("id"),this.dropdown.attr("id","select2-drop"),t.show(),this.positionDropdown(),this.dropdown.show(),this.positionDropdown(),this.dropdown.addClass("select2-drop-active");var r=this;this.container.parents().add(window).each(function(){e(this).on(o+" "+n+" "+a,function(){r.opened()&&r.positionDropdown()})})},close:function(){if(this.opened()){var t=this.containerEventName,s="scroll."+t,i="resize."+t,n="orientationchange."+t;this.container.parents().add(window).each(function(){e(this).off(s).off(i).off(n)}),this.clearDropdownAlignmentPreference(),e("#select2-drop-mask").hide(),this.dropdown.removeAttr("id"),this.dropdown.hide(),this.container.removeClass("select2-dropdown-open").removeClass("select2-container-active"),this.results.empty(),N.off("mousemove.select2Event"),this.clearSearch(),this.search.removeClass("select2-active"),this.opts.element.trigger(e.Event("select2-close"))}},externalSearch:function(e){this.open(),this.search.val(e),this.updateResults(!1)},clearSearch:function(){},getMaximumSelectionSize:function(){return T(this.opts.maximumSelectionSize,this.opts.element)},ensureHighlightVisible:function(){var s,i,n,o,a,r,c,l,h=this.results;if(i=this.highlight(),!(0>i)){if(0==i)return h.scrollTop(0),t;s=this.findHighlightableChoices().find(".select2-result-label"),n=e(s[i]),l=(n.offset()||{}).top||0,o=l+n.outerHeight(!0),i===s.length-1&&(c=h.find("li.select2-more-results"),c.length>0&&(o=c.offset().top+c.outerHeight(!0))),a=h.offset().top+h.outerHeight(!0),o>a&&h.scrollTop(h.scrollTop()+(o-a)),r=l-h.offset().top,0>r&&"none"!=n.css("display")&&h.scrollTop(h.scrollTop()+r)}},findHighlightableChoices:function(){return this.results.find(".select2-result-selectable:not(.select2-disabled):not(.select2-selected)")},moveHighlight:function(t){for(var s=this.findHighlightableChoices(),i=this.highlight();i>-1&&s.length>i;){i+=t;var n=e(s[i]);if(n.hasClass("select2-result-selectable")&&!n.hasClass("select2-disabled")&&!n.hasClass("select2-selected")){this.highlight(i);break}}},highlight:function(s){var i,o,a=this.findHighlightableChoices();return 0===arguments.length?n(a.filter(".select2-highlighted")[0],a.get()):(s>=a.length&&(s=a.length-1),0>s&&(s=0),this.removeHighlight(),i=e(a[s]),i.addClass("select2-highlighted"),this.search.attr("aria-activedescendant",i.find(".select2-result-label").attr("id")),this.ensureHighlightVisible(),this.liveRegion.text(i.text()),o=i.data("select2-data"),o&&this.opts.element.trigger({type:"select2-highlight",val:this.id(o),choice:o}),t)},removeHighlight:function(){this.results.find(".select2-highlighted").removeClass("select2-highlighted")},touchMoved:function(){this._touchMoved=!0},clearTouchMoved:function(){this._touchMoved=!1},countSelectableResults:function(){return this.findHighlightableChoices().length},highlightUnderEvent:function(t){var s=e(t.target).closest(".select2-result-selectable");if(s.length>0&&!s.is(".select2-highlighted")){var i=this.findHighlightableChoices();this.highlight(i.index(s))}else 0==s.length&&this.removeHighlight()},loadMoreIfNeeded:function(){var e,t=this.results,s=t.find("li.select2-more-results"),i=this.resultsPage+1,n=this,o=this.search.val(),a=this.context;0!==s.length&&(e=s.offset().top-t.offset().top-t.height(),this.opts.loadMorePadding>=e&&(s.addClass("select2-active"),this.opts.query({element:this.opts.element,term:o,page:i,context:a,matcher:this.opts.matcher,callback:this.bind(function(e){n.opened()&&(n.opts.populateResults.call(this,t,e.results,{term:o,page:i,context:a}),n.postprocessResults(e,!1,!1),e.more===!0?(s.detach().appendTo(t).text(T(n.opts.formatLoadMore,n.opts.element,i+1)),window.setTimeout(function(){n.loadMoreIfNeeded()},10)):s.remove(),n.positionDropdown(),n.resultsPage=i,n.context=e.context,this.opts.element.trigger({type:"select2-loaded",items:e}))})})))},tokenize:function(){},updateResults:function(s){function i(){l.removeClass("select2-active"),d.positionDropdown(),h.find(".select2-no-results,.select2-selection-limit,.select2-searching").length?d.liveRegion.text(h.text()):d.liveRegion.text(d.opts.formatMatches(h.find(".select2-result-selectable").length))}function n(e){h.html(e),i()}var o,r,c,l=this.search,h=this.results,u=this.opts,d=this,p=l.val(),f=e.data(this.container,"select2-last-term");if((s===!0||!f||!a(p,f))&&(e.data(this.container,"select2-last-term",p),s===!0||this.showSearchInput!==!1&&this.opened())){c=++this.queryCount;var g=this.getMaximumSelectionSize();if(g>=1&&(o=this.data(),e.isArray(o)&&o.length>=g&&x(u.formatSelectionTooBig,"formatSelectionTooBig")))return n("<li class='select2-selection-limit'>"+T(u.formatSelectionTooBig,u.element,g)+"</li>"),t;if(l.val().length<u.minimumInputLength)return x(u.formatInputTooShort,"formatInputTooShort")?n("<li class='select2-no-results'>"+T(u.formatInputTooShort,u.element,l.val(),u.minimumInputLength)+"</li>"):n(""),s&&this.showSearch&&this.showSearch(!0),t;if(u.maximumInputLength&&l.val().length>u.maximumInputLength)return x(u.formatInputTooLong,"formatInputTooLong")?n("<li class='select2-no-results'>"+T(u.formatInputTooLong,u.element,l.val(),u.maximumInputLength)+"</li>"):n(""),t;u.formatSearching&&0===this.findHighlightableChoices().length&&n("<li class='select2-searching'>"+T(u.formatSearching,u.element)+"</li>"),l.addClass("select2-active"),this.removeHighlight(),r=this.tokenize(),r!=t&&null!=r&&l.val(r),this.resultsPage=1,u.query({element:u.element,term:l.val(),page:this.resultsPage,context:null,matcher:u.matcher,callback:this.bind(function(o){var r;if(c==this.queryCount){if(!this.opened())return this.search.removeClass("select2-active"),t;if(o.hasError!==t&&x(u.formatAjaxError,"formatAjaxError"))return n("<li class='select2-ajax-error'>"+T(u.formatAjaxError,u.element,o.jqXHR,o.textStatus,o.errorThrown)+"</li>"),t;if(this.context=o.context===t?null:o.context,this.opts.createSearchChoice&&""!==l.val()&&(r=this.opts.createSearchChoice.call(d,l.val(),o.results),r!==t&&null!==r&&d.id(r)!==t&&null!==d.id(r)&&0===e(o.results).filter(function(){return a(d.id(this),d.id(r))}).length&&this.opts.createSearchChoicePosition(o.results,r)),0===o.results.length&&x(u.formatNoMatches,"formatNoMatches"))return n("<li class='select2-no-results'>"+T(u.formatNoMatches,u.element,l.val())+"</li>"),t;
|
5 |
h.empty(),d.opts.populateResults.call(this,h,o.results,{term:l.val(),page:this.resultsPage,context:null}),o.more===!0&&x(u.formatLoadMore,"formatLoadMore")&&(h.append("<li class='select2-more-results'>"+u.escapeMarkup(T(u.formatLoadMore,u.element,this.resultsPage))+"</li>"),window.setTimeout(function(){d.loadMoreIfNeeded()},10)),this.postprocessResults(o,s),i(),this.opts.element.trigger({type:"select2-loaded",items:o})}})})}},cancel:function(){this.close()},blur:function(){this.opts.selectOnBlur&&this.selectHighlighted({noFocus:!0}),this.close(),this.container.removeClass("select2-container-active"),this.search[0]===document.activeElement&&this.search.blur(),this.clearSearch(),this.selection.find(".select2-search-choice-focus").removeClass("select2-search-choice-focus")},focusSearch:function(){p(this.search)},selectHighlighted:function(e){if(this._touchMoved)return this.clearTouchMoved(),t;var s=this.highlight(),i=this.results.find(".select2-highlighted"),n=i.closest(".select2-result").data("select2-data");n?(this.highlight(s),this.onSelect(n,e)):e&&e.noFocus&&this.close()},getPlaceholder:function(){var e;return this.opts.element.attr("placeholder")||this.opts.element.attr("data-placeholder")||this.opts.element.data("placeholder")||this.opts.placeholder||((e=this.getPlaceholderOption())!==t?e.text():t)},getPlaceholderOption:function(){if(this.select){var s=this.select.children("option").first();if(this.opts.placeholderOption!==t)return"first"===this.opts.placeholderOption&&s||"function"==typeof this.opts.placeholderOption&&this.opts.placeholderOption(this.select);if(""===e.trim(s.text())&&""===s.val())return s}},initContainerWidth:function(){function s(){var s,i,n,o,a,r;if("off"===this.opts.width)return null;if("element"===this.opts.width)return 0===this.opts.element.outerWidth(!1)?"auto":this.opts.element.outerWidth(!1)+"px";if("copy"===this.opts.width||"resolve"===this.opts.width){if(s=this.opts.element.attr("style"),s!==t)for(i=s.split(";"),o=0,a=i.length;a>o;o+=1)if(r=i[o].replace(/\s/g,""),n=r.match(/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i),null!==n&&n.length>=1)return n[1];return"resolve"===this.opts.width?(s=this.opts.element.css("width"),s.indexOf("%")>0?s:0===this.opts.element.outerWidth(!1)?"auto":this.opts.element.outerWidth(!1)+"px"):null}return e.isFunction(this.opts.width)?this.opts.width():this.opts.width}var i=s.call(this);null!==i&&this.container.css("width",i)}}),D=k(R,{createContainer:function(){var t=e(document.createElement("div")).attr({"class":"select2-container"}).html(["<a href='javascript:void(0)' class='select2-choice' tabindex='-1'>"," <span class='select2-chosen'> </span><abbr class='select2-search-choice-close'></abbr>"," <span class='select2-arrow' role='presentation'><b role='presentation'></b></span>","</a>","<label for='' class='select2-offscreen'></label>","<input class='select2-focusser select2-offscreen' type='text' aria-haspopup='true' role='button' />","<div class='select2-drop select2-display-none'>"," <div class='select2-search'>"," <label for='' class='select2-offscreen'></label>"," <input type='text' autocomplete='off' autocorrect='off' autocapitalize='off' spellcheck='false' class='select2-input' role='combobox' aria-expanded='true'"," aria-autocomplete='list' />"," </div>"," <ul class='select2-results' role='listbox'>"," </ul>","</div>"].join(""));return t},enableInterface:function(){this.parent.enableInterface.apply(this,arguments)&&this.focusser.prop("disabled",!this.isInterfaceEnabled())},opening:function(){var s,i,n;this.opts.minimumResultsForSearch>=0&&this.showSearch(!0),this.parent.opening.apply(this,arguments),this.showSearchInput!==!1&&this.search.val(this.focusser.val()),this.opts.shouldFocusInput(this)&&(this.search.focus(),s=this.search.get(0),s.createTextRange?(i=s.createTextRange(),i.collapse(!1),i.select()):s.setSelectionRange&&(n=this.search.val().length,s.setSelectionRange(n,n))),""===this.search.val()&&this.nextSearchTerm!=t&&(this.search.val(this.nextSearchTerm),this.search.select()),this.focusser.prop("disabled",!0).val(""),this.updateResults(!0),this.opts.element.trigger(e.Event("select2-open"))},close:function(){this.opened()&&(this.parent.close.apply(this,arguments),this.focusser.prop("disabled",!1),this.opts.shouldFocusInput(this)&&this.focusser.focus())},focus:function(){this.opened()?this.close():(this.focusser.prop("disabled",!1),this.opts.shouldFocusInput(this)&&this.focusser.focus())},isFocused:function(){return this.container.hasClass("select2-container-active")},cancel:function(){this.parent.cancel.apply(this,arguments),this.focusser.prop("disabled",!1),this.opts.shouldFocusInput(this)&&this.focusser.focus()},destroy:function(){e("label[for='"+this.focusser.attr("id")+"']").attr("for",this.opts.element.attr("id")),this.parent.destroy.apply(this,arguments),I.call(this,"selection","focusser")},initContainer:function(){var i,n,o=this.container,a=this.dropdown,r=M();0>this.opts.minimumResultsForSearch?this.showSearch(!1):this.showSearch(!0),this.selection=i=o.find(".select2-choice"),this.focusser=o.find(".select2-focusser"),i.find(".select2-chosen").attr("id","select2-chosen-"+r),this.focusser.attr("aria-labelledby","select2-chosen-"+r),this.results.attr("id","select2-results-"+r),this.search.attr("aria-owns","select2-results-"+r),this.focusser.attr("id","s2id_autogen"+r),n=e("label[for='"+this.opts.element.attr("id")+"']"),this.focusser.prev().text(n.text()).attr("for",this.focusser.attr("id"));var c=this.opts.element.attr("title");this.opts.element.attr("title",c||n.text()),this.focusser.attr("tabindex",this.elementTabIndex),this.search.attr("id",this.focusser.attr("id")+"_search"),this.search.prev().text(e("label[for='"+this.focusser.attr("id")+"']").text()).attr("for",this.search.attr("id")),this.search.on("keydown",this.bind(function(e){if(this.isInterfaceEnabled()&&229!=e.keyCode){if(e.which===A.PAGE_UP||e.which===A.PAGE_DOWN)return g(e),t;switch(e.which){case A.UP:case A.DOWN:return this.moveHighlight(e.which===A.UP?-1:1),g(e),t;case A.ENTER:return this.selectHighlighted(),g(e),t;case A.TAB:return this.selectHighlighted({noFocus:!0}),t;case A.ESC:return this.cancel(e),g(e),t}}})),this.search.on("blur",this.bind(function(){document.activeElement===this.body.get(0)&&window.setTimeout(this.bind(function(){this.opened()&&this.search.focus()}),0)})),this.focusser.on("keydown",this.bind(function(e){if(this.isInterfaceEnabled()&&e.which!==A.TAB&&!A.isControl(e)&&!A.isFunctionKey(e)&&e.which!==A.ESC){if(this.opts.openOnEnter===!1&&e.which===A.ENTER)return g(e),t;if(e.which==A.DOWN||e.which==A.UP||e.which==A.ENTER&&this.opts.openOnEnter){if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey)return;return this.open(),g(e),t}return e.which==A.DELETE||e.which==A.BACKSPACE?(this.opts.allowClear&&this.clear(),g(e),t):t}})),l(this.focusser),this.focusser.on("keyup-change input",this.bind(function(e){if(this.opts.minimumResultsForSearch>=0){if(e.stopPropagation(),this.opened())return;this.open()}})),i.on("mousedown touchstart","abbr",this.bind(function(e){this.isInterfaceEnabled()&&(this.clear(),m(e),this.close(),this.selection.focus())})),i.on("mousedown touchstart",this.bind(function(t){s(i),this.container.hasClass("select2-container-active")||this.opts.element.trigger(e.Event("select2-focus")),this.opened()?this.close():this.isInterfaceEnabled()&&this.open(),g(t)})),a.on("mousedown touchstart",this.bind(function(){this.opts.shouldFocusInput(this)&&this.search.focus()})),i.on("focus",this.bind(function(e){g(e)})),this.focusser.on("focus",this.bind(function(){this.container.hasClass("select2-container-active")||this.opts.element.trigger(e.Event("select2-focus")),this.container.addClass("select2-container-active")})).on("blur",this.bind(function(){this.opened()||(this.container.removeClass("select2-container-active"),this.opts.element.trigger(e.Event("select2-blur")))})),this.search.on("focus",this.bind(function(){this.container.hasClass("select2-container-active")||this.opts.element.trigger(e.Event("select2-focus")),this.container.addClass("select2-container-active")})),this.initContainerWidth(),this.opts.element.addClass("select2-offscreen"),this.setPlaceholder()},clear:function(t){var s=this.selection.data("select2-data");if(s){var i=e.Event("select2-clearing");if(this.opts.element.trigger(i),i.isDefaultPrevented())return;var n=this.getPlaceholderOption();this.opts.element.val(n?n.val():""),this.selection.find(".select2-chosen").empty(),this.selection.removeData("select2-data"),this.setPlaceholder(),t!==!1&&(this.opts.element.trigger({type:"select2-removed",val:this.id(s),choice:s}),this.triggerChange({removed:s}))}},initSelection:function(){if(this.isPlaceholderOptionSelected())this.updateSelection(null),this.close(),this.setPlaceholder();else{var e=this;this.opts.initSelection.call(null,this.opts.element,function(s){s!==t&&null!==s&&(e.updateSelection(s),e.close(),e.setPlaceholder(),e.nextSearchTerm=e.opts.nextSearchTerm(s,e.search.val()))})}},isPlaceholderOptionSelected:function(){var e;return this.getPlaceholder()===t?!1:(e=this.getPlaceholderOption())!==t&&e.prop("selected")||""===this.opts.element.val()||this.opts.element.val()===t||null===this.opts.element.val()},prepareOpts:function(){var t=this.parent.prepareOpts.apply(this,arguments),s=this;return"select"===t.element.get(0).tagName.toLowerCase()?t.initSelection=function(e,t){var i=e.find("option").filter(function(){return this.selected&&!this.disabled});t(s.optionToData(i))}:"data"in t&&(t.initSelection=t.initSelection||function(s,i){var n=s.val(),o=null;t.query({matcher:function(e,s,i){var r=a(n,t.id(i));return r&&(o=i),r},callback:e.isFunction(i)?function(){i(o)}:e.noop})}),t},getPlaceholder:function(){return this.select&&this.getPlaceholderOption()===t?t:this.parent.getPlaceholder.apply(this,arguments)},setPlaceholder:function(){var e=this.getPlaceholder();if(this.isPlaceholderOptionSelected()&&e!==t){if(this.select&&this.getPlaceholderOption()===t)return;this.selection.find(".select2-chosen").html(this.opts.escapeMarkup(e)),this.selection.addClass("select2-default"),this.container.removeClass("select2-allowclear")}},postprocessResults:function(e,s,i){var n=0,o=this;if(this.findHighlightableChoices().each2(function(e,s){return a(o.id(s.data("select2-data")),o.opts.element.val())?(n=e,!1):t}),i!==!1&&(s===!0&&n>=0?this.highlight(n):this.highlight(0)),s===!0){var r=this.opts.minimumResultsForSearch;r>=0&&this.showSearch(O(e.results)>=r)}},showSearch:function(t){this.showSearchInput!==t&&(this.showSearchInput=t,this.dropdown.find(".select2-search").toggleClass("select2-search-hidden",!t),this.dropdown.find(".select2-search").toggleClass("select2-offscreen",!t),e(this.dropdown,this.container).toggleClass("select2-with-searchbox",t))},onSelect:function(e,t){if(this.triggerSelect(e)){var s=this.opts.element.val(),i=this.data();this.opts.element.val(this.id(e)),this.updateSelection(e),this.opts.element.trigger({type:"select2-selected",val:this.id(e),choice:e}),this.nextSearchTerm=this.opts.nextSearchTerm(e,this.search.val()),this.close(),t&&t.noFocus||!this.opts.shouldFocusInput(this)||this.focusser.focus(),a(s,this.id(e))||this.triggerChange({added:e,removed:i})}},updateSelection:function(e){var s,i,n=this.selection.find(".select2-chosen");this.selection.data("select2-data",e),n.empty(),null!==e&&(s=this.opts.formatSelection(e,n,this.opts.escapeMarkup)),s!==t&&n.append(s),i=this.opts.formatSelectionCssClass(e,n),i!==t&&n.addClass(i),this.selection.removeClass("select2-default"),this.opts.allowClear&&this.getPlaceholder()!==t&&this.container.addClass("select2-allowclear")},val:function(){var e,s=!1,i=null,n=this,o=this.data();if(0===arguments.length)return this.opts.element.val();if(e=arguments[0],arguments.length>1&&(s=arguments[1]),this.select)this.select.val(e).find("option").filter(function(){return this.selected}).each2(function(e,t){return i=n.optionToData(t),!1}),this.updateSelection(i),this.setPlaceholder(),s&&this.triggerChange({added:i,removed:o});else{if(!e&&0!==e)return this.clear(s),t;if(this.opts.initSelection===t)throw Error("cannot call val() if initSelection() is not defined");this.opts.element.val(e),this.opts.initSelection(this.opts.element,function(e){n.opts.element.val(e?n.id(e):""),n.updateSelection(e),n.setPlaceholder(),s&&n.triggerChange({added:e,removed:o})})}},clearSearch:function(){this.search.val(""),this.focusser.val("")},data:function(e){var s,i=!1;return 0===arguments.length?(s=this.selection.data("select2-data"),s==t&&(s=null),s):(arguments.length>1&&(i=arguments[1]),e?(s=this.data(),this.opts.element.val(e?this.id(e):""),this.updateSelection(e),i&&this.triggerChange({added:e,removed:s})):this.clear(i),t)}}),H=k(R,{createContainer:function(){var t=e(document.createElement("div")).attr({"class":"select2-container select2-container-multi"}).html(["<ul class='select2-choices'>"," <li class='select2-search-field'>"," <label for='' class='select2-offscreen'></label>"," <input type='text' autocomplete='off' autocorrect='off' autocapitalize='off' spellcheck='false' class='select2-input'>"," </li>","</ul>","<div class='select2-drop select2-drop-multi select2-display-none'>"," <ul class='select2-results'>"," </ul>","</div>"].join(""));return t},prepareOpts:function(){var t=this.parent.prepareOpts.apply(this,arguments),s=this;return"select"===t.element.get(0).tagName.toLowerCase()?t.initSelection=function(e,t){var i=[];e.find("option").filter(function(){return this.selected&&!this.disabled}).each2(function(e,t){i.push(s.optionToData(t))}),t(i)}:"data"in t&&(t.initSelection=t.initSelection||function(s,i){var n=r(s.val(),t.separator),o=[];t.query({matcher:function(s,i,r){var c=e.grep(n,function(e){return a(e,t.id(r))}).length;return c&&o.push(r),c},callback:e.isFunction(i)?function(){for(var e=[],s=0;n.length>s;s++)for(var r=n[s],c=0;o.length>c;c++){var l=o[c];if(a(r,t.id(l))){e.push(l),o.splice(c,1);break}}i(e)}:e.noop})}),t},selectChoice:function(e){var t=this.container.find(".select2-search-choice-focus");t.length&&e&&e[0]==t[0]||(t.length&&this.opts.element.trigger("choice-deselected",t),t.removeClass("select2-search-choice-focus"),e&&e.length&&(this.close(),e.addClass("select2-search-choice-focus"),this.opts.element.trigger("choice-selected",e)))},destroy:function(){e("label[for='"+this.search.attr("id")+"']").attr("for",this.opts.element.attr("id")),this.parent.destroy.apply(this,arguments),I.call(this,"searchContainer","selection")},initContainer:function(){var s,i=".select2-choices";this.searchContainer=this.container.find(".select2-search-field"),this.selection=s=this.container.find(i);var n=this;this.selection.on("click",".select2-search-choice:not(.select2-locked)",function(){n.search[0].focus(),n.selectChoice(e(this))}),this.search.attr("id","s2id_autogen"+M()),this.search.prev().text(e("label[for='"+this.opts.element.attr("id")+"']").text()).attr("for",this.search.attr("id")),this.search.on("input paste",this.bind(function(){this.search.attr("placeholder")&&0==this.search.val().length||this.isInterfaceEnabled()&&(this.opened()||this.open())})),this.search.attr("tabindex",this.elementTabIndex),this.keydowns=0,this.search.on("keydown",this.bind(function(e){if(this.isInterfaceEnabled()){++this.keydowns;var i=s.find(".select2-search-choice-focus"),n=i.prev(".select2-search-choice:not(.select2-locked)"),o=i.next(".select2-search-choice:not(.select2-locked)"),a=f(this.search);if(i.length&&(e.which==A.LEFT||e.which==A.RIGHT||e.which==A.BACKSPACE||e.which==A.DELETE||e.which==A.ENTER)){var r=i;return e.which==A.LEFT&&n.length?r=n:e.which==A.RIGHT?r=o.length?o:null:e.which===A.BACKSPACE?this.unselect(i.first())&&(this.search.width(10),r=n.length?n:o):e.which==A.DELETE?this.unselect(i.first())&&(this.search.width(10),r=o.length?o:null):e.which==A.ENTER&&(r=null),this.selectChoice(r),g(e),r&&r.length||this.open(),t}if((e.which===A.BACKSPACE&&1==this.keydowns||e.which==A.LEFT)&&0==a.offset&&!a.length)return this.selectChoice(s.find(".select2-search-choice:not(.select2-locked)").last()),g(e),t;if(this.selectChoice(null),this.opened())switch(e.which){case A.UP:case A.DOWN:return this.moveHighlight(e.which===A.UP?-1:1),g(e),t;case A.ENTER:return this.selectHighlighted(),g(e),t;case A.TAB:return this.selectHighlighted({noFocus:!0}),this.close(),t;case A.ESC:return this.cancel(e),g(e),t}if(e.which!==A.TAB&&!A.isControl(e)&&!A.isFunctionKey(e)&&e.which!==A.BACKSPACE&&e.which!==A.ESC){if(e.which===A.ENTER){if(this.opts.openOnEnter===!1)return;if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey)return}this.open(),(e.which===A.PAGE_UP||e.which===A.PAGE_DOWN)&&g(e),e.which===A.ENTER&&g(e)}}})),this.search.on("keyup",this.bind(function(){this.keydowns=0,this.resizeSearch()})),this.search.on("blur",this.bind(function(t){this.container.removeClass("select2-container-active"),this.search.removeClass("select2-focused"),this.selectChoice(null),this.opened()||this.clearSearch(),t.stopImmediatePropagation(),this.opts.element.trigger(e.Event("select2-blur"))})),this.container.on("click",i,this.bind(function(t){this.isInterfaceEnabled()&&(e(t.target).closest(".select2-search-choice").length>0||(this.selectChoice(null),this.clearPlaceholder(),this.container.hasClass("select2-container-active")||this.opts.element.trigger(e.Event("select2-focus")),this.open(),this.focusSearch(),t.preventDefault()))})),this.container.on("focus",i,this.bind(function(){this.isInterfaceEnabled()&&(this.container.hasClass("select2-container-active")||this.opts.element.trigger(e.Event("select2-focus")),this.container.addClass("select2-container-active"),this.dropdown.addClass("select2-drop-active"),this.clearPlaceholder())})),this.initContainerWidth(),this.opts.element.addClass("select2-offscreen"),this.clearSearch()},enableInterface:function(){this.parent.enableInterface.apply(this,arguments)&&this.search.prop("disabled",!this.isInterfaceEnabled())},initSelection:function(){if(""===this.opts.element.val()&&""===this.opts.element.text()&&(this.updateSelection([]),this.close(),this.clearSearch()),this.select||""!==this.opts.element.val()){var e=this;this.opts.initSelection.call(null,this.opts.element,function(s){s!==t&&null!==s&&(e.updateSelection(s),e.close(),e.clearSearch())})}},clearSearch:function(){var e=this.getPlaceholder(),s=this.getMaxSearchWidth();e!==t&&0===this.getVal().length&&this.search.hasClass("select2-focused")===!1?(this.search.val(e).addClass("select2-default"),this.search.width(s>0?s:this.container.css("width"))):this.search.val("").width(10)},clearPlaceholder:function(){this.search.hasClass("select2-default")&&this.search.val("").removeClass("select2-default")},opening:function(){this.clearPlaceholder(),this.resizeSearch(),this.parent.opening.apply(this,arguments),this.focusSearch(),""===this.search.val()&&this.nextSearchTerm!=t&&(this.search.val(this.nextSearchTerm),this.search.select()),this.updateResults(!0),this.opts.shouldFocusInput(this)&&this.search.focus(),this.opts.element.trigger(e.Event("select2-open"))},close:function(){this.opened()&&this.parent.close.apply(this,arguments)},focus:function(){this.close(),this.search.focus()},isFocused:function(){return this.search.hasClass("select2-focused")},updateSelection:function(t){var s=[],i=[],o=this;e(t).each(function(){0>n(o.id(this),s)&&(s.push(o.id(this)),i.push(this))}),t=i,this.selection.find(".select2-search-choice").remove(),e(t).each(function(){o.addSelectedChoice(this)}),o.postprocessResults()},tokenize:function(){var e=this.search.val();e=this.opts.tokenizer.call(this,e,this.data(),this.bind(this.onSelect),this.opts),null!=e&&e!=t&&(this.search.val(e),e.length>0&&this.open())},onSelect:function(e,s){this.triggerSelect(e)&&""!==e.text&&(this.addSelectedChoice(e),this.opts.element.trigger({type:"selected",val:this.id(e),choice:e}),this.nextSearchTerm=this.opts.nextSearchTerm(e,this.search.val()),this.clearSearch(),this.updateResults(),(this.select||!this.opts.closeOnSelect)&&this.postprocessResults(e,!1,this.opts.closeOnSelect===!0),this.opts.closeOnSelect?(this.close(),this.search.width(10)):this.countSelectableResults()>0?(this.search.width(10),this.resizeSearch(),this.getMaximumSelectionSize()>0&&this.val().length>=this.getMaximumSelectionSize()?this.updateResults(!0):this.nextSearchTerm!=t&&(this.search.val(this.nextSearchTerm),this.updateResults(),this.search.select()),this.positionDropdown()):(this.close(),this.search.width(10)),this.triggerChange({added:e}),s&&s.noFocus||this.focusSearch())},cancel:function(){this.close(),this.focusSearch()},addSelectedChoice:function(s){var i,n,o=!s.locked,a=e("<li class='select2-search-choice'> <div></div> <a href='#' class='select2-search-choice-close' tabindex='-1'></a></li>"),r=e("<li class='select2-search-choice select2-locked'><div></div></li>"),c=o?a:r,l=this.id(s),h=this.getVal();i=this.opts.formatSelection(s,c.find("div"),this.opts.escapeMarkup),i!=t&&c.find("div").replaceWith("<div>"+i+"</div>"),n=this.opts.formatSelectionCssClass(s,c.find("div")),n!=t&&c.addClass(n),o&&c.find(".select2-search-choice-close").on("mousedown",g).on("click dblclick",this.bind(function(t){this.isInterfaceEnabled()&&(this.unselect(e(t.target)),this.selection.find(".select2-search-choice-focus").removeClass("select2-search-choice-focus"),g(t),this.close(),this.focusSearch())})).on("focus",this.bind(function(){this.isInterfaceEnabled()&&(this.container.addClass("select2-container-active"),this.dropdown.addClass("select2-drop-active"))})),c.data("select2-data",s),c.insertBefore(this.searchContainer),h.push(l),this.setVal(h)},unselect:function(t){var s,i,o=this.getVal();if(t=t.closest(".select2-search-choice"),0===t.length)throw"Invalid argument: "+t+". Must be .select2-search-choice";if(s=t.data("select2-data")){var a=e.Event("select2-removing");if(a.val=this.id(s),a.choice=s,this.opts.element.trigger(a),a.isDefaultPrevented())return!1;for(;(i=n(this.id(s),o))>=0;)o.splice(i,1),this.setVal(o),this.select&&this.postprocessResults();return t.remove(),this.opts.element.trigger({type:"select2-removed",val:this.id(s),choice:s}),this.triggerChange({removed:s}),!0}},postprocessResults:function(e,t,s){var i=this.getVal(),o=this.results.find(".select2-result"),a=this.results.find(".select2-result-with-children"),r=this;o.each2(function(e,t){var s=r.id(t.data("select2-data"));n(s,i)>=0&&(t.addClass("select2-selected"),t.find(".select2-result-selectable").addClass("select2-selected"))}),a.each2(function(e,t){t.is(".select2-result-selectable")||0!==t.find(".select2-result-selectable:not(.select2-selected)").length||t.addClass("select2-selected")}),-1==this.highlight()&&s!==!1&&r.highlight(0),!this.opts.createSearchChoice&&!o.filter(".select2-result:not(.select2-selected)").length>0&&(!e||e&&!e.more&&0===this.results.find(".select2-no-results").length)&&x(r.opts.formatNoMatches,"formatNoMatches")&&this.results.append("<li class='select2-no-results'>"+T(r.opts.formatNoMatches,r.opts.element,r.search.val())+"</li>")},getMaxSearchWidth:function(){return this.selection.width()-c(this.search)},resizeSearch:function(){var e,t,s,i,n,o=c(this.search);e=v(this.search)+10,t=this.search.offset().left,s=this.selection.width(),i=this.selection.offset().left,n=s-(t-i)-o,e>n&&(n=s-o),40>n&&(n=s-o),0>=n&&(n=e),this.search.width(Math.floor(n))},getVal:function(){var e;return this.select?(e=this.select.val(),null===e?[]:e):(e=this.opts.element.val(),r(e,this.opts.separator))},setVal:function(t){var s;this.select?this.select.val(t):(s=[],e(t).each(function(){0>n(this,s)&&s.push(this)}),this.opts.element.val(0===s.length?"":s.join(this.opts.separator)))},buildChangeDetails:function(e,t){for(var t=t.slice(0),e=e.slice(0),s=0;t.length>s;s++)for(var i=0;e.length>i;i++)a(this.opts.id(t[s]),this.opts.id(e[i]))&&(t.splice(s,1),s>0&&s--,e.splice(i,1),i--);return{added:t,removed:e}},val:function(s,i){var n,o=this;if(0===arguments.length)return this.getVal();if(n=this.data(),n.length||(n=[]),!s&&0!==s)return this.opts.element.val(""),this.updateSelection([]),this.clearSearch(),i&&this.triggerChange({added:this.data(),removed:n}),t;if(this.setVal(s),this.select)this.opts.initSelection(this.select,this.bind(this.updateSelection)),i&&this.triggerChange(this.buildChangeDetails(n,this.data()));else{if(this.opts.initSelection===t)throw Error("val() cannot be called if initSelection() is not defined");this.opts.initSelection(this.opts.element,function(t){var s=e.map(t,o.id);o.setVal(s),o.updateSelection(t),o.clearSearch(),i&&o.triggerChange(o.buildChangeDetails(n,o.data()))})}this.clearSearch()},onSortStart:function(){if(this.select)throw Error("Sorting of elements is not supported when attached to <select>. Attach to <input type='hidden'/> instead.");this.search.width(0),this.searchContainer.hide()},onSortEnd:function(){var t=[],s=this;this.searchContainer.show(),this.searchContainer.appendTo(this.searchContainer.parent()),this.resizeSearch(),this.selection.find(".select2-search-choice").each(function(){t.push(s.opts.id(e(this).data("select2-data")))}),this.setVal(t),this.triggerChange()},data:function(s,i){var n,o,a=this;return 0===arguments.length?this.selection.children(".select2-search-choice").map(function(){return e(this).data("select2-data")}).get():(o=this.data(),s||(s=[]),n=e.map(s,function(e){return a.opts.id(e)}),this.setVal(n),this.updateSelection(s),this.clearSearch(),i&&this.triggerChange(this.buildChangeDetails(o,this.data())),t)}}),e.fn.select2=function(){var s,i,o,a,r,c=Array.prototype.slice.call(arguments,0),l=["val","destroy","opened","open","close","focus","isFocused","container","dropdown","onSortStart","onSortEnd","enable","disable","readonly","positionDropdown","data","search"],h=["opened","isFocused","container","dropdown"],u=["val","data"],d={search:"externalSearch"};return this.each(function(){if(0===c.length||"object"==typeof c[0])s=0===c.length?{}:e.extend({},c[0]),s.element=e(this),"select"===s.element.get(0).tagName.toLowerCase()?r=s.element.prop("multiple"):(r=s.multiple||!1,"tags"in s&&(s.multiple=r=!0)),i=r?new window.Select2["class"].multi:new window.Select2["class"].single,i.init(s);else{if("string"!=typeof c[0])throw"Invalid arguments to select2 plugin: "+c;if(0>n(c[0],l))throw"Unknown method: "+c[0];if(a=t,i=e(this).data("select2"),i===t)return;if(o=c[0],"container"===o?a=i.container:"dropdown"===o?a=i.dropdown:(d[o]&&(o=d[o]),a=i[o].apply(i,c.slice(1))),n(c[0],h)>=0||n(c[0],u)>=0&&1==c.length)return!1}}),a===t?this:a},e.fn.select2.defaults={width:"copy",loadMorePadding:0,closeOnSelect:!0,openOnEnter:!0,containerCss:{},dropdownCss:{},containerCssClass:"",dropdownCssClass:"",formatResult:function(e,t,s,i){var n=[];return w(e.text,s.term,n,i),n.join("")},formatSelection:function(e,s,i){return e?i(e.text):t},sortResults:function(e){return e},formatResultCssClass:function(e){return e.css},formatSelectionCssClass:function(){return t},minimumResultsForSearch:0,minimumInputLength:0,maximumInputLength:null,maximumSelectionSize:0,id:function(e){return e==t?null:e.id},matcher:function(e,t){return i(""+t).toUpperCase().indexOf(i(""+e).toUpperCase())>=0},separator:",",tokenSeparators:[],tokenizer:P,escapeMarkup:C,blurOnChange:!1,selectOnBlur:!1,adaptContainerCssClass:function(e){return e},adaptDropdownCssClass:function(){return null},nextSearchTerm:function(){return t},searchInputPlaceholder:"",createSearchChoicePosition:"top",shouldFocusInput:function(e){var t="ontouchstart"in window||navigator.msMaxTouchPoints>0;return t?0>e.opts.minimumResultsForSearch?!1:!0:!0}},e.fn.select2.locales=[],e.fn.select2.locales.en={formatMatches:function(e){return 1===e?"One result is available, press enter to select it.":e+" results are available, use up and down arrow keys to navigate."},formatNoMatches:function(){return"No matches found"},formatAjaxError:function(){return"Loading failed"},formatInputTooShort:function(e,t){var s=t-e.length;return"Please enter "+s+" or more character"+(1==s?"":"s")},formatInputTooLong:function(e,t){var s=e.length-t;return"Please delete "+s+" character"+(1==s?"":"s")},formatSelectionTooBig:function(e){return"You can only select "+e+" item"+(1==e?"":"s")},formatLoadMore:function(){return"Loading more results…"},formatSearching:function(){return"Searching…"}},e.extend(e.fn.select2.defaults,e.fn.select2.locales.en),e.fn.select2.ajaxDefaults={transport:e.ajax,params:{type:"GET",cache:!1,dataType:"json"}},window.Select2={query:{ajax:S,local:y,tags:E},util:{debounce:u,markMatch:w,escapeMarkup:C,stripDiacritics:i},"class":{"abstract":R,single:D,multi:H}}}}(jQuery);
|
inc/external/wpmu-lib/js/{tiny-scrollbar.js → tiny-scrollbar.2.js}
RENAMED
@@ -1,6 +1,6 @@
|
|
1 |
-
/*! WPMU Dev code library -
|
2 |
* http://premium.wpmudev.org/
|
3 |
-
* Copyright (c)
|
4 |
/*! tinyscrollbar - v2.1.7 - 2014-05-21
|
5 |
* http://www.baijs.com/tinyscrollbar
|
6 |
*
|
1 |
+
/*! WPMU Dev code library - v2.0.3
|
2 |
* http://premium.wpmudev.org/
|
3 |
+
* Copyright (c) 2015; * Licensed GPLv2+ */
|
4 |
/*! tinyscrollbar - v2.1.7 - 2014-05-21
|
5 |
* http://www.baijs.com/tinyscrollbar
|
6 |
*
|
inc/external/wpmu-lib/js/{tiny-scrollbar.min.js → tiny-scrollbar.2.min.js}
RENAMED
@@ -1,4 +1,4 @@
|
|
1 |
-
/*! WPMU Dev code library -
|
2 |
* http://premium.wpmudev.org/
|
3 |
-
* Copyright (c)
|
4 |
!function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports?t(require("jquery")):t(jQuery)}(function(t){"use strict";function e(e,n){function o(){return d.update(),r(),d}function a(){v.css(x,d.contentPosition/d.trackRatio),f.css(x,-d.contentPosition),g.css(y,d.trackSize),m.css(y,d.trackSize),v.css(y,d.thumbSize)}function r(){S?p[0].ontouchstart=function(t){1===t.touches.length&&(t.stopPropagation(),c(t.touches[0]))}:(v.bind("mousedown",c),m.bind("mousedown",h)),t(window).resize(function(){d.update("relative")}),d.options.wheel&&window.addEventListener?e[0].addEventListener(C,l,!1):d.options.wheel&&(e[0].onmousewheel=l)}function c(e){t("body").addClass("noSelect"),w=b?e.pageX:e.pageY,d.thumbPosition=parseInt(v.css(x),10)||0,S?(document.ontouchmove=function(t){t.preventDefault(),h(t.touches[0])},document.ontouchend=u):(t(document).bind("mousemove",h),t(document).bind("mouseup",u),v.bind("mouseup",u))}function l(s){if(1>d.contentRatio){var i=s||window.event,n="delta"+d.options.axis.toUpperCase(),o=-(i[n]||i.detail||-1/3*i.wheelDelta)/40;d.contentPosition-=o*d.options.wheelSpeed,d.contentPosition=Math.min(d.contentSize-d.viewportSize,Math.max(0,d.contentPosition)),e.trigger("move"),v.css(x,d.contentPosition/d.trackRatio),f.css(x,-d.contentPosition),(d.options.wheelLock||d.contentPosition!==d.contentSize-d.viewportSize&&0!==d.contentPosition)&&(i=t.event.fix(i),i.preventDefault())}}function h(t){if(1>d.contentRatio){var s=b?t.pageX:t.pageY,i=s-w;d.options.scrollInvert&&S&&(i=w-s);var n=Math.min(d.trackSize-d.thumbSize,Math.max(0,d.thumbPosition+i));d.contentPosition=n*d.trackRatio,e.trigger("move"),v.css(x,n),f.css(x,-d.contentPosition)}}function u(){t("body").removeClass("noSelect"),t(document).unbind("mousemove",h),t(document).unbind("mouseup",u),v.unbind("mouseup",u),document.ontouchmove=document.ontouchend=null}this.options=t.extend({},i,n),this._defaults=i,this._name=s;var d=this,p=e.find(".viewport"),f=e.find(".overview"),g=e.find(".scrollbar"),m=g.find(".track"),v=g.find(".thumb"),w=0,b="x"===this.options.axis,S="ontouchstart"in document.documentElement,C="onwheel"in document||document.documentMode>=9?"wheel":void 0!==document.onmousewheel?"mousewheel":"DOMMouseScroll",y=b?"width":"height",x=b?"left":"top";return this.contentPosition=0,this.viewportSize=0,this.contentSize=0,this.contentRatio=0,this.trackSize=0,this.trackRatio=0,this.thumbSize=0,this.thumbPosition=0,this.update=function(t){var e=y.charAt(0).toUpperCase()+y.slice(1).toLowerCase();switch(this.viewportSize=p[0]["offset"+e],this.contentSize=f[0]["scroll"+e],this.contentRatio=this.viewportSize/this.contentSize,this.trackSize=this.options.trackSize||this.viewportSize,this.thumbSize=Math.min(this.trackSize,Math.max(0,this.options.thumbSize||this.trackSize*this.contentRatio)),this.trackRatio=this.options.thumbSize?(this.contentSize-this.viewportSize)/(this.trackSize-this.thumbSize):this.contentSize/this.trackSize,g.toggleClass("disable",this.contentRatio>=1),t){case"bottom":this.contentPosition=this.contentSize-this.viewportSize;break;case"relative":this.contentPosition=Math.min(Math.max(this.contentSize-this.viewportSize,0),Math.max(0,this.contentPosition));break;default:this.contentPosition=parseInt(t,10)||0}return a(),d},o()}var s="tinyscrollbar",i={axis:"y",wheel:!0,wheelSpeed:40,wheelLock:!0,scrollInvert:!1,trackSize:!1,thumbSize:!1};t.fn[s]=function(i){return this.each(function(){t.data(this,"plugin_"+s)||t.data(this,"plugin_"+s,new e(t(this),i))})}});
|
1 |
+
/*! WPMU Dev code library - v2.0.3
|
2 |
* http://premium.wpmudev.org/
|
3 |
+
* Copyright (c) 2015; * Licensed GPLv2+ */
|
4 |
!function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports?t(require("jquery")):t(jQuery)}(function(t){"use strict";function e(e,n){function o(){return d.update(),r(),d}function a(){v.css(x,d.contentPosition/d.trackRatio),f.css(x,-d.contentPosition),g.css(y,d.trackSize),m.css(y,d.trackSize),v.css(y,d.thumbSize)}function r(){S?p[0].ontouchstart=function(t){1===t.touches.length&&(t.stopPropagation(),c(t.touches[0]))}:(v.bind("mousedown",c),m.bind("mousedown",h)),t(window).resize(function(){d.update("relative")}),d.options.wheel&&window.addEventListener?e[0].addEventListener(C,l,!1):d.options.wheel&&(e[0].onmousewheel=l)}function c(e){t("body").addClass("noSelect"),w=b?e.pageX:e.pageY,d.thumbPosition=parseInt(v.css(x),10)||0,S?(document.ontouchmove=function(t){t.preventDefault(),h(t.touches[0])},document.ontouchend=u):(t(document).bind("mousemove",h),t(document).bind("mouseup",u),v.bind("mouseup",u))}function l(s){if(1>d.contentRatio){var i=s||window.event,n="delta"+d.options.axis.toUpperCase(),o=-(i[n]||i.detail||-1/3*i.wheelDelta)/40;d.contentPosition-=o*d.options.wheelSpeed,d.contentPosition=Math.min(d.contentSize-d.viewportSize,Math.max(0,d.contentPosition)),e.trigger("move"),v.css(x,d.contentPosition/d.trackRatio),f.css(x,-d.contentPosition),(d.options.wheelLock||d.contentPosition!==d.contentSize-d.viewportSize&&0!==d.contentPosition)&&(i=t.event.fix(i),i.preventDefault())}}function h(t){if(1>d.contentRatio){var s=b?t.pageX:t.pageY,i=s-w;d.options.scrollInvert&&S&&(i=w-s);var n=Math.min(d.trackSize-d.thumbSize,Math.max(0,d.thumbPosition+i));d.contentPosition=n*d.trackRatio,e.trigger("move"),v.css(x,n),f.css(x,-d.contentPosition)}}function u(){t("body").removeClass("noSelect"),t(document).unbind("mousemove",h),t(document).unbind("mouseup",u),v.unbind("mouseup",u),document.ontouchmove=document.ontouchend=null}this.options=t.extend({},i,n),this._defaults=i,this._name=s;var d=this,p=e.find(".viewport"),f=e.find(".overview"),g=e.find(".scrollbar"),m=g.find(".track"),v=g.find(".thumb"),w=0,b="x"===this.options.axis,S="ontouchstart"in document.documentElement,C="onwheel"in document||document.documentMode>=9?"wheel":void 0!==document.onmousewheel?"mousewheel":"DOMMouseScroll",y=b?"width":"height",x=b?"left":"top";return this.contentPosition=0,this.viewportSize=0,this.contentSize=0,this.contentRatio=0,this.trackSize=0,this.trackRatio=0,this.thumbSize=0,this.thumbPosition=0,this.update=function(t){var e=y.charAt(0).toUpperCase()+y.slice(1).toLowerCase();switch(this.viewportSize=p[0]["offset"+e],this.contentSize=f[0]["scroll"+e],this.contentRatio=this.viewportSize/this.contentSize,this.trackSize=this.options.trackSize||this.viewportSize,this.thumbSize=Math.min(this.trackSize,Math.max(0,this.options.thumbSize||this.trackSize*this.contentRatio)),this.trackRatio=this.options.thumbSize?(this.contentSize-this.viewportSize)/(this.trackSize-this.thumbSize):this.contentSize/this.trackSize,g.toggleClass("disable",this.contentRatio>=1),t){case"bottom":this.contentPosition=this.contentSize-this.viewportSize;break;case"relative":this.contentPosition=Math.min(Math.max(this.contentSize-this.viewportSize,0),Math.max(0,this.contentPosition));break;default:this.contentPosition=parseInt(t,10)||0}return a(),d},o()}var s="tinyscrollbar",i={axis:"y",wheel:!0,wheelSpeed:40,wheelLock:!0,scrollInvert:!1,trackSize:!1,thumbSize:!1};t.fn[s]=function(i){return this.each(function(){t.data(this,"plugin_"+s)||t.data(this,"plugin_"+s,new e(t(this),i))})}});
|
inc/external/wpmu-lib/js/{wpmu-card-list.js → wpmu-card-list.2.js}
RENAMED
@@ -1,6 +1,6 @@
|
|
1 |
-
/*! WPMU Dev code library -
|
2 |
* http://premium.wpmudev.org/
|
3 |
-
* Copyright (c)
|
4 |
/*!
|
5 |
* WPMU Dev Card List
|
6 |
* (Philipp Stracker for WPMU Dev)
|
1 |
+
/*! WPMU Dev code library - v2.0.3
|
2 |
* http://premium.wpmudev.org/
|
3 |
+
* Copyright (c) 2015; * Licensed GPLv2+ */
|
4 |
/*!
|
5 |
* WPMU Dev Card List
|
6 |
* (Philipp Stracker for WPMU Dev)
|
inc/external/wpmu-lib/js/{wpmu-card-list.min.js → wpmu-card-list.2.min.js}
RENAMED
@@ -1,4 +1,4 @@
|
|
1 |
-
/*! WPMU Dev code library -
|
2 |
* http://premium.wpmudev.org/
|
3 |
-
* Copyright (c)
|
4 |
jQuery(function(){function t(){var t=jQuery(".wpmui-list-table.has-details"),e=t.find(".list-card.detail-mode"),s=jQuery(window).innerHeight()-132;e.length&&e.height(s)}function e(){var e=jQuery(this).parents(".list-card"),i=e.parents(".wpmui-list-table"),n=jQuery(window).innerHeight()-132;i.hasClass("has-details")?s():(window.scrollTo(0,0),i.addClass("has-details"),e.addClass("detail-mode"),e.height(n),e.hide(),jQuery(window).on("resize",t),t(),window.setTimeout(function(){e.show()},10))}function s(e){var s=!1;if(void 0===e&&(s=!0),void 0!==e&&void 0!==e.target){var i=jQuery(e.target);i.hasClass("wpmui-list-table")&&(s=!0)}if(s){var n=jQuery(".list-card.detail-mode"),o=jQuery(".wpmui-list-table.has-details");o.removeClass("has-details"),n.removeClass("detail-mode"),n.height("auto"),jQuery(window).off("resize",t)}}function i(t,e){var s=jQuery(this),i=s.parents(".list-card");!0!==e._is_detail&&(e.value?i.addClass("active"):i.removeClass("active"))}function n(){var t=jQuery(this),e=t.data("filter"),s=jQuery(".list-card"),i=t.parents(".wp-filter").find(".current");switch(i.removeClass("current"),t.addClass("current"),e){case"active":s.hide().filter(".active").show();break;case"inactive":s.show().filter(".active").hide();break;case"all":s.show();break;default:jQuery(document).trigger("list-filter",[e,s])}return!1}jQuery(document).on("wpmui-radio-slider-updated",".wpmui-radio-slider",i),jQuery(document).on("click",".toggle-details",e),jQuery(document).on("click",".has-details",s),jQuery(document).on("click",".wp-filter .filter",n)});
|
1 |
+
/*! WPMU Dev code library - v2.0.3
|
2 |
* http://premium.wpmudev.org/
|
3 |
+
* Copyright (c) 2015; * Licensed GPLv2+ */
|
4 |
jQuery(function(){function t(){var t=jQuery(".wpmui-list-table.has-details"),e=t.find(".list-card.detail-mode"),s=jQuery(window).innerHeight()-132;e.length&&e.height(s)}function e(){var e=jQuery(this).parents(".list-card"),i=e.parents(".wpmui-list-table"),n=jQuery(window).innerHeight()-132;i.hasClass("has-details")?s():(window.scrollTo(0,0),i.addClass("has-details"),e.addClass("detail-mode"),e.height(n),e.hide(),jQuery(window).on("resize",t),t(),window.setTimeout(function(){e.show()},10))}function s(e){var s=!1;if(void 0===e&&(s=!0),void 0!==e&&void 0!==e.target){var i=jQuery(e.target);i.hasClass("wpmui-list-table")&&(s=!0)}if(s){var n=jQuery(".list-card.detail-mode"),o=jQuery(".wpmui-list-table.has-details");o.removeClass("has-details"),n.removeClass("detail-mode"),n.height("auto"),jQuery(window).off("resize",t)}}function i(t,e){var s=jQuery(this),i=s.parents(".list-card");!0!==e._is_detail&&(e.value?i.addClass("active"):i.removeClass("active"))}function n(){var t=jQuery(this),e=t.data("filter"),s=jQuery(".list-card"),i=t.parents(".wp-filter").find(".current");switch(i.removeClass("current"),t.addClass("current"),e){case"active":s.hide().filter(".active").show();break;case"inactive":s.show().filter(".active").hide();break;case"all":s.show();break;default:jQuery(document).trigger("list-filter",[e,s])}return!1}jQuery(document).on("wpmui-radio-slider-updated",".wpmui-radio-slider",i),jQuery(document).on("click",".toggle-details",e),jQuery(document).on("click",".has-details",s),jQuery(document).on("click",".wp-filter .filter",n)});
|
inc/external/wpmu-lib/js/{wpmu-ui.js → wpmu-ui.2.js}
RENAMED
@@ -1,6 +1,6 @@
|
|
1 |
-
/*! WPMU Dev code library -
|
2 |
* http://premium.wpmudev.org/
|
3 |
-
* Copyright (c)
|
4 |
/*!
|
5 |
* WPMU Dev UI library
|
6 |
* (Philipp Stracker for WPMU Dev)
|
@@ -72,6 +72,17 @@
|
|
72 |
return new wpmUi.WpmUiWindow();
|
73 |
};
|
74 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
75 |
/**
|
76 |
* Creates a new formdata object.
|
77 |
* With this object we can load or submit data via ajax.
|
@@ -121,7 +132,17 @@
|
|
121 |
'width': '100%'
|
122 |
};
|
123 |
|
|
|
|
|
|
|
|
|
|
|
|
|
124 |
if ( el.data( 'wpmui-select' ) === '1' ) { return; }
|
|
|
|
|
|
|
|
|
125 |
el.data( 'wpmui-select', '1' );
|
126 |
clean_ghosts( el );
|
127 |
|
@@ -184,7 +205,17 @@
|
|
184 |
'initSelection': init_selection
|
185 |
};
|
186 |
|
|
|
|
|
|
|
|
|
|
|
|
|
187 |
if ( el.data( 'wpmui-select' ) === '1' ) { return; }
|
|
|
|
|
|
|
|
|
188 |
el.data( 'wpmui-select', '1' );
|
189 |
clean_ghosts( el );
|
190 |
|
@@ -357,7 +388,13 @@
|
|
357 |
var me = jQuery( this ),
|
358 |
key = parseInt( me.data( 'key' ) );
|
359 |
|
360 |
-
modal
|
|
|
|
|
|
|
|
|
|
|
|
|
361 |
container.remove();
|
362 |
|
363 |
if ( 'function' === typeof args['callback'] ) {
|
@@ -366,9 +403,13 @@
|
|
366 |
}
|
367 |
|
368 |
if ( args['modal'] ) {
|
369 |
-
|
370 |
-
.
|
371 |
-
|
|
|
|
|
|
|
|
|
372 |
}
|
373 |
|
374 |
container = jQuery( '<div class="wpmui-confirm-box"></div>' )
|
@@ -391,7 +432,9 @@
|
|
391 |
}
|
392 |
|
393 |
el_msg.appendTo( container );
|
394 |
-
el_btn.appendTo( container )
|
|
|
|
|
395 |
|
396 |
return true;
|
397 |
};
|
@@ -525,12 +568,12 @@
|
|
525 |
* @since 1.0.8
|
526 |
*/
|
527 |
wpmUi.upgrade_tooltips = function upgrade_tooltips() {
|
528 |
-
var el = jQuery( '[data-tooltip]' );
|
529 |
|
530 |
el.each(function() {
|
531 |
var me = jQuery( this ),
|
532 |
args = {
|
533 |
-
'content': me.attr( 'data-tooltip' ),
|
534 |
'pos': me.attr( 'data-pos' ),
|
535 |
'trigger': me.attr( 'data-trigger' ),
|
536 |
'class': me.attr( 'data-class' ),
|
@@ -605,8 +648,14 @@
|
|
605 |
_init_tabs();
|
606 |
|
607 |
if ( ! _body.hasClass( 'no-auto-init' ) ) {
|
608 |
-
|
609 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
610 |
}
|
611 |
|
612 |
wpmUi.binary = new wpmUi.WpmUiBinary();
|
@@ -633,10 +682,18 @@
|
|
633 |
* @since 1.0.0
|
634 |
* @private
|
635 |
*/
|
636 |
-
wpmUi._make_modal = function() {
|
637 |
-
wpmUi._modal_overlay();
|
|
|
|
|
|
|
|
|
|
|
|
|
638 |
_body.addClass( 'wpmui-has-overlay' );
|
639 |
_html.addClass( 'wpmui-no-scroll' );
|
|
|
|
|
640 |
};
|
641 |
|
642 |
/**
|
@@ -806,6 +863,22 @@
|
|
806 |
*/
|
807 |
var _modal = false;
|
808 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
809 |
/**
|
810 |
* Size of the window.
|
811 |
*
|
@@ -955,13 +1028,27 @@
|
|
955 |
*
|
956 |
* @since 1.0.0
|
957 |
*/
|
958 |
-
this.modal = function modal( state ) {
|
|
|
|
|
|
|
|
|
959 |
_modal = ( state ? true : false );
|
|
|
960 |
|
961 |
_update_window();
|
962 |
return _me;
|
963 |
};
|
964 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
965 |
/**
|
966 |
* Sets the window size.
|
967 |
*
|
@@ -984,8 +1071,13 @@
|
|
984 |
*
|
985 |
* @since 1.0.0
|
986 |
*/
|
987 |
-
this.title = function title( new_title ) {
|
|
|
|
|
|
|
|
|
988 |
_title = new_title;
|
|
|
989 |
|
990 |
_update_window();
|
991 |
return _me;
|
@@ -996,8 +1088,20 @@
|
|
996 |
*
|
997 |
* @since 1.0.0
|
998 |
*/
|
999 |
-
this.content = function content( data ) {
|
1000 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1001 |
_need_check_size = true;
|
1002 |
_content_changed = true;
|
1003 |
|
@@ -1140,6 +1244,26 @@
|
|
1140 |
delete _all_popups[_me.id];
|
1141 |
};
|
1142 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1143 |
/**
|
1144 |
* Returns the jQuery object of the window
|
1145 |
*
|
@@ -1199,6 +1323,14 @@
|
|
1199 |
_wnd.on( 'click', 'tfoot .check-column :checkbox', _toggle_checkboxes );
|
1200 |
_wnd.on( 'click', 'tbody .check-column :checkbox', _check_checkboxes );
|
1201 |
jQuery( window ).on( 'resize', _check_size );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1202 |
}
|
1203 |
}
|
1204 |
|
@@ -1238,7 +1370,14 @@
|
|
1238 |
var _overlay = wpmUi._modal_overlay();
|
1239 |
|
1240 |
// Window title.
|
1241 |
-
_el_title.find( '.the-title' ).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1242 |
|
1243 |
// Display a copy of the specified content.
|
1244 |
if ( _content_changed ) {
|
@@ -1249,9 +1388,11 @@
|
|
1249 |
|
1250 |
// Update the content.
|
1251 |
if ( _content instanceof jQuery ) {
|
1252 |
-
|
|
|
1253 |
} else {
|
1254 |
-
|
|
|
1255 |
}
|
1256 |
|
1257 |
// Move the buttons out of the content area.
|
@@ -1281,8 +1422,14 @@
|
|
1281 |
// Show or hide the window and modal background.
|
1282 |
if ( _visible ) {
|
1283 |
_wnd.show();
|
1284 |
-
|
1285 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
1286 |
|
1287 |
if ( _need_check_size ) {
|
1288 |
_need_check_size = false;
|
@@ -1290,7 +1437,19 @@
|
|
1290 |
}
|
1291 |
} else {
|
1292 |
_wnd.hide();
|
1293 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1294 |
}
|
1295 |
}
|
1296 |
|
@@ -1386,6 +1545,238 @@
|
|
1386 |
|
1387 |
}; /* ** End: WpmUiWindow ** */
|
1388 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1389 |
}( window.wpmUi = window.wpmUi || {} ));
|
1390 |
/*!
|
1391 |
* WPMU Dev UI library
|
1 |
+
/*! WPMU Dev code library - v2.0.3
|
2 |
* http://premium.wpmudev.org/
|
3 |
+
* Copyright (c) 2015; * Licensed GPLv2+ */
|
4 |
/*!
|
5 |
* WPMU Dev UI library
|
6 |
* (Philipp Stracker for WPMU Dev)
|
72 |
return new wpmUi.WpmUiWindow();
|
73 |
};
|
74 |
|
75 |
+
/**
|
76 |
+
* Creates a new progress bar element.
|
77 |
+
*
|
78 |
+
* @since 2.0.2
|
79 |
+
* @return WpmUiProgress A new progress bar element.
|
80 |
+
*/
|
81 |
+
wpmUi.progressbar = function progressbar() {
|
82 |
+
_init();
|
83 |
+
return new wpmUi.WpmUiProgress();
|
84 |
+
};
|
85 |
+
|
86 |
/**
|
87 |
* Creates a new formdata object.
|
88 |
* With this object we can load or submit data via ajax.
|
132 |
'width': '100%'
|
133 |
};
|
134 |
|
135 |
+
// Prevent double initialization (i.e. conflict with other plugins)
|
136 |
+
if ( typeof el.data( 'select2' ) === 'object' ) { return; }
|
137 |
+
if ( typeof el.data( 'chosen' ) === 'object' ) { return; }
|
138 |
+
if ( el.filter( '[class*=acf-]' ).length ) { return; }
|
139 |
+
|
140 |
+
// Prevent double initialization (with other WPMU LIB plugin)
|
141 |
if ( el.data( 'wpmui-select' ) === '1' ) { return; }
|
142 |
+
|
143 |
+
// Prevent auto-initialization when manually disabled
|
144 |
+
if ( el.closest( '.no-auto-init' ).length ) { return; }
|
145 |
+
|
146 |
el.data( 'wpmui-select', '1' );
|
147 |
clean_ghosts( el );
|
148 |
|
205 |
'initSelection': init_selection
|
206 |
};
|
207 |
|
208 |
+
// Prevent double initialization (i.e. conflict with other plugins)
|
209 |
+
if ( typeof el.data( 'select2' ) === 'object' ) { return; }
|
210 |
+
if ( typeof el.data( 'chosen' ) === 'object' ) { return; }
|
211 |
+
if ( el.filter( '[class*=acf-]' ).length ) { return; }
|
212 |
+
|
213 |
+
// Prevent double initialization (with other WPMU LIB plugin)
|
214 |
if ( el.data( 'wpmui-select' ) === '1' ) { return; }
|
215 |
+
|
216 |
+
// Prevent auto-initialization when manually disabled
|
217 |
+
if ( el.closest( '.no-auto-init' ).length ) { return; }
|
218 |
+
|
219 |
el.data( 'wpmui-select', '1' );
|
220 |
clean_ghosts( el );
|
221 |
|
388 |
var me = jQuery( this ),
|
389 |
key = parseInt( me.data( 'key' ) );
|
390 |
|
391 |
+
if ( args['modal'] ) {
|
392 |
+
if ( args['layout'] === 'fixed' ) {
|
393 |
+
wpmUi._close_modal();
|
394 |
+
} else {
|
395 |
+
modal.remove();
|
396 |
+
}
|
397 |
+
}
|
398 |
container.remove();
|
399 |
|
400 |
if ( 'function' === typeof args['callback'] ) {
|
403 |
}
|
404 |
|
405 |
if ( args['modal'] ) {
|
406 |
+
if ( args['layout'] === 'fixed' ) {
|
407 |
+
wpmUi._make_modal( 'wpmui-confirm-modal' );
|
408 |
+
} else {
|
409 |
+
modal = jQuery( '<div class="wpmui-confirm-modal"></div>' )
|
410 |
+
.css( { 'position': args['layout'] } )
|
411 |
+
.appendTo( parent );
|
412 |
+
}
|
413 |
}
|
414 |
|
415 |
container = jQuery( '<div class="wpmui-confirm-box"></div>' )
|
432 |
}
|
433 |
|
434 |
el_msg.appendTo( container );
|
435 |
+
el_btn.appendTo( container )
|
436 |
+
.find( '.button-primary' )
|
437 |
+
.focus();
|
438 |
|
439 |
return true;
|
440 |
};
|
568 |
* @since 1.0.8
|
569 |
*/
|
570 |
wpmUi.upgrade_tooltips = function upgrade_tooltips() {
|
571 |
+
var el = jQuery( '[data-wpmui-tooltip]' );
|
572 |
|
573 |
el.each(function() {
|
574 |
var me = jQuery( this ),
|
575 |
args = {
|
576 |
+
'content': me.attr( 'data-wpmui-tooltip' ),
|
577 |
'pos': me.attr( 'data-pos' ),
|
578 |
'trigger': me.attr( 'data-trigger' ),
|
579 |
'class': me.attr( 'data-class' ),
|
648 |
_init_tabs();
|
649 |
|
650 |
if ( ! _body.hasClass( 'no-auto-init' ) ) {
|
651 |
+
/**
|
652 |
+
* Do the auto-initialization stuff after a short delay, so other
|
653 |
+
* scripts can run first.
|
654 |
+
*/
|
655 |
+
window.setTimeout(function() {
|
656 |
+
wpmUi.upgrade_multiselect();
|
657 |
+
wpmUi.upgrade_tooltips();
|
658 |
+
}, 20);
|
659 |
}
|
660 |
|
661 |
wpmUi.binary = new wpmUi.WpmUiBinary();
|
682 |
* @since 1.0.0
|
683 |
* @private
|
684 |
*/
|
685 |
+
wpmUi._make_modal = function( the_class ) {
|
686 |
+
var overlay = wpmUi._modal_overlay();
|
687 |
+
|
688 |
+
overlay.removeClass().addClass( 'wpmui-overlay' );
|
689 |
+
if ( undefined !== the_class ) {
|
690 |
+
overlay.addClass( the_class );
|
691 |
+
}
|
692 |
+
|
693 |
_body.addClass( 'wpmui-has-overlay' );
|
694 |
_html.addClass( 'wpmui-no-scroll' );
|
695 |
+
|
696 |
+
return overlay;
|
697 |
};
|
698 |
|
699 |
/**
|
863 |
*/
|
864 |
var _modal = false;
|
865 |
|
866 |
+
/**
|
867 |
+
* Defines if the dialog title should contain a close button.
|
868 |
+
*
|
869 |
+
* @since 1.1.2
|
870 |
+
* @private
|
871 |
+
*/
|
872 |
+
var _title_close = true;
|
873 |
+
|
874 |
+
/**
|
875 |
+
* Defines if clicking in the modal background closes the dialog.
|
876 |
+
*
|
877 |
+
* @since 1.1.2
|
878 |
+
* @private
|
879 |
+
*/
|
880 |
+
var _background_close = true;
|
881 |
+
|
882 |
/**
|
883 |
* Size of the window.
|
884 |
*
|
1028 |
*
|
1029 |
* @since 1.0.0
|
1030 |
*/
|
1031 |
+
this.modal = function modal( state, background_close ) {
|
1032 |
+
if ( undefined === background_close ) {
|
1033 |
+
background_close = true;
|
1034 |
+
}
|
1035 |
+
|
1036 |
_modal = ( state ? true : false );
|
1037 |
+
_background_close = ( background_close ? true : false );
|
1038 |
|
1039 |
_update_window();
|
1040 |
return _me;
|
1041 |
};
|
1042 |
|
1043 |
+
/**
|
1044 |
+
* Returns the modal property.
|
1045 |
+
*
|
1046 |
+
* @since 2.0.0
|
1047 |
+
*/
|
1048 |
+
this.is_modal = function is_modal() {
|
1049 |
+
return _modal;
|
1050 |
+
};
|
1051 |
+
|
1052 |
/**
|
1053 |
* Sets the window size.
|
1054 |
*
|
1071 |
*
|
1072 |
* @since 1.0.0
|
1073 |
*/
|
1074 |
+
this.title = function title( new_title, can_close ) {
|
1075 |
+
if ( undefined === can_close ) {
|
1076 |
+
can_close = true;
|
1077 |
+
}
|
1078 |
+
|
1079 |
_title = new_title;
|
1080 |
+
_title_close = ( can_close ? true : false );
|
1081 |
|
1082 |
_update_window();
|
1083 |
return _me;
|
1088 |
*
|
1089 |
* @since 1.0.0
|
1090 |
*/
|
1091 |
+
this.content = function content( data, move ) {
|
1092 |
+
if ( data instanceof jQuery ) {
|
1093 |
+
if ( move ) {
|
1094 |
+
// Move the object into the popup.
|
1095 |
+
_content = data;
|
1096 |
+
} else {
|
1097 |
+
// Create a copy of the object inside the popup.
|
1098 |
+
_content = data.html();
|
1099 |
+
}
|
1100 |
+
} else {
|
1101 |
+
// Content is text, will always be a copy.
|
1102 |
+
_content = data;
|
1103 |
+
}
|
1104 |
+
|
1105 |
_need_check_size = true;
|
1106 |
_content_changed = true;
|
1107 |
|
1244 |
delete _all_popups[_me.id];
|
1245 |
};
|
1246 |
|
1247 |
+
/**
|
1248 |
+
* Adds an event handler to the dialog.
|
1249 |
+
*
|
1250 |
+
* @since 2.0.1
|
1251 |
+
*/
|
1252 |
+
this.on = function on( event, selector, callback ) {
|
1253 |
+
_wnd.on( event, selector, callback );
|
1254 |
+
return _me;
|
1255 |
+
};
|
1256 |
+
|
1257 |
+
/**
|
1258 |
+
* Removes an event handler from the dialog.
|
1259 |
+
*
|
1260 |
+
* @since 2.0.1
|
1261 |
+
*/
|
1262 |
+
this.off = function off( event, selector, callback ) {
|
1263 |
+
_wnd.off( event, selector, callback );
|
1264 |
+
return _me;
|
1265 |
+
};
|
1266 |
+
|
1267 |
/**
|
1268 |
* Returns the jQuery object of the window
|
1269 |
*
|
1323 |
_wnd.on( 'click', 'tfoot .check-column :checkbox', _toggle_checkboxes );
|
1324 |
_wnd.on( 'click', 'tbody .check-column :checkbox', _check_checkboxes );
|
1325 |
jQuery( window ).on( 'resize', _check_size );
|
1326 |
+
|
1327 |
+
if ( jQuery().draggable !== undefined ) {
|
1328 |
+
_wnd.draggable({
|
1329 |
+
containment: jQuery( 'body' ),
|
1330 |
+
scroll: false,
|
1331 |
+
handle: '.wpmui-wnd-title'
|
1332 |
+
});
|
1333 |
+
}
|
1334 |
}
|
1335 |
}
|
1336 |
|
1370 |
var _overlay = wpmUi._modal_overlay();
|
1371 |
|
1372 |
// Window title.
|
1373 |
+
_el_title.find( '.the-title' ).html( _title );
|
1374 |
+
_el_content.css({ top: _el_title.height() + 1 });
|
1375 |
+
|
1376 |
+
if ( _title_close ) {
|
1377 |
+
_wnd.removeClass( 'no-close' );
|
1378 |
+
} else {
|
1379 |
+
_wnd.addClass( 'no-close' );
|
1380 |
+
}
|
1381 |
|
1382 |
// Display a copy of the specified content.
|
1383 |
if ( _content_changed ) {
|
1388 |
|
1389 |
// Update the content.
|
1390 |
if ( _content instanceof jQuery ) {
|
1391 |
+
// _content is a jQuery element.
|
1392 |
+
_el_content.empty().append( _content );
|
1393 |
} else {
|
1394 |
+
// _content is a HTML string.
|
1395 |
+
_el_content.html( _content );
|
1396 |
}
|
1397 |
|
1398 |
// Move the buttons out of the content area.
|
1422 |
// Show or hide the window and modal background.
|
1423 |
if ( _visible ) {
|
1424 |
_wnd.show();
|
1425 |
+
|
1426 |
+
if ( _modal ) {
|
1427 |
+
wpmUi._make_modal();
|
1428 |
+
}
|
1429 |
+
|
1430 |
+
if ( _background_close ) {
|
1431 |
+
_overlay.on( 'click', _modal_close );
|
1432 |
+
}
|
1433 |
|
1434 |
if ( _need_check_size ) {
|
1435 |
_need_check_size = false;
|
1437 |
}
|
1438 |
} else {
|
1439 |
_wnd.hide();
|
1440 |
+
|
1441 |
+
var wnd, remove_modal = true;
|
1442 |
+
for ( wnd in _all_popups ) {
|
1443 |
+
if ( _all_popups[wnd] === _me ) { continue; }
|
1444 |
+
if ( _all_popups[wnd].is_modal() ) {
|
1445 |
+
remove_modal = false;
|
1446 |
+
break;
|
1447 |
+
}
|
1448 |
+
}
|
1449 |
+
|
1450 |
+
if ( remove_modal ) {
|
1451 |
+
wpmUi._close_modal();
|
1452 |
+
}
|
1453 |
}
|
1454 |
}
|
1455 |
|
1545 |
|
1546 |
}; /* ** End: WpmUiWindow ** */
|
1547 |
|
1548 |
+
}( window.wpmUi = window.wpmUi || {} ));
|
1549 |
+
/*!
|
1550 |
+
* WPMU Dev UI library
|
1551 |
+
* (Philipp Stracker for WPMU Dev)
|
1552 |
+
*
|
1553 |
+
* This module provides the WpmUiProgress object which is a smart and easy to use
|
1554 |
+
* Pop-up.
|
1555 |
+
*
|
1556 |
+
* @version 2.0.2
|
1557 |
+
* @author Philipp Stracker for WPMU Dev
|
1558 |
+
* @requires jQuery
|
1559 |
+
*/
|
1560 |
+
/*global jQuery:false */
|
1561 |
+
/*global window:false */
|
1562 |
+
/*global document:false */
|
1563 |
+
/*global XMLHttpRequest:false */
|
1564 |
+
|
1565 |
+
(function( wpmUi ) {
|
1566 |
+
|
1567 |
+
/*==============================*\
|
1568 |
+
==================================
|
1569 |
+
== ==
|
1570 |
+
== PROGRESS ==
|
1571 |
+
== ==
|
1572 |
+
==================================
|
1573 |
+
\*==============================*/
|
1574 |
+
|
1575 |
+
/**
|
1576 |
+
* The progress bar element.
|
1577 |
+
*
|
1578 |
+
* @type WpmUiProgress
|
1579 |
+
* @since 2.0.2
|
1580 |
+
*/
|
1581 |
+
wpmUi.WpmUiProgress = function() {
|
1582 |
+
|
1583 |
+
/**
|
1584 |
+
* Backreference to the WpmUiWindow object.
|
1585 |
+
*
|
1586 |
+
* @since 2.0.2
|
1587 |
+
* @internal
|
1588 |
+
*/
|
1589 |
+
var _me = this;
|
1590 |
+
|
1591 |
+
/**
|
1592 |
+
* Current value of the progress bar.
|
1593 |
+
*
|
1594 |
+
* @since 2.0.2
|
1595 |
+
* @internal
|
1596 |
+
*/
|
1597 |
+
var _current = 0;
|
1598 |
+
|
1599 |
+
/**
|
1600 |
+
* Max value of the progress bar.
|
1601 |
+
*
|
1602 |
+
* @since 2.0.2
|
1603 |
+
* @internal
|
1604 |
+
*/
|
1605 |
+
var _max = 100;
|
1606 |
+
|
1607 |
+
/**
|
1608 |
+
* The label text
|
1609 |
+
*
|
1610 |
+
* @since 2.0.2
|
1611 |
+
* @internal
|
1612 |
+
*/
|
1613 |
+
var _label = '';
|
1614 |
+
|
1615 |
+
/**
|
1616 |
+
* The wrapper around the progress bar elements.
|
1617 |
+
*
|
1618 |
+
* @since 2.0.2
|
1619 |
+
* @internal
|
1620 |
+
*/
|
1621 |
+
var _el = null;
|
1622 |
+
|
1623 |
+
/**
|
1624 |
+
* The progress bar.
|
1625 |
+
*
|
1626 |
+
* @since 2.0.2
|
1627 |
+
* @internal
|
1628 |
+
*/
|
1629 |
+
var _el_bar = null;
|
1630 |
+
|
1631 |
+
/**
|
1632 |
+
* The progress bar full width indicator.
|
1633 |
+
*
|
1634 |
+
* @since 2.0.2
|
1635 |
+
* @internal
|
1636 |
+
*/
|
1637 |
+
var _el_full = null;
|
1638 |
+
|
1639 |
+
/**
|
1640 |
+
* The progress bar title.
|
1641 |
+
*
|
1642 |
+
* @since 2.0.2
|
1643 |
+
* @internal
|
1644 |
+
*/
|
1645 |
+
var _el_label = null;
|
1646 |
+
|
1647 |
+
/**
|
1648 |
+
* Label that displays the current progress percent value.
|
1649 |
+
*
|
1650 |
+
* @since 2.0.2
|
1651 |
+
* @internal
|
1652 |
+
*/
|
1653 |
+
var _el_percent = null;
|
1654 |
+
|
1655 |
+
/**
|
1656 |
+
* Change the value of the progress bar.
|
1657 |
+
*
|
1658 |
+
* @since 2.0.2
|
1659 |
+
* @api
|
1660 |
+
*/
|
1661 |
+
this.value = function value( val ) {
|
1662 |
+
if ( ! isNaN( val ) ) {
|
1663 |
+
_current = parseInt( val );
|
1664 |
+
_update();
|
1665 |
+
}
|
1666 |
+
return _me;
|
1667 |
+
};
|
1668 |
+
|
1669 |
+
/**
|
1670 |
+
* Set the max value of the progess bar.
|
1671 |
+
*
|
1672 |
+
* @since 2.0.2
|
1673 |
+
* @api
|
1674 |
+
*/
|
1675 |
+
this.max = function max( val ) {
|
1676 |
+
if ( ! isNaN( val ) ) {
|
1677 |
+
_max = parseInt( val );
|
1678 |
+
_update();
|
1679 |
+
}
|
1680 |
+
return _me;
|
1681 |
+
};
|
1682 |
+
|
1683 |
+
/**
|
1684 |
+
* Set the contents of the label.
|
1685 |
+
*
|
1686 |
+
* @since 2.0.2
|
1687 |
+
* @api
|
1688 |
+
*/
|
1689 |
+
this.label = function label( val ) {
|
1690 |
+
_label = val;
|
1691 |
+
_update();
|
1692 |
+
return _me;
|
1693 |
+
};
|
1694 |
+
|
1695 |
+
/**
|
1696 |
+
* Adds an event handler to the element.
|
1697 |
+
*
|
1698 |
+
* @since 2.0.1
|
1699 |
+
*/
|
1700 |
+
this.on = function on( event, selector, callback ) {
|
1701 |
+
_el.on( event, selector, callback );
|
1702 |
+
return _me;
|
1703 |
+
};
|
1704 |
+
|
1705 |
+
/**
|
1706 |
+
* Removes an event handler from the element.
|
1707 |
+
*
|
1708 |
+
* @since 2.0.1
|
1709 |
+
*/
|
1710 |
+
this.off = function off( event, selector, callback ) {
|
1711 |
+
_el.off( event, selector, callback );
|
1712 |
+
return _me;
|
1713 |
+
};
|
1714 |
+
|
1715 |
+
/**
|
1716 |
+
* Returns the jQuery object of the main element
|
1717 |
+
*
|
1718 |
+
* @since 1.0.0
|
1719 |
+
*/
|
1720 |
+
this.$ = function $() {
|
1721 |
+
return _el;
|
1722 |
+
};
|
1723 |
+
|
1724 |
+
// ==============================
|
1725 |
+
// == Private functions =========
|
1726 |
+
|
1727 |
+
|
1728 |
+
/**
|
1729 |
+
* Create the DOM elements for the window.
|
1730 |
+
*
|
1731 |
+
* @since 2.0.2
|
1732 |
+
* @internal
|
1733 |
+
*/
|
1734 |
+
function _init() {
|
1735 |
+
_max = 100;
|
1736 |
+
_current = 0;
|
1737 |
+
|
1738 |
+
_el = jQuery( '<div class="wpmui-progress-wrap"></div>' );
|
1739 |
+
_el_full = jQuery( '<div class="wpmui-progress-full"></div>' );
|
1740 |
+
_el_bar = jQuery( '<div class="wpmui-progress"></div>' );
|
1741 |
+
_el_label = jQuery( '<div class="wpmui-progress-label"></div>' );
|
1742 |
+
_el_percent = jQuery( '<div class="wpmui-progress-percent"></div>' );
|
1743 |
+
|
1744 |
+
// Attach the window to the current page.
|
1745 |
+
_el_bar.appendTo( _el_full );
|
1746 |
+
_el_percent.appendTo( _el_full );
|
1747 |
+
_el_full.appendTo( _el );
|
1748 |
+
_el_label.appendTo( _el );
|
1749 |
+
|
1750 |
+
_update();
|
1751 |
+
}
|
1752 |
+
|
1753 |
+
/**
|
1754 |
+
* Updates the progress bar
|
1755 |
+
*
|
1756 |
+
* @since 2.0.2
|
1757 |
+
*/
|
1758 |
+
function _update() {
|
1759 |
+
var percent = _current / _max * 100;
|
1760 |
+
if ( percent < 0 ) { percent = 0; }
|
1761 |
+
if ( percent > 100 ) { percent = 100; }
|
1762 |
+
|
1763 |
+
_el_bar.width( percent + '%' );
|
1764 |
+
_el_percent.text( parseInt( percent ) + ' %' );
|
1765 |
+
|
1766 |
+
if ( _label && _label.length ) {
|
1767 |
+
_el_label.html( _label );
|
1768 |
+
_el_label.show();
|
1769 |
+
} else {
|
1770 |
+
_el_label.hide();
|
1771 |
+
}
|
1772 |
+
}
|
1773 |
+
|
1774 |
+
// Initialize the progress bar.
|
1775 |
+
_me = this;
|
1776 |
+
_init();
|
1777 |
+
|
1778 |
+
}; /* ** End: WpmUiProgress ** */
|
1779 |
+
|
1780 |
}( window.wpmUi = window.wpmUi || {} ));
|
1781 |
/*!
|
1782 |
* WPMU Dev UI library
|
inc/external/wpmu-lib/js/wpmu-ui.2.min.js
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
1 |
+
/*! WPMU Dev code library - v2.0.3
|
2 |
+
* http://premium.wpmudev.org/
|
3 |
+
* Copyright (c) 2015; * Licensed GPLv2+ */
|
4 |
+
(function(t){function e(){null===o&&(n=jQuery(document),o=jQuery("html"),a=jQuery("body"),i(),s(),a.hasClass("no-auto-init")||window.setTimeout(function(){t.upgrade_multiselect(),t.upgrade_tooltips()},20),t.binary=new t.WpmUiBinary)}function i(){var t=function t(t){var e=jQuery(this).closest(".wpmui-box");return t.preventDefault(),e.hasClass("static")?!1:(e.toggleClass("closed"),!1)};a.on("click",".wpmui-box > h3",t),a.on("click",".wpmui-box > h3 > .toggle",t)}function s(){var t=function t(t){var e=jQuery(this),i=e.closest(".wpmui-tabs"),s=i.next(".wpmui-tab-contents"),n=i.find(".active.tab"),o=e.attr("href"),a=n.attr("href"),r=s.find(o),c=s.find(a);return e.hasClass("active")||(n.removeClass("active"),c.removeClass("active")),e.addClass("active"),r.addClass("active"),t.preventDefault(),!1};a.on("click",".wpmui-tabs .tab",t)}var n=null,o=null,a=null,r=null;t.popup=function(){return e(),new t.WpmUiWindow},t.progressbar=function(){return e(),new t.WpmUiProgress},t.ajax=function(i,s){return e(),new t.WpmUiAjaxData(i,s)},t.upgrade_multiselect=function(t){e(),t=jQuery(t||a);var i=t.find("select[multiple]"),s=t.find("input[data-select-ajax]"),n=function n(t){var e=t.attr("id"),i="#s2id_"+e,s=t.parent().find(i);s.remove()},o=function o(){var t=jQuery(this),e={closeOnSelect:!1,width:"100%"};"object"!=typeof t.data("select2")&&"object"!=typeof t.data("chosen")&&(t.filter("[class*=acf-]").length||"1"!==t.data("wpmui-select")&&(t.closest(".no-auto-init").length||(t.data("wpmui-select","1"),n(t),window.setTimeout(function(){t.select2(e)},1))))},r=function r(){var t=function t(t){return t.val},e=function e(t){return t.key},i=function i(t,e){var i=t.val(),s=[],n=[];jQuery(i.split(",")).each(function(){var t=this.split("::");n.push(t[0]),s.push({key:t[0],val:t[1]})}),t.val(n.join(",")),e(s)},s=jQuery(this),o={closeOnSelect:!1,width:"100%",multiple:!0,minimumInputLength:1,ajax:{url:s.attr("data-select-ajax"),dataType:"json",quietMillis:100,cache:!0,data:function(t){return{q:t}},results:function(t){return{results:t.items}}},id:e,formatResult:t,formatSelection:t,initSelection:i};"object"!=typeof s.data("select2")&&"object"!=typeof s.data("chosen")&&(s.filter("[class*=acf-]").length||"1"!==s.data("wpmui-select")&&(s.closest(".no-auto-init").length||(s.data("wpmui-select","1"),n(s),window.setTimeout(function(){s.select2(o)},1))))};"function"==typeof jQuery.fn.each2?(i.each2(o),s.each2(r)):(i.each(o),s.each(r))},t.message=function(t){var i,s,n,o;e();var a=function a(t){return t.preventDefault(),s.remove(),!1},r=function r(){var t=jQuery(this).closest(".wpmui-msg");t.find(".debug").toggle()};return t===void 0?!1:(("string"==typeof t||t instanceof Array)&&(t={message:t}),t.message instanceof Array&&(t.message=t.message.join("<br />")),t.message?(t.type=void 0===t.type?"ok":(""+t.type).toLowerCase(),t.close=void 0===t.close?!0:t.close,t.parent=void 0===t.parent?".wrap":t.parent,t.insert_after=void 0===t.insert_after?"h2":t.insert_after,t.id=void 0===t.id?"":(""+t.id).toLowerCase(),t["class"]=void 0===t["class"]?"":(""+t["class"]).toLowerCase(),t.details=void 0===t.details?!1:t.details,("error"===t.type||"red"===t.type)&&(t.type="err"),("success"===t.type||"green"===t.type)&&(t.type="ok"),i=jQuery(t.parent).first(),i.length?(t.id&&jQuery('.wpmui-msg[data-id="'+t.id+'"]').length?(s=jQuery('.wpmui-msg[data-id="'+t.id+'"]').first(),o=!1):(s=jQuery("<div><p></p></div>"),t.id&&s.attr("data-id",t.id),o=!0),s.find("p").html(t.message),"err"===t.type&&t.details&&window.JSON&&(jQuery('<div class="debug" style="display:none"></div>').appendTo(s).text(JSON.stringify(t.details)),jQuery('<i class="dashicons dashicons-editor-help light"></i>').prependTo(s.find("p:first")).click(r).after(" ")),s.removeClass().addClass("updated wpmui-msg "+t["class"]),"err"===t.type&&s.addClass("error"),o&&(t.close&&(n=jQuery('<a href="#" class="wpmui-close">×</a>'),n.prependTo(s),n.click(a)),t.insert_after&&i.find(t.insert_after).length?(i=i.find(t.insert_after).first(),i.after(s)):i.prepend(s)),!0):!1):!1)},t.confirm=function(e){function i(){var i=jQuery(this),s=parseInt(i.data("key"));e.modal&&("fixed"===e.layout?t._close_modal():n.remove()),o.remove(),"function"==typeof e.callback&&e.callback(s)}var s,n,o,r,c,l,h,u;if(!e instanceof Object)return!1;if(void 0===e.message)return!1;for(e.modal=void 0===e.modal?!0:e.modal,e.layout=void 0===e.layout?"fixed":e.layout,e.parent=void 0===e.parent?a:e.parent,e.buttons=void 0===e.buttons?["OK"]:e.buttons,e.callback=void 0===e.callback?!1:e.callback,s=jQuery(e.parent),e.modal&&("fixed"===e.layout?t._make_modal("wpmui-confirm-modal"):n=jQuery('<div class="wpmui-confirm-modal"></div>').css({position:e.layout}).appendTo(s)),o=jQuery('<div class="wpmui-confirm-box"></div>').css({position:e.layout}).appendTo(s),r=jQuery('<div class="wpmui-confirm-msg"></div>').html(e.message),c=jQuery('<div class="wpmui-confirm-btn"></div>'),u=!0,l=0;e.buttons.length>l;l+=1)h=jQuery("<button></button>").html(e.buttons[l]).addClass(u?"button-primary":"button-secondary").data("key",l).click(i).prependTo(c),u=!1;return r.appendTo(o),c.appendTo(o).find(".button-primary").focus(),!0},t.tooltip=function(t,i){var s,n;e();var o=function o(e){var s=e.outerWidth(),n=e.outerHeight(),o=5,a=t.outerWidth(),r=t.outerHeight(),c={};switch(c.left=(a-s)/2,c.top=(r-n)/2,c[i.pos]="auto",i.pos){case"top":c.bottom=r+o;break;case"bottom":c.top=r+o;break;case"left":c.right=a+o;break;case"right":c.left=a+o}e.css(c)},a=function a(){var t=jQuery(this).closest(".wpmui-tip-box").find(".wpmui-tip");t.addClass("wpmui-visible"),t.show(),o(t),window.setTimeout(function(){o(t)},35)},r=function r(){var t=jQuery(this).closest(".wpmui-tip-box").find(".wpmui-tip");t.removeClass("wpmui-visible"),t.hide()},c=function c(t){s.hasClass("wpmui-visible")?r.call(this,t):a.call(this,t)};return"string"==typeof i&&(i={content:i}),void 0===i.content?!1:(t=jQuery(t),t.length?(i.trigger=void 0===i.trigger?"hover":(""+i.trigger).toLowerCase(),i.pos=void 0===i.pos?"top":(""+i.pos).toLowerCase(),i["class"]=void 0===i["class"]?"":(""+i["class"]).toLowerCase(),n=t.parent(),n.hasClass("wpmui-tip-box")||(n=t.wrap('<span class="wpmui-tip-box"></span>').parent().addClass(i["class"]+"-box")),s=n.find("> .wpmui-tip"),t.off(),s.length||(s=jQuery('<div class="wpmui-tip"></div>'),s.addClass(i["class"]).addClass(i.pos).appendTo(t.parent()).hide(),isNaN(i.width)||s.width(i.width)),"hover"===i.trigger?t.on("mouseenter",a).on("mouseleave",r):"click"===i.trigger&&t.on("click",c),s.html(i.content),!0):!1)},t.upgrade_tooltips=function(){var e=jQuery("[data-wpmui-tooltip]");e.each(function(){var e=jQuery(this),i={content:e.attr("data-wpmui-tooltip"),pos:e.attr("data-pos"),trigger:e.attr("data-trigger"),"class":e.attr("data-class"),width:e.attr("data-width")};t.tooltip(e,i)})},t.obj=function(t){var e={};if(t instanceof Object)e=t;else if(t instanceof Array)if("function"==typeof t.reduce)e=t.reduce(function(t,e,i){return t[i]=e,t},{});else for(var i=t.length-1;i>0;i-=1)void 0!==t[i]&&(e[i]=t[i]);else"string"==typeof t?e.scalar=t:"number"==typeof t?e.scalar=t:"boolean"==typeof t&&(e.scalar=t);return e},t._modal_overlay=function(){return null===r&&(r=jQuery("<div></div>").addClass("wpmui-overlay").appendTo(a)),r},t._make_modal=function(e){var i=t._modal_overlay();return i.removeClass().addClass("wpmui-overlay"),void 0!==e&&i.addClass(e),a.addClass("wpmui-has-overlay"),o.addClass("wpmui-no-scroll"),i},t._close_modal=function(){a.removeClass("wpmui-has-overlay"),o.removeClass("wpmui-no-scroll")},jQuery(function(){e()})})(window.wpmUi=window.wpmUi||{}),function(t){var e=1,i={};t.popups=function(){return i},t.WpmUiWindow=function(){function s(){u.id=e,e+=1,i[u.id]=u,T=jQuery('<div class="wpmui-wnd"></div>'),j=jQuery('<div class="wpmui-wnd-title"><span class="the-title"></span></div>'),O=jQuery('<a href="#" class="wpmui-wnd-close"><i class="dashicons dashicons-no-alt"></i></a>'),P=jQuery('<div class="wpmui-wnd-content"></div>'),j.appendTo(T),P.appendTo(T),O.appendTo(j),T.appendTo(jQuery("body")).hide(),n(),d=!1,a()}function n(){T&&(T.on("click",".wpmui-wnd-close",u.close),T.on("click",".close",u.close),T.on("click","thead .check-column :checkbox",l),T.on("click","tfoot .check-column :checkbox",l),T.on("click","tbody .check-column :checkbox",h),jQuery(window).on("resize",c),void 0!==jQuery().draggable&&T.draggable({containment:jQuery("body"),scroll:!1,handle:".wpmui-wnd-title"}))}function o(){T&&(T.off("click",".wpmui-wnd-close",u.close),T.off("click",".close",u.close),T.off("click",".check-column :checkbox",l),jQuery(window).off("resize",c))}function a(e,s){if(!T)return!1;e=e||g,s=s||v;var n={width:e,height:s,"margin-left":-1*(e/2),"margin-top":-1*(s/2)},o=t._modal_overlay();if(j.find(".the-title").html(w),P.css({top:j.height()+1}),f?T.removeClass("no-close"):T.addClass("no-close"),C){T.find(".buttons").remove(),T.removeClass(),T.addClass("wpmui-wnd no-buttons"),b instanceof jQuery?P.empty().append(b):P.html(b);var a=P.find(".buttons");a.length&&(a.appendTo(T),T.removeClass("no-buttons")),T.addClass(y),C=!1}if(T.is(":visible")?T.animate(n,200):T.css(n),o instanceof jQuery&&o.off("click",r),d)T.show(),p&&t._make_modal(),m&&o.on("click",r),S&&(S=!1,c());else{T.hide();var l,h=!0;for(l in i)if(i[l]!==u&&i[l].is_modal()){h=!1;break}h&&t._close_modal()}}function r(){var e=t._modal_overlay();return T?!e instanceof jQuery?!1:(e.off("click",r),u.close(),void 0):!1}function c(){if(!T)return!1;var t=jQuery(this),e=t.innerWidth(),i=t.innerHeight(),s=g,n=v;g>e&&(s=e),v>i&&(n=i),a(s,n)}function l(t){var e=jQuery(this),i=e.prop("checked");t.shiftKey,e.closest("table").children("tbody, thead, tfoot").filter(":visible").children().children(".check-column").find(":checkbox").prop("checked",i)}function h(){var t=jQuery(this),e=t.closest("tbody").find(":checkbox").filter(":visible").not(":checked");return t.closest("table").children("thead, tfoot").find(":checkbox").prop("checked",0===e.length),!0}var u=this,d=!1,p=!1,f=!0,m=!0,g=740,v=400,w="Window",b="",y="",C=!1,S=!1,x=null,k=null,E=null,T=null,j=null,O=null,P=null,A="hidden";this.id=0,this.modal=function(t,e){return void 0===e&&(e=!0),p=t?!0:!1,m=e?!0:!1,a(),u},this.is_modal=function(){return p},this.size=function(t,e){var i=Math.abs(parseFloat(t)),s=Math.abs(parseFloat(e));return isNaN(i)||(g=i),isNaN(s)||(v=s),S=!0,a(),u},this.title=function(t,e){return void 0===e&&(e=!0),w=t,f=e?!0:!1,a(),u},this.content=function(t,e){return b=t instanceof jQuery?e?t:t.html():t,S=!0,C=!0,a(),u},this.set_class=function(t){return y=t,C=!0,a(),u},this.onshow=function(t){return x=t,u},this.onhide=function(t){return k=t,u},this.onclose=function(t){return E=t,u},this.loading=function(t){return t?T.addClass("wpmui-loading"):T.removeClass("wpmui-loading"),u},this.confirm=function(e){return"visible"!==A?u:!e instanceof Object?u:(e.layout="absolute",e.parent=T,t.confirm(e),u)},this.show=function(){return d=!0,S=!0,A="visible",a(),"function"==typeof x&&x.apply(u,[u.$()]),u},this.hide=function(){return d=!1,A="hidden",a(),"function"==typeof k&&k.apply(u,[u.$()]),u},this.close=function(){"closing"!==A&&(u.hide(),A="closing","function"==typeof E&&E.apply(u,[u.$()]),o(),T.remove(),T=null,delete i[u.id])},this.on=function(t,e,i){return T.on(t,e,i),u},this.off=function(t,e,i){return T.off(t,e,i),u},this.$=function(){return T},u=this,s()}}(window.wpmUi=window.wpmUi||{}),function(t){t.WpmUiProgress=function(){function t(){n=100,s=0,a=jQuery('<div class="wpmui-progress-wrap"></div>'),c=jQuery('<div class="wpmui-progress-full"></div>'),r=jQuery('<div class="wpmui-progress"></div>'),l=jQuery('<div class="wpmui-progress-label"></div>'),h=jQuery('<div class="wpmui-progress-percent"></div>'),r.appendTo(c),h.appendTo(c),c.appendTo(a),l.appendTo(a),e()}function e(){var t=100*(s/n);0>t&&(t=0),t>100&&(t=100),r.width(t+"%"),h.text(parseInt(t)+" %"),o&&o.length?(l.html(o),l.show()):l.hide()}var i=this,s=0,n=100,o="",a=null,r=null,c=null,l=null,h=null;this.value=function(t){return isNaN(t)||(s=parseInt(t),e()),i},this.max=function(t){return isNaN(t)||(n=parseInt(t),e()),i},this.label=function(t){return o=t,e(),i},this.on=function(t,e,s){return a.on(t,e,s),i},this.off=function(t,e,s){return a.off(t,e,s),i},this.$=function(){return a},i=this,t()}}(window.wpmUi=window.wpmUi||{}),function(t){t.WpmUiAjaxData=function(t,e){function i(){t||"string"!=typeof window.ajaxurl||(t=window.ajaxurl),u=jQuery("body").find("#wpmui_void"),u.length||(u=jQuery("<iframe></iframe>").attr("name","wpmui_void").attr("id","wpmui_void").css({width:1,height:1,display:"none",visibility:"hidden",position:"absolute",left:-1e3,top:-1e3}).hide().appendTo(jQuery("body"))),s(),h.reset()}function s(){var t=document.createElement("INPUT"),e=new XMLHttpRequest;t.type="file",g="files"in t,m=!!(e&&"upload"in e&&"onprogress"in e.upload),v=!!window.FormData}function n(){var t=new window.XMLHttpRequest;return m&&(t.upload.addEventListener("progress",function(t){if(t.lengthComputable){var e=t.loaded/t.total;o(e)}else o(-1)},!1),t.addEventListener("progress",function(t){if(t.lengthComputable){var e=t.loaded/t.total;o(e)}else o(-1)},!1)),t}function o(t){m&&"function"==typeof p&&p(t)}function a(t,e,i){o(100),"function"==typeof f&&f(t,e,i)}function r(t,e){var i={};if(e=e&&v,d instanceof jQuery)if(d.find(".wp-editor-area").each(function(){var t=jQuery(this).attr("id"),e="#wp-"+t+"-wrap",i=jQuery(e),s=window.tinyMCE.get(t);s&&i.hasClass("tmce-active")&&s.save()}),e)i=new window.FormData(d[0]);else{i={};var s={},n={validate:/^[a-zA-Z][a-zA-Z0-9_-]*(?:\[(?:\d*|[a-zA-Z0-9_]+)\])*$/,key:/[a-zA-Z0-9_-]+|(?=\[\])/g,push:/^$/,fixed:/^\d+$/,named:/^[a-zA-Z0-9_-]+$/},o=function(t,e,i){return t[e]=i,t},a=function(t){return void 0===s[t]&&(s[t]=0),s[t]++};jQuery.each(d.serializeArray(),function(){if(n.validate.test(this.name)){for(var t,e=this.name.match(n.key),s=this.value,r=this.name;void 0!==(t=e.pop());)r=r.replace(RegExp("\\["+t+"\\]$"),""),t.match(n.push)?s=o([],a(r),s):t.match(n.fixed)?s=o([],t,s):t.match(n.named)&&(s=o({},t,s));i=jQuery.extend(!0,i,s)}}),d.find("input[type=file]").each(function(){var t=jQuery(this),e=t.attr("name"),s=t.clone(!0)[0];i[":files"]=i[":files"]||{},i[":files"][e]=s})}else if("string"==typeof d){var r=d.split("&").map(function(t){return t.split("=",2)});i=e?new window.FormData:{};for(var c in r){var l=decodeURI(r[c][0]),h=decodeURI(r[c][1]);e?i.append(l,h):void 0!==i[l]?("object"!=typeof i[l]&&(i[l]=[i[l]]),i[l].push(h)):i[l]=h}}else if("object"==typeof d)if(e){i=new window.FormData;for(var u in d)d.hasOwnProperty(u)&&i.append(u,d[u])}else i=jQuery.extend({},d);return i instanceof window.FormData?i.append("action",t):i.action=t,i}function c(e,i){var s=r(e,!0),c={},l=null,h=!1;"json"!==i&&(i="text"),o(-1),c={url:t,type:"POST",dataType:"html",data:s,xhr:n,success:function(t){if(h=!0,l=t,"json"===i)try{l=jQuery.parseJSON(t)}catch(e){l={status:"ERR",data:t}}},error:function(t,e,i){h=!1,l=i},complete:function(t){l instanceof Object&&"ERR"===l.status&&(h=!1),a(l,h,t)}},s instanceof window.FormData&&(c.processData=!1,c.contentType=!1),jQuery.ajax(c)}function l(e,i){var s=r(e,!1),n=jQuery("<form></form>"),o="";for(var a in s)if(s.hasOwnProperty(a))if(":files"===a)for(var c in s[a]){var l=s[a][c];n.append(l)}else"action"===a?o=a+"="+(""+s[a]):jQuery('<input type="hidden" />').attr("name",a).attr("value",s[a]).appendTo(n);o=-1===t.indexOf("?")?"?"+o:"&"+o,n.attr("action",t+o).attr("method","POST").attr("enctype","multipart/form-data").attr("target",i).hide().appendTo(jQuery("body")),n.submit()}var h=this,u=null,d={},p=null,f=null,m=!1,g=!1,v=!1;this.data=function(t){return d=t,h},this.extract_data=function(t){return d=t,r("",!1)},this.onprogress=function(t){return p=t,h},this.ondone=function(t){return f=t,h},this.reset=function(){return d={},p=null,f=null,h},this.load_text=function(t){return t=t||e,c(t,"text"),h},this.load_json=function(t){return t=t||e,c(t,"json"),h},this.load_http=function(t,i){return t=t||"wpmui_void",i=i||e,l(i,t),h},h=this,i()}}(window.wpmUi=window.wpmUi||{}),function(t){t.WpmUiBinary=function(){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";t.WpmUiBinary.utf8_encode=function(t){if("string"!=typeof t)return t;t=t.replace(/\r\n/g,"\n");var e,i="",s=0;for(s;t.length>s;s++)e=t.charCodeAt(s),128>e?i+=String.fromCharCode(e):e>127&&2048>e?(i+=String.fromCharCode(192|e>>6),i+=String.fromCharCode(128|63&e)):(i+=String.fromCharCode(224|e>>12),i+=String.fromCharCode(128|63&e>>6),i+=String.fromCharCode(128|63&e));return i},t.WpmUiBinary.utf8_decode=function(t){if("string"!=typeof t)return t;for(var e="",i=0,s=0;t.length>i;)s=t.charCodeAt(i),128>s?(e+=String.fromCharCode(s),i+=1):s>191&&224>s?(e+=String.fromCharCode((31&s)<<6|63&t.charCodeAt(i+1)),i+=2):(e+=String.fromCharCode((15&s)<<12|(63&t.charCodeAt(i+1))<<6|63&t.charCodeAt(i+2)),i+=3);return e},t.WpmUiBinary.base64_encode=function(i){if("string"!=typeof i)return i;i=t.WpmUiBinary.utf8_encode(i);for(var s,n,o,a,r,c,l,h="",u=0;i.length>u;)s=i.charCodeAt(u++),n=i.charCodeAt(u++),o=i.charCodeAt(u++),a=s>>2,r=(3&s)<<4|n>>4,c=(15&n)<<2|o>>6,l=63&o,isNaN(n)?c=l=64:isNaN(o)&&(l=64),h+=e.charAt(a)+e.charAt(r)+e.charAt(c)+e.charAt(l);return h},t.WpmUiBinary.base64_decode=function(i){if("string"!=typeof i)return i;i.replace(/[^A-Za-z0-9\+\/\=]/g,"");for(var s,n,o,a,r,c,l,h="",u=0;i.length>u;)a=e.indexOf(i.charAt(u++)),r=e.indexOf(i.charAt(u++)),c=e.indexOf(i.charAt(u++)),l=e.indexOf(i.charAt(u++)),s=a<<2|r>>4,n=(15&r)<<4|c>>2,o=(3&c)<<6|l,h+=String.fromCharCode(s),64!==c&&(h+=String.fromCharCode(n)),64!==l&&(h+=String.fromCharCode(o));return t.WpmUiBinary.utf8_decode(h)}}}(window.wpmUi=window.wpmUi||{});
|
inc/external/wpmu-lib/js/wpmu-ui.min.js
DELETED
@@ -1,4 +0,0 @@
|
|
1 |
-
/*! WPMU Dev code library - v1.1.1
|
2 |
-
* http://premium.wpmudev.org/
|
3 |
-
* Copyright (c) 2014; * Licensed GPLv2+ */
|
4 |
-
(function(t){function e(){null===o&&(n=jQuery(document),o=jQuery("html"),a=jQuery("body"),i(),s(),a.hasClass("no-auto-init")||(t.upgrade_multiselect(),t.upgrade_tooltips()),t.binary=new t.WpmUiBinary)}function i(){var t=function t(t){var e=jQuery(this).closest(".wpmui-box");return t.preventDefault(),e.hasClass("static")?!1:(e.toggleClass("closed"),!1)};a.on("click",".wpmui-box > h3",t),a.on("click",".wpmui-box > h3 > .toggle",t)}function s(){var t=function t(t){var e=jQuery(this),i=e.closest(".wpmui-tabs"),s=i.next(".wpmui-tab-contents"),n=i.find(".active.tab"),o=e.attr("href"),a=n.attr("href"),r=s.find(o),c=s.find(a);return e.hasClass("active")||(n.removeClass("active"),c.removeClass("active")),e.addClass("active"),r.addClass("active"),t.preventDefault(),!1};a.on("click",".wpmui-tabs .tab",t)}var n=null,o=null,a=null,r=null;t.popup=function(){return e(),new t.WpmUiWindow},t.ajax=function(i,s){return e(),new t.WpmUiAjaxData(i,s)},t.upgrade_multiselect=function(t){e(),t=jQuery(t||a);var i=t.find("select[multiple]"),s=t.find("input[data-select-ajax]"),n=function n(t){var e=t.attr("id"),i="#s2id_"+e,s=t.parent().find(i);s.remove()},o=function o(){var t=jQuery(this),e={closeOnSelect:!1,width:"100%"};"1"!==t.data("wpmui-select")&&(t.data("wpmui-select","1"),n(t),window.setTimeout(function(){t.select2(e)},1))},r=function r(){var t=function t(t){return t.val},e=function e(t){return t.key},i=function i(t,e){var i=t.val(),s=[],n=[];jQuery(i.split(",")).each(function(){var t=this.split("::");n.push(t[0]),s.push({key:t[0],val:t[1]})}),t.val(n.join(",")),e(s)},s=jQuery(this),o={closeOnSelect:!1,width:"100%",multiple:!0,minimumInputLength:1,ajax:{url:s.attr("data-select-ajax"),dataType:"json",quietMillis:100,cache:!0,data:function(t){return{q:t}},results:function(t){return{results:t.items}}},id:e,formatResult:t,formatSelection:t,initSelection:i};"1"!==s.data("wpmui-select")&&(s.data("wpmui-select","1"),n(s),window.setTimeout(function(){s.select2(o)},1))};"function"==typeof jQuery.fn.each2?(i.each2(o),s.each2(r)):(i.each(o),s.each(r))},t.message=function(t){var i,s,n,o;e();var a=function a(t){return t.preventDefault(),s.remove(),!1},r=function r(){var t=jQuery(this).closest(".wpmui-msg");t.find(".debug").toggle()};return t===void 0?!1:(("string"==typeof t||t instanceof Array)&&(t={message:t}),t.message instanceof Array&&(t.message=t.message.join("<br />")),t.message?(t.type=void 0===t.type?"ok":(""+t.type).toLowerCase(),t.close=void 0===t.close?!0:t.close,t.parent=void 0===t.parent?".wrap":t.parent,t.insert_after=void 0===t.insert_after?"h2":t.insert_after,t.id=void 0===t.id?"":(""+t.id).toLowerCase(),t["class"]=void 0===t["class"]?"":(""+t["class"]).toLowerCase(),t.details=void 0===t.details?!1:t.details,("error"===t.type||"red"===t.type)&&(t.type="err"),("success"===t.type||"green"===t.type)&&(t.type="ok"),i=jQuery(t.parent).first(),i.length?(t.id&&jQuery('.wpmui-msg[data-id="'+t.id+'"]').length?(s=jQuery('.wpmui-msg[data-id="'+t.id+'"]').first(),o=!1):(s=jQuery("<div><p></p></div>"),t.id&&s.attr("data-id",t.id),o=!0),s.find("p").html(t.message),"err"===t.type&&t.details&&window.JSON&&(jQuery('<div class="debug" style="display:none"></div>').appendTo(s).text(JSON.stringify(t.details)),jQuery('<i class="dashicons dashicons-editor-help light"></i>').prependTo(s.find("p:first")).click(r).after(" ")),s.removeClass().addClass("updated wpmui-msg "+t["class"]),"err"===t.type&&s.addClass("error"),o&&(t.close&&(n=jQuery('<a href="#" class="wpmui-close">×</a>'),n.prependTo(s),n.click(a)),t.insert_after&&i.find(t.insert_after).length?(i=i.find(t.insert_after).first(),i.after(s)):i.prepend(s)),!0):!1):!1)},t.confirm=function(t){function e(){var e=jQuery(this),i=parseInt(e.data("key"));s.remove(),n.remove(),"function"==typeof t.callback&&t.callback(i)}var i,s,n,o,r,c,l,h;if(!t instanceof Object)return!1;if(void 0===t.message)return!1;for(t.modal=void 0===t.modal?!0:t.modal,t.layout=void 0===t.layout?"fixed":t.layout,t.parent=void 0===t.parent?a:t.parent,t.buttons=void 0===t.buttons?["OK"]:t.buttons,t.callback=void 0===t.callback?!1:t.callback,i=jQuery(t.parent),t.modal&&(s=jQuery('<div class="wmui-confirm-modal"></div>').css({position:t.layout}).appendTo(i)),n=jQuery('<div class="wpmui-confirm-box"></div>').css({position:t.layout}).appendTo(i),o=jQuery('<div class="wpmui-confirm-msg"></div>').html(t.message),r=jQuery('<div class="wpmui-confirm-btn"></div>'),h=!0,c=0;t.buttons.length>c;c+=1)l=jQuery("<button></button>").html(t.buttons[c]).addClass(h?"button-primary":"button-secondary").data("key",c).click(e).prependTo(r),h=!1;return o.appendTo(n),r.appendTo(n),!0},t.tooltip=function(t,i){var s,n;e();var o=function o(e){var s=e.outerWidth(),n=e.outerHeight(),o=5,a=t.outerWidth(),r=t.outerHeight(),c={};switch(c.left=(a-s)/2,c.top=(r-n)/2,c[i.pos]="auto",i.pos){case"top":c.bottom=r+o;break;case"bottom":c.top=r+o;break;case"left":c.right=a+o;break;case"right":c.left=a+o}e.css(c)},a=function a(){var t=jQuery(this).closest(".wpmui-tip-box").find(".wpmui-tip");t.addClass("wpmui-visible"),t.show(),o(t),window.setTimeout(function(){o(t)},35)},r=function r(){var t=jQuery(this).closest(".wpmui-tip-box").find(".wpmui-tip");t.removeClass("wpmui-visible"),t.hide()},c=function c(t){s.hasClass("wpmui-visible")?r.call(this,t):a.call(this,t)};return"string"==typeof i&&(i={content:i}),void 0===i.content?!1:(t=jQuery(t),t.length?(i.trigger=void 0===i.trigger?"hover":(""+i.trigger).toLowerCase(),i.pos=void 0===i.pos?"top":(""+i.pos).toLowerCase(),i["class"]=void 0===i["class"]?"":(""+i["class"]).toLowerCase(),n=t.parent(),n.hasClass("wpmui-tip-box")||(n=t.wrap('<span class="wpmui-tip-box"></span>').parent().addClass(i["class"]+"-box")),s=n.find("> .wpmui-tip"),t.off(),s.length||(s=jQuery('<div class="wpmui-tip"></div>'),s.addClass(i["class"]).addClass(i.pos).appendTo(t.parent()).hide(),isNaN(i.width)||s.width(i.width)),"hover"===i.trigger?t.on("mouseenter",a).on("mouseleave",r):"click"===i.trigger&&t.on("click",c),s.html(i.content),!0):!1)},t.upgrade_tooltips=function(){var e=jQuery("[data-tooltip]");e.each(function(){var e=jQuery(this),i={content:e.attr("data-tooltip"),pos:e.attr("data-pos"),trigger:e.attr("data-trigger"),"class":e.attr("data-class"),width:e.attr("data-width")};t.tooltip(e,i)})},t.obj=function(t){var e={};if(t instanceof Object)e=t;else if(t instanceof Array)if("function"==typeof t.reduce)e=t.reduce(function(t,e,i){return t[i]=e,t},{});else for(var i=t.length-1;i>0;i-=1)void 0!==t[i]&&(e[i]=t[i]);else"string"==typeof t?e.scalar=t:"number"==typeof t?e.scalar=t:"boolean"==typeof t&&(e.scalar=t);return e},t._modal_overlay=function(){return null===r&&(r=jQuery("<div></div>").addClass("wpmui-overlay").appendTo(a)),r},t._make_modal=function(){t._modal_overlay(),a.addClass("wpmui-has-overlay"),o.addClass("wpmui-no-scroll")},t._close_modal=function(){a.removeClass("wpmui-has-overlay"),o.removeClass("wpmui-no-scroll")},jQuery(function(){e()})})(window.wpmUi=window.wpmUi||{}),function(t){var e=1,i={};t.popups=function(){return i},t.WpmUiWindow=function(){function s(){u.id=e,e+=1,i[u.id]=u,k=jQuery('<div class="wpmui-wnd"></div>'),E=jQuery('<div class="wpmui-wnd-title"><span class="the-title"></span></div>'),T=jQuery('<a href="#" class="wpmui-wnd-close"><i class="dashicons dashicons-no-alt"></i></a>'),j=jQuery('<div class="wpmui-wnd-content"></div>'),E.appendTo(k),j.appendTo(k),T.appendTo(E),k.appendTo(jQuery("body")).hide(),n(),d=!1,a()}function n(){k&&(k.on("click",".wpmui-wnd-close",u.close),k.on("click",".close",u.close),k.on("click","thead .check-column :checkbox",l),k.on("click","tfoot .check-column :checkbox",l),k.on("click","tbody .check-column :checkbox",h),jQuery(window).on("resize",c))}function o(){k&&(k.off("click",".wpmui-wnd-close",u.close),k.off("click",".close",u.close),k.off("click",".check-column :checkbox",l),jQuery(window).off("resize",c))}function a(e,i){if(!k)return!1;e=e||f,i=i||m;var s={width:e,height:i,"margin-left":-1*(e/2),"margin-top":-1*(i/2)},n=t._modal_overlay();if(E.find(".the-title").text(g),b){k.find(".buttons").remove(),k.removeClass(),k.addClass("wpmui-wnd no-buttons"),v instanceof jQuery?j.html(v.html()):j.html(jQuery(v).html());var o=j.find(".buttons");o.length&&(o.appendTo(k),k.removeClass("no-buttons")),k.addClass(w),b=!1}k.is(":visible")?k.animate(s,200):k.css(s),n instanceof jQuery&&n.off("click",r),d?(k.show(),p&&t._make_modal(),n.on("click",r),y&&(y=!1,c())):(k.hide(),t._close_modal())}function r(){var e=t._modal_overlay();return k?!e instanceof jQuery?!1:(e.off("click",r),u.close(),void 0):!1}function c(){if(!k)return!1;var t=jQuery(this),e=t.innerWidth(),i=t.innerHeight(),s=f,n=m;f>e&&(s=e),m>i&&(n=i),a(s,n)}function l(t){var e=jQuery(this),i=e.prop("checked");t.shiftKey,e.closest("table").children("tbody, thead, tfoot").filter(":visible").children().children(".check-column").find(":checkbox").prop("checked",i)}function h(){var t=jQuery(this),e=t.closest("tbody").find(":checkbox").filter(":visible").not(":checked");return t.closest("table").children("thead, tfoot").find(":checkbox").prop("checked",0===e.length),!0}var u=this,d=!1,p=!1,f=740,m=400,g="Window",v="",w="",b=!1,y=!1,C=null,S=null,x=null,k=null,E=null,T=null,j=null,O="hidden";this.id=0,this.modal=function(t){return p=t?!0:!1,a(),u},this.size=function(t,e){var i=Math.abs(parseFloat(t)),s=Math.abs(parseFloat(e));return isNaN(i)||(f=i),isNaN(s)||(m=s),y=!0,a(),u},this.title=function(t){return g=t,a(),u},this.content=function(t){return v=t,y=!0,b=!0,a(),u},this.set_class=function(t){return w=t,b=!0,a(),u},this.onshow=function(t){return C=t,u},this.onhide=function(t){return S=t,u},this.onclose=function(t){return x=t,u},this.loading=function(t){return t?k.addClass("wpmui-loading"):k.removeClass("wpmui-loading"),u},this.confirm=function(e){return"visible"!==O?u:!e instanceof Object?u:(e.layout="absolute",e.parent=k,t.confirm(e),u)},this.show=function(){return d=!0,y=!0,O="visible",a(),"function"==typeof C&&C.apply(u,[u.$()]),u},this.hide=function(){return d=!1,O="hidden",a(),"function"==typeof S&&S.apply(u,[u.$()]),u},this.close=function(){"closing"!==O&&(u.hide(),O="closing","function"==typeof x&&x.apply(u,[u.$()]),o(),k.remove(),k=null,delete i[u.id])},this.$=function(){return k},u=this,s()}}(window.wpmUi=window.wpmUi||{}),function(t){t.WpmUiAjaxData=function(t,e){function i(){t||"string"!=typeof window.ajaxurl||(t=window.ajaxurl),u=jQuery("body").find("#wpmui_void"),u.length||(u=jQuery("<iframe></iframe>").attr("name","wpmui_void").attr("id","wpmui_void").css({width:1,height:1,display:"none",visibility:"hidden",position:"absolute",left:-1e3,top:-1e3}).hide().appendTo(jQuery("body"))),s(),h.reset()}function s(){var t=document.createElement("INPUT"),e=new XMLHttpRequest;t.type="file",g="files"in t,m=!!(e&&"upload"in e&&"onprogress"in e.upload),v=!!window.FormData}function n(){var t=new window.XMLHttpRequest;return m&&(t.upload.addEventListener("progress",function(t){if(t.lengthComputable){var e=t.loaded/t.total;o(e)}else o(-1)},!1),t.addEventListener("progress",function(t){if(t.lengthComputable){var e=t.loaded/t.total;o(e)}else o(-1)},!1)),t}function o(t){m&&"function"==typeof p&&p(t)}function a(t,e,i){o(100),"function"==typeof f&&f(t,e,i)}function r(t,e){var i={};if(e=e&&v,d instanceof jQuery)if(d.find(".wp-editor-area").each(function(){var t=jQuery(this).attr("id"),e="#wp-"+t+"-wrap",i=jQuery(e),s=window.tinyMCE.get(t);s&&i.hasClass("tmce-active")&&s.save()}),e)i=new window.FormData(d[0]);else{i={};var s={},n={validate:/^[a-zA-Z][a-zA-Z0-9_-]*(?:\[(?:\d*|[a-zA-Z0-9_]+)\])*$/,key:/[a-zA-Z0-9_-]+|(?=\[\])/g,push:/^$/,fixed:/^\d+$/,named:/^[a-zA-Z0-9_-]+$/},o=function(t,e,i){return t[e]=i,t},a=function(t){return void 0===s[t]&&(s[t]=0),s[t]++};jQuery.each(d.serializeArray(),function(){if(n.validate.test(this.name)){for(var t,e=this.name.match(n.key),s=this.value,r=this.name;void 0!==(t=e.pop());)r=r.replace(RegExp("\\["+t+"\\]$"),""),t.match(n.push)?s=o([],a(r),s):t.match(n.fixed)?s=o([],t,s):t.match(n.named)&&(s=o({},t,s));i=jQuery.extend(!0,i,s)}}),d.find("input[type=file]").each(function(){var t=jQuery(this),e=t.attr("name"),s=t.clone(!0)[0];i[":files"]=i[":files"]||{},i[":files"][e]=s})}else if("string"==typeof d){var r=d.split("&").map(function(t){return t.split("=",2)});i=e?new window.FormData:{};for(var c in r){var l=decodeURI(r[c][0]),h=decodeURI(r[c][1]);e?i.append(l,h):void 0!==i[l]?("object"!=typeof i[l]&&(i[l]=[i[l]]),i[l].push(h)):i[l]=h}}else if("object"==typeof d)if(e){i=new window.FormData;for(var u in d)d.hasOwnProperty(u)&&i.append(u,d[u])}else i=jQuery.extend({},d);return i instanceof window.FormData?i.append("action",t):i.action=t,i}function c(e,i){var s=r(e,!0),c={},l=null,h=!1;"json"!==i&&(i="text"),o(-1),c={url:t,type:"POST",dataType:"html",data:s,xhr:n,success:function(t){if(h=!0,l=t,"json"===i)try{l=jQuery.parseJSON(t)}catch(e){l={status:"ERR",data:t}}},error:function(t,e,i){h=!1,l=i},complete:function(t){l instanceof Object&&"ERR"===l.status&&(h=!1),a(l,h,t)}},s instanceof window.FormData&&(c.processData=!1,c.contentType=!1),jQuery.ajax(c)}function l(e,i){var s=r(e,!1),n=jQuery("<form></form>"),o="";for(var a in s)if(s.hasOwnProperty(a))if(":files"===a)for(var c in s[a]){var l=s[a][c];n.append(l)}else"action"===a?o=a+"="+(""+s[a]):jQuery('<input type="hidden" />').attr("name",a).attr("value",s[a]).appendTo(n);o=-1===t.indexOf("?")?"?"+o:"&"+o,n.attr("action",t+o).attr("method","POST").attr("enctype","multipart/form-data").attr("target",i).hide().appendTo(jQuery("body")),n.submit()}var h=this,u=null,d={},p=null,f=null,m=!1,g=!1,v=!1;this.data=function(t){return d=t,h},this.extract_data=function(t){return d=t,r("",!1)},this.onprogress=function(t){return p=t,h},this.ondone=function(t){return f=t,h},this.reset=function(){return d={},p=null,f=null,h},this.load_text=function(t){return t=t||e,c(t,"text"),h},this.load_json=function(t){return t=t||e,c(t,"json"),h},this.load_http=function(t,i){return t=t||"wpmui_void",i=i||e,l(i,t),h},h=this,i()}}(window.wpmUi=window.wpmUi||{}),function(t){t.WpmUiBinary=function(){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";t.WpmUiBinary.utf8_encode=function(t){if("string"!=typeof t)return t;t=t.replace(/\r\n/g,"\n");var e,i="",s=0;for(s;t.length>s;s++)e=t.charCodeAt(s),128>e?i+=String.fromCharCode(e):e>127&&2048>e?(i+=String.fromCharCode(192|e>>6),i+=String.fromCharCode(128|63&e)):(i+=String.fromCharCode(224|e>>12),i+=String.fromCharCode(128|63&e>>6),i+=String.fromCharCode(128|63&e));return i},t.WpmUiBinary.utf8_decode=function(t){if("string"!=typeof t)return t;for(var e="",i=0,s=0;t.length>i;)s=t.charCodeAt(i),128>s?(e+=String.fromCharCode(s),i+=1):s>191&&224>s?(e+=String.fromCharCode((31&s)<<6|63&t.charCodeAt(i+1)),i+=2):(e+=String.fromCharCode((15&s)<<12|(63&t.charCodeAt(i+1))<<6|63&t.charCodeAt(i+2)),i+=3);return e},t.WpmUiBinary.base64_encode=function(i){if("string"!=typeof i)return i;i=t.WpmUiBinary.utf8_encode(i);for(var s,n,o,a,r,c,l,h="",u=0;i.length>u;)s=i.charCodeAt(u++),n=i.charCodeAt(u++),o=i.charCodeAt(u++),a=s>>2,r=(3&s)<<4|n>>4,c=(15&n)<<2|o>>6,l=63&o,isNaN(n)?c=l=64:isNaN(o)&&(l=64),h+=e.charAt(a)+e.charAt(r)+e.charAt(c)+e.charAt(l);return h},t.WpmUiBinary.base64_decode=function(i){if("string"!=typeof i)return i;i.replace(/[^A-Za-z0-9\+\/\=]/g,"");for(var s,n,o,a,r,c,l,h="",u=0;i.length>u;)a=e.indexOf(i.charAt(u++)),r=e.indexOf(i.charAt(u++)),c=e.indexOf(i.charAt(u++)),l=e.indexOf(i.charAt(u++)),s=a<<2|r>>4,n=(15&r)<<4|c>>2,o=(3&c)<<6|l,h+=String.fromCharCode(s),64!==c&&(h+=String.fromCharCode(n)),64!==l&&(h+=String.fromCharCode(o));return t.WpmUiBinary.utf8_decode(h)}}}(window.wpmUi=window.wpmUi||{});
|
|
|
|
|
|
|
|
inc/external/wpmu-lib/js/wpmu-vnav.2.js
ADDED
@@ -0,0 +1,163 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*! WPMU Dev code library - v2.0.3
|
2 |
+
* http://premium.wpmudev.org/
|
3 |
+
* Copyright (c) 2015; * Licensed GPLv2+ */
|
4 |
+
/*!
|
5 |
+
* UI Pattern: Vertical navigation.
|
6 |
+
* Version: 1.0.0
|
7 |
+
*/
|
8 |
+
/*global jQuery:false */
|
9 |
+
/*global window:false */
|
10 |
+
/*global document:false */
|
11 |
+
|
12 |
+
jQuery(function() {
|
13 |
+
var referer = '';
|
14 |
+
|
15 |
+
// Runs when page is loaded.
|
16 |
+
function init() {
|
17 |
+
var elements = jQuery( '.vnav' );
|
18 |
+
|
19 |
+
referer = jQuery( 'input[name=_wp_http_referer]' );
|
20 |
+
|
21 |
+
elements.wpmui_vnav();
|
22 |
+
}
|
23 |
+
|
24 |
+
// Initializes a single vnav container.
|
25 |
+
function init_vnav() {
|
26 |
+
var context = jQuery( this );
|
27 |
+
|
28 |
+
// We look for all h3 tags inside the context element.
|
29 |
+
// Each h3 element starts a new navigation section.
|
30 |
+
var ind, section, parts, title, body, list, key,
|
31 |
+
list_height = 0,
|
32 |
+
wnd = jQuery( window ),
|
33 |
+
html = context.html(),
|
34 |
+
sections = html.split( '<h3>' ),
|
35 |
+
act_key = window.location.hash.replace(/^#/, ''),
|
36 |
+
act_class = (! act_key.length ? ' active' : '');
|
37 |
+
|
38 |
+
// Now we have split the sections, we can build the vnav-layout.
|
39 |
+
html = '<ul class="lst-vnav">';
|
40 |
+
for ( ind = 0; ind < sections.length; ind += 1 ) {
|
41 |
+
section = sections[ ind ];
|
42 |
+
// Split section title from section body.
|
43 |
+
parts = section.split( '</h3>' );
|
44 |
+
|
45 |
+
if ( 2 === parts.length && parts[0].length ) {
|
46 |
+
if ( parts[0] === '-' ) {
|
47 |
+
html += '<li class="lst-vnav-sep"></li>';
|
48 |
+
} else {
|
49 |
+
key = parts[0]
|
50 |
+
.toLowerCase()
|
51 |
+
.replace( /\W\W*/g, ' ' )
|
52 |
+
.replace( /^\s|\s$/g, '' )
|
53 |
+
.replace( /\s/g, '-' );
|
54 |
+
|
55 |
+
if ( act_key.length && act_key === key ) {
|
56 |
+
act_class = ' active';
|
57 |
+
}
|
58 |
+
title = '<h3 data-key="' + key + '">' + parts[0] + '</h3>';
|
59 |
+
body = '<div class="data">' + parts[1] + '</div>';
|
60 |
+
html += '<li class="lst-vnav-item' + act_class + '">' + title + body + '</li>';
|
61 |
+
act_class = '';
|
62 |
+
}
|
63 |
+
}
|
64 |
+
}
|
65 |
+
html += '</ul>';
|
66 |
+
|
67 |
+
// Update the settings with new vertical navigation code!
|
68 |
+
context.html( html );
|
69 |
+
list = jQuery( '.lst-vnav', context ).first();
|
70 |
+
|
71 |
+
// Remove row-header columns when all row-headers of a section are empty.
|
72 |
+
context.find( '.lst-vnav-item > .data > table' ).each(function() {
|
73 |
+
var me = jQuery( this ),
|
74 |
+
all_th = me.find( '> tbody > tr > th, > tr > th' ),
|
75 |
+
empty_th = all_th.filter( ':empty' );
|
76 |
+
|
77 |
+
if ( all_th.length === empty_th.length ) {
|
78 |
+
all_th.remove();
|
79 |
+
}
|
80 |
+
});
|
81 |
+
|
82 |
+
// Define click handler.
|
83 |
+
var activate_section = function activate_section( ev ) {
|
84 |
+
var me = jQuery( this ),
|
85 |
+
item = me.parents( '.lst-vnav-item' ).first(),
|
86 |
+
prev_item = jQuery( '.lst-vnav-item.active', list ),
|
87 |
+
key = me.data( 'key' ),
|
88 |
+
new_referer = '';
|
89 |
+
|
90 |
+
window.location.hash = key;
|
91 |
+
referer.each( function() {
|
92 |
+
var $ref = jQuery( this );
|
93 |
+
new_referer = $ref.val().split( '#' ).shift();
|
94 |
+
new_referer += '#' + key;
|
95 |
+
$ref.val( new_referer );
|
96 |
+
});
|
97 |
+
prev_item.removeClass( 'active' );
|
98 |
+
item.addClass( 'active' );
|
99 |
+
|
100 |
+
resize_content();
|
101 |
+
};
|
102 |
+
|
103 |
+
// Resize the content area.
|
104 |
+
var resize_content = function resize_content( ev ) {
|
105 |
+
var item = jQuery( '.lst-vnav-item.active', list ),
|
106 |
+
item_data = jQuery( '> .data', item ).first(),
|
107 |
+
data_height = item_data.outerHeight();
|
108 |
+
|
109 |
+
if ( ! list_height ) {
|
110 |
+
list_height = list.outerHeight();
|
111 |
+
}
|
112 |
+
|
113 |
+
list.css( {
|
114 |
+
"min-height": data_height + "px"
|
115 |
+
} );
|
116 |
+
item_data.css( {
|
117 |
+
"min-height": list_height + 'px'
|
118 |
+
} );
|
119 |
+
};
|
120 |
+
|
121 |
+
// Mobile screen size functions.
|
122 |
+
var toggle_sections = function toggle_sections( ev ) {
|
123 |
+
if ( list.hasClass( 'open' ) ) {
|
124 |
+
close_sections( ev );
|
125 |
+
} else {
|
126 |
+
open_sections( ev );
|
127 |
+
}
|
128 |
+
};
|
129 |
+
|
130 |
+
var open_sections = function open_sections( ev ) {
|
131 |
+
list.addClass( 'open' );
|
132 |
+
};
|
133 |
+
|
134 |
+
var close_sections = function close_sections( ev ) {
|
135 |
+
list.removeClass( 'open' );
|
136 |
+
};
|
137 |
+
|
138 |
+
// Add click hander to change the section.
|
139 |
+
context.on( 'click', 'h3', activate_section );
|
140 |
+
context.on( 'click', 'h3', toggle_sections );
|
141 |
+
|
142 |
+
// Hide the section list on window resize (mobile screens only).
|
143 |
+
wnd.resize( resize_content );
|
144 |
+
wnd.resize( close_sections );
|
145 |
+
|
146 |
+
// Timeout of 50ms: Screen needs to refresh once before this works.
|
147 |
+
window.setTimeout( function() { jQuery( '.active h3', context ).click(); }, 50 );
|
148 |
+
}
|
149 |
+
|
150 |
+
// Add a new jQuery function to init a vnav container
|
151 |
+
jQuery.fn.extend({
|
152 |
+
wpmui_vnav: function() {
|
153 |
+
return this.each(function() {
|
154 |
+
init_vnav.apply( this );
|
155 |
+
return this;
|
156 |
+
});
|
157 |
+
}
|
158 |
+
});
|
159 |
+
|
160 |
+
// Call the init method when page is loaded.
|
161 |
+
init();
|
162 |
+
|
163 |
+
});
|
inc/external/wpmu-lib/js/wpmu-vnav.2.min.js
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
1 |
+
/*! WPMU Dev code library - v2.0.3
|
2 |
+
* http://premium.wpmudev.org/
|
3 |
+
* Copyright (c) 2015; * Licensed GPLv2+ */
|
4 |
+
jQuery(function(){function t(){var t=jQuery(".vnav");i=jQuery("input[name=_wp_http_referer]"),t.wpmui_vnav()}function e(){var t,e,s,n,o,a,r,c=jQuery(this),l=0,h=jQuery(window),u=c.html(),d=u.split("<h3>"),p=window.location.hash.replace(/^#/,""),f=p.length?"":" active";for(u='<ul class="lst-vnav">',t=0;d.length>t;t+=1)e=d[t],s=e.split("</h3>"),2===s.length&&s[0].length&&("-"===s[0]?u+='<li class="lst-vnav-sep"></li>':(r=s[0].toLowerCase().replace(/\W\W*/g," ").replace(/^\s|\s$/g,"").replace(/\s/g,"-"),p.length&&p===r&&(f=" active"),n='<h3 data-key="'+r+'">'+s[0]+"</h3>",o='<div class="data">'+s[1]+"</div>",u+='<li class="lst-vnav-item'+f+'">'+n+o+"</li>",f=""));u+="</ul>",c.html(u),a=jQuery(".lst-vnav",c).first(),c.find(".lst-vnav-item > .data > table").each(function(){var t=jQuery(this),e=t.find("> tbody > tr > th, > tr > th"),i=e.filter(":empty");e.length===i.length&&e.remove()});var m=function m(){var t=jQuery(this),e=t.parents(".lst-vnav-item").first(),s=jQuery(".lst-vnav-item.active",a),n=t.data("key"),o="";window.location.hash=n,i.each(function(){var t=jQuery(this);o=t.val().split("#").shift(),o+="#"+n,t.val(o)}),s.removeClass("active"),e.addClass("active"),g()},g=function g(){var t=jQuery(".lst-vnav-item.active",a),e=jQuery("> .data",t).first(),i=e.outerHeight();l||(l=a.outerHeight()),a.css({"min-height":i+"px"}),e.css({"min-height":l+"px"})},v=function v(t){a.hasClass("open")?y(t):w(t)},w=function w(){a.addClass("open")},y=function y(){a.removeClass("open")};c.on("click","h3",m),c.on("click","h3",v),h.resize(g),h.resize(y),window.setTimeout(function(){jQuery(".active h3",c).click()},50)}var i="";jQuery.fn.extend({wpmui_vnav:function(){return this.each(function(){return e.apply(this),this})}}),t()});
|
inc/external/wpmu-lib/js/wpmu-vnav.js
DELETED
@@ -1,141 +0,0 @@
|
|
1 |
-
/*! WPMU Dev code library - v1.1.1
|
2 |
-
* http://premium.wpmudev.org/
|
3 |
-
* Copyright (c) 2014; * Licensed GPLv2+ */
|
4 |
-
/*!
|
5 |
-
* UI Pattern: Vertical navigation.
|
6 |
-
* Version: 1.0.0
|
7 |
-
*/
|
8 |
-
/*global jQuery:false */
|
9 |
-
/*global window:false */
|
10 |
-
/*global document:false */
|
11 |
-
|
12 |
-
jQuery(function init_vnav() {
|
13 |
-
var context = jQuery( '.vnav' ),
|
14 |
-
$referer = jQuery( 'input[name=_wp_http_referer]' );
|
15 |
-
|
16 |
-
if ( ! context.length ) {
|
17 |
-
// No vnav box found on the page: Stop right here.
|
18 |
-
return;
|
19 |
-
}
|
20 |
-
|
21 |
-
// We look for all h3 tags inside the context element.
|
22 |
-
// Each h3 element starts a new navigation section.
|
23 |
-
var ind, section, parts, title, body, $list, key,
|
24 |
-
list_height = 0,
|
25 |
-
$window = jQuery( window ),
|
26 |
-
html = context.html(),
|
27 |
-
sections = html.split( '<h3>' ),
|
28 |
-
act_key = window.location.hash.replace(/^#/, ''),
|
29 |
-
act_class = (! act_key.length ? ' active' : '');
|
30 |
-
|
31 |
-
// Now we have split the sections, we can build the vnav-layout.
|
32 |
-
html = '<ul class="lst-vnav">';
|
33 |
-
for ( ind = 0; ind < sections.length; ind += 1 ) {
|
34 |
-
section = sections[ ind ];
|
35 |
-
// Split section title from section body.
|
36 |
-
parts = section.split( '</h3>' );
|
37 |
-
|
38 |
-
if ( 2 === parts.length && parts[0].length ) {
|
39 |
-
if ( parts[0] === '-' ) {
|
40 |
-
html += '<li class="lst-vnav-sep"></li>';
|
41 |
-
} else {
|
42 |
-
key = parts[0]
|
43 |
-
.toLowerCase()
|
44 |
-
.replace( /\W\W*/g, ' ' )
|
45 |
-
.replace( /^\s|\s$/g, '' )
|
46 |
-
.replace( /\s/g, '-' );
|
47 |
-
|
48 |
-
if ( act_key.length && act_key === key ) {
|
49 |
-
act_class = ' active';
|
50 |
-
}
|
51 |
-
title = '<h3 data-key="' + key + '">' + parts[0] + '</h3>';
|
52 |
-
body = '<div class="data">' + parts[1] + '</div>';
|
53 |
-
html += '<li class="lst-vnav-item' + act_class + '">' + title + body + '</li>';
|
54 |
-
act_class = '';
|
55 |
-
}
|
56 |
-
}
|
57 |
-
}
|
58 |
-
html += '</ul>';
|
59 |
-
|
60 |
-
// Update the settings with new vertical navigation code!
|
61 |
-
context.html( html );
|
62 |
-
$list = jQuery( '.lst-vnav', context ).first();
|
63 |
-
|
64 |
-
// Remove row-header columns when all row-headers of a section are empty.
|
65 |
-
context.find( '.lst-vnav-item > .data > table' ).each(function() {
|
66 |
-
var $me = jQuery( this ),
|
67 |
-
all_th = $me.find( '> tbody > tr > th, > tr > th' ),
|
68 |
-
empty_th = all_th.filter( ':empty' );
|
69 |
-
|
70 |
-
if ( all_th.length === empty_th.length ) {
|
71 |
-
all_th.remove();
|
72 |
-
}
|
73 |
-
});
|
74 |
-
|
75 |
-
// Define click handler.
|
76 |
-
var activate_section = function activate_section( ev ) {
|
77 |
-
var $me = jQuery( this ),
|
78 |
-
$item = $me.parents( '.lst-vnav-item' ).first(),
|
79 |
-
$prev_item = jQuery( '.lst-vnav-item.active', $list ),
|
80 |
-
key = $me.data( 'key' ),
|
81 |
-
new_referer = '';
|
82 |
-
|
83 |
-
window.location.hash = key;
|
84 |
-
$referer.each( function() {
|
85 |
-
var $ref = jQuery( this );
|
86 |
-
new_referer = $ref.val().split( '#' ).shift();
|
87 |
-
new_referer += '#' + key;
|
88 |
-
$ref.val( new_referer );
|
89 |
-
});
|
90 |
-
$prev_item.removeClass( 'active' );
|
91 |
-
$item.addClass( 'active' );
|
92 |
-
|
93 |
-
resize_content();
|
94 |
-
};
|
95 |
-
|
96 |
-
// Resize the content area.
|
97 |
-
var resize_content = function resize_content( ev ) {
|
98 |
-
var $item = jQuery( '.lst-vnav-item.active', $list ),
|
99 |
-
$item_data = jQuery( '> .data', $item ).first(),
|
100 |
-
data_height = $item_data.outerHeight();
|
101 |
-
|
102 |
-
if ( ! list_height ) {
|
103 |
-
list_height = $list.outerHeight();
|
104 |
-
}
|
105 |
-
|
106 |
-
$list.css( {
|
107 |
-
"min-height": data_height + "px"
|
108 |
-
} );
|
109 |
-
$item_data.css( {
|
110 |
-
"min-height": list_height + 'px'
|
111 |
-
} );
|
112 |
-
};
|
113 |
-
|
114 |
-
// Mobile screen size functions.
|
115 |
-
var toggle_sections = function toggle_sections( ev ) {
|
116 |
-
if ( $list.hasClass( 'open' ) ) {
|
117 |
-
close_sections( ev );
|
118 |
-
} else {
|
119 |
-
open_sections( ev );
|
120 |
-
}
|
121 |
-
};
|
122 |
-
|
123 |
-
var open_sections = function open_sections( ev ) {
|
124 |
-
$list.addClass( 'open' );
|
125 |
-
};
|
126 |
-
|
127 |
-
var close_sections = function close_sections( ev ) {
|
128 |
-
$list.removeClass( 'open' );
|
129 |
-
};
|
130 |
-
|
131 |
-
// Add click hander to change the section.
|
132 |
-
context.on( 'click', 'h3', activate_section );
|
133 |
-
context.on( 'click', 'h3', toggle_sections );
|
134 |
-
|
135 |
-
// Hide the section list on window resize (mobile screens only).
|
136 |
-
$window.resize( resize_content );
|
137 |
-
$window.resize( close_sections );
|
138 |
-
|
139 |
-
// Timeout of 50ms: Screen needs to refresh once before this works.
|
140 |
-
window.setTimeout( function() { jQuery( '.active h3', context ).click(); }, 50 );
|
141 |
-
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
inc/external/wpmu-lib/js/wpmu-vnav.min.js
DELETED
@@ -1,4 +0,0 @@
|
|
1 |
-
/*! WPMU Dev code library - v1.1.1
|
2 |
-
* http://premium.wpmudev.org/
|
3 |
-
* Copyright (c) 2014; * Licensed GPLv2+ */
|
4 |
-
jQuery(function(){var t=jQuery(".vnav"),e=jQuery("input[name=_wp_http_referer]");if(t.length){var i,s,n,o,a,r,c,l=0,h=jQuery(window),u=t.html(),d=u.split("<h3>"),p=window.location.hash.replace(/^#/,""),f=p.length?"":" active";for(u='<ul class="lst-vnav">',i=0;d.length>i;i+=1)s=d[i],n=s.split("</h3>"),2===n.length&&n[0].length&&("-"===n[0]?u+='<li class="lst-vnav-sep"></li>':(c=n[0].toLowerCase().replace(/\W\W*/g," ").replace(/^\s|\s$/g,"").replace(/\s/g,"-"),p.length&&p===c&&(f=" active"),o='<h3 data-key="'+c+'">'+n[0]+"</h3>",a='<div class="data">'+n[1]+"</div>",u+='<li class="lst-vnav-item'+f+'">'+o+a+"</li>",f=""));u+="</ul>",t.html(u),r=jQuery(".lst-vnav",t).first(),t.find(".lst-vnav-item > .data > table").each(function(){var t=jQuery(this),e=t.find("> tbody > tr > th, > tr > th"),i=e.filter(":empty");e.length===i.length&&e.remove()});var m=function m(){var t=jQuery(this),i=t.parents(".lst-vnav-item").first(),s=jQuery(".lst-vnav-item.active",r),n=t.data("key"),o="";window.location.hash=n,e.each(function(){var t=jQuery(this);o=t.val().split("#").shift(),o+="#"+n,t.val(o)}),s.removeClass("active"),i.addClass("active"),g()},g=function g(){var t=jQuery(".lst-vnav-item.active",r),e=jQuery("> .data",t).first(),i=e.outerHeight();l||(l=r.outerHeight()),r.css({"min-height":i+"px"}),e.css({"min-height":l+"px"})},v=function v(t){r.hasClass("open")?y(t):w(t)},w=function w(){r.addClass("open")},y=function y(){r.removeClass("open")};t.on("click","h3",m),t.on("click","h3",v),h.resize(g),h.resize(y),window.setTimeout(function(){jQuery(".active h3",t).click()},50)}});
|
|
|
|
|
|
|
|
inc/external/wpmu-lib/view/list.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Code-snippet for WordPress plugin list.
|
4 |
-
* Used in function
|
5 |
*
|
6 |
* @since 1.1.0
|
7 |
*
|
@@ -46,21 +46,23 @@ $current = 'current';
|
|
46 |
<div class="wp-list-table widefat wpmui-list-table">
|
47 |
<div class="the-list wpmui-list">
|
48 |
<?php foreach ( $items as $item ) :
|
49 |
-
|
50 |
-
$item->action =
|
51 |
-
$item->details =
|
52 |
|
53 |
$item_class = $item->active ? 'active' : '';
|
54 |
$item_class .= ' ' . $item->class;
|
55 |
?>
|
56 |
<div class="list-card <?php echo esc_attr( $item_class ); ?>">
|
57 |
<div class="list-card-top">
|
58 |
-
<span class="badge-
|
59 |
-
|
|
|
|
|
60 |
</span>
|
61 |
<div class="item-icon"><?php echo '' . $item->icon; ?></div>
|
62 |
<div class="name">
|
63 |
-
<h4 class="toggle-details is-no-detail">
|
64 |
<?php echo esc_html( $item->title ); ?>
|
65 |
</h4>
|
66 |
<h4 class="is-detail">
|
@@ -71,13 +73,11 @@ $current = 'current';
|
|
71 |
<?php echo '' . $item->description; ?>
|
72 |
</div>
|
73 |
<div class="action-links">
|
74 |
-
<span class="toggle-details toggle-link is-detail">
|
75 |
-
<div><?php echo esc_html( $lang->close_details ); ?></div>
|
76 |
-
<div class="space"></div>
|
77 |
</span>
|
78 |
<?php
|
79 |
foreach ( $item->action as $action ) {
|
80 |
-
|
81 |
}
|
82 |
?>
|
83 |
</div>
|
@@ -91,7 +91,7 @@ $current = 'current';
|
|
91 |
$detail['ajax_data']['_is_detail'] = true;
|
92 |
}
|
93 |
}
|
94 |
-
|
95 |
}
|
96 |
?>
|
97 |
</div>
|
@@ -101,12 +101,14 @@ $current = 'current';
|
|
101 |
<span class="list-card-footer is-no-detail">
|
102 |
<?php echo '' . $item->footer; ?>
|
103 |
</span>
|
|
|
104 |
<span class="toggle-details toggle-link is-no-detail">
|
105 |
<?php echo esc_html( $lang->show_details ); ?>
|
106 |
</span>
|
107 |
<span class="toggle-details toggle-link is-detail">
|
108 |
<?php echo esc_html( $lang->close_details ); ?>
|
109 |
</span>
|
|
|
110 |
</div>
|
111 |
</div>
|
112 |
<?php endforeach; ?>
|
1 |
<?php
|
2 |
/**
|
3 |
* Code-snippet for WordPress plugin list.
|
4 |
+
* Used in function lib2()->html->plugin_list()
|
5 |
*
|
6 |
* @since 1.1.0
|
7 |
*
|
46 |
<div class="wp-list-table widefat wpmui-list-table">
|
47 |
<div class="the-list wpmui-list">
|
48 |
<?php foreach ( $items as $item ) :
|
49 |
+
self::$core->array->equip( $item, $item_fields );
|
50 |
+
$item->action = self::$core->array->get( $item->action );
|
51 |
+
$item->details = self::$core->array->get( $item->details );
|
52 |
|
53 |
$item_class = $item->active ? 'active' : '';
|
54 |
$item_class .= ' ' . $item->class;
|
55 |
?>
|
56 |
<div class="list-card <?php echo esc_attr( $item_class ); ?>">
|
57 |
<div class="list-card-top">
|
58 |
+
<span class="badge-container">
|
59 |
+
<span class="badge-active">
|
60 |
+
<?php echo esc_html( $lang->active_badge ); ?>
|
61 |
+
</span>
|
62 |
</span>
|
63 |
<div class="item-icon"><?php echo '' . $item->icon; ?></div>
|
64 |
<div class="name">
|
65 |
+
<h4 class="<?php if ( $item->details ) : ?>toggle-details<?php endif; ?> is-no-detail">
|
66 |
<?php echo esc_html( $item->title ); ?>
|
67 |
</h4>
|
68 |
<h4 class="is-detail">
|
73 |
<?php echo '' . $item->description; ?>
|
74 |
</div>
|
75 |
<div class="action-links">
|
76 |
+
<span class="toggle-details toggle-link is-detail close-button">
|
|
|
|
|
77 |
</span>
|
78 |
<?php
|
79 |
foreach ( $item->action as $action ) {
|
80 |
+
self::$core->html->element( $action );
|
81 |
}
|
82 |
?>
|
83 |
</div>
|
91 |
$detail['ajax_data']['_is_detail'] = true;
|
92 |
}
|
93 |
}
|
94 |
+
self::$core->html->element( $detail );
|
95 |
}
|
96 |
?>
|
97 |
</div>
|
101 |
<span class="list-card-footer is-no-detail">
|
102 |
<?php echo '' . $item->footer; ?>
|
103 |
</span>
|
104 |
+
<?php if ( $item->details ) : ?>
|
105 |
<span class="toggle-details toggle-link is-no-detail">
|
106 |
<?php echo esc_html( $lang->show_details ); ?>
|
107 |
</span>
|
108 |
<span class="toggle-details toggle-link is-detail">
|
109 |
<?php echo esc_html( $lang->close_details ); ?>
|
110 |
</span>
|
111 |
+
<?php endif; ?>
|
112 |
</div>
|
113 |
</div>
|
114 |
<?php endforeach; ?>
|
inc/external/wpmu-lib/view/pointer.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Code-snippet for WordPress pointers.
|
4 |
-
* Used in function
|
5 |
*
|
6 |
* @since 1.0.0
|
7 |
*
|
@@ -10,36 +10,91 @@
|
|
10 |
* - $html_el
|
11 |
* - $title
|
12 |
* - $body
|
|
|
|
|
|
|
13 |
*/
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
<
|
18 |
-
|
19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
$code = str_replace( array("\r", "\n"), '', $code );
|
|
|
21 |
?>
|
22 |
<script>
|
23 |
jQuery(document).ready(function() {
|
24 |
-
|
25 |
-
jQuery( '
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
content: '<?php echo '' . $code; ?>',
|
27 |
position: {
|
28 |
edge: 'left',
|
29 |
align: 'center'
|
30 |
},
|
31 |
close: function() {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
32 |
jQuery.post( ajaxurl, {
|
33 |
pointer: '<?php echo esc_js( $pointer_id ) ?>',
|
34 |
action: 'dismiss-wp-pointer'
|
35 |
});
|
|
|
36 |
}
|
37 |
}).pointer('open');
|
|
|
|
|
38 |
jQuery( '.wpmui-pointer.prepared' ).each(function() {
|
39 |
var me = jQuery(this),
|
40 |
ptr = me.closest('.wp-pointer');
|
41 |
-
me.removeClass('
|
42 |
-
ptr.addClass('
|
|
|
43 |
});
|
44 |
}
|
45 |
});
|
1 |
<?php
|
2 |
/**
|
3 |
* Code-snippet for WordPress pointers.
|
4 |
+
* Used in function lib2()->html->pointer()
|
5 |
*
|
6 |
* @since 1.0.0
|
7 |
*
|
10 |
* - $html_el
|
11 |
* - $title
|
12 |
* - $body
|
13 |
+
* - $once
|
14 |
+
* - $modal
|
15 |
+
* - $blur
|
16 |
*/
|
17 |
+
|
18 |
+
$class = 'wpmui-pointer prepared';
|
19 |
+
if ( ! empty( $title ) ) {
|
20 |
+
$title = '<h3>' . $title . '</h3>';
|
21 |
+
} else {
|
22 |
+
$title = '';
|
23 |
+
$class .= ' no-title';
|
24 |
+
}
|
25 |
+
|
26 |
+
$code = sprintf(
|
27 |
+
'<div class="%3$s">%1$s<p>%2$s</p></div>',
|
28 |
+
$title,
|
29 |
+
$body,
|
30 |
+
esc_attr( $class )
|
31 |
+
);
|
32 |
+
|
33 |
+
// Remove linebreaks to avoid JS errors
|
34 |
$code = str_replace( array("\r", "\n"), '', $code );
|
35 |
+
|
36 |
?>
|
37 |
<script>
|
38 |
jQuery(document).ready(function() {
|
39 |
+
var wpcontent = jQuery( '#wpbody' ),
|
40 |
+
body = jQuery( 'body' );
|
41 |
+
|
42 |
+
if ( jQuery().pointer !== undefined ) {
|
43 |
+
var target = jQuery( '<?php echo '' . $html_el; ?>' );
|
44 |
+
if ( ! target.length ) { return; }
|
45 |
+
target = target.first();
|
46 |
+
|
47 |
+
<?php if ( $blur ) : ?>
|
48 |
+
wpcontent.addClass( 'wpmui-blur' );
|
49 |
+
<?php else : ?>
|
50 |
+
body.addClass( 'no-blur' );
|
51 |
+
<?php endif; ?>
|
52 |
+
|
53 |
+
<?php if ( $modal ) : ?>
|
54 |
+
var modal = wpmUi._make_modal( 'light' );
|
55 |
+
if ( undefined !== modal ) {
|
56 |
+
modal.on( 'click', function( ev ) {
|
57 |
+
target.pointer( 'close' );
|
58 |
+
});
|
59 |
+
} else {
|
60 |
+
wpmUi._close_modal();
|
61 |
+
}
|
62 |
+
<?php endif; ?>
|
63 |
+
|
64 |
+
// Insert the pointer HTML code
|
65 |
+
target.pointer({
|
66 |
content: '<?php echo '' . $code; ?>',
|
67 |
position: {
|
68 |
edge: 'left',
|
69 |
align: 'center'
|
70 |
},
|
71 |
close: function() {
|
72 |
+
<?php if ( $blur ) : ?>
|
73 |
+
wpcontent.removeClass( 'wpmui-blur' );
|
74 |
+
<?php else : ?>
|
75 |
+
body.removeClass( 'no-blur' );
|
76 |
+
<?php endif; ?>
|
77 |
+
|
78 |
+
<?php if ( $modal ) : ?>
|
79 |
+
wpmUi._close_modal();
|
80 |
+
<?php endif; ?>
|
81 |
+
|
82 |
+
<?php if ( $once ) : ?>
|
83 |
jQuery.post( ajaxurl, {
|
84 |
pointer: '<?php echo esc_js( $pointer_id ) ?>',
|
85 |
action: 'dismiss-wp-pointer'
|
86 |
});
|
87 |
+
<?php endif; ?>
|
88 |
}
|
89 |
}).pointer('open');
|
90 |
+
|
91 |
+
// Modify the default pointer style
|
92 |
jQuery( '.wpmui-pointer.prepared' ).each(function() {
|
93 |
var me = jQuery(this),
|
94 |
ptr = me.closest('.wp-pointer');
|
95 |
+
me.removeClass('prepared');
|
96 |
+
ptr.addClass( me.attr( 'class' ) );
|
97 |
+
me.removeClass('wpmui-pointer');
|
98 |
});
|
99 |
}
|
100 |
});
|
inc/rules/class-popup-rule-popup.php
CHANGED
@@ -87,14 +87,17 @@ class IncPopupRule_Popup extends IncPopupRule {
|
|
87 |
* Update and return the $settings array to save the form values.
|
88 |
*
|
89 |
* @since 4.6
|
|
|
90 |
* @return mixed Data collection of this rule.
|
91 |
*/
|
92 |
-
protected function save_count() {
|
93 |
-
$
|
|
|
|
|
94 |
if ( $count < 1 ) { $count = 1; }
|
95 |
return $count;
|
96 |
}
|
97 |
|
98 |
};
|
99 |
|
100 |
-
IncPopupRules::register( 'IncPopupRule_Popup' );
|
87 |
* Update and return the $settings array to save the form values.
|
88 |
*
|
89 |
* @since 4.6
|
90 |
+
* @param array $data The contents of $_POST['po_rule_data'].
|
91 |
* @return mixed Data collection of this rule.
|
92 |
*/
|
93 |
+
protected function save_count( $data ) {
|
94 |
+
lib2()->array->equip( $data, 'count' );
|
95 |
+
|
96 |
+
$count = absint( $data['count'] );
|
97 |
if ( $count < 1 ) { $count = 1; }
|
98 |
return $count;
|
99 |
}
|
100 |
|
101 |
};
|
102 |
|
103 |
+
IncPopupRules::register( 'IncPopupRule_Popup' );
|
inc/rules/class-popup-rule-protectedcontent.php
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/*
|
3 |
+
Name: Membership 2
|
4 |
+
Plugin URI: http://premium.wpmudev.org/project/the-pop-over-plugin/
|
5 |
+
Description: Conditions based on the users Membership2 subscriptions. (Former "Protected Content") <a href="http://premium.wpmudev.org/project/membership/" target="_blank">Learn more »</a>
|
6 |
+
Author: Philipp Stracker
|
7 |
+
Author URI: http://premium.wpmudev.org
|
8 |
+
Type: Rule
|
9 |
+
Rules: For Members (Membership 2), For Non-Members (Membership 2)
|
10 |
+
Limit: pro
|
11 |
+
Version: 1.0
|
12 |
+
|
13 |
+
NOTE: DON'T RENAME THIS FILE!!
|
14 |
+
This filename is saved as metadata with each popup that uses these rules.
|
15 |
+
Renaming the file will DISABLE the rules, which is very bad!
|
16 |
+
|
17 |
+
This rule is called PROTECTED CONTENT but it actually handles the MEMBERSHIP 2
|
18 |
+
integration since the plugin was re-branded as M2.
|
19 |
+
*/
|
inc/rules/class-popup-rule-referrer.php
CHANGED
@@ -29,7 +29,7 @@ class IncPopupRule_Referrer extends IncPopupRule {
|
|
29 |
'referrer',
|
30 |
__( 'From a specific referrer', PO_LANG ),
|
31 |
__( 'Shows the PopUp if the user arrived via a specific referrer.', PO_LANG ),
|
32 |
-
'',
|
33 |
15
|
34 |
);
|
35 |
|
@@ -38,7 +38,7 @@ class IncPopupRule_Referrer extends IncPopupRule {
|
|
38 |
'no_referrer',
|
39 |
__( 'Not from a specific referrer', PO_LANG ),
|
40 |
__( 'Hides the PopUp if the user arrived via a specific referrer.', PO_LANG ),
|
41 |
-
'',
|
42 |
15
|
43 |
);
|
44 |
|
@@ -106,10 +106,12 @@ class IncPopupRule_Referrer extends IncPopupRule {
|
|
106 |
* Update and return the $settings array to save the form values.
|
107 |
*
|
108 |
* @since 4.6
|
|
|
109 |
* @return mixed Data collection of this rule.
|
110 |
*/
|
111 |
-
protected function save_referrer() {
|
112 |
-
|
|
|
113 |
}
|
114 |
|
115 |
|
@@ -156,10 +158,12 @@ class IncPopupRule_Referrer extends IncPopupRule {
|
|
156 |
* Update and return the $settings array to save the form values.
|
157 |
*
|
158 |
* @since 4.6
|
|
|
159 |
* @return mixed Data collection of this rule.
|
160 |
*/
|
161 |
-
protected function save_no_referrer() {
|
162 |
-
|
|
|
163 |
}
|
164 |
|
165 |
|
@@ -180,9 +184,15 @@ class IncPopupRule_Referrer extends IncPopupRule {
|
|
180 |
* @return bool Decission to display popup or not.
|
181 |
*/
|
182 |
protected function apply_no_internal( $data ) {
|
183 |
-
|
|
|
|
|
|
|
|
|
|
|
184 |
|
185 |
-
|
|
|
186 |
}
|
187 |
|
188 |
|
@@ -243,6 +253,7 @@ class IncPopupRule_Referrer extends IncPopupRule {
|
|
243 |
}
|
244 |
}
|
245 |
}
|
|
|
246 |
return $response;
|
247 |
}
|
248 |
|
@@ -303,7 +314,7 @@ class IncPopupRule_Referrer extends IncPopupRule {
|
|
303 |
|
304 |
foreach ( explode( '&', $qs ) as $keyval ) {
|
305 |
$kv = explode( '=', $keyval );
|
306 |
-
if ( count( $kv )
|
307 |
$qget[ trim( $kv[0] ) ] = trim( $kv[1] );
|
308 |
}
|
309 |
}
|
@@ -323,9 +334,14 @@ class IncPopupRule_Referrer extends IncPopupRule {
|
|
323 |
*/
|
324 |
public function get_referrer() {
|
325 |
$referrer = '';
|
|
|
|
|
|
|
|
|
326 |
if ( isset( $_REQUEST['thereferrer'] ) ) {
|
327 |
$referrer = $_REQUEST['thereferrer'];
|
328 |
-
} else if ( isset( $_SERVER['HTTP_REFERER'] ) ) {
|
|
|
329 |
$referrer = $_SERVER['HTTP_REFERER'];
|
330 |
}
|
331 |
|
@@ -335,4 +351,4 @@ class IncPopupRule_Referrer extends IncPopupRule {
|
|
335 |
|
336 |
};
|
337 |
|
338 |
-
IncPopupRules::register( 'IncPopupRule_Referrer' );
|
29 |
'referrer',
|
30 |
__( 'From a specific referrer', PO_LANG ),
|
31 |
__( 'Shows the PopUp if the user arrived via a specific referrer.', PO_LANG ),
|
32 |
+
'no_referrer',
|
33 |
15
|
34 |
);
|
35 |
|
38 |
'no_referrer',
|
39 |
__( 'Not from a specific referrer', PO_LANG ),
|
40 |
__( 'Hides the PopUp if the user arrived via a specific referrer.', PO_LANG ),
|
41 |
+
'referrer',
|
42 |
15
|
43 |
);
|
44 |
|
106 |
* Update and return the $settings array to save the form values.
|
107 |
*
|
108 |
* @since 4.6
|
109 |
+
* @param array $data The contents of $_POST['po_rule_data'].
|
110 |
* @return mixed Data collection of this rule.
|
111 |
*/
|
112 |
+
protected function save_referrer( $data ) {
|
113 |
+
lib2()->array->equip( $data, 'referrer' );
|
114 |
+
return explode( "\n", $data['referrer'] );
|
115 |
}
|
116 |
|
117 |
|
158 |
* Update and return the $settings array to save the form values.
|
159 |
*
|
160 |
* @since 4.6
|
161 |
+
* @param array $data The contents of $_POST['po_rule_data'].
|
162 |
* @return mixed Data collection of this rule.
|
163 |
*/
|
164 |
+
protected function save_no_referrer( $data ) {
|
165 |
+
lib2()->array->equip( $data, 'no_referrer' );
|
166 |
+
return explode( "\n", $data['no_referrer'] );
|
167 |
}
|
168 |
|
169 |
|
184 |
* @return bool Decission to display popup or not.
|
185 |
*/
|
186 |
protected function apply_no_internal( $data ) {
|
187 |
+
if ( ! empty( $_POST['_po_method_'] ) && 'raw' == $_POST['_po_method_'] ) {
|
188 |
+
// This indicates a form-submit from inside a popup. Naturally the
|
189 |
+
// referrer will always be internal, so ignore this rule here.
|
190 |
+
return true;
|
191 |
+
} else {
|
192 |
+
$internal = preg_replace( '#^https?://#', '', get_option( 'home' ) );
|
193 |
|
194 |
+
return ! $this->test_referrer( $internal );
|
195 |
+
}
|
196 |
}
|
197 |
|
198 |
|
253 |
}
|
254 |
}
|
255 |
}
|
256 |
+
|
257 |
return $response;
|
258 |
}
|
259 |
|
314 |
|
315 |
foreach ( explode( '&', $qs ) as $keyval ) {
|
316 |
$kv = explode( '=', $keyval );
|
317 |
+
if ( 2 == count( $kv ) ) {
|
318 |
$qget[ trim( $kv[0] ) ] = trim( $kv[1] );
|
319 |
}
|
320 |
}
|
334 |
*/
|
335 |
public function get_referrer() {
|
336 |
$referrer = '';
|
337 |
+
|
338 |
+
$is_ajax = (defined( 'DOING_AJAX' ) && DOING_AJAX)
|
339 |
+
|| ( ! empty( $_POST['_po_method_'] ) && 'raw' == $_POST['_po_method_'] );
|
340 |
+
|
341 |
if ( isset( $_REQUEST['thereferrer'] ) ) {
|
342 |
$referrer = $_REQUEST['thereferrer'];
|
343 |
+
} else if ( ! $is_ajax && isset( $_SERVER['HTTP_REFERER'] ) ) {
|
344 |
+
// When doing Ajax request we NEVER use the HTTP_REFERER!
|
345 |
$referrer = $_SERVER['HTTP_REFERER'];
|
346 |
}
|
347 |
|
351 |
|
352 |
};
|
353 |
|
354 |
+
IncPopupRules::register( 'IncPopupRule_Referrer' );
|
inc/rules/class-popup-rule-url.php
CHANGED
@@ -95,10 +95,12 @@ class IncPopupRule_Url extends IncPopupRule {
|
|
95 |
* Update and return the $settings array to save the form values.
|
96 |
*
|
97 |
* @since 4.6
|
|
|
98 |
* @return mixed Data collection of this rule.
|
99 |
*/
|
100 |
-
protected function save_url() {
|
101 |
-
|
|
|
102 |
}
|
103 |
|
104 |
|
@@ -153,10 +155,12 @@ class IncPopupRule_Url extends IncPopupRule {
|
|
153 |
* Update and return the $settings array to save the form values.
|
154 |
*
|
155 |
* @since 4.6
|
|
|
156 |
* @return mixed Data collection of this rule.
|
157 |
*/
|
158 |
-
protected function save_no_url() {
|
159 |
-
|
|
|
160 |
}
|
161 |
|
162 |
|
@@ -203,7 +207,7 @@ class IncPopupRule_Url extends IncPopupRule {
|
|
203 |
$current_url = '';
|
204 |
|
205 |
if ( empty( $_REQUEST['thefrom'] ) ) {
|
206 |
-
$current_url =
|
207 |
} else {
|
208 |
$current_url = strtok( $_REQUEST['thefrom'], '#' );
|
209 |
}
|
@@ -248,10 +252,9 @@ class IncPopupRule_Url extends IncPopupRule {
|
|
248 |
}
|
249 |
}
|
250 |
|
251 |
-
|
252 |
return $response;
|
253 |
}
|
254 |
|
255 |
};
|
256 |
|
257 |
-
IncPopupRules::register( 'IncPopupRule_Url' );
|
95 |
* Update and return the $settings array to save the form values.
|
96 |
*
|
97 |
* @since 4.6
|
98 |
+
* @param array $data The contents of $_POST['po_rule_data'].
|
99 |
* @return mixed Data collection of this rule.
|
100 |
*/
|
101 |
+
protected function save_url( $data ) {
|
102 |
+
lib2()->array->equip( $data, 'url' );
|
103 |
+
return $this->sanitize_values( $data['url'] );
|
104 |
}
|
105 |
|
106 |
|
155 |
* Update and return the $settings array to save the form values.
|
156 |
*
|
157 |
* @since 4.6
|
158 |
+
* @param array $data The contents of $_POST['po_rule_data'].
|
159 |
* @return mixed Data collection of this rule.
|
160 |
*/
|
161 |
+
protected function save_no_url( $data ) {
|
162 |
+
lib2()->array->equip( $data, 'no_url' );
|
163 |
+
return $this->sanitize_values( $data['no_url'] );
|
164 |
}
|
165 |
|
166 |
|
207 |
$current_url = '';
|
208 |
|
209 |
if ( empty( $_REQUEST['thefrom'] ) ) {
|
210 |
+
$current_url = lib2()->net->current_url();
|
211 |
} else {
|
212 |
$current_url = strtok( $_REQUEST['thefrom'], '#' );
|
213 |
}
|
252 |
}
|
253 |
}
|
254 |
|
|
|
255 |
return $response;
|
256 |
}
|
257 |
|
258 |
};
|
259 |
|
260 |
+
IncPopupRules::register( 'IncPopupRule_Url' );
|
js/ace.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
-
/*! PopUp Free - v4.7.
|
2 |
* https://wordpress.org/plugins/wordpress-popup/
|
3 |
-
* Copyright (c)
|
4 |
/**
|
5 |
* Define a module along with a payload
|
6 |
* @param module a name for the payload
|
1 |
+
/*! PopUp Free - v4.7.09
|
2 |
* https://wordpress.org/plugins/wordpress-popup/
|
3 |
+
* Copyright (c) 2015; * Licensed GPLv2+ */
|
4 |
/**
|
5 |
* Define a module along with a payload
|
6 |
* @param module a name for the payload
|
js/ace.min.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
-
/*! PopUp Free - v4.7.
|
2 |
* https://wordpress.org/plugins/wordpress-popup/
|
3 |
-
* Copyright (c)
|
4 |
(function(){function e(e){var t=function(e,t){return s("",e,t)},r=i;e&&(i[e]||(i[e]={}),r=i[e]),r.define&&r.define.packaged||(n.original=r.define,r.define=n,r.define.packaged=!0),r.require&&r.require.packaged||(s.original=r.require,r.require=t,r.require.packaged=!0)}var t="ace",i=function(){return this}();if(t||"undefined"==typeof requirejs){var n=function(e,t,i){return"string"!=typeof e?(n.original?n.original.apply(window,arguments):(console.error("dropping module because define wasn't a string."),console.trace()),void 0):(2==arguments.length&&(i=t),n.modules||(n.modules={},n.payloads={}),n.payloads[e]=i,n.modules[e]=null,void 0)},s=function(e,t,i){if("[object Array]"===Object.prototype.toString.call(t)){for(var n=[],r=0,a=t.length;a>r;++r){var l=o(e,t[r]);if(!l&&s.original)return s.original.apply(window,arguments);n.push(l)}i&&i.apply(null,n)}else{if("string"==typeof t){var h=o(e,t);return!h&&s.original?s.original.apply(window,arguments):(i&&i(),h)}if(s.original)return s.original.apply(window,arguments)}},r=function(e,t){if(-1!==t.indexOf("!")){var i=t.split("!");return r(e,i[0])+"!"+r(e,i[1])}if("."==t.charAt(0)){var n=e.split("/").slice(0,-1).join("/");for(t=n+"/"+t;-1!==t.indexOf(".")&&s!=t;){var s=t;t=t.replace(/\/\.\//,"/").replace(/[^\/]+\/\.\.\//,"")}}return t},o=function(e,t){t=r(e,t);var i=n.modules[t];if(!i){if(i=n.payloads[t],"function"==typeof i){var o={},a={id:t,uri:"",exports:o,packaged:!0},l=function(e,i){return s(t,e,i)},h=i(l,o,a);o=h||a.exports,n.modules[t]=o,delete n.payloads[t]}i=n.modules[t]=o||i}return i};e(t)}})(),ace.define("ace/lib/regexp",["require","exports","module"],function(){"use strict";function e(e){return(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.extended?"x":"")+(e.sticky?"y":"")}function t(e,t,i){if(Array.prototype.indexOf)return e.indexOf(t,i);for(var n=i||0;e.length>n;n++)if(e[n]===t)return n;return-1}var i={exec:RegExp.prototype.exec,test:RegExp.prototype.test,match:String.prototype.match,replace:String.prototype.replace,split:String.prototype.split},n=void 0===i.exec.call(/()??/,"")[1],s=function(){var e=/^/g;return i.test.call(e,""),!e.lastIndex}();s&&n||(RegExp.prototype.exec=function(r){var o,a,l=i.exec.apply(this,arguments);if("string"==typeof r&&l){if(!n&&l.length>1&&t(l,"")>-1&&(a=RegExp(this.source,i.replace.call(e(this),"g","")),i.replace.call(r.slice(l.index),a,function(){for(var e=1;arguments.length-2>e;e++)void 0===arguments[e]&&(l[e]=void 0)})),this._xregexp&&this._xregexp.captureNames)for(var h=1;l.length>h;h++)o=this._xregexp.captureNames[h-1],o&&(l[o]=l[h]);!s&&this.global&&!l[0].length&&this.lastIndex>l.index&&this.lastIndex--}return l},s||(RegExp.prototype.test=function(e){var t=i.exec.call(this,e);return t&&this.global&&!t[0].length&&this.lastIndex>t.index&&this.lastIndex--,!!t}))}),ace.define("ace/lib/es5-shim",["require","exports","module"],function(){function e(){}function t(e){try{return Object.defineProperty(e,"sentinel",{}),"sentinel"in e}catch(t){}}function i(e){return e=+e,e!==e?e=0:0!==e&&e!==1/0&&e!==-(1/0)&&(e=(e>0||-1)*Math.floor(Math.abs(e))),e}Function.prototype.bind||(Function.prototype.bind=function(t){var i=this;if("function"!=typeof i)throw new TypeError("Function.prototype.bind called on incompatible "+i);var n=u.call(arguments,1),s=function(){if(this instanceof s){var e=i.apply(this,n.concat(u.call(arguments)));return Object(e)===e?e:this}return i.apply(t,n.concat(u.call(arguments)))};return i.prototype&&(e.prototype=i.prototype,s.prototype=new e,e.prototype=null),s});var n,s,r,o,a,l=Function.prototype.call,h=Array.prototype,c=Object.prototype,u=h.slice,d=l.bind(c.toString),g=l.bind(c.hasOwnProperty);if((a=g(c,"__defineGetter__"))&&(n=l.bind(c.__defineGetter__),s=l.bind(c.__defineSetter__),r=l.bind(c.__lookupGetter__),o=l.bind(c.__lookupSetter__)),2!=[1,2].splice(0).length)if(function(){function e(e){var t=Array(e+2);return t[0]=t[1]=0,t}var t,i=[];return i.splice.apply(i,e(20)),i.splice.apply(i,e(26)),t=i.length,i.splice(5,0,"XXX"),t+1==i.length,t+1==i.length?!0:void 0}()){var f=Array.prototype.splice;Array.prototype.splice=function(e,t){return arguments.length?f.apply(this,[void 0===e?0:e,void 0===t?this.length-e:t].concat(u.call(arguments,2))):[]}}else Array.prototype.splice=function(e,t){var i=this.length;e>0?e>i&&(e=i):void 0==e?e=0:0>e&&(e=Math.max(i+e,0)),i>e+t||(t=i-e);var n=this.slice(e,e+t),s=u.call(arguments,2),r=s.length;if(e===i)r&&this.push.apply(this,s);else{var o=Math.min(t,i-e),a=e+o,l=a+r-o,h=i-a,c=i-o;if(a>l)for(var d=0;h>d;++d)this[l+d]=this[a+d];else if(l>a)for(d=h;d--;)this[l+d]=this[a+d];if(r&&e===c)this.length=c,this.push.apply(this,s);else for(this.length=c+r,d=0;r>d;++d)this[e+d]=s[d]}return n};Array.isArray||(Array.isArray=function(e){return"[object Array]"==d(e)});var m=Object("a"),p="a"!=m[0]||!(0 in m);if(Array.prototype.forEach||(Array.prototype.forEach=function(e){var t=T(this),i=p&&"[object String]"==d(this)?this.split(""):t,n=arguments[1],s=-1,r=i.length>>>0;if("[object Function]"!=d(e))throw new TypeError;for(;r>++s;)s in i&&e.call(n,i[s],s,t)}),Array.prototype.map||(Array.prototype.map=function(e){var t=T(this),i=p&&"[object String]"==d(this)?this.split(""):t,n=i.length>>>0,s=Array(n),r=arguments[1];if("[object Function]"!=d(e))throw new TypeError(e+" is not a function");for(var o=0;n>o;o++)o in i&&(s[o]=e.call(r,i[o],o,t));return s}),Array.prototype.filter||(Array.prototype.filter=function(e){var t,i=T(this),n=p&&"[object String]"==d(this)?this.split(""):i,s=n.length>>>0,r=[],o=arguments[1];if("[object Function]"!=d(e))throw new TypeError(e+" is not a function");for(var a=0;s>a;a++)a in n&&(t=n[a],e.call(o,t,a,i)&&r.push(t));return r}),Array.prototype.every||(Array.prototype.every=function(e){var t=T(this),i=p&&"[object String]"==d(this)?this.split(""):t,n=i.length>>>0,s=arguments[1];if("[object Function]"!=d(e))throw new TypeError(e+" is not a function");for(var r=0;n>r;r++)if(r in i&&!e.call(s,i[r],r,t))return!1;return!0}),Array.prototype.some||(Array.prototype.some=function(e){var t=T(this),i=p&&"[object String]"==d(this)?this.split(""):t,n=i.length>>>0,s=arguments[1];if("[object Function]"!=d(e))throw new TypeError(e+" is not a function");for(var r=0;n>r;r++)if(r in i&&e.call(s,i[r],r,t))return!0;return!1}),Array.prototype.reduce||(Array.prototype.reduce=function(e){var t=T(this),i=p&&"[object String]"==d(this)?this.split(""):t,n=i.length>>>0;if("[object Function]"!=d(e))throw new TypeError(e+" is not a function");if(!n&&1==arguments.length)throw new TypeError("reduce of empty array with no initial value");var s,r=0;if(arguments.length>=2)s=arguments[1];else for(;;){if(r in i){s=i[r++];break}if(++r>=n)throw new TypeError("reduce of empty array with no initial value")}for(;n>r;r++)r in i&&(s=e.call(void 0,s,i[r],r,t));return s}),Array.prototype.reduceRight||(Array.prototype.reduceRight=function(e){var t=T(this),i=p&&"[object String]"==d(this)?this.split(""):t,n=i.length>>>0;if("[object Function]"!=d(e))throw new TypeError(e+" is not a function");if(!n&&1==arguments.length)throw new TypeError("reduceRight of empty array with no initial value");var s,r=n-1;if(arguments.length>=2)s=arguments[1];else for(;;){if(r in i){s=i[r--];break}if(0>--r)throw new TypeError("reduceRight of empty array with no initial value")}do r in this&&(s=e.call(void 0,s,i[r],r,t));while(r--);return s}),Array.prototype.indexOf&&-1==[0,1].indexOf(1,2)||(Array.prototype.indexOf=function(e){var t=p&&"[object String]"==d(this)?this.split(""):T(this),n=t.length>>>0;if(!n)return-1;var s=0;for(arguments.length>1&&(s=i(arguments[1])),s=s>=0?s:Math.max(0,n+s);n>s;s++)if(s in t&&t[s]===e)return s;return-1}),Array.prototype.lastIndexOf&&-1==[0,1].lastIndexOf(0,-3)||(Array.prototype.lastIndexOf=function(e){var t=p&&"[object String]"==d(this)?this.split(""):T(this),n=t.length>>>0;if(!n)return-1;var s=n-1;for(arguments.length>1&&(s=Math.min(s,i(arguments[1]))),s=s>=0?s:n-Math.abs(s);s>=0;s--)if(s in t&&e===t[s])return s;return-1}),Object.getPrototypeOf||(Object.getPrototypeOf=function(e){return e.__proto__||(e.constructor?e.constructor.prototype:c)}),!Object.getOwnPropertyDescriptor){var A="Object.getOwnPropertyDescriptor called on a non-object: ";Object.getOwnPropertyDescriptor=function(e,t){if("object"!=typeof e&&"function"!=typeof e||null===e)throw new TypeError(A+e);if(g(e,t)){var i,n,s;if(i={enumerable:!0,configurable:!0},a){var l=e.__proto__;e.__proto__=c;var n=r(e,t),s=o(e,t);if(e.__proto__=l,n||s)return n&&(i.get=n),s&&(i.set=s),i}return i.value=e[t],i}}}if(Object.getOwnPropertyNames||(Object.getOwnPropertyNames=function(e){return Object.keys(e)}),!Object.create){var v;v=null===Object.prototype.__proto__?function(){return{__proto__:null}}:function(){var e={};for(var t in e)e[t]=null;return e.constructor=e.hasOwnProperty=e.propertyIsEnumerable=e.isPrototypeOf=e.toLocaleString=e.toString=e.valueOf=e.__proto__=null,e},Object.create=function(e,t){var i;if(null===e)i=v();else{if("object"!=typeof e)throw new TypeError("typeof prototype["+typeof e+"] != 'object'");var n=function(){};n.prototype=e,i=new n,i.__proto__=e}return void 0!==t&&Object.defineProperties(i,t),i}}if(Object.defineProperty){var C=t({}),F="undefined"==typeof document||t(document.createElement("div"));if(!C||!F)var w=Object.defineProperty}if(!Object.defineProperty||w){var E="Property description must be an object: ",b="Object.defineProperty called on non-object: ",y="getters & setters can not be defined on this javascript engine";Object.defineProperty=function(e,t,i){if("object"!=typeof e&&"function"!=typeof e||null===e)throw new TypeError(b+e);if("object"!=typeof i&&"function"!=typeof i||null===i)throw new TypeError(E+i);if(w)try{return w.call(Object,e,t,i)}catch(l){}if(g(i,"value"))if(a&&(r(e,t)||o(e,t))){var h=e.__proto__;e.__proto__=c,delete e[t],e[t]=i.value,e.__proto__=h}else e[t]=i.value;else{if(!a)throw new TypeError(y);g(i,"get")&&n(e,t,i.get),g(i,"set")&&s(e,t,i.set)}return e}}Object.defineProperties||(Object.defineProperties=function(e,t){for(var i in t)g(t,i)&&Object.defineProperty(e,i,t[i]);return e}),Object.seal||(Object.seal=function(e){return e}),Object.freeze||(Object.freeze=function(e){return e});try{Object.freeze(function(){})}catch($){Object.freeze=function(e){return function(t){return"function"==typeof t?t:e(t)}}(Object.freeze)}if(Object.preventExtensions||(Object.preventExtensions=function(e){return e}),Object.isSealed||(Object.isSealed=function(){return!1}),Object.isFrozen||(Object.isFrozen=function(){return!1}),Object.isExtensible||(Object.isExtensible=function(e){if(Object(e)===e)throw new TypeError;for(var t="";g(e,t);)t+="?";e[t]=!0;var i=g(e,t);return delete e[t],i}),!Object.keys){var B=!0,D=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],S=D.length;for(var k in{toString:null})B=!1;Object.keys=function(e){if("object"!=typeof e&&"function"!=typeof e||null===e)throw new TypeError("Object.keys called on a non-object");var t=[];for(var i in e)g(e,i)&&t.push(i);if(B)for(var n=0,s=S;s>n;n++){var r=D[n];g(e,r)&&t.push(r)}return t}}Date.now||(Date.now=function(){return(new Date).getTime()});var x=" \n\f\r \u2028\u2029";if(!String.prototype.trim||x.trim()){x="["+x+"]";var L=RegExp("^"+x+x+"*"),R=RegExp(x+x+"*$");String.prototype.trim=function(){return(this+"").replace(L,"").replace(R,"")}}var T=function(e){if(null==e)throw new TypeError("can't convert "+e+" to object");return Object(e)}}),ace.define("ace/lib/fixoldbrowsers",["require","exports","module","ace/lib/regexp","ace/lib/es5-shim"],function(e){"use strict";e("./regexp"),e("./es5-shim")}),ace.define("ace/lib/dom",["require","exports","module"],function(e,t){"use strict";if("undefined"!=typeof document){var i="http://www.w3.org/1999/xhtml";t.getDocumentHead=function(e){return e||(e=document),e.head||e.getElementsByTagName("head")[0]||e.documentElement},t.createElement=function(e,t){return document.createElementNS?document.createElementNS(t||i,e):document.createElement(e)},t.hasCssClass=function(e,t){var i=(e.className||"").split(/\s+/g);return-1!==i.indexOf(t)},t.addCssClass=function(e,i){t.hasCssClass(e,i)||(e.className+=" "+i)},t.removeCssClass=function(e,t){for(var i=e.className.split(/\s+/g);;){var n=i.indexOf(t);if(-1==n)break;i.splice(n,1)}e.className=i.join(" ")},t.toggleCssClass=function(e,t){for(var i=e.className.split(/\s+/g),n=!0;;){var s=i.indexOf(t);if(-1==s)break;n=!1,i.splice(s,1)}return n&&i.push(t),e.className=i.join(" "),n},t.setCssClass=function(e,i,n){n?t.addCssClass(e,i):t.removeCssClass(e,i)},t.hasCssString=function(e,t){var i,n=0;if(t=t||document,t.createStyleSheet&&(i=t.styleSheets)){for(;i.length>n;)if(i[n++].owningElement.id===e)return!0}else if(i=t.getElementsByTagName("style"))for(;i.length>n;)if(i[n++].id===e)return!0;return!1},t.importCssString=function(e,n,s){if(s=s||document,n&&t.hasCssString(n,s))return null;var r;s.createStyleSheet?(r=s.createStyleSheet(),r.cssText=e,n&&(r.owningElement.id=n)):(r=s.createElementNS?s.createElementNS(i,"style"):s.createElement("style"),r.appendChild(s.createTextNode(e)),n&&(r.id=n),t.getDocumentHead(s).appendChild(r))},t.importCssStylsheet=function(e,i){if(i.createStyleSheet)i.createStyleSheet(e);else{var n=t.createElement("link");n.rel="stylesheet",n.href=e,t.getDocumentHead(i).appendChild(n)}},t.getInnerWidth=function(e){return parseInt(t.computedStyle(e,"paddingLeft"),10)+parseInt(t.computedStyle(e,"paddingRight"),10)+e.clientWidth},t.getInnerHeight=function(e){return parseInt(t.computedStyle(e,"paddingTop"),10)+parseInt(t.computedStyle(e,"paddingBottom"),10)+e.clientHeight},void 0!==window.pageYOffset?(t.getPageScrollTop=function(){return window.pageYOffset},t.getPageScrollLeft=function(){return window.pageXOffset}):(t.getPageScrollTop=function(){return document.body.scrollTop},t.getPageScrollLeft=function(){return document.body.scrollLeft}),t.computedStyle=window.getComputedStyle?function(e,t){return t?(window.getComputedStyle(e,"")||{})[t]||"":window.getComputedStyle(e,"")||{}}:function(e,t){return t?e.currentStyle[t]:e.currentStyle},t.scrollbarWidth=function(e){var i=t.createElement("ace_inner");i.style.width="100%",i.style.minWidth="0px",i.style.height="200px",i.style.display="block";var n=t.createElement("ace_outer"),s=n.style;s.position="absolute",s.left="-10000px",s.overflow="hidden",s.width="200px",s.minWidth="0px",s.height="150px",s.display="block",n.appendChild(i);var r=e.documentElement;r.appendChild(n);var o=i.offsetWidth;s.overflow="scroll";var a=i.offsetWidth;return o==a&&(a=n.clientWidth),r.removeChild(n),o-a},t.setInnerHtml=function(e,t){var i=e.cloneNode(!1);return i.innerHTML=t,e.parentNode.replaceChild(i,e),i},"textContent"in document.documentElement?(t.setInnerText=function(e,t){e.textContent=t},t.getInnerText=function(e){return e.textContent}):(t.setInnerText=function(e,t){e.innerText=t},t.getInnerText=function(e){return e.innerText}),t.getParentWindow=function(e){return e.defaultView||e.parentWindow}}}),ace.define("ace/lib/oop",["require","exports","module"],function(e,t){"use strict";t.inherits=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})},t.mixin=function(e,t){for(var i in t)e[i]=t[i];return e},t.implement=function(e,i){t.mixin(e,i)}}),ace.define("ace/lib/keys",["require","exports","module","ace/lib/fixoldbrowsers","ace/lib/oop"],function(e,t){"use strict";e("./fixoldbrowsers");var i=e("./oop"),n=function(){var e,t,n={MODIFIER_KEYS:{16:"Shift",17:"Ctrl",18:"Alt",224:"Meta"},KEY_MODS:{ctrl:1,alt:2,option:2,shift:4,"super":8,meta:8,command:8,cmd:8},FUNCTION_KEYS:{8:"Backspace",9:"Tab",13:"Return",19:"Pause",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"Print",45:"Insert",46:"Delete",96:"Numpad0",97:"Numpad1",98:"Numpad2",99:"Numpad3",100:"Numpad4",101:"Numpad5",102:"Numpad6",103:"Numpad7",104:"Numpad8",105:"Numpad9","-13":"NumpadEnter",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"Numlock",145:"Scrolllock"},PRINTABLE_KEYS:{32:" ",48:"0",49:"1",50:"2",51:"3",52:"4",53:"5",54:"6",55:"7",56:"8",57:"9",59:";",61:"=",65:"a",66:"b",67:"c",68:"d",69:"e",70:"f",71:"g",72:"h",73:"i",74:"j",75:"k",76:"l",77:"m",78:"n",79:"o",80:"p",81:"q",82:"r",83:"s",84:"t",85:"u",86:"v",87:"w",88:"x",89:"y",90:"z",107:"+",109:"-",110:".",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"}};for(t in n.FUNCTION_KEYS)e=n.FUNCTION_KEYS[t].toLowerCase(),n[e]=parseInt(t,10);for(t in n.PRINTABLE_KEYS)e=n.PRINTABLE_KEYS[t].toLowerCase(),n[e]=parseInt(t,10);return i.mixin(n,n.MODIFIER_KEYS),i.mixin(n,n.PRINTABLE_KEYS),i.mixin(n,n.FUNCTION_KEYS),n.enter=n["return"],n.escape=n.esc,n.del=n["delete"],n[173]="-",function(){for(var e=["cmd","ctrl","alt","shift"],t=Math.pow(2,e.length);t--;)n.KEY_MODS[t]=e.filter(function(e){return t&n.KEY_MODS[e]}).join("-")+"-"}(),n.KEY_MODS[0]="",n.KEY_MODS[-1]="input",n}();i.mixin(t,n),t.keyCodeToString=function(e){var t=n[e];return"string"!=typeof t&&(t=String.fromCharCode(e)),t.toLowerCase()}}),ace.define("ace/lib/useragent",["require","exports","module"],function(e,t){"use strict";if(t.OS={LINUX:"LINUX",MAC:"MAC",WINDOWS:"WINDOWS"},t.getOS=function(){return t.isMac?t.OS.MAC:t.isLinux?t.OS.LINUX:t.OS.WINDOWS},"object"==typeof navigator){var i=(navigator.platform.match(/mac|win|linux/i)||["other"])[0].toLowerCase(),n=navigator.userAgent;t.isWin="win"==i,t.isMac="mac"==i,t.isLinux="linux"==i,t.isIE="Microsoft Internet Explorer"==navigator.appName||navigator.appName.indexOf("MSAppHost")>=0?parseFloat((n.match(/(?:MSIE |Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]):parseFloat((n.match(/(?:Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]),t.isOldIE=t.isIE&&9>t.isIE,t.isGecko=t.isMozilla=(window.Controllers||window.controllers)&&"Gecko"===window.navigator.product,t.isOldGecko=t.isGecko&&4>parseInt((n.match(/rv\:(\d+)/)||[])[1],10),t.isOpera=window.opera&&"[object Opera]"==Object.prototype.toString.call(window.opera),t.isWebKit=parseFloat(n.split("WebKit/")[1])||void 0,t.isChrome=parseFloat(n.split(" Chrome/")[1])||void 0,t.isAIR=n.indexOf("AdobeAIR")>=0,t.isIPad=n.indexOf("iPad")>=0,t.isTouchPad=n.indexOf("TouchPad")>=0,t.isChromeOS=n.indexOf(" CrOS ")>=0}}),ace.define("ace/lib/event",["require","exports","module","ace/lib/keys","ace/lib/useragent"],function(e,t){"use strict";function i(e,t,i){var l=r(t);if(!s.isMac&&o){if((o[91]||o[92])&&(l|=8),o.altGr){if(3==(3&l))return;o.altGr=0}if(18===i||17===i){var h="location"in t?t.location:t.keyLocation;if(17===i&&1===h)a=t.timeStamp;else if(18===i&&3===l&&2===h){var c=-a;a=t.timeStamp,c+=a,3>c&&(o.altGr=!0)}}}if(i in n.MODIFIER_KEYS){switch(n.MODIFIER_KEYS[i]){case"Alt":l=2;break;case"Shift":l=4;break;case"Ctrl":l=1;break;default:l=8}i=-1}if(8&l&&(91===i||93===i)&&(i=-1),!l&&13===i){var h="location"in t?t.location:t.keyLocation;if(3===h&&(e(t,l,-i),t.defaultPrevented))return}if(s.isChromeOS&&8&l){if(e(t,l,i),t.defaultPrevented)return;l&=-9}return l||i in n.FUNCTION_KEYS||i in n.PRINTABLE_KEYS?e(t,l,i):!1}var n=e("./keys"),s=e("./useragent");t.addListener=function(e,t,i){if(e.addEventListener)return e.addEventListener(t,i,!1);if(e.attachEvent){var n=function(){i.call(e,window.event)};i._wrapper=n,e.attachEvent("on"+t,n)}},t.removeListener=function(e,t,i){return e.removeEventListener?e.removeEventListener(t,i,!1):(e.detachEvent&&e.detachEvent("on"+t,i._wrapper||i),void 0)},t.stopEvent=function(e){return t.stopPropagation(e),t.preventDefault(e),!1},t.stopPropagation=function(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0},t.preventDefault=function(e){e.preventDefault?e.preventDefault():e.returnValue=!1},t.getButton=function(e){return"dblclick"==e.type?0:"contextmenu"==e.type||s.isMac&&e.ctrlKey&&!e.altKey&&!e.shiftKey?2:e.preventDefault?e.button:{1:0,2:2,4:1}[e.button]},t.capture=function(e,i,n){function s(e){i&&i(e),n&&n(e),t.removeListener(document,"mousemove",i,!0),t.removeListener(document,"mouseup",s,!0),t.removeListener(document,"dragstart",s,!0)}return t.addListener(document,"mousemove",i,!0),t.addListener(document,"mouseup",s,!0),t.addListener(document,"dragstart",s,!0),s},t.addMouseWheelListener=function(e,i){"onmousewheel"in e?t.addListener(e,"mousewheel",function(e){var t=8;void 0!==e.wheelDeltaX?(e.wheelX=-e.wheelDeltaX/t,e.wheelY=-e.wheelDeltaY/t):(e.wheelX=0,e.wheelY=-e.wheelDelta/t),i(e)}):"onwheel"in e?t.addListener(e,"wheel",function(e){var t=.35;switch(e.deltaMode){case e.DOM_DELTA_PIXEL:e.wheelX=e.deltaX*t||0,e.wheelY=e.deltaY*t||0;break;case e.DOM_DELTA_LINE:case e.DOM_DELTA_PAGE:e.wheelX=5*(e.deltaX||0),e.wheelY=5*(e.deltaY||0)}i(e)}):t.addListener(e,"DOMMouseScroll",function(e){e.axis&&e.axis==e.HORIZONTAL_AXIS?(e.wheelX=5*(e.detail||0),e.wheelY=0):(e.wheelX=0,e.wheelY=5*(e.detail||0)),i(e)})},t.addMultiMouseDownListener=function(e,i,n,r){var o,a,l,h=0,c={2:"dblclick",3:"tripleclick",4:"quadclick"};t.addListener(e,"mousedown",function(e){if(0!==t.getButton(e)?h=0:e.detail>1?(h++,h>4&&(h=1)):h=1,s.isIE){var u=Math.abs(e.clientX-o)>5||Math.abs(e.clientY-a)>5;(!l||u)&&(h=1),l&&clearTimeout(l),l=setTimeout(function(){l=null},i[h-1]||600),1==h&&(o=e.clientX,a=e.clientY)}if(e._clicks=h,n[r]("mousedown",e),h>4)h=0;else if(h>1)return n[r](c[h],e)}),s.isOldIE&&t.addListener(e,"dblclick",function(e){h=2,l&&clearTimeout(l),l=setTimeout(function(){l=null},i[h-1]||600),n[r]("mousedown",e),n[r](c[h],e)})};var r=!s.isMac||!s.isOpera||"KeyboardEvent"in window?function(e){return 0|(e.ctrlKey?1:0)|(e.altKey?2:0)|(e.shiftKey?4:0)|(e.metaKey?8:0)}:function(e){return 0|(e.metaKey?1:0)|(e.altKey?2:0)|(e.shiftKey?4:0)|(e.ctrlKey?8:0)};t.getModifierString=function(e){return n.KEY_MODS[r(e)]};var o=null,a=0;if(t.addCommandKeyListener=function(e,n){var r=t.addListener;if(s.isOldGecko||s.isOpera&&!("KeyboardEvent"in window)){var a=null;r(e,"keydown",function(e){a=e.keyCode}),r(e,"keypress",function(e){return i(n,e,a)})}else{var l=null;r(e,"keydown",function(e){o[e.keyCode]=!0;var t=i(n,e,e.keyCode);return l=e.defaultPrevented,t}),r(e,"keypress",function(e){l&&(e.ctrlKey||e.altKey||e.shiftKey||e.metaKey)&&(t.stopEvent(e),l=null)}),r(e,"keyup",function(e){o[e.keyCode]=null}),o||(o=Object.create(null),r(window,"focus",function(){o=Object.create(null)}))}},window.postMessage&&!s.isOldIE){var l=1;t.nextTick=function(e,i){i=i||window;var n="zero-timeout-message-"+l;t.addListener(i,"message",function s(r){r.data==n&&(t.stopPropagation(r),t.removeListener(i,"message",s),e())}),i.postMessage(n,"*")}}t.nextFrame=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame,t.nextFrame=t.nextFrame?t.nextFrame.bind(window):function(e){setTimeout(e,17)}}),ace.define("ace/lib/lang",["require","exports","module"],function(e,t){"use strict";t.last=function(e){return e[e.length-1]},t.stringReverse=function(e){return e.split("").reverse().join("")},t.stringRepeat=function(e,t){for(var i="";t>0;)1&t&&(i+=e),(t>>=1)&&(e+=e);return i};var i=/^\s\s*/,n=/\s\s*$/;t.stringTrimLeft=function(e){return e.replace(i,"")},t.stringTrimRight=function(e){return e.replace(n,"")},t.copyObject=function(e){var t={};for(var i in e)t[i]=e[i];return t},t.copyArray=function(e){for(var t=[],i=0,n=e.length;n>i;i++)t[i]=e[i]&&"object"==typeof e[i]?this.copyObject(e[i]):e[i];return t},t.deepCopy=function(e){if("object"!=typeof e||!e)return e;var i=e.constructor;if(i===RegExp)return e;var n=i();for(var s in e)n[s]="object"==typeof e[s]?t.deepCopy(e[s]):e[s];return n},t.arrayToMap=function(e){for(var t={},i=0;e.length>i;i++)t[e[i]]=1;return t},t.createMap=function(e){var t=Object.create(null);for(var i in e)t[i]=e[i];return t},t.arrayRemove=function(e,t){for(var i=0;e.length>=i;i++)t===e[i]&&e.splice(i,1)},t.escapeRegExp=function(e){return e.replace(/([.*+?^${}()|[\]\/\\])/g,"\\$1")},t.escapeHTML=function(e){return e.replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<")},t.getMatchOffsets=function(e,t){var i=[];return e.replace(t,function(e){i.push({offset:arguments[arguments.length-2],length:e.length})}),i},t.deferredCall=function(e){var t=null,i=function(){t=null,e()},n=function(e){return n.cancel(),t=setTimeout(i,e||0),n};return n.schedule=n,n.call=function(){return this.cancel(),e(),n},n.cancel=function(){return clearTimeout(t),t=null,n},n.isPending=function(){return t},n},t.delayedCall=function(e,t){var i=null,n=function(){i=null,e()},s=function(e){null==i&&(i=setTimeout(n,e||t))};return s.delay=function(e){i&&clearTimeout(i),i=setTimeout(n,e||t)},s.schedule=s,s.call=function(){this.cancel(),e()},s.cancel=function(){i&&clearTimeout(i),i=null},s.isPending=function(){return i},s}}),ace.define("ace/keyboard/textinput",["require","exports","module","ace/lib/event","ace/lib/useragent","ace/lib/dom","ace/lib/lang"],function(e,t){"use strict";var i=e("../lib/event"),n=e("../lib/useragent"),s=e("../lib/dom"),r=e("../lib/lang"),o=18>n.isChrome,a=n.isIE,l=function(e,t){function l(e){if(!m){if(S)t=0,i=e?0:u.value.length-1;else var t=e?2:1,i=2;try{u.setSelectionRange(t,i)}catch(n){}}}function h(){m||(u.value=d,n.isWebKit&&w.schedule())}function c(){clearTimeout(z),z=setTimeout(function(){p&&(u.style.cssText=p,p=""),null==t.renderer.$keepTextAreaAtCursor&&(t.renderer.$keepTextAreaAtCursor=!0,t.renderer.$moveTextAreaToCursor())},n.isOldIE?200:0)}var u=s.createElement("textarea");u.className="ace_text-input",n.isTouchPad&&u.setAttribute("x-palm-disable-auto-cap",!0),u.wrap="off",u.autocorrect="off",u.autocapitalize="off",u.spellcheck=!1,u.style.opacity="0",n.isOldIE&&(u.style.top="-100px"),e.insertBefore(u,e.firstChild);var d="",g=!1,f=!1,m=!1,p="",A=!0;try{var v=document.activeElement===u}catch(C){}i.addListener(u,"blur",function(e){t.onBlur(e),v=!1}),i.addListener(u,"focus",function(e){v=!0,t.onFocus(e),l()}),this.focus=function(){u.focus()},this.blur=function(){u.blur()},this.isFocused=function(){return v};var F=r.delayedCall(function(){v&&l(A)}),w=r.delayedCall(function(){m||(u.value=d,v&&l())});n.isWebKit||t.addEventListener("changeSelection",function(){t.selection.isEmpty()!=A&&(A=!A,F.schedule())}),h(),v&&t.onFocus();var E=function(e){return 0===e.selectionStart&&e.selectionEnd===e.value.length};if(!u.setSelectionRange&&u.createTextRange&&(u.setSelectionRange=function(e,t){var i=this.createTextRange();i.collapse(!0),i.moveStart("character",e),i.moveEnd("character",t),i.select()},E=function(e){try{var t=e.ownerDocument.selection.createRange()}catch(i){}return t&&t.parentElement()==e?t.text==e.value:!1}),n.isOldIE){var b=!1,y=function(e){if(!b){var t=u.value;if(!m&&t&&t!=d){if(e&&t==d[0])return $.schedule();x(t),b=!0,h(),b=!1}}},$=r.delayedCall(y);i.addListener(u,"propertychange",y);var B={13:1,27:1};i.addListener(u,"keyup",function(e){return!m||u.value&&!B[e.keyCode]||setTimeout(P,0),129>(u.value.charCodeAt(0)||0)?$.call():(m?W():I(),void 0)}),i.addListener(u,"keydown",function(){$.schedule(50)})}var D=function(){g?g=!1:E(u)?(t.selectAll(),l()):S&&l(t.selection.isEmpty())},S=null;this.setInputHandler=function(e){S=e},this.getInputHandler=function(){return S};var k=!1,x=function(e){S&&(e=S(e),S=null),f?(l(),e&&t.onPaste(e),f=!1):e==d.charAt(0)?k?t.execCommand("del",{source:"ace"}):t.execCommand("backspace",{source:"ace"}):(e.substring(0,2)==d?e=e.substr(2):e.charAt(0)==d.charAt(0)?e=e.substr(1):e.charAt(e.length-1)==d.charAt(0)&&(e=e.slice(0,-1)),e.charAt(e.length-1)==d.charAt(0)&&(e=e.slice(0,-1)),e&&t.onTextInput(e)),k&&(k=!1)},L=function(){if(!m){var e=u.value;x(e),h()}},R=function(e,t){var i=e.clipboardData||window.clipboardData;if(i&&!o){var n=a?"Text":"text/plain";return t?i.setData(n,t)!==!1:i.getData(n)}},T=function(e,n){var s=t.getCopyText();return s?(R(e,s)?(n?t.onCut():t.onCopy(),i.preventDefault(e)):(g=!0,u.value=s,u.select(),setTimeout(function(){g=!1,h(),l(),n?t.onCut():t.onCopy()})),void 0):i.preventDefault(e)},M=function(e){T(e,!0)},_=function(e){T(e,!1)},O=function(e){var s=R(e);"string"==typeof s?(s&&t.onPaste(s),n.isIE&&setTimeout(l),i.preventDefault(e)):(u.value="",f=!0)};i.addCommandKeyListener(u,t.onCommandKey.bind(t)),i.addListener(u,"select",D),i.addListener(u,"input",L),i.addListener(u,"cut",M),i.addListener(u,"copy",_),i.addListener(u,"paste",O),"oncut"in u&&"oncopy"in u&&"onpaste"in u||i.addListener(e,"keydown",function(e){if((!n.isMac||e.metaKey)&&e.ctrlKey)switch(e.keyCode){case 67:_(e);break;case 86:O(e);break;case 88:M(e)}});var I=function(){m||!t.onCompositionStart||t.$readOnly||(m={},t.onCompositionStart(),setTimeout(W,0),t.on("mousedown",P),t.selection.isEmpty()||(t.insert(""),t.session.markUndoGroup(),t.selection.clearSelection()),t.session.markUndoGroup())},W=function(){if(m&&t.onCompositionUpdate&&!t.$readOnly){var e=u.value.replace(/\x01/g,"");if(m.lastValue!==e&&(t.onCompositionUpdate(e),m.lastValue&&t.undo(),m.lastValue=e,m.lastValue)){var i=t.selection.getRange();t.insert(m.lastValue),t.session.markUndoGroup(),m.range=t.selection.getRange(),t.selection.setRange(i),t.selection.clearSelection()}}},P=function(e){if(t.onCompositionEnd&&!t.$readOnly){var i=m;m=!1;var n=setTimeout(function(){n=null;var e=u.value.replace(/\x01/g,"");m||(e==i.lastValue?h():!i.lastValue&&e&&(h(),x(e)))});S=function(e){return n&&clearTimeout(n),e=e.replace(/\x01/g,""),e==i.lastValue?"":(i.lastValue&&n&&t.undo(),e)},t.onCompositionEnd(),t.removeListener("mousedown",P),"compositionend"==e.type&&i.range&&t.selection.setRange(i.range)}},H=r.delayedCall(W,50);i.addListener(u,"compositionstart",I),n.isGecko?i.addListener(u,"text",function(){H.schedule()}):(i.addListener(u,"keyup",function(){H.schedule()}),i.addListener(u,"keydown",function(){H.schedule()})),i.addListener(u,"compositionend",P),this.getElement=function(){return u},this.setReadOnly=function(e){u.readOnly=e},this.onContextMenu=function(e){k=!0,l(t.selection.isEmpty()),t._emit("nativecontextmenu",{target:t,domEvent:e}),this.moveToMouse(e,!0)},this.moveToMouse=function(e,r){if(r||!n.isOldIE){p||(p=u.style.cssText),u.style.cssText=(r?"z-index:100000;":"")+"height:"+u.style.height+";"+(n.isIE?"opacity:0.1;":"");var o=t.container.getBoundingClientRect(),a=s.computedStyle(t.container),l=o.top+(parseInt(a.borderTopWidth)||0),h=o.left+(parseInt(o.borderLeftWidth)||0),d=o.bottom-l-u.clientHeight-2,g=function(e){u.style.left=e.clientX-h-2+"px",u.style.top=Math.min(e.clientY-l-2,d)+"px"};g(e),"mousedown"==e.type&&(t.renderer.$keepTextAreaAtCursor&&(t.renderer.$keepTextAreaAtCursor=null),n.isWin&&!n.isOldIE&&i.capture(t.container,g,c))}},this.onContextMenuClose=c;var z,N=function(e){t.textInput.onContextMenu(e),c()};i.addListener(t.renderer.scroller,"contextmenu",N),i.addListener(u,"contextmenu",N)};t.TextInput=l}),ace.define("ace/mouse/default_handlers",["require","exports","module","ace/lib/dom","ace/lib/event","ace/lib/useragent"],function(e,t){"use strict";function i(e){e.$clickSelection=null;var t=e.editor;t.setDefaultHandler("mousedown",this.onMouseDown.bind(e)),t.setDefaultHandler("dblclick",this.onDoubleClick.bind(e)),t.setDefaultHandler("tripleclick",this.onTripleClick.bind(e)),t.setDefaultHandler("quadclick",this.onQuadClick.bind(e)),t.setDefaultHandler("mousewheel",this.onMouseWheel.bind(e));var i=["select","startSelect","selectEnd","selectAllEnd","selectByWordsEnd","selectByLinesEnd","dragWait","dragWaitEnd","focusWait"];i.forEach(function(t){e[t]=this[t]},this),e.selectByLines=this.extendSelectionBy.bind(e,"getLineRange"),e.selectByWords=this.extendSelectionBy.bind(e,"getWordRange")}function n(e,t,i,n){return Math.sqrt(Math.pow(i-e,2)+Math.pow(n-t,2))}function s(e,t){if(e.start.row==e.end.row)var i=2*t.column-e.start.column-e.end.column;else if(e.start.row!=e.end.row-1||e.start.column||e.end.column)var i=2*t.row-e.start.row-e.end.row;else var i=t.column-4;return 0>i?{cursor:e.start,anchor:e.end}:{cursor:e.end,anchor:e.start}
|
5 |
}e("../lib/dom"),e("../lib/event"),e("../lib/useragent");var r=0;(function(){this.onMouseDown=function(e){var t=e.inSelection(),i=e.getDocumentPosition();this.mousedownEvent=e;var n=this.editor,s=e.getButton();if(0!==s){var r=n.getSelectionRange(),o=r.isEmpty();return o&&n.selection.moveToPosition(i),n.textInput.onContextMenu(e.domEvent),void 0}return this.mousedownEvent.time=Date.now(),!t||n.isFocused()||(n.focus(),!this.$focusTimout||this.$clickSelection||n.inMultiSelectMode)?(this.captureMouse(e),this.startSelect(i,e.domEvent._clicks>1),e.preventDefault()):(this.setState("focusWait"),this.captureMouse(e),void 0)},this.startSelect=function(e,t){e=e||this.editor.renderer.screenToTextCoordinates(this.x,this.y);var i=this.editor;this.mousedownEvent.getShiftKey()?i.selection.selectToPosition(e):t||i.selection.moveToPosition(e),t||this.select(),i.renderer.scroller.setCapture&&i.renderer.scroller.setCapture(),i.setStyle("ace_selecting"),this.setState("select")},this.select=function(){var e,t=this.editor,i=t.renderer.screenToTextCoordinates(this.x,this.y);if(this.$clickSelection){var n=this.$clickSelection.comparePoint(i);if(-1==n)e=this.$clickSelection.end;else if(1==n)e=this.$clickSelection.start;else{var r=s(this.$clickSelection,i);i=r.cursor,e=r.anchor}t.selection.setSelectionAnchor(e.row,e.column)}t.selection.selectToPosition(i),t.renderer.scrollCursorIntoView()},this.extendSelectionBy=function(e){var t,i=this.editor,n=i.renderer.screenToTextCoordinates(this.x,this.y),r=i.selection[e](n.row,n.column);if(this.$clickSelection){var o=this.$clickSelection.comparePoint(r.start),a=this.$clickSelection.comparePoint(r.end);if(-1==o&&0>=a)t=this.$clickSelection.end,(r.end.row!=n.row||r.end.column!=n.column)&&(n=r.start);else if(1==a&&o>=0)t=this.$clickSelection.start,(r.start.row!=n.row||r.start.column!=n.column)&&(n=r.end);else if(-1==o&&1==a)n=r.end,t=r.start;else{var l=s(this.$clickSelection,n);n=l.cursor,t=l.anchor}i.selection.setSelectionAnchor(t.row,t.column)}i.selection.selectToPosition(n),i.renderer.scrollCursorIntoView()},this.selectEnd=this.selectAllEnd=this.selectByWordsEnd=this.selectByLinesEnd=function(){this.$clickSelection=null,this.editor.unsetStyle("ace_selecting"),this.editor.renderer.scroller.releaseCapture&&this.editor.renderer.scroller.releaseCapture()},this.focusWait=function(){var e=n(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y),t=Date.now();(e>r||t-this.mousedownEvent.time>this.$focusTimout)&&this.startSelect(this.mousedownEvent.getDocumentPosition())},this.onDoubleClick=function(e){var t=e.getDocumentPosition(),i=this.editor,n=i.session,s=n.getBracketRange(t);s?(s.isEmpty()&&(s.start.column--,s.end.column++),this.setState("select")):(s=i.selection.getWordRange(t.row,t.column),this.setState("selectByWords")),this.$clickSelection=s,this.select()},this.onTripleClick=function(e){var t=e.getDocumentPosition(),i=this.editor;this.setState("selectByLines");var n=i.getSelectionRange();n.isMultiLine()&&n.contains(t.row,t.column)?(this.$clickSelection=i.selection.getLineRange(n.start.row),this.$clickSelection.end=i.selection.getLineRange(n.end.row).end):this.$clickSelection=i.selection.getLineRange(t.row),this.select()},this.onQuadClick=function(){var e=this.editor;e.selectAll(),this.$clickSelection=e.getSelectionRange(),this.setState("selectAll")},this.onMouseWheel=function(e){if(!e.getAccelKey()){e.getShiftKey()&&e.wheelY&&!e.wheelX&&(e.wheelX=e.wheelY,e.wheelY=0);var t=e.domEvent.timeStamp,i=t-(this.$lastScrollTime||0),n=this.editor,s=n.renderer.isScrollableBy(e.wheelX*e.speed,e.wheelY*e.speed);return s||200>i?(this.$lastScrollTime=t,n.renderer.scrollBy(e.wheelX*e.speed,e.wheelY*e.speed),e.stop()):void 0}}}).call(i.prototype),t.DefaultHandlers=i}),ace.define("ace/tooltip",["require","exports","module","ace/lib/oop","ace/lib/dom"],function(e,t){"use strict";function i(e){this.isOpen=!1,this.$element=null,this.$parentNode=e}e("./lib/oop");var n=e("./lib/dom");(function(){this.$init=function(){return this.$element=n.createElement("div"),this.$element.className="ace_tooltip",this.$element.style.display="none",this.$parentNode.appendChild(this.$element),this.$element},this.getElement=function(){return this.$element||this.$init()},this.setText=function(e){n.setInnerText(this.getElement(),e)},this.setHtml=function(e){this.getElement().innerHTML=e},this.setPosition=function(e,t){this.getElement().style.left=e+"px",this.getElement().style.top=t+"px"},this.setClassName=function(e){n.addCssClass(this.getElement(),e)},this.show=function(e,t,i){null!=e&&this.setText(e),null!=t&&null!=i&&this.setPosition(t,i),this.isOpen||(this.getElement().style.display="block",this.isOpen=!0)},this.hide=function(){this.isOpen&&(this.getElement().style.display="none",this.isOpen=!1)},this.getHeight=function(){return this.getElement().offsetHeight},this.getWidth=function(){return this.getElement().offsetWidth}}).call(i.prototype),t.Tooltip=i}),ace.define("ace/mouse/default_gutter_handler",["require","exports","module","ace/lib/dom","ace/lib/oop","ace/lib/event","ace/tooltip"],function(e,t){"use strict";function i(e){function t(){var t=u.getDocumentPosition().row,n=l.$annotations[t];if(!n)return i();var s=a.session.getLength();if(t==s){var o=a.renderer.pixelToScreenCoordinates(0,u.y).row,c=u.$pos;if(o>a.session.documentToScreenRow(c.row,c.column))return i()}if(d!=n)if(d=n.text.join("<br/>"),h.setHtml(d),h.show(),a.on("mousewheel",i),e.$tooltipFollowsMouse)r(u);else{var g=l.$cells[a.session.documentToScreenRow(t,0)].element,f=g.getBoundingClientRect(),m=h.getElement().style;m.left=f.right+"px",m.top=f.bottom+"px"}}function i(){c&&(c=clearTimeout(c)),d&&(h.hide(),d=null,a.removeEventListener("mousewheel",i))}function r(e){h.setPosition(e.x,e.y)}var a=e.editor,l=a.renderer.$gutterLayer,h=new n(a.container);e.editor.setDefaultHandler("guttermousedown",function(t){if(a.isFocused()&&0==t.getButton()){var i=l.getRegion(t);if("foldWidgets"!=i){var n=t.getDocumentPosition().row,s=a.session.selection;if(t.getShiftKey())s.selectTo(n,0);else{if(2==t.domEvent.detail)return a.selectAll(),t.preventDefault();e.$clickSelection=a.selection.getLineRange(n)}return e.setState("selectByLines"),e.captureMouse(t),t.preventDefault()}}});var c,u,d;e.editor.setDefaultHandler("guttermousemove",function(n){var o=n.domEvent.target||n.domEvent.srcElement;return s.hasCssClass(o,"ace_fold-widget")?i():(d&&e.$tooltipFollowsMouse&&r(n),u=n,c||(c=setTimeout(function(){c=null,u&&!e.isMousePressed?t():i()},50)),void 0)}),o.addListener(a.renderer.$gutter,"mouseout",function(){u=null,d&&!c&&(c=setTimeout(function(){c=null,i()},50))}),a.on("changeSession",i)}function n(e){a.call(this,e)}var s=e("../lib/dom"),r=e("../lib/oop"),o=e("../lib/event"),a=e("../tooltip").Tooltip;r.inherits(n,a),function(){this.setPosition=function(e,t){var i=window.innerWidth||document.documentElement.clientWidth,n=window.innerHeight||document.documentElement.clientHeight,s=this.getWidth(),r=this.getHeight();e+=15,t+=15,e+s>i&&(e-=e+s-i),t+r>n&&(t-=20+r),a.prototype.setPosition.call(this,e,t)}}.call(n.prototype),t.GutterHandler=i}),ace.define("ace/mouse/mouse_event",["require","exports","module","ace/lib/event","ace/lib/useragent"],function(e,t){"use strict";var i=e("../lib/event"),n=e("../lib/useragent"),s=t.MouseEvent=function(e,t){this.domEvent=e,this.editor=t,this.x=this.clientX=e.clientX,this.y=this.clientY=e.clientY,this.$pos=null,this.$inSelection=null,this.propagationStopped=!1,this.defaultPrevented=!1};(function(){this.stopPropagation=function(){i.stopPropagation(this.domEvent),this.propagationStopped=!0},this.preventDefault=function(){i.preventDefault(this.domEvent),this.defaultPrevented=!0},this.stop=function(){this.stopPropagation(),this.preventDefault()},this.getDocumentPosition=function(){return this.$pos?this.$pos:(this.$pos=this.editor.renderer.screenToTextCoordinates(this.clientX,this.clientY),this.$pos)},this.inSelection=function(){if(null!==this.$inSelection)return this.$inSelection;var e=this.editor,t=e.getSelectionRange();if(t.isEmpty())this.$inSelection=!1;else{var i=this.getDocumentPosition();this.$inSelection=t.contains(i.row,i.column)}return this.$inSelection},this.getButton=function(){return i.getButton(this.domEvent)},this.getShiftKey=function(){return this.domEvent.shiftKey},this.getAccelKey=n.isMac?function(){return this.domEvent.metaKey}:function(){return this.domEvent.ctrlKey}}).call(s.prototype)}),ace.define("ace/mouse/dragdrop_handler",["require","exports","module","ace/lib/dom","ace/lib/event","ace/lib/useragent"],function(e,t){"use strict";function i(e){function t(e,t){var i=Date.now(),s=!t||e.row!=t.row,r=!t||e.column!=t.column;if(!S||s||r)p.$blockScrolling+=1,p.moveCursorToPosition(e),p.$blockScrolling-=1,S=i,k={x:F,y:w};else{var o=n(k.x,k.y,F,w);o>h?S=null:i-S>=l&&(p.renderer.scrollCursorIntoView(),S=null)}}function i(e,t){var i=Date.now(),n=p.renderer.layerConfig.lineHeight,s=p.renderer.layerConfig.characterWidth,r=p.renderer.scroller.getBoundingClientRect(),o={x:{left:F-r.left,right:r.right-F},y:{top:w-r.top,bottom:r.bottom-w}},l=Math.min(o.x.left,o.x.right),h=Math.min(o.y.top,o.y.bottom),c={row:e.row,column:e.column};2>=l/s&&(c.column+=o.x.left<o.x.right?-3:2),1>=h/n&&(c.row+=o.y.top<o.y.bottom?-1:1);var u=e.row!=c.row,d=e.column!=c.column,g=!t||e.row!=t.row;u||d&&!g?D?i-D>=a&&p.renderer.scrollCursorIntoView(c):D=i:D=null}function c(){var e=y;y=p.renderer.screenToTextCoordinates(F,w),t(y,e),i(y,e)}function u(){b=p.selection.toOrientedRange(),C=p.session.addMarker(b,"ace_selection",p.getSelectionStyle()),p.clearSelection(),p.isFocused()&&p.renderer.$cursorLayer.setBlinking(!1),clearInterval(E),c(),E=setInterval(c,20),L=0,r.addListener(document,"mousemove",g)}function d(){clearInterval(E),p.session.removeMarker(C),C=null,p.$blockScrolling+=1,p.selection.fromOrientedRange(b),p.$blockScrolling-=1,p.isFocused()&&!B&&p.renderer.$cursorLayer.setBlinking(!p.getReadOnly()),b=null,y=null,L=0,D=null,S=null,r.removeListener(document,"mousemove",g)}function g(){null==R&&(R=setTimeout(function(){null!=R&&C&&d()},20))}function f(e){var t=e.types;return!t||Array.prototype.some.call(t,function(e){return"text/plain"==e||"Text"==e})}function m(e){var t=["copy","copymove","all","uninitialized"],i=["move","copymove","linkmove","all","uninitialized"],n=o.isMac?e.altKey:e.ctrlKey,s="uninitialized";try{s=e.dataTransfer.effectAllowed.toLowerCase()}catch(e){}var r="none";return n&&t.indexOf(s)>=0?r="copy":i.indexOf(s)>=0?r="move":t.indexOf(s)>=0&&(r="copy"),r}var p=e.editor,A=s.createElement("img");A.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",o.isOpera&&(A.style.cssText="width:1px;height:1px;position:fixed;top:0;left:0;z-index:2147483647;opacity:0;");var v=["dragWait","dragWaitEnd","startDrag","dragReadyEnd","onMouseDrag"];v.forEach(function(t){e[t]=this[t]},this),p.addEventListener("mousedown",this.onMouseDown.bind(e));var C,F,w,E,b,y,$,B,D,S,k,x=p.container,L=0;this.onDragStart=function(e){if(this.cancelDrag||!x.draggable){var t=this;return setTimeout(function(){t.startSelect(),t.captureMouse(e)},0),e.preventDefault()}b=p.getSelectionRange();var i=e.dataTransfer;i.effectAllowed=p.getReadOnly()?"copy":"copyMove",o.isOpera&&(p.container.appendChild(A),A.scrollTop=0),i.setDragImage&&i.setDragImage(A,0,0),o.isOpera&&p.container.removeChild(A),i.clearData(),i.setData("Text",p.session.getTextRange()),B=!0,this.setState("drag")},this.onDragEnd=function(e){if(x.draggable=!1,B=!1,this.setState(null),!p.getReadOnly()){var t=e.dataTransfer.dropEffect;$||"move"!=t||p.session.remove(p.getSelectionRange()),p.renderer.$cursorLayer.setBlinking(!0)}this.editor.unsetStyle("ace_dragging"),this.editor.renderer.setCursorStyle("")},this.onDragEnter=function(e){return!p.getReadOnly()&&f(e.dataTransfer)?(F=e.clientX,w=e.clientY,C||u(),L++,e.dataTransfer.dropEffect=$=m(e),r.preventDefault(e)):void 0},this.onDragOver=function(e){return!p.getReadOnly()&&f(e.dataTransfer)?(F=e.clientX,w=e.clientY,C||(u(),L++),null!==R&&(R=null),e.dataTransfer.dropEffect=$=m(e),r.preventDefault(e)):void 0},this.onDragLeave=function(e){return L--,0>=L&&C?(d(),$=null,r.preventDefault(e)):void 0},this.onDrop=function(e){if(y){var t=e.dataTransfer;if(B)switch($){case"move":b=b.contains(y.row,y.column)?{start:y,end:y}:p.moveText(b,y);break;case"copy":b=p.moveText(b,y,!0)}else{var i=t.getData("Text");b={start:y,end:p.session.insert(y,i)},p.focus(),$=null}return d(),r.preventDefault(e)}},r.addListener(x,"dragstart",this.onDragStart.bind(e)),r.addListener(x,"dragend",this.onDragEnd.bind(e)),r.addListener(x,"dragenter",this.onDragEnter.bind(e)),r.addListener(x,"dragover",this.onDragOver.bind(e)),r.addListener(x,"dragleave",this.onDragLeave.bind(e)),r.addListener(x,"drop",this.onDrop.bind(e));var R=null}function n(e,t,i,n){return Math.sqrt(Math.pow(i-e,2)+Math.pow(n-t,2))}var s=e("../lib/dom"),r=e("../lib/event"),o=e("../lib/useragent"),a=200,l=200,h=5;(function(){this.dragWait=function(){var e=Date.now()-this.mousedownEvent.time;e>this.editor.getDragDelay()&&this.startDrag()},this.dragWaitEnd=function(){var e=this.editor.container;e.draggable=!1,this.startSelect(this.mousedownEvent.getDocumentPosition()),this.selectEnd()},this.dragReadyEnd=function(){this.editor.renderer.$cursorLayer.setBlinking(!this.editor.getReadOnly()),this.editor.unsetStyle("ace_dragging"),this.editor.renderer.setCursorStyle(""),this.dragWaitEnd()},this.startDrag=function(){this.cancelDrag=!1;var e=this.editor,t=e.container;t.draggable=!0,e.renderer.$cursorLayer.setBlinking(!1),e.setStyle("ace_dragging");var i=o.isWin?"default":"move";e.renderer.setCursorStyle(i),this.setState("dragReady")},this.onMouseDrag=function(){var e=this.editor.container;if(o.isIE&&"dragReady"==this.state){var t=n(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y);t>3&&e.dragDrop()}if("dragWait"===this.state){var t=n(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y);t>0&&(e.draggable=!1,this.startSelect(this.mousedownEvent.getDocumentPosition()))}},this.onMouseDown=function(e){if(this.$dragEnabled){this.mousedownEvent=e;var t=this.editor,i=e.inSelection(),n=e.getButton(),s=e.domEvent.detail||1;if(1===s&&0===n&&i){if(e.editor.inMultiSelectMode&&(e.getAccelKey()||e.getShiftKey()))return;this.mousedownEvent.time=Date.now();var r=e.domEvent.target||e.domEvent.srcElement;if("unselectable"in r&&(r.unselectable="on"),t.getDragDelay()){if(o.isWebKit){this.cancelDrag=!0;var a=t.container;a.draggable=!0}this.setState("dragWait")}else this.startDrag();this.captureMouse(e,this.onMouseDrag.bind(this)),e.defaultPrevented=!0}}}}).call(i.prototype),t.DragdropHandler=i}),ace.define("ace/lib/net",["require","exports","module","ace/lib/dom"],function(e,t){"use strict";var i=e("./dom");t.get=function(e,t){var i=new XMLHttpRequest;i.open("GET",e,!0),i.onreadystatechange=function(){4===i.readyState&&t(i.responseText)},i.send(null)},t.loadScript=function(e,t){var n=i.getDocumentHead(),s=document.createElement("script");s.src=e,n.appendChild(s),s.onload=s.onreadystatechange=function(e,i){(i||!s.readyState||"loaded"==s.readyState||"complete"==s.readyState)&&(s=s.onload=s.onreadystatechange=null,i||t())}},t.qualifyURL=function(e){var t=document.createElement("a");return t.href=e,t.href}}),ace.define("ace/lib/event_emitter",["require","exports","module"],function(e,t){"use strict";var i={},n=function(){this.propagationStopped=!0},s=function(){this.defaultPrevented=!0};i._emit=i._dispatchEvent=function(e,t){this._eventRegistry||(this._eventRegistry={}),this._defaultHandlers||(this._defaultHandlers={});var i=this._eventRegistry[e]||[],r=this._defaultHandlers[e];if(i.length||r){"object"==typeof t&&t||(t={}),t.type||(t.type=e),t.stopPropagation||(t.stopPropagation=n),t.preventDefault||(t.preventDefault=s),i=i.slice();for(var o=0;i.length>o&&(i[o](t,this),!t.propagationStopped);o++);return r&&!t.defaultPrevented?r(t,this):void 0}},i._signal=function(e,t){var i=(this._eventRegistry||{})[e];if(i){i=i.slice();for(var n=0;i.length>n;n++)i[n](t,this)}},i.once=function(e,t){var i=this;t&&this.addEventListener(e,function n(){i.removeEventListener(e,n),t.apply(null,arguments)})},i.setDefaultHandler=function(e,t){var i=this._defaultHandlers;if(i||(i=this._defaultHandlers={_disabled_:{}}),i[e]){var n=i[e],s=i._disabled_[e];s||(i._disabled_[e]=s=[]),s.push(n);var r=s.indexOf(t);-1!=r&&s.splice(r,1)}i[e]=t},i.removeDefaultHandler=function(e,t){var i=this._defaultHandlers;if(i){var n=i._disabled_[e];if(i[e]==t)i[e],n&&this.setDefaultHandler(e,n.pop());else if(n){var s=n.indexOf(t);-1!=s&&n.splice(s,1)}}},i.on=i.addEventListener=function(e,t,i){this._eventRegistry=this._eventRegistry||{};var n=this._eventRegistry[e];return n||(n=this._eventRegistry[e]=[]),-1==n.indexOf(t)&&n[i?"unshift":"push"](t),t},i.off=i.removeListener=i.removeEventListener=function(e,t){this._eventRegistry=this._eventRegistry||{};var i=this._eventRegistry[e];if(i){var n=i.indexOf(t);-1!==n&&i.splice(n,1)}},i.removeAllListeners=function(e){this._eventRegistry&&(this._eventRegistry[e]=[])},t.EventEmitter=i}),ace.define("ace/config",["require","exports","module","ace/lib/lang","ace/lib/oop","ace/lib/net","ace/lib/event_emitter"],function(e,t,i){"no use strict";function n(n){if(c.packaged=n||e.packaged||i.packaged||h.define&&define.packaged,!h.document)return"";for(var r={},o="",a=document.currentScript||document._currentScript,l=a&&a.ownerDocument||document,u=l.getElementsByTagName("script"),d=0;u.length>d;d++){var g=u[d],f=g.src||g.getAttribute("src");if(f){for(var m=g.attributes,p=0,A=m.length;A>p;p++){var v=m[p];0===v.name.indexOf("data-ace-")&&(r[s(v.name.replace(/^data-ace-/,""))]=v.value)}var C=f.match(/^(.*)\/ace(\-\w+)?\.js(\?|$)/);C&&(o=C[1])}}o&&(r.base=r.base||o,r.packaged=!0),r.basePath=r.base,r.workerPath=r.workerPath||r.base,r.modePath=r.modePath||r.base,r.themePath=r.themePath||r.base,delete r.base;for(var F in r)r[F]!==void 0&&t.set(F,r[F])}function s(e){return e.replace(/-(.)/g,function(e,t){return t.toUpperCase()})}var r=e("./lib/lang"),o=e("./lib/oop"),a=e("./lib/net"),l=e("./lib/event_emitter").EventEmitter,h=function(){return this}(),c={packaged:!1,workerPath:null,modePath:null,themePath:null,basePath:"",suffix:".js",$moduleUrls:{}};t.get=function(e){if(!c.hasOwnProperty(e))throw Error("Unknown config key: "+e);return c[e]},t.set=function(e,t){if(!c.hasOwnProperty(e))throw Error("Unknown config key: "+e);c[e]=t},t.all=function(){return r.copyObject(c)},o.implement(t,l),t.moduleUrl=function(e,t){if(c.$moduleUrls[e])return c.$moduleUrls[e];var i=e.split("/");t=t||i[i.length-2]||"";var n="snippets"==t?"/":"-",s=i[i.length-1];if("worker"==t&&"-"==n){var r=RegExp("^"+t+"[\\-_]|[\\-_]"+t+"$","g");s=s.replace(r,"")}(!s||s==t)&&i.length>1&&(s=i[i.length-2]);var o=c[t+"Path"];return null==o?o=c.basePath:"/"==n&&(t=n=""),o&&"/"!=o.slice(-1)&&(o+="/"),o+t+n+s+this.get("suffix")},t.setModuleUrl=function(e,t){return c.$moduleUrls[e]=t},t.$loading={},t.loadModule=function(i,n){var s,r;Array.isArray(i)&&(r=i[0],i=i[1]);try{s=e(i)}catch(o){}if(s&&!t.$loading[i])return n&&n(s);if(t.$loading[i]||(t.$loading[i]=[]),t.$loading[i].push(n),!(t.$loading[i].length>1)){var l=function(){e([i],function(e){t._emit("load.module",{name:i,module:e});var n=t.$loading[i];t.$loading[i]=null,n.forEach(function(t){t&&t(e)})})};return t.get("packaged")?(a.loadScript(t.moduleUrl(i,r),l),void 0):l()}},n(!0),t.init=n;var u={setOptions:function(e){Object.keys(e).forEach(function(t){this.setOption(t,e[t])},this)},getOptions:function(e){var t={};return e?Array.isArray(e)||(t=e,e=Object.keys(t)):e=Object.keys(this.$options),e.forEach(function(e){t[e]=this.getOption(e)},this),t},setOption:function(e,t){if(this["$"+e]!==t){var i=this.$options[e];if(!i)return"undefined"!=typeof console&&console.warn&&console.warn('misspelled option "'+e+'"'),void 0;if(i.forwardTo)return this[i.forwardTo]&&this[i.forwardTo].setOption(e,t);i.handlesSet||(this["$"+e]=t),i&&i.set&&i.set.call(this,t)}},getOption:function(e){var t=this.$options[e];return t?t.forwardTo?this[t.forwardTo]&&this[t.forwardTo].getOption(e):t&&t.get?t.get.call(this):this["$"+e]:("undefined"!=typeof console&&console.warn&&console.warn('misspelled option "'+e+'"'),void 0)}},d={};t.defineOptions=function(e,t,i){return e.$options||(d[t]=e.$options={}),Object.keys(i).forEach(function(t){var n=i[t];"string"==typeof n&&(n={forwardTo:n}),n.name||(n.name=t),e.$options[n.name]=n,"initialValue"in n&&(e["$"+n.name]=n.initialValue)}),o.implement(e,u),this},t.resetOptions=function(e){Object.keys(e.$options).forEach(function(t){var i=e.$options[t];"value"in i&&e.setOption(t,i.value)})},t.setDefaultValue=function(e,i,n){var s=d[e]||(d[e]={});s[i]&&(s.forwardTo?t.setDefaultValue(s.forwardTo,i,n):s[i].value=n)},t.setDefaultValues=function(e,i){Object.keys(i).forEach(function(n){t.setDefaultValue(e,n,i[n])})}}),ace.define("ace/mouse/mouse_handler",["require","exports","module","ace/lib/event","ace/lib/useragent","ace/mouse/default_handlers","ace/mouse/default_gutter_handler","ace/mouse/mouse_event","ace/mouse/dragdrop_handler","ace/config"],function(e,t){"use strict";var i=e("../lib/event"),n=e("../lib/useragent"),s=e("./default_handlers").DefaultHandlers,r=e("./default_gutter_handler").GutterHandler,o=e("./mouse_event").MouseEvent,a=e("./dragdrop_handler").DragdropHandler,l=e("../config"),h=function(e){var t=this;this.editor=e,new s(this),new r(this),new a(this);var o=function(t){!e.isFocused()&&e.textInput&&e.textInput.moveToMouse(t),e.focus()},l=e.renderer.getMouseEventTarget();i.addListener(l,"click",this.onMouseEvent.bind(this,"click")),i.addListener(l,"mousemove",this.onMouseMove.bind(this,"mousemove")),i.addMultiMouseDownListener(l,[400,300,250],this,"onMouseEvent"),e.renderer.scrollBarV&&(i.addMultiMouseDownListener(e.renderer.scrollBarV.inner,[400,300,250],this,"onMouseEvent"),i.addMultiMouseDownListener(e.renderer.scrollBarH.inner,[400,300,250],this,"onMouseEvent"),n.isIE&&(i.addListener(e.renderer.scrollBarV.element,"mousedown",o),i.addListener(e.renderer.scrollBarH.element,"mousemove",o))),i.addMouseWheelListener(e.container,this.onMouseWheel.bind(this,"mousewheel"));var h=e.renderer.$gutter;i.addListener(h,"mousedown",this.onMouseEvent.bind(this,"guttermousedown")),i.addListener(h,"click",this.onMouseEvent.bind(this,"gutterclick")),i.addListener(h,"dblclick",this.onMouseEvent.bind(this,"gutterdblclick")),i.addListener(h,"mousemove",this.onMouseEvent.bind(this,"guttermousemove")),i.addListener(l,"mousedown",o),i.addListener(h,"mousedown",function(t){return e.focus(),i.preventDefault(t)}),e.on("mousemove",function(i){if(!t.state&&!t.$dragDelay&&t.$dragEnabled){var n=e.renderer.screenToTextCoordinates(i.x,i.y),s=e.session.selection.getRange(),r=e.renderer;!s.isEmpty()&&s.insideStart(n.row,n.column)?r.setCursorStyle("default"):r.setCursorStyle("")}})};(function(){this.onMouseEvent=function(e,t){this.editor._emit(e,new o(t,this.editor))},this.onMouseMove=function(e,t){var i=this.editor._eventRegistry&&this.editor._eventRegistry.mousemove;i&&i.length&&this.editor._emit(e,new o(t,this.editor))},this.onMouseWheel=function(e,t){var i=new o(t,this.editor);i.speed=2*this.$scrollSpeed,i.wheelX=t.wheelX,i.wheelY=t.wheelY,this.editor._emit(e,i)},this.setState=function(e){this.state=e},this.captureMouse=function(e,t){this.x=e.x,this.y=e.y,this.isMousePressed=!0;var s=this.editor.renderer;s.$keepTextAreaAtCursor&&(s.$keepTextAreaAtCursor=null);var r=this,a=function(e){if(e){if(n.isWebKit&&!e.which&&r.releaseMouse)return r.releaseMouse();r.x=e.clientX,r.y=e.clientY,t&&t(e),r.mouseEvent=new o(e,r.editor),r.$mouseMoved=!0}},l=function(e){clearInterval(c),h(),r[r.state+"End"]&&r[r.state+"End"](e),r.state="",null==s.$keepTextAreaAtCursor&&(s.$keepTextAreaAtCursor=!0,s.$moveTextAreaToCursor()),r.isMousePressed=!1,r.$onCaptureMouseMove=r.releaseMouse=null,e&&r.onMouseEvent("mouseup",e)},h=function(){r[r.state]&&r[r.state](),r.$mouseMoved=!1};if(n.isOldIE&&"dblclick"==e.domEvent.type)return setTimeout(function(){l(e)});r.$onCaptureMouseMove=a,r.releaseMouse=i.capture(this.editor.container,a,l);var c=setInterval(h,20)},this.releaseMouse=null,this.cancelContextMenu=function(){var e=function(t){t&&t.domEvent&&"contextmenu"!=t.domEvent.type||(this.editor.off("nativecontextmenu",e),t&&t.domEvent&&i.stopEvent(t.domEvent))}.bind(this);setTimeout(e,10),this.editor.on("nativecontextmenu",e)}}).call(h.prototype),l.defineOptions(h.prototype,"mouseHandler",{scrollSpeed:{initialValue:2},dragDelay:{initialValue:n.isMac?150:0},dragEnabled:{initialValue:!0},focusTimout:{initialValue:0},tooltipFollowsMouse:{initialValue:!0}}),t.MouseHandler=h}),ace.define("ace/mouse/fold_handler",["require","exports","module"],function(e,t){"use strict";function i(e){e.on("click",function(t){var i=t.getDocumentPosition(),n=e.session,s=n.getFoldAt(i.row,i.column,1);s&&(t.getAccelKey()?n.removeFold(s):n.expandFold(s),t.stop())}),e.on("gutterclick",function(t){var i=e.renderer.$gutterLayer.getRegion(t);if("foldWidgets"==i){var n=t.getDocumentPosition().row,s=e.session;s.foldWidgets&&s.foldWidgets[n]&&e.session.onFoldWidgetClick(n,t),e.isFocused()||e.focus(),t.stop()}}),e.on("gutterdblclick",function(t){var i=e.renderer.$gutterLayer.getRegion(t);if("foldWidgets"==i){var n=t.getDocumentPosition().row,s=e.session,r=s.getParentFoldRangeData(n,!0),o=r.range||r.firstRange;if(o){n=o.start.row;var a=s.getFoldAt(n,s.getLine(n).length,1);a?s.removeFold(a):(s.addFold("...",o),e.renderer.scrollCursorIntoView({row:o.start.row,column:0}))}t.stop()}})}t.FoldHandler=i}),ace.define("ace/keyboard/keybinding",["require","exports","module","ace/lib/keys","ace/lib/event"],function(e,t){"use strict";var i=e("../lib/keys"),n=e("../lib/event"),s=function(e){this.$editor=e,this.$data={editor:e},this.$handlers=[],this.setDefaultHandler(e.commands)};(function(){this.setDefaultHandler=function(e){this.removeKeyboardHandler(this.$defaultHandler),this.$defaultHandler=e,this.addKeyboardHandler(e,0)},this.setKeyboardHandler=function(e){var t=this.$handlers;if(t[t.length-1]!=e){for(;t[t.length-1]&&t[t.length-1]!=this.$defaultHandler;)this.removeKeyboardHandler(t[t.length-1]);this.addKeyboardHandler(e,1)}},this.addKeyboardHandler=function(e,t){if(e){"function"!=typeof e||e.handleKeyboard||(e.handleKeyboard=e);var i=this.$handlers.indexOf(e);-1!=i&&this.$handlers.splice(i,1),void 0==t?this.$handlers.push(e):this.$handlers.splice(t,0,e),-1==i&&e.attach&&e.attach(this.$editor)}},this.removeKeyboardHandler=function(e){var t=this.$handlers.indexOf(e);return-1==t?!1:(this.$handlers.splice(t,1),e.detach&&e.detach(this.$editor),!0)},this.getKeyboardHandler=function(){return this.$handlers[this.$handlers.length-1]},this.getStatusText=function(){var e=this.$data,t=e.editor;return this.$handlers.map(function(i){return i.getStatusText&&i.getStatusText(t,e)||""}).filter(Boolean).join(" ")},this.$callKeyboardHandlers=function(e,t,i,s){for(var r,o=!1,a=this.$editor.commands,l=this.$handlers.length;l--&&(r=this.$handlers[l].handleKeyboard(this.$data,e,t,i,s),!(r&&r.command&&(o="null"==r.command?!0:a.exec(r.command,this.$editor,r.args,s),o&&s&&-1!=e&&1!=r.passEvent&&1!=r.command.passEvent&&n.stopEvent(s),o))););return o},this.onCommandKey=function(e,t,n){var s=i.keyCodeToString(n);this.$callKeyboardHandlers(t,s,n,e)},this.onTextInput=function(e){var t=this.$callKeyboardHandlers(-1,e);t||this.$editor.commands.exec("insertstring",this.$editor,e)}}).call(s.prototype),t.KeyBinding=s}),ace.define("ace/range",["require","exports","module"],function(e,t){"use strict";var i=function(e,t){return e.row-t.row||e.column-t.column},n=function(e,t,i,n){this.start={row:e,column:t},this.end={row:i,column:n}};(function(){this.isEqual=function(e){return this.start.row===e.start.row&&this.end.row===e.end.row&&this.start.column===e.start.column&&this.end.column===e.end.column},this.toString=function(){return"Range: ["+this.start.row+"/"+this.start.column+"] -> ["+this.end.row+"/"+this.end.column+"]"},this.contains=function(e,t){return 0==this.compare(e,t)},this.compareRange=function(e){var t,i=e.end,n=e.start;return t=this.compare(i.row,i.column),1==t?(t=this.compare(n.row,n.column),1==t?2:0==t?1:0):-1==t?-2:(t=this.compare(n.row,n.column),-1==t?-1:1==t?42:0)},this.comparePoint=function(e){return this.compare(e.row,e.column)},this.containsRange=function(e){return 0==this.comparePoint(e.start)&&0==this.comparePoint(e.end)},this.intersects=function(e){var t=this.compareRange(e);return-1==t||0==t||1==t},this.isEnd=function(e,t){return this.end.row==e&&this.end.column==t},this.isStart=function(e,t){return this.start.row==e&&this.start.column==t},this.setStart=function(e,t){"object"==typeof e?(this.start.column=e.column,this.start.row=e.row):(this.start.row=e,this.start.column=t)},this.setEnd=function(e,t){"object"==typeof e?(this.end.column=e.column,this.end.row=e.row):(this.end.row=e,this.end.column=t)},this.inside=function(e,t){return 0==this.compare(e,t)?this.isEnd(e,t)||this.isStart(e,t)?!1:!0:!1},this.insideStart=function(e,t){return 0==this.compare(e,t)?this.isEnd(e,t)?!1:!0:!1},this.insideEnd=function(e,t){return 0==this.compare(e,t)?this.isStart(e,t)?!1:!0:!1},this.compare=function(e,t){return this.isMultiLine()||e!==this.start.row?this.start.row>e?-1:e>this.end.row?1:this.start.row===e?t>=this.start.column?0:-1:this.end.row===e?this.end.column>=t?0:1:0:this.start.column>t?-1:t>this.end.column?1:0},this.compareStart=function(e,t){return this.start.row==e&&this.start.column==t?-1:this.compare(e,t)},this.compareEnd=function(e,t){return this.end.row==e&&this.end.column==t?1:this.compare(e,t)},this.compareInside=function(e,t){return this.end.row==e&&this.end.column==t?1:this.start.row==e&&this.start.column==t?-1:this.compare(e,t)},this.clipRows=function(e,t){if(this.end.row>t)var i={row:t+1,column:0};else if(e>this.end.row)var i={row:e,column:0};if(this.start.row>t)var s={row:t+1,column:0};else if(e>this.start.row)var s={row:e,column:0};return n.fromPoints(s||this.start,i||this.end)},this.extend=function(e,t){var i=this.compare(e,t);if(0==i)return this;if(-1==i)var s={row:e,column:t};else var r={row:e,column:t};return n.fromPoints(s||this.start,r||this.end)},this.isEmpty=function(){return this.start.row===this.end.row&&this.start.column===this.end.column},this.isMultiLine=function(){return this.start.row!==this.end.row},this.clone=function(){return n.fromPoints(this.start,this.end)},this.collapseRows=function(){return 0==this.end.column?new n(this.start.row,0,Math.max(this.start.row,this.end.row-1),0):new n(this.start.row,0,this.end.row,0)},this.toScreenRange=function(e){var t=e.documentToScreenPosition(this.start),i=e.documentToScreenPosition(this.end);return new n(t.row,t.column,i.row,i.column)},this.moveBy=function(e,t){this.start.row+=e,this.start.column+=t,this.end.row+=e,this.end.column+=t}}).call(n.prototype),n.fromPoints=function(e,t){return new n(e.row,e.column,t.row,t.column)},n.comparePoints=i,n.comparePoints=function(e,t){return e.row-t.row||e.column-t.column},t.Range=n}),ace.define("ace/selection",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/lib/event_emitter","ace/range"],function(e,t){"use strict";var i=e("./lib/oop"),n=e("./lib/lang"),s=e("./lib/event_emitter").EventEmitter,r=e("./range").Range,o=function(e){this.session=e,this.doc=e.getDocument(),this.clearSelection(),this.lead=this.selectionLead=this.doc.createAnchor(0,0),this.anchor=this.selectionAnchor=this.doc.createAnchor(0,0);var t=this;this.lead.on("change",function(e){t._emit("changeCursor"),t.$isEmpty||t._emit("changeSelection"),t.$keepDesiredColumnOnChange||e.old.column==e.value.column||(t.$desiredColumn=null)}),this.selectionAnchor.on("change",function(){t.$isEmpty||t._emit("changeSelection")})};(function(){i.implement(this,s),this.isEmpty=function(){return this.$isEmpty||this.anchor.row==this.lead.row&&this.anchor.column==this.lead.column},this.isMultiLine=function(){return this.isEmpty()?!1:this.getRange().isMultiLine()},this.getCursor=function(){return this.lead.getPosition()
|
6 |
},this.setSelectionAnchor=function(e,t){this.anchor.setPosition(e,t),this.$isEmpty&&(this.$isEmpty=!1,this._emit("changeSelection"))},this.getSelectionAnchor=function(){return this.$isEmpty?this.getSelectionLead():this.anchor.getPosition()},this.getSelectionLead=function(){return this.lead.getPosition()},this.shiftSelection=function(e){if(this.$isEmpty)return this.moveCursorTo(this.lead.row,this.lead.column+e),void 0;var t=this.getSelectionAnchor(),i=this.getSelectionLead(),n=this.isBackwards();n&&0===t.column||this.setSelectionAnchor(t.row,t.column+e),(n||0!==i.column)&&this.$moveSelection(function(){this.moveCursorTo(i.row,i.column+e)})},this.isBackwards=function(){var e=this.anchor,t=this.lead;return e.row>t.row||e.row==t.row&&e.column>t.column},this.getRange=function(){var e=this.anchor,t=this.lead;return this.isEmpty()?r.fromPoints(t,t):this.isBackwards()?r.fromPoints(t,e):r.fromPoints(e,t)},this.clearSelection=function(){this.$isEmpty||(this.$isEmpty=!0,this._emit("changeSelection"))},this.selectAll=function(){var e=this.doc.getLength()-1;this.setSelectionAnchor(0,0),this.moveCursorTo(e,this.doc.getLine(e).length)},this.setRange=this.setSelectionRange=function(e,t){t?(this.setSelectionAnchor(e.end.row,e.end.column),this.selectTo(e.start.row,e.start.column)):(this.setSelectionAnchor(e.start.row,e.start.column),this.selectTo(e.end.row,e.end.column)),this.getRange().isEmpty()&&(this.$isEmpty=!0),this.$desiredColumn=null},this.$moveSelection=function(e){var t=this.lead;this.$isEmpty&&this.setSelectionAnchor(t.row,t.column),e.call(this)},this.selectTo=function(e,t){this.$moveSelection(function(){this.moveCursorTo(e,t)})},this.selectToPosition=function(e){this.$moveSelection(function(){this.moveCursorToPosition(e)})},this.moveTo=function(e,t){this.clearSelection(),this.moveCursorTo(e,t)},this.moveToPosition=function(e){this.clearSelection(),this.moveCursorToPosition(e)},this.selectUp=function(){this.$moveSelection(this.moveCursorUp)},this.selectDown=function(){this.$moveSelection(this.moveCursorDown)},this.selectRight=function(){this.$moveSelection(this.moveCursorRight)},this.selectLeft=function(){this.$moveSelection(this.moveCursorLeft)},this.selectLineStart=function(){this.$moveSelection(this.moveCursorLineStart)},this.selectLineEnd=function(){this.$moveSelection(this.moveCursorLineEnd)},this.selectFileEnd=function(){this.$moveSelection(this.moveCursorFileEnd)},this.selectFileStart=function(){this.$moveSelection(this.moveCursorFileStart)},this.selectWordRight=function(){this.$moveSelection(this.moveCursorWordRight)},this.selectWordLeft=function(){this.$moveSelection(this.moveCursorWordLeft)},this.getWordRange=function(e,t){if(t===void 0){var i=e||this.lead;e=i.row,t=i.column}return this.session.getWordRange(e,t)},this.selectWord=function(){this.setSelectionRange(this.getWordRange())},this.selectAWord=function(){var e=this.getCursor(),t=this.session.getAWordRange(e.row,e.column);this.setSelectionRange(t)},this.getLineRange=function(e,t){var i,n="number"==typeof e?e:this.lead.row,s=this.session.getFoldLine(n);return s?(n=s.start.row,i=s.end.row):i=n,t===!0?new r(n,0,i,this.session.getLine(i).length):new r(n,0,i+1,0)},this.selectLine=function(){this.setSelectionRange(this.getLineRange())},this.moveCursorUp=function(){this.moveCursorBy(-1,0)},this.moveCursorDown=function(){this.moveCursorBy(1,0)},this.moveCursorLeft=function(){var e,t=this.lead.getPosition();if(e=this.session.getFoldAt(t.row,t.column,-1))this.moveCursorTo(e.start.row,e.start.column);else if(0===t.column)t.row>0&&this.moveCursorTo(t.row-1,this.doc.getLine(t.row-1).length);else{var i=this.session.getTabSize();this.session.isTabStop(t)&&this.doc.getLine(t.row).slice(t.column-i,t.column).split(" ").length-1==i?this.moveCursorBy(0,-i):this.moveCursorBy(0,-1)}},this.moveCursorRight=function(){var e,t=this.lead.getPosition();if(e=this.session.getFoldAt(t.row,t.column,1))this.moveCursorTo(e.end.row,e.end.column);else if(this.lead.column==this.doc.getLine(this.lead.row).length)this.lead.row<this.doc.getLength()-1&&this.moveCursorTo(this.lead.row+1,0);else{var i=this.session.getTabSize(),t=this.lead;this.session.isTabStop(t)&&this.doc.getLine(t.row).slice(t.column,t.column+i).split(" ").length-1==i?this.moveCursorBy(0,i):this.moveCursorBy(0,1)}},this.moveCursorLineStart=function(){var e=this.lead.row,t=this.lead.column,i=this.session.documentToScreenRow(e,t),n=this.session.screenToDocumentPosition(i,0),s=this.session.getDisplayLine(e,null,n.row,n.column),r=s.match(/^\s*/);r[0].length==t||this.session.$useEmacsStyleLineStart||(n.column+=r[0].length),this.moveCursorToPosition(n)},this.moveCursorLineEnd=function(){var e=this.lead,t=this.session.getDocumentLastRowColumnPosition(e.row,e.column);if(this.lead.column==t.column){var i=this.session.getLine(t.row);if(t.column==i.length){var n=i.search(/\s+$/);n>0&&(t.column=n)}}this.moveCursorTo(t.row,t.column)},this.moveCursorFileEnd=function(){var e=this.doc.getLength()-1,t=this.doc.getLine(e).length;this.moveCursorTo(e,t)},this.moveCursorFileStart=function(){this.moveCursorTo(0,0)},this.moveCursorLongWordRight=function(){var e,t=this.lead.row,i=this.lead.column,n=this.doc.getLine(t),s=n.substring(i);this.session.nonTokenRe.lastIndex=0,this.session.tokenRe.lastIndex=0;var r=this.session.getFoldAt(t,i,1);return r?(this.moveCursorTo(r.end.row,r.end.column),void 0):((e=this.session.nonTokenRe.exec(s))&&(i+=this.session.nonTokenRe.lastIndex,this.session.nonTokenRe.lastIndex=0,s=n.substring(i)),i>=n.length?(this.moveCursorTo(t,n.length),this.moveCursorRight(),this.doc.getLength()-1>t&&this.moveCursorWordRight(),void 0):((e=this.session.tokenRe.exec(s))&&(i+=this.session.tokenRe.lastIndex,this.session.tokenRe.lastIndex=0),this.moveCursorTo(t,i),void 0))},this.moveCursorLongWordLeft=function(){var e,t=this.lead.row,i=this.lead.column;if(e=this.session.getFoldAt(t,i,-1))return this.moveCursorTo(e.start.row,e.start.column),void 0;var s=this.session.getFoldStringAt(t,i,-1);null==s&&(s=this.doc.getLine(t).substring(0,i));var r,o=n.stringReverse(s);return this.session.nonTokenRe.lastIndex=0,this.session.tokenRe.lastIndex=0,(r=this.session.nonTokenRe.exec(o))&&(i-=this.session.nonTokenRe.lastIndex,o=o.slice(this.session.nonTokenRe.lastIndex),this.session.nonTokenRe.lastIndex=0),0>=i?(this.moveCursorTo(t,0),this.moveCursorLeft(),t>0&&this.moveCursorWordLeft(),void 0):((r=this.session.tokenRe.exec(o))&&(i-=this.session.tokenRe.lastIndex,this.session.tokenRe.lastIndex=0),this.moveCursorTo(t,i),void 0)},this.$shortWordEndIndex=function(e){var t,i,n=0,s=/\s/,r=this.session.tokenRe;if(r.lastIndex=0,t=this.session.tokenRe.exec(e))n=this.session.tokenRe.lastIndex;else{for(;(i=e[n])&&s.test(i);)n++;if(1>n)for(r.lastIndex=0;(i=e[n])&&!r.test(i);)if(r.lastIndex=0,n++,s.test(i)){if(n>2){n--;break}for(;(i=e[n])&&s.test(i);)n++;if(n>2)break}}return r.lastIndex=0,n},this.moveCursorShortWordRight=function(){var e=this.lead.row,t=this.lead.column,i=this.doc.getLine(e),n=i.substring(t),s=this.session.getFoldAt(e,t,1);if(s)return this.moveCursorTo(s.end.row,s.end.column);if(t==i.length){var r=this.doc.getLength();do e++,n=this.doc.getLine(e);while(r>e&&/^\s*$/.test(n));/^\s+/.test(n)||(n=""),t=0}var o=this.$shortWordEndIndex(n);this.moveCursorTo(e,t+o)},this.moveCursorShortWordLeft=function(){var e,t=this.lead.row,i=this.lead.column;if(e=this.session.getFoldAt(t,i,-1))return this.moveCursorTo(e.start.row,e.start.column);var s=this.session.getLine(t).substring(0,i);if(0===i){do t--,s=this.doc.getLine(t);while(t>0&&/^\s*$/.test(s));i=s.length,/\s+$/.test(s)||(s="")}var r=n.stringReverse(s),o=this.$shortWordEndIndex(r);return this.moveCursorTo(t,i-o)},this.moveCursorWordRight=function(){this.session.$selectLongWords?this.moveCursorLongWordRight():this.moveCursorShortWordRight()},this.moveCursorWordLeft=function(){this.session.$selectLongWords?this.moveCursorLongWordLeft():this.moveCursorShortWordLeft()},this.moveCursorBy=function(e,t){var i=this.session.documentToScreenPosition(this.lead.row,this.lead.column);0===t&&(this.$desiredColumn?i.column=this.$desiredColumn:this.$desiredColumn=i.column);var n=this.session.screenToDocumentPosition(i.row+e,i.column);0!==e&&0===t&&n.row===this.lead.row&&n.column===this.lead.column&&this.session.lineWidgets&&this.session.lineWidgets[n.row]&&n.row++,this.moveCursorTo(n.row,n.column+t,0===t)},this.moveCursorToPosition=function(e){this.moveCursorTo(e.row,e.column)},this.moveCursorTo=function(e,t,i){var n=this.session.getFoldAt(e,t,1);n&&(e=n.start.row,t=n.start.column),this.$keepDesiredColumnOnChange=!0,this.lead.setPosition(e,t),this.$keepDesiredColumnOnChange=!1,i||(this.$desiredColumn=null)},this.moveCursorToScreen=function(e,t,i){var n=this.session.screenToDocumentPosition(e,t);this.moveCursorTo(n.row,n.column,i)},this.detach=function(){this.lead.detach(),this.anchor.detach(),this.session=this.doc=null},this.fromOrientedRange=function(e){this.setSelectionRange(e,e.cursor==e.start),this.$desiredColumn=e.desiredColumn||this.$desiredColumn},this.toOrientedRange=function(e){var t=this.getRange();return e?(e.start.column=t.start.column,e.start.row=t.start.row,e.end.column=t.end.column,e.end.row=t.end.row):e=t,e.cursor=this.isBackwards()?e.start:e.end,e.desiredColumn=this.$desiredColumn,e},this.getRangeOfMovements=function(e){var t=this.getCursor();try{e.call(null,this);var i=this.getCursor();return r.fromPoints(t,i)}catch(n){return r.fromPoints(t,t)}finally{this.moveCursorToPosition(t)}},this.toJSON=function(){if(this.rangeCount)var e=this.ranges.map(function(e){var t=e.clone();return t.isBackwards=e.cursor==e.start,t});else{var e=this.getRange();e.isBackwards=this.isBackwards()}return e},this.fromJSON=function(e){if(void 0==e.start){if(this.rangeList){this.toSingleRange(e[0]);for(var t=e.length;t--;){var i=r.fromPoints(e[t].start,e[t].end);e.isBackwards&&(i.cursor=i.start),this.addRange(i,!0)}return}e=e[0]}this.rangeList&&this.toSingleRange(e),this.setSelectionRange(e,e.isBackwards)},this.isEqual=function(e){if((e.length||this.rangeCount)&&e.length!=this.rangeCount)return!1;if(!e.length||!this.ranges)return this.getRange().isEqual(e);for(var t=this.ranges.length;t--;)if(!this.ranges[t].isEqual(e[t]))return!1;return!0}}).call(o.prototype),t.Selection=o}),ace.define("ace/tokenizer",["require","exports","module"],function(e,t){"use strict";var i=2e3,n=function(e){this.states=e,this.regExps={},this.matchMappings={};for(var t in this.states){for(var i=this.states[t],n=[],s=0,r=this.matchMappings[t]={defaultToken:"text"},o="g",a=[],l=0;i.length>l;l++){var h=i[l];if(h.defaultToken&&(r.defaultToken=h.defaultToken),h.caseInsensitive&&(o="gi"),null!=h.regex){h.regex instanceof RegExp&&(h.regex=(""+h.regex).slice(1,-1));var c=h.regex,u=RegExp("(?:("+c+")|(.))").exec("a").length-2;Array.isArray(h.token)?1==h.token.length||1==u?h.token=h.token[0]:u-1!=h.token.length?(this.reportError("number of classes and regexp groups doesn't match",{rule:h,groupCount:u-1}),h.token=h.token[0]):(h.tokenArray=h.token,h.token=null,h.onMatch=this.$arrayTokens):"function"!=typeof h.token||h.onMatch||(h.onMatch=u>1?this.$applyToken:h.token),u>1&&(/\\\d/.test(h.regex)?c=h.regex.replace(/\\([0-9]+)/g,function(e,t){return"\\"+(parseInt(t,10)+s+1)}):(u=1,c=this.removeCapturingGroups(h.regex)),h.splitRegex||"string"==typeof h.token||a.push(h)),r[s]=l,s+=u,n.push(c),h.onMatch||(h.onMatch=null)}}n.length||(r[0]=0,n.push("$")),a.forEach(function(e){e.splitRegex=this.createSplitterRegexp(e.regex,o)},this),this.regExps[t]=RegExp("("+n.join(")|(")+")|($)",o)}};(function(){this.$setMaxTokenCount=function(e){i=0|e},this.$applyToken=function(e){var t=this.splitRegex.exec(e).slice(1),i=this.token.apply(this,t);if("string"==typeof i)return[{type:i,value:e}];for(var n=[],s=0,r=i.length;r>s;s++)t[s]&&(n[n.length]={type:i[s],value:t[s]});return n},this.$arrayTokens=function(e){if(!e)return[];var t=this.splitRegex.exec(e);if(!t)return"text";for(var i=[],n=this.tokenArray,s=0,r=n.length;r>s;s++)t[s+1]&&(i[i.length]={type:n[s],value:t[s+1]});return i},this.removeCapturingGroups=function(e){var t=e.replace(/\[(?:\\.|[^\]])*?\]|\\.|\(\?[:=!]|(\()/g,function(e,t){return t?"(?:":e});return t},this.createSplitterRegexp=function(e,t){if(-1!=e.indexOf("(?=")){var i=0,n=!1,s={};e.replace(/(\\.)|(\((?:\?[=!])?)|(\))|([\[\]])/g,function(e,t,r,o,a,l){return n?n="]"!=a:a?n=!0:o?(i==s.stack&&(s.end=l+1,s.stack=-1),i--):r&&(i++,1!=r.length&&(s.stack=i,s.start=l)),e}),null!=s.end&&/^\)*$/.test(e.substr(s.end))&&(e=e.substring(0,s.start)+e.substr(s.end))}return RegExp(e,(t||"").replace("g",""))},this.getLineTokens=function(e,t){if(t&&"string"!=typeof t){var n=t.slice(0);t=n[0],"#tmp"===t&&(n.shift(),t=n.shift())}else var n=[];var s=t||"start",r=this.states[s];r||(s="start",r=this.states[s]);var o=this.matchMappings[s],a=this.regExps[s];a.lastIndex=0;for(var l,h=[],c=0,u=0,d={type:null,value:""};l=a.exec(e);){var g=o.defaultToken,f=null,m=l[0],p=a.lastIndex;if(p-m.length>c){var A=e.substring(c,p-m.length);d.type==g?d.value+=A:(d.type&&h.push(d),d={type:g,value:A})}for(var v=0;l.length-2>v;v++)if(void 0!==l[v+1]){f=r[o[v]],g=f.onMatch?f.onMatch(m,s,n):f.token,f.next&&(s="string"==typeof f.next?f.next:f.next(s,n),r=this.states[s],r||(this.reportError("state doesn't exist",s),s="start",r=this.states[s]),o=this.matchMappings[s],c=p,a=this.regExps[s],a.lastIndex=p);break}if(m)if("string"==typeof g)f&&f.merge===!1||d.type!==g?(d.type&&h.push(d),d={type:g,value:m}):d.value+=m;else if(g){d.type&&h.push(d),d={type:null,value:""};for(var v=0;g.length>v;v++)h.push(g[v])}if(c==e.length)break;if(c=p,u++>i){for(u>2*e.length&&this.reportError("infinite loop with in ace tokenizer",{startState:t,line:e});e.length>c;)d.type&&h.push(d),d={value:e.substring(c,c+=2e3),type:"overflow"};s="start",n=[];break}}return d.type&&h.push(d),n.length>1&&n[0]!==s&&n.unshift("#tmp",s),{tokens:h,state:n.length?n:s}},this.reportError=function(e,t){var i=Error(e);i.data=t,"object"==typeof console&&console.error&&console.error(i),setTimeout(function(){throw i})}}).call(n.prototype),t.Tokenizer=n}),ace.define("ace/mode/text_highlight_rules",["require","exports","module","ace/lib/lang"],function(e,t){"use strict";var i=e("../lib/lang"),n=function(){this.$rules={start:[{token:"empty_line",regex:"^$"},{defaultToken:"text"}]}};(function(){this.addRules=function(e,t){if(t)for(var i in e){for(var n=e[i],s=0;n.length>s;s++){var r=n[s];(r.next||r.onMatch)&&("string"!=typeof r.next?r.nextState&&0!==r.nextState.indexOf(t)&&(r.nextState=t+r.nextState):0!==r.next.indexOf(t)&&(r.next=t+r.next))}this.$rules[t+i]=n}else for(var i in e)this.$rules[i]=e[i]},this.getRules=function(){return this.$rules},this.embedRules=function(e,t,n,s,r){var o="function"==typeof e?(new e).getRules():e;if(s)for(var a=0;s.length>a;a++)s[a]=t+s[a];else{s=[];for(var l in o)s.push(t+l)}if(this.addRules(o,t),n)for(var h=Array.prototype[r?"push":"unshift"],a=0;s.length>a;a++)h.apply(this.$rules[s[a]],i.deepCopy(n));this.$embeds||(this.$embeds=[]),this.$embeds.push(t)},this.getEmbeds=function(){return this.$embeds};var e=function(e,t){return("start"!=e||t.length)&&t.unshift(this.nextState,e),this.nextState},t=function(e,t){return t.shift(),t.shift()||"start"};this.normalizeRules=function(){function i(r){var o=s[r];o.processed=!0;for(var a=0;o.length>a;a++){var l=o[a];!l.regex&&l.start&&(l.regex=l.start,l.next||(l.next=[]),l.next.push({defaultToken:l.token},{token:l.token+".end",regex:l.end||l.start,next:"pop"}),l.token=l.token+".start",l.push=!0);var h=l.next||l.push;if(h&&Array.isArray(h)){var c=l.stateName;c||(c=l.token,"string"!=typeof c&&(c=c[0]||""),s[c]&&(c+=n++)),s[c]=h,l.next=c,i(c)}else"pop"==h&&(l.next=t);if(l.push&&(l.nextState=l.next||l.push,l.next=e,delete l.push),l.rules)for(var u in l.rules)s[u]?s[u].push&&s[u].push.apply(s[u],l.rules[u]):s[u]=l.rules[u];if(l.include||"string"==typeof l)var d=l.include||l,g=s[d];else Array.isArray(l)&&(g=l);if(g){var f=[a,1].concat(g);l.noEscape&&(f=f.filter(function(e){return!e.next})),o.splice.apply(o,f),a--,g=null}l.keywordMap&&(l.token=this.createKeywordMapper(l.keywordMap,l.defaultToken||"text",l.caseInsensitive),delete l.defaultToken)}}var n=0,s=this.$rules;Object.keys(s).forEach(i,this)},this.createKeywordMapper=function(e,t,i,n){var s=Object.create(null);return Object.keys(e).forEach(function(t){var r=e[t];i&&(r=r.toLowerCase());for(var o=r.split(n||"|"),a=o.length;a--;)s[o[a]]=t}),Object.getPrototypeOf(s)&&(s.__proto__=null),this.$keywordList=Object.keys(s),e=null,i?function(e){return s[e.toLowerCase()]||t}:function(e){return s[e]||t}},this.getKeywords=function(){return this.$keywords}}).call(n.prototype),t.TextHighlightRules=n}),ace.define("ace/mode/behaviour",["require","exports","module"],function(e,t){"use strict";var i=function(){this.$behaviours={}};(function(){this.add=function(e,t,i){switch(void 0){case this.$behaviours:this.$behaviours={};case this.$behaviours[e]:this.$behaviours[e]={}}this.$behaviours[e][t]=i},this.addBehaviours=function(e){for(var t in e)for(var i in e[t])this.add(t,i,e[t][i])},this.remove=function(e){this.$behaviours&&this.$behaviours[e]&&delete this.$behaviours[e]},this.inherit=function(e,t){if("function"==typeof e)var i=(new e).getBehaviours(t);else var i=e.getBehaviours(t);this.addBehaviours(i)},this.getBehaviours=function(e){if(e){for(var t={},i=0;e.length>i;i++)this.$behaviours[e[i]]&&(t[e[i]]=this.$behaviours[e[i]]);return t}return this.$behaviours}}).call(i.prototype),t.Behaviour=i}),ace.define("ace/unicode",["require","exports","module"],function(e,t){"use strict";function i(e){var i=/\w{4}/g;for(var n in e)t.packages[n]=e[n].replace(i,"\\u$&")}t.packages={},i({L:"0041-005A0061-007A00AA00B500BA00C0-00D600D8-00F600F8-02C102C6-02D102E0-02E402EC02EE0370-037403760377037A-037D03860388-038A038C038E-03A103A3-03F503F7-0481048A-05250531-055605590561-058705D0-05EA05F0-05F20621-064A066E066F0671-06D306D506E506E606EE06EF06FA-06FC06FF07100712-072F074D-07A507B107CA-07EA07F407F507FA0800-0815081A082408280904-0939093D09500958-0961097109720979-097F0985-098C098F09900993-09A809AA-09B009B209B6-09B909BD09CE09DC09DD09DF-09E109F009F10A05-0A0A0A0F0A100A13-0A280A2A-0A300A320A330A350A360A380A390A59-0A5C0A5E0A72-0A740A85-0A8D0A8F-0A910A93-0AA80AAA-0AB00AB20AB30AB5-0AB90ABD0AD00AE00AE10B05-0B0C0B0F0B100B13-0B280B2A-0B300B320B330B35-0B390B3D0B5C0B5D0B5F-0B610B710B830B85-0B8A0B8E-0B900B92-0B950B990B9A0B9C0B9E0B9F0BA30BA40BA8-0BAA0BAE-0BB90BD00C05-0C0C0C0E-0C100C12-0C280C2A-0C330C35-0C390C3D0C580C590C600C610C85-0C8C0C8E-0C900C92-0CA80CAA-0CB30CB5-0CB90CBD0CDE0CE00CE10D05-0D0C0D0E-0D100D12-0D280D2A-0D390D3D0D600D610D7A-0D7F0D85-0D960D9A-0DB10DB3-0DBB0DBD0DC0-0DC60E01-0E300E320E330E40-0E460E810E820E840E870E880E8A0E8D0E94-0E970E99-0E9F0EA1-0EA30EA50EA70EAA0EAB0EAD-0EB00EB20EB30EBD0EC0-0EC40EC60EDC0EDD0F000F40-0F470F49-0F6C0F88-0F8B1000-102A103F1050-1055105A-105D106110651066106E-10701075-1081108E10A0-10C510D0-10FA10FC1100-1248124A-124D1250-12561258125A-125D1260-1288128A-128D1290-12B012B2-12B512B8-12BE12C012C2-12C512C8-12D612D8-13101312-13151318-135A1380-138F13A0-13F41401-166C166F-167F1681-169A16A0-16EA1700-170C170E-17111720-17311740-17511760-176C176E-17701780-17B317D717DC1820-18771880-18A818AA18B0-18F51900-191C1950-196D1970-19741980-19AB19C1-19C71A00-1A161A20-1A541AA71B05-1B331B45-1B4B1B83-1BA01BAE1BAF1C00-1C231C4D-1C4F1C5A-1C7D1CE9-1CEC1CEE-1CF11D00-1DBF1E00-1F151F18-1F1D1F20-1F451F48-1F4D1F50-1F571F591F5B1F5D1F5F-1F7D1F80-1FB41FB6-1FBC1FBE1FC2-1FC41FC6-1FCC1FD0-1FD31FD6-1FDB1FE0-1FEC1FF2-1FF41FF6-1FFC2071207F2090-209421022107210A-211321152119-211D212421262128212A-212D212F-2139213C-213F2145-2149214E218321842C00-2C2E2C30-2C5E2C60-2CE42CEB-2CEE2D00-2D252D30-2D652D6F2D80-2D962DA0-2DA62DA8-2DAE2DB0-2DB62DB8-2DBE2DC0-2DC62DC8-2DCE2DD0-2DD62DD8-2DDE2E2F300530063031-3035303B303C3041-3096309D-309F30A1-30FA30FC-30FF3105-312D3131-318E31A0-31B731F0-31FF3400-4DB54E00-9FCBA000-A48CA4D0-A4FDA500-A60CA610-A61FA62AA62BA640-A65FA662-A66EA67F-A697A6A0-A6E5A717-A71FA722-A788A78BA78CA7FB-A801A803-A805A807-A80AA80C-A822A840-A873A882-A8B3A8F2-A8F7A8FBA90A-A925A930-A946A960-A97CA984-A9B2A9CFAA00-AA28AA40-AA42AA44-AA4BAA60-AA76AA7AAA80-AAAFAAB1AAB5AAB6AAB9-AABDAAC0AAC2AADB-AADDABC0-ABE2AC00-D7A3D7B0-D7C6D7CB-D7FBF900-FA2DFA30-FA6DFA70-FAD9FB00-FB06FB13-FB17FB1DFB1F-FB28FB2A-FB36FB38-FB3CFB3EFB40FB41FB43FB44FB46-FBB1FBD3-FD3DFD50-FD8FFD92-FDC7FDF0-FDFBFE70-FE74FE76-FEFCFF21-FF3AFF41-FF5AFF66-FFBEFFC2-FFC7FFCA-FFCFFFD2-FFD7FFDA-FFDC",Ll:"0061-007A00AA00B500BA00DF-00F600F8-00FF01010103010501070109010B010D010F01110113011501170119011B011D011F01210123012501270129012B012D012F01310133013501370138013A013C013E014001420144014601480149014B014D014F01510153015501570159015B015D015F01610163016501670169016B016D016F0171017301750177017A017C017E-0180018301850188018C018D019201950199-019B019E01A101A301A501A801AA01AB01AD01B001B401B601B901BA01BD-01BF01C601C901CC01CE01D001D201D401D601D801DA01DC01DD01DF01E101E301E501E701E901EB01ED01EF01F001F301F501F901FB01FD01FF02010203020502070209020B020D020F02110213021502170219021B021D021F02210223022502270229022B022D022F02310233-0239023C023F0240024202470249024B024D024F-02930295-02AF037103730377037B-037D039003AC-03CE03D003D103D5-03D703D903DB03DD03DF03E103E303E503E703E903EB03ED03EF-03F303F503F803FB03FC0430-045F04610463046504670469046B046D046F04710473047504770479047B047D047F0481048B048D048F04910493049504970499049B049D049F04A104A304A504A704A904AB04AD04AF04B104B304B504B704B904BB04BD04BF04C204C404C604C804CA04CC04CE04CF04D104D304D504D704D904DB04DD04DF04E104E304E504E704E904EB04ED04EF04F104F304F504F704F904FB04FD04FF05010503050505070509050B050D050F05110513051505170519051B051D051F0521052305250561-05871D00-1D2B1D62-1D771D79-1D9A1E011E031E051E071E091E0B1E0D1E0F1E111E131E151E171E191E1B1E1D1E1F1E211E231E251E271E291E2B1E2D1E2F1E311E331E351E371E391E3B1E3D1E3F1E411E431E451E471E491E4B1E4D1E4F1E511E531E551E571E591E5B1E5D1E5F1E611E631E651E671E691E6B1E6D1E6F1E711E731E751E771E791E7B1E7D1E7F1E811E831E851E871E891E8B1E8D1E8F1E911E931E95-1E9D1E9F1EA11EA31EA51EA71EA91EAB1EAD1EAF1EB11EB31EB51EB71EB91EBB1EBD1EBF1EC11EC31EC51EC71EC91ECB1ECD1ECF1ED11ED31ED51ED71ED91EDB1EDD1EDF1EE11EE31EE51EE71EE91EEB1EED1EEF1EF11EF31EF51EF71EF91EFB1EFD1EFF-1F071F10-1F151F20-1F271F30-1F371F40-1F451F50-1F571F60-1F671F70-1F7D1F80-1F871F90-1F971FA0-1FA71FB0-1FB41FB61FB71FBE1FC2-1FC41FC61FC71FD0-1FD31FD61FD71FE0-1FE71FF2-1FF41FF61FF7210A210E210F2113212F21342139213C213D2146-2149214E21842C30-2C5E2C612C652C662C682C6A2C6C2C712C732C742C76-2C7C2C812C832C852C872C892C8B2C8D2C8F2C912C932C952C972C992C9B2C9D2C9F2CA12CA32CA52CA72CA92CAB2CAD2CAF2CB12CB32CB52CB72CB92CBB2CBD2CBF2CC12CC32CC52CC72CC92CCB2CCD2CCF2CD12CD32CD52CD72CD92CDB2CDD2CDF2CE12CE32CE42CEC2CEE2D00-2D25A641A643A645A647A649A64BA64DA64FA651A653A655A657A659A65BA65DA65FA663A665A667A669A66BA66DA681A683A685A687A689A68BA68DA68FA691A693A695A697A723A725A727A729A72BA72DA72F-A731A733A735A737A739A73BA73DA73FA741A743A745A747A749A74BA74DA74FA751A753A755A757A759A75BA75DA75FA761A763A765A767A769A76BA76DA76FA771-A778A77AA77CA77FA781A783A785A787A78CFB00-FB06FB13-FB17FF41-FF5A",Lu:"0041-005A00C0-00D600D8-00DE01000102010401060108010A010C010E01100112011401160118011A011C011E01200122012401260128012A012C012E01300132013401360139013B013D013F0141014301450147014A014C014E01500152015401560158015A015C015E01600162016401660168016A016C016E017001720174017601780179017B017D018101820184018601870189-018B018E-0191019301940196-0198019C019D019F01A001A201A401A601A701A901AC01AE01AF01B1-01B301B501B701B801BC01C401C701CA01CD01CF01D101D301D501D701D901DB01DE01E001E201E401E601E801EA01EC01EE01F101F401F6-01F801FA01FC01FE02000202020402060208020A020C020E02100212021402160218021A021C021E02200222022402260228022A022C022E02300232023A023B023D023E02410243-02460248024A024C024E03700372037603860388-038A038C038E038F0391-03A103A3-03AB03CF03D2-03D403D803DA03DC03DE03E003E203E403E603E803EA03EC03EE03F403F703F903FA03FD-042F04600462046404660468046A046C046E04700472047404760478047A047C047E0480048A048C048E04900492049404960498049A049C049E04A004A204A404A604A804AA04AC04AE04B004B204B404B604B804BA04BC04BE04C004C104C304C504C704C904CB04CD04D004D204D404D604D804DA04DC04DE04E004E204E404E604E804EA04EC04EE04F004F204F404F604F804FA04FC04FE05000502050405060508050A050C050E05100512051405160518051A051C051E0520052205240531-055610A0-10C51E001E021E041E061E081E0A1E0C1E0E1E101E121E141E161E181E1A1E1C1E1E1E201E221E241E261E281E2A1E2C1E2E1E301E321E341E361E381E3A1E3C1E3E1E401E421E441E461E481E4A1E4C1E4E1E501E521E541E561E581E5A1E5C1E5E1E601E621E641E661E681E6A1E6C1E6E1E701E721E741E761E781E7A1E7C1E7E1E801E821E841E861E881E8A1E8C1E8E1E901E921E941E9E1EA01EA21EA41EA61EA81EAA1EAC1EAE1EB01EB21EB41EB61EB81EBA1EBC1EBE1EC01EC21EC41EC61EC81ECA1ECC1ECE1ED01ED21ED41ED61ED81EDA1EDC1EDE1EE01EE21EE41EE61EE81EEA1EEC1EEE1EF01EF21EF41EF61EF81EFA1EFC1EFE1F08-1F0F1F18-1F1D1F28-1F2F1F38-1F3F1F48-1F4D1F591F5B1F5D1F5F1F68-1F6F1FB8-1FBB1FC8-1FCB1FD8-1FDB1FE8-1FEC1FF8-1FFB21022107210B-210D2110-211221152119-211D212421262128212A-212D2130-2133213E213F214521832C00-2C2E2C602C62-2C642C672C692C6B2C6D-2C702C722C752C7E-2C802C822C842C862C882C8A2C8C2C8E2C902C922C942C962C982C9A2C9C2C9E2CA02CA22CA42CA62CA82CAA2CAC2CAE2CB02CB22CB42CB62CB82CBA2CBC2CBE2CC02CC22CC42CC62CC82CCA2CCC2CCE2CD02CD22CD42CD62CD82CDA2CDC2CDE2CE02CE22CEB2CEDA640A642A644A646A648A64AA64CA64EA650A652A654A656A658A65AA65CA65EA662A664A666A668A66AA66CA680A682A684A686A688A68AA68CA68EA690A692A694A696A722A724A726A728A72AA72CA72EA732A734A736A738A73AA73CA73EA740A742A744A746A748A74AA74CA74EA750A752A754A756A758A75AA75CA75EA760A762A764A766A768A76AA76CA76EA779A77BA77DA77EA780A782A784A786A78BFF21-FF3A",Lt:"01C501C801CB01F21F88-1F8F1F98-1F9F1FA8-1FAF1FBC1FCC1FFC",Lm:"02B0-02C102C6-02D102E0-02E402EC02EE0374037A0559064006E506E607F407F507FA081A0824082809710E460EC610FC17D718431AA71C78-1C7D1D2C-1D611D781D9B-1DBF2071207F2090-20942C7D2D6F2E2F30053031-3035303B309D309E30FC-30FEA015A4F8-A4FDA60CA67FA717-A71FA770A788A9CFAA70AADDFF70FF9EFF9F",Lo:"01BB01C0-01C3029405D0-05EA05F0-05F20621-063F0641-064A066E066F0671-06D306D506EE06EF06FA-06FC06FF07100712-072F074D-07A507B107CA-07EA0800-08150904-0939093D09500958-096109720979-097F0985-098C098F09900993-09A809AA-09B009B209B6-09B909BD09CE09DC09DD09DF-09E109F009F10A05-0A0A0A0F0A100A13-0A280A2A-0A300A320A330A350A360A380A390A59-0A5C0A5E0A72-0A740A85-0A8D0A8F-0A910A93-0AA80AAA-0AB00AB20AB30AB5-0AB90ABD0AD00AE00AE10B05-0B0C0B0F0B100B13-0B280B2A-0B300B320B330B35-0B390B3D0B5C0B5D0B5F-0B610B710B830B85-0B8A0B8E-0B900B92-0B950B990B9A0B9C0B9E0B9F0BA30BA40BA8-0BAA0BAE-0BB90BD00C05-0C0C0C0E-0C100C12-0C280C2A-0C330C35-0C390C3D0C580C590C600C610C85-0C8C0C8E-0C900C92-0CA80CAA-0CB30CB5-0CB90CBD0CDE0CE00CE10D05-0D0C0D0E-0D100D12-0D280D2A-0D390D3D0D600D610D7A-0D7F0D85-0D960D9A-0DB10DB3-0DBB0DBD0DC0-0DC60E01-0E300E320E330E40-0E450E810E820E840E870E880E8A0E8D0E94-0E970E99-0E9F0EA1-0EA30EA50EA70EAA0EAB0EAD-0EB00EB20EB30EBD0EC0-0EC40EDC0EDD0F000F40-0F470F49-0F6C0F88-0F8B1000-102A103F1050-1055105A-105D106110651066106E-10701075-1081108E10D0-10FA1100-1248124A-124D1250-12561258125A-125D1260-1288128A-128D1290-12B012B2-12B512B8-12BE12C012C2-12C512C8-12D612D8-13101312-13151318-135A1380-138F13A0-13F41401-166C166F-167F1681-169A16A0-16EA1700-170C170E-17111720-17311740-17511760-176C176E-17701780-17B317DC1820-18421844-18771880-18A818AA18B0-18F51900-191C1950-196D1970-19741980-19AB19C1-19C71A00-1A161A20-1A541B05-1B331B45-1B4B1B83-1BA01BAE1BAF1C00-1C231C4D-1C4F1C5A-1C771CE9-1CEC1CEE-1CF12135-21382D30-2D652D80-2D962DA0-2DA62DA8-2DAE2DB0-2DB62DB8-2DBE2DC0-2DC62DC8-2DCE2DD0-2DD62DD8-2DDE3006303C3041-3096309F30A1-30FA30FF3105-312D3131-318E31A0-31B731F0-31FF3400-4DB54E00-9FCBA000-A014A016-A48CA4D0-A4F7A500-A60BA610-A61FA62AA62BA66EA6A0-A6E5A7FB-A801A803-A805A807-A80AA80C-A822A840-A873A882-A8B3A8F2-A8F7A8FBA90A-A925A930-A946A960-A97CA984-A9B2AA00-AA28AA40-AA42AA44-AA4BAA60-AA6FAA71-AA76AA7AAA80-AAAFAAB1AAB5AAB6AAB9-AABDAAC0AAC2AADBAADCABC0-ABE2AC00-D7A3D7B0-D7C6D7CB-D7FBF900-FA2DFA30-FA6DFA70-FAD9FB1DFB1F-FB28FB2A-FB36FB38-FB3CFB3EFB40FB41FB43FB44FB46-FBB1FBD3-FD3DFD50-FD8FFD92-FDC7FDF0-FDFBFE70-FE74FE76-FEFCFF66-FF6FFF71-FF9DFFA0-FFBEFFC2-FFC7FFCA-FFCFFFD2-FFD7FFDA-FFDC",M:"0300-036F0483-04890591-05BD05BF05C105C205C405C505C70610-061A064B-065E067006D6-06DC06DE-06E406E706E806EA-06ED07110730-074A07A6-07B007EB-07F30816-0819081B-08230825-08270829-082D0900-0903093C093E-094E0951-0955096209630981-098309BC09BE-09C409C709C809CB-09CD09D709E209E30A01-0A030A3C0A3E-0A420A470A480A4B-0A4D0A510A700A710A750A81-0A830ABC0ABE-0AC50AC7-0AC90ACB-0ACD0AE20AE30B01-0B030B3C0B3E-0B440B470B480B4B-0B4D0B560B570B620B630B820BBE-0BC20BC6-0BC80BCA-0BCD0BD70C01-0C030C3E-0C440C46-0C480C4A-0C4D0C550C560C620C630C820C830CBC0CBE-0CC40CC6-0CC80CCA-0CCD0CD50CD60CE20CE30D020D030D3E-0D440D46-0D480D4A-0D4D0D570D620D630D820D830DCA0DCF-0DD40DD60DD8-0DDF0DF20DF30E310E34-0E3A0E47-0E4E0EB10EB4-0EB90EBB0EBC0EC8-0ECD0F180F190F350F370F390F3E0F3F0F71-0F840F860F870F90-0F970F99-0FBC0FC6102B-103E1056-1059105E-10601062-10641067-106D1071-10741082-108D108F109A-109D135F1712-17141732-1734175217531772177317B6-17D317DD180B-180D18A91920-192B1930-193B19B0-19C019C819C91A17-1A1B1A55-1A5E1A60-1A7C1A7F1B00-1B041B34-1B441B6B-1B731B80-1B821BA1-1BAA1C24-1C371CD0-1CD21CD4-1CE81CED1CF21DC0-1DE61DFD-1DFF20D0-20F02CEF-2CF12DE0-2DFF302A-302F3099309AA66F-A672A67CA67DA6F0A6F1A802A806A80BA823-A827A880A881A8B4-A8C4A8E0-A8F1A926-A92DA947-A953A980-A983A9B3-A9C0AA29-AA36AA43AA4CAA4DAA7BAAB0AAB2-AAB4AAB7AAB8AABEAABFAAC1ABE3-ABEAABECABEDFB1EFE00-FE0FFE20-FE26",Mn:"0300-036F0483-04870591-05BD05BF05C105C205C405C505C70610-061A064B-065E067006D6-06DC06DF-06E406E706E806EA-06ED07110730-074A07A6-07B007EB-07F30816-0819081B-08230825-08270829-082D0900-0902093C0941-0948094D0951-095509620963098109BC09C1-09C409CD09E209E30A010A020A3C0A410A420A470A480A4B-0A4D0A510A700A710A750A810A820ABC0AC1-0AC50AC70AC80ACD0AE20AE30B010B3C0B3F0B41-0B440B4D0B560B620B630B820BC00BCD0C3E-0C400C46-0C480C4A-0C4D0C550C560C620C630CBC0CBF0CC60CCC0CCD0CE20CE30D41-0D440D4D0D620D630DCA0DD2-0DD40DD60E310E34-0E3A0E47-0E4E0EB10EB4-0EB90EBB0EBC0EC8-0ECD0F180F190F350F370F390F71-0F7E0F80-0F840F860F870F90-0F970F99-0FBC0FC6102D-10301032-10371039103A103D103E10581059105E-10601071-1074108210851086108D109D135F1712-17141732-1734175217531772177317B7-17BD17C617C9-17D317DD180B-180D18A91920-19221927192819321939-193B1A171A181A561A58-1A5E1A601A621A65-1A6C1A73-1A7C1A7F1B00-1B031B341B36-1B3A1B3C1B421B6B-1B731B801B811BA2-1BA51BA81BA91C2C-1C331C361C371CD0-1CD21CD4-1CE01CE2-1CE81CED1DC0-1DE61DFD-1DFF20D0-20DC20E120E5-20F02CEF-2CF12DE0-2DFF302A-302F3099309AA66FA67CA67DA6F0A6F1A802A806A80BA825A826A8C4A8E0-A8F1A926-A92DA947-A951A980-A982A9B3A9B6-A9B9A9BCAA29-AA2EAA31AA32AA35AA36AA43AA4CAAB0AAB2-AAB4AAB7AAB8AABEAABFAAC1ABE5ABE8ABEDFB1EFE00-FE0FFE20-FE26",Mc:"0903093E-09400949-094C094E0982098309BE-09C009C709C809CB09CC09D70A030A3E-0A400A830ABE-0AC00AC90ACB0ACC0B020B030B3E0B400B470B480B4B0B4C0B570BBE0BBF0BC10BC20BC6-0BC80BCA-0BCC0BD70C01-0C030C41-0C440C820C830CBE0CC0-0CC40CC70CC80CCA0CCB0CD50CD60D020D030D3E-0D400D46-0D480D4A-0D4C0D570D820D830DCF-0DD10DD8-0DDF0DF20DF30F3E0F3F0F7F102B102C10311038103B103C105610571062-10641067-106D108310841087-108C108F109A-109C17B617BE-17C517C717C81923-19261929-192B193019311933-193819B0-19C019C819C91A19-1A1B1A551A571A611A631A641A6D-1A721B041B351B3B1B3D-1B411B431B441B821BA11BA61BA71BAA1C24-1C2B1C341C351CE11CF2A823A824A827A880A881A8B4-A8C3A952A953A983A9B4A9B5A9BAA9BBA9BD-A9C0AA2FAA30AA33AA34AA4DAA7BABE3ABE4ABE6ABE7ABE9ABEAABEC",Me:"0488048906DE20DD-20E020E2-20E4A670-A672",N:"0030-003900B200B300B900BC-00BE0660-066906F0-06F907C0-07C90966-096F09E6-09EF09F4-09F90A66-0A6F0AE6-0AEF0B66-0B6F0BE6-0BF20C66-0C6F0C78-0C7E0CE6-0CEF0D66-0D750E50-0E590ED0-0ED90F20-0F331040-10491090-10991369-137C16EE-16F017E0-17E917F0-17F91810-18191946-194F19D0-19DA1A80-1A891A90-1A991B50-1B591BB0-1BB91C40-1C491C50-1C5920702074-20792080-20892150-21822185-21892460-249B24EA-24FF2776-27932CFD30073021-30293038-303A3192-31953220-32293251-325F3280-328932B1-32BFA620-A629A6E6-A6EFA830-A835A8D0-A8D9A900-A909A9D0-A9D9AA50-AA59ABF0-ABF9FF10-FF19",Nd:"0030-00390660-066906F0-06F907C0-07C90966-096F09E6-09EF0A66-0A6F0AE6-0AEF0B66-0B6F0BE6-0BEF0C66-0C6F0CE6-0CEF0D66-0D6F0E50-0E590ED0-0ED90F20-0F291040-10491090-109917E0-17E91810-18191946-194F19D0-19DA1A80-1A891A90-1A991B50-1B591BB0-1BB91C40-1C491C50-1C59A620-A629A8D0-A8D9A900-A909A9D0-A9D9AA50-AA59ABF0-ABF9FF10-FF19",Nl:"16EE-16F02160-21822185-218830073021-30293038-303AA6E6-A6EF",No:"00B200B300B900BC-00BE09F4-09F90BF0-0BF20C78-0C7E0D70-0D750F2A-0F331369-137C17F0-17F920702074-20792080-20892150-215F21892460-249B24EA-24FF2776-27932CFD3192-31953220-32293251-325F3280-328932B1-32BFA830-A835",P:"0021-00230025-002A002C-002F003A003B003F0040005B-005D005F007B007D00A100AB00B700BB00BF037E0387055A-055F0589058A05BE05C005C305C605F305F40609060A060C060D061B061E061F066A-066D06D40700-070D07F7-07F90830-083E0964096509700DF40E4F0E5A0E5B0F04-0F120F3A-0F3D0F850FD0-0FD4104A-104F10FB1361-13681400166D166E169B169C16EB-16ED1735173617D4-17D617D8-17DA1800-180A1944194519DE19DF1A1E1A1F1AA0-1AA61AA8-1AAD1B5A-1B601C3B-1C3F1C7E1C7F1CD32010-20272030-20432045-20512053-205E207D207E208D208E2329232A2768-277527C527C627E6-27EF2983-299829D8-29DB29FC29FD2CF9-2CFC2CFE2CFF2E00-2E2E2E302E313001-30033008-30113014-301F3030303D30A030FBA4FEA4FFA60D-A60FA673A67EA6F2-A6F7A874-A877A8CEA8CFA8F8-A8FAA92EA92FA95FA9C1-A9CDA9DEA9DFAA5C-AA5FAADEAADFABEBFD3EFD3FFE10-FE19FE30-FE52FE54-FE61FE63FE68FE6AFE6BFF01-FF03FF05-FF0AFF0C-FF0FFF1AFF1BFF1FFF20FF3B-FF3DFF3FFF5BFF5DFF5F-FF65",Pd:"002D058A05BE140018062010-20152E172E1A301C303030A0FE31FE32FE58FE63FF0D",Ps:"0028005B007B0F3A0F3C169B201A201E2045207D208D23292768276A276C276E27702772277427C527E627E827EA27EC27EE2983298529872989298B298D298F299129932995299729D829DA29FC2E222E242E262E283008300A300C300E3010301430163018301A301DFD3EFE17FE35FE37FE39FE3BFE3DFE3FFE41FE43FE47FE59FE5BFE5DFF08FF3BFF5BFF5FFF62",Pe:"0029005D007D0F3B0F3D169C2046207E208E232A2769276B276D276F27712773277527C627E727E927EB27ED27EF298429862988298A298C298E2990299229942996299829D929DB29FD2E232E252E272E293009300B300D300F3011301530173019301B301E301FFD3FFE18FE36FE38FE3AFE3CFE3EFE40FE42FE44FE48FE5AFE5CFE5EFF09FF3DFF5DFF60FF63",Pi:"00AB2018201B201C201F20392E022E042E092E0C2E1C2E20",Pf:"00BB2019201D203A2E032E052E0A2E0D2E1D2E21",Pc:"005F203F20402054FE33FE34FE4D-FE4FFF3F",Po:"0021-00230025-0027002A002C002E002F003A003B003F0040005C00A100B700BF037E0387055A-055F058905C005C305C605F305F40609060A060C060D061B061E061F066A-066D06D40700-070D07F7-07F90830-083E0964096509700DF40E4F0E5A0E5B0F04-0F120F850FD0-0FD4104A-104F10FB1361-1368166D166E16EB-16ED1735173617D4-17D617D8-17DA1800-18051807-180A1944194519DE19DF1A1E1A1F1AA0-1AA61AA8-1AAD1B5A-1B601C3B-1C3F1C7E1C7F1CD3201620172020-20272030-2038203B-203E2041-20432047-205120532055-205E2CF9-2CFC2CFE2CFF2E002E012E06-2E082E0B2E0E-2E162E182E192E1B2E1E2E1F2E2A-2E2E2E302E313001-3003303D30FBA4FEA4FFA60D-A60FA673A67EA6F2-A6F7A874-A877A8CEA8CFA8F8-A8FAA92EA92FA95FA9C1-A9CDA9DEA9DFAA5C-AA5FAADEAADFABEBFE10-FE16FE19FE30FE45FE46FE49-FE4CFE50-FE52FE54-FE57FE5F-FE61FE68FE6AFE6BFF01-FF03FF05-FF07FF0AFF0CFF0EFF0FFF1AFF1BFF1FFF20FF3CFF61FF64FF65",S:"0024002B003C-003E005E0060007C007E00A2-00A900AC00AE-00B100B400B600B800D700F702C2-02C502D2-02DF02E5-02EB02ED02EF-02FF03750384038503F604820606-0608060B060E060F06E906FD06FE07F609F209F309FA09FB0AF10B700BF3-0BFA0C7F0CF10CF20D790E3F0F01-0F030F13-0F170F1A-0F1F0F340F360F380FBE-0FC50FC7-0FCC0FCE0FCF0FD5-0FD8109E109F13601390-139917DB194019E0-19FF1B61-1B6A1B74-1B7C1FBD1FBF-1FC11FCD-1FCF1FDD-1FDF1FED-1FEF1FFD1FFE20442052207A-207C208A-208C20A0-20B8210021012103-21062108210921142116-2118211E-2123212521272129212E213A213B2140-2144214A-214D214F2190-2328232B-23E82400-24262440-244A249C-24E92500-26CD26CF-26E126E326E8-26FF2701-27042706-2709270C-27272729-274B274D274F-27522756-275E2761-276727942798-27AF27B1-27BE27C0-27C427C7-27CA27CC27D0-27E527F0-29822999-29D729DC-29FB29FE-2B4C2B50-2B592CE5-2CEA2E80-2E992E9B-2EF32F00-2FD52FF0-2FFB300430123013302030363037303E303F309B309C319031913196-319F31C0-31E33200-321E322A-32503260-327F328A-32B032C0-32FE3300-33FF4DC0-4DFFA490-A4C6A700-A716A720A721A789A78AA828-A82BA836-A839AA77-AA79FB29FDFCFDFDFE62FE64-FE66FE69FF04FF0BFF1C-FF1EFF3EFF40FF5CFF5EFFE0-FFE6FFE8-FFEEFFFCFFFD",Sm:"002B003C-003E007C007E00AC00B100D700F703F60606-060820442052207A-207C208A-208C2140-2144214B2190-2194219A219B21A021A321A621AE21CE21CF21D221D421F4-22FF2308-230B23202321237C239B-23B323DC-23E125B725C125F8-25FF266F27C0-27C427C7-27CA27CC27D0-27E527F0-27FF2900-29822999-29D729DC-29FB29FE-2AFF2B30-2B442B47-2B4CFB29FE62FE64-FE66FF0BFF1C-FF1EFF5CFF5EFFE2FFE9-FFEC",Sc:"002400A2-00A5060B09F209F309FB0AF10BF90E3F17DB20A0-20B8A838FDFCFE69FF04FFE0FFE1FFE5FFE6",Sk:"005E006000A800AF00B400B802C2-02C502D2-02DF02E5-02EB02ED02EF-02FF0375038403851FBD1FBF-1FC11FCD-1FCF1FDD-1FDF1FED-1FEF1FFD1FFE309B309CA700-A716A720A721A789A78AFF3EFF40FFE3",So:"00A600A700A900AE00B000B60482060E060F06E906FD06FE07F609FA0B700BF3-0BF80BFA0C7F0CF10CF20D790F01-0F030F13-0F170F1A-0F1F0F340F360F380FBE-0FC50FC7-0FCC0FCE0FCF0FD5-0FD8109E109F13601390-1399194019E0-19FF1B61-1B6A1B74-1B7C210021012103-21062108210921142116-2118211E-2123212521272129212E213A213B214A214C214D214F2195-2199219C-219F21A121A221A421A521A7-21AD21AF-21CD21D021D121D321D5-21F32300-2307230C-231F2322-2328232B-237B237D-239A23B4-23DB23E2-23E82400-24262440-244A249C-24E92500-25B625B8-25C025C2-25F72600-266E2670-26CD26CF-26E126E326E8-26FF2701-27042706-2709270C-27272729-274B274D274F-27522756-275E2761-276727942798-27AF27B1-27BE2800-28FF2B00-2B2F2B452B462B50-2B592CE5-2CEA2E80-2E992E9B-2EF32F00-2FD52FF0-2FFB300430123013302030363037303E303F319031913196-319F31C0-31E33200-321E322A-32503260-327F328A-32B032C0-32FE3300-33FF4DC0-4DFFA490-A4C6A828-A82BA836A837A839AA77-AA79FDFDFFE4FFE8FFEDFFEEFFFCFFFD",Z:"002000A01680180E2000-200A20282029202F205F3000",Zs:"002000A01680180E2000-200A202F205F3000",Zl:"2028",Zp:"2029",C:"0000-001F007F-009F00AD03780379037F-0383038B038D03A20526-05300557055805600588058B-059005C8-05CF05EB-05EF05F5-0605061C061D0620065F06DD070E070F074B074C07B2-07BF07FB-07FF082E082F083F-08FF093A093B094F095609570973-097809800984098D098E0991099209A909B109B3-09B509BA09BB09C509C609C909CA09CF-09D609D8-09DB09DE09E409E509FC-0A000A040A0B-0A0E0A110A120A290A310A340A370A3A0A3B0A3D0A43-0A460A490A4A0A4E-0A500A52-0A580A5D0A5F-0A650A76-0A800A840A8E0A920AA90AB10AB40ABA0ABB0AC60ACA0ACE0ACF0AD1-0ADF0AE40AE50AF00AF2-0B000B040B0D0B0E0B110B120B290B310B340B3A0B3B0B450B460B490B4A0B4E-0B550B58-0B5B0B5E0B640B650B72-0B810B840B8B-0B8D0B910B96-0B980B9B0B9D0BA0-0BA20BA5-0BA70BAB-0BAD0BBA-0BBD0BC3-0BC50BC90BCE0BCF0BD1-0BD60BD8-0BE50BFB-0C000C040C0D0C110C290C340C3A-0C3C0C450C490C4E-0C540C570C5A-0C5F0C640C650C70-0C770C800C810C840C8D0C910CA90CB40CBA0CBB0CC50CC90CCE-0CD40CD7-0CDD0CDF0CE40CE50CF00CF3-0D010D040D0D0D110D290D3A-0D3C0D450D490D4E-0D560D58-0D5F0D640D650D76-0D780D800D810D840D97-0D990DB20DBC0DBE0DBF0DC7-0DC90DCB-0DCE0DD50DD70DE0-0DF10DF5-0E000E3B-0E3E0E5C-0E800E830E850E860E890E8B0E8C0E8E-0E930E980EA00EA40EA60EA80EA90EAC0EBA0EBE0EBF0EC50EC70ECE0ECF0EDA0EDB0EDE-0EFF0F480F6D-0F700F8C-0F8F0F980FBD0FCD0FD9-0FFF10C6-10CF10FD-10FF1249124E124F12571259125E125F1289128E128F12B112B612B712BF12C112C612C712D7131113161317135B-135E137D-137F139A-139F13F5-13FF169D-169F16F1-16FF170D1715-171F1737-173F1754-175F176D17711774-177F17B417B517DE17DF17EA-17EF17FA-17FF180F181A-181F1878-187F18AB-18AF18F6-18FF191D-191F192C-192F193C-193F1941-1943196E196F1975-197F19AC-19AF19CA-19CF19DB-19DD1A1C1A1D1A5F1A7D1A7E1A8A-1A8F1A9A-1A9F1AAE-1AFF1B4C-1B4F1B7D-1B7F1BAB-1BAD1BBA-1BFF1C38-1C3A1C4A-1C4C1C80-1CCF1CF3-1CFF1DE7-1DFC1F161F171F1E1F1F1F461F471F4E1F4F1F581F5A1F5C1F5E1F7E1F7F1FB51FC51FD41FD51FDC1FF01FF11FF51FFF200B-200F202A-202E2060-206F20722073208F2095-209F20B9-20CF20F1-20FF218A-218F23E9-23FF2427-243F244B-245F26CE26E226E4-26E727002705270A270B2728274C274E2753-2755275F27602795-279727B027BF27CB27CD-27CF2B4D-2B4F2B5A-2BFF2C2F2C5F2CF2-2CF82D26-2D2F2D66-2D6E2D70-2D7F2D97-2D9F2DA72DAF2DB72DBF2DC72DCF2DD72DDF2E32-2E7F2E9A2EF4-2EFF2FD6-2FEF2FFC-2FFF3040309730983100-3104312E-3130318F31B8-31BF31E4-31EF321F32FF4DB6-4DBF9FCC-9FFFA48D-A48FA4C7-A4CFA62C-A63FA660A661A674-A67BA698-A69FA6F8-A6FFA78D-A7FAA82C-A82FA83A-A83FA878-A87FA8C5-A8CDA8DA-A8DFA8FC-A8FFA954-A95EA97D-A97FA9CEA9DA-A9DDA9E0-A9FFAA37-AA3FAA4EAA4FAA5AAA5BAA7C-AA7FAAC3-AADAAAE0-ABBFABEEABEFABFA-ABFFD7A4-D7AFD7C7-D7CAD7FC-F8FFFA2EFA2FFA6EFA6FFADA-FAFFFB07-FB12FB18-FB1CFB37FB3DFB3FFB42FB45FBB2-FBD2FD40-FD4FFD90FD91FDC8-FDEFFDFEFDFFFE1A-FE1FFE27-FE2FFE53FE67FE6C-FE6FFE75FEFD-FF00FFBF-FFC1FFC8FFC9FFD0FFD1FFD8FFD9FFDD-FFDFFFE7FFEF-FFFBFFFEFFFF",Cc:"0000-001F007F-009F",Cf:"00AD0600-060306DD070F17B417B5200B-200F202A-202E2060-2064206A-206FFEFFFFF9-FFFB",Co:"E000-F8FF",Cs:"D800-DFFF",Cn:"03780379037F-0383038B038D03A20526-05300557055805600588058B-059005C8-05CF05EB-05EF05F5-05FF06040605061C061D0620065F070E074B074C07B2-07BF07FB-07FF082E082F083F-08FF093A093B094F095609570973-097809800984098D098E0991099209A909B109B3-09B509BA09BB09C509C609C909CA09CF-09D609D8-09DB09DE09E409E509FC-0A000A040A0B-0A0E0A110A120A290A310A340A370A3A0A3B0A3D0A43-0A460A490A4A0A4E-0A500A52-0A580A5D0A5F-0A650A76-0A800A840A8E0A920AA90AB10AB40ABA0ABB0AC60ACA0ACE0ACF0AD1-0ADF0AE40AE50AF00AF2-0B000B040B0D0B0E0B110B120B290B310B340B3A0B3B0B450B460B490B4A0B4E-0B550B58-0B5B0B5E0B640B650B72-0B810B840B8B-0B8D0B910B96-0B980B9B0B9D0BA0-0BA20BA5-0BA70BAB-0BAD0BBA-0BBD0BC3-0BC50BC90BCE0BCF0BD1-0BD60BD8-0BE50BFB-0C000C040C0D0C110C290C340C3A-0C3C0C450C490C4E-0C540C570C5A-0C5F0C640C650C70-0C770C800C810C840C8D0C910CA90CB40CBA0CBB0CC50CC90CCE-0CD40CD7-0CDD0CDF0CE40CE50CF00CF3-0D010D040D0D0D110D290D3A-0D3C0D450D490D4E-0D560D58-0D5F0D640D650D76-0D780D800D810D840D97-0D990DB20DBC0DBE0DBF0DC7-0DC90DCB-0DCE0DD50DD70DE0-0DF10DF5-0E000E3B-0E3E0E5C-0E800E830E850E860E890E8B0E8C0E8E-0E930E980EA00EA40EA60EA80EA90EAC0EBA0EBE0EBF0EC50EC70ECE0ECF0EDA0EDB0EDE-0EFF0F480F6D-0F700F8C-0F8F0F980FBD0FCD0FD9-0FFF10C6-10CF10FD-10FF1249124E124F12571259125E125F1289128E128F12B112B612B712BF12C112C612C712D7131113161317135B-135E137D-137F139A-139F13F5-13FF169D-169F16F1-16FF170D1715-171F1737-173F1754-175F176D17711774-177F17DE17DF17EA-17EF17FA-17FF180F181A-181F1878-187F18AB-18AF18F6-18FF191D-191F192C-192F193C-193F1941-1943196E196F1975-197F19AC-19AF19CA-19CF19DB-19DD1A1C1A1D1A5F1A7D1A7E1A8A-1A8F1A9A-1A9F1AAE-1AFF1B4C-1B4F1B7D-1B7F1BAB-1BAD1BBA-1BFF1C38-1C3A1C4A-1C4C1C80-1CCF1CF3-1CFF1DE7-1DFC1F161F171F1E1F1F1F461F471F4E1F4F1F581F5A1F5C1F5E1F7E1F7F1FB51FC51FD41FD51FDC1FF01FF11FF51FFF2065-206920722073208F2095-209F20B9-20CF20F1-20FF218A-218F23E9-23FF2427-243F244B-245F26CE26E226E4-26E727002705270A270B2728274C274E2753-2755275F27602795-279727B027BF27CB27CD-27CF2B4D-2B4F2B5A-2BFF2C2F2C5F2CF2-2CF82D26-2D2F2D66-2D6E2D70-2D7F2D97-2D9F2DA72DAF2DB72DBF2DC72DCF2DD72DDF2E32-2E7F2E9A2EF4-2EFF2FD6-2FEF2FFC-2FFF3040309730983100-3104312E-3130318F31B8-31BF31E4-31EF321F32FF4DB6-4DBF9FCC-9FFFA48D-A48FA4C7-A4CFA62C-A63FA660A661A674-A67BA698-A69FA6F8-A6FFA78D-A7FAA82C-A82FA83A-A83FA878-A87FA8C5-A8CDA8DA-A8DFA8FC-A8FFA954-A95EA97D-A97FA9CEA9DA-A9DDA9E0-A9FFAA37-AA3FAA4EAA4FAA5AAA5BAA7C-AA7FAAC3-AADAAAE0-ABBFABEEABEFABFA-ABFFD7A4-D7AFD7C7-D7CAD7FC-D7FFFA2EFA2FFA6EFA6FFADA-FAFFFB07-FB12FB18-FB1CFB37FB3DFB3FFB42FB45FBB2-FBD2FD40-FD4FFD90FD91FDC8-FDEFFDFEFDFFFE1A-FE1FFE27-FE2FFE53FE67FE6C-FE6FFE75FEFDFEFEFF00FFBF-FFC1FFC8FFC9FFD0FFD1FFD8FFD9FFDD-FFDFFFE7FFEF-FFF8FFFEFFFF"})
|
1 |
+
/*! PopUp Free - v4.7.09
|
2 |
* https://wordpress.org/plugins/wordpress-popup/
|
3 |
+
* Copyright (c) 2015; * Licensed GPLv2+ */
|
4 |
(function(){function e(e){var t=function(e,t){return s("",e,t)},r=i;e&&(i[e]||(i[e]={}),r=i[e]),r.define&&r.define.packaged||(n.original=r.define,r.define=n,r.define.packaged=!0),r.require&&r.require.packaged||(s.original=r.require,r.require=t,r.require.packaged=!0)}var t="ace",i=function(){return this}();if(t||"undefined"==typeof requirejs){var n=function(e,t,i){return"string"!=typeof e?(n.original?n.original.apply(window,arguments):(console.error("dropping module because define wasn't a string."),console.trace()),void 0):(2==arguments.length&&(i=t),n.modules||(n.modules={},n.payloads={}),n.payloads[e]=i,n.modules[e]=null,void 0)},s=function(e,t,i){if("[object Array]"===Object.prototype.toString.call(t)){for(var n=[],r=0,a=t.length;a>r;++r){var l=o(e,t[r]);if(!l&&s.original)return s.original.apply(window,arguments);n.push(l)}i&&i.apply(null,n)}else{if("string"==typeof t){var h=o(e,t);return!h&&s.original?s.original.apply(window,arguments):(i&&i(),h)}if(s.original)return s.original.apply(window,arguments)}},r=function(e,t){if(-1!==t.indexOf("!")){var i=t.split("!");return r(e,i[0])+"!"+r(e,i[1])}if("."==t.charAt(0)){var n=e.split("/").slice(0,-1).join("/");for(t=n+"/"+t;-1!==t.indexOf(".")&&s!=t;){var s=t;t=t.replace(/\/\.\//,"/").replace(/[^\/]+\/\.\.\//,"")}}return t},o=function(e,t){t=r(e,t);var i=n.modules[t];if(!i){if(i=n.payloads[t],"function"==typeof i){var o={},a={id:t,uri:"",exports:o,packaged:!0},l=function(e,i){return s(t,e,i)},h=i(l,o,a);o=h||a.exports,n.modules[t]=o,delete n.payloads[t]}i=n.modules[t]=o||i}return i};e(t)}})(),ace.define("ace/lib/regexp",["require","exports","module"],function(){"use strict";function e(e){return(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.extended?"x":"")+(e.sticky?"y":"")}function t(e,t,i){if(Array.prototype.indexOf)return e.indexOf(t,i);for(var n=i||0;e.length>n;n++)if(e[n]===t)return n;return-1}var i={exec:RegExp.prototype.exec,test:RegExp.prototype.test,match:String.prototype.match,replace:String.prototype.replace,split:String.prototype.split},n=void 0===i.exec.call(/()??/,"")[1],s=function(){var e=/^/g;return i.test.call(e,""),!e.lastIndex}();s&&n||(RegExp.prototype.exec=function(r){var o,a,l=i.exec.apply(this,arguments);if("string"==typeof r&&l){if(!n&&l.length>1&&t(l,"")>-1&&(a=RegExp(this.source,i.replace.call(e(this),"g","")),i.replace.call(r.slice(l.index),a,function(){for(var e=1;arguments.length-2>e;e++)void 0===arguments[e]&&(l[e]=void 0)})),this._xregexp&&this._xregexp.captureNames)for(var h=1;l.length>h;h++)o=this._xregexp.captureNames[h-1],o&&(l[o]=l[h]);!s&&this.global&&!l[0].length&&this.lastIndex>l.index&&this.lastIndex--}return l},s||(RegExp.prototype.test=function(e){var t=i.exec.call(this,e);return t&&this.global&&!t[0].length&&this.lastIndex>t.index&&this.lastIndex--,!!t}))}),ace.define("ace/lib/es5-shim",["require","exports","module"],function(){function e(){}function t(e){try{return Object.defineProperty(e,"sentinel",{}),"sentinel"in e}catch(t){}}function i(e){return e=+e,e!==e?e=0:0!==e&&e!==1/0&&e!==-(1/0)&&(e=(e>0||-1)*Math.floor(Math.abs(e))),e}Function.prototype.bind||(Function.prototype.bind=function(t){var i=this;if("function"!=typeof i)throw new TypeError("Function.prototype.bind called on incompatible "+i);var n=u.call(arguments,1),s=function(){if(this instanceof s){var e=i.apply(this,n.concat(u.call(arguments)));return Object(e)===e?e:this}return i.apply(t,n.concat(u.call(arguments)))};return i.prototype&&(e.prototype=i.prototype,s.prototype=new e,e.prototype=null),s});var n,s,r,o,a,l=Function.prototype.call,h=Array.prototype,c=Object.prototype,u=h.slice,d=l.bind(c.toString),g=l.bind(c.hasOwnProperty);if((a=g(c,"__defineGetter__"))&&(n=l.bind(c.__defineGetter__),s=l.bind(c.__defineSetter__),r=l.bind(c.__lookupGetter__),o=l.bind(c.__lookupSetter__)),2!=[1,2].splice(0).length)if(function(){function e(e){var t=Array(e+2);return t[0]=t[1]=0,t}var t,i=[];return i.splice.apply(i,e(20)),i.splice.apply(i,e(26)),t=i.length,i.splice(5,0,"XXX"),t+1==i.length,t+1==i.length?!0:void 0}()){var f=Array.prototype.splice;Array.prototype.splice=function(e,t){return arguments.length?f.apply(this,[void 0===e?0:e,void 0===t?this.length-e:t].concat(u.call(arguments,2))):[]}}else Array.prototype.splice=function(e,t){var i=this.length;e>0?e>i&&(e=i):void 0==e?e=0:0>e&&(e=Math.max(i+e,0)),i>e+t||(t=i-e);var n=this.slice(e,e+t),s=u.call(arguments,2),r=s.length;if(e===i)r&&this.push.apply(this,s);else{var o=Math.min(t,i-e),a=e+o,l=a+r-o,h=i-a,c=i-o;if(a>l)for(var d=0;h>d;++d)this[l+d]=this[a+d];else if(l>a)for(d=h;d--;)this[l+d]=this[a+d];if(r&&e===c)this.length=c,this.push.apply(this,s);else for(this.length=c+r,d=0;r>d;++d)this[e+d]=s[d]}return n};Array.isArray||(Array.isArray=function(e){return"[object Array]"==d(e)});var m=Object("a"),p="a"!=m[0]||!(0 in m);if(Array.prototype.forEach||(Array.prototype.forEach=function(e){var t=T(this),i=p&&"[object String]"==d(this)?this.split(""):t,n=arguments[1],s=-1,r=i.length>>>0;if("[object Function]"!=d(e))throw new TypeError;for(;r>++s;)s in i&&e.call(n,i[s],s,t)}),Array.prototype.map||(Array.prototype.map=function(e){var t=T(this),i=p&&"[object String]"==d(this)?this.split(""):t,n=i.length>>>0,s=Array(n),r=arguments[1];if("[object Function]"!=d(e))throw new TypeError(e+" is not a function");for(var o=0;n>o;o++)o in i&&(s[o]=e.call(r,i[o],o,t));return s}),Array.prototype.filter||(Array.prototype.filter=function(e){var t,i=T(this),n=p&&"[object String]"==d(this)?this.split(""):i,s=n.length>>>0,r=[],o=arguments[1];if("[object Function]"!=d(e))throw new TypeError(e+" is not a function");for(var a=0;s>a;a++)a in n&&(t=n[a],e.call(o,t,a,i)&&r.push(t));return r}),Array.prototype.every||(Array.prototype.every=function(e){var t=T(this),i=p&&"[object String]"==d(this)?this.split(""):t,n=i.length>>>0,s=arguments[1];if("[object Function]"!=d(e))throw new TypeError(e+" is not a function");for(var r=0;n>r;r++)if(r in i&&!e.call(s,i[r],r,t))return!1;return!0}),Array.prototype.some||(Array.prototype.some=function(e){var t=T(this),i=p&&"[object String]"==d(this)?this.split(""):t,n=i.length>>>0,s=arguments[1];if("[object Function]"!=d(e))throw new TypeError(e+" is not a function");for(var r=0;n>r;r++)if(r in i&&e.call(s,i[r],r,t))return!0;return!1}),Array.prototype.reduce||(Array.prototype.reduce=function(e){var t=T(this),i=p&&"[object String]"==d(this)?this.split(""):t,n=i.length>>>0;if("[object Function]"!=d(e))throw new TypeError(e+" is not a function");if(!n&&1==arguments.length)throw new TypeError("reduce of empty array with no initial value");var s,r=0;if(arguments.length>=2)s=arguments[1];else for(;;){if(r in i){s=i[r++];break}if(++r>=n)throw new TypeError("reduce of empty array with no initial value")}for(;n>r;r++)r in i&&(s=e.call(void 0,s,i[r],r,t));return s}),Array.prototype.reduceRight||(Array.prototype.reduceRight=function(e){var t=T(this),i=p&&"[object String]"==d(this)?this.split(""):t,n=i.length>>>0;if("[object Function]"!=d(e))throw new TypeError(e+" is not a function");if(!n&&1==arguments.length)throw new TypeError("reduceRight of empty array with no initial value");var s,r=n-1;if(arguments.length>=2)s=arguments[1];else for(;;){if(r in i){s=i[r--];break}if(0>--r)throw new TypeError("reduceRight of empty array with no initial value")}do r in this&&(s=e.call(void 0,s,i[r],r,t));while(r--);return s}),Array.prototype.indexOf&&-1==[0,1].indexOf(1,2)||(Array.prototype.indexOf=function(e){var t=p&&"[object String]"==d(this)?this.split(""):T(this),n=t.length>>>0;if(!n)return-1;var s=0;for(arguments.length>1&&(s=i(arguments[1])),s=s>=0?s:Math.max(0,n+s);n>s;s++)if(s in t&&t[s]===e)return s;return-1}),Array.prototype.lastIndexOf&&-1==[0,1].lastIndexOf(0,-3)||(Array.prototype.lastIndexOf=function(e){var t=p&&"[object String]"==d(this)?this.split(""):T(this),n=t.length>>>0;if(!n)return-1;var s=n-1;for(arguments.length>1&&(s=Math.min(s,i(arguments[1]))),s=s>=0?s:n-Math.abs(s);s>=0;s--)if(s in t&&e===t[s])return s;return-1}),Object.getPrototypeOf||(Object.getPrototypeOf=function(e){return e.__proto__||(e.constructor?e.constructor.prototype:c)}),!Object.getOwnPropertyDescriptor){var A="Object.getOwnPropertyDescriptor called on a non-object: ";Object.getOwnPropertyDescriptor=function(e,t){if("object"!=typeof e&&"function"!=typeof e||null===e)throw new TypeError(A+e);if(g(e,t)){var i,n,s;if(i={enumerable:!0,configurable:!0},a){var l=e.__proto__;e.__proto__=c;var n=r(e,t),s=o(e,t);if(e.__proto__=l,n||s)return n&&(i.get=n),s&&(i.set=s),i}return i.value=e[t],i}}}if(Object.getOwnPropertyNames||(Object.getOwnPropertyNames=function(e){return Object.keys(e)}),!Object.create){var v;v=null===Object.prototype.__proto__?function(){return{__proto__:null}}:function(){var e={};for(var t in e)e[t]=null;return e.constructor=e.hasOwnProperty=e.propertyIsEnumerable=e.isPrototypeOf=e.toLocaleString=e.toString=e.valueOf=e.__proto__=null,e},Object.create=function(e,t){var i;if(null===e)i=v();else{if("object"!=typeof e)throw new TypeError("typeof prototype["+typeof e+"] != 'object'");var n=function(){};n.prototype=e,i=new n,i.__proto__=e}return void 0!==t&&Object.defineProperties(i,t),i}}if(Object.defineProperty){var C=t({}),F="undefined"==typeof document||t(document.createElement("div"));if(!C||!F)var w=Object.defineProperty}if(!Object.defineProperty||w){var E="Property description must be an object: ",b="Object.defineProperty called on non-object: ",y="getters & setters can not be defined on this javascript engine";Object.defineProperty=function(e,t,i){if("object"!=typeof e&&"function"!=typeof e||null===e)throw new TypeError(b+e);if("object"!=typeof i&&"function"!=typeof i||null===i)throw new TypeError(E+i);if(w)try{return w.call(Object,e,t,i)}catch(l){}if(g(i,"value"))if(a&&(r(e,t)||o(e,t))){var h=e.__proto__;e.__proto__=c,delete e[t],e[t]=i.value,e.__proto__=h}else e[t]=i.value;else{if(!a)throw new TypeError(y);g(i,"get")&&n(e,t,i.get),g(i,"set")&&s(e,t,i.set)}return e}}Object.defineProperties||(Object.defineProperties=function(e,t){for(var i in t)g(t,i)&&Object.defineProperty(e,i,t[i]);return e}),Object.seal||(Object.seal=function(e){return e}),Object.freeze||(Object.freeze=function(e){return e});try{Object.freeze(function(){})}catch($){Object.freeze=function(e){return function(t){return"function"==typeof t?t:e(t)}}(Object.freeze)}if(Object.preventExtensions||(Object.preventExtensions=function(e){return e}),Object.isSealed||(Object.isSealed=function(){return!1}),Object.isFrozen||(Object.isFrozen=function(){return!1}),Object.isExtensible||(Object.isExtensible=function(e){if(Object(e)===e)throw new TypeError;for(var t="";g(e,t);)t+="?";e[t]=!0;var i=g(e,t);return delete e[t],i}),!Object.keys){var B=!0,D=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],S=D.length;for(var k in{toString:null})B=!1;Object.keys=function(e){if("object"!=typeof e&&"function"!=typeof e||null===e)throw new TypeError("Object.keys called on a non-object");var t=[];for(var i in e)g(e,i)&&t.push(i);if(B)for(var n=0,s=S;s>n;n++){var r=D[n];g(e,r)&&t.push(r)}return t}}Date.now||(Date.now=function(){return(new Date).getTime()});var x=" \n\f\r \u2028\u2029";if(!String.prototype.trim||x.trim()){x="["+x+"]";var L=RegExp("^"+x+x+"*"),R=RegExp(x+x+"*$");String.prototype.trim=function(){return(this+"").replace(L,"").replace(R,"")}}var T=function(e){if(null==e)throw new TypeError("can't convert "+e+" to object");return Object(e)}}),ace.define("ace/lib/fixoldbrowsers",["require","exports","module","ace/lib/regexp","ace/lib/es5-shim"],function(e){"use strict";e("./regexp"),e("./es5-shim")}),ace.define("ace/lib/dom",["require","exports","module"],function(e,t){"use strict";if("undefined"!=typeof document){var i="http://www.w3.org/1999/xhtml";t.getDocumentHead=function(e){return e||(e=document),e.head||e.getElementsByTagName("head")[0]||e.documentElement},t.createElement=function(e,t){return document.createElementNS?document.createElementNS(t||i,e):document.createElement(e)},t.hasCssClass=function(e,t){var i=(e.className||"").split(/\s+/g);return-1!==i.indexOf(t)},t.addCssClass=function(e,i){t.hasCssClass(e,i)||(e.className+=" "+i)},t.removeCssClass=function(e,t){for(var i=e.className.split(/\s+/g);;){var n=i.indexOf(t);if(-1==n)break;i.splice(n,1)}e.className=i.join(" ")},t.toggleCssClass=function(e,t){for(var i=e.className.split(/\s+/g),n=!0;;){var s=i.indexOf(t);if(-1==s)break;n=!1,i.splice(s,1)}return n&&i.push(t),e.className=i.join(" "),n},t.setCssClass=function(e,i,n){n?t.addCssClass(e,i):t.removeCssClass(e,i)},t.hasCssString=function(e,t){var i,n=0;if(t=t||document,t.createStyleSheet&&(i=t.styleSheets)){for(;i.length>n;)if(i[n++].owningElement.id===e)return!0}else if(i=t.getElementsByTagName("style"))for(;i.length>n;)if(i[n++].id===e)return!0;return!1},t.importCssString=function(e,n,s){if(s=s||document,n&&t.hasCssString(n,s))return null;var r;s.createStyleSheet?(r=s.createStyleSheet(),r.cssText=e,n&&(r.owningElement.id=n)):(r=s.createElementNS?s.createElementNS(i,"style"):s.createElement("style"),r.appendChild(s.createTextNode(e)),n&&(r.id=n),t.getDocumentHead(s).appendChild(r))},t.importCssStylsheet=function(e,i){if(i.createStyleSheet)i.createStyleSheet(e);else{var n=t.createElement("link");n.rel="stylesheet",n.href=e,t.getDocumentHead(i).appendChild(n)}},t.getInnerWidth=function(e){return parseInt(t.computedStyle(e,"paddingLeft"),10)+parseInt(t.computedStyle(e,"paddingRight"),10)+e.clientWidth},t.getInnerHeight=function(e){return parseInt(t.computedStyle(e,"paddingTop"),10)+parseInt(t.computedStyle(e,"paddingBottom"),10)+e.clientHeight},void 0!==window.pageYOffset?(t.getPageScrollTop=function(){return window.pageYOffset},t.getPageScrollLeft=function(){return window.pageXOffset}):(t.getPageScrollTop=function(){return document.body.scrollTop},t.getPageScrollLeft=function(){return document.body.scrollLeft}),t.computedStyle=window.getComputedStyle?function(e,t){return t?(window.getComputedStyle(e,"")||{})[t]||"":window.getComputedStyle(e,"")||{}}:function(e,t){return t?e.currentStyle[t]:e.currentStyle},t.scrollbarWidth=function(e){var i=t.createElement("ace_inner");i.style.width="100%",i.style.minWidth="0px",i.style.height="200px",i.style.display="block";var n=t.createElement("ace_outer"),s=n.style;s.position="absolute",s.left="-10000px",s.overflow="hidden",s.width="200px",s.minWidth="0px",s.height="150px",s.display="block",n.appendChild(i);var r=e.documentElement;r.appendChild(n);var o=i.offsetWidth;s.overflow="scroll";var a=i.offsetWidth;return o==a&&(a=n.clientWidth),r.removeChild(n),o-a},t.setInnerHtml=function(e,t){var i=e.cloneNode(!1);return i.innerHTML=t,e.parentNode.replaceChild(i,e),i},"textContent"in document.documentElement?(t.setInnerText=function(e,t){e.textContent=t},t.getInnerText=function(e){return e.textContent}):(t.setInnerText=function(e,t){e.innerText=t},t.getInnerText=function(e){return e.innerText}),t.getParentWindow=function(e){return e.defaultView||e.parentWindow}}}),ace.define("ace/lib/oop",["require","exports","module"],function(e,t){"use strict";t.inherits=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})},t.mixin=function(e,t){for(var i in t)e[i]=t[i];return e},t.implement=function(e,i){t.mixin(e,i)}}),ace.define("ace/lib/keys",["require","exports","module","ace/lib/fixoldbrowsers","ace/lib/oop"],function(e,t){"use strict";e("./fixoldbrowsers");var i=e("./oop"),n=function(){var e,t,n={MODIFIER_KEYS:{16:"Shift",17:"Ctrl",18:"Alt",224:"Meta"},KEY_MODS:{ctrl:1,alt:2,option:2,shift:4,"super":8,meta:8,command:8,cmd:8},FUNCTION_KEYS:{8:"Backspace",9:"Tab",13:"Return",19:"Pause",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"Print",45:"Insert",46:"Delete",96:"Numpad0",97:"Numpad1",98:"Numpad2",99:"Numpad3",100:"Numpad4",101:"Numpad5",102:"Numpad6",103:"Numpad7",104:"Numpad8",105:"Numpad9","-13":"NumpadEnter",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"Numlock",145:"Scrolllock"},PRINTABLE_KEYS:{32:" ",48:"0",49:"1",50:"2",51:"3",52:"4",53:"5",54:"6",55:"7",56:"8",57:"9",59:";",61:"=",65:"a",66:"b",67:"c",68:"d",69:"e",70:"f",71:"g",72:"h",73:"i",74:"j",75:"k",76:"l",77:"m",78:"n",79:"o",80:"p",81:"q",82:"r",83:"s",84:"t",85:"u",86:"v",87:"w",88:"x",89:"y",90:"z",107:"+",109:"-",110:".",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"}};for(t in n.FUNCTION_KEYS)e=n.FUNCTION_KEYS[t].toLowerCase(),n[e]=parseInt(t,10);for(t in n.PRINTABLE_KEYS)e=n.PRINTABLE_KEYS[t].toLowerCase(),n[e]=parseInt(t,10);return i.mixin(n,n.MODIFIER_KEYS),i.mixin(n,n.PRINTABLE_KEYS),i.mixin(n,n.FUNCTION_KEYS),n.enter=n["return"],n.escape=n.esc,n.del=n["delete"],n[173]="-",function(){for(var e=["cmd","ctrl","alt","shift"],t=Math.pow(2,e.length);t--;)n.KEY_MODS[t]=e.filter(function(e){return t&n.KEY_MODS[e]}).join("-")+"-"}(),n.KEY_MODS[0]="",n.KEY_MODS[-1]="input",n}();i.mixin(t,n),t.keyCodeToString=function(e){var t=n[e];return"string"!=typeof t&&(t=String.fromCharCode(e)),t.toLowerCase()}}),ace.define("ace/lib/useragent",["require","exports","module"],function(e,t){"use strict";if(t.OS={LINUX:"LINUX",MAC:"MAC",WINDOWS:"WINDOWS"},t.getOS=function(){return t.isMac?t.OS.MAC:t.isLinux?t.OS.LINUX:t.OS.WINDOWS},"object"==typeof navigator){var i=(navigator.platform.match(/mac|win|linux/i)||["other"])[0].toLowerCase(),n=navigator.userAgent;t.isWin="win"==i,t.isMac="mac"==i,t.isLinux="linux"==i,t.isIE="Microsoft Internet Explorer"==navigator.appName||navigator.appName.indexOf("MSAppHost")>=0?parseFloat((n.match(/(?:MSIE |Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]):parseFloat((n.match(/(?:Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]),t.isOldIE=t.isIE&&9>t.isIE,t.isGecko=t.isMozilla=(window.Controllers||window.controllers)&&"Gecko"===window.navigator.product,t.isOldGecko=t.isGecko&&4>parseInt((n.match(/rv\:(\d+)/)||[])[1],10),t.isOpera=window.opera&&"[object Opera]"==Object.prototype.toString.call(window.opera),t.isWebKit=parseFloat(n.split("WebKit/")[1])||void 0,t.isChrome=parseFloat(n.split(" Chrome/")[1])||void 0,t.isAIR=n.indexOf("AdobeAIR")>=0,t.isIPad=n.indexOf("iPad")>=0,t.isTouchPad=n.indexOf("TouchPad")>=0,t.isChromeOS=n.indexOf(" CrOS ")>=0}}),ace.define("ace/lib/event",["require","exports","module","ace/lib/keys","ace/lib/useragent"],function(e,t){"use strict";function i(e,t,i){var l=r(t);if(!s.isMac&&o){if((o[91]||o[92])&&(l|=8),o.altGr){if(3==(3&l))return;o.altGr=0}if(18===i||17===i){var h="location"in t?t.location:t.keyLocation;if(17===i&&1===h)a=t.timeStamp;else if(18===i&&3===l&&2===h){var c=-a;a=t.timeStamp,c+=a,3>c&&(o.altGr=!0)}}}if(i in n.MODIFIER_KEYS){switch(n.MODIFIER_KEYS[i]){case"Alt":l=2;break;case"Shift":l=4;break;case"Ctrl":l=1;break;default:l=8}i=-1}if(8&l&&(91===i||93===i)&&(i=-1),!l&&13===i){var h="location"in t?t.location:t.keyLocation;if(3===h&&(e(t,l,-i),t.defaultPrevented))return}if(s.isChromeOS&&8&l){if(e(t,l,i),t.defaultPrevented)return;l&=-9}return l||i in n.FUNCTION_KEYS||i in n.PRINTABLE_KEYS?e(t,l,i):!1}var n=e("./keys"),s=e("./useragent");t.addListener=function(e,t,i){if(e.addEventListener)return e.addEventListener(t,i,!1);if(e.attachEvent){var n=function(){i.call(e,window.event)};i._wrapper=n,e.attachEvent("on"+t,n)}},t.removeListener=function(e,t,i){return e.removeEventListener?e.removeEventListener(t,i,!1):(e.detachEvent&&e.detachEvent("on"+t,i._wrapper||i),void 0)},t.stopEvent=function(e){return t.stopPropagation(e),t.preventDefault(e),!1},t.stopPropagation=function(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0},t.preventDefault=function(e){e.preventDefault?e.preventDefault():e.returnValue=!1},t.getButton=function(e){return"dblclick"==e.type?0:"contextmenu"==e.type||s.isMac&&e.ctrlKey&&!e.altKey&&!e.shiftKey?2:e.preventDefault?e.button:{1:0,2:2,4:1}[e.button]},t.capture=function(e,i,n){function s(e){i&&i(e),n&&n(e),t.removeListener(document,"mousemove",i,!0),t.removeListener(document,"mouseup",s,!0),t.removeListener(document,"dragstart",s,!0)}return t.addListener(document,"mousemove",i,!0),t.addListener(document,"mouseup",s,!0),t.addListener(document,"dragstart",s,!0),s},t.addMouseWheelListener=function(e,i){"onmousewheel"in e?t.addListener(e,"mousewheel",function(e){var t=8;void 0!==e.wheelDeltaX?(e.wheelX=-e.wheelDeltaX/t,e.wheelY=-e.wheelDeltaY/t):(e.wheelX=0,e.wheelY=-e.wheelDelta/t),i(e)}):"onwheel"in e?t.addListener(e,"wheel",function(e){var t=.35;switch(e.deltaMode){case e.DOM_DELTA_PIXEL:e.wheelX=e.deltaX*t||0,e.wheelY=e.deltaY*t||0;break;case e.DOM_DELTA_LINE:case e.DOM_DELTA_PAGE:e.wheelX=5*(e.deltaX||0),e.wheelY=5*(e.deltaY||0)}i(e)}):t.addListener(e,"DOMMouseScroll",function(e){e.axis&&e.axis==e.HORIZONTAL_AXIS?(e.wheelX=5*(e.detail||0),e.wheelY=0):(e.wheelX=0,e.wheelY=5*(e.detail||0)),i(e)})},t.addMultiMouseDownListener=function(e,i,n,r){var o,a,l,h=0,c={2:"dblclick",3:"tripleclick",4:"quadclick"};t.addListener(e,"mousedown",function(e){if(0!==t.getButton(e)?h=0:e.detail>1?(h++,h>4&&(h=1)):h=1,s.isIE){var u=Math.abs(e.clientX-o)>5||Math.abs(e.clientY-a)>5;(!l||u)&&(h=1),l&&clearTimeout(l),l=setTimeout(function(){l=null},i[h-1]||600),1==h&&(o=e.clientX,a=e.clientY)}if(e._clicks=h,n[r]("mousedown",e),h>4)h=0;else if(h>1)return n[r](c[h],e)}),s.isOldIE&&t.addListener(e,"dblclick",function(e){h=2,l&&clearTimeout(l),l=setTimeout(function(){l=null},i[h-1]||600),n[r]("mousedown",e),n[r](c[h],e)})};var r=!s.isMac||!s.isOpera||"KeyboardEvent"in window?function(e){return 0|(e.ctrlKey?1:0)|(e.altKey?2:0)|(e.shiftKey?4:0)|(e.metaKey?8:0)}:function(e){return 0|(e.metaKey?1:0)|(e.altKey?2:0)|(e.shiftKey?4:0)|(e.ctrlKey?8:0)};t.getModifierString=function(e){return n.KEY_MODS[r(e)]};var o=null,a=0;if(t.addCommandKeyListener=function(e,n){var r=t.addListener;if(s.isOldGecko||s.isOpera&&!("KeyboardEvent"in window)){var a=null;r(e,"keydown",function(e){a=e.keyCode}),r(e,"keypress",function(e){return i(n,e,a)})}else{var l=null;r(e,"keydown",function(e){o[e.keyCode]=!0;var t=i(n,e,e.keyCode);return l=e.defaultPrevented,t}),r(e,"keypress",function(e){l&&(e.ctrlKey||e.altKey||e.shiftKey||e.metaKey)&&(t.stopEvent(e),l=null)}),r(e,"keyup",function(e){o[e.keyCode]=null}),o||(o=Object.create(null),r(window,"focus",function(){o=Object.create(null)}))}},window.postMessage&&!s.isOldIE){var l=1;t.nextTick=function(e,i){i=i||window;var n="zero-timeout-message-"+l;t.addListener(i,"message",function s(r){r.data==n&&(t.stopPropagation(r),t.removeListener(i,"message",s),e())}),i.postMessage(n,"*")}}t.nextFrame=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame,t.nextFrame=t.nextFrame?t.nextFrame.bind(window):function(e){setTimeout(e,17)}}),ace.define("ace/lib/lang",["require","exports","module"],function(e,t){"use strict";t.last=function(e){return e[e.length-1]},t.stringReverse=function(e){return e.split("").reverse().join("")},t.stringRepeat=function(e,t){for(var i="";t>0;)1&t&&(i+=e),(t>>=1)&&(e+=e);return i};var i=/^\s\s*/,n=/\s\s*$/;t.stringTrimLeft=function(e){return e.replace(i,"")},t.stringTrimRight=function(e){return e.replace(n,"")},t.copyObject=function(e){var t={};for(var i in e)t[i]=e[i];return t},t.copyArray=function(e){for(var t=[],i=0,n=e.length;n>i;i++)t[i]=e[i]&&"object"==typeof e[i]?this.copyObject(e[i]):e[i];return t},t.deepCopy=function(e){if("object"!=typeof e||!e)return e;var i=e.constructor;if(i===RegExp)return e;var n=i();for(var s in e)n[s]="object"==typeof e[s]?t.deepCopy(e[s]):e[s];return n},t.arrayToMap=function(e){for(var t={},i=0;e.length>i;i++)t[e[i]]=1;return t},t.createMap=function(e){var t=Object.create(null);for(var i in e)t[i]=e[i];return t},t.arrayRemove=function(e,t){for(var i=0;e.length>=i;i++)t===e[i]&&e.splice(i,1)},t.escapeRegExp=function(e){return e.replace(/([.*+?^${}()|[\]\/\\])/g,"\\$1")},t.escapeHTML=function(e){return e.replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<")},t.getMatchOffsets=function(e,t){var i=[];return e.replace(t,function(e){i.push({offset:arguments[arguments.length-2],length:e.length})}),i},t.deferredCall=function(e){var t=null,i=function(){t=null,e()},n=function(e){return n.cancel(),t=setTimeout(i,e||0),n};return n.schedule=n,n.call=function(){return this.cancel(),e(),n},n.cancel=function(){return clearTimeout(t),t=null,n},n.isPending=function(){return t},n},t.delayedCall=function(e,t){var i=null,n=function(){i=null,e()},s=function(e){null==i&&(i=setTimeout(n,e||t))};return s.delay=function(e){i&&clearTimeout(i),i=setTimeout(n,e||t)},s.schedule=s,s.call=function(){this.cancel(),e()},s.cancel=function(){i&&clearTimeout(i),i=null},s.isPending=function(){return i},s}}),ace.define("ace/keyboard/textinput",["require","exports","module","ace/lib/event","ace/lib/useragent","ace/lib/dom","ace/lib/lang"],function(e,t){"use strict";var i=e("../lib/event"),n=e("../lib/useragent"),s=e("../lib/dom"),r=e("../lib/lang"),o=18>n.isChrome,a=n.isIE,l=function(e,t){function l(e){if(!m){if(S)t=0,i=e?0:u.value.length-1;else var t=e?2:1,i=2;try{u.setSelectionRange(t,i)}catch(n){}}}function h(){m||(u.value=d,n.isWebKit&&w.schedule())}function c(){clearTimeout(z),z=setTimeout(function(){p&&(u.style.cssText=p,p=""),null==t.renderer.$keepTextAreaAtCursor&&(t.renderer.$keepTextAreaAtCursor=!0,t.renderer.$moveTextAreaToCursor())},n.isOldIE?200:0)}var u=s.createElement("textarea");u.className="ace_text-input",n.isTouchPad&&u.setAttribute("x-palm-disable-auto-cap",!0),u.wrap="off",u.autocorrect="off",u.autocapitalize="off",u.spellcheck=!1,u.style.opacity="0",n.isOldIE&&(u.style.top="-100px"),e.insertBefore(u,e.firstChild);var d="",g=!1,f=!1,m=!1,p="",A=!0;try{var v=document.activeElement===u}catch(C){}i.addListener(u,"blur",function(e){t.onBlur(e),v=!1}),i.addListener(u,"focus",function(e){v=!0,t.onFocus(e),l()}),this.focus=function(){u.focus()},this.blur=function(){u.blur()},this.isFocused=function(){return v};var F=r.delayedCall(function(){v&&l(A)}),w=r.delayedCall(function(){m||(u.value=d,v&&l())});n.isWebKit||t.addEventListener("changeSelection",function(){t.selection.isEmpty()!=A&&(A=!A,F.schedule())}),h(),v&&t.onFocus();var E=function(e){return 0===e.selectionStart&&e.selectionEnd===e.value.length};if(!u.setSelectionRange&&u.createTextRange&&(u.setSelectionRange=function(e,t){var i=this.createTextRange();i.collapse(!0),i.moveStart("character",e),i.moveEnd("character",t),i.select()},E=function(e){try{var t=e.ownerDocument.selection.createRange()}catch(i){}return t&&t.parentElement()==e?t.text==e.value:!1}),n.isOldIE){var b=!1,y=function(e){if(!b){var t=u.value;if(!m&&t&&t!=d){if(e&&t==d[0])return $.schedule();x(t),b=!0,h(),b=!1}}},$=r.delayedCall(y);i.addListener(u,"propertychange",y);var B={13:1,27:1};i.addListener(u,"keyup",function(e){return!m||u.value&&!B[e.keyCode]||setTimeout(P,0),129>(u.value.charCodeAt(0)||0)?$.call():(m?W():I(),void 0)}),i.addListener(u,"keydown",function(){$.schedule(50)})}var D=function(){g?g=!1:E(u)?(t.selectAll(),l()):S&&l(t.selection.isEmpty())},S=null;this.setInputHandler=function(e){S=e},this.getInputHandler=function(){return S};var k=!1,x=function(e){S&&(e=S(e),S=null),f?(l(),e&&t.onPaste(e),f=!1):e==d.charAt(0)?k?t.execCommand("del",{source:"ace"}):t.execCommand("backspace",{source:"ace"}):(e.substring(0,2)==d?e=e.substr(2):e.charAt(0)==d.charAt(0)?e=e.substr(1):e.charAt(e.length-1)==d.charAt(0)&&(e=e.slice(0,-1)),e.charAt(e.length-1)==d.charAt(0)&&(e=e.slice(0,-1)),e&&t.onTextInput(e)),k&&(k=!1)},L=function(){if(!m){var e=u.value;x(e),h()}},R=function(e,t){var i=e.clipboardData||window.clipboardData;if(i&&!o){var n=a?"Text":"text/plain";return t?i.setData(n,t)!==!1:i.getData(n)}},T=function(e,n){var s=t.getCopyText();return s?(R(e,s)?(n?t.onCut():t.onCopy(),i.preventDefault(e)):(g=!0,u.value=s,u.select(),setTimeout(function(){g=!1,h(),l(),n?t.onCut():t.onCopy()})),void 0):i.preventDefault(e)},M=function(e){T(e,!0)},_=function(e){T(e,!1)},O=function(e){var s=R(e);"string"==typeof s?(s&&t.onPaste(s),n.isIE&&setTimeout(l),i.preventDefault(e)):(u.value="",f=!0)};i.addCommandKeyListener(u,t.onCommandKey.bind(t)),i.addListener(u,"select",D),i.addListener(u,"input",L),i.addListener(u,"cut",M),i.addListener(u,"copy",_),i.addListener(u,"paste",O),"oncut"in u&&"oncopy"in u&&"onpaste"in u||i.addListener(e,"keydown",function(e){if((!n.isMac||e.metaKey)&&e.ctrlKey)switch(e.keyCode){case 67:_(e);break;case 86:O(e);break;case 88:M(e)}});var I=function(){m||!t.onCompositionStart||t.$readOnly||(m={},t.onCompositionStart(),setTimeout(W,0),t.on("mousedown",P),t.selection.isEmpty()||(t.insert(""),t.session.markUndoGroup(),t.selection.clearSelection()),t.session.markUndoGroup())},W=function(){if(m&&t.onCompositionUpdate&&!t.$readOnly){var e=u.value.replace(/\x01/g,"");if(m.lastValue!==e&&(t.onCompositionUpdate(e),m.lastValue&&t.undo(),m.lastValue=e,m.lastValue)){var i=t.selection.getRange();t.insert(m.lastValue),t.session.markUndoGroup(),m.range=t.selection.getRange(),t.selection.setRange(i),t.selection.clearSelection()}}},P=function(e){if(t.onCompositionEnd&&!t.$readOnly){var i=m;m=!1;var n=setTimeout(function(){n=null;var e=u.value.replace(/\x01/g,"");m||(e==i.lastValue?h():!i.lastValue&&e&&(h(),x(e)))});S=function(e){return n&&clearTimeout(n),e=e.replace(/\x01/g,""),e==i.lastValue?"":(i.lastValue&&n&&t.undo(),e)},t.onCompositionEnd(),t.removeListener("mousedown",P),"compositionend"==e.type&&i.range&&t.selection.setRange(i.range)}},H=r.delayedCall(W,50);i.addListener(u,"compositionstart",I),n.isGecko?i.addListener(u,"text",function(){H.schedule()}):(i.addListener(u,"keyup",function(){H.schedule()}),i.addListener(u,"keydown",function(){H.schedule()})),i.addListener(u,"compositionend",P),this.getElement=function(){return u},this.setReadOnly=function(e){u.readOnly=e},this.onContextMenu=function(e){k=!0,l(t.selection.isEmpty()),t._emit("nativecontextmenu",{target:t,domEvent:e}),this.moveToMouse(e,!0)},this.moveToMouse=function(e,r){if(r||!n.isOldIE){p||(p=u.style.cssText),u.style.cssText=(r?"z-index:100000;":"")+"height:"+u.style.height+";"+(n.isIE?"opacity:0.1;":"");var o=t.container.getBoundingClientRect(),a=s.computedStyle(t.container),l=o.top+(parseInt(a.borderTopWidth)||0),h=o.left+(parseInt(o.borderLeftWidth)||0),d=o.bottom-l-u.clientHeight-2,g=function(e){u.style.left=e.clientX-h-2+"px",u.style.top=Math.min(e.clientY-l-2,d)+"px"};g(e),"mousedown"==e.type&&(t.renderer.$keepTextAreaAtCursor&&(t.renderer.$keepTextAreaAtCursor=null),n.isWin&&!n.isOldIE&&i.capture(t.container,g,c))}},this.onContextMenuClose=c;var z,N=function(e){t.textInput.onContextMenu(e),c()};i.addListener(t.renderer.scroller,"contextmenu",N),i.addListener(u,"contextmenu",N)};t.TextInput=l}),ace.define("ace/mouse/default_handlers",["require","exports","module","ace/lib/dom","ace/lib/event","ace/lib/useragent"],function(e,t){"use strict";function i(e){e.$clickSelection=null;var t=e.editor;t.setDefaultHandler("mousedown",this.onMouseDown.bind(e)),t.setDefaultHandler("dblclick",this.onDoubleClick.bind(e)),t.setDefaultHandler("tripleclick",this.onTripleClick.bind(e)),t.setDefaultHandler("quadclick",this.onQuadClick.bind(e)),t.setDefaultHandler("mousewheel",this.onMouseWheel.bind(e));var i=["select","startSelect","selectEnd","selectAllEnd","selectByWordsEnd","selectByLinesEnd","dragWait","dragWaitEnd","focusWait"];i.forEach(function(t){e[t]=this[t]},this),e.selectByLines=this.extendSelectionBy.bind(e,"getLineRange"),e.selectByWords=this.extendSelectionBy.bind(e,"getWordRange")}function n(e,t,i,n){return Math.sqrt(Math.pow(i-e,2)+Math.pow(n-t,2))}function s(e,t){if(e.start.row==e.end.row)var i=2*t.column-e.start.column-e.end.column;else if(e.start.row!=e.end.row-1||e.start.column||e.end.column)var i=2*t.row-e.start.row-e.end.row;else var i=t.column-4;return 0>i?{cursor:e.start,anchor:e.end}:{cursor:e.end,anchor:e.start}
|
5 |
}e("../lib/dom"),e("../lib/event"),e("../lib/useragent");var r=0;(function(){this.onMouseDown=function(e){var t=e.inSelection(),i=e.getDocumentPosition();this.mousedownEvent=e;var n=this.editor,s=e.getButton();if(0!==s){var r=n.getSelectionRange(),o=r.isEmpty();return o&&n.selection.moveToPosition(i),n.textInput.onContextMenu(e.domEvent),void 0}return this.mousedownEvent.time=Date.now(),!t||n.isFocused()||(n.focus(),!this.$focusTimout||this.$clickSelection||n.inMultiSelectMode)?(this.captureMouse(e),this.startSelect(i,e.domEvent._clicks>1),e.preventDefault()):(this.setState("focusWait"),this.captureMouse(e),void 0)},this.startSelect=function(e,t){e=e||this.editor.renderer.screenToTextCoordinates(this.x,this.y);var i=this.editor;this.mousedownEvent.getShiftKey()?i.selection.selectToPosition(e):t||i.selection.moveToPosition(e),t||this.select(),i.renderer.scroller.setCapture&&i.renderer.scroller.setCapture(),i.setStyle("ace_selecting"),this.setState("select")},this.select=function(){var e,t=this.editor,i=t.renderer.screenToTextCoordinates(this.x,this.y);if(this.$clickSelection){var n=this.$clickSelection.comparePoint(i);if(-1==n)e=this.$clickSelection.end;else if(1==n)e=this.$clickSelection.start;else{var r=s(this.$clickSelection,i);i=r.cursor,e=r.anchor}t.selection.setSelectionAnchor(e.row,e.column)}t.selection.selectToPosition(i),t.renderer.scrollCursorIntoView()},this.extendSelectionBy=function(e){var t,i=this.editor,n=i.renderer.screenToTextCoordinates(this.x,this.y),r=i.selection[e](n.row,n.column);if(this.$clickSelection){var o=this.$clickSelection.comparePoint(r.start),a=this.$clickSelection.comparePoint(r.end);if(-1==o&&0>=a)t=this.$clickSelection.end,(r.end.row!=n.row||r.end.column!=n.column)&&(n=r.start);else if(1==a&&o>=0)t=this.$clickSelection.start,(r.start.row!=n.row||r.start.column!=n.column)&&(n=r.end);else if(-1==o&&1==a)n=r.end,t=r.start;else{var l=s(this.$clickSelection,n);n=l.cursor,t=l.anchor}i.selection.setSelectionAnchor(t.row,t.column)}i.selection.selectToPosition(n),i.renderer.scrollCursorIntoView()},this.selectEnd=this.selectAllEnd=this.selectByWordsEnd=this.selectByLinesEnd=function(){this.$clickSelection=null,this.editor.unsetStyle("ace_selecting"),this.editor.renderer.scroller.releaseCapture&&this.editor.renderer.scroller.releaseCapture()},this.focusWait=function(){var e=n(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y),t=Date.now();(e>r||t-this.mousedownEvent.time>this.$focusTimout)&&this.startSelect(this.mousedownEvent.getDocumentPosition())},this.onDoubleClick=function(e){var t=e.getDocumentPosition(),i=this.editor,n=i.session,s=n.getBracketRange(t);s?(s.isEmpty()&&(s.start.column--,s.end.column++),this.setState("select")):(s=i.selection.getWordRange(t.row,t.column),this.setState("selectByWords")),this.$clickSelection=s,this.select()},this.onTripleClick=function(e){var t=e.getDocumentPosition(),i=this.editor;this.setState("selectByLines");var n=i.getSelectionRange();n.isMultiLine()&&n.contains(t.row,t.column)?(this.$clickSelection=i.selection.getLineRange(n.start.row),this.$clickSelection.end=i.selection.getLineRange(n.end.row).end):this.$clickSelection=i.selection.getLineRange(t.row),this.select()},this.onQuadClick=function(){var e=this.editor;e.selectAll(),this.$clickSelection=e.getSelectionRange(),this.setState("selectAll")},this.onMouseWheel=function(e){if(!e.getAccelKey()){e.getShiftKey()&&e.wheelY&&!e.wheelX&&(e.wheelX=e.wheelY,e.wheelY=0);var t=e.domEvent.timeStamp,i=t-(this.$lastScrollTime||0),n=this.editor,s=n.renderer.isScrollableBy(e.wheelX*e.speed,e.wheelY*e.speed);return s||200>i?(this.$lastScrollTime=t,n.renderer.scrollBy(e.wheelX*e.speed,e.wheelY*e.speed),e.stop()):void 0}}}).call(i.prototype),t.DefaultHandlers=i}),ace.define("ace/tooltip",["require","exports","module","ace/lib/oop","ace/lib/dom"],function(e,t){"use strict";function i(e){this.isOpen=!1,this.$element=null,this.$parentNode=e}e("./lib/oop");var n=e("./lib/dom");(function(){this.$init=function(){return this.$element=n.createElement("div"),this.$element.className="ace_tooltip",this.$element.style.display="none",this.$parentNode.appendChild(this.$element),this.$element},this.getElement=function(){return this.$element||this.$init()},this.setText=function(e){n.setInnerText(this.getElement(),e)},this.setHtml=function(e){this.getElement().innerHTML=e},this.setPosition=function(e,t){this.getElement().style.left=e+"px",this.getElement().style.top=t+"px"},this.setClassName=function(e){n.addCssClass(this.getElement(),e)},this.show=function(e,t,i){null!=e&&this.setText(e),null!=t&&null!=i&&this.setPosition(t,i),this.isOpen||(this.getElement().style.display="block",this.isOpen=!0)},this.hide=function(){this.isOpen&&(this.getElement().style.display="none",this.isOpen=!1)},this.getHeight=function(){return this.getElement().offsetHeight},this.getWidth=function(){return this.getElement().offsetWidth}}).call(i.prototype),t.Tooltip=i}),ace.define("ace/mouse/default_gutter_handler",["require","exports","module","ace/lib/dom","ace/lib/oop","ace/lib/event","ace/tooltip"],function(e,t){"use strict";function i(e){function t(){var t=u.getDocumentPosition().row,n=l.$annotations[t];if(!n)return i();var s=a.session.getLength();if(t==s){var o=a.renderer.pixelToScreenCoordinates(0,u.y).row,c=u.$pos;if(o>a.session.documentToScreenRow(c.row,c.column))return i()}if(d!=n)if(d=n.text.join("<br/>"),h.setHtml(d),h.show(),a.on("mousewheel",i),e.$tooltipFollowsMouse)r(u);else{var g=l.$cells[a.session.documentToScreenRow(t,0)].element,f=g.getBoundingClientRect(),m=h.getElement().style;m.left=f.right+"px",m.top=f.bottom+"px"}}function i(){c&&(c=clearTimeout(c)),d&&(h.hide(),d=null,a.removeEventListener("mousewheel",i))}function r(e){h.setPosition(e.x,e.y)}var a=e.editor,l=a.renderer.$gutterLayer,h=new n(a.container);e.editor.setDefaultHandler("guttermousedown",function(t){if(a.isFocused()&&0==t.getButton()){var i=l.getRegion(t);if("foldWidgets"!=i){var n=t.getDocumentPosition().row,s=a.session.selection;if(t.getShiftKey())s.selectTo(n,0);else{if(2==t.domEvent.detail)return a.selectAll(),t.preventDefault();e.$clickSelection=a.selection.getLineRange(n)}return e.setState("selectByLines"),e.captureMouse(t),t.preventDefault()}}});var c,u,d;e.editor.setDefaultHandler("guttermousemove",function(n){var o=n.domEvent.target||n.domEvent.srcElement;return s.hasCssClass(o,"ace_fold-widget")?i():(d&&e.$tooltipFollowsMouse&&r(n),u=n,c||(c=setTimeout(function(){c=null,u&&!e.isMousePressed?t():i()},50)),void 0)}),o.addListener(a.renderer.$gutter,"mouseout",function(){u=null,d&&!c&&(c=setTimeout(function(){c=null,i()},50))}),a.on("changeSession",i)}function n(e){a.call(this,e)}var s=e("../lib/dom"),r=e("../lib/oop"),o=e("../lib/event"),a=e("../tooltip").Tooltip;r.inherits(n,a),function(){this.setPosition=function(e,t){var i=window.innerWidth||document.documentElement.clientWidth,n=window.innerHeight||document.documentElement.clientHeight,s=this.getWidth(),r=this.getHeight();e+=15,t+=15,e+s>i&&(e-=e+s-i),t+r>n&&(t-=20+r),a.prototype.setPosition.call(this,e,t)}}.call(n.prototype),t.GutterHandler=i}),ace.define("ace/mouse/mouse_event",["require","exports","module","ace/lib/event","ace/lib/useragent"],function(e,t){"use strict";var i=e("../lib/event"),n=e("../lib/useragent"),s=t.MouseEvent=function(e,t){this.domEvent=e,this.editor=t,this.x=this.clientX=e.clientX,this.y=this.clientY=e.clientY,this.$pos=null,this.$inSelection=null,this.propagationStopped=!1,this.defaultPrevented=!1};(function(){this.stopPropagation=function(){i.stopPropagation(this.domEvent),this.propagationStopped=!0},this.preventDefault=function(){i.preventDefault(this.domEvent),this.defaultPrevented=!0},this.stop=function(){this.stopPropagation(),this.preventDefault()},this.getDocumentPosition=function(){return this.$pos?this.$pos:(this.$pos=this.editor.renderer.screenToTextCoordinates(this.clientX,this.clientY),this.$pos)},this.inSelection=function(){if(null!==this.$inSelection)return this.$inSelection;var e=this.editor,t=e.getSelectionRange();if(t.isEmpty())this.$inSelection=!1;else{var i=this.getDocumentPosition();this.$inSelection=t.contains(i.row,i.column)}return this.$inSelection},this.getButton=function(){return i.getButton(this.domEvent)},this.getShiftKey=function(){return this.domEvent.shiftKey},this.getAccelKey=n.isMac?function(){return this.domEvent.metaKey}:function(){return this.domEvent.ctrlKey}}).call(s.prototype)}),ace.define("ace/mouse/dragdrop_handler",["require","exports","module","ace/lib/dom","ace/lib/event","ace/lib/useragent"],function(e,t){"use strict";function i(e){function t(e,t){var i=Date.now(),s=!t||e.row!=t.row,r=!t||e.column!=t.column;if(!S||s||r)p.$blockScrolling+=1,p.moveCursorToPosition(e),p.$blockScrolling-=1,S=i,k={x:F,y:w};else{var o=n(k.x,k.y,F,w);o>h?S=null:i-S>=l&&(p.renderer.scrollCursorIntoView(),S=null)}}function i(e,t){var i=Date.now(),n=p.renderer.layerConfig.lineHeight,s=p.renderer.layerConfig.characterWidth,r=p.renderer.scroller.getBoundingClientRect(),o={x:{left:F-r.left,right:r.right-F},y:{top:w-r.top,bottom:r.bottom-w}},l=Math.min(o.x.left,o.x.right),h=Math.min(o.y.top,o.y.bottom),c={row:e.row,column:e.column};2>=l/s&&(c.column+=o.x.left<o.x.right?-3:2),1>=h/n&&(c.row+=o.y.top<o.y.bottom?-1:1);var u=e.row!=c.row,d=e.column!=c.column,g=!t||e.row!=t.row;u||d&&!g?D?i-D>=a&&p.renderer.scrollCursorIntoView(c):D=i:D=null}function c(){var e=y;y=p.renderer.screenToTextCoordinates(F,w),t(y,e),i(y,e)}function u(){b=p.selection.toOrientedRange(),C=p.session.addMarker(b,"ace_selection",p.getSelectionStyle()),p.clearSelection(),p.isFocused()&&p.renderer.$cursorLayer.setBlinking(!1),clearInterval(E),c(),E=setInterval(c,20),L=0,r.addListener(document,"mousemove",g)}function d(){clearInterval(E),p.session.removeMarker(C),C=null,p.$blockScrolling+=1,p.selection.fromOrientedRange(b),p.$blockScrolling-=1,p.isFocused()&&!B&&p.renderer.$cursorLayer.setBlinking(!p.getReadOnly()),b=null,y=null,L=0,D=null,S=null,r.removeListener(document,"mousemove",g)}function g(){null==R&&(R=setTimeout(function(){null!=R&&C&&d()},20))}function f(e){var t=e.types;return!t||Array.prototype.some.call(t,function(e){return"text/plain"==e||"Text"==e})}function m(e){var t=["copy","copymove","all","uninitialized"],i=["move","copymove","linkmove","all","uninitialized"],n=o.isMac?e.altKey:e.ctrlKey,s="uninitialized";try{s=e.dataTransfer.effectAllowed.toLowerCase()}catch(e){}var r="none";return n&&t.indexOf(s)>=0?r="copy":i.indexOf(s)>=0?r="move":t.indexOf(s)>=0&&(r="copy"),r}var p=e.editor,A=s.createElement("img");A.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",o.isOpera&&(A.style.cssText="width:1px;height:1px;position:fixed;top:0;left:0;z-index:2147483647;opacity:0;");var v=["dragWait","dragWaitEnd","startDrag","dragReadyEnd","onMouseDrag"];v.forEach(function(t){e[t]=this[t]},this),p.addEventListener("mousedown",this.onMouseDown.bind(e));var C,F,w,E,b,y,$,B,D,S,k,x=p.container,L=0;this.onDragStart=function(e){if(this.cancelDrag||!x.draggable){var t=this;return setTimeout(function(){t.startSelect(),t.captureMouse(e)},0),e.preventDefault()}b=p.getSelectionRange();var i=e.dataTransfer;i.effectAllowed=p.getReadOnly()?"copy":"copyMove",o.isOpera&&(p.container.appendChild(A),A.scrollTop=0),i.setDragImage&&i.setDragImage(A,0,0),o.isOpera&&p.container.removeChild(A),i.clearData(),i.setData("Text",p.session.getTextRange()),B=!0,this.setState("drag")},this.onDragEnd=function(e){if(x.draggable=!1,B=!1,this.setState(null),!p.getReadOnly()){var t=e.dataTransfer.dropEffect;$||"move"!=t||p.session.remove(p.getSelectionRange()),p.renderer.$cursorLayer.setBlinking(!0)}this.editor.unsetStyle("ace_dragging"),this.editor.renderer.setCursorStyle("")},this.onDragEnter=function(e){return!p.getReadOnly()&&f(e.dataTransfer)?(F=e.clientX,w=e.clientY,C||u(),L++,e.dataTransfer.dropEffect=$=m(e),r.preventDefault(e)):void 0},this.onDragOver=function(e){return!p.getReadOnly()&&f(e.dataTransfer)?(F=e.clientX,w=e.clientY,C||(u(),L++),null!==R&&(R=null),e.dataTransfer.dropEffect=$=m(e),r.preventDefault(e)):void 0},this.onDragLeave=function(e){return L--,0>=L&&C?(d(),$=null,r.preventDefault(e)):void 0},this.onDrop=function(e){if(y){var t=e.dataTransfer;if(B)switch($){case"move":b=b.contains(y.row,y.column)?{start:y,end:y}:p.moveText(b,y);break;case"copy":b=p.moveText(b,y,!0)}else{var i=t.getData("Text");b={start:y,end:p.session.insert(y,i)},p.focus(),$=null}return d(),r.preventDefault(e)}},r.addListener(x,"dragstart",this.onDragStart.bind(e)),r.addListener(x,"dragend",this.onDragEnd.bind(e)),r.addListener(x,"dragenter",this.onDragEnter.bind(e)),r.addListener(x,"dragover",this.onDragOver.bind(e)),r.addListener(x,"dragleave",this.onDragLeave.bind(e)),r.addListener(x,"drop",this.onDrop.bind(e));var R=null}function n(e,t,i,n){return Math.sqrt(Math.pow(i-e,2)+Math.pow(n-t,2))}var s=e("../lib/dom"),r=e("../lib/event"),o=e("../lib/useragent"),a=200,l=200,h=5;(function(){this.dragWait=function(){var e=Date.now()-this.mousedownEvent.time;e>this.editor.getDragDelay()&&this.startDrag()},this.dragWaitEnd=function(){var e=this.editor.container;e.draggable=!1,this.startSelect(this.mousedownEvent.getDocumentPosition()),this.selectEnd()},this.dragReadyEnd=function(){this.editor.renderer.$cursorLayer.setBlinking(!this.editor.getReadOnly()),this.editor.unsetStyle("ace_dragging"),this.editor.renderer.setCursorStyle(""),this.dragWaitEnd()},this.startDrag=function(){this.cancelDrag=!1;var e=this.editor,t=e.container;t.draggable=!0,e.renderer.$cursorLayer.setBlinking(!1),e.setStyle("ace_dragging");var i=o.isWin?"default":"move";e.renderer.setCursorStyle(i),this.setState("dragReady")},this.onMouseDrag=function(){var e=this.editor.container;if(o.isIE&&"dragReady"==this.state){var t=n(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y);t>3&&e.dragDrop()}if("dragWait"===this.state){var t=n(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y);t>0&&(e.draggable=!1,this.startSelect(this.mousedownEvent.getDocumentPosition()))}},this.onMouseDown=function(e){if(this.$dragEnabled){this.mousedownEvent=e;var t=this.editor,i=e.inSelection(),n=e.getButton(),s=e.domEvent.detail||1;if(1===s&&0===n&&i){if(e.editor.inMultiSelectMode&&(e.getAccelKey()||e.getShiftKey()))return;this.mousedownEvent.time=Date.now();var r=e.domEvent.target||e.domEvent.srcElement;if("unselectable"in r&&(r.unselectable="on"),t.getDragDelay()){if(o.isWebKit){this.cancelDrag=!0;var a=t.container;a.draggable=!0}this.setState("dragWait")}else this.startDrag();this.captureMouse(e,this.onMouseDrag.bind(this)),e.defaultPrevented=!0}}}}).call(i.prototype),t.DragdropHandler=i}),ace.define("ace/lib/net",["require","exports","module","ace/lib/dom"],function(e,t){"use strict";var i=e("./dom");t.get=function(e,t){var i=new XMLHttpRequest;i.open("GET",e,!0),i.onreadystatechange=function(){4===i.readyState&&t(i.responseText)},i.send(null)},t.loadScript=function(e,t){var n=i.getDocumentHead(),s=document.createElement("script");s.src=e,n.appendChild(s),s.onload=s.onreadystatechange=function(e,i){(i||!s.readyState||"loaded"==s.readyState||"complete"==s.readyState)&&(s=s.onload=s.onreadystatechange=null,i||t())}},t.qualifyURL=function(e){var t=document.createElement("a");return t.href=e,t.href}}),ace.define("ace/lib/event_emitter",["require","exports","module"],function(e,t){"use strict";var i={},n=function(){this.propagationStopped=!0},s=function(){this.defaultPrevented=!0};i._emit=i._dispatchEvent=function(e,t){this._eventRegistry||(this._eventRegistry={}),this._defaultHandlers||(this._defaultHandlers={});var i=this._eventRegistry[e]||[],r=this._defaultHandlers[e];if(i.length||r){"object"==typeof t&&t||(t={}),t.type||(t.type=e),t.stopPropagation||(t.stopPropagation=n),t.preventDefault||(t.preventDefault=s),i=i.slice();for(var o=0;i.length>o&&(i[o](t,this),!t.propagationStopped);o++);return r&&!t.defaultPrevented?r(t,this):void 0}},i._signal=function(e,t){var i=(this._eventRegistry||{})[e];if(i){i=i.slice();for(var n=0;i.length>n;n++)i[n](t,this)}},i.once=function(e,t){var i=this;t&&this.addEventListener(e,function n(){i.removeEventListener(e,n),t.apply(null,arguments)})},i.setDefaultHandler=function(e,t){var i=this._defaultHandlers;if(i||(i=this._defaultHandlers={_disabled_:{}}),i[e]){var n=i[e],s=i._disabled_[e];s||(i._disabled_[e]=s=[]),s.push(n);var r=s.indexOf(t);-1!=r&&s.splice(r,1)}i[e]=t},i.removeDefaultHandler=function(e,t){var i=this._defaultHandlers;if(i){var n=i._disabled_[e];if(i[e]==t)i[e],n&&this.setDefaultHandler(e,n.pop());else if(n){var s=n.indexOf(t);-1!=s&&n.splice(s,1)}}},i.on=i.addEventListener=function(e,t,i){this._eventRegistry=this._eventRegistry||{};var n=this._eventRegistry[e];return n||(n=this._eventRegistry[e]=[]),-1==n.indexOf(t)&&n[i?"unshift":"push"](t),t},i.off=i.removeListener=i.removeEventListener=function(e,t){this._eventRegistry=this._eventRegistry||{};var i=this._eventRegistry[e];if(i){var n=i.indexOf(t);-1!==n&&i.splice(n,1)}},i.removeAllListeners=function(e){this._eventRegistry&&(this._eventRegistry[e]=[])},t.EventEmitter=i}),ace.define("ace/config",["require","exports","module","ace/lib/lang","ace/lib/oop","ace/lib/net","ace/lib/event_emitter"],function(e,t,i){"no use strict";function n(n){if(c.packaged=n||e.packaged||i.packaged||h.define&&define.packaged,!h.document)return"";for(var r={},o="",a=document.currentScript||document._currentScript,l=a&&a.ownerDocument||document,u=l.getElementsByTagName("script"),d=0;u.length>d;d++){var g=u[d],f=g.src||g.getAttribute("src");if(f){for(var m=g.attributes,p=0,A=m.length;A>p;p++){var v=m[p];0===v.name.indexOf("data-ace-")&&(r[s(v.name.replace(/^data-ace-/,""))]=v.value)}var C=f.match(/^(.*)\/ace(\-\w+)?\.js(\?|$)/);C&&(o=C[1])}}o&&(r.base=r.base||o,r.packaged=!0),r.basePath=r.base,r.workerPath=r.workerPath||r.base,r.modePath=r.modePath||r.base,r.themePath=r.themePath||r.base,delete r.base;for(var F in r)r[F]!==void 0&&t.set(F,r[F])}function s(e){return e.replace(/-(.)/g,function(e,t){return t.toUpperCase()})}var r=e("./lib/lang"),o=e("./lib/oop"),a=e("./lib/net"),l=e("./lib/event_emitter").EventEmitter,h=function(){return this}(),c={packaged:!1,workerPath:null,modePath:null,themePath:null,basePath:"",suffix:".js",$moduleUrls:{}};t.get=function(e){if(!c.hasOwnProperty(e))throw Error("Unknown config key: "+e);return c[e]},t.set=function(e,t){if(!c.hasOwnProperty(e))throw Error("Unknown config key: "+e);c[e]=t},t.all=function(){return r.copyObject(c)},o.implement(t,l),t.moduleUrl=function(e,t){if(c.$moduleUrls[e])return c.$moduleUrls[e];var i=e.split("/");t=t||i[i.length-2]||"";var n="snippets"==t?"/":"-",s=i[i.length-1];if("worker"==t&&"-"==n){var r=RegExp("^"+t+"[\\-_]|[\\-_]"+t+"$","g");s=s.replace(r,"")}(!s||s==t)&&i.length>1&&(s=i[i.length-2]);var o=c[t+"Path"];return null==o?o=c.basePath:"/"==n&&(t=n=""),o&&"/"!=o.slice(-1)&&(o+="/"),o+t+n+s+this.get("suffix")},t.setModuleUrl=function(e,t){return c.$moduleUrls[e]=t},t.$loading={},t.loadModule=function(i,n){var s,r;Array.isArray(i)&&(r=i[0],i=i[1]);try{s=e(i)}catch(o){}if(s&&!t.$loading[i])return n&&n(s);if(t.$loading[i]||(t.$loading[i]=[]),t.$loading[i].push(n),!(t.$loading[i].length>1)){var l=function(){e([i],function(e){t._emit("load.module",{name:i,module:e});var n=t.$loading[i];t.$loading[i]=null,n.forEach(function(t){t&&t(e)})})};return t.get("packaged")?(a.loadScript(t.moduleUrl(i,r),l),void 0):l()}},n(!0),t.init=n;var u={setOptions:function(e){Object.keys(e).forEach(function(t){this.setOption(t,e[t])},this)},getOptions:function(e){var t={};return e?Array.isArray(e)||(t=e,e=Object.keys(t)):e=Object.keys(this.$options),e.forEach(function(e){t[e]=this.getOption(e)},this),t},setOption:function(e,t){if(this["$"+e]!==t){var i=this.$options[e];if(!i)return"undefined"!=typeof console&&console.warn&&console.warn('misspelled option "'+e+'"'),void 0;if(i.forwardTo)return this[i.forwardTo]&&this[i.forwardTo].setOption(e,t);i.handlesSet||(this["$"+e]=t),i&&i.set&&i.set.call(this,t)}},getOption:function(e){var t=this.$options[e];return t?t.forwardTo?this[t.forwardTo]&&this[t.forwardTo].getOption(e):t&&t.get?t.get.call(this):this["$"+e]:("undefined"!=typeof console&&console.warn&&console.warn('misspelled option "'+e+'"'),void 0)}},d={};t.defineOptions=function(e,t,i){return e.$options||(d[t]=e.$options={}),Object.keys(i).forEach(function(t){var n=i[t];"string"==typeof n&&(n={forwardTo:n}),n.name||(n.name=t),e.$options[n.name]=n,"initialValue"in n&&(e["$"+n.name]=n.initialValue)}),o.implement(e,u),this},t.resetOptions=function(e){Object.keys(e.$options).forEach(function(t){var i=e.$options[t];"value"in i&&e.setOption(t,i.value)})},t.setDefaultValue=function(e,i,n){var s=d[e]||(d[e]={});s[i]&&(s.forwardTo?t.setDefaultValue(s.forwardTo,i,n):s[i].value=n)},t.setDefaultValues=function(e,i){Object.keys(i).forEach(function(n){t.setDefaultValue(e,n,i[n])})}}),ace.define("ace/mouse/mouse_handler",["require","exports","module","ace/lib/event","ace/lib/useragent","ace/mouse/default_handlers","ace/mouse/default_gutter_handler","ace/mouse/mouse_event","ace/mouse/dragdrop_handler","ace/config"],function(e,t){"use strict";var i=e("../lib/event"),n=e("../lib/useragent"),s=e("./default_handlers").DefaultHandlers,r=e("./default_gutter_handler").GutterHandler,o=e("./mouse_event").MouseEvent,a=e("./dragdrop_handler").DragdropHandler,l=e("../config"),h=function(e){var t=this;this.editor=e,new s(this),new r(this),new a(this);var o=function(t){!e.isFocused()&&e.textInput&&e.textInput.moveToMouse(t),e.focus()},l=e.renderer.getMouseEventTarget();i.addListener(l,"click",this.onMouseEvent.bind(this,"click")),i.addListener(l,"mousemove",this.onMouseMove.bind(this,"mousemove")),i.addMultiMouseDownListener(l,[400,300,250],this,"onMouseEvent"),e.renderer.scrollBarV&&(i.addMultiMouseDownListener(e.renderer.scrollBarV.inner,[400,300,250],this,"onMouseEvent"),i.addMultiMouseDownListener(e.renderer.scrollBarH.inner,[400,300,250],this,"onMouseEvent"),n.isIE&&(i.addListener(e.renderer.scrollBarV.element,"mousedown",o),i.addListener(e.renderer.scrollBarH.element,"mousemove",o))),i.addMouseWheelListener(e.container,this.onMouseWheel.bind(this,"mousewheel"));var h=e.renderer.$gutter;i.addListener(h,"mousedown",this.onMouseEvent.bind(this,"guttermousedown")),i.addListener(h,"click",this.onMouseEvent.bind(this,"gutterclick")),i.addListener(h,"dblclick",this.onMouseEvent.bind(this,"gutterdblclick")),i.addListener(h,"mousemove",this.onMouseEvent.bind(this,"guttermousemove")),i.addListener(l,"mousedown",o),i.addListener(h,"mousedown",function(t){return e.focus(),i.preventDefault(t)}),e.on("mousemove",function(i){if(!t.state&&!t.$dragDelay&&t.$dragEnabled){var n=e.renderer.screenToTextCoordinates(i.x,i.y),s=e.session.selection.getRange(),r=e.renderer;!s.isEmpty()&&s.insideStart(n.row,n.column)?r.setCursorStyle("default"):r.setCursorStyle("")}})};(function(){this.onMouseEvent=function(e,t){this.editor._emit(e,new o(t,this.editor))},this.onMouseMove=function(e,t){var i=this.editor._eventRegistry&&this.editor._eventRegistry.mousemove;i&&i.length&&this.editor._emit(e,new o(t,this.editor))},this.onMouseWheel=function(e,t){var i=new o(t,this.editor);i.speed=2*this.$scrollSpeed,i.wheelX=t.wheelX,i.wheelY=t.wheelY,this.editor._emit(e,i)},this.setState=function(e){this.state=e},this.captureMouse=function(e,t){this.x=e.x,this.y=e.y,this.isMousePressed=!0;var s=this.editor.renderer;s.$keepTextAreaAtCursor&&(s.$keepTextAreaAtCursor=null);var r=this,a=function(e){if(e){if(n.isWebKit&&!e.which&&r.releaseMouse)return r.releaseMouse();r.x=e.clientX,r.y=e.clientY,t&&t(e),r.mouseEvent=new o(e,r.editor),r.$mouseMoved=!0}},l=function(e){clearInterval(c),h(),r[r.state+"End"]&&r[r.state+"End"](e),r.state="",null==s.$keepTextAreaAtCursor&&(s.$keepTextAreaAtCursor=!0,s.$moveTextAreaToCursor()),r.isMousePressed=!1,r.$onCaptureMouseMove=r.releaseMouse=null,e&&r.onMouseEvent("mouseup",e)},h=function(){r[r.state]&&r[r.state](),r.$mouseMoved=!1};if(n.isOldIE&&"dblclick"==e.domEvent.type)return setTimeout(function(){l(e)});r.$onCaptureMouseMove=a,r.releaseMouse=i.capture(this.editor.container,a,l);var c=setInterval(h,20)},this.releaseMouse=null,this.cancelContextMenu=function(){var e=function(t){t&&t.domEvent&&"contextmenu"!=t.domEvent.type||(this.editor.off("nativecontextmenu",e),t&&t.domEvent&&i.stopEvent(t.domEvent))}.bind(this);setTimeout(e,10),this.editor.on("nativecontextmenu",e)}}).call(h.prototype),l.defineOptions(h.prototype,"mouseHandler",{scrollSpeed:{initialValue:2},dragDelay:{initialValue:n.isMac?150:0},dragEnabled:{initialValue:!0},focusTimout:{initialValue:0},tooltipFollowsMouse:{initialValue:!0}}),t.MouseHandler=h}),ace.define("ace/mouse/fold_handler",["require","exports","module"],function(e,t){"use strict";function i(e){e.on("click",function(t){var i=t.getDocumentPosition(),n=e.session,s=n.getFoldAt(i.row,i.column,1);s&&(t.getAccelKey()?n.removeFold(s):n.expandFold(s),t.stop())}),e.on("gutterclick",function(t){var i=e.renderer.$gutterLayer.getRegion(t);if("foldWidgets"==i){var n=t.getDocumentPosition().row,s=e.session;s.foldWidgets&&s.foldWidgets[n]&&e.session.onFoldWidgetClick(n,t),e.isFocused()||e.focus(),t.stop()}}),e.on("gutterdblclick",function(t){var i=e.renderer.$gutterLayer.getRegion(t);if("foldWidgets"==i){var n=t.getDocumentPosition().row,s=e.session,r=s.getParentFoldRangeData(n,!0),o=r.range||r.firstRange;if(o){n=o.start.row;var a=s.getFoldAt(n,s.getLine(n).length,1);a?s.removeFold(a):(s.addFold("...",o),e.renderer.scrollCursorIntoView({row:o.start.row,column:0}))}t.stop()}})}t.FoldHandler=i}),ace.define("ace/keyboard/keybinding",["require","exports","module","ace/lib/keys","ace/lib/event"],function(e,t){"use strict";var i=e("../lib/keys"),n=e("../lib/event"),s=function(e){this.$editor=e,this.$data={editor:e},this.$handlers=[],this.setDefaultHandler(e.commands)};(function(){this.setDefaultHandler=function(e){this.removeKeyboardHandler(this.$defaultHandler),this.$defaultHandler=e,this.addKeyboardHandler(e,0)},this.setKeyboardHandler=function(e){var t=this.$handlers;if(t[t.length-1]!=e){for(;t[t.length-1]&&t[t.length-1]!=this.$defaultHandler;)this.removeKeyboardHandler(t[t.length-1]);this.addKeyboardHandler(e,1)}},this.addKeyboardHandler=function(e,t){if(e){"function"!=typeof e||e.handleKeyboard||(e.handleKeyboard=e);var i=this.$handlers.indexOf(e);-1!=i&&this.$handlers.splice(i,1),void 0==t?this.$handlers.push(e):this.$handlers.splice(t,0,e),-1==i&&e.attach&&e.attach(this.$editor)}},this.removeKeyboardHandler=function(e){var t=this.$handlers.indexOf(e);return-1==t?!1:(this.$handlers.splice(t,1),e.detach&&e.detach(this.$editor),!0)},this.getKeyboardHandler=function(){return this.$handlers[this.$handlers.length-1]},this.getStatusText=function(){var e=this.$data,t=e.editor;return this.$handlers.map(function(i){return i.getStatusText&&i.getStatusText(t,e)||""}).filter(Boolean).join(" ")},this.$callKeyboardHandlers=function(e,t,i,s){for(var r,o=!1,a=this.$editor.commands,l=this.$handlers.length;l--&&(r=this.$handlers[l].handleKeyboard(this.$data,e,t,i,s),!(r&&r.command&&(o="null"==r.command?!0:a.exec(r.command,this.$editor,r.args,s),o&&s&&-1!=e&&1!=r.passEvent&&1!=r.command.passEvent&&n.stopEvent(s),o))););return o},this.onCommandKey=function(e,t,n){var s=i.keyCodeToString(n);this.$callKeyboardHandlers(t,s,n,e)},this.onTextInput=function(e){var t=this.$callKeyboardHandlers(-1,e);t||this.$editor.commands.exec("insertstring",this.$editor,e)}}).call(s.prototype),t.KeyBinding=s}),ace.define("ace/range",["require","exports","module"],function(e,t){"use strict";var i=function(e,t){return e.row-t.row||e.column-t.column},n=function(e,t,i,n){this.start={row:e,column:t},this.end={row:i,column:n}};(function(){this.isEqual=function(e){return this.start.row===e.start.row&&this.end.row===e.end.row&&this.start.column===e.start.column&&this.end.column===e.end.column},this.toString=function(){return"Range: ["+this.start.row+"/"+this.start.column+"] -> ["+this.end.row+"/"+this.end.column+"]"},this.contains=function(e,t){return 0==this.compare(e,t)},this.compareRange=function(e){var t,i=e.end,n=e.start;return t=this.compare(i.row,i.column),1==t?(t=this.compare(n.row,n.column),1==t?2:0==t?1:0):-1==t?-2:(t=this.compare(n.row,n.column),-1==t?-1:1==t?42:0)},this.comparePoint=function(e){return this.compare(e.row,e.column)},this.containsRange=function(e){return 0==this.comparePoint(e.start)&&0==this.comparePoint(e.end)},this.intersects=function(e){var t=this.compareRange(e);return-1==t||0==t||1==t},this.isEnd=function(e,t){return this.end.row==e&&this.end.column==t},this.isStart=function(e,t){return this.start.row==e&&this.start.column==t},this.setStart=function(e,t){"object"==typeof e?(this.start.column=e.column,this.start.row=e.row):(this.start.row=e,this.start.column=t)},this.setEnd=function(e,t){"object"==typeof e?(this.end.column=e.column,this.end.row=e.row):(this.end.row=e,this.end.column=t)},this.inside=function(e,t){return 0==this.compare(e,t)?this.isEnd(e,t)||this.isStart(e,t)?!1:!0:!1},this.insideStart=function(e,t){return 0==this.compare(e,t)?this.isEnd(e,t)?!1:!0:!1},this.insideEnd=function(e,t){return 0==this.compare(e,t)?this.isStart(e,t)?!1:!0:!1},this.compare=function(e,t){return this.isMultiLine()||e!==this.start.row?this.start.row>e?-1:e>this.end.row?1:this.start.row===e?t>=this.start.column?0:-1:this.end.row===e?this.end.column>=t?0:1:0:this.start.column>t?-1:t>this.end.column?1:0},this.compareStart=function(e,t){return this.start.row==e&&this.start.column==t?-1:this.compare(e,t)},this.compareEnd=function(e,t){return this.end.row==e&&this.end.column==t?1:this.compare(e,t)},this.compareInside=function(e,t){return this.end.row==e&&this.end.column==t?1:this.start.row==e&&this.start.column==t?-1:this.compare(e,t)},this.clipRows=function(e,t){if(this.end.row>t)var i={row:t+1,column:0};else if(e>this.end.row)var i={row:e,column:0};if(this.start.row>t)var s={row:t+1,column:0};else if(e>this.start.row)var s={row:e,column:0};return n.fromPoints(s||this.start,i||this.end)},this.extend=function(e,t){var i=this.compare(e,t);if(0==i)return this;if(-1==i)var s={row:e,column:t};else var r={row:e,column:t};return n.fromPoints(s||this.start,r||this.end)},this.isEmpty=function(){return this.start.row===this.end.row&&this.start.column===this.end.column},this.isMultiLine=function(){return this.start.row!==this.end.row},this.clone=function(){return n.fromPoints(this.start,this.end)},this.collapseRows=function(){return 0==this.end.column?new n(this.start.row,0,Math.max(this.start.row,this.end.row-1),0):new n(this.start.row,0,this.end.row,0)},this.toScreenRange=function(e){var t=e.documentToScreenPosition(this.start),i=e.documentToScreenPosition(this.end);return new n(t.row,t.column,i.row,i.column)},this.moveBy=function(e,t){this.start.row+=e,this.start.column+=t,this.end.row+=e,this.end.column+=t}}).call(n.prototype),n.fromPoints=function(e,t){return new n(e.row,e.column,t.row,t.column)},n.comparePoints=i,n.comparePoints=function(e,t){return e.row-t.row||e.column-t.column},t.Range=n}),ace.define("ace/selection",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/lib/event_emitter","ace/range"],function(e,t){"use strict";var i=e("./lib/oop"),n=e("./lib/lang"),s=e("./lib/event_emitter").EventEmitter,r=e("./range").Range,o=function(e){this.session=e,this.doc=e.getDocument(),this.clearSelection(),this.lead=this.selectionLead=this.doc.createAnchor(0,0),this.anchor=this.selectionAnchor=this.doc.createAnchor(0,0);var t=this;this.lead.on("change",function(e){t._emit("changeCursor"),t.$isEmpty||t._emit("changeSelection"),t.$keepDesiredColumnOnChange||e.old.column==e.value.column||(t.$desiredColumn=null)}),this.selectionAnchor.on("change",function(){t.$isEmpty||t._emit("changeSelection")})};(function(){i.implement(this,s),this.isEmpty=function(){return this.$isEmpty||this.anchor.row==this.lead.row&&this.anchor.column==this.lead.column},this.isMultiLine=function(){return this.isEmpty()?!1:this.getRange().isMultiLine()},this.getCursor=function(){return this.lead.getPosition()
|
6 |
},this.setSelectionAnchor=function(e,t){this.anchor.setPosition(e,t),this.$isEmpty&&(this.$isEmpty=!1,this._emit("changeSelection"))},this.getSelectionAnchor=function(){return this.$isEmpty?this.getSelectionLead():this.anchor.getPosition()},this.getSelectionLead=function(){return this.lead.getPosition()},this.shiftSelection=function(e){if(this.$isEmpty)return this.moveCursorTo(this.lead.row,this.lead.column+e),void 0;var t=this.getSelectionAnchor(),i=this.getSelectionLead(),n=this.isBackwards();n&&0===t.column||this.setSelectionAnchor(t.row,t.column+e),(n||0!==i.column)&&this.$moveSelection(function(){this.moveCursorTo(i.row,i.column+e)})},this.isBackwards=function(){var e=this.anchor,t=this.lead;return e.row>t.row||e.row==t.row&&e.column>t.column},this.getRange=function(){var e=this.anchor,t=this.lead;return this.isEmpty()?r.fromPoints(t,t):this.isBackwards()?r.fromPoints(t,e):r.fromPoints(e,t)},this.clearSelection=function(){this.$isEmpty||(this.$isEmpty=!0,this._emit("changeSelection"))},this.selectAll=function(){var e=this.doc.getLength()-1;this.setSelectionAnchor(0,0),this.moveCursorTo(e,this.doc.getLine(e).length)},this.setRange=this.setSelectionRange=function(e,t){t?(this.setSelectionAnchor(e.end.row,e.end.column),this.selectTo(e.start.row,e.start.column)):(this.setSelectionAnchor(e.start.row,e.start.column),this.selectTo(e.end.row,e.end.column)),this.getRange().isEmpty()&&(this.$isEmpty=!0),this.$desiredColumn=null},this.$moveSelection=function(e){var t=this.lead;this.$isEmpty&&this.setSelectionAnchor(t.row,t.column),e.call(this)},this.selectTo=function(e,t){this.$moveSelection(function(){this.moveCursorTo(e,t)})},this.selectToPosition=function(e){this.$moveSelection(function(){this.moveCursorToPosition(e)})},this.moveTo=function(e,t){this.clearSelection(),this.moveCursorTo(e,t)},this.moveToPosition=function(e){this.clearSelection(),this.moveCursorToPosition(e)},this.selectUp=function(){this.$moveSelection(this.moveCursorUp)},this.selectDown=function(){this.$moveSelection(this.moveCursorDown)},this.selectRight=function(){this.$moveSelection(this.moveCursorRight)},this.selectLeft=function(){this.$moveSelection(this.moveCursorLeft)},this.selectLineStart=function(){this.$moveSelection(this.moveCursorLineStart)},this.selectLineEnd=function(){this.$moveSelection(this.moveCursorLineEnd)},this.selectFileEnd=function(){this.$moveSelection(this.moveCursorFileEnd)},this.selectFileStart=function(){this.$moveSelection(this.moveCursorFileStart)},this.selectWordRight=function(){this.$moveSelection(this.moveCursorWordRight)},this.selectWordLeft=function(){this.$moveSelection(this.moveCursorWordLeft)},this.getWordRange=function(e,t){if(t===void 0){var i=e||this.lead;e=i.row,t=i.column}return this.session.getWordRange(e,t)},this.selectWord=function(){this.setSelectionRange(this.getWordRange())},this.selectAWord=function(){var e=this.getCursor(),t=this.session.getAWordRange(e.row,e.column);this.setSelectionRange(t)},this.getLineRange=function(e,t){var i,n="number"==typeof e?e:this.lead.row,s=this.session.getFoldLine(n);return s?(n=s.start.row,i=s.end.row):i=n,t===!0?new r(n,0,i,this.session.getLine(i).length):new r(n,0,i+1,0)},this.selectLine=function(){this.setSelectionRange(this.getLineRange())},this.moveCursorUp=function(){this.moveCursorBy(-1,0)},this.moveCursorDown=function(){this.moveCursorBy(1,0)},this.moveCursorLeft=function(){var e,t=this.lead.getPosition();if(e=this.session.getFoldAt(t.row,t.column,-1))this.moveCursorTo(e.start.row,e.start.column);else if(0===t.column)t.row>0&&this.moveCursorTo(t.row-1,this.doc.getLine(t.row-1).length);else{var i=this.session.getTabSize();this.session.isTabStop(t)&&this.doc.getLine(t.row).slice(t.column-i,t.column).split(" ").length-1==i?this.moveCursorBy(0,-i):this.moveCursorBy(0,-1)}},this.moveCursorRight=function(){var e,t=this.lead.getPosition();if(e=this.session.getFoldAt(t.row,t.column,1))this.moveCursorTo(e.end.row,e.end.column);else if(this.lead.column==this.doc.getLine(this.lead.row).length)this.lead.row<this.doc.getLength()-1&&this.moveCursorTo(this.lead.row+1,0);else{var i=this.session.getTabSize(),t=this.lead;this.session.isTabStop(t)&&this.doc.getLine(t.row).slice(t.column,t.column+i).split(" ").length-1==i?this.moveCursorBy(0,i):this.moveCursorBy(0,1)}},this.moveCursorLineStart=function(){var e=this.lead.row,t=this.lead.column,i=this.session.documentToScreenRow(e,t),n=this.session.screenToDocumentPosition(i,0),s=this.session.getDisplayLine(e,null,n.row,n.column),r=s.match(/^\s*/);r[0].length==t||this.session.$useEmacsStyleLineStart||(n.column+=r[0].length),this.moveCursorToPosition(n)},this.moveCursorLineEnd=function(){var e=this.lead,t=this.session.getDocumentLastRowColumnPosition(e.row,e.column);if(this.lead.column==t.column){var i=this.session.getLine(t.row);if(t.column==i.length){var n=i.search(/\s+$/);n>0&&(t.column=n)}}this.moveCursorTo(t.row,t.column)},this.moveCursorFileEnd=function(){var e=this.doc.getLength()-1,t=this.doc.getLine(e).length;this.moveCursorTo(e,t)},this.moveCursorFileStart=function(){this.moveCursorTo(0,0)},this.moveCursorLongWordRight=function(){var e,t=this.lead.row,i=this.lead.column,n=this.doc.getLine(t),s=n.substring(i);this.session.nonTokenRe.lastIndex=0,this.session.tokenRe.lastIndex=0;var r=this.session.getFoldAt(t,i,1);return r?(this.moveCursorTo(r.end.row,r.end.column),void 0):((e=this.session.nonTokenRe.exec(s))&&(i+=this.session.nonTokenRe.lastIndex,this.session.nonTokenRe.lastIndex=0,s=n.substring(i)),i>=n.length?(this.moveCursorTo(t,n.length),this.moveCursorRight(),this.doc.getLength()-1>t&&this.moveCursorWordRight(),void 0):((e=this.session.tokenRe.exec(s))&&(i+=this.session.tokenRe.lastIndex,this.session.tokenRe.lastIndex=0),this.moveCursorTo(t,i),void 0))},this.moveCursorLongWordLeft=function(){var e,t=this.lead.row,i=this.lead.column;if(e=this.session.getFoldAt(t,i,-1))return this.moveCursorTo(e.start.row,e.start.column),void 0;var s=this.session.getFoldStringAt(t,i,-1);null==s&&(s=this.doc.getLine(t).substring(0,i));var r,o=n.stringReverse(s);return this.session.nonTokenRe.lastIndex=0,this.session.tokenRe.lastIndex=0,(r=this.session.nonTokenRe.exec(o))&&(i-=this.session.nonTokenRe.lastIndex,o=o.slice(this.session.nonTokenRe.lastIndex),this.session.nonTokenRe.lastIndex=0),0>=i?(this.moveCursorTo(t,0),this.moveCursorLeft(),t>0&&this.moveCursorWordLeft(),void 0):((r=this.session.tokenRe.exec(o))&&(i-=this.session.tokenRe.lastIndex,this.session.tokenRe.lastIndex=0),this.moveCursorTo(t,i),void 0)},this.$shortWordEndIndex=function(e){var t,i,n=0,s=/\s/,r=this.session.tokenRe;if(r.lastIndex=0,t=this.session.tokenRe.exec(e))n=this.session.tokenRe.lastIndex;else{for(;(i=e[n])&&s.test(i);)n++;if(1>n)for(r.lastIndex=0;(i=e[n])&&!r.test(i);)if(r.lastIndex=0,n++,s.test(i)){if(n>2){n--;break}for(;(i=e[n])&&s.test(i);)n++;if(n>2)break}}return r.lastIndex=0,n},this.moveCursorShortWordRight=function(){var e=this.lead.row,t=this.lead.column,i=this.doc.getLine(e),n=i.substring(t),s=this.session.getFoldAt(e,t,1);if(s)return this.moveCursorTo(s.end.row,s.end.column);if(t==i.length){var r=this.doc.getLength();do e++,n=this.doc.getLine(e);while(r>e&&/^\s*$/.test(n));/^\s+/.test(n)||(n=""),t=0}var o=this.$shortWordEndIndex(n);this.moveCursorTo(e,t+o)},this.moveCursorShortWordLeft=function(){var e,t=this.lead.row,i=this.lead.column;if(e=this.session.getFoldAt(t,i,-1))return this.moveCursorTo(e.start.row,e.start.column);var s=this.session.getLine(t).substring(0,i);if(0===i){do t--,s=this.doc.getLine(t);while(t>0&&/^\s*$/.test(s));i=s.length,/\s+$/.test(s)||(s="")}var r=n.stringReverse(s),o=this.$shortWordEndIndex(r);return this.moveCursorTo(t,i-o)},this.moveCursorWordRight=function(){this.session.$selectLongWords?this.moveCursorLongWordRight():this.moveCursorShortWordRight()},this.moveCursorWordLeft=function(){this.session.$selectLongWords?this.moveCursorLongWordLeft():this.moveCursorShortWordLeft()},this.moveCursorBy=function(e,t){var i=this.session.documentToScreenPosition(this.lead.row,this.lead.column);0===t&&(this.$desiredColumn?i.column=this.$desiredColumn:this.$desiredColumn=i.column);var n=this.session.screenToDocumentPosition(i.row+e,i.column);0!==e&&0===t&&n.row===this.lead.row&&n.column===this.lead.column&&this.session.lineWidgets&&this.session.lineWidgets[n.row]&&n.row++,this.moveCursorTo(n.row,n.column+t,0===t)},this.moveCursorToPosition=function(e){this.moveCursorTo(e.row,e.column)},this.moveCursorTo=function(e,t,i){var n=this.session.getFoldAt(e,t,1);n&&(e=n.start.row,t=n.start.column),this.$keepDesiredColumnOnChange=!0,this.lead.setPosition(e,t),this.$keepDesiredColumnOnChange=!1,i||(this.$desiredColumn=null)},this.moveCursorToScreen=function(e,t,i){var n=this.session.screenToDocumentPosition(e,t);this.moveCursorTo(n.row,n.column,i)},this.detach=function(){this.lead.detach(),this.anchor.detach(),this.session=this.doc=null},this.fromOrientedRange=function(e){this.setSelectionRange(e,e.cursor==e.start),this.$desiredColumn=e.desiredColumn||this.$desiredColumn},this.toOrientedRange=function(e){var t=this.getRange();return e?(e.start.column=t.start.column,e.start.row=t.start.row,e.end.column=t.end.column,e.end.row=t.end.row):e=t,e.cursor=this.isBackwards()?e.start:e.end,e.desiredColumn=this.$desiredColumn,e},this.getRangeOfMovements=function(e){var t=this.getCursor();try{e.call(null,this);var i=this.getCursor();return r.fromPoints(t,i)}catch(n){return r.fromPoints(t,t)}finally{this.moveCursorToPosition(t)}},this.toJSON=function(){if(this.rangeCount)var e=this.ranges.map(function(e){var t=e.clone();return t.isBackwards=e.cursor==e.start,t});else{var e=this.getRange();e.isBackwards=this.isBackwards()}return e},this.fromJSON=function(e){if(void 0==e.start){if(this.rangeList){this.toSingleRange(e[0]);for(var t=e.length;t--;){var i=r.fromPoints(e[t].start,e[t].end);e.isBackwards&&(i.cursor=i.start),this.addRange(i,!0)}return}e=e[0]}this.rangeList&&this.toSingleRange(e),this.setSelectionRange(e,e.isBackwards)},this.isEqual=function(e){if((e.length||this.rangeCount)&&e.length!=this.rangeCount)return!1;if(!e.length||!this.ranges)return this.getRange().isEqual(e);for(var t=this.ranges.length;t--;)if(!this.ranges[t].isEqual(e[t]))return!1;return!0}}).call(o.prototype),t.Selection=o}),ace.define("ace/tokenizer",["require","exports","module"],function(e,t){"use strict";var i=2e3,n=function(e){this.states=e,this.regExps={},this.matchMappings={};for(var t in this.states){for(var i=this.states[t],n=[],s=0,r=this.matchMappings[t]={defaultToken:"text"},o="g",a=[],l=0;i.length>l;l++){var h=i[l];if(h.defaultToken&&(r.defaultToken=h.defaultToken),h.caseInsensitive&&(o="gi"),null!=h.regex){h.regex instanceof RegExp&&(h.regex=(""+h.regex).slice(1,-1));var c=h.regex,u=RegExp("(?:("+c+")|(.))").exec("a").length-2;Array.isArray(h.token)?1==h.token.length||1==u?h.token=h.token[0]:u-1!=h.token.length?(this.reportError("number of classes and regexp groups doesn't match",{rule:h,groupCount:u-1}),h.token=h.token[0]):(h.tokenArray=h.token,h.token=null,h.onMatch=this.$arrayTokens):"function"!=typeof h.token||h.onMatch||(h.onMatch=u>1?this.$applyToken:h.token),u>1&&(/\\\d/.test(h.regex)?c=h.regex.replace(/\\([0-9]+)/g,function(e,t){return"\\"+(parseInt(t,10)+s+1)}):(u=1,c=this.removeCapturingGroups(h.regex)),h.splitRegex||"string"==typeof h.token||a.push(h)),r[s]=l,s+=u,n.push(c),h.onMatch||(h.onMatch=null)}}n.length||(r[0]=0,n.push("$")),a.forEach(function(e){e.splitRegex=this.createSplitterRegexp(e.regex,o)},this),this.regExps[t]=RegExp("("+n.join(")|(")+")|($)",o)}};(function(){this.$setMaxTokenCount=function(e){i=0|e},this.$applyToken=function(e){var t=this.splitRegex.exec(e).slice(1),i=this.token.apply(this,t);if("string"==typeof i)return[{type:i,value:e}];for(var n=[],s=0,r=i.length;r>s;s++)t[s]&&(n[n.length]={type:i[s],value:t[s]});return n},this.$arrayTokens=function(e){if(!e)return[];var t=this.splitRegex.exec(e);if(!t)return"text";for(var i=[],n=this.tokenArray,s=0,r=n.length;r>s;s++)t[s+1]&&(i[i.length]={type:n[s],value:t[s+1]});return i},this.removeCapturingGroups=function(e){var t=e.replace(/\[(?:\\.|[^\]])*?\]|\\.|\(\?[:=!]|(\()/g,function(e,t){return t?"(?:":e});return t},this.createSplitterRegexp=function(e,t){if(-1!=e.indexOf("(?=")){var i=0,n=!1,s={};e.replace(/(\\.)|(\((?:\?[=!])?)|(\))|([\[\]])/g,function(e,t,r,o,a,l){return n?n="]"!=a:a?n=!0:o?(i==s.stack&&(s.end=l+1,s.stack=-1),i--):r&&(i++,1!=r.length&&(s.stack=i,s.start=l)),e}),null!=s.end&&/^\)*$/.test(e.substr(s.end))&&(e=e.substring(0,s.start)+e.substr(s.end))}return RegExp(e,(t||"").replace("g",""))},this.getLineTokens=function(e,t){if(t&&"string"!=typeof t){var n=t.slice(0);t=n[0],"#tmp"===t&&(n.shift(),t=n.shift())}else var n=[];var s=t||"start",r=this.states[s];r||(s="start",r=this.states[s]);var o=this.matchMappings[s],a=this.regExps[s];a.lastIndex=0;for(var l,h=[],c=0,u=0,d={type:null,value:""};l=a.exec(e);){var g=o.defaultToken,f=null,m=l[0],p=a.lastIndex;if(p-m.length>c){var A=e.substring(c,p-m.length);d.type==g?d.value+=A:(d.type&&h.push(d),d={type:g,value:A})}for(var v=0;l.length-2>v;v++)if(void 0!==l[v+1]){f=r[o[v]],g=f.onMatch?f.onMatch(m,s,n):f.token,f.next&&(s="string"==typeof f.next?f.next:f.next(s,n),r=this.states[s],r||(this.reportError("state doesn't exist",s),s="start",r=this.states[s]),o=this.matchMappings[s],c=p,a=this.regExps[s],a.lastIndex=p);break}if(m)if("string"==typeof g)f&&f.merge===!1||d.type!==g?(d.type&&h.push(d),d={type:g,value:m}):d.value+=m;else if(g){d.type&&h.push(d),d={type:null,value:""};for(var v=0;g.length>v;v++)h.push(g[v])}if(c==e.length)break;if(c=p,u++>i){for(u>2*e.length&&this.reportError("infinite loop with in ace tokenizer",{startState:t,line:e});e.length>c;)d.type&&h.push(d),d={value:e.substring(c,c+=2e3),type:"overflow"};s="start",n=[];break}}return d.type&&h.push(d),n.length>1&&n[0]!==s&&n.unshift("#tmp",s),{tokens:h,state:n.length?n:s}},this.reportError=function(e,t){var i=Error(e);i.data=t,"object"==typeof console&&console.error&&console.error(i),setTimeout(function(){throw i})}}).call(n.prototype),t.Tokenizer=n}),ace.define("ace/mode/text_highlight_rules",["require","exports","module","ace/lib/lang"],function(e,t){"use strict";var i=e("../lib/lang"),n=function(){this.$rules={start:[{token:"empty_line",regex:"^$"},{defaultToken:"text"}]}};(function(){this.addRules=function(e,t){if(t)for(var i in e){for(var n=e[i],s=0;n.length>s;s++){var r=n[s];(r.next||r.onMatch)&&("string"!=typeof r.next?r.nextState&&0!==r.nextState.indexOf(t)&&(r.nextState=t+r.nextState):0!==r.next.indexOf(t)&&(r.next=t+r.next))}this.$rules[t+i]=n}else for(var i in e)this.$rules[i]=e[i]},this.getRules=function(){return this.$rules},this.embedRules=function(e,t,n,s,r){var o="function"==typeof e?(new e).getRules():e;if(s)for(var a=0;s.length>a;a++)s[a]=t+s[a];else{s=[];for(var l in o)s.push(t+l)}if(this.addRules(o,t),n)for(var h=Array.prototype[r?"push":"unshift"],a=0;s.length>a;a++)h.apply(this.$rules[s[a]],i.deepCopy(n));this.$embeds||(this.$embeds=[]),this.$embeds.push(t)},this.getEmbeds=function(){return this.$embeds};var e=function(e,t){return("start"!=e||t.length)&&t.unshift(this.nextState,e),this.nextState},t=function(e,t){return t.shift(),t.shift()||"start"};this.normalizeRules=function(){function i(r){var o=s[r];o.processed=!0;for(var a=0;o.length>a;a++){var l=o[a];!l.regex&&l.start&&(l.regex=l.start,l.next||(l.next=[]),l.next.push({defaultToken:l.token},{token:l.token+".end",regex:l.end||l.start,next:"pop"}),l.token=l.token+".start",l.push=!0);var h=l.next||l.push;if(h&&Array.isArray(h)){var c=l.stateName;c||(c=l.token,"string"!=typeof c&&(c=c[0]||""),s[c]&&(c+=n++)),s[c]=h,l.next=c,i(c)}else"pop"==h&&(l.next=t);if(l.push&&(l.nextState=l.next||l.push,l.next=e,delete l.push),l.rules)for(var u in l.rules)s[u]?s[u].push&&s[u].push.apply(s[u],l.rules[u]):s[u]=l.rules[u];if(l.include||"string"==typeof l)var d=l.include||l,g=s[d];else Array.isArray(l)&&(g=l);if(g){var f=[a,1].concat(g);l.noEscape&&(f=f.filter(function(e){return!e.next})),o.splice.apply(o,f),a--,g=null}l.keywordMap&&(l.token=this.createKeywordMapper(l.keywordMap,l.defaultToken||"text",l.caseInsensitive),delete l.defaultToken)}}var n=0,s=this.$rules;Object.keys(s).forEach(i,this)},this.createKeywordMapper=function(e,t,i,n){var s=Object.create(null);return Object.keys(e).forEach(function(t){var r=e[t];i&&(r=r.toLowerCase());for(var o=r.split(n||"|"),a=o.length;a--;)s[o[a]]=t}),Object.getPrototypeOf(s)&&(s.__proto__=null),this.$keywordList=Object.keys(s),e=null,i?function(e){return s[e.toLowerCase()]||t}:function(e){return s[e]||t}},this.getKeywords=function(){return this.$keywords}}).call(n.prototype),t.TextHighlightRules=n}),ace.define("ace/mode/behaviour",["require","exports","module"],function(e,t){"use strict";var i=function(){this.$behaviours={}};(function(){this.add=function(e,t,i){switch(void 0){case this.$behaviours:this.$behaviours={};case this.$behaviours[e]:this.$behaviours[e]={}}this.$behaviours[e][t]=i},this.addBehaviours=function(e){for(var t in e)for(var i in e[t])this.add(t,i,e[t][i])},this.remove=function(e){this.$behaviours&&this.$behaviours[e]&&delete this.$behaviours[e]},this.inherit=function(e,t){if("function"==typeof e)var i=(new e).getBehaviours(t);else var i=e.getBehaviours(t);this.addBehaviours(i)},this.getBehaviours=function(e){if(e){for(var t={},i=0;e.length>i;i++)this.$behaviours[e[i]]&&(t[e[i]]=this.$behaviours[e[i]]);return t}return this.$behaviours}}).call(i.prototype),t.Behaviour=i}),ace.define("ace/unicode",["require","exports","module"],function(e,t){"use strict";function i(e){var i=/\w{4}/g;for(var n in e)t.packages[n]=e[n].replace(i,"\\u$&")}t.packages={},i({L:"0041-005A0061-007A00AA00B500BA00C0-00D600D8-00F600F8-02C102C6-02D102E0-02E402EC02EE0370-037403760377037A-037D03860388-038A038C038E-03A103A3-03F503F7-0481048A-05250531-055605590561-058705D0-05EA05F0-05F20621-064A066E066F0671-06D306D506E506E606EE06EF06FA-06FC06FF07100712-072F074D-07A507B107CA-07EA07F407F507FA0800-0815081A082408280904-0939093D09500958-0961097109720979-097F0985-098C098F09900993-09A809AA-09B009B209B6-09B909BD09CE09DC09DD09DF-09E109F009F10A05-0A0A0A0F0A100A13-0A280A2A-0A300A320A330A350A360A380A390A59-0A5C0A5E0A72-0A740A85-0A8D0A8F-0A910A93-0AA80AAA-0AB00AB20AB30AB5-0AB90ABD0AD00AE00AE10B05-0B0C0B0F0B100B13-0B280B2A-0B300B320B330B35-0B390B3D0B5C0B5D0B5F-0B610B710B830B85-0B8A0B8E-0B900B92-0B950B990B9A0B9C0B9E0B9F0BA30BA40BA8-0BAA0BAE-0BB90BD00C05-0C0C0C0E-0C100C12-0C280C2A-0C330C35-0C390C3D0C580C590C600C610C85-0C8C0C8E-0C900C92-0CA80CAA-0CB30CB5-0CB90CBD0CDE0CE00CE10D05-0D0C0D0E-0D100D12-0D280D2A-0D390D3D0D600D610D7A-0D7F0D85-0D960D9A-0DB10DB3-0DBB0DBD0DC0-0DC60E01-0E300E320E330E40-0E460E810E820E840E870E880E8A0E8D0E94-0E970E99-0E9F0EA1-0EA30EA50EA70EAA0EAB0EAD-0EB00EB20EB30EBD0EC0-0EC40EC60EDC0EDD0F000F40-0F470F49-0F6C0F88-0F8B1000-102A103F1050-1055105A-105D106110651066106E-10701075-1081108E10A0-10C510D0-10FA10FC1100-1248124A-124D1250-12561258125A-125D1260-1288128A-128D1290-12B012B2-12B512B8-12BE12C012C2-12C512C8-12D612D8-13101312-13151318-135A1380-138F13A0-13F41401-166C166F-167F1681-169A16A0-16EA1700-170C170E-17111720-17311740-17511760-176C176E-17701780-17B317D717DC1820-18771880-18A818AA18B0-18F51900-191C1950-196D1970-19741980-19AB19C1-19C71A00-1A161A20-1A541AA71B05-1B331B45-1B4B1B83-1BA01BAE1BAF1C00-1C231C4D-1C4F1C5A-1C7D1CE9-1CEC1CEE-1CF11D00-1DBF1E00-1F151F18-1F1D1F20-1F451F48-1F4D1F50-1F571F591F5B1F5D1F5F-1F7D1F80-1FB41FB6-1FBC1FBE1FC2-1FC41FC6-1FCC1FD0-1FD31FD6-1FDB1FE0-1FEC1FF2-1FF41FF6-1FFC2071207F2090-209421022107210A-211321152119-211D212421262128212A-212D212F-2139213C-213F2145-2149214E218321842C00-2C2E2C30-2C5E2C60-2CE42CEB-2CEE2D00-2D252D30-2D652D6F2D80-2D962DA0-2DA62DA8-2DAE2DB0-2DB62DB8-2DBE2DC0-2DC62DC8-2DCE2DD0-2DD62DD8-2DDE2E2F300530063031-3035303B303C3041-3096309D-309F30A1-30FA30FC-30FF3105-312D3131-318E31A0-31B731F0-31FF3400-4DB54E00-9FCBA000-A48CA4D0-A4FDA500-A60CA610-A61FA62AA62BA640-A65FA662-A66EA67F-A697A6A0-A6E5A717-A71FA722-A788A78BA78CA7FB-A801A803-A805A807-A80AA80C-A822A840-A873A882-A8B3A8F2-A8F7A8FBA90A-A925A930-A946A960-A97CA984-A9B2A9CFAA00-AA28AA40-AA42AA44-AA4BAA60-AA76AA7AAA80-AAAFAAB1AAB5AAB6AAB9-AABDAAC0AAC2AADB-AADDABC0-ABE2AC00-D7A3D7B0-D7C6D7CB-D7FBF900-FA2DFA30-FA6DFA70-FAD9FB00-FB06FB13-FB17FB1DFB1F-FB28FB2A-FB36FB38-FB3CFB3EFB40FB41FB43FB44FB46-FBB1FBD3-FD3DFD50-FD8FFD92-FDC7FDF0-FDFBFE70-FE74FE76-FEFCFF21-FF3AFF41-FF5AFF66-FFBEFFC2-FFC7FFCA-FFCFFFD2-FFD7FFDA-FFDC",Ll:"0061-007A00AA00B500BA00DF-00F600F8-00FF01010103010501070109010B010D010F01110113011501170119011B011D011F01210123012501270129012B012D012F01310133013501370138013A013C013E014001420144014601480149014B014D014F01510153015501570159015B015D015F01610163016501670169016B016D016F0171017301750177017A017C017E-0180018301850188018C018D019201950199-019B019E01A101A301A501A801AA01AB01AD01B001B401B601B901BA01BD-01BF01C601C901CC01CE01D001D201D401D601D801DA01DC01DD01DF01E101E301E501E701E901EB01ED01EF01F001F301F501F901FB01FD01FF02010203020502070209020B020D020F02110213021502170219021B021D021F02210223022502270229022B022D022F02310233-0239023C023F0240024202470249024B024D024F-02930295-02AF037103730377037B-037D039003AC-03CE03D003D103D5-03D703D903DB03DD03DF03E103E303E503E703E903EB03ED03EF-03F303F503F803FB03FC0430-045F04610463046504670469046B046D046F04710473047504770479047B047D047F0481048B048D048F04910493049504970499049B049D049F04A104A304A504A704A904AB04AD04AF04B104B304B504B704B904BB04BD04BF04C204C404C604C804CA04CC04CE04CF04D104D304D504D704D904DB04DD04DF04E104E304E504E704E904EB04ED04EF04F104F304F504F704F904FB04FD04FF05010503050505070509050B050D050F05110513051505170519051B051D051F0521052305250561-05871D00-1D2B1D62-1D771D79-1D9A1E011E031E051E071E091E0B1E0D1E0F1E111E131E151E171E191E1B1E1D1E1F1E211E231E251E271E291E2B1E2D1E2F1E311E331E351E371E391E3B1E3D1E3F1E411E431E451E471E491E4B1E4D1E4F1E511E531E551E571E591E5B1E5D1E5F1E611E631E651E671E691E6B1E6D1E6F1E711E731E751E771E791E7B1E7D1E7F1E811E831E851E871E891E8B1E8D1E8F1E911E931E95-1E9D1E9F1EA11EA31EA51EA71EA91EAB1EAD1EAF1EB11EB31EB51EB71EB91EBB1EBD1EBF1EC11EC31EC51EC71EC91ECB1ECD1ECF1ED11ED31ED51ED71ED91EDB1EDD1EDF1EE11EE31EE51EE71EE91EEB1EED1EEF1EF11EF31EF51EF71EF91EFB1EFD1EFF-1F071F10-1F151F20-1F271F30-1F371F40-1F451F50-1F571F60-1F671F70-1F7D1F80-1F871F90-1F971FA0-1FA71FB0-1FB41FB61FB71FBE1FC2-1FC41FC61FC71FD0-1FD31FD61FD71FE0-1FE71FF2-1FF41FF61FF7210A210E210F2113212F21342139213C213D2146-2149214E21842C30-2C5E2C612C652C662C682C6A2C6C2C712C732C742C76-2C7C2C812C832C852C872C892C8B2C8D2C8F2C912C932C952C972C992C9B2C9D2C9F2CA12CA32CA52CA72CA92CAB2CAD2CAF2CB12CB32CB52CB72CB92CBB2CBD2CBF2CC12CC32CC52CC72CC92CCB2CCD2CCF2CD12CD32CD52CD72CD92CDB2CDD2CDF2CE12CE32CE42CEC2CEE2D00-2D25A641A643A645A647A649A64BA64DA64FA651A653A655A657A659A65BA65DA65FA663A665A667A669A66BA66DA681A683A685A687A689A68BA68DA68FA691A693A695A697A723A725A727A729A72BA72DA72F-A731A733A735A737A739A73BA73DA73FA741A743A745A747A749A74BA74DA74FA751A753A755A757A759A75BA75DA75FA761A763A765A767A769A76BA76DA76FA771-A778A77AA77CA77FA781A783A785A787A78CFB00-FB06FB13-FB17FF41-FF5A",Lu:"0041-005A00C0-00D600D8-00DE01000102010401060108010A010C010E01100112011401160118011A011C011E01200122012401260128012A012C012E01300132013401360139013B013D013F0141014301450147014A014C014E01500152015401560158015A015C015E01600162016401660168016A016C016E017001720174017601780179017B017D018101820184018601870189-018B018E-0191019301940196-0198019C019D019F01A001A201A401A601A701A901AC01AE01AF01B1-01B301B501B701B801BC01C401C701CA01CD01CF01D101D301D501D701D901DB01DE01E001E201E401E601E801EA01EC01EE01F101F401F6-01F801FA01FC01FE02000202020402060208020A020C020E02100212021402160218021A021C021E02200222022402260228022A022C022E02300232023A023B023D023E02410243-02460248024A024C024E03700372037603860388-038A038C038E038F0391-03A103A3-03AB03CF03D2-03D403D803DA03DC03DE03E003E203E403E603E803EA03EC03EE03F403F703F903FA03FD-042F04600462046404660468046A046C046E04700472047404760478047A047C047E0480048A048C048E04900492049404960498049A049C049E04A004A204A404A604A804AA04AC04AE04B004B204B404B604B804BA04BC04BE04C004C104C304C504C704C904CB04CD04D004D204D404D604D804DA04DC04DE04E004E204E404E604E804EA04EC04EE04F004F204F404F604F804FA04FC04FE05000502050405060508050A050C050E05100512051405160518051A051C051E0520052205240531-055610A0-10C51E001E021E041E061E081E0A1E0C1E0E1E101E121E141E161E181E1A1E1C1E1E1E201E221E241E261E281E2A1E2C1E2E1E301E321E341E361E381E3A1E3C1E3E1E401E421E441E461E481E4A1E4C1E4E1E501E521E541E561E581E5A1E5C1E5E1E601E621E641E661E681E6A1E6C1E6E1E701E721E741E761E781E7A1E7C1E7E1E801E821E841E861E881E8A1E8C1E8E1E901E921E941E9E1EA01EA21EA41EA61EA81EAA1EAC1EAE1EB01EB21EB41EB61EB81EBA1EBC1EBE1EC01EC21EC41EC61EC81ECA1ECC1ECE1ED01ED21ED41ED61ED81EDA1EDC1EDE1EE01EE21EE41EE61EE81EEA1EEC1EEE1EF01EF21EF41EF61EF81EFA1EFC1EFE1F08-1F0F1F18-1F1D1F28-1F2F1F38-1F3F1F48-1F4D1F591F5B1F5D1F5F1F68-1F6F1FB8-1FBB1FC8-1FCB1FD8-1FDB1FE8-1FEC1FF8-1FFB21022107210B-210D2110-211221152119-211D212421262128212A-212D2130-2133213E213F214521832C00-2C2E2C602C62-2C642C672C692C6B2C6D-2C702C722C752C7E-2C802C822C842C862C882C8A2C8C2C8E2C902C922C942C962C982C9A2C9C2C9E2CA02CA22CA42CA62CA82CAA2CAC2CAE2CB02CB22CB42CB62CB82CBA2CBC2CBE2CC02CC22CC42CC62CC82CCA2CCC2CCE2CD02CD22CD42CD62CD82CDA2CDC2CDE2CE02CE22CEB2CEDA640A642A644A646A648A64AA64CA64EA650A652A654A656A658A65AA65CA65EA662A664A666A668A66AA66CA680A682A684A686A688A68AA68CA68EA690A692A694A696A722A724A726A728A72AA72CA72EA732A734A736A738A73AA73CA73EA740A742A744A746A748A74AA74CA74EA750A752A754A756A758A75AA75CA75EA760A762A764A766A768A76AA76CA76EA779A77BA77DA77EA780A782A784A786A78BFF21-FF3A",Lt:"01C501C801CB01F21F88-1F8F1F98-1F9F1FA8-1FAF1FBC1FCC1FFC",Lm:"02B0-02C102C6-02D102E0-02E402EC02EE0374037A0559064006E506E607F407F507FA081A0824082809710E460EC610FC17D718431AA71C78-1C7D1D2C-1D611D781D9B-1DBF2071207F2090-20942C7D2D6F2E2F30053031-3035303B309D309E30FC-30FEA015A4F8-A4FDA60CA67FA717-A71FA770A788A9CFAA70AADDFF70FF9EFF9F",Lo:"01BB01C0-01C3029405D0-05EA05F0-05F20621-063F0641-064A066E066F0671-06D306D506EE06EF06FA-06FC06FF07100712-072F074D-07A507B107CA-07EA0800-08150904-0939093D09500958-096109720979-097F0985-098C098F09900993-09A809AA-09B009B209B6-09B909BD09CE09DC09DD09DF-09E109F009F10A05-0A0A0A0F0A100A13-0A280A2A-0A300A320A330A350A360A380A390A59-0A5C0A5E0A72-0A740A85-0A8D0A8F-0A910A93-0AA80AAA-0AB00AB20AB30AB5-0AB90ABD0AD00AE00AE10B05-0B0C0B0F0B100B13-0B280B2A-0B300B320B330B35-0B390B3D0B5C0B5D0B5F-0B610B710B830B85-0B8A0B8E-0B900B92-0B950B990B9A0B9C0B9E0B9F0BA30BA40BA8-0BAA0BAE-0BB90BD00C05-0C0C0C0E-0C100C12-0C280C2A-0C330C35-0C390C3D0C580C590C600C610C85-0C8C0C8E-0C900C92-0CA80CAA-0CB30CB5-0CB90CBD0CDE0CE00CE10D05-0D0C0D0E-0D100D12-0D280D2A-0D390D3D0D600D610D7A-0D7F0D85-0D960D9A-0DB10DB3-0DBB0DBD0DC0-0DC60E01-0E300E320E330E40-0E450E810E820E840E870E880E8A0E8D0E94-0E970E99-0E9F0EA1-0EA30EA50EA70EAA0EAB0EAD-0EB00EB20EB30EBD0EC0-0EC40EDC0EDD0F000F40-0F470F49-0F6C0F88-0F8B1000-102A103F1050-1055105A-105D106110651066106E-10701075-1081108E10D0-10FA1100-1248124A-124D1250-12561258125A-125D1260-1288128A-128D1290-12B012B2-12B512B8-12BE12C012C2-12C512C8-12D612D8-13101312-13151318-135A1380-138F13A0-13F41401-166C166F-167F1681-169A16A0-16EA1700-170C170E-17111720-17311740-17511760-176C176E-17701780-17B317DC1820-18421844-18771880-18A818AA18B0-18F51900-191C1950-196D1970-19741980-19AB19C1-19C71A00-1A161A20-1A541B05-1B331B45-1B4B1B83-1BA01BAE1BAF1C00-1C231C4D-1C4F1C5A-1C771CE9-1CEC1CEE-1CF12135-21382D30-2D652D80-2D962DA0-2DA62DA8-2DAE2DB0-2DB62DB8-2DBE2DC0-2DC62DC8-2DCE2DD0-2DD62DD8-2DDE3006303C3041-3096309F30A1-30FA30FF3105-312D3131-318E31A0-31B731F0-31FF3400-4DB54E00-9FCBA000-A014A016-A48CA4D0-A4F7A500-A60BA610-A61FA62AA62BA66EA6A0-A6E5A7FB-A801A803-A805A807-A80AA80C-A822A840-A873A882-A8B3A8F2-A8F7A8FBA90A-A925A930-A946A960-A97CA984-A9B2AA00-AA28AA40-AA42AA44-AA4BAA60-AA6FAA71-AA76AA7AAA80-AAAFAAB1AAB5AAB6AAB9-AABDAAC0AAC2AADBAADCABC0-ABE2AC00-D7A3D7B0-D7C6D7CB-D7FBF900-FA2DFA30-FA6DFA70-FAD9FB1DFB1F-FB28FB2A-FB36FB38-FB3CFB3EFB40FB41FB43FB44FB46-FBB1FBD3-FD3DFD50-FD8FFD92-FDC7FDF0-FDFBFE70-FE74FE76-FEFCFF66-FF6FFF71-FF9DFFA0-FFBEFFC2-FFC7FFCA-FFCFFFD2-FFD7FFDA-FFDC",M:"0300-036F0483-04890591-05BD05BF05C105C205C405C505C70610-061A064B-065E067006D6-06DC06DE-06E406E706E806EA-06ED07110730-074A07A6-07B007EB-07F30816-0819081B-08230825-08270829-082D0900-0903093C093E-094E0951-0955096209630981-098309BC09BE-09C409C709C809CB-09CD09D709E209E30A01-0A030A3C0A3E-0A420A470A480A4B-0A4D0A510A700A710A750A81-0A830ABC0ABE-0AC50AC7-0AC90ACB-0ACD0AE20AE30B01-0B030B3C0B3E-0B440B470B480B4B-0B4D0B560B570B620B630B820BBE-0BC20BC6-0BC80BCA-0BCD0BD70C01-0C030C3E-0C440C46-0C480C4A-0C4D0C550C560C620C630C820C830CBC0CBE-0CC40CC6-0CC80CCA-0CCD0CD50CD60CE20CE30D020D030D3E-0D440D46-0D480D4A-0D4D0D570D620D630D820D830DCA0DCF-0DD40DD60DD8-0DDF0DF20DF30E310E34-0E3A0E47-0E4E0EB10EB4-0EB90EBB0EBC0EC8-0ECD0F180F190F350F370F390F3E0F3F0F71-0F840F860F870F90-0F970F99-0FBC0FC6102B-103E1056-1059105E-10601062-10641067-106D1071-10741082-108D108F109A-109D135F1712-17141732-1734175217531772177317B6-17D317DD180B-180D18A91920-192B1930-193B19B0-19C019C819C91A17-1A1B1A55-1A5E1A60-1A7C1A7F1B00-1B041B34-1B441B6B-1B731B80-1B821BA1-1BAA1C24-1C371CD0-1CD21CD4-1CE81CED1CF21DC0-1DE61DFD-1DFF20D0-20F02CEF-2CF12DE0-2DFF302A-302F3099309AA66F-A672A67CA67DA6F0A6F1A802A806A80BA823-A827A880A881A8B4-A8C4A8E0-A8F1A926-A92DA947-A953A980-A983A9B3-A9C0AA29-AA36AA43AA4CAA4DAA7BAAB0AAB2-AAB4AAB7AAB8AABEAABFAAC1ABE3-ABEAABECABEDFB1EFE00-FE0FFE20-FE26",Mn:"0300-036F0483-04870591-05BD05BF05C105C205C405C505C70610-061A064B-065E067006D6-06DC06DF-06E406E706E806EA-06ED07110730-074A07A6-07B007EB-07F30816-0819081B-08230825-08270829-082D0900-0902093C0941-0948094D0951-095509620963098109BC09C1-09C409CD09E209E30A010A020A3C0A410A420A470A480A4B-0A4D0A510A700A710A750A810A820ABC0AC1-0AC50AC70AC80ACD0AE20AE30B010B3C0B3F0B41-0B440B4D0B560B620B630B820BC00BCD0C3E-0C400C46-0C480C4A-0C4D0C550C560C620C630CBC0CBF0CC60CCC0CCD0CE20CE30D41-0D440D4D0D620D630DCA0DD2-0DD40DD60E310E34-0E3A0E47-0E4E0EB10EB4-0EB90EBB0EBC0EC8-0ECD0F180F190F350F370F390F71-0F7E0F80-0F840F860F870F90-0F970F99-0FBC0FC6102D-10301032-10371039103A103D103E10581059105E-10601071-1074108210851086108D109D135F1712-17141732-1734175217531772177317B7-17BD17C617C9-17D317DD180B-180D18A91920-19221927192819321939-193B1A171A181A561A58-1A5E1A601A621A65-1A6C1A73-1A7C1A7F1B00-1B031B341B36-1B3A1B3C1B421B6B-1B731B801B811BA2-1BA51BA81BA91C2C-1C331C361C371CD0-1CD21CD4-1CE01CE2-1CE81CED1DC0-1DE61DFD-1DFF20D0-20DC20E120E5-20F02CEF-2CF12DE0-2DFF302A-302F3099309AA66FA67CA67DA6F0A6F1A802A806A80BA825A826A8C4A8E0-A8F1A926-A92DA947-A951A980-A982A9B3A9B6-A9B9A9BCAA29-AA2EAA31AA32AA35AA36AA43AA4CAAB0AAB2-AAB4AAB7AAB8AABEAABFAAC1ABE5ABE8ABEDFB1EFE00-FE0FFE20-FE26",Mc:"0903093E-09400949-094C094E0982098309BE-09C009C709C809CB09CC09D70A030A3E-0A400A830ABE-0AC00AC90ACB0ACC0B020B030B3E0B400B470B480B4B0B4C0B570BBE0BBF0BC10BC20BC6-0BC80BCA-0BCC0BD70C01-0C030C41-0C440C820C830CBE0CC0-0CC40CC70CC80CCA0CCB0CD50CD60D020D030D3E-0D400D46-0D480D4A-0D4C0D570D820D830DCF-0DD10DD8-0DDF0DF20DF30F3E0F3F0F7F102B102C10311038103B103C105610571062-10641067-106D108310841087-108C108F109A-109C17B617BE-17C517C717C81923-19261929-192B193019311933-193819B0-19C019C819C91A19-1A1B1A551A571A611A631A641A6D-1A721B041B351B3B1B3D-1B411B431B441B821BA11BA61BA71BAA1C24-1C2B1C341C351CE11CF2A823A824A827A880A881A8B4-A8C3A952A953A983A9B4A9B5A9BAA9BBA9BD-A9C0AA2FAA30AA33AA34AA4DAA7BABE3ABE4ABE6ABE7ABE9ABEAABEC",Me:"0488048906DE20DD-20E020E2-20E4A670-A672",N:"0030-003900B200B300B900BC-00BE0660-066906F0-06F907C0-07C90966-096F09E6-09EF09F4-09F90A66-0A6F0AE6-0AEF0B66-0B6F0BE6-0BF20C66-0C6F0C78-0C7E0CE6-0CEF0D66-0D750E50-0E590ED0-0ED90F20-0F331040-10491090-10991369-137C16EE-16F017E0-17E917F0-17F91810-18191946-194F19D0-19DA1A80-1A891A90-1A991B50-1B591BB0-1BB91C40-1C491C50-1C5920702074-20792080-20892150-21822185-21892460-249B24EA-24FF2776-27932CFD30073021-30293038-303A3192-31953220-32293251-325F3280-328932B1-32BFA620-A629A6E6-A6EFA830-A835A8D0-A8D9A900-A909A9D0-A9D9AA50-AA59ABF0-ABF9FF10-FF19",Nd:"0030-00390660-066906F0-06F907C0-07C90966-096F09E6-09EF0A66-0A6F0AE6-0AEF0B66-0B6F0BE6-0BEF0C66-0C6F0CE6-0CEF0D66-0D6F0E50-0E590ED0-0ED90F20-0F291040-10491090-109917E0-17E91810-18191946-194F19D0-19DA1A80-1A891A90-1A991B50-1B591BB0-1BB91C40-1C491C50-1C59A620-A629A8D0-A8D9A900-A909A9D0-A9D9AA50-AA59ABF0-ABF9FF10-FF19",Nl:"16EE-16F02160-21822185-218830073021-30293038-303AA6E6-A6EF",No:"00B200B300B900BC-00BE09F4-09F90BF0-0BF20C78-0C7E0D70-0D750F2A-0F331369-137C17F0-17F920702074-20792080-20892150-215F21892460-249B24EA-24FF2776-27932CFD3192-31953220-32293251-325F3280-328932B1-32BFA830-A835",P:"0021-00230025-002A002C-002F003A003B003F0040005B-005D005F007B007D00A100AB00B700BB00BF037E0387055A-055F0589058A05BE05C005C305C605F305F40609060A060C060D061B061E061F066A-066D06D40700-070D07F7-07F90830-083E0964096509700DF40E4F0E5A0E5B0F04-0F120F3A-0F3D0F850FD0-0FD4104A-104F10FB1361-13681400166D166E169B169C16EB-16ED1735173617D4-17D617D8-17DA1800-180A1944194519DE19DF1A1E1A1F1AA0-1AA61AA8-1AAD1B5A-1B601C3B-1C3F1C7E1C7F1CD32010-20272030-20432045-20512053-205E207D207E208D208E2329232A2768-277527C527C627E6-27EF2983-299829D8-29DB29FC29FD2CF9-2CFC2CFE2CFF2E00-2E2E2E302E313001-30033008-30113014-301F3030303D30A030FBA4FEA4FFA60D-A60FA673A67EA6F2-A6F7A874-A877A8CEA8CFA8F8-A8FAA92EA92FA95FA9C1-A9CDA9DEA9DFAA5C-AA5FAADEAADFABEBFD3EFD3FFE10-FE19FE30-FE52FE54-FE61FE63FE68FE6AFE6BFF01-FF03FF05-FF0AFF0C-FF0FFF1AFF1BFF1FFF20FF3B-FF3DFF3FFF5BFF5DFF5F-FF65",Pd:"002D058A05BE140018062010-20152E172E1A301C303030A0FE31FE32FE58FE63FF0D",Ps:"0028005B007B0F3A0F3C169B201A201E2045207D208D23292768276A276C276E27702772277427C527E627E827EA27EC27EE2983298529872989298B298D298F299129932995299729D829DA29FC2E222E242E262E283008300A300C300E3010301430163018301A301DFD3EFE17FE35FE37FE39FE3BFE3DFE3FFE41FE43FE47FE59FE5BFE5DFF08FF3BFF5BFF5FFF62",Pe:"0029005D007D0F3B0F3D169C2046207E208E232A2769276B276D276F27712773277527C627E727E927EB27ED27EF298429862988298A298C298E2990299229942996299829D929DB29FD2E232E252E272E293009300B300D300F3011301530173019301B301E301FFD3FFE18FE36FE38FE3AFE3CFE3EFE40FE42FE44FE48FE5AFE5CFE5EFF09FF3DFF5DFF60FF63",Pi:"00AB2018201B201C201F20392E022E042E092E0C2E1C2E20",Pf:"00BB2019201D203A2E032E052E0A2E0D2E1D2E21",Pc:"005F203F20402054FE33FE34FE4D-FE4FFF3F",Po:"0021-00230025-0027002A002C002E002F003A003B003F0040005C00A100B700BF037E0387055A-055F058905C005C305C605F305F40609060A060C060D061B061E061F066A-066D06D40700-070D07F7-07F90830-083E0964096509700DF40E4F0E5A0E5B0F04-0F120F850FD0-0FD4104A-104F10FB1361-1368166D166E16EB-16ED1735173617D4-17D617D8-17DA1800-18051807-180A1944194519DE19DF1A1E1A1F1AA0-1AA61AA8-1AAD1B5A-1B601C3B-1C3F1C7E1C7F1CD3201620172020-20272030-2038203B-203E2041-20432047-205120532055-205E2CF9-2CFC2CFE2CFF2E002E012E06-2E082E0B2E0E-2E162E182E192E1B2E1E2E1F2E2A-2E2E2E302E313001-3003303D30FBA4FEA4FFA60D-A60FA673A67EA6F2-A6F7A874-A877A8CEA8CFA8F8-A8FAA92EA92FA95FA9C1-A9CDA9DEA9DFAA5C-AA5FAADEAADFABEBFE10-FE16FE19FE30FE45FE46FE49-FE4CFE50-FE52FE54-FE57FE5F-FE61FE68FE6AFE6BFF01-FF03FF05-FF07FF0AFF0CFF0EFF0FFF1AFF1BFF1FFF20FF3CFF61FF64FF65",S:"0024002B003C-003E005E0060007C007E00A2-00A900AC00AE-00B100B400B600B800D700F702C2-02C502D2-02DF02E5-02EB02ED02EF-02FF03750384038503F604820606-0608060B060E060F06E906FD06FE07F609F209F309FA09FB0AF10B700BF3-0BFA0C7F0CF10CF20D790E3F0F01-0F030F13-0F170F1A-0F1F0F340F360F380FBE-0FC50FC7-0FCC0FCE0FCF0FD5-0FD8109E109F13601390-139917DB194019E0-19FF1B61-1B6A1B74-1B7C1FBD1FBF-1FC11FCD-1FCF1FDD-1FDF1FED-1FEF1FFD1FFE20442052207A-207C208A-208C20A0-20B8210021012103-21062108210921142116-2118211E-2123212521272129212E213A213B2140-2144214A-214D214F2190-2328232B-23E82400-24262440-244A249C-24E92500-26CD26CF-26E126E326E8-26FF2701-27042706-2709270C-27272729-274B274D274F-27522756-275E2761-276727942798-27AF27B1-27BE27C0-27C427C7-27CA27CC27D0-27E527F0-29822999-29D729DC-29FB29FE-2B4C2B50-2B592CE5-2CEA2E80-2E992E9B-2EF32F00-2FD52FF0-2FFB300430123013302030363037303E303F309B309C319031913196-319F31C0-31E33200-321E322A-32503260-327F328A-32B032C0-32FE3300-33FF4DC0-4DFFA490-A4C6A700-A716A720A721A789A78AA828-A82BA836-A839AA77-AA79FB29FDFCFDFDFE62FE64-FE66FE69FF04FF0BFF1C-FF1EFF3EFF40FF5CFF5EFFE0-FFE6FFE8-FFEEFFFCFFFD",Sm:"002B003C-003E007C007E00AC00B100D700F703F60606-060820442052207A-207C208A-208C2140-2144214B2190-2194219A219B21A021A321A621AE21CE21CF21D221D421F4-22FF2308-230B23202321237C239B-23B323DC-23E125B725C125F8-25FF266F27C0-27C427C7-27CA27CC27D0-27E527F0-27FF2900-29822999-29D729DC-29FB29FE-2AFF2B30-2B442B47-2B4CFB29FE62FE64-FE66FF0BFF1C-FF1EFF5CFF5EFFE2FFE9-FFEC",Sc:"002400A2-00A5060B09F209F309FB0AF10BF90E3F17DB20A0-20B8A838FDFCFE69FF04FFE0FFE1FFE5FFE6",Sk:"005E006000A800AF00B400B802C2-02C502D2-02DF02E5-02EB02ED02EF-02FF0375038403851FBD1FBF-1FC11FCD-1FCF1FDD-1FDF1FED-1FEF1FFD1FFE309B309CA700-A716A720A721A789A78AFF3EFF40FFE3",So:"00A600A700A900AE00B000B60482060E060F06E906FD06FE07F609FA0B700BF3-0BF80BFA0C7F0CF10CF20D790F01-0F030F13-0F170F1A-0F1F0F340F360F380FBE-0FC50FC7-0FCC0FCE0FCF0FD5-0FD8109E109F13601390-1399194019E0-19FF1B61-1B6A1B74-1B7C210021012103-21062108210921142116-2118211E-2123212521272129212E213A213B214A214C214D214F2195-2199219C-219F21A121A221A421A521A7-21AD21AF-21CD21D021D121D321D5-21F32300-2307230C-231F2322-2328232B-237B237D-239A23B4-23DB23E2-23E82400-24262440-244A249C-24E92500-25B625B8-25C025C2-25F72600-266E2670-26CD26CF-26E126E326E8-26FF2701-27042706-2709270C-27272729-274B274D274F-27522756-275E2761-276727942798-27AF27B1-27BE2800-28FF2B00-2B2F2B452B462B50-2B592CE5-2CEA2E80-2E992E9B-2EF32F00-2FD52FF0-2FFB300430123013302030363037303E303F319031913196-319F31C0-31E33200-321E322A-32503260-327F328A-32B032C0-32FE3300-33FF4DC0-4DFFA490-A4C6A828-A82BA836A837A839AA77-AA79FDFDFFE4FFE8FFEDFFEEFFFCFFFD",Z:"002000A01680180E2000-200A20282029202F205F3000",Zs:"002000A01680180E2000-200A202F205F3000",Zl:"2028",Zp:"2029",C:"0000-001F007F-009F00AD03780379037F-0383038B038D03A20526-05300557055805600588058B-059005C8-05CF05EB-05EF05F5-0605061C061D0620065F06DD070E070F074B074C07B2-07BF07FB-07FF082E082F083F-08FF093A093B094F095609570973-097809800984098D098E0991099209A909B109B3-09B509BA09BB09C509C609C909CA09CF-09D609D8-09DB09DE09E409E509FC-0A000A040A0B-0A0E0A110A120A290A310A340A370A3A0A3B0A3D0A43-0A460A490A4A0A4E-0A500A52-0A580A5D0A5F-0A650A76-0A800A840A8E0A920AA90AB10AB40ABA0ABB0AC60ACA0ACE0ACF0AD1-0ADF0AE40AE50AF00AF2-0B000B040B0D0B0E0B110B120B290B310B340B3A0B3B0B450B460B490B4A0B4E-0B550B58-0B5B0B5E0B640B650B72-0B810B840B8B-0B8D0B910B96-0B980B9B0B9D0BA0-0BA20BA5-0BA70BAB-0BAD0BBA-0BBD0BC3-0BC50BC90BCE0BCF0BD1-0BD60BD8-0BE50BFB-0C000C040C0D0C110C290C340C3A-0C3C0C450C490C4E-0C540C570C5A-0C5F0C640C650C70-0C770C800C810C840C8D0C910CA90CB40CBA0CBB0CC50CC90CCE-0CD40CD7-0CDD0CDF0CE40CE50CF00CF3-0D010D040D0D0D110D290D3A-0D3C0D450D490D4E-0D560D58-0D5F0D640D650D76-0D780D800D810D840D97-0D990DB20DBC0DBE0DBF0DC7-0DC90DCB-0DCE0DD50DD70DE0-0DF10DF5-0E000E3B-0E3E0E5C-0E800E830E850E860E890E8B0E8C0E8E-0E930E980EA00EA40EA60EA80EA90EAC0EBA0EBE0EBF0EC50EC70ECE0ECF0EDA0EDB0EDE-0EFF0F480F6D-0F700F8C-0F8F0F980FBD0FCD0FD9-0FFF10C6-10CF10FD-10FF1249124E124F12571259125E125F1289128E128F12B112B612B712BF12C112C612C712D7131113161317135B-135E137D-137F139A-139F13F5-13FF169D-169F16F1-16FF170D1715-171F1737-173F1754-175F176D17711774-177F17B417B517DE17DF17EA-17EF17FA-17FF180F181A-181F1878-187F18AB-18AF18F6-18FF191D-191F192C-192F193C-193F1941-1943196E196F1975-197F19AC-19AF19CA-19CF19DB-19DD1A1C1A1D1A5F1A7D1A7E1A8A-1A8F1A9A-1A9F1AAE-1AFF1B4C-1B4F1B7D-1B7F1BAB-1BAD1BBA-1BFF1C38-1C3A1C4A-1C4C1C80-1CCF1CF3-1CFF1DE7-1DFC1F161F171F1E1F1F1F461F471F4E1F4F1F581F5A1F5C1F5E1F7E1F7F1FB51FC51FD41FD51FDC1FF01FF11FF51FFF200B-200F202A-202E2060-206F20722073208F2095-209F20B9-20CF20F1-20FF218A-218F23E9-23FF2427-243F244B-245F26CE26E226E4-26E727002705270A270B2728274C274E2753-2755275F27602795-279727B027BF27CB27CD-27CF2B4D-2B4F2B5A-2BFF2C2F2C5F2CF2-2CF82D26-2D2F2D66-2D6E2D70-2D7F2D97-2D9F2DA72DAF2DB72DBF2DC72DCF2DD72DDF2E32-2E7F2E9A2EF4-2EFF2FD6-2FEF2FFC-2FFF3040309730983100-3104312E-3130318F31B8-31BF31E4-31EF321F32FF4DB6-4DBF9FCC-9FFFA48D-A48FA4C7-A4CFA62C-A63FA660A661A674-A67BA698-A69FA6F8-A6FFA78D-A7FAA82C-A82FA83A-A83FA878-A87FA8C5-A8CDA8DA-A8DFA8FC-A8FFA954-A95EA97D-A97FA9CEA9DA-A9DDA9E0-A9FFAA37-AA3FAA4EAA4FAA5AAA5BAA7C-AA7FAAC3-AADAAAE0-ABBFABEEABEFABFA-ABFFD7A4-D7AFD7C7-D7CAD7FC-F8FFFA2EFA2FFA6EFA6FFADA-FAFFFB07-FB12FB18-FB1CFB37FB3DFB3FFB42FB45FBB2-FBD2FD40-FD4FFD90FD91FDC8-FDEFFDFEFDFFFE1A-FE1FFE27-FE2FFE53FE67FE6C-FE6FFE75FEFD-FF00FFBF-FFC1FFC8FFC9FFD0FFD1FFD8FFD9FFDD-FFDFFFE7FFEF-FFFBFFFEFFFF",Cc:"0000-001F007F-009F",Cf:"00AD0600-060306DD070F17B417B5200B-200F202A-202E2060-2064206A-206FFEFFFFF9-FFFB",Co:"E000-F8FF",Cs:"D800-DFFF",Cn:"03780379037F-0383038B038D03A20526-05300557055805600588058B-059005C8-05CF05EB-05EF05F5-05FF06040605061C061D0620065F070E074B074C07B2-07BF07FB-07FF082E082F083F-08FF093A093B094F095609570973-097809800984098D098E0991099209A909B109B3-09B509BA09BB09C509C609C909CA09CF-09D609D8-09DB09DE09E409E509FC-0A000A040A0B-0A0E0A110A120A290A310A340A370A3A0A3B0A3D0A43-0A460A490A4A0A4E-0A500A52-0A580A5D0A5F-0A650A76-0A800A840A8E0A920AA90AB10AB40ABA0ABB0AC60ACA0ACE0ACF0AD1-0ADF0AE40AE50AF00AF2-0B000B040B0D0B0E0B110B120B290B310B340B3A0B3B0B450B460B490B4A0B4E-0B550B58-0B5B0B5E0B640B650B72-0B810B840B8B-0B8D0B910B96-0B980B9B0B9D0BA0-0BA20BA5-0BA70BAB-0BAD0BBA-0BBD0BC3-0BC50BC90BCE0BCF0BD1-0BD60BD8-0BE50BFB-0C000C040C0D0C110C290C340C3A-0C3C0C450C490C4E-0C540C570C5A-0C5F0C640C650C70-0C770C800C810C840C8D0C910CA90CB40CBA0CBB0CC50CC90CCE-0CD40CD7-0CDD0CDF0CE40CE50CF00CF3-0D010D040D0D0D110D290D3A-0D3C0D450D490D4E-0D560D58-0D5F0D640D650D76-0D780D800D810D840D97-0D990DB20DBC0DBE0DBF0DC7-0DC90DCB-0DCE0DD50DD70DE0-0DF10DF5-0E000E3B-0E3E0E5C-0E800E830E850E860E890E8B0E8C0E8E-0E930E980EA00EA40EA60EA80EA90EAC0EBA0EBE0EBF0EC50EC70ECE0ECF0EDA0EDB0EDE-0EFF0F480F6D-0F700F8C-0F8F0F980FBD0FCD0FD9-0FFF10C6-10CF10FD-10FF1249124E124F12571259125E125F1289128E128F12B112B612B712BF12C112C612C712D7131113161317135B-135E137D-137F139A-139F13F5-13FF169D-169F16F1-16FF170D1715-171F1737-173F1754-175F176D17711774-177F17DE17DF17EA-17EF17FA-17FF180F181A-181F1878-187F18AB-18AF18F6-18FF191D-191F192C-192F193C-193F1941-1943196E196F1975-197F19AC-19AF19CA-19CF19DB-19DD1A1C1A1D1A5F1A7D1A7E1A8A-1A8F1A9A-1A9F1AAE-1AFF1B4C-1B4F1B7D-1B7F1BAB-1BAD1BBA-1BFF1C38-1C3A1C4A-1C4C1C80-1CCF1CF3-1CFF1DE7-1DFC1F161F171F1E1F1F1F461F471F4E1F4F1F581F5A1F5C1F5E1F7E1F7F1FB51FC51FD41FD51FDC1FF01FF11FF51FFF2065-206920722073208F2095-209F20B9-20CF20F1-20FF218A-218F23E9-23FF2427-243F244B-245F26CE26E226E4-26E727002705270A270B2728274C274E2753-2755275F27602795-279727B027BF27CB27CD-27CF2B4D-2B4F2B5A-2BFF2C2F2C5F2CF2-2CF82D26-2D2F2D66-2D6E2D70-2D7F2D97-2D9F2DA72DAF2DB72DBF2DC72DCF2DD72DDF2E32-2E7F2E9A2EF4-2EFF2FD6-2FEF2FFC-2FFF3040309730983100-3104312E-3130318F31B8-31BF31E4-31EF321F32FF4DB6-4DBF9FCC-9FFFA48D-A48FA4C7-A4CFA62C-A63FA660A661A674-A67BA698-A69FA6F8-A6FFA78D-A7FAA82C-A82FA83A-A83FA878-A87FA8C5-A8CDA8DA-A8DFA8FC-A8FFA954-A95EA97D-A97FA9CEA9DA-A9DDA9E0-A9FFAA37-AA3FAA4EAA4FAA5AAA5BAA7C-AA7FAAC3-AADAAAE0-ABBFABEEABEFABFA-ABFFD7A4-D7AFD7C7-D7CAD7FC-D7FFFA2EFA2FFA6EFA6FFADA-FAFFFB07-FB12FB18-FB1CFB37FB3DFB3FFB42FB45FBB2-FBD2FD40-FD4FFD90FD91FDC8-FDEFFDFEFDFFFE1A-FE1FFE27-FE2FFE53FE67FE6C-FE6FFE75FEFDFEFEFF00FFBF-FFC1FFC8FFC9FFD0FFD1FFD8FFD9FFDD-FFDFFFE7FFEF-FFF8FFFEFFFF"})
|
js/popup-admin.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
-
/*! PopUp Free - v4.7.
|
2 |
* https://wordpress.org/plugins/wordpress-popup/
|
3 |
-
* Copyright (c)
|
4 |
/*global window:false */
|
5 |
/*global document:false */
|
6 |
/*global wp:false */
|
1 |
+
/*! PopUp Free - v4.7.09
|
2 |
* https://wordpress.org/plugins/wordpress-popup/
|
3 |
+
* Copyright (c) 2015; * Licensed GPLv2+ */
|
4 |
/*global window:false */
|
5 |
/*global document:false */
|
6 |
/*global wp:false */
|
js/popup-admin.min.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
/*! PopUp Free - v4.7.
|
2 |
* https://wordpress.org/plugins/wordpress-popup/
|
3 |
-
* Copyright (c)
|
4 |
jQuery(function(){function e(){var e=jQuery(".meta-box-sortables"),t=jQuery(".postbox .hndle");e.length&&(e.sortable({disabled:!0}),t.css("cursor","pointer"))}function t(){var e,t,i=jQuery("#submitdiv"),n=jQuery("#post-body"),s=jQuery("body"),o=20;if(i.length){t=i.position().top;var r=function(){s.hasClass("sticky-submit")||(s.addClass("sticky-submit"),i.css({marginTop:0}),i.find(".sticky-actions").show(),i.find(".non-sticky").hide())},a=function(){s.hasClass("sticky-submit")&&(s.removeClass("sticky-submit"),i.find(".sticky-actions").hide(),i.find(".non-sticky").show())};jQuery(window).resize(function(){var e=850>=jQuery(window).width();e?s.hasClass("po-small")||s.addClass("po-small"):s.hasClass("po-small")&&(s.removeClass("po-small"),a())}).scroll(function(){n.hasClass("columns-1")||s.hasClass("po-small")?(e=jQuery(window).scrollTop()-t,e>0?r():a()):(e=jQuery(window).scrollTop()-t+o,e>0?i.css({marginTop:e}):i.css({marginTop:0}))}),window.setTimeout(function(){jQuery(window).trigger("scroll")},100)}}function i(){var e=jQuery(".colorpicker");if(e.length&&"function"==typeof e.wpColorPicker){var t=function t(e){var t=jQuery(e.target),i=t.closest(".wp-picker-container"),n=i.find(".colorpicker"),s=jQuery(".colorpicker");i.length&&(s=s.not(n)),s.each(function(){var e=jQuery(this),t=e.closest(".wp-picker-container");e.iris("hide"),e.hide(),t.find(".wp-picker-clear").addClass("hidden"),t.find(".wp-picker-open").removeClass("wp-picker-open")})};e.wpColorPicker(),jQuery(document).on("mousedown",t),jQuery(document).on("click",t),jQuery(document).on("mouseup",t)}}function n(){var e=jQuery("#po-custom-colors"),t=jQuery("#po-custom-size"),i=jQuery("[name=po_display]"),n=jQuery("#po-can-hide"),s=jQuery("#po-close-hides");if(e.length){var o=function o(){var e,t=jQuery(this),i=t.data("toggle"),n=jQuery(i),s=t.data("or"),o=t.data("and"),r=!1;s?(e=jQuery(s),r=e.filter(":checked").length>0):o?(e=jQuery(o),r=e.length===e.filter(":checked").length):r=t.prop("checked"),r?(n.removeClass("inactive"),n.find("input,select,textarea,a").prop("readonly",!1).removeClass("disabled")):(n.addClass("inactive"),n.find("input,select,textarea,a").prop("readonly",!0).addClass("disabled")),n.addClass("inactive-anim")},r=function r(){var e=jQuery(this),t=e.attr("name"),i=jQuery('[name="'+t+'"]');i.each(function(){o.call(this)})},a=function a(){jQuery(".slider").each(function(){var e=jQuery(this),t=e.closest(".slider-wrap"),i=e.data("input"),n=t.find(i+"min"),s=t.find(i+"max"),o=t.find(".slider-min-input"),r=t.find(".slider-min-ignore"),a=t.find(".slider-max-input"),l=t.find(".slider-max-ignore"),c=e.data("min"),h=e.data("max");isNaN(c)&&(c=0),isNaN(h)&&(h=9999),n.prop("readonly",!0),s.prop("readonly",!0);var u=function u(e,t){n.val(e),s.val(t),e===c?(o.hide(),r.show()):(o.show(),r.hide()),t===h?(a.hide(),l.show()):(a.show(),l.hide())};e.slider({range:!0,min:c,max:h,values:[n.val(),s.val()],slide:function(e,t){u(t.values[0],t.values[1])}}),u(n.val(),s.val())})};e.click(o),t.click(o),n.click(o),s.click(o),i.click(r),o.call(e),o.call(t),o.call(n),o.call(s),i.each(function(){o.call(jQuery(this))}),a()}}function s(){var e=jQuery("#meta-rules .all-rules"),t=jQuery("#meta-rules .active-rules");if(e.length){var i=function i(e){var t=jQuery(e.target),i=t.find("input.wpmui-toggle-checkbox");if(!t.closest(".wpmui-toggle").length)return t.hasClass("inactive")?!1:(i.trigger("click"),void 0)},n=function n(){var e=jQuery(this),i=e.closest(".rule"),n=e.data("form"),o=t.find(n),r=e.prop("checked");r?(i.removeClass("off").addClass("on"),o.removeClass("off").addClass("on open")):(i.removeClass("on").addClass("off"),o.removeClass("on").addClass("off")),s(e,r)},s=function s(i,n){var s,o,r,a=i.data("exclude"),l=a?a.split(","):[];for(s=l.length-1;s>=0;s-=1)o=e.find(".rule-"+l[s]),r=t.find("#po-rule-"+l[s]),o.hasClass("on")||(o.prop("disabled",n),n?(o.addClass("inactive off").removeClass("on"),r.addClass("off").removeClass("on")):o.removeClass("inactive off"))},o=function o(){var e=jQuery(this),t=e.closest(".rule");t.toggleClass("open")};e.find("input.wpmui-toggle-checkbox").click(n),e.find(".rule").click(i),t.on("click",".rule-title,.rule-toggle",o),e.find(".rule.on input.wpmui-toggle-checkbox").each(function(){s(jQuery(this),!0)}),jQuery(".init-loading").removeClass("wpmui-loading")}}function o(){var e,t=jQuery(".content-image"),i=t.find(".add_image"),n=t.find(".featured-img"),s=t.find(".reset"),o=t.find(".po-image"),r=t.find(".img-preview"),a=t.find(".lbl-empty"),l=t.find(".img-pos"),c=function c(e){o.val(e),r.attr("src",e).show(),a.hide(),l.show(),n.addClass("has-image")},h=function h(){o.val(""),r.attr("src","").hide(),a.show(),l.hide(),n.removeClass("has-image")},u=function u(t){return t.preventDefault(),e?(e.open(),void 0):(e=wp.media.frames.file_frame=wp.media({title:i.attr("data-title"),button:{text:i.attr("data-button")},multiple:!1}),e.on("select",function(){var t=e.state().get("selection").first().toJSON();c(t.url)}),e.open(),void 0)},d=function d(){var e=jQuery(this);l.find(".option").removeClass("selected"),e.addClass("selected")};i.on("click",u),s.on("click",h),l.on("click",".option",d)}function r(){var e,t=jQuery('select[name="action"] '),i=jQuery('select[name="action2"] ');if(t.length&&"object"==typeof window.po_bulk)for(e in window.po_bulk)jQuery("<option>").val(e).text(window.po_bulk[e]).appendTo(t).clone().appendTo(i)}function a(){var e=jQuery("table.posts"),t=e.find("#the-list");if(t.length){var i=function i(i,n){if(e.removeClass("wpmui-loading"),n)for(var s in i)i.hasOwnProperty(s)&&t.find("#post-"+s+" .the-pos").text(i[s])},n=function n(){var n,s=t.find("tr"),o=[];for(n=0;s.length>n;n+=1)o.push(jQuery(s[n]).attr("id"));e.addClass("wpmui-loading"),wpmUi.ajax(null,"po-ajax").data({"do":"order",order:o}).ondone(i).load_json()};t.sortable({placeholder:"ui-sortable-placeholder",axis:"y",handle:".column-po_order",helper:"clone",opacity:.75,update:n}),t.disableSelection()}}function l(){var e=jQuery(document),t=jQuery("#wpcontent"),i=function i(e){var i=jQuery(this),n=i.data("id");return e.preventDefault(),void 0===window.inc_popup?!1:(t.addClass("wpmui-loading"),window.inc_popup.load(n),!1)},n=function n(e){var i,n=(jQuery(this),jQuery("#post")),s=wpmUi.ajax();return e.preventDefault(),void 0===window.inc_popup?!1:(i=s.extract_data(n),t.addClass("wpmui-loading"),window.inc_popup.load(0,i),!1)},s=function s(e,i){t.removeClass("wpmui-loading"),i.init()};e.on("click",".posts .po-preview",i),e.on("click","#post .preview",n),e.on("popup-initialized",s)}function c(){jQuery(".po_css_editor").each(function(){var e=ace.edit(this.id);jQuery(this).data("editor",e),e.setTheme("ace/theme/chrome"),e.getSession().setMode("ace/mode/css"),e.getSession().setUseWrapMode(!0),e.getSession().setUseWrapMode(!1)}),jQuery(".po_css_editor").each(function(){var e=this,t=jQuery(jQuery(this).data("input"));jQuery(this).data("editor").getSession().on("change",function(){t.val(jQuery(e).data("editor").getSession().getValue())})})}jQuery("body.post-type-inc_popup").length&&(jQuery("body.post-php").length||jQuery("body.post-new-php").length?(e(),t(),i(),n(),s(),l(),o(),c(),wpmUi.upgrade_multiselect()):jQuery("body.edit-php").length&&(a(),r(),l()))});
|
1 |
+
/*! PopUp Free - v4.7.09
|
2 |
* https://wordpress.org/plugins/wordpress-popup/
|
3 |
+
* Copyright (c) 2015; * Licensed GPLv2+ */
|
4 |
jQuery(function(){function e(){var e=jQuery(".meta-box-sortables"),t=jQuery(".postbox .hndle");e.length&&(e.sortable({disabled:!0}),t.css("cursor","pointer"))}function t(){var e,t,i=jQuery("#submitdiv"),n=jQuery("#post-body"),s=jQuery("body"),o=20;if(i.length){t=i.position().top;var r=function(){s.hasClass("sticky-submit")||(s.addClass("sticky-submit"),i.css({marginTop:0}),i.find(".sticky-actions").show(),i.find(".non-sticky").hide())},a=function(){s.hasClass("sticky-submit")&&(s.removeClass("sticky-submit"),i.find(".sticky-actions").hide(),i.find(".non-sticky").show())};jQuery(window).resize(function(){var e=850>=jQuery(window).width();e?s.hasClass("po-small")||s.addClass("po-small"):s.hasClass("po-small")&&(s.removeClass("po-small"),a())}).scroll(function(){n.hasClass("columns-1")||s.hasClass("po-small")?(e=jQuery(window).scrollTop()-t,e>0?r():a()):(e=jQuery(window).scrollTop()-t+o,e>0?i.css({marginTop:e}):i.css({marginTop:0}))}),window.setTimeout(function(){jQuery(window).trigger("scroll")},100)}}function i(){var e=jQuery(".colorpicker");if(e.length&&"function"==typeof e.wpColorPicker){var t=function t(e){var t=jQuery(e.target),i=t.closest(".wp-picker-container"),n=i.find(".colorpicker"),s=jQuery(".colorpicker");i.length&&(s=s.not(n)),s.each(function(){var e=jQuery(this),t=e.closest(".wp-picker-container");e.iris("hide"),e.hide(),t.find(".wp-picker-clear").addClass("hidden"),t.find(".wp-picker-open").removeClass("wp-picker-open")})};e.wpColorPicker(),jQuery(document).on("mousedown",t),jQuery(document).on("click",t),jQuery(document).on("mouseup",t)}}function n(){var e=jQuery("#po-custom-colors"),t=jQuery("#po-custom-size"),i=jQuery("[name=po_display]"),n=jQuery("#po-can-hide"),s=jQuery("#po-close-hides");if(e.length){var o=function o(){var e,t=jQuery(this),i=t.data("toggle"),n=jQuery(i),s=t.data("or"),o=t.data("and"),r=!1;s?(e=jQuery(s),r=e.filter(":checked").length>0):o?(e=jQuery(o),r=e.length===e.filter(":checked").length):r=t.prop("checked"),r?(n.removeClass("inactive"),n.find("input,select,textarea,a").prop("readonly",!1).removeClass("disabled")):(n.addClass("inactive"),n.find("input,select,textarea,a").prop("readonly",!0).addClass("disabled")),n.addClass("inactive-anim")},r=function r(){var e=jQuery(this),t=e.attr("name"),i=jQuery('[name="'+t+'"]');i.each(function(){o.call(this)})},a=function a(){jQuery(".slider").each(function(){var e=jQuery(this),t=e.closest(".slider-wrap"),i=e.data("input"),n=t.find(i+"min"),s=t.find(i+"max"),o=t.find(".slider-min-input"),r=t.find(".slider-min-ignore"),a=t.find(".slider-max-input"),l=t.find(".slider-max-ignore"),c=e.data("min"),h=e.data("max");isNaN(c)&&(c=0),isNaN(h)&&(h=9999),n.prop("readonly",!0),s.prop("readonly",!0);var u=function u(e,t){n.val(e),s.val(t),e===c?(o.hide(),r.show()):(o.show(),r.hide()),t===h?(a.hide(),l.show()):(a.show(),l.hide())};e.slider({range:!0,min:c,max:h,values:[n.val(),s.val()],slide:function(e,t){u(t.values[0],t.values[1])}}),u(n.val(),s.val())})};e.click(o),t.click(o),n.click(o),s.click(o),i.click(r),o.call(e),o.call(t),o.call(n),o.call(s),i.each(function(){o.call(jQuery(this))}),a()}}function s(){var e=jQuery("#meta-rules .all-rules"),t=jQuery("#meta-rules .active-rules");if(e.length){var i=function i(e){var t=jQuery(e.target),i=t.find("input.wpmui-toggle-checkbox");if(!t.closest(".wpmui-toggle").length)return t.hasClass("inactive")?!1:(i.trigger("click"),void 0)},n=function n(){var e=jQuery(this),i=e.closest(".rule"),n=e.data("form"),o=t.find(n),r=e.prop("checked");r?(i.removeClass("off").addClass("on"),o.removeClass("off").addClass("on open")):(i.removeClass("on").addClass("off"),o.removeClass("on").addClass("off")),s(e,r)},s=function s(i,n){var s,o,r,a=i.data("exclude"),l=a?a.split(","):[];for(s=l.length-1;s>=0;s-=1)o=e.find(".rule-"+l[s]),r=t.find("#po-rule-"+l[s]),o.hasClass("on")||(o.prop("disabled",n),n?(o.addClass("inactive off").removeClass("on"),r.addClass("off").removeClass("on")):o.removeClass("inactive off"))},o=function o(){var e=jQuery(this),t=e.closest(".rule");t.toggleClass("open")};e.find("input.wpmui-toggle-checkbox").click(n),e.find(".rule").click(i),t.on("click",".rule-title,.rule-toggle",o),e.find(".rule.on input.wpmui-toggle-checkbox").each(function(){s(jQuery(this),!0)}),jQuery(".init-loading").removeClass("wpmui-loading")}}function o(){var e,t=jQuery(".content-image"),i=t.find(".add_image"),n=t.find(".featured-img"),s=t.find(".reset"),o=t.find(".po-image"),r=t.find(".img-preview"),a=t.find(".lbl-empty"),l=t.find(".img-pos"),c=function c(e){o.val(e),r.attr("src",e).show(),a.hide(),l.show(),n.addClass("has-image")},h=function h(){o.val(""),r.attr("src","").hide(),a.show(),l.hide(),n.removeClass("has-image")},u=function u(t){return t.preventDefault(),e?(e.open(),void 0):(e=wp.media.frames.file_frame=wp.media({title:i.attr("data-title"),button:{text:i.attr("data-button")},multiple:!1}),e.on("select",function(){var t=e.state().get("selection").first().toJSON();c(t.url)}),e.open(),void 0)},d=function d(){var e=jQuery(this);l.find(".option").removeClass("selected"),e.addClass("selected")};i.on("click",u),s.on("click",h),l.on("click",".option",d)}function r(){var e,t=jQuery('select[name="action"] '),i=jQuery('select[name="action2"] ');if(t.length&&"object"==typeof window.po_bulk)for(e in window.po_bulk)jQuery("<option>").val(e).text(window.po_bulk[e]).appendTo(t).clone().appendTo(i)}function a(){var e=jQuery("table.posts"),t=e.find("#the-list");if(t.length){var i=function i(i,n){if(e.removeClass("wpmui-loading"),n)for(var s in i)i.hasOwnProperty(s)&&t.find("#post-"+s+" .the-pos").text(i[s])},n=function n(){var n,s=t.find("tr"),o=[];for(n=0;s.length>n;n+=1)o.push(jQuery(s[n]).attr("id"));e.addClass("wpmui-loading"),wpmUi.ajax(null,"po-ajax").data({"do":"order",order:o}).ondone(i).load_json()};t.sortable({placeholder:"ui-sortable-placeholder",axis:"y",handle:".column-po_order",helper:"clone",opacity:.75,update:n}),t.disableSelection()}}function l(){var e=jQuery(document),t=jQuery("#wpcontent"),i=function i(e){var i=jQuery(this),n=i.data("id");return e.preventDefault(),void 0===window.inc_popup?!1:(t.addClass("wpmui-loading"),window.inc_popup.load(n),!1)},n=function n(e){var i,n=(jQuery(this),jQuery("#post")),s=wpmUi.ajax();return e.preventDefault(),void 0===window.inc_popup?!1:(i=s.extract_data(n),t.addClass("wpmui-loading"),window.inc_popup.load(0,i),!1)},s=function s(e,i){t.removeClass("wpmui-loading"),i.init()};e.on("click",".posts .po-preview",i),e.on("click","#post .preview",n),e.on("popup-initialized",s)}function c(){jQuery(".po_css_editor").each(function(){var e=ace.edit(this.id);jQuery(this).data("editor",e),e.setTheme("ace/theme/chrome"),e.getSession().setMode("ace/mode/css"),e.getSession().setUseWrapMode(!0),e.getSession().setUseWrapMode(!1)}),jQuery(".po_css_editor").each(function(){var e=this,t=jQuery(jQuery(this).data("input"));jQuery(this).data("editor").getSession().on("change",function(){t.val(jQuery(e).data("editor").getSession().getValue())})})}jQuery("body.post-type-inc_popup").length&&(jQuery("body.post-php").length||jQuery("body.post-new-php").length?(e(),t(),i(),n(),s(),l(),o(),c(),wpmUi.upgrade_multiselect()):jQuery("body.edit-php").length&&(a(),r(),l()))});
|
js/public.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
-
/*! PopUp Free - v4.7.
|
2 |
* https://wordpress.org/plugins/wordpress-popup/
|
3 |
-
* Copyright (c)
|
4 |
/*global window:false */
|
5 |
/*global document:false */
|
6 |
/*global _popup_data:false */
|
@@ -66,7 +66,16 @@
|
|
66 |
$doc.trigger( 'popover-closed' );
|
67 |
}
|
68 |
|
69 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
70 |
|
71 |
popup_close( me );
|
72 |
return false;
|
@@ -292,6 +301,9 @@
|
|
292 |
*/
|
293 |
this.show_popup = function show_popup() {
|
294 |
popup_open( me );
|
|
|
|
|
|
|
295 |
};
|
296 |
|
297 |
/**
|
@@ -337,9 +349,42 @@
|
|
337 |
me.move_popup(me.data);
|
338 |
me.setup_popup();
|
339 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
340 |
return true;
|
341 |
};
|
342 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
343 |
/**
|
344 |
* Add event handlers to the PopUp controls.
|
345 |
*/
|
@@ -350,9 +395,15 @@
|
|
350 |
if ( me.data && me.data.close_hide ) {
|
351 |
$po_close.off( 'click', me.close_forever )
|
352 |
.on( 'click', me.close_forever );
|
|
|
|
|
|
|
353 |
} else {
|
354 |
$po_close.off( 'click', me.close_popup )
|
355 |
.on( 'click', me.close_popup );
|
|
|
|
|
|
|
356 |
}
|
357 |
|
358 |
$po_msg.hover(function() {
|
@@ -441,16 +492,6 @@
|
|
441 |
|
442 |
if ( ! popup.length ) { return true; }
|
443 |
|
444 |
-
frame = jQuery( '<iframe id="wdpu-frame" name="wdpu-frame"></iframe>' )
|
445 |
-
.hide()
|
446 |
-
.appendTo( 'body' );
|
447 |
-
|
448 |
-
// Set form target to the hidden frame.
|
449 |
-
form.attr( 'target', 'wdpu-frame' );
|
450 |
-
inp_popup.appendTo( form ).val( 'raw' );
|
451 |
-
|
452 |
-
msg.addClass( 'wdpu-loading' );
|
453 |
-
|
454 |
// Frequently checks the loading state of the hidden iframe.
|
455 |
function check_state() {
|
456 |
var is_done = false;
|
@@ -463,7 +504,10 @@
|
|
463 |
iteration += 1; // 20 iterations is equal to 1 second.
|
464 |
|
465 |
// 200 iterations are 10 seconds.
|
466 |
-
if ( iteration > 200 ) {
|
|
|
|
|
|
|
467 |
}
|
468 |
|
469 |
if ( is_done ) {
|
@@ -472,16 +516,93 @@
|
|
472 |
}
|
473 |
}
|
474 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
475 |
// Executed once the iframe is fully loaded.
|
476 |
// This will remove the loading animation and update the popup
|
477 |
// contents if required.
|
478 |
function process_document() {
|
479 |
-
var inner_new, inner_old, html, external,
|
480 |
|
481 |
// Allow other javascript functions to pre-process the event.
|
482 |
$doc.trigger( 'popup-submit-process', [frame, me, me.data] );
|
483 |
-
|
484 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
485 |
|
486 |
try {
|
487 |
// grab the HTML from the body, using the raw DOM node (frame[0])
|
@@ -506,83 +627,89 @@
|
|
506 |
jQuery( "#wdpu-frame" ).remove();
|
507 |
me.data.last_ajax = undefined;
|
508 |
|
509 |
-
|
510 |
-
|
511 |
-
|
512 |
-
// E.g. Contact Form 7
|
513 |
-
me.data.close_popup = close_on_fail;
|
514 |
|
515 |
-
|
516 |
-
if ( recent_ajax_calls.length ) {
|
517 |
-
me.data.last_ajax = recent_ajax_calls[0];
|
518 |
-
}
|
519 |
|
520 |
-
|
521 |
-
|
|
|
|
|
522 |
|
523 |
-
|
524 |
-
me.
|
525 |
-
|
526 |
-
|
527 |
-
|
528 |
|
529 |
-
|
530 |
-
|
531 |
-
|
532 |
-
//
|
533 |
-
$doc.trigger( 'popup-submit-done', [me, me.data] );
|
534 |
-
handled = true;
|
535 |
|
536 |
-
|
537 |
-
me.close_popup();
|
538 |
-
return;
|
539 |
-
}
|
540 |
-
}
|
541 |
|
542 |
-
|
543 |
-
// the current PopUp. Close the popup!
|
544 |
-
else if ( ! inner_old.length || ! inner_new.length || ! inner_new.text().length ) {
|
545 |
-
me.data.close_popup = close_on_fail;
|
546 |
|
547 |
-
|
548 |
-
|
|
|
|
|
549 |
|
550 |
-
|
551 |
-
me.close_popup();
|
552 |
-
return;
|
553 |
-
}
|
554 |
-
}
|
555 |
|
556 |
-
|
557 |
-
// Update the Popup contents.
|
558 |
-
inner_old.replaceWith( inner_new );
|
559 |
|
560 |
-
|
561 |
-
|
|
|
|
|
562 |
|
563 |
-
|
564 |
|
565 |
-
|
566 |
-
|
567 |
-
|
568 |
|
569 |
-
|
570 |
-
me.setup_popup();
|
571 |
|
572 |
-
// Re-initialize the local DOM cache.
|
573 |
-
$doc.trigger( 'popup-init', [me, me.data] );
|
574 |
}
|
575 |
}
|
|
|
576 |
|
577 |
-
if (
|
578 |
-
//
|
579 |
-
|
580 |
-
|
581 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
582 |
} else {
|
583 |
-
|
584 |
-
|
585 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
586 |
}
|
587 |
|
588 |
return true;
|
@@ -810,7 +937,7 @@
|
|
810 |
|
811 |
// Initialize a single or multiple PopUps, depending on provided data.
|
812 |
if ( popup_data.popup instanceof Array ) {
|
813 |
-
for ( var i = 0; i < popup_data.popup.length; i+= 1 ) {
|
814 |
var data = jQuery.extend( {}, popup_data );
|
815 |
data.popup = popup_data.popup[i];
|
816 |
spawn_popup( data );
|
1 |
+
/*! PopUp Free - v4.7.09
|
2 |
* https://wordpress.org/plugins/wordpress-popup/
|
3 |
+
* Copyright (c) 2015; * Licensed GPLv2+ */
|
4 |
/*global window:false */
|
5 |
/*global document:false */
|
6 |
/*global _popup_data:false */
|
66 |
$doc.trigger( 'popover-closed' );
|
67 |
}
|
68 |
|
69 |
+
if ( me.data.animation_out ) {
|
70 |
+
$po_msg.addClass( me.data.animation_out + ' animated' );
|
71 |
+
$po_msg.one('webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend', function() {
|
72 |
+
$po_msg.removeClass( 'animated' );
|
73 |
+
$po_msg.removeClass( me.data.animation_out );
|
74 |
+
close_it();
|
75 |
+
});
|
76 |
+
} else {
|
77 |
+
close_it();
|
78 |
+
}
|
79 |
|
80 |
popup_close( me );
|
81 |
return false;
|
301 |
*/
|
302 |
this.show_popup = function show_popup() {
|
303 |
popup_open( me );
|
304 |
+
|
305 |
+
// Prevent default action when user attached this to a click event.
|
306 |
+
return false;
|
307 |
};
|
308 |
|
309 |
/**
|
349 |
me.move_popup(me.data);
|
350 |
me.setup_popup();
|
351 |
|
352 |
+
// Disables the CSS animation is browser does not support them.
|
353 |
+
me.prepare_animation();
|
354 |
+
|
355 |
+
if ( me.data.animation_in ) {
|
356 |
+
$po_msg.addClass( me.data.animation_in + ' animated' );
|
357 |
+
$po_msg.one('webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend', function() {
|
358 |
+
$po_msg.removeClass( 'animated' );
|
359 |
+
$po_msg.removeClass( me.data.animation_in );
|
360 |
+
});
|
361 |
+
}
|
362 |
+
|
363 |
return true;
|
364 |
};
|
365 |
|
366 |
+
this.prepare_animation = function prepare_animation() {
|
367 |
+
var can_animate = false,
|
368 |
+
domPrefixes = 'Webkit Moz O ms Khtml'.split(' ');
|
369 |
+
|
370 |
+
if ( $po_msg[0].style.animationName !== undefined ) { can_animate = true; }
|
371 |
+
|
372 |
+
if ( can_animate === false ) {
|
373 |
+
for ( var i = 0; i < domPrefixes.length; i++ ) {
|
374 |
+
if ( $po_msg[0].style[ domPrefixes[i] + 'AnimationName' ] !== undefined ) {
|
375 |
+
can_animate = true;
|
376 |
+
break;
|
377 |
+
}
|
378 |
+
}
|
379 |
+
}
|
380 |
+
|
381 |
+
if ( ! can_animate ) {
|
382 |
+
// Sorry guys, CSS animations are not supported...
|
383 |
+
me.data.animation_in = '';
|
384 |
+
me.data.animation_out = '';
|
385 |
+
}
|
386 |
+
};
|
387 |
+
|
388 |
/**
|
389 |
* Add event handlers to the PopUp controls.
|
390 |
*/
|
395 |
if ( me.data && me.data.close_hide ) {
|
396 |
$po_close.off( 'click', me.close_forever )
|
397 |
.on( 'click', me.close_forever );
|
398 |
+
|
399 |
+
$po_msg.off( 'click', '.close', me.close_forever )
|
400 |
+
.on( 'click', '.close', me.close_forever );
|
401 |
} else {
|
402 |
$po_close.off( 'click', me.close_popup )
|
403 |
.on( 'click', me.close_popup );
|
404 |
+
|
405 |
+
$po_msg.off( 'click', '.close', me.close_popup )
|
406 |
+
.on( 'click', '.close', me.close_popup );
|
407 |
}
|
408 |
|
409 |
$po_msg.hover(function() {
|
492 |
|
493 |
if ( ! popup.length ) { return true; }
|
494 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
495 |
// Frequently checks the loading state of the hidden iframe.
|
496 |
function check_state() {
|
497 |
var is_done = false;
|
504 |
iteration += 1; // 20 iterations is equal to 1 second.
|
505 |
|
506 |
// 200 iterations are 10 seconds.
|
507 |
+
if ( iteration > 200 ) {
|
508 |
+
$doc.trigger( 'popup-submit-timeout', [me, me.data] );
|
509 |
+
is_done = true;
|
510 |
+
}
|
511 |
}
|
512 |
|
513 |
if ( is_done ) {
|
516 |
}
|
517 |
}
|
518 |
|
519 |
+
// Closes the popup
|
520 |
+
function do_close_popup( close_it ) {
|
521 |
+
if ( undefined !== close_it ) {
|
522 |
+
me.data.close_popup = close_it;
|
523 |
+
}
|
524 |
+
|
525 |
+
if ( recent_ajax_calls ) {
|
526 |
+
me.data.ajax_history = recent_ajax_calls;
|
527 |
+
|
528 |
+
if ( recent_ajax_calls.length ) {
|
529 |
+
me.data.last_ajax = recent_ajax_calls[0];
|
530 |
+
}
|
531 |
+
} else {
|
532 |
+
me.data.ajax_history = [];
|
533 |
+
me.data.last_ajax = {};
|
534 |
+
}
|
535 |
+
|
536 |
+
$doc.trigger( 'popup-submit-done', [me, me.data] );
|
537 |
+
|
538 |
+
if ( me.data.close_popup ) {
|
539 |
+
me.close_popup();
|
540 |
+
return true;
|
541 |
+
} else {
|
542 |
+
return false;
|
543 |
+
}
|
544 |
+
}
|
545 |
+
|
546 |
+
// Replaces the popup contents with some new contents.
|
547 |
+
function do_replace_contents( contents, title, subtitle ) {
|
548 |
+
var new_content = contents,
|
549 |
+
el_inner = popup.find( '.wdpu-msg-inner' ),
|
550 |
+
el_title = popup.find( '.wdpu-title' ),
|
551 |
+
el_subtitle = popup.find( '.wdpu-subtitle' );
|
552 |
+
|
553 |
+
if ( ! ( new_content instanceof jQuery ) ) {
|
554 |
+
new_content = jQuery( '<div></div>' ).html( contents );
|
555 |
+
}
|
556 |
+
|
557 |
+
if ( new_content instanceof jQuery ) {
|
558 |
+
if ( new_content.hasClass( 'wdpu-msg-inner' ) ) {
|
559 |
+
el_inner.replaceWith( new_content );
|
560 |
+
} else {
|
561 |
+
el_inner.find( '.wdpu-content' )
|
562 |
+
.empty()
|
563 |
+
.append( new_content );
|
564 |
+
}
|
565 |
+
}
|
566 |
+
|
567 |
+
if ( undefined !== title ) {
|
568 |
+
el_title.html( title );
|
569 |
+
}
|
570 |
+
if ( undefined !== subtitle ) {
|
571 |
+
el_subtitle.html( subtitle );
|
572 |
+
}
|
573 |
+
|
574 |
+
me.move_popup();
|
575 |
+
me.setup_popup();
|
576 |
+
|
577 |
+
do_close_popup();
|
578 |
+
|
579 |
+
me.fetch_dom();
|
580 |
+
me.setup_popup();
|
581 |
+
|
582 |
+
// Re-initialize the local DOM cache.
|
583 |
+
$doc.trigger( 'popup-init', [me, me.data] );
|
584 |
+
}
|
585 |
+
|
586 |
// Executed once the iframe is fully loaded.
|
587 |
// This will remove the loading animation and update the popup
|
588 |
// contents if required.
|
589 |
function process_document() {
|
590 |
+
var inner_new, inner_old, html, external, close_on_fail;
|
591 |
|
592 |
// Allow other javascript functions to pre-process the event.
|
593 |
$doc.trigger( 'popup-submit-process', [frame, me, me.data] );
|
594 |
+
|
595 |
+
/*
|
596 |
+
* Use the event jQuery('document').on('popup-submit-process')
|
597 |
+
* to set `data.form_submit = false` to prevent form handling.
|
598 |
+
*/
|
599 |
+
if ( ! me.data.form_submit ) { return false; }
|
600 |
+
|
601 |
+
if ( 'ignore' === me.data.form_submit ) {
|
602 |
+
close_on_fail = false;
|
603 |
+
} else {
|
604 |
+
close_on_fail = true;
|
605 |
+
}
|
606 |
|
607 |
try {
|
608 |
// grab the HTML from the body, using the raw DOM node (frame[0])
|
627 |
jQuery( "#wdpu-frame" ).remove();
|
628 |
me.data.last_ajax = undefined;
|
629 |
|
630 |
+
if ( 'close' === me.data.form_submit ) {
|
631 |
+
// =========================================================
|
632 |
+
// Admin defined to close this popup after every form submit
|
|
|
|
|
633 |
|
634 |
+
do_close_popup( true );
|
|
|
|
|
|
|
635 |
|
636 |
+
} else if ( me.data.new_content ) {
|
637 |
+
// =========================================================
|
638 |
+
// Popup contents were explicitely defined by the javascript
|
639 |
+
// event 'popup-submit-process'
|
640 |
|
641 |
+
do_replace_contents(
|
642 |
+
me.data.new_content,
|
643 |
+
me.data.new_title,
|
644 |
+
me.data.new_subtitle
|
645 |
+
);
|
646 |
|
647 |
+
} else if ( external ) {
|
648 |
+
// =========================================================
|
649 |
+
// For external pages we have no access to the response:
|
650 |
+
// Close the popup!
|
|
|
|
|
651 |
|
652 |
+
// E.g. Contact Form 7
|
|
|
|
|
|
|
|
|
653 |
|
654 |
+
do_close_popup( close_on_fail );
|
|
|
|
|
|
|
655 |
|
656 |
+
} else if ( ! html.length || ! html.html().length ) {
|
657 |
+
// =========================================================
|
658 |
+
// The PopUp is completely empty, possibly another
|
659 |
+
// ajax-handler did process the form. Keep the popup open.
|
660 |
|
661 |
+
// E.g. Gravity Forms
|
|
|
|
|
|
|
|
|
662 |
|
663 |
+
do_close_popup( true );
|
|
|
|
|
664 |
|
665 |
+
} else if ( ! inner_old.length || ! inner_new.length || ! inner_new.text().length ) {
|
666 |
+
// =========================================================
|
667 |
+
// A new page was loaded that does not contain new content
|
668 |
+
// for the current PopUp. Close the popup!
|
669 |
|
670 |
+
do_close_popup( close_on_fail );
|
671 |
|
672 |
+
} else {
|
673 |
+
// =========================================================
|
674 |
+
// Update the Popup contents.
|
675 |
|
676 |
+
do_replace_contents( inner_new );
|
|
|
677 |
|
|
|
|
|
678 |
}
|
679 |
}
|
680 |
+
// end of process_document()
|
681 |
|
682 |
+
if ( 'redirect' !== me.data.form_submit ) {
|
683 |
+
// Only change the form target when NOT redirecting
|
684 |
+
frame = jQuery( '<iframe id="wdpu-frame" name="wdpu-frame"></iframe>' )
|
685 |
+
.hide()
|
686 |
+
.appendTo( 'body' );
|
687 |
+
|
688 |
+
// Set form target to the hidden frame.
|
689 |
+
form.attr( 'target', 'wdpu-frame' );
|
690 |
+
inp_popup.appendTo( form ).val( 'raw' );
|
691 |
+
}
|
692 |
+
|
693 |
+
msg.addClass( 'wdpu-loading' );
|
694 |
+
|
695 |
+
if ( 'redirect' === me.data.form_submit ) {
|
696 |
+
/**
|
697 |
+
* When redirecting always close the popup
|
698 |
+
*/
|
699 |
+
window.setTimeout(function() {
|
700 |
+
me.close_popup();
|
701 |
+
}, 10);
|
702 |
} else {
|
703 |
+
if ( doing_ajax ) {
|
704 |
+
// E.g. Contact Form 7
|
705 |
+
me.data.did_ajax = true;
|
706 |
+
iteration = 0;
|
707 |
+
tmr_check = window.setInterval( check_state, 50 );
|
708 |
+
} else {
|
709 |
+
// E.g. Gravity Forms
|
710 |
+
me.data.did_ajax = false;
|
711 |
+
frame.load( process_document );
|
712 |
+
}
|
713 |
}
|
714 |
|
715 |
return true;
|
937 |
|
938 |
// Initialize a single or multiple PopUps, depending on provided data.
|
939 |
if ( popup_data.popup instanceof Array ) {
|
940 |
+
for ( var i = 0; i < popup_data.popup.length; i += 1 ) {
|
941 |
var data = jQuery.extend( {}, popup_data );
|
942 |
data.popup = popup_data.popup[i];
|
943 |
spawn_popup( data );
|
js/public.min.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
/*! PopUp Free - v4.7.
|
2 |
* https://wordpress.org/plugins/wordpress-popup/
|
3 |
-
* Copyright (c)
|
4 |
-
(function(){function e(e){"closed"===l?e._show()?(h=e,l="open"):t(e):c[c.length]=e}function t(){if(l="closed",h=null,c.length>0){var t=c.shift();e(t)}}function i(e,t,i){var o,r,a=0,l=s(""+window.location),c=s(""+document.referrer),h=null,u=function u(t){h=jQuery.extend({},e),h.popup=t,n(h)};return void 0!==window.force_popover&&(a=""+window.force_popover),void 0!==t&&(a=""+t),e.ajax_data=e.ajax_data||{},r=jQuery.extend({},e.ajax_data),r.action="inc_popup",r["do"]=e["do"],r.thefrom=l,r.thereferrer=c,a&&(r.po_id=a),i&&(r.data=i),e.preview&&(r.preview=!0),o={url:e.ajaxurl,dataType:"jsonp",jsonpCallback:"po_data",data:r,success:function(e){u(e)},complete:function(){jQuery(document).trigger("popup-load-done",[h])}},jQuery.ajax(o)}function n(e){if(void 0!==e){var t=function t(e){void 0!==e&&(void 0!==e.popup&&void 0!==e.popup.html&&(jQuery('<style type="text/css">'+e.popup.styles+"</style>").appendTo("head"),jQuery(e.popup.html).appendTo("body").hide()),window.inc_popup=new a(e),window.inc_popups[window.inc_popups.length]=window.inc_popup,jQuery(document).trigger("popup-initialized",[window.inc_popup]),e.noinit||e.preview||window.inc_popup.init())};if(e.popup instanceof Array)for(var i=0;e.popup.length>i;i+=1){var n=jQuery.extend({},e);n.popup=e.popup[i],t(n)}else e instanceof Object&&t(e)}}function s(e){for(var t=[],i=0;e.length>i;i++){if(e.length>i+1){var n=e.charCodeAt(i),s=e.charCodeAt(i+1);if(n>=55296&&56319>=n&&56320===(64512&s)||s>=768&&879>=s){t.unshift(e.substring(i,i+2)),i++;continue}}t.unshift(e[i])}return t.join("")}var o=[],r=!1,a=function(n){var s=this,a=jQuery(document),l=jQuery(window),c=null,h=null,u=null,d=null,g=null,f=null,m=null,p=null;return this.data={},this.have_popup=!1,this.ajax_data={},this.opened=0,this.close_forever=function(){var e=s.data.expiry||365;return s.close_popup(),n.preview?!1:(s.set_cookie("po_h",1,e),!1)},this.close_popup=function(){function e(){s.data.display_data.click_multi?(p.hide(),c.hide()):(p.remove(),c.remove(),s.have_popup=!1),a.trigger("popup-closed"),a.trigger("popover-closed")}return jQuery("html").removeClass("has-popup"),e(),t(s),!1},this.background_clicked=function(e){var t=jQuery(e.target);if(t.hasClass("wdpu-background")){if(!s.data.overlay_close)return;s.data.close_hide?s.close_forever():s.close_popup()}},this.move_popup=function(){var e,t,i,n=0,o=0;s.data.custom_size&&(s.data.height&&!isNaN(s.data.height)&&(f.data("reduce-height")&&(i=jQuery(f.data("reduce-height")),o=i.outerHeight()),t=s.data.height-o,100>t&&(t=100),f.height(t)),s.data.width&&!isNaN(s.data.width)&&(f.data("reduce-width")&&(i=jQuery(f.data("reduce-width")),n=i.outerWidth()),e=s.data.width-n,100>e&&(e=100),f.width(e)));var r=function r(){if(!g.hasClass("no-move-x")){var e=l.width(),t=h.outerWidth(),i=(e-t)/2;10>i&&(i=10),g.css({left:i})}if(!g.hasClass("no-move-y")){var n=l.height(),s=h.outerHeight(),o=(n-s)/2;10>o&&(o=10),g.css({top:o})}if(m.length){var r,a,c=m.width(),u=m.height(),d=m.parent().width(),f=m.parent().height();c>d?(r=(d-c)/2,m.css({"margin-left":r})):m.css({"margin-left":0}),u>f?(a=(f-u)/2,m.css({"margin-top":a})):m.css({"margin-top":0})}};window.setTimeout(r,20),r()},this.reject=function(){s.have_popup=!1,s.data={}},this.prepare=function(){if(s.fetch_dom(),c.css({opacity:0,"z-index":-1,position:"fixed",left:-1e3,width:100,right:"auto",top:-1e3,height:100,bottom:"auto"}).show(),a.trigger("popup-init",[s,s.data]),s.have_popup)switch(s.data.display){case"scroll":l.on("scroll",s.show_at_position);break;case"anchor":l.on("scroll",s.show_at_element);break;case"delay":var t=1e3*s.data.display_data.delay;"m"===s.data.display_data.delay_type&&(t*=60),window.setTimeout(function(){e(s)},t);break;default:window.setTimeout(function(){"function"==typeof s.custom_handler&&s.custom_handler(s)},20)}},this.show_at_position=function(){var t,i,n=jQuery(this),o=n.scrollTop();"px"===s.data.display_data.scroll_type?o>=s.data.display_data.scroll&&(l.off("scroll",s.show_at_position),e(s)):(t=a.height()-l.height(),i=100*o/t,i>=s.data.display_data.scroll&&(l.off("scroll",s.show_at_position),e(s)))},this.show_at_element=function(){var t=jQuery(s.data.display_data.anchor),i=l.scrollTop(),n=i+l.height(),o=t.offset().top,r=n-o;r>10&&(l.off("scroll",s.show_at_element),e(s))},this.show_popup=function(){e(s)},this._show=function(){var e;return c.length?(e=parseInt(s.get_cookie("po_c"),10),isNaN(e)&&(e=0),s.set_cookie("po_c",e+1,365),s.opened+=1,p.on("click",s.background_clicked),l.off("resize.popup").on("resize.popup",function(){s.move_popup(s.data)}),c.removeAttr("style").show(),p.show(),s.data.scroll_body?jQuery("html").addClass("has-popup can-scroll"):jQuery("html").addClass("has-popup no-scroll"),h.hide(),window.setTimeout(function(){h.show()},2),s.move_popup(s.data),s.setup_popup(),!0):!1},this.setup_popup=function(){d.off("click",s.close_forever).on("click",s.close_forever),s.data&&s.data.close_hide?u.off("click",s.close_forever).on("click",s.close_forever):u.off("click",s.close_popup).on("click",s.close_popup),h.hover(function(){jQuery(".claimbutton").removeClass("hide")},function(){jQuery(".claimbutton").addClass("hide")}),a.trigger("popup-displayed",[s.data,s]),a.trigger("popover-displayed",[s.data,s]),c.off("submit","form",s.form_submit).on("submit","form",s.form_submit)},this.fetch_dom=function(){c=jQuery("#"+s.data.html_id),c.length||s.reject(),f=c.find(".resize"),g=c.find(".move"),h=c.find(".wdpu-msg"),u=c.find(".wdpu-close"),d=c.find(".wdpu-hide-forever"),m=c.find(".wdpu-image > img"),c.hasClass("wdpu-background")?p=c:(p=c.find(".wdpu-background"),p.length||(p=c.parents(".wdpu-background"))),g.length||(g=c),f.length||(f=c)},this.load_popup=function(e,t){void 0===e&&n.preview||(s.have_popup=!1,i(n,e,t))},this.form_submit=function(){function e(){var e=!1;"complete"!==
|
1 |
+
/*! PopUp Free - v4.7.09
|
2 |
* https://wordpress.org/plugins/wordpress-popup/
|
3 |
+
* Copyright (c) 2015; * Licensed GPLv2+ */
|
4 |
+
(function(){function e(e){"closed"===l?e._show()?(h=e,l="open"):t(e):c[c.length]=e}function t(){if(l="closed",h=null,c.length>0){var t=c.shift();e(t)}}function i(e,t,i){var o,r,a=0,l=s(""+window.location),c=s(""+document.referrer),h=null,u=function u(t){h=jQuery.extend({},e),h.popup=t,n(h)};return void 0!==window.force_popover&&(a=""+window.force_popover),void 0!==t&&(a=""+t),e.ajax_data=e.ajax_data||{},r=jQuery.extend({},e.ajax_data),r.action="inc_popup",r["do"]=e["do"],r.thefrom=l,r.thereferrer=c,a&&(r.po_id=a),i&&(r.data=i),e.preview&&(r.preview=!0),o={url:e.ajaxurl,dataType:"jsonp",jsonpCallback:"po_data",data:r,success:function(e){u(e)},complete:function(){jQuery(document).trigger("popup-load-done",[h])}},jQuery.ajax(o)}function n(e){if(void 0!==e){var t=function t(e){void 0!==e&&(void 0!==e.popup&&void 0!==e.popup.html&&(jQuery('<style type="text/css">'+e.popup.styles+"</style>").appendTo("head"),jQuery(e.popup.html).appendTo("body").hide()),window.inc_popup=new a(e),window.inc_popups[window.inc_popups.length]=window.inc_popup,jQuery(document).trigger("popup-initialized",[window.inc_popup]),e.noinit||e.preview||window.inc_popup.init())};if(e.popup instanceof Array)for(var i=0;e.popup.length>i;i+=1){var n=jQuery.extend({},e);n.popup=e.popup[i],t(n)}else e instanceof Object&&t(e)}}function s(e){for(var t=[],i=0;e.length>i;i++){if(e.length>i+1){var n=e.charCodeAt(i),s=e.charCodeAt(i+1);if(n>=55296&&56319>=n&&56320===(64512&s)||s>=768&&879>=s){t.unshift(e.substring(i,i+2)),i++;continue}}t.unshift(e[i])}return t.join("")}var o=[],r=!1,a=function(n){var s=this,a=jQuery(document),l=jQuery(window),c=null,h=null,u=null,d=null,g=null,f=null,m=null,p=null;return this.data={},this.have_popup=!1,this.ajax_data={},this.opened=0,this.close_forever=function(){var e=s.data.expiry||365;return s.close_popup(),n.preview?!1:(s.set_cookie("po_h",1,e),!1)},this.close_popup=function(){function e(){s.data.display_data.click_multi?(p.hide(),c.hide()):(p.remove(),c.remove(),s.have_popup=!1),a.trigger("popup-closed"),a.trigger("popover-closed")}return jQuery("html").removeClass("has-popup"),s.data.animation_out?(h.addClass(s.data.animation_out+" animated"),h.one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",function(){h.removeClass("animated"),h.removeClass(s.data.animation_out),e()})):e(),t(s),!1},this.background_clicked=function(e){var t=jQuery(e.target);if(t.hasClass("wdpu-background")){if(!s.data.overlay_close)return;s.data.close_hide?s.close_forever():s.close_popup()}},this.move_popup=function(){var e,t,i,n=0,o=0;s.data.custom_size&&(s.data.height&&!isNaN(s.data.height)&&(f.data("reduce-height")&&(i=jQuery(f.data("reduce-height")),o=i.outerHeight()),t=s.data.height-o,100>t&&(t=100),f.height(t)),s.data.width&&!isNaN(s.data.width)&&(f.data("reduce-width")&&(i=jQuery(f.data("reduce-width")),n=i.outerWidth()),e=s.data.width-n,100>e&&(e=100),f.width(e)));var r=function r(){if(!g.hasClass("no-move-x")){var e=l.width(),t=h.outerWidth(),i=(e-t)/2;10>i&&(i=10),g.css({left:i})}if(!g.hasClass("no-move-y")){var n=l.height(),s=h.outerHeight(),o=(n-s)/2;10>o&&(o=10),g.css({top:o})}if(m.length){var r,a,c=m.width(),u=m.height(),d=m.parent().width(),f=m.parent().height();c>d?(r=(d-c)/2,m.css({"margin-left":r})):m.css({"margin-left":0}),u>f?(a=(f-u)/2,m.css({"margin-top":a})):m.css({"margin-top":0})}};window.setTimeout(r,20),r()},this.reject=function(){s.have_popup=!1,s.data={}},this.prepare=function(){if(s.fetch_dom(),c.css({opacity:0,"z-index":-1,position:"fixed",left:-1e3,width:100,right:"auto",top:-1e3,height:100,bottom:"auto"}).show(),a.trigger("popup-init",[s,s.data]),s.have_popup)switch(s.data.display){case"scroll":l.on("scroll",s.show_at_position);break;case"anchor":l.on("scroll",s.show_at_element);break;case"delay":var t=1e3*s.data.display_data.delay;"m"===s.data.display_data.delay_type&&(t*=60),window.setTimeout(function(){e(s)},t);break;default:window.setTimeout(function(){"function"==typeof s.custom_handler&&s.custom_handler(s)},20)}},this.show_at_position=function(){var t,i,n=jQuery(this),o=n.scrollTop();"px"===s.data.display_data.scroll_type?o>=s.data.display_data.scroll&&(l.off("scroll",s.show_at_position),e(s)):(t=a.height()-l.height(),i=100*o/t,i>=s.data.display_data.scroll&&(l.off("scroll",s.show_at_position),e(s)))},this.show_at_element=function(){var t=jQuery(s.data.display_data.anchor),i=l.scrollTop(),n=i+l.height(),o=t.offset().top,r=n-o;r>10&&(l.off("scroll",s.show_at_element),e(s))},this.show_popup=function(){return e(s),!1},this._show=function(){var e;return c.length?(e=parseInt(s.get_cookie("po_c"),10),isNaN(e)&&(e=0),s.set_cookie("po_c",e+1,365),s.opened+=1,p.on("click",s.background_clicked),l.off("resize.popup").on("resize.popup",function(){s.move_popup(s.data)}),c.removeAttr("style").show(),p.show(),s.data.scroll_body?jQuery("html").addClass("has-popup can-scroll"):jQuery("html").addClass("has-popup no-scroll"),h.hide(),window.setTimeout(function(){h.show()},2),s.move_popup(s.data),s.setup_popup(),s.prepare_animation(),s.data.animation_in&&(h.addClass(s.data.animation_in+" animated"),h.one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",function(){h.removeClass("animated"),h.removeClass(s.data.animation_in)})),!0):!1},this.prepare_animation=function(){var e=!1,t="Webkit Moz O ms Khtml".split(" ");if(void 0!==h[0].style.animationName&&(e=!0),e===!1)for(var i=0;t.length>i;i++)if(void 0!==h[0].style[t[i]+"AnimationName"]){e=!0;break}e||(s.data.animation_in="",s.data.animation_out="")},this.setup_popup=function(){d.off("click",s.close_forever).on("click",s.close_forever),s.data&&s.data.close_hide?(u.off("click",s.close_forever).on("click",s.close_forever),h.off("click",".close",s.close_forever).on("click",".close",s.close_forever)):(u.off("click",s.close_popup).on("click",s.close_popup),h.off("click",".close",s.close_popup).on("click",".close",s.close_popup)),h.hover(function(){jQuery(".claimbutton").removeClass("hide")},function(){jQuery(".claimbutton").addClass("hide")}),a.trigger("popup-displayed",[s.data,s]),a.trigger("popover-displayed",[s.data,s]),c.off("submit","form",s.form_submit).on("submit","form",s.form_submit)},this.fetch_dom=function(){c=jQuery("#"+s.data.html_id),c.length||s.reject(),f=c.find(".resize"),g=c.find(".move"),h=c.find(".wdpu-msg"),u=c.find(".wdpu-close"),d=c.find(".wdpu-hide-forever"),m=c.find(".wdpu-image > img"),c.hasClass("wdpu-background")?p=c:(p=c.find(".wdpu-background"),p.length||(p=c.parents(".wdpu-background"))),g.length||(g=c),f.length||(f=c)},this.load_popup=function(e,t){void 0===e&&n.preview||(s.have_popup=!1,i(n,e,t))},this.form_submit=function(){function e(){var e=!1;"complete"!==c[0].contentDocument.readyState||r?(h+=1,h>200&&(a.trigger("popup-submit-timeout",[s,s.data]),e=!0)):e=!0,e&&(window.clearInterval(l),n())}function t(e){return void 0!==e&&(s.data.close_popup=e),o?(s.data.ajax_history=o,o.length&&(s.data.last_ajax=o[0])):(s.data.ajax_history=[],s.data.last_ajax={}),a.trigger("popup-submit-done",[s,s.data]),s.data.close_popup?(s.close_popup(),!0):!1}function i(e,i,n){var o=e,r=d.find(".wdpu-msg-inner"),l=d.find(".wdpu-title"),c=d.find(".wdpu-subtitle");o instanceof jQuery||(o=jQuery("<div></div>").html(e)),o instanceof jQuery&&(o.hasClass("wdpu-msg-inner")?r.replaceWith(o):r.find(".wdpu-content").empty().append(o)),void 0!==i&&l.html(i),void 0!==n&&c.html(n),s.move_popup(),s.setup_popup(),t(),s.fetch_dom(),s.setup_popup(),a.trigger("popup-init",[s,s.data])}function n(){var e,n,o,r,l;if(a.trigger("popup-submit-process",[c,s,s.data]),!s.data.form_submit)return!1;l="ignore"===s.data.form_submit?!1:!0;try{o=jQuery(m,c[0].contentDocument),r=s.data.did_ajax}catch(h){o=jQuery("<html></html>"),r=!0}s.data.close_popup=!1,g.removeClass("wdpu-loading"),e=o.find(".wdpu-msg-inner"),n=d.find(".wdpu-msg-inner"),jQuery("#wdpu-frame").remove(),s.data.last_ajax=void 0,"close"===s.data.form_submit?t(!0):s.data.new_content?i(s.data.new_content,s.data.new_title,s.data.new_subtitle):r?t(l):o.length&&o.html().length?n.length&&e.length&&e.text().length?i(e):t(l):t(!0)}var l,c,h,u=jQuery(this),d=u.parents(".wdpu-container").first(),g=d.find(".wdpu-msg"),f=jQuery('<input type="hidden" name="_po_method_" />'),m=".wdpu-"+s.data.popup_id;return d.length?("redirect"!==s.data.form_submit&&(c=jQuery('<iframe id="wdpu-frame" name="wdpu-frame"></iframe>').hide().appendTo("body"),u.attr("target","wdpu-frame"),f.appendTo(u).val("raw")),g.addClass("wdpu-loading"),"redirect"===s.data.form_submit?window.setTimeout(function(){s.close_popup()},10):r?(s.data.did_ajax=!0,h=0,l=window.setInterval(e,50)):(s.data.did_ajax=!1,c.load(n)),!0):!0},this.init=function(){n.popup?(s.have_popup=!0,s.data=n.popup,s.exec_scripts(),s.prepare()):s.load_popup()},this.exec_scripts=function(){var e;void 0!==s.data.script&&(e=Function("me",s.data.script),e(s))},this.get_cookie=function(e){var t,i,n,o=document.cookie.split(";");for(n=s.data&&s.data.popup_id?e+"-"+s.data.popup_id+"=":e+"=",t=0;o.length>t;t+=1){for(i=o[t];" "===i.charAt(0);)i=i.substring(1,i.length);if(0===i.indexOf(n))return i.substring(n.length,i.length)}return null},this.set_cookie=function(e,t,i){var o,r,a;n.preview||(isNaN(i)?r="":(o=new Date,o.setTime(o.getTime()+1e3*60*60*24*i),r="; expires="+o.toGMTString()),a=s.data&&s.data.popup_id?e+"-"+s.data.popup_id:e,document.cookie=a+"="+t+r+"; path=/")},{init:s.init,load:s.load_popup,extend:s}},l="closed",c=[],h=null;jQuery(document).ajaxStart(function(){r=!0}),jQuery(document).ajaxComplete(function(e,t){r=!1,o.unshift(t)}),jQuery(function(){window.inc_popups=[],n(_popup_data)})})();
|
js/theme-chrome.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
-
/*! PopUp Free - v4.7.
|
2 |
* https://wordpress.org/plugins/wordpress-popup/
|
3 |
-
* Copyright (c)
|
4 |
ace.define("ace/theme/chrome", ["require", "exports", "module", "ace/lib/dom"], function(require, exports, module) {
|
5 |
|
6 |
exports.isDark = false;
|
1 |
+
/*! PopUp Free - v4.7.09
|
2 |
* https://wordpress.org/plugins/wordpress-popup/
|
3 |
+
* Copyright (c) 2015; * Licensed GPLv2+ */
|
4 |
ace.define("ace/theme/chrome", ["require", "exports", "module", "ace/lib/dom"], function(require, exports, module) {
|
5 |
|
6 |
exports.isDark = false;
|
js/theme-chrome.min.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
/*! PopUp Free - v4.7.
|
2 |
* https://wordpress.org/plugins/wordpress-popup/
|
3 |
-
* Copyright (c)
|
4 |
ace.define("ace/theme/chrome",["require","exports","module","ace/lib/dom"],function(e,t){t.isDark=!1,t.cssClass="ace-chrome",t.cssText='.ace-chrome .ace_gutter {background: #ebebeb;color: #333;overflow : hidden;}.ace-chrome .ace_print-margin {width: 1px;background: #e8e8e8;}.ace-chrome {background-color: #FFFFFF;color: black;}.ace-chrome .ace_cursor {color: black;}.ace-chrome .ace_invisible {color: rgb(191, 191, 191);}.ace-chrome .ace_constant.ace_buildin {color: rgb(88, 72, 246);}.ace-chrome .ace_constant.ace_language {color: rgb(88, 92, 246);}.ace-chrome .ace_constant.ace_library {color: rgb(6, 150, 14);}.ace-chrome .ace_invalid {background-color: rgb(153, 0, 0);color: white;}.ace-chrome .ace_fold {}.ace-chrome .ace_support.ace_function {color: rgb(60, 76, 114);}.ace-chrome .ace_support.ace_constant {color: rgb(6, 150, 14);}.ace-chrome .ace_support.ace_type,.ace-chrome .ace_support.ace_class.ace-chrome .ace_support.ace_other {color: rgb(109, 121, 222);}.ace-chrome .ace_variable.ace_parameter {font-style:italic;color:#FD971F;}.ace-chrome .ace_keyword.ace_operator {color: rgb(104, 118, 135);}.ace-chrome .ace_comment {color: #236e24;}.ace-chrome .ace_comment.ace_doc {color: #236e24;}.ace-chrome .ace_comment.ace_doc.ace_tag {color: #236e24;}.ace-chrome .ace_constant.ace_numeric {color: rgb(0, 0, 205);}.ace-chrome .ace_variable {color: rgb(49, 132, 149);}.ace-chrome .ace_xml-pe {color: rgb(104, 104, 91);}.ace-chrome .ace_entity.ace_name.ace_function {color: #0000A2;}.ace-chrome .ace_heading {color: rgb(12, 7, 255);}.ace-chrome .ace_list {color:rgb(185, 6, 144);}.ace-chrome .ace_marker-layer .ace_selection {background: rgb(181, 213, 255);}.ace-chrome .ace_marker-layer .ace_step {background: rgb(252, 255, 0);}.ace-chrome .ace_marker-layer .ace_stack {background: rgb(164, 229, 101);}.ace-chrome .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgb(192, 192, 192);}.ace-chrome .ace_marker-layer .ace_active-line {background: rgba(0, 0, 0, 0.07);}.ace-chrome .ace_gutter-active-line {background-color : #dcdcdc;}.ace-chrome .ace_marker-layer .ace_selected-word {background: rgb(250, 250, 255);border: 1px solid rgb(200, 200, 250);}.ace-chrome .ace_storage,.ace-chrome .ace_keyword,.ace-chrome .ace_meta.ace_tag {color: rgb(147, 15, 128);}.ace-chrome .ace_string.ace_regex {color: rgb(255, 0, 0)}.ace-chrome .ace_string {color: #1A1AA6;}.ace-chrome .ace_entity.ace_other.ace_attribute-name {color: #994409;}.ace-chrome .ace_indent-guide {background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y;}';var i=e("../lib/dom");i.importCssString(t.cssText,t.cssClass)});
|
1 |
+
/*! PopUp Free - v4.7.09
|
2 |
* https://wordpress.org/plugins/wordpress-popup/
|
3 |
+
* Copyright (c) 2015; * Licensed GPLv2+ */
|
4 |
ace.define("ace/theme/chrome",["require","exports","module","ace/lib/dom"],function(e,t){t.isDark=!1,t.cssClass="ace-chrome",t.cssText='.ace-chrome .ace_gutter {background: #ebebeb;color: #333;overflow : hidden;}.ace-chrome .ace_print-margin {width: 1px;background: #e8e8e8;}.ace-chrome {background-color: #FFFFFF;color: black;}.ace-chrome .ace_cursor {color: black;}.ace-chrome .ace_invisible {color: rgb(191, 191, 191);}.ace-chrome .ace_constant.ace_buildin {color: rgb(88, 72, 246);}.ace-chrome .ace_constant.ace_language {color: rgb(88, 92, 246);}.ace-chrome .ace_constant.ace_library {color: rgb(6, 150, 14);}.ace-chrome .ace_invalid {background-color: rgb(153, 0, 0);color: white;}.ace-chrome .ace_fold {}.ace-chrome .ace_support.ace_function {color: rgb(60, 76, 114);}.ace-chrome .ace_support.ace_constant {color: rgb(6, 150, 14);}.ace-chrome .ace_support.ace_type,.ace-chrome .ace_support.ace_class.ace-chrome .ace_support.ace_other {color: rgb(109, 121, 222);}.ace-chrome .ace_variable.ace_parameter {font-style:italic;color:#FD971F;}.ace-chrome .ace_keyword.ace_operator {color: rgb(104, 118, 135);}.ace-chrome .ace_comment {color: #236e24;}.ace-chrome .ace_comment.ace_doc {color: #236e24;}.ace-chrome .ace_comment.ace_doc.ace_tag {color: #236e24;}.ace-chrome .ace_constant.ace_numeric {color: rgb(0, 0, 205);}.ace-chrome .ace_variable {color: rgb(49, 132, 149);}.ace-chrome .ace_xml-pe {color: rgb(104, 104, 91);}.ace-chrome .ace_entity.ace_name.ace_function {color: #0000A2;}.ace-chrome .ace_heading {color: rgb(12, 7, 255);}.ace-chrome .ace_list {color:rgb(185, 6, 144);}.ace-chrome .ace_marker-layer .ace_selection {background: rgb(181, 213, 255);}.ace-chrome .ace_marker-layer .ace_step {background: rgb(252, 255, 0);}.ace-chrome .ace_marker-layer .ace_stack {background: rgb(164, 229, 101);}.ace-chrome .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgb(192, 192, 192);}.ace-chrome .ace_marker-layer .ace_active-line {background: rgba(0, 0, 0, 0.07);}.ace-chrome .ace_gutter-active-line {background-color : #dcdcdc;}.ace-chrome .ace_marker-layer .ace_selected-word {background: rgb(250, 250, 255);border: 1px solid rgb(200, 200, 250);}.ace-chrome .ace_storage,.ace-chrome .ace_keyword,.ace-chrome .ace_meta.ace_tag {color: rgb(147, 15, 128);}.ace-chrome .ace_string.ace_regex {color: rgb(255, 0, 0)}.ace-chrome .ace_string {color: #1A1AA6;}.ace-chrome .ace_entity.ace_other.ace_attribute-name {color: #994409;}.ace-chrome .ace_indent-guide {background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y;}';var i=e("../lib/dom");i.importCssString(t.cssText,t.cssClass)});
|
js/worker-css.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
-
/*! PopUp Free - v4.7.
|
2 |
* https://wordpress.org/plugins/wordpress-popup/
|
3 |
-
* Copyright (c)
|
4 |
"no use strict";;
|
5 |
(function(window) {
|
6 |
if (typeof window.window != "undefined" && window.document) {
|
1 |
+
/*! PopUp Free - v4.7.09
|
2 |
* https://wordpress.org/plugins/wordpress-popup/
|
3 |
+
* Copyright (c) 2015; * Licensed GPLv2+ */
|
4 |
"no use strict";;
|
5 |
(function(window) {
|
6 |
if (typeof window.window != "undefined" && window.document) {
|
js/worker-css.min.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
-
/*! PopUp Free - v4.7.
|
2 |
* https://wordpress.org/plugins/wordpress-popup/
|
3 |
-
* Copyright (c)
|
4 |
"no use strict";(function(e){if(void 0===e.window||!e.document){e.console=function(){var e=Array.prototype.slice.call(arguments,0);postMessage({type:"log",data:e})},e.console.error=e.console.warn=e.console.log=e.console.trace=e.console,e.window=e,e.ace=e,e.onerror=function(e,t,i,n,r){postMessage({type:"error",data:{message:e,file:t,line:i,col:n,stack:r.stack}})},e.normalizeModule=function(t,i){if(-1!==i.indexOf("!")){var n=i.split("!");return e.normalizeModule(t,n[0])+"!"+e.normalizeModule(t,n[1])}if("."==i.charAt(0)){var r=t.split("/").slice(0,-1).join("/");for(i=(r?r+"/":"")+i;-1!==i.indexOf(".")&&o!=i;){var o=i;i=i.replace(/^\.\//,"").replace(/\/\.\//,"/").replace(/[^\/]+\/\.\.\//,"")}}return i},e.require=function(t,i){if(i||(i=t,t=null),!i.charAt)throw Error("worker.js require() accepts only (parentId, id) as arguments");i=e.normalizeModule(t,i);var n=e.require.modules[i];if(n)return n.initialized||(n.initialized=!0,n.exports=n.factory().exports),n.exports;var r=i.split("/");if(!e.require.tlns)return console.log("unable to load "+i);r[0]=e.require.tlns[r[0]]||r[0];var o=r.join("/")+".js";return e.require.id=i,importScripts(o),e.require(t,i)},e.require.modules={},e.require.tlns={},e.define=function(t,i,n){if(2==arguments.length?(n=i,"string"!=typeof t&&(i=t,t=e.require.id)):1==arguments.length&&(n=t,i=[],t=e.require.id),"function"!=typeof n)return e.require.modules[t]={exports:n,initialized:!0},void 0;i.length||(i=["require","exports","module"]);var r=function(i){return e.require(t,i)};e.require.modules[t]={exports:{},factory:function(){var e=this,t=n.apply(this,i.map(function(t){switch(t){case"require":return r;case"exports":return e.exports;case"module":return e;default:return r(t)}}));return t&&(e.exports=t),e}}},e.define.amd={},e.initBaseUrls=function t(e){require.tlns=e},e.initSender=function i(){var t=e.require("ace/lib/event_emitter").EventEmitter,i=e.require("ace/lib/oop"),n=function(){};return function(){i.implement(this,t),this.callback=function(e,t){postMessage({type:"call",id:t,data:e})},this.emit=function(e,t){postMessage({type:"event",name:e,data:t})}}.call(n.prototype),new n};var n=e.main=null,r=e.sender=null;e.onmessage=function(o){var s=o.data;if(s.command){if(!n[s.command])throw Error("Unknown command:"+s.command);n[s.command].apply(n,s.args)}else if(s.init){t(s.tlns),require("ace/lib/es5-shim"),r=e.sender=i();var a=require(s.module)[s.classname];n=e.main=new a(r)}else s.event&&r&&r._signal(s.event,s.data)}}})(this),ace.define("ace/lib/oop",["require","exports","module"],function(e,t){"use strict";t.inherits=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})},t.mixin=function(e,t){for(var i in t)e[i]=t[i];return e},t.implement=function(e,i){t.mixin(e,i)}}),ace.define("ace/lib/lang",["require","exports","module"],function(e,t){"use strict";t.last=function(e){return e[e.length-1]},t.stringReverse=function(e){return e.split("").reverse().join("")},t.stringRepeat=function(e,t){for(var i="";t>0;)1&t&&(i+=e),(t>>=1)&&(e+=e);return i};var i=/^\s\s*/,n=/\s\s*$/;t.stringTrimLeft=function(e){return e.replace(i,"")},t.stringTrimRight=function(e){return e.replace(n,"")},t.copyObject=function(e){var t={};for(var i in e)t[i]=e[i];return t},t.copyArray=function(e){for(var t=[],i=0,n=e.length;n>i;i++)t[i]=e[i]&&"object"==typeof e[i]?this.copyObject(e[i]):e[i];return t},t.deepCopy=function(e){if("object"!=typeof e||!e)return e;var i=e.constructor;if(i===RegExp)return e;var n=i();for(var r in e)n[r]="object"==typeof e[r]?t.deepCopy(e[r]):e[r];return n},t.arrayToMap=function(e){for(var t={},i=0;e.length>i;i++)t[e[i]]=1;return t},t.createMap=function(e){var t=Object.create(null);for(var i in e)t[i]=e[i];return t},t.arrayRemove=function(e,t){for(var i=0;e.length>=i;i++)t===e[i]&&e.splice(i,1)},t.escapeRegExp=function(e){return e.replace(/([.*+?^${}()|[\]\/\\])/g,"\\$1")},t.escapeHTML=function(e){return e.replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<")},t.getMatchOffsets=function(e,t){var i=[];return e.replace(t,function(e){i.push({offset:arguments[arguments.length-2],length:e.length})}),i},t.deferredCall=function(e){var t=null,i=function(){t=null,e()},n=function(e){return n.cancel(),t=setTimeout(i,e||0),n};return n.schedule=n,n.call=function(){return this.cancel(),e(),n},n.cancel=function(){return clearTimeout(t),t=null,n},n.isPending=function(){return t},n},t.delayedCall=function(e,t){var i=null,n=function(){i=null,e()},r=function(e){null==i&&(i=setTimeout(n,e||t))};return r.delay=function(e){i&&clearTimeout(i),i=setTimeout(n,e||t)},r.schedule=r,r.call=function(){this.cancel(),e()},r.cancel=function(){i&&clearTimeout(i),i=null},r.isPending=function(){return i},r}}),ace.define("ace/lib/event_emitter",["require","exports","module"],function(e,t){"use strict";var i={},n=function(){this.propagationStopped=!0},r=function(){this.defaultPrevented=!0};i._emit=i._dispatchEvent=function(e,t){this._eventRegistry||(this._eventRegistry={}),this._defaultHandlers||(this._defaultHandlers={});var i=this._eventRegistry[e]||[],o=this._defaultHandlers[e];if(i.length||o){"object"==typeof t&&t||(t={}),t.type||(t.type=e),t.stopPropagation||(t.stopPropagation=n),t.preventDefault||(t.preventDefault=r),i=i.slice();for(var s=0;i.length>s&&(i[s](t,this),!t.propagationStopped);s++);return o&&!t.defaultPrevented?o(t,this):void 0}},i._signal=function(e,t){var i=(this._eventRegistry||{})[e];if(i){i=i.slice();for(var n=0;i.length>n;n++)i[n](t,this)}},i.once=function(e,t){var i=this;t&&this.addEventListener(e,function n(){i.removeEventListener(e,n),t.apply(null,arguments)})},i.setDefaultHandler=function(e,t){var i=this._defaultHandlers;if(i||(i=this._defaultHandlers={_disabled_:{}}),i[e]){var n=i[e],r=i._disabled_[e];r||(i._disabled_[e]=r=[]),r.push(n);var o=r.indexOf(t);-1!=o&&r.splice(o,1)}i[e]=t},i.removeDefaultHandler=function(e,t){var i=this._defaultHandlers;if(i){var n=i._disabled_[e];if(i[e]==t)i[e],n&&this.setDefaultHandler(e,n.pop());else if(n){var r=n.indexOf(t);-1!=r&&n.splice(r,1)}}},i.on=i.addEventListener=function(e,t,i){this._eventRegistry=this._eventRegistry||{};var n=this._eventRegistry[e];return n||(n=this._eventRegistry[e]=[]),-1==n.indexOf(t)&&n[i?"unshift":"push"](t),t},i.off=i.removeListener=i.removeEventListener=function(e,t){this._eventRegistry=this._eventRegistry||{};var i=this._eventRegistry[e];if(i){var n=i.indexOf(t);-1!==n&&i.splice(n,1)}},i.removeAllListeners=function(e){this._eventRegistry&&(this._eventRegistry[e]=[])},t.EventEmitter=i}),ace.define("ace/range",["require","exports","module"],function(e,t){"use strict";var i=function(e,t){return e.row-t.row||e.column-t.column},n=function(e,t,i,n){this.start={row:e,column:t},this.end={row:i,column:n}};(function(){this.isEqual=function(e){return this.start.row===e.start.row&&this.end.row===e.end.row&&this.start.column===e.start.column&&this.end.column===e.end.column},this.toString=function(){return"Range: ["+this.start.row+"/"+this.start.column+"] -> ["+this.end.row+"/"+this.end.column+"]"},this.contains=function(e,t){return 0==this.compare(e,t)},this.compareRange=function(e){var t,i=e.end,n=e.start;return t=this.compare(i.row,i.column),1==t?(t=this.compare(n.row,n.column),1==t?2:0==t?1:0):-1==t?-2:(t=this.compare(n.row,n.column),-1==t?-1:1==t?42:0)},this.comparePoint=function(e){return this.compare(e.row,e.column)},this.containsRange=function(e){return 0==this.comparePoint(e.start)&&0==this.comparePoint(e.end)},this.intersects=function(e){var t=this.compareRange(e);return-1==t||0==t||1==t},this.isEnd=function(e,t){return this.end.row==e&&this.end.column==t},this.isStart=function(e,t){return this.start.row==e&&this.start.column==t},this.setStart=function(e,t){"object"==typeof e?(this.start.column=e.column,this.start.row=e.row):(this.start.row=e,this.start.column=t)},this.setEnd=function(e,t){"object"==typeof e?(this.end.column=e.column,this.end.row=e.row):(this.end.row=e,this.end.column=t)},this.inside=function(e,t){return 0==this.compare(e,t)?this.isEnd(e,t)||this.isStart(e,t)?!1:!0:!1},this.insideStart=function(e,t){return 0==this.compare(e,t)?this.isEnd(e,t)?!1:!0:!1},this.insideEnd=function(e,t){return 0==this.compare(e,t)?this.isStart(e,t)?!1:!0:!1},this.compare=function(e,t){return this.isMultiLine()||e!==this.start.row?this.start.row>e?-1:e>this.end.row?1:this.start.row===e?t>=this.start.column?0:-1:this.end.row===e?this.end.column>=t?0:1:0:this.start.column>t?-1:t>this.end.column?1:0},this.compareStart=function(e,t){return this.start.row==e&&this.start.column==t?-1:this.compare(e,t)},this.compareEnd=function(e,t){return this.end.row==e&&this.end.column==t?1:this.compare(e,t)},this.compareInside=function(e,t){return this.end.row==e&&this.end.column==t?1:this.start.row==e&&this.start.column==t?-1:this.compare(e,t)},this.clipRows=function(e,t){if(this.end.row>t)var i={row:t+1,column:0};else if(e>this.end.row)var i={row:e,column:0};if(this.start.row>t)var r={row:t+1,column:0};else if(e>this.start.row)var r={row:e,column:0};return n.fromPoints(r||this.start,i||this.end)},this.extend=function(e,t){var i=this.compare(e,t);if(0==i)return this;if(-1==i)var r={row:e,column:t};else var o={row:e,column:t};return n.fromPoints(r||this.start,o||this.end)},this.isEmpty=function(){return this.start.row===this.end.row&&this.start.column===this.end.column},this.isMultiLine=function(){return this.start.row!==this.end.row},this.clone=function(){return n.fromPoints(this.start,this.end)},this.collapseRows=function(){return 0==this.end.column?new n(this.start.row,0,Math.max(this.start.row,this.end.row-1),0):new n(this.start.row,0,this.end.row,0)},this.toScreenRange=function(e){var t=e.documentToScreenPosition(this.start),i=e.documentToScreenPosition(this.end);return new n(t.row,t.column,i.row,i.column)},this.moveBy=function(e,t){this.start.row+=e,this.start.column+=t,this.end.row+=e,this.end.column+=t}}).call(n.prototype),n.fromPoints=function(e,t){return new n(e.row,e.column,t.row,t.column)},n.comparePoints=i,n.comparePoints=function(e,t){return e.row-t.row||e.column-t.column},t.Range=n}),ace.define("ace/anchor",["require","exports","module","ace/lib/oop","ace/lib/event_emitter"],function(e,t){"use strict";var i=e("./lib/oop"),n=e("./lib/event_emitter").EventEmitter,r=t.Anchor=function(e,t,i){this.$onChange=this.onChange.bind(this),this.attach(e),i===void 0?this.setPosition(t.row,t.column):this.setPosition(t,i)};(function(){i.implement(this,n),this.getPosition=function(){return this.$clipPositionToDocument(this.row,this.column)},this.getDocument=function(){return this.document},this.$insertRight=!1,this.onChange=function(e){var t=e.data,i=t.range;if(!(i.start.row==i.end.row&&i.start.row!=this.row||i.start.row>this.row||i.start.row==this.row&&i.start.column>this.column)){var n=this.row,r=this.column,o=i.start,s=i.end;"insertText"===t.action?o.row===n&&r>=o.column?o.column===r&&this.$insertRight||(o.row===s.row?r+=s.column-o.column:(r-=o.column,n+=s.row-o.row)):o.row!==s.row&&n>o.row&&(n+=s.row-o.row):"insertLines"===t.action?o.row===n&&0===r&&this.$insertRight||n>=o.row&&(n+=s.row-o.row):"removeText"===t.action?o.row===n&&r>o.column?r=s.column>=r?o.column:Math.max(0,r-(s.column-o.column)):o.row!==s.row&&n>o.row?(s.row===n&&(r=Math.max(0,r-s.column)+o.column),n-=s.row-o.row):s.row===n&&(n-=s.row-o.row,r=Math.max(0,r-s.column)+o.column):"removeLines"==t.action&&n>=o.row&&(n>=s.row?n-=s.row-o.row:(n=o.row,r=0)),this.setPosition(n,r,!0)}},this.setPosition=function(e,t,i){var n;if(n=i?{row:e,column:t}:this.$clipPositionToDocument(e,t),this.row!=n.row||this.column!=n.column){var r={row:this.row,column:this.column};this.row=n.row,this.column=n.column,this._signal("change",{old:r,value:n})}},this.detach=function(){this.document.removeEventListener("change",this.$onChange)},this.attach=function(e){this.document=e||this.document,this.document.on("change",this.$onChange)},this.$clipPositionToDocument=function(e,t){var i={};return e>=this.document.getLength()?(i.row=Math.max(0,this.document.getLength()-1),i.column=this.document.getLine(i.row).length):0>e?(i.row=0,i.column=0):(i.row=e,i.column=Math.min(this.document.getLine(i.row).length,Math.max(0,t))),0>t&&(i.column=0),i}}).call(r.prototype)}),ace.define("ace/document",["require","exports","module","ace/lib/oop","ace/lib/event_emitter","ace/range","ace/anchor"],function(e,t){"use strict";var i=e("./lib/oop"),n=e("./lib/event_emitter").EventEmitter,r=e("./range").Range,o=e("./anchor").Anchor,s=function(e){this.$lines=[],0===e.length?this.$lines=[""]:Array.isArray(e)?this._insertLines(0,e):this.insert({row:0,column:0},e)};(function(){i.implement(this,n),this.setValue=function(e){var t=this.getLength();this.remove(new r(0,0,t,this.getLine(t-1).length)),this.insert({row:0,column:0},e)},this.getValue=function(){return this.getAllLines().join(this.getNewLineCharacter())},this.createAnchor=function(e,t){return new o(this,e,t)},this.$split=0==="aaa".split(/a/).length?function(e){return e.replace(/\r\n|\r/g,"\n").split("\n")}:function(e){return e.split(/\r\n|\r|\n/)},this.$detectNewLine=function(e){var t=e.match(/^.*?(\r\n|\r|\n)/m);this.$autoNewLine=t?t[1]:"\n",this._signal("changeNewLineMode")},this.getNewLineCharacter=function(){switch(this.$newLineMode){case"windows":return"\r\n";case"unix":return"\n";default:return this.$autoNewLine||"\n"}},this.$autoNewLine="",this.$newLineMode="auto",this.setNewLineMode=function(e){this.$newLineMode!==e&&(this.$newLineMode=e,this._signal("changeNewLineMode"))},this.getNewLineMode=function(){return this.$newLineMode},this.isNewLine=function(e){return"\r\n"==e||"\r"==e||"\n"==e},this.getLine=function(e){return this.$lines[e]||""},this.getLines=function(e,t){return this.$lines.slice(e,t+1)},this.getAllLines=function(){return this.getLines(0,this.getLength())},this.getLength=function(){return this.$lines.length},this.getTextRange=function(e){if(e.start.row==e.end.row)return this.getLine(e.start.row).substring(e.start.column,e.end.column);var t=this.getLines(e.start.row,e.end.row);t[0]=(t[0]||"").substring(e.start.column);var i=t.length-1;return e.end.row-e.start.row==i&&(t[i]=t[i].substring(0,e.end.column)),t.join(this.getNewLineCharacter())},this.$clipPosition=function(e){var t=this.getLength();return e.row>=t?(e.row=Math.max(0,t-1),e.column=this.getLine(t-1).length):0>e.row&&(e.row=0),e},this.insert=function(e,t){if(!t||0===t.length)return e;e=this.$clipPosition(e),1>=this.getLength()&&this.$detectNewLine(t);var i=this.$split(t),n=i.splice(0,1)[0],r=0==i.length?null:i.splice(i.length-1,1)[0];return e=this.insertInLine(e,n),null!==r&&(e=this.insertNewLine(e),e=this._insertLines(e.row,i),e=this.insertInLine(e,r||"")),e},this.insertLines=function(e,t){return e>=this.getLength()?this.insert({row:e,column:0},"\n"+t.join("\n")):this._insertLines(Math.max(e,0),t)},this._insertLines=function(e,t){if(0==t.length)return{row:e,column:0};for(;t.length>61440;){var i=this._insertLines(e,t.slice(0,61440));t=t.slice(61440),e=i.row}var n=[e,0];n.push.apply(n,t),this.$lines.splice.apply(this.$lines,n);var o=new r(e,0,e+t.length,0),s={action:"insertLines",range:o,lines:t};return this._signal("change",{data:s}),o.end},this.insertNewLine=function(e){e=this.$clipPosition(e);var t=this.$lines[e.row]||"";this.$lines[e.row]=t.substring(0,e.column),this.$lines.splice(e.row+1,0,t.substring(e.column,t.length));var i={row:e.row+1,column:0},n={action:"insertText",range:r.fromPoints(e,i),text:this.getNewLineCharacter()};return this._signal("change",{data:n}),i},this.insertInLine=function(e,t){if(0==t.length)return e;var i=this.$lines[e.row]||"";this.$lines[e.row]=i.substring(0,e.column)+t+i.substring(e.column);var n={row:e.row,column:e.column+t.length},o={action:"insertText",range:r.fromPoints(e,n),text:t};return this._signal("change",{data:o}),n},this.remove=function(e){if(e instanceof r||(e=r.fromPoints(e.start,e.end)),e.start=this.$clipPosition(e.start),e.end=this.$clipPosition(e.end),e.isEmpty())return e.start;var t=e.start.row,i=e.end.row;if(e.isMultiLine()){var n=0==e.start.column?t:t+1,o=i-1;e.end.column>0&&this.removeInLine(i,0,e.end.column),o>=n&&this._removeLines(n,o),n!=t&&(this.removeInLine(t,e.start.column,this.getLine(t).length),this.removeNewLine(e.start.row))}else this.removeInLine(t,e.start.column,e.end.column);return e.start},this.removeInLine=function(e,t,i){if(t!=i){var n=new r(e,t,e,i),o=this.getLine(e),s=o.substring(t,i),a=o.substring(0,t)+o.substring(i,o.length);this.$lines.splice(e,1,a);var l={action:"removeText",range:n,text:s};return this._signal("change",{data:l}),n.start}},this.removeLines=function(e,t){return 0>e||t>=this.getLength()?this.remove(new r(e,0,t+1,0)):this._removeLines(e,t)},this._removeLines=function(e,t){var i=new r(e,0,t+1,0),n=this.$lines.splice(e,t-e+1),o={action:"removeLines",range:i,nl:this.getNewLineCharacter(),lines:n};return this._signal("change",{data:o}),n},this.removeNewLine=function(e){var t=this.getLine(e),i=this.getLine(e+1),n=new r(e,t.length,e+1,0),o=t+i;this.$lines.splice(e,2,o);var s={action:"removeText",range:n,text:this.getNewLineCharacter()};this._signal("change",{data:s})},this.replace=function(e,t){if(e instanceof r||(e=r.fromPoints(e.start,e.end)),0==t.length&&e.isEmpty())return e.start;if(t==this.getTextRange(e))return e.end;if(this.remove(e),t)var i=this.insert(e.start,t);else i=e.start;return i},this.applyDeltas=function(e){for(var t=0;e.length>t;t++){var i=e[t],n=r.fromPoints(i.range.start,i.range.end);"insertLines"==i.action?this.insertLines(n.start.row,i.lines):"insertText"==i.action?this.insert(n.start,i.text):"removeLines"==i.action?this._removeLines(n.start.row,n.end.row-1):"removeText"==i.action&&this.remove(n)}},this.revertDeltas=function(e){for(var t=e.length-1;t>=0;t--){var i=e[t],n=r.fromPoints(i.range.start,i.range.end);"insertLines"==i.action?this._removeLines(n.start.row,n.end.row-1):"insertText"==i.action?this.remove(n):"removeLines"==i.action?this._insertLines(n.start.row,i.lines):"removeText"==i.action&&this.insert(n.start,i.text)}},this.indexToPosition=function(e,t){for(var i=this.$lines||this.getAllLines(),n=this.getNewLineCharacter().length,r=t||0,o=i.length;o>r;r++)if(e-=i[r].length+n,0>e)return{row:r,column:e+i[r].length+n};return{row:o-1,column:i[o-1].length}},this.positionToIndex=function(e,t){for(var i=this.$lines||this.getAllLines(),n=this.getNewLineCharacter().length,r=0,o=Math.min(e.row,i.length),s=t||0;o>s;++s)r+=i[s].length+n;return r+e.column}}).call(s.prototype),t.Document=s}),ace.define("ace/worker/mirror",["require","exports","module","ace/document","ace/lib/lang"],function(e,t){"use strict";var i=e("../document").Document,n=e("../lib/lang"),r=t.Mirror=function(e){this.sender=e;var t=this.doc=new i(""),r=this.deferredUpdate=n.delayedCall(this.onUpdate.bind(this)),o=this;e.on("change",function(e){return t.applyDeltas(e.data),o.$timeout?r.schedule(o.$timeout):(o.onUpdate(),void 0)})};(function(){this.$timeout=500,this.setTimeout=function(e){this.$timeout=e},this.setValue=function(e){this.doc.setValue(e),this.deferredUpdate.schedule(this.$timeout)},this.getValue=function(e){this.sender.callback(this.doc.getValue(),e)},this.onUpdate=function(){},this.isPending=function(){return this.deferredUpdate.isPending()}}).call(r.prototype)}),ace.define("ace/mode/css/csslint",["require","exports","module"],function(require,exports,module){function objectToString(e){return Object.prototype.toString.call(e)}function clone(e,t,i,n){function r(e,i){if(null===e)return null;if(0==i)return e;var l;if("object"!=typeof e)return e;if(util.isArray(e))l=[];else if(util.isRegExp(e))l=RegExp(e.source,util.getRegExpFlags(e)),e.lastIndex&&(l.lastIndex=e.lastIndex);else if(util.isDate(e))l=new Date(e.getTime());else{if(a&&Buffer.isBuffer(e))return l=new Buffer(e.length),e.copy(l),l;l=n===void 0?Object.create(Object.getPrototypeOf(e)):Object.create(n)}if(t){var c=o.indexOf(e);if(-1!=c)return s[c];o.push(e),s.push(l)}for(var h in e)l[h]=r(e[h],i-1);return l}var o=[],s=[],a="undefined"!=typeof Buffer;return t===void 0&&(t=!0),i===void 0&&(i=1/0),r(e,i)}function Reporter(e,t){this.messages=[],this.stats=[],this.lines=e,this.ruleset=t}var parserlib={};(function(){function e(){this._listeners={}}function t(e){this._input=e.replace(/\n\r?/g,"\n"),this._line=1,this._col=1,this._cursor=0}function i(e,t,i){this.col=i,this.line=t,this.message=e}function n(e,t,i,n){this.col=i,this.line=t,this.text=e,this.type=n}function r(e,i){this._reader=e?new t(""+e):null,this._token=null,this._tokenData=i,this._lt=[],this._ltIndex=0,this._ltIndexCache=[]}e.prototype={constructor:e,addListener:function(e,t){this._listeners[e]||(this._listeners[e]=[]),this._listeners[e].push(t)},fire:function(e){if("string"==typeof e&&(e={type:e}),e.target!==void 0&&(e.target=this),e.type===void 0)throw Error("Event object missing 'type' property.");if(this._listeners[e.type])for(var t=this._listeners[e.type].concat(),i=0,n=t.length;n>i;i++)t[i].call(this,e)},removeListener:function(e,t){if(this._listeners[e])for(var i=this._listeners[e],n=0,r=i.length;r>n;n++)if(i[n]===t){i.splice(n,1);break}}},t.prototype={constructor:t,getCol:function(){return this._col},getLine:function(){return this._line},eof:function(){return this._cursor==this._input.length},peek:function(e){var t=null;return e=e===void 0?1:e,this._cursor<this._input.length&&(t=this._input.charAt(this._cursor+e-1)),t},read:function(){var e=null;return this._cursor<this._input.length&&("\n"==this._input.charAt(this._cursor)?(this._line++,this._col=1):this._col++,e=this._input.charAt(this._cursor++)),e},mark:function(){this._bookmark={cursor:this._cursor,line:this._line,col:this._col}},reset:function(){this._bookmark&&(this._cursor=this._bookmark.cursor,this._line=this._bookmark.line,this._col=this._bookmark.col,delete this._bookmark)},readTo:function(e){for(var t,i="";i.length<e.length||i.lastIndexOf(e)!=i.length-e.length;){if(t=this.read(),!t)throw Error('Expected "'+e+'" at line '+this._line+", col "+this._col+".");i+=t}return i},readWhile:function(e){for(var t="",i=this.read();null!==i&&e(i);)t+=i,i=this.read();return t},readMatch:function(e){var t=this._input.substring(this._cursor),i=null;return"string"==typeof e?0===t.indexOf(e)&&(i=this.readCount(e.length)):e instanceof RegExp&&e.test(t)&&(i=this.readCount(RegExp.lastMatch.length)),i},readCount:function(e){for(var t="";e--;)t+=this.read();return t}},i.prototype=Error(),n.fromToken=function(e){return new n(e.value,e.startLine,e.startCol)},n.prototype={constructor:n,valueOf:function(){return this.text},toString:function(){return this.text}},r.createTokenData=function(e){var t=[],i={},n=e.concat([]),r=0,o=n.length+1;for(n.UNKNOWN=-1,n.unshift({name:"EOF"});o>r;r++)t.push(n[r].name),n[n[r].name]=r,n[r].text&&(i[n[r].text]=r);return n.name=function(e){return t[e]},n.type=function(e){return i[e]},n},r.prototype={constructor:r,match:function(e,t){e instanceof Array||(e=[e]);for(var i=this.get(t),n=0,r=e.length;r>n;)if(i==e[n++])return!0;return this.unget(),!1},mustMatch:function(e){var t;if(e instanceof Array||(e=[e]),!this.match.apply(this,arguments))throw t=this.LT(1),new i("Expected "+this._tokenData[e[0]].name+" at line "+t.startLine+", col "+t.startCol+".",t.startLine,t.startCol)},advance:function(e,t){for(;0!==this.LA(0)&&!this.match(e,t);)this.get();return this.LA(0)},get:function(e){var t,i,n=this._tokenData,r=(this._reader,0);if(n.length,this._lt.length&&this._ltIndex>=0&&this._ltIndex<this._lt.length){for(r++,this._token=this._lt[this._ltIndex++],i=n[this._token.type];void 0!==i.channel&&e!==i.channel&&this._ltIndex<this._lt.length;)this._token=this._lt[this._ltIndex++],i=n[this._token.type],r++;if((void 0===i.channel||e===i.channel)&&this._ltIndex<=this._lt.length)return this._ltIndexCache.push(r),this._token.type}return t=this._getToken(),t.type>-1&&!n[t.type].hide&&(t.channel=n[t.type].channel,this._token=t,this._lt.push(t),this._ltIndexCache.push(this._lt.length-this._ltIndex+r),this._lt.length>5&&this._lt.shift(),this._ltIndexCache.length>5&&this._ltIndexCache.shift(),this._ltIndex=this._lt.length),i=n[t.type],i&&(i.hide||void 0!==i.channel&&e!==i.channel)?this.get(e):t.type},LA:function(e){var t,i=e;if(e>0){if(e>5)throw Error("Too much lookahead.");for(;i;)t=this.get(),i--;for(;e>i;)this.unget(),i++}else if(0>e){if(!this._lt[this._ltIndex+e])throw Error("Too much lookbehind.");t=this._lt[this._ltIndex+e].type}else t=this._token.type;return t},LT:function(e){return this.LA(e),this._lt[this._ltIndex+e-1]},peek:function(){return this.LA(1)},token:function(){return this._token},tokenName:function(e){return 0>e||e>this._tokenData.length?"UNKNOWN_TOKEN":this._tokenData[e].name},tokenType:function(e){return this._tokenData[e]||-1},unget:function(){if(!this._ltIndexCache.length)throw Error("Too much lookahead.");this._ltIndex-=this._ltIndexCache.pop(),this._token=this._lt[this._ltIndex-1]}},parserlib.util={StringReader:t,SyntaxError:i,SyntaxUnit:n,EventTarget:e,TokenStreamBase:r}})(),function(){function Combinator(e,t,i){SyntaxUnit.call(this,e,t,i,Parser.COMBINATOR_TYPE),this.type="unknown",/^\s+$/.test(e)?this.type="descendant":">"==e?this.type="child":"+"==e?this.type="adjacent-sibling":"~"==e&&(this.type="sibling")}function MediaFeature(e,t){SyntaxUnit.call(this,"("+e+(null!==t?":"+t:"")+")",e.startLine,e.startCol,Parser.MEDIA_FEATURE_TYPE),this.name=e,this.value=t}function MediaQuery(e,t,i,n,r){SyntaxUnit.call(this,(e?e+" ":"")+(t?t:"")+(t&&i.length>0?" and ":"")+i.join(" and "),n,r,Parser.MEDIA_QUERY_TYPE),this.modifier=e,this.mediaType=t,this.features=i}function Parser(e){EventTarget.call(this),this.options=e||{},this._tokenStream=null}function PropertyName(e,t,i,n){SyntaxUnit.call(this,e,i,n,Parser.PROPERTY_NAME_TYPE),this.hack=t}function PropertyValue(e,t,i){SyntaxUnit.call(this,e.join(" "),t,i,Parser.PROPERTY_VALUE_TYPE),this.parts=e}function PropertyValueIterator(e){this._i=0,this._parts=e.parts,this._marks=[],this.value=e}function PropertyValuePart(text,line,col){SyntaxUnit.call(this,text,line,col,Parser.PROPERTY_VALUE_PART_TYPE),this.type="unknown";var temp;if(/^([+\-]?[\d\.]+)([a-z]+)$/i.test(text))switch(this.type="dimension",this.value=+RegExp.$1,this.units=RegExp.$2,this.units.toLowerCase()){case"em":case"rem":case"ex":case"px":case"cm":case"mm":case"in":case"pt":case"pc":case"ch":case"vh":case"vw":case"vmax":case"vmin":this.type="length";break;case"deg":case"rad":case"grad":this.type="angle";break;case"ms":case"s":this.type="time";break;case"hz":case"khz":this.type="frequency";break;case"dpi":case"dpcm":this.type="resolution"}else/^([+\-]?[\d\.]+)%$/i.test(text)?(this.type="percentage",this.value=+RegExp.$1):/^([+\-]?\d+)$/i.test(text)?(this.type="integer",this.value=+RegExp.$1):/^([+\-]?[\d\.]+)$/i.test(text)?(this.type="number",this.value=+RegExp.$1):/^#([a-f0-9]{3,6})/i.test(text)?(this.type="color",temp=RegExp.$1,3==temp.length?(this.red=parseInt(temp.charAt(0)+temp.charAt(0),16),this.green=parseInt(temp.charAt(1)+temp.charAt(1),16),this.blue=parseInt(temp.charAt(2)+temp.charAt(2),16)):(this.red=parseInt(temp.substring(0,2),16),this.green=parseInt(temp.substring(2,4),16),this.blue=parseInt(temp.substring(4,6),16))):/^rgb\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/i.test(text)?(this.type="color",this.red=+RegExp.$1,this.green=+RegExp.$2,this.blue=+RegExp.$3):/^rgb\(\s*(\d+)%\s*,\s*(\d+)%\s*,\s*(\d+)%\s*\)/i.test(text)?(this.type="color",this.red=255*+RegExp.$1/100,this.green=255*+RegExp.$2/100,this.blue=255*+RegExp.$3/100):/^rgba\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d\.]+)\s*\)/i.test(text)?(this.type="color",this.red=+RegExp.$1,this.green=+RegExp.$2,this.blue=+RegExp.$3,this.alpha=+RegExp.$4):/^rgba\(\s*(\d+)%\s*,\s*(\d+)%\s*,\s*(\d+)%\s*,\s*([\d\.]+)\s*\)/i.test(text)?(this.type="color",this.red=255*+RegExp.$1/100,this.green=255*+RegExp.$2/100,this.blue=255*+RegExp.$3/100,this.alpha=+RegExp.$4):/^hsl\(\s*(\d+)\s*,\s*(\d+)%\s*,\s*(\d+)%\s*\)/i.test(text)?(this.type="color",this.hue=+RegExp.$1,this.saturation=+RegExp.$2/100,this.lightness=+RegExp.$3/100):/^hsla\(\s*(\d+)\s*,\s*(\d+)%\s*,\s*(\d+)%\s*,\s*([\d\.]+)\s*\)/i.test(text)?(this.type="color",this.hue=+RegExp.$1,this.saturation=+RegExp.$2/100,this.lightness=+RegExp.$3/100,this.alpha=+RegExp.$4):/^url\(["']?([^\)"']+)["']?\)/i.test(text)?(this.type="uri",this.uri=RegExp.$1):/^([^\(]+)\(/i.test(text)?(this.type="function",this.name=RegExp.$1,this.value=text):/^["'][^"']*["']/.test(text)?(this.type="string",this.value=eval(text)):Colors[text.toLowerCase()]?(this.type="color",temp=Colors[text.toLowerCase()].substring(1),this.red=parseInt(temp.substring(0,2),16),this.green=parseInt(temp.substring(2,4),16),this.blue=parseInt(temp.substring(4,6),16)):/^[\,\/]$/.test(text)?(this.type="operator",this.value=text):/^[a-z\-_\u0080-\uFFFF][a-z0-9\-_\u0080-\uFFFF]*$/i.test(text)&&(this.type="identifier",this.value=text)}function Selector(e,t,i){SyntaxUnit.call(this,e.join(" "),t,i,Parser.SELECTOR_TYPE),this.parts=e,this.specificity=Specificity.calculate(this)}function SelectorPart(e,t,i,n,r){SyntaxUnit.call(this,i,n,r,Parser.SELECTOR_PART_TYPE),this.elementName=e,this.modifiers=t}function SelectorSubPart(e,t,i,n){SyntaxUnit.call(this,e,i,n,Parser.SELECTOR_SUB_PART_TYPE),this.type=t,this.args=[]}function Specificity(e,t,i,n){this.a=e,this.b=t,this.c=i,this.d=n}function isHexDigit(e){return null!==e&&h.test(e)}function isDigit(e){return null!==e&&/\d/.test(e)}function isWhitespace(e){return null!==e&&/\s/.test(e)}function isNewLine(e){return null!==e&&nl.test(e)}function isNameStart(e){return null!==e&&/[a-z_\u0080-\uFFFF\\]/i.test(e)}function isNameChar(e){return null!==e&&(isNameStart(e)||/[0-9\-\\]/.test(e))}function isIdentStart(e){return null!==e&&(isNameStart(e)||/\-\\/.test(e))}function mix(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);return e}function TokenStream(e){TokenStreamBase.call(this,e,Tokens)}function ValidationError(e,t,i){this.col=i,this.line=t,this.message=e}var EventTarget=parserlib.util.EventTarget,TokenStreamBase=parserlib.util.TokenStreamBase,StringReader=parserlib.util.StringReader,SyntaxError=parserlib.util.SyntaxError,SyntaxUnit=parserlib.util.SyntaxUnit,Colors={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgrey:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",grey:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370d8",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#d87093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32",activeBorder:"Active window border.",activecaption:"Active window caption.",appworkspace:"Background color of multiple document interface.",background:"Desktop background.",buttonface:"The face background color for 3-D elements that appear 3-D due to one layer of surrounding border.",buttonhighlight:"The color of the border facing the light source for 3-D elements that appear 3-D due to one layer of surrounding border.",buttonshadow:"The color of the border away from the light source for 3-D elements that appear 3-D due to one layer of surrounding border.",buttontext:"Text on push buttons.",captiontext:"Text in caption, size box, and scrollbar arrow box.",graytext:"Grayed (disabled) text. This color is set to #000 if the current display driver does not support a solid gray color.",greytext:"Greyed (disabled) text. This color is set to #000 if the current display driver does not support a solid grey color.",highlight:"Item(s) selected in a control.",highlighttext:"Text of item(s) selected in a control.",inactiveborder:"Inactive window border.",inactivecaption:"Inactive window caption.",inactivecaptiontext:"Color of text in an inactive caption.",infobackground:"Background color for tooltip controls.",infotext:"Text color for tooltip controls.",menu:"Menu background.",menutext:"Text in menus.",scrollbar:"Scroll bar gray area.",threeddarkshadow:"The color of the darker (generally outer) of the two borders away from the light source for 3-D elements that appear 3-D due to two concentric layers of surrounding border.",threedface:"The face background color for 3-D elements that appear 3-D due to two concentric layers of surrounding border.",threedhighlight:"The color of the lighter (generally outer) of the two borders facing the light source for 3-D elements that appear 3-D due to two concentric layers of surrounding border.",threedlightshadow:"The color of the darker (generally inner) of the two borders facing the light source for 3-D elements that appear 3-D due to two concentric layers of surrounding border.",threedshadow:"The color of the lighter (generally inner) of the two borders away from the light source for 3-D elements that appear 3-D due to two concentric layers of surrounding border.",window:"Window background.",windowframe:"Window frame.",windowtext:"Text in windows."};
|
5 |
Combinator.prototype=new SyntaxUnit,Combinator.prototype.constructor=Combinator,MediaFeature.prototype=new SyntaxUnit,MediaFeature.prototype.constructor=MediaFeature,MediaQuery.prototype=new SyntaxUnit,MediaQuery.prototype.constructor=MediaQuery,Parser.DEFAULT_TYPE=0,Parser.COMBINATOR_TYPE=1,Parser.MEDIA_FEATURE_TYPE=2,Parser.MEDIA_QUERY_TYPE=3,Parser.PROPERTY_NAME_TYPE=4,Parser.PROPERTY_VALUE_TYPE=5,Parser.PROPERTY_VALUE_PART_TYPE=6,Parser.SELECTOR_TYPE=7,Parser.SELECTOR_PART_TYPE=8,Parser.SELECTOR_SUB_PART_TYPE=9,Parser.prototype=function(){var e,t=new EventTarget,i={constructor:Parser,DEFAULT_TYPE:0,COMBINATOR_TYPE:1,MEDIA_FEATURE_TYPE:2,MEDIA_QUERY_TYPE:3,PROPERTY_NAME_TYPE:4,PROPERTY_VALUE_TYPE:5,PROPERTY_VALUE_PART_TYPE:6,SELECTOR_TYPE:7,SELECTOR_PART_TYPE:8,SELECTOR_SUB_PART_TYPE:9,_stylesheet:function(){var e,t,i,n=this._tokenStream;for(this.fire("startstylesheet"),this._charset(),this._skipCruft();n.peek()==Tokens.IMPORT_SYM;)this._import(),this._skipCruft();for(;n.peek()==Tokens.NAMESPACE_SYM;)this._namespace(),this._skipCruft();for(i=n.peek();i>Tokens.EOF;){try{switch(i){case Tokens.MEDIA_SYM:this._media(),this._skipCruft();break;case Tokens.PAGE_SYM:this._page(),this._skipCruft();break;case Tokens.FONT_FACE_SYM:this._font_face(),this._skipCruft();break;case Tokens.KEYFRAMES_SYM:this._keyframes(),this._skipCruft();break;case Tokens.VIEWPORT_SYM:this._viewport(),this._skipCruft();break;case Tokens.UNKNOWN_SYM:if(n.get(),this.options.strict)throw new SyntaxError("Unknown @ rule.",n.LT(0).startLine,n.LT(0).startCol);for(this.fire({type:"error",error:null,message:"Unknown @ rule: "+n.LT(0).value+".",line:n.LT(0).startLine,col:n.LT(0).startCol}),e=0;n.advance([Tokens.LBRACE,Tokens.RBRACE])==Tokens.LBRACE;)e++;for(;e;)n.advance([Tokens.RBRACE]),e--;break;case Tokens.S:this._readWhitespace();break;default:if(!this._ruleset())switch(i){case Tokens.CHARSET_SYM:throw t=n.LT(1),this._charset(!1),new SyntaxError("@charset not allowed here.",t.startLine,t.startCol);case Tokens.IMPORT_SYM:throw t=n.LT(1),this._import(!1),new SyntaxError("@import not allowed here.",t.startLine,t.startCol);case Tokens.NAMESPACE_SYM:throw t=n.LT(1),this._namespace(!1),new SyntaxError("@namespace not allowed here.",t.startLine,t.startCol);default:n.get(),this._unexpectedToken(n.token())}}}catch(r){if(!(r instanceof SyntaxError)||this.options.strict)throw r;this.fire({type:"error",error:r,message:r.message,line:r.line,col:r.col})}i=n.peek()}i!=Tokens.EOF&&this._unexpectedToken(n.token()),this.fire("endstylesheet")},_charset:function(e){var t,i,n,r,o=this._tokenStream;o.match(Tokens.CHARSET_SYM)&&(n=o.token().startLine,r=o.token().startCol,this._readWhitespace(),o.mustMatch(Tokens.STRING),i=o.token(),t=i.value,this._readWhitespace(),o.mustMatch(Tokens.SEMICOLON),e!==!1&&this.fire({type:"charset",charset:t,line:n,col:r}))},_import:function(e){var t,i,n=this._tokenStream,r=[];n.mustMatch(Tokens.IMPORT_SYM),i=n.token(),this._readWhitespace(),n.mustMatch([Tokens.STRING,Tokens.URI]),t=n.token().value.replace(/^(?:url\()?["']?([^"']+?)["']?\)?$/,"$1"),this._readWhitespace(),r=this._media_query_list(),n.mustMatch(Tokens.SEMICOLON),this._readWhitespace(),e!==!1&&this.fire({type:"import",uri:t,media:r,line:i.startLine,col:i.startCol})},_namespace:function(e){var t,i,n,r,o=this._tokenStream;o.mustMatch(Tokens.NAMESPACE_SYM),t=o.token().startLine,i=o.token().startCol,this._readWhitespace(),o.match(Tokens.IDENT)&&(n=o.token().value,this._readWhitespace()),o.mustMatch([Tokens.STRING,Tokens.URI]),r=o.token().value.replace(/(?:url\()?["']([^"']+)["']\)?/,"$1"),this._readWhitespace(),o.mustMatch(Tokens.SEMICOLON),this._readWhitespace(),e!==!1&&this.fire({type:"namespace",prefix:n,uri:r,line:t,col:i})},_media:function(){var e,t,i,n=this._tokenStream;for(n.mustMatch(Tokens.MEDIA_SYM),e=n.token().startLine,t=n.token().startCol,this._readWhitespace(),i=this._media_query_list(),n.mustMatch(Tokens.LBRACE),this._readWhitespace(),this.fire({type:"startmedia",media:i,line:e,col:t});;)if(n.peek()==Tokens.PAGE_SYM)this._page();else if(n.peek()==Tokens.FONT_FACE_SYM)this._font_face();else if(n.peek()==Tokens.VIEWPORT_SYM)this._viewport();else if(!this._ruleset())break;n.mustMatch(Tokens.RBRACE),this._readWhitespace(),this.fire({type:"endmedia",media:i,line:e,col:t})},_media_query_list:function(){var e=this._tokenStream,t=[];for(this._readWhitespace(),(e.peek()==Tokens.IDENT||e.peek()==Tokens.LPAREN)&&t.push(this._media_query());e.match(Tokens.COMMA);)this._readWhitespace(),t.push(this._media_query());return t},_media_query:function(){var e=this._tokenStream,t=null,i=null,n=null,r=[];if(e.match(Tokens.IDENT)&&(i=e.token().value.toLowerCase(),"only"!=i&&"not"!=i?(e.unget(),i=null):n=e.token()),this._readWhitespace(),e.peek()==Tokens.IDENT?(t=this._media_type(),null===n&&(n=e.token())):e.peek()==Tokens.LPAREN&&(null===n&&(n=e.LT(1)),r.push(this._media_expression())),null===t&&0===r.length)return null;for(this._readWhitespace();e.match(Tokens.IDENT);)"and"!=e.token().value.toLowerCase()&&this._unexpectedToken(e.token()),this._readWhitespace(),r.push(this._media_expression());return new MediaQuery(i,t,r,n.startLine,n.startCol)},_media_type:function(){return this._media_feature()},_media_expression:function(){var e,t=this._tokenStream,i=null,n=null;return t.mustMatch(Tokens.LPAREN),i=this._media_feature(),this._readWhitespace(),t.match(Tokens.COLON)&&(this._readWhitespace(),e=t.LT(1),n=this._expression()),t.mustMatch(Tokens.RPAREN),this._readWhitespace(),new MediaFeature(i,n?new SyntaxUnit(n,e.startLine,e.startCol):null)},_media_feature:function(){var e=this._tokenStream;return e.mustMatch(Tokens.IDENT),SyntaxUnit.fromToken(e.token())},_page:function(){var e,t,i=this._tokenStream,n=null,r=null;i.mustMatch(Tokens.PAGE_SYM),e=i.token().startLine,t=i.token().startCol,this._readWhitespace(),i.match(Tokens.IDENT)&&(n=i.token().value,"auto"===n.toLowerCase()&&this._unexpectedToken(i.token())),i.peek()==Tokens.COLON&&(r=this._pseudo_page()),this._readWhitespace(),this.fire({type:"startpage",id:n,pseudo:r,line:e,col:t}),this._readDeclarations(!0,!0),this.fire({type:"endpage",id:n,pseudo:r,line:e,col:t})},_margin:function(){var e,t,i=this._tokenStream,n=this._margin_sym();return n?(e=i.token().startLine,t=i.token().startCol,this.fire({type:"startpagemargin",margin:n,line:e,col:t}),this._readDeclarations(!0),this.fire({type:"endpagemargin",margin:n,line:e,col:t}),!0):!1},_margin_sym:function(){var e=this._tokenStream;return e.match([Tokens.TOPLEFTCORNER_SYM,Tokens.TOPLEFT_SYM,Tokens.TOPCENTER_SYM,Tokens.TOPRIGHT_SYM,Tokens.TOPRIGHTCORNER_SYM,Tokens.BOTTOMLEFTCORNER_SYM,Tokens.BOTTOMLEFT_SYM,Tokens.BOTTOMCENTER_SYM,Tokens.BOTTOMRIGHT_SYM,Tokens.BOTTOMRIGHTCORNER_SYM,Tokens.LEFTTOP_SYM,Tokens.LEFTMIDDLE_SYM,Tokens.LEFTBOTTOM_SYM,Tokens.RIGHTTOP_SYM,Tokens.RIGHTMIDDLE_SYM,Tokens.RIGHTBOTTOM_SYM])?SyntaxUnit.fromToken(e.token()):null},_pseudo_page:function(){var e=this._tokenStream;return e.mustMatch(Tokens.COLON),e.mustMatch(Tokens.IDENT),e.token().value},_font_face:function(){var e,t,i=this._tokenStream;i.mustMatch(Tokens.FONT_FACE_SYM),e=i.token().startLine,t=i.token().startCol,this._readWhitespace(),this.fire({type:"startfontface",line:e,col:t}),this._readDeclarations(!0),this.fire({type:"endfontface",line:e,col:t})},_viewport:function(){var e,t,i=this._tokenStream;i.mustMatch(Tokens.VIEWPORT_SYM),e=i.token().startLine,t=i.token().startCol,this._readWhitespace(),this.fire({type:"startviewport",line:e,col:t}),this._readDeclarations(!0),this.fire({type:"endviewport",line:e,col:t})},_operator:function(e){var t=this._tokenStream,i=null;return(t.match([Tokens.SLASH,Tokens.COMMA])||e&&t.match([Tokens.PLUS,Tokens.STAR,Tokens.MINUS]))&&(i=t.token(),this._readWhitespace()),i?PropertyValuePart.fromToken(i):null},_combinator:function(){var e,t=this._tokenStream,i=null;return t.match([Tokens.PLUS,Tokens.GREATER,Tokens.TILDE])&&(e=t.token(),i=new Combinator(e.value,e.startLine,e.startCol),this._readWhitespace()),i},_unary_operator:function(){var e=this._tokenStream;return e.match([Tokens.MINUS,Tokens.PLUS])?e.token().value:null},_property:function(){var e,t,i,n,r=this._tokenStream,o=null,s=null;return r.peek()==Tokens.STAR&&this.options.starHack&&(r.get(),t=r.token(),s=t.value,i=t.startLine,n=t.startCol),r.match(Tokens.IDENT)&&(t=r.token(),e=t.value,"_"==e.charAt(0)&&this.options.underscoreHack&&(s="_",e=e.substring(1)),o=new PropertyName(e,s,i||t.startLine,n||t.startCol),this._readWhitespace()),o},_ruleset:function(){var e,t,i=this._tokenStream;try{t=this._selectors_group()}catch(n){if(!(n instanceof SyntaxError)||this.options.strict)throw n;if(this.fire({type:"error",error:n,message:n.message,line:n.line,col:n.col}),e=i.advance([Tokens.RBRACE]),e!=Tokens.RBRACE)throw n;return!0}return t&&(this.fire({type:"startrule",selectors:t,line:t[0].line,col:t[0].col}),this._readDeclarations(!0),this.fire({type:"endrule",selectors:t,line:t[0].line,col:t[0].col})),t},_selectors_group:function(){var e,t=this._tokenStream,i=[];if(e=this._selector(),null!==e)for(i.push(e);t.match(Tokens.COMMA);)this._readWhitespace(),e=this._selector(),null!==e?i.push(e):this._unexpectedToken(t.LT(1));return i.length?i:null},_selector:function(){var e=this._tokenStream,t=[],i=null,n=null,r=null;if(i=this._simple_selector_sequence(),null===i)return null;for(t.push(i);;)if(n=this._combinator(),null!==n)t.push(n),i=this._simple_selector_sequence(),null===i?this._unexpectedToken(e.LT(1)):t.push(i);else{if(!this._readWhitespace())break;r=new Combinator(e.token().value,e.token().startLine,e.token().startCol),n=this._combinator(),i=this._simple_selector_sequence(),null===i?null!==n&&this._unexpectedToken(e.LT(1)):(null!==n?t.push(n):t.push(r),t.push(i))}return new Selector(t,t[0].line,t[0].col)},_simple_selector_sequence:function(){var e,t,i=this._tokenStream,n=null,r=[],o="",s=[function(){return i.match(Tokens.HASH)?new SelectorSubPart(i.token().value,"id",i.token().startLine,i.token().startCol):null},this._class,this._attrib,this._pseudo,this._negation],a=0,l=s.length,c=null;for(e=i.LT(1).startLine,t=i.LT(1).startCol,n=this._type_selector(),n||(n=this._universal()),null!==n&&(o+=n);;){if(i.peek()===Tokens.S)break;for(;l>a&&null===c;)c=s[a++].call(this);if(null===c){if(""===o)return null;break}a=0,r.push(c),o+=""+c,c=null}return""!==o?new SelectorPart(n,r,o,e,t):null},_type_selector:function(){var e=this._tokenStream,t=this._namespace_prefix(),i=this._element_name();return i?(t&&(i.text=t+i.text,i.col-=t.length),i):(t&&(e.unget(),t.length>1&&e.unget()),null)},_class:function(){var e,t=this._tokenStream;return t.match(Tokens.DOT)?(t.mustMatch(Tokens.IDENT),e=t.token(),new SelectorSubPart("."+e.value,"class",e.startLine,e.startCol-1)):null},_element_name:function(){var e,t=this._tokenStream;return t.match(Tokens.IDENT)?(e=t.token(),new SelectorSubPart(e.value,"elementName",e.startLine,e.startCol)):null},_namespace_prefix:function(){var e=this._tokenStream,t="";return(e.LA(1)===Tokens.PIPE||e.LA(2)===Tokens.PIPE)&&(e.match([Tokens.IDENT,Tokens.STAR])&&(t+=e.token().value),e.mustMatch(Tokens.PIPE),t+="|"),t.length?t:null},_universal:function(){var e,t=this._tokenStream,i="";return e=this._namespace_prefix(),e&&(i+=e),t.match(Tokens.STAR)&&(i+="*"),i.length?i:null},_attrib:function(){var e,t,i=this._tokenStream,n=null;return i.match(Tokens.LBRACKET)?(t=i.token(),n=t.value,n+=this._readWhitespace(),e=this._namespace_prefix(),e&&(n+=e),i.mustMatch(Tokens.IDENT),n+=i.token().value,n+=this._readWhitespace(),i.match([Tokens.PREFIXMATCH,Tokens.SUFFIXMATCH,Tokens.SUBSTRINGMATCH,Tokens.EQUALS,Tokens.INCLUDES,Tokens.DASHMATCH])&&(n+=i.token().value,n+=this._readWhitespace(),i.mustMatch([Tokens.IDENT,Tokens.STRING]),n+=i.token().value,n+=this._readWhitespace()),i.mustMatch(Tokens.RBRACKET),new SelectorSubPart(n+"]","attribute",t.startLine,t.startCol)):null},_pseudo:function(){var e,t,i=this._tokenStream,n=null,r=":";return i.match(Tokens.COLON)&&(i.match(Tokens.COLON)&&(r+=":"),i.match(Tokens.IDENT)?(n=i.token().value,e=i.token().startLine,t=i.token().startCol-r.length):i.peek()==Tokens.FUNCTION&&(e=i.LT(1).startLine,t=i.LT(1).startCol-r.length,n=this._functional_pseudo()),n&&(n=new SelectorSubPart(r+n,"pseudo",e,t))),n},_functional_pseudo:function(){var e=this._tokenStream,t=null;return e.match(Tokens.FUNCTION)&&(t=e.token().value,t+=this._readWhitespace(),t+=this._expression(),e.mustMatch(Tokens.RPAREN),t+=")"),t},_expression:function(){for(var e=this._tokenStream,t="";e.match([Tokens.PLUS,Tokens.MINUS,Tokens.DIMENSION,Tokens.NUMBER,Tokens.STRING,Tokens.IDENT,Tokens.LENGTH,Tokens.FREQ,Tokens.ANGLE,Tokens.TIME,Tokens.RESOLUTION,Tokens.SLASH]);)t+=e.token().value,t+=this._readWhitespace();return t.length?t:null},_negation:function(){var e,t,i,n=this._tokenStream,r="",o=null;return n.match(Tokens.NOT)&&(r=n.token().value,e=n.token().startLine,t=n.token().startCol,r+=this._readWhitespace(),i=this._negation_arg(),r+=i,r+=this._readWhitespace(),n.match(Tokens.RPAREN),r+=n.token().value,o=new SelectorSubPart(r,"not",e,t),o.args.push(i)),o},_negation_arg:function(){var e,t,i,n=this._tokenStream,r=[this._type_selector,this._universal,function(){return n.match(Tokens.HASH)?new SelectorSubPart(n.token().value,"id",n.token().startLine,n.token().startCol):null},this._class,this._attrib,this._pseudo],o=null,s=0,a=r.length;for(e=n.LT(1).startLine,t=n.LT(1).startCol;a>s&&null===o;)o=r[s].call(this),s++;return null===o&&this._unexpectedToken(n.LT(1)),i="elementName"==o.type?new SelectorPart(o,[],""+o,e,t):new SelectorPart(null,[o],""+o,e,t)},_declaration:function(){var e=this._tokenStream,t=null,i=null,n=null,r=null,o="";if(t=this._property(),null!==t){e.mustMatch(Tokens.COLON),this._readWhitespace(),i=this._expr(),i&&0!==i.length||this._unexpectedToken(e.LT(1)),n=this._prio(),o=""+t,(this.options.starHack&&"*"==t.hack||this.options.underscoreHack&&"_"==t.hack)&&(o=t.text);try{this._validateProperty(o,i)}catch(s){r=s}return this.fire({type:"property",property:t,value:i,important:n,line:t.line,col:t.col,invalid:r}),!0}return!1},_prio:function(){var e=this._tokenStream,t=e.match(Tokens.IMPORTANT_SYM);return this._readWhitespace(),t},_expr:function(e){var t=(this._tokenStream,[]),i=null,n=null;if(i=this._term(e),null!==i)for(t.push(i);;){if(n=this._operator(e),n&&t.push(n),i=this._term(e),null===i)break;t.push(i)}return t.length>0?new PropertyValue(t,t[0].line,t[0].col):null},_term:function(e){var t,i,n,r=this._tokenStream,o=null,s=null,a=null;return o=this._unary_operator(),null!==o&&(i=r.token().startLine,n=r.token().startCol),r.peek()==Tokens.IE_FUNCTION&&this.options.ieFilters?(s=this._ie_function(),null===o&&(i=r.token().startLine,n=r.token().startCol)):e&&r.match([Tokens.LPAREN,Tokens.LBRACE,Tokens.LBRACKET])?(t=r.token(),a=t.endChar,s=t.value+this._expr(e).text,null===o&&(i=r.token().startLine,n=r.token().startCol),r.mustMatch(Tokens.type(a)),s+=a,this._readWhitespace()):r.match([Tokens.NUMBER,Tokens.PERCENTAGE,Tokens.LENGTH,Tokens.ANGLE,Tokens.TIME,Tokens.FREQ,Tokens.STRING,Tokens.IDENT,Tokens.URI,Tokens.UNICODE_RANGE])?(s=r.token().value,null===o&&(i=r.token().startLine,n=r.token().startCol),this._readWhitespace()):(t=this._hexcolor(),null===t?(null===o&&(i=r.LT(1).startLine,n=r.LT(1).startCol),null===s&&(s=r.LA(3)==Tokens.EQUALS&&this.options.ieFilters?this._ie_function():this._function())):(s=t.value,null===o&&(i=t.startLine,n=t.startCol))),null!==s?new PropertyValuePart(null!==o?o+s:s,i,n):null},_function:function(){var e,t=this._tokenStream,i=null,n=null;if(t.match(Tokens.FUNCTION)){if(i=t.token().value,this._readWhitespace(),n=this._expr(!0),i+=n,this.options.ieFilters&&t.peek()==Tokens.EQUALS)do for(this._readWhitespace()&&(i+=t.token().value),t.LA(0)==Tokens.COMMA&&(i+=t.token().value),t.match(Tokens.IDENT),i+=t.token().value,t.match(Tokens.EQUALS),i+=t.token().value,e=t.peek();e!=Tokens.COMMA&&e!=Tokens.S&&e!=Tokens.RPAREN;)t.get(),i+=t.token().value,e=t.peek();while(t.match([Tokens.COMMA,Tokens.S]));t.match(Tokens.RPAREN),i+=")",this._readWhitespace()}return i},_ie_function:function(){var e,t=this._tokenStream,i=null;if(t.match([Tokens.IE_FUNCTION,Tokens.FUNCTION])){i=t.token().value;do for(this._readWhitespace()&&(i+=t.token().value),t.LA(0)==Tokens.COMMA&&(i+=t.token().value),t.match(Tokens.IDENT),i+=t.token().value,t.match(Tokens.EQUALS),i+=t.token().value,e=t.peek();e!=Tokens.COMMA&&e!=Tokens.S&&e!=Tokens.RPAREN;)t.get(),i+=t.token().value,e=t.peek();while(t.match([Tokens.COMMA,Tokens.S]));t.match(Tokens.RPAREN),i+=")",this._readWhitespace()}return i},_hexcolor:function(){var e,t=this._tokenStream,i=null;if(t.match(Tokens.HASH)){if(i=t.token(),e=i.value,!/#[a-f0-9]{3,6}/i.test(e))throw new SyntaxError("Expected a hex color but found '"+e+"' at line "+i.startLine+", col "+i.startCol+".",i.startLine,i.startCol);this._readWhitespace()}return i},_keyframes:function(){var e,t,i,n=this._tokenStream,r="";for(n.mustMatch(Tokens.KEYFRAMES_SYM),e=n.token(),/^@\-([^\-]+)\-/.test(e.value)&&(r=RegExp.$1),this._readWhitespace(),i=this._keyframe_name(),this._readWhitespace(),n.mustMatch(Tokens.LBRACE),this.fire({type:"startkeyframes",name:i,prefix:r,line:e.startLine,col:e.startCol}),this._readWhitespace(),t=n.peek();t==Tokens.IDENT||t==Tokens.PERCENTAGE;)this._keyframe_rule(),this._readWhitespace(),t=n.peek();this.fire({type:"endkeyframes",name:i,prefix:r,line:e.startLine,col:e.startCol}),this._readWhitespace(),n.mustMatch(Tokens.RBRACE)},_keyframe_name:function(){var e=this._tokenStream;return e.mustMatch([Tokens.IDENT,Tokens.STRING]),SyntaxUnit.fromToken(e.token())},_keyframe_rule:function(){var e=(this._tokenStream,this._key_list());this.fire({type:"startkeyframerule",keys:e,line:e[0].line,col:e[0].col}),this._readDeclarations(!0),this.fire({type:"endkeyframerule",keys:e,line:e[0].line,col:e[0].col})},_key_list:function(){var e=this._tokenStream,t=[];for(t.push(this._key()),this._readWhitespace();e.match(Tokens.COMMA);)this._readWhitespace(),t.push(this._key()),this._readWhitespace();return t},_key:function(){var e,t=this._tokenStream;if(t.match(Tokens.PERCENTAGE))return SyntaxUnit.fromToken(t.token());if(t.match(Tokens.IDENT)){if(e=t.token(),/from|to/i.test(e.value))return SyntaxUnit.fromToken(e);t.unget()}this._unexpectedToken(t.LT(1))},_skipCruft:function(){for(;this._tokenStream.match([Tokens.S,Tokens.CDO,Tokens.CDC]););},_readDeclarations:function(e,t){var i,n=this._tokenStream;this._readWhitespace(),e&&n.mustMatch(Tokens.LBRACE),this._readWhitespace();try{for(;;){if(n.match(Tokens.SEMICOLON)||t&&this._margin());else{if(!this._declaration())break;if(!n.match(Tokens.SEMICOLON))break}this._readWhitespace()}n.mustMatch(Tokens.RBRACE),this._readWhitespace()}catch(r){if(!(r instanceof SyntaxError)||this.options.strict)throw r;if(this.fire({type:"error",error:r,message:r.message,line:r.line,col:r.col}),i=n.advance([Tokens.SEMICOLON,Tokens.RBRACE]),i==Tokens.SEMICOLON)this._readDeclarations(!1,t);else if(i!=Tokens.RBRACE)throw r}},_readWhitespace:function(){for(var e=this._tokenStream,t="";e.match(Tokens.S);)t+=e.token().value;return t},_unexpectedToken:function(e){throw new SyntaxError("Unexpected token '"+e.value+"' at line "+e.startLine+", col "+e.startCol+".",e.startLine,e.startCol)},_verifyEnd:function(){this._tokenStream.LA(1)!=Tokens.EOF&&this._unexpectedToken(this._tokenStream.LT(1))},_validateProperty:function(e,t){Validation.validate(e,t)},parse:function(e){this._tokenStream=new TokenStream(e,Tokens),this._stylesheet()},parseStyleSheet:function(e){return this.parse(e)},parseMediaQuery:function(e){this._tokenStream=new TokenStream(e,Tokens);var t=this._media_query();return this._verifyEnd(),t},parsePropertyValue:function(e){this._tokenStream=new TokenStream(e,Tokens),this._readWhitespace();var t=this._expr();return this._readWhitespace(),this._verifyEnd(),t},parseRule:function(e){this._tokenStream=new TokenStream(e,Tokens),this._readWhitespace();var t=this._ruleset();return this._readWhitespace(),this._verifyEnd(),t},parseSelector:function(e){this._tokenStream=new TokenStream(e,Tokens),this._readWhitespace();var t=this._selector();return this._readWhitespace(),this._verifyEnd(),t},parseStyleAttribute:function(e){e+="}",this._tokenStream=new TokenStream(e,Tokens),this._readDeclarations()}};for(e in i)i.hasOwnProperty(e)&&(t[e]=i[e]);return t}();var Properties={"align-items":"flex-start | flex-end | center | baseline | stretch","align-content":"flex-start | flex-end | center | space-between | space-around | stretch","align-self":"auto | flex-start | flex-end | center | baseline | stretch","-webkit-align-items":"flex-start | flex-end | center | baseline | stretch","-webkit-align-content":"flex-start | flex-end | center | space-between | space-around | stretch","-webkit-align-self":"auto | flex-start | flex-end | center | baseline | stretch","alignment-adjust":"auto | baseline | before-edge | text-before-edge | middle | central | after-edge | text-after-edge | ideographic | alphabetic | hanging | mathematical | <percentage> | <length>","alignment-baseline":"baseline | use-script | before-edge | text-before-edge | after-edge | text-after-edge | central | middle | ideographic | alphabetic | hanging | mathematical",animation:1,"animation-delay":{multi:"<time>",comma:!0},"animation-direction":{multi:"normal | alternate",comma:!0},"animation-duration":{multi:"<time>",comma:!0},"animation-fill-mode":{multi:"none | forwards | backwards | both",comma:!0},"animation-iteration-count":{multi:"<number> | infinite",comma:!0},"animation-name":{multi:"none | <ident>",comma:!0},"animation-play-state":{multi:"running | paused",comma:!0},"animation-timing-function":1,"-moz-animation-delay":{multi:"<time>",comma:!0},"-moz-animation-direction":{multi:"normal | alternate",comma:!0},"-moz-animation-duration":{multi:"<time>",comma:!0},"-moz-animation-iteration-count":{multi:"<number> | infinite",comma:!0},"-moz-animation-name":{multi:"none | <ident>",comma:!0},"-moz-animation-play-state":{multi:"running | paused",comma:!0},"-ms-animation-delay":{multi:"<time>",comma:!0},"-ms-animation-direction":{multi:"normal | alternate",comma:!0},"-ms-animation-duration":{multi:"<time>",comma:!0},"-ms-animation-iteration-count":{multi:"<number> | infinite",comma:!0},"-ms-animation-name":{multi:"none | <ident>",comma:!0},"-ms-animation-play-state":{multi:"running | paused",comma:!0},"-webkit-animation-delay":{multi:"<time>",comma:!0},"-webkit-animation-direction":{multi:"normal | alternate",comma:!0},"-webkit-animation-duration":{multi:"<time>",comma:!0},"-webkit-animation-fill-mode":{multi:"none | forwards | backwards | both",comma:!0},"-webkit-animation-iteration-count":{multi:"<number> | infinite",comma:!0},"-webkit-animation-name":{multi:"none | <ident>",comma:!0},"-webkit-animation-play-state":{multi:"running | paused",comma:!0},"-o-animation-delay":{multi:"<time>",comma:!0},"-o-animation-direction":{multi:"normal | alternate",comma:!0},"-o-animation-duration":{multi:"<time>",comma:!0},"-o-animation-iteration-count":{multi:"<number> | infinite",comma:!0},"-o-animation-name":{multi:"none | <ident>",comma:!0},"-o-animation-play-state":{multi:"running | paused",comma:!0},appearance:"icon | window | desktop | workspace | document | tooltip | dialog | button | push-button | hyperlink | radio-button | checkbox | menu-item | tab | menu | menubar | pull-down-menu | pop-up-menu | list-menu | radio-group | checkbox-group | outline-tree | range | field | combo-box | signature | password | normal | none | inherit",azimuth:function(e){var t,i="<angle> | leftwards | rightwards | inherit",n="left-side | far-left | left | center-left | center | center-right | right | far-right | right-side",r=!1,o=!1;if(ValidationTypes.isAny(e,i)||(ValidationTypes.isAny(e,"behind")&&(r=!0,o=!0),ValidationTypes.isAny(e,n)&&(o=!0,r||ValidationTypes.isAny(e,"behind"))),e.hasNext())throw t=e.next(),o?new ValidationError("Expected end of value but found '"+t+"'.",t.line,t.col):new ValidationError("Expected (<'azimuth'>) but found '"+t+"'.",t.line,t.col)},"backface-visibility":"visible | hidden",background:1,"background-attachment":{multi:"<attachment>",comma:!0},"background-clip":{multi:"<box>",comma:!0},"background-color":"<color> | inherit","background-image":{multi:"<bg-image>",comma:!0},"background-origin":{multi:"<box>",comma:!0},"background-position":{multi:"<bg-position>",comma:!0},"background-repeat":{multi:"<repeat-style>"},"background-size":{multi:"<bg-size>",comma:!0},"baseline-shift":"baseline | sub | super | <percentage> | <length>",behavior:1,binding:1,bleed:"<length>","bookmark-label":"<content> | <attr> | <string>","bookmark-level":"none | <integer>","bookmark-state":"open | closed","bookmark-target":"none | <uri> | <attr>",border:"<border-width> || <border-style> || <color>","border-bottom":"<border-width> || <border-style> || <color>","border-bottom-color":"<color> | inherit","border-bottom-left-radius":"<x-one-radius>","border-bottom-right-radius":"<x-one-radius>","border-bottom-style":"<border-style>","border-bottom-width":"<border-width>","border-collapse":"collapse | separate | inherit","border-color":{multi:"<color> | inherit",max:4},"border-image":1,"border-image-outset":{multi:"<length> | <number>",max:4},"border-image-repeat":{multi:"stretch | repeat | round",max:2},"border-image-slice":function(e){var t,i=!1,n="<number> | <percentage>",r=!1,o=0,s=4;for(ValidationTypes.isAny(e,"fill")&&(r=!0,i=!0);e.hasNext()&&s>o&&(i=ValidationTypes.isAny(e,n));)o++;if(r?i=!0:ValidationTypes.isAny(e,"fill"),e.hasNext())throw t=e.next(),i?new ValidationError("Expected end of value but found '"+t+"'.",t.line,t.col):new ValidationError("Expected ([<number> | <percentage>]{1,4} && fill?) but found '"+t+"'.",t.line,t.col)},"border-image-source":"<image> | none","border-image-width":{multi:"<length> | <percentage> | <number> | auto",max:4},"border-left":"<border-width> || <border-style> || <color>","border-left-color":"<color> | inherit","border-left-style":"<border-style>","border-left-width":"<border-width>","border-radius":function(e){for(var t,i=!1,n="<length> | <percentage> | inherit",r=!1,o=0,s=8;e.hasNext()&&s>o;){if(i=ValidationTypes.isAny(e,n),!i){if(!("/"==e.peek()&&o>0)||r)break;r=!0,s=o+5,e.next()}o++}if(e.hasNext())throw t=e.next(),i?new ValidationError("Expected end of value but found '"+t+"'.",t.line,t.col):new ValidationError("Expected (<'border-radius'>) but found '"+t+"'.",t.line,t.col)},"border-right":"<border-width> || <border-style> || <color>","border-right-color":"<color> | inherit","border-right-style":"<border-style>","border-right-width":"<border-width>","border-spacing":{multi:"<length> | inherit",max:2},"border-style":{multi:"<border-style>",max:4},"border-top":"<border-width> || <border-style> || <color>","border-top-color":"<color> | inherit","border-top-left-radius":"<x-one-radius>","border-top-right-radius":"<x-one-radius>","border-top-style":"<border-style>","border-top-width":"<border-width>","border-width":{multi:"<border-width>",max:4},bottom:"<margin-width> | inherit","-moz-box-align":"start | end | center | baseline | stretch","-moz-box-decoration-break":"slice |clone","-moz-box-direction":"normal | reverse | inherit","-moz-box-flex":"<number>","-moz-box-flex-group":"<integer>","-moz-box-lines":"single | multiple","-moz-box-ordinal-group":"<integer>","-moz-box-orient":"horizontal | vertical | inline-axis | block-axis | inherit","-moz-box-pack":"start | end | center | justify","-webkit-box-align":"start | end | center | baseline | stretch","-webkit-box-decoration-break":"slice |clone","-webkit-box-direction":"normal | reverse | inherit","-webkit-box-flex":"<number>","-webkit-box-flex-group":"<integer>","-webkit-box-lines":"single | multiple","-webkit-box-ordinal-group":"<integer>","-webkit-box-orient":"horizontal | vertical | inline-axis | block-axis | inherit","-webkit-box-pack":"start | end | center | justify","box-shadow":function(e){var t;if(ValidationTypes.isAny(e,"none")){if(e.hasNext())throw t=e.next(),new ValidationError("Expected end of value but found '"+t+"'.",t.line,t.col)}else Validation.multiProperty("<shadow>",e,!0,1/0)},"box-sizing":"content-box | border-box | inherit","break-after":"auto | always | avoid | left | right | page | column | avoid-page | avoid-column","break-before":"auto | always | avoid | left | right | page | column | avoid-page | avoid-column","break-inside":"auto | avoid | avoid-page | avoid-column","caption-side":"top | bottom | inherit",clear:"none | right | left | both | inherit",clip:1,color:"<color> | inherit","color-profile":1,"column-count":"<integer> | auto","column-fill":"auto | balance","column-gap":"<length> | normal","column-rule":"<border-width> || <border-style> || <color>","column-rule-color":"<color>","column-rule-style":"<border-style>","column-rule-width":"<border-width>","column-span":"none | all","column-width":"<length> | auto",columns:1,content:1,"counter-increment":1,"counter-reset":1,crop:"<shape> | auto",cue:"cue-after | cue-before | inherit","cue-after":1,"cue-before":1,cursor:1,direction:"ltr | rtl | inherit",display:"inline | block | list-item | inline-block | table | inline-table | table-row-group | table-header-group | table-footer-group | table-row | table-column-group | table-column | table-cell | table-caption | grid | inline-grid | none | inherit | -moz-box | -moz-inline-block | -moz-inline-box | -moz-inline-grid | -moz-inline-stack | -moz-inline-table | -moz-grid | -moz-grid-group | -moz-grid-line | -moz-groupbox | -moz-deck | -moz-popup | -moz-stack | -moz-marker | -webkit-box | -webkit-inline-box | -ms-flexbox | -ms-inline-flexbox | flex | -webkit-flex | inline-flex | -webkit-inline-flex","dominant-baseline":1,"drop-initial-after-adjust":"central | middle | after-edge | text-after-edge | ideographic | alphabetic | mathematical | <percentage> | <length>","drop-initial-after-align":"baseline | use-script | before-edge | text-before-edge | after-edge | text-after-edge | central | middle | ideographic | alphabetic | hanging | mathematical","drop-initial-before-adjust":"before-edge | text-before-edge | central | middle | hanging | mathematical | <percentage> | <length>","drop-initial-before-align":"caps-height | baseline | use-script | before-edge | text-before-edge | after-edge | text-after-edge | central | middle | ideographic | alphabetic | hanging | mathematical","drop-initial-size":"auto | line | <length> | <percentage>","drop-initial-value":"initial | <integer>",elevation:"<angle> | below | level | above | higher | lower | inherit","empty-cells":"show | hide | inherit",filter:1,fit:"fill | hidden | meet | slice","fit-position":1,flex:"<flex>","flex-basis":"<width>","flex-direction":"row | row-reverse | column | column-reverse","flex-flow":"<flex-direction> || <flex-wrap>","flex-grow":"<number>","flex-shrink":"<number>","flex-wrap":"nowrap | wrap | wrap-reverse","-webkit-flex":"<flex>","-webkit-flex-basis":"<width>","-webkit-flex-direction":"row | row-reverse | column | column-reverse","-webkit-flex-flow":"<flex-direction> || <flex-wrap>","-webkit-flex-grow":"<number>","-webkit-flex-shrink":"<number>","-webkit-flex-wrap":"nowrap | wrap | wrap-reverse","-ms-flex":"<flex>","-ms-flex-align":"start | end | center | stretch | baseline","-ms-flex-direction":"row | row-reverse | column | column-reverse | inherit","-ms-flex-order":"<number>","-ms-flex-pack":"start | end | center | justify","-ms-flex-wrap":"nowrap | wrap | wrap-reverse","float":"left | right | none | inherit","float-offset":1,font:1,"font-family":1,"font-size":"<absolute-size> | <relative-size> | <length> | <percentage> | inherit","font-size-adjust":"<number> | none | inherit","font-stretch":"normal | ultra-condensed | extra-condensed | condensed | semi-condensed | semi-expanded | expanded | extra-expanded | ultra-expanded | inherit","font-style":"normal | italic | oblique | inherit","font-variant":"normal | small-caps | inherit","font-weight":"normal | bold | bolder | lighter | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | inherit","grid-cell-stacking":"columns | rows | layer","grid-column":1,"grid-columns":1,"grid-column-align":"start | end | center | stretch","grid-column-sizing":1,"grid-column-span":"<integer>","grid-flow":"none | rows | columns","grid-layer":"<integer>","grid-row":1,"grid-rows":1,"grid-row-align":"start | end | center | stretch","grid-row-span":"<integer>","grid-row-sizing":1,"hanging-punctuation":1,height:"<margin-width> | <content-sizing> | inherit","hyphenate-after":"<integer> | auto","hyphenate-before":"<integer> | auto","hyphenate-character":"<string> | auto","hyphenate-lines":"no-limit | <integer>","hyphenate-resource":1,hyphens:"none | manual | auto",icon:1,"image-orientation":"angle | auto","image-rendering":1,"image-resolution":1,"inline-box-align":"initial | last | <integer>","justify-content":"flex-start | flex-end | center | space-between | space-around","-webkit-justify-content":"flex-start | flex-end | center | space-between | space-around",left:"<margin-width> | inherit","letter-spacing":"<length> | normal | inherit","line-height":"<number> | <length> | <percentage> | normal | inherit","line-break":"auto | loose | normal | strict","line-stacking":1,"line-stacking-ruby":"exclude-ruby | include-ruby","line-stacking-shift":"consider-shifts | disregard-shifts","line-stacking-strategy":"inline-line-height | block-line-height | max-height | grid-height","list-style":1,"list-style-image":"<uri> | none | inherit","list-style-position":"inside | outside | inherit","list-style-type":"disc | circle | square | decimal | decimal-leading-zero | lower-roman | upper-roman | lower-greek | lower-latin | upper-latin | armenian | georgian | lower-alpha | upper-alpha | none | inherit",margin:{multi:"<margin-width> | inherit",max:4},"margin-bottom":"<margin-width> | inherit","margin-left":"<margin-width> | inherit","margin-right":"<margin-width> | inherit","margin-top":"<margin-width> | inherit",mark:1,"mark-after":1,"mark-before":1,marks:1,"marquee-direction":1,"marquee-play-count":1,"marquee-speed":1,"marquee-style":1,"max-height":"<length> | <percentage> | <content-sizing> | none | inherit","max-width":"<length> | <percentage> | <content-sizing> | none | inherit","min-height":"<length> | <percentage> | <content-sizing> | contain-floats | -moz-contain-floats | -webkit-contain-floats | inherit","min-width":"<length> | <percentage> | <content-sizing> | contain-floats | -moz-contain-floats | -webkit-contain-floats | inherit","move-to":1,"nav-down":1,"nav-index":1,"nav-left":1,"nav-right":1,"nav-up":1,opacity:"<number> | inherit",order:"<integer>","-webkit-order":"<integer>",orphans:"<integer> | inherit",outline:1,"outline-color":"<color> | invert | inherit","outline-offset":1,"outline-style":"<border-style> | inherit","outline-width":"<border-width> | inherit",overflow:"visible | hidden | scroll | auto | inherit","overflow-style":1,"overflow-wrap":"normal | break-word","overflow-x":1,"overflow-y":1,padding:{multi:"<padding-width> | inherit",max:4},"padding-bottom":"<padding-width> | inherit","padding-left":"<padding-width> | inherit","padding-right":"<padding-width> | inherit","padding-top":"<padding-width> | inherit",page:1,"page-break-after":"auto | always | avoid | left | right | inherit","page-break-before":"auto | always | avoid | left | right | inherit","page-break-inside":"auto | avoid | inherit","page-policy":1,pause:1,"pause-after":1,"pause-before":1,perspective:1,"perspective-origin":1,phonemes:1,pitch:1,"pitch-range":1,"play-during":1,"pointer-events":"auto | none | visiblePainted | visibleFill | visibleStroke | visible | painted | fill | stroke | all | inherit",position:"static | relative | absolute | fixed | inherit","presentation-level":1,"punctuation-trim":1,quotes:1,"rendering-intent":1,resize:1,rest:1,"rest-after":1,"rest-before":1,richness:1,right:"<margin-width> | inherit",rotation:1,"rotation-point":1,"ruby-align":1,"ruby-overhang":1,"ruby-position":1,"ruby-span":1,size:1,speak:"normal | none | spell-out | inherit","speak-header":"once | always | inherit","speak-numeral":"digits | continuous | inherit","speak-punctuation":"code | none | inherit","speech-rate":1,src:1,stress:1,"string-set":1,"table-layout":"auto | fixed | inherit","tab-size":"<integer> | <length>",target:1,"target-name":1,"target-new":1,"target-position":1,"text-align":"left | right | center | justify | inherit","text-align-last":1,"text-decoration":1,"text-emphasis":1,"text-height":1,"text-indent":"<length> | <percentage> | inherit","text-justify":"auto | none | inter-word | inter-ideograph | inter-cluster | distribute | kashida","text-outline":1,"text-overflow":1,"text-rendering":"auto | optimizeSpeed | optimizeLegibility | geometricPrecision | inherit","text-shadow":1,"text-transform":"capitalize | uppercase | lowercase | none | inherit","text-wrap":"normal | none | avoid",top:"<margin-width> | inherit","-ms-touch-action":"auto | none | pan-x | pan-y","touch-action":"auto | none | pan-x | pan-y",transform:1,"transform-origin":1,"transform-style":1,transition:1,"transition-delay":1,"transition-duration":1,"transition-property":1,"transition-timing-function":1,"unicode-bidi":"normal | embed | isolate | bidi-override | isolate-override | plaintext | inherit","user-modify":"read-only | read-write | write-only | inherit","user-select":"none | text | toggle | element | elements | all | inherit","vertical-align":"auto | use-script | baseline | sub | super | top | text-top | central | middle | bottom | text-bottom | <percentage> | <length>",visibility:"visible | hidden | collapse | inherit","voice-balance":1,"voice-duration":1,"voice-family":1,"voice-pitch":1,"voice-pitch-range":1,"voice-rate":1,"voice-stress":1,"voice-volume":1,volume:1,"white-space":"normal | pre | nowrap | pre-wrap | pre-line | inherit | -pre-wrap | -o-pre-wrap | -moz-pre-wrap | -hp-pre-wrap","white-space-collapse":1,widows:"<integer> | inherit",width:"<length> | <percentage> | <content-sizing> | auto | inherit","word-break":"normal | keep-all | break-all","word-spacing":"<length> | normal | inherit","word-wrap":"normal | break-word","writing-mode":"horizontal-tb | vertical-rl | vertical-lr | lr-tb | rl-tb | tb-rl | bt-rl | tb-lr | bt-lr | lr-bt | rl-bt | lr | rl | tb | inherit","z-index":"<integer> | auto | inherit",zoom:"<number> | <percentage> | normal"};
|
6 |
PropertyName.prototype=new SyntaxUnit,PropertyName.prototype.constructor=PropertyName,PropertyName.prototype.toString=function(){return(this.hack?this.hack:"")+this.text},PropertyValue.prototype=new SyntaxUnit,PropertyValue.prototype.constructor=PropertyValue,PropertyValueIterator.prototype.count=function(){return this._parts.length},PropertyValueIterator.prototype.isFirst=function(){return 0===this._i},PropertyValueIterator.prototype.hasNext=function(){return this._i<this._parts.length},PropertyValueIterator.prototype.mark=function(){this._marks.push(this._i)},PropertyValueIterator.prototype.peek=function(e){return this.hasNext()?this._parts[this._i+(e||0)]:null},PropertyValueIterator.prototype.next=function(){return this.hasNext()?this._parts[this._i++]:null},PropertyValueIterator.prototype.previous=function(){return this._i>0?this._parts[--this._i]:null},PropertyValueIterator.prototype.restore=function(){this._marks.length&&(this._i=this._marks.pop())},PropertyValuePart.prototype=new SyntaxUnit,PropertyValuePart.prototype.constructor=PropertyValuePart,PropertyV
|
1 |
+
/*! PopUp Free - v4.7.09
|
2 |
* https://wordpress.org/plugins/wordpress-popup/
|
3 |
+
* Copyright (c) 2015; * Licensed GPLv2+ */
|
4 |
"no use strict";(function(e){if(void 0===e.window||!e.document){e.console=function(){var e=Array.prototype.slice.call(arguments,0);postMessage({type:"log",data:e})},e.console.error=e.console.warn=e.console.log=e.console.trace=e.console,e.window=e,e.ace=e,e.onerror=function(e,t,i,n,r){postMessage({type:"error",data:{message:e,file:t,line:i,col:n,stack:r.stack}})},e.normalizeModule=function(t,i){if(-1!==i.indexOf("!")){var n=i.split("!");return e.normalizeModule(t,n[0])+"!"+e.normalizeModule(t,n[1])}if("."==i.charAt(0)){var r=t.split("/").slice(0,-1).join("/");for(i=(r?r+"/":"")+i;-1!==i.indexOf(".")&&o!=i;){var o=i;i=i.replace(/^\.\//,"").replace(/\/\.\//,"/").replace(/[^\/]+\/\.\.\//,"")}}return i},e.require=function(t,i){if(i||(i=t,t=null),!i.charAt)throw Error("worker.js require() accepts only (parentId, id) as arguments");i=e.normalizeModule(t,i);var n=e.require.modules[i];if(n)return n.initialized||(n.initialized=!0,n.exports=n.factory().exports),n.exports;var r=i.split("/");if(!e.require.tlns)return console.log("unable to load "+i);r[0]=e.require.tlns[r[0]]||r[0];var o=r.join("/")+".js";return e.require.id=i,importScripts(o),e.require(t,i)},e.require.modules={},e.require.tlns={},e.define=function(t,i,n){if(2==arguments.length?(n=i,"string"!=typeof t&&(i=t,t=e.require.id)):1==arguments.length&&(n=t,i=[],t=e.require.id),"function"!=typeof n)return e.require.modules[t]={exports:n,initialized:!0},void 0;i.length||(i=["require","exports","module"]);var r=function(i){return e.require(t,i)};e.require.modules[t]={exports:{},factory:function(){var e=this,t=n.apply(this,i.map(function(t){switch(t){case"require":return r;case"exports":return e.exports;case"module":return e;default:return r(t)}}));return t&&(e.exports=t),e}}},e.define.amd={},e.initBaseUrls=function t(e){require.tlns=e},e.initSender=function i(){var t=e.require("ace/lib/event_emitter").EventEmitter,i=e.require("ace/lib/oop"),n=function(){};return function(){i.implement(this,t),this.callback=function(e,t){postMessage({type:"call",id:t,data:e})},this.emit=function(e,t){postMessage({type:"event",name:e,data:t})}}.call(n.prototype),new n};var n=e.main=null,r=e.sender=null;e.onmessage=function(o){var s=o.data;if(s.command){if(!n[s.command])throw Error("Unknown command:"+s.command);n[s.command].apply(n,s.args)}else if(s.init){t(s.tlns),require("ace/lib/es5-shim"),r=e.sender=i();var a=require(s.module)[s.classname];n=e.main=new a(r)}else s.event&&r&&r._signal(s.event,s.data)}}})(this),ace.define("ace/lib/oop",["require","exports","module"],function(e,t){"use strict";t.inherits=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})},t.mixin=function(e,t){for(var i in t)e[i]=t[i];return e},t.implement=function(e,i){t.mixin(e,i)}}),ace.define("ace/lib/lang",["require","exports","module"],function(e,t){"use strict";t.last=function(e){return e[e.length-1]},t.stringReverse=function(e){return e.split("").reverse().join("")},t.stringRepeat=function(e,t){for(var i="";t>0;)1&t&&(i+=e),(t>>=1)&&(e+=e);return i};var i=/^\s\s*/,n=/\s\s*$/;t.stringTrimLeft=function(e){return e.replace(i,"")},t.stringTrimRight=function(e){return e.replace(n,"")},t.copyObject=function(e){var t={};for(var i in e)t[i]=e[i];return t},t.copyArray=function(e){for(var t=[],i=0,n=e.length;n>i;i++)t[i]=e[i]&&"object"==typeof e[i]?this.copyObject(e[i]):e[i];return t},t.deepCopy=function(e){if("object"!=typeof e||!e)return e;var i=e.constructor;if(i===RegExp)return e;var n=i();for(var r in e)n[r]="object"==typeof e[r]?t.deepCopy(e[r]):e[r];return n},t.arrayToMap=function(e){for(var t={},i=0;e.length>i;i++)t[e[i]]=1;return t},t.createMap=function(e){var t=Object.create(null);for(var i in e)t[i]=e[i];return t},t.arrayRemove=function(e,t){for(var i=0;e.length>=i;i++)t===e[i]&&e.splice(i,1)},t.escapeRegExp=function(e){return e.replace(/([.*+?^${}()|[\]\/\\])/g,"\\$1")},t.escapeHTML=function(e){return e.replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<")},t.getMatchOffsets=function(e,t){var i=[];return e.replace(t,function(e){i.push({offset:arguments[arguments.length-2],length:e.length})}),i},t.deferredCall=function(e){var t=null,i=function(){t=null,e()},n=function(e){return n.cancel(),t=setTimeout(i,e||0),n};return n.schedule=n,n.call=function(){return this.cancel(),e(),n},n.cancel=function(){return clearTimeout(t),t=null,n},n.isPending=function(){return t},n},t.delayedCall=function(e,t){var i=null,n=function(){i=null,e()},r=function(e){null==i&&(i=setTimeout(n,e||t))};return r.delay=function(e){i&&clearTimeout(i),i=setTimeout(n,e||t)},r.schedule=r,r.call=function(){this.cancel(),e()},r.cancel=function(){i&&clearTimeout(i),i=null},r.isPending=function(){return i},r}}),ace.define("ace/lib/event_emitter",["require","exports","module"],function(e,t){"use strict";var i={},n=function(){this.propagationStopped=!0},r=function(){this.defaultPrevented=!0};i._emit=i._dispatchEvent=function(e,t){this._eventRegistry||(this._eventRegistry={}),this._defaultHandlers||(this._defaultHandlers={});var i=this._eventRegistry[e]||[],o=this._defaultHandlers[e];if(i.length||o){"object"==typeof t&&t||(t={}),t.type||(t.type=e),t.stopPropagation||(t.stopPropagation=n),t.preventDefault||(t.preventDefault=r),i=i.slice();for(var s=0;i.length>s&&(i[s](t,this),!t.propagationStopped);s++);return o&&!t.defaultPrevented?o(t,this):void 0}},i._signal=function(e,t){var i=(this._eventRegistry||{})[e];if(i){i=i.slice();for(var n=0;i.length>n;n++)i[n](t,this)}},i.once=function(e,t){var i=this;t&&this.addEventListener(e,function n(){i.removeEventListener(e,n),t.apply(null,arguments)})},i.setDefaultHandler=function(e,t){var i=this._defaultHandlers;if(i||(i=this._defaultHandlers={_disabled_:{}}),i[e]){var n=i[e],r=i._disabled_[e];r||(i._disabled_[e]=r=[]),r.push(n);var o=r.indexOf(t);-1!=o&&r.splice(o,1)}i[e]=t},i.removeDefaultHandler=function(e,t){var i=this._defaultHandlers;if(i){var n=i._disabled_[e];if(i[e]==t)i[e],n&&this.setDefaultHandler(e,n.pop());else if(n){var r=n.indexOf(t);-1!=r&&n.splice(r,1)}}},i.on=i.addEventListener=function(e,t,i){this._eventRegistry=this._eventRegistry||{};var n=this._eventRegistry[e];return n||(n=this._eventRegistry[e]=[]),-1==n.indexOf(t)&&n[i?"unshift":"push"](t),t},i.off=i.removeListener=i.removeEventListener=function(e,t){this._eventRegistry=this._eventRegistry||{};var i=this._eventRegistry[e];if(i){var n=i.indexOf(t);-1!==n&&i.splice(n,1)}},i.removeAllListeners=function(e){this._eventRegistry&&(this._eventRegistry[e]=[])},t.EventEmitter=i}),ace.define("ace/range",["require","exports","module"],function(e,t){"use strict";var i=function(e,t){return e.row-t.row||e.column-t.column},n=function(e,t,i,n){this.start={row:e,column:t},this.end={row:i,column:n}};(function(){this.isEqual=function(e){return this.start.row===e.start.row&&this.end.row===e.end.row&&this.start.column===e.start.column&&this.end.column===e.end.column},this.toString=function(){return"Range: ["+this.start.row+"/"+this.start.column+"] -> ["+this.end.row+"/"+this.end.column+"]"},this.contains=function(e,t){return 0==this.compare(e,t)},this.compareRange=function(e){var t,i=e.end,n=e.start;return t=this.compare(i.row,i.column),1==t?(t=this.compare(n.row,n.column),1==t?2:0==t?1:0):-1==t?-2:(t=this.compare(n.row,n.column),-1==t?-1:1==t?42:0)},this.comparePoint=function(e){return this.compare(e.row,e.column)},this.containsRange=function(e){return 0==this.comparePoint(e.start)&&0==this.comparePoint(e.end)},this.intersects=function(e){var t=this.compareRange(e);return-1==t||0==t||1==t},this.isEnd=function(e,t){return this.end.row==e&&this.end.column==t},this.isStart=function(e,t){return this.start.row==e&&this.start.column==t},this.setStart=function(e,t){"object"==typeof e?(this.start.column=e.column,this.start.row=e.row):(this.start.row=e,this.start.column=t)},this.setEnd=function(e,t){"object"==typeof e?(this.end.column=e.column,this.end.row=e.row):(this.end.row=e,this.end.column=t)},this.inside=function(e,t){return 0==this.compare(e,t)?this.isEnd(e,t)||this.isStart(e,t)?!1:!0:!1},this.insideStart=function(e,t){return 0==this.compare(e,t)?this.isEnd(e,t)?!1:!0:!1},this.insideEnd=function(e,t){return 0==this.compare(e,t)?this.isStart(e,t)?!1:!0:!1},this.compare=function(e,t){return this.isMultiLine()||e!==this.start.row?this.start.row>e?-1:e>this.end.row?1:this.start.row===e?t>=this.start.column?0:-1:this.end.row===e?this.end.column>=t?0:1:0:this.start.column>t?-1:t>this.end.column?1:0},this.compareStart=function(e,t){return this.start.row==e&&this.start.column==t?-1:this.compare(e,t)},this.compareEnd=function(e,t){return this.end.row==e&&this.end.column==t?1:this.compare(e,t)},this.compareInside=function(e,t){return this.end.row==e&&this.end.column==t?1:this.start.row==e&&this.start.column==t?-1:this.compare(e,t)},this.clipRows=function(e,t){if(this.end.row>t)var i={row:t+1,column:0};else if(e>this.end.row)var i={row:e,column:0};if(this.start.row>t)var r={row:t+1,column:0};else if(e>this.start.row)var r={row:e,column:0};return n.fromPoints(r||this.start,i||this.end)},this.extend=function(e,t){var i=this.compare(e,t);if(0==i)return this;if(-1==i)var r={row:e,column:t};else var o={row:e,column:t};return n.fromPoints(r||this.start,o||this.end)},this.isEmpty=function(){return this.start.row===this.end.row&&this.start.column===this.end.column},this.isMultiLine=function(){return this.start.row!==this.end.row},this.clone=function(){return n.fromPoints(this.start,this.end)},this.collapseRows=function(){return 0==this.end.column?new n(this.start.row,0,Math.max(this.start.row,this.end.row-1),0):new n(this.start.row,0,this.end.row,0)},this.toScreenRange=function(e){var t=e.documentToScreenPosition(this.start),i=e.documentToScreenPosition(this.end);return new n(t.row,t.column,i.row,i.column)},this.moveBy=function(e,t){this.start.row+=e,this.start.column+=t,this.end.row+=e,this.end.column+=t}}).call(n.prototype),n.fromPoints=function(e,t){return new n(e.row,e.column,t.row,t.column)},n.comparePoints=i,n.comparePoints=function(e,t){return e.row-t.row||e.column-t.column},t.Range=n}),ace.define("ace/anchor",["require","exports","module","ace/lib/oop","ace/lib/event_emitter"],function(e,t){"use strict";var i=e("./lib/oop"),n=e("./lib/event_emitter").EventEmitter,r=t.Anchor=function(e,t,i){this.$onChange=this.onChange.bind(this),this.attach(e),i===void 0?this.setPosition(t.row,t.column):this.setPosition(t,i)};(function(){i.implement(this,n),this.getPosition=function(){return this.$clipPositionToDocument(this.row,this.column)},this.getDocument=function(){return this.document},this.$insertRight=!1,this.onChange=function(e){var t=e.data,i=t.range;if(!(i.start.row==i.end.row&&i.start.row!=this.row||i.start.row>this.row||i.start.row==this.row&&i.start.column>this.column)){var n=this.row,r=this.column,o=i.start,s=i.end;"insertText"===t.action?o.row===n&&r>=o.column?o.column===r&&this.$insertRight||(o.row===s.row?r+=s.column-o.column:(r-=o.column,n+=s.row-o.row)):o.row!==s.row&&n>o.row&&(n+=s.row-o.row):"insertLines"===t.action?o.row===n&&0===r&&this.$insertRight||n>=o.row&&(n+=s.row-o.row):"removeText"===t.action?o.row===n&&r>o.column?r=s.column>=r?o.column:Math.max(0,r-(s.column-o.column)):o.row!==s.row&&n>o.row?(s.row===n&&(r=Math.max(0,r-s.column)+o.column),n-=s.row-o.row):s.row===n&&(n-=s.row-o.row,r=Math.max(0,r-s.column)+o.column):"removeLines"==t.action&&n>=o.row&&(n>=s.row?n-=s.row-o.row:(n=o.row,r=0)),this.setPosition(n,r,!0)}},this.setPosition=function(e,t,i){var n;if(n=i?{row:e,column:t}:this.$clipPositionToDocument(e,t),this.row!=n.row||this.column!=n.column){var r={row:this.row,column:this.column};this.row=n.row,this.column=n.column,this._signal("change",{old:r,value:n})}},this.detach=function(){this.document.removeEventListener("change",this.$onChange)},this.attach=function(e){this.document=e||this.document,this.document.on("change",this.$onChange)},this.$clipPositionToDocument=function(e,t){var i={};return e>=this.document.getLength()?(i.row=Math.max(0,this.document.getLength()-1),i.column=this.document.getLine(i.row).length):0>e?(i.row=0,i.column=0):(i.row=e,i.column=Math.min(this.document.getLine(i.row).length,Math.max(0,t))),0>t&&(i.column=0),i}}).call(r.prototype)}),ace.define("ace/document",["require","exports","module","ace/lib/oop","ace/lib/event_emitter","ace/range","ace/anchor"],function(e,t){"use strict";var i=e("./lib/oop"),n=e("./lib/event_emitter").EventEmitter,r=e("./range").Range,o=e("./anchor").Anchor,s=function(e){this.$lines=[],0===e.length?this.$lines=[""]:Array.isArray(e)?this._insertLines(0,e):this.insert({row:0,column:0},e)};(function(){i.implement(this,n),this.setValue=function(e){var t=this.getLength();this.remove(new r(0,0,t,this.getLine(t-1).length)),this.insert({row:0,column:0},e)},this.getValue=function(){return this.getAllLines().join(this.getNewLineCharacter())},this.createAnchor=function(e,t){return new o(this,e,t)},this.$split=0==="aaa".split(/a/).length?function(e){return e.replace(/\r\n|\r/g,"\n").split("\n")}:function(e){return e.split(/\r\n|\r|\n/)},this.$detectNewLine=function(e){var t=e.match(/^.*?(\r\n|\r|\n)/m);this.$autoNewLine=t?t[1]:"\n",this._signal("changeNewLineMode")},this.getNewLineCharacter=function(){switch(this.$newLineMode){case"windows":return"\r\n";case"unix":return"\n";default:return this.$autoNewLine||"\n"}},this.$autoNewLine="",this.$newLineMode="auto",this.setNewLineMode=function(e){this.$newLineMode!==e&&(this.$newLineMode=e,this._signal("changeNewLineMode"))},this.getNewLineMode=function(){return this.$newLineMode},this.isNewLine=function(e){return"\r\n"==e||"\r"==e||"\n"==e},this.getLine=function(e){return this.$lines[e]||""},this.getLines=function(e,t){return this.$lines.slice(e,t+1)},this.getAllLines=function(){return this.getLines(0,this.getLength())},this.getLength=function(){return this.$lines.length},this.getTextRange=function(e){if(e.start.row==e.end.row)return this.getLine(e.start.row).substring(e.start.column,e.end.column);var t=this.getLines(e.start.row,e.end.row);t[0]=(t[0]||"").substring(e.start.column);var i=t.length-1;return e.end.row-e.start.row==i&&(t[i]=t[i].substring(0,e.end.column)),t.join(this.getNewLineCharacter())},this.$clipPosition=function(e){var t=this.getLength();return e.row>=t?(e.row=Math.max(0,t-1),e.column=this.getLine(t-1).length):0>e.row&&(e.row=0),e},this.insert=function(e,t){if(!t||0===t.length)return e;e=this.$clipPosition(e),1>=this.getLength()&&this.$detectNewLine(t);var i=this.$split(t),n=i.splice(0,1)[0],r=0==i.length?null:i.splice(i.length-1,1)[0];return e=this.insertInLine(e,n),null!==r&&(e=this.insertNewLine(e),e=this._insertLines(e.row,i),e=this.insertInLine(e,r||"")),e},this.insertLines=function(e,t){return e>=this.getLength()?this.insert({row:e,column:0},"\n"+t.join("\n")):this._insertLines(Math.max(e,0),t)},this._insertLines=function(e,t){if(0==t.length)return{row:e,column:0};for(;t.length>61440;){var i=this._insertLines(e,t.slice(0,61440));t=t.slice(61440),e=i.row}var n=[e,0];n.push.apply(n,t),this.$lines.splice.apply(this.$lines,n);var o=new r(e,0,e+t.length,0),s={action:"insertLines",range:o,lines:t};return this._signal("change",{data:s}),o.end},this.insertNewLine=function(e){e=this.$clipPosition(e);var t=this.$lines[e.row]||"";this.$lines[e.row]=t.substring(0,e.column),this.$lines.splice(e.row+1,0,t.substring(e.column,t.length));var i={row:e.row+1,column:0},n={action:"insertText",range:r.fromPoints(e,i),text:this.getNewLineCharacter()};return this._signal("change",{data:n}),i},this.insertInLine=function(e,t){if(0==t.length)return e;var i=this.$lines[e.row]||"";this.$lines[e.row]=i.substring(0,e.column)+t+i.substring(e.column);var n={row:e.row,column:e.column+t.length},o={action:"insertText",range:r.fromPoints(e,n),text:t};return this._signal("change",{data:o}),n},this.remove=function(e){if(e instanceof r||(e=r.fromPoints(e.start,e.end)),e.start=this.$clipPosition(e.start),e.end=this.$clipPosition(e.end),e.isEmpty())return e.start;var t=e.start.row,i=e.end.row;if(e.isMultiLine()){var n=0==e.start.column?t:t+1,o=i-1;e.end.column>0&&this.removeInLine(i,0,e.end.column),o>=n&&this._removeLines(n,o),n!=t&&(this.removeInLine(t,e.start.column,this.getLine(t).length),this.removeNewLine(e.start.row))}else this.removeInLine(t,e.start.column,e.end.column);return e.start},this.removeInLine=function(e,t,i){if(t!=i){var n=new r(e,t,e,i),o=this.getLine(e),s=o.substring(t,i),a=o.substring(0,t)+o.substring(i,o.length);this.$lines.splice(e,1,a);var l={action:"removeText",range:n,text:s};return this._signal("change",{data:l}),n.start}},this.removeLines=function(e,t){return 0>e||t>=this.getLength()?this.remove(new r(e,0,t+1,0)):this._removeLines(e,t)},this._removeLines=function(e,t){var i=new r(e,0,t+1,0),n=this.$lines.splice(e,t-e+1),o={action:"removeLines",range:i,nl:this.getNewLineCharacter(),lines:n};return this._signal("change",{data:o}),n},this.removeNewLine=function(e){var t=this.getLine(e),i=this.getLine(e+1),n=new r(e,t.length,e+1,0),o=t+i;this.$lines.splice(e,2,o);var s={action:"removeText",range:n,text:this.getNewLineCharacter()};this._signal("change",{data:s})},this.replace=function(e,t){if(e instanceof r||(e=r.fromPoints(e.start,e.end)),0==t.length&&e.isEmpty())return e.start;if(t==this.getTextRange(e))return e.end;if(this.remove(e),t)var i=this.insert(e.start,t);else i=e.start;return i},this.applyDeltas=function(e){for(var t=0;e.length>t;t++){var i=e[t],n=r.fromPoints(i.range.start,i.range.end);"insertLines"==i.action?this.insertLines(n.start.row,i.lines):"insertText"==i.action?this.insert(n.start,i.text):"removeLines"==i.action?this._removeLines(n.start.row,n.end.row-1):"removeText"==i.action&&this.remove(n)}},this.revertDeltas=function(e){for(var t=e.length-1;t>=0;t--){var i=e[t],n=r.fromPoints(i.range.start,i.range.end);"insertLines"==i.action?this._removeLines(n.start.row,n.end.row-1):"insertText"==i.action?this.remove(n):"removeLines"==i.action?this._insertLines(n.start.row,i.lines):"removeText"==i.action&&this.insert(n.start,i.text)}},this.indexToPosition=function(e,t){for(var i=this.$lines||this.getAllLines(),n=this.getNewLineCharacter().length,r=t||0,o=i.length;o>r;r++)if(e-=i[r].length+n,0>e)return{row:r,column:e+i[r].length+n};return{row:o-1,column:i[o-1].length}},this.positionToIndex=function(e,t){for(var i=this.$lines||this.getAllLines(),n=this.getNewLineCharacter().length,r=0,o=Math.min(e.row,i.length),s=t||0;o>s;++s)r+=i[s].length+n;return r+e.column}}).call(s.prototype),t.Document=s}),ace.define("ace/worker/mirror",["require","exports","module","ace/document","ace/lib/lang"],function(e,t){"use strict";var i=e("../document").Document,n=e("../lib/lang"),r=t.Mirror=function(e){this.sender=e;var t=this.doc=new i(""),r=this.deferredUpdate=n.delayedCall(this.onUpdate.bind(this)),o=this;e.on("change",function(e){return t.applyDeltas(e.data),o.$timeout?r.schedule(o.$timeout):(o.onUpdate(),void 0)})};(function(){this.$timeout=500,this.setTimeout=function(e){this.$timeout=e},this.setValue=function(e){this.doc.setValue(e),this.deferredUpdate.schedule(this.$timeout)},this.getValue=function(e){this.sender.callback(this.doc.getValue(),e)},this.onUpdate=function(){},this.isPending=function(){return this.deferredUpdate.isPending()}}).call(r.prototype)}),ace.define("ace/mode/css/csslint",["require","exports","module"],function(require,exports,module){function objectToString(e){return Object.prototype.toString.call(e)}function clone(e,t,i,n){function r(e,i){if(null===e)return null;if(0==i)return e;var l;if("object"!=typeof e)return e;if(util.isArray(e))l=[];else if(util.isRegExp(e))l=RegExp(e.source,util.getRegExpFlags(e)),e.lastIndex&&(l.lastIndex=e.lastIndex);else if(util.isDate(e))l=new Date(e.getTime());else{if(a&&Buffer.isBuffer(e))return l=new Buffer(e.length),e.copy(l),l;l=n===void 0?Object.create(Object.getPrototypeOf(e)):Object.create(n)}if(t){var c=o.indexOf(e);if(-1!=c)return s[c];o.push(e),s.push(l)}for(var h in e)l[h]=r(e[h],i-1);return l}var o=[],s=[],a="undefined"!=typeof Buffer;return t===void 0&&(t=!0),i===void 0&&(i=1/0),r(e,i)}function Reporter(e,t){this.messages=[],this.stats=[],this.lines=e,this.ruleset=t}var parserlib={};(function(){function e(){this._listeners={}}function t(e){this._input=e.replace(/\n\r?/g,"\n"),this._line=1,this._col=1,this._cursor=0}function i(e,t,i){this.col=i,this.line=t,this.message=e}function n(e,t,i,n){this.col=i,this.line=t,this.text=e,this.type=n}function r(e,i){this._reader=e?new t(""+e):null,this._token=null,this._tokenData=i,this._lt=[],this._ltIndex=0,this._ltIndexCache=[]}e.prototype={constructor:e,addListener:function(e,t){this._listeners[e]||(this._listeners[e]=[]),this._listeners[e].push(t)},fire:function(e){if("string"==typeof e&&(e={type:e}),e.target!==void 0&&(e.target=this),e.type===void 0)throw Error("Event object missing 'type' property.");if(this._listeners[e.type])for(var t=this._listeners[e.type].concat(),i=0,n=t.length;n>i;i++)t[i].call(this,e)},removeListener:function(e,t){if(this._listeners[e])for(var i=this._listeners[e],n=0,r=i.length;r>n;n++)if(i[n]===t){i.splice(n,1);break}}},t.prototype={constructor:t,getCol:function(){return this._col},getLine:function(){return this._line},eof:function(){return this._cursor==this._input.length},peek:function(e){var t=null;return e=e===void 0?1:e,this._cursor<this._input.length&&(t=this._input.charAt(this._cursor+e-1)),t},read:function(){var e=null;return this._cursor<this._input.length&&("\n"==this._input.charAt(this._cursor)?(this._line++,this._col=1):this._col++,e=this._input.charAt(this._cursor++)),e},mark:function(){this._bookmark={cursor:this._cursor,line:this._line,col:this._col}},reset:function(){this._bookmark&&(this._cursor=this._bookmark.cursor,this._line=this._bookmark.line,this._col=this._bookmark.col,delete this._bookmark)},readTo:function(e){for(var t,i="";i.length<e.length||i.lastIndexOf(e)!=i.length-e.length;){if(t=this.read(),!t)throw Error('Expected "'+e+'" at line '+this._line+", col "+this._col+".");i+=t}return i},readWhile:function(e){for(var t="",i=this.read();null!==i&&e(i);)t+=i,i=this.read();return t},readMatch:function(e){var t=this._input.substring(this._cursor),i=null;return"string"==typeof e?0===t.indexOf(e)&&(i=this.readCount(e.length)):e instanceof RegExp&&e.test(t)&&(i=this.readCount(RegExp.lastMatch.length)),i},readCount:function(e){for(var t="";e--;)t+=this.read();return t}},i.prototype=Error(),n.fromToken=function(e){return new n(e.value,e.startLine,e.startCol)},n.prototype={constructor:n,valueOf:function(){return this.text},toString:function(){return this.text}},r.createTokenData=function(e){var t=[],i={},n=e.concat([]),r=0,o=n.length+1;for(n.UNKNOWN=-1,n.unshift({name:"EOF"});o>r;r++)t.push(n[r].name),n[n[r].name]=r,n[r].text&&(i[n[r].text]=r);return n.name=function(e){return t[e]},n.type=function(e){return i[e]},n},r.prototype={constructor:r,match:function(e,t){e instanceof Array||(e=[e]);for(var i=this.get(t),n=0,r=e.length;r>n;)if(i==e[n++])return!0;return this.unget(),!1},mustMatch:function(e){var t;if(e instanceof Array||(e=[e]),!this.match.apply(this,arguments))throw t=this.LT(1),new i("Expected "+this._tokenData[e[0]].name+" at line "+t.startLine+", col "+t.startCol+".",t.startLine,t.startCol)},advance:function(e,t){for(;0!==this.LA(0)&&!this.match(e,t);)this.get();return this.LA(0)},get:function(e){var t,i,n=this._tokenData,r=(this._reader,0);if(n.length,this._lt.length&&this._ltIndex>=0&&this._ltIndex<this._lt.length){for(r++,this._token=this._lt[this._ltIndex++],i=n[this._token.type];void 0!==i.channel&&e!==i.channel&&this._ltIndex<this._lt.length;)this._token=this._lt[this._ltIndex++],i=n[this._token.type],r++;if((void 0===i.channel||e===i.channel)&&this._ltIndex<=this._lt.length)return this._ltIndexCache.push(r),this._token.type}return t=this._getToken(),t.type>-1&&!n[t.type].hide&&(t.channel=n[t.type].channel,this._token=t,this._lt.push(t),this._ltIndexCache.push(this._lt.length-this._ltIndex+r),this._lt.length>5&&this._lt.shift(),this._ltIndexCache.length>5&&this._ltIndexCache.shift(),this._ltIndex=this._lt.length),i=n[t.type],i&&(i.hide||void 0!==i.channel&&e!==i.channel)?this.get(e):t.type},LA:function(e){var t,i=e;if(e>0){if(e>5)throw Error("Too much lookahead.");for(;i;)t=this.get(),i--;for(;e>i;)this.unget(),i++}else if(0>e){if(!this._lt[this._ltIndex+e])throw Error("Too much lookbehind.");t=this._lt[this._ltIndex+e].type}else t=this._token.type;return t},LT:function(e){return this.LA(e),this._lt[this._ltIndex+e-1]},peek:function(){return this.LA(1)},token:function(){return this._token},tokenName:function(e){return 0>e||e>this._tokenData.length?"UNKNOWN_TOKEN":this._tokenData[e].name},tokenType:function(e){return this._tokenData[e]||-1},unget:function(){if(!this._ltIndexCache.length)throw Error("Too much lookahead.");this._ltIndex-=this._ltIndexCache.pop(),this._token=this._lt[this._ltIndex-1]}},parserlib.util={StringReader:t,SyntaxError:i,SyntaxUnit:n,EventTarget:e,TokenStreamBase:r}})(),function(){function Combinator(e,t,i){SyntaxUnit.call(this,e,t,i,Parser.COMBINATOR_TYPE),this.type="unknown",/^\s+$/.test(e)?this.type="descendant":">"==e?this.type="child":"+"==e?this.type="adjacent-sibling":"~"==e&&(this.type="sibling")}function MediaFeature(e,t){SyntaxUnit.call(this,"("+e+(null!==t?":"+t:"")+")",e.startLine,e.startCol,Parser.MEDIA_FEATURE_TYPE),this.name=e,this.value=t}function MediaQuery(e,t,i,n,r){SyntaxUnit.call(this,(e?e+" ":"")+(t?t:"")+(t&&i.length>0?" and ":"")+i.join(" and "),n,r,Parser.MEDIA_QUERY_TYPE),this.modifier=e,this.mediaType=t,this.features=i}function Parser(e){EventTarget.call(this),this.options=e||{},this._tokenStream=null}function PropertyName(e,t,i,n){SyntaxUnit.call(this,e,i,n,Parser.PROPERTY_NAME_TYPE),this.hack=t}function PropertyValue(e,t,i){SyntaxUnit.call(this,e.join(" "),t,i,Parser.PROPERTY_VALUE_TYPE),this.parts=e}function PropertyValueIterator(e){this._i=0,this._parts=e.parts,this._marks=[],this.value=e}function PropertyValuePart(text,line,col){SyntaxUnit.call(this,text,line,col,Parser.PROPERTY_VALUE_PART_TYPE),this.type="unknown";var temp;if(/^([+\-]?[\d\.]+)([a-z]+)$/i.test(text))switch(this.type="dimension",this.value=+RegExp.$1,this.units=RegExp.$2,this.units.toLowerCase()){case"em":case"rem":case"ex":case"px":case"cm":case"mm":case"in":case"pt":case"pc":case"ch":case"vh":case"vw":case"vmax":case"vmin":this.type="length";break;case"deg":case"rad":case"grad":this.type="angle";break;case"ms":case"s":this.type="time";break;case"hz":case"khz":this.type="frequency";break;case"dpi":case"dpcm":this.type="resolution"}else/^([+\-]?[\d\.]+)%$/i.test(text)?(this.type="percentage",this.value=+RegExp.$1):/^([+\-]?\d+)$/i.test(text)?(this.type="integer",this.value=+RegExp.$1):/^([+\-]?[\d\.]+)$/i.test(text)?(this.type="number",this.value=+RegExp.$1):/^#([a-f0-9]{3,6})/i.test(text)?(this.type="color",temp=RegExp.$1,3==temp.length?(this.red=parseInt(temp.charAt(0)+temp.charAt(0),16),this.green=parseInt(temp.charAt(1)+temp.charAt(1),16),this.blue=parseInt(temp.charAt(2)+temp.charAt(2),16)):(this.red=parseInt(temp.substring(0,2),16),this.green=parseInt(temp.substring(2,4),16),this.blue=parseInt(temp.substring(4,6),16))):/^rgb\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/i.test(text)?(this.type="color",this.red=+RegExp.$1,this.green=+RegExp.$2,this.blue=+RegExp.$3):/^rgb\(\s*(\d+)%\s*,\s*(\d+)%\s*,\s*(\d+)%\s*\)/i.test(text)?(this.type="color",this.red=255*+RegExp.$1/100,this.green=255*+RegExp.$2/100,this.blue=255*+RegExp.$3/100):/^rgba\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d\.]+)\s*\)/i.test(text)?(this.type="color",this.red=+RegExp.$1,this.green=+RegExp.$2,this.blue=+RegExp.$3,this.alpha=+RegExp.$4):/^rgba\(\s*(\d+)%\s*,\s*(\d+)%\s*,\s*(\d+)%\s*,\s*([\d\.]+)\s*\)/i.test(text)?(this.type="color",this.red=255*+RegExp.$1/100,this.green=255*+RegExp.$2/100,this.blue=255*+RegExp.$3/100,this.alpha=+RegExp.$4):/^hsl\(\s*(\d+)\s*,\s*(\d+)%\s*,\s*(\d+)%\s*\)/i.test(text)?(this.type="color",this.hue=+RegExp.$1,this.saturation=+RegExp.$2/100,this.lightness=+RegExp.$3/100):/^hsla\(\s*(\d+)\s*,\s*(\d+)%\s*,\s*(\d+)%\s*,\s*([\d\.]+)\s*\)/i.test(text)?(this.type="color",this.hue=+RegExp.$1,this.saturation=+RegExp.$2/100,this.lightness=+RegExp.$3/100,this.alpha=+RegExp.$4):/^url\(["']?([^\)"']+)["']?\)/i.test(text)?(this.type="uri",this.uri=RegExp.$1):/^([^\(]+)\(/i.test(text)?(this.type="function",this.name=RegExp.$1,this.value=text):/^["'][^"']*["']/.test(text)?(this.type="string",this.value=eval(text)):Colors[text.toLowerCase()]?(this.type="color",temp=Colors[text.toLowerCase()].substring(1),this.red=parseInt(temp.substring(0,2),16),this.green=parseInt(temp.substring(2,4),16),this.blue=parseInt(temp.substring(4,6),16)):/^[\,\/]$/.test(text)?(this.type="operator",this.value=text):/^[a-z\-_\u0080-\uFFFF][a-z0-9\-_\u0080-\uFFFF]*$/i.test(text)&&(this.type="identifier",this.value=text)}function Selector(e,t,i){SyntaxUnit.call(this,e.join(" "),t,i,Parser.SELECTOR_TYPE),this.parts=e,this.specificity=Specificity.calculate(this)}function SelectorPart(e,t,i,n,r){SyntaxUnit.call(this,i,n,r,Parser.SELECTOR_PART_TYPE),this.elementName=e,this.modifiers=t}function SelectorSubPart(e,t,i,n){SyntaxUnit.call(this,e,i,n,Parser.SELECTOR_SUB_PART_TYPE),this.type=t,this.args=[]}function Specificity(e,t,i,n){this.a=e,this.b=t,this.c=i,this.d=n}function isHexDigit(e){return null!==e&&h.test(e)}function isDigit(e){return null!==e&&/\d/.test(e)}function isWhitespace(e){return null!==e&&/\s/.test(e)}function isNewLine(e){return null!==e&&nl.test(e)}function isNameStart(e){return null!==e&&/[a-z_\u0080-\uFFFF\\]/i.test(e)}function isNameChar(e){return null!==e&&(isNameStart(e)||/[0-9\-\\]/.test(e))}function isIdentStart(e){return null!==e&&(isNameStart(e)||/\-\\/.test(e))}function mix(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);return e}function TokenStream(e){TokenStreamBase.call(this,e,Tokens)}function ValidationError(e,t,i){this.col=i,this.line=t,this.message=e}var EventTarget=parserlib.util.EventTarget,TokenStreamBase=parserlib.util.TokenStreamBase,StringReader=parserlib.util.StringReader,SyntaxError=parserlib.util.SyntaxError,SyntaxUnit=parserlib.util.SyntaxUnit,Colors={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgrey:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",grey:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370d8",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#d87093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32",activeBorder:"Active window border.",activecaption:"Active window caption.",appworkspace:"Background color of multiple document interface.",background:"Desktop background.",buttonface:"The face background color for 3-D elements that appear 3-D due to one layer of surrounding border.",buttonhighlight:"The color of the border facing the light source for 3-D elements that appear 3-D due to one layer of surrounding border.",buttonshadow:"The color of the border away from the light source for 3-D elements that appear 3-D due to one layer of surrounding border.",buttontext:"Text on push buttons.",captiontext:"Text in caption, size box, and scrollbar arrow box.",graytext:"Grayed (disabled) text. This color is set to #000 if the current display driver does not support a solid gray color.",greytext:"Greyed (disabled) text. This color is set to #000 if the current display driver does not support a solid grey color.",highlight:"Item(s) selected in a control.",highlighttext:"Text of item(s) selected in a control.",inactiveborder:"Inactive window border.",inactivecaption:"Inactive window caption.",inactivecaptiontext:"Color of text in an inactive caption.",infobackground:"Background color for tooltip controls.",infotext:"Text color for tooltip controls.",menu:"Menu background.",menutext:"Text in menus.",scrollbar:"Scroll bar gray area.",threeddarkshadow:"The color of the darker (generally outer) of the two borders away from the light source for 3-D elements that appear 3-D due to two concentric layers of surrounding border.",threedface:"The face background color for 3-D elements that appear 3-D due to two concentric layers of surrounding border.",threedhighlight:"The color of the lighter (generally outer) of the two borders facing the light source for 3-D elements that appear 3-D due to two concentric layers of surrounding border.",threedlightshadow:"The color of the darker (generally inner) of the two borders facing the light source for 3-D elements that appear 3-D due to two concentric layers of surrounding border.",threedshadow:"The color of the lighter (generally inner) of the two borders away from the light source for 3-D elements that appear 3-D due to two concentric layers of surrounding border.",window:"Window background.",windowframe:"Window frame.",windowtext:"Text in windows."};
|
5 |
Combinator.prototype=new SyntaxUnit,Combinator.prototype.constructor=Combinator,MediaFeature.prototype=new SyntaxUnit,MediaFeature.prototype.constructor=MediaFeature,MediaQuery.prototype=new SyntaxUnit,MediaQuery.prototype.constructor=MediaQuery,Parser.DEFAULT_TYPE=0,Parser.COMBINATOR_TYPE=1,Parser.MEDIA_FEATURE_TYPE=2,Parser.MEDIA_QUERY_TYPE=3,Parser.PROPERTY_NAME_TYPE=4,Parser.PROPERTY_VALUE_TYPE=5,Parser.PROPERTY_VALUE_PART_TYPE=6,Parser.SELECTOR_TYPE=7,Parser.SELECTOR_PART_TYPE=8,Parser.SELECTOR_SUB_PART_TYPE=9,Parser.prototype=function(){var e,t=new EventTarget,i={constructor:Parser,DEFAULT_TYPE:0,COMBINATOR_TYPE:1,MEDIA_FEATURE_TYPE:2,MEDIA_QUERY_TYPE:3,PROPERTY_NAME_TYPE:4,PROPERTY_VALUE_TYPE:5,PROPERTY_VALUE_PART_TYPE:6,SELECTOR_TYPE:7,SELECTOR_PART_TYPE:8,SELECTOR_SUB_PART_TYPE:9,_stylesheet:function(){var e,t,i,n=this._tokenStream;for(this.fire("startstylesheet"),this._charset(),this._skipCruft();n.peek()==Tokens.IMPORT_SYM;)this._import(),this._skipCruft();for(;n.peek()==Tokens.NAMESPACE_SYM;)this._namespace(),this._skipCruft();for(i=n.peek();i>Tokens.EOF;){try{switch(i){case Tokens.MEDIA_SYM:this._media(),this._skipCruft();break;case Tokens.PAGE_SYM:this._page(),this._skipCruft();break;case Tokens.FONT_FACE_SYM:this._font_face(),this._skipCruft();break;case Tokens.KEYFRAMES_SYM:this._keyframes(),this._skipCruft();break;case Tokens.VIEWPORT_SYM:this._viewport(),this._skipCruft();break;case Tokens.UNKNOWN_SYM:if(n.get(),this.options.strict)throw new SyntaxError("Unknown @ rule.",n.LT(0).startLine,n.LT(0).startCol);for(this.fire({type:"error",error:null,message:"Unknown @ rule: "+n.LT(0).value+".",line:n.LT(0).startLine,col:n.LT(0).startCol}),e=0;n.advance([Tokens.LBRACE,Tokens.RBRACE])==Tokens.LBRACE;)e++;for(;e;)n.advance([Tokens.RBRACE]),e--;break;case Tokens.S:this._readWhitespace();break;default:if(!this._ruleset())switch(i){case Tokens.CHARSET_SYM:throw t=n.LT(1),this._charset(!1),new SyntaxError("@charset not allowed here.",t.startLine,t.startCol);case Tokens.IMPORT_SYM:throw t=n.LT(1),this._import(!1),new SyntaxError("@import not allowed here.",t.startLine,t.startCol);case Tokens.NAMESPACE_SYM:throw t=n.LT(1),this._namespace(!1),new SyntaxError("@namespace not allowed here.",t.startLine,t.startCol);default:n.get(),this._unexpectedToken(n.token())}}}catch(r){if(!(r instanceof SyntaxError)||this.options.strict)throw r;this.fire({type:"error",error:r,message:r.message,line:r.line,col:r.col})}i=n.peek()}i!=Tokens.EOF&&this._unexpectedToken(n.token()),this.fire("endstylesheet")},_charset:function(e){var t,i,n,r,o=this._tokenStream;o.match(Tokens.CHARSET_SYM)&&(n=o.token().startLine,r=o.token().startCol,this._readWhitespace(),o.mustMatch(Tokens.STRING),i=o.token(),t=i.value,this._readWhitespace(),o.mustMatch(Tokens.SEMICOLON),e!==!1&&this.fire({type:"charset",charset:t,line:n,col:r}))},_import:function(e){var t,i,n=this._tokenStream,r=[];n.mustMatch(Tokens.IMPORT_SYM),i=n.token(),this._readWhitespace(),n.mustMatch([Tokens.STRING,Tokens.URI]),t=n.token().value.replace(/^(?:url\()?["']?([^"']+?)["']?\)?$/,"$1"),this._readWhitespace(),r=this._media_query_list(),n.mustMatch(Tokens.SEMICOLON),this._readWhitespace(),e!==!1&&this.fire({type:"import",uri:t,media:r,line:i.startLine,col:i.startCol})},_namespace:function(e){var t,i,n,r,o=this._tokenStream;o.mustMatch(Tokens.NAMESPACE_SYM),t=o.token().startLine,i=o.token().startCol,this._readWhitespace(),o.match(Tokens.IDENT)&&(n=o.token().value,this._readWhitespace()),o.mustMatch([Tokens.STRING,Tokens.URI]),r=o.token().value.replace(/(?:url\()?["']([^"']+)["']\)?/,"$1"),this._readWhitespace(),o.mustMatch(Tokens.SEMICOLON),this._readWhitespace(),e!==!1&&this.fire({type:"namespace",prefix:n,uri:r,line:t,col:i})},_media:function(){var e,t,i,n=this._tokenStream;for(n.mustMatch(Tokens.MEDIA_SYM),e=n.token().startLine,t=n.token().startCol,this._readWhitespace(),i=this._media_query_list(),n.mustMatch(Tokens.LBRACE),this._readWhitespace(),this.fire({type:"startmedia",media:i,line:e,col:t});;)if(n.peek()==Tokens.PAGE_SYM)this._page();else if(n.peek()==Tokens.FONT_FACE_SYM)this._font_face();else if(n.peek()==Tokens.VIEWPORT_SYM)this._viewport();else if(!this._ruleset())break;n.mustMatch(Tokens.RBRACE),this._readWhitespace(),this.fire({type:"endmedia",media:i,line:e,col:t})},_media_query_list:function(){var e=this._tokenStream,t=[];for(this._readWhitespace(),(e.peek()==Tokens.IDENT||e.peek()==Tokens.LPAREN)&&t.push(this._media_query());e.match(Tokens.COMMA);)this._readWhitespace(),t.push(this._media_query());return t},_media_query:function(){var e=this._tokenStream,t=null,i=null,n=null,r=[];if(e.match(Tokens.IDENT)&&(i=e.token().value.toLowerCase(),"only"!=i&&"not"!=i?(e.unget(),i=null):n=e.token()),this._readWhitespace(),e.peek()==Tokens.IDENT?(t=this._media_type(),null===n&&(n=e.token())):e.peek()==Tokens.LPAREN&&(null===n&&(n=e.LT(1)),r.push(this._media_expression())),null===t&&0===r.length)return null;for(this._readWhitespace();e.match(Tokens.IDENT);)"and"!=e.token().value.toLowerCase()&&this._unexpectedToken(e.token()),this._readWhitespace(),r.push(this._media_expression());return new MediaQuery(i,t,r,n.startLine,n.startCol)},_media_type:function(){return this._media_feature()},_media_expression:function(){var e,t=this._tokenStream,i=null,n=null;return t.mustMatch(Tokens.LPAREN),i=this._media_feature(),this._readWhitespace(),t.match(Tokens.COLON)&&(this._readWhitespace(),e=t.LT(1),n=this._expression()),t.mustMatch(Tokens.RPAREN),this._readWhitespace(),new MediaFeature(i,n?new SyntaxUnit(n,e.startLine,e.startCol):null)},_media_feature:function(){var e=this._tokenStream;return e.mustMatch(Tokens.IDENT),SyntaxUnit.fromToken(e.token())},_page:function(){var e,t,i=this._tokenStream,n=null,r=null;i.mustMatch(Tokens.PAGE_SYM),e=i.token().startLine,t=i.token().startCol,this._readWhitespace(),i.match(Tokens.IDENT)&&(n=i.token().value,"auto"===n.toLowerCase()&&this._unexpectedToken(i.token())),i.peek()==Tokens.COLON&&(r=this._pseudo_page()),this._readWhitespace(),this.fire({type:"startpage",id:n,pseudo:r,line:e,col:t}),this._readDeclarations(!0,!0),this.fire({type:"endpage",id:n,pseudo:r,line:e,col:t})},_margin:function(){var e,t,i=this._tokenStream,n=this._margin_sym();return n?(e=i.token().startLine,t=i.token().startCol,this.fire({type:"startpagemargin",margin:n,line:e,col:t}),this._readDeclarations(!0),this.fire({type:"endpagemargin",margin:n,line:e,col:t}),!0):!1},_margin_sym:function(){var e=this._tokenStream;return e.match([Tokens.TOPLEFTCORNER_SYM,Tokens.TOPLEFT_SYM,Tokens.TOPCENTER_SYM,Tokens.TOPRIGHT_SYM,Tokens.TOPRIGHTCORNER_SYM,Tokens.BOTTOMLEFTCORNER_SYM,Tokens.BOTTOMLEFT_SYM,Tokens.BOTTOMCENTER_SYM,Tokens.BOTTOMRIGHT_SYM,Tokens.BOTTOMRIGHTCORNER_SYM,Tokens.LEFTTOP_SYM,Tokens.LEFTMIDDLE_SYM,Tokens.LEFTBOTTOM_SYM,Tokens.RIGHTTOP_SYM,Tokens.RIGHTMIDDLE_SYM,Tokens.RIGHTBOTTOM_SYM])?SyntaxUnit.fromToken(e.token()):null},_pseudo_page:function(){var e=this._tokenStream;return e.mustMatch(Tokens.COLON),e.mustMatch(Tokens.IDENT),e.token().value},_font_face:function(){var e,t,i=this._tokenStream;i.mustMatch(Tokens.FONT_FACE_SYM),e=i.token().startLine,t=i.token().startCol,this._readWhitespace(),this.fire({type:"startfontface",line:e,col:t}),this._readDeclarations(!0),this.fire({type:"endfontface",line:e,col:t})},_viewport:function(){var e,t,i=this._tokenStream;i.mustMatch(Tokens.VIEWPORT_SYM),e=i.token().startLine,t=i.token().startCol,this._readWhitespace(),this.fire({type:"startviewport",line:e,col:t}),this._readDeclarations(!0),this.fire({type:"endviewport",line:e,col:t})},_operator:function(e){var t=this._tokenStream,i=null;return(t.match([Tokens.SLASH,Tokens.COMMA])||e&&t.match([Tokens.PLUS,Tokens.STAR,Tokens.MINUS]))&&(i=t.token(),this._readWhitespace()),i?PropertyValuePart.fromToken(i):null},_combinator:function(){var e,t=this._tokenStream,i=null;return t.match([Tokens.PLUS,Tokens.GREATER,Tokens.TILDE])&&(e=t.token(),i=new Combinator(e.value,e.startLine,e.startCol),this._readWhitespace()),i},_unary_operator:function(){var e=this._tokenStream;return e.match([Tokens.MINUS,Tokens.PLUS])?e.token().value:null},_property:function(){var e,t,i,n,r=this._tokenStream,o=null,s=null;return r.peek()==Tokens.STAR&&this.options.starHack&&(r.get(),t=r.token(),s=t.value,i=t.startLine,n=t.startCol),r.match(Tokens.IDENT)&&(t=r.token(),e=t.value,"_"==e.charAt(0)&&this.options.underscoreHack&&(s="_",e=e.substring(1)),o=new PropertyName(e,s,i||t.startLine,n||t.startCol),this._readWhitespace()),o},_ruleset:function(){var e,t,i=this._tokenStream;try{t=this._selectors_group()}catch(n){if(!(n instanceof SyntaxError)||this.options.strict)throw n;if(this.fire({type:"error",error:n,message:n.message,line:n.line,col:n.col}),e=i.advance([Tokens.RBRACE]),e!=Tokens.RBRACE)throw n;return!0}return t&&(this.fire({type:"startrule",selectors:t,line:t[0].line,col:t[0].col}),this._readDeclarations(!0),this.fire({type:"endrule",selectors:t,line:t[0].line,col:t[0].col})),t},_selectors_group:function(){var e,t=this._tokenStream,i=[];if(e=this._selector(),null!==e)for(i.push(e);t.match(Tokens.COMMA);)this._readWhitespace(),e=this._selector(),null!==e?i.push(e):this._unexpectedToken(t.LT(1));return i.length?i:null},_selector:function(){var e=this._tokenStream,t=[],i=null,n=null,r=null;if(i=this._simple_selector_sequence(),null===i)return null;for(t.push(i);;)if(n=this._combinator(),null!==n)t.push(n),i=this._simple_selector_sequence(),null===i?this._unexpectedToken(e.LT(1)):t.push(i);else{if(!this._readWhitespace())break;r=new Combinator(e.token().value,e.token().startLine,e.token().startCol),n=this._combinator(),i=this._simple_selector_sequence(),null===i?null!==n&&this._unexpectedToken(e.LT(1)):(null!==n?t.push(n):t.push(r),t.push(i))}return new Selector(t,t[0].line,t[0].col)},_simple_selector_sequence:function(){var e,t,i=this._tokenStream,n=null,r=[],o="",s=[function(){return i.match(Tokens.HASH)?new SelectorSubPart(i.token().value,"id",i.token().startLine,i.token().startCol):null},this._class,this._attrib,this._pseudo,this._negation],a=0,l=s.length,c=null;for(e=i.LT(1).startLine,t=i.LT(1).startCol,n=this._type_selector(),n||(n=this._universal()),null!==n&&(o+=n);;){if(i.peek()===Tokens.S)break;for(;l>a&&null===c;)c=s[a++].call(this);if(null===c){if(""===o)return null;break}a=0,r.push(c),o+=""+c,c=null}return""!==o?new SelectorPart(n,r,o,e,t):null},_type_selector:function(){var e=this._tokenStream,t=this._namespace_prefix(),i=this._element_name();return i?(t&&(i.text=t+i.text,i.col-=t.length),i):(t&&(e.unget(),t.length>1&&e.unget()),null)},_class:function(){var e,t=this._tokenStream;return t.match(Tokens.DOT)?(t.mustMatch(Tokens.IDENT),e=t.token(),new SelectorSubPart("."+e.value,"class",e.startLine,e.startCol-1)):null},_element_name:function(){var e,t=this._tokenStream;return t.match(Tokens.IDENT)?(e=t.token(),new SelectorSubPart(e.value,"elementName",e.startLine,e.startCol)):null},_namespace_prefix:function(){var e=this._tokenStream,t="";return(e.LA(1)===Tokens.PIPE||e.LA(2)===Tokens.PIPE)&&(e.match([Tokens.IDENT,Tokens.STAR])&&(t+=e.token().value),e.mustMatch(Tokens.PIPE),t+="|"),t.length?t:null},_universal:function(){var e,t=this._tokenStream,i="";return e=this._namespace_prefix(),e&&(i+=e),t.match(Tokens.STAR)&&(i+="*"),i.length?i:null},_attrib:function(){var e,t,i=this._tokenStream,n=null;return i.match(Tokens.LBRACKET)?(t=i.token(),n=t.value,n+=this._readWhitespace(),e=this._namespace_prefix(),e&&(n+=e),i.mustMatch(Tokens.IDENT),n+=i.token().value,n+=this._readWhitespace(),i.match([Tokens.PREFIXMATCH,Tokens.SUFFIXMATCH,Tokens.SUBSTRINGMATCH,Tokens.EQUALS,Tokens.INCLUDES,Tokens.DASHMATCH])&&(n+=i.token().value,n+=this._readWhitespace(),i.mustMatch([Tokens.IDENT,Tokens.STRING]),n+=i.token().value,n+=this._readWhitespace()),i.mustMatch(Tokens.RBRACKET),new SelectorSubPart(n+"]","attribute",t.startLine,t.startCol)):null},_pseudo:function(){var e,t,i=this._tokenStream,n=null,r=":";return i.match(Tokens.COLON)&&(i.match(Tokens.COLON)&&(r+=":"),i.match(Tokens.IDENT)?(n=i.token().value,e=i.token().startLine,t=i.token().startCol-r.length):i.peek()==Tokens.FUNCTION&&(e=i.LT(1).startLine,t=i.LT(1).startCol-r.length,n=this._functional_pseudo()),n&&(n=new SelectorSubPart(r+n,"pseudo",e,t))),n},_functional_pseudo:function(){var e=this._tokenStream,t=null;return e.match(Tokens.FUNCTION)&&(t=e.token().value,t+=this._readWhitespace(),t+=this._expression(),e.mustMatch(Tokens.RPAREN),t+=")"),t},_expression:function(){for(var e=this._tokenStream,t="";e.match([Tokens.PLUS,Tokens.MINUS,Tokens.DIMENSION,Tokens.NUMBER,Tokens.STRING,Tokens.IDENT,Tokens.LENGTH,Tokens.FREQ,Tokens.ANGLE,Tokens.TIME,Tokens.RESOLUTION,Tokens.SLASH]);)t+=e.token().value,t+=this._readWhitespace();return t.length?t:null},_negation:function(){var e,t,i,n=this._tokenStream,r="",o=null;return n.match(Tokens.NOT)&&(r=n.token().value,e=n.token().startLine,t=n.token().startCol,r+=this._readWhitespace(),i=this._negation_arg(),r+=i,r+=this._readWhitespace(),n.match(Tokens.RPAREN),r+=n.token().value,o=new SelectorSubPart(r,"not",e,t),o.args.push(i)),o},_negation_arg:function(){var e,t,i,n=this._tokenStream,r=[this._type_selector,this._universal,function(){return n.match(Tokens.HASH)?new SelectorSubPart(n.token().value,"id",n.token().startLine,n.token().startCol):null},this._class,this._attrib,this._pseudo],o=null,s=0,a=r.length;for(e=n.LT(1).startLine,t=n.LT(1).startCol;a>s&&null===o;)o=r[s].call(this),s++;return null===o&&this._unexpectedToken(n.LT(1)),i="elementName"==o.type?new SelectorPart(o,[],""+o,e,t):new SelectorPart(null,[o],""+o,e,t)},_declaration:function(){var e=this._tokenStream,t=null,i=null,n=null,r=null,o="";if(t=this._property(),null!==t){e.mustMatch(Tokens.COLON),this._readWhitespace(),i=this._expr(),i&&0!==i.length||this._unexpectedToken(e.LT(1)),n=this._prio(),o=""+t,(this.options.starHack&&"*"==t.hack||this.options.underscoreHack&&"_"==t.hack)&&(o=t.text);try{this._validateProperty(o,i)}catch(s){r=s}return this.fire({type:"property",property:t,value:i,important:n,line:t.line,col:t.col,invalid:r}),!0}return!1},_prio:function(){var e=this._tokenStream,t=e.match(Tokens.IMPORTANT_SYM);return this._readWhitespace(),t},_expr:function(e){var t=(this._tokenStream,[]),i=null,n=null;if(i=this._term(e),null!==i)for(t.push(i);;){if(n=this._operator(e),n&&t.push(n),i=this._term(e),null===i)break;t.push(i)}return t.length>0?new PropertyValue(t,t[0].line,t[0].col):null},_term:function(e){var t,i,n,r=this._tokenStream,o=null,s=null,a=null;return o=this._unary_operator(),null!==o&&(i=r.token().startLine,n=r.token().startCol),r.peek()==Tokens.IE_FUNCTION&&this.options.ieFilters?(s=this._ie_function(),null===o&&(i=r.token().startLine,n=r.token().startCol)):e&&r.match([Tokens.LPAREN,Tokens.LBRACE,Tokens.LBRACKET])?(t=r.token(),a=t.endChar,s=t.value+this._expr(e).text,null===o&&(i=r.token().startLine,n=r.token().startCol),r.mustMatch(Tokens.type(a)),s+=a,this._readWhitespace()):r.match([Tokens.NUMBER,Tokens.PERCENTAGE,Tokens.LENGTH,Tokens.ANGLE,Tokens.TIME,Tokens.FREQ,Tokens.STRING,Tokens.IDENT,Tokens.URI,Tokens.UNICODE_RANGE])?(s=r.token().value,null===o&&(i=r.token().startLine,n=r.token().startCol),this._readWhitespace()):(t=this._hexcolor(),null===t?(null===o&&(i=r.LT(1).startLine,n=r.LT(1).startCol),null===s&&(s=r.LA(3)==Tokens.EQUALS&&this.options.ieFilters?this._ie_function():this._function())):(s=t.value,null===o&&(i=t.startLine,n=t.startCol))),null!==s?new PropertyValuePart(null!==o?o+s:s,i,n):null},_function:function(){var e,t=this._tokenStream,i=null,n=null;if(t.match(Tokens.FUNCTION)){if(i=t.token().value,this._readWhitespace(),n=this._expr(!0),i+=n,this.options.ieFilters&&t.peek()==Tokens.EQUALS)do for(this._readWhitespace()&&(i+=t.token().value),t.LA(0)==Tokens.COMMA&&(i+=t.token().value),t.match(Tokens.IDENT),i+=t.token().value,t.match(Tokens.EQUALS),i+=t.token().value,e=t.peek();e!=Tokens.COMMA&&e!=Tokens.S&&e!=Tokens.RPAREN;)t.get(),i+=t.token().value,e=t.peek();while(t.match([Tokens.COMMA,Tokens.S]));t.match(Tokens.RPAREN),i+=")",this._readWhitespace()}return i},_ie_function:function(){var e,t=this._tokenStream,i=null;if(t.match([Tokens.IE_FUNCTION,Tokens.FUNCTION])){i=t.token().value;do for(this._readWhitespace()&&(i+=t.token().value),t.LA(0)==Tokens.COMMA&&(i+=t.token().value),t.match(Tokens.IDENT),i+=t.token().value,t.match(Tokens.EQUALS),i+=t.token().value,e=t.peek();e!=Tokens.COMMA&&e!=Tokens.S&&e!=Tokens.RPAREN;)t.get(),i+=t.token().value,e=t.peek();while(t.match([Tokens.COMMA,Tokens.S]));t.match(Tokens.RPAREN),i+=")",this._readWhitespace()}return i},_hexcolor:function(){var e,t=this._tokenStream,i=null;if(t.match(Tokens.HASH)){if(i=t.token(),e=i.value,!/#[a-f0-9]{3,6}/i.test(e))throw new SyntaxError("Expected a hex color but found '"+e+"' at line "+i.startLine+", col "+i.startCol+".",i.startLine,i.startCol);this._readWhitespace()}return i},_keyframes:function(){var e,t,i,n=this._tokenStream,r="";for(n.mustMatch(Tokens.KEYFRAMES_SYM),e=n.token(),/^@\-([^\-]+)\-/.test(e.value)&&(r=RegExp.$1),this._readWhitespace(),i=this._keyframe_name(),this._readWhitespace(),n.mustMatch(Tokens.LBRACE),this.fire({type:"startkeyframes",name:i,prefix:r,line:e.startLine,col:e.startCol}),this._readWhitespace(),t=n.peek();t==Tokens.IDENT||t==Tokens.PERCENTAGE;)this._keyframe_rule(),this._readWhitespace(),t=n.peek();this.fire({type:"endkeyframes",name:i,prefix:r,line:e.startLine,col:e.startCol}),this._readWhitespace(),n.mustMatch(Tokens.RBRACE)},_keyframe_name:function(){var e=this._tokenStream;return e.mustMatch([Tokens.IDENT,Tokens.STRING]),SyntaxUnit.fromToken(e.token())},_keyframe_rule:function(){var e=(this._tokenStream,this._key_list());this.fire({type:"startkeyframerule",keys:e,line:e[0].line,col:e[0].col}),this._readDeclarations(!0),this.fire({type:"endkeyframerule",keys:e,line:e[0].line,col:e[0].col})},_key_list:function(){var e=this._tokenStream,t=[];for(t.push(this._key()),this._readWhitespace();e.match(Tokens.COMMA);)this._readWhitespace(),t.push(this._key()),this._readWhitespace();return t},_key:function(){var e,t=this._tokenStream;if(t.match(Tokens.PERCENTAGE))return SyntaxUnit.fromToken(t.token());if(t.match(Tokens.IDENT)){if(e=t.token(),/from|to/i.test(e.value))return SyntaxUnit.fromToken(e);t.unget()}this._unexpectedToken(t.LT(1))},_skipCruft:function(){for(;this._tokenStream.match([Tokens.S,Tokens.CDO,Tokens.CDC]););},_readDeclarations:function(e,t){var i,n=this._tokenStream;this._readWhitespace(),e&&n.mustMatch(Tokens.LBRACE),this._readWhitespace();try{for(;;){if(n.match(Tokens.SEMICOLON)||t&&this._margin());else{if(!this._declaration())break;if(!n.match(Tokens.SEMICOLON))break}this._readWhitespace()}n.mustMatch(Tokens.RBRACE),this._readWhitespace()}catch(r){if(!(r instanceof SyntaxError)||this.options.strict)throw r;if(this.fire({type:"error",error:r,message:r.message,line:r.line,col:r.col}),i=n.advance([Tokens.SEMICOLON,Tokens.RBRACE]),i==Tokens.SEMICOLON)this._readDeclarations(!1,t);else if(i!=Tokens.RBRACE)throw r}},_readWhitespace:function(){for(var e=this._tokenStream,t="";e.match(Tokens.S);)t+=e.token().value;return t},_unexpectedToken:function(e){throw new SyntaxError("Unexpected token '"+e.value+"' at line "+e.startLine+", col "+e.startCol+".",e.startLine,e.startCol)},_verifyEnd:function(){this._tokenStream.LA(1)!=Tokens.EOF&&this._unexpectedToken(this._tokenStream.LT(1))},_validateProperty:function(e,t){Validation.validate(e,t)},parse:function(e){this._tokenStream=new TokenStream(e,Tokens),this._stylesheet()},parseStyleSheet:function(e){return this.parse(e)},parseMediaQuery:function(e){this._tokenStream=new TokenStream(e,Tokens);var t=this._media_query();return this._verifyEnd(),t},parsePropertyValue:function(e){this._tokenStream=new TokenStream(e,Tokens),this._readWhitespace();var t=this._expr();return this._readWhitespace(),this._verifyEnd(),t},parseRule:function(e){this._tokenStream=new TokenStream(e,Tokens),this._readWhitespace();var t=this._ruleset();return this._readWhitespace(),this._verifyEnd(),t},parseSelector:function(e){this._tokenStream=new TokenStream(e,Tokens),this._readWhitespace();var t=this._selector();return this._readWhitespace(),this._verifyEnd(),t},parseStyleAttribute:function(e){e+="}",this._tokenStream=new TokenStream(e,Tokens),this._readDeclarations()}};for(e in i)i.hasOwnProperty(e)&&(t[e]=i[e]);return t}();var Properties={"align-items":"flex-start | flex-end | center | baseline | stretch","align-content":"flex-start | flex-end | center | space-between | space-around | stretch","align-self":"auto | flex-start | flex-end | center | baseline | stretch","-webkit-align-items":"flex-start | flex-end | center | baseline | stretch","-webkit-align-content":"flex-start | flex-end | center | space-between | space-around | stretch","-webkit-align-self":"auto | flex-start | flex-end | center | baseline | stretch","alignment-adjust":"auto | baseline | before-edge | text-before-edge | middle | central | after-edge | text-after-edge | ideographic | alphabetic | hanging | mathematical | <percentage> | <length>","alignment-baseline":"baseline | use-script | before-edge | text-before-edge | after-edge | text-after-edge | central | middle | ideographic | alphabetic | hanging | mathematical",animation:1,"animation-delay":{multi:"<time>",comma:!0},"animation-direction":{multi:"normal | alternate",comma:!0},"animation-duration":{multi:"<time>",comma:!0},"animation-fill-mode":{multi:"none | forwards | backwards | both",comma:!0},"animation-iteration-count":{multi:"<number> | infinite",comma:!0},"animation-name":{multi:"none | <ident>",comma:!0},"animation-play-state":{multi:"running | paused",comma:!0},"animation-timing-function":1,"-moz-animation-delay":{multi:"<time>",comma:!0},"-moz-animation-direction":{multi:"normal | alternate",comma:!0},"-moz-animation-duration":{multi:"<time>",comma:!0},"-moz-animation-iteration-count":{multi:"<number> | infinite",comma:!0},"-moz-animation-name":{multi:"none | <ident>",comma:!0},"-moz-animation-play-state":{multi:"running | paused",comma:!0},"-ms-animation-delay":{multi:"<time>",comma:!0},"-ms-animation-direction":{multi:"normal | alternate",comma:!0},"-ms-animation-duration":{multi:"<time>",comma:!0},"-ms-animation-iteration-count":{multi:"<number> | infinite",comma:!0},"-ms-animation-name":{multi:"none | <ident>",comma:!0},"-ms-animation-play-state":{multi:"running | paused",comma:!0},"-webkit-animation-delay":{multi:"<time>",comma:!0},"-webkit-animation-direction":{multi:"normal | alternate",comma:!0},"-webkit-animation-duration":{multi:"<time>",comma:!0},"-webkit-animation-fill-mode":{multi:"none | forwards | backwards | both",comma:!0},"-webkit-animation-iteration-count":{multi:"<number> | infinite",comma:!0},"-webkit-animation-name":{multi:"none | <ident>",comma:!0},"-webkit-animation-play-state":{multi:"running | paused",comma:!0},"-o-animation-delay":{multi:"<time>",comma:!0},"-o-animation-direction":{multi:"normal | alternate",comma:!0},"-o-animation-duration":{multi:"<time>",comma:!0},"-o-animation-iteration-count":{multi:"<number> | infinite",comma:!0},"-o-animation-name":{multi:"none | <ident>",comma:!0},"-o-animation-play-state":{multi:"running | paused",comma:!0},appearance:"icon | window | desktop | workspace | document | tooltip | dialog | button | push-button | hyperlink | radio-button | checkbox | menu-item | tab | menu | menubar | pull-down-menu | pop-up-menu | list-menu | radio-group | checkbox-group | outline-tree | range | field | combo-box | signature | password | normal | none | inherit",azimuth:function(e){var t,i="<angle> | leftwards | rightwards | inherit",n="left-side | far-left | left | center-left | center | center-right | right | far-right | right-side",r=!1,o=!1;if(ValidationTypes.isAny(e,i)||(ValidationTypes.isAny(e,"behind")&&(r=!0,o=!0),ValidationTypes.isAny(e,n)&&(o=!0,r||ValidationTypes.isAny(e,"behind"))),e.hasNext())throw t=e.next(),o?new ValidationError("Expected end of value but found '"+t+"'.",t.line,t.col):new ValidationError("Expected (<'azimuth'>) but found '"+t+"'.",t.line,t.col)},"backface-visibility":"visible | hidden",background:1,"background-attachment":{multi:"<attachment>",comma:!0},"background-clip":{multi:"<box>",comma:!0},"background-color":"<color> | inherit","background-image":{multi:"<bg-image>",comma:!0},"background-origin":{multi:"<box>",comma:!0},"background-position":{multi:"<bg-position>",comma:!0},"background-repeat":{multi:"<repeat-style>"},"background-size":{multi:"<bg-size>",comma:!0},"baseline-shift":"baseline | sub | super | <percentage> | <length>",behavior:1,binding:1,bleed:"<length>","bookmark-label":"<content> | <attr> | <string>","bookmark-level":"none | <integer>","bookmark-state":"open | closed","bookmark-target":"none | <uri> | <attr>",border:"<border-width> || <border-style> || <color>","border-bottom":"<border-width> || <border-style> || <color>","border-bottom-color":"<color> | inherit","border-bottom-left-radius":"<x-one-radius>","border-bottom-right-radius":"<x-one-radius>","border-bottom-style":"<border-style>","border-bottom-width":"<border-width>","border-collapse":"collapse | separate | inherit","border-color":{multi:"<color> | inherit",max:4},"border-image":1,"border-image-outset":{multi:"<length> | <number>",max:4},"border-image-repeat":{multi:"stretch | repeat | round",max:2},"border-image-slice":function(e){var t,i=!1,n="<number> | <percentage>",r=!1,o=0,s=4;for(ValidationTypes.isAny(e,"fill")&&(r=!0,i=!0);e.hasNext()&&s>o&&(i=ValidationTypes.isAny(e,n));)o++;if(r?i=!0:ValidationTypes.isAny(e,"fill"),e.hasNext())throw t=e.next(),i?new ValidationError("Expected end of value but found '"+t+"'.",t.line,t.col):new ValidationError("Expected ([<number> | <percentage>]{1,4} && fill?) but found '"+t+"'.",t.line,t.col)},"border-image-source":"<image> | none","border-image-width":{multi:"<length> | <percentage> | <number> | auto",max:4},"border-left":"<border-width> || <border-style> || <color>","border-left-color":"<color> | inherit","border-left-style":"<border-style>","border-left-width":"<border-width>","border-radius":function(e){for(var t,i=!1,n="<length> | <percentage> | inherit",r=!1,o=0,s=8;e.hasNext()&&s>o;){if(i=ValidationTypes.isAny(e,n),!i){if(!("/"==e.peek()&&o>0)||r)break;r=!0,s=o+5,e.next()}o++}if(e.hasNext())throw t=e.next(),i?new ValidationError("Expected end of value but found '"+t+"'.",t.line,t.col):new ValidationError("Expected (<'border-radius'>) but found '"+t+"'.",t.line,t.col)},"border-right":"<border-width> || <border-style> || <color>","border-right-color":"<color> | inherit","border-right-style":"<border-style>","border-right-width":"<border-width>","border-spacing":{multi:"<length> | inherit",max:2},"border-style":{multi:"<border-style>",max:4},"border-top":"<border-width> || <border-style> || <color>","border-top-color":"<color> | inherit","border-top-left-radius":"<x-one-radius>","border-top-right-radius":"<x-one-radius>","border-top-style":"<border-style>","border-top-width":"<border-width>","border-width":{multi:"<border-width>",max:4},bottom:"<margin-width> | inherit","-moz-box-align":"start | end | center | baseline | stretch","-moz-box-decoration-break":"slice |clone","-moz-box-direction":"normal | reverse | inherit","-moz-box-flex":"<number>","-moz-box-flex-group":"<integer>","-moz-box-lines":"single | multiple","-moz-box-ordinal-group":"<integer>","-moz-box-orient":"horizontal | vertical | inline-axis | block-axis | inherit","-moz-box-pack":"start | end | center | justify","-webkit-box-align":"start | end | center | baseline | stretch","-webkit-box-decoration-break":"slice |clone","-webkit-box-direction":"normal | reverse | inherit","-webkit-box-flex":"<number>","-webkit-box-flex-group":"<integer>","-webkit-box-lines":"single | multiple","-webkit-box-ordinal-group":"<integer>","-webkit-box-orient":"horizontal | vertical | inline-axis | block-axis | inherit","-webkit-box-pack":"start | end | center | justify","box-shadow":function(e){var t;if(ValidationTypes.isAny(e,"none")){if(e.hasNext())throw t=e.next(),new ValidationError("Expected end of value but found '"+t+"'.",t.line,t.col)}else Validation.multiProperty("<shadow>",e,!0,1/0)},"box-sizing":"content-box | border-box | inherit","break-after":"auto | always | avoid | left | right | page | column | avoid-page | avoid-column","break-before":"auto | always | avoid | left | right | page | column | avoid-page | avoid-column","break-inside":"auto | avoid | avoid-page | avoid-column","caption-side":"top | bottom | inherit",clear:"none | right | left | both | inherit",clip:1,color:"<color> | inherit","color-profile":1,"column-count":"<integer> | auto","column-fill":"auto | balance","column-gap":"<length> | normal","column-rule":"<border-width> || <border-style> || <color>","column-rule-color":"<color>","column-rule-style":"<border-style>","column-rule-width":"<border-width>","column-span":"none | all","column-width":"<length> | auto",columns:1,content:1,"counter-increment":1,"counter-reset":1,crop:"<shape> | auto",cue:"cue-after | cue-before | inherit","cue-after":1,"cue-before":1,cursor:1,direction:"ltr | rtl | inherit",display:"inline | block | list-item | inline-block | table | inline-table | table-row-group | table-header-group | table-footer-group | table-row | table-column-group | table-column | table-cell | table-caption | grid | inline-grid | none | inherit | -moz-box | -moz-inline-block | -moz-inline-box | -moz-inline-grid | -moz-inline-stack | -moz-inline-table | -moz-grid | -moz-grid-group | -moz-grid-line | -moz-groupbox | -moz-deck | -moz-popup | -moz-stack | -moz-marker | -webkit-box | -webkit-inline-box | -ms-flexbox | -ms-inline-flexbox | flex | -webkit-flex | inline-flex | -webkit-inline-flex","dominant-baseline":1,"drop-initial-after-adjust":"central | middle | after-edge | text-after-edge | ideographic | alphabetic | mathematical | <percentage> | <length>","drop-initial-after-align":"baseline | use-script | before-edge | text-before-edge | after-edge | text-after-edge | central | middle | ideographic | alphabetic | hanging | mathematical","drop-initial-before-adjust":"before-edge | text-before-edge | central | middle | hanging | mathematical | <percentage> | <length>","drop-initial-before-align":"caps-height | baseline | use-script | before-edge | text-before-edge | after-edge | text-after-edge | central | middle | ideographic | alphabetic | hanging | mathematical","drop-initial-size":"auto | line | <length> | <percentage>","drop-initial-value":"initial | <integer>",elevation:"<angle> | below | level | above | higher | lower | inherit","empty-cells":"show | hide | inherit",filter:1,fit:"fill | hidden | meet | slice","fit-position":1,flex:"<flex>","flex-basis":"<width>","flex-direction":"row | row-reverse | column | column-reverse","flex-flow":"<flex-direction> || <flex-wrap>","flex-grow":"<number>","flex-shrink":"<number>","flex-wrap":"nowrap | wrap | wrap-reverse","-webkit-flex":"<flex>","-webkit-flex-basis":"<width>","-webkit-flex-direction":"row | row-reverse | column | column-reverse","-webkit-flex-flow":"<flex-direction> || <flex-wrap>","-webkit-flex-grow":"<number>","-webkit-flex-shrink":"<number>","-webkit-flex-wrap":"nowrap | wrap | wrap-reverse","-ms-flex":"<flex>","-ms-flex-align":"start | end | center | stretch | baseline","-ms-flex-direction":"row | row-reverse | column | column-reverse | inherit","-ms-flex-order":"<number>","-ms-flex-pack":"start | end | center | justify","-ms-flex-wrap":"nowrap | wrap | wrap-reverse","float":"left | right | none | inherit","float-offset":1,font:1,"font-family":1,"font-size":"<absolute-size> | <relative-size> | <length> | <percentage> | inherit","font-size-adjust":"<number> | none | inherit","font-stretch":"normal | ultra-condensed | extra-condensed | condensed | semi-condensed | semi-expanded | expanded | extra-expanded | ultra-expanded | inherit","font-style":"normal | italic | oblique | inherit","font-variant":"normal | small-caps | inherit","font-weight":"normal | bold | bolder | lighter | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | inherit","grid-cell-stacking":"columns | rows | layer","grid-column":1,"grid-columns":1,"grid-column-align":"start | end | center | stretch","grid-column-sizing":1,"grid-column-span":"<integer>","grid-flow":"none | rows | columns","grid-layer":"<integer>","grid-row":1,"grid-rows":1,"grid-row-align":"start | end | center | stretch","grid-row-span":"<integer>","grid-row-sizing":1,"hanging-punctuation":1,height:"<margin-width> | <content-sizing> | inherit","hyphenate-after":"<integer> | auto","hyphenate-before":"<integer> | auto","hyphenate-character":"<string> | auto","hyphenate-lines":"no-limit | <integer>","hyphenate-resource":1,hyphens:"none | manual | auto",icon:1,"image-orientation":"angle | auto","image-rendering":1,"image-resolution":1,"inline-box-align":"initial | last | <integer>","justify-content":"flex-start | flex-end | center | space-between | space-around","-webkit-justify-content":"flex-start | flex-end | center | space-between | space-around",left:"<margin-width> | inherit","letter-spacing":"<length> | normal | inherit","line-height":"<number> | <length> | <percentage> | normal | inherit","line-break":"auto | loose | normal | strict","line-stacking":1,"line-stacking-ruby":"exclude-ruby | include-ruby","line-stacking-shift":"consider-shifts | disregard-shifts","line-stacking-strategy":"inline-line-height | block-line-height | max-height | grid-height","list-style":1,"list-style-image":"<uri> | none | inherit","list-style-position":"inside | outside | inherit","list-style-type":"disc | circle | square | decimal | decimal-leading-zero | lower-roman | upper-roman | lower-greek | lower-latin | upper-latin | armenian | georgian | lower-alpha | upper-alpha | none | inherit",margin:{multi:"<margin-width> | inherit",max:4},"margin-bottom":"<margin-width> | inherit","margin-left":"<margin-width> | inherit","margin-right":"<margin-width> | inherit","margin-top":"<margin-width> | inherit",mark:1,"mark-after":1,"mark-before":1,marks:1,"marquee-direction":1,"marquee-play-count":1,"marquee-speed":1,"marquee-style":1,"max-height":"<length> | <percentage> | <content-sizing> | none | inherit","max-width":"<length> | <percentage> | <content-sizing> | none | inherit","min-height":"<length> | <percentage> | <content-sizing> | contain-floats | -moz-contain-floats | -webkit-contain-floats | inherit","min-width":"<length> | <percentage> | <content-sizing> | contain-floats | -moz-contain-floats | -webkit-contain-floats | inherit","move-to":1,"nav-down":1,"nav-index":1,"nav-left":1,"nav-right":1,"nav-up":1,opacity:"<number> | inherit",order:"<integer>","-webkit-order":"<integer>",orphans:"<integer> | inherit",outline:1,"outline-color":"<color> | invert | inherit","outline-offset":1,"outline-style":"<border-style> | inherit","outline-width":"<border-width> | inherit",overflow:"visible | hidden | scroll | auto | inherit","overflow-style":1,"overflow-wrap":"normal | break-word","overflow-x":1,"overflow-y":1,padding:{multi:"<padding-width> | inherit",max:4},"padding-bottom":"<padding-width> | inherit","padding-left":"<padding-width> | inherit","padding-right":"<padding-width> | inherit","padding-top":"<padding-width> | inherit",page:1,"page-break-after":"auto | always | avoid | left | right | inherit","page-break-before":"auto | always | avoid | left | right | inherit","page-break-inside":"auto | avoid | inherit","page-policy":1,pause:1,"pause-after":1,"pause-before":1,perspective:1,"perspective-origin":1,phonemes:1,pitch:1,"pitch-range":1,"play-during":1,"pointer-events":"auto | none | visiblePainted | visibleFill | visibleStroke | visible | painted | fill | stroke | all | inherit",position:"static | relative | absolute | fixed | inherit","presentation-level":1,"punctuation-trim":1,quotes:1,"rendering-intent":1,resize:1,rest:1,"rest-after":1,"rest-before":1,richness:1,right:"<margin-width> | inherit",rotation:1,"rotation-point":1,"ruby-align":1,"ruby-overhang":1,"ruby-position":1,"ruby-span":1,size:1,speak:"normal | none | spell-out | inherit","speak-header":"once | always | inherit","speak-numeral":"digits | continuous | inherit","speak-punctuation":"code | none | inherit","speech-rate":1,src:1,stress:1,"string-set":1,"table-layout":"auto | fixed | inherit","tab-size":"<integer> | <length>",target:1,"target-name":1,"target-new":1,"target-position":1,"text-align":"left | right | center | justify | inherit","text-align-last":1,"text-decoration":1,"text-emphasis":1,"text-height":1,"text-indent":"<length> | <percentage> | inherit","text-justify":"auto | none | inter-word | inter-ideograph | inter-cluster | distribute | kashida","text-outline":1,"text-overflow":1,"text-rendering":"auto | optimizeSpeed | optimizeLegibility | geometricPrecision | inherit","text-shadow":1,"text-transform":"capitalize | uppercase | lowercase | none | inherit","text-wrap":"normal | none | avoid",top:"<margin-width> | inherit","-ms-touch-action":"auto | none | pan-x | pan-y","touch-action":"auto | none | pan-x | pan-y",transform:1,"transform-origin":1,"transform-style":1,transition:1,"transition-delay":1,"transition-duration":1,"transition-property":1,"transition-timing-function":1,"unicode-bidi":"normal | embed | isolate | bidi-override | isolate-override | plaintext | inherit","user-modify":"read-only | read-write | write-only | inherit","user-select":"none | text | toggle | element | elements | all | inherit","vertical-align":"auto | use-script | baseline | sub | super | top | text-top | central | middle | bottom | text-bottom | <percentage> | <length>",visibility:"visible | hidden | collapse | inherit","voice-balance":1,"voice-duration":1,"voice-family":1,"voice-pitch":1,"voice-pitch-range":1,"voice-rate":1,"voice-stress":1,"voice-volume":1,volume:1,"white-space":"normal | pre | nowrap | pre-wrap | pre-line | inherit | -pre-wrap | -o-pre-wrap | -moz-pre-wrap | -hp-pre-wrap","white-space-collapse":1,widows:"<integer> | inherit",width:"<length> | <percentage> | <content-sizing> | auto | inherit","word-break":"normal | keep-all | break-all","word-spacing":"<length> | normal | inherit","word-wrap":"normal | break-word","writing-mode":"horizontal-tb | vertical-rl | vertical-lr | lr-tb | rl-tb | tb-rl | bt-rl | tb-lr | bt-lr | lr-bt | rl-bt | lr | rl | tb | inherit","z-index":"<integer> | auto | inherit",zoom:"<number> | <percentage> | normal"};
|
6 |
PropertyName.prototype=new SyntaxUnit,PropertyName.prototype.constructor=PropertyName,PropertyName.prototype.toString=function(){return(this.hack?this.hack:"")+this.text},PropertyValue.prototype=new SyntaxUnit,PropertyValue.prototype.constructor=PropertyValue,PropertyValueIterator.prototype.count=function(){return this._parts.length},PropertyValueIterator.prototype.isFirst=function(){return 0===this._i},PropertyValueIterator.prototype.hasNext=function(){return this._i<this._parts.length},PropertyValueIterator.prototype.mark=function(){this._marks.push(this._i)},PropertyValueIterator.prototype.peek=function(e){return this.hasNext()?this._parts[this._i+(e||0)]:null},PropertyValueIterator.prototype.next=function(){return this.hasNext()?this._parts[this._i++]:null},PropertyValueIterator.prototype.previous=function(){return this._i>0?this._parts[--this._i]:null},PropertyValueIterator.prototype.restore=function(){this._marks.length&&(this._i=this._marks.pop())},PropertyValuePart.prototype=new SyntaxUnit,PropertyValuePart.prototype.constructor=PropertyValuePart,PropertyV
|