@venite/components 0.16.46 → 0.16.48
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{book-82e0876b.js → book-6d16fad3.js} +1 -1
- package/dist/cjs/dropcaps-baa79b2d.js +21 -0
- package/dist/cjs/{heading-b7872a4d.js → heading-dff0a6f9.js} +1 -1
- package/dist/cjs/{image-75040cd8.js → image-527d7134.js} +1 -1
- package/dist/cjs/ion-button_14.cjs.entry.js +1 -1
- package/dist/cjs/ion-card-content_6.cjs.entry.js +2 -2
- package/dist/cjs/ion-input_2.cjs.entry.js +1 -1
- package/dist/cjs/ion-segment_16.cjs.entry.js +18 -17
- package/dist/cjs/ldf-day-name_5.cjs.entry.js +9 -9
- package/dist/cjs/ldf-editable-add-block-menu.cjs.entry.js +7 -7
- package/dist/cjs/ldf-editable-boolean_2.cjs.entry.js +1 -1
- package/dist/cjs/ldf-editable-condition-piece.cjs.entry.js +1 -1
- package/dist/cjs/ldf-editable-condition.cjs.entry.js +1 -1
- package/dist/cjs/ldf-editable-filter-documents.cjs.entry.js +2 -2
- package/dist/cjs/ldf-editable-lookup_2.cjs.entry.js +7 -7
- package/dist/cjs/ldf-editable-metadata.cjs.entry.js +7 -7
- package/dist/cjs/ldf-editable-preference-option.cjs.entry.js +1 -1
- package/dist/cjs/ldf-editable-preference.cjs.entry.js +1 -1
- package/dist/cjs/ldf-editable-preferences.cjs.entry.js +1 -1
- package/dist/cjs/ldf-editable-string-list.cjs.entry.js +1 -1
- package/dist/cjs/ldf-editor.cjs.entry.js +1 -1
- package/dist/cjs/{option-d7f9785e.js → option-af060fb4.js} +1 -1
- package/dist/cjs/{refrain-dcde813a.js → refrain-f867e88b.js} +1 -1
- package/dist/cjs/{rubric-cd1436af.js → rubric-9851b9bb.js} +1 -1
- package/dist/cjs/{specific-class-c2579d35.js → specific-class-a4d1cc65.js} +5 -5
- package/dist/cjs/{text-d86d8916.js → text-9dd495bb.js} +1 -1
- package/dist/collection/components/bible-reading/bible-reading.js +5 -4
- package/dist/collection/components/psalm/psalm.js +2 -1
- package/dist/collection/components/responsive-prayer/responsive-prayer.js +8 -7
- package/dist/collection/components/text/text.css +0 -1
- package/dist/collection/components/text/text.js +6 -11
- package/dist/collection/utils/dropcaps.js +17 -0
- package/dist/esm/{book-30d463e4.js → book-ffb2b7c9.js} +1 -1
- package/dist/esm/dropcaps-9409f9e0.js +19 -0
- package/dist/esm/{heading-3148493f.js → heading-32b75b51.js} +1 -1
- package/dist/esm/{image-72083f34.js → image-b773ce41.js} +1 -1
- package/dist/esm/ion-button_14.entry.js +1 -1
- package/dist/esm/ion-card-content_6.entry.js +2 -2
- package/dist/esm/ion-input_2.entry.js +1 -1
- package/dist/esm/ion-segment_16.entry.js +18 -17
- package/dist/esm/ldf-day-name_5.entry.js +9 -9
- package/dist/esm/ldf-editable-add-block-menu.entry.js +7 -7
- package/dist/esm/ldf-editable-boolean_2.entry.js +1 -1
- package/dist/esm/ldf-editable-condition-piece.entry.js +1 -1
- package/dist/esm/ldf-editable-condition.entry.js +1 -1
- package/dist/esm/ldf-editable-filter-documents.entry.js +2 -2
- package/dist/esm/ldf-editable-lookup_2.entry.js +7 -7
- package/dist/esm/ldf-editable-metadata.entry.js +7 -7
- package/dist/esm/ldf-editable-preference-option.entry.js +1 -1
- package/dist/esm/ldf-editable-preference.entry.js +1 -1
- package/dist/esm/ldf-editable-preferences.entry.js +1 -1
- package/dist/esm/ldf-editable-string-list.entry.js +1 -1
- package/dist/esm/ldf-editor.entry.js +1 -1
- package/dist/esm/{option-6f3f65cd.js → option-f5f45da6.js} +1 -1
- package/dist/esm/{refrain-7bd7ce8a.js → refrain-03edc2dd.js} +1 -1
- package/dist/esm/{rubric-4fcaa326.js → rubric-5e76db3e.js} +1 -1
- package/dist/esm/{specific-class-11a0f046.js → specific-class-19d5b8ae.js} +5 -5
- package/dist/esm/{text-8a1f3c31.js → text-035232e4.js} +1 -1
- package/dist/ldf/ldf.esm.js +1 -1
- package/dist/ldf/p-07a5654e.js +1 -0
- package/dist/ldf/{p-13c95df6.entry.js → p-1e912545.entry.js} +1 -1
- package/dist/ldf/{p-75945b61.entry.js → p-2a52fcd7.entry.js} +1 -1
- package/dist/ldf/{p-4cecd5be.js → p-3f3b5ab1.js} +1 -1
- package/dist/ldf/p-424ff111.entry.js +1 -0
- package/dist/ldf/{p-0275ff97.entry.js → p-4a2d5333.entry.js} +1 -1
- package/dist/ldf/{p-531b0af0.entry.js → p-5547df4c.entry.js} +1 -1
- package/dist/ldf/p-5c897bef.entry.js +1 -0
- package/dist/ldf/{p-809c58d3.js → p-619c1cd7.js} +1 -1
- package/dist/ldf/{p-b5f92da4.entry.js → p-64a75143.entry.js} +1 -1
- package/dist/ldf/{p-a54d398b.entry.js → p-6a61c406.entry.js} +1 -1
- package/dist/ldf/{p-28f67c35.entry.js → p-823625bb.entry.js} +1 -1
- package/dist/ldf/{p-be6a5a82.js → p-8e59a930.js} +1 -1
- package/dist/ldf/p-94095704.js +1 -0
- package/dist/ldf/{p-f51f98ee.entry.js → p-a745950c.entry.js} +1 -1
- package/dist/ldf/p-ae13ac48.js +1 -0
- package/dist/ldf/{p-49297483.js → p-c88be1ca.js} +1 -1
- package/dist/ldf/{p-76b4b747.entry.js → p-c9263178.entry.js} +1 -1
- package/dist/ldf/{p-4346d5f8.js → p-cf9d5530.js} +1 -1
- package/dist/ldf/{p-8bd9886e.entry.js → p-d15ff324.entry.js} +1 -1
- package/dist/ldf/p-d6b725e9.js +1 -0
- package/dist/ldf/{p-3d550f37.entry.js → p-dd824b02.entry.js} +1 -1
- package/dist/ldf/{p-3402f431.entry.js → p-e1f58e08.entry.js} +1 -1
- package/dist/ldf/{p-74080a1b.entry.js → p-e8a53a5e.entry.js} +1 -1
- package/dist/ldf/{p-c8423964.entry.js → p-e8bb8144.entry.js} +1 -1
- package/dist/ldf/{p-248ae134.entry.js → p-ea6696fa.entry.js} +1 -1
- package/dist/types/components/responsive-prayer/responsive-prayer.d.ts +2 -2
- package/dist/types/utils/dropcaps.d.ts +3 -0
- package/package.json +2 -2
- package/dist/ldf/p-0a291888.entry.js +0 -1
- package/dist/ldf/p-705e7fad.js +0 -1
- package/dist/ldf/p-ce877995.js +0 -1
- package/dist/ldf/p-cf7fede1.entry.js +0 -1
- package/dist/ldf/p-de7668ff.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{L as e}from"./p-
|
|
1
|
+
import{L as e}from"./p-619c1cd7.js";function i(e){return"string"==typeof e?e:JSON.stringify(e)}const l={ip:"IP",bcp1979:"Rite II",bcp1979_psalm:"1979",eow:"EOW",coverdale:"Coverdale",rite_i:"Rite I",bhs:"Hebrew",hebrew:"Hebrew",EAIB:"EAIB",BCP:"BCP",eaib:"EAIB",bcp:"BCP"};function s(e){return"psalm"===e.type&&"psalm"===e.style&&"bcp1979"===e.version?"bcp1979_psalm":e.version}class t extends e{constructor(e={}){super(e)}availableDisplayFormats(){return[]}uniqueVersions(){return(this.value||[]).map((e=>i(e.version))).reduce(((e,i)=>e.includes(i)?e:[...e,i]),[]).length}uniqueLabels(){return(this.value||[]).map((e=>e.label)).reduce(((e,i)=>e.includes(i)?e:[...e,i]),[]).length}uniqueCitations(){return(this.value||[]).map((e=>e.citation?e.citation.toString():"")).filter((e=>!!e)).reduce(((e,i)=>e.includes(i)?e:[...e,i]),[]).length}uniqueCanticleNumbers(){return Array.from(new Set((this.value||[]).map((e=>{var i;return"canticle"===e.style?null===(i=e.metadata)||void 0===i?void 0:i.number:e.slug||Math.random()})))).length}getVersionLabel(e,t=50){var r,a,n;const o=this.uniqueVersions(),u=this.uniqueLabels(),b=this.uniqueCitations(),c=this.uniqueCanticleNumbers();let p="";if(e.version_label)p=e.version_label;else if("liturgy"==e.type)p=e.label||e.version_label||"Option";else if("psalm"==e.type&&1==o&&e.label&&((null===(r=e.slug)||void 0===r?void 0:r.match(/psalm_119_/))||(null===(a=e.citation)||void 0===a?void 0:a.toString().match(/Ps[^\d]+119/))))p=e.label;else if("psalm"==e.type&&o>1)p=e.version_label||l[i(e.version)];else if("psalm"==e.type&&"psalm"==e.style&&(e.citation||(null===(n=e.metadata)||void 0===n?void 0:n.number))&&1==o)p=e.citation?e.citation.toString():`Psalm ${e.metadata.number}`;else if("bible-reading"==e.type&&b>1&&e.citation&&e.value&&e.value.length>0){const i=e.value.map((e=>e.hasOwnProperty("text")?e.text:e.toString())).join(" "),l="short"==e.style?` (“${i}”)`:"";p=o>1?`${e.citation.toString()} (${e.version})${l}`:`${e.citation.toString()}${l}`}else if("bible-reading"==e.type&&1==b)p=i(e.version);else if("bible-reading"==e.type&&e.citation&&1==o)p=e.citation.toString();else if("bible-reading"==e.type&&e.citation&&o>1)p=`${e.citation.toString()} (${i(e.version)})`;else if(1==o&&"psalm"==e.type&&"canticle"==e.style&&e.metadata&&e.metadata.localname)p=e.metadata.localname;else if(o>1&&1===c)p=l[i(s(e))];else if(o>1&&e.metadata&&e.metadata.hasOwnProperty("localname")&&e.version)p=`${e.metadata.localname} (${l[i(s(e))]})`;else if(e.version_label&&"bcp1979"!==e.version_label)p=e.version_label;else if(e.label&&u>1&&1==o)p=e.label;else if(e.label&&u>1&&o>1)p=`${e.label} (${l[i(s(e))]})`;else if(!e.metadata||!e.metadata.hasOwnProperty("localname")||e.version_label&&"bcp1979"!=e.version_label)if(o>1&&e.version)p=l[i(s(e))];else if(e.citation)p=e.citation.toString();else{if(!e.value)throw`Unable to generate a label from ${JSON.stringify(e)}`;p=`“${JSON.stringify(e.value).replace(/[\[\]\{\}\"\'\:]/g," ").replace(/\\n/g," ").trim()}”`}else p=e.metadata.localname;return p.length>t?p.substring(0,t)+"...":p}}export{t as O,i as v}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{M as e,P as r,B as a,R as s,a as n,L as t}from"./p-c88be1ca.js";import{H as i}from"./p-d6b725e9.js";import{O as o}from"./p-8e59a930.js";import{R as c}from"./p-3f3b5ab1.js";import{T as u}from"./p-07a5654e.js";function p(p){switch(p.type){case"liturgy":return new t(p);case"heading":return new i(p);case"option":return new o(p);case"refrain":return new c(p);case"rubric":return new n(p);case"text":return new u(p);case"responsive":return new s(p);case"bible-reading":return new a(p);case"psalm":return new r(p);case"meditation":return new e(p);default:return p}}export{p as s}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as l,h as e,H as i,d as a}from"./p-814a5a13.js";import"./p-
|
|
1
|
+
import{r as t,c as l,h as e,H as i,d as a}from"./p-814a5a13.js";import"./p-619c1cd7.js";import{a as o}from"./p-8ec26587.js";import{C as n}from"./p-991c0877.js";import{g as s}from"./p-546bb0de.js";const d={en:{additional:"Advanced Settings",alternateYear:"“Alternate Year” Reading",default:"Default",fallback:"Fallback Value",label:"Label",option:"Option",value:"Value"}},h=class{constructor(e){t(this,e),this.ldfDocShouldChange=l(this,"ldfDocShouldChange",7)}optionChange(){this.currentOption=this.option||new o}componentWillLoad(){var t;this.currentOption=this.option||new o,(null===(t=this.currentOption)||void 0===t?void 0:t.metadata)||(this.currentOption.metadata={},this.ldfDocShouldChange.emit(new n({path:`${this.path}/metadata`,op:[{type:"set",value:{}}]}))),this.loadLocaleStrings()}async loadLocaleStrings(){try{this.localeStrings=d[s(this.element)]}catch(t){console.warn(t)}}render(){var t,l,a,o,n,s,d;const h=this.localeStrings||{};return e(i,null,e("ion-list",null,e("ion-item",null,e("ion-label",{position:"stacked"},h.value),e("ldf-editable-text",{path:`${this.path}/value`,placeholder:h.value,short:!0,text:null===(t=this.currentOption)||void 0===t?void 0:t.value})),e("ion-item",null,e("ion-label",{position:"stacked"},h.label),e("ldf-editable-text",{path:`${this.path}/label`,placeholder:h.label,short:!0,text:null===(l=this.currentOption)||void 0===l?void 0:l.label})),e("ion-item",null,e("ion-label",null,h.default),e("ldf-editable-boolean",{path:this.path,property:"default",value:null===(a=this.currentOption)||void 0===a?void 0:a.default})),e("ion-list-header",null,h.additional),e("ion-item",null,e("ion-label",null,h.alternateYear),e("ldf-editable-boolean",{path:`${this.path}/metadata`,property:"alternateYear",value:null===(n=null===(o=this.currentOption)||void 0===o?void 0:o.metadata)||void 0===n?void 0:n.alternateYear})),e("ion-item",null,e("ion-label",{position:"stacked"},h.fallback),e("ldf-editable-text",{path:`${this.path}/metadata/fallback`,placeholder:h.fallback,short:!0,text:null===(d=null===(s=this.currentOption)||void 0===s?void 0:s.metadata)||void 0===d?void 0:d.fallback}))))}get element(){return a(this)}static get watchers(){return{option:["optionChange"]}}};export{h as ldf_editable_preference_option}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function e(e,d,a){return"iu"==e||"he"==e?"disabled":"force_dropcap"===d?"enabled":"disable_dropcap"===d?"disabled":0==a?"enabled":"disabled"}export{e as u}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{L as o}from"./p-809c58d3.js";const e=[{name:"Genesis",aliases:["Gn","Gen","Genesis"]},{name:"Exodus",aliases:["Exod","Ex","Exo","Exodus"]},{name:"Leviticus",aliases:["Lev","Lv","Leviticus"]},{name:"Numbers",aliases:["Num","Numbers"]},{name:"Deuteronomy",aliases:["Deut","Deuteronomy"]},{name:"Joshua",aliases:["Josh","Joshua"]},{name:"Judges",aliases:["Judg","Jdg","Judges"]},{name:"Ruth",aliases:["Ruth"]},{name:"1 Samuel",aliases:["1Sam","1 Sam","1st Sam","1st Samuel","First Samuel","1 Samuel"]},{name:"2 Samuel",aliases:["2Sam","2 Sam","2nd Sam","2nd Samuel","Second Samuel","2 Samuel"]},{name:"1 Kings",aliases:["1Kgs","1 Kgs","1st Kgs","1st Kings","First Kings","1 Kings"]},{name:"2 Kings",aliases:["2Kgs","2 Kgs","2nd Kgs","2nd Kings","Second Kings","2 Kings"]},{name:"1 Chronicles",aliases:["1Chr","1 Chr","1st Chr","1st Chronicles","First Chronicles","1 Chronicles"]},{name:"2 Chronicles",aliases:["2Chr","2 Chr","2nd Chr","2nd Chronicles","Second Chronicles","2 Chronicles"]},{name:"Ezra",aliases:["Ezra"]},{name:"Nehemiah",aliases:["Neh","Nehemiah"]},{name:"Esther",aliases:["Esth","Est","Esther"]},{name:"Job",aliases:["Jb","Job"]},{name:"Psalms",aliases:["Ps","Psalm","Psalms"]},{name:"Proverbs",aliases:["Prov","Pro","Proverbs"]},{name:"Ecclesiastes",aliases:["Eccl","Ecc","Ecclesiastes"]},{name:"The Song of Solomon",aliases:["Song","Song of Songs","Song of Solomon","Cant"]},{name:"Isaiah",aliases:["Isa","Is","Isaiah"]},{name:"Jeremiah",aliases:["Jer","Jeremiah"]},{name:"Letter of Jeremiah",aliases:["EJer","EpJer","Epistle of Jeremiah"]},{name:"Lamentations",aliases:["Lam","Lamentations"]},{name:"Ezekiel",aliases:["Ezek","Ezekiel"]},{name:"Daniel",aliases:["Dan","Daniel"]},{name:"Hosea",aliases:["Hos","Hosea"]},{name:"Joel",aliases:["Joel"]},{name:"Amos",aliases:["Amos"]},{name:"Obadiah",aliases:["Obad","Oba","Obadiah"]},{name:"Jonah",aliases:["Jon","Jonah"]},{name:"Micah",aliases:["Mic","Micah"]},{name:"Nahum",aliases:["Nah","Nahum"]},{name:"Habakkuk",aliases:["Hab","Habakkuk"]},{name:"Zephaniah",aliases:["Zeph","Zephaniah"]},{name:"Haggai",aliases:["Hag","Haggai"]},{name:"Zechariah",aliases:["Zech","Zechariah"]},{name:"Malachi",aliases:["Mal","Malachi"]},{name:"Tobit",aliases:["Tob","Tobit"]},{name:"Judith",aliases:["Jdt","Judith"]},{name:"Baruch",aliases:["Bar","Baruch"]},{name:"1 Maccabees",aliases:["1Macc","1 Maccabees","First Maccabees","1 Macc"]},{name:"2 Maccabees",aliases:["2Macc","2 Maccabees","Second Maccabees","2 Macc"]},{name:"Wisdom",aliases:["Wis","Wisdom"]},{name:"Sirach",aliases:["Sir","Ecclus","Ben Sira","Ecclesiasticus"]},{name:"1 Esdras",aliases:["1 Esdr","1 Esdras","1 Esd","1Esdras","1Esdr","1Esd"]},{name:"2 Esdras",aliases:["2 Esdr","2 Esdras","2 Esd","2Esdras","2Esdr","2Esd"]},{name:"Bel",aliases:["Bel","Bel & the Dragon"]},{name:"Azariah",aliases:["Azariah","Song of the Three Young Men","Song of the Three Childr.","Song of the Three Children"]},{name:"Matthew",aliases:["Matt","Matthew","Mt"]},{name:"Mark",aliases:["Mark","Mk"]},{name:"Luke",aliases:["Luke","Lk"]},{name:"John",aliases:["Jn","John","Joh"]},{name:"Acts",aliases:["Acts"]},{name:"Romans",aliases:["Rom","Romans"]},{name:"1 Corinthians",aliases:["1Cor","1 Cor","1st Cor","1st Corinthians","First Corinthians","1 Corinthians"]},{name:"2 Corinthians",aliases:["2Cor","2 Cor","2nd Cor","2nd Corinthians","Second Corinthians","2 Corinthians"]},{name:"Galatians",aliases:["Gal","Galatians"]},{name:"Ephesians",aliases:["Eph","Ephesians"]},{name:"Philippians",aliases:["Phil","Philippians"]},{name:"Colossians",aliases:["Col","Colossians"]},{name:"1 Thessalonians",aliases:["1Thess","1 Thess","1st Thess","1st Thessalonians","First Thessalonians","1 Thessalonians"]},{name:"2 Thessalonians",aliases:["2Thess","2 Thess","2nd Thess","2nd Thessalonians","Second Thessalonians","2 Thessalonians"]},{name:"1 Timothy",aliases:["1 Tim","1Tim","1st Tim","1st Timothy","First Timothy","1 Timothy"]},{name:"2 Timothy",aliases:["2 Tim","2Tim","2nd Tim","2nd Timothy","Second Timothy","2 Timothy"]},{name:"Titus",aliases:["Titus"]},{name:"Philemon",aliases:["Phlm","Philemon"]},{name:"Hebrews",aliases:["Heb","Hebrews"]},{name:"James",aliases:["Jas","James"]},{name:"1 Peter",aliases:["1Pet","1 Pet","1st Pet","1st Peter","First Peter","1 Peter"]},{name:"2 Peter",aliases:["2Pet","2 Pet","2nd Pet","2nd Peter","Second Peter","2 Peter"]},{name:"1 John",aliases:["1John","1 John","1st John","First John","1 Joh"]},{name:"2 John",aliases:["2John","2 John","2nd John","Second John","2 Joh"]},{name:"3 John",aliases:["3John","3 John","3rd John","Third John","3 Joh"]},{name:"Jude",aliases:["Jude","Jd"]},{name:"Revelation",aliases:["Rev","Revelation","Revelations","Apocalypse","Apoc"]}],s={Genesis:{en:{short:"Genesis",long:"The Book of Genesis"},fr:{short:"Genèse",long:"Genèse"},es:{short:"Génesis",long:"El Libro de Génesis"},ne:{short:"परमेश्वरको वचन",long:"परमेश्वरको वचन"},th:{short:"พระธรรมเนียมปฐมกาล",long:"พระธรรมเนียมปฐมกาล"}},Exodus:{en:{short:"Exodus",long:"The Book of Exodus"},fr:{short:"Exode",long:"Exode"},es:{short:"Éxodo",long:"El Libro de Éxodo"},ne:{short:"निर्गमन",long:"निर्गमन"},th:{short:"พระธรรมนิยมประเทศอีสราเอล",long:"พระธรรมนิยมประเทศอีสราเอล"}},Leviticus:{en:{short:"Leviticus",long:"The Book of Leviticus"},fr:{short:"Lévitique",long:"Lévitique"},es:{short:"Levítico",long:"El Libro de Levítico"},ne:{short:"लैव्य",long:"लैव्य"},th:{short:"พระธรรมนิยมเลวี",long:"พระธรรมนิยมเลวี"}},Numbers:{en:{short:"Numbers",long:"The Book of Numbers"},fr:{short:"Nombres",long:"Nombres"},es:{short:"Números",long:"El Libro de Números"},ne:{short:"ग्रंथी",long:"ग्रंथी"},th:{short:"พระธรรมนิยมเบนไดกต์",long:"พระธรรมนิยมเบนไดกต์"}},Deuteronomy:{en:{short:"Deuteronomy",long:"The Book of Deuteronomy"},fr:{short:"Deutéronome",long:"Deutéronome"},es:{short:"Deuteronomio",long:"El Libro de Deuteronomio"},ne:{short:"दुतावाक्य",long:"दुतावाक्य"},th:{short:"พระธรรมนิยมฉบับนำหน้า",long:"พระธรรมนิยมฉบับนำหน้า"}},Joshua:{en:{short:"Joshua",long:"The Book of Joshua"},fr:{short:"Josué",long:"Josué"},es:{short:"Josué",long:"El Libro de Josué"},ne:{short:"योशू",long:"योशू"},th:{short:"นาคร้ายโยชูอา",long:"นาคร้ายโยชูอา"}},Judges:{en:{short:"Judges",long:"The Book of Judges"},fr:{short:"Juges",long:"Juges"},es:{short:"Jueces",long:"El Libro de Jueces"},ne:{short:"न्यायीहरू",long:"न्यायीहरू"},th:{short:"ผู้วินิจฉัย",long:"ผู้วินิจฉัย"}},Ruth:{en:{short:"Ruth",long:"The Book of Ruth"},fr:{short:"Ruth",long:"Ruth"},es:{short:"Rut",long:"El Libro de Rut"},ne:{short:"रुत",long:"रुत"},th:{short:"รูธ",long:"รูธ"}},"1 Samuel":{en:{short:"1 Samuel",long:"The First Book of Samuel"},fr:{short:"1 Samuel",long:"1 Samuel"},es:{short:"1 Samuel",long:"El Libro de 1 Samuel"},ne:{short:"1 समूएल",long:"1 समूएल"},th:{short:"1 ซามูเอล",long:"1 ซามูเอล "}},"2 Samuel":{en:{short:"2 Samuel",long:"The Second Book of Samuel"},fr:{short:"2 Samuel",long:"2 Samuel"},es:{short:"2 Samuel",long:"El Libro de 2 Samuel"},ne:{short:"2 समूएल",long:"2 समूएल"},th:{short:"2 ซามูเอล",long:"2 ซามูเอล "}},"1 Kings":{en:{short:"1 Kings",long:"The First Book of Kings"},fr:{short:"1 Rois",long:"1 Rois"},es:{short:"1 Reyes",long:"El Libro de 1 Reyes"},ne:{short:"1 राजाहरू",long:"1 राजाहरू"},th:{short:"1 พงศาวดาร",long:"1 พงศาวดาร "}},"2 Kings":{en:{short:"2 Kings",long:"The Second Book of Kings"},fr:{short:"2 Rois",long:"2 Rois"},es:{short:"2 Reyes",long:"El Libro de 2 Reyes"},ne:{short:"2 राजाहरू",long:"2 राजाहरू"},th:{short:"2 พงศาวดาร",long:"2 พงศาวดาร "}},"1 Chronicles":{en:{short:"1 Chronicles",long:"The First Book of Chronicles"},fr:{short:"1 Chroniques",long:"1 Chroniques"},es:{short:"1 Crónicas",long:"El Libro de 1 Crónicas"},ne:{short:"1 इतिहास",long:"1 इतिहास"},th:{short:"1 พงศาวดาร",long:"1 พงศาวดาร "}},"2 Chronicles":{en:{short:"2 Chronicles",long:"The Second Book of Chronicles"},fr:{short:"2 Chroniques",long:"2 Chroniques"},es:{short:"2 Crónicas",long:"El Libro de 2 Crónicas"},ne:{short:"2 इतिहास",long:"2 इतिहास"},th:{short:"2 พงศาวดาร",long:"2 พงศาวดาร "}},Ezra:{en:{short:"Ezra",long:"The Book of Ezra"},fr:{short:"Esdras",long:"Esdras"},es:{short:"Esdras",long:"El Libro de Esdras"},ne:{short:"एज्रा",long:"एज्रा"},th:{short:"เอสรา",long:"เอสรา"}},Nehemiah:{en:{short:"Nehemiah",long:"The Book of Nehemiah"},fr:{short:"Néhémie",long:"Néhémie"},es:{short:"Nehemías",long:"El Libro de Nehemías"},ne:{short:"नहेमाया",long:"नहेमाया"},th:{short:"เนหะมายา",long:"เนหะมายา"}},Esther:{en:{short:"Esther",long:"The Book of Esther"},fr:{short:"Esther",long:"Esther"},es:{short:"Ester",long:"El Libro de Ester"},ne:{short:"एस्थर",long:"एस्थर"},th:{short:"เอสเธอร์",long:"เอสเธอร์ "}},Job:{en:{short:"Job",long:"The Book of Job"},fr:{short:"Job",long:"Job"},es:{short:"Job",long:"El Libro de Job"},ne:{short:"अय्यूब",long:"अय्यूब"},th:{short:"อายูบ",long:"อายูบ "}},Psalms:{en:{short:"Psalms",long:"The Psalms"},fr:{short:"Psaumes",long:"Psaumes"},es:{short:"Salmos",long:"El Libro de Salmos"},ne:{short:"प्रागज्ञ",long:"प्रागज्ञ"},th:{short:"สดุดี",long:"สดุดี"}},Proverbs:{en:{short:"Proverbs",long:"The Book of Proverbs"},fr:{short:"Proverbes",long:"Proverbes"},es:{short:"Proverbios",long:"El Libro de Proverbios"},ne:{short:"उत्थान",long:"उत्थान"},th:{short:"ประธาน",long:"ประธาน "}},Ecclesiastes:{en:{short:"Ecclesiastes",long:"The Book of Ecclesiastes"},fr:{short:"Ecclésiaste",long:"Ecclésiaste"},es:{short:"Eclesiastés",long:"El Libro de Eclesiastés"},ne:{short:"उपदेशक",long:"उपदेशक"},th:{short:"เอกเคเลเซียส",long:"เอกเคเลเซียส"}},"The Song of Solomon":{en:{short:"The Song of Solomon",long:"The Song of Solomon"},fr:{short:"Cantique des Cantiques",long:"Cantique des Cantiques"},es:{short:"Cantares",long:"El Libro de Cantares"},ne:{short:"श्रेष्ठगीति",long:"श्रेष्ठगीति"},th:{short:"เพลงซอลโมน",long:"เพลงซอลโมน "}},Isaiah:{en:{short:"Isaiah",long:"The Book of the Prophet Isaiah"},fr:{short:"Esaïe",long:"Esaïe"},es:{short:"Isaías",long:"El Libro de Isaías"},ne:{short:"नबीहरूको ग्रन्थ",long:"नबीहरूको ग्रन्थ"},th:{short:"อิสยาห์",long:"อิสยาห์ "}},Jeremiah:{en:{short:"Jeremiah",long:"The Book of the Prophet Jeremiah"},fr:{short:"Jérémie",long:"Jérémie"},es:{short:"Jeremías",long:"El Libro de Jeremías"},ne:{short:"यिर्मिया",long:"यिर्मिया"},th:{short:"เยเรมีย์",long:"เยเรมีย์ "}},Lamentations:{en:{short:"Lamentations",long:"The Book of Lamentations"},fr:{short:"Lamentations",long:"Lamentations"},es:{short:"Lamentaciones",long:"El Libro de Lamentaciones"},ne:{short:"विलाप",long:"विलाप"},th:{short:"เพลงคร่ำครวญ",long:"เพลงคร่ำครวญ "}},Ezekiel:{en:{short:"Ezekiel",long:"The Book of the Prophet Ezekiel"},fr:{short:"Ezéchiel",long:"Ezéchiel"},es:{short:"Ezequiel",long:"El Libro de Ezequiel"},ne:{short:"यहेज्केल",long:"यहेज्केल"},th:{short:"ศาสนาบัญญัติ",long:"ศาสนาบัญญัติ "}},Daniel:{en:{short:"Daniel",long:"The Book of Daniel"},fr:{short:"Daniel",long:"Daniel"},es:{short:"Daniel",long:"El Libro de Daniel"},"en-CA":{short:"Daniel",long:"The Book of the Prophet Daniel"},iu:{short:"Daniel",long:"The Book of the Prophet Daniel"},ne:{short:"दानियेल",long:"दानियेल"},th:{short:"ดาเนียล",long:"ดาเนียล"}},Hosea:{en:{short:"Hosea",long:"The Book of the Prophet Hosea"},fr:{short:"Osée",long:"Osée"},es:{short:"Oseas",long:"El Libro de Oseas"},ne:{short:"होशे",long:"होशे"},th:{short:"โฮเชาย",long:"โฮเชาย "}},Joel:{en:{short:"Joel",long:"The Book of the Prophet Joel"},fr:{short:"Joël",long:"Joël"},es:{short:"Joel",long:"El Libro de Joel"},ne:{short:"योएल",long:"योएल"},th:{short:"โยเอล",long:"โยเอล "}},Amos:{en:{short:"Amos",long:"The Book of the Prophet Amos"},fr:{short:"Amos",long:"Amos"},es:{short:"Amós",long:"El Libro de Amós"},ne:{short:"आमोस",long:"आमोस"},th:{short:"อาโมส",long:"อาโมส "}},Obadiah:{en:{short:"Obadiah",long:"The Book of the Prophet Obadiah"},fr:{short:"Abdias",long:"Abdias"},es:{short:"Abdías",long:"El Libro de Abdías"},ne:{short:"ओबद्या",long:"ओबद्या"},th:{short:"โอบาดิห์",long:"โอบาดิห์ "}},Jonah:{en:{short:"Jonah",long:"The Book of the Prophet Jonah"},fr:{short:"Jonas",long:"Jonas"},es:{short:"Jonás",long:"El Libro de Jonás"},ne:{short:"योना",long:"योना"},th:{short:"โยนาห์",long:"โยนาห์ "}},Micah:{en:{short:"Micah",long:"The Book of the Prophet Micah"},fr:{short:"Michée",long:"Michée"},es:{short:"Miqueas",long:"El Libro de Miqueas"},ne:{short:"मीका",long:"मीका"},th:{short:"มีคาห์",long:"มีคาห์ "}},Nahum:{en:{short:"Nahum",long:"The Book of the Prophet Nahum"},fr:{short:"Nahum",long:"Nahum"},es:{short:"Nahúm",long:"El Libro de Nahúm"},ne:{short:"नहूम",long:"नहूम"},th:{short:"นาฮูม",long:"นาฮูม "}},Habakkuk:{en:{short:"Habakkuk",long:"The Book of the Prophet Habakkuk"},fr:{short:"Habacuc",long:"Habacuc"},es:{short:"Habacuc",long:"El Libro de Habacuc"},ne:{short:"हबक्कूक",long:"हबक्कूक"},th:{short:"ฮาบากุก",long:"ฮาบากุก "}},Zephaniah:{en:{short:"Zephaniah",long:"The Book of the Prophet Zephaniah"},fr:{short:"Sophonie",long:"Sophonie"},es:{short:"Sofonías",long:"El Libro de Sofonías"},ne:{short:"सपन्नाह",long:"सपन्नाह"},th:{short:"เศษนัย",long:"เศษนัย "}},Haggai:{en:{short:"Haggai",long:"The Book of the Prophet Haggai"},fr:{short:"Aggée",long:"Aggée"},es:{short:"Hageo",long:"El Libro de Hageo"},ne:{short:"हाग्गै",long:"हाग्गै"},th:{short:"ฮักกัย",long:"ฮักกัย"}},Zechariah:{en:{short:"Zechariah",long:"The Book of the Prophet Zechariah"},fr:{short:"Zacharie",long:"Zacharie"},es:{short:"Zacarías",long:"El Libro de Zacarías"},ne:{short:"जकर्या",long:"जकर्या"},th:{short:"เครีย",long:"เครีย"}},Malachi:{en:{short:"Malachi",long:"The Book of the Prophet Malachi"},fr:{short:"Malachie",long:"Malachie"},es:{short:"Malaquías",long:"El Libro de Malaquías"},ne:{short:"मलाकी",long:"मलाकी"},th:{short:"มาลาคี",long:"มาลาคี"}},Tobit:{en:{short:"Tobit",long:"The Book of Tobit"},fr:{short:"",long:""},es:{short:"Tobías",long:"El Libro de Tobías"}},Azariah:{en:{short:"The Song of the Three Children",long:"The Song of the Three Children"},fr:{short:"",long:""},es:{short:"El Himno de los tres jóvenes",long:"El Himno de los tres jóvenes"}},Judith:{en:{short:"Judith",long:"The Book of Judith"},fr:{short:"",long:""},es:{short:"Judit",long:"El Libro de Judit"}},Baruch:{en:{short:"Baruch",long:"The Book of Baruch"},fr:{short:"",long:""},es:{short:"Baruc",long:"El Libro de Baruc"}},"1 Maccabees":{en:{short:"1 Maccabees",long:"The First Book of Maccabees"},fr:{short:"",long:""},es:{short:"1 Macabeos",long:"El Libro 1 de los Macabeos"}},"2 Maccabees":{en:{short:"2 Maccabees",long:"The Second Book of Maccabees"},fr:{short:"",long:""},es:{short:"2 Macabeos",long:"El Libro 2 de los Macabeos"}},Wisdom:{en:{short:"Wisdom",long:"The Wisdom of Solomon"},fr:{short:"",long:""},es:{short:"Sabiduría",long:"El Libro de la Sabiduría"}},Sirach:{en:{short:"Sirach",long:"The Wisdom of Ben Sira"},fr:{short:"",long:""},es:{short:"Eclesiástico",long:"La Sabiduría de Jesús ben Sirá"},"en-CA":{short:"Sirach",long:"The Book of Ecclesiasticus"},iu:{short:"Sirach",long:"The Book of Ecclesiasticus"}},Matthew:{en:{short:"Matthew",long:"The Gospel According to Matthew"},fr:{short:"Matthieu",long:"Matthieu"},es:{short:"Mateo",long:"El Evangelio de San Mateo"},"en-CA":{short:"Matthew",long:"The Gospel According to St. Matthew"},iu:{short:"Matthew",long:"The Gospel According to St. Matthew"},ne:{short:"मत्ती",long:"मत्ती"},th:{short:"มัทธิว",long:"มัทธิว"}},Mark:{en:{short:"Mark",long:"The Gospel According to Mark"},fr:{short:"Marc",long:"Marc"},es:{short:"Marcos",long:"El Evangelio de San Marcos"},"en-CA":{short:"Mark",long:"The Gospel According to St. Mark"},iu:{short:"Mark",long:"The Gospel According to St. Mark"},ne:{short:"मर्कुस",long:"मर्कुस"},th:{short:"มาร์ค",long:"มาร์ค "}},Luke:{en:{short:"Luke",long:"The Gospel According to Luke"},fr:{short:"Luc",long:"Luc"},es:{short:"Lucas",long:"El Evangelio de San Mateo"},"en-CA":{short:"Luke",long:"The Gospel According to St. Luke"},iu:{short:"Luke",long:"The Gospel According to St. Luke"},ne:{short:"लूका",long:"लूका"},th:{short:"ลูกา",long:"ลูกา "}},John:{en:{short:"John",long:"The Gospel According to John"},fr:{short:"Jean",long:"Jean"},es:{short:"Juan",long:"El Evangelio de San Juan"},"en-CA":{short:"John",long:"The Gospel According to St. John"},iu:{short:"John",long:"The Gospel According to St. John"},ne:{short:"यूहन्ना",long:"यूहन्ना"},th:{short:"ยอห์น",long:"ยอห์น "}},Acts:{en:{short:"Acts",long:"The Acts of the Apostles"},fr:{short:"Les Actes des Apôtres",long:"Les Actes des Apôtres"},es:{short:"Hechos",long:"Los Hechos de los Apóstoles"},"en-CA":{short:"Acts",long:"The Book of the Acts of the Apostles"},iu:{short:"Acts",long:"The Book of the Acts of the Apostles"},ne:{short:"प्रेरितहरूको काम",long:"प्रेरितहरूको काम"},th:{short:"กิจการอัปโศก",long:"กิจการอัปโศก"}},Romans:{en:{short:"Romans",long:"The Letter to the Romans"},fr:{short:"Romains",long:"Romains"},es:{short:"Romanos",long:"La Epístola a los Romanos"},"en-CA":{short:"Romans",long:"The Epistle of St. Paul the Apostle to the Romans"},iu:{short:"Romans",long:"The Epistle of St. Paul the Apostle to the Romans"},ne:{short:"रोमीहरूलाई पत्र",long:"रोमीहरूलाई पत्र"},th:{short:"โรม",long:"โรม "}},"1 Corinthians":{en:{short:"1 Corinthians",long:"The First Letter to the Corinthians"},fr:{short:"1 Corinthiens",long:"1 Corinthiens"},es:{short:"1 Corintios",long:"La Primera Epístola a los Corintios"},"en-CA":{short:"1 Corinthians",long:"The First Epistle of St. Paul the Apostle to the Corinthians"},iu:{short:"1 Corinthians",long:"The First Epistle of St. Paul the Apostle to the Corinthians"},ne:{short:"1 कुरिन्थीहरूलाई पत्र",long:"1 कुरिन्थीहरूलाई पत्र"},th:{short:"1 โครินธ์",long:"1 โครินธ์ "}},"2 Corinthians":{en:{short:"2 Corinthians",long:"The Second Letter to the Corinthians"},fr:{short:"2 Corinthiens",long:"2 Corinthiens"},es:{short:"2 Corintios",long:"La Segunda Epístola a los Corintios"},"en-CA":{short:"2 Corinthians",long:"The Second Epistle of St. Paul the Apostle to the Corinthians"},iu:{short:"2 Corinthians",long:"The Second Epistle of St. Paul the Apostle to the Corinthians"},ne:{short:"2 कुरिन्थीहरूलाई पत्र",long:"2 कुरिन्थीहरूलाई पत्र"},th:{short:"2 โครินธ์",long:"2 โครินธ์ "}},Galatians:{en:{short:"Galatians",long:"The Letter to the Galatians"},fr:{short:"Galates",long:"Galates"},es:{short:"Gálatas",long:"La Epístola a los Gálatas"},"en-CA":{short:"Galatians",long:"The Epistle of St. Paul the Apostle to the Galatians"},iu:{short:"Galatians",long:"The Epistle of St. Paul the Apostle to the Galatians"},ne:{short:"गलातियहरूलाई पत्र",long:"गलातियहरूलाई पत्र"},th:{short:"กาลาเทีย",long:"กาลาเทีย "}},Ephesians:{en:{short:"Ephesians",long:"The Letter to the Ephesians"},fr:{short:"Ephésiens",long:"Ephésiens"},es:{short:"Efesios",long:"La Epístola a los Efesios"},"en-CA":{short:"Ephesians",long:"The Epistle of St. Paul the Apostle to the Ephesians"},iu:{short:"Ephesians",long:"The Epistle of St. Paul the Apostle to the Ephesians"},ne:{short:"इफिसीहरूलाई पत्र",long:"इफिसीहरूलाई पत्र"},th:{short:"เอเฟซัส",long:"เอเฟซัส "}},Philippians:{en:{short:"Philippians",long:"The Letter to the Philippians"},fr:{short:"Philippiens",long:"Philippiens"},es:{short:"Filipenses",long:"La Epístola a los Filipenses"},"en-CA":{short:"Philippians",long:"The Epistle of St. Paul the Apostle to the Philippians"},iu:{short:"Philippians",long:"The Epistle of St. Paul the Apostle to the Philippians"},ne:{short:"फिलिप्पीहरूलाई पत्र",long:"फिलिप्पीहरूलाई पत्र"},th:{short:"ฟีลิปปี",long:"ฟีลิปปี "}},Colossians:{en:{short:"Colossians",long:"The Letter to the Colossians"},fr:{short:"Colossiens",long:"Colossiens"},es:{short:"Colosenses",long:"La Epístola a los Colosenses"},"en-CA":{short:"Colossians",long:"The Epistle of St. Paul the Apostle to the Colossians"},iu:{short:"Colossians",long:"The Epistle of St. Paul the Apostle to the Colossians"},ne:{short:"कलस्सीहरूलाई पत्र",long:"कलस्सीहरूलाई पत्र"},th:{short:"โคโลสี",long:"โคโลสี"}},"1 Thessalonians":{en:{short:"1 Thessalonians",long:"The First Letter to the Thessalonians"},fr:{short:"1 Thessaloniciens",long:"1 Thessaloniciens"},es:{short:"1 Tesalonicenses",long:"La Primera Epístola a los Tesalonicenses"},"en-CA":{short:"1 Thessalonians",long:"The First Epistle of St. Paul the Apostle to the Thessalonians"},iu:{short:"1 Thessalonians",long:"The First Epistle of St. Paul the Apostle to the Thessalonians"},ne:{short:"1 थिस्सलोनिकीहरूलाई पत्र",long:"1 थिस्सलोनिकीहरूलाई पत्र"},th:{short:"1 เธสะโลนิกา",long:"1 เธสะโลนิกา "}},"2 Thessalonians":{en:{short:"2 Thessalonians",long:"The Second Letter to the Thessalonians"},fr:{short:"2 Thessaloniciens",long:"2 Thessaloniciens"},es:{short:"2 Tesalonicenses",long:"La Segunda Epístola a los Tesalonicenses"},"en-CA":{short:"2 Thessalonians",long:"The Second Epistle of St. Paul the Apostle to the Thessalonians"},iu:{short:"2 Thessalonians",long:"The Second Epistle of St. Paul the Apostle to the Thessalonians"},ne:{short:"2 थिस्सलोनिकीहरूलाई पत्र",long:"2 थिस्सलोनिकीहरूलाई पत्र"},th:{short:"2 เธสะโลนิกา",long:"2 เธสะโลนิกา "}},"1 Timothy":{en:{short:"1 Timothy",long:"The First Letter to Timothy"},fr:{short:"1 Timothée",long:"1 Timothée"},es:{short:"1 Timoteo",long:"La Primera Epístola a Timoteo"},"en-CA":{short:"1 Timothy",long:"The First Epistle of St. Paul the Apostle to Timothy"},iu:{short:"1 Timothy",long:"The First Epistle of St. Paul the Apostle to Timothy"},ne:{short:"1 तीमीथीहरूलाई पत्र",long:"1 तीमीथीहरूलाई पत्र"},th:{short:"1 ทิโมธี",long:"1 ทิโมธี "}},"2 Timothy":{en:{short:"2 Timothy",long:"The Second Letter to Timothy"},fr:{short:"2 Timothée",long:"2 Timothée"},es:{short:"2 Timoteo",long:"La Segunda Epístola a Timoteo"},"en-CA":{short:"2 Timothy",long:"The Second Epistle of St. Paul the Apostle to Timothy"},iu:{short:"2 Timothy",long:"The Second Epistle of St. Paul the Apostle to Timothy"},ne:{short:"2 तीमीथीहरूलाई पत्र",long:"2 तीमीथीहरूलाई पत्र"},th:{short:"2 ทิโมธี",long:"2 ทิโมธี "}},Titus:{en:{short:"Titus",long:"The Letter to Titus"},fr:{short:"Tite",long:"Tite"},es:{short:"Tito",long:"La Epístola a Tito"},"en-CA":{short:"Titus",long:"The Epistle of St. Paul the Apostle to Titus"},iu:{short:"Titus",long:"The Epistle of St. Paul the Apostle to Titus"},ne:{short:"तीतसलाई पत्र",long:"तीतसलाई पत्र"},th:{short:"ทิตัส",long:"ทิตัส "}},Philemon:{en:{short:"Philemon",long:"The Letter to Philemon"},fr:{short:"Philémon",long:"Philémon"},es:{short:"Filemón",long:"La Epístola a Filemón"},"en-CA":{short:"Philemon",long:"The Epistle of St. Paul the Apostle to Philemon"},iu:{short:"Philemon",long:"The Epistle of St. Paul the Apostle to Philemon"},ne:{short:"फिलेमोनलाई पत्र",long:"फिलेमोनलाई पत्र"},th:{short:"ฟีเลโมน",long:"ฟีเลโมน"}},Hebrews:{en:{short:"Hebrews",long:"The Book of Hebrews"},fr:{short:"Hébreux",long:"Hébreux"},es:{short:"Hebrews",long:"La Epístola a los Hebreos"},"en-CA":{short:"Hebrews",long:"The Epistle to the Hebrews"},iu:{short:"Hebrews",long:"The Epistle to the Hebrews"},ne:{short:"इब्रीहरूलाई पत्र",long:"इब्रीहरूलाई पत्र"},th:{short:"ฮีบรู",long:"ฮีบรู"}},James:{en:{short:"James",long:"The Letter of James"},fr:{short:"Jacques",long:"Jacques"},es:{short:"Santiago",long:"La Epístola de Santiago"},"en-CA":{short:"James",long:"The Epistle General of St. James"},iu:{short:"James",long:"The Epistle General of St. James"},ne:{short:"याकूबको पत्र",long:"याकूबको पत्र"},th:{short:"ยากอบ",long:"ยากอบ "}},"1 Peter":{en:{short:"1 Peter",long:"The First Letter of Peter"},fr:{short:"1 Pierre",long:"1 Pierre"},es:{short:"1 Pedro",long:"La Primera Epístola de Pedro"},"en-CA":{short:"1 Peter",long:"The First Epistle General of St. Peter"},iu:{short:"1 Peter",long:"The First Epistle General of St. Peter"},ne:{short:"1 पत्रुसको पत्र",long:"1 पत्रुसको पत्र"},th:{short:"1 ปีเตอร์",long:"1 ปีเตอร์ "}},"2 Peter":{en:{short:"2 Peter",long:"The Second Letter of Peter"},fr:{short:"2 Pierre",long:"2 Pierre"},es:{short:"2 Pedro",long:"La Segunda Epístola de Pedro"},"en-CA":{short:"2 Peter",long:"The Second Epistle General of St. Peter"},iu:{short:"2 Peter",long:"The Second Epistle General of St. Peter"},ne:{short:"2 पत्रुसको पत्र",long:"2 पत्रुसको पत्र"},th:{short:"2 ปีเตอร์",long:"2 ปีเตอร์ "}},"1 John":{en:{short:"1 John",long:"The First Letter of John"},fr:{short:"1 Jean",long:"1 Jean"},es:{short:"1 Juan",long:"La Primera Epístola de Juan"},"en-CA":{short:"2 John",long:"The First Epistle General of St. John"},iu:{short:"2 John",long:"The First Epistle General of St. John"},ne:{short:"1 यूहन्ना",long:"1 यूहन्ना"},th:{short:"1 ยอห์น",long:"1 ยอห์น "}},"2 John":{en:{short:"2 John",long:"The Second Letter of John"},fr:{short:"2 Jean",long:"2 Jean"},es:{short:"1 Juan",long:"La Segunda Epístola de Juan"},"en-CA":{short:"2 John",long:"The Second Epistle General of St. John"},iu:{short:"2 John",long:"The Second Epistle General of St. John"},ne:{short:"2 यूहन्ना",long:"2 यूहन्ना"},th:{short:"2 ยอห์น",long:"2 ยอห์น"}},"3 John":{en:{short:"3 John",long:"The Third Letter of John"},fr:{short:"3 Jean",long:"3 Jean"},es:{short:"1 Juan",long:"La Tercera Epístola de Juan"},"en-CA":{short:"3 John",long:"The Third Epistle General of St. John"},iu:{short:"3 John",long:"The Third Epistle General of St. John"},ne:{short:"3 यूहन्ना",long:"3 यूहन्ना"},th:{short:"3 ยอห์น",long:"3 ยอห์น"}},Jude:{en:{short:"Jude",long:"The Letter of Jude"},fr:{short:"Jude",long:"Jude"},es:{short:"Judas",long:"La Epístola de Judas"},"en-CA":{short:"Jude",long:"The Epistle General of St. Jude"},iu:{short:"Jude",long:"The Epistle General of St. Jude"},ne:{short:"यहूदाको पत्र",long:"यहूदाको पत्र"},th:{short:"ยูดา",long:"ยูดา "}},Revelation:{en:{short:"Revelation",long:"The Book of Revelation"},fr:{short:"Apocalypse",long:"Apocalypse"},es:{short:"Apocalipsis",long:"El Apocalipsis de San Juan"},"en-CA":{short:"Revelation",long:"The Revelation to St. John the Divine"},iu:{short:"Revelation",long:"The Revelation to St. John the Divine"},ne:{short:"प्रकटीकरण",long:"प्रकटीकरण"},th:{short:"วิวรณ์",long:"วิวรณ์"}},"1 Esdras":{en:{short:"1 Esdras",long:"The Second Book of Esdras"},fr:{short:"",long:""},es:{short:"1 Esdras",long:"1 Esdras"}},"2 Esdras":{en:{short:"2 Esdras",long:"The Second Book of Esdras"},fr:{short:"",long:""},es:{short:"2 Esdras",long:"2 Esdras"}},Bel:{en:{short:"Bel",long:"Bel and the Dragon"},fr:{short:"",long:""},es:{short:"Bel",long:"La Historia de Bel y el Dragón"}},"Letter of Jeremiah":{en:{short:"Letter of Jeremiah",long:"The Letter of Jeremiah"},fr:{short:"",long:""},es:{short:"Letter of Jeremiah",long:"La Epístola de Jeremías"}}};function t(o){var e=o%10,s=o%100;return 1==e&&11!=s?o+"st":2==e&&12!=s?o+"nd":3==e&&13!=s?o+"rd":o+"th"}const n=["long","short"];class h extends o{constructor(o={}){super(o)}compileIntro(){var e,s,n,h;if(this.metadata&&this.metadata.intro){const r=null!==(e=this.abbrevFromCitation())&&void 0!==e?e:this.citation,a=this.bookCodeFromAbbrev(null!=r?r:""),l=r?this.longNameFromBookCode(null!=a?a:"",this.language||"en"):"—",i=r?this.shortNameFromBookCode(null!=a?a:"",this.language||"en"):"—",g=this.chapterFromCitation(),m=this.verseFromCitation(),c=new Array,u=o=>o.replace(/\$\{longName\}/g,(null!=l?l:r).replace("The","the")).replace(/\$\{shortName\}/g,null!=i?i:r).replace(/\$\{chapter\}/g,`${t(Number(g)||1)}`).replace(/\$\{verse\}/g,`${t(Number(m)||1)}`).replace("de El","del").replace("de La","de la");null===(h=null===(n=null===(s=this.metadata)||void 0===s?void 0:s.intro)||void 0===n?void 0:n.value)||void 0===h||h.forEach((o=>{"string"==typeof o?c.push(u(o)):o.hasOwnProperty("text")?c.push(Object.assign(Object.assign({},o),{text:u(o.text)})):c.push(u(o))})),this.metadata.compiled_intro=new o(Object.assign(Object.assign({},this.metadata.intro),{value:c}))}}abbrevFromCitation(){let o;try{const e=(this.citation||"").match(/(\d*\s*[a-zA-Z]+)/);o=e?e[0]:""}catch(e){o=this.citation}return o.replace(/\./g,"")}chapterFromCitation(){var o;const e=null===(o=(this.citation||"").split(";")[0])||void 0===o?void 0:o.match(/[\s\.:](\d+)/g);if(e){const[o]=e;return"string"==typeof o?o.trim().replace(/[\.,:]/g,""):void 0}}verseFromCitation(){var o;const e=null===(o=(this.citation||"").split(";")[0])||void 0===o?void 0:o.match(/[\s\.:](\d+)/g);if(e){const[,o]=e;return"string"==typeof o?o.trim().replace(/[\.,:]/g,""):void 0}}bookCodeFromAbbrev(o){if(o){const s=o.replace(/\./g,""),t=e.find((o=>o.name==s||o.aliases.includes(s)||o.name.includes(s)));return t?t.name:o}}longNameFromBookCode(o,e="en"){const t=this.bookCodeFromAbbrev(o);if(t){const n=s[t];let h=(n||{})[e];return h||(h=(n||{}).en),h?h.long:o}}shortNameFromBookCode(o,e="en"){var t;const n=(s[null!==(t=this.bookCodeFromAbbrev(o))&&void 0!==t?t:""]||{})[e];return n?n.short:o}availableStyles(){return n}availableDisplayFormats(){return["default","omit"]}}class r extends o{availableDisplayFormats(){return[]}}class a extends o{constructor(o={}){super(o)}}const l=["psalm","canticle","invitatory"];class i extends o{constructor(o={}){super(o)}filteredVerses(){var o,e;let s=new Array;if(this.citation&&(this.citation.match(/Ps[^\s]*\s*\d+/)||""==this.citation)){const t=this.versesInCitation(this.citation),n=null===(e=null===(o=this.citation)||void 0===o?void 0:o.trim())||void 0===e?void 0:e.endsWith("end");0==t.length?s=this.value:(this.value||[]).forEach((o=>{const e=new Array;(o.value||[]).forEach((o=>{n||!o.number||t.includes(o.number)?e.push(o):t.includes(`[${o.number}`)?e.push(Object.assign(Object.assign({},o),{verse:"["+o.verse})):t.includes(`${o.number}]`)?e.push(Object.assign(Object.assign({},o),{halfverse:o.halfverse+"]"})):t.includes(`[${o.number}]`)&&e.push(Object.assign(Object.assign({},o),{verse:"["+o.verse,halfverse:o.halfverse+"]"}))})),s.push(Object.assign(Object.assign({},o),{value:e}))}))}else s=this.value;return s}versesInCitation(o){function e(o,e,s){return o&&e?"["+s+"]":o?"["+s:e?s+"]":s}const s=o.replace(/Ps[\w\.]*\s*/g,"").split(/\s*([\[\]\(\),:\s])\s*/).slice(1);let t=new Array,n=!1,h=!1;return(s||[]).forEach(((o,r)=>{"["!==o&&"("!==o||(n=!0),"]"!==s[r+1]&&")"!==s[r+1]||(h=!0);const[a,l]=o.replace(/[^\d-s–]/g,"").split(/-|–/);if(a&&l){const o=h;for(let s=parseInt(a);s<=parseInt(l);s++)h=o&&s==parseInt(l),t.push(e(n,h,s.toString())),n=!1}else a&&(t.push(e(n,h,a)),n=!1),h=!1})),t}includeAntiphon(){const o=this.metadata||{};return!!o.antiphon&&!o.omit_antiphon;
|
|
1
|
+
import{L as o}from"./p-619c1cd7.js";const e=[{name:"Genesis",aliases:["Gn","Gen","Genesis"]},{name:"Exodus",aliases:["Exod","Ex","Exo","Exodus"]},{name:"Leviticus",aliases:["Lev","Lv","Leviticus"]},{name:"Numbers",aliases:["Num","Numbers"]},{name:"Deuteronomy",aliases:["Deut","Deuteronomy"]},{name:"Joshua",aliases:["Josh","Joshua"]},{name:"Judges",aliases:["Judg","Jdg","Judges"]},{name:"Ruth",aliases:["Ruth"]},{name:"1 Samuel",aliases:["1Sam","1 Sam","1st Sam","1st Samuel","First Samuel","1 Samuel"]},{name:"2 Samuel",aliases:["2Sam","2 Sam","2nd Sam","2nd Samuel","Second Samuel","2 Samuel"]},{name:"1 Kings",aliases:["1Kgs","1 Kgs","1st Kgs","1st Kings","First Kings","1 Kings"]},{name:"2 Kings",aliases:["2Kgs","2 Kgs","2nd Kgs","2nd Kings","Second Kings","2 Kings"]},{name:"1 Chronicles",aliases:["1Chr","1 Chr","1st Chr","1st Chronicles","First Chronicles","1 Chronicles"]},{name:"2 Chronicles",aliases:["2Chr","2 Chr","2nd Chr","2nd Chronicles","Second Chronicles","2 Chronicles"]},{name:"Ezra",aliases:["Ezra"]},{name:"Nehemiah",aliases:["Neh","Nehemiah"]},{name:"Esther",aliases:["Esth","Est","Esther"]},{name:"Job",aliases:["Jb","Job"]},{name:"Psalms",aliases:["Ps","Psalm","Psalms"]},{name:"Proverbs",aliases:["Prov","Pro","Proverbs"]},{name:"Ecclesiastes",aliases:["Eccl","Ecc","Ecclesiastes"]},{name:"The Song of Solomon",aliases:["Song","Song of Songs","Song of Solomon","Cant"]},{name:"Isaiah",aliases:["Isa","Is","Isaiah"]},{name:"Jeremiah",aliases:["Jer","Jeremiah"]},{name:"Letter of Jeremiah",aliases:["EJer","EpJer","Epistle of Jeremiah"]},{name:"Lamentations",aliases:["Lam","Lamentations"]},{name:"Ezekiel",aliases:["Ezek","Ezekiel"]},{name:"Daniel",aliases:["Dan","Daniel"]},{name:"Hosea",aliases:["Hos","Hosea"]},{name:"Joel",aliases:["Joel"]},{name:"Amos",aliases:["Amos"]},{name:"Obadiah",aliases:["Obad","Oba","Obadiah"]},{name:"Jonah",aliases:["Jon","Jonah"]},{name:"Micah",aliases:["Mic","Micah"]},{name:"Nahum",aliases:["Nah","Nahum"]},{name:"Habakkuk",aliases:["Hab","Habakkuk"]},{name:"Zephaniah",aliases:["Zeph","Zephaniah"]},{name:"Haggai",aliases:["Hag","Haggai"]},{name:"Zechariah",aliases:["Zech","Zechariah"]},{name:"Malachi",aliases:["Mal","Malachi"]},{name:"Tobit",aliases:["Tob","Tobit"]},{name:"Judith",aliases:["Jdt","Judith"]},{name:"Baruch",aliases:["Bar","Baruch"]},{name:"1 Maccabees",aliases:["1Macc","1 Maccabees","First Maccabees","1 Macc"]},{name:"2 Maccabees",aliases:["2Macc","2 Maccabees","Second Maccabees","2 Macc"]},{name:"Wisdom",aliases:["Wis","Wisdom"]},{name:"Sirach",aliases:["Sir","Ecclus","Ben Sira","Ecclesiasticus"]},{name:"1 Esdras",aliases:["1 Esdr","1 Esdras","1 Esd","1Esdras","1Esdr","1Esd"]},{name:"2 Esdras",aliases:["2 Esdr","2 Esdras","2 Esd","2Esdras","2Esdr","2Esd"]},{name:"Bel",aliases:["Bel","Bel & the Dragon"]},{name:"Azariah",aliases:["Azariah","Song of the Three Young Men","Song of the Three Childr.","Song of the Three Children"]},{name:"Matthew",aliases:["Matt","Matthew","Mt"]},{name:"Mark",aliases:["Mark","Mk"]},{name:"Luke",aliases:["Luke","Lk"]},{name:"John",aliases:["Jn","John","Joh"]},{name:"Acts",aliases:["Acts"]},{name:"Romans",aliases:["Rom","Romans"]},{name:"1 Corinthians",aliases:["1Cor","1 Cor","1st Cor","1st Corinthians","First Corinthians","1 Corinthians"]},{name:"2 Corinthians",aliases:["2Cor","2 Cor","2nd Cor","2nd Corinthians","Second Corinthians","2 Corinthians"]},{name:"Galatians",aliases:["Gal","Galatians"]},{name:"Ephesians",aliases:["Eph","Ephesians"]},{name:"Philippians",aliases:["Phil","Philippians"]},{name:"Colossians",aliases:["Col","Colossians"]},{name:"1 Thessalonians",aliases:["1Thess","1 Thess","1st Thess","1st Thessalonians","First Thessalonians","1 Thessalonians"]},{name:"2 Thessalonians",aliases:["2Thess","2 Thess","2nd Thess","2nd Thessalonians","Second Thessalonians","2 Thessalonians"]},{name:"1 Timothy",aliases:["1 Tim","1Tim","1st Tim","1st Timothy","First Timothy","1 Timothy"]},{name:"2 Timothy",aliases:["2 Tim","2Tim","2nd Tim","2nd Timothy","Second Timothy","2 Timothy"]},{name:"Titus",aliases:["Titus"]},{name:"Philemon",aliases:["Phlm","Philemon"]},{name:"Hebrews",aliases:["Heb","Hebrews"]},{name:"James",aliases:["Jas","James"]},{name:"1 Peter",aliases:["1Pet","1 Pet","1st Pet","1st Peter","First Peter","1 Peter"]},{name:"2 Peter",aliases:["2Pet","2 Pet","2nd Pet","2nd Peter","Second Peter","2 Peter"]},{name:"1 John",aliases:["1John","1 John","1st John","First John","1 Joh"]},{name:"2 John",aliases:["2John","2 John","2nd John","Second John","2 Joh"]},{name:"3 John",aliases:["3John","3 John","3rd John","Third John","3 Joh"]},{name:"Jude",aliases:["Jude","Jd"]},{name:"Revelation",aliases:["Rev","Revelation","Revelations","Apocalypse","Apoc"]}],s={Genesis:{en:{short:"Genesis",long:"The Book of Genesis"},fr:{short:"Genèse",long:"Genèse"},es:{short:"Génesis",long:"El Libro de Génesis"},ne:{short:"परमेश्वरको वचन",long:"परमेश्वरको वचन"},th:{short:"พระธรรมเนียมปฐมกาล",long:"พระธรรมเนียมปฐมกาล"}},Exodus:{en:{short:"Exodus",long:"The Book of Exodus"},fr:{short:"Exode",long:"Exode"},es:{short:"Éxodo",long:"El Libro de Éxodo"},ne:{short:"निर्गमन",long:"निर्गमन"},th:{short:"พระธรรมนิยมประเทศอีสราเอล",long:"พระธรรมนิยมประเทศอีสราเอล"}},Leviticus:{en:{short:"Leviticus",long:"The Book of Leviticus"},fr:{short:"Lévitique",long:"Lévitique"},es:{short:"Levítico",long:"El Libro de Levítico"},ne:{short:"लैव्य",long:"लैव्य"},th:{short:"พระธรรมนิยมเลวี",long:"พระธรรมนิยมเลวี"}},Numbers:{en:{short:"Numbers",long:"The Book of Numbers"},fr:{short:"Nombres",long:"Nombres"},es:{short:"Números",long:"El Libro de Números"},ne:{short:"ग्रंथी",long:"ग्रंथी"},th:{short:"พระธรรมนิยมเบนไดกต์",long:"พระธรรมนิยมเบนไดกต์"}},Deuteronomy:{en:{short:"Deuteronomy",long:"The Book of Deuteronomy"},fr:{short:"Deutéronome",long:"Deutéronome"},es:{short:"Deuteronomio",long:"El Libro de Deuteronomio"},ne:{short:"दुतावाक्य",long:"दुतावाक्य"},th:{short:"พระธรรมนิยมฉบับนำหน้า",long:"พระธรรมนิยมฉบับนำหน้า"}},Joshua:{en:{short:"Joshua",long:"The Book of Joshua"},fr:{short:"Josué",long:"Josué"},es:{short:"Josué",long:"El Libro de Josué"},ne:{short:"योशू",long:"योशू"},th:{short:"นาคร้ายโยชูอา",long:"นาคร้ายโยชูอา"}},Judges:{en:{short:"Judges",long:"The Book of Judges"},fr:{short:"Juges",long:"Juges"},es:{short:"Jueces",long:"El Libro de Jueces"},ne:{short:"न्यायीहरू",long:"न्यायीहरू"},th:{short:"ผู้วินิจฉัย",long:"ผู้วินิจฉัย"}},Ruth:{en:{short:"Ruth",long:"The Book of Ruth"},fr:{short:"Ruth",long:"Ruth"},es:{short:"Rut",long:"El Libro de Rut"},ne:{short:"रुत",long:"रुत"},th:{short:"รูธ",long:"รูธ"}},"1 Samuel":{en:{short:"1 Samuel",long:"The First Book of Samuel"},fr:{short:"1 Samuel",long:"1 Samuel"},es:{short:"1 Samuel",long:"El Libro de 1 Samuel"},ne:{short:"1 समूएल",long:"1 समूएल"},th:{short:"1 ซามูเอล",long:"1 ซามูเอล "}},"2 Samuel":{en:{short:"2 Samuel",long:"The Second Book of Samuel"},fr:{short:"2 Samuel",long:"2 Samuel"},es:{short:"2 Samuel",long:"El Libro de 2 Samuel"},ne:{short:"2 समूएल",long:"2 समूएल"},th:{short:"2 ซามูเอล",long:"2 ซามูเอล "}},"1 Kings":{en:{short:"1 Kings",long:"The First Book of Kings"},fr:{short:"1 Rois",long:"1 Rois"},es:{short:"1 Reyes",long:"El Libro de 1 Reyes"},ne:{short:"1 राजाहरू",long:"1 राजाहरू"},th:{short:"1 พงศาวดาร",long:"1 พงศาวดาร "}},"2 Kings":{en:{short:"2 Kings",long:"The Second Book of Kings"},fr:{short:"2 Rois",long:"2 Rois"},es:{short:"2 Reyes",long:"El Libro de 2 Reyes"},ne:{short:"2 राजाहरू",long:"2 राजाहरू"},th:{short:"2 พงศาวดาร",long:"2 พงศาวดาร "}},"1 Chronicles":{en:{short:"1 Chronicles",long:"The First Book of Chronicles"},fr:{short:"1 Chroniques",long:"1 Chroniques"},es:{short:"1 Crónicas",long:"El Libro de 1 Crónicas"},ne:{short:"1 इतिहास",long:"1 इतिहास"},th:{short:"1 พงศาวดาร",long:"1 พงศาวดาร "}},"2 Chronicles":{en:{short:"2 Chronicles",long:"The Second Book of Chronicles"},fr:{short:"2 Chroniques",long:"2 Chroniques"},es:{short:"2 Crónicas",long:"El Libro de 2 Crónicas"},ne:{short:"2 इतिहास",long:"2 इतिहास"},th:{short:"2 พงศาวดาร",long:"2 พงศาวดาร "}},Ezra:{en:{short:"Ezra",long:"The Book of Ezra"},fr:{short:"Esdras",long:"Esdras"},es:{short:"Esdras",long:"El Libro de Esdras"},ne:{short:"एज्रा",long:"एज्रा"},th:{short:"เอสรา",long:"เอสรา"}},Nehemiah:{en:{short:"Nehemiah",long:"The Book of Nehemiah"},fr:{short:"Néhémie",long:"Néhémie"},es:{short:"Nehemías",long:"El Libro de Nehemías"},ne:{short:"नहेमाया",long:"नहेमाया"},th:{short:"เนหะมายา",long:"เนหะมายา"}},Esther:{en:{short:"Esther",long:"The Book of Esther"},fr:{short:"Esther",long:"Esther"},es:{short:"Ester",long:"El Libro de Ester"},ne:{short:"एस्थर",long:"एस्थर"},th:{short:"เอสเธอร์",long:"เอสเธอร์ "}},Job:{en:{short:"Job",long:"The Book of Job"},fr:{short:"Job",long:"Job"},es:{short:"Job",long:"El Libro de Job"},ne:{short:"अय्यूब",long:"अय्यूब"},th:{short:"อายูบ",long:"อายูบ "}},Psalms:{en:{short:"Psalms",long:"The Psalms"},fr:{short:"Psaumes",long:"Psaumes"},es:{short:"Salmos",long:"El Libro de Salmos"},ne:{short:"प्रागज्ञ",long:"प्रागज्ञ"},th:{short:"สดุดี",long:"สดุดี"}},Proverbs:{en:{short:"Proverbs",long:"The Book of Proverbs"},fr:{short:"Proverbes",long:"Proverbes"},es:{short:"Proverbios",long:"El Libro de Proverbios"},ne:{short:"उत्थान",long:"उत्थान"},th:{short:"ประธาน",long:"ประธาน "}},Ecclesiastes:{en:{short:"Ecclesiastes",long:"The Book of Ecclesiastes"},fr:{short:"Ecclésiaste",long:"Ecclésiaste"},es:{short:"Eclesiastés",long:"El Libro de Eclesiastés"},ne:{short:"उपदेशक",long:"उपदेशक"},th:{short:"เอกเคเลเซียส",long:"เอกเคเลเซียส"}},"The Song of Solomon":{en:{short:"The Song of Solomon",long:"The Song of Solomon"},fr:{short:"Cantique des Cantiques",long:"Cantique des Cantiques"},es:{short:"Cantares",long:"El Libro de Cantares"},ne:{short:"श्रेष्ठगीति",long:"श्रेष्ठगीति"},th:{short:"เพลงซอลโมน",long:"เพลงซอลโมน "}},Isaiah:{en:{short:"Isaiah",long:"The Book of the Prophet Isaiah"},fr:{short:"Esaïe",long:"Esaïe"},es:{short:"Isaías",long:"El Libro de Isaías"},ne:{short:"नबीहरूको ग्रन्थ",long:"नबीहरूको ग्रन्थ"},th:{short:"อิสยาห์",long:"อิสยาห์ "}},Jeremiah:{en:{short:"Jeremiah",long:"The Book of the Prophet Jeremiah"},fr:{short:"Jérémie",long:"Jérémie"},es:{short:"Jeremías",long:"El Libro de Jeremías"},ne:{short:"यिर्मिया",long:"यिर्मिया"},th:{short:"เยเรมีย์",long:"เยเรมีย์ "}},Lamentations:{en:{short:"Lamentations",long:"The Book of Lamentations"},fr:{short:"Lamentations",long:"Lamentations"},es:{short:"Lamentaciones",long:"El Libro de Lamentaciones"},ne:{short:"विलाप",long:"विलाप"},th:{short:"เพลงคร่ำครวญ",long:"เพลงคร่ำครวญ "}},Ezekiel:{en:{short:"Ezekiel",long:"The Book of the Prophet Ezekiel"},fr:{short:"Ezéchiel",long:"Ezéchiel"},es:{short:"Ezequiel",long:"El Libro de Ezequiel"},ne:{short:"यहेज्केल",long:"यहेज्केल"},th:{short:"ศาสนาบัญญัติ",long:"ศาสนาบัญญัติ "}},Daniel:{en:{short:"Daniel",long:"The Book of Daniel"},fr:{short:"Daniel",long:"Daniel"},es:{short:"Daniel",long:"El Libro de Daniel"},"en-CA":{short:"Daniel",long:"The Book of the Prophet Daniel"},iu:{short:"Daniel",long:"The Book of the Prophet Daniel"},ne:{short:"दानियेल",long:"दानियेल"},th:{short:"ดาเนียล",long:"ดาเนียล"}},Hosea:{en:{short:"Hosea",long:"The Book of the Prophet Hosea"},fr:{short:"Osée",long:"Osée"},es:{short:"Oseas",long:"El Libro de Oseas"},ne:{short:"होशे",long:"होशे"},th:{short:"โฮเชาย",long:"โฮเชาย "}},Joel:{en:{short:"Joel",long:"The Book of the Prophet Joel"},fr:{short:"Joël",long:"Joël"},es:{short:"Joel",long:"El Libro de Joel"},ne:{short:"योएल",long:"योएल"},th:{short:"โยเอล",long:"โยเอล "}},Amos:{en:{short:"Amos",long:"The Book of the Prophet Amos"},fr:{short:"Amos",long:"Amos"},es:{short:"Amós",long:"El Libro de Amós"},ne:{short:"आमोस",long:"आमोस"},th:{short:"อาโมส",long:"อาโมส "}},Obadiah:{en:{short:"Obadiah",long:"The Book of the Prophet Obadiah"},fr:{short:"Abdias",long:"Abdias"},es:{short:"Abdías",long:"El Libro de Abdías"},ne:{short:"ओबद्या",long:"ओबद्या"},th:{short:"โอบาดิห์",long:"โอบาดิห์ "}},Jonah:{en:{short:"Jonah",long:"The Book of the Prophet Jonah"},fr:{short:"Jonas",long:"Jonas"},es:{short:"Jonás",long:"El Libro de Jonás"},ne:{short:"योना",long:"योना"},th:{short:"โยนาห์",long:"โยนาห์ "}},Micah:{en:{short:"Micah",long:"The Book of the Prophet Micah"},fr:{short:"Michée",long:"Michée"},es:{short:"Miqueas",long:"El Libro de Miqueas"},ne:{short:"मीका",long:"मीका"},th:{short:"มีคาห์",long:"มีคาห์ "}},Nahum:{en:{short:"Nahum",long:"The Book of the Prophet Nahum"},fr:{short:"Nahum",long:"Nahum"},es:{short:"Nahúm",long:"El Libro de Nahúm"},ne:{short:"नहूम",long:"नहूम"},th:{short:"นาฮูม",long:"นาฮูม "}},Habakkuk:{en:{short:"Habakkuk",long:"The Book of the Prophet Habakkuk"},fr:{short:"Habacuc",long:"Habacuc"},es:{short:"Habacuc",long:"El Libro de Habacuc"},ne:{short:"हबक्कूक",long:"हबक्कूक"},th:{short:"ฮาบากุก",long:"ฮาบากุก "}},Zephaniah:{en:{short:"Zephaniah",long:"The Book of the Prophet Zephaniah"},fr:{short:"Sophonie",long:"Sophonie"},es:{short:"Sofonías",long:"El Libro de Sofonías"},ne:{short:"सपन्नाह",long:"सपन्नाह"},th:{short:"เศษนัย",long:"เศษนัย "}},Haggai:{en:{short:"Haggai",long:"The Book of the Prophet Haggai"},fr:{short:"Aggée",long:"Aggée"},es:{short:"Hageo",long:"El Libro de Hageo"},ne:{short:"हाग्गै",long:"हाग्गै"},th:{short:"ฮักกัย",long:"ฮักกัย"}},Zechariah:{en:{short:"Zechariah",long:"The Book of the Prophet Zechariah"},fr:{short:"Zacharie",long:"Zacharie"},es:{short:"Zacarías",long:"El Libro de Zacarías"},ne:{short:"जकर्या",long:"जकर्या"},th:{short:"เครีย",long:"เครีย"}},Malachi:{en:{short:"Malachi",long:"The Book of the Prophet Malachi"},fr:{short:"Malachie",long:"Malachie"},es:{short:"Malaquías",long:"El Libro de Malaquías"},ne:{short:"मलाकी",long:"मलाकी"},th:{short:"มาลาคี",long:"มาลาคี"}},Tobit:{en:{short:"Tobit",long:"The Book of Tobit"},fr:{short:"",long:""},es:{short:"Tobías",long:"El Libro de Tobías"}},Azariah:{en:{short:"The Song of the Three Children",long:"The Song of the Three Children"},fr:{short:"",long:""},es:{short:"El Himno de los tres jóvenes",long:"El Himno de los tres jóvenes"}},Judith:{en:{short:"Judith",long:"The Book of Judith"},fr:{short:"",long:""},es:{short:"Judit",long:"El Libro de Judit"}},Baruch:{en:{short:"Baruch",long:"The Book of Baruch"},fr:{short:"",long:""},es:{short:"Baruc",long:"El Libro de Baruc"}},"1 Maccabees":{en:{short:"1 Maccabees",long:"The First Book of Maccabees"},fr:{short:"",long:""},es:{short:"1 Macabeos",long:"El Libro 1 de los Macabeos"}},"2 Maccabees":{en:{short:"2 Maccabees",long:"The Second Book of Maccabees"},fr:{short:"",long:""},es:{short:"2 Macabeos",long:"El Libro 2 de los Macabeos"}},Wisdom:{en:{short:"Wisdom",long:"The Wisdom of Solomon"},fr:{short:"",long:""},es:{short:"Sabiduría",long:"El Libro de la Sabiduría"}},Sirach:{en:{short:"Sirach",long:"The Wisdom of Ben Sira"},fr:{short:"",long:""},es:{short:"Eclesiástico",long:"La Sabiduría de Jesús ben Sirá"},"en-CA":{short:"Sirach",long:"The Book of Ecclesiasticus"},iu:{short:"Sirach",long:"The Book of Ecclesiasticus"}},Matthew:{en:{short:"Matthew",long:"The Gospel According to Matthew"},fr:{short:"Matthieu",long:"Matthieu"},es:{short:"Mateo",long:"El Evangelio de San Mateo"},"en-CA":{short:"Matthew",long:"The Gospel According to St. Matthew"},iu:{short:"Matthew",long:"The Gospel According to St. Matthew"},ne:{short:"मत्ती",long:"मत्ती"},th:{short:"มัทธิว",long:"มัทธิว"}},Mark:{en:{short:"Mark",long:"The Gospel According to Mark"},fr:{short:"Marc",long:"Marc"},es:{short:"Marcos",long:"El Evangelio de San Marcos"},"en-CA":{short:"Mark",long:"The Gospel According to St. Mark"},iu:{short:"Mark",long:"The Gospel According to St. Mark"},ne:{short:"मर्कुस",long:"मर्कुस"},th:{short:"มาร์ค",long:"มาร์ค "}},Luke:{en:{short:"Luke",long:"The Gospel According to Luke"},fr:{short:"Luc",long:"Luc"},es:{short:"Lucas",long:"El Evangelio de San Mateo"},"en-CA":{short:"Luke",long:"The Gospel According to St. Luke"},iu:{short:"Luke",long:"The Gospel According to St. Luke"},ne:{short:"लूका",long:"लूका"},th:{short:"ลูกา",long:"ลูกา "}},John:{en:{short:"John",long:"The Gospel According to John"},fr:{short:"Jean",long:"Jean"},es:{short:"Juan",long:"El Evangelio de San Juan"},"en-CA":{short:"John",long:"The Gospel According to St. John"},iu:{short:"John",long:"The Gospel According to St. John"},ne:{short:"यूहन्ना",long:"यूहन्ना"},th:{short:"ยอห์น",long:"ยอห์น "}},Acts:{en:{short:"Acts",long:"The Acts of the Apostles"},fr:{short:"Les Actes des Apôtres",long:"Les Actes des Apôtres"},es:{short:"Hechos",long:"Los Hechos de los Apóstoles"},"en-CA":{short:"Acts",long:"The Book of the Acts of the Apostles"},iu:{short:"Acts",long:"The Book of the Acts of the Apostles"},ne:{short:"प्रेरितहरूको काम",long:"प्रेरितहरूको काम"},th:{short:"กิจการอัปโศก",long:"กิจการอัปโศก"}},Romans:{en:{short:"Romans",long:"The Letter to the Romans"},fr:{short:"Romains",long:"Romains"},es:{short:"Romanos",long:"La Epístola a los Romanos"},"en-CA":{short:"Romans",long:"The Epistle of St. Paul the Apostle to the Romans"},iu:{short:"Romans",long:"The Epistle of St. Paul the Apostle to the Romans"},ne:{short:"रोमीहरूलाई पत्र",long:"रोमीहरूलाई पत्र"},th:{short:"โรม",long:"โรม "}},"1 Corinthians":{en:{short:"1 Corinthians",long:"The First Letter to the Corinthians"},fr:{short:"1 Corinthiens",long:"1 Corinthiens"},es:{short:"1 Corintios",long:"La Primera Epístola a los Corintios"},"en-CA":{short:"1 Corinthians",long:"The First Epistle of St. Paul the Apostle to the Corinthians"},iu:{short:"1 Corinthians",long:"The First Epistle of St. Paul the Apostle to the Corinthians"},ne:{short:"1 कुरिन्थीहरूलाई पत्र",long:"1 कुरिन्थीहरूलाई पत्र"},th:{short:"1 โครินธ์",long:"1 โครินธ์ "}},"2 Corinthians":{en:{short:"2 Corinthians",long:"The Second Letter to the Corinthians"},fr:{short:"2 Corinthiens",long:"2 Corinthiens"},es:{short:"2 Corintios",long:"La Segunda Epístola a los Corintios"},"en-CA":{short:"2 Corinthians",long:"The Second Epistle of St. Paul the Apostle to the Corinthians"},iu:{short:"2 Corinthians",long:"The Second Epistle of St. Paul the Apostle to the Corinthians"},ne:{short:"2 कुरिन्थीहरूलाई पत्र",long:"2 कुरिन्थीहरूलाई पत्र"},th:{short:"2 โครินธ์",long:"2 โครินธ์ "}},Galatians:{en:{short:"Galatians",long:"The Letter to the Galatians"},fr:{short:"Galates",long:"Galates"},es:{short:"Gálatas",long:"La Epístola a los Gálatas"},"en-CA":{short:"Galatians",long:"The Epistle of St. Paul the Apostle to the Galatians"},iu:{short:"Galatians",long:"The Epistle of St. Paul the Apostle to the Galatians"},ne:{short:"गलातियहरूलाई पत्र",long:"गलातियहरूलाई पत्र"},th:{short:"กาลาเทีย",long:"กาลาเทีย "}},Ephesians:{en:{short:"Ephesians",long:"The Letter to the Ephesians"},fr:{short:"Ephésiens",long:"Ephésiens"},es:{short:"Efesios",long:"La Epístola a los Efesios"},"en-CA":{short:"Ephesians",long:"The Epistle of St. Paul the Apostle to the Ephesians"},iu:{short:"Ephesians",long:"The Epistle of St. Paul the Apostle to the Ephesians"},ne:{short:"इफिसीहरूलाई पत्र",long:"इफिसीहरूलाई पत्र"},th:{short:"เอเฟซัส",long:"เอเฟซัส "}},Philippians:{en:{short:"Philippians",long:"The Letter to the Philippians"},fr:{short:"Philippiens",long:"Philippiens"},es:{short:"Filipenses",long:"La Epístola a los Filipenses"},"en-CA":{short:"Philippians",long:"The Epistle of St. Paul the Apostle to the Philippians"},iu:{short:"Philippians",long:"The Epistle of St. Paul the Apostle to the Philippians"},ne:{short:"फिलिप्पीहरूलाई पत्र",long:"फिलिप्पीहरूलाई पत्र"},th:{short:"ฟีลิปปี",long:"ฟีลิปปี "}},Colossians:{en:{short:"Colossians",long:"The Letter to the Colossians"},fr:{short:"Colossiens",long:"Colossiens"},es:{short:"Colosenses",long:"La Epístola a los Colosenses"},"en-CA":{short:"Colossians",long:"The Epistle of St. Paul the Apostle to the Colossians"},iu:{short:"Colossians",long:"The Epistle of St. Paul the Apostle to the Colossians"},ne:{short:"कलस्सीहरूलाई पत्र",long:"कलस्सीहरूलाई पत्र"},th:{short:"โคโลสี",long:"โคโลสี"}},"1 Thessalonians":{en:{short:"1 Thessalonians",long:"The First Letter to the Thessalonians"},fr:{short:"1 Thessaloniciens",long:"1 Thessaloniciens"},es:{short:"1 Tesalonicenses",long:"La Primera Epístola a los Tesalonicenses"},"en-CA":{short:"1 Thessalonians",long:"The First Epistle of St. Paul the Apostle to the Thessalonians"},iu:{short:"1 Thessalonians",long:"The First Epistle of St. Paul the Apostle to the Thessalonians"},ne:{short:"1 थिस्सलोनिकीहरूलाई पत्र",long:"1 थिस्सलोनिकीहरूलाई पत्र"},th:{short:"1 เธสะโลนิกา",long:"1 เธสะโลนิกา "}},"2 Thessalonians":{en:{short:"2 Thessalonians",long:"The Second Letter to the Thessalonians"},fr:{short:"2 Thessaloniciens",long:"2 Thessaloniciens"},es:{short:"2 Tesalonicenses",long:"La Segunda Epístola a los Tesalonicenses"},"en-CA":{short:"2 Thessalonians",long:"The Second Epistle of St. Paul the Apostle to the Thessalonians"},iu:{short:"2 Thessalonians",long:"The Second Epistle of St. Paul the Apostle to the Thessalonians"},ne:{short:"2 थिस्सलोनिकीहरूलाई पत्र",long:"2 थिस्सलोनिकीहरूलाई पत्र"},th:{short:"2 เธสะโลนิกา",long:"2 เธสะโลนิกา "}},"1 Timothy":{en:{short:"1 Timothy",long:"The First Letter to Timothy"},fr:{short:"1 Timothée",long:"1 Timothée"},es:{short:"1 Timoteo",long:"La Primera Epístola a Timoteo"},"en-CA":{short:"1 Timothy",long:"The First Epistle of St. Paul the Apostle to Timothy"},iu:{short:"1 Timothy",long:"The First Epistle of St. Paul the Apostle to Timothy"},ne:{short:"1 तीमीथीहरूलाई पत्र",long:"1 तीमीथीहरूलाई पत्र"},th:{short:"1 ทิโมธี",long:"1 ทิโมธี "}},"2 Timothy":{en:{short:"2 Timothy",long:"The Second Letter to Timothy"},fr:{short:"2 Timothée",long:"2 Timothée"},es:{short:"2 Timoteo",long:"La Segunda Epístola a Timoteo"},"en-CA":{short:"2 Timothy",long:"The Second Epistle of St. Paul the Apostle to Timothy"},iu:{short:"2 Timothy",long:"The Second Epistle of St. Paul the Apostle to Timothy"},ne:{short:"2 तीमीथीहरूलाई पत्र",long:"2 तीमीथीहरूलाई पत्र"},th:{short:"2 ทิโมธี",long:"2 ทิโมธี "}},Titus:{en:{short:"Titus",long:"The Letter to Titus"},fr:{short:"Tite",long:"Tite"},es:{short:"Tito",long:"La Epístola a Tito"},"en-CA":{short:"Titus",long:"The Epistle of St. Paul the Apostle to Titus"},iu:{short:"Titus",long:"The Epistle of St. Paul the Apostle to Titus"},ne:{short:"तीतसलाई पत्र",long:"तीतसलाई पत्र"},th:{short:"ทิตัส",long:"ทิตัส "}},Philemon:{en:{short:"Philemon",long:"The Letter to Philemon"},fr:{short:"Philémon",long:"Philémon"},es:{short:"Filemón",long:"La Epístola a Filemón"},"en-CA":{short:"Philemon",long:"The Epistle of St. Paul the Apostle to Philemon"},iu:{short:"Philemon",long:"The Epistle of St. Paul the Apostle to Philemon"},ne:{short:"फिलेमोनलाई पत्र",long:"फिलेमोनलाई पत्र"},th:{short:"ฟีเลโมน",long:"ฟีเลโมน"}},Hebrews:{en:{short:"Hebrews",long:"The Book of Hebrews"},fr:{short:"Hébreux",long:"Hébreux"},es:{short:"Hebrews",long:"La Epístola a los Hebreos"},"en-CA":{short:"Hebrews",long:"The Epistle to the Hebrews"},iu:{short:"Hebrews",long:"The Epistle to the Hebrews"},ne:{short:"इब्रीहरूलाई पत्र",long:"इब्रीहरूलाई पत्र"},th:{short:"ฮีบรู",long:"ฮีบรู"}},James:{en:{short:"James",long:"The Letter of James"},fr:{short:"Jacques",long:"Jacques"},es:{short:"Santiago",long:"La Epístola de Santiago"},"en-CA":{short:"James",long:"The Epistle General of St. James"},iu:{short:"James",long:"The Epistle General of St. James"},ne:{short:"याकूबको पत्र",long:"याकूबको पत्र"},th:{short:"ยากอบ",long:"ยากอบ "}},"1 Peter":{en:{short:"1 Peter",long:"The First Letter of Peter"},fr:{short:"1 Pierre",long:"1 Pierre"},es:{short:"1 Pedro",long:"La Primera Epístola de Pedro"},"en-CA":{short:"1 Peter",long:"The First Epistle General of St. Peter"},iu:{short:"1 Peter",long:"The First Epistle General of St. Peter"},ne:{short:"1 पत्रुसको पत्र",long:"1 पत्रुसको पत्र"},th:{short:"1 ปีเตอร์",long:"1 ปีเตอร์ "}},"2 Peter":{en:{short:"2 Peter",long:"The Second Letter of Peter"},fr:{short:"2 Pierre",long:"2 Pierre"},es:{short:"2 Pedro",long:"La Segunda Epístola de Pedro"},"en-CA":{short:"2 Peter",long:"The Second Epistle General of St. Peter"},iu:{short:"2 Peter",long:"The Second Epistle General of St. Peter"},ne:{short:"2 पत्रुसको पत्र",long:"2 पत्रुसको पत्र"},th:{short:"2 ปีเตอร์",long:"2 ปีเตอร์ "}},"1 John":{en:{short:"1 John",long:"The First Letter of John"},fr:{short:"1 Jean",long:"1 Jean"},es:{short:"1 Juan",long:"La Primera Epístola de Juan"},"en-CA":{short:"2 John",long:"The First Epistle General of St. John"},iu:{short:"2 John",long:"The First Epistle General of St. John"},ne:{short:"1 यूहन्ना",long:"1 यूहन्ना"},th:{short:"1 ยอห์น",long:"1 ยอห์น "}},"2 John":{en:{short:"2 John",long:"The Second Letter of John"},fr:{short:"2 Jean",long:"2 Jean"},es:{short:"1 Juan",long:"La Segunda Epístola de Juan"},"en-CA":{short:"2 John",long:"The Second Epistle General of St. John"},iu:{short:"2 John",long:"The Second Epistle General of St. John"},ne:{short:"2 यूहन्ना",long:"2 यूहन्ना"},th:{short:"2 ยอห์น",long:"2 ยอห์น"}},"3 John":{en:{short:"3 John",long:"The Third Letter of John"},fr:{short:"3 Jean",long:"3 Jean"},es:{short:"1 Juan",long:"La Tercera Epístola de Juan"},"en-CA":{short:"3 John",long:"The Third Epistle General of St. John"},iu:{short:"3 John",long:"The Third Epistle General of St. John"},ne:{short:"3 यूहन्ना",long:"3 यूहन्ना"},th:{short:"3 ยอห์น",long:"3 ยอห์น"}},Jude:{en:{short:"Jude",long:"The Letter of Jude"},fr:{short:"Jude",long:"Jude"},es:{short:"Judas",long:"La Epístola de Judas"},"en-CA":{short:"Jude",long:"The Epistle General of St. Jude"},iu:{short:"Jude",long:"The Epistle General of St. Jude"},ne:{short:"यहूदाको पत्र",long:"यहूदाको पत्र"},th:{short:"ยูดา",long:"ยูดา "}},Revelation:{en:{short:"Revelation",long:"The Book of Revelation"},fr:{short:"Apocalypse",long:"Apocalypse"},es:{short:"Apocalipsis",long:"El Apocalipsis de San Juan"},"en-CA":{short:"Revelation",long:"The Revelation to St. John the Divine"},iu:{short:"Revelation",long:"The Revelation to St. John the Divine"},ne:{short:"प्रकटीकरण",long:"प्रकटीकरण"},th:{short:"วิวรณ์",long:"วิวรณ์"}},"1 Esdras":{en:{short:"1 Esdras",long:"The Second Book of Esdras"},fr:{short:"",long:""},es:{short:"1 Esdras",long:"1 Esdras"}},"2 Esdras":{en:{short:"2 Esdras",long:"The Second Book of Esdras"},fr:{short:"",long:""},es:{short:"2 Esdras",long:"2 Esdras"}},Bel:{en:{short:"Bel",long:"Bel and the Dragon"},fr:{short:"",long:""},es:{short:"Bel",long:"La Historia de Bel y el Dragón"}},"Letter of Jeremiah":{en:{short:"Letter of Jeremiah",long:"The Letter of Jeremiah"},fr:{short:"",long:""},es:{short:"Letter of Jeremiah",long:"La Epístola de Jeremías"}}};function t(o){var e=o%10,s=o%100;return 1==e&&11!=s?o+"st":2==e&&12!=s?o+"nd":3==e&&13!=s?o+"rd":o+"th"}const n=["long","short"];class h extends o{constructor(o={}){super(o)}compileIntro(){var e,s,n,h;if(this.metadata&&this.metadata.intro){const r=null!==(e=this.abbrevFromCitation())&&void 0!==e?e:this.citation,a=this.bookCodeFromAbbrev(null!=r?r:""),l=r?this.longNameFromBookCode(null!=a?a:"",this.language||"en"):"—",i=r?this.shortNameFromBookCode(null!=a?a:"",this.language||"en"):"—",g=this.chapterFromCitation(),m=this.verseFromCitation(),c=new Array,u=o=>o.replace(/\$\{longName\}/g,(null!=l?l:r).replace("The","the")).replace(/\$\{shortName\}/g,null!=i?i:r).replace(/\$\{chapter\}/g,`${t(Number(g)||1)}`).replace(/\$\{verse\}/g,`${t(Number(m)||1)}`).replace("de El","del").replace("de La","de la");null===(h=null===(n=null===(s=this.metadata)||void 0===s?void 0:s.intro)||void 0===n?void 0:n.value)||void 0===h||h.forEach((o=>{"string"==typeof o?c.push(u(o)):o.hasOwnProperty("text")?c.push(Object.assign(Object.assign({},o),{text:u(o.text)})):c.push(u(o))})),this.metadata.compiled_intro=new o(Object.assign(Object.assign({},this.metadata.intro),{value:c}))}}abbrevFromCitation(){let o;try{const e=(this.citation||"").match(/(\d*\s*[a-zA-Z]+)/);o=e?e[0]:""}catch(e){o=this.citation}return o.replace(/\./g,"")}chapterFromCitation(){var o;const e=null===(o=(this.citation||"").split(";")[0])||void 0===o?void 0:o.match(/[\s\.:](\d+)/g);if(e){const[o]=e;return"string"==typeof o?o.trim().replace(/[\.,:]/g,""):void 0}}verseFromCitation(){var o;const e=null===(o=(this.citation||"").split(";")[0])||void 0===o?void 0:o.match(/[\s\.:](\d+)/g);if(e){const[,o]=e;return"string"==typeof o?o.trim().replace(/[\.,:]/g,""):void 0}}bookCodeFromAbbrev(o){if(o){const s=o.replace(/\./g,""),t=e.find((o=>o.name==s||o.aliases.includes(s)||o.name.includes(s)));return t?t.name:o}}longNameFromBookCode(o,e="en"){const t=this.bookCodeFromAbbrev(o);if(t){const n=s[t];let h=(n||{})[e];return h||(h=(n||{}).en),h?h.long:o}}shortNameFromBookCode(o,e="en"){var t;const n=(s[null!==(t=this.bookCodeFromAbbrev(o))&&void 0!==t?t:""]||{})[e];return n?n.short:o}availableStyles(){return n}availableDisplayFormats(){return["default","omit"]}}class r extends o{availableDisplayFormats(){return[]}}class a extends o{constructor(o={}){super(o)}}const l=["psalm","canticle","invitatory"];class i extends o{constructor(o={}){super(o)}filteredVerses(){var o,e;let s=new Array;if(this.citation&&(this.citation.match(/Ps[^\s]*\s*\d+/)||""==this.citation)){const t=this.versesInCitation(this.citation),n=null===(e=null===(o=this.citation)||void 0===o?void 0:o.trim())||void 0===e?void 0:e.endsWith("end");0==t.length?s=this.value:(this.value||[]).forEach((o=>{const e=new Array;(o.value||[]).forEach((o=>{n||!o.number||t.includes(o.number)?e.push(o):t.includes(`[${o.number}`)?e.push(Object.assign(Object.assign({},o),{verse:"["+o.verse})):t.includes(`${o.number}]`)?e.push(Object.assign(Object.assign({},o),{halfverse:o.halfverse+"]"})):t.includes(`[${o.number}]`)&&e.push(Object.assign(Object.assign({},o),{verse:"["+o.verse,halfverse:o.halfverse+"]"}))})),s.push(Object.assign(Object.assign({},o),{value:e}))}))}else s=this.value;return s}versesInCitation(o){function e(o,e,s){return o&&e?"["+s+"]":o?"["+s:e?s+"]":s}const s=o.replace(/Ps[\w\.]*\s*/g,"").split(/\s*([\[\]\(\),:\s])\s*/).slice(1);let t=new Array,n=!1,h=!1;return(s||[]).forEach(((o,r)=>{"["!==o&&"("!==o||(n=!0),"]"!==s[r+1]&&")"!==s[r+1]||(h=!0);const[a,l]=o.replace(/[^\d-s–]/g,"").split(/-|–/);if(a&&l){const o=h;for(let s=parseInt(a);s<=parseInt(l);s++)h=o&&s==parseInt(l),t.push(e(n,h,s.toString())),n=!1}else a&&(t.push(e(n,h,a)),n=!1),h=!1})),t}includeAntiphon(){const o=this.metadata||{};return!!o.antiphon&&!o.omit_antiphon;
|
|
2
2
|
//!(this.style == 'canticle' && !metadata.omit_gloria);
|
|
3
3
|
}repeatAntiphon(o,e=0){const s=this.metadata||{};return 0==e&&(e=this.filteredVerses().length),this.includeAntiphon()&&!(s.omit_gloria&&o==e-1)}availableStyles(){return l}availableDisplayFormats(){return["default","omit","unison","wholeverse","halfverse"]}}const g=["preces","litany","responsive"];class m extends o{constructor(o={}){super(o)}availableStyles(){return g}availableDisplayFormats(){return[]}}class c extends o{constructor(o={}){super(o)}availableDisplayFormats(){return[]}}export{h as B,r as L,a as M,i as P,m as R,c as a}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h as e,r as t,c as i,H as l,d as n}from"./p-814a5a13.js";import{f as s}from"./p-011c0279.js";import"./p-
|
|
1
|
+
import{h as e,r as t,c as i,H as l,d as n}from"./p-814a5a13.js";import{f as s}from"./p-011c0279.js";import"./p-619c1cd7.js";import{P as o}from"./p-8ec26587.js";import{C as r}from"./p-991c0877.js";import{g as a}from"./p-546bb0de.js";import"./p-b7c33573.js";import"./p-add30d46.js";import"./p-4aeedb04.js";const c=({path:t,tree:i,label:l,desc:n,localeStrings:s,newCallback:o})=>new Array(e("ion-card",null,e("ion-card-header",null,e("ion-card-title",null,l),n&&e("ion-card-subtitle",null,n)),Object.keys(i).map((l=>e("section",null,e("ion-list",null,e("ion-list-header",null,l),i[l].map((i=>[e("ion-toolbar",null,e("ion-title",{slot:"start"},i.label," (",e("code",null,i.key),")"),e("ion-buttons",{slot:"end"},e("ldf-editable-delete",{base:t,index:i.key,type:"object",obj:i}))),e("ion-item",null,e("ldf-editable-preference",{path:t+"/"+i.key,preference:i}))])))))),e("ion-item",{lines:"none"},e("ion-button",{onClick:e=>o(e)},e("ion-icon",{slot:"start",name:"add"}),s.addPreference||"Add Preference")))),d={en:{addPreference:"Add Preference",cancel:"Cancel",label:"Label",new_preference:"New Preference",ok:"OK",preferences:"Preferences",special_preferences:"Special Preferences",special_preferences_desc:"These won’t be saved between sessions. (For example, you might include a ‘Footwashing’ setting to be used on Maundy Thursday.)"}},h=class{constructor(e){t(this,e),this.ldfDocShouldChange=i(this,"ldfDocShouldChange",7)}objChange(){var e,t,i,l;console.log("(EditablePreferences) obj changed, rebuilding trees"),this.currentPreferences=(null===(t=null===(e=this.obj)||void 0===e?void 0:e.metadata)||void 0===t?void 0:t.preferences)||{},this.tree=this.buildTree(this.currentPreferences),this.currentSpecialPreferences=(null===(l=null===(i=this.obj)||void 0===i?void 0:i.metadata)||void 0===l?void 0:l.special_preferences)||{},this.specialTree=this.buildTree(this.currentSpecialPreferences)}componentWillLoad(){var e,t,i,l,n,s,o,a;this.currentPreferences=(null===(t=null===(e=this.obj)||void 0===e?void 0:e.metadata)||void 0===t?void 0:t.preferences)||{},this.currentSpecialPreferences=(null===(l=null===(i=this.obj)||void 0===i?void 0:i.metadata)||void 0===l?void 0:l.special_preferences)||{},this.tree=this.buildTree(this.currentPreferences),this.specialTree=this.buildTree(this.currentSpecialPreferences),(null===(s=null===(n=this.obj)||void 0===n?void 0:n.metadata)||void 0===s?void 0:s.preferences)||this.ldfDocShouldChange.emit(new r({path:`${this.path}/preferences`,op:[{type:"set",value:{}}]})),(null===(a=null===(o=this.obj)||void 0===o?void 0:o.metadata)||void 0===a?void 0:a.special_preferences)||this.ldfDocShouldChange.emit(new r({path:`${this.path}/special_preferences`,op:[{type:"set",value:{}}]})),this.loadLocaleStrings()}async loadLocaleStrings(){try{this.localeStrings=d[a(this.element)]}catch(e){console.warn(e)}}buildTree(e){return function(e,t){return e.reduce(((e,i)=>Object.assign(Object.assign({},e),{[i]:Object.entries(t).map((([e,t])=>new o(Object.assign(Object.assign({},t),{key:e})))).filter((e=>e.category==i||!e.category&&"Preferences"==i)).sort(((e,t)=>e.index&&t.index?e.index<t.index?-1:1:e.label<t.label?-1:1))})),{})}(function(e){return Object.values(e).map((e=>e.category||"Preferences")).reduce(((e,t)=>e.includes(t)?e:[...e,t]),[])}(e),e)}async addPreference(){var e,t;const{key:i,label:l}=await this.grabKeyFromAlert();this.currentPreferences=Object.assign(Object.assign({},this.currentPreferences),{[i]:new o({key:i,label:l})}),this.tree=this.buildTree(this.currentPreferences),this.emit(null===(t=null===(e=this.obj)||void 0===e?void 0:e.metadata)||void 0===t?void 0:t.preferences,"preferences",i,this.currentPreferences[i])}async addSpecialPreference(){var e,t;const{key:i,label:l}=await this.grabKeyFromAlert();this.currentSpecialPreferences=Object.assign(Object.assign({},this.currentSpecialPreferences),{[i]:new o({key:i,label:l})}),this.specialTree=this.buildTree(this.currentSpecialPreferences),this.emit(null===(t=null===(e=this.obj)||void 0===e?void 0:e.metadata)||void 0===t?void 0:t.special_preferences,"special_preferences",i,this.currentSpecialPreferences[i])}async grabKeyFromAlert(){var e,t;const i=this.localeStrings||{},l=await s.create({header:i.new_preference,inputs:[{name:"label",type:"text",placeholder:i.label}],buttons:[{text:i.cancel||"Cancel",role:"cancel",cssClass:"danger"},{text:i.ok||"OK"}]});await l.present();const n=await l.onDidDismiss(),o=null===(t=null===(e=null==n?void 0:n.data)||void 0===e?void 0:e.values)||void 0===t?void 0:t.label;return{key:o.replace(/(?:^\w|[A-Z]|\b\w)/g,((e,t)=>0===t?e.toLowerCase():e.toUpperCase())).replace(/\s+/g,""),label:o}}emit(e,t,i,l){const n=`${this.path}/${t}`;this.ldfDocShouldChange.emit(new r(null==e?{path:n,op:[{type:"set",value:{[i]:l}}]}:{path:`${n}/${i}`,op:[{type:"set",value:l}]}))}render(){const t=this.localeStrings||{};return e(l,null,e("ion-header",null,e("ion-toolbar",null,e("ion-title",null,t.preferences),e("ion-buttons",{slot:"primary"},e("ion-button",{onClick:()=>this.modal.dismiss(null)},e("ion-icon",{slot:"icon-only",name:"close"}))))),e("ion-content",null,e(c,{path:`${this.path}/preferences`,tree:this.tree,label:t.preferences,newCallback:()=>this.addPreference(),localeStrings:t}),e(c,{path:`${this.path}/special_preferences`,tree:this.specialTree,label:t.special_preferences,desc:t.special_preferences_desc,newCallback:()=>this.addSpecialPreference(),localeStrings:t})))}get element(){return n(this)}static get watchers(){return{obj:["objChange"]}}};h.style="ldf-editable-preference.sc-ldf-editable-preferences{width:100%}";export{h as ldf_editable_preferences}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{L as s}from"./p-
|
|
1
|
+
import{L as s}from"./p-619c1cd7.js";const a=["normal","slideshow","carousel"];class r extends s{constructor(s={}){super(s)}availableStyles(){return a}availableDisplayFormats(){return[]}}export{r as I}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as i,h as n,H as d,f as a,c as t,d as o}from"./p-814a5a13.js";import{g as r}from"./p-b7c33573.js";import{c as g}from"./p-0e4de1d0.js";import{f as p}from"./p-011c0279.js";import"./p-
|
|
1
|
+
import{r as i,h as n,H as d,f as a,c as t,d as o}from"./p-814a5a13.js";import{g as r}from"./p-b7c33573.js";import{c as g}from"./p-0e4de1d0.js";import{f as p}from"./p-011c0279.js";import"./p-619c1cd7.js";import{R as e}from"./p-3f3b5ab1.js";import{C as s}from"./p-991c0877.js";import{g as l}from"./p-546bb0de.js";import"./p-add30d46.js";import"./p-4aeedb04.js";const m=class{constructor(n){i(this,n)}render(){const i=r(this);return n(d,{class:{[i]:!0,[`card-content-${i}`]:!0}})}};m.style={ios:"ion-card-content{display:block;position:relative}.card-content-ios{padding-left:20px;padding-right:20px;padding-top:20px;padding-bottom:20px;font-size:16px;line-height:1.4}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.card-content-ios{padding-left:unset;padding-right:unset;-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px}}.card-content-ios h1{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:24px;font-weight:normal}.card-content-ios h2{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:16px;font-weight:normal}.card-content-ios h3,.card-content-ios h4,.card-content-ios h5,.card-content-ios h6{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:14px;font-weight:normal}.card-content-ios p{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:14px}ion-card-header+.card-content-ios{padding-top:0}",md:"ion-card-content{display:block;position:relative}.card-content-md{padding-left:16px;padding-right:16px;padding-top:13px;padding-bottom:13px;font-size:14px;line-height:1.5}@supports (margin-inline-start: 0) or (-webkit-margin-start: 0){.card-content-md{padding-left:unset;padding-right:unset;-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px}}.card-content-md h1{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:24px;font-weight:normal}.card-content-md h2{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:16px;font-weight:normal}.card-content-md h3,.card-content-md h4,.card-content-md h5,.card-content-md h6{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:14px;font-weight:normal}.card-content-md p{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:14px;font-weight:normal;line-height:1.5}ion-card-header+.card-content-md{padding-top:0}"};const h=class{constructor(n){i(this,n)}render(){const i=r(this);return n(d,{role:"heading","aria-level":"2",class:g(this.color,{"ion-inherit-color":!0,[i]:!0})},n("slot",null))}};h.style={ios:":host{display:block;position:relative;color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-text-color, #000);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-size:28px;font-weight:700;line-height:1.2}",md:":host{display:block;position:relative;color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-color-step-850, #262626);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-size:20px;font-weight:500;line-height:1.2}"};
|
|
2
2
|
/*!
|
|
3
3
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
4
4
|
*/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{L as a}from"./p-619c1cd7.js";const t=["text","day","date"];class s extends a{constructor(a={}){super(a)}availableStyles(){return t}availableDisplayFormats(){return[]}}export{s as H}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as i,h as s,H as o,d as n}from"./p-814a5a13.js";import{L as e}from"./p-
|
|
1
|
+
import{r as t,c as i,h as s,H as o,d as n}from"./p-814a5a13.js";import{L as e}from"./p-619c1cd7.js";import{v as l,O as h}from"./p-8e59a930.js";import{g as r}from"./p-546bb0de.js";const a={en:{choose:"Choose a ",confirm:"Choose",includeAll:"Include all possibilities",version:"Version",psalm:"Psalm",collect:"Collect",reading:"Reading"}},c=class{constructor(s){t(this,s),this.ldfDocumentSelected=i(this,"ldfDocumentSelected",7),this.filteredOptions=[],this.versions={},this.options=[]}versionChange(){this.filter(this.search)}versionsChange(){this.version||(this.version=Object.keys(this.versions)[0]),this.filter(this.search)}optionsChange(){this.filter(this.search)}async setVersions(t){this.versions=Object.assign({},t)}async setOptions(t){this.options=t,this.optionsChange(),console.log("component setOptions",t)}async componentWillLoad(){this.loadLocaleStrings(),this.filteredOptions=this.options||[],this.version=(this.versions||[])[0],this.filter(this.search)}async loadLocaleStrings(){try{this.localeStrings=a[r(this.element)]}catch(t){console.warn(t)}}filter(t){var i;this.search=t,this.filteredOptions=null===(i=this.options)||void 0===i?void 0:i.filter((i=>{var s;return(!this.version||i.version==this.version)&&(!t||(null===(s=i.label)||void 0===s?void 0:s.match(t)))}))}chooseVersion(t){this.version=t}chooseDoc(t){this.doc=t}choose(){this.changeCallback&&this.changeCallback(this.doc),this.ldfDocumentSelected.emit(this.doc),this.modal&&this.modal.dismiss()}render(){const t=this.localeStrings||{};return s(o,null,this.modal&&s("ion-header",null,s("ion-toolbar",null,s("ion-buttons",{slot:"end"},s("ion-button",{onClick:()=>this.modal.dismiss()},s("ion-icon",{name:"close",slot:"icon-only"}))))),s("ion-content",null,s("form",null,s("ion-list",null,s("ion-button",{fill:"clear",onClick:()=>{this.chooseDoc(function(t){if(Array.isArray(t)){const i=Array.from(new Set(t.map((t=>JSON.stringify(t))))).map((t=>new e(JSON.parse(t))));let s;return s=i,(null==s?void 0:s.length)>1?new h({type:"option",metadata:{selected:0},value:s}):s[0]}return t}(this.filteredOptions)),this.choose()}},s("ion-label",null,t.includeAll)),this.versions&&Object.values(this.versions).length>1&&s("ion-item",null,s("ion-label",null,t.version),s("ion-select",{value:this.version,onIonChange:t=>this.chooseVersion(t.detail.value)},Object.entries(this.versions).sort(((t,i)=>t[0]>i[0]?1:-1)).map((([t,i])=>s("ion-select-option",{value:t},i))))),s("ion-searchbar",{onIonChange:t=>this.filter(t.detail.value)}),this.filteredOptions&&this.filteredOptions.map((t=>{var i,o,n,e;return s("ion-item",{button:!0,onClick:()=>{this.chooseDoc(t),this.choose()},color:t==this.doc?"primary":void 0},null!==(o=null!==(i=t.label)&&void 0!==i?i:t.version_label)&&void 0!==o?o:`${null!==(e=null!==(n=((t.value||[])[0]||{}).text)&&void 0!==n?n:(t.value||[])[0])&&void 0!==e?e:""}${t.citation?` (${t.citation})`:""}`)}))))))}get element(){return n(this)}static get watchers(){return{version:["versionChange"],versions:["versionsChange"],options:["optionsChange"]}}};c.style="form.sc-ldf-editable-filter-documents{display:flex;flex-direction:column;align-items:center}ion-button.sc-ldf-editable-filter-documents{display:block;margin:auto;text-align:center}";export{c as ldf_editable_filter_documents}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as i,h as s,d as e}from"./p-814a5a13.js";import"./p-
|
|
1
|
+
import{r as t,c as i,h as s,d as e}from"./p-814a5a13.js";import"./p-619c1cd7.js";import{C as l}from"./p-991c0877.js";import{g as n}from"./p-546bb0de.js";const o={en:{category:{add:"Add a Category",list:"Categories"},except:{add:"Except...",list:"Except the Following"},liturgyversions:{add:"Add a Liturgy Version",list:"Liturgy Versions"},only:{add:"Only",list:"Only the Following"}}},a=class{constructor(s){t(this,s),this.ldfDocShouldChange=i(this,"ldfDocShouldChange",7),this.optimisticValues=new Array}async componentWillLoad(){this.optimisticValues=this.value||new Array,this.loadLocaleStrings(),this.value&&Array.isArray(this.value)||this.ldfDocShouldChange.emit(new l({path:`${this.path}/${this.property}`,op:[{type:"set",value:new Array}]}))}async loadLocaleStrings(){try{this.localeStrings=o[n(this.element)]}catch(t){console.warn(t)}}onInput(t){var i;this.currentValue=null===(i=t.target.value)||void 0===i?void 0:i.toString()}onKeyDown(t){13!=t.keyCode&&188!=t.keyCode||(t.preventDefault(),this.add())}add(){let t;t=new l(this.optimisticValues?{path:`${this.path}/${this.property}`,op:[{type:"insertAt",index:this.optimisticValues.length,value:this.currentValue}]}:{path:`${this.path}/${this.property}`,op:[{type:"set",value:new Array(this.currentValue)}]}),this.optimisticValues.push(this.currentValue),this.currentValue="",this.ldfDocShouldChange.emit(t)}remove(t){const i=this.optimisticValues[t];this.optimisticValues.splice(t,1),this.optimisticValues=[...this.optimisticValues];const s=new l(this.optimisticValues.length>0?{path:`${this.path}/${this.property}`,op:[{type:"deleteAt",index:t,oldValue:i}]}:{path:`${this.path}/${this.property}`,op:[{type:"set",value:[],oldValue:[i]}]});this.ldfDocShouldChange.emit(s)}render(){const t=(this.localeStrings||{})[this.property]||{};return s("ion-item",{lines:"none"},s("div",{class:"wrapper"},s("ion-label",{position:"stacked"},t.list),s("ul",null,this.optimisticValues.map(((t,i)=>s("li",null,s("ion-chip",null,s("ion-label",null,t),s("ion-icon",{name:"close-circle",onClick:()=>this.remove(i)})))))),s("div",{class:"controls"},s("ion-input",{placeholder:t.add,onIonInput:t=>this.onInput(t),onKeyDown:t=>this.onKeyDown(t),value:this.currentValue}),s("ion-button",{onClick:()=>this.add()},s("ion-icon",{slot:"icon-only",name:"add"})))))}get element(){return e(this)}};a.style=".wrapper.sc-ldf-editable-string-list{display:flex;flex-direction:column}li.sc-ldf-editable-string-list{list-style-type:none;margin:0;padding:0}ul.sc-ldf-editable-string-list{display:flex;flex-direction:row;padding:0}.controls.sc-ldf-editable-string-list{display:flex;flex-direction:row}";export{a as ldf_editable_string_list}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as e,h as i,H as o,d as n}from"./p-814a5a13.js";import"./p-
|
|
1
|
+
import{r as t,c as e,h as i,H as o,d as n}from"./p-814a5a13.js";import"./p-619c1cd7.js";import{P as s,a as l}from"./p-8ec26587.js";import{C as a}from"./p-991c0877.js";import{g as r}from"./p-546bb0de.js";const d={en:{add:"Add an Option",category:"Category",description:"Description",label:"Label",option:"Option",preference:"Preference"}},h=class{constructor(i){t(this,i),this.ldfDocShouldChange=e(this,"ldfDocShouldChange",7)}optionChange(){this.currentPreference=this.preference||new s}componentWillLoad(){this.currentPreference=this.preference||new s,this.loadLocaleStrings()}async loadLocaleStrings(){try{this.localeStrings=d[r(this.element)]}catch(t){console.warn(t)}}addOption(t){this.currentPreference.options?(this.currentPreference.options.push(new l),this.ldfDocShouldChange.emit(new a({path:`${this.path}/options`,op:[{type:"insertAt",index:t,value:new l}]}))):(this.currentPreference.options=new Array,this.currentPreference.options.push(new l),this.ldfDocShouldChange.emit(new a({path:this.path,op:[{type:"set",index:"options",value:[new l]}]}))),this.currentPreference=new s(Object.assign({},this.currentPreference))}render(){var t,e,n,s;const l=this.localeStrings||{};return i(o,null,i("ion-list",null,i("ion-item",null,i("ion-label",{position:"stacked"},l.label),i("ldf-editable-text",{path:`${this.path}/label`,placeholder:l.label,short:!0,text:null===(t=this.currentPreference)||void 0===t?void 0:t.label})),i("ion-item",null,i("ion-label",{position:"stacked"},l.category),i("ldf-editable-text",{path:`${this.path}/category`,placeholder:l.category,short:!0,text:null===(e=this.currentPreference)||void 0===e?void 0:e.category})),i("ion-item",null,i("ion-label",{position:"stacked"},l.description),i("ldf-editable-text",{path:`${this.path}/description`,placeholder:l.description,short:!0,text:null===(n=this.currentPreference)||void 0===n?void 0:n.description})),((null===(s=this.currentPreference)||void 0===s?void 0:s.options)||[]).map(((t,e)=>[i("ion-toolbar",null,i("ion-title",{slot:"start"},l.option," ",e+1),i("ion-buttons",{slot:"end"},i("ldf-editable-delete",{slot:"end",base:`${this.path}/options`,index:e,obj:t}))),i("ldf-editable-preference-option",{path:`${this.path}/options/${e}`,option:t})])),i("ion-button",{onClick:()=>{var t,e;return this.addOption(null===(e=null===(t=this.currentPreference)||void 0===t?void 0:t.options)||void 0===e?void 0:e.length)},size:"small"},i("ion-icon",{slot:"start",name:"add"}),i("ion-label",null,l.add))))}get element(){return n(this)}static get watchers(){return{preference:["optionChange"]}}};export{h as ldf_editable_preference}
|