@venite/components 0.16.40 → 0.16.42
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-b04f6553.js → book-82e0876b.js} +3 -3
- package/dist/cjs/{heading-1243cde5.js → heading-b7872a4d.js} +1 -1
- package/dist/cjs/{image-7ff56371.js → image-75040cd8.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 +6 -6
- package/dist/cjs/ldf-day-name_5.cjs.entry.js +6 -6
- 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-491b2cc7.js → option-d7f9785e.js} +1 -1
- package/dist/cjs/{refrain-2089062b.js → refrain-dcde813a.js} +1 -1
- package/dist/cjs/{rubric-3ef36eea.js → rubric-03ef6457.js} +321 -6
- package/dist/cjs/{specific-class-3e56392a.js → specific-class-826d0b7c.js} +5 -5
- package/dist/cjs/{text-67a354ff.js → text-d86d8916.js} +1 -1
- package/dist/collection/components/string/string.js +3 -3
- package/dist/esm/{book-4795ea34.js → book-30d463e4.js} +3 -3
- package/dist/esm/{heading-dedd87c7.js → heading-3148493f.js} +1 -1
- package/dist/esm/{image-374f5ed7.js → image-72083f34.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 +6 -6
- package/dist/esm/ldf-day-name_5.entry.js +6 -6
- 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-4e49f550.js → option-6f3f65cd.js} +1 -1
- package/dist/esm/{refrain-984f9410.js → refrain-7bd7ce8a.js} +1 -1
- package/dist/esm/{rubric-5c072ba1.js → rubric-3418353f.js} +321 -6
- package/dist/esm/{specific-class-23168094.js → specific-class-eeefc413.js} +5 -5
- package/dist/esm/{text-2ec5b6b3.js → text-8a1f3c31.js} +1 -1
- package/dist/ldf/ldf.esm.js +1 -1
- package/dist/ldf/{p-fdd761c5.entry.js → p-0275ff97.entry.js} +1 -1
- package/dist/ldf/{p-28c57ab2.entry.js → p-032ca4fb.entry.js} +1 -1
- package/dist/ldf/p-0a291888.entry.js +1 -0
- package/dist/ldf/{p-06480ead.entry.js → p-13c95df6.entry.js} +1 -1
- package/dist/ldf/{p-2d75b171.entry.js → p-1c013e13.entry.js} +1 -1
- package/dist/ldf/{p-e930dae9.entry.js → p-28f67c35.entry.js} +1 -1
- package/dist/ldf/{p-e23817f2.entry.js → p-3402f431.entry.js} +1 -1
- package/dist/ldf/p-35932594.js +3 -0
- package/dist/ldf/{p-6c5d1e15.entry.js → p-3d550f37.entry.js} +1 -1
- package/dist/ldf/{p-d9994330.js → p-4346d5f8.js} +1 -1
- package/dist/ldf/{p-b0ceb153.js → p-4cecd5be.js} +1 -1
- package/dist/ldf/{p-de8a07a7.entry.js → p-531b0af0.entry.js} +1 -1
- package/dist/ldf/{p-4ecb68ed.entry.js → p-74080a1b.entry.js} +1 -1
- package/dist/ldf/{p-83ec2b27.entry.js → p-75403c72.entry.js} +1 -1
- package/dist/ldf/{p-0f92b1b7.entry.js → p-76b4b747.entry.js} +1 -1
- package/dist/ldf/p-809c58d3.js +1 -0
- package/dist/ldf/{p-37b167f9.entry.js → p-8bd9886e.entry.js} +1 -1
- package/dist/ldf/{p-0aca5787.entry.js → p-a54d398b.entry.js} +1 -1
- package/dist/ldf/{p-25fb58d0.entry.js → p-b5f92da4.entry.js} +1 -1
- package/dist/ldf/{p-97ada7f4.js → p-be6a5a82.js} +1 -1
- package/dist/ldf/p-ce877995.js +1 -0
- package/dist/ldf/{p-5e7c2a87.entry.js → p-d44d4a30.entry.js} +1 -1
- package/dist/ldf/p-de7668ff.js +1 -0
- package/dist/ldf/p-ec2306de.js +1 -0
- package/dist/ldf/{p-e8ce0eea.entry.js → p-f51f98ee.entry.js} +1 -1
- package/package.json +2 -2
- package/dist/ldf/p-335eed62.entry.js +0 -1
- package/dist/ldf/p-47600061.js +0 -3
- package/dist/ldf/p-49174004.js +0 -1
- package/dist/ldf/p-a2e30644.js +0 -1
- package/dist/ldf/p-a97ca6c2.js +0 -1
- package/dist/ldf/p-cb1922dc.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{L as e}from"./p-
|
|
1
|
+
import{L as e}from"./p-809c58d3.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(),p=this.uniqueCanticleNumbers();let c="";if(e.version_label)c=e.version_label;else if("liturgy"==e.type)c=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/))))c=e.label;else if("psalm"==e.type&&o>1)c=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)c=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}”)`:"";c=o>1?`${e.citation.toString()} (${e.version})${l}`:`${e.citation.toString()}${l}`}else if("bible-reading"==e.type&&1==b)c=i(e.version);else if("bible-reading"==e.type&&e.citation&&1==o)c=e.citation.toString();else if("bible-reading"==e.type&&e.citation&&o>1)c=`${e.citation.toString()} (${i(e.version)})`;else if(1==o&&"psalm"==e.type&&"canticle"==e.style&&e.metadata&&e.metadata.localname)c=e.metadata.localname;else if(o>1&&1===p)c=l[i(s(e))];else if(o>1&&e.metadata&&e.metadata.hasOwnProperty("localname")&&e.version)c=`${e.metadata.localname} (${l[i(s(e))]})`;else if(e.version_label&&"bcp1979"!==e.version_label)c=e.version_label;else if(e.label&&u>1&&1==o)c=e.label;else if(e.label&&u>1&&o>1)c=`${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)c=l[i(s(e))];else if(e.citation)c=e.citation.toString();else{if(!e.value)throw`Unable to generate a label from ${JSON.stringify(e)}`;c=`“${JSON.stringify(e.value).replace(/[\[\]\{\}\"\'\:]/g," ").replace(/\\n/g," ").trim()}”`}else c=e.metadata.localname;return c.length>t?c.substring(0,t)+"...":c}}export{t as O,i as v}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{L as r}from"./p-809c58d3.js";const e=["text","prayer","markdown","authorized-prayers"];class s extends r{constructor(r={}){super(r)}availableStyles(){return e}}export{s as T}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as i,c as t,h as e,H as a,d as l}from"./p-814a5a13.js";import{L as n}from"./p-
|
|
1
|
+
import{r as i,c as t,h as e,H as a,d as l}from"./p-814a5a13.js";import{L as n}from"./p-809c58d3.js";import{C as o}from"./p-991c0877.js";import{s}from"./p-ec2306de.js";import{g as r}from"./p-546bb0de.js";import"./p-35932594.js";import"./p-de7668ff.js";import"./p-be6a5a82.js";import"./p-4cecd5be.js";import"./p-ce877995.js";const d={en:{abbreviated:"Abbreviated",advanced:"Advanced Settings",antiphon:"Antiphon","authorized-prayers":"Prayers & Thanksgivings","bible-reading":"Bible Reading",canticle:"Canticle",category:"Category",citation:"Biblical Citation",collect:"Collect",condition:"Condition",default:"Default",delete:"Delete",display_format:"Display Format",gloria:"Gloria",halfverse:"By Half-Verse",heading:"Heading",invitatory:"Invitatory",label:"Label",language:"Language",lectionary:"Lectionary",litany:"Litany",liturgy:"Liturgy",long:"Long",markdown:"Rich Text (Markdown)",meditation:"Meditation",modalTitle:"Edit Settings",normal:"Normal",omit:"Omit Text",option:"Option",prayer:"Prayer",preces:"Preces",psalm:"Psalm",refrain:"Refrain",responsive:"Responsive Prayer",rubric:"Rubric",settings:"Settings",short:"Short",slug:"Slug","source/source":"Source","source/citation":"Citation within Source",style:"Style",text:"Text",title:"General Settings",tradition:"Tradition",type:"Type",unison:"Unison",version:"Version",version_label:"Version Label",wholeverse:"By Whole Verse"}},c=class{constructor(e){i(this,e),this.ldfDocShouldChange=t(this,"ldfDocShouldChange",7),this.showAdvanced=!1}docChanged(i){try{this.obj=s("string"==typeof i?JSON.parse(i):i)}catch(i){console.warn(i),this.obj=new n}}componentWillLoad(){this.docChanged(this.doc),this.collapsedState=this.collapsed,this.loadLocaleStrings(),this.initializeMetadata()}async loadLocaleStrings(){try{this.localeStrings=d[r(this.element)]}catch(i){console.warn(i)}}initializeMetadata(){this.obj.metadata||(this.obj.metadata={},this.ldfDocShouldChange.emit(new o({path:`${this.path}/metadata`,op:[{type:"set",value:{}}]}))),this.obj.source||(this.obj.source={api:"",source:"",citation:""},this.ldfDocShouldChange.emit(new o({path:`${this.path}/source`,op:[{type:"set",value:{api:"",source:"",citation:""}}]})))}render(){var i,t;const l=this.localeStrings||{},o=this.obj.availableTypes()||[],r=this.obj.availableStyles()||[],d=this.obj.availableDisplayFormats()||[],c=({field:i,types:t,onChange:a})=>e("ion-item",{lines:"none"},e("ion-label",{"arial-label":l[i],position:"stacked"},l[i]),e("ldf-editable-select",{id:i,path:this.path,property:i,value:this.obj[i],options:t.map((i=>({value:i,label:l[i]||i}))),onLdfChange:i=>a(i.detail)})),h=({name:i})=>{const t=i.includes("/"),a=i.split("/"),n=t?(this.obj[a[0]]||{})[a[1]]:this.obj[i];return e("ion-item",{lines:"none"},e("ion-label",{"aria-label":l[i],position:"stacked"},l[i]),e("ldf-editable-text",{id:i,short:!0,path:`${this.path}/${i}`,text:n,placeholder:l[i]}))};return e(a,null,e("ion-header",null,e("ion-toolbar",null,e("ion-title",null,l.modalTitle),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("form",{class:{metadata:!0,hidden:this.collapsedState,visible:!this.collapsedState}},e("ldf-editable-metadata-metadata-fields",{path:this.path,doc:this.obj}),e("ion-card",null,e("ion-card-header",null,e("ion-card-title",null,l.title)),e("ion-card",null,e("ion-grid",null,e("ion-row",null,e("ion-col",null,e(h,{name:"label"})),e("ion-col",null,(null==d?void 0:d.length)>0&&e(c,{field:"display_format",types:d}))),e("ion-row",null,e("ion-col",null,e(h,{name:"source/source"})),e("ion-col",null,e(h,{name:"source/citation"})),e("ion-col",null,e(h,{name:"citation"})))))),e("ion-card",null,e("ion-card-header",{class:"advanced",onClick:()=>this.showAdvanced=!this.showAdvanced},e("ion-buttons",null,e("ion-button",null,!this.showAdvanced&&e("ion-icon",{slot:"icon-only",name:"chevron-forward"}),this.showAdvanced&&e("ion-icon",{slot:"icon-only",name:"chevron-down"}))),e("ion-card-title",null,l.advanced)),this.showAdvanced&&e("ion-card-content",null,e("ion-grid",null,e("ion-row",null,e("ion-col",{size:"4"},e(c,{field:"type",types:o,onChange:i=>this.obj=s(new n(Object.assign(Object.assign({},this.obj),{type:i})))})),e("ion-col",null,(null==r?void 0:r.length)>0&&e(c,{field:"style",types:r}))),e("ion-row",null,e("ion-col",null,e(h,{name:"tradition"})),e("ion-col",null,e(h,{name:"language"})),e("ion-col",null,e(h,{name:"version"}))),e("ion-row",null,e("ion-col",null,e(h,{name:"version_label"})),e("ion-col",null,e(h,{name:"slug"}))),e("ion-row",null,e("ion-col",{size:"12"},e("ldf-editable-string-list",{path:this.path,property:"category",value:this.obj.category}))),e("ion-row",null,e("ion-col",{size:"12"},e("ldf-editable-lookup",{path:`${this.path}/lookup`,lookup:null===(i=this.obj)||void 0===i?void 0:i.lookup,types:null===(t=this.obj)||void 0===t?void 0:t.availableLookupTypes()})))))))))}get element(){return l(this)}static get watchers(){return{doc:["docChanged"]}}};c.style=".metadata.sc-ldf-editable-metadata fieldset.sc-ldf-editable-metadata{border:0;display:flex;flex-direction:row}.metadata.sc-ldf-editable-metadata fieldset.sc-ldf-editable-metadata ion-item.sc-ldf-editable-metadata{min-width:100px}.visible.sc-ldf-editable-metadata{opacity:1;transition:0.25s;visibility:visible}.hidden.sc-ldf-editable-metadata{opacity:0;transition:0.25s;visibility:hidden}.metadata.visible.sc-ldf-editable-metadata{height:auto;transition:0.75s;visiblity:visible}.metadata.hidden.sc-ldf-editable-metadata{height:0;opacity:1;transition:0.125s}ion-card-header.advanced.sc-ldf-editable-metadata{display:flex;flex-direction:row}";export{c as ldf_editable_metadata}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{L as a}from"./p-809c58d3.js";const t=["text","day","date"];class s extends a{constructor(a={}){super(a)}availableStyles(){return t}availableDisplayFormats(){return[]}}export{s as H}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{M as e,P as r,B as s,R as a,a as n,L as t}from"./p-35932594.js";import{H as i}from"./p-de7668ff.js";import{O as c}from"./p-be6a5a82.js";import{R as o}from"./p-4cecd5be.js";import{T as u}from"./p-ce877995.js";function p(p){switch(p.type){case"liturgy":return new t(p);case"heading":return new i(p);case"option":return new c(p);case"refrain":return new o(p);case"rubric":return new n(p);case"text":return new u(p);case"responsive":return new a(p);case"bible-reading":return new s(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
|
|
1
|
+
import{r as t,c as l,h as e,H as i,d as a}from"./p-814a5a13.js";import"./p-809c58d3.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}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@venite/components",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.42",
|
|
4
4
|
"description": "Rendering components for the Venite.app Liturgical Document Format (LDF)",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"license": "MIT",
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@ionic/core": "^6.2.5",
|
|
44
|
-
"@venite/ldf": "^0.21.
|
|
44
|
+
"@venite/ldf": "^0.21.40",
|
|
45
45
|
"diff-match-patch": "^1.0.4",
|
|
46
46
|
"query-selector-shadow-dom": "^0.4.6",
|
|
47
47
|
"showdown": "^1.9.1",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,h as t,H as n,d as a,c as o}from"./p-814a5a13.js";import{a as r,d as i}from"./p-a2e30644.js";import{T as s}from"./p-a97ca6c2.js";import{g as l}from"./p-546bb0de.js";import{H as d}from"./p-cb1922dc.js";import{c as u,a as c}from"./p-3e8ff66b.js";import{m as h}from"./p-011c0279.js";import"./p-b7c33573.js";import"./p-add30d46.js";import"./p-4aeedb04.js";class f{constructor(e={}){this.api="https://www.venite.app/api",Object.assign(this,e)}toString(e=!1){return e?this.citation:`${this.source} ${this.citation}`}}const m={en:{after:" after ",the:" the "},es:{after:" después de ",the:" el ","The Holy Name of Our Lord Jesus Christ":"El Santo Nombre de Nuestro Señor Jesucristo","The Epiphany of Our Lord Jesus Christ":"La Epifanía de Nuestro Señor Jesucristo","[Harriet Bedell, Deaconess and Missionary, 1969]":"","Julia Chester Emery, 1922":"Julia Chester Emery, 1922","William Laud, Archbishop of Canterbury, 1645":"Guillermo Laud, Arzobispo de Cantórbery, 1645","Aelred, Abbot of Rievaulx, 1167":"Aelred, Abad de Rievaulx, 1167","Hilary, Bishop of Poitiers, 367":"Hilario, Obispo de Poitiers, 367","Antony, Abbot in Egypt, 356":"Antoine, Abad en Egipto, 356","The Confession of Saint Peter the Apostle":"La Confesión de San Pedro, Apóstol","Wulfstan, Bishop of Worcester, 1095":"Wulfstán, Obispo de Worcester, 1095","Fabian, Bishop and Martyr of Rome, 250":"Fabián, Obispo y Mártir de Roma, 250","Agnes, Martyr at Rome, 304":"Inés, Mártir en Rome, 304","Vincent, Deacon of Saragossa, and Martyr, 304":"Vicente, Diácono de Zaragoza y Mártir, 304","Phillips Brooks, Bishop of Massachusetts, 1893":"Phillips Brooks, Obispo de Massachusetts, 1893","Ordination of Florence Li Tim-Oi, First Woman Priest in the Anglican Communion, 1944":"[La ordenación de Florencia Li Tim-Oi, Primera Mujer Sacerdote en la Comunión Anglicano, 1944]","The Conversion of Saint Paul the Apostle":"La Conversión de San Pablo, Apóstol","Timothy and Titus, Companions of Saint Paul":"Timoteo y Tito, Compañeros de San Pabloe","John Chrysostom, Bishop of Constantinople, 407":"Juan Crisóstomo, Obispo de Constantinopla, 407","Thomas Aquinas, Priest and Friar, 1274":"Tomás de Aquino, Presbítero y Fraile, 1274","Brigid (Bride), 523":"Brigid (Prometida), 523","The Presentation of Our Lord Jesus Christ in the Temple":"La Presentación de Nuestro Señor Jesucristo en el Templo","Anskar, Archbishop of Hamburg, Missionary to Denmark and Sweden, 865":"Anscario, Arzobispo de Hamburgo, Misionero a Dinamarca y Suecia, 865","Cornelius the Centurion":"Cornelio el Centurión","The Martyrs of Japan, 1597":"Los Mártires del Japón, 1597","Absalom Jones, Priest, 1818":"Absalón Jones, Presbítero, 1818","Cyril, Monk, and Methodius, Bishop, Missionaries to the Slavs, 869, 885":"Cirilo, Monje, y Metodio, Obispo, Misioneros a los Eslavos, 869, 885","Thomas Bray, Priest and Missionary, 1730":"Tomás Bray, Presbítero, Misionero, 1730","Janani Luwum, Archbishop of Uganda, and Martyr, 1977":"[Janani Luwum, Arzobispo de Uganda y Mártir, 1977]","Martin Luther, 1546":"Martin Luther, 1546","Polycarp, Bishop and Martyr of Smyrna, 156":"Policarpo, Obispo y Mártir de Esmirna, 156","Saint Matthias the Apostle":"San Matías, Apóstol","George Herbert, Priest, 1633":"Jorge Herbert, Presbítero, 1633","[Anna Julia Haywood Cooper, Educator, 1964]":"","David, Bishop of Menevia, Wales, c. 544":"David, Obispo de Menevia, Gales, c. 544","Chad, Bishop of Lichfield, 672":"Chad, Obispo de Lichfield, 672","John and Charles Wesley, Priests, 1791, 1788":"Juan y Carlos Wesley, Sacerdotes, 1791, 1788","Perpetua and her Companions, Martyrs at Carthage, 202":"Perpetua y sus Compañeros, Mártires en Cartago, 202","Gregory, Bishop of Nyssa, c. 394":"Gregorio, Obispo de Nisa, c. 394","Gregory the Great, Bishop of Rome, 604":"Gregorio Magno, Obispo de Roma, 604","[James Theodore Holly, Bishop of Haiti, and of the Dominican Republic, 1911]":"","Patrick, Bishop and Missionary of Ireland, 461":"Patricio, Obispo y Misionero de Irlanda, 461","Cyril, Bishop of Jerusalem, 386":"Cirilo, Obispo de Jerusalén, 386","Saint Joseph":"San José","Cuthbert, Bishop of Lindisfarne, 687":"Cutberto, Obispo de Lindisfarne, 687","Thomas Ken, Bishop of Bath and Wells, 1711":"Tomás Ken, Obispo de Bath y Wells, 1711","James De Koven, Priest, 1879":"Jaime De Koven, Presbítero, 1879","Gregory the Illuminator, Bishop and Missionary of Armenia, c. 332":"Gregorio el Iluminador, Obispo y Misionero de Armenia, 332","[Óscar Romero, Archbishop of San Salvador, and the Martyrs of San Salvador, 1980]":"","The Annunciation of Our Lord Jesus Christ to the Blessed Virgin Mary":"La Anunciación de Nuestro Señor Jesucristo a la Bienaventurada Virgen María","Charles Henry Brent, Bishop of the Philippines, and of Western New York, 1929":"Carlos Enrique Brent, Obispo de las Filipinas, y del Occidente de Nueva York, 1929","John Keble, Priest, 1866":"Juan Keble, Presbítero, 1866","John Donne, Priest, 1631":"Juan Donne, Presbítero, 1631","Frederick Denison Maurice, Priest, 1872":"Federico Denison Maurice, Presbítero, 1872","James Lloyd Breck, Priest, 1876":"Jaime Lloyd Breck, Presbítero, 1876","Richard, Bishop of Chichester, 1253":"Ricardo, Obispo de Chichester, 1253","Martin Luther King, Jr., Civil Rights Leader, 1968":"Martin Luther King, Jr., Lider de los Derechos Civiles, 1968","[Tikhon, Patriarch of Russia, Confessor and Ecumenist, 1925]":"","William Augustus Muhlenberg, Priest, 1877":"Guillermo Augusto Muhlenberg, Presbítero, 1877","Dietrich Bonhoeffer, 1945":"Dietrich Bonhoeffer, 1945","William Law, Priest, 1761":"Guillermo Law, Presbítero, 1761","George Augustus Selwyn, Bishop of New Zealand, and of Lichfield, 1878":"Jorge Augusto Selwyn, Primer Obispo Misionero de Nueva Zelandia y de Lichfield, 1878","Alphege, Archbishop of Canterbury, and Martyr, 1012":"Alfeo, Arzobispo de Cantórbery y Mártir, 1012","Anselm, Archbishop of Canterbury, 1109":"Anselmo, Arzobispo de Cantórbery, 1109","Saint Mark the Evangelist":"San Marcos, Evangelista","Catherine of Siena, 1380":"Caterina de Siena, 1380","Saint Philip and Saint James, Apostles":"San Felipe y Santiago, Apóstoles","Athanasius, Bishop of Alexandria, 373":"Atanasio, Obispo de Alejandría, 373","Monnica, Mother of Augustine of Hippo, 387":"Mónica, Madre de Agustín de Hipona, 387","Dame Julian of Norwich, c. 1417":"La Dama Juliana de Norwich, c. 1417","Gregory of Nazianzus, Bishop of Constantinople, 389":"Gregorio de Nazianzus, Obispo de Constantinopla, 389","Dunstan, Archbishop of Canterbury, 988":"Dunstán, Arzobispo de Cantórbery, 988","Alcuin, Deacon, and Abbot of Tours, 804":"Alcuino, Diácono y Abad de Tours, 804","Jackson Kemper, First Missionary Bishop in the United States, 1870":"Jackson Kemper, Primer Obispo Misionero en los Estados Unidos, 1870","Bede, the Venerable, Priest, and Monk of Jarrow, 735":"Beda el Venerable, Presbítero y Monje de Jarrow, 735","Augustine, First Archbishop of Canterbury, 605":"Agustín, Primer Arzobispo de Cantórbery, 605","The Visitation of the Blessed Virgin Mary":"La Visitación de la Bienaventurada Virgen María","Justin, Martyr at Rome, c. 167":"Justino, Mártir en Roma, c. 167","The Martyrs of Lyons, 177":"Los Mártires de Lión, 177","The Martyrs of Uganda, 1886":"Los Mártires de Uganda, 1886","Boniface, Archbishop of Mainz, Missionary to Germany, and Martyr, 754":"Bonifacio, Arzobispo de Maguncia, Misionero en Alemania y Mártir, 754","Columba, Abbot of Iona, 597":"Columba, Abad de Iona, 597","Ephrem of Edessa, Syria, Deacon, 373":"Efrén de Edesa, Siria, Diácono, 373","Saint Barnabas the Apostle":"San Bernabé, Apóstol","Enmegahbowh, Priest and Missionary, 1902":"Emmegahbowh, Sacerdote y Misionero, 1902","Basil the Great, Bishop of Caesarea, 379":"Basilio Magno, Obispo de Cesarea, 379","Evelyn Underhill, 1941":"Evelyn Underhill, 1941","Joseph Butler, Bishop of Durham, 1752":"José Butler, Obispo de Durham, 1752","Bernard Mizeki, Catechist and Martyr in Rhodesia, 1896":"Bernard Mizeki, Catequista y Mártir en Rodesia, 1896","Alban, First Martyr of Britain, c. 304":"Albán, Primer Mártir de Bretaña, 304","The Nativity of Saint John the Baptist":"La Natividad de San Juan Bautista","Irenaeus, Bishop of Lyons, c. 202":"Ireneo, Obispo de Lión, c. 202","Saint Peter and Saint Paul, Apostles":"San Pedro y San Pablo, Apóstoles","Independence Day":"Día de la Independencia (EE. UU. AA.)","Benedict of Nursia, Abbot of Monte Cassino, c. 540":"Benito de Nursia, Abad de Monte Casino, c. 540","William White, Bishop of Pennsylvania, 1836":"Guillermo White, Obispo de Pensilvania, 1836","Macrina, Monastic and Teacher, 379":"Macrina, Monastica y Maestra, 379","Elizabeth Cady Stanton, Amelia Bloomer, Sojourner Truth, and Harriet Ross Tubman":"Elisabeth Cady Stanton, Amelia Bloomer, Sojourner Truth, y Harriet Ross Tubman","Saint Mary Magdalene":"Santa María Magdalena","Thomas a Kempis, Priest, 1471":"Tomás de Kempis, Presbítero, 1471","Saint James the Apostle":"Santiago, Apóstol","The Parents of the Blessed Virgin Mary":"Los Padres de la Bienaventurada Virgen María","William Reed Huntington, Priest, 1909":"Guillermo Reed Huntington, Presbítero, 1909","Mary and Martha of Bethany":"María y Marta de Betanía","William Wilberforce, 1833":"Guillermo Wilberforce, 1833","Ignatius of Loyola, 1556":"Ignacio de Loyola, 1556","Joseph of Arimathaea":"José de Arimathaea","The Transfiguration of Our Lord Jesus Christ":"La Transfiguración de Nuestro Señor Jesucristo","John Mason Neale, Priest, 1866":"Juan Mason Neale, Presbítero, 1866","Dominic, Priest and Friar, 1221":"Domingo, Presbítero y Fraile, 1221","Laurence, Deacon, and Martyr at Rome, 258":"Lorenzo, Diácono y Mártir en Roma, 258","Clare, Abbess at Assisi, 1253":"Clara, Abadesa en Asís, 1253","Florence Nightingale, Nurse, Social Reformer, 1910":"Florence Nightingale, Enfermera, Reformadora Social, 1910","Jeremy Taylor, Bishop of Down, Connor, and Dromore, 1667":"Jeremías Taylor, Obispo de Down, Connor y Dromore, 1667","Jonathan Myrick Daniels, Seminarian and Witness for Civil Rights, 1965":"Jonathan Myrick Daniels, Seminarista y Testigo de Derechos Civiles, 1965","Saint Mary the Virgin, Mother of Our Lord Jesus Christ":"Santa María Virgen, Madre de Nuestro Señor Jesucristo","William Porcher DuBose, Priest, 1918":"Guillermo Porcher DuBose, Presbítero, 1918","Bernard, Abbot of Clairvaux, 1153":"Bernardo, Abad de Claraval, 1153","Saint Bartholomew the Apostle":"San Bartolomé, Apóstol","Louis, King of France, 1270":"Luis, Rey de Francia, 1270","Thomas Gallaudet, 1902 with Henry Winter Syle, 1890":"Tomás Gallaudet, 1902, con Henry Winter Syle, 1890","Augustine, Bishop of Hippo, 430":"Agustín, Obispo de Hipona, 430","Aidan, Bishop of Lindisfarne, 651":"Aidán, Obispo de Lindisfarne, 651","David Pendleton Oakerhater, Deacon and Missionary, 1931":"David Pendleton Oakerhater, Diácono y Misionero, 1931","The Martyrs of New Guinea, 1942":"Los Mártires de Nueva Guinea, 1942","Paul Jones, 1941":"Pablo Jones, 1941","Constance, Nun, and her Companions, 1878":"Constancia, Monja, y sus Compañeros, 1878","Alexander Crummell, 1898":"Alexander Crummell, 1898","John Henry Hobart, Bishop of New York, 1830":"Juan Enrique Hobart, Obispo de Nueva York, 1830","Cyprian, Bishop and Martyr of Carthage, 258":"Cipriano, Obispo y Mártir de Cartago, 258","Holy Cross Day":"Día de la Santa Cruz","Ninian, Bishop in Galloway, c. 430":"Ninian, Obispo de Galloway, c. 430","Hildegard, 1179":"Hildegard, 1179","Edward Bouverie Pusey, Priest, 1882":"Eduardo Bouverie Pusey, Presbítero, 1882","Theodore of Tarsus, Archbishop of Canterbury, 690":"Teodoro de Tarso, Arzobispo de Cantórbery, 690","John Coleridge Patteson, Bishop of Melanesia, and his Companions, Martyrs, 1871":"Juan Coleridge Patteson, Obispo de Melanesia, y sus Compañeros, Mártires, 1871","Saint Matthew, Apostle and Evangelist":"San Mateo, Apóstol y Evangelista","Philander Chase, Bishop of Ohio, and of Illinois, 1852":"[Philander Chase, Obispo de Ohio y de Illinois, 1852]","Sergius, Abbot of Holy Trinity, Moscow, 1392":"Sergio, Abad de la Santísima Trinidad, Moscú, 1392","Lancelot Andrewes, Bishop of Winchester, 1626":"Lancelot Andrewes, Obispo de Winchester, 1626","Saint Michael and All Angels":"San Miguel y Todos los Angeles","Jerome, Priest, and Monk of Bethlehem, 420":"Jerónimo, Presbítero y Monje en Belén, 420","Remigius, Bishop of Rheims, c. 530":"Remigio, Obispo de Roma, c. 530","Francis of Assisi, Friar, 1226":"Francisco de Asís, Fraile, 1226","William Tyndale, Priest, 1536":"Guillermo Tyndale, Presbítero, 1536","Robert Grosseteste, Bishop of Lincoln, 1253":"Roberto Grosseteste, Obispo de Lincoln, 1253","[Vida Dutton Scudder, Educator and Witness for Peace, 1954]":"","Philip, Deacon and Evangelist":"Felipe, Diácono y Evangelista","Samuel Isaac Joseph Schereschewsky, Bishop of Shanghai, 1906":"Samuel Isaac José Schereschewsky, Obispo de Shanghai, 1906","Teresa of Avila, Nun, 1582":"Teresa de Avila, Monja, 1582","Hugh Latimer and Nicholas Ridley, Bishops, 1555 and Thomas Cranmer, Archbishop of Canterbury, 1556":"Hugo Latimer y Nicolás Ridley, Obispos, 1555 et Tomás Cranmer, Arzobispo de Cantórbery, 1556","Ignatius, Bishop of Antioch, and Martyr, c. 115":"Ignacio, Obispo de Antioquia y Mártir, c. 115","Saint Luke the Evangelist":"San Lucas, Evangelista","Henry Martyn, Priest, and Missionary to India and Persia, 1812":"Enrique Martyn, Presbítero y Misionero a la India y Persia, 1812","Saint James of Jerusalem, Brother of Our Lord Jesus Christ, and Martyr, c. 62":"Santiago de Jerusalén, Hermano de Nuestro Señor Jesucristo, Mártir, c. 62","Alfred the Great, King of the West Saxons, 899":"Alfredo el Grande, Rey de los Sajones Occidentales, 899","Saint Simon and Saint Jude, Apostles":"San Simón y San Judas, Apóstoles","James Hannington, Bishop of Eastern Equatorial Africa, and his Companions, Martyrs, 1885":"Jaime Hannington, Obispo de Africa del Este Ecuatorial, y sus Compañeros, Mártires, 1885","All Saints":"Todos los Santos","Commemoration of All Faithful Departed":"Conmemoración de los Fieles Difuntos","Richard Hooker, Priest, 1600":"Ricardo Hooker, Presbítero, 1600","William Temple, Archbishop of Canterbury, 1944":"[Guillermo Temple, Arzobispo de Cantórbery, 1944]","Willibrord, Archbishop of Utrecht, Missionary to Frisia, 739":"Willibrord, Arzobispo de Utrecht, Misionero a Frisia, 739","Leo the Great, Bishop of Rome, 461":"Léon Magno, Obispo de Roma, 461","Martin, Bishop of Tours, 397":"Martín, Obispo de Tours, 397","Charles Simeon, Priest, 1836":"Carlos Simeón, Presbítero, 1836","Consecration of Samuel Seabury, First American Bishop, 1784":"Consagración de Samuel Seabury, Primer Obispo de los Estados Unidos, 1784","Margaret, Queen of Scotland, 1093":"Margarita, Reina de Escocia, 1093","Hugh, Bishop of Lincoln, 1200":"Hugo, Obispo de Lincoln, 1200","Hilda, Abbess of Whitby, 680":"Hilda, Abadesa de Whitby, 680","Elizabeth, Princess of Hungary, 1231":"Isabel, Princesa de Hungría, 1231","Edmund, King of East Anglia, 870":"Edmundo, Rey de Anglia del Este, 870","Clive Staples Lewis, Apologist and Spiritual Writer, 1963":"[Clive Staples Lewis, Apologistal y Escritor Espiritual, 1963]","Clement, Bishop of Rome, c. 100":"Clemente, Obispo de Roma, c. 100","James Otis Sargent Huntington, Priest and Monk, 1935":"Jaime Otis Sargent Huntington, Presbítero y Monje, 1935","Kamehameha and Emma, King and Queen of Hawaii, 1864, 1885":"Kamehameha y Emma, Rey y Reina de Hawaii, 1864, 1885","Saint Andrew the Apostle":"San Andrés, Apóstol","Nicholas Ferrar, Deacon, 1637":"Nicolás Ferrar, Diácono, 1637","Channing Moore Williams, Missionary Bishop in China and Japan, 1910":"Channing Moore Williams, Obispo Misionero en China y Japón, 1910","John of Damascus, Priest, c. 760":"Juan Damascena, Presbítero, c. 760","Clement of Alexandria, Priest, c. 210":"Clemente de Alejandría, Presbítero, c. 210","Nicholas, Bishop of Myra, c. 342":"Nicolás, Obispo de Mira, c. 342","Ambrose, Bishop of Milan, 397":"Ambrosio, Obispo de Milán, 397","Saint Thomas the Apostle":"Santo Tomás, Apóstol","The Nativity of Our Lord Jesus Christ":"La Natividad de Nuestro Señor Jesucristo","Saint Stephen, Deacon and Martyr":"San Esteban, Diácono y Mártir","Saint John, Apostle and Evangelist":"San Juan, Apóstol y Evangelista","The Holy Innocents":"Los Santos Inocentes","Thomas Becket, 1170":"Tomás Becket, 1170","First Sunday of Advent":"Primer Domingo de Adviento","Second Sunday of Advent":"Segundo Domingo de Adviento","Third Sunday of Advent":"Tercer Domingo de Adviento","Fourth Sunday of Advent":"Cuarto Domingo de Adviento",Christmas:"La Natividad","First Sunday after Christmas":"Primer Domingo después del Día de Navidad","Second Sunday after Christmas":"Segundo Domingo después del Día de Navidad",Epiphany:"La Epifanía","First Sunday after the Epiphany":"Primer Domingo después de la Epifanía","Second Sunday after the Epiphany":"Segundo Domingo después de la Epifanía","Third Sunday after the Epiphany":"Tercero Domingo después de la Epifanía","Fourth Sunday after the Epiphany":"Cuarto Domingo después de la Epifanía","Fifth Sunday after the Epiphany":"Quinto Domingo después de la Epifanía","Sixth Sunday after the Epiphany":"Sexto Domingo después de la Epifanía","Seventh Sunday after the Epiphany":"Séptimo Domingo después de la Epifanía","Eighth Sunday after the Epiphany":"Octavo Domingo después de la Epifanía","Last Sunday after the Epiphany":"Ultimo Domingo después de la Epifanía","Ash Wednesday":"Miércoles de Ceniza","First Sunday in Lent":"Primer Domingo en Cuaresma","Second Sunday in Lent":"Segundo Domingo en Cuaresma","Third Sunday in Lent":"Tercer Domingo en Cuaresma","Fourth Sunday in Lent":"Cuarto Domingo en Cuaresma","Fifth Sunday in Lent":"Quinto Domingo en Cuaresma","Palm Sunday":"Domingo de Ramos","Monday in Holy Week":"Lunes Santo","Tuesday in Holy Week":"Martes Santo","Wednesday in Holy Week":"Miércoles Santo","Maundy Thursday":"Jueves Santo","Good Friday":"Viernes Santo","Holy Saturday":"Sábado Santo","Easter Day":"Día de Pascua","Monday in Easter Week":"Lunes de Pascua","Tuesday in Easter Week":"Martes de Pascua","Wednesday in Easter Week":"Miércoles de Pascua","Thursday in Easter Week":"Jueves de Pascua","Friday in Easter Week":"Viernes de Pascua","Saturday in Easter Week":"Sábado de Pascua","Second Sunday of Easter":"Segundo Domingo de Pascua","Third Sunday of Easter":"Tercer Domingo de Pascua","Fourth Sunday of Easter":"Cuarto Domingo de Pascua","Fifth Sunday of Easter":"Quinto Domingo de Pascua","Sixth Sunday of Easter":"Sexto Domingo de Pascua","Ascension Day":"Día de la Ascensión","Seventh Sunday of Easter":"Séptimo Domingo de Pascua",Pentecost:"Día de Pentecostés","Trinity Sunday":"Domingo de Trinidad","Second Sunday after Pentecost":"Segundo Domingo después de Pentecostés","Third Sunday after Pentecost":"Tercero Domingo después de Pentecostés","Fourth Sunday after Pentecost":"Cuarto Domingo después de Pentecostés","Fifth Sunday after Pentecost":"Qunto Domingo después de Pentecostés","Sixth Sunday after Pentecost":"Sexto Domingo después de Pentecostés","Seventh Sunday after Pentecost":"Séptimo Domingo después de Pentecostés","Eighth Sunday after Pentecost":"Octavo Domingo después de Pentecostés","Ninth Sunday after Pentecost":"Noveno Domingo después de Pentecostés","Tenth Sunday after Pentecost":"Décimo Domingo después de Pentecostés","Eleventh Sunday after Pentecost":"Undécimo Domingo después de Pentecostés","Twelfth Sunday after Pentecost":"Duodécimo Domingo después de Pentecostés","Thirteenth Sunday after Pentecost":"Decimotercero Domingo después de Pentecostés","Fourteenth Sunday after Pentecost":"Decimocuarto Domingo después de Pentecostés","Fifteenth Sunday after Pentecost":"Decimoquinto Domingo después de Pentecostés","Sixteenth Sunday after Pentecost":"Decimosexto Domingo después de Pentecostés","Seventeenth Sunday after Pentecost":"Decimoséptimo Domingo después de Pentecostés","Eighteenth Sunday after Pentecost":"Decimoctavo Domingo después de Pentecostés","Nineteenth Sunday after Pentecost":"Decimonoveno Domingo después de Pentecostés","Twentieth Sunday after Pentecost":"Vigésimo Domingo después de Pentecostés","Twenty-First Sunday after Pentecost":"Vigésimo Primero Domingo después de Pentecostés","Twenty-Second Sunday after Pentecost":"Vigésimo Segundo Domingo después de Pentecostés","Twenty-Third Sunday after Pentecost":"Vigésimo Tercero Domingo después de Pentecostés","Twenty-Fourth Sunday after Pentecost":"Vigésimo Cuarto Domingo después de Pentecostés","Twenty-Fifth Sunday after Pentecost":"Vigésimo Quinto Domingo después de Pentecostés","Twenty-Sixth Sunday after Pentecost":"Vigésimo Sexto Domingo después de Pentecostés","Twenty-Seventh Sunday after Pentecost":"Vigésimo Séptimo Domingo después de Pentecostés","Last Sunday after Pentecost":"Ultimo Domingo después de Pentecostés"},fr:{after:" après ",the:" le "}},g=class{constructor(t){e(this,t)}dayChange(e){let t;try{t=new r("string"==typeof e?JSON.parse(e):e)}catch(e){console.warn("(ldf-day-name)",e),t=new r}this.obj=t||new r,this.loadLocaleStrings()}componentWillLoad(){this.loadLocaleStrings(),this.dayChange(this.day)}async loadLocaleStrings(){try{this.localeStrings=m[l(this.el)]}catch(e){console.warn(e)}}dayToNodes(e,n){var a,o,r,l,d,u,c,h,f,m,g,p,_,b,y,w,v,k,S;if((null===(a=null==e?void 0:e.holy_day_observed)||void 0===a?void 0:a.name)&&(null===(r=null===(o=null==e?void 0:e.holy_day_observed)||void 0===o?void 0:o.type)||void 0===r?void 0:r.rank)>=3){console.log("Holy Day name",null===(l=null==e?void 0:e.holy_day_observed)||void 0===l?void 0:l.name,n[null===(d=null==e?void 0:e.holy_day_observed)||void 0===d?void 0:d.name]||n[null===(u=null==e?void 0:e.holy_day_observed)||void 0===u?void 0:u.name.replace("St.","Saint")],n);const a=n[null===(c=null==e?void 0:e.holy_day_observed)||void 0===c?void 0:c.name]||n[null===(h=null==e?void 0:e.holy_day_observed)||void 0===h?void 0:h.name.replace("St.","Saint")]||(null===(f=null==e?void 0:e.holy_day_observed)||void 0===f?void 0:f.name);return e.holy_day_observed.bio?t("details",null,t("summary",null,a),t("ldf-text",{doc:new s({type:"text",style:"text",value:e.holy_day_observed.bio})})):[t("p",{class:"holy-day-name"},a),(null===(m=null==e?void 0:e.holy_day_observed)||void 0===m?void 0:m.subtitle)?t("p",{class:"holy-day-subtitle"},e.holy_day_observed.subtitle):void 0]}{const t=i(null==e?void 0:e.date),a=(null===(p=null===(g=this.el)||void 0===g?void 0:g.closest("[lang]"))||void 0===p?void 0:p.lang)||"en";if(0==t.getDay()){const t=n.the||" the ";return[(null===(_=null==e?void 0:e.week)||void 0===_?void 0:_.omit_the)?"":` ${t[1].toUpperCase()}${t.slice(2,n.the.length)} `,,n[null===(b=null==e?void 0:e.week)||void 0===b?void 0:b.name]||(null===(y=null==e?void 0:e.week)||void 0===y?void 0:y.name)]}return[(S=t.toLocaleDateString(a,{weekday:"long"}),S[0].toUpperCase()+S.slice(1)),n.after||" after ",(null===(w=null==e?void 0:e.week)||void 0===w?void 0:w.omit_the)?"":n.the,n[null===(v=null==e?void 0:e.week)||void 0===v?void 0:v.name]||(null===(k=null==e?void 0:e.week)||void 0===k?void 0:k.name)].join("").replace(/de\s+el/,"del").replace(/de\s+le/,"du")}}render(){var e,a,o,r,i,s,l;const d="string"!=typeof(null===(e=this.obj)||void 0===e?void 0:e.color)&&(null===(o=null===(a=this.obj)||void 0===a?void 0:a.color)||void 0===o?void 0:o.image)||this.obj.image||(null===(r=this.obj.holy_day_observed)||void 0===r?void 0:r.image),u="string"!=typeof(null===(i=this.obj)||void 0===i?void 0:i.color)&&(null===(l=null===(s=this.obj)||void 0===s?void 0:s.color)||void 0===l?void 0:l.imageUrl)||this.obj.imageURL||this.obj.imageUrl;return t(n,null,this.localeStrings&&this.dayToNodes(this.obj,this.localeStrings),d&&u&&t("a",{href:u,target:"_system"},t("img",{class:"icon",src:d})),d&&!u&&t("img",{class:"icon",src:d}))}get el(){return a(this)}static get watchers(){return{day:["dayChange"]}}};g.style=".icon.sc-ldf-day-name{display:var(--ldf-icon-display, none);margin:1em auto;width:400px;max-width:90%}.holy-day-name.sc-ldf-day-name{font-style:var(--ldf-holy-day-name-font-style);font-weight:var(--ldf-holy-day-name-font-weight);font-size:var(--ldf-holy-day-name-font-size)}.holy-day-subtitle.sc-ldf-day-name{font-style:var(--ldf-holy-day-subtitle-font-style);font-weight:var(--ldf-holy-day-subtitle-font-weight);font-size:var(--ldf-holy-day-subtitle-font-size)}";const p=({uidOrSlug:e,path:n,text:a,index:o,bodyText:r})=>t("ldf-editable-text",{class:{"body-text":r},id:`${e}-heading-${o}`,text:a,path:`${n}/value/${o}`,short:!0,inputType:"text"}),_={en:{date:"The Date of the Liturgy",day:"The Name of the Liturgical Day"}},b=class{constructor(t){e(this,t)}docChanged(e){try{this.obj=new d("string"==typeof e?JSON.parse(e):e)}catch(e){console.warn("HEADING ERROR",e),this.obj=new d}}componentWillLoad(){this.docChanged(this.doc),this.loadLocaleStrings()}async loadLocaleStrings(){try{this.localeStrings=_[l(this.element)]}catch(e){console.warn(e)}}headerNode(e,n,a=!0){let o;switch(e){case 1:o=t("h1",null,n);break;case 2:o=t("h2",null,n);break;case 3:o=t("h3",{slot:"start"},n);break;case 4:o=t("h4",{slot:"start"},n);break;case 5:o=t("h5",{slot:"start"},n);break;default:o=t("h6",null,n)}return a&&o}textNode(e,n,a){return this.editable?t(p,{uidOrSlug:this.obj.uid||this.obj.slug||"",path:this.path,text:e,index:n,bodyText:Boolean(a)}):t("ldf-string",{text:e,fragment:this.path})}dateNode(){var e,n,a,o,r,s;if(null===(n=null===(e=this.obj)||void 0===e?void 0:e.day)||void 0===n?void 0:n.date){const e=i(null===(o=null===(a=this.obj)||void 0===a?void 0:a.day)||void 0===o?void 0:o.date),n=(null===(s=null===(r=this.element)||void 0===r?void 0:r.closest("[lang]"))||void 0===s?void 0:s.lang)||"en";return t("div",{class:"date"},e.toLocaleDateString(n,{year:"numeric",month:"long",day:"numeric"}))}return[]}citationNode(e,n="end"){return t("div",{class:"citation",slot:n},this.editable?t("ldf-editable-text",{id:`${this.obj.uid||this.obj.slug}-citation`,text:e,path:`${this.path}/citation`}):e)}sourceNode(e){const n=new f(e).toString().replace("bcp1979","BCP");return t("div",{slot:"end",class:"source"},this.editable?[t("ldf-editable-text",{id:`${this.obj.uid||this.obj.slug}-source-source`,text:null==e?void 0:e.source,path:`${this.path}/source/source`}),t("ldf-editable-text",{id:`${this.obj.uid||this.obj.slug}-source-citation`,text:null==e?void 0:e.citation,path:`${this.path}/source/citation`})]:n)}render(){var e,a,o,r,i,l,d,u,c,h,f,m,g,p,_,b,y,w,v,k,S,x,M;const A=this.localeStrings||{},z=this.obj.metadata?this.obj.metadata.level:4,C=Boolean(null===(e=this.obj)||void 0===e?void 0:e.citation),P=Boolean(null===(a=this.obj)||void 0===a?void 0:a.source),j="date"==(null===(o=this.obj)||void 0===o?void 0:o.style),E="day"==(null===(r=this.obj)||void 0===r?void 0:r.style),T=null==(null===(i=this.obj)||void 0===i?void 0:i.style)||"text"==(null===(l=this.obj)||void 0===l?void 0:l.style)||!j&&!E;return t(n,{lang:(null===(d=this.obj)||void 0===d?void 0:d.language)||"en"},this.editable&&t("ldf-label-bar",null,t("slot",{slot:"end",name:"controls"})),t("ldf-label-bar",{center:(null===(c=null===(u=this.obj)||void 0===u?void 0:u.metadata)||void 0===c?void 0:c.level)<=2,class:{text:T&&((null===(h=null==this?void 0:this.obj)||void 0===h?void 0:h.value)||[]).filter((e=>Boolean(e))).length>0}},T&&(null===(m=null===(f=this.obj)||void 0===f?void 0:f.value)||void 0===m?void 0:m.length)>0&&this.headerNode(z,this.textNode(this.obj.value[0],0),!0),j&&!this.editable&&this.dateNode(),j&&this.editable&&t("code",{class:"lookup"},A.date),E&&!this.editable&&t("div",{class:"date"},t("ldf-day-name",{day:null===(g=this.obj)||void 0===g?void 0:g.day,lang:(null===(p=this.obj)||void 0===p?void 0:p.language)||"en"})),E&&!this.editable&&(null===(y=null===(b=null===(_=this.obj)||void 0===_?void 0:_.day)||void 0===b?void 0:b.holy_days)||void 0===y?void 0:y.length)>0&&t("ul",{class:"holy-days"},null===(v=null===(w=this.obj)||void 0===w?void 0:w.day)||void 0===v?void 0:v.holy_days.filter((e=>{var t;return(null===(t=e.type)||void 0===t?void 0:t.rank)<3})).map((e=>t("li",{class:"holy-day"},e.bio?t("details",null,t("summary",null,e.name),t("ldf-text",{doc:new s({type:"text",style:"text",value:e.bio})})):e.name)))),E&&this.editable&&t("code",{class:"lookup"},A.day),(null===(S=null===(k=this.obj)||void 0===k?void 0:k.value)||void 0===S?void 0:S.length)>1&&this.textNode(this.obj.value[1],1),t("slot",{name:"additional"}),t("slot",{name:"citation",slot:"end"},P&&this.sourceNode(this.obj.source),C&&!P&&this.obj.citation!==this.obj.label&&this.obj.citation!==this.obj.value[0]&&this.citationNode(this.obj.citation))),t("div",null,P&&C&&this.obj.citation!==this.obj.label&&this.citationNode(this.obj.citation,"none")),(null===(M=null===(x=this.obj)||void 0===x?void 0:x.value)||void 0===M?void 0:M.length)>2&&this.obj.value.slice(2,this.obj.value.length).map(((e,t)=>this.textNode(e,t+2,!0))))}get element(){return a(this)}static get watchers(){return{doc:["docChanged"]}}};b.style="ldf-heading,:host{font-family:var(--ldf-font-face)}ldf-heading ldf-string,:host ldf-string{display:block}ldf-heading ldf-label-bar.text,:host ldf-label-bar.text{margin-top:var(--ldf-heading-margin-top)}ldf-heading h1,:host h1{text-align:var(--ldf-title-text-align);font-weight:var(--ldf-title-font-weight);font-style:var(--ldf-title-font-style);font-variant:var(--ldf-title-font-variant);font-size:var(--ldf-title-font-size);text-transform:var(--ldf-title-text-transform)}ldf-heading h2,:host h2{text-align:var(--ldf-subtitle-text-align);font-weight:var(--ldf-subtitle-font-weight);font-style:var(--ldf-subtitle-font-style);font-variant:var(--ldf-subtitle-font-variant);font-size:var(--ldf-subtitle-font-size);text-transform:var(--ldf-subtitle-text-transform)}ldf-heading h3,:host h3{text-align:var(--ldf-h3-text-align);font-weight:var(--ldf-h3-font-weight);font-style:var(--ldf-h3-font-style);font-variant:var(--ldf-h3-font-variant);font-size:var(--ldf-h3-font-size);text-transform:var(--ldf-h3-text-transform)}ldf-heading h4,:host h4{text-align:var(--ldf-h4-text-align);font-weight:var(--ldf-h4-font-weight);font-style:var(--ldf-h4-font-style);font-variant:var(--ldf-h4-font-variant);font-size:var(--ldf-h4-font-size);text-transform:var(--ldf-h4-text-transform)}ldf-heading h5,:host h5{text-align:var(--ldf-h5-text-align);font-weight:var(--ldf-h5-font-weight);font-style:var(--ldf-h5-font-style);font-variant:var(--ldf-h5-font-variant);font-size:var(--ldf-h5-font-size);text-transform:var(--ldf-h5-text-transform)}ldf-heading .date,ldf-heading .holy-days,ldf-heading .holy-day,:host .date,:host .holy-days,:host .holy-day{font-size:var(--ldf-date-font-size);text-transform:var(--ldf-date-text-transform);text-align:var(--ldf-date-text-align);font-style:var(--ldf-date-font-style)}ldf-heading .holy-days,:host .holy-days{list-style-type:none;margin:0;padding:0;text-align:center}ldf-heading .holy-day,:host .holy-day{margin:var(--ldf-holy-day-margin);padding:0}.lookup{background-color:var(--ldf-editable-lookup-background-color);color:var(--ldf-editable-lookup-color);border-radius:4px;padding:1em;width:100%}::slotted[slot=citation]{text-align:right;width:100%}.citation{font-style:var(--ldf-heading-citation-font-style, italic);display:var(--ldf-heading-citation-display, block)}.source{width:100%}ldf-editable-text.body-text{display:block;padding-bottom:1em}";const y=class{constructor(t){e(this,t),this.center=!1}render(){return t("div",this.center?{class:"label-bar center"}:{class:"label-bar left"},t("slot",{name:"start"}),t("slot",null),t("slot",{name:"end"}))}};y.style=".label-bar{display:flex;flex-direction:row;flex-wrap:wrap;align-items:baseline;max-width:100%}.label-bar.left{justify-content:flex-start}.label-bar.left slot{display:flex;flex-direction:row;margin-left:0}.label-bar.left slot:first-of-type{margin-left:0;flex-grow:2}.label-bar.left slot:nth-of-type(2){flex-grow:2}.label-bar.left slot:last-of-type{margin-left:auto;text-align:right}.label-bar.left ::slotted[slot=end]{text-align:right}.label-bar.center{justify-content:space-between}.label-bar.center slot{display:block}.label-bar.center slot:nth-child(1){text-align:center}";const w=class{constructor(t){e(this,t),this.ldfStringClicked=o(this,"ldfStringClicked",7),this.dropcap="enabled",this.dropcapMinLength=180,this.replaceTetragrammaton=!0}textChanged(){this.processString()}processString(){const e=this.processEntities(this.text);let t=this.processMarkup(e);this.replaceTetragrammaton&&(t=t.map((e=>"string"==typeof e?this.processTetragrammaton(e):e)).flat()),("force"==this.dropcap||"enabled"==this.dropcap&&(0==this.index||!this.index)&&this.text&&this.text.length>=this.dropcapMinLength)&&(t=this.processDropcap(t)),this.processedString=t}processEntities(e){try{const t=document.createElement("textarea");return t.innerHTML=e,0===t.childNodes.length?"":t.childNodes[0].nodeValue}catch(t){console.warn(`(processEntities) error while processing "${e}": `,t)}}processMarkup(e){return e.replace(/^([A-Z]{2,})/,(e=>this.maintainCasing(e)?e:e[0]+e.slice(1).toLowerCase())).replace(/([A-Z]{2,})/g,"^$1^").replace(/\[\*/g,"__BRACKET_ASTERISK").split(/([\*\^\%][^\*\^\%]*[\*\^\%])/g).map((e=>"-"==e?"":e.startsWith("*")&&e.endsWith("*")||e.startsWith("%")&&e.endsWith("%")?t("em",null,e.slice(1,e.length-1)):e.startsWith("^")&&e.endsWith("^")?this.maintainCasing(e)?e.replace(/\^/g,""):t("span",{class:"sc"},e[1],e.slice(2,e.length-1).toLowerCase()):e.replace(/__BRACKET_ASTERISK/g,"[*")))}processTetragrammaton(e){if(e){const n={"\n":()=>t("br",null),"’S":()=>"’s","'S":()=>"’s","LORD’S":()=>"LORD’s","LORD'S":()=>"LORD’s",LORD:()=>t("span",{class:"sc"},"Lord"),"Lord GOD":()=>t("span",null,"Lord ",t("span",{class:"sc"},"God")),GOD:()=>t("span",{class:"sc"},"God"),YHWH:()=>t("span",{class:"sc"},"Yhwh"),Yhwh:()=>t("span",{class:"sc"},"Yhwh"),YAHWEH:()=>t("span",{class:"sc"},"Yhwh"),Yahweh:()=>t("span",{class:"sc"},"Yhwh"),"\t":()=>t("span",{class:"tab"}," ")," ":()=>t("span",{class:"half-tab"}," ")};return e.split(/(( )|\n|LORD[\'’]S|[\'’]S|LORD|Lord GOD|GOD|YHWH|YAHWEH|Yhwh|Yahweh|\t)/g).map((e=>n.hasOwnProperty(e)?n[e]():e))}return new Array}maintainCasing(e){if(e){const t=e.replace(/\^/g,"");return!t.split("").map((e=>e>="A"&&e<="Z")).reduce(((e,t)=>e&&t),!0)||Boolean(((null==t?void 0:t.match(/^I+$/))||[])[0])||["IV","V","VI","VII","VIII","IX","X"].includes(t)||"i "==(null==t?void 0:t.toLowerCase())}return!0}processDropcap(e){var n;const a=e[0],o="string"==typeof a?a:"";let r=e;if(o){const a=(o||"").split(/[\s.!?\\]/),i=a?a[0]:"",s=i.length>2?/^ ?([\"\'“”‘’\-–—¡\!\?¿\[\]\(\)\,\wñáéíóúÁÉÍÓÚ\u0590-\u05ff\u0370-\u03ff])([\wñáéíóúÁÉÍÓÚ\u0590-\u05ff\u0370-\u03ff\,]*)/:/^ ?([\"\'“”‘’\-–—¡\!\?¿\[\]\(\)\,\wñáéíóúÁÉÍÓÚ\u0590-\u05ff\u0370-\u03ff])([\wñáéíóúÁÉÍÓÚ\u0590-\u05ff\u0370-\u03ff\,]*[\s.!?]*[\wñáéíóúÁÉÍÓÚ\u0590-\u05ff\u0370-\u03ff]*)/,l=(null===(n=i[0])||void 0===n?void 0:n.match(/[\"\'“”‘’¡\!\?¿\[\]\(\)]/))?/^ ?([\"\'“”‘’\-–—¡\!\?¿\[\]\(\)\,\wñáéíóúÁÉÍÓÚ\u0590-\u05ff\u0370-\u03ff]{2})\s*([\wñáéíóúÁÉÍÓÚ\u0590-\u05ff\u0370-\u03ff]*)/:s,d=1==i.length,u=o.split(l).filter((e=>""!==e)),[c,h,f]=u;r=new Array(t("span",{class:"firstword"},t("span",{class:d?`drop buffered-drop drop-${c}`:`drop drop-${c}`},c),this.maintainCasing(h)?h:null==h?void 0:h.toLowerCase())).concat(f).concat(e.slice(1))}return"string"==typeof a&&a.match(/[\u0e00-\u0e5b]/)?e:r}componentWillLoad(){this.processString()}render(){return this.text&&t("span",{onClick:()=>this.ldfStringClicked.emit({target:this.element,text:this.text,citation:this.citation,fragment:this.fragment})},this.processedString)}get element(){return a(this)}static get watchers(){return{text:["textChanged"]}}};w.style='span.sc-ldf-string{font-family:var(--ldf-font-face);font-weight:inherit;font-style:inherit}.tab.sc-ldf-string{display:inline;margin-left:var(--ldf-tab-width)}.half-tab.sc-ldf-string{display:inline;margin-left:var(--ldf-half-tab-width)}.sc.sc-ldf-string{font-variant:small-caps}.drop.sc-ldf-string{font-size:200%}.firstword.sc-ldf-string{font-variant:var(--ldf-drop-firstword-font-variant)}.drop.sc-ldf-string{float:var(--ldf-drop-float);font-family:var(--ldf-drop-font-family);font-size:var(--ldf-drop-font-size);margin-right:var(--ldf-drop-margin-right);margin-top:var(--ldf-drop-margin-top);line-height:var(--ldf-drop-line-height);color:var(--ldf-drop-color)}.buffered-drop.sc-ldf-string{margin-right:var(--ldf-buffered-drop-margin-right)}[dir=rtl].sc-ldf-string-h .drop.sc-ldf-string{float:right;font-family:"Times New Roman"}.drop-J.sc-ldf-string{margin-top:0;line-height:clamp(0.5em, var(--ldf-drop-line-height) + 0.3em, 1em)}.selected.sc-ldf-string{background-color:var(--ldf-selected-background)}.liked.sc-ldf-string{background-color:var(--ldf-liked-background)}';var v=u((function(e){(function(){function t(e){var t={omitExtraWLInCodeBlocks:{defaultValue:!1,describe:"Omit the default extra whiteline added to code blocks",type:"boolean"},noHeaderId:{defaultValue:!1,describe:"Turn on/off generated header id",type:"boolean"},prefixHeaderId:{defaultValue:!1,describe:"Add a prefix to the generated header ids. Passing a string will prefix that string to the header id. Setting to true will add a generic 'section-' prefix",type:"string"},rawPrefixHeaderId:{defaultValue:!1,describe:'Setting this option to true will prevent showdown from modifying the prefix. This might result in malformed IDs (if, for instance, the " char is used in the prefix)',type:"boolean"},ghCompatibleHeaderId:{defaultValue:!1,describe:"Generate header ids compatible with github style (spaces are replaced with dashes, a bunch of non alphanumeric chars are removed)",type:"boolean"},rawHeaderId:{defaultValue:!1,describe:"Remove only spaces, ' and \" from generated header ids (including prefixes), replacing them with dashes (-). WARNING: This might result in malformed ids",type:"boolean"},headerLevelStart:{defaultValue:!1,describe:"The header blocks level start",type:"integer"},parseImgDimensions:{defaultValue:!1,describe:"Turn on/off image dimension parsing",type:"boolean"},simplifiedAutoLink:{defaultValue:!1,describe:"Turn on/off GFM autolink style",type:"boolean"},excludeTrailingPunctuationFromURLs:{defaultValue:!1,describe:"Excludes trailing punctuation from links generated with autoLinking",type:"boolean"},literalMidWordUnderscores:{defaultValue:!1,describe:"Parse midword underscores as literal underscores",type:"boolean"},literalMidWordAsterisks:{defaultValue:!1,describe:"Parse midword asterisks as literal asterisks",type:"boolean"},strikethrough:{defaultValue:!1,describe:"Turn on/off strikethrough support",type:"boolean"},tables:{defaultValue:!1,describe:"Turn on/off tables support",type:"boolean"},tablesHeaderId:{defaultValue:!1,describe:"Add an id to table headers",type:"boolean"},ghCodeBlocks:{defaultValue:!0,describe:"Turn on/off GFM fenced code blocks support",type:"boolean"},tasklists:{defaultValue:!1,describe:"Turn on/off GFM tasklist support",type:"boolean"},smoothLivePreview:{defaultValue:!1,describe:"Prevents weird effects in live previews due to incomplete input",type:"boolean"},smartIndentationFix:{defaultValue:!1,description:"Tries to smartly fix indentation in es6 strings",type:"boolean"},disableForced4SpacesIndentedSublists:{defaultValue:!1,description:"Disables the requirement of indenting nested sublists by 4 spaces",type:"boolean"},simpleLineBreaks:{defaultValue:!1,description:"Parses simple line breaks as <br> (GFM Style)",type:"boolean"},requireSpaceBeforeHeadingText:{defaultValue:!1,description:"Makes adding a space between `#` and the header text mandatory (GFM Style)",type:"boolean"},ghMentions:{defaultValue:!1,description:"Enables github @mentions",type:"boolean"},ghMentionsLink:{defaultValue:"https://github.com/{u}",description:"Changes the link generated by @mentions. Only applies if ghMentions option is enabled.",type:"string"},encodeEmails:{defaultValue:!0,description:"Encode e-mail addresses through the use of Character Entities, transforming ASCII e-mail addresses into its equivalent decimal entities",type:"boolean"},openLinksInNewWindow:{defaultValue:!1,description:"Open all links in new windows",type:"boolean"},backslashEscapesHTMLTags:{defaultValue:!1,description:"Support for HTML Tag escaping. ex: <div>foo</div>",type:"boolean"},emoji:{defaultValue:!1,description:"Enable emoji support. Ex: `this is a :smile: emoji`",type:"boolean"},underline:{defaultValue:!1,description:"Enable support for underline. Syntax is double or triple underscores: `__underline word__`. With this option enabled, underscores no longer parses into `<em>` and `<strong>`",type:"boolean"},completeHTMLDocument:{defaultValue:!1,description:"Outputs a complete html document, including `<html>`, `<head>` and `<body>` tags",type:"boolean"},metadata:{defaultValue:!1,description:"Enable support for document metadata (defined at the top of the document between `«««` and `»»»` or between `---` and `---`).",type:"boolean"},splitAdjacentBlockquotes:{defaultValue:!1,description:"Split adjacent blockquote blocks",type:"boolean"}};if(!1===e)return JSON.parse(JSON.stringify(t));var n={};for(var a in t)t.hasOwnProperty(a)&&(n[a]=t[a].defaultValue);return n}var n={},a={},o={},r=t(!0),i="vanilla",s={github:{omitExtraWLInCodeBlocks:!0,simplifiedAutoLink:!0,excludeTrailingPunctuationFromURLs:!0,literalMidWordUnderscores:!0,strikethrough:!0,tables:!0,tablesHeaderId:!0,ghCodeBlocks:!0,tasklists:!0,disableForced4SpacesIndentedSublists:!0,simpleLineBreaks:!0,requireSpaceBeforeHeadingText:!0,ghCompatibleHeaderId:!0,ghMentions:!0,backslashEscapesHTMLTags:!0,emoji:!0,splitAdjacentBlockquotes:!0},original:{noHeaderId:!0,ghCodeBlocks:!1},ghost:{omitExtraWLInCodeBlocks:!0,parseImgDimensions:!0,simplifiedAutoLink:!0,excludeTrailingPunctuationFromURLs:!0,literalMidWordUnderscores:!0,strikethrough:!0,tables:!0,tablesHeaderId:!0,ghCodeBlocks:!0,tasklists:!0,smoothLivePreview:!0,simpleLineBreaks:!0,requireSpaceBeforeHeadingText:!0,ghMentions:!1,encodeEmails:!0},vanilla:t(!0),allOn:function(){var e=t(!0),n={};for(var a in e)e.hasOwnProperty(a)&&(n[a]=!0);return n}()};function l(e,t){var a=t?"Error in "+t+" extension->":"Error in unnamed extension",o={valid:!0,error:""};n.helper.isArray(e)||(e=[e]);for(var r=0;r<e.length;++r){var i=a+" sub-extension "+r+": ",s=e[r];if("object"!=typeof s)return o.valid=!1,o.error=i+"must be an object, but "+typeof s+" given",o;if(!n.helper.isString(s.type))return o.valid=!1,o.error=i+'property "type" must be a string, but '+typeof s.type+" given",o;var l=s.type=s.type.toLowerCase();if("language"===l&&(l=s.type="lang"),"html"===l&&(l=s.type="output"),"lang"!==l&&"output"!==l&&"listener"!==l)return o.valid=!1,o.error=i+"type "+l+' is not recognized. Valid values: "lang/language", "output/html" or "listener"',o;if("listener"===l){if(n.helper.isUndefined(s.listeners))return o.valid=!1,o.error=i+'. Extensions of type "listener" must have a property called "listeners"',o}else if(n.helper.isUndefined(s.filter)&&n.helper.isUndefined(s.regex))return o.valid=!1,o.error=i+l+' extensions must define either a "regex" property or a "filter" method',o;if(s.listeners){if("object"!=typeof s.listeners)return o.valid=!1,o.error=i+'"listeners" property must be an object but '+typeof s.listeners+" given",o;for(var d in s.listeners)if(s.listeners.hasOwnProperty(d)&&"function"!=typeof s.listeners[d])return o.valid=!1,o.error=i+'"listeners" property must be an hash of [event name]: [callback]. listeners.'+d+" must be a function but "+typeof s.listeners[d]+" given",o}if(s.filter){if("function"!=typeof s.filter)return o.valid=!1,o.error=i+'"filter" must be a function, but '+typeof s.filter+" given",o}else if(s.regex){if(n.helper.isString(s.regex)&&(s.regex=new RegExp(s.regex,"g")),!(s.regex instanceof RegExp))return o.valid=!1,o.error=i+'"regex" property must either be a string or a RegExp object, but '+typeof s.regex+" given",o;if(n.helper.isUndefined(s.replace))return o.valid=!1,o.error=i+'"regex" extensions must implement a replace string or function',o}}return o}function d(e,t){return"¨E"+t.charCodeAt(0)+"E"}n.helper={},n.extensions={},n.setOption=function(e,t){return r[e]=t,this},n.getOption=function(e){return r[e]},n.getOptions=function(){return r},n.resetOptions=function(){r=t(!0)},n.setFlavor=function(e){if(!s.hasOwnProperty(e))throw Error(e+" flavor was not found");n.resetOptions();var t=s[e];for(var a in i=e,t)t.hasOwnProperty(a)&&(r[a]=t[a])},n.getFlavor=function(){return i},n.getFlavorOptions=function(e){if(s.hasOwnProperty(e))return s[e]},n.getDefaultOptions=function(e){return t(e)},n.subParser=function(e,t){if(n.helper.isString(e)){if(void 0===t){if(a.hasOwnProperty(e))return a[e];throw Error("SubParser named "+e+" not registered!")}a[e]=t}},n.extension=function(e,t){if(!n.helper.isString(e))throw Error("Extension 'name' must be a string");if(e=n.helper.stdExtName(e),n.helper.isUndefined(t)){if(!o.hasOwnProperty(e))throw Error("Extension named "+e+" is not registered!");return o[e]}"function"==typeof t&&(t=t()),n.helper.isArray(t)||(t=[t]);var a=l(t,e);if(!a.valid)throw Error(a.error);o[e]=t},n.getAllExtensions=function(){return o},n.removeExtension=function(e){delete o[e]},n.resetExtensions=function(){o={}},n.validateExtension=function(e){var t=l(e,null);return!!t.valid||(console.warn(t.error),!1)},n.hasOwnProperty("helper")||(n.helper={}),n.helper.isString=function(e){return"string"==typeof e||e instanceof String},n.helper.isFunction=function(e){return e&&"[object Function]"==={}.toString.call(e)},n.helper.isArray=function(e){return Array.isArray(e)},n.helper.isUndefined=function(e){return void 0===e},n.helper.forEach=function(e,t){if(n.helper.isUndefined(e))throw new Error("obj param is required");if(n.helper.isUndefined(t))throw new Error("callback param is required");if(!n.helper.isFunction(t))throw new Error("callback param must be a function/closure");if("function"==typeof e.forEach)e.forEach(t);else if(n.helper.isArray(e))for(var a=0;a<e.length;a++)t(e[a],a,e);else{if("object"!=typeof e)throw new Error("obj does not seem to be an array or an iterable object");for(var o in e)e.hasOwnProperty(o)&&t(e[o],o,e)}},n.helper.stdExtName=function(e){return e.replace(/[_?*+\/\\.^-]/g,"").replace(/\s/g,"").toLowerCase()},n.helper.escapeCharactersCallback=d,n.helper.escapeCharacters=function(e,t,n){var a="(["+t.replace(/([\[\]\\])/g,"\\$1")+"])";n&&(a="\\\\"+a);var o=new RegExp(a,"g");return e.replace(o,d)},n.helper.unescapeHTMLEntities=function(e){return e.replace(/"/g,'"').replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&")};var u=function(e,t,n,a){var o,r,i,s,l,d=a||"",u=d.indexOf("g")>-1,c=new RegExp(t+"|"+n,"g"+d.replace(/g/g,"")),h=new RegExp(t,d.replace(/g/g,"")),f=[];do{for(o=0;i=c.exec(e);)if(h.test(i[0]))o++||(s=(r=c.lastIndex)-i[0].length);else if(o&&!--o&&(f.push({left:{start:s,end:r},match:{start:r,end:i.index},right:{start:i.index,end:l=i.index+i[0].length},wholeMatch:{start:s,end:l}}),!u))return f}while(o&&(c.lastIndex=r));return f};n.helper.matchRecursiveRegExp=function(e,t,n,a){for(var o=u(e,t,n,a),r=[],i=0;i<o.length;++i)r.push([e.slice(o[i].wholeMatch.start,o[i].wholeMatch.end),e.slice(o[i].match.start,o[i].match.end),e.slice(o[i].left.start,o[i].left.end),e.slice(o[i].right.start,o[i].right.end)]);return r},n.helper.replaceRecursiveRegExp=function(e,t,a,o,r){if(!n.helper.isFunction(t)){var i=t;t=function(){return i}}var s=u(e,a,o,r),l=e,d=s.length;if(d>0){var c=[];0!==s[0].wholeMatch.start&&c.push(e.slice(0,s[0].wholeMatch.start));for(var h=0;h<d;++h)c.push(t(e.slice(s[h].wholeMatch.start,s[h].wholeMatch.end),e.slice(s[h].match.start,s[h].match.end),e.slice(s[h].left.start,s[h].left.end),e.slice(s[h].right.start,s[h].right.end))),h<d-1&&c.push(e.slice(s[h].wholeMatch.end,s[h+1].wholeMatch.start));s[d-1].wholeMatch.end<e.length&&c.push(e.slice(s[d-1].wholeMatch.end)),l=c.join("")}return l},n.helper.regexIndexOf=function(e,t,a){if(!n.helper.isString(e))throw"InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string";if(t instanceof RegExp==0)throw"InvalidArgumentError: second parameter of showdown.helper.regexIndexOf function must be an instance of RegExp";var o=e.substring(a||0).search(t);return o>=0?o+(a||0):o},n.helper.splitAtIndex=function(e,t){if(!n.helper.isString(e))throw"InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string";return[e.substring(0,t),e.substring(t)]},n.helper.encodeEmailAddress=function(e){var t=[function(e){return"&#"+e.charCodeAt(0)+";"},function(e){return"&#x"+e.charCodeAt(0).toString(16)+";"},function(e){return e}];return e.replace(/./g,(function(e){if("@"===e)e=t[Math.floor(2*Math.random())](e);else{var n=Math.random();e=n>.9?t[2](e):n>.45?t[1](e):t[0](e)}return e}))},n.helper.padEnd=function(e,t,n){return t>>=0,n=String(n||" "),e.length>t?String(e):((t-=e.length)>n.length&&(n+=n.repeat(t/n.length)),String(e)+n.slice(0,t))},"undefined"==typeof console&&(console={warn:function(e){alert(e)},log:function(e){alert(e)},error:function(e){throw e}}),n.helper.regexes={asteriskDashAndColon:/([*_:~])/g},n.helper.emojis={"+1":"👍","-1":"👎",100:"💯",1234:"🔢","1st_place_medal":"🥇","2nd_place_medal":"🥈","3rd_place_medal":"🥉","8ball":"🎱",a:"🅰️",ab:"🆎",abc:"🔤",abcd:"🔡",accept:"🉑",aerial_tramway:"🚡",airplane:"✈️",alarm_clock:"⏰",alembic:"⚗️",alien:"👽",ambulance:"🚑",amphora:"🏺",anchor:"⚓️",angel:"👼",anger:"💢",angry:"😠",anguished:"😧",ant:"🐜",apple:"🍎",aquarius:"♒️",aries:"♈️",arrow_backward:"◀️",arrow_double_down:"⏬",arrow_double_up:"⏫",arrow_down:"⬇️",arrow_down_small:"🔽",arrow_forward:"▶️",arrow_heading_down:"⤵️",arrow_heading_up:"⤴️",arrow_left:"⬅️",arrow_lower_left:"↙️",arrow_lower_right:"↘️",arrow_right:"➡️",arrow_right_hook:"↪️",arrow_up:"⬆️",arrow_up_down:"↕️",arrow_up_small:"🔼",arrow_upper_left:"↖️",arrow_upper_right:"↗️",arrows_clockwise:"🔃",arrows_counterclockwise:"🔄",art:"🎨",articulated_lorry:"🚛",artificial_satellite:"🛰",astonished:"😲",athletic_shoe:"👟",atm:"🏧",atom_symbol:"⚛️",avocado:"🥑",b:"🅱️",baby:"👶",baby_bottle:"🍼",baby_chick:"🐤",baby_symbol:"🚼",back:"🔙",bacon:"🥓",badminton:"🏸",baggage_claim:"🛄",baguette_bread:"🥖",balance_scale:"⚖️",balloon:"🎈",ballot_box:"🗳",ballot_box_with_check:"☑️",bamboo:"🎍",banana:"🍌",bangbang:"‼️",bank:"🏦",bar_chart:"📊",barber:"💈",baseball:"⚾️",basketball:"🏀",basketball_man:"⛹️",basketball_woman:"⛹️‍♀️",bat:"🦇",bath:"🛀",bathtub:"🛁",battery:"🔋",beach_umbrella:"🏖",bear:"🐻",bed:"🛏",bee:"🐝",beer:"🍺",beers:"🍻",beetle:"🐞",beginner:"🔰",bell:"🔔",bellhop_bell:"🛎",bento:"🍱",biking_man:"🚴",bike:"🚲",biking_woman:"🚴‍♀️",bikini:"👙",biohazard:"☣️",bird:"🐦",birthday:"🎂",black_circle:"⚫️",black_flag:"🏴",black_heart:"🖤",black_joker:"🃏",black_large_square:"⬛️",black_medium_small_square:"◾️",black_medium_square:"◼️",black_nib:"✒️",black_small_square:"▪️",black_square_button:"🔲",blonde_man:"👱",blonde_woman:"👱‍♀️",blossom:"🌼",blowfish:"🐡",blue_book:"📘",blue_car:"🚙",blue_heart:"💙",blush:"😊",boar:"🐗",boat:"⛵️",bomb:"💣",book:"📖",bookmark:"🔖",bookmark_tabs:"📑",books:"📚",boom:"💥",boot:"👢",bouquet:"💐",bowing_man:"🙇",bow_and_arrow:"🏹",bowing_woman:"🙇‍♀️",bowling:"🎳",boxing_glove:"🥊",boy:"👦",bread:"🍞",bride_with_veil:"👰",bridge_at_night:"🌉",briefcase:"💼",broken_heart:"💔",bug:"🐛",building_construction:"🏗",bulb:"💡",bullettrain_front:"🚅",bullettrain_side:"🚄",burrito:"🌯",bus:"🚌",business_suit_levitating:"🕴",busstop:"🚏",bust_in_silhouette:"👤",busts_in_silhouette:"👥",butterfly:"🦋",cactus:"🌵",cake:"🍰",calendar:"📆",call_me_hand:"🤙",calling:"📲",camel:"🐫",camera:"📷",camera_flash:"📸",camping:"🏕",cancer:"♋️",candle:"🕯",candy:"🍬",canoe:"🛶",capital_abcd:"🔠",capricorn:"♑️",car:"🚗",card_file_box:"🗃",card_index:"📇",card_index_dividers:"🗂",carousel_horse:"🎠",carrot:"🥕",cat:"🐱",cat2:"🐈",cd:"💿",chains:"⛓",champagne:"🍾",chart:"💹",chart_with_downwards_trend:"📉",chart_with_upwards_trend:"📈",checkered_flag:"🏁",cheese:"🧀",cherries:"🍒",cherry_blossom:"🌸",chestnut:"🌰",chicken:"🐔",children_crossing:"🚸",chipmunk:"🐿",chocolate_bar:"🍫",christmas_tree:"🎄",church:"⛪️",cinema:"🎦",circus_tent:"🎪",city_sunrise:"🌇",city_sunset:"🌆",cityscape:"🏙",cl:"🆑",clamp:"🗜",clap:"👏",clapper:"🎬",classical_building:"🏛",clinking_glasses:"🥂",clipboard:"📋",clock1:"🕐",clock10:"🕙",clock1030:"🕥",clock11:"🕚",clock1130:"🕦",clock12:"🕛",clock1230:"🕧",clock130:"🕜",clock2:"🕑",clock230:"🕝",clock3:"🕒",clock330:"🕞",clock4:"🕓",clock430:"🕟",clock5:"🕔",clock530:"🕠",clock6:"🕕",clock630:"🕡",clock7:"🕖",clock730:"🕢",clock8:"🕗",clock830:"🕣",clock9:"🕘",clock930:"🕤",closed_book:"📕",closed_lock_with_key:"🔐",closed_umbrella:"🌂",cloud:"☁️",cloud_with_lightning:"🌩",cloud_with_lightning_and_rain:"⛈",cloud_with_rain:"🌧",cloud_with_snow:"🌨",clown_face:"🤡",clubs:"♣️",cocktail:"🍸",coffee:"☕️",coffin:"⚰️",cold_sweat:"😰",comet:"☄️",computer:"💻",computer_mouse:"🖱",confetti_ball:"🎊",confounded:"😖",confused:"😕",congratulations:"㊗️",construction:"🚧",construction_worker_man:"👷",construction_worker_woman:"👷‍♀️",control_knobs:"🎛",convenience_store:"🏪",cookie:"🍪",cool:"🆒",policeman:"👮",copyright:"©️",corn:"🌽",couch_and_lamp:"🛋",couple:"👫",couple_with_heart_woman_man:"💑",couple_with_heart_man_man:"👨‍❤️‍👨",couple_with_heart_woman_woman:"👩‍❤️‍👩",couplekiss_man_man:"👨‍❤️‍💋‍👨",couplekiss_man_woman:"💏",couplekiss_woman_woman:"👩‍❤️‍💋‍👩",cow:"🐮",cow2:"🐄",cowboy_hat_face:"🤠",crab:"🦀",crayon:"🖍",credit_card:"💳",crescent_moon:"🌙",cricket:"🏏",crocodile:"🐊",croissant:"🥐",crossed_fingers:"🤞",crossed_flags:"🎌",crossed_swords:"⚔️",crown:"👑",cry:"😢",crying_cat_face:"😿",crystal_ball:"🔮",cucumber:"🥒",cupid:"💘",curly_loop:"➰",currency_exchange:"💱",curry:"🍛",custard:"🍮",customs:"🛃",cyclone:"🌀",dagger:"🗡",dancer:"💃",dancing_women:"👯",dancing_men:"👯‍♂️",dango:"🍡",dark_sunglasses:"🕶",dart:"🎯",dash:"💨",date:"📅",deciduous_tree:"🌳",deer:"🦌",department_store:"🏬",derelict_house:"🏚",desert:"🏜",desert_island:"🏝",desktop_computer:"🖥",male_detective:"🕵️",diamond_shape_with_a_dot_inside:"💠",diamonds:"♦️",disappointed:"😞",disappointed_relieved:"😥",dizzy:"💫",dizzy_face:"😵",do_not_litter:"🚯",dog:"🐶",dog2:"🐕",dollar:"💵",dolls:"🎎",dolphin:"🐬",door:"🚪",doughnut:"🍩",dove:"🕊",dragon:"🐉",dragon_face:"🐲",dress:"👗",dromedary_camel:"🐪",drooling_face:"🤤",droplet:"💧",drum:"🥁",duck:"🦆",dvd:"📀","e-mail":"📧",eagle:"🦅",ear:"👂",ear_of_rice:"🌾",earth_africa:"🌍",earth_americas:"🌎",earth_asia:"🌏",egg:"🥚",eggplant:"🍆",eight_pointed_black_star:"✴️",eight_spoked_asterisk:"✳️",electric_plug:"🔌",elephant:"🐘",email:"✉️",end:"🔚",envelope_with_arrow:"📩",euro:"💶",european_castle:"🏰",european_post_office:"🏤",evergreen_tree:"🌲",exclamation:"❗️",expressionless:"😑",eye:"👁",eye_speech_bubble:"👁‍🗨",eyeglasses:"👓",eyes:"👀",face_with_head_bandage:"🤕",face_with_thermometer:"🤒",fist_oncoming:"👊",factory:"🏭",fallen_leaf:"🍂",family_man_woman_boy:"👪",family_man_boy:"👨‍👦",family_man_boy_boy:"👨‍👦‍👦",family_man_girl:"👨‍👧",family_man_girl_boy:"👨‍👧‍👦",family_man_girl_girl:"👨‍👧‍👧",family_man_man_boy:"👨‍👨‍👦",family_man_man_boy_boy:"👨‍👨‍👦‍👦",family_man_man_girl:"👨‍👨‍👧",family_man_man_girl_boy:"👨‍👨‍👧‍👦",family_man_man_girl_girl:"👨‍👨‍👧‍👧",family_man_woman_boy_boy:"👨‍👩‍👦‍👦",family_man_woman_girl:"👨‍👩‍👧",family_man_woman_girl_boy:"👨‍👩‍👧‍👦",family_man_woman_girl_girl:"👨‍👩‍👧‍👧",family_woman_boy:"👩‍👦",family_woman_boy_boy:"👩‍👦‍👦",family_woman_girl:"👩‍👧",family_woman_girl_boy:"👩‍👧‍👦",family_woman_girl_girl:"👩‍👧‍👧",family_woman_woman_boy:"👩‍👩‍👦",family_woman_woman_boy_boy:"👩‍👩‍👦‍👦",family_woman_woman_girl:"👩‍👩‍👧",family_woman_woman_girl_boy:"👩‍👩‍👧‍👦",family_woman_woman_girl_girl:"👩‍👩‍👧‍👧",fast_forward:"⏩",fax:"📠",fearful:"😨",feet:"🐾",female_detective:"🕵️‍♀️",ferris_wheel:"🎡",ferry:"⛴",field_hockey:"🏑",file_cabinet:"🗄",file_folder:"📁",film_projector:"📽",film_strip:"🎞",fire:"🔥",fire_engine:"🚒",fireworks:"🎆",first_quarter_moon:"🌓",first_quarter_moon_with_face:"🌛",fish:"🐟",fish_cake:"🍥",fishing_pole_and_fish:"🎣",fist_raised:"✊",fist_left:"🤛",fist_right:"🤜",flags:"🎏",flashlight:"🔦",fleur_de_lis:"⚜️",flight_arrival:"🛬",flight_departure:"🛫",floppy_disk:"💾",flower_playing_cards:"🎴",flushed:"😳",fog:"🌫",foggy:"🌁",football:"🏈",footprints:"👣",fork_and_knife:"🍴",fountain:"⛲️",fountain_pen:"🖋",four_leaf_clover:"🍀",fox_face:"🦊",framed_picture:"🖼",free:"🆓",fried_egg:"🍳",fried_shrimp:"🍤",fries:"🍟",frog:"🐸",frowning:"😦",frowning_face:"☹️",frowning_man:"🙍‍♂️",frowning_woman:"🙍",middle_finger:"🖕",fuelpump:"⛽️",full_moon:"🌕",full_moon_with_face:"🌝",funeral_urn:"⚱️",game_die:"🎲",gear:"⚙️",gem:"💎",gemini:"♊️",ghost:"👻",gift:"🎁",gift_heart:"💝",girl:"👧",globe_with_meridians:"🌐",goal_net:"🥅",goat:"🐐",golf:"⛳️",golfing_man:"🏌️",golfing_woman:"🏌️‍♀️",gorilla:"🦍",grapes:"🍇",green_apple:"🍏",green_book:"📗",green_heart:"💚",green_salad:"🥗",grey_exclamation:"❕",grey_question:"❔",grimacing:"😬",grin:"😁",grinning:"😀",guardsman:"💂",guardswoman:"💂‍♀️",guitar:"🎸",gun:"🔫",haircut_woman:"💇",haircut_man:"💇‍♂️",hamburger:"🍔",hammer:"🔨",hammer_and_pick:"⚒",hammer_and_wrench:"🛠",hamster:"🐹",hand:"✋",handbag:"👜",handshake:"🤝",hankey:"💩",hatched_chick:"🐥",hatching_chick:"🐣",headphones:"🎧",hear_no_evil:"🙉",heart:"❤️",heart_decoration:"💟",heart_eyes:"😍",heart_eyes_cat:"😻",heartbeat:"💓",heartpulse:"💗",hearts:"♥️",heavy_check_mark:"✔️",heavy_division_sign:"➗",heavy_dollar_sign:"💲",heavy_heart_exclamation:"❣️",heavy_minus_sign:"➖",heavy_multiplication_x:"✖️",heavy_plus_sign:"➕",helicopter:"🚁",herb:"🌿",hibiscus:"🌺",high_brightness:"🔆",high_heel:"👠",hocho:"🔪",hole:"🕳",honey_pot:"🍯",horse:"🐴",horse_racing:"🏇",hospital:"🏥",hot_pepper:"🌶",hotdog:"🌭",hotel:"🏨",hotsprings:"♨️",hourglass:"⌛️",hourglass_flowing_sand:"⏳",house:"🏠",house_with_garden:"🏡",houses:"🏘",hugs:"🤗",hushed:"😯",ice_cream:"🍨",ice_hockey:"🏒",ice_skate:"⛸",icecream:"🍦",id:"🆔",ideograph_advantage:"🉐",imp:"👿",inbox_tray:"📥",incoming_envelope:"📨",tipping_hand_woman:"💁",information_source:"ℹ️",innocent:"😇",interrobang:"⁉️",iphone:"📱",izakaya_lantern:"🏮",jack_o_lantern:"🎃",japan:"🗾",japanese_castle:"🏯",japanese_goblin:"👺",japanese_ogre:"👹",jeans:"👖",joy:"😂",joy_cat:"😹",joystick:"🕹",kaaba:"🕋",key:"🔑",keyboard:"⌨️",keycap_ten:"🔟",kick_scooter:"🛴",kimono:"👘",kiss:"💋",kissing:"😗",kissing_cat:"😽",kissing_closed_eyes:"😚",kissing_heart:"😘",kissing_smiling_eyes:"😙",kiwi_fruit:"🥝",koala:"🐨",koko:"🈁",label:"🏷",large_blue_circle:"🔵",large_blue_diamond:"🔷",large_orange_diamond:"🔶",last_quarter_moon:"🌗",last_quarter_moon_with_face:"🌜",latin_cross:"✝️",laughing:"😆",leaves:"🍃",ledger:"📒",left_luggage:"🛅",left_right_arrow:"↔️",leftwards_arrow_with_hook:"↩️",lemon:"🍋",leo:"♌️",leopard:"🐆",level_slider:"🎚",libra:"♎️",light_rail:"🚈",link:"🔗",lion:"🦁",lips:"👄",lipstick:"💄",lizard:"🦎",lock:"🔒",lock_with_ink_pen:"🔏",lollipop:"🍭",loop:"➿",loud_sound:"🔊",loudspeaker:"📢",love_hotel:"🏩",love_letter:"💌",low_brightness:"🔅",lying_face:"🤥",m:"Ⓜ️",mag:"🔍",mag_right:"🔎",mahjong:"🀄️",mailbox:"📫",mailbox_closed:"📪",mailbox_with_mail:"📬",mailbox_with_no_mail:"📭",man:"👨",man_artist:"👨‍🎨",man_astronaut:"👨‍🚀",man_cartwheeling:"🤸‍♂️",man_cook:"👨‍🍳",man_dancing:"🕺",man_facepalming:"🤦‍♂️",man_factory_worker:"👨‍🏭",man_farmer:"👨‍🌾",man_firefighter:"👨‍🚒",man_health_worker:"👨‍⚕️",man_in_tuxedo:"🤵",man_judge:"👨‍⚖️",man_juggling:"🤹‍♂️",man_mechanic:"👨‍🔧",man_office_worker:"👨‍💼",man_pilot:"👨‍✈️",man_playing_handball:"🤾‍♂️",man_playing_water_polo:"🤽‍♂️",man_scientist:"👨‍🔬",man_shrugging:"🤷‍♂️",man_singer:"👨‍🎤",man_student:"👨‍🎓",man_teacher:"👨‍🏫",man_technologist:"👨‍💻",man_with_gua_pi_mao:"👲",man_with_turban:"👳",tangerine:"🍊",mans_shoe:"👞",mantelpiece_clock:"🕰",maple_leaf:"🍁",martial_arts_uniform:"🥋",mask:"😷",massage_woman:"💆",massage_man:"💆‍♂️",meat_on_bone:"🍖",medal_military:"🎖",medal_sports:"🏅",mega:"📣",melon:"🍈",memo:"📝",men_wrestling:"🤼‍♂️",menorah:"🕎",mens:"🚹",metal:"🤘",metro:"🚇",microphone:"🎤",microscope:"🔬",milk_glass:"🥛",milky_way:"🌌",minibus:"🚐",minidisc:"💽",mobile_phone_off:"📴",money_mouth_face:"🤑",money_with_wings:"💸",moneybag:"💰",monkey:"🐒",monkey_face:"🐵",monorail:"🚝",moon:"🌔",mortar_board:"🎓",mosque:"🕌",motor_boat:"🛥",motor_scooter:"🛵",motorcycle:"🏍",motorway:"🛣",mount_fuji:"🗻",mountain:"⛰",mountain_biking_man:"🚵",mountain_biking_woman:"🚵‍♀️",mountain_cableway:"🚠",mountain_railway:"🚞",mountain_snow:"🏔",mouse:"🐭",mouse2:"🐁",movie_camera:"🎥",moyai:"🗿",mrs_claus:"🤶",muscle:"💪",mushroom:"🍄",musical_keyboard:"🎹",musical_note:"🎵",musical_score:"🎼",mute:"🔇",nail_care:"💅",name_badge:"📛",national_park:"🏞",nauseated_face:"🤢",necktie:"👔",negative_squared_cross_mark:"❎",nerd_face:"🤓",neutral_face:"😐",new:"🆕",new_moon:"🌑",new_moon_with_face:"🌚",newspaper:"📰",newspaper_roll:"🗞",next_track_button:"⏭",ng:"🆖",no_good_man:"🙅‍♂️",no_good_woman:"🙅",night_with_stars:"🌃",no_bell:"🔕",no_bicycles:"🚳",no_entry:"⛔️",no_entry_sign:"🚫",no_mobile_phones:"📵",no_mouth:"😶",no_pedestrians:"🚷",no_smoking:"🚭","non-potable_water":"🚱",nose:"👃",notebook:"📓",notebook_with_decorative_cover:"📔",notes:"🎶",nut_and_bolt:"🔩",o:"⭕️",o2:"🅾️",ocean:"🌊",octopus:"🐙",oden:"🍢",office:"🏢",oil_drum:"🛢",ok:"🆗",ok_hand:"👌",ok_man:"🙆‍♂️",ok_woman:"🙆",old_key:"🗝",older_man:"👴",older_woman:"👵",om:"🕉",on:"🔛",oncoming_automobile:"🚘",oncoming_bus:"🚍",oncoming_police_car:"🚔",oncoming_taxi:"🚖",open_file_folder:"📂",open_hands:"👐",open_mouth:"😮",open_umbrella:"☂️",ophiuchus:"⛎",orange_book:"📙",orthodox_cross:"☦️",outbox_tray:"📤",owl:"🦉",ox:"🐂",package:"📦",page_facing_up:"📄",page_with_curl:"📃",pager:"📟",paintbrush:"🖌",palm_tree:"🌴",pancakes:"🥞",panda_face:"🐼",paperclip:"📎",paperclips:"🖇",parasol_on_ground:"⛱",parking:"🅿️",part_alternation_mark:"〽️",partly_sunny:"⛅️",passenger_ship:"🛳",passport_control:"🛂",pause_button:"⏸",peace_symbol:"☮️",peach:"🍑",peanuts:"🥜",pear:"🍐",pen:"🖊",pencil2:"✏️",penguin:"🐧",pensive:"😔",performing_arts:"🎭",persevere:"😣",person_fencing:"🤺",pouting_woman:"🙎",phone:"☎️",pick:"⛏",pig:"🐷",pig2:"🐖",pig_nose:"🐽",pill:"💊",pineapple:"🍍",ping_pong:"🏓",pisces:"♓️",pizza:"🍕",place_of_worship:"🛐",plate_with_cutlery:"🍽",play_or_pause_button:"⏯",point_down:"👇",point_left:"👈",point_right:"👉",point_up:"☝️",point_up_2:"👆",police_car:"🚓",policewoman:"👮‍♀️",poodle:"🐩",popcorn:"🍿",post_office:"🏣",postal_horn:"📯",postbox:"📮",potable_water:"🚰",potato:"🥔",pouch:"👝",poultry_leg:"🍗",pound:"💷",rage:"😡",pouting_cat:"😾",pouting_man:"🙎‍♂️",pray:"🙏",prayer_beads:"📿",pregnant_woman:"🤰",previous_track_button:"⏮",prince:"🤴",princess:"👸",printer:"🖨",purple_heart:"💜",purse:"👛",pushpin:"📌",put_litter_in_its_place:"🚮",question:"❓",rabbit:"🐰",rabbit2:"🐇",racehorse:"🐎",racing_car:"🏎",radio:"📻",radio_button:"🔘",radioactive:"☢️",railway_car:"🚃",railway_track:"🛤",rainbow:"🌈",rainbow_flag:"🏳️‍🌈",raised_back_of_hand:"🤚",raised_hand_with_fingers_splayed:"🖐",raised_hands:"🙌",raising_hand_woman:"🙋",raising_hand_man:"🙋‍♂️",ram:"🐏",ramen:"🍜",rat:"🐀",record_button:"⏺",recycle:"♻️",red_circle:"🔴",registered:"®️",relaxed:"☺️",relieved:"😌",reminder_ribbon:"🎗",repeat:"🔁",repeat_one:"🔂",rescue_worker_helmet:"⛑",restroom:"🚻",revolving_hearts:"💞",rewind:"⏪",rhinoceros:"🦏",ribbon:"🎀",rice:"🍚",rice_ball:"🍙",rice_cracker:"🍘",rice_scene:"🎑",right_anger_bubble:"🗯",ring:"💍",robot:"🤖",rocket:"🚀",rofl:"🤣",roll_eyes:"🙄",roller_coaster:"🎢",rooster:"🐓",rose:"🌹",rosette:"🏵",rotating_light:"🚨",round_pushpin:"📍",rowing_man:"🚣",rowing_woman:"🚣‍♀️",rugby_football:"🏉",running_man:"🏃",running_shirt_with_sash:"🎽",running_woman:"🏃‍♀️",sa:"🈂️",sagittarius:"♐️",sake:"🍶",sandal:"👡",santa:"🎅",satellite:"📡",saxophone:"🎷",school:"🏫",school_satchel:"🎒",scissors:"✂️",scorpion:"🦂",scorpius:"♏️",scream:"😱",scream_cat:"🙀",scroll:"📜",seat:"💺",secret:"㊙️",see_no_evil:"🙈",seedling:"🌱",selfie:"🤳",shallow_pan_of_food:"🥘",shamrock:"☘️",shark:"🦈",shaved_ice:"🍧",sheep:"🐑",shell:"🐚",shield:"🛡",shinto_shrine:"⛩",ship:"🚢",shirt:"👕",shopping:"🛍",shopping_cart:"🛒",shower:"🚿",shrimp:"🦐",signal_strength:"📶",six_pointed_star:"🔯",ski:"🎿",skier:"⛷",skull:"💀",skull_and_crossbones:"☠️",sleeping:"😴",sleeping_bed:"🛌",sleepy:"😪",slightly_frowning_face:"🙁",slightly_smiling_face:"🙂",slot_machine:"🎰",small_airplane:"🛩",small_blue_diamond:"🔹",small_orange_diamond:"🔸",small_red_triangle:"🔺",small_red_triangle_down:"🔻",smile:"😄",smile_cat:"😸",smiley:"😃",smiley_cat:"😺",smiling_imp:"😈",smirk:"😏",smirk_cat:"😼",smoking:"🚬",snail:"🐌",snake:"🐍",sneezing_face:"🤧",snowboarder:"🏂",snowflake:"❄️",snowman:"⛄️",snowman_with_snow:"☃️",sob:"😭",soccer:"⚽️",soon:"🔜",sos:"🆘",sound:"🔉",space_invader:"👾",spades:"♠️",spaghetti:"🍝",sparkle:"❇️",sparkler:"🎇",sparkles:"✨",sparkling_heart:"💖",speak_no_evil:"🙊",speaker:"🔈",speaking_head:"🗣",speech_balloon:"💬",speedboat:"🚤",spider:"🕷",spider_web:"🕸",spiral_calendar:"🗓",spiral_notepad:"🗒",spoon:"🥄",squid:"🦑",stadium:"🏟",star:"⭐️",star2:"🌟",star_and_crescent:"☪️",star_of_david:"✡️",stars:"🌠",station:"🚉",statue_of_liberty:"🗽",steam_locomotive:"🚂",stew:"🍲",stop_button:"⏹",stop_sign:"🛑",stopwatch:"⏱",straight_ruler:"📏",strawberry:"🍓",stuck_out_tongue:"😛",stuck_out_tongue_closed_eyes:"😝",stuck_out_tongue_winking_eye:"😜",studio_microphone:"🎙",stuffed_flatbread:"🥙",sun_behind_large_cloud:"🌥",sun_behind_rain_cloud:"🌦",sun_behind_small_cloud:"🌤",sun_with_face:"🌞",sunflower:"🌻",sunglasses:"😎",sunny:"☀️",sunrise:"🌅",sunrise_over_mountains:"🌄",surfing_man:"🏄",surfing_woman:"🏄‍♀️",sushi:"🍣",suspension_railway:"🚟",sweat:"😓",sweat_drops:"💦",sweat_smile:"😅",sweet_potato:"🍠",swimming_man:"🏊",swimming_woman:"🏊‍♀️",symbols:"🔣",synagogue:"🕍",syringe:"💉",taco:"🌮",tada:"🎉",tanabata_tree:"🎋",taurus:"♉️",taxi:"🚕",tea:"🍵",telephone_receiver:"📞",telescope:"🔭",tennis:"🎾",tent:"⛺️",thermometer:"🌡",thinking:"🤔",thought_balloon:"💭",ticket:"🎫",tickets:"🎟",tiger:"🐯",tiger2:"🐅",timer_clock:"⏲",tipping_hand_man:"💁‍♂️",tired_face:"😫",tm:"™️",toilet:"🚽",tokyo_tower:"🗼",tomato:"🍅",tongue:"👅",top:"🔝",tophat:"🎩",tornado:"🌪",trackball:"🖲",tractor:"🚜",traffic_light:"🚥",train:"🚋",train2:"🚆",tram:"🚊",triangular_flag_on_post:"🚩",triangular_ruler:"📐",trident:"🔱",triumph:"😤",trolleybus:"🚎",trophy:"🏆",tropical_drink:"🍹",tropical_fish:"🐠",truck:"🚚",trumpet:"🎺",tulip:"🌷",tumbler_glass:"🥃",turkey:"🦃",turtle:"🐢",tv:"📺",twisted_rightwards_arrows:"🔀",two_hearts:"💕",two_men_holding_hands:"👬",two_women_holding_hands:"👭",u5272:"🈹",u5408:"🈴",u55b6:"🈺",u6307:"🈯️",u6708:"🈷️",u6709:"🈶",u6e80:"🈵",u7121:"🈚️",u7533:"🈸",u7981:"🈲",u7a7a:"🈳",umbrella:"☔️",unamused:"😒",underage:"🔞",unicorn:"🦄",unlock:"🔓",up:"🆙",upside_down_face:"🙃",v:"✌️",vertical_traffic_light:"🚦",vhs:"📼",vibration_mode:"📳",video_camera:"📹",video_game:"🎮",violin:"🎻",virgo:"♍️",volcano:"🌋",volleyball:"🏐",vs:"🆚",vulcan_salute:"🖖",walking_man:"🚶",walking_woman:"🚶‍♀️",waning_crescent_moon:"🌘",waning_gibbous_moon:"🌖",warning:"⚠️",wastebasket:"🗑",watch:"⌚️",water_buffalo:"🐃",watermelon:"🍉",wave:"👋",wavy_dash:"〰️",waxing_crescent_moon:"🌒",wc:"🚾",weary:"😩",wedding:"💒",weight_lifting_man:"🏋️",weight_lifting_woman:"🏋️‍♀️",whale:"🐳",whale2:"🐋",wheel_of_dharma:"☸️",wheelchair:"♿️",white_check_mark:"✅",white_circle:"⚪️",white_flag:"🏳️",white_flower:"💮",white_large_square:"⬜️",white_medium_small_square:"◽️",white_medium_square:"◻️",white_small_square:"▫️",white_square_button:"🔳",wilted_flower:"🥀",wind_chime:"🎐",wind_face:"🌬",wine_glass:"🍷",wink:"😉",wolf:"🐺",woman:"👩",woman_artist:"👩‍🎨",woman_astronaut:"👩‍🚀",woman_cartwheeling:"🤸‍♀️",woman_cook:"👩‍🍳",woman_facepalming:"🤦‍♀️",woman_factory_worker:"👩‍🏭",woman_farmer:"👩‍🌾",woman_firefighter:"👩‍🚒",woman_health_worker:"👩‍⚕️",woman_judge:"👩‍⚖️",woman_juggling:"🤹‍♀️",woman_mechanic:"👩‍🔧",woman_office_worker:"👩‍💼",woman_pilot:"👩‍✈️",woman_playing_handball:"🤾‍♀️",woman_playing_water_polo:"🤽‍♀️",woman_scientist:"👩‍🔬",woman_shrugging:"🤷‍♀️",woman_singer:"👩‍🎤",woman_student:"👩‍🎓",woman_teacher:"👩‍🏫",woman_technologist:"👩‍💻",woman_with_turban:"👳‍♀️",womans_clothes:"👚",womans_hat:"👒",women_wrestling:"🤼‍♀️",womens:"🚺",world_map:"🗺",worried:"😟",wrench:"🔧",writing_hand:"✍️",x:"❌",yellow_heart:"💛",yen:"💴",yin_yang:"☯️",yum:"😋",zap:"⚡️",zipper_mouth_face:"🤐",zzz:"💤",octocat:'<img alt=":octocat:" height="20" width="20" align="absmiddle" src="https://assets-cdn.github.com/images/icons/emoji/octocat.png">',showdown:"<span style=\"font-family: 'Anonymous Pro', monospace; text-decoration: underline; text-decoration-style: dashed; text-decoration-color: #3e8b8a;text-underline-position: under;\">S</span>"},n.Converter=function(e){var t={},a=[],d=[],u={},c=i,h={parsed:{},raw:"",format:""};function f(e,t){if(t=t||null,n.helper.isString(e)){if(t=e=n.helper.stdExtName(e),n.extensions[e])return console.warn("DEPRECATION WARNING: "+e+" is an old extension that uses a deprecated loading method.Please inform the developer that the extension should be updated!"),void function(e,t){"function"==typeof e&&(e=e(new n.Converter)),n.helper.isArray(e)||(e=[e]);var o=l(e,t);if(!o.valid)throw Error(o.error);for(var r=0;r<e.length;++r)switch(e[r].type){case"lang":a.push(e[r]);break;case"output":d.push(e[r]);break;default:throw Error("Extension loader error: Type unrecognized!!!")}}(n.extensions[e],e);if(n.helper.isUndefined(o[e]))throw Error('Extension "'+e+'" could not be loaded. It was either not found or is not a valid extension.');e=o[e]}"function"==typeof e&&(e=e()),n.helper.isArray(e)||(e=[e]);var r=l(e,t);if(!r.valid)throw Error(r.error);for(var i=0;i<e.length;++i){switch(e[i].type){case"lang":a.push(e[i]);break;case"output":d.push(e[i])}if(e[i].hasOwnProperty("listeners"))for(var s in e[i].listeners)e[i].listeners.hasOwnProperty(s)&&m(s,e[i].listeners[s])}}function m(e,t){if(!n.helper.isString(e))throw Error("Invalid argument in converter.listen() method: name must be a string, but "+typeof e+" given");if("function"!=typeof t)throw Error("Invalid argument in converter.listen() method: callback must be a function, but "+typeof t+" given");u.hasOwnProperty(e)||(u[e]=[]),u[e].push(t)}!function(){for(var a in e=e||{},r)r.hasOwnProperty(a)&&(t[a]=r[a]);if("object"!=typeof e)throw Error("Converter expects the passed parameter to be an object, but "+typeof e+" was passed instead.");for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o]);t.extensions&&n.helper.forEach(t.extensions,f)}(),this._dispatch=function(e,t,n,a){if(u.hasOwnProperty(e))for(var o=0;o<u[e].length;++o){var r=u[e][o](e,t,this,n,a);r&&void 0!==r&&(t=r)}return t},this.listen=function(e,t){return m(e,t),this},this.makeHtml=function(e){if(!e)return e;var o={gHtmlBlocks:[],gHtmlMdBlocks:[],gHtmlSpans:[],gUrls:{},gTitles:{},gDimensions:{},gListLevel:0,hashLinkCounts:{},langExtensions:a,outputModifiers:d,converter:this,ghCodeBlocks:[],metadata:{parsed:{},raw:"",format:""}};return e=(e=(e=(e=(e=e.replace(/¨/g,"¨T")).replace(/\$/g,"¨D")).replace(/\r\n/g,"\n")).replace(/\r/g,"\n")).replace(/\u00A0/g," "),t.smartIndentationFix&&(e=function(e){var t=e.match(/^\s*/)[0].length,n=new RegExp("^\\s{0,"+t+"}","gm");return e.replace(n,"")}(e)),e="\n\n"+e+"\n\n",e=(e=n.subParser("detab")(e,t,o)).replace(/^[ \t]+$/gm,""),n.helper.forEach(a,(function(a){e=n.subParser("runExtension")(a,e,t,o)})),e=n.subParser("metadata")(e,t,o),e=n.subParser("hashPreCodeTags")(e,t,o),e=n.subParser("githubCodeBlocks")(e,t,o),e=n.subParser("hashHTMLBlocks")(e,t,o),e=n.subParser("hashCodeTags")(e,t,o),e=n.subParser("stripLinkDefinitions")(e,t,o),e=n.subParser("blockGamut")(e,t,o),e=n.subParser("unhashHTMLSpans")(e,t,o),e=(e=(e=n.subParser("unescapeSpecialChars")(e,t,o)).replace(/¨D/g,"$$")).replace(/¨T/g,"¨"),e=n.subParser("completeHTMLDocument")(e,t,o),n.helper.forEach(d,(function(a){e=n.subParser("runExtension")(a,e,t,o)})),h=o.metadata,e},this.makeMarkdown=this.makeMd=function(e,t){if(e=(e=(e=e.replace(/\r\n/g,"\n")).replace(/\r/g,"\n")).replace(/>[ \t]+</,">¨NBSP;<"),!t){if(!window||!window.document)throw new Error("HTMLParser is undefined. If in a webworker or nodejs environment, you need to provide a WHATWG DOM and HTML such as JSDOM");t=window.document}var a=t.createElement("div");a.innerHTML=e;var o={preList:function(e){for(var t=e.querySelectorAll("pre"),a=[],o=0;o<t.length;++o)if(1===t[o].childElementCount&&"code"===t[o].firstChild.tagName.toLowerCase()){var r=t[o].firstChild.innerHTML.trim(),i=t[o].firstChild.getAttribute("data-language")||"";if(""===i)for(var s=t[o].firstChild.className.split(" "),l=0;l<s.length;++l){var d=s[l].match(/^language-(.+)$/);if(null!==d){i=d[1];break}}r=n.helper.unescapeHTMLEntities(r),a.push(r),t[o].outerHTML='<precode language="'+i+'" precodenum="'+o.toString()+'"></precode>'}else a.push(t[o].innerHTML),t[o].innerHTML="",t[o].setAttribute("prenum",o.toString());return a}(a)};!function e(t){for(var n=0;n<t.childNodes.length;++n){var a=t.childNodes[n];3===a.nodeType?/\S/.test(a.nodeValue)?(a.nodeValue=a.nodeValue.split("\n").join(" "),a.nodeValue=a.nodeValue.replace(/(\s)+/g,"$1")):(t.removeChild(a),--n):1===a.nodeType&&e(a)}}(a);for(var r=a.childNodes,i="",s=0;s<r.length;s++)i+=n.subParser("makeMarkdown.node")(r[s],o);return i},this.setOption=function(e,n){t[e]=n},this.getOption=function(e){return t[e]},this.getOptions=function(){return t},this.addExtension=function(e,t){f(e,t=t||null)},this.useExtension=function(e){f(e)},this.setFlavor=function(e){if(!s.hasOwnProperty(e))throw Error(e+" flavor was not found");var n=s[e];for(var a in c=e,n)n.hasOwnProperty(a)&&(t[a]=n[a])},this.getFlavor=function(){return c},this.removeExtension=function(e){n.helper.isArray(e)||(e=[e]);for(var t=0;t<e.length;++t){for(var o=e[t],r=0;r<a.length;++r)a[r]===o&&a[r].splice(r,1);for(;0<d.length;++r)d[0]===o&&d[0].splice(r,1)}},this.getAllExtensions=function(){return{language:a,output:d}},this.getMetadata=function(e){return e?h.raw:h.parsed},this.getMetadataFormat=function(){return h.format},this._setMetadataPair=function(e,t){h.parsed[e]=t},this._setMetadataFormat=function(e){h.format=e},this._setMetadataRaw=function(e){h.raw=e}},n.subParser("anchors",(function(e,t,a){var o=function(e,o,r,i,s,l,d){if(n.helper.isUndefined(d)&&(d=""),r=r.toLowerCase(),e.search(/\(<?\s*>? ?(['"].*['"])?\)$/m)>-1)i="";else if(!i){if(r||(r=o.toLowerCase().replace(/ ?\n/g," ")),i="#"+r,n.helper.isUndefined(a.gUrls[r]))return e;i=a.gUrls[r],n.helper.isUndefined(a.gTitles[r])||(d=a.gTitles[r])}var u='<a href="'+(i=i.replace(n.helper.regexes.asteriskDashAndColon,n.helper.escapeCharactersCallback))+'"';return""!==d&&null!==d&&(u+=' title="'+(d=(d=d.replace(/"/g,""")).replace(n.helper.regexes.asteriskDashAndColon,n.helper.escapeCharactersCallback))+'"'),t.openLinksInNewWindow&&!/^#/.test(i)&&(u+=' rel="noopener noreferrer" target="¨E95Eblank"'),u+">"+o+"</a>"};return e=(e=(e=(e=(e=a.converter._dispatch("anchors.before",e,t,a)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)] ?(?:\n *)?\[(.*?)]()()()()/g,o)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]?<([^>]*)>(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,o)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]?<?([\S]+?(?:\([\S]*?\)[\S]*?)?)>?(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,o)).replace(/\[([^\[\]]+)]()()()()()/g,o),t.ghMentions&&(e=e.replace(/(^|\s)(\\)?(@([a-z\d]+(?:[a-z\d.-]+?[a-z\d]+)*))/gim,(function(e,a,o,r,i){if("\\"===o)return a+r;if(!n.helper.isString(t.ghMentionsLink))throw new Error("ghMentionsLink option must be a string");var s=t.ghMentionsLink.replace(/\{u}/g,i),l="";return t.openLinksInNewWindow&&(l=' rel="noopener noreferrer" target="¨E95Eblank"'),a+'<a href="'+s+'"'+l+">"+r+"</a>"}))),a.converter._dispatch("anchors.after",e,t,a)}));var c=/([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+?\.[^'">\s]+?)()(\1)?(?=\s|$)(?!["<>])/gi,h=/([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+\.[^'">\s]+?)([.!?,()\[\]])?(\1)?(?=\s|$)(?!["<>])/gi,f=/()<(((https?|ftp|dict):\/\/|www\.)[^'">\s]+)()>()/gi,m=/(^|\s)(?:mailto:)?([A-Za-z0-9!#$%&'*+-/=?^_`{|}~.]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)(?=$|\s)/gim,g=/<()(?:mailto:)?([-.\w]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)>/gi,p=function(e){return function(t,a,o,r,i,s,l){var d=o=o.replace(n.helper.regexes.asteriskDashAndColon,n.helper.escapeCharactersCallback),u="",c="",h=a||"",f=l||"";return/^www\./i.test(o)&&(o=o.replace(/^www\./i,"http://www.")),e.excludeTrailingPunctuationFromURLs&&s&&(u=s),e.openLinksInNewWindow&&(c=' rel="noopener noreferrer" target="¨E95Eblank"'),h+'<a href="'+o+'"'+c+">"+d+"</a>"+u+f}},_=function(e,t){return function(a,o,r){var i="mailto:";return o=o||"",r=n.subParser("unescapeSpecialChars")(r,e,t),e.encodeEmails?(i=n.helper.encodeEmailAddress(i+r),r=n.helper.encodeEmailAddress(r)):i+=r,o+'<a href="'+i+'">'+r+"</a>"}};n.subParser("autoLinks",(function(e,t,n){return e=(e=(e=n.converter._dispatch("autoLinks.before",e,t,n)).replace(f,p(t))).replace(g,_(t,n)),n.converter._dispatch("autoLinks.after",e,t,n)})),n.subParser("simplifiedAutoLinks",(function(e,t,n){return t.simplifiedAutoLink?(e=(e=(e=n.converter._dispatch("simplifiedAutoLinks.before",e,t,n)).replace(t.excludeTrailingPunctuationFromURLs?h:c,p(t))).replace(m,_(t,n)),e=n.converter._dispatch("simplifiedAutoLinks.after",e,t,n)):e})),n.subParser("blockGamut",(function(e,t,a){return e=a.converter._dispatch("blockGamut.before",e,t,a),e=n.subParser("blockQuotes")(e,t,a),e=n.subParser("headers")(e,t,a),e=n.subParser("horizontalRule")(e,t,a),e=n.subParser("lists")(e,t,a),e=n.subParser("codeBlocks")(e,t,a),e=n.subParser("tables")(e,t,a),e=n.subParser("hashHTMLBlocks")(e,t,a),e=n.subParser("paragraphs")(e,t,a),a.converter._dispatch("blockGamut.after",e,t,a)})),n.subParser("blockQuotes",(function(e,t,a){e=a.converter._dispatch("blockQuotes.before",e,t,a);var o=/(^ {0,3}>[ \t]?.+\n(.+\n)*\n*)+/gm;return t.splitAdjacentBlockquotes&&(o=/^ {0,3}>[\s\S]*?(?:\n\n)/gm),e=(e+="\n\n").replace(o,(function(e){return e=(e=(e=e.replace(/^[ \t]*>[ \t]?/gm,"")).replace(/¨0/g,"")).replace(/^[ \t]+$/gm,""),e=n.subParser("githubCodeBlocks")(e,t,a),e=(e=(e=n.subParser("blockGamut")(e,t,a)).replace(/(^|\n)/g,"$1 ")).replace(/(\s*<pre>[^\r]+?<\/pre>)/gm,(function(e,t){var n=t;return(n=n.replace(/^ /gm,"¨0")).replace(/¨0/g,"")})),n.subParser("hashBlock")("<blockquote>\n"+e+"\n</blockquote>",t,a)})),a.converter._dispatch("blockQuotes.after",e,t,a)})),n.subParser("codeBlocks",(function(e,t,a){return e=a.converter._dispatch("codeBlocks.before",e,t,a),e=(e=(e+="¨0").replace(/(?:\n\n|^)((?:(?:[ ]{4}|\t).*\n+)+)(\n*[ ]{0,3}[^ \t\n]|(?=¨0))/g,(function(e,o,r){var i=o,s=r,l="\n";return i=n.subParser("outdent")(i,t,a),i=n.subParser("encodeCode")(i,t,a),i=(i=(i=n.subParser("detab")(i,t,a)).replace(/^\n+/g,"")).replace(/\n+$/g,""),t.omitExtraWLInCodeBlocks&&(l=""),i="<pre><code>"+i+l+"</code></pre>",n.subParser("hashBlock")(i,t,a)+s}))).replace(/¨0/,""),a.converter._dispatch("codeBlocks.after",e,t,a)})),n.subParser("codeSpans",(function(e,t,a){return void 0===(e=a.converter._dispatch("codeSpans.before",e,t,a))&&(e=""),e=e.replace(/(^|[^\\])(`+)([^\r]*?[^`])\2(?!`)/gm,(function(e,o,r,i){var s=i;return s=(s=s.replace(/^([ \t]*)/g,"")).replace(/[ \t]*$/g,""),s=o+"<code>"+(s=n.subParser("encodeCode")(s,t,a))+"</code>",n.subParser("hashHTMLSpans")(s,t,a)})),a.converter._dispatch("codeSpans.after",e,t,a)})),n.subParser("completeHTMLDocument",(function(e,t,n){if(!t.completeHTMLDocument)return e;e=n.converter._dispatch("completeHTMLDocument.before",e,t,n);var a="html",o="<!DOCTYPE HTML>\n",r="",i='<meta charset="utf-8">\n',s="",l="";for(var d in void 0!==n.metadata.parsed.doctype&&(o="<!DOCTYPE "+n.metadata.parsed.doctype+">\n","html"!==(a=n.metadata.parsed.doctype.toString().toLowerCase())&&"html5"!==a||(i='<meta charset="utf-8">')),n.metadata.parsed)if(n.metadata.parsed.hasOwnProperty(d))switch(d.toLowerCase()){case"doctype":break;case"title":r="<title>"+n.metadata.parsed.title+"</title>\n";break;case"charset":i="html"===a||"html5"===a?'<meta charset="'+n.metadata.parsed.charset+'">\n':'<meta name="charset" content="'+n.metadata.parsed.charset+'">\n';break;case"language":case"lang":s=' lang="'+n.metadata.parsed[d]+'"',l+='<meta name="'+d+'" content="'+n.metadata.parsed[d]+'">\n';break;default:l+='<meta name="'+d+'" content="'+n.metadata.parsed[d]+'">\n'}return e=o+"<html"+s+">\n<head>\n"+r+i+l+"</head>\n<body>\n"+e.trim()+"\n</body>\n</html>",n.converter._dispatch("completeHTMLDocument.after",e,t,n)})),n.subParser("detab",(function(e,t,n){return e=(e=(e=(e=(e=(e=n.converter._dispatch("detab.before",e,t,n)).replace(/\t(?=\t)/g," ")).replace(/\t/g,"¨A¨B")).replace(/¨B(.+?)¨A/g,(function(e,t){for(var n=t,a=4-n.length%4,o=0;o<a;o++)n+=" ";return n}))).replace(/¨A/g," ")).replace(/¨B/g,""),n.converter._dispatch("detab.after",e,t,n)})),n.subParser("ellipsis",(function(e,t,n){return e=(e=n.converter._dispatch("ellipsis.before",e,t,n)).replace(/\.\.\./g,"…"),n.converter._dispatch("ellipsis.after",e,t,n)})),n.subParser("emoji",(function(e,t,a){return t.emoji?(e=(e=a.converter._dispatch("emoji.before",e,t,a)).replace(/:([\S]+?):/g,(function(e,t){return n.helper.emojis.hasOwnProperty(t)?n.helper.emojis[t]:e})),a.converter._dispatch("emoji.after",e,t,a)):e})),n.subParser("encodeAmpsAndAngles",(function(e,t,n){return e=(e=(e=(e=(e=n.converter._dispatch("encodeAmpsAndAngles.before",e,t,n)).replace(/&(?!#?[xX]?(?:[0-9a-fA-F]+|\w+);)/g,"&")).replace(/<(?![a-z\/?$!])/gi,"<")).replace(/</g,"<")).replace(/>/g,">"),n.converter._dispatch("encodeAmpsAndAngles.after",e,t,n)})),n.subParser("encodeBackslashEscapes",(function(e,t,a){return e=(e=(e=a.converter._dispatch("encodeBackslashEscapes.before",e,t,a)).replace(/\\(\\)/g,n.helper.escapeCharactersCallback)).replace(/\\([`*_{}\[\]()>#+.!~=|-])/g,n.helper.escapeCharactersCallback),a.converter._dispatch("encodeBackslashEscapes.after",e,t,a)})),n.subParser("encodeCode",(function(e,t,a){return e=(e=a.converter._dispatch("encodeCode.before",e,t,a)).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/([*_{}\[\]\\=~-])/g,n.helper.escapeCharactersCallback),a.converter._dispatch("encodeCode.after",e,t,a)})),n.subParser("escapeSpecialCharsWithinTagAttributes",(function(e,t,a){return e=(e=(e=a.converter._dispatch("escapeSpecialCharsWithinTagAttributes.before",e,t,a)).replace(/<\/?[a-z\d_:-]+(?:[\s]+[\s\S]+?)?>/gi,(function(e){return e.replace(/(.)<\/?code>(?=.)/g,"$1`").replace(/([\\`*_~=|])/g,n.helper.escapeCharactersCallback)}))).replace(/<!(--(?:(?:[^>-]|-[^>])(?:[^-]|-[^-])*)--)>/gi,(function(e){return e.replace(/([\\`*_~=|])/g,n.helper.escapeCharactersCallback)})),a.converter._dispatch("escapeSpecialCharsWithinTagAttributes.after",e,t,a)})),n.subParser("githubCodeBlocks",(function(e,t,a){return t.ghCodeBlocks?(e=a.converter._dispatch("githubCodeBlocks.before",e,t,a),e=(e=(e+="¨0").replace(/(?:^|\n)(?: {0,3})(```+|~~~+)(?: *)([^\s`~]*)\n([\s\S]*?)\n(?: {0,3})\1/g,(function(e,o,r,i){var s=t.omitExtraWLInCodeBlocks?"":"\n";return i=n.subParser("encodeCode")(i,t,a),i="<pre><code"+(r?' class="'+r+" language-"+r+'"':"")+">"+(i=(i=(i=n.subParser("detab")(i,t,a)).replace(/^\n+/g,"")).replace(/\n+$/g,""))+s+"</code></pre>",i=n.subParser("hashBlock")(i,t,a),"\n\n¨G"+(a.ghCodeBlocks.push({text:e,codeblock:i})-1)+"G\n\n"}))).replace(/¨0/,""),a.converter._dispatch("githubCodeBlocks.after",e,t,a)):e})),n.subParser("hashBlock",(function(e,t,n){return e=(e=n.converter._dispatch("hashBlock.before",e,t,n)).replace(/(^\n+|\n+$)/g,""),e="\n\n¨K"+(n.gHtmlBlocks.push(e)-1)+"K\n\n",n.converter._dispatch("hashBlock.after",e,t,n)})),n.subParser("hashCodeTags",(function(e,t,a){return e=a.converter._dispatch("hashCodeTags.before",e,t,a),e=n.helper.replaceRecursiveRegExp(e,(function(e,o,r,i){var s=r+n.subParser("encodeCode")(o,t,a)+i;return"¨C"+(a.gHtmlSpans.push(s)-1)+"C"}),"<code\\b[^>]*>","</code>","gim"),a.converter._dispatch("hashCodeTags.after",e,t,a)})),n.subParser("hashElement",(function(e,t,n){return function(e,t){var a=t;return a=(a=(a=a.replace(/\n\n/g,"\n")).replace(/^\n/,"")).replace(/\n+$/g,""),"\n\n¨K"+(n.gHtmlBlocks.push(a)-1)+"K\n\n"}})),n.subParser("hashHTMLBlocks",(function(e,t,a){e=a.converter._dispatch("hashHTMLBlocks.before",e,t,a);var o=["pre","div","h1","h2","h3","h4","h5","h6","blockquote","table","dl","ol","ul","script","noscript","form","fieldset","iframe","math","style","section","header","footer","nav","article","aside","address","audio","canvas","figure","hgroup","output","video","p"],r=function(e,t,n,o){var r=e;return-1!==n.search(/\bmarkdown\b/)&&(r=n+a.converter.makeHtml(t)+o),"\n\n¨K"+(a.gHtmlBlocks.push(r)-1)+"K\n\n"};t.backslashEscapesHTMLTags&&(e=e.replace(/\\<(\/?[^>]+?)>/g,(function(e,t){return"<"+t+">"})));for(var i=0;i<o.length;++i)for(var s,l=new RegExp("^ {0,3}(<"+o[i]+"\\b[^>]*>)","im"),d="<"+o[i]+"\\b[^>]*>",u="</"+o[i]+">";-1!==(s=n.helper.regexIndexOf(e,l));){var c=n.helper.splitAtIndex(e,s),h=n.helper.replaceRecursiveRegExp(c[1],r,d,u,"im");if(h===c[1])break;e=c[0].concat(h)}return e=e.replace(/(\n {0,3}(<(hr)\b([^<>])*?\/?>)[ \t]*(?=\n{2,}))/g,n.subParser("hashElement")(e,t,a)),e=(e=n.helper.replaceRecursiveRegExp(e,(function(e){return"\n\n¨K"+(a.gHtmlBlocks.push(e)-1)+"K\n\n"}),"^ {0,3}\x3c!--","--\x3e","gm")).replace(/(?:\n\n)( {0,3}(?:<([?%])[^\r]*?\2>)[ \t]*(?=\n{2,}))/g,n.subParser("hashElement")(e,t,a)),a.converter._dispatch("hashHTMLBlocks.after",e,t,a)})),n.subParser("hashHTMLSpans",(function(e,t,n){function a(e){return"¨C"+(n.gHtmlSpans.push(e)-1)+"C"}return e=(e=(e=(e=(e=n.converter._dispatch("hashHTMLSpans.before",e,t,n)).replace(/<[^>]+?\/>/gi,(function(e){return a(e)}))).replace(/<([^>]+?)>[\s\S]*?<\/\1>/g,(function(e){return a(e)}))).replace(/<([^>]+?)\s[^>]+?>[\s\S]*?<\/\1>/g,(function(e){return a(e)}))).replace(/<[^>]+?>/gi,(function(e){return a(e)})),n.converter._dispatch("hashHTMLSpans.after",e,t,n)})),n.subParser("unhashHTMLSpans",(function(e,t,n){e=n.converter._dispatch("unhashHTMLSpans.before",e,t,n);for(var a=0;a<n.gHtmlSpans.length;++a){for(var o=n.gHtmlSpans[a],r=0;/¨C(\d+)C/.test(o);){var i=RegExp.$1;if(o=o.replace("¨C"+i+"C",n.gHtmlSpans[i]),10===r){console.error("maximum nesting of 10 spans reached!!!");break}++r}e=e.replace("¨C"+a+"C",o)}return n.converter._dispatch("unhashHTMLSpans.after",e,t,n)})),n.subParser("hashPreCodeTags",(function(e,t,a){return e=a.converter._dispatch("hashPreCodeTags.before",e,t,a),e=n.helper.replaceRecursiveRegExp(e,(function(e,o,r,i){var s=r+n.subParser("encodeCode")(o,t,a)+i;return"\n\n¨G"+(a.ghCodeBlocks.push({text:e,codeblock:s})-1)+"G\n\n"}),"^ {0,3}<pre\\b[^>]*>\\s*<code\\b[^>]*>","^ {0,3}</code>\\s*</pre>","gim"),a.converter._dispatch("hashPreCodeTags.after",e,t,a)})),n.subParser("headers",(function(e,t,a){e=a.converter._dispatch("headers.before",e,t,a);var o=isNaN(parseInt(t.headerLevelStart))?1:parseInt(t.headerLevelStart),r=t.smoothLivePreview?/^(.+)[ \t]*\n-{2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n-+[ \t]*\n+/gm;function i(e){var o,r;if(t.customizedHeaderId){var i=e.match(/\{([^{]+?)}\s*$/);i&&i[1]&&(e=i[1])}return o=e,r=n.helper.isString(t.prefixHeaderId)?t.prefixHeaderId:!0===t.prefixHeaderId?"section-":"",t.rawPrefixHeaderId||(o=r+o),o=t.ghCompatibleHeaderId?o.replace(/ /g,"-").replace(/&/g,"").replace(/¨T/g,"").replace(/¨D/g,"").replace(/[&+$,\/:;=?@"#{}|^¨~\[\]`\\*)(%.!'<>]/g,"").toLowerCase():t.rawHeaderId?o.replace(/ /g,"-").replace(/&/g,"&").replace(/¨T/g,"¨").replace(/¨D/g,"$").replace(/["']/g,"-").toLowerCase():o.replace(/[^\w]/g,"").toLowerCase(),t.rawPrefixHeaderId&&(o=r+o),a.hashLinkCounts[o]?o=o+"-"+a.hashLinkCounts[o]++:a.hashLinkCounts[o]=1,o}return e=(e=(e=e.replace(t.smoothLivePreview?/^(.+)[ \t]*\n={2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n=+[ \t]*\n+/gm,(function(e,r){var s=n.subParser("spanGamut")(r,t,a),l=t.noHeaderId?"":' id="'+i(r)+'"',d="<h"+o+l+">"+s+"</h"+o+">";return n.subParser("hashBlock")(d,t,a)}))).replace(r,(function(e,r){var s=n.subParser("spanGamut")(r,t,a),l=t.noHeaderId?"":' id="'+i(r)+'"',d=o+1,u="<h"+d+l+">"+s+"</h"+d+">";return n.subParser("hashBlock")(u,t,a)}))).replace(t.requireSpaceBeforeHeadingText?/^(#{1,6})[ \t]+(.+?)[ \t]*#*\n+/gm:/^(#{1,6})[ \t]*(.+?)[ \t]*#*\n+/gm,(function(e,r,s){var l=s;t.customizedHeaderId&&(l=s.replace(/\s?\{([^{]+?)}\s*$/,""));var d=n.subParser("spanGamut")(l,t,a),u=t.noHeaderId?"":' id="'+i(s)+'"',c=o-1+r.length,h="<h"+c+u+">"+d+"</h"+c+">";return n.subParser("hashBlock")(h,t,a)})),a.converter._dispatch("headers.after",e,t,a)})),n.subParser("horizontalRule",(function(e,t,a){e=a.converter._dispatch("horizontalRule.before",e,t,a);var o=n.subParser("hashBlock")("<hr />",t,a);return e=(e=(e=e.replace(/^ {0,2}( ?-){3,}[ \t]*$/gm,o)).replace(/^ {0,2}( ?\*){3,}[ \t]*$/gm,o)).replace(/^ {0,2}( ?_){3,}[ \t]*$/gm,o),a.converter._dispatch("horizontalRule.after",e,t,a)})),n.subParser("images",(function(e,t,a){function o(e,t,o,r,i,s,l,d){var u=a.gUrls,c=a.gTitles,h=a.gDimensions;if(o=o.toLowerCase(),d||(d=""),e.search(/\(<?\s*>? ?(['"].*['"])?\)$/m)>-1)r="";else if(""===r||null===r){if(""!==o&&null!==o||(o=t.toLowerCase().replace(/ ?\n/g," ")),r="#"+o,n.helper.isUndefined(u[o]))return e;r=u[o],n.helper.isUndefined(c[o])||(d=c[o]),n.helper.isUndefined(h[o])||(i=h[o].width,s=h[o].height)}t=t.replace(/"/g,""").replace(n.helper.regexes.asteriskDashAndColon,n.helper.escapeCharactersCallback);var f='<img src="'+(r=r.replace(n.helper.regexes.asteriskDashAndColon,n.helper.escapeCharactersCallback))+'" alt="'+t+'"';return d&&n.helper.isString(d)&&(f+=' title="'+(d=d.replace(/"/g,""").replace(n.helper.regexes.asteriskDashAndColon,n.helper.escapeCharactersCallback))+'"'),i&&s&&(f+=' width="'+(i="*"===i?"auto":i)+'"',f+=' height="'+(s="*"===s?"auto":s)+'"'),f+" />"}return e=(e=(e=(e=(e=(e=a.converter._dispatch("images.before",e,t,a)).replace(/!\[([^\]]*?)] ?(?:\n *)?\[([\s\S]*?)]()()()()()/g,o)).replace(/!\[([^\]]*?)][ \t]*()\([ \t]?<?(data:.+?\/.+?;base64,[A-Za-z0-9+/=\n]+?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,(function(e,t,n,a,r,i,s,l){return o(e,t,n,a=a.replace(/\s/g,""),r,i,0,l)}))).replace(/!\[([^\]]*?)][ \t]*()\([ \t]?<([^>]*)>(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(?:(["'])([^"]*?)\6))?[ \t]?\)/g,o)).replace(/!\[([^\]]*?)][ \t]*()\([ \t]?<?([\S]+?(?:\([\S]*?\)[\S]*?)?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,o)).replace(/!\[([^\[\]]+)]()()()()()/g,o),a.converter._dispatch("images.after",e,t,a)})),n.subParser("italicsAndBold",(function(e,t,n){function a(e,t,n){return t+e+n}return e=n.converter._dispatch("italicsAndBold.before",e,t,n),e=t.literalMidWordUnderscores?(e=(e=e.replace(/\b___(\S[\s\S]*?)___\b/g,(function(e,t){return a(t,"<strong><em>","</em></strong>")}))).replace(/\b__(\S[\s\S]*?)__\b/g,(function(e,t){return a(t,"<strong>","</strong>")}))).replace(/\b_(\S[\s\S]*?)_\b/g,(function(e,t){return a(t,"<em>","</em>")})):(e=(e=e.replace(/___(\S[\s\S]*?)___/g,(function(e,t){return/\S$/.test(t)?a(t,"<strong><em>","</em></strong>"):e}))).replace(/__(\S[\s\S]*?)__/g,(function(e,t){return/\S$/.test(t)?a(t,"<strong>","</strong>"):e}))).replace(/_([^\s_][\s\S]*?)_/g,(function(e,t){return/\S$/.test(t)?a(t,"<em>","</em>"):e})),e=t.literalMidWordAsterisks?(e=(e=e.replace(/([^*]|^)\B\*\*\*(\S[\s\S]*?)\*\*\*\B(?!\*)/g,(function(e,t,n){return a(n,t+"<strong><em>","</em></strong>")}))).replace(/([^*]|^)\B\*\*(\S[\s\S]*?)\*\*\B(?!\*)/g,(function(e,t,n){return a(n,t+"<strong>","</strong>")}))).replace(/([^*]|^)\B\*(\S[\s\S]*?)\*\B(?!\*)/g,(function(e,t,n){return a(n,t+"<em>","</em>")})):(e=(e=e.replace(/\*\*\*(\S[\s\S]*?)\*\*\*/g,(function(e,t){return/\S$/.test(t)?a(t,"<strong><em>","</em></strong>"):e}))).replace(/\*\*(\S[\s\S]*?)\*\*/g,(function(e,t){return/\S$/.test(t)?a(t,"<strong>","</strong>"):e}))).replace(/\*([^\s*][\s\S]*?)\*/g,(function(e,t){return/\S$/.test(t)?a(t,"<em>","</em>"):e})),n.converter._dispatch("italicsAndBold.after",e,t,n)})),n.subParser("lists",(function(e,t,a){function o(e,o){a.gListLevel++,e=e.replace(/\n{2,}$/,"\n");var r=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0| {0,3}([*+-]|\d+[.])[ \t]+))/gm,i=/\n[ \t]*\n(?!¨0)/.test(e+="¨0");return t.disableForced4SpacesIndentedSublists&&(r=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0|\2([*+-]|\d+[.])[ \t]+))/gm),e=(e=e.replace(r,(function(e,o,r,s,l,d,u){u=u&&""!==u.trim();var c=n.subParser("outdent")(l,t,a),h="";return d&&t.tasklists&&(h=' class="task-list-item" style="list-style-type: none;"',c=c.replace(/^[ \t]*\[(x|X| )?]/m,(function(){var e='<input type="checkbox" disabled style="margin: 0px 0.35em 0.25em -1.6em; vertical-align: middle;"';return u&&(e+=" checked"),e+">"}))),c=c.replace(/^([-*+]|\d\.)[ \t]+[\S\n ]*/g,(function(e){return"¨A"+e})),o||c.search(/\n{2,}/)>-1?(c=n.subParser("githubCodeBlocks")(c,t,a),c=n.subParser("blockGamut")(c,t,a)):(c=(c=n.subParser("lists")(c,t,a)).replace(/\n$/,""),c=(c=n.subParser("hashHTMLBlocks")(c,t,a)).replace(/\n\n+/g,"\n\n"),c=i?n.subParser("paragraphs")(c,t,a):n.subParser("spanGamut")(c,t,a)),"<li"+h+">"+(c=c.replace("¨A",""))+"</li>\n"}))).replace(/¨0/g,""),a.gListLevel--,o&&(e=e.replace(/\s+$/,"")),e}function r(e,t){if("ol"===t){var n=e.match(/^ *(\d+)\./);if(n&&"1"!==n[1])return' start="'+n[1]+'"'}return""}function i(e,n,a){var i=t.disableForced4SpacesIndentedSublists?/^ ?\d+\.[ \t]/gm:/^ {0,3}\d+\.[ \t]/gm,s=t.disableForced4SpacesIndentedSublists?/^ ?[*+-][ \t]/gm:/^ {0,3}[*+-][ \t]/gm,l="ul"===n?i:s,d="";if(-1!==e.search(l))!function t(u){var c=u.search(l),h=r(e,n);-1!==c?(d+="\n\n<"+n+h+">\n"+o(u.slice(0,c),!!a)+"</"+n+">\n",l="ul"==(n="ul"===n?"ol":"ul")?i:s,t(u.slice(c))):d+="\n\n<"+n+h+">\n"+o(u,!!a)+"</"+n+">\n"}(e);else{var u=r(e,n);d="\n\n<"+n+u+">\n"+o(e,!!a)+"</"+n+">\n"}return d}return e=a.converter._dispatch("lists.before",e,t,a),e+="¨0",e=(e=a.gListLevel?e.replace(/^(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(¨0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,(function(e,t,n){return i(t,n.search(/[*+-]/g)>-1?"ul":"ol",!0)})):e.replace(/(\n\n|^\n?)(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(¨0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,(function(e,t,n,a){return i(n,a.search(/[*+-]/g)>-1?"ul":"ol",!1)}))).replace(/¨0/,""),a.converter._dispatch("lists.after",e,t,a)})),n.subParser("metadata",(function(e,t,n){if(!t.metadata)return e;function a(e){n.metadata.raw=e,(e=(e=e.replace(/&/g,"&").replace(/"/g,""")).replace(/\n {4}/g," ")).replace(/^([\S ]+): +([\s\S]+?)$/gm,(function(e,t,a){return n.metadata.parsed[t]=a,""}))}return e=(e=(e=(e=n.converter._dispatch("metadata.before",e,t,n)).replace(/^\s*«««+(\S*?)\n([\s\S]+?)\n»»»+\n/,(function(e,t,n){return a(n),"¨M"}))).replace(/^\s*---+(\S*?)\n([\s\S]+?)\n---+\n/,(function(e,t,o){return t&&(n.metadata.format=t),a(o),"¨M"}))).replace(/¨M/g,""),n.converter._dispatch("metadata.after",e,t,n)})),n.subParser("outdent",(function(e,t,n){return e=(e=(e=n.converter._dispatch("outdent.before",e,t,n)).replace(/^(\t|[ ]{1,4})/gm,"¨0")).replace(/¨0/g,""),n.converter._dispatch("outdent.after",e,t,n)})),n.subParser("paragraphs",(function(e,t,a){for(var o=(e=(e=(e=a.converter._dispatch("paragraphs.before",e,t,a)).replace(/^\n+/g,"")).replace(/\n+$/g,"")).split(/\n{2,}/g),r=[],i=o.length,s=0;s<i;s++){var l=o[s];l.search(/¨(K|G)(\d+)\1/g)>=0?r.push(l):l.search(/\S/)>=0&&(l=(l=n.subParser("spanGamut")(l,t,a)).replace(/^([ \t]*)/g,"<p>"),r.push(l+="</p>"))}for(i=r.length,s=0;s<i;s++){for(var d="",u=r[s],c=!1;/¨(K|G)(\d+)\1/.test(u);){var h=RegExp.$1,f=RegExp.$2;d=(d="K"===h?a.gHtmlBlocks[f]:c?n.subParser("encodeCode")(a.ghCodeBlocks[f].text,t,a):a.ghCodeBlocks[f].codeblock).replace(/\$/g,"$$$$"),u=u.replace(/(\n\n)?¨(K|G)\d+\2(\n\n)?/,d),/^<pre\b[^>]*>\s*<code\b[^>]*>/.test(u)&&(c=!0)}r[s]=u}return e=(e=(e=r.join("\n")).replace(/^\n+/g,"")).replace(/\n+$/g,""),a.converter._dispatch("paragraphs.after",e,t,a)})),n.subParser("runExtension",(function(e,t,n,a){if(e.filter)t=e.filter(t,a.converter,n);else if(e.regex){var o=e.regex;o instanceof RegExp||(o=new RegExp(o,"g")),t=t.replace(o,e.replace)}return t})),n.subParser("spanGamut",(function(e,t,a){return e=a.converter._dispatch("spanGamut.before",e,t,a),e=n.subParser("codeSpans")(e,t,a),e=n.subParser("escapeSpecialCharsWithinTagAttributes")(e,t,a),e=n.subParser("encodeBackslashEscapes")(e,t,a),e=n.subParser("images")(e,t,a),e=n.subParser("anchors")(e,t,a),e=n.subParser("autoLinks")(e,t,a),e=n.subParser("simplifiedAutoLinks")(e,t,a),e=n.subParser("emoji")(e,t,a),e=n.subParser("underline")(e,t,a),e=n.subParser("italicsAndBold")(e,t,a),e=n.subParser("strikethrough")(e,t,a),e=n.subParser("ellipsis")(e,t,a),e=n.subParser("hashHTMLSpans")(e,t,a),e=n.subParser("encodeAmpsAndAngles")(e,t,a),t.simpleLineBreaks?/\n\n¨K/.test(e)||(e=e.replace(/\n+/g,"<br />\n")):e=e.replace(/ +\n/g,"<br />\n"),a.converter._dispatch("spanGamut.after",e,t,a)})),n.subParser("strikethrough",(function(e,t,a){return t.strikethrough&&(e=(e=a.converter._dispatch("strikethrough.before",e,t,a)).replace(/(?:~){2}([\s\S]+?)(?:~){2}/g,(function(e,o){return function(e){return t.simplifiedAutoLink&&(e=n.subParser("simplifiedAutoLinks")(e,t,a)),"<del>"+e+"</del>"}(o)})),e=a.converter._dispatch("strikethrough.after",e,t,a)),e})),n.subParser("stripLinkDefinitions",(function(e,t,a){var o=function(e,o,r,i,s,l,d){return o=o.toLowerCase(),a.gUrls[o]=r.match(/^data:.+?\/.+?;base64,/)?r.replace(/\s/g,""):n.subParser("encodeAmpsAndAngles")(r,t,a),l?l+d:(d&&(a.gTitles[o]=d.replace(/"|'/g,""")),t.parseImgDimensions&&i&&s&&(a.gDimensions[o]={width:i,height:s}),"")};return(e=(e=(e+="¨0").replace(/^ {0,3}\[(.+)]:[ \t]*\n?[ \t]*<?(data:.+?\/.+?;base64,[A-Za-z0-9+/=\n]+?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n\n|(?=¨0)|(?=\n\[))/gm,o)).replace(/^ {0,3}\[(.+)]:[ \t]*\n?[ \t]*<?([^>\s]+)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n+|(?=¨0))/gm,o)).replace(/¨0/,"")})),n.subParser("tables",(function(e,t,a){if(!t.tables)return e;function o(e,o){return"<td"+o+">"+n.subParser("spanGamut")(e,t,a)+"</td>\n"}function r(e){var r,i=e.split("\n");for(r=0;r<i.length;++r)/^ {0,3}\|/.test(i[r])&&(i[r]=i[r].replace(/^ {0,3}\|/,"")),/\|[ \t]*$/.test(i[r])&&(i[r]=i[r].replace(/\|[ \t]*$/,"")),i[r]=n.subParser("codeSpans")(i[r],t,a);var s,l,d,u,c=i[0].split("|").map((function(e){return e.trim()})),h=i[1].split("|").map((function(e){return e.trim()})),f=[],m=[],g=[],p=[];for(i.shift(),i.shift(),r=0;r<i.length;++r)""!==i[r].trim()&&f.push(i[r].split("|").map((function(e){return e.trim()})));if(c.length<h.length)return e;for(r=0;r<h.length;++r)g.push(/^:[ \t]*--*$/.test(s=h[r])?' style="text-align:left;"':/^--*[ \t]*:[ \t]*$/.test(s)?' style="text-align:right;"':/^:[ \t]*--*[ \t]*:$/.test(s)?' style="text-align:center;"':"");for(r=0;r<c.length;++r)n.helper.isUndefined(g[r])&&(g[r]=""),m.push((d=g[r],u=void 0,u="",l=(l=c[r]).trim(),(t.tablesHeaderId||t.tableHeaderId)&&(u=' id="'+l.replace(/ /g,"_").toLowerCase()+'"'),"<th"+u+d+">"+(l=n.subParser("spanGamut")(l,t,a))+"</th>\n"));for(r=0;r<f.length;++r){for(var _=[],b=0;b<m.length;++b)n.helper.isUndefined(f[r][b]),_.push(o(f[r][b],g[b]));p.push(_)}return function(e,t){for(var n="<table>\n<thead>\n<tr>\n",a=e.length,o=0;o<a;++o)n+=e[o];for(n+="</tr>\n</thead>\n<tbody>\n",o=0;o<t.length;++o){n+="<tr>\n";for(var r=0;r<a;++r)n+=t[o][r];n+="</tr>\n"}return n+"</tbody>\n</table>\n"}(m,p)}return e=(e=(e=(e=a.converter._dispatch("tables.before",e,t,a)).replace(/\\(\|)/g,n.helper.escapeCharactersCallback)).replace(/^ {0,3}\|?.+\|.+\n {0,3}\|?[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*:?[ \t]*(?:[-=]){2,}[\s\S]+?(?:\n\n|¨0)/gm,r)).replace(/^ {0,3}\|.+\|[ \t]*\n {0,3}\|[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*\n( {0,3}\|.+\|[ \t]*\n)*(?:\n|¨0)/gm,r),a.converter._dispatch("tables.after",e,t,a)})),n.subParser("underline",(function(e,t,a){return t.underline?(e=a.converter._dispatch("underline.before",e,t,a),e=(e=t.literalMidWordUnderscores?(e=e.replace(/\b___(\S[\s\S]*?)___\b/g,(function(e,t){return"<u>"+t+"</u>"}))).replace(/\b__(\S[\s\S]*?)__\b/g,(function(e,t){return"<u>"+t+"</u>"})):(e=e.replace(/___(\S[\s\S]*?)___/g,(function(e,t){return/\S$/.test(t)?"<u>"+t+"</u>":e}))).replace(/__(\S[\s\S]*?)__/g,(function(e,t){return/\S$/.test(t)?"<u>"+t+"</u>":e}))).replace(/(_)/g,n.helper.escapeCharactersCallback),e=a.converter._dispatch("underline.after",e,t,a)):e})),n.subParser("unescapeSpecialChars",(function(e,t,n){return e=(e=n.converter._dispatch("unescapeSpecialChars.before",e,t,n)).replace(/¨E(\d+)E/g,(function(e,t){var n=parseInt(t);return String.fromCharCode(n)})),n.converter._dispatch("unescapeSpecialChars.after",e,t,n)})),n.subParser("makeMarkdown.blockquote",(function(e,t){var a="";if(e.hasChildNodes())for(var o=e.childNodes,r=o.length,i=0;i<r;++i){var s=n.subParser("makeMarkdown.node")(o[i],t);""!==s&&(a+=s)}return"> "+(a=a.trim()).split("\n").join("\n> ")})),n.subParser("makeMarkdown.codeBlock",(function(e,t){var n=e.getAttribute("language"),a=e.getAttribute("precodenum");return"```"+n+"\n"+t.preList[a]+"\n```"})),n.subParser("makeMarkdown.codeSpan",(function(e){return"`"+e.innerHTML+"`"})),n.subParser("makeMarkdown.emphasis",(function(e,t){var a="";if(e.hasChildNodes()){a+="*";for(var o=e.childNodes,r=o.length,i=0;i<r;++i)a+=n.subParser("makeMarkdown.node")(o[i],t);a+="*"}return a})),n.subParser("makeMarkdown.header",(function(e,t,a){var o=new Array(a+1).join("#"),r="";if(e.hasChildNodes()){r=o+" ";for(var i=e.childNodes,s=i.length,l=0;l<s;++l)r+=n.subParser("makeMarkdown.node")(i[l],t)}return r})),n.subParser("makeMarkdown.hr",(function(){return"---"})),n.subParser("makeMarkdown.image",(function(e){var t="";return e.hasAttribute("src")&&(t+="+">",e.hasAttribute("width")&&e.hasAttribute("height")&&(t+=" ="+e.getAttribute("width")+"x"+e.getAttribute("height")),e.hasAttribute("title")&&(t+=' "'+e.getAttribute("title")+'"'),t+=")"),t})),n.subParser("makeMarkdown.links",(function(e,t){var a="";if(e.hasChildNodes()&&e.hasAttribute("href")){var o=e.childNodes,r=o.length;a="[";for(var i=0;i<r;++i)a+=n.subParser("makeMarkdown.node")(o[i],t);a+="](",a+="<"+e.getAttribute("href")+">",e.hasAttribute("title")&&(a+=' "'+e.getAttribute("title")+'"'),a+=")"}return a})),n.subParser("makeMarkdown.list",(function(e,t,a){var o="";if(!e.hasChildNodes())return"";for(var r=e.childNodes,i=r.length,s=e.getAttribute("start")||1,l=0;l<i;++l)void 0!==r[l].tagName&&"li"===r[l].tagName.toLowerCase()&&(o+=("ol"===a?s.toString()+". ":"- ")+n.subParser("makeMarkdown.listItem")(r[l],t),++s);return(o+="\n\x3c!-- --\x3e\n").trim()})),n.subParser("makeMarkdown.listItem",(function(e,t){for(var a="",o=e.childNodes,r=o.length,i=0;i<r;++i)a+=n.subParser("makeMarkdown.node")(o[i],t);return/\n$/.test(a)?a=a.split("\n").join("\n ").replace(/^ {4}$/gm,"").replace(/\n\n+/g,"\n\n"):a+="\n",a})),n.subParser("makeMarkdown.node",(function(e,t,a){a=a||!1;var o="";if(3===e.nodeType)return n.subParser("makeMarkdown.txt")(e,t);if(8===e.nodeType)return"\x3c!--"+e.data+"--\x3e\n\n";if(1!==e.nodeType)return"";switch(e.tagName.toLowerCase()){case"h1":a||(o=n.subParser("makeMarkdown.header")(e,t,1)+"\n\n");break;case"h2":a||(o=n.subParser("makeMarkdown.header")(e,t,2)+"\n\n");break;case"h3":a||(o=n.subParser("makeMarkdown.header")(e,t,3)+"\n\n");break;case"h4":a||(o=n.subParser("makeMarkdown.header")(e,t,4)+"\n\n");break;case"h5":a||(o=n.subParser("makeMarkdown.header")(e,t,5)+"\n\n");break;case"h6":a||(o=n.subParser("makeMarkdown.header")(e,t,6)+"\n\n");break;case"p":a||(o=n.subParser("makeMarkdown.paragraph")(e,t)+"\n\n");break;case"blockquote":a||(o=n.subParser("makeMarkdown.blockquote")(e,t)+"\n\n");break;case"hr":a||(o=n.subParser("makeMarkdown.hr")(e,t)+"\n\n");break;case"ol":a||(o=n.subParser("makeMarkdown.list")(e,t,"ol")+"\n\n");break;case"ul":a||(o=n.subParser("makeMarkdown.list")(e,t,"ul")+"\n\n");break;case"precode":a||(o=n.subParser("makeMarkdown.codeBlock")(e,t)+"\n\n");break;case"pre":a||(o=n.subParser("makeMarkdown.pre")(e,t)+"\n\n");break;case"table":a||(o=n.subParser("makeMarkdown.table")(e,t)+"\n\n");break;case"code":o=n.subParser("makeMarkdown.codeSpan")(e,t);break;case"em":case"i":o=n.subParser("makeMarkdown.emphasis")(e,t);break;case"strong":case"b":o=n.subParser("makeMarkdown.strong")(e,t);break;case"del":o=n.subParser("makeMarkdown.strikethrough")(e,t);break;case"a":o=n.subParser("makeMarkdown.links")(e,t);break;case"img":o=n.subParser("makeMarkdown.image")(e,t);break;default:o=e.outerHTML+"\n\n"}return o})),n.subParser("makeMarkdown.paragraph",(function(e,t){var a="";if(e.hasChildNodes())for(var o=e.childNodes,r=o.length,i=0;i<r;++i)a+=n.subParser("makeMarkdown.node")(o[i],t);return a.trim()})),n.subParser("makeMarkdown.pre",(function(e,t){var n=e.getAttribute("prenum");return"<pre>"+t.preList[n]+"</pre>"})),n.subParser("makeMarkdown.strikethrough",(function(e,t){var a="";if(e.hasChildNodes()){a+="~~";for(var o=e.childNodes,r=o.length,i=0;i<r;++i)a+=n.subParser("makeMarkdown.node")(o[i],t);a+="~~"}return a})),n.subParser("makeMarkdown.strong",(function(e,t){var a="";if(e.hasChildNodes()){a+="**";for(var o=e.childNodes,r=o.length,i=0;i<r;++i)a+=n.subParser("makeMarkdown.node")(o[i],t);a+="**"}return a})),n.subParser("makeMarkdown.table",(function(e,t){var a,o,r="",i=[[],[]],s=e.querySelectorAll("thead>tr>th"),l=e.querySelectorAll("tbody>tr");for(a=0;a<s.length;++a){var d=n.subParser("makeMarkdown.tableCell")(s[a],t),u="---";if(s[a].hasAttribute("style"))switch(s[a].getAttribute("style").toLowerCase().replace(/\s/g,"")){case"text-align:left;":u=":---";break;case"text-align:right;":u="---:";break;case"text-align:center;":u=":---:"}i[0][a]=d.trim(),i[1][a]=u}for(a=0;a<l.length;++a){var c=i.push([])-1,h=l[a].getElementsByTagName("td");for(o=0;o<s.length;++o){var f=" ";void 0!==h[o]&&(f=n.subParser("makeMarkdown.tableCell")(h[o],t)),i[c].push(f)}}var m=3;for(a=0;a<i.length;++a)for(o=0;o<i[a].length;++o){var g=i[a][o].length;g>m&&(m=g)}for(a=0;a<i.length;++a){for(o=0;o<i[a].length;++o)i[a][o]=1===a?":"===i[a][o].slice(-1)?n.helper.padEnd(i[a][o].slice(-1),m-1,"-")+":":n.helper.padEnd(i[a][o],m,"-"):n.helper.padEnd(i[a][o],m);r+="| "+i[a].join(" | ")+" |\n"}return r.trim()})),n.subParser("makeMarkdown.tableCell",(function(e,t){var a="";if(!e.hasChildNodes())return"";for(var o=e.childNodes,r=o.length,i=0;i<r;++i)a+=n.subParser("makeMarkdown.node")(o[i],t,!0);return a.trim()})),n.subParser("makeMarkdown.txt",(function(e){var t=e.nodeValue;return t=(t=t.replace(/ +/g," ")).replace(/¨NBSP;/g," "),(t=(t=(t=(t=(t=(t=(t=(t=n.helper.unescapeHTMLEntities(t)).replace(/([*_~|`])/g,"\\$1")).replace(/^(\s*)>/g,"\\$1>")).replace(/^#/gm,"\\#")).replace(/^(\s*)([-=]{3,})(\s*)$/,"$1\\$2$3")).replace(/^( {0,3}\d+)\./gm,"$1\\.")).replace(/^( {0,3})([+-])/gm,"$1\\$2")).replace(/]([\s]*)\(/g,"\\]$1\\(")).replace(/^ {0,3}\[([\S \t]*?)]:/gm,"\\[$1]:")})),e.exports?e.exports=n:this.showdown=n}).call(c)}));const k={en:{amen:"Amen.",authorized_prayers:"Prayers and Thanksgivings",label:"Label",source:"Source",source_citation:"Citation","prayer-list":"Prayer List"},es:{amen:"Amen.",authorized_prayers:"Prayers and Thanksgivings",label:"Label",source:"Source",source_citation:"Citation","prayer-list":"Prayer List"}},S=class{constructor(t){e(this,t),this.ldfDocShouldChange=o(this,"ldfDocShouldChange",7),this.ldfAskForPrayerList=o(this,"ldfAskForPrayerList",7),this.intentions=""}async setPrayerList(e){this.intentions=e}docChanged(e){var t;try{this.obj=new s("string"==typeof e?JSON.parse(e):e),"authorized-prayers"==(null===(t=this.obj)||void 0===t?void 0:t.style)&&(console.log("(PrayerList) ldfAskForPrayerList"),this.ldfAskForPrayerList.emit(!0))}catch(e){console.warn(e),this.obj=new s}}async componentWillLoad(){this.docChanged(this.doc),this.loadLocaleStrings()}async loadLocaleStrings(){try{this.localeStrings=k[l(this.element)]}catch(e){console.warn(e)}}truncate(e,t=!1,n=20){const a=2*n,o=e.split(/([^\w\u00c0-\u017f])/g);return t?new Array("...").concat(o.slice(o.length-a)).join(""):o.slice(0,a).concat("...").join("")}async addPAndT(e,t){const n=await h.create({component:"ldf-prayers-and-thanksgivings"});n.componentProps={base:e,index:t,modal:n,parent:this},await n.present()}render(){var e,a,o,r,i,s,l,u,c,h,f,m,g,p,_,b,y,w,k,S,x,M,A,z,C,P,j,E,T,B,L,D;const H=this.localeStrings||{};if("authorized-prayers"===(null===(e=this.obj)||void 0===e?void 0:e.style)){const e=this.path.split("/"),r=Number(e[e.length-1]),i=e.slice(0,e.length-1).join("/");return t(n,null,t("ldf-label-bar",null,t("ion-button",{onClick:()=>this.addPAndT(i,r),fill:"clear"},H.authorized_prayers)),null!==(o=(null===(a=this.intentions)||void 0===a?void 0:a.length)>0)&&void 0!==o?o:t("strong",{class:"prayer-list"},H["prayer-list"]),Array.isArray(this.intentions)?t("ul",{class:"prayer-list"},this.intentions.map((e=>t("li",null,e)))):t("p",{class:"prayer-list formatted"},this.intentions))}{let e=((null===(i=null===(r=this.obj)||void 0===r?void 0:r.metadata)||void 0===i?void 0:i.rollup)?((null===(s=this.obj)||void 0===s?void 0:s.value)||[]).map((e=>e.replace(/\s+/g," "))):(null===(l=this.obj)||void 0===l?void 0:l.value)||[]).map((e=>e.split(/([\*\w\u00c0-\u017f\n\s,:;\.\-–—'“☩✠”‘’\!\?”\[\]\%\(\)\/\u0041-\u024F\u1400-\u167f\u0e00-\u0e5b]+([^\*\w\u00c0-\u017f\n\s,;:\.'“”☩✠‘’”\-–—\!\?\[\]\%\(\)\/\u0041-\u024F\u1400-\u167f\u0e00-\u0e5b]))/g)));if(!this.editable&&"abbreviated"===(null===(u=this.obj)||void 0===u?void 0:u.display_format)){const t=e[e.length-1],n=this.truncate(e[0][0]),a=this.truncate(t[t.length-1],!0);e=[[n],[a]]}if(console.log("compiledValue = ",e),this.editable)return t(n,{lang:this.obj.language},t("ldf-label-bar",null,t("slot",{slot:"end",name:"controls"})),!this.editable&&t("ldf-heading",{path:`${this.path}/label`,doc:new d({type:"heading",metadata:{level:3},value:[this.obj.label],citation:this.obj.citation,source:this.obj.source})}),this.editable&&t("ldf-label-bar",null,!(null===(h=null===(c=this.obj)||void 0===c?void 0:c.metadata)||void 0===h?void 0:h.omit_label)&&t("h3",{class:"editable-label",slot:"start"},t("ldf-editable-text",{id:`${this.obj.uid||this.obj.slug}-label`,text:null===(f=this.obj)||void 0===f?void 0:f.label,placeholder:H.label,path:`${this.path}/label`})),t("ldf-editable-text",{slot:"end",id:"source-source",text:null===(g=null===(m=this.obj)||void 0===m?void 0:m.source)||void 0===g?void 0:g.source,path:`${this.path}/source/source`,placeholder:null===(p=this.localeStrings)||void 0===p?void 0:p.source}),t("ldf-editable-text",{slot:"end",id:"source-citation",text:null===(b=null===(_=this.obj)||void 0===_?void 0:_.source)||void 0===b?void 0:b.citation,path:`${this.path}/source/citation`,placeholder:null===(y=this.localeStrings)||void 0===y?void 0:y.source_citation})),t("div",{class:`text ${this.editable?"editable":""} ${(null===(w=this.obj)||void 0===w?void 0:w.display_format)||"default"}`},this.obj.value.map(((e,n)=>t("ldf-editable-text",{id:`${this.obj.uid||this.obj.slug}-${n}`,text:e,path:`${this.path}/value/${n}`}))),("prayer"===(null===(k=this.obj)||void 0===k?void 0:k.style)||(null===(x=null===(S=this.obj)||void 0===S?void 0:S.metadata)||void 0===x?void 0:x.response)&&!(null===(A=null===(M=this.obj)||void 0===M?void 0:M.metadata)||void 0===A?void 0:A.omit_response))&&t("span",{class:"response"},t("ldf-editable-text",{id:`${this.obj.uid||this.obj.slug}-response`,text:this.obj.metadata&&this.obj.metadata.response,path:`${this.path}/response`,placeholder:H.amen}))));if("markdown"===(null===(z=this.obj)||void 0===z?void 0:z.style)){const e=new v.Converter;return((null===(C=this.obj)||void 0===C?void 0:C.value)||[]).map((n=>t("div",{innerHTML:e.makeHtml(n)})))}return t("div",{lang:(null===(P=this.obj)||void 0===P?void 0:P.language)||"en",class:`text ${(null===(j=this.obj)||void 0===j?void 0:j.display_format)||"default"}`},((null===(E=this.obj)||void 0===E?void 0:E.label)&&!(null===(B=null===(T=this.obj)||void 0===T?void 0:T.metadata)||void 0===B?void 0:B.omit_label)||(null===(L=this.obj)||void 0===L?void 0:L.citation))&&t("ldf-heading",{path:this.path,doc:new d({type:"heading",metadata:{level:3},value:[(null===(D=this.obj.metadata)||void 0===D?void 0:D.omit_label)?"":this.obj.label],citation:this.obj.citation,source:this.obj.source})}),e.map(((n,a)=>{var o,r,i,s;return t("p",{class:"text-body",id:`${this.obj.uid||this.obj.slug}-prayerIndex`},null==n?void 0:n.map(((e,n)=>{var o;return t("span",{id:`${this.obj.uid||this.obj.slug}-${a}-${n}`},t("ldf-string",{text:e,citation:{label:this.obj.label},dropcap:"force_dropcap"==(null===(o=this.obj)||void 0===o?void 0:o.display_format)&&0===a&&0===n?"force":0===a&&n<=1?"enabled":"disabled",index:a+n,fragment:this.path}))})),(null===(r=null===(o=this.obj)||void 0===o?void 0:o.metadata)||void 0===r?void 0:r.response)&&a==e.length-1&&t("span",{class:"response"}," ",this.obj.metadata.response),!(null===(s=null===(i=this.obj)||void 0===i?void 0:i.metadata)||void 0===s?void 0:s.response)&&"prayer"==this.obj.style&&a==e.length-1&&t("span",{class:"response"}," ",H.amen))})))}}get element(){return a(this)}static get watchers(){return{doc:["docChanged"]}}};S.style="ldf-label-bar.sc-ldf-text{min-height:0}p.sc-ldf-text{font-family:var(--ldf-font-face);text-align:var(--ldf-text-align);text-justify:inter-character}li.sc-ldf-text,h1.sc-ldf-text,h2.sc-ldf-text,h3.sc-ldf-text,h4.sc-ldf-text,h5.sc-ldf-text,h6.sc-ldf-text,ol.sc-ldf-text,span.sc-ldf-text,em.sc-ldf-text,strong.sc-ldf-text{font-family:var(--ldf-font-face)}.response.sc-ldf-text{font-weight:var(--ldf-response-font-weight);font-style:var(--ldf-response-font-style)}.text.omit.sc-ldf-text .text-body.sc-ldf-text{display:none}.text.editable.omit.sc-ldf-text .text-body.sc-ldf-text{display:block}.text.unison.sc-ldf-text .text-body.sc-ldf-text{font-weight:var(--ldf-unison-font-weight);font-style:var(--ldf-unison-font-style)}h3.editable-label.sc-ldf-text{text-align:var(--ldf-h3-text-align);font-weight:var(--ldf-h3-font-weight);font-style:var(--ldf-h3-font-style);font-variant:var(--ldf-h3-font-variant);font-size:var(--ldf-h3-font-size);text-transform:var(--ldf-h3-text-transform)}.prayer-list.sc-ldf-text{display:block;margin:0;padding:0;text-align:center}.prayer-list.formatted.sc-ldf-text{text-align:left;white-space:pre-wrap}.prayer-list.sc-ldf-text li.sc-ldf-text{list-style-type:none;text-align:center;margin:0.5em 0;padding:0}";export{g as ldf_day_name,b as ldf_heading,y as ldf_label_bar,w as ldf_string,S as ldf_text}
|
package/dist/ldf/p-47600061.js
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{L as e}from"./p-a2e30644.js";const o=[{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"},es:{short:"Génesis",long:"El Libro de Génesis"}},Exodus:{en:{short:"Exodus",long:"The Book of Exodus"},es:{short:"Éxodo",long:"El Libro de Éxodo"}},Leviticus:{en:{short:"Leviticus",long:"The Book of Leviticus"},es:{short:"Levítico",long:"El Libro de Levítico"}},Numbers:{en:{short:"Numbers",long:"The Book of Numbers"},es:{short:"Números",long:"El Libro de Números"}},Deuteronomy:{en:{short:"Deuteronomy",long:"The Book of Deuteronomy"},es:{short:"Deuteronomio",long:"El Libro de Deuteronomio"}},Joshua:{en:{short:"Joshua",long:"The Book of Joshua"},es:{short:"Josué",long:"El Libro de Josué"}},Judges:{en:{short:"Judges",long:"The Book of Judges"},es:{short:"Jueces",long:"El Libro de Jueces"}},Ruth:{en:{short:"Ruth",long:"The Book of Ruth"},es:{short:"Rut",long:"El Libro de Rut"}},"1 Samuel":{en:{short:"1 Samuel",long:"The First Book of Samuel"},es:{short:"1 Samuel",long:"El Libro de 1 Samuel"}},"2 Samuel":{en:{short:"2 Samuel",long:"The Second Book of Samuel"},es:{short:"2 Samuel",long:"El Libro de 2 Samuel"}},"1 Kings":{en:{short:"1 Kings",long:"The First Book of Kings"},es:{short:"1 Reyes",long:"El Libro de 1 Reyes"}},"2 Kings":{en:{short:"2 Kings",long:"The Second Book of Kings"},es:{short:"2 Reyes",long:"El Libro de 2 Reyes"}},"1 Chronicles":{en:{short:"1 Chronicles",long:"The First Book of Chronicles"},es:{short:"1 Crónicas",long:"El Libro de 1 Crónicas"}},"2 Chronicles":{en:{short:"2 Chronicles",long:"The Second Book of Chronicles"},es:{short:"2 Crónicas",long:"El Libro de 2 Crónicas"}},Ezra:{en:{short:"Ezra",long:"The Book of Ezra"},es:{short:"Esdras",long:"El Libro de Esdras"}},Nehemiah:{en:{short:"Nehemiah",long:"The Book of Nehemiah"},es:{short:"Nehemías",long:"El Libro de Nehemías"}},Esther:{en:{short:"Esther",long:"The Book of Esther"},es:{short:"Ester",long:"El Libro de Ester"}},Job:{en:{short:"Job",long:"The Book of Job"},es:{short:"Job",long:"El Libro de Job"}},Psalms:{en:{short:"Psalms",long:"The Psalms"},es:{short:"Salmos",long:"El Libro de Salmos"}},Proverbs:{en:{short:"Proverbs",long:"The Book of Proverbs"},es:{short:"Proverbios",long:"El Libro de Proverbios"}},Ecclesiastes:{en:{short:"Ecclesiastes",long:"The Book of Ecclesiastes"},es:{short:"Eclesiastés",long:"El Libro de Eclesiastés"}},"The Song of Solomon":{en:{short:"The Song of Solomon",long:"The Song of Solomon"},es:{short:"Cantares",long:"El Libro de Cantares"}},Isaiah:{en:{short:"Isaiah",long:"The Book of the Prophet Isaiah"},es:{short:"Isaías",long:"El Libro de Isaías"}},Jeremiah:{en:{short:"Jeremiah",long:"The Book of the Prophet Jeremiah"},es:{short:"Jeremías",long:"El Libro de Jeremías"}},Lamentations:{en:{short:"Lamentations",long:"The Book of Lamentations"},es:{short:"Lamentaciones",long:"El Libro de Lamentaciones"}},Ezekiel:{en:{short:"Ezekiel",long:"The Book of the Prophet Ezekiel"},es:{short:"Ezequiel",long:"El Libro de Ezequiel"}},Daniel:{en:{short:"Daniel",long:"The Book of 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"}},Hosea:{en:{short:"Hosea",long:"The Book of the Prophet Hosea"},es:{short:"Oseas",long:"El Libro de Oseas"}},Joel:{en:{short:"Joel",long:"The Book of the Prophet Joel"},es:{short:"Joel",long:"El Libro de Joel"}},Amos:{en:{short:"Amos",long:"The Book of the Prophet Amos"},es:{short:"Amós",long:"El Libro de Amós"}},Obadiah:{en:{short:"Obadiah",long:"The Book of the Prophet Obadiah"},es:{short:"Abdías",long:"El Libro de Abdías"}},Jonah:{en:{short:"Jonah",long:"The Book of the Prophet Jonah"},es:{short:"Jonás",long:"El Libro de Jonás"}},Micah:{en:{short:"Micah",long:"The Book of the Prophet Micah"},es:{short:"Miqueas",long:"El Libro de Miqueas"}},Nahum:{en:{short:"Nahum",long:"The Book of the Prophet Nahum"},es:{short:"Nahúm",long:"El Libro de Nahúm"}},Habakkuk:{en:{short:"Habakkuk",long:"The Book of the Prophet Habakkuk"},es:{short:"Habacuc",long:"El Libro de Habacuc"}},Zephaniah:{en:{short:"Zephaniah",long:"The Book of the Prophet Zephaniah"},es:{short:"Sofonías",long:"El Libro de Sofonías"}},Haggai:{en:{short:"Haggai",long:"The Book of the Prophet Haggai"},es:{short:"Hageo",long:"El Libro de Hageo"}},Zechariah:{en:{short:"Zechariah",long:"The Book of the Prophet Zechariah"},es:{short:"Zacarías",long:"El Libro de Zacarías"}},Malachi:{en:{short:"Malachi",long:"The Book of the Prophet Malachi"},es:{short:"Malaquías",long:"El Libro de Malaquías"}},Tobit:{en:{short:"Tobit",long:"The Book of Tobit"},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"},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"},es:{short:"Judit",long:"El Libro de Judit"}},Baruch:{en:{short:"Baruch",long:"The Book of Baruch"},es:{short:"Baruc",long:"El Libro de Baruc"}},"1 Maccabees":{en:{short:"1 Maccabees",long:"The First Book of Maccabees"},es:{short:"1 Macabeos",long:"El Libro 1 de los Macabeos"}},"2 Maccabees":{en:{short:"2 Maccabees",long:"The Second Book of Maccabees"},es:{short:"2 Macabeos",long:"El Libro 2 de los Macabeos"}},Wisdom:{en:{short:"Wisdom",long:"The Wisdom of Solomon"},es:{short:"Sabiduría",long:"El Libro de la Sabiduría"}},Sirach:{en:{short:"Sirach",long:"The Wisdom of Ben Sira"},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"},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"}},Mark:{en:{short:"Mark",long:"The Gospel According to Mark"},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"}},Luke:{en:{short:"Luke",long:"The Gospel According to Luke"},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"}},John:{en:{short:"John",long:"The Gospel According to John"},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"}},Acts:{en:{short:"Acts",long:"The Acts of the Apostles"},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"}},Romans:{en:{short:"Romans",long:"The Letter to the Romans"},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"}},"1 Corinthians":{en:{short:"1 Corinthians",long:"The First Letter to the Corinthians"},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"}},"2 Corinthians":{en:{short:"2 Corinthians",long:"The Second Letter to the Corinthians"},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"}},Galatians:{en:{short:"Galatians",long:"The Letter to the Galatians"},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"}},Ephesians:{en:{short:"Ephesians",long:"The Letter to the Ephesians"},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"}},Philippians:{en:{short:"Philippians",long:"The Letter to the Philippians"},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"}},Colossians:{en:{short:"Colossians",long:"The Letter to the Colossians"},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"}},"1 Thessalonians":{en:{short:"1 Thessalonians",long:"The First Letter to the Thessalonians"},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"}},"2 Thessalonians":{en:{short:"2 Thessalonians",long:"The Second Letter to the Thessalonians"},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"}},"1 Timothy":{en:{short:"1 Timothy",long:"The First Letter to Timothy"},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"}},"2 Timothy":{en:{short:"2 Timothy",long:"The Second Letter to Timothy"},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"}},Titus:{en:{short:"Titus",long:"The Letter to Titus"},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"}},Philemon:{en:{short:"Philemon",long:"The Letter to Philemon"},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"}},Hebrews:{en:{short:"Hebrews",long:"The Book of Hebrews"},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"}},James:{en:{short:"James",long:"The Letter of James"},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"}},"1 Peter":{en:{short:"1 Peter",long:"The First Letter of Peter"},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"}},"2 Peter":{en:{short:"2 Peter",long:"The Second Letter of Peter"},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"}},"1 John":{en:{short:"1 John",long:"The First Letter of John"},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"}},"2 John":{en:{short:"2 John",long:"The Second Letter of John"},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"}},"3 John":{en:{short:"3 John",long:"The Third Letter of John"},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"}},Jude:{en:{short:"Jude",long:"The Letter of 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"}},Revelation:{en:{short:"Revelation",long:"The Book of Revelation"},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"}},"1 Esdras":{en:{short:"1 Esdras",long:"The Second Book of Esdras"},es:{short:"1 Esdras",long:"1 Esdras"}},"2 Esdras":{en:{short:"2 Esdras",long:"The Second Book of Esdras"},es:{short:"2 Esdras",long:"2 Esdras"}},Bel:{en:{short:"Bel",long:"Bel and the Dragon"},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"},es:{short:"Letter of Jeremiah",long:"La Epístola de Jeremías"}}};function t(e){var o=e%10,s=e%100;return 1==o&&11!=s?e+"st":2==o&&12!=s?e+"nd":3==o&&13!=s?e+"rd":e+"th"}const a=["long","short"];class n extends e{constructor(e={}){super(e)}compileIntro(){var o,s,a,n;if(this.metadata&&this.metadata.intro){const h=null!==(o=this.abbrevFromCitation())&&void 0!==o?o:this.citation,l=this.bookCodeFromAbbrev(null!=h?h:""),i=h?this.longNameFromBookCode(null!=l?l:"",this.language||"en"):"—",r=h?this.shortNameFromBookCode(null!=l?l:"",this.language||"en"):"—",g=this.chapterFromCitation(),m=this.verseFromCitation(),c=new Array,u=e=>e.replace(/\$\{longName\}/g,(null!=i?i:h).replace("The","the")).replace(/\$\{shortName\}/g,null!=r?r:h).replace(/\$\{chapter\}/g,`${t(Number(g)||1)}`).replace(/\$\{verse\}/g,`${t(Number(m)||1)}`).replace("de El","del").replace("de La","de la");null===(n=null===(a=null===(s=this.metadata)||void 0===s?void 0:s.intro)||void 0===a?void 0:a.value)||void 0===n||n.forEach((e=>{"string"==typeof e?c.push(u(e)):e.hasOwnProperty("text")?c.push(Object.assign(Object.assign({},e),{text:u(e.text)})):c.push(u(e))})),this.metadata.compiled_intro=new e(Object.assign(Object.assign({},this.metadata.intro),{value:c}))}}abbrevFromCitation(){let e;try{const o=(this.citation||"").match(/(\d*\s*[a-zA-Z]+)/);e=o?o[0]:""}catch(o){e=this.citation}return e.replace(/\./g,"")}chapterFromCitation(){var e;const o=null===(e=(this.citation||"").split(";")[0])||void 0===e?void 0:e.match(/[\s\.:](\d+)/g);if(o){const[e]=o;return"string"==typeof e?e.trim().replace(/[\.,:]/g,""):void 0}}verseFromCitation(){var e;const o=null===(e=(this.citation||"").split(";")[0])||void 0===e?void 0:e.match(/[\s\.:](\d+)/g);if(o){const[,e]=o;return"string"==typeof e?e.trim().replace(/[\.,:]/g,""):void 0}}bookCodeFromAbbrev(e){if(e){const s=e.replace(/\./g,""),t=o.find((e=>e.name==s||e.aliases.includes(s)||e.name.includes(s)));return t?t.name:e}}longNameFromBookCode(e,o="en"){const t=this.bookCodeFromAbbrev(e);if(t){const a=s[t];let n=(a||{})[o];return n||(n=(a||{}).en),n?n.long:e}}shortNameFromBookCode(e,o="en"){var t;const a=(s[null!==(t=this.bookCodeFromAbbrev(e))&&void 0!==t?t:""]||{})[o];return a?a.short:e}availableStyles(){return a}availableDisplayFormats(){return["default","omit"]}}class h extends e{availableDisplayFormats(){return[]}}class l extends e{constructor(e={}){super(e)}}const i=["psalm","canticle","invitatory"];class r extends e{constructor(e={}){super(e)}filteredVerses(){let e=new Array;if(this.citation&&(this.citation.match(/Ps[^\s]*\s*\d+/)||""==this.citation)){const o=this.versesInCitation(this.citation);0==o.length?e=this.value:(this.value||[]).forEach((s=>{const t=new Array;(s.value||[]).forEach((e=>{!e.number||o.includes(e.number)?t.push(e):o.includes(`[${e.number}`)?t.push(Object.assign(Object.assign({},e),{verse:"["+e.verse})):o.includes(`${e.number}]`)?t.push(Object.assign(Object.assign({},e),{halfverse:e.halfverse+"]"})):o.includes(`[${e.number}]`)&&t.push(Object.assign(Object.assign({},e),{verse:"["+e.verse,halfverse:e.halfverse+"]"}))})),e.push(Object.assign(Object.assign({},s),{value:t}))}))}else e=this.value;return e}versesInCitation(e){function o(e,o,s){return e&&o?"["+s+"]":e?"["+s:o?s+"]":s}const s=e.replace(/Ps[\w\.]*\s*/g,"").split(/\s*([\[\]\(\),:\s])\s*/).slice(1);let t=new Array,a=!1,n=!1;return(s||[]).forEach(((e,h)=>{"["!==e&&"("!==e||(a=!0),"]"!==s[h+1]&&")"!==s[h+1]||(n=!0);const[l,i]=e.replace(/[^\d-s–]/g,"").split(/-|–/);if(l&&i){const e=n;for(let s=parseInt(l);s<=parseInt(i);s++)n=e&&s==parseInt(i),t.push(o(a,n,s.toString())),a=!1}else l&&(t.push(o(a,n,l)),a=!1),n=!1})),t}includeAntiphon(){const e=this.metadata||{};return!!e.antiphon&&!e.omit_antiphon;
|
|
2
|
-
//!(this.style == 'canticle' && !metadata.omit_gloria);
|
|
3
|
-
}repeatAntiphon(e,o=0){const s=this.metadata||{};return 0==o&&(o=this.filteredVerses().length),this.includeAntiphon()&&!(s.omit_gloria&&e==o-1)}availableStyles(){return i}availableDisplayFormats(){return["default","omit","unison","wholeverse","halfverse"]}}const g=["preces","litany","responsive"];class m extends e{constructor(e={}){super(e)}availableStyles(){return g}availableDisplayFormats(){return[]}}class c extends e{constructor(e={}){super(e)}availableDisplayFormats(){return[]}}export{n as B,h as L,l as M,r as P,m as R,c as a}
|
package/dist/ldf/p-49174004.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{M as e,P as r,B as a,R as s,a as n,L as t}from"./p-47600061.js";import{H as c}from"./p-cb1922dc.js";import{O as i}from"./p-97ada7f4.js";import{R as o}from"./p-b0ceb153.js";import{T as u}from"./p-a97ca6c2.js";function p(p){switch(p.type){case"liturgy":return new t(p);case"heading":return new c(p);case"option":return new i(p);case"refrain":return new o(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}
|
package/dist/ldf/p-a2e30644.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
function t(t){return t.setHours(0),t.setMinutes(0),t.setSeconds(0),t.setMilliseconds(0),t}function i(i){const[s,e,a]=i.split("-");return function(i,s,e){let a=new Date;return a=t(a),i&&s&&e&&(a.setFullYear(parseInt(i)),a.setMonth(parseInt(s)-1,parseInt(e))),a}(s,e,a)}class s{constructor(t={}){this.evening=!1,Object.assign(this,t)}getDate(){return i(this.date)}addHolyDays(t){var i,e,a,n;const o=this;t=t.filter((t=>!t.eve||this.evening)).filter((t=>t.stops_at_sunday!==o.week.slug)).map((t=>t.hasOwnProperty("evening")&&1==this.evening?t.evening:t.hasOwnProperty("morning")&&0==this.evening?t.morning:t)).filter((t=>!!t));const r=this.observedDay(this,(this.holy_days||new Array).concat(t)),h=Number(null===(e=null===(i=r)||void 0===i?void 0:i.type)||void 0===e?void 0:e.rank),l=(null==r?void 0:r.slug)&&((null==r?void 0:r.slug)!==o.slug||h>2),d=l&&h>2?r.slug:o.slug;let c=this.propers;d!==this.slug&&(c=d);const u=r.color||this.color,v=r.collect||this.collect,y=r.season||this.season,b=null===(n=null===(a=this.holy_days||[])||void 0===a?void 0:a.concat(t))||void 0===n?void 0:n.map((t=>t.octave)).filter((t=>Boolean(t))).reduce(((t,i)=>t||i||t),void 0);return new s(Object.assign(Object.assign({},this),{slug:d,propers:l&&h>2?(null==r?void 0:r.propers)||(null==r?void 0:r.slug):c,color:u,season:y,octave:b,collect:v,holy_days:(this.holy_days||new Array).concat(t),holy_day_observed:l?r:this.holy_day_observed}))}observedDay(s,e){function a(e,a){var n;return"holyday"==a?(null===(n=null==e?void 0:e.type)||void 0===n?void 0:n.rank)||2:0==(s.date?i(s.date):t(new Date)).getDay()?4:1}const n=e.map((t=>({rank:a(t,"holyday"),obj:t}))).concat({rank:a(s,"weekday"),obj:s}).sort(((t,i)=>{if(t.rank===i.rank&&t.obj.mmdd&&i.obj.mmdd){const[e,a]=i.obj.mmdd.split("/"),[n,o]=t.obj.mmdd.split("/"),r=new Date,h=new Date;return r.setMonth(parseInt(e)-1),r.setDate(parseInt(a)),h.setMonth(parseInt(n)-1),h.setDate(parseInt(o)),t.obj.mmdd===i.obj.mmdd&&t.obj.kalendar!==i.obj.kalendar?t.obj.kalendar===s.kalendar?-1:1:h.getTime()-r.getTime()}return i.rank-t.rank}));return Object.assign({},n[0].obj)}isFeast(){var t,i,s,e,a,n,o,r;const h=0===this.getDate().getDay(),l=((null===(i=null===(t=this.holy_day_observed)||void 0===t?void 0:t.type)||void 0===i?void 0:i.rank)||1)>=3,d=(null===(s=this.slug)||void 0===s?void 0:s.includes("holy-week"))||(null===(e=this.slug)||void 0===e?void 0:e.includes("palm-sunday")),c=null===(a=this.slug)||void 0===a?void 0:a.includes("last-epiphany"),u=null===(n=this.slug)||void 0===n?void 0:n.includes("6th-easter"),v=null===(o=this.slug)||void 0===o?void 0:o.includes("easter"),y=null===(r=this.season)||void 0===r?void 0:r.includes("Ember");return h||l&&!d&&!v&&!c&&!u&&!y}}class e{constructor(t={}){Object.assign(this,t)}include(t,e={}){var a;let n=new Array(!0);if(this.exceptOnlyFactory("day",t.slug,n),this.exceptOnlyFactory("week",null===(a=t.week)||void 0===a?void 0:a.slug,n),this.exceptOnlyFactory("weekday",["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"][i(t.date).getDay()],n),this.hasOwnProperty("season")&&void 0!==this.season&&(void 0!==this.season.except&&this.season.except.length>0&&(n.push(!this.season.except.includes(t.season)),n.push(!this.season.except.includes(t.week.season))),void 0!==this.season.only&&this.season.only.length>0&&n.push(this.season.only.includes(t.season)||this.season.only.includes(t.week.season))),this.hasOwnProperty("feastDay")&&void 0!==this.feastDay){Math.max(...(t.holy_days||[]).filter((t=>!!t)).map((t=>t&&t.type&&t.type.rank?t.type.rank:3))),i(t.date).getDay();const e=new s(t).isFeast();n.push(e==this.feastDay)}if(this.hasOwnProperty("date")&&void 0!==this.date){const s=i(t.date);for(const t in this.date)try{const[i,e]=(this.date[t]||"").split("/"),a=new Date(s.getFullYear(),parseInt(i)-1,parseInt(e));"lt"==t?n.push(s.getTime()<a.getTime()):"lte"==t?n.push(s.getTime()<=a.getTime()):"gt"==t?n.push(s.getTime()>a.getTime()):"gte"==t&&n.push(s.getTime()>=a.getTime())}catch(t){throw"Date is formatted incorrectly (should be MM/DD)."}}if(this.hasOwnProperty("day_of_month")&&void 0!==this.day_of_month){const s=i(t.date).getDate();for(const t in this.day_of_month)"eq"==t?n.push(s==Number(this.day_of_month.eq)):"neq"==t&&n.push(s!=Number(this.day_of_month.neq))}return this.hasOwnProperty("preference")&&void 0!==this.preference&&n.push(this.preference.is?e[this.preference.key]==this.preference.value:e[this.preference.key]!==this.preference.value),n.reduce(((t,i)=>t&&i),!0)}exceptOnlyFactory(t,i,s){const e=this[t];void 0!==e&&(e.except&&s.push(!e.except.includes(i)),e.only&&s.push(e.only.includes(i)))}}var a;!function(t){t.AllSizes="all",t.SmallOnly="small-only",t.SmallHidden="small-hidden"}(a||(a={}));const n=["liturgy","heading","option","refrain","rubric","text","responsive","bible-reading","psalm","meditation","image","parallel"],o=["lectionary","canticle","category","slug","collect"],r=["default","omit","unison","abbreviated","force_dropcap"];class h{constructor(t={}){Object.assign(this,t)}include(t,i={}){if(void 0!==this.condition){const s=(this.condition.conditions||[]).map((s=>(s instanceof e||(s=new e(s)),s.include(t||this.day,i))));return"or"==this.condition.mode?s.reduce(((t,i)=>t||i),!1):s.reduce(((t,i)=>t&&i),!0)}return!0}availableTypes(){return n}availableStyles(){return[]}availableLookupTypes(){return o}availableDisplayFormats(){return r}}var l;!function(t){t.Genesis="Genesis",t.Exodus="Exodus",t.Leviticus="Leviticus",t.Numbers="Numbers",t.Deuteronomy="Deuteronomy",t.Joshua="Joshua",t.Judges="Judges",t.Ruth="Ruth",t.FirstSamuel="FirstSamuel",t.SecondSamuel="SecondSamuel",t.FirstKings="FirstKings",t.SecondKings="SecondKings",t.FirstChronicles="FirstChronicles",t.SecondChronicles="SecondChronicles",t.Ezra="Ezra",t.Nehemiah="Nehemiah",t.Esther="Esther",t.Job="Job",t.Psalms="Psalms",t.Proverbs="Proverbs",t.Ecclesiastes="Ecclesiastes",t.SongOfSolomon="SongOfSolomon",t.Isaiah="Isaiah",t.Jeremiah="Jeremiah",t.Lamentations="Lamentations",t.Ezekiel="Ezekiel",t.Daniel="Daniel",t.Hosea="Hosea",t.Joel="Joel",t.Amos="Amos",t.Obadiah="Obadiah",t.Jonah="Jonah",t.Micah="Micah",t.Nahum="Nahum",t.Habakkuk="Habakkuk",t.Zephaniah="Zephaniah",t.Haggai="Haggai",t.Zechariah="Zechariah",t.Malachi="Malachi",t.Matthew="Matthew",t.Mark="Mark",t.Luke="Luke",t.John="John",t.Acts="Acts",t.Romans="Romans",t.FirstCorinthians="FirstCorinthians",t.SecondCorinthians="SecondCorinthians",t.Galatians="Galatians",t.Ephesians="Ephesians",t.Philippians="Philippians",t.Colossians="Colossians",t.FirstThessalonians="FirstThessalonians",t.SecondThessalonians="SecondThessalonians",t.FirstTimothy="FirstTimothy",t.SecondTimothy="SecondTimothy",t.Titus="Titus",t.Philemon="Philemon",t.Hebrews="Hebrews",t.James="James",t.FirstPeter="FirstPeter",t.SecondPeter="SecondPeter",t.FirstJohn="FirstJohn",t.SecondJohn="SecondJohn",t.ThirdJohn="ThirdJohn",t.Jude="Jude",t.Revelation="Revelation",t.None="None",t.Tobit="Tobit",t.Judith="Judith",t.Ester="Ester",t.Wisdom="Wisdom",t.Ecclesiasticus="Ecclesiasticus",t.Baruch="Baruch",t.EpistleJeremiah="EpistleJeremiah",t.PrayerOfAzariah="PrayerOfAzariah",t.Susanna="Susanna",t.FirstMaccabees="FirstMaccabees",t.SecondMaccabees="SecondMaccabees",t.FirstEsdras="FirstEsdras",t.SecondEsdras="SecondEsdras",t.FourthEsdras="FourthEsdras",t.Psalm151="Psalm151",t.ThirdMaccabees="ThirdMaccabees",t.FourthMaccabees="FourthMaccabees",t.Bel="Bel"}(l||(l={}));export{e as C,h as L,a as R,s as a,i as d}
|
package/dist/ldf/p-a97ca6c2.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{L as r}from"./p-a2e30644.js";const e=["text","prayer","markdown","authorized-prayers"];class a extends r{constructor(r={}){super(r)}availableStyles(){return e}}export{a as T}
|
package/dist/ldf/p-cb1922dc.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{L as a}from"./p-a2e30644.js";const t=["text","day","date"];class e extends a{constructor(a={}){super(a)}availableStyles(){return t}availableDisplayFormats(){return[]}}export{e as H}
|