Version Description
- Fixed bug in 2.5.6 where remote APIs could not be used in batch mode
- Enforcing 10k character limit per request for Microsoft and Yandex Translators
- Style fix for revision/diff table under restore tab
Download this release
Release Info
Developer | timwhitlock |
Plugin | Loco Translate |
Version | 2.5.7 |
Comparing to | |
See all releases |
Code changes from version 2.5.6 to 2.5.7
- languages/loco-translate.pot +3 -3
- 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 +1074 -1068
- pub/js/min/editor.js +2 -2
- readme.txt +7 -2
- src/api/YandexClient.php +1 -12
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: 2022-01-
|
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
|
1 |
#, fuzzy
|
2 |
msgid ""
|
3 |
msgstr ""
|
4 |
+
"Project-Id-Version: Loco Translate 2.5.7\n"
|
5 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/loco-translate/\n"
|
6 |
+
"POT-Creation-Date: 2022-01-17 12:03+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.7; wp-5.8.3\n"
|
17 |
"X-Domain: loco-translate"
|
18 |
|
19 |
#: src/fs/FileWriter.php:214
|
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=>'অসমীয়া'),'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'),'
|
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'=>array(0=>'German',1=>'Deutsch'),'de_AT'=>array(0=>'German (Austria)',1=>'Deutsch (Österreich)'),'de_CH_informal'=>array(0=>'German (Switzerland, Informal)',1=>'Deutsch (Schweiz, Du)'),'de_DE_formal'=>array(0=>'German (Formal)',1=>'Deutsch (Sie)'),'de_CH'=>array(0=>'German (Switzerland)',1=>'Deutsch (Schweiz)'),'dsb'=>array(0=>'Lower Sorbian',1=>'Dolnoserbšćina'),'dzo'=>array(0=>'Dzongkha',1=>'རྫོང་ཁ'),'el'=>array(0=>'Greek',1=>'Ελληνικά'),'en_CA'=>array(0=>'English (Canada)',1=>'English (Canada)'),'en_ZA'=>array(0=>'English (South Africa)',1=>'English (South Africa)'),'en_AU'=>array(0=>'English (Australia)',1=>'English (Australia)'),'en_NZ'=>array(0=>'English (New Zealand)',1=>'English (New Zealand)'),'en_GB'=>array(0=>'English (UK)',1=>'English (UK)'),'eo'=>array(0=>'Esperanto',1=>'Esperanto'),'es_DO'=>array(0=>'Spanish (Dominican Republic)',1=>'Español de República Dominicana'),'es_CO'=>array(0=>'Spanish (Colombia)',1=>'Español de Colombia'),'es_VE'=>array(0=>'Spanish (Venezuela)',1=>'Español de Venezuela'),'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_CL'=>array(0=>'Spanish (Chile)',1=>'Español de Chile'),'es_UY'=>array(0=>'Spanish (Uruguay)',1=>'Español de Uruguay'),'es_PR'=>array(0=>'Spanish (Puerto Rico)',1=>'Español de Puerto Rico'),'es_GT'=>array(0=>'Spanish (Guatemala)',1=>'Español de Guatemala'),'es_ES'=>array(0=>'Spanish (Spain)',1=>'Español'),'es_PE'=>array(0=>'Spanish (Peru)',1=>'Español de Perú'),'es_MX'=>array(0=>'Spanish (Mexico)',1=>'Español de México'),'es_EC'=>array(0=>'Spanish (Ecuador)',1=>'Español de Ecuador'),'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_BE'=>array(0=>'French (Belgium)',1=>'Français de Belgique'),'fr_CA'=>array(0=>'French (Canada)',1=>'Français du Canada'),'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_NL_formal'=>array(0=>'Dutch (Formal)',1=>'Nederlands (Formeel)'),'nl_NL'=>array(0=>'Dutch',1=>'Nederlands'),'nl_BE'=>array(0=>'Dutch (Belgium)',1=>'Nederlands (België)'),'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_AO'=>array(0=>'Portuguese (Angola)',1=>'Português de Angola'),'pt_BR'=>array(0=>'Portuguese (Brazil)',1=>'Português do Brasil'),'pt_PT'=>array(0=>'Portuguese (Portugal)',1=>'Português'),'pt_PT_ao90'=>array(0=>'Portuguese (Portugal, AO90)',1=>'Português (AO90)'),'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_HK'=>array(0=>'Chinese (Hong Kong)',1=>'香港中文版 '),'zh_CN'=>array(0=>'Chinese (China)',1=>'简体中文'),'zh_TW'=>array(0=>'Chinese (Taiwan)',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.8.
|
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.7
|
8 |
Requires at least: 4.1
|
9 |
+
Tested up to: 5.8.3
|
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.7';
|
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.6);background-repeat:no-repeat;min-height:16px}._ajax_loader_f2x4{background:transparent url(../img/ajax-loader-f2-x4.gif?v=2.5.6) 0 0 no-repeat;min-height:75px}._ajax_loader_cc{background-image:url(../img/ajax-loader-cc.gif?v=2.5.6);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.6);background-size:16px}._ajax_loader_cc{background-image:url(../img/ajax-loader-cc-x2.gif?v=2.5.6);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.6");src:url("../font/loco.eot?v=2.5.6?#iefix") format("embedded-opentype"),url("../font/loco.woff?v=2.5.6") format("woff"),url("../font/loco.ttf?v=2.5.6") format("truetype"),url("../font/loco.svg?v=2.5.6#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.6) 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.6);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.6) 0 0 no-repeat;min-height:75px}#loco-admin.wrap ._ajax_loader_cc{background-image:url(../img/ajax-loader-cc.gif?v=2.5.6);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.6);background-size:16px}#loco-admin.wrap ._ajax_loader_cc{background-image:url(../img/ajax-loader-cc-x2.gif?v=2.5.6);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-calendar: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.6);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-calendar: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.6) 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.6) 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.6) 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.6) 0 0 no-repeat !important}
|
1 |
+
._ajax_loader_f2{background-image:url(../img/ajax-loader-f2.gif?v=2.5.7);background-repeat:no-repeat;min-height:16px}._ajax_loader_f2x4{background:transparent url(../img/ajax-loader-f2-x4.gif?v=2.5.7) 0 0 no-repeat;min-height:75px}._ajax_loader_cc{background-image:url(../img/ajax-loader-cc.gif?v=2.5.7);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.7);background-size:16px}._ajax_loader_cc{background-image:url(../img/ajax-loader-cc-x2.gif?v=2.5.7);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.7");src:url("../font/loco.eot?v=2.5.7?#iefix") format("embedded-opentype"),url("../font/loco.woff?v=2.5.7") format("woff"),url("../font/loco.ttf?v=2.5.7") format("truetype"),url("../font/loco.svg?v=2.5.7#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.7) 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.7);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.7) 0 0 no-repeat;min-height:75px}#loco-admin.wrap ._ajax_loader_cc{background-image:url(../img/ajax-loader-cc.gif?v=2.5.7);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.7);background-size:16px}#loco-admin.wrap ._ajax_loader_cc{background-image:url(../img/ajax-loader-cc-x2.gif?v=2.5.7);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-calendar: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.7);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-calendar: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.7) 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.7) 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.7) 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.7) 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.6);background-repeat:no-repeat;min-height:16px}#loco-editor ._ajax_loader_f2x4{background:transparent url(../img/ajax-loader-f2-x4.gif?v=2.5.6) 0 0 no-repeat;min-height:75px}#loco-editor ._ajax_loader_cc{background-image:url(../img/ajax-loader-cc.gif?v=2.5.6);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.6);background-size:16px}#loco-editor ._ajax_loader_cc{background-image:url(../img/ajax-loader-cc-x2.gif?v=2.5.6);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.6) 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.6);background-repeat:no-repeat;min-height:16px}#loco-editor ._ajax_loader_f2x4{background:transparent url(../img/ajax-loader-f2-x4.gif?v=2.5.6) 0 0 no-repeat;min-height:75px}#loco-editor ._ajax_loader_cc{background-image:url(../img/ajax-loader-cc.gif?v=2.5.6);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.6);background-size:16px}#loco-editor ._ajax_loader_cc{background-image:url(../img/ajax-loader-cc-x2.gif?v=2.5.6);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.6) 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.6) 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.6) 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.6) 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.6) 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.6) 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.6) 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.6) 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.7);background-repeat:no-repeat;min-height:16px}#loco-editor ._ajax_loader_f2x4{background:transparent url(../img/ajax-loader-f2-x4.gif?v=2.5.7) 0 0 no-repeat;min-height:75px}#loco-editor ._ajax_loader_cc{background-image:url(../img/ajax-loader-cc.gif?v=2.5.7);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.7);background-size:16px}#loco-editor ._ajax_loader_cc{background-image:url(../img/ajax-loader-cc-x2.gif?v=2.5.7);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.7) 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.7);background-repeat:no-repeat;min-height:16px}#loco-editor ._ajax_loader_f2x4{background:transparent url(../img/ajax-loader-f2-x4.gif?v=2.5.7) 0 0 no-repeat;min-height:75px}#loco-editor ._ajax_loader_cc{background-image:url(../img/ajax-loader-cc.gif?v=2.5.7);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.7);background-size:16px}#loco-editor ._ajax_loader_cc{background-image:url(../img/ajax-loader-cc-x2.gif?v=2.5.7);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.7) 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.7) 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.7) 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.7) 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.7) 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.7) 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.7) 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.7) 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;table-layout:auto}#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 table.diff td>.dashicons{display: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.7) 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.7) 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.7) 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.7) 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.7) 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.7) 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.7) 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.7) 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.7) 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.7) 0 0 no-repeat !important}
|
pub/js/min/admin.js
CHANGED
@@ -1,33 +1,33 @@
|
|
1 |
-
(function(y, w,
|
2 |
-
var
|
3 |
function f(d) {
|
4 |
throw Error("Failed to require " + d);
|
5 |
}
|
6 |
var d = {};
|
7 |
return {
|
8 |
-
register: function(f,
|
9 |
-
d[f] =
|
10 |
},
|
11 |
-
require: function(
|
12 |
-
return d[
|
13 |
},
|
14 |
-
include: function(
|
15 |
-
return d[
|
16 |
}
|
17 |
};
|
18 |
}();
|
19 |
-
|
20 |
-
function
|
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,22 +50,22 @@ _: 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 |
}({}, y, w));
|
64 |
-
|
65 |
f.ie = function() {
|
66 |
-
var f = !1,
|
67 |
-
d.attachEvent && d.navigator && /MSIE (\d+)\./.exec(String(navigator.appVersion)) && (
|
68 |
-
f = 11 >
|
69 |
return function() {
|
70 |
return f;
|
71 |
};
|
@@ -75,8 +75,8 @@ return f;
|
|
75 |
};
|
76 |
return f;
|
77 |
}({}, y, w));
|
78 |
-
|
79 |
-
Number.prototype.format = function(d,
|
80 |
d = Math.pow(10, d || 0);
|
81 |
var b = Math.round(d * this) / d;
|
82 |
d = [];
|
@@ -87,142 +87,142 @@ 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 |
}({}, y, w));
|
112 |
-
|
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 |
}({}, y, w));
|
125 |
-
|
126 |
d.JSON || (d.JSON = {
|
127 |
-
parse:
|
128 |
stringify: null
|
129 |
});
|
130 |
return f = d.JSON;
|
131 |
}({}, y, w));
|
132 |
-
|
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 |
}({}, y, w));
|
146 |
-
|
147 |
-
function
|
148 |
return function(c, b) {
|
149 |
-
for (var a = c[
|
150 |
return a;
|
151 |
};
|
152 |
}
|
153 |
-
f.top =
|
154 |
-
f.left =
|
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 |
}({}, y, w));
|
165 |
-
|
166 |
-
function
|
167 |
function c() {
|
168 |
-
|
169 |
v = setTimeout(b, e);
|
170 |
}
|
171 |
-
function
|
172 |
v && clearTimeout(v);
|
173 |
v = null;
|
174 |
}
|
175 |
var v;
|
176 |
c();
|
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 |
-
|
198 |
-
|
199 |
var c;
|
200 |
if (c = b) b.stopPropagation(), b.preventDefault(), c = !1;
|
201 |
return c;
|
202 |
}
|
203 |
function c(b) {
|
204 |
-
|
205 |
-
return
|
206 |
}
|
207 |
-
var
|
208 |
-
0 === B.length && (
|
209 |
B.off("click").on("click", e);
|
210 |
-
|
211 |
-
|
212 |
-
v =
|
213 |
-
|
214 |
-
b && (
|
215 |
return {
|
216 |
link: function(b, v) {
|
217 |
-
var e = v || b, c =
|
218 |
-
|
219 |
-
|
220 |
return this;
|
221 |
},
|
222 |
stick: function() {
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
return this;
|
227 |
},
|
228 |
slow: function(a) {
|
@@ -232,55 +232,55 @@ return this;
|
|
232 |
};
|
233 |
}
|
234 |
function b(a, b, e) {
|
235 |
-
var c =
|
236 |
-
a =
|
237 |
-
var
|
238 |
-
e =
|
239 |
-
b =
|
240 |
-
|
241 |
return a;
|
242 |
}
|
243 |
-
function a(a, e,
|
244 |
-
a = b(
|
245 |
-
|
246 |
-
return c(a,
|
247 |
}
|
248 |
function e(b) {
|
249 |
return a(b, s, "warning");
|
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,
|
270 |
};
|
271 |
f.success = function(b) {
|
272 |
return a(b, B, "success", 5e3);
|
273 |
};
|
274 |
f.warning = e;
|
275 |
f.log = function() {
|
276 |
-
|
277 |
};
|
278 |
f.debug = function() {
|
279 |
-
(
|
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 |
s = a._("Warning");
|
294 |
-
|
295 |
B = a._("OK");
|
296 |
-
setTimeout(
|
297 |
return f;
|
298 |
};
|
299 |
return f;
|
300 |
}({}, y, w));
|
301 |
-
|
302 |
-
function
|
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,48 +325,48 @@ value: e
|
|
325 |
function e(a, b, e) {
|
326 |
a.append(b, e);
|
327 |
}
|
328 |
-
function
|
329 |
-
function
|
330 |
if ("abort" !== c) {
|
331 |
-
var
|
332 |
_: function(a) {
|
333 |
return a;
|
334 |
}
|
335 |
-
}, r = b.status || 0, d = b.responseText || "", x =
|
336 |
-
"success" === c && v ?
|
337 |
-
|
338 |
status: r,
|
339 |
error: c,
|
340 |
message: v,
|
341 |
output: d
|
342 |
-
}), "parsererror" === c && (v = "Response not JSON"),
|
343 |
e && e.call && e(b, c, v);
|
344 |
-
|
345 |
}
|
346 |
}
|
347 |
-
c.url =
|
348 |
c.dataType = "json";
|
349 |
-
var
|
350 |
-
|
351 |
-
return
|
352 |
-
var c = a && a.data,
|
353 |
-
for (!c || a.error ?
|
354 |
});
|
355 |
}
|
356 |
-
var
|
357 |
f.init = function(a) {
|
358 |
-
|
359 |
return f;
|
360 |
};
|
361 |
f.localise = function(a) {
|
362 |
-
|
363 |
return f;
|
364 |
};
|
365 |
f.xhr = function() {
|
366 |
-
return
|
367 |
};
|
368 |
-
f.strip =
|
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;
|
@@ -374,7 +374,7 @@ b.disabled ? b.setAttribute("data-was-disabled", "true") : b.disabled = !0;
|
|
374 |
function r(a, b) {
|
375 |
b.getAttribute("data-was-disabled") || (b.disabled = !1);
|
376 |
}
|
377 |
-
function
|
378 |
a.find(".button-primary").removeClass("loading");
|
379 |
a.find("button").each(r);
|
380 |
a.find("input").each(r);
|
@@ -382,7 +382,7 @@ a.find("select").each(r);
|
|
382 |
a.find("textarea").each(r);
|
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,49 +390,49 @@ 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 |
-
|
396 |
b && b(a, e, c);
|
397 |
}, function(a, b, c) {
|
398 |
-
|
399 |
e && e(a, b, c);
|
400 |
}, {
|
401 |
type: a.method,
|
402 |
-
data:
|
403 |
});
|
404 |
};
|
405 |
-
f.post = function(
|
406 |
-
var r = !0, G =
|
407 |
-
d.FormData && G instanceof FormData ? (r = !1,
|
408 |
-
|
409 |
-
|
410 |
-
|
411 |
-
return
|
412 |
type: "post",
|
413 |
data: G,
|
414 |
processData: r,
|
415 |
contentType: r ? "application/x-www-form-urlencoded; charset=UTF-8" : !1
|
416 |
});
|
417 |
};
|
418 |
-
f.get = function(a, b, e,
|
419 |
b = b || {};
|
420 |
-
var r =
|
421 |
b.action = "loco_json";
|
422 |
b.route = a;
|
423 |
b["loco-nonce"] = r;
|
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 |
}({}, y, w));
|
435 |
-
|
436 |
arab: 1,
|
437 |
aran: 1,
|
438 |
hebr: 1,
|
@@ -470,29 +470,29 @@ ps: 1,
|
|
470 |
ur: 1,
|
471 |
yi: 1
|
472 |
});
|
473 |
-
|
474 |
-
function
|
475 |
-
var
|
476 |
f.init = function() {
|
477 |
-
return new
|
478 |
};
|
479 |
f.cast = function(b) {
|
480 |
-
return b instanceof
|
481 |
};
|
482 |
f.clone = function(b) {
|
483 |
-
var a, e = new
|
484 |
for (a in b) e[a] = b[a];
|
485 |
return e;
|
486 |
};
|
487 |
f.parse = function(b) {
|
488 |
-
if (!(
|
489 |
-
var a = new
|
490 |
a.lang = RegExp.$1.toLowerCase();
|
491 |
if (b = RegExp.$2) a.region = b.toUpperCase();
|
492 |
if (b = RegExp.$3) a.variant = b.toLowerCase();
|
493 |
return a;
|
494 |
};
|
495 |
-
d =
|
496 |
d.isValid = function() {
|
497 |
return !!this.lang;
|
498 |
};
|
@@ -508,9 +508,9 @@ 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()];
|
@@ -518,7 +518,7 @@ return !!c[String(this.lang).toLowerCase()];
|
|
518 |
d = null;
|
519 |
return f;
|
520 |
}({}, y, w));
|
521 |
-
|
522 |
"á": "a",
|
523 |
"à": "a",
|
524 |
"ă": "a",
|
@@ -930,37 +930,37 @@ p.register("$23", {
|
|
930 |
"ӣ": "и",
|
931 |
"ӯ": "у"
|
932 |
});
|
933 |
-
|
934 |
f.init = function() {
|
935 |
function d(a) {
|
936 |
-
return
|
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 = [],
|
948 |
e[a] = c;
|
949 |
}
|
950 |
function a(a, b) {
|
951 |
-
var c = [],
|
952 |
-
a: for (;++
|
953 |
v = 0;
|
954 |
b: for (;v < f; v++) {
|
955 |
F = a[v];
|
956 |
-
for (r = 0; r < u; r++) if (
|
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) {
|
@@ -991,72 +991,72 @@ e[a] = null;
|
|
991 |
};
|
992 |
return f;
|
993 |
}({}, y, w));
|
994 |
-
|
995 |
-
f.listen = function(f,
|
996 |
function c() {
|
997 |
-
|
998 |
}
|
999 |
function b(a) {
|
1000 |
-
s &&
|
1001 |
-
|
1002 |
c();
|
1003 |
return a;
|
1004 |
}
|
1005 |
function a() {
|
1006 |
-
|
1007 |
-
|
1008 |
}
|
1009 |
function e(e) {
|
1010 |
-
var c =
|
1011 |
-
|
1012 |
-
c !==
|
1013 |
a());
|
1014 |
}
|
1015 |
-
var
|
1016 |
-
|
1017 |
e();
|
1018 |
return !1;
|
1019 |
});
|
1020 |
-
b(
|
1021 |
-
|
1022 |
-
e(
|
1023 |
return !0;
|
1024 |
}).on("blur focus change", function() {
|
1025 |
e(null);
|
1026 |
return !0;
|
1027 |
-
}).after(
|
1028 |
c();
|
1029 |
return {
|
1030 |
delay: function(a) {
|
1031 |
-
|
1032 |
return this;
|
1033 |
},
|
1034 |
ping: function(c) {
|
1035 |
-
c ? (
|
1036 |
return c;
|
1037 |
},
|
1038 |
val: function(a) {
|
1039 |
-
if (null == a) return
|
1040 |
-
|
1041 |
-
|
1042 |
c();
|
1043 |
},
|
1044 |
el: function() {
|
1045 |
-
return
|
1046 |
},
|
1047 |
blur: function(a) {
|
1048 |
-
return
|
1049 |
},
|
1050 |
destroy: function() {
|
1051 |
-
|
1052 |
}
|
1053 |
};
|
1054 |
};
|
1055 |
return f;
|
1056 |
}({}, y, w));
|
1057 |
-
|
1058 |
-
function
|
1059 |
-
this.$element =
|
1060 |
this.options = a;
|
1061 |
this.enabled = !0;
|
1062 |
this.fixTitle();
|
@@ -1065,31 +1065,31 @@ f.init = function(b, a) {
|
|
1065 |
var e = {
|
1066 |
fade: !0,
|
1067 |
offset: 5,
|
1068 |
-
delayIn:
|
1069 |
delayOut: c,
|
1070 |
anchor: b.attr("data-anchor"),
|
1071 |
gravity: b.attr("data-gravity") || "s"
|
1072 |
};
|
1073 |
-
a && (e =
|
1074 |
b.tipsy(e);
|
1075 |
};
|
1076 |
f.delays = function(b, a) {
|
1077 |
-
|
1078 |
c = a || 100;
|
1079 |
};
|
1080 |
f.kill = function() {
|
1081 |
-
|
1082 |
};
|
1083 |
f.text = function(b, a) {
|
1084 |
a.data("tipsy").setTitle(b);
|
1085 |
};
|
1086 |
-
var
|
1087 |
f.delays();
|
1088 |
-
|
1089 |
f.kill();
|
1090 |
return !0;
|
1091 |
});
|
1092 |
-
|
1093 |
show: function() {
|
1094 |
var b = this.getTitle();
|
1095 |
if (b && this.enabled) {
|
@@ -1099,42 +1099,42 @@ a[0].className = "tipsy";
|
|
1099 |
a.remove().css({
|
1100 |
top: 0,
|
1101 |
left: 0
|
1102 |
-
}).prependTo(
|
1103 |
-
var b = (b = this.options.anchor) ? this.$element.find(b) : this.$element, b =
|
1104 |
width: b[0].offsetWidth,
|
1105 |
height: b[0].offsetHeight
|
1106 |
-
}), e = a[0].offsetWidth, c = a[0].offsetHeight,
|
1107 |
-
switch (
|
1108 |
case "n":
|
1109 |
-
|
1110 |
top: b.top + b.height + this.options.offset,
|
1111 |
left: b.left + b.width / 2 - e / 2
|
1112 |
};
|
1113 |
break;
|
1114 |
|
1115 |
case "s":
|
1116 |
-
|
1117 |
top: b.top - c - this.options.offset,
|
1118 |
left: b.left + b.width / 2 - e / 2
|
1119 |
};
|
1120 |
break;
|
1121 |
|
1122 |
case "e":
|
1123 |
-
|
1124 |
top: b.top + b.height / 2 - c / 2,
|
1125 |
left: b.left - e - this.options.offset
|
1126 |
};
|
1127 |
break;
|
1128 |
|
1129 |
case "w":
|
1130 |
-
|
1131 |
top: b.top + b.height / 2 - c / 2,
|
1132 |
left: b.left + b.width + this.options.offset
|
1133 |
};
|
1134 |
}
|
1135 |
-
2 ==
|
1136 |
-
a.css(
|
1137 |
-
a.find(".tipsy-arrow")[0].className = "tipsy-arrow tipsy-arrow-" +
|
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,7 +1160,7 @@ a.attr("original-title", b);
|
|
1160 |
if (this.$tip) this.$tip.find(".tipsy-inner")[this.options.html ? "html" : "text"](b);
|
1161 |
},
|
1162 |
tip: function() {
|
1163 |
-
this.$tip || (this.$tip =
|
1164 |
this.$tip.data("tipsy-pointee", this.$element[0]));
|
1165 |
return this.$tip;
|
1166 |
},
|
@@ -1178,10 +1178,10 @@ toggleEnabled: function() {
|
|
1178 |
this.enabled = !this.enabled;
|
1179 |
}
|
1180 |
};
|
1181 |
-
|
1182 |
function a(a) {
|
1183 |
-
var e =
|
1184 |
-
e || (e = new
|
1185 |
return e;
|
1186 |
}
|
1187 |
function e() {
|
@@ -1192,23 +1192,23 @@ e.hoverState = "in";
|
|
1192 |
}, c));
|
1193 |
}
|
1194 |
function c() {
|
1195 |
-
var e = a(this),
|
1196 |
e.hoverState = "out";
|
1197 |
-
0 ==
|
1198 |
"out" == e.hoverState && e.hide();
|
1199 |
-
},
|
1200 |
}
|
1201 |
-
b =
|
1202 |
b.live || this.each(function() {
|
1203 |
a(this);
|
1204 |
});
|
1205 |
if ("manual" != b.trigger) {
|
1206 |
-
var
|
1207 |
-
this[
|
1208 |
}
|
1209 |
return this;
|
1210 |
};
|
1211 |
-
|
1212 |
className: null,
|
1213 |
delayIn: 0,
|
1214 |
delayOut: 0,
|
@@ -1223,77 +1223,77 @@ title: "title",
|
|
1223 |
trigger: "hover",
|
1224 |
anchor: null
|
1225 |
};
|
1226 |
-
|
1227 |
-
return
|
1228 |
};
|
1229 |
-
|
1230 |
-
return
|
1231 |
};
|
1232 |
-
|
1233 |
-
return
|
1234 |
};
|
1235 |
-
|
1236 |
return function() {
|
1237 |
-
var e = a[0], c = 1 < a.length ? a[1] : !1,
|
1238 |
-
|
1239 |
-
|
1240 |
-
|
1241 |
-
|
1242 |
return e + (c ? c : "");
|
1243 |
};
|
1244 |
};
|
1245 |
return f;
|
1246 |
}({}, y, w));
|
1247 |
-
|
1248 |
"".localeCompare || (String.prototype.localeCompare = function() {
|
1249 |
return 0;
|
1250 |
});
|
1251 |
"".trim || (String.prototype.trim = function() {
|
1252 |
-
return
|
1253 |
});
|
1254 |
f.html = function() {
|
1255 |
function d() {
|
1256 |
b = /[<>&]/g;
|
1257 |
a = /(\r\n|\n|\r)/g;
|
1258 |
e = /(?:https?):\/\/(\S+)/gi;
|
1259 |
-
|
1260 |
d = null;
|
1261 |
}
|
1262 |
-
function
|
1263 |
return "&#" + a.charCodeAt(0) + ";";
|
1264 |
}
|
1265 |
function c(a, b) {
|
1266 |
-
return '<a href="' + a + '" target="' + (b.indexOf(
|
1267 |
}
|
1268 |
-
var b, a, e,
|
1269 |
-
return function(
|
1270 |
d && d();
|
1271 |
-
var
|
1272 |
-
|
1273 |
-
return
|
1274 |
};
|
1275 |
}();
|
1276 |
return f;
|
1277 |
}({}, y, w));
|
1278 |
-
|
1279 |
-
function
|
1280 |
-
var
|
1281 |
f.init = function() {
|
1282 |
-
return new
|
1283 |
};
|
1284 |
f.cast = function(a) {
|
1285 |
-
return a instanceof
|
1286 |
};
|
1287 |
f.clone = function(a) {
|
1288 |
-
var b, c = new
|
1289 |
for (b in a) c[b] = a[b];
|
1290 |
return c;
|
1291 |
};
|
1292 |
f.parse = function(a) {
|
1293 |
-
|
1294 |
a = String(a).split(c).join("-");
|
1295 |
-
if (!
|
1296 |
-
var b = new
|
1297 |
b.lang = RegExp.$1.toLowerCase();
|
1298 |
if (a = RegExp.$2) b.script = a.charAt(0).toUpperCase() + a.substr(1).toLowerCase();
|
1299 |
if (a = RegExp.$3) b.region = a.toUpperCase();
|
@@ -1301,7 +1301,7 @@ if (a = RegExp.$4) b.variant = a.toLowerCase();
|
|
1301 |
if (a = RegExp.$5) b.extension = a;
|
1302 |
return b;
|
1303 |
};
|
1304 |
-
d =
|
1305 |
d.isValid = function() {
|
1306 |
return !!this.lang;
|
1307 |
};
|
@@ -1319,9 +1319,9 @@ if (b = this.extension) c += a + b;
|
|
1319 |
return c;
|
1320 |
};
|
1321 |
d.getIcon = function() {
|
1322 |
-
for (var a = 4, b, c,
|
1323 |
-
c = this[b]) c.join && (c = c.join("-")), 1 === a && 3 === c.length ?
|
1324 |
-
return
|
1325 |
};
|
1326 |
d.isRTL = function() {
|
1327 |
return !!b[String(this.script || this.lang).toLowerCase()];
|
@@ -1329,12 +1329,12 @@ return !!b[String(this.script || this.lang).toLowerCase()];
|
|
1329 |
d = null;
|
1330 |
return f;
|
1331 |
}({}, y, w));
|
1332 |
-
|
1333 |
-
function
|
1334 |
d.console && console.error && console.error(a);
|
1335 |
}
|
1336 |
-
function
|
1337 |
-
|
1338 |
}
|
1339 |
function c() {}
|
1340 |
function b(a) {}
|
@@ -1342,16 +1342,16 @@ c.prototype.toString = function() {
|
|
1342 |
return "[Undefined]";
|
1343 |
};
|
1344 |
b.prototype._validate = function(a) {
|
1345 |
-
var b,
|
1346 |
-
for (b in this)
|
1347 |
-
|
1348 |
-
return
|
1349 |
};
|
1350 |
f.init = function(a, e) {
|
1351 |
-
var
|
1352 |
-
if (a) for (
|
1353 |
-
if (e) for (
|
1354 |
-
return
|
1355 |
};
|
1356 |
f.validate = function(a) {
|
1357 |
var b = /function (\w+)\(/.exec(a.toString()) ? RegExp.$1 : "";
|
@@ -1359,24 +1359,24 @@ a.prototype._validate(b || "Object");
|
|
1359 |
};
|
1360 |
return f;
|
1361 |
}({}, y, w));
|
1362 |
-
|
1363 |
-
var
|
1364 |
-
if (!
|
1365 |
ms: 1,
|
1366 |
moz: 1,
|
1367 |
webkit: 1,
|
1368 |
o: 1
|
1369 |
-
}) if (
|
1370 |
-
|
1371 |
-
var
|
1372 |
-
timeToCall = Math.max(0, 16 - (
|
1373 |
-
nextTime =
|
1374 |
timerId = d.setTimeout(function() {
|
1375 |
b(nextTime);
|
1376 |
}, timeToCall);
|
1377 |
c = nextTime;
|
1378 |
return timerId;
|
1379 |
-
},
|
1380 |
clearTimeout(a);
|
1381 |
});
|
1382 |
var a = Date.now || function() {
|
@@ -1384,43 +1384,43 @@ return new Date().getTime();
|
|
1384 |
};
|
1385 |
f.loop = function(a, b) {
|
1386 |
function c() {
|
1387 |
-
d =
|
1388 |
-
a(
|
1389 |
}
|
1390 |
-
var
|
1391 |
c();
|
1392 |
return {
|
1393 |
stop: function() {
|
1394 |
-
d &&
|
1395 |
d = null;
|
1396 |
}
|
1397 |
};
|
1398 |
};
|
1399 |
return f;
|
1400 |
}({}, y, w));
|
1401 |
-
|
1402 |
-
function
|
1403 |
if (b) {
|
1404 |
-
var
|
1405 |
e = function(a) {
|
1406 |
-
if ((a.MSPOINTER_TYPE_TOUCH || "touch") === a.pointerType) return
|
1407 |
};
|
1408 |
}
|
1409 |
-
a.addEventListener(c, e,
|
1410 |
return {
|
1411 |
unbind: function() {
|
1412 |
-
a.removeEventListener(c, e,
|
1413 |
}
|
1414 |
};
|
1415 |
}
|
1416 |
-
function
|
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",
|
1422 |
f.ok = function(a) {
|
1423 |
-
null == c && (c = "function" === typeof
|
1424 |
c && a && a(f);
|
1425 |
return c;
|
1426 |
};
|
@@ -1428,51 +1428,51 @@ f.ms = function() {
|
|
1428 |
return b;
|
1429 |
};
|
1430 |
f.dragger = function(b, c) {
|
1431 |
-
function
|
1432 |
b.addEventListener(a, d[a], !1);
|
1433 |
}
|
1434 |
-
function
|
1435 |
b.removeEventListener(a, d[a], !1);
|
1436 |
}
|
1437 |
var d = {};
|
1438 |
d[a] = function(b) {
|
1439 |
-
|
1440 |
-
|
1441 |
-
c(b,
|
1442 |
});
|
1443 |
-
|
1444 |
-
|
1445 |
return !0;
|
1446 |
};
|
1447 |
-
d[
|
1448 |
-
|
1449 |
-
|
1450 |
-
|
1451 |
-
e.type =
|
1452 |
c(a, e, f);
|
1453 |
});
|
1454 |
return !0;
|
1455 |
};
|
1456 |
d[e] = function(a) {
|
1457 |
-
|
1458 |
-
|
1459 |
-
c(a,
|
1460 |
});
|
1461 |
-
return
|
1462 |
};
|
1463 |
-
|
1464 |
var f = {
|
1465 |
kill: function() {
|
1466 |
-
|
1467 |
-
|
1468 |
-
|
1469 |
b = f = c = null;
|
1470 |
}
|
1471 |
};
|
1472 |
return f;
|
1473 |
};
|
1474 |
f.swiper = function(c, d, f) {
|
1475 |
-
function
|
1476 |
c.addEventListener(a, u[a], !1);
|
1477 |
}
|
1478 |
function B(a) {
|
@@ -1482,22 +1482,22 @@ function x() {
|
|
1482 |
r && r.stop();
|
1483 |
r = null;
|
1484 |
}
|
1485 |
-
var r, G, E, u = {}, v = [], F = [],
|
1486 |
u[a] = function(a) {
|
1487 |
G = !1;
|
1488 |
x();
|
1489 |
-
var b =
|
1490 |
-
|
1491 |
v[a] = b;
|
1492 |
F[a] = c.clientX;
|
1493 |
-
|
1494 |
});
|
1495 |
E = c.scrollLeft;
|
1496 |
return !0;
|
1497 |
};
|
1498 |
-
u[
|
1499 |
-
|
1500 |
-
var c =
|
1501 |
d(c, e ? 0 > e ? -1 : 1 : 0);
|
1502 |
});
|
1503 |
E = null;
|
@@ -1505,20 +1505,20 @@ return !0;
|
|
1505 |
};
|
1506 |
u[e] = function(a) {
|
1507 |
var b, e;
|
1508 |
-
null == E ||
|
1509 |
b = F[a] - c.clientX;
|
1510 |
-
e =
|
1511 |
});
|
1512 |
if (e && Math.abs(e) > Math.abs(b)) return G = !0;
|
1513 |
b && (G = !0, c.scrollLeft = Math.max(0, E + b));
|
1514 |
-
return
|
1515 |
};
|
1516 |
-
if (!b || f)
|
1517 |
return {
|
1518 |
kill: function() {
|
1519 |
B(a);
|
1520 |
B(e);
|
1521 |
-
B(
|
1522 |
x();
|
1523 |
},
|
1524 |
swiped: function() {
|
@@ -1533,32 +1533,32 @@ c.style["-ms-scroll-snap-type"] = "mandatory", c.style["-ms-scroll-chaining"] =
|
|
1533 |
},
|
1534 |
scroll: function(a, b, e) {
|
1535 |
x();
|
1536 |
-
var v = c.scrollLeft,
|
1537 |
-
return r =
|
1538 |
-
b && (v = Math.max(0,
|
1539 |
}, c);
|
1540 |
}
|
1541 |
};
|
1542 |
};
|
1543 |
f.start = function(b, c) {
|
1544 |
-
return
|
1545 |
};
|
1546 |
f.move = function(a, b) {
|
1547 |
-
return
|
1548 |
};
|
1549 |
f.end = function(a, b) {
|
1550 |
-
return
|
1551 |
};
|
1552 |
-
var
|
1553 |
-
if (b) (a.MSPOINTER_TYPE_TOUCH || "touch") === a.pointerType && c(0, a); else for (var e = -1,
|
1554 |
-
},
|
1555 |
return new Date().getTime();
|
1556 |
};
|
1557 |
return f;
|
1558 |
}({}, y, w));
|
1559 |
-
|
1560 |
f.init = function(d) {
|
1561 |
-
function
|
1562 |
e.style.top = String(-d.scrollTop) + "px";
|
1563 |
return !0;
|
1564 |
}
|
@@ -1571,74 +1571,74 @@ return !0;
|
|
1571 |
function b(a) {
|
1572 |
return '<span class="x' + a.charCodeAt(0).toString(16) + '">' + a + "</span>";
|
1573 |
}
|
1574 |
-
var a = d.parentNode, e = a.insertBefore(
|
1575 |
-
|
1576 |
-
|
1577 |
e.className = "ta-mirror";
|
1578 |
-
var
|
1579 |
-
2 <
|
1580 |
c();
|
1581 |
-
|
1582 |
return {
|
1583 |
kill: function() {
|
1584 |
-
|
1585 |
a.removeChild(e);
|
1586 |
e = null;
|
1587 |
-
|
1588 |
}
|
1589 |
};
|
1590 |
};
|
1591 |
return f;
|
1592 |
}({}, y, w));
|
1593 |
-
|
1594 |
-
function
|
1595 |
-
for (var c = 0,
|
1596 |
-
"function" === typeof callback && (callback(
|
1597 |
return c;
|
1598 |
}
|
1599 |
-
var
|
1600 |
f.load = function(b, a, c) {
|
1601 |
-
function
|
1602 |
f && (clearTimeout(f), f = null);
|
1603 |
-
|
1604 |
-
b && (delete
|
1605 |
}
|
1606 |
-
function
|
1607 |
-
var
|
1608 |
-
if (
|
1609 |
}
|
1610 |
-
function
|
1611 |
-
if (0 ===
|
1612 |
-
|
1613 |
}
|
1614 |
-
if (c && d[c]) "function" === typeof a && a(d[c]); else if (null !=
|
1615 |
-
|
1616 |
-
var f = setTimeout(
|
1617 |
-
|
1618 |
-
|
1619 |
-
|
1620 |
-
|
1621 |
-
|
1622 |
-
|
1623 |
-
|
1624 |
}
|
1625 |
};
|
1626 |
f.stat = function(b) {
|
1627 |
var a;
|
1628 |
if (!(a = c)) {
|
1629 |
-
for (var e,
|
1630 |
-1 !== e) {
|
1631 |
-
|
1632 |
break;
|
1633 |
}
|
1634 |
-
a = c =
|
1635 |
}
|
1636 |
return a + b;
|
1637 |
};
|
1638 |
return f;
|
1639 |
}({}, y, w));
|
1640 |
-
|
1641 |
-
function
|
1642 |
a.setReadOnly(!1);
|
1643 |
a.on("change", function(a, c) {
|
1644 |
return b.val(c.getValue());
|
@@ -1650,24 +1650,24 @@ a.on("blur", function() {
|
|
1650 |
return b.blur();
|
1651 |
});
|
1652 |
}
|
1653 |
-
function
|
1654 |
a.off("change");
|
1655 |
a.off("focus");
|
1656 |
a.off("blur");
|
1657 |
}
|
1658 |
function c(a) {
|
1659 |
-
|
1660 |
a.setReadOnly(!0);
|
1661 |
a.setHighlightGutterLine(!1);
|
1662 |
a.setHighlightActiveLine(!1);
|
1663 |
}
|
1664 |
function b(b, c) {
|
1665 |
function e() {
|
1666 |
-
this.HighlightRules =
|
1667 |
}
|
1668 |
-
var
|
1669 |
-
|
1670 |
-
|
1671 |
return new e();
|
1672 |
}
|
1673 |
function a(a) {
|
@@ -1757,38 +1757,38 @@ return /%(?:[1-9]\d*\$)?\+?(?:0|'[^$])?-?\d*(?:\.\d+)?[b-gijostTuvxX%]/;
|
|
1757 |
case "auto":
|
1758 |
return /%(?:\d+\$|\([_A-Za-z][_A-Za-z0-9]*\))?(?:[-+0]?\d*(\.\d+)?[duxoefgaDUXOEFGA]|[@scSC%])/;
|
1759 |
|
1760 |
-
case
|
1761 |
-
return
|
1762 |
}
|
1763 |
}
|
1764 |
-
var
|
1765 |
-
f.init = function(a, e,
|
1766 |
-
var f,
|
1767 |
-
|
1768 |
-
|
1769 |
if (r) {
|
1770 |
-
if (!
|
1771 |
-
f =
|
1772 |
-
var
|
1773 |
f.$blockScrolling = Infinity;
|
1774 |
-
f.setShowInvisibles(
|
1775 |
f.setWrapBehavioursEnabled(!1);
|
1776 |
f.setBehavioursEnabled(!1);
|
1777 |
f.setHighlightActiveLine(!1);
|
1778 |
-
|
1779 |
-
|
1780 |
-
|
1781 |
-
|
1782 |
-
|
1783 |
f.setValue(a.value, -1);
|
1784 |
-
|
1785 |
-
e ?
|
1786 |
}
|
1787 |
}, "ace");
|
1788 |
return {
|
1789 |
kill: function() {
|
1790 |
-
f && (
|
1791 |
-
r && (x.removeChild(r),
|
1792 |
return this;
|
1793 |
},
|
1794 |
disable: function() {
|
@@ -1798,7 +1798,7 @@ return this;
|
|
1798 |
},
|
1799 |
enable: function(a) {
|
1800 |
e = a;
|
1801 |
-
f &&
|
1802 |
return this;
|
1803 |
},
|
1804 |
resize: function() {
|
@@ -1811,11 +1811,11 @@ return this;
|
|
1811 |
},
|
1812 |
invs: function(a) {
|
1813 |
a = a || !1;
|
1814 |
-
|
1815 |
return this;
|
1816 |
},
|
1817 |
strf: function(a) {
|
1818 |
-
a = a ||
|
1819 |
a !== B && (B = a, f && f.session.setMode(b(d.ace, a)));
|
1820 |
return this;
|
1821 |
},
|
@@ -1825,14 +1825,14 @@ return this;
|
|
1825 |
};
|
1826 |
};
|
1827 |
f.strf = function(a, b) {
|
1828 |
-
|
1829 |
-
|
1830 |
return f;
|
1831 |
};
|
1832 |
return f;
|
1833 |
}({}, y, w));
|
1834 |
-
|
1835 |
-
function
|
1836 |
function c() {
|
1837 |
return b.val(a.getContent());
|
1838 |
}
|
@@ -1846,51 +1846,51 @@ return b.blur();
|
|
1846 |
});
|
1847 |
a.setMode("design");
|
1848 |
}
|
1849 |
-
function
|
1850 |
a.off("input");
|
1851 |
a.off("change");
|
1852 |
a.off("focus");
|
1853 |
a.off("blur");
|
1854 |
}
|
1855 |
function c(a) {
|
1856 |
-
|
1857 |
a.setMode("readonly");
|
1858 |
}
|
1859 |
var b = 0;
|
1860 |
f.load = function(a) {
|
1861 |
-
var b =
|
1862 |
b.load(b.stat("/lib/tinymce.min.js"), a, "tinymce");
|
1863 |
return f;
|
1864 |
};
|
1865 |
f.init = function(a, e) {
|
1866 |
-
function
|
1867 |
-
|
1868 |
s = "<p>" === a.substr(0, 3) && "</p>" === a.substr(-4);
|
1869 |
return a.replace(/(<\/?)script/gi, "$1loco:script");
|
1870 |
}
|
1871 |
-
function
|
1872 |
-
|
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 (!s && "<p>" === a.substr(0, 3) && "</p>" === a.substr(-4)) {
|
1878 |
var b = a.substr(3, a.length - 7);
|
1879 |
-
if (b ===
|
1880 |
}
|
1881 |
return a;
|
1882 |
};
|
1883 |
a._setContent = a.setContent;
|
1884 |
a.setContent = function(a, b) {
|
1885 |
-
return this._setContent(
|
1886 |
};
|
1887 |
-
e ? (
|
1888 |
-
|
1889 |
}
|
1890 |
-
var
|
1891 |
r.id = "_tb" + String(++b);
|
1892 |
-
|
1893 |
-
|
1894 |
f.load(function(a) {
|
1895 |
if (!a) throw Error("Failed to load HTML editor");
|
1896 |
x && a.init({
|
@@ -1932,109 +1932,109 @@ extended_valid_elements: "span,b,i,u,loco:script",
|
|
1932 |
entities: "38,amp,60,lt,62,gt,160,nbsp",
|
1933 |
entity_encoding: "named",
|
1934 |
keep_styles: !1,
|
1935 |
-
init_instance_callback:
|
1936 |
});
|
1937 |
});
|
1938 |
return {
|
1939 |
val: function(b) {
|
1940 |
-
b =
|
1941 |
-
null ==
|
1942 |
e && e.val(b);
|
1943 |
return this;
|
1944 |
},
|
1945 |
kill: function() {
|
1946 |
-
|
1947 |
-
x && (
|
1948 |
r && (B.removeChild(r), r = null);
|
1949 |
return this;
|
1950 |
},
|
1951 |
enable: function(a) {
|
1952 |
e = a;
|
1953 |
-
|
1954 |
return this;
|
1955 |
},
|
1956 |
disable: function() {
|
1957 |
-
|
1958 |
e = null;
|
1959 |
return this;
|
1960 |
},
|
1961 |
focus: function() {
|
1962 |
-
|
1963 |
return this;
|
1964 |
},
|
1965 |
invs: function(a) {
|
1966 |
a = a || !1;
|
1967 |
-
|
1968 |
return this;
|
1969 |
}
|
1970 |
};
|
1971 |
};
|
1972 |
return f;
|
1973 |
}({}, y, w));
|
1974 |
-
|
1975 |
-
function
|
1976 |
function a() {
|
1977 |
-
|
1978 |
}
|
1979 |
function e() {
|
1980 |
var a = b.value;
|
1981 |
-
a !==
|
1982 |
}
|
1983 |
-
function
|
1984 |
e();
|
1985 |
-
|
1986 |
}
|
1987 |
-
function
|
1988 |
c = b;
|
1989 |
-
B =
|
1990 |
-
|
1991 |
f.trigger("editFocus");
|
1992 |
s.addClass("has-focus");
|
1993 |
return !0;
|
1994 |
}
|
1995 |
-
function
|
1996 |
c === b && (c = null);
|
1997 |
f.trigger("editBlur");
|
1998 |
s.removeClass("has-focus");
|
1999 |
-
|
2000 |
return !0;
|
2001 |
}
|
2002 |
-
var
|
2003 |
-
f.on("blur",
|
2004 |
return {
|
2005 |
val: function(a) {
|
2006 |
-
|
2007 |
return !0;
|
2008 |
},
|
2009 |
kill: function() {
|
2010 |
a();
|
2011 |
-
f.off("blur",
|
2012 |
},
|
2013 |
fire: function() {
|
2014 |
-
|
2015 |
e();
|
2016 |
},
|
2017 |
-
ping:
|
2018 |
-
blur:
|
2019 |
-
focus:
|
2020 |
reset: function() {
|
2021 |
-
B =
|
2022 |
}
|
2023 |
};
|
2024 |
}
|
2025 |
-
function
|
2026 |
this.e = b;
|
2027 |
}
|
2028 |
var c;
|
2029 |
f._new = function(b) {
|
2030 |
-
return new
|
2031 |
};
|
2032 |
f.init = function(b) {
|
2033 |
-
var a = new
|
2034 |
b.disabled ? (b.removeAttribute("disabled"), a.disable()) : b.readOnly ? a.disable() : a.enable();
|
2035 |
return a;
|
2036 |
};
|
2037 |
-
TextAreaPrototype =
|
2038 |
TextAreaPrototype.destroy = function() {
|
2039 |
this.unlisten();
|
2040 |
var b = this.p;
|
@@ -2054,7 +2054,7 @@ if (null == b) return a.value;
|
|
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,
|
2058 |
return this;
|
2059 |
};
|
2060 |
TextAreaPrototype.fire = function() {
|
@@ -2067,7 +2067,7 @@ return this;
|
|
2067 |
};
|
2068 |
TextAreaPrototype.focus = function() {
|
2069 |
var b = this.p;
|
2070 |
-
b ? b.focus() :
|
2071 |
};
|
2072 |
TextAreaPrototype.focused = function() {
|
2073 |
return c && c === this.el;
|
@@ -2101,7 +2101,7 @@ return this;
|
|
2101 |
TextAreaPrototype.listen = function() {
|
2102 |
var b = this.l;
|
2103 |
b && b.kill();
|
2104 |
-
this.l =
|
2105 |
return this;
|
2106 |
};
|
2107 |
TextAreaPrototype.unlisten = function() {
|
@@ -2111,7 +2111,7 @@ return this;
|
|
2111 |
};
|
2112 |
TextAreaPrototype.setInvs = function(b, a) {
|
2113 |
var c = this.i || !1;
|
2114 |
-
if (a || c !== b) this._i && (this._i.kill(), delete this._i), (c = this.p) ? c.invs && c.invs(b) : b && (this._i =
|
2115 |
this.i = b;
|
2116 |
return this;
|
2117 |
};
|
@@ -2120,7 +2120,7 @@ return this.i || !1;
|
|
2120 |
};
|
2121 |
TextAreaPrototype.setMode = function(b) {
|
2122 |
var a = this.p, e = this.i || !1;
|
2123 |
-
b !== (this.m || "") && (this.m = b, a && a.kill(), this.p = a = "code" === b ?
|
2124 |
this.setInvs(e, !0), c && this.focus());
|
2125 |
return this;
|
2126 |
};
|
@@ -2144,13 +2144,13 @@ b && b.resize && b.resize();
|
|
2144 |
TextAreaPrototype = null;
|
2145 |
return f;
|
2146 |
}({}, y, w));
|
2147 |
-
|
2148 |
-
function
|
2149 |
var b = d.console;
|
2150 |
b && b.error && b.error(a);
|
2151 |
}
|
2152 |
-
function
|
2153 |
-
var b =
|
2154 |
a && b.setAttribute("class", a);
|
2155 |
return b;
|
2156 |
}
|
@@ -2185,9 +2185,9 @@ b.preventDefault();
|
|
2185 |
return !1;
|
2186 |
};
|
2187 |
}
|
2188 |
-
function
|
2189 |
function e(a) {
|
2190 |
-
|
2191 |
return {
|
2192 |
cellVal: function() {
|
2193 |
return "";
|
@@ -2195,64 +2195,64 @@ return "";
|
|
2195 |
};
|
2196 |
}
|
2197 |
return function(d) {
|
2198 |
-
var
|
2199 |
d.sort(function(a, b) {
|
2200 |
-
return
|
2201 |
});
|
2202 |
};
|
2203 |
}
|
2204 |
-
function
|
2205 |
this.w = a;
|
2206 |
}
|
2207 |
-
function
|
2208 |
this.t = a;
|
2209 |
this.length = 0;
|
2210 |
}
|
2211 |
-
function
|
2212 |
-
var e =
|
2213 |
e.className = c || "";
|
2214 |
this._ = e;
|
2215 |
this.d = b || [];
|
2216 |
this.i = a || 0;
|
2217 |
this.length = b.length;
|
2218 |
}
|
2219 |
-
function
|
2220 |
this.live = a;
|
2221 |
this.rows = [];
|
2222 |
}
|
2223 |
f.create = function(a) {
|
2224 |
-
return new
|
2225 |
};
|
2226 |
-
var s =
|
2227 |
s.init = function(d) {
|
2228 |
-
var
|
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 |
-
|
2232 |
d.eachCol(function(a, b, c) {
|
2233 |
-
v[a] =
|
2234 |
F[a] = c || b;
|
2235 |
});
|
2236 |
-
for (var N =
|
2237 |
-
|
2238 |
d.eachRow(function(a, b, c) {
|
2239 |
-
E[a] = new
|
2240 |
u[a] = a;
|
2241 |
});
|
2242 |
this.rows = E;
|
2243 |
-
this.cols =
|
2244 |
this.ww = null;
|
2245 |
-
this.root = N =
|
2246 |
this.head = f;
|
2247 |
f.redraw = c(this);
|
2248 |
-
f =
|
2249 |
-
|
2250 |
-
|
2251 |
-
|
2252 |
-
this.sc ? this._re_sort(
|
2253 |
this.redrawDirty();
|
2254 |
this.render();
|
2255 |
-
|
2256 |
return this;
|
2257 |
};
|
2258 |
s.clear = function() {
|
@@ -2263,12 +2263,12 @@ void 0;
|
|
2263 |
return this;
|
2264 |
};
|
2265 |
s.render = function() {
|
2266 |
-
for (var a, b, c = [], e = this.rows || [], d = -1,
|
2267 |
-
0 === d % 100 && (a =
|
2268 |
-
|
2269 |
-
|
2270 |
-
a = e[
|
2271 |
-
if (null == a) throw Error("Render error, no data at [" +
|
2272 |
a.page = b;
|
2273 |
b.rows.push(a);
|
2274 |
}
|
@@ -2282,11 +2282,11 @@ this._r = l);
|
|
2282 |
return this;
|
2283 |
};
|
2284 |
s.resize = function() {
|
2285 |
-
var a = -1, b = this.ww || (this.ww = []), c = this.w, e = c.cells[0], d = e.body.childNodes,
|
2286 |
-
for (c.redraw.call(e); ++a <
|
2287 |
if (v) {
|
2288 |
c = this.mx;
|
2289 |
-
for (a = this.mn; a <= c; a++)
|
2290 |
this.redrawDirty() && this.redraw();
|
2291 |
}
|
2292 |
};
|
@@ -2297,18 +2297,18 @@ this.vh !== b && (a = !0, this.vh = b);
|
|
2297 |
return a;
|
2298 |
};
|
2299 |
s.redraw = function() {
|
2300 |
-
for (var a = 0, b = -1, c = null, e = null, d = this.ww,
|
2301 |
-
a +=
|
2302 |
if (v !== c) {
|
2303 |
if (null !== v && c > v) for (b = v; b < c; b++) {
|
2304 |
-
|
2305 |
-
if (!
|
2306 |
-
|
2307 |
}
|
2308 |
this.mn = c;
|
2309 |
}
|
2310 |
-
if (
|
2311 |
-
if (null !==
|
2312 |
this.mx = e;
|
2313 |
}
|
2314 |
};
|
@@ -2332,11 +2332,11 @@ return this.tr(a)[b];
|
|
2332 |
};
|
2333 |
s.next = function(a, b, c) {
|
2334 |
null == c && (c = this.r || 0);
|
2335 |
-
var e = this.idxs, d = e.length,
|
2336 |
-
for (c =
|
2337 |
b = !1; else return null;
|
2338 |
-
c = e[
|
2339 |
-
return null == c || null == this.rows[c] ? (
|
2340 |
null) : c;
|
2341 |
};
|
2342 |
s.selectNext = function(a, b, c) {
|
@@ -2346,7 +2346,7 @@ return this;
|
|
2346 |
};
|
2347 |
s.deselect = function(a) {
|
2348 |
var b = this.r;
|
2349 |
-
null != b && (this.r = null,
|
2350 |
return this;
|
2351 |
};
|
2352 |
s.selectRow = function(a, b) {
|
@@ -2354,17 +2354,17 @@ return this.select(this.idxs[a]);
|
|
2354 |
};
|
2355 |
s.select = function(a, b) {
|
2356 |
var c = this.rows[a], e = c && c.page;
|
2357 |
-
if (!e) return this.deselect(!1),
|
2358 |
this.deselect(!0);
|
2359 |
-
var d,
|
2360 |
-
e.rendered || (d = e.top(),
|
2361 |
-
if (!c.rendered) return e.rendered ||
|
2362 |
this;
|
2363 |
e = c.cells();
|
2364 |
-
|
2365 |
this.r = a;
|
2366 |
-
b || (d =
|
2367 |
-
|
2368 |
this.w.fire("wgRowSelect", [ a, c.data() ]);
|
2369 |
return this;
|
2370 |
};
|
@@ -2378,18 +2378,18 @@ this.idxs = this._sort(a);
|
|
2378 |
return this.clear().render();
|
2379 |
};
|
2380 |
s.each = function(a) {
|
2381 |
-
for (var b, c = -1, e = this.rows || [], d = this.idxs || [],
|
2382 |
a(e[b], c, b);
|
2383 |
return this;
|
2384 |
};
|
2385 |
s.sortable = function(a) {
|
2386 |
-
var b = this.sc || (this.sc = new
|
2387 |
b.has(a) || b.add(a);
|
2388 |
return this;
|
2389 |
};
|
2390 |
s._re_sort = function(a) {
|
2391 |
var b = -1, c = this.sc, e = c.active;
|
2392 |
-
for (this.sc = c = new
|
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 |
};
|
@@ -2398,12 +2398,12 @@ b ? (this.s = b, b(a)) : (b = this.s) && b(a);
|
|
2398 |
return a;
|
2399 |
};
|
2400 |
s.sort = function(a, b) {
|
2401 |
-
this._sort(this.idxs,
|
2402 |
this.sc.activate(a, b);
|
2403 |
return this;
|
2404 |
};
|
2405 |
s = null;
|
2406 |
-
s =
|
2407 |
s.has = function(a) {
|
2408 |
return null != this[a];
|
2409 |
};
|
@@ -2428,14 +2428,14 @@ return this;
|
|
2428 |
s.activate = function(a, b) {
|
2429 |
var c, e;
|
2430 |
c = this.active;
|
2431 |
-
var d = this[a],
|
2432 |
-
c && (e =
|
2433 |
-
(e =
|
2434 |
d.css = c) : this.active = null;
|
2435 |
return this;
|
2436 |
};
|
2437 |
s = null;
|
2438 |
-
s =
|
2439 |
s.render = function(a) {
|
2440 |
var b, c = [], e = this._, d = this.length;
|
2441 |
if (e) {
|
@@ -2467,12 +2467,12 @@ a = this.d[a]() || "";
|
|
2467 |
return String(a.textContent || a);
|
2468 |
};
|
2469 |
s = null;
|
2470 |
-
s =
|
2471 |
s.size = function() {
|
2472 |
return this.rows.length;
|
2473 |
};
|
2474 |
s.insert = function(a) {
|
2475 |
-
var b = this.h, c =
|
2476 |
c.style.height = String(b) + "px";
|
2477 |
a.appendChild(c);
|
2478 |
return this.dead = c;
|
@@ -2483,15 +2483,15 @@ return (this.rendered ? this.live : this.dead).offsetTop;
|
|
2483 |
s.height = function() {
|
2484 |
var a = this.h;
|
2485 |
null == a && (this.h = a = this.rendered ? this.live.firstChild.offsetHeight : this.dead.offsetHight);
|
2486 |
-
a ||
|
2487 |
return a;
|
2488 |
};
|
2489 |
s.render = function(a) {
|
2490 |
-
for (var b, c = -1, e = this.rows, d = e.length,
|
2491 |
b.rendered || b.render(v);
|
2492 |
d = a.length;
|
2493 |
for (c = 0; c < d; c++) v[c].style.width = a[c];
|
2494 |
-
|
2495 |
this.rendered = !0;
|
2496 |
this.h = null;
|
2497 |
return this;
|
@@ -2522,27 +2522,27 @@ for (a.parentNode.removeChild(a); 0 !== c--; ) b[c].destroy();
|
|
2522 |
s = null;
|
2523 |
return f;
|
2524 |
}({}, y, w));
|
2525 |
-
|
2526 |
-
function
|
2527 |
-
var c = a.id, e = c &&
|
2528 |
if (!e || !d) return null;
|
2529 |
-
var
|
2530 |
-
null == c && (c = b[
|
2531 |
-
c && (
|
2532 |
-
|
2533 |
return {
|
2534 |
done: function() {
|
2535 |
-
|
2536 |
},
|
2537 |
move: function(a) {
|
2538 |
-
d.resize(a[
|
2539 |
return !0;
|
2540 |
}
|
2541 |
};
|
2542 |
}
|
2543 |
-
function
|
2544 |
function e() {
|
2545 |
-
|
2546 |
x && (x.done(), x = null);
|
2547 |
return !0;
|
2548 |
}
|
@@ -2551,14 +2551,14 @@ x ? x.move(a) : e();
|
|
2551 |
return !0;
|
2552 |
}
|
2553 |
if (x) return !0;
|
2554 |
-
x =
|
2555 |
if (!x) return !0;
|
2556 |
-
|
2557 |
return b(a);
|
2558 |
}
|
2559 |
function c(a, b) {
|
2560 |
var c = b.type;
|
2561 |
-
"touchmove" === c ? x && x.move(b) : "touchstart" === c ? x =
|
2562 |
x = null);
|
2563 |
}
|
2564 |
function b(a) {
|
@@ -2573,37 +2573,37 @@ a && a.redraw();
|
|
2573 |
return B = a;
|
2574 |
}
|
2575 |
function e(b, c) {
|
2576 |
-
var e =
|
2577 |
e.trigger("wgFocus", [ a(b) ]);
|
2578 |
}).on("editBlur", function() {
|
2579 |
e.trigger("wgBlur", [ a(null) ]);
|
2580 |
});
|
2581 |
}
|
2582 |
-
function
|
2583 |
var b = a.id, c = a.className;
|
2584 |
this.id = b;
|
2585 |
this.el = a;
|
2586 |
this.pos = this.index = 0;
|
2587 |
this.css = [ c || "wg-root", "wg-cell" ];
|
2588 |
this._cn = c;
|
2589 |
-
|
2590 |
this.clear();
|
2591 |
}
|
2592 |
-
var
|
2593 |
f.init = function(a) {
|
2594 |
-
var b = new
|
2595 |
b.redraw();
|
2596 |
-
|
2597 |
b.dragger(a, c);
|
2598 |
});
|
2599 |
-
|
2600 |
return b;
|
2601 |
};
|
2602 |
-
d =
|
2603 |
d.fire = function(a, b) {
|
2604 |
-
var c =
|
2605 |
c.cell = this;
|
2606 |
-
|
2607 |
return this;
|
2608 |
};
|
2609 |
d.each = function(a) {
|
@@ -2611,7 +2611,7 @@ for (var b = -1, c = this.cells, e = c.length; ++b < e; ) a(c[b], b);
|
|
2611 |
return this;
|
2612 |
};
|
2613 |
d.indexOf = function(a) {
|
2614 |
-
return (a =
|
2615 |
};
|
2616 |
d.on = function() {
|
2617 |
return this.$("on", arguments);
|
@@ -2620,10 +2620,10 @@ d.off = function() {
|
|
2620 |
return this.$("off", arguments);
|
2621 |
};
|
2622 |
d.find = function(a) {
|
2623 |
-
return
|
2624 |
};
|
2625 |
d.$ = function(a, b) {
|
2626 |
-
|
2627 |
return this;
|
2628 |
};
|
2629 |
d.addClass = function(a) {
|
@@ -2636,7 +2636,7 @@ a = this.css.indexOf(a);
|
|
2636 |
return this;
|
2637 |
};
|
2638 |
d.parent = function() {
|
2639 |
-
return this.pid &&
|
2640 |
};
|
2641 |
d.splitx = function() {
|
2642 |
return this._split(s, arguments);
|
@@ -2646,17 +2646,17 @@ 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,
|
2650 |
-
e =
|
2651 |
this.body.appendChild(e);
|
2652 |
-
for (var f = e,
|
2653 |
-
f.id =
|
2654 |
-
e = new
|
2655 |
e.index = c;
|
2656 |
e.pid = this.id;
|
2657 |
e._locale(this.lang, this.rtl);
|
2658 |
-
e.pos =
|
2659 |
-
|
2660 |
this.cells.push(e);
|
2661 |
this.length++;
|
2662 |
}
|
@@ -2666,40 +2666,40 @@ return this.cells;
|
|
2666 |
};
|
2667 |
d.destroy = function() {
|
2668 |
this.clear();
|
2669 |
-
delete
|
2670 |
var a = this.el;
|
2671 |
a.innerHTML = "";
|
2672 |
this.body = null;
|
2673 |
a.className = this._cn || "";
|
2674 |
-
|
2675 |
return this;
|
2676 |
};
|
2677 |
d.exists = function() {
|
2678 |
-
return this ===
|
2679 |
};
|
2680 |
d.clear = function() {
|
2681 |
-
for (var a = this.el, b = this.cells, c = this.field, e = this.body, d = this.nav,
|
2682 |
this.cells = [];
|
2683 |
this.length = 0;
|
2684 |
d && (a.removeChild(d), this.nav = null);
|
2685 |
-
e && (c && (
|
2686 |
this.table && (this.table = null), a === e.parentNode && a.removeChild(e));
|
2687 |
-
this.body = a.appendChild(
|
2688 |
this._h = null;
|
2689 |
return this;
|
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 =
|
2694 |
pad = (b.body || b.el.firstChild).offsetTop || 0;
|
2695 |
-
max = (
|
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,
|
2703 |
this.redraw();
|
2704 |
return this;
|
2705 |
};
|
@@ -2722,25 +2722,25 @@ d.redraw = function(a) {
|
|
2722 |
this.restyle();
|
2723 |
var b = this.el, c = this.body, e = this.field;
|
2724 |
if (c) {
|
2725 |
-
var d,
|
2726 |
-
this._h !==
|
2727 |
-
this._w !==
|
2728 |
d && d.redraw();
|
2729 |
}
|
2730 |
c = this.length;
|
2731 |
-
|
2732 |
-
|
2733 |
-
for (
|
2734 |
-
d =
|
2735 |
return this;
|
2736 |
};
|
2737 |
d.contents = function(a, b) {
|
2738 |
var c = this.el, e = this.body;
|
2739 |
if (null == a) return e.innerHTML;
|
2740 |
this.length ? this.clear() : e && (c.removeChild(e), e = null);
|
2741 |
-
e || (this.body = e = c.appendChild(
|
2742 |
(c = this.lang) && this._locale(c, this.rtl, !0));
|
2743 |
-
"string" === typeof a ?
|
2744 |
this.redraw();
|
2745 |
return this;
|
2746 |
};
|
@@ -2750,14 +2750,14 @@ if (c) {
|
|
2750 |
var d = c.editable();
|
2751 |
c.reload(a, b);
|
2752 |
d !== b && this.restyle();
|
2753 |
-
} else this.length && this.clear(), d =
|
2754 |
-
d.value = a, this.contents(d), c =
|
2755 |
e(this, d), this.field = c, this.restyle();
|
2756 |
this.lang || this.locale("en");
|
2757 |
return c;
|
2758 |
};
|
2759 |
d.locale = function(a) {
|
2760 |
-
a =
|
2761 |
return this._locale(String(a), a.isRTL());
|
2762 |
};
|
2763 |
d._locale = function(a, b, c) {
|
@@ -2784,26 +2784,26 @@ b.eachTextarea(a);
|
|
2784 |
return this;
|
2785 |
};
|
2786 |
d.append = function(a) {
|
2787 |
-
a && (a.nodeType ?
|
2788 |
return this;
|
2789 |
};
|
2790 |
d.prepend = function(a) {
|
2791 |
var b = this.body;
|
2792 |
if (a.nodeType) {
|
2793 |
var c = b.firstChild;
|
2794 |
-
|
2795 |
-
} else
|
2796 |
return this;
|
2797 |
};
|
2798 |
d.before = function(a) {
|
2799 |
var b = this.body;
|
2800 |
-
a.nodeType ?
|
2801 |
return this;
|
2802 |
};
|
2803 |
d.header = function(a, b) {
|
2804 |
if (null == a && null == b) return this.el.getElementsByTagName("header")[0];
|
2805 |
-
this.t =
|
2806 |
-
this.el.insertBefore(
|
2807 |
this.redraw();
|
2808 |
return this;
|
2809 |
};
|
@@ -2818,7 +2818,7 @@ var a = this.t;
|
|
2818 |
return a && a.nodeValue;
|
2819 |
};
|
2820 |
d.bodyY = function() {
|
2821 |
-
return
|
2822 |
};
|
2823 |
d.scrollY = function(a) {
|
2824 |
if (J === a) return this.body.scrollTop;
|
@@ -2826,7 +2826,7 @@ this.body.scrollTop = a;
|
|
2826 |
};
|
2827 |
d.tabulate = function(a) {
|
2828 |
var b = this.table;
|
2829 |
-
b ? b.clear() : b =
|
2830 |
b.init(a);
|
2831 |
return this.table = b;
|
2832 |
};
|
@@ -2837,67 +2837,67 @@ return this;
|
|
2837 |
d.scrollTo = function(a, b) {
|
2838 |
var c, e = this.body;
|
2839 |
c = e.scrollTop;
|
2840 |
-
var d =
|
2841 |
if (c > d) c = d; else {
|
2842 |
-
var
|
2843 |
-
if (
|
2844 |
}
|
2845 |
-
b ? e.scrollTop = c :
|
2846 |
scrollTop: c
|
2847 |
}, 250);
|
2848 |
};
|
2849 |
d.navigize = function(a, c) {
|
2850 |
function e(a) {
|
2851 |
-
var b =
|
2852 |
c.addClass("active");
|
2853 |
-
|
2854 |
-
|
2855 |
b.fire("wgTabSelect", [ a ]);
|
2856 |
return d;
|
2857 |
}
|
2858 |
-
var d = this,
|
2859 |
-
|
2860 |
-
var
|
2861 |
-
var c =
|
2862 |
if (null == c) return !0;
|
2863 |
-
if (null !=
|
2864 |
-
var g = f[
|
2865 |
-
h
|
2866 |
g.removeClass("active");
|
2867 |
}
|
2868 |
e(c);
|
2869 |
d.redraw();
|
2870 |
return b(a);
|
2871 |
});
|
2872 |
-
null == c && (c =
|
2873 |
d.each(function(b, c) {
|
2874 |
-
f[c] =
|
2875 |
b.pos = 0;
|
2876 |
-
|
2877 |
});
|
2878 |
-
e(
|
2879 |
d.lock();
|
2880 |
d.redraw();
|
2881 |
return d;
|
2882 |
};
|
2883 |
d.navigated = function() {
|
2884 |
var a = this.nav;
|
2885 |
-
if (a) return
|
2886 |
};
|
2887 |
d = null;
|
2888 |
return f;
|
2889 |
}({}, y, w));
|
2890 |
-
|
2891 |
-
function
|
2892 |
var b = [];
|
2893 |
a && (a.saved() || b.push("po-unsaved"), a.fuzzy() ? b.push("po-fuzzy") : a.flagged() && b.push("po-flagged"),
|
2894 |
a.translation() || b.push("po-empty"), a.comment() && b.push("po-comment"));
|
2895 |
return b.join(" ");
|
2896 |
}
|
2897 |
-
function
|
2898 |
-
b =
|
2899 |
var e = b.find("span.lang");
|
2900 |
-
c ? (c =
|
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);
|
@@ -2913,8 +2913,8 @@ return e;
|
|
2913 |
function b() {
|
2914 |
this.dirty = 0;
|
2915 |
}
|
2916 |
-
|
2917 |
-
var a = "poUpdate", e = "changing",
|
2918 |
f.extend = function(a) {
|
2919 |
return a.prototype = new b();
|
2920 |
};
|
@@ -2928,7 +2928,7 @@ return function(b) {
|
|
2928 |
a.innerHTML = b.replace("src=", "x=");
|
2929 |
return a.textContent.trim() || b.trim();
|
2930 |
};
|
2931 |
-
}(), u = b.prototype =
|
2932 |
u.init = function() {
|
2933 |
this.localise();
|
2934 |
this.editable = {
|
@@ -2940,14 +2940,14 @@ this.html = !1;
|
|
2940 |
return this;
|
2941 |
};
|
2942 |
u.localise = function(a) {
|
2943 |
-
a || (a = x ||
|
2944 |
var b = [];
|
2945 |
-
b[
|
2946 |
-
b[
|
2947 |
b[s] = a._x("Context", "Editor") + ":";
|
2948 |
-
b[
|
2949 |
-
b[
|
2950 |
-
b[
|
2951 |
b[6] = a._x("Untranslated", "Editor");
|
2952 |
b[7] = a._x("Translated", "Editor");
|
2953 |
b[8] = a._x("Toggle Fuzzy", "Editor");
|
@@ -2961,22 +2961,22 @@ function b(a) {
|
|
2961 |
c.redraw(!0, a);
|
2962 |
return !0;
|
2963 |
}
|
2964 |
-
var c =
|
2965 |
-
|
2966 |
this.redraw = b;
|
2967 |
-
|
2968 |
a.stopPropagation();
|
2969 |
B = b;
|
2970 |
});
|
2971 |
this.destroy = function() {
|
2972 |
c.destroy();
|
2973 |
-
|
2974 |
};
|
2975 |
this.rootDiv = a;
|
2976 |
return c;
|
2977 |
};
|
2978 |
u.$ = function() {
|
2979 |
-
return
|
2980 |
};
|
2981 |
u.setListCell = function(a) {
|
2982 |
var b = this;
|
@@ -2996,12 +2996,12 @@ u.setTargetCell = function(a) {
|
|
2996 |
this.targetCell = a;
|
2997 |
};
|
2998 |
u.next = function(a, b, c) {
|
2999 |
-
for (var e = this.listTable, d = e.selected(),
|
3000 |
-
if (
|
3001 |
d = null;
|
3002 |
break;
|
3003 |
}
|
3004 |
-
if (b && (
|
3005 |
break;
|
3006 |
}
|
3007 |
null != d && e.select(d, !0);
|
@@ -3040,16 +3040,16 @@ u.filtered = function() {
|
|
3040 |
return this.lastSearch || "";
|
3041 |
};
|
3042 |
u.filter = function(a, b) {
|
3043 |
-
var c, e = this.listTable, d = this.lastFound,
|
3044 |
if (a) {
|
3045 |
-
if (
|
3046 |
-
if (
|
3047 |
c = this.dict.find(a);
|
3048 |
}
|
3049 |
-
this.lastSearch =
|
3050 |
this.lastFound = d = c ? c.length : this.po.length;
|
3051 |
c ? e.filter(c) : e.unfilter();
|
3052 |
-
b || this.fire("poFilter", [
|
3053 |
return d;
|
3054 |
};
|
3055 |
u.countFiltered = function() {
|
@@ -3067,8 +3067,8 @@ u.markUnsaved = function(a) {
|
|
3067 |
var b = this.po.indexOf(a);
|
3068 |
if ((b = this.listTable.tr(b)) && b.length) {
|
3069 |
var c = b[0].className;
|
3070 |
-
a = c.replace(/(?:^| +)po-[a-z]+/g, "") + " " +
|
3071 |
-
a !== c &&
|
3072 |
}
|
3073 |
};
|
3074 |
u.save = function(a) {
|
@@ -3082,7 +3082,7 @@ return b;
|
|
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 =
|
3086 |
this.$().trigger(c, b);
|
3087 |
return !c.isDefaultPrevented();
|
3088 |
};
|
@@ -3094,20 +3094,20 @@ u.getSorter = function() {
|
|
3094 |
return null;
|
3095 |
};
|
3096 |
u.reload = function() {
|
3097 |
-
var a = this, b, c = a.listCell, e = a.listTable, d = a.po,
|
3098 |
if (!d || !d.row) return c && c.clear().header("Error").contents("Invalid messages list"),
|
3099 |
!1;
|
3100 |
-
a.targetLocale =
|
3101 |
-
a.lastSearch && (a.lastSearch = "", a.lastFound =
|
3102 |
e && (b = e.thead().distribution());
|
3103 |
a.listTable = e = c.tabulate({
|
3104 |
eachCol: function(b) {
|
3105 |
-
var c, e, d = a.getListColumns(),
|
3106 |
-
for (e in d) c = d[e], b(c, e,
|
3107 |
},
|
3108 |
eachRow: function(b) {
|
3109 |
d.each(function(c, e) {
|
3110 |
-
b(e.idx, a.getListEntry(e),
|
3111 |
});
|
3112 |
},
|
3113 |
sort: a.getSorter()
|
@@ -3115,9 +3115,9 @@ sort: a.getSorter()
|
|
3115 |
var l, c = a.getListColumns();
|
3116 |
for (l in c) e.sortable(c[l]);
|
3117 |
b && e.thead().distribute(b);
|
3118 |
-
e.tbody().$(
|
3119 |
a.fire("poLoad");
|
3120 |
-
return !!
|
3121 |
};
|
3122 |
u.load = function(a, b) {
|
3123 |
this.po = a;
|
@@ -3149,27 +3149,27 @@ u.setStatus = function() {
|
|
3149 |
return null;
|
3150 |
};
|
3151 |
u.setSrcMeta = function(a, b) {
|
3152 |
-
var e = [], d,
|
3153 |
-
if (d = a.context()) l.push("<span>" + r(
|
3154 |
-
if (
|
3155 |
l.length && e.push(l.join(" "));
|
3156 |
-
if (this.getMono() && (d = a.refs()) && (f = d.split(/\s/),
|
3157 |
-
for (l = []; 0 <= --
|
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">' + r(d, !0) + "</p>");
|
3161 |
-
e.length ? (
|
3162 |
-
c(this,
|
3163 |
-
|
3164 |
-
return
|
3165 |
};
|
3166 |
u.setTrgMeta = function(a, b, c) {
|
3167 |
-
var e = [], d = !1,
|
3168 |
b = (a = a.errors(b)) && a.length;
|
3169 |
-
var
|
3170 |
-
if (b) for (
|
3171 |
-
e.length ? (
|
3172 |
-
this.$tmeta =
|
3173 |
d = !0);
|
3174 |
return d;
|
3175 |
};
|
@@ -3182,101 +3182,101 @@ e[0] = a.charAt(0).toUpperCase() + a.substr(1).toLowerCase();
|
|
3182 |
return e.join(" ");
|
3183 |
}
|
3184 |
function d(a, e) {
|
3185 |
-
var
|
3186 |
a.off();
|
3187 |
-
a.titled() !==
|
3188 |
-
|
3189 |
-
r.setSrcMeta(b, a) && (
|
3190 |
if (b.plural()) {
|
3191 |
-
var
|
3192 |
-
if (2 !==
|
3193 |
-
|
3194 |
-
a.splity.apply(a,
|
3195 |
a.each(function(a, c) {
|
3196 |
-
a.header(
|
3197 |
});
|
3198 |
a.lock();
|
3199 |
-
|
3200 |
f(a, b);
|
3201 |
});
|
3202 |
-
} else
|
3203 |
-
|
3204 |
}
|
3205 |
function f(c, d) {
|
3206 |
c.on(e, function(a, c) {
|
3207 |
b.source(c, d);
|
3208 |
0 === d && r.updateListCell(b, "source");
|
3209 |
r.unsave(b, d);
|
3210 |
-
}).on(
|
3211 |
0 === d && r.po.reIndex(b);
|
3212 |
r.dict && r.rebuildSearch();
|
3213 |
r.fire(a, [ b ]);
|
3214 |
});
|
3215 |
}
|
3216 |
-
function
|
3217 |
M && a.eachTextarea(function(a) {
|
3218 |
a.ping();
|
3219 |
});
|
3220 |
a.off();
|
3221 |
-
var
|
3222 |
-
a.titled() !==
|
3223 |
-
|
3224 |
-
!this.sourceCell && r.setSrcMeta(b, a) && (
|
3225 |
-
r.setTrgMeta(b, d, a) && (
|
3226 |
r.setStatus(b, d);
|
3227 |
if (1 !== e.nplurals && b.pluralized()) {
|
3228 |
-
var
|
3229 |
-
var b =
|
3230 |
-
|
3231 |
-
|
3232 |
};
|
3233 |
-
for (b.each(
|
3234 |
-
a.splitx.apply(a,
|
3235 |
a.each(function(a, c) {
|
3236 |
var e = M && !b.disabled(c);
|
3237 |
a.textarea(b.translation(c), e).setStrf(C).setMode(x).setInvs(w);
|
3238 |
-
M &&
|
3239 |
});
|
3240 |
-
a.navigize(
|
3241 |
var d = M && c.cell.editable();
|
3242 |
d && d.focus();
|
3243 |
r.setTrgMeta(b, e, a);
|
3244 |
r.setStatus(b, e);
|
3245 |
r.fire("poTab", [ e ]);
|
3246 |
});
|
3247 |
-
} else
|
3248 |
-
M &&
|
3249 |
}
|
3250 |
-
function
|
3251 |
c.on(e, function(a, c, e) {
|
3252 |
b.translate(c, d);
|
3253 |
0 === d && r.updateListCell(b, "target");
|
3254 |
b.fuzzy(d) ? r.fuzzy(!1, b, d) : r.unsave(b, d);
|
3255 |
"" === c ? (r.fire("poEmpty", [ !0, b, d ]), r.setStatus(b, d)) : "" === e && (r.fire("poEmpty", [ !1, b, d ]),
|
3256 |
r.setStatus(b, d));
|
3257 |
-
}).on(
|
3258 |
r.dict && r.rebuildSearch();
|
3259 |
r.fire(a, [ b ]);
|
3260 |
});
|
3261 |
}
|
3262 |
-
function
|
3263 |
c.off();
|
3264 |
var d = L[s];
|
3265 |
-
c.titled() !== d && (
|
3266 |
c.textarea(b.context(), !0).setMode(x).setInvs(w);
|
3267 |
X && c.on(e, function(a, c) {
|
3268 |
b.context(c);
|
3269 |
r.updateListCell(b, "source");
|
3270 |
r.unsave(b, O);
|
3271 |
-
}).on(
|
3272 |
r.po.reIndex(b);
|
3273 |
r.dict && r.rebuildSearch();
|
3274 |
r.fire(a, [ b ]);
|
3275 |
});
|
3276 |
}
|
3277 |
function u(a) {
|
3278 |
-
var c = L[
|
3279 |
-
a.titled() !== c &&
|
3280 |
a.off().on(e, function(a, c) {
|
3281 |
b.comment(c);
|
3282 |
r.fire("poComment", [ b, c ]);
|
@@ -3287,8 +3287,8 @@ var r = this, x = r.mode, D = b.isHTML(), w = r.inv || !1, E = this.fmt || null,
|
|
3287 |
r.html !== D && (r.html = D, "code" !== r.mode && (x = D ? "html" : "", r.setMode(x)));
|
3288 |
r.active = b;
|
3289 |
T && d(T, Y);
|
3290 |
-
U &&
|
3291 |
-
S && W && (O = S.navigated() || 0,
|
3292 |
V && u(V);
|
3293 |
P && (P.exists() || (P = P.parent()), (D = P.editable()) && D.focus());
|
3294 |
E !== C && (this.fmt = C);
|
@@ -3406,8 +3406,8 @@ return this;
|
|
3406 |
u = null;
|
3407 |
return f;
|
3408 |
}({}, y, w));
|
3409 |
-
|
3410 |
-
function
|
3411 |
this.init()._validate();
|
3412 |
this.sourceLocale = {
|
3413 |
lang: "en",
|
@@ -3415,38 +3415,38 @@ label: "English",
|
|
3415 |
plurals: [ "One", "Other" ]
|
3416 |
};
|
3417 |
}
|
3418 |
-
function
|
3419 |
-
a =
|
3420 |
-
|
3421 |
return a;
|
3422 |
}
|
3423 |
function c(a) {
|
3424 |
-
return
|
3425 |
b.preventDefault();
|
3426 |
a.focus().fuzzy(!a.fuzzy());
|
3427 |
});
|
3428 |
}
|
3429 |
function b(a) {
|
3430 |
-
return
|
3431 |
b.preventDefault();
|
3432 |
a.fire("poHint");
|
3433 |
});
|
3434 |
}
|
3435 |
-
d =
|
3436 |
f.init = function(a) {
|
3437 |
-
var b = new
|
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"),
|
3440 |
a.distribute([ .34 ]);
|
3441 |
g.distribute([ .8 ]);
|
3442 |
b.setListCell(d);
|
3443 |
-
b.setSourceCell(
|
3444 |
b.setTargetCell(c);
|
3445 |
-
b.commentCell =
|
3446 |
b.editable.source = !1;
|
3447 |
return b;
|
3448 |
};
|
3449 |
-
d =
|
3450 |
d.getListHeadings = function() {
|
3451 |
var a = this.t || {
|
3452 |
_x: function(a) {
|
@@ -3465,8 +3465,8 @@ return a;
|
|
3465 |
};
|
3466 |
d.getListEntry = function(a) {
|
3467 |
var b = this.cellText, c = [ function() {
|
3468 |
-
var c, d = b(a.source() || ""),
|
3469 |
-
return
|
3470 |
c.appendChild(D.createTextNode(" " + d)), c) : d;
|
3471 |
} ];
|
3472 |
this.targetLocale && (c[1] = function() {
|
@@ -3512,7 +3512,7 @@ return !this._unlocked;
|
|
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 =
|
3516 |
var d = [];
|
3517 |
a.translated() ? a.fuzzy() && d.push("po-fuzzy") : d.push("po-empty");
|
3518 |
e.attr("class", d.join(" "));
|
@@ -3520,24 +3520,24 @@ e.attr("class", d.join(" "));
|
|
3520 |
};
|
3521 |
d.getSorter = function() {
|
3522 |
function a(a, c) {
|
3523 |
-
var d = a.weight(),
|
3524 |
-
return d ===
|
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,
|
3532 |
d.sort(function(a, b) {
|
3533 |
-
return
|
3534 |
});
|
3535 |
};
|
3536 |
};
|
3537 |
return f;
|
3538 |
}({}, y, w));
|
3539 |
-
|
3540 |
-
var
|
3541 |
copy: 66,
|
3542 |
clear: 75,
|
3543 |
save: 83,
|
@@ -3547,7 +3547,7 @@ prev: 38,
|
|
3547 |
enter: 13,
|
3548 |
invis: 73,
|
3549 |
hint: 74
|
3550 |
-
},
|
3551 |
38: !0,
|
3552 |
40: !0,
|
3553 |
73: !0
|
@@ -3583,42 +3583,42 @@ f.init = function(b, a) {
|
|
3583 |
function e(a) {
|
3584 |
if (a.isDefaultPrevented() || !a.metaKey && !a.ctrlKey) return !0;
|
3585 |
var e = a.which;
|
3586 |
-
if (!
|
3587 |
var d = c[e];
|
3588 |
if (!d) throw Error("command undefined #" + e);
|
3589 |
-
if (a.altKey || a.shiftKey && !
|
3590 |
a.stopPropagation();
|
3591 |
a.preventDefault();
|
3592 |
return !1;
|
3593 |
}
|
3594 |
-
var
|
3595 |
-
|
3596 |
return {
|
3597 |
add: function(a, b) {
|
3598 |
-
c[
|
3599 |
return this;
|
3600 |
},
|
3601 |
enable: function() {
|
3602 |
var a, b;
|
3603 |
-
for (b in arguments) a =
|
3604 |
return this;
|
3605 |
},
|
3606 |
disable: function() {
|
3607 |
-
|
3608 |
-
b = a =
|
3609 |
}
|
3610 |
};
|
3611 |
};
|
3612 |
return f;
|
3613 |
}({}, y, w));
|
3614 |
-
|
3615 |
-
function
|
3616 |
this.reIndex([]);
|
3617 |
}
|
3618 |
f.init = function() {
|
3619 |
-
return new
|
3620 |
};
|
3621 |
-
d =
|
3622 |
d.reIndex = function(d) {
|
3623 |
for (var c = {}, b = -1, a = d.length; ++b < a; ) c[d[b]] = b;
|
3624 |
this.keys = d;
|
@@ -3667,11 +3667,11 @@ for (var c = -1, b = this.keys, a = this.length; ++c < a; ) d(b[c], this[c], c);
|
|
3667 |
return this;
|
3668 |
};
|
3669 |
d.sort = function(d) {
|
3670 |
-
for (var c = -1, b = this.length, a, e = this.keys,
|
3671 |
-
|
3672 |
return d(a[0], b[0]);
|
3673 |
});
|
3674 |
-
for (c = 0; c < b; c++) a =
|
3675 |
return this;
|
3676 |
};
|
3677 |
d.join = function(d) {
|
@@ -3680,28 +3680,28 @@ return [].join.call(this, d);
|
|
3680 |
d = null;
|
3681 |
return f;
|
3682 |
}({}, y, w));
|
3683 |
-
|
3684 |
-
function
|
3685 |
var b = RegExp("^.{0," + (d - 1) + "}[" + c + "]"), a = RegExp("^[^" + c + "]+");
|
3686 |
-
return function(c,
|
3687 |
-
for (var
|
3688 |
-
|
3689 |
-
if (null ==
|
3690 |
-
|
3691 |
-
|
3692 |
-
|
3693 |
-
|
3694 |
-
c = c.substr(
|
3695 |
}
|
3696 |
-
0 !==
|
3697 |
-
return
|
3698 |
};
|
3699 |
}
|
3700 |
f.create = function(d) {
|
3701 |
function c(a) {
|
3702 |
-
return
|
3703 |
}
|
3704 |
-
var b, a, e = /(?:\r\n|[\r\n\v\f\u2028\u2029])/g,
|
3705 |
"\t": "\\t",
|
3706 |
"\v": "\\v",
|
3707 |
"\f": "\\f",
|
@@ -3709,27 +3709,27 @@ var b, a, e = /(?:\r\n|[\r\n\v\f\u2028\u2029])/g, m = /[ \r\n]+/g, k = /[\t\v\f\
|
|
3709 |
"\b": "\\b"
|
3710 |
};
|
3711 |
if (null == d || isNaN(d = Number(d))) d = 79;
|
3712 |
-
0 < d && (b =
|
3713 |
return {
|
3714 |
-
pair: function(b,
|
3715 |
-
if (!
|
3716 |
-
|
3717 |
-
var
|
3718 |
-
|
3719 |
-
|
3720 |
return "\\n\n";
|
3721 |
});
|
3722 |
-
if (!(
|
3723 |
-
var
|
3724 |
-
if (a) for (var n = -1,
|
3725 |
-
return
|
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(
|
3733 |
b && (a = b(a, []).join("\n#: "));
|
3734 |
return "#: " + a;
|
3735 |
}
|
@@ -3737,14 +3737,14 @@ return "#: " + a;
|
|
3737 |
};
|
3738 |
return f;
|
3739 |
}({}, y, w));
|
3740 |
-
|
3741 |
-
function
|
3742 |
this.length = 0;
|
3743 |
}
|
3744 |
f.init = function() {
|
3745 |
-
return new
|
3746 |
};
|
3747 |
-
d =
|
3748 |
d.push = function(d) {
|
3749 |
this[this.length++] = d;
|
3750 |
return this;
|
@@ -3759,12 +3759,12 @@ return this;
|
|
3759 |
};
|
3760 |
return f;
|
3761 |
}({}, y, w));
|
3762 |
-
|
3763 |
-
function
|
3764 |
f.extend = function(d) {
|
3765 |
-
return d.prototype = new
|
3766 |
};
|
3767 |
-
d =
|
3768 |
d.row = function(d) {
|
3769 |
return this.rows[d];
|
3770 |
};
|
@@ -3782,7 +3782,7 @@ this.loc = null;
|
|
3782 |
return d;
|
3783 |
};
|
3784 |
d.locale = function(d) {
|
3785 |
-
null == d ? d = this.loc : this.loc = d =
|
3786 |
return d;
|
3787 |
};
|
3788 |
d.each = function(d) {
|
@@ -3820,25 +3820,25 @@ this.rows.sort(d);
|
|
3820 |
return this;
|
3821 |
};
|
3822 |
d["export"] = function() {
|
3823 |
-
for (var d = -1, c = this.rows, b = c.length, a =
|
3824 |
return a;
|
3825 |
};
|
3826 |
d = null;
|
3827 |
return f;
|
3828 |
}({}, y, w));
|
3829 |
-
|
3830 |
-
function
|
3831 |
if (null == a) return c[b] || "";
|
3832 |
c[b] = a || "";
|
3833 |
return c;
|
3834 |
}
|
3835 |
-
function
|
3836 |
this._id = this.id = "";
|
3837 |
}
|
3838 |
f.extend = function(c) {
|
3839 |
-
return c.prototype = new
|
3840 |
};
|
3841 |
-
d =
|
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,7 +3851,7 @@ for (c = b.length; 0 !== c--; ) if (b[c]) return !0;
|
|
3851 |
return !1;
|
3852 |
};
|
3853 |
d.flags = function() {
|
3854 |
-
for (var c, b = {}, a = [], d = this.flg || [],
|
3855 |
b[c] || (b[c] = !0, a.push(c));
|
3856 |
return a;
|
3857 |
};
|
@@ -3883,7 +3883,7 @@ d.targetForms = function() {
|
|
3883 |
return this.msgF;
|
3884 |
};
|
3885 |
d.each = function(c) {
|
3886 |
-
for (var b = -1, a = this.src, d = this.msg,
|
3887 |
return this;
|
3888 |
};
|
3889 |
d.count = function() {
|
@@ -3922,19 +3922,19 @@ for (c = 0; c < a; c++) if (b[c]) return !1;
|
|
3922 |
return !0;
|
3923 |
};
|
3924 |
d.comment = function(c) {
|
3925 |
-
return
|
3926 |
};
|
3927 |
d.notes = function(c) {
|
3928 |
-
return
|
3929 |
};
|
3930 |
d.refs = function(c) {
|
3931 |
-
return
|
3932 |
};
|
3933 |
d.format = function(c) {
|
3934 |
-
return
|
3935 |
};
|
3936 |
d.context = function(c) {
|
3937 |
-
return
|
3938 |
};
|
3939 |
d.tags = function() {
|
3940 |
return this.tg;
|
@@ -3989,8 +3989,8 @@ this.htm = c;
|
|
3989 |
d = null;
|
3990 |
return f;
|
3991 |
}({}, y, w));
|
3992 |
-
|
3993 |
-
function
|
3994 |
return {
|
3995 |
"Project-Id-Version": "PACKAGE VERSION",
|
3996 |
"Report-Msgid-Bugs-To": "",
|
@@ -4005,7 +4005,7 @@ Language: "",
|
|
4005 |
"Content-Transfer-Encoding": "8bit"
|
4006 |
};
|
4007 |
}
|
4008 |
-
function
|
4009 |
var c = a || "";
|
4010 |
b && (c += "\0" + b);
|
4011 |
return c;
|
@@ -4015,12 +4015,12 @@ var b = d.console;
|
|
4015 |
b && b.error && b.error(a.message || String(a));
|
4016 |
}
|
4017 |
function b(a) {
|
4018 |
-
return
|
4019 |
}
|
4020 |
function a(a) {
|
4021 |
this.locale(a);
|
4022 |
this.clear();
|
4023 |
-
this.head =
|
4024 |
}
|
4025 |
function e(a, b) {
|
4026 |
this.src = [ a || "" ];
|
@@ -4029,13 +4029,13 @@ this.msg = [ b || "" ];
|
|
4029 |
f.create = function(b) {
|
4030 |
return new a(b);
|
4031 |
};
|
4032 |
-
|
4033 |
-
|
4034 |
-
this.rows =
|
4035 |
this.length = 0;
|
4036 |
return this;
|
4037 |
};
|
4038 |
-
|
4039 |
function a(b, c) {
|
4040 |
for (var d = String(b); d.length < c; ) d = "0" + d;
|
4041 |
return d;
|
@@ -4043,14 +4043,14 @@ 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 |
-
|
4047 |
var c = this.head || (this.head = {});
|
4048 |
if (null == b) return this.headers()[a] || "";
|
4049 |
c[a] = b || "";
|
4050 |
return this;
|
4051 |
};
|
4052 |
-
|
4053 |
-
var b, c = this.now(), d = this.head || (this.head =
|
4054 |
if (null != a) {
|
4055 |
for (b in a) d[b] = a[b];
|
4056 |
return this;
|
@@ -4066,11 +4066,11 @@ a[b] || (a[b] = c);
|
|
4066 |
a["X-Generator"] = "Loco https://localise.biz/";
|
4067 |
return a;
|
4068 |
};
|
4069 |
-
|
4070 |
-
var c =
|
4071 |
return this.rows.get(c);
|
4072 |
};
|
4073 |
-
|
4074 |
a instanceof e || (a = new e(a));
|
4075 |
b && a.context(b);
|
4076 |
var d = a.hash();
|
@@ -4078,57 +4078,57 @@ this.rows.get(d) ? c("Duplicate message at index " + this.indexOf(a)) : (a.idx =
|
|
4078 |
this.length = this.rows.length);
|
4079 |
return a;
|
4080 |
};
|
4081 |
-
|
4082 |
-
for (var b = -1, d, f,
|
4083 |
-
null == d.parent ? (f = d.source || d.id,
|
4084 |
-
|
4085 |
-
d.notes &&
|
4086 |
-
this.add(
|
4087 |
-
d.prev[1] &&
|
4088 |
this.headcmt = d.comment)) : r.push(d);
|
4089 |
for (b = -1; ++b < r.length; ) try {
|
4090 |
d = r[b];
|
4091 |
f = d.source || d.id;
|
4092 |
-
|
4093 |
-
if (!
|
4094 |
-
|
4095 |
-
1 ===
|
4096 |
-
|
4097 |
} catch (w) {
|
4098 |
c(w);
|
4099 |
}
|
4100 |
return this;
|
4101 |
};
|
4102 |
-
|
4103 |
this.fmtr = b(a);
|
4104 |
return this;
|
4105 |
};
|
4106 |
-
|
4107 |
-
var a, c = this.locale(), d = [], f = [],
|
4108 |
-
|
4109 |
-
for (a in
|
4110 |
f = new e("", f.join("\n"));
|
4111 |
f.comment(this.headcmt || "");
|
4112 |
-
|
4113 |
d.push(f.toString());
|
4114 |
d.push("");
|
4115 |
this.rows.each(function(a, b) {
|
4116 |
-
a && (d.push(b.cat(
|
4117 |
});
|
4118 |
return d.join("\n");
|
4119 |
};
|
4120 |
-
|
4121 |
-
|
4122 |
this._src = [ a || "" ];
|
4123 |
this._ctx = b;
|
4124 |
};
|
4125 |
-
|
4126 |
-
return
|
4127 |
};
|
4128 |
-
|
4129 |
return this.cat(b());
|
4130 |
};
|
4131 |
-
|
4132 |
var d, e = [], f;
|
4133 |
(f = this.cmt) && e.push(a.prefix(f, "# "));
|
4134 |
(f = this.xcmt) && e.push(a.prefix(f, "#. "));
|
@@ -4145,7 +4145,7 @@ if (null == this.src[1]) e.push(a.pair("msgstr", b ? "" : this.msg[0])); else fo
|
|
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 |
-
|
4149 |
var c = this.weight(), d = a.weight();
|
4150 |
if (c > d) return 1;
|
4151 |
if (c < d) return -1;
|
@@ -4157,19 +4157,19 @@ if (c > d) return -1;
|
|
4157 |
}
|
4158 |
return 0;
|
4159 |
};
|
4160 |
-
|
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 |
-
|
4167 |
return f;
|
4168 |
}({}, y, w));
|
4169 |
-
|
4170 |
f.init = function(d, f) {
|
4171 |
function c() {
|
4172 |
-
return
|
4173 |
dialogClass: "loco-modal loco-modal-wide",
|
4174 |
modal: !0,
|
4175 |
autoOpen: !1,
|
@@ -4179,45 +4179,45 @@ height: 500
|
|
4179 |
}));
|
4180 |
}
|
4181 |
function b(a, b, d) {
|
4182 |
-
a =
|
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 =
|
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 =
|
4196 |
a.scrollTop = b;
|
4197 |
}
|
4198 |
-
var
|
4199 |
return {
|
4200 |
-
load: function(
|
4201 |
c().html('<div class="loco-loading"></div>').dialog("option", "title", "Loading..").off("dialogopen").dialog("open").on("dialogopen", e);
|
4202 |
-
|
4203 |
-
ref:
|
4204 |
path: f.popath
|
4205 |
}, f.project || {});
|
4206 |
-
d.ajax.post("fsReference",
|
4207 |
}
|
4208 |
};
|
4209 |
};
|
4210 |
return f;
|
4211 |
}({}, y, w));
|
4212 |
-
|
4213 |
-
function
|
4214 |
this.api = d;
|
4215 |
this.chars = 0;
|
4216 |
}
|
4217 |
f.create = function(d) {
|
4218 |
-
return new
|
4219 |
};
|
4220 |
-
d =
|
4221 |
d.init = function(d, c) {
|
4222 |
function b(a) {
|
4223 |
var b = {
|
@@ -4229,15 +4229,15 @@ B.push(b);
|
|
4229 |
return x[a.html ? 1 : 0] = b;
|
4230 |
}
|
4231 |
function a(a, d) {
|
4232 |
-
var
|
4233 |
-
if (
|
4234 |
-
var u =
|
4235 |
if (u) u.push(a); else {
|
4236 |
-
var u =
|
4237 |
-
if (u >
|
4238 |
-
if (v.length + u > n || B.length ===
|
4239 |
-
B.push(
|
4240 |
-
|
4241 |
v.length += u;
|
4242 |
f += u;
|
4243 |
k += 1;
|
@@ -4245,8 +4245,8 @@ k += 1;
|
|
4245 |
}
|
4246 |
}
|
4247 |
}
|
4248 |
-
var e = this.api, f = 0, k = 0,
|
4249 |
-
|
4250 |
b({
|
4251 |
html: !1
|
4252 |
});
|
@@ -4258,12 +4258,12 @@ a(c, 0);
|
|
4258 |
a(c, 1);
|
4259 |
});
|
4260 |
delete x;
|
4261 |
-
this.map =
|
4262 |
this.chars = f;
|
4263 |
this.length = k;
|
4264 |
this.batches = B;
|
4265 |
this.locale = d.locale();
|
4266 |
-
|
4267 |
};
|
4268 |
d.abort = function() {
|
4269 |
this.state = "abort";
|
@@ -4271,26 +4271,26 @@ return this;
|
|
4271 |
};
|
4272 |
d.dispatch = function() {
|
4273 |
function d(a, b) {
|
4274 |
-
function e(c, d,
|
4275 |
-
b !==
|
4276 |
-
|
4277 |
-
return
|
4278 |
}
|
4279 |
if (!c()) return !1;
|
4280 |
if (!b) return !0;
|
4281 |
-
var f,
|
4282 |
-
for (B++; ++
|
4283 |
return !0;
|
4284 |
}
|
4285 |
function c() {
|
4286 |
-
return "abort" ===
|
4287 |
}
|
4288 |
function b() {
|
4289 |
-
var b =
|
4290 |
-
b ? (c = b.sources) && c.length ?
|
4291 |
}
|
4292 |
function a() {
|
4293 |
-
|
4294 |
f();
|
4295 |
}
|
4296 |
function e() {
|
@@ -4299,18 +4299,18 @@ k("prog", [ x, y ]);
|
|
4299 |
c() && b();
|
4300 |
}
|
4301 |
function f() {
|
4302 |
-
|
4303 |
k("done");
|
4304 |
}
|
4305 |
function k(a, b) {
|
4306 |
for (var c = u[a] || [], d = c.length; 0 <= --d; ) c[d].apply(null, b);
|
4307 |
}
|
4308 |
-
var
|
4309 |
done: [],
|
4310 |
each: [],
|
4311 |
prog: []
|
4312 |
};
|
4313 |
-
|
4314 |
b();
|
4315 |
return {
|
4316 |
done: function(a) {
|
@@ -4339,23 +4339,23 @@ return B;
|
|
4339 |
};
|
4340 |
return f;
|
4341 |
}({}, y, w));
|
4342 |
-
|
4343 |
nn: [ "no" ]
|
4344 |
});
|
4345 |
-
|
4346 |
-
function
|
4347 |
-
function
|
4348 |
c.parseError = function(b) {
|
4349 |
return b && b.code && 200 !== b.code && b.message ? "Error " + b.code + ": " + b.message : "";
|
4350 |
};
|
4351 |
c.batch = function(b, a, d, f) {
|
4352 |
-
function
|
4353 |
for (var d = b.length, e = -1; ++e < d && !1 !== f(b[e], c[e] || "", a); ) ;
|
4354 |
}
|
4355 |
d = d ? "html" : "plain";
|
4356 |
-
var
|
4357 |
return c._call({
|
4358 |
-
url: "https://translate.yandex.net/api/v1.5/tr.json/translate?format=" + d + "&lang=" +
|
4359 |
method: "POST",
|
4360 |
traditional: !0,
|
4361 |
data: {
|
@@ -4363,15 +4363,15 @@ key: c.key(),
|
|
4363 |
text: b
|
4364 |
}
|
4365 |
}).done(function(a, b, d) {
|
4366 |
-
a && 200 === a.code ?
|
4367 |
-
|
4368 |
}).fail(function() {
|
4369 |
-
|
4370 |
});
|
4371 |
};
|
4372 |
}
|
4373 |
f.create = function(c) {
|
4374 |
-
var b =
|
4375 |
b.toString = function() {
|
4376 |
return "Yandex.Translate";
|
4377 |
};
|
@@ -4383,67 +4383,70 @@ return "https://translate.yandex.com/";
|
|
4383 |
};
|
4384 |
b.init = function(a) {
|
4385 |
c.prototype.init.call(this, a);
|
4386 |
-
/^trnsl\./.test(this.key()) &&
|
4387 |
};
|
4388 |
b.toLang = function(a) {
|
4389 |
-
return this.mapLang(a,
|
|
|
|
|
|
|
4390 |
};
|
4391 |
-
return new
|
4392 |
};
|
4393 |
return f;
|
4394 |
}({}, y, w));
|
4395 |
-
|
4396 |
zh: [ "zh", "zh-CN", "zh-TW" ],
|
4397 |
he: [ "iw" ],
|
4398 |
jv: [ "jw" ]
|
4399 |
});
|
4400 |
-
|
4401 |
-
function
|
4402 |
f.create = function(d) {
|
4403 |
-
|
4404 |
-
|
4405 |
return "Google Translate";
|
4406 |
};
|
4407 |
-
|
4408 |
return "google";
|
4409 |
};
|
4410 |
-
|
4411 |
return "https://translate.google.com/";
|
4412 |
};
|
4413 |
-
|
4414 |
-
|
4415 |
-
var
|
4416 |
-
|
4417 |
-
if (a.error) {
|
4418 |
-
for (var b = [], c = a.error.errors || [], d = c.length, e = -1; ++e < d; ) b.push(c[e].message || "");
|
4419 |
-
return "Error " + a.error.code + ": " + b.join(";");
|
4420 |
}
|
4421 |
return "";
|
4422 |
-
};
|
|
|
|
|
|
|
4423 |
}
|
4424 |
-
var g = this,
|
4425 |
-
|
4426 |
-
var
|
4427 |
return g._call({
|
4428 |
-
url: "https://translation.googleapis.com/language/translate/v2?source=" +
|
4429 |
method: "POST",
|
4430 |
traditional: !0,
|
4431 |
data: {
|
4432 |
key: g.key(),
|
4433 |
-
q:
|
4434 |
}
|
4435 |
}).done(function(a, b, c) {
|
4436 |
-
a.data ?
|
4437 |
-
|
4438 |
}).fail(function() {
|
4439 |
-
|
4440 |
});
|
4441 |
};
|
4442 |
-
return new
|
4443 |
};
|
4444 |
return f;
|
4445 |
}({}, y, w));
|
4446 |
-
|
4447 |
nn: [ "no" ],
|
4448 |
pt: [ "pt", "pt-pt" ],
|
4449 |
sr: [ "sr-Cyrl", "sr-Latn" ],
|
@@ -4455,10 +4458,10 @@ zh_HK: [ "zh-Hans" ],
|
|
4455 |
zh_SG: [ "zh-Hans" ],
|
4456 |
zh_TW: [ "zh-Hant" ]
|
4457 |
});
|
4458 |
-
|
4459 |
-
function
|
4460 |
f.create = function(d) {
|
4461 |
-
d =
|
4462 |
d.toString = function() {
|
4463 |
return "Microsoft Translator text API";
|
4464 |
};
|
@@ -4471,42 +4474,45 @@ return "https://aka.ms/MicrosoftTranslatorAttribution";
|
|
4471 |
d.parseError = function(c) {
|
4472 |
return c && c.error ? c.error.message : "";
|
4473 |
};
|
|
|
|
|
|
|
4474 |
d.batch = function(c, b, a, d) {
|
4475 |
function f(a) {
|
4476 |
-
for (var
|
4477 |
-
!1 !== d(c[
|
4478 |
}
|
4479 |
-
var
|
4480 |
a = a ? "html" : "plain";
|
4481 |
-
for (var
|
4482 |
-
text: c[
|
4483 |
});
|
4484 |
-
return
|
4485 |
-
url: "https://api.cognitive.microsofttranslator.com/translate?api-version=3.0&from=" +
|
4486 |
method: "POST",
|
4487 |
-
data: JSON.stringify(
|
4488 |
headers: {
|
4489 |
"Content-Type": "application/json; charset=UTF-8",
|
4490 |
"Ocp-Apim-Subscription-Key": this.key(),
|
4491 |
-
"Ocp-Apim-Subscription-Region":
|
4492 |
}
|
4493 |
}).done(function(a, b, c) {
|
4494 |
-
a && a.length ? f(a) : (
|
4495 |
}).fail(function() {
|
4496 |
f([]);
|
4497 |
});
|
4498 |
};
|
4499 |
-
return new
|
4500 |
};
|
4501 |
return f;
|
4502 |
}({}, y, w));
|
4503 |
-
|
4504 |
pt: [ "pt-PT", "pt-BR" ]
|
4505 |
});
|
4506 |
-
|
4507 |
-
function
|
4508 |
f.create = function(d) {
|
4509 |
-
d =
|
4510 |
d.toString = function() {
|
4511 |
return "DeepL Translator";
|
4512 |
};
|
@@ -4521,44 +4527,44 @@ return c.message;
|
|
4521 |
};
|
4522 |
d.batch = function(c, b, a, d) {
|
4523 |
function f(a) {
|
4524 |
-
for (var
|
4525 |
}
|
4526 |
-
var
|
4527 |
a = this.getSrc();
|
4528 |
-
var
|
4529 |
-
null ==
|
4530 |
-
"formal" ===
|
4531 |
-
return
|
4532 |
-
url:
|
4533 |
method: "POST",
|
4534 |
traditional: !0,
|
4535 |
data: {
|
4536 |
source_lang: a.toUpperCase(),
|
4537 |
-
target_lang:
|
4538 |
-
formality:
|
4539 |
preserve_formatting: "1",
|
4540 |
-
auth_key:
|
4541 |
text: c
|
4542 |
}
|
4543 |
}).done(function(a, b, c) {
|
4544 |
-
a.translations ? f(a.translations) : (
|
4545 |
f([]));
|
4546 |
}).fail(function() {
|
4547 |
f([]);
|
4548 |
});
|
4549 |
};
|
4550 |
-
return new
|
4551 |
};
|
4552 |
return f;
|
4553 |
}({}, y, w));
|
4554 |
-
|
4555 |
zh: [ "zh", "zh-CN", "zh-TW" ],
|
4556 |
pt: [ "pt", "pt-PT", "pt-BR" ]
|
4557 |
});
|
4558 |
-
|
4559 |
-
function
|
4560 |
f.create = function(d) {
|
4561 |
-
d =
|
4562 |
d.getUrl = function() {
|
4563 |
return "https://lecto.ai/?ref=loco";
|
4564 |
};
|
@@ -4574,52 +4580,52 @@ return 1e3;
|
|
4574 |
};
|
4575 |
d.batch = function(c, b, a, d) {
|
4576 |
function f(a) {
|
4577 |
-
for (var
|
4578 |
translated: []
|
4579 |
-
}).translated || []; ++
|
4580 |
}
|
4581 |
-
var
|
4582 |
a = this.getSrc();
|
4583 |
-
var
|
4584 |
-
return
|
4585 |
-
url:
|
4586 |
method: "POST",
|
4587 |
data: JSON.stringify({
|
4588 |
-
to: [
|
4589 |
from: a,
|
4590 |
texts: c
|
4591 |
}),
|
4592 |
headers: {
|
4593 |
"Content-Type": "application/json; charset=UTF-8",
|
4594 |
-
"X-API-Key":
|
4595 |
Accept: "application/json"
|
4596 |
}
|
4597 |
}).done(function(a, b, c) {
|
4598 |
-
a ? f(a.translations || []) : (
|
4599 |
}).fail(function() {
|
4600 |
f([]);
|
4601 |
});
|
4602 |
};
|
4603 |
-
return new
|
4604 |
};
|
4605 |
return f;
|
4606 |
}({}, y, w));
|
4607 |
-
|
4608 |
-
function
|
4609 |
this.inf = {};
|
4610 |
}
|
4611 |
-
function
|
4612 |
var a = w.createElement("p"), b = /&(#\d+|#x[0-9a-f]|[a-z]+);/i, c = /<[a-z]+\s/i, d, f;
|
4613 |
return {
|
4614 |
-
sniff: function(
|
4615 |
-
if (
|
4616 |
-
d =
|
4617 |
-
if (b.test(
|
4618 |
return f = !1;
|
4619 |
}
|
4620 |
};
|
4621 |
}
|
4622 |
-
var c =
|
4623 |
c.init = function(a) {
|
4624 |
this.inf = a || {};
|
4625 |
};
|
@@ -4652,9 +4658,9 @@ c.parseError = function() {
|
|
4652 |
return "";
|
4653 |
};
|
4654 |
c.mapLang = function(a, b) {
|
4655 |
-
var c = String(a).replace("-", "_"), d = a.lang, f = b[c] || b[d] || [],
|
4656 |
-
if (0 ===
|
4657 |
-
if (1 <
|
4658 |
return f[0];
|
4659 |
};
|
4660 |
c.toLang = function(a) {
|
@@ -4678,12 +4684,12 @@ a.cache = !0;
|
|
4678 |
a.dataType = "json";
|
4679 |
a.error = function(a, c, d) {
|
4680 |
try {
|
4681 |
-
var f = a.responseText,
|
4682 |
-
d =
|
4683 |
-
} catch (
|
4684 |
b.stderr(d || b.httpError(a));
|
4685 |
};
|
4686 |
-
return b.abortable(
|
4687 |
};
|
4688 |
c.abortable = function(a) {
|
4689 |
var b = this;
|
@@ -4697,16 +4703,16 @@ var a = this.$r;
|
|
4697 |
a && a.abort();
|
4698 |
};
|
4699 |
c.isHtml = function(a) {
|
4700 |
-
return (b || (b =
|
4701 |
};
|
4702 |
c.createJob = function() {
|
4703 |
-
return
|
4704 |
};
|
4705 |
c.batch = function(a, b, c, f) {
|
4706 |
function g(c) {
|
4707 |
-
for (var d = a.length,
|
4708 |
}
|
4709 |
-
var
|
4710 |
c = {
|
4711 |
hook: this.getId(),
|
4712 |
type: c ? "html" : "text",
|
@@ -4714,8 +4720,8 @@ locale: this.toLang(b),
|
|
4714 |
source: this.getSrc(),
|
4715 |
sources: a
|
4716 |
};
|
4717 |
-
var n =
|
4718 |
-
this.abortable(
|
4719 |
g(a && a.targets || []);
|
4720 |
n.resolve();
|
4721 |
}, function() {
|
@@ -4727,102 +4733,102 @@ return n.promise();
|
|
4727 |
f.create = function(a) {
|
4728 |
var b;
|
4729 |
b = a.id;
|
4730 |
-
b = "yandex" === b ?
|
4731 |
b.init(a);
|
4732 |
return b;
|
4733 |
};
|
4734 |
f.suggest = function(a, b, c, d) {
|
4735 |
-
var f,
|
4736 |
-
for (f = 0; f <
|
4737 |
};
|
4738 |
var b;
|
4739 |
return f;
|
4740 |
}({}, y, w));
|
4741 |
-
|
4742 |
f.init = function(f) {
|
4743 |
-
function
|
4744 |
-
H || (I.on("click",
|
4745 |
dialogClass: "request-filesystem-credentials-dialog loco-modal",
|
4746 |
minWidth: 580,
|
4747 |
modal: !0,
|
4748 |
autoOpen: !1,
|
4749 |
closeOnEscape: !0
|
4750 |
}).on("change", 'input[name="connection_type"]', function() {
|
4751 |
-
this.checked &&
|
4752 |
}));
|
4753 |
return H;
|
4754 |
}
|
4755 |
function c() {
|
4756 |
-
R && (b(
|
4757 |
if (E && J) {
|
4758 |
-
var a = J, c =
|
4759 |
c.find("span.loco-msg").text(a);
|
4760 |
K || (c.removeClass("jshide").hide().fadeIn(500), K = !0);
|
4761 |
-
} else K && (b(
|
4762 |
}
|
4763 |
function b(a) {
|
4764 |
a.slideUp(250).fadeOut(250, function() {
|
4765 |
-
|
4766 |
});
|
4767 |
}
|
4768 |
function a() {
|
4769 |
-
if (E) return H && H.dialog("close"), c(),
|
4770 |
-
|
4771 |
-
v && H ? (R || (
|
4772 |
K = !1)) : c();
|
4773 |
-
|
4774 |
y && y(!1);
|
4775 |
return !1;
|
4776 |
}
|
4777 |
function e(a) {
|
4778 |
-
var b, c, d =
|
4779 |
-
for (b in d) d.hasOwnProperty(b) && (c = d[b], a[b] ? a[b].value = c :
|
4780 |
}
|
4781 |
-
function
|
4782 |
a.preventDefault();
|
4783 |
-
a =
|
4784 |
s(a);
|
4785 |
C = !0;
|
4786 |
return !1;
|
4787 |
}
|
4788 |
-
function
|
4789 |
a.preventDefault();
|
4790 |
H.dialog("close");
|
4791 |
return !1;
|
4792 |
}
|
4793 |
-
function
|
4794 |
a.preventDefault();
|
4795 |
H.dialog("open").find('input[name="connection_type"]').change();
|
4796 |
return !1;
|
4797 |
}
|
4798 |
-
function
|
4799 |
E = b.authed;
|
4800 |
r = b.method;
|
4801 |
-
|
4802 |
J = b.warning || "";
|
4803 |
b.notice && u.notices.info(b.notice);
|
4804 |
-
if (E) "direct" !== r && (
|
4805 |
a(); else if (b.reason) u.notices.info(b.reason); else if (b = b.prompt) {
|
4806 |
-
var c =
|
4807 |
-
c.html(b).find("form").on("submit",
|
4808 |
c.dialog("option", "title", c.find("h2").remove().text());
|
4809 |
-
c.find("button.cancel-button").show().on("click",
|
4810 |
c.find('input[type="submit"]').addClass("button-primary");
|
4811 |
a();
|
4812 |
-
|
4813 |
} else u.notices.error("Server didn't return credentials, nor a prompt for credentials");
|
4814 |
}
|
4815 |
-
function
|
4816 |
a();
|
4817 |
}
|
4818 |
function s(a) {
|
4819 |
C = !1;
|
4820 |
-
u.ajax.setNonce("fsConnect", N).post("fsConnect", a,
|
4821 |
return a;
|
4822 |
}
|
4823 |
-
var
|
4824 |
u.notices.convert(Q).stick();
|
4825 |
-
f.connection_type ? (
|
4826 |
path: v,
|
4827 |
auth: F
|
4828 |
});
|
@@ -4830,7 +4836,7 @@ a();
|
|
4830 |
return {
|
4831 |
applyCreds: function(a) {
|
4832 |
if (a.nodeType) e(a); else {
|
4833 |
-
var b, c =
|
4834 |
for (b in c) c.hasOwnProperty(b) && (a[b] = c[b]);
|
4835 |
}
|
4836 |
return this;
|
@@ -4844,7 +4850,7 @@ return this;
|
|
4844 |
connect: function() {
|
4845 |
v = f.path.value;
|
4846 |
F = f.auth.value;
|
4847 |
-
s(
|
4848 |
return this;
|
4849 |
},
|
4850 |
listen: function(a) {
|
@@ -4859,13 +4865,13 @@ return E;
|
|
4859 |
};
|
4860 |
return f;
|
4861 |
}({}, y, w));
|
4862 |
-
|
4863 |
-
function
|
4864 |
-
f = "n" ===
|
4865 |
-
|
4866 |
-
return
|
4867 |
}
|
4868 |
-
function
|
4869 |
return function(c) {
|
4870 |
a.apply(c, b);
|
4871 |
return c;
|
@@ -4890,50 +4896,50 @@ return -1 * a(b, c);
|
|
4890 |
f.init = function(a) {
|
4891 |
function b(a) {
|
4892 |
var c = -1, d = a.length;
|
4893 |
-
for (
|
4894 |
}
|
4895 |
function c(a) {
|
4896 |
s = a ? y.find(a, d) : d.slice(0);
|
4897 |
-
w && (a = f[w], s =
|
4898 |
b(s);
|
4899 |
}
|
4900 |
-
var d = [], f = [],
|
4901 |
-
r && x && (
|
4902 |
var e = c.getAttribute("data-sort-type");
|
4903 |
-
e && (a =
|
4904 |
c.preventDefault();
|
4905 |
c = a;
|
4906 |
-
var e = f[c],
|
4907 |
-
s =
|
4908 |
b(s);
|
4909 |
-
|
4910 |
-
|
4911 |
w = c;
|
4912 |
return !1;
|
4913 |
-
}), f[
|
4914 |
$: c,
|
4915 |
type: e
|
4916 |
});
|
4917 |
-
c.hasAttribute("colspan") ?
|
4918 |
-
}),
|
4919 |
-
var c, e,
|
4920 |
_: a,
|
4921 |
$: b
|
4922 |
}, m = b.getElementsByTagName("td");
|
4923 |
for (e in f) {
|
4924 |
c = m[e];
|
4925 |
-
(
|
4926 |
-
c.hasAttribute("data-sort-value") && (
|
4927 |
switch (f[e].type) {
|
4928 |
case "n":
|
4929 |
-
|
4930 |
}
|
4931 |
-
|
4932 |
}
|
4933 |
-
d[a] =
|
4934 |
-
y.index(a,
|
4935 |
-
}), a =
|
4936 |
-
r =
|
4937 |
r.on("submit", function(a) {
|
4938 |
a.preventDefault();
|
4939 |
return !1;
|
@@ -4944,39 +4950,39 @@ return f;
|
|
4944 |
var C = y.loco || {}, I = C.conf || {
|
4945 |
$v: [ 0, 0 ]
|
4946 |
};
|
4947 |
-
y =
|
4948 |
w = I.wplang;
|
4949 |
C.version = function(f) {
|
4950 |
return I.$v[f || 0];
|
4951 |
};
|
4952 |
-
|
4953 |
-
|
4954 |
-
|
4955 |
-
|
4956 |
C.l10n = y;
|
4957 |
y.load(I.wpl10n);
|
4958 |
w && y.pluraleq(w.pluraleq);
|
4959 |
-
C.string =
|
4960 |
-
C.notices =
|
4961 |
-
C.ajax =
|
4962 |
-
C.locale =
|
4963 |
-
C.fulltext =
|
4964 |
-
C.watchtext =
|
4965 |
-
C.tooltip =
|
4966 |
C.po = {
|
4967 |
-
ed:
|
4968 |
-
kbd:
|
4969 |
-
init:
|
4970 |
-
ace:
|
4971 |
-
ref:
|
4972 |
-
};
|
4973 |
-
C.apis =
|
4974 |
-
C.fs =
|
4975 |
-
|
4976 |
-
|
4977 |
});
|
4978 |
C.validate = function(f) {
|
4979 |
-
return "2.5.
|
4980 |
!1) : !0;
|
4981 |
};
|
4982 |
})(window, document, window.jQuery);
|
1 |
+
(function(y, w, k, J) {
|
2 |
+
var n = function() {
|
3 |
function f(d) {
|
4 |
throw Error("Failed to require " + d);
|
5 |
}
|
6 |
var d = {};
|
7 |
return {
|
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 |
}({}, y, w));
|
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 |
};
|
75 |
};
|
76 |
return f;
|
77 |
}({}, y, w));
|
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 |
}({}, y, w));
|
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 |
}({}, y, w));
|
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 |
}({}, y, w));
|
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 |
}({}, y, w));
|
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 |
}({}, y, w));
|
165 |
+
n.register("$7", function(f, d, D) {
|
166 |
+
function m(a, b, e) {
|
167 |
function c() {
|
168 |
+
p();
|
169 |
v = setTimeout(b, e);
|
170 |
}
|
171 |
+
function p() {
|
172 |
v && clearTimeout(v);
|
173 |
v = null;
|
174 |
}
|
175 |
var v;
|
176 |
c();
|
177 |
+
k(a).on("mouseenter", p).on("mouseleave", c);
|
178 |
return {
|
179 |
die: function() {
|
180 |
+
p();
|
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 |
+
q[v] = null;
|
197 |
+
g(k(a), 250);
|
198 |
+
p && p.die();
|
199 |
var c;
|
200 |
if (c = b) b.stopPropagation(), b.preventDefault(), c = !1;
|
201 |
return c;
|
202 |
}
|
203 |
function c(b) {
|
204 |
+
p && p.die();
|
205 |
+
return p = m(a, e, b);
|
206 |
}
|
207 |
+
var p, v, h, l = k(a), B = l.find("button");
|
208 |
+
0 === B.length && (l.addClass("is-dismissible"), B = k('<button type="button" class="notice-dismiss"> </a>').appendTo(l));
|
209 |
B.off("click").on("click", e);
|
210 |
+
k(d).triggerHandler("resize");
|
211 |
+
A();
|
212 |
+
v = q.length;
|
213 |
+
q.push(e);
|
214 |
+
b && (p = c(b));
|
215 |
return {
|
216 |
link: function(b, v) {
|
217 |
+
var e = v || 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 |
+
p && p.die();
|
224 |
+
p = null;
|
225 |
+
q[v] = null;
|
226 |
return this;
|
227 |
},
|
228 |
slow: function(a) {
|
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 p = k(c("p"));
|
238 |
+
e = k(c("span")).text(e);
|
239 |
+
b = k(c("strong", "has-icon")).text(b + ": ");
|
240 |
+
p.append(b).append(e).appendTo(a);
|
241 |
return a;
|
242 |
}
|
243 |
+
function a(a, e, p, h) {
|
244 |
+
a = b(p, 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, s, "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 q = [], l = d.console || {
|
260 |
log: function() {}
|
261 |
+
}, A = Date.now || function() {
|
262 |
return new Date().getTime();
|
263 |
+
}, z, s, p, B;
|
264 |
f.error = function(b) {
|
265 |
+
return a(b, z, "error");
|
266 |
};
|
267 |
f.warn = e;
|
268 |
f.info = function(b) {
|
269 |
+
return a(b, p, "info");
|
270 |
};
|
271 |
f.success = function(b) {
|
272 |
return a(b, B, "success", 5e3);
|
273 |
};
|
274 |
f.warning = e;
|
275 |
f.log = function() {
|
276 |
+
l.log.apply(l, arguments);
|
277 |
};
|
278 |
f.debug = function() {
|
279 |
+
(l.debug || l.log).apply(l, arguments);
|
280 |
};
|
281 |
f.clear = function() {
|
282 |
+
for (var a = -1, b, e = q, c = e.length; ++a < c; ) (b = e[a]) && b.call && b();
|
283 |
+
q = [];
|
284 |
return f;
|
285 |
};
|
286 |
f.create = b;
|
289 |
};
|
290 |
f.convert = c;
|
291 |
f.init = function(a) {
|
292 |
+
z = a._("Error");
|
293 |
s = a._("Warning");
|
294 |
+
p = a._("Notice");
|
295 |
B = a._("OK");
|
296 |
+
setTimeout(h, 1e3);
|
297 |
return f;
|
298 |
};
|
299 |
return f;
|
300 |
}({}, y, w));
|
301 |
+
n.register("$8", function(f, d, D) {
|
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, v) {
|
330 |
if ("abort" !== c) {
|
331 |
+
var p = l || {
|
332 |
_: function(a) {
|
333 |
return a;
|
334 |
}
|
335 |
+
}, r = b.status || 0, d = b.responseText || "", x = m(d), z = b.getResponseHeader("Content-Type") || "Unknown type", f = b.getResponseHeader("Content-Length") || d.length;
|
336 |
+
"success" === c && v ? q.error(v) : (q.error(g(x) + ".\n" + p._("Check console output for debugging information")),
|
337 |
+
q.log("Ajax failure for " + a, {
|
338 |
status: r,
|
339 |
error: c,
|
340 |
message: v,
|
341 |
output: d
|
342 |
+
}), "parsererror" === c && (v = "Response not JSON"), q.log([ p._("Provide the following text when reporting a problem") + ":", "----", "Status " + r + ' "' + (v || p._("Unknown error")) + '" (' + z + " " + f + " bytes)", x, "====" ].join("\n")));
|
343 |
e && e.call && e(b, c, v);
|
344 |
+
A = b;
|
345 |
}
|
346 |
}
|
347 |
+
c.url = z;
|
348 |
c.dataType = "json";
|
349 |
+
var q = n.require("$7", "notices.js").clear();
|
350 |
+
A = null;
|
351 |
+
return k.ajax(c).fail(h).done(function(a, e, v) {
|
352 |
+
var c = a && a.data, l = a && a.notices, g = l && l.length, A = -1;
|
353 |
+
for (!c || a.error ? h(v, e, a && a.error && a.error.message) : b && b(c, e, v); ++A < g; ) q.raise(l[A]);
|
354 |
});
|
355 |
}
|
356 |
+
var q = {}, l, A, z = d.ajaxurl || "/wp-admin/admin-ajax.php";
|
357 |
f.init = function(a) {
|
358 |
+
q = a.nonces || q;
|
359 |
return f;
|
360 |
};
|
361 |
f.localise = function(a) {
|
362 |
+
l = a;
|
363 |
return f;
|
364 |
};
|
365 |
f.xhr = function() {
|
366 |
+
return A;
|
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;
|
374 |
function r(a, b) {
|
375 |
b.getAttribute("data-was-disabled") || (b.disabled = !1);
|
376 |
}
|
377 |
+
function q(a) {
|
378 |
a.find(".button-primary").removeClass("loading");
|
379 |
a.find("button").each(r);
|
380 |
a.find("input").each(r);
|
382 |
a.find("textarea").each(r);
|
383 |
a.removeClass("disabled loading");
|
384 |
}
|
385 |
+
var l = k(a), A = l.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 |
+
})(l);
|
394 |
+
return h(a.route.value, function(a, e, c) {
|
395 |
+
q(l);
|
396 |
b && b(a, e, c);
|
397 |
}, function(a, b, c) {
|
398 |
+
q(l);
|
399 |
e && e(a, b, c);
|
400 |
}, {
|
401 |
type: a.method,
|
402 |
+
data: A
|
403 |
});
|
404 |
};
|
405 |
+
f.post = function(l, p, A, g) {
|
406 |
+
var r = !0, G = p || {}, z = q[l] || c(l);
|
407 |
+
d.FormData && G instanceof FormData ? (r = !1, p = e) : p = Array.isArray(G) ? a : b;
|
408 |
+
p(G, "action", "loco_json");
|
409 |
+
p(G, "route", l);
|
410 |
+
p(G, "loco-nonce", z);
|
411 |
+
return h(l, A, g, {
|
412 |
type: "post",
|
413 |
data: G,
|
414 |
processData: r,
|
415 |
contentType: r ? "application/x-www-form-urlencoded; charset=UTF-8" : !1
|
416 |
});
|
417 |
};
|
418 |
+
f.get = function(a, b, e, l) {
|
419 |
b = b || {};
|
420 |
+
var r = q[a] || c(a);
|
421 |
b.action = "loco_json";
|
422 |
b.route = a;
|
423 |
b["loco-nonce"] = r;
|
424 |
+
return h(a, e, l, {
|
425 |
type: "get",
|
426 |
data: b
|
427 |
});
|
428 |
};
|
429 |
f.setNonce = function(a, b) {
|
430 |
+
q[a] = b;
|
431 |
return f;
|
432 |
};
|
433 |
return f;
|
434 |
}({}, y, w));
|
435 |
+
n.register("$22", {
|
436 |
arab: 1,
|
437 |
aran: 1,
|
438 |
hebr: 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 |
};
|
479 |
f.cast = function(b) {
|
480 |
+
return b instanceof m ? b : "string" === typeof b ? f.parse(b) : f.clone(b);
|
481 |
};
|
482 |
f.clone = function(b) {
|
483 |
+
var a, e = new m();
|
484 |
for (a in b) e[a] = b[a];
|
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();
|
492 |
if (b = RegExp.$3) a.variant = b.toLowerCase();
|
493 |
return a;
|
494 |
};
|
495 |
+
d = m.prototype;
|
496 |
d.isValid = function() {
|
497 |
return !!this.lang;
|
498 |
};
|
508 |
return e;
|
509 |
};
|
510 |
d.getIcon = function() {
|
511 |
+
for (var b = 3, a, e, c = [ "variant", "region", "lang" ], q = []; 0 !== b--; ) if (a = c[b],
|
512 |
+
e = this[a]) q.push(a), q.push(a + "-" + e.toLowerCase());
|
513 |
+
return q.join(" ");
|
514 |
};
|
515 |
d.isRTL = function() {
|
516 |
return !!c[String(this.lang).toLowerCase()];
|
518 |
d = null;
|
519 |
return f;
|
520 |
}({}, y, w));
|
521 |
+
n.register("$23", {
|
522 |
"á": "a",
|
523 |
"à": "a",
|
524 |
"ă": "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), q, [], {});
|
945 |
}
|
946 |
function b(a, b) {
|
947 |
+
for (var c = [], p = {}, l, x = b.length, r = q; 0 !== x--; ) (l = b[x]) && g(String(l || "").toLowerCase().replace(h, d), r, c, p);
|
948 |
e[a] = c;
|
949 |
}
|
950 |
function a(a, b) {
|
951 |
+
var c = [], h = -1, q = e, l = q.length, r, g, d, u, v, F, f = a.length, k = b ? !0 : !1;
|
952 |
+
a: for (;++h < l; ) if (d = q[h], null != d && (u = d.length)) {
|
953 |
v = 0;
|
954 |
b: for (;v < f; v++) {
|
955 |
F = a[v];
|
956 |
+
for (r = 0; r < u; r++) if (g = d[r], 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, q = /[\-_\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) {
|
991 |
};
|
992 |
return f;
|
993 |
}({}, y, w));
|
994 |
+
n.register("$11", function(f, d, n) {
|
995 |
+
f.listen = function(f, g) {
|
996 |
function c() {
|
997 |
+
p[h ? "show" : "hide"]();
|
998 |
}
|
999 |
function b(a) {
|
1000 |
+
s && A.setAttribute("size", 2 + a.length);
|
1001 |
+
h = a;
|
1002 |
c();
|
1003 |
return a;
|
1004 |
}
|
1005 |
function a() {
|
1006 |
+
q = null;
|
1007 |
+
g(h);
|
1008 |
}
|
1009 |
function e(e) {
|
1010 |
+
var c = A.value;
|
1011 |
+
z && c === z && (c = "");
|
1012 |
+
c !== h ? (q && clearTimeout(q), b(c), e ? q = setTimeout(a, e) : a()) : q && null == e && (clearTimeout(q),
|
1013 |
a());
|
1014 |
}
|
1015 |
+
var h, q, l = 150, A = f instanceof jQuery ? f[0] : f, z = d.attachEvent && A.getAttribute("placeholder"), s = 1 === Number(A.size), p = k('<a href="#clear" tabindex="-1" class="icon clear"><span>clear</span></a>').on("click", function() {
|
1016 |
+
A.value = "";
|
1017 |
e();
|
1018 |
return !1;
|
1019 |
});
|
1020 |
+
b(A.value);
|
1021 |
+
k(A).on("input", function() {
|
1022 |
+
e(l);
|
1023 |
return !0;
|
1024 |
}).on("blur focus change", function() {
|
1025 |
e(null);
|
1026 |
return !0;
|
1027 |
+
}).after(p);
|
1028 |
c();
|
1029 |
return {
|
1030 |
delay: function(a) {
|
1031 |
+
l = a;
|
1032 |
return this;
|
1033 |
},
|
1034 |
ping: function(c) {
|
1035 |
+
c ? (q && clearTimeout(q), c = A.value, z && c === z && (c = ""), b(c), a(), c = void 0) : c = e();
|
1036 |
return c;
|
1037 |
},
|
1038 |
val: function(a) {
|
1039 |
+
if (null == a) return h;
|
1040 |
+
q && clearTimeout(q);
|
1041 |
+
A.value = b(a);
|
1042 |
c();
|
1043 |
},
|
1044 |
el: function() {
|
1045 |
+
return A;
|
1046 |
},
|
1047 |
blur: function(a) {
|
1048 |
+
return k(A).on("blur", a);
|
1049 |
},
|
1050 |
destroy: function() {
|
1051 |
+
q && clearTimeout(q);
|
1052 |
}
|
1053 |
};
|
1054 |
};
|
1055 |
return f;
|
1056 |
}({}, y, w));
|
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 |
});
|
1092 |
+
m.prototype = {
|
1093 |
show: function() {
|
1094 |
var b = this.getTitle();
|
1095 |
if (b && this.enabled) {
|
1099 |
a.remove().css({
|
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, q = "function" == typeof this.options.gravity ? this.options.gravity.call(this.$element[0]) : this.options.gravity, l;
|
1107 |
+
switch (q.charAt(0)) {
|
1108 |
case "n":
|
1109 |
+
l = {
|
1110 |
top: b.top + b.height + this.options.offset,
|
1111 |
left: b.left + b.width / 2 - e / 2
|
1112 |
};
|
1113 |
break;
|
1114 |
|
1115 |
case "s":
|
1116 |
+
l = {
|
1117 |
top: b.top - c - this.options.offset,
|
1118 |
left: b.left + b.width / 2 - e / 2
|
1119 |
};
|
1120 |
break;
|
1121 |
|
1122 |
case "e":
|
1123 |
+
l = {
|
1124 |
top: b.top + b.height / 2 - c / 2,
|
1125 |
left: b.left - e - this.options.offset
|
1126 |
};
|
1127 |
break;
|
1128 |
|
1129 |
case "w":
|
1130 |
+
l = {
|
1131 |
top: b.top + b.height / 2 - c / 2,
|
1132 |
left: b.left + b.width + this.options.offset
|
1133 |
};
|
1134 |
}
|
1135 |
+
2 == q.length && ("w" == q.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-" + q);
|
1137 |
+
a.find(".tipsy-arrow")[0].className = "tipsy-arrow tipsy-arrow-" + q.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 q = b.live ? "live" : "bind", l = "hover" == b.trigger ? "mouseleave" : "blur";
|
1207 |
+
this[q]("hover" == b.trigger ? "mouseenter" : "focus", e)[q](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, q = k(n).scrollTop() + b, l = k(n).scrollLeft() + b, g = k(this);
|
1238 |
+
g.offset().top < q && (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 |
}({}, y, w));
|
1247 |
+
n.register("$36", function(f, d, k) {
|
1248 |
"".localeCompare || (String.prototype.localeCompare = function() {
|
1249 |
return 0;
|
1250 |
});
|
1251 |
"".trim || (String.prototype.trim = function() {
|
1252 |
+
return n.require("$6", "string.js").trim(this, " \n\r\t");
|
1253 |
});
|
1254 |
f.html = function() {
|
1255 |
function d() {
|
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 A = h.replace(b, g);
|
1272 |
+
l && (A = A.replace(e, c).replace(a, "<br />"));
|
1273 |
+
return A;
|
1274 |
};
|
1275 |
}();
|
1276 |
return f;
|
1277 |
}({}, y, w));
|
1278 |
+
n.register("$37", 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 |
};
|
1284 |
f.cast = function(a) {
|
1285 |
+
return a instanceof m ? a : "string" === typeof a ? f.parse(a) : f.clone(a);
|
1286 |
};
|
1287 |
f.clone = function(a) {
|
1288 |
+
var b, c = new m();
|
1289 |
for (b in a) c[b] = a[b];
|
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();
|
1299 |
if (a = RegExp.$3) b.region = a.toUpperCase();
|
1301 |
if (a = RegExp.$5) b.extension = a;
|
1302 |
return b;
|
1303 |
};
|
1304 |
+
d = m.prototype;
|
1305 |
d.isValid = function() {
|
1306 |
return !!this.lang;
|
1307 |
};
|
1319 |
return c;
|
1320 |
};
|
1321 |
d.getIcon = function() {
|
1322 |
+
for (var a = 4, b, c, q = [ "variant", "region", "script", "lang" ], l = []; 0 !== a--; ) if (b = q[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 |
};
|
1326 |
d.isRTL = function() {
|
1327 |
return !!b[String(this.script || this.lang).toLowerCase()];
|
1329 |
d = null;
|
1330 |
return f;
|
1331 |
}({}, y, w));
|
1332 |
+
n.register("$38", 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() {}
|
1340 |
function b(a) {}
|
1342 |
return "[Undefined]";
|
1343 |
};
|
1344 |
b.prototype._validate = function(a) {
|
1345 |
+
var b, h, q = !0;
|
1346 |
+
for (b in this) h = this[b], h === g ? (m(a + "." + b + "() must be implemented"),
|
1347 |
+
q = !1) : h instanceof c && (m(a + "." + b + " must be defined"), q = !1);
|
1348 |
+
return q;
|
1349 |
};
|
1350 |
f.init = function(a, e) {
|
1351 |
+
var h, q = new b();
|
1352 |
+
if (a) for (h = a.length; 0 !== h--; ) q[a[h]] = g;
|
1353 |
+
if (e) for (h = e.length; 0 !== h--; ) q[e[h]] = new c();
|
1354 |
+
return q;
|
1355 |
};
|
1356 |
f.validate = function(a) {
|
1357 |
var b = /function (\w+)\(/.exec(a.toString()) ? RegExp.$1 : "";
|
1359 |
};
|
1360 |
return f;
|
1361 |
}({}, y, w));
|
1362 |
+
n.register("$50", 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() {
|
1384 |
};
|
1385 |
f.loop = function(a, b) {
|
1386 |
function c() {
|
1387 |
+
d = m(c, b);
|
1388 |
+
a(l++);
|
1389 |
}
|
1390 |
+
var l = 0, d;
|
1391 |
c();
|
1392 |
return {
|
1393 |
stop: function() {
|
1394 |
+
d && g(d);
|
1395 |
d = null;
|
1396 |
}
|
1397 |
};
|
1398 |
};
|
1399 |
return f;
|
1400 |
}({}, y, w));
|
1401 |
+
n.register("$47", function(f, d, k) {
|
1402 |
+
function m(a, c, e, p) {
|
1403 |
if (b) {
|
1404 |
+
var l = e;
|
1405 |
e = function(a) {
|
1406 |
+
if ((a.MSPOINTER_TYPE_TOUCH || "touch") === a.pointerType) return l(a);
|
1407 |
};
|
1408 |
}
|
1409 |
+
a.addEventListener(c, e, p);
|
1410 |
return {
|
1411 |
unbind: function() {
|
1412 |
+
a.removeEventListener(c, e, p);
|
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 |
};
|
1428 |
return b;
|
1429 |
};
|
1430 |
f.dragger = function(b, c) {
|
1431 |
+
function l(a) {
|
1432 |
b.addEventListener(a, d[a], !1);
|
1433 |
}
|
1434 |
+
function p(a) {
|
1435 |
b.removeEventListener(a, d[a], !1);
|
1436 |
}
|
1437 |
var d = {};
|
1438 |
d[a] = function(b) {
|
1439 |
+
q(b, function(e, p) {
|
1440 |
+
p.type = a;
|
1441 |
+
c(b, p, f);
|
1442 |
});
|
1443 |
+
l(e);
|
1444 |
+
l(h);
|
1445 |
return !0;
|
1446 |
};
|
1447 |
+
d[h] = function(a) {
|
1448 |
+
p(e);
|
1449 |
+
p(h);
|
1450 |
+
q(a, function(b, e) {
|
1451 |
+
e.type = h;
|
1452 |
c(a, e, f);
|
1453 |
});
|
1454 |
return !0;
|
1455 |
};
|
1456 |
d[e] = function(a) {
|
1457 |
+
q(a, function(b, p) {
|
1458 |
+
p.type = e;
|
1459 |
+
c(a, p, f);
|
1460 |
});
|
1461 |
+
return g(a);
|
1462 |
};
|
1463 |
+
l(a);
|
1464 |
var f = {
|
1465 |
kill: function() {
|
1466 |
+
p(a);
|
1467 |
+
p(e);
|
1468 |
+
p(h);
|
1469 |
b = f = c = null;
|
1470 |
}
|
1471 |
};
|
1472 |
return f;
|
1473 |
};
|
1474 |
f.swiper = function(c, d, f) {
|
1475 |
+
function p(a) {
|
1476 |
c.addEventListener(a, u[a], !1);
|
1477 |
}
|
1478 |
function B(a) {
|
1482 |
r && r.stop();
|
1483 |
r = null;
|
1484 |
}
|
1485 |
+
var r, G, E, u = {}, v = [], F = [], k = [];
|
1486 |
u[a] = function(a) {
|
1487 |
G = !1;
|
1488 |
x();
|
1489 |
+
var b = l();
|
1490 |
+
q(a, function(a, c) {
|
1491 |
v[a] = b;
|
1492 |
F[a] = c.clientX;
|
1493 |
+
k[a] = c.clientY;
|
1494 |
});
|
1495 |
E = c.scrollLeft;
|
1496 |
return !0;
|
1497 |
};
|
1498 |
+
u[h] = function(a) {
|
1499 |
+
q(a, function(a, b) {
|
1500 |
+
var c = l() - v[a], e = F[a] - b.clientX, c = Math.abs(e) / c;
|
1501 |
d(c, e ? 0 > e ? -1 : 1 : 0);
|
1502 |
});
|
1503 |
E = null;
|
1505 |
};
|
1506 |
u[e] = function(a) {
|
1507 |
var b, e;
|
1508 |
+
null == E || q(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, E + b));
|
1514 |
+
return g(a);
|
1515 |
};
|
1516 |
+
if (!b || f) p(a), p(e), p(h), b && (c.className += " mstouch");
|
1517 |
return {
|
1518 |
kill: function() {
|
1519 |
B(a);
|
1520 |
B(e);
|
1521 |
+
B(h);
|
1522 |
x();
|
1523 |
},
|
1524 |
swiped: function() {
|
1533 |
},
|
1534 |
scroll: function(a, b, e) {
|
1535 |
x();
|
1536 |
+
var v = c.scrollLeft, p = a > v ? 1 : -1, l = Math[1 === p ? "min" : "max"], h = Math.round(16 * b * p);
|
1537 |
+
return r = n.require("$50", "fps.js").loop(function(b) {
|
1538 |
+
b && (v = Math.max(0, l(a, v + h)), c.scrollLeft = v, a === v && (x(), e && e(v)));
|
1539 |
}, c);
|
1540 |
}
|
1541 |
};
|
1542 |
};
|
1543 |
f.start = function(b, c) {
|
1544 |
+
return m(b, a, c, !1);
|
1545 |
};
|
1546 |
f.move = function(a, b) {
|
1547 |
+
return m(a, e, b, !1);
|
1548 |
};
|
1549 |
f.end = function(a, b) {
|
1550 |
+
return m(a, h, b, !1);
|
1551 |
};
|
1552 |
+
var q = f.each = function(a, c) {
|
1553 |
+
if (b) (a.MSPOINTER_TYPE_TOUCH || "touch") === a.pointerType && c(0, a); else for (var e = -1, p = (a.originalEvent || a).changedTouches || []; ++e < p.length; ) c(e, p[e]);
|
1554 |
+
}, l = Date.now || function() {
|
1555 |
return new Date().getTime();
|
1556 |
};
|
1557 |
return f;
|
1558 |
}({}, y, w));
|
1559 |
+
n.register("$51", function(f, d, n) {
|
1560 |
f.init = function(d) {
|
1561 |
+
function g() {
|
1562 |
e.style.top = String(-d.scrollTop) + "px";
|
1563 |
return !0;
|
1564 |
}
|
1571 |
function b(a) {
|
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 |
}({}, y, w));
|
1593 |
+
n.register("$29", function(f, d, k) {
|
1594 |
+
function m(b, a) {
|
1595 |
+
for (var c = 0, h = -1, q = a && d[a], l = g[b] || [], f = l.length; ++h < f; ) callback = l[h],
|
1596 |
+
"function" === typeof callback && (callback(q), 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 |
+
z && (z.onreadystatechange = null, z = z = z.onload = null);
|
1604 |
+
b && (delete g[b], b = null);
|
1605 |
}
|
1606 |
+
function q(a, p) {
|
1607 |
+
var l = z && z.readyState;
|
1608 |
+
if (p || !l || "loaded" === l || "complete" === l) p || 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), z = k.createElement("script");
|
1617 |
+
z.setAttribute("src", b);
|
1618 |
+
z.setAttribute("async", "true");
|
1619 |
+
z.onreadystatechange = q;
|
1620 |
+
z.onload = q;
|
1621 |
+
z.onerror = l;
|
1622 |
+
z.onabort = h;
|
1623 |
+
k.getElementsByTagName("head")[0].appendChild(z);
|
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 |
}({}, y, w));
|
1640 |
+
n.register("$16", function(f, d, D) {
|
1641 |
+
function m(a, b) {
|
1642 |
a.setReadOnly(!1);
|
1643 |
a.on("change", function(a, c) {
|
1644 |
return b.val(c.getValue());
|
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);
|
1663 |
}
|
1664 |
function b(b, c) {
|
1665 |
function e() {
|
1666 |
+
this.HighlightRules = h;
|
1667 |
}
|
1668 |
+
var h = a(c), p = b.require, d = p("ace/lib/oop");
|
1669 |
+
d.inherits(h, p("ace/mode/text_highlight_rules").TextHighlightRules);
|
1670 |
+
d.inherits(e, p("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 q:
|
1761 |
+
return h || "%%";
|
1762 |
}
|
1763 |
}
|
1764 |
+
var h, q = "auto";
|
1765 |
+
f.init = function(a, e, h) {
|
1766 |
+
var f, p = !1, B = h || q, x = a.parentNode, r = x.appendChild(D.createElement("div"));
|
1767 |
+
k(x).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 (r) {
|
1770 |
+
if (!h) throw Error("Failed to load code editor");
|
1771 |
+
f = h.edit(r);
|
1772 |
+
var d = f.session, q = f.renderer;
|
1773 |
f.$blockScrolling = Infinity;
|
1774 |
+
f.setShowInvisibles(p);
|
1775 |
f.setWrapBehavioursEnabled(!1);
|
1776 |
f.setBehavioursEnabled(!1);
|
1777 |
f.setHighlightActiveLine(!1);
|
1778 |
+
d.setUseSoftTabs(!1);
|
1779 |
+
q.setShowGutter(!0);
|
1780 |
+
q.setPadding(10);
|
1781 |
+
q.setScrollMargin(8);
|
1782 |
+
d.setMode(b(h, B));
|
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 |
+
r && (x.removeChild(r), k(x).removeClass("has-proxy has-ace"), r = null);
|
1792 |
return this;
|
1793 |
},
|
1794 |
disable: function() {
|
1798 |
},
|
1799 |
enable: function(a) {
|
1800 |
e = a;
|
1801 |
+
f && m(f, a);
|
1802 |
return this;
|
1803 |
},
|
1804 |
resize: function() {
|
1811 |
},
|
1812 |
invs: function(a) {
|
1813 |
a = a || !1;
|
1814 |
+
p !== a && (p = a, f && f.setShowInvisibles(a));
|
1815 |
return this;
|
1816 |
},
|
1817 |
strf: function(a) {
|
1818 |
+
a = a || q;
|
1819 |
a !== B && (B = a, f && f.session.setMode(b(d.ace, a)));
|
1820 |
return this;
|
1821 |
},
|
1825 |
};
|
1826 |
};
|
1827 |
f.strf = function(a, b) {
|
1828 |
+
q = a;
|
1829 |
+
h = b;
|
1830 |
return f;
|
1831 |
};
|
1832 |
return f;
|
1833 |
}({}, y, w));
|
1834 |
+
n.register("$52", function(f, d, D) {
|
1835 |
+
function m(a, b) {
|
1836 |
function c() {
|
1837 |
return b.val(a.getContent());
|
1838 |
}
|
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;
|
1860 |
f.load = function(a) {
|
1861 |
+
var b = n.require("$29", "remote.js");
|
1862 |
b.load(b.stat("/lib/tinymce.min.js"), a, "tinymce");
|
1863 |
return f;
|
1864 |
};
|
1865 |
f.init = function(a, e) {
|
1866 |
+
function h(a) {
|
1867 |
+
z = a;
|
1868 |
s = "<p>" === a.substr(0, 3) && "</p>" === a.substr(-4);
|
1869 |
return a.replace(/(<\/?)script/gi, "$1loco:script");
|
1870 |
}
|
1871 |
+
function d(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 (!s && "<p>" === a.substr(0, 3) && "</p>" === a.substr(-4)) {
|
1878 |
var b = a.substr(3, a.length - 7);
|
1879 |
+
if (b === z || -1 === b.indexOf("</p>")) a = b;
|
1880 |
}
|
1881 |
return a;
|
1882 |
};
|
1883 |
a._setContent = a.setContent;
|
1884 |
a.setContent = function(a, b) {
|
1885 |
+
return this._setContent(h(a), b);
|
1886 |
};
|
1887 |
+
e ? (m(a, e), e.reset()) : c(a);
|
1888 |
+
k(x).removeClass("loading");
|
1889 |
}
|
1890 |
+
var l, A = !1, z = "", s = !1, p = a.parentNode, B = p.parentNode, x = p.appendChild(D.createElement("div")), r = B.insertBefore(D.createElement("nav"), p);
|
1891 |
r.id = "_tb" + String(++b);
|
1892 |
+
k(p).addClass("has-proxy has-mce");
|
1893 |
+
k(x).addClass("mce-content-body loading").html(h(a.value));
|
1894 |
f.load(function(a) {
|
1895 |
if (!a) throw Error("Failed to load HTML editor");
|
1896 |
x && a.init({
|
1932 |
entities: "38,amp,60,lt,62,gt,160,nbsp",
|
1933 |
entity_encoding: "named",
|
1934 |
keep_styles: !1,
|
1935 |
+
init_instance_callback: d
|
1936 |
});
|
1937 |
});
|
1938 |
return {
|
1939 |
val: function(b) {
|
1940 |
+
b = h(b);
|
1941 |
+
null == l ? (a.value = b, k(x).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 |
+
x && (p.removeChild(x), k(p).removeClass("has-proxy has-mce"), x = null);
|
1948 |
r && (B.removeChild(r), r = null);
|
1949 |
return this;
|
1950 |
},
|
1951 |
enable: function(a) {
|
1952 |
e = a;
|
1953 |
+
l && m(l, a);
|
1954 |
return this;
|
1955 |
},
|
1956 |
disable: function() {
|
1957 |
+
l && c(l);
|
1958 |
e = null;
|
1959 |
return this;
|
1960 |
},
|
1961 |
focus: function() {
|
1962 |
+
l && e && l.focus();
|
1963 |
return this;
|
1964 |
},
|
1965 |
invs: function(a) {
|
1966 |
a = a || !1;
|
1967 |
+
A !== a && (A = a, k(p)[a ? "addClass" : "removeClass"]("show-invs"));
|
1968 |
return this;
|
1969 |
}
|
1970 |
};
|
1971 |
};
|
1972 |
return f;
|
1973 |
}({}, y, w));
|
1974 |
+
n.register("$48", function(f, d, D) {
|
1975 |
+
function m(b) {
|
1976 |
function a() {
|
1977 |
+
g && (f.off("input", e), g = !1);
|
1978 |
}
|
1979 |
function e() {
|
1980 |
var a = b.value;
|
1981 |
+
a !== p && (f.trigger("changing", [ a, p ]), p = a);
|
1982 |
}
|
1983 |
+
function h() {
|
1984 |
e();
|
1985 |
+
g && B !== p && f.trigger("changed", [ p ]);
|
1986 |
}
|
1987 |
+
function d() {
|
1988 |
c = b;
|
1989 |
+
B = p;
|
1990 |
+
g || (f.on("input", e), g = !0);
|
1991 |
f.trigger("editFocus");
|
1992 |
s.addClass("has-focus");
|
1993 |
return !0;
|
1994 |
}
|
1995 |
+
function l() {
|
1996 |
c === b && (c = null);
|
1997 |
f.trigger("editBlur");
|
1998 |
s.removeClass("has-focus");
|
1999 |
+
g && (h(), a());
|
2000 |
return !0;
|
2001 |
}
|
2002 |
+
var g = !1, f = k(b), s = k(b.parentNode), p = b.value, B;
|
2003 |
+
f.on("blur", l).on("focus", d);
|
2004 |
return {
|
2005 |
val: function(a) {
|
2006 |
+
p !== a && (b.value = a, f.triggerHandler("input"), p = a);
|
2007 |
return !0;
|
2008 |
},
|
2009 |
kill: function() {
|
2010 |
a();
|
2011 |
+
f.off("blur", l).off("focus", d);
|
2012 |
},
|
2013 |
fire: function() {
|
2014 |
+
p = null;
|
2015 |
e();
|
2016 |
},
|
2017 |
+
ping: h,
|
2018 |
+
blur: l,
|
2019 |
+
focus: d,
|
2020 |
reset: function() {
|
2021 |
+
B = p = 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;
|
2101 |
TextAreaPrototype.listen = function() {
|
2102 |
var b = this.l;
|
2103 |
b && b.kill();
|
2104 |
+
this.l = m(this.e);
|
2105 |
return this;
|
2106 |
};
|
2107 |
TextAreaPrototype.unlisten = function() {
|
2111 |
};
|
2112 |
TextAreaPrototype.setInvs = function(b, a) {
|
2113 |
var c = this.i || !1;
|
2114 |
+
if (a || c !== b) this._i && (this._i.kill(), delete this._i), (c = this.p) ? c.invs && c.invs(b) : b && (this._i = n.require("$51", "mirror.js").init(this.e)),
|
2115 |
this.i = b;
|
2116 |
return this;
|
2117 |
};
|
2120 |
};
|
2121 |
TextAreaPrototype.setMode = function(b) {
|
2122 |
var a = this.p, e = this.i || !1;
|
2123 |
+
b !== (this.m || "") && (this.m = b, a && a.kill(), this.p = a = "code" === b ? n.require("$16", "ace.js").init(this.e, this.l, this["%"]) : "html" === b ? n.require("$52", "mce.js").init(this.e, this.l) : null,
|
2124 |
this.setInvs(e, !0), c && this.focus());
|
2125 |
return this;
|
2126 |
};
|
2144 |
TextAreaPrototype = null;
|
2145 |
return f;
|
2146 |
}({}, y, w));
|
2147 |
+
n.register("$49", 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;
|
2156 |
}
|
2185 |
return !1;
|
2186 |
};
|
2187 |
}
|
2188 |
+
function h(a, b, c) {
|
2189 |
function e(a) {
|
2190 |
+
m("row[" + a + "] disappeared");
|
2191 |
return {
|
2192 |
cellVal: function() {
|
2193 |
return "";
|
2195 |
};
|
2196 |
}
|
2197 |
return function(d) {
|
2198 |
+
var h = b || 0, g = c ? -1 : 1, v = a.rows || [];
|
2199 |
d.sort(function(a, b) {
|
2200 |
+
return g * (v[a] || e(a)).cellVal(h).localeCompare((v[b] || e(b)).cellVal(h));
|
2201 |
});
|
2202 |
};
|
2203 |
}
|
2204 |
+
function q(a) {
|
2205 |
this.w = a;
|
2206 |
}
|
2207 |
+
function l(a) {
|
2208 |
this.t = a;
|
2209 |
this.length = 0;
|
2210 |
}
|
2211 |
+
function A(a, b, c) {
|
2212 |
+
var e = n.createElement("div");
|
2213 |
e.className = c || "";
|
2214 |
this._ = e;
|
2215 |
this.d = b || [];
|
2216 |
this.i = a || 0;
|
2217 |
this.length = b.length;
|
2218 |
}
|
2219 |
+
function z(a) {
|
2220 |
this.live = a;
|
2221 |
this.rows = [];
|
2222 |
}
|
2223 |
f.create = function(a) {
|
2224 |
+
return new q(a);
|
2225 |
};
|
2226 |
+
var s = q.prototype;
|
2227 |
s.init = function(d) {
|
2228 |
+
var h = this.w, l = h.id, q = h.splity(l + "-thead", l + "-tbody"), f = q[0], q = q[1], E = [], u = [], v = [], 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 |
+
q.css.push("wg-tbody");
|
2232 |
d.eachCol(function(a, b, c) {
|
2233 |
+
v[a] = l + "-col-" + b;
|
2234 |
F[a] = c || b;
|
2235 |
});
|
2236 |
+
for (var N = g(), s = -1, z = v.length, m = g("wg-cols"), n = f.splitx.apply(f, v); ++s < z; ) n[s].header(F[s]),
|
2237 |
+
m.appendChild(N.cloneNode(!1)).setAttribute("for", v[s]);
|
2238 |
d.eachRow(function(a, b, c) {
|
2239 |
+
E[a] = new A(a, b, c);
|
2240 |
u[a] = a;
|
2241 |
});
|
2242 |
this.rows = E;
|
2243 |
+
this.cols = m;
|
2244 |
this.ww = null;
|
2245 |
+
this.root = N = q.body;
|
2246 |
this.head = f;
|
2247 |
f.redraw = c(this);
|
2248 |
+
f = q.fixed = n[0].bodyY() || 20;
|
2249 |
+
h.lock().resize(f, q);
|
2250 |
+
h.css.push("is-table");
|
2251 |
+
h.restyle();
|
2252 |
+
this.sc ? this._re_sort(z) : d.sort && d.sort(u);
|
2253 |
this.redrawDirty();
|
2254 |
this.render();
|
2255 |
+
k(N).attr("tabindex", "-1").on("keydown", e(this)).on("mousedown", b(this)).on("scroll", a(this));
|
2256 |
return this;
|
2257 |
};
|
2258 |
s.clear = function() {
|
2263 |
return this;
|
2264 |
};
|
2265 |
s.render = function() {
|
2266 |
+
for (var a, b, c = [], e = this.rows || [], d = -1, h, g = this.idxs, v = g.length, q = this.idxr = {}, l = this.r, f = this._r, k = this.root, A = this.cols; ++d < v; ) {
|
2267 |
+
0 === d % 100 && (a = A.cloneNode(!0), b = new z(a), b.h = 2200, b.insert(k), c.push(b));
|
2268 |
+
h = g[d];
|
2269 |
+
q[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 |
}
|
2282 |
return this;
|
2283 |
};
|
2284 |
s.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 || [], v = g.length;
|
2286 |
+
for (c.redraw.call(e); ++a < h; ) b[a] = d[a].style.width;
|
2287 |
if (v) {
|
2288 |
c = this.mx;
|
2289 |
+
for (a = this.mn; a <= c; a++) g[a].widths(b);
|
2290 |
this.redrawDirty() && this.redraw();
|
2291 |
}
|
2292 |
};
|
2297 |
return a;
|
2298 |
};
|
2299 |
s.redraw = function() {
|
2300 |
+
for (var a = 0, b = -1, c = null, e = null, d = this.ww, h = this.sy, g = this.vh, v = this.mn, l = this.mx, q = Math.max(0, h - 100), h = g + h + 100, f = this.pages || [], k = f.length; ++b < k && !(a > h); ) g = f[b],
|
2301 |
+
a += g.height(), a < q || (null === c && (c = b), e = b, g.rendered || g.render(d));
|
2302 |
if (v !== c) {
|
2303 |
if (null !== v && c > v) for (b = v; 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 |
};
|
2332 |
};
|
2333 |
s.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 |
s.selectNext = function(a, b, c) {
|
2346 |
};
|
2347 |
s.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 |
s.selectRow = function(a, b) {
|
2354 |
};
|
2355 |
s.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 |
};
|
2378 |
return this.clear().render();
|
2379 |
};
|
2380 |
s.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 |
s.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 |
s._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 |
};
|
2398 |
return a;
|
2399 |
};
|
2400 |
s.sort = function(a, b) {
|
2401 |
+
this._sort(this.idxs, h(this, a, b));
|
2402 |
this.sc.activate(a, b);
|
2403 |
return this;
|
2404 |
};
|
2405 |
s = null;
|
2406 |
+
s = l.prototype;
|
2407 |
s.has = function(a) {
|
2408 |
return null != this[a];
|
2409 |
};
|
2428 |
s.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 |
s = null;
|
2438 |
+
s = A.prototype;
|
2439 |
s.render = function(a) {
|
2440 |
var b, c = [], e = this._, d = this.length;
|
2441 |
if (e) {
|
2467 |
return String(a.textContent || a);
|
2468 |
};
|
2469 |
s = null;
|
2470 |
+
s = z.prototype;
|
2471 |
s.size = function() {
|
2472 |
return this.rows.length;
|
2473 |
};
|
2474 |
s.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;
|
2483 |
s.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 |
s.render = function(a) {
|
2490 |
+
for (var b, c = -1, e = this.rows, d = e.length, h = this.dead, g = this.live, v = g.childNodes; ++c < d; ) b = e[c],
|
2491 |
b.rendered || b.render(v);
|
2492 |
d = a.length;
|
2493 |
for (c = 0; c < d; c++) v[c].style.width = a[c];
|
2494 |
+
h.parentNode.replaceChild(g, h);
|
2495 |
this.rendered = !0;
|
2496 |
this.h = null;
|
2497 |
return this;
|
2522 |
s = null;
|
2523 |
return f;
|
2524 |
}({}, y, w));
|
2525 |
+
n.register("$39", function(f, d, D) {
|
2526 |
+
function m(a, b) {
|
2527 |
+
var c = a.id, e = c && p[c], d = e && e.parent();
|
2528 |
if (!e || !d) return null;
|
2529 |
+
var h = d.dir === s, c = h ? "X" : "Y", g = "page" + c, h = h ? z : A, l = h(d.el), c = b["offset" + c], q = d.el, f = q.className;
|
2530 |
+
null == c && (c = b[g] - h(a));
|
2531 |
+
c && (l += c);
|
2532 |
+
q.className = f + " is-resizing";
|
2533 |
return {
|
2534 |
done: function() {
|
2535 |
+
q.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(D).off("mousemove", d);
|
2546 |
x && (x.done(), x = null);
|
2547 |
return !0;
|
2548 |
}
|
2551 |
return !0;
|
2552 |
}
|
2553 |
if (x) return !0;
|
2554 |
+
x = m(a.target, a);
|
2555 |
if (!x) return !0;
|
2556 |
+
k(D).one("mouseup", e).on("mousemove", d);
|
2557 |
return b(a);
|
2558 |
}
|
2559 |
function c(a, b) {
|
2560 |
var c = b.type;
|
2561 |
+
"touchmove" === c ? x && x.move(b) : "touchstart" === c ? x = m(a.target, b) : "touchend" === c && x && (x.done(),
|
2562 |
x = null);
|
2563 |
}
|
2564 |
function b(a) {
|
2573 |
return B = 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;
|
2586 |
this.pos = this.index = 0;
|
2587 |
this.css = [ c || "wg-root", "wg-cell" ];
|
2588 |
this._cn = c;
|
2589 |
+
p[b] = this;
|
2590 |
this.clear();
|
2591 |
}
|
2592 |
+
var q = n.include("$46", "html.js") || n.include("$2", "html.js", !0), l = n.require("$21", "dom.js"), A = l.top, z = l.left, s = 1, p = {}, B, x = !1;
|
2593 |
f.init = function(a) {
|
2594 |
+
var b = new h(a);
|
2595 |
b.redraw();
|
2596 |
+
n.require("$47", "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) {
|
2611 |
return this;
|
2612 |
};
|
2613 |
d.indexOf = function(a) {
|
2614 |
+
return (a = p[a.id || String(a)]) && a.pid === this.id ? a.index : -1;
|
2615 |
};
|
2616 |
d.on = function() {
|
2617 |
return this.$("on", arguments);
|
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) {
|
2636 |
return this;
|
2637 |
};
|
2638 |
d.parent = function() {
|
2639 |
+
return this.pid && p[this.pid];
|
2640 |
};
|
2641 |
d.splitx = function() {
|
2642 |
return this._split(s, 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, q = 0; ++c < d; ) {
|
2650 |
+
e = l.el();
|
2651 |
this.body.appendChild(e);
|
2652 |
+
for (var f = e, k = b[c], A = k, s = 1; p[k]; ) k = A + "-" + ++s;
|
2653 |
+
f.id = k;
|
2654 |
+
e = new h(e);
|
2655 |
e.index = c;
|
2656 |
e.pid = this.id;
|
2657 |
e._locale(this.lang, this.rtl);
|
2658 |
+
e.pos = q;
|
2659 |
+
q += g;
|
2660 |
this.cells.push(e);
|
2661 |
this.length++;
|
2662 |
}
|
2666 |
};
|
2667 |
d.destroy = function() {
|
2668 |
this.clear();
|
2669 |
+
delete p[this.id];
|
2670 |
var a = this.el;
|
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 === p[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 p[b[h].destroy().id];
|
2682 |
this.cells = [];
|
2683 |
this.length = 0;
|
2684 |
d && (a.removeChild(d), this.nav = null);
|
2685 |
+
e && (c && (q.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;
|
2689 |
return this;
|
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 === s ? "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, q = c.offsetTop || 0, g = q > g ? 0 : g - q;
|
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 (q = 2 === this.dir ? "height" : "width"; 0 !== c--; ) e = this.cells[c], g ? d = 1 : (e.fixed && (e.pos = e.fixed / k(b)[q]()),
|
2734 |
+
d = h - e.pos, h = e.pos), e.el.style[q] = String(100 * d) + "%", e.redraw(a);
|
2735 |
return this;
|
2736 |
};
|
2737 |
d.contents = function(a, b) {
|
2738 |
var c = this.el, e = this.body;
|
2739 |
if (null == a) return e.innerHTML;
|
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 |
};
|
2750 |
var d = c.editable();
|
2751 |
c.reload(a, b);
|
2752 |
d !== b && this.restyle();
|
2753 |
+
} else this.length && this.clear(), d = l.el("textarea"), d.setAttribute("wrap", "virtual"),
|
2754 |
+
d.value = a, this.contents(d), c = n.require("$48", "field.js")._new(d)[b ? "enable" : "disable"](),
|
2755 |
e(this, d), this.field = c, this.restyle();
|
2756 |
this.lang || this.locale("en");
|
2757 |
return c;
|
2758 |
};
|
2759 |
d.locale = function(a) {
|
2760 |
+
a = n.require("$37", "locale.js").cast(a);
|
2761 |
return this._locale(String(a), a.isRTL());
|
2762 |
};
|
2763 |
d._locale = function(a, b, c) {
|
2784 |
return this;
|
2785 |
};
|
2786 |
d.append = function(a) {
|
2787 |
+
a && (a.nodeType ? q.init(this.body.appendChild(a)) : q.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 |
+
q.init(c ? b.insertBefore(a, c) : b.appendChild(a));
|
2795 |
+
} else q.init(k(a).prependTo(b));
|
2796 |
return this;
|
2797 |
};
|
2798 |
d.before = function(a) {
|
2799 |
var b = this.body;
|
2800 |
+
a.nodeType ? q.init(this.el.insertBefore(a, b)) : q.init(k(a).insertBefore(b));
|
2801 |
return this;
|
2802 |
};
|
2803 |
d.header = function(a, b) {
|
2804 |
if (null == a && null == b) return this.el.getElementsByTagName("header")[0];
|
2805 |
+
this.t = l.txt(a || "");
|
2806 |
+
this.el.insertBefore(l.el("header", b), this.body).appendChild(this.t);
|
2807 |
this.redraw();
|
2808 |
return this;
|
2809 |
};
|
2818 |
return a && a.nodeValue;
|
2819 |
};
|
2820 |
d.bodyY = function() {
|
2821 |
+
return A(this.body, this.el);
|
2822 |
};
|
2823 |
d.scrollY = function(a) {
|
2824 |
if (J === a) return this.body.scrollTop;
|
2826 |
};
|
2827 |
d.tabulate = function(a) {
|
2828 |
var b = this.table;
|
2829 |
+
b ? b.clear() : b = n.require("$49", "wgtable.js").create(this);
|
2830 |
b.init(a);
|
2831 |
return this.table = b;
|
2832 |
};
|
2837 |
d.scrollTo = function(a, b) {
|
2838 |
var c, e = this.body;
|
2839 |
c = e.scrollTop;
|
2840 |
+
var d = A(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 |
+
q = a;
|
2854 |
+
p.data("idx", a);
|
2855 |
b.fire("wgTabSelect", [ a ]);
|
2856 |
return d;
|
2857 |
}
|
2858 |
+
var d = this, h = d.cells, g = d.nav, q, f = [];
|
2859 |
+
g && d.el.removeChild(g);
|
2860 |
+
var g = d.nav = d.el.insertBefore(l.el("nav", "wg-tabs"), d.body), p = k(g).on("click", function(a) {
|
2861 |
+
var c = k(a.target).data("idx");
|
2862 |
if (null == c) return !0;
|
2863 |
+
if (null != q) {
|
2864 |
+
var g = f[q];
|
2865 |
+
k(h[q].el).hide();
|
2866 |
g.removeClass("active");
|
2867 |
}
|
2868 |
e(c);
|
2869 |
d.redraw();
|
2870 |
return b(a);
|
2871 |
});
|
2872 |
+
null == c && (c = p.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(p);
|
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 |
}({}, y, w));
|
2890 |
+
n.register("$24", function(f, d, D) {
|
2891 |
+
function m(a) {
|
2892 |
var b = [];
|
2893 |
a && (a.saved() || b.push("po-unsaved"), a.fuzzy() ? b.push("po-fuzzy") : a.flagged() && b.push("po-flagged"),
|
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("$37", "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);
|
2913 |
function b() {
|
2914 |
this.dirty = 0;
|
2915 |
}
|
2916 |
+
n.require("$3", "number.js");
|
2917 |
+
var a = "poUpdate", e = "changing", h = "changed", q = 0, l = 1, A = 2, z = 3, s = 4, p = 5, B, x, r = n.require("$36", "string.js").html, y = n.require("$6", "string.js").sprintf;
|
2918 |
f.extend = function(a) {
|
2919 |
return a.prototype = new b();
|
2920 |
};
|
2928 |
a.innerHTML = b.replace("src=", "x=");
|
2929 |
return a.textContent.trim() || b.trim();
|
2930 |
};
|
2931 |
+
}(), u = b.prototype = n.require("$38", "abstract.js").init([ "getListColumns", "getListHeadings", "getListEntry" ], [ "editable", "t" ]);
|
2932 |
u.init = function() {
|
2933 |
this.localise();
|
2934 |
this.editable = {
|
2940 |
return this;
|
2941 |
};
|
2942 |
u.localise = function(a) {
|
2943 |
+
a || (a = x || n.require("$1", "t.js").init());
|
2944 |
var b = [];
|
2945 |
+
b[q] = a._x("Source text", "Editor") + ":";
|
2946 |
+
b[z] = a._x("%s translation", "Editor") + ":";
|
2947 |
b[s] = a._x("Context", "Editor") + ":";
|
2948 |
+
b[p] = a._x("Comments", "Editor") + ":";
|
2949 |
+
b[l] = a._x("Single", "Editor") + ":";
|
2950 |
+
b[A] = 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");
|
2961 |
c.redraw(!0, a);
|
2962 |
return !0;
|
2963 |
}
|
2964 |
+
var c = n.require("$39", "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 |
B = 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, q = this.po; null != (d = e.next(a, c, d)); ) {
|
3000 |
+
if (h === d) {
|
3001 |
d = null;
|
3002 |
break;
|
3003 |
}
|
3004 |
+
if (b && (g = q.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() {
|
3067 |
var b = this.po.indexOf(a);
|
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(), q = 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 = q, a.fire("poFilter", [ "", q ]));
|
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) {
|
3110 |
+
b(e.idx, a.getListEntry(e), m(e));
|
3111 |
});
|
3112 |
},
|
3113 |
sort: a.getSorter()
|
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 !!q;
|
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, q = this.labels, l = [], f = a.tags(), p = f && f.length;
|
3153 |
+
if (d = a.context()) l.push("<span>" + r(q[s]) + "</span>"), l.push("<mark>" + r(d) + "</mark>");
|
3154 |
+
if (p && this.getTag) for (l.push("<span>Tagged:</span>"); 0 <= --p; ) (d = this.getTag(f[p])) && l.push('<mark class="tag">' + r(d.mod_name) + "</mark>");
|
3155 |
l.length && e.push(l.join(" "));
|
3156 |
+
if (this.getMono() && (d = a.refs()) && (f = d.split(/\s/), p = f.length)) {
|
3157 |
+
for (l = []; 0 <= --p; ) d = f[p], l.push("<code>" + r(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">' + r(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">' + r(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[q];
|
3186 |
a.off();
|
3187 |
+
a.titled() !== k && g(a, k, e || "en");
|
3188 |
+
k = !1;
|
3189 |
+
r.setSrcMeta(b, a) && (k = !0);
|
3190 |
if (b.plural()) {
|
3191 |
+
var k = -1, p = [], s = [], z = 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; ) p[k] = z + String(k),
|
3193 |
+
s[k] = c(m[k]) + ":"; else p = [ z + "-0", z + "-1" ], s = [ L[l], L[A] ];
|
3194 |
+
a.splity.apply(a, p);
|
3195 |
a.each(function(a, c) {
|
3196 |
+
a.header(s[c]).textarea(b.source(null, c), h).setStrf(C).setMode(x).setInvs(w);
|
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(C).setMode(x).setInvs(w),
|
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 && r.updateListCell(b, "source");
|
3209 |
r.unsave(b, d);
|
3210 |
+
}).on(h, function() {
|
3211 |
0 === d && r.po.reIndex(b);
|
3212 |
r.dict && r.rebuildSearch();
|
3213 |
r.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 = y(L[z], h);
|
3222 |
+
a.titled() !== h && g(a, h, e);
|
3223 |
+
h = !1;
|
3224 |
+
!this.sourceCell && r.setSrcMeta(b, a) && (h = !0);
|
3225 |
+
r.setTrgMeta(b, d, a) && (h = !0);
|
3226 |
r.setStatus(b, d);
|
3227 |
if (1 !== e.nplurals && b.pluralized()) {
|
3228 |
+
var q = [], l = [], f = a.id + "-", p = b.targetForms() || e.plurals || [ "One", "Other" ], h = p.length, A = function(a) {
|
3229 |
+
var b = p[a];
|
3230 |
+
l.push(b ? c(b, !0) : "Form " + a);
|
3231 |
+
q.push(f + String(a));
|
3232 |
};
|
3233 |
+
for (b.each(A); (e = q.length) < h; ) A(e);
|
3234 |
+
a.splitx.apply(a, q);
|
3235 |
a.each(function(a, c) {
|
3236 |
var e = M && !b.disabled(c);
|
3237 |
a.textarea(b.translation(c), e).setStrf(C).setMode(x).setInvs(w);
|
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 |
r.setTrgMeta(b, e, a);
|
3244 |
r.setStatus(b, e);
|
3245 |
r.fire("poTab", [ e ]);
|
3246 |
});
|
3247 |
+
} else h && a.redraw(), a.textarea(b.translation(), M && !b.disabled(0)).setStrf(C).setMode(x).setInvs(w),
|
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 && r.updateListCell(b, "target");
|
3254 |
b.fuzzy(d) ? r.fuzzy(!1, b, d) : r.unsave(b, d);
|
3255 |
"" === c ? (r.fire("poEmpty", [ !0, b, d ]), r.setStatus(b, d)) : "" === e && (r.fire("poEmpty", [ !1, b, d ]),
|
3256 |
r.setStatus(b, d));
|
3257 |
+
}).on(h, function() {
|
3258 |
r.dict && r.rebuildSearch();
|
3259 |
r.fire(a, [ b ]);
|
3260 |
});
|
3261 |
}
|
3262 |
+
function n(c) {
|
3263 |
c.off();
|
3264 |
var d = L[s];
|
3265 |
+
c.titled() !== d && (g(c, d), r.setStatus(null));
|
3266 |
c.textarea(b.context(), !0).setMode(x).setInvs(w);
|
3267 |
X && c.on(e, function(a, c) {
|
3268 |
b.context(c);
|
3269 |
r.updateListCell(b, "source");
|
3270 |
r.unsave(b, O);
|
3271 |
+
}).on(h, function() {
|
3272 |
r.po.reIndex(b);
|
3273 |
r.dict && r.rebuildSearch();
|
3274 |
r.fire(a, [ b ]);
|
3275 |
});
|
3276 |
}
|
3277 |
function u(a) {
|
3278 |
+
var c = L[p];
|
3279 |
+
a.titled() !== c && g(a, c);
|
3280 |
a.off().on(e, function(a, c) {
|
3281 |
b.comment(c);
|
3282 |
r.fire("poComment", [ b, c ]);
|
3287 |
r.html !== D && (r.html = D, "code" !== r.mode && (x = D ? "html" : "", r.setMode(x)));
|
3288 |
r.active = b;
|
3289 |
T && d(T, Y);
|
3290 |
+
U && n(U);
|
3291 |
+
S && W && (O = S.navigated() || 0, k(S, W, O));
|
3292 |
V && u(V);
|
3293 |
P && (P.exists() || (P = P.parent()), (D = P.editable()) && D.focus());
|
3294 |
E !== C && (this.fmt = C);
|
3406 |
u = null;
|
3407 |
return f;
|
3408 |
}({}, y, w));
|
3409 |
+
n.register("$13", function(f, d, D) {
|
3410 |
+
function m() {
|
3411 |
this.init()._validate();
|
3412 |
this.sourceLocale = {
|
3413 |
lang: "en",
|
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 |
});
|
3434 |
}
|
3435 |
+
d = n.require("$24", "base.js");
|
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 |
};
|
3449 |
+
d = m.prototype = d.extend(m);
|
3450 |
d.getListHeadings = function() {
|
3451 |
var a = this.t || {
|
3452 |
_x: function(a) {
|
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 = D.createElement("p"), c.appendChild(D.createElement("mark")).innerText = h,
|
3470 |
c.appendChild(D.createTextNode(" " + d)), c) : d;
|
3471 |
} ];
|
3472 |
this.targetLocale && (c[1] = function() {
|
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 |
}({}, y, w));
|
3539 |
+
n.register("$14", function(f, d, n) {
|
3540 |
+
var m = {
|
3541 |
copy: 66,
|
3542 |
clear: 75,
|
3543 |
save: 83,
|
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;
|
3599 |
return this;
|
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 |
}({}, y, w));
|
3614 |
+
n.register("$25", function(f, d, k) {
|
3615 |
+
function m() {
|
3616 |
this.reIndex([]);
|
3617 |
}
|
3618 |
f.init = function() {
|
3619 |
+
return new m();
|
3620 |
};
|
3621 |
+
d = m.prototype;
|
3622 |
d.reIndex = function(d) {
|
3623 |
for (var c = {}, b = -1, a = d.length; ++b < a; ) c[d[b]] = b;
|
3624 |
this.keys = d;
|
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) {
|
3680 |
d = null;
|
3681 |
return f;
|
3682 |
}({}, y, w));
|
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",
|
3709 |
"\b": "\\b"
|
3710 |
};
|
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, r = m.length; ++n < r; ) 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 |
}
|
3737 |
};
|
3738 |
return f;
|
3739 |
}({}, y, w));
|
3740 |
+
n.register("$40", function(f, d, k) {
|
3741 |
+
function m() {
|
3742 |
this.length = 0;
|
3743 |
}
|
3744 |
f.init = function() {
|
3745 |
+
return new m();
|
3746 |
};
|
3747 |
+
d = m.prototype;
|
3748 |
d.push = function(d) {
|
3749 |
this[this.length++] = d;
|
3750 |
return this;
|
3759 |
};
|
3760 |
return f;
|
3761 |
}({}, y, w));
|
3762 |
+
n.register("$27", function(f, d, k) {
|
3763 |
+
function m() {}
|
3764 |
f.extend = function(d) {
|
3765 |
+
return d.prototype = new m();
|
3766 |
};
|
3767 |
+
d = m.prototype = n.require("$38", "abstract.js").init([ "add", "load" ]);
|
3768 |
d.row = function(d) {
|
3769 |
return this.rows[d];
|
3770 |
};
|
3782 |
return d;
|
3783 |
};
|
3784 |
d.locale = function(d) {
|
3785 |
+
null == d ? d = this.loc : this.loc = d = n.require("$37", "locale.js").cast(d);
|
3786 |
return d;
|
3787 |
};
|
3788 |
d.each = function(d) {
|
3820 |
return this;
|
3821 |
};
|
3822 |
d["export"] = function() {
|
3823 |
+
for (var d = -1, c = this.rows, b = c.length, a = n.require("$40", "list.js").init(); ++d < b; ) a.push(c[d]);
|
3824 |
return a;
|
3825 |
};
|
3826 |
d = null;
|
3827 |
return f;
|
3828 |
}({}, y, w));
|
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() {
|
3922 |
return !0;
|
3923 |
};
|
3924 |
d.comment = function(c) {
|
3925 |
+
return m(this, "cmt", c);
|
3926 |
};
|
3927 |
d.notes = function(c) {
|
3928 |
+
return m(this, "xcmt", c);
|
3929 |
};
|
3930 |
d.refs = function(c) {
|
3931 |
+
return m(this, "rf", c);
|
3932 |
};
|
3933 |
d.format = function(c) {
|
3934 |
+
return m(this, "fmt", c);
|
3935 |
};
|
3936 |
d.context = function(c) {
|
3937 |
+
return m(this, "ctx", c);
|
3938 |
};
|
3939 |
d.tags = function() {
|
3940 |
return this.tg;
|
3989 |
d = null;
|
3990 |
return f;
|
3991 |
}({}, y, w));
|
3992 |
+
n.register("$15", function(f, d, k) {
|
3993 |
+
function m(a) {
|
3994 |
return {
|
3995 |
"Project-Id-Version": "PACKAGE VERSION",
|
3996 |
"Report-Msgid-Bugs-To": "",
|
4005 |
"Content-Transfer-Encoding": "8bit"
|
4006 |
};
|
4007 |
}
|
4008 |
+
function g(a, b) {
|
4009 |
var c = a || "";
|
4010 |
b && (c += "\0" + b);
|
4011 |
return c;
|
4015 |
b && b.error && b.error(a.message || String(a));
|
4016 |
}
|
4017 |
function b(a) {
|
4018 |
+
return n.require("$26", "format.js").create(a);
|
4019 |
}
|
4020 |
function a(a) {
|
4021 |
this.locale(a);
|
4022 |
this.clear();
|
4023 |
+
this.head = m(this.now());
|
4024 |
}
|
4025 |
function e(a, b) {
|
4026 |
this.src = [ a || "" ];
|
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];
|
4056 |
return this;
|
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, p, m, n = (g = this.locale()) && g.nplurals || 2, r = []; ++b < a.length; ) d = a[b],
|
4083 |
+
null == d.parent ? (f = d.source || d.id, g = d.target || "", k = d.context, f || k ? (p = new e(f, g),
|
4084 |
+
p._id = d._id, k && p.context(k), d.flag && p.flag(d.flag, 0), d.comment && p.comment(d.comment),
|
4085 |
+
d.notes && p.notes(d.notes), d.refs && p.refs(d.refs), p.format(d.format), d.message = p,
|
4086 |
+
this.add(p), d.prev && d.prev[0] && (p.prev(d.prev[0].source, d.prev[0].context),
|
4087 |
+
d.prev[1] && p._src.push(d.prev[1].source || ""))) : 0 === b && "object" === typeof g && (this.head = g,
|
4088 |
this.headcmt = d.comment)) : r.push(d);
|
4089 |
for (b = -1; ++b < r.length; ) try {
|
4090 |
d = r[b];
|
4091 |
f = d.source || d.id;
|
4092 |
+
p = a[d.parent] && a[d.parent].message;
|
4093 |
+
if (!p) throw Error("parent missing for plural " + f);
|
4094 |
+
m = d.plural;
|
4095 |
+
1 === m && p.plural(f);
|
4096 |
+
m >= n || (d.flag && p.flag(d.flag, m), p.translate(d.target || "", m), d.format && !p.format() && p.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, p = 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, p)), 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 |
}({}, y, w));
|
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 |
}({}, y, w));
|
4212 |
+
n.register("$30", function(f, d, k) {
|
4213 |
+
function m(d) {
|
4214 |
this.api = d;
|
4215 |
this.chars = 0;
|
4216 |
}
|
4217 |
f.create = function(d) {
|
4218 |
+
return new m(d);
|
4219 |
};
|
4220 |
+
d = m.prototype;
|
4221 |
d.init = function(d, c) {
|
4222 |
function b(a) {
|
4223 |
var b = {
|
4229 |
return x[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 u = p[g];
|
4235 |
if (u) u.push(a); else {
|
4236 |
+
var u = g.length, v = e.isHtml(g), v = x[v ? 1 : 0], B = v.sources;
|
4237 |
+
if (s && u > s) l++; else {
|
4238 |
+
if (v.length + u > n || B.length === m) v = b(v), B = v.sources;
|
4239 |
+
B.push(g);
|
4240 |
+
p[g] = [ a ];
|
4241 |
v.length += u;
|
4242 |
f += u;
|
4243 |
k += 1;
|
4245 |
}
|
4246 |
}
|
4247 |
}
|
4248 |
+
var e = this.api, f = 0, k = 0, l = 0, m = 50, n = 1e4, s = e.maxChr(), p = {}, B = [], x = [];
|
4249 |
+
s && (n = Math.min(n, s));
|
4250 |
b({
|
4251 |
html: !1
|
4252 |
});
|
4258 |
a(c, 1);
|
4259 |
});
|
4260 |
delete x;
|
4261 |
+
this.map = p;
|
4262 |
this.chars = f;
|
4263 |
this.length = k;
|
4264 |
this.batches = B;
|
4265 |
this.locale = d.locale();
|
4266 |
+
l && e.stderr("Strings over " + n + " characters long will be skipped");
|
4267 |
};
|
4268 |
d.abort = function() {
|
4269 |
this.state = "abort";
|
4271 |
};
|
4272 |
d.dispatch = function() {
|
4273 |
function d(a, b) {
|
4274 |
+
function e(c, d, h) {
|
4275 |
+
b !== h && (a === d || 1 < c && f.source(null, 1) === a) && (f.translate(b, c),
|
4276 |
+
p++, r++);
|
4277 |
+
return p;
|
4278 |
}
|
4279 |
if (!c()) return !1;
|
4280 |
if (!b) return !0;
|
4281 |
+
var f, h = n[a] || [], g = h.length, l = -1, p;
|
4282 |
+
for (B++; ++l < g; ) if (f = h[l]) p = 0, f.each(e), p && k("each", [ f ]);
|
4283 |
return !0;
|
4284 |
}
|
4285 |
function c() {
|
4286 |
+
return "abort" === l.state ? (m && (m.abort(), f()), !1) : !0;
|
4287 |
}
|
4288 |
function b() {
|
4289 |
+
var b = s.shift(), c;
|
4290 |
+
b ? (c = b.sources) && c.length ? m.batch(c, p, b.html, d).fail(a).always(e) : e() : f();
|
4291 |
}
|
4292 |
function a() {
|
4293 |
+
l.abort();
|
4294 |
f();
|
4295 |
}
|
4296 |
function e() {
|
4299 |
c() && b();
|
4300 |
}
|
4301 |
function f() {
|
4302 |
+
m = s = null;
|
4303 |
k("done");
|
4304 |
}
|
4305 |
function k(a, b) {
|
4306 |
for (var c = u[a] || [], d = c.length; 0 <= --d; ) c[d].apply(null, b);
|
4307 |
}
|
4308 |
+
var l = this, m = l.api, n = l.map, s = l.batches || [], p = l.locale, B = 0, x = 0, r = 0, w = l.length, y = s.length, u = {
|
4309 |
done: [],
|
4310 |
each: [],
|
4311 |
prog: []
|
4312 |
};
|
4313 |
+
l.state = "";
|
4314 |
b();
|
4315 |
return {
|
4316 |
done: function(a) {
|
4339 |
};
|
4340 |
return f;
|
4341 |
}({}, y, w));
|
4342 |
+
n.register("$41", {
|
4343 |
nn: [ "no" ]
|
4344 |
});
|
4345 |
+
n.register("$31", function(f, d, k) {
|
4346 |
+
function m() {}
|
4347 |
+
function g(c) {
|
4348 |
c.parseError = function(b) {
|
4349 |
return b && b.code && 200 !== b.code && b.message ? "Error " + b.code + ": " + b.message : "";
|
4350 |
};
|
4351 |
c.batch = function(b, a, d, f) {
|
4352 |
+
function g(c) {
|
4353 |
for (var d = b.length, e = -1; ++e < d && !1 !== f(b[e], c[e] || "", a); ) ;
|
4354 |
}
|
4355 |
d = d ? "html" : "plain";
|
4356 |
+
var k = this.getSrc(), m = this.toLang(a);
|
4357 |
return c._call({
|
4358 |
+
url: "https://translate.yandex.net/api/v1.5/tr.json/translate?format=" + d + "&lang=" + k + "-" + m,
|
4359 |
method: "POST",
|
4360 |
traditional: !0,
|
4361 |
data: {
|
4363 |
text: b
|
4364 |
}
|
4365 |
}).done(function(a, b, d) {
|
4366 |
+
a && 200 === a.code ? g(a.text || []) : (c.stderr(c.parseError(a) || c.httpError(d)),
|
4367 |
+
g([]));
|
4368 |
}).fail(function() {
|
4369 |
+
g([]);
|
4370 |
});
|
4371 |
};
|
4372 |
}
|
4373 |
f.create = function(c) {
|
4374 |
+
var b = m.prototype = new c();
|
4375 |
b.toString = function() {
|
4376 |
return "Yandex.Translate";
|
4377 |
};
|
4383 |
};
|
4384 |
b.init = function(a) {
|
4385 |
c.prototype.init.call(this, a);
|
4386 |
+
/^trnsl\./.test(this.key()) && g(this);
|
4387 |
};
|
4388 |
b.toLang = function(a) {
|
4389 |
+
return this.mapLang(a, n.require("$41", "yandex.json"));
|
4390 |
+
};
|
4391 |
+
b.maxChr = function() {
|
4392 |
+
return 1e4;
|
4393 |
};
|
4394 |
+
return new m();
|
4395 |
};
|
4396 |
return f;
|
4397 |
}({}, y, w));
|
4398 |
+
n.register("$42", {
|
4399 |
zh: [ "zh", "zh-CN", "zh-TW" ],
|
4400 |
he: [ "iw" ],
|
4401 |
jv: [ "jw" ]
|
4402 |
});
|
4403 |
+
n.register("$32", function(f, d, k) {
|
4404 |
+
function m() {}
|
4405 |
f.create = function(d) {
|
4406 |
+
d = m.prototype = new d();
|
4407 |
+
d.toString = function() {
|
4408 |
return "Google Translate";
|
4409 |
};
|
4410 |
+
d.getId = function() {
|
4411 |
return "google";
|
4412 |
};
|
4413 |
+
d.getUrl = function() {
|
4414 |
return "https://translate.google.com/";
|
4415 |
};
|
4416 |
+
d.parseError = function(c) {
|
4417 |
+
if (c.error) {
|
4418 |
+
for (var b = [], a = c.error.errors || [], d = a.length, f = -1; ++f < d; ) b.push(a[f].message || "");
|
4419 |
+
return "Error " + c.error.code + ": " + b.join(";");
|
|
|
|
|
|
|
4420 |
}
|
4421 |
return "";
|
4422 |
+
};
|
4423 |
+
d.batch = function(c, b, a, d) {
|
4424 |
+
function f(a) {
|
4425 |
+
for (var h = c.length, g = -1, k; ++g < h && (k = a[g] || {}, !1 !== d(c[g], k.translatedText || "", b)); ) ;
|
4426 |
}
|
4427 |
+
var g = this, k = this.getSrc();
|
4428 |
+
a = a ? "html" : "text";
|
4429 |
+
var m = g.mapLang(b, n.require("$42", "google.json"));
|
4430 |
return g._call({
|
4431 |
+
url: "https://translation.googleapis.com/language/translate/v2?source=" + k + "&target=" + m + "&format=" + a,
|
4432 |
method: "POST",
|
4433 |
traditional: !0,
|
4434 |
data: {
|
4435 |
key: g.key(),
|
4436 |
+
q: c
|
4437 |
}
|
4438 |
}).done(function(a, b, c) {
|
4439 |
+
a.data ? f(a.data.translations || []) : (g.stderr(g.parseError(a) || g.httpError(c)),
|
4440 |
+
f([]));
|
4441 |
}).fail(function() {
|
4442 |
+
f([]);
|
4443 |
});
|
4444 |
};
|
4445 |
+
return new m();
|
4446 |
};
|
4447 |
return f;
|
4448 |
}({}, y, w));
|
4449 |
+
n.register("$43", {
|
4450 |
nn: [ "no" ],
|
4451 |
pt: [ "pt", "pt-pt" ],
|
4452 |
sr: [ "sr-Cyrl", "sr-Latn" ],
|
4458 |
zh_SG: [ "zh-Hans" ],
|
4459 |
zh_TW: [ "zh-Hant" ]
|
4460 |
});
|
4461 |
+
n.register("$33", function(f, d, k) {
|
4462 |
+
function m() {}
|
4463 |
f.create = function(d) {
|
4464 |
+
d = m.prototype = new d();
|
4465 |
d.toString = function() {
|
4466 |
return "Microsoft Translator text API";
|
4467 |
};
|
4474 |
d.parseError = function(c) {
|
4475 |
return c && c.error ? c.error.message : "";
|
4476 |
};
|
4477 |
+
d.maxChr = function() {
|
4478 |
+
return 1e4;
|
4479 |
+
};
|
4480 |
d.batch = function(c, b, a, d) {
|
4481 |
function f(a) {
|
4482 |
+
for (var h = -1, g; ++h < z && (g = a[h] || {}, g = g.translations || [], g = g[0] || {},
|
4483 |
+
!1 !== d(c[h], g.text || "", b)); ) ;
|
4484 |
}
|
4485 |
+
var g = this, k = [], m = g.getSrc(), z = c.length, s = -1;
|
4486 |
a = a ? "html" : "plain";
|
4487 |
+
for (var p = g.mapLang(b, n.require("$43", "ms.json")); ++s < z; ) k.push({
|
4488 |
+
text: c[s]
|
4489 |
});
|
4490 |
+
return g._call({
|
4491 |
+
url: "https://api.cognitive.microsofttranslator.com/translate?api-version=3.0&from=" + m + "&to=" + p + "&textType=" + a,
|
4492 |
method: "POST",
|
4493 |
+
data: JSON.stringify(k),
|
4494 |
headers: {
|
4495 |
"Content-Type": "application/json; charset=UTF-8",
|
4496 |
"Ocp-Apim-Subscription-Key": this.key(),
|
4497 |
+
"Ocp-Apim-Subscription-Region": g.param("region") || "global"
|
4498 |
}
|
4499 |
}).done(function(a, b, c) {
|
4500 |
+
a && a.length ? f(a) : (g.stderr(g.parseError(a) || g.httpError(c)), f([]));
|
4501 |
}).fail(function() {
|
4502 |
f([]);
|
4503 |
});
|
4504 |
};
|
4505 |
+
return new m();
|
4506 |
};
|
4507 |
return f;
|
4508 |
}({}, y, w));
|
4509 |
+
n.register("$44", {
|
4510 |
pt: [ "pt-PT", "pt-BR" ]
|
4511 |
});
|
4512 |
+
n.register("$34", function(f, d, k) {
|
4513 |
+
function m() {}
|
4514 |
f.create = function(d) {
|
4515 |
+
d = m.prototype = new d();
|
4516 |
d.toString = function() {
|
4517 |
return "DeepL Translator";
|
4518 |
};
|
4527 |
};
|
4528 |
d.batch = function(c, b, a, d) {
|
4529 |
function f(a) {
|
4530 |
+
for (var h = c.length, g = -1, k; ++g < h && (k = a[g] || {}, !1 !== d(c[g], k.text || "", b)); ) ;
|
4531 |
}
|
4532 |
+
var g = this;
|
4533 |
a = this.getSrc();
|
4534 |
+
var k = g.param("url") || "https://api.deepl.com", m = g.mapLang(b, n.require("$44", "deepl.json")), z = b.tone, s = "default";
|
4535 |
+
null == z && (z = String(b.variant || "").toLowerCase());
|
4536 |
+
"formal" === z ? s = "more" : "informal" === z && (s = "less");
|
4537 |
+
return g._call({
|
4538 |
+
url: g.fixURL(k + "/v2/translate"),
|
4539 |
method: "POST",
|
4540 |
traditional: !0,
|
4541 |
data: {
|
4542 |
source_lang: a.toUpperCase(),
|
4543 |
+
target_lang: m.toUpperCase(),
|
4544 |
+
formality: s,
|
4545 |
preserve_formatting: "1",
|
4546 |
+
auth_key: g.key(),
|
4547 |
text: c
|
4548 |
}
|
4549 |
}).done(function(a, b, c) {
|
4550 |
+
a.translations ? f(a.translations) : (g.stderr(g.parseError(a) || g.httpError(c)),
|
4551 |
f([]));
|
4552 |
}).fail(function() {
|
4553 |
f([]);
|
4554 |
});
|
4555 |
};
|
4556 |
+
return new m();
|
4557 |
};
|
4558 |
return f;
|
4559 |
}({}, y, w));
|
4560 |
+
n.register("$45", {
|
4561 |
zh: [ "zh", "zh-CN", "zh-TW" ],
|
4562 |
pt: [ "pt", "pt-PT", "pt-BR" ]
|
4563 |
});
|
4564 |
+
n.register("$35", function(f, d, k) {
|
4565 |
+
function m() {}
|
4566 |
f.create = function(d) {
|
4567 |
+
d = m.prototype = new d();
|
4568 |
d.getUrl = function() {
|
4569 |
return "https://lecto.ai/?ref=loco";
|
4570 |
};
|
4580 |
};
|
4581 |
d.batch = function(c, b, a, d) {
|
4582 |
function f(a) {
|
4583 |
+
for (var h = c.length, g = -1, k = (a[0] || {
|
4584 |
translated: []
|
4585 |
+
}).translated || []; ++g < h && (a = k[g] || "", !1 !== d(c[g], a, b)); ) ;
|
4586 |
}
|
4587 |
+
var g = this;
|
4588 |
a = this.getSrc();
|
4589 |
+
var k = g.param("url") || "https://api.lecto.ai", m = g.mapLang(b, n.require("$45", "lecto.json"));
|
4590 |
+
return g._call({
|
4591 |
+
url: g.fixURL(k + "/v1/translate/text"),
|
4592 |
method: "POST",
|
4593 |
data: JSON.stringify({
|
4594 |
+
to: [ m ],
|
4595 |
from: a,
|
4596 |
texts: c
|
4597 |
}),
|
4598 |
headers: {
|
4599 |
"Content-Type": "application/json; charset=UTF-8",
|
4600 |
+
"X-API-Key": g.key(),
|
4601 |
Accept: "application/json"
|
4602 |
}
|
4603 |
}).done(function(a, b, c) {
|
4604 |
+
a ? f(a.translations || []) : (g.stderr(g.parseError(a) || g.httpError(c)), f([]));
|
4605 |
}).fail(function() {
|
4606 |
f([]);
|
4607 |
});
|
4608 |
};
|
4609 |
+
return new m();
|
4610 |
};
|
4611 |
return f;
|
4612 |
}({}, y, w));
|
4613 |
+
n.register("$18", function(f, d, w) {
|
4614 |
+
function m() {
|
4615 |
this.inf = {};
|
4616 |
}
|
4617 |
+
function g() {
|
4618 |
var a = w.createElement("p"), b = /&(#\d+|#x[0-9a-f]|[a-z]+);/i, c = /<[a-z]+\s/i, d, f;
|
4619 |
return {
|
4620 |
+
sniff: function(g) {
|
4621 |
+
if (g === d) return f;
|
4622 |
+
d = g;
|
4623 |
+
if (b.test(g) || c.test(g)) if (a.innerHTML = g, a.textContent !== g) return f = !0;
|
4624 |
return f = !1;
|
4625 |
}
|
4626 |
};
|
4627 |
}
|
4628 |
+
var c = m.prototype;
|
4629 |
c.init = function(a) {
|
4630 |
this.inf = a || {};
|
4631 |
};
|
4658 |
return "";
|
4659 |
};
|
4660 |
c.mapLang = function(a, b) {
|
4661 |
+
var c = String(a).replace("-", "_"), d = a.lang, f = b[c] || b[d] || [], g = f.length;
|
4662 |
+
if (0 === g) return d;
|
4663 |
+
if (1 < g) for (var c = c.toLowerCase(), d = -1, k; ++d < g; ) if (k = f[d], k.toLowerCase().replace("-", "_") === c) return k;
|
4664 |
return f[0];
|
4665 |
};
|
4666 |
c.toLang = function(a) {
|
4684 |
a.dataType = "json";
|
4685 |
a.error = function(a, c, d) {
|
4686 |
try {
|
4687 |
+
var f = a.responseText, g = f && n.require("$5", "json.js").parse(f);
|
4688 |
+
d = g && b.parseError(g) || d;
|
4689 |
+
} catch (k) {}
|
4690 |
b.stderr(d || b.httpError(a));
|
4691 |
};
|
4692 |
+
return b.abortable(k.ajax(a));
|
4693 |
};
|
4694 |
c.abortable = function(a) {
|
4695 |
var b = this;
|
4703 |
a && a.abort();
|
4704 |
};
|
4705 |
c.isHtml = function(a) {
|
4706 |
+
return (b || (b = g())).sniff(a);
|
4707 |
};
|
4708 |
c.createJob = function() {
|
4709 |
+
return n.require("$30", "job.js").create(this);
|
4710 |
};
|
4711 |
c.batch = function(a, b, c, f) {
|
4712 |
function g(c) {
|
4713 |
+
for (var d = a.length, h = -1; ++h < d && !1 !== f(a[h], c[h], b); ) ;
|
4714 |
}
|
4715 |
+
var m = d.loco.ajax;
|
4716 |
c = {
|
4717 |
hook: this.getId(),
|
4718 |
type: c ? "html" : "text",
|
4720 |
source: this.getSrc(),
|
4721 |
sources: a
|
4722 |
};
|
4723 |
+
var n = k.Deferred();
|
4724 |
+
this.abortable(m.post("apis", c, function(a) {
|
4725 |
g(a && a.targets || []);
|
4726 |
n.resolve();
|
4727 |
}, function() {
|
4733 |
f.create = function(a) {
|
4734 |
var b;
|
4735 |
b = a.id;
|
4736 |
+
b = "yandex" === b ? n.require("$31", "yandex.js").create(m) : "google" === b ? n.require("$32", "google.js").create(m) : "microsoft" === b ? n.require("$33", "ms.js").create(m) : "deepl" === b ? n.require("$34", "deepl.js").create(m) : "lecto" === b ? n.require("$35", "lecto.js").create(m) : new m();
|
4737 |
b.init(a);
|
4738 |
return b;
|
4739 |
};
|
4740 |
f.suggest = function(a, b, c, d) {
|
4741 |
+
var f, g, k = a.length;
|
4742 |
+
for (f = 0; f < k; f++) g = a[f], g.translate(b, c, d);
|
4743 |
};
|
4744 |
var b;
|
4745 |
return f;
|
4746 |
}({}, y, w));
|
4747 |
+
n.register("$19", function(f, d, n) {
|
4748 |
f.init = function(f) {
|
4749 |
+
function g() {
|
4750 |
+
H || (I.on("click", l), H = k('<div id="loco-fs-creds"></div>').dialog({
|
4751 |
dialogClass: "request-filesystem-credentials-dialog loco-modal",
|
4752 |
minWidth: 580,
|
4753 |
modal: !0,
|
4754 |
autoOpen: !1,
|
4755 |
closeOnEscape: !0
|
4756 |
}).on("change", 'input[name="connection_type"]', function() {
|
4757 |
+
this.checked && k("#ssh-keys").toggleClass("hidden", "ssh" !== k(this).val());
|
4758 |
}));
|
4759 |
return H;
|
4760 |
}
|
4761 |
function c() {
|
4762 |
+
R && (b(k(x)), R = !1);
|
4763 |
if (E && J) {
|
4764 |
+
var a = J, c = k(Q);
|
4765 |
c.find("span.loco-msg").text(a);
|
4766 |
K || (c.removeClass("jshide").hide().fadeIn(500), K = !0);
|
4767 |
+
} else K && (b(k(Q)), K = !1);
|
4768 |
}
|
4769 |
function b(a) {
|
4770 |
a.slideUp(250).fadeOut(250, function() {
|
4771 |
+
k(this).addClass("jshide");
|
4772 |
});
|
4773 |
}
|
4774 |
function a() {
|
4775 |
+
if (E) return H && H.dialog("close"), c(), k(f).find('button[type="submit"]').attr("disabled", !1),
|
4776 |
+
k(d).triggerHandler("resize"), y && y(!0), !0;
|
4777 |
+
v && H ? (R || (k(x).removeClass("jshide").hide().fadeIn(500), R = !0), K && (b(k(Q)),
|
4778 |
K = !1)) : c();
|
4779 |
+
k(f).find('input[type="submit"]').attr("disabled", !0);
|
4780 |
y && y(!1);
|
4781 |
return !1;
|
4782 |
}
|
4783 |
function e(a) {
|
4784 |
+
var b, c, d = p || {};
|
4785 |
+
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));
|
4786 |
}
|
4787 |
+
function h(a) {
|
4788 |
a.preventDefault();
|
4789 |
+
a = k(a.target).serializeArray();
|
4790 |
s(a);
|
4791 |
C = !0;
|
4792 |
return !1;
|
4793 |
}
|
4794 |
+
function q(a) {
|
4795 |
a.preventDefault();
|
4796 |
H.dialog("close");
|
4797 |
return !1;
|
4798 |
}
|
4799 |
+
function l(a) {
|
4800 |
a.preventDefault();
|
4801 |
H.dialog("open").find('input[name="connection_type"]').change();
|
4802 |
return !1;
|
4803 |
}
|
4804 |
+
function w(b) {
|
4805 |
E = b.authed;
|
4806 |
r = b.method;
|
4807 |
+
k(x).find("span.loco-msg").text(b.message || "Something went wrong.");
|
4808 |
J = b.warning || "";
|
4809 |
b.notice && u.notices.info(b.notice);
|
4810 |
+
if (E) "direct" !== r && (p = b.creds, e(f), C && b.success && u.notices.success(b.success)),
|
4811 |
a(); else if (b.reason) u.notices.info(b.reason); else if (b = b.prompt) {
|
4812 |
+
var c = g();
|
4813 |
+
c.html(b).find("form").on("submit", h);
|
4814 |
c.dialog("option", "title", c.find("h2").remove().text());
|
4815 |
+
c.find("button.cancel-button").show().on("click", q);
|
4816 |
c.find('input[type="submit"]').addClass("button-primary");
|
4817 |
a();
|
4818 |
+
k(d).triggerHandler("resize");
|
4819 |
} else u.notices.error("Server didn't return credentials, nor a prompt for credentials");
|
4820 |
}
|
4821 |
+
function z() {
|
4822 |
a();
|
4823 |
}
|
4824 |
function s(a) {
|
4825 |
C = !1;
|
4826 |
+
u.ajax.setNonce("fsConnect", N).post("fsConnect", a, w, z);
|
4827 |
return a;
|
4828 |
}
|
4829 |
+
var p, y, x = f, r = null, C = !1, E = !1, u = d.loco, v = f.path.value, F = f.auth.value, N = f["loco-nonce"].value, I = k(x).find("button.button-primary"), Q = n.getElementById(x.id + "-warn"), R = !1, K = !1, J = "", H;
|
4830 |
u.notices.convert(Q).stick();
|
4831 |
+
f.connection_type ? (p = {}, p.connection_type = f.connection_type.value, E = !0) : v && F && s({
|
4832 |
path: v,
|
4833 |
auth: F
|
4834 |
});
|
4836 |
return {
|
4837 |
applyCreds: function(a) {
|
4838 |
if (a.nodeType) e(a); else {
|
4839 |
+
var b, c = p || {};
|
4840 |
for (b in c) c.hasOwnProperty(b) && (a[b] = c[b]);
|
4841 |
}
|
4842 |
return this;
|
4850 |
connect: function() {
|
4851 |
v = f.path.value;
|
4852 |
F = f.auth.value;
|
4853 |
+
s(k(f).serializeArray());
|
4854 |
return this;
|
4855 |
},
|
4856 |
listen: function(a) {
|
4865 |
};
|
4866 |
return f;
|
4867 |
}({}, y, w));
|
4868 |
+
n.register("$20", function(f, d, w) {
|
4869 |
+
function m(d, f, k, l) {
|
4870 |
+
f = "n" === k ? c(f) : b(f);
|
4871 |
+
l && (f = a(f));
|
4872 |
+
return g([].sort, [ f ])(d);
|
4873 |
}
|
4874 |
+
function g(a, b) {
|
4875 |
return function(c) {
|
4876 |
a.apply(c, b);
|
4877 |
return c;
|
4896 |
f.init = function(a) {
|
4897 |
function b(a) {
|
4898 |
var c = -1, d = a.length;
|
4899 |
+
for (k("tr", x).remove(); ++c < d; ) x.appendChild(a[c].$);
|
4900 |
}
|
4901 |
function c(a) {
|
4902 |
s = a ? y.find(a, d) : d.slice(0);
|
4903 |
+
w && (a = f[w], s = m(s, w, a.type, a.desc));
|
4904 |
b(s);
|
4905 |
}
|
4906 |
+
var d = [], f = [], g = 0, s, p, w, x = a.getElementsByTagName("tbody")[0], r = a.getElementsByTagName("thead")[0], y = n.require("$10", "fulltext.js").init();
|
4907 |
+
r && x && (k("th", r).each(function(a, c) {
|
4908 |
var e = c.getAttribute("data-sort-type");
|
4909 |
+
e && (a = g, k(c).addClass("loco-sort").on("click", function(c) {
|
4910 |
c.preventDefault();
|
4911 |
c = a;
|
4912 |
+
var e = f[c], g = e.type, n = !(e.desc = !e.desc);
|
4913 |
+
s = m(s || d.slice(0), c, g, n);
|
4914 |
b(s);
|
4915 |
+
p && p.removeClass("loco-desc loco-asc");
|
4916 |
+
p = k(e.$).addClass(n ? "loco-desc" : "loco-asc").removeClass(n ? "loco-asc" : "loco-desc");
|
4917 |
w = c;
|
4918 |
return !1;
|
4919 |
+
}), f[g] = {
|
4920 |
$: c,
|
4921 |
type: e
|
4922 |
});
|
4923 |
+
c.hasAttribute("colspan") ? g += Number(c.getAttribute("colspan")) : g++;
|
4924 |
+
}), k("tr", x).each(function(a, b) {
|
4925 |
+
var c, e, g, h = [], k = {
|
4926 |
_: a,
|
4927 |
$: b
|
4928 |
}, m = b.getElementsByTagName("td");
|
4929 |
for (e in f) {
|
4930 |
c = m[e];
|
4931 |
+
(g = c.textContent.replace(/(^\s+|\s+$)/g, "")) && h.push(g);
|
4932 |
+
c.hasAttribute("data-sort-value") && (g = c.getAttribute("data-sort-value"));
|
4933 |
switch (f[e].type) {
|
4934 |
case "n":
|
4935 |
+
g = Number(g);
|
4936 |
}
|
4937 |
+
k[e] = g;
|
4938 |
}
|
4939 |
+
d[a] = k;
|
4940 |
+
y.index(a, h);
|
4941 |
+
}), a = k('form.loco-filter input[type="text"]', a.parentNode), a.length && (a = a[0],
|
4942 |
+
r = k(a.form), 1 < d.length ? n.require("$11", "LocoTextListener.js").listen(a, c) : r.hide(),
|
4943 |
r.on("submit", function(a) {
|
4944 |
a.preventDefault();
|
4945 |
return !1;
|
4950 |
var C = y.loco || {}, I = C.conf || {
|
4951 |
$v: [ 0, 0 ]
|
4952 |
};
|
4953 |
+
y = n.require("$1", "t.js").init();
|
4954 |
w = I.wplang;
|
4955 |
C.version = function(f) {
|
4956 |
return I.$v[f || 0];
|
4957 |
};
|
4958 |
+
n.require("$2", "html.js");
|
4959 |
+
n.require("$3", "number.js");
|
4960 |
+
n.require("$4", "array.js");
|
4961 |
+
n.require("$5", "json.js");
|
4962 |
C.l10n = y;
|
4963 |
y.load(I.wpl10n);
|
4964 |
w && y.pluraleq(w.pluraleq);
|
4965 |
+
C.string = n.require("$6", "string.js");
|
4966 |
+
C.notices = n.require("$7", "notices.js").init(y);
|
4967 |
+
C.ajax = n.require("$8", "ajax.js").init(I).localise(y);
|
4968 |
+
C.locale = n.require("$9", "wplocale.js");
|
4969 |
+
C.fulltext = n.require("$10", "fulltext.js");
|
4970 |
+
C.watchtext = n.require("$11", "LocoTextListener.js").listen;
|
4971 |
+
C.tooltip = n.require("$12", "tooltip.js");
|
4972 |
C.po = {
|
4973 |
+
ed: n.require("$13", "poedit.js"),
|
4974 |
+
kbd: n.require("$14", "hotkeys.js"),
|
4975 |
+
init: n.require("$15", "po.js").create,
|
4976 |
+
ace: n.require("$16", "ace.js").strf("php"),
|
4977 |
+
ref: n.require("$17", "refs.js")
|
4978 |
+
};
|
4979 |
+
C.apis = n.require("$18", "apis.js");
|
4980 |
+
C.fs = n.require("$19", "fsconn.js");
|
4981 |
+
k("#loco-admin.wrap table.wp-list-table").each(function(f, d) {
|
4982 |
+
n.require("$20", "tables.js").init(d);
|
4983 |
});
|
4984 |
C.validate = function(f) {
|
4985 |
+
return "2.5.7" !== (/^\d+\.\d+\.\d+/.exec(f && f[0] || "") && RegExp.lastMatch) ? (C.notices.warn("admin.js is the wrong version (2.5.7). Please empty all relevant caches and reload this page."),
|
4986 |
!1) : !0;
|
4987 |
};
|
4988 |
})(window, document, window.jQuery);
|
pub/js/min/editor.js
CHANGED
@@ -299,8 +299,8 @@ var n = i.todo();
|
|
299 |
n && C.notices.warn(m(A("Translation job aborted with %s string remaining", "Translation job aborted with %s strings remaining", n), F(n))).slow();
|
300 |
var t = [], o = i.did();
|
301 |
o && t.push(m(A("%1$s string translated via %2$s", "%1$s strings translated via %2$s", o), F(o), a)),
|
302 |
-
r ? t.push(m(A("%s string updated", "%s strings updated", r), F(r))) : t.push(O("Nothing needed updating")),
|
303 |
-
C.notices.success(t.join(". ")).slow(), i = e = null;
|
304 |
}
|
305 |
r && (X(), D.rebuildSearch()), l && (l.off("dialogclose").dialog("close"), l = null),
|
306 |
D.fire("poAuto");
|
299 |
n && C.notices.warn(m(A("Translation job aborted with %s string remaining", "Translation job aborted with %s strings remaining", n), F(n))).slow();
|
300 |
var t = [], o = i.did();
|
301 |
o && t.push(m(A("%1$s string translated via %2$s", "%1$s strings translated via %2$s", o), F(o), a)),
|
302 |
+
r ? t.push(m(A("%s string updated", "%s strings updated", r), F(r))) : o && t.push(O("Nothing needed updating")),
|
303 |
+
t.length && C.notices.success(t.join(". ")).slow(), i = e = null;
|
304 |
}
|
305 |
r && (X(), D.rebuildSearch()), l && (l.off("dialogclose").dialog("close"), l = null),
|
306 |
D.fire("poAuto");
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Tags: translation, translators, localization, localisation, l10n, i18n, Gettext,
|
|
4 |
Requires at least: 4.1
|
5 |
Requires PHP: 5.2.4
|
6 |
Tested up to: 5.8.3
|
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.6 =
|
104 |
* Added loco_api_provider_source filter
|
105 |
* Fixed bug loading user preferences saved in older version
|
@@ -439,7 +444,7 @@ We don't collect your data or snoop on you. See the [plugin privacy notice](http
|
|
439 |
|
440 |
== Upgrade Notice ==
|
441 |
|
442 |
-
= 2.5.
|
443 |
* Various improvements and bug fixes
|
444 |
|
445 |
|
4 |
Requires at least: 4.1
|
5 |
Requires PHP: 5.2.4
|
6 |
Tested up to: 5.8.3
|
7 |
+
Stable tag: 2.5.7
|
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.7 =
|
104 |
+
* Fixed bug in 2.5.6 where remote APIs could not be used in batch mode
|
105 |
+
* Enforcing 10k character limit per request for Microsoft and Yandex Translators
|
106 |
+
* Style fix for revision/diff table under restore tab
|
107 |
+
|
108 |
= 2.5.6 =
|
109 |
* Added loco_api_provider_source filter
|
110 |
* Fixed bug loading user preferences saved in older version
|
444 |
|
445 |
== Upgrade Notice ==
|
446 |
|
447 |
+
= 2.5.7 =
|
448 |
* Various improvements and bug fixes
|
449 |
|
450 |
|
src/api/YandexClient.php
CHANGED
@@ -82,15 +82,4 @@ class Loco_api_YandexClient {
|
|
82 |
return $targets;
|
83 |
}
|
84 |
|
85 |
-
|
86 |
-
/**
|
87 |
-
*
|
88 |
-
*/
|
89 |
-
private function parseError(){
|
90 |
-
|
91 |
-
}
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
}
|
82 |
return $targets;
|
83 |
}
|
84 |
|
85 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|