From 38fe9b8aa5cea927c6695cb0e5b77e27b694d521 Mon Sep 17 00:00:00 2001 From: Rene Hamburger Date: Tue, 24 Jul 2018 23:55:06 +0200 Subject: [PATCH] 0.1.8 --- README.md | 6 +++--- dist/blinx.js | 2 +- dist/blinx.js.map | 2 +- package.json | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 9a0ff7a..8c7564e 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ For now, the script can be included directly from GitHub via RawGit, either thro ### Script tag ```html - ``` @@ -34,7 +34,7 @@ blinx.js loads several resources it requires dynamically and asynchronously. To ```html - + ``` The string entered for the ``, e.g. 'de', will then also determine the language for blinx.js. ('537560a7' is the current [latest commit of the Bible Passage Reference Parser](https://github.com/openbibleinfo/Bible-Passage-Reference-Parser/commits/master) and may need to be updated at a later stage. @@ -44,7 +44,7 @@ The string entered for the ``, e.g. 'de', will then also determin ```js var blinxScript = document.createElement("script"); blinxScript.type = 'text/javascript'; -blinxScript.src = 'https://cdn.rawgit.com/renehamburger/blinx.js/v0.1.7/dist/blinx.js'; +blinxScript.src = 'https://cdn.rawgit.com/renehamburger/blinx.js/v0.1.8/dist/blinx.js'; document.documentElement.appendChild(blinxScript); blinxScript.setAttribute('data-blinx', '{ language: "de" }'); ``` diff --git a/dist/blinx.js b/dist/blinx.js index 8068ab4..30ad180 100644 --- a/dist/blinx.js +++ b/dist/blinx.js @@ -1,2 +1,2 @@ -!function(e){function t(i){if(n[i])return n[i].exports;var a=n[i]={i:i,l:!1,exports:{}};return e[i].call(a.exports,a,a.exports,t),a.l=!0,a.exports}var n={};t.m=e,t.c=n,t.d=function(e,n,i){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:i})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=8)}([function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";function i(e,t){var n=document.createElement("script");if(n.src=e,document.head.appendChild(n),t)n.onload=function(){return t(!0)},n.onerror=function(){return t(!1)};else if("Promise"in window)return new Promise(function(e,t){n.onload=function(){return e()},n.onerror=function(){return t()}})}function a(e){return new Promise(function(t,n){var i=document.createElement("link");i.rel="stylesheet",i.href=e,i.onload=function(){return t()},i.onerror=function(){return n()},document.head.appendChild(i)})}function o(e){var t=document.createElement("style");t.type="text/css",t.innerHTML=e,document.head.appendChild(t)}Object.defineProperty(t,"__esModule",{value:!0}),t.loadScript=i,t.loadCSS=a,t.injectCSS=o},function(e,t,n){"use strict";function i(e){for(var t={start:{book:"Gen",chapter:-1}},n=0;n<2;n++){var i=e.split("-")[n];if(i){var a=i.split("."),o={book:a[0],chapter:+a[1]};a.length>2&&(o.verse=+a[2]),t[0===n?"start":"end"]=o}}return t}function a(e,t){void 0===t&&(t={});var n=new s,a=void 0!==t.chapterVerse?t.chapterVerse:n.chapterVerse,o=void 0!==t.bookChapter?t.bookChapter:n.bookChapter,r=void 0!==t.bookNameMap?t.bookNameMap:n.bookNameMap,l=void 0!==t.removeSuperfluous?t.removeSuperfluous:n.removeSuperfluous,c=i(e),u=r[c.start.book]||c.start.book;if(u+=o+c.start.chapter,c.start.verse&&(u+=a+c.start.verse),c.end){u+="-";var h=!1;c.end.book!==c.start.book||"none"===l?(u+=r[c.end.book]||c.end.book,u+=o+c.end.chapter,h=!0):c.end.chapter===c.start.chapter&&"book"!==l||(u+=c.end.chapter,h=!0),c.end.verse&&(u+=(h?a:"")+c.end.verse)}return u}function o(e){var t=i(e);if(t.end&&t.start.book!==t.end.book){var n=r.bibleBooks[t.start.book].chapters;return t.start.book+"."+t.start.chapter+"."+t.start.verse+"-"+t.start.book+"."+n+".999"}return e}Object.defineProperty(t,"__esModule",{value:!0});var r=n(22);t.parseOsis=i;var s=function(){function e(){this.chapterVerse=":",this.bookChapter="",this.removeSuperfluous="bookChapter",this.bookNameMap={}}return e}();t.TransformOsisOptions=s,t.transformOsis=a,t.truncateMultiBookOsis=o},function(e,t){var n=function(e,t){return this instanceof n?e instanceof n?e:("string"==typeof e&&(e=this.select(e,t)),e&&e.nodeName&&(e=[e]),void(this.nodes=this.slice(e))):new n(e,t)};n.prototype={get length(){return this.nodes.length}},n.prototype.nodes=[],n.prototype.adjacent=function(e,t,i){return"number"==typeof t&&(t=0===t?[]:new Array(t).join().split(",").map(Number.call,Number)),this.each(function(a,o){var r=document.createDocumentFragment();n(t||{}).map(function(t,i){var r="function"==typeof e?e.call(this,t,i,a,o):e;return"string"==typeof r?this.generate(r):n(r)}).each(function(e){this.isInPage(e)?r.appendChild(n(e).clone().first()):r.appendChild(e)}),i.call(this,a,r)})},n.prototype.append=function(e,t){return this.adjacent(e,t,function(e,t){e.appendChild(t)})},n.prototype.args=function(e,t,n){return"function"==typeof e&&(e=e(t,n)),"string"!=typeof e&&(e=this.slice(e).map(this.str(t,n))),e.toString().split(/[\s,]+/).filter(function(e){return e.length})},n.prototype.array=function(e){e=e;var t=this;return this.nodes.reduce(function(i,a,o){var r;return e?(r=e.call(t,a,o),r||(r=!1),"string"==typeof r&&(r=n(r)),r instanceof n&&(r=r.nodes)):r=a.innerHTML,i.concat(!1!==r?r:[])},[])},n.prototype.attr=function(e,t,n){return n=n?"data-":"",this.pairs(e,t,function(e,t){return e.getAttribute(n+t)},function(e,t,i){e.setAttribute(n+t,i)})},n.prototype.children=function(e){return this.map(function(e){return this.slice(e.children)}).filter(e)},n.prototype.mirror={},n.prototype.closest=function(e){return this.map(function(t){do{if(n(t).is(e))return t}while((t=t.parentNode)&&t!==document)})},n.prototype.data=function(e,t){return this.attr(e,t,!0)},n.prototype.each=function(e){return this.nodes.forEach(e.bind(this)),this},n.prototype.eacharg=function(e,t){return this.each(function(n,i){this.args(e,n,i).forEach(function(e){t.call(this,n,e)},this)})},n.prototype.filter=function(e){var t=function(t){return t.matches=t.matches||t.msMatchesSelector||t.webkitMatchesSelector,t.matches(e||"*")};return"function"==typeof e&&(t=e),e instanceof n&&(t=function(t){return-1!==e.nodes.indexOf(t)}),n(this.nodes.filter(t))},n.prototype.find=function(e){return this.map(function(t){return n(e||"*",t)})},n.prototype.first=function(){return this.nodes[0]||!1},n.prototype.generate=function(e){return/^\s*0},n.prototype.isInPage=function(e){return e!==document.body&&document.body.contains(e)},n.prototype.map=function(e){return e?n(this.array(e)).unique():this},n.prototype.not=function(e){return this.filter(function(t){return!n(t).is(e||!0)})},n.prototype.off=function(e){return this.eacharg(e,function(e,t){n(e._e?e._e[t]:[]).each(function(n){e.removeEventListener(t,n)})})},n.prototype.on=function(e,t,i){if("string"==typeof t){var a=t;t=function(e){var t=arguments;n(e.currentTarget).find(a).each(function(n){if(n===e.target||n.contains(e.target)){try{Object.defineProperty(e,"currentTarget",{get:function(){return n}})}catch(e){}i.apply(n,t)}})}}var o=function(e){return t.apply(this,[e].concat(e.detail||[]))};return this.eacharg(e,function(e,t){e.addEventListener(t,o),e._e=e._e||{},e._e[t]=e._e[t]||[],e._e[t].push(o)})},n.prototype.pairs=function(e,t,n,i){if(void 0!==t){var a=e;e={},e[a]=t}return"object"==typeof e?this.each(function(t){for(var n in e)i(t,n,e[n])}):this.length?n(this.first(),e):""},n.prototype.select=function(e,t){if(e=e.replace(/^\s*/,"").replace(/\s*$/,""),t)return this.select.byCss(e,t);for(var n in this.selectors)if(t=n.split("/"),new RegExp(t[1],t[2]).test(e))return this.selectors[n](e);return this.select.byCss(e)},n.prototype.select.byCss=function(e,t){return(t||document).querySelectorAll(e)},n.prototype.selectors={},n.prototype.selectors[/^\.[\w\-]+$/]=function(e){return document.getElementsByClassName(e.substring(1))},n.prototype.selectors[/^-1&&(e&&e!==i.bibleVersions[n].languageCode||(t[n]=i.bibleVersions[n]));return t},e}();t.Bible=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(){this["af.AOV"]={title:"Ou Vertaling",languageCode:"af",availableSections:["OT","NT"]},this["am.HSAB"]={title:"Haile Selassie Amharic Bible",languageCode:"am",availableSections:["OT","NT"]},this["am.Amharic"]={title:"Amharic NT",languageCode:"am",availableSections:["NT"]},this["ar.ALAB"]={title:"التفسير التطبيقي للكتاب المقدس",languageCode:"ar",availableSections:["OT","NT"]},this["ar.ArabicSV"]={title:"Smith and Van Dyke",languageCode:"ar",availableSections:["OT","NT"]},this["arc.Peshitta"]={title:"Peshitta NT",languageCode:"arc",availableSections:["NT"]},this["bg.BGV"]={title:"Veren",languageCode:"bg",availableSections:["OT","NT"]},this["bg.CBT"]={title:"Библия, нов превод от оригиналните езици",languageCode:"bg",availableSections:["OT","NT","Apocrypha"]},this["bg.Bulgarian1940"]={title:"Bulgarian Bible (1940)",languageCode:"bg",availableSections:["OT","NT"]},this["br.Breton"]={title:"Breton",languageCode:"br",availableSections:["Gospels"]},this["ch.Chamorro"]={title:"Chamorro",languageCode:"ch",availableSections:["Ps","Gospels","Acts"]},this["cop.Bohairic"]={title:"Bohairic NT",languageCode:"cop",availableSections:["NT"]},this["cop.Coptic"]={title:"Coptic NT",languageCode:"cop",availableSections:["NT"]},this["cop.Sahidic"]={title:"Sahidic NT",languageCode:"cop",availableSections:["NT"]},this["cs.B21"]={title:"Bible, překlad 21. století",languageCode:"cs",availableSections:["OT","NT","Apocrypha"]},this["cs.BKR"]={title:"Bible Kralická",languageCode:"cs",availableSections:["OT","NT"]},this["cs.CEP"]={title:"Český ekumenický překlad",languageCode:"cs",availableSections:["OT","NT","Apocrypha"]},this["cs.SNC"]={title:"Slovo na cestu",languageCode:"cs",availableSections:["OT","NT"]},this["cs.KMS"]={title:"Křesťanská misijní společnost",languageCode:"cs",availableSections:["OT","NT"]},this["cs.NKB"]={title:"Nova Bible Kralicka",languageCode:"cs",availableSections:["OT","NT"]},this["da.DK"]={title:"Bibelen på hverdagsdansk",languageCode:"da",availableSections:["OT","NT"]},this["da.Danish"]={title:"Danish",languageCode:"da",availableSections:["OT","NT"]},this["de.ELB"]={title:"Elberfelder Bibel",languageCode:"de",availableSections:["OT","NT"]},this["de.ZB"]={title:"Zürcher Bibel",languageCode:"de",availableSections:["OT","NT"]},this["de.LUT"]={title:"Lutherbibel 2017",languageCode:"de",availableSections:["OT","NT","Apocrypha"]},this["de.NeÜ"]={title:"Neue evangelistische Übersetzung",languageCode:"de",availableSections:["OT","NT"]},this["de.SLT"]={title:"Schlachter 2000",languageCode:"de",availableSections:["OT","NT"]},this["de.EU"]={title:"Einheitsübersetzung 2016",languageCode:"de",availableSections:["OT","NT","Apocrypha"]},this["de.MENG"]={title:"Menge Bibel",languageCode:"de",availableSections:["OT","NT","Apocrypha"]},this["de.NLB"]={title:"Neues Leben. Die Bibel",languageCode:"de",availableSections:["OT","NT"]},this["de.GNB"]={title:"Gute Nachricht Bibel",languageCode:"de",availableSections:["OT","NT","Apocrypha"]},this["de.HFA"]={title:"Hoffnung für Alle",languageCode:"de",availableSections:["OT","NT"]},this["de.NGÜ"]={title:"Neue Genfer Übersetzung",languageCode:"de",availableSections:["Psalms","NT"]},this["de.SLT1951"]={title:"Schlachter 1951",languageCode:"de",availableSections:["OT","NT"]},this["de.ELB1905"]={title:"Elberfelder 1905",languageCode:"de",availableSections:["OT","NT"]},this["de.ELB1871"]={title:"Elberfelder 1871",languageCode:"de",availableSections:["OT","NT"]},this["de.LUT1912"]={title:"Luther 1912",languageCode:"de",availableSections:["OT","NT"]},this["de.LUT1545"]={title:"Luther 1545",languageCode:"de",availableSections:["OT","NT"]},this["el.ModernGreek"]={title:"Modern Greek",languageCode:"el",availableSections:["OT","NT"]},this["en.ESV"]={title:"English Standard Version",languageCode:"en",availableSections:["OT","NT"]},this["en.NIV"]={title:"New International Version",languageCode:"en",availableSections:["OT","NT"]},this["en.WEB"]={title:"World English Bible",languageCode:"en",availableSections:["OT","NT"]},this["en.KJV"]={title:"King James Version",languageCode:"en",availableSections:["OT","NT"]},this["en.NIRV"]={title:"New Int. Readers Version",languageCode:"en",availableSections:["OT","NT"]},this["en.AKJV"]={title:"KJV Easy Read",languageCode:"en",availableSections:["OT","NT"]},this["en.ASV"]={title:"American Standard Version",languageCode:"en",availableSections:["OT","NT"]},this["en.BasicEnglish"]={title:"Basic English Bible",languageCode:"en",availableSections:["OT","NT"]},this["en.Darby"]={title:"Darby",languageCode:"en",availableSections:["OT","NT"]},this["en.YLT"]={title:"Young's Literal Translation",languageCode:"en",availableSections:["OT","NT"]},this["en.WB"]={title:"Webster's Bible",languageCode:"en",availableSections:["OT","NT"]},this["en.DouayRheims"]={title:"Douay Rheims",languageCode:"en",availableSections:["OT","NT"]},this["en.Weymouth"]={title:"Weymouth NT",languageCode:"en",availableSections:["NT"]},this["eo.Esperanto"]={title:"Esperanto",languageCode:"eo",availableSections:["OT","NT"]},this["es.BTX"]={title:"La Biblia Textual",languageCode:"es",availableSections:["OT","NT"]},this["es.CST"]={title:"Nueva Versión Internacional (Castilian)",languageCode:"es",availableSections:["OT","NT"]},this["es.NVI"]={title:"Nueva Versión Internacional",languageCode:"es",availableSections:["OT","NT"]},this["es.Valera"]={title:"Reina Valera (1909)",languageCode:"es",availableSections:["OT","NT"]},this["es.RV1858"]={title:"Reina Valera NT (1858)",languageCode:"es",availableSections:["NT"]},this["es.SSE"]={title:"Sagradas Escrituras (1569)",languageCode:"es",availableSections:["OT","NT"]},this["et.Estonian"]={title:"Estonian",languageCode:"et",availableSections:["OT","NT"]},this["eu.Basque"]={title:"Navarro Labourdin NT",languageCode:"eu",availableSections:["NT"]},this["fa.FCB"]={title:"کتاب مقدس، ترجمه تفسیری",languageCode:"fa",availableSections:["OT","NT"]},this["fi.Finnish1776"]={title:"Finnish Bible (1776)",languageCode:"fi",availableSections:["OT","NT"]},this["fi.PyhaRaamattu1933"]={title:"Pyha Raamattu (1933 1938)",languageCode:"fi",availableSections:["OT","NT"]},this["fi.PyhaRaamattu1992"]={title:"Pyha Raamattu (1992)",languageCode:"fi",availableSections:["OT","NT"]},this["fr.BDS"]={title:"Bible du Semeur",languageCode:"fr",availableSections:["OT","NT"]},this["fr.LSG"]={title:"Louis Segond 1910",languageCode:"fr",availableSections:["OT","NT"]},this["fr.S21"]={title:"Segond 21",languageCode:"fr",availableSections:["OT","NT"]},this["fr.Martin"]={title:"Martin (1744)",languageCode:"fr",availableSections:["OT","NT"]},this["fr.LS1910"]={title:"Louis Segond (1910)",languageCode:"fr",availableSections:["OT","NT"]},this["fr.Ostervald1996"]={title:"Ostervald (1996 revision)",languageCode:"fr",availableSections:["OT","NT"]},this["gd.Gaelic"]={title:"Scots Gaelic Gospel of Mark",languageCode:"gd",availableSections:["Mark"]},this["got.Gothic"]={title:"Gothic (Nehemiah NT Portions)",languageCode:"got",availableSections:["Neh","NT"]},this["grc.TextusReceptus"]={title:"Textus Receptus",languageCode:"grc",availableSections:["NT"]},this["grc.MajorityTextParsed"]={title:"NT Byzantine Majority Text (2000) Parsed",languageCode:"grc",availableSections:["NT"]},this["grc.MajorityText"]={title:"NT Byzantine Majority Text (2000)",languageCode:"grc",availableSections:["NT"]},this["grc.TextusReceptusParsed"]={title:"NT Textus Receptus (1550 1894) Parsed",languageCode:"grc",availableSections:["NT"]},this["grc.Tischendorf"]={title:"NT Tischendorf 8th Ed",languageCode:"grc",availableSections:["NT"]},this["grc.WestcottHortParsed"]={title:"NT Westcott Hort UBS4 variants Parsed",languageCode:"grc",availableSections:["NT"]},this["grc.WestcottHort"]={title:"NT Westcott Hort UBS4 variants",languageCode:"grc",availableSections:["NT"]},this["grc.LXX"]={title:"OT Septuaginta",languageCode:"grc",availableSections:["OT"]},this["grc.LXXParsed"]={title:"OT Septuaginta with Roots Parsing",languageCode:"grc",availableSections:["OT"]},this["grc.LXXUnaccented"]={title:"OT Septuaginta Unaccented",languageCode:"grc",availableSections:["OT"]},this["grc.LXXUnaccentedParsed"]={title:"OT Septuaginta Unaccented with Roots Parsing",languageCode:"grc",availableSections:["OT"]},this["gv.ManxGaelic"]={title:"Manx Gaelic",languageCode:"gv",availableSections:["Esth","Jonah","Gospels"]},this["he.ModernHebrew"]={title:"Hebrew Modern",languageCode:"he",availableSections:["OT","NT"]},this["he.OT"]={title:"Hebrew OT",languageCode:"he",availableSections:["OT"]},this["hbo.Aleppo"]={title:"Aleppo Codex",languageCode:"hbo",availableSections:["OT"]},this["hbo.BHSUnpointed"]={title:"OT BHS (Consonants Only)",languageCode:"hbo",availableSections:["OT"]},this["hbo.BHS"]={title:"OT BHS (Consonants and Vowels)",languageCode:"hbo",availableSections:["OT"]},this["hbo.WLCUnpointed"]={title:"OT WLC (Consonants Only)",languageCode:"hbo",availableSections:["OT"]},this["hbo.WLC"]={title:"OT WLC (Consonants and Vowels)",languageCode:"hbo",availableSections:["OT"]},this["hbo.WLC2"]={title:"OT Westminster Leningrad Codex",languageCode:"hbo",availableSections:["OT"]},this["hu.Karoli"]={title:"Hungarian Karoli",languageCode:"hu",availableSections:["OT","NT"]},this["hr.CKK"]={title:"Knjiga O Kristu",languageCode:"hr",availableSections:["NT"]},this["hr.Croatian"]={title:"Croatian",languageCode:"hr",availableSections:["OT","NT"]},this["hu.HUN"]={title:"Hungarian",languageCode:"hu",availableSections:["NT"]},this["hu.KAR"]={title:"IBS-fordítás (Új Károli)",languageCode:"hu",availableSections:["OT"]},this["hy.EasternArmenian"]={title:"Eastern",languageCode:"hy",availableSections:["Gen","Exod","Gospels"]},this["hy.WesternArmenian"]={title:"Western NT",languageCode:"hy",availableSections:["NT"]},this["it.ITA"]={title:"La Parola è Vita",languageCode:"it",availableSections:["NT"]},this["it.NRS"]={title:"Nuova Riveduta 2006",languageCode:"it",availableSections:["OT","NT"]},this["it.Giovanni"]={title:"Giovanni Diodati Bible (1649)",languageCode:"it",availableSections:["OT","NT"]},this["it.Riveduta"]={title:"Riveduta Bible (1927)",languageCode:"it",availableSections:["OT","NT"]},this["ka.Georgian"]={title:"Georgian",languageCode:"ka",availableSections:["Gospels","Acts","Jas"]},this["kab.Kabyle"]={title:"Kabyle NT",languageCode:"kab",availableSections:["NT"]},this["ko.Korean"]={title:"Korean",languageCode:"ko",availableSections:["OT","NT"]},this["la.VUL"]={title:"Vulgata",languageCode:"la",availableSections:["OT","NT"]},this["la.NewVulgate"]={title:"Nova Vulgata",languageCode:"la",availableSections:["OT","NT"]},this["la.Vulgate"]={title:"Vulgata Clementina",languageCode:"la",availableSections:["OT","NT"]},this["lt.Lithuanian"]={title:"Lithuanian",languageCode:"lt",availableSections:["OT","NT"]},this["lv.Latvian"]={title:"Latvian NT",languageCode:"lv",availableSections:["NT"]},this["mi.Maori"]={title:"Maori",languageCode:"mi",availableSections:["OT","NT"]},this["my.Judson"]={title:"Judson (1835)",languageCode:"my",availableSections:["OT","NT"]},this["nl.HTB"]={title:"Het Boek",languageCode:"nl",availableSections:["OT","NT"]},this["nl.StatenVertaling"]={title:"Dutch Staten Vertaling",languageCode:"nl",availableSections:["OT","NT"]},this["no.NOR"]={title:"En Levende Bok",languageCode:"no",availableSections:["NT"]},this["no.Bibelselskap"]={title:"Bibelselskap (1930)",languageCode:"no",availableSections:["OT","NT"]},this["pot.Potawatomi"]={title:"Potawatomi (Lykins 1844)",languageCode:"pot",availableSections:["Matt","Acts"]},this["pl.PSZ"]={title:"Słowo Życia",languageCode:"pl",availableSections:["NT"]},this["ppk.Uma"]={title:"Uma NT",languageCode:"ppk",availableSections:["NT"]},this["pt.PRT"]={title:"O Livro",languageCode:"pt",availableSections:["OT","NT"]},this["pt.Almeida"]={title:"Almeida Atualizada",languageCode:"pt",availableSections:["OT","NT"]},this["ro.NTR"]={title:"Noua traducere în limba românã",languageCode:"ro",availableSections:["OT","NT"]},this["ro.Cornilescu"]={title:"Cornilescu",languageCode:"ro",availableSections:["OT","NT"]},this["rom.ROM"]={title:"Romani NT E Lashi Viasta",languageCode:"rom",availableSections:["NT"]},this["ru.CARS"]={title:"Священное Писание, Восточный перевод",languageCode:"ru",availableSections:["OT","NT"]},this["ru.RSZ"]={title:"Новый перевод на русский язык",languageCode:"ru",availableSections:["OT","NT"]},this["ru.Synodal"]={title:"Synodal Translation (1876)",languageCode:"ru",availableSections:["OT","NT"]},this["ru.Makarij"]={title:"Makarij Translation Pentateuch (1825)",languageCode:"ru",availableSections:["Gen","Exod","Lev","Num","Deut"]},this["ru.Zhuromsky"]={title:"Victor Zhuromsky NT",languageCode:"ru",availableSections:["NT"]},this["sk.NPK"]={title:"Nádej pre kazdého",languageCode:"sk",availableSections:["NT"]},this["sq.Albanian"]={title:"Albanian",languageCode:"sq",availableSections:["OT","NT"]},this["sv.BSV"]={title:"Nya Levande Bibeln",languageCode:"sv",availableSections:["OT","NT"]},this["sv.Swedish"]={title:"Swedish (1917)",languageCode:"sv",availableSections:["OT","NT"]},this["sw.Swahili"]={title:"Swahili",languageCode:"sw",availableSections:["OT","NT"]},this["th.Thai"]={title:"Thai from KJV",languageCode:"th",availableSections:["OT","NT"]},this["tl.Tagalog"]={title:"Ang Dating Biblia (1905)",languageCode:"tl",availableSections:["OT","NT"]},this["tr.TR"]={title:"Türkçe",languageCode:"tr",availableSections:["OT","NT"]},this["tr.Turkish"]={title:"Turkish",languageCode:"tr",availableSections:["OT","NT"]},this["tr.TNT"]={title:"Turkish NT (1987 1994)",languageCode:"tr",availableSections:["NT"]},this["ttq.Tamajaq"]={title:"Portions of the Bible in Tamajaq",languageCode:"ttq",availableSections:["OT","NT"]},this["uk.Ukranian"]={title:"Ukranian NT (P Kulish 1871)",languageCode:"uk",availableSections:["NT"]},this["vi.Vietnamese"]={title:"Vietnamese (1934)",languageCode:"vi",availableSections:["OT","NT"]},this["wo.Wolof"]={title:"Wolof NT",languageCode:"wo",availableSections:["NT"]},this["xh.Xhosa"]={title:"Xhosa",languageCode:"xh",availableSections:["OT","NT"]},this["za.CCBT"]={title:"聖經當代譯本修訂版",languageCode:"za",availableSections:["OT","NT"]},this["za.CUVS"]={title:"中文和合本(简体)",languageCode:"za",availableSections:["OT","NT"]},this["za.CNT"]={title:"NCV Traditional",languageCode:"za",availableSections:["OT","NT"]},this["za.CUS"]={title:"Union Simplified",languageCode:"za",availableSections:["OT","NT"]},this["za.CNS"]={title:"NCV Simplified",languageCode:"za",availableSections:["OT","NT"]},this["za.CUT"]={title:"Union Traditional",languageCode:"za",availableSections:["OT","NT"]}}return e}();t.BibleVersions=i,t.bibleVersions=new i},function(e,t,n){"use strict";function i(){window.blinx=new a.Blinx}Object.defineProperty(t,"__esModule",{value:!0});var a=n(9),o=n(33);"Promise"in window||(window.Promise=o),"__karma__"in window||i(),t.loadBlinx=i},function(e,t,n){"use strict";var i=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))(function(a,o){function r(e){try{l(i.next(e))}catch(e){o(e)}}function s(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){e.done?a(e.value):new n(function(t){t(e.value)}).then(r,s)}l((i=i.apply(e,t||[])).next())})},a=this&&this.__generator||function(e,t){function n(e){return function(t){return i([e,t])}}function i(n){if(a)throw new TypeError("Generator is already executing.");for(;l;)try{if(a=1,o&&(r=o[2&n[0]?"return":n[0]?"throw":"next"])&&!(r=r.call(o,n[1])).done)return r;switch(o=0,r&&(n=[0,r.value]),n[0]){case 0:case 1:r=n;break;case 4:return l.label++,{value:n[1],done:!1};case 5:l.label++,o=n[1],n=[0];continue;case 7:n=l.ops.pop(),l.trys.pop();continue;default:if(r=l.trys,!(r=r.length>0&&r[r.length-1])&&(6===n[0]||2===n[0])){l=0;continue}if(3===n[0]&&(!r||n[1]>r[0]&&n[1]").html('\n
\n
\n \n
\n
\n
\n
\n \n '+e.convertOsisToContext(a)+'\n \n retrieved from\n '+e.bibleApi.title+'\n by\n blinx.js.\n \n
\n
\n ').attr("id","bxTippyTemplate"+i);e.tippyObjects.push(tippy(n,{placement:"top",arrow:!0,arrowType:"round",theme:e.options.theme,interactive:!0,html:o.nodes[0],onShow:function(t){e.tippyPolyfills&&e.fixPopperPosition(t);var n=s.u(t.reference).data("osis");e.getTooltipContent(n).then(function(t){s.u(o).find(".bxPassageText").html(t),e.testability.passageDisplayed&&e.testability.passageDisplayed()})},onHide:function(t){e.tippyPolyfills&&(clearInterval(e.tippyPolyfillInterval),e.tippyPolyfillInterval=0,setTimeout(function(){var e=t.popper;e.removeNode?e.removeNode(!0):e.remove&&e.remove()},500))}}))})},e.prototype.fixPopperPosition=function(e){var t=e.popper,n=function(){try{t.style.top="top"===t.getAttribute("x-placement")?"20px":"10px",t.style.left="10px",t.style.position="fixed";t.getElementsByClassName("tippy-roundarrow").item(0).style.display="none"}catch(e){}};setTimeout(n,0),clearInterval(this.tippyPolyfillInterval),this.tippyPolyfillInterval=setInterval(n,10)},e.prototype.initComplete=function(){var e=this;if(this.options.parseAutomatically)if(/^complete|interactive|loaded$/.test(document.readyState))this.execute();else{var t=function(){s.u(document).off("DOMContentLoaded",t),e.execute()};s.u(document).on("DOMContentLoaded",t)}},e.prototype.parseReferencesInNode=function(e){for(var t=Array.prototype.slice.call(e.childNodes),n=0,i=t;n=0;a--){var o=t[a],r=e.splitText(o.indices[1]),l=e.splitText(o.indices[0]);l&&this.addLink(l,o);var c=n||o;this.parsePartialReferencesInText(r,this.convertOsisToContext(c.osis))}e.textContent&&n&&this.parsePartialReferencesInText(e,this.convertOsisToContext(n.osis))},e.prototype.convertOsisToContext=function(e){var t=this.options.parserOptions&&"eu"===this.options.parserOptions.punctuation_strategy?",":":";return f.transformOsis(e,{bookChapter:" ",chapterVerse:t})},e.prototype.parsePartialReferencesInText=function(e,t){var n=e.textContent||"",i=n.match(/\d/);if(i&&void 0!==i.index){var a="",o=n.slice(i.index),r=0;if(i.index>0){var s=n.slice(0,i.index),l=s.match(/\w+\.?\s*$/);l&&(a=l[0]+o,r=i.index-l[0].length)}a&&this.parser.bcv.parse_with_context(a,t);var c=this.parser.bcv.osis_and_indices();if(c.length){for(var u=0,h=c;u").attr("href",this.onlineBible.buildPassageLink(t.osis,i)).attr("target","_blank").data("osis",t.osis).on("click",function(e){n.touchStarted&&e.preventDefault()})},e.prototype.getVersionCode=function(e){var t=l(this.options.bibleVersion)?this.options.bibleVersion:this.options.bibleVersion.bibleText,n=Object.keys(e.getAvailableVersions(this.options.language));return 0===t.indexOf(this.options.language)&&-1!==n.indexOf(t)||n.length&&(t=n[0]),t},e.prototype.getTooltipContent=function(e){var t=this.getVersionCode(this.bibleApi),n=f.truncateMultiBookOsis(e),i="";return e!==n&&(i="Bible references stretching across several books are not yet supported. Only the verses from the first book are displayed above."),this.bibleApi.getPassage(n,t).then(function(e){return e+' '+u.bibleVersions[t].title+""}).then(function(e){return i?e+'
'+i+"":e})},e.prototype.loadTippy=function(){return i(this,void 0,void 0,function(){var e,t;return a(this,function(n){switch(n.label){case 0:return e=window,(t="function"==typeof e.define&&void 0===e.module&&void 0===e.exports,t&&(e.exports={},e.module={}),"tippy"in window)?(this.tippyLoaded.resolve(),[3,7]):[3,1];case 1:return"requestAnimationFrame"in window?[3,3]:[4,h.loadScript("https://cdn.polyfill.io/v2/polyfill.js?features=requestAnimationFrame|gated,Element.prototype.classList|gated")];case 2:n.sent(),this.tippyPolyfills=!0,n.label=3;case 3:return[4,h.loadScript("https://unpkg.com/tippy.js/dist/tippy.all.js")];case 4:return n.sent(),"light"!==this.options.theme?[3,6]:[4,h.loadCSS("https://unpkg.com/tippy.js/dist/themes/light.css")];case 5:n.sent(),n.label=6;case 6:t&&(e.tippy=e.module.exports,delete e.module,delete e.exports),this.tippyLoaded.resolve(),n.label=7;case 7:return[2]}})})},e}();t.Blinx=g},function(module,exports,__webpack_require__){"use strict";function applyScriptTagOptions(options){var tagOptionsString=u_js_1.u("script[data-blinx]").data("blinx")||"{}",opts={};try{var evalOpts=eval("("+tagOptionsString+")");if(!(evalOpts instanceof Object))throw new Error;opts=evalOpts}catch(e){console.error("Blinx: Invalid options: '"+tagOptionsString+"'")}if(!opts.language){var language=parser_class_1.Parser.getCurrentParserLanguage();language&&(opts.language=language)}for(var key in opts)opts.hasOwnProperty(key)&&(options[key]=opts[key])}Object.defineProperty(exports,"__esModule",{value:!0});var u_js_1=__webpack_require__(3),parser_class_1=__webpack_require__(4),Options=function(){function e(){this.language="en",this.bibleVersion="en.ESV",this.onlineBible="BibleServer",this.bibleApi="getBible",this.parseAutomatically=!0,this.whitelist=["body"],this.blacklist=["a"],this.theme="light"}return e}();exports.Options=Options,exports.applyScriptTagOptions=applyScriptTagOptions},function(e,t,n){function i(e){return"string"==typeof e||!o(e)&&r(e)&&a(e)==s}var a=n(12),o=n(17),r=n(18),s="[object String]";e.exports=i},function(e,t,n){function i(e){return null==e?void 0===e?l:s:c&&c in Object(e)?o(e):r(e)}var a=n(5),o=n(15),r=n(16),s="[object Null]",l="[object Undefined]",c=a?a.toStringTag:void 0;e.exports=i},function(e,t,n){var i=n(14),a="object"==typeof self&&self&&self.Object===Object&&self,o=i||a||Function("return this")();e.exports=o},function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(t,n(0))},function(e,t,n){function i(e){var t=r.call(e,l),n=e[l];try{e[l]=void 0;var i=!0}catch(e){}var a=s.call(e);return i&&(t?e[l]=n:delete e[l]),a}var a=n(5),o=Object.prototype,r=o.hasOwnProperty,s=o.toString,l=a?a.toStringTag:void 0;e.exports=i},function(e,t){function n(e){return a.call(e)}var i=Object.prototype,a=i.toString;e.exports=n},function(e,t){var n=Array.isArray;e.exports=n},function(e,t){function n(e){return null!=e&&"object"==typeof e}e.exports=n},function(e,t,n){"use strict";function i(e){return new a.BibleServerOnlineBible}Object.defineProperty(t,"__esModule",{value:!0});var a=n(20);t.getOnlineBible=i},function(e,t,n){"use strict";var i=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();Object.defineProperty(t,"__esModule",{value:!0});var a=n(21),o=n(2),r=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title="BibleServer",t.url="https://www.bibleserver.com",t.bibleVersionMap={"ar.ALAB":"ALAB","bg.BGV":"BGV","bg.CBT":"CBT","cs.B21":"B21","cs.BKR":"BKR","cs.CEP":"CEP","cs.SNC":"SNC","da.DK":"DK","de.ELB":"ELB","de.EU":"EU","de.GNB":"GNB","de.HFA":"HFA","de.LUT":"LUT","de.MENG":"MENG","de.NeÜ":"NeÜ","de.NGÜ":"NGÜ","de.NLB":"NLB","de.SLT":"SLT","de.ZB":"ZB","en.ESV":"ESV","en.KJV":"KJV","en.NIRV":"NIRV","en.NIV":"NIV","es.BTX":"BTX","es.CST":"CST","es.NVI":"NVI","fa.FCB":"FCB","fr.BDS":"BDS","fr.LSG":"LSG","fr.S21":"S21","he.OT":"OT","hr.CKK":"CKK","hu.HUN":"HUN","hu.KAR":"KAR","it.ITA":"ITA","it.NRS":"NRS","grc.LXX":"LXX","la.VUL":"VUL","nl.HTB":"HTB","no.NOR":"NOR","pl.PSZ":"PSZ","pt.PRT":"PRT","ro.NTR":"NTR","ru.CARS":"CARS","ru.RSZ":"RSZ","sk.NPK":"NPK","sv.BSV":"BSV","tr.TR":"TR","za.CCBT":"CCBT","za.CUVS":"CUVS"},t}return i(t,e),t.prototype.buildPassageLink=function(e,t){return e=o.transformOsis(e),"https://www.bibleserver.com/text/"+t.split(".")[1]+"/"+e},t}(a.OnlineBible);t.BibleServerOnlineBible=r},function(e,t,n){"use strict";var i=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();Object.defineProperty(t,"__esModule",{value:!0});var a=n(6),o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t}(a.Bible);t.OnlineBible=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(){this.Gen={chapters:50},this.Exod={chapters:40},this.Lev={chapters:27},this.Num={chapters:36},this.Deut={chapters:34},this.Josh={chapters:24},this.Judg={chapters:21},this.Ruth={chapters:4},this["1Sam"]={chapters:31},this["2Sam"]={chapters:24},this["1Kgs"]={chapters:22},this["2Kgs"]={chapters:25},this["1Chr"]={chapters:29},this["2Chr"]={chapters:36},this.Ezra={chapters:10},this.Neh={chapters:13},this.Esth={chapters:10},this.Job={chapters:42},this.Ps={chapters:150},this.Prov={chapters:31},this.Eccl={chapters:12},this.Song={chapters:8},this.Isa={chapters:66},this.Jer={chapters:52},this.Lam={chapters:5},this.Ezek={chapters:48},this.Dan={chapters:12},this.Hos={chapters:14},this.Joel={chapters:3},this.Amos={chapters:9},this.Obad={chapters:1},this.Jonah={chapters:4},this.Mic={chapters:7},this.Nah={chapters:3},this.Hab={chapters:3},this.Zeph={chapters:3},this.Hag={chapters:2},this.Zech={chapters:14},this.Mal={chapters:4},this.Matt={chapters:28},this.Mark={chapters:16},this.Luke={chapters:24},this.John={chapters:21},this.Acts={chapters:28},this.Rom={chapters:16},this["1Cor"]={chapters:16},this["2Cor"]={chapters:13},this.Gal={chapters:6},this.Eph={chapters:6},this.Phil={chapters:4},this.Col={chapters:4},this["1Thess"]={chapters:5},this["2Thess"]={chapters:3},this["1Tim"]={chapters:6},this["2Tim"]={chapters:4},this.Titus={chapters:3},this.Phlm={chapters:1},this.Heb={chapters:13},this.Jas={chapters:5},this["1Pet"]={chapters:5},this["2Pet"]={chapters:3},this["1John"]={chapters:5},this["2John"]={chapters:1},this["3John"]={chapters:1},this.Jude={chapters:1},this.Rev={chapters:22}}return e}();t.BibleBooks=i,t.bibleBooks=new i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(){var e=this;this.resolve=function(t){e._resolve&&e._resolve(t)},this.reject=function(t){e._reject&&e._reject(t)},this.promise=new Promise(function(t,n){e._resolve=t,e._reject=n})}return e}();t.Deferred=i},function(e,t,n){"use strict";function i(e){return new a.GetBibleBibleApi}Object.defineProperty(t,"__esModule",{value:!0});var a=n(25);t.getBibleApi=i},function(e,t,n){"use strict";var i=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();Object.defineProperty(t,"__esModule",{value:!0});var a=n(26),o=n(27),r=n(2),s=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title="getBible.net",t.url="https://getbible.net/api",t.bibleVersionMap={"af.AOV":"aov","sq.Albanian":"albanian","am.HSAB":"hsab","am.Amharic":"amharic","ar.ArabicSV":"arabicsv","arc.Peshitta":"peshitta","hy.EasternArmenian":"easternarmenian","hy.WesternArmenian":"westernarmenian","eu.Basque":"basque","br.Breton":"breton","bg.Bulgarian1940":"bulgarian1940","ch.Chamorro":"chamorro","za.CNT":"cnt","za.CUS":"cus","za.CNS":"cns","za.CUT":"cut","cop.Bohairic":"bohairic","cop.Coptic":"coptic","cop.Sahidic":"sahidic","hr.Croatian":"croatia","cs.BKR":"bkr","cs.CEP":"cep","cs.KMS":"kms","cs.NKB":"nkb","da.Danish":"danish","nl.StatenVertaling":"statenvertaling","en.KJV":"kjv","en.AKJV":"akjv","en.ASV":"asv","en.BasicEnglish":"basicenglish","en.Darby":"darby","en.YLT":"ylt","en.WEB":"web","en.WB":"wb","en.DouayRheims":"douayrheims","en.Weymouth":"weymouth","eo.Esperanto":"esperanto","et.Estonian":"estonian","fi.Finnish1776":"finnish1776","fi.PyhaRaamattu1933":"pyharaamattu1933","fi.PyhaRaamattu1992":"pyharaamattu1992","fr.Martin":"martin","fr.LS1910":"ls1910","fr.Ostervald1996":"ostervald","ka.Georgian":"georgian","de.LUT1912":"luther1912","de.ELB1871":"elberfelder","de.ELB1905":"elberfelder1905","de.LUT1545":"luther1545","de.SLT1951":"schlachter","got.Gothic":"gothic","el.ModernGreek":"moderngreek","grc.TextusReceptus":"text","grc.MajorityTextParsed":"majoritytext","grc.MajorityText":"byzantine","grc.TextusReceptusParsed":"textusreceptus","grc.Tischendorf":"tischendorf","grc.WestcottHortParsed":"westcotthort","grc.WestcottHort":"westcott","grc.LXXParsed":"lxxpar","grc.LXX":"lxx","grc.LXXUnaccentedParsed":"lxxunaccentspar","grc.LXXUnaccented":"lxxunaccents","he.ModernHebrew":"modernhebrew","hbo.Aleppo":"aleppo","hbo.BHSUnpointed":"bhsnovowels","hbo.BHS":"bhs","hbo.WLCUnpointed":"wlcnovowels","hbo.WLC":"wlc","hbo.WLC2":"codex","hu.Karoli":"karoli","it.Giovanni":"giovanni","it.Riveduta":"riveduta","kab.Kabyle":"kabyle","ko.Korean":"korean","la.NewVulgate":"newvulgate","la.Vulgate":"vulgate","lv.Latvian":"latvian","lt.Lithuanian":"lithuanian","gv.ManxGaelic":"manxgaelic","mi.Maori":"maori","my.Judson":"judson","no.Bibelselskap":"bibelselskap","pt.Almeida":"almeida","pot.Potawatomi":"potawatomi","rom.ROM":"rom","ro.Cornilescu":"cornilescu","ru.Synodal":"synodal","ru.Makarij":"makarij","ru.Zhuromsky":"zhuromsky","gd.Gaelic":"gaelic","es.Valera":"valera","es.RV1858":"rv1858","es.SSE":"sse","sw.Swahili":"swahili","sv.Swedish":"swedish","tl.Tagalog":"tagalog","ttq.Tamajaq":"tamajaq","th.Thai":"thai","tr.Turkish":"turkish","tr.TNT":"tnt","uk.Ukranian":"ukranian","ppk.Uma":"uma","vi.Vietnamese":"vietnamese","wo.Wolof":"wolof","xh.Xhosa":"xhosa"},t.bookNameMap={Exod:"Exo",Deut:"Deu",Josh:"Jos",Judg:"Jud","1Kgs":"1Kg","2Kgs":"2Kg",Ezra:"Ezr",Esth:"Est",Prov:"Pro",Eccl:"Ecc",Ezek:"Eze",Matt:"Mat",Jas:"Jam"},t}return i(t,e),t.prototype.getPassage=function(e,t){var n=this;return o.executeJsonp("https://getbible.net/json?p="+this.getPassageFromOsis(e)+"&v="+this.bibleVersionMap[t],"getbible").then(function(e){var t="";if("verse"===e.type)for(var i=0,a=e.book;i\n \n '+o.chapter_nr+"\n \n "+r.trim()+"\n"}}else"chapter"===e.type&&e.chapter&&(t=n.getOutputForChapter(e.chapter));return t})},t.prototype.getOutputForChapter=function(e){var t="";for(var n in e)if(e.hasOwnProperty(n)){var i=e[n];t+='\n\n \n '+i.verse_nr+"\n \n "+i.verse.trim()+"\n"}return t},t.prototype.getPassageFromOsis=function(e){var t,n=r.parseOsis(e);if(n.end&&n.start.chapter!==n.end.chapter){var i=n.start.book;t=this.getSinglePassageFromOsis(i+"."+n.start.chapter+"."+(n.start.verse||1)+"-"+i+"."+n.start.chapter+".999");for(var a=n.start.chapter+1;a=0&&m.splice(t,1)}function s(e){var t=document.createElement("style");return e.attrs.type="text/css",c(t,e.attrs),o(e,t),t}function l(e){var t=document.createElement("link");return e.attrs.type="text/css",e.attrs.rel="stylesheet",c(t,e.attrs),o(e,t),t}function c(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}function u(e,t){var n,i,a,o;if(t.transform&&e.css){if(!(o=t.transform(e.css)))return function(){};e.css=o}if(t.singleton){var c=y++;n=T||(T=s(t)),i=h.bind(null,n,c,!1),a=h.bind(null,n,c,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=l(t),i=d.bind(null,n,t),a=function(){r(n),n.href&&URL.revokeObjectURL(n.href)}):(n=s(t),i=p.bind(null,n),a=function(){r(n)});return i(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;i(e=t)}else a()}}function h(e,t,n,i){var a=n?"":i.css;if(e.styleSheet)e.styleSheet.cssText=C(t,a);else{var o=document.createTextNode(a),r=e.childNodes;r[t]&&e.removeChild(r[t]),r.length?e.insertBefore(o,r[t]):e.appendChild(o)}}function p(e,t){var n=t.css,i=t.media;if(i&&e.setAttribute("media",i),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}function d(e,t,n){var i=n.css,a=n.sourceMap,o=void 0===t.convertToAbsoluteUrls&&a;(t.convertToAbsoluteUrls||o)&&(i=S(i)),a&&(i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(a))))+" */");var r=new Blob([i],{type:"text/css"}),s=e.href;e.href=URL.createObjectURL(r),s&&URL.revokeObjectURL(s)}var f={},g=function(e){var t;return function(){return void 0===t&&(t=e.apply(this,arguments)),t}}(function(){return window&&document&&document.all&&!window.atob}),b=function(e){return document.querySelector(e)},v=function(e){var t={};return function(e){if("function"==typeof e)return e();if(void 0===t[e]){var n=b.call(this,e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}}(),T=null,y=0,m=[],S=n(32);e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");t=t||{},t.attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||"boolean"==typeof t.singleton||(t.singleton=g()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var n=a(e,t);return i(n,t),function(e){for(var o=[],r=0;r=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},n(35),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(t,n(0))},function(e,t,n){(function(e,t){!function(e,n){"use strict";function i(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n1)for(var n=1;n2&&(o.verse=+a[2]),t[0===n?"start":"end"]=o}}return t}function a(e,t){void 0===t&&(t={});var n=new s,a=void 0!==t.chapterVerse?t.chapterVerse:n.chapterVerse,o=void 0!==t.bookChapter?t.bookChapter:n.bookChapter,r=void 0!==t.bookNameMap?t.bookNameMap:n.bookNameMap,l=void 0!==t.removeSuperfluous?t.removeSuperfluous:n.removeSuperfluous,c=i(e),u=r[c.start.book]||c.start.book;if(u+=o+c.start.chapter,c.start.verse&&(u+=a+c.start.verse),c.end){u+="-";var h=!1;c.end.book!==c.start.book||"none"===l?(u+=r[c.end.book]||c.end.book,u+=o+c.end.chapter,h=!0):c.end.chapter===c.start.chapter&&"book"!==l||(u+=c.end.chapter,h=!0),c.end.verse&&(u+=(h?a:"")+c.end.verse)}return u}function o(e){var t=i(e);if(t.end&&t.start.book!==t.end.book){var n=r.bibleBooks[t.start.book].chapters;return t.start.book+"."+t.start.chapter+"."+t.start.verse+"-"+t.start.book+"."+n+".999"}return e}Object.defineProperty(t,"__esModule",{value:!0});var r=n(22);t.parseOsis=i;var s=function(){function e(){this.chapterVerse=":",this.bookChapter="",this.removeSuperfluous="bookChapter",this.bookNameMap={}}return e}();t.TransformOsisOptions=s,t.transformOsis=a,t.truncateMultiBookOsis=o},function(e,t){var n=function(e,t){return this instanceof n?e instanceof n?e:("string"==typeof e&&(e=this.select(e,t)),e&&e.nodeName&&(e=[e]),void(this.nodes=this.slice(e))):new n(e,t)};n.prototype={get length(){return this.nodes.length}},n.prototype.nodes=[],n.prototype.adjacent=function(e,t,i){return"number"==typeof t&&(t=0===t?[]:new Array(t).join().split(",").map(Number.call,Number)),this.each(function(a,o){var r=document.createDocumentFragment();n(t||{}).map(function(t,i){var r="function"==typeof e?e.call(this,t,i,a,o):e;return"string"==typeof r?this.generate(r):n(r)}).each(function(e){this.isInPage(e)?r.appendChild(n(e).clone().first()):r.appendChild(e)}),i.call(this,a,r)})},n.prototype.append=function(e,t){return this.adjacent(e,t,function(e,t){e.appendChild(t)})},n.prototype.args=function(e,t,n){return"function"==typeof e&&(e=e(t,n)),"string"!=typeof e&&(e=this.slice(e).map(this.str(t,n))),e.toString().split(/[\s,]+/).filter(function(e){return e.length})},n.prototype.array=function(e){e=e;var t=this;return this.nodes.reduce(function(i,a,o){var r;return e?(r=e.call(t,a,o),r||(r=!1),"string"==typeof r&&(r=n(r)),r instanceof n&&(r=r.nodes)):r=a.innerHTML,i.concat(!1!==r?r:[])},[])},n.prototype.attr=function(e,t,n){return n=n?"data-":"",this.pairs(e,t,function(e,t){return e.getAttribute(n+t)},function(e,t,i){e.setAttribute(n+t,i)})},n.prototype.children=function(e){return this.map(function(e){return this.slice(e.children)}).filter(e)},n.prototype.mirror={},n.prototype.closest=function(e){return this.map(function(t){do{if(n(t).is(e))return t}while((t=t.parentNode)&&t!==document)})},n.prototype.data=function(e,t){return this.attr(e,t,!0)},n.prototype.each=function(e){return this.nodes.forEach(e.bind(this)),this},n.prototype.eacharg=function(e,t){return this.each(function(n,i){this.args(e,n,i).forEach(function(e){t.call(this,n,e)},this)})},n.prototype.filter=function(e){var t=function(t){return t.matches=t.matches||t.msMatchesSelector||t.webkitMatchesSelector,t.matches(e||"*")};return"function"==typeof e&&(t=e),e instanceof n&&(t=function(t){return-1!==e.nodes.indexOf(t)}),n(this.nodes.filter(t))},n.prototype.find=function(e){return this.map(function(t){return n(e||"*",t)})},n.prototype.first=function(){return this.nodes[0]||!1},n.prototype.generate=function(e){return/^\s*0},n.prototype.isInPage=function(e){return e!==document.body&&document.body.contains(e)},n.prototype.map=function(e){return e?n(this.array(e)).unique():this},n.prototype.not=function(e){return this.filter(function(t){return!n(t).is(e||!0)})},n.prototype.off=function(e){return this.eacharg(e,function(e,t){n(e._e?e._e[t]:[]).each(function(n){e.removeEventListener(t,n)})})},n.prototype.on=function(e,t,i){if("string"==typeof t){var a=t;t=function(e){var t=arguments;n(e.currentTarget).find(a).each(function(n){if(n===e.target||n.contains(e.target)){try{Object.defineProperty(e,"currentTarget",{get:function(){return n}})}catch(e){}i.apply(n,t)}})}}var o=function(e){return t.apply(this,[e].concat(e.detail||[]))};return this.eacharg(e,function(e,t){e.addEventListener(t,o),e._e=e._e||{},e._e[t]=e._e[t]||[],e._e[t].push(o)})},n.prototype.pairs=function(e,t,n,i){if(void 0!==t){var a=e;e={},e[a]=t}return"object"==typeof e?this.each(function(t){for(var n in e)i(t,n,e[n])}):this.length?n(this.first(),e):""},n.prototype.select=function(e,t){if(e=e.replace(/^\s*/,"").replace(/\s*$/,""),t)return this.select.byCss(e,t);for(var n in this.selectors)if(t=n.split("/"),new RegExp(t[1],t[2]).test(e))return this.selectors[n](e);return this.select.byCss(e)},n.prototype.select.byCss=function(e,t){return(t||document).querySelectorAll(e)},n.prototype.selectors={},n.prototype.selectors[/^\.[\w\-]+$/]=function(e){return document.getElementsByClassName(e.substring(1))},n.prototype.selectors[/^-1&&(e&&e!==i.bibleVersions[n].languageCode||(t[n]=i.bibleVersions[n]));return t},e}();t.Bible=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(){this["af.AOV"]={title:"Ou Vertaling",languageCode:"af",availableSections:["OT","NT"]},this["am.HSAB"]={title:"Haile Selassie Amharic Bible",languageCode:"am",availableSections:["OT","NT"]},this["am.Amharic"]={title:"Amharic NT",languageCode:"am",availableSections:["NT"]},this["ar.ALAB"]={title:"التفسير التطبيقي للكتاب المقدس",languageCode:"ar",availableSections:["OT","NT"]},this["ar.ArabicSV"]={title:"Smith and Van Dyke",languageCode:"ar",availableSections:["OT","NT"]},this["arc.Peshitta"]={title:"Peshitta NT",languageCode:"arc",availableSections:["NT"]},this["bg.BGV"]={title:"Veren",languageCode:"bg",availableSections:["OT","NT"]},this["bg.CBT"]={title:"Библия, нов превод от оригиналните езици",languageCode:"bg",availableSections:["OT","NT","Apocrypha"]},this["bg.Bulgarian1940"]={title:"Bulgarian Bible (1940)",languageCode:"bg",availableSections:["OT","NT"]},this["br.Breton"]={title:"Breton",languageCode:"br",availableSections:["Gospels"]},this["ch.Chamorro"]={title:"Chamorro",languageCode:"ch",availableSections:["Ps","Gospels","Acts"]},this["cop.Bohairic"]={title:"Bohairic NT",languageCode:"cop",availableSections:["NT"]},this["cop.Coptic"]={title:"Coptic NT",languageCode:"cop",availableSections:["NT"]},this["cop.Sahidic"]={title:"Sahidic NT",languageCode:"cop",availableSections:["NT"]},this["cs.B21"]={title:"Bible, překlad 21. století",languageCode:"cs",availableSections:["OT","NT","Apocrypha"]},this["cs.BKR"]={title:"Bible Kralická",languageCode:"cs",availableSections:["OT","NT"]},this["cs.CEP"]={title:"Český ekumenický překlad",languageCode:"cs",availableSections:["OT","NT","Apocrypha"]},this["cs.SNC"]={title:"Slovo na cestu",languageCode:"cs",availableSections:["OT","NT"]},this["cs.KMS"]={title:"Křesťanská misijní společnost",languageCode:"cs",availableSections:["OT","NT"]},this["cs.NKB"]={title:"Nova Bible Kralicka",languageCode:"cs",availableSections:["OT","NT"]},this["da.DK"]={title:"Bibelen på hverdagsdansk",languageCode:"da",availableSections:["OT","NT"]},this["da.Danish"]={title:"Danish",languageCode:"da",availableSections:["OT","NT"]},this["de.ELB"]={title:"Elberfelder Bibel",languageCode:"de",availableSections:["OT","NT"]},this["de.ZB"]={title:"Zürcher Bibel",languageCode:"de",availableSections:["OT","NT"]},this["de.LUT"]={title:"Lutherbibel 2017",languageCode:"de",availableSections:["OT","NT","Apocrypha"]},this["de.NeÜ"]={title:"Neue evangelistische Übersetzung",languageCode:"de",availableSections:["OT","NT"]},this["de.SLT"]={title:"Schlachter 2000",languageCode:"de",availableSections:["OT","NT"]},this["de.EU"]={title:"Einheitsübersetzung 2016",languageCode:"de",availableSections:["OT","NT","Apocrypha"]},this["de.MENG"]={title:"Menge Bibel",languageCode:"de",availableSections:["OT","NT","Apocrypha"]},this["de.NLB"]={title:"Neues Leben. Die Bibel",languageCode:"de",availableSections:["OT","NT"]},this["de.GNB"]={title:"Gute Nachricht Bibel",languageCode:"de",availableSections:["OT","NT","Apocrypha"]},this["de.HFA"]={title:"Hoffnung für Alle",languageCode:"de",availableSections:["OT","NT"]},this["de.NGÜ"]={title:"Neue Genfer Übersetzung",languageCode:"de",availableSections:["Psalms","NT"]},this["de.SLT1951"]={title:"Schlachter 1951",languageCode:"de",availableSections:["OT","NT"]},this["de.ELB1905"]={title:"Elberfelder 1905",languageCode:"de",availableSections:["OT","NT"]},this["de.ELB1871"]={title:"Elberfelder 1871",languageCode:"de",availableSections:["OT","NT"]},this["de.LUT1912"]={title:"Luther 1912",languageCode:"de",availableSections:["OT","NT"]},this["de.LUT1545"]={title:"Luther 1545",languageCode:"de",availableSections:["OT","NT"]},this["el.ModernGreek"]={title:"Modern Greek",languageCode:"el",availableSections:["OT","NT"]},this["en.ESV"]={title:"English Standard Version",languageCode:"en",availableSections:["OT","NT"]},this["en.NIV"]={title:"New International Version",languageCode:"en",availableSections:["OT","NT"]},this["en.WEB"]={title:"World English Bible",languageCode:"en",availableSections:["OT","NT"]},this["en.KJV"]={title:"King James Version",languageCode:"en",availableSections:["OT","NT"]},this["en.NIRV"]={title:"New Int. Readers Version",languageCode:"en",availableSections:["OT","NT"]},this["en.AKJV"]={title:"KJV Easy Read",languageCode:"en",availableSections:["OT","NT"]},this["en.ASV"]={title:"American Standard Version",languageCode:"en",availableSections:["OT","NT"]},this["en.BasicEnglish"]={title:"Basic English Bible",languageCode:"en",availableSections:["OT","NT"]},this["en.Darby"]={title:"Darby",languageCode:"en",availableSections:["OT","NT"]},this["en.YLT"]={title:"Young's Literal Translation",languageCode:"en",availableSections:["OT","NT"]},this["en.WB"]={title:"Webster's Bible",languageCode:"en",availableSections:["OT","NT"]},this["en.DouayRheims"]={title:"Douay Rheims",languageCode:"en",availableSections:["OT","NT"]},this["en.Weymouth"]={title:"Weymouth NT",languageCode:"en",availableSections:["NT"]},this["eo.Esperanto"]={title:"Esperanto",languageCode:"eo",availableSections:["OT","NT"]},this["es.BTX"]={title:"La Biblia Textual",languageCode:"es",availableSections:["OT","NT"]},this["es.CST"]={title:"Nueva Versión Internacional (Castilian)",languageCode:"es",availableSections:["OT","NT"]},this["es.NVI"]={title:"Nueva Versión Internacional",languageCode:"es",availableSections:["OT","NT"]},this["es.Valera"]={title:"Reina Valera (1909)",languageCode:"es",availableSections:["OT","NT"]},this["es.RV1858"]={title:"Reina Valera NT (1858)",languageCode:"es",availableSections:["NT"]},this["es.SSE"]={title:"Sagradas Escrituras (1569)",languageCode:"es",availableSections:["OT","NT"]},this["et.Estonian"]={title:"Estonian",languageCode:"et",availableSections:["OT","NT"]},this["eu.Basque"]={title:"Navarro Labourdin NT",languageCode:"eu",availableSections:["NT"]},this["fa.FCB"]={title:"کتاب مقدس، ترجمه تفسیری",languageCode:"fa",availableSections:["OT","NT"]},this["fi.Finnish1776"]={title:"Finnish Bible (1776)",languageCode:"fi",availableSections:["OT","NT"]},this["fi.PyhaRaamattu1933"]={title:"Pyha Raamattu (1933 1938)",languageCode:"fi",availableSections:["OT","NT"]},this["fi.PyhaRaamattu1992"]={title:"Pyha Raamattu (1992)",languageCode:"fi",availableSections:["OT","NT"]},this["fr.BDS"]={title:"Bible du Semeur",languageCode:"fr",availableSections:["OT","NT"]},this["fr.LSG"]={title:"Louis Segond 1910",languageCode:"fr",availableSections:["OT","NT"]},this["fr.S21"]={title:"Segond 21",languageCode:"fr",availableSections:["OT","NT"]},this["fr.Martin"]={title:"Martin (1744)",languageCode:"fr",availableSections:["OT","NT"]},this["fr.LS1910"]={title:"Louis Segond (1910)",languageCode:"fr",availableSections:["OT","NT"]},this["fr.Ostervald1996"]={title:"Ostervald (1996 revision)",languageCode:"fr",availableSections:["OT","NT"]},this["gd.Gaelic"]={title:"Scots Gaelic Gospel of Mark",languageCode:"gd",availableSections:["Mark"]},this["got.Gothic"]={title:"Gothic (Nehemiah NT Portions)",languageCode:"got",availableSections:["Neh","NT"]},this["grc.TextusReceptus"]={title:"Textus Receptus",languageCode:"grc",availableSections:["NT"]},this["grc.MajorityTextParsed"]={title:"NT Byzantine Majority Text (2000) Parsed",languageCode:"grc",availableSections:["NT"]},this["grc.MajorityText"]={title:"NT Byzantine Majority Text (2000)",languageCode:"grc",availableSections:["NT"]},this["grc.TextusReceptusParsed"]={title:"NT Textus Receptus (1550 1894) Parsed",languageCode:"grc",availableSections:["NT"]},this["grc.Tischendorf"]={title:"NT Tischendorf 8th Ed",languageCode:"grc",availableSections:["NT"]},this["grc.WestcottHortParsed"]={title:"NT Westcott Hort UBS4 variants Parsed",languageCode:"grc",availableSections:["NT"]},this["grc.WestcottHort"]={title:"NT Westcott Hort UBS4 variants",languageCode:"grc",availableSections:["NT"]},this["grc.LXX"]={title:"OT Septuaginta",languageCode:"grc",availableSections:["OT"]},this["grc.LXXParsed"]={title:"OT Septuaginta with Roots Parsing",languageCode:"grc",availableSections:["OT"]},this["grc.LXXUnaccented"]={title:"OT Septuaginta Unaccented",languageCode:"grc",availableSections:["OT"]},this["grc.LXXUnaccentedParsed"]={title:"OT Septuaginta Unaccented with Roots Parsing",languageCode:"grc",availableSections:["OT"]},this["gv.ManxGaelic"]={title:"Manx Gaelic",languageCode:"gv",availableSections:["Esth","Jonah","Gospels"]},this["he.ModernHebrew"]={title:"Hebrew Modern",languageCode:"he",availableSections:["OT","NT"]},this["he.OT"]={title:"Hebrew OT",languageCode:"he",availableSections:["OT"]},this["hbo.Aleppo"]={title:"Aleppo Codex",languageCode:"hbo",availableSections:["OT"]},this["hbo.BHSUnpointed"]={title:"OT BHS (Consonants Only)",languageCode:"hbo",availableSections:["OT"]},this["hbo.BHS"]={title:"OT BHS (Consonants and Vowels)",languageCode:"hbo",availableSections:["OT"]},this["hbo.WLCUnpointed"]={title:"OT WLC (Consonants Only)",languageCode:"hbo",availableSections:["OT"]},this["hbo.WLC"]={title:"OT WLC (Consonants and Vowels)",languageCode:"hbo",availableSections:["OT"]},this["hbo.WLC2"]={title:"OT Westminster Leningrad Codex",languageCode:"hbo",availableSections:["OT"]},this["hu.Karoli"]={title:"Hungarian Karoli",languageCode:"hu",availableSections:["OT","NT"]},this["hr.CKK"]={title:"Knjiga O Kristu",languageCode:"hr",availableSections:["NT"]},this["hr.Croatian"]={title:"Croatian",languageCode:"hr",availableSections:["OT","NT"]},this["hu.HUN"]={title:"Hungarian",languageCode:"hu",availableSections:["NT"]},this["hu.KAR"]={title:"IBS-fordítás (Új Károli)",languageCode:"hu",availableSections:["OT"]},this["hy.EasternArmenian"]={title:"Eastern",languageCode:"hy",availableSections:["Gen","Exod","Gospels"]},this["hy.WesternArmenian"]={title:"Western NT",languageCode:"hy",availableSections:["NT"]},this["it.ITA"]={title:"La Parola è Vita",languageCode:"it",availableSections:["NT"]},this["it.NRS"]={title:"Nuova Riveduta 2006",languageCode:"it",availableSections:["OT","NT"]},this["it.Giovanni"]={title:"Giovanni Diodati Bible (1649)",languageCode:"it",availableSections:["OT","NT"]},this["it.Riveduta"]={title:"Riveduta Bible (1927)",languageCode:"it",availableSections:["OT","NT"]},this["ka.Georgian"]={title:"Georgian",languageCode:"ka",availableSections:["Gospels","Acts","Jas"]},this["kab.Kabyle"]={title:"Kabyle NT",languageCode:"kab",availableSections:["NT"]},this["ko.Korean"]={title:"Korean",languageCode:"ko",availableSections:["OT","NT"]},this["la.VUL"]={title:"Vulgata",languageCode:"la",availableSections:["OT","NT"]},this["la.NewVulgate"]={title:"Nova Vulgata",languageCode:"la",availableSections:["OT","NT"]},this["la.Vulgate"]={title:"Vulgata Clementina",languageCode:"la",availableSections:["OT","NT"]},this["lt.Lithuanian"]={title:"Lithuanian",languageCode:"lt",availableSections:["OT","NT"]},this["lv.Latvian"]={title:"Latvian NT",languageCode:"lv",availableSections:["NT"]},this["mi.Maori"]={title:"Maori",languageCode:"mi",availableSections:["OT","NT"]},this["my.Judson"]={title:"Judson (1835)",languageCode:"my",availableSections:["OT","NT"]},this["nl.HTB"]={title:"Het Boek",languageCode:"nl",availableSections:["OT","NT"]},this["nl.StatenVertaling"]={title:"Dutch Staten Vertaling",languageCode:"nl",availableSections:["OT","NT"]},this["no.NOR"]={title:"En Levende Bok",languageCode:"no",availableSections:["NT"]},this["no.Bibelselskap"]={title:"Bibelselskap (1930)",languageCode:"no",availableSections:["OT","NT"]},this["pot.Potawatomi"]={title:"Potawatomi (Lykins 1844)",languageCode:"pot",availableSections:["Matt","Acts"]},this["pl.PSZ"]={title:"Słowo Życia",languageCode:"pl",availableSections:["NT"]},this["ppk.Uma"]={title:"Uma NT",languageCode:"ppk",availableSections:["NT"]},this["pt.PRT"]={title:"O Livro",languageCode:"pt",availableSections:["OT","NT"]},this["pt.Almeida"]={title:"Almeida Atualizada",languageCode:"pt",availableSections:["OT","NT"]},this["ro.NTR"]={title:"Noua traducere în limba românã",languageCode:"ro",availableSections:["OT","NT"]},this["ro.Cornilescu"]={title:"Cornilescu",languageCode:"ro",availableSections:["OT","NT"]},this["rom.ROM"]={title:"Romani NT E Lashi Viasta",languageCode:"rom",availableSections:["NT"]},this["ru.CARS"]={title:"Священное Писание, Восточный перевод",languageCode:"ru",availableSections:["OT","NT"]},this["ru.RSZ"]={title:"Новый перевод на русский язык",languageCode:"ru",availableSections:["OT","NT"]},this["ru.Synodal"]={title:"Synodal Translation (1876)",languageCode:"ru",availableSections:["OT","NT"]},this["ru.Makarij"]={title:"Makarij Translation Pentateuch (1825)",languageCode:"ru",availableSections:["Gen","Exod","Lev","Num","Deut"]},this["ru.Zhuromsky"]={title:"Victor Zhuromsky NT",languageCode:"ru",availableSections:["NT"]},this["sk.NPK"]={title:"Nádej pre kazdého",languageCode:"sk",availableSections:["NT"]},this["sq.Albanian"]={title:"Albanian",languageCode:"sq",availableSections:["OT","NT"]},this["sv.BSV"]={title:"Nya Levande Bibeln",languageCode:"sv",availableSections:["OT","NT"]},this["sv.Swedish"]={title:"Swedish (1917)",languageCode:"sv",availableSections:["OT","NT"]},this["sw.Swahili"]={title:"Swahili",languageCode:"sw",availableSections:["OT","NT"]},this["th.Thai"]={title:"Thai from KJV",languageCode:"th",availableSections:["OT","NT"]},this["tl.Tagalog"]={title:"Ang Dating Biblia (1905)",languageCode:"tl",availableSections:["OT","NT"]},this["tr.TR"]={title:"Türkçe",languageCode:"tr",availableSections:["OT","NT"]},this["tr.Turkish"]={title:"Turkish",languageCode:"tr",availableSections:["OT","NT"]},this["tr.TNT"]={title:"Turkish NT (1987 1994)",languageCode:"tr",availableSections:["NT"]},this["ttq.Tamajaq"]={title:"Portions of the Bible in Tamajaq",languageCode:"ttq",availableSections:["OT","NT"]},this["uk.Ukranian"]={title:"Ukranian NT (P Kulish 1871)",languageCode:"uk",availableSections:["NT"]},this["vi.Vietnamese"]={title:"Vietnamese (1934)",languageCode:"vi",availableSections:["OT","NT"]},this["wo.Wolof"]={title:"Wolof NT",languageCode:"wo",availableSections:["NT"]},this["xh.Xhosa"]={title:"Xhosa",languageCode:"xh",availableSections:["OT","NT"]},this["za.CCBT"]={title:"聖經當代譯本修訂版",languageCode:"za",availableSections:["OT","NT"]},this["za.CUVS"]={title:"中文和合本(简体)",languageCode:"za",availableSections:["OT","NT"]},this["za.CNT"]={title:"NCV Traditional",languageCode:"za",availableSections:["OT","NT"]},this["za.CUS"]={title:"Union Simplified",languageCode:"za",availableSections:["OT","NT"]},this["za.CNS"]={title:"NCV Simplified",languageCode:"za",availableSections:["OT","NT"]},this["za.CUT"]={title:"Union Traditional",languageCode:"za",availableSections:["OT","NT"]}}return e}();t.BibleVersions=i,t.bibleVersions=new i},function(e,t,n){"use strict";function i(){window.blinx=new a.Blinx}Object.defineProperty(t,"__esModule",{value:!0});var a=n(9),o=n(33);"Promise"in window||(window.Promise=o),"__karma__"in window||i(),t.loadBlinx=i},function(e,t,n){"use strict";var i=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))(function(a,o){function r(e){try{l(i.next(e))}catch(e){o(e)}}function s(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){e.done?a(e.value):new n(function(t){t(e.value)}).then(r,s)}l((i=i.apply(e,t||[])).next())})},a=this&&this.__generator||function(e,t){function n(e){return function(t){return i([e,t])}}function i(n){if(a)throw new TypeError("Generator is already executing.");for(;l;)try{if(a=1,o&&(r=o[2&n[0]?"return":n[0]?"throw":"next"])&&!(r=r.call(o,n[1])).done)return r;switch(o=0,r&&(n=[0,r.value]),n[0]){case 0:case 1:r=n;break;case 4:return l.label++,{value:n[1],done:!1};case 5:l.label++,o=n[1],n=[0];continue;case 7:n=l.ops.pop(),l.trys.pop();continue;default:if(r=l.trys,!(r=r.length>0&&r[r.length-1])&&(6===n[0]||2===n[0])){l=0;continue}if(3===n[0]&&(!r||n[1]>r[0]&&n[1]").html('\n
\n
\n \n
\n
\n
\n
\n \n '+e.convertOsisToContext(a)+'\n \n retrieved from\n '+e.bibleApi.title+'\n by\n blinx.js.\n \n
\n
\n ').attr("id","bxTippyTemplate"+i);e.tippyObjects.push(tippy(n,{placement:"top",arrow:!0,arrowType:"round",theme:e.options.theme,interactive:!0,html:o.nodes[0],onShow:function(t){e.tippyPolyfills&&e.fixPopperPosition(t);var n=s.u(t.reference).data("osis");e.getTooltipContent(n).then(function(t){s.u(o).find(".bxPassageText").html(t),e.testability.passageDisplayed&&e.testability.passageDisplayed()})},onHide:function(t){e.tippyPolyfills&&(clearInterval(e.tippyPolyfillInterval),e.tippyPolyfillInterval=0,setTimeout(function(){var e=t.popper;e.removeNode?e.removeNode(!0):e.remove&&e.remove()},500))}}))})},e.prototype.fixPopperPosition=function(e){var t=e.popper,n=function(){try{t.style.top="top"===t.getAttribute("x-placement")?"20px":"10px",t.style.left="10px",t.style.position="fixed";t.getElementsByClassName("tippy-roundarrow").item(0).style.display="none"}catch(e){}};setTimeout(n,0),clearInterval(this.tippyPolyfillInterval),this.tippyPolyfillInterval=setInterval(n,10)},e.prototype.initComplete=function(){var e=this;if(this.options.parseAutomatically)if(/^complete|interactive|loaded$/.test(document.readyState))this.execute();else{var t=function(){s.u(document).off("DOMContentLoaded",t),e.execute()};s.u(document).on("DOMContentLoaded",t)}},e.prototype.parseReferencesInNode=function(e){for(var t=Array.prototype.slice.call(e.childNodes),n=0,i=t;n=0;a--){var o=t[a],r=e.splitText(o.indices[1]),l=e.splitText(o.indices[0]);l&&this.addLink(l,o);var c=n||o;this.parsePartialReferencesInText(r,this.convertOsisToContext(c.osis))}e.textContent&&n&&this.parsePartialReferencesInText(e,this.convertOsisToContext(n.osis))},e.prototype.convertOsisToContext=function(e){var t=this.options.parserOptions&&"eu"===this.options.parserOptions.punctuation_strategy?",":":";return f.transformOsis(e,{bookChapter:" ",chapterVerse:t})},e.prototype.parsePartialReferencesInText=function(e,t){var n=e.textContent||"",i=n.match(/\d/);if(i&&void 0!==i.index){this.parser.bcv.reset();var a="",o=n.slice(i.index),r=0;if(i.index>0){var s=n.slice(0,i.index),l=s.match(/\w+\.?\s*$/);l&&(a=l[0]+o,r=i.index-l[0].length)}a&&this.parser.bcv.parse_with_context(a,t);var c=this.parser.bcv.osis_and_indices();if(c.length){for(var u=0,h=c;u").attr("href",this.onlineBible.buildPassageLink(t.osis,i)).attr("target","_blank").data("osis",t.osis).on("click",function(e){n.touchStarted&&e.preventDefault()})},e.prototype.getVersionCode=function(e){var t=l(this.options.bibleVersion)?this.options.bibleVersion:this.options.bibleVersion.bibleText,n=Object.keys(e.getAvailableVersions(this.options.language));return 0===t.indexOf(this.options.language)&&-1!==n.indexOf(t)||n.length&&(t=n[0]),t},e.prototype.getTooltipContent=function(e){var t=this.getVersionCode(this.bibleApi),n=f.truncateMultiBookOsis(e),i="";return e!==n&&(i="Bible references stretching across several books are not yet supported. Only the verses from the first book are displayed above."),this.bibleApi.getPassage(n,t).then(function(e){return e+' '+u.bibleVersions[t].title+""}).then(function(e){return i?e+'
'+i+"":e})},e.prototype.loadTippy=function(){return i(this,void 0,void 0,function(){var e,t;return a(this,function(n){switch(n.label){case 0:return e=window,(t="function"==typeof e.define&&void 0===e.module&&void 0===e.exports,t&&(e.exports={},e.module={}),"tippy"in window)?(this.tippyLoaded.resolve(),[3,7]):[3,1];case 1:return"requestAnimationFrame"in window?[3,3]:[4,h.loadScript("https://cdn.polyfill.io/v2/polyfill.js?features=requestAnimationFrame|gated,Element.prototype.classList|gated")];case 2:n.sent(),this.tippyPolyfills=!0,n.label=3;case 3:return[4,h.loadScript("https://unpkg.com/tippy.js/dist/tippy.all.js")];case 4:return n.sent(),"light"!==this.options.theme?[3,6]:[4,h.loadCSS("https://unpkg.com/tippy.js/dist/themes/light.css")];case 5:n.sent(),n.label=6;case 6:t&&(e.tippy=e.module.exports,delete e.module,delete e.exports),this.tippyLoaded.resolve(),n.label=7;case 7:return[2]}})})},e}();t.Blinx=g},function(module,exports,__webpack_require__){"use strict";function applyScriptTagOptions(options){var tagOptionsString=u_js_1.u("script[data-blinx]").data("blinx")||"{}",opts={};try{var evalOpts=eval("("+tagOptionsString+")");if(!(evalOpts instanceof Object))throw new Error;opts=evalOpts}catch(e){console.error("Blinx: Invalid options: '"+tagOptionsString+"'")}if(!opts.language){var language=parser_class_1.Parser.getCurrentParserLanguage();language&&(opts.language=language)}for(var key in opts)opts.hasOwnProperty(key)&&(options[key]=opts[key])}Object.defineProperty(exports,"__esModule",{value:!0});var u_js_1=__webpack_require__(3),parser_class_1=__webpack_require__(4),Options=function(){function e(){this.language="en",this.bibleVersion="en.ESV",this.onlineBible="BibleServer",this.bibleApi="getBible",this.parseAutomatically=!0,this.whitelist=["body"],this.blacklist=["a"],this.theme="light"}return e}();exports.Options=Options,exports.applyScriptTagOptions=applyScriptTagOptions},function(e,t,n){function i(e){return"string"==typeof e||!o(e)&&r(e)&&a(e)==s}var a=n(12),o=n(17),r=n(18),s="[object String]";e.exports=i},function(e,t,n){function i(e){return null==e?void 0===e?l:s:c&&c in Object(e)?o(e):r(e)}var a=n(5),o=n(15),r=n(16),s="[object Null]",l="[object Undefined]",c=a?a.toStringTag:void 0;e.exports=i},function(e,t,n){var i=n(14),a="object"==typeof self&&self&&self.Object===Object&&self,o=i||a||Function("return this")();e.exports=o},function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(t,n(0))},function(e,t,n){function i(e){var t=r.call(e,l),n=e[l];try{e[l]=void 0;var i=!0}catch(e){}var a=s.call(e);return i&&(t?e[l]=n:delete e[l]),a}var a=n(5),o=Object.prototype,r=o.hasOwnProperty,s=o.toString,l=a?a.toStringTag:void 0;e.exports=i},function(e,t){function n(e){return a.call(e)}var i=Object.prototype,a=i.toString;e.exports=n},function(e,t){var n=Array.isArray;e.exports=n},function(e,t){function n(e){return null!=e&&"object"==typeof e}e.exports=n},function(e,t,n){"use strict";function i(e){return new a.BibleServerOnlineBible}Object.defineProperty(t,"__esModule",{value:!0});var a=n(20);t.getOnlineBible=i},function(e,t,n){"use strict";var i=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();Object.defineProperty(t,"__esModule",{value:!0});var a=n(21),o=n(2),r=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title="BibleServer",t.url="https://www.bibleserver.com",t.bibleVersionMap={"ar.ALAB":"ALAB","bg.BGV":"BGV","bg.CBT":"CBT","cs.B21":"B21","cs.BKR":"BKR","cs.CEP":"CEP","cs.SNC":"SNC","da.DK":"DK","de.ELB":"ELB","de.EU":"EU","de.GNB":"GNB","de.HFA":"HFA","de.LUT":"LUT","de.MENG":"MENG","de.NeÜ":"NeÜ","de.NGÜ":"NGÜ","de.NLB":"NLB","de.SLT":"SLT","de.ZB":"ZB","en.ESV":"ESV","en.KJV":"KJV","en.NIRV":"NIRV","en.NIV":"NIV","es.BTX":"BTX","es.CST":"CST","es.NVI":"NVI","fa.FCB":"FCB","fr.BDS":"BDS","fr.LSG":"LSG","fr.S21":"S21","he.OT":"OT","hr.CKK":"CKK","hu.HUN":"HUN","hu.KAR":"KAR","it.ITA":"ITA","it.NRS":"NRS","grc.LXX":"LXX","la.VUL":"VUL","nl.HTB":"HTB","no.NOR":"NOR","pl.PSZ":"PSZ","pt.PRT":"PRT","ro.NTR":"NTR","ru.CARS":"CARS","ru.RSZ":"RSZ","sk.NPK":"NPK","sv.BSV":"BSV","tr.TR":"TR","za.CCBT":"CCBT","za.CUVS":"CUVS"},t}return i(t,e),t.prototype.buildPassageLink=function(e,t){return e=o.transformOsis(e),"https://www.bibleserver.com/text/"+t.split(".")[1]+"/"+e},t}(a.OnlineBible);t.BibleServerOnlineBible=r},function(e,t,n){"use strict";var i=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();Object.defineProperty(t,"__esModule",{value:!0});var a=n(6),o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t}(a.Bible);t.OnlineBible=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(){this.Gen={chapters:50},this.Exod={chapters:40},this.Lev={chapters:27},this.Num={chapters:36},this.Deut={chapters:34},this.Josh={chapters:24},this.Judg={chapters:21},this.Ruth={chapters:4},this["1Sam"]={chapters:31},this["2Sam"]={chapters:24},this["1Kgs"]={chapters:22},this["2Kgs"]={chapters:25},this["1Chr"]={chapters:29},this["2Chr"]={chapters:36},this.Ezra={chapters:10},this.Neh={chapters:13},this.Esth={chapters:10},this.Job={chapters:42},this.Ps={chapters:150},this.Prov={chapters:31},this.Eccl={chapters:12},this.Song={chapters:8},this.Isa={chapters:66},this.Jer={chapters:52},this.Lam={chapters:5},this.Ezek={chapters:48},this.Dan={chapters:12},this.Hos={chapters:14},this.Joel={chapters:3},this.Amos={chapters:9},this.Obad={chapters:1},this.Jonah={chapters:4},this.Mic={chapters:7},this.Nah={chapters:3},this.Hab={chapters:3},this.Zeph={chapters:3},this.Hag={chapters:2},this.Zech={chapters:14},this.Mal={chapters:4},this.Matt={chapters:28},this.Mark={chapters:16},this.Luke={chapters:24},this.John={chapters:21},this.Acts={chapters:28},this.Rom={chapters:16},this["1Cor"]={chapters:16},this["2Cor"]={chapters:13},this.Gal={chapters:6},this.Eph={chapters:6},this.Phil={chapters:4},this.Col={chapters:4},this["1Thess"]={chapters:5},this["2Thess"]={chapters:3},this["1Tim"]={chapters:6},this["2Tim"]={chapters:4},this.Titus={chapters:3},this.Phlm={chapters:1},this.Heb={chapters:13},this.Jas={chapters:5},this["1Pet"]={chapters:5},this["2Pet"]={chapters:3},this["1John"]={chapters:5},this["2John"]={chapters:1},this["3John"]={chapters:1},this.Jude={chapters:1},this.Rev={chapters:22}}return e}();t.BibleBooks=i,t.bibleBooks=new i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(){var e=this;this.resolve=function(t){e._resolve&&e._resolve(t)},this.reject=function(t){e._reject&&e._reject(t)},this.promise=new Promise(function(t,n){e._resolve=t,e._reject=n})}return e}();t.Deferred=i},function(e,t,n){"use strict";function i(e){return new a.GetBibleBibleApi}Object.defineProperty(t,"__esModule",{value:!0});var a=n(25);t.getBibleApi=i},function(e,t,n){"use strict";var i=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();Object.defineProperty(t,"__esModule",{value:!0});var a=n(26),o=n(27),r=n(2),s=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title="getBible.net",t.url="https://getbible.net/api",t.bibleVersionMap={"af.AOV":"aov","sq.Albanian":"albanian","am.HSAB":"hsab","am.Amharic":"amharic","ar.ArabicSV":"arabicsv","arc.Peshitta":"peshitta","hy.EasternArmenian":"easternarmenian","hy.WesternArmenian":"westernarmenian","eu.Basque":"basque","br.Breton":"breton","bg.Bulgarian1940":"bulgarian1940","ch.Chamorro":"chamorro","za.CNT":"cnt","za.CUS":"cus","za.CNS":"cns","za.CUT":"cut","cop.Bohairic":"bohairic","cop.Coptic":"coptic","cop.Sahidic":"sahidic","hr.Croatian":"croatia","cs.BKR":"bkr","cs.CEP":"cep","cs.KMS":"kms","cs.NKB":"nkb","da.Danish":"danish","nl.StatenVertaling":"statenvertaling","en.KJV":"kjv","en.AKJV":"akjv","en.ASV":"asv","en.BasicEnglish":"basicenglish","en.Darby":"darby","en.YLT":"ylt","en.WEB":"web","en.WB":"wb","en.DouayRheims":"douayrheims","en.Weymouth":"weymouth","eo.Esperanto":"esperanto","et.Estonian":"estonian","fi.Finnish1776":"finnish1776","fi.PyhaRaamattu1933":"pyharaamattu1933","fi.PyhaRaamattu1992":"pyharaamattu1992","fr.Martin":"martin","fr.LS1910":"ls1910","fr.Ostervald1996":"ostervald","ka.Georgian":"georgian","de.LUT1912":"luther1912","de.ELB1871":"elberfelder","de.ELB1905":"elberfelder1905","de.LUT1545":"luther1545","de.SLT1951":"schlachter","got.Gothic":"gothic","el.ModernGreek":"moderngreek","grc.TextusReceptus":"text","grc.MajorityTextParsed":"majoritytext","grc.MajorityText":"byzantine","grc.TextusReceptusParsed":"textusreceptus","grc.Tischendorf":"tischendorf","grc.WestcottHortParsed":"westcotthort","grc.WestcottHort":"westcott","grc.LXXParsed":"lxxpar","grc.LXX":"lxx","grc.LXXUnaccentedParsed":"lxxunaccentspar","grc.LXXUnaccented":"lxxunaccents","he.ModernHebrew":"modernhebrew","hbo.Aleppo":"aleppo","hbo.BHSUnpointed":"bhsnovowels","hbo.BHS":"bhs","hbo.WLCUnpointed":"wlcnovowels","hbo.WLC":"wlc","hbo.WLC2":"codex","hu.Karoli":"karoli","it.Giovanni":"giovanni","it.Riveduta":"riveduta","kab.Kabyle":"kabyle","ko.Korean":"korean","la.NewVulgate":"newvulgate","la.Vulgate":"vulgate","lv.Latvian":"latvian","lt.Lithuanian":"lithuanian","gv.ManxGaelic":"manxgaelic","mi.Maori":"maori","my.Judson":"judson","no.Bibelselskap":"bibelselskap","pt.Almeida":"almeida","pot.Potawatomi":"potawatomi","rom.ROM":"rom","ro.Cornilescu":"cornilescu","ru.Synodal":"synodal","ru.Makarij":"makarij","ru.Zhuromsky":"zhuromsky","gd.Gaelic":"gaelic","es.Valera":"valera","es.RV1858":"rv1858","es.SSE":"sse","sw.Swahili":"swahili","sv.Swedish":"swedish","tl.Tagalog":"tagalog","ttq.Tamajaq":"tamajaq","th.Thai":"thai","tr.Turkish":"turkish","tr.TNT":"tnt","uk.Ukranian":"ukranian","ppk.Uma":"uma","vi.Vietnamese":"vietnamese","wo.Wolof":"wolof","xh.Xhosa":"xhosa"},t.bookNameMap={Exod:"Exo",Deut:"Deu",Josh:"Jos",Judg:"Jud","1Kgs":"1Kg","2Kgs":"2Kg",Ezra:"Ezr",Esth:"Est",Prov:"Pro",Eccl:"Ecc",Ezek:"Eze",Matt:"Mat",Jas:"Jam"},t}return i(t,e),t.prototype.getPassage=function(e,t){var n=this;return o.executeJsonp("https://getbible.net/json?p="+this.getPassageFromOsis(e)+"&v="+this.bibleVersionMap[t],"getbible").then(function(e){var t="";if("verse"===e.type)for(var i=0,a=e.book;i\n \n '+o.chapter_nr+"\n \n "+r.trim()+"\n"}}else"chapter"===e.type&&e.chapter&&(t=n.getOutputForChapter(e.chapter));return t})},t.prototype.getOutputForChapter=function(e){var t="";for(var n in e)if(e.hasOwnProperty(n)){var i=e[n];t+='\n\n \n '+i.verse_nr+"\n \n "+i.verse.trim()+"\n"}return t},t.prototype.getPassageFromOsis=function(e){var t,n=r.parseOsis(e);if(n.end&&n.start.chapter!==n.end.chapter){var i=n.start.book;t=this.getSinglePassageFromOsis(i+"."+n.start.chapter+"."+(n.start.verse||1)+"-"+i+"."+n.start.chapter+".999");for(var a=n.start.chapter+1;a=0&&m.splice(t,1)}function s(e){var t=document.createElement("style");return e.attrs.type="text/css",c(t,e.attrs),o(e,t),t}function l(e){var t=document.createElement("link");return e.attrs.type="text/css",e.attrs.rel="stylesheet",c(t,e.attrs),o(e,t),t}function c(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}function u(e,t){var n,i,a,o;if(t.transform&&e.css){if(!(o=t.transform(e.css)))return function(){};e.css=o}if(t.singleton){var c=y++;n=T||(T=s(t)),i=h.bind(null,n,c,!1),a=h.bind(null,n,c,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=l(t),i=d.bind(null,n,t),a=function(){r(n),n.href&&URL.revokeObjectURL(n.href)}):(n=s(t),i=p.bind(null,n),a=function(){r(n)});return i(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;i(e=t)}else a()}}function h(e,t,n,i){var a=n?"":i.css;if(e.styleSheet)e.styleSheet.cssText=C(t,a);else{var o=document.createTextNode(a),r=e.childNodes;r[t]&&e.removeChild(r[t]),r.length?e.insertBefore(o,r[t]):e.appendChild(o)}}function p(e,t){var n=t.css,i=t.media;if(i&&e.setAttribute("media",i),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}function d(e,t,n){var i=n.css,a=n.sourceMap,o=void 0===t.convertToAbsoluteUrls&&a;(t.convertToAbsoluteUrls||o)&&(i=S(i)),a&&(i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(a))))+" */");var r=new Blob([i],{type:"text/css"}),s=e.href;e.href=URL.createObjectURL(r),s&&URL.revokeObjectURL(s)}var f={},g=function(e){var t;return function(){return void 0===t&&(t=e.apply(this,arguments)),t}}(function(){return window&&document&&document.all&&!window.atob}),b=function(e){return document.querySelector(e)},v=function(e){var t={};return function(e){if("function"==typeof e)return e();if(void 0===t[e]){var n=b.call(this,e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}}(),T=null,y=0,m=[],S=n(32);e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");t=t||{},t.attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||"boolean"==typeof t.singleton||(t.singleton=g()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var n=a(e,t);return i(n,t),function(e){for(var o=[],r=0;r=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},n(35),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(t,n(0))},function(e,t,n){(function(e,t){!function(e,n){"use strict";function i(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n1)for(var n=1;n 2) {\r\n referencePoint.verse = +parts[2];\r\n }\r\n reference[i === 0 ? 'start' : 'end'] = referencePoint;\r\n }\r\n }\r\n return reference;\r\n}\r\nexports.parseOsis = parseOsis;\r\nvar TransformOsisOptions = /** @class */ (function () {\r\n function TransformOsisOptions() {\r\n /** Separator between chapter and verse */\r\n this.chapterVerse = ':';\r\n /** Separator between book name and chapter number */\r\n this.bookChapter = '';\r\n /** Options for removing superfluous elements: none, duplicate book name, duplicate book name and chapter */\r\n this.removeSuperfluous = 'bookChapter';\r\n /** Mapping of book names. Anything not contained in it will remain unchanged. */\r\n this.bookNameMap = {};\r\n }\r\n return TransformOsisOptions;\r\n}());\r\nexports.TransformOsisOptions = TransformOsisOptions;\r\n/**\r\n * Transform OSIS reference with the given options\r\n * @param osis OSIS reference\r\n * @param options Options\r\n * @returns Transformed reference\r\n */\r\nfunction transformOsis(osis, options) {\r\n if (options === void 0) { options = {}; }\r\n var defaults = new TransformOsisOptions();\r\n var chapterVerse = (options.chapterVerse !== void 0) ? options.chapterVerse : defaults.chapterVerse;\r\n var bookChapter = (options.bookChapter !== void 0) ? options.bookChapter : defaults.bookChapter;\r\n var bookNames = (options.bookNameMap !== void 0) ? options.bookNameMap : defaults.bookNameMap;\r\n var removeSuperfluous = (options.removeSuperfluous !== void 0) ? options.removeSuperfluous :\r\n defaults.removeSuperfluous;\r\n var ref = parseOsis(osis);\r\n var transformed = bookNames[ref.start.book] || ref.start.book;\r\n transformed += bookChapter + ref.start.chapter;\r\n if (ref.start.verse) {\r\n transformed += chapterVerse + ref.start.verse;\r\n }\r\n if (ref.end) {\r\n transformed += '-';\r\n var chapterAdded = false;\r\n if (ref.end.book !== ref.start.book || removeSuperfluous === 'none') {\r\n transformed += bookNames[ref.end.book] || ref.end.book;\r\n transformed += bookChapter + ref.end.chapter;\r\n chapterAdded = true;\r\n }\r\n else if (ref.end.chapter !== ref.start.chapter || removeSuperfluous === 'book') {\r\n transformed += ref.end.chapter;\r\n chapterAdded = true;\r\n }\r\n if (ref.end.verse) {\r\n transformed += (chapterAdded ? chapterVerse : '') + ref.end.verse;\r\n }\r\n }\r\n return transformed;\r\n}\r\nexports.transformOsis = transformOsis;\r\n// Truncate multi-book osis string and only return part of first book\r\nfunction truncateMultiBookOsis(osis) {\r\n var ref = parseOsis(osis);\r\n // Truncate references across several books\r\n // until infinite scroll is implemented\r\n if (ref.end && ref.start.book !== ref.end.book) {\r\n var numberOfChapters = bible_books_const_1.bibleBooks[ref.start.book].chapters;\r\n return ref.start.book + \".\" + ref.start.chapter + \".\" + ref.start.verse + \"-\" + ref.start.book + \".\" + numberOfChapters + \".999\";\r\n }\r\n return osis;\r\n}\r\nexports.truncateMultiBookOsis = truncateMultiBookOsis;\r\n\n\n/***/ }),\n/* 3 */\n/***/ (function(module, exports) {\n\n// Content below is adapted from:\r\n// Umbrella JS http://umbrellajs.com/, License: MIT, Copyright (c) 2014 Francisco Presencia\r\n// -----------\r\n// Small, lightweight jQuery alternative\r\n// @author Francisco Presencia Fandos http://francisco.io/\r\n// @inspiration http://youmightnotneedjquery.com/\r\n\r\n// Initialize the library\r\nvar u = function (parameter, context) {\r\n // Make it an instance of u() to avoid needing 'new' as in 'new u()' and just\r\n // use 'u().bla();'.\r\n // @reference http://stackoverflow.com/q/24019863\r\n // @reference http://stackoverflow.com/q/8875878\r\n if (!(this instanceof u)) {\r\n return new u(parameter, context);\r\n }\r\n\r\n // No need to further processing it if it's already an instance\r\n if (parameter instanceof u) {\r\n return parameter;\r\n }\r\n\r\n // Parse it as a CSS selector if it's a string\r\n if (typeof parameter === 'string') {\r\n parameter = this.select(parameter, context);\r\n }\r\n\r\n // If we're referring a specific node as in on('click', function(){ u(this) })\r\n // or the select() function returned a single node such as in '#id'\r\n if (parameter && parameter.nodeName) {\r\n parameter = [parameter];\r\n }\r\n\r\n // Convert to an array, since there are many 'array-like' stuff in js-land\r\n this.nodes = this.slice(parameter);\r\n};\r\n\r\n// Map u(...).length to u(...).nodes.length\r\nu.prototype = {\r\n get length () {\r\n return this.nodes.length;\r\n }\r\n};\r\n\r\n// This made the code faster, read \"Initializing instance variables\" in\r\n// https://developers.google.com/speed/articles/optimizing-javascript\r\nu.prototype.nodes = [];\r\n\r\n// // Add class(es) to the matched nodes\r\n// u.prototype.addClass = function () {\r\n// return this.eacharg(arguments, function (el, name) {\r\n// el.classList.add(name);\r\n// });\r\n// };\r\n\r\n\r\n// [INTERNAL USE ONLY]\r\n// Add text in the specified position. It is used by other functions\r\nu.prototype.adjacent = function (html, data, callback) {\r\n if (typeof data === 'number') {\r\n if (data === 0) {\r\n data = [];\r\n } else {\r\n data = new Array(data).join().split(',').map(Number.call, Number);\r\n }\r\n }\r\n\r\n // Loop through all the nodes. It cannot reuse the eacharg() since the data\r\n // we want to do it once even if there's no \"data\" and we accept a selector\r\n return this.each(function (node, j) {\r\n var fragment = document.createDocumentFragment();\r\n\r\n // Allow for data to be falsy and still loop once\r\n u(data || {}).map(function (el, i) {\r\n // Allow for callbacks that accept some data\r\n var part = (typeof html === 'function') ? html.call(this, el, i, node, j) : html;\r\n\r\n if (typeof part === 'string') {\r\n return this.generate(part);\r\n }\r\n\r\n return u(part);\r\n }).each(function (n) {\r\n this.isInPage(n)\r\n ? fragment.appendChild(u(n).clone().first())\r\n : fragment.appendChild(n);\r\n });\r\n\r\n callback.call(this, node, fragment);\r\n });\r\n};\r\n\r\n// // Add some html as a sibling after each of the matched elements.\r\n// u.prototype.after = function (html, data) {\r\n// return this.adjacent(html, data, function (node, fragment) {\r\n// node.parentNode.insertBefore(fragment, node.nextSibling);\r\n// });\r\n// };\r\n\r\n\r\n// // Create a HTTP request for whenever the matched form submits\r\n// u.prototype.ajax = function (done, before) {\r\n// return this.handle('submit', function (e) {\r\n// ajax(\r\n// u(this).attr('action'),\r\n// { body: u(this).serialize(), method: u(this).attr('method') },\r\n// done && done.bind(this),\r\n// before && before.bind(this)\r\n// );\r\n// });\r\n// };\r\n\r\n\r\n// Add some html as a child at the end of each of the matched elements.\r\nu.prototype.append = function (html, data) {\r\n return this.adjacent(html, data, function (node, fragment) {\r\n node.appendChild(fragment);\r\n });\r\n};\r\n\r\n\r\n// [INTERNAL USE ONLY]\r\n\r\n// Normalize the arguments to an array of strings\r\n// Allow for several class names like \"a b, c\" and several parameters\r\nu.prototype.args = function (args, node, i) {\r\n if (typeof args === 'function') {\r\n args = args(node, i);\r\n }\r\n\r\n // First flatten it all to a string http://stackoverflow.com/q/22920305\r\n // If we try to slice a string bad things happen: ['n', 'a', 'm', 'e']\r\n if (typeof args !== 'string') {\r\n args = this.slice(args).map(this.str(node, i));\r\n }\r\n\r\n // Then convert that string to an array of not-null strings\r\n return args.toString().split(/[\\s,]+/).filter(function (e) {\r\n return e.length;\r\n });\r\n};\r\n\r\n\r\n// Merge all of the nodes that the callback return into a simple array\r\nu.prototype.array = function (callback) {\r\n callback = callback;\r\n var self = this;\r\n return this.nodes.reduce(function (list, node, i) {\r\n var val;\r\n if (callback) {\r\n val = callback.call(self, node, i);\r\n if (!val) val = false;\r\n if (typeof val === 'string') val = u(val);\r\n if (val instanceof u) val = val.nodes;\r\n } else {\r\n val = node.innerHTML;\r\n }\r\n return list.concat(val !== false ? val : []);\r\n }, []);\r\n};\r\n\r\n\r\n// [INTERNAL USE ONLY]\r\n\r\n// Handle attributes for the matched elements\r\nu.prototype.attr = function (name, value, data) {\r\n data = data ? 'data-' : '';\r\n\r\n // This will handle those elements that can accept a pair with these footprints:\r\n // .attr('a'), .attr('a', 'b'), .attr({ a: 'b' })\r\n return this.pairs(name, value, function (node, name) {\r\n return node.getAttribute(data + name);\r\n }, function (node, name, value) {\r\n node.setAttribute(data + name, value);\r\n });\r\n};\r\n\r\n\r\n// Add some html before each of the matched elements.\r\n// u.prototype.before = function (html, data) {\r\n// return this.adjacent(html, data, function (node, fragment) {\r\n// node.parentNode.insertBefore(fragment, node);\r\n// });\r\n// };\r\n\r\n\r\n// Get the direct children of all of the nodes with an optional filter\r\nu.prototype.children = function (selector) {\r\n return this.map(function (node) {\r\n return this.slice(node.children);\r\n }).filter(selector);\r\n};\r\n\r\n\r\n/**\r\n * Deep clone a DOM node and its descendants.\r\n * @return {[Object]} Returns an Umbrella.js instance.\r\n */\r\n// u.prototype.clone = function () {\r\n// return this.map(function (node, i) {\r\n// var clone = node.cloneNode(true);\r\n// var dest = this.getAll(clone);\r\n\r\n// this.getAll(node).each(function (src, i) {\r\n// for (var key in this.mirror) {\r\n// this.mirror[key](src, dest.nodes[i]);\r\n// }\r\n// });\r\n\r\n// return clone;\r\n// });\r\n// };\r\n\r\n/**\r\n * Return an array of DOM nodes of a source node and its children.\r\n * @param {[Object]} context DOM node.\r\n * @param {[String]} tag DOM node tagName.\r\n * @return {[Array]} Array containing queried DOM nodes.\r\n */\r\n// u.prototype.getAll = function getAll (context) {\r\n// return u([context].concat(u('*', context).nodes));\r\n// };\r\n\r\n// Store all of the operations to perform when cloning elements\r\nu.prototype.mirror = {};\r\n\r\n/**\r\n * Copy all JavaScript events of source node to destination node.\r\n * @param {[Object]} source DOM node\r\n * @param {[Object]} destination DOM node\r\n * @return {[undefined]]}\r\n */\r\n// u.prototype.mirror.events = function (src, dest) {\r\n// if (!src._e) return;\r\n\r\n// for (var type in src._e) {\r\n// src._e[type].forEach(function (event) {\r\n// u(dest).on(type, event);\r\n// });\r\n// }\r\n// };\r\n\r\n/**\r\n * Copy select input value to its clone.\r\n * @param {[Object]} src DOM node\r\n * @param {[Object]} dest DOM node\r\n * @return {[undefined]}\r\n */\r\n// u.prototype.mirror.select = function (src, dest) {\r\n// if (u(src).is('select')) {\r\n// dest.value = src.value;\r\n// }\r\n// };\r\n\r\n/**\r\n * Copy textarea input value to its clone\r\n * @param {[Object]} src DOM node\r\n * @param {[Object]} dest DOM node\r\n * @return {[undefined]}\r\n */\r\n// u.prototype.mirror.textarea = function (src, dest) {\r\n// if (u(src).is('textarea')) {\r\n// dest.value = src.value;\r\n// }\r\n// };\r\n\r\n\r\n// Find the first ancestor that matches the selector for each node\r\nu.prototype.closest = function (selector) {\r\n return this.map(function (node) {\r\n // Keep going up and up on the tree. First element is also checked\r\n do {\r\n if (u(node).is(selector)) {\r\n return node;\r\n }\r\n } while ((node = node.parentNode) && node !== document);\r\n });\r\n};\r\n\r\n\r\n// Handle data-* attributes for the matched elements\r\nu.prototype.data = function (name, value) {\r\n return this.attr(name, value, true);\r\n};\r\n\r\n\r\n// Loops through every node from the current call\r\nu.prototype.each = function (callback) {\r\n // By doing callback.call we allow \"this\" to be the context for\r\n // the callback (see http://stackoverflow.com/q/4065353 precisely)\r\n this.nodes.forEach(callback.bind(this));\r\n\r\n return this;\r\n};\r\n\r\n\r\n// [INTERNAL USE ONLY]\r\n// Loop through the combination of every node and every argument passed\r\nu.prototype.eacharg = function (args, callback) {\r\n return this.each(function (node, i) {\r\n this.args(args, node, i).forEach(function (arg) {\r\n // Perform the callback for this node\r\n // By doing callback.call we allow \"this\" to be the context for\r\n // the callback (see http://stackoverflow.com/q/4065353 precisely)\r\n callback.call(this, node, arg);\r\n }, this);\r\n });\r\n};\r\n\r\n\r\n// Remove all children of the matched nodes from the DOM.\r\n// u.prototype.empty = function () {\r\n// return this.each(function (node) {\r\n// while (node.firstChild) {\r\n// node.removeChild(node.firstChild);\r\n// }\r\n// });\r\n// };\r\n\r\n\r\n// .filter(selector)\r\n// Delete all of the nodes that don't pass the selector\r\nu.prototype.filter = function (selector) {\r\n // The default function if it's a css selector\r\n // Cannot change name to 'selector' since it'd mess with it inside this fn\r\n var callback = function (node) {\r\n // Make it compatible with some other browsers\r\n node.matches = node.matches || node.msMatchesSelector || node.webkitMatchesSelector;\r\n\r\n // Check if it's the same element (or any element if no selector was passed)\r\n return node.matches(selector || '*');\r\n };\r\n\r\n // filter() receives a function as in .filter(e => u(e).children().length)\r\n if (typeof selector === 'function') callback = selector;\r\n\r\n // filter() receives an instance of Umbrella as in .filter(u('a'))\r\n if (selector instanceof u) {\r\n callback = function (node) {\r\n return (selector.nodes).indexOf(node) !== -1;\r\n };\r\n }\r\n\r\n // Just a native filtering function for ultra-speed\r\n return u(this.nodes.filter(callback));\r\n};\r\n\r\n\r\n// Find all the nodes children of the current ones matched by a selector\r\nu.prototype.find = function (selector) {\r\n return this.map(function (node) {\r\n return u(selector || '*', node);\r\n });\r\n};\r\n\r\n\r\n// Get the first of the nodes\r\nu.prototype.first = function () {\r\n return this.nodes[0] || false;\r\n};\r\n\r\n\r\n// Perform ajax calls\r\n/* eslint-disable no-unused-vars*/\r\n// function ajax (action, opt, done, before) {\r\n// done = done || function () {};\r\n\r\n// // A bunch of options and defaults\r\n// opt = opt || {};\r\n// opt.body = opt.body || {};\r\n// opt.method = (opt.method || 'GET').toUpperCase();\r\n// opt.headers = opt.headers || {};\r\n\r\n// // Tell the back-end it's an AJAX request\r\n// opt.headers['X-Requested-With'] = opt.headers['X-Requested-With'] || 'XMLHttpRequest';\r\n\r\n// if (typeof window.FormData === 'undefined' || !(opt.body instanceof window.FormData)) {\r\n// opt.headers['Content-Type'] = opt.headers['Content-Type'] || 'application/x-www-form-urlencoded';\r\n// }\r\n\r\n// // If it's of type JSON, encode it as such\r\n// if (/json/.test(opt.headers['Content-Type'])) {\r\n// opt.body = JSON.stringify(opt.body);\r\n// }\r\n\r\n// if ((typeof opt.body === 'object') && !(opt.body instanceof window.FormData)) {\r\n// opt.body = u().param(opt.body);\r\n// }\r\n\r\n// // Create and send the actual request\r\n// var request = new window.XMLHttpRequest();\r\n\r\n// // An error is just an error\r\n// // This uses a little hack of passing an array to u() so it handles it as\r\n// // an array of nodes, hence we can use 'on'. However a single element wouldn't\r\n// // work since it a) doesn't have nodeName and b) it will be sliced, failing\r\n// u(request).on('error timeout abort', function () {\r\n// done(new Error(), null, request);\r\n// }).on('load', function () {\r\n// // Also an error if it doesn't start by 2 or 3...\r\n// // This is valid as there's no code 2x nor 2, nor 3x nor 3, only 2xx and 3xx\r\n// // We don't want to return yet though as there might be some content\r\n// var err = /^(4|5)/.test(request.status) ? new Error(request.status) : null;\r\n\r\n// // Attempt to parse the body into JSON\r\n// var body = parseJson(request.response) || request.response;\r\n\r\n// return done(err, body, request);\r\n// });\r\n\r\n// // Create a request of the specified type to the URL and ASYNC\r\n// request.open(opt.method, action);\r\n\r\n// request.withCredentials = true;\r\n\r\n// // Set the corresponding headers\r\n// for (var name in opt.headers) {\r\n// request.setRequestHeader(name, opt.headers[name]);\r\n// }\r\n\r\n// // Load the before callback before sending the data\r\n// if (before) before(request);\r\n\r\n// request.send(opt.body);\r\n\r\n// return request;\r\n// }\r\n/* eslint-enable no-unused-vars*/\r\n\r\n\r\n// [INTERNAL USE ONLY]\r\n// Parse JSON without throwing an error\r\n/* eslint-disable no-unused-vars*/\r\n// function parseJson (jsonString) {\r\n// try {\r\n// var o = JSON.parse(jsonString);\r\n// // Handle non-exception-throwing cases:\r\n// // Neither JSON.parse(false) or JSON.parse(1234) throw errors, hence the type-checking\r\n// // so we must check for that, too.\r\n// if (o && typeof o === 'object') {\r\n// return o;\r\n// }\r\n// } catch (e) {}\r\n\r\n// return false;\r\n// }\r\n/* eslint-enable no-unused-vars*/\r\n\r\n\r\n// [INTERNAL USE ONLY]\r\n// Generate a fragment of HTML. This irons out the inconsistences\r\nu.prototype.generate = function (html) {\r\n // Table elements need to be child of for some f***ed up reason\r\n if (/^\\s* 0;\r\n};\r\n\r\n\r\n/**\r\n * Internal use only. This function checks to see if an element is in the page's body. As contains is inclusive and determining if the body contains itself isn't the intention of isInPage this case explicitly returns false.\r\nhttps://developer.mozilla.org/en-US/docs/Web/API/Node/contains\r\n * @param {[Object]} node DOM node\r\n * @return {Boolean} The Node.contains() method returns a Boolean value indicating whether a node is a descendant of a given node or not.\r\n */\r\nu.prototype.isInPage = function isInPage (node) {\r\n return (node === document.body) ? false : document.body.contains(node);\r\n};\r\n\r\n// // Get the last of the nodes\r\n// u.prototype.last = function () {\r\n// return this.nodes[this.length - 1] || false;\r\n// };\r\n\r\n\r\n// Merge all of the nodes that the callback returns\r\nu.prototype.map = function (callback) {\r\n return callback ? u(this.array(callback)).unique() : this;\r\n};\r\n\r\n\r\n// Delete all of the nodes that equals the filter\r\nu.prototype.not = function (filter) {\r\n return this.filter(function (node) {\r\n return !u(node).is(filter || true);\r\n });\r\n};\r\n\r\n\r\n// Removes the callback to the event listener for each node\r\nu.prototype.off = function (events) {\r\n return this.eacharg(events, function (node, event) {\r\n u(node._e ? node._e[event] : []).each(function (cb) {\r\n node.removeEventListener(event, cb);\r\n });\r\n });\r\n};\r\n\r\n\r\n// Attach a callback to the specified events\r\nu.prototype.on = function (events, cb, cb2) {\r\n if (typeof cb === 'string') {\r\n var sel = cb;\r\n cb = function (e) {\r\n var args = arguments;\r\n u(e.currentTarget).find(sel).each(function (target) {\r\n if (target === e.target || target.contains(e.target)) {\r\n try {\r\n Object.defineProperty(e, 'currentTarget', {\r\n get: function () {\r\n return target;\r\n }\r\n });\r\n } catch (err) {}\r\n cb2.apply(target, args);\r\n }\r\n });\r\n };\r\n }\r\n\r\n // Add the custom data as arguments to the callback\r\n var callback = function (e) {\r\n return cb.apply(this, [e].concat(e.detail || []));\r\n };\r\n\r\n return this.eacharg(events, function (node, event) {\r\n node.addEventListener(event, callback);\r\n\r\n // Store it so we can dereference it with `.off()` later on\r\n node._e = node._e || {};\r\n node._e[event] = node._e[event] || [];\r\n node._e[event].push(callback);\r\n });\r\n};\r\n\r\n\r\n// [INTERNAL USE ONLY]\r\n\r\n// Take the arguments and a couple of callback to handle the getter/setter pairs\r\n// such as: .css('a'), .css('a', 'b'), .css({ a: 'b' })\r\nu.prototype.pairs = function (name, value, get, set) {\r\n // Convert it into a plain object if it is not\r\n if (typeof value !== 'undefined') {\r\n var nm = name;\r\n name = {};\r\n name[nm] = value;\r\n }\r\n\r\n if (typeof name === 'object') {\r\n // Set the value of each one, for each of the { prop: value } pairs\r\n return this.each(function (node) {\r\n for (var key in name) {\r\n set(node, key, name[key]);\r\n }\r\n });\r\n }\r\n\r\n // Return the style of the first one\r\n return this.length ? get(this.first(), name) : '';\r\n};\r\n\r\n// [INTERNAL USE ONLY]\r\n\r\n// // Parametize an object: { a: 'b', c: 'd' } => 'a=b&c=d'\r\n// u.prototype.param = function (obj) {\r\n// return Object.keys(obj).map(function (key) {\r\n// return this.uri(key) + '=' + this.uri(obj[key]);\r\n// }.bind(this)).join('&');\r\n// };\r\n\r\n// // Travel the matched elements one node up\r\n// u.prototype.parent = function (selector) {\r\n// return this.map(function (node) {\r\n// return node.parentNode;\r\n// }).filter(selector);\r\n// };\r\n\r\n\r\n// // Add nodes at the beginning of each node\r\n// u.prototype.prepend = function (html, data) {\r\n// return this.adjacent(html, data, function (node, fragment) {\r\n// node.insertBefore(fragment, node.firstChild);\r\n// });\r\n// };\r\n\r\n\r\n// // Delete the matched nodes from the DOM\r\n// u.prototype.remove = function () {\r\n// // Loop through all the nodes\r\n// return this.each(function (node) {\r\n// // Perform the removal only if the node has a parent\r\n// if (node.parentNode) {\r\n// node.parentNode.removeChild(node);\r\n// }\r\n// });\r\n// };\r\n\r\n\r\n// // Removes a class from all of the matched nodes\r\n// u.prototype.removeClass = function () {\r\n// // Loop the combination of each node with each argument\r\n// return this.eacharg(arguments, function (el, name) {\r\n// // Remove the class using the native method\r\n// el.classList.remove(name);\r\n// });\r\n// };\r\n\r\n\r\n// // Replace the matched elements with the passed argument.\r\n// u.prototype.replace = function (html, data) {\r\n// var nodes = [];\r\n// this.adjacent(html, data, function (node, fragment) {\r\n// nodes = nodes.concat(this.slice(fragment.children));\r\n// node.parentNode.replaceChild(fragment, node);\r\n// });\r\n// return u(nodes);\r\n// };\r\n\r\n\r\n// // Scroll to the first matched element\r\n// u.prototype.scroll = function () {\r\n// this.first().scrollIntoView({ behavior: 'smooth' });\r\n// return this;\r\n// };\r\n\r\n\r\n// [INTERNAL USE ONLY]\r\n// Select the adecuate part from the context\r\nu.prototype.select = function (parameter, context) {\r\n // Allow for spaces before or after\r\n parameter = parameter.replace(/^\\s*/, '').replace(/\\s*$/, '');\r\n\r\n if (context) {\r\n return this.select.byCss(parameter, context);\r\n }\r\n\r\n for (var key in this.selectors) {\r\n // Reusing it to save space\r\n context = key.split('/');\r\n if ((new RegExp(context[1], context[2])).test(parameter)) {\r\n return this.selectors[key](parameter);\r\n }\r\n }\r\n\r\n return this.select.byCss(parameter);\r\n};\r\n\r\n// Select some elements using a css Selector\r\nu.prototype.select.byCss = function (parameter, context) {\r\n return (context || document).querySelectorAll(parameter);\r\n};\r\n\r\n// Allow for adding/removing regexes and parsing functions\r\n// It stores a regex: function pair to process the parameter and context\r\nu.prototype.selectors = {};\r\n\r\n// Find some html nodes using an Id\r\nu.prototype.selectors[/^\\.[\\w\\-]+$/] = function (param) {\r\n return document.getElementsByClassName(param.substring(1));\r\n};\r\n\r\n// // The tag nodes\r\n// u.prototype.selectors[/^\\w+$/] = function (param) {\r\n// return document.getElementsByTagName(param);\r\n// };\r\n\r\n// // Find some html nodes using an Id\r\n// u.prototype.selectors[/^\\#[\\w\\-]+$/] = function (param) {\r\n// return document.getElementById(param.substring(1));\r\n// };\r\n\r\n// Create a new element for the DOM\r\nu.prototype.selectors[/^'),\r\n // 2) clone the currently matched node\r\n // 3) append cloned dom node to constructed node based on selector\r\n return this.map(function (node) {\r\n return u(selector).each(function (n) {\r\n findDeepestNode(n)\r\n .append(node.cloneNode(true));\r\n\r\n node\r\n .parentNode\r\n .replaceChild(n, node);\r\n });\r\n });\r\n};\r\n\r\n// Export it for webpack\r\nif (typeof module === 'object' && module.exports) {\r\n module.exports = {\r\n u: u,\r\n //ajax: ajax\r\n };\r\n}\r\n\n\n/***/ }),\n/* 4 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar dom_1 = __webpack_require__(1);\r\nvar Parser = /** @class */ (function () {\r\n function Parser() {\r\n }\r\n Parser.getCurrentParserLanguage = function () {\r\n if (window.bcv_parser) {\r\n var parser = new window.bcv_parser();\r\n if (parser['languages'] && parser['languages'].length === 1) {\r\n return parser['languages'][0];\r\n }\r\n }\r\n return false;\r\n };\r\n Object.defineProperty(Parser.prototype, \"bcv\", {\r\n get: function () {\r\n if (this._bcv) {\r\n return this._bcv;\r\n }\r\n throw new Error('The bcv_parser script has not been loaded successfully yet.');\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n /** Load bcv parser script for the given language */\r\n Parser.prototype.load = function (options, callback) {\r\n var _this = this;\r\n if (Parser.getCurrentParserLanguage() === options.language) {\r\n this.initBcvParser(options);\r\n this._bcv = this._bcv || new window.bcv_parser();\r\n if (callback) {\r\n callback(true);\r\n }\r\n }\r\n else {\r\n dom_1.loadScript('https://cdn.rawgit.com/openbibleinfo/Bible-Passage-Reference-Parser/537560a7/js/' +\r\n (options.language + \"_bcv_parser.js\"), function (successful) {\r\n if (successful) {\r\n _this.initBcvParser(options);\r\n }\r\n if (callback) {\r\n callback(successful);\r\n }\r\n });\r\n }\r\n };\r\n Parser.prototype.initBcvParser = function (options) {\r\n this._bcv = this._bcv || new window.bcv_parser();\r\n options.parserOptions = options.parserOptions || {};\r\n if (Parser.getCurrentParserLanguage() === 'de') {\r\n if (!('punctuation_strategy' in options.parserOptions)) {\r\n options.parserOptions.punctuation_strategy = 'eu';\r\n }\r\n }\r\n if (!('sequence_combination_strategy' in options.parserOptions)) {\r\n options.parserOptions.sequence_combination_strategy = 'separate';\r\n }\r\n if (options.parserOptions) {\r\n this._bcv.set_options(options.parserOptions);\r\n }\r\n };\r\n return Parser;\r\n}());\r\nexports.Parser = Parser;\r\n\n\n/***/ }),\n/* 5 */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar root = __webpack_require__(13);\n\n/** Built-in value references. */\nvar Symbol = root.Symbol;\n\nmodule.exports = Symbol;\n\n\n/***/ }),\n/* 6 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar bible_versions_const_1 = __webpack_require__(7);\r\nvar Bible = /** @class */ (function () {\r\n function Bible() {\r\n }\r\n /** Return all available versions for this bible and (if provided) for the given language. */\r\n Bible.prototype.getAvailableVersions = function (language) {\r\n var availableVersions = {};\r\n for (var version in bible_versions_const_1.bibleVersions) {\r\n if (bible_versions_const_1.bibleVersions.hasOwnProperty(version)) {\r\n if (Object.keys(this.bibleVersionMap).indexOf(version) > -1) {\r\n if (!language || language === bible_versions_const_1.bibleVersions[version].languageCode) {\r\n availableVersions[version] = bible_versions_const_1.bibleVersions[version];\r\n }\r\n }\r\n }\r\n }\r\n return availableVersions;\r\n };\r\n return Bible;\r\n}());\r\nexports.Bible = Bible;\r\n\n\n/***/ }),\n/* 7 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\n/**\r\n * All Bible versions supported by one of the online Bibles or Bible APIs.\r\n * If the user has not specified a Bible version, the first one available for that language in the order given below will be chosen.\r\n */\r\nvar BibleVersions = /** @class */ (function () {\r\n function BibleVersions() {\r\n // Afrikaans\r\n this['af.AOV'] = { title: 'Ou Vertaling', languageCode: 'af', availableSections: ['OT', 'NT'] };\r\n // Amharic (Ehtopia)\r\n this['am.HSAB'] = { title: 'Haile Selassie Amharic Bible', languageCode: 'am', availableSections: ['OT', 'NT'] };\r\n this['am.Amharic'] = { title: 'Amharic NT', languageCode: 'am', availableSections: ['NT'] };\r\n // Arabic\r\n this['ar.ALAB'] = { title: 'التفسير التطبيقي للكتاب المقدس', languageCode: 'ar', availableSections: ['OT', 'NT'] };\r\n this['ar.ArabicSV'] = { title: 'Smith and Van Dyke', languageCode: 'ar', availableSections: ['OT', 'NT'] };\r\n // Aramaic\r\n this['arc.Peshitta'] = { title: 'Peshitta NT', languageCode: 'arc', availableSections: ['NT'] };\r\n // Bulgarian\r\n this['bg.BGV'] = { title: 'Veren', languageCode: 'bg', availableSections: ['OT', 'NT'] };\r\n this['bg.CBT'] = { title: 'Библия, нов превод от оригиналните езици', languageCode: 'bg', availableSections: ['OT', 'NT', 'Apocrypha'] };\r\n this['bg.Bulgarian1940'] = { title: 'Bulgarian Bible (1940)', languageCode: 'bg', availableSections: ['OT', 'NT'] };\r\n // Breton\r\n this['br.Breton'] = { title: 'Breton', languageCode: 'br', availableSections: ['Gospels'] };\r\n // Chamorro (GUam, Northern Mariana Islands)\r\n this['ch.Chamorro'] = { title: 'Chamorro', languageCode: 'ch', availableSections: ['Ps', 'Gospels', 'Acts'] };\r\n // Coptic\r\n this['cop.Bohairic'] = { title: 'Bohairic NT', languageCode: 'cop', availableSections: ['NT'] };\r\n this['cop.Coptic'] = { title: 'Coptic NT', languageCode: 'cop', availableSections: ['NT'] };\r\n this['cop.Sahidic'] = { title: 'Sahidic NT', languageCode: 'cop', availableSections: ['NT'] };\r\n // Czech\r\n this['cs.B21'] = { title: 'Bible, překlad 21. století', languageCode: 'cs', availableSections: ['OT', 'NT', 'Apocrypha'] };\r\n this['cs.BKR'] = { title: 'Bible Kralická', languageCode: 'cs', availableSections: ['OT', 'NT'] };\r\n this['cs.CEP'] = { title: 'Český ekumenický překlad', languageCode: 'cs', availableSections: ['OT', 'NT', 'Apocrypha'] };\r\n this['cs.SNC'] = { title: 'Slovo na cestu', languageCode: 'cs', availableSections: ['OT', 'NT'] };\r\n this['cs.KMS'] = { title: 'Křesťanská misijní společnost', languageCode: 'cs', availableSections: ['OT', 'NT'] };\r\n this['cs.NKB'] = { title: 'Nova Bible Kralicka', languageCode: 'cs', availableSections: ['OT', 'NT'] };\r\n // Danish\r\n this['da.DK'] = { title: 'Bibelen på hverdagsdansk', languageCode: 'da', availableSections: ['OT', 'NT'] };\r\n this['da.Danish'] = { title: 'Danish', languageCode: 'da', availableSections: ['OT', 'NT'] };\r\n // German\r\n this['de.ELB'] = { title: 'Elberfelder Bibel', languageCode: 'de', availableSections: ['OT', 'NT'] };\r\n this['de.ZB'] = { title: 'Zürcher Bibel', languageCode: 'de', availableSections: ['OT', 'NT'] };\r\n this['de.LUT'] = { title: 'Lutherbibel 2017', languageCode: 'de', availableSections: ['OT', 'NT', 'Apocrypha'] };\r\n this['de.NeÜ'] = { title: 'Neue evangelistische Übersetzung', languageCode: 'de', availableSections: ['OT', 'NT'] };\r\n this['de.SLT'] = { title: 'Schlachter 2000', languageCode: 'de', availableSections: ['OT', 'NT'] };\r\n this['de.EU'] = { title: 'Einheitsübersetzung 2016', languageCode: 'de', availableSections: ['OT', 'NT', 'Apocrypha'] };\r\n this['de.MENG'] = { title: 'Menge Bibel', languageCode: 'de', availableSections: ['OT', 'NT', 'Apocrypha'] };\r\n this['de.NLB'] = { title: 'Neues Leben. Die Bibel', languageCode: 'de', availableSections: ['OT', 'NT'] };\r\n this['de.GNB'] = { title: 'Gute Nachricht Bibel', languageCode: 'de', availableSections: ['OT', 'NT', 'Apocrypha'] };\r\n this['de.HFA'] = { title: 'Hoffnung für Alle', languageCode: 'de', availableSections: ['OT', 'NT'] };\r\n this['de.NGÜ'] = { title: 'Neue Genfer Übersetzung', languageCode: 'de', availableSections: ['Psalms', 'NT'] }; // Very good but unfortunatly not complete\r\n this['de.SLT1951'] = { title: 'Schlachter 1951', languageCode: 'de', availableSections: ['OT', 'NT'] };\r\n this['de.ELB1905'] = { title: 'Elberfelder 1905', languageCode: 'de', availableSections: ['OT', 'NT'] };\r\n this['de.ELB1871'] = { title: 'Elberfelder 1871', languageCode: 'de', availableSections: ['OT', 'NT'] };\r\n this['de.LUT1912'] = { title: 'Luther 1912', languageCode: 'de', availableSections: ['OT', 'NT'] };\r\n this['de.LUT1545'] = { title: 'Luther 1545', languageCode: 'de', availableSections: ['OT', 'NT'] };\r\n // Modern Greek\r\n this['el.ModernGreek'] = { title: 'Modern Greek', languageCode: 'el', availableSections: ['OT', 'NT'] };\r\n // English\r\n this['en.ESV'] = { title: 'English Standard Version', languageCode: 'en', availableSections: ['OT', 'NT'] };\r\n this['en.NIV'] = { title: 'New International Version', languageCode: 'en', availableSections: ['OT', 'NT'] };\r\n this['en.WEB'] = { title: 'World English Bible', languageCode: 'en', availableSections: ['OT', 'NT'] };\r\n this['en.KJV'] = { title: 'King James Version', languageCode: 'en', availableSections: ['OT', 'NT'] };\r\n this['en.NIRV'] = { title: 'New Int. Readers Version', languageCode: 'en', availableSections: ['OT', 'NT'] };\r\n this['en.AKJV'] = { title: 'KJV Easy Read', languageCode: 'en', availableSections: ['OT', 'NT'] };\r\n this['en.ASV'] = { title: 'American Standard Version', languageCode: 'en', availableSections: ['OT', 'NT'] };\r\n this['en.BasicEnglish'] = { title: 'Basic English Bible', languageCode: 'en', availableSections: ['OT', 'NT'] };\r\n this['en.Darby'] = { title: 'Darby', languageCode: 'en', availableSections: ['OT', 'NT'] };\r\n this['en.YLT'] = { title: \"Young's Literal Translation\", languageCode: 'en', availableSections: ['OT', 'NT'] };\r\n this['en.WB'] = { title: \"Webster's Bible\", languageCode: 'en', availableSections: ['OT', 'NT'] };\r\n this['en.DouayRheims'] = { title: 'Douay Rheims', languageCode: 'en', availableSections: ['OT', 'NT'] };\r\n this['en.Weymouth'] = { title: 'Weymouth NT', languageCode: 'en', availableSections: ['NT'] };\r\n // Esperanto\r\n this['eo.Esperanto'] = { title: 'Esperanto', languageCode: 'eo', availableSections: ['OT', 'NT'] };\r\n // Spanish\r\n this['es.BTX'] = { title: 'La Biblia Textual', languageCode: 'es', availableSections: ['OT', 'NT'] };\r\n this['es.CST'] = { title: 'Nueva Versión Internacional (Castilian)', languageCode: 'es', availableSections: ['OT', 'NT'] };\r\n this['es.NVI'] = { title: 'Nueva Versión Internacional', languageCode: 'es', availableSections: ['OT', 'NT'] };\r\n this['es.Valera'] = { title: 'Reina Valera (1909)', languageCode: 'es', availableSections: ['OT', 'NT'] };\r\n this['es.RV1858'] = { title: 'Reina Valera NT (1858)', languageCode: 'es', availableSections: ['NT'] };\r\n this['es.SSE'] = { title: 'Sagradas Escrituras (1569)', languageCode: 'es', availableSections: ['OT', 'NT'] };\r\n // Estonian\r\n this['et.Estonian'] = { title: 'Estonian', languageCode: 'et', availableSections: ['OT', 'NT'] };\r\n // Basque\r\n this['eu.Basque'] = { title: 'Navarro Labourdin NT', languageCode: 'eu', availableSections: ['NT'] };\r\n // Persian/Farsi\r\n this['fa.FCB'] = { title: 'کتاب مقدس، ترجمه تفسیری', languageCode: 'fa', availableSections: ['OT', 'NT'] };\r\n // Finnish\r\n this['fi.Finnish1776'] = { title: 'Finnish Bible (1776)', languageCode: 'fi', availableSections: ['OT', 'NT'] };\r\n this['fi.PyhaRaamattu1933'] = { title: 'Pyha Raamattu (1933 1938)', languageCode: 'fi', availableSections: ['OT', 'NT'] };\r\n this['fi.PyhaRaamattu1992'] = { title: 'Pyha Raamattu (1992)', languageCode: 'fi', availableSections: ['OT', 'NT'] };\r\n // French\r\n this['fr.BDS'] = { title: 'Bible du Semeur', languageCode: 'fr', availableSections: ['OT', 'NT'] };\r\n this['fr.LSG'] = { title: 'Louis Segond 1910', languageCode: 'fr', availableSections: ['OT', 'NT'] };\r\n this['fr.S21'] = { title: 'Segond 21', languageCode: 'fr', availableSections: ['OT', 'NT'] };\r\n this['fr.Martin'] = { title: 'Martin (1744)', languageCode: 'fr', availableSections: ['OT', 'NT'] };\r\n this['fr.LS1910'] = { title: 'Louis Segond (1910)', languageCode: 'fr', availableSections: ['OT', 'NT'] };\r\n this['fr.Ostervald1996'] = { title: 'Ostervald (1996 revision)', languageCode: 'fr', availableSections: ['OT', 'NT'] };\r\n // Scottish Gaelic\r\n this['gd.Gaelic'] = { title: 'Scots Gaelic Gospel of Mark', languageCode: 'gd', availableSections: ['Mark'] };\r\n // Gothic\r\n this['got.Gothic'] = { title: 'Gothic (Nehemiah NT Portions)', languageCode: 'got', availableSections: ['Neh', 'NT'] };\r\n // Koine Greek\r\n this['grc.TextusReceptus'] = { title: 'Textus Receptus', languageCode: 'grc', availableSections: ['NT'] };\r\n this['grc.MajorityTextParsed'] = { title: 'NT Byzantine Majority Text (2000) Parsed', languageCode: 'grc', availableSections: ['NT'] };\r\n this['grc.MajorityText'] = { title: 'NT Byzantine Majority Text (2000)', languageCode: 'grc', availableSections: ['NT'] };\r\n this['grc.TextusReceptusParsed'] = { title: 'NT Textus Receptus (1550 1894) Parsed', languageCode: 'grc', availableSections: ['NT'] };\r\n this['grc.Tischendorf'] = { title: 'NT Tischendorf 8th Ed', languageCode: 'grc', availableSections: ['NT'] };\r\n this['grc.WestcottHortParsed'] = { title: 'NT Westcott Hort UBS4 variants Parsed', languageCode: 'grc', availableSections: ['NT'] };\r\n this['grc.WestcottHort'] = { title: 'NT Westcott Hort UBS4 variants', languageCode: 'grc', availableSections: ['NT'] };\r\n this['grc.LXX'] = { title: 'OT Septuaginta', languageCode: 'grc', availableSections: ['OT'] };\r\n this['grc.LXXParsed'] = { title: 'OT Septuaginta with Roots Parsing', languageCode: 'grc', availableSections: ['OT'] };\r\n this['grc.LXXUnaccented'] = { title: 'OT Septuaginta Unaccented', languageCode: 'grc', availableSections: ['OT'] };\r\n this['grc.LXXUnaccentedParsed'] = { title: 'OT Septuaginta Unaccented with Roots Parsing', languageCode: 'grc', availableSections: ['OT'] };\r\n // Manx Gaelic (Isle of Man)\r\n this['gv.ManxGaelic'] = { title: 'Manx Gaelic', languageCode: 'gv', availableSections: ['Esth', 'Jonah', 'Gospels'] };\r\n // Modern Hebrew\r\n this['he.ModernHebrew'] = { title: 'Hebrew Modern', languageCode: 'he', availableSections: ['OT', 'NT'] };\r\n this['he.OT'] = { title: 'Hebrew OT', languageCode: 'he', availableSections: ['OT'] };\r\n // Ancient Hebrew\r\n this['hbo.Aleppo'] = { title: 'Aleppo Codex', languageCode: 'hbo', availableSections: ['OT'] };\r\n this['hbo.BHSUnpointed'] = { title: 'OT BHS (Consonants Only)', languageCode: 'hbo', availableSections: ['OT'] };\r\n this['hbo.BHS'] = { title: 'OT BHS (Consonants and Vowels)', languageCode: 'hbo', availableSections: ['OT'] };\r\n this['hbo.WLCUnpointed'] = { title: 'OT WLC (Consonants Only)', languageCode: 'hbo', availableSections: ['OT'] };\r\n this['hbo.WLC'] = { title: 'OT WLC (Consonants and Vowels)', languageCode: 'hbo', availableSections: ['OT'] };\r\n this['hbo.WLC2'] = { title: 'OT Westminster Leningrad Codex', languageCode: 'hbo', availableSections: ['OT'] };\r\n // Hungarian\r\n this['hu.Karoli'] = { title: 'Hungarian Karoli', languageCode: 'hu', availableSections: ['OT', 'NT'] };\r\n // Croatian\r\n this['hr.CKK'] = { title: 'Knjiga O Kristu', languageCode: 'hr', availableSections: ['NT'] };\r\n this['hr.Croatian'] = { title: 'Croatian', languageCode: 'hr', availableSections: ['OT', 'NT'] };\r\n // Hungarian\r\n this['hu.HUN'] = { title: 'Hungarian', languageCode: 'hu', availableSections: ['NT'] };\r\n this['hu.KAR'] = { title: 'IBS-fordítás (Új Károli)', languageCode: 'hu', availableSections: ['OT'] };\r\n // Armenian\r\n this['hy.EasternArmenian'] = { title: 'Eastern', languageCode: 'hy', availableSections: ['Gen', 'Exod', 'Gospels'] };\r\n this['hy.WesternArmenian'] = { title: 'Western NT', languageCode: 'hy', availableSections: ['NT'] };\r\n // Italian\r\n this['it.ITA'] = { title: 'La Parola è Vita', languageCode: 'it', availableSections: ['NT'] };\r\n this['it.NRS'] = { title: 'Nuova Riveduta 2006', languageCode: 'it', availableSections: ['OT', 'NT'] };\r\n this['it.Giovanni'] = { title: 'Giovanni Diodati Bible (1649)', languageCode: 'it', availableSections: ['OT', 'NT'] };\r\n this['it.Riveduta'] = { title: 'Riveduta Bible (1927)', languageCode: 'it', availableSections: ['OT', 'NT'] };\r\n // Georgian\r\n this['ka.Georgian'] = { title: 'Georgian', languageCode: 'ka', availableSections: ['Gospels', 'Acts', 'Jas'] };\r\n // Kabyle (Algeria)\r\n this['kab.Kabyle'] = { title: 'Kabyle NT', languageCode: 'kab', availableSections: ['NT'] };\r\n // Korean\r\n this['ko.Korean'] = { title: 'Korean', languageCode: 'ko', availableSections: ['OT', 'NT'] };\r\n // Latin\r\n this['la.VUL'] = { title: 'Vulgata', languageCode: 'la', availableSections: ['OT', 'NT'] };\r\n this['la.NewVulgate'] = { title: 'Nova Vulgata', languageCode: 'la', availableSections: ['OT', 'NT'] };\r\n this['la.Vulgate'] = { title: 'Vulgata Clementina', languageCode: 'la', availableSections: ['OT', 'NT'] };\r\n // Lithuanian\r\n this['lt.Lithuanian'] = { title: 'Lithuanian', languageCode: 'lt', availableSections: ['OT', 'NT'] };\r\n // Latvian\r\n this['lv.Latvian'] = { title: 'Latvian NT', languageCode: 'lv', availableSections: ['NT'] };\r\n // Maori (New Zealand)\r\n this['mi.Maori'] = { title: 'Maori', languageCode: 'mi', availableSections: ['OT', 'NT'] };\r\n // Burmese (Myanmar)\r\n this['my.Judson'] = { title: 'Judson (1835)', languageCode: 'my', availableSections: ['OT', 'NT'] };\r\n // Dutch\r\n this['nl.HTB'] = { title: 'Het Boek', languageCode: 'nl', availableSections: ['OT', 'NT'] };\r\n this['nl.StatenVertaling'] = { title: 'Dutch Staten Vertaling', languageCode: 'nl', availableSections: ['OT', 'NT'] };\r\n // Norwegian\r\n this['no.NOR'] = { title: 'En Levende Bok', languageCode: 'no', availableSections: ['NT'] };\r\n this['no.Bibelselskap'] = { title: 'Bibelselskap (1930)', languageCode: 'no', availableSections: ['OT', 'NT'] };\r\n // Potawatomi (Indigenous North American)\r\n this['pot.Potawatomi'] = { title: 'Potawatomi (Lykins 1844)', languageCode: 'pot', availableSections: ['Matt', 'Acts'] };\r\n // Polish\r\n this['pl.PSZ'] = { title: 'Słowo Życia', languageCode: 'pl', availableSections: ['NT'] };\r\n // Uma (Indonesia)\r\n this['ppk.Uma'] = { title: 'Uma NT', languageCode: 'ppk', availableSections: ['NT'] };\r\n // Portuguese\r\n this['pt.PRT'] = { title: 'O Livro', languageCode: 'pt', availableSections: ['OT', 'NT'] };\r\n this['pt.Almeida'] = { title: 'Almeida Atualizada', languageCode: 'pt', availableSections: ['OT', 'NT'] };\r\n // Romanian\r\n this['ro.NTR'] = { title: 'Noua traducere în limba românã', languageCode: 'ro', availableSections: ['OT', 'NT'] };\r\n this['ro.Cornilescu'] = { title: 'Cornilescu', languageCode: 'ro', availableSections: ['OT', 'NT'] };\r\n // Romani\r\n this['rom.ROM'] = { title: 'Romani NT E Lashi Viasta', languageCode: 'rom', availableSections: ['NT'] };\r\n // Russian\r\n this['ru.CARS'] = { title: 'Священное Писание, Восточный перевод', languageCode: 'ru', availableSections: ['OT', 'NT'] };\r\n this['ru.RSZ'] = { title: 'Новый перевод на русский язык', languageCode: 'ru', availableSections: ['OT', 'NT'] };\r\n this['ru.Synodal'] = { title: 'Synodal Translation (1876)', languageCode: 'ru', availableSections: ['OT', 'NT'] };\r\n this['ru.Makarij'] = { title: 'Makarij Translation Pentateuch (1825)', languageCode: 'ru', availableSections: ['Gen', 'Exod', 'Lev', 'Num', 'Deut'] };\r\n this['ru.Zhuromsky'] = { title: 'Victor Zhuromsky NT', languageCode: 'ru', availableSections: ['NT'] };\r\n // Slovak\r\n this['sk.NPK'] = { title: 'Nádej pre kazdého', languageCode: 'sk', availableSections: ['NT'] };\r\n // Albanian\r\n this['sq.Albanian'] = { title: 'Albanian', languageCode: 'sq', availableSections: ['OT', 'NT'] };\r\n // Swedish\r\n this['sv.BSV'] = { title: 'Nya Levande Bibeln', languageCode: 'sv', availableSections: ['OT', 'NT'] };\r\n this['sv.Swedish'] = { title: 'Swedish (1917)', languageCode: 'sv', availableSections: ['OT', 'NT'] };\r\n // Swahili (East Africa)\r\n this['sw.Swahili'] = { title: 'Swahili', languageCode: 'sw', availableSections: ['OT', 'NT'] };\r\n // Thai\r\n this['th.Thai'] = { title: 'Thai from KJV', languageCode: 'th', availableSections: ['OT', 'NT'] };\r\n // Tagalog (Philippines)\r\n this['tl.Tagalog'] = { title: 'Ang Dating Biblia (1905)', languageCode: 'tl', availableSections: ['OT', 'NT'] };\r\n // Turkish\r\n this['tr.TR'] = { title: 'Türkçe', languageCode: 'tr', availableSections: ['OT', 'NT'] };\r\n this['tr.Turkish'] = { title: 'Turkish', languageCode: 'tr', availableSections: ['OT', 'NT'] };\r\n this['tr.TNT'] = { title: 'Turkish NT (1987 1994)', languageCode: 'tr', availableSections: ['NT'] };\r\n // Tamajaq (Mali)\r\n this['ttq.Tamajaq'] = { title: 'Portions of the Bible in Tamajaq', languageCode: 'ttq', availableSections: ['OT', 'NT'] };\r\n // Ukrainian\r\n this['uk.Ukranian'] = { title: 'Ukranian NT (P Kulish 1871)', languageCode: 'uk', availableSections: ['NT'] };\r\n // Vietnamese\r\n this['vi.Vietnamese'] = { title: 'Vietnamese (1934)', languageCode: 'vi', availableSections: ['OT', 'NT'] };\r\n // Wolof (West Africa)\r\n this['wo.Wolof'] = { title: 'Wolof NT', languageCode: 'wo', availableSections: ['NT'] };\r\n // Xhosa (Southern Africa)\r\n this['xh.Xhosa'] = { title: 'Xhosa', languageCode: 'xh', availableSections: ['OT', 'NT'] };\r\n // Chinese\r\n this['za.CCBT'] = { title: '聖經當代譯本修訂版', languageCode: 'za', availableSections: ['OT', 'NT'] };\r\n this['za.CUVS'] = { title: '中文和合本(简体)', languageCode: 'za', availableSections: ['OT', 'NT'] };\r\n this['za.CNT'] = { title: 'NCV Traditional', languageCode: 'za', availableSections: ['OT', 'NT'] };\r\n this['za.CUS'] = { title: 'Union Simplified', languageCode: 'za', availableSections: ['OT', 'NT'] };\r\n this['za.CNS'] = { title: 'NCV Simplified', languageCode: 'za', availableSections: ['OT', 'NT'] };\r\n this['za.CUT'] = { title: 'Union Traditional', languageCode: 'za', availableSections: ['OT', 'NT'] };\r\n }\r\n return BibleVersions;\r\n}());\r\nexports.BibleVersions = BibleVersions;\r\nexports.bibleVersions = new BibleVersions();\r\n\n\n/***/ }),\n/* 8 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar blinx_class_1 = __webpack_require__(9);\r\nvar PromisePolyfill = __webpack_require__(33);\r\nif (!('Promise' in window)) {\r\n window.Promise = PromisePolyfill;\r\n}\r\n// Execute for app\r\nif (!('__karma__' in window)) {\r\n loadBlinx();\r\n}\r\n// Export function for specs\r\nfunction loadBlinx() {\r\n window.blinx = new blinx_class_1.Blinx();\r\n}\r\nexports.loadBlinx = loadBlinx;\r\n\n\n/***/ }),\n/* 9 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n};\r\nvar __generator = (this && this.__generator) || function (thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = y[op[0] & 2 ? \"return\" : op[0] ? \"throw\" : \"next\"]) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [0, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n};\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar options_1 = __webpack_require__(10);\r\nvar parser_class_1 = __webpack_require__(4);\r\nvar u_js_1 = __webpack_require__(3);\r\nvar isString = __webpack_require__(11);\r\nvar online_bible_overview_1 = __webpack_require__(19);\r\nvar bible_versions_const_1 = __webpack_require__(7);\r\nvar dom_1 = __webpack_require__(1);\r\nvar deferred_class_1 = __webpack_require__(23);\r\nvar bible_api_overview_1 = __webpack_require__(24);\r\nvar osis_1 = __webpack_require__(2);\r\n__webpack_require__(28);\r\nvar Blinx = /** @class */ (function () {\r\n /** Initialise blinx. */\r\n function Blinx() {\r\n var _this = this;\r\n this.options = new options_1.Options();\r\n this.parser = new parser_class_1.Parser();\r\n this.tippyObjects = [];\r\n this.tippyLoaded = new deferred_class_1.Deferred();\r\n this.touchStarted = false;\r\n this.testability = { u: u_js_1.u };\r\n this.tippyPolyfills = false;\r\n this.tippyPolyfillInterval = 0;\r\n // Identify touch devices\r\n window.addEventListener('touchstart', function () {\r\n _this.touchStarted = true;\r\n });\r\n options_1.applyScriptTagOptions(this.options);\r\n this.onlineBible = online_bible_overview_1.getOnlineBible(this.options.onlineBible);\r\n // TODO: Later on, the best Bible API containing a certain translation should rather be used automatically\r\n this.bibleApi = bible_api_overview_1.getBibleApi(this.options.bibleApi);\r\n // Load dependency required for link creation\r\n this.parser.load(this.options, function () { return _this.initComplete(); });\r\n // Load dependency required for tooltip display\r\n this.loadTippy();\r\n }\r\n /** Execute a parse for the given options. */\r\n Blinx.prototype.execute = function () {\r\n var _this = this;\r\n // Search within all whitelisted selectors\r\n u_js_1.u(this.options.whitelist.length ? this.options.whitelist.join(' *, ') + \" *\" : 'body')\r\n .not(this.options.blacklist.join(', '))\r\n .not(this.options.blacklist.length ? this.options.blacklist.join(' *, ') + \" *\" : '')\r\n .each(function (node) { return _this.parseReferencesInNode(node); });\r\n // Once tippy.js is loaded, add tooltips\r\n this.tippyLoaded.promise\r\n .then(function () {\r\n _this.addTooltips();\r\n if (_this.testability.linksApplied) {\r\n _this.testability.linksApplied();\r\n }\r\n });\r\n };\r\n Blinx.prototype.addTooltips = function () {\r\n var _this = this;\r\n var versionCode = this.getVersionCode(this.onlineBible);\r\n // Loop through all nodes in order to create a unique template for each\r\n u_js_1.u('[data-osis]')\r\n .each(function (node, index) {\r\n var osis = u_js_1.u(node).data('osis');\r\n var template = u_js_1.u('
')\r\n .html(\"\\n
\\n
\\n \\n
\\n
\\n
\\n \\n
\\n \").attr('id', \"bxTippyTemplate\" + index);\r\n _this.tippyObjects.push(tippy(node, {\r\n placement: 'top',\r\n arrow: true,\r\n arrowType: 'round',\r\n theme: _this.options.theme,\r\n interactive: true,\r\n html: template.nodes[0],\r\n onShow: function (tippyInstance) {\r\n if (_this.tippyPolyfills) {\r\n _this.fixPopperPosition(tippyInstance);\r\n }\r\n var osis = u_js_1.u(tippyInstance.reference).data('osis');\r\n _this.getTooltipContent(osis)\r\n .then(function (text) {\r\n u_js_1.u(template).find('.bxPassageText').html(text);\r\n if (_this.testability.passageDisplayed) {\r\n _this.testability.passageDisplayed();\r\n }\r\n });\r\n },\r\n onHide: function (tippyInstance) {\r\n if (_this.tippyPolyfills) {\r\n clearInterval(_this.tippyPolyfillInterval);\r\n _this.tippyPolyfillInterval = 0;\r\n // Not removed automatically for IE9\r\n setTimeout(function () {\r\n var el = tippyInstance.popper;\r\n if (el.removeNode) {\r\n el.removeNode(true);\r\n }\r\n else if (el.remove) {\r\n el.remove();\r\n }\r\n }, 500);\r\n }\r\n }\r\n }));\r\n });\r\n };\r\n /** Fix positon of Popper for polyfilled browsers, as Popper won't position them. */\r\n Blinx.prototype.fixPopperPosition = function (tippyInstance) {\r\n var popper = tippyInstance.popper;\r\n var adjustPos = function () {\r\n // Suppress errors for the sake of IE9 test\r\n try {\r\n popper.style.top = popper.getAttribute('x-placement') === 'top' ? '20px' : '10px';\r\n popper.style.left = '10px';\r\n popper.style.position = 'fixed';\r\n var arrow = popper.getElementsByClassName('tippy-roundarrow').item(0);\r\n arrow.style.display = 'none';\r\n }\r\n catch (_a) { }\r\n };\r\n // A very crude way of correcting the position, but Popper seems to set it several times\r\n setTimeout(adjustPos, 0);\r\n clearInterval(this.tippyPolyfillInterval);\r\n this.tippyPolyfillInterval = setInterval(adjustPos, 10);\r\n };\r\n /** Second step of initialisation after parser & polyfills are loaded. */\r\n Blinx.prototype.initComplete = function () {\r\n var _this = this;\r\n if (this.options.parseAutomatically) {\r\n if (/^complete|interactive|loaded$/.test(document.readyState)) {\r\n // DOM already parsed\r\n this.execute();\r\n }\r\n else {\r\n // DOM content not yet loaded\r\n var handler_1 = function () {\r\n u_js_1.u(document).off('DOMContentLoaded', handler_1);\r\n _this.execute();\r\n };\r\n u_js_1.u(document).on('DOMContentLoaded', handler_1);\r\n }\r\n }\r\n };\r\n /**\r\n * Look for and link all references found in the text node children of the given node.\r\n * @param node Any\r\n */\r\n Blinx.prototype.parseReferencesInNode = function (node) {\r\n var childNodes = Array.prototype.slice.call(node.childNodes);\r\n for (var _i = 0, childNodes_1 = childNodes; _i < childNodes_1.length; _i++) {\r\n var childNode = childNodes_1[_i];\r\n if (this.isTextNode(childNode)) {\r\n // Look for all complete Bible references\r\n this.parser.bcv.parse(childNode.textContent || '');\r\n var refs = this.parser.bcv.osis_and_indices();\r\n this.handleReferencesFoundInText(childNode, refs);\r\n }\r\n }\r\n };\r\n /**\r\n * Link the given reference and continue looking for further (partial) references in the remaining text.\r\n * @param node Text node the given reference was found in\r\n * @param ref bcv_parser reference object\r\n */\r\n Blinx.prototype.handleReferencesFoundInText = function (node, refs) {\r\n var explicitContextRef = null;\r\n var explicitContext = node.parentNode &&\r\n u_js_1.u(node.parentNode).closest('[data-bx-context]').attr('data-bx-context');\r\n if (explicitContext) {\r\n this.parser.bcv.parse(explicitContext);\r\n explicitContextRef = this.parser.bcv.osis_and_indices()[0];\r\n }\r\n for (var i = refs.length - 1; i >= 0; i--) {\r\n var ref = refs[i];\r\n var remainder = node.splitText(ref.indices[1]);\r\n var passage = node.splitText(ref.indices[0]);\r\n if (passage) {\r\n this.addLink(passage, ref);\r\n }\r\n var contextRef = explicitContextRef || ref;\r\n this.parsePartialReferencesInText(remainder, this.convertOsisToContext(contextRef.osis));\r\n }\r\n // If an explicit context was provided, check for partial references _preceding_ the first recognised ref\r\n if (node.textContent && explicitContextRef) {\r\n this.parsePartialReferencesInText(node, this.convertOsisToContext(explicitContextRef.osis));\r\n }\r\n };\r\n Blinx.prototype.convertOsisToContext = function (osis) {\r\n var chapterVerse = this.options.parserOptions && this.options.parserOptions.punctuation_strategy === 'eu' ?\r\n ',' : ':';\r\n return osis_1.transformOsis(osis, { bookChapter: ' ', chapterVerse: chapterVerse });\r\n };\r\n /**\r\n * Look for and link partial references in the given text node.\r\n * Unfortunately, bcv.parse_with_context() only works, if the string\r\n * *starts* with the partial passage, so the beginning needs to be\r\n * determined by searching for chapter/verse numbers.\r\n * @param node Text node\r\n * @param previousPassage Previous recognized passage as parser context\r\n */\r\n Blinx.prototype.parsePartialReferencesInText = function (node, previousPassage) {\r\n var text = node.textContent || '';\r\n // Search for first number\r\n var match = text.match(/\\d/);\r\n // TODO: Check support of match.index\r\n if (match && typeof match.index !== 'undefined') {\r\n var possibleReferenceWithPrefix = '';\r\n var possibleReferenceWithoutPrefix = text.slice(match.index);\r\n var offset = 0;\r\n if (match.index > 0) {\r\n // Check if it is preceded by a prefix (which could be 'chapter ' or 'vs.' etc.)\r\n var preceding = text.slice(0, match.index);\r\n var matchPrefix = preceding.match(/\\w+\\.?\\s*$/);\r\n if (matchPrefix) {\r\n possibleReferenceWithPrefix = matchPrefix[0] + possibleReferenceWithoutPrefix;\r\n offset = match.index - matchPrefix[0].length;\r\n }\r\n }\r\n // Check for possible reference with prefix first\r\n if (possibleReferenceWithPrefix) {\r\n this.parser.bcv.parse_with_context(possibleReferenceWithPrefix, previousPassage);\r\n }\r\n // Deactivate recognition of simple numbers for now, as this leads to too many false positives\r\n // // If none available or unsuccessful, check for possible reference starting with number(s)\r\n // if (!possibleReferenceWithPrefix || !this.parser.bcv.osis()) {\r\n // this.parser.bcv.parse_with_context(possibleReferenceWithoutPrefix, previousPassage);\r\n // offset = match.index;\r\n // }\r\n // If either successful, adjust the indices due to the slice above and handle the reference\r\n var refs = this.parser.bcv.osis_and_indices();\r\n if (refs.length) {\r\n for (var _i = 0, refs_1 = refs; _i < refs_1.length; _i++) {\r\n var ref = refs_1[_i];\r\n ref.indices[0] += offset;\r\n ref.indices[1] += offset;\r\n }\r\n this.handleReferencesFoundInText(node, refs);\r\n }\r\n }\r\n };\r\n Blinx.prototype.isTextNode = function (node) {\r\n return node.nodeType === node.TEXT_NODE;\r\n };\r\n Blinx.prototype.addLink = function (node, ref) {\r\n var _this = this;\r\n var versionCode = this.getVersionCode(this.onlineBible);\r\n u_js_1.u(node)\r\n .wrap(\"\")\r\n .attr('href', this.onlineBible.buildPassageLink(ref.osis, versionCode))\r\n .attr('target', '_blank')\r\n .data('osis', ref.osis)\r\n .on('click', function (evt) {\r\n if (_this.touchStarted) {\r\n evt.preventDefault();\r\n }\r\n });\r\n };\r\n Blinx.prototype.getVersionCode = function (bible) {\r\n var versionCode = isString(this.options.bibleVersion) ? this.options.bibleVersion :\r\n this.options.bibleVersion.bibleText;\r\n var availableVersions = Object.keys(bible.getAvailableVersions(this.options.language));\r\n // If the versionCode does not match the given language or is not supported by the given Bible,\r\n // find the first version available for the given online Bible for this language\r\n if (versionCode.indexOf(this.options.language) !== 0 || availableVersions.indexOf(versionCode) === -1) {\r\n if (availableVersions.length) {\r\n versionCode = availableVersions[0];\r\n }\r\n }\r\n return versionCode;\r\n };\r\n Blinx.prototype.getTooltipContent = function (osis) {\r\n var versionCode = this.getVersionCode(this.bibleApi);\r\n var truncatedOsis = osis_1.truncateMultiBookOsis(osis);\r\n var info = '';\r\n if (osis !== truncatedOsis) {\r\n info = 'Bible references stretching across several books are not yet supported.' +\r\n ' Only the verses from the first book are displayed above.';\r\n }\r\n return this.bibleApi.getPassage(truncatedOsis, versionCode)\r\n .then(function (text) { return text + \" \" + bible_versions_const_1.bibleVersions[versionCode].title + \"\"; })\r\n .then(function (text) { return info ? text + \"
\" + info + \"\" : text; });\r\n };\r\n Blinx.prototype.loadTippy = function () {\r\n return __awaiter(this, void 0, void 0, function () {\r\n var win, requireWorkaround;\r\n return __generator(this, function (_a) {\r\n switch (_a.label) {\r\n case 0:\r\n win = window;\r\n requireWorkaround = typeof win.define === 'function' && typeof win.module === 'undefined' &&\r\n typeof win.exports === 'undefined';\r\n if (requireWorkaround) {\r\n win.exports = {};\r\n win.module = {};\r\n }\r\n if (!('tippy' in window)) return [3 /*break*/, 1];\r\n this.tippyLoaded.resolve();\r\n return [3 /*break*/, 7];\r\n case 1:\r\n if (!!('requestAnimationFrame' in window)) return [3 /*break*/, 3];\r\n return [4 /*yield*/, dom_1.loadScript('https://cdn.polyfill.io/v2/polyfill.js?features=' +\r\n 'requestAnimationFrame|gated,Element.prototype.classList|gated')];\r\n case 2:\r\n _a.sent();\r\n this.tippyPolyfills = true;\r\n _a.label = 3;\r\n case 3: return [4 /*yield*/, dom_1.loadScript(\"https://unpkg.com/tippy.js/dist/tippy.all.js\")];\r\n case 4:\r\n _a.sent();\r\n if (!(this.options.theme === 'light')) return [3 /*break*/, 6];\r\n return [4 /*yield*/, dom_1.loadCSS('https://unpkg.com/tippy.js/dist/themes/light.css')];\r\n case 5:\r\n _a.sent();\r\n _a.label = 6;\r\n case 6:\r\n if (requireWorkaround) {\r\n win.tippy = win.module.exports;\r\n delete win.module;\r\n delete win.exports;\r\n }\r\n this.tippyLoaded.resolve();\r\n _a.label = 7;\r\n case 7: return [2 /*return*/];\r\n }\r\n });\r\n });\r\n };\r\n return Blinx;\r\n}());\r\nexports.Blinx = Blinx;\r\n\n\n/***/ }),\n/* 10 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar u_js_1 = __webpack_require__(3);\r\nvar parser_class_1 = __webpack_require__(4);\r\nvar Options = /** @class */ (function () {\r\n function Options() {\r\n /** Language code of the language to be used for the parser. */\r\n this.language = 'en';\r\n /** Code of the bible version to be used, for the displayed Bible text and the online Bible being linked to. */\r\n this.bibleVersion = 'en.ESV';\r\n /** Online Bible to be linked to. */\r\n this.onlineBible = 'BibleServer';\r\n /** Online Bible to be linked to. */\r\n this.bibleApi = 'getBible';\r\n /** By default, the parse will start automatically once the page is loaded. If false,\r\n * it needs to be triggered manually.\r\n */\r\n this.parseAutomatically = true;\r\n /** Automatic parsing will happen within the elements with the following whitelisted selectors. */\r\n this.whitelist = ['body'];\r\n /** Automatic parsing can be disabled with the following whitelisted selectors. */\r\n this.blacklist = ['a'];\r\n /** Color theme */\r\n this.theme = 'light';\r\n }\r\n return Options;\r\n}());\r\nexports.Options = Options;\r\nfunction applyScriptTagOptions(options) {\r\n // Parse options object from data-blinx attribute on script tag\r\n var tagOptionsString = u_js_1.u('script[data-blinx]').data('blinx') || '{}';\r\n var opts = {};\r\n try {\r\n // tslint:disable-next-line:no-eval\r\n var evalOpts = eval(\"(\" + tagOptionsString + \")\");\r\n if (evalOpts instanceof Object) {\r\n opts = evalOpts;\r\n }\r\n else {\r\n throw new Error();\r\n }\r\n }\r\n catch (e) {\r\n console.error(\"Blinx: Invalid options: '\" + tagOptionsString + \"'\");\r\n }\r\n // If user does not specify language in script tag, check whether he has inlcude a bcv_parser with a\r\n // single language already\r\n if (!(opts.language)) {\r\n var language = parser_class_1.Parser.getCurrentParserLanguage();\r\n if (language) {\r\n opts.language = language;\r\n }\r\n }\r\n for (var key in opts) {\r\n if (opts.hasOwnProperty(key)) {\r\n options[key] = opts[key];\r\n }\r\n }\r\n}\r\nexports.applyScriptTagOptions = applyScriptTagOptions;\r\n\n\n/***/ }),\n/* 11 */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar baseGetTag = __webpack_require__(12),\n isArray = __webpack_require__(17),\n isObjectLike = __webpack_require__(18);\n\n/** `Object#toString` result references. */\nvar stringTag = '[object String]';\n\n/**\n * Checks if `value` is classified as a `String` primitive or object.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a string, else `false`.\n * @example\n *\n * _.isString('abc');\n * // => true\n *\n * _.isString(1);\n * // => false\n */\nfunction isString(value) {\n return typeof value == 'string' ||\n (!isArray(value) && isObjectLike(value) && baseGetTag(value) == stringTag);\n}\n\nmodule.exports = isString;\n\n\n/***/ }),\n/* 12 */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar Symbol = __webpack_require__(5),\n getRawTag = __webpack_require__(15),\n objectToString = __webpack_require__(16);\n\n/** `Object#toString` result references. */\nvar nullTag = '[object Null]',\n undefinedTag = '[object Undefined]';\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n}\n\nmodule.exports = baseGetTag;\n\n\n/***/ }),\n/* 13 */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar freeGlobal = __webpack_require__(14);\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\nmodule.exports = root;\n\n\n/***/ }),\n/* 14 */\n/***/ (function(module, exports, __webpack_require__) {\n\n/* WEBPACK VAR INJECTION */(function(global) {/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\nmodule.exports = freeGlobal;\n\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(0)))\n\n/***/ }),\n/* 15 */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar Symbol = __webpack_require__(5);\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\nfunction getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n return result;\n}\n\nmodule.exports = getRawTag;\n\n\n/***/ }),\n/* 16 */\n/***/ (function(module, exports) {\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\nfunction objectToString(value) {\n return nativeObjectToString.call(value);\n}\n\nmodule.exports = objectToString;\n\n\n/***/ }),\n/* 17 */\n/***/ (function(module, exports) {\n\n/**\n * Checks if `value` is classified as an `Array` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array, else `false`.\n * @example\n *\n * _.isArray([1, 2, 3]);\n * // => true\n *\n * _.isArray(document.body.children);\n * // => false\n *\n * _.isArray('abc');\n * // => false\n *\n * _.isArray(_.noop);\n * // => false\n */\nvar isArray = Array.isArray;\n\nmodule.exports = isArray;\n\n\n/***/ }),\n/* 18 */\n/***/ (function(module, exports) {\n\n/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return value != null && typeof value == 'object';\n}\n\nmodule.exports = isObjectLike;\n\n\n/***/ }),\n/* 19 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar bible_server_online_bible_class_1 = __webpack_require__(20);\r\nfunction getOnlineBible(name) {\r\n return name === 'BibleServer' ? new bible_server_online_bible_class_1.BibleServerOnlineBible() : new bible_server_online_bible_class_1.BibleServerOnlineBible();\r\n}\r\nexports.getOnlineBible = getOnlineBible;\r\n\n\n/***/ }),\n/* 20 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nvar __extends = (this && this.__extends) || (function () {\r\n var extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return function (d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n})();\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar online_bible_class_1 = __webpack_require__(21);\r\nvar osis_1 = __webpack_require__(2);\r\nvar BibleServerOnlineBible = /** @class */ (function (_super) {\r\n __extends(BibleServerOnlineBible, _super);\r\n function BibleServerOnlineBible() {\r\n var _this = _super !== null && _super.apply(this, arguments) || this;\r\n _this.title = 'BibleServer';\r\n _this.url = 'https://www.bibleserver.com';\r\n _this.bibleVersionMap = {\r\n 'ar.ALAB': 'ALAB',\r\n 'bg.BGV': 'BGV',\r\n 'bg.CBT': 'CBT',\r\n 'cs.B21': 'B21',\r\n 'cs.BKR': 'BKR',\r\n 'cs.CEP': 'CEP',\r\n 'cs.SNC': 'SNC',\r\n 'da.DK': 'DK',\r\n 'de.ELB': 'ELB',\r\n 'de.EU': 'EU',\r\n 'de.GNB': 'GNB',\r\n 'de.HFA': 'HFA',\r\n 'de.LUT': 'LUT',\r\n 'de.MENG': 'MENG',\r\n 'de.NeÜ': 'NeÜ',\r\n 'de.NGÜ': 'NGÜ',\r\n 'de.NLB': 'NLB',\r\n 'de.SLT': 'SLT',\r\n 'de.ZB': 'ZB',\r\n 'en.ESV': 'ESV',\r\n 'en.KJV': 'KJV',\r\n 'en.NIRV': 'NIRV',\r\n 'en.NIV': 'NIV',\r\n 'es.BTX': 'BTX',\r\n 'es.CST': 'CST',\r\n 'es.NVI': 'NVI',\r\n 'fa.FCB': 'FCB',\r\n 'fr.BDS': 'BDS',\r\n 'fr.LSG': 'LSG',\r\n 'fr.S21': 'S21',\r\n 'he.OT': 'OT',\r\n 'hr.CKK': 'CKK',\r\n 'hu.HUN': 'HUN',\r\n 'hu.KAR': 'KAR',\r\n 'it.ITA': 'ITA',\r\n 'it.NRS': 'NRS',\r\n 'grc.LXX': 'LXX',\r\n 'la.VUL': 'VUL',\r\n 'nl.HTB': 'HTB',\r\n 'no.NOR': 'NOR',\r\n 'pl.PSZ': 'PSZ',\r\n 'pt.PRT': 'PRT',\r\n 'ro.NTR': 'NTR',\r\n 'ru.CARS': 'CARS',\r\n 'ru.RSZ': 'RSZ',\r\n 'sk.NPK': 'NPK',\r\n 'sv.BSV': 'BSV',\r\n 'tr.TR': 'TR',\r\n 'za.CCBT': 'CCBT',\r\n 'za.CUVS': 'CUVS'\r\n };\r\n return _this;\r\n }\r\n BibleServerOnlineBible.prototype.buildPassageLink = function (osis, bibleVersion) {\r\n osis = osis_1.transformOsis(osis);\r\n return \"https://www.bibleserver.com/text/\" + bibleVersion.split('.')[1] + \"/\" + osis;\r\n };\r\n return BibleServerOnlineBible;\r\n}(online_bible_class_1.OnlineBible));\r\nexports.BibleServerOnlineBible = BibleServerOnlineBible;\r\n\n\n/***/ }),\n/* 21 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nvar __extends = (this && this.__extends) || (function () {\r\n var extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return function (d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n})();\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar bible_class_1 = __webpack_require__(6);\r\nvar OnlineBible = /** @class */ (function (_super) {\r\n __extends(OnlineBible, _super);\r\n function OnlineBible() {\r\n return _super !== null && _super.apply(this, arguments) || this;\r\n }\r\n return OnlineBible;\r\n}(bible_class_1.Bible));\r\nexports.OnlineBible = OnlineBible;\r\n\n\n/***/ }),\n/* 22 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar BibleBooks = /** @class */ (function () {\r\n function BibleBooks() {\r\n this['Gen'] = { chapters: 50 };\r\n this['Exod'] = { chapters: 40 };\r\n this['Lev'] = { chapters: 27 };\r\n this['Num'] = { chapters: 36 };\r\n this['Deut'] = { chapters: 34 };\r\n this['Josh'] = { chapters: 24 };\r\n this['Judg'] = { chapters: 21 };\r\n this['Ruth'] = { chapters: 4 };\r\n this['1Sam'] = { chapters: 31 };\r\n this['2Sam'] = { chapters: 24 };\r\n this['1Kgs'] = { chapters: 22 };\r\n this['2Kgs'] = { chapters: 25 };\r\n this['1Chr'] = { chapters: 29 };\r\n this['2Chr'] = { chapters: 36 };\r\n this['Ezra'] = { chapters: 10 };\r\n this['Neh'] = { chapters: 13 };\r\n this['Esth'] = { chapters: 10 };\r\n this['Job'] = { chapters: 42 };\r\n this['Ps'] = { chapters: 150 };\r\n this['Prov'] = { chapters: 31 };\r\n this['Eccl'] = { chapters: 12 };\r\n this['Song'] = { chapters: 8 };\r\n this['Isa'] = { chapters: 66 };\r\n this['Jer'] = { chapters: 52 };\r\n this['Lam'] = { chapters: 5 };\r\n this['Ezek'] = { chapters: 48 };\r\n this['Dan'] = { chapters: 12 };\r\n this['Hos'] = { chapters: 14 };\r\n this['Joel'] = { chapters: 3 };\r\n this['Amos'] = { chapters: 9 };\r\n this['Obad'] = { chapters: 1 };\r\n this['Jonah'] = { chapters: 4 };\r\n this['Mic'] = { chapters: 7 };\r\n this['Nah'] = { chapters: 3 };\r\n this['Hab'] = { chapters: 3 };\r\n this['Zeph'] = { chapters: 3 };\r\n this['Hag'] = { chapters: 2 };\r\n this['Zech'] = { chapters: 14 };\r\n this['Mal'] = { chapters: 4 };\r\n this['Matt'] = { chapters: 28 };\r\n this['Mark'] = { chapters: 16 };\r\n this['Luke'] = { chapters: 24 };\r\n this['John'] = { chapters: 21 };\r\n this['Acts'] = { chapters: 28 };\r\n this['Rom'] = { chapters: 16 };\r\n this['1Cor'] = { chapters: 16 };\r\n this['2Cor'] = { chapters: 13 };\r\n this['Gal'] = { chapters: 6 };\r\n this['Eph'] = { chapters: 6 };\r\n this['Phil'] = { chapters: 4 };\r\n this['Col'] = { chapters: 4 };\r\n this['1Thess'] = { chapters: 5 };\r\n this['2Thess'] = { chapters: 3 };\r\n this['1Tim'] = { chapters: 6 };\r\n this['2Tim'] = { chapters: 4 };\r\n this['Titus'] = { chapters: 3 };\r\n this['Phlm'] = { chapters: 1 };\r\n this['Heb'] = { chapters: 13 };\r\n this['Jas'] = { chapters: 5 };\r\n this['1Pet'] = { chapters: 5 };\r\n this['2Pet'] = { chapters: 3 };\r\n this['1John'] = { chapters: 5 };\r\n this['2John'] = { chapters: 1 };\r\n this['3John'] = { chapters: 1 };\r\n this['Jude'] = { chapters: 1 };\r\n this['Rev'] = { chapters: 22 };\r\n }\r\n return BibleBooks;\r\n}());\r\nexports.BibleBooks = BibleBooks;\r\nexports.bibleBooks = new BibleBooks();\r\n\n\n/***/ }),\n/* 23 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar Deferred = /** @class */ (function () {\r\n function Deferred() {\r\n var _this = this;\r\n this.resolve = function (value) {\r\n _this._resolve && _this._resolve(value);\r\n };\r\n this.reject = function (reason) {\r\n _this._reject && _this._reject(reason);\r\n };\r\n this.promise = new Promise(function (resolve, reject) {\r\n _this._resolve = resolve;\r\n _this._reject = reject;\r\n });\r\n }\r\n return Deferred;\r\n}());\r\nexports.Deferred = Deferred;\r\n\n\n/***/ }),\n/* 24 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar get_bible_bible_api_class_1 = __webpack_require__(25);\r\nfunction getBibleApi(name) {\r\n return name === 'getBible' ? new get_bible_bible_api_class_1.GetBibleBibleApi() : new get_bible_bible_api_class_1.GetBibleBibleApi();\r\n}\r\nexports.getBibleApi = getBibleApi;\r\n\n\n/***/ }),\n/* 25 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nvar __extends = (this && this.__extends) || (function () {\r\n var extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return function (d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n})();\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar bible_api_class_1 = __webpack_require__(26);\r\nvar jsonp_1 = __webpack_require__(27);\r\nvar osis_1 = __webpack_require__(2);\r\nvar GetBibleBibleApi = /** @class */ (function (_super) {\r\n __extends(GetBibleBibleApi, _super);\r\n function GetBibleBibleApi() {\r\n var _this = _super !== null && _super.apply(this, arguments) || this;\r\n _this.title = 'getBible.net';\r\n _this.url = 'https://getbible.net/api';\r\n _this.bibleVersionMap = {\r\n 'af.AOV': 'aov',\r\n 'sq.Albanian': 'albanian',\r\n 'am.HSAB': 'hsab',\r\n 'am.Amharic': 'amharic',\r\n 'ar.ArabicSV': 'arabicsv',\r\n 'arc.Peshitta': 'peshitta',\r\n 'hy.EasternArmenian': 'easternarmenian',\r\n 'hy.WesternArmenian': 'westernarmenian',\r\n 'eu.Basque': 'basque',\r\n 'br.Breton': 'breton',\r\n 'bg.Bulgarian1940': 'bulgarian1940',\r\n 'ch.Chamorro': 'chamorro',\r\n 'za.CNT': 'cnt',\r\n 'za.CUS': 'cus',\r\n 'za.CNS': 'cns',\r\n 'za.CUT': 'cut',\r\n 'cop.Bohairic': 'bohairic',\r\n 'cop.Coptic': 'coptic',\r\n 'cop.Sahidic': 'sahidic',\r\n 'hr.Croatian': 'croatia',\r\n 'cs.BKR': 'bkr',\r\n 'cs.CEP': 'cep',\r\n 'cs.KMS': 'kms',\r\n 'cs.NKB': 'nkb',\r\n 'da.Danish': 'danish',\r\n 'nl.StatenVertaling': 'statenvertaling',\r\n 'en.KJV': 'kjv',\r\n 'en.AKJV': 'akjv',\r\n 'en.ASV': 'asv',\r\n 'en.BasicEnglish': 'basicenglish',\r\n 'en.Darby': 'darby',\r\n 'en.YLT': 'ylt',\r\n 'en.WEB': 'web',\r\n 'en.WB': 'wb',\r\n 'en.DouayRheims': 'douayrheims',\r\n 'en.Weymouth': 'weymouth',\r\n 'eo.Esperanto': 'esperanto',\r\n 'et.Estonian': 'estonian',\r\n 'fi.Finnish1776': 'finnish1776',\r\n 'fi.PyhaRaamattu1933': 'pyharaamattu1933',\r\n 'fi.PyhaRaamattu1992': 'pyharaamattu1992',\r\n 'fr.Martin': 'martin',\r\n 'fr.LS1910': 'ls1910',\r\n 'fr.Ostervald1996': 'ostervald',\r\n 'ka.Georgian': 'georgian',\r\n 'de.LUT1912': 'luther1912',\r\n 'de.ELB1871': 'elberfelder',\r\n 'de.ELB1905': 'elberfelder1905',\r\n 'de.LUT1545': 'luther1545',\r\n 'de.SLT1951': 'schlachter',\r\n 'got.Gothic': 'gothic',\r\n 'el.ModernGreek': 'moderngreek',\r\n 'grc.TextusReceptus': 'text',\r\n 'grc.MajorityTextParsed': 'majoritytext',\r\n 'grc.MajorityText': 'byzantine',\r\n 'grc.TextusReceptusParsed': 'textusreceptus',\r\n 'grc.Tischendorf': 'tischendorf',\r\n 'grc.WestcottHortParsed': 'westcotthort',\r\n 'grc.WestcottHort': 'westcott',\r\n 'grc.LXXParsed': 'lxxpar',\r\n 'grc.LXX': 'lxx',\r\n 'grc.LXXUnaccentedParsed': 'lxxunaccentspar',\r\n 'grc.LXXUnaccented': 'lxxunaccents',\r\n 'he.ModernHebrew': 'modernhebrew',\r\n 'hbo.Aleppo': 'aleppo',\r\n 'hbo.BHSUnpointed': 'bhsnovowels',\r\n 'hbo.BHS': 'bhs',\r\n 'hbo.WLCUnpointed': 'wlcnovowels',\r\n 'hbo.WLC': 'wlc',\r\n 'hbo.WLC2': 'codex',\r\n 'hu.Karoli': 'karoli',\r\n 'it.Giovanni': 'giovanni',\r\n 'it.Riveduta': 'riveduta',\r\n 'kab.Kabyle': 'kabyle',\r\n 'ko.Korean': 'korean',\r\n 'la.NewVulgate': 'newvulgate',\r\n 'la.Vulgate': 'vulgate',\r\n 'lv.Latvian': 'latvian',\r\n 'lt.Lithuanian': 'lithuanian',\r\n 'gv.ManxGaelic': 'manxgaelic',\r\n 'mi.Maori': 'maori',\r\n 'my.Judson': 'judson',\r\n 'no.Bibelselskap': 'bibelselskap',\r\n 'pt.Almeida': 'almeida',\r\n 'pot.Potawatomi': 'potawatomi',\r\n 'rom.ROM': 'rom',\r\n 'ro.Cornilescu': 'cornilescu',\r\n 'ru.Synodal': 'synodal',\r\n 'ru.Makarij': 'makarij',\r\n 'ru.Zhuromsky': 'zhuromsky',\r\n 'gd.Gaelic': 'gaelic',\r\n 'es.Valera': 'valera',\r\n 'es.RV1858': 'rv1858',\r\n 'es.SSE': 'sse',\r\n 'sw.Swahili': 'swahili',\r\n 'sv.Swedish': 'swedish',\r\n 'tl.Tagalog': 'tagalog',\r\n 'ttq.Tamajaq': 'tamajaq',\r\n 'th.Thai': 'thai',\r\n 'tr.Turkish': 'turkish',\r\n 'tr.TNT': 'tnt',\r\n 'uk.Ukranian': 'ukranian',\r\n 'ppk.Uma': 'uma',\r\n 'vi.Vietnamese': 'vietnamese',\r\n 'wo.Wolof': 'wolof',\r\n 'xh.Xhosa': 'xhosa'\r\n };\r\n _this.bookNameMap = {\r\n Exod: 'Exo',\r\n Deut: 'Deu',\r\n Josh: 'Jos',\r\n Judg: 'Jud',\r\n '1Kgs': '1Kg',\r\n '2Kgs': '2Kg',\r\n Ezra: 'Ezr',\r\n Esth: 'Est',\r\n Prov: 'Pro',\r\n Eccl: 'Ecc',\r\n Ezek: 'Eze',\r\n Matt: 'Mat',\r\n Jas: 'Jam'\r\n };\r\n return _this;\r\n }\r\n GetBibleBibleApi.prototype.getPassage = function (osis, bibleVersion) {\r\n var _this = this;\r\n return jsonp_1.executeJsonp(\"https://getbible.net/json?p=\" + this.getPassageFromOsis(osis) + \"&v=\" + this.bibleVersionMap[bibleVersion], 'getbible').then(function (result) {\r\n var output = '';\r\n if (result.type === 'verse') {\r\n for (var _i = 0, _a = result.book; _i < _a.length; _i++) {\r\n var bookObject = _a[_i];\r\n if (bookObject.chapter) {\r\n var chapterOutput = _this.getOutputForChapter(bookObject.chapter);\r\n output += \"\\n\\n \\n \" + bookObject.chapter_nr + \"\\n \\n \" + chapterOutput.trim() + \"\\n\";\r\n }\r\n }\r\n }\r\n else if (result.type === 'chapter' && result.chapter) {\r\n output = _this.getOutputForChapter(result.chapter);\r\n }\r\n return output;\r\n });\r\n };\r\n GetBibleBibleApi.prototype.getOutputForChapter = function (chapterObject) {\r\n var output = '';\r\n for (var verseIndex in chapterObject) {\r\n if (chapterObject.hasOwnProperty(verseIndex)) {\r\n var verseObject = chapterObject[verseIndex];\r\n output += \"\\n\\n \\n \" + verseObject.verse_nr + \"\\n \\n \" + verseObject.verse.trim() + \"\\n\";\r\n }\r\n }\r\n return output;\r\n };\r\n GetBibleBibleApi.prototype.getPassageFromOsis = function (osis) {\r\n var ref = osis_1.parseOsis(osis);\r\n var passageString;\r\n if (ref.end && ref.start.chapter !== ref.end.chapter) {\r\n var book = ref.start.book;\r\n passageString = this.getSinglePassageFromOsis(book + \".\" + ref.start.chapter + \".\" + (ref.start.verse || 1) + \"-\" + book + \".\" + ref.start.chapter + \".999\");\r\n for (var chapter = ref.start.chapter + 1; chapter < ref.end.chapter; chapter++) {\r\n passageString += ';' + this.getSinglePassageFromOsis(book + \".\" + chapter + \".1-\" + book + \".\" + chapter + \".999\");\r\n }\r\n passageString += ';' + this.getSinglePassageFromOsis(book + \".\" + ref.end.chapter + \".1-\" + book + \".\" + ref.end.chapter + \".\" + (ref.end.verse || 999));\r\n }\r\n else {\r\n passageString = this.getSinglePassageFromOsis(osis);\r\n }\r\n return passageString;\r\n };\r\n GetBibleBibleApi.prototype.getSinglePassageFromOsis = function (osis) {\r\n return osis_1.transformOsis(osis, { bookNameMap: this.bookNameMap });\r\n };\r\n return GetBibleBibleApi;\r\n}(bible_api_class_1.BibleApi));\r\nexports.GetBibleBibleApi = GetBibleBibleApi;\r\n\n\n/***/ }),\n/* 26 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nvar __extends = (this && this.__extends) || (function () {\r\n var extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return function (d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n})();\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar bible_class_1 = __webpack_require__(6);\r\nvar BibleApi = /** @class */ (function (_super) {\r\n __extends(BibleApi, _super);\r\n function BibleApi() {\r\n return _super !== null && _super.apply(this, arguments) || this;\r\n }\r\n return BibleApi;\r\n}(bible_class_1.Bible));\r\nexports.BibleApi = BibleApi;\r\n\n\n/***/ }),\n/* 27 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar dom_1 = __webpack_require__(1);\r\nvar jsonpCounter = -1;\r\nfunction executeJsonp(url, callbackParameter) {\r\n return new Promise(function (resolve, reject) {\r\n var callbackName = \"blinxJsonpCallbacks_\" + ++jsonpCounter;\r\n window[callbackName] = function (result) {\r\n delete window[callbackName];\r\n resolve(result);\r\n };\r\n var completeUrl = \"\" + url + (url.indexOf('?') === -1 ? '?' : '&') + callbackParameter + \"=\" + callbackName;\r\n return dom_1.loadScript(completeUrl)\r\n .catch(function () {\r\n delete window[callbackName];\r\n reject();\r\n });\r\n });\r\n}\r\nexports.executeJsonp = executeJsonp;\r\n\n\n/***/ }),\n/* 28 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\nvar content = __webpack_require__(29);\n\nif(typeof content === 'string') content = [[module.i, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = __webpack_require__(31)(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(false) {\n\tmodule.hot.accept(\"!!../../node_modules/css-loader/index.js!./blinx.css\", function() {\n\t\tvar newContent = require(\"!!../../node_modules/css-loader/index.js!./blinx.css\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}\n\n/***/ }),\n/* 29 */\n/***/ (function(module, exports, __webpack_require__) {\n\nexports = module.exports = __webpack_require__(30)(false);\n// imports\n\n\n// module\nexports.push([module.i, \".bxTippy{font-family:Arial,Helvetica Neue,Helvetica,sans-serif;max-width:800px;text-align:left;font-size:14px}.bxTippy a{color:#007bff;text-decoration:none;background-color:transparent;-webkit-text-decoration-skip:objects}.bxTippy a:hover{color:#0056b3;text-decoration:underline}.bxTippyBody{max-height:200px;overflow:auto;margin:5px}.bxChapter{display:block}.bxChapter:not(:first-child){margin-top:10px}.bxChapterNumber{font-weight:700}.bxVerseNumber{position:relative;font-size:75%;line-height:0;vertical-align:baseline;top:-.5em}.bxPassageVersion{font-size:75%;color:#b3b3b3;float:right;line-height:19.6px;margin-left:15px}.tippy-tooltip.dark-theme .bxPassageVersion{color:gray}.bxInfo{font-style:italic;margin-top:20px}.bxTippyFooter{background:#f2f2f2;margin:0 -9px -5px;padding:5px 15px;border-radius:0 0 4px 4px}.tippy-tooltip.dark-theme .bxTippyFooter{background:#404040}.bxPassageLink{font-weight:600}.bxCredits{font-style:italic}.bxLoader,.bxLoader:after,.bxLoader:before{border-radius:50%;width:1.25em;height:1.25em;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation:load7 1.8s infinite ease-in-out;animation:load7 1.8s infinite ease-in-out}.bxLoader{color:#555;font-size:10px;margin:-10px auto 20px;position:relative;text-indent:-9999em;-webkit-transform:translateZ(0);-ms-transform:translateZ(0);transform:translateZ(0);-webkit-animation-delay:-.16s;animation-delay:-.16s}.bxLoader:after,.bxLoader:before{content:\\\"\\\";position:absolute;top:0}.bxLoader:before{left:-1.75em;-webkit-animation-delay:-.32s;animation-delay:-.32s}.bxLoader:after{left:1.75em}@-webkit-keyframes load7{0%,80%,to{box-shadow:0 1.25em 0 -.65em}40%{box-shadow:0 1.25em 0 0}}@keyframes load7{0%,80%,to{box-shadow:0 1.25em 0 -.65em}40%{box-shadow:0 1.25em 0 0}}\", \"\"]);\n\n// exports\n\n\n/***/ }),\n/* 30 */\n/***/ (function(module, exports) {\n\n/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n// css base code, injected by the css-loader\nmodule.exports = function(useSourceMap) {\n\tvar list = [];\n\n\t// return the list of modules as css string\n\tlist.toString = function toString() {\n\t\treturn this.map(function (item) {\n\t\t\tvar content = cssWithMappingToString(item, useSourceMap);\n\t\t\tif(item[2]) {\n\t\t\t\treturn \"@media \" + item[2] + \"{\" + content + \"}\";\n\t\t\t} else {\n\t\t\t\treturn content;\n\t\t\t}\n\t\t}).join(\"\");\n\t};\n\n\t// import a list of modules into the list\n\tlist.i = function(modules, mediaQuery) {\n\t\tif(typeof modules === \"string\")\n\t\t\tmodules = [[null, modules, \"\"]];\n\t\tvar alreadyImportedModules = {};\n\t\tfor(var i = 0; i < this.length; i++) {\n\t\t\tvar id = this[i][0];\n\t\t\tif(typeof id === \"number\")\n\t\t\t\talreadyImportedModules[id] = true;\n\t\t}\n\t\tfor(i = 0; i < modules.length; i++) {\n\t\t\tvar item = modules[i];\n\t\t\t// skip already imported module\n\t\t\t// this implementation is not 100% perfect for weird media query combinations\n\t\t\t// when a module is imported multiple times with different media queries.\n\t\t\t// I hope this will never occur (Hey this way we have smaller bundles)\n\t\t\tif(typeof item[0] !== \"number\" || !alreadyImportedModules[item[0]]) {\n\t\t\t\tif(mediaQuery && !item[2]) {\n\t\t\t\t\titem[2] = mediaQuery;\n\t\t\t\t} else if(mediaQuery) {\n\t\t\t\t\titem[2] = \"(\" + item[2] + \") and (\" + mediaQuery + \")\";\n\t\t\t\t}\n\t\t\t\tlist.push(item);\n\t\t\t}\n\t\t}\n\t};\n\treturn list;\n};\n\nfunction cssWithMappingToString(item, useSourceMap) {\n\tvar content = item[1] || '';\n\tvar cssMapping = item[3];\n\tif (!cssMapping) {\n\t\treturn content;\n\t}\n\n\tif (useSourceMap && typeof btoa === 'function') {\n\t\tvar sourceMapping = toComment(cssMapping);\n\t\tvar sourceURLs = cssMapping.sources.map(function (source) {\n\t\t\treturn '/*# sourceURL=' + cssMapping.sourceRoot + source + ' */'\n\t\t});\n\n\t\treturn [content].concat(sourceURLs).concat([sourceMapping]).join('\\n');\n\t}\n\n\treturn [content].join('\\n');\n}\n\n// Adapted from convert-source-map (MIT)\nfunction toComment(sourceMap) {\n\t// eslint-disable-next-line no-undef\n\tvar base64 = btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap))));\n\tvar data = 'sourceMappingURL=data:application/json;charset=utf-8;base64,' + base64;\n\n\treturn '/*# ' + data + ' */';\n}\n\n\n/***/ }),\n/* 31 */\n/***/ (function(module, exports, __webpack_require__) {\n\n/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\nvar stylesInDom = {};\n\nvar\tmemoize = function (fn) {\n\tvar memo;\n\n\treturn function () {\n\t\tif (typeof memo === \"undefined\") memo = fn.apply(this, arguments);\n\t\treturn memo;\n\t};\n};\n\nvar isOldIE = memoize(function () {\n\t// Test for IE <= 9 as proposed by Browserhacks\n\t// @see http://browserhacks.com/#hack-e71d8692f65334173fee715c222cb805\n\t// Tests for existence of standard globals is to allow style-loader\n\t// to operate correctly into non-standard environments\n\t// @see https://github.com/webpack-contrib/style-loader/issues/177\n\treturn window && document && document.all && !window.atob;\n});\n\nvar getTarget = function (target) {\n return document.querySelector(target);\n};\n\nvar getElement = (function (fn) {\n\tvar memo = {};\n\n\treturn function(target) {\n // If passing function in options, then use it for resolve \"head\" element.\n // Useful for Shadow Root style i.e\n // {\n // insertInto: function () { return document.querySelector(\"#foo\").shadowRoot }\n // }\n if (typeof target === 'function') {\n return target();\n }\n if (typeof memo[target] === \"undefined\") {\n\t\t\tvar styleTarget = getTarget.call(this, target);\n\t\t\t// Special case to return head of iframe instead of iframe itself\n\t\t\tif (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {\n\t\t\t\ttry {\n\t\t\t\t\t// This will throw an exception if access to iframe is blocked\n\t\t\t\t\t// due to cross-origin restrictions\n\t\t\t\t\tstyleTarget = styleTarget.contentDocument.head;\n\t\t\t\t} catch(e) {\n\t\t\t\t\tstyleTarget = null;\n\t\t\t\t}\n\t\t\t}\n\t\t\tmemo[target] = styleTarget;\n\t\t}\n\t\treturn memo[target]\n\t};\n})();\n\nvar singleton = null;\nvar\tsingletonCounter = 0;\nvar\tstylesInsertedAtTop = [];\n\nvar\tfixUrls = __webpack_require__(32);\n\nmodule.exports = function(list, options) {\n\tif (typeof DEBUG !== \"undefined\" && DEBUG) {\n\t\tif (typeof document !== \"object\") throw new Error(\"The style-loader cannot be used in a non-browser environment\");\n\t}\n\n\toptions = options || {};\n\n\toptions.attrs = typeof options.attrs === \"object\" ? options.attrs : {};\n\n\t// Force single-tag solution on IE6-9, which has a hard limit on the # of