text: /* Title: AX 
     Purpose: Implement universal single-key accenting
     Licence: MIT
     Author: Peter Fox   ax@vulpeculox.net
     Origin: http://vulpecululox.net/ax
     Built: 15/12/2018, 09:46:20 */
  var ax={About:function(){return"• AX is a method for obtaining accents or other unusual characters always using the same key.  This makes it simple to explain and universal in application.\n• This version is dated 13th Dec 2018\n• The master web site is at vulpeculox.net/ax.  Contact details there.  Also on github.\n• Licence : MIT Go ahead!  Use it, hack it.\n• Author: Peter Fox, Witham, England\n• Please note that if you want new cycles then you'll have to do the editing yourself, or get someone with a text editor capable of UTF-8 to do it.  If you think the cycle will be of use to others then please email this file to ax@vulpeculox.net *AS AN ATTACHMENT*"},_initialised:!1,_Initialise:function(){if(ax._initialised)return!0;ax.LoadCfg()||ax.SetCycle("EuropeanCombo",!0)},_helpLang:"",GetUserHelp:function(e,a){var t=a||!1;if(""===ax._helpLang||t){var o=e;ax._helpTexts.hasOwnProperty(o)||(o="en");var r=ax._helpTexts[o].howto;return ax._helpLang=o,ax._SaveCfg(),r.replace("*KEY*",ax._triggerKey)}},_currentCycle:"",_currentCycleName:"",SetCycle:function(e,a){var t=a||!1;if(""===ax._currentCycle||t)return ax._cycles.hasOwnProperty(e)?(ax._UseCycle(e),ax.GetCycle()):(ax._UseCycle("EuropeanCombo"),!1)},SetTriggerKey:function(e){ax._triggerKey=e,ax._SaveCfg()},_UseCycle:function(e){ax._currentCycle=ax._cycles[e],ax._currentCycleName=e,ax._SaveCfg(),ax._initialised=!0},_SaveCfg:function(){localStorage.setItem("ax_helpLang",ax._helpLang),localStorage.setItem("ax_triggerKey",ax._triggerKey),localStorage.setItem("ax_currentCycle",ax.currentCycle),localStorage.setItem("ax_currentCycleName",ax.currentCycleName)},LoadCfg:function(){var e;return(e=localStorage.getItem("ax_helpLang"))&&(ax._helpLang=e),(e=localStorage.getItem("ax_triggerKey"))&&(ax._triggerKey=e),(e=localStorage.getItem("ax_currentCycle"))&&(ax.currentCycle=e),(e=localStorage.getItem("ax_currentCycleName"))&&(ax.currentCycleName=e),""!==ax.currentCycle},GetCycle:function(){return""===ax._currentCycle&&ax._UseCycle("EuropeanCombo"),ax._currentCycle},GetCycleName:function(){var e=ax._currentCycleName;return e||(e=!1),e},NextInCycle:function(e){if(" "==e)return!1;var a=ax.GetCycle().indexOf(e);return a>=0&&ax._currentCycle.substr(a+1,1)},Edit:function(e){if(e.key==ax._triggerKey){var a=e.target,t=a.selectionStart;if(t>0){ax._Initialise();var o=a.value,r=o.substring(t-1,t),i=ax.NextInCycle(r);if(!1===i)return;var n=o.substring(0,t-1)+i+o.substring(t);a.value=n,a.selectionStart=t,a.selectionEnd=t}}},ToOptions:function(e){return"<option>"+e.join("</option><option>")+"</option>"},GetHelpLanguages:function(){var e=[];for(var a in ax._helpTexts)e.push(a);return e.sort(),e},AvailableCycles:function(e){var a,t=[];for(var o in ax._cycles)e?(a=ax._cycles[o],t.push(o+"|"+a)):t.push(o);return t.sort(),t},_triggerKey:"F8",_cycles:{Catalan:"aàa AÀA cçc CÇC eéèe EÉÈE iíi IÍI oóòo OÓÒO uúüu UÚÜU ",Chinese:"aāáǎàa eēéěèe iīíǐìi oōóǒòo uūúǔùüǖǘǚǜu",Czech:"aáa AÁA cčc CČC dďd DĎD eéěe EÉĚE iíi IÍI nňn NŇN oóo OÓO rřr RŘR sšs SŠS tťt TŤT uúůu UÚŮU zžz ZŽZ",Danish:"aåæa AÅÆA oøo OØO",DutchFrisian:"aáäâàa AÁÄÂÀA cçc CÇC eéëêèe EÉËÊÈE iíïìi IÍÏÌI mµm oóöôòo OÓÖÔÒO sßs SẞS uúüûùµu UÚÜÛÙU yĳýÿy YĲÝŸY",Esperanto:"cĉc gĝg hĥh jĵj sŝs uŭu CĈC GĜG HĤH JĴJ SŜS UŬU",Estonian:"aäa AÄA oöõo OÖÕO sšs SŠS uüu UÜU zžz ZŽZ",Finnish:"aäåa AÄÅA oöo OÖO uüu UÜU",FrChin1:"aâäāáǎàa AÀÂÄA cçčc CÇČC eêëēéěèe EÉÊÈËE iîïīíǐìi IÎÏI oôōóǒòo OÔO uüûūúǔùǖǘǚǜu UÛÙÜU",French:"aàâäæa AÀÂÄÆA cçc CÇC eéèêëe EÉÊÈËE iîïi IÎÏI oôöœo OÔÖŒO uûùüu UÛÙÜU",German:"BßB sßs SẞS aäa AÄA eée EÉE oöo OÖO uüu UÜU",Icelandic:"aáåæa AÁÅÆA dðd DÐD iíi IÍI oóöo OÓÖO pþp PÞP tþt TÞT uúµu UÚU yýy YÝY",IndicCombo:"aāæǣa AĀA iīi IĪI uūu UŪU eēe oōœॐૐo OŌŒO rṛṝṟr RṚṜṞR lḷḹḻḺl LḶḸḺL tṭt TṬT dḍd DḌD nṇṅñṉn NṆṄÑṈN mṃṁm MṂṀM sṣśs SṢŚS hḥh HḤH",Irish:"aáa AÁA bḃb BḂB cċc CĊC dḋd DḊD eée EÉE fḟf FḞF gġg GĠG iíi IÍI mṁm MṀM oóo OÓO pṗp PṖP sṡs SṠS tṫt TṪT uúu UÚU",Italian:"aàa AÀA eéèe EÉÈE iíìi IÍÌI oòo OÒO uùu UÙU",Magyar:"aáa AÁA eée EÉE oóöőo OÓÖŐO uúüűu UÚÜŰU iíi IÍI",Polish:"aąa AĄA cćc CĆC eęe EĘE lłl LŁL nńn NŃN oóo OÓO sśs SŚS zżźz ZŻŹZ",Polish1:"aąãa AĄÃA cćčc CĆČC eęëèe EĘËÈE lłl LŁL nńn NŃN oóòôōŏõo OÓÒÔŌŎÕO rřr RŘR sśšs SŚŠS uùůu UÙŮU zżźžz ZŻŹŽZ",Portuguese:"aáâàãa AÁÂÀÃA cçc CÇC eéêe EÉÊE iíi IÍI oóôõo OÓÔÕO uúu UÚU",Russian:"aаяa AАЯA bбb BБB GГG gгg DДD dдd EЕЁЭE eеёэe FФF fфf IИЙЫI iийыi KКХK kкхk LЛL lлl MМM mмm NНN nнn OОO oоo PПP pпp RРR rрr SСШЩS sсшщs TТЦT tтцt VВV vвv UУЮU uуюu ZЖЗZ zжзz CЧЦC cчцc YЫЬЪY yzыьъy #№#",ScandinavianCombo:"aäåæáâa AÄÅÆÁÂA dđd DĐD eéèêe EÉÈÊE gǧǥg GǦǤG hȟh HȞH iïi IÏI kǩk KǨK nŋn NŊN oöøóòôõo OÖØÓÒÔÕO sšs SŠS tŧt TŦT uüu UÜU zžʒǯz ZŽƷǮZ",Slovak:"aáäa cčc dďd eée  iíi lľĺl nňn oóôo rřŕr sšs  tťt uúůu yýy zžz AÁÄA CČC DĎD EÉE IÍI LĽĹL NŇN OÓÔO RŘŔR SŠS TŤT UÚŮU YÝY ZŽZ ",Spanish:"aáa AÁA eée EÉE iíi IÍI oóo OÓO uúüu UÚÜU nñn NÑN ?¿? !¡!",Swedish:"aåäa AÅÄA oöo OÖO",SwedishSami:"aäåæáâa AÄÅÆÁÂA dđd DĐD gǧǥg GǦǤG hȟh HȞH iïi IÏI kǩk KǨK nŋn NŊN oöøõo OÖØÕO sšs SŠS tŧt TŦT zžʒǯz ZŽƷǮZ",Turkish:"aâa AÂA cçc CÇC gğg GĞG iıi IİI oöo OÖO sşs SŞS uüûu UÜÛU",WestEuropeanCombo:"aàáâäæãåa AÁÀÂÄÆÃÅA BßB cçc CÇC eéèêëe EÉÊÈËE ií¡îïi IÎÏI oóôöøœõo OÔÖØŒÕO uûúùüu UÛÚÙÜU ?¿? nñn NÑN",Math:"2²√2 3³∛3 o°∞o /÷/ =≠±= [∫∑[\t*×* ~αβδΩπσθ~",Symbol:"£€£ $¢$ c©c .•…. <◀◁«< >▶▷»> #☐☑☒■# *★☆* @●◎◌○@",Arrows:"0↷↶↻↺0 1↙⇙1 2↓⇓2 3↘⇘3 4←⇐☚☜4 5↕↔5 6→⇒☛☞6 7↖⇖7 8↑⇑8 9↗⇗9",Zodiac:"a♒♈a c♋♑c e♁e f♀f g♊g j♃j l♌♎l m♂☿m n♆n p♇♓p s♄♏♐s t♉t u♅u v♍v",Cards:"c♣♧c d♦♢d h♥♡h s♠♤s",Chess:"b♗♝b k♘♞♔♚k p♙♟p q♕♛q r♖♜r",None:""},_helpTexts:{de:{credit:"William Cuthbertson",howto:"Drücken Sie *KEY* zu ändern die Buchstabe links vom Cursor. <BR>Vorgang wiederholen, bis das gewünschte Zeichen erscheint."},en:{howto:"Press *KEY* to modify character on left of cursor.<BR>Repeat until the required character appears."},fr:{credit:"Roger KcKeon",howto:"Faites *KEY* pour modifier le caractère à gauche du curseur. Répétez l'opération<BR>jusqu'à l'apparition du caractère désiré."},pl:{credit:"George Zolkiewski",howto:"Aby zmienić literę na lewo od kursora, wciśnij *KEY* .<BR>Powtórz do ukazania się odpowiedniej litery."},ma:{credit:"Laszlo Horvath",howto:"A kurzor bal oldalán lévő karaktert a *KEY* billentyűvel tudod megváltoztatni. <BR> Ismételd amig a kívánt karakter megjelenik."}}};