Version Description
- Enforcing safe file extensions for new templates
- Added filters loco_po_headers and loco_pot_headers
- Bumped WordPress version to 5.8.1
Download this release
Release Info
Developer | timwhitlock |
Plugin | Loco Translate |
Version | 2.5.4 |
Comparing to | |
See all releases |
Code changes from version 2.5.3 to 2.5.4
- languages/loco-translate.pot +13 -5
- lib/data/locales.php +1 -1
- loco.php +3 -3
- pub/css/admin.css +1 -1
- pub/css/editor.css +1 -1
- pub/css/podiff.css +1 -1
- pub/css/poview.css +1 -1
- pub/css/skins/blue.css +1 -1
- pub/css/skins/coffee.css +1 -1
- pub/css/skins/ectoplasm.css +1 -1
- pub/css/skins/light.css +1 -1
- pub/css/skins/midnight.css +1 -1
- pub/css/skins/modern.css +1 -1
- pub/css/skins/ocean.css +1 -1
- pub/css/skins/sunrise.css +1 -1
- pub/js/min/admin.js +1045 -1041
- readme.txt +9 -4
- src/ajax/SaveController.php +2 -2
- src/ajax/XgettextController.php +6 -1
- src/fs/FileWriter.php +6 -1
- src/gettext/Data.php +11 -2
- tpl/admin/file/conf.php +1 -1
- tpl/admin/file/head.php +1 -1
languages/loco-translate.pot
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
#, fuzzy
|
2 |
msgid ""
|
3 |
msgstr ""
|
4 |
-
"Project-Id-Version: Loco Translate 2.5.
|
5 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/loco-translate/\n"
|
6 |
-
"POT-Creation-Date: 2021-
|
7 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
8 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
9 |
"Language-Team: \n"
|
@@ -13,7 +13,7 @@ msgstr ""
|
|
13 |
"Content-Type: text/plain; charset=UTF-8\n"
|
14 |
"Content-Transfer-Encoding: 8bit\n"
|
15 |
"X-Generator: Loco https://localise.biz/\n"
|
16 |
-
"X-Loco-Version: 2.5.
|
17 |
"X-Domain: loco-translate"
|
18 |
|
19 |
#: src/fs/FileWriter.php:214
|
@@ -566,6 +566,10 @@ msgstr ""
|
|
566 |
msgid "Edit config"
|
567 |
msgstr ""
|
568 |
|
|
|
|
|
|
|
|
|
569 |
#: src/admin/bundle/ViewController.php:123
|
570 |
msgid "Edit template"
|
571 |
msgstr ""
|
@@ -1207,7 +1211,7 @@ msgstr ""
|
|
1207 |
msgid "Modification of installed files is disallowed by the plugin settings"
|
1208 |
msgstr ""
|
1209 |
|
1210 |
-
#: src/fs/FileWriter.php:
|
1211 |
msgid ""
|
1212 |
"Modification of POT (template) files is disallowed by the plugin settings"
|
1213 |
msgstr ""
|
@@ -1501,6 +1505,10 @@ msgstr ""
|
|
1501 |
msgid "Relative path from bundle root to the official POT file"
|
1502 |
msgstr ""
|
1503 |
|
|
|
|
|
|
|
|
|
1504 |
#: src/admin/file/BaseController.php:107
|
1505 |
msgid "Relocate"
|
1506 |
msgstr ""
|
@@ -1708,7 +1716,7 @@ msgstr ""
|
|
1708 |
msgid "Template file already exists"
|
1709 |
msgstr ""
|
1710 |
|
1711 |
-
#: src/ajax/XgettextController.php:
|
1712 |
msgid "Template file created"
|
1713 |
msgstr ""
|
1714 |
|
1 |
#, fuzzy
|
2 |
msgid ""
|
3 |
msgstr ""
|
4 |
+
"Project-Id-Version: Loco Translate 2.5.4\n"
|
5 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/loco-translate/\n"
|
6 |
+
"POT-Creation-Date: 2021-09-28 09:33+0000\n"
|
7 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
8 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
9 |
"Language-Team: \n"
|
13 |
"Content-Type: text/plain; charset=UTF-8\n"
|
14 |
"Content-Transfer-Encoding: 8bit\n"
|
15 |
"X-Generator: Loco https://localise.biz/\n"
|
16 |
+
"X-Loco-Version: 2.5.4; wp-5.8.1\n"
|
17 |
"X-Domain: loco-translate"
|
18 |
|
19 |
#: src/fs/FileWriter.php:214
|
566 |
msgid "Edit config"
|
567 |
msgstr ""
|
568 |
|
569 |
+
#: tpl/admin/file/head.php:10
|
570 |
+
msgid "Edit file headers"
|
571 |
+
msgstr ""
|
572 |
+
|
573 |
#: src/admin/bundle/ViewController.php:123
|
574 |
msgid "Edit template"
|
575 |
msgstr ""
|
1211 |
msgid "Modification of installed files is disallowed by the plugin settings"
|
1212 |
msgstr ""
|
1213 |
|
1214 |
+
#: src/fs/FileWriter.php:316
|
1215 |
msgid ""
|
1216 |
"Modification of POT (template) files is disallowed by the plugin settings"
|
1217 |
msgstr ""
|
1505 |
msgid "Relative path from bundle root to the official POT file"
|
1506 |
msgstr ""
|
1507 |
|
1508 |
+
#: tpl/admin/file/conf.php:23
|
1509 |
+
msgid "Relative path to template file"
|
1510 |
+
msgstr ""
|
1511 |
+
|
1512 |
#: src/admin/file/BaseController.php:107
|
1513 |
msgid "Relocate"
|
1514 |
msgstr ""
|
1716 |
msgid "Template file already exists"
|
1717 |
msgstr ""
|
1718 |
|
1719 |
+
#: src/ajax/XgettextController.php:67
|
1720 |
msgid "Template file created"
|
1721 |
msgstr ""
|
1722 |
|
lib/data/locales.php
CHANGED
@@ -2,4 +2,4 @@
|
|
2 |
/**
|
3 |
* Compiled data. Do not edit.
|
4 |
*/
|
5 |
-
return array('af'=>array(0=>'Afrikaans',1=>'Afrikaans'),'ar'=>array(0=>'Arabic',1=>'العربية'),'ary'=>array(0=>'Moroccan Arabic',1=>'العربية المغربية'),'as'=>array(0=>'Assamese',1=>'অসমীয়া'),'
|
2 |
/**
|
3 |
* Compiled data. Do not edit.
|
4 |
*/
|
5 |
+
return array('af'=>array(0=>'Afrikaans',1=>'Afrikaans'),'ar'=>array(0=>'Arabic',1=>'العربية'),'ary'=>array(0=>'Moroccan Arabic',1=>'العربية المغربية'),'as'=>array(0=>'Assamese',1=>'অসমীয়া'),'azb'=>array(0=>'South Azerbaijani',1=>'گؤنئی آذربایجان'),'az'=>array(0=>'Azerbaijani',1=>'Azərbaycan dili'),'bel'=>array(0=>'Belarusian',1=>'Беларуская мова'),'bg_BG'=>array(0=>'Bulgarian',1=>'Български'),'bn_BD'=>array(0=>'Bengali (Bangladesh)',1=>'বাংলা'),'bo'=>array(0=>'Tibetan',1=>'བོད་ཡིག'),'bs_BA'=>array(0=>'Bosnian',1=>'Bosanski'),'ca'=>array(0=>'Catalan',1=>'Català'),'ceb'=>array(0=>'Cebuano',1=>'Cebuano'),'cs_CZ'=>array(0=>'Czech',1=>'Čeština'),'cy'=>array(0=>'Welsh',1=>'Cymraeg'),'da_DK'=>array(0=>'Danish',1=>'Dansk'),'de_DE_formal'=>array(0=>'German (Formal)',1=>'Deutsch (Sie)'),'de_CH'=>array(0=>'German (Switzerland)',1=>'Deutsch (Schweiz)'),'de_AT'=>array(0=>'German (Austria)',1=>'Deutsch (Österreich)'),'de_CH_informal'=>array(0=>'German (Switzerland, Informal)',1=>'Deutsch (Schweiz, Du)'),'de_DE'=>array(0=>'German',1=>'Deutsch'),'dsb'=>array(0=>'Lower Sorbian',1=>'Dolnoserbšćina'),'dzo'=>array(0=>'Dzongkha',1=>'རྫོང་ཁ'),'el'=>array(0=>'Greek',1=>'Ελληνικά'),'en_GB'=>array(0=>'English (UK)',1=>'English (UK)'),'en_CA'=>array(0=>'English (Canada)',1=>'English (Canada)'),'en_AU'=>array(0=>'English (Australia)',1=>'English (Australia)'),'en_NZ'=>array(0=>'English (New Zealand)',1=>'English (New Zealand)'),'en_ZA'=>array(0=>'English (South Africa)',1=>'English (South Africa)'),'eo'=>array(0=>'Esperanto',1=>'Esperanto'),'es_CO'=>array(0=>'Spanish (Colombia)',1=>'Español de Colombia'),'es_ES'=>array(0=>'Spanish (Spain)',1=>'Español'),'es_AR'=>array(0=>'Spanish (Argentina)',1=>'Español de Argentina'),'es_CR'=>array(0=>'Spanish (Costa Rica)',1=>'Español de Costa Rica'),'es_VE'=>array(0=>'Spanish (Venezuela)',1=>'Español de Venezuela'),'es_EC'=>array(0=>'Spanish (Ecuador)',1=>'Español de Ecuador'),'es_PE'=>array(0=>'Spanish (Peru)',1=>'Español de Perú'),'es_MX'=>array(0=>'Spanish (Mexico)',1=>'Español de México'),'es_UY'=>array(0=>'Spanish (Uruguay)',1=>'Español de Uruguay'),'es_CL'=>array(0=>'Spanish (Chile)',1=>'Español de Chile'),'es_PR'=>array(0=>'Spanish (Puerto Rico)',1=>'Español de Puerto Rico'),'es_GT'=>array(0=>'Spanish (Guatemala)',1=>'Español de Guatemala'),'et'=>array(0=>'Estonian',1=>'Eesti'),'eu'=>array(0=>'Basque',1=>'Euskara'),'fa_IR'=>array(0=>'Persian',1=>'فارسی'),'fa_AF'=>array(0=>'Persian (Afghanistan)',1=>'(فارسی (افغانستان'),'fi'=>array(0=>'Finnish',1=>'Suomi'),'fr_FR'=>array(0=>'French (France)',1=>'Français'),'fr_CA'=>array(0=>'French (Canada)',1=>'Français du Canada'),'fr_BE'=>array(0=>'French (Belgium)',1=>'Français de Belgique'),'fur'=>array(0=>'Friulian',1=>'Friulian'),'gd'=>array(0=>'Scottish Gaelic',1=>'Gàidhlig'),'gl_ES'=>array(0=>'Galician',1=>'Galego'),'gu'=>array(0=>'Gujarati',1=>'ગુજરાતી'),'haz'=>array(0=>'Hazaragi',1=>'هزاره گی'),'he_IL'=>array(0=>'Hebrew',1=>'עִבְרִית'),'hi_IN'=>array(0=>'Hindi',1=>'हिन्दी'),'hr'=>array(0=>'Croatian',1=>'Hrvatski'),'hsb'=>array(0=>'Upper Sorbian',1=>'Hornjoserbšćina'),'hu_HU'=>array(0=>'Hungarian',1=>'Magyar'),'hy'=>array(0=>'Armenian',1=>'Հայերեն'),'id_ID'=>array(0=>'Indonesian',1=>'Bahasa Indonesia'),'is_IS'=>array(0=>'Icelandic',1=>'Íslenska'),'it_IT'=>array(0=>'Italian',1=>'Italiano'),'ja'=>array(0=>'Japanese',1=>'日本語'),'jv_ID'=>array(0=>'Javanese',1=>'Basa Jawa'),'ka_GE'=>array(0=>'Georgian',1=>'ქართული'),'kab'=>array(0=>'Kabyle',1=>'Taqbaylit'),'kk'=>array(0=>'Kazakh',1=>'Қазақ тілі'),'km'=>array(0=>'Khmer',1=>'ភាសាខ្មែរ'),'kn'=>array(0=>'Kannada',1=>'ಕನ್ನಡ'),'ko_KR'=>array(0=>'Korean',1=>'한국어'),'ckb'=>array(0=>'Kurdish (Sorani)',1=>'كوردی'),'lo'=>array(0=>'Lao',1=>'ພາສາລາວ'),'lt_LT'=>array(0=>'Lithuanian',1=>'Lietuvių kalba'),'lv'=>array(0=>'Latvian',1=>'Latviešu valoda'),'mk_MK'=>array(0=>'Macedonian',1=>'Македонски јазик'),'ml_IN'=>array(0=>'Malayalam',1=>'മലയാളം'),'mn'=>array(0=>'Mongolian',1=>'Монгол'),'mr'=>array(0=>'Marathi',1=>'मराठी'),'ms_MY'=>array(0=>'Malay',1=>'Bahasa Melayu'),'my_MM'=>array(0=>'Myanmar (Burmese)',1=>'ဗမာစာ'),'nb_NO'=>array(0=>'Norwegian (Bokmål)',1=>'Norsk bokmål'),'ne_NP'=>array(0=>'Nepali',1=>'नेपाली'),'nl_BE'=>array(0=>'Dutch (Belgium)',1=>'Nederlands (België)'),'nl_NL'=>array(0=>'Dutch',1=>'Nederlands'),'nl_NL_formal'=>array(0=>'Dutch (Formal)',1=>'Nederlands (Formeel)'),'nn_NO'=>array(0=>'Norwegian (Nynorsk)',1=>'Norsk nynorsk'),'oci'=>array(0=>'Occitan',1=>'Occitan'),'pa_IN'=>array(0=>'Punjabi',1=>'ਪੰਜਾਬੀ'),'pl_PL'=>array(0=>'Polish',1=>'Polski'),'ps'=>array(0=>'Pashto',1=>'پښتو'),'pt_PT'=>array(0=>'Portuguese (Portugal)',1=>'Português'),'pt_AO'=>array(0=>'Portuguese (Angola)',1=>'Português de Angola'),'pt_PT_ao90'=>array(0=>'Portuguese (Portugal, AO90)',1=>'Português (AO90)'),'pt_BR'=>array(0=>'Portuguese (Brazil)',1=>'Português do Brasil'),'rhg'=>array(0=>'Rohingya',1=>'Ruáinga'),'ro_RO'=>array(0=>'Romanian',1=>'Română'),'ru_RU'=>array(0=>'Russian',1=>'Русский'),'sah'=>array(0=>'Sakha',1=>'Сахалыы'),'snd'=>array(0=>'Sindhi',1=>'سنڌي'),'si_LK'=>array(0=>'Sinhala',1=>'සිංහල'),'sk_SK'=>array(0=>'Slovak',1=>'Slovenčina'),'skr'=>array(0=>'Saraiki',1=>'سرائیکی'),'sl_SI'=>array(0=>'Slovenian',1=>'Slovenščina'),'sq'=>array(0=>'Albanian',1=>'Shqip'),'sr_RS'=>array(0=>'Serbian',1=>'Српски језик'),'sv_SE'=>array(0=>'Swedish',1=>'Svenska'),'sw'=>array(0=>'Swahili',1=>'Kiswahili'),'szl'=>array(0=>'Silesian',1=>'Ślōnskŏ gŏdka'),'ta_IN'=>array(0=>'Tamil',1=>'தமிழ்'),'ta_LK'=>array(0=>'Tamil (Sri Lanka)',1=>'தமிழ்'),'te'=>array(0=>'Telugu',1=>'తెలుగు'),'th'=>array(0=>'Thai',1=>'ไทย'),'tl'=>array(0=>'Tagalog',1=>'Tagalog'),'tr_TR'=>array(0=>'Turkish',1=>'Türkçe'),'tt_RU'=>array(0=>'Tatar',1=>'Татар теле'),'tah'=>array(0=>'Tahitian',1=>'Reo Tahiti'),'ug_CN'=>array(0=>'Uighur',1=>'ئۇيغۇرچە'),'uk'=>array(0=>'Ukrainian',1=>'Українська'),'ur'=>array(0=>'Urdu',1=>'اردو'),'uz_UZ'=>array(0=>'Uzbek',1=>'O‘zbekcha'),'vi'=>array(0=>'Vietnamese',1=>'Tiếng Việt'),'zh_TW'=>array(0=>'Chinese (Taiwan)',1=>'繁體中文'),'zh_HK'=>array(0=>'Chinese (Hong Kong)',1=>'香港中文版 '),'zh_CN'=>array(0=>'Chinese (China)',1=>'简体中文'));
|
loco.php
CHANGED
@@ -4,9 +4,9 @@ Plugin Name: Loco Translate
|
|
4 |
Plugin URI: https://wordpress.org/plugins/loco-translate/
|
5 |
Description: Translate themes and plugins directly in WordPress
|
6 |
Author: Tim Whitlock
|
7 |
-
Version: 2.5.
|
8 |
Requires at least: 4.1
|
9 |
-
Tested up to: 5.
|
10 |
Requires PHP: 5.2.4
|
11 |
Author URI: https://localise.biz/wordpress/plugin
|
12 |
Text Domain: loco-translate
|
@@ -33,7 +33,7 @@ function loco_plugin_file(){
|
|
33 |
* @return string
|
34 |
*/
|
35 |
function loco_plugin_version(){
|
36 |
-
return '2.5.
|
37 |
}
|
38 |
|
39 |
|
4 |
Plugin URI: https://wordpress.org/plugins/loco-translate/
|
5 |
Description: Translate themes and plugins directly in WordPress
|
6 |
Author: Tim Whitlock
|
7 |
+
Version: 2.5.4
|
8 |
Requires at least: 4.1
|
9 |
+
Tested up to: 5.8.1
|
10 |
Requires PHP: 5.2.4
|
11 |
Author URI: https://localise.biz/wordpress/plugin
|
12 |
Text Domain: loco-translate
|
33 |
* @return string
|
34 |
*/
|
35 |
function loco_plugin_version(){
|
36 |
+
return '2.5.4';
|
37 |
}
|
38 |
|
39 |
|
pub/css/admin.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
._ajax_loader_f2{background-image:url(../img/ajax-loader-f2.gif?v=2.5.3);background-repeat:no-repeat;min-height:16px}._ajax_loader_f2x4{background:transparent url(../img/ajax-loader-f2-x4.gif?v=2.5.3) 0 0 no-repeat;min-height:75px}._ajax_loader_cc{background-image:url(../img/ajax-loader-cc.gif?v=2.5.3);background-repeat:no-repeat;min-height:16px}@media only screen and (-webkit-min-device-pixel-ratio: 2),only screen and (min--moz-device-pixel-ratio: 2),only screen and (-o-min-device-pixel-ratio: 2/1),only screen and (min-device-pixel-ratio: 2),only screen and (min-resolution: 192dpi),only screen and (min-resolution: 2dppx){._ajax_loader_f2{background-image:url(../img/ajax-loader-f2-x2.gif?v=2.5.3);background-size:16px}._ajax_loader_cc{background-image:url(../img/ajax-loader-cc-x2.gif?v=2.5.3);background-size:16px}}._green_glow_inner{-webkit-box-shadow:inset 0 0 10px 0 #3db63d;-moz-box-shadow:inset 0 0 10px 0 #3db63d;box-shadow:inset 0 0 10px 0 #3db63d}._green_glow_outer{-webkit-box-shadow:0 0 .5em 0 #3db63d;-moz-box-shadow:0 0 .5em 0 #3db63d;box-shadow:0 0 .5em 0 #3db63d}.loco-font,#loco-admin.wrap .wp-list-table th.loco-sort.loco-asc:after,#loco-admin.wrap .wp-list-table th.loco-sort.loco-desc:after,#loco-admin.wrap .icon,#loco-admin.wrap .has-icon:before{font-family:"loco";speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@font-face{font-family:"loco";src:url("../font/loco.eot?v=2.5.3");src:url("../font/loco.eot?v=2.5.3?#iefix") format("embedded-opentype"),url("../font/loco.woff?v=2.5.3") format("woff"),url("../font/loco.ttf?v=2.5.3") format("truetype"),url("../font/loco.svg?v=2.5.3#loco") format("svg");font-weight:normal;font-style:normal}.tipsy{font-size:11px;position:absolute;padding:5px;z-index:500001;opacity:0;-webkit-transition:opacity .15s linear;-o-transition:opacity .15s linear;transition:opacity .15s linear}.tipsy.in{opacity:1}.tipsy-inner{background-color:#000;color:#fff;white-space:nowrap;padding:6px 8px;line-height:1.3em;text-align:center;-webkit-border-radius:3px;-moz-border-radius:3px;-ms-border-radius:3px;-o-border-radius:3px;border-radius:3px;-webkit-font-smoothing:subpixel-antialiased}.tipsy-arrow{position:absolute;width:0;height:0;line-height:0;border:5px dashed #000}.tipsy-n .tipsy-arrow{top:0px;left:50%;margin-left:-5px;border-bottom-style:solid;border-top:none;border-left-color:transparent;border-right-color:transparent}.tipsy-nw .tipsy-arrow{top:0;left:10px;border-bottom-style:solid;border-top:none;border-left-color:transparent;border-right-color:transparent}.tipsy-ne .tipsy-arrow{top:0;right:10px;border-bottom-style:solid;border-top:none;border-left-color:transparent;border-right-color:transparent}.tipsy-s .tipsy-arrow{bottom:0;left:50%;margin-left:-5px;border-top-style:solid;border-bottom:none;border-left-color:transparent;border-right-color:transparent}.tipsy-sw .tipsy-arrow{bottom:0;left:10px;border-top-style:solid;border-bottom:none;border-left-color:transparent;border-right-color:transparent}.tipsy-se .tipsy-arrow{bottom:0;right:10px;border-top-style:solid;border-bottom:none;border-left-color:transparent;border-right-color:transparent}.tipsy-e .tipsy-arrow{right:0;top:50%;margin-top:-5px;border-left-style:solid;border-right:none;border-top-color:transparent;border-bottom-color:transparent}.tipsy-w .tipsy-arrow{left:0;top:50%;margin-top:-5px;border-right-style:solid;border-left:none;border-top-color:transparent;border-bottom-color:transparent}#loco-admin.wrap .selector li,#loco-admin.wrap .selector .handle,#loco-admin.wrap .selectoradd a,#loco-admin.wrap .selectorsep:before,#loco-admin.wrap .selectorsep span{padding:.3em .75em}#loco-admin.wrap .selector{text-align:left;display:inline-block;white-space:nowrap}#loco-admin.wrap .selectoradd a,#loco-admin.wrap .selector .handle{cursor:default;display:block;position:relative;border-top:solid 1px #fff;border-right:solid 1px #ddd;border-bottom:solid 1px #ddd;border-left:solid 1px #fff;color:#666;height:1.3em;overflow:hidden;white-space:normal}#loco-admin.wrap .selectorsep{display:inline-block;border:solid 1px transparent}#loco-admin.wrap .selectorsep:before{display:block;position:relative;color:#999;height:1.3em;overflow:hidden}#loco-admin.wrap .selectorsep>*{display:block;line-height:1em;color:#666;height:1.3em;overflow:hidden}#loco-admin.wrap .selector .handle{outline:none;white-space:nowrap;padding-right:2.3em;max-width:250px;text-overflow:ellipsis}#loco-admin.wrap .selector .handle .prefix{padding-right:.6ex}#loco-admin.wrap .selector .handle:after{font-family:loco;font-size:1.3em;color:#ccc;display:block;position:absolute;top:.25em;right:.6em;content:"▼"}#loco-admin.wrap .selector .handle:focus:after,#loco-admin.wrap .selector .handle:hover:after{color:#666}#loco-admin.wrap .selector.no-caret .handle{padding-right:.75em}#loco-admin.wrap .selector.no-caret .handle:after{display:none}#loco-admin.wrap .selector.no-title .handle{padding-left:.5em;padding-right:.5em}#loco-admin.wrap .selector.no-title .handle .label{display:none}#loco-admin.wrap .selector.no-title .handle .icon{margin-right:0px}#loco-admin.wrap .selector.dummy .handle{border-color:transparent}#loco-admin.wrap .selector.dummy .handle:after{display:none}#loco-admin.wrap .selectoradd{position:relative}#loco-admin.wrap .selectoradd>*{display:block;float:left;clear:none}#loco-admin.wrap .selectoradd>a.has-icon{width:1.3em}#loco-admin.wrap .selectoradd>a.has-icon:before{color:#999;display:inline;padding-left:0;padding-right:0;line-height:1.4em}#loco-admin.wrap .selectoradd>a.has-icon:hover:after{color:#2e892e}#loco-admin.wrap .selectorsep{display:inline-block}#loco-admin.wrap .selectorsep span{color:#666;height:1.3em}#loco-admin.wrap .selector ul{padding:0}#loco-admin.wrap .selector ul,#loco-admin.wrap .selector li{display:block;position:relative;cursor:default;margin:0}#loco-admin.wrap .selector ul{z-index:5;position:absolute;left:0;top:0;background:#f5f5f5;box-shadow:0 10px 5px rgba(0,0,0,.2);border:solid 1px #ccc;overflow:auto}#loco-admin.wrap .selector.up ul{margin-top:0}#loco-admin.wrap .selector.multi li input{display:none}#loco-admin.wrap .selector.multi li.checked{background:#e5e5e5}#loco-admin.wrap .selector li.active{background:#e5e5e5 !important}#loco-admin.wrap .selector li.over{background:#ccc !important;color:#fff;text-shadow:1px 1px #aaa}#loco-admin.wrap .selector li.over .label{color:#fff}#loco-admin.wrap .selector .label{font:inherit;color:inherit}#loco-admin.wrap .selector .icon{display:inline-block;min-width:1.2em;text-align:center;font-size:14px}#loco-admin.wrap .selector .icon.no-icon{display:none}#loco-admin.wrap .selector .icon:before{color:#666}#loco-admin.wrap .selector .avtr{width:18px;height:18px;background-size:18px;background-repeat:no-repeat}#loco-admin.wrap .selector .label{line-height:1}#loco-admin.wrap .selector .icon,#loco-admin.wrap .selector .icon-16{vertical-align:bottom}#loco-admin.wrap .selector .icon,#loco-admin.wrap .selector .lang,#loco-admin.wrap .selector .icon-16{margin-right:5px}#loco-admin.wrap .selector .region,#loco-admin.wrap .selector .variant-wales,#loco-admin.wrap .selector .region-gb.lang-cy,#loco-admin.wrap .selector .variant-scotland,#loco-admin.wrap .selector .region-gb.lang-gd,#loco-admin.wrap .selector .variant-valencia,#loco-admin.wrap .selector .region-es.variant-valencia,#loco-admin.wrap .selector .lang-ca,#loco-admin.wrap .selector .region-es.lang-ca,#loco-admin.wrap .selector .lang-eo,#loco-admin.wrap .selector .lang-eu{margin-left:2px;margin-right:7px}#loco-admin.wrap .selector.ticked .icon.no-icon{font-size:12px;display:inline-block}#loco-admin.wrap .selector.ticked .active .icon.no-icon:before{content:"✓"}#loco-admin.wrap .selectoradd a:hover,#loco-admin.wrap .selector a.handle:focus,#loco-admin.wrap .selector a.handle:hover{color:#000;border-color:#999}#loco-admin.wrap .selector.active .handle{border-color:#999;background-color:#eee;color:#999}#loco-admin.wrap .selector.active .handle:after{color:#999;content:"▲"}#loco-admin.wrap .selector.disabled{cursor:default;cursor:no-drop;cursor:not-allowed}#loco-admin.wrap .selector.disabled .handle{pointer-events:none;border-top:solid 1px #fff;border-right:solid 1px #ddd;border-bottom:solid 1px #ddd;border-left:solid 1px #fff;color:#999;padding-right:1em}#loco-admin.wrap .selector.disabled .handle:after{display:none}#loco-admin.wrap .selector.disabled .handle span.icon{color:#999 !important}#loco-admin.wrap .selector li.disabled,#loco-admin.wrap .selector li.disabled.over{color:#aaa;text-shadow:1px 1px #fff;pointer-events:none}#loco-admin.wrap .selector li.disabled *{cursor:text}#loco-admin.wrap .selector li.disabled .icon:before{color:#aaa}#loco-admin.wrap .selector li.disabled .flag,#loco-admin.wrap .selector li.disabled .icon-16{opacity:.4}#loco-admin.wrap .selector.lefty ul{left:auto;right:0}#loco-admin.wrap .selector.lefty ul .icon,#loco-admin.wrap .selector.lefty ul .icon-32{display:block;float:right;clear:none}#loco-admin.wrap .selector.lefty ul .label{padding-right:32px;padding-left:0}#loco-admin.wrap .selector ul>form{margin:0;display:block}#loco-admin.wrap .selector ul>form input{margin:0;-webkit-border-radius:0;-moz-border-radius:0;-ms-border-radius:0;-o-border-radius:0;border-radius:0}#loco-admin.wrap .selector ul>form input:focus{-webkit-box-shadow:inset 0 0 5px 0 #3db63d;-moz-box-shadow:inset 0 0 5px 0 #3db63d;box-shadow:inset 0 0 5px 0 #3db63d}#loco-admin.wrap .selector ul>form input.error{border-color:#c00;-webkit-box-shadow:inset 0 0 5px 0 rgba(153,0,0,.5);-moz-box-shadow:inset 0 0 5px 0 rgba(153,0,0,.5);box-shadow:inset 0 0 5px 0 rgba(153,0,0,.5)}#loco-admin.wrap .selector ul>form a.clear{margin:0;border:none}#loco-admin.wrap .selector ul>form ::placeholder{color:gray;font-size:16px;font-family:"loco";text-align:right;display:block}#loco-admin.wrap .selector ul>form ::-webkit-input-placeholder{color:gray;font-size:16px;font-family:"loco";text-align:right;display:block}#loco-admin.wrap .selector ul>form :-moz-placeholder{color:gray;font-size:16px;font-family:"loco";text-align:right;display:block;opacity:1}#loco-admin.wrap .selector ul>form ::-moz-placeholder{color:gray;font-size:16px;font-family:"loco";text-align:right;display:block;opacity:1}#loco-admin.wrap .selector ul>form :-ms-input-placeholder{color:gray;font-size:16px;font-family:"loco";text-align:right;display:block}#loco-admin.wrap .selector ul>form .ielt10 .placeheld{color:gray;font-size:16px;font-family:"loco";text-align:right;display:block}#loco-admin.wrap div.auto-comp-wrap{width:100%}#loco-admin.wrap div.auto-comp-wrap input{display:inline-block}#loco-admin.wrap div.auto-comp-wrap.loading input{background:transparent url(../img/ajax-loader.gif?v=2.5.3) right 2px no-repeat}#loco-admin.wrap div.auto-comp-drop{color:#333;background:#fff;border-top:none;position:absolute;width:auto;top:0;left:0;z-index:99;-webkit-box-shadow:0 5px 5px rgba(0,0,0,.4);-moz-box-shadow:0 5px 5px rgba(0,0,0,.4);box-shadow:0 5px 5px rgba(0,0,0,.4)}#loco-admin.wrap div.auto-comp-result{padding:5px 10px;cursor:pointer;background:#f0f0f0;border-top:solid 1px #fff;border-bottom:solid 1px #ddd;white-space:nowrap}#loco-admin.wrap div.auto-comp-result:first-child{border-top:solid 1px #ddd}#loco-admin.wrap div.auto-comp-result>*{display:inline-block;vertical-align:middle;line-height:normal}#loco-admin.wrap div.auto-comp-result .icon:before{padding-right:5px}#loco-admin.wrap div.auto-comp-result:hover{background:#a8a8a8;color:#fff;border-top-color:#a8a8a8;border-bottom-color:#999}#loco-admin.wrap div.auto-comp-result.selected{background:#666 !important;color:#fff;border-top-color:#666;border-bottom-color:#666}#loco-admin.wrap div.auto-comp-result .lang,#loco-admin.wrap div.auto-comp-result .region,#loco-admin.wrap div.auto-comp-result .variant-wales,#loco-admin.wrap div.auto-comp-result .region-gb.lang-cy,#loco-admin.wrap div.auto-comp-result .variant-scotland,#loco-admin.wrap div.auto-comp-result .region-gb.lang-gd,#loco-admin.wrap div.auto-comp-result .variant-valencia,#loco-admin.wrap div.auto-comp-result .region-es.variant-valencia,#loco-admin.wrap div.auto-comp-result .lang-ca,#loco-admin.wrap div.auto-comp-result .region-es.lang-ca,#loco-admin.wrap div.auto-comp-result .lang-eo,#loco-admin.wrap div.auto-comp-result .lang-eu,#loco-admin.wrap div.auto-comp-result .avtr{margin-right:5px}#loco-admin.wrap div.auto-comp-wrap.error a.icon.clear:before{color:#c00;opacity:1}#loco-admin.wrap div.auto-comp-wrap.error input[type=text]{border-color:#c00;color:#c00}#loco-admin.wrap div.auto-comp-wrap.error input[type=text]:focus{-webkit-box-shadow:0 0 .5em 0 rgba(153,0,0,.5);-moz-box-shadow:0 0 .5em 0 rgba(153,0,0,.5);box-shadow:0 0 .5em 0 rgba(153,0,0,.5)}#loco-admin.wrap ._ajax_loader_f2{background-image:url(../img/ajax-loader-f2.gif?v=2.5.3);background-repeat:no-repeat;min-height:16px}#loco-admin.wrap ._ajax_loader_f2x4{background:transparent url(../img/ajax-loader-f2-x4.gif?v=2.5.3) 0 0 no-repeat;min-height:75px}#loco-admin.wrap ._ajax_loader_cc{background-image:url(../img/ajax-loader-cc.gif?v=2.5.3);background-repeat:no-repeat;min-height:16px}@media only screen and (-webkit-min-device-pixel-ratio: 2),only screen and (min--moz-device-pixel-ratio: 2),only screen and (-o-min-device-pixel-ratio: 2/1),only screen and (min-device-pixel-ratio: 2),only screen and (min-resolution: 192dpi),only screen and (min-resolution: 2dppx){#loco-admin.wrap ._ajax_loader_f2{background-image:url(../img/ajax-loader-f2-x2.gif?v=2.5.3);background-size:16px}#loco-admin.wrap ._ajax_loader_cc{background-image:url(../img/ajax-loader-cc-x2.gif?v=2.5.3);background-size:16px}}#loco-admin.wrap ._green_glow_inner{-webkit-box-shadow:inset 0 0 10px 0 #3db63d;-moz-box-shadow:inset 0 0 10px 0 #3db63d;box-shadow:inset 0 0 10px 0 #3db63d}#loco-admin.wrap ._green_glow_outer{-webkit-box-shadow:0 0 .5em 0 #3db63d;-moz-box-shadow:0 0 .5em 0 #3db63d;box-shadow:0 0 .5em 0 #3db63d}#loco-admin.wrap .loco-font,#loco-admin.wrap .wp-list-table th.loco-sort.loco-asc:after,#loco-admin.wrap .wp-list-table th.loco-sort.loco-desc:after,#loco-admin.wrap .icon,#loco-admin.wrap .has-icon:before{font-family:"loco";speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#loco-admin.wrap .has-icon:before{display:inline-block;padding-right:.3em}#loco-admin.wrap a.icon-help{cursor:help}#loco-admin.wrap a.icon-help span{display:none}#loco-admin.wrap .icon-notag:before{content:""}#loco-admin.wrap .icon-magnify:before{content:"🔍"}#loco-admin.wrap .icon-python:before{content:"🐍"}#loco-admin.wrap .icon-unicode:before{content:"u"}#loco-admin.wrap .icon-json:before{content:"{"}#loco-admin.wrap .icon-bullist:before{content:""}#loco-admin.wrap .icon-numlist:before{content:""}#loco-admin.wrap .icon-indent:before{content:""}#loco-admin.wrap .icon-outdent:before{content:""}#loco-admin.wrap .icon-link:before{content:""}#loco-admin.wrap .icon-unlink:before{content:""}#loco-admin.wrap .icon-bold:before{content:"B"}#loco-admin.wrap .icon-italic:before{content:"I"}#loco-admin.wrap .icon-translate:before{content:""}#loco-admin.wrap .icon-proj:before{content:""}#loco-admin.wrap .icon-plural:before{content:"᛬"}#loco-admin.wrap .icon-max:before,#loco-admin.wrap .icon-full-screen:before{content:""}#loco-admin.wrap .icon-min:before{content:""}#loco-admin.wrap .icon-sort:before{content:""}#loco-admin.wrap .icon-ok:before,#loco-admin.wrap .notice-success>.has-icon:before,#loco-admin.wrap .notice-success p>strong.has-icon:before{content:"✓"}#loco-admin.wrap .icon-ok-empty:before{content:"🗌"}#loco-admin.wrap .icon-checkbox-checked:before,#loco-admin.wrap .selector.multi li.checked .icon-checkbox:before{content:"☑"}#loco-admin.wrap .icon-checkbox-unchecked:before{content:"☐"}#loco-admin.wrap .icon-checkbox-partial:before{content:"☉"}#loco-admin.wrap .icon-radio-checked:before{content:"⚫"}#loco-admin.wrap .icon-radio-unchecked:before{content:"⚪"}#loco-admin.wrap .icon-ext:before{content:"⬈"}#loco-admin.wrap .icon-share:before{content:""}#loco-admin.wrap .icon-star:before{content:""}#loco-admin.wrap .icon-user:before{content:""}#loco-admin.wrap .icon-remove:before,#loco-admin.wrap a.icon.close:before{content:"×"}#loco-admin.wrap .icon-cog:before{content:""}#loco-admin.wrap .icon-trash:before{content:""}#loco-admin.wrap .icon-time:before,#loco-admin.wrap .icon-history:before{content:""}#loco-admin.wrap .icon-download:before{content:""}#loco-admin.wrap .icon-revert:before{content:""}#loco-admin.wrap .icon-sync:before{content:""}#loco-admin.wrap .icon-lock:before,#loco-admin.wrap .notice-locked>.has-icon:before,#loco-admin.wrap .notice-locked p>strong.has-icon:before{content:""}#loco-admin.wrap .icon-flag:before{content:""}#loco-admin.wrap .icon-tag:before{content:""}#loco-admin.wrap .icon-tags:before{content:""}#loco-admin.wrap .icon-print:before{content:""}#loco-admin.wrap .icon-camera:before{content:""}#loco-admin.wrap .icon-pencil:before{content:""}#loco-admin.wrap .icon-add:before{content:""}#loco-admin.wrap .icon-del:before{content:""}#loco-admin.wrap .icon-clear:before,#loco-admin.wrap a.icon.clear:before{content:""}#loco-admin.wrap .icon-ok-sign:before{content:"✔"}#loco-admin.wrap .icon-help:before{content:"?"}#loco-admin.wrap .icon-info:before,#loco-admin.wrap .notice-info>.has-icon:before,#loco-admin.wrap .notice-info p>strong.has-icon:before{content:"ℹ"}#loco-admin.wrap .icon-cancel:before{content:""}#loco-admin.wrap .icon-warn:before,#loco-admin.wrap .notice-error>.has-icon:before,#loco-admin.wrap .notice-error p>strong.has-icon:before,#loco-admin.wrap .notice-warning>.has-icon:before,#loco-admin.wrap .notice-warning p>strong.has-icon:before{content:""}#loco-admin.wrap .icon-comment:before{content:""}#loco-admin.wrap .icon-bar-chart:before{content:""}#loco-admin.wrap .icon-key:before{content:""}#loco-admin.wrap .icon-cogs:before{content:""}#loco-admin.wrap .icon-comments:before{content:""}#loco-admin.wrap .icon-signout:before{content:""}#loco-admin.wrap .icon-signin:before{content:""}#loco-admin.wrap .icon-upload:before{content:""}#loco-admin.wrap .icon-twitter:before{content:"🐦"}#loco-admin.wrap .icon-facebook:before{content:""}#loco-admin.wrap .icon-github:before{content:""}#loco-admin.wrap .icon-feed:before{content:""}#loco-admin.wrap .icon-globe:before{content:""}#loco-admin.wrap .icon-wrench:before,#loco-admin.wrap .notice-debug>.has-icon:before,#loco-admin.wrap .notice-debug p>strong.has-icon:before{content:""}#loco-admin.wrap .icon-group:before{content:""}#loco-admin.wrap .icon-cloud:before{content:""}#loco-admin.wrap .icon-copy:before{content:""}#loco-admin.wrap .icon-save:before{content:""}#loco-admin.wrap .icon-menu:before{content:""}#loco-admin.wrap .icon-table:before{content:""}#loco-admin.wrap .icon-caret-down:before{content:"▼"}#loco-admin.wrap .icon-caret-up:before{content:"▲"}#loco-admin.wrap .icon-caret-right:before{content:"▶"}#loco-admin.wrap .icon-mail:before{content:""}#loco-admin.wrap .icon-cloud-upload:before{content:""}#loco-admin.wrap .icon-file:before{content:""}#loco-admin.wrap .icon-circle-white:before{content:"⚬"}#loco-admin.wrap .icon-circle-black:before{content:"●"}#loco-admin.wrap .icon-eraser:before{content:""}#loco-admin.wrap .icon-unlock:before{content:""}#loco-admin.wrap .icon-apple:before{content:""}#loco-admin.wrap .icon-android:before{content:""}#loco-admin.wrap .icon-robot:before{content:"🤖"}#loco-admin.wrap .icon-back:before{content:"⬅"}#loco-admin.wrap .icon-next:before{content:"➔"}#loco-admin.wrap .icon-arrow-up:before{content:""}#loco-admin.wrap .icon-ccard:before{content:""}#loco-admin.wrap .icon-caret-left:before{content:"◀"}#loco-admin.wrap .icon-pro:before{content:"⚡"}#loco-admin.wrap .icon-bell:before{content:""}#loco-admin.wrap .icon-code:before{content:""}#loco-admin.wrap .icon-privacy:before{content:"🛡"}#loco-admin.wrap .icon-hellip:before{content:"…"}#loco-admin.wrap .icon-vellip:before{content:"⁞"}#loco-admin.wrap .icon-collapse:before{content:""}#loco-admin.wrap .icon-expand:before{content:""}#loco-admin.wrap .icon-wordpress:before{content:""}#loco-admin.wrap .icon-database:before{content:""}#loco-admin.wrap .icon-restore:before{content:""}#loco-admin.wrap .icon-pilcrow:before{content:"¶"}#loco-admin.wrap .icon-status.is-translated:before,#loco-admin.wrap .is-translated>header>.icon-status:before{color:#2e892e;content:"✓";text-align:center}#loco-admin.wrap .icon-status.is-untranslated:before,#loco-admin.wrap .is-untranslated>header>.icon-status:before{color:#aaa;content:"×";text-align:center;font-size:1.1em}#loco-admin.wrap .icon-status.is-flagged:before,#loco-admin.wrap .is-flagged>header>.icon-status:before{color:#bd2c00;content:"";text-align:center}#loco-admin.wrap .icon-status.is-translated.is-blank:before,#loco-admin.wrap .icon-status.is-translated.is-inherit:before,#loco-admin.wrap .is-translated.is-blank>header>.icon-status:before,#loco-admin.wrap .is-translated.is-inherit>header>.icon-status:before{content:"🗌"}#loco-admin.wrap .icon-status.is-fuzzy:before,#loco-admin.wrap .is-fuzzy>header>.icon-status:before{color:#666;content:""}#loco-admin.wrap .lang,#loco-admin.wrap .region,#loco-admin.wrap .variant-wales,#loco-admin.wrap .region-gb.lang-cy,#loco-admin.wrap .variant-scotland,#loco-admin.wrap .region-gb.lang-gd,#loco-admin.wrap .variant-valencia,#loco-admin.wrap .region-es.variant-valencia,#loco-admin.wrap .lang-ca,#loco-admin.wrap .region-es.lang-ca,#loco-admin.wrap .lang-eo,#loco-admin.wrap .lang-eu{color:#fff;background:#2e892e;display:inline-block;text-transform:uppercase;overflow:hidden;font-family:Verdana,Arial,sans-serif;font-size:9px;font-weight:normal;font-style:normal;line-height:12px;text-align:center;white-space:normal;text-shadow:none}#loco-admin.wrap .lang{width:20px;height:12px;line-height:12px;vertical-align:middle}#loco-admin.wrap .lang:before{content:attr(lang);vertical-align:baseline}#loco-admin.wrap .no-lang{width:18px;height:10px;border:solid 1px #2e892e;background:transparent}#loco-admin.wrap .lang-el{background-color:#1d48a3}#loco-admin.wrap .lang-el:before{content:"Ελ"}#loco-admin.wrap .region,#loco-admin.wrap .variant-wales,#loco-admin.wrap .region-gb.lang-cy,#loco-admin.wrap .variant-scotland,#loco-admin.wrap .region-gb.lang-gd,#loco-admin.wrap .variant-valencia,#loco-admin.wrap .region-es.variant-valencia,#loco-admin.wrap .lang-ca,#loco-admin.wrap .region-es.lang-ca,#loco-admin.wrap .lang-eo,#loco-admin.wrap .lang-eu{width:16px;height:12px;margin:0 2px;background-image:url(../img/flags.png?v=2.5.3);background-repeat:no-repeat;background-color:transparent}#loco-admin.wrap .region:before,#loco-admin.wrap .variant-wales:before,#loco-admin.wrap .region-gb.lang-cy:before,#loco-admin.wrap .variant-scotland:before,#loco-admin.wrap .region-gb.lang-gd:before,#loco-admin.wrap .variant-valencia:before,#loco-admin.wrap .region-es.variant-valencia:before,#loco-admin.wrap .lang-ca:before,#loco-admin.wrap .region-es.lang-ca:before,#loco-admin.wrap .lang-eo:before,#loco-admin.wrap .lang-eu:before{visibility:hidden}#loco-admin.wrap .lang-zh{background-color:#b90000}#loco-admin.wrap .lang-zh.script-hans:before{content:"中国"}#loco-admin.wrap .lang-zh.script-hant:before{content:"中國"}#loco-admin.wrap .__{background-position:0 0}#loco-admin.wrap .lang-eo{background-position:0 -12px}#loco-admin.wrap .lang-eu{background-position:0 -24px}#loco-admin.wrap .lang-ca,#loco-admin.wrap .region-es.lang-ca{background-position:0 -36px}#loco-admin.wrap .region-tg{background-position:0 -48px}#loco-admin.wrap .region-me{background-position:0 -60px}#loco-admin.wrap .region-la{background-position:0 -73px}#loco-admin.wrap .region-mr{background-position:0 -85px}#loco-admin.wrap .region-ni{background-position:0 -97px}#loco-admin.wrap .region-lv{background-position:0 -109px}#loco-admin.wrap .region-om{background-position:0 -121px}#loco-admin.wrap .region-af{background-position:0 -133px}#loco-admin.wrap .region-cy{background-position:0 -145px}#loco-admin.wrap .region-bj{background-position:0 -157px}#loco-admin.wrap .region-aq{background-position:0 -169px}#loco-admin.wrap .region-cn{background-position:0 -186px}#loco-admin.wrap .region-co{background-position:0 -198px}#loco-admin.wrap .region-cx{background-position:0 -210px}#loco-admin.wrap .region-ag{background-position:0 -222px}#loco-admin.wrap .region-ms{background-position:0 -234px}#loco-admin.wrap .region-md{background-position:0 -246px}#loco-admin.wrap .region-zm{background-position:0 -258px}#loco-admin.wrap .region-vn{background-position:0 -270px}#loco-admin.wrap .region-tf{background-position:0 -282px}#loco-admin.wrap .region-td{background-position:0 -294px}#loco-admin.wrap .region-yt{background-position:0 -306px}#loco-admin.wrap .region-lb{background-position:0 -318px}#loco-admin.wrap .region-mf{background-position:0 -330px}#loco-admin.wrap .region-lu{background-position:0 -347px}#loco-admin.wrap .region-mq{background-position:0 -359px}#loco-admin.wrap .region-cz{background-position:0 -371px}#loco-admin.wrap .region-ae{background-position:0 -383px}#loco-admin.wrap .region-cm{background-position:0 -395px}#loco-admin.wrap .region-bi{background-position:0 -407px}#loco-admin.wrap .region-ar{background-position:0 -419px}#loco-admin.wrap .region-as{background-position:0 -431px}#loco-admin.wrap .region-bh{background-position:0 -443px}#loco-admin.wrap .region-cl{background-position:0 -455px}#loco-admin.wrap .region-ad{background-position:0 -467px}#loco-admin.wrap .region-mp{background-position:0 -479px}#loco-admin.wrap .region-lt{background-position:0 -491px}#loco-admin.wrap .region-mg{background-position:0 -503px}#loco-admin.wrap .region-lc{background-position:0 -515px}#loco-admin.wrap .region-tr{background-position:0 -527px}#loco-admin.wrap .region-ua{background-position:0 -539px}#loco-admin.wrap .region-tv{background-position:0 -551px}#loco-admin.wrap .region-vi{background-position:0 -563px}#loco-admin.wrap .region-mt{background-position:0 -575px}#loco-admin.wrap .region-no{background-position:0 -587px}#loco-admin.wrap .region-mc{background-position:0 -599px}#loco-admin.wrap .region-ch{background-position:0 -611px}#loco-admin.wrap .region-bl{background-position:0 -623px}#loco-admin.wrap .region-aw{background-position:0 -640px}#loco-admin.wrap .region-bz{background-position:0 -652px}#loco-admin.wrap .region-bm{background-position:0 -664px}#loco-admin.wrap .region-ci{background-position:0 -676px}#loco-admin.wrap .region-mu{background-position:0 -688px}#loco-admin.wrap .region-us{background-position:0 -700px}#loco-admin.wrap .region-tw{background-position:0 -712px}#loco-admin.wrap .region-ye{background-position:0 -724px}#loco-admin.wrap .region-mw{background-position:0 -736px}#loco-admin.wrap .region-nl{background-position:0 -748px}#loco-admin.wrap .region-ls{background-position:0 -760px}#loco-admin.wrap .region-bo{background-position:0 -772px}#loco-admin.wrap .region-at{background-position:0 -784px}#loco-admin.wrap .region-ck{background-position:0 -796px}#loco-admin.wrap .region-by{background-position:0 -808px}#loco-admin.wrap .region-au{background-position:0 -820px}#loco-admin.wrap .region-bn{background-position:0 -832px}#loco-admin.wrap .region-ma{background-position:0 -844px}#loco-admin.wrap .region-nz{background-position:0 -856px}#loco-admin.wrap .region-lr{background-position:0 -868px}#loco-admin.wrap .region-mv{background-position:0 -880px}#loco-admin.wrap .region-tc{background-position:0 -892px}#loco-admin.wrap .region-ug{background-position:0 -904px}#loco-admin.wrap .region-tt{background-position:0 -916px}#loco-admin.wrap .region-pl{background-position:0 -928px}#loco-admin.wrap .region-rs{background-position:0 -940px}#loco-admin.wrap .region-in{background-position:0 -952px}#loco-admin.wrap .region-ge{background-position:0 -964px}#loco-admin.wrap .region-gr{background-position:0 -976px}#loco-admin.wrap .region-gs{background-position:0 -988px}#loco-admin.wrap .region-gd{background-position:0 -1000px}#loco-admin.wrap .region-io{background-position:0 -1012px}#loco-admin.wrap .region-hk{background-position:0 -1024px}#loco-admin.wrap .region-kp{background-position:0 -1036px}#loco-admin.wrap .region-kg{background-position:0 -1048px}#loco-admin.wrap .region-pm{background-position:0 -1060px}#loco-admin.wrap .region-sv{background-position:0 -1072px}#loco-admin.wrap .region-re{background-position:0 -1084px}#loco-admin.wrap .region-sa{background-position:0 -1096px}#loco-admin.wrap .region-sc{background-position:0 -1108px}#loco-admin.wrap .region-st{background-position:0 -1120px}#loco-admin.wrap .region-ke{background-position:0 -1132px}#loco-admin.wrap .region-im{background-position:0 -1144px}#loco-admin.wrap .region-kr{background-position:0 -1161px}#loco-admin.wrap .region-gf{background-position:0 -1173px}#loco-admin.wrap .region-dj{background-position:0 -1185px}#loco-admin.wrap .region-gq{background-position:0 -1197px}#loco-admin.wrap .region-gp{background-position:0 -1209px}#loco-admin.wrap .region-dk{background-position:0 -1221px}#loco-admin.wrap .region-gg{background-position:0 -1233px}#loco-admin.wrap .region-il{background-position:0 -1250px}#loco-admin.wrap .region-pn{background-position:0 -1262px}#loco-admin.wrap .region-sb{background-position:0 -1274px}#loco-admin.wrap .region-py{background-position:0 -1286px}#loco-admin.wrap .region-ru{background-position:0 -1298px}#loco-admin.wrap .region-kw{background-position:0 -1310px}#loco-admin.wrap .region-do{background-position:0 -1322px}#loco-admin.wrap .region-gt{background-position:0 -1334px}#loco-admin.wrap .region-gb{background-position:0 -1346px}#loco-admin.wrap .region-gu{background-position:0 -1358px}#loco-admin.wrap .region-je{background-position:0 -1370px}#loco-admin.wrap .region-hm{background-position:0 -1387px}#loco-admin.wrap .region-sg{background-position:0 -1399px}#loco-admin.wrap .region-pk{background-position:0 -1411px}#loco-admin.wrap .region-sr{background-position:0 -1423px}#loco-admin.wrap .region-se{background-position:0 -1435px}#loco-admin.wrap .region-jp{background-position:0 -1447px}#loco-admin.wrap .region-gw{background-position:0 -1459px}#loco-admin.wrap .region-eh{background-position:0 -1471px}#loco-admin.wrap .region-dz{background-position:0 -1483px}#loco-admin.wrap .region-ga{background-position:0 -1495px}#loco-admin.wrap .region-fr{background-position:0 -1507px}#loco-admin.wrap .region-dm{background-position:0 -1519px}#loco-admin.wrap .region-hn{background-position:0 -1531px}#loco-admin.wrap .region-sd{background-position:0 -1543px}#loco-admin.wrap .region-rw{background-position:0 -1555px}#loco-admin.wrap .region-ph{background-position:0 -1567px}#loco-admin.wrap .region-ss{background-position:0 -1579px}#loco-admin.wrap .region-qa{background-position:0 -1596px}#loco-admin.wrap .region-pe{background-position:0 -1608px}#loco-admin.wrap .region-pr{background-position:0 -1620px}#loco-admin.wrap .region-si{background-position:0 -1632px}#loco-admin.wrap .region-ht{background-position:0 -1644px}#loco-admin.wrap .region-es{background-position:0 -1656px}#loco-admin.wrap .region-gl{background-position:0 -1668px}#loco-admin.wrap .region-gm{background-position:0 -1680px}#loco-admin.wrap .region-er{background-position:0 -1692px}#loco-admin.wrap .region-fi{background-position:0 -1704px}#loco-admin.wrap .region-ee{background-position:0 -1716px}#loco-admin.wrap .region-kn{background-position:0 -1728px}#loco-admin.wrap .region-hu{background-position:0 -1740px}#loco-admin.wrap .region-iq{background-position:0 -1752px}#loco-admin.wrap .region-ky{background-position:0 -1764px}#loco-admin.wrap .region-sh{background-position:0 -1776px}#loco-admin.wrap .region-ps{background-position:0 -1788px}#loco-admin.wrap .region-pf{background-position:0 -1800px}#loco-admin.wrap .region-sj{background-position:0 -1812px}#loco-admin.wrap .region-id{background-position:0 -1824px}#loco-admin.wrap .region-is{background-position:0 -1836px}#loco-admin.wrap .region-eg{background-position:0 -1848px}#loco-admin.wrap .region-fk{background-position:0 -1860px}#loco-admin.wrap .region-fj{background-position:0 -1872px}#loco-admin.wrap .region-gn{background-position:0 -1884px}#loco-admin.wrap .region-gy{background-position:0 -1896px}#loco-admin.wrap .region-ir{background-position:0 -1908px}#loco-admin.wrap .region-km{background-position:0 -1920px}#loco-admin.wrap .region-ie{background-position:0 -1932px}#loco-admin.wrap .region-kz{background-position:0 -1944px}#loco-admin.wrap .region-ro{background-position:0 -1956px}#loco-admin.wrap .region-sk{background-position:0 -1968px}#loco-admin.wrap .region-pg{background-position:0 -1980px}#loco-admin.wrap .region-pt{background-position:0 -1992px}#loco-admin.wrap .region-so{background-position:0 -2004px}#loco-admin.wrap .region-sx{background-position:0 -2016px}#loco-admin.wrap .region-hr{background-position:0 -2033px}#loco-admin.wrap .region-ki{background-position:0 -2045px}#loco-admin.wrap .region-jm{background-position:0 -2057px}#loco-admin.wrap .region-ec{background-position:0 -2069px}#loco-admin.wrap .region-et{background-position:0 -2081px}#loco-admin.wrap .region-fo{background-position:0 -2093px}#loco-admin.wrap .region-kh{background-position:0 -2105px}#loco-admin.wrap .region-sy{background-position:0 -2117px}#loco-admin.wrap .region-sn{background-position:0 -2129px}#loco-admin.wrap .region-pw{background-position:0 -2141px}#loco-admin.wrap .region-sl{background-position:0 -2153px}#loco-admin.wrap .region-fm{background-position:0 -2165px}#loco-admin.wrap .region-gi{background-position:0 -2177px}#loco-admin.wrap .region-de{background-position:0 -2189px}#loco-admin.wrap .region-gh{background-position:0 -2201px}#loco-admin.wrap .region-jo{background-position:0 -2213px}#loco-admin.wrap .region-it{background-position:0 -2225px}#loco-admin.wrap .region-pa{background-position:0 -2237px}#loco-admin.wrap .region-sz{background-position:0 -2249px}#loco-admin.wrap .region-sm{background-position:0 -2261px}#loco-admin.wrap .region-tn{background-position:0 -2273px}#loco-admin.wrap .region-ml{background-position:0 -2285px}#loco-admin.wrap .region-cg{background-position:0 -2297px}#loco-admin.wrap .region-ax{background-position:0 -2309px}#loco-admin.wrap .region-ao{background-position:0 -2321px}#loco-admin.wrap .region-bt{background-position:0 -2333px}#loco-admin.wrap .region-an{background-position:0 -2345px}#loco-admin.wrap .region-bb{background-position:0 -2357px}#loco-admin.wrap .region-cf{background-position:0 -2369px}#loco-admin.wrap .region-mm{background-position:0 -2381px}#loco-admin.wrap .region-li{background-position:0 -2393px}#loco-admin.wrap .region-na{background-position:0 -2405px}#loco-admin.wrap .region-mz{background-position:0 -2417px}#loco-admin.wrap .region-to{background-position:0 -2429px}#loco-admin.wrap .region-vg{background-position:0 -2441px}#loco-admin.wrap .region-ve{background-position:0 -2453px}#loco-admin.wrap .region-tz{background-position:0 -2465px}#loco-admin.wrap .region-tm{background-position:0 -2477px}#loco-admin.wrap .region-mx{background-position:0 -2489px}#loco-admin.wrap .region-nc{background-position:0 -2501px}#loco-admin.wrap .region-mo{background-position:0 -2513px}#loco-admin.wrap .region-lk{background-position:0 -2525px}#loco-admin.wrap .region-cd{background-position:0 -2537px}#loco-admin.wrap .region-al{background-position:0 -2549px}#loco-admin.wrap .region-bw{background-position:0 -2561px}#loco-admin.wrap .region-cs{background-position:0 -2573px}#loco-admin.wrap .region-cr{background-position:0 -2585px}#loco-admin.wrap .region-bv{background-position:0 -2597px}#loco-admin.wrap .region-am{background-position:0 -2609px}#loco-admin.wrap .region-az{background-position:0 -2621px}#loco-admin.wrap .region-ba{background-position:0 -2633px}#loco-admin.wrap .region-mn{background-position:0 -2645px}#loco-admin.wrap .region-nu{background-position:0 -2657px}#loco-admin.wrap .region-my{background-position:0 -2669px}#loco-admin.wrap .region-tl{background-position:0 -2681px}#loco-admin.wrap .region-ws{background-position:0 -2693px}#loco-admin.wrap .region-th{background-position:0 -2705px}#loco-admin.wrap .region-nf{background-position:0 -2717px}#loco-admin.wrap .region-ly{background-position:0 -2729px}#loco-admin.wrap .region-ai{background-position:0 -2741px}#loco-admin.wrap .region-br{background-position:0 -2753px}#loco-admin.wrap .region-cv{background-position:0 -2765px}#loco-admin.wrap .region-be{background-position:0 -2777px}#loco-admin.wrap .region-ca{background-position:0 -2789px}#loco-admin.wrap .region-bd{background-position:0 -2801px}#loco-admin.wrap .region-cw{background-position:0 -2813px}#loco-admin.wrap .region-bs{background-position:0 -2830px}#loco-admin.wrap .region-ng{background-position:0 -2842px}#loco-admin.wrap .region-mk{background-position:0 -2854px}#loco-admin.wrap .region-np{background-position:0 -2866px}#loco-admin.wrap .region-va{background-position:0 -2878px}#loco-admin.wrap .region-uz{background-position:0 -2890px}#loco-admin.wrap .region-um{background-position:0 -2902px}#loco-admin.wrap .region-tk{background-position:0 -2914px}#loco-admin.wrap .region-vc{background-position:0 -2926px}#loco-admin.wrap .region-zw{background-position:0 -2938px}#loco-admin.wrap .region-nr{background-position:0 -2950px}#loco-admin.wrap .region-ne{background-position:0 -2962px}#loco-admin.wrap .region-cu{background-position:0 -2974px}#loco-admin.wrap .region-bq{background-position:0 -2986px}#loco-admin.wrap .region-bf{background-position:0 -2998px}#loco-admin.wrap .region-bg{background-position:0 -3010px}#loco-admin.wrap .region-cc{background-position:0 -3022px}#loco-admin.wrap .region-mh{background-position:0 -3034px}#loco-admin.wrap .region-za{background-position:0 -3046px}#loco-admin.wrap .region-uy{background-position:0 -3058px}#loco-admin.wrap .region-wf{background-position:0 -3070px}#loco-admin.wrap .region-vu{background-position:0 -3082px}#loco-admin.wrap .region-tj{background-position:0 -3094px}#loco-admin.wrap .variant-scotland,#loco-admin.wrap .region-gb.lang-gd{background-position:0 -3106px}#loco-admin.wrap .variant-valencia,#loco-admin.wrap .region-es.variant-valencia{background-position:0 -3118px}#loco-admin.wrap .variant-wales,#loco-admin.wrap .region-gb.lang-cy{background-position:0 -3130px}#loco-admin.wrap .x-eu{background-position:0 -3142px}#loco-admin.wrap span.lang code{display:none}#loco-admin.wrap .icon-notag:before{content:""}#loco-admin.wrap .icon-magnify:before{content:"🔍"}#loco-admin.wrap .icon-python:before{content:"🐍"}#loco-admin.wrap .icon-unicode:before{content:"u"}#loco-admin.wrap .icon-json:before{content:"{"}#loco-admin.wrap .icon-bullist:before{content:""}#loco-admin.wrap .icon-numlist:before{content:""}#loco-admin.wrap .icon-indent:before{content:""}#loco-admin.wrap .icon-outdent:before{content:""}#loco-admin.wrap .icon-link:before{content:""}#loco-admin.wrap .icon-unlink:before{content:""}#loco-admin.wrap .icon-bold:before{content:"B"}#loco-admin.wrap .icon-italic:before{content:"I"}#loco-admin.wrap .icon-translate:before{content:""}#loco-admin.wrap .icon-proj:before{content:""}#loco-admin.wrap .icon-plural:before{content:"᛬"}#loco-admin.wrap .icon-max:before,#loco-admin.wrap .icon-full-screen:before{content:""}#loco-admin.wrap .icon-min:before{content:""}#loco-admin.wrap .icon-sort:before{content:""}#loco-admin.wrap .icon-ok:before,#loco-admin.wrap .notice-success>.has-icon:before,#loco-admin.wrap .notice-success p>strong.has-icon:before{content:"✓"}#loco-admin.wrap .icon-ok-empty:before{content:"🗌"}#loco-admin.wrap .icon-checkbox-checked:before,#loco-admin.wrap .selector.multi li.checked .icon-checkbox:before{content:"☑"}#loco-admin.wrap .icon-checkbox-unchecked:before{content:"☐"}#loco-admin.wrap .icon-checkbox-partial:before{content:"☉"}#loco-admin.wrap .icon-radio-checked:before{content:"⚫"}#loco-admin.wrap .icon-radio-unchecked:before{content:"⚪"}#loco-admin.wrap .icon-ext:before{content:"⬈"}#loco-admin.wrap .icon-share:before{content:""}#loco-admin.wrap .icon-star:before{content:""}#loco-admin.wrap .icon-user:before{content:""}#loco-admin.wrap .icon-remove:before,#loco-admin.wrap a.icon.close:before{content:"×"}#loco-admin.wrap .icon-cog:before{content:""}#loco-admin.wrap .icon-trash:before{content:""}#loco-admin.wrap .icon-time:before,#loco-admin.wrap .icon-history:before{content:""}#loco-admin.wrap .icon-download:before{content:""}#loco-admin.wrap .icon-revert:before{content:""}#loco-admin.wrap .icon-sync:before{content:""}#loco-admin.wrap .icon-lock:before,#loco-admin.wrap .notice-locked>.has-icon:before,#loco-admin.wrap .notice-locked p>strong.has-icon:before{content:""}#loco-admin.wrap .icon-flag:before{content:""}#loco-admin.wrap .icon-tag:before{content:""}#loco-admin.wrap .icon-tags:before{content:""}#loco-admin.wrap .icon-print:before{content:""}#loco-admin.wrap .icon-camera:before{content:""}#loco-admin.wrap .icon-pencil:before{content:""}#loco-admin.wrap .icon-add:before{content:""}#loco-admin.wrap .icon-del:before{content:""}#loco-admin.wrap .icon-clear:before,#loco-admin.wrap a.icon.clear:before{content:""}#loco-admin.wrap .icon-ok-sign:before{content:"✔"}#loco-admin.wrap .icon-help:before{content:"?"}#loco-admin.wrap .icon-info:before,#loco-admin.wrap .notice-info>.has-icon:before,#loco-admin.wrap .notice-info p>strong.has-icon:before{content:"ℹ"}#loco-admin.wrap .icon-cancel:before{content:""}#loco-admin.wrap .icon-warn:before,#loco-admin.wrap .notice-error>.has-icon:before,#loco-admin.wrap .notice-error p>strong.has-icon:before,#loco-admin.wrap .notice-warning>.has-icon:before,#loco-admin.wrap .notice-warning p>strong.has-icon:before{content:""}#loco-admin.wrap .icon-comment:before{content:""}#loco-admin.wrap .icon-bar-chart:before{content:""}#loco-admin.wrap .icon-key:before{content:""}#loco-admin.wrap .icon-cogs:before{content:""}#loco-admin.wrap .icon-comments:before{content:""}#loco-admin.wrap .icon-signout:before{content:""}#loco-admin.wrap .icon-signin:before{content:""}#loco-admin.wrap .icon-upload:before{content:""}#loco-admin.wrap .icon-twitter:before{content:"🐦"}#loco-admin.wrap .icon-facebook:before{content:""}#loco-admin.wrap .icon-github:before{content:""}#loco-admin.wrap .icon-feed:before{content:""}#loco-admin.wrap .icon-globe:before{content:""}#loco-admin.wrap .icon-wrench:before,#loco-admin.wrap .notice-debug>.has-icon:before,#loco-admin.wrap .notice-debug p>strong.has-icon:before{content:""}#loco-admin.wrap .icon-group:before{content:""}#loco-admin.wrap .icon-cloud:before{content:""}#loco-admin.wrap .icon-copy:before{content:""}#loco-admin.wrap .icon-save:before{content:""}#loco-admin.wrap .icon-menu:before{content:""}#loco-admin.wrap .icon-table:before{content:""}#loco-admin.wrap .icon-caret-down:before{content:"▼"}#loco-admin.wrap .icon-caret-up:before{content:"▲"}#loco-admin.wrap .icon-caret-right:before{content:"▶"}#loco-admin.wrap .icon-mail:before{content:""}#loco-admin.wrap .icon-cloud-upload:before{content:""}#loco-admin.wrap .icon-file:before{content:""}#loco-admin.wrap .icon-circle-white:before{content:"⚬"}#loco-admin.wrap .icon-circle-black:before{content:"●"}#loco-admin.wrap .icon-eraser:before{content:""}#loco-admin.wrap .icon-unlock:before{content:""}#loco-admin.wrap .icon-apple:before{content:""}#loco-admin.wrap .icon-android:before{content:""}#loco-admin.wrap .icon-robot:before{content:"🤖"}#loco-admin.wrap .icon-back:before{content:"⬅"}#loco-admin.wrap .icon-next:before{content:"➔"}#loco-admin.wrap .icon-arrow-up:before{content:""}#loco-admin.wrap .icon-ccard:before{content:""}#loco-admin.wrap .icon-caret-left:before{content:"◀"}#loco-admin.wrap .icon-pro:before{content:"⚡"}#loco-admin.wrap .icon-bell:before{content:""}#loco-admin.wrap .icon-code:before{content:""}#loco-admin.wrap .icon-privacy:before{content:"🛡"}#loco-admin.wrap .icon-hellip:before{content:"…"}#loco-admin.wrap .icon-vellip:before{content:"⁞"}#loco-admin.wrap .icon-collapse:before{content:""}#loco-admin.wrap .icon-expand:before{content:""}#loco-admin.wrap .icon-wordpress:before{content:""}#loco-admin.wrap .icon-database:before{content:""}#loco-admin.wrap .icon-restore:before{content:""}#loco-admin.wrap .icon-pilcrow:before{content:"¶"}#loco-admin.wrap .icon,#loco-admin.wrap .has-icon:before,#loco-admin.wrap .has-dashicon:before{speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#loco-admin.wrap .icon,#loco-admin.wrap .has-icon:before{font-family:"loco"}#loco-admin.wrap .has-dashicon:before{font-family:"dashicons";font-size:1.4em}#loco-admin.wrap .has-icon:before,#loco-admin.wrap .has-dashicon:before,#loco-admin.wrap .has-icon>span{display:inline-block;vertical-align:middle}#loco-admin.wrap .only-icon{text-align:center}#loco-admin.wrap .only-icon:before{text-align:center;padding:0}#loco-admin.wrap .only-icon span{display:none}#loco-admin.wrap a,#loco-admin.wrap .wp-core-ui .button-link{text-decoration:none}#loco-admin.wrap h3:hover>a.loco-anchor{color:#ccc}#loco-admin.wrap h3:hover>a.loco-anchor:before{content:"¶"}#loco-admin.wrap .has-lang>span{display:inline-block;vertical-align:middle}#loco-admin.wrap a.has-lang:hover>span:last-child{text-decoration:underline}#loco-admin.wrap h1 ul,#loco-admin.wrap h1 li{margin:0;padding:0}#loco-admin.wrap h1 li{display:inline-block}#loco-admin.wrap h1 li:after{content:"/";color:#999;text-shadow:none;display:inline-block}#loco-admin.wrap h1 li:last-child:after{content:""}#loco-admin.wrap h1 li:last-child a{color:inherit;pointer-events:none;cursor:auto}#loco-admin.wrap h2 span{color:#999;font-weight:normal}#loco-admin.wrap h2 .loco-meta,#loco-admin.wrap h3 .loco-meta{color:inherit;font-size:14px;font-weight:normal;vertical-align:middle}#loco-admin.wrap .wp-list-table td:first-child .icon{width:16px;display:inline-block;text-align:center}#loco-admin.wrap .wp-list-table td{white-space:nowrap}#loco-admin.wrap .wp-list-table td>a,#loco-admin.wrap .wp-list-table td>time{display:inline-block;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;-o-text-overflow:ellipsis;-ms-text-overflow:ellipsis}#loco-admin.wrap .wp-list-table th.loco-sort{cursor:pointer}#loco-admin.wrap .wp-list-table th.loco-sort:hover{color:#000}#loco-admin.wrap .wp-list-table th.loco-sort.loco-asc:after,#loco-admin.wrap .wp-list-table th.loco-sort.loco-desc:after{padding:0 0 0 4px;color:#999}#loco-admin.wrap .wp-list-table th.loco-sort.loco-desc:after{content:"▼"}#loco-admin.wrap .wp-list-table th.loco-sort.loco-asc:after{content:"▲"}#loco-admin.wrap .wp-list-table td.has-row-actions{overflow:visible}#loco-admin.wrap form.loco-filter{display:block;margin-bottom:5px}#loco-admin.wrap form.loco-filter .icon-filter{color:#999}#loco-admin.wrap nav.above-list-table{margin-bottom:1em}#loco-admin.wrap nav.above-list-table a{display:inline-block;margin-right:1em}#loco-admin.wrap .wp-core-ui button.inverted,#loco-admin.wrap .wp-core-ui button.inverted:hover,#loco-admin.wrap .po-fuzzy button.icon-cloud{background:-moz-linear-gradient(top, #cccccc 0%, #e0e0e0 30%, #fefefe 100%);background:-webkit-linear-gradient(top, #cccccc 0%, #e0e0e0 30%, #fefefe 100%);background:linear-gradient(to bottom, #cccccc 0%, #e0e0e0 30%, #fefefe 100%);-webkit-box-shadow:0 1px 0 #fff;-moz-box-shadow:0 1px 0 #fff;box-shadow:0 1px 0 #fff;border-color:gray}#loco-admin.wrap .wp-core-ui button:active,#loco-admin.wrap .wp-core-ui button.inverted:active{border-color:#5b9dd9}#loco-admin.wrap .loco-clearable{display:inline-block;vertical-align:middle;position:relative}#loco-admin.wrap .loco-clearable a.clear,#loco-admin.wrap .auto-comp-wrap a.clear{top:0;right:0;outline:none;margin:0;border:solid 1px transparent;padding:5px 5px;position:absolute;font-size:1em;line-height:normal}#loco-admin.wrap .loco-clearable a.clear:before,#loco-admin.wrap .auto-comp-wrap a.clear:before{vertical-align:middle;padding:0;color:#999}#loco-admin.wrap .loco-clearable a.clear:hover:before,#loco-admin.wrap .auto-comp-wrap a.clear:hover:before{color:#333}#loco-admin.wrap .loco-clearable a.clear span,#loco-admin.wrap .auto-comp-wrap a.clear span{display:none}#loco-admin.wrap .loco-clearable ::-ms-clear,#loco-admin.wrap .auto-comp-wrap ::-ms-clear{display:none}#loco-admin.wrap div.progress{color:#000;background:transparent !important}#loco-admin.wrap div.progress *{height:100%;overflow:hidden;white-space:nowrap}#loco-admin.wrap div.progress .t{background-color:#ddd;border:1px solid #ccc}#loco-admin.wrap div.progress .t .bar{float:left;clear:none;background-color:#3db63d}#loco-admin.wrap div.progress .t .bar.f{background-color:#bd2c00}#loco-admin.wrap div.progress .l{display:block}#loco-admin.wrap td div.progress .t{border:none}#loco-admin.wrap td div.progress .l{display:none}#loco-admin.wrap code.path{color:#333;margin:0;padding:0;display:inline;background:transparent}#loco-admin.wrap .loco-danger{color:#d54e21}#loco-admin.wrap .notice,#loco-admin.wrap .panel{background:#fff;position:relative;margin:1em 0;padding:1px 12px}#loco-admin.wrap .notice-generic{border-color:#ddd}#loco-admin.wrap .notice-success>.has-icon,#loco-admin.wrap .notice-success p>strong.has-icon{color:#000}#loco-admin.wrap .notice-warning{border-color:orange}#loco-admin.wrap .notice-error{border-color:#dc3232}#loco-admin.wrap .notice-debug{border-color:#00a0d2}#loco-admin.wrap .notice-danger{border-color:#dc3232}#loco-admin.wrap .notice-locked{border-color:orange}#loco-admin.wrap .notice>.has-icon:before,#loco-admin.wrap .notice p>strong.has-icon:before{padding-right:6px}#loco-admin.wrap .notice>p>a.button.has-icon:before{width:1.2em}#loco-admin.wrap .notice>p>em{color:#d54e21;font-style:normal}#loco-admin.wrap .notice>p>em a{color:inherit}#loco-admin.wrap .notice>p a:hover,#loco-admin.wrap .notice>nav a:hover{text-decoration:underline}#loco-admin.wrap .notice>p a.button,#loco-admin.wrap .notice>nav a.button{text-decoration:inherit}#loco-admin.wrap .notice.has-nav{display:flex;flex-direction:row}#loco-admin.wrap .notice.has-nav p,#loco-admin.wrap .notice.has-nav nav{line-height:22px;flex-grow:1}#loco-admin.wrap .notice.has-nav nav{text-align:right;padding:2px;margin:.5em 0}#loco-admin.wrap .notice.has-nav.is-dismissible{padding-right:38px}#loco-admin.wrap .notice.has-nav a{white-space:nowrap}#loco-admin.wrap .notice.has-nav nav>span{color:#666}#loco-admin.wrap .notice>h3>span{display:inline-block;vertical-align:middle}#loco-admin.wrap ul.problems li{font-style:italic}#loco-admin.wrap label{position:relative}#loco-admin.wrap label.for-disabled,#loco-admin.wrap label.for-disabled>input{cursor:default !important}#loco-admin.wrap input.regular-text,#loco-admin.wrap textarea.regular-text{width:25em}#loco-admin.wrap .button-link{padding:0 10px 1px}#loco-admin.wrap .button-danger{background:#ba0000;border-color:#900 #600 #600;-webkit-box-shadow:0 1px 0 #600;-moz-box-shadow:0 1px 0 #600;box-shadow:0 1px 0 #600;color:#fff;text-shadow:0 -1px 1px #600,1px 0 1px #600,0 1px 1px #600,-1px 0 1px #600}#loco-admin.wrap .button-success{background:#00b500;border-color:#090 #2e892e #2e892e;-webkit-box-shadow:0 1px 0 #2e892e;-moz-box-shadow:0 1px 0 #2e892e;box-shadow:0 1px 0 #2e892e;color:#fff;text-shadow:0 -1px 1px #2e892e,1px 0 1px #2e892e,0 1px 1px #2e892e,-1px 0 1px #2e892e}#loco-admin.wrap .button-success:hover{background:#3db63d}#loco-admin.wrap .button-danger[disabled],#loco-admin.wrap .button-success[disabled]{text-shadow:none !important}#loco-admin.wrap form button.loco-loading.button-large{padding-left:0}#loco-admin.wrap form button.loco-loading.button-large:before{width:16px;height:16px;margin:0 4px;content:" ";font-size:16px;line-height:1;display:inline-block;vertical-align:sub}#loco-admin.wrap ::placeholder{color:#ccc}#loco-admin.wrap ::-webkit-input-placeholder{color:#ccc}#loco-admin.wrap :-moz-placeholder{color:#ccc;opacity:1}#loco-admin.wrap ::-moz-placeholder{color:#ccc;opacity:1}#loco-admin.wrap :-ms-input-placeholder{color:#ccc}#loco-admin.wrap .ielt10 .placeheld{color:#ccc}#loco-admin.wrap a.has-raquo:after{content:" »"}#loco-admin.wrap a.has-laquo:before{content:"« "}#loco-admin.wrap span.inline-spinner{display:inline-block;min-width:16px;min-height:16px;background:transparent url(../img/spin-modal.gif?v=2.5.3) 0 0 no-repeat}.js #wpbody-content>.notice{display:none}.js #wpbody-content>.notice.inline{display:block}.js #loco-admin.wrap .jshide,.no-js #loco-admin.wrap .jsonly{display:none !important}#loco-admin.wrap .invis{visibility:hidden}.form-table tr td{vertical-align:top}.form-table tr.compact td{padding-top:0}.form-table tr th a.icon-help{display:none}.loco-modal{min-width:50%;min-height:100px}.loco-modal-wide{min-width:90% !important}.loco-modal-no-close .ui-dialog-titlebar-close{display:none}.loco-modal .ui-dialog-titlebar-close{overflow:hidden}.loco-modal.request-filesystem-credentials-dialog{top:15% !important;max-height:85% !important}.loco-modal.request-filesystem-credentials-dialog>.ui-dialog-content{background:inherit}.loco-modal.request-filesystem-credentials-dialog .ftp-password>label>em:last-child{display:none}.ui-dialog-content>div.loco-loading{height:100%;background:transparent url(../img/spin-modal.gif?v=2.5.3) center 20px no-repeat}#loco-po-ref ol li{color:#aaa;margin:0;white-space:pre;padding:0 0 0 1em;font:normal 12px/17px Consolas,Monaco,monospace;background:transparent;border-left:1px solid #eee}#loco-po-ref ol li code{margin:0;padding:0;display:inline;background:inherit}#loco-po-ref ol li.highlighted{color:#666;background-color:#f8eec7}#loco-po-ref ol li.highlighted code.T_CONSTANT_ENCAPSED_STRING{color:#c931c7}#loco-credit>*{vertical-align:middle}#loco-credit>a{display:inline-block;position:relative;overflow:hidden;background:transparent url(../img/logo-foot.gif?v=2.5.3) 0 0 no-repeat;height:30px;width:100px;text-indent:200px;-webkit-transition-duration:0s;transition-duration:0s}#loco-credit>a:hover{background-position:0 -35px}#loco-content{position:relative}#footer-upgrade span:before{color:#ccc;content:" | ";display:inline;padding-left:.5em;padding-right:.5em}#footer-upgrade span:first-child:before{content:"";display:none}.loco-clearfix:after{content:".";display:block;clear:both;visibility:hidden;line-height:0;height:0}dl.debug dt{font-weight:bold}dl.debug dt,dl.debug dd{white-space:pre}.wrap #loco-editor .is-table .wg-tr:nth-child(even){background-color:rgba(0,115,170,.05)}.wrap #loco-editor .wg-split-x>nav.wg-tabs>a.active,.wrap #loco-editor .is-table .wg-cols>div>div.selected{background-color:#0073aa;foo:#0073aa}.wrap #loco-editor .is-editable>.wg-content>textarea:focus,.wrap #loco-editor .is-editable>.wg-content.has-focus .ace_scroller,.wrap #loco-editor .is-editable>.wg-content.has-focus .mce-content-body{border-color:#5b9dd9;-webkit-box-shadow:inset 0 0 .6em rgba(30,140,190,.8);-moz-box-shadow:inset 0 0 .6em rgba(30,140,190,.8);box-shadow:inset 0 0 .6em rgba(30,140,190,.8)}.wp-core-ui .button-primary.loco-loading[disabled]{color:#66c6e4 !important;background:#008ec2 !important;border-color:#008ec2 !important}.wp-core-ui .button-primary.loco-loading[disabled]:before{background:transparent url(../img/skins/fresh/spin-primary-button.gif?v=2.5.3) 0 0 no-repeat !important}
|
1 |
+
._ajax_loader_f2{background-image:url(../img/ajax-loader-f2.gif?v=2.5.4);background-repeat:no-repeat;min-height:16px}._ajax_loader_f2x4{background:transparent url(../img/ajax-loader-f2-x4.gif?v=2.5.4) 0 0 no-repeat;min-height:75px}._ajax_loader_cc{background-image:url(../img/ajax-loader-cc.gif?v=2.5.4);background-repeat:no-repeat;min-height:16px}@media only screen and (-webkit-min-device-pixel-ratio: 2),only screen and (min--moz-device-pixel-ratio: 2),only screen and (-o-min-device-pixel-ratio: 2/1),only screen and (min-device-pixel-ratio: 2),only screen and (min-resolution: 192dpi),only screen and (min-resolution: 2dppx){._ajax_loader_f2{background-image:url(../img/ajax-loader-f2-x2.gif?v=2.5.4);background-size:16px}._ajax_loader_cc{background-image:url(../img/ajax-loader-cc-x2.gif?v=2.5.4);background-size:16px}}._green_glow_inner{-webkit-box-shadow:inset 0 0 10px 0 #3db63d;-moz-box-shadow:inset 0 0 10px 0 #3db63d;box-shadow:inset 0 0 10px 0 #3db63d}._green_glow_outer{-webkit-box-shadow:0 0 .5em 0 #3db63d;-moz-box-shadow:0 0 .5em 0 #3db63d;box-shadow:0 0 .5em 0 #3db63d}.loco-font,#loco-admin.wrap .wp-list-table th.loco-sort.loco-asc:after,#loco-admin.wrap .wp-list-table th.loco-sort.loco-desc:after,#loco-admin.wrap .icon,#loco-admin.wrap .has-icon:before{font-family:"loco";speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@font-face{font-family:"loco";src:url("../font/loco.eot?v=2.5.4");src:url("../font/loco.eot?v=2.5.4?#iefix") format("embedded-opentype"),url("../font/loco.woff?v=2.5.4") format("woff"),url("../font/loco.ttf?v=2.5.4") format("truetype"),url("../font/loco.svg?v=2.5.4#loco") format("svg");font-weight:normal;font-style:normal}.tipsy{font-size:11px;position:absolute;padding:5px;z-index:500001;opacity:0;-webkit-transition:opacity .15s linear;-o-transition:opacity .15s linear;transition:opacity .15s linear}.tipsy.in{opacity:1}.tipsy-inner{background-color:#000;color:#fff;white-space:nowrap;padding:6px 8px;line-height:1.3em;text-align:center;-webkit-border-radius:3px;-moz-border-radius:3px;-ms-border-radius:3px;-o-border-radius:3px;border-radius:3px;-webkit-font-smoothing:subpixel-antialiased}.tipsy-arrow{position:absolute;width:0;height:0;line-height:0;border:5px dashed #000}.tipsy-n .tipsy-arrow{top:0px;left:50%;margin-left:-5px;border-bottom-style:solid;border-top:none;border-left-color:transparent;border-right-color:transparent}.tipsy-nw .tipsy-arrow{top:0;left:10px;border-bottom-style:solid;border-top:none;border-left-color:transparent;border-right-color:transparent}.tipsy-ne .tipsy-arrow{top:0;right:10px;border-bottom-style:solid;border-top:none;border-left-color:transparent;border-right-color:transparent}.tipsy-s .tipsy-arrow{bottom:0;left:50%;margin-left:-5px;border-top-style:solid;border-bottom:none;border-left-color:transparent;border-right-color:transparent}.tipsy-sw .tipsy-arrow{bottom:0;left:10px;border-top-style:solid;border-bottom:none;border-left-color:transparent;border-right-color:transparent}.tipsy-se .tipsy-arrow{bottom:0;right:10px;border-top-style:solid;border-bottom:none;border-left-color:transparent;border-right-color:transparent}.tipsy-e .tipsy-arrow{right:0;top:50%;margin-top:-5px;border-left-style:solid;border-right:none;border-top-color:transparent;border-bottom-color:transparent}.tipsy-w .tipsy-arrow{left:0;top:50%;margin-top:-5px;border-right-style:solid;border-left:none;border-top-color:transparent;border-bottom-color:transparent}#loco-admin.wrap .selector li,#loco-admin.wrap .selector .handle,#loco-admin.wrap .selectoradd a,#loco-admin.wrap .selectorsep:before,#loco-admin.wrap .selectorsep span{padding:.3em .75em}#loco-admin.wrap .selector{text-align:left;display:inline-block;white-space:nowrap}#loco-admin.wrap .selectoradd a,#loco-admin.wrap .selector .handle{cursor:default;display:block;position:relative;border-top:solid 1px #fff;border-right:solid 1px #ddd;border-bottom:solid 1px #ddd;border-left:solid 1px #fff;color:#666;height:1.3em;overflow:hidden;white-space:normal}#loco-admin.wrap .selectorsep{display:inline-block;border:solid 1px transparent}#loco-admin.wrap .selectorsep:before{display:block;position:relative;color:#999;height:1.3em;overflow:hidden}#loco-admin.wrap .selectorsep>*{display:block;line-height:1em;color:#666;height:1.3em;overflow:hidden}#loco-admin.wrap .selector .handle{outline:none;white-space:nowrap;padding-right:2.3em;max-width:250px;text-overflow:ellipsis}#loco-admin.wrap .selector .handle .prefix{padding-right:.6ex}#loco-admin.wrap .selector .handle:after{font-family:loco;font-size:1.3em;color:#ccc;display:block;position:absolute;top:.25em;right:.6em;content:"▼"}#loco-admin.wrap .selector .handle:focus:after,#loco-admin.wrap .selector .handle:hover:after{color:#666}#loco-admin.wrap .selector.no-caret .handle{padding-right:.75em}#loco-admin.wrap .selector.no-caret .handle:after{display:none}#loco-admin.wrap .selector.no-title .handle{padding-left:.5em;padding-right:.5em}#loco-admin.wrap .selector.no-title .handle .label{display:none}#loco-admin.wrap .selector.no-title .handle .icon{margin-right:0px}#loco-admin.wrap .selector.dummy .handle{border-color:transparent}#loco-admin.wrap .selector.dummy .handle:after{display:none}#loco-admin.wrap .selectoradd{position:relative}#loco-admin.wrap .selectoradd>*{display:block;float:left;clear:none}#loco-admin.wrap .selectoradd>a.has-icon{width:1.3em}#loco-admin.wrap .selectoradd>a.has-icon:before{color:#999;display:inline;padding-left:0;padding-right:0;line-height:1.4em}#loco-admin.wrap .selectoradd>a.has-icon:hover:after{color:#2e892e}#loco-admin.wrap .selectorsep{display:inline-block}#loco-admin.wrap .selectorsep span{color:#666;height:1.3em}#loco-admin.wrap .selector ul{padding:0}#loco-admin.wrap .selector ul,#loco-admin.wrap .selector li{display:block;position:relative;cursor:default;margin:0}#loco-admin.wrap .selector ul{z-index:5;position:absolute;left:0;top:0;background:#f5f5f5;box-shadow:0 10px 5px rgba(0,0,0,.2);border:solid 1px #ccc;overflow:auto}#loco-admin.wrap .selector.up ul{margin-top:0}#loco-admin.wrap .selector.multi li input{display:none}#loco-admin.wrap .selector.multi li.checked{background:#e5e5e5}#loco-admin.wrap .selector li.active{background:#e5e5e5 !important}#loco-admin.wrap .selector li.over{background:#ccc !important;color:#fff;text-shadow:1px 1px #aaa}#loco-admin.wrap .selector li.over .label{color:#fff}#loco-admin.wrap .selector .label{font:inherit;color:inherit}#loco-admin.wrap .selector .icon{display:inline-block;min-width:1.2em;text-align:center;font-size:14px}#loco-admin.wrap .selector .icon.no-icon{display:none}#loco-admin.wrap .selector .icon:before{color:#666}#loco-admin.wrap .selector .avtr{width:18px;height:18px;background-size:18px;background-repeat:no-repeat}#loco-admin.wrap .selector .label{line-height:1}#loco-admin.wrap .selector .icon,#loco-admin.wrap .selector .icon-16{vertical-align:bottom}#loco-admin.wrap .selector .icon,#loco-admin.wrap .selector .lang,#loco-admin.wrap .selector .icon-16{margin-right:5px}#loco-admin.wrap .selector .region,#loco-admin.wrap .selector .variant-wales,#loco-admin.wrap .selector .region-gb.lang-cy,#loco-admin.wrap .selector .variant-scotland,#loco-admin.wrap .selector .region-gb.lang-gd,#loco-admin.wrap .selector .variant-valencia,#loco-admin.wrap .selector .region-es.variant-valencia,#loco-admin.wrap .selector .lang-ca,#loco-admin.wrap .selector .region-es.lang-ca,#loco-admin.wrap .selector .lang-eo,#loco-admin.wrap .selector .lang-eu{margin-left:2px;margin-right:7px}#loco-admin.wrap .selector.ticked .icon.no-icon{font-size:12px;display:inline-block}#loco-admin.wrap .selector.ticked .active .icon.no-icon:before{content:"✓"}#loco-admin.wrap .selectoradd a:hover,#loco-admin.wrap .selector a.handle:focus,#loco-admin.wrap .selector a.handle:hover{color:#000;border-color:#999}#loco-admin.wrap .selector.active .handle{border-color:#999;background-color:#eee;color:#999}#loco-admin.wrap .selector.active .handle:after{color:#999;content:"▲"}#loco-admin.wrap .selector.disabled{cursor:default;cursor:no-drop;cursor:not-allowed}#loco-admin.wrap .selector.disabled .handle{pointer-events:none;border-top:solid 1px #fff;border-right:solid 1px #ddd;border-bottom:solid 1px #ddd;border-left:solid 1px #fff;color:#999;padding-right:1em}#loco-admin.wrap .selector.disabled .handle:after{display:none}#loco-admin.wrap .selector.disabled .handle span.icon{color:#999 !important}#loco-admin.wrap .selector li.disabled,#loco-admin.wrap .selector li.disabled.over{color:#aaa;text-shadow:1px 1px #fff;pointer-events:none}#loco-admin.wrap .selector li.disabled *{cursor:text}#loco-admin.wrap .selector li.disabled .icon:before{color:#aaa}#loco-admin.wrap .selector li.disabled .flag,#loco-admin.wrap .selector li.disabled .icon-16{opacity:.4}#loco-admin.wrap .selector.lefty ul{left:auto;right:0}#loco-admin.wrap .selector.lefty ul .icon,#loco-admin.wrap .selector.lefty ul .icon-32{display:block;float:right;clear:none}#loco-admin.wrap .selector.lefty ul .label{padding-right:32px;padding-left:0}#loco-admin.wrap .selector ul>form{margin:0;display:block}#loco-admin.wrap .selector ul>form input{margin:0;-webkit-border-radius:0;-moz-border-radius:0;-ms-border-radius:0;-o-border-radius:0;border-radius:0}#loco-admin.wrap .selector ul>form input:focus{-webkit-box-shadow:inset 0 0 5px 0 #3db63d;-moz-box-shadow:inset 0 0 5px 0 #3db63d;box-shadow:inset 0 0 5px 0 #3db63d}#loco-admin.wrap .selector ul>form input.error{border-color:#c00;-webkit-box-shadow:inset 0 0 5px 0 rgba(153,0,0,.5);-moz-box-shadow:inset 0 0 5px 0 rgba(153,0,0,.5);box-shadow:inset 0 0 5px 0 rgba(153,0,0,.5)}#loco-admin.wrap .selector ul>form a.clear{margin:0;border:none}#loco-admin.wrap .selector ul>form ::placeholder{color:gray;font-size:16px;font-family:"loco";text-align:right;display:block}#loco-admin.wrap .selector ul>form ::-webkit-input-placeholder{color:gray;font-size:16px;font-family:"loco";text-align:right;display:block}#loco-admin.wrap .selector ul>form :-moz-placeholder{color:gray;font-size:16px;font-family:"loco";text-align:right;display:block;opacity:1}#loco-admin.wrap .selector ul>form ::-moz-placeholder{color:gray;font-size:16px;font-family:"loco";text-align:right;display:block;opacity:1}#loco-admin.wrap .selector ul>form :-ms-input-placeholder{color:gray;font-size:16px;font-family:"loco";text-align:right;display:block}#loco-admin.wrap .selector ul>form .ielt10 .placeheld{color:gray;font-size:16px;font-family:"loco";text-align:right;display:block}#loco-admin.wrap div.auto-comp-wrap{width:100%}#loco-admin.wrap div.auto-comp-wrap input{display:inline-block}#loco-admin.wrap div.auto-comp-wrap.loading input{background:transparent url(../img/ajax-loader.gif?v=2.5.4) right 2px no-repeat}#loco-admin.wrap div.auto-comp-drop{color:#333;background:#fff;border-top:none;position:absolute;width:auto;top:0;left:0;z-index:99;-webkit-box-shadow:0 5px 5px rgba(0,0,0,.4);-moz-box-shadow:0 5px 5px rgba(0,0,0,.4);box-shadow:0 5px 5px rgba(0,0,0,.4)}#loco-admin.wrap div.auto-comp-result{padding:5px 10px;cursor:pointer;background:#f0f0f0;border-top:solid 1px #fff;border-bottom:solid 1px #ddd;white-space:nowrap}#loco-admin.wrap div.auto-comp-result:first-child{border-top:solid 1px #ddd}#loco-admin.wrap div.auto-comp-result>*{display:inline-block;vertical-align:middle;line-height:normal}#loco-admin.wrap div.auto-comp-result .icon:before{padding-right:5px}#loco-admin.wrap div.auto-comp-result:hover{background:#a8a8a8;color:#fff;border-top-color:#a8a8a8;border-bottom-color:#999}#loco-admin.wrap div.auto-comp-result.selected{background:#666 !important;color:#fff;border-top-color:#666;border-bottom-color:#666}#loco-admin.wrap div.auto-comp-result .lang,#loco-admin.wrap div.auto-comp-result .region,#loco-admin.wrap div.auto-comp-result .variant-wales,#loco-admin.wrap div.auto-comp-result .region-gb.lang-cy,#loco-admin.wrap div.auto-comp-result .variant-scotland,#loco-admin.wrap div.auto-comp-result .region-gb.lang-gd,#loco-admin.wrap div.auto-comp-result .variant-valencia,#loco-admin.wrap div.auto-comp-result .region-es.variant-valencia,#loco-admin.wrap div.auto-comp-result .lang-ca,#loco-admin.wrap div.auto-comp-result .region-es.lang-ca,#loco-admin.wrap div.auto-comp-result .lang-eo,#loco-admin.wrap div.auto-comp-result .lang-eu,#loco-admin.wrap div.auto-comp-result .avtr{margin-right:5px}#loco-admin.wrap div.auto-comp-wrap.error a.icon.clear:before{color:#c00;opacity:1}#loco-admin.wrap div.auto-comp-wrap.error input[type=text]{border-color:#c00;color:#c00}#loco-admin.wrap div.auto-comp-wrap.error input[type=text]:focus{-webkit-box-shadow:0 0 .5em 0 rgba(153,0,0,.5);-moz-box-shadow:0 0 .5em 0 rgba(153,0,0,.5);box-shadow:0 0 .5em 0 rgba(153,0,0,.5)}#loco-admin.wrap ._ajax_loader_f2{background-image:url(../img/ajax-loader-f2.gif?v=2.5.4);background-repeat:no-repeat;min-height:16px}#loco-admin.wrap ._ajax_loader_f2x4{background:transparent url(../img/ajax-loader-f2-x4.gif?v=2.5.4) 0 0 no-repeat;min-height:75px}#loco-admin.wrap ._ajax_loader_cc{background-image:url(../img/ajax-loader-cc.gif?v=2.5.4);background-repeat:no-repeat;min-height:16px}@media only screen and (-webkit-min-device-pixel-ratio: 2),only screen and (min--moz-device-pixel-ratio: 2),only screen and (-o-min-device-pixel-ratio: 2/1),only screen and (min-device-pixel-ratio: 2),only screen and (min-resolution: 192dpi),only screen and (min-resolution: 2dppx){#loco-admin.wrap ._ajax_loader_f2{background-image:url(../img/ajax-loader-f2-x2.gif?v=2.5.4);background-size:16px}#loco-admin.wrap ._ajax_loader_cc{background-image:url(../img/ajax-loader-cc-x2.gif?v=2.5.4);background-size:16px}}#loco-admin.wrap ._green_glow_inner{-webkit-box-shadow:inset 0 0 10px 0 #3db63d;-moz-box-shadow:inset 0 0 10px 0 #3db63d;box-shadow:inset 0 0 10px 0 #3db63d}#loco-admin.wrap ._green_glow_outer{-webkit-box-shadow:0 0 .5em 0 #3db63d;-moz-box-shadow:0 0 .5em 0 #3db63d;box-shadow:0 0 .5em 0 #3db63d}#loco-admin.wrap .loco-font,#loco-admin.wrap .wp-list-table th.loco-sort.loco-asc:after,#loco-admin.wrap .wp-list-table th.loco-sort.loco-desc:after,#loco-admin.wrap .icon,#loco-admin.wrap .has-icon:before{font-family:"loco";speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#loco-admin.wrap .has-icon:before{display:inline-block;padding-right:.3em}#loco-admin.wrap a.icon-help{cursor:help}#loco-admin.wrap a.icon-help span{display:none}#loco-admin.wrap .icon-notag:before{content:""}#loco-admin.wrap .icon-magnify:before{content:"🔍"}#loco-admin.wrap .icon-python:before{content:"🐍"}#loco-admin.wrap .icon-unicode:before{content:"u"}#loco-admin.wrap .icon-json:before{content:"{"}#loco-admin.wrap .icon-bullist:before{content:""}#loco-admin.wrap .icon-numlist:before{content:""}#loco-admin.wrap .icon-indent:before{content:""}#loco-admin.wrap .icon-outdent:before{content:""}#loco-admin.wrap .icon-link:before{content:""}#loco-admin.wrap .icon-unlink:before{content:""}#loco-admin.wrap .icon-bold:before{content:"B"}#loco-admin.wrap .icon-italic:before{content:"I"}#loco-admin.wrap .icon-translate:before{content:""}#loco-admin.wrap .icon-proj:before{content:""}#loco-admin.wrap .icon-plural:before{content:"᛬"}#loco-admin.wrap .icon-max:before,#loco-admin.wrap .icon-full-screen:before{content:""}#loco-admin.wrap .icon-min:before{content:""}#loco-admin.wrap .icon-sort:before{content:""}#loco-admin.wrap .icon-ok:before,#loco-admin.wrap .notice-success>.has-icon:before,#loco-admin.wrap .notice-success p>strong.has-icon:before{content:"✓"}#loco-admin.wrap .icon-ok-empty:before{content:"🗌"}#loco-admin.wrap .icon-checkbox-checked:before,#loco-admin.wrap .selector.multi li.checked .icon-checkbox:before{content:"☑"}#loco-admin.wrap .icon-checkbox-unchecked:before{content:"☐"}#loco-admin.wrap .icon-checkbox-partial:before{content:"☉"}#loco-admin.wrap .icon-radio-checked:before{content:"⚫"}#loco-admin.wrap .icon-radio-unchecked:before{content:"⚪"}#loco-admin.wrap .icon-ext:before{content:"⬈"}#loco-admin.wrap .icon-share:before{content:""}#loco-admin.wrap .icon-star:before{content:""}#loco-admin.wrap .icon-user:before{content:""}#loco-admin.wrap .icon-remove:before,#loco-admin.wrap a.icon.close:before{content:"×"}#loco-admin.wrap .icon-cog:before{content:""}#loco-admin.wrap .icon-trash:before{content:""}#loco-admin.wrap .icon-time:before,#loco-admin.wrap .icon-history:before{content:""}#loco-admin.wrap .icon-download:before{content:""}#loco-admin.wrap .icon-revert:before{content:""}#loco-admin.wrap .icon-sync:before{content:""}#loco-admin.wrap .icon-lock:before,#loco-admin.wrap .notice-locked>.has-icon:before,#loco-admin.wrap .notice-locked p>strong.has-icon:before{content:""}#loco-admin.wrap .icon-flag:before{content:""}#loco-admin.wrap .icon-tag:before{content:""}#loco-admin.wrap .icon-tags:before{content:""}#loco-admin.wrap .icon-print:before{content:""}#loco-admin.wrap .icon-camera:before{content:""}#loco-admin.wrap .icon-pencil:before{content:""}#loco-admin.wrap .icon-add:before{content:""}#loco-admin.wrap .icon-del:before{content:""}#loco-admin.wrap .icon-clear:before,#loco-admin.wrap a.icon.clear:before{content:""}#loco-admin.wrap .icon-ok-sign:before{content:"✔"}#loco-admin.wrap .icon-help:before{content:"?"}#loco-admin.wrap .icon-info:before,#loco-admin.wrap .notice-info>.has-icon:before,#loco-admin.wrap .notice-info p>strong.has-icon:before{content:"ℹ"}#loco-admin.wrap .icon-cancel:before{content:""}#loco-admin.wrap .icon-warn:before,#loco-admin.wrap .notice-error>.has-icon:before,#loco-admin.wrap .notice-error p>strong.has-icon:before,#loco-admin.wrap .notice-warning>.has-icon:before,#loco-admin.wrap .notice-warning p>strong.has-icon:before{content:""}#loco-admin.wrap .icon-comment:before{content:""}#loco-admin.wrap .icon-bar-chart:before{content:""}#loco-admin.wrap .icon-key:before{content:""}#loco-admin.wrap .icon-cogs:before{content:""}#loco-admin.wrap .icon-comments:before{content:""}#loco-admin.wrap .icon-signout:before{content:""}#loco-admin.wrap .icon-signin:before{content:""}#loco-admin.wrap .icon-upload:before{content:""}#loco-admin.wrap .icon-twitter:before{content:"🐦"}#loco-admin.wrap .icon-facebook:before{content:""}#loco-admin.wrap .icon-github:before{content:""}#loco-admin.wrap .icon-feed:before{content:""}#loco-admin.wrap .icon-globe:before{content:""}#loco-admin.wrap .icon-wrench:before,#loco-admin.wrap .notice-debug>.has-icon:before,#loco-admin.wrap .notice-debug p>strong.has-icon:before{content:""}#loco-admin.wrap .icon-group:before{content:""}#loco-admin.wrap .icon-cloud:before{content:""}#loco-admin.wrap .icon-copy:before{content:""}#loco-admin.wrap .icon-save:before{content:""}#loco-admin.wrap .icon-menu:before{content:""}#loco-admin.wrap .icon-table:before{content:""}#loco-admin.wrap .icon-caret-down:before{content:"▼"}#loco-admin.wrap .icon-caret-up:before{content:"▲"}#loco-admin.wrap .icon-caret-right:before{content:"▶"}#loco-admin.wrap .icon-mail:before{content:""}#loco-admin.wrap .icon-cloud-upload:before{content:""}#loco-admin.wrap .icon-file:before{content:""}#loco-admin.wrap .icon-circle-white:before{content:"⚬"}#loco-admin.wrap .icon-circle-black:before{content:"●"}#loco-admin.wrap .icon-eraser:before{content:""}#loco-admin.wrap .icon-unlock:before{content:""}#loco-admin.wrap .icon-apple:before{content:""}#loco-admin.wrap .icon-android:before{content:""}#loco-admin.wrap .icon-robot:before{content:"🤖"}#loco-admin.wrap .icon-back:before{content:"⬅"}#loco-admin.wrap .icon-next:before{content:"➔"}#loco-admin.wrap .icon-arrow-up:before{content:""}#loco-admin.wrap .icon-ccard:before{content:""}#loco-admin.wrap .icon-caret-left:before{content:"◀"}#loco-admin.wrap .icon-pro:before{content:"⚡"}#loco-admin.wrap .icon-bell:before{content:""}#loco-admin.wrap .icon-code:before{content:""}#loco-admin.wrap .icon-privacy:before{content:"🛡"}#loco-admin.wrap .icon-hellip:before{content:"…"}#loco-admin.wrap .icon-vellip:before{content:"⁞"}#loco-admin.wrap .icon-collapse:before{content:""}#loco-admin.wrap .icon-expand:before{content:""}#loco-admin.wrap .icon-wordpress:before{content:""}#loco-admin.wrap .icon-database:before{content:""}#loco-admin.wrap .icon-restore:before{content:""}#loco-admin.wrap .icon-pilcrow:before{content:"¶"}#loco-admin.wrap .icon-status.is-translated:before,#loco-admin.wrap .is-translated>header>.icon-status:before{color:#2e892e;content:"✓";text-align:center}#loco-admin.wrap .icon-status.is-untranslated:before,#loco-admin.wrap .is-untranslated>header>.icon-status:before{color:#aaa;content:"×";text-align:center;font-size:1.1em}#loco-admin.wrap .icon-status.is-flagged:before,#loco-admin.wrap .is-flagged>header>.icon-status:before{color:#bd2c00;content:"";text-align:center}#loco-admin.wrap .icon-status.is-translated.is-blank:before,#loco-admin.wrap .icon-status.is-translated.is-inherit:before,#loco-admin.wrap .is-translated.is-blank>header>.icon-status:before,#loco-admin.wrap .is-translated.is-inherit>header>.icon-status:before{content:"🗌"}#loco-admin.wrap .icon-status.is-fuzzy:before,#loco-admin.wrap .is-fuzzy>header>.icon-status:before{color:#666;content:""}#loco-admin.wrap .lang,#loco-admin.wrap .region,#loco-admin.wrap .variant-wales,#loco-admin.wrap .region-gb.lang-cy,#loco-admin.wrap .variant-scotland,#loco-admin.wrap .region-gb.lang-gd,#loco-admin.wrap .variant-valencia,#loco-admin.wrap .region-es.variant-valencia,#loco-admin.wrap .lang-ca,#loco-admin.wrap .region-es.lang-ca,#loco-admin.wrap .lang-eo,#loco-admin.wrap .lang-eu{color:#fff;background:#2e892e;display:inline-block;text-transform:uppercase;overflow:hidden;font-family:Verdana,Arial,sans-serif;font-size:9px;font-weight:normal;font-style:normal;line-height:12px;text-align:center;white-space:normal;text-shadow:none}#loco-admin.wrap .lang{width:20px;height:12px;line-height:12px;vertical-align:middle}#loco-admin.wrap .lang:before{content:attr(lang);vertical-align:baseline}#loco-admin.wrap .no-lang{width:18px;height:10px;border:solid 1px #2e892e;background:transparent}#loco-admin.wrap .lang-el{background-color:#1d48a3}#loco-admin.wrap .lang-el:before{content:"Ελ"}#loco-admin.wrap .region,#loco-admin.wrap .variant-wales,#loco-admin.wrap .region-gb.lang-cy,#loco-admin.wrap .variant-scotland,#loco-admin.wrap .region-gb.lang-gd,#loco-admin.wrap .variant-valencia,#loco-admin.wrap .region-es.variant-valencia,#loco-admin.wrap .lang-ca,#loco-admin.wrap .region-es.lang-ca,#loco-admin.wrap .lang-eo,#loco-admin.wrap .lang-eu{width:16px;height:12px;margin:0 2px;background-image:url(../img/flags.png?v=2.5.4);background-repeat:no-repeat;background-color:transparent}#loco-admin.wrap .region:before,#loco-admin.wrap .variant-wales:before,#loco-admin.wrap .region-gb.lang-cy:before,#loco-admin.wrap .variant-scotland:before,#loco-admin.wrap .region-gb.lang-gd:before,#loco-admin.wrap .variant-valencia:before,#loco-admin.wrap .region-es.variant-valencia:before,#loco-admin.wrap .lang-ca:before,#loco-admin.wrap .region-es.lang-ca:before,#loco-admin.wrap .lang-eo:before,#loco-admin.wrap .lang-eu:before{visibility:hidden}#loco-admin.wrap .lang-zh{background-color:#b90000}#loco-admin.wrap .lang-zh.script-hans:before{content:"中国"}#loco-admin.wrap .lang-zh.script-hant:before{content:"中國"}#loco-admin.wrap .__{background-position:0 0}#loco-admin.wrap .lang-eo{background-position:0 -12px}#loco-admin.wrap .lang-eu{background-position:0 -24px}#loco-admin.wrap .lang-ca,#loco-admin.wrap .region-es.lang-ca{background-position:0 -36px}#loco-admin.wrap .region-tg{background-position:0 -48px}#loco-admin.wrap .region-me{background-position:0 -60px}#loco-admin.wrap .region-la{background-position:0 -73px}#loco-admin.wrap .region-mr{background-position:0 -85px}#loco-admin.wrap .region-ni{background-position:0 -97px}#loco-admin.wrap .region-lv{background-position:0 -109px}#loco-admin.wrap .region-om{background-position:0 -121px}#loco-admin.wrap .region-af{background-position:0 -133px}#loco-admin.wrap .region-cy{background-position:0 -145px}#loco-admin.wrap .region-bj{background-position:0 -157px}#loco-admin.wrap .region-aq{background-position:0 -169px}#loco-admin.wrap .region-cn{background-position:0 -186px}#loco-admin.wrap .region-co{background-position:0 -198px}#loco-admin.wrap .region-cx{background-position:0 -210px}#loco-admin.wrap .region-ag{background-position:0 -222px}#loco-admin.wrap .region-ms{background-position:0 -234px}#loco-admin.wrap .region-md{background-position:0 -246px}#loco-admin.wrap .region-zm{background-position:0 -258px}#loco-admin.wrap .region-vn{background-position:0 -270px}#loco-admin.wrap .region-tf{background-position:0 -282px}#loco-admin.wrap .region-td{background-position:0 -294px}#loco-admin.wrap .region-yt{background-position:0 -306px}#loco-admin.wrap .region-lb{background-position:0 -318px}#loco-admin.wrap .region-mf{background-position:0 -330px}#loco-admin.wrap .region-lu{background-position:0 -347px}#loco-admin.wrap .region-mq{background-position:0 -359px}#loco-admin.wrap .region-cz{background-position:0 -371px}#loco-admin.wrap .region-ae{background-position:0 -383px}#loco-admin.wrap .region-cm{background-position:0 -395px}#loco-admin.wrap .region-bi{background-position:0 -407px}#loco-admin.wrap .region-ar{background-position:0 -419px}#loco-admin.wrap .region-as{background-position:0 -431px}#loco-admin.wrap .region-bh{background-position:0 -443px}#loco-admin.wrap .region-cl{background-position:0 -455px}#loco-admin.wrap .region-ad{background-position:0 -467px}#loco-admin.wrap .region-mp{background-position:0 -479px}#loco-admin.wrap .region-lt{background-position:0 -491px}#loco-admin.wrap .region-mg{background-position:0 -503px}#loco-admin.wrap .region-lc{background-position:0 -515px}#loco-admin.wrap .region-tr{background-position:0 -527px}#loco-admin.wrap .region-ua{background-position:0 -539px}#loco-admin.wrap .region-tv{background-position:0 -551px}#loco-admin.wrap .region-vi{background-position:0 -563px}#loco-admin.wrap .region-mt{background-position:0 -575px}#loco-admin.wrap .region-no{background-position:0 -587px}#loco-admin.wrap .region-mc{background-position:0 -599px}#loco-admin.wrap .region-ch{background-position:0 -611px}#loco-admin.wrap .region-bl{background-position:0 -623px}#loco-admin.wrap .region-aw{background-position:0 -640px}#loco-admin.wrap .region-bz{background-position:0 -652px}#loco-admin.wrap .region-bm{background-position:0 -664px}#loco-admin.wrap .region-ci{background-position:0 -676px}#loco-admin.wrap .region-mu{background-position:0 -688px}#loco-admin.wrap .region-us{background-position:0 -700px}#loco-admin.wrap .region-tw{background-position:0 -712px}#loco-admin.wrap .region-ye{background-position:0 -724px}#loco-admin.wrap .region-mw{background-position:0 -736px}#loco-admin.wrap .region-nl{background-position:0 -748px}#loco-admin.wrap .region-ls{background-position:0 -760px}#loco-admin.wrap .region-bo{background-position:0 -772px}#loco-admin.wrap .region-at{background-position:0 -784px}#loco-admin.wrap .region-ck{background-position:0 -796px}#loco-admin.wrap .region-by{background-position:0 -808px}#loco-admin.wrap .region-au{background-position:0 -820px}#loco-admin.wrap .region-bn{background-position:0 -832px}#loco-admin.wrap .region-ma{background-position:0 -844px}#loco-admin.wrap .region-nz{background-position:0 -856px}#loco-admin.wrap .region-lr{background-position:0 -868px}#loco-admin.wrap .region-mv{background-position:0 -880px}#loco-admin.wrap .region-tc{background-position:0 -892px}#loco-admin.wrap .region-ug{background-position:0 -904px}#loco-admin.wrap .region-tt{background-position:0 -916px}#loco-admin.wrap .region-pl{background-position:0 -928px}#loco-admin.wrap .region-rs{background-position:0 -940px}#loco-admin.wrap .region-in{background-position:0 -952px}#loco-admin.wrap .region-ge{background-position:0 -964px}#loco-admin.wrap .region-gr{background-position:0 -976px}#loco-admin.wrap .region-gs{background-position:0 -988px}#loco-admin.wrap .region-gd{background-position:0 -1000px}#loco-admin.wrap .region-io{background-position:0 -1012px}#loco-admin.wrap .region-hk{background-position:0 -1024px}#loco-admin.wrap .region-kp{background-position:0 -1036px}#loco-admin.wrap .region-kg{background-position:0 -1048px}#loco-admin.wrap .region-pm{background-position:0 -1060px}#loco-admin.wrap .region-sv{background-position:0 -1072px}#loco-admin.wrap .region-re{background-position:0 -1084px}#loco-admin.wrap .region-sa{background-position:0 -1096px}#loco-admin.wrap .region-sc{background-position:0 -1108px}#loco-admin.wrap .region-st{background-position:0 -1120px}#loco-admin.wrap .region-ke{background-position:0 -1132px}#loco-admin.wrap .region-im{background-position:0 -1144px}#loco-admin.wrap .region-kr{background-position:0 -1161px}#loco-admin.wrap .region-gf{background-position:0 -1173px}#loco-admin.wrap .region-dj{background-position:0 -1185px}#loco-admin.wrap .region-gq{background-position:0 -1197px}#loco-admin.wrap .region-gp{background-position:0 -1209px}#loco-admin.wrap .region-dk{background-position:0 -1221px}#loco-admin.wrap .region-gg{background-position:0 -1233px}#loco-admin.wrap .region-il{background-position:0 -1250px}#loco-admin.wrap .region-pn{background-position:0 -1262px}#loco-admin.wrap .region-sb{background-position:0 -1274px}#loco-admin.wrap .region-py{background-position:0 -1286px}#loco-admin.wrap .region-ru{background-position:0 -1298px}#loco-admin.wrap .region-kw{background-position:0 -1310px}#loco-admin.wrap .region-do{background-position:0 -1322px}#loco-admin.wrap .region-gt{background-position:0 -1334px}#loco-admin.wrap .region-gb{background-position:0 -1346px}#loco-admin.wrap .region-gu{background-position:0 -1358px}#loco-admin.wrap .region-je{background-position:0 -1370px}#loco-admin.wrap .region-hm{background-position:0 -1387px}#loco-admin.wrap .region-sg{background-position:0 -1399px}#loco-admin.wrap .region-pk{background-position:0 -1411px}#loco-admin.wrap .region-sr{background-position:0 -1423px}#loco-admin.wrap .region-se{background-position:0 -1435px}#loco-admin.wrap .region-jp{background-position:0 -1447px}#loco-admin.wrap .region-gw{background-position:0 -1459px}#loco-admin.wrap .region-eh{background-position:0 -1471px}#loco-admin.wrap .region-dz{background-position:0 -1483px}#loco-admin.wrap .region-ga{background-position:0 -1495px}#loco-admin.wrap .region-fr{background-position:0 -1507px}#loco-admin.wrap .region-dm{background-position:0 -1519px}#loco-admin.wrap .region-hn{background-position:0 -1531px}#loco-admin.wrap .region-sd{background-position:0 -1543px}#loco-admin.wrap .region-rw{background-position:0 -1555px}#loco-admin.wrap .region-ph{background-position:0 -1567px}#loco-admin.wrap .region-ss{background-position:0 -1579px}#loco-admin.wrap .region-qa{background-position:0 -1596px}#loco-admin.wrap .region-pe{background-position:0 -1608px}#loco-admin.wrap .region-pr{background-position:0 -1620px}#loco-admin.wrap .region-si{background-position:0 -1632px}#loco-admin.wrap .region-ht{background-position:0 -1644px}#loco-admin.wrap .region-es{background-position:0 -1656px}#loco-admin.wrap .region-gl{background-position:0 -1668px}#loco-admin.wrap .region-gm{background-position:0 -1680px}#loco-admin.wrap .region-er{background-position:0 -1692px}#loco-admin.wrap .region-fi{background-position:0 -1704px}#loco-admin.wrap .region-ee{background-position:0 -1716px}#loco-admin.wrap .region-kn{background-position:0 -1728px}#loco-admin.wrap .region-hu{background-position:0 -1740px}#loco-admin.wrap .region-iq{background-position:0 -1752px}#loco-admin.wrap .region-ky{background-position:0 -1764px}#loco-admin.wrap .region-sh{background-position:0 -1776px}#loco-admin.wrap .region-ps{background-position:0 -1788px}#loco-admin.wrap .region-pf{background-position:0 -1800px}#loco-admin.wrap .region-sj{background-position:0 -1812px}#loco-admin.wrap .region-id{background-position:0 -1824px}#loco-admin.wrap .region-is{background-position:0 -1836px}#loco-admin.wrap .region-eg{background-position:0 -1848px}#loco-admin.wrap .region-fk{background-position:0 -1860px}#loco-admin.wrap .region-fj{background-position:0 -1872px}#loco-admin.wrap .region-gn{background-position:0 -1884px}#loco-admin.wrap .region-gy{background-position:0 -1896px}#loco-admin.wrap .region-ir{background-position:0 -1908px}#loco-admin.wrap .region-km{background-position:0 -1920px}#loco-admin.wrap .region-ie{background-position:0 -1932px}#loco-admin.wrap .region-kz{background-position:0 -1944px}#loco-admin.wrap .region-ro{background-position:0 -1956px}#loco-admin.wrap .region-sk{background-position:0 -1968px}#loco-admin.wrap .region-pg{background-position:0 -1980px}#loco-admin.wrap .region-pt{background-position:0 -1992px}#loco-admin.wrap .region-so{background-position:0 -2004px}#loco-admin.wrap .region-sx{background-position:0 -2016px}#loco-admin.wrap .region-hr{background-position:0 -2033px}#loco-admin.wrap .region-ki{background-position:0 -2045px}#loco-admin.wrap .region-jm{background-position:0 -2057px}#loco-admin.wrap .region-ec{background-position:0 -2069px}#loco-admin.wrap .region-et{background-position:0 -2081px}#loco-admin.wrap .region-fo{background-position:0 -2093px}#loco-admin.wrap .region-kh{background-position:0 -2105px}#loco-admin.wrap .region-sy{background-position:0 -2117px}#loco-admin.wrap .region-sn{background-position:0 -2129px}#loco-admin.wrap .region-pw{background-position:0 -2141px}#loco-admin.wrap .region-sl{background-position:0 -2153px}#loco-admin.wrap .region-fm{background-position:0 -2165px}#loco-admin.wrap .region-gi{background-position:0 -2177px}#loco-admin.wrap .region-de{background-position:0 -2189px}#loco-admin.wrap .region-gh{background-position:0 -2201px}#loco-admin.wrap .region-jo{background-position:0 -2213px}#loco-admin.wrap .region-it{background-position:0 -2225px}#loco-admin.wrap .region-pa{background-position:0 -2237px}#loco-admin.wrap .region-sz{background-position:0 -2249px}#loco-admin.wrap .region-sm{background-position:0 -2261px}#loco-admin.wrap .region-tn{background-position:0 -2273px}#loco-admin.wrap .region-ml{background-position:0 -2285px}#loco-admin.wrap .region-cg{background-position:0 -2297px}#loco-admin.wrap .region-ax{background-position:0 -2309px}#loco-admin.wrap .region-ao{background-position:0 -2321px}#loco-admin.wrap .region-bt{background-position:0 -2333px}#loco-admin.wrap .region-an{background-position:0 -2345px}#loco-admin.wrap .region-bb{background-position:0 -2357px}#loco-admin.wrap .region-cf{background-position:0 -2369px}#loco-admin.wrap .region-mm{background-position:0 -2381px}#loco-admin.wrap .region-li{background-position:0 -2393px}#loco-admin.wrap .region-na{background-position:0 -2405px}#loco-admin.wrap .region-mz{background-position:0 -2417px}#loco-admin.wrap .region-to{background-position:0 -2429px}#loco-admin.wrap .region-vg{background-position:0 -2441px}#loco-admin.wrap .region-ve{background-position:0 -2453px}#loco-admin.wrap .region-tz{background-position:0 -2465px}#loco-admin.wrap .region-tm{background-position:0 -2477px}#loco-admin.wrap .region-mx{background-position:0 -2489px}#loco-admin.wrap .region-nc{background-position:0 -2501px}#loco-admin.wrap .region-mo{background-position:0 -2513px}#loco-admin.wrap .region-lk{background-position:0 -2525px}#loco-admin.wrap .region-cd{background-position:0 -2537px}#loco-admin.wrap .region-al{background-position:0 -2549px}#loco-admin.wrap .region-bw{background-position:0 -2561px}#loco-admin.wrap .region-cs{background-position:0 -2573px}#loco-admin.wrap .region-cr{background-position:0 -2585px}#loco-admin.wrap .region-bv{background-position:0 -2597px}#loco-admin.wrap .region-am{background-position:0 -2609px}#loco-admin.wrap .region-az{background-position:0 -2621px}#loco-admin.wrap .region-ba{background-position:0 -2633px}#loco-admin.wrap .region-mn{background-position:0 -2645px}#loco-admin.wrap .region-nu{background-position:0 -2657px}#loco-admin.wrap .region-my{background-position:0 -2669px}#loco-admin.wrap .region-tl{background-position:0 -2681px}#loco-admin.wrap .region-ws{background-position:0 -2693px}#loco-admin.wrap .region-th{background-position:0 -2705px}#loco-admin.wrap .region-nf{background-position:0 -2717px}#loco-admin.wrap .region-ly{background-position:0 -2729px}#loco-admin.wrap .region-ai{background-position:0 -2741px}#loco-admin.wrap .region-br{background-position:0 -2753px}#loco-admin.wrap .region-cv{background-position:0 -2765px}#loco-admin.wrap .region-be{background-position:0 -2777px}#loco-admin.wrap .region-ca{background-position:0 -2789px}#loco-admin.wrap .region-bd{background-position:0 -2801px}#loco-admin.wrap .region-cw{background-position:0 -2813px}#loco-admin.wrap .region-bs{background-position:0 -2830px}#loco-admin.wrap .region-ng{background-position:0 -2842px}#loco-admin.wrap .region-mk{background-position:0 -2854px}#loco-admin.wrap .region-np{background-position:0 -2866px}#loco-admin.wrap .region-va{background-position:0 -2878px}#loco-admin.wrap .region-uz{background-position:0 -2890px}#loco-admin.wrap .region-um{background-position:0 -2902px}#loco-admin.wrap .region-tk{background-position:0 -2914px}#loco-admin.wrap .region-vc{background-position:0 -2926px}#loco-admin.wrap .region-zw{background-position:0 -2938px}#loco-admin.wrap .region-nr{background-position:0 -2950px}#loco-admin.wrap .region-ne{background-position:0 -2962px}#loco-admin.wrap .region-cu{background-position:0 -2974px}#loco-admin.wrap .region-bq{background-position:0 -2986px}#loco-admin.wrap .region-bf{background-position:0 -2998px}#loco-admin.wrap .region-bg{background-position:0 -3010px}#loco-admin.wrap .region-cc{background-position:0 -3022px}#loco-admin.wrap .region-mh{background-position:0 -3034px}#loco-admin.wrap .region-za{background-position:0 -3046px}#loco-admin.wrap .region-uy{background-position:0 -3058px}#loco-admin.wrap .region-wf{background-position:0 -3070px}#loco-admin.wrap .region-vu{background-position:0 -3082px}#loco-admin.wrap .region-tj{background-position:0 -3094px}#loco-admin.wrap .variant-scotland,#loco-admin.wrap .region-gb.lang-gd{background-position:0 -3106px}#loco-admin.wrap .variant-valencia,#loco-admin.wrap .region-es.variant-valencia{background-position:0 -3118px}#loco-admin.wrap .variant-wales,#loco-admin.wrap .region-gb.lang-cy{background-position:0 -3130px}#loco-admin.wrap .x-eu{background-position:0 -3142px}#loco-admin.wrap span.lang code{display:none}#loco-admin.wrap .icon-notag:before{content:""}#loco-admin.wrap .icon-magnify:before{content:"🔍"}#loco-admin.wrap .icon-python:before{content:"🐍"}#loco-admin.wrap .icon-unicode:before{content:"u"}#loco-admin.wrap .icon-json:before{content:"{"}#loco-admin.wrap .icon-bullist:before{content:""}#loco-admin.wrap .icon-numlist:before{content:""}#loco-admin.wrap .icon-indent:before{content:""}#loco-admin.wrap .icon-outdent:before{content:""}#loco-admin.wrap .icon-link:before{content:""}#loco-admin.wrap .icon-unlink:before{content:""}#loco-admin.wrap .icon-bold:before{content:"B"}#loco-admin.wrap .icon-italic:before{content:"I"}#loco-admin.wrap .icon-translate:before{content:""}#loco-admin.wrap .icon-proj:before{content:""}#loco-admin.wrap .icon-plural:before{content:"᛬"}#loco-admin.wrap .icon-max:before,#loco-admin.wrap .icon-full-screen:before{content:""}#loco-admin.wrap .icon-min:before{content:""}#loco-admin.wrap .icon-sort:before{content:""}#loco-admin.wrap .icon-ok:before,#loco-admin.wrap .notice-success>.has-icon:before,#loco-admin.wrap .notice-success p>strong.has-icon:before{content:"✓"}#loco-admin.wrap .icon-ok-empty:before{content:"🗌"}#loco-admin.wrap .icon-checkbox-checked:before,#loco-admin.wrap .selector.multi li.checked .icon-checkbox:before{content:"☑"}#loco-admin.wrap .icon-checkbox-unchecked:before{content:"☐"}#loco-admin.wrap .icon-checkbox-partial:before{content:"☉"}#loco-admin.wrap .icon-radio-checked:before{content:"⚫"}#loco-admin.wrap .icon-radio-unchecked:before{content:"⚪"}#loco-admin.wrap .icon-ext:before{content:"⬈"}#loco-admin.wrap .icon-share:before{content:""}#loco-admin.wrap .icon-star:before{content:""}#loco-admin.wrap .icon-user:before{content:""}#loco-admin.wrap .icon-remove:before,#loco-admin.wrap a.icon.close:before{content:"×"}#loco-admin.wrap .icon-cog:before{content:""}#loco-admin.wrap .icon-trash:before{content:""}#loco-admin.wrap .icon-time:before,#loco-admin.wrap .icon-history:before{content:""}#loco-admin.wrap .icon-download:before{content:""}#loco-admin.wrap .icon-revert:before{content:""}#loco-admin.wrap .icon-sync:before{content:""}#loco-admin.wrap .icon-lock:before,#loco-admin.wrap .notice-locked>.has-icon:before,#loco-admin.wrap .notice-locked p>strong.has-icon:before{content:""}#loco-admin.wrap .icon-flag:before{content:""}#loco-admin.wrap .icon-tag:before{content:""}#loco-admin.wrap .icon-tags:before{content:""}#loco-admin.wrap .icon-print:before{content:""}#loco-admin.wrap .icon-camera:before{content:""}#loco-admin.wrap .icon-pencil:before{content:""}#loco-admin.wrap .icon-add:before{content:""}#loco-admin.wrap .icon-del:before{content:""}#loco-admin.wrap .icon-clear:before,#loco-admin.wrap a.icon.clear:before{content:""}#loco-admin.wrap .icon-ok-sign:before{content:"✔"}#loco-admin.wrap .icon-help:before{content:"?"}#loco-admin.wrap .icon-info:before,#loco-admin.wrap .notice-info>.has-icon:before,#loco-admin.wrap .notice-info p>strong.has-icon:before{content:"ℹ"}#loco-admin.wrap .icon-cancel:before{content:""}#loco-admin.wrap .icon-warn:before,#loco-admin.wrap .notice-error>.has-icon:before,#loco-admin.wrap .notice-error p>strong.has-icon:before,#loco-admin.wrap .notice-warning>.has-icon:before,#loco-admin.wrap .notice-warning p>strong.has-icon:before{content:""}#loco-admin.wrap .icon-comment:before{content:""}#loco-admin.wrap .icon-bar-chart:before{content:""}#loco-admin.wrap .icon-key:before{content:""}#loco-admin.wrap .icon-cogs:before{content:""}#loco-admin.wrap .icon-comments:before{content:""}#loco-admin.wrap .icon-signout:before{content:""}#loco-admin.wrap .icon-signin:before{content:""}#loco-admin.wrap .icon-upload:before{content:""}#loco-admin.wrap .icon-twitter:before{content:"🐦"}#loco-admin.wrap .icon-facebook:before{content:""}#loco-admin.wrap .icon-github:before{content:""}#loco-admin.wrap .icon-feed:before{content:""}#loco-admin.wrap .icon-globe:before{content:""}#loco-admin.wrap .icon-wrench:before,#loco-admin.wrap .notice-debug>.has-icon:before,#loco-admin.wrap .notice-debug p>strong.has-icon:before{content:""}#loco-admin.wrap .icon-group:before{content:""}#loco-admin.wrap .icon-cloud:before{content:""}#loco-admin.wrap .icon-copy:before{content:""}#loco-admin.wrap .icon-save:before{content:""}#loco-admin.wrap .icon-menu:before{content:""}#loco-admin.wrap .icon-table:before{content:""}#loco-admin.wrap .icon-caret-down:before{content:"▼"}#loco-admin.wrap .icon-caret-up:before{content:"▲"}#loco-admin.wrap .icon-caret-right:before{content:"▶"}#loco-admin.wrap .icon-mail:before{content:""}#loco-admin.wrap .icon-cloud-upload:before{content:""}#loco-admin.wrap .icon-file:before{content:""}#loco-admin.wrap .icon-circle-white:before{content:"⚬"}#loco-admin.wrap .icon-circle-black:before{content:"●"}#loco-admin.wrap .icon-eraser:before{content:""}#loco-admin.wrap .icon-unlock:before{content:""}#loco-admin.wrap .icon-apple:before{content:""}#loco-admin.wrap .icon-android:before{content:""}#loco-admin.wrap .icon-robot:before{content:"🤖"}#loco-admin.wrap .icon-back:before{content:"⬅"}#loco-admin.wrap .icon-next:before{content:"➔"}#loco-admin.wrap .icon-arrow-up:before{content:""}#loco-admin.wrap .icon-ccard:before{content:""}#loco-admin.wrap .icon-caret-left:before{content:"◀"}#loco-admin.wrap .icon-pro:before{content:"⚡"}#loco-admin.wrap .icon-bell:before{content:""}#loco-admin.wrap .icon-code:before{content:""}#loco-admin.wrap .icon-privacy:before{content:"🛡"}#loco-admin.wrap .icon-hellip:before{content:"…"}#loco-admin.wrap .icon-vellip:before{content:"⁞"}#loco-admin.wrap .icon-collapse:before{content:""}#loco-admin.wrap .icon-expand:before{content:""}#loco-admin.wrap .icon-wordpress:before{content:""}#loco-admin.wrap .icon-database:before{content:""}#loco-admin.wrap .icon-restore:before{content:""}#loco-admin.wrap .icon-pilcrow:before{content:"¶"}#loco-admin.wrap .icon,#loco-admin.wrap .has-icon:before,#loco-admin.wrap .has-dashicon:before{speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#loco-admin.wrap .icon,#loco-admin.wrap .has-icon:before{font-family:"loco"}#loco-admin.wrap .has-dashicon:before{font-family:"dashicons";font-size:1.4em}#loco-admin.wrap .has-icon:before,#loco-admin.wrap .has-dashicon:before,#loco-admin.wrap .has-icon>span{display:inline-block;vertical-align:middle}#loco-admin.wrap .only-icon{text-align:center}#loco-admin.wrap .only-icon:before{text-align:center;padding:0}#loco-admin.wrap .only-icon span{display:none}#loco-admin.wrap a,#loco-admin.wrap .wp-core-ui .button-link{text-decoration:none}#loco-admin.wrap h3:hover>a.loco-anchor{color:#ccc}#loco-admin.wrap h3:hover>a.loco-anchor:before{content:"¶"}#loco-admin.wrap .has-lang>span{display:inline-block;vertical-align:middle}#loco-admin.wrap a.has-lang:hover>span:last-child{text-decoration:underline}#loco-admin.wrap h1 ul,#loco-admin.wrap h1 li{margin:0;padding:0}#loco-admin.wrap h1 li{display:inline-block}#loco-admin.wrap h1 li:after{content:"/";color:#999;text-shadow:none;display:inline-block}#loco-admin.wrap h1 li:last-child:after{content:""}#loco-admin.wrap h1 li:last-child a{color:inherit;pointer-events:none;cursor:auto}#loco-admin.wrap h2 span{color:#999;font-weight:normal}#loco-admin.wrap h2 .loco-meta,#loco-admin.wrap h3 .loco-meta{color:inherit;font-size:14px;font-weight:normal;vertical-align:middle}#loco-admin.wrap .wp-list-table td:first-child .icon{width:16px;display:inline-block;text-align:center}#loco-admin.wrap .wp-list-table td{white-space:nowrap}#loco-admin.wrap .wp-list-table td>a,#loco-admin.wrap .wp-list-table td>time{display:inline-block;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;-o-text-overflow:ellipsis;-ms-text-overflow:ellipsis}#loco-admin.wrap .wp-list-table th.loco-sort{cursor:pointer}#loco-admin.wrap .wp-list-table th.loco-sort:hover{color:#000}#loco-admin.wrap .wp-list-table th.loco-sort.loco-asc:after,#loco-admin.wrap .wp-list-table th.loco-sort.loco-desc:after{padding:0 0 0 4px;color:#999}#loco-admin.wrap .wp-list-table th.loco-sort.loco-desc:after{content:"▼"}#loco-admin.wrap .wp-list-table th.loco-sort.loco-asc:after{content:"▲"}#loco-admin.wrap .wp-list-table td.has-row-actions{overflow:visible}#loco-admin.wrap form.loco-filter{display:block;margin-bottom:5px}#loco-admin.wrap form.loco-filter .icon-filter{color:#999}#loco-admin.wrap nav.above-list-table{margin-bottom:1em}#loco-admin.wrap nav.above-list-table a{display:inline-block;margin-right:1em}#loco-admin.wrap .wp-core-ui button.inverted,#loco-admin.wrap .wp-core-ui button.inverted:hover,#loco-admin.wrap .po-fuzzy button.icon-cloud{background:-moz-linear-gradient(top, #cccccc 0%, #e0e0e0 30%, #fefefe 100%);background:-webkit-linear-gradient(top, #cccccc 0%, #e0e0e0 30%, #fefefe 100%);background:linear-gradient(to bottom, #cccccc 0%, #e0e0e0 30%, #fefefe 100%);-webkit-box-shadow:0 1px 0 #fff;-moz-box-shadow:0 1px 0 #fff;box-shadow:0 1px 0 #fff;border-color:gray}#loco-admin.wrap .wp-core-ui button:active,#loco-admin.wrap .wp-core-ui button.inverted:active{border-color:#5b9dd9}#loco-admin.wrap .loco-clearable{display:inline-block;vertical-align:middle;position:relative}#loco-admin.wrap .loco-clearable a.clear,#loco-admin.wrap .auto-comp-wrap a.clear{top:0;right:0;outline:none;margin:0;border:solid 1px transparent;padding:5px 5px;position:absolute;font-size:1em;line-height:normal}#loco-admin.wrap .loco-clearable a.clear:before,#loco-admin.wrap .auto-comp-wrap a.clear:before{vertical-align:middle;padding:0;color:#999}#loco-admin.wrap .loco-clearable a.clear:hover:before,#loco-admin.wrap .auto-comp-wrap a.clear:hover:before{color:#333}#loco-admin.wrap .loco-clearable a.clear span,#loco-admin.wrap .auto-comp-wrap a.clear span{display:none}#loco-admin.wrap .loco-clearable ::-ms-clear,#loco-admin.wrap .auto-comp-wrap ::-ms-clear{display:none}#loco-admin.wrap div.progress{color:#000;background:transparent !important}#loco-admin.wrap div.progress *{height:100%;overflow:hidden;white-space:nowrap}#loco-admin.wrap div.progress .t{background-color:#ddd;border:1px solid #ccc}#loco-admin.wrap div.progress .t .bar{float:left;clear:none;background-color:#3db63d}#loco-admin.wrap div.progress .t .bar.f{background-color:#bd2c00}#loco-admin.wrap div.progress .l{display:block}#loco-admin.wrap td div.progress .t{border:none}#loco-admin.wrap td div.progress .l{display:none}#loco-admin.wrap code.path{color:#333;margin:0;padding:0;display:inline;background:transparent}#loco-admin.wrap .loco-danger{color:#d54e21}#loco-admin.wrap .notice,#loco-admin.wrap .panel{background:#fff;position:relative;margin:1em 0;padding:1px 12px}#loco-admin.wrap .notice-generic{border-color:#ddd}#loco-admin.wrap .notice-success>.has-icon,#loco-admin.wrap .notice-success p>strong.has-icon{color:#000}#loco-admin.wrap .notice-warning{border-color:orange}#loco-admin.wrap .notice-error{border-color:#dc3232}#loco-admin.wrap .notice-debug{border-color:#00a0d2}#loco-admin.wrap .notice-danger{border-color:#dc3232}#loco-admin.wrap .notice-locked{border-color:orange}#loco-admin.wrap .notice>.has-icon:before,#loco-admin.wrap .notice p>strong.has-icon:before{padding-right:6px}#loco-admin.wrap .notice>p>a.button.has-icon:before{width:1.2em}#loco-admin.wrap .notice>p>em{color:#d54e21;font-style:normal}#loco-admin.wrap .notice>p>em a{color:inherit}#loco-admin.wrap .notice>p a:hover,#loco-admin.wrap .notice>nav a:hover{text-decoration:underline}#loco-admin.wrap .notice>p a.button,#loco-admin.wrap .notice>nav a.button{text-decoration:inherit}#loco-admin.wrap .notice.has-nav{display:flex;flex-direction:row}#loco-admin.wrap .notice.has-nav p,#loco-admin.wrap .notice.has-nav nav{line-height:22px;flex-grow:1}#loco-admin.wrap .notice.has-nav nav{text-align:right;padding:2px;margin:.5em 0}#loco-admin.wrap .notice.has-nav.is-dismissible{padding-right:38px}#loco-admin.wrap .notice.has-nav a{white-space:nowrap}#loco-admin.wrap .notice.has-nav nav>span{color:#666}#loco-admin.wrap .notice>h3>span{display:inline-block;vertical-align:middle}#loco-admin.wrap ul.problems li{font-style:italic}#loco-admin.wrap label{position:relative}#loco-admin.wrap label.for-disabled,#loco-admin.wrap label.for-disabled>input{cursor:default !important}#loco-admin.wrap input.regular-text,#loco-admin.wrap textarea.regular-text{width:25em}#loco-admin.wrap .button-link{padding:0 10px 1px}#loco-admin.wrap .button-danger{background:#ba0000;border-color:#900 #600 #600;-webkit-box-shadow:0 1px 0 #600;-moz-box-shadow:0 1px 0 #600;box-shadow:0 1px 0 #600;color:#fff;text-shadow:0 -1px 1px #600,1px 0 1px #600,0 1px 1px #600,-1px 0 1px #600}#loco-admin.wrap .button-success{background:#00b500;border-color:#090 #2e892e #2e892e;-webkit-box-shadow:0 1px 0 #2e892e;-moz-box-shadow:0 1px 0 #2e892e;box-shadow:0 1px 0 #2e892e;color:#fff;text-shadow:0 -1px 1px #2e892e,1px 0 1px #2e892e,0 1px 1px #2e892e,-1px 0 1px #2e892e}#loco-admin.wrap .button-success:hover{background:#3db63d}#loco-admin.wrap .button-danger[disabled],#loco-admin.wrap .button-success[disabled]{text-shadow:none !important}#loco-admin.wrap form button.loco-loading.button-large{padding-left:0}#loco-admin.wrap form button.loco-loading.button-large:before{width:16px;height:16px;margin:0 4px;content:" ";font-size:16px;line-height:1;display:inline-block;vertical-align:sub}#loco-admin.wrap ::placeholder{color:#ccc}#loco-admin.wrap ::-webkit-input-placeholder{color:#ccc}#loco-admin.wrap :-moz-placeholder{color:#ccc;opacity:1}#loco-admin.wrap ::-moz-placeholder{color:#ccc;opacity:1}#loco-admin.wrap :-ms-input-placeholder{color:#ccc}#loco-admin.wrap .ielt10 .placeheld{color:#ccc}#loco-admin.wrap a.has-raquo:after{content:" »"}#loco-admin.wrap a.has-laquo:before{content:"« "}#loco-admin.wrap span.inline-spinner{display:inline-block;min-width:16px;min-height:16px;background:transparent url(../img/spin-modal.gif?v=2.5.4) 0 0 no-repeat}.js #wpbody-content>.notice{display:none}.js #wpbody-content>.notice.inline{display:block}.js #loco-admin.wrap .jshide,.no-js #loco-admin.wrap .jsonly{display:none !important}#loco-admin.wrap .invis{visibility:hidden}.form-table tr td{vertical-align:top}.form-table tr.compact td{padding-top:0}.form-table tr th a.icon-help{display:none}.loco-modal{min-width:50%;min-height:100px}.loco-modal-wide{min-width:90% !important}.loco-modal-no-close .ui-dialog-titlebar-close{display:none}.loco-modal .ui-dialog-titlebar-close{overflow:hidden}.loco-modal.request-filesystem-credentials-dialog{top:15% !important;max-height:85% !important}.loco-modal.request-filesystem-credentials-dialog>.ui-dialog-content{background:inherit}.loco-modal.request-filesystem-credentials-dialog .ftp-password>label>em:last-child{display:none}.ui-dialog-content>div.loco-loading{height:100%;background:transparent url(../img/spin-modal.gif?v=2.5.4) center 20px no-repeat}#loco-po-ref ol li{color:#aaa;margin:0;white-space:pre;padding:0 0 0 1em;font:normal 12px/17px Consolas,Monaco,monospace;background:transparent;border-left:1px solid #eee}#loco-po-ref ol li code{margin:0;padding:0;display:inline;background:inherit}#loco-po-ref ol li.highlighted{color:#666;background-color:#f8eec7}#loco-po-ref ol li.highlighted code.T_CONSTANT_ENCAPSED_STRING{color:#c931c7}#loco-credit>*{vertical-align:middle}#loco-credit>a{display:inline-block;position:relative;overflow:hidden;background:transparent url(../img/logo-foot.gif?v=2.5.4) 0 0 no-repeat;height:30px;width:100px;text-indent:200px;-webkit-transition-duration:0s;transition-duration:0s}#loco-credit>a:hover{background-position:0 -35px}#loco-content{position:relative}#footer-upgrade span:before{color:#ccc;content:" | ";display:inline;padding-left:.5em;padding-right:.5em}#footer-upgrade span:first-child:before{content:"";display:none}.loco-clearfix:after{content:".";display:block;clear:both;visibility:hidden;line-height:0;height:0}dl.debug dt{font-weight:bold}dl.debug dt,dl.debug dd{white-space:pre}.wrap #loco-editor .is-table .wg-tr:nth-child(even){background-color:rgba(0,115,170,.05)}.wrap #loco-editor .wg-split-x>nav.wg-tabs>a.active,.wrap #loco-editor .is-table .wg-cols>div>div.selected{background-color:#0073aa;foo:#0073aa}.wrap #loco-editor .is-editable>.wg-content>textarea:focus,.wrap #loco-editor .is-editable>.wg-content.has-focus .ace_scroller,.wrap #loco-editor .is-editable>.wg-content.has-focus .mce-content-body{border-color:#5b9dd9;-webkit-box-shadow:inset 0 0 .6em rgba(30,140,190,.8);-moz-box-shadow:inset 0 0 .6em rgba(30,140,190,.8);box-shadow:inset 0 0 .6em rgba(30,140,190,.8)}.wp-core-ui .button-primary.loco-loading[disabled]{color:#66c6e4 !important;background:#008ec2 !important;border-color:#008ec2 !important}.wp-core-ui .button-primary.loco-loading[disabled]:before{background:transparent url(../img/skins/fresh/spin-primary-button.gif?v=2.5.4) 0 0 no-repeat !important}
|
pub/css/editor.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
#loco-editor{border:solid 1px #ccc}#loco-editor ._ajax_loader_f2{background-image:url(../img/ajax-loader-f2.gif?v=2.5.3);background-repeat:no-repeat;min-height:16px}#loco-editor ._ajax_loader_f2x4{background:transparent url(../img/ajax-loader-f2-x4.gif?v=2.5.3) 0 0 no-repeat;min-height:75px}#loco-editor ._ajax_loader_cc{background-image:url(../img/ajax-loader-cc.gif?v=2.5.3);background-repeat:no-repeat;min-height:16px}@media only screen and (-webkit-min-device-pixel-ratio: 2),only screen and (min--moz-device-pixel-ratio: 2),only screen and (-o-min-device-pixel-ratio: 2/1),only screen and (min-device-pixel-ratio: 2),only screen and (min-resolution: 192dpi),only screen and (min-resolution: 2dppx){#loco-editor ._ajax_loader_f2{background-image:url(../img/ajax-loader-f2-x2.gif?v=2.5.3);background-size:16px}#loco-editor ._ajax_loader_cc{background-image:url(../img/ajax-loader-cc-x2.gif?v=2.5.3);background-size:16px}}#loco-editor ._green_glow_inner,#loco-editor .is-editable>.wg-content>textarea:focus,#loco-editor .is-editable>.wg-content.has-focus .ace_scroller,#loco-editor .is-editable>.wg-content.has-focus .wysihtml-editor,#loco-editor .is-editable>.wg-content.has-focus .mce-content-body{-webkit-box-shadow:inset 0 0 10px 0 #3db63d;-moz-box-shadow:inset 0 0 10px 0 #3db63d;box-shadow:inset 0 0 10px 0 #3db63d}#loco-editor ._green_glow_outer{-webkit-box-shadow:0 0 .5em 0 #3db63d;-moz-box-shadow:0 0 .5em 0 #3db63d;box-shadow:0 0 .5em 0 #3db63d}#loco-editor .loco-font,#loco-editor .is-table .wg-thead .wg-sortable>header:after{font-family:"loco";speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#loco-editor div.ta-mirror{position:absolute;top:0;border:solid 1px transparent;color:transparent;padding:.4em .6em;pointer-events:none}#loco-editor div.ta-mirror span{position:relative}#loco-editor div.ta-mirror span:after{color:#ccc;white-space:pre;display:inline-block;position:absolute;top:0;line-height:normal}#loco-editor div.ta-mirror .crlf:after{content:"¬"}#loco-editor div.ta-mirror .eof:after{content:"¶"}#loco-editor div.ta-mirror .x20:after{content:"·";color:#aaa}#loco-editor div.ta-mirror .x9:after{content:"⟶"}#loco-editor div.ta-mirror,#loco-editor .has-mirror textarea{white-space:pre-wrap;word-wrap:break-word;word-spacing:0px}#loco-editor .has-mirror ::placeholder{color:transparent}#loco-editor .has-mirror ::-webkit-input-placeholder{color:transparent}#loco-editor .has-mirror :-moz-placeholder{color:transparent;opacity:1}#loco-editor .has-mirror ::-moz-placeholder{color:transparent;opacity:1}#loco-editor .has-mirror :-ms-input-placeholder{color:transparent}#loco-editor .has-mirror .ielt10 .placeheld{color:transparent}#loco-editor div.ta-mirror{left:0;text-align:left}#loco-editor div.ta-mirror span:after{left:0}#loco-editor div.ta-mirror .eol:after{padding-left:.2em}#loco-editor [dir=RTL] div.ta-mirror{left:auto;right:0;text-align:right}#loco-editor [dir=RTL] div.ta-mirror span:after{right:0}#loco-editor [dir=RTL] div.ta-mirror .eol:after{padding-left:0;padding-right:.2em}#loco-editor .has-proxy>textarea{display:none !important}#loco-editor .has-proxy .ace_editor{height:100%;font-size:13px !important;line-height:1.4 !important}#loco-editor .has-proxy .ace_editor .ace_marker-layer .ace_bracket{display:none}#loco-editor .has-proxy .ace_print-margin{display:none}#loco-editor .ace_printf{color:#b90690;background-color:#edf1be}#loco-editor .ace_locked{color:gray}#loco-editor .ace_icu-quoted{color:gray}#loco-editor .ace_icu{color:#697eb9}#loco-editor .ace_icu.ace_name{color:#b90600}#loco-editor .resizer{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:0 0 6px 0;background:#f0f0f0 url(../img/wg/splity.png?v=2.5.3) center bottom no-repeat;border:1px solid #ddd;overflow:hidden;cursor:move;cursor:row-resize;cursor:s-resize}#loco-editor .resizer>*{height:100%;border:none}#loco-editor ._ajax_loader_f2{background-image:url(../img/ajax-loader-f2.gif?v=2.5.3);background-repeat:no-repeat;min-height:16px}#loco-editor ._ajax_loader_f2x4{background:transparent url(../img/ajax-loader-f2-x4.gif?v=2.5.3) 0 0 no-repeat;min-height:75px}#loco-editor ._ajax_loader_cc{background-image:url(../img/ajax-loader-cc.gif?v=2.5.3);background-repeat:no-repeat;min-height:16px}@media only screen and (-webkit-min-device-pixel-ratio: 2),only screen and (min--moz-device-pixel-ratio: 2),only screen and (-o-min-device-pixel-ratio: 2/1),only screen and (min-device-pixel-ratio: 2),only screen and (min-resolution: 192dpi),only screen and (min-resolution: 2dppx){#loco-editor ._ajax_loader_f2{background-image:url(../img/ajax-loader-f2-x2.gif?v=2.5.3);background-size:16px}#loco-editor ._ajax_loader_cc{background-image:url(../img/ajax-loader-cc-x2.gif?v=2.5.3);background-size:16px}}#loco-editor ._green_glow_inner,#loco-editor .is-editable>.wg-content>textarea:focus,#loco-editor .is-editable>.wg-content.has-focus .ace_scroller,#loco-editor .is-editable>.wg-content.has-focus .wysihtml-editor,#loco-editor .is-editable>.wg-content.has-focus .mce-content-body{-webkit-box-shadow:inset 0 0 10px 0 #3db63d;-moz-box-shadow:inset 0 0 10px 0 #3db63d;box-shadow:inset 0 0 10px 0 #3db63d}#loco-editor ._green_glow_outer{-webkit-box-shadow:0 0 .5em 0 #3db63d;-moz-box-shadow:0 0 .5em 0 #3db63d;box-shadow:0 0 .5em 0 #3db63d}#loco-editor .loco-font,#loco-editor .is-table .wg-thead .wg-sortable>header:after{font-family:"loco";speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#loco-editor .wg-cell,#loco-editor .wg-cell>div{clear:both;position:relative;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;outline:none}#loco-editor .wg-cell{left:0;top:0;padding:0;margin:0;overflow:hidden}#loco-editor .wg-split{background:#eee}#loco-editor .wg-body:after{content:".";display:block;clear:both;visibility:hidden;line-height:0;height:0}#loco-editor .wg-split-x>div>.not-first>*{margin-left:6px}#loco-editor .wg-split-y>div>.not-first>*{margin-top:6px}#loco-editor .wg-split>div>.has-title .wg-content{margin-top:0}#loco-editor .wg-split-x>div>.wg-cell{float:left;clear:none;height:100%}#loco-editor .wg-split-x>div{cursor:move;cursor:ew-resize;cursor:col-resize}#loco-editor .wg-split>div>.not-first:before{display:block;position:absolute;overflow:hidden;content:" "}#loco-editor .wg-split-x>div>.not-first:before{width:6px;height:100%;background:transparent url(../img/wg/splitx.png?v=2.5.3) center center no-repeat}#loco-editor .wg-split-y>div{cursor:move;cursor:ns-resize;cursor:row-resize}#loco-editor .wg-split-y>div>.not-first:before{height:6px;width:100%;background:transparent url(../img/wg/splity.png?v=2.5.3) center center no-repeat}#loco-editor .wg-split>div.locked{cursor:default}#loco-editor .wg-split-x>div.locked>.not-first>*{margin-left:0px}#loco-editor .wg-split-y>div.locked>.not-first>*{margin-top:0px}#loco-editor .wg-split>div.locked>.not-first:before{display:none}#loco-editor .has-title>header{background:#e2e2e2;cursor:default !important;margin:0;white-space:nowrap}#loco-editor .wg-content{background:#fff;cursor:default;padding:4px 6px;overflow:hidden;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#loco-editor .wg-toolbar{top:0;right:0;margin-top:6px;position:absolute}#loco-editor .wg-toolbar>span{color:#fff;background:#000;display:block;padding:0 6px;cursor:default !important}#loco-editor .wg-toolbar>span:active{color:#000;background-color:#fff}#loco-editor .wg-content,#loco-editor .wg-tbody>div{overflow:scroll;overflow-x:hidden;overflow-y:auto}#loco-editor .is-table{background-color:#fff}#loco-editor .is-table .wg-thead .has-title>header{font-weight:normal;background:transparent;padding:4px 0;margin:0 0 0 10px}#loco-editor .is-table .wg-thead>div>.not-first:before{background-position:center center}#loco-editor .is-table .wg-thead{background:#e2e2e2;border-bottom:solid 1px #ccc}#loco-editor .is-table .wg-tbody{background-image:url(data:image/gif;base64,R0lGODlhAQAsAIABAPz8/P///yH5BAEAAAEALAAAAAABACwAAAIIjI+pAe0PIygAOw==);position:relative}#loco-editor .is-table .wg-cols>div{float:left;clear:none}#loco-editor .is-table .wg-cols>div>div{white-space:nowrap;line-height:1.7em;padding-left:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;-o-text-overflow:ellipsis;-ms-text-overflow:ellipsis;background-color:#fff}#loco-editor .is-table .wg-cols>div>div:nth-child(even){background-color:#f7f7f7}#loco-editor .is-table .wg-cols>div>div.selected{background-color:#3db63d;color:#fff}#loco-editor .is-table .wg-cols>div>div.selected::selection{background-color:#fff;color:#000}#loco-editor .is-table .wg-cols>div:first-child>div{padding-left:4px}#loco-editor .is-table .wg-dead{clear:both}#loco-editor .is-table .wg-thead .wg-sortable>header{cursor:pointer !important}#loco-editor .is-table .wg-thead .wg-sortable>header:after{padding:0 0 0 5px;color:#999}#loco-editor .is-table .wg-thead .wg-sortable.wg-asc>header:after{content:"▲"}#loco-editor .is-table .wg-thead .wg-sortable.wg-desc>header:after{content:"▼"}#loco-editor .is-table .wg-thead .wg-sortable:hover>header:after{color:#000}#loco-editor .is-field>.wg-content{cursor:text;padding:0;line-height:normal;overflow:hidden;overflow-y:hidden}#loco-editor .is-field>.wg-content>div,#loco-editor .is-field>.wg-content>textarea{font-size:14px;line-height:1.4;border:1px solid #ddd;width:100%;height:100%;padding:8px 10px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-border-radius:0;-moz-border-radius:0;-ms-border-radius:0;-o-border-radius:0;border-radius:0}#loco-editor .is-field>.wg-content textarea{resize:none;overflow:auto;display:block}#loco-editor .is-field>.wg-content>.ace_editor{padding:0;border-width:0}#loco-editor .is-field>.wg-content>div[contenteditable]{overflow:scroll;overflow-x:hidden;overflow-y:auto}#loco-editor .is-readonly>.wg-content{cursor:default}#loco-editor .is-readonly>.wg-content>div,#loco-editor .is-readonly>.wg-content>textarea,#loco-editor .is-readonly>.wg-content>textarea[readonly]{background:#f8f8f8;text-shadow:0 1px #fff;color:inherit}#loco-editor .is-readonly>.wg-content .ace_scroller{cursor:default;background:#f8f8f8}#loco-editor .is-readonly>.wg-content .ace_cursor-layer{display:none}#loco-editor .is-readonly>.wg-content>textarea[readonly]{cursor:default}#loco-editor .is-editable>.wg-content[dir=RTL] .ace_editor .ace_line{direction:ltr;unicode-bidi:bidi-override}#loco-editor .wg-split-x>nav.wg-tabs{white-space:nowrap;text-align:center;cursor:default}#loco-editor .wg-split-x>nav.wg-tabs>a{display:inline-block;padding:.5em 1em;margin-top:.2em;color:#000;text-decoration:none;-webkit-border-radius:.2em .2em 0 0;-moz-border-radius:.2em .2em 0 0;-ms-border-radius:.2em .2em 0 0;-o-border-radius:.2em .2em 0 0;border-radius:.2em .2em 0 0;background-color:#f3f7fd}#loco-editor .wg-split-x>nav.wg-tabs>a:hover{background-color:#fff}#loco-editor .wg-split-x>nav.wg-tabs>a.active{background-color:#3db63d;color:#fff}#loco-editor .wg-split>div>.has-nav>.wg-body{margin-top:0px}#loco-editor .wg-dead{visibility:hidden}@media all and (max-width: 768px){#loco-editor .wg-split-x>div>.not-first>*{margin-left:20px}#loco-editor .wg-split-y>div>.not-first>*{margin-top:20px}#loco-editor .wg-split-x>div>.not-first:before{width:20px}#loco-editor .wg-split-y>div>.not-first:before{height:20px}#loco-editor .is-table .wg-thead header{padding-left:20px}}#loco-editor .is-table .po-fuzzy{color:#b59829;font-weight:bold}#loco-editor .is-table .po-empty{color:#1f507a;font-weight:bold}#loco-editor .is-table .po-flagged{color:#bd2c00}#loco-editor .is-table .wg-cols>div:first-child>div:before{font-family:loco;vertical-align:inherit;display:inline-block;content:" ";width:1.3em;line-height:1}#loco-editor .is-table .wg-cols>div:first-child>div.po-fuzzy:before{content:""}#loco-editor .is-table .wg-cols>div:first-child>div.po-flagged:before{content:""}#loco-editor .is-table .wg-cols>div:first-child>div.po-comment:before{content:"";color:#999}#loco-editor .is-table .wg-cols>div:first-child>div.po-unsaved:before{content:"";color:#f1d040}#loco-editor .is-table .wg-cols>div:first-child>div.selected:before{color:#fff !important}#loco-editor .wg-cell>.meta{color:#333;margin:0 !important;padding:6px 10px;font-weight:normal;font-size:13px;line-height:1.4em;cursor:default !important}#loco-editor .wg-cell>.meta>*{display:inline-block;margin-top:3px;margin-bottom:3px}#loco-editor .wg-cell>.meta>span{border:1px solid transparent;border-left:none}#loco-editor .wg-cell>.meta>mark{color:#fff;border-radius:2px;background-color:silver;border:1px solid silver;padding:0 .3em}#loco-editor .wg-cell>.meta>mark.tag{color:#999;background-color:#eee}#loco-editor .wg-cell>.meta>p{display:block;white-space:pre-line}#loco-editor .wg-cell>.meta .icon-warn{color:#c00}#loco-editor .wg-cell>.meta .has-icon:before{padding-right:0;width:17px}#loco-editor .wg-cell>.meta code{font-size:12px}#loco-editor .is-table .wg-cols>div>div>mark{display:inline-block;vertical-align:text-bottom;font:inherit;font-weight:normal;color:#fff;border-radius:2px;font-size:90%;line-height:1;padding:.2em .3em;background-color:rgba(0,0,0,.25)}#loco-editor .is-table .wg-cols>div>div.selected.po-flagged{background-color:#bd2c00}#loco-editor .is-table .wg-cols>div>div.selected.po-fuzzy{background-color:#b59829}#loco-editor .is-table .wg-cols>div>div.selected.po-empty{background-color:#999}#loco-editor #po-target header nav{display:block;position:absolute;right:0px;top:0px;padding:2px}#loco-editor #po-target header nav button{margin-left:5px}#loco-editor #po-target header nav.po-empty .icon-cloud{display:none !important}#loco-editor #po-list .wg-content{padding:0}#loco-editor #po-source>.wg-body>.has-title>header{background:transparent;font-weight:normal;float:left;clear:none;min-width:3.4em}#loco-editor #po-source>.wg-body>.has-title>.wg-content{clear:none}#loco-editor .has-title>header{line-height:normal;padding:6px}#loco-editor .has-title>header .lang{margin-right:6px;margin-bottom:1px}#loco-editor .trg-rtl #po-list-tbody .wg-cols>div[for=po-list-col-target]>div,#loco-editor .src-rtl #po-list-tbody .wg-cols>div[for=po-list-col-source]>div{direction:rtl;padding-left:0;padding-right:10px;text-align:right}#loco-editor #po-source>.wg-body>.has-title>h2{min-width:4.5em}#loco-editor .is-table .wg-td{font-size:13px}#loco-editor header,#loco-editor nav{display:block;position:relative}#loco-editor-inner{min-height:600px;font-size:14px;clear:both}#loco-editor-inner>div.loco-loading{height:100px;background:transparent url(../img/spin-editor-button.gif?v=2.5.3) center 20px no-repeat}#loco-editor-inner h2{color:#000;line-height:1}#loco-editor-inner .wg-cell>.meta code{padding:0;color:#0073aa;background:inherit;cursor:pointer}#loco-editor-inner .wg-cell>.meta code:hover{text-decoration:underline}#loco-admin.wrap #loco-editor>nav{font-size:14px;height:50px}#loco-admin.wrap #loco-editor>nav form{display:block;float:left;clear:none;padding:0;margin:0}#loco-admin.wrap #loco-editor>nav form.aux{float:right;margin-right:5px}#loco-admin.wrap #loco-editor>nav fieldset{display:block;position:relative;float:left;clear:none}#loco-admin.wrap #loco-editor>nav button,#loco-admin.wrap #loco-editor>nav input[type=text]{display:block;position:relative;float:left;clear:none;margin:5px 0 0 5px;height:36px;text-align:left;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#loco-admin.wrap #loco-editor>nav input[type=text]{padding:0 10px;font-size:14px;line-height:normal}#loco-admin.wrap #loco-editor>nav .invalid input[type=text]:focus{border-color:#c00;-webkit-box-shadow:0 0 2px rgba(153,0,0,.5);-moz-box-shadow:0 0 2px rgba(153,0,0,.5);box-shadow:0 0 2px rgba(153,0,0,.5)}#loco-admin.wrap #loco-editor>nav .loco-clearable{padding:0 20px}#loco-admin.wrap #loco-editor>nav .loco-clearable.invalid a.clear:before{color:#c00}#loco-admin.wrap #loco-editor>nav .loco-clearable a.clear{right:25px;line-height:2}#loco-admin.wrap #loco-editor>nav .loco-clearable a.clear:focus{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}#loco-admin.wrap #loco-editor>nav .loco-clearable a.clear:hover:before{color:#c00}#loco-admin.wrap #loco-editor>nav .loco-clearable a.clear:active:before{color:#000}#loco-admin.wrap #loco-editor>nav button.only-icon{width:40px}#loco-admin.wrap button.has-icon:before{width:16px;padding:0}#loco-admin.wrap button.has-icon.loco-loading:before{content:" ";height:16px;background:transparent url(../img/spin-editor-button.gif?v=2.5.3) 0 0 no-repeat}#loco-admin.wrap .button,#loco-admin.wrap .button-link,#loco-admin.wrap input[type=text]{border-color:#aaa;color:#444}#loco-admin.wrap .button:hover,#loco-admin.wrap .button-link:hover{color:#000}#loco-admin.wrap .button-primary,#loco-admin.wrap .button-primary:hover{color:#fff}#loco-admin.wrap button.icon-translate:before{font-size:16px}.loco-modal .loco-api{position:relative;padding:10px;background:#f7f7f7;border:solid 1px #eee;font-size:14px;margin-bottom:16px}.loco-modal .loco-api p{padding:0;margin:0;font-size:inherit}.loco-modal .loco-api blockquote{font-weight:bold;margin:0;padding:10px 0}.loco-modal .loco-api a.loco-api-credit{padding:0;display:block;position:absolute;right:10px;bottom:10px;text-decoration:none;white-space:nowrap;overflow:hidden;font-size:12px}.loco-modal .loco-api a.loco-api-credit:hover{text-decoration:underline}.loco-modal .loco-api-loading{text-indent:20px;background:transparent url(../img/spin-modal.gif?v=2.5.3) 10px center no-repeat}.loco-modal .loco-alert p{margin-bottom:2em;font-size:14px}.loco-modal .loco-alert nav{display:block;position:relative;margin:1em 0}.loco-modal .loco-alert nav a{display:inline-block;margin-right:1em;padding:10px}#loco-auto{display:none;min-width:50%;min-height:300px;position:relative}#loco-auto form blockquote{margin:0;padding:1em 0;font-size:14px}.loco-api a.loco-api-credit{color:inherit}.loco-api-yandex a.loco-api-credit:before{content:"Powered by "}.loco-api-google a.loco-api-credit{text-indent:200px;width:122px;height:16px;background:transparent url(../img/api/google.png?v=2.5.3) 0 0 no-repeat}.loco-api-microsoft a.loco-api-credit{text-indent:200px;width:152px;height:16px;background:transparent url(../img/api/microsoft.png?v=2.5.3) 0 0 no-repeat}.loco-api-deepl a.loco-api-credit{text-indent:200px;width:122px;height:16px;background:transparent url(../img/api/deepl.png?v=2.5.3) 0 0 no-repeat}
|
1 |
+
#loco-editor{border:solid 1px #ccc}#loco-editor ._ajax_loader_f2{background-image:url(../img/ajax-loader-f2.gif?v=2.5.4);background-repeat:no-repeat;min-height:16px}#loco-editor ._ajax_loader_f2x4{background:transparent url(../img/ajax-loader-f2-x4.gif?v=2.5.4) 0 0 no-repeat;min-height:75px}#loco-editor ._ajax_loader_cc{background-image:url(../img/ajax-loader-cc.gif?v=2.5.4);background-repeat:no-repeat;min-height:16px}@media only screen and (-webkit-min-device-pixel-ratio: 2),only screen and (min--moz-device-pixel-ratio: 2),only screen and (-o-min-device-pixel-ratio: 2/1),only screen and (min-device-pixel-ratio: 2),only screen and (min-resolution: 192dpi),only screen and (min-resolution: 2dppx){#loco-editor ._ajax_loader_f2{background-image:url(../img/ajax-loader-f2-x2.gif?v=2.5.4);background-size:16px}#loco-editor ._ajax_loader_cc{background-image:url(../img/ajax-loader-cc-x2.gif?v=2.5.4);background-size:16px}}#loco-editor ._green_glow_inner,#loco-editor .is-editable>.wg-content>textarea:focus,#loco-editor .is-editable>.wg-content.has-focus .ace_scroller,#loco-editor .is-editable>.wg-content.has-focus .wysihtml-editor,#loco-editor .is-editable>.wg-content.has-focus .mce-content-body{-webkit-box-shadow:inset 0 0 10px 0 #3db63d;-moz-box-shadow:inset 0 0 10px 0 #3db63d;box-shadow:inset 0 0 10px 0 #3db63d}#loco-editor ._green_glow_outer{-webkit-box-shadow:0 0 .5em 0 #3db63d;-moz-box-shadow:0 0 .5em 0 #3db63d;box-shadow:0 0 .5em 0 #3db63d}#loco-editor .loco-font,#loco-editor .is-table .wg-thead .wg-sortable>header:after{font-family:"loco";speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#loco-editor div.ta-mirror{position:absolute;top:0;border:solid 1px transparent;color:transparent;padding:.4em .6em;pointer-events:none}#loco-editor div.ta-mirror span{position:relative}#loco-editor div.ta-mirror span:after{color:#ccc;white-space:pre;display:inline-block;position:absolute;top:0;line-height:normal}#loco-editor div.ta-mirror .crlf:after{content:"¬"}#loco-editor div.ta-mirror .eof:after{content:"¶"}#loco-editor div.ta-mirror .x20:after{content:"·";color:#aaa}#loco-editor div.ta-mirror .x9:after{content:"⟶"}#loco-editor div.ta-mirror,#loco-editor .has-mirror textarea{white-space:pre-wrap;word-wrap:break-word;word-spacing:0px}#loco-editor .has-mirror ::placeholder{color:transparent}#loco-editor .has-mirror ::-webkit-input-placeholder{color:transparent}#loco-editor .has-mirror :-moz-placeholder{color:transparent;opacity:1}#loco-editor .has-mirror ::-moz-placeholder{color:transparent;opacity:1}#loco-editor .has-mirror :-ms-input-placeholder{color:transparent}#loco-editor .has-mirror .ielt10 .placeheld{color:transparent}#loco-editor div.ta-mirror{left:0;text-align:left}#loco-editor div.ta-mirror span:after{left:0}#loco-editor div.ta-mirror .eol:after{padding-left:.2em}#loco-editor [dir=RTL] div.ta-mirror{left:auto;right:0;text-align:right}#loco-editor [dir=RTL] div.ta-mirror span:after{right:0}#loco-editor [dir=RTL] div.ta-mirror .eol:after{padding-left:0;padding-right:.2em}#loco-editor .has-proxy>textarea{display:none !important}#loco-editor .has-proxy .ace_editor{height:100%;font-size:13px !important;line-height:1.4 !important}#loco-editor .has-proxy .ace_editor .ace_marker-layer .ace_bracket{display:none}#loco-editor .has-proxy .ace_print-margin{display:none}#loco-editor .ace_printf{color:#b90690;background-color:#edf1be}#loco-editor .ace_locked{color:gray}#loco-editor .ace_icu-quoted{color:gray}#loco-editor .ace_icu{color:#697eb9}#loco-editor .ace_icu.ace_name{color:#b90600}#loco-editor .resizer{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:0 0 6px 0;background:#f0f0f0 url(../img/wg/splity.png?v=2.5.4) center bottom no-repeat;border:1px solid #ddd;overflow:hidden;cursor:move;cursor:row-resize;cursor:s-resize}#loco-editor .resizer>*{height:100%;border:none}#loco-editor ._ajax_loader_f2{background-image:url(../img/ajax-loader-f2.gif?v=2.5.4);background-repeat:no-repeat;min-height:16px}#loco-editor ._ajax_loader_f2x4{background:transparent url(../img/ajax-loader-f2-x4.gif?v=2.5.4) 0 0 no-repeat;min-height:75px}#loco-editor ._ajax_loader_cc{background-image:url(../img/ajax-loader-cc.gif?v=2.5.4);background-repeat:no-repeat;min-height:16px}@media only screen and (-webkit-min-device-pixel-ratio: 2),only screen and (min--moz-device-pixel-ratio: 2),only screen and (-o-min-device-pixel-ratio: 2/1),only screen and (min-device-pixel-ratio: 2),only screen and (min-resolution: 192dpi),only screen and (min-resolution: 2dppx){#loco-editor ._ajax_loader_f2{background-image:url(../img/ajax-loader-f2-x2.gif?v=2.5.4);background-size:16px}#loco-editor ._ajax_loader_cc{background-image:url(../img/ajax-loader-cc-x2.gif?v=2.5.4);background-size:16px}}#loco-editor ._green_glow_inner,#loco-editor .is-editable>.wg-content>textarea:focus,#loco-editor .is-editable>.wg-content.has-focus .ace_scroller,#loco-editor .is-editable>.wg-content.has-focus .wysihtml-editor,#loco-editor .is-editable>.wg-content.has-focus .mce-content-body{-webkit-box-shadow:inset 0 0 10px 0 #3db63d;-moz-box-shadow:inset 0 0 10px 0 #3db63d;box-shadow:inset 0 0 10px 0 #3db63d}#loco-editor ._green_glow_outer{-webkit-box-shadow:0 0 .5em 0 #3db63d;-moz-box-shadow:0 0 .5em 0 #3db63d;box-shadow:0 0 .5em 0 #3db63d}#loco-editor .loco-font,#loco-editor .is-table .wg-thead .wg-sortable>header:after{font-family:"loco";speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#loco-editor .wg-cell,#loco-editor .wg-cell>div{clear:both;position:relative;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;outline:none}#loco-editor .wg-cell{left:0;top:0;padding:0;margin:0;overflow:hidden}#loco-editor .wg-split{background:#eee}#loco-editor .wg-body:after{content:".";display:block;clear:both;visibility:hidden;line-height:0;height:0}#loco-editor .wg-split-x>div>.not-first>*{margin-left:6px}#loco-editor .wg-split-y>div>.not-first>*{margin-top:6px}#loco-editor .wg-split>div>.has-title .wg-content{margin-top:0}#loco-editor .wg-split-x>div>.wg-cell{float:left;clear:none;height:100%}#loco-editor .wg-split-x>div{cursor:move;cursor:ew-resize;cursor:col-resize}#loco-editor .wg-split>div>.not-first:before{display:block;position:absolute;overflow:hidden;content:" "}#loco-editor .wg-split-x>div>.not-first:before{width:6px;height:100%;background:transparent url(../img/wg/splitx.png?v=2.5.4) center center no-repeat}#loco-editor .wg-split-y>div{cursor:move;cursor:ns-resize;cursor:row-resize}#loco-editor .wg-split-y>div>.not-first:before{height:6px;width:100%;background:transparent url(../img/wg/splity.png?v=2.5.4) center center no-repeat}#loco-editor .wg-split>div.locked{cursor:default}#loco-editor .wg-split-x>div.locked>.not-first>*{margin-left:0px}#loco-editor .wg-split-y>div.locked>.not-first>*{margin-top:0px}#loco-editor .wg-split>div.locked>.not-first:before{display:none}#loco-editor .has-title>header{background:#e2e2e2;cursor:default !important;margin:0;white-space:nowrap}#loco-editor .wg-content{background:#fff;cursor:default;padding:4px 6px;overflow:hidden;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#loco-editor .wg-toolbar{top:0;right:0;margin-top:6px;position:absolute}#loco-editor .wg-toolbar>span{color:#fff;background:#000;display:block;padding:0 6px;cursor:default !important}#loco-editor .wg-toolbar>span:active{color:#000;background-color:#fff}#loco-editor .wg-content,#loco-editor .wg-tbody>div{overflow:scroll;overflow-x:hidden;overflow-y:auto}#loco-editor .is-table{background-color:#fff}#loco-editor .is-table .wg-thead .has-title>header{font-weight:normal;background:transparent;padding:4px 0;margin:0 0 0 10px}#loco-editor .is-table .wg-thead>div>.not-first:before{background-position:center center}#loco-editor .is-table .wg-thead{background:#e2e2e2;border-bottom:solid 1px #ccc}#loco-editor .is-table .wg-tbody{background-image:url(data:image/gif;base64,R0lGODlhAQAsAIABAPz8/P///yH5BAEAAAEALAAAAAABACwAAAIIjI+pAe0PIygAOw==);position:relative}#loco-editor .is-table .wg-cols>div{float:left;clear:none}#loco-editor .is-table .wg-cols>div>div{white-space:nowrap;line-height:1.7em;padding-left:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;-o-text-overflow:ellipsis;-ms-text-overflow:ellipsis;background-color:#fff}#loco-editor .is-table .wg-cols>div>div:nth-child(even){background-color:#f7f7f7}#loco-editor .is-table .wg-cols>div>div.selected{background-color:#3db63d;color:#fff}#loco-editor .is-table .wg-cols>div>div.selected::selection{background-color:#fff;color:#000}#loco-editor .is-table .wg-cols>div:first-child>div{padding-left:4px}#loco-editor .is-table .wg-dead{clear:both}#loco-editor .is-table .wg-thead .wg-sortable>header{cursor:pointer !important}#loco-editor .is-table .wg-thead .wg-sortable>header:after{padding:0 0 0 5px;color:#999}#loco-editor .is-table .wg-thead .wg-sortable.wg-asc>header:after{content:"▲"}#loco-editor .is-table .wg-thead .wg-sortable.wg-desc>header:after{content:"▼"}#loco-editor .is-table .wg-thead .wg-sortable:hover>header:after{color:#000}#loco-editor .is-field>.wg-content{cursor:text;padding:0;line-height:normal;overflow:hidden;overflow-y:hidden}#loco-editor .is-field>.wg-content>div,#loco-editor .is-field>.wg-content>textarea{font-size:14px;line-height:1.4;border:1px solid #ddd;width:100%;height:100%;padding:8px 10px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-border-radius:0;-moz-border-radius:0;-ms-border-radius:0;-o-border-radius:0;border-radius:0}#loco-editor .is-field>.wg-content textarea{resize:none;overflow:auto;display:block}#loco-editor .is-field>.wg-content>.ace_editor{padding:0;border-width:0}#loco-editor .is-field>.wg-content>div[contenteditable]{overflow:scroll;overflow-x:hidden;overflow-y:auto}#loco-editor .is-readonly>.wg-content{cursor:default}#loco-editor .is-readonly>.wg-content>div,#loco-editor .is-readonly>.wg-content>textarea,#loco-editor .is-readonly>.wg-content>textarea[readonly]{background:#f8f8f8;text-shadow:0 1px #fff;color:inherit}#loco-editor .is-readonly>.wg-content .ace_scroller{cursor:default;background:#f8f8f8}#loco-editor .is-readonly>.wg-content .ace_cursor-layer{display:none}#loco-editor .is-readonly>.wg-content>textarea[readonly]{cursor:default}#loco-editor .is-editable>.wg-content[dir=RTL] .ace_editor .ace_line{direction:ltr;unicode-bidi:bidi-override}#loco-editor .wg-split-x>nav.wg-tabs{white-space:nowrap;text-align:center;cursor:default}#loco-editor .wg-split-x>nav.wg-tabs>a{display:inline-block;padding:.5em 1em;margin-top:.2em;color:#000;text-decoration:none;-webkit-border-radius:.2em .2em 0 0;-moz-border-radius:.2em .2em 0 0;-ms-border-radius:.2em .2em 0 0;-o-border-radius:.2em .2em 0 0;border-radius:.2em .2em 0 0;background-color:#f3f7fd}#loco-editor .wg-split-x>nav.wg-tabs>a:hover{background-color:#fff}#loco-editor .wg-split-x>nav.wg-tabs>a.active{background-color:#3db63d;color:#fff}#loco-editor .wg-split>div>.has-nav>.wg-body{margin-top:0px}#loco-editor .wg-dead{visibility:hidden}@media all and (max-width: 768px){#loco-editor .wg-split-x>div>.not-first>*{margin-left:20px}#loco-editor .wg-split-y>div>.not-first>*{margin-top:20px}#loco-editor .wg-split-x>div>.not-first:before{width:20px}#loco-editor .wg-split-y>div>.not-first:before{height:20px}#loco-editor .is-table .wg-thead header{padding-left:20px}}#loco-editor .is-table .po-fuzzy{color:#b59829;font-weight:bold}#loco-editor .is-table .po-empty{color:#1f507a;font-weight:bold}#loco-editor .is-table .po-flagged{color:#bd2c00}#loco-editor .is-table .wg-cols>div:first-child>div:before{font-family:loco;vertical-align:inherit;display:inline-block;content:" ";width:1.3em;line-height:1}#loco-editor .is-table .wg-cols>div:first-child>div.po-fuzzy:before{content:""}#loco-editor .is-table .wg-cols>div:first-child>div.po-flagged:before{content:""}#loco-editor .is-table .wg-cols>div:first-child>div.po-comment:before{content:"";color:#999}#loco-editor .is-table .wg-cols>div:first-child>div.po-unsaved:before{content:"";color:#f1d040}#loco-editor .is-table .wg-cols>div:first-child>div.selected:before{color:#fff !important}#loco-editor .wg-cell>.meta{color:#333;margin:0 !important;padding:6px 10px;font-weight:normal;font-size:13px;line-height:1.4em;cursor:default !important}#loco-editor .wg-cell>.meta>*{display:inline-block;margin-top:3px;margin-bottom:3px}#loco-editor .wg-cell>.meta>span{border:1px solid transparent;border-left:none}#loco-editor .wg-cell>.meta>mark{color:#fff;border-radius:2px;background-color:silver;border:1px solid silver;padding:0 .3em}#loco-editor .wg-cell>.meta>mark.tag{color:#999;background-color:#eee}#loco-editor .wg-cell>.meta>p{display:block;white-space:pre-line}#loco-editor .wg-cell>.meta .icon-warn{color:#c00}#loco-editor .wg-cell>.meta .has-icon:before{padding-right:0;width:17px}#loco-editor .wg-cell>.meta code{font-size:12px}#loco-editor .is-table .wg-cols>div>div>mark{display:inline-block;vertical-align:text-bottom;font:inherit;font-weight:normal;color:#fff;border-radius:2px;font-size:90%;line-height:1;padding:.2em .3em;background-color:rgba(0,0,0,.25)}#loco-editor .is-table .wg-cols>div>div.selected.po-flagged{background-color:#bd2c00}#loco-editor .is-table .wg-cols>div>div.selected.po-fuzzy{background-color:#b59829}#loco-editor .is-table .wg-cols>div>div.selected.po-empty{background-color:#999}#loco-editor #po-target header nav{display:block;position:absolute;right:0px;top:0px;padding:2px}#loco-editor #po-target header nav button{margin-left:5px}#loco-editor #po-target header nav.po-empty .icon-cloud{display:none !important}#loco-editor #po-list .wg-content{padding:0}#loco-editor #po-source>.wg-body>.has-title>header{background:transparent;font-weight:normal;float:left;clear:none;min-width:3.4em}#loco-editor #po-source>.wg-body>.has-title>.wg-content{clear:none}#loco-editor .has-title>header{line-height:normal;padding:6px}#loco-editor .has-title>header .lang{margin-right:6px;margin-bottom:1px}#loco-editor .trg-rtl #po-list-tbody .wg-cols>div[for=po-list-col-target]>div,#loco-editor .src-rtl #po-list-tbody .wg-cols>div[for=po-list-col-source]>div{direction:rtl;padding-left:0;padding-right:10px;text-align:right}#loco-editor #po-source>.wg-body>.has-title>h2{min-width:4.5em}#loco-editor .is-table .wg-td{font-size:13px}#loco-editor header,#loco-editor nav{display:block;position:relative}#loco-editor-inner{min-height:600px;font-size:14px;clear:both}#loco-editor-inner>div.loco-loading{height:100px;background:transparent url(../img/spin-editor-button.gif?v=2.5.4) center 20px no-repeat}#loco-editor-inner h2{color:#000;line-height:1}#loco-editor-inner .wg-cell>.meta code{padding:0;color:#0073aa;background:inherit;cursor:pointer}#loco-editor-inner .wg-cell>.meta code:hover{text-decoration:underline}#loco-admin.wrap #loco-editor>nav{font-size:14px;height:50px}#loco-admin.wrap #loco-editor>nav form{display:block;float:left;clear:none;padding:0;margin:0}#loco-admin.wrap #loco-editor>nav form.aux{float:right;margin-right:5px}#loco-admin.wrap #loco-editor>nav fieldset{display:block;position:relative;float:left;clear:none}#loco-admin.wrap #loco-editor>nav button,#loco-admin.wrap #loco-editor>nav input[type=text]{display:block;position:relative;float:left;clear:none;margin:5px 0 0 5px;height:36px;text-align:left;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#loco-admin.wrap #loco-editor>nav input[type=text]{padding:0 10px;font-size:14px;line-height:normal}#loco-admin.wrap #loco-editor>nav .invalid input[type=text]:focus{border-color:#c00;-webkit-box-shadow:0 0 2px rgba(153,0,0,.5);-moz-box-shadow:0 0 2px rgba(153,0,0,.5);box-shadow:0 0 2px rgba(153,0,0,.5)}#loco-admin.wrap #loco-editor>nav .loco-clearable{padding:0 20px}#loco-admin.wrap #loco-editor>nav .loco-clearable.invalid a.clear:before{color:#c00}#loco-admin.wrap #loco-editor>nav .loco-clearable a.clear{right:25px;line-height:2}#loco-admin.wrap #loco-editor>nav .loco-clearable a.clear:focus{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}#loco-admin.wrap #loco-editor>nav .loco-clearable a.clear:hover:before{color:#c00}#loco-admin.wrap #loco-editor>nav .loco-clearable a.clear:active:before{color:#000}#loco-admin.wrap #loco-editor>nav button.only-icon{width:40px}#loco-admin.wrap button.has-icon:before{width:16px;padding:0}#loco-admin.wrap button.has-icon.loco-loading:before{content:" ";height:16px;background:transparent url(../img/spin-editor-button.gif?v=2.5.4) 0 0 no-repeat}#loco-admin.wrap .button,#loco-admin.wrap .button-link,#loco-admin.wrap input[type=text]{border-color:#aaa;color:#444}#loco-admin.wrap .button:hover,#loco-admin.wrap .button-link:hover{color:#000}#loco-admin.wrap .button-primary,#loco-admin.wrap .button-primary:hover{color:#fff}#loco-admin.wrap button.icon-translate:before{font-size:16px}.loco-modal .loco-api{position:relative;padding:10px;background:#f7f7f7;border:solid 1px #eee;font-size:14px;margin-bottom:16px}.loco-modal .loco-api p{padding:0;margin:0;font-size:inherit}.loco-modal .loco-api blockquote{font-weight:bold;margin:0;padding:10px 0}.loco-modal .loco-api a.loco-api-credit{padding:0;display:block;position:absolute;right:10px;bottom:10px;text-decoration:none;white-space:nowrap;overflow:hidden;font-size:12px}.loco-modal .loco-api a.loco-api-credit:hover{text-decoration:underline}.loco-modal .loco-api-loading{text-indent:20px;background:transparent url(../img/spin-modal.gif?v=2.5.4) 10px center no-repeat}.loco-modal .loco-alert p{margin-bottom:2em;font-size:14px}.loco-modal .loco-alert nav{display:block;position:relative;margin:1em 0}.loco-modal .loco-alert nav a{display:inline-block;margin-right:1em;padding:10px}#loco-auto{display:none;min-width:50%;min-height:300px;position:relative}#loco-auto form blockquote{margin:0;padding:1em 0;font-size:14px}.loco-api a.loco-api-credit{color:inherit}.loco-api-yandex a.loco-api-credit:before{content:"Powered by "}.loco-api-google a.loco-api-credit{text-indent:200px;width:122px;height:16px;background:transparent url(../img/api/google.png?v=2.5.4) 0 0 no-repeat}.loco-api-microsoft a.loco-api-credit{text-indent:200px;width:152px;height:16px;background:transparent url(../img/api/microsoft.png?v=2.5.4) 0 0 no-repeat}.loco-api-deepl a.loco-api-credit{text-indent:200px;width:122px;height:16px;background:transparent url(../img/api/deepl.png?v=2.5.4) 0 0 no-repeat}
|
pub/css/podiff.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
#loco-admin.wrap .revisions-diff{padding:10px;min-height:20px}#loco-admin.wrap table.diff{border-collapse:collapse}#loco-admin.wrap table.diff td{white-space:nowrap;overflow:hidden;font:normal 12px/17px "Monaco","Menlo","Ubuntu Mono","Consolas","source-code-pro",monospace;padding:2px}#loco-admin.wrap table.diff td>span{color:#aaa}#loco-admin.wrap table.diff td>span:after{content:". "}#loco-admin.wrap table.diff tbody{border-top:1px dashed #ccc}#loco-admin.wrap table.diff tbody:first-child{border-top:none}#loco-admin.wrap .revisions.loading .diff-meta{color:#eee}#loco-admin.wrap .revisions.loading .loading-indicator span.spinner{visibility:visible;background:#fff url(../img/spin-modal.gif?v=2.5.
|
1 |
+
#loco-admin.wrap .revisions-diff{padding:10px;min-height:20px}#loco-admin.wrap table.diff{border-collapse:collapse}#loco-admin.wrap table.diff td{white-space:nowrap;overflow:hidden;font:normal 12px/17px "Monaco","Menlo","Ubuntu Mono","Consolas","source-code-pro",monospace;padding:2px}#loco-admin.wrap table.diff td>span{color:#aaa}#loco-admin.wrap table.diff td>span:after{content:". "}#loco-admin.wrap table.diff tbody{border-top:1px dashed #ccc}#loco-admin.wrap table.diff tbody:first-child{border-top:none}#loco-admin.wrap .revisions.loading .diff-meta{color:#eee}#loco-admin.wrap .revisions.loading .loading-indicator span.spinner{visibility:visible;background:#fff url(../img/spin-modal.gif?v=2.5.4) center center no-repeat}#loco-admin.wrap .revisions-meta{clear:both;padding:10px 12px;margin:0;position:relative;top:10px}#loco-admin.wrap .revisions-meta .diff-meta{clear:none;float:left;width:50%;padding:0;min-height:auto}#loco-admin.wrap .revisions-meta .diff-meta button{margin-top:5px}#loco-admin.wrap .revisions-meta .diff-meta-current{float:right;text-align:right}#loco-admin.wrap .revisions-meta time{color:#72777c}#loco-admin.wrap .revisions-control-frame{margin:10px 0}#loco-admin.wrap .revisions-diff-frame{margin-top:20px}
|
pub/css/poview.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.js #loco-admin.wrap .loco-loading{min-height:100px;background:#fff url(../img/spin-modal.gif?v=2.5.
|
1 |
+
.js #loco-admin.wrap .loco-loading{min-height:100px;background:#fff url(../img/spin-modal.gif?v=2.5.4) center center no-repeat}.js #loco-admin.wrap .loco-loading ol.msgcat{display:none}#loco-admin.wrap #loco-po{padding-right:0;overflow:auto}#loco-admin.wrap ol.msgcat{margin-left:3em;padding-top:1em;border-top:1px dashed #ccc}#loco-admin.wrap ol.msgcat:first-child{padding-top:0;border-top:none}#loco-admin.wrap ol.msgcat li{color:#aaa;margin:0;padding:0 0 0 1em;font:normal 12px/17px "Monaco","Menlo","Ubuntu Mono","Consolas","source-code-pro",monospace;border-left:1px solid #eee}#loco-admin.wrap ol.msgcat li>*{color:#333;white-space:pre}#loco-admin.wrap ol.msgcat li>.po-comment{color:#3cc200}#loco-admin.wrap ol.msgcat li>.po-refs{color:#0073aa}#loco-admin.wrap ol.msgcat li>.po-refs a{color:inherit;text-decoration:none}#loco-admin.wrap ol.msgcat li>.po-refs a:hover{text-decoration:underline}#loco-admin.wrap ol.msgcat li>.po-flags{color:#77904a}#loco-admin.wrap ol.msgcat li>.po-flags em{font-style:normal}#loco-admin.wrap ol.msgcat li>.po-word{color:#000}#loco-admin.wrap ol.msgcat li>.po-junk{font-style:italic;color:#ccc}#loco-admin.wrap ol.msgcat li>.po-string>span{color:#c931c7}#loco-admin.wrap form.loco-filter{top:0;right:0;position:absolute}#loco-admin.wrap .loco-invalid form.loco-filter input[type=text]:focus{border-color:#c00;-webkit-box-shadow:0 0 2px rgba(153,0,0,.5);-moz-box-shadow:0 0 2px rgba(153,0,0,.5);box-shadow:0 0 2px rgba(153,0,0,.5)}#loco-admin.wrap .loco-invalid ol.msgcat{list-style-type:none}#loco-admin.wrap .loco-invalid ol.msgcat li{color:#000}
|
pub/css/skins/blue.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.wrap #loco-editor .is-table .wg-tr:nth-child(even){background-color:rgba(9,100,132,.05)}.wrap #loco-editor .wg-split-x>nav.wg-tabs>a.active,.wrap #loco-editor .is-table .wg-cols>div>div.selected{background-color:#096484;foo:#096484}.wrap #loco-editor .is-editable>.wg-content>textarea:focus,.wrap #loco-editor .is-editable>.wg-content.has-focus .ace_scroller,.wrap #loco-editor .is-editable>.wg-content.has-focus .mce-content-body{border-color:#5b9dd9;-webkit-box-shadow:inset 0 0 .6em rgba(30,140,190,.8);-moz-box-shadow:inset 0 0 .6em rgba(30,140,190,.8);box-shadow:inset 0 0 .6em rgba(30,140,190,.8)}.wp-core-ui .button-primary.loco-loading[disabled]{color:#d1cdc7 !important;background:#db9925 !important;border-color:#db9925 !important}.wp-core-ui .button-primary.loco-loading[disabled]:before{background:transparent url(../../img/skins/blue/spin-primary-button.gif?v=2.5.
|
1 |
+
.wrap #loco-editor .is-table .wg-tr:nth-child(even){background-color:rgba(9,100,132,.05)}.wrap #loco-editor .wg-split-x>nav.wg-tabs>a.active,.wrap #loco-editor .is-table .wg-cols>div>div.selected{background-color:#096484;foo:#096484}.wrap #loco-editor .is-editable>.wg-content>textarea:focus,.wrap #loco-editor .is-editable>.wg-content.has-focus .ace_scroller,.wrap #loco-editor .is-editable>.wg-content.has-focus .mce-content-body{border-color:#5b9dd9;-webkit-box-shadow:inset 0 0 .6em rgba(30,140,190,.8);-moz-box-shadow:inset 0 0 .6em rgba(30,140,190,.8);box-shadow:inset 0 0 .6em rgba(30,140,190,.8)}.wp-core-ui .button-primary.loco-loading[disabled]{color:#d1cdc7 !important;background:#db9925 !important;border-color:#db9925 !important}.wp-core-ui .button-primary.loco-loading[disabled]:before{background:transparent url(../../img/skins/blue/spin-primary-button.gif?v=2.5.4) 0 0 no-repeat !important}
|
pub/css/skins/coffee.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.wrap #loco-editor .is-table .wg-tr:nth-child(even){background-color:rgba(199,165,137,.05)}.wrap #loco-editor .wg-split-x>nav.wg-tabs>a.active,.wrap #loco-editor .is-table .wg-cols>div>div.selected{background-color:#c7a589;foo:#c7a589}.wrap #loco-editor .is-editable>.wg-content>textarea:focus,.wrap #loco-editor .is-editable>.wg-content.has-focus .ace_scroller,.wrap #loco-editor .is-editable>.wg-content.has-focus .mce-content-body{border-color:#5b9dd9;-webkit-box-shadow:inset 0 0 .6em rgba(30,140,190,.8);-moz-box-shadow:inset 0 0 .6em rgba(30,140,190,.8);box-shadow:inset 0 0 .6em rgba(30,140,190,.8)}.wp-core-ui .button-primary.loco-loading[disabled]{color:#d1ccc7 !important;background:#ba906d !important;border-color:#ba906d !important}.wp-core-ui .button-primary.loco-loading[disabled]:before{background:transparent url(../../img/skins/coffee/spin-primary-button.gif?v=2.5.
|
1 |
+
.wrap #loco-editor .is-table .wg-tr:nth-child(even){background-color:rgba(199,165,137,.05)}.wrap #loco-editor .wg-split-x>nav.wg-tabs>a.active,.wrap #loco-editor .is-table .wg-cols>div>div.selected{background-color:#c7a589;foo:#c7a589}.wrap #loco-editor .is-editable>.wg-content>textarea:focus,.wrap #loco-editor .is-editable>.wg-content.has-focus .ace_scroller,.wrap #loco-editor .is-editable>.wg-content.has-focus .mce-content-body{border-color:#5b9dd9;-webkit-box-shadow:inset 0 0 .6em rgba(30,140,190,.8);-moz-box-shadow:inset 0 0 .6em rgba(30,140,190,.8);box-shadow:inset 0 0 .6em rgba(30,140,190,.8)}.wp-core-ui .button-primary.loco-loading[disabled]{color:#d1ccc7 !important;background:#ba906d !important;border-color:#ba906d !important}.wp-core-ui .button-primary.loco-loading[disabled]:before{background:transparent url(../../img/skins/coffee/spin-primary-button.gif?v=2.5.4) 0 0 no-repeat !important}
|
pub/css/skins/ectoplasm.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.wrap #loco-editor .is-table .wg-tr:nth-child(even){background-color:rgba(163,183,69,.05)}.wrap #loco-editor .wg-split-x>nav.wg-tabs>a.active,.wrap #loco-editor .is-table .wg-cols>div>div.selected{background-color:#a3b745;foo:#a3b745}.wrap #loco-editor .is-editable>.wg-content>textarea:focus,.wrap #loco-editor .is-editable>.wg-content.has-focus .ace_scroller,.wrap #loco-editor .is-editable>.wg-content.has-focus .mce-content-body{border-color:#5b9dd9;-webkit-box-shadow:inset 0 0 .6em rgba(30,140,190,.8);-moz-box-shadow:inset 0 0 .6em rgba(30,140,190,.8);box-shadow:inset 0 0 .6em rgba(30,140,190,.8)}.wp-core-ui .button-primary.loco-loading[disabled]{color:#cfd1c7 !important;background:#89993a !important;border-color:#89993a !important}.wp-core-ui .button-primary.loco-loading[disabled]:before{background:transparent url(../../img/skins/ectoplasm/spin-primary-button.gif?v=2.5.
|
1 |
+
.wrap #loco-editor .is-table .wg-tr:nth-child(even){background-color:rgba(163,183,69,.05)}.wrap #loco-editor .wg-split-x>nav.wg-tabs>a.active,.wrap #loco-editor .is-table .wg-cols>div>div.selected{background-color:#a3b745;foo:#a3b745}.wrap #loco-editor .is-editable>.wg-content>textarea:focus,.wrap #loco-editor .is-editable>.wg-content.has-focus .ace_scroller,.wrap #loco-editor .is-editable>.wg-content.has-focus .mce-content-body{border-color:#5b9dd9;-webkit-box-shadow:inset 0 0 .6em rgba(30,140,190,.8);-moz-box-shadow:inset 0 0 .6em rgba(30,140,190,.8);box-shadow:inset 0 0 .6em rgba(30,140,190,.8)}.wp-core-ui .button-primary.loco-loading[disabled]{color:#cfd1c7 !important;background:#89993a !important;border-color:#89993a !important}.wp-core-ui .button-primary.loco-loading[disabled]:before{background:transparent url(../../img/skins/ectoplasm/spin-primary-button.gif?v=2.5.4) 0 0 no-repeat !important}
|
pub/css/skins/light.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.wrap #loco-editor .is-table .wg-tr:nth-child(even){background-color:rgba(136,136,136,.05)}.wrap #loco-editor .wg-split-x>nav.wg-tabs>a.active,.wrap #loco-editor .is-table .wg-cols>div>div.selected{background-color:#888;foo:#04a4cc}.wrap #loco-editor .is-editable>.wg-content>textarea:focus,.wrap #loco-editor .is-editable>.wg-content.has-focus .ace_scroller,.wrap #loco-editor .is-editable>.wg-content.has-focus .mce-content-body{border-color:#5b9dd9;-webkit-box-shadow:inset 0 0 .6em rgba(30,140,190,.8);-moz-box-shadow:inset 0 0 .6em rgba(30,140,190,.8);box-shadow:inset 0 0 .6em rgba(30,140,190,.8)}.wp-core-ui .button-primary.loco-loading[disabled]{color:#c7cfd1 !important;background:#0384a4 !important;border-color:#0384a4 !important}.wp-core-ui .button-primary.loco-loading[disabled]:before{background:transparent url(../../img/skins/light/spin-primary-button.gif?v=2.5.
|
1 |
+
.wrap #loco-editor .is-table .wg-tr:nth-child(even){background-color:rgba(136,136,136,.05)}.wrap #loco-editor .wg-split-x>nav.wg-tabs>a.active,.wrap #loco-editor .is-table .wg-cols>div>div.selected{background-color:#888;foo:#04a4cc}.wrap #loco-editor .is-editable>.wg-content>textarea:focus,.wrap #loco-editor .is-editable>.wg-content.has-focus .ace_scroller,.wrap #loco-editor .is-editable>.wg-content.has-focus .mce-content-body{border-color:#5b9dd9;-webkit-box-shadow:inset 0 0 .6em rgba(30,140,190,.8);-moz-box-shadow:inset 0 0 .6em rgba(30,140,190,.8);box-shadow:inset 0 0 .6em rgba(30,140,190,.8)}.wp-core-ui .button-primary.loco-loading[disabled]{color:#c7cfd1 !important;background:#0384a4 !important;border-color:#0384a4 !important}.wp-core-ui .button-primary.loco-loading[disabled]:before{background:transparent url(../../img/skins/light/spin-primary-button.gif?v=2.5.4) 0 0 no-repeat !important}
|
pub/css/skins/midnight.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.wrap #loco-editor .is-table .wg-tr:nth-child(even){background-color:rgba(225,77,67,.05)}.wrap #loco-editor .wg-split-x>nav.wg-tabs>a.active,.wrap #loco-editor .is-table .wg-cols>div>div.selected{background-color:#e14d43;foo:#e14d43}.wrap #loco-editor .is-editable>.wg-content>textarea:focus,.wrap #loco-editor .is-editable>.wg-content.has-focus .ace_scroller,.wrap #loco-editor .is-editable>.wg-content.has-focus .mce-content-body{border-color:#5b9dd9;-webkit-box-shadow:inset 0 0 .6em rgba(30,140,190,.8);-moz-box-shadow:inset 0 0 .6em rgba(30,140,190,.8);box-shadow:inset 0 0 .6em rgba(30,140,190,.8)}.wp-core-ui .button-primary.loco-loading[disabled]{color:#d1c8c7 !important;background:#d92e23 !important;border-color:#d92e23 !important}.wp-core-ui .button-primary.loco-loading[disabled]:before{background:transparent url(../../img/skins/midnight/spin-primary-button.gif?v=2.5.
|
1 |
+
.wrap #loco-editor .is-table .wg-tr:nth-child(even){background-color:rgba(225,77,67,.05)}.wrap #loco-editor .wg-split-x>nav.wg-tabs>a.active,.wrap #loco-editor .is-table .wg-cols>div>div.selected{background-color:#e14d43;foo:#e14d43}.wrap #loco-editor .is-editable>.wg-content>textarea:focus,.wrap #loco-editor .is-editable>.wg-content.has-focus .ace_scroller,.wrap #loco-editor .is-editable>.wg-content.has-focus .mce-content-body{border-color:#5b9dd9;-webkit-box-shadow:inset 0 0 .6em rgba(30,140,190,.8);-moz-box-shadow:inset 0 0 .6em rgba(30,140,190,.8);box-shadow:inset 0 0 .6em rgba(30,140,190,.8)}.wp-core-ui .button-primary.loco-loading[disabled]{color:#d1c8c7 !important;background:#d92e23 !important;border-color:#d92e23 !important}.wp-core-ui .button-primary.loco-loading[disabled]:before{background:transparent url(../../img/skins/midnight/spin-primary-button.gif?v=2.5.4) 0 0 no-repeat !important}
|
pub/css/skins/modern.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.wrap #loco-editor .is-table .wg-tr:nth-child(even){background-color:rgba(56,88,233,.05)}.wrap #loco-editor .wg-split-x>nav.wg-tabs>a.active,.wrap #loco-editor .is-table .wg-cols>div>div.selected{background-color:#3858e9;foo:#3858e9}.wrap #loco-editor .is-editable>.wg-content>textarea:focus,.wrap #loco-editor .is-editable>.wg-content.has-focus .ace_scroller,.wrap #loco-editor .is-editable>.wg-content.has-focus .mce-content-body{border-color:#5b9dd9;-webkit-box-shadow:inset 0 0 .6em rgba(30,140,190,.8);-moz-box-shadow:inset 0 0 .6em rgba(30,140,190,.8);box-shadow:inset 0 0 .6em rgba(30,140,190,.8)}.wp-core-ui .button-primary.loco-loading[disabled]{color:#c7c9d1 !important;background:#193ddf !important;border-color:#193ddf !important}.wp-core-ui .button-primary.loco-loading[disabled]:before{background:transparent url(../../img/skins/modern/spin-primary-button.gif?v=2.5.
|
1 |
+
.wrap #loco-editor .is-table .wg-tr:nth-child(even){background-color:rgba(56,88,233,.05)}.wrap #loco-editor .wg-split-x>nav.wg-tabs>a.active,.wrap #loco-editor .is-table .wg-cols>div>div.selected{background-color:#3858e9;foo:#3858e9}.wrap #loco-editor .is-editable>.wg-content>textarea:focus,.wrap #loco-editor .is-editable>.wg-content.has-focus .ace_scroller,.wrap #loco-editor .is-editable>.wg-content.has-focus .mce-content-body{border-color:#5b9dd9;-webkit-box-shadow:inset 0 0 .6em rgba(30,140,190,.8);-moz-box-shadow:inset 0 0 .6em rgba(30,140,190,.8);box-shadow:inset 0 0 .6em rgba(30,140,190,.8)}.wp-core-ui .button-primary.loco-loading[disabled]{color:#c7c9d1 !important;background:#193ddf !important;border-color:#193ddf !important}.wp-core-ui .button-primary.loco-loading[disabled]:before{background:transparent url(../../img/skins/modern/spin-primary-button.gif?v=2.5.4) 0 0 no-repeat !important}
|
pub/css/skins/ocean.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.wrap #loco-editor .is-table .wg-tr:nth-child(even){background-color:rgba(158,186,160,.05)}.wrap #loco-editor .wg-split-x>nav.wg-tabs>a.active,.wrap #loco-editor .is-table .wg-cols>div>div.selected{background-color:#9ebaa0;foo:#9ebaa0}.wrap #loco-editor .is-editable>.wg-content>textarea:focus,.wrap #loco-editor .is-editable>.wg-content.has-focus .ace_scroller,.wrap #loco-editor .is-editable>.wg-content.has-focus .mce-content-body{border-color:#5b9dd9;-webkit-box-shadow:inset 0 0 .6em rgba(30,140,190,.8);-moz-box-shadow:inset 0 0 .6em rgba(30,140,190,.8);box-shadow:inset 0 0 .6em rgba(30,140,190,.8)}.wp-core-ui .button-primary.loco-loading[disabled]{color:#c7d1c8 !important;background:#86a989 !important;border-color:#86a989 !important}.wp-core-ui .button-primary.loco-loading[disabled]:before{background:transparent url(../../img/skins/ocean/spin-primary-button.gif?v=2.5.
|
1 |
+
.wrap #loco-editor .is-table .wg-tr:nth-child(even){background-color:rgba(158,186,160,.05)}.wrap #loco-editor .wg-split-x>nav.wg-tabs>a.active,.wrap #loco-editor .is-table .wg-cols>div>div.selected{background-color:#9ebaa0;foo:#9ebaa0}.wrap #loco-editor .is-editable>.wg-content>textarea:focus,.wrap #loco-editor .is-editable>.wg-content.has-focus .ace_scroller,.wrap #loco-editor .is-editable>.wg-content.has-focus .mce-content-body{border-color:#5b9dd9;-webkit-box-shadow:inset 0 0 .6em rgba(30,140,190,.8);-moz-box-shadow:inset 0 0 .6em rgba(30,140,190,.8);box-shadow:inset 0 0 .6em rgba(30,140,190,.8)}.wp-core-ui .button-primary.loco-loading[disabled]{color:#c7d1c8 !important;background:#86a989 !important;border-color:#86a989 !important}.wp-core-ui .button-primary.loco-loading[disabled]:before{background:transparent url(../../img/skins/ocean/spin-primary-button.gif?v=2.5.4) 0 0 no-repeat !important}
|
pub/css/skins/sunrise.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.wrap #loco-editor .is-table .wg-tr:nth-child(even){background-color:rgba(221,130,59,.05)}.wrap #loco-editor .wg-split-x>nav.wg-tabs>a.active,.wrap #loco-editor .is-table .wg-cols>div>div.selected{background-color:#dd823b;foo:#dd823b}.wrap #loco-editor .is-editable>.wg-content>textarea:focus,.wrap #loco-editor .is-editable>.wg-content.has-focus .ace_scroller,.wrap #loco-editor .is-editable>.wg-content.has-focus .mce-content-body{border-color:#5b9dd9;-webkit-box-shadow:inset 0 0 .6em rgba(30,140,190,.8);-moz-box-shadow:inset 0 0 .6em rgba(30,140,190,.8);box-shadow:inset 0 0 .6em rgba(30,140,190,.8)}.wp-core-ui .button-primary.loco-loading[disabled]{color:#d1cbc7 !important;background:#cc6d23 !important;border-color:#cc6d23 !important}.wp-core-ui .button-primary.loco-loading[disabled]:before{background:transparent url(../../img/skins/sunrise/spin-primary-button.gif?v=2.5.
|
1 |
+
.wrap #loco-editor .is-table .wg-tr:nth-child(even){background-color:rgba(221,130,59,.05)}.wrap #loco-editor .wg-split-x>nav.wg-tabs>a.active,.wrap #loco-editor .is-table .wg-cols>div>div.selected{background-color:#dd823b;foo:#dd823b}.wrap #loco-editor .is-editable>.wg-content>textarea:focus,.wrap #loco-editor .is-editable>.wg-content.has-focus .ace_scroller,.wrap #loco-editor .is-editable>.wg-content.has-focus .mce-content-body{border-color:#5b9dd9;-webkit-box-shadow:inset 0 0 .6em rgba(30,140,190,.8);-moz-box-shadow:inset 0 0 .6em rgba(30,140,190,.8);box-shadow:inset 0 0 .6em rgba(30,140,190,.8)}.wp-core-ui .button-primary.loco-loading[disabled]{color:#d1cbc7 !important;background:#cc6d23 !important;border-color:#cc6d23 !important}.wp-core-ui .button-primary.loco-loading[disabled]:before{background:transparent url(../../img/skins/sunrise/spin-primary-button.gif?v=2.5.4) 0 0 no-repeat !important}
|
pub/js/min/admin.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
(function(
|
2 |
var n = function() {
|
3 |
function f(d) {
|
4 |
throw Error("Failed to require " + d);
|
@@ -8,26 +8,26 @@ return {
|
|
8 |
register: function(f, m) {
|
9 |
d[f] = m;
|
10 |
},
|
11 |
-
require: function(
|
12 |
-
return d[
|
13 |
},
|
14 |
-
include: function(
|
15 |
-
return d[
|
16 |
}
|
17 |
};
|
18 |
}();
|
19 |
-
n.register("$1", function(f, d,
|
20 |
-
function m(
|
21 |
-
var c = typeof
|
22 |
-
if ("string" === c) if (/[^ <>!=()%^&|?:n0-9]/.test(
|
23 |
-
"function" !== c && (
|
24 |
return 1 != b;
|
25 |
});
|
26 |
-
return
|
27 |
}
|
28 |
-
f.init = function(
|
29 |
function c(a, b, e) {
|
30 |
-
return (a =
|
31 |
}
|
32 |
function b(a) {
|
33 |
return c(a, a, 0);
|
@@ -36,12 +36,12 @@ function a(a, b) {
|
|
36 |
return c(b + "" + a, a, 0);
|
37 |
}
|
38 |
function e(a, b, e) {
|
39 |
-
e = Number(
|
40 |
isNaN(e) && (e = 0);
|
41 |
return c(a, e ? b : a, e);
|
42 |
}
|
43 |
-
|
44 |
-
var
|
45 |
return {
|
46 |
__: b,
|
47 |
_x: a,
|
@@ -50,33 +50,33 @@ _: b,
|
|
50 |
x: a,
|
51 |
n: e,
|
52 |
load: function(a) {
|
53 |
-
|
54 |
return this;
|
55 |
},
|
56 |
pluraleq: function(a) {
|
57 |
-
|
58 |
return this;
|
59 |
}
|
60 |
};
|
61 |
};
|
62 |
return f;
|
63 |
-
}({},
|
64 |
-
n.register("$2", function(f, d,
|
65 |
f.ie = function() {
|
66 |
-
var
|
67 |
-
d.attachEvent && d.navigator && /MSIE (\d+)\./.exec(String(navigator.appVersion)) && (
|
68 |
-
|
69 |
return function() {
|
70 |
-
return
|
71 |
};
|
72 |
}();
|
73 |
f.init = function() {
|
74 |
return f;
|
75 |
};
|
76 |
return f;
|
77 |
-
}({},
|
78 |
-
n.register("$3", function(f, d,
|
79 |
-
Number.prototype.format = function(d,
|
80 |
d = Math.pow(10, d || 0);
|
81 |
var b = Math.round(d * this) / d;
|
82 |
d = [];
|
@@ -87,189 +87,189 @@ d.unshift(b.substring(e - 3, e));
|
|
87 |
b = d.join(c || ",");
|
88 |
if (a) {
|
89 |
c = a;
|
90 |
-
var
|
91 |
-
for (d = c.length; "0" === c.charAt(--d); )
|
92 |
-
|
93 |
-
(a = c) && (b += (
|
94 |
}
|
95 |
return b;
|
96 |
};
|
97 |
Number.prototype.percent = function(d) {
|
98 |
-
var
|
99 |
if (0 === c) return "0";
|
100 |
if (100 === c) return "100";
|
101 |
-
if (99 < c) c = Math.min(c, 99.9), d = c.format(++
|
102 |
c = Math.max(c, 1e-4);
|
103 |
do {
|
104 |
-
d = c.format(++
|
105 |
-
} while ("0" === d && 4 >
|
106 |
d = d.substr(1);
|
107 |
} else d = c.format(0);
|
108 |
return d;
|
109 |
};
|
110 |
return f;
|
111 |
-
}({},
|
112 |
-
n.register("$4", function(f, d,
|
113 |
Array.prototype.indexOf || (Array.prototype.indexOf = function(d) {
|
114 |
if (null == this) throw new TypeError();
|
115 |
-
var
|
116 |
if (0 === b) return -1;
|
117 |
-
|
118 |
-
1 < arguments.length && (
|
119 |
-
if (
|
120 |
-
for (
|
121 |
return -1;
|
122 |
});
|
123 |
return f;
|
124 |
-
}({},
|
125 |
n.register("$5", function(f, d, n) {
|
126 |
d.JSON || (d.JSON = {
|
127 |
-
parse:
|
128 |
stringify: null
|
129 |
});
|
130 |
return f = d.JSON;
|
131 |
-
}({},
|
132 |
-
n.register("$6", function(f, d,
|
133 |
-
f.trim = function(d,
|
134 |
-
for (
|
135 |
-
for (;d && -1 !==
|
136 |
return d;
|
137 |
};
|
138 |
f.sprintf = function(d) {
|
139 |
-
var
|
140 |
return d.replace(/%(?:([1-9][0-9]*)\$)?([sud%])/g, function(b, a, e) {
|
141 |
-
return "%" === e ? "%" : (a ? c[Number(a) - 1] : c[
|
142 |
});
|
143 |
};
|
144 |
return f;
|
145 |
-
}({},
|
146 |
-
n.register("$21", function(f, d,
|
147 |
-
function m(
|
148 |
return function(c, b) {
|
149 |
-
for (var a = c[
|
150 |
return a;
|
151 |
};
|
152 |
}
|
153 |
f.top = m("offsetTop");
|
154 |
f.left = m("offsetLeft");
|
155 |
-
f.el = function(
|
156 |
-
var b =
|
157 |
c && (b.className = c);
|
158 |
return b;
|
159 |
};
|
160 |
-
f.txt = function(
|
161 |
-
return
|
162 |
};
|
163 |
return f;
|
164 |
-
}({},
|
165 |
n.register("$7", function(f, d, E) {
|
166 |
function m(a, b, e) {
|
167 |
-
function q() {
|
168 |
-
c();
|
169 |
-
x = setTimeout(b, e);
|
170 |
-
}
|
171 |
function c() {
|
172 |
-
x && clearTimeout(x);
|
173 |
-
x = null;
|
174 |
-
}
|
175 |
-
var x;
|
176 |
q();
|
177 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
178 |
return {
|
179 |
die: function() {
|
180 |
-
|
181 |
-
|
182 |
}
|
183 |
};
|
184 |
}
|
185 |
-
function
|
186 |
a.fadeTo(b, 0, function() {
|
187 |
a.slideUp(b, function() {
|
188 |
a.remove();
|
189 |
-
|
190 |
});
|
191 |
});
|
192 |
return a;
|
193 |
}
|
194 |
function c(a, b) {
|
195 |
function e(b) {
|
196 |
-
|
197 |
-
k(
|
198 |
-
|
199 |
-
var
|
200 |
-
if (
|
201 |
-
return
|
202 |
-
}
|
203 |
-
function
|
204 |
-
|
205 |
-
return
|
206 |
-
}
|
207 |
-
var
|
208 |
-
0 ===
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
b && (
|
215 |
return {
|
216 |
-
link: function(b,
|
217 |
-
var e =
|
218 |
-
|
219 |
-
|
220 |
return this;
|
221 |
},
|
222 |
stick: function() {
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
return this;
|
227 |
},
|
228 |
slow: function(a) {
|
229 |
-
|
230 |
return this;
|
231 |
}
|
232 |
};
|
233 |
}
|
234 |
function b(a, b, e) {
|
235 |
-
var
|
236 |
-
a =
|
237 |
-
var
|
238 |
-
e =
|
239 |
-
b =
|
240 |
-
|
241 |
return a;
|
242 |
}
|
243 |
-
function a(a, e, q,
|
244 |
a = b(q, e, a).css("opacity", "0").fadeTo(500, 1);
|
245 |
-
|
246 |
-
return c(a,
|
247 |
}
|
248 |
function e(b) {
|
249 |
-
return a(b,
|
250 |
}
|
251 |
-
function
|
252 |
-
|
253 |
if (-1 === b.className.indexOf("jshide")) {
|
254 |
var e = -1 === b.className.indexOf("notice-success") ? null : 5e3;
|
255 |
c(b, e);
|
256 |
}
|
257 |
});
|
258 |
}
|
259 |
-
var
|
260 |
log: function() {}
|
261 |
-
},
|
262 |
return new Date().getTime();
|
263 |
-
},
|
264 |
f.error = function(b) {
|
265 |
-
return a(b,
|
266 |
};
|
267 |
f.warn = e;
|
268 |
f.info = function(b) {
|
269 |
return a(b, q, "info");
|
270 |
};
|
271 |
f.success = function(b) {
|
272 |
-
return a(b,
|
273 |
};
|
274 |
f.warning = e;
|
275 |
f.log = function() {
|
@@ -279,8 +279,8 @@ f.debug = function() {
|
|
279 |
(l.debug || l.log).apply(l, arguments);
|
280 |
};
|
281 |
f.clear = function() {
|
282 |
-
for (var a = -1, b, e =
|
283 |
-
|
284 |
return f;
|
285 |
};
|
286 |
f.create = b;
|
@@ -289,23 +289,23 @@ f.raise = function(a) {
|
|
289 |
};
|
290 |
f.convert = c;
|
291 |
f.init = function(a) {
|
292 |
-
|
293 |
-
|
294 |
q = a._("Notice");
|
295 |
-
|
296 |
-
setTimeout(
|
297 |
return f;
|
298 |
};
|
299 |
return f;
|
300 |
-
}({},
|
301 |
n.register("$8", function(f, d, E) {
|
302 |
function m(a) {
|
303 |
-
var b =
|
304 |
b && (b = b.replace(/[\r\n]+/g, "\n").replace(/(^|\n)\s+/g, "$1").replace(/\s+$/, ""));
|
305 |
b || (b = a) || (b = "Blank response from server");
|
306 |
return b;
|
307 |
}
|
308 |
-
function
|
309 |
return (a = a.split(/[\r\n]/)[0]) ? (a = a.replace(/ +in +\S+ on line \d+/, ""),
|
310 |
a = a.replace(/^[()! ]+Fatal error:\s*/, "")) : t._("Server returned invalid data");
|
311 |
}
|
@@ -325,37 +325,37 @@ value: e
|
|
325 |
function e(a, b, e) {
|
326 |
a.append(b, e);
|
327 |
}
|
328 |
-
function
|
329 |
-
function
|
330 |
if ("abort" !== c) {
|
331 |
var q = l || {
|
332 |
_: function(a) {
|
333 |
return a;
|
334 |
}
|
335 |
-
},
|
336 |
-
"success" === c &&
|
337 |
-
|
338 |
-
status:
|
339 |
error: c,
|
340 |
-
message:
|
341 |
output: d
|
342 |
-
}), "parsererror" === c && (
|
343 |
-
e && e.call && e(b, c,
|
344 |
-
|
345 |
}
|
346 |
}
|
347 |
-
c.url =
|
348 |
c.dataType = "json";
|
349 |
-
var
|
350 |
-
|
351 |
-
return
|
352 |
-
var
|
353 |
-
for (!
|
354 |
});
|
355 |
}
|
356 |
-
var
|
357 |
f.init = function(a) {
|
358 |
-
|
359 |
return f;
|
360 |
};
|
361 |
f.localise = function(a) {
|
@@ -363,26 +363,26 @@ l = a;
|
|
363 |
return f;
|
364 |
};
|
365 |
f.xhr = function() {
|
366 |
-
return
|
367 |
};
|
368 |
f.strip = m;
|
369 |
-
f.parse =
|
370 |
f.submit = function(a, b, e) {
|
371 |
function c(a, b) {
|
372 |
b.disabled ? b.setAttribute("data-was-disabled", "true") : b.disabled = !0;
|
373 |
}
|
374 |
-
function
|
375 |
b.getAttribute("data-was-disabled") || (b.disabled = !1);
|
376 |
}
|
377 |
function l(a) {
|
378 |
a.find(".button-primary").removeClass("loading");
|
379 |
-
a.find("button").each(
|
380 |
-
a.find("input").each(
|
381 |
-
a.find("select").each(
|
382 |
-
a.find("textarea").each(
|
383 |
a.removeClass("disabled loading");
|
384 |
}
|
385 |
-
var
|
386 |
(function(a) {
|
387 |
a.find(".button-primary").addClass("loading");
|
388 |
a.find("button").each(c);
|
@@ -390,48 +390,48 @@ a.find("input").each(c);
|
|
390 |
a.find("select").each(c);
|
391 |
a.find("textarea").each(c);
|
392 |
a.addClass("disabled loading");
|
393 |
-
})(
|
394 |
-
return
|
395 |
-
l(
|
396 |
b && b(a, e, c);
|
397 |
}, function(a, b, c) {
|
398 |
-
l(
|
399 |
e && e(a, b, c);
|
400 |
}, {
|
401 |
type: a.method,
|
402 |
-
data:
|
403 |
});
|
404 |
};
|
405 |
-
f.post = function(
|
406 |
-
var
|
407 |
-
d.FormData && G instanceof FormData ? (
|
408 |
q(G, "action", "loco_json");
|
409 |
-
q(G, "route",
|
410 |
-
q(G, "loco-nonce",
|
411 |
-
return
|
412 |
type: "post",
|
413 |
data: G,
|
414 |
-
processData:
|
415 |
-
contentType:
|
416 |
});
|
417 |
};
|
418 |
-
f.get = function(a, b, e,
|
419 |
b = b || {};
|
420 |
-
var
|
421 |
b.action = "loco_json";
|
422 |
b.route = a;
|
423 |
-
b["loco-nonce"] =
|
424 |
-
return
|
425 |
type: "get",
|
426 |
data: b
|
427 |
});
|
428 |
};
|
429 |
f.setNonce = function(a, b) {
|
430 |
-
|
431 |
return f;
|
432 |
};
|
433 |
return f;
|
434 |
-
}({},
|
435 |
n.register("$22", {
|
436 |
arab: 1,
|
437 |
aran: 1,
|
@@ -470,9 +470,9 @@ ps: 1,
|
|
470 |
ur: 1,
|
471 |
yi: 1
|
472 |
});
|
473 |
-
n.register("$9", function(f, d,
|
474 |
function m() {}
|
475 |
-
var
|
476 |
f.init = function() {
|
477 |
return new m();
|
478 |
};
|
@@ -485,7 +485,7 @@ for (a in b) e[a] = b[a];
|
|
485 |
return e;
|
486 |
};
|
487 |
f.parse = function(b) {
|
488 |
-
if (!(
|
489 |
var a = new m();
|
490 |
a.lang = RegExp.$1.toLowerCase();
|
491 |
if (b = RegExp.$2) a.region = b.toUpperCase();
|
@@ -508,16 +508,16 @@ if (a = this.variant) e += b + a;
|
|
508 |
return e;
|
509 |
};
|
510 |
d.getIcon = function() {
|
511 |
-
for (var b = 3, a, e, c = [ "variant", "region", "lang" ],
|
512 |
-
e = this[a])
|
513 |
-
return
|
514 |
};
|
515 |
d.isRTL = function() {
|
516 |
return !!c[String(this.lang).toLowerCase()];
|
517 |
};
|
518 |
d = null;
|
519 |
return f;
|
520 |
-
}({},
|
521 |
n.register("$23", {
|
522 |
"á": "a",
|
523 |
"à": "a",
|
@@ -930,37 +930,37 @@ n.register("$23", {
|
|
930 |
"ӣ": "и",
|
931 |
"ӯ": "у"
|
932 |
});
|
933 |
-
n.register("$10", function(f, d,
|
934 |
f.init = function() {
|
935 |
function d(a) {
|
936 |
return l[a] || a;
|
937 |
}
|
938 |
-
function
|
939 |
b = a.split(b);
|
940 |
-
for (var
|
941 |
return e;
|
942 |
}
|
943 |
function c(a) {
|
944 |
-
return
|
945 |
}
|
946 |
function b(a, b) {
|
947 |
-
for (var c = [], q = {}, l,
|
948 |
e[a] = c;
|
949 |
}
|
950 |
function a(a, b) {
|
951 |
-
var c = [],
|
952 |
-
a: for (;++
|
953 |
-
|
954 |
-
b: for (;
|
955 |
-
F = a[
|
956 |
-
for (
|
957 |
continue a;
|
958 |
}
|
959 |
-
c.push(
|
960 |
}
|
961 |
return c;
|
962 |
}
|
963 |
-
var e = [],
|
964 |
return {
|
965 |
split: c,
|
966 |
pull: function(b, e) {
|
@@ -990,69 +990,73 @@ e[a] = null;
|
|
990 |
};
|
991 |
};
|
992 |
return f;
|
993 |
-
}({},
|
994 |
n.register("$11", function(f, d, n) {
|
995 |
-
f.listen = function(f,
|
996 |
function c() {
|
997 |
-
|
998 |
}
|
999 |
function b(a) {
|
1000 |
-
|
1001 |
-
|
1002 |
c();
|
1003 |
return a;
|
1004 |
}
|
1005 |
function a() {
|
1006 |
-
|
1007 |
-
|
1008 |
}
|
1009 |
-
function e() {
|
1010 |
-
var
|
1011 |
-
|
1012 |
-
|
|
|
1013 |
}
|
1014 |
-
f instanceof jQuery && (
|
1015 |
-
|
1016 |
-
f.value = "";
|
1017 |
e();
|
1018 |
return !1;
|
1019 |
});
|
1020 |
-
b(
|
1021 |
-
|
1022 |
-
e();
|
|
|
|
|
|
|
1023 |
return !0;
|
1024 |
-
}).after(
|
1025 |
c();
|
1026 |
return {
|
1027 |
delay: function(a) {
|
1028 |
l = a;
|
|
|
1029 |
},
|
1030 |
ping: function(c) {
|
1031 |
-
c ? (
|
1032 |
return c;
|
1033 |
},
|
1034 |
val: function(a) {
|
1035 |
-
if (null == a) return
|
1036 |
-
|
1037 |
-
|
1038 |
c();
|
1039 |
},
|
1040 |
el: function() {
|
1041 |
-
return
|
1042 |
},
|
1043 |
blur: function(a) {
|
1044 |
-
return
|
1045 |
},
|
1046 |
destroy: function() {
|
1047 |
-
|
1048 |
}
|
1049 |
};
|
1050 |
};
|
1051 |
return f;
|
1052 |
-
}({},
|
1053 |
n.register("$12", function(f, d, n) {
|
1054 |
function m(b, a) {
|
1055 |
-
this.$element =
|
1056 |
this.options = a;
|
1057 |
this.enabled = !0;
|
1058 |
this.fixTitle();
|
@@ -1061,27 +1065,27 @@ f.init = function(b, a) {
|
|
1061 |
var e = {
|
1062 |
fade: !0,
|
1063 |
offset: 5,
|
1064 |
-
delayIn:
|
1065 |
delayOut: c,
|
1066 |
anchor: b.attr("data-anchor"),
|
1067 |
gravity: b.attr("data-gravity") || "s"
|
1068 |
};
|
1069 |
-
a && (e =
|
1070 |
b.tipsy(e);
|
1071 |
};
|
1072 |
f.delays = function(b, a) {
|
1073 |
-
|
1074 |
c = a || 100;
|
1075 |
};
|
1076 |
f.kill = function() {
|
1077 |
-
|
1078 |
};
|
1079 |
f.text = function(b, a) {
|
1080 |
a.data("tipsy").setTitle(b);
|
1081 |
};
|
1082 |
-
var
|
1083 |
f.delays();
|
1084 |
-
|
1085 |
f.kill();
|
1086 |
return !0;
|
1087 |
});
|
@@ -1096,11 +1100,11 @@ a.remove().css({
|
|
1096 |
top: 0,
|
1097 |
left: 0
|
1098 |
}).prependTo(n.body);
|
1099 |
-
var b = (b = this.options.anchor) ? this.$element.find(b) : this.$element, b =
|
1100 |
width: b[0].offsetWidth,
|
1101 |
height: b[0].offsetHeight
|
1102 |
-
}), e = a[0].offsetWidth, c = a[0].offsetHeight,
|
1103 |
-
switch (
|
1104 |
case "n":
|
1105 |
l = {
|
1106 |
top: b.top + b.height + this.options.offset,
|
@@ -1128,9 +1132,9 @@ top: b.top + b.height / 2 - c / 2,
|
|
1128 |
left: b.left + b.width + this.options.offset
|
1129 |
};
|
1130 |
}
|
1131 |
-
2 ==
|
1132 |
-
a.css(l).addClass("tipsy-" +
|
1133 |
-
a.find(".tipsy-arrow")[0].className = "tipsy-arrow tipsy-arrow-" +
|
1134 |
this.options.className && a.addClass("function" == typeof this.options.className ? this.options.className.call(this.$element[0]) : this.options.className);
|
1135 |
a.addClass("in");
|
1136 |
}
|
@@ -1156,7 +1160,7 @@ a.attr("original-title", b);
|
|
1156 |
if (this.$tip) this.$tip.find(".tipsy-inner")[this.options.html ? "html" : "text"](b);
|
1157 |
},
|
1158 |
tip: function() {
|
1159 |
-
this.$tip || (this.$tip =
|
1160 |
this.$tip.data("tipsy-pointee", this.$element[0]));
|
1161 |
return this.$tip;
|
1162 |
},
|
@@ -1174,10 +1178,10 @@ toggleEnabled: function() {
|
|
1174 |
this.enabled = !this.enabled;
|
1175 |
}
|
1176 |
};
|
1177 |
-
|
1178 |
function a(a) {
|
1179 |
-
var e =
|
1180 |
-
e || (e = new m(a,
|
1181 |
return e;
|
1182 |
}
|
1183 |
function e() {
|
@@ -1188,23 +1192,23 @@ e.hoverState = "in";
|
|
1188 |
}, c));
|
1189 |
}
|
1190 |
function c() {
|
1191 |
-
var e = a(this),
|
1192 |
e.hoverState = "out";
|
1193 |
-
0 ==
|
1194 |
"out" == e.hoverState && e.hide();
|
1195 |
-
},
|
1196 |
}
|
1197 |
-
b =
|
1198 |
b.live || this.each(function() {
|
1199 |
a(this);
|
1200 |
});
|
1201 |
if ("manual" != b.trigger) {
|
1202 |
-
var
|
1203 |
-
this[
|
1204 |
}
|
1205 |
return this;
|
1206 |
};
|
1207 |
-
|
1208 |
className: null,
|
1209 |
delayIn: 0,
|
1210 |
delayOut: 0,
|
@@ -1219,28 +1223,28 @@ title: "title",
|
|
1219 |
trigger: "hover",
|
1220 |
anchor: null
|
1221 |
};
|
1222 |
-
|
1223 |
-
return
|
1224 |
};
|
1225 |
-
|
1226 |
-
return
|
1227 |
};
|
1228 |
-
|
1229 |
-
return
|
1230 |
};
|
1231 |
-
|
1232 |
return function() {
|
1233 |
-
var e = a[0], c = 1 < a.length ? a[1] : !1,
|
1234 |
-
|
1235 |
-
|
1236 |
-
|
1237 |
-
|
1238 |
return e + (c ? c : "");
|
1239 |
};
|
1240 |
};
|
1241 |
return f;
|
1242 |
-
}({},
|
1243 |
-
n.register("$35", function(f, d,
|
1244 |
"".localeCompare || (String.prototype.localeCompare = function() {
|
1245 |
return 0;
|
1246 |
});
|
@@ -1252,28 +1256,28 @@ function d() {
|
|
1252 |
b = /[<>&]/g;
|
1253 |
a = /(\r\n|\n|\r)/g;
|
1254 |
e = /(?:https?):\/\/(\S+)/gi;
|
1255 |
-
|
1256 |
d = null;
|
1257 |
}
|
1258 |
-
function
|
1259 |
return "&#" + a.charCodeAt(0) + ";";
|
1260 |
}
|
1261 |
function c(a, b) {
|
1262 |
-
return '<a href="' + a + '" target="' + (b.indexOf(
|
1263 |
}
|
1264 |
-
var b, a, e,
|
1265 |
-
return function(
|
1266 |
d && d();
|
1267 |
-
var
|
1268 |
-
l && (
|
1269 |
-
return
|
1270 |
};
|
1271 |
}();
|
1272 |
return f;
|
1273 |
-
}({},
|
1274 |
-
n.register("$36", function(f, d,
|
1275 |
function m() {}
|
1276 |
-
var
|
1277 |
f.init = function() {
|
1278 |
return new m();
|
1279 |
};
|
@@ -1286,9 +1290,9 @@ for (b in a) c[b] = a[b];
|
|
1286 |
return c;
|
1287 |
};
|
1288 |
f.parse = function(a) {
|
1289 |
-
|
1290 |
a = String(a).split(c).join("-");
|
1291 |
-
if (!
|
1292 |
var b = new m();
|
1293 |
b.lang = RegExp.$1.toLowerCase();
|
1294 |
if (a = RegExp.$2) b.script = a.charAt(0).toUpperCase() + a.substr(1).toLowerCase();
|
@@ -1315,7 +1319,7 @@ if (b = this.extension) c += a + b;
|
|
1315 |
return c;
|
1316 |
};
|
1317 |
d.getIcon = function() {
|
1318 |
-
for (var a = 4, b, c,
|
1319 |
c = this[b]) c.join && (c = c.join("-")), 1 === a && 3 === c.length ? l.push("region-m49") : l = l.concat([ b, b + "-" + c.toLowerCase() ]);
|
1320 |
return l.join(" ");
|
1321 |
};
|
@@ -1324,12 +1328,12 @@ return !!b[String(this.script || this.lang).toLowerCase()];
|
|
1324 |
};
|
1325 |
d = null;
|
1326 |
return f;
|
1327 |
-
}({},
|
1328 |
-
n.register("$37", function(f, d,
|
1329 |
function m(a) {
|
1330 |
d.console && console.error && console.error(a);
|
1331 |
}
|
1332 |
-
function
|
1333 |
m("Method not implemented");
|
1334 |
}
|
1335 |
function c() {}
|
@@ -1338,41 +1342,41 @@ c.prototype.toString = function() {
|
|
1338 |
return "[Undefined]";
|
1339 |
};
|
1340 |
b.prototype._validate = function(a) {
|
1341 |
-
var b,
|
1342 |
-
for (b in this)
|
1343 |
-
|
1344 |
-
return
|
1345 |
};
|
1346 |
f.init = function(a, e) {
|
1347 |
-
var
|
1348 |
-
if (a) for (
|
1349 |
-
if (e) for (
|
1350 |
-
return
|
1351 |
};
|
1352 |
f.validate = function(a) {
|
1353 |
var b = /function (\w+)\(/.exec(a.toString()) ? RegExp.$1 : "";
|
1354 |
a.prototype._validate(b || "Object");
|
1355 |
};
|
1356 |
return f;
|
1357 |
-
}({},
|
1358 |
-
n.register("$48", function(f, d,
|
1359 |
-
var m = d.requestAnimationFrame,
|
1360 |
-
if (!m || !
|
1361 |
ms: 1,
|
1362 |
moz: 1,
|
1363 |
webkit: 1,
|
1364 |
o: 1
|
1365 |
-
}) if (m = d[b + "RequestAnimationFrame"]) if (
|
1366 |
-
m &&
|
1367 |
-
var
|
1368 |
-
timeToCall = Math.max(0, 16 - (
|
1369 |
-
nextTime =
|
1370 |
timerId = d.setTimeout(function() {
|
1371 |
b(nextTime);
|
1372 |
}, timeToCall);
|
1373 |
c = nextTime;
|
1374 |
return timerId;
|
1375 |
-
},
|
1376 |
clearTimeout(a);
|
1377 |
});
|
1378 |
var a = Date.now || function() {
|
@@ -1387,19 +1391,19 @@ var l = 0, d;
|
|
1387 |
c();
|
1388 |
return {
|
1389 |
stop: function() {
|
1390 |
-
d &&
|
1391 |
d = null;
|
1392 |
}
|
1393 |
};
|
1394 |
};
|
1395 |
return f;
|
1396 |
-
}({},
|
1397 |
-
n.register("$45", function(f, d,
|
1398 |
function m(a, c, e, q) {
|
1399 |
if (b) {
|
1400 |
-
var
|
1401 |
e = function(a) {
|
1402 |
-
if ((a.MSPOINTER_TYPE_TOUCH || "touch") === a.pointerType) return
|
1403 |
};
|
1404 |
}
|
1405 |
a.addEventListener(c, e, q);
|
@@ -1409,14 +1413,14 @@ a.removeEventListener(c, e, q);
|
|
1409 |
}
|
1410 |
};
|
1411 |
}
|
1412 |
-
function
|
1413 |
a.preventDefault();
|
1414 |
a.stopPropagation();
|
1415 |
return !1;
|
1416 |
}
|
1417 |
-
var c, b = !!d.navigator.msPointerEnabled, a = b ? "MSPointerDown" : "touchstart", e = b ? "MSPointerMove" : "touchmove",
|
1418 |
f.ok = function(a) {
|
1419 |
-
null == c && (c = "function" === typeof
|
1420 |
c && a && a(f);
|
1421 |
return c;
|
1422 |
};
|
@@ -1432,36 +1436,36 @@ b.removeEventListener(a, d[a], !1);
|
|
1432 |
}
|
1433 |
var d = {};
|
1434 |
d[a] = function(b) {
|
1435 |
-
|
1436 |
-
|
1437 |
-
c(b,
|
1438 |
});
|
1439 |
l(e);
|
1440 |
-
l(
|
1441 |
return !0;
|
1442 |
};
|
1443 |
-
d[
|
1444 |
q(e);
|
1445 |
-
q(
|
1446 |
-
|
1447 |
-
e.type =
|
1448 |
c(a, e, f);
|
1449 |
});
|
1450 |
return !0;
|
1451 |
};
|
1452 |
d[e] = function(a) {
|
1453 |
-
|
1454 |
-
|
1455 |
-
c(a,
|
1456 |
});
|
1457 |
-
return
|
1458 |
};
|
1459 |
l(a);
|
1460 |
var f = {
|
1461 |
kill: function() {
|
1462 |
q(a);
|
1463 |
q(e);
|
1464 |
-
q(
|
1465 |
b = f = c = null;
|
1466 |
}
|
1467 |
};
|
@@ -1471,51 +1475,51 @@ f.swiper = function(c, d, f) {
|
|
1471 |
function q(a) {
|
1472 |
c.addEventListener(a, u[a], !1);
|
1473 |
}
|
1474 |
-
function
|
1475 |
c.removeEventListener(a, u[a], !1);
|
1476 |
}
|
1477 |
-
function
|
1478 |
-
|
1479 |
-
|
1480 |
}
|
1481 |
-
var
|
1482 |
u[a] = function(a) {
|
1483 |
G = !1;
|
1484 |
-
|
1485 |
var b = l();
|
1486 |
-
|
1487 |
-
|
1488 |
F[a] = c.clientX;
|
1489 |
-
|
1490 |
});
|
1491 |
-
|
1492 |
return !0;
|
1493 |
};
|
1494 |
-
u[
|
1495 |
-
|
1496 |
-
var c = l() -
|
1497 |
d(c, e ? 0 > e ? -1 : 1 : 0);
|
1498 |
});
|
1499 |
-
|
1500 |
return !0;
|
1501 |
};
|
1502 |
u[e] = function(a) {
|
1503 |
var b, e;
|
1504 |
-
null ==
|
1505 |
b = F[a] - c.clientX;
|
1506 |
-
e =
|
1507 |
});
|
1508 |
if (e && Math.abs(e) > Math.abs(b)) return G = !0;
|
1509 |
-
b && (G = !0, c.scrollLeft = Math.max(0,
|
1510 |
-
return
|
1511 |
};
|
1512 |
-
if (!b || f) q(a), q(e), q(
|
1513 |
return {
|
1514 |
kill: function() {
|
1515 |
-
|
1516 |
-
|
1517 |
-
|
1518 |
-
|
1519 |
},
|
1520 |
swiped: function() {
|
1521 |
return G;
|
@@ -1528,10 +1532,10 @@ b && !f && (c.style["-ms-scroll-snap-points-x"] = "snapInterval(0px," + a + "px)
|
|
1528 |
c.style["-ms-scroll-snap-type"] = "mandatory", c.style["-ms-scroll-chaining"] = "none");
|
1529 |
},
|
1530 |
scroll: function(a, b, e) {
|
1531 |
-
|
1532 |
-
var
|
1533 |
-
return
|
1534 |
-
b && (
|
1535 |
}, c);
|
1536 |
}
|
1537 |
};
|
@@ -1543,18 +1547,18 @@ f.move = function(a, b) {
|
|
1543 |
return m(a, e, b, !1);
|
1544 |
};
|
1545 |
f.end = function(a, b) {
|
1546 |
-
return m(a,
|
1547 |
};
|
1548 |
-
var
|
1549 |
-
if (b) (a.MSPOINTER_TYPE_TOUCH || "touch") === a.pointerType && c(0, a); else for (var e = -1,
|
1550 |
}, l = Date.now || function() {
|
1551 |
return new Date().getTime();
|
1552 |
};
|
1553 |
return f;
|
1554 |
-
}({},
|
1555 |
n.register("$49", function(f, d, n) {
|
1556 |
f.init = function(d) {
|
1557 |
-
function
|
1558 |
e.style.top = String(-d.scrollTop) + "px";
|
1559 |
return !0;
|
1560 |
}
|
@@ -1568,71 +1572,71 @@ function b(a) {
|
|
1568 |
return '<span class="x' + a.charCodeAt(0).toString(16) + '">' + a + "</span>";
|
1569 |
}
|
1570 |
var a = d.parentNode, e = a.insertBefore(n.createElement("div"), d);
|
1571 |
-
|
1572 |
-
|
1573 |
e.className = "ta-mirror";
|
1574 |
-
var
|
1575 |
-
2 <
|
1576 |
c();
|
1577 |
-
|
1578 |
return {
|
1579 |
kill: function() {
|
1580 |
-
|
1581 |
a.removeChild(e);
|
1582 |
e = null;
|
1583 |
-
|
1584 |
}
|
1585 |
};
|
1586 |
};
|
1587 |
return f;
|
1588 |
-
}({},
|
1589 |
-
n.register("$29", function(f, d,
|
1590 |
function m(b, a) {
|
1591 |
-
for (var c = 0,
|
1592 |
-
"function" === typeof callback && (callback(
|
1593 |
return c;
|
1594 |
}
|
1595 |
-
var
|
1596 |
f.load = function(b, a, c) {
|
1597 |
-
function
|
1598 |
f && (clearTimeout(f), f = null);
|
1599 |
-
|
1600 |
-
b && (delete
|
1601 |
}
|
1602 |
-
function
|
1603 |
-
var
|
1604 |
-
if (
|
1605 |
}
|
1606 |
function l() {
|
1607 |
if (0 === m(b)) throw Error('Failed to load "' + (c || b) + '"');
|
1608 |
-
|
1609 |
}
|
1610 |
-
if (c && d[c]) "function" === typeof a && a(d[c]); else if (null !=
|
1611 |
-
|
1612 |
-
var f = setTimeout(l, 4e3),
|
1613 |
-
|
1614 |
-
|
1615 |
-
|
1616 |
-
|
1617 |
-
|
1618 |
-
|
1619 |
-
|
1620 |
}
|
1621 |
};
|
1622 |
f.stat = function(b) {
|
1623 |
var a;
|
1624 |
if (!(a = c)) {
|
1625 |
-
for (var e,
|
1626 |
-1 !== e) {
|
1627 |
-
|
1628 |
break;
|
1629 |
}
|
1630 |
-
a = c =
|
1631 |
}
|
1632 |
return a + b;
|
1633 |
};
|
1634 |
return f;
|
1635 |
-
}({},
|
1636 |
n.register("$16", function(f, d, E) {
|
1637 |
function m(a, b) {
|
1638 |
a.setReadOnly(!1);
|
@@ -1646,13 +1650,13 @@ a.on("blur", function() {
|
|
1646 |
return b.blur();
|
1647 |
});
|
1648 |
}
|
1649 |
-
function
|
1650 |
a.off("change");
|
1651 |
a.off("focus");
|
1652 |
a.off("blur");
|
1653 |
}
|
1654 |
function c(a) {
|
1655 |
-
|
1656 |
a.setReadOnly(!0);
|
1657 |
a.setHighlightGutterLine(!1);
|
1658 |
a.setHighlightActiveLine(!1);
|
@@ -1661,9 +1665,9 @@ function b(b, c) {
|
|
1661 |
function e() {
|
1662 |
this.HighlightRules = d;
|
1663 |
}
|
1664 |
-
var d = a(c), q = b.require,
|
1665 |
-
|
1666 |
-
|
1667 |
return new e();
|
1668 |
}
|
1669 |
function a(a) {
|
@@ -1753,38 +1757,38 @@ return /%(?:[1-9]\d*\$)?\+?(?:0|'[^$])?-?\d*(?:\.\d+)?[b-gijostTuvxX%]/;
|
|
1753 |
case "auto":
|
1754 |
return /%(?:\d+\$|\([_A-Za-z][_A-Za-z0-9]*\))?(?:[-+0]?\d*(\.\d+)?[duxoefgaDUXOEFGA]|[@scSC%])/;
|
1755 |
|
1756 |
-
case
|
1757 |
-
return
|
1758 |
-
}
|
1759 |
-
}
|
1760 |
-
var
|
1761 |
-
f.init = function(a, e,
|
1762 |
-
var f, q = !1,
|
1763 |
-
|
1764 |
-
n.require("$29", "remote.js").load("https://cdnjs.cloudflare.com/ajax/libs/ace/1.4.1/ace.js", function(
|
1765 |
-
if (
|
1766 |
-
if (!
|
1767 |
-
f =
|
1768 |
-
var
|
1769 |
f.$blockScrolling = Infinity;
|
1770 |
f.setShowInvisibles(q);
|
1771 |
f.setWrapBehavioursEnabled(!1);
|
1772 |
f.setBehavioursEnabled(!1);
|
1773 |
f.setHighlightActiveLine(!1);
|
1774 |
-
|
1775 |
g.setShowGutter(!0);
|
1776 |
g.setPadding(10);
|
1777 |
g.setScrollMargin(8);
|
1778 |
-
|
1779 |
f.setValue(a.value, -1);
|
1780 |
-
|
1781 |
e ? m(f, e) : c(f);
|
1782 |
}
|
1783 |
}, "ace");
|
1784 |
return {
|
1785 |
kill: function() {
|
1786 |
-
f && (
|
1787 |
-
|
1788 |
return this;
|
1789 |
},
|
1790 |
disable: function() {
|
@@ -1811,8 +1815,8 @@ q !== a && (q = a, f && f.setShowInvisibles(a));
|
|
1811 |
return this;
|
1812 |
},
|
1813 |
strf: function(a) {
|
1814 |
-
a = a ||
|
1815 |
-
a !==
|
1816 |
return this;
|
1817 |
},
|
1818 |
focus: function() {
|
@@ -1821,12 +1825,12 @@ return this;
|
|
1821 |
};
|
1822 |
};
|
1823 |
f.strf = function(a, b) {
|
1824 |
-
|
1825 |
-
|
1826 |
return f;
|
1827 |
};
|
1828 |
return f;
|
1829 |
-
}({},
|
1830 |
n.register("$50", function(f, d, E) {
|
1831 |
function m(a, b) {
|
1832 |
function c() {
|
@@ -1842,14 +1846,14 @@ return b.blur();
|
|
1842 |
});
|
1843 |
a.setMode("design");
|
1844 |
}
|
1845 |
-
function
|
1846 |
a.off("input");
|
1847 |
a.off("change");
|
1848 |
a.off("focus");
|
1849 |
a.off("blur");
|
1850 |
}
|
1851 |
function c(a) {
|
1852 |
-
|
1853 |
a.setMode("readonly");
|
1854 |
}
|
1855 |
var b = 0;
|
@@ -1860,19 +1864,19 @@ return f;
|
|
1860 |
};
|
1861 |
f.init = function(a, e) {
|
1862 |
function d(a) {
|
1863 |
-
|
1864 |
-
|
1865 |
return a.replace(/(<\/?)script/gi, "$1loco:script");
|
1866 |
}
|
1867 |
-
function
|
1868 |
l = a;
|
1869 |
a._getContent = a.getContent;
|
1870 |
a.getContent = function(a) {
|
1871 |
a = this._getContent(a);
|
1872 |
a = a.replace(/(<\/?)loco:script/gi, "$1script");
|
1873 |
-
if (!
|
1874 |
var b = a.substr(3, a.length - 7);
|
1875 |
-
if (b ===
|
1876 |
}
|
1877 |
return a;
|
1878 |
};
|
@@ -1881,24 +1885,24 @@ a.setContent = function(a, b) {
|
|
1881 |
return this._setContent(d(a), b);
|
1882 |
};
|
1883 |
e ? (m(a, e), e.reset()) : c(a);
|
1884 |
-
|
1885 |
}
|
1886 |
-
var l,
|
1887 |
-
|
1888 |
-
|
1889 |
-
|
1890 |
f.load(function(a) {
|
1891 |
if (!a) throw Error("Failed to load HTML editor");
|
1892 |
-
|
1893 |
inline: !0,
|
1894 |
-
target:
|
1895 |
hidden_input: !1,
|
1896 |
theme: "modern",
|
1897 |
skin: !1,
|
1898 |
plugins: "link lists",
|
1899 |
browser_spellcheck: !0,
|
1900 |
menubar: !1,
|
1901 |
-
fixed_toolbar_container: "#" +
|
1902 |
toolbar: "formatselect | bold italic link unlink | bullist numlist outdent indent",
|
1903 |
block_formats: "Paragraph=p;Heading 1=h1;Heading 2=h2;Heading 3=h4;Heading 4=h4;Heading 5=h5;Heading 6=h6;",
|
1904 |
forced_root_block: "p",
|
@@ -1928,20 +1932,20 @@ extended_valid_elements: "span,b,i,u,loco:script",
|
|
1928 |
entities: "38,amp,60,lt,62,gt,160,nbsp",
|
1929 |
entity_encoding: "named",
|
1930 |
keep_styles: !1,
|
1931 |
-
init_instance_callback:
|
1932 |
});
|
1933 |
});
|
1934 |
return {
|
1935 |
val: function(b) {
|
1936 |
b = d(b);
|
1937 |
-
null == l ? (a.value = b,
|
1938 |
e && e.val(b);
|
1939 |
return this;
|
1940 |
},
|
1941 |
kill: function() {
|
1942 |
-
l && (e && e.val(l.getContent()),
|
1943 |
-
|
1944 |
-
|
1945 |
return this;
|
1946 |
},
|
1947 |
enable: function(a) {
|
@@ -1960,51 +1964,51 @@ return this;
|
|
1960 |
},
|
1961 |
invs: function(a) {
|
1962 |
a = a || !1;
|
1963 |
-
|
1964 |
return this;
|
1965 |
}
|
1966 |
};
|
1967 |
};
|
1968 |
return f;
|
1969 |
-
}({},
|
1970 |
n.register("$46", function(f, d, E) {
|
1971 |
function m(b) {
|
1972 |
function a() {
|
1973 |
-
|
1974 |
}
|
1975 |
function e() {
|
1976 |
var a = b.value;
|
1977 |
-
a !== q && (
|
1978 |
}
|
1979 |
function d() {
|
1980 |
e();
|
1981 |
-
|
1982 |
}
|
1983 |
function g() {
|
1984 |
c = b;
|
1985 |
-
|
1986 |
-
|
1987 |
-
|
1988 |
-
|
1989 |
return !0;
|
1990 |
}
|
1991 |
function l() {
|
1992 |
c === b && (c = null);
|
1993 |
-
|
1994 |
-
|
1995 |
-
|
1996 |
return !0;
|
1997 |
}
|
1998 |
-
var
|
1999 |
-
|
2000 |
return {
|
2001 |
val: function(a) {
|
2002 |
-
q !== a && (b.value = a,
|
2003 |
return !0;
|
2004 |
},
|
2005 |
kill: function() {
|
2006 |
a();
|
2007 |
-
|
2008 |
},
|
2009 |
fire: function() {
|
2010 |
q = null;
|
@@ -2014,23 +2018,23 @@ ping: d,
|
|
2014 |
blur: l,
|
2015 |
focus: g,
|
2016 |
reset: function() {
|
2017 |
-
|
2018 |
}
|
2019 |
};
|
2020 |
}
|
2021 |
-
function
|
2022 |
this.e = b;
|
2023 |
}
|
2024 |
var c;
|
2025 |
f._new = function(b) {
|
2026 |
-
return new
|
2027 |
};
|
2028 |
f.init = function(b) {
|
2029 |
-
var a = new
|
2030 |
b.disabled ? (b.removeAttribute("disabled"), a.disable()) : b.readOnly ? a.disable() : a.enable();
|
2031 |
return a;
|
2032 |
};
|
2033 |
-
TextAreaPrototype =
|
2034 |
TextAreaPrototype.destroy = function() {
|
2035 |
this.unlisten();
|
2036 |
var b = this.p;
|
@@ -2050,7 +2054,7 @@ if (null == b) return a.value;
|
|
2050 |
var c = this.l, d = this.p;
|
2051 |
d && d.val(b);
|
2052 |
c && c.val(b);
|
2053 |
-
c || a.value === b || (a.value = b,
|
2054 |
return this;
|
2055 |
};
|
2056 |
TextAreaPrototype.fire = function() {
|
@@ -2063,7 +2067,7 @@ return this;
|
|
2063 |
};
|
2064 |
TextAreaPrototype.focus = function() {
|
2065 |
var b = this.p;
|
2066 |
-
b ? b.focus() :
|
2067 |
};
|
2068 |
TextAreaPrototype.focused = function() {
|
2069 |
return c && c === this.el;
|
@@ -2139,13 +2143,13 @@ b && b.resize && b.resize();
|
|
2139 |
};
|
2140 |
TextAreaPrototype = null;
|
2141 |
return f;
|
2142 |
-
}({},
|
2143 |
n.register("$47", function(f, d, n) {
|
2144 |
function m(a) {
|
2145 |
var b = d.console;
|
2146 |
b && b.error && b.error(a);
|
2147 |
}
|
2148 |
-
function
|
2149 |
var b = n.createElement("div");
|
2150 |
a && b.setAttribute("class", a);
|
2151 |
return b;
|
@@ -2181,7 +2185,7 @@ b.preventDefault();
|
|
2181 |
return !1;
|
2182 |
};
|
2183 |
}
|
2184 |
-
function
|
2185 |
function e(a) {
|
2186 |
m("row[" + a + "] disappeared");
|
2187 |
return {
|
@@ -2191,20 +2195,20 @@ return "";
|
|
2191 |
};
|
2192 |
}
|
2193 |
return function(d) {
|
2194 |
-
var
|
2195 |
d.sort(function(a, b) {
|
2196 |
-
return
|
2197 |
});
|
2198 |
};
|
2199 |
}
|
2200 |
-
function
|
2201 |
this.w = a;
|
2202 |
}
|
2203 |
function l(a) {
|
2204 |
this.t = a;
|
2205 |
this.length = 0;
|
2206 |
}
|
2207 |
-
function
|
2208 |
var e = n.createElement("div");
|
2209 |
e.className = c || "";
|
2210 |
this._ = e;
|
@@ -2212,59 +2216,59 @@ this.d = b || [];
|
|
2212 |
this.i = a || 0;
|
2213 |
this.length = b.length;
|
2214 |
}
|
2215 |
-
function
|
2216 |
this.live = a;
|
2217 |
this.rows = [];
|
2218 |
}
|
2219 |
f.create = function(a) {
|
2220 |
-
return new
|
2221 |
};
|
2222 |
-
var
|
2223 |
-
|
2224 |
-
var
|
2225 |
if (d) this.ds = d, this.idxs = u, this._idxs = null; else if (!(d = this.ds)) throw Error("No datasource");
|
2226 |
f.css.push("wg-thead");
|
2227 |
-
|
2228 |
d.eachCol(function(a, b, c) {
|
2229 |
-
|
2230 |
F[a] = c || b;
|
2231 |
});
|
2232 |
-
for (var
|
2233 |
-
|
2234 |
d.eachRow(function(a, b, c) {
|
2235 |
-
|
2236 |
u[a] = a;
|
2237 |
});
|
2238 |
-
this.rows =
|
2239 |
-
this.cols =
|
2240 |
this.ww = null;
|
2241 |
-
this.root =
|
2242 |
this.head = f;
|
2243 |
f.redraw = c(this);
|
2244 |
-
f =
|
2245 |
-
|
2246 |
-
|
2247 |
-
|
2248 |
-
this.sc ? this._re_sort(
|
2249 |
this.redrawDirty();
|
2250 |
this.render();
|
2251 |
-
|
2252 |
return this;
|
2253 |
};
|
2254 |
-
|
2255 |
for (var a = this.pages || [], b = a.length; 0 !== b--; ) a[b].destroy();
|
2256 |
this.pages = [];
|
2257 |
this.sy = this.mx = this.mn = this.vh = null;
|
2258 |
void 0;
|
2259 |
return this;
|
2260 |
};
|
2261 |
-
|
2262 |
-
for (var a, b, c = [], e = this.rows || [], d = -1,
|
2263 |
-
0 === d % 100 && (a =
|
2264 |
-
|
2265 |
-
p[
|
2266 |
-
a = e[
|
2267 |
-
if (null == a) throw Error("Render error, no data at [" +
|
2268 |
a.page = b;
|
2269 |
b.rows.push(a);
|
2270 |
}
|
@@ -2273,137 +2277,137 @@ this.pages = c;
|
|
2273 |
this.mx = this.mn = null;
|
2274 |
this.redrawDirty();
|
2275 |
this.redraw();
|
2276 |
-
null ==
|
2277 |
-
this._r =
|
2278 |
return this;
|
2279 |
};
|
2280 |
-
|
2281 |
-
var a = -1, b = this.ww || (this.ww = []), c = this.w, e = c.cells[0], d = e.body.childNodes,
|
2282 |
-
for (c.redraw.call(e); ++a <
|
2283 |
-
if (
|
2284 |
c = this.mx;
|
2285 |
for (a = this.mn; a <= c; a++) g[a].widths(b);
|
2286 |
this.redrawDirty() && this.redraw();
|
2287 |
}
|
2288 |
};
|
2289 |
-
|
2290 |
var a = !1, b = this.root, c = b.scrollTop, b = b.clientHeight;
|
2291 |
this.sy !== c && (a = !0, this.sy = c);
|
2292 |
this.vh !== b && (a = !0, this.vh = b);
|
2293 |
return a;
|
2294 |
};
|
2295 |
-
|
2296 |
-
for (var a = 0, b = -1, c = null, e = null, d = this.ww,
|
2297 |
a += g.height(), a < p || (null === c && (c = b), e = b, g.rendered || g.render(d));
|
2298 |
-
if (
|
2299 |
-
if (null !==
|
2300 |
g = f[b];
|
2301 |
if (!g) throw Error("Shit!");
|
2302 |
g.rendered && g.sleep();
|
2303 |
}
|
2304 |
this.mn = c;
|
2305 |
}
|
2306 |
-
if (
|
2307 |
-
if (null !==
|
2308 |
this.mx = e;
|
2309 |
}
|
2310 |
};
|
2311 |
-
|
2312 |
return this.r;
|
2313 |
};
|
2314 |
-
|
2315 |
return this.w.cells[0];
|
2316 |
};
|
2317 |
-
|
2318 |
return this.w.cells[1];
|
2319 |
};
|
2320 |
-
|
2321 |
return (a = this.row(a)) ? a.cells() : [];
|
2322 |
};
|
2323 |
-
|
2324 |
return this.rows[a];
|
2325 |
};
|
2326 |
-
|
2327 |
return this.tr(a)[b];
|
2328 |
};
|
2329 |
-
|
2330 |
null == c && (c = this.r || 0);
|
2331 |
-
var e = this.idxs, d = e.length,
|
2332 |
-
for (c =
|
2333 |
b = !1; else return null;
|
2334 |
-
c = e[
|
2335 |
-
return null == c || null == this.rows[c] ? (m("Bad next: [" +
|
2336 |
null) : c;
|
2337 |
};
|
2338 |
-
|
2339 |
a = this.next(a, b);
|
2340 |
null != a && this.r !== a && this.select(a, c);
|
2341 |
return this;
|
2342 |
};
|
2343 |
-
|
2344 |
var b = this.r;
|
2345 |
-
null != b && (this.r = null,
|
2346 |
return this;
|
2347 |
};
|
2348 |
-
|
2349 |
return this.select(this.idxs[a]);
|
2350 |
};
|
2351 |
-
|
2352 |
var c = this.rows[a], e = c && c.page;
|
2353 |
if (!e) return this.deselect(!1), m("Row is filtered out"), this;
|
2354 |
this.deselect(!0);
|
2355 |
-
var d,
|
2356 |
-
e.rendered || (d = e.top(),
|
2357 |
if (!c.rendered) return e.rendered || m("Failed to render page"), m("Row [" + c.i + "] not rendered"),
|
2358 |
this;
|
2359 |
e = c.cells();
|
2360 |
-
|
2361 |
this.r = a;
|
2362 |
-
b || (d =
|
2363 |
-
|
2364 |
this.w.fire("wgRowSelect", [ a, c.data() ]);
|
2365 |
return this;
|
2366 |
};
|
2367 |
-
|
2368 |
this._idxs && (this.idxs = this._sort(this._idxs), this._idxs = null, this.clear().render());
|
2369 |
return this;
|
2370 |
};
|
2371 |
-
|
2372 |
this._idxs || (this._idxs = this.idxs);
|
2373 |
this.idxs = this._sort(a);
|
2374 |
return this.clear().render();
|
2375 |
};
|
2376 |
-
|
2377 |
-
for (var b, c = -1, e = this.rows || [], d = this.idxs || [],
|
2378 |
a(e[b], c, b);
|
2379 |
return this;
|
2380 |
};
|
2381 |
-
|
2382 |
var b = this.sc || (this.sc = new l(this));
|
2383 |
b.has(a) || b.add(a);
|
2384 |
return this;
|
2385 |
};
|
2386 |
-
|
2387 |
var b = -1, c = this.sc, e = c.active;
|
2388 |
for (this.sc = c = new l(this); ++b < a; ) c.add(b);
|
2389 |
e && (b = this.head.indexOf(e.id), -1 === b && (b = Math.min(e.idx, a - 1)), this.sort(b, e.desc));
|
2390 |
return this;
|
2391 |
};
|
2392 |
-
|
2393 |
b ? (this.s = b, b(a)) : (b = this.s) && b(a);
|
2394 |
return a;
|
2395 |
};
|
2396 |
-
|
2397 |
-
this._sort(this.idxs,
|
2398 |
this.sc.activate(a, b);
|
2399 |
return this;
|
2400 |
};
|
2401 |
-
|
2402 |
-
|
2403 |
-
|
2404 |
return null != this[a];
|
2405 |
};
|
2406 |
-
|
2407 |
var b = this, c = b.t.head.cells[a];
|
2408 |
b[a] = {
|
2409 |
desc: null,
|
@@ -2417,22 +2421,22 @@ b.toggle(a), !1;
|
|
2417 |
});
|
2418 |
return b;
|
2419 |
};
|
2420 |
-
|
2421 |
this.t.sort(a, !this[a].desc).clear().render();
|
2422 |
return this;
|
2423 |
};
|
2424 |
-
|
2425 |
var c, e;
|
2426 |
c = this.active;
|
2427 |
-
var d = this[a],
|
2428 |
-
c && (e =
|
2429 |
-
(e =
|
2430 |
d.css = c) : this.active = null;
|
2431 |
return this;
|
2432 |
};
|
2433 |
-
|
2434 |
-
|
2435 |
-
|
2436 |
var b, c = [], e = this._, d = this.length;
|
2437 |
if (e) {
|
2438 |
for (this.c = c; 0 !== d--; ) b = e.cloneNode(!1), c[d] = this.update(d, b), b.$index = this.i,
|
@@ -2442,57 +2446,57 @@ this._ = null;
|
|
2442 |
this.rendered = !0;
|
2443 |
return this;
|
2444 |
};
|
2445 |
-
|
2446 |
var c = b || this.c[a] || {}, e = (this.d[a] || function() {})() || " ";
|
2447 |
null == e.innerHTML ? c.textContent = e : c.innerHTML = e.innerHTML;
|
2448 |
return c;
|
2449 |
};
|
2450 |
-
|
2451 |
return this.c || [ this._ ];
|
2452 |
};
|
2453 |
-
|
2454 |
for (var a = -1, b = [], c = this.length; ++a < c; ) b[a] = this.cellVal(a);
|
2455 |
return b;
|
2456 |
};
|
2457 |
-
|
2458 |
this.page = null;
|
2459 |
this.rendered = !1;
|
2460 |
};
|
2461 |
-
|
2462 |
a = this.d[a]() || "";
|
2463 |
return String(a.textContent || a);
|
2464 |
};
|
2465 |
-
|
2466 |
-
|
2467 |
-
|
2468 |
return this.rows.length;
|
2469 |
};
|
2470 |
-
|
2471 |
-
var b = this.h, c =
|
2472 |
c.style.height = String(b) + "px";
|
2473 |
a.appendChild(c);
|
2474 |
return this.dead = c;
|
2475 |
};
|
2476 |
-
|
2477 |
return (this.rendered ? this.live : this.dead).offsetTop;
|
2478 |
};
|
2479 |
-
|
2480 |
var a = this.h;
|
2481 |
null == a && (this.h = a = this.rendered ? this.live.firstChild.offsetHeight : this.dead.offsetHight);
|
2482 |
a || m("row has zero height");
|
2483 |
return a;
|
2484 |
};
|
2485 |
-
|
2486 |
-
for (var b, c = -1, e = this.rows, d = e.length,
|
2487 |
-
b.rendered || b.render(
|
2488 |
d = a.length;
|
2489 |
-
for (c = 0; c < d; c++)
|
2490 |
-
|
2491 |
this.rendered = !0;
|
2492 |
this.h = null;
|
2493 |
return this;
|
2494 |
};
|
2495 |
-
|
2496 |
var a = this.height(), b = this.live, c = this.dead;
|
2497 |
c.style.height = String(a) + "px";
|
2498 |
b.parentNode.replaceChild(c, b);
|
@@ -2500,62 +2504,62 @@ this.rendered = !1;
|
|
2500 |
this.h = a;
|
2501 |
return this;
|
2502 |
};
|
2503 |
-
|
2504 |
a *= this.rows.length;
|
2505 |
var b = this.dead;
|
2506 |
b && (b.style.height = String(a) + "px");
|
2507 |
this.rendered || (this.h = a);
|
2508 |
return this;
|
2509 |
};
|
2510 |
-
|
2511 |
for (var b = this.live.childNodes, c = a.length; 0 !== c--; ) b[c].style.width = a[c];
|
2512 |
return this;
|
2513 |
};
|
2514 |
-
|
2515 |
var a = this.rendered ? this.live : this.dead, b = this.rows, c = b.length;
|
2516 |
for (a.parentNode.removeChild(a); 0 !== c--; ) b[c].destroy();
|
2517 |
};
|
2518 |
-
|
2519 |
return f;
|
2520 |
-
}({},
|
2521 |
n.register("$38", function(f, d, E) {
|
2522 |
function m(a, b) {
|
2523 |
var c = a.id, e = c && q[c], d = e && e.parent();
|
2524 |
if (!e || !d) return null;
|
2525 |
-
var
|
2526 |
-
null == c && (c = b[
|
2527 |
-
c && (
|
2528 |
p.className = f + " is-resizing";
|
2529 |
return {
|
2530 |
done: function() {
|
2531 |
p.className = f;
|
2532 |
},
|
2533 |
move: function(a) {
|
2534 |
-
d.resize(a[
|
2535 |
return !0;
|
2536 |
}
|
2537 |
};
|
2538 |
}
|
2539 |
-
function
|
2540 |
function e() {
|
2541 |
-
|
2542 |
-
|
2543 |
return !0;
|
2544 |
}
|
2545 |
function d(a) {
|
2546 |
-
|
2547 |
return !0;
|
2548 |
}
|
2549 |
-
if (
|
2550 |
-
|
2551 |
-
if (!
|
2552 |
-
|
2553 |
return b(a);
|
2554 |
}
|
2555 |
function c(a, b) {
|
2556 |
var c = b.type;
|
2557 |
-
"touchmove" === c ?
|
2558 |
-
|
2559 |
}
|
2560 |
function b(a) {
|
2561 |
a.stopPropagation();
|
@@ -2563,19 +2567,19 @@ a.preventDefault();
|
|
2563 |
return !1;
|
2564 |
}
|
2565 |
function a(a) {
|
2566 |
-
var b =
|
2567 |
b && b.redraw();
|
2568 |
a && a.redraw();
|
2569 |
-
return
|
2570 |
}
|
2571 |
function e(b, c) {
|
2572 |
-
var e =
|
2573 |
e.trigger("wgFocus", [ a(b) ]);
|
2574 |
}).on("editBlur", function() {
|
2575 |
e.trigger("wgBlur", [ a(null) ]);
|
2576 |
});
|
2577 |
}
|
2578 |
-
function
|
2579 |
var b = a.id, c = a.className;
|
2580 |
this.id = b;
|
2581 |
this.el = a;
|
@@ -2585,21 +2589,21 @@ this._cn = c;
|
|
2585 |
q[b] = this;
|
2586 |
this.clear();
|
2587 |
}
|
2588 |
-
var
|
2589 |
f.init = function(a) {
|
2590 |
-
var b = new
|
2591 |
b.redraw();
|
2592 |
n.require("$45", "touch.js").ok(function(b) {
|
2593 |
b.dragger(a, c);
|
2594 |
});
|
2595 |
-
|
2596 |
return b;
|
2597 |
};
|
2598 |
-
d =
|
2599 |
d.fire = function(a, b) {
|
2600 |
-
var c =
|
2601 |
c.cell = this;
|
2602 |
-
|
2603 |
return this;
|
2604 |
};
|
2605 |
d.each = function(a) {
|
@@ -2616,10 +2620,10 @@ d.off = function() {
|
|
2616 |
return this.$("off", arguments);
|
2617 |
};
|
2618 |
d.find = function(a) {
|
2619 |
-
return
|
2620 |
};
|
2621 |
d.$ = function(a, b) {
|
2622 |
-
|
2623 |
return this;
|
2624 |
};
|
2625 |
d.addClass = function(a) {
|
@@ -2635,24 +2639,24 @@ d.parent = function() {
|
|
2635 |
return this.pid && q[this.pid];
|
2636 |
};
|
2637 |
d.splitx = function() {
|
2638 |
-
return this._split(
|
2639 |
};
|
2640 |
d.splity = function() {
|
2641 |
return this._split(2, arguments);
|
2642 |
};
|
2643 |
d._split = function(a, b) {
|
2644 |
(this.length || this.field) && this.clear();
|
2645 |
-
for (var c = -1, e, d = b.length, g = 1 / d,
|
2646 |
e = l.el();
|
2647 |
this.body.appendChild(e);
|
2648 |
-
for (var f = e,
|
2649 |
-
f.id =
|
2650 |
-
e = new
|
2651 |
e.index = c;
|
2652 |
e.pid = this.id;
|
2653 |
e._locale(this.lang, this.rtl);
|
2654 |
-
e.pos =
|
2655 |
-
|
2656 |
this.cells.push(e);
|
2657 |
this.length++;
|
2658 |
}
|
@@ -2667,18 +2671,18 @@ var a = this.el;
|
|
2667 |
a.innerHTML = "";
|
2668 |
this.body = null;
|
2669 |
a.className = this._cn || "";
|
2670 |
-
|
2671 |
return this;
|
2672 |
};
|
2673 |
d.exists = function() {
|
2674 |
return this === q[this.id];
|
2675 |
};
|
2676 |
d.clear = function() {
|
2677 |
-
for (var a = this.el, b = this.cells, c = this.field, e = this.body, d = this.nav,
|
2678 |
this.cells = [];
|
2679 |
this.length = 0;
|
2680 |
d && (a.removeChild(d), this.nav = null);
|
2681 |
-
e && (c && (
|
2682 |
this.table && (this.table = null), a === e.parentNode && a.removeChild(e));
|
2683 |
this.body = a.appendChild(l.el("", "wg-body"));
|
2684 |
this._h = null;
|
@@ -2686,16 +2690,16 @@ return this;
|
|
2686 |
};
|
2687 |
d.resize = function(a, b) {
|
2688 |
if (!b && (b = this.cells[1], !b)) return;
|
2689 |
-
var c = b.index, e = this.cells, d =
|
2690 |
pad = (b.body || b.el.firstChild).offsetTop || 0;
|
2691 |
-
max = (
|
2692 |
min = c ? c.pos * d : 0;
|
2693 |
b.pos = Math.min(max, Math.max(min, a)) / d;
|
2694 |
this.redraw();
|
2695 |
return this;
|
2696 |
};
|
2697 |
d.distribute = function(a) {
|
2698 |
-
for (var b = -1, c = 0, e, d = this.cells,
|
2699 |
this.redraw();
|
2700 |
return this;
|
2701 |
};
|
@@ -2718,16 +2722,16 @@ d.redraw = function(a) {
|
|
2718 |
this.restyle();
|
2719 |
var b = this.el, c = this.body, e = this.field;
|
2720 |
if (c) {
|
2721 |
-
var d,
|
2722 |
-
this._h !==
|
2723 |
-
this._w !==
|
2724 |
d && d.redraw();
|
2725 |
}
|
2726 |
c = this.length;
|
2727 |
-
|
2728 |
-
|
2729 |
-
for (
|
2730 |
-
d =
|
2731 |
return this;
|
2732 |
};
|
2733 |
d.contents = function(a, b) {
|
@@ -2736,7 +2740,7 @@ if (null == a) return e.innerHTML;
|
|
2736 |
this.length ? this.clear() : e && (c.removeChild(e), e = null);
|
2737 |
e || (this.body = e = c.appendChild(l.el("", b || "wg-content")), this._h = null,
|
2738 |
(c = this.lang) && this._locale(c, this.rtl, !0));
|
2739 |
-
"string" === typeof a ?
|
2740 |
this.redraw();
|
2741 |
return this;
|
2742 |
};
|
@@ -2780,20 +2784,20 @@ b.eachTextarea(a);
|
|
2780 |
return this;
|
2781 |
};
|
2782 |
d.append = function(a) {
|
2783 |
-
a && (a.nodeType ?
|
2784 |
return this;
|
2785 |
};
|
2786 |
d.prepend = function(a) {
|
2787 |
var b = this.body;
|
2788 |
if (a.nodeType) {
|
2789 |
var c = b.firstChild;
|
2790 |
-
|
2791 |
-
} else
|
2792 |
return this;
|
2793 |
};
|
2794 |
d.before = function(a) {
|
2795 |
var b = this.body;
|
2796 |
-
a.nodeType ?
|
2797 |
return this;
|
2798 |
};
|
2799 |
d.header = function(a, b) {
|
@@ -2814,7 +2818,7 @@ var a = this.t;
|
|
2814 |
return a && a.nodeValue;
|
2815 |
};
|
2816 |
d.bodyY = function() {
|
2817 |
-
return
|
2818 |
};
|
2819 |
d.scrollY = function(a) {
|
2820 |
if (J === a) return this.body.scrollTop;
|
@@ -2833,56 +2837,56 @@ return this;
|
|
2833 |
d.scrollTo = function(a, b) {
|
2834 |
var c, e = this.body;
|
2835 |
c = e.scrollTop;
|
2836 |
-
var d =
|
2837 |
if (c > d) c = d; else {
|
2838 |
-
var
|
2839 |
-
if (
|
2840 |
}
|
2841 |
-
b ? e.scrollTop = c :
|
2842 |
scrollTop: c
|
2843 |
}, 250);
|
2844 |
};
|
2845 |
d.navigize = function(a, c) {
|
2846 |
function e(a) {
|
2847 |
-
var b =
|
2848 |
c.addClass("active");
|
2849 |
p = a;
|
2850 |
-
|
2851 |
b.fire("wgTabSelect", [ a ]);
|
2852 |
return d;
|
2853 |
}
|
2854 |
-
var d = this,
|
2855 |
-
|
2856 |
-
var
|
2857 |
-
var c =
|
2858 |
if (null == c) return !0;
|
2859 |
if (null != p) {
|
2860 |
-
var
|
2861 |
-
h
|
2862 |
-
|
2863 |
}
|
2864 |
e(c);
|
2865 |
d.redraw();
|
2866 |
return b(a);
|
2867 |
});
|
2868 |
-
null == c && (c =
|
2869 |
d.each(function(b, c) {
|
2870 |
-
f[c] =
|
2871 |
b.pos = 0;
|
2872 |
-
|
2873 |
});
|
2874 |
-
e(
|
2875 |
d.lock();
|
2876 |
d.redraw();
|
2877 |
return d;
|
2878 |
};
|
2879 |
d.navigated = function() {
|
2880 |
var a = this.nav;
|
2881 |
-
if (a) return
|
2882 |
};
|
2883 |
d = null;
|
2884 |
return f;
|
2885 |
-
}({},
|
2886 |
n.register("$24", function(f, d, E) {
|
2887 |
function m(a) {
|
2888 |
var b = [];
|
@@ -2890,10 +2894,10 @@ a && (a.saved() || b.push("po-unsaved"), a.fuzzy() ? b.push("po-fuzzy") : a.flag
|
|
2890 |
a.translation() || b.push("po-empty"), a.comment() && b.push("po-comment"));
|
2891 |
return b.join(" ");
|
2892 |
}
|
2893 |
-
function
|
2894 |
-
b =
|
2895 |
var e = b.find("span.lang");
|
2896 |
-
c ? (c = n.require("$36", "locale.js").cast(c), e.length || (e =
|
2897 |
e.attr("lang", c.lang).attr("class", c.getIcon() || "lang region region-" + (c.region || "zz").toLowerCase())) : (e.remove(),
|
2898 |
c = "en");
|
2899 |
a.locale(c);
|
@@ -2910,15 +2914,15 @@ function b() {
|
|
2910 |
this.dirty = 0;
|
2911 |
}
|
2912 |
n.require("$3", "number.js");
|
2913 |
-
var a = "poUpdate", e = "changing",
|
2914 |
f.extend = function(a) {
|
2915 |
return a.prototype = new b();
|
2916 |
};
|
2917 |
f.localise = function(a) {
|
2918 |
-
|
2919 |
return f;
|
2920 |
};
|
2921 |
-
var
|
2922 |
var a = E.createElement("p");
|
2923 |
return function(b) {
|
2924 |
a.innerHTML = b.replace("src=", "x=");
|
@@ -2936,14 +2940,14 @@ this.html = !1;
|
|
2936 |
return this;
|
2937 |
};
|
2938 |
u.localise = function(a) {
|
2939 |
-
a || (a =
|
2940 |
var b = [];
|
2941 |
-
b[
|
2942 |
-
b[
|
2943 |
-
b[
|
2944 |
b[q] = a._x("Comments", "Editor") + ":";
|
2945 |
b[l] = a._x("Single", "Editor") + ":";
|
2946 |
-
b[
|
2947 |
b[6] = a._x("Untranslated", "Editor");
|
2948 |
b[7] = a._x("Translated", "Editor");
|
2949 |
b[8] = a._x("Toggle Fuzzy", "Editor");
|
@@ -2958,21 +2962,21 @@ c.redraw(!0, a);
|
|
2958 |
return !0;
|
2959 |
}
|
2960 |
var c = n.require("$38", "wingrid.js").init(a);
|
2961 |
-
|
2962 |
this.redraw = b;
|
2963 |
-
|
2964 |
a.stopPropagation();
|
2965 |
-
|
2966 |
});
|
2967 |
this.destroy = function() {
|
2968 |
c.destroy();
|
2969 |
-
|
2970 |
};
|
2971 |
this.rootDiv = a;
|
2972 |
return c;
|
2973 |
};
|
2974 |
u.$ = function() {
|
2975 |
-
return
|
2976 |
};
|
2977 |
u.setListCell = function(a) {
|
2978 |
var b = this;
|
@@ -2992,12 +2996,12 @@ u.setTargetCell = function(a) {
|
|
2992 |
this.targetCell = a;
|
2993 |
};
|
2994 |
u.next = function(a, b, c) {
|
2995 |
-
for (var e = this.listTable, d = e.selected(),
|
2996 |
-
if (
|
2997 |
d = null;
|
2998 |
break;
|
2999 |
}
|
3000 |
-
if (b && (
|
3001 |
break;
|
3002 |
}
|
3003 |
null != d && e.select(d, !0);
|
@@ -3036,16 +3040,16 @@ u.filtered = function() {
|
|
3036 |
return this.lastSearch || "";
|
3037 |
};
|
3038 |
u.filter = function(a, b) {
|
3039 |
-
var c, e = this.listTable, d = this.lastFound,
|
3040 |
if (a) {
|
3041 |
-
if (
|
3042 |
-
if (
|
3043 |
c = this.dict.find(a);
|
3044 |
}
|
3045 |
-
this.lastSearch =
|
3046 |
this.lastFound = d = c ? c.length : this.po.length;
|
3047 |
c ? e.filter(c) : e.unfilter();
|
3048 |
-
b || this.fire("poFilter", [
|
3049 |
return d;
|
3050 |
};
|
3051 |
u.countFiltered = function() {
|
@@ -3064,7 +3068,7 @@ var b = this.po.indexOf(a);
|
|
3064 |
if ((b = this.listTable.tr(b)) && b.length) {
|
3065 |
var c = b[0].className;
|
3066 |
a = c.replace(/(?:^| +)po-[a-z]+/g, "") + " " + m(a);
|
3067 |
-
a !== c &&
|
3068 |
}
|
3069 |
};
|
3070 |
u.save = function(a) {
|
@@ -3078,7 +3082,7 @@ return b;
|
|
3078 |
u.fire = function(a, b) {
|
3079 |
var c = this.handle;
|
3080 |
if (c && c[a] && (c = c[a].apply(this, b || []), !1 === c)) return !1;
|
3081 |
-
c =
|
3082 |
this.$().trigger(c, b);
|
3083 |
return !c.isDefaultPrevented();
|
3084 |
};
|
@@ -3090,16 +3094,16 @@ u.getSorter = function() {
|
|
3090 |
return null;
|
3091 |
};
|
3092 |
u.reload = function() {
|
3093 |
-
var a = this, b, c = a.listCell, e = a.listTable, d = a.po,
|
3094 |
if (!d || !d.row) return c && c.clear().header("Error").contents("Invalid messages list"),
|
3095 |
!1;
|
3096 |
-
a.targetLocale =
|
3097 |
-
a.lastSearch && (a.lastSearch = "", a.lastFound =
|
3098 |
e && (b = e.thead().distribution());
|
3099 |
a.listTable = e = c.tabulate({
|
3100 |
eachCol: function(b) {
|
3101 |
-
var c, e, d = a.getListColumns(),
|
3102 |
-
for (e in d) c = d[e], b(c, e,
|
3103 |
},
|
3104 |
eachRow: function(b) {
|
3105 |
d.each(function(c, e) {
|
@@ -3108,12 +3112,12 @@ b(e.idx, a.getListEntry(e), m(e));
|
|
3108 |
},
|
3109 |
sort: a.getSorter()
|
3110 |
});
|
3111 |
-
var
|
3112 |
-
for (
|
3113 |
b && e.thead().distribute(b);
|
3114 |
-
e.tbody().$(
|
3115 |
a.fire("poLoad");
|
3116 |
-
return !!
|
3117 |
};
|
3118 |
u.load = function(a, b) {
|
3119 |
this.po = a;
|
@@ -3145,27 +3149,27 @@ u.setStatus = function() {
|
|
3145 |
return null;
|
3146 |
};
|
3147 |
u.setSrcMeta = function(a, b) {
|
3148 |
-
var e = [], d,
|
3149 |
-
if (d = a.context())
|
3150 |
-
if (
|
3151 |
-
|
3152 |
-
if (this.getMono() && (d = a.refs()) && (f = d.split(/\s/),
|
3153 |
-
for (
|
3154 |
-
e.push('<p class="has-icon icon-file">' +
|
3155 |
-
}
|
3156 |
-
(d = a.notes()) && e.push('<p class="has-icon icon-info">' +
|
3157 |
-
e.length ? (
|
3158 |
-
c(this,
|
3159 |
-
|
3160 |
-
return
|
3161 |
};
|
3162 |
u.setTrgMeta = function(a, b, c) {
|
3163 |
-
var e = [], d = !1,
|
3164 |
b = (a = a.errors(b)) && a.length;
|
3165 |
-
var
|
3166 |
-
if (b) for (
|
3167 |
-
e.length ? (
|
3168 |
-
this.$tmeta =
|
3169 |
d = !0);
|
3170 |
return d;
|
3171 |
};
|
@@ -3178,117 +3182,117 @@ e[0] = a.charAt(0).toUpperCase() + a.substr(1).toLowerCase();
|
|
3178 |
return e.join(" ");
|
3179 |
}
|
3180 |
function d(a, e) {
|
3181 |
-
var
|
3182 |
a.off();
|
3183 |
-
a.titled() !==
|
3184 |
-
|
3185 |
-
|
3186 |
if (b.plural()) {
|
3187 |
-
var
|
3188 |
-
if (2 !==
|
3189 |
-
q[
|
3190 |
-
a.splity.apply(a,
|
3191 |
a.each(function(a, c) {
|
3192 |
-
a.header(q[c]).textarea(b.source(null, c),
|
3193 |
});
|
3194 |
a.lock();
|
3195 |
-
|
3196 |
f(a, b);
|
3197 |
});
|
3198 |
-
} else
|
3199 |
-
|
3200 |
}
|
3201 |
function f(c, d) {
|
3202 |
c.on(e, function(a, c) {
|
3203 |
b.source(c, d);
|
3204 |
-
0 === d &&
|
3205 |
-
|
3206 |
-
}).on(
|
3207 |
-
0 === d &&
|
3208 |
-
|
3209 |
-
|
3210 |
});
|
3211 |
}
|
3212 |
-
function
|
3213 |
M && a.eachTextarea(function(a) {
|
3214 |
a.ping();
|
3215 |
});
|
3216 |
a.off();
|
3217 |
-
var
|
3218 |
-
a.titled() !==
|
3219 |
-
|
3220 |
-
!this.sourceCell &&
|
3221 |
-
|
3222 |
-
|
3223 |
if (b.pluralized()) {
|
3224 |
-
var
|
3225 |
-
var b =
|
3226 |
-
|
3227 |
-
|
3228 |
};
|
3229 |
-
for (b.each(
|
3230 |
-
a.splitx.apply(a,
|
3231 |
a.each(function(a, c) {
|
3232 |
var e = M && !b.disabled(c);
|
3233 |
-
a.textarea(b.translation(c), e).setStrf(
|
3234 |
M && m(a, c);
|
3235 |
});
|
3236 |
-
a.navigize(
|
3237 |
var d = M && c.cell.editable();
|
3238 |
d && d.focus();
|
3239 |
-
|
3240 |
-
|
3241 |
-
|
3242 |
});
|
3243 |
-
} else
|
3244 |
M && m(a, 0);
|
3245 |
}
|
3246 |
function m(c, d) {
|
3247 |
c.on(e, function(a, c, e) {
|
3248 |
b.translate(c, d);
|
3249 |
-
0 === d &&
|
3250 |
-
b.fuzzy(d) ?
|
3251 |
-
"" === c ? (
|
3252 |
-
|
3253 |
-
}).on(
|
3254 |
-
|
3255 |
-
|
3256 |
});
|
3257 |
}
|
3258 |
function n(c) {
|
3259 |
c.off();
|
3260 |
-
var d = L[
|
3261 |
-
c.titled() !== d && (
|
3262 |
-
c.textarea(b.context(), !0).setMode(
|
3263 |
X && c.on(e, function(a, c) {
|
3264 |
b.context(c);
|
3265 |
-
|
3266 |
-
|
3267 |
-
}).on(
|
3268 |
-
|
3269 |
-
|
3270 |
-
|
3271 |
});
|
3272 |
}
|
3273 |
function u(a) {
|
3274 |
var c = L[q];
|
3275 |
-
a.titled() !== c &&
|
3276 |
a.off().on(e, function(a, c) {
|
3277 |
b.comment(c);
|
3278 |
-
|
3279 |
-
|
3280 |
}).textarea(b.comment(), !0);
|
3281 |
}
|
3282 |
-
var
|
3283 |
-
|
3284 |
-
|
3285 |
T && d(T, Y);
|
3286 |
U && n(U);
|
3287 |
-
S && W && (
|
3288 |
V && u(V);
|
3289 |
-
|
3290 |
-
|
3291 |
-
I ||
|
3292 |
};
|
3293 |
u.unloadActive = function() {
|
3294 |
function a(b) {
|
@@ -3321,7 +3325,7 @@ var c = this.getListColumns()[b], e = this.po.indexOf(a);
|
|
3321 |
(e = this.listTable.row(e)) && e.rendered && e.update(c);
|
3322 |
};
|
3323 |
u.cellText = function(a) {
|
3324 |
-
return (a = -1 !== a.indexOf("<") || -1 !== a.indexOf("&") ?
|
3325 |
};
|
3326 |
u.fuzzy = function(a, b, c) {
|
3327 |
b = b || this.active;
|
@@ -3401,7 +3405,7 @@ return this;
|
|
3401 |
};
|
3402 |
u = null;
|
3403 |
return f;
|
3404 |
-
}({},
|
3405 |
n.register("$13", function(f, d, E) {
|
3406 |
function m() {
|
3407 |
this.init()._validate();
|
@@ -3411,19 +3415,19 @@ label: "English",
|
|
3411 |
plurals: [ "One", "Other" ]
|
3412 |
};
|
3413 |
}
|
3414 |
-
function
|
3415 |
-
a =
|
3416 |
n.require("$12", "tooltip.js").init(a);
|
3417 |
return a;
|
3418 |
}
|
3419 |
function c(a) {
|
3420 |
-
return
|
3421 |
b.preventDefault();
|
3422 |
a.focus().fuzzy(!a.fuzzy());
|
3423 |
});
|
3424 |
}
|
3425 |
function b(a) {
|
3426 |
-
return
|
3427 |
b.preventDefault();
|
3428 |
a.fire("poHint");
|
3429 |
});
|
@@ -3432,13 +3436,13 @@ d = n.require("$24", "base.js");
|
|
3432 |
f.init = function(a) {
|
3433 |
var b = new m();
|
3434 |
a = b.setRootCell(a);
|
3435 |
-
var c = a.splity("po-list", "po-edit"), d = c[0],
|
3436 |
a.distribute([ .34 ]);
|
3437 |
-
|
3438 |
b.setListCell(d);
|
3439 |
-
b.setSourceCell(
|
3440 |
b.setTargetCell(c);
|
3441 |
-
b.commentCell =
|
3442 |
b.editable.source = !1;
|
3443 |
return b;
|
3444 |
};
|
@@ -3461,8 +3465,8 @@ return a;
|
|
3461 |
};
|
3462 |
d.getListEntry = function(a) {
|
3463 |
var b = this.cellText, c = [ function() {
|
3464 |
-
var c, d = b(a.source() || ""),
|
3465 |
-
return
|
3466 |
c.appendChild(E.createTextNode(" " + d)), c) : d;
|
3467 |
} ];
|
3468 |
this.targetLocale && (c[1] = function() {
|
@@ -3471,14 +3475,14 @@ return b(a.translation() || "");
|
|
3471 |
return c;
|
3472 |
};
|
3473 |
d.stats = function() {
|
3474 |
-
var a = this.po, b = a.length, c = 0, d = 0,
|
3475 |
a.each(function(a, b) {
|
3476 |
-
b.fuzzy() ?
|
3477 |
});
|
3478 |
return {
|
3479 |
t: b,
|
3480 |
p: c.percent(b) + "%",
|
3481 |
-
f:
|
3482 |
u: d
|
3483 |
};
|
3484 |
};
|
@@ -3508,7 +3512,7 @@ return !this._unlocked;
|
|
3508 |
d.setStatus = function(a) {
|
3509 |
var e = this.$tnav;
|
3510 |
if (null == a) e && (e.remove(), this.$tnav = null); else {
|
3511 |
-
e || (this.$tnav = e =
|
3512 |
var d = [];
|
3513 |
a.translated() ? a.fuzzy() && d.push("po-fuzzy") : d.push("po-empty");
|
3514 |
e.attr("class", d.join(" "));
|
@@ -3516,22 +3520,22 @@ e.attr("class", d.join(" "));
|
|
3516 |
};
|
3517 |
d.getSorter = function() {
|
3518 |
function a(a, c) {
|
3519 |
-
var d = a.weight(),
|
3520 |
-
return d ===
|
3521 |
}
|
3522 |
function b(a, c) {
|
3523 |
return a.hash().localeCompare(c.hash());
|
3524 |
}
|
3525 |
var c = this;
|
3526 |
return function(d) {
|
3527 |
-
var
|
3528 |
d.sort(function(a, b) {
|
3529 |
-
return
|
3530 |
});
|
3531 |
};
|
3532 |
};
|
3533 |
return f;
|
3534 |
-
}({},
|
3535 |
n.register("$14", function(f, d, n) {
|
3536 |
var m = {
|
3537 |
copy: 66,
|
@@ -3543,7 +3547,7 @@ prev: 38,
|
|
3543 |
enter: 13,
|
3544 |
invis: 73,
|
3545 |
hint: 74
|
3546 |
-
},
|
3547 |
38: !0,
|
3548 |
40: !0,
|
3549 |
73: !0
|
@@ -3579,16 +3583,16 @@ f.init = function(b, a) {
|
|
3579 |
function e(a) {
|
3580 |
if (a.isDefaultPrevented() || !a.metaKey && !a.ctrlKey) return !0;
|
3581 |
var e = a.which;
|
3582 |
-
if (!
|
3583 |
var d = c[e];
|
3584 |
if (!d) throw Error("command undefined #" + e);
|
3585 |
-
if (a.altKey || a.shiftKey && !
|
3586 |
a.stopPropagation();
|
3587 |
a.preventDefault();
|
3588 |
return !1;
|
3589 |
}
|
3590 |
-
var
|
3591 |
-
|
3592 |
return {
|
3593 |
add: function(a, b) {
|
3594 |
c[m[a]] = b;
|
@@ -3596,18 +3600,18 @@ return this;
|
|
3596 |
},
|
3597 |
enable: function() {
|
3598 |
var a, b;
|
3599 |
-
for (b in arguments) a = m[arguments[b]],
|
3600 |
return this;
|
3601 |
},
|
3602 |
disable: function() {
|
3603 |
-
|
3604 |
-
b = a =
|
3605 |
}
|
3606 |
};
|
3607 |
};
|
3608 |
return f;
|
3609 |
-
}({},
|
3610 |
-
n.register("$25", function(f, d,
|
3611 |
function m() {
|
3612 |
this.reIndex([]);
|
3613 |
}
|
@@ -3663,11 +3667,11 @@ for (var c = -1, b = this.keys, a = this.length; ++c < a; ) d(b[c], this[c], c);
|
|
3663 |
return this;
|
3664 |
};
|
3665 |
d.sort = function(d) {
|
3666 |
-
for (var c = -1, b = this.length, a, e = this.keys,
|
3667 |
-
|
3668 |
return d(a[0], b[0]);
|
3669 |
});
|
3670 |
-
for (c = 0; c < b; c++) a =
|
3671 |
return this;
|
3672 |
};
|
3673 |
d.join = function(d) {
|
@@ -3675,29 +3679,29 @@ return [].join.call(this, d);
|
|
3675 |
};
|
3676 |
d = null;
|
3677 |
return f;
|
3678 |
-
}({},
|
3679 |
-
n.register("$26", function(f, d,
|
3680 |
function m(d, c) {
|
3681 |
var b = RegExp("^.{0," + (d - 1) + "}[" + c + "]"), a = RegExp("^[^" + c + "]+");
|
3682 |
-
return function(c,
|
3683 |
-
for (var
|
3684 |
l = b.exec(c) || a.exec(c);
|
3685 |
if (null == l) break;
|
3686 |
l = l[0];
|
3687 |
-
|
3688 |
l = l.length;
|
3689 |
-
|
3690 |
c = c.substr(l);
|
3691 |
}
|
3692 |
-
0 !==
|
3693 |
-
return
|
3694 |
};
|
3695 |
}
|
3696 |
f.create = function(d) {
|
3697 |
function c(a) {
|
3698 |
return l[a] || "\\" + a;
|
3699 |
}
|
3700 |
-
var b, a, e = /(?:\r\n|[\r\n\v\f\u2028\u2029])/g,
|
3701 |
"\t": "\\t",
|
3702 |
"\v": "\\v",
|
3703 |
"\f": "\\f",
|
@@ -3707,33 +3711,33 @@ var b, a, e = /(?:\r\n|[\r\n\v\f\u2028\u2029])/g, f = /[ \r\n]+/g, g = /[\t\v\f\
|
|
3707 |
if (null == d || isNaN(d = Number(d))) d = 79;
|
3708 |
0 < d && (b = m(d - 3, " "), a = m(d - 2, "-– \\.,:;\\?!\\)\\]\\}\\>"));
|
3709 |
return {
|
3710 |
-
pair: function(b,
|
3711 |
-
if (!
|
3712 |
-
|
3713 |
-
var
|
3714 |
-
|
3715 |
-
|
3716 |
return "\\n\n";
|
3717 |
});
|
3718 |
-
if (!(
|
3719 |
-
var
|
3720 |
-
if (a) for (var
|
3721 |
-
return
|
3722 |
},
|
3723 |
prefix: function(a, b) {
|
3724 |
var c = a.split(e);
|
3725 |
return b + c.join("\n" + b);
|
3726 |
},
|
3727 |
refs: function(a) {
|
3728 |
-
a = a.replace(
|
3729 |
b && (a = b(a, []).join("\n#: "));
|
3730 |
return "#: " + a;
|
3731 |
}
|
3732 |
};
|
3733 |
};
|
3734 |
return f;
|
3735 |
-
}({},
|
3736 |
-
n.register("$39", function(f, d,
|
3737 |
function m() {
|
3738 |
this.length = 0;
|
3739 |
}
|
@@ -3754,8 +3758,8 @@ for (var c = -1, b = this.length; ++c < b; ) d(c, this[c]);
|
|
3754 |
return this;
|
3755 |
};
|
3756 |
return f;
|
3757 |
-
}({},
|
3758 |
-
n.register("$27", function(f, d,
|
3759 |
function m() {}
|
3760 |
f.extend = function(d) {
|
3761 |
return d.prototype = new m();
|
@@ -3821,20 +3825,20 @@ return a;
|
|
3821 |
};
|
3822 |
d = null;
|
3823 |
return f;
|
3824 |
-
}({},
|
3825 |
-
n.register("$28", function(f, d,
|
3826 |
function m(c, b, a) {
|
3827 |
if (null == a) return c[b] || "";
|
3828 |
c[b] = a || "";
|
3829 |
return c;
|
3830 |
}
|
3831 |
-
function
|
3832 |
this._id = this.id = "";
|
3833 |
}
|
3834 |
f.extend = function(c) {
|
3835 |
-
return c.prototype = new
|
3836 |
};
|
3837 |
-
d =
|
3838 |
d.flag = function(c, b) {
|
3839 |
var a = this.flg || (this.flg = []);
|
3840 |
if (null != b) a[b] = c; else for (var d = Math.max(a.length, this.src.length, this.msg.length); 0 !== d--; ) a[d] = c;
|
@@ -3847,7 +3851,7 @@ for (c = b.length; 0 !== c--; ) if (b[c]) return !0;
|
|
3847 |
return !1;
|
3848 |
};
|
3849 |
d.flags = function() {
|
3850 |
-
for (var c, b = {}, a = [], d = this.flg || [],
|
3851 |
b[c] || (b[c] = !0, a.push(c));
|
3852 |
return a;
|
3853 |
};
|
@@ -3879,7 +3883,7 @@ d.targetForms = function() {
|
|
3879 |
return this.msgF;
|
3880 |
};
|
3881 |
d.each = function(c) {
|
3882 |
-
for (var b = -1, a = this.src, d = this.msg,
|
3883 |
return this;
|
3884 |
};
|
3885 |
d.count = function() {
|
@@ -3984,8 +3988,8 @@ this.htm = c;
|
|
3984 |
};
|
3985 |
d = null;
|
3986 |
return f;
|
3987 |
-
}({},
|
3988 |
-
n.register("$15", function(f, d,
|
3989 |
function m(a) {
|
3990 |
return {
|
3991 |
"Project-Id-Version": "PACKAGE VERSION",
|
@@ -4001,7 +4005,7 @@ Language: "",
|
|
4001 |
"Content-Transfer-Encoding": "8bit"
|
4002 |
};
|
4003 |
}
|
4004 |
-
function
|
4005 |
var c = a || "";
|
4006 |
b && (c += "\0" + b);
|
4007 |
return c;
|
@@ -4025,13 +4029,13 @@ this.msg = [ b || "" ];
|
|
4025 |
f.create = function(b) {
|
4026 |
return new a(b);
|
4027 |
};
|
4028 |
-
|
4029 |
-
|
4030 |
this.rows = n.require("$25", "collection.js").init();
|
4031 |
this.length = 0;
|
4032 |
return this;
|
4033 |
};
|
4034 |
-
|
4035 |
function a(b, c) {
|
4036 |
for (var d = String(b); d.length < c; ) d = "0" + d;
|
4037 |
return d;
|
@@ -4039,13 +4043,13 @@ return d;
|
|
4039 |
var b = new Date(), c = b.getUTCFullYear(), d = b.getUTCMonth() + 1, e = b.getUTCDate(), f = b.getUTCHours(), b = b.getUTCMinutes();
|
4040 |
return a(c, 4) + "-" + a(d, 2) + "-" + a(e, 2) + " " + a(f, 2) + ":" + a(b, 2) + "+0000";
|
4041 |
};
|
4042 |
-
|
4043 |
var c = this.head || (this.head = {});
|
4044 |
if (null == b) return this.headers()[a] || "";
|
4045 |
c[a] = b || "";
|
4046 |
return this;
|
4047 |
};
|
4048 |
-
|
4049 |
var b, c = this.now(), d = this.head || (this.head = m(c));
|
4050 |
if (null != a) {
|
4051 |
for (b in a) d[b] = a[b];
|
@@ -4062,11 +4066,11 @@ a[b] || (a[b] = c);
|
|
4062 |
a["X-Generator"] = "Loco https://localise.biz/";
|
4063 |
return a;
|
4064 |
};
|
4065 |
-
|
4066 |
-
var c =
|
4067 |
return this.rows.get(c);
|
4068 |
};
|
4069 |
-
|
4070 |
a instanceof e || (a = new e(a));
|
4071 |
b && a.context(b);
|
4072 |
var d = a.hash();
|
@@ -4074,57 +4078,57 @@ this.rows.get(d) ? c("Duplicate message at index " + this.indexOf(a)) : (a.idx =
|
|
4074 |
this.length = this.rows.length);
|
4075 |
return a;
|
4076 |
};
|
4077 |
-
|
4078 |
-
for (var b = -1, d, f, k,
|
4079 |
-
null == d.parent ? (f = d.source || d.id,
|
4080 |
-
|
4081 |
-
d.notes &&
|
4082 |
-
this.add(
|
4083 |
-
d.prev[1] &&
|
4084 |
-
this.headcmt = d.comment)) :
|
4085 |
-
for (b = -1; ++b <
|
4086 |
-
d =
|
4087 |
f = d.source || d.id;
|
4088 |
-
|
4089 |
-
if (!
|
4090 |
-
|
4091 |
-
1 ===
|
4092 |
-
|
4093 |
-
} catch (
|
4094 |
-
c(
|
4095 |
}
|
4096 |
return this;
|
4097 |
};
|
4098 |
-
|
4099 |
this.fmtr = b(a);
|
4100 |
return this;
|
4101 |
};
|
4102 |
-
|
4103 |
-
var a, c = this.locale(), d = [], f = [],
|
4104 |
-
|
4105 |
-
for (a in
|
4106 |
f = new e("", f.join("\n"));
|
4107 |
f.comment(this.headcmt || "");
|
4108 |
-
|
4109 |
d.push(f.toString());
|
4110 |
d.push("");
|
4111 |
this.rows.each(function(a, b) {
|
4112 |
-
a && (d.push(b.cat(
|
4113 |
});
|
4114 |
return d.join("\n");
|
4115 |
};
|
4116 |
-
|
4117 |
-
|
4118 |
this._src = [ a || "" ];
|
4119 |
this._ctx = b;
|
4120 |
};
|
4121 |
-
|
4122 |
-
return
|
4123 |
};
|
4124 |
-
|
4125 |
return this.cat(b());
|
4126 |
};
|
4127 |
-
|
4128 |
var d, e = [], f;
|
4129 |
(f = this.cmt) && e.push(a.prefix(f, "# "));
|
4130 |
(f = this.xcmt) && e.push(a.prefix(f, "#. "));
|
@@ -4141,7 +4145,7 @@ if (null == this.src[1]) e.push(a.pair("msgstr", b ? "" : this.msg[0])); else fo
|
|
4141 |
e.push(a.pair("msgid_plural", this.src[1])), f = this.msg || [ "", "" ], c = c || f.length; ++d < c; ) e.push(a.pair("msgstr[" + d + "]", b ? "" : f[d] || ""));
|
4142 |
return e.join("\n");
|
4143 |
};
|
4144 |
-
|
4145 |
var c = this.weight(), d = a.weight();
|
4146 |
if (c > d) return 1;
|
4147 |
if (c < d) return -1;
|
@@ -4153,19 +4157,19 @@ if (c > d) return -1;
|
|
4153 |
}
|
4154 |
return 0;
|
4155 |
};
|
4156 |
-
|
4157 |
var a = new e(), b, c;
|
4158 |
for (b in this) this.hasOwnProperty(b) && ((c = this[b]) && c.concat && (c = c.concat()),
|
4159 |
a[b] = c);
|
4160 |
return a;
|
4161 |
};
|
4162 |
-
|
4163 |
return f;
|
4164 |
-
}({},
|
4165 |
n.register("$17", function(f, d, n) {
|
4166 |
f.init = function(d, f) {
|
4167 |
function c() {
|
4168 |
-
return
|
4169 |
dialogClass: "loco-modal loco-modal-wide",
|
4170 |
modal: !0,
|
4171 |
autoOpen: !1,
|
@@ -4175,37 +4179,37 @@ height: 500
|
|
4175 |
}));
|
4176 |
}
|
4177 |
function b(a, b, d) {
|
4178 |
-
a =
|
4179 |
c().dialog("close").html("").dialog("option", "title", "Error").append(a).dialog("open");
|
4180 |
}
|
4181 |
function a(a) {
|
4182 |
var b = a && a.code;
|
4183 |
if (b) {
|
4184 |
-
for (var d = -1, e = b.length, f =
|
4185 |
f.find("li").eq(a.line - 1).attr("class", "highlighted");
|
4186 |
c().dialog("close").html("").dialog("option", "title", a.path + ":" + a.line).append(f).dialog("open");
|
4187 |
}
|
4188 |
}
|
4189 |
function e(a) {
|
4190 |
a = a.target;
|
4191 |
-
var b =
|
4192 |
a.scrollTop = b;
|
4193 |
}
|
4194 |
-
var
|
4195 |
return {
|
4196 |
-
load: function(
|
4197 |
c().html('<div class="loco-loading"></div>').dialog("option", "title", "Loading..").off("dialogopen").dialog("open").on("dialogopen", e);
|
4198 |
-
|
4199 |
-
ref:
|
4200 |
path: f.popath
|
4201 |
}, f.project || {});
|
4202 |
-
d.ajax.post("fsReference",
|
4203 |
}
|
4204 |
};
|
4205 |
};
|
4206 |
return f;
|
4207 |
-
}({},
|
4208 |
-
n.register("$30", function(f, d,
|
4209 |
function m(d) {
|
4210 |
this.api = d;
|
4211 |
this.chars = 0;
|
@@ -4221,25 +4225,25 @@ length: 0,
|
|
4221 |
html: a.html,
|
4222 |
sources: []
|
4223 |
};
|
4224 |
-
|
4225 |
return q[a.html ? 1 : 0] = b;
|
4226 |
}
|
4227 |
function a(a, d) {
|
4228 |
-
var
|
4229 |
-
if (
|
4230 |
-
var
|
4231 |
-
if (
|
4232 |
-
var
|
4233 |
-
if (
|
4234 |
-
u.push(
|
4235 |
-
|
4236 |
-
|
4237 |
-
f +=
|
4238 |
-
|
4239 |
}
|
4240 |
}
|
4241 |
}
|
4242 |
-
var e = this.api, f = 0,
|
4243 |
b({
|
4244 |
html: !1
|
4245 |
});
|
@@ -4251,10 +4255,10 @@ a(c, 0);
|
|
4251 |
a(c, 1);
|
4252 |
});
|
4253 |
q = null;
|
4254 |
-
this.map =
|
4255 |
this.chars = f;
|
4256 |
-
this.length =
|
4257 |
-
this.batches =
|
4258 |
this.locale = d.locale();
|
4259 |
};
|
4260 |
d.abort = function() {
|
@@ -4263,41 +4267,41 @@ return this;
|
|
4263 |
};
|
4264 |
d.dispatch = function() {
|
4265 |
function d(a, b) {
|
4266 |
-
function e(c, d,
|
4267 |
-
b !==
|
4268 |
-
|
4269 |
-
return
|
4270 |
}
|
4271 |
if (!c()) return !1;
|
4272 |
if (!b) return !0;
|
4273 |
-
var f,
|
4274 |
-
for (
|
4275 |
return !0;
|
4276 |
}
|
4277 |
function c() {
|
4278 |
-
return "abort" === l.state ? (
|
4279 |
}
|
4280 |
function b() {
|
4281 |
-
var b =
|
4282 |
-
b ? (c = b.sources) && c.length ?
|
4283 |
}
|
4284 |
function a() {
|
4285 |
l.abort();
|
4286 |
f();
|
4287 |
}
|
4288 |
function e() {
|
4289 |
-
|
4290 |
-
|
4291 |
c() && b();
|
4292 |
}
|
4293 |
function f() {
|
4294 |
-
|
4295 |
-
|
4296 |
}
|
4297 |
-
function
|
4298 |
for (var c = u[a] || [], d = c.length; 0 <= --d; ) c[d].apply(null, b);
|
4299 |
}
|
4300 |
-
var l = this,
|
4301 |
done: [],
|
4302 |
each: [],
|
4303 |
prog: []
|
@@ -4320,23 +4324,23 @@ return this;
|
|
4320 |
stat: function() {
|
4321 |
return {
|
4322 |
todo: function() {
|
4323 |
-
return Math.max(w -
|
4324 |
},
|
4325 |
did: function() {
|
4326 |
-
return
|
4327 |
}
|
4328 |
};
|
4329 |
}
|
4330 |
};
|
4331 |
};
|
4332 |
return f;
|
4333 |
-
}({},
|
4334 |
n.register("$40", {
|
4335 |
nn: [ "no" ]
|
4336 |
});
|
4337 |
-
n.register("$31", function(f, d,
|
4338 |
function m() {}
|
4339 |
-
function
|
4340 |
c.parseError = function(b) {
|
4341 |
return b && b.code && 200 !== b.code && b.message ? "Error " + b.code + ": " + b.message : "";
|
4342 |
};
|
@@ -4345,9 +4349,9 @@ function g(c) {
|
|
4345 |
for (var d = b.length, e = -1; ++e < d && !1 !== f(b[e], c[e] || "", a); ) ;
|
4346 |
}
|
4347 |
d = d ? "html" : "plain";
|
4348 |
-
var
|
4349 |
return c._call({
|
4350 |
-
url: "https://translate.yandex.net/api/v1.5/tr.json/translate?format=" + d + "&lang=en-" +
|
4351 |
method: "POST",
|
4352 |
traditional: !0,
|
4353 |
data: {
|
@@ -4375,7 +4379,7 @@ return "https://translate.yandex.com/";
|
|
4375 |
};
|
4376 |
b.init = function(a) {
|
4377 |
c.prototype.init.call(this, a);
|
4378 |
-
/^trnsl\./.test(this.key()) &&
|
4379 |
};
|
4380 |
b.toLang = function(a) {
|
4381 |
return this.mapLang(a, n.require("$40", "yandex.json"));
|
@@ -4383,13 +4387,13 @@ return this.mapLang(a, n.require("$40", "yandex.json"));
|
|
4383 |
return new m();
|
4384 |
};
|
4385 |
return f;
|
4386 |
-
}({},
|
4387 |
n.register("$41", {
|
4388 |
zh: [ "zh", "zh-CN", "zh-TW" ],
|
4389 |
he: [ "iw" ],
|
4390 |
jv: [ "jw" ]
|
4391 |
});
|
4392 |
-
n.register("$32", function(f, d,
|
4393 |
function m() {}
|
4394 |
f.create = function(d) {
|
4395 |
d = m.prototype = new d();
|
@@ -4411,13 +4415,13 @@ return "";
|
|
4411 |
};
|
4412 |
d.batch = function(c, b, a, d) {
|
4413 |
function f(a) {
|
4414 |
-
for (var
|
4415 |
}
|
4416 |
var g = this;
|
4417 |
a = a ? "html" : "text";
|
4418 |
-
var
|
4419 |
return g._call({
|
4420 |
-
url: "https://translation.googleapis.com/language/translate/v2?source=en&target=" +
|
4421 |
method: "POST",
|
4422 |
traditional: !0,
|
4423 |
data: {
|
@@ -4434,7 +4438,7 @@ f([]);
|
|
4434 |
return new m();
|
4435 |
};
|
4436 |
return f;
|
4437 |
-
}({},
|
4438 |
n.register("$42", {
|
4439 |
nn: [ "no" ],
|
4440 |
pt: [ "pt", "pt-pt" ],
|
@@ -4447,7 +4451,7 @@ zh_HK: [ "zh-Hans" ],
|
|
4447 |
zh_SG: [ "zh-Hans" ],
|
4448 |
zh_TW: [ "zh-Hant" ]
|
4449 |
});
|
4450 |
-
n.register("$33", function(f, d,
|
4451 |
function m() {}
|
4452 |
f.create = function(d) {
|
4453 |
d = m.prototype = new d();
|
@@ -4465,18 +4469,18 @@ return c && c.error ? c.error.message : "";
|
|
4465 |
};
|
4466 |
d.batch = function(c, b, a, d) {
|
4467 |
function f(a) {
|
4468 |
-
for (var
|
4469 |
-
!1 !== d(c[
|
4470 |
}
|
4471 |
-
var g = this,
|
4472 |
a = a ? "html" : "plain";
|
4473 |
-
for (var
|
4474 |
-
text: c[
|
4475 |
});
|
4476 |
return g._call({
|
4477 |
-
url: "https://api.cognitive.microsofttranslator.com/translate?api-version=3.0&from=en&to=" +
|
4478 |
method: "POST",
|
4479 |
-
data: JSON.stringify(
|
4480 |
headers: {
|
4481 |
"Content-Type": "application/json; charset=UTF-8",
|
4482 |
"Ocp-Apim-Subscription-Key": this.key(),
|
@@ -4491,11 +4495,11 @@ f([]);
|
|
4491 |
return new m();
|
4492 |
};
|
4493 |
return f;
|
4494 |
-
}({},
|
4495 |
n.register("$43", {
|
4496 |
pt: [ "pt-PT", "pt-BR" ]
|
4497 |
});
|
4498 |
-
n.register("$34", function(f, d,
|
4499 |
function m() {}
|
4500 |
f.create = function(d) {
|
4501 |
d = m.prototype = new d();
|
@@ -4513,21 +4517,21 @@ return c.message;
|
|
4513 |
};
|
4514 |
d.batch = function(c, b, a, d) {
|
4515 |
function f(a) {
|
4516 |
-
for (var
|
4517 |
}
|
4518 |
var g = this;
|
4519 |
a = g.param("url") || "https://api.deepl.com";
|
4520 |
-
var
|
4521 |
-
null ==
|
4522 |
-
"formal" ===
|
4523 |
return g._call({
|
4524 |
url: g.fixURL(a + "/v2/translate"),
|
4525 |
method: "POST",
|
4526 |
traditional: !0,
|
4527 |
data: {
|
4528 |
source_lang: "EN",
|
4529 |
-
target_lang:
|
4530 |
-
formality:
|
4531 |
preserve_formatting: "1",
|
4532 |
auth_key: g.key(),
|
4533 |
text: c
|
@@ -4547,18 +4551,18 @@ return c[0] + "://" + c[1].replace(/\/{2,}/g, "/");
|
|
4547 |
return new m();
|
4548 |
};
|
4549 |
return f;
|
4550 |
-
}({},
|
4551 |
-
n.register("$18", function(f, d,
|
4552 |
function m() {
|
4553 |
this.inf = {};
|
4554 |
}
|
4555 |
-
function
|
4556 |
-
var a =
|
4557 |
return {
|
4558 |
-
sniff: function(
|
4559 |
-
if (
|
4560 |
-
d =
|
4561 |
-
if (b.test(
|
4562 |
return f = !1;
|
4563 |
}
|
4564 |
};
|
@@ -4593,9 +4597,9 @@ c.parseError = function() {
|
|
4593 |
return "";
|
4594 |
};
|
4595 |
c.mapLang = function(a, b) {
|
4596 |
-
var c = String(a).replace("-", "_"), d = a.lang, f = b[c] || b[d] || [],
|
4597 |
-
if (0 ===
|
4598 |
-
if (1 <
|
4599 |
return f[0];
|
4600 |
};
|
4601 |
c.toLang = function(a) {
|
@@ -4611,12 +4615,12 @@ a.cache = !0;
|
|
4611 |
a.dataType = "json";
|
4612 |
a.error = function(a, c, d) {
|
4613 |
try {
|
4614 |
-
var f = a.responseText,
|
4615 |
-
d =
|
4616 |
} catch (k) {}
|
4617 |
b.stderr(d || b.httpError(a));
|
4618 |
};
|
4619 |
-
return b.abortable(
|
4620 |
};
|
4621 |
c.abortable = function(a) {
|
4622 |
var b = this;
|
@@ -4630,31 +4634,31 @@ var a = this.$r;
|
|
4630 |
a && a.abort();
|
4631 |
};
|
4632 |
c.isHtml = function(a) {
|
4633 |
-
return (b || (b =
|
4634 |
};
|
4635 |
c.createJob = function() {
|
4636 |
return n.require("$30", "job.js").create(this);
|
4637 |
};
|
4638 |
c.batch = function(a, b, c, f) {
|
4639 |
-
function
|
4640 |
for (var d = a.length, h = -1; ++h < d && !1 !== f(a[h], c[h], b); ) ;
|
4641 |
}
|
4642 |
-
var
|
4643 |
c = {
|
4644 |
hook: this.getId(),
|
4645 |
type: c ? "html" : "text",
|
4646 |
locale: this.toLang(b),
|
4647 |
sources: a
|
4648 |
};
|
4649 |
-
var
|
4650 |
-
this.abortable(
|
4651 |
-
|
4652 |
-
|
4653 |
}, function() {
|
4654 |
-
|
4655 |
-
|
4656 |
}));
|
4657 |
-
return
|
4658 |
};
|
4659 |
f.create = function(a) {
|
4660 |
var b;
|
@@ -4664,60 +4668,60 @@ b.init(a);
|
|
4664 |
return b;
|
4665 |
};
|
4666 |
f.suggest = function(a, b, c, d) {
|
4667 |
-
var f,
|
4668 |
-
for (f = 0; f < k; f++)
|
4669 |
};
|
4670 |
var b;
|
4671 |
return f;
|
4672 |
-
}({},
|
4673 |
n.register("$19", function(f, d, n) {
|
4674 |
f.init = function(f) {
|
4675 |
-
function
|
4676 |
-
H || (I.on("click", l), H =
|
4677 |
dialogClass: "request-filesystem-credentials-dialog loco-modal",
|
4678 |
minWidth: 580,
|
4679 |
modal: !0,
|
4680 |
autoOpen: !1,
|
4681 |
closeOnEscape: !0
|
4682 |
}).on("change", 'input[name="connection_type"]', function() {
|
4683 |
-
this.checked &&
|
4684 |
}));
|
4685 |
return H;
|
4686 |
}
|
4687 |
function c() {
|
4688 |
-
|
4689 |
-
if (
|
4690 |
-
var a = J, c =
|
4691 |
c.find("span.loco-msg").text(a);
|
4692 |
K || (c.removeClass("jshide").hide().fadeIn(500), K = !0);
|
4693 |
-
} else K && (b(
|
4694 |
}
|
4695 |
function b(a) {
|
4696 |
a.slideUp(250).fadeOut(250, function() {
|
4697 |
-
|
4698 |
});
|
4699 |
}
|
4700 |
function a() {
|
4701 |
-
if (
|
4702 |
-
|
4703 |
-
|
4704 |
K = !1)) : c();
|
4705 |
-
|
4706 |
w && w(!1);
|
4707 |
return !1;
|
4708 |
}
|
4709 |
function e(a) {
|
4710 |
var b, c, d = q || {};
|
4711 |
-
for (b in d) d.hasOwnProperty(b) && (c = d[b], a[b] ? a[b].value = c :
|
4712 |
}
|
4713 |
-
function
|
4714 |
a.preventDefault();
|
4715 |
-
a =
|
4716 |
-
|
4717 |
-
|
4718 |
return !1;
|
4719 |
}
|
4720 |
-
function
|
4721 |
a.preventDefault();
|
4722 |
H.dialog("close");
|
4723 |
return !1;
|
@@ -4727,35 +4731,35 @@ a.preventDefault();
|
|
4727 |
H.dialog("open").find('input[name="connection_type"]').change();
|
4728 |
return !1;
|
4729 |
}
|
4730 |
-
function
|
4731 |
-
|
4732 |
-
|
4733 |
-
|
4734 |
J = b.warning || "";
|
4735 |
b.notice && u.notices.info(b.notice);
|
4736 |
-
if (
|
4737 |
a(); else if (b.reason) u.notices.info(b.reason); else if (b = b.prompt) {
|
4738 |
-
var c =
|
4739 |
-
c.html(b).find("form").on("submit",
|
4740 |
c.dialog("option", "title", c.find("h2").remove().text());
|
4741 |
-
c.find("button.cancel-button").show().on("click",
|
4742 |
c.find('input[type="submit"]').addClass("button-primary");
|
4743 |
a();
|
4744 |
-
|
4745 |
} else u.notices.error("Server didn't return credentials, nor a prompt for credentials");
|
4746 |
}
|
4747 |
-
function
|
4748 |
a();
|
4749 |
}
|
4750 |
-
function
|
4751 |
-
|
4752 |
-
u.ajax.setNonce("fsConnect",
|
4753 |
return a;
|
4754 |
}
|
4755 |
-
var q, w,
|
4756 |
-
u.notices.convert(
|
4757 |
-
f.connection_type ? (q = {}, q.connection_type = f.connection_type.value,
|
4758 |
-
path:
|
4759 |
auth: F
|
4760 |
});
|
4761 |
a();
|
@@ -4774,30 +4778,30 @@ e(b);
|
|
4774 |
return this;
|
4775 |
},
|
4776 |
connect: function() {
|
4777 |
-
|
4778 |
F = f.auth.value;
|
4779 |
-
|
4780 |
return this;
|
4781 |
},
|
4782 |
listen: function(a) {
|
4783 |
w = a;
|
4784 |
-
|
4785 |
return this;
|
4786 |
},
|
4787 |
authed: function() {
|
4788 |
-
return
|
4789 |
}
|
4790 |
};
|
4791 |
};
|
4792 |
return f;
|
4793 |
-
}({},
|
4794 |
-
n.register("$20", function(f, d,
|
4795 |
-
function m(d, f,
|
4796 |
-
f = "n" ===
|
4797 |
-
|
4798 |
-
return
|
4799 |
}
|
4800 |
-
function
|
4801 |
return function(c) {
|
4802 |
a.apply(c, b);
|
4803 |
return c;
|
@@ -4822,32 +4826,32 @@ return -1 * a(b, c);
|
|
4822 |
f.init = function(a) {
|
4823 |
function b(a) {
|
4824 |
var c = -1, d = a.length;
|
4825 |
-
for (
|
4826 |
}
|
4827 |
function c(a) {
|
4828 |
-
|
4829 |
-
|
4830 |
-
b(
|
4831 |
}
|
4832 |
-
var d = [], f = [],
|
4833 |
-
|
4834 |
var e = c.getAttribute("data-sort-type");
|
4835 |
-
e && (a =
|
4836 |
c.preventDefault();
|
4837 |
c = a;
|
4838 |
-
var e = f[c], g = e.type,
|
4839 |
-
|
4840 |
-
b(
|
4841 |
q && q.removeClass("loco-desc loco-asc");
|
4842 |
-
q =
|
4843 |
-
|
4844 |
return !1;
|
4845 |
-
}), f[
|
4846 |
$: c,
|
4847 |
type: e
|
4848 |
});
|
4849 |
-
c.hasAttribute("colspan") ?
|
4850 |
-
}),
|
4851 |
var c, e, g, h = [], k = {
|
4852 |
_: a,
|
4853 |
$: b
|
@@ -4863,52 +4867,52 @@ g = Number(g);
|
|
4863 |
k[e] = g;
|
4864 |
}
|
4865 |
d[a] = k;
|
4866 |
-
|
4867 |
-
}), a =
|
4868 |
-
|
4869 |
-
|
4870 |
a.preventDefault();
|
4871 |
return !1;
|
4872 |
})));
|
4873 |
};
|
4874 |
return f;
|
4875 |
-
}({},
|
4876 |
-
var
|
4877 |
$v: [ 0, 0 ]
|
4878 |
};
|
4879 |
-
|
4880 |
-
|
4881 |
-
|
4882 |
return I.$v[f || 0];
|
4883 |
};
|
4884 |
n.require("$2", "html.js");
|
4885 |
n.require("$3", "number.js");
|
4886 |
n.require("$4", "array.js");
|
4887 |
n.require("$5", "json.js");
|
4888 |
-
|
4889 |
-
|
4890 |
-
|
4891 |
-
|
4892 |
-
|
4893 |
-
|
4894 |
-
|
4895 |
-
|
4896 |
-
|
4897 |
-
|
4898 |
-
|
4899 |
ed: n.require("$13", "poedit.js"),
|
4900 |
kbd: n.require("$14", "hotkeys.js"),
|
4901 |
init: n.require("$15", "po.js").create,
|
4902 |
ace: n.require("$16", "ace.js").strf("php"),
|
4903 |
ref: n.require("$17", "refs.js")
|
4904 |
};
|
4905 |
-
|
4906 |
-
|
4907 |
-
|
4908 |
n.require("$20", "tables.js").init(d);
|
4909 |
});
|
4910 |
-
|
4911 |
-
return "2.5.
|
4912 |
!1) : !0;
|
4913 |
};
|
4914 |
})(window, document, window.jQuery);
|
1 |
+
(function(w, A, k, J) {
|
2 |
var n = function() {
|
3 |
function f(d) {
|
4 |
throw Error("Failed to require " + d);
|
8 |
register: function(f, m) {
|
9 |
d[f] = m;
|
10 |
},
|
11 |
+
require: function(k, m) {
|
12 |
+
return d[k] || f(m);
|
13 |
},
|
14 |
+
include: function(k, m, g) {
|
15 |
+
return d[k] || (g ? f(m) : null);
|
16 |
}
|
17 |
};
|
18 |
}();
|
19 |
+
n.register("$1", function(f, d, k) {
|
20 |
+
function m(g) {
|
21 |
+
var c = typeof g;
|
22 |
+
if ("string" === c) if (/[^ <>!=()%^&|?:n0-9]/.test(g)) console.error("Invalid plural: " + g); else return new Function("n", "return " + g);
|
23 |
+
"function" !== c && (g = function(b) {
|
24 |
return 1 != b;
|
25 |
});
|
26 |
+
return g;
|
27 |
}
|
28 |
+
f.init = function(g) {
|
29 |
function c(a, b, e) {
|
30 |
+
return (a = h[a]) && a[e] ? a[e] : b || "";
|
31 |
}
|
32 |
function b(a) {
|
33 |
return c(a, a, 0);
|
36 |
return c(b + "" + a, a, 0);
|
37 |
}
|
38 |
function e(a, b, e) {
|
39 |
+
e = Number(g(e));
|
40 |
isNaN(e) && (e = 0);
|
41 |
return c(a, e ? b : a, e);
|
42 |
}
|
43 |
+
g = m(g);
|
44 |
+
var h = {};
|
45 |
return {
|
46 |
__: b,
|
47 |
_x: a,
|
50 |
x: a,
|
51 |
n: e,
|
52 |
load: function(a) {
|
53 |
+
h = a || {};
|
54 |
return this;
|
55 |
},
|
56 |
pluraleq: function(a) {
|
57 |
+
g = m(a);
|
58 |
return this;
|
59 |
}
|
60 |
};
|
61 |
};
|
62 |
return f;
|
63 |
+
}({}, w, A));
|
64 |
+
n.register("$2", function(f, d, k) {
|
65 |
f.ie = function() {
|
66 |
+
var f = !1, g = 0;
|
67 |
+
d.attachEvent && d.navigator && /MSIE (\d+)\./.exec(String(navigator.appVersion)) && (g = Number(RegExp.$1),
|
68 |
+
f = 11 > g);
|
69 |
return function() {
|
70 |
+
return f;
|
71 |
};
|
72 |
}();
|
73 |
f.init = function() {
|
74 |
return f;
|
75 |
};
|
76 |
return f;
|
77 |
+
}({}, w, A));
|
78 |
+
n.register("$3", function(f, d, k) {
|
79 |
+
Number.prototype.format = function(d, g, c) {
|
80 |
d = Math.pow(10, d || 0);
|
81 |
var b = Math.round(d * this) / d;
|
82 |
d = [];
|
87 |
b = d.join(c || ",");
|
88 |
if (a) {
|
89 |
c = a;
|
90 |
+
var h;
|
91 |
+
for (d = c.length; "0" === c.charAt(--d); ) h = d;
|
92 |
+
h && (c = c.substring(0, h));
|
93 |
+
(a = c) && (b += (g || ".") + a);
|
94 |
}
|
95 |
return b;
|
96 |
};
|
97 |
Number.prototype.percent = function(d) {
|
98 |
+
var g = 0, c = this && d ? 100 * (this / d) : 0;
|
99 |
if (0 === c) return "0";
|
100 |
if (100 === c) return "100";
|
101 |
+
if (99 < c) c = Math.min(c, 99.9), d = c.format(++g); else if (.5 > c) {
|
102 |
c = Math.max(c, 1e-4);
|
103 |
do {
|
104 |
+
d = c.format(++g);
|
105 |
+
} while ("0" === d && 4 > g);
|
106 |
d = d.substr(1);
|
107 |
} else d = c.format(0);
|
108 |
return d;
|
109 |
};
|
110 |
return f;
|
111 |
+
}({}, w, A));
|
112 |
+
n.register("$4", function(f, d, k) {
|
113 |
Array.prototype.indexOf || (Array.prototype.indexOf = function(d) {
|
114 |
if (null == this) throw new TypeError();
|
115 |
+
var g, c = Object(this), b = c.length >>> 0;
|
116 |
if (0 === b) return -1;
|
117 |
+
g = 0;
|
118 |
+
1 < arguments.length && (g = Number(arguments[1]), g != g ? g = 0 : 0 != g && Infinity != g && -Infinity != g && (g = (0 < g || -1) * Math.floor(Math.abs(g))));
|
119 |
+
if (g >= b) return -1;
|
120 |
+
for (g = 0 <= g ? g : Math.max(b - Math.abs(g), 0); g < b; g++) if (g in c && c[g] === d) return g;
|
121 |
return -1;
|
122 |
});
|
123 |
return f;
|
124 |
+
}({}, w, A));
|
125 |
n.register("$5", function(f, d, n) {
|
126 |
d.JSON || (d.JSON = {
|
127 |
+
parse: k.parseJSON,
|
128 |
stringify: null
|
129 |
});
|
130 |
return f = d.JSON;
|
131 |
+
}({}, w, A));
|
132 |
+
n.register("$6", function(f, d, k) {
|
133 |
+
f.trim = function(d, g) {
|
134 |
+
for (g || (g = " \n"); d && -1 !== g.indexOf(d.substr(0, 1)); ) d = d.substr(1);
|
135 |
+
for (;d && -1 !== g.indexOf(d.substr(-1)); ) d = d.substr(0, d.length - 1);
|
136 |
return d;
|
137 |
};
|
138 |
f.sprintf = function(d) {
|
139 |
+
var g = 0, c = [].slice.call(arguments, 1);
|
140 |
return d.replace(/%(?:([1-9][0-9]*)\$)?([sud%])/g, function(b, a, e) {
|
141 |
+
return "%" === e ? "%" : (a ? c[Number(a) - 1] : c[g++]) || "";
|
142 |
});
|
143 |
};
|
144 |
return f;
|
145 |
+
}({}, w, A));
|
146 |
+
n.register("$21", function(f, d, k) {
|
147 |
+
function m(g) {
|
148 |
return function(c, b) {
|
149 |
+
for (var a = c[g] || 0; (c = c.offsetParent) && c !== (b || k.body); ) a += c[g] || 0;
|
150 |
return a;
|
151 |
};
|
152 |
}
|
153 |
f.top = m("offsetTop");
|
154 |
f.left = m("offsetLeft");
|
155 |
+
f.el = function(g, c) {
|
156 |
+
var b = k.createElement(g || "div");
|
157 |
c && (b.className = c);
|
158 |
return b;
|
159 |
};
|
160 |
+
f.txt = function(g) {
|
161 |
+
return k.createTextNode(g || "");
|
162 |
};
|
163 |
return f;
|
164 |
+
}({}, w, A));
|
165 |
n.register("$7", function(f, d, E) {
|
166 |
function m(a, b, e) {
|
|
|
|
|
|
|
|
|
167 |
function c() {
|
|
|
|
|
|
|
|
|
168 |
q();
|
169 |
+
z = setTimeout(b, e);
|
170 |
+
}
|
171 |
+
function q() {
|
172 |
+
z && clearTimeout(z);
|
173 |
+
z = null;
|
174 |
+
}
|
175 |
+
var z;
|
176 |
+
c();
|
177 |
+
k(a).on("mouseenter", q).on("mouseleave", c);
|
178 |
return {
|
179 |
die: function() {
|
180 |
+
q();
|
181 |
+
k(a).off("mouseenter mouseleave");
|
182 |
}
|
183 |
};
|
184 |
}
|
185 |
+
function g(a, b) {
|
186 |
a.fadeTo(b, 0, function() {
|
187 |
a.slideUp(b, function() {
|
188 |
a.remove();
|
189 |
+
k(d).triggerHandler("resize");
|
190 |
});
|
191 |
});
|
192 |
return a;
|
193 |
}
|
194 |
function c(a, b) {
|
195 |
function e(b) {
|
196 |
+
p[z] = null;
|
197 |
+
g(k(a), 250);
|
198 |
+
q && q.die();
|
199 |
+
var c;
|
200 |
+
if (c = b) b.stopPropagation(), b.preventDefault(), c = !1;
|
201 |
+
return c;
|
202 |
+
}
|
203 |
+
function c(b) {
|
204 |
+
q && q.die();
|
205 |
+
return q = m(a, e, b);
|
206 |
+
}
|
207 |
+
var q, z, h, l = k(a), C = l.find("button");
|
208 |
+
0 === C.length && (l.addClass("is-dismissible"), C = k('<button type="button" class="notice-dismiss"> </a>').appendTo(l));
|
209 |
+
C.off("click").on("click", e);
|
210 |
+
k(d).triggerHandler("resize");
|
211 |
+
v();
|
212 |
+
z = p.length;
|
213 |
+
p.push(e);
|
214 |
+
b && (q = c(b));
|
215 |
return {
|
216 |
+
link: function(b, z) {
|
217 |
+
var e = z || b, c = k(a).find("nav"), e = k("<nav></nav>").append(k("<a></a>").attr("href", b).text(e));
|
218 |
+
h ? (h.push(e.html()), c.html(h.join("<span> | </span>"))) : (h = [ e.html() ],
|
219 |
+
k(a).addClass("has-nav").append(e));
|
220 |
return this;
|
221 |
},
|
222 |
stick: function() {
|
223 |
+
q && q.die();
|
224 |
+
q = null;
|
225 |
+
p[z] = null;
|
226 |
return this;
|
227 |
},
|
228 |
slow: function(a) {
|
229 |
+
c(a || 1e4);
|
230 |
return this;
|
231 |
}
|
232 |
};
|
233 |
}
|
234 |
function b(a, b, e) {
|
235 |
+
var c = n.require("$21", "dom.js").el;
|
236 |
+
a = k('<div class="notice notice-' + a + ' loco-notice inline"></div>').prependTo(k("#loco-notices"));
|
237 |
+
var q = k(c("p"));
|
238 |
+
e = k(c("span")).text(e);
|
239 |
+
b = k(c("strong", "has-icon")).text(b + ": ");
|
240 |
+
q.append(b).append(e).appendTo(a);
|
241 |
return a;
|
242 |
}
|
243 |
+
function a(a, e, q, h) {
|
244 |
a = b(q, e, a).css("opacity", "0").fadeTo(500, 1);
|
245 |
+
k(d).triggerHandler("resize");
|
246 |
+
return c(a, h);
|
247 |
}
|
248 |
function e(b) {
|
249 |
+
return a(b, r, "warning");
|
250 |
}
|
251 |
+
function h() {
|
252 |
+
k("#loco-notices").find("div.notice").each(function(a, b) {
|
253 |
if (-1 === b.className.indexOf("jshide")) {
|
254 |
var e = -1 === b.className.indexOf("notice-success") ? null : 5e3;
|
255 |
c(b, e);
|
256 |
}
|
257 |
});
|
258 |
}
|
259 |
+
var p = [], l = d.console || {
|
260 |
log: function() {}
|
261 |
+
}, v = Date.now || function() {
|
262 |
return new Date().getTime();
|
263 |
+
}, x, r, q, C;
|
264 |
f.error = function(b) {
|
265 |
+
return a(b, x, "error");
|
266 |
};
|
267 |
f.warn = e;
|
268 |
f.info = function(b) {
|
269 |
return a(b, q, "info");
|
270 |
};
|
271 |
f.success = function(b) {
|
272 |
+
return a(b, C, "success", 5e3);
|
273 |
};
|
274 |
f.warning = e;
|
275 |
f.log = function() {
|
279 |
(l.debug || l.log).apply(l, arguments);
|
280 |
};
|
281 |
f.clear = function() {
|
282 |
+
for (var a = -1, b, e = p, c = e.length; ++a < c; ) (b = e[a]) && b.call && b();
|
283 |
+
p = [];
|
284 |
return f;
|
285 |
};
|
286 |
f.create = b;
|
289 |
};
|
290 |
f.convert = c;
|
291 |
f.init = function(a) {
|
292 |
+
x = a._("Error");
|
293 |
+
r = a._("Warning");
|
294 |
q = a._("Notice");
|
295 |
+
C = a._("OK");
|
296 |
+
setTimeout(h, 1e3);
|
297 |
return f;
|
298 |
};
|
299 |
return f;
|
300 |
+
}({}, w, A));
|
301 |
n.register("$8", function(f, d, E) {
|
302 |
function m(a) {
|
303 |
+
var b = k("<pre>" + a + "</pre>").text();
|
304 |
b && (b = b.replace(/[\r\n]+/g, "\n").replace(/(^|\n)\s+/g, "$1").replace(/\s+$/, ""));
|
305 |
b || (b = a) || (b = "Blank response from server");
|
306 |
return b;
|
307 |
}
|
308 |
+
function g(a) {
|
309 |
return (a = a.split(/[\r\n]/)[0]) ? (a = a.replace(/ +in +\S+ on line \d+/, ""),
|
310 |
a = a.replace(/^[()! ]+Fatal error:\s*/, "")) : t._("Server returned invalid data");
|
311 |
}
|
325 |
function e(a, b, e) {
|
326 |
a.append(b, e);
|
327 |
}
|
328 |
+
function h(a, b, e, c) {
|
329 |
+
function h(b, c, z) {
|
330 |
if ("abort" !== c) {
|
331 |
var q = l || {
|
332 |
_: function(a) {
|
333 |
return a;
|
334 |
}
|
335 |
+
}, y = b.status || 0, d = b.responseText || "", s = m(d), f = b.getResponseHeader("Content-Type") || "Unknown type", x = b.getResponseHeader("Content-Length") || d.length;
|
336 |
+
"success" === c && z ? p.error(z) : (p.error(g(s) + ".\n" + q._("Check console output for debugging information")),
|
337 |
+
p.log("Ajax failure for " + a, {
|
338 |
+
status: y,
|
339 |
error: c,
|
340 |
+
message: z,
|
341 |
output: d
|
342 |
+
}), "parsererror" === c && (z = "Response not JSON"), p.log([ q._("Provide the following text when reporting a problem") + ":", "----", "Status " + y + ' "' + (z || q._("Unknown error")) + '" (' + f + " " + x + " bytes)", s, "====" ].join("\n")));
|
343 |
+
e && e.call && e(b, c, z);
|
344 |
+
v = b;
|
345 |
}
|
346 |
}
|
347 |
+
c.url = x;
|
348 |
c.dataType = "json";
|
349 |
+
var p = n.require("$7", "notices.js").clear();
|
350 |
+
v = null;
|
351 |
+
return k.ajax(c).fail(h).done(function(a, e, c) {
|
352 |
+
var v = a && a.data, l = a && a.notices, g = l && l.length, d = -1;
|
353 |
+
for (!v || a.error ? h(c, e, a && a.error && a.error.message) : b && b(v, e, c); ++d < g; ) p.raise(l[d]);
|
354 |
});
|
355 |
}
|
356 |
+
var p = {}, l, v, x = d.ajaxurl || "/wp-admin/admin-ajax.php";
|
357 |
f.init = function(a) {
|
358 |
+
p = a.nonces || p;
|
359 |
return f;
|
360 |
};
|
361 |
f.localise = function(a) {
|
363 |
return f;
|
364 |
};
|
365 |
f.xhr = function() {
|
366 |
+
return v;
|
367 |
};
|
368 |
f.strip = m;
|
369 |
+
f.parse = g;
|
370 |
f.submit = function(a, b, e) {
|
371 |
function c(a, b) {
|
372 |
b.disabled ? b.setAttribute("data-was-disabled", "true") : b.disabled = !0;
|
373 |
}
|
374 |
+
function p(a, b) {
|
375 |
b.getAttribute("data-was-disabled") || (b.disabled = !1);
|
376 |
}
|
377 |
function l(a) {
|
378 |
a.find(".button-primary").removeClass("loading");
|
379 |
+
a.find("button").each(p);
|
380 |
+
a.find("input").each(p);
|
381 |
+
a.find("select").each(p);
|
382 |
+
a.find("textarea").each(p);
|
383 |
a.removeClass("disabled loading");
|
384 |
}
|
385 |
+
var v = k(a), g = v.serialize();
|
386 |
(function(a) {
|
387 |
a.find(".button-primary").addClass("loading");
|
388 |
a.find("button").each(c);
|
390 |
a.find("select").each(c);
|
391 |
a.find("textarea").each(c);
|
392 |
a.addClass("disabled loading");
|
393 |
+
})(v);
|
394 |
+
return h(a.route.value, function(a, e, c) {
|
395 |
+
l(v);
|
396 |
b && b(a, e, c);
|
397 |
}, function(a, b, c) {
|
398 |
+
l(v);
|
399 |
e && e(a, b, c);
|
400 |
}, {
|
401 |
type: a.method,
|
402 |
+
data: g
|
403 |
});
|
404 |
};
|
405 |
+
f.post = function(v, q, l, g) {
|
406 |
+
var y = !0, G = q || {}, B = p[v] || c(v);
|
407 |
+
d.FormData && G instanceof FormData ? (y = !1, q = e) : q = Array.isArray(G) ? a : b;
|
408 |
q(G, "action", "loco_json");
|
409 |
+
q(G, "route", v);
|
410 |
+
q(G, "loco-nonce", B);
|
411 |
+
return h(v, l, g, {
|
412 |
type: "post",
|
413 |
data: G,
|
414 |
+
processData: y,
|
415 |
+
contentType: y ? "application/x-www-form-urlencoded; charset=UTF-8" : !1
|
416 |
});
|
417 |
};
|
418 |
+
f.get = function(a, b, e, v) {
|
419 |
b = b || {};
|
420 |
+
var l = p[a] || c(a);
|
421 |
b.action = "loco_json";
|
422 |
b.route = a;
|
423 |
+
b["loco-nonce"] = l;
|
424 |
+
return h(a, e, v, {
|
425 |
type: "get",
|
426 |
data: b
|
427 |
});
|
428 |
};
|
429 |
f.setNonce = function(a, b) {
|
430 |
+
p[a] = b;
|
431 |
return f;
|
432 |
};
|
433 |
return f;
|
434 |
+
}({}, w, A));
|
435 |
n.register("$22", {
|
436 |
arab: 1,
|
437 |
aran: 1,
|
470 |
ur: 1,
|
471 |
yi: 1
|
472 |
});
|
473 |
+
n.register("$9", function(f, d, k) {
|
474 |
function m() {}
|
475 |
+
var g, c = n.require("$22", "rtl.json");
|
476 |
f.init = function() {
|
477 |
return new m();
|
478 |
};
|
485 |
return e;
|
486 |
};
|
487 |
f.parse = function(b) {
|
488 |
+
if (!(g || (g = /^([a-z]{2,3})(?:[-_]([a-z]{2}))?(?:[-_]([a-z0-9]{3,8}))?$/i)).exec(b)) return null;
|
489 |
var a = new m();
|
490 |
a.lang = RegExp.$1.toLowerCase();
|
491 |
if (b = RegExp.$2) a.region = b.toUpperCase();
|
508 |
return e;
|
509 |
};
|
510 |
d.getIcon = function() {
|
511 |
+
for (var b = 3, a, e, c = [ "variant", "region", "lang" ], p = []; 0 !== b--; ) if (a = c[b],
|
512 |
+
e = this[a]) p.push(a), p.push(a + "-" + e.toLowerCase());
|
513 |
+
return p.join(" ");
|
514 |
};
|
515 |
d.isRTL = function() {
|
516 |
return !!c[String(this.lang).toLowerCase()];
|
517 |
};
|
518 |
d = null;
|
519 |
return f;
|
520 |
+
}({}, w, A));
|
521 |
n.register("$23", {
|
522 |
"á": "a",
|
523 |
"à": "a",
|
930 |
"ӣ": "и",
|
931 |
"ӯ": "у"
|
932 |
});
|
933 |
+
n.register("$10", function(f, d, k) {
|
934 |
f.init = function() {
|
935 |
function d(a) {
|
936 |
return l[a] || a;
|
937 |
}
|
938 |
+
function g(a, b, e, c) {
|
939 |
b = a.split(b);
|
940 |
+
for (var h = b.length; 0 !== h--; ) (a = b[h]) && null == c[a] && (e.push(a), c[a] = !0);
|
941 |
return e;
|
942 |
}
|
943 |
function c(a) {
|
944 |
+
return g(String(a || "").toLowerCase().replace(h, d), p, [], {});
|
945 |
}
|
946 |
function b(a, b) {
|
947 |
+
for (var c = [], q = {}, l, s = b.length, y = p; 0 !== s--; ) (l = b[s]) && g(String(l || "").toLowerCase().replace(h, d), y, c, q);
|
948 |
e[a] = c;
|
949 |
}
|
950 |
function a(a, b) {
|
951 |
+
var c = [], h = -1, p = e, l = p.length, y, g, d, u, z, F, f = a.length, k = b ? !0 : !1;
|
952 |
+
a: for (;++h < l; ) if (d = p[h], null != d && (u = d.length)) {
|
953 |
+
z = 0;
|
954 |
+
b: for (;z < f; z++) {
|
955 |
+
F = a[z];
|
956 |
+
for (y = 0; y < u; y++) if (g = d[y], 0 === g.indexOf(F)) continue b;
|
957 |
continue a;
|
958 |
}
|
959 |
+
c.push(k ? b[h] : h);
|
960 |
}
|
961 |
return c;
|
962 |
}
|
963 |
+
var e = [], h = /[^a-z0-9]/g, p = /[\-_\s.?!;:,*^+=~`"(){}<>\[\]\/\\\u00a0\u1680\u180e\u2000-\u206f\u2e00-\u2e7f\u3000-\u303f]+/, l = n.require("$23", "flatten.json");
|
964 |
return {
|
965 |
split: c,
|
966 |
pull: function(b, e) {
|
990 |
};
|
991 |
};
|
992 |
return f;
|
993 |
+
}({}, w, A));
|
994 |
n.register("$11", function(f, d, n) {
|
995 |
+
f.listen = function(f, g) {
|
996 |
function c() {
|
997 |
+
q[h ? "show" : "hide"]();
|
998 |
}
|
999 |
function b(a) {
|
1000 |
+
r && v.setAttribute("size", 2 + a.length);
|
1001 |
+
h = a;
|
1002 |
c();
|
1003 |
return a;
|
1004 |
}
|
1005 |
function a() {
|
1006 |
+
p = null;
|
1007 |
+
g(h);
|
1008 |
}
|
1009 |
+
function e(e) {
|
1010 |
+
var c = v.value;
|
1011 |
+
x && c === x && (c = "");
|
1012 |
+
c !== h ? (p && clearTimeout(p), b(c), e ? p = setTimeout(a, e) : a()) : p && null == e && (clearTimeout(p),
|
1013 |
+
a());
|
1014 |
}
|
1015 |
+
var h, p, l = 150, v = f instanceof jQuery ? f[0] : f, x = d.attachEvent && v.getAttribute("placeholder"), r = 1 === Number(v.size), q = k('<a href="#clear" tabindex="-1" class="icon clear"><span>clear</span></a>').on("click", function() {
|
1016 |
+
v.value = "";
|
|
|
1017 |
e();
|
1018 |
return !1;
|
1019 |
});
|
1020 |
+
b(v.value);
|
1021 |
+
k(v).on("input", function() {
|
1022 |
+
e(l);
|
1023 |
+
return !0;
|
1024 |
+
}).on("blur focus change", function() {
|
1025 |
+
e(null);
|
1026 |
return !0;
|
1027 |
+
}).after(q);
|
1028 |
c();
|
1029 |
return {
|
1030 |
delay: function(a) {
|
1031 |
l = a;
|
1032 |
+
return this;
|
1033 |
},
|
1034 |
ping: function(c) {
|
1035 |
+
c ? (p && clearTimeout(p), c = v.value, x && c === x && (c = ""), b(c), a(), c = void 0) : c = e();
|
1036 |
return c;
|
1037 |
},
|
1038 |
val: function(a) {
|
1039 |
+
if (null == a) return h;
|
1040 |
+
p && clearTimeout(p);
|
1041 |
+
v.value = b(a);
|
1042 |
c();
|
1043 |
},
|
1044 |
el: function() {
|
1045 |
+
return v;
|
1046 |
},
|
1047 |
blur: function(a) {
|
1048 |
+
return k(v).on("blur", a);
|
1049 |
},
|
1050 |
destroy: function() {
|
1051 |
+
p && clearTimeout(p);
|
1052 |
}
|
1053 |
};
|
1054 |
};
|
1055 |
return f;
|
1056 |
+
}({}, w, A));
|
1057 |
n.register("$12", function(f, d, n) {
|
1058 |
function m(b, a) {
|
1059 |
+
this.$element = k(b);
|
1060 |
this.options = a;
|
1061 |
this.enabled = !0;
|
1062 |
this.fixTitle();
|
1065 |
var e = {
|
1066 |
fade: !0,
|
1067 |
offset: 5,
|
1068 |
+
delayIn: g,
|
1069 |
delayOut: c,
|
1070 |
anchor: b.attr("data-anchor"),
|
1071 |
gravity: b.attr("data-gravity") || "s"
|
1072 |
};
|
1073 |
+
a && (e = k.extend({}, e, a));
|
1074 |
b.tipsy(e);
|
1075 |
};
|
1076 |
f.delays = function(b, a) {
|
1077 |
+
g = b || 150;
|
1078 |
c = a || 100;
|
1079 |
};
|
1080 |
f.kill = function() {
|
1081 |
+
k("div.tipsy").remove();
|
1082 |
};
|
1083 |
f.text = function(b, a) {
|
1084 |
a.data("tipsy").setTitle(b);
|
1085 |
};
|
1086 |
+
var g, c;
|
1087 |
f.delays();
|
1088 |
+
k(n.body).on("overlayOpened overlayClosing", function(b) {
|
1089 |
f.kill();
|
1090 |
return !0;
|
1091 |
});
|
1100 |
top: 0,
|
1101 |
left: 0
|
1102 |
}).prependTo(n.body);
|
1103 |
+
var b = (b = this.options.anchor) ? this.$element.find(b) : this.$element, b = k.extend({}, b.offset(), {
|
1104 |
width: b[0].offsetWidth,
|
1105 |
height: b[0].offsetHeight
|
1106 |
+
}), e = a[0].offsetWidth, c = a[0].offsetHeight, p = "function" == typeof this.options.gravity ? this.options.gravity.call(this.$element[0]) : this.options.gravity, l;
|
1107 |
+
switch (p.charAt(0)) {
|
1108 |
case "n":
|
1109 |
l = {
|
1110 |
top: b.top + b.height + this.options.offset,
|
1132 |
left: b.left + b.width + this.options.offset
|
1133 |
};
|
1134 |
}
|
1135 |
+
2 == p.length && ("w" == p.charAt(1) ? l.left = b.left + b.width / 2 - 15 : l.left = b.left + b.width / 2 - e + 15);
|
1136 |
+
a.css(l).addClass("tipsy-" + p);
|
1137 |
+
a.find(".tipsy-arrow")[0].className = "tipsy-arrow tipsy-arrow-" + p.charAt(0);
|
1138 |
this.options.className && a.addClass("function" == typeof this.options.className ? this.options.className.call(this.$element[0]) : this.options.className);
|
1139 |
a.addClass("in");
|
1140 |
}
|
1160 |
if (this.$tip) this.$tip.find(".tipsy-inner")[this.options.html ? "html" : "text"](b);
|
1161 |
},
|
1162 |
tip: function() {
|
1163 |
+
this.$tip || (this.$tip = k('<div class="tipsy"></div>').html('<div class="tipsy-arrow"></div><div class="tipsy-inner"></div>'),
|
1164 |
this.$tip.data("tipsy-pointee", this.$element[0]));
|
1165 |
return this.$tip;
|
1166 |
},
|
1178 |
this.enabled = !this.enabled;
|
1179 |
}
|
1180 |
};
|
1181 |
+
k.fn.tipsy = function(b) {
|
1182 |
function a(a) {
|
1183 |
+
var e = k.data(a, "tipsy");
|
1184 |
+
e || (e = new m(a, k.fn.tipsy.elementOptions(a, b)), k.data(a, "tipsy", e));
|
1185 |
return e;
|
1186 |
}
|
1187 |
function e() {
|
1192 |
}, c));
|
1193 |
}
|
1194 |
function c() {
|
1195 |
+
var e = a(this), h = b.delayOut;
|
1196 |
e.hoverState = "out";
|
1197 |
+
0 == h ? e.hide() : (e.tip().removeClass("in"), setTimeout(function() {
|
1198 |
"out" == e.hoverState && e.hide();
|
1199 |
+
}, h));
|
1200 |
}
|
1201 |
+
b = k.extend({}, k.fn.tipsy.defaults, b);
|
1202 |
b.live || this.each(function() {
|
1203 |
a(this);
|
1204 |
});
|
1205 |
if ("manual" != b.trigger) {
|
1206 |
+
var p = b.live ? "live" : "bind", l = "hover" == b.trigger ? "mouseleave" : "blur";
|
1207 |
+
this[p]("hover" == b.trigger ? "mouseenter" : "focus", e)[p](l, c);
|
1208 |
}
|
1209 |
return this;
|
1210 |
};
|
1211 |
+
k.fn.tipsy.defaults = {
|
1212 |
className: null,
|
1213 |
delayIn: 0,
|
1214 |
delayOut: 0,
|
1223 |
trigger: "hover",
|
1224 |
anchor: null
|
1225 |
};
|
1226 |
+
k.fn.tipsy.elementOptions = function(b, a) {
|
1227 |
+
return k.metadata ? k.extend({}, a, k(b).metadata()) : a;
|
1228 |
};
|
1229 |
+
k.fn.tipsy.autoNS = function() {
|
1230 |
+
return k(this).offset().top > k(n).scrollTop() + k(d).height() / 2 ? "s" : "n";
|
1231 |
};
|
1232 |
+
k.fn.tipsy.autoWE = function() {
|
1233 |
+
return k(this).offset().left > k(n).scrollLeft() + k(d).width() / 2 ? "e" : "w";
|
1234 |
};
|
1235 |
+
k.fn.tipsy.autoBounds = function(b, a) {
|
1236 |
return function() {
|
1237 |
+
var e = a[0], c = 1 < a.length ? a[1] : !1, p = k(n).scrollTop() + b, l = k(n).scrollLeft() + b, g = k(this);
|
1238 |
+
g.offset().top < p && (e = "n");
|
1239 |
+
g.offset().left < l && (c = "w");
|
1240 |
+
k(d).width() + k(n).scrollLeft() - g.offset().left < b && (c = "e");
|
1241 |
+
k(d).height() + k(n).scrollTop() - g.offset().top < b && (e = "s");
|
1242 |
return e + (c ? c : "");
|
1243 |
};
|
1244 |
};
|
1245 |
return f;
|
1246 |
+
}({}, w, A));
|
1247 |
+
n.register("$35", function(f, d, k) {
|
1248 |
"".localeCompare || (String.prototype.localeCompare = function() {
|
1249 |
return 0;
|
1250 |
});
|
1256 |
b = /[<>&]/g;
|
1257 |
a = /(\r\n|\n|\r)/g;
|
1258 |
e = /(?:https?):\/\/(\S+)/gi;
|
1259 |
+
h = location.hostname;
|
1260 |
d = null;
|
1261 |
}
|
1262 |
+
function g(a) {
|
1263 |
return "&#" + a.charCodeAt(0) + ";";
|
1264 |
}
|
1265 |
function c(a, b) {
|
1266 |
+
return '<a href="' + a + '" target="' + (b.indexOf(h) ? "_blank" : "_top") + '">' + b + "</a>";
|
1267 |
}
|
1268 |
+
var b, a, e, h;
|
1269 |
+
return function(h, l) {
|
1270 |
d && d();
|
1271 |
+
var v = h.replace(b, g);
|
1272 |
+
l && (v = v.replace(e, c).replace(a, "<br />"));
|
1273 |
+
return v;
|
1274 |
};
|
1275 |
}();
|
1276 |
return f;
|
1277 |
+
}({}, w, A));
|
1278 |
+
n.register("$36", function(f, d, k) {
|
1279 |
function m() {}
|
1280 |
+
var g, c, b = n.require("$22", "rtl.json");
|
1281 |
f.init = function() {
|
1282 |
return new m();
|
1283 |
};
|
1290 |
return c;
|
1291 |
};
|
1292 |
f.parse = function(a) {
|
1293 |
+
g || (c = /[-_+]/, g = /^([a-z]{2,3})(?:-([a-z]{4}))?(?:-([a-z]{2}|[0-9]{3}))?(?:-([0-9][a-z0-9]{3,8}|[a-z0-9]{5,8}))?(?:-([a-z]-[-a-z]+))?$/i);
|
1294 |
a = String(a).split(c).join("-");
|
1295 |
+
if (!g.exec(a)) return null;
|
1296 |
var b = new m();
|
1297 |
b.lang = RegExp.$1.toLowerCase();
|
1298 |
if (a = RegExp.$2) b.script = a.charAt(0).toUpperCase() + a.substr(1).toLowerCase();
|
1319 |
return c;
|
1320 |
};
|
1321 |
d.getIcon = function() {
|
1322 |
+
for (var a = 4, b, c, p = [ "variant", "region", "script", "lang" ], l = []; 0 !== a--; ) if (b = p[a],
|
1323 |
c = this[b]) c.join && (c = c.join("-")), 1 === a && 3 === c.length ? l.push("region-m49") : l = l.concat([ b, b + "-" + c.toLowerCase() ]);
|
1324 |
return l.join(" ");
|
1325 |
};
|
1328 |
};
|
1329 |
d = null;
|
1330 |
return f;
|
1331 |
+
}({}, w, A));
|
1332 |
+
n.register("$37", function(f, d, k) {
|
1333 |
function m(a) {
|
1334 |
d.console && console.error && console.error(a);
|
1335 |
}
|
1336 |
+
function g() {
|
1337 |
m("Method not implemented");
|
1338 |
}
|
1339 |
function c() {}
|
1342 |
return "[Undefined]";
|
1343 |
};
|
1344 |
b.prototype._validate = function(a) {
|
1345 |
+
var b, h, p = !0;
|
1346 |
+
for (b in this) h = this[b], h === g ? (m(a + "." + b + "() must be implemented"),
|
1347 |
+
p = !1) : h instanceof c && (m(a + "." + b + " must be defined"), p = !1);
|
1348 |
+
return p;
|
1349 |
};
|
1350 |
f.init = function(a, e) {
|
1351 |
+
var h, p = new b();
|
1352 |
+
if (a) for (h = a.length; 0 !== h--; ) p[a[h]] = g;
|
1353 |
+
if (e) for (h = e.length; 0 !== h--; ) p[e[h]] = new c();
|
1354 |
+
return p;
|
1355 |
};
|
1356 |
f.validate = function(a) {
|
1357 |
var b = /function (\w+)\(/.exec(a.toString()) ? RegExp.$1 : "";
|
1358 |
a.prototype._validate(b || "Object");
|
1359 |
};
|
1360 |
return f;
|
1361 |
+
}({}, w, A));
|
1362 |
+
n.register("$48", function(f, d, k) {
|
1363 |
+
var m = d.requestAnimationFrame, g = d.cancelAnimationFrame, c = 0;
|
1364 |
+
if (!m || !g) for (var b in {
|
1365 |
ms: 1,
|
1366 |
moz: 1,
|
1367 |
webkit: 1,
|
1368 |
o: 1
|
1369 |
+
}) if (m = d[b + "RequestAnimationFrame"]) if (g = d[b + "CancelAnimationFrame"] || d[b + "CancelRequestAnimationFrame"]) break;
|
1370 |
+
m && g || (m = function(b) {
|
1371 |
+
var h = a();
|
1372 |
+
timeToCall = Math.max(0, 16 - (h - c));
|
1373 |
+
nextTime = h + timeToCall;
|
1374 |
timerId = d.setTimeout(function() {
|
1375 |
b(nextTime);
|
1376 |
}, timeToCall);
|
1377 |
c = nextTime;
|
1378 |
return timerId;
|
1379 |
+
}, g = function(a) {
|
1380 |
clearTimeout(a);
|
1381 |
});
|
1382 |
var a = Date.now || function() {
|
1391 |
c();
|
1392 |
return {
|
1393 |
stop: function() {
|
1394 |
+
d && g(d);
|
1395 |
d = null;
|
1396 |
}
|
1397 |
};
|
1398 |
};
|
1399 |
return f;
|
1400 |
+
}({}, w, A));
|
1401 |
+
n.register("$45", function(f, d, k) {
|
1402 |
function m(a, c, e, q) {
|
1403 |
if (b) {
|
1404 |
+
var h = e;
|
1405 |
e = function(a) {
|
1406 |
+
if ((a.MSPOINTER_TYPE_TOUCH || "touch") === a.pointerType) return h(a);
|
1407 |
};
|
1408 |
}
|
1409 |
a.addEventListener(c, e, q);
|
1413 |
}
|
1414 |
};
|
1415 |
}
|
1416 |
+
function g(a) {
|
1417 |
a.preventDefault();
|
1418 |
a.stopPropagation();
|
1419 |
return !1;
|
1420 |
}
|
1421 |
+
var c, b = !!d.navigator.msPointerEnabled, a = b ? "MSPointerDown" : "touchstart", e = b ? "MSPointerMove" : "touchmove", h = b ? "MSPointerUp" : "touchend";
|
1422 |
f.ok = function(a) {
|
1423 |
+
null == c && (c = "function" === typeof k.body.addEventListener);
|
1424 |
c && a && a(f);
|
1425 |
return c;
|
1426 |
};
|
1436 |
}
|
1437 |
var d = {};
|
1438 |
d[a] = function(b) {
|
1439 |
+
p(b, function(e, q) {
|
1440 |
+
q.type = a;
|
1441 |
+
c(b, q, f);
|
1442 |
});
|
1443 |
l(e);
|
1444 |
+
l(h);
|
1445 |
return !0;
|
1446 |
};
|
1447 |
+
d[h] = function(a) {
|
1448 |
q(e);
|
1449 |
+
q(h);
|
1450 |
+
p(a, function(b, e) {
|
1451 |
+
e.type = h;
|
1452 |
c(a, e, f);
|
1453 |
});
|
1454 |
return !0;
|
1455 |
};
|
1456 |
d[e] = function(a) {
|
1457 |
+
p(a, function(b, q) {
|
1458 |
+
q.type = e;
|
1459 |
+
c(a, q, f);
|
1460 |
});
|
1461 |
+
return g(a);
|
1462 |
};
|
1463 |
l(a);
|
1464 |
var f = {
|
1465 |
kill: function() {
|
1466 |
q(a);
|
1467 |
q(e);
|
1468 |
+
q(h);
|
1469 |
b = f = c = null;
|
1470 |
}
|
1471 |
};
|
1475 |
function q(a) {
|
1476 |
c.addEventListener(a, u[a], !1);
|
1477 |
}
|
1478 |
+
function C(a) {
|
1479 |
c.removeEventListener(a, u[a], !1);
|
1480 |
}
|
1481 |
+
function s() {
|
1482 |
+
y && y.stop();
|
1483 |
+
y = null;
|
1484 |
}
|
1485 |
+
var y, G, B, u = {}, z = [], F = [], k = [];
|
1486 |
u[a] = function(a) {
|
1487 |
G = !1;
|
1488 |
+
s();
|
1489 |
var b = l();
|
1490 |
+
p(a, function(a, c) {
|
1491 |
+
z[a] = b;
|
1492 |
F[a] = c.clientX;
|
1493 |
+
k[a] = c.clientY;
|
1494 |
});
|
1495 |
+
B = c.scrollLeft;
|
1496 |
return !0;
|
1497 |
};
|
1498 |
+
u[h] = function(a) {
|
1499 |
+
p(a, function(a, b) {
|
1500 |
+
var c = l() - z[a], e = F[a] - b.clientX, c = Math.abs(e) / c;
|
1501 |
d(c, e ? 0 > e ? -1 : 1 : 0);
|
1502 |
});
|
1503 |
+
B = null;
|
1504 |
return !0;
|
1505 |
};
|
1506 |
u[e] = function(a) {
|
1507 |
var b, e;
|
1508 |
+
null == B || p(a, function(a, c) {
|
1509 |
b = F[a] - c.clientX;
|
1510 |
+
e = k[a] - c.clientY;
|
1511 |
});
|
1512 |
if (e && Math.abs(e) > Math.abs(b)) return G = !0;
|
1513 |
+
b && (G = !0, c.scrollLeft = Math.max(0, B + b));
|
1514 |
+
return g(a);
|
1515 |
};
|
1516 |
+
if (!b || f) q(a), q(e), q(h), b && (c.className += " mstouch");
|
1517 |
return {
|
1518 |
kill: function() {
|
1519 |
+
C(a);
|
1520 |
+
C(e);
|
1521 |
+
C(h);
|
1522 |
+
s();
|
1523 |
},
|
1524 |
swiped: function() {
|
1525 |
return G;
|
1532 |
c.style["-ms-scroll-snap-type"] = "mandatory", c.style["-ms-scroll-chaining"] = "none");
|
1533 |
},
|
1534 |
scroll: function(a, b, e) {
|
1535 |
+
s();
|
1536 |
+
var z = c.scrollLeft, q = a > z ? 1 : -1, l = Math[1 === q ? "min" : "max"], h = Math.round(16 * b * q);
|
1537 |
+
return y = n.require("$48", "fps.js").loop(function(b) {
|
1538 |
+
b && (z = Math.max(0, l(a, z + h)), c.scrollLeft = z, a === z && (s(), e && e(z)));
|
1539 |
}, c);
|
1540 |
}
|
1541 |
};
|
1547 |
return m(a, e, b, !1);
|
1548 |
};
|
1549 |
f.end = function(a, b) {
|
1550 |
+
return m(a, h, b, !1);
|
1551 |
};
|
1552 |
+
var p = f.each = function(a, c) {
|
1553 |
+
if (b) (a.MSPOINTER_TYPE_TOUCH || "touch") === a.pointerType && c(0, a); else for (var e = -1, q = (a.originalEvent || a).changedTouches || []; ++e < q.length; ) c(e, q[e]);
|
1554 |
}, l = Date.now || function() {
|
1555 |
return new Date().getTime();
|
1556 |
};
|
1557 |
return f;
|
1558 |
+
}({}, w, A));
|
1559 |
n.register("$49", function(f, d, n) {
|
1560 |
f.init = function(d) {
|
1561 |
+
function g() {
|
1562 |
e.style.top = String(-d.scrollTop) + "px";
|
1563 |
return !0;
|
1564 |
}
|
1572 |
return '<span class="x' + a.charCodeAt(0).toString(16) + '">' + a + "</span>";
|
1573 |
}
|
1574 |
var a = d.parentNode, e = a.insertBefore(n.createElement("div"), d);
|
1575 |
+
k(d).on("input", c).on("scroll", g);
|
1576 |
+
k(a).addClass("has-mirror");
|
1577 |
e.className = "ta-mirror";
|
1578 |
+
var h = d.offsetWidth - d.clientWidth;
|
1579 |
+
2 < h && (e.style.marginRight = String(h - 2) + "px");
|
1580 |
c();
|
1581 |
+
g();
|
1582 |
return {
|
1583 |
kill: function() {
|
1584 |
+
k(d).off("input", c).off("scroll", g);
|
1585 |
a.removeChild(e);
|
1586 |
e = null;
|
1587 |
+
k(a).removeClass("has-mirror");
|
1588 |
}
|
1589 |
};
|
1590 |
};
|
1591 |
return f;
|
1592 |
+
}({}, w, A));
|
1593 |
+
n.register("$29", function(f, d, k) {
|
1594 |
function m(b, a) {
|
1595 |
+
for (var c = 0, h = -1, p = a && d[a], l = g[b] || [], f = l.length; ++h < f; ) callback = l[h],
|
1596 |
+
"function" === typeof callback && (callback(p), c++);
|
1597 |
return c;
|
1598 |
}
|
1599 |
+
var g = {}, c;
|
1600 |
f.load = function(b, a, c) {
|
1601 |
+
function h() {
|
1602 |
f && (clearTimeout(f), f = null);
|
1603 |
+
x && (x.onreadystatechange = null, x = x = x.onload = null);
|
1604 |
+
b && (delete g[b], b = null);
|
1605 |
}
|
1606 |
+
function p(a, q) {
|
1607 |
+
var l = x && x.readyState;
|
1608 |
+
if (q || !l || "loaded" === l || "complete" === l) q || m(b, c), h();
|
1609 |
}
|
1610 |
function l() {
|
1611 |
if (0 === m(b)) throw Error('Failed to load "' + (c || b) + '"');
|
1612 |
+
h();
|
1613 |
}
|
1614 |
+
if (c && d[c]) "function" === typeof a && a(d[c]); else if (null != g[b]) g[b].push(a); else {
|
1615 |
+
g[b] = [ a ];
|
1616 |
+
var f = setTimeout(l, 4e3), x = k.createElement("script");
|
1617 |
+
x.setAttribute("src", b);
|
1618 |
+
x.setAttribute("async", "true");
|
1619 |
+
x.onreadystatechange = p;
|
1620 |
+
x.onload = p;
|
1621 |
+
x.onerror = l;
|
1622 |
+
x.onabort = h;
|
1623 |
+
k.getElementsByTagName("head")[0].appendChild(x);
|
1624 |
}
|
1625 |
};
|
1626 |
f.stat = function(b) {
|
1627 |
var a;
|
1628 |
if (!(a = c)) {
|
1629 |
+
for (var e, h, d = k.getElementsByTagName("script"), l = -1, g = d.length; ++l < g; ) if (a = d[l].getAttribute("src")) if (e = a.indexOf("/lib/vendor"),
|
1630 |
-1 !== e) {
|
1631 |
+
h = a.substr(0, e);
|
1632 |
break;
|
1633 |
}
|
1634 |
+
a = c = h || "/static";
|
1635 |
}
|
1636 |
return a + b;
|
1637 |
};
|
1638 |
return f;
|
1639 |
+
}({}, w, A));
|
1640 |
n.register("$16", function(f, d, E) {
|
1641 |
function m(a, b) {
|
1642 |
a.setReadOnly(!1);
|
1650 |
return b.blur();
|
1651 |
});
|
1652 |
}
|
1653 |
+
function g(a) {
|
1654 |
a.off("change");
|
1655 |
a.off("focus");
|
1656 |
a.off("blur");
|
1657 |
}
|
1658 |
function c(a) {
|
1659 |
+
g(a);
|
1660 |
a.setReadOnly(!0);
|
1661 |
a.setHighlightGutterLine(!1);
|
1662 |
a.setHighlightActiveLine(!1);
|
1665 |
function e() {
|
1666 |
this.HighlightRules = d;
|
1667 |
}
|
1668 |
+
var d = a(c), q = b.require, h = q("ace/lib/oop");
|
1669 |
+
h.inherits(d, q("ace/mode/text_highlight_rules").TextHighlightRules);
|
1670 |
+
h.inherits(e, q("ace/mode/text").Mode);
|
1671 |
return new e();
|
1672 |
}
|
1673 |
function a(a) {
|
1757 |
case "auto":
|
1758 |
return /%(?:\d+\$|\([_A-Za-z][_A-Za-z0-9]*\))?(?:[-+0]?\d*(\.\d+)?[duxoefgaDUXOEFGA]|[@scSC%])/;
|
1759 |
|
1760 |
+
case p:
|
1761 |
+
return h || "%%";
|
1762 |
+
}
|
1763 |
+
}
|
1764 |
+
var h, p = "auto";
|
1765 |
+
f.init = function(a, e, h) {
|
1766 |
+
var f, q = !1, C = h || p, s = a.parentNode, y = s.appendChild(E.createElement("div"));
|
1767 |
+
k(s).addClass("has-proxy has-ace");
|
1768 |
+
n.require("$29", "remote.js").load("https://cdnjs.cloudflare.com/ajax/libs/ace/1.4.1/ace.js", function(h) {
|
1769 |
+
if (y) {
|
1770 |
+
if (!h) throw Error("Failed to load code editor");
|
1771 |
+
f = h.edit(y);
|
1772 |
+
var d = f.session, g = f.renderer;
|
1773 |
f.$blockScrolling = Infinity;
|
1774 |
f.setShowInvisibles(q);
|
1775 |
f.setWrapBehavioursEnabled(!1);
|
1776 |
f.setBehavioursEnabled(!1);
|
1777 |
f.setHighlightActiveLine(!1);
|
1778 |
+
d.setUseSoftTabs(!1);
|
1779 |
g.setShowGutter(!0);
|
1780 |
g.setPadding(10);
|
1781 |
g.setScrollMargin(8);
|
1782 |
+
d.setMode(b(h, C));
|
1783 |
f.setValue(a.value, -1);
|
1784 |
+
d.setUseWrapMode(!0);
|
1785 |
e ? m(f, e) : c(f);
|
1786 |
}
|
1787 |
}, "ace");
|
1788 |
return {
|
1789 |
kill: function() {
|
1790 |
+
f && (g(f), f.destroy(), f = null);
|
1791 |
+
y && (s.removeChild(y), k(s).removeClass("has-proxy has-ace"), y = null);
|
1792 |
return this;
|
1793 |
},
|
1794 |
disable: function() {
|
1815 |
return this;
|
1816 |
},
|
1817 |
strf: function(a) {
|
1818 |
+
a = a || p;
|
1819 |
+
a !== C && (C = a, f && f.session.setMode(b(d.ace, a)));
|
1820 |
return this;
|
1821 |
},
|
1822 |
focus: function() {
|
1825 |
};
|
1826 |
};
|
1827 |
f.strf = function(a, b) {
|
1828 |
+
p = a;
|
1829 |
+
h = b;
|
1830 |
return f;
|
1831 |
};
|
1832 |
return f;
|
1833 |
+
}({}, w, A));
|
1834 |
n.register("$50", function(f, d, E) {
|
1835 |
function m(a, b) {
|
1836 |
function c() {
|
1846 |
});
|
1847 |
a.setMode("design");
|
1848 |
}
|
1849 |
+
function g(a) {
|
1850 |
a.off("input");
|
1851 |
a.off("change");
|
1852 |
a.off("focus");
|
1853 |
a.off("blur");
|
1854 |
}
|
1855 |
function c(a) {
|
1856 |
+
g(a);
|
1857 |
a.setMode("readonly");
|
1858 |
}
|
1859 |
var b = 0;
|
1864 |
};
|
1865 |
f.init = function(a, e) {
|
1866 |
function d(a) {
|
1867 |
+
x = a;
|
1868 |
+
r = "<p>" === a.substr(0, 3) && "</p>" === a.substr(-4);
|
1869 |
return a.replace(/(<\/?)script/gi, "$1loco:script");
|
1870 |
}
|
1871 |
+
function p(a) {
|
1872 |
l = a;
|
1873 |
a._getContent = a.getContent;
|
1874 |
a.getContent = function(a) {
|
1875 |
a = this._getContent(a);
|
1876 |
a = a.replace(/(<\/?)loco:script/gi, "$1script");
|
1877 |
+
if (!r && "<p>" === a.substr(0, 3) && "</p>" === a.substr(-4)) {
|
1878 |
var b = a.substr(3, a.length - 7);
|
1879 |
+
if (b === x || -1 === b.indexOf("</p>")) a = b;
|
1880 |
}
|
1881 |
return a;
|
1882 |
};
|
1885 |
return this._setContent(d(a), b);
|
1886 |
};
|
1887 |
e ? (m(a, e), e.reset()) : c(a);
|
1888 |
+
k(s).removeClass("loading");
|
1889 |
}
|
1890 |
+
var l, v = !1, x = "", r = !1, q = a.parentNode, C = q.parentNode, s = q.appendChild(E.createElement("div")), y = C.insertBefore(E.createElement("nav"), q);
|
1891 |
+
y.id = "_tb" + String(++b);
|
1892 |
+
k(q).addClass("has-proxy has-mce");
|
1893 |
+
k(s).addClass("mce-content-body loading").html(d(a.value));
|
1894 |
f.load(function(a) {
|
1895 |
if (!a) throw Error("Failed to load HTML editor");
|
1896 |
+
s && a.init({
|
1897 |
inline: !0,
|
1898 |
+
target: s,
|
1899 |
hidden_input: !1,
|
1900 |
theme: "modern",
|
1901 |
skin: !1,
|
1902 |
plugins: "link lists",
|
1903 |
browser_spellcheck: !0,
|
1904 |
menubar: !1,
|
1905 |
+
fixed_toolbar_container: "#" + y.id,
|
1906 |
toolbar: "formatselect | bold italic link unlink | bullist numlist outdent indent",
|
1907 |
block_formats: "Paragraph=p;Heading 1=h1;Heading 2=h2;Heading 3=h4;Heading 4=h4;Heading 5=h5;Heading 6=h6;",
|
1908 |
forced_root_block: "p",
|
1932 |
entities: "38,amp,60,lt,62,gt,160,nbsp",
|
1933 |
entity_encoding: "named",
|
1934 |
keep_styles: !1,
|
1935 |
+
init_instance_callback: p
|
1936 |
});
|
1937 |
});
|
1938 |
return {
|
1939 |
val: function(b) {
|
1940 |
b = d(b);
|
1941 |
+
null == l ? (a.value = b, k(s).html(b)) : l.getContent() !== b && l.setContent(b);
|
1942 |
e && e.val(b);
|
1943 |
return this;
|
1944 |
},
|
1945 |
kill: function() {
|
1946 |
+
l && (e && e.val(l.getContent()), g(l), l.destroy(), l = null);
|
1947 |
+
s && (q.removeChild(s), k(q).removeClass("has-proxy has-mce"), s = null);
|
1948 |
+
y && (C.removeChild(y), y = null);
|
1949 |
return this;
|
1950 |
},
|
1951 |
enable: function(a) {
|
1964 |
},
|
1965 |
invs: function(a) {
|
1966 |
a = a || !1;
|
1967 |
+
v !== a && (v = a, k(q)[a ? "addClass" : "removeClass"]("show-invs"));
|
1968 |
return this;
|
1969 |
}
|
1970 |
};
|
1971 |
};
|
1972 |
return f;
|
1973 |
+
}({}, w, A));
|
1974 |
n.register("$46", function(f, d, E) {
|
1975 |
function m(b) {
|
1976 |
function a() {
|
1977 |
+
f && (x.off("input", e), f = !1);
|
1978 |
}
|
1979 |
function e() {
|
1980 |
var a = b.value;
|
1981 |
+
a !== q && (x.trigger("changing", [ a, q ]), q = a);
|
1982 |
}
|
1983 |
function d() {
|
1984 |
e();
|
1985 |
+
f && C !== q && x.trigger("changed", [ q ]);
|
1986 |
}
|
1987 |
function g() {
|
1988 |
c = b;
|
1989 |
+
C = q;
|
1990 |
+
f || (x.on("input", e), f = !0);
|
1991 |
+
x.trigger("editFocus");
|
1992 |
+
r.addClass("has-focus");
|
1993 |
return !0;
|
1994 |
}
|
1995 |
function l() {
|
1996 |
c === b && (c = null);
|
1997 |
+
x.trigger("editBlur");
|
1998 |
+
r.removeClass("has-focus");
|
1999 |
+
f && (d(), a());
|
2000 |
return !0;
|
2001 |
}
|
2002 |
+
var f = !1, x = k(b), r = k(b.parentNode), q = b.value, C;
|
2003 |
+
x.on("blur", l).on("focus", g);
|
2004 |
return {
|
2005 |
val: function(a) {
|
2006 |
+
q !== a && (b.value = a, x.triggerHandler("input"), q = a);
|
2007 |
return !0;
|
2008 |
},
|
2009 |
kill: function() {
|
2010 |
a();
|
2011 |
+
x.off("blur", l).off("focus", g);
|
2012 |
},
|
2013 |
fire: function() {
|
2014 |
q = null;
|
2018 |
blur: l,
|
2019 |
focus: g,
|
2020 |
reset: function() {
|
2021 |
+
C = q = b.value;
|
2022 |
}
|
2023 |
};
|
2024 |
}
|
2025 |
+
function g(b) {
|
2026 |
this.e = b;
|
2027 |
}
|
2028 |
var c;
|
2029 |
f._new = function(b) {
|
2030 |
+
return new g(b);
|
2031 |
};
|
2032 |
f.init = function(b) {
|
2033 |
+
var a = new g(b);
|
2034 |
b.disabled ? (b.removeAttribute("disabled"), a.disable()) : b.readOnly ? a.disable() : a.enable();
|
2035 |
return a;
|
2036 |
};
|
2037 |
+
TextAreaPrototype = g.prototype;
|
2038 |
TextAreaPrototype.destroy = function() {
|
2039 |
this.unlisten();
|
2040 |
var b = this.p;
|
2054 |
var c = this.l, d = this.p;
|
2055 |
d && d.val(b);
|
2056 |
c && c.val(b);
|
2057 |
+
c || a.value === b || (a.value = b, k(a).triggerHandler("input"));
|
2058 |
return this;
|
2059 |
};
|
2060 |
TextAreaPrototype.fire = function() {
|
2067 |
};
|
2068 |
TextAreaPrototype.focus = function() {
|
2069 |
var b = this.p;
|
2070 |
+
b ? b.focus() : k(this.e).focus();
|
2071 |
};
|
2072 |
TextAreaPrototype.focused = function() {
|
2073 |
return c && c === this.el;
|
2143 |
};
|
2144 |
TextAreaPrototype = null;
|
2145 |
return f;
|
2146 |
+
}({}, w, A));
|
2147 |
n.register("$47", function(f, d, n) {
|
2148 |
function m(a) {
|
2149 |
var b = d.console;
|
2150 |
b && b.error && b.error(a);
|
2151 |
}
|
2152 |
+
function g(a) {
|
2153 |
var b = n.createElement("div");
|
2154 |
a && b.setAttribute("class", a);
|
2155 |
return b;
|
2185 |
return !1;
|
2186 |
};
|
2187 |
}
|
2188 |
+
function h(a, b, c) {
|
2189 |
function e(a) {
|
2190 |
m("row[" + a + "] disappeared");
|
2191 |
return {
|
2195 |
};
|
2196 |
}
|
2197 |
return function(d) {
|
2198 |
+
var h = b || 0, g = c ? -1 : 1, z = a.rows || [];
|
2199 |
d.sort(function(a, b) {
|
2200 |
+
return g * (z[a] || e(a)).cellVal(h).localeCompare((z[b] || e(b)).cellVal(h));
|
2201 |
});
|
2202 |
};
|
2203 |
}
|
2204 |
+
function p(a) {
|
2205 |
this.w = a;
|
2206 |
}
|
2207 |
function l(a) {
|
2208 |
this.t = a;
|
2209 |
this.length = 0;
|
2210 |
}
|
2211 |
+
function v(a, b, c) {
|
2212 |
var e = n.createElement("div");
|
2213 |
e.className = c || "";
|
2214 |
this._ = e;
|
2216 |
this.i = a || 0;
|
2217 |
this.length = b.length;
|
2218 |
}
|
2219 |
+
function x(a) {
|
2220 |
this.live = a;
|
2221 |
this.rows = [];
|
2222 |
}
|
2223 |
f.create = function(a) {
|
2224 |
+
return new p(a);
|
2225 |
};
|
2226 |
+
var r = p.prototype;
|
2227 |
+
r.init = function(d) {
|
2228 |
+
var h = this.w, l = h.id, p = h.splity(l + "-thead", l + "-tbody"), f = p[0], p = p[1], B = [], u = [], z = [], F = [];
|
2229 |
if (d) this.ds = d, this.idxs = u, this._idxs = null; else if (!(d = this.ds)) throw Error("No datasource");
|
2230 |
f.css.push("wg-thead");
|
2231 |
+
p.css.push("wg-tbody");
|
2232 |
d.eachCol(function(a, b, c) {
|
2233 |
+
z[a] = l + "-col-" + b;
|
2234 |
F[a] = c || b;
|
2235 |
});
|
2236 |
+
for (var R = g(), r = -1, x = z.length, m = g("wg-cols"), n = f.splitx.apply(f, z); ++r < x; ) n[r].header(F[r]),
|
2237 |
+
m.appendChild(R.cloneNode(!1)).setAttribute("for", z[r]);
|
2238 |
d.eachRow(function(a, b, c) {
|
2239 |
+
B[a] = new v(a, b, c);
|
2240 |
u[a] = a;
|
2241 |
});
|
2242 |
+
this.rows = B;
|
2243 |
+
this.cols = m;
|
2244 |
this.ww = null;
|
2245 |
+
this.root = R = p.body;
|
2246 |
this.head = f;
|
2247 |
f.redraw = c(this);
|
2248 |
+
f = p.fixed = n[0].bodyY() || 20;
|
2249 |
+
h.lock().resize(f, p);
|
2250 |
+
h.css.push("is-table");
|
2251 |
+
h.restyle();
|
2252 |
+
this.sc ? this._re_sort(x) : d.sort && d.sort(u);
|
2253 |
this.redrawDirty();
|
2254 |
this.render();
|
2255 |
+
k(R).attr("tabindex", "-1").on("keydown", e(this)).on("mousedown", b(this)).on("scroll", a(this));
|
2256 |
return this;
|
2257 |
};
|
2258 |
+
r.clear = function() {
|
2259 |
for (var a = this.pages || [], b = a.length; 0 !== b--; ) a[b].destroy();
|
2260 |
this.pages = [];
|
2261 |
this.sy = this.mx = this.mn = this.vh = null;
|
2262 |
void 0;
|
2263 |
return this;
|
2264 |
};
|
2265 |
+
r.render = function() {
|
2266 |
+
for (var a, b, c = [], e = this.rows || [], d = -1, h, g = this.idxs, z = g.length, p = this.idxr = {}, l = this.r, f = this._r, v = this.root, k = this.cols; ++d < z; ) {
|
2267 |
+
0 === d % 100 && (a = k.cloneNode(!0), b = new x(a), b.h = 2200, b.insert(v), c.push(b));
|
2268 |
+
h = g[d];
|
2269 |
+
p[h] = d;
|
2270 |
+
a = e[h];
|
2271 |
+
if (null == a) throw Error("Render error, no data at [" + h + "]");
|
2272 |
a.page = b;
|
2273 |
b.rows.push(a);
|
2274 |
}
|
2277 |
this.mx = this.mn = null;
|
2278 |
this.redrawDirty();
|
2279 |
this.redraw();
|
2280 |
+
null == l ? null != f && (a = e[f]) && a.page && (delete this._r, this.select(f, !0)) : (a = e[l]) && a.page ? this.select(l, !0) : (this.deselect(),
|
2281 |
+
this._r = l);
|
2282 |
return this;
|
2283 |
};
|
2284 |
+
r.resize = function() {
|
2285 |
+
var a = -1, b = this.ww || (this.ww = []), c = this.w, e = c.cells[0], d = e.body.childNodes, h = d.length, g = this.pages || [], z = g.length;
|
2286 |
+
for (c.redraw.call(e); ++a < h; ) b[a] = d[a].style.width;
|
2287 |
+
if (z) {
|
2288 |
c = this.mx;
|
2289 |
for (a = this.mn; a <= c; a++) g[a].widths(b);
|
2290 |
this.redrawDirty() && this.redraw();
|
2291 |
}
|
2292 |
};
|
2293 |
+
r.redrawDirty = function() {
|
2294 |
var a = !1, b = this.root, c = b.scrollTop, b = b.clientHeight;
|
2295 |
this.sy !== c && (a = !0, this.sy = c);
|
2296 |
this.vh !== b && (a = !0, this.vh = b);
|
2297 |
return a;
|
2298 |
};
|
2299 |
+
r.redraw = function() {
|
2300 |
+
for (var a = 0, b = -1, c = null, e = null, d = this.ww, h = this.sy, g = this.vh, z = this.mn, l = this.mx, p = Math.max(0, h - 100), h = g + h + 100, f = this.pages || [], v = f.length; ++b < v && !(a > h); ) g = f[b],
|
2301 |
a += g.height(), a < p || (null === c && (c = b), e = b, g.rendered || g.render(d));
|
2302 |
+
if (z !== c) {
|
2303 |
+
if (null !== z && c > z) for (b = z; b < c; b++) {
|
2304 |
g = f[b];
|
2305 |
if (!g) throw Error("Shit!");
|
2306 |
g.rendered && g.sleep();
|
2307 |
}
|
2308 |
this.mn = c;
|
2309 |
}
|
2310 |
+
if (l !== e) {
|
2311 |
+
if (null !== l && e < l) for (b = l; b > e; b--) g = f[b], g.rendered && g.sleep();
|
2312 |
this.mx = e;
|
2313 |
}
|
2314 |
};
|
2315 |
+
r.selected = function() {
|
2316 |
return this.r;
|
2317 |
};
|
2318 |
+
r.thead = function() {
|
2319 |
return this.w.cells[0];
|
2320 |
};
|
2321 |
+
r.tbody = function() {
|
2322 |
return this.w.cells[1];
|
2323 |
};
|
2324 |
+
r.tr = function(a) {
|
2325 |
return (a = this.row(a)) ? a.cells() : [];
|
2326 |
};
|
2327 |
+
r.row = function(a) {
|
2328 |
return this.rows[a];
|
2329 |
};
|
2330 |
+
r.td = function(a, b) {
|
2331 |
return this.tr(a)[b];
|
2332 |
};
|
2333 |
+
r.next = function(a, b, c) {
|
2334 |
null == c && (c = this.r || 0);
|
2335 |
+
var e = this.idxs, d = e.length, h = (this.idxr || {})[c];
|
2336 |
+
for (c = h; c !== (h += a) && !(0 <= h && d > h); ) if (b && d) h = 1 === a ? -1 : d,
|
2337 |
b = !1; else return null;
|
2338 |
+
c = e[h];
|
2339 |
+
return null == c || null == this.rows[c] ? (m("Bad next: [" + h + "] does not map to data row"),
|
2340 |
null) : c;
|
2341 |
};
|
2342 |
+
r.selectNext = function(a, b, c) {
|
2343 |
a = this.next(a, b);
|
2344 |
null != a && this.r !== a && this.select(a, c);
|
2345 |
return this;
|
2346 |
};
|
2347 |
+
r.deselect = function(a) {
|
2348 |
var b = this.r;
|
2349 |
+
null != b && (this.r = null, k(this.tr(b)).removeClass("selected"), this.w.fire("wgRowDeselect", [ b, a ]));
|
2350 |
return this;
|
2351 |
};
|
2352 |
+
r.selectRow = function(a, b) {
|
2353 |
return this.select(this.idxs[a]);
|
2354 |
};
|
2355 |
+
r.select = function(a, b) {
|
2356 |
var c = this.rows[a], e = c && c.page;
|
2357 |
if (!e) return this.deselect(!1), m("Row is filtered out"), this;
|
2358 |
this.deselect(!0);
|
2359 |
+
var d, h = this.w.cells[1];
|
2360 |
+
e.rendered || (d = e.top(), h.scrollY(d), this.redrawDirty() && this.redraw());
|
2361 |
if (!c.rendered) return e.rendered || m("Failed to render page"), m("Row [" + c.i + "] not rendered"),
|
2362 |
this;
|
2363 |
e = c.cells();
|
2364 |
+
k(e).addClass("selected");
|
2365 |
this.r = a;
|
2366 |
+
b || (d = h.scrollY(), k(this.root).focus(), d !== h.scrollY() && h.scrollY(d));
|
2367 |
+
h.scrollTo(e[0], !0);
|
2368 |
this.w.fire("wgRowSelect", [ a, c.data() ]);
|
2369 |
return this;
|
2370 |
};
|
2371 |
+
r.unfilter = function() {
|
2372 |
this._idxs && (this.idxs = this._sort(this._idxs), this._idxs = null, this.clear().render());
|
2373 |
return this;
|
2374 |
};
|
2375 |
+
r.filter = function(a) {
|
2376 |
this._idxs || (this._idxs = this.idxs);
|
2377 |
this.idxs = this._sort(a);
|
2378 |
return this.clear().render();
|
2379 |
};
|
2380 |
+
r.each = function(a) {
|
2381 |
+
for (var b, c = -1, e = this.rows || [], d = this.idxs || [], h = d.length; ++c < h; ) b = d[c],
|
2382 |
a(e[b], c, b);
|
2383 |
return this;
|
2384 |
};
|
2385 |
+
r.sortable = function(a) {
|
2386 |
var b = this.sc || (this.sc = new l(this));
|
2387 |
b.has(a) || b.add(a);
|
2388 |
return this;
|
2389 |
};
|
2390 |
+
r._re_sort = function(a) {
|
2391 |
var b = -1, c = this.sc, e = c.active;
|
2392 |
for (this.sc = c = new l(this); ++b < a; ) c.add(b);
|
2393 |
e && (b = this.head.indexOf(e.id), -1 === b && (b = Math.min(e.idx, a - 1)), this.sort(b, e.desc));
|
2394 |
return this;
|
2395 |
};
|
2396 |
+
r._sort = function(a, b) {
|
2397 |
b ? (this.s = b, b(a)) : (b = this.s) && b(a);
|
2398 |
return a;
|
2399 |
};
|
2400 |
+
r.sort = function(a, b) {
|
2401 |
+
this._sort(this.idxs, h(this, a, b));
|
2402 |
this.sc.activate(a, b);
|
2403 |
return this;
|
2404 |
};
|
2405 |
+
r = null;
|
2406 |
+
r = l.prototype;
|
2407 |
+
r.has = function(a) {
|
2408 |
return null != this[a];
|
2409 |
};
|
2410 |
+
r.add = function(a) {
|
2411 |
var b = this, c = b.t.head.cells[a];
|
2412 |
b[a] = {
|
2413 |
desc: null,
|
2421 |
});
|
2422 |
return b;
|
2423 |
};
|
2424 |
+
r.toggle = function(a) {
|
2425 |
this.t.sort(a, !this[a].desc).clear().render();
|
2426 |
return this;
|
2427 |
};
|
2428 |
+
r.activate = function(a, b) {
|
2429 |
var c, e;
|
2430 |
c = this.active;
|
2431 |
+
var d = this[a], h = this.t.head.cells;
|
2432 |
+
c && (e = h[c.idx]) && (e.removeClass(c.css), c !== d && e.restyle());
|
2433 |
+
(e = h[a]) ? (d.desc = b, this.active = d, c = "wg-" + (b ? "desc" : "asc"), e.addClass(c).restyle(),
|
2434 |
d.css = c) : this.active = null;
|
2435 |
return this;
|
2436 |
};
|
2437 |
+
r = null;
|
2438 |
+
r = v.prototype;
|
2439 |
+
r.render = function(a) {
|
2440 |
var b, c = [], e = this._, d = this.length;
|
2441 |
if (e) {
|
2442 |
for (this.c = c; 0 !== d--; ) b = e.cloneNode(!1), c[d] = this.update(d, b), b.$index = this.i,
|
2446 |
this.rendered = !0;
|
2447 |
return this;
|
2448 |
};
|
2449 |
+
r.update = function(a, b) {
|
2450 |
var c = b || this.c[a] || {}, e = (this.d[a] || function() {})() || " ";
|
2451 |
null == e.innerHTML ? c.textContent = e : c.innerHTML = e.innerHTML;
|
2452 |
return c;
|
2453 |
};
|
2454 |
+
r.cells = function() {
|
2455 |
return this.c || [ this._ ];
|
2456 |
};
|
2457 |
+
r.data = function() {
|
2458 |
for (var a = -1, b = [], c = this.length; ++a < c; ) b[a] = this.cellVal(a);
|
2459 |
return b;
|
2460 |
};
|
2461 |
+
r.destroy = function() {
|
2462 |
this.page = null;
|
2463 |
this.rendered = !1;
|
2464 |
};
|
2465 |
+
r.cellVal = function(a) {
|
2466 |
a = this.d[a]() || "";
|
2467 |
return String(a.textContent || a);
|
2468 |
};
|
2469 |
+
r = null;
|
2470 |
+
r = x.prototype;
|
2471 |
+
r.size = function() {
|
2472 |
return this.rows.length;
|
2473 |
};
|
2474 |
+
r.insert = function(a) {
|
2475 |
+
var b = this.h, c = g("wg-dead");
|
2476 |
c.style.height = String(b) + "px";
|
2477 |
a.appendChild(c);
|
2478 |
return this.dead = c;
|
2479 |
};
|
2480 |
+
r.top = function() {
|
2481 |
return (this.rendered ? this.live : this.dead).offsetTop;
|
2482 |
};
|
2483 |
+
r.height = function() {
|
2484 |
var a = this.h;
|
2485 |
null == a && (this.h = a = this.rendered ? this.live.firstChild.offsetHeight : this.dead.offsetHight);
|
2486 |
a || m("row has zero height");
|
2487 |
return a;
|
2488 |
};
|
2489 |
+
r.render = function(a) {
|
2490 |
+
for (var b, c = -1, e = this.rows, d = e.length, h = this.dead, g = this.live, z = g.childNodes; ++c < d; ) b = e[c],
|
2491 |
+
b.rendered || b.render(z);
|
2492 |
d = a.length;
|
2493 |
+
for (c = 0; c < d; c++) z[c].style.width = a[c];
|
2494 |
+
h.parentNode.replaceChild(g, h);
|
2495 |
this.rendered = !0;
|
2496 |
this.h = null;
|
2497 |
return this;
|
2498 |
};
|
2499 |
+
r.sleep = function() {
|
2500 |
var a = this.height(), b = this.live, c = this.dead;
|
2501 |
c.style.height = String(a) + "px";
|
2502 |
b.parentNode.replaceChild(c, b);
|
2504 |
this.h = a;
|
2505 |
return this;
|
2506 |
};
|
2507 |
+
r.sleepH = function(a) {
|
2508 |
a *= this.rows.length;
|
2509 |
var b = this.dead;
|
2510 |
b && (b.style.height = String(a) + "px");
|
2511 |
this.rendered || (this.h = a);
|
2512 |
return this;
|
2513 |
};
|
2514 |
+
r.widths = function(a) {
|
2515 |
for (var b = this.live.childNodes, c = a.length; 0 !== c--; ) b[c].style.width = a[c];
|
2516 |
return this;
|
2517 |
};
|
2518 |
+
r.destroy = function() {
|
2519 |
var a = this.rendered ? this.live : this.dead, b = this.rows, c = b.length;
|
2520 |
for (a.parentNode.removeChild(a); 0 !== c--; ) b[c].destroy();
|
2521 |
};
|
2522 |
+
r = null;
|
2523 |
return f;
|
2524 |
+
}({}, w, A));
|
2525 |
n.register("$38", function(f, d, E) {
|
2526 |
function m(a, b) {
|
2527 |
var c = a.id, e = c && q[c], d = e && e.parent();
|
2528 |
if (!e || !d) return null;
|
2529 |
+
var h = d.dir === r, c = h ? "X" : "Y", g = "page" + c, h = h ? x : v, l = h(d.el), c = b["offset" + c], p = d.el, f = p.className;
|
2530 |
+
null == c && (c = b[g] - h(a));
|
2531 |
+
c && (l += c);
|
2532 |
p.className = f + " is-resizing";
|
2533 |
return {
|
2534 |
done: function() {
|
2535 |
p.className = f;
|
2536 |
},
|
2537 |
move: function(a) {
|
2538 |
+
d.resize(a[g] - l, e);
|
2539 |
return !0;
|
2540 |
}
|
2541 |
};
|
2542 |
}
|
2543 |
+
function g(a, c) {
|
2544 |
function e() {
|
2545 |
+
k(E).off("mousemove", d);
|
2546 |
+
s && (s.done(), s = null);
|
2547 |
return !0;
|
2548 |
}
|
2549 |
function d(a) {
|
2550 |
+
s ? s.move(a) : e();
|
2551 |
return !0;
|
2552 |
}
|
2553 |
+
if (s) return !0;
|
2554 |
+
s = m(a.target, a);
|
2555 |
+
if (!s) return !0;
|
2556 |
+
k(E).one("mouseup", e).on("mousemove", d);
|
2557 |
return b(a);
|
2558 |
}
|
2559 |
function c(a, b) {
|
2560 |
var c = b.type;
|
2561 |
+
"touchmove" === c ? s && s.move(b) : "touchstart" === c ? s = m(a.target, b) : "touchend" === c && s && (s.done(),
|
2562 |
+
s = null);
|
2563 |
}
|
2564 |
function b(a) {
|
2565 |
a.stopPropagation();
|
2567 |
return !1;
|
2568 |
}
|
2569 |
function a(a) {
|
2570 |
+
var b = C;
|
2571 |
b && b.redraw();
|
2572 |
a && a.redraw();
|
2573 |
+
return C = a;
|
2574 |
}
|
2575 |
function e(b, c) {
|
2576 |
+
var e = k(c).on("editFocus", function() {
|
2577 |
e.trigger("wgFocus", [ a(b) ]);
|
2578 |
}).on("editBlur", function() {
|
2579 |
e.trigger("wgBlur", [ a(null) ]);
|
2580 |
});
|
2581 |
}
|
2582 |
+
function h(a) {
|
2583 |
var b = a.id, c = a.className;
|
2584 |
this.id = b;
|
2585 |
this.el = a;
|
2589 |
q[b] = this;
|
2590 |
this.clear();
|
2591 |
}
|
2592 |
+
var p = n.include("$44", "html.js") || n.include("$2", "html.js", !0), l = n.require("$21", "dom.js"), v = l.top, x = l.left, r = 1, q = {}, C, s = !1;
|
2593 |
f.init = function(a) {
|
2594 |
+
var b = new h(a);
|
2595 |
b.redraw();
|
2596 |
n.require("$45", "touch.js").ok(function(b) {
|
2597 |
b.dragger(a, c);
|
2598 |
});
|
2599 |
+
k(a).on("mousedown", g);
|
2600 |
return b;
|
2601 |
};
|
2602 |
+
d = h.prototype;
|
2603 |
d.fire = function(a, b) {
|
2604 |
+
var c = k.Event(a);
|
2605 |
c.cell = this;
|
2606 |
+
k(this.el).trigger(c, b);
|
2607 |
return this;
|
2608 |
};
|
2609 |
d.each = function(a) {
|
2620 |
return this.$("off", arguments);
|
2621 |
};
|
2622 |
d.find = function(a) {
|
2623 |
+
return k(this.el).find(a);
|
2624 |
};
|
2625 |
d.$ = function(a, b) {
|
2626 |
+
k.fn[a].apply(k(this.el), b);
|
2627 |
return this;
|
2628 |
};
|
2629 |
d.addClass = function(a) {
|
2639 |
return this.pid && q[this.pid];
|
2640 |
};
|
2641 |
d.splitx = function() {
|
2642 |
+
return this._split(r, arguments);
|
2643 |
};
|
2644 |
d.splity = function() {
|
2645 |
return this._split(2, arguments);
|
2646 |
};
|
2647 |
d._split = function(a, b) {
|
2648 |
(this.length || this.field) && this.clear();
|
2649 |
+
for (var c = -1, e, d = b.length, g = 1 / d, p = 0; ++c < d; ) {
|
2650 |
e = l.el();
|
2651 |
this.body.appendChild(e);
|
2652 |
+
for (var f = e, v = b[c], k = v, r = 1; q[v]; ) v = k + "-" + ++r;
|
2653 |
+
f.id = v;
|
2654 |
+
e = new h(e);
|
2655 |
e.index = c;
|
2656 |
e.pid = this.id;
|
2657 |
e._locale(this.lang, this.rtl);
|
2658 |
+
e.pos = p;
|
2659 |
+
p += g;
|
2660 |
this.cells.push(e);
|
2661 |
this.length++;
|
2662 |
}
|
2671 |
a.innerHTML = "";
|
2672 |
this.body = null;
|
2673 |
a.className = this._cn || "";
|
2674 |
+
k(a).off();
|
2675 |
return this;
|
2676 |
};
|
2677 |
d.exists = function() {
|
2678 |
return this === q[this.id];
|
2679 |
};
|
2680 |
d.clear = function() {
|
2681 |
+
for (var a = this.el, b = this.cells, c = this.field, e = this.body, d = this.nav, h = this.length || 0; 0 !== h--; ) delete q[b[h].destroy().id];
|
2682 |
this.cells = [];
|
2683 |
this.length = 0;
|
2684 |
d && (a.removeChild(d), this.nav = null);
|
2685 |
+
e && (c && (p.ie() && k(e).triggerHandler("blur"), c.destroy(), this.field = null),
|
2686 |
this.table && (this.table = null), a === e.parentNode && a.removeChild(e));
|
2687 |
this.body = a.appendChild(l.el("", "wg-body"));
|
2688 |
this._h = null;
|
2690 |
};
|
2691 |
d.resize = function(a, b) {
|
2692 |
if (!b && (b = this.cells[1], !b)) return;
|
2693 |
+
var c = b.index, e = this.cells, d = k(this.el)[this.dir === r ? "width" : "height"](), h = e[c + 1], c = e[c - 1];
|
2694 |
pad = (b.body || b.el.firstChild).offsetTop || 0;
|
2695 |
+
max = (h ? h.pos * d : d) - pad;
|
2696 |
min = c ? c.pos * d : 0;
|
2697 |
b.pos = Math.min(max, Math.max(min, a)) / d;
|
2698 |
this.redraw();
|
2699 |
return this;
|
2700 |
};
|
2701 |
d.distribute = function(a) {
|
2702 |
+
for (var b = -1, c = 0, e, d = this.cells, h = a.length; ++b < h && (e = d[++c]); ) e.pos = Math.max(0, Math.min(1, a[b]));
|
2703 |
this.redraw();
|
2704 |
return this;
|
2705 |
};
|
2722 |
this.restyle();
|
2723 |
var b = this.el, c = this.body, e = this.field;
|
2724 |
if (c) {
|
2725 |
+
var d, h = b.clientWidth || 0, g = b.clientHeight || 0, p = c.offsetTop || 0, g = p > g ? 0 : g - p;
|
2726 |
+
this._h !== g && (this._h = g, c.style.height = String(g) + "px", d = e);
|
2727 |
+
this._w !== h && (this._w = h, d = e);
|
2728 |
d && d.redraw();
|
2729 |
}
|
2730 |
c = this.length;
|
2731 |
+
h = 1;
|
2732 |
+
g = this.nav;
|
2733 |
+
for (p = 2 === this.dir ? "height" : "width"; 0 !== c--; ) e = this.cells[c], g ? d = 1 : (e.fixed && (e.pos = e.fixed / k(b)[p]()),
|
2734 |
+
d = h - e.pos, h = e.pos), e.el.style[p] = String(100 * d) + "%", e.redraw(a);
|
2735 |
return this;
|
2736 |
};
|
2737 |
d.contents = function(a, b) {
|
2740 |
this.length ? this.clear() : e && (c.removeChild(e), e = null);
|
2741 |
e || (this.body = e = c.appendChild(l.el("", b || "wg-content")), this._h = null,
|
2742 |
(c = this.lang) && this._locale(c, this.rtl, !0));
|
2743 |
+
"string" === typeof a ? k(e)._html(a) : a && this.append(a);
|
2744 |
this.redraw();
|
2745 |
return this;
|
2746 |
};
|
2784 |
return this;
|
2785 |
};
|
2786 |
d.append = function(a) {
|
2787 |
+
a && (a.nodeType ? p.init(this.body.appendChild(a)) : p.init(k(a).appendTo(this.body)));
|
2788 |
return this;
|
2789 |
};
|
2790 |
d.prepend = function(a) {
|
2791 |
var b = this.body;
|
2792 |
if (a.nodeType) {
|
2793 |
var c = b.firstChild;
|
2794 |
+
p.init(c ? b.insertBefore(a, c) : b.appendChild(a));
|
2795 |
+
} else p.init(k(a).prependTo(b));
|
2796 |
return this;
|
2797 |
};
|
2798 |
d.before = function(a) {
|
2799 |
var b = this.body;
|
2800 |
+
a.nodeType ? p.init(this.el.insertBefore(a, b)) : p.init(k(a).insertBefore(b));
|
2801 |
return this;
|
2802 |
};
|
2803 |
d.header = function(a, b) {
|
2818 |
return a && a.nodeValue;
|
2819 |
};
|
2820 |
d.bodyY = function() {
|
2821 |
+
return v(this.body, this.el);
|
2822 |
};
|
2823 |
d.scrollY = function(a) {
|
2824 |
if (J === a) return this.body.scrollTop;
|
2837 |
d.scrollTo = function(a, b) {
|
2838 |
var c, e = this.body;
|
2839 |
c = e.scrollTop;
|
2840 |
+
var d = v(a, e);
|
2841 |
if (c > d) c = d; else {
|
2842 |
+
var h = e.clientHeight, d = d + k(a).outerHeight();
|
2843 |
+
if (h + c < d) c = d - h; else return;
|
2844 |
}
|
2845 |
+
b ? e.scrollTop = c : k(e).stop(!0).animate({
|
2846 |
scrollTop: c
|
2847 |
}, 250);
|
2848 |
};
|
2849 |
d.navigize = function(a, c) {
|
2850 |
function e(a) {
|
2851 |
+
var b = h[a], c = f[a], d = k(b.el).show();
|
2852 |
c.addClass("active");
|
2853 |
p = a;
|
2854 |
+
v.data("idx", a);
|
2855 |
b.fire("wgTabSelect", [ a ]);
|
2856 |
return d;
|
2857 |
}
|
2858 |
+
var d = this, h = d.cells, g = d.nav, p, f = [];
|
2859 |
+
g && d.el.removeChild(g);
|
2860 |
+
var g = d.nav = d.el.insertBefore(l.el("nav", "wg-tabs"), d.body), v = k(g).on("click", function(a) {
|
2861 |
+
var c = k(a.target).data("idx");
|
2862 |
if (null == c) return !0;
|
2863 |
if (null != p) {
|
2864 |
+
var g = f[p];
|
2865 |
+
k(h[p].el).hide();
|
2866 |
+
g.removeClass("active");
|
2867 |
}
|
2868 |
e(c);
|
2869 |
d.redraw();
|
2870 |
return b(a);
|
2871 |
});
|
2872 |
+
null == c && (c = v.data("idx") || 0);
|
2873 |
d.each(function(b, c) {
|
2874 |
+
f[c] = k('<a href="#' + b.id + '"></a>').data("idx", c).text(a[c]).appendTo(v);
|
2875 |
b.pos = 0;
|
2876 |
+
k(b.el).hide();
|
2877 |
});
|
2878 |
+
e(h[c] ? c : 0);
|
2879 |
d.lock();
|
2880 |
d.redraw();
|
2881 |
return d;
|
2882 |
};
|
2883 |
d.navigated = function() {
|
2884 |
var a = this.nav;
|
2885 |
+
if (a) return k(a).data("idx");
|
2886 |
};
|
2887 |
d = null;
|
2888 |
return f;
|
2889 |
+
}({}, w, A));
|
2890 |
n.register("$24", function(f, d, E) {
|
2891 |
function m(a) {
|
2892 |
var b = [];
|
2894 |
a.translation() || b.push("po-empty"), a.comment() && b.push("po-comment"));
|
2895 |
return b.join(" ");
|
2896 |
}
|
2897 |
+
function g(a, b, c) {
|
2898 |
+
b = k(a.title(b).parentNode);
|
2899 |
var e = b.find("span.lang");
|
2900 |
+
c ? (c = n.require("$36", "locale.js").cast(c), e.length || (e = k("<span></span>").prependTo(b)),
|
2901 |
e.attr("lang", c.lang).attr("class", c.getIcon() || "lang region region-" + (c.region || "zz").toLowerCase())) : (e.remove(),
|
2902 |
c = "en");
|
2903 |
a.locale(c);
|
2914 |
this.dirty = 0;
|
2915 |
}
|
2916 |
n.require("$3", "number.js");
|
2917 |
+
var a = "poUpdate", e = "changing", h = "changed", p = 0, l = 1, v = 2, x = 3, r = 4, q = 5, C, s, y = n.require("$35", "string.js").html, w = n.require("$6", "string.js").sprintf;
|
2918 |
f.extend = function(a) {
|
2919 |
return a.prototype = new b();
|
2920 |
};
|
2921 |
f.localise = function(a) {
|
2922 |
+
s = a;
|
2923 |
return f;
|
2924 |
};
|
2925 |
+
var B = function() {
|
2926 |
var a = E.createElement("p");
|
2927 |
return function(b) {
|
2928 |
a.innerHTML = b.replace("src=", "x=");
|
2940 |
return this;
|
2941 |
};
|
2942 |
u.localise = function(a) {
|
2943 |
+
a || (a = s || n.require("$1", "t.js").init());
|
2944 |
var b = [];
|
2945 |
+
b[p] = a._x("Source text", "Editor") + ":";
|
2946 |
+
b[x] = a._x("%s translation", "Editor") + ":";
|
2947 |
+
b[r] = a._x("Context", "Editor") + ":";
|
2948 |
b[q] = a._x("Comments", "Editor") + ":";
|
2949 |
b[l] = a._x("Single", "Editor") + ":";
|
2950 |
+
b[v] = a._x("Plural", "Editor") + ":";
|
2951 |
b[6] = a._x("Untranslated", "Editor");
|
2952 |
b[7] = a._x("Translated", "Editor");
|
2953 |
b[8] = a._x("Toggle Fuzzy", "Editor");
|
2962 |
return !0;
|
2963 |
}
|
2964 |
var c = n.require("$38", "wingrid.js").init(a);
|
2965 |
+
k(d).on("resize", b);
|
2966 |
this.redraw = b;
|
2967 |
+
k(a).on("wgFocus wgBlur", function(a, b) {
|
2968 |
a.stopPropagation();
|
2969 |
+
C = b;
|
2970 |
});
|
2971 |
this.destroy = function() {
|
2972 |
c.destroy();
|
2973 |
+
k(d).off("resize", b);
|
2974 |
};
|
2975 |
this.rootDiv = a;
|
2976 |
return c;
|
2977 |
};
|
2978 |
u.$ = function() {
|
2979 |
+
return k(this.rootDiv);
|
2980 |
};
|
2981 |
u.setListCell = function(a) {
|
2982 |
var b = this;
|
2996 |
this.targetCell = a;
|
2997 |
};
|
2998 |
u.next = function(a, b, c) {
|
2999 |
+
for (var e = this.listTable, d = e.selected(), h = d, g, p = this.po; null != (d = e.next(a, c, d)); ) {
|
3000 |
+
if (h === d) {
|
3001 |
d = null;
|
3002 |
break;
|
3003 |
}
|
3004 |
+
if (b && (g = p.row(d), g.translated(0))) continue;
|
3005 |
break;
|
3006 |
}
|
3007 |
null != d && e.select(d, !0);
|
3040 |
return this.lastSearch || "";
|
3041 |
};
|
3042 |
u.filter = function(a, b) {
|
3043 |
+
var c, e = this.listTable, d = this.lastFound, h = this.lastSearch;
|
3044 |
if (a) {
|
3045 |
+
if (h === a) return d || 0;
|
3046 |
+
if (h && !d && 0 === a.indexOf(h)) return 0;
|
3047 |
c = this.dict.find(a);
|
3048 |
}
|
3049 |
+
this.lastSearch = h = a;
|
3050 |
this.lastFound = d = c ? c.length : this.po.length;
|
3051 |
c ? e.filter(c) : e.unfilter();
|
3052 |
+
b || this.fire("poFilter", [ h, d ]);
|
3053 |
return d;
|
3054 |
};
|
3055 |
u.countFiltered = function() {
|
3068 |
if ((b = this.listTable.tr(b)) && b.length) {
|
3069 |
var c = b[0].className;
|
3070 |
a = c.replace(/(?:^| +)po-[a-z]+/g, "") + " " + m(a);
|
3071 |
+
a !== c && k(b).attr("class", a);
|
3072 |
}
|
3073 |
};
|
3074 |
u.save = function(a) {
|
3082 |
u.fire = function(a, b) {
|
3083 |
var c = this.handle;
|
3084 |
if (c && c[a] && (c = c[a].apply(this, b || []), !1 === c)) return !1;
|
3085 |
+
c = k.Event(a);
|
3086 |
this.$().trigger(c, b);
|
3087 |
return !c.isDefaultPrevented();
|
3088 |
};
|
3094 |
return null;
|
3095 |
};
|
3096 |
u.reload = function() {
|
3097 |
+
var a = this, b, c = a.listCell, e = a.listTable, d = a.po, h = d && d.locale(), g = h && h.isRTL(), p = d && d.length || 0;
|
3098 |
if (!d || !d.row) return c && c.clear().header("Error").contents("Invalid messages list"),
|
3099 |
!1;
|
3100 |
+
a.targetLocale = h;
|
3101 |
+
a.lastSearch && (a.lastSearch = "", a.lastFound = p, a.fire("poFilter", [ "", p ]));
|
3102 |
e && (b = e.thead().distribution());
|
3103 |
a.listTable = e = c.tabulate({
|
3104 |
eachCol: function(b) {
|
3105 |
+
var c, e, d = a.getListColumns(), h = a.getListHeadings();
|
3106 |
+
for (e in d) c = d[e], b(c, e, h[c]);
|
3107 |
},
|
3108 |
eachRow: function(b) {
|
3109 |
d.each(function(c, e) {
|
3112 |
},
|
3113 |
sort: a.getSorter()
|
3114 |
});
|
3115 |
+
var l, c = a.getListColumns();
|
3116 |
+
for (l in c) e.sortable(c[l]);
|
3117 |
b && e.thead().distribute(b);
|
3118 |
+
e.tbody().$(g ? "addClass" : "removeClass", [ "is-rtl" ]);
|
3119 |
a.fire("poLoad");
|
3120 |
+
return !!p;
|
3121 |
};
|
3122 |
u.load = function(a, b) {
|
3123 |
this.po = a;
|
3149 |
return null;
|
3150 |
};
|
3151 |
u.setSrcMeta = function(a, b) {
|
3152 |
+
var e = [], d, h = !1, g = this.$smeta, p = this.labels, l = [], f = a.tags(), v = f && f.length;
|
3153 |
+
if (d = a.context()) l.push("<span>" + y(p[r]) + "</span>"), l.push("<mark>" + y(d) + "</mark>");
|
3154 |
+
if (v && this.getTag) for (l.push("<span>Tagged:</span>"); 0 <= --v; ) (d = this.getTag(f[v])) && l.push('<mark class="tag">' + y(d.mod_name) + "</mark>");
|
3155 |
+
l.length && e.push(l.join(" "));
|
3156 |
+
if (this.getMono() && (d = a.refs()) && (f = d.split(/\s/), v = f.length)) {
|
3157 |
+
for (l = []; 0 <= --v; ) d = f[v], l.push("<code>" + y(d) + "</code>");
|
3158 |
+
e.push('<p class="has-icon icon-file">' + l.join(" ") + "</p>");
|
3159 |
+
}
|
3160 |
+
(d = a.notes()) && e.push('<p class="has-icon icon-info">' + y(d, !0) + "</p>");
|
3161 |
+
e.length ? (g || (g = b.find("div.meta"), g.length || (g = k('<div class="meta"></div>').insertAfter(b.header())),
|
3162 |
+
c(this, g, "poMeta"), this.$smeta = g), g.html(e.join("\n")).show(), h = !0) : g && g.text() && (g.text("").hide(),
|
3163 |
+
h = !0);
|
3164 |
+
return h;
|
3165 |
};
|
3166 |
u.setTrgMeta = function(a, b, c) {
|
3167 |
+
var e = [], d = !1, h = this.$tmeta;
|
3168 |
b = (a = a.errors(b)) && a.length;
|
3169 |
+
var g;
|
3170 |
+
if (b) for (g = 0; g < b; g++) e.push('<p class="has-icon icon-warn">' + y(a[g], !0) + ".</p>");
|
3171 |
+
e.length ? (h || (h = c.find("div.meta"), h.length || (h = k('<div class="meta"></div>').insertAfter(c.header())),
|
3172 |
+
this.$tmeta = h), h.html(e.join("\n")).show(), d = !0) : h && h.text() && (h.text("").hide(),
|
3173 |
d = !0);
|
3174 |
return d;
|
3175 |
};
|
3182 |
return e.join(" ");
|
3183 |
}
|
3184 |
function d(a, e) {
|
3185 |
+
var h = J, k = L[p];
|
3186 |
a.off();
|
3187 |
+
a.titled() !== k && g(a, k, e || "en");
|
3188 |
+
k = !1;
|
3189 |
+
s.setSrcMeta(b, a) && (k = !0);
|
3190 |
if (b.plural()) {
|
3191 |
+
var k = -1, r = [], q = [], x = a.id + "-", m = b.sourceForms() || e && e.plurals || [ "One", "Other" ], n = m.length;
|
3192 |
+
if (2 !== n || "=" === m[0].charAt(0) && "=1" !== m[0]) for (;++k < n; ) r[k] = x + String(k),
|
3193 |
+
q[k] = c(m[k]) + ":"; else r = [ x + "-0", x + "-1" ], q = [ L[l], L[v] ];
|
3194 |
+
a.splity.apply(a, r);
|
3195 |
a.each(function(a, c) {
|
3196 |
+
a.header(q[c]).textarea(b.source(null, c), h).setStrf(D).setMode(y).setInvs(B);
|
3197 |
});
|
3198 |
a.lock();
|
3199 |
+
h && a.each(function(a, b) {
|
3200 |
f(a, b);
|
3201 |
});
|
3202 |
+
} else k && a.redraw(), a.textarea(b.source(), h).setStrf(D).setMode(y).setInvs(B),
|
3203 |
+
h && f(a, 0);
|
3204 |
}
|
3205 |
function f(c, d) {
|
3206 |
c.on(e, function(a, c) {
|
3207 |
b.source(c, d);
|
3208 |
+
0 === d && s.updateListCell(b, "source");
|
3209 |
+
s.unsave(b, d);
|
3210 |
+
}).on(h, function() {
|
3211 |
+
0 === d && s.po.reIndex(b);
|
3212 |
+
s.dict && s.rebuildSearch();
|
3213 |
+
s.fire(a, [ b ]);
|
3214 |
});
|
3215 |
}
|
3216 |
+
function k(a, e, d) {
|
3217 |
M && a.eachTextarea(function(a) {
|
3218 |
a.ping();
|
3219 |
});
|
3220 |
a.off();
|
3221 |
+
var h = e.isKnown() && e.label || "Target", h = w(L[x], h);
|
3222 |
+
a.titled() !== h && g(a, h, e);
|
3223 |
+
h = !1;
|
3224 |
+
!this.sourceCell && s.setSrcMeta(b, a) && (h = !0);
|
3225 |
+
s.setTrgMeta(b, d, a) && (h = !0);
|
3226 |
+
s.setStatus(b, d);
|
3227 |
if (b.pluralized()) {
|
3228 |
+
var p = [], l = [], f = a.id + "-", v = b.targetForms() || e.plurals || [ "One", "Other" ], h = v.length, r = function(a) {
|
3229 |
+
var b = v[a];
|
3230 |
+
l.push(b ? c(b, !0) : "Form " + a);
|
3231 |
+
p.push(f + String(a));
|
3232 |
};
|
3233 |
+
for (b.each(r); (e = p.length) < h; ) r(e);
|
3234 |
+
a.splitx.apply(a, p);
|
3235 |
a.each(function(a, c) {
|
3236 |
var e = M && !b.disabled(c);
|
3237 |
+
a.textarea(b.translation(c), e).setStrf(D).setMode(y).setInvs(B);
|
3238 |
M && m(a, c);
|
3239 |
});
|
3240 |
+
a.navigize(l, d || null).on("wgTabSelect", function(c, e) {
|
3241 |
var d = M && c.cell.editable();
|
3242 |
d && d.focus();
|
3243 |
+
s.setTrgMeta(b, e, a);
|
3244 |
+
s.setStatus(b, e);
|
3245 |
+
s.fire("poTab", [ e ]);
|
3246 |
});
|
3247 |
+
} else h && a.redraw(), a.textarea(b.translation(), M && !b.disabled(0)).setStrf(D).setMode(y).setInvs(B),
|
3248 |
M && m(a, 0);
|
3249 |
}
|
3250 |
function m(c, d) {
|
3251 |
c.on(e, function(a, c, e) {
|
3252 |
b.translate(c, d);
|
3253 |
+
0 === d && s.updateListCell(b, "target");
|
3254 |
+
b.fuzzy(d) ? s.fuzzy(!1, b, d) : s.unsave(b, d);
|
3255 |
+
"" === c ? (s.fire("poEmpty", [ !0, b, d ]), s.setStatus(b, d)) : "" === e && (s.fire("poEmpty", [ !1, b, d ]),
|
3256 |
+
s.setStatus(b, d));
|
3257 |
+
}).on(h, function() {
|
3258 |
+
s.dict && s.rebuildSearch();
|
3259 |
+
s.fire(a, [ b ]);
|
3260 |
});
|
3261 |
}
|
3262 |
function n(c) {
|
3263 |
c.off();
|
3264 |
+
var d = L[r];
|
3265 |
+
c.titled() !== d && (g(c, d), s.setStatus(null));
|
3266 |
+
c.textarea(b.context(), !0).setMode(y).setInvs(B);
|
3267 |
X && c.on(e, function(a, c) {
|
3268 |
b.context(c);
|
3269 |
+
s.updateListCell(b, "source");
|
3270 |
+
s.unsave(b, N);
|
3271 |
+
}).on(h, function() {
|
3272 |
+
s.po.reIndex(b);
|
3273 |
+
s.dict && s.rebuildSearch();
|
3274 |
+
s.fire(a, [ b ]);
|
3275 |
});
|
3276 |
}
|
3277 |
function u(a) {
|
3278 |
var c = L[q];
|
3279 |
+
a.titled() !== c && g(a, c);
|
3280 |
a.off().on(e, function(a, c) {
|
3281 |
b.comment(c);
|
3282 |
+
s.fire("poComment", [ b, c ]);
|
3283 |
+
s.unsave(b, N);
|
3284 |
}).textarea(b.comment(), !0);
|
3285 |
}
|
3286 |
+
var s = this, y = s.mode, E = b.isHTML(), B = s.inv || !1, A = this.fmt || null, D = b.format() || null, I = b.is(s.active), N = 0, T = s.sourceCell, S = s.targetCell, U = s.contextCell, V = s.commentCell, M = s.editable.target, J = s.editable.source, X = s.editable.context, O = C, Y = s.sourceLocale, W = s.targetLocale, L = s.labels;
|
3287 |
+
s.html !== E && (s.html = E, "code" !== s.mode && (y = E ? "html" : "", s.setMode(y)));
|
3288 |
+
s.active = b;
|
3289 |
T && d(T, Y);
|
3290 |
U && n(U);
|
3291 |
+
S && W && (N = S.navigated() || 0, k(S, W, N));
|
3292 |
V && u(V);
|
3293 |
+
O && (O.exists() || (O = O.parent()), (E = O.editable()) && E.focus());
|
3294 |
+
A !== D && (this.fmt = D);
|
3295 |
+
I || s.fire("poSelected", [ b, N ]);
|
3296 |
};
|
3297 |
u.unloadActive = function() {
|
3298 |
function a(b) {
|
3325 |
(e = this.listTable.row(e)) && e.rendered && e.update(c);
|
3326 |
};
|
3327 |
u.cellText = function(a) {
|
3328 |
+
return (a = -1 !== a.indexOf("<") || -1 !== a.indexOf("&") ? B(a) : a.trim()) || " ";
|
3329 |
};
|
3330 |
u.fuzzy = function(a, b, c) {
|
3331 |
b = b || this.active;
|
3405 |
};
|
3406 |
u = null;
|
3407 |
return f;
|
3408 |
+
}({}, w, A));
|
3409 |
n.register("$13", function(f, d, E) {
|
3410 |
function m() {
|
3411 |
this.init()._validate();
|
3415 |
plurals: [ "One", "Other" ]
|
3416 |
};
|
3417 |
}
|
3418 |
+
function g(a) {
|
3419 |
+
a = k('<button type="button" class="button button-small icon icon-' + a + ' hastip"></button>');
|
3420 |
n.require("$12", "tooltip.js").init(a);
|
3421 |
return a;
|
3422 |
}
|
3423 |
function c(a) {
|
3424 |
+
return g("cloud").attr("title", a.labels[8] + " (Ctrl-U)").on("click", function(b) {
|
3425 |
b.preventDefault();
|
3426 |
a.focus().fuzzy(!a.fuzzy());
|
3427 |
});
|
3428 |
}
|
3429 |
function b(a) {
|
3430 |
+
return g("robot").attr("title", a.labels[9] + " (Ctrl-J)").on("click", function(b) {
|
3431 |
b.preventDefault();
|
3432 |
a.fire("poHint");
|
3433 |
});
|
3436 |
f.init = function(a) {
|
3437 |
var b = new m();
|
3438 |
a = b.setRootCell(a);
|
3439 |
+
var c = a.splity("po-list", "po-edit"), d = c[0], g = c[1], c = g.splitx("po-trans", "po-comment"), f = c[0], k = c[1].header("Loading.."), c = f.splity("po-source", "po-target"), f = c[0].header("Loading.."), c = c[1].header("Loading..");
|
3440 |
a.distribute([ .34 ]);
|
3441 |
+
g.distribute([ .8 ]);
|
3442 |
b.setListCell(d);
|
3443 |
+
b.setSourceCell(f);
|
3444 |
b.setTargetCell(c);
|
3445 |
+
b.commentCell = k;
|
3446 |
b.editable.source = !1;
|
3447 |
return b;
|
3448 |
};
|
3465 |
};
|
3466 |
d.getListEntry = function(a) {
|
3467 |
var b = this.cellText, c = [ function() {
|
3468 |
+
var c, d = b(a.source() || ""), h = a.context();
|
3469 |
+
return h ? (c = E.createElement("p"), c.appendChild(E.createElement("mark")).innerText = h,
|
3470 |
c.appendChild(E.createTextNode(" " + d)), c) : d;
|
3471 |
} ];
|
3472 |
this.targetLocale && (c[1] = function() {
|
3475 |
return c;
|
3476 |
};
|
3477 |
d.stats = function() {
|
3478 |
+
var a = this.po, b = a.length, c = 0, d = 0, g = 0;
|
3479 |
a.each(function(a, b) {
|
3480 |
+
b.fuzzy() ? g++ : b.translated() ? c++ : d++;
|
3481 |
});
|
3482 |
return {
|
3483 |
t: b,
|
3484 |
p: c.percent(b) + "%",
|
3485 |
+
f: g,
|
3486 |
u: d
|
3487 |
};
|
3488 |
};
|
3512 |
d.setStatus = function(a) {
|
3513 |
var e = this.$tnav;
|
3514 |
if (null == a) e && (e.remove(), this.$tnav = null); else {
|
3515 |
+
e || (this.$tnav = e = k("<nav></nav>").append(c(this)).append(b(this)).appendTo(this.targetCell.header()));
|
3516 |
var d = [];
|
3517 |
a.translated() ? a.fuzzy() && d.push("po-fuzzy") : d.push("po-empty");
|
3518 |
e.attr("class", d.join(" "));
|
3520 |
};
|
3521 |
d.getSorter = function() {
|
3522 |
function a(a, c) {
|
3523 |
+
var d = a.weight(), h = c.weight();
|
3524 |
+
return d === h ? b(a, c) : d > h ? -1 : 1;
|
3525 |
}
|
3526 |
function b(a, c) {
|
3527 |
return a.hash().localeCompare(c.hash());
|
3528 |
}
|
3529 |
var c = this;
|
3530 |
return function(d) {
|
3531 |
+
var g = c.po, f = c.locked() ? a : b;
|
3532 |
d.sort(function(a, b) {
|
3533 |
+
return f(g.row(a), g.row(b));
|
3534 |
});
|
3535 |
};
|
3536 |
};
|
3537 |
return f;
|
3538 |
+
}({}, w, A));
|
3539 |
n.register("$14", function(f, d, n) {
|
3540 |
var m = {
|
3541 |
copy: 66,
|
3547 |
enter: 13,
|
3548 |
invis: 73,
|
3549 |
hint: 74
|
3550 |
+
}, g = {
|
3551 |
38: !0,
|
3552 |
40: !0,
|
3553 |
73: !0
|
3583 |
function e(a) {
|
3584 |
if (a.isDefaultPrevented() || !a.metaKey && !a.ctrlKey) return !0;
|
3585 |
var e = a.which;
|
3586 |
+
if (!h[e]) return !0;
|
3587 |
var d = c[e];
|
3588 |
if (!d) throw Error("command undefined #" + e);
|
3589 |
+
if (a.altKey || a.shiftKey && !g[e] || !1 === d(a, b)) return !0;
|
3590 |
a.stopPropagation();
|
3591 |
a.preventDefault();
|
3592 |
return !1;
|
3593 |
}
|
3594 |
+
var h = {};
|
3595 |
+
k(a || d).on("keydown", e);
|
3596 |
return {
|
3597 |
add: function(a, b) {
|
3598 |
c[m[a]] = b;
|
3600 |
},
|
3601 |
enable: function() {
|
3602 |
var a, b;
|
3603 |
+
for (b in arguments) a = m[arguments[b]], h[a] = !0;
|
3604 |
return this;
|
3605 |
},
|
3606 |
disable: function() {
|
3607 |
+
k(a || d).off("keydown", e);
|
3608 |
+
b = a = h = null;
|
3609 |
}
|
3610 |
};
|
3611 |
};
|
3612 |
return f;
|
3613 |
+
}({}, w, A));
|
3614 |
+
n.register("$25", function(f, d, k) {
|
3615 |
function m() {
|
3616 |
this.reIndex([]);
|
3617 |
}
|
3667 |
return this;
|
3668 |
};
|
3669 |
d.sort = function(d) {
|
3670 |
+
for (var c = -1, b = this.length, a, e = this.keys, h = this.ords, f = []; ++c < b; ) f[c] = [ this[c], e[c] ];
|
3671 |
+
f.sort(function(a, b) {
|
3672 |
return d(a[0], b[0]);
|
3673 |
});
|
3674 |
+
for (c = 0; c < b; c++) a = f[c], this[c] = a[0], a = a[1], e[c] = a, h[a] = c;
|
3675 |
return this;
|
3676 |
};
|
3677 |
d.join = function(d) {
|
3679 |
};
|
3680 |
d = null;
|
3681 |
return f;
|
3682 |
+
}({}, w, A));
|
3683 |
+
n.register("$26", function(f, d, k) {
|
3684 |
function m(d, c) {
|
3685 |
var b = RegExp("^.{0," + (d - 1) + "}[" + c + "]"), a = RegExp("^[^" + c + "]+");
|
3686 |
+
return function(c, h) {
|
3687 |
+
for (var f = c.length, l; f > d; ) {
|
3688 |
l = b.exec(c) || a.exec(c);
|
3689 |
if (null == l) break;
|
3690 |
l = l[0];
|
3691 |
+
h.push(l);
|
3692 |
l = l.length;
|
3693 |
+
f -= l;
|
3694 |
c = c.substr(l);
|
3695 |
}
|
3696 |
+
0 !== f && h.push(c);
|
3697 |
+
return h;
|
3698 |
};
|
3699 |
}
|
3700 |
f.create = function(d) {
|
3701 |
function c(a) {
|
3702 |
return l[a] || "\\" + a;
|
3703 |
}
|
3704 |
+
var b, a, e = /(?:\r\n|[\r\n\v\f\u2028\u2029])/g, h = /[ \r\n]+/g, f = /[\t\v\f\x07\x08\\\"]/g, l = {
|
3705 |
"\t": "\\t",
|
3706 |
"\v": "\\v",
|
3707 |
"\f": "\\f",
|
3711 |
if (null == d || isNaN(d = Number(d))) d = 79;
|
3712 |
0 < d && (b = m(d - 3, " "), a = m(d - 2, "-– \\.,:;\\?!\\)\\]\\}\\>"));
|
3713 |
return {
|
3714 |
+
pair: function(b, h) {
|
3715 |
+
if (!h) return b + ' ""';
|
3716 |
+
h = h.replace(f, c);
|
3717 |
+
var l = 0;
|
3718 |
+
h = h.replace(e, function() {
|
3719 |
+
l++;
|
3720 |
return "\\n\n";
|
3721 |
});
|
3722 |
+
if (!(l || d && d < h.length + b.length + 3)) return b + ' "' + h + '"';
|
3723 |
+
var k = [ b + ' "' ], m = h.split("\n");
|
3724 |
+
if (a) for (var n = -1, y = m.length; ++n < y; ) a(m[n], k); else k = k.concat(m);
|
3725 |
+
return k.join('"\n"') + '"';
|
3726 |
},
|
3727 |
prefix: function(a, b) {
|
3728 |
var c = a.split(e);
|
3729 |
return b + c.join("\n" + b);
|
3730 |
},
|
3731 |
refs: function(a) {
|
3732 |
+
a = a.replace(h, " ", a);
|
3733 |
b && (a = b(a, []).join("\n#: "));
|
3734 |
return "#: " + a;
|
3735 |
}
|
3736 |
};
|
3737 |
};
|
3738 |
return f;
|
3739 |
+
}({}, w, A));
|
3740 |
+
n.register("$39", function(f, d, k) {
|
3741 |
function m() {
|
3742 |
this.length = 0;
|
3743 |
}
|
3758 |
return this;
|
3759 |
};
|
3760 |
return f;
|
3761 |
+
}({}, w, A));
|
3762 |
+
n.register("$27", function(f, d, k) {
|
3763 |
function m() {}
|
3764 |
f.extend = function(d) {
|
3765 |
return d.prototype = new m();
|
3825 |
};
|
3826 |
d = null;
|
3827 |
return f;
|
3828 |
+
}({}, w, A));
|
3829 |
+
n.register("$28", function(f, d, k) {
|
3830 |
function m(c, b, a) {
|
3831 |
if (null == a) return c[b] || "";
|
3832 |
c[b] = a || "";
|
3833 |
return c;
|
3834 |
}
|
3835 |
+
function g() {
|
3836 |
this._id = this.id = "";
|
3837 |
}
|
3838 |
f.extend = function(c) {
|
3839 |
+
return c.prototype = new g();
|
3840 |
};
|
3841 |
+
d = g.prototype;
|
3842 |
d.flag = function(c, b) {
|
3843 |
var a = this.flg || (this.flg = []);
|
3844 |
if (null != b) a[b] = c; else for (var d = Math.max(a.length, this.src.length, this.msg.length); 0 !== d--; ) a[d] = c;
|
3851 |
return !1;
|
3852 |
};
|
3853 |
d.flags = function() {
|
3854 |
+
for (var c, b = {}, a = [], d = this.flg || [], h = d.length; 0 !== h--; ) c = d[h],
|
3855 |
b[c] || (b[c] = !0, a.push(c));
|
3856 |
return a;
|
3857 |
};
|
3883 |
return this.msgF;
|
3884 |
};
|
3885 |
d.each = function(c) {
|
3886 |
+
for (var b = -1, a = this.src, d = this.msg, h = Math.max(a.length, d.length); ++b < h; ) c(b, a[b], d[b]);
|
3887 |
return this;
|
3888 |
};
|
3889 |
d.count = function() {
|
3988 |
};
|
3989 |
d = null;
|
3990 |
return f;
|
3991 |
+
}({}, w, A));
|
3992 |
+
n.register("$15", function(f, d, k) {
|
3993 |
function m(a) {
|
3994 |
return {
|
3995 |
"Project-Id-Version": "PACKAGE VERSION",
|
4005 |
"Content-Transfer-Encoding": "8bit"
|
4006 |
};
|
4007 |
}
|
4008 |
+
function g(a, b) {
|
4009 |
var c = a || "";
|
4010 |
b && (c += "\0" + b);
|
4011 |
return c;
|
4029 |
f.create = function(b) {
|
4030 |
return new a(b);
|
4031 |
};
|
4032 |
+
k = n.require("$27", "messages.js").extend(a);
|
4033 |
+
k.clear = function() {
|
4034 |
this.rows = n.require("$25", "collection.js").init();
|
4035 |
this.length = 0;
|
4036 |
return this;
|
4037 |
};
|
4038 |
+
k.now = function() {
|
4039 |
function a(b, c) {
|
4040 |
for (var d = String(b); d.length < c; ) d = "0" + d;
|
4041 |
return d;
|
4043 |
var b = new Date(), c = b.getUTCFullYear(), d = b.getUTCMonth() + 1, e = b.getUTCDate(), f = b.getUTCHours(), b = b.getUTCMinutes();
|
4044 |
return a(c, 4) + "-" + a(d, 2) + "-" + a(e, 2) + " " + a(f, 2) + ":" + a(b, 2) + "+0000";
|
4045 |
};
|
4046 |
+
k.header = function(a, b) {
|
4047 |
var c = this.head || (this.head = {});
|
4048 |
if (null == b) return this.headers()[a] || "";
|
4049 |
c[a] = b || "";
|
4050 |
return this;
|
4051 |
};
|
4052 |
+
k.headers = function(a) {
|
4053 |
var b, c = this.now(), d = this.head || (this.head = m(c));
|
4054 |
if (null != a) {
|
4055 |
for (b in a) d[b] = a[b];
|
4066 |
a["X-Generator"] = "Loco https://localise.biz/";
|
4067 |
return a;
|
4068 |
};
|
4069 |
+
k.get = function(a, b) {
|
4070 |
+
var c = g(a, b);
|
4071 |
return this.rows.get(c);
|
4072 |
};
|
4073 |
+
k.add = function(a, b) {
|
4074 |
a instanceof e || (a = new e(a));
|
4075 |
b && a.context(b);
|
4076 |
var d = a.hash();
|
4078 |
this.length = this.rows.length);
|
4079 |
return a;
|
4080 |
};
|
4081 |
+
k.load = function(a) {
|
4082 |
+
for (var b = -1, d, f, g, k, q, m, n = (g = this.locale()) && g.nplurals || 2, y = []; ++b < a.length; ) d = a[b],
|
4083 |
+
null == d.parent ? (f = d.source || d.id, g = d.target || "", k = d.context, f || k ? (q = new e(f, g),
|
4084 |
+
q._id = d._id, k && q.context(k), d.flag && q.flag(d.flag, 0), d.comment && q.comment(d.comment),
|
4085 |
+
d.notes && q.notes(d.notes), d.refs && q.refs(d.refs), q.format(d.format), d.message = q,
|
4086 |
+
this.add(q), d.prev && d.prev[0] && (q.prev(d.prev[0].source, d.prev[0].context),
|
4087 |
+
d.prev[1] && q._src.push(d.prev[1].source || ""))) : 0 === b && "object" === typeof g && (this.head = g,
|
4088 |
+
this.headcmt = d.comment)) : y.push(d);
|
4089 |
+
for (b = -1; ++b < y.length; ) try {
|
4090 |
+
d = y[b];
|
4091 |
f = d.source || d.id;
|
4092 |
+
q = a[d.parent] && a[d.parent].message;
|
4093 |
+
if (!q) throw Error("parent missing for plural " + f);
|
4094 |
+
m = d.plural;
|
4095 |
+
1 === m && q.plural(f);
|
4096 |
+
m >= n || (d.flag && q.flag(d.flag, m), q.translate(d.target || "", m), d.format && !q.format() && q.format(d.format));
|
4097 |
+
} catch (w) {
|
4098 |
+
c(w);
|
4099 |
}
|
4100 |
return this;
|
4101 |
};
|
4102 |
+
k.wrap = function(a) {
|
4103 |
this.fmtr = b(a);
|
4104 |
return this;
|
4105 |
};
|
4106 |
+
k.toString = function() {
|
4107 |
+
var a, c = this.locale(), d = [], f = [], g = this.headers(), k = !c, q = c && c.nplurals || 2, m = this.fmtr || b();
|
4108 |
+
g[c ? "PO-Revision-Date" : "POT-Creation-Date"] = this.now();
|
4109 |
+
for (a in g) f.push(a + ": " + g[a]);
|
4110 |
f = new e("", f.join("\n"));
|
4111 |
f.comment(this.headcmt || "");
|
4112 |
+
k && f.fuzzy(0, !0);
|
4113 |
d.push(f.toString());
|
4114 |
d.push("");
|
4115 |
this.rows.each(function(a, b) {
|
4116 |
+
a && (d.push(b.cat(m, k, q)), d.push(""));
|
4117 |
});
|
4118 |
return d.join("\n");
|
4119 |
};
|
4120 |
+
k = n.require("$28", "message.js").extend(e);
|
4121 |
+
k.prev = function(a, b) {
|
4122 |
this._src = [ a || "" ];
|
4123 |
this._ctx = b;
|
4124 |
};
|
4125 |
+
k.hash = function() {
|
4126 |
+
return g(this.source(), this.context());
|
4127 |
};
|
4128 |
+
k.toString = function() {
|
4129 |
return this.cat(b());
|
4130 |
};
|
4131 |
+
k.cat = function(a, b, c) {
|
4132 |
var d, e = [], f;
|
4133 |
(f = this.cmt) && e.push(a.prefix(f, "# "));
|
4134 |
(f = this.xcmt) && e.push(a.prefix(f, "#. "));
|
4145 |
e.push(a.pair("msgid_plural", this.src[1])), f = this.msg || [ "", "" ], c = c || f.length; ++d < c; ) e.push(a.pair("msgstr[" + d + "]", b ? "" : f[d] || ""));
|
4146 |
return e.join("\n");
|
4147 |
};
|
4148 |
+
k.compare = function(a, b) {
|
4149 |
var c = this.weight(), d = a.weight();
|
4150 |
if (c > d) return 1;
|
4151 |
if (c < d) return -1;
|
4157 |
}
|
4158 |
return 0;
|
4159 |
};
|
4160 |
+
k.copy = function() {
|
4161 |
var a = new e(), b, c;
|
4162 |
for (b in this) this.hasOwnProperty(b) && ((c = this[b]) && c.concat && (c = c.concat()),
|
4163 |
a[b] = c);
|
4164 |
return a;
|
4165 |
};
|
4166 |
+
k = k = null;
|
4167 |
return f;
|
4168 |
+
}({}, w, A));
|
4169 |
n.register("$17", function(f, d, n) {
|
4170 |
f.init = function(d, f) {
|
4171 |
function c() {
|
4172 |
+
return h || (h = k('<div id="loco-po-ref"></div>').dialog({
|
4173 |
dialogClass: "loco-modal loco-modal-wide",
|
4174 |
modal: !0,
|
4175 |
autoOpen: !1,
|
4179 |
}));
|
4180 |
}
|
4181 |
function b(a, b, d) {
|
4182 |
+
a = k("<p></p>").text(d);
|
4183 |
c().dialog("close").html("").dialog("option", "title", "Error").append(a).dialog("open");
|
4184 |
}
|
4185 |
function a(a) {
|
4186 |
var b = a && a.code;
|
4187 |
if (b) {
|
4188 |
+
for (var d = -1, e = b.length, f = k("<ol></ol>").attr("class", a.type); ++d < e; ) k("<li></li>").html(b[d]).appendTo(f);
|
4189 |
f.find("li").eq(a.line - 1).attr("class", "highlighted");
|
4190 |
c().dialog("close").html("").dialog("option", "title", a.path + ":" + a.line).append(f).dialog("open");
|
4191 |
}
|
4192 |
}
|
4193 |
function e(a) {
|
4194 |
a = a.target;
|
4195 |
+
var b = k(a).find("li.highlighted")[0], b = Math.max(0, (b && b.offsetTop || 0) - Math.floor(a.clientHeight / 2));
|
4196 |
a.scrollTop = b;
|
4197 |
}
|
4198 |
+
var h;
|
4199 |
return {
|
4200 |
+
load: function(h) {
|
4201 |
c().html('<div class="loco-loading"></div>').dialog("option", "title", "Loading..").off("dialogopen").dialog("open").on("dialogopen", e);
|
4202 |
+
h = k.extend({
|
4203 |
+
ref: h,
|
4204 |
path: f.popath
|
4205 |
}, f.project || {});
|
4206 |
+
d.ajax.post("fsReference", h, a, b);
|
4207 |
}
|
4208 |
};
|
4209 |
};
|
4210 |
return f;
|
4211 |
+
}({}, w, A));
|
4212 |
+
n.register("$30", function(f, d, k) {
|
4213 |
function m(d) {
|
4214 |
this.api = d;
|
4215 |
this.chars = 0;
|
4225 |
html: a.html,
|
4226 |
sources: []
|
4227 |
};
|
4228 |
+
r.push(b);
|
4229 |
return q[a.html ? 1 : 0] = b;
|
4230 |
}
|
4231 |
function a(a, d) {
|
4232 |
+
var g = a.source(null, d);
|
4233 |
+
if (g && (a.untranslated(d) || c)) {
|
4234 |
+
var r = n[g];
|
4235 |
+
if (r) r.push(a); else {
|
4236 |
+
var r = g.length, B = e.isHtml(g), B = q[B ? 1 : 0], u = B.sources;
|
4237 |
+
if (B.length + r > m || u.length === l) B = b(B), u = B.sources;
|
4238 |
+
u.push(g);
|
4239 |
+
n[g] = [ a ];
|
4240 |
+
B.length += r;
|
4241 |
+
f += r;
|
4242 |
+
k += 1;
|
4243 |
}
|
4244 |
}
|
4245 |
}
|
4246 |
+
var e = this.api, f = 0, k = 0, l = 50, m = 5e3, n = {}, r = [], q = [];
|
4247 |
b({
|
4248 |
html: !1
|
4249 |
});
|
4255 |
a(c, 1);
|
4256 |
});
|
4257 |
q = null;
|
4258 |
+
this.map = n;
|
4259 |
this.chars = f;
|
4260 |
+
this.length = k;
|
4261 |
+
this.batches = r;
|
4262 |
this.locale = d.locale();
|
4263 |
};
|
4264 |
d.abort = function() {
|
4267 |
};
|
4268 |
d.dispatch = function() {
|
4269 |
function d(a, b) {
|
4270 |
+
function e(c, d, h) {
|
4271 |
+
b !== h && (a === d || 1 < c && f.source(null, 1) === a) && (f.translate(b, c),
|
4272 |
+
m++, y++);
|
4273 |
+
return m;
|
4274 |
}
|
4275 |
if (!c()) return !1;
|
4276 |
if (!b) return !0;
|
4277 |
+
var f, h = n[a] || [], g = h.length, l = -1, m;
|
4278 |
+
for (C++; ++l < g; ) if (f = h[l]) m = 0, f.each(e), m && k("each", [ f ]);
|
4279 |
return !0;
|
4280 |
}
|
4281 |
function c() {
|
4282 |
+
return "abort" === l.state ? (m && (m.abort(), f()), !1) : !0;
|
4283 |
}
|
4284 |
function b() {
|
4285 |
+
var b = r.shift(), c;
|
4286 |
+
b ? (c = b.sources) && c.length ? m.batch(c, q, b.html, d).fail(a).always(e) : e() : f();
|
4287 |
}
|
4288 |
function a() {
|
4289 |
l.abort();
|
4290 |
f();
|
4291 |
}
|
4292 |
function e() {
|
4293 |
+
s++;
|
4294 |
+
k("prog", [ s, B ]);
|
4295 |
c() && b();
|
4296 |
}
|
4297 |
function f() {
|
4298 |
+
m = r = null;
|
4299 |
+
k("done");
|
4300 |
}
|
4301 |
+
function k(a, b) {
|
4302 |
for (var c = u[a] || [], d = c.length; 0 <= --d; ) c[d].apply(null, b);
|
4303 |
}
|
4304 |
+
var l = this, m = l.api, n = l.map, r = l.batches || [], q = l.locale, C = 0, s = 0, y = 0, w = l.length, B = r.length, u = {
|
4305 |
done: [],
|
4306 |
each: [],
|
4307 |
prog: []
|
4324 |
stat: function() {
|
4325 |
return {
|
4326 |
todo: function() {
|
4327 |
+
return Math.max(w - C, 0);
|
4328 |
},
|
4329 |
did: function() {
|
4330 |
+
return C;
|
4331 |
}
|
4332 |
};
|
4333 |
}
|
4334 |
};
|
4335 |
};
|
4336 |
return f;
|
4337 |
+
}({}, w, A));
|
4338 |
n.register("$40", {
|
4339 |
nn: [ "no" ]
|
4340 |
});
|
4341 |
+
n.register("$31", function(f, d, k) {
|
4342 |
function m() {}
|
4343 |
+
function g(c) {
|
4344 |
c.parseError = function(b) {
|
4345 |
return b && b.code && 200 !== b.code && b.message ? "Error " + b.code + ": " + b.message : "";
|
4346 |
};
|
4349 |
for (var d = b.length, e = -1; ++e < d && !1 !== f(b[e], c[e] || "", a); ) ;
|
4350 |
}
|
4351 |
d = d ? "html" : "plain";
|
4352 |
+
var k = this.toLang(a);
|
4353 |
return c._call({
|
4354 |
+
url: "https://translate.yandex.net/api/v1.5/tr.json/translate?format=" + d + "&lang=en-" + k,
|
4355 |
method: "POST",
|
4356 |
traditional: !0,
|
4357 |
data: {
|
4379 |
};
|
4380 |
b.init = function(a) {
|
4381 |
c.prototype.init.call(this, a);
|
4382 |
+
/^trnsl\./.test(this.key()) && g(this);
|
4383 |
};
|
4384 |
b.toLang = function(a) {
|
4385 |
return this.mapLang(a, n.require("$40", "yandex.json"));
|
4387 |
return new m();
|
4388 |
};
|
4389 |
return f;
|
4390 |
+
}({}, w, A));
|
4391 |
n.register("$41", {
|
4392 |
zh: [ "zh", "zh-CN", "zh-TW" ],
|
4393 |
he: [ "iw" ],
|
4394 |
jv: [ "jw" ]
|
4395 |
});
|
4396 |
+
n.register("$32", function(f, d, k) {
|
4397 |
function m() {}
|
4398 |
f.create = function(d) {
|
4399 |
d = m.prototype = new d();
|
4415 |
};
|
4416 |
d.batch = function(c, b, a, d) {
|
4417 |
function f(a) {
|
4418 |
+
for (var h = c.length, g = -1, k; ++g < h && (k = a[g] || {}, !1 !== d(c[g], k.translatedText || "", b)); ) ;
|
4419 |
}
|
4420 |
var g = this;
|
4421 |
a = a ? "html" : "text";
|
4422 |
+
var k = g.mapLang(b, n.require("$41", "google.json"));
|
4423 |
return g._call({
|
4424 |
+
url: "https://translation.googleapis.com/language/translate/v2?source=en&target=" + k + "&format=" + a,
|
4425 |
method: "POST",
|
4426 |
traditional: !0,
|
4427 |
data: {
|
4438 |
return new m();
|
4439 |
};
|
4440 |
return f;
|
4441 |
+
}({}, w, A));
|
4442 |
n.register("$42", {
|
4443 |
nn: [ "no" ],
|
4444 |
pt: [ "pt", "pt-pt" ],
|
4451 |
zh_SG: [ "zh-Hans" ],
|
4452 |
zh_TW: [ "zh-Hant" ]
|
4453 |
});
|
4454 |
+
n.register("$33", function(f, d, k) {
|
4455 |
function m() {}
|
4456 |
f.create = function(d) {
|
4457 |
d = m.prototype = new d();
|
4469 |
};
|
4470 |
d.batch = function(c, b, a, d) {
|
4471 |
function f(a) {
|
4472 |
+
for (var h = -1, g; ++h < m && (g = a[h] || {}, g = g.translations || [], g = g[0] || {},
|
4473 |
+
!1 !== d(c[h], g.text || "", b)); ) ;
|
4474 |
}
|
4475 |
+
var g = this, k = [], m = c.length, x = -1;
|
4476 |
a = a ? "html" : "plain";
|
4477 |
+
for (var r = g.mapLang(b, n.require("$42", "ms.json")); ++x < m; ) k.push({
|
4478 |
+
text: c[x]
|
4479 |
});
|
4480 |
return g._call({
|
4481 |
+
url: "https://api.cognitive.microsofttranslator.com/translate?api-version=3.0&from=en&to=" + r + "&textType=" + a,
|
4482 |
method: "POST",
|
4483 |
+
data: JSON.stringify(k),
|
4484 |
headers: {
|
4485 |
"Content-Type": "application/json; charset=UTF-8",
|
4486 |
"Ocp-Apim-Subscription-Key": this.key(),
|
4495 |
return new m();
|
4496 |
};
|
4497 |
return f;
|
4498 |
+
}({}, w, A));
|
4499 |
n.register("$43", {
|
4500 |
pt: [ "pt-PT", "pt-BR" ]
|
4501 |
});
|
4502 |
+
n.register("$34", function(f, d, k) {
|
4503 |
function m() {}
|
4504 |
f.create = function(d) {
|
4505 |
d = m.prototype = new d();
|
4517 |
};
|
4518 |
d.batch = function(c, b, a, d) {
|
4519 |
function f(a) {
|
4520 |
+
for (var h = c.length, g = -1, k; ++g < h && (k = a[g] || {}, !1 !== d(c[g], k.text || "", b)); ) ;
|
4521 |
}
|
4522 |
var g = this;
|
4523 |
a = g.param("url") || "https://api.deepl.com";
|
4524 |
+
var k = g.mapLang(b, n.require("$43", "deepl.json")), m = b.tone, x = "default";
|
4525 |
+
null == m && (m = String(b.variant || "").toLowerCase());
|
4526 |
+
"formal" === m ? x = "more" : "informal" === m && (x = "less");
|
4527 |
return g._call({
|
4528 |
url: g.fixURL(a + "/v2/translate"),
|
4529 |
method: "POST",
|
4530 |
traditional: !0,
|
4531 |
data: {
|
4532 |
source_lang: "EN",
|
4533 |
+
target_lang: k.toUpperCase(),
|
4534 |
+
formality: x,
|
4535 |
preserve_formatting: "1",
|
4536 |
auth_key: g.key(),
|
4537 |
text: c
|
4551 |
return new m();
|
4552 |
};
|
4553 |
return f;
|
4554 |
+
}({}, w, A));
|
4555 |
+
n.register("$18", function(f, d, w) {
|
4556 |
function m() {
|
4557 |
this.inf = {};
|
4558 |
}
|
4559 |
+
function g() {
|
4560 |
+
var a = w.createElement("p"), b = /&(#\d+|#x[0-9a-f]|[a-z]+);/i, c = /<[a-z]+\s/i, d, f;
|
4561 |
return {
|
4562 |
+
sniff: function(g) {
|
4563 |
+
if (g === d) return f;
|
4564 |
+
d = g;
|
4565 |
+
if (b.test(g) || c.test(g)) if (a.innerHTML = g, a.textContent !== g) return f = !0;
|
4566 |
return f = !1;
|
4567 |
}
|
4568 |
};
|
4597 |
return "";
|
4598 |
};
|
4599 |
c.mapLang = function(a, b) {
|
4600 |
+
var c = String(a).replace("-", "_"), d = a.lang, f = b[c] || b[d] || [], g = f.length;
|
4601 |
+
if (0 === g) return d;
|
4602 |
+
if (1 < g) for (var c = c.toLowerCase(), d = -1, k; ++d < g; ) if (k = f[d], k.toLowerCase().replace("-", "_") === c) return k;
|
4603 |
return f[0];
|
4604 |
};
|
4605 |
c.toLang = function(a) {
|
4615 |
a.dataType = "json";
|
4616 |
a.error = function(a, c, d) {
|
4617 |
try {
|
4618 |
+
var f = a.responseText, g = f && n.require("$5", "json.js").parse(f);
|
4619 |
+
d = g && b.parseError(g) || d;
|
4620 |
} catch (k) {}
|
4621 |
b.stderr(d || b.httpError(a));
|
4622 |
};
|
4623 |
+
return b.abortable(k.ajax(a));
|
4624 |
};
|
4625 |
c.abortable = function(a) {
|
4626 |
var b = this;
|
4634 |
a && a.abort();
|
4635 |
};
|
4636 |
c.isHtml = function(a) {
|
4637 |
+
return (b || (b = g())).sniff(a);
|
4638 |
};
|
4639 |
c.createJob = function() {
|
4640 |
return n.require("$30", "job.js").create(this);
|
4641 |
};
|
4642 |
c.batch = function(a, b, c, f) {
|
4643 |
+
function g(c) {
|
4644 |
for (var d = a.length, h = -1; ++h < d && !1 !== f(a[h], c[h], b); ) ;
|
4645 |
}
|
4646 |
+
var m = d.loco.ajax;
|
4647 |
c = {
|
4648 |
hook: this.getId(),
|
4649 |
type: c ? "html" : "text",
|
4650 |
locale: this.toLang(b),
|
4651 |
sources: a
|
4652 |
};
|
4653 |
+
var n = k.Deferred();
|
4654 |
+
this.abortable(m.post("apis", c, function(a) {
|
4655 |
+
g(a && a.targets || []);
|
4656 |
+
n.resolve();
|
4657 |
}, function() {
|
4658 |
+
g([]);
|
4659 |
+
n.reject();
|
4660 |
}));
|
4661 |
+
return n.promise();
|
4662 |
};
|
4663 |
f.create = function(a) {
|
4664 |
var b;
|
4668 |
return b;
|
4669 |
};
|
4670 |
f.suggest = function(a, b, c, d) {
|
4671 |
+
var f, g, k = a.length;
|
4672 |
+
for (f = 0; f < k; f++) g = a[f], g.translate(b, c, d);
|
4673 |
};
|
4674 |
var b;
|
4675 |
return f;
|
4676 |
+
}({}, w, A));
|
4677 |
n.register("$19", function(f, d, n) {
|
4678 |
f.init = function(f) {
|
4679 |
+
function g() {
|
4680 |
+
H || (I.on("click", l), H = k('<div id="loco-fs-creds"></div>').dialog({
|
4681 |
dialogClass: "request-filesystem-credentials-dialog loco-modal",
|
4682 |
minWidth: 580,
|
4683 |
modal: !0,
|
4684 |
autoOpen: !1,
|
4685 |
closeOnEscape: !0
|
4686 |
}).on("change", 'input[name="connection_type"]', function() {
|
4687 |
+
this.checked && k("#ssh-keys").toggleClass("hidden", "ssh" !== k(this).val());
|
4688 |
}));
|
4689 |
return H;
|
4690 |
}
|
4691 |
function c() {
|
4692 |
+
Q && (b(k(s)), Q = !1);
|
4693 |
+
if (B && J) {
|
4694 |
+
var a = J, c = k(P);
|
4695 |
c.find("span.loco-msg").text(a);
|
4696 |
K || (c.removeClass("jshide").hide().fadeIn(500), K = !0);
|
4697 |
+
} else K && (b(k(P)), K = !1);
|
4698 |
}
|
4699 |
function b(a) {
|
4700 |
a.slideUp(250).fadeOut(250, function() {
|
4701 |
+
k(this).addClass("jshide");
|
4702 |
});
|
4703 |
}
|
4704 |
function a() {
|
4705 |
+
if (B) return H && H.dialog("close"), c(), k(f).find('button[type="submit"]').attr("disabled", !1),
|
4706 |
+
k(d).triggerHandler("resize"), w && w(!0), !0;
|
4707 |
+
z && H ? (Q || (k(s).removeClass("jshide").hide().fadeIn(500), Q = !0), K && (b(k(P)),
|
4708 |
K = !1)) : c();
|
4709 |
+
k(f).find('input[type="submit"]').attr("disabled", !0);
|
4710 |
w && w(!1);
|
4711 |
return !1;
|
4712 |
}
|
4713 |
function e(a) {
|
4714 |
var b, c, d = q || {};
|
4715 |
+
for (b in d) d.hasOwnProperty(b) && (c = d[b], a[b] ? a[b].value = c : k('<input type="hidden" />').attr("name", b).appendTo(a).val(c));
|
4716 |
}
|
4717 |
+
function h(a) {
|
4718 |
a.preventDefault();
|
4719 |
+
a = k(a.target).serializeArray();
|
4720 |
+
r(a);
|
4721 |
+
A = !0;
|
4722 |
return !1;
|
4723 |
}
|
4724 |
+
function p(a) {
|
4725 |
a.preventDefault();
|
4726 |
H.dialog("close");
|
4727 |
return !1;
|
4731 |
H.dialog("open").find('input[name="connection_type"]').change();
|
4732 |
return !1;
|
4733 |
}
|
4734 |
+
function v(b) {
|
4735 |
+
B = b.authed;
|
4736 |
+
y = b.method;
|
4737 |
+
k(s).find("span.loco-msg").text(b.message || "Something went wrong.");
|
4738 |
J = b.warning || "";
|
4739 |
b.notice && u.notices.info(b.notice);
|
4740 |
+
if (B) "direct" !== y && (q = b.creds, e(f), A && b.success && u.notices.success(b.success)),
|
4741 |
a(); else if (b.reason) u.notices.info(b.reason); else if (b = b.prompt) {
|
4742 |
+
var c = g();
|
4743 |
+
c.html(b).find("form").on("submit", h);
|
4744 |
c.dialog("option", "title", c.find("h2").remove().text());
|
4745 |
+
c.find("button.cancel-button").show().on("click", p);
|
4746 |
c.find('input[type="submit"]').addClass("button-primary");
|
4747 |
a();
|
4748 |
+
k(d).triggerHandler("resize");
|
4749 |
} else u.notices.error("Server didn't return credentials, nor a prompt for credentials");
|
4750 |
}
|
4751 |
+
function x() {
|
4752 |
a();
|
4753 |
}
|
4754 |
+
function r(a) {
|
4755 |
+
A = !1;
|
4756 |
+
u.ajax.setNonce("fsConnect", D).post("fsConnect", a, v, x);
|
4757 |
return a;
|
4758 |
}
|
4759 |
+
var q, w, s = f, y = null, A = !1, B = !1, u = d.loco, z = f.path.value, F = f.auth.value, D = f["loco-nonce"].value, I = k(s).find("button.button-primary"), P = n.getElementById(s.id + "-warn"), Q = !1, K = !1, J = "", H;
|
4760 |
+
u.notices.convert(P).stick();
|
4761 |
+
f.connection_type ? (q = {}, q.connection_type = f.connection_type.value, B = !0) : z && F && r({
|
4762 |
+
path: z,
|
4763 |
auth: F
|
4764 |
});
|
4765 |
a();
|
4778 |
return this;
|
4779 |
},
|
4780 |
connect: function() {
|
4781 |
+
z = f.path.value;
|
4782 |
F = f.auth.value;
|
4783 |
+
r(k(f).serializeArray());
|
4784 |
return this;
|
4785 |
},
|
4786 |
listen: function(a) {
|
4787 |
w = a;
|
4788 |
+
B && a(!0);
|
4789 |
return this;
|
4790 |
},
|
4791 |
authed: function() {
|
4792 |
+
return B;
|
4793 |
}
|
4794 |
};
|
4795 |
};
|
4796 |
return f;
|
4797 |
+
}({}, w, A));
|
4798 |
+
n.register("$20", function(f, d, w) {
|
4799 |
+
function m(d, f, k, l) {
|
4800 |
+
f = "n" === k ? c(f) : b(f);
|
4801 |
+
l && (f = a(f));
|
4802 |
+
return g([].sort, [ f ])(d);
|
4803 |
}
|
4804 |
+
function g(a, b) {
|
4805 |
return function(c) {
|
4806 |
a.apply(c, b);
|
4807 |
return c;
|
4826 |
f.init = function(a) {
|
4827 |
function b(a) {
|
4828 |
var c = -1, d = a.length;
|
4829 |
+
for (k("tr", s).remove(); ++c < d; ) s.appendChild(a[c].$);
|
4830 |
}
|
4831 |
function c(a) {
|
4832 |
+
r = a ? A.find(a, d) : d.slice(0);
|
4833 |
+
w && (a = f[w], r = m(r, w, a.type, a.desc));
|
4834 |
+
b(r);
|
4835 |
}
|
4836 |
+
var d = [], f = [], g = 0, r, q, w, s = a.getElementsByTagName("tbody")[0], y = a.getElementsByTagName("thead")[0], A = n.require("$10", "fulltext.js").init();
|
4837 |
+
y && s && (k("th", y).each(function(a, c) {
|
4838 |
var e = c.getAttribute("data-sort-type");
|
4839 |
+
e && (a = g, k(c).addClass("loco-sort").on("click", function(c) {
|
4840 |
c.preventDefault();
|
4841 |
c = a;
|
4842 |
+
var e = f[c], g = e.type, n = !(e.desc = !e.desc);
|
4843 |
+
r = m(r || d.slice(0), c, g, n);
|
4844 |
+
b(r);
|
4845 |
q && q.removeClass("loco-desc loco-asc");
|
4846 |
+
q = k(e.$).addClass(n ? "loco-desc" : "loco-asc").removeClass(n ? "loco-asc" : "loco-desc");
|
4847 |
+
w = c;
|
4848 |
return !1;
|
4849 |
+
}), f[g] = {
|
4850 |
$: c,
|
4851 |
type: e
|
4852 |
});
|
4853 |
+
c.hasAttribute("colspan") ? g += Number(c.getAttribute("colspan")) : g++;
|
4854 |
+
}), k("tr", s).each(function(a, b) {
|
4855 |
var c, e, g, h = [], k = {
|
4856 |
_: a,
|
4857 |
$: b
|
4867 |
k[e] = g;
|
4868 |
}
|
4869 |
d[a] = k;
|
4870 |
+
A.index(a, h);
|
4871 |
+
}), a = k('form.loco-filter input[type="text"]', a.parentNode), a.length && (a = a[0],
|
4872 |
+
y = k(a.form), 1 < d.length ? n.require("$11", "LocoTextListener.js").listen(a, c) : y.hide(),
|
4873 |
+
y.on("submit", function(a) {
|
4874 |
a.preventDefault();
|
4875 |
return !1;
|
4876 |
})));
|
4877 |
};
|
4878 |
return f;
|
4879 |
+
}({}, w, A));
|
4880 |
+
var D = w.loco || {}, I = D.conf || {
|
4881 |
$v: [ 0, 0 ]
|
4882 |
};
|
4883 |
+
w = n.require("$1", "t.js").init();
|
4884 |
+
A = I.wplang;
|
4885 |
+
D.version = function(f) {
|
4886 |
return I.$v[f || 0];
|
4887 |
};
|
4888 |
n.require("$2", "html.js");
|
4889 |
n.require("$3", "number.js");
|
4890 |
n.require("$4", "array.js");
|
4891 |
n.require("$5", "json.js");
|
4892 |
+
D.l10n = w;
|
4893 |
+
w.load(I.wpl10n);
|
4894 |
+
A && w.pluraleq(A.pluraleq);
|
4895 |
+
D.string = n.require("$6", "string.js");
|
4896 |
+
D.notices = n.require("$7", "notices.js").init(w);
|
4897 |
+
D.ajax = n.require("$8", "ajax.js").init(I).localise(w);
|
4898 |
+
D.locale = n.require("$9", "wplocale.js");
|
4899 |
+
D.fulltext = n.require("$10", "fulltext.js");
|
4900 |
+
D.watchtext = n.require("$11", "LocoTextListener.js").listen;
|
4901 |
+
D.tooltip = n.require("$12", "tooltip.js");
|
4902 |
+
D.po = {
|
4903 |
ed: n.require("$13", "poedit.js"),
|
4904 |
kbd: n.require("$14", "hotkeys.js"),
|
4905 |
init: n.require("$15", "po.js").create,
|
4906 |
ace: n.require("$16", "ace.js").strf("php"),
|
4907 |
ref: n.require("$17", "refs.js")
|
4908 |
};
|
4909 |
+
D.apis = n.require("$18", "apis.js");
|
4910 |
+
D.fs = n.require("$19", "fsconn.js");
|
4911 |
+
k("#loco-admin.wrap table.wp-list-table").each(function(f, d) {
|
4912 |
n.require("$20", "tables.js").init(d);
|
4913 |
});
|
4914 |
+
D.validate = function(f) {
|
4915 |
+
return "2.5.4" !== (/^\d+\.\d+\.\d+/.exec(f && f[0] || "") && RegExp.lastMatch) ? (D.notices.warn("admin.js is the wrong version (2.5.4). Please empty all relevant caches and reload this page."),
|
4916 |
!1) : !0;
|
4917 |
};
|
4918 |
})(window, document, window.jQuery);
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: timwhitlock
|
|
3 |
Tags: translation, translators, localization, localisation, l10n, i18n, Gettext, PO, MO, productivity, multilingual, internationalization
|
4 |
Requires at least: 4.1
|
5 |
Requires PHP: 5.2.4
|
6 |
-
Tested up to: 5.
|
7 |
-
Stable tag: 2.5.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -100,6 +100,11 @@ We don't collect your data or snoop on you. See the [plugin privacy notice](http
|
|
100 |
|
101 |
== Changelog ==
|
102 |
|
|
|
|
|
|
|
|
|
|
|
103 |
= 2.5.3 =
|
104 |
* Adds option to merge JSON translations when syncing from PO
|
105 |
* Adds screen for editing file headers and sync options
|
@@ -422,8 +427,8 @@ We don't collect your data or snoop on you. See the [plugin privacy notice](http
|
|
422 |
|
423 |
== Upgrade Notice ==
|
424 |
|
425 |
-
= 2.5.
|
426 |
-
* Various improvements and
|
427 |
|
428 |
|
429 |
|
3 |
Tags: translation, translators, localization, localisation, l10n, i18n, Gettext, PO, MO, productivity, multilingual, internationalization
|
4 |
Requires at least: 4.1
|
5 |
Requires PHP: 5.2.4
|
6 |
+
Tested up to: 5.8.1
|
7 |
+
Stable tag: 2.5.4
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
100 |
|
101 |
== Changelog ==
|
102 |
|
103 |
+
= 2.5.4 =
|
104 |
+
* Enforcing safe file extensions for new templates
|
105 |
+
* Added filters loco_po_headers and loco_pot_headers
|
106 |
+
* Bumped WordPress version to 5.8.1
|
107 |
+
|
108 |
= 2.5.3 =
|
109 |
* Adds option to merge JSON translations when syncing from PO
|
110 |
* Adds screen for editing file headers and sync options
|
427 |
|
428 |
== Upgrade Notice ==
|
429 |
|
430 |
+
= 2.5.4 =
|
431 |
+
* Various improvements and bug fixes
|
432 |
|
433 |
|
434 |
|
src/ajax/SaveController.php
CHANGED
@@ -28,7 +28,7 @@ class Loco_ajax_SaveController extends Loco_ajax_common_BundleController {
|
|
28 |
|
29 |
// ensure we only deal with PO/POT source files.
|
30 |
// posting of MO file paths is permitted when PO is missing, but we're about to fix that
|
31 |
-
$ext = $pofile->extension();
|
32 |
if( 'mo' === $ext ){
|
33 |
$pofile = $pofile->cloneExtension('po');
|
34 |
}
|
@@ -36,7 +36,7 @@ class Loco_ajax_SaveController extends Loco_ajax_common_BundleController {
|
|
36 |
$locale = '';
|
37 |
}
|
38 |
else if( 'po' !== $ext ){
|
39 |
-
throw new Loco_error_Exception('
|
40 |
}
|
41 |
|
42 |
// Prepare compiler for all save operations. PO/MO/JSON, or just POT
|
28 |
|
29 |
// ensure we only deal with PO/POT source files.
|
30 |
// posting of MO file paths is permitted when PO is missing, but we're about to fix that
|
31 |
+
$ext = strtolower( $pofile->extension() );
|
32 |
if( 'mo' === $ext ){
|
33 |
$pofile = $pofile->cloneExtension('po');
|
34 |
}
|
36 |
$locale = '';
|
37 |
}
|
38 |
else if( 'po' !== $ext ){
|
39 |
+
throw new Loco_error_Exception('Disallowed file extension');
|
40 |
}
|
41 |
|
42 |
// Prepare compiler for all save operations. PO/MO/JSON, or just POT
|
src/ajax/XgettextController.php
CHANGED
@@ -28,8 +28,13 @@ class Loco_ajax_XgettextController extends Loco_ajax_common_BundleController {
|
|
28 |
throw new Loco_error_Exception('Front end did not post $name');
|
29 |
}
|
30 |
|
31 |
-
// POT file
|
32 |
$potfile = new Loco_fs_File( $target.'/'.$name );
|
|
|
|
|
|
|
|
|
|
|
33 |
$api = new Loco_api_WordPressFileSystem;
|
34 |
$api->authorizeCreate($potfile);
|
35 |
// Do extraction and grab only given domain's strings
|
28 |
throw new Loco_error_Exception('Front end did not post $name');
|
29 |
}
|
30 |
|
31 |
+
// POT file should be .pot but we'll allow .po
|
32 |
$potfile = new Loco_fs_File( $target.'/'.$name );
|
33 |
+
$ext = strtolower( $potfile->extension() );
|
34 |
+
if( 'pot' !== $ext && 'po' !== $ext ){
|
35 |
+
throw new Loco_error_Exception('Disallowed file extension');
|
36 |
+
}
|
37 |
+
// File shouldn't exist currently
|
38 |
$api = new Loco_api_WordPressFileSystem;
|
39 |
$api->authorizeCreate($potfile);
|
40 |
// Do extraction and grab only given domain's strings
|
src/fs/FileWriter.php
CHANGED
@@ -311,9 +311,14 @@ class Loco_fs_FileWriter {
|
|
311 |
}
|
312 |
// deny POT modification (pot_protect = 2)
|
313 |
// this assumes that templates all have .pot extension, which isn't guaranteed. UI should prevent saving of wrongly files like "default.po"
|
314 |
-
|
|
|
315 |
throw new Loco_error_WriteException( __('Modification of POT (template) files is disallowed by the plugin settings','loco-translate') );
|
316 |
}
|
|
|
|
|
|
|
|
|
317 |
return $this;
|
318 |
}
|
319 |
|
311 |
}
|
312 |
// deny POT modification (pot_protect = 2)
|
313 |
// this assumes that templates all have .pot extension, which isn't guaranteed. UI should prevent saving of wrongly files like "default.po"
|
314 |
+
$ext = strtolower( $this->file->extension() );
|
315 |
+
if( 'pot' === $ext && 1 < $opts->pot_protect ){
|
316 |
throw new Loco_error_WriteException( __('Modification of POT (template) files is disallowed by the plugin settings','loco-translate') );
|
317 |
}
|
318 |
+
// Deny list of sensitive file extensions, noting that specific actions may limit this further
|
319 |
+
else if( 'php' === $ext ){
|
320 |
+
throw new Loco_error_WriteException('Disallowed file extension in '.$this->file->basename() );
|
321 |
+
}
|
322 |
return $this;
|
323 |
}
|
324 |
|
src/gettext/Data.php
CHANGED
@@ -268,7 +268,11 @@ class Loco_gettext_Data extends LocoPoIterator implements JsonSerializable {
|
|
268 |
if( 'PACKAGE VERSION' === $headers['Project-Id-Version'] ){
|
269 |
$headers['Project-Id-Version'] = '';
|
270 |
}
|
271 |
-
//
|
|
|
|
|
|
|
|
|
272 |
return $this->initPo();
|
273 |
}
|
274 |
|
@@ -297,7 +301,12 @@ class Loco_gettext_Data extends LocoPoIterator implements JsonSerializable {
|
|
297 |
'X-Loco-Version' => sprintf('%s; wp-%s', loco_plugin_version(), $GLOBALS['wp_version'] ),
|
298 |
'X-Domain' => $domain,
|
299 |
);
|
300 |
-
$this->applyHeaders($required,$defaults);
|
|
|
|
|
|
|
|
|
|
|
301 |
return $this->initPot();
|
302 |
}
|
303 |
|
268 |
if( 'PACKAGE VERSION' === $headers['Project-Id-Version'] ){
|
269 |
$headers['Project-Id-Version'] = '';
|
270 |
}
|
271 |
+
// finally allow headers to be modified via filter
|
272 |
+
$replaced = apply_filters( 'loco_po_headers', $headers );
|
273 |
+
if( $replaced instanceof LocoPoHeaders && $replaced !== $headers ){
|
274 |
+
$this->setHeaders($replaced);
|
275 |
+
}
|
276 |
return $this->initPo();
|
277 |
}
|
278 |
|
301 |
'X-Loco-Version' => sprintf('%s; wp-%s', loco_plugin_version(), $GLOBALS['wp_version'] ),
|
302 |
'X-Domain' => $domain,
|
303 |
);
|
304 |
+
$headers = $this->applyHeaders($required,$defaults);
|
305 |
+
// finally allow headers to be modified via filter
|
306 |
+
$replaced = apply_filters( 'loco_pot_headers', $headers );
|
307 |
+
if( $replaced instanceof LocoPoHeaders && $replaced !== $headers ){
|
308 |
+
$this->setHeaders($replaced);
|
309 |
+
}
|
310 |
return $this->initPot();
|
311 |
}
|
312 |
|
tpl/admin/file/conf.php
CHANGED
@@ -20,7 +20,7 @@ $this->extend('../layout');
|
|
20 |
<tbody>
|
21 |
<tr valign="top" class="compact">
|
22 |
<td>
|
23 |
-
<label for="loco-conf-template"
|
24 |
<input type="text" name="conf[template]" value="<?php self::e( (string) $conf->getTemplate() )?>" size="100" id="loco-conf-template" />
|
25 |
</td>
|
26 |
</tr>
|
20 |
<tbody>
|
21 |
<tr valign="top" class="compact">
|
22 |
<td>
|
23 |
+
<label for="loco-conf-template"><?php esc_html_e('Relative path to template file','loco-translate');?>:</label><br />
|
24 |
<input type="text" name="conf[template]" value="<?php self::e( (string) $conf->getTemplate() )?>" size="100" id="loco-conf-template" />
|
25 |
</td>
|
26 |
</tr>
|
tpl/admin/file/head.php
CHANGED
@@ -7,7 +7,7 @@ $this->extend('../layout');
|
|
7 |
|
8 |
<div class="panel">
|
9 |
<h3>
|
10 |
-
Edit file headers
|
11 |
</h3>
|
12 |
|
13 |
<form action="" method="post" enctype="application/x-www-form-urlencoded" id="loco-main"><?php
|
7 |
|
8 |
<div class="panel">
|
9 |
<h3>
|
10 |
+
<?php esc_html_e('Edit file headers','loco-translate');?>
|
11 |
</h3>
|
12 |
|
13 |
<form action="" method="post" enctype="application/x-www-form-urlencoded" id="loco-main"><?php
|