[Koha-patches] [PATCH 3/5] Bug 12815 [ENH] Patch #3 of 5 - Adding browser based multi-lingual jquery.ime input method support to Koha
Indranil Das Gupta
indradg at gmail.com
Wed Aug 27 11:03:18 CEST 2014
The original patch http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=31152
is being split up into a 5-part patchset as per discussion on #koha
This 3/5 adds the jQuery.IME library for inclusion by the OPAC code.
Test Plan:
Patch 3 of 5 do not have a separate stand-alone test plan. The patch is to be applied
as the third patch for bug 12815. The overall test plan is defined later in patches 4
and 5 in the set.
---
.../opac-tmpl/lib/jquery.ime/css/jquery.ime.css | 220 +++++++++++
.../opac-tmpl/lib/jquery.ime/images/ime-active.png | Bin 0 -> 319 bytes
.../opac-tmpl/lib/jquery.ime/images/ime-active.svg | 1 +
koha-tmpl/opac-tmpl/lib/jquery.ime/images/tick.png | Bin 0 -> 261 bytes
koha-tmpl/opac-tmpl/lib/jquery.ime/images/tick.svg | 1 +
.../opac-tmpl/lib/jquery.ime/jquery.ime.min.js | 6 +
koha-tmpl/opac-tmpl/lib/jquery.ime/rules/README.md | 107 +++++
.../lib/jquery.ime/rules/am/am-transliteration.js | 432 +++++++++++++++++++++
.../opac-tmpl/lib/jquery.ime/rules/ar/ar-kbd.js | 115 ++++++
.../opac-tmpl/lib/jquery.ime/rules/as/as-avro.js | 168 ++++++++
.../lib/jquery.ime/rules/as/as-bornona.js | 84 ++++
.../lib/jquery.ime/rules/as/as-inscript.js | 124 ++++++
.../lib/jquery.ime/rules/as/as-inscript2.js | 128 ++++++
.../lib/jquery.ime/rules/as/as-phonetic.js | 112 ++++++
.../lib/jquery.ime/rules/as/as-transliteration.js | 114 ++++++
.../lib/jquery.ime/rules/bbc/batak-qwerty.js | 89 +++++
.../opac-tmpl/lib/jquery.ime/rules/be/be-kbd.js | 101 +++++
.../opac-tmpl/lib/jquery.ime/rules/be/be-latin.js | 38 ++
.../lib/jquery.ime/rules/be/be-transliteration.js | 94 +++++
.../opac-tmpl/lib/jquery.ime/rules/ber/ber-tfng.js | 54 +++
.../opac-tmpl/lib/jquery.ime/rules/bn/bn-avro.js | 194 +++++++++
.../lib/jquery.ime/rules/bn/bn-inscript.js | 123 ++++++
.../lib/jquery.ime/rules/bn/bn-inscript2.js | 128 ++++++
.../opac-tmpl/lib/jquery.ime/rules/bn/bn-nkb.js | 133 +++++++
.../lib/jquery.ime/rules/bn/bn-probhat.js | 102 +++++
.../opac-tmpl/lib/jquery.ime/rules/bo/bo-ewts.js | 284 ++++++++++++++
.../lib/jquery.ime/rules/brx/brx-inscript.js | 112 ++++++
.../lib/jquery.ime/rules/brx/brx-inscript2.js | 117 ++++++
.../rules/ckb/ckb-transliteration-arkbd.js | 103 +++++
.../rules/ckb/ckb-transliteration-fakbd.js | 104 +++++
.../rules/ckb/ckb-transliteration-lakbd.js | 100 +++++
.../opac-tmpl/lib/jquery.ime/rules/cv/README.md | 26 ++
.../lib/jquery.ime/rules/cv/cv-cyr-altgr.js | 120 ++++++
.../lib/jquery.ime/rules/cv/cv-cyr-numbers.js | 112 ++++++
.../lib/jquery.ime/rules/cv/cv-lat-altgr.js | 33 ++
.../lib/jquery.ime/rules/cyrl/cyrl-palochka.js | 43 ++
.../lib/jquery.ime/rules/da/da-normforms.js | 49 +++
.../lib/jquery.ime/rules/de/de-transliteration.js | 27 ++
.../lib/jquery.ime/rules/doi/doi-inscript2.js | 119 ++++++
.../opac-tmpl/lib/jquery.ime/rules/el/el-kbd.js | 95 +++++
.../opac-tmpl/lib/jquery.ime/rules/eo/eo-h-f.js | 59 +++
.../opac-tmpl/lib/jquery.ime/rules/eo/eo-h.js | 54 +++
.../opac-tmpl/lib/jquery.ime/rules/eo/eo-plena.js | 99 +++++
.../opac-tmpl/lib/jquery.ime/rules/eo/eo-q.js | 55 +++
.../lib/jquery.ime/rules/eo/eo-transliteration.js | 45 +++
.../opac-tmpl/lib/jquery.ime/rules/eo/eo-vi.js | 65 ++++
.../opac-tmpl/lib/jquery.ime/rules/eo/eo-x.js | 53 +++
.../opac-tmpl/lib/jquery.ime/rules/fa/fa-kbd.js | 167 ++++++++
.../lib/jquery.ime/rules/fi/fi-transliteration.js | 32 ++
.../lib/jquery.ime/rules/fo/fo-normforms.js | 65 ++++
.../lib/jquery.ime/rules/fonipa/ipa-sil.js | 240 ++++++++++++
.../lib/jquery.ime/rules/fonipa/ipa-x-sampa.js | 189 +++++++++
.../lib/jquery.ime/rules/gom/gom-inscript2.js | 119 ++++++
.../lib/jquery.ime/rules/gu/gu-inscript.js | 113 ++++++
.../lib/jquery.ime/rules/gu/gu-inscript2.js | 118 ++++++
.../lib/jquery.ime/rules/gu/gu-phonetic.js | 110 ++++++
.../lib/jquery.ime/rules/gu/gu-transliteration.js | 156 ++++++++
.../rules/he/he-standard-2012-extonly.js | 66 ++++
.../lib/jquery.ime/rules/he/he-standard-2012.js | 117 ++++++
.../lib/jquery.ime/rules/hi/hi-bolnagri.js | 108 ++++++
.../lib/jquery.ime/rules/hi/hi-inscript.js | 122 ++++++
.../lib/jquery.ime/rules/hi/hi-inscript2.js | 127 ++++++
.../lib/jquery.ime/rules/hi/hi-phonetic.js | 111 ++++++
.../lib/jquery.ime/rules/hi/hi-transliteration.js | 198 ++++++++++
.../opac-tmpl/lib/jquery.ime/rules/hr/hr-kbd.js | 60 +++
.../lib/jquery.ime/rules/hy/hy-emslegacy.js | 169 ++++++++
.../lib/jquery.ime/rules/hy/hy-ephonetic.js | 173 +++++++++
.../lib/jquery.ime/rules/hy/hy-ephoneticalt.js | 171 ++++++++
.../lib/jquery.ime/rules/hy/hy-typewriter.js | 168 ++++++++
.../lib/jquery.ime/rules/hy/hy-wmslegacy.js | 169 ++++++++
.../lib/jquery.ime/rules/is/is-normforms.js | 78 ++++
.../lib/jquery.ime/rules/jv/jv-transliteration.js | 273 +++++++++++++
.../opac-tmpl/lib/jquery.ime/rules/ka/ka-kbd.js | 56 +++
.../lib/jquery.ime/rules/ka/ka-transliteration.js | 58 +++
.../opac-tmpl/lib/jquery.ime/rules/kk/kk-arabic.js | 62 +++
.../opac-tmpl/lib/jquery.ime/rules/kk/kk-kbd.js | 108 ++++++
.../lib/jquery.ime/rules/kn/kn-inscript.js | 111 ++++++
.../lib/jquery.ime/rules/kn/kn-inscript2.js | 119 ++++++
.../opac-tmpl/lib/jquery.ime/rules/kn/kn-kgp.js | 104 +++++
.../lib/jquery.ime/rules/kn/kn-transliteration.js | 154 ++++++++
.../lib/jquery.ime/rules/ks/ks-inscript.js | 129 ++++++
.../opac-tmpl/lib/jquery.ime/rules/ks/ks-kbd.js | 112 ++++++
.../opac-tmpl/lib/jquery.ime/rules/ku/ku-h.js | 47 +++
.../opac-tmpl/lib/jquery.ime/rules/ku/ku-tr.js | 32 ++
.../lib/jquery.ime/rules/ky/ky-cyrl-alt.js | 25 ++
.../opac-tmpl/lib/jquery.ime/rules/lo/lo-kbd.js | 122 ++++++
.../jquery.ime/rules/lud/lud-transliteration.js | 29 ++
.../lib/jquery.ime/rules/mai/mai-inscript.js | 22 ++
.../lib/jquery.ime/rules/mai/mai-inscript2.js | 25 ++
koha-tmpl/opac-tmpl/lib/jquery.ime/rules/mh/mh.js | 43 ++
.../lib/jquery.ime/rules/ml/ml-inscript.js | 90 +++++
.../lib/jquery.ime/rules/ml/ml-inscript2.js | 132 +++++++
.../lib/jquery.ime/rules/ml/ml-transliteration.js | 338 ++++++++++++++++
.../opac-tmpl/lib/jquery.ime/rules/mn/mn-cyrl.js | 118 ++++++
.../lib/jquery.ime/rules/mni/mni-inscript2.js | 125 ++++++
.../lib/jquery.ime/rules/mr/mr-inscript.js | 115 ++++++
.../lib/jquery.ime/rules/mr/mr-inscript2.js | 121 ++++++
.../lib/jquery.ime/rules/mr/mr-phonetic.js | 110 ++++++
.../lib/jquery.ime/rules/mr/mr-transliteration.js | 147 +++++++
.../opac-tmpl/lib/jquery.ime/rules/my/my-xkb.js | 209 ++++++++++
.../lib/jquery.ime/rules/nb/nb-normforms.js | 50 +++
.../lib/jquery.ime/rules/nb/nb-tildeforms.js | 35 ++
.../lib/jquery.ime/rules/ne/ne-inscript.js | 113 ++++++
.../lib/jquery.ime/rules/ne/ne-inscript2.js | 116 ++++++
.../opac-tmpl/lib/jquery.ime/rules/ne/ne-rom.js | 106 +++++
.../opac-tmpl/lib/jquery.ime/rules/ne/ne-trad.js | 106 +++++
.../lib/jquery.ime/rules/ne/ne-transliteration.js | 165 ++++++++
.../lib/jquery.ime/rules/or/or-inscript.js | 106 +++++
.../lib/jquery.ime/rules/or/or-inscript2.js | 116 ++++++
.../lib/jquery.ime/rules/or/or-lekhani.js | 175 +++++++++
.../lib/jquery.ime/rules/or/or-phonetic.js | 110 ++++++
.../lib/jquery.ime/rules/or/or-transliteration.js | 146 +++++++
.../lib/jquery.ime/rules/pa/pa-inscript.js | 97 +++++
.../lib/jquery.ime/rules/pa/pa-inscript2.js | 111 ++++++
.../opac-tmpl/lib/jquery.ime/rules/pa/pa-jhelum.js | 131 +++++++
.../lib/jquery.ime/rules/pa/pa-phonetic.js | 99 +++++
.../lib/jquery.ime/rules/pa/pa-transliteration.js | 119 ++++++
.../opac-tmpl/lib/jquery.ime/rules/ru/ru-jcuken.js | 96 +++++
.../opac-tmpl/lib/jquery.ime/rules/ru/ru-kbd.js | 100 +++++
.../lib/jquery.ime/rules/ru/ru-phonetic.js | 83 ++++
.../lib/jquery.ime/rules/ru/ru-yawerty.js | 109 ++++++
.../opac-tmpl/lib/jquery.ime/rules/sa/sa-iast.js | 59 +++
.../lib/jquery.ime/rules/sa/sa-inscript.js | 113 ++++++
.../lib/jquery.ime/rules/sa/sa-inscript2.js | 117 ++++++
.../lib/jquery.ime/rules/sa/sa-transliteration.js | 165 ++++++++
.../jquery.ime/rules/sah/sah-transliteration.js | 103 +++++
.../lib/jquery.ime/rules/sat/sat-inscript2.js | 107 +++++
.../lib/jquery.ime/rules/sd/sd-inscript2.js | 124 ++++++
.../lib/jquery.ime/rules/se/se-normforms.js | 38 ++
.../lib/jquery.ime/rules/si/si-singlish.js | 110 ++++++
.../lib/jquery.ime/rules/si/si-wijesekara.js | 105 +++++
.../opac-tmpl/lib/jquery.ime/rules/sk/sk-kbd.js | 105 +++++
.../opac-tmpl/lib/jquery.ime/rules/sr/sr-kbd.js | 98 +++++
.../lib/jquery.ime/rules/sv/sv-normforms.js | 50 +++
.../opac-tmpl/lib/jquery.ime/rules/ta/ta-99.js | 193 +++++++++
.../opac-tmpl/lib/jquery.ime/rules/ta/ta-bamini.js | 90 +++++
.../lib/jquery.ime/rules/ta/ta-inscript.js | 103 +++++
.../lib/jquery.ime/rules/ta/ta-inscript2.js | 107 +++++
.../lib/jquery.ime/rules/ta/ta-transliteration.js | 120 ++++++
.../lib/jquery.ime/rules/te/te-inscript.js | 122 ++++++
.../lib/jquery.ime/rules/te/te-inscript2.js | 126 ++++++
.../lib/jquery.ime/rules/te/te-transliteration.js | 221 +++++++++++
.../lib/jquery.ime/rules/th/th-kedmanee.js | 115 ++++++
.../lib/jquery.ime/rules/th/th-pattachote.js | 115 ++++++
.../opac-tmpl/lib/jquery.ime/rules/udm/udm-alt.js | 40 ++
.../opac-tmpl/lib/jquery.ime/rules/ug/ug-kbd.js | 79 ++++
.../opac-tmpl/lib/jquery.ime/rules/uk/uk-kbd.js | 101 +++++
.../lib/jquery.ime/rules/ur/ur-phonetic.js | 108 ++++++
.../lib/jquery.ime/rules/ur/ur-transliteration.js | 98 +++++
.../opac-tmpl/lib/jquery.ime/rules/uz/uz-kbd.js | 102 +++++
.../opac-tmpl/lib/jquery.ime/rules/vec/vec-GVU.js | 32 ++
151 files changed, 16279 insertions(+)
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/css/jquery.ime.css
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/images/ime-active.png
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/images/ime-active.svg
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/images/tick.png
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/images/tick.svg
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/jquery.ime.min.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/README.md
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/am/am-transliteration.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ar/ar-kbd.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/as/as-avro.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/as/as-bornona.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/as/as-inscript.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/as/as-inscript2.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/as/as-phonetic.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/as/as-transliteration.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/bbc/batak-qwerty.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/be/be-kbd.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/be/be-latin.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/be/be-transliteration.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ber/ber-tfng.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/bn/bn-avro.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/bn/bn-inscript.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/bn/bn-inscript2.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/bn/bn-nkb.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/bn/bn-probhat.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/bo/bo-ewts.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/brx/brx-inscript.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/brx/brx-inscript2.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ckb/ckb-transliteration-arkbd.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ckb/ckb-transliteration-fakbd.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ckb/ckb-transliteration-lakbd.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/cv/README.md
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/cv/cv-cyr-altgr.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/cv/cv-cyr-numbers.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/cv/cv-lat-altgr.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/cyrl/cyrl-palochka.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/da/da-normforms.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/de/de-transliteration.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/doi/doi-inscript2.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/el/el-kbd.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/eo/eo-h-f.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/eo/eo-h.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/eo/eo-plena.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/eo/eo-q.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/eo/eo-transliteration.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/eo/eo-vi.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/eo/eo-x.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/fa/fa-kbd.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/fi/fi-transliteration.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/fo/fo-normforms.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/fonipa/ipa-sil.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/fonipa/ipa-x-sampa.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/gom/gom-inscript2.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/gu/gu-inscript.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/gu/gu-inscript2.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/gu/gu-phonetic.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/gu/gu-transliteration.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/he/he-standard-2012-extonly.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/he/he-standard-2012.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/hi/hi-bolnagri.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/hi/hi-inscript.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/hi/hi-inscript2.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/hi/hi-phonetic.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/hi/hi-transliteration.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/hr/hr-kbd.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/hy/hy-emslegacy.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/hy/hy-ephonetic.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/hy/hy-ephoneticalt.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/hy/hy-typewriter.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/hy/hy-wmslegacy.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/is/is-normforms.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/jv/jv-transliteration.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ka/ka-kbd.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ka/ka-transliteration.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/kk/kk-arabic.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/kk/kk-kbd.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/kn/kn-inscript.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/kn/kn-inscript2.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/kn/kn-kgp.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/kn/kn-transliteration.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ks/ks-inscript.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ks/ks-kbd.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ku/ku-h.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ku/ku-tr.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ky/ky-cyrl-alt.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/lo/lo-kbd.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/lud/lud-transliteration.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/mai/mai-inscript.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/mai/mai-inscript2.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/mh/mh.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ml/ml-inscript.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ml/ml-inscript2.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ml/ml-transliteration.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/mn/mn-cyrl.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/mni/mni-inscript2.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/mr/mr-inscript.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/mr/mr-inscript2.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/mr/mr-phonetic.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/mr/mr-transliteration.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/my/my-xkb.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/nb/nb-normforms.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/nb/nb-tildeforms.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ne/ne-inscript.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ne/ne-inscript2.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ne/ne-rom.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ne/ne-trad.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ne/ne-transliteration.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/or/or-inscript.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/or/or-inscript2.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/or/or-lekhani.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/or/or-phonetic.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/or/or-transliteration.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/pa/pa-inscript.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/pa/pa-inscript2.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/pa/pa-jhelum.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/pa/pa-phonetic.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/pa/pa-transliteration.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ru/ru-jcuken.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ru/ru-kbd.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ru/ru-phonetic.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ru/ru-yawerty.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/sa/sa-iast.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/sa/sa-inscript.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/sa/sa-inscript2.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/sa/sa-transliteration.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/sah/sah-transliteration.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/sat/sat-inscript2.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/sd/sd-inscript2.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/se/se-normforms.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/si/si-singlish.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/si/si-wijesekara.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/sk/sk-kbd.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/sr/sr-kbd.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/sv/sv-normforms.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ta/ta-99.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ta/ta-bamini.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ta/ta-inscript.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ta/ta-inscript2.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ta/ta-transliteration.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/te/te-inscript.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/te/te-inscript2.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/te/te-transliteration.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/th/th-kedmanee.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/th/th-pattachote.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/udm/udm-alt.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ug/ug-kbd.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/uk/uk-kbd.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ur/ur-phonetic.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ur/ur-transliteration.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/uz/uz-kbd.js
create mode 100644 koha-tmpl/opac-tmpl/lib/jquery.ime/rules/vec/vec-GVU.js
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/css/jquery.ime.css b/koha-tmpl/opac-tmpl/lib/jquery.ime/css/jquery.ime.css
new file mode 100644
index 0000000..9a254cc
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/css/jquery.ime.css
@@ -0,0 +1,220 @@
+.imeselector {
+ position: absolute;
+ /* @embed */
+ background: url('../images/ime-active.png') no-repeat left center;
+ /* @embed */
+ background-image: -webkit-linear-gradient(transparent, transparent), url('../images/ime-active.svg');
+ /* @embed */
+ background-image: linear-gradient(transparent, transparent), url('../images/ime-active.svg');
+ background-color: rgba(255,255,255,0.75);
+ background-position: left 3px center;
+ background-position-x: 3px;
+ height: 15px;
+ font-size: small;
+ padding: 2px 2px 1px 20px;
+ box-shadow: 0 1px 3px 0 #777;
+ margin-top: 0;
+ text-align: left;
+ font-family: sans-serif;
+ white-space: nowrap;
+ z-index: 1000;
+}
+
+.imeselector:hover {
+ box-shadow: 0 1px 3px 0 #565656;
+ border-top: none;
+ background-color: rgba(255,255,255,0.85);
+}
+
+.imeselector a,
+.ime-disable {
+ cursor: pointer;
+ text-decoration: none;
+ outline: none;
+ color: #222222;
+ line-height: 1em;
+ padding-top: 4px;
+ padding-bottom: 4px;
+}
+
+.ime-setting-caret {
+ margin-left: 2px;
+ margin-top: 8px;
+ border-left: 4px solid transparent;
+ border-right: 4px solid transparent;
+ border-top: 4px solid #565656;
+ content: "";
+ display: inline-block;
+ height: 0;
+ vertical-align: top;
+ width: 0;
+
+}
+
+span.ime-disable-link {
+ padding-left: 20px;
+ white-space: nowrap;
+}
+
+span.ime-disable-shortcut {
+ text-align: right;
+ margin-left: 10px;
+ color: #888;
+ font-size: smaller;
+ padding-right: 4px;
+}
+
+.ime-list-title,
+.ime-lang-title {
+ color: #39d;
+ border-bottom: solid 1px #39d;
+ text-align: left;
+ font-size: larger;
+ font-weight: normal;
+ padding-bottom: 5px;
+ padding-left: 20px;
+ padding-top: 9px;
+ margin: 0 0 1px;
+}
+
+.ime-language-list-wrapper {
+ position: relative;
+ padding: 0;
+ display: block;
+ overflow-y: auto;
+ max-height: 150px;
+}
+
+.imeselector-menu {
+ position: absolute;
+ top: 14px;
+ right: 0;
+ z-index: 1000;
+ display: none;
+ float: left;
+ margin-top: 13px;
+ min-width: 160px;
+ padding: 0;
+ border: 1px solid #888;
+ background-color: #FFFFFF;
+ border-radius: 5px;
+ -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
+ -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
+ box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
+ -webkit-background-clip: padding-box;
+ -moz-background-clip: padding;
+ background-clip: padding-box;
+ text-align: left;
+}
+
+.imeselector-menu.ime-right {
+ right: auto;
+}
+
+.imeselector-menu ul {
+ width: 100%;
+ padding: 0;
+ margin: 0;
+ list-style: none;
+}
+
+/* The triangle shaped callout */
+.imeselector-menu:before {
+ border-bottom: 7px solid #888;
+ border-left: 7px solid transparent;
+ border-right: 7px solid transparent;
+ content: "";
+ display: inline-block;
+ right: 9px;
+ position: absolute;
+ top: -7px;
+}
+
+.imeselector-menu.ime-right:before {
+ right: auto;
+ left: 9px;
+}
+
+.imeselector-menu:after {
+ border-bottom: 6px solid #FFFFFF;
+ border-left: 6px solid transparent;
+ border-right: 6px solid transparent;
+ content: "";
+ display: inline-block;
+ right: 10px;
+ position: absolute;
+ top: -6px;
+}
+
+
+.imeselector-menu.ime-right:after {
+ right: auto;
+ left: 10px;
+}
+
+.imeselector-menu.ime-position-top:before {
+ border-bottom: 0 none;
+ border-top: 7px solid #888;
+ top: auto;
+ bottom: -7px;
+}
+
+.imeselector-menu.ime-position-top:after {
+ border-bottom: 0 none;
+ border-top: 6px solid #FFFFFF;
+ top: auto;
+ bottom: -6px;
+}
+
+.imeselector-menu .ime-checked {
+ /* @embed */
+ background: url(../images/tick.png) no-repeat left center;
+ /* @embed */
+ background-image: -webkit-linear-gradient(transparent, transparent), url('../images/tick.svg');
+ /* @embed */
+ background-image: linear-gradient(transparent, transparent), url('../images/tick.svg');
+ background-position: left 4px center;
+ background-position-x: 4px;
+}
+
+.imeselector-menu .ime-help-link {
+ background-color: #f0f0f0;
+ border-radius: 0 0 5px 5px;
+ border-top: 1px solid #ddd;
+ margin-top: 6px;
+ padding: 2px 0;
+ color: #444;
+}
+
+.imeselector-menu .ime-help-link > a:hover {
+ background-color: #f0f0f0;
+ color: #000;
+}
+
+.imeselector-menu .selectable-row-item {
+ display: block;
+ padding-left: 20px;
+ padding-right: 20px;
+ font-weight: normal;
+ color: #333333;
+ outline: none;
+ white-space: nowrap;
+ position: relative;
+}
+
+.imeselector-menu .selectable-row {
+ cursor: pointer;
+}
+
+.imeselector-menu .selectable-row:hover {
+ background-color: #f0f0f0;
+}
+
+.ime-open {
+ *z-index: 1000;
+ display: block;
+}
+
+.imeselector-menu li {
+ position: relative;
+}
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/images/ime-active.png b/koha-tmpl/opac-tmpl/lib/jquery.ime/images/ime-active.png
new file mode 100644
index 0000000000000000000000000000000000000000..e299c827f3944171f602bc0e4abd3dcfc9b896d6
GIT binary patch
literal 319
zcmeAS at N?(olHy`uVBq!ia0vp^{6Ngj!2%??{N%3#DW+m4&kzod&^K-%LCyk?$YKTt
zwlWZA)KtrF018T$xJHx&=ckpFCl;kLl$V$5W#(lUCnpx9>g5-u&wghk1yr=p)5S4F
zB0TxW`496ILrm6at<l<|lvCQG*wNpRpp at e~BX&n-OXv=%RVo2iIcx%UY?C7toNv_E
z2&mlUZ|QbkeRx~@^7eUrz8t$*4lZ1N at X|upg|3Nr6DKBmE6E)C))w6&*ZN??UV*#+
z8+-O9K0kb|)s`n(;G0y({C0ib-HgV6>UX5?NRLQek#xgrfjU3q$8!PaHgp!e+;HFF
zhx(iJ8~ZoNJKW<}_-p(|-|1KB3U(`&D5mNE#Q!nKGWjx`Vql2fwr1MjE$t70K4I{5
L^>bP0l+XkKX9Ra*
literal 0
HcmV?d00001
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/images/ime-active.svg b/koha-tmpl/opac-tmpl/lib/jquery.ime/images/ime-active.svg
new file mode 100644
index 0000000..a9dcfdb
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/images/ime-active.svg
@@ -0,0 +1 @@
+<?xml version="1.0" encoding="UTF-8"?><svg xmlns="http://www.w3.org/2000/svg" width="15" height="11"><path d="M9 1.281c-.124.259-.185.599-.5.688-.55.081-1.133.018-1.688 0-.866-.032-1.733-.148-2.594 0-.588.157-.953.727-1.188 1.25-.178.416-.271.836-.344 1.281h-2.688v11.5h20v-11.5h-16.344c.109-.52.203-1.057.563-1.469.222-.231.587-.17.875-.188 1.212.003 2.415.179 3.625.063.463-.058.812-.455.969-.875l.188-.438-.875-.313zm-7.125 5.844h1.563c.094 0 .188.093.188.188v1.531c0 .094-.093.188-.188.188h-1.563c-.094 0-.156-.093-.156-.188v-1.531c0-.094.062-.188.156-.188zm2.844 0h1.563c.094 0 .156.093.156.188v1.531c0 .094-.062.188-.156.188h-1.563c-.094 0-.156-.093-.156-.188v-1.531c0-.094.062-.188.156-.188zm2.844 0h1.563c.094 0 .156.093.156.188v1.531c0 .094-.062.188-.156.188h-1.563c-.094 0-.188-.093-.188-.188v-1.531c0-.094.093-.188.188-.188zm2.813 0h1.563c.094 0 .188.093.188.188v1.531c0 .094-.093.188-.188.188h-1.563c-.094 0-.156-.093-.156-.188v-1.531c0-.094.062-.188.156-.188zm2.844 0h1.563c.0
94 0 .156.093.156.188v1.531c0 .094-.062.188-.156.188h-1.563c-.094 0-.156-.093-.156-.188v-1.531c0-.094.062-.188.156-.188zm2.844 0h1.531c.094 0 .188.093.188.188v1.531c0 .094-.093.188-.188.188h-1.531c-.094 0-.188-.093-.188-.188v-1.531c0-.094.093-.188.188-.188zm-12.844 3h1.563c.094 0 .156.093.156.188v1.563c0 .094-.062.156-.156.156h-1.563c-.094 0-.156-.062-.156-.156v-1.563c0-.094.062-.188.156-.188zm2.906 0h1.563c.094 0 .188.093.188.188v1.563c0 .094-.093.156-.188.156h-1.563c-.094 0-.156-.062-.156-.156v-1.563c0-.094.062-.188.156-.188zm2.938 0h1.531c.094 0 .188.093.188.188v1.563c0 .094-.093.156-.188.156h-1.531c-.094 0-.188-.062-.188-.156v-1.563c0-.094.093-.188.188-.188zm2.906 0h1.563c.094 0 .156.093.156.188v1.563c0 .094-.062.156-.156.156h-1.563c-.094 0-.188-.062-.188-.156v-1.563c0-.094.093-.188.188-.188zm2.906 0h1.563c.094 0 .156.093.156.188v1.563c0 .094-.062.156-.156.156h-1.563c-.094 0-.156-.062-.156-.156v-1.563c0-.094.062-.188.156-.188zm-10.875 3.563h12c.088 0 .156.068.156.156v.84
4c0 .088-.068.156-.156.156h-12c-.088 0-.156-.068-.156-.156v-.844c0-.088.068-.156.156-.156z" fill="#565656" transform="scale(.75) translate(0 -1.3)"/></svg>
\ No newline at end of file
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/images/tick.png b/koha-tmpl/opac-tmpl/lib/jquery.ime/images/tick.png
new file mode 100644
index 0000000000000000000000000000000000000000..5499831b8d8a63dddb26b4b366cce7343e3132ed
GIT binary patch
literal 261
zcmeAS at N?(olHy`uVBq!ia0vp^JV4CJ!2%@LY-GI;q?n4GJVQ7*Lf^Q71UU;lB8wRq
z*fc?y@#WnqmOw$t64!{5;QX|b^2DN4hVt at qz0ADq;^f4FRK5J7^x5xhq=1TAJY5_^
zIHHq(oNwUUS~+E#rgb8RHiyRCfM4tP2>M3&y1d+TseY+0myAOnGq+DfT+mCcfQq$-
zuj|>^o)#=UopnheQPpzkZHI?T1zLGdbvMkZ&hk2?<;CB)rjo};;4Tl3k5_R6)A@!E
z`!9vCxy{(9aAbvrpvI5*mEt!g1H5*I?qt1M%b+P2osiSE`!diy44$rjF6*2Ung9dV
BSU~^)
literal 0
HcmV?d00001
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/images/tick.svg b/koha-tmpl/opac-tmpl/lib/jquery.ime/images/tick.svg
new file mode 100644
index 0000000..1e548a3
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/images/tick.svg
@@ -0,0 +1 @@
+<?xml version="1.0" encoding="UTF-8"?><svg xmlns="http://www.w3.org/2000/svg" width="12" height="9"><path d="M11.226.257l-6.718 6.453-2.699-2.575-1.292 1.302c1.33 1.273 2.65 2.557 3.99 3.821 2.654-2.591 5.337-5.153 8.01-7.726z" fill="#222"/></svg>
\ No newline at end of file
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/jquery.ime.min.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/jquery.ime.min.js
new file mode 100644
index 0000000..8d261df
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/jquery.ime.min.js
@@ -0,0 +1,6 @@
+/*! jquery.ime - v0.1.0+20140825
+* https://github.com/wikimedia/jquery.ime
+* Copyright (c) 2014 Santhosh Thottingal; Licensed GPL, MIT */
+(function(e){"use strict";function t(t,n){this.$element=e(t),e.ime.defaults.languages=d(e.ime.languages),this.options=e.extend({},e.ime.defaults,n),this.active=!1,this.shifted=!1,this.inputmethod=null,this.language=null,this.context="",this.selector=this.$element.imeselector(this.options),this.listen()}function n(e){window.console&&window.console.log&&window.console.log(e)}function i(e){var t,n,i,r,s,a,u=e.get(0),c=0,l=0;return e.is("[contenteditable]")?o(u):("number"==typeof u.selectionStart&&"number"==typeof u.selectionEnd?(c=u.selectionStart,l=u.selectionEnd):(n=document.selection.createRange(),n&&n.parentElement()===u&&(r=u.value.length,t=u.value.replace(/\r\n/g,"\n"),s=t.match(/\n/g),i=u.createTextRange(),i.moveToBookmark(n.getBookmark()),a=u.createTextRange(),a.collapse(!1),i.compareEndPoints("StartToEnd",a)>-1?c=l=s?r-s.length:r:(c=-i.moveStart("character",-r),l=i.compareEndPoints("EndToEnd",a)>-1?r:-i.moveEnd("character",-r)))),[c,l])}function r(e){var t;return"input
"===e.nodeName.toLowerCase()?t=e.createTextRange():(t=document.body.createTextRange(),t.moveToElementText(e)),t}function s(e,t,n,i){var s,o,u,c,l,d,h,m=e.get(0);return e.is("[contenteditable]")?(d=a(e,{start:n,end:i}),s=rangy.getSelection(),l=s.getRangeAt(0),d[0]>0&&(t=(""+s).substring(0,d[0])+t),h=document.createTextNode(t),l.deleteContents(),l.insertNode(h),l.commonAncestorContainer.normalize(),n=i=n+t.length-d[0],a(e,{start:n,end:i}),void 0):("number"==typeof m.selectionStart&&"number"==typeof m.selectionEnd?(c=m.scrollTop,m.value=m.value.substring(0,n)+t+m.value.substring(i,m.value.length),m.scrollTop=c,m.selectionStart=m.selectionEnd=n+t.length):(s=r(m),o=m.value.length,u=m.value.match(/\n/g),u&&(o-=u.length),s.moveStart("character",n),s.moveEnd("character",i-o),s.text=t,s.collapse(!1),s.select()),void 0)}function o(e){function t(e,a){var u,c;if(e.nodeType===Node.TEXT_NODE)s||e!==a.startContainer||(i=n+a.startOffset,s=!0),s&&e===a.endContainer&&(r=n+a.endOffset,o=!0),n+
=e.length;else for(c=e.childNodes.length,u=0;c>u&&(t(e.childNodes[u],a),!o);++u);}var n=0,i=0,r=0,s=!1,o=!1,a=rangy.getSelection();return a.rangeCount&&t(e,a.getRangeAt(0)),[i,r]}function a(e,t){var n,i=0,r=0,s=e[0];for(u(s,t),n=o(s);t.start!==n[0]&&(t.start-=1,!(0>t.start));)u(s,t),n=o(s),i+=1;for(;t.end!==n[1]&&(t.end+=1,u(s,t),n=o(s),r+=1,!(r>10)););return[i,r]}function u(e,t){function n(e){var u,c;if(3===e.nodeType)i=r+e.length,!o&&t.start>=r&&i>=t.start&&(s.setStart(e,t.start-r),o=!0),o&&t.end>=r&&i>=t.end&&(s.setEnd(e,t.end-r),a=!0),r=i;else for(u=0,c=e.childNodes.length;c>u;++u)if(n(e.childNodes[u]),a){rangy.getSelection().setSingleRange(s);break}}var i,r=0,s=rangy.createRange(),o=!1,a=!1;s.collapseToPoint(e,0),n(e)}function c(e,t){var n,i;for(n=e.length<t.length?e.length:t.length,i=0;n>i;i++)if(e.charCodeAt(i)!==t.charCodeAt(i))return i;return-1}function l(e,t,n){return 0===n?"":n>=t?e.substr(0,t):e.substr(t-n,n)}function d(t){return e.map(t,function(e,t){return t})}
t.prototype={constructor:t,listen:function(){this.$element.on("keypress.ime",e.proxy(this.keypress,this)),this.$element.on("keyup.ime",e.proxy(this.keyup,this)),this.$element.on("keydown.ime",e.proxy(this.keydown,this)),this.$element.on("destroy.ime",e.proxy(this.destroy,this)),this.$element.on("enable.ime",e.proxy(this.enable,this)),this.$element.on("disable.ime",e.proxy(this.disable,this))},transliterate:function(t,n,i){var r,s,o,a,u,c;if(r=i?this.inputmethod.patterns_x||[]:this.inputmethod.patterns||[],this.shifted&&(r=(this.inputmethod.patterns_shift||[]).concat(r)),e.isFunction(r))return c=r.call(this,t,n),"string"==typeof c?{noop:t===c,output:c}:c;for(u=0;r.length>u;u++)if(o=r[u],s=RegExp(o[0]+"$"),a=o.slice(-1)[0],s.test(t)){if(3!==o.length)return{noop:!1,output:t.replace(s,a)};if(RegExp(o[1]+"$").test(n))return{noop:!1,output:t.replace(s,a)}}return{noop:!0,output:t}},keyup:function(e){16===e.which&&(this.shifted=!1)},keydown:function(e){16===e.which&&(this.shifted=!0
)},keypress:function(e){var t,n,i,r,o,a,u,c=!1;return this.active?this.inputmethod?8===e.which?(this.context="",!0):((e.altKey||e.altGraphKey)&&(c=!0),32>e.which&&13!==e.which&&!c||e.ctrlKey||e.metaKey?(this.context="",!0):(t=String.fromCharCode(e.which),i=this.getCaretPosition(this.$element),n=i[0],r=i[1],a=this.lastNChars(this.$element.val()||this.$element.text(),n,this.inputmethod.maxKeyLength),a+=t,u=this.transliterate(a,this.context,c),this.context+=t,this.context.length>this.inputmethod.contextLength&&(this.context=this.context.substring(this.context.length-this.inputmethod.contextLength)),u.noop?!0:(o=this.firstDivergence(a,u.output),a=a.substring(o),u.output=u.output.substring(o),s(this.$element,u.output,n-a.length+1,r),e.stopPropagation(),!1))):!0:!0},isActive:function(){return this.active},disable:function(){this.active=!1,e.ime.preferences.setIM("system")},enable:function(){this.active=!0},toggle:function(){this.active=!this.active},destroy:function(){e("body").of
f(".ime"),this.$element.off(".ime").removeData("ime").removeData("imeselector")},getIM:function(){return this.inputmethod},setIM:function(t){this.inputmethod=e.ime.inputmethods[t],e.ime.preferences.setIM(t)},setLanguage:function(t){return e.ime.languages[t]?(this.language=t,e.ime.preferences.setLanguage(t),!0):(n("Language "+t+" is not known to jquery.ime."),!1)},getLanguage:function(){return this.language},load:function(t){var i,r=this,s=e.Deferred();return e.ime.inputmethods[t]?s.resolve():e.ime.sources[t]?(i=e.ime.sources[t].depends,i&&!e.ime.inputmethods[i]?(r.load(i).done(function(){r.load(t).done(function(){s.resolve()})}),s):(n("Loading "+t),s=e.ajax({url:r.options.imePath+e.ime.sources[t].source,dataType:"script",cache:!0}).done(function(){n(t+" loaded")}).fail(function(e,i,r){n("Error in loading inputmethod "+t+" Exception: "+r)}),s.promise())):s.reject()},getCaretPosition:function(e){return i(e)},setCaretPosition:function(e,t){return a(e,t)},firstDivergence:functio
n(e,t){return c(e,t)},lastNChars:function(e,t,n){return l(e,t,n)}},e.fn.ime=function(n){return this.each(function(){var i,r=e(this),s="object"==typeof n&&n;r.prop("readonly")||r.prop("disabled")||r.hasClass("noime")||(i=r.data("ime"),i||(i=new t(this,s),r.data("ime",i)),"string"==typeof n&&i[n]())})},e.ime={},e.ime.inputmethods={},e.ime.sources={},e.ime.preferences={},e.ime.languages={};var h={contextLength:0,maxKeyLength:1};e.ime.register=function(t){e.ime.inputmethods[t.id]=e.extend({},h,t)},e.ime.defaults={imePath:"/opac-tmpl/lib/jquery.ime/",languages:[],helpHandler:null}})(jQuery),function(e){"use strict";function t(n,i){this.$element=e(n),this.options=e.extend({},t.defaults,i),this.active=!1,this.$imeSetting=null,this.$menu=null,this.inputmethod=null,this.timer=null,this.init(),this.listen()}function n(){return e("<h3>").addClass("ime-lang-title").attr("data-i18n","jquery-ime-other-languages").text("Other languages")}function i(){return e("<ul>").addClass("ime-list")}f
unction r(){return e("<h3>").addClass("ime-list-title autonym")}function s(){return e('<div class="ime-disable selectable-row">').append(e("<span>").attr({"class":"ime-disable-link","data-i18n":"jquery-ime-disable-text"}).addClass("ime-checked").text("System input method"),e("<span>").addClass("ime-disable-shortcut").text("CTRL+M"))}function o(e){return e.ctrlKey&&!e.altKey&&(77===e.which||13===e.which)}function a(){var e=document.createElement("p"),t=!1;if(e.addEventListener)e.addEventListener("DOMAttrModified",function(){t=!0},!1);else{if(!e.attachEvent)return!1;e.attachEvent("onDOMAttrModified",function(){t=!0})}return e.setAttribute("id","target"),t}var u,c;t.prototype={constructor:t,init:function(){this.prepareSelectorMenu(),this.position(),this.$imeSetting.hide()},prepareSelectorMenu:function(){this.$imeSetting=e(u),this.$menu=e('<div class="imeselector-menu" role="menu">'),this.$menu.append(r(),i(),s(),n()),this.prepareLanguageList(),this.$menu.append(this.helpLink())
,e.i18n&&this.$menu.i18n(),this.$imeSetting.append(this.$menu),e("body").append(this.$imeSetting)},stopTimer:function(){this.timer&&(clearTimeout(this.timer),this.timer=null),this.$imeSetting.stop(!0,!0)},resetTimer:function(){var e=this;this.stopTimer(),this.timer=setTimeout(function(){e.$imeSetting.animate({opacity:0,marginTop:"-20px"},500,function(){e.$imeSetting.hide(),e.$imeSetting.css("opacity",1),e.$imeSetting.css("margin-top",0)})},this.options.timeout)},focus:function(){e("div.imeselector").hide(),e("div.imeselector-menu").removeClass("ime-open"),this.$imeSetting.show(),this.resetTimer()},show:function(){return this.$menu.addClass("ime-open"),this.stopTimer(),this.$imeSetting.show(),!1},hide:function(){return this.$menu.removeClass("ime-open"),this.resetTimer(),!1},toggle:function(){this.$menu.hasClass("ime-open")?this.hide():this.show()},listen:function(){var t=this;t.$imeSetting.on("click.ime",function(n){var i=e(n.target);return i.hasClass("imeselector-toggle")&&
t.toggle(),!1}),t.$element.on("blur.ime",function(){t.$imeSetting.hasClass("ime-onfocus")||(t.$imeSetting.hide(),t.hide())}),e("html").click(function(){t.hide()}),this.$menu.on("click",function(e){e.stopPropagation()}),t.$imeSetting.mouseenter(function(){t.stopTimer(),t.$imeSetting.addClass("ime-onfocus")}).mouseleave(function(){t.resetTimer(),t.$imeSetting.removeClass("ime-onfocus")}),t.$menu.on("click.ime","li",function(){return t.$element.focus(),!1}),t.$menu.on("click.ime","li.ime-im",function(){return t.selectIM(e(this).data("ime-inputmethod")),t.$element.trigger("setim.ime",e(this).data("ime-inputmethod")),!1}),t.$menu.on("click.ime","li.ime-lang",function(){var n=t.selectLanguage(e(this).attr("lang"));return t.$element.trigger("setim.ime",n),!1}),t.$menu.on("click.ime","div.ime-disable",function(){return t.disableIM(),!1}),t.$menu.on("click.ime",".ime-help-link",function(e){e.stopPropagation()}),t.$element.on("focus.ime",function(e){t.selectLanguage(t.decideLanguage()
),t.focus(),e.stopPropagation()}),t.$element.attrchange(function(){t.$element.is(":hidden")&&t.$imeSetting.hide()}),t.$element.on("mouseup.ime",e.proxy(this.position,this)),t.$element.on("keydown.ime",e.proxy(this.keydown,this)),e(window).resize(function(){t.position()})},keydown:function(t){var n,i,r,s=e(t.target).data("ime");return this.focus(),o(t)?(s.isActive()?(this.disableIM(),this.$element.trigger("setim.ime","system")):null!==this.inputmethod?(this.selectIM(this.inputmethod.id),this.$element.trigger("setim.ime",this.inputmethod.id)):(r=this.decideLanguage(),this.selectLanguage(r),!s.isActive()&&e.ime.languages[r]&&(i=e.ime.preferences.getPreviousInputMethods(),i[0]?this.selectIM(i[0]):(n=e.ime.languages[r].inputmethods[0],this.selectIM(n)))),t.preventDefault(),t.stopPropagation(),!1):!0},position:function(){var t,n,i,r,s,o,a,u,c=this,l="rtl"===this.$element.css("direction"),d=e(window);this.focus(),r=this.$element.offset(),s=r.top+this.$element.outerHeight(),o=r.left
,l||(o=r.left+this.$element.outerWidth()-this.$imeSetting.outerWidth()),a=d.height()+e(document).scrollTop()-s,this.$imeSetting.outerHeight()>a&&(s=r.top-this.$imeSetting.outerHeight(),n=this.$menu.outerHeight()+this.$imeSetting.outerHeight(),s>n&&this.$menu.addClass("ime-position-top").css("top",-n)),this.$element.parents().each(function(){return"fixed"===e(this).css("position")?(c.$imeSetting.css("position","fixed"),!1):void 0}),this.$imeSetting.css({top:s,left:o}),t=this.$menu.width(),u=o+t>d.width(),(t>o||l&&u)&&(l?u?(this.$menu.addClass("ime-right"),i=this.$imeSetting.outerWidth()-t):i=0:(this.$menu.addClass("ime-right"),i=r.left),this.$menu.css("left",i))},selectLanguage:function(t){var n,i,r;return t=t&&t.toLowerCase(),n=this.$element.data("ime"),i=e.ime.preferences.getIM(t),r=e.ime.languages[t],this.setMenuTitle(this.getAutonym(t)),r?n.getLanguage()===t?(n.inputmethod&&n.inputmethod.id!==i&&this.selectIM(e.ime.preferences.getIM(t)),e.ime.preferences.getIM(t)):(this.$
menu.find("li.ime-lang").show(),this.$menu.find("li[lang="+t+"]").hide(),this.prepareInputMethods(t),this.hide(),n.setLanguage(t),this.inputmethod=null,this.selectIM(e.ime.preferences.getIM(t)),e.ime.preferences.getIM(t)):!1},getAutonym:function(t){return e.ime.languages[t]&&e.ime.languages[t].autonym},setMenuTitle:function(e){this.$menu.find(".ime-list-title").text(e)},decideLanguage:function(){return e.ime.preferences.getLanguage()?e.ime.preferences.getLanguage():this.$element.attr("lang")&&e.ime.languages[this.$element.attr("lang")]?this.$element.attr("lang"):e.ime.preferences.getDefaultLanguage()},selectIM:function(t){var n,i=this;if(t)return this.$menu.find(".ime-checked").removeClass("ime-checked"),this.$menu.find("li[data-ime-inputmethod="+t+"]").addClass("ime-checked"),n=this.$element.data("ime"),"system"===t?(this.disableIM(),void 0):(n.load(t).done(function(){i.inputmethod=e.ime.inputmethods[t],i.hide(),n.enable(),n.setIM(t),i.$imeSetting.find("a.ime-name").text(e.
ime.sources[t].name),i.position(),e.ime.preferences.save()}),void 0)},disableIM:function(){this.$menu.find(".ime-checked").removeClass("ime-checked"),this.$menu.find("div.ime-disable").addClass("ime-checked"),this.$element.data("ime").disable(),this.$imeSetting.find("a.ime-name").text(""),this.hide(),this.position(),e.ime.preferences.save()},prepareLanguageList:function(){var t,n,i,r,s,o,a,u;n=e('<div class="ime-language-list-wrapper">'),i=e('<ul class="ime-language-list">'),r=e.isFunction(this.options.languages)?this.options.languages():this.options.languages;for(t in r)a=r[t],u=e.ime.languages[a],u&&(s=e("<a>").attr("href","#").text(this.getAutonym(a)).addClass("selectable-row-item autonym"),o=e('<li class="ime-lang selectable-row">').attr("lang",a),o.append(s),i.append(o));n.append(i),this.$menu.append(n),this.options.languageSelector&&this.$menu.append(this.options.languageSelector())},prepareInputMethods:function(t){var n=e.ime.languages[t],i=this.$menu.find(".ime-list"
),r=this;i.empty(),e.each(n.inputmethods,function(t,n){var s,o,a,u;a=e.ime.sources[n],a&&(u=a.name,s=e("<a>").attr("href","#").text(u).addClass("selectable-row-item"),o=e("<li>").attr("data-ime-inputmethod",n).addClass("ime-im selectable-row").append('<span class="ime-im-check"></span>',s),r.options.helpHandler&&o.append(r.options.helpHandler.call(r,n)),i.append(o))})},helpLink:function(){return e('<div class="ime-help-link selectable-row">').append(e("<a>").text("Help").addClass("selectable-row-item").attr({href:"http://github.com/wikimedia/jquery.ime",target:"_blank","data-i18n":"jquery-ime-help"}))}},t.defaults={defaultLanguage:"en",timeout:2500},e.fn.imeselector=function(n){return this.each(function(){var i=e(this),r=i.data("imeselector");r||i.data("imeselector",r=new t(this,n)),"string"==typeof n&&r[n].call(i)})},e.fn.imeselector.Constructor=t,u='<div class="imeselector imeselector-toggle"><a class="ime-name imeselector-toggle" href="#"></a><b class="ime-setting-caret i
meselector-toggle"></b></div>',c=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver,e.fn.attrchange=function(e){if(c){var t;return t=new c(function(t){t.forEach(function(t){e.call(t.target,t.attributeName)})}),this.each(function(){t.observe(this,{subtree:!1,attributes:!0})})}return a()?this.on("DOMAttrModified",function(t){e.call(this,t.originalEvent.attrName)}):"onpropertychange"in document.body?this.on("propertychange",function(){e.call(this,window.event.propertyName)}):void 0}}(jQuery),function(e){"use strict";e.extend(e.ime.preferences,{registry:{isDirty:!1,language:null,previousLanguages:[],previousInputMethods:[],imes:{en:"system"}},setLanguage:function(t){t!==this.registry.language&&(this.registry.language=t,this.registry.isDirty=!0,this.registry.previousLanguages||(this.registry.previousLanguages=[]),-1===e.inArray(t,this.registry.previousLanguages)&&(this.registry.previousLanguages.unshift(t),this.registry.previousLanguages=this.regis
try.previousLanguages.slice(0,5)))},getLanguage:function(){return this.registry.language},getDefaultLanguage:function(){return"en"},getPreviousLanguages:function(){return this.registry.previousLanguages},getPreviousInputMethods:function(){return this.registry.previousInputMethods},setIM:function(e){this.registry.imes||(this.registry.imes={}),e!==this.registry.imes[this.registry.language]&&(this.registry.imes[this.getLanguage()]=e,this.registry.isDirty=!0,this.registry.previousInputMethods||(this.registry.previousInputMethods=[]),"system"!==e&&(this.registry.previousInputMethods.unshift(e),this.registry.previousInputMethods=this.registry.previousInputMethods.slice(0,5)))},getIM:function(e){return this.registry.imes||(this.registry.imes={}),this.registry.imes[e]||"system"},save:function(){},load:function(){}})}(jQuery),function(e){"use strict";e.extend(e.ime.sources,{"am-transliteration":{name:"áµá«ááµáá°á«áµáá",source:"rules/am/am-transliteration.js"},"ar-kbd":{
name:"أرابÙÙ",source:"rules/ar/ar-kbd.js"},"as-avro":{name:"à¦
à¦à§à§°",source:"rules/as/as-avro.js"},"as-bornona":{name:"বৰà§à¦£à¦¨à¦¾",source:"rules/as/as-bornona.js"},"as-inscript":{name:"à¦à¦¨à¦¸à§à¦à§à§°à¦¿à¦ªà§à¦",source:"rules/as/as-inscript.js"},"as-inscript2":{name:"à¦à¦¨à¦¸à§à¦à§à§°à¦¿à¦ªà§à¦ ২",source:"rules/as/as-inscript2.js"},"as-phonetic":{name:"ফনà§à¦à¦¿à¦",source:"rules/as/as-phonetic.js"},"as-transliteration":{name:"পà§à§°à¦¤à¦¿à§°à§à¦ªà¦¾à¦¨à§à¦¤à§°à¦£",source:"rules/as/as-transliteration.js"},"batak-qwerty":{name:"Batak QWERTY",source:"rules/bbc/batak-qwerty.js"},"be-kbd":{name:"СÑандаÑÑнаÑ",source:"rules/be/be-kbd.js"},"be-latin":{name:"Åacinka",source:"rules/be/be-latin.js"},"be-transliteration":{name:"ТÑанÑлÑÑÑÑаÑÑÑ",source:"rules/be/be-transliteration.js"},"ber-tfng":{name:"Tifinagh",source:"rules/ber/ber-tfng.js"},"bn-avro":{name:"à¦
à¦à§à¦°",source:"rules/bn/bn-avro.js"},"bn-inscript
":{name:"à¦à¦¨à¦¸à§à¦à§à§°à¦¿à¦ªà§à¦",source:"rules/bn/bn-inscript.js"},"bn-inscript2":{name:"à¦à¦¨à¦¸à§à¦à§à§°à¦¿à¦ªà§à¦ ২",source:"rules/bn/bn-inscript2.js"},"bn-nkb":{name:"নà§à¦¯à¦¾à¦¶à¦¨à¦¾à¦² à¦à¦¿à¦¬à§à¦°à§à¦¡",source:"rules/bn/bn-nkb.js"},"bn-probhat":{name:"পà§à¦°à¦à¦¾à¦¤",source:"rules/bn/bn-probhat.js"},"bo-ewts":{name:"Tibetan EWTS",source:"rules/bo/bo-ewts.js"},"brx-inscript":{name:"à¤à¤¨à¤¸à¥à¤à¥à¤°à¤¿à¤ªà¥à¤",source:"rules/brx/brx-inscript.js"},"brx-inscript2":{name:"à¤à¤¨à¤¸à¥à¤à¥à¤°à¤¿à¤ªà¥à¤ २",source:"rules/brx/brx-inscript2.js"},"ckb-transliteration-arkbd":{name:"باشÙÙرÛ",source:"rules/ckb/ckb-transliteration-arkbd.js"},"ckb-transliteration-fakbd":{name:"ÚÛÚÚ¾ÛڵاتÛ",source:"rules/ckb/ckb-transliteration-fakbd.js"},"ckb-transliteration-lakbd":{name:"ÙاتÛÙÛ",source:"rules/ckb/ckb-transliteration-lakbd.js"},"cv-cyr-altgr":{name:"ЧÄваÑла (AltGr)",source:"rules/cv/cv-cyr-altgr.js"},"cv-lat-altgr
":{name:"CÄvaÅ¡la (AltGr)",source:"rules/cv/cv-lat-altgr.js"},"cv-cyr-numbers":{name:"ЧÄваÑла (ÑиÑÑилиÑем)",source:"rules/cv/cv-cyr-numbers.js"},"cyrl-palochka":{name:"Palochka",source:"rules/cyrl/cyrl-palochka.js"},"da-normforms":{name:"normalformer",source:"rules/da/da-normforms.js"},"doi-inscript2":{name:"à¤à¤¨à¤¸à¥à¤à¥à¤°à¤¿à¤ªà¥à¤ २",source:"rules/doi/doi-inscript2.js"},"eo-transliteration":{name:"transliterigo",source:"rules/eo/eo-transliteration.js"},"eo-h":{name:"Esperanto h",source:"rules/eo/eo-h.js"},"eo-h-f":{name:"Esperanto h fundamente",source:"rules/eo/eo-h-f.js"},"eo-plena":{name:"Esperanto plena",source:"rules/eo/eo-plena.js"},"eo-q":{name:"Esperanto q sistemo",source:"rules/eo/eo-q.js"},"eo-vi":{name:"Esperanto vi sistemo",source:"rules/eo/eo-vi.js"},"eo-x":{name:"Esperanto x sistemo",source:"rules/eo/eo-x.js"},"fa-kbd":{name:"ÙارسÛ",source:"rules/fa/fa-kbd.js"},"fo-normforms":{name:"Føroyskt",source:"rules/fo/fo-normforms.js"
},"fi-transliteration":{name:"translitterointi",source:"rules/fi/fi-transliteration.js"},"lud-transliteration":{name:"lud",source:"rules/lud/lud-transliteration.js"},"hi-transliteration":{name:"लिपà¥à¤¯à¤à¤¤à¤°à¤£",source:"rules/hi/hi-transliteration.js"},"hi-inscript":{name:"à¤à¤¨à¤¸à¥à¤à¥à¤°à¤¿à¤ªà¥à¤",source:"rules/hi/hi-inscript.js"},"hi-inscript2":{name:"à¤à¤¨à¤¸à¥à¤à¥à¤°à¤¿à¤ªà¥à¤ २",source:"rules/hi/hi-inscript2.js"},"hi-phonetic":{name:"फà¥à¤¨à¥à¤à¤¿à¤",source:"rules/hi/hi-phonetic.js"},"is-normforms":{name:"Venjuleg eyðublöð",source:"rules/is/is-normforms.js"},"jv-transliteration":{name:"Transliteration",source:"rules/jv/jv-transliteration.js"},"mai-inscript":{name:"à¤à¤¨à¤¸à¥à¤à¥à¤°à¤¿à¤ªà¥à¤",source:"rules/mai/mai-inscript.js",depends:"hi-inscript"},"mai-inscript2":{name:"à¤à¤¨à¤¸à¥à¤à¥à¤°à¤¿à¤ªà¥à¤ २",source:"rules/mai/mai-inscript2.js",depends:"hi-inscript2"},"hi-bolnagri":{name:"बà¥à¤²à¤¨à¤¾à¤à¤°à¥",source:"rule
s/hi/hi-bolnagri.js"},"ml-transliteration":{name:"ലിപàµà´¯à´¨àµà´¤à´°à´£à´",source:"rules/ml/ml-transliteration.js"},"ml-inscript":{name:"à´àµ»à´¸àµà´àµà´°à´¿à´ªàµà´±àµà´±àµ",source:"rules/ml/ml-inscript.js"},"ml-inscript2":{name:"à´àµ»à´¸àµà´àµà´°à´¿à´ªàµà´±àµà´±àµ 2",source:"rules/ml/ml-inscript2.js"},"sv-normforms":{name:"Normal forms",source:"rules/sv/sv-normforms.js"},"ta-inscript":{name:"à®à®©à¯à®¸à¯à®à®¿à®°à®¿à®ªà¯à®à¯",source:"rules/ta/ta-inscript.js"},"ta-inscript2":{name:"à®à®©à¯à®¸à¯à®à®¿à®°à®¿à®ªà¯à®à¯ 2",source:"rules/ta/ta-inscript2.js"},"ta-transliteration":{name:"à®à®´à¯à®¤à¯à®¤à¯à®ªà¯à®ªà¯à®¯à®°à¯à®ªà¯à®ªà¯",source:"rules/ta/ta-transliteration.js"},"ta-99":{name:"தமிழà¯99",source:"rules/ta/ta-99.js"},"ta-bamini":{name:"பாமினி",source:"rules/ta/ta-bamini.js"},"th-kedmanee":{name:"à¹à¸à¸©à¸¡à¸à¸µ",source:"rules/th/th-kedmanee.js"},"th-pattachote":{name:"à¸à¸±à¸à¸à¸°à¹à¸à¸à¸´",source:"r
ules/th/th-pattachote.js"},"de-transliteration":{name:"Deutsch Tilde",source:"rules/de/de-transliteration.js"},"el-kbd":{name:"ΤÏ
Ïική ÏληκÏÏολÏγιο",source:"rules/el/el-kbd.js"},"he-standard-2012":{name:"×¢×ר×ת ×¢× × ×ק×× ×¢× ×ס×ס ×× ×××ת",source:"rules/he/he-standard-2012.js"},"he-standard-2012-extonly":{name:"×¢×ר×ת ×¢× × ×ק××",source:"rules/he/he-standard-2012-extonly.js"},"hr-kbd":{name:"Croatian kbd",source:"rules/hr/hr-kbd.js"},"hy-ephonetic":{name:"ÕÕ¶Õ¹ÕµÕ¸ÖÕ¶Õ¡ÕµÕ«Õ¶ Õ¤Õ¡Õ½Õ¡Õ¾Õ¸ÖÕ¸ÖÕ©ÕµÕ¸ÖÕ¶",source:"rules/hy/hy-ephonetic.js"},"hy-typewriter":{name:"Ô³ÖÕ¡Õ´Õ¥ÖÕ¥Õ¶Õ¡ÕµÕ« Õ¤Õ¡Õ½Õ¡Õ¾Õ¸ÖÕ¸ÖÕ©ÕµÕ¸ÖÕ¶",source:"rules/hy/hy-typewriter.js"},"hy-ephoneticalt":{name:"ÕÕ¶Õ¹ÕµÕ¸ÖÕ¶Õ¡ÕµÕ«Õ¶ Õ¶Õ¸Ö (RâÕ, FâÔ¹)",source:"rules/hy/hy-ephoneticalt.js"},"hy-emslegacy":{name:"ÕÕ¡ÕµÖÖÕ¸Õ½Õ¸ÖÕ©Õ« Õ°Õ«Õ¶ Õ¡ÖÖÕ¥Õ¬Õ¡Õ°Õ¡ÕµÕ¥ÖÕ¥Õ¶",source:"rules/hy/hy-emslegacy.js"},"hy-wmslegacy":{name:"ÕÕ¡ÕµÖÖÕ¸Õ½Õ¸ÖÕ©Õ« Õ°Õ«Õ¶ Õ¡ÖÖ
Õ´Õ¿Õ¡Õ°Õ¡ÕµÕ¥ÖÕ¥Õ¶",source:"rules/hy/hy-wmslegacy.js"},"gu-inscript":{name:"àªàª¨àª¸à«àªà«àª°àª¿àªªà«àª",source:"rules/gu/gu-inscript.js"},"gu-inscript2":{name:"àªàª¨àª¸à«àªà«àª°àª¿àªªà«àª ૨",source:"rules/gu/gu-inscript2.js"},"gu-phonetic":{name:"ફà«àª¨à«
àªàª¿àª",source:"rules/gu/gu-phonetic.js"},"gu-transliteration":{name:"લિપà«àª¯àª¾àªàª¤àª°àª£",source:"rules/gu/gu-transliteration.js"},"ka-transliteration":{name:"á¢á ááá¡ááá¢áá ááªáá",source:"rules/ka/ka-transliteration.js"},"ka-kbd":{name:"á¡á¢ááááá á¢á£áá ááááááá¢á£á áá¡",source:"rules/ka/ka-kbd.js"},"kk-arabic":{name:"Kazakh Arabic transliteration",source:"rules/kk/kk-arabic.js"},"kk-kbd":{name:"ÐиÑил",source:"rules/kk/kk-kbd.js"},"kn-inscript":{name:"à²à²¨à³à²¸à³à²à³à²°à²¿à²ªà³à²à³",source:"rules/kn/kn-inscript.js"},"kn-inscript2":{name:"à²à²¨à³âಸà³à²à³à²°à²¿à²ªà³à²à³ ೨",source:"rules/kn/kn-inscript2.js"},
"kn-transliteration":{name:"ಲಿಪà³à²¯à²à²¤à²°à²£",source:"rules/kn/kn-transliteration.js"},"kn-kgp":{name:"KGP/Nudi/KP Rao",source:"rules/kn/kn-kgp.js"},"ky-cyrl-alt":{name:"ÐÑÑгÑз Alt",source:"rules/ky/ky-cyrl-alt.js"},"gom-inscript2":{name:"à¤à¤¨à¤¸à¥à¤à¥à¤°à¤¿à¤ªà¥à¤ २",source:"rules/gom/gom-inscript2.js"},"ks-inscript":{name:"à¤à¤¨à¤¸à¥à¤à¥à¤°à¤¿à¤ªà¥à¤",source:"rules/ks/ks-inscript.js"},"ks-kbd":{name:"Kashmiri Arabic",source:"rules/ks/ks-kbd.js"},"ku-h":{name:"Kurdî-h",source:"rules/ku/ku-h.js"},"ku-tr":{name:"Kurdî-tr",source:"rules/ku/ku-tr.js"},"lo-kbd":{name:"າຶàº",source:"rules/lo/lo-kbd.js"},mh:{name:"Kajin M̧ajeļ",source:"rules/mh/mh.js"},"mn-cyrl":{name:"ÐиÑилл",source:"rules/mn/mn-cyrl.js"},"mni-inscript2":{name:"à¦à¦¨à¦¸à§à¦à§à§°à¦¿à¦ªà§à¦ ২",source:"rules/mni/mni-inscript2.js"},"mr-inscript":{name:"मराठॠलिपà¥",source:"rules/mr/mr-inscript.js"},"mr-inscript2":{name:"मराठॠà¤à¤¨à¤¸à
¥à¤à¥à¤°à¤¿à¤ªà¥à¤ २",source:"rules/mr/mr-inscript2.js"},"mr-transliteration":{name:"à¤
à¤à¥à¤·à¤°à¤¾à¤à¤¤à¤°à¤£",source:"rules/mr/mr-transliteration.js"},"mr-phonetic":{name:"फà¥à¤¨à¥à¤à¤¿à¤",source:"rules/mr/mr-phonetic.js"},"my-xkb":{name:"áá¼ááºáá¬áá¬áᬠxkb",source:"rules/my/my-xkb.js"},"ne-inscript":{name:"à¤à¤¨à¤¸à¥à¤à¥à¤°à¤¿à¤ªà¥à¤",source:"rules/ne/ne-inscript.js"},"ne-inscript2":{name:"à¤à¤¨à¤¸à¥à¤à¥à¤°à¤¿à¤ªà¥à¤ २",source:"rules/ne/ne-inscript2.js"},"ne-transliteration":{name:"à¤à¥à¤°à¤¾à¤à¤¸à¥à¤²à¤¿à¤¤à¥à¤°à¥à¤¶à¤¨",source:"rules/ne/ne-transliteration.js"},"ne-rom":{name:"Romanized",source:"rules/ne/ne-rom.js"},"ne-trad":{name:"Traditional",source:"rules/ne/ne-trad.js"},"nb-normforms":{name:"Normal transliterasjon",source:"rules/nb/nb-normforms.js"},"nb-tildeforms":{name:"Tildemerket transliterasjon",source:"rules/nb/nb-tildeforms.js"},"nn-tildeforms":{name:"Tildemerkt transliterasjon",source:"rules/nb/nb-tildefo
rms.js"},"or-transliteration":{name:"à¬àରାନàସଲିà¬à¬°àସନ",source:"rules/or/or-transliteration.js"},"or-inscript":{name:"à¬à¬¨à¬¸àà¬àରିପàà¬",source:"rules/or/or-inscript.js"},"or-inscript2":{name:"à¬à¬¨à¬¸àà¬àରିପàà¬2",source:"rules/or/or-inscript2.js"},"or-lekhani":{name:"ଲàà¬à¬¨à",source:"rules/or/or-lekhani.js"},"or-phonetic":{name:"ଫàନàà¬à¬¿à¬",source:"rules/or/or-phonetic.js"},"sd-inscript2":{name:"à¤à¤¨à¤¸à¥à¤à¥à¤°à¤¿à¤ªà¥à¤ २",source:"rules/sd/sd-inscript2.js"},"se-normforms":{name:"Normal forms",source:"rules/se/se-normforms.js"},"sk-kbd":{name:"Å tandardná",source:"rules/sk/sk-kbd.js"},"sr-kbd":{name:"СÑандаÑдна",source:"rules/sr/sr-kbd.js"},"te-inscript":{name:"à°à°¨à±âà°¸à±à°à±à°°à°¿à°ªà±à°à±",source:"rules/te/te-inscript.js"},"te-inscript2":{name:"à°à°¨à±âà°¸à±à°à±à°°à°¿à°ªà±à°à± 2",source:"rules/te/te-inscript2.js"},"te-transliteration":{name:"లిపà±à
°¯à°à°¤à°°à±à°à°°à°£",source:"rules/te/te-transliteration.js"},"pa-inscript":{name:"à¨à¨¨à¨¸à©à¨à©à¨°à¨¿à¨ªà©à¨",source:"rules/pa/pa-inscript.js"},"pa-inscript2":{name:"à¨à¨¨à¨¸à©à¨à©à¨°à¨¿à¨ªà©à¨2",source:"rules/pa/pa-inscript2.js"},"pa-jhelum":{name:"à¨à©à¨¹à¨²à¨®",source:"rules/pa/pa-jhelum.js"},"pa-transliteration":{name:"ਤà©à¨°à¨¾à¨¨à©à¨¸à©à¨²à¨¿à¨¤à©à¨°à¨¾à¨¤à¨¿à¨à¨",source:"rules/pa/pa-transliteration.js"},"pa-phonetic":{name:"ਫà©à¨¨à©à¨à¨¿à¨",source:"rules/pa/pa-phonetic.js"},"ru-jcuken":{name:"ÐЦУÐÐÐ",source:"rules/ru/ru-jcuken.js"},"ru-kbd":{name:"кбд",source:"rules/ru/ru-kbd.js"},"ru-phonetic":{name:"ÑонеÑиÑеÑкий",source:"rules/ru/ru-phonetic.js"},"ru-yawerty":{name:"yawerty",source:"rules/ru/ru-yawerty.js"},"sa-iast":{name:"Romanized",source:"rules/sa/sa-iast.js"},"sa-inscript":{name:"à¤à¤¨à¤¸à¥à¤à¥à¤°à¤¿à¤ªà¥à¤",source:"rules/sa/sa-inscript.js"},"sa-inscript2":{name:"à¤à¤¨à¤¸à¥à¤à¥à¤°à¤¿à¤ªà¥à¤ २"
,source:"rules/sa/sa-inscript2.js"},"sa-transliteration":{name:"à¤à¥à¤°à¤¨à¥à¤¸à¥à¤²à¤¿à¤¤à¥à¤°à¤¤à¤¿à¤à¤¨à¥",source:"rules/sa/sa-transliteration.js"},"sah-transliteration":{name:"Transliteration",source:"rules/sah/sah-transliteration.js"},"sat-inscript2":{name:"à¤à¤¨à¤¸à¥à¤à¥à¤°à¤¿à¤ªà¥à¤ २",source:"rules/sat/sat-inscript2.js"},"si-singlish":{name:"à·à·à¶à¶à·à¶½à·à·à·",source:"rules/si/si-singlish.js"},"si-wijesekara":{name:"à·à·à¶¢à·à·à·à¶à¶»",source:"rules/si/si-wijesekara.js"},"ur-phonetic":{name:"صÙتÛ",source:"rules/ur/ur-phonetic.js"},"ur-transliteration":{name:"ٹراÙسÙٹرÛØ´Ù",source:"rules/ur/ur-transliteration.js"},"ipa-sil":{name:"International Phonetic Alphabet - SIL",source:"rules/fonipa/ipa-sil.js"},"ipa-x-sampa":{name:"International Phonetic Alphabet - X-SAMPA",source:"rules/fonipa/ipa-x-sampa.js"},"udm-alt":{name:"УдмÑÑÑ ALT",source:"rules/udm/udm-alt.js"},"uk-kbd":{name:"кбд",source:"rules/uk/uk-kbd.js"},"ug-k
bd":{name:"Uyghur kbd",source:"rules/ug/ug-kbd.js"},"uz-kbd":{name:"Uzbek kbd",source:"rules/uz/uz-kbd.js"},"vec-GVU":{name:"Venetian",source:"rules/vec/vec-GVU.js"}}),e.extend(e.ime.languages,{ady:{autonym:"адÑгÑбзÑ",inputmethods:["cyrl-palochka"]},ahr:{autonym:"à¤
हिराणà¥",inputmethods:["mr-transliteration","mr-inscript"]},am:{autonym:"á ááá",inputmethods:["am-transliteration"]},ar:{autonym:"اÙعربÙØ©",inputmethods:["ar-kbd"]},as:{autonym:"à¦
সমà§à¦¯à¦¼à¦¾",inputmethods:["as-transliteration","as-avro","as-bornona","as-inscript","as-phonetic","as-inscript2"]},av:{autonym:"аваÑ",inputmethods:["cyrl-palochka"]},bbc:{autonym:"Batak",inputmethods:["batak-qwerty"]},be:{autonym:"белаÑÑÑкаÑ",inputmethods:["be-transliteration","be-latin","be-kbd"]},"be-tarask":{autonym:"белаÑÑÑÐºÐ°Ñ (ÑаÑаÑкевÑÑа)",inputmethods:["be-transliteration","be-latin"]},bh:{autonym:"à¤à¥à¤à¤ªà¥à¤°à¥",inputmethods:["hi-transliteration"
]},bho:{autonym:"à¤à¥à¤à¤ªà¥à¤°à¥",inputmethods:["hi-transliteration"]},bn:{autonym:"বাà¦à¦²à¦¾",inputmethods:["bn-avro","bn-inscript","bn-nkb","bn-probhat","bn-inscript2"]},bo:{autonym:"à½à½¼à½à¼à½¡à½²à½à¼",inputmethods:["bo-ewts"]},brx:{autonym:"बà¥à¤¡à¤¼à¥",inputmethods:["brx-inscript","brx-inscript2"]},ckb:{autonym:"Ú©ÙردÛ",inputmethods:["ckb-transliteration-arkbd","ckb-transliteration-fakbd","ckb-transliteration-lakbd"]},ce:{autonym:"ноÑ
Ñийн",inputmethods:["cyrl-palochka"]},cv:{autonym:"ЧÄваÑла",inputmethods:["cv-cyr-altgr","cv-lat-altgr","cv-cyr-numbers"]},da:{autonym:"Dansk",inputmethods:["da-normforms"]},de:{autonym:"Deutsch",inputmethods:["de-transliteration"]},diq:{autonym:"Kirdkî",inputmethods:["ku-h","ku-tr"]},doi:{autonym:"डà¥à¤à¤°à¥",inputmethods:["doi-inscript2"]},en:{autonym:"English",inputmethods:["ipa-sil","ipa-x-sampa"]},el:{autonym:"Îλληνικά",inputmethods:["el-kbd"]},eo:{autonym:"Esperanto",inputmethods:[
"eo-transliteration","eo-h","eo-h-f","eo-plena","eo-q","eo-vi","eo-x"]},fa:{autonym:"ÙارسÛ",inputmethods:["fa-kbd"]},fo:{autonym:"Føroyskt",inputmethods:["fo-normforms"]},fi:{autonym:"Suomi",inputmethods:["fi-transliteration"]},lud:{autonym:"lüüdi",inputmethods:["lud-transliteration"]},gom:{autonym:"à¤à¥à¤à¤à¤£à¥",inputmethods:["hi-transliteration","hi-inscript","gom-inscript2"]},gu:{autonym:"àªà«àªàª°àª¾àª¤à«",inputmethods:["gu-transliteration","gu-inscript","gu-inscript2","gu-phonetic"]},he:{autonym:"×¢×ר×ת",inputmethods:["he-standard-2012-extonly","he-standard-2012"]},hi:{autonym:"हिनà¥à¤¦à¥",inputmethods:["hi-transliteration","hi-inscript","hi-bolnagri","hi-phonetic","hi-inscript2"]},hr:{autonym:"Hrvatski",inputmethods:["hr-kbd"]},hy:{autonym:"Õ°Õ¡ÕµÕ¥ÖÕ¥Õ¶",inputmethods:["hy-ephonetic","hy-typewriter","hy-ephoneticalt","hy-emslegacy","hy-wmslegacy"]},hne:{autonym:"à¤à¤¤à¥à¤¤à¥à¤¸à¤à¤¢à¤¼à¥",inputmethods:["hi-transliteration"]},is:{auto
nym:"Ãslenska",inputmethods:["is-normforms"]},fonipa:{autonym:"International Phonetic Alphabet",inputmethods:["ipa-sil","ipa-x-sampa"]},jv:{autonym:"ꦧꦱê¦ê¦®",inputmethods:["jv-transliteration"]},ka:{autonym:"á¥áá áá£áá ááá",inputmethods:["ka-transliteration","ka-kbd"]},kbd:{autonym:"адÑгÑÐ±Ð·Ñ (кÑÑбÑÑдеибзÑ)",inputmethods:["cyrl-palochka"]},kk:{autonym:"ÒазаÒÑа",inputmethods:["kk-kbd","kk-arabic"]},kn:{autonym:"à²à²¨à³à²¨à²¡",inputmethods:["kn-transliteration","kn-inscript","kn-kgp","kn-inscript2"]},ks:{autonym:"à¤à¥à¤¶à¥à¤° / کٲشÙر",inputmethods:["ks-inscript","ks-kbd"]},ky:{autonym:"ÐÑÑгÑз",inputmethods:["ky-cyrl-alt"]},kab:{autonym:"âµâ´°âµâ´±â´°âµ¢âµâµâµ",inputmethods:["ber-tfng"]},ku:{autonym:"Kurdî",inputmethods:["ku-h","ku-tr"]},lbe:{autonym:"лаккÑ",inputmethods:["cyrl-palochka"]},lez:{autonym:"лезги",inputmethods:["cyrl-palochka"]},lo:{autonym:"ລາວ",inputmethods:["lo-kbd"]},mai:{aut
onym:"मà¥à¤¥à¤¿à¤²à¥",inputmethods:["mai-inscript","mai-inscript2"]},mh:{autonym:"Kajin M̧ajeļ",inputmethods:["mh"]},ml:{autonym:"മലയാളà´",inputmethods:["ml-transliteration","ml-inscript","ml-inscript2"]},mn:{autonym:"Ðонгол",inputmethods:["mn-cyrl"]},mni:{autonym:"Manipuri",inputmethods:["mni-inscript2"]},mr:{autonym:"मराठà¥",inputmethods:["mr-transliteration","mr-inscript2","mr-inscript","mr-phonetic"]},my:{autonym:"áá¼ááºáá¬",inputmethods:["my-xkb"]},ne:{autonym:"नà¥à¤ªà¤¾à¤²à¥",inputmethods:["ne-transliteration","ne-inscript2","ne-inscript","ne-rom","ne-trad"]},"new":{autonym:"नà¥à¤ªà¤¾à¤² à¤à¤¾à¤·à¤¾",inputmethods:["hi-transliteration","hi-inscript"]},nb:{autonym:"Norsk (bokmÃ¥l)",inputmethods:["nb-normforms","nb-tildeforms"]},nn:{autonym:"Norsk (nynorsk)",inputmethods:["nb-normforms","nn-tildeforms"]},or:{autonym:"à¬à¬¡à¬¼à¬¿à¬",inputmethods:["or-phonetic","or-transliteration","or-inscript","or-inscript2","or-lekhani"]
},pa:{autonym:"ਪੰà¨à¨¾à¨¬à©",inputmethods:["pa-transliteration","pa-inscript","pa-phonetic","pa-inscript2","pa-jhelum"]},rif:{autonym:"âµâ´°âµâµâ´¼âµâµ",inputmethods:["ber-tfng"]},ru:{autonym:"ÑÑÑÑкий",inputmethods:["ru-jcuken","ru-kbd","ru-phonetic","ru-yawerty"]},sah:{autonym:"ÑаÑ
а ÑÑла",inputmethods:["sah-transliteration"]},sa:{autonym:"सà¤à¤¸à¥à¤à¥à¤¤",inputmethods:["sa-transliteration","sa-inscript2","sa-inscript","sa-iast"]},sat:{autonym:"सà¤à¤¤à¤¾à¤²à¥",inputmethods:["sat-inscript2"]},sd:{autonym:"सिà¤à¤§à¥",inputmethods:["sd-inscript2"]},se:{autonym:"Davvisámegiella",inputmethods:["se-normforms"]},shi:{autonym:"âµâ´°âµâµâµâµâµ",inputmethods:["ber-tfng"]},si:{autonym:"à·à·à¶à·à¶½",inputmethods:["si-singlish","si-wijesekara"]},sk:{autonym:"SlovenÄina",inputmethods:["sk-kbd"]},sr:{autonym:"СÑпÑки / srpski",inputmethods:["sr-kbd"]},sv:{autonym:"Svenska",inputmethods:["sv-normforms"]},ta:{autonym:"தமிழà¯
",inputmethods:["ta-transliteration","ta-99","ta-inscript","ta-bamini","ta-inscript2"]},tcy:{autonym:"ತà³à²³à³",inputmethods:["kn-transliteration"]},te:{autonym:"à°¤à±à°²à±à°à±",inputmethods:["te-transliteration","te-inscript","te-inscript2"]},th:{autonym:"à¹à¸à¸¢",inputmethods:["th-kedmanee","th-pattachote"]},tkr:{autonym:"ÑÓаÓÑ
на миз",inputmethods:["cyrl-palochka"]},tzm:{autonym:"âµâ´°âµâ´°âµ£âµâµâµ",inputmethods:["ber-tfng"]},udm:{autonym:"ÑдмÑÑÑ",inputmethods:["udm-alt"]},uk:{autonym:"УкÑаÑнÑÑка",inputmethods:["uk-kbd"]},ug:{autonym:"ئÛÙغÛرÚÛ / Uyghurche",inputmethods:["ug-kbd"]},ur:{autonym:"اردÙ",inputmethods:["ur-transliteration","ur-phonetic"]},uz:{autonym:"OÊ»zbekcha",inputmethods:["uz-kbd"]},vec:{autonym:"Venetian",inputmethods:["vec-GVU"]}})
+}(jQuery),function(e){function t(e,t){var n=typeof e[t];return n==C||!(n!=R||!e[t])||"unknown"==n}function n(e,t){return!(typeof e[t]!=R||!e[t])}function i(e,t){return typeof e[t]!=b}function r(e){return function(t,n){for(var i=n.length;i--;)if(!e(t,n[i]))return!1;return!0}}function s(e){return e&&S(e,w)&&O(e,E)}function o(e){return n(e,"body")?e.body:e.getElementsByTagName("body")[0]}function a(e){n(window,"console")&&t(window.console,"log")&&window.console.log(e)}function u(e,t){t?window.alert(e):a(e)}function c(e){x.initialized=!0,x.supported=!1,u("Rangy is not supported on this page in your browser. Reason: "+e,x.config.alertOnFail)}function l(e){u("Rangy warning: "+e,x.config.alertOnWarn)}function d(e){return e.message||e.description||e+""}function h(){if(!x.initialized){var e,n=!1,i=!1;t(document,"createRange")&&(e=document.createRange(),S(e,k)&&O(e,N)&&(n=!0),e.detach());var r=o(document);if(!r||"body"!=r.nodeName.toLowerCase())return c("No body element found"),void 0
;if(r&&t(r,"createTextRange")&&(e=r.createTextRange(),s(e)&&(i=!0)),!n&&!i)return c("Neither Range nor TextRange are available"),void 0;x.initialized=!0,x.features={implementsDomRange:n,implementsTextRange:i};var u,l;for(var h in j)(u=j[h])instanceof f&&u.init(u,x);for(var m=0,p=D.length;p>m;++m)try{D[m](x)}catch(g){l="Rangy init listener threw an exception. Continuing. Detail: "+d(g),a(l)}}}function m(e){e=e||window,h();for(var t=0,n=A.length;n>t;++t)A[t](e)}function f(e,t,n){this.name=e,this.dependencies=t,this.initialized=!1,this.supported=!1,this.initializer=n}function p(e,t,n,i){var r=new f(t,n,function(e){if(!e.initialized){e.initialized=!0;try{i(x,e),e.supported=!0}catch(n){var r="Module '"+t+"' failed to load: "+d(n);a(r)}}});j[t]=r}function g(){}function v(){}var y="function"==typeof e.define&&e.define.amd,R="object",C="function",b="undefined",N=["startContainer","startOffset","endContainer","endOffset","collapsed","commonAncestorContainer"],k=["setStart","setStartB
efore","setStartAfter","setEnd","setEndBefore","setEndAfter","collapse","selectNode","selectNodeContents","compareBoundaryPoints","deleteContents","extractContents","cloneContents","insertNode","surroundContents","cloneRange","toString","detach"],E=["boundingHeight","boundingLeft","boundingTop","boundingWidth","htmlText","text"],w=["collapse","compareEndPoints","duplicate","moveToElementText","parentElement","select","setEndPoint","getBoundingClientRect"],S=r(t),T=r(n),O=r(i),j={},x={version:"1.3alpha.804",initialized:!1,supported:!0,util:{isHostMethod:t,isHostObject:n,isHostProperty:i,areHostMethods:S,areHostObjects:T,areHostProperties:O,isTextRange:s,getBody:o},features:{},modules:j,config:{alertOnFail:!0,alertOnWarn:!1,preferTextRange:!1}};x.fail=c,x.warn=l,{}.hasOwnProperty?x.util.extend=function(e,t,n){var i,r;for(var s in t)t.hasOwnProperty(s)&&(i=e[s],r=t[s],n&&null!==i&&"object"==typeof i&&null!==r&&"object"==typeof r&&x.util.extend(i,r,!0),e[s]=r);return e}:c("hasOw
nProperty not supported"),function(){var e=document.createElement("div");e.appendChild(document.createElement("span"));var t,n=[].slice;try{1==n.call(e.childNodes,0)[0].nodeType&&(t=function(e){return n.call(e,0)})}catch(i){}t||(t=function(e){for(var t=[],n=0,i=e.length;i>n;++n)t[n]=e[n];return t}),x.util.toArray=t}();var _;t(document,"addEventListener")?_=function(e,t,n){e.addEventListener(t,n,!1)}:t(document,"attachEvent")?_=function(e,t,n){e.attachEvent("on"+t,n)}:c("Document does not have required addEventListener or attachEvent method"),x.util.addListener=_;var D=[];x.init=h,x.addInitListener=function(e){x.initialized?e(x):D.push(e)};var A=[];x.addCreateMissingNativeApiListener=function(e){A.push(e)},x.createMissingNativeApi=m,f.prototype={init:function(){for(var e,t,n=this.dependencies||[],i=0,r=n.length;r>i;++i){if(t=n[i],e=j[t],!(e&&e instanceof f))throw Error("required module '"+t+"' not found");if(e.init(),!e.supported)throw Error("required module '"+t+"' not suppo
rted")}this.initializer(this)},fail:function(e){throw this.initialized=!0,this.supported=!1,Error("Module '"+this.name+"' failed to load: "+e)},warn:function(e){x.warn("Module "+this.name+": "+e)},deprecationNotice:function(e,t){x.warn("DEPRECATED: "+e+" in module "+this.name+"is deprecated. Please use "+t+" instead")},createError:function(e){return Error("Error in Rangy "+this.name+" module: "+e)}},x.createModule=function(e){var t,n;2==arguments.length?(t=arguments[1],n=[]):(t=arguments[2],n=arguments[1]),p(!1,e,n,t)},x.createCoreModule=function(e,t,n){p(!0,e,t,n)},x.RangePrototype=g,x.rangePrototype=new g,x.selectionPrototype=new v;var I=!1,M=function(){I||(I=!0,x.initialized||h())};return typeof window==b?(c("No window found"),void 0):typeof document==b?(c("No document found"),void 0):(t(document,"addEventListener")&&document.addEventListener("DOMContentLoaded",M,!1),_(window,"load",M),y&&e.define(function(){return x.amd=!0,x}),e.rangy=x,void 0)}(this),rangy.createCoreMod
ule("DomUtil",[],function(e,t){function n(e){var t;return typeof e.namespaceURI==j||null===(t=e.namespaceURI)||"http://www.w3.org/1999/xhtml"==t}function i(e){var t=e.parentNode;return 1==t.nodeType?t:null}function r(e){for(var t=0;e=e.previousSibling;)++t;return t}function s(e){switch(e.nodeType){case 7:case 10:return 0;case 3:case 8:return e.length;default:return e.childNodes.length}}function o(e,t){var n,i=[];for(n=e;n;n=n.parentNode)i.push(n);for(n=t;n;n=n.parentNode)if(A(i,n))return n;return null}function a(e,t,n){for(var i=n?t:t.parentNode;i;){if(i===e)return!0;i=i.parentNode}return!1}function u(e,t){return a(e,t,!0)}function c(e,t,n){for(var i,r=n?e:e.parentNode;r;){if(i=r.parentNode,i===t)return r;r=i}return null}function l(e){var t=e.nodeType;return 3==t||4==t||8==t}function d(e){if(!e)return!1;var t=e.nodeType;return 3==t||8==t}function h(e,t){var n=t.nextSibling,i=t.parentNode;return n?i.insertBefore(e,n):i.appendChild(e),e}function m(e,t,n){var i=e.cloneNode(!1);
if(i.deleteData(0,t),e.deleteData(t,e.length-t),h(i,e),n)for(var s,o=0;s=n[o++];)s.node==e&&s.offset>t?(s.node=i,s.offset-=t):s.node==e.parentNode&&s.offset>r(e)&&++s.offset;return i}function f(e){if(9==e.nodeType)return e;if(typeof e.ownerDocument!=j)return e.ownerDocument;if(typeof e.document!=j)return e.document;if(e.parentNode)return f(e.parentNode);throw t.createError("getDocument: no document found for node")}function p(e){var n=f(e);if(typeof n.defaultView!=j)return n.defaultView;if(typeof n.parentWindow!=j)return n.parentWindow;throw t.createError("Cannot get a window object for node")}function g(e){if(typeof e.contentDocument!=j)return e.contentDocument;if(typeof e.contentWindow!=j)return e.contentWindow.document;throw t.createError("getIframeDocument: No Document object found for iframe element")}function v(e){if(typeof e.contentWindow!=j)return e.contentWindow;if(typeof e.contentDocument!=j)return e.contentDocument.defaultView;throw t.createError("getIframeWindow:
No Window object found for iframe element")}function y(e){return e&&x.isHostMethod(e,"setTimeout")&&x.isHostObject(e,"document")}function R(e,t,n){var i;if(e?x.isHostProperty(e,"nodeType")?i=1==e.nodeType&&"iframe"==e.tagName.toLowerCase()?g(e):f(e):y(e)&&(i=e.document):i=document,!i)throw t.createError(n+"(): Parameter must be a Window object or DOM node");return i}function C(e){for(var t;t=e.parentNode;)e=t;return e}function b(e,n,i,s){var a,u,l,d,h;if(e==i)return n===s?0:s>n?-1:1;if(a=c(i,e,!0))return r(a)>=n?-1:1;if(a=c(e,i,!0))return s>r(a)?-1:1;if(u=o(e,i),!u)throw Error("comparePoints error: nodes have no common ancestor");if(l=e===u?u:c(e,u,!0),d=i===u?u:c(i,u,!0),l===d)throw t.createError("comparePoints got to case 4 and childA and childB are the same!");for(h=u.firstChild;h;){if(h===l)return-1;if(h===d)return 1;h=h.nextSibling}}function N(e){try{return e.parentNode,!1}catch(t){return!0}}function k(e){if(!e)return"[No node]";if(I&&N(e))return"[Broken node]";if(l(e)
)return'"'+e.data+'"';if(1==e.nodeType){var t=e.id?' id="'+e.id+'"':"";return"<"+e.nodeName+t+">["+r(e)+"]["+e.childNodes.length+"]["+(e.innerHTML||"[innerHTML not supported]").slice(0,25)+"]"}return e.nodeName}function E(e){for(var t,n=f(e).createDocumentFragment();t=e.firstChild;)n.appendChild(t);return n}function w(e){this.root=e,this._next=e}function S(e){return new w(e)}function T(e,t){this.node=e,this.offset=t}function O(e){this.code=this[e],this.codeName=e,this.message="DOMException: "+this.codeName}var j="undefined",x=e.util;x.areHostMethods(document,["createDocumentFragment","createElement","createTextNode"])||t.fail("document missing a Node creation method"),x.isHostMethod(document,"getElementsByTagName")||t.fail("document missing getElementsByTagName method");var _=document.createElement("div");x.areHostMethods(_,["insertBefore","appendChild","cloneNode"]||!x.areHostObjects(_,["previousSibling","nextSibling","childNodes","parentNode"]))||t.fail("Incomplete Element
implementation"),x.isHostProperty(_,"innerHTML")||t.fail("Element is missing innerHTML property");var D=document.createTextNode("test");x.areHostMethods(D,["splitText","deleteData","insertData","appendData","cloneNode"]||!x.areHostObjects(_,["previousSibling","nextSibling","childNodes","parentNode"])||!x.areHostProperties(D,["data"]))||t.fail("Incomplete Text Node implementation");var A=function(e,t){for(var n=e.length;n--;)if(e[n]===t)return!0;return!1},I=!1;(function(){var t=document.createElement("b");t.innerHTML="1";var n=t.firstChild;t.innerHTML="<br>",I=N(n),e.features.crashyTextNodes=I})();var M;typeof window.getComputedStyle!=j?M=function(e,t){return p(e).getComputedStyle(e,null)[t]}:typeof document.documentElement.currentStyle!=j?M=function(e,t){return e.currentStyle[t]}:t.fail("No means of obtaining computed style properties found"),w.prototype={_current:null,hasNext:function(){return!!this._next},next:function(){var e,t,n=this._current=this._next;if(this._current
)if(e=n.firstChild)this._next=e;else{for(t=null;n!==this.root&&!(t=n.nextSibling);)n=n.parentNode;this._next=t}return this._current},detach:function(){this._current=this._next=this.root=null}},T.prototype={equals:function(e){return!!e&&this.node===e.node&&this.offset==e.offset},inspect:function(){return"[DomPosition("+k(this.node)+":"+this.offset+")]"},toString:function(){return this.inspect()}},O.prototype={INDEX_SIZE_ERR:1,HIERARCHY_REQUEST_ERR:3,WRONG_DOCUMENT_ERR:4,NO_MODIFICATION_ALLOWED_ERR:7,NOT_FOUND_ERR:8,NOT_SUPPORTED_ERR:9,INVALID_STATE_ERR:11},O.prototype.toString=function(){return this.message},e.dom={arrayContains:A,isHtmlNamespace:n,parentElement:i,getNodeIndex:r,getNodeLength:s,getCommonAncestor:o,isAncestorOf:a,isOrIsAncestorOf:u,getClosestAncestorIn:c,isCharacterDataNode:l,isTextOrCommentNode:d,insertAfter:h,splitDataNode:m,getDocument:f,getWindow:p,getIframeWindow:v,getIframeDocument:g,getBody:x.getBody,isWindow:y,getContentDocument:R,getRootContainer:C,co
mparePoints:b,isBrokenNode:N,inspectNode:k,getComputedStyleProperty:M,fragmentFromNodeChildren:E,createIterator:S,DomPosition:T},e.DOMException=O}),rangy.createCoreModule("DomRange",["DomUtil"],function(e){function t(e,t){return 3!=e.nodeType&&(F(e,t.startContainer)||F(e,t.endContainer))}function n(e){return e.document||z(e.startContainer)}function i(e){return new L(e.parentNode,W(e))}function r(e){return new L(e.parentNode,W(e)+1)}function s(e,t,n){var i=11==e.nodeType?e.firstChild:e;return B(t)?n==t.length?P.insertAfter(e,t):t.parentNode.insertBefore(e,0==n?t:q(t,n)):n>=t.childNodes.length?t.appendChild(e):t.insertBefore(e,t.childNodes[n]),i}function o(e,t,i){if(S(e),S(t),n(t)!=n(e))throw new H("WRONG_DOCUMENT_ERR");var r=U(e.startContainer,e.startOffset,t.endContainer,t.endOffset),s=U(e.endContainer,e.endOffset,t.startContainer,t.startOffset);return i?0>=r&&s>=0:0>r&&s>0}function a(e){for(var t,i,r,s=n(e.range).createDocumentFragment();i=e.next();){if(t=e.isPartiallySelec
tedSubtree(),i=i.cloneNode(!t),t&&(r=e.getSubtreeIterator(),i.appendChild(a(r)),r.detach(!0)),10==i.nodeType)throw new H("HIERARCHY_REQUEST_ERR");s.appendChild(i)}return s}function u(e,t,n){var i,r;n=n||{stop:!1};for(var s,o;s=e.next();)if(e.isPartiallySelectedSubtree()){if(t(s)===!1)return n.stop=!0,void 0;if(o=e.getSubtreeIterator(),u(o,t,n),o.detach(!0),n.stop)return}else for(i=P.createIterator(s);r=i.next();)if(t(r)===!1)return n.stop=!0,void 0}function c(e){for(var t;e.next();)e.isPartiallySelectedSubtree()?(t=e.getSubtreeIterator(),c(t),t.detach(!0)):e.remove()}function l(e){for(var t,i,r=n(e.range).createDocumentFragment();t=e.next();){if(e.isPartiallySelectedSubtree()?(t=t.cloneNode(!1),i=e.getSubtreeIterator(),t.appendChild(l(i)),i.detach(!0)):e.remove(),10==t.nodeType)throw new H("HIERARCHY_REQUEST_ERR");r.appendChild(t)}return r}function d(e,t,n){var i,r=!(!t||!t.length),s=!!n;r&&(i=RegExp("^("+t.join("|")+")$"));var o=[];return u(new m(e,!1),function(t){if(!(r&&!
i.test(t.nodeType)||s&&!n(t))){var a=e.startContainer;if(t!=a||!B(a)||e.startOffset!=a.length){var u=e.endContainer;t==u&&B(u)&&0==e.endOffset||o.push(t)}}}),o}function h(e){var t=e.getName===void 0?"Range":e.getName();return"["+t+"("+P.inspectNode(e.startContainer)+":"+e.startOffset+", "+P.inspectNode(e.endContainer)+":"+e.endOffset+")]"}function m(e,t){if(this.range=e,this.clonePartiallySelectedTextNodes=t,!e.collapsed){this.sc=e.startContainer,this.so=e.startOffset,this.ec=e.endContainer,this.eo=e.endOffset;var n=e.commonAncestorContainer;this.sc===this.ec&&B(this.sc)?(this.isSingleCharacterDataNode=!0,this._first=this._last=this._next=this.sc):(this._first=this._next=this.sc!==n||B(this.sc)?V(this.sc,n,!0):this.sc.childNodes[this.so],this._last=this.ec!==n||B(this.ec)?V(this.ec,n,!0):this.ec.childNodes[this.eo-1])}}function f(e){this.code=this[e],this.codeName=e,this.message="RangeException: "+this.codeName}function p(e){return function(t,n){for(var i,r=n?t:t.parentNode;
r;){if(i=r.nodeType,G(e,i))return r;r=r.parentNode}return null}}function g(e,t){if(rt(e,t))throw new f("INVALID_NODE_TYPE_ERR")}function v(e){if(!e.startContainer)throw new H("INVALID_STATE_ERR")}function y(e,t){if(!G(t,e.nodeType))throw new f("INVALID_NODE_TYPE_ERR")}function R(e,t){if(0>t||t>(B(e)?e.length:e.childNodes.length))throw new H("INDEX_SIZE_ERR")}function C(e,t){if(nt(e,!0)!==nt(t,!0))throw new H("WRONG_DOCUMENT_ERR")}function b(e){if(it(e,!0))throw new H("NO_MODIFICATION_ALLOWED_ERR")}function N(e,t){if(!e)throw new H(t)}function k(e){return Q&&P.isBrokenNode(e)||!G(Z,e.nodeType)&&!nt(e,!0)}function E(e,t){return(B(e)?e.length:e.childNodes.length)>=t}function w(e){return!!e.startContainer&&!!e.endContainer&&!k(e.startContainer)&&!k(e.endContainer)&&E(e.startContainer,e.startOffset)&&E(e.endContainer,e.endOffset)}function S(e){if(v(e),!w(e))throw Error("Range error: Range is no longer valid after DOM mutation ("+e.inspect()+")")}function T(e,t){S(e);var n=e.start
Container,i=e.startOffset,r=e.endContainer,s=e.endOffset,o=n===r;B(r)&&s>0&&r.length>s&&q(r,s,t),B(n)&&i>0&&n.length>i&&(n=q(n,i,t),o?(s-=i,r=n):r==n.parentNode&&s>=W(n)&&s++,i=0),e.setStartAndEnd(n,i,r,s)}function O(e){e.START_TO_START=lt,e.START_TO_END=dt,e.END_TO_END=ht,e.END_TO_START=mt,e.NODE_BEFORE=ft,e.NODE_AFTER=pt,e.NODE_BEFORE_AND_AFTER=gt,e.NODE_INSIDE=vt}function j(e){O(e),O(e.prototype)}function x(e,t){return function(){S(this);var n,i,s=this.startContainer,o=this.startOffset,a=this.commonAncestorContainer,c=new m(this,!0);s!==a&&(n=V(s,a,!0),i=r(n),s=i.node,o=i.offset),u(c,b),c.reset();var l=e(c);return c.detach(),t(this,s,o,s,o),l}}function _(n,s,o){function a(e,t){return function(n){v(this),y(n,X),y(Y(n),Z);var s=(e?i:r)(n);(t?u:d)(this,s.node,s.offset)}}function u(e,t,n){var i=e.endContainer,r=e.endOffset;(t!==e.startContainer||n!==e.startOffset)&&((Y(t)!=Y(i)||1==U(t,n,i,r))&&(i=t,r=n),s(e,t,n,i,r))}function d(e,t,n){var i=e.startContainer,r=e.startOffset;(
t!==e.endContainer||n!==e.endOffset)&&((Y(t)!=Y(i)||-1==U(t,n,i,r))&&(i=t,r=n),s(e,i,r,t,n))}var h=function(){};h.prototype=e.rangePrototype,n.prototype=new h,$.extend(n.prototype,{setStart:function(e,t){v(this),g(e,!0),R(e,t),u(this,e,t)},setEnd:function(e,t){v(this),g(e,!0),R(e,t),d(this,e,t)},setStartAndEnd:function(){v(this);var e=arguments,t=e[0],n=e[1],i=t,r=n;switch(e.length){case 3:r=e[2];break;case 4:i=e[2],r=e[3]}s(this,t,n,i,r)},setBoundary:function(e,t,n){this["set"+(n?"Start":"End")](e,t)},setStartBefore:a(!0,!0),setStartAfter:a(!1,!0),setEndBefore:a(!0,!1),setEndAfter:a(!1,!1),collapse:function(e){S(this),e?s(this,this.startContainer,this.startOffset,this.startContainer,this.startOffset):s(this,this.endContainer,this.endOffset,this.endContainer,this.endOffset)},selectNodeContents:function(e){v(this),g(e,!0),s(this,e,0,e,K(e))},selectNode:function(e){v(this),g(e,!1),y(e,X);var t=i(e),n=r(e);s(this,t.node,t.offset,n.node,n.offset)},extractContents:x(l,s),deleteCo
ntents:x(c,s),canSurroundContents:function(){S(this),b(this.startContainer),b(this.endContainer);var e=new m(this,!0),n=e._first&&t(e._first,this)||e._last&&t(e._last,this);return e.detach(),!n},detach:function(){o(this)},splitBoundaries:function(){T(this)},splitBoundariesPreservingPositions:function(e){T(this,e)},normalizeBoundaries:function(){S(this);var e=this.startContainer,t=this.startOffset,n=this.endContainer,i=this.endOffset,r=function(e){var t=e.nextSibling;t&&t.nodeType==e.nodeType&&(n=e,i=e.length,e.appendData(t.data),t.parentNode.removeChild(t))},o=function(r){var s=r.previousSibling;if(s&&s.nodeType==r.nodeType){e=r;var o=r.length;if(t=s.length,r.insertData(0,s.data),s.parentNode.removeChild(s),e==n)i+=t,n=e;else if(n==r.parentNode){var a=W(r);i==a?(n=r,i=o):i>a&&i--}}},a=!0;if(B(n))n.length==i&&r(n);else{if(i>0){var u=n.childNodes[i-1];u&&B(u)&&r(u)}a=!this.collapsed}if(a){if(B(e))0==t&&o(e);else if(e.childNodes.length>t){var c=e.childNodes[t];c&&B(c)&&o(c)}}el
se e=n,t=i;s(this,e,t,n,i)},collapseToPoint:function(e,t){v(this),g(e,!0),R(e,t),this.setStartAndEnd(e,t)}}),j(n)}function D(e){e.collapsed=e.startContainer===e.endContainer&&e.startOffset===e.endOffset,e.commonAncestorContainer=e.collapsed?e.startContainer:P.getCommonAncestor(e.startContainer,e.endContainer)}function A(e,t,n,i,r){e.startContainer=t,e.startOffset=n,e.endContainer=i,e.endOffset=r,e.document=P.getDocument(t),D(e)}function I(e){v(e),e.startContainer=e.startOffset=e.endContainer=e.endOffset=e.document=null,e.collapsed=e.commonAncestorContainer=null}function M(e){this.startContainer=e,this.startOffset=0,this.endContainer=e,this.endOffset=0,this.document=e,D(this)}var P=e.dom,$=e.util,L=P.DomPosition,H=e.DOMException,B=P.isCharacterDataNode,W=P.getNodeIndex,F=P.isOrIsAncestorOf,z=P.getDocument,U=P.comparePoints,q=P.splitDataNode,V=P.getClosestAncestorIn,K=P.getNodeLength,G=P.arrayContains,Y=P.getRootContainer,Q=e.features.crashyTextNodes;m.prototype={_current:null
,_next:null,_first:null,_last:null,isSingleCharacterDataNode:!1,reset:function(){this._current=null,this._next=this._first},hasNext:function(){return!!this._next},next:function(){var e=this._current=this._next;return e&&(this._next=e!==this._last?e.nextSibling:null,B(e)&&this.clonePartiallySelectedTextNodes&&(e===this.ec&&(e=e.cloneNode(!0)).deleteData(this.eo,e.length-this.eo),this._current===this.sc&&(e=e.cloneNode(!0)).deleteData(0,this.so))),e},remove:function(){var e,t,n=this._current;!B(n)||n!==this.sc&&n!==this.ec?n.parentNode&&n.parentNode.removeChild(n):(e=n===this.sc?this.so:0,t=n===this.ec?this.eo:n.length,e!=t&&n.deleteData(e,t-e))},isPartiallySelectedSubtree:function(){var e=this._current;return t(e,this.range)},getSubtreeIterator:function(){var e;if(this.isSingleCharacterDataNode)e=this.range.cloneRange(),e.collapse(!1);else{e=new M(n(this.range));var t=this._current,i=t,r=0,s=t,o=K(t);F(t,this.sc)&&(i=this.sc,r=this.so),F(t,this.ec)&&(s=this.ec,o=this.eo),A(e,
i,r,s,o)}return new m(e,this.clonePartiallySelectedTextNodes)},detach:function(e){e&&this.range.detach(),this.range=this._current=this._next=this._first=this._last=this.sc=this.so=this.ec=this.eo=null}},f.prototype={BAD_BOUNDARYPOINTS_ERR:1,INVALID_NODE_TYPE_ERR:2},f.prototype.toString=function(){return this.message};var X=[1,3,4,5,7,8,10],Z=[2,9,11],J=[5,6,10,12],et=[1,3,4,5,7,8,10,11],tt=[1,3,4,5,7,8],nt=p([9,11]),it=p(J),rt=p([6,10,12]),st=document.createElement("style"),ot=!1;try{st.innerHTML="<b>x</b>",ot=3==st.firstChild.nodeType}catch(at){}e.features.htmlParsingConforms=ot;var ut=ot?function(e){var t=this.startContainer,n=z(t);if(!t)throw new H("INVALID_STATE_ERR");var i=null;return 1==t.nodeType?i=t:B(t)&&(i=P.parentElement(t)),i=null===i||"HTML"==i.nodeName&&P.isHtmlNamespace(z(i).documentElement)&&P.isHtmlNamespace(i)?n.createElement("body"):i.cloneNode(!1),i.innerHTML=e,P.fragmentFromNodeChildren(i)}:function(e){v(this);var t=n(this),i=t.createElement("body");retu
rn i.innerHTML=e,P.fragmentFromNodeChildren(i)},ct=["startContainer","startOffset","endContainer","endOffset","collapsed","commonAncestorContainer"],lt=0,dt=1,ht=2,mt=3,ft=0,pt=1,gt=2,vt=3;$.extend(e.rangePrototype,{compareBoundaryPoints:function(e,t){S(this),C(this.startContainer,t.startContainer);var n,i,r,s,o=e==mt||e==lt?"start":"end",a=e==dt||e==lt?"start":"end";return n=this[o+"Container"],i=this[o+"Offset"],r=t[a+"Container"],s=t[a+"Offset"],U(n,i,r,s)},insertNode:function(e){if(S(this),y(e,et),b(this.startContainer),F(e,this.startContainer))throw new H("HIERARCHY_REQUEST_ERR");var t=s(e,this.startContainer,this.startOffset);this.setStartBefore(t)},cloneContents:function(){S(this);var e,t;if(this.collapsed)return n(this).createDocumentFragment();if(this.startContainer===this.endContainer&&B(this.startContainer))return e=this.startContainer.cloneNode(!0),e.data=e.data.slice(this.startOffset,this.endOffset),t=n(this).createDocumentFragment(),t.appendChild(e),t;var i=new
m(this,!0);return e=a(i),i.detach(),e},canSurroundContents:function(){S(this),b(this.startContainer),b(this.endContainer);var e=new m(this,!0),n=e._first&&t(e._first,this)||e._last&&t(e._last,this);return e.detach(),!n},surroundContents:function(e){if(y(e,tt),!this.canSurroundContents())throw new f("BAD_BOUNDARYPOINTS_ERR");var t=this.extractContents();if(e.hasChildNodes())for(;e.lastChild;)e.removeChild(e.lastChild);s(e,this.startContainer,this.startOffset),e.appendChild(t),this.selectNode(e)},cloneRange:function(){S(this);for(var e,t=new M(n(this)),i=ct.length;i--;)e=ct[i],t[e]=this[e];return t},toString:function(){S(this);var e=this.startContainer;if(e===this.endContainer&&B(e))return 3==e.nodeType||4==e.nodeType?e.data.slice(this.startOffset,this.endOffset):"";var t=[],n=new m(this,!0);return u(n,function(e){(3==e.nodeType||4==e.nodeType)&&t.push(e.data)}),n.detach(),t.join("")},compareNode:function(e){S(this);var t=e.parentNode,n=W(e);if(!t)throw new H("NOT_FOUND_ERR")
;var i=this.comparePoint(t,n),r=this.comparePoint(t,n+1);return 0>i?r>0?gt:ft:r>0?pt:vt},comparePoint:function(e,t){return S(this),N(e,"HIERARCHY_REQUEST_ERR"),C(e,this.startContainer),0>U(e,t,this.startContainer,this.startOffset)?-1:U(e,t,this.endContainer,this.endOffset)>0?1:0},createContextualFragment:ut,toHtml:function(){S(this);var e=this.commonAncestorContainer.parentNode.cloneNode(!1);return e.appendChild(this.cloneContents()),e.innerHTML},intersectsNode:function(e,t){if(S(this),N(e,"NOT_FOUND_ERR"),z(e)!==n(this))return!1;var i=e.parentNode,r=W(e);N(i,"NOT_FOUND_ERR");var s=U(i,r,this.endContainer,this.endOffset),o=U(i,r+1,this.startContainer,this.startOffset);return t?0>=s&&o>=0:0>s&&o>0},isPointInRange:function(e,t){return S(this),N(e,"HIERARCHY_REQUEST_ERR"),C(e,this.startContainer),U(e,t,this.startContainer,this.startOffset)>=0&&0>=U(e,t,this.endContainer,this.endOffset)},intersectsRange:function(e){return o(this,e,!1)},intersectsOrTouchesRange:function(e){return
o(this,e,!0)},intersection:function(e){if(this.intersectsRange(e)){var t=U(this.startContainer,this.startOffset,e.startContainer,e.startOffset),n=U(this.endContainer,this.endOffset,e.endContainer,e.endOffset),i=this.cloneRange();return-1==t&&i.setStart(e.startContainer,e.startOffset),1==n&&i.setEnd(e.endContainer,e.endOffset),i}return null},union:function(e){if(this.intersectsOrTouchesRange(e)){var t=this.cloneRange();return-1==U(e.startContainer,e.startOffset,this.startContainer,this.startOffset)&&t.setStart(e.startContainer,e.startOffset),1==U(e.endContainer,e.endOffset,this.endContainer,this.endOffset)&&t.setEnd(e.endContainer,e.endOffset),t}throw new f("Ranges do not intersect")},containsNode:function(e,t){return t?this.intersectsNode(e,!1):this.compareNode(e)==vt},containsNodeContents:function(e){return this.comparePoint(e,0)>=0&&0>=this.comparePoint(e,K(e))},containsRange:function(e){var t=this.intersection(e);return null!==t&&e.equals(t)},containsNodeText:function(e)
{var t=this.cloneRange();t.selectNode(e);var n=t.getNodes([3]);if(n.length>0){t.setStart(n[0],0);var i=n.pop();t.setEnd(i,i.length);var r=this.containsRange(t);return t.detach(),r}return this.containsNodeContents(e)},getNodes:function(e,t){return S(this),d(this,e,t)},getDocument:function(){return n(this)},collapseBefore:function(e){v(this),this.setEndBefore(e),this.collapse(!1)},collapseAfter:function(e){v(this),this.setStartAfter(e),this.collapse(!0)},getBookmark:function(t){var i=n(this),r=e.createRange(i);t=t||P.getBody(i),r.selectNodeContents(t);var s=this.intersection(r),o=0,a=0;return s&&(r.setEnd(s.startContainer,s.startOffset),o=(""+r).length,a=o+(""+s).length,r.detach()),{start:o,end:a,containerNode:t}},moveToBookmark:function(e){var t=e.containerNode,n=0;this.setStart(t,0),this.collapse(!0);for(var i,r,s,o,a=[t],u=!1,c=!1;!c&&(i=a.pop());)if(3==i.nodeType)r=n+i.length,!u&&e.start>=n&&r>=e.start&&(this.setStart(i,e.start-n),u=!0),u&&e.end>=n&&r>=e.end&&(this.setEnd(
i,e.end-n),c=!0),n=r;else for(o=i.childNodes,s=o.length;s--;)a.push(o[s])},getName:function(){return"DomRange"},equals:function(e){return M.rangesEqual(this,e)},isValid:function(){return w(this)},inspect:function(){return h(this)}}),_(M,A,I),$.extend(M,{rangeProperties:ct,RangeIterator:m,copyComparisonConstants:j,createPrototypeRange:_,inspect:h,getRangeDocument:n,rangesEqual:function(e,t){return e.startContainer===t.startContainer&&e.startOffset===t.startOffset&&e.endContainer===t.endContainer&&e.endOffset===t.endOffset}}),e.DomRange=M,e.RangeException=f}),rangy.createCoreModule("WrappedRange",["DomRange"],function(e,t){var n,i,r=e.dom,s=e.util,o=r.DomPosition,a=e.DomRange,u=r.getBody,c=r.getContentDocument,l=r.isCharacterDataNode;if(e.features.implementsDomRange&&function(){function i(e){for(var t,n=m.length;n--;)t=m[n],e[t]=e.nativeRange[t];e.collapsed=e.startContainer===e.endContainer&&e.startOffset===e.endOffset}function o(e,t,n,i,r){var s=e.startContainer!==t||e.startO
ffset!=n,o=e.endContainer!==i||e.endOffset!=r,a=!e.equals(e.nativeRange);(s||o||a)&&(e.setEnd(i,r),e.setStart(t,n))}function l(e){e.nativeRange.detach(),e.detached=!0;for(var t=m.length;t--;)e[m[t]]=null}var d,h,m=a.rangeProperties;n=function(e){if(!e)throw t.createError("WrappedRange: Range must be specified");this.nativeRange=e,i(this)},a.createPrototypeRange(n,o,l),d=n.prototype,d.selectNode=function(e){this.nativeRange.selectNode(e),i(this)},d.cloneContents=function(){return this.nativeRange.cloneContents()},d.surroundContents=function(e){this.nativeRange.surroundContents(e),i(this)},d.collapse=function(e){this.nativeRange.collapse(e),i(this)},d.cloneRange=function(){return new n(this.nativeRange.cloneRange())},d.refresh=function(){i(this)},d.toString=function(){return""+this.nativeRange};var f=document.createTextNode("test");u(document).appendChild(f);var p=document.createRange();p.setStart(f,0),p.setEnd(f,0);try{p.setStart(f,1),d.setStart=function(e,t){this.nativeRange
.setStart(e,t),i(this)},d.setEnd=function(e,t){this.nativeRange.setEnd(e,t),i(this)},h=function(e){return function(t){this.nativeRange[e](t),i(this)}}}catch(g){d.setStart=function(e,t){try{this.nativeRange.setStart(e,t)}catch(n){this.nativeRange.setEnd(e,t),this.nativeRange.setStart(e,t)}i(this)},d.setEnd=function(e,t){try{this.nativeRange.setEnd(e,t)}catch(n){this.nativeRange.setStart(e,t),this.nativeRange.setEnd(e,t)}i(this)},h=function(e,t){return function(n){try{this.nativeRange[e](n)}catch(r){this.nativeRange[t](n),this.nativeRange[e](n)}i(this)}}}d.setStartBefore=h("setStartBefore","setEndBefore"),d.setStartAfter=h("setStartAfter","setEndAfter"),d.setEndBefore=h("setEndBefore","setStartBefore"),d.setEndAfter=h("setEndAfter","setStartAfter"),d.selectNodeContents=function(e){this.setStartAndEnd(e,0,r.getNodeLength(e))},p.selectNodeContents(f),p.setEnd(f,3);var v=document.createRange();v.selectNodeContents(f),v.setEnd(f,4),v.setStart(f,2),d.compareBoundaryPoints=-1==p.com
pareBoundaryPoints(p.START_TO_END,v)&&1==p.compareBoundaryPoints(p.END_TO_START,v)?function(e,t){return t=t.nativeRange||t,e==t.START_TO_END?e=t.END_TO_START:e==t.END_TO_START&&(e=t.START_TO_END),this.nativeRange.compareBoundaryPoints(e,t)}:function(e,t){return this.nativeRange.compareBoundaryPoints(e,t.nativeRange||t)};var y=document.createElement("div");y.innerHTML="123";var R=y.firstChild,C=u(document);C.appendChild(y),p.setStart(R,1),p.setEnd(R,2),p.deleteContents(),"13"==R.data&&(d.deleteContents=function(){this.nativeRange.deleteContents(),i(this)},d.extractContents=function(){var e=this.nativeRange.extractContents();return i(this),e}),C.removeChild(y),C=null,s.isHostMethod(p,"createContextualFragment")&&(d.createContextualFragment=function(e){return this.nativeRange.createContextualFragment(e)}),u(document).removeChild(f),p.detach(),v.detach(),d.getName=function(){return"WrappedRange"},e.WrappedRange=n,e.createNativeRange=function(e){return e=c(e,t,"createNativeRange"
),e.createRange()}}(),e.features.implementsTextRange){var d=function(e){var t=e.parentElement(),n=e.duplicate();n.collapse(!0);var i=n.parentElement();n=e.duplicate(),n.collapse(!1);var s=n.parentElement(),o=i==s?i:r.getCommonAncestor(i,s);return o==t?o:r.getCommonAncestor(t,o)},h=function(e){return 0==e.compareEndPoints("StartToEnd",e)},m=function(e,t,n,i,s){var a=e.duplicate();a.collapse(n);var u=a.parentElement();if(r.isOrIsAncestorOf(t,u)||(u=t),!u.canHaveHTML){var c=new o(u.parentNode,r.getNodeIndex(u));return{boundaryPosition:c,nodeInfo:{nodeIndex:c.offset,containerElement:c.node}}}var d=r.getDocument(u).createElement("span");d.parentNode&&d.parentNode.removeChild(d);for(var h,m,f,p,g,v=n?"StartToStart":"StartToEnd",y=s&&s.containerElement==u?s.nodeIndex:0,R=u.childNodes.length,C=R,b=C;;){if(b==R?u.appendChild(d):u.insertBefore(d,u.childNodes[b]),a.moveToElementText(d),h=a.compareEndPoints(v,e),0==h||y==C)break;if(-1==h){if(C==y+1)break;y=b}else C=C==y+1?y:b;b=Math.flo
or((y+C)/2),u.removeChild(d)}if(g=d.nextSibling,-1==h&&g&&l(g)){a.setEndPoint(n?"EndToStart":"EndToEnd",e);var N;if(/[\r\n]/.test(g.data)){var k=a.duplicate(),E=k.text.replace(/\r\n/g,"\r").length;for(N=k.moveStart("character",E);-1==(h=k.compareEndPoints("StartToEnd",k));)N++,k.moveStart("character",1)}else N=a.text.length;p=new o(g,N)}else m=(i||!n)&&d.previousSibling,f=(i||n)&&d.nextSibling,p=f&&l(f)?new o(f,0):m&&l(m)?new o(m,m.data.length):new o(u,r.getNodeIndex(d));return d.parentNode.removeChild(d),{boundaryPosition:p,nodeInfo:{nodeIndex:b,containerElement:u}}},f=function(e,t){var n,i,s,o,a=e.offset,c=r.getDocument(e.node),d=u(c).createTextRange(),h=l(e.node);return h?(n=e.node,i=n.parentNode):(o=e.node.childNodes,n=o.length>a?o[a]:null,i=e.node),s=c.createElement("span"),s.innerHTML="&#feff;",n?i.insertBefore(s,n):i.appendChild(s),d.moveToElementText(s),d.collapse(!t),i.removeChild(s),h&&d[t?"moveStart":"moveEnd"]("character",a),d};if(i=function(e){this.textRange=e,t
his.refresh()},i.prototype=new a(document),i.prototype.refresh=function(){var e,t,n,i=d(this.textRange);h(this.textRange)?t=e=m(this.textRange,i,!0,!0).boundaryPosition:(n=m(this.textRange,i,!0,!1),e=n.boundaryPosition,t=m(this.textRange,i,!1,!1,n.nodeInfo).boundaryPosition),this.setStart(e.node,e.offset),this.setEnd(t.node,t.offset)},i.prototype.getName=function(){return"WrappedTextRange"
+},a.copyComparisonConstants(i),i.rangeToTextRange=function(e){if(e.collapsed)return f(new o(e.startContainer,e.startOffset),!0);var t=f(new o(e.startContainer,e.startOffset),!0),n=f(new o(e.endContainer,e.endOffset),!1),i=u(a.getRangeDocument(e)).createTextRange();return i.setEndPoint("StartToStart",t),i.setEndPoint("EndToEnd",n),i},e.WrappedTextRange=i,!e.features.implementsDomRange||e.config.preferTextRange){var p=function(){return this}();p.Range===void 0&&(p.Range=i),e.createNativeRange=function(e){return e=c(e,t,"createNativeRange"),u(e).createTextRange()},e.WrappedRange=i}}e.createRange=function(n){return n=c(n,t,"createRange"),new e.WrappedRange(e.createNativeRange(n))},e.createRangyRange=function(e){return e=c(e,t,"createRangyRange"),new a(e)},e.createIframeRange=function(n){return t.deprecationNotice("createIframeRange()","createRange(iframeEl)"),e.createRange(n)},e.createIframeRangyRange=function(n){return t.deprecationNotice("createIframeRangyRange()","createRangy
Range(iframeEl)"),e.createRangyRange(n)},e.addCreateMissingNativeApiListener(function(t){var n=t.document;n.createRange===void 0&&(n.createRange=function(){return e.createRange(n)}),n=t=null})}),rangy.createCoreModule("WrappedSelection",["DomRange","WrappedRange"],function(e,t){function n(e){return"string"==typeof e?/^backward(s)?$/i.test(e):!!e}function i(e,n){if(e){if(O.isWindow(e))return e;if(e instanceof v)return e.win;var i=O.getContentDocument(e,t,n);return O.getWindow(i)}return window}function r(e){return i(e,"getWinSelection").getSelection()}function s(e){return i(e,"getDocSelection").document.selection}function o(e){var t=!1;return e.anchorNode&&(t=1==O.comparePoints(e.anchorNode,e.anchorOffset,e.focusNode,e.focusOffset)),t}function a(e,t,n){var i=n?"end":"start",r=n?"start":"end";e.anchorNode=t[i+"Container"],e.anchorOffset=t[i+"Offset"],e.focusNode=t[r+"Container"],e.focusOffset=t[r+"Offset"]}function u(e){var t=e.nativeSelection;e.anchorNode=t.anchorNode,e.anchor
Offset=t.anchorOffset,e.focusNode=t.focusNode,e.focusOffset=t.focusOffset}function c(e){e.anchorNode=e.focusNode=null,e.anchorOffset=e.focusOffset=0,e.rangeCount=0,e.isCollapsed=!0,e._ranges.length=0}function l(t){var n;return t instanceof _?(n=e.createNativeRange(t.getDocument()),n.setEnd(t.endContainer,t.endOffset),n.setStart(t.startContainer,t.startOffset)):t instanceof D?n=t.nativeRange:M.implementsDomRange&&t instanceof O.getWindow(t.startContainer).Range&&(n=t),n}function d(e){if(!e.length||1!=e[0].nodeType)return!1;for(var t=1,n=e.length;n>t;++t)if(!O.isAncestorOf(e[0],e[t]))return!1;return!0}function h(e){var n=e.getNodes();if(!d(n))throw t.createError("getSingleElementFromRange: range "+e.inspect()+" did not consist of a single element");return n[0]}function m(e){return!!e&&e.text!==void 0}function f(e,t){var n=new D(t);e._ranges=[n],a(e,n,!1),e.rangeCount=1,e.isCollapsed=n.collapsed}function p(t){if(t._ranges.length=0,"None"==t.docSelection.type)c(t);else{var n=t.d
ocSelection.createRange();if(m(n))f(t,n);else{t.rangeCount=n.length;for(var i,r=$(n.item(0)),s=0;t.rangeCount>s;++s)i=e.createRange(r),i.selectNode(n.item(s)),t._ranges.push(i);t.isCollapsed=1==t.rangeCount&&t._ranges[0].collapsed,a(t,t._ranges[t.rangeCount-1],!1)}}}function g(e,n){for(var i=e.docSelection.createRange(),r=h(n),s=$(i.item(0)),o=L(s).createControlRange(),a=0,u=i.length;u>a;++a)o.add(i.item(a));try{o.add(r)}catch(c){throw t.createError("addRange(): Element within the specified Range could not be added to control selection (does it have layout?)")}o.select(),p(e)}function v(e,t,n){this.nativeSelection=e,this.docSelection=t,this._ranges=[],this.win=n,this.refresh()}function y(e){e.win=e.anchorNode=e.focusNode=e._ranges=null,e.rangeCount=e.anchorOffset=e.focusOffset=0,e.detached=!0}function R(e,t){for(var n,i,r=tt.length;r--;)if(n=tt[r],i=n.selection,"deleteAll"==t)y(i);else if(n.win==e)return"delete"==t?(tt.splice(r,1),!0):i;return"deleteAll"==t&&(tt.length=0),nu
ll}function C(e,n){for(var i,r=$(n[0].startContainer),s=L(r).createControlRange(),o=0,a=n.length;a>o;++o){i=h(n[o]);try{s.add(i)}catch(u){throw t.createError("setRanges(): Element within one of the specified Ranges could not be added to control selection (does it have layout?)")}}s.select(),p(e)}function b(e,t){if(e.win.document!=$(t))throw new A("WRONG_DOCUMENT_ERR")}function N(t){return function(n,i){var r;this.rangeCount?(r=this.getRangeAt(0),r["set"+(t?"Start":"End")](n,i)):(r=e.createRange(this.win.document),r.setStartAndEnd(n,i)),this.setSingleRange(r,this.isBackward())}}function k(e){var t=[],n=new I(e.anchorNode,e.anchorOffset),i=new I(e.focusNode,e.focusOffset),r="function"==typeof e.getName?e.getName():"Selection";if(e.rangeCount!==void 0)for(var s=0,o=e.rangeCount;o>s;++s)t[s]=_.inspect(e.getRangeAt(s));return"["+r+"(Ranges: "+t.join(", ")+")(anchor: "+n.inspect()+", focus: "+i.inspect()+"]"}e.config.checkSelectionRanges=!0;var E,w,S="boolean",T="number",O=e.dom,j
=e.util,x=j.isHostMethod,_=e.DomRange,D=e.WrappedRange,A=e.DOMException,I=O.DomPosition,M=e.features,P="Control",$=O.getDocument,L=O.getBody,H=_.rangesEqual,B=x(window,"getSelection"),W=j.isHostObject(document,"selection");M.implementsWinGetSelection=B,M.implementsDocSelection=W;var F=W&&(!B||e.config.preferTextRange);F?(E=s,e.isSelectionValid=function(e){var t=i(e,"isSelectionValid").document,n=t.selection;return"None"!=n.type||$(n.createRange().parentElement())==t}):B?(E=r,e.isSelectionValid=function(){return!0}):t.fail("Neither document.selection or window.getSelection() detected."),e.getNativeSelection=E;var z=E(),U=e.createNativeRange(document),q=L(document),V=j.areHostProperties(z,["anchorNode","focusNode","anchorOffset","focusOffset"]);M.selectionHasAnchorAndFocus=V;var K=x(z,"extend");M.selectionHasExtend=K;var G=typeof z.rangeCount==T;M.selectionHasRangeCount=G;var Y=!1,Q=!0,X=K?function(t,n){var i=_.getRangeDocument(n),r=e.createRange(i);r.collapseToPoint(n.endCont
ainer,n.endOffset),t.addRange(l(r)),t.extend(n.startContainer,n.startOffset)}:null;j.areHostMethods(z,["addRange","getRangeAt","removeAllRanges"])&&typeof z.rangeCount==T&&M.implementsDomRange&&function(){var t=window.getSelection();if(t){for(var n=t.rangeCount,i=n>1,r=[],s=o(t),a=0;n>a;++a)r[a]=t.getRangeAt(a);var u=L(document),c=u.appendChild(document.createElement("div"));c.contentEditable="false";var l=c.appendChild(document.createTextNode("Â Â Â ")),d=document.createRange();if(d.setStart(l,1),d.collapse(!0),t.addRange(d),Q=1==t.rangeCount,t.removeAllRanges(),!i){var h=d.cloneRange();d.setStart(l,0),h.setEnd(l,3),h.setStart(l,2),t.addRange(d),t.addRange(h),Y=2==t.rangeCount,h.detach()}for(u.removeChild(c),t.removeAllRanges(),d.detach(),a=0;n>a;++a)0==a&&s?X?X(t,r[a]):(e.warn("Rangy initialization: original selection was backwards but selection has been restored forwards because browser does not support Selection.extend"),t.addRange(r[a])):t.addRange(r[a])}}(),M.selection
SupportsMultipleRanges=Y,M.collapsedNonEditableSelectionsSupported=Q;var Z,J=!1;q&&x(q,"createControlRange")&&(Z=q.createControlRange(),j.areHostProperties(Z,["item","add"])&&(J=!0)),M.implementsControlRange=J,w=V?function(e){return e.anchorNode===e.focusNode&&e.anchorOffset===e.focusOffset}:function(e){return e.rangeCount?e.getRangeAt(e.rangeCount-1).collapsed:!1};var et;x(z,"getRangeAt")?et=function(e,t){try{return e.getRangeAt(t)}catch(n){return null}}:V&&(et=function(t){var n=$(t.anchorNode),i=e.createRange(n);return i.setStartAndEnd(t.anchorNode,t.anchorOffset,t.focusNode,t.focusOffset),i.collapsed!==this.isCollapsed&&i.setStartAndEnd(t.focusNode,t.focusOffset,t.anchorNode,t.anchorOffset),i}),v.prototype=e.selectionPrototype;var tt=[],nt=function(e){if(e&&e instanceof v)return e.refresh(),e;e=i(e,"getNativeSelection");var t=R(e),n=E(e),r=W?s(e):null;return t?(t.nativeSelection=n,t.docSelection=r,t.refresh()):(t=new v(n,r,e),tt.push({win:e,selection:t})),t};e.getSelectio
n=nt,e.getIframeSelection=function(n){return t.deprecationNotice("getIframeSelection()","getSelection(iframeEl)"),e.getSelection(O.getIframeWindow(n))};var it=v.prototype;if(!F&&V&&j.areHostMethods(z,["removeAllRanges","addRange"])){it.removeAllRanges=function(){this.nativeSelection.removeAllRanges(),c(this)};var rt=function(e,t){X(e.nativeSelection,t),e.refresh()};it.addRange=G?function(t,i){if(J&&W&&this.docSelection.type==P)g(this,t);else if(n(i)&&K)rt(this,t);else{var r;if(Y?r=this.rangeCount:(this.removeAllRanges(),r=0),this.nativeSelection.addRange(l(t).cloneRange()),this.rangeCount=this.nativeSelection.rangeCount,this.rangeCount==r+1){if(e.config.checkSelectionRanges){var s=et(this.nativeSelection,this.rangeCount-1);s&&!H(s,t)&&(t=new D(s))}this._ranges[this.rangeCount-1]=t,a(this,t,at(this.nativeSelection)),this.isCollapsed=w(this)}else this.refresh()}}:function(e,t){n(t)&&K?rt(this,e):(this.nativeSelection.addRange(l(e)),this.refresh())},it.setRanges=function(e){if(
J&&e.length>1)C(this,e);else{this.removeAllRanges();for(var t=0,n=e.length;n>t;++t)this.addRange(e[t])}}}else{if(!(x(z,"empty")&&x(U,"select")&&J&&F))return t.fail("No means of selecting a Range or TextRange was found"),!1;it.removeAllRanges=function(){try{if(this.docSelection.empty(),"None"!=this.docSelection.type){var e;if(this.anchorNode)e=$(this.anchorNode);else if(this.docSelection.type==P){var t=this.docSelection.createRange();t.length&&(e=$(t.item(0)))}if(e){var n=L(e).createTextRange();n.select(),this.docSelection.empty()}}}catch(i){}c(this)},it.addRange=function(t){this.docSelection.type==P?g(this,t):(e.WrappedTextRange.rangeToTextRange(t).select(),this._ranges[0]=t,this.rangeCount=1,this.isCollapsed=this._ranges[0].collapsed,a(this,t,!1))},it.setRanges=function(e){this.removeAllRanges();var t=e.length;t>1?C(this,e):t&&this.addRange(e[0])}}it.getRangeAt=function(e){if(0>e||e>=this.rangeCount)throw new A("INDEX_SIZE_ERR");return this._ranges[e].cloneRange()};var st;i
f(F)st=function(t){var n;e.isSelectionValid(t.win)?n=t.docSelection.createRange():(n=L(t.win.document).createTextRange(),n.collapse(!0)),t.docSelection.type==P?p(t):m(n)?f(t,n):c(t)};else if(x(z,"getRangeAt")&&typeof z.rangeCount==T)st=function(t){if(J&&W&&t.docSelection.type==P)p(t);else if(t._ranges.length=t.rangeCount=t.nativeSelection.rangeCount,t.rangeCount){for(var n=0,i=t.rangeCount;i>n;++n)t._ranges[n]=new e.WrappedRange(t.nativeSelection.getRangeAt(n));a(t,t._ranges[t.rangeCount-1],at(t.nativeSelection)),t.isCollapsed=w(t)}else c(t)};else{if(!V||typeof z.isCollapsed!=S||typeof U.collapsed!=S||!M.implementsDomRange)return t.fail("No means of obtaining a Range or TextRange from the user's selection was found"),!1;st=function(e){var t,n=e.nativeSelection;n.anchorNode?(t=et(n,0),e._ranges=[t],e.rangeCount=1,u(e),e.isCollapsed=w(e)):c(e)}}it.refresh=function(e){var t=e?this._ranges.slice(0):null,n=this.anchorNode,i=this.anchorOffset;if(st(this),e){var r=t.length;if(r!=th
is._ranges.length)return!0;if(this.anchorNode!=n||this.anchorOffset!=i)return!0;for(;r--;)if(!H(t[r],this._ranges[r]))return!0;return!1}};var ot=function(e,t){var n=e.getAllRanges();e.removeAllRanges();for(var i=0,r=n.length;r>i;++i)H(t,n[i])||e.addRange(n[i]);e.rangeCount||c(e)};it.removeRange=J?function(e){if(this.docSelection.type==P){for(var t,n=this.docSelection.createRange(),i=h(e),r=$(n.item(0)),s=L(r).createControlRange(),o=!1,a=0,u=n.length;u>a;++a)t=n.item(a),t!==i||o?s.add(n.item(a)):o=!0;s.select(),p(this)}else ot(this,e)}:function(e){ot(this,e)};var at;!F&&V&&M.implementsDomRange?(at=o,it.isBackward=function(){return at(this)}):at=it.isBackward=function(){return!1},it.isBackwards=it.isBackward,it.toString=function(){for(var e=[],t=0,n=this.rangeCount;n>t;++t)e[t]=""+this._ranges[t];return e.join("")},it.collapse=function(t,n){b(this,t);var i=e.createRange(t);i.collapseToPoint(t,n),this.setSingleRange(i),this.isCollapsed=!0},it.collapseToStart=function(){if(!this
.rangeCount)throw new A("INVALID_STATE_ERR");var e=this._ranges[0];this.collapse(e.startContainer,e.startOffset)},it.collapseToEnd=function(){if(!this.rangeCount)throw new A("INVALID_STATE_ERR");var e=this._ranges[this.rangeCount-1];this.collapse(e.endContainer,e.endOffset)},it.selectAllChildren=function(t){b(this,t);var n=e.createRange(t);n.selectNodeContents(t),this.setSingleRange(n)},it.deleteFromDocument=function(){if(J&&W&&this.docSelection.type==P){for(var e,t=this.docSelection.createRange();t.length;)e=t.item(0),t.remove(e),e.parentNode.removeChild(e);this.refresh()}else if(this.rangeCount){var n=this.getAllRanges();if(n.length){this.removeAllRanges();for(var i=0,r=n.length;r>i;++i)n[i].deleteContents();this.addRange(n[r-1])}}},it.eachRange=function(e,t){for(var n=0,i=this._ranges.length;i>n;++n)if(e(this.getRangeAt(n)))return t},it.getAllRanges=function(){var e=[];return this.eachRange(function(t){e.push(t)}),e},it.setSingleRange=function(e,t){this.removeAllRanges(),
this.addRange(e,t)},it.callMethodOnEachRange=function(e,t){var n=[];return this.eachRange(function(i){n.push(i[e].apply(i,t))}),n},it.setStart=N(!0),it.setEnd=N(!1),e.rangePrototype.select=function(e){nt(this.getDocument()).setSingleRange(this,e)},it.changeEachRange=function(e){var t=[],n=this.isBackward();this.eachRange(function(n){e(n),t.push(n)}),this.removeAllRanges(),n&&1==t.length?this.addRange(t[0],"backward"):this.setRanges(t)},it.containsNode=function(e,t){return this.eachRange(function(n){return n.containsNode(e,t)},!0)},it.getBookmark=function(e){return{backward:this.isBackward(),rangeBookmarks:this.callMethodOnEachRange("getBookmark",[e])}},it.moveToBookmark=function(t){for(var n,i,r=[],s=0;n=t.rangeBookmarks[s++];)i=e.createRange(this.win),i.moveToBookmark(n),r.push(i);t.backward?this.setSingleRange(r[0],"backward"):this.setRanges(r)},it.toHtml=function(){return this.callMethodOnEachRange("toHtml").join("")},it.getName=function(){return"WrappedSelection"},it.ins
pect=function(){return k(this)},it.detach=function(){R(this.win,"delete"),y(this)},v.detachAll=function(){R(null,"deleteAll")},v.inspect=k,v.isDirectionBackward=n,e.Selection=v,e.selectionPrototype=it,e.addCreateMissingNativeApiListener(function(e){e.getSelection===void 0&&(e.getSelection=function(){return nt(e)}),e=null})});
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/README.md b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/README.md
new file mode 100644
index 0000000..6197920
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/README.md
@@ -0,0 +1,107 @@
+jQuery.ime Input method specification
+=====================================
+
+Input methods are defined in javascript files. An input method is a javascript
+object and it is passed to $.ime.register() method to register with jquery.ime
+
+eg: $.ime.register( hebrewStandardKeyboard );
+
+Metadata fields
+---------------
+
+id: A mandatory unique identifier that represents the input method.
+eg: "hindi-inscript"
+
+name: A mandatory short name for the input method. eg: Hindi InScript
+
+description: An optional short description about the input method.
+eg: "keyboard layout as per inscript standard"
+
+date: An optional string to represent when this input method was written.
+Format should be: yyyy-mm-dd
+
+author: An optional string containing the authors name. Can contain email
+address as well. eg: "Santhosh Thottingal, <santhosh.thottingal at gmail.com>"
+
+URL: A mandatory string containing URL for source where keyboard is defined,
+information about trademark restrictions if any, layout and help.
+
+license: An optional string containing licence information. Eg: "CC-BY-SA" or
+"GPLv3".
+
+version: An optional string containing version information.
+
+Input method definition
+-----------------------
+
+patterns: A regular expression table that maps the original inputs to the
+target language.
+
+eg:
+patterns: [
+ [ 'q', '/' ],
+ [ 'w', '\'' ],
+ [ 'e', 'ק' ],
+ [ 'r', 'ר' ],
+ [ 't', '×' ],
+ [ 'y', '×' ],
+ [ 'u', '×' ],
+ [ 'i', '×' ],
+ [ 'o', '×' ],
+ [ 'p', 'פ' ]
+ ...
+ // These characters are mirrored in RTL languages
+ [ '\\(', ')' ],
+ [ '\\)', '(' ],
+ [ '\\[', ']' ],
+ [ '\\]', '[' ]
+ ]
+
+Any valid regular expression is possible as first element of each array item.
+More examples
+ [ '([à´-à´¹])a', '$1à´¾' ]
+ [ '(([ൺ-ൿà´])\u200c+)?I', '$2à´' ]
+
+In the above example, $1, $1 etc are according to the normal regular expression
+replace syntax.
+
+The second member of pattern can be a function as well. For eg:
+
+patterns: [ [ '[a-z]', function ( $1 ) {
+ return $1.toUpperCase();
+ } ] ]
+
+This rule replace all key strokes to its upper case character.
+
+contextLength: Length of the context to remember. jquery.ime can replace the
+text based on the previously typed characters. eg:
+
+ [ 'ൿh', 'c', 'à´àµ' ]
+
+Note that this pattern definition has 3 members, the middle one is the context.
+This rule is interpreted as
+
+The current key is h, previous key is c. For the previous key press c, we have
+a transliteration ൿ. But if it is followed by h and ൿ is indeed from key press
+c, replace ൿh with à´àµ
+
+To make this work, we need to remember the previous key strokes. How many of
+them we need to remember? contextLength should have that value.
+
+This is optional field with default value 0. ie, we don't remember previous key
+strokes by default.
+
+maxKeyLength: While trying to find possible matches, we need to know how many
+characters from the current typing location(cursor) should be used before
+giving up.
+
+maxKeyLength defines it. Normally it is the length of largest regex sequence in
+the patterns.
+
+This field is optional and default value is 1.
+
+Examples
+--------
+
+For complete examples, please refer the existing input method definitions.
+
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/am/am-transliteration.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/am/am-transliteration.js
new file mode 100644
index 0000000..511bcfe
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/am/am-transliteration.js
@@ -0,0 +1,432 @@
+( function ( $ ) {
+ 'use strict';
+
+ var amTransliteration = {
+ id: 'am-transliteration',
+ name: 'Amharic Transliteration',
+ description: 'Amharic Transliteration',
+ date: '2012-09-09',
+ URL: 'http://am.wikipedia.org/wiki/%E1%8A%A5%E1%88%AD%E1%8B%B3%E1%89%B3:%E1%8A%A2%E1%89%B5%E1%8B%AE%E1%8D%92%E1%8A%AD_%E1%88%B4%E1%88%AB',
+ author: 'Elfalem [[User:Elfalem]])',
+ license: 'GPLv3',
+ version: '1.0',
+ contextLength: 1,
+ maxKeyLength: 2,
+ patterns: [
+ [ '\\\\([A-Za-z\\>\\<_~ ])', '\\\\', '$1' ], // include space also
+
+ [ 'á¼0', 'á²á¼' ], // 10000 and 0 becomes 10 10000
+ [ 'á²á»0', 'á¼' ], // 10x100 and 0 becomes 10000
+ [ 'á»0', 'á²á»' ], // NUM_100 and 0 becomes 10 100
+
+ [ 'á»0', 'á²á»' ], // 1000
+
+ [ 'á³0', 'áªá»' ], // 200
+ [ 'á´0', 'á«á»' ], // 300
+ [ 'áµ0', 'á¬á»' ], // 400
+ [ 'á¶0', 'áá»' ], // 500
+ [ 'á·0', 'á®á»' ], // 600
+ [ 'á¸0', 'á¯á»' ], // 700
+ [ 'á¹0', 'á°á»' ], // 800
+ [ 'áº0', 'á±á»' ], // 900
+
+ [ 'á©0', 'á²' ], // 10
+ [ 'áª0', 'á³' ], // 20
+ [ 'á«0', 'á´' ], // 30
+ [ 'á¬0', 'áµ' ], // 40
+ [ 'á0', 'á¶' ], // 50
+ [ 'á®0', 'á·' ], // 60
+ [ 'á¯0', 'á¸' ], // 70
+ [ 'á°0', 'á¹' ], // 80
+ [ 'á±0', 'áº' ], // 90
+ [ 'á²0', 'á»' ], // 100
+
+ [ '1', 'á©' ],
+ [ '2', 'áª' ],
+ [ '3', 'á«' ],
+ [ '4', 'á¬' ],
+ [ '5', 'á' ],
+ [ '6', 'á®' ],
+ [ '7', 'á¯' ],
+ [ '8', 'á°' ],
+ [ '9', 'á±' ],
+
+ [ 'á
e', 'á' ],
+ [ 'á
u', 'á' ],
+ [ 'á
i', 'á' ],
+ [ 'á
a', 'á' ],
+ [ '(áe|á
E)', 'á' ],
+ [ 'á
o', 'á' ],
+ [ 'á
W', 'á' ],
+
+ [ 'áe', 'á' ],
+ [ 'áu', 'á' ],
+ [ 'ái', 'á' ],
+ [ 'áa', 'á' ],
+ [ '(áe|áE)', 'á' ],
+ [ 'áo', 'á' ],
+ [ 'áW', 'á' ],
+
+ [ 'áe', 'á' ],
+ [ 'áu', 'á' ],
+ [ 'ái', 'á' ],
+ [ 'áa', 'á' ],
+ [ '(áe|áE)', 'á' ],
+ [ 'áo', 'á' ],
+ [ 'áW', 'á' ],
+
+ [ 'áe', 'á' ],
+ [ 'áu', 'á' ],
+ [ 'ái', 'á' ],
+ [ 'áa', 'á' ],
+ [ '(áe|áE)', 'á' ],
+ [ 'áo', 'á' ],
+ [ 'áW', 'á' ],
+
+ [ 'áe', 'á¨' ],
+ [ 'áu', 'á©' ],
+ [ 'ái', 'áª' ],
+ [ 'áa', 'á«' ],
+ [ '(á¨e|áE)', 'á¬' ],
+ [ 'áo', 'á®' ],
+ [ 'áW', 'á¯' ],
+
+ [ 'áµe', 'á°' ],
+ [ 'áµu', 'á±' ],
+ [ 'áµi', 'á²' ],
+ [ 'áµa', 'á³' ],
+ [ '(á°e|áµE)', 'á´' ],
+ [ 'áµo', 'á¶' ],
+ [ 'áµW', 'á·' ],
+
+ [ 'á¥e', 'á ' ],
+ [ 'á¥u', 'á¡' ],
+ [ 'á¥i', 'á¢' ],
+ [ 'á¥a', 'á£' ],
+ [ '(á e|á¥E)', 'á¤' ],
+ [ 'á¥o', 'á¦' ],
+ [ 'á¥W', 'á§' ],
+
+ [ 'á½e', 'á¸' ],
+ [ 'á½u', 'á¹' ],
+ [ 'á½i', 'áº' ],
+ [ 'á½a', 'á»' ],
+ [ '(á¸e|á½E)', 'á¼' ],
+ [ 'á½o', 'á¾' ],
+ [ 'á½W', 'á¿' ],
+
+ [ 'á
e', 'á' ],
+ [ 'á
u', 'á' ],
+ [ 'á
i', 'á' ],
+ [ 'á
a', 'á' ],
+ [ '(áe|á
E)', 'á' ],
+ [ 'á
o', 'á' ],
+
+ [ 'áe', 'á' ],
+ [ '(áu|áW)', 'á' ],
+ [ 'ái', 'á' ],
+ [ 'áa', 'á' ],
+ [ 'áo', 'á' ],
+
+ [ 'áe', 'á' ],
+ [ 'áu', 'á' ],
+ [ 'ái', 'á' ],
+ [ 'áa', 'á' ],
+ [ '(áe|áE)', 'á' ],
+ [ 'áo', 'á' ],
+ [ 'áW', 'á' ],
+
+ [ '(áe|áee)', 'á' ], // the second pattern probably won't be invoked in any case
+ [ 'áu', 'á' ],
+ [ 'ái', 'á' ],
+ [ 'áa', 'á' ],
+
+ [ 'á¥e', 'á ' ],
+ [ 'á¥u', 'á¡' ],
+ [ 'á¥i', 'á¢' ],
+ [ 'á¥a', 'á£' ],
+ [ '(á e|á¥E)', 'á¤' ],
+ [ 'á¥o', 'á¦' ],
+ [ 'á¥W', 'á§' ],
+
+ [ 'áe', 'á¨' ],
+ [ 'áu', 'á©' ],
+ [ 'ái', 'áª' ],
+ [ 'áa', 'á«' ],
+ [ '(á¨e|áE)', 'á¬' ],
+ [ 'áo', 'á®' ],
+ [ 'áW', 'á¯' ],
+
+ [ 'áµe', 'á°' ],
+ [ 'áµu', 'á±' ],
+ [ 'áµi', 'á²' ],
+ [ 'áµa', 'á³' ],
+ [ '(á°e|áµE)', 'á´' ],
+ [ 'áµo', 'á¶' ],
+ [ 'áµW', 'á·' ],
+
+ [ 'á½e', 'á¸' ],
+ [ 'á½u', 'á¹' ],
+ [ 'á½i', 'áº' ],
+ [ 'á½a', 'á»' ],
+ [ '(á¸e|á½E)', 'á¼' ],
+ [ 'á½o', 'á¾' ],
+ [ 'á½W', 'á¿' ],
+
+ [ 'áe', 'á' ],
+ [ 'áu', 'á' ],
+ [ 'ái', 'á' ],
+ [ 'áa', 'á' ],
+ [ '(áe|áE)', 'á' ],
+ [ 'áo', 'á' ],
+ [ 'áW', 'á' ],
+
+ [ 'áe', 'á' ],
+ [ 'áu', 'á' ],
+ [ 'ái', 'á' ],
+ [ 'áa', 'á' ],
+ [ '(áe|áE)', 'á' ],
+ [ 'áo', 'á' ],
+ [ 'áW', 'á' ],
+
+ [ 'áe', 'á¨' ],
+ [ 'áu', 'á©' ],
+ [ 'ái', 'áª' ],
+ [ 'áa', 'á«' ],
+ [ '(á¨e|áE)', 'á¬' ],
+ [ 'áo', 'á®' ],
+ [ 'áW', 'á³' ],
+
+ [ 'á³e', 'á°' ],
+ [ '(á³u|á³\')', 'áµ' ],
+ [ 'á³i', 'á²' ],
+ [ '(á°e|á³E)', 'á´' ],
+
+ [ 'á½e', 'á¸' ],
+ [ 'á½u', 'á¹' ],
+ [ 'á½i', 'áº' ],
+ [ 'á½a', 'á»' ],
+ [ '(á¸e|á½E)', 'á¼' ],
+ [ 'á½o', 'á¾' ],
+ [ 'á½W', 'á' ],
+
+ [ 'áe', 'á' ],
+ [ '(áu|á\')', 'á
' ],
+ [ 'ái', 'á' ],
+ [ 'áE', 'á' ],
+
+ [ 'áe', 'á' ],
+ [ 'áu', 'á' ],
+ [ 'ái', 'á' ],
+ [ 'áa', 'á' ],
+ [ '(áe|áE)', 'á' ],
+ [ 'áo', 'á' ],
+
+ [ 'áe', 'á' ],
+ [ 'áu', 'á' ],
+ [ 'ái', 'á' ],
+ [ 'áa', 'á' ],
+ [ '(áe|áE)', 'á' ],
+ [ 'áo', 'á' ],
+ [ 'áW', 'á' ],
+
+ [ 'á¥e', 'á ' ],
+ [ 'á¥u', 'á¡' ],
+ [ 'á¥i', 'á¢' ],
+ [ 'á¥a', 'á£' ],
+ [ '(á e|á¥E)', 'á¤' ],
+ [ 'á¥o', 'á¦' ],
+ [ 'á¥W', 'á§' ],
+
+ [ 'áe', 'á¨' ],
+ [ 'áu', 'á©' ],
+ [ 'ái', 'áª' ],
+ [ 'áa', 'á«' ],
+ [ '(á¨e|áE)', 'á¬' ],
+ [ 'áo', 'á®' ],
+
+ [ 'áµe', 'á°' ],
+ [ 'áµu', 'á±' ],
+ [ 'áµi', 'á²' ],
+ [ 'áµa', 'á³' ],
+ [ '(á°e|áµE)', 'á´' ],
+ [ 'áµo', 'á¶' ],
+ [ 'áµW', 'á·' ],
+
+ [ 'á½e', 'á¸' ],
+ [ 'á½u', 'á¹' ],
+ [ 'á½i', 'áº' ],
+ [ 'á½a', 'á»' ],
+ [ '(á¸e|á½E)', 'á¼' ],
+ [ 'á½o', 'á¾' ],
+ [ 'á½W', 'á¿' ],
+
+ [ 'á
e', 'á' ],
+ [ 'á
u', 'á' ],
+ [ 'á
i', 'á' ],
+ [ 'á
a', 'á' ],
+ [ '(áe|á
E)', 'á' ],
+ [ 'á
o', 'á' ],
+ [ 'á
W', 'á' ],
+
+ [ 'áe', 'á' ],
+ [ 'áu', 'á' ],
+ [ 'ái', 'á' ],
+ [ 'áa', 'á' ],
+ [ '(áe|áE)', 'á' ],
+ [ 'áo', 'á' ],
+
+ [ 'áe', 'á' ],
+ [ '(áu|á\')', 'á' ],
+ [ 'ái', 'á' ],
+ [ '(áe|áE)', 'á' ],
+
+ [ 'áe', 'á' ],
+ [ 'áu', 'á' ],
+ [ 'ái', 'á' ],
+ [ 'áa', 'á' ],
+ [ '(áe|áE)', 'á' ],
+ [ 'áo', 'á' ],
+
+ [ 'á¥e', 'á ' ],
+ [ 'á¥u', 'á¡' ],
+ [ 'á¥i', 'á¢' ],
+ [ 'á¥a', 'á£' ],
+ [ '(á e|á¥E)', 'á¤' ],
+ [ 'á¥o', 'á¦' ],
+ [ 'á¥W', 'á§' ],
+
+ [ 'áe', 'á¨' ],
+ [ 'áu', 'á©' ],
+ [ 'ái', 'áª' ],
+ [ 'áa', 'á«' ],
+ [ '(á¨e|áE)', 'á¬' ],
+ [ 'áo', 'á®' ],
+ [ 'áW', 'á¯' ],
+
+ [ 'áµe', 'á°' ],
+ [ 'áµu', 'á±' ],
+ [ 'áµi', 'á²' ],
+ [ 'áµa', 'á³' ],
+ [ '(á°e|áµE)', 'á´' ],
+ [ 'áµo', 'á¶' ],
+ [ 'áµW', 'á·' ],
+
+ [ 'á½e', 'á¸' ],
+ [ 'á½u', 'á¹' ],
+ [ 'á½i', 'áº' ],
+ [ 'á½a', 'á»' ],
+ [ '(á¸e|á½E)', 'á¼' ],
+ [ 'á½o', 'á¾' ],
+ [ 'á½W', 'á¿' ],
+
+ [ 'á
e', 'á' ],
+ [ 'á
u', 'á' ],
+ [ 'á
i', 'á' ],
+ [ 'á
a', 'á' ],
+ [ '(áe|á
E)', 'á' ],
+ [ 'á
o', 'á' ],
+
+ [ 'áe', 'á' ],
+ [ 'áu', 'á' ],
+ [ 'ái', 'á' ],
+ [ 'áa', 'á' ],
+ [ '(áe|áE)', 'á' ],
+ [ 'áo', 'á' ],
+ [ 'áW', 'á' ],
+ [ 'áY', 'á' ],
+
+ [ 'áe', 'á' ],
+ [ 'áu', 'á' ],
+ [ 'ái', 'á' ],
+ [ 'áa', 'á' ],
+ [ '(áe|áE)', 'á' ],
+ [ 'áo', 'á' ],
+ [ 'áW', 'á' ],
+
+ // the following mappings are not documented in Ethiopic sera
+ [ 'á
u', 'á' ],
+ [ 'á
i', 'á' ],
+ [ 'á
a', 'á' ],
+ [ 'á
E', 'á' ],
+ [ 'á
o', 'á' ],
+ [ 'á
W', 'á' ],
+ //end
+
+ [ 'á
h', 'á
' ],
+ [ 'h', 'á
' ],
+ [ '(l|L)', 'á' ],
+ [ 'H', 'á' ],
+ [ '(m|M)', 'á' ],
+ [ '(r|R)', 'á' ],
+ [ 'áµs', 'á¥' ],
+ [ 's', 'áµ' ],
+ [ '(x|X)', 'á½' ],
+ [ 'q', 'á
' ],
+ [ 'á
W', 'á' ],
+ [ 'Q', 'á' ],
+ [ 'áW', 'á' ],
+ [ '(b|B)', 'á¥' ],
+ [ '(v|V)', 'á' ],
+ [ 't', 'áµ' ],
+ [ 'c', 'á½' ],
+ [ 'n', 'á' ],
+ [ 'N', 'á' ],
+ [ 'k', 'á' ],
+ [ '(áW|á³a)', 'á³' ],
+ [ 'K', 'á½' ],
+ [ '(á½W|áa)', 'á' ],
+ [ 'z', 'á' ],
+ [ 'Z', 'á¥' ],
+ [ '(y|Y)', 'á' ],
+ [ 'd', 'áµ' ],
+ [ 'D', 'á½' ],
+ [ '(j|J)', 'á
' ],
+ [ 'g', 'á' ],
+ [ '(áW|áa)', 'á' ],
+ [ 'G', 'á' ],
+ [ 'T', 'á¥' ],
+ [ 'C', 'á' ],
+ [ 'P', 'áµ' ],
+ [ 'á½S', 'á
' ],
+ [ 'S', 'á½' ],
+ [ '(f|F)', 'á' ],
+ [ 'p', 'á' ],
+ [ '(w|W)', 'á' ],
+
+ // vowels
+ // the following mappings are not documented in Ethiopic sera
+ [ 'á a', 'á' ],
+ [ 'A', 'á£' ],
+ [ 'á e', 'á' ],
+ [ 'á¡u', 'á' ],
+ [ 'á¢i', 'á' ],
+ [ 'á¤E', 'á' ],
+ [ 'á¥e', 'á' ],
+ [ 'á¦o', 'á' ],
+ //end undocumented
+
+ [ 'á¥a', 'á§' ],
+ [ 'e', 'á¥' ],
+ [ 'u', 'á¡' ],
+ [ 'i', 'á¢' ],
+ [ 'a', 'á ' ],
+ [ 'E', 'á¤' ],
+ [ 'o', 'á¦' ],
+ //end vowels
+
+ [ '\\<\\<', '«' ],
+ [ '\\>\\>', '»' ],
+ [ '\\?\\?', 'á§' ],
+ [ '\\*\\*', 'á¨' ],
+ [ '\\;', 'á¤' ],
+ [ 'á¡\\:', 'á¢' ],
+ [ ',', 'á£' ],
+ [ 'á¡-', 'á¦' ],
+ [ '\\:', 'á¡' ]
+
+ ]
+ };
+
+ $.ime.register( amTransliteration );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ar/ar-kbd.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ar/ar-kbd.js
new file mode 100644
index 0000000..6ca5ccd
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ar/ar-kbd.js
@@ -0,0 +1,115 @@
+( function ( $ ) {
+ 'use strict';
+
+ var arKbd = {
+ id: 'ar-kbd',
+ name: 'kbd',
+ description: 'Arabic keyboard layout',
+ date: '2013-02-09',
+ URL: 'http://github.com/wikimedia/jquery.ime',
+ author: 'Parag Nemade',
+ license: 'GPLv3',
+ version: '1.0',
+ patterns: [
+ ['1', 'Ù¡'],
+ ['2', 'Ù¢'],
+ ['3', 'Ù£'],
+ ['4', 'Ù¤'],
+ ['5', 'Ù¥'],
+ ['6', 'Ù¦'],
+ ['7', 'Ù§'],
+ ['8', 'Ù¨'],
+ ['9', 'Ù©'],
+ ['0', 'Ù '],
+ ['`', 'Ø°'],
+
+ ['q', 'ض'],
+ ['w', 'ص'],
+ ['e', 'Ø«'],
+ ['r', 'Ù'],
+ ['t', 'Ù'],
+ ['y', 'غ'],
+ ['u', 'ع'],
+ ['i', 'Ù'],
+ ['o', 'Ø®'],
+ ['p', 'Ø'],
+ ['\\[', 'ج'],
+ ['\\]', 'د'],
+
+ ['a', 'Ø´'],
+ ['s', 'س'],
+ ['d', 'Ù'],
+ ['f', 'ب'],
+ ['g', 'Ù'],
+ ['h', 'ا'],
+ ['j', 'ت'],
+ ['k', 'Ù'],
+ ['l', 'Ù
'],
+ [';', 'Ù'],
+ ['\'', 'Ø·'],
+
+ ['z', 'ئ'],
+ ['x', 'Ø¡'],
+ ['c', 'ؤ'],
+ ['v', 'ر'],
+ ['b', 'Ùا'],
+ ['n', 'Ù'],
+ ['m', 'Ø©'],
+ [',', 'Ù'],
+ ['\\.', 'ز'],
+ ['/', 'ظ'],
+
+ ['\\(', ')'],
+ ['\\)', '('],
+ ['\\~', 'Ù'],
+
+ ['Q', 'Ù'],
+ ['W', 'Ù'],
+ ['E', 'Ù'],
+ ['R', 'Ù'],
+ ['T', 'ÙØ¥'],
+ ['Y', 'Ø¥'],
+ ['U', '`'],
+ ['I', '÷'],
+ ['O', 'Ã'],
+ ['P', 'Ø'],
+ ['\\{', '>'],
+ ['\\}', '<'],
+
+ ['A', 'Ù'],
+ ['S', 'Ù'],
+ ['D', ']'],
+ ['F', '['],
+ ['G', 'ÙØ£'],
+ ['H', 'Ø£'],
+ ['J', 'Ù'],
+ ['K', 'Ø'],
+ ['L', '/'],
+
+ ['Z', '~'],
+ ['X', 'Ù'],
+ ['C', '}'],
+ ['V', '{'],
+ ['B', 'ÙØ¢'],
+ ['N', 'Ø¢'],
+ ['M', '\''],
+ ['\\<', ','],
+ ['\\>', '.'],
+ ['\\?', 'Ø']
+ ],
+ patterns_x: [
+ [',', '>'],
+ ['\\.', '<'],
+ ['\\[', ']'],
+ ['\\]', '['],
+ ['J', '\u200d'],
+ ['L', '\u200e'],
+ ['N', '\u200c'],
+ ['R', '\u200f'],
+ ['\\{', '}'],
+ ['\\}', '{']
+ ]
+ };
+
+ $.ime.register( arKbd );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/as/as-avro.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/as/as-avro.js
new file mode 100644
index 0000000..3fd422b
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/as/as-avro.js
@@ -0,0 +1,168 @@
+( function ( $ ) {
+ 'use strict';
+
+ var asAvro = {
+ id: 'as-avro',
+ name: 'à¦
à¦à§à§°',
+ description: 'Assamese Avro layout based on Bengali Avro input method',
+ date: '2012-10-10',
+ URL: 'http://github.com/wikimedia/jquery.ime',
+ author: 'Junaid P V',
+ license: 'GPLv3',
+ version: '1.0',
+ contextLength: 0,
+ maxKeyLength: 2,
+ patterns: [
+ ['([à¦-হà§à§à§à§°])à§?ৰৰi', '[^o`]', '$1à§'],
+ ['ৰৰi', '[^o`]', 'à¦'],
+
+ ['(([à¦-হà§à§à§à§°])|à§)o', '[^o`]', '$1'], // ৠcannot be included in the range, why? everywhere else it is OK!
+ ['([à¦-হà§à§à§à§°])a', '[^o`]', '$1া'],
+ ['([à¦-হà§à§à§à§°])i', '[^o`]', '$1ি'],
+ ['([à¦-হà§à§à§à§°])I', '[^o`]', '$1à§'],
+ ['([à¦-হà§à§à§à§°])u', '[^o`]', '$1à§'],
+ ['([à¦-হà§à§à§à§°])U', '[^o`]', '$1à§'],
+ ['([à¦-হà§à§à§à§°])o', '[o`]', '$1à§'],
+ ['([à¦-হà§à§à§à§°])e', '[^o`]', '$1à§'],
+ ['([à¦-হà§à§à§à§°])à§I', '[^o`]', '$1à§'],
+ ['([à¦-হà§à§à§à§°])O', '[^o`]', '$1à§'],
+ ['([à¦-হà§à§à§à§°])à§U', '[^o`]', '$1à§'],
+
+ //'à¦à¦h', '[^o`]', 'à¦à§à¦'],
+
+ ['([à¦à¦à¦²à¦·à¦¸])(k|K)', '[^o`]', '$1à§à¦'],
+ ['([à¦à¦¦à¦²])(g|G)', '[^o`]', '$1à§à¦'],
+ ['à¦g', '[^o`]', 'à¦à§à¦'],
+ ['([à¦à¦¶])c', '[^o`]', '$1à§à¦'],
+ ['([à¦à¦à¦¬])j', '[^o`]', '$1à§à¦'],
+ ['নj', '[^o`]', 'à¦à§à¦'],
+ ['([à¦à¦à¦£à¦¨à¦ªà¦²à¦·à¦¸])T', '[^o`]', '$1à§à¦'],
+ ['([ডণনল])D', '[^o`]', '$1à§à¦¡'],
+ ['([à¦à¦·à¦¹])N', '[^o`]', '$1à§à¦£'],
+ ['([à¦à¦¤à¦¨à¦ªà¦¶à¦¸à¦¹])t', '[^o`]', '$1à§à¦¤'],
+ ['([দনব])d', '[^o`]', '$1à§à¦¦'],
+ ['([à¦à¦à¦£à¦¤à¦§à¦¨à¦ªà¦®à¦¶à¦¸à¦¹])n', '[^o`]', '$1à§à¦¨'],
+ ['([পমলস])p', '[^o`]', '$1à§à¦ª'],
+ ['([বমল])b', '[^o`]', '$1à§à¦¬'],
+ ['([দম])(v|V)', '[^o`]', '$1à§à¦'],
+ ['([à¦à¦à¦à¦à¦£à¦¤à¦¦à¦§à¦¨à¦®à¦²à¦¶à¦·à¦¸à¦¹])m', '[^o`]', '$1à§à¦®'],
+ ['([à¦-à¦à¦-à¦à¦-যলশ-হà§à§à§])r', '[^o`]', '$1à§à§°'],
+ ['([à¦à¦à¦ª-বমলশসহ])l', '[^o`]', '$1à§à¦²'],
+ ['([à¦à¦¨à¦ª])s', '[^o`]', '$1à§à¦¸'],
+ ['([à¦-হà§à§à§à§°])w', '[^o`]', '$1à§à¦¬'],
+ ['([à¦-হà§à§à§à§°])y', '[^o`]', '$1à§à¦¯'],
+ ['নc', '[^o`]', 'à¦à§à¦'],
+
+ ['ত`', '`', 'à§'],
+
+ ['à¦à§à¦(h|H)', '[^o`]', 'à¦à§à¦·'],
+ ['à¦à¦¶(h|H)', '[^o`]', 'à¦à§à¦·'],
+ //'([à¦
-à¦à¦¾-à§])ৰৰk', '[^o]', '$1রà§à¦'],
+
+ ['ৰৰk', '(o|a|i|I|u|U|e|O|OI|OU|rri)rr', 'রà§à¦'],
+ ['ৰৰg', '(o|a|i|I|u|U|e|O|OI|OU|rri)rr', 'রà§à¦'],
+ ['ৰৰc', '(o|a|i|I|u|U|e|O|OI|OU|rri)rr', 'রà§à¦'],
+ ['ৰৰj', '(o|a|i|I|u|U|e|O|OI|OU|rri)rr', 'রà§à¦'],
+ ['ৰৰT', '(o|a|i|I|u|U|e|O|OI|OU|rri)rr', 'রà§à¦'],
+ ['ৰৰD', '(o|a|i|I|u|U|e|O|OI|OU|rri)rr', 'রà§à¦¡'],
+ ['ৰৰN', '(o|a|i|I|u|U|e|O|OI|OU|rri)rr', 'রà§à¦£'],
+ ['ৰৰt', '(o|a|i|I|u|U|e|O|OI|OU|rri)rr', 'রà§à¦¤'],
+ ['ৰৰd', '(o|a|i|I|u|U|e|O|OI|OU|rri)rr', 'রà§à¦¦'],
+ ['ৰৰn', '(o|a|i|I|u|U|e|O|OI|OU|rri)rr', 'রà§à¦¨'],
+ ['ৰৰp', '(o|a|i|I|u|U|e|O|OI|OU|rri)rr', 'রà§à¦ª'],
+ ['ৰৰf', '(o|a|i|I|u|U|e|O|OI|OU|rri)rr', 'রà§à¦«'],
+ ['ৰৰb', '(o|a|i|I|u|U|e|O|OI|OU|rri)rr', 'রà§à¦¬'],
+ ['ৰৰv', '(o|a|i|I|u|U|e|O|OI|OU|rri)rr', 'রà§à¦'],
+ ['ৰৰm', '(o|a|i|I|u|U|e|O|OI|OU|rri)rr', 'রà§à¦®'],
+ ['ৰৰz', '(o|a|i|I|u|U|e|O|OI|OU|rri)rr', 'রà§à¦¯'],
+ ['ৰৰl', '(o|a|i|I|u|U|e|O|OI|OU|rri)rr', 'রà§à¦²'],
+ ['ৰৰS', '(o|a|i|I|u|U|e|O|OI|OU|rri)rr', 'রà§à¦¶'],
+ ['ৰৰs', '(o|a|i|I|u|U|e|O|OI|OU|rri)rr', 'রà§à¦¸'],
+ ['ৰৰh', '(o|a|i|I|u|U|e|O|OI|OU|rri)rr', 'রà§à¦¹'],
+ ['ৰৰR', '(o|a|i|I|u|U|e|O|OI|OU|rri)rr', 'রà§à§'],
+ ['ৰৰ(y|Y)', '(o|a|i|I|u|U|e|O|OI|OU|rri)rr', 'রà§à§'],
+
+ ['শ(h|H)', 'S', 'ষ'],
+
+ ['à¦
o', '[^`]', 'à¦'],
+ ['à¦e', '[^o`]', 'à¦'],
+
+ ['à¦h', '[^o`]', 'à¦'],
+ ['à¦h', '[^o`]', 'à¦'],
+ ['ণg', '[^o`]', 'à¦'],
+ ['à¦h', '[^o`]', 'à¦'],
+ ['à¦h', '[^o`]', 'à¦'],
+ ['ণG', '[^o`]', 'à¦'],
+ ['à¦h', '[^o`]', 'ঠ'],
+ ['ডh', '[^o`]', 'ঢ'],
+ ['তh', '[^o`]', 'থ'],
+ ['দh', '[^o`]', 'ধ'],
+ ['পh', '[^o`]', 'ফ'],
+ ['বh', '[^o`]', 'à¦'],
+ ['(সh)', '[^o`]', 'শ'],
+ ['à§h', '[^o`]', 'à§'],
+ ['তà§`', '[^o`]', 'à§'],
+ ['নg', '[^o`]', 'à¦'],
+ ['à¦`', '[^o`]', ':'],
+ ['ৰৰi', '[^o`]', 'à¦'],
+ ['à¦I', '[^o`]', 'à¦'],
+ ['à¦U', '[^o`]', 'à¦'],
+ ['(k|K)', 'à¦'],
+ ['(g|G)', 'à¦'],
+ ['(c|C)', 'à¦'],
+ ['j', 'à¦'],
+ ['T', 'à¦'],
+ ['D', 'ড'],
+ ['N', 'ণ'],
+ ['t', 'ত'],
+ ['d', 'দ'],
+ ['n', 'ন'],
+ ['(p|P)', 'প'],
+ ['f', 'ফ'],
+ ['(b|B)', 'ব'],
+ ['(v|V)', 'à¦'],
+ ['(m|M)', 'ম'],
+ ['z', 'য'],
+ ['r', 'ৰ'],
+ ['(l|L)', 'ল'],
+ ['S', 'শ'],
+ ['s', 'স'],
+ ['(h|H)', 'হ'],
+ ['R', 'à§'],
+ ['(y|Y)', 'à§'],
+
+ ['Z','à§à¦¯'],
+
+ ['o', 'à¦
'],
+ ['(a|A)', 'à¦'],
+ ['i', 'à¦'],
+ ['I', 'à¦'],
+ ['u', 'à¦'],
+ ['U', 'à¦'],
+ ['e', 'à¦'],
+ ['O', 'à¦'],
+
+ ['0', '০'],
+ ['1', '১'],
+ ['2', '২'],
+ ['3', '৩'],
+ ['4', '৪'],
+ ['5', '৫'],
+ ['6', '৬'],
+ ['7', 'à§'],
+ ['8', '৮'],
+ ['9', '৯'],
+
+ ['\\\\\\.', '.'],
+
+ [',,','à§'],
+ ['\\:','à¦'],
+ ['\\^','à¦'],
+ ['\\.', '।'],
+ ['\\$', '৳'],
+ ['à¦`', ':'],
+ ['`', '']]
+ };
+
+ $.ime.register( asAvro );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/as/as-bornona.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/as/as-bornona.js
new file mode 100644
index 0000000..6daa8d3
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/as/as-bornona.js
@@ -0,0 +1,84 @@
+( function ( $ ) {
+ 'use strict';
+
+ var asBornona = {
+ id: 'as-bornona',
+ name: 'বৰà§à¦£à¦¨à¦¾',
+ description: 'Bornona input method for Assamese',
+ date: '2012-10-10',
+ URL: 'http://github.com/wikimedia/jquery.ime',
+ author: 'Junaid P V',
+ license: 'GPLv3',
+ version: '1.0',
+ contextLength: 0,
+ maxKeyLength: 0,
+ patterns: [
+ ['q', 'à¦'],
+ ['Q', 'à¦'],
+ ['w', 'ঢ'],
+ ['W', 'ঠ'],
+ ['e', 'à§'],
+ ['E', 'à§'],
+ ['r', 'ৰ'],
+ ['R', 'à§'],
+ ['t', 'ত'],
+ ['T', 'à¦'],
+ ['y', 'ধ'],
+ ['Y', 'থ'],
+ ['u', 'à§'],
+ ['U', 'à§'],
+ ['i', 'ি'],
+ ['I', 'à§'],
+ ['o', 'à§'],
+ ['O', 'à§'],
+ ['p', 'প'],
+ ['P', 'à§à§°'],
+ ['\\|', 'র'],
+ ['\\\\', 'ৱ'],
+ ['a', 'া'],
+ ['A', 'à¦
'],
+ ['s', 'স'],
+ ['S', 'শ'],
+ ['d', 'দ'],
+ ['D', 'ড'],
+ ['f', 'ফ'],
+ ['F', 'ৰà§à¦«'],
+ ['g', 'à¦'],
+ ['G', 'à¦'],
+ ['h', 'à§'],
+ ['H', 'হ'],
+ ['j', 'à¦'],
+ ['J', 'à¦'],
+ ['k', 'à¦'],
+ ['K', 'à¦'],
+ ['l', 'ল'],
+ ['L', '।'],
+ ['z', 'য'],
+ ['Z', 'à§'],
+ ['x', 'ষ'],
+ ['X', 'à§'],
+ ['c', 'à¦'],
+ ['C', 'à¦'],
+ ['v', 'à¦'],
+ ['V', 'à§à¦¯'],
+ ['b', 'ব'],
+ ['B', 'à§'],
+ ['n', 'ন'],
+ ['N', 'ণ'],
+ ['m', 'ম'],
+ ['M', 'à¦'],
+ ['0', '০'],
+ ['1', '১'],
+ ['2', '২'],
+ ['3', '৩'],
+ ['4', '৪'],
+ ['5', '৫'],
+ ['6', '৬'],
+ ['7', 'à§'],
+ ['8', '৮'],
+ ['9', '৯'],
+ ['\\`', '\u200C']]
+ };
+
+ $.ime.register( asBornona );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/as/as-inscript.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/as/as-inscript.js
new file mode 100644
index 0000000..e2491f4
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/as/as-inscript.js
@@ -0,0 +1,124 @@
+( function ( $ ) {
+ 'use strict';
+
+ var asInScript = {
+ id: 'as-inscript',
+ name: 'à¦à¦¨à¦¸à§à¦à§à§°à¦¿à¦ªà§à¦',
+ description: 'InScript input method for Assamese according to CDAC\'s Enhanced InScript Keyboard Layout 5.2',
+ date: '2012-10-10',
+ URL: 'http://github.com/wikimedia/jquery.ime',
+ author: 'Junaid P V',
+ license: 'GPLv3',
+ version: '1.0',
+ contextLength: 0,
+ maxKeyLength: 0,
+ patterns: [
+ ['X', 'à¦'],
+ ['x', 'à¦'],
+ ['_', 'à¦'],
+ ['D', 'à¦
'],
+ ['E', 'à¦'],
+ ['F', 'à¦'],
+ ['R', 'à¦'],
+ ['G', 'à¦'],
+ ['T', 'à¦'],
+ ['\\+', 'à¦'],
+ ['S', 'à¦'],
+ ['W', 'à¦'],
+ ['A', 'à¦'],
+ ['Q', 'à¦'],
+ ['k', 'à¦'],
+ ['K', 'à¦'],
+ ['i', 'à¦'],
+ ['I', 'à¦'],
+ ['U', 'à¦'],
+ [';', 'à¦'],
+ ['\\:', 'à¦'],
+ ['p', 'à¦'],
+ ['P', 'à¦'],
+ ['\\}', 'à¦'],
+ ['\'', 'à¦'],
+ ['\"', 'ঠ'],
+ ['\\[', 'ড'],
+ ['\\{', 'ঢ'],
+ ['C', 'ণ'],
+ ['l', 'ত'],
+ ['L', 'থ'],
+ ['o', 'দ'],
+ ['O', 'ধ'],
+ ['v', 'ন'],
+ ['h', 'প'],
+ ['H', 'ফ'],
+ ['y', 'ব'],
+ ['Y', 'à¦'],
+ ['c', 'ম'],
+ ['\\?', 'য'],
+ ['j', '\u09F0'],
+ ['J', 'à§'],
+ ['n', 'ল'],
+ ['M', 'শ'],
+ ['\\<', 'ষ'],
+ ['m', 'স'],
+ ['u', 'হ'],
+ ['\\]', '়'],
+ ['e', 'া'],
+ ['f', 'ি'],
+ ['r', 'à§'],
+ ['g', 'à§'],
+ ['t', 'à§'],
+ ['\\=', 'à§'],
+ ['s', 'à§'],
+ ['w', 'à§'],
+ ['a', 'à§'],
+ ['q', 'à§'],
+ ['d', 'à§'],
+ ['/', 'à§'],
+ ['\\>', '৤'],
+ ['0', '০'],
+ ['1', '১'],
+ ['2', '২'],
+ ['3', '৩'],
+ ['4', '৪'],
+ ['5', '৫'],
+ ['6', '৬'],
+ ['7', 'à§'],
+ ['8', '৮'],
+ ['9', '৯'],
+ ['z', 'ʼ'],
+ ['\\!', 'à¦
à§à¦¯à¦¾'],
+ ['\\#', 'à§\u09F0'],
+ ['\\$', '\u09F0à§'],
+ ['\\%', 'à¦à§à¦'],
+ ['\\^', 'তà§à¦°'],
+ ['\\&', 'à¦à§à¦·'],
+ ['\\*', 'শà§à¦°'],
+ ['\\(', '\u200D'],
+ ['\\)', '\u200C']],
+ patterns_x: [
+ ['F', 'à¦'],
+ ['\\>', 'ঽ'],
+ ['\\=', 'ৠ'],
+ ['l', 'à§'],
+ ['\\[', 'à§'],
+ ['\\{', 'à§'],
+ ['\\+', 'ৠ'],
+ ['R', 'ৡ'],
+ ['f', 'ৢ'],
+ ['r', 'ৣ'],
+ ['\\.', '৥'],
+ ['x', '৺'],
+ ['\\<', '৲'],
+ [',', '৳'],
+ ['\\!', '৴'],
+ ['\\@', '৵'],
+ ['\\#', '৶'],
+ ['\\$', '৷'],
+ ['\\%', '৸'],
+ ['\\^', '৹'],
+ ['\\?', '৻'],
+ ['4', 'â¹']]
+
+ };
+
+ $.ime.register( asInScript );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/as/as-inscript2.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/as/as-inscript2.js
new file mode 100644
index 0000000..e7da7dd
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/as/as-inscript2.js
@@ -0,0 +1,128 @@
+( function ( $ ) {
+ 'use strict';
+
+ var asInScript2 = {
+ id: 'as-inscript2',
+ name: 'à¦à¦¨à¦¸à§à¦à§à§°à¦¿à¦ªà§à¦ ২',
+ description: 'Enhanced InScript keyboard for Assamese language',
+ date: '2013-02-09',
+ URL: 'http://github.com/wikimedia/jquery.ime',
+ author: 'Parag Nemade',
+ license: 'GPLv3',
+ version: '1.0',
+ patterns: [
+ ['\\!', 'à¦
à§à¦¯à¦¾'],
+ ['1', '১'],
+ ['2', '২'],
+ ['\\#', 'à§à§°'],
+ ['3', '৩'],
+ ['\\$', 'ৰà§'],
+ ['4', '৪'],
+ ['\\%', 'à¦à§à¦'],
+ ['5', '৫'],
+ ['\\^', 'তà§à¦°'],
+ ['6', '৬'],
+ ['\\&', 'à¦à§à¦·'],
+ ['7', 'à§'],
+ ['\\*', 'শà§à¦°'],
+ ['8', '৮'],
+ ['9', '৯'],
+ ['\\(', '('],
+ ['\\)', ')'],
+ ['0', '০'],
+ ['\"', 'ঠ'],
+ ['\'', 'à¦'],
+ [',', ','],
+ ['-', '-'],
+ ['\\.', '.'],
+ ['/', 'à§'],
+ [':', 'à¦'],
+ [';', 'à¦'],
+ ['\\<', 'ষ'],
+ ['\\=', 'à§'],
+ ['\\+', 'à¦'],
+ ['\\>', '।'],
+ ['\\?', 'য'],
+ ['A', 'à¦'],
+ ['C', 'ণ'],
+ ['D', 'à¦
'],
+ ['E', 'à¦'],
+ ['F', 'à¦'],
+ ['G', 'à¦'],
+ ['H', 'ফ'],
+ ['I', 'à¦'],
+ ['K', 'à¦'],
+ ['L', 'থ'],
+ ['M', 'শ'],
+ ['O', 'ধ'],
+ ['P', 'à¦'],
+ ['Q', 'à¦'],
+ ['R', 'à¦'],
+ ['S', 'à¦'],
+ ['T', 'à¦'],
+ ['U', 'à¦'],
+ ['W', 'à¦'],
+ ['X', 'à¦'],
+ ['Y', 'à¦'],
+ ['\\{', 'ঢ'],
+ ['\\[', 'ড'],
+ ['\\}', 'à¦'],
+ ['\\]', '়'],
+ ['\\_', 'à¦'],
+ ['a', 'à§'],
+ ['b', 'ৱ'],
+ ['c', 'ম'],
+ ['d', 'à§'],
+ ['e', 'া'],
+ ['f', 'ি'],
+ ['g', 'à§'],
+ ['h', 'প'],
+ ['i', 'à¦'],
+ ['j', 'ৰ'],
+ ['k', 'à¦'],
+ ['l', 'ত'],
+ ['m', 'স'],
+ ['n', 'ল'],
+ ['o', 'দ'],
+ ['p', 'à¦'],
+ ['q', 'à§'],
+ ['r', 'à§'],
+ ['s', 'à§'],
+ ['t', 'à§'],
+ ['u', 'হ'],
+ ['v', 'ন'],
+ ['w', 'à§'],
+ ['x', 'à¦'],
+ ['y', 'ব'],
+ ['z', 'ʼ']
+ ],
+ patterns_x: [
+ ['\\!', '৴'],
+ ['1', '\u200d'],
+ ['\\@', '৵'],
+ ['2', '\u200c'],
+ ['\\#', '৶'],
+ ['\\$', '৷'],
+ ['4', 'â¹'],
+ ['\\%', '৸'],
+ ['\\^', '৹'],
+ [',', '৳'],
+ ['\\.', '॥'],
+ ['/', 'à§à¦¯'],
+ ['\\<', '৲'],
+ ['\\=', 'à§'],
+ ['\\+', 'ৠ'],
+ ['\\>', 'ঽ'],
+ ['F', 'à¦'],
+ ['R', 'ৡ'],
+ ['\\{', 'à§'],
+ ['\\[', 'à§'],
+ ['f', 'ৢ'],
+ ['l', 'à§'],
+ ['r', 'ৣ'],
+ ['x', '৺']
+ ]
+ };
+
+ $.ime.register( asInScript2 );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/as/as-phonetic.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/as/as-phonetic.js
new file mode 100644
index 0000000..b877c43
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/as/as-phonetic.js
@@ -0,0 +1,112 @@
+( function ( $ ) {
+ 'use strict';
+
+ var asPhonetic = {
+ id: 'as-phonetic',
+ name: 'phonetic',
+ description: 'Phonetic keyboard for Assamese script',
+ date: '2013-02-09',
+ URL: 'http://github.com/wikimedia/jquery.ime',
+ author: 'Parag Nemade',
+ license: 'GPLv3',
+ version: '1.0',
+ patterns: [
+ ['\\!', '!'],
+ ['1', '১'],
+ ['\\@', '@'],
+ ['2', '২'],
+ ['\\#', '#'],
+ ['3', '৩'],
+ ['\\$', 'à§'],
+ ['4', '৪'],
+ ['\\%', '%'],
+ ['5', '৫'],
+ ['\\^', 'à¦'],
+ ['6', '৬'],
+ ['\\&', '&'],
+ ['7', 'à§'],
+ ['\\*', '*'],
+ ['8', '৮'],
+ ['\\(', '('],
+ ['9', '৯'],
+ ['\\)', ')'],
+ ['0', '০'],
+ ['\\_', '_'],
+ ['\\-', '-'],
+ ['\\+', '+'],
+ ['\\=', '='],
+ ['Q', 'ধ'],
+ ['q', 'দ'],
+ ['W', 'à¦'],
+ ['w', 'à§'],
+ ['E', 'à¦'],
+ ['e', 'à§'],
+ ['R', 'à§'],
+ ['r', 'ৰ'],
+ ['T', 'ঠ'],
+ ['t', 'à¦'],
+ ['Y', 'à¦'],
+ ['y', 'à¦'],
+ ['U', 'à¦'],
+ ['u', 'à§'],
+ ['I', 'à¦'],
+ ['i', 'ি'],
+ ['O', 'à¦'],
+ ['o', 'à¦'],
+ ['P', 'ফ'],
+ ['p', 'প'],
+ ['\\{', 'à§'],
+ ['\\[', 'à§'],
+ ['\\}', 'à§'],
+ ['\\]', 'à§'],
+ ['A', 'à¦
'],
+ ['a', 'া'],
+ ['S', 'ষ'],
+ ['s', 'স'],
+ ['D', 'ঢ'],
+ ['d', 'ড'],
+ ['F', 'থ'],
+ ['f', 'ত'],
+ ['G', 'à¦'],
+ ['g', 'à¦'],
+ ['H', 'à¦'],
+ ['h', 'হ'],
+ ['J', 'à¦'],
+ ['j', 'à¦'],
+ ['K', 'à¦'],
+ ['k', 'à¦'],
+ ['L', 'à¦'],
+ ['l', 'ল'],
+ [':', ':'],
+ [';', ';'],
+ ['"', '"'],
+ ['\'', '\''],
+ ['\\|', '৺'],
+ ['\\\\', 'ৱ'],
+ ['\\~', '\u200c'],
+ ['\\`', '\u200d'],
+ ['Z', 'য'],
+ ['z', 'à§'],
+ ['X', 'à§'],
+ ['x', 'শ'],
+ ['C', 'à¦'],
+ ['c', 'à¦'],
+ ['V', 'à¦'],
+ ['v', 'à¦'],
+ ['B', 'à¦'],
+ ['b', 'ব'],
+ ['N', 'ণ'],
+ ['n', 'ন'],
+ ['M', 'à¦'],
+ ['m', 'ম'],
+ ['\\<', 'à§'],
+ [',', ','],
+ ['\\>', 'à¦'],
+ ['\\.', '।'],
+ ['\\?', '?'],
+ ['/', 'à§']
+ ]
+ };
+
+ $.ime.register( asPhonetic );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/as/as-transliteration.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/as/as-transliteration.js
new file mode 100644
index 0000000..379005a
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/as/as-transliteration.js
@@ -0,0 +1,114 @@
+( function ( $ ) {
+ 'use strict';
+
+ var asTransliteration = {
+ id: 'as-transliteration',
+ name: 'পà§à§°à¦¤à¦¿à§°à§à¦ªà¦¾à¦¨à§à¦¤à§°à¦£',
+ description: 'Assamese Transliteration input method',
+ date: '2012-10-10',
+ URL: 'http://github.com/wikimedia/jquery.ime',
+ author: 'Junaid P V',
+ license: 'GPLv3',
+ version: '1.0',
+ contextLength: 8,
+ maxKeyLength: 0,
+ patterns: [
+ ['([à¦-হà§-à§à§°à§±])(à§à¦¡à¦¼à§à¦¡à¦¼à§i|à§q)', '$1à§'], // <consonant>RRi or <consonant>q
+
+ ['(à§à§à§à§i|q)', 'à¦'], // RRi or q
+
+ ['([à¦-হà§-à§à§°à§±])à§o', '$1'], // <consonant>o
+ ['([à¦-হà§-à§à§°à§±])à§a', '$1া'], // <consonant>a
+ ['([à¦-হà§-à§à§°à§±])à§i', '$1ি'], // <consonant>i
+ ['([à¦-হà§-à§à§°à§±])(িi|à§I)', '$1à§'], // <consonant>ii or <consonant>I
+ ['([à¦-হà§-à§à§°à§±])à§u', '$1à§'], // <consonant>u
+ ['([à¦-হà§-à§à§°à§±])(à§u|à§U)', '$1à§'], // <consonant>uu or <consonant>U
+
+ ['([à¦-হà§-à§à§°à§±])à§e', '$1à§'], // <consonant>e
+ ['([à¦-হà§-à§à§°à§±])i', '$1à§'], // <consonant>oi
+ ['([à¦-হà§-à§à§°à§±])à§O', '$1à§'], // <consonant>O
+ ['([à¦-হà§-à§à§°à§±])u', '$1à§'], // <consonant>ou
+
+ ['(à¦à§y|c)', 'à¦à§à¦·à§'], // khy or c
+
+ ['à¦i', 'à¦'], // ii
+ ['à¦u', 'à¦'], // uu
+ ['à¦
i', 'à¦'], // oi
+ ['à¦
u', 'à¦'], // ou
+ ['তà§~', 'à§'], // t~
+
+ ['à¦à§h', 'à¦à§'], // kh
+ ['à¦à§h', 'à¦à§'], // gh
+ ['নà§g', 'à¦à§'], // ng
+ ['à¦à§h', 'à¦à§'], // jh
+ ['(নà§~|Y)', 'à¦à§'], // n~ or Y
+ ['à¦à§h', 'ঠà§'], // Th
+ ['ডà§h', 'ঢà§'], // Dh
+ ['তà§h', 'থà§'], // th
+ ['দà§h', 'ধà§'], // dh
+ ['(পà§h|f)', 'ফà§'], // ph or f
+ ['(বà§h|v)', 'à¦à§'], // bh or v
+ ['শà§h', 'ষà§'], // Xh
+ ['à§à§h', 'à§à§'], // Rh
+
+ ['(M|নà§G)', 'à¦'], // M or nG
+
+ ['o', 'à¦
'],
+ ['a', 'à¦'],
+ ['i', 'à¦'],
+ ['I', 'à¦'],
+ ['u', 'à¦'],
+ ['U', 'à¦'],
+ ['e', 'à¦'],
+ ['O', 'à¦'],
+
+ ['H', 'à¦'],
+ ['\\^', 'à¦'],
+ ['ণà§~', 'à¦'], // N~
+ ['C', '৺'],
+
+ ['k', 'à¦à§'],
+ ['g', 'à¦à§'],
+ ['s', 'à¦à§'],
+ ['S', 'à¦à§'],
+ ['j', 'à¦à§'],
+ ['T', 'à¦à§'],
+ ['D', 'ডà§'],
+ ['N', 'ণà§'],
+ ['t', 'তà§'],
+ ['d', 'দà§'],
+ ['n', 'নà§'],
+ ['p', 'পà§'],
+ ['b', 'বà§'],
+ ['m', 'মà§'],
+ ['z', 'যà§'],
+ ['r', 'ৰà§'],
+ ['l', 'লà§'],
+ ['w', 'ৱà§'],
+ ['X', 'শà§'],
+ ['x', 'সà§'],
+ ['h', 'হà§'],
+ ['R', 'à§à§'],
+ ['y', 'à§à§'],
+
+ ['\\\\\\.', '.'],
+ ['।\\.', '॥'],
+ ['\\.', '।'],
+
+ ['0', '০'],
+ ['1', '১'],
+ ['2', '২'],
+ ['3', '৩'],
+ ['4', '৪'],
+ ['5', '৫'],
+ ['6', '৬'],
+ ['7', 'à§'],
+ ['8', '৮'],
+ ['9', '৯'],
+
+ ['(\u200C)*_', '\u200C'],
+ ['(\u200D)*`', '\u200D']]
+ };
+
+ $.ime.register( asTransliteration );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/bbc/batak-qwerty.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/bbc/batak-qwerty.js
new file mode 100644
index 0000000..0ae5cff
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/bbc/batak-qwerty.js
@@ -0,0 +1,89 @@
+( function ( $ ) {
+ 'use strict';
+
+ var batakQwertyKbd = {
+ id: 'batak-qwerty',
+ name: 'Batak QWERTY',
+ description: 'QWERTY-based Batak keyboard',
+ date: '2014-04-20',
+ URL: 'http://evertype.com/fonts/batak/',
+ author: 'design by Michael Everson, implementation by Amir E. Aharoni',
+ version: '1.0',
+ patterns: [
+ [ 'q', 'ᯥ' ],
+ [ 'w', 'á¯' ],
+ [ 'e', 'ᯧ' ],
+ [ 'r', 'á¯' ],
+ [ 't', 'á¯' ],
+ [ 'y', 'á¯' ],
+ [ 'u', 'ᯮ' ],
+ [ 'i', 'ᯪ' ],
+ [ 'o', 'ᯬ' ],
+ [ 'p', 'á¯' ],
+
+ [ 'a', 'á¯' ],
+ [ 's', 'á¯' ],
+ [ 'd', 'á¯' ],
+ [ 'f', '᯲' ],
+ [ 'g', 'á¯' ],
+ [ 'h', 'á¯' ],
+ [ 'j', 'á¯' ],
+ [ 'k', 'ᯤ' ],
+ [ 'l', 'á¯' ],
+
+ [ 'z', 'á¯' ],
+ [ 'x', 'ᯢ' ],
+ [ 'c', 'ᯡ' ],
+ [ 'v', 'ᯣ' ],
+ [ 'b', 'á¯
' ],
+ [ 'n', 'á¯' ],
+ [ 'm', 'á¯' ],
+
+ [ 'Q', 'á¯' ],
+ [ 'W', 'á¯' ],
+ [ 'E', 'ᯨ' ],
+ [ 'R', 'á¯' ],
+ [ 'T', 'á¯' ],
+ [ 'Y', 'á¯' ],
+ [ 'U', 'ᯯ' ],
+ [ 'I', 'ᯫ' ],
+ [ 'O', 'á¯' ],
+ [ 'P', 'á¯' ],
+
+ [ 'A', 'á¯' ],
+ [ 'S', 'á¯' ],
+
+ [ 'F', '᯳' ],
+ [ 'G', 'á¯' ],
+ [ 'H', 'á¯' ],
+ [ 'J', 'á¯' ],
+
+ [ 'L', 'á¯' ],
+
+ [ 'Z', 'á¯' ],
+
+ [ 'B', 'á¯' ],
+ [ 'N', 'á¯' ],
+ [ 'M', 'á¯' ],
+
+ [ '`', 'ᯠ' ],
+ [ '=', 'ᯱ' ],
+ [ '\\+', '᯦' ],
+ [ '-', '' ],
+ [ '_', 'ᯩ' ],
+
+ [ 'B', 'á¯' ]
+ ],
+ patterns_x: [
+ [ '4', '᯼' ],
+ [ '5', '᯽' ],
+ [ '6', '᯾' ],
+ [ '7', '᯿' ],
+
+ [ 'w', 'á¯' ],
+ [ '`', '`' ]
+ ]
+ };
+
+ $.ime.register( batakQwertyKbd );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/be/be-kbd.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/be/be-kbd.js
new file mode 100644
index 0000000..d3d4abe
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/be/be-kbd.js
@@ -0,0 +1,101 @@
+( function ( $ ) {
+ 'use strict';
+
+ var beKbd = {
+ id: 'be-kbd',
+ name: 'Belarusian kbd',
+ description: 'Belarusian keyboard layout',
+ date: '2013-02-09',
+ URL: 'http://github.com/wikimedia/jquery.ime',
+ author: 'Parag Nemade',
+ license: 'GPLv3',
+ version: '1.0',
+ patterns: [
+ ['\\`', 'Ñ'],
+ ['q', 'й'],
+ ['w', 'Ñ'],
+ ['e', 'Ñ'],
+ ['r', 'к'],
+ ['t', 'е'],
+ ['y', 'н'],
+ ['u', 'г'],
+ ['i', 'Ñ'],
+ ['o', 'Ñ'],
+ ['p', 'з'],
+ ['\\[', 'Ñ
'],
+ ['\\]', '\''],
+ ['a', 'Ñ'],
+ ['s', 'Ñ'],
+ ['d', 'в'],
+ ['f', 'а'],
+ ['g', 'п'],
+ ['h', 'Ñ'],
+ ['j', 'о'],
+ ['k', 'л'],
+ ['l', 'д'],
+ [';', 'ж'],
+ ['\'', 'Ñ'],
+ ['\\\\', '\\'],
+ ['z', 'Ñ'],
+ ['x', 'Ñ'],
+ ['c', 'Ñ'],
+ ['v', 'м'],
+ ['b', 'Ñ'],
+ ['n', 'Ñ'],
+ ['m', 'Ñ'],
+ [',', 'б'],
+ ['\\.', 'Ñ'],
+ ['/', '.'],
+ ['\\!', '!'],
+ ['\\@', '\"'],
+ ['\\#', 'â'],
+ ['\\$', ';'],
+ ['\\%', '%'],
+ ['\\^', ':'],
+ ['\\&', '?'],
+ ['\\*', '*'],
+ ['\\(', '('],
+ ['\\)', ')'],
+ ['\\_', '_'],
+ ['\\+', '+'],
+ ['\\~', 'Ð'],
+ ['Q', 'Ð'],
+ ['W', 'Ц'],
+ ['E', 'У'],
+ ['R', 'Ð'],
+ ['T', 'Ð'],
+ ['Y', 'Ð'],
+ ['U', 'Ð'],
+ ['I', 'Ш'],
+ ['O', 'Ð'],
+ ['P', 'Ð'],
+ ['\\{', 'Ð¥'],
+ ['\\}', '\''],
+ ['A', 'Ф'],
+ ['S', 'Ы'],
+ ['D', 'Ð'],
+ ['F', 'Ð'],
+ ['G', 'Ð'],
+ ['H', 'Ð '],
+ ['J', 'Ð'],
+ ['K', 'Ð'],
+ ['L', 'Ð'],
+ [':', 'Ð'],
+ ['\"', 'Ð'],
+ ['\\|', '|'],
+ ['Z', 'Я'],
+ ['X', 'Ч'],
+ ['C', 'С'],
+ ['V', 'Ð'],
+ ['B', 'Ð'],
+ ['N', 'Т'],
+ ['M', 'Ь'],
+ ['\\<', 'Ð'],
+ ['\\>', 'Ю'],
+ ['\\?', ',']
+ ]
+
+ };
+ $.ime.register( beKbd );
+
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/be/be-latin.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/be/be-latin.js
new file mode 100644
index 0000000..ca6c995
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/be/be-latin.js
@@ -0,0 +1,38 @@
+( function ( $ ) {
+ 'use strict';
+
+ var beLatin = {
+ id: 'be-latin',
+ name: 'Belarusian Åacinka',
+ description: 'Belarusian Latin alphabet input method',
+ date: '2012-11-06',
+ URL: 'http://github.com/wikimedia/jquery.ime',
+ author: 'Pavel Selitskas',
+ license: 'GPLv3',
+ version: '1.0',
+ contextLength: 1,
+ maxKeyLength: 1,
+ patterns: [
+ [ '=S', 'Å ' ],
+ [ '=U', 'Ŭ' ],
+ [ '-S', 'Å' ],
+ [ '-L', 'Å' ],
+ [ '-Z', 'Ź' ],
+ [ '=Z', 'Ž' ],
+ [ '-C', 'Ä' ],
+ [ '=C', 'Ä' ],
+ [ '-N', 'Å' ],
+ [ '=s', 'Å¡' ],
+ [ '=u', 'Å' ],
+ [ '-s', 'Å' ],
+ [ '-l', 'Å' ],
+ [ '-z', 'ź' ],
+ [ '=z', 'ž' ],
+ [ '-c', 'Ä' ],
+ [ '=c', 'Ä' ],
+ [ '-n', 'Å' ]
+ ]
+ };
+
+ $.ime.register( beLatin );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/be/be-transliteration.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/be/be-transliteration.js
new file mode 100644
index 0000000..c8d29de
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/be/be-transliteration.js
@@ -0,0 +1,94 @@
+( function ( $ ) {
+ 'use strict';
+
+ var beTransliteration = {
+ id: 'be-transliteration',
+ name: 'Belarusian Transliteration',
+ description: 'Belarusian transliteration per Belarusian winkeys',
+ date: '2012-11-06',
+ URL: 'http://github.com/wikimedia/jquery.ime',
+ author: 'Pavel Selitskas',
+ license: 'GPLv3',
+ version: '1.0',
+ patterns: [
+ ['~', 'Ð'],
+ ['Q', 'Ð'],
+ ['W', 'Ц'],
+ ['E', 'У'],
+ ['R', 'Ð'],
+ ['T', 'Ð'],
+ ['Y', 'Ð'],
+ ['U', 'Ð'],
+ ['I', 'Ш'],
+ ['O', 'Ð'],
+ ['P', 'Ð'],
+ ['\\{', 'Ð¥'],
+ ['\\}', '\''],
+ ['A', 'Ф'],
+ ['S', 'Ы'],
+ ['D', 'Ð'],
+ ['F', 'Ð'],
+ ['G', 'Ð'],
+ ['H', 'Ð '],
+ ['J', 'Ð'],
+ ['K', 'Ð'],
+ ['L', 'Ð'],
+ [':', 'Ð'],
+ ['"', 'Ð'],
+ ['Z', 'Я'],
+ ['X', 'Ч'],
+ ['C', 'С'],
+ ['V', 'Ð'],
+ ['B', 'Ð'],
+ ['N', 'Т'],
+ ['M', 'Ь'],
+ ['<', 'Ð'],
+ ['>', 'Ю'],
+ ['\\?', ','],
+
+ ['`', 'Ñ'],
+ ['q', 'й'],
+ ['w', 'Ñ'],
+ ['e', 'Ñ'],
+ ['r', 'к'],
+ ['t', 'е'],
+ ['y', 'н'],
+ ['u', 'г'],
+ ['i', 'Ñ'],
+ ['o', 'Ñ'],
+ ['p', 'з'],
+ ['\\[', 'Ñ
'],
+ ['\\]', '\''],
+ ['a', 'Ñ'],
+ ['s', 'Ñ'],
+ ['d', 'в'],
+ ['f', 'а'],
+ ['g', 'п'],
+ ['h', 'Ñ'],
+ ['j', 'о'],
+ ['k', 'л'],
+ ['l', 'д'],
+ [';', 'ж'],
+ ['\'', 'Ñ'],
+ ['z', 'Ñ'],
+ ['x', 'Ñ'],
+ ['c', 'Ñ'],
+ ['v', 'м'],
+ ['b', 'Ñ'],
+ ['n', 'Ñ'],
+ ['m', 'Ñ'],
+ [',', 'б'],
+ ['\\.', 'Ñ'],
+ ['/', '.'],
+
+ ['@', '"'], // 2
+ ['#', 'â'], // 3
+ ['\\$', ';'], // 4
+ // '%' is the same // 5
+ ['^', ':'], // 6
+ ['&', '?']] // 7
+ // '*', '(' and ')' are the same // 8, 9, 0
+ };
+
+ $.ime.register( beTransliteration );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ber/ber-tfng.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ber/ber-tfng.js
new file mode 100644
index 0000000..1da69ed
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ber/ber-tfng.js
@@ -0,0 +1,54 @@
+( function ( $ ) {
+ 'use strict';
+
+ var berTfng = {
+ id: 'ber-tfng',
+ name: 'Tifinagh Transliteration',
+ description: 'Transliteration input method for Tifinagh script',
+ date: '2012-10-10',
+ URL: 'http://www.ircam.ma/fr/index.php?soc=telec&rd=2',
+ author: '',
+ license: '',
+ version: '1.0',
+ contextLength: 0,
+ maxKeyLength: 0,
+ patterns: [
+ ['a', 'â´°'],
+ ['b', 'â´±'],
+ ['c', 'âµ'],
+ ['d', 'â´·'],
+ ['D', 'â´¹'],
+ ['e', 'â´»'],
+ ['f', 'â´¼'],
+ ['F', 'ⴼⵯ'],
+ ['g', 'â´³'],
+ ['G', 'ⴳⵯ'],
+ ['h', 'âµ'],
+ ['i', 'âµ'],
+ ['j', 'âµ'],
+ ['k', 'â´½'],
+ ['K', 'ⴽⵯ'],
+ ['l', 'âµ'],
+ ['m', 'âµ'],
+ ['n', 'âµ'],
+ ['o', 'âµ'],
+ ['p', 'âµ'],
+ ['q', 'âµ'],
+ ['Q', 'âµ'],
+ ['r', 'âµ'],
+ ['R', 'âµ'],
+ ['s', 'âµ'],
+ ['S', 'âµ'],
+ ['t', 'âµ'],
+ ['T', 'âµ'],
+ ['v', 'âµ'],
+ ['u', 'âµ'],
+ ['w', 'ⵡ'],
+ ['y', 'âµ¢'],
+ ['x', 'âµ
'],
+ ['z', 'âµ£'],
+ ['Z', 'âµ¥']]
+ };
+ $.ime.register( berTfng );
+
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/bn/bn-avro.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/bn/bn-avro.js
new file mode 100644
index 0000000..af16cd2
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/bn/bn-avro.js
@@ -0,0 +1,194 @@
+( function ( $ ) {
+ 'use strict';
+
+ var bnAvro = {
+ id: 'bn-avro',
+ name: 'à¦
à¦à§à¦°',
+ description: 'Bengali Avro input method',
+ date: '2012-10-10',
+ URL: 'http://github.com/wikimedia/jquery.ime',
+ author: 'Junaid P V',
+ license: 'GPLv3',
+ version: '1.0',
+ contextLength: 4,
+ maxKeyLength: 5,
+ patterns: [
+ ['([à¦-হà§à§à§])à§?ররi','[^o`]', '$1à§'],
+ ['ররi','[^o`]', 'à¦'],
+ ['à¦à¦¹o', 'à¦à§à¦'],
+ ['([à¦-হà§à§à§])াZ', '[^o`]', '$1à§à¦¯à¦¾'],
+ ['(([à¦-হà§à§à§])|à§)o','[^o`]', '$1'], // ৠcannot be included in the range, why? everywhere else it is OK!
+ ['([à¦-হà§à§à§])a','[^o`]', '$1া'],
+ ['([à¦-হà§à§à§])i','[^o`]', '$1ি'],
+ ['([à¦-হà§à§à§])(I|à§e)','[^o`]', '$1à§'],
+ ['([à¦-হà§à§à§])u','[^o`]', '$1à§'],
+ ['([à¦-হà§à§à§])U','[^o`]', '$1à§'],
+ ['([à¦-হà§à§à§])o','[o`]', '$1à§'],
+ ['([à¦-হà§à§à§])e','[^o`]', '$1à§'],
+ ['([à¦-হà§à§à§])à§I','[^o`]', '$1à§'],
+ ['([à¦-হà§à§à§])O','[^o`]', '$1à§'],
+ ['([à¦-হà§à§à§])à§U','[^o`]', '$1à§'],
+
+ ['([à¦-হà§à§à§][িà§à§à§]|[à¦à¦à¦à¦])a','[^o`]', '$1à§à¦¾'],
+ ['([à¦-হà§à§à§][াà§]|[à¦à¦])o', '[^o`]', '$1à¦'],
+
+ ['([à¦à¦à¦²à¦·à¦¸])(k|K)','[^o`]','$1à§à¦'],
+ ['([à¦à¦¦à¦²])(g|G)','[^o`]','$1à§à¦'],
+ ['à¦g','[^o`]','à¦à§à¦'],
+ ['([à¦à¦¶])c','[^o`]','$1à§à¦'],
+ ['([à¦à¦à¦¬])j','[^o`]','$1à§à¦'],
+ ['নj','[^o`]','à¦à§à¦'],
+ ['([à¦à¦à¦£à¦¨à¦ªà¦²à¦·à¦¸])T','[^o`]','$1à§à¦'],
+ ['([ডণনল])D','[^o`]','$1à§à¦¡'],
+ ['([à¦à¦·à¦¹])N','[^o`]','$1à§à¦£'],
+ ['([à¦à¦¤à¦¨à¦ªà¦¶à¦¸à¦¹])t','[^o`]','$1à§à¦¤'],
+ ['([দনব])d','[^o`]','$1à§à¦¦'],
+ ['([à¦à¦à¦£à¦¤à¦§à¦¨à¦ªà¦®à¦¶à¦¸à¦¹])n','[^o`]','$1à§à¦¨'],
+ ['([পমলষস])p','[^o`]','$1à§à¦ª'],
+ ['([স])f', '[^o`]', '$1à§à¦«'],
+ ['([বমল])b','[^o`]','$1à§à¦¬'],
+ ['([দম])(v|V)','[^o`]','$1à§à¦'],
+ ['([à¦à¦à¦à¦à¦£à¦¤à¦¦à¦§à¦¨à¦®à¦²à¦¶à¦·à¦¸à¦¹])m','[^o`]','$1à§à¦®'],
+ ['([à¦-à¦à¦-à¦à¦-যলশ-হà§à§à§])r','[^o`]','$1à§à¦°'],
+ ['([à¦à¦à¦ª-বমলশসহ])l','[^o`]','$1à§à¦²'],
+ ['([à¦à¦¨à¦ª])s','[^o`]','$1à§à¦¸'],
+ ['([à¦-হà§à§à§])w','[^o`]','$1à§à¦¬'],
+ ['([à¦-হà§à§à§])y','[^o`]','$1à§à¦¯'],
+ ['নc','[^o`]','à¦à§à¦'],
+
+ ['ত`','`', 'à§'],
+
+ ['à¦à§à¦(h|H)','[^o`]','à¦à§à¦·'],
+ ['à¦à¦¶(h|H)','[^o`]','à¦à§à¦·'],
+
+ ['ররk','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','রà§à¦'],
+ ['ররg','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','রà§à¦'],
+ ['ররc','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','রà§à¦'],
+ ['ররj','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','রà§à¦'],
+ ['ররT','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','রà§à¦'],
+ ['ররD','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','রà§à¦¡'],
+ ['ররN','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','রà§à¦£'],
+ ['ররt','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','রà§à¦¤'],
+ ['ররd','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','রà§à¦¦'],
+ ['ররn','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','রà§à¦¨'],
+ ['ররp','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','রà§à¦ª'],
+ ['ররf','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','রà§à¦«'],
+ ['ররb','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','রà§à¦¬'],
+ ['ররv','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','রà§à¦'],
+ ['ররm','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','রà§à¦®'],
+ ['ররz','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','রà§à¦¯'],
+ ['ররl','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','রà§à¦²'],
+ ['ররS','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','রà§à¦¶'],
+ ['ররs','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','রà§à¦¸'],
+ ['ররh','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','রà§à¦¹'],
+ ['ররR','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','রà§à§'],
+ ['রর(y|Y)','(o|a|i|I|u|U|e|O|OI|OU|rri)rr','রà§à§'],
+
+ ['à¦o', 'à¦à§à¦'],
+ ['à¦i', 'à¦à§à¦à¦¿'],
+ ['à¦I', 'à¦à§à¦à§'],
+ ['(à¦u|à¦à§à¦o)', 'à¦à§à¦à§'],
+ ['à¦U', 'à¦à§à¦à§'],
+ ['à¦', 'à¦à§à¦à¦¿'],
+ ['à¦', 'à¦à§à¦à¦¿'],
+
+ ['শ(h|H)','S', 'ষ'],
+
+ ['à¦
o','[^`]', 'à¦'],
+ ['à¦e','[^o`]', 'à¦'],
+
+ ['à¦(h|H)','[^o`]', 'à¦'],
+ ['à¦(h|H)','[^o`]', 'à¦'],
+ ['ণg','[^o`]', 'à¦'],
+ ['à¦(h|H)','[^o`]', 'à¦'],
+ ['à¦(h|H)','[^o`]', 'à¦'],
+ ['ণG','[^o`]', 'à¦'],
+ ['à¦(h|H)','[^o`]', 'ঠ'],
+ ['ড(h|H)','[^o`]', 'ঢ'],
+ ['ত(h|H)','[^o`]', 'থ'],
+ ['দ(h|H)','[^o`]', 'ধ'],
+ ['প(h|H)','[^o`]', 'ফ'],
+ ['ব(h|H)','[^o`]', 'à¦'],
+ ['(স(h|H))','[^o`]', 'শ'],
+ ['à§(h|H)','[^o`]', 'à§'],
+ ['তà§`','[^o`]', 'à§'],
+ ['নg','[^o`]', 'à¦'],
+ ['à¦`','[^o`]', ':'],
+ ['ররi','[^o`]', 'à¦'],
+ ['à¦I','[^o`]', 'à¦'],
+ ['à¦U','[^o`]', 'à¦'],
+
+ ['à¦`', 'া'],
+ ['à¦`', 'ি'],
+ ['à¦`', 'à§'],
+ ['à¦`', 'à§'],
+ ['à¦`', 'à§'],
+ ['à¦`', 'à§'],
+ ['à¦`', 'া'],
+ ['à¦`', 'া'],
+ ['à¦`', 'া'],
+ ['à¦`', 'া'],
+ ['à¦`', 'া'],
+ ['à¦`', 'া'],
+
+ ['([kKqQ])', 'à¦'],
+ ['(g|G)', 'à¦'],
+ ['(c|C)', 'à¦'],
+ ['(j|J)', 'à¦'],
+ ['T', 'à¦'],
+ ['D', 'ড'],
+ ['N', 'ণ'],
+ ['t', 'ত'],
+ ['d', 'দ'],
+ ['n', 'ন'],
+ ['(p|P)', 'প'],
+ ['f', 'ফ'],
+ ['(b|B)', 'ব'],
+ ['(v|V)', 'à¦'],
+ ['(m|M)', 'ম'],
+ ['z', 'য'],
+ ['r', 'র'],
+ ['(l|L)', 'ল'],
+ ['S', 'শ'],
+ ['s', 'স'],
+ ['(h|H)', 'হ'],
+ ['R', 'à§'],
+ ['w', 'à¦'],
+ ['x', 'à¦à§à¦¸'],
+ ['(y|Y)', 'à§'],
+
+ ['Z', 'à§à¦¯'],
+
+ ['o', 'à¦
'],
+ ['(a|A)', 'à¦'],
+ ['i', 'à¦'],
+ ['I', 'à¦'],
+ ['u', 'à¦'],
+ ['U', 'à¦'],
+ ['(e|E)', 'à¦'],
+ ['O', 'à¦'],
+
+ ['0', '০'],
+ ['1', '১'],
+ ['2', '২'],
+ ['3', '৩'],
+ ['4', '৪'],
+ ['5', '৫'],
+ ['6', '৬'],
+ ['7', 'à§'],
+ ['8', '৮'],
+ ['9', '৯'],
+
+ ['\\\\\\.', '.'],
+
+ [',,', 'à§'],
+ ['\\:', 'à¦'],
+ ['\\^', 'à¦'],
+ ['\\.', '।'],
+ ['\\$', '৳'],
+ ['à¦`', ':'],
+ ['`', '']]
+ };
+
+ $.ime.register( bnAvro );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/bn/bn-inscript.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/bn/bn-inscript.js
new file mode 100644
index 0000000..f26a97a
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/bn/bn-inscript.js
@@ -0,0 +1,123 @@
+( function ( $ ) {
+ 'use strict';
+
+ var bnInScript = {
+ id: 'bn-inscript',
+ name: 'à¦à¦¨à¦¸à§à¦à§à§°à¦¿à¦ªà§à¦',
+ description: 'Bengali InScript input method',
+ date: '2012-10-10',
+ URL: 'http://github.com/wikimedia/jquery.ime',
+ author: 'Junaid P V',
+ license: 'GPLv3',
+ version: '1.0',
+ contextLength: 0,
+ maxKeyLength: 0,
+ patterns: [
+ ['X', 'à¦'],
+ ['x', 'à¦'],
+ ['_', 'à¦'],
+ ['D', 'à¦
'],
+ ['E', 'à¦'],
+ ['F', 'à¦'],
+ ['R', 'à¦'],
+ ['G', 'à¦'],
+ ['T', 'à¦'],
+ ['\\+', 'à¦'],
+ ['S', 'à¦'],
+ ['W', 'à¦'],
+ ['A', 'à¦'],
+ ['Q', 'à¦'],
+ ['k', 'à¦'],
+ ['K', 'à¦'],
+ ['i', 'à¦'],
+ ['I', 'à¦'],
+ ['U', 'à¦'],
+ [';', 'à¦'],
+ ['\\:', 'à¦'],
+ ['p', 'à¦'],
+ ['P', 'à¦'],
+ ['\\}', 'à¦'],
+ ['\'', 'à¦'],
+ ['\"', 'ঠ'],
+ ['\\[', 'ড'],
+ ['\\{', 'ঢ'],
+ ['C', 'ণ'],
+ ['l', 'ত'],
+ ['L', 'থ'],
+ ['o', 'দ'],
+ ['O', 'ধ'],
+ ['v', 'ন'],
+ ['h', 'প'],
+ ['H', 'ফ'],
+ ['y', 'ব'],
+ ['Y', 'à¦'],
+ ['c', 'ম'],
+ ['\\?', 'য'],
+ ['j', 'র'],
+ ['J', 'à§'],
+ ['n', 'ল'],
+ ['M', 'শ'],
+ ['\\<', 'ষ'],
+ ['m', 'স'],
+ ['u', 'হ'],
+ ['\\]', '়'],
+ ['e', 'া'],
+ ['f', 'ি'],
+ ['r', 'à§'],
+ ['g', 'à§'],
+ ['t', 'à§'],
+ ['\\=', 'à§'],
+ ['s', 'à§'],
+ ['w', 'à§'],
+ ['a', 'à§'],
+ ['q', 'à§'],
+ ['d', 'à§'],
+ ['/', 'à§'],
+ ['\\>', '৤'],
+ ['0', '০'],
+ ['1', '১'],
+ ['2', '২'],
+ ['3', '৩'],
+ ['4', '৪'],
+ ['5', '৫'],
+ ['6', '৬'],
+ ['7', 'à§'],
+ ['8', '৮'],
+ ['9', '৯'],
+ ['z', 'ʼ'],
+ ['\\!', 'à¦
à§à¦¯à¦¾'],
+ ['\\#', 'à§à¦°'],
+ ['\\$', 'রà§'],
+ ['\\%', 'à¦à§à¦'],
+ ['\\^', 'তà§à¦°'],
+ ['\\&', 'à¦à§à¦·'],
+ ['\\*', 'শà§à¦°'],
+ ['\\(', '\u200D'],
+ ['\\)', '\u200C']],
+ patterns_x: [
+ ['F', 'à¦'],
+ ['\\>', 'ঽ'],
+ ['\\=', 'ৠ'],
+ ['l', 'à§'],
+ ['\\[', 'à§'],
+ ['\\{', 'à§'],
+ ['\\+', 'ৠ'],
+ ['R', 'ৡ'],
+ ['f', 'ৢ'],
+ ['r', 'ৣ'],
+ ['\\.', '৥'],
+ ['x', '৺'],
+ ['\\<', '৲'],
+ [',', '৳'],
+ ['\\!', '৴'],
+ ['\\@', '৵'],
+ ['\\#', '৶'],
+ ['\\$', '৷'],
+ ['\\%', '৸'],
+ ['\\^', '৹'],
+ ['\\?', '৻'],
+ ['4', 'â¹']]
+ };
+
+ $.ime.register( bnInScript );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/bn/bn-inscript2.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/bn/bn-inscript2.js
new file mode 100644
index 0000000..3ea9e28
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/bn/bn-inscript2.js
@@ -0,0 +1,128 @@
+( function ( $ ) {
+ 'use strict';
+
+ var bnInScript2 = {
+ id: 'bn-inscript2',
+ name: 'à¦à¦¨à¦¸à§à¦à§à§°à¦¿à¦ªà§à¦ ২',
+ description: 'Enhanced InScript keyboard for Bengali language',
+ date: '2013-02-09',
+ URL: 'http://github.com/wikimedia/jquery.ime',
+ author: 'Parag Nemade',
+ license: 'GPLv3',
+ version: '1.0',
+ patterns: [
+ ['\\!', 'à¦
à§à¦¯à¦¾'],
+ ['1', '১'],
+ ['2', '২'],
+ ['\\#', 'à§à¦°'],
+ ['3', '৩'],
+ ['\\$', 'রà§'],
+ ['4', '৪'],
+ ['\\%', 'à¦à§à¦'],
+ ['5', '৫'],
+ ['\\^', 'তà§à¦°'],
+ ['6', '৬'],
+ ['\\&', 'à¦à§à¦·'],
+ ['7', 'à§'],
+ ['\\*', 'শà§à¦°'],
+ ['8', '৮'],
+ ['9', '৯'],
+ ['\\(', '('],
+ ['\\)', ')'],
+ ['0', '০'],
+ ['\"', 'ঠ'],
+ ['\'', 'à¦'],
+ [',', ','],
+ ['-', '-'],
+ ['\\.', '.'],
+ ['/', 'à§'],
+ [':', 'à¦'],
+ [';', 'à¦'],
+ ['\\<', 'ষ'],
+ ['\\=', 'à§'],
+ ['\\+', 'à¦'],
+ ['\\>', '।'],
+ ['\\?', 'য'],
+ ['A', 'à¦'],
+ ['C', 'ণ'],
+ ['D', 'à¦
'],
+ ['E', 'à¦'],
+ ['F', 'à¦'],
+ ['G', 'à¦'],
+ ['H', 'ফ'],
+ ['I', 'à¦'],
+ ['K', 'à¦'],
+ ['L', 'থ'],
+ ['M', 'শ'],
+ ['O', 'ধ'],
+ ['P', 'à¦'],
+ ['Q', 'à¦'],
+ ['R', 'à¦'],
+ ['S', 'à¦'],
+ ['T', 'à¦'],
+ ['U', 'à¦'],
+ ['W', 'à¦'],
+ ['X', 'à¦'],
+ ['Y', 'à¦'],
+ ['\\{', 'ঢ'],
+ ['\\[', 'ড'],
+ ['\\}', 'à¦'],
+ ['\\]', '়'],
+ ['\\_', 'à¦'],
+ ['a', 'à§'],
+ ['c', 'ম'],
+ ['d', 'à§'],
+ ['e', 'া'],
+ ['f', 'ি'],
+ ['g', 'à§'],
+ ['h', 'প'],
+ ['i', 'à¦'],
+ ['j', 'র'],
+ ['k', 'à¦'],
+ ['l', 'ত'],
+ ['m', 'স'],
+ ['n', 'ল'],
+ ['o', 'দ'],
+ ['p', 'à¦'],
+ ['q', 'à§'],
+ ['r', 'à§'],
+ ['s', 'à§'],
+ ['t', 'à§'],
+ ['u', 'হ'],
+ ['v', 'ন'],
+ ['w', 'à§'],
+ ['x', 'à¦'],
+ ['y', 'ব'],
+ ['z', 'ʼ']
+ ],
+ patterns_x: [
+ ['\\!', '৴'],
+ ['1', '\u200d'],
+ ['\\@', '৵'],
+ ['2', '\u200c'],
+ ['\\#', '৶'],
+ ['\\$', '৷'],
+ ['4', 'â¹'],
+ ['\\%', '৸'],
+ ['\\^', '৹'],
+ [',', '৳'],
+ ['\\.', '॥'],
+ ['/', 'à§à¦¯'],
+ ['\\<', '৲'],
+ ['\\=', 'à§'],
+ ['\\+', 'ৠ'],
+ ['\\>', 'ঽ'],
+ ['\\?', '৻'],
+ ['F', 'à¦'],
+ ['R', 'ৡ'],
+ ['\\{', 'à§'],
+ ['\\[', 'à§'],
+ ['f', 'ৢ'],
+ ['l', 'à§'],
+ ['r', 'ৣ'],
+ ['x', '৺']
+ ]
+ };
+
+ $.ime.register( bnInScript2 );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/bn/bn-nkb.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/bn/bn-nkb.js
new file mode 100644
index 0000000..7a35a21
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/bn/bn-nkb.js
@@ -0,0 +1,133 @@
+( function ( $ ) {
+ 'use strict';
+
+ var bnNkb = {
+ id: 'bn-nkb',
+ name: 'National Keyboard',
+ description: 'Bengali National Keyboard input method',
+ date: '2012-10-10',
+ URL: 'http://github.com/wikimedia/jquery.ime',
+ author: 'Junaid P V',
+ license: 'GPLv3',
+ version: '1.0',
+ contextLength: 0,
+ maxKeyLength: 0,
+ patterns: [
+ ['1', '১'],
+ ['2', '২'],
+ ['3', '৩'],
+ ['4', '৪'],
+ ['5', '৫'],
+ ['6', '৬'],
+ ['7', 'à§'],
+ ['8', '৮'],
+ ['9', '৯'],
+ ['0', '০'],
+
+ ['q', 'à¦'],
+ ['w', 'য'],
+ ['e', 'ড'],
+ ['r', 'প'],
+ ['t', 'à¦'],
+ ['y', 'à¦'],
+ ['u', 'à¦'],
+ ['i', 'হ'],
+ ['o', 'à¦'],
+ ['p', 'à§'],
+
+ ['a', 'à§'],
+ ['s', 'à§'],
+ ['d', 'ি'],
+ ['f', 'ব'],
+ ['g', 'à§'],
+ ['h', 'া'],
+ ['j', 'à¦'],
+ ['k', 'ত'],
+ ['l', 'দ'],
+
+ ['z', 'à¦'],
+ ['x', 'à§'],
+ ['c', 'à§'],
+ ['v', 'র'],
+ ['b', 'ন'],
+ ['n', 'স'],
+ ['m', 'ম'],
+
+ ['Q', 'à¦'],
+ ['W', 'à§'],
+ ['E', 'ঢ'],
+ ['R', 'ফ'],
+ ['T', 'ঠ'],
+ ['Y', 'à¦'],
+ ['U', 'à¦'],
+ ['I', 'à¦'],
+ ['O', 'à¦'],
+ ['P', 'à§'],
+
+ ['A', 'à§'],
+ ['S', 'à§'],
+ ['D', 'à§'],
+ ['F', 'à¦'],
+ ['G', '।'],
+ ['H', 'à¦
'],
+ ['J', 'à¦'],
+ ['K', 'থ'],
+ ['L', 'ধ'],
+
+ ['Z', 'à¦'],
+ ['X', 'à§'],
+ ['C', 'à§'],
+ ['V', 'ল'],
+ ['B', 'ণ'],
+ ['N', 'ষ'],
+ ['M', 'শ']],
+ patterns_x: [
+ ['1', '৴'],
+ ['2', '৵'],
+ ['3', '৶'],
+ ['4', '৳'],
+ ['5', '৷'],
+ ['6', '৸'],
+ ['7', 'à¤'],
+ ['0', '৹'],
+ ['\\-', '\u200C'],
+ ['\\=', '\u200D'],
+
+ ['q', 'ৢ'],
+ ['w', 'à§à¦¯'],
+ ['e', 'à§'],
+ ['i', 'ঽ'],
+
+ ['a', 'à¦'],
+ ['s', 'à¦'],
+ ['d', 'à¦'],
+ ['f', 'ৰ'],
+ ['g', '॥'],
+ ['h', 'à¦'],
+ ['j', '঱'],
+ ['k', 'ঢ'],
+ ['l', 'à¦'],
+
+ ['z', '৺'],
+ ['x', 'à¦'],
+ ['c', 'à¦'],
+ ['v', 'à§à¦°'],
+ ['\\.', '়'],
+
+ ['\\$', '৲'],
+ ['\\^', '঳'],
+
+ ['Q', 'ৣ'],
+
+ ['A', 'ৠ'],
+ ['S', 'à¦'],
+ ['D', 'à¦'],
+ ['F', 'ৱ'],
+ ['L', 'ৡ'],
+
+ ['X', 'à¦'],
+ ['C', 'à¦']]
+ };
+
+ $.ime.register( bnNkb );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/bn/bn-probhat.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/bn/bn-probhat.js
new file mode 100644
index 0000000..eed5ac5
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/bn/bn-probhat.js
@@ -0,0 +1,102 @@
+( function ( $ ) {
+ 'use strict';
+
+ var bnProbhat = {
+ id: 'bn-probhat',
+ name: 'Bengali Probhat',
+ description: 'Bengali Probhat input method for Bengali',
+ date: '2012-10-10',
+ URL: 'http://github.com/wikimedia/jquery.ime',
+ author: 'Nasir Khan Saikat',
+ license: 'GPLv3',
+ version: '1.0',
+ contextLength: 0,
+ maxKeyLength: 0,
+ patterns: [
+ ['1', '১'],
+ ['2', '২'],
+ ['3', '৩'],
+ ['4', '৪'],
+ ['5', '৫'],
+ ['6', '৬'],
+ ['7', 'à§'],
+ ['8', '৮'],
+ ['9', '৯'],
+ ['0', '০'],
+
+ ['q', 'দ'],
+ ['w', 'à§'],
+ ['e', 'à§'],
+ ['r', 'র'],
+ ['t', 'à¦'],
+ ['y', 'à¦'],
+ ['u', 'à§'],
+ ['i', 'ি'],
+ ['o', 'à¦'],
+ ['p', 'প'],
+
+ ['a', 'া'],
+ ['s', 'স'],
+ ['d', 'ড'],
+ ['f', 'ত'],
+ ['g', 'à¦'],
+ ['h', 'হ'],
+ ['j', 'à¦'],
+ ['k', 'à¦'],
+ ['l', 'ল'],
+
+ ['z', 'à§'],
+ ['x', 'শ'],
+ ['c', 'à¦'],
+ ['v', 'à¦'],
+ ['b', 'ব'],
+ ['n', 'ন'],
+ ['m', 'ম'],
+
+ ['Q', 'ধ'],
+ ['W', 'à¦'],
+ ['E', 'à¦'],
+ ['R', 'à§'],
+ ['T', 'ঠ'],
+ ['Y', 'à¦'],
+ ['U', 'à¦'],
+ ['I', 'à¦'],
+ ['O', 'à¦'],
+ ['P', 'ফ'],
+
+ ['A', 'à¦
'],
+ ['S', 'ষ'],
+ ['D', 'ঢ'],
+ ['F', 'থ'],
+ ['G', 'à¦'],
+ ['H', 'à¦'],
+ ['J', 'à¦'],
+ ['K', 'à¦'],
+ ['L', 'à¦'],
+
+ ['Z', 'য'],
+ ['X', 'à§'],
+ ['C', 'à¦'],
+ ['V', 'à¦'],
+ ['B', 'à¦'],
+ ['N', 'ণ'],
+ ['M', 'à¦'],
+
+ ['`', '\u200D'],
+ ['\\$', '৳'],
+ ['\\&', 'à¦'],
+ ['\\*', 'à§'],
+ ['\\[', 'à§'],
+ ['\\]', 'à§'],
+ ['\\{', 'à§'],
+ ['\\}', 'à§'],
+ ['\\|', '॥'],
+ ['\\.', '।'],
+ ['/', 'à§'],
+ ['<', 'à§'],
+ ['>', 'à¦'],
+ ['\\\\', '\u200C']]
+ };
+
+ $.ime.register( bnProbhat );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/bo/bo-ewts.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/bo/bo-ewts.js
new file mode 100644
index 0000000..d390dac
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/bo/bo-ewts.js
@@ -0,0 +1,284 @@
+( function ( $ ) {
+ 'use strict';
+
+ var boEWTS = {
+ id: 'bo-ewts',
+ name: 'Tibetan EWTS transliteration',
+ description: 'Tibetan Extended Wylie Transliteration, based on the work of thdl.',
+ date: '2014-07-09',
+ URL: 'http://www.thlib.org/reference/transliteration/#!essay=/thl/ewts',
+ author: 'Elie Roux <elie.roux at telecom-bretagne.eu>',
+ license: 'GPLv3',
+ version: '1.1',
+ contextLength: 2,
+ maxKeyLength: 5,
+ patterns: [
+ // ambiguous cases with b as prefix
+ ['à½à¾²k', 'r', 'à½à½¢à¾'],
+ ['à½à¾²g', 'r', 'à½à½¢à¾'],
+ ['à½à¾²l', 'r', 'à½à½¢à¾³'],
+ ['à½à¾²j', 'r', 'à½à½¢à¾'],
+ ['à½à¾²t', 'r', 'à½à½¢à¾'],
+ ['à½à¾²d', 'r', 'à½à½¢à¾¡'],
+ ['à½à¾²n', 'r', 'à½à½¢à¾£ '],
+ ['à½à¾³t', 'l', 'à½à½£à¾'],
+ ['à½à¾³d', 'l', 'à½à½£à¾¡'],
+ // Standard Tibetan Stacks listed at <http://www.thlib.org/reference/transliteration/tibstacks.php>
+ // some are handled magically and don't need to appear here.
+ ['རà¾y', 'k', 'རà¾à¾±'],
+ ['རà¾y', 'g', 'རà¾à¾±'],
+ ['རྨy', 'm', 'རྨྱ'],
+ ['རà¾w', 'g', 'རà¾à¾'],
+ ['རྩw', 's', 'རྩà¾'],
+ ['སà¾y', 'k', 'སà¾à¾±'],
+ ['སà¾y', 'g', 'སà¾à¾±'],
+ ['སྤy', 'p', 'སྤྱ'],
+ ['སྦy', 'b', 'སྦྱ'],
+ ['སྨy', 'm', 'སྨྱ'],
+ ['སà¾r', 'k', 'སà¾à¾²'],
+ ['སà¾r', 'g', 'སà¾à¾²'],
+ ['སྣr', 'n', 'སྣྲ'],
+ ['སྤr', 'p', 'སྤྲ'],
+ ['སྦr', 'b', 'སྦྲ'],
+ ['སྨr', 'm', 'སྨྲ'],
+ ['à½à¾²w', 'r', 'à½à¾²à¾'],
+ ['à½à¾²w', 'r', 'à½à¾²à¾'],
+ ['à½à¾±w', 'y', 'à½à¾±à¾'],
+ ['རk', 'r', 'རà¾'],
+ ['རg', 'r', 'རà¾'],
+ ['རj', 'r', 'རà¾'],
+ ['རt', 'r', 'རà¾'],
+ ['རd', 'r', 'རྡ'],
+ ['རn', 'r', 'རྣ '],
+ ['རb', 'r', 'རྦ'],
+ ['རm', 'r', 'རྨ'],
+ ['ལk', 'l', 'ལà¾'],
+ ['ལg', 'l', 'ལà¾'],
+ ['ལc', 'l', 'ལà¾'],
+ ['ལj', 'l', 'ལà¾'],
+ ['ལt', 'l', 'ལà¾'],
+ ['ལd', 'l', 'སྡ'],
+ ['ལp', 'l', 'ལྤ'],
+ ['ལb', 'l', 'ལྦ'],
+ ['ལh', 'l', 'ལྷ'],
+ ['སk', 's', 'སà¾'],
+ ['སg', 's', 'སà¾'],
+ ['སt', 's', 'སà¾'],
+ ['སd', 's', 'སྡ'],
+ ['སn', 's', 'སྣ'],
+ ['སp', 's', 'སྤ'],
+ ['སb', 's', 'སྦ'],
+ ['སm', 's', 'སྨ'],
+ ['སà¾s', 't', 'སྩ'],
+ ['à½w', 'k', 'à½à¾'],
+ ['à½w', 'h', 'à½à¾'],
+ ['à½w', 'g', 'à½à¾'],
+ ['à½
w', 'c', 'à½
à¾'],
+ ['à½w', 'y', 'à½à¾'],
+ ['à½w', 't', 'à½à¾'],
+ ['à½w', 'd', 'à½à¾'],
+ ['à½w', 's', 'à½à¾'],
+ ['à½w', 'h', 'à½à¾'],
+ ['à½w', 'h', 'à½à¾'],
+ ['à½w', 'z', 'à½à¾'],
+ ['རw', 'r', 'རà¾'],
+ ['ཤw', 'h', 'ཤà¾'],
+ ['སw', 's', 'སà¾'],
+ ['ཧw', 'h', 'ཧà¾'],
+ ['à½y', 'k', 'à½à¾±'],
+ ['à½y', 'h', 'à½à¾±'],
+ ['à½y', 'g', 'à½à¾±'],
+ ['à½y', 'p', 'à½à¾±'],
+ ['à½y', 'h', 'à½à¾±'],
+ ['à½y', 'b', 'à½à¾±'],
+ ['à½y', 'm', 'à½à¾±'],
+ ['à½r', 'k', 'à½à¾²'],
+ ['à½r', 'h', 'à½à¾²'],
+ ['à½r', 'g', 'à½à¾²'],
+ ['à½r', 't', 'à½à¾²'],
+ ['à½r', 'h', 'à½à¾²'],
+ ['à½r', 'd', 'à½à¾²'],
+ ['à½r', 'p', 'à½à¾²'],
+ ['à½r', 'h', 'à½à¾²'],
+ ['à½r', 'b', 'à½à¾²'],
+ ['à½r', 'm', 'à½à¾²'],
+ ['ཤr', 'h', 'ཤྲ'],
+ ['སr', 's', 'སྲ'],
+ ['ཧr', 'h', 'ཧྲ'],
+ ['à½l', 'k', 'à½à¾³'],
+ ['à½l', 'g', 'à½à¾³'],
+ ['à½l', 'b', 'à½à¾³'],
+ ['à½l', 'z', 'à½à¾³'],
+ ['རl', 'r', 'རླ'],
+ ['སl', 's', 'སླ'],
+ ['ཨོM', 'o', 'à¼'],
+ ['\\.', ''],
+ ['\\+', ''],
+ ['-', ''],
+ ['S', ''],
+ // subjoined letters:
+ ['k', '\\+', 'à¾'],
+ ['g', '\\+', 'à¾'],
+ ['ྣg', 'à¾'],
+ ['c', '\\+', 'à¾'],
+ ['à¾h', 'à¾'],
+ ['j', '\\+', 'à¾'],
+ ['ྣy', 'à¾'],
+ ['T', '\\+', 'à¾'],
+ ['à¾h', 'à¾'],
+ ['D', '\\+', 'à¾'],
+ ['N', '\\+', 'à¾'],
+ ['t', '\\+', 'à¾'],
+ ['à¾h', 'ྠ'],
+ ['d', '\\+', 'ྡ'],
+ ['n', '\\+', 'ྣ'],
+ ['p', '\\+', 'ྤ'],
+ ['ྤh', 'ྥ'],
+ ['b', '\\+', 'ྦ'],
+ ['m', '\\+', 'ྨ'],
+ ['à¾s', 'ྩ'],
+ ['ྩh', 'ྪ'],
+ ['ྡz', 'ྫ'],
+ ['w', '\\+', 'à¾'],
+ ['ྯh', 'ྮ'],
+ ['z', '\\+', 'ྯ'],
+ ['\'', '\\+', 'ྰ'],
+ ['y', '\\+', 'ྱ'],
+ ['r', '\\+', 'ྲ'],
+ ['l', '\\+', 'ླ'],
+ ['ྶh', 'ྴ'],
+ ['à½h', '\\+S', 'ཀྵ'],
+ ['à¾h', '\\+S', 'ྐྵ'],
+ ['à¾h', 'à¾'],
+ ['h', '\\+S', 'ྵ'],
+ ['s', '\\+', 'ྶ'],
+ ['à½h', '\\+', 'à½'],
+ ['à½h', '\\+', 'à½'],
+ ['à½h', '\\+', 'à½'],
+ ['à½h', '\\+', 'à½'],
+ ['à½h', '\\+', 'à½'],
+ ['à¾h', '\\+', 'à¾'],
+ ['à¾h', '\\+', 'à¾'],
+ ['ྡh', '\\+', 'ྡྷ'],
+ ['ྦh', '\\+', 'ྦྷ'],
+ ['ྫh', '\\+', 'ྫྷ'],
+ ['h', '\\+', 'ྷ'],
+ ['v', '\\+', 'ྦ༹'],
+ ['f', '\\+', 'ྥ༹'],
+ ['W', '\\+', 'ྺ'],
+ ['Y', '\\+', 'ྻ'],
+ ['R', '\\+', 'ྼ'],
+ ['Z', '\\+', '༹'],
+ // consonants
+ ['k', 'à½'],
+ ['à½h', 'k', 'à½'],
+ ['g', 'à½'],
+ ['à½g', 'n', 'à½'],
+ ['c', 'à½
'],
+ ['à½
h', 'c', 'à½'],
+ ['j', 'à½'],
+ ['à½y', 'n', 'à½'],
+ ['T', 'à½'],
+ ['à½h', 'T', 'à½'],
+ ['D', 'à½'],
+ ['N', 'à½'],
+ ['t', 'à½'],
+ ['à½h', 't', 'à½'],
+ ['d', 'à½'],
+ ['n', 'à½'],
+ ['p', 'à½'],
+ ['à½h', 'p', 'à½'],
+ ['b', 'à½'],
+ ['m', 'à½'],
+ ['à½s', 't', 'à½'],
+ ['à½h', 's', 'à½'],
+ ['à½z', 'd', 'à½'],
+ ['w', 'à½'],
+ ['à½h', 'z', 'à½'],
+ ['z', 'à½'],
+ ['\'', 'འ'],
+ ['y', 'ཡ'],
+ ['r', 'ར'],
+ ['l', 'ལ'],
+ ['སh', 's', 'ཤ'],
+ ['h', 'S', 'ཥ'],
+ ['s', 'ས'],
+ ['h', 'ཧ'],
+ ['f', 'à½à¼¹'],
+ ['v', 'à½à¼¹'],
+ ['R', 'ཪ'],
+ // vowels after consonnants or vowels
+ ['([à½-ྼ])i', 'a', '$1ཻ'],
+ ['([à½-ྼ])u', 'a', '$1ཽ'],
+ ['ྲi', '-', 'ྲྀ'],
+ ['ླi', '-', 'ླྀ'],
+ ['([à½-ྼ])i', '-', '$1à¾'],
+ ['([à½-ྼ])རI', 'r-', '$1ྲཱà¾'],
+ ['([à½-ྼ])ལI', 'l-', '$1ླཱà¾'],
+ ['རI', 'r-', 'ཨྲཱà¾'],
+ ['ལI', 'l-', 'ཨླཱà¾'],
+ ['([à½-ྼ])I', '-', '$1ཱà¾'],
+ ['([à½-ྼ])a', '$1'],
+ ['([à½-ྼ])i', '$1ི'],
+ ['([à½-ྼ])u', '$1ུ'],
+ ['([à½-ྼ])e', '$1ེ'],
+ ['([à½-ྼ])o', '$1ོ'],
+ ['([à½-ྼ])A', '$1ཱ'],
+ ['([à½-ྼ])I', '$1ཱི'],
+ ['([à½-ྼ])U', '$1ཱུ'],
+ // vowels after something else
+ ['a', 'ཨ'],
+ ['i', '-', 'ཨà¾'],
+ ['A', 'ཨཱ'],
+ ['I', '-', 'ཨཱà¾'],
+ ['I', 'ཨཱི'],
+ ['U', 'ཨཱུ'],
+ ['i', 'ཨི'],
+ ['u', 'ཨུ'],
+ ['e', 'ཨེ'],
+ ['o', 'ཨོ'],
+ // numbers
+ ['0', '༠'],
+ ['1', '༡'],
+ ['2', '༢'],
+ ['3', '༣'],
+ ['4', '༤'],
+ ['5', '༥'],
+ ['6', '༦'],
+ ['7', '༧'],
+ ['8', '༨'],
+ ['9', '༩'],
+ // sanskrit marks
+ ['H', 'ཿ'],
+ ['M', 'ཾ'],
+ ['~M', 'à¾'],
+ ['~M`', 'à¾'],
+ ['\\?', 'à¾'],
+ ['&', 'à¾
'],
+ // punctuation
+ [' ', 'à¼'],
+ ['\\*', 'à¼'],
+ ['\\/', 'à¼'],
+ ['\\/\\/', 'à¼'],
+ [';', 'à¼'],
+ ['\\|', 'à¼'],
+ ['\\!', 'à¼'],
+ ['\\:', 'à¼'],
+ ['_', ' '],
+ ['\\=', '༴'],
+ ['@', 'à¼'],
+ ['#', 'à¼
'],
+ ['\\$', 'à¼'],
+ ['%', 'à¼'],
+ ['<', '༺'],
+ ['>', '༻'],
+ ['\\(', '༼'],
+ ['\\)', '༽'],
+ ['~X', '༵'],
+ ['X', '༷'],
+ ['\\^', '༹']
+ ]
+ };
+
+ $.ime.register( boEWTS );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/brx/brx-inscript.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/brx/brx-inscript.js
new file mode 100644
index 0000000..e706d19
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/brx/brx-inscript.js
@@ -0,0 +1,112 @@
+( function ( $ ) {
+ 'use strict';
+
+ var brxInscript = {
+ id: 'brx-inscript',
+ name: 'Bodo Inscript',
+ description: 'Bodo Inscript input method',
+ date: '2012-10-10',
+ URL: 'http://github.com/wikimedia/jquery.ime',
+ author: 'Junaid P V',
+ license: 'GPLv3',
+ version: '1.0',
+ contextLength: 0,
+ maxKeyLength: 0,
+ patterns: [
+ ['X', '\u0901'],
+ ['x', '\u0902'],
+ ['_', '\u0903'],
+ ['D', '\u0905'],
+ ['E', '\u0906'],
+ ['F', '\u0907'],
+ ['R', '\u0908'],
+ ['G', '\u0909'],
+ ['T', '\u090A'],
+ ['\\+', '\u090B'],
+ ['S', '\u090F'],
+ ['W', '\u0910'],
+ ['A', '\u0913'],
+ ['Q', '\u0914'],
+ ['k', '\u0915'],
+ ['K', '\u0916'],
+ ['i', '\u0917'],
+ ['I', '\u0918'],
+ ['U', '\u0919'],
+ [';', '\u091A'],
+ ['\\:', '\u091B'],
+ ['p', '\u091C'],
+ ['P', '\u091D'],
+ ['\\}', '\u091E'],
+ ['\'', '\u091F'],
+ ['"', '\u0920'],
+ ['\\[', '\u0921'],
+ ['\\{', '\u0922'],
+ ['C', '\u0923'],
+ ['l', '\u0924'],
+ ['L', '\u0925'],
+ ['o', '\u0926'],
+ ['O', '\u0927'],
+ ['v', '\u0928'],
+ ['h', '\u092A'],
+ ['H', '\u092B'],
+ ['y', '\u092C'],
+ ['Y', '\u092D'],
+ ['c', '\u092E'],
+ ['/', '\u092F'],
+ ['j', '\u0930'],
+ ['n', '\u0932'],
+ ['b', '\u0935'],
+ ['M', '\u0936'],
+ ['\\<', '\u0937'],
+ ['m', '\u0938'],
+ ['u', '\u0939'],
+ ['\\]', '\u093C'],
+ ['e', '\u093E'],
+ ['f', '\u093F'],
+ ['r', '\u0940'],
+ ['g', '\u0941'],
+ ['t', '\u0942'],
+ ['\\=', '\u0943'],
+ ['s', '\u0947'],
+ ['w', '\u0948'],
+ ['a', '\u094B'],
+ ['q', '\u094C'],
+ ['d', '\u094D'],
+ ['\\>', '\u0964'],
+ ['0', '\u0966'],
+ ['1', '\u0967'],
+ ['2', '\u0968'],
+ ['3', '\u0969'],
+ ['4', '\u096A'],
+ ['5', '\u096B'],
+ ['6', '\u096C'],
+ ['7', '\u096D'],
+ ['8', '\u096E'],
+ ['9', '\u096F'],
+ ['\\#', '\u094D\u0930'],
+ ['\\$', '\u0930\u094D'],
+ ['\\%', '\u091C\u094D\u091E'],
+ ['\\^', '\u0924\u094D\u0930'],
+ ['\\&', '\u0915\u094D\u0937'],
+ ['\\*', '\u0936\u094D\u0930'],
+ ['\\(', '\u200D'],
+ ['\\)', '\u200C']],
+ patterns_x: [
+ ['F', '\u090C'],
+ ['N', '\u0933'],
+ ['\\>', '\u093D'],
+ ['\\=', '\u0944'],
+ ['X', '\u0950'],
+ ['e', '\u0951'],
+ ['d', '\u0952'],
+ ['\\+', '\u0960'],
+ ['R', '\u0961'],
+ ['f', '\u0962'],
+ ['r', '\u0963'],
+ ['\\.', '\u0965'],
+ [',', '\u0970'],
+ ['\\$', '\u20B9']]
+ };
+
+ $.ime.register( brxInscript );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/brx/brx-inscript2.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/brx/brx-inscript2.js
new file mode 100644
index 0000000..14bb0ff
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/brx/brx-inscript2.js
@@ -0,0 +1,117 @@
+( function ( $ ) {
+ 'use strict';
+
+ var brxInScript2 = {
+ id: 'brx-inscript2',
+ name: 'बà¥à¤¡à¥ à¤à¤¨à¤¸à¥à¤à¥à¤°à¤¿à¤ªà¥à¤ २',
+ description: 'Enhanced InScript keyboard for Bodo language',
+ date: '2013-20-13',
+ author: 'Parag Nemade',
+ license: 'GPLv3',
+ version: '1.0',
+ patterns: [
+ ['1', '१'],
+ ['2', '२'],
+ ['\\#", "à¥à¤°'],
+ ['3', '३'],
+ ['\\$', 'रà¥'],
+ ['4', '४'],
+ ['5', '५'],
+ ['6', '६'],
+ ['7', 'à¥'],
+ ['8', '८'],
+ ['\\(', '('],
+ ['9', '९'],
+ ['\\]', ']'],
+ ['0', '०'],
+ ['\\_", "à¤'],
+ ['\\-', '-'],
+ ['\\+', 'à¤'],
+ ['\\=', 'à¥'],
+ ['Q', 'à¤'],
+ ['q', 'à¥'],
+ ['W', 'à¤'],
+ ['w', 'à¥'],
+ ['E', 'à¤'],
+ ['e', 'ा'],
+ ['R', 'à¤'],
+ ['r', 'à¥'],
+ ['T', 'à¤'],
+ ['t', 'à¥'],
+ ['Y', 'à¤'],
+ ['y', 'ब'],
+ ['U', 'à¤'],
+ ['u', 'ह'],
+ ['I', 'à¤'],
+ ['i', 'à¤'],
+ ['O', 'ध'],
+ ['o', 'द'],
+ ['P', 'à¤'],
+ ['p', 'à¤'],
+ ['\\{', 'ढ'],
+ ['\\[', 'ड'],
+ ['\\}', 'à¤'],
+ ['\\]', '़'],
+ ['A', 'à¤'],
+ ['a', 'à¥'],
+ ['S', 'à¤'],
+ ['s', 'à¥'],
+ ['D', 'à¤
'],
+ ['d', 'à¥'],
+ ['F', 'à¤'],
+ ['f', 'ि'],
+ ['G', 'à¤'],
+ ['g', 'à¥'],
+ ['H', 'फ'],
+ ['h', 'प'],
+ ['j', 'र'],
+ ['K', 'à¤'],
+ ['k', 'à¤'],
+ ['L', 'थ'],
+ ['l', 'त'],
+ [':', 'à¤'],
+ [';', 'à¤'],
+ ['\"', 'ठ'],
+ ['\'', 'à¤'],
+ ['z', 'ʼ'],
+ ['X', 'à¤'],
+ ['x', 'à¤'],
+ ['C', 'ण'],
+ ['c', 'म'],
+ ['v', 'न'],
+ ['b', 'व'],
+ ['n', 'ल'],
+ ['M', 'श'],
+ ['m', 'स'],
+ ['\\<', 'ष'],
+ [',', ','],
+ ['\\>', '।'],
+ ['\\.', '.'],
+ ['/', 'य'],
+ ['\\%', 'à¤à¥à¤'],
+ ['\\^', 'तà¥à¤°'],
+ ['\\&', 'à¤à¥à¤·'],
+ ['\\*', 'शà¥à¤°']
+ ],
+ patterns_x: [
+ ['1', '\u200d'],
+ ['2', '\u200c'],
+ ['4', 'â¹'],
+ ['\\+', 'ॠ'],
+ ['\\=', 'à¥'],
+ ['e', 'à¥'],
+ ['i', 'à¥'],
+ ['R', 'ॡ'],
+ ['r', 'ॣ'],
+ ['d', 'à¥'],
+ ['F', 'à¤'],
+ ['f', 'ॢ'],
+ ['X', 'à¥'],
+ ['N', 'ळ'],
+ [',', '॰'],
+ ['\\>', 'ऽ'],
+ ['\\.', '॥']]
+ };
+
+ $.ime.register( brxInScript2 );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ckb/ckb-transliteration-arkbd.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ckb/ckb-transliteration-arkbd.js
new file mode 100644
index 0000000..77e98ea
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ckb/ckb-transliteration-arkbd.js
@@ -0,0 +1,103 @@
+( function ( $ ) {
+ 'use strict';
+
+ var ckbTransliterationArkbd = {
+ id: 'ckb-transliteration-arkbd',
+ name: 'باشÙÙرÛ',
+ description: 'Central Kurdish keyboard based on Arabic keyboard',
+ date: '2013-07-06',
+ URL: 'http://github.com/wikimedia/jquery.ime',
+ author: 'Ãalak',
+ license: 'GPLv3',
+ version: '1.0',
+ patterns: [
+ ['`', 'Ú'],
+ ['1', 'Ù¡'],
+ ['2', 'Ù¢'],
+ ['3', 'Ù£'],
+ ['4', 'Ù¤'],
+ ['5', 'Ù¥'],
+ ['6', 'Ù¦'],
+ ['7', 'Ù§'],
+ ['8', 'Ù¨'],
+ ['9', 'Ù©'],
+ ['0', 'Ù '],
+
+ ['q', 'Ú'],
+ ['w', 'ص'],
+ ['e', 'Ù¾'],
+ ['r', 'Ù'],
+ ['t', 'Ù'],
+ ['y', 'غ'],
+ ['u', 'ع'],
+ ['i', 'Ú¾'],
+ ['o', 'Ø®'],
+ ['p', 'Ø'],
+ ['\\[', 'ج'],
+ ['\\]', 'د'],
+
+ ['a', 'Ø´'],
+ ['s', 'س'],
+ ['d', 'Û'],
+ ['f', 'ب'],
+ ['g', 'Ù'],
+ ['h', 'ا'],
+ ['j', 'ت'],
+ ['k', 'Ù'],
+ ['l', 'Ù
'],
+ ['\\;', 'Ú©'],
+ ['\'', 'Ú¯'],
+
+ ['z', 'ئ'],
+ ['x', 'Ø¡'],
+ ['c', 'Û'],
+ ['v', 'ر'],
+ ['b', 'Ùا'],
+ ['n', 'Ù'],
+ ['m', 'Û'],
+ ['\\,', 'Ù'],
+ ['\\.', 'ز'],
+
+ ['\\%', 'Ùª'],
+ ['\\(', ')'],
+ ['\\)', '('],
+
+ ['Q', 'ض'],
+ ['W', '}'],
+ ['E', 'Ø«'],
+ ['R', '{'],
+ ['T', 'Ú¤'],
+ ['Y', 'Ø¥'],
+ ['U', 'Û'],
+ ['I', '\''],
+ ['O', '\"'],
+ ['P', 'Ø'],
+ ['\\{', '>'],
+ ['\\}', '<'],
+
+ ['A', '['],
+ ['S', ']'],
+ ['D', 'Û'],
+ ['F', ''],
+ ['G', 'Úµ'],
+ ['H', 'Ø£'],
+ ['J', 'Ù'],
+ ['K', 'Ø'],
+ ['L', '\\'],
+ ['\"', 'Ø·'],
+
+ ['Z', 'Ú'],
+ ['X', 'ÙÙ'],
+ ['C', 'ؤ'],
+ ['V', 'Ú'],
+ ['B', 'ڵا'],
+ ['N', 'Ø¢'],
+ ['M', 'Ø©'],
+ ['\\<', 'Ù«'],
+ ['\\>', '.'],
+ ['\\?', 'Ø']
+ ]
+ };
+
+ $.ime.register( ckbTransliterationArkbd );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ckb/ckb-transliteration-fakbd.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ckb/ckb-transliteration-fakbd.js
new file mode 100644
index 0000000..01cf59d
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ckb/ckb-transliteration-fakbd.js
@@ -0,0 +1,104 @@
+( function ( $ ) {
+ 'use strict';
+
+ var ckbTransliterationFakbd = {
+ id: 'ckb-transliteration-fakbd',
+ name: 'ÚÛÚÚ¾ÛڵاتÛ',
+ description: 'Central Kurdish keyboard based on Persian keyboard',
+ date: '2013-07-06',
+ URL: 'http://github.com/wikimedia/jquery.ime',
+ author: 'Ãalak',
+ license: 'GPLv3',
+ version: '1.0',
+ patterns: [
+ ['`', 'Ù¾'],
+ ['1', 'Ù¡'],
+ ['2', 'Ù¢'],
+ ['3', 'Ù£'],
+ ['4', 'Ù¤'],
+ ['5', 'Ù¥'],
+ ['6', 'Ù¦'],
+ ['7', 'Ù§'],
+ ['8', 'Ù¨'],
+ ['9', 'Ù©'],
+ ['0', 'Ù '],
+
+ ['q', 'Úµ'],
+ ['w', 'Û'],
+ ['e', 'Û'],
+ ['r', 'Ù'],
+ ['t', 'Ù'],
+ ['y', 'غ'],
+ ['u', 'ع'],
+ ['i', 'Û'],
+ ['o', 'Ø®'],
+ ['p', 'Ø'],
+ ['\\[', 'ج'],
+ ['\\]', 'Ú'],
+ ['\\\\', 'Ú'],
+
+ ['a', 'Ø´'],
+ ['s', 'س'],
+ ['d', 'Û'],
+ ['f', 'ب'],
+ ['g', 'Ù'],
+ ['h', 'ا'],
+ ['j', 'ت'],
+ ['k', 'Ù'],
+ ['l', 'Ù
'],
+ ['\\;', 'Ú©'],
+ ['\'', 'Ú¯'],
+
+ ['z', 'Ú¤'],
+ ['x', 'Ú¾'],
+ ['c', 'ز'],
+ ['v', 'ر'],
+ ['b', 'Ú'],
+ ['n', 'د'],
+ ['m', 'ئ'],
+ ['\\,', 'Ù'],
+ ['\\.', '.'],
+ ['/', '/'],
+
+ ['\\%', 'Ùª'],
+ ['\\(', ')'],
+ ['\\)', '('],
+
+ ['Q', 'ض'],
+ ['W', 'ص'],
+ ['E', 'Ø«'],
+ ['R', 'Ù'],
+ ['T', 'Ø'],
+ ['Y', 'Ø'],
+ ['U', '\\'],
+ ['I', ']'],
+ ['O', '['],
+ ['P', '\''],
+ ['\\{', '}'],
+ ['\\}', '{'],
+
+ ['A', 'Ú'],
+ ['S', 'Ø¥'],
+ ['D', 'Ù'],
+ ['F', 'Ø©'],
+ ['G', 'Û'],
+ ['H', 'Ø¢'],
+ ['J', 'Ù'],
+ ['K', '»'],
+ ['L', '«'],
+
+ ['Z', 'ظ'],
+ ['X', 'Ø·'],
+ ['C', 'Ú'],
+ ['V', 'ؤ'],
+ ['B', 'Ø°'],
+ ['N', '\u200cأ'],
+ ['M', 'Ø¡'],
+ ['\\<', '>'],
+ ['\\>', '<'],
+ ['\\?', 'Ø']
+ ]
+ };
+
+ $.ime.register( ckbTransliterationFakbd );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ckb/ckb-transliteration-lakbd.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ckb/ckb-transliteration-lakbd.js
new file mode 100644
index 0000000..f5bea06
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ckb/ckb-transliteration-lakbd.js
@@ -0,0 +1,100 @@
+( function ( $ ) {
+ 'use strict';
+
+ var ckbTransliterationLakbd = {
+ id: 'ckb-transliteration-lakbd',
+ name: 'ÙاتÛÙÛ',
+ description: 'Central Kurdish keyboard based on Latin keyboard',
+ date: '2013-07-06',
+ URL: 'http://github.com/wikimedia/jquery.ime',
+ author: 'Ãalak',
+ license: 'GPLv3',
+ version: '1.0',
+ patterns: [
+ ['1', 'Ù¡'],
+ ['2', 'Ù¢'],
+ ['3', 'Ù£'],
+ ['4', 'Ù¤'],
+ ['5', 'Ù¥'],
+ ['6', 'Ù¦'],
+ ['7', 'Ù§'],
+ ['8', 'Ù¨'],
+ ['9', 'Ù©'],
+ ['0', 'Ù '],
+
+ ['q', 'Ù'],
+ ['w', 'Ù'],
+ ['e', 'Û'],
+ ['r', 'ر'],
+ ['t', 'ت'],
+ ['y', 'Û'],
+ ['u', 'ئ'],
+ ['i', 'Ø'],
+ ['o', 'Û'],
+ ['p', 'Ù¾'],
+ ['\\[', ']'],
+ ['\\]', '['],
+
+ ['a', 'ا'],
+ ['s', 'س'],
+ ['d', 'د'],
+ ['f', 'Ù'],
+ ['g', 'Ú¯'],
+ ['h', 'Ú¾'],
+ ['j', 'Ú'],
+ ['k', 'Ú©'],
+ ['l', 'Ù'],
+ ['\\;', 'Ø'],
+
+ ['z', 'ز'],
+ ['x', 'Ø®'],
+ ['c', 'ج'],
+ ['v', 'Ú¤'],
+ ['b', 'ب'],
+ ['n', 'Ù'],
+ ['m', 'Ù
'],
+ ['\\,', 'Ø'],
+ ['\\.', '.'],
+
+ ['\\%', 'Ùª'],
+ ['\\(', ')'],
+ ['\\)', '('],
+
+ ['Q', 'Ú'],
+ ['W', 'ÙÙ'],
+ ['E', 'Û'],
+ ['R', 'Ú'],
+ ['T', 'Ø·'],
+ ['Y', 'Ù'],
+ ['U', 'Ø¡'],
+ ['I', 'ع'],
+ ['O', 'ؤ'],
+ ['P', 'Ø«'],
+ ['\\{', '}'],
+ ['\\}', '{'],
+
+ ['A', 'Ø¢'],
+ ['S', 'Ø´'],
+ ['D', 'Ø°'],
+ ['F', 'Ø¥'],
+ ['G', 'غ'],
+ ['H', 'Ù'],
+ ['J', 'Ø£'],
+ ['K', 'Ù'],
+ ['L', 'Úµ'],
+
+ ['Z', 'ض'],
+ ['X', 'ص'],
+ ['C', 'Ú'],
+ ['V', 'ظ'],
+ ['B', 'Ù'],
+ ['N', 'Ø©'],
+ ['M', 'Ù'],
+ ['\\<', '>'],
+ ['\\>', '<'],
+ ['\\?', 'Ø']
+ ]
+ };
+
+ $.ime.register( ckbTransliterationLakbd );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/cv/README.md b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/cv/README.md
new file mode 100644
index 0000000..069431a
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/cv/README.md
@@ -0,0 +1,26 @@
+Chuvash keyboard layouts
+========================
+
+This directory contains different Chuvash keyboard layouts.
+
+The Chuvash alphabet contains all the 33 letters from the Russian alphabet and
+four additional letters: Ó Ó Ò« Ó³
+
+
+Chuvash AltGr â ЧÄваÑла AltGr
+-----------------------------
+The default keyboard layout in [chuvash.org](http://chuvash.org) which uses
+the standard Russian keyboard layouts plus additional four Chuvash letters.
+They are typed using the AltGr button.
+
+Unfortunately only in firefox AltGr combinations work well.
+
+Chuvash Mercen â CÄvaÅ¡la Mercen
+-------------------------------
+This keyboard layout is based on [Mercen](https://sites.google.com/site/mercen77/)
+and comes from CVLat movement.
+
+"Chuvash Cyrillic"
+-----------------
+This keyboard layout is designed by IkÄruk and uses the number row buttons for
+adding the additional letters. No AltGr is needed.
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/cv/cv-cyr-altgr.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/cv/cv-cyr-altgr.js
new file mode 100644
index 0000000..176c97b
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/cv/cv-cyr-altgr.js
@@ -0,0 +1,120 @@
+// This Chuvash keyboard layout is the "official" layout
+// in chuvash.org
+// This implementation is based on ru-jcuken ime rule
+// which supports both transliteration mode and the native jcuken
+// Along them there are four Chuvash letters Ä Ä Ã§ ÿ
+// The keyboard layout is an agreement
+// of the Chuvash Language Committee 2009-03-12
+// http://comissi.chv.su/node/23
+// This layout differs from the agreement in that matter
+// that all letters are from the Cyrillic subset of Unicode
+
+( function ( $ ) {
+ 'use strict';
+
+ var cv = {
+ id: 'cv-cyr-altgr',
+ name: 'ЧÄваÑла (AltGr)',
+ description: 'AltGr пÑÑкÄÑÐ»Ä ÑÄÐ²Ð°Ñ ÑаÑÄмÄ',
+ date: '2013-03-24',
+ URL: 'http://comissi.chv.su/',
+ author: 'Anatoly Mironov, @mirontoli',
+ license: 'MIT',
+ version: '1.0',
+ patterns: [
+ ['Q', 'Ð'],
+ ['W', 'Ц'],
+ ['E', 'У'],
+ ['R', 'Ð'],
+ ['T', 'Ð'],
+ ['Y', 'Ð'],
+ ['U', 'Ð'],
+ ['I', 'Ш'],
+ ['O', 'Щ'],
+ ['P', 'Ð'],
+ ['{', 'Ð¥'],
+ ['}', 'Ъ'],
+ ['A', 'Ф'],
+ ['S', 'Ы'],
+ ['D', 'Ð'],
+ ['F', 'Ð'],
+ ['G', 'Ð'],
+ ['H', 'Ð '],
+ ['J', 'Ð'],
+ ['K', 'Ð'],
+ ['L', 'Ð'],
+ [':', 'Ð'],
+ ['"', 'Ð'],
+ ['Z', 'Я'],
+ ['X', 'Ч'],
+ ['C', 'С'],
+ ['V', 'Ð'],
+ ['B', 'Ð'],
+ ['N', 'Т'],
+ ['M', 'Ь'],
+ ['<', 'Ð'],
+ ['>', 'Ю'],
+ ['\\?', ','],
+
+ ['q', 'й'],
+ ['w', 'Ñ'],
+ ['e', 'Ñ'],
+ ['r', 'к'],
+ ['t', 'е'],
+ ['y', 'н'],
+ ['u', 'г'],
+ ['i', 'Ñ'],
+ ['o', 'Ñ'],
+ ['p', 'з'],
+ ['\\[', 'Ñ
'],
+ ['\\]', 'Ñ'],
+ ['a', 'Ñ'],
+ ['s', 'Ñ'],
+ ['d', 'в'],
+ ['f', 'а'],
+ ['g', 'п'],
+ ['h', 'Ñ'],
+ ['j', 'о'],
+ ['k', 'л'],
+ ['l', 'д'],
+ [';', 'ж'],
+ ['\'', 'Ñ'],
+ ['z', 'Ñ'],
+ ['x', 'Ñ'],
+ ['c', 'Ñ'],
+ ['v', 'м'],
+ ['b', 'и'],
+ ['n', 'Ñ'],
+ ['m', 'Ñ'],
+ [',', 'б'],
+ ['\\.', 'Ñ'],
+ ['/', '.'],
+
+ ['`', 'Ñ'],
+ ['~', 'Ð'],
+
+ // ! is the same // 1
+ ['@', '"'], // 2
+ ['#', 'â'], // 3
+ ['\\$', ';'], // 4
+ // '%' is the same // 5
+ ['^', ':'], // 6
+ ['&', '?'] // 7
+ // '*', '(' and ')' are the same // 8, 9, 0
+ ],
+ //support both qwerty and jcuken keyboards
+ patterns_x: [
+ ['f|а', 'Ó'],
+ ['F|Ð', 'Ó'],
+ ['t|е', 'Ó'],
+ ['T|Ð', 'Ó'],
+ ['c|Ñ', 'Ò«'],
+ ['C|С', 'Ҫ'],
+ ['e|Ñ', 'Ó³'],
+ ['E|У', 'Ӳ']
+ ]
+ };
+
+ $.ime.register( cv );
+
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/cv/cv-cyr-numbers.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/cv/cv-cyr-numbers.js
new file mode 100644
index 0000000..91a5713
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/cv/cv-cyr-numbers.js
@@ -0,0 +1,112 @@
+// This Chuvash keyboard layout is designed by IkÄruk
+// http://ru.wikipedia.org/wiki/ЧÑваÑÑкие_ÑаÑкладки_клавиаÑÑÑÑ#РаÑкладка_«Chuvash_Cyrillic»
+// This uses the number row of the keyboard
+// as it is in Sakha keyboard layout, in Bashkir, Slovak and many more
+// Some other keys are added which are often used in wikipedia editing
+// all letters are from the Cyrillic subset of Unicode
+
+( function ( $ ) {
+ 'use strict';
+
+ var cv = {
+ id: 'cv-cyr-numbers',
+ name: 'ЧÄваÑла (ЦиÑÑили)',
+ description: 'ÐкÄÑÑк ÑÑÑа Ñ
ÑнÄ, ÑиÑÑиÑене ÑÑÄ ÐºÑÑакан ÑаÑÄм',
+ date: '2013-03-24',
+ URL: 'http://comissi.chv.su/',
+ author: 'Anatoly Mironov, @mirontoli',
+ license: 'MIT',
+ version: '1.0',
+ patterns: [
+ ['Q', 'Ð'],
+ ['W', 'Ц'],
+ ['E', 'У'],
+ ['R', 'Ð'],
+ ['T', 'Ð'],
+ ['Y', 'Ð'],
+ ['U', 'Ð'],
+ ['I', 'Ш'],
+ ['O', 'Щ'],
+ ['P', 'Ð'],
+ ['{', 'Ð¥'],
+ ['}', 'Ъ'],
+ ['A', 'Ф'],
+ ['S', 'Ы'],
+ ['D', 'Ð'],
+ ['F', 'Ð'],
+ ['G', 'Ð'],
+ ['H', 'Ð '],
+ ['J', 'Ð'],
+ ['K', 'Ð'],
+ ['L', 'Ð'],
+ [':', 'Ð'],
+ ['"', 'Ð'],
+ ['Z', 'Я'],
+ ['X', 'Ч'],
+ ['C', 'С'],
+ ['V', 'Ð'],
+ ['B', 'Ð'],
+ ['N', 'Т'],
+ ['M', 'Ь'],
+ ['<', 'Ð'],
+ ['>', 'Ю'],
+ ['\\?', ','],
+
+ ['q', 'й'],
+ ['w', 'Ñ'],
+ ['e', 'Ñ'],
+ ['r', 'к'],
+ ['t', 'е'],
+ ['y', 'н'],
+ ['u', 'г'],
+ ['i', 'Ñ'],
+ ['o', 'Ñ'],
+ ['p', 'з'],
+ ['\\[', 'Ñ
'],
+ ['\\]', 'Ñ'],
+ ['a', 'Ñ'],
+ ['s', 'Ñ'],
+ ['d', 'в'],
+ ['f', 'а'],
+ ['g', 'п'],
+ ['h', 'Ñ'],
+ ['j', 'о'],
+ ['k', 'л'],
+ ['l', 'д'],
+ [';', 'ж'],
+ ['\'', 'Ñ'],
+ ['z', 'Ñ'],
+ ['x', 'Ñ'],
+ ['c', 'Ñ'],
+ ['v', 'м'],
+ ['b', 'и'],
+ ['n', 'Ñ'],
+ ['m', 'Ñ'],
+ [',', 'б'],
+ ['\\.', 'Ñ'],
+ ['/', '.'],
+
+ ['`', 'Ñ'],
+ ['~', 'Ð'],
+ ['1', '?'], // 1
+ ['2', '\''], // 2
+ ['@', '"'], // 2
+ ['3', 'Ò«'], // 3
+ ['#|â', 'Òª'], // 3
+ ['4', '|'], // 4
+ ['\\$', ';'], // 4
+ ['5', 'Ó³'], // 5
+ ['%', 'Ó²'], // 5
+ ['6', 'â'], // 6
+ ['\\^', ':'], // 6
+ ['7', 'Ó'], // 7
+ ['&|\\?', 'Ó'], // 7
+ ['8', 'Ó'], // 8
+ ['\\*', 'Ó'], // 8
+ ['9', '['], // 9
+ ['0', ']'] // 0
+ ]
+ };
+
+ $.ime.register( cv );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/cv/cv-lat-altgr.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/cv/cv-lat-altgr.js
new file mode 100644
index 0000000..a225293
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/cv/cv-lat-altgr.js
@@ -0,0 +1,33 @@
+// This Chuvash keyboard is a stripped version of latin Mercen
+// https://sites.google.com/site/mercen77/
+// http://cvlat.blogspot.com
+// only Chuvash diacritics are used, no additional letters for Turkish or dead keys implemented (for now?)
+
+( function ( $ ) {
+ 'use strict';
+
+ var cv = {
+ id: 'cv-lat-altgr',
+ name: 'CÄvaÅ¡la - Mercen',
+ description: 'CVLat usÄ kurakan Mercen',
+ date: '2013-03-21',
+ URL: 'https://sites.google.com/site/mercen77/',
+ author: 'Anatoly Mironov, @mirontoli',
+ license: 'MIT',
+ version: '1.0',
+ patterns_x: [
+ ['a', 'Ä'],
+ ['A', 'Ä'],
+ ['e', 'Ä'],
+ ['E', 'Ä'],
+ ['s', 'Å'],
+ ['S', 'Å'],
+ ['d|h', 'Å¡'],
+ ['D|H', 'Å '],
+ ['w|u', 'ü'],
+ ['W|U', 'Ã']
+ ]
+ };
+
+ $.ime.register( cv );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/cyrl/cyrl-palochka.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/cyrl/cyrl-palochka.js
new file mode 100644
index 0000000..f4e8d8e
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/cyrl/cyrl-palochka.js
@@ -0,0 +1,43 @@
+/**
+ * An input method for the Cyrillic alphabet with palochka, which is used by many languages in the
+ * North Caucasus region. Most keyboard layouts don't support this letter, so people frequently type
+ * other similarly looking characters instead, but this causes various problems, for example when
+ * automatically converting from uppercase to lowercase and vice-versa.
+ *
+ * This layout assumes that the standard Russian keyboard layout is used. All the rules produce the
+ * same character palochka, and the characters used are the same that are often used by the speakers
+ * of these languages online: 1. Latin small 'l'. 2. Latin capital 'I'. 3. Ukrainian capital 'Ð'. 4.
+ * Alt-1 (the digit one). 5. Alt-д (Cyrillic small 'de', on the same key as Latin 'l'). 6. Alt-Ñ
+ * (Cyrillic small 'sha', on the same key as Latin 'i'). 7. Alt-Ш (Cyrillic capital 'sha', on the
+ * same key as Latin 'I').
+ */
+
+( function ( $ ) {
+ 'use strict';
+ // All the characters are very similar in appearance,
+ // so it's better to give them names to avoid confusion.
+ var cyrlPalochka;
+
+ cyrlPalochka = {
+ id: 'cyrl-palochka',
+ name: 'Cyrillic Palochka',
+ description: 'Palochka input method for Cyrillic',
+ date: '2012-10-10',
+ URL: 'http://github.com/wikimedia/jquery.ime',
+ author: 'Amir E. Aharoni',
+ license: 'GPLv3',
+ version: '1.0',
+ patterns: [
+ [ 'l', 'Ó' ],
+ [ 'I', 'Ó' ],
+ [ 'Ð', 'Ó' ] ],
+ patterns_x: [
+ [ '1', 'Ó' ],
+ [ 'д', 'Ó' ],
+ [ 'Ñ', 'Ó' ],
+ [ 'Ш', 'Ó' ] ]
+ };
+
+ $.ime.register( cyrlPalochka );
+
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/da/da-normforms.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/da/da-normforms.js
new file mode 100644
index 0000000..382cd0f
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/da/da-normforms.js
@@ -0,0 +1,49 @@
+( function ( $ ) {
+ 'use strict';
+
+ var defs = {
+ id: 'da-normforms',
+ name: 'Dansk',
+ description: 'Danish input method with most common form transliterated',
+ date: '2012-12-04',
+ URL: 'http://www.evertype.com/alphabets/danish.pdf',
+ author: 'John Erling Blad',
+ license: 'GPLv3',
+ version: '1.0',
+ contextLength: 1,
+ maxKeyLength: 3,
+ patterns: [
+ // The most common transliterations
+ [ 'aa', 'Ã¥' ],
+ [ 'AA', 'Ã
' ],
+ [ 'Aa', 'Ã
' ],
+ [ 'ae', 'æ' ],
+ [ 'AE', 'Ã' ],
+ [ 'Ae', 'Ã' ],
+ [ 'oe', 'ø' ],
+ [ 'OE', 'Ã' ],
+ [ 'Oe', 'Ã' ],
+ // The previous as negated transliterations, mostly for names
+ [ 'Ã¥a', 'a', 'aa' ],
+ [ 'Ã
A', 'A', 'AA' ],
+ [ 'Ã
a', 'A', 'Aa' ],
+ [ 'Ã¥A', 'a', 'aA' ],
+ [ 'æe', 'e', 'ae' ],
+ [ 'ÃE', 'E', 'AE' ],
+ [ 'Ãe', 'E', 'Ae' ],
+ [ 'æE', 'e', 'aE' ],
+ [ 'øe', 'e', 'oe' ],
+ [ 'ÃE', 'E', 'OE' ],
+ [ 'Ãe', 'E', 'Oe' ], // this fails for some names like "Ãen"
+ [ 'øE', 'e', 'oE' ]
+ // historically similar forms
+ // "Ã
" is sometimes written as "Aa", and "Ã¥" as "aa", but in names
+ // it is not generally acceptable to use this transliteration. To
+ // handle those situations we need some oposite forms.
+ // There is a similar character "Ã
" for the length unit Angstrom,
+ // but this is not the upper case letter Ã
.
+ ]
+ };
+
+ $.ime.register( defs );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/de/de-transliteration.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/de/de-transliteration.js
new file mode 100644
index 0000000..b430819
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/de/de-transliteration.js
@@ -0,0 +1,27 @@
+( function ( $ ) {
+ 'use strict';
+
+ var de = {
+ id: 'de-transliteration',
+ name: 'Deutsch Tilde',
+ description: 'German input method',
+ date: '2012-11-20',
+ URL: 'http://github.com/wikimedia/jquery.ime',
+ author: 'Erik Moeller',
+ license: 'Public domain',
+ version: '1.0',
+ contextLength: 1,
+ maxKeyLength: 1,
+ patterns: [
+ [ '~A', 'Ã' ],
+ [ '~O', 'Ã' ],
+ [ '~U', 'Ã' ],
+ [ '~a', 'ä' ],
+ [ '~o', 'ö' ],
+ [ '~u', 'ü' ],
+ [ '~s', 'Ã' ],
+ [ '~S', 'Ã' ] ]
+ };
+
+ $.ime.register( de );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/doi/doi-inscript2.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/doi/doi-inscript2.js
new file mode 100644
index 0000000..52f095f
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/doi/doi-inscript2.js
@@ -0,0 +1,119 @@
+( function ( $ ) {
+ 'use strict';
+
+ var doiInScript2 = {
+ id: 'doi-inscript2',
+ name: 'डà¥à¤à¤°à¥ à¤à¤¨à¤¸à¥à¤à¥à¤°à¤¿à¤ªà¥à¤ २',
+ description: 'Enhanced InScript keyboard for Dogri language',
+ date: '2013-02-13',
+ author: 'Parag Nemade',
+ license: 'GPLv3',
+ version: '1.0',
+ patterns: [
+ ['1', '१'],
+ ['2', '२'],
+ ['\\#', 'à¥à¤°'],
+ ['3', '३'],
+ ['\\$', 'रà¥'],
+ ['4', '४'],
+ ['5', '५'],
+ ['6', '६'],
+ ['7', 'à¥'],
+ ['8', '८'],
+ ['\\(', '('],
+ ['9', '९'],
+ ['\\]', ']'],
+ ['0', '०'],
+ ['\\_', 'à¤'],
+ ['\\-', '-'],
+ ['\\+', 'à¤'],
+ ['\\=', 'à¥'],
+ ['Q', 'à¤'],
+ ['q", "à¥'],
+ ['W', 'à¤'],
+ ['w', 'à¥'],
+ ['E', 'à¤'],
+ ['e', 'ा'],
+ ['R', 'à¤'],
+ ['r', 'à¥'],
+ ['T', 'à¤'],
+ ['t', 'à¥'],
+ ['Y', 'à¤'],
+ ['y', 'ब'],
+ ['U', 'à¤'],
+ ['u', 'ह'],
+ ['I', 'à¤'],
+ ['i', 'à¤'],
+ ['O', 'ध'],
+ ['o', 'द'],
+ ['P', 'à¤'],
+ ['p', 'à¤'],
+ ['\\{', 'ढ'],
+ ['\\[', 'ड'],
+ ['\\}', 'à¤'],
+ ['\\]', '़'],
+ ['A', 'à¤'],
+ ['a', 'à¥'],
+ ['S', 'à¤'],
+ ['s', 'à¥'],
+ ['D', 'à¤
'],
+ ['d', 'à¥'],
+ ['F', 'à¤'],
+ ['f', 'ि'],
+ ['G', 'à¤'],
+ ['g', 'à¥'],
+ ['H', 'फ'],
+ ['h', 'प'],
+ ['j', 'र'],
+ ['K', 'à¤'],
+ ['k', 'à¤'],
+ ['L', 'थ'],
+ ['l', 'त'],
+ [':', 'à¤'],
+ [';', 'à¤'],
+ ['\"', 'ठ'],
+ ['\'', 'à¤'],
+ ['z', 'ʼ'],
+ ['X', 'à¤'],
+ ['C', 'ण'],
+ ['c', 'म'],
+ ['v', 'न'],
+ ['b', 'व'],
+ ['n', 'ल'],
+ ['M', 'श'],
+ ['m', 'स'],
+ ['\\<', 'ष'],
+ [',', ','],
+ ['\\>', '।'],
+ ['\\.', '.'],
+ ['/', 'य'],
+ ['\\%', 'à¤à¥à¤'],
+ ['\\^', 'तà¥à¤°'],
+ ['\\&', 'à¤à¥à¤·'],
+ ['\\*', 'शà¥à¤°']
+ ],
+ patterns_x: [
+ ['1', '\u200d'],
+ ['2', '\u200c'],
+ ['4', 'â¹'],
+ ['\\+', 'ॠ'],
+ ['\\=', 'à¥'],
+ ['e', 'à¥'],
+ ['i', 'à¥'],
+ ['R', 'ॡ'],
+ ['r', 'ॣ'],
+ ['p', 'à¥'],
+ ['\\{', 'à¥'],
+ ['\\[', 'à¥'],
+ ['d', 'à¥'],
+ ['F', 'à¤'],
+ ['f', 'ॢ'],
+ ['H', 'à¥'],
+ ['X', 'à¥'],
+ ['N', 'ळ'],
+ ['\\>', 'ऽ'],
+ ['\\.', '॥']]
+ };
+
+ $.ime.register( doiInScript2 );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/el/el-kbd.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/el/el-kbd.js
new file mode 100644
index 0000000..13d042d
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/el/el-kbd.js
@@ -0,0 +1,95 @@
+( function ( $ ) {
+ 'use strict';
+
+ var elKbd = {
+ id: 'el-kbd',
+ name: 'Greek kbd',
+ description: 'Greek kbd keyboard layout',
+ date: '2013-02-11',
+ URL: 'http://github.com/wikimedia/jquery.ime',
+ author: 'Parag Nemade',
+ license: 'GPLv3',
+ version: '1.0',
+ patterns: [
+ ['Ψi', 'Î'],
+ ['¨Îi', 'Î'],
+ ['Ψy', 'ΰ'],
+ ['¨Îy', 'ΰ'],
+ ['¨i', 'Ï'],
+ ['¨y', 'Ï'],
+ ['¨I', 'Ϊ'],
+ ['¨Y', 'Ϋ'],
+ ['Îa', 'ά'],
+ ['Îe', 'Î'],
+ ['Îh', 'ή'],
+ ['Îi', 'ί'],
+ ['Îo', 'Ï'],
+ ['Îy', 'Ï'],
+ ['Îv', 'Ï'],
+ ['ÎA', 'Î'],
+ ['ÎE', 'Î'],
+ ['ÎH', 'Î'],
+ ['ÎI', 'Î'],
+ ['ÎO', 'Î'],
+ ['ÎY', 'Î'],
+ ['ÎV', 'Î'],
+ ['q', ';'],
+ ['w', 'Ï'],
+ ['e', 'ε'],
+ ['r', 'Ï'],
+ ['t', 'Ï'],
+ ['y', 'Ï
'],
+ ['u', 'θ'],
+ ['i', 'ι'],
+ ['o', 'ο'],
+ ['p', 'Ï'],
+ ['\\[', '['],
+ ['\\]', ']'],
+ ['a', 'α'],
+ ['s', 'Ï'],
+ ['d', 'δ'],
+ ['f', 'Ï'],
+ ['g', 'γ'],
+ ['h', 'η'],
+ ['j', 'ξ'],
+ ['k', 'κ'],
+ ['l', 'λ'],
+ [';', 'Î'],
+ ['z', 'ζ'],
+ ['x', 'Ï'],
+ ['c', 'Ï'],
+ ['v', 'Ï'],
+ ['b', 'β'],
+ ['n', 'ν'],
+ ['m', 'μ'],
+ ['Q', ':'],
+ ['W', 'Σ'],
+ ['E', 'Î'],
+ ['R', 'Ρ'],
+ ['T', 'Τ'],
+ ['Y', 'Î¥'],
+ ['U', 'Î'],
+ ['I', 'Î'],
+ ['O', 'Î'],
+ ['P', 'Î '],
+ ['A', 'Î'],
+ ['S', 'Σ'],
+ ['D', 'Î'],
+ ['F', 'Φ'],
+ ['G', 'Î'],
+ ['H', 'Î'],
+ ['J', 'Î'],
+ ['K', 'Î'],
+ ['L', 'Î'],
+ [':', '¨'],
+ ['Z', 'Î'],
+ ['X', 'Χ'],
+ ['C', 'Ψ'],
+ ['V', 'Ω'],
+ ['B', 'Î'],
+ ['N', 'Î'],
+ ['M', 'Î']]
+ };
+
+ $.ime.register( elKbd );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/eo/eo-h-f.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/eo/eo-h-f.js
new file mode 100644
index 0000000..cecf1ae
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/eo/eo-h-f.js
@@ -0,0 +1,59 @@
+( function ( $ ) {
+ 'use strict';
+
+ var eoHF = {
+ id: 'eo-h-f',
+ name: 'Espernto h-f',
+ description: 'writing Esperanto-letters using Zamenhof\'s fundamental system.',
+ date: '2013-02-12',
+ URL: 'http://github.com/wikimedia/jquery.ime',
+ author: 'Parag Nemade',
+ license: 'GPLv3',
+ version: '1.0',
+ patterns: [
+ ['Äh', 'ch'],
+ ['Äh', 'gh'],
+ ['Ä¥h', 'hh'],
+ ['ĵh', 'jh'],
+ ['Åh', 'sh'],
+ ['aÅu', 'au'],
+ ['eÅu', 'eu'],
+ ['Äh', 'Ch'],
+ ['Äh', 'Gh'],
+ ['Ĥh', 'Hh'],
+ ['Ä´h', 'Jh'],
+ ['Åh', 'Sh'],
+ ['AÅu', 'Au'],
+ ['EÅu', 'Eu'],
+ ['ÄH', 'CH'],
+ ['ÄH', 'GH'],
+ ['ĤH', 'HH'],
+ ['Ä´H', 'JH'],
+ ['ÅH', 'SH'],
+ ['AŬU', 'AU'],
+ ['EŬU', 'EU'],
+ ['ch', 'Ä'],
+ ['gh', 'Ä'],
+ ['hh', 'Ä¥'],
+ ['jh', 'ĵ'],
+ ['sh', 'Å'],
+ ['au', 'aÅ'],
+ ['eu', 'eÅ'],
+ ['Ch', 'Ä'],
+ ['Gh', 'Ä'],
+ ['Hh', 'Ĥ'],
+ ['Jh', 'Ä´'],
+ ['Sh', 'Å'],
+ ['Au', 'AÅ'],
+ ['Eu', 'EÅ'],
+ ['CH', 'Ä'],
+ ['GH', 'Ä'],
+ ['HH', 'Ĥ'],
+ ['JH', 'Ä´'],
+ ['SH', 'Å'],
+ ['AU', 'AŬ'],
+ ['EU', 'EŬ']]
+ };
+
+ $.ime.register( eoHF );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/eo/eo-h.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/eo/eo-h.js
new file mode 100644
index 0000000..0fe4b89
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/eo/eo-h.js
@@ -0,0 +1,54 @@
+( function ( $ ) {
+ 'use strict';
+
+ var eoH = {
+ id: 'eo-h',
+ name: 'Esperanto h',
+ description: 'writing Esperanto-letters adding h\'s.',
+ date: '2013-02-12',
+ URL: 'http://github.com/wikimedia/jquery.ime',
+ author: 'Parag Nemade',
+ license: 'GPLv3',
+ version: '1.0',
+ patterns: [
+ ['Äh', 'ch'],
+ ['Äh', 'gh'],
+ ['Ä¥h', 'hh'],
+ ['ĵh', 'jh'],
+ ['Åh', 'sh'],
+ ['Åh', 'uh'],
+ ['Äh', 'Ch'],
+ ['Äh', 'Gh'],
+ ['Ĥh', 'Hh'],
+ ['Ä´h', 'Jh'],
+ ['Åh', 'Sh'],
+ ['Ŭh', 'Uh'],
+ ['ÄH', 'CH'],
+ ['ÄH', 'GH'],
+ ['ĤH', 'HH'],
+ ['Ä´H', 'JH'],
+ ['ÅH', 'SH'],
+ ['ŬH', 'UH'],
+
+ ['ch', 'Ä'],
+ ['gh', 'Ä'],
+ ['hh', 'Ä¥'],
+ ['jh', 'ĵ'],
+ ['sh', 'Å'],
+ ['uh', 'Å'],
+ ['Ch', 'Ä'],
+ ['Gh', 'Ä'],
+ ['Hh', 'Ĥ'],
+ ['Jh', 'Ä´'],
+ ['Sh', 'Å'],
+ ['Uh', 'Ŭ'],
+ ['CH', 'Ä'],
+ ['GH', 'Ä'],
+ ['HH', 'Ĥ'],
+ ['JH', 'Ä´'],
+ ['SH', 'Å'],
+ ['UH', 'Ŭ']]
+ };
+
+ $.ime.register( eoH );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/eo/eo-plena.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/eo/eo-plena.js
new file mode 100644
index 0000000..d0b529b
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/eo/eo-plena.js
@@ -0,0 +1,99 @@
+( function ( $ ) {
+ 'use strict';
+
+ var eoPlena = {
+ id: 'eo-plena',
+ name: 'Esperanto plena',
+ description: 'writing Esperanto-letters with the fundamental system and the X-system, like the default of EK.',
+ date: '2013-02-12',
+ URL: 'http://github.com/wikimedia/jquery.ime',
+ author: 'Parag Nemade',
+ license: 'GPLv3',
+ version: '1.0',
+ patterns: [
+ ['Äx', 'cx'],
+ ['Äx', 'gx'],
+ ['Ä¥x', 'hx'],
+ ['ĵx', 'jx'],
+ ['Åx', 'sx'],
+ ['Åx', 'ux'],
+ ['Äx', 'Cx'],
+ ['Äx', 'Gx'],
+ ['Ĥx', 'Hx'],
+ ['Ä´x', 'Jx'],
+ ['Åx', 'Sx'],
+ ['Ŭx', 'Ux'],
+ ['ÄX', 'CX'],
+ ['ÄX', 'GX'],
+ ['ĤX', 'HX'],
+ ['Ä´X', 'JX'],
+ ['ÅX', 'SX'],
+ ['ŬX', 'UX'],
+
+ ['Äh', 'ch'],
+ ['Äh', 'gh'],
+ ['Ä¥h', 'hh'],
+ ['ĵh', 'jh'],
+ ['Åh', 'sh'],
+ ['aÅu', 'au'],
+ ['eÅu', 'eu'],
+ ['Äh', 'Ch'],
+ ['Äh', 'Gh'],
+ ['Ĥh', 'Hh'],
+ ['Ä´h', 'Jh'],
+ ['Åh', 'Sh'],
+ ['AÅu', 'Au'],
+ ['EÅu', 'Eu'],
+ ['ÄH', 'CH'],
+ ['ÄH', 'GH'],
+ ['ĤH', 'HH'],
+ ['Ä´H', 'JH'],
+ ['ÅH', 'SH'],
+ ['AŬU', 'AU'],
+ ['EŬU', 'EU'],
+
+ ['cx', 'Ä'],
+ ['gx', 'Ä'],
+ ['hx', 'Ä¥'],
+ ['jx', 'ĵ'],
+ ['sx', 'Å'],
+ ['ux', 'Å'],
+ ['Cx', 'Ä'],
+ ['Gx', 'Ä'],
+ ['Hx', 'Ĥ'],
+ ['Jx', 'Ä´'],
+ ['Sx', 'Å'],
+ ['Ux', 'Ŭ'],
+ ['CX', 'Ä'],
+ ['GX', 'Ä'],
+ ['HX', 'Ĥ'],
+ ['JX', 'Ä´'],
+ ['SX', 'Å'],
+ ['UX', 'Ŭ'],
+
+ ['ch', 'Ä'],
+ ['gh', 'Ä'],
+ ['hh', 'Ä¥'],
+ ['jh', 'ĵ'],
+ ['sh', 'Å'],
+ ['au', 'aÅ'],
+ ['eu', 'eÅ'],
+ ['Ch', 'Ä'],
+ ['Gh', 'Ä'],
+ ['Hh', 'Ĥ'],
+ ['Jh', 'Ä´'],
+ ['Sh', 'Å'],
+ ['Au', 'AÅ'],
+ ['Eu', 'EÅ'],
+ ['CH', 'Ä'],
+ ['GH', 'Ä'],
+ ['HH', 'Ĥ'],
+ ['JH', 'Ä´'],
+ ['SH', 'Å'],
+ ['AU', 'AŬ'],
+ ['EU', 'EŬ']
+ ]
+ };
+
+ $.ime.register( eoPlena );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/eo/eo-q.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/eo/eo-q.js
new file mode 100644
index 0000000..978cdaa
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/eo/eo-q.js
@@ -0,0 +1,55 @@
+( function ( $ ) {
+ 'use strict';
+
+ var eoQ = {
+ id: 'eo-q',
+ name: 'Espernto q',
+ description: 'writing Esperanto-letters adding q\'s.',
+ date: '2013-02-09',
+ URL: 'http://github.com/wikimedia/jquery.ime',
+ author: 'Parag Nemade',
+ license: 'GPLv3',
+ version: '1.0',
+ patterns: [
+ ['Äq', 'cq'],
+ ['Äq', 'gq'],
+ ['Ä¥q', 'hq'],
+ ['ĵq', 'jq'],
+ ['Åq', 'sq'],
+ ['Åq', 'uq'],
+ ['Äq', 'Cq'],
+ ['Äq', 'Gq'],
+ ['Ĥq', 'Hq'],
+ ['Ä´q', 'Jq'],
+ ['Åq', 'Sq'],
+ ['Ŭq', 'Uq'],
+ ['ÄQ', 'CQ'],
+ ['ÄQ', 'GQ'],
+ ['ĤQ', 'HQ'],
+ ['Ä´Q', 'JQ'],
+ ['ÅQ', 'SQ'],
+ ['ŬQ', 'UQ'],
+
+ ['cq', 'Ä'],
+ ['gq', 'Ä'],
+ ['hq', 'Ä¥'],
+ ['jq', 'ĵ'],
+ ['sq', 'Å'],
+ ['uq', 'Å'],
+ ['Cq', 'Ä'],
+ ['Gq', 'Ä'],
+ ['Hq', 'Ĥ'],
+ ['Jq', 'Ä´'],
+ ['Sq', 'Å'],
+ ['Uq', 'Ŭ'],
+ ['CQ', 'Ä'],
+ ['GQ', 'Ä'],
+ ['HQ', 'Ĥ'],
+ ['JQ', 'Ä´'],
+ ['SQ', 'Å'],
+ ['UQ', 'Ŭ']]
+
+ };
+
+ $.ime.register( eoQ);
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/eo/eo-transliteration.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/eo/eo-transliteration.js
new file mode 100644
index 0000000..fa82fd6
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/eo/eo-transliteration.js
@@ -0,0 +1,45 @@
+( function ( $ ) {
+ 'use strict';
+
+ function prepareRules () {
+ var rules = [], chars;
+
+ chars = {
+ C: 'Ä',
+ G: 'Ä',
+ H: 'Ĥ',
+ J: 'Ä´',
+ S: 'Å',
+ U: 'Ŭ',
+ c: 'Ä',
+ g: 'Ä',
+ h: 'Ä¥',
+ j: 'ĵ',
+ s: 'Å',
+ u: 'Å'
+ };
+
+ $.each( chars, function ( ascii, accented ) {
+ rules.push( [ ascii + '[Xx]', ascii, accented ] );
+ rules.push( [ accented + '([Xx])', '[Xx]', ascii + '$1' ] );
+ } );
+
+ return rules;
+ }
+
+ var eoTransliteration = {
+ id: 'eo-transliteration',
+ name: 'Esperanto Transliteration',
+ description: 'Esperanto x-code transliteration',
+ date: '2012-10-10',
+ URL: 'http://github.com/wikimedia/jquery.ime',
+ author: 'Brion Vibber',
+ license: 'GPLv3',
+ version: '1.0',
+ contextLength: 1,
+ maxKeyLength: 1,
+ patterns: prepareRules()
+ };
+
+ $.ime.register( eoTransliteration );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/eo/eo-vi.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/eo/eo-vi.js
new file mode 100644
index 0000000..b1d0586
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/eo/eo-vi.js
@@ -0,0 +1,65 @@
+( function ( $ ) {
+ 'use strict';
+
+ var eoVi = {
+ id: 'eo-vi',
+ name: 'Esperanto vi',
+ description: 'writing Esperanto-letters using double key press (the X-system).',
+ date: '2013-02-12',
+ URL: 'http://github.com/wikimedia/jquery.ime',
+ author: 'Parag Nemade',
+ license: 'GPLv3',
+ version: '1.0',
+ patterns: [
+ ['Äc', 'cc'],
+ ['Äg', 'gg'],
+ ['Ä¥h', 'hh'],
+ ['ĵj', 'jj'],
+ ['Ås', 'ss'],
+ ['Åu', 'uu'],
+ ['Äc', 'Cc'],
+ ['Äg', 'Gg'],
+ ['Ĥh', 'Hh'],
+ ['Ä´j', 'Jj'],
+ ['Ås', 'Ss'],
+ ['Ŭu', 'Uu'],
+ ['aÅu', 'au'],
+ ['eÅu', 'eu'],
+ ['AÅu', 'Au'],
+ ['EÅu', 'Eu'],
+ ['AŬU', 'AU'],
+ ['EŬU', 'EU'],
+ ['ÄC', 'CC'],
+ ['ÄG', 'GG'],
+ ['ĤH', 'HH'],
+ ['Ä´J', 'JJ'],
+ ['ÅS', 'SS'],
+ ['ŬU', 'UU'],
+ ['cc', 'Ä'],
+ ['gg', 'Ä'],
+ ['hh', 'Ä¥'],
+ ['jj', 'ĵ'],
+ ['ss', 'Å'],
+ ['uu', 'Å'],
+ ['au', 'aÅ'],
+ ['eu', 'eÅ'],
+ ['Cc', 'Ä'],
+ ['Gg', 'Ä'],
+ ['Hh', 'Ĥ'],
+ ['Jj', 'Ä´'],
+ ['Ss', 'Å'],
+ ['Uu', 'Ŭ'],
+ ['Au', 'AÅ'],
+ ['Eu', 'EÅ'],
+ ['AU', 'AŬ'],
+ ['EU', 'EŬ'],
+ ['CC', 'Ä'],
+ ['GG', 'Ä'],
+ ['HH', 'Ĥ'],
+ ['JJ', 'Ä´'],
+ ['SS', 'Å'],
+ ['UU', 'Ŭ']]
+ };
+
+ $.ime.register( eoVi );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/eo/eo-x.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/eo/eo-x.js
new file mode 100644
index 0000000..3d7c96e
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/eo/eo-x.js
@@ -0,0 +1,53 @@
+( function ( $ ) {
+ 'use strict';
+
+ var eoX = {
+ id: 'eo-x',
+ name: 'Esperanto x',
+ description: 'writing Esperanto-letters adding x\'s (the X-system).',
+ date: '2013-02-12',
+ URL: 'http://github.com/wikimedia/jquery.ime',
+ author: 'Parag Nemade',
+ license: 'GPLv3',
+ version: '1.0',
+ patterns: [
+ ['Äx', 'cx'],
+ ['Äx', 'gx'],
+ ['Ä¥x', 'hx'],
+ ['ĵx', 'jx'],
+ ['Åx', 'sx'],
+ ['Åx', 'ux'],
+ ['Äx', 'Cx'],
+ ['Äx', 'Gx'],
+ ['Ĥx', 'Hx'],
+ ['Ä´x', 'Jx'],
+ ['Åx', 'Sx'],
+ ['Ŭx', 'Ux'],
+ ['ÄX', 'CX'],
+ ['ÄX', 'GX'],
+ ['ĤX', 'HX'],
+ ['Ä´X', 'JX'],
+ ['ÅX', 'SX'],
+ ['ŬX', 'UX'],
+ ['cx', 'Ä'],
+ ['gx', 'Ä'],
+ ['hx', 'Ä¥'],
+ ['jx', 'ĵ'],
+ ['sx', 'Å'],
+ ['ux', 'Å'],
+ ['Cx', 'Ä'],
+ ['Gx', 'Ä'],
+ ['Hx', 'Ĥ'],
+ ['Jx', 'Ä´'],
+ ['Sx', 'Å'],
+ ['Ux', 'Ŭ'],
+ ['CX', 'Ä'],
+ ['GX', 'Ä'],
+ ['HX', 'Ĥ'],
+ ['JX', 'Ä´'],
+ ['SX', 'Å'],
+ ['UX', 'Ŭ']]
+ };
+
+ $.ime.register( eoX );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/fa/fa-kbd.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/fa/fa-kbd.js
new file mode 100644
index 0000000..d042137
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/fa/fa-kbd.js
@@ -0,0 +1,167 @@
+( function ( $ ) {
+ 'use strict';
+
+ var faKbd = {
+ id: 'fa-kbd',
+ name: 'kbd',
+ description: 'Persian standard (ISIRI 9147) keyboard layout',
+ date: '2013-08-30',
+ URL: 'http://www.isiri.org/portal/files/std/9147.pdf',
+ author: 'Ebrahim Byagowi',
+ license: 'GPLv3',
+ version: '1.0',
+ patterns: [
+ ['`', '\u200d'],
+ ['1', 'Û±'],
+ ['2', 'Û²'],
+ ['3', 'Û³'],
+ ['4', 'Û´'],
+ ['5', 'Ûµ'],
+ ['6', 'Û¶'],
+ ['7', 'Û·'],
+ ['8', 'Û¸'],
+ ['9', 'Û¹'],
+ ['0', 'Û°'],
+
+ ['q', 'ض'],
+ ['w', 'ص'],
+ ['e', 'Ø«'],
+ ['r', 'Ù'],
+ ['t', 'Ù'],
+ ['y', 'غ'],
+ ['u', 'ع'],
+ ['i', 'Ù'],
+ ['o', 'Ø®'],
+ ['p', 'Ø'],
+ ['\\[', 'ج'],
+ ['\\]', 'Ú'],
+
+ ['a', 'Ø´'],
+ ['s', 'س'],
+ ['d', 'Û'],
+ ['f', 'ب'],
+ ['g', 'Ù'],
+ ['h', 'ا'],
+ ['j', 'ت'],
+ ['k', 'Ù'],
+ ['l', 'Ù
'],
+ [';', 'Ú©'],
+ ['\'', 'Ú¯'],
+
+ ['z', 'ظ'],
+ ['x', 'Ø·'],
+ ['c', 'ز'],
+ ['v', 'ر'],
+ ['b', 'Ø°'],
+ ['n', 'د'],
+ ['m', 'Ù¾'],
+ [',', 'Ù'],
+ ['\\.', '.'],
+ ['/', '/'],
+
+ ['~', '÷'],
+ ['\\!', '!'],
+ ['@', 'Ù¬'],
+ ['#', 'Ù«'],
+ ['\\$', 'ï·¼'],
+ ['%', 'Ùª'],
+ ['\\^', 'Ã'],
+ ['&', 'Ø'],
+ ['\\*', '*'],
+ ['\\(', ')'],
+ ['\\)', '('],
+ ['_', 'Ù'],
+
+ ['Q', 'Ù'],
+ ['W', 'Ù'],
+ ['E', 'Ù'],
+ ['R', 'Ù'],
+ ['T', 'Ù'],
+ ['Y', 'Ù'],
+ ['U', 'Ù'],
+ ['I', 'Ù'],
+ ['O', ']'],
+ ['P', '['],
+ ['\\{', '}'],
+ ['\\}', '{'],
+
+ ['A', 'ؤ'],
+ ['S', 'ئ'],
+ ['D', 'Ù'],
+ ['F', 'Ø¥'],
+ ['G', 'Ø£'],
+ ['H', 'Ø¢'],
+ ['J', 'Ø©'],
+ ['K', '»'],
+ ['L', '«'],
+ ['\\:', ':'],
+ ['"', 'Ø'],
+
+ ['Z', 'Ù'],
+ ['X', 'Ù'],
+ ['C', 'Ú'],
+ ['V', 'Ù°'],
+ ['B', '\u200c'],
+ ['N', 'Ù'],
+ ['M', 'Ø¡'],
+ ['<', '>'],
+ ['>', '<'],
+ ['\\?', 'Ø']
+ ],
+ patterns_x: [
+ ['`', '~'],
+ ['1', '`'],
+ ['2', '@'],
+ ['3', '#'],
+ ['4', '$'],
+ ['5', '%'],
+ ['6', '^'],
+ ['7', '&'],
+ ['8', 'â¢'],
+ ['9', '\u200e'],
+ ['0', '\u200f'],
+
+ ['q', '°'],
+ ['w', ''],
+ ['e', 'â¬'],
+ ['r', ''],
+ ['t', ''],
+ ['y', ''],
+ ['u', ''],
+ ['i', '\u202d'],
+ ['o', '\u202e'],
+ ['p', '\u202c'],
+ ['\\[', '\u202a'],
+ ['\\]', '\u202b'],
+
+ ['a', ''],
+ ['s', ''],
+ ['d', 'Ù'],
+ ['f', ''],
+ ['g', ''],
+ ['h', 'Ù±'],
+ ['j', ''],
+ ['k', 'ï´¾'],
+ ['l', 'ï´¿'],
+ [';', ';'],
+ ['\'', '"'],
+
+ ['z', ''],
+ ['x', ''],
+ ['c', ''],
+ ['v', 'Ù'],
+ ['b', '\u200d'],
+ ['n', 'Ù'],
+ ['m', 'â¦'],
+ [',', ','],
+ ['\\.', '\''],
+ ['/', '?'],
+ [' ', '\xa0']
+ ],
+ patterns_shift: [
+ [' ', '\u200c']
+ ]
+ };
+
+ $.ime.register( faKbd );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/fi/fi-transliteration.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/fi/fi-transliteration.js
new file mode 100644
index 0000000..15e7044
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/fi/fi-transliteration.js
@@ -0,0 +1,32 @@
+( function ( $ ) {
+ 'use strict';
+
+ var fiTransliteration = {
+ id: 'fi-transliteration',
+ name: 'translitterointi',
+ description: 'Finnish transliteration',
+ date: '2012-11-10',
+ URL: 'http://github.com/wikimedia/jquery.ime',
+ author: 'Niklas Laxström',
+ license: 'GPLv3',
+ version: '1.0',
+ contextLength: 0,
+ maxKeyLength: 2,
+ patterns: [
+ ['\\.a', 'Ã¥'],
+ ['\\.A', 'Ã
'],
+ [':a', 'ä'],
+ [':A', 'Ã'],
+ [':o', 'ö'],
+ [':O', 'Ã'],
+ ['shh', 'Å¡'],
+ ['Shh', 'Å '],
+ ['\\.e', 'â¬']
+ ],
+ patterns_x: [
+ ['e', 'â¬']
+ ]
+ };
+
+ $.ime.register( fiTransliteration );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/fo/fo-normforms.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/fo/fo-normforms.js
new file mode 100644
index 0000000..460cb22
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/fo/fo-normforms.js
@@ -0,0 +1,65 @@
+( function ( $ ) {
+ 'use strict';
+
+ var defs = {
+ id: 'fo-normforms',
+ name: 'Føroyskt',
+ description: 'Faroese input method with most common form transliterated',
+ date: '2012-12-04',
+ URL: 'http://www.evertype.com/alphabets/faroese.pdf',
+ author: 'John Erling Blad',
+ license: 'GPLv3',
+ version: '1.0',
+ contextLength: 1,
+ maxKeyLength: 3,
+ patterns: [
+ // Uses "'" as an accent
+ [ '\'a', 'á' ],
+ [ '\'A', 'Ã' ],
+ [ '\'i', 'Ã' ],
+ [ '\'I', 'Ã' ],
+ [ '\'o', 'ó' ],
+ [ '\'O', 'Ã' ],
+ [ '\'u', 'ú' ],
+ [ '\'U', 'Ã' ],
+ [ '\'y', 'ý' ],
+ [ '\'Y', 'Ã' ],
+ // Uses "~" as "approximatly similar to"
+ [ '~d', 'ð' ],
+ [ '~D', 'Ã' ],
+ [ '~o', 'ö' ],
+ [ '~O', 'Ã' ],
+ // The most common transliterations (also the Danish letters)
+ [ 'aa', 'Ã¥' ],
+ [ 'AA', 'Ã
' ],
+ [ 'Aa', 'Ã
' ],
+ [ 'ae', 'æ' ],
+ [ 'AE', 'Ã' ],
+ [ 'Ae', 'Ã' ],
+ [ 'oe', 'ø' ],
+ [ 'OE', 'Ã' ],
+ [ 'Oe', 'Ã' ],
+ // The previous as negated transliterations, mostly for names
+ [ 'Ã¥a', 'a', 'aa' ],
+ [ 'Ã
A', 'A', 'AA' ],
+ [ 'Ã
a', 'A', 'Aa' ],
+ [ 'Ã¥A', 'a', 'aA' ],
+ [ 'æe', 'e', 'ae' ],
+ [ 'ÃE', 'E', 'AE' ],
+ [ 'Ãe', 'E', 'Ae' ],
+ [ 'æE', 'e', 'aE' ],
+ [ 'øe', 'e', 'oe' ],
+ [ 'ÃE', 'E', 'OE' ],
+ [ 'Ãe', 'E', 'Oe' ], // this fails for some names like "Ãen"
+ [ 'øE', 'e', 'oE' ]
+ // historically similar forms
+ // "Ã
" is sometimes written as "Aa", and "Ã¥" as "aa", but in names
+ // it is not generally acceptable to use this transliteration. To
+ // handle those situations we need some oposite forms.
+ // There is a similar character "Ã
" for the length unit Angstrom,
+ // but this is not the upper case letter Ã
.
+ ]
+ };
+
+ $.ime.register( defs );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/fonipa/ipa-sil.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/fonipa/ipa-sil.js
new file mode 100644
index 0000000..5dde561
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/fonipa/ipa-sil.js
@@ -0,0 +1,240 @@
+( function ( $ ) {
+ 'use strict';
+
+ var ipaSil = {
+ id: 'ipa-sil',
+ name: 'International Phonetic Alphabet - SIL',
+ description: 'International Phonetic Alphabet - SIL',
+ date: '2012-11-23',
+ URL: 'http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=UniIPAKeyboard',
+ author: 'mapping by Martin Hosken and Lorna A. Priest; implementation by Amir E. Aharoni',
+ license: 'GPLv3',
+ version: '1.0',
+ contextLength: 0,
+ maxKeyLength: 2,
+ patterns: [
+ ['B=', 'Ê'],
+ ['f=', 'ɸ'],
+ ['b=', 'β'],
+
+ ['m>', 'ɱ'],
+ ['v<', 'â±±'],
+ ['v=', 'Ê'],
+
+ ['t=', 'θ'],
+ ['d=', 'ð'],
+
+ ['r>', 'ɾ'],
+ ['l=', 'ɬ'],
+ ['l>', 'É®'],
+ ['r=', 'ɹ'],
+
+ ['s=', 'Ê'],
+ ['z=', 'Ê'],
+
+ ['t<', 'Ê'],
+ ['d<', 'É'],
+ ['n<', 'ɳ'],
+ ['r<', 'ɽ'],
+ ['s<', 'Ê'],
+ ['z<', 'Ê'],
+ ['R<', 'É»'],
+ ['l<', 'É'],
+
+ ['j=', 'É'],
+ ['n=', 'ɲ'],
+ ['c=', 'ç'],
+ ['j<', 'Ê'],
+ ['L<', 'Ê'],
+
+ ['g<', 'É¡'],
+ ['n>', 'Å'],
+ ['g=', 'É£'],
+ ['w>', 'É°'],
+ ['L=', 'Ê'],
+
+ ['G=', 'É¢'],
+ ['N=', 'É´'],
+ ['R=', 'Ê'],
+ ['x=', 'Ï'],
+ ['R>', 'Ê'],
+
+ ['h>', 'ħ'],
+ ['\\?<', 'Ê'],
+
+ ['\\?=', 'Ê'],
+ ['h<', 'ɦ'],
+
+ ['p=', 'Ê'],
+ ['Ç<', 'Ç'], // This is not an exclamation mark
+ ['!', 'Ç'],
+ ['Ç=', 'Ç'], // This is not an exclamation mark
+ ['Ç>', 'Ç'], // This is not an exclamation mark
+
+ ['b>', 'É'],
+ ['d>', 'É'],
+ ['j>', 'Ê'],
+ ['g>', 'É '],
+ ['G>', 'Ê'],
+
+ ['w=', 'Ê'],
+ ['y<', 'É¥'],
+ ['h=', 'É¥'],
+ ['H=', 'Ê'],
+ ['Q<', 'Ê¢'],
+ ['Q=', 'Ê¡'],
+ // TODO non-IPA retroflex hooks
+
+ ['c<', 'É'],
+ ['z>', 'Ê'],
+ ['L>', 'ɺ'],
+ ['H<', 'ɧ'],
+
+ ['i=', 'ɪ'],
+ ['e<', 'É'],
+ ['a<', 'æ'],
+
+ ['y=', 'Ê'],
+ ['o>', 'ø'],
+ ['E<', 'Å'],
+ ['E>', 'ɶ'],
+
+ ['I=', 'ɨ'],
+ ['E=', 'É'],
+ ['e=', 'É'],
+ ['e>', 'É'],
+ ['a>', 'É'],
+ ['U=', 'Ê'],
+ ['O=', 'ɵ'],
+ ['O<', 'É'],
+
+ ['u=', 'ɯ'],
+ ['O>', 'ɤ'],
+ ['u>', 'Ê'],
+ ['a=', 'É'],
+ ['u', 'u'],
+ ['u<', 'Ê'],
+ ['o<', 'É'],
+ ['o=', 'É'],
+
+ ['Ë}', 'Ë'], // }}
+ ['}', 'Ë'],
+ ['Ë:', 'Ë'], // ::
+ ['Ë:', 'ËË'], // ::: // Not IPA sanctioned
+ [':', 'Ë'],
+ ['\\*\\*\\*', '\u0306'], // Combining breve
+ ['\\.<', '|'],
+ ['\\.=', 'â'],
+ ['#=', 'â¿'],
+
+ // Tones
+ ['([Ë¥-Ë©])4', '$1Ë¥'],
+ ['([˥-˩])3', '$1˦'],
+ ['([˥-˩])2', '$1˧'],
+ ['([˥-˩])1', '$1˨'],
+ ['([Ë¥-Ë©])0', '$1Ë©'],
+ ['#4', 'Ë¥'],
+ ['#3', '˦'],
+ ['#2', '˧'],
+ ['#1', '˨'],
+ ['#0', 'Ë©'],
+ ['(?:\u0300)3', '\u030C'], // @13 - Combining caron
+ ['(?:\u0301)1', '\u0302'], // @31 - Combining circumflex accent
+ ['(?:\u0304)3', '\u1dc4'], // @23 - Combining macron-acute
+ ['(?:\u0300)2', '\u1dc5'], // @12 - Combining grave-macron
+ ['(?:\u030C)1', '\u1dc8'], // @131 - Combining grave-acute-grave
+ ['(?:\u0304)1', '\u1dc6'], // @21 - Combining macron-grave // Not IPA sanctioned
+ ['(?:\u0301)2', '\u1dc7'], // @32 - Combining acute-macron // Not IPA sanctioned
+ ['(?:\u0302)3', '\u1dc9'], // @313 - Combining acute-grave-acute // Not IPA sanctioned
+ ['(?:\u030a)4', '\u030b'], // Combining double acute accent
+ ['(?:\u030a)3', '\u0301'], // Combining acute accent
+ ['(?:\u030a)2', '\u0304'], // Combining macron
+ ['(?:\u030a)1', '\u0300'], // Combining grave accent
+ ['(?:\u030a)0', '\u030f'], // Combining double grave accent
+
+ // Tone numbers (non-IPA)
+ ['\\^0', 'â°'], // Not IPA sanctioned
+ ['\\^1', '¹'], // Not IPA sanctioned
+ ['\\^2', '²'], // Not IPA sanctioned
+ ['\\^3', '³'], // Not IPA sanctioned
+ ['\\^4', 'â´'], // Not IPA sanctioned
+ ['\\^5', 'âµ'], // Not IPA sanctioned
+ ['\\^6', 'â¶'], // Not IPA sanctioned
+ ['\\^7', 'â·'], // Not IPA sanctioned
+ ['\\^8', 'â¸'], // Not IPA sanctioned
+ ['\\^9', 'â¹'], // Not IPA sanctioned
+ // This character is called "Superscript hyphen" in the layout document,
+ // and "Superscript minus" in Unicode
+ ['\\^-', 'â»'], // Not IPA sanctioned
+
+ ['ê>', 'â'], // #>>
+ ['ê<', 'â'], // #<<
+ ['#<', 'ê'],
+ ['#>', 'ê'],
+
+ // Diacritics and suprasegmentals
+ ['h\\^', 'Ê°'],
+ ['w\\^', 'Ê·'],
+ ['j\\^', 'ʲ'],
+ ['É£\\^', 'Ë '], // g=
+ ['Ê\\^', 'ˤ'], // ?<
+ ['n\\^', 'â¿'],
+ ['l\\^', 'Ë¡'],
+ // TODO non-IPA superscripts
+
+ ['ʽ\\[', 'Ë'], // [[[
+ ['\\[\\[', 'ʽ'], // [[ // Not IPA sanctioned
+ ['(?:\u031a)\\]', 'â'], // ]]]] // Not IPA sanctioned
+ ['ʼ\\]', '\u031a'], // ]]] // Combining left angle above
+ ['\\]\\]', 'ʼ'], // ]]
+
+ ['(?:\u032f)\\$', '\u0330'], // $$$ // Combining tilde below
+ ['(?:\u0329)\\$', '\u032f'], // $$ // Combining inverted breve below
+ ['\\$', '\u0329'], // $ // Combining vertical line below
+
+ // TODO non-IPA retroflex hooks
+
+ ['(?:\u032c)%', '\u0324'], // %%% // Combining diaeresis below
+ ['(?:\u0325)%', '\u032c'], // %% // Combining caron below
+ ['%', '\u0325'], // % // Combining ring below
+
+ // TODO non-IPA palatal hooks
+
+ ['@', '\u030a'], // Combining ring above
+
+ ['(?:\u033c)\\{', '\u0323'], // {{{{{ // Combining dot below
+ ['(?:\u033b)\\{', '\u033c'], // {{{{ // Combining seagull below
+ ['(?:\u033a)\\{', '\u033b'], // {{{ // Combining square below
+ ['(?:\u032a)\\{', '\u033a'], // {{ // Combining inverted bridge below
+ ['\\{', '\u032a'], // { // Combining bridge below
+
+ ['(?:\u0303)~', '\u0334'], // ~~ // Combining tilde overlay
+ ['~', '\u0303'], // ~ // Combining tilde
+
+ ['(?:\u0306)\\*', '\u0307'], // **** // Combining dot above
+ ['(?:\u033d)\\*', '\u0306'], // *** // Combining breve
+ ['(?:\u0308)\\*', '\u033d'], // ** // Combining x above
+ ['\\*', '\u0308'], // * // Combining diaeresis
+
+ // TODO Find out what the m with the five asterisks is.
+
+ ['#&', '\u0361'], // Combining double inverted breve
+ ['(?:\u030a)&', '\u035c'], // @& // Combining double breve below
+
+ ['(?:\u0318)\\+', '\u0339'], // ++++ // Combining right half ring below
+ ['(?:\u0319)_', '\u031c'], // ____ // Combining left half ring below
+ ['(?:\u031d)\\+', '\u0318'], // +++ // Combining left tack below
+ ['(?:\u031e)_', '\u0319'], // ___ // Combining right tack below
+ ['(?:\u031f)\\+', '\u031d'], // ++ // Combining up tack below
+ ['(?:\u0320)_', '\u031e'], // __ // Combining down tack below
+ ['\\+', '\u031f'], // + // Combining plus sign below
+ ['_', '\u0320'], // _ // Combining minus sign below
+
+ ['=>', 'â'], // Not IPA sanctioned
+ ['s>', 'Ï'], // Not IPA sanctioned
+ ['=<', '\u200d'] // Combining Grapheme Joiner
+ ]
+ };
+
+ $.ime.register( ipaSil );
+} ( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/fonipa/ipa-x-sampa.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/fonipa/ipa-x-sampa.js
new file mode 100644
index 0000000..546401a
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/fonipa/ipa-x-sampa.js
@@ -0,0 +1,189 @@
+( function ( $ ) {
+ 'use strict';
+
+ var ipaSil = {
+ id: 'ipa-x-sampa',
+ name: 'International Phonetic Alphabet - X-SAMPA',
+ description: 'International Phonetic Alphabet - X-SAMPA',
+ date: '2012-11-26',
+ URL: 'http://www.phon.ucl.ac.uk/home/sampa/x-sampa.htm',
+ author: 'mapping by John C. Wells; implementation by Amir E. Aharoni',
+ license: 'GPLv3',
+ version: '1.0',
+ contextLength: 0,
+ maxKeyLength: 4,
+ patterns: [
+ // Tones
+ ['_/', '\u030C'], // Combining caron
+ ['_\\\\', '\u0302'], // Combining circumflex accent
+ ['_É¥_T', '\u1dc4'], // _H_T - Combining macron-acute
+ ['_β_L', '\u1dc5'], // _B_L - Combining grave-macron
+ ['_Ê_F', '\u1dc8'], // _R_F - Combining grave-acute-grave
+
+ ['β\\\\', 'Ê'],
+ ['p\\\\', 'ɸ'],
+ ['B', 'β'],
+
+ ['F', 'ɱ'],
+ // â±± is not in X-SAMPA
+ ['P', 'Ê'],
+ ['v\\\\', 'Ê'],
+
+ ['T', 'θ'],
+ ['D', 'ð'],
+
+ ['4', 'ɾ'],
+ ['K', 'ɬ'],
+ ['ɬ\\\\', 'ɮ'],
+ ['r\\\\', 'ɹ'],
+
+ ['S', 'Ê'],
+ ['Z', 'Ê'],
+
+ ['t`', 'Ê'],
+ ['d`', 'É'],
+ ['n`', 'ɳ'],
+ ['r`', 'ɽ'],
+ ['s`', 'Ê'],
+ ['z`', 'Ê'],
+ ['ɹ`', 'ɻ'],
+ ['l`', 'É'],
+
+ ['ɲ\\\\', 'É'],
+ ['J', 'ɲ'],
+ ['C', 'ç'],
+ ['j\\\\', 'Ê'],
+ ['L', 'Ê'],
+
+ ['g', 'É¡'],
+ ['_N', '\u033c'], // Combining seagull below
+ ['N', 'Å'],
+ ['_G', 'Ë '],
+ ['G', 'É£'],
+ ['ɯ\\\\', 'ɰ'],
+ ['Ê\\\\', 'Ê'],
+
+ ['É£\\\\', 'É¢'],
+ ['Å\\\\', 'É´'],
+ ['Ê\\\\', 'Ê'],
+ ['_X', '\u0306'], // Combining breve
+ ['X', 'Ï'],
+ ['R', 'Ê'],
+
+ ['Ï\\\\', 'ħ'],
+ ['_Ê\\\\', 'ˤ'],
+ ['Ê\\\\', 'Ê'],
+
+ ['\\?', 'Ê'],
+ ['h\\\\', 'ɦ'],
+
+ ['É\\\\', 'Ê'],
+ ['Ç\\|\\\\', 'Ç'],
+ ['\\|\\\\', 'Ç'],
+ ['ê\\\\', 'Ç'], // !\ -> Retroflex (postalveolar) click
+ ['_?=', '\u0329'], // Combining vertical line below
+ ['\u0329\\\\', 'Ç'],
+
+ ['b_<', 'É'],
+ ['d_<', 'É'],
+ ['É_<', 'Ê'],
+ ['É¡_<', 'É '],
+ ['É¢_<', 'Ê'],
+
+ ['W', 'Ê'],
+ ['H', 'É¥'],
+ ['É¥\\\\', 'Ê'],
+ ['<\\\\', 'Ê¢'],
+ ['>\\\\', 'Ê¡'],
+
+ ['s\\\\', 'É'],
+ ['z\\\\', 'Ê'],
+ ['l\\\\', 'ɺ'],
+ ['x\\\\', 'ɧ'],
+
+ ['I', 'ɪ'],
+ ['E', 'É'],
+ ['\\{', 'æ'],
+
+ ['Y', 'Ê'],
+ ['2', 'ø'],
+ ['9', 'Å'],
+ ['&', 'ɶ'],
+
+ ['1', 'ɨ'],
+ ['É\\\\', 'É'],
+ ['@', 'É'],
+ ['É\\\\', 'É'],
+ ['3', 'É'],
+ ['6', 'É'],
+ ['_\\}', '\u031a'],
+ ['\\}', 'Ê'],
+ ['8', 'ɵ'],
+
+ ['M', 'ɯ'],
+ ['7', 'ɤ'],
+ ['V', 'Ê'],
+ ['_A', '\u0318'], // Combining right tack below
+ ['A', 'É'],
+ ['U', 'Ê'],
+ ['_O', '\u0339'], // ++++ // Combining right half ring below
+ ['O', 'É'],
+ ['Q', 'É'],
+
+ ['%', 'Ë'],
+ ['_"', '\u0308'], // Combining diaeresis
+ ['"', 'Ë'],
+ ['Ë\\\\', 'Ë'],
+ [':', 'Ë'],
+ ['\\.<', '|'],
+ ['\\|\\|', 'â'],
+ ['-\\\\', 'â¿'],
+
+ ['<Ê>', 'â'], // <R>
+ ['<ɱ>', 'â'], // <F>
+ ['!', 'ê'],
+ ['_\\^', '\u032f'], // Combining inverted breve below
+ ['\\^', 'ê'],
+
+ // Diacritics and suprasegmentals
+ ['_h', 'Ê°'],
+ ['_w', 'Ê·'],
+ ['_j', 'ʲ'],
+ // see above for Ë
+ // see above for ˤ
+ ['_n', 'â¿'],
+ ['_l', 'Ë¡'],
+
+ ['`', 'Ë'],
+ ['_>', 'ʼ'],
+ // See above for No audible release
+ // See above for Syllabic
+ // See above for Non-syllabic
+ ['_k', '\u0330'], // Combining tilde below
+
+ ['([ɱɮɳÉÊɻɽÉɲÉÊjÅɡɣɰ])_0', '$1\u030a'], // Combining ring above
+ ['(.)_0', '$1\u0325'], // Combining ring below
+ ['_v', '\u032c'], // Combining caron below
+ ['_t', '\u0324'], // Combining diaeresis below
+ ['_d', '\u032a'], // Combining bridge below
+ ['_a', '\u033a'], // Combining inverted bridge below
+ ['_m', '\u033b'], // Combining square below
+ // See above for linguolabial
+ ['_?~', '\u0303'], // Combining tilde
+ ['_e', '\u0334'], // Combining tilde overlay
+ // See above for centralised
+ ['_x', '\u033d'], // Combining x above
+ // See above for extra short
+ ['_\\+', '\u031f'], // Combining plus sign below
+ ['_-', '\u0320'], // Combining minus sign below
+ ['_r', '\u031d'], // Combining up tack below
+ ['_o', '\u031e'], // Combining down tack below
+ // See above for advanced tongue root
+ ['_q', '\u0319'], // Combining left tack below
+ // See above for more rounded
+ ['_c', '\u031c']
+ ]
+ };
+
+ $.ime.register( ipaSil );
+} ( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/gom/gom-inscript2.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/gom/gom-inscript2.js
new file mode 100644
index 0000000..49d8aee
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/gom/gom-inscript2.js
@@ -0,0 +1,119 @@
+( function ( $ ) {
+ 'use strict';
+
+ var gomInScript2 = {
+ id: 'gom-inscript2',
+ name: 'à¤à¥à¤à¤à¤£à¥ à¤à¤¨à¤¸à¥à¤à¥à¤°à¤¿à¤ªà¥à¤ २',
+ description: 'Enhanced InScript keyboard for Kokani language',
+ date: '2012-11-06',
+ author: 'Parag Nemade',
+ license: 'GPLv3',
+ version: '1.0',
+ patterns: [
+ ['\\!', 'ॲ'],
+ ['1', '१'],
+ ['\\@', 'à¥
'],
+ ['2', '२'],
+ ['\\#', 'à¥à¤°'],
+ ['3', '३'],
+ ['\\$', 'रà¥'],
+ ['4', '४'],
+ ['5', '५'],
+ ['6', '६'],
+ ['7', 'à¥'],
+ ['8', '८'],
+ ['\\(', '('],
+ ['9', '९'],
+ ['\\]', ']'],
+ ['0', '०'],
+ ['\\_', 'à¤'],
+ ['\\-', '-'],
+ ['\\+', 'à¤'],
+ ['\\=', 'à¥'],
+ ['Q', 'à¤'],
+ ['q', 'à¥'],
+ ['W', 'à¤'],
+ ['w', 'à¥'],
+ ['E', 'à¤'],
+ ['e', 'ा'],
+ ['R', 'à¤'],
+ ['r', 'à¥'],
+ ['T', 'à¤'],
+ ['t', 'à¥'],
+ ['Y', 'à¤'],
+ ['y', 'ब'],
+ ['U', 'à¤'],
+ ['u', 'ह'],
+ ['I', 'à¤'],
+ ['i', 'à¤'],
+ ['O', 'ध'],
+ ['o', 'द'],
+ ['P', 'à¤'],
+ ['p', 'à¤'],
+ ['\\{', 'ढ'],
+ ['\\[', 'ड'],
+ ['\\}', 'à¤'],
+ ['\\]', '़'],
+ ['A', 'à¤'],
+ ['a', 'à¥'],
+ ['S', 'à¤'],
+ ['s', 'à¥'],
+ ['D', 'à¤
'],
+ ['d', 'à¥'],
+ ['F', 'à¤'],
+ ['f', 'ि'],
+ ['G', 'à¤'],
+ ['g', 'à¥'],
+ ['H', 'फ'],
+ ['h', 'प'],
+ ['J', 'ऱ'],
+ ['j', 'र'],
+ ['K', 'à¤'],
+ ['k', 'à¤'],
+ ['L', 'थ'],
+ ['l', 'त'],
+ [':', 'à¤'],
+ [';', 'à¤'],
+ ['"', 'ठ'],
+ ['\\\'', 'à¤'],
+ ['X', 'à¤'],
+ ['x', 'à¤'],
+ ['C', 'ण'],
+ ['c', 'म'],
+ ['v', 'न'],
+ ['b', 'व'],
+ ['N', 'ळ'],
+ ['n', 'ल'],
+ ['M', 'श'],
+ ['m', 'स'],
+ ['\\<', 'ष'],
+ [',', ','],
+ ['\\>', '।'],
+ ['\\.', '.'],
+ ['/', 'य'],
+ ['\\%', 'à¤à¥à¤'],
+ ['\\^', 'तà¥à¤°'],
+ ['\\&', 'à¤à¥à¤·'],
+ ['\\*', 'शà¥à¤°']
+ ],
+ patterns_x: [
+ ['1', '\u200d'],
+ ['2', '\u200c'],
+ ['4', 'â¹'],
+ ['\\+', 'ॠ'],
+ ['\\=', 'à¥'],
+ ['e', 'à¥'],
+ ['R', 'ॡ'],
+ ['r', 'ॣ'],
+ ['d', 'à¥'],
+ ['F', 'à¤'],
+ ['f', 'ॢ'],
+ ['X', 'à¥'],
+ [',', '॰'],
+ ['\\>', 'ऽ'],
+ ['\\.', '॥']
+ ]
+ };
+
+ $.ime.register( gomInScript2 );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/gu/gu-inscript.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/gu/gu-inscript.js
new file mode 100644
index 0000000..ac1a8cb
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/gu/gu-inscript.js
@@ -0,0 +1,113 @@
+( function ( $ ) {
+ 'use strict';
+
+ var guInscript = {
+ id: 'gu-inscript',
+ name: 'àªàª¨àª¸à«àªà«àª°àª¿àªªà«àª',
+ description: 'Inscript keyboard for Gujarati script',
+ date: '2012-10-14',
+ author: 'Junaid P V',
+ license: 'GPLv3',
+ version: '1.0',
+ patterns: [
+ ['X', '\u0A81'],
+ ['x', '\u0A82'],
+ ['_', '\u0A83'],
+ ['D', '\u0A85'],
+ ['E', '\u0A86'],
+ ['F', '\u0A87'],
+ ['R', '\u0A88'],
+ ['G', '\u0A89'],
+ ['T', '\u0A8A'],
+ ['\\+', '\u0A8B'],
+ ['!', '\u0A8D'],
+ ['S', '\u0A8F'],
+ ['W', '\u0A90'],
+ ['\\|', '\u0A91'],
+ ['A', '\u0A93'],
+ ['Q', '\u0A94'],
+ ['k', '\u0A95'],
+ ['K', '\u0A96'],
+ ['i', '\u0A97'],
+ ['I', '\u0A98'],
+ ['U', '\u0A99'],
+ [';', '\u0A9A'],
+ ['\\:', '\u0A9B'],
+ ['p', '\u0A9C'],
+ ['P', '\u0A9D'],
+ ['\\}', '\u0A9E'],
+ ['\'', '\u0A9F'],
+ ['"', '\u0AA0'],
+ ['\\[', '\u0AA1'],
+ ['\\{', '\u0AA2'],
+ ['C', '\u0AA3'],
+ ['l', '\u0AA4'],
+ ['L', '\u0AA5'],
+ ['o', '\u0AA6'],
+ ['O', '\u0AA7'],
+ ['v', '\u0AA8'],
+ ['h', '\u0AAA'],
+ ['H', '\u0AAB'],
+ ['y', '\u0AAC'],
+ ['Y', '\u0AAD'],
+ ['c', '\u0AAE'],
+ ['/', '\u0AAF'],
+ ['j', '\u0AB0'],
+ ['n', '\u0AB2'],
+ ['N', '\u0AB3'],
+ ['b', '\u0AB5'],
+ ['M', '\u0AB6'],
+ ['\\<', '\u0AB7'],
+ ['m', '\u0AB8'],
+ ['u', '\u0AB9'],
+ ['\\}', '\u0ABC'],
+ ['e', '\u0ABE'],
+ ['f', '\u0ABF'],
+ ['r', '\u0AC0'],
+ ['g', '\u0AC1'],
+ ['t', '\u0AC2'],
+ ['\\=', '\u0AC3'],
+ ['\\@', '\u0AC5'],
+ ['s', '\u0AC7'],
+ ['w', '\u0AC8'],
+ ['\\\\', '\u0AC9'],
+ ['a', '\u0ACB'],
+ ['q', '\u0ACC'],
+ ['d', '\u0ACD'],
+ ['\\>', '\u0AE4'],
+ ['0', '\u0AE6'],
+ ['1', '\u0AE7'],
+ ['2', '\u0AE8'],
+ ['3', '\u0AE9'],
+ ['4', '\u0AEA'],
+ ['5', '\u0AEB'],
+ ['6', '\u0AEC'],
+ ['7', '\u0AED'],
+ ['8', '\u0AEE'],
+ ['9', '\u0AEF'],
+ ['\\#', '\u0ACD\u0AB0'],
+ ['\\$', '\u0AB0\u0ACD'],
+ ['\\%', '\u0A9C\u0ACD\u0A9E'],
+ ['\\^', '\u0AA4\u0ACD\u0AB0'],
+ ['\\&', '\u0A95\u0ACD\u0AB7'],
+ ['\\*', '\u0AB6\u0ACD\u0AB0'],
+ ['\\(', '\u200D'],
+ ['\\)', '\u200C'] ],
+
+ patterns_x: [
+ ['F', '\u0A8C'],
+ ['\\>', '\u0ABD'],
+ ['\\=', '\u0AC4'],
+ ['X', '\u0AD0'],
+ ['\\+', '\u0AE0'],
+ ['R', '\u0AE1'],
+ ['f', '\u0AE2'],
+ ['r', '\u0AE3'],
+ ['\\.', '\u0AE5'],
+ ['\\<', '\u0AF1'],
+ ['$', '\u20B9'] ]
+
+ };
+
+ $.ime.register( guInscript );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/gu/gu-inscript2.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/gu/gu-inscript2.js
new file mode 100644
index 0000000..cb60e6c
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/gu/gu-inscript2.js
@@ -0,0 +1,118 @@
+( function ( $ ) {
+ 'use strict';
+
+ var guInScript2 = {
+ id: 'gu-inscript2',
+ name: 'àªàª¨àª¸à«àªà«àª°àª¿àªªà«àª ૨',
+ description: 'Enhanced InScript keyboard for Gujarati script',
+ date: '2013-11-15',
+ author: 'Parag Nemade',
+ license: 'GPLv3',
+ version: '1.0',
+ patterns: [
+ ['!', 'àª'],
+ ['1', '૧'],
+ ['\\@', 'à«
'],
+ ['2', '૨'],
+ ['\\#', 'à«àª°'],
+ ['3', 'à«©'],
+ ['\\$', 'રà«'],
+ ['4', '૪'],
+ ['5', 'à««'],
+ ['6', '૬'],
+ ['7', 'à«'],
+ ['8', 'à«®'],
+ ['\\(', '('],
+ ['9', '૯'],
+ ['\\)', ')'],
+ ['0', '૦'],
+ ['\\_', 'àª'],
+ ['\\-', '-'],
+ ['\\+', 'àª'],
+ ['\\=', 'à«'],
+ ['Q', 'àª'],
+ ['q', 'à«'],
+ ['W', 'àª'],
+ ['w', 'à«'],
+ ['E', 'àª'],
+ ['e', 'ા'],
+ ['R', 'àª'],
+ ['r', 'à«'],
+ ['T', 'àª'],
+ ['t', 'à«'],
+ ['Y', 'àª'],
+ ['y', 'બ'],
+ ['U', 'àª'],
+ ['u', 'હ'],
+ ['I', 'àª'],
+ ['i', 'àª'],
+ ['O', 'ધ'],
+ ['o', 'દ'],
+ ['P', 'àª'],
+ ['p', 'àª'],
+ ['\\{', 'ઢ'],
+ ['\\[', 'ડ'],
+ ['\\}', 'àª'],
+ ['\\]', '઼'],
+ ['A', 'àª'],
+ ['a', 'à«'],
+ ['S', 'àª'],
+ ['s', 'à«'],
+ ['D', 'àª
'],
+ ['d', 'à«'],
+ ['F', 'àª'],
+ ['f', 'િ'],
+ ['G', 'àª'],
+ ['g', 'à«'],
+ ['H', 'ફ'],
+ ['h', 'પ'],
+ ['j', 'ર'],
+ ['K', 'àª'],
+ ['k', 'àª'],
+ ['L', 'થ'],
+ ['l', 'ત'],
+ [':', 'àª'],
+ [';', 'àª'],
+ ['\"', 'ઠ'],
+ ['\\\'', 'àª'],
+ ['\\|', 'àª'],
+ ['\\', 'à«'],
+ ['X', 'àª'],
+ ['x', 'àª'],
+ ['C', 'ણ'],
+ ['c', 'મ'],
+ ['v', 'ન'],
+ ['b', 'વ'],
+ ['N', 'ળ'],
+ ['n', 'લ'],
+ ['M', 'શ'],
+ ['m', 'સ'],
+ ['\\<', 'ષ'],
+ [',', ','],
+ ['\\>', '।'],
+ ['\\.', '.'],
+ ['/', 'ય'],
+ ['\\%', 'àªà«àª'],
+ ['\\^', 'તà«àª°'],
+ ['\\&', 'àªà«àª·'],
+ ['\\*', 'શà«àª°']
+ ],
+ patterns_x: [
+ ['1', '\u200d'],
+ ['2', '\u200c'],
+ ['4', 'â¹'],
+ ['\\+', 'à« '],
+ ['\\=', 'à«'],
+ ['R', 'à«¡'],
+ ['r', 'à«£'],
+ ['F', 'àª'],
+ ['f', 'à«¢'],
+ ['X', 'à«'],
+ [',', '૱'],
+ ['\\>', 'à«¥'],
+ ['\\.', 'ઽ']
+ ]
+ };
+
+ $.ime.register( guInScript2 );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/gu/gu-phonetic.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/gu/gu-phonetic.js
new file mode 100644
index 0000000..109aeab
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/gu/gu-phonetic.js
@@ -0,0 +1,110 @@
+( function ( $ ) {
+ 'use strict';
+
+ var guPhonetic = {
+ id: 'gu-phonetic',
+ name: 'ફà«àª¨à«
àªàª¿àª',
+ description: 'Phonetic keyboard for Gujarati script',
+ date: '2013-11-15',
+ author: 'Parag Nemade',
+ license: 'GPLv3',
+ version: '1.0',
+ patterns: [
+ ['\\~', 'àª'],
+ ['\\`', 'à«
'],
+ ['\\!', '!'],
+ ['1', '૧'],
+ ['\\@', '@'],
+ ['2', '૨'],
+ ['\\#', '#'],
+ ['3', 'à«©'],
+ ['\\$', '$'],
+ ['4', '૪'],
+ ['\\&', '૱'],
+ ['5', 'à««'],
+ ['6', '૬'],
+ ['7', 'à«'],
+ ['8', 'à«®'],
+ ['\\(', '('],
+ ['9', '૯'],
+ ['\\)', ')'],
+ ['0', '૦'],
+ ['\\_', '_'],
+ ['\\-', '-'],
+ ['\\+', '+'],
+ ['\\=', '='],
+ ['Q', 'àª'],
+ ['q', 'àª'],
+ ['W', 'ઠ'],
+ ['w', 'àª'],
+ ['E', 'à«'],
+ ['e', 'à«'],
+ ['R', 'à«'],
+ ['r', 'ર'],
+ ['T', 'થ'],
+ ['t', 'ત'],
+ ['Y', 'ય઼'],
+ ['y', 'ય'],
+ ['U', 'à«'],
+ ['u', 'à«'],
+ ['I', 'à«'],
+ ['i', 'િ'],
+ ['O', 'à«'],
+ ['o', 'à«'],
+ ['P', 'ફ'],
+ ['p', 'પ'],
+ ['\\{', 'ઢ'],
+ ['\\[', 'ડ'],
+ ['\\}', 'ર઼'],
+ ['\\]', 'àª'],
+ ['A', 'àª'],
+ ['a', 'ા'],
+ ['S', 'શ'],
+ ['s', 'સ'],
+ ['D', 'ધ'],
+ ['d', 'દ'],
+ ['F', 'àª
'],
+ ['f', 'à«'],
+ ['G', 'àª'],
+ ['g', 'àª'],
+ ['H', 'àª'],
+ ['h', 'હ'],
+ ['J', 'àª'],
+ ['j', 'àª'],
+ ['K', 'àª'],
+ ['k', 'àª'],
+ ['L', 'ળ'],
+ ['l', 'લ'],
+ [':', 'àª'],
+ [';', 'àª'],
+ ['"', 'àª'],
+ ['\\\'', 'àª'],
+ ['\\|', 'àª'],
+ ['\\\\', 'à«'],
+ ['Z', 'àª'],
+ ['z', 'àª'],
+ ['x', 'ષ'],
+ ['C', 'àª'],
+ ['c', 'àª'],
+ ['V', 'ઽ'],
+ ['v', 'વ'],
+ ['B', 'àª'],
+ ['b', 'બ'],
+ ['N', 'ણ'],
+ ['n', 'ન'],
+ ['M', 'àª'],
+ ['m', 'મ'],
+ ['\\<', 'à«'],
+ [',', ','],
+ ['\\>', '઼'],
+ ['\\.', '.'],
+ ['\\?', 'àª'],
+ ['/', 'àª'],
+ ['X', 'àªà«àª·'],
+ ['\\%', 'àªà«àª'],
+ ['\\^', 'તà«àª°'],
+ ['\\*', 'શà«àª°']]
+ };
+
+ $.ime.register( guPhonetic );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/gu/gu-transliteration.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/gu/gu-transliteration.js
new file mode 100644
index 0000000..3dd489b
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/gu/gu-transliteration.js
@@ -0,0 +1,156 @@
+( function ( $ ) {
+ 'use strict';
+
+ var guTransliteration = {
+ id: 'gu-transliteration',
+ name: 'લિપà«àª¯àª¾àªàª¤àª°àª£',
+ description: 'Gujarati transliteration',
+ date: '2012-10-14',
+ URL: 'http://github.com/wikimedia/jquery.ime',
+ author: 'Jaldeep R Vasavada ([[User:JaldeepVasavada]]) / Amir E. Aharoni ([[User:Amire80]])',
+ license: 'GPLv3',
+ version: '1.0',
+ contextLength: 2,
+ maxKeyLength: 4,
+ patterns: [
+ ['àªà«h', 'c', 'àª'],
+ ['\\\\([A-Za-z\\>_~\\.0-9])', '\\\\', '$1'],
+
+ ['([àª-હ]઼?)à«a', '$1'],
+ ['([àª-હ]઼?)à«A', '$1ા'],
+ ['([àª-હ]઼?)a', '$1ા'],
+ ['([àª-હ]઼?)à«i', '$1િ'],
+ ['([àª-હ]઼?)(à«I|િi|à«e)', '$1à«'],
+ ['([àª-હ]઼?)à«u', '$1à«'],
+ ['([àª-હ]઼?)(à«u|à«U|à«o)', '$1à«'],
+ ['([àª-હ]઼?)à«R', '$1à«'],
+ ['([àª-હ]઼?)à«R', '$1à«'],
+ ['([àª-હ]઼?)à«\\^', '$1à«
'],
+ ['([àª-હ]઼?)à«e', '$1à«'],
+ ['([àª-હ]઼?)à«E', '$1à«
'],
+ ['([àª-હ]઼?)à«\\^', '$1à«'],
+ ['([àª-હ]઼?)i', '$1à«'],
+ ['([àª-હ]઼?)à«o', '$1à«'],
+ ['([àª-હ]઼?)à«O', '$1à«'],
+ ['([àª-હ]઼?)u', '$1à«'],
+
+ ['([àª-હ]઼?)à«a', '$1à«àª°'],
+ ['([àª-હ]઼?)à«A', '$1à«àª°àª¾'],
+ ['([àª-હ]઼?)à«i', '$1à«àª°àª¿'],
+ ['([àª-હ]઼?)à«I', '$1à«àª°à«'],
+ ['([àª-હ]઼?)à«u', '$1à«àª°à«'],
+ ['([àª-હ]઼?)à«U', '$1à«àª°à«'],
+ ['([àª-હ]઼?)à«\\^', '$1à«àª°à«
'],
+ ['([àª-હ]઼?)à«e', '$1à«àª°à«'],
+ ['([àª-હ]઼?)à«E', '$1à«àª°à«
'],
+ ['([àª-હ]઼?)à«o', '$1à«àª°à«'],
+ ['([àª-હ]઼?)à«O', '$1à«àª°à«'],
+ ['([àª-હ]઼?)à«\\~', '$1à«àª°à«'],
+
+ ['([àª-હ])à«J', '$1઼à«'],
+
+ ['àª
a', 'àª'],
+ ['(àªo|àªu)', 'àª'],
+ ['àª\\^', 'àª'],
+ ['àª
i', 'àª'],
+ ['àª
\\^', 'àª'],
+ ['(àªi|àªe)', 'àª'],
+ ['àª\\^', 'àª'],
+ ['àª
u', 'àª'],
+ ['àªR', 'à« '],
+ ['ળà«l', 'àª'],
+ ['àªl', 'à«¡'],
+ ['àª\\^', 'àª'],
+ ['àªM', 'à«'],
+
+ ['રY', 'રà«àª¯'],
+
+ ['àªà«h', 'àªà«'], // kh
+ ['àªà«h', 'àªà«'], // gh
+ ['નà«g', 'àªà«'], // ng
+ ['àªà«h', 'àªà«'], // chh
+ ['àªà«h', 'àªà«'], // jh
+ ['àªà«n', 'àªà«àªà«'], // jn
+ ['àªà«n', 'àªà«àªà«'], //gn
+ ['નà«j', 'àªà«'], // ny
+ ['àªà«h', 'ઠà«'], // Th
+ ['ડà«h', 'ઢà«'], // Dh
+ ['તà«h', 'થà«'], // th
+ ['દà«h', 'ધà«'], // dh
+ ['પà«h', 'ફà«'], // ph
+ ['બà«h', 'àªà«'], // bh
+
+ ['àªa', 'ર'],
+ ['àªA', 'રા'],
+ ['àªi', 'રિ'],
+ ['àªI', 'રà«'],
+ ['àªu', 'રà«'],
+ ['àªU', 'રà«'],
+ ['àª\\^', 'રà«
'],
+ ['àªe', 'રà«'],
+ ['àªE', 'રà«
'],
+ ['àªo', 'રà«'],
+ ['àª\\~', 'રà«'],
+
+ ['સà«h', 'શà«'],
+ ['àªàª¼à«h', 'àª'],
+
+ ['a', 'àª
'],
+ ['b', 'બà«'],
+ ['c', 'àªà«'],
+ ['d', 'દà«'],
+ ['e', 'àª'],
+ ['f', 'ફà«'],
+ ['g', 'àªà«'],
+ ['h', 'હà«'],
+ ['i', 'àª'],
+ ['j', 'àªà«'],
+ ['k', 'àªà«'],
+ ['l', 'લà«'],
+ ['m', 'મà«'],
+ ['n', 'નà«'],
+ ['o', 'àª'],
+ ['p', 'પà«'],
+ ['r', 'રà«'],
+ ['s', 'સà«'],
+ ['t', 'તà«'],
+ ['u', 'àª'],
+ ['(v|w)', 'વà«'],
+ ['x', 'àªà«àª·à«'],
+ ['y', 'યà«'],
+ ['(z|Z)', 'àªà«'],
+ ['A', 'àª'],
+ ['D', 'ડà«'],
+ ['E', 'àª'],
+ ['F', 'ફà«'],
+ ['H', 'àª'],
+ ['I', 'àª'],
+ ['L', 'ળà«'],
+ ['M', 'àª'],
+ ['N', 'ણà«'],
+ ['O', 'àª'],
+ ['R', 'àª'],
+ ['S', 'ષà«'],
+ ['T', 'àªà«'],
+ ['U', 'àª'],
+ ['0', '૦'],
+ ['1', '૧'],
+ ['2', '૨'],
+ ['3', 'à«©'],
+ ['4', '૪'],
+ ['5', 'à««'],
+ ['6', '૬'],
+ ['7', 'à«'],
+ ['8', 'à«®'],
+ ['9', '૯'],
+
+ // Danda characters are only needed in some text, so '.' is not mapped to it.
+ ['।K', '॥'], // Double danda, must be before danda
+ ['K', '।'], // Danda
+ ['//', 'ઽ'],
+ ['J', '઼'], // Nukta
+ ['(\u200C)*`', '\u200C']] // ZWNJ
+ };
+
+ $.ime.register( guTransliteration );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/he/he-standard-2012-extonly.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/he/he-standard-2012-extonly.js
new file mode 100644
index 0000000..b539782
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/he/he-standard-2012-extonly.js
@@ -0,0 +1,66 @@
+( function ( $ ) {
+ 'use strict';
+
+ var heStandardExtOnly = {
+ id: 'he-standard-2012-extonly',
+ name: 'Hebrew 2012',
+ description: 'Hebrew keyboard according to Israeli Standard 1452',
+ date: '2012-10-15',
+ URL: 'http://www.lingnu.com/he/howto/78-si1452.html',
+ author: 'Amir E. Aharoni (×Ö¸×Ö´×ר ×Ö±×Ö´×ש×ָע ×Ö·×ֲר×Ö¹× Ö´×, [[User:Amire80]])',
+ license: 'GPLv3',
+ version: '1.0',
+ patterns: [], //// Empty, because the assumption is that the user is using a Hebrew keyboard already
+ patterns_x: [
+ ['\u05E9', 'ְ'], // Sheva, ש
+
+ ['\u05E7', 'ָ'], // Qamats, ק
+ ['\u05E8', 'ֳ'], // Hataf qamats, ר
+ ['\u05E4', 'ַ'], // Patah, פ
+ ['\\]', 'Ö²'], // Hataf patah, ]
+
+ ['\u05E6', 'ֵ'], // Tsere, צ
+ ['\u05E1', 'ֶ'], // Segol, ס
+ ['\u05D1', 'Ö±'], // Hataf segol, ×
+
+ ['\u05D7', 'Ö´'], // Hiriq, ×
+
+ ['\u05D5', 'Ö¹'], // Holam, ×
+
+ ['\\\\', 'Ö»'], // Qubuts, \
+
+ ['\u05D3', 'Ö¼'], // Dagesh, ×
+
+ ['/', '×'], // Sin dot
+ ['\'', '×'], // Shin dot
+
+ ['-', '\u05BE'], // Maqaf
+ ['=', 'â'], // Qav mafrid - en dash
+ ['\\[', 'Ö¿'], // Rafe
+ ['1', 'Ö½'], // Meteg
+ ['3', 'â¬'], // Euro sign
+ ['4', 'âª'], // Sheqel sign
+ ['5', '°'], // Degree
+ ['6', 'Ö«'], // Ole
+ ['8', 'Ã'], // Multiplication
+ ['9', '\u200e'], // LRM
+ ['0', '\u200f'], // RLM
+ ['\\.', '÷'], // Division
+
+ ['\u05D8', '×°'], // Double vav, ×
+ ['\u05D9', 'ײ'], // Double yod, ×
+ ['\u05E2', '×±'], // Vav-yod, ×¢
+
+ // Some source code editors may show the next two lines
+ // in a weird way because of auto-directionality.
+ [';', '׳'], // Geresh, ';'
+ [',', '×´'], // Gershayim, ','
+ ['\u05E3', 'â'], // Opening double quote, ×£
+ ['\u05DA', 'â'], // Closing double quote, ×
+ ['\u05E5', 'â'], // Opening single quote, ×¥
+ ['\u05EA', 'â'] // Closing single quote, ת
+ ]
+ };
+
+ $.ime.register( heStandardExtOnly );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/he/he-standard-2012.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/he/he-standard-2012.js
new file mode 100644
index 0000000..5ee1659
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/he/he-standard-2012.js
@@ -0,0 +1,117 @@
+( function ( $ ) {
+ 'use strict';
+
+ var heStandard = {
+ id: 'he-standard-2012',
+ name: 'Hebrew 2012 (from English)',
+ description: 'Hebrew keyboard according to Israeli Standard 1452',
+ date: '2012-10-15',
+ URL: 'http://www.lingnu.com/he/howto/78-si1452.html',
+ author: 'Amir E. Aharoni (×Ö¸×Ö´×ר ×Ö±×Ö´×ש×ָע ×Ö·×ֲר×Ö¹× Ö´×, [[User:Amire80]])',
+ license: 'GPLv3',
+ version: '1.0',
+ contextLength: 0,
+ maxKeyLength: 0,
+ patterns: [
+ [ 'q', '/' ],
+ [ 'w', '\'' ],
+ [ 'e', 'ק' ],
+ [ 'r', 'ר' ],
+ [ 't', '×' ],
+ [ 'y', '×' ],
+ [ 'u', '×' ],
+ [ 'i', '×' ],
+ [ 'o', '×' ],
+ [ 'p', 'פ' ],
+
+ [ 'a', 'ש' ],
+ [ 's', '×' ],
+ [ 'd', '×' ],
+ [ 'f', '×' ],
+ [ 'g', '×¢' ],
+ [ 'h', '×' ],
+ [ 'j', '×' ],
+ [ 'k', '×' ],
+ [ 'l', '×' ],
+ [ ';', '×£' ],
+ [ '\'', ',' ],
+
+ [ 'z', '×' ],
+ [ 'x', 'ס' ],
+ [ 'c', '×' ],
+ [ 'v', '×' ],
+ [ 'b', '× ' ],
+ [ 'n', '×' ],
+ [ 'm', 'צ' ],
+ [ ',', 'ת' ],
+ [ '\\.', '×¥' ],
+ [ '/', '.' ],
+
+ [ '`', ';' ],
+
+ // These characters are mirrored in RTL languages
+ [ '\\(', ')' ],
+ [ '\\)', '(' ],
+ [ '\\[', ']' ],
+ [ '\\]', '[' ],
+ [ '{', '}' ],
+ [ '}', '{' ],
+ [ '<', '>' ],
+ [ '>', '<' ]
+ ],
+
+ // Your text editor may show the resulting characters in
+ // the next lines as empty. These are diacritics.
+ patterns_x: [
+ [ 'a', 'Ö°' ], // Sheva
+
+ [ 'e', 'Ö¸' ], // Qamats
+ [ 'r', 'Ö³' ], // Hataf qamats
+ [ 'p', 'Ö·' ], // Patah
+ [ '\\[', 'Ö²' ], // Hataf patah
+
+ [ 'm', 'Öµ' ], // Tsere
+ [ 'x', 'Ö¶' ], // Segol
+ [ 'c', 'Ö±' ], // Hataf segol
+
+ [ 'j', 'Ö´' ], // Hiriq
+
+ [ 'u', 'Ö¹' ], // Holam
+
+ [ '\\\\', 'Ö»' ], // Qubuts
+
+ [ 's', 'Ö¼' ], // Dagesh
+
+ [ 'q', '×' ], // Sin dot
+ [ 'w', '×' ], // Shin dot
+
+ [ '-', 'Ö¾' ], // Maqaf
+ [ '=', 'â' ], // Qav mafrid - en dash
+ [ '\\]', 'Ö¿' ], // Rafe
+ [ '1', 'Ö½' ], // Meteg
+ [ '3', 'â¬' ], // Euro sign
+ [ '4', 'âª' ], // Sheqel sign
+ [ '5', '°' ], // Degree
+ [ '6', 'Ö«' ], // Ole
+ [ '8', 'Ã' ], // Multiplication
+ [ '9', '\u200e' ], // LRM
+ [ '0', '\u200f' ], // RLM
+ [ '/', '÷' ], // Division
+
+ [ 'y', '×°' ], // Double vav
+ [ 'h', 'ײ' ], // Double yod
+ [ 'H', 'ï¬' ], // Yod yod patah
+ [ 'g', '×±' ], // Vav-yod
+
+ [ '`', '׳' ], // Geresh
+ [ '\'', '×´' ], // Gershayim
+ [ ';', 'â' ], // Opening double quote
+ [ 'l', 'â' ], // Closing double quote
+ [ '\\.', 'â' ], // Opening single quote
+ [ ',', 'â' ] // Closing single quote
+ ]
+ };
+
+ $.ime.register( heStandard );
+
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/hi/hi-bolnagri.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/hi/hi-bolnagri.js
new file mode 100644
index 0000000..7ea921a
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/hi/hi-bolnagri.js
@@ -0,0 +1,108 @@
+( function ( $ ) {
+ 'use strict';
+
+ var hiBolNagri = {
+ id: 'hi-bolnagri',
+ name: 'बà¥à¤²à¤¨à¤¾à¤à¤°à¥',
+ description: 'BolNagri phonetic keymap for Devanagari script',
+ date: '2012-03-28',
+ URL: 'http://www.indlinux.org/wiki/index.php/BolNagri',
+ author: 'G Karunakar',
+ license: 'GPLv3',
+ version: '1.0',
+ contextLength: 0,
+ maxKeyLength: 1,
+ patterns: [
+ [ 'a', 'ा' ],
+ [ 'b', 'ब' ],
+ [ 'c', 'à¤' ],
+ [ 'd', 'द' ],
+ [ 'e', 'à¥' ],
+ [ 'f', 'à¤' ],
+ [ 'g', 'à¤' ],
+ [ 'h', 'ह' ],
+ [ 'i', 'ि' ],
+ [ 'j', 'à¤' ],
+ [ 'k', 'à¤' ],
+ [ 'l', 'ल' ],
+ [ 'm', 'म' ],
+ [ 'n', 'न' ],
+ [ 'o', 'à¥' ],
+ [ 'p', 'प' ],
+ [ 'q', '\u200C' ], // ZWNJ
+ [ 'r', 'र' ],
+ [ 's', 'स' ],
+ [ 't', 'त' ],
+ [ 'u', 'à¥' ],
+ [ 'v', 'ड' ],
+ [ 'w', 'व' ],
+ [ 'x', 'à¥' ], // Halant
+ [ 'y', 'य' ],
+ [ 'z', 'श' ],
+ [ 'A', 'à¤' ],
+ [ 'B', 'à¤' ],
+ [ 'C', 'à¤' ],
+ [ 'D', 'ध' ],
+ [ 'E', 'à¥' ],
+ [ 'F', 'ठ' ],
+ [ 'G', 'à¤' ],
+ [ 'H', 'à¤' ], // Visarga
+ [ 'I', 'à¥' ],
+ [ 'J', 'à¤' ],
+ [ 'K', 'à¤' ],
+ [ 'L', 'ळ' ],
+ [ 'M', 'ऽ' ],
+ [ 'N', 'ण' ],
+ [ 'O', 'à¥' ],
+ [ 'P', 'फ' ],
+ [ 'Q', '\u200D' ], // ZWJ
+ [ 'R', 'à¥' ],
+ [ 'S', 'ष' ],
+ [ 'T', 'थ' ],
+ [ 'U', 'à¥' ],
+ [ 'V', 'ढ' ],
+ [ 'W', 'à¥' ],
+ [ 'X', 'à¥' ],
+ [ 'Y', 'à¤' ],
+ [ 'Z', 'à¥
' ],
+ [ '\\$', 'â¹' ],
+ [ '\\`', 'à¤' ],
+ [ '\\~', 'à¤' ],
+ [ '\\\\', '।' ], // Danda
+ [ '\\|', '॥' ],
+ [ '\\.', '़' ],
+ [ '\\<', '॰' ] ],
+
+ patterns_x: [
+ [ 'a', 'à¤
' ],
+ [ 'A', 'à¤' ],
+ [ 'i', 'à¤' ],
+ [ 'I', 'à¤' ],
+ [ 'u', 'à¤' ],
+ [ 'U', 'à¤' ], // altgr+U triggers file upload!
+ [ 'e', 'à¤' ],
+ [ 'E', 'à¤' ],
+ [ 'o', 'à¤' ],
+ [ 'O', 'à¤' ],
+ [ 'r', 'ऱ' ],
+ [ 'R', 'à¤' ],
+ [ 'Z', 'à¤' ],
+ [ 'X', 'à¤' ],
+ [ 'l', 'ॢ' ],
+ [ 'L', 'à¤' ],
+ // Dev digits
+ [ '0', '०' ],
+ [ '1', '१' ],
+ [ '2', '२' ],
+ [ '3', '३' ],
+ [ '4', '४' ],
+ [ '5', '५' ],
+ [ '6', '६' ],
+ [ '7', 'à¥' ],
+ [ '8', '८' ],
+ [ '9', '९' ] ]
+
+ };
+
+ $.ime.register( hiBolNagri );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/hi/hi-inscript.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/hi/hi-inscript.js
new file mode 100644
index 0000000..9e46276
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/hi/hi-inscript.js
@@ -0,0 +1,122 @@
+( function ( $ ) {
+ 'use strict';
+
+ var hiInScript = {
+ id: 'hi-inscript',
+ name: 'à¤à¤¨à¤¸à¥à¤à¥à¤°à¤¿à¤ªà¥à¤',
+ description: 'InScript keyboard for Devanagari script',
+ date: '2011-02-26',
+ author: 'Junaid P V',
+ license: 'GPLv3',
+ version: '1.0',
+ contextLength: 0,
+ maxKeyLength: 1,
+ patterns: [
+ [ 'X', '\u0901' ],
+ [ 'x', '\u0902' ],
+ [ '_', '\u0903' ],
+ [ 'D', '\u0905' ],
+ [ 'E', '\u0906' ],
+ [ 'F', '\u0907' ],
+ [ 'R', '\u0908' ],
+ [ 'G', '\u0909' ],
+ [ 'T', '\u090A' ],
+ [ '\\+', '\u090B' ],
+ [ '!', '\u090D' ],
+ [ 'S', '\u090F' ],
+ [ 'W', '\u0910' ],
+ [ '\\|', '\u0911' ],
+ [ 'A', '\u0913' ],
+ [ 'Q', '\u0914' ],
+ [ 'k', '\u0915' ],
+ [ 'K', '\u0916' ],
+ [ 'i', '\u0917' ],
+ [ 'I', '\u0918' ],
+ [ 'U', '\u0919' ],
+ [ ';', '\u091A' ],
+ [ '\\:', '\u091B' ],
+ [ 'p', '\u091C' ],
+ [ 'P', '\u091D' ],
+ [ '\\}', '\u091E' ],
+ [ '\'', '\u091F' ],
+ [ '"', '\u0920' ],
+ [ '\\[', '\u0921' ],
+ [ '\\{', '\u0922' ],
+ [ 'C', '\u0923' ],
+ [ 'l', '\u0924' ],
+ [ 'L', '\u0925' ],
+ [ 'o', '\u0926' ],
+ [ 'O', '\u0927' ],
+ [ 'v', '\u0928' ],
+ [ 'h', '\u092A' ],
+ [ 'H', '\u092B' ],
+ [ 'y', '\u092C' ],
+ [ 'Y', '\u092D' ],
+ [ 'c', '\u092E' ],
+ [ '/', '\u092F' ],
+ [ 'j', '\u0930' ],
+ [ 'n', '\u0932' ],
+ [ 'b', '\u0935' ],
+ [ 'M', '\u0936' ],
+ [ '\\<', '\u0937' ],
+ [ 'm', '\u0938' ],
+ [ 'u', '\u0939' ],
+ [ '\\]', '\u093C' ],
+ [ 'e', '\u093E' ],
+ [ 'f', '\u093F' ],
+ [ 'r', '\u0940' ],
+ [ 'g', '\u0941' ],
+ [ 't', '\u0942' ],
+ [ '\\=', '\u0943' ],
+ [ '\\@', '\u0945' ],
+ [ 's', '\u0947' ],
+ [ 'w', '\u0948' ],
+ [ '\\\\', '\u0949' ],
+ [ 'a', '\u094B' ],
+ [ 'q', '\u094C' ],
+ [ 'd', '\u094D' ],
+ [ '\\>', '\u0964' ],
+ [ '0', '\u0966' ],
+ [ '1', '\u0967' ],
+ [ '2', '\u0968' ],
+ [ '3', '\u0969' ],
+ [ '4', '\u096A' ],
+ [ '5', '\u096B' ],
+ [ '6', '\u096C' ],
+ [ '7', '\u096D' ],
+ [ '8', '\u096E' ],
+ [ '9', '\u096F' ],
+ [ '\\#', '\u094D\u0930' ],
+ [ '\\$', '\u0930\u094D' ],
+ [ '\\%', '\u091C\u094D\u091E' ],
+ [ '\\^', '\u0924\u094D\u0930' ],
+ [ '\\&', '\u0915\u094D\u0937' ],
+ [ '\\*', '\u0936\u094D\u0930' ],
+ [ '\\(', '\u200D' ],
+ [ '\\)', '\u200C' ] ],
+
+ patterns_x: [
+ [ 'F', '\u090C' ],
+ [ 'N', '\u0933' ],
+ [ '\\>', '\u093D' ],
+ [ '\\=', '\u0944' ],
+ [ 'X', '\u0950' ],
+ [ 'e', '\u0951' ],
+ [ 'd', '\u0952' ],
+ [ 'k', '\u0958' ],
+ [ 'K', '\u0959' ],
+ [ 'i', '\u095A' ],
+ [ 'p', '\u095B' ],
+ [ '\\[', '\u095C' ],
+ [ '\\+', '\u0960' ],
+ [ 'R', '\u0961' ],
+ [ 'f', '\u0962' ],
+ [ 'r', '\u0963' ],
+ [ '\\.', '\u0965' ],
+ [ ',', '\u0970' ],
+ [ '\\$', '\u20B9' ] ]
+
+ };
+
+ $.ime.register( hiInScript );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/hi/hi-inscript2.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/hi/hi-inscript2.js
new file mode 100644
index 0000000..446dc2a
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/hi/hi-inscript2.js
@@ -0,0 +1,127 @@
+( function ( $ ) {
+ 'use strict';
+
+ var hiInScript2 = {
+ id: 'hi-inscript2',
+ name: 'à¤à¤¨à¤¸à¥à¤à¥à¤°à¤¿à¤ªà¥à¤ २',
+ description: 'Enhanced InScript keyboard for Hindi language',
+ date: '2013-20-13',
+ author: 'Parag Nemade',
+ license: 'GPLv3',
+ version: '1.0',
+ patterns: [
+ ['\\!', 'à¤'],
+ ['\\@', 'à¥
'],
+ ['1', '१'],
+ ['2', '२'],
+ ['\\#', 'à¥à¤°'],
+ ['3', '३'],
+ ['\\$', 'रà¥'],
+ ['4', '४'],
+ ['5', '५'],
+ ['6', '६'],
+ ['7', 'à¥'],
+ ['8', '८'],
+ ['\\(', '('],
+ ['9', '९'],
+ ['\\]', ']'],
+ ['0', '०'],
+ ['\\_', 'à¤'],
+ ['\\-', '-'],
+ ['\\+', 'à¤'],
+ ['\\=', 'à¥'],
+ ['Q', 'à¤'],
+ ['q', 'à¥'],
+ ['W', 'à¤'],
+ ['w', 'à¥'],
+ ['E', 'à¤'],
+ ['e', 'ा'],
+ ['R', 'à¤'],
+ ['r', 'à¥'],
+ ['T', 'à¤'],
+ ['t', 'à¥'],
+ ['Y', 'à¤'],
+ ['y', 'ब'],
+ ['U', 'à¤'],
+ ['u', 'ह'],
+ ['I', 'à¤'],
+ ['i', 'à¤'],
+ ['O', 'ध'],
+ ['o', 'द'],
+ ['P', 'à¤'],
+ ['p', 'à¤'],
+ ['\\{', 'ढ'],
+ ['\\[', 'ड'],
+ ['\\}', 'à¤'],
+ ['\\]', '़'],
+ ['A', 'à¤'],
+ ['a', 'à¥'],
+ ['S', 'à¤'],
+ ['s', 'à¥'],
+ ['D', 'à¤
'],
+ ['d', 'à¥'],
+ ['F', 'à¤'],
+ ['f', 'ि'],
+ ['G', 'à¤'],
+ ['g', 'à¥'],
+ ['H', 'फ'],
+ ['h', 'प'],
+ ['j', 'र'],
+ ['K', 'à¤'],
+ ['k', 'à¤'],
+ ['L', 'थ'],
+ ['l', 'त'],
+ [':', 'à¤'],
+ [';', 'à¤'],
+ ['\"', 'ठ'],
+ ['\'', 'à¤'],
+ ['\\|', 'à¤'],
+ ['\\\\', 'à¥'],
+ ['X', 'à¤'],
+ ['x', 'à¤'],
+ ['C', 'ण'],
+ ['c', 'म'],
+ ['v', 'न'],
+ ['b', 'व'],
+ ['n', 'ल'],
+ ['M', 'श'],
+ ['m', 'स'],
+ ['\\<', 'ष'],
+ [',', ','],
+ ['\\>', '।'],
+ ['\\.', '.'],
+ ['/', 'य'],
+ ['\\%', 'à¤à¥à¤'],
+ ['\\^', 'तà¥à¤°'],
+ ['\\&', 'à¤à¥à¤·'],
+ ['\\*', 'शà¥à¤°']
+ ],
+ patterns_x: [
+ ['1', '\u200d'],
+ ['2', '\u200c'],
+ ['4', 'â¹'],
+ ['\\+', 'ॠ'],
+ ['\\=', 'à¥'],
+ ['e', 'à¥'],
+ ['i', 'à¥'],
+ ['R', 'ॡ'],
+ ['r', 'ॣ'],
+ ['p', 'à¥'],
+ ['\\{', 'à¥'],
+ ['\\[', 'à¥'],
+ ['H', 'à¥'],
+ ['K', 'à¥'],
+ ['k', 'à¥'],
+ ['d', 'à¥'],
+ ['F', 'à¤'],
+ ['f', 'ॢ'],
+ ['X', 'à¥'],
+ ['N', 'ळ'],
+ [',', '॰'],
+ ['\\>', 'ऽ'],
+ ['\\.', '॥']
+ ]
+ };
+
+ $.ime.register( hiInScript2 );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/hi/hi-phonetic.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/hi/hi-phonetic.js
new file mode 100644
index 0000000..d2ddd5e
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/hi/hi-phonetic.js
@@ -0,0 +1,111 @@
+( function ( $ ) {
+ 'use strict';
+
+ var hiPhonetic = {
+ id: 'hi-phonetic',
+ name: 'फà¥à¤¨à¥à¤à¤¿à¤',
+ description: 'Phonetic keyboard for Hindi language',
+ date: '2013-02-09',
+ author: 'Parag Nemade',
+ license: 'GPLv3',
+ version: '1.0',
+ patterns: [
+ ['à¥f', 'à¥\u200c'],
+ ['\\~', 'à¤'],
+ ['\\`','à¥'],
+ ['\\!', 'à¤'],
+ ['1', '१'],
+ ['\\@', 'à¥
'],
+ ['2', '२'],
+ ['\\#', 'à¤'],
+ ['3', '३'],
+ ['\\$','à¥'],
+ ['4', '४'],
+ ['\\%', 'à¤'],
+ ['5', '५'],
+ ['6', '६'],
+ ['7', 'à¥'],
+ ['8', '८'],
+ ['\\(', '('],
+ ['9', '९'],
+ ['\\)', ')'],
+ ['0', '०'],
+ ['\\_', '_'],
+ ['\\-', '-'],
+ ['\\+', '+'],
+ ['\\=', '='],
+ ['Q', 'à¤'],
+ ['q', 'à¤'],
+ ['W', 'ठ'],
+ ['w', 'à¤'],
+ ['E', 'à¥'],
+ ['e', 'à¥'],
+ ['R', 'à¥'],
+ ['r', 'र'],
+ ['T', 'थ'],
+ ['t', 'त'],
+ ['Y', 'à¥'],
+ ['y', 'य'],
+ ['U', 'à¥'],
+ ['u', 'à¥'],
+ ['I', 'à¥'],
+ ['i', 'ि'],
+ ['O', 'à¥'],
+ ['o', 'à¥'],
+ ['P', 'फ'],
+ ['p', 'प'],
+ ['\\{', 'ढ'],
+ ['\\[', 'ड'],
+ ['\\}', 'ऱ'],
+ ['\\]', 'à¤'],
+ ['A', 'à¤'],
+ ['a', 'ा'],
+ ['S', 'श'],
+ ['s', 'स'],
+ ['D', 'ध'],
+ ['d', 'द'],
+ ['F', 'à¤
'],
+ ['f', 'à¥'],
+ ['G', 'à¤'],
+ ['g', 'à¤'],
+ ['H', 'à¤'],
+ ['h', 'ह'],
+ ['J', 'à¤'],
+ ['j', 'à¤'],
+ ['K', 'à¤'],
+ ['k', 'à¤'],
+ ['L', 'ळ'],
+ ['l', 'ल'],
+ [':', 'à¤'],
+ [';', 'à¤'],
+ ['"', 'à¤'],
+ ['\'', 'à¤'],
+ ['\\|', 'à¤'],
+ ['\\\\', 'à¥'],
+ ['Z', 'à¤'],
+ ['z', 'à¤'],
+ ['x', 'ष'],
+ ['C', 'à¤'],
+ ['c', 'à¤'],
+ ['V', 'ऴ'],
+ ['v', 'व'],
+ ['B', 'à¤'],
+ ['b', 'ब'],
+ ['N', 'ण'],
+ ['n', 'न'],
+ ['M', 'à¤'],
+ ['m', 'म'],
+ ['\\<', 'ऩ'],
+ [',', ','],
+ ['\\>', '़'],
+ ['\\.', '।'],
+ ['\\?', 'à¤'],
+ ['/', 'à¤'],
+ ['\\^', 'à¤à¥à¤'],
+ ['X', 'à¤à¥à¤·'],
+ ['\\*', 'शà¥à¤°']
+ ]
+ };
+
+ $.ime.register( hiPhonetic );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/hi/hi-transliteration.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/hi/hi-transliteration.js
new file mode 100644
index 0000000..442e650
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/hi/hi-transliteration.js
@@ -0,0 +1,198 @@
+( function ( $ ) {
+ 'use strict';
+
+ var hiTransliteration = {
+ id: 'hi-transliteration',
+ name: 'लिपà¥à¤¯à¤à¤¤à¤°à¤£',
+ description: 'Transliteration keyboard for Devanagari script',
+ date: '2011-11-20',
+ author: 'Junaid P V',
+ license: 'GPLv3',
+ version: '1.0',
+ contextLength: 1,
+ maxKeyLength: 3,
+ patterns: [
+ [ '\\\\([A-Za-z\\>_~\\.0-9])', '\\\\', '$1' ],
+
+ [ '([à¤-ह]़?)à¥a', '$1' ],
+
+ // Bug 35990 - Schwa syncope rule in Devanagari transliteration
+ [ '([à¤-ह]़?)à¥\\~', '$1à¥' ],
+
+ // Translate full stop (.) to danda
+ [ '([à¤-ह]़?)à¥\\.', '\\~', '$1à¥à¥¤' ],
+ [ '([à¤-ह]़?)à¥\\.', '$1।' ],
+
+ // Translate digits
+ [ '([à¤-ह]़?)à¥0', '\\~', '$1à¥à¥¦' ],
+ [ '([à¤-ह]़?)à¥1', '\\~', '$1à¥à¥§' ],
+ [ '([à¤-ह]़?)à¥2', '\\~', '$1à¥à¥¨' ],
+ [ '([à¤-ह]़?)à¥3', '\\~', '$1à¥à¥©' ],
+ [ '([à¤-ह]़?)à¥4', '\\~', '$1à¥à¥ª' ],
+ [ '([à¤-ह]़?)à¥5', '\\~', '$1à¥à¥«' ],
+ [ '([à¤-ह]़?)à¥6', '\\~', '$1à¥à¥¬' ],
+ [ '([à¤-ह]़?)à¥7', '\\~', '$1à¥à¥' ],
+ [ '([à¤-ह]़?)à¥8', '\\~', '$1à¥à¥®' ],
+ [ '([à¤-ह]़?)à¥9', '\\~', '$1à¥à¥¯' ],
+ [ '([à¤-ह]़?)à¥\\r', '\\~', '$1à¥\r' ],
+
+ [ '([à¤-ह]़?)à¥0', '$1०' ],
+ [ '([à¤-ह]़?)à¥1', '$1१' ],
+ [ '([à¤-ह]़?)à¥2', '$1२' ],
+ [ '([à¤-ह]़?)à¥3', '$1३' ],
+ [ '([à¤-ह]़?)à¥4', '$1४' ],
+ [ '([à¤-ह]़?)à¥5', '$1५' ],
+ [ '([à¤-ह]़?)à¥6', '$1६' ],
+ [ '([à¤-ह]़?)à¥7', '$1à¥' ],
+ [ '([à¤-ह]़?)à¥8', '$1८' ],
+ [ '([à¤-ह]़?)à¥9', '$1९' ],
+ [ '([à¤-ह]़?)à¥\\r', '$1\r' ],
+
+ [ '([à¤-ह]़?)à¥A', '$1ा' ],
+ [ '([à¤-ह]़?)a', '$1ा' ],
+ [ '([à¤-ह]़?)à¥i', '$1ि' ],
+ [ '([à¤-ह]़?)(à¥I|िi|à¥e)', '$1à¥' ],
+ [ '([à¤-ह]़?)à¥u', '$1à¥' ],
+ [ '([à¤-ह]़?)(à¥u|à¥U|à¥o)', '$1à¥' ],
+ [ '([à¤-ह]़?)à¥R', '$1à¥' ],
+ [ '([à¤-ह]़?)à¥R', '$1à¥' ],
+ [ '([à¤-ह]़?)à¥à¤³à¥l', '$1ॢ' ],
+ [ '([à¤-ह]़?)ॢl', '$1ॣ' ],
+ [ '([à¤-ह]़?)à¥e', '$1à¥' ],
+ [ '([à¤-ह]़?)à¥E', '$1à¥
' ],
+ [ '([à¤-ह]़?)i', '$1à¥' ],
+ [ '([à¤-ह]़?)à¥o', '$1à¥' ],
+ [ '([à¤-ह]़?)à¥O', '$1à¥' ],
+ [ '([à¤-ह]़?)u', '$1à¥' ],
+ [ '([à¤-ह]़?)à¥a', '$1à¥à¤±' ],
+ [ '([à¤-ह]़?)à¥A', '$1à¥à¤±à¤¾' ],
+ [ '([à¤-ह]़?)à¥i', '$1à¥à¤±à¤¿' ],
+ [ '([à¤-ह]़?)à¥I', '$1à¥à¤±à¥' ],
+ [ '([à¤-ह]़?)à¥u', '$1à¥à¤±à¥' ],
+ [ '([à¤-ह]़?)à¥U', '$1à¥à¤±à¥' ],
+ [ '([à¤-ह]़?)à¥\\^', '$1à¥à¤±à¥
' ],
+ [ '([à¤-ह]़?)à¥e', '$1à¥à¤±à¥' ],
+ [ '([à¤-ह]़?)à¥E', '$1à¥à¤±à¥' ],
+ [ '([à¤-ह]़?)à¥o', '$1à¥à¤±à¥' ],
+ [ '([à¤-ह]़?)à¥O', '$1à¥à¤±à¥' ],
+ [ '([à¤-ह]़?)à¥\\~', '$1à¥à¤±à¥' ],
+ [ '([à¤
-ह]़)(�)\\`', '$1$2' ],
+ [ '([à¤-ह])(ा|ि|à¥|à¥|à¥|à¥|à¥|à¥
|à¥|à¥|à¥|à¥|à¥)\\`', '$1़$2' ],
+
+ [ 'à¤
a', 'à¤' ],
+ [ 'à¤u', 'à¤' ],
+ [ 'à¤
i', 'à¤' ],
+ [ 'à¤
\\^', 'ॲ' ],
+ [ 'à¤i', 'à¤' ],
+ [ 'à¤
u', 'à¤' ],
+ [ 'à¤R', 'ॠ' ],
+ [ 'ळà¥l', 'à¤' ],
+ [ 'à¤l', 'ॡ' ],
+ [ 'à¤(m|M|\\^)', 'à¤' ], // Candrabindu
+ [ 'à¤à¤M', 'à¥' ], // AUM (OM)
+
+ [ 'à¤à¥h', 'à¤à¥' ],
+ [ 'à¤à¥h', 'à¤à¥' ],
+ [ 'नà¥g', 'à¤à¥' ],
+ [ 'à¤à¥h', 'à¤à¥' ],
+ [ 'à¤à¥h', 'à¤à¥' ],
+ [ 'नà¥j', 'à¤à¥' ],
+ [ 'à¤à¥h', 'ठà¥' ],
+ [ 'डà¥h', 'ढà¥' ],
+ [ 'तà¥h', 'थà¥' ],
+ [ 'दà¥h', 'धà¥' ],
+ [ 'पà¥h', 'फà¥' ],
+ [ 'बà¥h', 'à¤à¥' ],
+ [ 'à¤a', 'ऱ' ],
+ [ 'à¤A', 'ऱा' ],
+ [ 'à¤i', 'ऱि' ],
+ [ 'à¤I', 'ऱà¥' ],
+ [ 'à¤u', 'ऱà¥' ],
+ [ 'à¤U', 'ऱà¥' ],
+ [ 'à¤\\^', 'ऱà¥
' ],
+ [ 'à¤e', 'ऱà¥' ],
+ [ 'à¤E', 'ऱà¥' ],
+ [ 'à¤o', 'ऱà¥' ],
+ [ 'à¤O', 'ऱà¥' ],
+ [ 'à¤\\~', 'ऱà¥' ],
+
+ [ 'सà¥h', 'शà¥' ],
+ [ 'शà¥h', 'षà¥' ],
+ [ 'à¤à¤¼à¥h', 'à¤à¤¼à¥' ],
+ [ 'à¤à¤¼à¥h', 'ऴà¥' ],
+ [ '।\\.', '॥' ], // Double danda
+ [ '([à¤à¥|à¤à¥]़?)à¥Y', 'à¤à¥à¤à¥' ],
+
+ [ 'a', 'à¤
' ],
+ [ 'b', 'बà¥' ],
+ [ 'c', 'à¤à¥' ],
+ [ 'd', 'दà¥' ],
+ [ 'e', 'à¤' ],
+ [ 'f', 'फà¥' ],
+ [ 'g', 'à¤à¥' ],
+ [ 'h', 'हà¥' ],
+ [ 'i', 'à¤' ],
+ [ 'j', 'à¤à¥' ],
+ [ 'k', 'à¤à¥' ],
+ [ 'l', 'लà¥' ],
+ [ 'm', 'मà¥' ],
+ [ 'n', 'नà¥' ],
+ [ 'o', 'à¤' ],
+ [ 'p', 'पà¥' ],
+ [ 'q', 'à¤à¤¼à¥' ],
+ [ 'r', 'रà¥' ],
+ [ 's', 'सà¥' ],
+ [ 't', 'तà¥' ],
+ [ 'u', 'à¤' ],
+ [ '(v|w)', 'वà¥' ],
+ [ 'x', 'à¤à¥à¤·à¥' ],
+ [ 'y', 'यà¥' ],
+ [ 'z', 'à¤à¤¼à¥' ],
+ [ 'A', 'à¤' ],
+ [ 'B', 'बà¥à¤¬à¥' ],
+ [ 'C', 'à¤à¥à¤à¥' ],
+ [ 'D', 'डà¥' ],
+ [ 'E', 'à¤' ],
+ [ 'F', 'फ़à¥' ],
+ [ 'G', 'à¤à¥à¤à¥' ],
+ [ 'H', 'à¤' ], // Visarga
+ [ 'I', 'à¤' ],
+ [ 'J', 'à¤à¥à¤à¥' ],
+ [ 'K', 'à¤à¥à¤à¥' ],
+ [ 'L', 'ळà¥' ],
+ [ 'M', 'à¤' ],
+ [ 'N', 'णà¥' ],
+ [ 'O', 'à¤' ],
+ [ 'P', 'पà¥à¤ªà¥' ],
+ [ 'R', 'à¤' ],
+ [ 'S', 'शà¥' ],
+ [ 'T', 'à¤à¥' ],
+ [ 'U', 'à¤' ],
+ [ '(V|W)', 'वà¥à¤µà¥' ],
+ [ 'X', 'à¤à¥à¤·à¥' ],
+ [ 'Y', 'à¤à¥' ],
+ [ 'Z', '.' ],
+ [ '0', '०' ],
+ [ '1', '१' ],
+ [ '2', '२' ],
+ [ '3', '३' ],
+ [ '4', '४' ],
+ [ '5', '५' ],
+ [ '6', '६' ],
+ [ '7', 'à¥' ],
+ [ '8', '८' ],
+ [ '9', '९' ],
+ [ '~', 'à¥' ], // Virama
+ [ '\\.', '।' ], // Danda
+ [ '//', 'ऽ' ],
+ [ '\\`', '़' ], // Nukta
+
+ // The last rules in the Schwa syncope rule section:
+ // If virama not added explicitly, catch all other characters from the US keyboard,
+ // remove virama and send the character itself ($2).
+ [ '([à¤-ह]़?)à¥(.)', '\\~', '$1à¥$2' ],
+ [ '([à¤-ह]़?)à¥(.)', '$1$2' ] ]
+ };
+
+ $.ime.register( hiTransliteration );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/hr/hr-kbd.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/hr/hr-kbd.js
new file mode 100644
index 0000000..2c0b822
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/hr/hr-kbd.js
@@ -0,0 +1,60 @@
+( function ( $ ) {
+ 'use strict';
+
+ var hrKbd = {
+ id: 'hr-kbd',
+ name: 'Croatian kbd',
+ description: 'Croatian keyboard layout',
+ date: '2013-02-11',
+ URL: 'http://github.com/wikimedia/jquery.ime',
+ author: 'Parag Nemade',
+ license: 'GPLv3',
+ version: '1.0',
+ patterns: [
+ ['¸c', 'ç'],
+ ['¸C', 'Ã'],
+ ['¸s', 'Å'],
+ ['¸S', 'Å'],
+ ['¨a', 'ä'],
+ ['¨A', 'Ã'],
+ ['¨e', 'ë'],
+ ['¨E', 'Ã'],
+ ['¨o', 'ö'],
+ ['¨O', 'Ã'],
+ ['¨u', 'ü'],
+ ['¨U', 'Ã'],
+ ['\\@', '\"'],
+ ['\\^', '&'],
+ ['\\&', '/'],
+ ['\\*', '('],
+ ['\\(', ')'],
+ ['\\)', '='],
+ ['\\-', '\''],
+ ['\\_', '?'],
+ ['\\=', '+'],
+ ['\\+', '*'],
+ ['\\`', '¸'],
+ ['\\~', '¨'],
+ ['y', 'z'],
+ ['Y', 'Z'],
+ ['\\[', 'Å¡'],
+ ['\\{', 'Å '],
+ ['\\]', 'Ä'],
+ ['\\}', 'Ä'],
+ [';', 'Ä'],
+ [':', 'Ä'],
+ ['\'', 'Ä'],
+ ['\"', 'Ä'],
+ ['\\\\', 'ž'],
+ ['\\|', 'Ž'],
+ ['z', 'y'],
+ ['Z', 'Y'],
+ ['\\<', ';'],
+ ['\\>', ':'],
+ ['/', '-'],
+ ['\\?', '_']
+ ]
+ };
+
+ $.ime.register( hrKbd );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/hy/hy-emslegacy.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/hy/hy-emslegacy.js
new file mode 100644
index 0000000..7886f3b
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/hy/hy-emslegacy.js
@@ -0,0 +1,169 @@
+/**
+ * Eastern Armenian phonetic layout introduced by Microsoft in Windows 2000 and depreceated
+ * in Windows 8.
+ * Original layout was created in late 90-ies based on Unicode 3, and was never updated
+ * since release, causing it to be incompatible with Unicode.
+ *
+ * This layout version complies with Unicode 6.1, including all valid Armenian punctuation signs,
+ * mijaket (outside of main Armenian Unicode range) and Dram (AMD) sign under USD sign (Shift + 4).
+ * Please, double-check with Unicode before making any changes here.
+ *
+ * Layout supports extended keys, with AltGr (Alt or Alt+Ctrl on some systems) + key,
+ * producing digits and punctuation marks from standard US keyboard layout.
+ */
+
+( function ( $ ) {
+ 'use strict';
+
+ var hyEmslegacy = {
+ id: 'hy-emslegacy',
+ name: 'ÕÕ Ô±ÖÖÕ¥Õ¬Õ¡Õ°Õ¡ÕµÕ¥ÖÕ¥Õ¶ (Õ°Õ¶Õ¡ÖÕ¡Õ®)',
+ description: 'Legacy keyboard layout for Eastern Armenian by Microsoft',
+ date: '2013-02-11',
+ URL: 'http://www.microsoft.com/resources/msdn/goglobal/keyboards/kbdarme.html',
+ author: 'Parag Nemade, Aleksey Chalabyan',
+ license: 'GPLv3',
+ version: '1.1',
+ patterns: [
+ ['1', 'Ö'],
+ ['\\!', '1'],
+ ['2', 'Õ±'],
+ ['\\@', 'Õ'],
+ ['3', 'Õµ'],
+ ['\\#', 'Õ
'],
+ ['4', 'Õ'],
+ ['\\$', 'Ö'],
+ ['5', ','],
+ ['\\%', '4'],
+ ['6', '-'],
+ ['\\^', '9'],
+ ['7', 'â¤'],
+ ['\\&', 'Ö'],
+ ['8', '«'],
+ ['\\*', '('],
+ ['9', '»'],
+ ['\\(', ')'],
+ ['0', 'Ö
'],
+ ['\\)', 'Õ'],
+ ['\\-', 'Õ¼'],
+ ['\\_', 'Õ'],
+ ['\\=', 'Õª'],
+ ['\\+', 'Ôº'],
+ ['\\`', 'Õ'],
+ ['\\~', 'Õ'],
+ ['q', 'Õ'],
+ ['Q', 'Ô½'],
+ ['w', 'Ö'],
+ ['W', 'Õ'],
+ ['e', 'Õ§'],
+ ['E', 'Ô·'],
+ ['r', 'Ö'],
+ ['R', 'Õ'],
+ ['t', 'Õ¿'],
+ ['T', 'Õ'],
+ ['y', 'Õ¥'],
+ ['Y', 'Ôµ'],
+ ['u', 'Õ¨'],
+ ['U', 'Ô¸'],
+ ['i', 'Õ«'],
+ ['I', 'Ô»'],
+ ['o', 'Õ¸'],
+ ['O', 'Õ'],
+ ['p', 'Õº'],
+ ['P', 'Õ'],
+ ['\\[', 'Õ¹'],
+ ['\\{', 'Õ'],
+ ['\\]', 'Õ»'],
+ ['\\}', 'Õ'],
+ ['\\\\', '\''],
+ ['\\|', 'Õ'],
+ ['a', 'Õ¡'],
+ ['A', 'Ô±'],
+ ['s', 'Õ½'],
+ ['S', 'Õ'],
+ ['d', 'Õ¤'],
+ ['D', 'Ô´'],
+ ['f', 'Ö'],
+ ['F', 'Õ'],
+ ['g', 'Ö'],
+ ['G', 'Õ'],
+ ['h', 'Õ°'],
+ ['H', 'Õ'],
+ ['j', 'Õ³'],
+ ['J', 'Õ'],
+ ['k', 'Õ¯'],
+ ['K', 'Ô¿'],
+ ['l', 'Õ¬'],
+ ['L', 'Ô¼'],
+ [';', 'Õ©'],
+ [':', 'Ô¹'],
+ ['\'', 'Ö'],
+ ['\"', 'Õ'],
+ ['z', 'Õ¦'],
+ ['Z', 'Ô¶'],
+ ['x', 'Ö'],
+ ['X', 'Õ'],
+ ['c', 'Õ£'],
+ ['C', 'Ô³'],
+ ['v', 'Õ¾'],
+ ['V', 'Õ'],
+ ['b', 'Õ¢'],
+ ['B', 'Ô²'],
+ ['n', 'Õ¶'],
+ ['N', 'Õ'],
+ ['m', 'Õ´'],
+ ['M', 'Õ'],
+ [',', 'Õ·'],
+ ['\\<', 'Õ'],
+ ['\\.', 'Õ²'],
+ ['\\>', 'Õ'],
+ ['/', 'Õ®'],
+ ['\\?', 'Ô¾']
+ ],
+ patterns_x: [
+ ['1', '1'],
+ ['\\!', '!'],
+ ['2', '2'],
+ ['\\@', '@'],
+ ['3', '3'],
+ ['\\#', '#'],
+ ['4', '4'],
+ ['\\$', '$'],
+ ['5', '5'],
+ ['\\%', '%'],
+ ['6', '6'],
+ ['\\^', '^'],
+ ['7', '7'],
+ ['\\&', '&'],
+ ['8', '8'],
+ ['\\*', '*'],
+ ['9', '9'],
+ ['\\(', '('],
+ ['0', '0'],
+ ['\\)', ')'],
+ ['\\-', '-'],
+ ['\\_', '_'],
+ ['\\=', '='],
+ ['\\+', '+'],
+ ['\\`', '`'],
+ ['\\~', '~'],
+ ['\\[', '['],
+ ['\\{', '{'],
+ ['\\]', ']'],
+ ['\\}', '}'],
+ ['\\\\', '\\'],
+ ['\\|', '|'],
+ [';', ';'],
+ ['\\:', ':'],
+ ['\'', '\''],
+ ['\"', '\"'],
+ ['\\<', '<'],
+ ['\\.', '.'],
+ ['\\>', '>'],
+ ['/', '/'],
+ ['\\?', '?']
+ ]
+ };
+
+ $.ime.register( hyEmslegacy );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/hy/hy-ephonetic.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/hy/hy-ephonetic.js
new file mode 100644
index 0000000..9580ef7
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/hy/hy-ephonetic.js
@@ -0,0 +1,173 @@
+/**
+ * This is a phonetic layout for the Armenian language (hy, arm, hye).
+ * The layout comes from DOS times, and was later popularised by KDWin and
+ * WinKeys keyboard "drivers".
+ * While not as efficient and well-thought as the official typewriter layout, it is very popular as
+ * it uses similary sounding Latin letters, which is very handy, as keyboards in Armenia
+ * don't come engraved with Armenian letters.
+ *
+ * This layout complies with Unicode 6.1, including all valid Armenian punctuation signs,
+ * mijaket (outside of main Armenian Unicode range) and Dram (AMD) sign.
+ * Please, double-check with Unicode before making any changes here.
+ *
+ * Layout supports extended keys, with AltGr (Alt or Alt+Ctrl on some systems) + key,
+ * producing digits and punctuation marks from standard US keyboard layout.
+ */
+
+( function ( $ ) {
+ 'use strict';
+
+ var hyEphonetic = {
+ id: 'hy-ephonetic',
+ name: 'ÕÕ¡ÕµÕ¥ÖÕ¥Õ¶ ÕÕ¶Õ¹ÕµÕ¸ÖÕ¶Õ¡ÕµÕ«Õ¶',
+ description: 'Armenian phonetic (Eastern) keyboard layout',
+ date: '2013-07-06',
+ URL: 'http://hy.am',
+ author: 'Aleksey Chalabyan Ô±Õ¬Õ¥ÖÕ½Õ¥Õµ ÕÕ¡Õ¬Õ¡Õ¢ÕµÕ¡Õ¶ a.k.a Xelgen',
+ license: 'GPLv3',
+ version: '1.0',
+ contextLength: 0,
+ maxKeyLength: 0,
+ patterns: [
+ ['1', 'Õ§'],
+ ['\\!', 'Ô·'],
+ ['2', 'Õ©'],
+ ['\\@', 'Ô¹'],
+ ['3', 'Ö'],
+ ['\\#', 'Õ'],
+ ['4', 'Õ±'],
+ ['\\$', 'Õ'],
+ ['5', 'Õ»'],
+ ['\\%', 'Õ'],
+ ['6', 'Ö'],
+ ['\\^', '('],
+ ['7', 'Ö'],
+ ['\\&', ')'],
+ ['8', 'Ö'],
+ ['\\*', 'Õ'],
+ ['9', 'Õ¹'],
+ ['\\(', 'Õ'],
+ ['0', 'Õ³'],
+ ['\\)', 'Õ'],
+ ['\\-', 'â'],
+ ['\\_', 'â'],
+ ['\\=', 'Õª'],
+ ['\\+', 'Ôº'],
+ ['\\`', 'Õ'],
+ ['\\~', 'Õ'],
+ ['q', 'Ö'],
+ ['Q', 'Õ'],
+ ['w', 'Õ¸'],
+ ['W', 'Õ'],
+ ['e', 'Õ¥'],
+ ['E', 'Ôµ'],
+ ['r', 'Õ¼'],
+ ['R', 'Õ'],
+ ['t', 'Õ¿'],
+ ['T', 'Õ'],
+ ['y', 'Õ¨'],
+ ['Y', 'Ô¸'],
+ ['u', 'Ö'],
+ ['U', 'Õ'],
+ ['i', 'Õ«'],
+ ['I', 'Ô»'],
+ ['o', 'Ö
'],
+ ['O', 'Õ'],
+ ['p', 'Õº'],
+ ['P', 'Õ'],
+ ['\\[', 'Õ'],
+ ['\\{', 'Ô½'],
+ ['\\]', 'Õ®'],
+ ['\\}', 'Ô¾'],
+ ['\\\\', 'Õ·'],
+ ['\\|', 'Õ'],
+ ['a', 'Õ¡'],
+ ['A', 'Ô±'],
+ ['s', 'Õ½'],
+ ['S', 'Õ'],
+ ['d', 'Õ¤'],
+ ['D', 'Ô´'],
+ ['f', 'Ö'],
+ ['F', 'Õ'],
+ ['g', 'Õ£'],
+ ['G', 'Ô³'],
+ ['h', 'Õ°'],
+ ['H', 'Õ'],
+ ['j', 'Õµ'],
+ ['J', 'Õ
'],
+ ['k', 'Õ¯'],
+ ['K', 'Ô¿'],
+ ['l', 'Õ¬'],
+ ['L', 'Ô¼'],
+ [';', ';'],
+ [':', 'Ö'],
+ ['\'', 'Õ'],
+ ['\"', '"'],
+ ['z', 'Õ¦'],
+ ['Z', 'Ô¶'],
+ ['x', 'Õ²'],
+ ['X', 'Õ'],
+ ['c', 'Ö'],
+ ['C', 'Õ'],
+ ['v', 'Õ¾'],
+ ['V', 'Õ'],
+ ['b', 'Õ¢'],
+ ['B', 'Ô²'],
+ ['n', 'Õ¶'],
+ ['N', 'Õ'],
+ ['m', 'Õ´'],
+ ['M', 'Õ'],
+ [',', ','],
+ ['\\<', '«'],
+ ['\\.', 'â¤'],
+ ['\\>', '»'],
+ ['/', 'â¦'],
+ ['\\?', 'Õ']
+ ],
+ patterns_x: [
+ ['1', '1'],
+ ['\\!', '!'],
+ ['2', '2'],
+ ['\\@', '@'],
+ ['3', '3'],
+ ['\\#', '#'],
+ ['4', '4'],
+ ['\\$', '$'],
+ ['5', '5'],
+ ['\\%', '%'],
+ ['6', '6'],
+ ['\\^', '^'],
+ ['7', '7'],
+ ['\\&', '&'],
+ ['8', '8'],
+ ['\\*', '*'],
+ ['9', '9'],
+ ['\\(', '('],
+ ['0', '0'],
+ ['\\)', ')'],
+ ['\\-', '-'],
+ ['\\_', '_'],
+ ['\\=', '='],
+ ['\\+', '+'],
+ ['\\`', '`'],
+ ['\\~', '~'],
+ ['\\[', '['],
+ ['\\{', '{'],
+ ['\\]', ']'],
+ ['\\}', '}'],
+ ['\\\\', '\\'],
+ ['\\|', '|'],
+ [';', ';'],
+ ['\\:', ':'],
+ ['\'', '\''],
+ ['\"', '\"'],
+ ['\\<', '<'],
+ ['\\.', '.'],
+ ['\\>', '>'],
+ ['/', '/'],
+ ['\\?', '?']
+ ]
+ };
+
+ $.ime.register( hyEphonetic );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/hy/hy-ephoneticalt.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/hy/hy-ephoneticalt.js
new file mode 100644
index 0000000..0fb0ea4
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/hy/hy-ephoneticalt.js
@@ -0,0 +1,171 @@
+/**
+ * This is alternative phonetic layout for Armenian language (hy, arm, hye).
+ * Based on Armenian phonetic layout, it improves few things, by placing Ö under latin r,
+ * as Ö is much more frequent in Armenian. Õ¼ goes under 8, where Ö is in standart phonetic.
+ * Another change, which is not yet in xkb, ( as of July 2013), is swapping Ö and Õ©: Õ is
+ * placed under F, where left index finger is, but is the least used letter in Armenian,
+ * so much more used Õ© takes it place, comming down from 2.
+ *
+ * This layout complies with Unicode 6.1, including all valid Armenian punctuation signs,
+ * mijaket (outside of main Armenian Unicode range) and Dram (AMD) sign.
+ * Please, double-check with Unicode before making any changes here.
+ *
+ * Layout supports extended keys, with AltGr (Alt or Alt+Ctrl on some systems) + key,
+ * producing digits and punctuation marks from standard US keyboard layout.
+ */
+
+( function ( $ ) {
+ 'use strict';
+
+ var hyEphonetic = {
+ id: 'hy-ephoneticalt',
+ name: 'ÕÕ¡ÕµÕ¥ÖÕ¥Õ¶ ÕÕ¶Õ¹ÕµÕ¸ÖÕ¶Õ¡ÕµÕ«Õ¶ (R->Õ, F->Ô¹)',
+ description: 'Eastern Armenian alternative phonetic keyboard layout',
+ date: '2013-07-08',
+ URL: 'http://github.com/wikimedia/jquery.ime',
+ author: 'Aleksey Chalabyan Ô±Õ¬Õ¥ÖÕ½Õ¥Õµ ÕÕ¡Õ¬Õ¡Õ¢ÕµÕ¡Õ¶ a.k.a Xelgen',
+ license: 'GPLv3',
+ version: '1.0',
+ patterns: [
+ ['1', 'Õ§'],
+ ['\\!', 'Ô·'],
+ ['2', 'Ö'],
+ ['\\@', 'Õ'],
+ ['3', 'Ö'],
+ ['\\#', 'Õ'],
+ ['4', 'Õ±'],
+ ['\\$', 'Õ'],
+ ['5', 'Õ»'],
+ ['\\%', 'Õ'],
+ ['6', 'Ö'],
+ ['\\^', '('],
+ ['7', 'Ö'],
+ ['\\&', ')'],
+ ['8', 'Õ¼'],
+ ['\\*', 'Õ'],
+ ['9', 'Õ¹'],
+ ['\\(', 'Õ'],
+ ['0', 'Õ³'],
+ ['\\)', 'Õ'],
+ ['\\-', 'â'],
+ ['\\_', 'â'],
+ ['\\=', 'Õª'],
+ ['\\+', 'Ôº'],
+ ['\\`', 'Õ'],
+ ['\\~', 'Õ'],
+ ['q', 'Ö'],
+ ['Q', 'Õ'],
+ ['w', 'Õ¸'],
+ ['W', 'Õ'],
+ ['e', 'Õ¥'],
+ ['E', 'Ôµ'],
+ ['r', 'Ö'],
+ ['R', 'Õ'],
+ ['t', 'Õ¿'],
+ ['T', 'Õ'],
+ ['y', 'Õ¨'],
+ ['Y', 'Ô¸'],
+ ['u', 'Ö'],
+ ['U', 'Õ'],
+ ['i', 'Õ«'],
+ ['I', 'Ô»'],
+ ['o', 'Ö
'],
+ ['O', 'Õ'],
+ ['p', 'Õº'],
+ ['P', 'Õ'],
+ ['\\[', 'Õ'],
+ ['\\{', 'Ô½'],
+ ['\\]', 'Õ®'],
+ ['\\}', 'Ô¾'],
+ ['\\\\', 'Õ·'],
+ ['\\|', 'Õ'],
+ ['a', 'Õ¡'],
+ ['A', 'Ô±'],
+ ['s', 'Õ½'],
+ ['S', 'Õ'],
+ ['d', 'Õ¤'],
+ ['D', 'Ô´'],
+ ['f', 'Õ©'],
+ ['F', 'Ô¹'],
+ ['g', 'Õ£'],
+ ['G', 'Ô³'],
+ ['h', 'Õ°'],
+ ['H', 'Õ'],
+ ['j', 'Õµ'],
+ ['J', 'Õ
'],
+ ['k', 'Õ¯'],
+ ['K', 'Ô¿'],
+ ['l', 'Õ¬'],
+ ['L', 'Ô¼'],
+ [';', ';'],
+ [':', 'Ö'],
+ ['\'', 'Õ'],
+ ['\"', '"'],
+ ['z', 'Õ¦'],
+ ['Z', 'Ô¶'],
+ ['x', 'Õ²'],
+ ['X', 'Õ'],
+ ['c', 'Ö'],
+ ['C', 'Õ'],
+ ['v', 'Õ¾'],
+ ['V', 'Õ'],
+ ['b', 'Õ¢'],
+ ['B', 'Ô²'],
+ ['n', 'Õ¶'],
+ ['N', 'Õ'],
+ ['m', 'Õ´'],
+ ['M', 'Õ'],
+ [',', ','],
+ ['\\<', '«'],
+ ['\\.', 'â¤'],
+ ['\\>', '»'],
+ ['/', 'â¦'],
+ ['\\?', 'Õ']
+ ],
+ patterns_x: [
+ ['1', '1'],
+ ['\\!', '!'],
+ ['2', '2'],
+ ['\\@', '@'],
+ ['3', '3'],
+ ['\\#', '#'],
+ ['4', '4'],
+ ['\\$', '$'],
+ ['5', '5'],
+ ['\\%', '%'],
+ ['6', '6'],
+ ['\\^', '^'],
+ ['7', '7'],
+ ['\\&', '&'],
+ ['8', '8'],
+ ['\\*', '*'],
+ ['9', '9'],
+ ['\\(', '('],
+ ['0', '0'],
+ ['\\)', ')'],
+ ['\\-', '-'],
+ ['\\_', '_'],
+ ['\\=', '='],
+ ['\\+', '+'],
+ ['\\`', '`'],
+ ['\\~', '~'],
+ ['\\[', '['],
+ ['\\{', '{'],
+ ['\\]', ']'],
+ ['\\}', '}'],
+ ['\\\\', '\\'],
+ ['\\|', '|'],
+ [';', ';'],
+ ['\\:', ':'],
+ ['\'', '\''],
+ ['\"', '\"'],
+ ['\\<', '<'],
+ ['\\.', '.'],
+ ['\\>', '>'],
+ ['/', '/'],
+ ['\\?', '?']
+ ]
+ };
+
+ $.ime.register( hyEphonetic );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/hy/hy-typewriter.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/hy/hy-typewriter.js
new file mode 100644
index 0000000..63b1872
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/hy/hy-typewriter.js
@@ -0,0 +1,168 @@
+/**
+ * Armenian typewriter layout
+ * Based on themonly official state standard for Armenian keyboard layout:
+ * http://www.sarm.am/en/standarts/view/5741
+ *
+ * This layout complies with Unicode 6.1, including all valid Armenian punctuation signs,
+ * mijaket (outside of main Armenian Unicode range) and Dram (AMD) sign.
+ * Please, double-check with Unicode before making any changes here.
+ *
+ * Layout supports extended keys, with AltGr (Alt or Alt+Ctrl on some systems) + key,
+ * producing digits and punctuation marks from standard US keyboard layout.
+ */
+
+( function ( $ ) {
+ 'use strict';
+
+ var hyTypewriter = {
+ id: 'hy-typewriter',
+ name: 'ÕÕ¡ÕµÕ¥ÖÕ¥Õ¶ Ô³ÖÕ¡Õ´Õ¥ÖÕ¥Õ¶Õ¡',
+ description: 'Armenian typewriter keyboard layout',
+ date: '2013-07-08',
+ URL: 'http://www.sarm.am/en/standarts/view/5741',
+ author: 'Aleksey Chalabyan Ô±Õ¬Õ¥ÖÕ½Õ¥Õµ ÕÕ¡Õ¬Õ¡Õ¢ÕµÕ¡Õ¶ a.k.a Xelgen',
+ license: 'GPLv3',
+ version: '1.0',
+ patterns: [
+ ['1', 'Ö'],
+ ['\\!', 'Õ'],
+ ['2', 'Õ±'],
+ ['\\@', 'Õ'],
+ ['3', '-'],
+ ['\\#', ''],
+ ['4', ','],
+ ['\\$', 'Ö'],
+ ['5', 'Ö'],
+ ['\\%', 'Ö'],
+ ['6', 'Õ'],
+ ['\\^', 'â'],
+ ['7', 'â¤'],
+ ['\\&', 'Ö'],
+ ['8', 'Õ'],
+ ['\\*', 'Õ'],
+ ['9', ')'],
+ ['\\(', '('],
+ ['0', 'Ö
'],
+ ['\\)', 'Õ'],
+ ['\\-', 'Õ§'],
+ ['\\_', 'Ô·'],
+ ['\\=', 'Õ²'],
+ ['\\+', 'Õ'],
+ ['\\`', 'Õ'],
+ ['\\~', 'Õ'],
+ ['q', 'Õ³'],
+ ['Q', 'Õ'],
+ ['w', 'Ö'],
+ ['W', 'Õ'],
+ ['e', 'Õ¢'],
+ ['E', 'Ô²'],
+ ['r', 'Õ½'],
+ ['R', 'Õ'],
+ ['t', 'Õ´'],
+ ['T', 'Õ'],
+ ['y', 'Õ¸'],
+ ['Y', 'Õ'],
+ ['u', 'Ö'],
+ ['U', 'Õ'],
+ ['i', 'Õ¯'],
+ ['I', 'Ô¿'],
+ ['o', 'Õ¨'],
+ ['O', 'Ô¸'],
+ ['p', 'Õ©'],
+ ['P', 'Ô¹'],
+ ['\\[', 'Õ®'],
+ ['\\{', 'Ô¾'],
+ ['\\]', 'Ö'],
+ ['\\}', 'Õ'],
+ ['\\\\', '»'],
+ ['\\|', '«'],
+ ['a', 'Õ»'],
+ ['A', 'Õ'],
+ ['s', 'Õ¾'],
+ ['S', 'Õ'],
+ ['d', 'Õ£'],
+ ['D', 'Ô³'],
+ ['f', 'Õ¥'],
+ ['F', 'Ôµ'],
+ ['g', 'Õ¡'],
+ ['G', 'Ô±'],
+ ['h', 'Õ¶'],
+ ['H', 'Õ'],
+ ['j', 'Õ«'],
+ ['J', 'Ô»'],
+ ['k', 'Õ¿'],
+ ['K', 'Õ'],
+ ['l', 'Õ°'],
+ ['L', 'Õ'],
+ [';', 'Õº'],
+ [':', 'Õ'],
+ ['\'', 'Ö'],
+ ['\"', 'Õ'],
+ ['z', 'Õª'],
+ ['Z', 'Ôº'],
+ ['x', 'Õ¤'],
+ ['X', 'Ô´'],
+ ['c', 'Õ¹'],
+ ['C', 'Õ'],
+ ['v', 'Õµ'],
+ ['V', 'Õ
'],
+ ['b', 'Õ¦'],
+ ['B', 'Ô¶'],
+ ['n', 'Õ¬'],
+ ['N', 'Ô¼'],
+ ['m', 'Ö'],
+ ['M', 'Õ'],
+ [',', 'Õ'],
+ ['\\<', 'Ô½'],
+ ['\\.', 'Õ·'],
+ ['\\>', 'Õ'],
+ ['/', 'Õ¼'],
+ ['\\?', 'Õ']
+ ],
+ patterns_x: [
+ ['1', '1'],
+ ['\\!', '!'],
+ ['2', '2'],
+ ['\\@', '@'],
+ ['3', '3'],
+ ['\\#', '#'],
+ ['4', '4'],
+ ['\\$', '$'],
+ ['5', '5'],
+ ['\\%', '%'],
+ ['6', '6'],
+ ['\\^', '^'],
+ ['7', '7'],
+ ['\\&', '&'],
+ ['8', '8'],
+ ['\\*', '*'],
+ ['9', '9'],
+ ['\\(', '('],
+ ['0', '0'],
+ ['\\)', ')'],
+ ['\\-', '-'],
+ ['\\_', '_'],
+ ['\\=', '='],
+ ['\\+', '+'],
+ ['\\`', '`'],
+ ['\\~', '~'],
+ ['\\[', '['],
+ ['\\{', '{'],
+ ['\\]', ']'],
+ ['\\}', '}'],
+ ['\\\\', '\\'],
+ ['\\|', '|'],
+ [';', ';'],
+ ['\\:', ':'],
+ ['\'', '\''],
+ ['\"', '\"'],
+ ['\\<', '<'],
+ ['\\.', '.'],
+ ['\\>', '>'],
+ ['/', '/'],
+ ['\\?', '?']
+ ]
+ };
+
+ $.ime.register( hyTypewriter );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/hy/hy-wmslegacy.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/hy/hy-wmslegacy.js
new file mode 100644
index 0000000..bec1c09
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/hy/hy-wmslegacy.js
@@ -0,0 +1,169 @@
+/**
+ * Western Armenian phonetic layout introduced by Microsoft in Windows 2000 and depreceated
+ * in Windows 8.
+ * Original layout was created in late 90-ies based on Unicode 3, and was never updated
+ * since release, causing it to be incompatible with Unicode.
+ *
+ * This layout version complies with Unicode 6.1, including all valid Armenian punctuation signs,
+ * mijaket (outside of main Armenian Unicode range) and Dram (AMD) sign under USD sign (Shift + 4).
+ * Please, double-check with Unicode before making any changes here.
+ *
+ * Layout supports extended keys, with AltGr (Alt or Alt+Ctrl on some systems) + key,
+ * producing digits and punctuation marks from standard US keyboard layout.
+ */
+
+( function ( $ ) {
+ 'use strict';
+
+ var hyWmslegacy = {
+ id: 'hy-wmslegacy',
+ name: 'ÕÕ Ô±ÖÖÕ´Õ¿Õ¡Õ°Õ¡ÕµÕ¥ÖÕ¥Õ¶ (Õ°Õ¶Õ¡ÖÕ¡Õ®)',
+ description: 'Legacy keyboard layout for Western Armenian by Microsoft',
+ date: '2013-07-08',
+ URL: 'http://www.microsoft.com/resources/msdn/goglobal/keyboards/kbdarmw.html',
+ author: 'Aleksey Chalabyan Ô±Õ¬Õ¥ÖÕ½Õ¥Õµ ÕÕ¡Õ¬Õ¡Õ¢ÕµÕ¡Õ¶ a.k.a Xelgen',
+ license: 'GPLv3',
+ version: '1.0',
+ patterns: [
+ ['1', 'Ö'],
+ ['\\!', '1'],
+ ['2', 'Õ±'],
+ ['\\@', 'Õ'],
+ ['3', 'Õµ'],
+ ['\\#', 'Õ
'],
+ ['4', 'Õ'],
+ ['\\$', 'Ö'],
+ ['5', ','],
+ ['\\%', '4'],
+ ['6', '-'],
+ ['\\^', '9'],
+ ['7', 'â¤'],
+ ['\\&', 'Ö'],
+ ['8', '«'],
+ ['\\*', '('],
+ ['9', '»'],
+ ['\\(', ')'],
+ ['0', 'Ö
'],
+ ['\\)', 'Õ'],
+ ['\\-', 'Õ¼'],
+ ['\\_', 'Õ'],
+ ['\\=', 'Õª'],
+ ['\\+', 'Ôº'],
+ ['\\`', 'Õ'],
+ ['\\~', 'Õ'],
+ ['q', 'Õ'],
+ ['Q', 'Ô½'],
+ ['w', 'Õ¾'],
+ ['W', 'Õ'],
+ ['e', 'Õ§'],
+ ['E', 'Ô·'],
+ ['r', 'Ö'],
+ ['R', 'Õ'],
+ ['t', 'Õ¤'],
+ ['T', 'Ô´'],
+ ['y', 'Õ¥'],
+ ['Y', 'Ôµ'],
+ ['u', 'Õ¨'],
+ ['U', 'Ô¸'],
+ ['i', 'Õ«'],
+ ['I', 'Ô»'],
+ ['o', 'Õ¸'],
+ ['O', 'Õ'],
+ ['p', 'Õ¢'],
+ ['P', 'Ô²'],
+ ['\\[', 'Õ¹'],
+ ['\\{', 'Õ'],
+ ['\\]', 'Õ»'],
+ ['\\}', 'Õ'],
+ ['\\\\', '\''],
+ ['\\|', 'Õ'],
+ ['a', 'Õ¡'],
+ ['A', 'Ô±'],
+ ['s', 'Õ½'],
+ ['S', 'Õ'],
+ ['d', 'Õ¿'],
+ ['D', 'Õ'],
+ ['f', 'Ö'],
+ ['F', 'Õ'],
+ ['g', 'Õ¯'],
+ ['G', 'Ô¿'],
+ ['h', 'Õ°'],
+ ['H', 'Õ'],
+ ['j', 'Õ³'],
+ ['J', 'Õ'],
+ ['k', 'Ö'],
+ ['K', 'Õ'],
+ ['l', 'Õ¬'],
+ ['L', 'Ô¼'],
+ [';', 'Õ©'],
+ [':', 'Ô¹'],
+ ['\'', 'Ö'],
+ ['\"', 'Õ'],
+ ['z', 'Õ¦'],
+ ['Z', 'Ô¶'],
+ ['x', 'Ö'],
+ ['X', 'Õ'],
+ ['c', 'Õ£'],
+ ['C', 'Ô³'],
+ ['v', 'Ö'],
+ ['V', 'Õ'],
+ ['b', 'Õº'],
+ ['B', 'Õ'],
+ ['n', 'Õ¶'],
+ ['N', 'Õ'],
+ ['m', 'Õ´'],
+ ['M', 'Õ'],
+ [',', 'Õ·'],
+ ['\\<', 'Õ'],
+ ['\\.', 'Õ²'],
+ ['\\>', 'Õ'],
+ ['/', 'Õ®'],
+ ['\\?', 'Ô¾']
+ ],
+ patterns_x: [
+ ['1', '1'],
+ ['\\!', '!'],
+ ['2', '2'],
+ ['\\@', '@'],
+ ['3', '3'],
+ ['\\#', '#'],
+ ['4', '4'],
+ ['\\$', '$'],
+ ['5', '5'],
+ ['\\%', '%'],
+ ['6', '6'],
+ ['\\^', '^'],
+ ['7', '7'],
+ ['\\&', '&'],
+ ['8', '8'],
+ ['\\*', '*'],
+ ['9', '9'],
+ ['\\(', '('],
+ ['0', '0'],
+ ['\\)', ')'],
+ ['\\-', '-'],
+ ['\\_', '_'],
+ ['\\=', '='],
+ ['\\+', '+'],
+ ['\\`', '`'],
+ ['\\~', '~'],
+ ['\\[', '['],
+ ['\\{', '{'],
+ ['\\]', ']'],
+ ['\\}', '}'],
+ ['\\\\', '\\'],
+ ['\\|', '|'],
+ [';', ';'],
+ ['\\:', ':'],
+ ['\'', '\''],
+ ['\"', '\"'],
+ ['\\<', '<'],
+ ['\\.', '.'],
+ ['\\>', '>'],
+ ['/', '/'],
+ ['\\?', '?']
+ ]
+ };
+
+ $.ime.register( hyWmslegacy );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/is/is-normforms.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/is/is-normforms.js
new file mode 100644
index 0000000..a37c99b
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/is/is-normforms.js
@@ -0,0 +1,78 @@
+( function ( $ ) {
+ 'use strict';
+
+ var defs = {
+ id: 'is-normforms',
+ name: 'Ãslenska',
+ description: 'Islandic input method with most common form transliterated',
+ date: '2012-12-04',
+ URL: 'http://www.evertype.com/alphabets/icelandic.pdf',
+ author: 'John Erling Blad',
+ license: 'GPLv3',
+ version: '1.0',
+ contextLength: 1,
+ maxKeyLength: 3,
+ patterns: [
+ // Uses "'" as an accent
+ [ '\'a', 'á' ],
+ [ '\'A', 'Ã' ],
+ [ '\'i', 'Ã' ],
+ [ '\'I', 'Ã' ],
+ [ '\'e', 'é' ],
+ [ '\'E', 'Ã' ],
+ [ '\'o', 'ó' ],
+ [ '\'O', 'Ã' ],
+ [ '\'u', 'ú' ],
+ [ '\'U', 'Ã' ],
+ [ '\'y', 'ý' ],
+ [ '\'Y', 'Ã' ],
+ // Uses "~" as "approximatly similar to"
+ [ '~a', 'ä' ],
+ [ '~A', 'Ã' ],
+ [ '~e', 'ë' ],
+ [ '~E', 'Ã' ],
+ [ '~d', 'ð' ],
+ [ '~D', 'Ã' ],
+ [ '~o', 'ø' ],
+ [ '~O', 'Ã' ],
+ // The most common transliterations (also the Danish letters)
+ [ 'th', 'þ' ],
+ [ 'TH', 'Ã' ],
+ [ 'Th', 'Ã' ],
+ [ 'aa', 'Ã¥' ],
+ [ 'AA', 'Ã
' ],
+ [ 'Aa', 'Ã
' ],
+ [ 'ae', 'æ' ],
+ [ 'AE', 'Ã' ],
+ [ 'Ae', 'Ã' ],
+ [ 'oe', 'ö' ],
+ [ 'OE', 'Ã' ],
+ [ 'Oe', 'Ã' ],
+ // The previous as negated transliterations, mostly for names
+ [ 'þh', 'h', 'th' ],
+ [ 'ÃA', 'H', 'TH' ],
+ [ 'Ãh', 'H', 'Th' ],
+ [ 'þA', 'h', 'tH' ],
+ [ 'Ã¥a', 'a', 'aa' ],
+ [ 'Ã
A', 'A', 'AA' ],
+ [ 'Ã
a', 'A', 'Aa' ],
+ [ 'Ã¥A', 'a', 'aA' ],
+ [ 'æe', 'e', 'ae' ],
+ [ 'ÃE', 'E', 'AE' ],
+ [ 'Ãe', 'E', 'Ae' ],
+ [ 'æE', 'e', 'aE' ],
+ [ 'öe', 'e', 'oe' ],
+ [ 'ÃE', 'E', 'OE' ],
+ [ 'Ãe', 'E', 'Oe' ],
+ [ 'öE', 'e', 'oE' ]
+ // historically similar forms
+ // "Ã
" is sometimes written as "Aa", and "Ã¥" as "aa", but in names
+ // it is not generally acceptable to use this transliteration. To
+ // handle those situations we need some oposite forms.
+ // There is a similar character "Ã
" for the length unit Angstrom,
+ // but this is not the upper case letter Ã
.
+ ]
+ };
+
+ $.ime.register( defs );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/jv/jv-transliteration.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/jv/jv-transliteration.js
new file mode 100644
index 0000000..6b02062
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/jv/jv-transliteration.js
@@ -0,0 +1,273 @@
+( function ( $ ) {
+ 'use strict';
+
+ var jvTransliteration = {
+ id: 'jv-transliteration',
+ name: 'Javanese',
+ description: 'Javanese transliteration',
+ date: '2013-08-10',
+ URL: 'http://github.com/wikimedia/jquery.ime',
+ author: 'Bennylin',
+ license: 'GPLv3',
+ version: '1.1',
+ contextLength: 1,
+ maxKeyLength: 2,
+ patterns: [
+ [ '\\\\([A-Za-z\\>_~\\.0-9])', '\\\\', '$1' ],
+ ['ê¦ê§q', '','ê¦ê§'], // Dha murda
+ ['ê¦ê§q', '','ê¦ê§'], // Nya murda
+ ['ꦧê§q', '','ꦨê§'], // Ba murda
+ ['ê¦ê§q', '','ê¦ê§'], // Ca murda(?)
+ ['ê¦ê§q', '','ê¦ê§'], // Ga murda
+ ['ê¦ê§q', '','ê¦ê§'], // Ja Mahaprana
+ ['ê¦ê§q', '','ê¦ê§'], // Ka murda
+ ['ꦤê§q', '','ê¦ê§'], // Na murda
+ ['ꦥê§q', '','ꦦê§'], // Pa murda
+ ['ꦱê§q', '','ꦯê§'], // Sa murda
+ ['ê¦ ê§q', '','ꦡê§'], // Ta murda
+
+ // VII. Vocal ended with special pasangan followed by vocal = back to normal
+ ['ê¦a', '','ꦲ'], // vocal ended with -h followed by a
+ ['ê¦e', '','ꦲꦺ'], // vocal ended with -h followed by e
+ ['ê¦i', '','ꦲꦶ'], // vocal ended with -h followed by i
+ ['ê¦o', '','ꦲꦺꦴ'], // vocal ended with -h followed by o
+ ['ê¦u', '','ꦲꦸ'], // vocal ended with -h followed by u
+
+ ['ê¦a', '','ꦫ'], // vocal ended with -r followed by a
+ ['ê¦e', '','ꦫꦺ'], // vocal ended with -r followed by e
+ ['ê¦i', '','ꦫꦶ'], // vocal ended with -r followed by i
+ ['ê¦o', '','ꦫꦺꦴ'], // vocal ended with -r followed by o
+ ['ê¦u', '','ꦫꦸ'], // vocal ended with -r followed by u
+ ['ê¦y', '','ꦫꦾ'], // vocal ended with -r followed by y (Special)
+
+ ['ê¦a', '','ê¦'], // vocal ended with -ng followed by a
+ ['ê¦e', '','ê¦ê¦º'], // vocal ended with -ng followed by e
+ ['ê¦i', '','ê¦ê¦¶'], // vocal ended with -ng followed by i
+ ['ê¦o', '','ê¦ê¦ºê¦´'], // vocal ended with -ng followed by o
+ ['ê¦u', '','ê¦ê¦¸'], // vocal ended with -ng followed by u
+
+ // VI. Vocal (lowercase, uppercase, extended) ended with h/r/ng = special pasangan (-h, -r, -ng)
+ ['ê§âh', '','ê§ê¦²ê§'],
+ // vocal a ended with h/r/ng
+ ['(ꦲ|ꦤ|ê¦|ꦫ|ê¦|ꦢ|ê¦ |ꦱ|ꦮ|ê¦|ꦥ|ê¦|ê¦|ꦪ|ê¦|ꦩ|ê¦|ꦧ|ê¦|ê¦|ê¦|ꦿ|ꦾ|ꦨ|ê¦|ê¦|ê¦|ê¦|ꦦ|ꦯ|ꦡ|꦳)(h|H)', '','$1ê¦'], // hanacaraka + h = -h
+ ['(ꦲ|ꦤ|ê¦|ꦫ|ê¦|ꦢ|ê¦ |ꦱ|ꦮ|ê¦|ꦥ|ê¦|ê¦|ꦪ|ê¦|ꦩ|ê¦|ꦧ|ê¦|ê¦|ê¦|ꦿ|ꦾ|ꦨ|ê¦|ê¦|ê¦|ê¦|ꦦ|ꦯ|ꦡ|꦳)(r|R)', '','$1ê¦'], // hanacaraka + r = -r
+ ['(ꦲ|ꦤ|ê¦|ꦫ|ê¦|ꦢ|ê¦ |ꦱ|ꦮ|ê¦|ꦥ|ê¦|ê¦|ꦪ|ê¦|ꦩ|ê¦|ꦧ|ê¦|ê¦|ê¦|ꦿ|ꦾ|ꦨ|ê¦|ê¦|ê¦|ê¦|ꦦ|ꦯ|ꦡ|꦳)(ꦤ|ê¦)ê§(g|G)', '','$1ê¦'], // hanacaraka + ng = -ng
+ // other vocals ended with h/r/ng
+ ['(ꦴ|ꦻ|ê¦|ꦺ|ꦼ|ꦶ|ꦷ|ꦸ|ꦹ|ê¦|ê¦|ê¦|ê¦|ê¦)(h|H)', '','$1ê¦'], // other vocal ended with -h
+ ['(ꦴ|ꦻ|ê¦|ꦺ|ꦼ|ꦶ|ꦷ|ꦸ|ꦹ|ê¦|ê¦|ê¦|ê¦|ê¦)(r|R)', '','$1ê¦'], // other vocal ended with -r
+ ['(ꦴ|ꦻ|ê¦|ꦺ|ꦼ|ꦶ|ꦷ|ꦸ|ꦹ|ê¦|ê¦|ê¦|ê¦|ê¦)(ꦤ|ê¦)ê§(g|G)', '','$1ê¦'], // other vocal ended with -ng
+
+ // V. Lower case consonant followed by lower case consonant: Basic
+ // Note: not all of these combination are valid in Javanese language, for example -hn-,
+ // so they are here only for logical reason, practically they should never be used.
+ // Obvious removal are noted (such as -yy-). th, dh, ny, ng, c, h, r, w, y are special cases:
+
+ // pasangan 'ha'(ꦲ/ê¦) is considered final, exception: about 60 words can be found of "ha" followed by consonant y/r/l/w
+ // pasangan 'ra'(ꦫ/ê¦) is considered final, exception: 5 words can be found of "ra" followed by consonant y/w
+ // pasangan bigraf nga(ê¦/ê¦) is considered final, exception: "nga" can only be found followed by consonant y/r/l/w
+ // (some problem may occur - see http://jv.wikipedia.org/wiki/Dhiskusi_Panganggo:Bennylin/Narayam#Ng)
+ // pasangan bigraf nya can only be found followed by consonant r/l/w, and
+ // although not found in Latin, it also found in Javanese script representation of nasal sounds ñ (see nyc and nyj)
+ // pasangan bigraf dha can only be found followed by consonant y/r/ w
+ // pasangan bigraf tha can only be found followed by consonant r
+ // the letter 'w' can only be found followed by consonant y/r/l/w (nasal for 'u')
+ // the letter 'c' can only be found followed by consonant r/l, and ch
+ // the letter 'y' can only be found followed by consonant w (nasal for 'i')
+
+ ['ê§a', '',''], // default vowel is a, so, remove the pangkon
+ ['ê§A', '','ê¦'], // A
+ ['(ꦤ|ê¦|ꦢ|ê¦ |ꦱ|ê¦|ꦥ|ê¦|ꦩ|ê¦|ꦧ|ê¦|ꦨ|ê¦|ê¦|ê¦|ê¦|ꦦ|ꦯ|ꦡ)ê§b', '','$1ê§ê¦§ê§'],
+ ['(ꦤ|ê¦|ꦢ|ê¦ |ꦱ|ê¦|ꦥ|ê¦|ꦩ|ê¦|ꦧ|ê¦|ꦨ|ê¦|ê¦|ê¦|ê¦|ꦦ|ꦯ|ꦡ)ê§B', '','$1ê§ê¦¨ê§'], // pasangan Ba murda
+ ['ꦤê§â(c|C)', '','ê¦ê§ê¦ê§'], // n+zero-width-space+c
+ ['ꦤê§(c|C)', '','ê¦ê§ê¦ê§'], // n followed by c became nasalized (nasal sound 'ny' + c)(REF:nyc)
+ ['(ê¦|ê¦|ꦢ|ê¦ |ꦱ|ê¦|ꦥ|ê¦|ꦩ|ê¦|ꦧ|ê¦|ꦨ|ê¦|ê¦|ê¦|ê¦|ꦦ|ꦯ|ꦡ)ê§c', '','$1ê§ê¦ê§'],
+ ['(ê¦|ê¦|ꦢ|ê¦ |ꦱ|ê¦|ꦥ|ê¦|ꦩ|ê¦|ꦧ|ê¦|ꦨ|ê¦|ê¦|ê¦|ê¦|ꦦ|ꦯ|ꦡ)ê§C', '','$1ê§ê¦ê§'], // pasangan Ca murda(?)
+ ['(ꦤ|ê¦|ꦢ|ê¦ |ꦱ|ê¦|ꦥ|ê¦|ꦩ|ê¦|ꦧ|ê¦|ꦨ|ê¦|ê¦|ê¦|ê¦|ꦦ|ꦯ|ꦡ)ê§d', '','$1ê§ê¦¢ê§'],
+ ['(ꦤ|ê¦|ꦢ|ê¦ |ꦱ|ê¦|ꦥ|ê¦|ꦩ|ê¦|ꦧ|ê¦|ꦨ|ê¦|ê¦|ê¦|ê¦|ꦦ|ꦯ|ꦡ)ê§D', '','$1ê§ê¦£ê§'],
+ ['ê§e', '','ꦺ'], // é|è
+ ['ê§E', '','ê¦'], // Ã|Ã
+ ['(ꦤ|ê¦|ꦢ|ê¦ |ꦱ|ê¦|ꦥ|ê¦|ꦩ|ê¦|ꦧ|ê¦|ꦨ|ê¦|ê¦|ê¦|ê¦|ꦦ|ꦯ|ꦡ)ê§(f|v|F|V)', '','$1ê§ê¦¥ê¦³ê§'],
+ ['(ê¦|ê¦|ꦢ|ê¦ |ꦱ|ê¦|ꦥ|ê¦|ꦩ|ê¦|ꦧ|ê¦|ꦨ|ê¦|ê¦|ê¦|ê¦|ꦦ|ꦯ|ꦡ)ê§g', '','$1ê§ê¦ê§'], // can't be started with n, reserved for bigraf ng
+ ['(ê¦|ê¦|ꦢ|ê¦ |ꦱ|ê¦|ꦥ|ê¦|ꦩ|ê¦|ꦧ|ê¦|ꦨ|ê¦|ê¦|ê¦|ê¦|ꦦ|ꦯ|ꦡ)ê§G', '','$1ê§ê¦ê§'], // pasangan Ga murda (can't be started with n - see II. 2.)
+ ['(ꦤ|ꦱ|ê¦|ꦥ|ê¦|ꦩ|ꦧ|ê¦|ꦨ|ê¦|ê¦|ê¦|ê¦|ꦦ|ꦯ|ꦡ)ê§(h|H)', '','$1ê§ê¦²ê§'], // can't be started with k/d/t/g, reserved for bigraf kh/dh/th/gh
+ ['ê§i', '','ꦶ'], // i
+ ['ê§I', '','ê¦'], // I
+ ['ꦤê§â(j|J)', '','ꦤê§ê¦ê§'], // n+zero-width-space+j
+ ['ꦤê§(j|J)', '','ê¦ê§ê¦ê§'], // n followed by j became nasalized (nasal sound 'ny' + j)(REF:nyj)
+ ['(ê¦|ê¦|ꦢ|ê¦ |ꦱ|ê¦|ꦥ|ê¦|ꦩ|ê¦|ꦧ|ê¦|ꦨ|ê¦|ê¦|ê¦|ê¦|ꦦ|ꦯ|ꦡ)ê§(j|J)', '','$1ê§ê¦ê§'],
+ ['(ꦤ|ê¦|ꦢ|ê¦ |ꦱ|ê¦|ꦥ|ê¦|ꦩ|ê¦|ꦧ|ê¦|ꦨ|ê¦|ê¦|ê¦|ê¦|ꦦ|ꦯ|ꦡ)ê§k', '','$1ê§ê¦ê§'],
+ ['(ꦤ|ê¦|ꦢ|ê¦ |ꦱ|ê¦|ꦥ|ê¦|ꦩ|ê¦|ꦧ|ê¦|ꦨ|ê¦|ê¦|ê¦|ê¦|ꦦ|ꦯ|ꦡ)ê§K', '','$1ê§ê¦ê§'], // pasangan Ka murda
+ ['(ꦲ|ê¦|ꦤ|ê¦|ê¦|ꦢ|ê¦ |ꦱ|ꦮ|ê¦|ꦥ|ê¦|ê¦|ꦩ|ê¦|ꦧ|ê¦|ê¦|ê¦|ꦨ|ê¦|ê¦|ê¦|ê¦|ꦦ|ꦯ|ꦡ)ê§(l|L)', '','$1ê§ê¦ê§'],
+ ['(ꦤ|ê¦|ꦢ|ê¦ |ꦱ|ê¦|ꦥ|ê¦|ꦩ|ê¦|ꦧ|ê¦|ꦨ|ê¦|ê¦|ê¦|ê¦|ꦦ|ꦯ|ꦡ)ê§(m|M)', '','$1ê§ê¦©ê§'],
+ ['(ꦤ|ê¦|ꦢ|ê¦ |ꦱ|ê¦|ꦥ|ê¦|ꦩ|ê¦|ꦧ|ê¦|ꦨ|ê¦|ê¦|ê¦|ê¦|ꦦ|ꦯ|ꦡ)ê§n', '','$1ê§ê¦¤ê§'],
+ ['(ꦤ|ê¦|ꦢ|ê¦ |ꦱ|ê¦|ꦥ|ê¦|ꦩ|ê¦|ꦧ|ê¦|ꦨ|ê¦|ê¦|ê¦|ê¦|ꦦ|ꦯ|ꦡ)ê§N', '','$1ê§ê¦ê§'], // pasangan Na murda
+ ['ê§o', '','ꦺꦴ'], // o
+ ['ê§O', '','ê¦'], // O
+ ['(ꦤ|ê¦|ꦢ|ê¦ |ꦱ|ê¦|ꦥ|ê¦|ꦩ|ê¦|ꦧ|ê¦|ꦨ|ê¦|ê¦|ê¦|ê¦|ꦦ|ꦯ|ꦡ)ê§p', '','$1ê§ê¦¥ê§'],
+ ['(ꦤ|ê¦|ꦢ|ê¦ |ꦱ|ê¦|ꦥ|ê¦|ꦩ|ê¦|ꦧ|ê¦|ꦨ|ê¦|ê¦|ê¦|ê¦|ꦦ|ꦯ|ꦡ)ê§P', '','$1ê§ê¦¦ê§'], // pasangan Pa murda
+ // q
+ ['(ꦲ|ê¦|ꦤ|ê¦|ê¦|ꦢ|ê¦ |ꦱ|ꦮ|ê¦|ꦥ|ê¦|ê¦|ê¦|ꦩ|ê¦|ꦧ|ê¦|ê¦|ê¦|ê¦|ꦨ|ê¦|ê¦|ê¦|ê¦|ꦦ|ꦯ|ꦡ)ê§âr', '','$1ê§ê¦«ê§'], // consonant+zero-width-space+(r|R) doesn't make special biconsonant -ra
+ ['(ꦲ|ê¦|ꦤ|ê¦|ê¦|ꦢ|ê¦ |ꦱ|ꦮ|ê¦|ꦥ|ê¦|ê¦|ê¦|ꦩ|ê¦|ꦧ|ê¦|ê¦|ê¦|ê¦|ꦨ|ê¦|ê¦|ê¦|ê¦|ꦦ|ꦯ|ꦡ)ê§âR', '','$1ê§ê¦¬ê§'], // consonant+zero-width-space+(r|R) doesn't make special biconsonant -ra
+ ['(ꦲ|ê¦|ꦤ|ê¦|ê¦|ꦢ|ê¦ |ꦱ|ꦮ|ê¦|ꦥ|ê¦|ê¦|ê¦|ꦩ|ê¦|ꦧ|ê¦|ê¦|ê¦|ê¦|ꦨ|ê¦|ê¦|ê¦|ê¦|ꦦ|ꦯ|ꦡ)ê§(r|R)', '','$1ꦿ'], // special biconsonant -ra
+ ['(ꦤ|ê¦|ꦢ|ê¦ |ꦱ|ê¦|ꦥ|ê¦|ꦩ|ê¦|ꦧ|ê¦|ꦨ|ê¦|ê¦|ê¦|ê¦|ꦦ|ꦯ|ꦡ)ê§s', '','$1ê§ê¦±ê§'],
+ ['(ꦤ|ê¦|ꦢ|ê¦ |ꦱ|ê¦|ꦥ|ê¦|ꦩ|ê¦|ꦧ|ê¦|ꦨ|ê¦|ê¦|ê¦|ê¦|ꦦ|ꦯ|ꦡ)ê§S', '','$1ê§ê¦¯ê§'], // pasangan Sa murda
+ ['(ꦤ|ê¦|ꦢ|ê¦ |ꦱ|ê¦|ꦥ|ê¦|ꦩ|ê¦|ꦧ|ê¦|ꦨ|ê¦|ê¦|ê¦|ê¦|ꦦ|ꦯ|ꦡ)ê§t', '','$1ê§ê¦ ê§'],
+ ['(ꦤ|ê¦|ꦢ|ê¦ |ꦱ|ê¦|ꦥ|ê¦|ꦩ|ê¦|ꦧ|ê¦|ꦨ|ê¦|ê¦|ê¦|ê¦|ꦦ|ꦯ|ꦡ)ê§T', '','$1ê§ê¦¡ê§'], // pasangan Ta murda
+ ['ê§u', '','ꦸ'], // u
+ ['ê§U', '','ê¦'], // U
+ // v = f
+ ['(ꦲ|ê¦|ꦤ|ꦫ|ê¦|ê¦|ꦢ|ê¦ |ꦱ|ꦮ|ê¦|ꦥ|ê¦|ê¦|ꦪ|ê¦|ꦩ|ê¦|ꦧ|ê¦|ê¦|ê¦|ꦨ|ê¦|ê¦|ê¦|ê¦|ꦦ|ꦯ|ꦡ)ê§(w|W)ê§', '','$1ê§ê¦®'],
+ ['(ꦲ|ê¦|ꦫ|ê¦|ê¦|ꦢ|ê¦ |ꦱ|ꦮ|ê¦|ꦥ|ê¦|ê¦|ꦩ|ê¦|ꦧ|ê¦|ê¦|ꦨ|ê¦|ê¦|ê¦|ê¦|ꦦ|ꦯ|ꦡ)ê§â(y|Y)', '','$1ê§ê¦ªê§'], // consonant+zero-width-space+(y|Y) doesn't make special biconsonant -ya
+
+ ['(ꦲ|ê¦|ꦫ|ê¦|ê¦|ꦢ|ê¦ |ꦱ|ꦮ|ê¦|ꦥ|ê¦|ê¦|ꦩ|ê¦|ꦧ|ê¦|ê¦|ꦨ|ê¦|ê¦|ê¦|ꦦ|ꦯ|ꦡ)ê§(y|Y)', '','$1ꦾ'], // special biconsonant -ya,
+ // can't be started with n or y, reserved for bigraf ny (REF:-yy-)
+ ['(ꦤ|ê¦|ê¦ |ꦱ|ê¦|ꦥ|ê¦|ꦩ|ê¦|ꦧ|ê¦|ꦨ|ê¦|ê¦|ê¦|ê¦|ꦦ|ꦯ|ꦡ)ê§(z|Z)', '','$1ꦾê¦ê¦³ê§'], // can't be started with d, reserved for bigraf dz
+
+ // IV. 1. Special consonant
+ ['(ꦾ|ꦿ)a', '','$1'],
+ ['ꦿx', '','ꦽ'], // special biconsonant -rê
+ ['ê¦q', '','ê¦'], // special character lê Raswadi
+ ['ê¦ê§x', '','ê¦'], // special character lê
+ ['ꦫê§x', '','ê¦'], // special character rê
+ ['ê¦x', '','ê¦ê¦¼'], // Ã
+ ['ê§x', '','ꦼ'], // x is another way to write ê
+ ['ê§X', '','ê¦ê¦¼'], // X is another way to write Ã
+
+ // IV. 3. Extended vowel
+ // long a (aa) - see II.
+ ['(ꦲ|ꦤ|ê¦|ꦫ|ê¦|ꦢ|ê¦ |ꦱ|ꦮ|ê¦|ꦥ|ê¦|ê¦|ꦪ|ê¦|ꦩ|ê¦|ꦧ|ê¦|ê¦|ê¦|ꦨ|ê¦|ê¦|ê¦|ê¦|ꦦ|ꦯ|ꦡ|꦳)i', '','$1ꦻ'], // hanacaraka + i = -ai
+ ['(ꦲ|ꦤ|ê¦|ꦫ|ê¦|ꦢ|ê¦ |ꦱ|ꦮ|ê¦|ꦥ|ê¦|ê¦|ꦪ|ê¦|ꦩ|ê¦|ꦧ|ê¦|ê¦|ê¦|ꦨ|ê¦|ê¦|ê¦|ê¦|ꦦ|ꦯ|ꦡ|꦳)u', '','$1ꦻꦴ'], // hanacaraka + u = -au
+ ['ê¦i', '','ê¦'], // Ai
+ ['ê¦u', '','ê¦ê¦´'], // Au
+ ['ꦶi', '','ꦷ'], // long i (ii)
+ ['ê¦i', '','ê¦'], // long i (Ii)
+ ['ꦸu', '','ꦹ'], // long u (uu)
+ ['ê¦u', '','ê¦ê¦´'], // long u (Uu)
+ ['ꦺꦴo', '','ꦵ'], // Sundanese -o
+
+ // IV. 2. Extended consonant
+ ['ꦱê§â(s|h)', '','ꦰê§'], // s_s (with zero-width-space)
+ ['ê¦ê§âh', '','ê¦ê§ê¦²ê§'], // k_h (with zero-width-space)
+ ['ê¦ê§âh', '','ê¦ê§ê¦²ê§'], // g_h (with zero-width-space)
+ ['ꦢê§âz', '','ꦢê§ê¦ê¦³ê§'], // d_z (with zero-width-space)
+ ['ê¦ê§âh', '','ê¦'], // j_h (with zero-width-space)
+ ['ꦱê§(s|h)', '','ꦰê§'], // ss/sh
+ ['ê¦ê§h', '','ê¦ê¦³'], // kh
+ ['ê¦ê§h', '','ê¦ê¦³'], // gh
+ ['ꦢê§z', '','ꦢ꦳'], // dz
+ ['ê¦ê§h', '','ê¦'], // jh/Ja mahaprana
+
+ // III. Non-words
+ // q and Q are special characters for choosing less used characters by pressing q/Q multiple times (rotating back)
+ [' ', '','â'], // zero-width-space, since javanese have no space
+ ['ê§
q', '','ê§'], // rêrênggan kiwa
+ ['ê§q', '','ê§
'], // pada luhur
+ ['ê§q', '','ê§'], // pada madya
+ ['ê§q', '', 'ê§'],// pada andhap
+ ['ê§q', '','ê§'], // rêrênggan têngên
+ ['Q', '','ê§'], // rêrênggan kiwa
+ ['ê§[Q|q]', '','ê§'], // pangkon
+ ['ê§[Q|q]', '','ê§'], // pada isen-isen
+ ['ê§[Q|q]', '','ê§'], // pada tirta tumetes
+ ['ê¦[Q|q]', '', 'ê§'],// pada windu
+ ['꦳[Q|q]', '','ê¦'], // panyangga
+ ['ê§[Q|q]', '','꦳'], // cecak telu
+ ['q', '','ê§'], // pangkon - to cut off the default -a vowel
+
+ ['ꦫq', '','ꦿ'], // another way to write -ra
+ ['ꦪq', '','ꦾ'], // another way to write -ya
+
+ // II. 1. Alphabetical ha-na-ca-ra-ka
+ ['ê¦ ê§âh', '','ê¦ ê§ê¦²ê§'], // t_h (with zero-width-space)
+ ['ꦢê§âh', '','ꦢê§ê¦²ê§'], // d_h (with zero-width-space)
+ ['ꦤê§ây', '','ê¦ê§ê¦ªê§'], // n_y (with zero-width-space)
+ ['ꦤê§âg', '','ê¦ê§ê¦ê§'], // n_g (with zero-width-space)
+ ['ê¦ ê§h', '','ê¦ê§'], // th
+ ['ꦢê§h', '','ê¦ê§'], // dh
+ ['ꦤê§y', '','ê¦ê§'], // ny
+ ['ꦤê§g', '','ê¦'], // ng
+ ['a', '','ꦲ'],
+ ['b', '','ꦧê§'],
+ ['c', '','ê¦ê§'],
+ ['d', '','ꦢê§'],
+ ['e', '','ꦲꦺ'], // é|è
+ ['(f|v)', '','ꦥ꦳ê§'],
+ ['g', '','ê¦ê§'],
+ ['h', '','ꦲê§'],
+ ['i', '','ꦲꦶ'],
+ ['j', '','ê¦ê§'],
+ ['k', '','ê¦ê§'],
+ ['l', '','ê¦ê§'],
+ ['m', '','ꦩê§'],
+ ['n', '','ꦤê§'],
+ ['o', '','ꦲꦺꦴ'],
+ ['p', '','ꦥê§'],
+ // q = special letters, see III.
+ ['r', '','ꦫê§'],
+ ['s', '','ꦱê§'],
+ ['t', '','ê¦ ê§'],
+ ['u', '','ꦲꦸ'],
+ // v = f
+ ['w', '','ꦮê§'],
+ ['x', '','ꦲꦼ'], // ê
+ ['y', '','ꦪê§'],
+ ['z', '','ê¦ê¦³ê§'],
+
+ // II. Basic Letters:
+ // II. 2. Capital Ha-Na-Ca-Ra-Ka (Aksara Murda)
+ ['(ê¦ |ꦡ)ê§(h|H)', '','ê¦ê§'],
+ ['ꦣê§h', '','ê¦ê§'], // Dha murda
+ ['(ꦢ|ꦣ)ê§H', '','ê¦ê§'], // Dha murda
+ ['ê¦ê§y', '','ê¦ê§'], // Nya murda
+ ['(ꦤ|ê¦)ê§Y', '','ê¦ê§'], // NYA murda
+ ['(ꦤ|ê¦)ê§(g|G)', '','ê¦ê§'],// nga
+ ['A', '','ê¦'], // A
+ ['B', '','ꦨê§'], // Ba murda
+ ['C', '','ê¦ê§'], // Ca murda(?)
+ ['D', '','ꦣê§'],
+ ['E', '','ê¦'], // Ã|Ã
+ ['(F|V)', '','ꦥ꦳ê§'],
+ ['G', '','ê¦ê§'], // Ga murda
+ ['H', '','ꦲê§'],
+ ['I', '','ê¦'], // I
+ ['J', '','ê¦ê§'],// Ja Mahaprana
+ ['K', '','ê¦ê§'], // Ka murda
+ ['L', '','ê¦ê§'],
+ ['M', '','ꦩê§'],
+ ['N', '','ê¦ê§'], // Na murda
+ ['O', '','ê¦'], // O
+ ['P', '','ꦦê§'], // Pa murda
+ // Q = special letters, see III.
+ ['R', '','ꦬê§'],
+ ['S', '','ꦯê§'], // Sa murda
+ ['T', '','ꦡê§'], // Ta murda
+ ['U', '','ê¦'], // U
+ // V = F
+ ['W', '','ꦮê§'],
+ ['X', '','ê¦ê¦¼'], // X is another way to write Ã
+ ['Y', '','ꦪê§'],
+ ['Z', '','ê¦ê¦³ê§'],
+
+ // I. Number
+ ['0', '','ê§'],
+ ['1', '','ê§'],
+ ['2', '','ê§'],
+ ['3', '','ê§'],
+ ['4', '','ê§'],
+ ['5', '','ê§'],
+ ['6', '','ê§'],
+ ['7', '','ê§'],
+ ['8', '','ê§'],
+ ['9', '','ê§'],
+ [':', '','ê§'], // 'enclose Javanese numbers, e.g. ":1:"'
+ [',', '','ê§'], // 'comma'
+ ['\\.', '','ê§'], // 'period'
+ ['ê§\\|', '','ê§'], // 'opening paragraph character'
+ ['\\|', '','ê§'], // 'poem character'
+ ['\\(', '','ê§'], // 'Javanese opening bracket'
+ ['\\)', '','ê§'] // 'Javanese closing bracket'
+ ]
+ };
+
+ $.ime.register( jvTransliteration );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ka/ka-kbd.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ka/ka-kbd.js
new file mode 100644
index 0000000..a974a68
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ka/ka-kbd.js
@@ -0,0 +1,56 @@
+( function ( $ ) {
+ 'use strict';
+
+ var kaKbd = {
+ id: 'ka-kbd',
+ name: 'Georgian kbd',
+ description: 'Georgian kbd keyboard layout',
+ date: '2013-02-12',
+ URL: 'http://github.com/wikimedia/jquery.ime',
+ author: 'Parag Nemade',
+ license: 'GPLv3',
+ version: '1.0',
+ patterns: [
+ ['.k', 'á'],
+ ['.p', 'á'],
+ ['+z', 'á'],
+ ['.t', 'á¢'],
+ ['.g', 'á¦'],
+ ['+s', 'á¨'],
+ ['.+c', 'á'],
+ ['+c', 'á©'],
+ ['.c', 'á¬'],
+ ['+j', 'á¯'],
+ ['á§1', 'á´'],
+ ['á0', 'á±'],
+ ['á1', 'áµ'],
+ ['á1', 'á²'],
+ ['a', 'á'],
+ ['b', 'á'],
+ ['g', 'á'],
+ ['d', 'á'],
+ ['e', 'á'],
+ ['v', 'á'],
+ ['z', 'á'],
+ ['t', 'á'],
+ ['i', 'á'],
+ ['l', 'á'],
+ ['m', 'á'],
+ ['n', 'á'],
+ ['o', 'á'],
+ ['r', 'á '],
+ ['s', 'á¡'],
+ ['u', 'á£'],
+ ['p', 'á¤'],
+ ['k', 'á¥'],
+ ['q', 'á§'],
+ ['c', 'áª'],
+ ['j', 'á«'],
+ ['x', 'á®'],
+ ['h', 'á°'],
+ ['w', 'á³'],
+ ['f', 'á¶']]
+ };
+
+ $.ime.register( kaKbd );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ka/ka-transliteration.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ka/ka-transliteration.js
new file mode 100644
index 0000000..08fc1db
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ka/ka-transliteration.js
@@ -0,0 +1,58 @@
+( function ( $ ) {
+ 'use strict';
+
+ var kaTransliteration = {
+ id: 'ka-transliteration',
+ name: 'á¢á ááá¡ááá¢áá ááªáá',
+ description: 'Georgian transliteration',
+ date: '2012-10-14',
+ URL: 'http://github.com/wikimedia/jquery.ime',
+ author: 'Ioseb Dzmanashvili (http://www.code.ge), [[User:Hooman]], Srikanth L',
+ license: 'MIT',
+ version: '1.0',
+ contextLength: 3,
+ maxKeyLength: 1,
+ patterns: [
+ ['\\\\([A-Za-z|\\~|\\`])', '\\\\', '$1'],
+ ['`', 'â'],
+ ['~', 'â'],
+ ['q', 'á¥'],
+ ['w', 'á¬'],
+ ['e', 'á'],
+ ['r', 'á '],
+ ['t', 'á¢'],
+ ['y', 'á§'],
+ ['u', 'á£'],
+ ['i', 'á'],
+ ['o', 'á'],
+ ['p', 'á'],
+
+ ['a', 'á'],
+ ['s', 'á¡'],
+ ['d', 'á'],
+ ['f', 'á¤'],
+ ['g', 'á'],
+ ['h', 'á°'],
+ ['j', 'á¯'],
+ ['k', 'á'],
+ ['l', 'á'],
+
+ ['z', 'á'],
+ ['x', 'á®'],
+ ['c', 'áª'],
+ ['v', 'á'],
+ ['b', 'á'],
+ ['n', 'á'],
+ ['m', 'á'],
+
+ ['W', 'á'],
+ ['R', 'á¦'],
+ ['T', 'á'],
+ ['S', 'á¨'],
+ ['J', 'á'],
+ ['Z', 'á«'],
+ ['C', 'á©']]
+ };
+
+ $.ime.register( kaTransliteration );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/kk/kk-arabic.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/kk/kk-arabic.js
new file mode 100644
index 0000000..72db1d3
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/kk/kk-arabic.js
@@ -0,0 +1,62 @@
+( function ( $ ) {
+ 'use strict';
+
+ var kkArabic = {
+ id: 'kk-arabic',
+ name: 'Kazak arabic',
+ description: 'Kazak arabic in Arabic script keyboard layout',
+ date: '2013-02-12',
+ URL: 'http://github.com/wikimedia/jquery.ime',
+ author: 'Parag Nemade',
+ license: 'GPLv3',
+ version: '1.0',
+ patterns: [
+ ['a', 'ا'],
+ ['A', 'Ùµ'],
+ ['b', 'ب'],
+ ['v', 'Û'],
+ ['g', 'Ú¯'],
+ ['R', 'ع'],
+ ['d', 'د'],
+ ['e', 'Û'],
+ ['j', 'ج'],
+ ['z', 'ز'],
+ ['y', 'Ù'],
+ ['k', 'Ù'],
+ ['q', 'Ù'],
+ ['l', 'Ù'],
+ ['m', 'Ù
'],
+ ['n', 'Ù'],
+ ['N', 'Ú'],
+ ['o', 'Ù'],
+ ['O', 'Ù¶'],
+ ['p', 'Ù¾'],
+ ['r', 'ر'],
+ ['s', 'س'],
+ ['t', 'ت'],
+ ['w', 'Û'],
+ ['u', 'Û'],
+ ['U', 'Ù·'],
+ ['f', 'Ù'],
+ ['H', 'Ø'],
+ ['h', 'Ù'],
+ ['c', 'Ú'],
+ ['S', 'Ø´'],
+ ['I', 'Ù'],
+ ['i', 'Ù¸'],
+ [';', 'Ø'],
+ [',', 'Ø'],
+ ['\\?', '?'],
+ ['\\<', '>'],
+ ['\\>', '<'],
+ ['\\(', ')'],
+ ['\\)', '('],
+ ['\\[', ']'],
+ ['\\]', '['],
+ ['\\{', '}'],
+ ['\\}', '{']
+ ]
+ };
+
+ $.ime.register( kkArabic );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/kk/kk-kbd.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/kk/kk-kbd.js
new file mode 100644
index 0000000..4a6e273
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/kk/kk-kbd.js
@@ -0,0 +1,108 @@
+( function ( $ ) {
+ 'use strict';
+
+ var kkKbd = {
+ id: 'kk-kbd',
+ name: 'Kazak kbd',
+ description: 'Kazak kbd in Cyrillic script keyboard layout',
+ date: '2013-02-12',
+ URL: 'http://github.com/wikimedia/jquery.ime',
+ author: 'Parag Nemade',
+ license: 'GPLv3',
+ version: '1.0',
+ patterns: [
+ ['`', '('],
+ ['\\~', ')'],
+ ['1', '\"'],
+ ['2', 'Ó'],
+ ['\\@', 'Ó'],
+ ['3', 'Ñ'],
+ ['\\#', 'Ð'],
+ ['4', 'Ó'],
+ ['\\$', 'Ó'],
+ ['5', 'Ò'],
+ ['\\%', 'Ò'],
+ ['6', ','],
+ ['\\^', ';'],
+ ['7', '.'],
+ ['\\&', ':'],
+ ['8', 'Ò¯'],
+ ['\\*', 'Ò®'],
+ ['9', 'Ò±'],
+ ['\\(', 'Ò°'],
+ ['0', 'Ò'],
+ ['\\)', 'Ò'],
+ ['\\-', 'Ó©'],
+ ['\\_', 'Ó¨'],
+ ['\\=', 'Ò»'],
+ ['\\+', 'Òº'],
+ ['q', 'й'],
+ ['Q', 'Ð'],
+ ['w', 'Ñ'],
+ ['W', 'Ц'],
+ ['e', 'Ñ'],
+ ['E', 'У'],
+ ['r', 'к'],
+ ['R', 'Ð'],
+ ['t', 'е'],
+ ['T', 'Ð'],
+ ['y', 'н'],
+ ['Y', 'Ð'],
+ ['u', 'г'],
+ ['U', 'Ð'],
+ ['i', 'Ñ'],
+ ['I', 'Ш'],
+ ['o', 'Ñ'],
+ ['O', 'Щ'],
+ ['p', 'з'],
+ ['P', 'Ð'],
+ ['\\[', 'Ñ
'],
+ ['\\{', 'Ð¥'],
+ ['\\]', 'Ñ'],
+ ['\\}', 'Ъ'],
+ ['a', 'Ñ'],
+ ['A', 'Ф'],
+ ['s', 'Ñ'],
+ ['S', 'Ы'],
+ ['d', 'в'],
+ ['D', 'Ð'],
+ ['f', 'а'],
+ ['F', 'Ð'],
+ ['g', 'п'],
+ ['G', 'Ð'],
+ ['h', 'Ñ'],
+ ['H', 'Ð '],
+ ['j', 'о'],
+ ['J', 'Ð'],
+ ['k', 'л'],
+ ['K', 'Ð'],
+ ['l', 'д'],
+ ['L', 'Ð'],
+ [';', 'ж'],
+ [':', 'Ð'],
+ ['\'', 'Ñ'],
+ ['\"', 'Ð'],
+ ['z', 'Ñ'],
+ ['Z', 'Я'],
+ ['x', 'Ñ'],
+ ['X', 'Ч'],
+ ['c', 'Ñ'],
+ ['C', 'С'],
+ ['v', 'м'],
+ ['V', 'Ð'],
+ ['b', 'и'],
+ ['B', 'Ð'],
+ ['n', 'Ñ'],
+ ['N', 'Т'],
+ ['m', 'Ñ'],
+ ['M', 'Ь'],
+ [',', 'б'],
+ ['\\<', 'Ð'],
+ ['\\.', 'Ñ'],
+ ['\\>', 'Ю'],
+ ['/', 'â']
+ ]
+ };
+
+ $.ime.register( kkKbd );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/kn/kn-inscript.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/kn/kn-inscript.js
new file mode 100644
index 0000000..33a0f60
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/kn/kn-inscript.js
@@ -0,0 +1,111 @@
+( function ( $ ) {
+ 'use strict';
+
+ var knInscript = {
+ id: 'kn-inscript',
+ name: 'à²à²¨à³\u200cಸà³à²à³à²°à²¿à²ªà³à²à³',
+ description: 'Inscript keyboard for Kannada script',
+ date: '2012-10-14',
+ author: 'Junaid P V',
+ license: 'GPLv3',
+ version: '1.0',
+ patterns: [
+ ['x', '\u0C82'],
+ ['_', '\u0C83'],
+ ['D', '\u0C85'],
+ ['E', '\u0C86'],
+ ['F', '\u0C87'],
+ ['R', '\u0C88'],
+ ['G', '\u0C89'],
+ ['T', '\u0C8A'],
+ ['\\+', '\u0C8B'],
+ ['Z', '\u0C8E'],
+ ['S', '\u0C8F'],
+ ['W', '\u0C90'],
+ ['~', '\u0C92'],
+ ['A', '\u0C93'],
+ ['Q', '\u0C94'],
+ ['k', '\u0C95'],
+ ['K', '\u0C96'],
+ ['i', '\u0C97'],
+ ['I', '\u0C98'],
+ ['U', '\u0C99'],
+ [';', '\u0C9A'],
+ ['\\:', '\u0C9B'],
+ ['p', '\u0C9C'],
+ ['P', '\u0C9D'],
+ ['\\}', '\u0C9E'],
+ ['\'', '', '\u0C9F'],
+ ['"', '\u0CA0'],
+ ['\\[', '\u0CA1'],
+ ['\\{', '\u0CA2'],
+ ['C', '\u0CA3'],
+ ['l', '\u0CA4'],
+ ['L', '\u0CA5'],
+ ['o', '\u0CA6'],
+ ['O', '\u0CA7'],
+ ['v', '\u0CA8'],
+ ['h', '\u0CAA'],
+ ['H', '\u0CAB'],
+ ['y', '\u0CAC'],
+ ['Y', '\u0CAD'],
+ ['c', '\u0CAE'],
+ ['/', '\u0CAF'],
+ ['j', '\u0CB0'],
+ ['J', '\u0CB1'],
+ ['n', '\u0CB2'],
+ ['N', '\u0CB3'],
+ ['b', '\u0CB5'],
+ ['M', '\u0CB6'],
+ [',', '\u0CB7'],
+ ['m', '\u0CB8'],
+ ['u', '\u0CB9'],
+ ['\\]', '\u0CBC'],
+ ['e', '\u0CBE'],
+ ['f', '\u0CBF'],
+ ['r', '\u0CC0'],
+ ['g', '\u0CC1'],
+ ['t', '\u0CC2'],
+ ['\\=', '\u0CC3'],
+ ['z', '\u0CC6'],
+ ['s', '\u0CC7'],
+ ['w', '\u0CC8'],
+ ['`', '\u0CCA'],
+ ['a', '\u0CCB'],
+ ['q', '\u0CCC'],
+ ['d', '\u0CCD'],
+ ['t', '\u0CC2'],
+ ['0', '\u0CE6'],
+ ['1', '\u0CE7'],
+ ['2', '\u0CE8'],
+ ['3', '\u0CE9'],
+ ['4', '\u0CEA'],
+ ['5', '\u0CEB'],
+ ['6', '\u0CEC'],
+ ['7', '\u0CED'],
+ ['8', '\u0CEE'],
+ ['9', '\u0CEF'],
+ ['\\#', '\u0CCD\u0CB0'],
+ ['\\%', '\u0C9C\u0CCD\u0C9E'],
+ ['\\^', '\u0CA4\u0CCD\u0CB0'],
+ ['\\&', '\u0C95\u0CCD\u0CB0'],
+ ['\\(', '\u200D'],
+ ['\\)', '\u200C']],
+ patterns_x: [
+ ['F', '\uC88C'],
+ ['\\>', '\u0CBD'],
+ ['\\=', '\u0CC4'],
+ ['H', '\u0CDE'],
+ ['\\+', '\u0CE0'],
+ ['R', '\u0CE1'],
+ ['f', '\u0CE2'],
+ ['r', '\u0CE3'],
+ ['\\>', '\u0CE4'],
+ ['\\.', '\u0CE5'],
+ ['u', '\u0CF1'],
+ ['j', '\u0CF2'],
+ ['\\$', '\u20B9']]
+ };
+
+ $.ime.register( knInscript );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/kn/kn-inscript2.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/kn/kn-inscript2.js
new file mode 100644
index 0000000..5a01dc9
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/kn/kn-inscript2.js
@@ -0,0 +1,119 @@
+( function ( $ ) {
+ 'use strict';
+
+ var knInscript2 = {
+ id: 'kn-inscript2',
+ name: 'à²à²¨à³\u200cಸà³à²à³à²°à²¿à²ªà³à²à³ ೨',
+ description: 'Enhanced InScript keyboard for Kannada script',
+ date: '2013-01-16',
+ author: 'Parag Nemade',
+ license: 'GPLv3',
+ version: '1.0',
+ patterns: [
+ ['1', '೧'],
+ ['2', '೨'],
+ ['\\#', 'à³à²°'],
+ ['3', '೩'],
+ ['\\$', 'ರà³'],
+ ['4', '೪'],
+ ['5', '೫'],
+ ['6', '೬'],
+ ['7', 'à³'],
+ ['8', 'à³®'],
+ ['\\(', '('],
+ ['9', '೯'],
+ ['\\)', ')'],
+ ['0', '೦'],
+ ['\\_', 'à²'],
+ ['\\-', '-'],
+ ['\\+', 'à²'],
+ ['\\=', 'à³'],
+ ['Q', 'à²'],
+ ['q', 'à³'],
+ ['W', 'à²'],
+ ['w', 'à³'],
+ ['E', 'à²'],
+ ['e', 'ಾ'],
+ ['R', 'à²'],
+ ['r', 'à³'],
+ ['T', 'à²'],
+ ['t', 'à³'],
+ ['Y', 'à²'],
+ ['y', 'ಬ'],
+ ['U', 'à²'],
+ ['u', 'ಹ'],
+ ['I', 'à²'],
+ ['i', 'à²'],
+ ['O', 'ಧ'],
+ ['o', 'ದ'],
+ ['P', 'à²'],
+ ['p', 'à²'],
+ ['\\{', 'ಢ'],
+ ['\\[', 'ಡ'],
+ ['\\}', 'à²'],
+ ['\\]', '಼'],
+ ['A', 'à²'],
+ ['a', 'à³'],
+ ['S', 'à²'],
+ ['s', 'à³'],
+ ['D', 'à²
'],
+ ['d', 'à³'],
+ ['F', 'à²'],
+ ['f', 'ಿ'],
+ ['G', 'à²'],
+ ['g', 'à³'],
+ ['H', 'ಫ'],
+ ['h', 'ಪ'],
+ ['J', 'ಱ'],
+ ['j', 'ರ'],
+ ['K', 'à²'],
+ ['k', 'à²'],
+ ['L', 'ಥ'],
+ ['l', 'ತ'],
+ [':', 'à²'],
+ [';', 'à²'],
+ ['"', 'ಠ'],
+ ['\\\'', 'à²'],
+ ['\\~', 'à²'],
+ ['`\\', 'à³'],
+ ['Z', 'à²'],
+ ['z', 'à³'],
+ ['x', 'à²'],
+ ['C', 'ಣ'],
+ ['c', 'ಮ'],
+ ['v', 'ನ'],
+ ['b', 'ವ'],
+ ['N', 'ಳ'],
+ ['n', 'ಲ'],
+ ['M', 'ಶ'],
+ ['m', 'ಸ'],
+ ['\\<', 'ಷ'],
+ [',', ','],
+ ['\\>', '।'],
+ ['\\.', '.'],
+ ['/', 'ಯ'],
+ ['\\%', 'à²à³à²'],
+ ['\\^', 'ತà³à²°'],
+ ['\\&', 'à²à³à²·'],
+ ['\\*', 'ಶà³à²°']
+ ],
+ patterns_x: [
+ ['1', '\u200d'],
+ ['2', '\u200c'],
+ ['4', 'â¹'],
+ ['\\+', 'à³ '],
+ ['\\=', 'à³'],
+ ['R', 'ೡ'],
+ ['r', 'à³£'],
+ ['u', 'à³±'],
+ ['F','à²'],
+ ['f', 'à³¢'],
+ ['H', 'à³'],
+ ['j', 'à³²'],
+ ['\\>', 'ಽ'],
+ ['\\.', '॥']
+ ]
+ };
+
+ $.ime.register( knInscript2 );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/kn/kn-kgp.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/kn/kn-kgp.js
new file mode 100644
index 0000000..3676c11
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/kn/kn-kgp.js
@@ -0,0 +1,104 @@
+( function ( $ ) {
+ 'use strict';
+
+ var knKGP = {
+ id: 'kn-kgp',
+ name: 'à²à²à²ª/ನà³à²¡à²¿',
+ description: 'Kannada kgp/nudi/KP Rao layout',
+ date: '2012-11-09',
+ URL: 'http://github.com/wikimedia/jquery.ime',
+ author: 'Aravinda VK<mail at aravindavk.in>',
+ license: 'GPLv3,MIT',
+ version: '1.0',
+ contextLength: 4,
+ maxKeyLength: 2,
+ patterns: [
+ ['([à²-ಹà³]಼?)f', '$1à³'],
+ ['([à²-ಹà³]಼?à³)f', '$1'],
+ ['\\\\([A-Za-z\\>_~\\.0-9])', '\\\\', '$1'],
+ ['([à²-ಹà³]಼?)A', '$1ಾ'],
+ ['([à²-ಹà³]಼?)i', '$1ಿ'],
+ ['([à²-ಹà³]಼?)I', '$1à³'],
+ ['([à²-ಹà³]಼?)u', '$1à³'],
+ ['([à²-ಹà³]಼?)U', '$1à³'],
+ ['([à²-ಹà³]಼?)R', '$1à³'],
+ ['([à²-ಹà³]಼?)à³X', '$1à³'],
+ ['([à²-ಹà³]಼?)e', '$1à³'],
+ ['([à²-ಹà³]಼?)E', '$1à³'],
+ ['([à²-ಹà³]಼?)Y', '$1à³'],
+ ['([à²-ಹà³]಼?)o', '$1à³'],
+ ['([à²-ಹà³]಼?)O', '$1à³'],
+ ['([à²-ಹà³]಼?)V', '$1à³'],
+ ['ಸX', 'ಽ'],
+ ['([à²-ಹà³]಼?\u200D)f', '$1à³'],
+ ['(\u200D)F', '\u200C'], // 0x200C Zero width non-joiner
+ ['F', '\u200D'], // 0x200D Zero width joiner
+ ['k', 'à²'],
+ ['K', 'à²'],
+ ['g', 'à²'],
+ ['G', 'à²'],
+ ['Z', 'à²'],
+ ['c', 'à²'],
+ ['C', 'à²'],
+ ['j', 'à²'],
+ ['à²X', 'à²à²¼'],
+ ['J', 'à²'],
+ ['z', 'à²'],
+ ['q', 'à²'],
+ ['Q', 'ಠ'],
+ ['w', 'ಡ'],
+ ['W', 'ಢ'],
+ ['N', 'ಣ'],
+ ['t', 'ತ'],
+ ['T', 'ಥ'],
+ ['d', 'ದ'],
+ ['D', 'ಧ'],
+ ['n', 'ನ'],
+ ['p', 'ಪ'],
+ ['P', 'ಫ'],
+ ['ಫX', 'ಫ಼'],
+ ['b', 'ಬ'],
+ ['B', 'à²'],
+ ['m', 'ಮ'],
+ ['y', 'ಯ'],
+ ['r', 'ರ'],
+ ['ರX', 'ಱ'],
+ ['l', 'ಲ'],
+ ['v', 'ವ'],
+ ['S', 'ಶ'],
+ ['x', 'ಷ'],
+ ['s', 'ಸ'],
+ ['h', 'ಹ'],
+ ['L', 'ಳ'],
+ ['ಳX', 'à³'],
+ ['a', 'à²
'],
+ ['A', 'à²'],
+ ['i', 'à²'],
+ ['I', 'à²'],
+ ['u', 'à²'],
+ ['U', 'à²'],
+ ['R', 'à²'],
+ ['à²X', 'à³ '],
+ ['e', 'à²'],
+ ['E', 'à²'],
+ ['Y', 'à²'],
+ ['o', 'à²'],
+ ['O', 'à²'],
+ ['V', 'à²'],
+ ['M', 'à²'],
+ ['H', 'à²'],
+ ['0', '೦'],
+ ['1', '೧'],
+ ['2', '೨'],
+ ['3', '೩'],
+ ['4', '೪'],
+ ['5', '೫'],
+ ['6', '೬'],
+ ['7', 'à³'],
+ ['8', 'à³®'],
+ ['9', '೯']
+ ]
+ };
+
+ $.ime.register( knKGP );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/kn/kn-transliteration.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/kn/kn-transliteration.js
new file mode 100644
index 0000000..ced9433
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/kn/kn-transliteration.js
@@ -0,0 +1,154 @@
+( function ( $ ) {
+ 'use strict';
+
+ var knTransliteration = {
+ id: 'kn-transliteration',
+ name: 'ಲಿಪà³à²¯à²à²¤à²°à²£',
+ description: 'Kannada transliteration',
+ date: '2012-10-14',
+ URL: 'http://github.com/wikimedia/jquery.ime',
+ author: 'M G Harish, HP Nadig ',
+ license: 'GPLv3',
+ version: '1.0',
+ contextLength: 5,
+ maxKeyLength: 3,
+ patterns: [
+ ['à²à³h','c','à²à³'],
+ ['\\\\([A-Za-z\\>_~\\.0-9])','\\\\','$1'],
+ // For users accustomed to Baraha
+ ['à²à³à³j', 'à²à³à²à³'],
+ ['([à²-ಹà³]಼?)à³a', '$1'],
+ ['([à²-ಹà³]಼?)à³A', '$1ಾ'],
+ ['([à²-ಹà³]಼?)a', '$1ಾ'],
+ ['([à²-ಹà³]಼?)à³i', '$1ಿ'],
+ ['([à²-ಹà³]಼?)(à³I|ಿi|à³e)', '$1à³'],
+ ['([à²-ಹà³]಼?)à³u', '$1à³'],
+ ['([à²-ಹà³]಼?)(à³u|à³U|à³o)', '$1à³'],
+ ['([à²-ಹà³]಼?)à³R', '$1à³'],
+ ['([à²-ಹà³]಼?)à³R', '$1à³'],
+ ['([à²-ಹà³]಼?)à³e', '$1à³'],
+ ['([à²-ಹà³]಼?)à³E', '$1à³'],
+ ['([à²-ಹà³]಼?)i', '$1à³'],
+ ['([à²-ಹà³]಼?)à³o', '$1à³'],
+ ['([à²-ಹà³]಼?)à³O', '$1à³'],
+ ['([à²-ಹà³]಼?)u', '$1à³'],
+ ['([à²-ಹà³])à³\\`', '$1़à³'],
+ ['([à²-ಹà³]಼?)à³W', '$1à³'],
+ ['([à²-ಹà³]಼?)à³Y', '$1à³'],
+
+ ['à²
a', 'à²'],
+ ['(à²o|à²u)', 'à²'],
+ ['à²
i', 'à²'],
+ ['(à²i|à²e)', 'à²'],
+ ['à²
u', 'à²'],
+ ['à²R', 'à³ '],
+ ['à²~M', 'à¥'],
+
+ ['~l', 'à³à³'],
+ ['~h', 'ಹà³'],
+ ['~r', 'ಱà³'],
+ ['q', 'ಱà³'],
+ ['Q', 'à³à³'],
+ ['à²à³h', 'à²à³'],
+ ['à²à³h', 'à²à³'],
+ ['~g', 'à²à³'],
+ ['~N', 'à²à³'],
+ ['à²à³h', 'à²à³'],
+ ['à²à³h', 'à²à³'],
+ ['~j', 'à²à³'],
+ ['~n', 'à²à³'],
+ ['à²à³h', 'ಠà³'],
+ ['ಡà³h', 'ಢà³'],
+ ['ತà³h', 'ಥà³'],
+ ['ದà³h', 'ಧà³'],
+ ['ಪà³h', 'ಫà³'],
+ ['ಬà³h', 'à²à³'],
+ ['ಸà³h', 'ಶà³'],
+ ['ಶà³h', 'ಷà³'],
+
+ ['à²a', 'ರ'],
+ ['à²A', 'ರಾ'],
+ ['à²i', 'ರಿ'],
+ ['à²I', 'ರà³'],
+ ['à²u', 'ರà³'],
+ ['à²U', 'ರà³'],
+ ['à²e', 'ರà³'],
+ ['à²E', 'ರà³'],
+
+ ['X', '\u200C'], // 0x200C Zero width non-joiner
+ ['x', '\u200D'], // 0x200D Zero width joiner
+
+ ['([à²-ಹà³]಼?)à³a', '$1à³à²°'],
+ ['([à²-ಹà³]಼?)à³A', '$1à³à²°à²¾'],
+ ['([à²-ಹà³]಼?)à³i', '$1à³à²°à²¿'],
+ ['([à²-ಹà³]಼?)à³I', '$1à³à²°à³'],
+ ['([à²-ಹà³]಼?)à³u', '$1à³à²°à³'],
+ ['([à²-ಹà³]಼?)à³U', '$1à³à²°à³'],
+ ['([à²-ಹà³]಼?)à³e', '$1à³à²°à³'],
+ ['([à²-ಹà³]಼?)à³E', '$1à³à²°à³'],
+ ['([à²-ಹà³]಼?)à³o', '$1à³à²°à³'],
+ ['([à²-ಹà³]಼?)à³O', '$1à³à²°à³'],
+ ['([à²-ಹà³]಼?)à³\\~', '$1à³à²°à³'],
+
+ ['।\\.', '॥'],
+
+ ['a', 'à²
'],
+ ['b', 'ಬà³'],
+ ['c', 'à²à³'],
+ ['d', 'ದà³'],
+ ['e', 'à²'],
+ ['g', 'à²à³'],
+ ['h', 'ಹà³'],
+ ['i', 'à²'],
+ ['j', 'à²à³'],
+ ['k', 'à²à³'],
+ ['l', 'ಲà³'],
+ ['m', 'ಮà³'],
+ ['n', 'ನà³'],
+ ['o', 'à²'],
+ ['p', 'ಪà³'],
+ ['r', 'ರà³'],
+ ['s', 'ಸà³'],
+ ['t', 'ತà³'],
+ ['u', 'à²'],
+ ['(v|w)', 'ವà³'],
+ ['y', 'ಯà³'],
+ ['A', 'à²'],
+ ['B', 'à²à³'],
+ ['C', 'à²à³'],
+ ['D', 'ಡà³'],
+ ['E', 'à²'],
+ ['G', 'à²à³'],
+ ['H', 'à²'],
+ ['I', 'à²'],
+ ['J', 'à²à³'],
+ ['K', 'à²à³'],
+ ['L', 'ಳà³'],
+ ['M', 'à²'],
+ ['N', 'ಣà³'],
+ ['O', 'à²'],
+ ['P', 'ಫà³'],
+ ['R', 'à²'],
+ ['S', 'ಶà³'],
+ ['T', 'à²à³'],
+ ['U', 'à²'],
+ ['V', 'ವà³'],
+ ['W','','à²'],
+ ['Y', 'à²'],
+ ['(z|Z)', 'à²à²¼à³'],
+ ['(f|F)', 'ಫ಼à³'],
+ ['0', '೦'],
+ ['1', '೧'],
+ ['2', '೨'],
+ ['3', '೩'],
+ ['4', '೪'],
+ ['5', '೫'],
+ ['6', '೬'],
+ ['7', 'à³'],
+ ['8', 'à³®'],
+ ['9', '೯'],
+ ['//', 'ಽ']]
+ };
+
+ $.ime.register( knTransliteration );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ks/ks-inscript.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ks/ks-inscript.js
new file mode 100644
index 0000000..06bcffe
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ks/ks-inscript.js
@@ -0,0 +1,129 @@
+( function ( $ ) {
+ 'use strict';
+
+ var ksInScript = {
+ id: 'ks-inscript',
+ name: 'InScript',
+ description: 'InScript keyboard for Kashmiri language using Devanagari script',
+ date: '2013-02-09',
+ author: 'Parag Nemade',
+ license: 'GPLv3',
+ version: '1.0',
+ contextLength: 1,
+ maxKeyLength: 3,
+ patterns: [
+ ['à¥d', 'à¥\u200c'],
+ ['à¤_', 'ॻ'],
+ ['à¤_', 'ॼ'],
+ ['ड_', 'ॾ'],
+ ['ब_', 'ॿ'],
+ ['\\!', 'à¤'],
+ ['1', '१'],
+ ['\\@', 'à¥
'],
+ ['2', '२'],
+ ['\\#', '#'],
+ ['3', '३'],
+ ['\\$', '$'],
+ ['4', '४'],
+ ['5', '५'],
+ ['6', '६'],
+ ['7', 'à¥'],
+ ['8', '८'],
+ ['\\(', '('],
+ ['9', '९'],
+ ['\\)', ')'],
+ ['0', '०'],
+ ['\\_', 'à¤'],
+ ['\\-', '-'],
+ ['\\+', 'à¤'],
+ ['\\=', 'à¥'],
+ ['Q', 'à¤'],
+ ['q', 'à¥'],
+ ['W', 'à¤'],
+ ['w', 'à¥'],
+ ['E', 'à¤'],
+ ['e', 'ा'],
+ ['R', 'à¤'],
+ ['r', 'à¥'],
+ ['T', 'à¤'],
+ ['t', 'à¥'],
+ ['Y', 'à¤'],
+ ['y', 'ब'],
+ ['U', 'à¤'],
+ ['u', 'ह'],
+ ['I', 'à¤'],
+ ['i', 'à¤'],
+ ['O', 'ध'],
+ ['o', 'द'],
+ ['P', 'à¤'],
+ ['p', 'à¤'],
+ ['\\{', 'ढ'],
+ ['\\[', 'ड'],
+ ['\\}', 'à¤'],
+ ['\\]', '़'],
+ ['A', 'à¤'],
+ ['a', 'à¥'],
+ ['S', 'à¤'],
+ ['s', 'à¥'],
+ ['D', 'à¤
'],
+ ['d', 'à¥'],
+ ['F', 'à¤'],
+ ['f', 'ि'],
+ ['H', 'फ'],
+ ['h', 'प'],
+ ['J', 'ऱ'],
+ ['j', 'र'],
+ ['K', 'à¤'],
+ ['k', 'à¤'],
+ ['L', 'थ'],
+ ['l', 'त'],
+ [':', 'à¤'],
+ [';', 'à¤'],
+ ['\"', 'ठ'],
+ ['\'', 'à¤'],
+ ['\\|', 'à¤'],
+ ['\\\\', 'à¥'],
+ ['\\~', 'à¤'],
+ ['\\`', 'à¥'],
+ ['Z', 'à¤'],
+ ['z', 'à¥'],
+ ['X', 'à¤'],
+ ['x', 'à¤'],
+ ['C', 'ण'],
+ ['c', 'म'],
+ ['V', 'ऩ'],
+ ['v', 'न'],
+ ['B', 'ऴ'],
+ ['b', 'व'],
+ ['N', 'ळ'],
+ ['n', 'ल'],
+ ['M', 'श'],
+ ['m', 'स'],
+ ['\\<', 'ष'],
+ [',', ','],
+ ['\\>', '।'],
+ ['\\.', '.'],
+ ['\\?', 'à¥'],
+ ['/', 'य'],
+ ['\\%', 'à¤à¥à¤'],
+ ['\\^', 'तà¥à¤°'],
+ ['\\&', 'à¤à¥à¤·'],
+ ['\\*', 'शà¥à¤°']
+ ],
+ patterns_x: [
+ ['4', 'â¹'],
+ ['Q', 'ॵ'],
+ ['q', 'à¥' ],
+ ['T', 'ॷ'],
+ ['t', 'à¥'],
+ ['A', 'ॴ'],
+ ['a', 'ऻ'],
+ ['G', 'ॶ'],
+ ['g', 'à¥'],
+ ['Z', 'ॳ'],
+ ['z', 'ऺ']
+ ]
+ };
+
+ $.ime.register( ksInScript );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ks/ks-kbd.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ks/ks-kbd.js
new file mode 100644
index 0000000..4f01b12
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ks/ks-kbd.js
@@ -0,0 +1,112 @@
+( function ( $ ) {
+ 'use strict';
+
+ var ksKbd = {
+ id: 'ks-Kbd',
+ name: 'Kbd',
+ description: 'Kbd keyboard for Kashmiri language using Arabic script',
+ date: '2013-02-09',
+ author: 'Parag Nemade',
+ license: 'GPLv3',
+ version: '1.0',
+ patterns: [
+ ['\\~', 'Ù'],
+ ['\\!', '!'],
+ ['1', 'Û±'],
+ ['\\@', '@'],
+ ['2', 'Û²'],
+ ['\\#', '#'],
+ ['3', 'Û³'],
+ ['\\$', '$'],
+ ['4', 'Û´'],
+ ['5', 'Ûµ'],
+ ['6', 'Û¶'],
+ ['7', 'Û·'],
+ ['8', 'Û¸'],
+ ['\\(', ')'],
+ ['9', 'Û¹'],
+ ['\\)', '('],
+ ['0', 'Û°'],
+ ['\\_', 'Ù'],
+ ['\\-', '-'],
+ ['\\+', '+'],
+ ['\\=', '='],
+ ['Q', 'ï·º'],
+ ['q', 'Ù'],
+ ['W', 'ؤ'],
+ ['w', 'Ù'],
+ ['E', 'ئ'],
+ ['e', 'ع'],
+ ['R', 'Ú'],
+ ['r', 'ر'],
+ ['T', 'Ù¹'],
+ ['t', 'ت'],
+ ['Y', '\u0601'],
+ ['y', 'Û'],
+ ['U', 'Ø'],
+ ['u', 'Ø¡'],
+ ['I', 'Û'],
+ ['i', 'Û'],
+ ['O', 'Û'],
+ ['o', 'Û'],
+ ['P', 'Ø¥'],
+ ['p', 'Ù¾'],
+ ['\\{', 'Ù°'],
+ ['\\[', ']'],
+ ['\\}', 'Ù°'],
+ ['\\]', '['],
+ ['A', 'Ø¢'],
+ ['a', 'ا'],
+ ['S', 'Ø´'],
+ ['s', 'س'],
+ ['D', 'Ú'],
+ ['d', 'د'],
+ ['F', 'Ù'],
+ ['f', 'Ù'],
+ ['G', 'غ'],
+ ['g', 'Ú¯'],
+ ['H', 'Ø'],
+ ['h', 'Ú¾'],
+ ['J', 'Ú'],
+ ['j', 'ج'],
+ ['K', 'Ø®'],
+ ['k', 'Ú©'],
+ ['L', 'Ø'],
+ ['l', 'Ù'],
+ [':', ':'],
+ [';', 'Ø'],
+ ['\"', '\"'],
+ ['\'', 'Ù°'],
+ ['\\|', 'Ø£'],
+ ['\\\\', 'Ø'],
+ ['\\~', 'Ù'],
+ ['`', 'Ù'],
+ ['Z', 'Ø°'],
+ ['z', 'ز'],
+ ['X', 'ض'],
+ ['x', 'ص'],
+ ['C', 'Ø«'],
+ ['c', 'Ú'],
+ ['V', 'ظ'],
+ ['v', 'Ø·'],
+ ['B', 'Ø£'],
+ ['b', 'ب'],
+ ['N', 'Úº'],
+ ['n', 'Ù'],
+ ['M', 'Ù'],
+ ['m', 'Ù
'],
+ ['\\>', 'Ù'],
+ [',', 'Ø'],
+ ['\\<', 'Ù'],
+ ['\\.', 'Û'],
+ ['\\?', 'Ø'],
+ ['/', '/'],
+ ['\\%', '%'],
+ ['\\^', '^'],
+ ['\\&', '&'],
+ ['\\*', '*']
+ ]
+ };
+
+ $.ime.register( ksKbd );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ku/ku-h.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ku/ku-h.js
new file mode 100644
index 0000000..2757885
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ku/ku-h.js
@@ -0,0 +1,47 @@
+( function ( $ ) {
+ 'use strict';
+
+ var kuH = {
+ id: 'ku-h',
+ name: 'Kurdî-h',
+ description: 'writing Kurdish-letters adding h\'s',
+ date: '2013-06-26',
+ URL: 'http://github.com/wikimedia/jquery.ime',
+ author: 'Ghybu',
+ license: 'GPLv3',
+ version: '1.0',
+ contextLength: 1,
+ patterns: [
+ ['çh', 'h', 'ch'],
+ ['Åh', 'h', 'sh'],
+ ['ḧh', 'h', 'hh'],
+ ['áºh', 'h', 'xh'],
+ ['êe', 'e', 'ee'],
+ ['îi', 'i', 'ii'],
+ ['ûu', 'u', 'uu'],
+ ['Ã(H|h)', '(H|h)', 'C$1'],
+ ['Å(H|h)', '(H|h)', 'S$1'],
+ ['Ḧ(H|h)', '(H|h)', 'H$1'],
+ ['áº(H|h)', '(H|h)', 'X$1'],
+ ['Ã(E|e)', '(E|e)', 'E$1'],
+ ['Ã(I|i)', '(I|i)', 'I$1'],
+ ['Ã(U|u)', '(U|u)', 'U$1'],
+
+ ['ch', 'ç'],
+ ['sh', 'Å'],
+ ['hh', 'ḧ'],
+ ['xh', 'áº'],
+ ['ee', 'ê'],
+ ['ii', 'î'],
+ ['uu', 'û'],
+ ['C(H|h)', 'Ã'],
+ ['S(H|h)', 'Å'],
+ ['H(H|h)', 'Ḧ'],
+ ['X(H|h)', 'áº'],
+ ['E(E|e)', 'Ã'],
+ ['I(I|i)', 'Ã'],
+ ['U(U|u)', 'Ã']]
+ };
+
+ $.ime.register( kuH );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ku/ku-tr.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ku/ku-tr.js
new file mode 100644
index 0000000..5853df6
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ku/ku-tr.js
@@ -0,0 +1,32 @@
+( function ( $ ) {
+ 'use strict';
+
+ var kuTr = {
+ id: 'ku-tr',
+ name: 'Kurdî-tr',
+ description: 'writing Kurdish-letters using the TR keyboard',
+ date: '2013-06-26',
+ URL: 'http://github.com/wikimedia/jquery.ime',
+ author: 'Ghybu',
+ license: 'GPLv3',
+ version: '1.0',
+ contextLength: 1,
+ patterns: [
+ ['ḧh', 'h', 'hh'],
+ ['Ḧ(H|h)', '(H|h)', 'H$1'],
+
+ ['Ä', 'áº'],
+ ['ı', 'i'],
+ ['i', 'î'],
+ ['ö', 'ê'],
+ ['ü', 'û'],
+ ['hh', 'ḧ'],
+ ['Ä', 'áº'],
+ ['Ä°', 'Ã'],
+ ['Ã', 'Ã'],
+ ['Ã', 'Ã'],
+ ['H(H|h)', 'Ḧ']]
+ };
+
+ $.ime.register( kuTr );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ky/ky-cyrl-alt.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ky/ky-cyrl-alt.js
new file mode 100644
index 0000000..3a9850a
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ky/ky-cyrl-alt.js
@@ -0,0 +1,25 @@
+( function ( $ ) {
+ 'use strict';
+
+ var kyCyrlAlt = {
+ id: 'ky-cyrl-alt',
+ name: 'ÐÑÑгÑз Alt',
+ description: 'ÐÑÑгÑз Alt',
+ date: '2013-08-10',
+ URL: 'http://github.com/wikimedia/jquery.ime',
+ author: 'Amir (ÐлекÑей) Aharoni',
+ license: 'GPLv3',
+ version: '1.0',
+ patterns: [],
+ patterns_x: [
+ ['н', 'ң'],
+ ['Ð', 'Ò¢'],
+ ['о', 'ө'],
+ ['Ð', 'Ó¨'],
+ ['Ñ', 'Ò¯'],
+ ['У', 'Ү']
+ ]
+ };
+
+ $.ime.register( kyCyrlAlt );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/lo/lo-kbd.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/lo/lo-kbd.js
new file mode 100644
index 0000000..081b38b
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/lo/lo-kbd.js
@@ -0,0 +1,122 @@
+( function ( $ ) {
+ 'use strict';
+
+ var loKbd = {
+ id: 'lo-kbd',
+ name: 'Lao kbd',
+ description: 'Lao kbd keyboard layout',
+ date: '2013-02-12',
+ URL: 'http://github.com/wikimedia/jquery.ime',
+ author: 'Parag Nemade',
+ license: 'GPLv3',
+ version: '1.0',
+ patterns: [
+ ['\\!', '1'],
+ ['\"', '='],
+ ['\\#', '3'],
+ ['\\$', '4'],
+ ['\\&', '5'],
+ ['\\%', 'à»'],
+ ['\'', 'àº'],
+ ['\\(', '7'],
+ ['\\)', '8'],
+ ['\\*', '6'],
+ ['\\+', 'à»'],
+ [',', 'ມ'],
+ ['\\-', 'àº'],
+ ['\\.', 'à»'],
+ ['/', 'àº'],
+ ['0', 'àº'],
+ ['1', 'ຢ'],
+ ['2', 'àº'],
+ ['3', 'à»'],
+ ['4', 'àº'],
+ ['5', 'ຸ'],
+ ['6', 'ູ'],
+ ['7', 'àº'],
+ ['8', 'àº'],
+ ['9', 'àº'],
+ [':', '%'],
+ [';', 'ວ'],
+ ['\\<', 'à»'],
+ ['\\=', 'à»'],
+ ['\\>', '$'],
+ ['\\?', ')'],
+ ['\\@', '2'],
+ ['A', 'ັ'],
+ ['B', 'ຶ'],
+ ['C', 'ຯ'],
+ ['D', '.'],
+ ['E', 'ຳ'],
+ ['F', ','],
+ ['G', ':'],
+ ['H', 'à»'],
+ ['I', 'ຮ'],
+ ['J', 'à»'],
+ ['K', '!'],
+ ['L', '?'],
+ ['M', 'à»'],
+ ['N', 'ື'],
+ ['O', 'à»'],
+ ['P', 'ຽ'],
+ ['Q', 'ົ'],
+ ['R', '_'],
+ ['S', ';'],
+ ['T', '+'],
+ ['U', 'ີ'],
+ ['V', 'x'],
+ ['W', '0'],
+ ['X', '('],
+ ['Y', 'ິ'],
+ ['Z', '\"'],
+ ['\\[', 'àº'],
+ ['\\]', 'ລ'],
+ ['\\^', 'ຼ'],
+ ['\\_', '9'],
+ ['`', '*'],
+ ['a', 'ັ'],
+ ['b', 'ຶ'],
+ ['c', 'à»'],
+ ['d', 'àº'],
+ ['e', 'ຳ'],
+ ['f', 'àº'],
+ ['g', 'à»'],
+ ['h', 'à»'],
+ ['i', 'ຣ'],
+ ['j', 'à»'],
+ ['k', 'າ'],
+ ['l', 'ສ'],
+ ['m', 'àº'],
+ ['n', 'ື'],
+ ['o', 'àº'],
+ ['p', 'àº'],
+ ['q', 'ົ'],
+ ['r', 'àº'],
+ ['s', 'ຫ'],
+ ['t', 'ະ'],
+ ['u', 'ີ'],
+ ['v', 'àº'],
+ ['w', 'à»'],
+ ['x', 'àº'],
+ ['y', 'ິ'],
+ ['z', 'àº'],
+ ['\\{', '-'],
+ ['\\|', 'ຫຼ'],
+ ['\\}', '/'],
+ ['~', 'à»'],
+ ['\\\\', '\\'],
+ ['0', 'à»'],
+ ['1', 'à»'],
+ ['2', 'à»'],
+ ['3', 'à»'],
+ ['4', 'à»'],
+ ['5', 'à»'],
+ ['6', 'à»'],
+ ['7', 'à»'],
+ ['8', 'à»'],
+ ['9', 'à»']
+ ]
+ };
+
+ $.ime.register( loKbd );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/lud/lud-transliteration.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/lud/lud-transliteration.js
new file mode 100644
index 0000000..cfc2aa7
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/lud/lud-transliteration.js
@@ -0,0 +1,29 @@
+( function ( $ ) {
+ 'use strict';
+
+ var mapping = {
+ id: 'lud-transliteration',
+ name: 'lud',
+ description: 'Ludic transliteration',
+ date: '2014-06-14',
+ URL: 'http://github.com/wikimedia/jquery.ime',
+ author: 'Niklas Laxström',
+ license: 'MIT',
+ version: '1.0',
+ contextLength: 0,
+ maxKeyLength: 2,
+ patterns: [
+ ['ch', 'Ä'],
+ ['C[hH]', 'Ä'],
+ ['sh', 'Å¡'],
+ ['S[hH]', 'Å '],
+ ['zh', 'ž'],
+ ['Z[hH]', 'Ž'],
+ ['y', 'ü'],
+ ['Y', 'Ã'],
+ ['\'', 'â']
+ ]
+ };
+
+ $.ime.register( mapping );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/mai/mai-inscript.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/mai/mai-inscript.js
new file mode 100644
index 0000000..849f388
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/mai/mai-inscript.js
@@ -0,0 +1,22 @@
+( function ( $ ) {
+ 'use strict';
+
+ var hiInScript, maithiliPatterns, maithiliInScript;
+ hiInScript = $.ime.inputmethods['hi-inscript'];
+ maithiliPatterns = $.extend( hiInScript.patterns, [ [ 'z', '\u02BC' ] ] ); // apostrophe
+
+ maithiliInScript = {
+ id: 'mai-inscript',
+ name: 'à¤à¤¨à¤¸à¥à¤à¥à¤°à¤¿à¤ªà¥à¤',
+ description: 'InScript keyboard for Maithili',
+ date: '2011-02-26',
+ license: 'GPLv3',
+ version: '1.0',
+ contextLength: 0,
+ maxKeyLength: 1,
+ patterns: maithiliPatterns,
+ patterns_x: hiInScript.patterns_x
+ };
+
+ $.ime.register( maithiliInScript );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/mai/mai-inscript2.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/mai/mai-inscript2.js
new file mode 100644
index 0000000..e228e9e
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/mai/mai-inscript2.js
@@ -0,0 +1,25 @@
+( function ( $ ) {
+ 'use strict';
+
+ var hiInScript2, maithiliPatterns2, maithiliInScript2;
+
+ hiInScript2 = $.ime.inputmethods['hi-inscript2'];
+ maithiliPatterns2 = $.extend( hiInScript2.patterns,
+ [ [ 'z', '\u02BC' ] ]
+ ); // apostrophe
+
+ maithiliInScript2 = {
+ id: 'mai-inscript2',
+ name: 'à¤à¤¨à¤¸à¥à¤à¥à¤°à¤¿à¤ªà¥à¤ २',
+ description: 'InScript2 keyboard for Maithili',
+ date: '2013-02-13',
+ license: 'GPLv3',
+ version: '1.0',
+ contextLength: 0,
+ maxKeyLength: 1,
+ patterns: maithiliPatterns2,
+ patterns_x: hiInScript2.patterns_x
+ };
+
+ $.ime.register( maithiliInScript2 );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/mh/mh.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/mh/mh.js
new file mode 100644
index 0000000..108dd03
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/mh/mh.js
@@ -0,0 +1,43 @@
+/**
+ * Businesses and government offices in the Republic of the Marshall Islands typically use
+ * a font to replace eight letters that are typically unused in the Marshallese language
+ * with Marshallese letters.
+ * Sample English translations: http://mapmeld.github.com/olpc-rmi/laptops.html
+ * Pronunciation: http://www.rmiembassyus.org/Marshallese%20Phrasebook.htm
+ */
+
+( function ( $ ) {
+ 'use strict';
+
+ var mh = {
+ id: 'mh',
+ name: 'Kajin M̧ajeļ',
+ description: 'Marshallese Language',
+ date: '2013-03-29',
+ URL: 'http://github.com/wikimedia/jquery.ime',
+ author: 'Nick Doiron, <ndoiron at mapmeld.com>',
+ license: 'GPLv3',
+ version: '1.0',
+ patterns: [
+ ['Y', 'Ū'],
+ ['S', 'Ä'],
+ ['F', 'Å
'],
+ ['G', 'NÌ'],
+ ['H', 'M̧'],
+ ['X', 'O̧'],
+ ['C', 'Å'],
+ ['V', 'Ä»'],
+
+ ['y', 'Å«'],
+ ['s', 'Ä'],
+ ['f', 'Å'],
+ ['g', 'nÌ'],
+ ['h', 'm̧'],
+ ['x', 'o̧'],
+ ['c', 'Å'],
+ ['v', 'ļ']
+ ]
+ };
+
+ $.ime.register( mh );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ml/ml-inscript.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ml/ml-inscript.js
new file mode 100644
index 0000000..6a72261
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ml/ml-inscript.js
@@ -0,0 +1,90 @@
+( function ( $ ) {
+ 'use strict';
+
+ var inscript = {
+ id: 'ml-inscript',
+ name: 'à´àµ»à´¸àµà´àµà´°à´¿à´ªàµà´±àµà´±àµ',
+ description: 'Malayalam InScript',
+ date: '2012-10-03',
+ URL: 'http://github.com/wikimedia/jquery.ime',
+ author: 'Junaid P V',
+ license: 'GPLv3',
+ version: '1.0',
+ contextLength: 0,
+ maxKeyLength: 2,
+ patterns: [
+ [ '`', 'àµ' ],
+ [ '~', 'à´' ],
+ [ '_', 'à´' ],
+ [ '=', 'àµ' ],
+ [ '\\+', 'à´' ],
+ [ '\\\\', '\u200C' ],
+ [ 'q', 'àµ' ],
+ [ 'Q', 'à´' ],
+ [ 'w', 'àµ' ],
+ [ 'W', 'à´' ],
+ [ 'e', 'à´¾' ],
+ [ 'E', 'à´' ],
+ [ 'r', 'àµ' ],
+ [ 'R', 'à´' ],
+ [ 't', 'àµ' ],
+ [ 'T', 'à´' ],
+ [ 'y', 'à´¬' ],
+ [ 'Y', 'à´' ],
+ [ 'u', 'à´¹' ],
+ [ 'U', 'à´' ],
+ [ 'i', 'à´' ],
+ [ 'I', 'à´' ],
+ [ 'o', 'à´¦' ],
+ [ 'O', 'à´§' ],
+ [ 'p', 'à´' ],
+ [ 'P', 'à´' ],
+ [ '\\[', 'à´¡' ],
+ [ '\\{', 'à´¢' ],
+ [ 'à´£àµ\\]', 'ൺ' ],
+ [ 'à´¨àµ\\]', 'ൻ' ],
+ [ 'à´°àµ\\]', 'ർ' ],
+ [ 'à´²àµ\\]', 'ൽ' ],
+ [ 'à´³àµ\\]', 'ൾ' ],
+ [ 'à´àµ\\]', 'ൿ' ],
+ [ '\\}', 'à´' ],
+ [ 'a', 'àµ' ],
+ [ 'A', 'à´' ],
+ [ 's', 'àµ' ],
+ [ 'S', 'à´' ],
+ [ 'd', 'àµ' ],
+ [ 'D', 'à´
' ],
+ [ 'f', 'à´¿' ],
+ [ 'F', 'à´' ],
+ [ 'g', 'àµ' ],
+ [ 'G', 'à´' ],
+ [ 'h', 'à´ª' ],
+ [ 'H', 'à´«' ],
+ [ 'j', 'à´°' ],
+ [ 'J', 'à´±' ],
+ [ 'k', 'à´' ],
+ [ 'K', 'à´' ],
+ [ 'l', 'à´¤' ],
+ [ 'L', 'à´¥' ],
+ [ ';', 'à´' ],
+ [ ':', 'à´' ],
+ [ '\'', 'à´' ],
+ [ '"', 'à´ ' ],
+ [ 'z', 'àµ' ],
+ [ 'Z', 'à´' ],
+ [ 'x', 'à´' ],
+ [ 'c', 'à´®' ],
+ [ 'C', 'à´£' ],
+ [ 'v', 'à´¨' ],
+ [ 'b', 'à´µ' ],
+ [ 'B', 'à´´' ],
+ [ 'n', 'à´²' ],
+ [ 'N', 'à´³' ],
+ [ 'm', 'à´¸' ],
+ [ 'M', 'à´¶' ],
+ [ '<', 'à´·' ],
+ [ '/', 'à´¯' ] ]
+ };
+
+ $.ime.register( inscript );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ml/ml-inscript2.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ml/ml-inscript2.js
new file mode 100644
index 0000000..9c60948
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ml/ml-inscript2.js
@@ -0,0 +1,132 @@
+( function ( $ ) {
+ 'use strict';
+
+ var mlInScript2 = {
+ id: 'ml-inscript2',
+ name: 'à´àµ»à´¸àµà´àµà´°à´¿à´ªàµà´±àµà´±àµ 2',
+ description: 'Enhanced InScript for Malayalam InScript',
+ date: '2013-01-16',
+ URL: 'http://github.com/wikimedia/jquery.ime',
+ author: 'Parag Nemade',
+ license: 'GPLv3',
+ version: '1.0',
+ contextLength: 0,
+ maxKeyLength: 2,
+ patterns: [
+ ['1', '൧'],
+ ['2', '൨'],
+ ['3', '൩'],
+ ['\\#', 'àµà´°'],
+ ['4', '൪'],
+ ['5', '൫'],
+ ['6', '൬'],
+ ['7', 'àµ'],
+ ['\\&', 'à´àµà´·'],
+ ['8', '൮'],
+ ['\\*', 'ൾ'],
+ ['\\(', '('],
+ ['9', '൯'],
+ ['\\)', ')'],
+ ['0', '൦'],
+ ['\\_', 'à´'],
+ ['\\-', '-'],
+ ['\\+', 'à´'],
+ ['\\=', 'àµ'],
+ ['Q', 'à´'],
+ ['q', 'àµ'],
+ ['W', 'à´'],
+ ['w', 'àµ'],
+ ['E', 'à´'],
+ ['e', 'à´¾'],
+ ['R', 'à´'],
+ ['r', 'àµ'],
+ ['T', 'à´'],
+ ['t', 'àµ'],
+ ['Y', 'à´'],
+ ['y', 'à´¬'],
+ ['U', 'à´'],
+ ['u', 'à´¹'],
+ ['I', 'à´'],
+ ['i', 'à´'],
+ ['O', 'à´§'],
+ ['o', 'à´¦'],
+ ['P', 'à´'],
+ ['p', 'à´'],
+ ['\\{', 'à´¢'],
+ ['\\[', 'à´¡'],
+ ['\\}', 'à´'],
+ ['\\\\', 'ർ'],
+ ['A', 'à´'],
+ ['a', 'àµ'],
+ ['S', 'à´'],
+ ['s', 'àµ'],
+ ['D', 'à´
'],
+ ['d', 'àµ'],
+ ['F', 'à´'],
+ ['f', 'à´¿'],
+ ['G', 'à´'],
+ ['g', 'àµ'],
+ ['H', 'à´«'],
+ ['h', 'à´ª'],
+ ['J', 'à´±'],
+ ['j', 'à´°'],
+ ['K', 'à´'],
+ ['k', 'à´'],
+ ['L', 'à´¥'],
+ ['l', 'à´¤'],
+ [':', 'à´'],
+ [';', 'à´'],
+ ['"', 'à´ '],
+ ['\\\'', 'à´'],
+ ['\\~', 'à´'],
+ ['\\`', 'àµ'],
+ ['Z', 'à´'],
+ ['z', 'àµ'],
+ ['X', 'ൺ'],
+ ['x', 'à´'],
+ ['C', 'à´£'],
+ ['c', 'à´®'],
+ ['V', 'ൻ'],
+ ['v', 'à´¨'],
+ ['B', 'à´´'],
+ ['b', 'à´µ'],
+ ['N', 'à´³'],
+ ['n', 'à´²'],
+ ['M', 'à´¶'],
+ ['m', 'à´¸'],
+ ['\\<', 'à´·'],
+ [',', ','],
+ ['\\>', 'ൽ'],
+ ['\\.', '.'],
+ ['/', 'à´¯']
+ ],
+ patterns_x: [
+ ['1', '\u200d'],
+ ['\\!', '൰'],
+ ['2', '\u200c'],
+ ['\\@', '൱'],
+ ['\\#', '൲'],
+ ['\\$', '൳'],
+ ['4', 'â¹'],
+ ['\\%', '൴'],
+ ['\\^', '൵'],
+ ['\\+', 'ൠ'],
+ ['\\=', 'àµ'],
+ ['q', 'àµ'],
+ ['R', 'ൡ'],
+ ['r', 'ൣ'],
+ ['F', 'à´'],
+ ['f', 'ൢ'],
+ ['j', 'ർ'],
+ ['k', 'ൿ'],
+ ['c', 'ൺ'],
+ ['v', '൹'],
+ ['N', 'ൾ'],
+ ['n', 'ൽ'],
+ ['\\>', 'à´½'],
+ ['\\.', '॥']
+ ]
+ };
+
+ $.ime.register( mlInScript2 );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ml/ml-transliteration.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ml/ml-transliteration.js
new file mode 100644
index 0000000..ee0f803
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ml/ml-transliteration.js
@@ -0,0 +1,338 @@
+( function ( $ ) {
+ 'use strict';
+
+ var mltransliteration = {
+ id: 'ml-transliteration',
+ name: 'ലിപàµà´¯à´¨àµà´¤à´°à´£à´',
+ description: 'Malayalam Transliteration based input method',
+ date: '2012-10-03',
+ URL: 'http://github.com/wikimedia/jquery.ime',
+ author: 'Junaid P V',
+ license: 'GPLv3',
+ version: '1.0',
+ contextLength: 2,
+ maxKeyLength: 4,
+ patterns: [
+ [ '(\u200c)+a', 'à´
' ],
+ [ '(\u200c)+A', 'à´' ],
+ [ '(\u200c)+i', 'à´' ],
+ [ '(\u200c)+u', 'à´' ],
+ [ '(\u200c)+U', 'à´' ],
+ [ '(\u200c)+R', 'à´' ],
+ [ '(\u200c)+e', 'à´' ],
+ [ '(\u200c)+E', 'à´' ],
+ [ '(\u200c)+I', 'à´' ],
+ [ '(\u200c)+o', 'à´' ],
+ [ '(\u200c)+O', 'à´' ],
+ [ '(\u200c)+H', 'à´' ],
+ [ 'ൻൿh', 'nc', 'à´àµà´àµ' ],
+ [ 'ൿh', 'c', 'à´àµ' ],
+ [ 'à´àµà´àµh', 'cc', 'à´àµà´àµ' ],
+ [ 'à´²àµà´ªàµp', 'lp', 'ൽപàµà´ªàµ' ],
+
+ [ '\\\\([A-Za-z\\>_~])', '\\\\', '$1' ],
+
+ [ '([à´-à´¹])àµR', '$1àµ' ],
+ [ 'à´¨àµà´¨àµj', 'à´àµà´àµ' ],
+ [ 'à´¨àµà´¨àµg', 'à´àµà´àµ' ],
+ [ 'à´±àµà´±àµh', 'à´¤àµ' ],
+ [ 'à´±àµà´±àµt', 'à´àµà´àµ' ],
+ [ 'à´¨àµà´±àµh', 'à´¨àµà´¤àµ' ],
+ [ '([à´-à´¹])àµà´²àµl', 'L', '$1\u0d62' ],
+ [ '([à´-à´¹])\u0d62l', '$1\u0d63' ],
+ [ '([à´
-à´à´à´-à´à´-à´¹])([à´½-àµàµ-àµàµ])+R', '$1$2à´±àµ' ],
+ [ '([à´-à´¹])àµa', '$1àµà´°' ],
+ [ '([à´-à´¹])àµA', '$1àµà´°à´¾' ],
+ [ '([à´-à´¹])àµi', '$1àµà´°à´¿' ],
+ [ '([à´-à´¹])àµI', '$1àµà´°àµ' ],
+ [ '([à´-à´¹])àµu', '$1àµà´°àµ' ],
+ [ '([à´-à´¹])àµU', '$1àµà´°àµ' ],
+ [ '([à´-à´¹])àµe', '$1àµà´°àµ' ],
+ [ '([à´-à´¹])àµE', '$1àµà´°àµ' ],
+ [ '([à´-à´¹])àµo', '$1àµà´°àµ' ],
+ [ '([à´-à´¹])àµO', '$1àµà´°àµ' ],
+ [ '([à´-à´¹])àµ(l|L)', '$1àµà´²àµ' ],
+ [ 'à´
a', 'à´' ],
+ [ 'à´
i', 'à´' ],
+ [ 'à´
u', 'à´' ],
+ [ 'à´i', 'à´' ],
+ [ 'à´u', 'à´' ],
+ [ 'à´o', 'à´à´' ],
+ [ 'à´R', 'ൠ' ],
+ [ 'à´a', 'à´±' ],
+ [ 'à´A', 'റാ' ],
+ [ 'à´i', 'റി' ],
+ [ 'à´I', 'à´±àµ' ],
+ [ 'à´u', 'à´±àµ' ],
+ [ 'à´U', 'à´±àµ' ],
+ [ 'à´e', 'à´±àµ' ],
+ [ 'à´E', 'à´±àµ' ],
+ [ 'à´o', 'à´±àµ' ],
+ [ 'à´O', 'à´±àµ' ],
+ [ 'à´~', 'à´±àµ' ],
+ [ 'à´l', 'ൡ' ],
+ [ 'à´e', 'à´' ],
+ [ 'à´o', 'à´' ],
+ [ 'ാa', 'ാാ' ],
+ [ 'àµi', 'àµàµ' ],
+ [ 'àµu', 'àµàµ' ],
+ [ 'àµo', 'àµàµ' ],
+ [ 'àµR', 'àµàµ' ],
+ [ 'àµE', 'àµàµ' ],
+ [ 'àµO', 'àµàµ' ],
+ [ 'àµu', 'àµàµ' ],
+ [ '\u0d62\\^', '\u0d63' ],
+ [ '\u0d63\\^', '\u0d63\u0d63' ],
+ [ 'à´àµh', 'à´àµ' ],
+ [ 'à´àµh', 'à´àµ' ],
+ [ 'ൻg', 'à´àµ' ],
+ [ 'à´àµh', 'à´àµ' ],
+ [ 'à´àµh', 'à´àµ' ],
+ [ 'à´àµh', 'à´ àµ' ],
+ [ 'à´¡àµh', 'à´¢àµ' ],
+ [ 'à´¤àµh', 'à´¥àµ' ],
+ [ 'à´¦àµh', 'à´§àµ' ],
+ [ 'à´ªàµh', 'à´«àµ' ],
+ [ 'à´¬àµh', 'à´àµ' ],
+ [ 'à´a', 'à´®' ],
+ [ 'à´A', 'മാ' ],
+ [ 'à´i', 'മി' ],
+ [ 'à´I', 'à´®àµ' ],
+ [ 'à´u', 'à´®àµ' ],
+ [ 'à´U', 'à´®àµ' ],
+ [ 'à´R', 'à´®àµ' ],
+ [ 'à´e', 'à´®àµ' ],
+ [ 'à´E', 'à´®àµ' ],
+ [ 'à´o', 'à´®àµ' ],
+ [ 'à´O', 'à´®àµ' ],
+ [ 'à´m', 'à´®àµà´®àµ' ],
+ [ '([^à´¸])à´r', '$1à´®àµà´°àµ' ],
+ [ 'à´p', 'à´®àµà´ªàµ' ],
+ [ '([^à´¸])à´(l|L)', '$1à´®àµà´²àµ' ],
+ [ 'à´~', 'à´®àµ' ],
+ [ '([^à´¸])à´n', '$1à´®àµà´¨àµ' ],
+ [ '([^à´¸])à´y', '$1à´®àµà´¯àµ' ],
+ [ 'à´¸àµh', 'à´·àµ' ],
+ [ 'à´¶àµh', 'à´´àµ' ],
+ [ 'ൺ\\\\\\\\', 'à´£àµ\u200d' ], // old style chillu N
+ [ 'ൺ~', 'à´£àµ' ],
+ [ 'ൺR', 'à´£àµ' ],
+ [ 'ൺN', 'à´£àµà´£àµ' ],
+ [ 'ൺT', 'à´£àµà´àµ' ],
+ [ 'ൺD', 'à´£àµà´¡àµ' ],
+ [ 'ൺy', 'à´£àµà´¯àµ' ],
+ [ 'ൺv', 'à´£àµà´µàµ' ],
+ [ 'ൺm', 'à´£àµà´®àµ' ],
+ [ 'ൻ\\\\\\\\', 'à´¨àµ\u200d' ], // old style chillu n
+ [ 'ൻ~', 'à´¨àµ' ],
+ [ 'ൻr', 'à´¨àµà´°àµ' ],
+ [ 'ൻR', 'à´¨àµ' ],
+ [ 'ൻk', 'à´àµà´àµ' ],
+ [ 'ൻj', 'à´àµ' ],
+ [ 'ൻn', 'à´¨àµà´¨àµ' ],
+ [ 'ൻd', 'à´¨àµà´¦àµ' ],
+ [ 'ൻt', 'à´¨àµà´±àµ' ],
+ [ 'ൻm', 'à´¨àµà´®àµ' ],
+ [ 'ൻL', 'à´¨àµà´²àµ' ],
+ [ 'ൻv', 'à´¨àµà´µàµ' ],
+ [ 'ൻy', 'à´¨àµà´¯àµ' ],
+ [ 'ർ\\\\\\\\', 'à´°àµ\u200d' ], // old style chill r
+ [ 'ർ~', 'à´°àµ' ],
+ [ 'ർ#', 'àµ' ], // dot repha
+ [ 'ർr', 'à´±àµ' ],
+ [ 'ർR', 'à´°àµ' ],
+ [ 'ർy', 'à´°àµà´¯àµ' ],
+ [ 'ൽ\\\\\\\\', 'à´²àµ\u200d' ], // old style chillu l
+ [ 'ൽ~', 'à´²àµ' ],
+ [ 'ൽR', 'à´²àµ' ],
+ [ 'ൽ(l|L)', 'à´²àµà´²àµ' ],
+ [ 'ൽp', 'à´²àµà´ªàµ' ],
+ [ 'ൽy', 'à´²àµà´¯àµ' ],
+ [ 'ൽv', 'à´²àµà´µàµ' ],
+ [ 'ൾ\\\\\\\\', 'à´³àµ\u200d' ], // old style chillu L
+ [ 'ൾ~', 'à´³àµ' ],
+ [ 'ൾR', 'à´³àµ' ],
+ [ 'ൾL', 'à´³àµà´³àµ' ],
+ [ 'ൾy', 'à´³àµà´¯àµ' ],
+ [ 'ൾl', 'à´' ],
+ [ 'ൿ\\\\\\\\', 'à´àµ\u200d' ], // old style chillu k
+ [ 'ൿR', 'à´àµ' ],
+ [ 'ൿy', 'à´àµà´¯àµ' ],
+ [ 'ൿ(l|L)', 'à´àµà´²àµ' ],
+ [ 'ൿv', 'à´àµà´µàµ' ],
+ [ 'ൿ(k|c)', 'à´àµà´àµ' ],
+ [ '([à´-à´¹])a', '$1à´¾' ],
+ [ '([à´-à´¹])àµa', '$1' ],
+ [ 'ൺa', 'ണ' ],
+ [ 'ൻa', 'ന' ],
+ [ 'ർa', 'ര' ],
+ [ 'ൽa', 'ല' ],
+ [ 'ൾa', 'ള' ],
+ [ 'ൿa', 'à´' ],
+ [ '([à´-à´¹])àµA', '$1à´¾' ],
+ [ 'ൺA', 'ണാ' ],
+ [ 'ൻA', 'നാ' ],
+ [ 'ർA', 'രാ' ],
+ [ 'ൽA', 'ലാ' ],
+ [ 'ൾA', 'ളാ' ],
+ [ 'ൿA', 'à´à´¾' ],
+ [ '([à´-à´¹])àµi', '$1à´¿' ],
+ [ 'ൺi', 'ണി' ],
+ [ 'ൻi', 'നി' ],
+ [ 'ർi', 'രി' ],
+ [ 'ൽi', 'ലി' ],
+ [ 'ൾi', 'ളി' ],
+ [ 'ൿi', 'à´à´¿' ],
+ [ '([à´-à´¹])àµI', '$1àµ' ],
+ [ 'ൺI', 'à´£àµ' ],
+ [ 'ൻI', 'à´¨àµ' ],
+ [ 'ർI', 'à´°àµ' ],
+ [ 'ൽI', 'à´²àµ' ],
+ [ 'ൾI', 'à´³àµ' ],
+ [ 'ൿI', 'à´àµ' ],
+ [ '([à´-à´¹])à´¿i', '$1àµ' ],
+ [ '([à´-à´¹])àµe', '$1àµ' ],
+ [ '([à´-à´¹])àµu', '$1àµ' ],
+ [ 'ൺu', 'à´£àµ' ],
+ [ 'ൻu', 'à´¨àµ' ],
+ [ 'ർu', 'à´°àµ' ],
+ [ 'ൽu', 'à´²àµ' ],
+ [ 'ൾu', 'à´³àµ' ],
+ [ 'ൿu', 'à´àµ' ],
+ [ '([à´-à´¹])àµU', '$1àµ' ],
+ [ '([à´-à´¹])àµu', '$1àµ' ],
+ [ 'ൺU', 'à´£àµ' ],
+ [ 'ൻU', 'à´¨àµ' ],
+ [ 'ർU', 'à´°àµ' ],
+ [ 'ൽU', 'à´²àµ' ],
+ [ 'ൾU', 'à´³àµ' ],
+ [ 'ൿU', 'à´àµ' ],
+ [ '([à´-à´¹])àµo', '$1àµ' ],
+ [ '([à´-à´¹])àµR', '$1àµ' ],
+ [ '([à´-à´¹])àµe', '$1àµ' ],
+ [ 'ൺe', 'à´£àµ' ],
+ [ 'ൻe', 'à´¨àµ' ],
+ [ 'ർe', 'à´°àµ' ],
+ [ 'ൽe', 'à´²àµ' ],
+ [ 'ൾe', 'à´³àµ' ],
+ [ 'ൿe', 'à´àµ' ],
+ [ '([à´-à´¹])àµE', '$1àµ' ],
+ [ 'ൺE', 'à´£àµ' ],
+ [ 'ൻE', 'à´¨àµ' ],
+ [ 'ർE', 'à´°àµ' ],
+ [ 'ൽE', 'à´²àµ' ],
+ [ 'ൾE', 'à´³àµ' ],
+ [ 'ൿE', 'à´àµ' ],
+ [ '([à´-à´¹])i', '$1àµ' ],
+ [ '([à´-à´¹])àµo', '$1àµ' ],
+ [ 'ൺo', 'à´£àµ' ],
+ [ 'ൻo', 'à´¨àµ' ],
+ [ 'ർo', 'à´°àµ' ],
+ [ 'ൽo', 'à´²àµ' ],
+ [ 'ൾo', 'à´³àµ' ],
+ [ 'ൿo', 'à´àµ' ],
+ [ '([à´-à´¹])àµO', '$1àµ' ],
+ [ 'ൺO', 'à´£àµ' ],
+ [ 'ൻO', 'à´¨àµ' ],
+ [ 'ർO', 'à´°àµ' ],
+ [ 'ൽO', 'à´²àµ' ],
+ [ 'ൾO', 'à´³àµ' ],
+ [ 'ൿO', 'à´àµ' ],
+ [ '([à´-à´¹])u', '$1àµ' ],
+ [ '([à´-à´¹])U', '$1àµ' ],
+ [ '([à´
-àµ])m', '$1à´' ],
+ [ '\\\\0', '൦' ], // escape to ml digit 0 by \0
+ [ '\\\\1', '൧' ], // escape to ml digit 1 by \1
+ [ '\\\\2', '൨' ], // escape to ml digit 2 by \2
+ [ '\\\\3', '൩' ], // escape to ml digit 3 by \3
+ [ '\\\\4', '൪' ], // escape to ml digit 4 by \4
+ [ '\\\\5', '൫' ], // escape to ml digit 5 by \5
+ [ '\\\\6', '൬' ], // escape to ml digit 6 by \6
+ [ '\\\\7', 'àµ' ], // escape to ml digit 7 by \7
+ [ '\\\\8', '൮' ], // escape to ml digit 8 by \8
+ [ '\\\\9', '൯' ], // escape to ml digit 9 by \9
+ [ 'à´®àµ\\\\', 'à´' ],
+ [ 'à´\\\\', 'à´¾' ],
+ [ 'à´\\\\', 'à´¿' ],
+ [ 'à´\\\\', 'àµ' ],
+ [ 'à´\\\\', 'àµ' ],
+ [ 'à´\\\\', 'àµ' ],
+ [ 'à´\\\\', 'àµ' ],
+ [ 'ൠ\\\\', 'àµ' ],
+ [ 'à´\\\\', 'àµ' ],
+ [ 'à´\\\\', 'àµ' ],
+ [ 'à´\\\\', 'àµ' ],
+ [ 'à´\\\\', 'àµ' ],
+ [ 'à´\\\\', 'àµ' ],
+ [ 'à´\\\\', 'àµ' ],
+ [ 'àµ\\\\', 'àµ' ],
+ [ 'à´\\\\', 'ൢ' ],
+ [ 'ൡ\\\\', 'ൣ' ],
+ [ '(([ൺ-ൿà´])\u200c+)?A', '$2à´' ],
+ [ '(([ൺ-ൿà´])\u200c+)?B', '$2à´¬àµà´¬àµ' ],
+ [ '(([ൺ-ൿà´])\u200c+)?C', '$2à´àµà´àµ' ],
+ [ '(([ൺ-ൿà´])\u200c+)?D', '$2à´¡àµ' ],
+ [ '(([ൺ-ൿà´])\u200c+)?E', '$2à´' ],
+ [ '(([ൺ-ൿà´])\u200c+)?F', '$2à´«àµ' ],
+ [ '(([ൺ-ൿà´])\u200c+)?G', '$2à´àµà´àµ' ],
+ [ '(([ൺ-ൿà´])\u200c+)?H', '$2à´' ],
+ [ '(([ൺ-ൿà´])\u200c+)?I', '$2à´' ],
+ [ '(([ൺ-ൿà´])\u200c+)?J', '$2à´àµà´àµ' ],
+ [ '(([ൺ-ൿà´])\u200c+)?K', '$2à´àµà´àµ' ],
+ [ '(([ൺ-ൿà´])\u200c+)?L', '$2ൾ' ],
+ [ '(([ൺ-ൿà´])\u200c+)?M', '$2à´®àµà´®àµ' ],
+ [ '(([ൺ-ൿà´])\u200c+)?N', '$2ൺ' ],
+ [ '(([ൺ-ൿà´])\u200c+)?O', '$2à´' ],
+ [ '(([ൺ-ൿà´])\u200c+)?P', '$2à´ªàµà´ªàµ' ],
+ [ '(([ൺ-ൿà´])\u200c+)?Q', '$2à´àµà´¯àµ' ],
+ [ '(([ൺ-ൿà´])\u200c+)?R', '$2à´' ],
+ [ '(([ൺ-ൿà´])\u200c+)?(S|z)', '$2à´¶àµ' ],
+ [ '(([ൺ-ൿà´])\u200c+)?T', '$2à´àµ' ],
+ [ '(([ൺ-ൿà´])\u200c+)?U', '$2à´' ],
+ [ '(([ൺ-ൿà´])\u200c+)?(V|W)', '$2à´µàµà´µàµ' ],
+ [ '(([ൺ-ൿà´])\u200c+)?X', '$2à´àµà´·àµ' ],
+ [ '(([ൺ-ൿà´])\u200c+)?Y', '$2à´¯àµà´¯àµ' ],
+ [ '(([ൺ-ൿà´])\u200c+)?Z', '$2à´¶àµà´¶àµ' ],
+ [ '(([ൺ-ൿà´])\u200c+)?a', '$2à´
' ],
+ [ '(([ൺ-ൿà´])\u200c+)?b', '$2à´¬àµ' ],
+ [ '(([ൺ-ൿà´])\u200c+)?c', '$2ൿ' ],
+ [ '(([ൺ-ൿà´])\u200c+)?d', '$2à´¦àµ' ],
+ [ '(([ൺ-ൿà´])\u200c+)?e', '$2à´' ],
+ [ '(([ൺ-ൿà´])\u200c+)?f', '$2à´«àµ' ],
+ [ '(([ൺ-ൿà´])\u200c+)?g', '$2à´àµ' ],
+ [ '(([ൺ-ൿà´])\u200c+)?h', '$2à´¹àµ' ],
+ [ '(([ൺ-ൿà´])\u200c+)?i', '$2à´' ],
+ [ '(([ൺ-ൿà´])\u200c+)?j', '$2à´àµ' ],
+ [ '(([ൺ-ൿà´])\u200c+)?k', '$2à´àµ' ],
+ [ '(([ൺ-ൿà´])\u200c+)?l', '$2ൽ' ],
+ [ '(([ൺ-ൿà´])\u200c+)?m', '$2à´®àµ' ],
+ [ '(([ൺ-ൿà´])\u200c+)?n', '$2ൻ' ],
+ [ '(([ൺ-ൿà´])\u200c+)?o', '$2à´' ],
+ [ '(([ൺ-ൿà´])\u200c+)?p', '$2à´ªàµ' ],
+ [ '(([ൺ-ൿà´])\u200c+)?q', '$2à´àµà´àµ' ],
+ [ '(([ൺ-ൿà´])\u200c+)?r', '$2ർ' ],
+ [ '(([ൺ-ൿà´])\u200c+)?s', '$2à´¸àµ' ],
+ [ '(([ൺ-ൿà´])\u200c+)?t', '$2à´±àµà´±àµ' ], // tta according to 5.1
+ [ '(([ൺ-ൿà´])\u200c+)?u', '$2à´' ],
+ [ '(([ൺ-ൿà´])\u200c+)?(v|w)', '$2à´µàµ' ],
+ [ '(([ൺ-ൿà´])\u200c+)?x', '$2à´àµà´·àµ' ],
+ [ '(([ൺ-ൿà´])\u200c+)?y', '$2à´¯àµ' ],
+ [ '(([ൺ-ൿà´])\u200c+)?~', '$2àµ' ],
+ [ '(\u200C)*_', '\u200c' ],
+ [ '//', 'à´½' ],
+ [ '1/4\\\\', '൳' ],
+ [ '1/2\\\\', '൴' ],
+ [ '3/4\\\\', '൵' ],
+ [ '10\\\\', '\u0D70' ],
+ [ '100\\\\', '\u0D71' ],
+ [ '1000\\\\', '\u0D72' ],
+ [ '\\-\\-\\-\\\\', 'â' ], // em dash
+ [ '\\-\\-\\\\', 'â' ], // en dash
+ [ '\\\\\\-', 'â' ],
+ [ '\\\\\\*', 'Ã' ],
+ [ '\\\\/', '÷' ] ]
+
+ };
+
+ $.ime.register( mltransliteration );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/mn/mn-cyrl.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/mn/mn-cyrl.js
new file mode 100644
index 0000000..50120b8
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/mn/mn-cyrl.js
@@ -0,0 +1,118 @@
+/**
+ * This is my work based on Git for the very first time, which is an input method for the Mongolian
+ * Cyrillic script. If the program has any errors, please understand that and contact me. I will
+ * change the errors in a few days.
+ */
+
+( function ( $ ) {
+ 'use strict';
+
+ var mncyrl = {
+ id: 'mn-cyrl',
+ name: 'Mongolian Cyrillic',
+ description: 'Mongolian Cyrillic Input Method',
+ date: '2012-10-25',
+ URL: 'http://github.com/wikimedia/jquery.ime',
+ author: 'Kevin K.S. Leung, <sprconan at gmail.com>',
+ license: 'GPLv3',
+ version: '1.0',
+ patterns: [
+ ['Q', 'Ф'],
+ ['W', 'Ц'],
+ ['E', 'У'],
+ ['R', 'Ð'],
+ ['T', 'Ð'],
+ ['Y', 'Ð'],
+ ['U', 'Ð'],
+ ['I', 'Ш'],
+ ['O', 'Ò®'],
+ ['P', 'Ð'],
+ ['{', 'Ð'],
+ ['}', 'Ъ'],
+ ['A', 'Ð'],
+ ['S', 'Ы'],
+ ['D', 'Ð'],
+ ['F', 'Ó¨'],
+ ['G', 'Ð'],
+ ['H', 'Ð¥'],
+ ['J', 'Ð '],
+ ['K', 'Ð'],
+ ['L', 'Ð'],
+ [':', 'Ð'],
+ ['"', 'Ð'],
+ ['Z', 'Я'],
+ ['X', 'Ч'],
+ ['C', 'Ð'],
+ ['V', 'С'],
+ ['B', 'Ð'],
+ ['N', 'Ð'],
+ ['M', 'Т'],
+ ['<', 'Ь'],
+ ['>', 'Ð'],
+ ['\\?', 'Ю'],
+ ['_', 'Ð'],
+ ['\\+', 'Щ'],
+
+ ['q', 'Ñ'],
+ ['w', 'Ñ'],
+ ['e', 'Ñ'],
+ ['r', 'ж'],
+ ['t', 'Ñ'],
+ ['y', 'н'],
+ ['u', 'г'],
+ ['i', 'Ñ'],
+ ['o', 'Ò¯'],
+ ['p', 'з'],
+ ['\\[', 'к'],
+ ['\\]', 'Ñ'],
+ ['a', 'й'],
+ ['s', 'Ñ'],
+ ['d', 'б'],
+ ['f', 'Ó©'],
+ ['g', 'а'],
+ ['h', 'Ñ
'],
+ ['j', 'Ñ'],
+ ['k', 'о'],
+ ['l', 'л'],
+ [';', 'д'],
+ ['\'', 'п'],
+ ['z', 'Ñ'],
+ ['x', 'Ñ'],
+ ['c', 'Ñ'],
+ ['v', 'Ñ'],
+ ['b', 'м'],
+ ['n', 'и'],
+ ['m', 'Ñ'],
+ [',', 'Ñ'],
+ ['\\.', 'в'],
+ ['/', 'Ñ'],
+ ['\\-', 'е'],
+ ['=', 'Ñ'],
+
+ ['`', '='],
+ ['~', '+'],
+ ['1', 'â'],
+ ['2', '-'],
+ ['3', '"'],
+ ['4', 'â®'],
+ ['5', ':'],
+ ['6', '.'],
+ ['7', '_'],
+ ['8', ','],
+ ['9', '%'],
+ ['0', '?'],
+ ['!', '1'],
+ ['@', '2'],
+ ['#', '3'],
+ ['\\$', '4'],
+ ['%', '5'],
+ ['^', '6'],
+ ['&', '7'],
+ ['*', '8'],
+ ['\\(', '9'],
+ ['\\)', '0']
+ ]
+ };
+
+ $.ime.register( mncyrl );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/mni/mni-inscript2.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/mni/mni-inscript2.js
new file mode 100644
index 0000000..2fb463e
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/mni/mni-inscript2.js
@@ -0,0 +1,125 @@
+( function ( $ ) {
+ 'use strict';
+
+ var mniInScript2 = {
+ id: 'mni-inscript2',
+ name: 'à¦à¦¨à¦¸à§à¦à§à§°à¦¿à¦ªà§à¦ ২',
+ description: 'Enhanced InScript keyboard for Manipuri language using Bengali script',
+ date: '2013-02-13',
+ URL: 'http://github.com/wikimedia/jquery.ime',
+ author: 'Parag Nemade',
+ license: 'GPLv3',
+ version: '1.0',
+ patterns: [
+ ['\\!', 'à¦
à§à¦¯à¦¾'],
+ ['1', '১'],
+ ['2', '২'],
+ ['\\#', 'à§à¦°'],
+ ['3', '৩'],
+ ['\\$', 'রà§'],
+ ['4', '৪'],
+ ['\\%', 'à¦à§à¦'],
+ ['5', '৫'],
+ ['\\^', 'তà§à¦°'],
+ ['6', '৬'],
+ ['\\&', 'à¦à§à¦·'],
+ ['7', 'à§'],
+ ['\\*', 'শà§à¦°'],
+ ['8', '৮'],
+ ['9', '৯'],
+ ['\\(', '('],
+ ['\\)', ')'],
+ ['0', '০'],
+ ['\"', 'ঠ'],
+ ['\'', 'à¦'],
+ [',', ','],
+ ['-', '-'],
+ ['\\.', '.'],
+ ['/', 'à§'],
+ [':', 'à¦'],
+ [';', 'à¦'],
+ ['\\<', 'ষ'],
+ ['\\=', 'à§'],
+ ['\\+', 'à¦'],
+ ['\\>', '।'],
+ ['\\?', 'য'],
+ ['A', 'à¦'],
+ ['C', 'ণ'],
+ ['D', 'à¦
'],
+ ['E', 'à¦'],
+ ['F', 'à¦'],
+ ['G', 'à¦'],
+ ['H', 'ফ'],
+ ['I', 'à¦'],
+ ['K', 'à¦'],
+ ['L', 'থ'],
+ ['M', 'শ'],
+ ['O', 'ধ'],
+ ['P', 'à¦'],
+ ['Q', 'à¦'],
+ ['R', 'à¦'],
+ ['S', 'à¦'],
+ ['T', 'à¦'],
+ ['U', 'à¦'],
+ ['W', 'à¦'],
+ ['X', 'à¦'],
+ ['Y', 'à¦'],
+ ['\\{', 'ঢ'],
+ ['\\[', 'ড'],
+ ['\\}', 'à¦'],
+ ['\\]', '়'],
+ ['\\_', 'à¦'],
+ ['a', 'à§'],
+ ['c', 'ম'],
+ ['d', 'à§'],
+ ['e', 'া'],
+ ['f', 'ি'],
+ ['g', 'à§'],
+ ['h', 'প'],
+ ['i', 'à¦'],
+ ['j', 'র'],
+ ['k', 'à¦'],
+ ['l', 'ত'],
+ ['m', 'স'],
+ ['n', 'ল'],
+ ['o', 'দ'],
+ ['p', 'à¦'],
+ ['q', 'à§'],
+ ['r', 'à§'],
+ ['s', 'à§'],
+ ['t', 'à§'],
+ ['u', 'হ'],
+ ['v', 'ন'],
+ ['w', 'à§'],
+ ['x', 'à¦'],
+ ['y', 'ব']
+ ],
+ patterns_x: [
+ ['\\!', '৴'],
+ ['1', '\u200d'],
+ ['\\@', '৵'],
+ ['2', '\u200c'],
+ ['\\#', '৶'],
+ ['\\$', '৷'],
+ ['4', 'â¹'],
+ ['\\%', '৸'],
+ ['\\^', '৹'],
+ [',', '৳'],
+ ['\\.', '॥'],
+ ['/', 'à§à¦¯'],
+ ['\\<', '৲'],
+ ['\\=', 'à§'],
+ ['\\+', 'ৠ'],
+ ['\\>', 'ঽ'],
+ ['F', 'à¦'],
+ ['R', 'ৡ'],
+ ['\\{', 'à§'],
+ ['\\[', 'à§'],
+ ['f', 'ৢ'],
+ ['l', 'à§'],
+ ['r', 'ৣ'],
+ ['x', '৺']]
+ };
+
+ $.ime.register( mniInScript2 );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/mr/mr-inscript.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/mr/mr-inscript.js
new file mode 100644
index 0000000..315088e
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/mr/mr-inscript.js
@@ -0,0 +1,115 @@
+( function ( $ ) {
+ 'use strict';
+
+ var mrInScript = {
+ id: 'mr-inscript',
+ name: 'मराठॠलिपà¥',
+ description: 'InScript keyboard for Marathi script',
+ date: '2012-10-14',
+ author: 'Junaid P V',
+ license: 'GPLv3',
+ version: '1.0',
+ patterns: [
+ ['X', '\u0901'],
+ ['x', '\u0902'],
+ ['_', '\u0903'],
+ ['D', '\u0905'],
+ ['E', '\u0906'],
+ ['F', '\u0907'],
+ ['R', '\u0908'],
+ ['G', '\u0909'],
+ ['T', '\u090A'],
+ ['\\+', '\u090B'],
+ ['!', '\u090D'],
+ ['S', '\u090F'],
+ ['W', '\u0910'],
+ ['\\|', '\u0911'],
+ ['A', '\u0913'],
+ ['Q', '\u0914'],
+ ['k', '\u0915'],
+ ['K', '\u0916'],
+ ['i', '\u0917'],
+ ['I', '\u0918'],
+ ['U', '\u0919'],
+ [';', '\u091A'],
+ ['\\:', '\u091B'],
+ ['p', '\u091C'],
+ ['P', '\u091D'],
+ ['\\}', '\u091E'],
+ ['\'', '', '\u091F'],
+ ['"', '\u0920'],
+ ['\\[', '\u0921'],
+ ['\\{', '\u0922'],
+ ['C', '\u0923'],
+ ['l', '\u0924'],
+ ['L', '\u0925'],
+ ['o', '\u0926'],
+ ['O', '\u0927'],
+ ['v', '\u0928'],
+ ['h', '\u092A'],
+ ['H', '\u092B'],
+ ['y', '\u092C'],
+ ['Y', '\u092D'],
+ ['c', '\u092E'],
+ ['/', '\u092F'],
+ ['j', '\u0930'],
+ ['J', '\u0931'],
+ ['n', '\u0932'],
+ ['N', '\u0933'],
+ ['b', '\u0935'],
+ ['M', '\u0936'],
+ ['\\<', '\u0937'],
+ ['m', '\u0938'],
+ ['u', '\u0939'],
+ ['\\]', '\u093C'],
+ ['e', '\u093E'],
+ ['f', '\u093F'],
+ ['r', '\u0940'],
+ ['g', '\u0941'],
+ ['t', '\u0942'],
+ ['\\=', '\u0943'],
+ ['\\@', '\u0945'],
+ ['s', '\u0947'],
+ ['w', '\u0948'],
+ ['\\\\', '\u0949'],
+ ['a', '\u094B'],
+ ['q', '\u094C'],
+ ['d', '\u094D'],
+ ['\\>', '\u0964'],
+ ['0', '\u0966'],
+ ['1', '\u0967'],
+ ['2', '\u0968'],
+ ['3', '\u0969'],
+ ['4', '\u096A'],
+ ['5', '\u096B'],
+ ['6', '\u096C'],
+ ['7', '\u096D'],
+ ['8', '\u096E'],
+ ['9', '\u096F'],
+ ['\\!', '\u0972'],
+ ['\\#', '\u094D\u0930'],
+ ['\\$', '\u0930\u094D'],
+ ['\\%', '\u091C\u094D\u091E'],
+ ['\\^', '\u0924\u094D\u0930'],
+ ['\\&', '\u0915\u094D\u0937'],
+ ['\\*', '\u0936\u094D\u0930'],
+ ['\\(', '\u200D'],
+ ['\\)', '\u200C']],
+ patterns_x: [
+ ['F', '\u090C'],
+ ['\\>', '\u093D'],
+ ['\\=', '\u0944'],
+ ['X', '\u0950'],
+ ['e', '\u0951'],
+ ['d', '\u0952'],
+ ['\\+', '\u0960'],
+ ['R', '\u0961'],
+ ['f', '\u0962'],
+ ['r', '\u0963'],
+ ['\\.', '\u0965'],
+ [',', '\u0970'],
+ ['\\$', '\u20B9']]
+ };
+
+ $.ime.register( mrInScript );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/mr/mr-inscript2.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/mr/mr-inscript2.js
new file mode 100644
index 0000000..9c2dde8
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/mr/mr-inscript2.js
@@ -0,0 +1,121 @@
+( function ( $ ) {
+ 'use strict';
+
+ var mrInScript2 = {
+ id: 'mr-inscript2',
+ name: 'मराठॠà¤à¤¨à¤¸à¥à¤à¥à¤°à¤¿à¤ªà¥à¤ २',
+ description: 'Enhanced InScript keyboard for Marathi language',
+ date: '2012-11-06',
+ author: 'Parag Nemade',
+ license: 'GPLv3',
+ version: '1.0',
+ patterns: [
+ ['\\!', 'ॲ'],
+ ['1', '१'],
+ ['\\@', 'à¥
'],
+ ['2', '२'],
+ ['\\#', 'à¥à¤°'],
+ ['3', '३'],
+ ['\\$', 'रà¥'],
+ ['4', '४'],
+ ['5', '५'],
+ ['6', '६'],
+ ['7', 'à¥'],
+ ['8', '८'],
+ ['\\(', '('],
+ ['9', '९'],
+ ['\\]', ']'],
+ ['0', '०'],
+ ['\\_', 'à¤'],
+ ['\\-', '-'],
+ ['\\+', 'à¤'],
+ ['\\=', 'à¥'],
+ ['Q', 'à¤'],
+ ['q', 'à¥'],
+ ['W', 'à¤'],
+ ['w', 'à¥'],
+ ['E', 'à¤'],
+ ['e', 'ा'],
+ ['R', 'à¤'],
+ ['r', 'à¥'],
+ ['T', 'à¤'],
+ ['t', 'à¥'],
+ ['Y', 'à¤'],
+ ['y', 'ब'],
+ ['U', 'à¤'],
+ ['u', 'ह'],
+ ['I', 'à¤'],
+ ['i', 'à¤'],
+ ['O', 'ध'],
+ ['o', 'द'],
+ ['P', 'à¤'],
+ ['p', 'à¤'],
+ ['\\{', 'ढ'],
+ ['\\[', 'ड'],
+ ['\\}', 'à¤'],
+ ['\\]', '़'],
+ ['A', 'à¤'],
+ ['a', 'à¥'],
+ ['S', 'à¤'],
+ ['s', 'à¥'],
+ ['D', 'à¤
'],
+ ['d', 'à¥'],
+ ['F', 'à¤'],
+ ['f', 'ि'],
+ ['G', 'à¤'],
+ ['g', 'à¥'],
+ ['H', 'फ'],
+ ['h', 'प'],
+ ['J', 'ऱ'],
+ ['j', 'र'],
+ ['K', 'à¤'],
+ ['k', 'à¤'],
+ ['L', 'थ'],
+ ['l', 'त'],
+ [':', 'à¤'],
+ [';', 'à¤'],
+ ['"', 'ठ'],
+ ['\\\'', 'à¤'],
+ ['\\~', 'à¤'],
+ ['\\`', 'à¥'],
+ ['X', 'à¤'],
+ ['x', 'à¤'],
+ ['C', 'ण'],
+ ['c', 'म'],
+ ['v', 'न'],
+ ['b', 'व'],
+ ['N', 'ळ'],
+ ['n', 'ल'],
+ ['M', 'श'],
+ ['m', 'स'],
+ ['\\<', 'ष'],
+ [',', ','],
+ ['\\>', '।'],
+ ['\\.', '.'],
+ ['/', 'य'],
+ ['\\%', 'à¤à¥à¤'],
+ ['\\^', 'तà¥à¤°'],
+ ['\\&', 'à¤à¥à¤·'],
+ ['\\*', 'शà¥à¤°']
+ ],
+ patterns_x: [
+ ['1', '\u200d'],
+ ['2', '\u200c'],
+ ['4', 'â¹'],
+ ['\\+', 'ॠ'],
+ ['\\=', 'à¥'],
+ ['e', 'à¥'],
+ ['R', 'ॡ'],
+ ['r', 'ॣ'],
+ ['d', 'à¥'],
+ ['F', 'à¤'],
+ ['f', 'ॢ'],
+ ['X', 'à¥'],
+ [',', '॰'],
+ ['\\>', 'ऽ'],
+ ['\\.', '॥']
+ ]
+ };
+
+ $.ime.register( mrInScript2 );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/mr/mr-phonetic.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/mr/mr-phonetic.js
new file mode 100644
index 0000000..f6fd4cf
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/mr/mr-phonetic.js
@@ -0,0 +1,110 @@
+( function ( $ ) {
+ 'use strict';
+
+ var mrPhonetic = {
+ id: 'mr-phonetic',
+ name: 'फà¥à¤¨à¥à¤à¤¿à¤',
+ description: 'Phonetic keyboard for Marathi language',
+ date: '2013-02-09',
+ author: 'Parag Nemade',
+ license: 'GPLv3',
+ version: '1.0',
+ patterns: [
+ ['à¥f', 'à¥\u200c'],
+ ['~', 'à¤'],
+ ['`', 'à¥'],
+ ['!', 'à¤'],
+ ['1', '१'],
+ ['\\@","à¥
'],
+ ['2', '२'],
+ ['\\#', 'à¤'],
+ ['3', '३'],
+ ['\\$', 'à¥'],
+ ['4', '४'],
+ ['\\%', 'à¤'],
+ ['5', '५'],
+ ['6', '६'],
+ ['7', 'à¥'],
+ ['8', '८'],
+ ['\\(', '('],
+ ['9', '९'],
+ ['\\)', ')'],
+ ['0', '०'],
+ ['\\_', '_'],
+ ['\\-', '-'],
+ ['\\+', '+'],
+ ['\\=', '='],
+ ['Q', 'à¤'],
+ ['q', 'à¤'],
+ ['W', 'ठ'],
+ ['w', 'à¤'],
+ ['E', 'à¥'],
+ ['e', 'à¥'],
+ ['R', 'à¥'],
+ ['r', 'र'],
+ ['T', 'थ'],
+ ['t', 'त'],
+ ['Y', 'à¥'],
+ ['y', 'य'],
+ ['U', 'à¥'],
+ ['u', 'à¥'],
+ ['I', 'à¥'],
+ ['i', 'ि'],
+ ['O', 'à¥'],
+ ['o', 'à¥'],
+ ['P', 'फ'],
+ ['p', 'प'],
+ ['\\{', 'ढ'],
+ ['\\[', 'ड'],
+ ['\\}', 'ऱ'],
+ ['\\]', 'à¤'],
+ ['A', 'à¤'],
+ ['a', 'ा'],
+ ['S', 'श'],
+ ['s', 'स'],
+ ['D', 'ध'],
+ ['d', 'द'],
+ ['F', 'à¤
'],
+ ['f', 'à¥'],
+ ['G', 'à¤'],
+ ['g', 'à¤'],
+ ['H', 'à¤'],
+ ['h', 'ह'],
+ ['J', 'à¤'],
+ ['j', 'à¤'],
+ ['K', 'à¤'],
+ ['k', 'à¤'],
+ ['L', 'ळ'],
+ ['l', 'ल'],
+ [':', 'à¤'],
+ [';', 'à¤'],
+ ['\"', 'à¤'],
+ ['\'', 'à¤'],
+ ['\\|', 'à¤'],
+ ['\\\\', 'à¥'],
+ ['Z', 'à¤'],
+ ['z', 'à¤'],
+ ['x', 'ष'],
+ ['C', 'à¤'],
+ ['c', 'à¤'],
+ ['V', 'ऴ'],
+ ['v', 'व'],
+ ['B', 'à¤'],
+ ['b', 'ब'],
+ ['N', 'ण'],
+ ['n', 'न'],
+ ['M', 'à¤'],
+ ['m', 'म'],
+ ['\\<', 'ऩ'],
+ [',', ','],
+ ['\\>', '़'],
+ ['\\?', 'à¤'],
+ ['/', 'à¤'],
+ ['\\^', 'à¤à¥à¤'],
+ ['X', 'à¤à¥à¤·'],
+ ['\\*', 'शà¥à¤°']
+ ]
+ };
+
+ $.ime.register( mrPhonetic );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/mr/mr-transliteration.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/mr/mr-transliteration.js
new file mode 100644
index 0000000..db77207
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/mr/mr-transliteration.js
@@ -0,0 +1,147 @@
+( function ( $ ) {
+ 'use strict';
+
+ var mrTransliteration = {
+ id: 'mr-transliteration',
+ name: 'à¤
à¤à¥à¤·à¤°à¤¾à¤à¤¤à¤°à¤£',
+ description: 'Transliteration keyboard for Marathi script',
+ date: '2012-10-14',
+ author: 'Pathak A B',
+ license: 'GPLv3',
+ version: '1.0',
+ contextLength: 2,
+ maxKeyLength: 4,
+ patterns: [
+ ['à¤à¥h', 'c', 'à¤à¥'], // ch
+ ['à¤à¥h', 'ch', 'à¤à¥'], // chh
+
+ ['\\\\([A-Za-z\\>_~0-9])', '\\\\', '$1'],
+
+ ['([à¤-ह]़?)à¥a', '$1'],
+ ['([à¤-ह]़?)à¥A', '$1ा'],
+ ['([à¤-ह]़?)a', '$1ा'],
+ ['([à¤-ह]़?)à¥i', '$1ि'],
+ ['([à¤-ह]़?)(à¥I|िi|à¥e)', '$1à¥'],
+ ['([à¤-ह]़?)à¥u', '$1à¥'],
+ ['([à¤-ह]़?)(à¥u|à¥U|à¥o)', '$1à¥'],
+ ['([à¤-ह]़?)à¥R', '$1à¥'],
+ ['([à¤-ह]़?)à¥R', '$1à¥'],
+ ['([à¤-ह]़?)à¥à¤³à¥l', '$1ॢ'],
+ ['([à¤-ह]़?)ॢl', '$1ॣ'],
+ ['([à¤-ह]़?)à¥\\^', '$1à¥
'],
+ ['([à¤-ह]़?)à¥e', '$1à¥'],
+ ['([à¤-ह]़?)à¥E', '$1à¥
'],
+ ['([à¤-ह]़?)à¥\\^', '$1à¥'],
+ ['([à¤-ह]़?)i', '$1à¥'],
+ ['([à¤-ह]़?)à¥o', '$1à¥'],
+ ['([à¤-ह]़?)à¥O', '$1à¥'],
+ ['([à¤-ह]़?)u', '$1à¥'],
+ ['([à¤-ह])à¥\\`', '$1़à¥'],
+ ['([à¤-ह])à¥M', '$1ाà¤'],
+
+ ['à¤à¤M', 'à¥'], // AUM (OM)
+
+ ['(दà¥à¤¨à¥y|à¤à¥à¤à¥y|à¤à¥à¤à¥n)', 'à¤à¥à¤à¥'], // dny, ggy or jjn
+
+ ['रà¥à¤°à¥y', 'ऱà¥à¤¯à¥'], // rry
+ ['रà¥à¤°à¥h', 'ऱà¥à¤¹à¥'], // rrh
+
+ ['à¤
a', 'à¤'],
+ ['(à¤o|à¤u)', 'à¤'],
+ ['à¤\\^', 'à¤'],
+ ['à¤
i', 'à¤'],
+ ['(à¤
\\^|E)', 'ॲ'],
+ ['(à¤i|à¤e)', 'à¤'],
+ ['à¤\\^', 'à¤'],
+ ['à¤
u', 'à¤'],
+ ['à¤R', 'ॠ'],
+ ['ळà¥l', 'à¤'],
+ ['à¤l', 'ॡ'],
+ ['à¤M', 'à¤'],
+
+ ['रà¥Y', 'ऱà¥à¤¯à¥'],
+
+ ['à¤à¥h', 'à¤à¥'], //kh
+ ['à¤à¥h', 'à¤à¥'],
+ ['नà¥g', 'à¤à¥'],
+ ['à¤à¥h', 'à¤à¥'],
+ ['नà¥j', 'à¤à¥'],
+ ['à¤à¥h', 'ठà¥'],
+ ['डà¥h', 'ढà¥'],
+ ['तà¥h', 'थà¥'],
+ ['दà¥h', 'धà¥'],
+ ['(f|पà¥h)', 'फà¥'],
+ ['बà¥h', 'à¤à¥'],
+ ['à¤i', 'ॠ'], // Ri
+ ['à¤l', 'ॡ'], // Rl
+
+ ['सà¥h', 'शà¥'],
+ ['शà¥h', 'षà¥'],
+ ['à¤à¤¼à¥h', 'à¤à¤¼à¥'],
+ ['à¤à¤¼à¥h', 'ऴà¥'],
+ ['।\\\\', '॥'],
+
+ ['a', 'à¤
'],
+ ['b', 'बà¥'],
+ ['c', 'à¤à¥'],
+ ['d', 'दà¥'],
+ ['e', 'à¤'],
+ ['g', 'à¤à¥'],
+ ['h', 'हà¥'],
+ ['i', 'à¤'],
+ ['j', 'à¤à¥'],
+ ['k', 'à¤à¥'],
+ ['l', 'लà¥'],
+ ['m', 'मà¥'],
+ ['n', 'नà¥'],
+ ['o', 'à¤'],
+ ['p', 'पà¥'],
+ ['q', 'à¤à¤¼à¥'],
+ ['r', 'रà¥'],
+ ['s', 'सà¥'],
+ ['t', 'तà¥'],
+ ['u', 'à¤'],
+ ['(v|w)', 'वà¥'],
+ ['x', 'à¤à¥à¤·à¥'],
+ ['y', 'यà¥'],
+ ['(z|Z)', 'à¤à¥'],
+ ['A', 'à¤'],
+ ['B', 'बà¥à¤¬à¥'],
+ ['C', 'à¤à¥à¤à¥'],
+ ['D', 'डà¥'],
+ ['G', 'à¤à¥à¤à¥'],
+ ['H', 'à¤'],
+ ['I', 'à¤'],
+ ['J', 'à¤à¥à¤à¥'],
+ ['K', 'à¤à¥à¤à¥'],
+ ['L', 'ळà¥'],
+ ['M', 'à¤'],
+ ['N', 'णà¥'],
+ ['O', 'à¤'],
+ ['P', 'पà¥à¤ªà¥'],
+ ['R', 'à¤'],
+ ['S', 'शà¥'],
+ ['T', 'à¤à¥'],
+ ['U', 'à¤'],
+ ['(V|W)', 'वà¥à¤µà¥'],
+ ['X', 'à¤à¥à¤·à¥'],
+ ['Y', 'यà¥à¤¯à¥'],
+ ['0', '०'],
+ ['1', '१'],
+ ['2', '२'],
+ ['3', '३'],
+ ['4', '४'],
+ ['5', '५'],
+ ['6', '६'],
+ ['7', 'à¥'],
+ ['8', '८'],
+ ['9', '९'],
+ ['~', 'à¥'],
+ ['\\\\.', '।'], // Danda
+ ['//', 'ऽ'],
+ ['\\`', '़'],
+ ['(\u200C)*_', '\u200c']]
+ };
+
+ $.ime.register( mrTransliteration );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/my/my-xkb.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/my/my-xkb.js
new file mode 100644
index 0000000..0eea9f9
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/my/my-xkb.js
@@ -0,0 +1,209 @@
+( function ( $ ) {
+ 'use strict';
+
+ var myXkb = {
+ id: 'my-xkb',
+ name: 'áá¼ááºáá¬áá¬áᬠxkb',
+ description: 'Myanmar xkb keyboard layout',
+ date: '2013-02-12',
+ URL: 'http://github.com/wikimedia/jquery.ime',
+ author: 'Parag Nemade',
+ license: 'GPLv3',
+ version: '1.0',
+ patterns: [
+ ['`', '\u1050'],
+ ['\\~', '\u100e'],
+ ['1', '\u1041'],
+ ['\\!', '\u100D'],
+ ['2', '\u1042'],
+ ['\\@', '\u1052'],
+ ['3', '\u1043'],
+ ['\\#', '\u100B'],
+ ['4', '\u1044'],
+ ['\\$', '\u1053'],
+ ['5', '\u1045'],
+ ['\\%', '\u1054'],
+ ['6', '\u1046'],
+ ['\\^', '\u1055'],
+ ['7', '\u1047'],
+ ['\\&', '\u101B'],
+ ['8', '\u1048'],
+ ['\\*', '\u002A'],
+ ['9', '\u1049'],
+ ['\\(', '('],
+ ['0', '\u1040'],
+ ['\\)', ')'],
+
+ ['q', '\u1006'],
+ ['Q', '\u1008'],
+ ['w', '\u1010'],
+ ['W', '\u101D'],
+ ['e', '\u1014'],
+ ['E', '\u1023'],
+ ['r', '\u1019'],
+ ['R', '\u104E'],
+ ['t', '\u1021'],
+ ['T', '\u1024'],
+ ['y', '\u1015'],
+ ['Y', '\u104C'],
+ ['u', '\u1000'],
+ ['U', '\u1025'],
+ ['i', '\u1004'],
+ ['I', '\u104D'],
+ ['o', '\u101E'],
+ ['O', '\u103F'],
+ ['p', '\u1005'],
+ ['P', '\u100F'],
+ ['\\[', '\u101F'],
+ ['\\{', '\u1027'],
+ ['\\]', '\u1029'],
+ ['\\}', '\u102A'],
+
+ ['\\\\', '\u104F'],
+ ['\\|', '\u1051'],
+
+ ['a', '\u1031'],
+ ['A', '\u1017'],
+ ['s', '\u103B'],
+ ['S', '\u103A'],
+ ['d', '\u102D'],
+ ['D', '\u102E'],
+ ['f', '\u103A'],
+ ['F', '\u1039'],
+ ['g', '\u102B'],
+ ['G', '\u103D'],
+ ['h', '\u1037'],
+ ['H', '\u1036'],
+ ['j', '\u103C'],
+ ['J', '\u1032'],
+ ['k', '\u102F'],
+ ['K', '\u1012'],
+ ['l', '\u1030'],
+ ['L', '\u1013'],
+
+ [';', '\u1038'],
+ [':', '\u1002'],
+
+ ['\'', '\''],
+ ['\"', '"'],
+
+ ['z', '\u1016'],
+ ['Z', '\u1007'],
+ ['x', '\u1011'],
+ ['X', '\u100C'],
+ ['c', '\u1001'],
+ ['C', '\u1003'],
+ ['v', '\u101C'],
+ ['V', '\u1020'],
+ ['b', '\u1018'],
+ ['B', '\u101A'],
+ ['n', '\u100A'],
+ ['N', '\u1009'],
+ ['m', '\u102C'],
+ ['M', '\u1026'],
+
+ [',', ','],
+ ['\\<', '\u104A'],
+ ['\\.', '.'],
+ ['\\>', '\u104B'],
+ ['/', '/'],
+ ['\\?', '?']
+ ],
+ patterns_x: [
+ ['`', '`'],
+ ['\\~', '~'],
+ ['1', '1'],
+ ['\\!', '!'],
+ ['2', '2'],
+ ['\\@', '@'],
+ ['3', '3'],
+ ['\\#', '#'],
+ ['4', '4'],
+ ['\\$', '$'],
+ ['5', '5'],
+ ['\\%', '%'],
+ ['6', '6'],
+ ['\\^', '^'],
+ ['7', '7'],
+ ['\\&', '&'],
+ ['8', '8'],
+ ['\\*', '*'],
+ ['9', '9'],
+ ['\\(', '('],
+ ['0', '0'],
+ ['\\)', ')'],
+ ['\\-', '-'],
+ ['\\_', '_'],
+ ['\\=', '='],
+ ['\\+', '+'],
+
+ ['q', 'q'],
+ ['Q', 'Q'],
+ ['w', 'w'],
+ ['W', 'W'],
+ ['e', 'e'],
+ ['E', 'E'],
+ ['r', 'r'],
+ ['R', 'R'],
+ ['t', 't'],
+ ['T', 'T'],
+ ['y', 'y'],
+ ['Y', 'Y'],
+ ['u', 'u'],
+ ['U', 'U'],
+ ['i', 'i'],
+ ['I', 'I'],
+ ['o', 'o'],
+ ['O', 'O'],
+ ['p', 'p'],
+ ['P', 'P'],
+ ['a', 'a'],
+ ['S', 'S'],
+ ['s', 's'],
+ ['S', 'S'],
+ ['d', 'd'],
+ ['D', 'D'],
+ ['f', 'f'],
+ ['F', 'F'],
+ ['g', 'g'],
+ ['G', 'G'],
+ ['h', 'h'],
+ ['H', 'H'],
+ ['j', 'j'],
+ ['J', 'J'],
+ ['k', 'k'],
+ ['K', 'K'],
+ ['l', 'l'],
+ ['L', 'L'],
+ ['z', 'z'],
+ ['Z', 'Z'],
+ ['x', 'x'],
+ ['X', 'X'],
+ ['c', 'c'],
+ ['C', 'C'],
+ ['v', 'v'],
+ ['V', 'V'],
+ ['b', 'b'],
+ ['B', 'B'],
+ ['n', 'n'],
+ ['N', 'N'],
+ ['m', 'm'],
+ ['M', 'M'],
+ [',', ','],
+ ['\\<', '<'],
+ ['\\.', '.'],
+ ['\\>', '>'],
+ [';', ';'],
+ [':', ':'],
+ ['\'', '\''],
+ ['"', '"'],
+ ['\\[', '['],
+ ['\\{', '{'],
+ ['\\]', ']'],
+ ['\\}', '}'],
+ ['\\\\', '\\'],
+ ['\\|', '|']]
+ };
+
+ $.ime.register( myXkb );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/nb/nb-normforms.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/nb/nb-normforms.js
new file mode 100644
index 0000000..d11751a
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/nb/nb-normforms.js
@@ -0,0 +1,50 @@
+( function ( $ ) {
+ 'use strict';
+
+ var defs = {
+ id: 'nb-normforms',
+ name: 'Norsk normal transliterasjon',
+ description: 'Norwegian input method with most common form transliterated',
+ date: '2012-12-04',
+ URL: 'http://www.evertype.com/alphabets/bokmaal-norwegian.pdf',
+ //URL: 'http://www.evertype.com/alphabets/nynorsk-norwegian.pdf',
+ author: 'John Erling Blad',
+ license: 'GPLv3',
+ version: '1.0',
+ contextLength: 1,
+ maxKeyLength: 3,
+ patterns: [
+ // The most common transliterations
+ [ 'aa', 'Ã¥' ],
+ [ 'AA', 'Ã
' ],
+ [ 'Aa', 'Ã
' ],
+ [ 'ae', 'æ' ],
+ [ 'AE', 'Ã' ],
+ [ 'Ae', 'Ã' ],
+ [ 'oe', 'ø' ],
+ [ 'OE', 'Ã' ],
+ [ 'Oe', 'Ã' ],
+ // The previous as negated transliterations, mostly for names
+ [ 'Ã¥a', 'a', 'aa' ],
+ [ 'Ã
A', 'A', 'AA' ],
+ [ 'Ã
a', 'A', 'Aa' ],
+ [ 'Ã¥A', 'a', 'aA' ],
+ [ 'æe', 'e', 'ae' ],
+ [ 'ÃE', 'E', 'AE' ],
+ [ 'Ãe', 'E', 'Ae' ],
+ [ 'æE', 'e', 'aE' ],
+ [ 'øe', 'e', 'oe' ],
+ [ 'ÃE', 'E', 'OE' ],
+ [ 'Ãe', 'E', 'Oe' ], // this fails for some names like "Ãen"
+ [ 'øE', 'e', 'oE' ]
+ // historically similar forms
+ // "Ã
" is sometimes written as "Aa", and "Ã¥" as "aa", but in names
+ // it is not generally acceptable to use this transliteration. To
+ // handle those situations we need some oposite forms.
+ // There is a similar character "Ã
" for the length unit Angstrom,
+ // but this is not the upper case letter Ã
.
+ ]
+ };
+
+ $.ime.register( defs );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/nb/nb-tildeforms.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/nb/nb-tildeforms.js
new file mode 100644
index 0000000..83bdd18
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/nb/nb-tildeforms.js
@@ -0,0 +1,35 @@
+( function ( $ ) {
+ 'use strict';
+
+ var defs = {
+ id: 'nb-tildeforms',
+ name: 'Norsk tildemerket transliterasjon',
+ description: 'Norwegian input method with initial tilde triggering transliteration',
+ date: '2012-12-04',
+ URL: 'http://www.evertype.com/alphabets/bokmaal-norwegian.pdf',
+ //URL: 'http://www.evertype.com/alphabets/nynorsk-norwegian.pdf',
+ author: 'John Erling Blad',
+ license: 'GPLv3',
+ version: '1.0',
+ //contextLength: 1,
+ maxKeyLength: 3,
+ patterns: [
+ // Uses "~" as "approximatly similar to"
+ [ '°a', 'å' ], // The simple ~a does not work as there is a "ã"
+ [ '°A', 'Ã
' ], // The simple ~A does not work as there is a "Ã"
+ [ '~ae', 'æ' ], // The simple ~a does not work as there is a "ã"
+ [ '~AE', 'Ã' ], // The simple ~A does not work as there is a "Ã"
+ [ '~oe', 'ø' ], // The simple ~o does not work as there is a "õ"
+ [ '~OE', 'Ã' ], // The simple ~O does not work as there is a "Ã"
+ [ '~aa', 'å' ], // The simple ~a does not work as there is a "ã"
+ [ '~AA', 'Ã
' ] // The simple ~A does not work as there is a "Ã"
+ // historically similar forms
+ // "Ã
" is sometimes written as "Aa", and "Ã¥" as "aa", but in names
+ // it is not generally acceptable to use this transliteration.
+ // There is a similar character "Ã
" for the length unit Angstrom,
+ // but this is not the upper case letter Ã
.
+ ]
+ };
+
+ $.ime.register( defs );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ne/ne-inscript.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ne/ne-inscript.js
new file mode 100644
index 0000000..80a4af4
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ne/ne-inscript.js
@@ -0,0 +1,113 @@
+( function ( $ ) {
+ 'use strict';
+
+ var neInScript = {
+ id: 'ne-inscript',
+ name: 'à¤à¤¨à¤¸à¥à¤à¥à¤°à¤¿à¤ªà¥à¤',
+ description: 'InScript keyboard for Nepali script',
+ date: '2012-10-14',
+ author: 'Bhawani Gautam',
+ license: 'GPLv3',
+ version: '1.0',
+ patterns: [
+ ['X', 'à¤'],
+ ['x', 'à¤'],
+ ['_', 'à¤'],
+ ['D', 'à¤
'],
+ ['E', 'à¤'],
+ ['F', 'à¤'],
+ ['R', 'à¤'],
+ ['G', 'à¤'],
+ ['T', 'à¤'],
+ ['\\+', 'à¥'],
+ ['S', 'à¤'],
+ ['W', 'à¤'],
+ ['A', 'à¤'],
+ ['Q', 'à¤'],
+ ['k', 'à¤'],
+ ['K', 'à¤'],
+ ['i', 'à¤'],
+ ['I', 'à¤'],
+ ['U', 'à¤'],
+ ['\\;', 'à¤'],
+ ['\\:', 'à¤'],
+ ['p', 'à¤'],
+ ['P', 'à¤'],
+ ['\\}', 'à¤'],
+ ['\'', 'à¤'],
+ ['"', 'ठ'],
+ ['\\[', '','ड'],
+ ['\\{', '','ढ'],
+ ['C', 'ण'],
+ ['l', 'त'],
+ ['L', 'थ'],
+ ['o', 'द'],
+ ['O', 'ध'],
+ ['v', 'न'],
+ ['h', 'प'],
+ ['H', 'फ'],
+ ['y', 'ब'],
+ ['Y', 'à¤'],
+ ['c', 'म'],
+ ['\\?', '','य'],
+ ['j', 'र'],
+ ['J', 'दà¥à¤¯'],
+ ['n', 'ल'],
+ ['N', 'ळ'],
+ ['b', 'व'],
+ ['M', 'श'],
+ ['\\<', '','ष'],
+ ['m', 'स'],
+ ['u', 'ह'],
+ ['\\]', '','़'],
+ ['e', 'ा'],
+ ['f', 'ि'],
+ ['r', 'à¥'],
+ ['g', 'à¥'],
+ ['t', 'à¥'],
+ ['\\=', '','à¥'],
+ ['\\\\', 'à¥'],
+ ['s', 'à¥'],
+ ['w', 'à¥'],
+ ['a', 'à¥'],
+ ['q', 'à¥'],
+ ['d', 'à¥'],
+ ['\\|', 'ॠ'],
+ ['/', 'य'],
+ ['\\>', '।'],
+ ['0', '','०'],
+ ['1', '','१'],
+ ['2', '२'],
+ ['3', '३'],
+ ['4', '४'],
+ ['5', '५'],
+ ['6', '६'],
+ ['7', 'à¥'],
+ ['8', '८'],
+ ['9', '९'],
+ ['\\@', 'à¥
'],
+ ['\\#', '','à¥à¤°'],
+ ['\\$', '','रà¥'],
+ ['\\%', '','à¤à¥à¤'],
+ ['\\^', '','तà¥à¤°'],
+ ['\\&', 'à¤à¥à¤·'],
+ ['\\*', 'शà¥à¤°'],
+ ['\\(', '\u200D'],
+ ['\\)', '\u200C'] ],
+
+ patterns_x: [
+ ['F', 'à¤'],
+ ['\\>', '','ऽ'],
+ ['X', 'à¥'],
+ ['e', '\u0951'],
+ ['d', '\u0952'],
+ ['R', 'ॡ'],
+ ['f', 'ॢ'],
+ ['r', 'ॣ'],
+ ['\\.', '॥'],
+ ['\\@', '','à¥
'],
+ ['4', 'â¹']]
+ };
+
+ $.ime.register( neInScript );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ne/ne-inscript2.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ne/ne-inscript2.js
new file mode 100644
index 0000000..1d1d021
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ne/ne-inscript2.js
@@ -0,0 +1,116 @@
+( function ( $ ) {
+ 'use strict';
+
+ var neInScript2 = {
+ id: 'ne-inscript2',
+ name: 'नà¥à¤ªà¤¾à¤³à¥ à¤à¤¨à¤¸à¥à¤à¥à¤°à¤¿à¤ªà¥à¤ २',
+ description: 'Enhanced InScript keyboard for Nepali language',
+ date: '2012-11-06',
+ author: 'Parag Nemade',
+ license: 'GPLv3',
+ version: '1.0',
+ patterns: [
+ ['1', '१'],
+ ['2', '२'],
+ ['\\#', 'à¥à¤°'],
+ ['3', '३'],
+ ['\\$', 'रà¥'],
+ ['4', '४'],
+ ['5', '५'],
+ ['6', '६'],
+ ['7', 'à¥'],
+ ['8', '८'],
+ ['\\(', '('],
+ ['9', '९'],
+ ['\\]', ']'],
+ ['0', '०'],
+ ['\\_', 'à¤'],
+ ['\\-', '-'],
+ ['\\+', 'à¤'],
+ ['\\=', 'à¥'],
+ ['Q', 'à¤'],
+ ['q', 'à¥'],
+ ['W', 'à¤'],
+ ['w', 'à¥'],
+ ['E', 'à¤'],
+ ['e', 'ा'],
+ ['R', 'à¤'],
+ ['r', 'à¥'],
+ ['T', 'à¤'],
+ ['t', 'à¥'],
+ ['Y', 'à¤'],
+ ['y', 'ब'],
+ ['U', 'à¤'],
+ ['u', 'ह'],
+ ['I', 'à¤'],
+ ['i', 'à¤'],
+ ['O', 'ध'],
+ ['o', 'द'],
+ ['P', 'à¤'],
+ ['p', 'à¤'],
+ ['\\{', 'ढ'],
+ ['\\[', 'ड'],
+ ['\\}', 'à¤'],
+ ['\\]', '़'],
+ ['A', 'à¤'],
+ ['a', 'à¥'],
+ ['S', 'à¤'],
+ ['s', 'à¥'],
+ ['D', 'à¤
'],
+ ['d', 'à¥'],
+ ['F', 'à¤'],
+ ['f', 'ि'],
+ ['G', 'à¤'],
+ ['g', 'à¥'],
+ ['H', 'फ'],
+ ['h', 'प'],
+ ['J', 'ऱ'],
+ ['j', 'र'],
+ ['K', 'à¤'],
+ ['k', 'à¤'],
+ ['L', 'थ'],
+ ['l', 'त'],
+ [':', 'à¤'],
+ [';', 'à¤'],
+ ['"', 'ठ'],
+ ['\\\'', 'à¤'],
+ ['X', 'à¤'],
+ ['x', 'à¤'],
+ ['C', 'ण'],
+ ['c', 'म'],
+ ['v', 'न'],
+ ['b', 'व'],
+ ['N', 'ळ'],
+ ['n', 'ल'],
+ ['M', 'श'],
+ ['m', 'स'],
+ ['\\<', 'ष'],
+ [',', ','],
+ ['\\>', '।'],
+ ['\\.', '.'],
+ ['/', 'य'],
+ ['\\%', 'à¤à¥à¤'],
+ ['\\^', 'तà¥à¤°'],
+ ['\\&', 'à¤à¥à¤·'],
+ ['\\*', 'शà¥à¤°']],
+ patterns_x: [
+ ['1', '\u200d'],
+ ['2', '\u200c'],
+ ['4', 'â¹'],
+ ['\\+', 'ॠ'],
+ ['\\=', 'à¥'],
+ ['e', 'à¥'],
+ ['R', 'ॡ'],
+ ['r', 'ॣ'],
+ ['d', 'à¥'],
+ ['F', 'à¤'],
+ ['f', 'ॢ'],
+ ['X', 'à¥'],
+ ['x', 'ॱ'],
+ [',', '॰'],
+ ['\\>', 'ऽ'],
+ ['\\.', '॥']]
+ };
+
+ $.ime.register( neInScript2 );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ne/ne-rom.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ne/ne-rom.js
new file mode 100644
index 0000000..f169dd3
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ne/ne-rom.js
@@ -0,0 +1,106 @@
+( function ( $ ) {
+ 'use strict';
+
+ var neRom = {
+ id: 'ne-rom',
+ name: 'Nepali Romanized',
+ description: 'Nepali Romanized keyboard layout',
+ date: '2013-02-12',
+ author: 'Parag Nemade',
+ license: 'GPLv3',
+ version: '1.0',
+ patterns: [
+ ['\\!', '!'],
+ ['\"', '"'],
+ ['\\#', '#'],
+ ['\\$', 'रà¥'],
+ ['\'', '\''],
+ ['\\(', '('],
+ ['\\)', ')'],
+ ['\\+', '+'],
+ [',', ','],
+ ['\\-', '-'],
+ ['\\.', '।'],
+ ['/', 'à¥'],
+ ['0', '०'],
+ ['1', '१'],
+ ['2', '२'],
+ ['3', '३'],
+ ['4', '४'],
+ ['5', '५'],
+ ['6', '६'],
+ ['7', 'à¥'],
+ ['8', '८'],
+ ['9', '९'],
+ [':', ':'],
+ [';', ';'],
+ ['\\<', 'à¤'],
+ ['\\=', '='],
+ ['\\>', '॥'],
+ ['\\?', '?'],
+ ['\\@', '@'],
+ ['A', 'à¤'],
+ ['B', 'à¤'],
+ ['C', 'à¤'],
+ ['D', 'ध'],
+ ['E', 'à¥'],
+ ['F', 'à¤'],
+ ['G', 'à¤'],
+ ['H', 'à¤
'],
+ ['I', 'à¥'],
+ ['J', 'à¤'],
+ ['K', 'à¤'],
+ ['L', 'ळ'],
+ ['M', 'à¤'],
+ ['N', 'ण'],
+ ['O', 'à¤'],
+ ['P', 'फ'],
+ ['Q', 'ठ'],
+ ['R', 'à¥'],
+ ['S', 'श'],
+ ['T', 'थ'],
+ ['U', 'à¥'],
+ ['V', 'à¤'],
+ ['W', 'à¤'],
+ ['X', 'ढ'],
+ ['Y', 'à¤'],
+ ['Z', 'à¤'],
+ ['\\[', 'à¤'],
+ ['\\\\', 'à¥'],
+ ['\\]', 'à¤'],
+ ['\\_', '_'],
+ ['`', '़'],
+ ['a', 'ा'],
+ ['b', 'ब'],
+ ['c', 'à¤'],
+ ['d', 'द'],
+ ['e', 'à¥'],
+ ['f', 'à¤'],
+ ['g', 'à¤'],
+ ['h', 'ह'],
+ ['i', 'ि'],
+ ['j', 'à¤'],
+ ['k', 'à¤'],
+ ['l', 'ल'],
+ ['m', 'म'],
+ ['n', 'न'],
+ ['o', 'à¥'],
+ ['p', 'प'],
+ ['q', 'à¤'],
+ ['r', 'र'],
+ ['s', 'स'],
+ ['t', 'त'],
+ ['u', 'à¥'],
+ ['v', 'व'],
+ ['w', 'à¥'],
+ ['x', 'ड'],
+ ['y', 'य'],
+ ['z', 'ष'],
+ ['\\{', 'à¤'],
+ ['\\|', 'à¤'],
+ ['\\}', 'à¤'],
+ ['\\~', 'ऽ']]
+ };
+
+ $.ime.register( neRom );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ne/ne-trad.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ne/ne-trad.js
new file mode 100644
index 0000000..76af9ea
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ne/ne-trad.js
@@ -0,0 +1,106 @@
+( function ( $ ) {
+ 'use strict';
+
+ var neTrad = {
+ id: 'ne-trad',
+ name: 'Nepali Traditional',
+ description: 'Nepali Traditional keyboard layout',
+ date: '2013-02-12',
+ author: 'Parag Nemade',
+ license: 'GPLv3',
+ version: '1.0',
+ patterns: [
+ ['\"', 'à¥'],
+ ['\\#', 'à¤'],
+ ['\'', 'à¥'],
+ ['\\(', 'ढ'],
+ ['\\)', 'ण'],
+ ['\\+', 'à¤'],
+ [',', 'ऽ'],
+ ['\\-', 'à¤'],
+ ['\\.', '।'],
+ ['/', 'र'],
+ ['0', '०'],
+ ['1', '१'],
+ ['2', '२'],
+ ['3', '३'],
+ ['4', '४'],
+ ['5', '५'],
+ ['6', '६'],
+ ['7', 'à¥'],
+ ['8', '८'],
+ ['9', '९'],
+ [';', 'स'],
+ ['\\<', 'à¤'],
+ ['\\=', '='],
+ ['\\?', 'रà¥'],
+ ['\\@', 'à¤'],
+ ['A', 'à¤'],
+ ['B', 'à¥'],
+ ['C', 'à¤'],
+ ['E', 'à¤'],
+ ['F', 'à¤'],
+ ['H', 'à¤'],
+ ['J', 'à¥'],
+ ['K', 'फ'],
+ ['L', 'à¥'],
+ ['O', 'à¤'],
+ ['P', 'à¤'],
+ ['U', 'à¤'],
+ ['V', 'à¥'],
+ ['\\\\', 'à¥'],
+ ['\\]', 'à¥'],
+ ['\\_', 'à¤'],
+ ['`', 'à¤'],
+ ['a', 'ब'],
+ ['b', 'द'],
+ ['c', 'à¤
'],
+ ['d', 'म'],
+ ['e', 'à¤'],
+ ['f', 'ा'],
+ ['g', 'न'],
+ ['h', 'à¤'],
+ ['i', 'ष'],
+ ['j', 'व'],
+ ['k', 'प'],
+ ['l', 'ि'],
+ ['m', 'à¤'],
+ ['n', 'ल'],
+ ['o', 'य'],
+ ['p', 'à¤'],
+ ['r', 'à¤'],
+ ['s', 'à¤'],
+ ['t', 'त'],
+ ['u', 'à¤'],
+ ['v', 'à¤'],
+ ['w', 'ध'],
+ ['x', 'ह'],
+ ['y', 'थ'],
+ ['z', 'श'],
+ ['\\{', 'à¥'],
+ ['\\|', '|'],
+ ['\\}', 'à¥'],
+ ['\\~', '॥'],
+ ['\\!', 'à¤à¥à¤'],
+ ['\\$', 'दà¥à¤§'],
+ [':', 'à¤à¥à¤ '],
+ ['\\>', 'शà¥à¤°'],
+ ['D', 'à¤à¥à¤'],
+ ['G', 'दà¥à¤¦'],
+ ['I', 'à¤à¥à¤·'],
+ ['M', 'डà¥à¤¡'],
+ ['N', 'दà¥à¤¯'],
+ ['Q', 'तà¥à¤¤'],
+ ['R', 'दà¥à¤¬'],
+ ['S', 'à¤à¥à¤'],
+ ['T', 'à¤à¥à¤'],
+ ['W', 'डà¥à¤¢'],
+ ['X', 'हà¥à¤¯'],
+ ['Y', 'ठà¥à¤ '],
+ ['Z', 'à¤à¥à¤'],
+ ['\\[', 'रà¥'],
+ ['q', 'तà¥à¤°']]
+ };
+
+ $.ime.register( neTrad );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ne/ne-transliteration.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ne/ne-transliteration.js
new file mode 100644
index 0000000..3c08b10
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ne/ne-transliteration.js
@@ -0,0 +1,165 @@
+( function ( $ ) {
+ 'use strict';
+
+ var neTransliteration = {
+ id: 'ne-transliteration',
+ name: 'लिपà¥à¤¯à¤à¤¤à¤°à¤£',
+ description: 'Nepali transliteration',
+ date: '2012-10-14',
+ URL: 'http://github.com/wikimedia/jquery.ime',
+ author: 'Junaid P V ([[user:Junaidpv]]) and Bhawani Gautam ([[user:Bhawani Gautam]])',
+ license: 'GPLv3',
+ version: '1.0',
+ contextLength: 4,
+ maxKeyLength: 1,
+ patterns: [
+ ['à¤à¥h','c','à¤à¥'],
+ ['\\\\([A-Za-z\\>_~\\.0-9])','\\\\','$1'],
+
+ ['([à¤-ह]़?)à¥a','$1'],
+ ['([à¤-ह]़?)à¥A','$1ा'],
+ ['([à¤-ह]़?)a','$1ा'],
+ ['([à¤-ह]़?)à¥i','$1ि'],
+ ['([à¤-ह]़?)(à¥I|िi|à¥e)','$1à¥'],
+ ['([à¤-ह]़?)à¥u','$1à¥'],
+ ['([à¤-ह]़?)(à¥u|à¥U|à¥o)','$1à¥'],
+ ['([à¤-ह]़?)à¥R','$1à¥'],
+ ['([à¤-ह]़?)à¥R','$1à¥'],
+ ['([à¤-ह]़?)à¥à¤³à¥l','$1ॢ'],
+ ['([à¤-ह]़?)ॢl','$1ॣ'],
+ ['([à¤-ह]़?)à¥\\^','$1à¥
'],
+ ['([à¤-ह]़?)à¥e','$1à¥'],
+ ['([à¤-ह]़?)à¥E','$1à¥'],
+ ['([à¤-ह]़?)à¥\\^','$1à¥'],
+ ['([à¤-ह]़?)i','$1à¥'],
+ ['([à¤-ह]़?)à¥o','$1à¥'],
+ ['([à¤-ह]़?)à¥O','$1à¥'],
+ ['([à¤-ह]़?)u','$1à¥'],
+ ['([à¤-ह]़?)à¥a','$1à¥à¤±'],
+ ['([à¤-ह]़?)à¥A','$1à¥à¤±à¤¾'],
+ ['([à¤-ह]़?)à¥i','$1à¥à¤±à¤¿'],
+ ['([à¤-ह]़?)à¥I','$1à¥à¤±à¥'],
+ ['([à¤-ह]़?)à¥u','$1à¥à¤±à¥'],
+ ['([à¤-ह]़?)à¥U','$1à¥à¤±à¥'],
+ ['([à¤-ह]़?)à¥\\^','$1à¥à¤±à¥
'],
+ ['([à¤-ह]़?)à¥e','$1à¥à¤±à¥'],
+ ['([à¤-ह]़?)à¥E','$1à¥à¤±à¥'],
+ ['([à¤-ह]़?)à¥o','$1à¥à¤±à¥'],
+ ['([à¤-ह]़?)à¥O','$1à¥à¤±à¥'],
+ ['([à¤-ह]़?)à¥\\~','$1à¥à¤±à¥'],
+ ['([à¤-ह])à¥\\`','$1़à¥'],
+
+ ['à¤
a','à¤'],
+ ['(à¤o|à¤u)','à¤'],
+ ['à¤\\^','à¤'],
+ ['à¤
i','à¤'],
+ ['à¤
\\^','à¤
'],
+ ['(à¤i|à¤e)','à¤'],
+ ['à¤\\^','à¤'],
+ ['à¤
u','à¤'],
+ ['रà¥à¤°à¥r','\u0930\u094D\u200D'],
+ ['ड़à¥h','ढà¥'],
+ ['à¤R','ॠ'],
+ ['ळà¥l','à¤'],
+ ['à¤l','ॡ'],
+ ['à¤\\^','à¤'],
+ ['à¤M','à¤'],
+ ['à¤M','à¥'],
+ ['डà¥D','डà¥'],
+ ['à¤à¥h','à¤à¥'],
+ ['à¤à¥h','à¤à¥'],
+ ['G','à¤à¥'],
+ ['à¤à¥h','à¤à¥'],
+ ['à¤à¥h','à¤à¥'],
+ ['नà¥j','à¤à¥'],
+ ['à¤à¥h','ठà¥'],
+ ['डà¥h','ढà¥'],
+ ['तà¥h','थà¥'],
+ ['दà¥h','धà¥'],
+ ['पà¥h','फà¥'],
+ ['बà¥h','à¤à¥'],
+ ['à¤a','र'],
+ ['à¤A','रा'],
+ ['à¤i','रि'],
+ ['à¤I','रà¥'],
+ ['à¤u','रà¥'],
+ ['à¤U','रà¥'],
+ ['à¤\\^','à¤'],
+ ['à¤e','रà¥'],
+ ['à¤E','रà¥'],
+ ['à¤o','रà¥'],
+ ['à¤O','रà¥'],
+ ['à¤\\~','रà¥'],
+
+ ['सà¥h','शà¥'],
+ ['शà¥h','षà¥'],
+ ['à¤à¤¼à¥h','à¤à¥'],
+ ['à¤à¤¼à¥h','ऴà¥'],
+ ['।\\.','॥'],
+
+ ['a','à¤
'],
+ ['b','बà¥'],
+ ['c','à¤à¥'],
+ ['d','दà¥'],
+ ['e','à¤'],
+ ['(f|F)','फà¥'],
+ ['g','à¤à¥'],
+ ['h','हà¥'],
+ ['i','à¤'],
+ ['j','à¤à¥'],
+ ['k','à¤à¥'],
+ ['l','लà¥'],
+ ['m','मà¥'],
+ ['n','नà¥'],
+ ['o','à¤'],
+ ['p','पà¥'],
+ ['q','à¤à¤¼à¥'],
+ ['r','रà¥'],
+ ['s','सà¥'],
+ ['t','तà¥'],
+ ['u','à¤'],
+ ['v','à¤à¥'],
+ ['w','वà¥'],
+ ['x','à¤à¥à¤·à¥'],
+ ['y','यà¥'],
+ ['(z|Z)','à¤à¤¼à¥'],
+ ['A','à¤'],
+ ['B','बà¥à¤¬à¥'],
+ ['C','à¤à¥à¤à¥'],
+ ['D','डà¥'],
+ ['E','à¤'],
+ ['H','à¤'],
+ ['I','à¤'],
+ ['J','à¤à¥à¤à¥'],
+ ['K','à¤à¥à¤à¥'],
+ ['L','ळà¥'],
+ ['M','à¤'],
+ ['N','णà¥'],
+ ['O','à¤'],
+ ['P','पà¥à¤ªà¥'],
+ ['Q','à¤
'],
+ ['R','à¤'],
+ ['S','शà¥'],
+ ['T','à¤à¥'],
+ ['U','à¤'],
+ ['V','à¤à¥'],
+ ['W','à¤'],
+ ['X','à¤à¥à¤·à¥'],
+ ['Y','यà¥à¤¯à¥'],
+ ['0','०'],
+ ['1','१'],
+ ['2','२'],
+ ['3','३'],
+ ['4','४'],
+ ['5','५'],
+ ['6','६'],
+ ['7','à¥'],
+ ['8','८'],
+ ['9','९'],
+ ['\\.','।'],
+ ['//','ऽ'],
+ ['\\`','à¥']]
+ };
+
+ $.ime.register( neTransliteration );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/or/or-inscript.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/or/or-inscript.js
new file mode 100644
index 0000000..0ea6f80
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/or/or-inscript.js
@@ -0,0 +1,106 @@
+( function ( $ ) {
+ 'use strict';
+
+ var orInScript = {
+ id: 'or-inscript',
+ name: 'à¬à¬¨à¬¸àà¬àରିପàà¬',
+ description: 'InScript keyboard for Odia script',
+ date: '2012-10-14',
+ author: 'Junaid P V',
+ license: 'GPLv3',
+ version: '1.0',
+ patterns: [
+ ['X', '\u0B01'],
+ ['x', '\u0B02'],
+ ['_', '\u0B03'],
+ ['D', '\u0B05'],
+ ['E', '\u0B06'],
+ ['F', '\u0B07'],
+ ['R', '\u0B08'],
+ ['G', '\u0B09'],
+ ['T', '\u0B0A'],
+ ['\\+', '\u0B0B'],
+ ['S', '\u0B0F'],
+ ['W', '\u0B10'],
+ ['A', '\u0B13'],
+ ['Q', '\u0B14'],
+ ['k', '\u0B15'],
+ ['K', '\u0B16'],
+ ['i', '\u0B17'],
+ ['I', '\u0B18'],
+ ['U', '\u0B19'],
+ [';', '\u0B1A'],
+ ['\\:', '\u0B1B'],
+ ['p', '\u0B1C'],
+ ['P', '\u0B1D'],
+ ['\\}', '\u0B1E'],
+ ['\'', '\u0B1F'],
+ ['"', '\u0B20'],
+ ['\\[', '\u0B21'],
+ ['\\{', '\u0B22'],
+ ['C', '\u0B23'],
+ ['l', '\u0B24'],
+ ['L', '\u0B25'],
+ ['o', '\u0B26'],
+ ['O', '\u0B27'],
+ ['v', '\u0B28'],
+ ['h', '\u0B2A'],
+ ['H', '\u0B2B'],
+ ['y', '\u0B2C'],
+ ['Y', '\u0B2D'],
+ ['c', '\u0B2E'],
+ ['\\?', '\u0B2F'],
+ ['j', '\u0B30'],
+ ['n', '\u0B32'],
+ ['N', '\u0B33'],
+ ['M', '\u0B36'],
+ ['\\<', '\u0B37'],
+ ['m', '\u0B38'],
+ ['u', '\u0B39'],
+ ['\\]', '\u0B3C'],
+ ['e', '\u0B3E'],
+ ['f', '\u0B3F'],
+ ['r', '\u0B40'],
+ ['g', '\u0B41'],
+ ['t', '\u0B42'],
+ ['\\=', '\u0B43'],
+ ['s', '\u0B47'],
+ ['w', '\u0B48'],
+ ['a', '\u0B4B'],
+ ['q', '\u0B4C'],
+ ['d', '\u0B4D'],
+ ['/', '\u0B5F'],
+ ['\\>', '\u0B64'],
+ ['0', '\u0B66'],
+ ['1', '\u0B67'],
+ ['2', '\u0B68'],
+ ['3', '\u0B69'],
+ ['4', '\u0B6A'],
+ ['5', '\u0B6B'],
+ ['6', '\u0B6C'],
+ ['7', '\u0B6D'],
+ ['8', '\u0B6E'],
+ ['9', '\u0B6F'],
+ ['b', '\u0B71'],
+ ['\\(', '\u200D'],
+ ['\\)', '\u200C']],
+
+ patterns_x: [
+ ['F', '\u0B0C'],
+ ['b', '\u0B35'],
+ ['\\>', '\u0B3D'],
+ ['\\=', '\u0B44'],
+ ['\\[', '\u0B5C'],
+ ['\\{', '\u0B5D'],
+ ['\\+', '\u0B60'],
+ ['R', '\u0B61'],
+ ['f', '\u0B62'],
+ ['r', '\u0B63'],
+ ['\\.', '\u0B65'],
+ ['x', '\u0B70'],
+ ['\\$', '\u20B9']]
+
+ };
+
+ $.ime.register( orInScript );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/or/or-inscript2.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/or/or-inscript2.js
new file mode 100644
index 0000000..fcc2fec
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/or/or-inscript2.js
@@ -0,0 +1,116 @@
+( function ( $ ) {
+ 'use strict';
+
+ var orInScript2 = {
+ id: 'or-inscript2',
+ name: 'à¬à¬¨à¬¸àà¬àରିପàà¬2',
+ description: 'Enhanced InScript keyboard for Odia language',
+ date: '2013-02-09',
+ author: 'Parag Nemade',
+ license: 'GPLv3',
+ version: '1.0',
+ patterns: [
+ ['1', 'à§'],
+ ['2', 'à¨'],
+ ['\\#', 'àର'],
+ ['3', 'à©'],
+ ['\\$', 'ରà'],
+ ['4', 'àª'],
+ ['5', 'à«'],
+ ['6', 'à¬'],
+ ['7', 'à'],
+ ['8', 'à®'],
+ ['\\(', '('],
+ ['9', 'à¯'],
+ ['\\)', ')'],
+ ['0', 'à¦'],
+ ['\\_', 'à¬'],
+ ['\\-', '-'],
+ ['\\+', 'à¬'],
+ ['\\=', 'à'],
+ ['Q', 'à¬'],
+ ['q', 'à'],
+ ['W', 'à¬'],
+ ['w', 'à'],
+ ['E', 'à¬'],
+ ['e', 'ା'],
+ ['R', 'à¬'],
+ ['r', 'à'],
+ ['T', 'à¬'],
+ ['t', 'à'],
+ ['Y', 'à¬'],
+ ['y', 'ବ'],
+ ['U', 'à¬'],
+ ['u', 'ହ'],
+ ['I', 'à¬'],
+ ['i', 'à¬'],
+ ['O', 'ଧ'],
+ ['o', 'ଦ'],
+ ['P', 'à¬'],
+ ['p', 'à¬'],
+ ['\\{', 'ଢ'],
+ ['\\[', 'ଡ'],
+ ['\\}', 'à¬'],
+ ['\\]', '଼'],
+ ['A', 'à¬'],
+ ['a', 'à'],
+ ['S', 'à¬'],
+ ['s', 'à'],
+ ['D', 'à¬
'],
+ ['d', 'à'],
+ ['F', 'à¬'],
+ ['f', 'ି'],
+ ['G', 'à¬'],
+ ['g', 'à'],
+ ['H', 'ଫ'],
+ ['h', 'ପ'],
+ ['j', 'ର'],
+ ['K', 'à¬'],
+ ['k', 'à¬'],
+ ['L', 'ଥ'],
+ ['l', 'ତ'],
+ [':', 'à¬'],
+ [';', 'à¬'],
+ ['\"', 'ଠ'],
+ ['\'', 'à¬'],
+ ['X', 'à¬'],
+ ['x', 'à¬'],
+ ['C', 'ଣ'],
+ ['c', 'ମ'],
+ ['v', 'ନ'],
+ ['b', 'à±'],
+ ['N', 'ଳ'],
+ ['n', 'ଲ'],
+ ['M', 'ଶ'],
+ ['m', 'ସ'],
+ ['\\<', 'ଷ'],
+ [',', ','],
+ ['\\>', '।'],
+ ['\\.', '.'],
+ ['\\?', 'ଯ'],
+ ['/', 'à'],
+ ['\\%', 'à¬àà¬'],
+ ['\\^', 'ତàର'],
+ ['\\&', 'à¬àଷ'],
+ ['\\*', 'ଶàର']
+ ],
+ patterns_x: [
+ ['1', '\u200d'],
+ ['2', '\u200c'],
+ ['4', 'â¹'],
+ ['\\+', 'à '],
+ ['\\=', 'à'],
+ ['R', 'à¡'],
+ ['r', 'à£'],
+ ['\\{', 'à'],
+ ['\\[', 'à'],
+ ['F', 'à¬'],
+ ['f', 'à¢'],
+ ['b', 'ଵ'],
+ ['\\>', 'ଽ'],
+ ['\\.', '॥'],
+ ['x', 'à°']]
+ };
+
+ $.ime.register( orInScript2 );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/or/or-lekhani.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/or/or-lekhani.js
new file mode 100644
index 0000000..eb36675
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/or/or-lekhani.js
@@ -0,0 +1,175 @@
+( function ( $ ) {
+ 'use strict';
+
+ var orLekhani = {
+ id: 'or-lekhani',
+ name: 'ଫàନàà¬à¬¿à¬',
+ description: 'Odia Lekhani phonetic input method',
+ date: '2012-10-14',
+ URL: 'http://github.com/wikimedia/jquery.ime',
+ author: 'Junaid P V and Subhashish Panigrahi',
+ license: 'GPLv3',
+ version: '1.0',
+ contextLength: 4,
+ maxKeyLength: 2,
+ patterns: [
+ ['\\\\([A-Za-z\\>_~\\.0-9])', '\\\\', '$1'],
+
+ ['([(à¬-ହàà±à¬¡à¬¼à¬¢à¬¼à¬àà¬à¬àà¬à¬àà¬à¬àà¬à¬àà¬à¬àà¬à¬àà¬à¬£àà¬à¬£àଠଣàଡଣàଢନàତନàଥନàଦନàଧମàପମàଫମàବମàà¬à¬àà¬])a', '$1ା'],
+ ['([à¬-ଳଲନàଧଥଡ଼ଢ଼ହàà±à¬°à¬àଷଶସଷà¬àà¬à¬àà¬à¬àà¬à¬àà¬à¬àà¬à¬àà¬à¬àà¬à¬£àà¬à¬£àଠଣàଡଣàଢନàତନàଥନàଦନàଧମàପମàଫମàବମàà¬à¬àà¬])i', '$1\u0b3f'],
+ ['([à¬-ହàà±à¬¡à¬¼à¬¢à¬¼à¬àà¬à¬àà¬à¬àà¬à¬àà¬à¬àà¬à¬àà¬à¬àà¬à¬£àà¬à¬£àଠଣàଡଣàଢନàତନàଥନàଦନàଧମàପମàଫମàବମàà¬à¬à])I', '$1à'],
+ ['([à¬-ହàà±à¬¡à¬¼à¬¢à¬¼à¬àà¬à¬àà¬à¬àà¬à¬àà¬à¬àà¬à¬àà¬à¬àà¬à¬£àà¬à¬£àଠଣàଡଣàଢନàତନàଥନàଦନàଧମàପମàଫମàବମàà¬à¬à])u', '$1\u0b41'],
+ ['([à¬-ହàà±])(U|\u0b41u)', '$1\u0b42'],
+ ['([à¬-ହàà±])R', '$1\u0b43'],
+ ['([à¬-ହàà±])\u0b43R', '$1\u0b44'],
+ ['([à¬-ହàà±])àଳàl', '$1à¢'],
+ ['([à¬-ହàà±])à¢l', '$1à£'],
+ ['([à¬-ହàà±à¬¡à¬¼à¬¢à¬¼à¬àà¬à¬àà¬à¬àà¬à¬àà¬à¬àà¬à¬àà¬à¬àà¬à¬£àà¬à¬£àଠଣàଡଣàଢନàତନàଥନàଦନàଧମàପମàଫମàବମàà¬à¬à])e', '$1à'],
+ ['([à¬-ହàà±à¬¡à¬¼à¬¢à¬¼à¬àà¬à¬àà¬à¬àà¬à¬àà¬à¬àà¬à¬àà¬à¬àà¬à¬£àà¬à¬£àଠଣàଡଣàଢନàତନàଥନàଦନàଧମàପମàଫମàବମàà¬à¬à])o', '$1à'],
+ ['([à¬-ହàà±à¬¡à¬¼à¬¢à¬¼à¬àà¬à¬àà¬à¬àà¬à¬àà¬à¬àà¬à¬àà¬à¬àà¬à¬£àà¬à¬£àଠଣàଡଣàଢନàତନàଥନàଦନàଧମàପମàଫମàବମàà¬à¬à])(ାu|àu)', '$1à'],
+ ['([à¬-ହàà±])E', '$1\u0B48'],
+ ['([à¬-ହàà±])(w|v)', '$1àà±'],
+ ['([à¬-ହàà±])~', '$1\u200C'],
+
+ ['([à¬-ହàà±])y', '$1àà'], // <consonant>y
+
+ ['z', 'à'], // halanta
+ ['\\.', '।'], //purnacheda
+ ['à¬
a', 'à¬'],
+ ['à¬e', 'à¬'],
+ ['(à¬
u|à¬o|à¬O)', 'à¬'],
+ ['à¬R', 'à '], // RR
+ ['ଳl', 'à¬'], // Ll
+ ['à¬l', 'à¡'], // Lll
+ ['à¬àà¬h', 'à¬àà¬'], // nch
+ ['à¬àà¬h', 'à¬àà¬'], // njh
+ ['à¬àà¬h', 'à¬àà¬'], // nkh
+ ['à¬àà¬h', 'à¬àà¬'], // ngh
+ ['ହm', 'ହàମ'], // mh
+ ['ହn', 'ହàନ'], // nh
+ ['ମàବh', 'ମàà¬'], // mbh or nbh
+ ['ଣàଡai', 'ଣàଡାà¬'], // NDai
+ ['à¬àà¬h', 'à¬àà¬'], // jjh
+ ['à¬àà¬h', 'à¬àà¬'], // cch
+
+ ['ଣG', 'à¬'], // NG
+ ['ଣg', 'à¬'], // Ng
+ ['à¬h', 'à¬'], // kh
+ ['à¬h', 'à¬'], // gh
+ ['ନc', 'à¬àà¬'], // nc
+ ['ନg', 'à¬àà¬'], // ng
+ ['à¬h', 'à¬'], // ch
+ ['C', 'à¬'], // ch
+ ['à¬h', 'à¬'], // jh
+ ['ନj', 'à¬àà¬'], // nj
+ ['ନk', 'à¬àà¬'], // nk
+ ['ନd', 'ନàଦ'], // nd
+ ['ନD|ଣD', 'ଣàଡ'], // nd
+ ['ଣDh', 'ଣàଢ'], //ndh
+ ['ନdh', 'ନàଧ'], // ndht
+ ['ଷT', '$1àà¬'], // ST
+ ['à¬h', 'ଠ'], // Th
+ ['ଡh', 'ଢ'], // Dh
+ ['ତh', 'ଥ'], // th
+ ['ଦh', 'ଧ'], // dh
+ ['(f|ପh|P)', 'ଫ'], // ph or f
+ ['ବh', 'à¬'], // bh
+ ['ସh', 'ଷ'], // sh
+ ['ମb', 'ମàବ'], // mb or nb
+ ['ଣT', 'ଣàà¬'], // NT
+ ['ଣTh', 'ଣàଠ'], // NTh
+ ['(ଷ|ମ)p', '$1àପ'], // sp/shp
+ ['shp', 'ଷàପ'], // sp
+ ['à¬M', 'à¬'], // MM
+
+ ['à¬k', 'à¬àà¬'], // kk
+ ['à¬g', 'à¬àà¬'], // gg
+ ['à¬c', 'à¬àà¬'], // cc
+ ['à¬j', 'à¬àà¬'], // jj
+ ['ଦd', 'ଦàଦ'], // dd
+ ['à¬T', 'à¬àà¬'], // TT
+ ['ଡD', 'ଡàଡ'], // DD
+ ['ତt', 'ତàତ'], // tt
+ ['ଲl', 'ଲàଲ'], // ll
+ ['ପp', 'ପàପ'], //pp
+ [ '_', '\u200c' ],
+
+ ['à¬\\\\', '\u0B3E'], // aa sign
+ ['à¬\\\\', '\u0B3F'], // i sign
+ ['à¬\\\\', '\u0B40'], // I sign
+ ['à¬\\\\', '\u0B41'], // u sign
+ ['à¬\\\\', '\u0B42'], // U sign
+ ['à¬\\\\', '\u0B43'], // R sign
+ ['à \\\\', '\u0B44'], // RR sign
+ ['à¬\\\\', '\u0B62'], // L sign
+ ['à¡\\\\', '\u0B63'], // LL sign
+ ['à¬\\\\', '\u0B47'], // e sign
+ ['à¬\\\\', '\u0B48'], // ai sign
+ ['à¬\\\\', '\u0B4B'], // o sign
+ ['à¬\\\\', '\u0B4C'], // au sign
+
+ ['\u200c?a', 'à¬
'],
+ ['b', 'ବ'],
+ ['c', '', 'à¬'],
+ ['d', 'ଦ'],
+ ['\u200c?e', 'à¬'],
+ ['g', 'à¬'],
+ ['G', 'à¬'],
+ ['h', 'ହ'],
+ ['\u200c?i', 'à¬'],
+ ['j', 'à¬'],
+ ['k', 'à¬'],
+ ['l', 'ଲ'],
+ ['m', 'ମ'],
+ ['n', 'ନ'],
+ ['\u200c?o', 'à¬'],
+ ['p', 'ପ'],
+ ['q', 'ଡ଼'],
+ ['r', 'ର'],
+ ['s', 'ସ'],
+ ['t', 'ତ'],
+ ['\u200c?u', 'à¬'],
+ ['[vwVW]', 'à±'],
+ ['x', 'à¬àଷ'],
+ ['[Y]', 'à'],
+ ['[y]', 'ଯ'],
+ ['\u200c?A', 'à¬'],
+ ['B', 'ବ'],
+ ['C', 'à¬'],
+ ['D', 'ଡ'],
+ ['\u200c?E', 'à¬'],
+ ['F', 'ଫ'],
+ ['G', 'à¬'],
+ ['H', 'à¬'],
+ ['\u200c?I', 'à¬'],
+ ['J', 'ଯ'],
+ ['K', 'à¬'],
+ ['L', 'ଳ'],
+ ['M', 'à¬'],
+ ['N', 'ଣ'],
+ ['\u200c?O', 'à¬'],
+ ['P', 'ଫ'],
+ ['Q', 'ଢ଼'],
+ ['R', 'à¬'],
+ ['S', 'ଶ'],
+ ['T', 'à¬'],
+ ['\u200c?U', 'à¬'],
+ ['X', 'à¬'],
+ ['Z', 'à¬àà¬'],
+ ['//', 'àର'],
+
+ ['0', 'à¦'],
+ ['1', 'à§'],
+ ['2', 'à¨'],
+ ['3', 'à©'],
+ ['4', 'àª'],
+ ['5', 'à«'],
+ ['6', 'à¬'],
+ ['7', 'à'],
+ ['8', 'à®'],
+ ['9', 'à¯']
+ ]
+ };
+
+ $.ime.register( orLekhani );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/or/or-phonetic.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/or/or-phonetic.js
new file mode 100644
index 0000000..3861ffd
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/or/or-phonetic.js
@@ -0,0 +1,110 @@
+( function ( $ ) {
+ 'use strict';
+
+ var orPhonetic = {
+ id: 'or-phonetic',
+ name: 'ଫàନàà¬à¬¿à¬',
+ description: 'Phonetic keyboard for Odia script',
+ date: '2013-02-09',
+ URL: 'http://github.com/wikimedia/jquery.ime',
+ author: 'Parag Nemade',
+ license: 'GPLv3',
+ version: '1.0',
+ patterns: [
+ ['\\~', 'à¬'],
+ ['\\`', ' à'],
+ ['\\!', 'à¬'],
+ ['1', 'à§'],
+ ['\\@', '@'],
+ ['2', 'à¨'],
+ ['\\#', 'ତàର'],
+ ['3', 'à©'],
+ ['\\$', '$'],
+ ['4', 'àª'],
+ ['\\%', 'à¬'],
+ ['5', 'à«'],
+ ['6', 'à¬'],
+ ['7', 'à'],
+ ['8', 'à®'],
+ ['\\(', '('],
+ ['9', 'à¯'],
+ ['\\)', ')'],
+ ['0', 'à¦'],
+ ['\\_', '_'],
+ ['\\-', '-'],
+ ['\\+', '+'],
+ ['\\=', '='],
+ ['Q', 'à¬'],
+ ['q', 'à¬'],
+ ['W', 'ଠ'],
+ ['w', 'à¬'],
+ ['E', 'à'],
+ ['e', 'à'],
+ ['R', 'à '],
+ ['r', 'ର'],
+ ['T', 'ଥ'],
+ ['t', 'ତ'],
+ ['Y', 'à'],
+ ['y', 'ଯ'],
+ ['U', 'à'],
+ ['u', 'à'],
+ ['I', 'à'],
+ ['i', 'ି'],
+ ['O', 'à'],
+ ['o', 'à'],
+ ['P', 'ଫ'],
+ ['p', 'ପ'],
+ ['\\{', 'ଢ'],
+ ['\\[', 'ଡ'],
+ ['\\}', 'ରà'],
+ ['\\]', 'à¬'],
+ ['A', 'à¬'],
+ ['a', 'ା'],
+ ['S', 'ଶ'],
+ ['s', 'ସ'],
+ ['D', 'ଧ'],
+ ['d', 'ଦ'],
+ ['F', 'à¬
'],
+ ['f', 'à'],
+ ['G', 'à¬'],
+ ['g', 'à¬'],
+ ['H', 'à¬'],
+ ['h', 'ହ'],
+ ['J', 'à¬'],
+ ['j', 'à¬'],
+ ['K', 'à¬'],
+ ['k', 'à¬'],
+ ['L', 'ଳ'],
+ ['l', 'ଲ'],
+ [':', 'à¬'],
+ [';', 'à¬'],
+ ['"', 'à¬'],
+ ['\'', 'à¬'],
+ ['\\|', '|'],
+ ['\\\\', '\\'],
+ ['Z', 'à¬'],
+ ['z', 'à¬'],
+ ['x', 'ଷ'],
+ ['C', 'à¬'],
+ ['c', 'à¬'],
+ ['V', 'ଵ'],
+ ['v', 'à±'],
+ ['B', 'à¬'],
+ ['b', 'ବ'],
+ ['N', 'ଣ'],
+ ['n', 'ନ'],
+ ['M', 'à¬'],
+ ['m', 'ମ'],
+ ['\\<', '<'],
+ [',', ','],
+ ['\\>', '>'],
+ ['\\.', '।'],
+ ['\\?', 'à¬'],
+ ['/', 'à¬'],
+ ['\\^', 'à¬àà¬'],
+ ['X', 'à¬àଷ'],
+ ['\\*', 'ଶàର']]
+ };
+
+ $.ime.register( orPhonetic );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/or/or-transliteration.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/or/or-transliteration.js
new file mode 100644
index 0000000..12fd8d9
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/or/or-transliteration.js
@@ -0,0 +1,146 @@
+( function ( $ ) {
+ 'use strict';
+
+ var orTransliteration = {
+ id: 'or-transliteration',
+ name: 'à¬àରାନàସଲିà¬à¬°àସନ',
+ description: 'Odia Transliteration',
+ date: '2012-10-14',
+ URL: 'http://github.com/wikimedia/jquery.ime',
+ author: 'Junaid P V and Subhashish Panigrahi',
+ license: 'GPLv3',
+ version: '1.0',
+ contextLength: 4,
+ maxKeyLength: 2,
+ patterns: [
+ [ '\\\\([A-Za-z\\>_~\\.0-9])', '\\\\', '$1' ],
+
+ [ 'à¬àà¬àh', 'à¬àà¬à' ], // njh
+ [ 'à¬àà¬àh', 'à¬àà¬à' ], // ngh
+
+ [ '([à¬-ହà])àa', '$1' ],
+ [ '([à¬-ହà])(a|àA)', '$1ା' ],
+ [ '([à¬-ହà])ài', '$1\u0b3f' ],
+ [ '([à¬-ହà])àI', '$1à' ],
+ [ '([à¬-ହà])àu', '$1\u0b41' ],
+ [ '([à¬-ହà])(àU|\u0b41u)', '$1\u0b42' ],
+ [ '([à¬-ହà])àR', '$1\u0b43' ],
+ [ '([à¬-ହà])\u0b43R', '$1\u0b44' ],
+ [ '([à¬-ହà])àଳàl', '$1à¢' ],
+ [ '([à¬-ହà])à¢l', '$1à£' ],
+ [ '([à¬-ହà])àe', '$1à' ],
+ [ '([à¬-ହà])i', '$1à' ],
+ [ '([à¬-ହà])ào', '$1à' ],
+ [ '([à¬-ହà])àu', '$1à' ],
+ [ '([à¬-ହà])àE', '$1\u0B48' ],
+
+ [ 'à¬
a', 'à¬' ],
+ [ '(à¬
i|à¬e)', 'à¬' ],
+ [ '(à¬
u|à¬o|à¬O)', 'à¬' ],
+ [ 'à¬R', 'à ' ],
+ [ 'ଳàl', 'à¬' ],
+ [ 'à¬l', 'à¡' ],
+ [ 'à¬àà¬àh', 'à¬àà¬à' ], // nch
+
+ [ 'ଣàG', 'à¬à' ], // NG
+ [ 'ଣàg', 'à¬à' ], // Ng
+ [ 'à¬àh', 'à¬à' ],
+ [ 'à¬àh', 'à¬à' ],
+ [ 'ନàc', 'à¬àà¬à' ], // nc
+ [ 'ନàg', 'à¬àà¬à' ], // ng
+ [ 'à¬àh', 'à¬à' ],
+ [ 'à¬àh', 'à¬à' ],
+ [ 'ନàj', 'à¬àà¬à' ], // nj
+ [ 'ନàk', 'à¬àà¬à' ], // nk
+ [ 'à¬àh', 'ଠà' ],
+ [ 'ଡàh', 'ଢà' ],
+ [ 'ତàh', 'ଥà' ],
+ [ 'ଦàh', 'ଧà' ],
+ [ 'ପàh', 'ଫà' ],
+ [ 'ବàh', 'à¬à' ],
+ [ 'ସàh', 'ଷà' ],
+ [ '।Z', '॥' ],
+
+ [ 'à¬\\\\', '\u0B3E' ], // aa sign
+ [ 'à¬\\\\', '\u0B3F' ], // i sign
+ [ 'à¬\\\\', '\u0B40' ],// I sign
+ [ 'à¬\\\\', '\u0B41' ], // u sign
+ [ 'à¬\\\\', '\u0B42' ], // U sign
+ [ 'à¬\\\\', '\u0B43' ], // R sign
+ [ 'à \\\\', '\u0B44' ], // RR sign
+ [ 'à¬\\\\', '\u0B62' ], // L sign
+ [ 'à¡\\\\', '\u0B63' ], // LL sign
+ [ 'à¬\\\\', '\u0B47' ], // e sign
+ [ 'à¬\\\\', '\u0B48' ], // ai sign
+ [ 'à¬\\\\', '\u0B4B' ], // o sign
+ [ 'à¬\\\\', '\u0B4C' ], // au sign
+
+ [ '\u200c?a', 'à¬
' ],
+ [ 'b', 'ବà' ],
+ [ 'c', '', 'à¬à' ],
+ [ 'd', 'ଦà' ],
+ [ '\u200c?e', 'à¬' ],
+ [ 'f', 'ଫà' ],
+ [ 'g', 'à¬à' ],
+ [ 'h', 'ହà' ],
+ [ '\u200c?i', 'à¬' ],
+ [ 'j', 'à¬à' ],
+ [ 'k', 'à¬à' ],
+ [ 'l', 'ଲà' ],
+ [ 'm', 'ମà' ],
+ [ 'n', 'ନà' ],
+ [ '\u200c?o', 'à¬' ],
+ [ 'p', 'ପà' ],
+ [ 'q', 'à¬àà¬à' ],
+ [ 'r', 'ରà' ],
+ [ 's', 'ସà' ],
+ [ 't', 'ତà' ],
+ [ '\u200c?u', 'à¬' ],
+ [ 'v', 'à±à' ],
+ [ 'w', 'ଵà' ],
+ [ 'x', 'à¬àଷà' ],
+ [ 'y', 'àà' ],
+ [ 'z', '\u0B3C' ],
+ [ '\u200c?A', 'à¬' ],
+ [ 'B', 'ବà' ],
+ [ 'C', 'à¬à' ],
+ [ 'D', 'ଡà' ],
+ [ '\u200c?E', 'à¬' ],
+ [ 'F', 'ଫà' ],
+ [ 'G', 'à¬à' ],
+ [ 'H', '', 'à¬' ],
+ [ '\u200c?I', 'à¬' ],
+ [ 'J', 'à¬à' ],
+ [ 'K', 'à¬à' ],
+ [ 'L', 'ଳà' ],
+ [ 'M', '', 'à¬' ],
+ [ 'N', 'ଣà' ],
+ [ '\u200c?O', 'à¬' ],
+ [ 'P', 'ଫà' ],
+ [ 'Q', 'à¬àà¬à' ],
+ [ 'R', 'à¬' ],
+ [ 'S', 'ଶà' ],
+ [ 'T', 'à¬à' ],
+ [ '\u200c?U', 'à¬' ],
+ [ 'V', 'ଵà' ],
+ [ 'W', 'ଵàଵà' ],
+ [ 'X', 'à¬' ],
+ [ 'Y', 'ଯà' ],
+ [ 'Z', '।' ],
+ [ '\\~', '', 'à' ],
+ [ '//', 'ଽ' ],
+ [ '_', '\u200c' ],
+ [ '0', 'à¦' ],
+ [ '1', 'à§' ],
+ [ '2', 'à¨' ],
+ [ '3', 'à©' ],
+ [ '4', 'àª' ],
+ [ '5', 'à«' ],
+ [ '6', 'à¬' ],
+ [ '7', 'à' ],
+ [ '8', 'à®' ],
+ [ '9', 'à¯' ] ]
+ };
+
+ $.ime.register( orTransliteration );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/pa/pa-inscript.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/pa/pa-inscript.js
new file mode 100644
index 0000000..1ee57c5
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/pa/pa-inscript.js
@@ -0,0 +1,97 @@
+( function ( $ ) {
+ 'use strict';
+
+ var paInScript = {
+ id: 'pa-inscript',
+ name: 'Punjabi InScript',
+ description: 'InScript keyboard for Punjabi script',
+ date: '2012-10-16',
+ author: '',
+ license: '',
+ version: '1.0',
+ patterns: [
+ ['1', '੧'],
+ ['2', '੨'],
+ ['3', 'à©©'],
+ ['4', '੪'],
+ ['5', 'à©«'],
+ ['6', '੬'],
+ ['7', 'à©'],
+ ['8', 'à©®'],
+ ['9', '੯'],
+ ['0', '੦'],
+ ['\\_', '_'],
+ ['\\-', '-'],
+ ['\\+', '+'],
+ ['\\=', '='],
+ ['Q', 'à¨'],
+ ['q', 'à©'],
+ ['W', 'à¨'],
+ ['w', 'à©'],
+ ['E', 'à¨'],
+ ['e', 'ਾ'],
+ ['R', 'à¨'],
+ ['r', 'à©'],
+ ['T', 'à¨'],
+ ['t', 'à©'],
+ ['Y', 'à¨'],
+ ['y', 'ਬ'],
+ ['U', 'à¨'],
+ ['u', 'ਹ'],
+ ['I', 'à¨'],
+ ['i', 'à¨'],
+ ['O', 'ਧ'],
+ ['o', 'ਦ'],
+ ['P', 'à¨'],
+ ['p', 'à¨'],
+ ['\\{', 'ਢ'],
+ ['\\[', 'ਡ'],
+ ['\\}', 'à¨'],
+ ['\\]', '਼'],
+ ['A', 'à¨'],
+ ['a', 'à©'],
+ ['S', 'à¨'],
+ ['s', 'à©'],
+ ['D', 'à¨
'],
+ ['d', 'à©'],
+ ['F', 'à¨'],
+ ['f', 'ਿ'],
+ ['G', 'à¨'],
+ ['g', 'à©'],
+ ['H', 'ਫ'],
+ ['h', 'ਪ'],
+ ['J', 'à©'],
+ ['j', 'ਰ'],
+ ['K', 'à¨'],
+ ['k', 'à¨'],
+ ['L', 'ਥ'],
+ ['l', 'ਤ'],
+ ['\\:', 'à¨'],
+ ['\\;', 'à¨'],
+ ['"', 'ਠ'],
+ ['\'', 'à¨'],
+ ['Z', 'ੱ'],
+ ['z', 'à©°'],
+ ['X', 'à©'],
+ ['x', 'à©'],
+ ['C', 'ਣ'],
+ ['c', 'ਮ'],
+ ['V', 'à¨'],
+ ['v', 'ਨ'],
+ ['B', 'à¨'],
+ ['b', 'ਵ'],
+ ['N', 'ਲ਼'],
+ ['n', 'ਲ'],
+ ['M', 'ਸ਼'],
+ ['m', 'ਸ'],
+ ['\\<', 'ੳ'],
+ [',', ','],
+ ['\\>', 'ੲ'],
+ ['\\.', '.'],
+ ['\\?', '?'],
+ ['/', 'ਯ']]
+
+ };
+
+ $.ime.register( paInScript );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/pa/pa-inscript2.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/pa/pa-inscript2.js
new file mode 100644
index 0000000..2c49a06
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/pa/pa-inscript2.js
@@ -0,0 +1,111 @@
+( function ( $ ) {
+ 'use strict';
+
+ var paInScript2 = {
+ id: 'pa-inscript2',
+ name: 'Punjabi InScript2',
+ description: 'Enhanced InScript keyboard for Punjabi script',
+ date: '2013-11-14',
+ author: 'Parag Nemade',
+ license: 'GPLv3',
+ version: '1.0',
+ patterns: [
+ ['1', '੧'],
+ ['2', '੨'],
+ ['3', 'à©©'],
+ ['4', '੪'],
+ ['5', 'à©«'],
+ ['6', '੬'],
+ ['7', 'à©'],
+ ['8', 'à©®'],
+ ['9', '੯'],
+ ['0', '੦'],
+ ['\\(', '('],
+ ['\\)', ')'],
+ ['\\_', 'à¨'],
+ ['\\-', '-'],
+ ['Q', 'à¨'],
+ ['q', 'à©'],
+ ['W', 'à¨'],
+ ['w', 'à©'],
+ ['E', 'à¨'],
+ ['e', 'ਾ'],
+ ['R', 'à¨'],
+ ['r', 'à©'],
+ ['T', 'à¨'],
+ ['t', 'à©'],
+ ['Y', 'à¨'],
+ ['y', 'ਬ'],
+ ['U', 'à¨'],
+ ['u', 'ਹ'],
+ ['I', 'à¨'],
+ ['i', 'à¨'],
+ ['O', 'ਧ'],
+ ['o', 'ਦ'],
+ ['P', 'à¨'],
+ ['p', 'à¨'],
+ ['\\{', 'ਢ'],
+ ['\\[', 'ਡ'],
+ ['\\}', 'à¨'],
+ ['\\]', '਼'],
+ ['A', 'à¨'],
+ ['a', 'à©'],
+ ['S', 'à¨'],
+ ['s', 'à©'],
+ ['D', 'à¨
'],
+ ['d', 'à©'],
+ ['F', 'à¨'],
+ ['f', 'ਿ'],
+ ['G', 'à¨'],
+ ['g', 'à©'],
+ ['H', 'ਫ'],
+ ['h', 'ਪ'],
+ ['J', 'à©'],
+ ['j', 'ਰ'],
+ ['K', 'à¨'],
+ ['k', 'à¨'],
+ ['L', 'ਥ'],
+ ['l', 'ਤ'],
+ [':', 'à¨'],
+ [';', 'à¨'],
+ ['"', 'ਠ'],
+ ['\\\'', 'à¨'],
+ ['X', 'à¨'],
+ ['x', 'à©°'],
+ ['C', 'ਣ'],
+ ['c', 'ਮ'],
+ ['v', 'ਨ'],
+ ['B', 'à¨'],
+ ['b', 'ਵ'],
+ ['N', 'N'],
+ ['n', 'ਲ'],
+ ['M', 'ਸ਼'],
+ ['m', 'ਸ'],
+ [',', ','],
+ ['\\>', '।'],
+ ['\\.', '.'],
+ ['/', 'ਯ']
+ ],
+ patterns_x: [
+ ['1', '\u200d'],
+ ['2', '\u200c'],
+ ['4', 'â¹'],
+ ['i', 'à©'],
+ ['p', 'à©'],
+ ['\\[', 'à©'],
+ ['D', 'â¬'],
+ ['d', 'à©'],
+ ['F', 'ੲ'],
+ ['G', 'ੳ'],
+ ['H', 'à©'],
+ ['K', 'à©'],
+ ['X', 'à©´'],
+ ['x', 'à¨'],
+ ['N', 'ਲ਼'],
+ ['\\.', '॥'],
+ ['/', 'ੵ']
+ ]
+ };
+
+ $.ime.register( paInScript2 );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/pa/pa-jhelum.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/pa/pa-jhelum.js
new file mode 100644
index 0000000..9a0217e
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/pa/pa-jhelum.js
@@ -0,0 +1,131 @@
+( function ( $ ) {
+ 'use strict';
+
+ var paJhelum = {
+ id: 'pa-jhelum',
+ name: 'Punjabi Jhelum',
+ description: 'Jhelum keyboard for Punjabi script',
+ date: '2013-11-14',
+ author: 'Parag Nemade',
+ license: 'GPLv3',
+ version: '1.0',
+ patterns: [
+ ['\\~', '~'],
+ ['\\`', '`'],
+ ['\\!', '!'],
+ ['1', '1'],
+ ['\\@', '@'],
+ ['2', '2'],
+ ['\\#', '#'],
+ ['3', '3'],
+ ['\\$', '$'],
+ ['4', '4'],
+ ['\\%', '%'],
+ ['5', '5'],
+ ['\\^', 'ੳ'],
+ ['6', '6'],
+ ['\\&', 'ੲ'],
+ ['7', '7'],
+ ['8', '8'],
+ ['\\(', '('],
+ ['9', '9'],
+ ['\\)', ')'],
+ ['0', '0'],
+ ['\\_', '_'],
+ ['\\-', '-'],
+ ['\\+', '+'],
+ ['\\=', '='],
+ ['Q', 'à¨'],
+ ['q', 'à©'],
+ ['W', 'à¨'],
+ ['w', 'à©'],
+ ['E', 'à¨'],
+ ['e', 'ਾ'],
+ ['R', 'à¨'],
+ ['r', 'à©'],
+ ['T', 'à¨'],
+ ['t', 'à©'],
+ ['Y', 'à©'],
+ ['y', 'ਰ'],
+ ['U', 'ਧ'],
+ ['u', 'ਦ'],
+ ['I', 'à¨'],
+ ['i', 'à¨'],
+ ['O', 'à¨'],
+ ['o', 'ਤ'],
+ ['P', 'ਫ'],
+ ['p', 'ਪ'],
+ ['\\{', 'ਢ'],
+ ['\\[', 'ਡ'],
+ ['\\}', 'à¨'],
+ ['\\]', 'à¨'],
+ ['A', 'à¨'],
+ ['a', 'à©'],
+ ['S', 'à¨'],
+ ['s', 'à©'],
+ ['D', 'à¨
'],
+ ['d', 'à©'],
+ ['F', 'à¨'],
+ ['f', 'ਿ'],
+ ['G', 'à¨'],
+ ['g', 'à©'],
+ ['H', 'ਠ'],
+ ['h', 'ਹ'],
+ ['J', 'à¨'],
+ ['j', 'à¨'],
+ ['K', 'à¨'],
+ ['k', 'à¨'],
+ ['L', 'ਥ'],
+ ['l', 'ਲ'],
+ [':', ':'],
+ [';', 'ਸ'],
+ ['"', '"'],
+ ['\\\'', '\''],
+ ['\\|', '।'],
+ ['\\', '\\'],
+ ['Z', '਼'],
+ ['z', 'ੱ'],
+ ['X', 'à©°'],
+ ['x', 'à¨'],
+ ['C', 'à¨'],
+ ['c', 'à¨'],
+ ['V', 'ਯ'],
+ ['v', 'ਵ'],
+ ['B', 'à¨'],
+ ['b', 'ਬ'],
+ ['N', 'ਣ'],
+ ['n', 'ਨ'],
+ ['M', 'ਠ'],
+ ['m', 'ਮ'],
+ ['\\<', '<'],
+ [',', ','],
+ ['\\>', '>'],
+ ['\\.', '.'],
+ ['\\?', '?'],
+ ['/', '/'],
+ ['\\*', '*']
+ ],
+ patterns_x: [
+ ['1', '੧'],
+ ['2', '੨'],
+ ['3', 'à©©'],
+ ['4', '੪'],
+ ['5', 'à©«'],
+ ['6', '੬'],
+ ['7', 'à©'],
+ ['8', 'à©®'],
+ ['9', '੯'],
+ ['0', '੦'],
+ ['y', 'à©à¨°'],
+ ['i', 'à©'],
+ ['P', 'à©'],
+ ['h', 'à©à¨¹'],
+ ['j', 'à©'],
+ ['K', 'à©'],
+ ['l', 'ਲ਼'],
+ [';', 'ਸ਼']
+ ]
+ };
+
+ $.ime.register( paJhelum );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/pa/pa-phonetic.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/pa/pa-phonetic.js
new file mode 100644
index 0000000..4690c74
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/pa/pa-phonetic.js
@@ -0,0 +1,99 @@
+( function ( $ ) {
+ 'use strict';
+
+ var paPhonetic = {
+ id: 'pa-phonetic',
+ name: 'Punjabi Phonetic',
+ description: 'Punjabi Phonetic',
+ date: '2012-10-16',
+ URL: 'http://fedoraproject.org/wiki/I18N/Indic/PunjabiKeyboardLayouts',
+ author: '',
+ license: '',
+ version: '1.0',
+ patterns: [
+ ['!', '੧'],
+ ['1', '1'],
+ ['@', '੨'],
+ ['2', '2'],
+ ['#', 'à©©'],
+ ['3', '3'],
+ ['\\$', '੪'],
+ ['4', '4'],
+ ['5', '5'],
+ ['6', '6'],
+ ['7', '7'],
+ ['8', '8'],
+ ['\\(', '੯'],
+ ['9', '9'],
+ ['\\)', '੦'],
+ ['0', '0'],
+ ['Q', 'ਥ'],
+ ['q', 'ਤ'],
+ ['w', 'ਾ'],
+ ['E', 'à¨'],
+ ['e', 'ੲ'],
+ ['r', 'ਰ'],
+ ['T', 'ਠ'],
+ ['t', 'à¨'],
+ ['Y', 'à©'],
+ ['y', 'à©'],
+ ['U', 'à©'],
+ ['u', 'à©'],
+ ['I', 'à©'],
+ ['i', 'ਿ'],
+ ['O', 'à©'],
+ ['o', 'à©'],
+ ['P', 'ਫ'],
+ ['p', 'ਪ'],
+ ['\\{', '('],
+ ['\\}', ')'],
+ ['A', 'à¨
'],
+ ['a', 'ੳ'],
+ ['S', 'ਸ਼'],
+ ['s', 'ਸ'],
+ ['D', 'ਧ'],
+ ['d', 'ਦ'],
+ ['F', 'ਢ'],
+ ['f', 'ਡ'],
+ ['G', 'à¨'],
+ ['g', 'à¨'],
+ ['h', 'ਹ'],
+ ['J', 'à¨'],
+ ['j', 'à¨'],
+ ['K', 'à¨'],
+ ['k', 'à¨'],
+ ['L', 'ਲ਼'],
+ ['l', 'ਲ'],
+ ['\\', 'à¨'],
+ ['\\~', '?ੱ'],
+ ['\\`', '?à© '],
+ ['Z', 'à©'],
+ ['z', 'à©'],
+ ['X', 'ਯ'],
+ ['x', 'ਣ'],
+ ['C', 'à¨'],
+ ['c', 'à¨'],
+ ['V', 'à©'],
+ ['v', 'ਵ'],
+ ['B', 'à¨'],
+ ['b', 'ਬ'],
+ ['N', 'à¨'],
+ ['n', 'ਨ'],
+ ['M', 'à©°'],
+ ['m', 'ਮ'],
+ ['\\<', 'à©'],
+ ['\\>', 'à©´'],
+ ['\\.', '?਼'],
+ ['\\?', '?'],
+ ['\\/', 'à¨'],
+ ['%', 'à©«'],
+ ['\\^', '੬'],
+ ['&', 'à©'],
+ ['\\*', 'à©®'],
+ ['R', 'à©à¨°'],
+ ['H', 'à©à¨¹'],
+ ['W', 'ਾà¨']]
+ };
+
+ $.ime.register( paPhonetic );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/pa/pa-transliteration.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/pa/pa-transliteration.js
new file mode 100644
index 0000000..af5b4fc
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/pa/pa-transliteration.js
@@ -0,0 +1,119 @@
+( function ( $ ) {
+ 'use strict';
+
+ var paTransliteration = {
+ id: 'pa-transliteration',
+ name: 'Punjabi Transliteration',
+ description: 'Punjabi transliteration',
+ date: '2012-10-16',
+ URL: 'http://github.com/wikimedia/jquery.ime',
+ author: 'Amir E. Aharoni, inputs from Saurabh Choudhary and Surinder Wadhawan',
+ license: 'GPLv3',
+ version: '1.0',
+ contextLength: 2,
+ maxKeyLength: 4,
+ /* Semi-automatically created from the Hindi transliteration mapping using
+ * the following Perl substitution:
+ * s{(?<deva_letter>[à¤-ॿ])}{chr(ord($+{deva_letter}) + 0x100)}xmsge;
+ */
+ patterns: [
+ ['à¨à©h', 'c', 'à¨à©'],
+ ['\\\\([A-Za-z\\>_~\\.0-9])', '\\\\', '$1'],
+
+ // à¨-ਹ is the main range of Indic letters.
+ // à© is an additional unique Gurmukhi letter.
+ ['([à¨-ਹà©]਼?)à©a', '$1'], // Short [a] after a consonant with virama removes the virama
+ ['([à¨-ਹà©]਼?)à©A', '$1ਾ'], // Long [a] after a consonant with virama removes the virama and adds long [a]
+ ['([à¨-ਹà©]਼?)a', '$1ਾ'], // 'aa' gives long [a] - short [a] after a consonant without virama adds long [a]
+ ['([à¨-ਹà©]਼?)à©i', '$1ਿ'],
+ ['([à¨-ਹà©]਼?)(ਿi|à©I|à©e)', '$1à©'], // 'ii', 'I' and 'ee' give long [i].
+ ['([à¨-ਹà©]਼?)à©u', '$1à©'],
+ ['([à¨-ਹà©]਼?)(à©u|à©U|à©o)', '$1à©'], // 'uu', 'U' and 'oo' give long [u].
+ ['([à¨-ਹà©]਼?)à©e', '$1à©'],
+ ['([à¨-ਹà©]਼?)(i|à©E)', '$1à©'], // 'i' after a consonant without virama or 'E' after a consonant with Virama gives "ai"
+ ['([à¨-ਹà©]਼?)à©[oO]', '$1à©'],
+ ['([à¨-ਹà©]਼?)u', '$1à©'], // 'u' after a consonant without virama gives "au"
+ ['([à¨-ਹà©])à©\\`', '$1਼à©'], // '`' (backtick) after a consonant with virama adds a nukta before the virama
+
+ ['à¨
a', 'à¨'], // aa
+ ['(à¨o|à¨u)', 'à¨'], //oo, uu
+ ['à¨
i', 'à¨'], // ai
+ ['à¨
\\^', 'ੲ'], // a^ (iri - base for vowels)
+ ['à¨\\^', 'ੳ'], // u^ (ura - base for vowels)
+ ['(à¨e|à¨i)', 'à¨'], // ee, ii
+ ['à¨
u', 'à¨'], // au
+ ['à¨[Mm^]', 'à¨'], // bindi + 'm', 'M', or '^' -> Adak bindi
+ ['ਣà©N', 'à©°'], // Tippi - nasalization
+
+ ['à¨à©h', 'à¨à©'], // kh
+ ['à¨à©h', 'à¨à©'], // gh
+ ['ਨà©g', 'à¨à©'], // ng
+ ['à¨à©h', 'à¨à©'], // ch
+ ['à¨à©h', 'à¨à©'], // jh
+ ['ਨà©j', 'à¨à©'], // nj
+ ['à¨à©h', 'ਠà©'], // Th
+ ['ਡà©h', 'ਢà©'], // Dh
+ ['ਤà©h', 'ਥà©'], // th
+ ['ਦà©h', 'ਧà©'], // dh
+ ['ਪà©h', 'ਫà©'], // ph
+ ['ਬà©h', 'à¨à©'], // bh
+
+ ['ਸà©h', 'ਸ਼à©'], // sh
+ ['à¨à¨¼à©h', 'à¨à¨¼à©'], // k + nukta + h
+
+ ['a', 'à¨
'],
+ ['b', 'ਬà©'],
+ ['c', 'à¨à©'],
+ ['d', 'ਦà©'],
+ ['e', 'à¨'],
+ ['f', 'ਫà©'],
+ ['F', 'ਫ਼à©'], // With nukta
+ ['g', 'à¨à©'],
+ ['h', 'ਹà©'],
+ ['i', 'à¨'],
+ ['j', 'à¨à©'],
+ ['k', 'à¨à©'],
+ ['l', 'ਲà©'],
+ ['m', 'ਮà©'],
+ ['n', 'ਨà©'],
+ ['o', 'à¨'],
+ ['p', 'ਪà©'],
+ ['q', 'à©'], // Udaat
+ ['r', 'ਰà©'],
+ ['s', 'ਸà©'],
+ ['t', 'ਤà©'],
+ ['u', 'à¨'],
+ ['(v|w)', 'ਵà©'],
+ ['y', 'ਯà©'],
+ ['z', 'ੱ'], // Addak - gemination
+ ['A', 'à¨'],
+ ['D', 'ਡà©'],
+ ['H', 'à¨'], // Visarga
+ ['I', 'à¨'],
+ ['M', 'à¨'], // Bindi
+ ['N', 'ਣà©'],
+ ['R', 'à©à©'], // Rra
+ ['S', 'ਸ਼à©'],
+ ['T', 'à¨à©'],
+ ['U', 'à¨'],
+ ['X', 'à©´'], // Ek onkar
+ ['Y', 'ੵ'], // Yakash
+ ['0', '੦'],
+ ['1', '੧'],
+ ['2', '੨'],
+ ['3', 'à©©'],
+ ['4', '੪'],
+ ['5', 'à©«'],
+ ['6', '੬'],
+ ['7', 'à©'],
+ ['8', 'à©®'],
+ ['9', '੯'],
+ ['~', 'à©'], // Virama
+ ['\\`', '਼'], // Nukta
+
+ ['।\\.', '॥'], // Double danda, must be before single danda
+ ['\\.', '।']] // Danda
+ };
+
+ $.ime.register( paTransliteration );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ru/ru-jcuken.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ru/ru-jcuken.js
new file mode 100644
index 0000000..5206cba
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ru/ru-jcuken.js
@@ -0,0 +1,96 @@
+( function ( $ ) {
+ 'use strict';
+
+ var ruJcuken = {
+ id: 'ru-jcuken',
+ name: 'Ð ÑÑÑкий - ÐЦУÐÐÐ',
+ description: 'СÑандаÑÑÐ½Ð°Ñ ÑÑÑÑÐºÐ°Ñ ÑаÑкладка',
+ date: '2012-10-16',
+ URL: 'http://github.com/wikimedia/jquery.ime',
+ author: 'Amir (ÐлекÑей) Aharoni',
+ license: 'GPLv3',
+ version: '1.0',
+ patterns: [
+ ['Q', 'Ð'],
+ ['W', 'Ц'],
+ ['E', 'У'],
+ ['R', 'Ð'],
+ ['T', 'Ð'],
+ ['Y', 'Ð'],
+ ['U', 'Ð'],
+ ['I', 'Ш'],
+ ['O', 'Щ'],
+ ['P', 'Ð'],
+ ['{', 'Ð¥'],
+ ['}', 'Ъ'],
+ ['A', 'Ф'],
+ ['S', 'Ы'],
+ ['D', 'Ð'],
+ ['F', 'Ð'],
+ ['G', 'Ð'],
+ ['H', 'Ð '],
+ ['J', 'Ð'],
+ ['K', 'Ð'],
+ ['L', 'Ð'],
+ [':', 'Ð'],
+ ['"', 'Ð'],
+ ['Z', 'Я'],
+ ['X', 'Ч'],
+ ['C', 'С'],
+ ['V', 'Ð'],
+ ['B', 'Ð'],
+ ['N', 'Т'],
+ ['M', 'Ь'],
+ ['<', 'Ð'],
+ ['>', 'Ю'],
+ ['\\?', ','],
+
+ ['q', 'й'],
+ ['w', 'Ñ'],
+ ['e', 'Ñ'],
+ ['r', 'к'],
+ ['t', 'е'],
+ ['y', 'н'],
+ ['u', 'г'],
+ ['i', 'Ñ'],
+ ['o', 'Ñ'],
+ ['p', 'з'],
+ ['\\[', 'Ñ
'],
+ ['\\]', 'Ñ'],
+ ['a', 'Ñ'],
+ ['s', 'Ñ'],
+ ['d', 'в'],
+ ['f', 'а'],
+ ['g', 'п'],
+ ['h', 'Ñ'],
+ ['j', 'о'],
+ ['k', 'л'],
+ ['l', 'д'],
+ [';', 'ж'],
+ ['\'', 'Ñ'],
+ ['z', 'Ñ'],
+ ['x', 'Ñ'],
+ ['c', 'Ñ'],
+ ['v', 'м'],
+ ['b', 'и'],
+ ['n', 'Ñ'],
+ ['m', 'Ñ'],
+ [',', 'б'],
+ ['\\.', 'Ñ'],
+ ['/', '.'],
+
+ ['`', 'Ñ'],
+ ['~', 'Ð'],
+
+ // ! is the same // 1
+ ['@', '"'], // 2
+ ['#', 'â'], // 3
+ ['\\$', ';'], // 4
+ // '%' is the same // 5
+ ['^', ':'], // 6
+ ['&', '?']] // 7
+ // '*', '(' and ')' are the same // 8, 9, 0
+ };
+
+ $.ime.register( ruJcuken );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ru/ru-kbd.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ru/ru-kbd.js
new file mode 100644
index 0000000..f2d2bc0
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ru/ru-kbd.js
@@ -0,0 +1,100 @@
+( function ( $ ) {
+ 'use strict';
+
+ var ruKbd = {
+ id: 'ru-kbd',
+ name: 'Russian kbd',
+ description: 'Russian kbd keyboard layout',
+ date: '2013-02-12',
+ URL: 'http://github.com/wikimedia/jquery.ime',
+ author: 'Parag Nemade',
+ license: 'GPLv3',
+ version: '1.0',
+ patterns: [
+ ['`', 'Ñ'],
+ ['q', 'й'],
+ ['w', 'Ñ'],
+ ['e', 'Ñ'],
+ ['r', 'к'],
+ ['t', 'е'],
+ ['y', 'н'],
+ ['u', 'г'],
+ ['i', 'Ñ'],
+ ['o', 'Ñ'],
+ ['p', 'з'],
+ ['\\[', 'Ñ
'],
+ ['\\]', 'Ñ'],
+ ['a', 'Ñ'],
+ ['s', 'Ñ'],
+ ['d', 'в'],
+ ['f', 'а'],
+ ['g', 'п'],
+ ['h', 'Ñ'],
+ ['j', 'о'],
+ ['k', 'л'],
+ ['l', 'д'],
+ [';', 'ж'],
+ ['\'', 'Ñ'],
+ ['\\\\', '\\'],
+ ['z', 'Ñ'],
+ ['x', 'Ñ'],
+ ['c', 'Ñ'],
+ ['v', 'м'],
+ ['b', 'и'],
+ ['n', 'Ñ'],
+ ['m', 'Ñ'],
+ [',', 'б'],
+ ['\\.', 'Ñ'],
+ ['/', '.'],
+ ['\\!', '!'],
+ ['\\@', '\"'],
+ ['\\#', 'â'],
+ ['\\$', ';'],
+ ['\\%', '%'],
+ ['\\^', ':'],
+ ['\\&', '?'],
+ ['\\*', '*'],
+ ['\\(', '('],
+ ['\\)', ')'],
+ ['\\_', '_'],
+ ['\\+', '+'],
+ ['\\~', 'Ð'],
+ ['Q', 'Ð'],
+ ['W', 'Ц'],
+ ['E', 'У'],
+ ['R', 'Ð'],
+ ['T', 'Ð'],
+ ['Y', 'Ð'],
+ ['U', 'Ð'],
+ ['I', 'Ш'],
+ ['O', 'Щ'],
+ ['P', 'Ð'],
+ ['\\{', 'Ð¥'],
+ ['\\}', 'Ъ'],
+ ['A', 'Ф'],
+ ['S', 'Ы'],
+ ['D', 'Ð'],
+ ['F', 'Ð'],
+ ['G', 'Ð'],
+ ['H', 'Ð '],
+ ['J', 'Ð'],
+ ['K', 'Ð'],
+ ['L', 'Ð'],
+ [':', 'Ð'],
+ ['\"', 'Ð'],
+ ['\\|', '|'],
+ ['Z', 'Я'],
+ ['X', 'Ч'],
+ ['C', 'С'],
+ ['V', 'Ð'],
+ ['B', 'Ð'],
+ ['N', 'Т'],
+ ['M', 'Ь'],
+ ['\\<', 'Ð'],
+ ['\\>', 'Ю'],
+ ['\\?', ',']
+ ]
+ };
+
+ $.ime.register( ruKbd );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ru/ru-phonetic.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ru/ru-phonetic.js
new file mode 100644
index 0000000..c99e964
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ru/ru-phonetic.js
@@ -0,0 +1,83 @@
+( function ( $ ) {
+ 'use strict';
+
+ var ruPhonetic = {
+ id: 'ru-phonetic',
+ name: 'Russian phonetic',
+ description: 'Russian phonetic keyboard layout',
+ date: '2013-02-12',
+ URL: 'http://github.com/wikimedia/jquery.ime',
+ author: 'Parag Nemade',
+ license: 'GPLv3',
+ version: '1.0',
+ patterns: [
+ ['\\#', 'Ñ'],
+ ['\\$', 'Ð'],
+ ['\\%', 'Ñ'],
+ ['\\^', 'Ъ'],
+ ['\\=', 'Ñ'],
+ ['\\+', 'Ч'],
+ ['`', 'Ñ'],
+ ['\\~', 'Ю'],
+ ['q', 'Ñ'],
+ ['Q', 'Я'],
+ ['w', 'в'],
+ ['W', 'Ð'],
+ ['e', 'е'],
+ ['E', 'Ð'],
+ ['r', 'Ñ'],
+ ['R', 'Ð '],
+ ['t', 'Ñ'],
+ ['T', 'Т'],
+ ['y', 'Ñ'],
+ ['Y', 'Ы'],
+ ['u', 'Ñ'],
+ ['U', 'У'],
+ ['i', 'и'],
+ ['I', 'Ð'],
+ ['o', 'о'],
+ ['O', 'Ð'],
+ ['p', 'п'],
+ ['P', 'Ð'],
+ ['\\[', 'Ñ'],
+ ['\\{', 'Ш'],
+ ['\\]', 'Ñ'],
+ ['\\}', 'Щ'],
+ ['a', 'а'],
+ ['A', 'Ð'],
+ ['s', 'Ñ'],
+ ['S', 'С'],
+ ['d', 'д'],
+ ['D', 'Ð'],
+ ['f', 'Ñ'],
+ ['F', 'Ф'],
+ ['g', 'г'],
+ ['G', 'Ð'],
+ ['h', 'Ñ
'],
+ ['H', 'Ð¥'],
+ ['j', 'й'],
+ ['J', 'Ð'],
+ ['k', 'к'],
+ ['K', 'Ð'],
+ ['l', 'л'],
+ ['L', 'Ð'],
+ ['\\\\', 'Ñ'],
+ ['\\|', 'Ð'],
+ ['z', 'з'],
+ ['Z', 'Ð'],
+ ['x', 'Ñ'],
+ ['X', 'Ь'],
+ ['c', 'Ñ'],
+ ['C', 'Ц'],
+ ['v', 'ж'],
+ ['V', 'Ð'],
+ ['b', 'б'],
+ ['B', 'Ð'],
+ ['n', 'н'],
+ ['N', 'Ð'],
+ ['m', 'м'],
+ ['M', 'Ð']]
+ };
+
+ $.ime.register( ruPhonetic );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ru/ru-yawerty.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ru/ru-yawerty.js
new file mode 100644
index 0000000..5ba0c77
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ru/ru-yawerty.js
@@ -0,0 +1,109 @@
+( function ( $ ) {
+ 'use strict';
+
+ var ruYawerty = {
+ id: 'ru-yawerty',
+ name: 'Russian YAWERTY',
+ description: 'Russian YAWERTY keyboard layout',
+ date: '2013-02-12',
+ URL: 'http://github.com/wikimedia/jquery.ime',
+ author: 'Parag Nemade',
+ license: 'GPLv3',
+ version: '1.0',
+ patterns: [
+ ['/q', 'Ñ'],
+ ['/w', 'Ñ'],
+ ['/e', 'Ñ'],
+ ['/r', 'Ñ'],
+ ['/t', 'Ñ'],
+ ['/y', 'Ñ'],
+ ['/u', 'Ñ'],
+ ['/i', 'Ñ'],
+ ['/o', 'Ñ'],
+ ['/p', 'Ñ'],
+ ['/a', 'Ñ'],
+ ['/s', 'Ñ'],
+ ['/d', 'Ñ'],
+ ['/Q', 'Ð'],
+ ['/W', 'Ð'],
+ ['/E', 'Ð'],
+ ['/R', 'Ð
'],
+ ['/T', 'Ð'],
+ ['/Y', 'Ð'],
+ ['/U', 'Ð'],
+ ['/I', 'Ð'],
+ ['/O', 'Ð'],
+ ['/P', 'Ð'],
+ ['/A', 'Ð'],
+ ['/S', 'Ð'],
+ ['/D', 'Ð'],
+
+ ['\\=', 'Ñ'],
+ ['`', 'Ñ'],
+ ['q', 'Ñ'],
+ ['w', 'в'],
+ ['e', 'е'],
+ ['r', 'Ñ'],
+ ['t', 'Ñ'],
+ ['y', 'Ñ'],
+ ['u', 'Ñ'],
+ ['i', 'и'],
+ ['o', 'о'],
+ ['p', 'п'],
+ ['\\[', 'Ñ'],
+ ['\\]', 'Ñ'],
+ ['a', 'а'],
+ ['s', 'Ñ'],
+ ['d', 'д'],
+ ['f', 'Ñ'],
+ ['g', 'г'],
+ ['h', 'Ñ
'],
+ ['j', 'й'],
+ ['k', 'к'],
+ ['l', 'л'],
+ ['\\\\', 'Ñ'],
+ ['z', 'з'],
+ ['x', 'Ñ'],
+ ['c', 'Ñ'],
+ ['v', 'ж'],
+ ['b', 'б'],
+ ['n', 'н'],
+ ['m', 'м'],
+ ['\\@', 'Ñ'],
+ ['\\#', 'Ñ'],
+ ['\\$', 'Ð'],
+ ['\\+', 'Ч'],
+ ['\\~', 'Ю'],
+ ['Q', 'Я'],
+ ['W', 'Ð'],
+ ['E', 'Ð'],
+ ['R', 'Ð '],
+ ['T', 'Т'],
+ ['Y', 'Ы'],
+ ['U', 'У'],
+ ['I', 'Ð'],
+ ['O', 'Ð'],
+ ['P', 'Ð'],
+ ['\\{', 'Ш'],
+ ['\\}', 'Щ'],
+ ['A', 'Ð'],
+ ['S', 'С'],
+ ['D', 'Ð'],
+ ['F', 'Ф'],
+ ['G', 'Ð'],
+ ['H', 'Ð¥'],
+ ['J', 'Ð'],
+ ['K', 'Ð'],
+ ['L', 'Ð'],
+ ['\\|', 'Ð'],
+ ['Z', 'Ð'],
+ ['X', 'Ь'],
+ ['C', 'Ц'],
+ ['V', 'Ð'],
+ ['B', 'Ð'],
+ ['N', 'Ð'],
+ ['M', 'Ð']]
+ };
+
+ $.ime.register( ruYawerty );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/sa/sa-iast.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/sa/sa-iast.js
new file mode 100644
index 0000000..e8e919f
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/sa/sa-iast.js
@@ -0,0 +1,59 @@
+( function ( $ ) {
+ 'use strict';
+
+ var saIast = {
+ id: 'sa-iast',
+ name: 'Romanized',
+ description: 'Romanized input method for Sanskrit with IAST/ISO 15919 convention. Original author William Giddings <wjgiddings at googlemail.com>',
+ date: '2013-03-18',
+ URL: 'http://github.com/wikimedia/jquery.ime',
+ author: 'Runa Bhattacharjee',
+ license: 'GPLv3',
+ version: '1.0',
+ contextLength: 0,
+ maxKeyLength: 2,
+ patterns: [
+ ['aa', 'Ä'],
+ ['AA', 'Ä'],
+ ['\\^a', 'â'],
+ ['\\^A', 'Ã'],
+ ['ii', 'Ä«'],
+ ['II', 'Ī'],
+ ['uu', 'Å«'],
+ ['UU', 'Ū'],
+ ['\\.r', 'á¹'],
+ ['\\.R', 'á¹'],
+ ['á¹r', 'á¹'],
+ ['á¹R', 'á¹'],
+ ['\\.l', 'ḷ'],
+ ['\\.L', 'Ḷ'],
+ ['ḷl', 'ḹ'],
+ ['ḶL', 'Ḹ'],
+ ['\\.M', 'á¹'],
+ ['\\.m', 'á¹'],
+ ['\\.h', 'ḥ'],
+ ['\\.H', 'Ḥ'],
+ [';n', 'á¹
'],
+ [';N', 'á¹'],
+ ['~n', 'ñ'],
+ ['~N', 'Ã'],
+ ['\\.t', 'á¹'],
+ ['\\.T', 'Ṭ'],
+ ['\\.d', 'á¸'],
+ ['\\.D', 'á¸'],
+ ['\\.n', 'á¹'],
+ ['\\.N', 'á¹'],
+ [';s', 'Å'],
+ [';S', 'Å'],
+ ['\\.s', 'á¹£'],
+ ['\\.S', 'á¹¢'],
+ ['ee', 'Ä'],
+ ['oo', 'Å'],
+ [';m', 'á¹'],
+ [',r', 'r̥'],
+ ['rÌ¥r', 'rÌ¥Ì']
+ ]
+ };
+
+ $.ime.register( saIast );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/sa/sa-inscript.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/sa/sa-inscript.js
new file mode 100644
index 0000000..b919f95
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/sa/sa-inscript.js
@@ -0,0 +1,113 @@
+( function ( $ ) {
+ 'use strict';
+
+ var saInScript = {
+ id: 'sa-inscript',
+ name: 'Sanskrit InScript',
+ description: 'Inscript keyboard for Sanskrit script',
+ date: '2012-10-16',
+ author: 'Junaid P V',
+ license: 'GPLv3',
+ version: '1.0',
+ patterns: [
+ ['X', 'à¤'],
+ ['x', 'à¤'],
+ ['_', 'à¤'],
+ ['D', 'à¤
'],
+ ['E', 'à¤'],
+ ['F', 'à¤'],
+ ['R', 'à¤'],
+ ['G', 'à¤'],
+ ['T', 'à¤'],
+ ['\\+', 'à¥'],
+ ['S', 'à¤'],
+ ['W', 'à¤'],
+ ['A', 'à¤'],
+ ['Q', 'à¤'],
+ ['k', 'à¤'],
+ ['K', 'à¤'],
+ ['i', 'à¤'],
+ ['I', 'à¤'],
+ ['U', 'à¤'],
+ ['\\;', 'à¤'],
+ ['\\:', 'à¤'],
+ ['p', 'à¤'],
+ ['P', 'à¤'],
+ ['\\}', 'à¤'],
+ ['\'', '', 'à¤'],
+ ['"', 'ठ'],
+ ['\\[', '','ड'],
+ ['\\{', '','ढ'],
+ ['C', 'ण'],
+ ['l', 'त'],
+ ['L', 'थ'],
+ ['o', 'द'],
+ ['O', 'ध'],
+ ['v', 'न'],
+ ['h', 'प'],
+ ['H', 'फ'],
+ ['y', 'ब'],
+ ['Y', 'à¤'],
+ ['c', 'म'],
+ ['\\?', '','य'],
+ ['j', 'र'],
+ ['n', 'ल'],
+ ['N', 'ळ'],
+ ['b', 'व'],
+ ['M', 'श'],
+ ['\\<', '','ष'],
+ ['m', 'स'],
+ ['u', 'ह'],
+ ['\\]', '','़'],
+ ['e', 'ा'],
+ ['f', 'ि'],
+ ['r', 'à¥'],
+ ['g', 'à¥'],
+ ['t', 'à¥'],
+ ['\\=', '','à¥'],
+ ['\\\\', 'à¥'],
+ ['s', 'à¥'],
+ ['w', 'à¥'],
+ ['a', 'à¥'],
+ ['q', 'à¥'],
+ ['d', 'à¥'],
+ ['\\|', 'ॠ'],
+ ['/', 'य'],
+ ['\\>', '।'],
+ ['0', '','०'],
+ ['1', '','१'],
+ ['2', '२'],
+ ['3', '३'],
+ ['4', '४'],
+ ['5', '५'],
+ ['6', '६'],
+ ['7', 'à¥'],
+ ['8', '८'],
+ ['9', '९'],
+ ['\\@', 'à¥
'],
+ ['\\#', '','à¥à¤°'],
+ ['\\$', '','रà¥'],
+ ['\\%', '','à¤à¥à¤'],
+ ['\\^', '','तà¥à¤°'],
+ ['\\&', 'à¤à¥à¤·'],
+ ['\\*', 'शà¥à¤°'],
+ ['\\(', '\u200D'],
+ ['\\)', '\u200C'] ],
+
+ patterns_x: [
+ ['F', 'à¤'],
+ ['\\>', 'ऽ'],
+ ['X', 'à¥'],
+ ['e', '\u0951'],
+ ['d', '\u0952'],
+ ['R', 'ॡ'],
+ ['f', 'ॢ'],
+ ['r', 'ॣ'],
+ ['\\.', '॥'],
+ ['\\@', '','à¥
'],
+ ['4', 'â¹']]
+
+ };
+
+ $.ime.register( saInScript );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/sa/sa-inscript2.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/sa/sa-inscript2.js
new file mode 100644
index 0000000..5aeaeee
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/sa/sa-inscript2.js
@@ -0,0 +1,117 @@
+( function ( $ ) {
+ 'use strict';
+
+ var saInScript2 = {
+ id: 'sa-inscript2',
+ name: 'सà¤à¤¸à¥à¤à¥à¤¤ à¤à¤¨à¤¸à¥à¤à¥à¤°à¤¿à¤ªà¥à¤ २',
+ description: 'Enhanced InScript keyboard for Sanskrit language',
+ date: '2012-11-06',
+ author: 'Parag Nemade',
+ license: 'GPLv3',
+ version: '1.0',
+ patterns: [
+ ['1', '१'],
+ ['\\@', 'à¥
'],
+ ['2', '२'],
+ ['\\#', 'à¥à¤°'],
+ ['3', '३'],
+ ['\\$', 'रà¥'],
+ ['4', '४'],
+ ['5', '५'],
+ ['6', '६'],
+ ['7', 'à¥'],
+ ['8', '८'],
+ ['\\(', '('],
+ ['9', '९'],
+ ['\\]', ']'],
+ ['0', '०'],
+ ['\\_', 'à¤'],
+ ['\\-', '-'],
+ ['\\+', 'à¤'],
+ ['\\=', 'à¥'],
+ ['Q', 'à¤'],
+ ['q', 'à¥'],
+ ['W', 'à¤'],
+ ['w', 'à¥'],
+ ['E', 'à¤'],
+ ['e', 'ा'],
+ ['R', 'à¤'],
+ ['r', 'à¥'],
+ ['T', 'à¤'],
+ ['t', 'à¥'],
+ ['Y', 'à¤'],
+ ['y', 'ब'],
+ ['U', 'à¤'],
+ ['u', 'ह'],
+ ['I', 'à¤'],
+ ['i', 'à¤'],
+ ['O', 'ध'],
+ ['o', 'द'],
+ ['P', 'à¤'],
+ ['p', 'à¤'],
+ ['\\{', 'ढ'],
+ ['\\[', 'ड'],
+ ['\\}', 'à¤'],
+ ['\\]', '़'],
+ ['\\|', 'ॠ'],
+ ['\\\\', 'à¥'],
+ ['A', 'à¤'],
+ ['a', 'à¥'],
+ ['S', 'à¤'],
+ ['s', 'à¥'],
+ ['D', 'à¤
'],
+ ['d', 'à¥'],
+ ['F', 'à¤'],
+ ['f', 'ि'],
+ ['G', 'à¤'],
+ ['g', 'à¥'],
+ ['H', 'फ'],
+ ['h', 'प'],
+ ['j', 'र'],
+ ['K', 'à¤'],
+ ['k', 'à¤'],
+ ['L', 'थ'],
+ ['l', 'त'],
+ [':', 'à¤'],
+ [';', 'à¤'],
+ ['"', 'ठ'],
+ ['\\\'', 'à¤'],
+ ['X', 'à¤'],
+ ['x', 'à¤'],
+ ['C', 'ण'],
+ ['c', 'म'],
+ ['v', 'न'],
+ ['b', 'व'],
+ ['N', 'ळ'],
+ ['n', 'ल'],
+ ['M', 'श'],
+ ['m', 'स'],
+ ['\\<', 'ष'],
+ [',', ','],
+ ['\\>', '।'],
+ ['\\.', '.'],
+ ['/', 'य'],
+ ['\\%', 'à¤à¥à¤'],
+ ['\\^', 'तà¥à¤°'],
+ ['\\&', 'à¤à¥à¤·'],
+ ['\\*', 'शà¥à¤°']
+ ],
+ patterns_x: [
+ ['1', '\u200d'],
+ ['2', '\u200c'],
+ ['4', 'â¹'],
+ ['e', 'à¥'],
+ ['R', 'ॡ'],
+ ['r', 'ॣ'],
+ ['d', 'à¥'],
+ ['F', 'à¤'],
+ ['f', 'ॢ'],
+ ['H', 'à¥'],
+ ['X', 'à¥'],
+ ['\\>', 'ऽ'],
+ ['\\.', '॥']
+ ]
+ };
+
+ $.ime.register( saInScript2 );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/sa/sa-transliteration.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/sa/sa-transliteration.js
new file mode 100644
index 0000000..30610bc
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/sa/sa-transliteration.js
@@ -0,0 +1,165 @@
+( function ( $ ) {
+ 'use strict';
+
+ var saTransliteration = {
+ id: 'sa-transliteration',
+ name: 'Sanskrit Transliteration',
+ description: 'Sanskrit transliteration',
+ date: '2012-10-16',
+ URL: 'http://github.com/wikimedia/jquery.ime',
+ author: 'Junaid P V and Naveen Shankar',
+ license: 'GPLv3',
+ version: '1.0',
+ contextLength: 4,
+ maxKeyLength: 2,
+ patterns: [
+ ['à¤à¥h','c','à¤à¥'],
+ ['\\\\([A-Za-z\\>_~\\.0-9])','\\\\','$1'],
+
+ ['([à¤-ह]़?)à¥a','$1'],
+ ['([à¤-ह]़?)à¥A','$1ा'],
+ ['([à¤-ह]़?)a','$1ा'],
+ ['([à¤-ह]़?)à¥i','$1ि'],
+ ['([à¤-ह]़?)(à¥I|िi|à¥e)','$1à¥'],
+ ['([à¤-ह]़?)à¥u','$1à¥'],
+ ['([à¤-ह]़?)(à¥u|à¥U|à¥o)','$1à¥'],
+ ['([à¤-ह]़?)à¥R','$1à¥'],
+ ['([à¤-ह]़?)à¥R','$1à¥'],
+ ['([à¤-ह]़?)à¥à¤³à¥l','$1ॢ'],
+ ['([à¤-ह]़?)ॢl','$1ॣ'],
+ ['([à¤-ह]़?)à¥\\^','$1à¥
'],
+ ['([à¤-ह]़?)à¥e','$1à¥'],
+ ['([à¤-ह]़?)à¥E','$1à¥
'],
+ ['([à¤-ह]़?)à¥\\^','$1à¥'],
+ ['([à¤-ह]़?)i','$1à¥'],
+ ['([à¤-ह]़?)à¥o','$1à¥'],
+ ['([à¤-ह]़?)à¥O','$1à¥'],
+ ['([à¤-ह]़?)u','$1à¥'],
+ ['([à¤-ह]़?)à¥a','$1à¥à¤±'],
+ ['([à¤-ह]़?)à¥A','$1à¥à¤±à¤¾'],
+ ['([à¤-ह]़?)à¥i','$1à¥à¤±à¤¿'],
+ ['([à¤-ह]़?)à¥I','$1à¥à¤±à¥'],
+ ['([à¤-ह]़?)à¥u','$1à¥à¤±à¥'],
+ ['([à¤-ह]़?)à¥U','$1à¥à¤±à¥'],
+ ['([à¤-ह]़?)à¥\\^','$1à¥à¤±à¥
'],
+ ['([à¤-ह]़?)à¥e','$1à¥à¤±à¥'],
+ ['([à¤-ह]़?)à¥E','1à¥à¤±à¥
'],
+ ['([à¤-ह]़?)à¥o','$1à¥à¤±à¥'],
+ ['([à¤-ह]़?)à¥O','$1à¥à¤±à¥'],
+ ['([à¤-ह]़?)à¥\\~','$1à¥à¤±à¥'],
+ ['([à¤-ह])à¥\\`','$1़à¥'],
+
+ ['à¤
a','à¤'],
+ ['(à¤o|à¤u)','à¤'],
+ ['à¤\\^','à¤'],
+ ['à¤
i','à¤'],
+ ['à¤
\\^','ॲ'],
+ ['(à¤i|à¤e)','à¤'],
+ ['à¤\\^','à¤'],
+ ['à¤
u','à¤'],
+ ['à¤R','ॠ'],
+ ['ळà¥l','à¤'],
+ ['à¤l','ॡ'],
+ ['à¤\\^','à¤'],
+ ['à¤m','à¤'],
+ ['à¤M','à¥'],
+
+ ['à¤à¥h','à¤à¥'],
+ ['à¤à¥h','à¤à¥'],
+ ['नà¥g','à¤à¥'],
+ ['à¤à¥h','à¤à¥'],
+ ['à¤à¥h','à¤à¥'],
+ ['नà¥j','à¤à¥'],
+ ['à¤à¥h','ठà¥'],
+ ['डà¥h','ढà¥'],
+ ['तà¥h','थà¥'],
+ ['दà¥h','धà¥'],
+ ['पà¥h','फà¥'],
+ ['बà¥h','à¤à¥'],
+ ['à¤a','ऱ'],
+ ['à¤A','ऱा'],
+ ['à¤i','ऱि'],
+ ['à¤I','ऱà¥'],
+ ['à¤u','ऱà¥'],
+ ['à¤U','ऱà¥'],
+ ['à¤\\^','ऱà¥
'],
+ ['à¤e','ऱà¥'],
+ ['à¤E','ऱà¥'],
+ ['à¤o','ऱà¥'],
+ ['à¤O','ऱà¥'],
+ ['à¤\\~','ऱà¥'],
+
+ ['सà¥h','षà¥'],
+ ['à¤à¤¼à¥h','à¤à¤¼à¥'],
+ ['à¤à¤¼à¥h','ऴà¥'],
+ ['।\\.','॥'],
+
+ ['a','à¤
'],
+ ['b','बà¥'],
+ ['c','à¤à¥'],
+ ['d','दà¥'],
+ ['e','à¤'],
+ ['(f|F)','फ़à¥'],
+ ['g','à¤à¥'],
+ ['h','हà¥'],
+ ['i','à¤'],
+ ['j','à¤à¥'],
+ ['k','à¤à¥'],
+ ['l','लà¥'],
+ ['m','मà¥'],
+ ['n','नà¥'],
+ ['o','à¤'],
+ ['p','पà¥'],
+ ['q','à¤à¤¼à¥'],
+ ['r','रà¥'],
+ ['s','सà¥'],
+ ['t','तà¥'],
+ ['u','à¤'],
+ ['(v|w)','वà¥'],
+ ['x','à¤à¥à¤·à¥'],
+ ['y','यà¥'],
+ ['(z|Z)','à¤à¤¼à¥'],
+ ['A','à¤'],
+ ['B','बà¥à¤¬à¥'],
+ ['C','à¤à¥à¤à¥'],
+ ['D','डà¥'],
+ ['E','à¤'],
+ //'F','फà¥'],
+ ['G','à¤à¥à¤à¥'],
+ ['H','à¤'],
+ ['I','à¤'],
+ ['J','à¤à¥à¤à¥'],
+ ['K','à¤à¥à¤à¥'],
+ ['L','ळà¥'],
+ ['M','à¤'],
+ ['N','णà¥'],
+ ['O','à¤'],
+ ['P','पà¥à¤ªà¥'],
+ //'Q','à¤
'],
+ ['R','à¤'],
+ ['S','शà¥'],
+ ['T','à¤à¥'],
+ ['U','à¤'],
+ ['(V|W)','वà¥à¤µà¥'],
+ ['X','à¤à¥à¤·à¥'],
+ ['Y','यà¥à¤¯à¥'],
+ //'z','à¤
'
+ ['0','०'],
+ ['1','१'],
+ ['2','२'],
+ ['3','३'],
+ ['4','४'],
+ ['5','५'],
+ ['6','६'],
+ ['7','à¥'],
+ ['8','८'],
+ ['9','९'],
+ ['~','à¥'],
+ ['\\.','।'],
+ ['//','ऽ'],
+ ['\\`','़'],
+ ['(\u200C)*_', '\u200c']]
+ };
+ $.ime.register( saTransliteration );
+
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/sah/sah-transliteration.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/sah/sah-transliteration.js
new file mode 100644
index 0000000..235ac3c
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/sah/sah-transliteration.js
@@ -0,0 +1,103 @@
+( function ( $ ) {
+ 'use strict';
+
+ var sahTransliteration = {
+ id: 'sah-transliteration',
+ name: 'Sakha Transliteration',
+ description: 'Sakha transliteration',
+ date: '2012-10-16',
+ URL: 'http://github.com/wikimedia/jquery.ime',
+ author: 'Amir (ÐлекÑей) Aharoni',
+ license: 'GPLv3',
+ version: '1.0',
+ patterns: [
+ ['Q', 'Ð'],
+ ['W', 'Ц'],
+ ['E', 'У'],
+ ['R', 'Ð'],
+ ['T', 'Ð'],
+ ['Y', 'Ð'],
+ ['U', 'Ð'],
+ ['I', 'Ш'],
+ ['O', 'Щ'],
+ ['P', 'Ð'],
+ ['{', 'Ð¥'],
+ ['}', 'Ъ'],
+ ['A', 'Ф'],
+ ['S', 'Ы'],
+ ['D', 'Ð'],
+ ['F', 'Ð'],
+ ['G', 'Ð'],
+ ['H', 'Ð '],
+ ['J', 'Ð'],
+ ['K', 'Ð'],
+ ['L', 'Ð'],
+ [':', 'Ð'],
+ ['"', 'Ð'],
+ ['Z', 'Я'],
+ ['X', 'Ч'],
+ ['C', 'С'],
+ ['V', 'Ð'],
+ ['B', 'Ð'],
+ ['N', 'Т'],
+ ['M', 'Ь'],
+ ['<', 'Ð'],
+ ['>', 'Ю'],
+ ['\\?', ','],
+
+ ['q', 'й'],
+ ['w', 'Ñ'],
+ ['e', 'Ñ'],
+ ['r', 'к'],
+ ['t', 'е'],
+ ['y', 'н'],
+ ['u', 'г'],
+ ['i', 'Ñ'],
+ ['o', 'Ñ'],
+ ['p', 'з'],
+ ['\\[', 'Ñ
'],
+ ['\\]', 'Ñ'],
+ ['a', 'Ñ'],
+ ['s', 'Ñ'],
+ ['d', 'в'],
+ ['f', 'а'],
+ ['g', 'п'],
+ ['h', 'Ñ'],
+ ['j', 'о'],
+ ['k', 'л'],
+ ['l', 'д'],
+ [';', 'ж'],
+ ['\'', 'Ñ'],
+ ['z', 'Ñ'],
+ ['x', 'Ñ'],
+ ['c', 'Ñ'],
+ ['v', 'м'],
+ ['b', 'и'],
+ ['n', 'Ñ'],
+ ['m', 'Ñ'],
+ [',', 'б'],
+ ['\\.', 'Ñ'],
+ ['/', '.'],
+
+ ['`', '"'],
+ ['~', 'â'],
+
+ ['1', '!'], // 1
+ ['!', '?'], // 1
+ // 2, 3 - ?
+ ['4', 'Ò¥'], // 4
+ ['\\$', 'Ò¤'], // 4
+ ['5', 'Ò'], // 5
+ ['%', 'Ò'], // 5
+ ['6', 'Ó©'], // 6
+ ['\\^', 'Ó¨'], // 6
+ ['7', 'Ò»'], // 7
+ ['&', 'Òº'], // 7
+ ['8', 'Ò¯'], // 8
+ ['\\*', 'Ò®'], // 8
+ ['9', ';'], // 9
+ ['0', ':']] // 0
+ };
+
+ $.ime.register( sahTransliteration );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/sat/sat-inscript2.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/sat/sat-inscript2.js
new file mode 100644
index 0000000..4c8a790
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/sat/sat-inscript2.js
@@ -0,0 +1,107 @@
+( function ( $ ) {
+ 'use strict';
+
+ var satInScript2 = {
+ id: 'sat-inscript2',
+ name: 'सà¤à¤¤à¤¾à¤²à¥ à¤à¤¨à¤¸à¥à¤à¥à¤°à¤¿à¤ªà¥à¤ २',
+ description: 'Enhanced InScript keyboard for Santali language',
+ date: '2013-20-13',
+ author: 'Parag Nemade',
+ license: 'GPLv3',
+ version: '1.0',
+ patterns: [
+ ['1', '१'],
+ ['2', '२'],
+ ['\\#', 'à¥à¤°'],
+ ['3', '३'],
+ ['\\$', 'रà¥'],
+ ['4', '४'],
+ ['5', '५'],
+ ['6', '६'],
+ ['7', 'à¥'],
+ ['8', '८'],
+ ['\\(', '('],
+ ['9', '९'],
+ ['\\]', ']'],
+ ['0', '०'],
+ ['\\_', 'à¤'],
+ ['\\-', '-'],
+ ['Q', 'à¤'],
+ ['q', 'à¥'],
+ ['W', 'à¤'],
+ ['w', 'à¥'],
+ ['E', 'à¤'],
+ ['e', 'ा'],
+ ['R', 'à¤'],
+ ['r', 'à¥'],
+ ['T', 'à¤'],
+ ['t', 'à¥'],
+ ['Y', 'à¤'],
+ ['y', 'ब'],
+ ['U', 'à¤'],
+ ['u', 'ह'],
+ ['I', 'à¤'],
+ ['i', 'à¤'],
+ ['O', 'ध'],
+ ['o', 'द'],
+ ['P', 'à¤'],
+ ['p', 'à¤'],
+ ['\\{', 'ढ'],
+ ['\\[', 'ड'],
+ ['\\}', 'à¤'],
+ ['\\]', '़'],
+ ['A', 'à¤'],
+ ['a', 'à¥'],
+ ['S', 'à¤'],
+ ['s', 'à¥'],
+ ['D', 'à¤
'],
+ ['d', 'à¥'],
+ ['F', 'à¤'],
+ ['f', 'ि'],
+ ['G', 'à¤'],
+ ['g', 'à¥'],
+ ['H', 'फ'],
+ ['h', 'प'],
+ ['j', 'र'],
+ ['K', 'à¤'],
+ ['k', 'à¤'],
+ ['L', 'थ'],
+ ['l', 'त'],
+ [':', 'à¤'],
+ [';', 'à¤'],
+ ['\"', 'ठ'],
+ ['\'', 'à¤'],
+ ['z', 'ʼ'],
+ ['X', 'à¤'],
+ ['x', 'à¤'],
+ ['C', 'ण'],
+ ['c', 'म'],
+ ['v', 'न'],
+ ['b', 'व'],
+ ['n', 'ल'],
+ ['m', 'स'],
+ [',', ','],
+ ['\\>', '।'],
+ ['\\.', '.'],
+ ['\\?', '?'],
+ ['/', 'य'],
+ ['\\%', 'à¤à¥à¤'],
+ ['\\^', 'तà¥à¤°'],
+ ['\\&', 'à¤à¥à¤·'],
+ ['\\*', 'शà¥à¤°']
+ ],
+ patterns_x: [
+ ['1', '\u200d'],
+ ['2', '\u200c'],
+ ['4', 'â¹'],
+ ['F', 'à¤'],
+ ['X', 'à¥'],
+ ['N', 'ळ'],
+ [',', '॰'],
+ ['\\>', 'ऽ'],
+ ['\\.', '॥']
+ ]
+ };
+ $.ime.register( satInScript2 );
+
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/sd/sd-inscript2.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/sd/sd-inscript2.js
new file mode 100644
index 0000000..438ceea
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/sd/sd-inscript2.js
@@ -0,0 +1,124 @@
+( function ( $ ) {
+ 'use strict';
+
+ var sdInScript2 = {
+ id: 'sd-inscript2',
+ name: 'सिà¤à¤§à¥ à¤à¤¨à¤¸à¥à¤à¥à¤°à¤¿à¤ªà¥à¤ २',
+ description: 'Enhanced InScript keyboard for Sindhi language',
+ date: '2013-20-13',
+ author: 'Parag Nemade',
+ license: 'GPLv3',
+ version: '1.0',
+ patterns: [
+ ['1', '१'],
+ ['2', '२'],
+ ['\\#', 'à¥à¤°'],
+ ['3', '३'],
+ ['\\$', 'रà¥'],
+ ['4', '४'],
+ ['5', '५'],
+ ['6', '६'],
+ ['7', 'à¥'],
+ ['8', '८'],
+ ['\\(', '('],
+ ['9', '९'],
+ ['\\]', ']'],
+ ['0', '०'],
+ ['\\-', '-'],
+ ['\\+', 'à¤'],
+ ['\\=', 'à¥'],
+ ['Q', 'à¤'],
+ ['q', 'à¥'],
+ ['W', 'à¤'],
+ ['w', 'à¥'],
+ ['E', 'à¤'],
+ ['e', 'ा'],
+ ['R', 'à¤'],
+ ['r', 'à¥'],
+ ['T', 'à¤'],
+ ['t', 'à¥'],
+ ['Y', 'à¤'],
+ ['y', 'ब'],
+ ['U', 'à¤'],
+ ['u', 'ह'],
+ ['I', 'à¤'],
+ ['i', 'à¤'],
+ ['O', 'ध'],
+ ['o', 'द'],
+ ['P', 'à¤'],
+ ['p', 'à¤'],
+ ['\\{', 'ढ'],
+ ['\\[', 'ड'],
+ ['\\}', 'à¤'],
+ ['\\]', '़'],
+ ['A', 'à¤'],
+ ['a', 'à¥'],
+ ['S', 'à¤'],
+ ['s', 'à¥'],
+ ['D', 'à¤
'],
+ ['d', 'à¥'],
+ ['F', 'à¤'],
+ ['f', 'ि'],
+ ['G', 'à¤'],
+ ['g', 'à¥'],
+ ['H', 'फ'],
+ ['h', 'प'],
+ ['j', 'र'],
+ ['K', 'à¤'],
+ ['k', 'à¤'],
+ ['L', 'थ'],
+ ['l', 'त'],
+ [':', 'à¤'],
+ [';', 'à¤'],
+ ['\"', 'ठ'],
+ ['\'', 'à¤'],
+ ['X', 'à¤'],
+ ['C', 'ण'],
+ ['c', 'म'],
+ ['v', 'न'],
+ ['b', 'व'],
+ ['n', 'ल'],
+ ['M', 'श'],
+ ['m', 'स'],
+ ['\\<', 'ष'],
+ [',', ','],
+ ['\\>', '।'],
+ ['\\.', '.'],
+ ['/', 'य'],
+ ['\\%', 'à¤à¥à¤'],
+ ['\\^', 'तà¥à¤°'],
+ ['\\&', 'à¤à¥à¤·'],
+ ['\\*', 'शà¥à¤°']
+ ],
+ patterns_x: [
+ ['1', '\u200d'],
+ ['2', '\u200c'],
+ ['4', 'â¹'],
+ ['\\+', 'ॠ'],
+ ['\\=', 'à¥'],
+ ['e', 'à¥'],
+ ['i', 'à¥'],
+ ['R', 'ॡ'],
+ ['r', 'ॣ'],
+ ['p', 'à¥'],
+ ['\\{', 'à¥'],
+ ['\\[', 'à¥'],
+ ['H', 'à¥'],
+ ['J', 'ॻ'],
+ ['K', 'à¥'],
+ ['k', 'à¥'],
+ ['d', 'à¥'],
+ ['F', 'à¤'],
+ ['f', 'ॢ'],
+ ['x', 'à¥'],
+ ['V', 'ॾ'],
+ ['B', 'ॿ'],
+ ['N', 'ॼ'],
+ [',', '॰'],
+ ['\\>', 'ऽ'],
+ ['\\.', '॥']
+ ]
+ };
+
+ $.ime.register( sdInScript2 );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/se/se-normforms.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/se/se-normforms.js
new file mode 100644
index 0000000..1b4068d
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/se/se-normforms.js
@@ -0,0 +1,38 @@
+( function ( $ ) {
+ 'use strict';
+
+ var defs = {
+ id: 'se-normforms',
+ name: 'Davvisámegiella',
+ description: 'Northern Sami input method',
+ date: '2012-12-04',
+ URL: 'http://giellatekno.uit.no/doc/infra/samihtml.html',
+ author: 'John Erling Blad',
+ license: 'GPLv3',
+ version: '1.0',
+ //contextLength: 1,
+ maxKeyLength: 3,
+ patterns: [
+ // Uses "~" as "approximatly similar to"
+ [ '\'a', 'á' ], // The simple ~a does not work as there is a "ã"
+ [ '\'A', 'Ã' ], // The simple ~A does not work as there is a "Ã"
+ [ '~c', 'Ä' ],
+ [ '~C', 'Ä' ],
+ [ '~d', 'Ä' ],
+ [ '~D', 'Ä' ],
+ //[ '~ng', 'Å' ], // The simple ~n does not work as there is a "ñ"
+ //[ '~NG', 'Å' ], // The simple ~N does not work as there is a "Ã"
+ [ '~g', 'Å' ],
+ [ '~G', 'Å' ],
+ [ '~s', 'Å¡' ],
+ [ '~S', 'Å ' ],
+ [ '~t', 'ŧ' ],
+ [ '~T', 'Ŧ' ],
+ [ '~z', 'ž' ],
+ [ '~Z', 'Ž' ]
+ // historically similar forms
+ ]
+ };
+
+ $.ime.register( defs );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/si/si-singlish.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/si/si-singlish.js
new file mode 100644
index 0000000..8ba93b1
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/si/si-singlish.js
@@ -0,0 +1,110 @@
+( function ( $ ) {
+ 'use strict';
+
+ var siSinglish = {
+ id: 'si-singlish',
+ name: 'Sinhalese Singlish',
+ description: 'Singlish',
+ date: '2012-10-16',
+ URL: 'http://github.com/wikimedia/jquery.ime',
+ author: 'Junaid P V and Nishantha Anuruddha',
+ license: 'GPLv3',
+ version: '1.0',
+ contextLength: 5,
+ maxKeyLength: 2,
+ patterns: [
+ //['ඬà·à·à·a', 'ඳ'], // nndha
+ ['ඬà·h', 'ඳà·'], // nndh
+ ['නà·à¶±à·d', 'ඬà·'], // nnd
+ ['නà·à¶±à·g', 'à¶à·'],// nng
+ ['\\u0DC1\\u0DCA\\u200D\\u0DBB\\u0DD2i', '\u0DC1\u0DCA\u200D\u0DBB\u0DD3'],// shrii
+ ['\\u0DC1\\u0DCA\\u200D\\u0DBBi', '\u0DC1\u0DCA\u200D\u0DBB\u0DD2'],// shri
+ ['à·à·r', '\u0DC1\u0DCA\u200D\u0DBB'], // shr
+
+ ['([\\u0D9A-\\u0DC6])à·\\u200Dරà·u', '$1à·'], // <consonant>ru
+ ['([\\u0D9A-\\u0DC6])à·u', '$1à·²'], // <consonant>ruu
+
+ ['([\\u0D9A-\\u0DC6])à·a', '$1'], // <consonant>a
+ ['([\\u0D9A-\\u0DC6])a', '$1à·'], // <consonant>aa
+ ['([\\u0D9A-\\u0DC6])à·A', '$1à·'], // <consonant>A
+ ['([\\u0D9A-\\u0DC6])à·a', '$1à·'], // <consonant>Aa
+ ['([\\u0D9A-\\u0DC6])à·i', '$1à·'], // <consonant>i
+ ['([\\u0D9A-\\u0DC6])à·[ei]', '$1à·'], // <consonant>ie
+ ['([\\u0D9A-\\u0DC6])à·u', '$1à·'], // <consonant>u
+ ['([\\u0D9A-\\u0DC6])à·u', '$1à·'], // <consonant>u
+ ['([\\u0D9A-\\u0DC6])à·e', '$1à·'], // <consonant>e
+ ['([\\u0D9A-\\u0DC6])à·[ai]', '$1à·'], // <consonant>ei
+ ['([\\u0D9A-\\u0DC6])à·o', '$1à·'], // <consonant>o
+ ['([\\u0D9A-\\u0DC6])à·e', '$1à·'], // <consonant>oe
+ ['([\\u0D9A-\\u0DC6])u', '$1à·'], // <consonant>au
+ ['([\\u0D9A-\\u0DC6])à·I', '$1à·'], // <consonant>I
+
+ ['([\\u0D9A-\\u0DC6]à·)r', '$1\u200Dරà·'], // <consonant>r
+
+ ['à·
à·u', 'à·
à·à·'], // Luu
+
+ ['(à¶à·h|K)', 'à¶à·'], // kh K
+ ['(à¶à·h|G)', 'à¶à·'], // gh G
+ ['à·à·h', 'à·à·'], // sh
+ ['ch', 'චà·'],
+ ['Ch', 'ඡà·'],
+ ['Sh', 'à·à·'],
+ ['à¶à·N', 'ඥà·'], // GN
+ ['ඨà·h', 'ථà·'], // Th
+ ['à¶à·N', 'ඤà·'], // KN
+ ['ටà·h', 'à¶à·'], // th
+ ['ඪà·h', 'ධà·'], // Dh
+ ['ඩà·h', 'දà·'], // dh
+ ['(පà·h|P)', 'ඵà·'], // ph P
+ ['à·
à·u', 'à·
à·'], // Lu
+ ['බà·h', 'භà·'], // bh
+
+ ['(\\\\r|R)', '\u0DBB\u0DCA\u200D'], // \r R
+ ['(\\\\y|Y)', '\u200D\u0DBA\u0DCA'], // \y Y
+
+ ['à¶
(a|\\))', 'à¶'], // aa a)
+ ['à¶(a|\\))', 'à¶'], // Aa A) ae
+ ['(à¶[i\\)e]|à¶e)', 'à¶'], // ii i) ie ee
+ ['à¶[a\\)i]', 'à¶'], // ea e) ei
+ ['à¶[e\\)]', 'à¶'], // oe o)
+ ['(à¶[u\\)]|à¶o)', 'à¶'], // uu u) oo
+ ['à¶
u', 'à¶'], // au
+
+ ['\\\\n', 'à¶'],
+ ['\\\\h', 'à¶'],
+ ['\\\\N', 'à¶'],
+ ['\\\\R', 'à¶'],
+
+ ['a', 'à¶
'],
+ ['A', 'à¶'],
+ ['i', 'à¶'],
+ ['e', 'à¶'],
+ ['o', 'à¶'],
+ ['u', 'à¶'],
+
+ ['k', 'à¶à·'],
+ ['b', 'බà·'],
+ ['B', 'ඹà·'],
+ ['g', 'à¶à·'],
+ ['m', 'මà·'],
+ ['y', 'යà·'],
+ ['j', 'ජà·'],
+ ['r', 'රà·'],
+ ['T', 'ඨà·'],
+ ['f', 'à·à·'],
+ ['t', 'ටà·'],
+ ['l', 'ලà·'],
+ ['D', 'ඪà·'],
+ ['d', 'ඩà·'],
+ ['(w|v)', 'à·à·'],
+ ['s', 'à·à·'],
+ ['q', 'ඣà·'],
+ ['h', 'à·à·'],
+ ['n', 'නà·'],
+ ['N', 'ණà·'],
+ ['p', 'පà·'],
+ ['L', 'à·
à·']]
+ };
+
+ $.ime.register( siSinglish );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/si/si-wijesekara.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/si/si-wijesekara.js
new file mode 100644
index 0000000..32f2d85
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/si/si-wijesekara.js
@@ -0,0 +1,105 @@
+( function ( $ ) {
+ 'use strict';
+
+ var siWijesekara = {
+ id: 'si-wijesekara',
+ name: 'Sinhalese Wijesekara',
+ description: 'Wijesekara layout for Sinhalese',
+ date: '2012-10-16',
+ URL: 'http://www.ucsc.lk/ltrl/services/layout/',
+ author: 'Junaid P V',
+ license: 'GPLv3',
+ version: '1.0',
+ contextLength: 0,
+ maxKeyLength: 2,
+ patterns: [
+ ['`', '\u0DCA\u200D\u0DBB'],
+ ['~', '\u0DBB\u0DCA\u200D'],
+ ['q', 'à·'],
+ ['w', 'à¶
'],
+ ['à¶
e', 'à¶'],
+ ['e', 'à·'],
+ ['r', 'ර'],
+ ['à·t', 'à¶'],
+ ['t', 'à¶'],
+ ['y', 'à·'],
+ ['u', 'ම'],
+ ['i', 'à·'],
+ ['o', 'ද'],
+ ['p', 'ච'],
+ ['\\[', 'ඤ'],
+ ['\\]', ';'],
+ ['à¶a', 'à¶'],
+ ['à¶a', 'à¶'],
+ ['a', 'à·'],
+ ['s', 'à·'],
+ ['à¶
d', 'à¶'],
+ ['d', 'à·'],
+ ['f', 'à·'],
+ ['g', 'ට'],
+ ['h', 'ය'],
+ ['j', 'à·'],
+ ['k', 'න'],
+ ['l', 'à¶'],
+ [';', 'à¶'],
+ ['\'', '.'],
+ ['z', '\''],
+ ['x', 'à¶'],
+ ['c', 'ජ'],
+ ['v', 'ඩ'],
+ ['b', 'à¶'],
+ ['n', 'බ'],
+ ['m', 'ප'],
+ ['\\,', 'ල'],
+ ['\\.', 'à¶'],
+
+ ['Q', 'à·'],
+ ['W', 'à¶'],
+ ['à¶
E', 'à¶'],
+ ['E', 'à·'],
+ ['R', 'à¶'],
+ ['T', 'à¶'],
+ ['Y', 'à·'],
+ ['U', 'ඹ'],
+ ['I', 'à·'],
+ ['O', 'ධ'],
+ ['P', 'ඡ'],
+ ['\\{', 'ඥ'],
+ ['\\}', ':'],
+ ['à¶A', 'à¶'],
+ ['à¶A', 'à¶'],
+ ['à¶A', 'à¶'],
+ ['A', 'à·'],
+ ['S', 'à·'],
+ ['à¶D', 'à¶'],
+ ['à·D', 'à·²'],
+ ['D', 'à·'],
+ ['F', 'à·'],
+ ['G', 'ඨ'],
+ ['H', 'ය'],
+ ['J', 'à·
'],
+ ['K', 'ණ'],
+ ['L', 'à¶'],
+ ['\\:', 'ථ'],
+ ['\"', ','],
+ ['Z', '"'],
+ ['X', 'à¶'],
+ ['C', 'ඣ'],
+ ['V', 'ඪ'],
+ ['B', 'à¶'],
+ ['N', 'භ'],
+ ['M', 'ඵ'],
+ ['\\<', 'à·
'],
+ ['\\>', 'à¶']],
+ patterns_x: [
+ ['o', 'ඳ'],
+ ['v', 'ඬ'],
+ ['\'', 'à·´'],
+ ['a', 'à·³'],
+ ['\\.', 'à¶'],
+ ['x', 'ඦ'],
+ [',', 'à¶']]
+ };
+
+ $.ime.register( siWijesekara );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/sk/sk-kbd.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/sk/sk-kbd.js
new file mode 100644
index 0000000..a8278c0
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/sk/sk-kbd.js
@@ -0,0 +1,105 @@
+( function ( $ ) {
+ 'use strict';
+
+ var skKbd = {
+ id: 'sk-kbd',
+ name: 'Slovak kbd',
+ description: 'Slovak kbd keyboard layout',
+ date: '2013-06-26',
+ URL: 'http://github.com/wikimedia/jquery.ime',
+ author: 'Parag Nemade',
+ license: 'GPLv3',
+ version: '1.1',
+ patterns: [
+ ['1', '+'],
+ ['2', 'ľ'],
+ ['3', 'Å¡'],
+ ['4', 'Ä'],
+ ['5', 'Å¥'],
+ ['6', 'ž'],
+ ['7', 'ý'],
+ ['8', 'á'],
+ ['9', 'Ã'],
+ ['0', 'é'],
+ ['!', '1'],
+ ['@', '2'],
+ ['#', '3'],
+ ['\\$', '4'],
+ ['%', '5'],
+ ['\\^', '6'],
+ ['&', '7'],
+ ['\\*', '8'],
+ ['\\(', '9'],
+ ['\\)', '0'],
+ ['-', '='],
+ ['_', '%'],
+ ['=', '´'],
+ ['\\+', 'Ë'],
+ ['\\[', 'ú'],
+ ['\\{', '/'],
+ ['\\]', 'ä'],
+ ['\\}', '('],
+ ['\\\\', 'Å'],
+ ['\\|', ')'],
+ [';', 'ô'],
+ [':', '\"'],
+ ['\'', '§'],
+ ['\"', '!'],
+ ['\\<', '?'],
+ ['\\>', ':'],
+ ['/', '-'],
+ ['\\?', '_'],
+ ['`', ';'],
+ ['~', '°'],
+
+ ['´a', 'á'],
+ ['´A', 'Ã'],
+ ['´e', 'é'],
+ ['´E', 'Ã'],
+ ['´i', 'Ã'],
+ ['´I', 'Ã'],
+ ['´l', 'ĺ'],
+ ['´L', 'Ĺ'],
+ ['´o', 'ó'],
+ ['´O', 'Ã'],
+ ['´r', 'Å'],
+ ['´R', 'Å'],
+ ['´u', 'ú'],
+ ['´U', 'Ã'],
+ ['´y', 'ý'],
+ ['´Y', 'Ã'],
+
+ ['¨a', 'ä'],
+ ['¨A', 'Ã'],
+ ['\\^o', 'ô'],
+ ['\\^O', 'Ã'],
+
+ ['Ëc', 'Ä'],
+ ['ËC', 'Ä'],
+ ['Ëd', 'Ä'],
+ ['ËD', 'Ä'],
+ ['Ël', 'ľ'],
+ ['ËL', 'Ľ'],
+ ['Ën', 'Å'],
+ ['ËN', 'Å'],
+ ['Ës', 'Å¡'],
+ ['ËS', 'Å '],
+ ['Ët', 'Å¥'],
+ ['ËT', 'Ť'],
+ ['Ëz', 'ž'],
+ ['ËZ', 'Ž'],
+
+ // It's QWERTZ
+ ['y', 'z'],
+ ['z', 'y'],
+ ['Y', 'Z'],
+ ['Z', 'Y']
+ ],
+ patterns_x: [
+ ['3', '^'],
+ ['=', '¨']
+ ]
+ };
+
+ $.ime.register( skKbd );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/sr/sr-kbd.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/sr/sr-kbd.js
new file mode 100644
index 0000000..87aec37
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/sr/sr-kbd.js
@@ -0,0 +1,98 @@
+( function ( $ ) {
+ 'use strict';
+
+ var srKbd = {
+ id: 'sr-kbd',
+ name: 'Serbian keyboard',
+ description: 'Serbian keyboard layout',
+ date: '2013-02-12',
+ URL: 'http://github.com/wikimedia/jquery.ime',
+ author: 'Parag Nemade',
+ license: 'GPLv3',
+ version: '1.0',
+ patterns: [
+ ['\'g', 'Ñ'],
+ ['\'G', 'Ð'],
+ ['\'k', 'Ñ'],
+ ['\'K', 'Ð'],
+ ['\\@', '\"'],
+ ['\\^', '&'],
+ ['\\&', '/'],
+ ['\\*', '('],
+ ['\\(', ')'],
+ ['\\)', '='],
+ ['\\-', '\''],
+ ['\\_', '?'],
+ ['\\=', '+'],
+ ['\\+', '*'],
+ ['q', 'Ñ'],
+ ['Q', 'Ð'],
+ ['w', 'Ñ'],
+ ['W', 'Ð'],
+ ['e', 'е'],
+ ['E', 'Ð'],
+ ['r', 'Ñ'],
+ ['R', 'Ð '],
+ ['t', 'Ñ'],
+ ['T', 'Т'],
+ ['y', 'з'],
+ ['Y', 'Ð'],
+ ['u', 'Ñ'],
+ ['U', 'У'],
+ ['i', 'и'],
+ ['I', 'Ð'],
+ ['o', 'о'],
+ ['O', 'Ð'],
+ ['p', 'п'],
+ ['P', 'Ð'],
+ ['\\[', 'Ñ'],
+ ['\\{', 'Ш'],
+ ['\\]', 'Ñ'],
+ ['\\}', 'Ð'],
+ ['a', 'а'],
+ ['A', 'Ð'],
+ ['s', 'Ñ'],
+ ['S', 'С'],
+ ['d', 'д'],
+ ['D', 'Ð'],
+ ['f', 'Ñ'],
+ ['F', 'Ф'],
+ ['g', 'г'],
+ ['G', 'Ð'],
+ ['h', 'Ñ
'],
+ ['H', 'Ð¥'],
+ ['j', 'Ñ'],
+ ['J', 'Ð'],
+ ['k', 'к'],
+ ['K', 'Ð'],
+ ['l', 'л'],
+ ['L', 'Ð'],
+ [';', 'Ñ'],
+ [':', 'Ч'],
+ ['\'', 'Ñ'],
+ ['\"', 'Ð'],
+ ['\\', 'ж'],
+ ['\\|', 'Ð'],
+ ['z', 'Ñ'],
+ ['Z', 'Ð
'],
+ ['x', 'Ñ'],
+ ['X', 'Ð'],
+ ['c', 'Ñ'],
+ ['C', 'Ц'],
+ ['v', 'в'],
+ ['V', 'Ð'],
+ ['b', 'б'],
+ ['B', 'Ð'],
+ ['n', 'н'],
+ ['N', 'Ð'],
+ ['m', 'м'],
+ ['M', 'Ð'],
+ ['\\<', ';'],
+ ['\\>', ':'],
+ ['/', '-'],
+ ['\\?', '_']
+ ]
+ };
+
+ $.ime.register( srKbd );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/sv/sv-normforms.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/sv/sv-normforms.js
new file mode 100644
index 0000000..0f111d9
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/sv/sv-normforms.js
@@ -0,0 +1,50 @@
+( function ( $ ) {
+ 'use strict';
+
+ var defs = {
+ id: 'sv-normforms',
+ name: 'Svenska',
+ description: 'Swedish input method with most common form transliterated',
+ date: '2012-12-04',
+ URL: 'http://www.evertype.com/alphabets/swedish.pdf',
+ author: 'John Erling Blad',
+ license: 'GPLv3',
+ version: '1.0',
+ contextLength: 1,
+ maxKeyLength: 3,
+ patterns: [
+ // The most common transliterations
+ [ 'aa', 'Ã¥' ],
+ [ 'AA', 'Ã
' ],
+ [ 'Aa', 'Ã
' ],
+ [ 'ae', 'ä' ],
+ [ 'AE', 'Ã' ],
+ [ 'Ae', 'Ã' ],
+ [ 'oe', 'ö' ],
+ [ 'OE', 'Ã' ],
+ [ 'Oe', 'Ã' ],
+ // The previous as negated transliterations, mostly for names
+ [ 'Ã¥a', 'a', 'aa' ],
+ [ 'Ã
A', 'A', 'AA' ],
+ [ 'Ã
a', 'A', 'Aa' ],
+ [ 'Ã¥A', 'a', 'aA' ],
+ [ 'äe', 'e', 'ae' ],
+ [ 'ÃE', 'E', 'AE' ],
+ [ 'Ãe', 'E', 'Ae' ],
+ [ 'äE', 'e', 'aE' ],
+ [ 'öe', 'e', 'oe' ],
+ [ 'ÃE', 'E', 'OE' ],
+ [ 'Ãe', 'E', 'Oe' ], // this fails for some names like "Ãen"
+ [ 'öE', 'e', 'oE' ]
+ // historically similar forms
+ // "Ã
" is sometimes written as "Aa", and "Ã¥" as "aa", but in names
+ // it is not generally acceptable to use this transliteration. The
+ // same is the case for "Ã" vs "Oe". To
+ // handle those situations we need some oposite forms.
+ // There is a similar character "Ã
" for the length unit Angstrom,
+ // but this is not the upper case letter Ã
.
+ ]
+ };
+
+ $.ime.register( defs );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ta/ta-99.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ta/ta-99.js
new file mode 100644
index 0000000..d40c355
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ta/ta-99.js
@@ -0,0 +1,193 @@
+( function ( $ ) {
+ 'use strict';
+
+ var ta99 = {
+ id: 'ta-99',
+ name: 'தமிழà¯99',
+ description: 'Tamil 99 Keyboard',
+ date: '2012-11-20',
+ URL: 'http://github.com/wikimedia/jquery.ime',
+ author: 'Junaid P V',
+ license: 'GPLv3',
+ version: '1.0',
+ contextLength: 1,
+ maxKeyLength: 4,
+ patterns: [
+ [ '([à®-ஹ])h', 'a', '$1à®' ],
+ [ '([à®-ஹ])b', 'a', '$1à®' ],
+ [ '([à®-ஹ])\\[', 'a', '$1à®' ],
+ [ '([à®-ஹ])E', 'a', '$1à®' ],
+ [ '([à®-ஹ])\\]', 'a', '$1à®' ],
+ [ '([à®-ஹ])o', 'a', '$1à®' ],
+ [ '([à®-ஹ])p', 'a', '$1ண' ],
+ [ '([à®-ஹ])l', 'a', '$1த' ],
+ [ '([à®-ஹ]);', 'a', '$1ந' ],
+ [ '([à®-ஹ])i', 'a', '$1ன' ],
+ [ '([à®-ஹ])j', 'a', '$1ப' ],
+ [ '([à®-ஹ])k', 'a', '$1à®®' ],
+ [ '([à®-ஹ])\'', 'a', '$1ய' ],
+ [ '([à®-ஹ])m', 'a', '$1à®°' ],
+ [ '([à®-ஹ])u', 'a', '$1à®±' ],
+ [ '([à®-ஹ])n', 'a', '$1ல' ],
+ [ '([à®-ஹ])y', 'a', '$1ள' ],
+ [ '([à®-ஹ])/', 'a', '$1à®´' ],
+ [ '([à®-ஹ])v', 'a', '$1வ' ],
+ // void
+ [ '([à®-ஹ])W', 'a', '$1à®·' ],
+ [ '([à®-ஹ])Q', 'a', '$1ஸ' ],
+ [ '([à®-ஹ])R', 'a', '$1ஹ' ],
+
+ [ 'à®à¯à®h', 'à®à¯à®à®' ],
+ [ 'à®à¯à®b', 'à®à¯à®à®' ],
+ [ 'à®à¯à®\\[', 'à®à¯à®à®' ],
+ [ 'à®à¯à®E', 'à®à¯à®à®' ],
+ [ 'à®à¯à®\\]', 'à®à¯à®à®' ],
+ [ 'à®à¯à®o', 'à®à¯à®à®' ],
+ [ 'ணà¯à®£p', 'ணà¯à®£à®£' ],
+ [ 'தà¯à®¤l', 'தà¯à®¤à®¤' ],
+ [ 'நà¯à®¨;', 'நà¯à®¨à®¨' ],
+ [ 'னà¯à®©i', 'னà¯à®©à®©' ],
+ [ 'பà¯à®ªj', 'பà¯à®ªà®ª' ],
+ [ 'à®®à¯à®®k', 'à®®à¯à®®à®®' ],
+ [ 'யà¯à®¯\'', 'யà¯à®¯à®¯' ],
+ [ 'à®°à¯à®°m', 'à®°à¯à®°à®°' ],
+ [ 'à®±à¯à®±u', 'à®±à¯à®±à®±' ],
+ [ 'லà¯à®²n', 'லà¯à®²à®²' ],
+ [ 'ளà¯à®³y', 'ளà¯à®³à®³' ],
+ [ 'à®´à¯à®´/', 'à®´à¯à®´à®´' ],
+ [ 'வà¯à®µv', 'வà¯à®µà®µ' ],
+ // void
+ [ 'à®·à¯à®·W', 'à®·à¯à®·à®·' ],
+ [ 'ஸà¯à®¸Q', 'ஸà¯à®¸à®¸' ],
+ [ 'ஹà¯à®¹R', 'ஹà¯à®¹à®¹' ],
+
+ [ '([à®-ஹ])q', '$1ா' ],
+ [ '([à®-ஹ])s', '$1ி' ],
+ [ '([à®-ஹ])w', '$1à¯' ],
+ [ '([à®-ஹ])d', '$1à¯' ],
+ [ '([à®-ஹ])e', '$1à¯' ],
+ [ '([à®-ஹ])g', '$1à¯' ],
+ [ '([à®-ஹ])t', '$1à¯' ],
+ [ '([à®-ஹ])r', '$1à¯' ],
+ [ '([à®-ஹ])c', '$1à¯' ],
+ [ '([à®-ஹ])x', '$1à¯' ],
+ [ '([à®-ஹ])z', '$1à¯' ],
+
+ [ '([à®-ஹ])a', '$1' ],
+
+ [ 'à®h', 'à®à¯à®' ],
+ [ 'à®b', 'à®à¯à®' ],
+ [ 'à®\\[', 'à®à¯à®' ],
+ [ 'à®E', 'à®à¯à®' ],
+ [ 'à®\\]', 'à®à¯à®' ],
+ [ 'à®o', 'à®à¯à®' ],
+ [ 'ணp', 'ணà¯à®£' ],
+ [ 'தl', 'தà¯à®¤' ],
+ [ 'ந;', 'நà¯à®¨' ],
+ [ 'னi', 'னà¯à®©' ],
+ [ 'பj', 'பà¯à®ª' ],
+ [ 'à®®k', 'à®®à¯à®®' ],
+ [ 'ய\'', 'யà¯à®¯' ],
+ [ 'à®°m', 'à®°à¯à®°' ],
+ [ 'à®±u', 'à®±à¯à®±' ],
+ [ 'லn', 'லà¯à®²' ],
+ [ 'ளy', 'ளà¯à®³' ],
+ [ 'à®´/', 'à®´à¯à®´' ],
+ [ 'வv', 'வà¯à®µ' ],
+ // void
+ [ 'à®·W', 'à®·à¯à®·' ],
+ [ 'ஸQ', 'ஸà¯à®¸' ],
+ [ 'ஹR', 'ஹà¯à®¹' ],
+
+ [ 'நl', 'நà¯à®¤' ],
+ [ 'à®h', 'à®à¯à®' ],
+ [ 'னu', 'னà¯à®±' ],
+ [ 'ணo', 'ணà¯à®' ],
+ [ 'à®\\[', 'à®à¯à®' ],
+ [ 'à®®j', 'à®®à¯à®ª' ],
+
+ [ 'q', 'à®' ],
+ [ 'w', 'à®' ],
+ [ 'e', 'à®' ],
+ [ 'r', 'à®' ],
+ [ 't', 'à®' ],
+ [ 'y', 'ள' ],
+ [ 'u', 'à®±' ],
+ [ 'i', 'ன' ],
+ [ 'o', 'à®' ],
+ [ 'p', 'ண' ],
+ [ '\\[', 'à®' ],
+ [ '\\]', 'à®' ],
+
+ [ 'a', 'à®
' ],
+ [ 's', 'à®' ],
+ [ 'd', 'à®' ],
+ [ 'f', 'à¯' ],
+ [ 'g', 'à®' ],
+ [ 'h', 'à®' ],
+ [ 'j', 'ப' ],
+ [ 'k', 'à®®' ],
+ [ 'l', 'த' ],
+ [ ';', 'ந' ],
+ [ '\'', 'ய' ],
+
+ [ 'z', 'à®' ],
+ [ 'x', 'à®' ],
+ [ 'c', 'à®' ],
+ [ 'v', 'வ' ],
+ [ 'b', 'à®' ],
+ [ 'n', 'ல' ],
+ [ 'm', 'à®°' ],
+ // ',', 'à®'],
+ // '\\.', 'à®'],
+ [ '/', 'à®´' ],
+
+ // ksha in non-conjunct form with ZWNJ.
+ [ 'à®à¯W', 'à®à¯\u200Cà®·' ],
+ [ 'Q', 'ஸ' ],
+ [ 'W', 'à®·' ],
+ [ 'E', 'à®' ],
+ [ 'R', 'ஹ' ],
+ [ 'T', 'à®à¯à®·' ],
+ [ 'Y', 'ஸà¯à®°à¯' ],
+ [ 'U', 'à®±' ],
+ [ 'I', 'ன' ],
+ [ 'O', '[' ],
+ [ 'P', ']' ],
+ // '\\{', 'à®'],
+ // '\\}', 'à®'],
+
+ [ 'A', '௹' ],
+ [ 'S', '௺' ],
+ [ 'D', '௸' ],
+ [ 'F', 'à®' ],
+ [ 'G', 'à®' ],
+ [ 'H', 'à®' ],
+ [ 'J', 'ப' ],
+ [ 'K', '"' ],
+ [ 'L', ':' ],
+ [ '\\:', ';' ],
+ [ '\'', '\'' ],
+
+ [ 'Z', '௳' ],
+ [ 'X', '௴' ],
+ [ 'C', '௵' ],
+ [ 'V', '௶' ],
+ [ 'B', '௷' ],
+ [ 'N', 'ல' ],
+ [ 'M', '/' ],
+
+ [ '\\\\0', '\u0be6' ],
+ [ '\\\\1', '௧' ],
+ [ '\\\\2', '௨' ],
+ [ '\\\\3', '௩' ],
+ [ '\\\\4', '௪' ],
+ [ '\\\\5', '௫' ],
+ [ '\\\\6', '௬' ],
+ [ '\\\\7', 'à¯' ],
+ [ '\\\\8', '௮' ],
+ [ '\\\\9', '௯' ] ]
+ };
+
+ $.ime.register( ta99 );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ta/ta-bamini.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ta/ta-bamini.js
new file mode 100644
index 0000000..500e729
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ta/ta-bamini.js
@@ -0,0 +1,90 @@
+( function ( $ ) {
+ 'use strict';
+
+ var taBamini = {
+ id: 'ta-bamini',
+ name: 'பாமினி',
+ description: 'Tamil Bamini input method',
+ date: '2012-10-03',
+ URL: 'http://github.com/wikimedia/jquery.ime',
+ author: 'Junaid P V',
+ license: 'GPLv3',
+ version: '1.0',
+ contextLength: 0,
+ maxKeyLength: 2,
+ patterns: [
+ [ '`', 'ஹ' ],
+ [ 'q', 'à®' ],
+ [ 'w', 'à®±' ],
+ [ 'e', 'ந' ],
+ [ 'r', 'à®' ],
+ [ 't', 'வ' ],
+ [ 'y', 'ல' ],
+ [ 'u', 'à®°' ],
+ [ 'i', 'à¯' ],
+ [ 'o', 'à®´' ],
+ [ 'p', 'ி' ],
+ [ '\\[', 'à®' ],
+ [ '\\]', 'ஸ' ],
+ [ '\\\\', 'à®·' ],
+ [ 'a', 'ய' ],
+ [ 's', 'ள' ],
+ [ 'd', 'ன' ],
+ [ 'f', 'à®' ],
+ [ 'g', 'ப' ],
+ [ 'h', 'ா' ],
+ [ 'j', 'த' ],
+ [ 'k', 'à®®' ],
+ [ 'l', 'à®' ],
+ [ ';', 'à¯' ],
+ [ 'z', 'ண' ],
+ [ 'x', 'à®' ],
+ [ 'c', 'à®' ],
+ [ 'v', 'à®' ],
+ [ 'b', 'à®à®¿' ],
+ [ 'n', 'à¯' ],
+ [ 'N', 'à¯' ],
+ [ 'm', 'à®
' ],
+ [ ',', 'à®' ],
+ [ '/', 'à®' ],
+ [ '@', ';' ],
+ [ '#', 'à®à¯' ],
+ [ '\\$', 'à®à¯' ],
+ [ '%', 'à®®à¯' ],
+ [ '\\^', 'à®à¯' ],
+ [ '&', 'à®°à¯' ],
+ [ '\\*', 'à®´à¯' ],
+ [ '=', 'ஸà¯à®°à¯' ],
+ [ 'Q', 'à®' ],
+ [ 'W', 'à®±à¯' ],
+ [ 'E', 'நà¯' ],
+ [ 'R', 'à®à¯' ],
+ [ 'T', 'வà¯' ],
+ [ 'Y', 'லà¯' ],
+ [ 'U', 'à®°à¯' ],
+ [ 'I', 'à®' ],
+ [ 'O', 'à®´à¯' ],
+ [ 'P', 'à¯' ],
+ [ '\\|', '\'' ],
+ [ 'A', 'யà¯' ],
+ [ 'S', 'ளà¯' ],
+ [ 'D', 'னà¯' ],
+ [ 'F', 'à®à¯' ],
+ [ 'G', 'பà¯' ],
+ [ 'H', 'à®°à¯' ],
+ [ 'J', 'தà¯' ],
+ [ 'K', 'à®®à¯' ],
+ [ 'L', 'à®à¯' ],
+ [ 'Z', 'ணà¯' ],
+ [ 'X', 'à®' ],
+ [ 'C', 'à®' ],
+ [ 'V', 'à®' ],
+ [ 'B', 'à®à¯' ],
+ [ 'M', 'à®' ],
+ [ '\\<', 'à®' ],
+ [ '\\>', ',' ],
+ [ '([à®à®·à®¸à®¹])\\{', '$1à¯' ],
+ [ '([à®à®·à®¸à®¹])\\_', '$1à¯' ] ]
+ };
+ $.ime.register( taBamini );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ta/ta-inscript.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ta/ta-inscript.js
new file mode 100644
index 0000000..f3a3ee9
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ta/ta-inscript.js
@@ -0,0 +1,103 @@
+( function ( $ ) {
+ 'use strict';
+
+ var taInScript = {
+ id: 'ta-inscript',
+ name: 'à®à®©à¯à®¸à¯à®à®¿à®°à®¿à®ªà¯à®à¯',
+ description: 'Tamil InScript Keyboard',
+ date: '2012-11-20',
+ URL: 'http://github.com/wikimedia/jquery.ime',
+ author: 'Junaid P V',
+ license: 'GPLv3',
+ version: '1.0',
+ contextLength: 1,
+ maxKeyLength: 4,
+ patterns: [
+ [ '`', 'à¯' ],
+ [ '~', 'à®' ],
+
+ [ '&', 'à®à¯à®·' ],
+ [ '\\*', 'à®·à¯à®°' ],
+
+ // ['\\(', '\u200D'], // ZWJ is not used in Tamil.
+ [ '\\)', '\u200C' ], // ZWNJ
+
+ [ '_', 'à®' ],
+
+ [ 'q', 'à¯' ],
+ [ 'Q', 'à®' ],
+ [ 'w', 'à¯' ],
+ [ 'W', 'à®' ],
+ [ 'e', 'ா' ],
+ [ 'E', 'à®' ],
+ [ 'r', 'à¯' ],
+ [ 'R', 'à®' ],
+ [ 't', 'à¯' ],
+ [ 'T', 'à®' ],
+ [ 'u', 'ஹ' ],
+ [ 'U', 'à®' ],
+ [ 'p', 'à®' ],
+ [ '\\}', 'à®' ],
+
+ [ 'a', 'à¯' ],
+ [ 'A', 'à®' ],
+ [ 's', 'à¯' ],
+ [ 'S', 'à®' ],
+ [ 'd', 'à¯' ],
+ [ 'D', 'à®
' ],
+ [ 'f', 'ி' ],
+ [ 'F', 'à®' ],
+ [ 'g', 'à¯' ],
+ [ 'G', 'à®' ],
+ [ 'h', 'ப' ],
+ [ 'j', 'à®°' ],
+ [ 'J', 'à®±' ],
+ [ 'k', 'à®' ],
+ [ 'l', 'த' ],
+ [ ';', 'à®' ],
+ [ '\'', 'à®' ],
+
+ [ 'z', 'à¯' ],
+ [ 'Z', 'à®' ],
+ // ['x', 'à®'], -- Anusvara is not used in Tamil.
+ [ 'c', 'à®®' ],
+ [ 'C', 'ண' ],
+ [ 'v', 'ந' ],
+ [ 'V', 'ன' ],
+ [ 'b', 'வ' ],
+ [ 'B', 'à®´' ],
+ [ 'n', 'ல' ],
+ [ 'N', 'ள' ],
+ [ 'm', 'ஸ' ],
+ [ 'M', 'ஶ' ],
+ [ '<', 'à®·' ],
+ [ '/', 'ய' ],
+
+ [ '1', '௧' ],
+ [ '2', '௨' ],
+ [ '3', '௩' ],
+ [ '4', '௪' ],
+ [ '5', '௫' ],
+ [ '6', '௬' ],
+ [ '7', 'à¯' ],
+ [ '8', '௮' ],
+ [ '9', '௯' ],
+ [ '0', '௦' ] ],
+
+ patterns_x: [
+ [ 'X', 'à¯' ],
+ [ '\\)', '௰' ],
+ [ '-', '௱' ],
+ [ '=', '௲' ],
+ [ 'n', '௳' ],
+ [ 'c', '௴' ],
+ [ 'b', '௵' ],
+ [ 'h', '௶' ],
+ [ 'y', '௷' ],
+ [ 'C', '௸' ],
+ [ ',', '௹' ],
+ [ 'V', '௺' ],
+ [ '4', 'â¹' ] ]
+ };
+ $.ime.register( taInScript );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ta/ta-inscript2.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ta/ta-inscript2.js
new file mode 100644
index 0000000..c616470
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ta/ta-inscript2.js
@@ -0,0 +1,107 @@
+( function ( $ ) {
+ 'use strict';
+
+ var taInScript2 = {
+ id: 'ta-inscript2',
+ name: 'à®à®©à¯à®¸à¯à®à®¿à®°à®¿à®ªà¯à®à¯ 2',
+ description: 'Enhanced InScript Keyboard for Tamil',
+ date: '2013-01-16',
+ URL: 'http://github.com/wikimedia/jquery.ime',
+ author: 'Parag Nemade',
+ license: 'GPLv3',
+ version: '1.0',
+ patterns: [
+ ['1', '௧'],
+ ['2', '௨'],
+ ['3', '௩'],
+ ['4', '௪'],
+ ['5', '௫'],
+ ['\\^', 'தà¯à®°'],
+ ['6', '௬'],
+ ['\\&', 'à®à¯à®·'],
+ ['7', 'à¯'],
+ ['\\*', 'à®·à¯à®°'],
+ ['8', '௮'],
+ ['\\(', '('],
+ ['9', '௯'],
+ ['\\)', ')'],
+ ['0', '௦'],
+ ['\\_', 'à®'],
+ ['\\-', '-'],
+ ['\\=','='],
+ ['Q', 'à®'],
+ ['q', 'à¯'],
+ ['W', 'à®'],
+ ['w', 'à¯'],
+ ['E', 'à®'],
+ ['e', 'ா'],
+ ['R', 'à®'],
+ ['r', 'à¯'],
+ ['T', 'à®'],
+ ['t', 'à¯'],
+ ['y', 'y'],
+ ['U', 'à®'],
+ ['u', 'ஹ'],
+ ['p', 'à®'],
+ ['\\}', 'à®'],
+ ['A', 'à®'],
+ ['a', '௠'],
+ ['S', 'à®'],
+ ['s', 'à¯'],
+ ['D', 'à®
'],
+ ['d', 'à¯'],
+ ['F', 'à®'],
+ ['f', 'ி'],
+ ['G', 'à®'],
+ ['g', 'à¯'],
+ ['h', 'ப'],
+ ['J', 'à®±'],
+ ['j', 'à®°'],
+ ['k', 'à®'],
+ ['l', 'த'],
+ [';', 'à®'],
+ ['\\\'', 'à®'],
+ ['\\~', 'à®'],
+ ['\\`', 'à¯'],
+ ['Z', 'à®'],
+ ['z', 'à¯'],
+ ['x', 'à®'],
+ ['X', 'X'],
+ ['C', 'ண'],
+ ['c', 'à®®'],
+ ['V', 'ன'],
+ ['v', 'ந'],
+ ['B', 'à®´'],
+ ['b', 'வ'],
+ ['N', 'ள'],
+ ['n', 'ல'],
+ ['M', 'ஶ'],
+ ['m', 'ஸ'],
+ ['\\<', 'à®·'],
+ [',', ','],
+ ['\\>', '।'],
+ ['\\.', '.'],
+ ['/', 'ய']
+ ],
+ patterns_x: [
+ ['1', '\u200d'],
+ ['2', '\u200c'],
+ ['4', 'â¹'],
+ ['0', '௰'],
+ ['\\-', '௱'],
+ ['\\=', '௲'],
+ ['y', '௷'],
+ ['h', '௶'],
+ ['X', 'à¯'],
+ ['C', '௸'],
+ ['c', '௴'],
+ ['V', '௺'],
+ ['v', '௳'],
+ ['b', '௵'],
+ [',', '௹'],
+ ['\\.', '॥']
+ ]
+ };
+
+ $.ime.register( taInScript2 );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ta/ta-transliteration.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ta/ta-transliteration.js
new file mode 100644
index 0000000..a000d5a
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ta/ta-transliteration.js
@@ -0,0 +1,120 @@
+( function ( $ ) {
+ 'use strict';
+
+ var taTransliteration = {
+ id: 'ta-transliteration',
+ name: 'à®à®´à¯à®¤à¯à®¤à¯à®ªà¯à®ªà¯à®¯à®°à¯à®ªà¯à®ªà¯',
+ description: 'Tamil Transliteration based input method',
+ date: '2012-10-03',
+ URL: 'http://github.com/wikimedia/jquery.ime',
+ author: 'Junaid P V',
+ license: 'GPLv3',
+ version: '1.0',
+ contextLength: 1,
+ maxKeyLength: 4,
+ patterns: [
+ [ 'à®à¯h', 'h', 'à®à¯à®¹à¯' ],
+ [ 'à®´à¯h', 'h', 'à®´à¯à®¹à¯' ],
+
+ // '(ஸà¯à®°à®¿i|ஸà¯à®°à¯I)',
+ [ 'ஸà¯à®°à¯i', 'ஸà¯à®°à¯' ],
+
+ [ 'à®à¯(à®à¯|ஸà¯)h', 'à®à¯\u200Cà®·à¯' ], // with ZWNJ
+ [ 'à®à¯(à®à¯|ஸà¯)H', 'à®à¯à®·à¯' ],
+
+ [ '([à®-ஹ])à¯a', '$1' ],
+ [ '([à®-ஹ])(à¯A|a)', '$1ா' ],
+ [ '([à®-ஹ])à¯i', '$1ி' ],
+ [ '([à®-ஹ])(à¯I|ிi)', '$1à¯' ],
+ [ '([à®-ஹ])à¯u', '$1à¯' ],
+ [ '([à®-ஹ])(à¯U|à¯u)', '$1à¯' ],
+ [ '([à®-ஹ])à¯e', '$1à¯' ],
+ [ '([à®-ஹ])(à¯E|à¯e)', '$1à¯' ],
+ [ '([à®-ஹ])i', '$1à¯' ],
+ [ '([à®-ஹ])à¯o', '$1à¯' ],
+ [ '([à®-ஹ])(à¯O|à¯o)', '$1à¯' ],
+ [ '([à®-ஹ])u', '$1à¯' ],
+
+ [ '([à®
-ஹ][à¯-à¯]?)n', '$1னà¯' ],
+
+ [ 'à®
a', 'à®' ],
+ [ 'à®i', 'à®' ],
+ [ 'à®u', 'à®' ],
+ [ 'à®e', 'à®' ],
+ [ 'à®
i', 'à®' ],
+ [ 'à®o', 'à®' ],
+ [ 'à®
u', 'à®' ],
+
+ [ '(நà¯|னà¯)g', 'à®à¯' ],
+ [ '(நà¯|னà¯)j', 'à®à¯' ],
+ [ 'à®à¯h', 'à®·à¯' ],
+ [ 'à®´à¯h', 'à®´à¯' ],
+ [ 'à®à¯h', 'தà¯' ],
+ [ 'ஸà¯h', 'à®·à¯' ],
+
+ [ 'a', 'à®
' ],
+ [ 'b', 'பà¯' ],
+ [ 'c', 'à®à¯' ],
+ [ 'd', 'à®à¯' ],
+ [ 'e', 'à®' ],
+ [ 'f', 'à®à®ªà¯' ],
+ [ 'g', 'à®à¯' ],
+ [ 'h', 'ஹà¯' ],
+ [ 'i', 'à®' ],
+ [ 'j', 'à®à¯' ],
+ [ 'k', 'à®à¯' ],
+ [ 'l', 'லà¯' ],
+ [ 'm', 'à®®à¯' ],
+ [ 'n', 'னà¯' ],
+ [ 'o', 'à®' ],
+ [ 'p', 'பà¯' ],
+ [ 'q', 'à®' ],
+ [ 'r', 'à®°à¯' ],
+ [ 's', 'à®à¯' ],
+ [ 't', 'à®à¯' ],
+ [ 'u', 'à®' ],
+ [ 'v', 'வà¯' ],
+ [ 'w', 'நà¯' ],
+ [ 'y', 'யà¯' ],
+ [ 'z', 'à®´à¯' ],
+ [ 'A', 'à®' ],
+ [ 'B', 'பà¯' ],
+ [ 'C', 'à®à¯à®à¯' ],
+ [ 'E', 'à®' ],
+ [ 'F', 'à®à®ªà¯' ],
+ [ 'G', 'à®à¯' ],
+ [ 'H', 'à®' ],
+ [ 'I', 'à®' ],
+ [ 'J', 'à®à¯à®à¯' ],
+ [ 'K', 'à®à¯' ],
+ [ 'L', 'ளà¯' ],
+ [ 'M', 'à®®à¯à®®à¯' ],
+ [ 'N', 'ணà¯' ],
+ [ 'O', 'à®' ],
+ [ 'P', 'பà¯à®ªà¯' ],
+ [ 'Q', 'à®' ],
+ [ 'R', 'à®±à¯' ],
+ [ 'S', 'ஸà¯' ],
+ [ 'T', 'à®à¯' ],
+ [ 'U', 'à®' ],
+ [ '(V|W)', 'வà¯à®µà¯' ],
+ [ 'Y', 'யà¯à®¯à¯' ],
+ [ 'Z', 'ஶà¯' ],
+
+ [ '\\\\0', '\u0be6' ],
+ [ '\\\\1', '௧' ],
+ [ '\\\\2', '௨' ],
+ [ '\\\\3', '௩' ],
+ [ '\\\\4', '௪' ],
+ [ '\\\\5', '௫' ],
+ [ '\\\\6', '௬' ],
+ [ '\\\\7', 'à¯' ],
+ [ '\\\\8', '௮' ],
+ [ '\\\\9', '௯' ],
+ [ '10\\\\', '\u0BF0' ],
+ [ '100\\\\', '\u0BF1' ],
+ [ '1000\\\\', '\u0BF2' ] ]
+ };
+
+ $.ime.register( taTransliteration );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/te/te-inscript.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/te/te-inscript.js
new file mode 100644
index 0000000..4c66371
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/te/te-inscript.js
@@ -0,0 +1,122 @@
+( function ( $ ) {
+ 'use strict';
+
+ var teInScript = {
+ id: 'te-inscript',
+ name: 'à°à°¨à±\u200dà°¸à±à°à±à°°à°¿à°ªà±à°à±',
+ description: 'Inscript keyboard for Telugu script',
+ date: '2012-10-16',
+ author: 'Veeven',
+ license: 'GPLv3',
+ version: '1.0',
+ patterns: [
+ ['D', 'à°
'],
+ ['E', 'à°'],
+ ['F', 'à°'],
+ ['R', 'à°'],
+ ['G', 'à°'],
+ ['T', 'à°'],
+ ['\\+', 'à°'],
+ ['Z', 'à°'],
+ ['S', 'à°'],
+ ['W', 'à°'],
+ ['~', 'à°'],
+ ['A', 'à°'],
+ ['Q', 'à°'],
+
+ ['k', 'à°'],
+ ['K', 'à°'],
+ ['i', 'à°'],
+ ['I', 'à°'],
+ ['U', 'à°'],
+
+ ['\\;', 'à°'],
+ ['\\:', 'à°'],
+ ['p', 'à°'],
+ ['P', 'à°'],
+ ['\\}', 'à°'],
+
+ ['\'', 'à°'],
+ ['"', 'à° '],
+ ['\\[', '','à°¡'],
+ ['\\{', '','à°¢'],
+ ['C', 'à°£'],
+
+ ['l', 'à°¤'],
+ ['L', 'à°¥'],
+ ['o', 'à°¦'],
+ ['O', 'à°§'],
+ ['v', 'à°¨'],
+
+ ['h', 'à°ª'],
+ ['H', 'à°«'],
+ ['y', 'à°¬'],
+ ['Y', 'à°'],
+ ['c', 'à°®'],
+
+ ['/', 'à°¯'],
+ ['j', 'à°°'],
+ ['J', 'à°±'],
+ ['n', 'à°²'],
+ ['N', 'à°³'],
+ ['b', 'à°µ'],
+
+ ['M', 'à°¶'],
+ ['\\<', '','à°·'],
+ ['m', 'à°¸'],
+ ['u', 'à°¹'],
+
+ ['e', 'à°¾'],
+ ['f', 'à°¿'],
+ ['r', 'à±'],
+ ['g', 'à±'],
+ ['t', 'à±'],
+ ['\\=', 'à±'],
+ ['z', 'à±'],
+ ['s', 'à±'],
+ ['w', 'à±'],
+ ['`', 'à±'],
+ ['a', 'à±'],
+ ['q', 'à±'],
+ ['x', 'à°'],
+ ['\\-', 'à°'],
+ ['X', 'à°'],
+ ['d', 'à±'],
+
+ ['0', '','౦'],
+ ['1', '','౧'],
+ ['2', '౨'],
+ ['3', '౩'],
+ ['4', '౪'],
+ ['5', '౫'],
+ ['6', '౬'],
+ ['7', 'à±'],
+ ['8', 'à±®'],
+ ['9', '౯'],
+
+ ['\\@', '\u200C'], // In cases where extended rules do not work
+ ['\\#', 'à±à°°'],
+ ['\\$', 'à°°à±'],
+ ['\\%', 'à°à±à°'],
+ ['\\^', 'à°¤à±à°°'],
+ ['\\&', 'à°à±à°·'],
+ ['\\*', 'à°¶à±à°°'],
+ ['\\>', '।']],
+
+ patterns_x: [
+ ['X', 'à¥'],
+ ['\\;', 'à±'],
+ ['p', 'à±'],
+ ['f', '\u0C62'], // vowel sign of alu (volic l)
+ ['r', '\u0C63'], // vowel sign of aluu (volic ll)
+ ['F', 'à°'],
+ ['R', 'ౡ'],
+ ['\\.', '॥'],
+ ['\\>', 'à°½'],
+ ['2', '\u200C'], // ZWNJ
+ ['4', 'â¹'],
+ ['\\=', 'à±'],
+ ['\\+', 'à± ']]
+ };
+ $.ime.register( teInScript );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/te/te-inscript2.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/te/te-inscript2.js
new file mode 100644
index 0000000..4cb7511
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/te/te-inscript2.js
@@ -0,0 +1,126 @@
+( function ( $ ) {
+ 'use strict';
+
+ var teInScript2 = {
+ id: 'te-inscript2',
+ name: 'à°à°¨à±\u200dà°¸à±à°à±à°°à°¿à°ªà±à°à± 2',
+ description: 'Enhanced InScript keyboard for Telugu script',
+ date: '2013-01-16',
+ author: 'Parag Nemade',
+ license: 'GPLv3',
+ version: '1.0',
+ patterns: [
+ ['1', '౧'],
+ ['2', '౨'],
+ ['3', '౩'],
+ ['4', '౪'],
+ ['5', '౫'],
+ ['6', '౬'],
+ ['7', 'à±'],
+ ['8', 'à±®'],
+ ['\\(', '('],
+ ['9', '౯'],
+ ['\\)', ')'],
+ ['0', '౦'],
+ ['\\_', 'à°'],
+ ['\\-', '-'],
+ ['\\+', 'à°'],
+ ['\\=', 'à±'],
+ ['Q', 'à°'],
+ ['q', 'à±'],
+ ['W', 'à°'],
+ ['w', 'à±'],
+ ['E', 'à°'],
+ ['e', 'à°¾'],
+ ['R', 'à°'],
+ ['r', 'à±'],
+ ['T', 'à°'],
+ ['t', 'à±'],
+ ['Y', 'à°'],
+ ['y', 'à°¬'],
+ ['U', 'à°'],
+ ['u', 'à°¹'],
+ ['I', 'à°'],
+ ['i', 'à°'],
+ ['O', 'à°§'],
+ ['o', 'à°¦'],
+ ['P', 'à°'],
+ ['p', 'à°'],
+ ['\\{', 'à°¢'],
+ ['\\[', 'à°¡'],
+ ['\\}', 'à°'],
+ ['A', 'à°'],
+ ['a', 'à±'],
+ ['S', 'à°'],
+ ['s', 'à±'],
+ ['D', 'à°
'],
+ ['d', 'à±'],
+ ['F', 'à°'],
+ ['f', 'à°¿'],
+ ['G', 'à°'],
+ ['g', 'à±'],
+ ['H', 'à°«'],
+ ['h', 'à°ª'],
+ ['J', 'à°±'],
+ ['j', 'à°°'],
+ ['K', 'à°'],
+ ['k', 'à°'],
+ ['L', 'à°¥'],
+ ['l', 'à°¤'],
+ [':', 'à°'],
+ [';', 'à°'],
+ ['"', 'à° '],
+ ['\\\'', 'à°'],
+ ['\\~', 'à°'],
+ ['\\`', 'à±'],
+ ['Z', 'à°'],
+ ['z', 'à±'],
+ ['X', 'à°'],
+ ['x', 'à°'],
+ ['C', 'à°£'],
+ ['c', 'à°®'],
+ ['v', 'à°¨'],
+ ['b', 'à°µ'],
+ ['N', 'à°³'],
+ ['n', 'à°²'],
+ ['M', 'à°¶'],
+ ['m', 'à°¸'],
+ ['\\<', 'à°·'],
+ [',', ','],
+ ['\\>', '।'],
+ ['\\.', '.'],
+ ['/', 'à°¯'],
+ ['\\%', 'à°à±à°'],
+ ['\\^', 'à°¤à±à°°'],
+ ['\\&', 'à°à±à°·'],
+ ['\\*', 'à°¶à±à°°']
+ ],
+ patterns_x: [
+ ['\\!', 'à±¹'],
+ ['\\@', 'à±¼'],
+ ['\\#', '౺'],
+ ['\\$', 'à±½'],
+ ['4', 'â¹'],
+ ['\\%', 'à±»'],
+ ['\\^', 'à±¾'],
+ ['1', '\u200d'],
+ ['2', '\u200c'],
+ ['0', '౸'],
+ ['\\-', '౿'],
+ ['\\+', 'à± '],
+ ['\\=', 'à±'],
+ ['R', 'à±£'],
+ ['r', 'ౡ'],
+ ['p', 'à±'],
+ ['F', 'à°'],
+ ['f', 'à±¢'],
+ [';', 'à±'],
+ ['Z', 'à±'],
+ ['z', 'à±'],
+ ['\\>', 'à°½'],
+ ['\\.', '॥']
+ ]
+ };
+
+ $.ime.register( teInScript2 );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/te/te-transliteration.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/te/te-transliteration.js
new file mode 100644
index 0000000..3f07cf0
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/te/te-transliteration.js
@@ -0,0 +1,221 @@
+( function ( $ ) {
+ 'use strict';
+
+ var teTransliteration = {
+ id: 'te-transliteration',
+ name: 'లిపà±à°¯à°à°¤à°°à±à°à°°à°£',
+ description: 'Telugu Transliteration based on RTS',
+ date: '2012-10-16',
+ URL: 'http://github.com/wikimedia/jquery.ime',
+ author: 'Veeven and Junaid P V',
+ license: 'GPLv3',
+ version: '1.0',
+ contextLength: 1,
+ maxKeyLength: 4,
+ patterns: [
+ ['(à°®à±|à°¨à±)b', 'à°à°¬à±'],
+ ['(à°®à±|à°¨à±)B', 'à°à°à±'],
+ ['(à°®à±|à°¨à±)c', 'à°à°à±'],
+ ['(à°®à±|à°¨à±)C', 'à°à°à±'],
+ ['(à°®à±|à°¨à±)d', 'à°à°¦à±'],
+ ['(à°®à±|à°¨à±)D', 'à°à°¡à±'],
+ ['(à°®à±|à°¨à±)[fFP]', 'à°à°«à±'],
+ ['(à°®à±|à°¨à±)g', 'à°à°à±'],
+ ['(à°®à±|à°¨à±)h', 'à°à°¹à±'],
+ ['(à°®à±|à°¨à±)j', 'à°à°à±'],
+ ['(à°®à±|à°¨à±)J', 'à°à°à±'],
+ ['(à°®à±|à°¨à±)k', 'à°à°à±'],
+ ['(à°®à±|à°¨à±)L', 'à°à°³à±'],
+ ['(à°®à±|à°¨à±)p', 'à°à°ªà±'],
+ ['(à°®à±|à°¨à±)r', 'à°à°°à±'],
+ ['(à°®à±|à°¨à±)s', 'à°à°¸à±'],
+ ['(à°®à±|à°¨à±)t', 'à°à°¤à±'],
+ ['(à°®à±|à°¨à±)T', 'à°à°à±'],
+ ['(à°®à±|à°¨à±)[vwVW]', 'à°à°µà±'],
+ ['(à°®à±|à°¨à±)[xX]', 'à°à°à±à°·à±'],
+
+ // & for forcing combination
+ ['(à°®à±|à°¨à±)&b', '$1à°¬à±'],
+ ['(à°®à±|à°¨à±)&B', '$1à°¬à±'],
+ ['(à°®à±|à°¨à±)&c', '$1à°à±'],
+ ['(à°®à±|à°¨à±)&C', '$1à°à±'],
+ ['(à°®à±|à°¨à±)&d', '$1à°¦à±'],
+ ['(à°®à±|à°¨à±)&D', '$1à°¡à±'],
+ ['(à°®à±|à°¨à±)&[fFP]', '$1à°«à±'],
+ ['(à°®à±|à°¨à±)&g', '$1à°à±'],
+ ['(à°®à±|à°¨à±)&h', '$1à°¹à±'],
+ ['(à°®à±|à°¨à±)&j', '$1à°à±'],
+ ['(à°®à±|à°¨à±)&J', '$1à°à±'],
+ ['(à°®à±|à°¨à±)&k', '$1à°à±'],
+ ['(à°®à±|à°¨à±)&L', '$1à°³à±'],
+ ['(à°®à±|à°¨à±)&p', '$1à°ªà±'],
+ ['(à°®à±|à°¨à±)&r', '$1à°°à±'],
+ ['(à°®à±|à°¨à±)&s', '$1à°¸à±'],
+ ['(à°®à±|à°¨à±)&t', '$1à°¤à±'],
+ ['(à°®à±|à°¨à±)&T', '$1à°à±'],
+ ['(à°®à±|à°¨à±)&[vwVW]', '$1à°µà±'],
+ ['(à°®à±|à°¨à±)&[xX]', '$1à°à±à°·à±'],
+ ['(à°®à±|à°¨à±)&(\\s|\\.|\\, |\\))', '$1$2'],
+ // à°
+ ['([à°-à°¹]|à±|à±)à±a', '$1'],
+ // à°
+ ['([à°-à°¹])(à±A|a|\')', '$1à°¾'],
+ // à°
+ ['([à°-à°¹])à±i', '$1à°¿'],
+ // à°
+ ['([à°-à°¹])(à±I|à°¿i|à°¿\'|à±e)', '$1à±'],
+ // à°
+ ['([à°-à°¹])à±u', '$1à±'],
+ // à°
+ ['([à°-à°¹])(à±u|à±\'|à±a|à±U)', '$1à±'],
+ ['([à°-à°¹])à±o', 'o', '$1à±'],
+ // à°
+ ['([à°-à°¹])à±R', '$1à±'],
+ ['([à°-à°¹])à±à°°à±\'', '$1à±'],
+ // à±
+ ['([à°-à°¹])à±u', '$1à±'],
+ // à°
+ ['([à°-à°¹])à±~l', '$1à±¢'],
+ // ౡ
+ ['([à°-à°¹])à±¢(l|\')', '$1à±£'],
+ // à°
+ ['([à°-à°¹])à±e', '$1à±'],
+ // à°
+ ['([à°-à°¹])(à±E|à±a|à±\')', '$1à±'],
+ ['([à°-à°¹])e', 'a', '$1à±'],
+ // à°
+ ['([à°-à°¹])à±i', '$1à±'],
+ ['([à°-à°¹])i', 'a', '$1à±'],
+ // à°
+ ['([à°-à°¹])à±o', '$1à±'],
+ // à°
+ ['([à°-à°¹])(à±O|à±a|à±\')', '$1à±'],
+ // à°
+ ['([à°-à°¹])(à±u|à±w)', '$1à±'],
+ ['([à°-à°¹])u', 'a', '$1à±'],
+
+ // TODO: handle back corrections
+ /* not working ['([à°-à°¹])u', '$1à±'],
+ ['([à°-à°¹])U', '$1à±'],
+ ['([à°-à°¹])E', '$1à±'],
+ */
+
+ // zwnj
+ ['(à±)\\^', '$1\u200c'],
+
+ // sunna ending
+ ['à°®à±(\\s|\\.|\\, |\\))', 'à°$1'],
+
+ // standalone vowels
+ ['à°
(a|\')', 'à°'],
+ ['à°(i|\')', 'à°'],
+ ['à°e', 'à°'],
+ ['à°(u|\')', 'à°'],
+ ['à°o', 'à°'],
+ ['à°(a|\')', 'à°'],
+ ['à°
e', 'a', 'à°'],
+ ['à°i', 'à°'],
+ ['à°
i', 'a', 'à°'],
+ ['à°(a|\')', '', 'à°'],
+ ['à°
o', 'a', 'à°'],
+ ['à°(u|w)', 'à°'],
+ ['à°
u', 'a', 'à°'],
+ ['à°(u|\')', 'à± '],
+ ['à°°à±\'', 'à°'],
+
+ // mahaa prana
+ ['à°à±h', 'à°à±'],
+ ['à°à±h', 'à°à±'],
+ ['à°à±h', 'à°à±'],
+ ['à°à±\'', 'à°à±'],
+ ['à°à±h', 'à°à±'],
+ ['à°¸à±h', 'à°·à±'],
+ ['à°¸à±\'', 'à°¶à±'],
+ ['à°¤à±\'', 'à°à±'],
+ ['à°à±h', 'à° à±'],
+ ['à°¦à±\'', 'à°¡à±'],
+ ['à°¡à±h', 'à°¢à±'],
+ ['à°¨à±\'', 'à°£à±'],
+ ['à°¤à±h', 'à°¥à±'],
+ ['à°¦à±h', 'à°§à±'],
+ ['à°ªà±h', 'à°«à±'],
+ ['à°¬à±h', 'à°à±'],
+ ['à°²à±\'', 'à°³à±'],
+
+ // basic
+ ['a', 'à°
'],
+ ['b', 'à°¬à±'],
+ ['~c', 'à±à±'],
+ ['c', 'à°à±'],
+ ['d', 'à°¦à±'],
+ ['e', 'à°'],
+ ['(f|F|P)', 'à°«à±'],
+ ['g', 'à°à±'],
+ ['@h', 'à°'],
+ ['h', 'à°¹à±'],
+ ['i', 'à°'],
+ ['~j', 'à±à±'],
+ ['j', 'à°à±'],
+ ['k', 'à°à±'],
+ ['~l', 'à°'],
+ ['l', 'à°²à±'],
+ ['@m', 'à°'],
+ ['~m', 'à°'],
+ ['m', 'à°®à±'],
+ ['~n', 'à°'],
+ ['n', 'à°¨à±'],
+ ['o', 'à°'],
+ ['p', 'à°ªà±'],
+ ['q', 'à°à±à°µà±'],
+ ['~r', 'à°±à±'],
+ ['r', 'à°°à±'],
+ ['s', 'à°¸à±'],
+ ['t', 'à°¤à±'],
+ ['u', 'à°'],
+ ['(v|w|V|W)', 'à°µà±'],
+ ['(x|X)', 'à°à±à°·à±'],
+ ['(y|Y)', 'à°¯à±'],
+ ['(z|Z)', 'à°à±'],
+ ['A', 'à°'],
+ ['B', 'à°à±'],
+ ['C', 'à°à±'],
+ ['D', 'à°¡à±'],
+ ['E', 'à°'],
+ ['G', 'à°à±'],
+ ['H', 'à°'],
+ ['I', 'à°'],
+ ['J', 'à°à±'],
+ ['K', 'à°à±'],
+ ['L', 'à°³à±'],
+ ['M', 'à°'],
+ ['N', 'à°£à±'],
+ ['O', 'à°'],
+ ['Q', 'à°à±à°µà±'],
+ ['R', 'à°'],
+ ['S', 'à°¶à±'],
+ ['T', 'à°à±'],
+ ['U', 'à°'],
+
+ /**
+ * Telugu numbers
+ */
+ ['~0', '౦'],
+ ['~1', '౧'],
+ ['~2', '౨'],
+ ['~3', '౩'],
+ ['~4', '౪'],
+ ['~5', '౫'],
+ ['~6', '౬'],
+ ['~7', 'à±'],
+ ['~8', 'à±®'],
+ ['~9', '౯'],
+
+ // others
+ ['।~\\.', '॥'], // double danda
+ ['~\\.', '।'], // danda
+ ['//', 'à°½'], // avagraha
+ ['~\\$', 'â¹']] // rupee
+ };
+
+ $.ime.register( teTransliteration );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/th/th-kedmanee.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/th/th-kedmanee.js
new file mode 100644
index 0000000..10da381
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/th/th-kedmanee.js
@@ -0,0 +1,115 @@
+( function ( $ ) {
+ 'use strict';
+
+ var kedmanee = {
+ id: 'th-kedmanee',
+ name: 'Thai Kedmanee',
+ description: 'Thai Kedmanee Input Method',
+ date: '2012-10-25',
+ URL: 'http://github.com/wikimedia/jquery.ime',
+ author: 'Kevin K.S. Leung, <sprconan at gmail.com>',
+ license: 'GPLv3',
+ version: '1.0',
+ patterns: [
+ ['Q', 'à¹'],
+ ['W', '"'],
+ ['E', 'à¸'],
+ ['R', 'à¸'],
+ ['T', 'à¸'],
+ ['Y', 'à¹'],
+ ['U', 'à¹'],
+ ['I', 'à¸'],
+ ['O', 'ฯ'],
+ ['P', 'à¸'],
+ ['{', 'à¸'],
+ ['}', ','],
+ ['\\|', 'à¸
'],
+ ['A', 'ฤ'],
+ ['S', 'à¸'],
+ ['D', 'à¸'],
+ ['F', 'à¹'],
+ ['G', 'à¸'],
+ ['H', 'à¹'],
+ ['J', 'à¹'],
+ ['K', 'ษ'],
+ ['L', 'ศ'],
+ [':', 'à¸'],
+ ['\"', '.'],
+ ['Z', '('],
+ ['X', ')'],
+ ['C', 'à¸'],
+ ['V', 'ฮ'],
+ ['B', 'ฺ'],
+ ['N', 'à¹'],
+ ['M', '?'],
+ ['<', 'à¸'],
+ ['>', 'ฬ'],
+ ['\\?', 'ฦ'],
+
+ ['q', 'à¹'],
+ ['w', 'à¹'],
+ ['e', 'ำ'],
+ ['r', 'à¸'],
+ ['t', 'ะ'],
+ ['y', 'ั'],
+ ['u', 'ี'],
+ ['i', 'ร'],
+ ['o', 'à¸'],
+ ['p', 'ย'],
+ ['\\[', 'à¸'],
+ ['\\]', 'ล'],
+ ['\\\\', 'à¸'],
+ ['a', 'à¸'],
+ ['s', 'ห'],
+ ['d', 'à¸'],
+ ['f', 'à¸'],
+ ['g', 'à¹'],
+ ['h', 'à¹'],
+ ['j', 'à¹'],
+ ['k', 'า'],
+ ['l', 'ส'],
+ [';', 'ว'],
+ ['\'', 'à¸'],
+ ['z', 'à¸'],
+ ['x', 'à¸'],
+ ['c', 'à¹'],
+ ['v', 'à¸'],
+ ['b', 'ิ'],
+ ['n', 'ื'],
+ ['m', 'à¸'],
+ [',', 'ม'],
+ ['\\.', 'à¹'],
+ ['/', 'à¸'],
+
+ ['`', '_'],
+ ['1', 'à¹
'],
+ ['2', '/'],
+ ['3', '-'],
+ ['4', 'ภ'],
+ ['5', 'à¸'],
+ ['6', 'ุ'],
+ ['7', 'ึ'],
+ ['8', 'à¸'],
+ ['9', 'à¸'],
+ ['0', 'à¸'],
+ ['\\-', 'à¸'],
+ ['=', 'à¸'],
+ ['~', '%'],
+ ['!', '+'],
+ ['@', 'à¹'],
+ ['#', 'à¹'],
+ ['\\$', 'à¹'],
+ ['%', 'à¹'],
+ ['\\^', 'ู'],
+ ['&', '฿'],
+ ['\\*', 'à¹'],
+ ['\\(', 'à¹'],
+ ['\\)', 'à¹'],
+ ['_', 'à¹'],
+ ['\\+', 'à¹']
+ ]
+ };
+
+ $.ime.register( kedmanee );
+
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/th/th-pattachote.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/th/th-pattachote.js
new file mode 100644
index 0000000..c2c1bdb
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/th/th-pattachote.js
@@ -0,0 +1,115 @@
+( function ( $ ) {
+ 'use strict';
+
+ var pattachote = {
+ id: 'th-pattachote',
+ name: 'Thai Pattachote',
+ description: 'Thai Pattachote Input Method',
+ date: '2012-10-25',
+ URL: 'http://github.com/wikimedia/jquery.ime',
+ author: 'Kevin K.S. Leung, <sprconan at gmail.com>',
+ license: 'GPLv3',
+ version: '1.0',
+ patterns: [
+ ['Q', 'à¹'],
+ ['W', 'ฤ'],
+ ['E', 'à¹'],
+ ['R', 'à¸'],
+ ['T', 'ษ'],
+ ['Y', 'ึ'],
+ ['U', 'à¸'],
+ ['I', 'à¸'],
+ ['O', 'à¸'],
+ ['P', 'à¸'],
+ ['{', 'ฯ'],
+ ['}', 'ฦ'],
+ ['\\|', 'à¹'],
+ ['A', 'à¹'],
+ ['S', 'à¸'],
+ ['D', 'ำ'],
+ ['F', 'à¸'],
+ ['G', 'à¹'],
+ ['H', 'ื'],
+ ['J', 'à¸'],
+ ['K', 'à¸'],
+ ['L', 'à¹'],
+ [':', 'à¸'],
+ ['"', 'à¸'],
+ ['Z', 'à¸'],
+ ['X', 'à¸'],
+ ['C', 'à¸'],
+ ['V', 'ภ'],
+ ['B', 'ั'],
+ ['N', 'ศ'],
+ ['M', 'ฮ'],
+ ['<', 'à¸'],
+ ['>', 'à¸'],
+ ['\\?', 'ฬ'],
+
+ ['q', 'à¹'],
+ ['w', 'à¸'],
+ ['e', 'ย'],
+ ['r', 'à¸'],
+ ['t', 'ร'],
+ ['y', 'à¹'],
+ ['u', 'à¸'],
+ ['i', 'ม'],
+ ['o', 'ว'],
+ ['p', 'à¹'],
+ ['\\[', 'à¹'],
+ ['\\]', 'à¸'],
+ ['\\\\', 'ï£'],
+ ['a', 'à¹'],
+ ['s', 'à¸'],
+ ['d', 'à¸'],
+ ['f', 'à¸'],
+ ['g', 'ั'],
+ ['h', 'ี'],
+ ['j', 'า'],
+ ['k', 'à¸'],
+ ['l', 'à¹'],
+ [';', 'à¹'],
+ ['\'', 'à¸'],
+ ['z', 'à¸'],
+ ['x', 'à¸'],
+ ['c', 'ล'],
+ ['v', 'ห'],
+ ['b', 'ิ'],
+ ['n', 'à¸'],
+ ['m', 'ส'],
+ [',', 'ะ'],
+ ['\\.', 'à¸'],
+ ['/', 'à¸'],
+
+ ['`', '_'],
+ ['1', '='],
+ ['2', 'à¹'],
+ ['3', 'à¹'],
+ ['4', 'à¹'],
+ ['5', 'à¹'],
+ ['6', 'ู'],
+ ['7', 'à¹'],
+ ['8', 'à¹'],
+ ['9', 'à¹'],
+ ['0', 'à¹'],
+ ['\\-', 'à¹'],
+ ['=', 'à¹'],
+ ['~', '฿'],
+ ['!', '+'],
+ ['@', '"'],
+ ['#', '/'],
+ ['\\$', ','],
+ ['%', '?'],
+ ['\\^', 'ุ'],
+ ['&', '_'],
+ ['\\*', '.'],
+ ['\\(', '('],
+ ['\\)', ')'],
+ ['_', '-'],
+ ['\\+', '%']
+ ]
+ };
+
+ $.ime.register( pattachote );
+
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/udm/udm-alt.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/udm/udm-alt.js
new file mode 100644
index 0000000..c7325eb
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/udm/udm-alt.js
@@ -0,0 +1,40 @@
+( function ( $ ) {
+ 'use strict';
+
+ var udmAlt = {
+ id: 'udm-alt',
+ name: 'УдмÑÑÑ ALT',
+ description: 'УдмÑÑÑ ALT',
+ date: '2013-03-17',
+ URL: 'http://github.com/wikimedia/jquery.ime',
+ author: 'Amir (ÐлекÑей) Aharoni',
+ license: 'GPLv3',
+ version: '1.0',
+ patterns: [
+ ['Ñ', 'Óµ'],
+ ['Ц', 'Ӵ'],
+ ['Ñ', 'Ó¥'],
+ ['Щ', 'Ӥ'],
+ ['Ñ
', 'Ó'],
+ ['Ð¥', 'Ó'],
+ ['Ñ', 'Ó'],
+ ['Ф', 'Ó']
+ ],
+ patterns_x: [
+ ['Ñ', 'Ó§'],
+ ['Ð', 'Ó¦'],
+
+ // Allow typing the Russian letters using Alt
+ ['Ñ', 'Ñ'],
+ ['Ц', 'Ц'],
+ ['Ñ', 'Ñ'],
+ ['Щ', 'Щ'],
+ ['Ñ
', 'Ñ
'],
+ ['Ð¥', 'Ð¥'],
+ ['Ñ', 'Ñ'],
+ ['Ф', 'Ф']
+ ]
+ };
+
+ $.ime.register( udmAlt );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ug/ug-kbd.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ug/ug-kbd.js
new file mode 100644
index 0000000..ac8acff
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ug/ug-kbd.js
@@ -0,0 +1,79 @@
+( function ( $ ) {
+ 'use strict';
+
+ var ugKbd = {
+ id: 'ug-kbd',
+ name: 'Uyghur kbd',
+ description: 'Uyghur kbd keyboard layout',
+ date: '2013-02-12',
+ URL: 'http://github.com/wikimedia/jquery.ime',
+ author: 'Parag Nemade',
+ license: 'GPLv3',
+ version: '1.0',
+ patterns: [
+ ['q', '\u0686'],
+ ['w', '\u06CB'],
+ ['e', '\u06D0'],
+ ['r', '\u0631'],
+ ['t', '\u062A'],
+ ['y', '\u064A'],
+ ['u', '\u06C7'],
+ ['i', '\u06AD'],
+ ['o', '\u0648'],
+ ['p', '\u067E'],
+ ['a', '\u06BE'],
+ ['s', '\u0633'],
+ ['d', '\u062F'],
+ ['f', '\u0627'],
+ ['g', '\u06D5'],
+ ['h', '\u0649'],
+ ['j', '\u0642'],
+ ['k', '\u0643'],
+ ['l', '\u0644'],
+ [';', '\u061B'],
+ ['z', '\u0632'],
+ ['x', '\u0634'],
+ ['c', '\u063A'],
+ ['v', '\u06C8'],
+ ['b', '\u0628'],
+ ['n', '\u0646'],
+ ['m', '\u0645'],
+ [',', '\u060C'],
+ ['/', '\u0626'],
+ ['Q', '\u0686'],
+ ['W', '\u06CB'],
+ ['E', '\u06D0'],
+ ['R', '\u0631'],
+ ['T', '\u062A'],
+ ['Y', '\u064A'],
+ ['U', '\u06C7'],
+ ['I', '\u06AD'],
+ ['O', '\u0648'],
+ ['P', '\u067E'],
+ ['\\{', '\u00AB'],
+ ['\\}', '\u00BB'],
+ ['A', '\u06BE'],
+ ['S', '\u0633'],
+ ['D', '\u0698'],
+ ['F', '\u0641'],
+ ['G', '\u06AF'],
+ ['H', '\u062E'],
+ ['J', '\u062C'],
+ ['K', '\u06C6'],
+ ['L', '\u0644'],
+ ['Z', '\u0632'],
+ ['X', '\u0634'],
+ ['C', '\u063A'],
+ ['V', '\u06C8'],
+ ['B', '\u0628'],
+ ['N', '\u0646'],
+ ['M', '\u0645'],
+ ['\\?', '\u061F'],
+ ['\\<', '\u2039'],
+ ['\\>', '\u203A'],
+ ['\\_', '\u2014']
+ ]
+ };
+
+ $.ime.register( ugKbd );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/uk/uk-kbd.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/uk/uk-kbd.js
new file mode 100644
index 0000000..9348943
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/uk/uk-kbd.js
@@ -0,0 +1,101 @@
+( function ( $ ) {
+ 'use strict';
+
+ var ukKbd = {
+ id: 'uk-kbd',
+ name: 'УкÑаÑнÑÑка',
+ description: 'Ukrainian kbd keyboard layout',
+ date: '2013-02-12',
+ URL: 'http://github.com/wikimedia/jquery.ime',
+ author: 'Parag Nemade',
+ license: 'GPLv3',
+ version: '1.0',
+ patterns: [
+ ['`', 'Ò'],
+ ['q', 'й'],
+ ['w', 'Ñ'],
+ ['e', 'Ñ'],
+ ['r', 'к'],
+ ['t', 'е'],
+ ['y', 'н'],
+ ['u', 'г'],
+ ['i', 'Ñ'],
+ ['o', 'Ñ'],
+ ['p', 'з'],
+ ['\\[', 'Ñ
'],
+ ['\\]', 'Ñ'],
+ ['a', 'Ñ'],
+ ['s', 'Ñ'],
+ ['d', 'в'],
+ ['f', 'а'],
+ ['g', 'п'],
+ ['h', 'Ñ'],
+ ['j', 'о'],
+ ['k', 'л'],
+ ['l', 'д'],
+ [';', 'ж'],
+ ['\'', 'Ñ'],
+ ['\\\\', '\\'],
+ ['z', 'Ñ'],
+ ['x', 'Ñ'],
+ ['c', 'Ñ'],
+ ['v', 'м'],
+ ['b', 'и'],
+ ['n', 'Ñ'],
+ ['m', 'Ñ'],
+ [',', 'б'],
+ ['\\.', 'Ñ'],
+ ['/', '.'],
+ ['\\!', '!'],
+ ['\\@', '"'],
+ ['\\#', 'â'],
+ ['\\$', ';'],
+ ['\\%', '%'],
+ ['\\^', ':'],
+ ['\\&', '?'],
+ ['\\*', '*'],
+ ['\\(', '('],
+ ['\\)', ')'],
+ ['\\_', '_'],
+ ['\\+', '+'],
+ ['\\~', 'Ò'],
+ ['Q', 'Ð'],
+ ['W', 'Ц'],
+ ['E', 'У'],
+ ['R', 'Ð'],
+ ['T', 'Ð'],
+ ['Y', 'Ð'],
+ ['U', 'Ð'],
+ ['I', 'Ш'],
+ ['O', 'Щ'],
+ ['P', 'Ð'],
+ ['\\{', 'Ð¥'],
+ ['\\}', 'Ð'],
+ ['A', 'Ф'],
+ ['S', 'Ð'],
+ ['D', 'Ð'],
+ ['F', 'Ð'],
+ ['G', 'Ð'],
+ ['H', 'Ð '],
+ ['J', 'Ð'],
+ ['K', 'Ð'],
+ ['L', 'Ð'],
+ [':', 'Ð'],
+ ['\"', 'Ð'],
+ ['\\|', '|'],
+ ['Z', 'Я'],
+ ['X', 'Ч'],
+ ['C', 'С'],
+ ['V', 'Ð'],
+ ['B', 'Ð'],
+ ['N', 'Т'],
+ ['M', 'Ь'],
+ ['\\<', 'Ð'],
+ ['\\>', 'Ю'],
+ ['\\?', ',']
+ ]
+
+ };
+ $.ime.register( ukKbd );
+
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ur/ur-phonetic.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ur/ur-phonetic.js
new file mode 100644
index 0000000..98b7596
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ur/ur-phonetic.js
@@ -0,0 +1,108 @@
+( function ( $ ) {
+ 'use strict';
+
+ var urPhonetic = {
+ id: 'ur-phonetic',
+ name: 'صÙتÛ',
+ description: 'Phonetic keyboard for Urdu script',
+ date: '2013-02-18',
+ URL: 'http://cvs.savannah.gnu.org/viewvc/m17n-contrib/im/ur-phonetic.mim?root=m17n&view=markup',
+ author: 'Parag Nemade',
+ license: 'GPLv3',
+ version: '1.0',
+ patterns: [
+ ['!', '!'],
+ ['1', 'Û±'],
+ ['2', 'Û²'],
+ ['\\#', '/'],
+ ['3', 'Û³'],
+ /* Yeh with hamza above */ ['\\$', 'ئ'],
+ ['4', 'Û´'],
+ ['5', 'Ûµ'],
+ ['6', 'Û¶'],
+ ['7', 'Û·'],
+ ['8', 'Û¸'],
+ ['\\(', ')'],
+ ['9', 'Û¹'],
+ ['\\)', '('],
+ ['0', 'Û°'],
+ ['\\_" "Ù'],
+ /* Alef with hamza above */ ['\\-', 'Ø£'],
+ /* Alef with madda above */ ['\\+', 'Ø¢'],
+ /* Waw with hamza above */ ['\\=', 'ؤ'],
+ ['Q', 'Ù'],
+ ['q', 'Ù'],
+ ['W', 'ï·º'],
+ ['w', 'Ù'],
+ ['E', 'Â¥'],
+ ['e', 'ع'],
+ ['R', 'Ú'],
+ ['r', 'ر'],
+ ['T', 'Ù¹'],
+ ['t', 'ت'],
+ ['Y', '\u0601'],
+ ['y', 'Û'],
+ ['U', 'Ø'],
+ ['u', 'Ø¡'],
+ ['I', 'Ù°'],
+ ['i', 'Û'],
+ /* Teh marbuta goal */ ['O', 'Û'],
+ ['o', 'Û'],
+ ['P', 'Ù'],
+ ['p', 'Ù¾'],
+ ['\\{', 'Ù°'],
+ ['\\[', ']'],
+ ['\\}', 'ٰٰ'],
+ ['\\]', '['],
+ ['A', 'Ù'],
+ ['a', 'ا'],
+ ['S', 'ص'],
+ ['s', 'س'],
+ ['D', 'Ú'],
+ ['d', 'د'],
+ ['F', ''],
+ ['f', 'Ù'],
+ ['G', 'غ'],
+ ['g', 'Ú¯'],
+ ['H', 'Ø'],
+ ['h', 'Ú¾'],
+ ['J', 'ض'],
+ ['j', 'ج'],
+ ['K', 'Ø®'],
+ ['k', 'Ú©'],
+ ['L', '\u0613'],
+ ['l', 'Ù'],
+ [':', ':'],
+ /* Arabic semicolon */ [';', 'Ø'],
+ ['\"', 'Ø'],
+ ['\'', 'Ù°'],
+ ['\\|', 'Ø'],
+ ['\\', 'Ø'],
+ ['\\~', 'Ù'],
+ ['\\`', 'Ù'],
+ ['Z', 'Ø°'],
+ ['z', 'ز'],
+ ['X', 'Ú'],
+ ['x', 'Ø´'],
+ ['C', 'Ø«'],
+ ['c', 'Ú'],
+ ['V', 'ظ'],
+ ['v', 'Ø·'],
+ ['B', 'Ø'],
+ ['b', 'ب'],
+ ['N', 'Úº'],
+ ['n', 'Ù'],
+ ['M', ''],
+ ['m', 'Ù
'],
+ ['\\<', 'Ù'],
+ [',', 'Ø'],
+ ['\\>', 'Ù'],
+ /* Arabic full stop */ ['\\.', 'Û'],
+ /* Arabic question mark */ ['\\?', 'Ø'],
+ ['\\^', 'Û'],
+ ['\\&', 'Ù'],
+ ['\\*', 'Ù']]
+ };
+
+ $.ime.register( urPhonetic );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ur/ur-transliteration.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ur/ur-transliteration.js
new file mode 100644
index 0000000..7b1236e
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/ur/ur-transliteration.js
@@ -0,0 +1,98 @@
+( function ( $ ) {
+ 'use strict';
+
+ var urTransliteration = {
+ id: 'ur-transliteration',
+ name: 'Urdu Transliteration',
+ description: 'Urdu Transliteration based on RTS',
+ date: '2012-10-16',
+ URL: 'http://github.com/wikimedia/jquery.ime',
+ author: 'Mohammed Imran Tabani',
+ license: '',
+ version: '1.0',
+ patterns: [
+ ['x', 'Ù'],
+ ['_', '_'],
+ ['D', 'Ú'],
+ ['E', 'Ø°'],
+ ['F', 'Úº'],
+ ['R', 'Ú'],
+ ['G', 'Û'],
+ ['T', 'Ø«'],
+ ['\\+', '+'],
+ ['S', 'ز'],
+ ['W', 'ض'],
+ ['A', 'Ú'],
+ ['Q', 'ظ'],
+ ['k', 'Ú©'],
+ ['K', 'Ú¯'],
+ ['i', 'ب'],
+ ['I', 'Ù'],
+ ['U', 'Û'],
+ /* Arabic semicolon */ ['\\;', 'Ø'],
+ ['\\:', ':'],
+ ['p', 'Ø'],
+ ['P', 'Ø®'],
+ ['\\}', '{'],
+ ['\'', '\''],
+ ['\"', '\"'],
+ ['\\[', ']'],
+ ['\\{', '{'],
+ ['C', 'Û'],
+ ['l', 'Û'],
+ ['L', 'Ù'],
+ ['o', 'ج'],
+ ['O', 'Ú'],
+ ['v', 'س'],
+ ['h', 'Û'],
+ ['H', 'Ø¡'],
+ ['y', 'Ù¾'],
+ ['Y', '\u0651\u00AD'],
+ ['c', 'Û'],
+ /* Arabic question mark */ ['\\?','Ø'],
+ ['j', 'ا'],
+ ['n', 'غ'],
+ ['N', 'ئ'],
+ ['b', 'Ø´'],
+ ['\\<', '','>'],
+ ['m', 'ع'],
+ ['u', 'ت'],
+ ['\\]', '','['],
+ ['e', 'Ú¾'],
+ ['f', 'Ù'],
+ ['r', 'د'],
+ ['g', 'Ù'],
+ ['t', 'Ù¹'],
+ ['\\=', '','='],
+ ['\\\\', '\\'],
+ ['s', 'Ù'],
+ ['w', 'ص'],
+ ['a', 'Ù
'],
+ ['q', 'Ø·'],
+ ['d', 'ر'],
+ ['\\|', '|'],
+ ['/', '/'],
+ ['\\>', '<'],
+ ['0', '0'],
+ ['1', '1'],
+ ['2', '2'],
+ ['3', '3'],
+ ['4', '4'],
+ ['5', '5'],
+ ['6', '6'],
+ ['7', '7'],
+ ['8', '8'],
+ ['9', '9'],
+ ['\\@', '@'],
+ ['\\#', '','#'],
+ ['\\$', '','$'],
+ ['\\%', '','Ùª'],
+ ['\\^', '','^'],
+ ['\\&', 'Û'],
+ /* Arabic star */ ['\\*', 'Ù'],
+ ['\\(', '('],
+ ['\\)', ')']]
+ };
+
+ $.ime.register( urTransliteration );
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/uz/uz-kbd.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/uz/uz-kbd.js
new file mode 100644
index 0000000..f480eeb
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/uz/uz-kbd.js
@@ -0,0 +1,102 @@
+( function ( $ ) {
+ 'use strict';
+
+ var uzKbd = {
+ id: 'uz-kbd',
+ name: 'Uzbek keyboard',
+ description: 'Uzbek input method with Russian keyboard layout',
+ date: '2013-02-12',
+ URL: 'http://github.com/wikimedia/jquery.ime',
+ author: 'Parag Nemade',
+ license: 'GPLv3',
+ version: '1.0',
+ patterns: [
+ ['`', 'Ñ'],
+ ['q', 'й'],
+ ['w', 'Ñ'],
+ ['e', 'Ñ'],
+ ['r', 'к'],
+ ['t', 'е'],
+ ['y', 'н'],
+ ['u', 'г'],
+ ['i', 'Ñ'],
+ ['o', 'Ñ'],
+ ['p', 'з'],
+ ['\\[', 'Ñ
'],
+ ['\\]', 'Ñ'],
+ ['a', 'Ñ'],
+ ['s', 'Ò'],
+ ['d', 'в'],
+ ['f', 'а'],
+ ['g', 'п'],
+ ['h', 'Ñ'],
+ ['j', 'о'],
+ ['k', 'л'],
+ ['l', 'д'],
+ [';', 'ж'],
+ ['\'', 'Ñ'],
+ ['\\\\', '\\'],
+ ['z', 'Ñ'],
+ ['x', 'Ñ'],
+ ['c', 'Ñ'],
+ ['v', 'м'],
+ ['b', 'и'],
+ ['n', 'Ñ'],
+ ['m', 'Ñ'],
+ [',', 'б'],
+ ['\\.', 'Ñ'],
+ ['/', '.'],
+ ['\\!', '!'],
+ ['\\@', '\"'],
+ ['\\#', 'â'],
+ ['\\$', ';'],
+ ['\\%', '%'],
+ ['\\^', ':'],
+ ['\\&', '?'],
+ ['\\*', '*'],
+ ['\\(', '('],
+ ['\\)', ')'],
+ ['\\-', 'Ò'],
+ ['\\_', 'Ò'],
+ ['\\=', 'Ò³'],
+ ['\\+', 'Ò²'],
+ ['\\~', 'Ð'],
+ ['Q', 'Ð'],
+ ['W', 'Ц'],
+ ['E', 'У'],
+ ['R', 'Ð'],
+ ['T', 'Ð'],
+ ['Y', 'Ð'],
+ ['U', 'Ð'],
+ ['I', 'Ш'],
+ ['O', 'Ð'],
+ ['P', 'Ð'],
+ ['\\{', 'Ð¥'],
+ ['\\}', 'Ъ'],
+ ['A', 'Ф'],
+ ['S', 'Ò'],
+ ['D', 'Ð'],
+ ['F', 'Ð'],
+ ['G', 'Ð'],
+ ['H', 'Ð '],
+ ['J', 'Ð'],
+ ['K', 'Ð'],
+ ['L', 'Ð'],
+ [':', 'Ð'],
+ ['\"', 'Ð'],
+ ['\\|', '|'],
+ ['Z', 'Я'],
+ ['X', 'Ч'],
+ ['C', 'С'],
+ ['V', 'Ð'],
+ ['B', 'Ð'],
+ ['N', 'Т'],
+ ['M', 'Ь'],
+ ['\\<', 'Ð'],
+ ['\\>', 'Ю'],
+ ['\\?', ',']
+ ]
+ };
+ $.ime.register( uzKbd );
+
+}( jQuery ) );
diff --git a/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/vec/vec-GVU.js b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/vec/vec-GVU.js
new file mode 100644
index 0000000..b9b5527
--- /dev/null
+++ b/koha-tmpl/opac-tmpl/lib/jquery.ime/rules/vec/vec-GVU.js
@@ -0,0 +1,32 @@
+( function ( $ ) {
+ 'use strict';
+
+ var vec = {
+ id: 'vec-GVU',
+ name: 'Venetian GVU',
+ description: 'Venetian input method.',
+ date: '2013-08-06',
+ URL: 'http://github.com/wikimedia/jquery.ime',
+ author: 'Vec.wiki community',
+ license: 'GPLv3',
+ version: '1.0',
+ patterns: [
+ ['dh', 'Ä'],
+ ['lh', 'Æ'],
+ ['òò', 'ó'],
+ ['zh', 'áº'],
+ ['Äh', 'dh'],
+ ['Æh', 'lh'],
+ ['áºh', 'zh'],
+ ['Dh', 'Ä'],
+ ['Lh', 'Ƚ'],
+ ['Ãò', 'Ã'],
+ ['Zh', 'áº'],
+ ['Äh', 'Dh'],
+ ['Ƚh', 'Lh'],
+ ['áºh', 'Zh']
+ ]
+ };
+
+ $.ime.register( vec );
+}( jQuery ) );
--
1.8.1.2
More information about the Koha-patches
mailing list