bible-ref-parse 3.1.2 → 3.1.4
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/de-bcv-parser.js +290 -520
- package/dist/de-bcv-parser.min.js +1 -1
- package/dist/sr-bcv-parser.js +1 -102
- package/dist/sr-bcv-parser.min.js +1 -1
- package/dist/test/sr.spec.js +2 -0
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(){var e,s,t,a,r={}.hasOwnProperty;e=function(){class e{constructor(){var s,t,a;for(s in this.options={},t=e.prototype.options)r.call(t,s)&&(a=t[s],this.options[s]=a);this.versification_system(this.options.versification_system)}parse(e){return this.reset(),this.s=e,e=this.replace_control_characters(e),[e,this.passage.books]=this.match_books(e),[this.entities]=this.match_passages(e),this}parse_with_context(e,s){var t;return this.reset(),[s,this.passage.books]=this.match_books(this.replace_control_characters(s)),[t,s]=this.match_passages(s),this.reset(),this.s=e,e=this.replace_control_characters(e),[e,this.passage.books]=this.match_books(e),this.passage.books.push({value:"",parsed:[],start_index:0,type:"context",context:s}),e=""+(this.passage.books.length-1)+"/9"+e,[this.entities]=this.match_passages(e),this}reset(){return this.s="",this.entities=[],this.passage?(this.passage.books=[],this.passage.indices={}):(this.passage=new s,this.passage.options=this.options,this.passage.translations=this.translations)}set_options(e){var s,t;for(s in e)r.call(e,s)&&(t=e[s],"include_apocrypha"===s||"versification_system"===s||"case_sensitive"===s?this[s](t):this.options[s]=t);return this}include_apocrypha(e){var s,a,n,i,o;if(null==e||!0!==e&&!1!==e)return this;for(i in this.options.include_apocrypha=e,this.regexps.books=this.regexps.get_books(e,this.options.case_sensitive),n=this.translations)r.call(n,i)&&"aliases"!==i&&"alternates"!==i&&(null==(s=this.translations[i]).chapters&&(s.chapters={}),null==(a=this.translations[i].chapters).Ps&&(a.Ps=t.shallow_clone_array(this.translations.default.chapters.Ps)),!0===e?(o=null!=this.translations[i].chapters.Ps151?this.translations[i].chapters.Ps151[0]:this.translations.default.chapters.Ps151[0],this.translations[i].chapters.Ps[150]=o):151===this.translations[i].chapters.Ps.length&&this.translations[i].chapters.Ps.pop());return this}versification_system(e){var s,a,n,i,o,l,u;if(null==e||null==this.translations[e])return this;if(null!=this.translations.alternates.default)if("default"===e)for(i in null!=this.translations.alternates.default.order&&(this.translations.default.order=t.shallow_clone(this.translations.alternates.default.order)),l=this.translations.alternates.default.chapters)r.call(l,i)&&(o=l[i],this.translations.default.chapters[i]=t.shallow_clone_array(o));else this.versification_system("default");if(null==(s=this.translations.alternates).default&&(s.default={order:null,chapters:{}}),"default"!==e&&null!=this.translations[e].order&&(null==(a=this.translations.alternates.default).order&&(a.order=t.shallow_clone(this.translations.default.order)),this.translations.default.order=t.shallow_clone(this.translations[e].order)),"default"!==e&&null!=this.translations[e].chapters)for(i in u=this.translations[e].chapters)r.call(u,i)&&(o=u[i],null==(n=this.translations.alternates.default.chapters)[i]&&(n[i]=t.shallow_clone_array(this.translations.default.chapters[i])),this.translations.default.chapters[i]=t.shallow_clone_array(o));return this.options.versification_system=e,this.include_apocrypha(this.options.include_apocrypha),this}case_sensitive(e){return null==e||"none"!==e&&"books"!==e||e===this.options.case_sensitive||(this.options.case_sensitive=e,this.regexps.books=this.regexps.get_books(this.options.include_apocrypha,e)),this}translation_info(e="default"){var s,a,n,i,o,l,u,c;for(s in null!=e&&null!=(null!=(l=this.translations.aliases[e])?l.alias:void 0)&&(e=this.translations.aliases[e].alias),null!=e&&null!=this.translations[e]||(e="default"),e!==(i=this.options.versification_system)&&this.versification_system(e),o={alias:e,books:[],chapters:{},order:t.shallow_clone(this.translations.default.order)},u=this.translations.default.chapters)r.call(u,s)&&(a=u[s],o.chapters[s]=t.shallow_clone_array(a));for(s in c=o.order)r.call(c,s)&&(n=c[s],o.books[n-1]=s);return e!==i&&this.versification_system(i),o}replace_control_characters(e){return e=(e=(e=e.replace(this.regexps.control," ")).replace(/\uFF1A/g,":")).replace(/\uFF1B/g,";"),"replace"===this.options.non_latin_digits_strategy&&(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=e.replace(/[٠۰߀०০੦૦୦0౦೦൦๐໐༠၀႐០᠐᥆᧐᪀᪐᭐᮰᱀᱐꘠꣐꤀꧐꩐꯰0]/g,"0")).replace(/[١۱߁१১੧૧୧௧౧೧൧๑໑༡၁႑១᠑᥇᧑᪁᪑᭑᮱᱁᱑꘡꣑꤁꧑꩑꯱1]/g,"1")).replace(/[٢۲߂२২੨૨୨௨౨೨൨๒໒༢၂႒២᠒᥈᧒᪂᪒᭒᮲᱂᱒꘢꣒꤂꧒꩒꯲2]/g,"2")).replace(/[٣۳߃३৩੩૩୩௩౩೩൩๓໓༣၃႓៣᠓᥉᧓᪃᪓᭓᮳᱃᱓꘣꣓꤃꧓꩓꯳3]/g,"3")).replace(/[٤۴߄४৪੪૪୪௪౪೪൪๔໔༤၄႔៤᠔᥊᧔᪄᪔᭔᮴᱄᱔꘤꣔꤄꧔꩔꯴4]/g,"4")).replace(/[٥۵߅५৫੫૫୫௫౫೫൫๕໕༥၅႕៥᠕᥋᧕᪅᪕᭕᮵᱅᱕꘥꣕꤅꧕꩕꯵5]/g,"5")).replace(/[٦۶߆६৬੬૬୬௬౬೬൬๖໖༦၆႖៦᠖᥌᧖᪆᪖᭖᮶᱆᱖꘦꣖꤆꧖꩖꯶6]/g,"6")).replace(/[٧۷߇७৭੭૭୭௭౭೭൭๗໗༧၇႗៧᠗᥍᧗᪇᪗᭗᮷᱇᱗꘧꣗꤇꧗꩗꯷7]/g,"7")).replace(/[٨۸߈८৮੮૮୮௮౮೮൮๘໘༨၈႘៨᠘᥎᧘᪈᪘᭘᮸᱈᱘꘨꣘꤈꧘꩘꯸8]/g,"8")).replace(/[٩۹߉९৯੯૯୯௯౯೯൯๙໙༩၉႙៩᠙᥏᧙᪉᪙᭙᮹᱉᱙꘩꣙꤉꧙꩙꯹9]/g,"9")),e}match_books(e){var s,t,a,r,n,i;for(t=[],r=0,n=(i=this.regexps.books).length;r<n&&(s=i[r],a=!1,e=e.replace(s.regexp,(function(e,r,n){var i;return a=!0,t.push({value:n,parsed:s.osis,type:"book"}),i=null!=s.extra?`/${s.extra}`:"",`${r}${t.length-1}${i}`})),!0!==a||!/^[\s\x1f\d:.,;\-\u2013\u2014]+$/.test(e));r++);return[e=e.replace(this.regexps.translations,(function(e){return t.push({value:e,parsed:e.toLowerCase(),type:"translation"}),`${t.length-1}`})),this.get_book_indices(t,e)]}get_book_indices(e,s){var t,a,r;for(t=0,r=/([\x1f\x1e])(\d+)(?:\/\d+)?\1/g;a=r.exec(s);)e[a[2]].start_index=a.index+t,t+=e[a[2]].value.length-a[0].length;return e}match_passages(e){var s,t,r,n,i,o,l,u,c,p,h,g;for(r=[],p={};i=this.regexps.escaped_passage.exec(e);)[n,u,t]=i,l=u.length,i.index+=n.length-l,/\s[2-9]\d\d\s*$|\s\d{4,}\s*$/.test(u)&&(u=u.replace(/\s+\d+\s*$/,"")),/[\d\x1f\x1e)]$/.test(u)||(u=this.replace_match_end(u)),"delete"===this.options.captive_end_digits_strategy&&(o=i.index+u.length,e.length>o&&/^\w/.test(e.substr(o,1))&&(u=u.replace(/[\s*]+\d+$/,"")),u=u.replace(/(\x1e[)\]]?)[\s*]*\d+$/,"$1")),g=""===(u=u.replace(/[A-Z]+/g,(function(e){return e.toLowerCase()}))).substr(0,1)?0:u.split("")[0].length,c={value:a.parse(u,{punctuation_strategy:this.options.punctuation_strategy}),type:"base",start_index:this.passage.books[t].start_index-g,match:u},"full"===this.options.book_alone_strategy&&"include"===this.options.book_range_strategy&&"b"===c.value[0].type&&(1===c.value.length||c.value.length>1&&"translation_sequence"===c.value[1].type)&&0===g&&(1===this.passage.books[t].parsed.length||this.passage.books[t].parsed.length>1&&"translation"===this.passage.books[t].parsed[1].type)&&/^[234]/.test(this.passage.books[t].parsed[0])&&this.create_book_range(e,c,t),[s,p]=this.passage.handle_obj(c),r=r.concat(s),(h=this.adjust_regexp_end(s,l,u.length))>0&&(this.regexps.escaped_passage.lastIndex-=h);return[r,p]}adjust_regexp_end(e,s,t){var a;return a=0,e.length>0?a=s-e[e.length-1].indices[1]-1:s!==t&&(a=s-t),a}replace_match_end(e){var s,t;for(t=e.length;s=this.regexps.match_end_split.exec(e);)t=s.index+s[0].length;return t<e.length&&(e=e.substr(0,t)),e}create_book_range(s,t,a){var r,n,i,o,l,u,c;for(r=[e.prototype.regexps.first,e.prototype.regexps.second,e.prototype.regexps.third],n=i=1,c=o=parseInt(this.passage.books[a].parsed[0].substr(0,1),10);1<=c?i<c:i>c;n=1<=c?++i:--i)if(u=n===o-1?e.prototype.regexps.range_and:e.prototype.regexps.range_only,null!=(l=s.match(RegExp(`(?:^|\\W)(${r[n-1]}\\s*${u}\\s*)\\x1f${a}\\x1f`,"i"))))return this.add_book_range_object(t,l,n);return!1}add_book_range_object(e,s,t){var a,r,n,i,o,l;if(n=s[1].length,e.value[0]={type:"b_range_pre",value:[{type:"b_pre",value:t.toString(),indices:[s.index,s.index+n]},e.value[0]],indices:[0,e.value[0].indices[1]+n]},e.value[0].value[1].indices[0]+=n,e.value[0].value[1].indices[1]+=n,e.start_index-=n,e.match=s[1]+e.match,1!==e.value.length){for(l=[],a=r=1,i=e.value.length;1<=i?r<i:r>i;a=1<=i?++r:--r)null!=e.value[a].value&&(null!=(null!=(o=e.value[a].value[0])?o.indices:void 0)&&(e.value[a].value[0].indices[0]+=n,e.value[a].value[0].indices[1]+=n),e.value[a].indices[0]+=n,l.push(e.value[a].indices[1]+=n));return l}}osis(){var e,s,t,a,r;for(a=[],e=0,s=(r=this.parsed_entities()).length;e<s;e++)(t=r[e]).osis.length>0&&a.push(t.osis);return a.join(",")}osis_and_translations(){var e,s,t,a,r;for(a=[],e=0,s=(r=this.parsed_entities()).length;e<s;e++)(t=r[e]).osis.length>0&&a.push([t.osis,t.translations.join(",")]);return a}osis_and_indices(){var e,s,t,a,r;for(a=[],e=0,s=(r=this.parsed_entities()).length;e<s;e++)(t=r[e]).osis.length>0&&a.push({osis:t.osis,translations:t.translations,indices:t.indices});return a}parsed_entities(){var e,s,t,a,r,n,i,o,l,u,c,p,h,g,x,_,d,f,v,b,y,k,m,E,$,A,M,J,C,P,z,R;for(_=[],s=a=0,k=this.entities.length;0<=k?a<k:a>k;s=0<=k?++a:--a)if((e=this.entities[s]).type&&"translation_sequence"===e.type&&_.length>0&&s===_[_.length-1].entity_id+1&&(_[_.length-1].indices[1]=e.absolute_indices[1]),null!=e.passages&&!("b"===e.type&&"ignore"===this.options.book_alone_strategy||"b_range"===e.type&&"ignore"===this.options.book_range_strategy||"context"===e.type)){if(R=[],P=null,null!=e.passages[0].translations)for(r=0,i=(m=e.passages[0].translations).length;r<i;r++)z=(null!=(E=(C=m[r]).osis)?E.length:void 0)>0?C.osis:"",null==P&&(P=C.alias),R.push(z);else R=[""],P="default";for(x=[],p=[],t=u=0,$=l=e.passages.length;0<=$?u<$:u>$;t=0<=$?++u:--u)if(null==(d=e.passages[t]).type&&(d.type=e.type),!1!==d.valid.valid||("ignore"===this.options.invalid_sequence_strategy&&"sequence"===e.type&&this.snap_sequence("ignore",e,x,t,l),"ignore"!==this.options.invalid_passage_strategy))if("b"!==d.type&&"b_range"!==d.type||"ignore"!==this.options.book_sequence_strategy||"sequence"!==e.type)if("b_range_start"!==d.type&&"range_end_b"!==d.type||"ignore"!==this.options.book_range_strategy||this.snap_range(e,t),null==d.absolute_indices&&(d.absolute_indices=e.absolute_indices),"separate-chapters"===this.options.consecutive_combination_strategy&&d.start.c!==d.end.c)for(t=c=A=d.start.c,M=d.end.c;A<=M?c<=M:c>=M;t=A<=M?++c:--c)y=t===d.start.c?d.start.v:1,v=t===d.end.c?d.end.v:this.translations[P].chapters[d.start.b][t-1],b={b:d.start.b,c:t,v:"bcv"===d.start.type?y:null,type:d.start.type},f={b:d.end.b,c:t,v:"bcv"===d.start.type?v:null,type:d.start.type},p.push({osis:d.valid.valid?this.to_osis(b,f,P):"",type:d.type,indices:d.absolute_indices,translations:R,start:b,end:f,enclosed_indices:d.enclosed_absolute_indices,entity_id:s,entities:[d]});else x.push({osis:d.valid.valid?this.to_osis(d.start,d.end,P):"",type:d.type,indices:d.absolute_indices,translations:R,start:d.start,end:d.end,enclosed_indices:d.enclosed_absolute_indices,entity_id:s,entities:[d]});else this.snap_sequence("book",e,x,t,l);if(0!==x.length||0!==p.length)if("combine"!==this.options.consecutive_combination_strategy&&"separate-chapters"!==this.options.consecutive_combination_strategy||(x.length>1&&(x=this.combine_consecutive_passages(x,P)),x=x.concat(p).sort(((e,s)=>e.indices[0]-s.indices[0]))),"separate"===this.options.sequence_combination_strategy)_=_.concat(x);else{for(J=[],null!=x[n=x.length-1].enclosed_indices&&x[n].enclosed_indices[1]>=0&&(e.absolute_indices[1]=x[n].enclosed_indices[1]),h=0,o=x.length;h<o;h++)(g=x[h]).osis.length>0&&J.push(g.osis);_.push({osis:J.join(","),indices:e.absolute_indices,translations:R,entity_id:s,entities:x})}}return _}to_osis(e,s,t){var a,r;return null==s.c&&null==s.v&&e.b===s.b&&null==e.c&&null==e.v&&"first_chapter"===this.options.book_alone_strategy&&(s.c=1),a={start:"",end:""},null==e.c&&(e.c=1),null==e.v&&(e.v=1),null==s.c&&(this.options.passage_existence_strategy.indexOf("c")>=0||null!=this.passage.translations[t].chapters[s.b]&&1===this.passage.translations[t].chapters[s.b].length?s.c=this.passage.translations[t].chapters[s.b].length:s.c=999),null==s.v&&(null!=this.passage.translations[t].chapters[s.b][s.c-1]&&this.options.passage_existence_strategy.indexOf("v")>=0?s.v=this.passage.translations[t].chapters[s.b][s.c-1]:s.v=999),this.options.include_apocrypha&&"b"===this.options.ps151_strategy&&(151===e.c&&"Ps"===e.b||151===s.c&&"Ps"===s.b)&&this.fix_ps151(e,s,t),"b"===this.options.osis_compaction_strategy&&1===e.c&&1===e.v&&(999===s.c&&999===s.v||s.c===this.passage.translations[t].chapters[s.b].length&&this.options.passage_existence_strategy.indexOf("c")>=0&&(999===s.v||s.v===this.passage.translations[t].chapters[s.b][s.c-1]&&this.options.passage_existence_strategy.indexOf("v")>=0))?(a.start=e.b,a.end=s.b):this.options.osis_compaction_strategy.length<=2&&1===e.v&&(999===s.v||s.v===this.passage.translations[t].chapters[s.b][s.c-1]&&this.options.passage_existence_strategy.indexOf("v")>=0)?(a.start=e.b+"."+e.c.toString(),a.end=s.b+"."+s.c.toString()):(a.start=e.b+"."+e.c.toString()+"."+e.v.toString(),a.end=s.b+"."+s.c.toString()+"."+s.v.toString()),r=a.start===a.end?a.start:a.start+"-"+a.end,null!=e.extra&&(r=e.extra+","+r),null!=s.extra&&(r+=","+s.extra),r}fix_ps151(e,s,t){var a;return"default"!==t&&null==(null!=(a=this.translations[t])?a.chapters.Ps151:void 0)&&this.passage.promote_book_to_translation("Ps151",t),151===e.c&&"Ps"===e.b?151===s.c&&"Ps"===s.b?(e.b="Ps151",e.c=1,s.b="Ps151",s.c=1):(e.extra=this.to_osis({b:"Ps151",c:1,v:e.v},{b:"Ps151",c:1,v:this.passage.translations[t].chapters.Ps151[0]},t),e.b="Prov",e.c=1,e.v=1):(s.extra=this.to_osis({b:"Ps151",c:1,v:1},{b:"Ps151",c:1,v:s.v},t),s.c=150,s.v=this.passage.translations[t].chapters.Ps[149])}combine_consecutive_passages(e,s){var t,a,r,n,i,o,l,u,c,p,h;for(u=[],c={},t=-1,a=!1,r=i=0,h=o=e.length-1;0<=h?i<=h:i>=h;r=0<=h?++i:--i)(l=e[r]).osis.length>0?(p=u.length-1,n=!1,l.enclosed_indices[0]!==t&&(t=l.enclosed_indices[0]),t>=0&&(r===o||e[r+1].enclosed_indices[0]!==l.enclosed_indices[0])&&(n=!0,a=!0),this.is_verse_consecutive(c,l.start,s)?(u[p].end=l.end,u[p].is_enclosed_last=n,u[p].indices[1]=l.indices[1],u[p].enclosed_indices[1]=l.enclosed_indices[1],u[p].osis=this.to_osis(u[p].start,l.end,s)):u.push(l),c={b:l.end.b,c:l.end.c,v:l.end.v}):(u.push(l),c={});return a&&this.snap_enclosed_indices(u),u}snap_enclosed_indices(e){var s,t,a;for(s=0,t=e.length;s<t;s++)null!=(a=e[s]).is_enclosed_last&&(a.enclosed_indices[0]<0&&a.is_enclosed_last&&(a.indices[1]=a.enclosed_indices[1]),delete a.is_enclosed_last);return e}is_verse_consecutive(e,s,t){var a;if(null==e.b)return!1;if(a=null!=this.passage.translations[t].order?this.passage.translations[t].order:this.passage.translations.default.order,e.b===s.b){if(e.c===s.c){if(e.v===s.v-1)return!0}else if(1===s.v&&e.c===s.c-1&&e.v===this.passage.translations[t].chapters[e.b][e.c-1])return!0}else if(1===s.c&&1===s.v&&a[e.b]===a[s.b]-1&&e.c===this.passage.translations[t].chapters[e.b].length&&e.v===this.passage.translations[t].chapters[e.b][e.c-1])return!0;return!1}snap_range(e,s){var t,a,n,i,o,l,u,c;for(a in"b_range_start"===e.type||"sequence"===e.type&&"b_range_start"===e.passages[s].type?(t=1,o="end",c="b_range_start"):(t=0,o="start",c="range_end_b"),l="end"===o?"start":"end",i=e.passages[s][l])r.call(i,a)&&(e.passages[s][l][a]=e.passages[s][o][a]);return"sequence"===e.type?(s>=e.value.length&&(s=e.value.length-1),null!=(n=this.passage.pluck(c,e.value[s]))&&(u=this.snap_range(n,0),0===s?e.absolute_indices[0]=u.absolute_indices[0]:e.absolute_indices[1]=u.absolute_indices[1])):(e.original_type=e.type,e.type=e.value[t].type,e.absolute_indices=[e.value[t].absolute_indices[0],e.value[t].absolute_indices[1]]),e}snap_sequence(e,s,t,a,r){var n;return(n=s.passages[a]).absolute_indices[0]===s.absolute_indices[0]&&a<r-1&&this.get_snap_sequence_i(s.passages,a,r)!==a?(s.absolute_indices[0]=s.passages[a+1].absolute_indices[0],this.remove_absolute_indices(s.passages,a+1)):n.absolute_indices[1]===s.absolute_indices[1]&&a>0?s.absolute_indices[1]=t.length>0?t[t.length-1].indices[1]:s.passages[a-1].absolute_indices[1]:"book"===e&&a<r-1&&!this.starts_with_book(s.passages[a+1])&&(s.passages[a+1].absolute_indices[0]=n.absolute_indices[0]),s}get_snap_sequence_i(e,s,t){var a,r,n,i;for(a=r=n=s+1,i=t;n<=i?r<i:r>i;a=n<=i?++r:--r){if(this.starts_with_book(e[a]))return a;if(e[a].valid.valid)return s}return s}starts_with_book(e){return"b"===e.type.substr(0,1)||("range"===e.type||"ff"===e.type)&&"b"===e.start.type.substr(0,1)}remove_absolute_indices(e,s){var t,a,r,n,i,o;if(e[s].enclosed_absolute_indices[0]<0)return!1;for([o,t]=e[s].enclosed_absolute_indices,a=0,r=(i=e.slice(s)).length;a<r&&((n=i[a]).enclosed_absolute_indices[0]===o&&n.enclosed_absolute_indices[1]===t);a++)n.enclosed_absolute_indices=[-1,-1];return!0}}return e.prototype.s="",e.prototype.entities=[],e.prototype.passage=null,e.prototype.regexps={},e.prototype.options={consecutive_combination_strategy:"combine",osis_compaction_strategy:"b",book_sequence_strategy:"ignore",invalid_sequence_strategy:"ignore",sequence_combination_strategy:"combine",punctuation_strategy:"us",invalid_passage_strategy:"ignore",non_latin_digits_strategy:"ignore",passage_existence_strategy:"bcv",zero_chapter_strategy:"error",zero_verse_strategy:"error",single_chapter_1_strategy:"chapter",book_alone_strategy:"ignore",book_range_strategy:"ignore",captive_end_digits_strategy:"delete",end_range_digits_strategy:"verse",include_apocrypha:!1,ps151_strategy:"c",versification_system:"default",case_sensitive:"none"},e}.call(this),this.bcv_parser=e,s=function(){class e{handle_array(e,s=[],t={}){var a,r,n;for(a=0,r=e.length;a<r;a++)if(null!=(n=e[a])){if("stop"===n.type)break;[s,t]=this.handle_obj(n,s,t)}return[s,t]}handle_obj(e,s,t){return null!=e.type&&null!=this[e.type]?this[e.type](e,s,t):[s,t]}b(e,s,a){var r,n,i,o,l,u,c;for(e.start_context=t.shallow_clone(a),e.passages=[],r=[],i=0,o=(u=this.books[e.value].parsed).length;i<o;i++)l={start:{b:n=u[i]},end:{b:n},valid:c=this.validate_ref(e.start_context.translations,{b:n})},0===e.passages.length&&c.valid?e.passages.push(l):r.push(l);return 0===e.passages.length&&e.passages.push(r.shift()),r.length>0&&(e.passages[0].alternates=r),null!=e.start_context.translations&&(e.passages[0].translations=e.start_context.translations),null==e.absolute_indices&&(e.absolute_indices=this.get_absolute_indices(e.indices)),s.push(e),a={b:e.passages[0].start.b},null!=e.start_context.translations&&(a.translations=e.start_context.translations),[s,a]}b_range(e,s,t){return this.range(e,s,t)}b_range_pre(e,s,a){var r,n,i;return e.start_context=t.shallow_clone(a),e.passages=[],r=this.pluck("b",e.value),[[n],a]=this.b(r,[],a),null==e.absolute_indices&&(e.absolute_indices=this.get_absolute_indices(e.indices)),i={b:e.value[0].value+n.passages[0].start.b.substr(1),type:"b"},e.passages=[{start:i,end:n.passages[0].end,valid:n.passages[0].valid}],null!=e.start_context.translations&&(e.passages[0].translations=e.start_context.translations),s.push(e),[s,a]}b_range_start(e,s,t){return this.range(e,s,t)}base(e,s,t){return this.indices=this.calculate_indices(e.match,e.start_index),this.handle_array(e.value,s,t)}bc(e,s,a){var r,n,i,o,l,u,c,p,h;for(e.start_context=t.shallow_clone(a),e.passages=[],this.reset_context(a,["b","c","v"]),i=this.pluck("c",e.value).value,r=[],l=0,u=(p=this.books[this.pluck("b",e.value).value].parsed).length;l<u;l++)o="c",c={start:{b:n=p[l]},end:{b:n},valid:h=this.validate_ref(e.start_context.translations,{b:n,c:i})},(h.messages.start_chapter_not_exist_in_single_chapter_book||h.messages.start_chapter_1)&&(c.valid=this.validate_ref(e.start_context.translations,{b:n,v:i}),h.messages.start_chapter_not_exist_in_single_chapter_book&&(c.valid.messages.start_chapter_not_exist_in_single_chapter_book=1),c.start.c=1,c.end.c=1,o="v"),c.start[o]=i,[c.start.c,c.start.v]=this.fix_start_zeroes(c.valid,c.start.c,c.start.v),null==c.start.v&&delete c.start.v,c.end[o]=c.start[o],0===e.passages.length&&c.valid.valid?e.passages.push(c):r.push(c);return 0===e.passages.length&&e.passages.push(r.shift()),r.length>0&&(e.passages[0].alternates=r),null!=e.start_context.translations&&(e.passages[0].translations=e.start_context.translations),null==e.absolute_indices&&(e.absolute_indices=this.get_absolute_indices(e.indices)),this.set_context_from_object(a,["b","c","v"],e.passages[0].start),s.push(e),[s,a]}bc_title(e,s,a){var r,n,i,o,l;if(e.start_context=t.shallow_clone(a),[[r],a]=this.bc(this.pluck("bc",e.value),[],a),"Ps"!==r.passages[0].start.b.substr(0,2)&&null!=r.passages[0].alternates)for(n=i=0,o=r.passages[0].alternates.length;0<=o?i<o:i>o;n=0<=o?++i:--i)if("Ps"===r.passages[0].alternates[n].start.b.substr(0,2)){r.passages[0]=r.passages[0].alternates[n];break}return"Ps"!==r.passages[0].start.b.substr(0,2)?(s.push(r),[s,a]):(this.books[this.pluck("b",r.value).value].parsed=["Ps"],null==(l=this.pluck("title",e.value))&&(l=this.pluck("v",e.value)),e.value[1]={type:"v",value:[{type:"integer",value:1,indices:l.indices}],indices:l.indices},e.type="bcv",this.bcv(e,s,e.start_context))}bcv(e,s,a){var r,n,i,o,l,u,c,p,h,g;for(e.start_context=t.shallow_clone(a),e.passages=[],this.reset_context(a,["b","c","v"]),i=this.pluck("bc",e.value),o=this.pluck("c",i.value).value,h=this.pluck("v",e.value).value,r=[],l=0,u=(p=this.books[this.pluck("b",i.value).value].parsed).length;l<u;l++)n=p[l],g=this.validate_ref(e.start_context.translations,{b:n,c:o,v:h}),[o,h]=this.fix_start_zeroes(g,o,h),c={start:{b:n,c:o,v:h},end:{b:n,c:o,v:h},valid:g},0===e.passages.length&&g.valid?e.passages.push(c):r.push(c);return 0===e.passages.length&&e.passages.push(r.shift()),r.length>0&&(e.passages[0].alternates=r),null!=e.start_context.translations&&(e.passages[0].translations=e.start_context.translations),null==e.absolute_indices&&(e.absolute_indices=this.get_absolute_indices(e.indices)),this.set_context_from_object(a,["b","c","v"],e.passages[0].start),s.push(e),[s,a]}bv(e,s,a){var r,n,i;return e.start_context=t.shallow_clone(a),[r,i]=e.value,n={indices:e.indices,value:[{type:"bc",value:[r,{type:"c",value:[{type:"integer",value:1}]}]},i]},[[n],a]=this.bcv(n,[],a),e.passages=n.passages,null==e.absolute_indices&&(e.absolute_indices=this.get_absolute_indices(e.indices)),s.push(e),[s,a]}c(e,s,a){var r,n;return e.start_context=t.shallow_clone(a),r="integer"===e.type?e.value:this.pluck("integer",e.value).value,!(n=this.validate_ref(e.start_context.translations,{b:a.b,c:r})).valid&&n.messages.start_chapter_not_exist_in_single_chapter_book?this.v(e,s,a):([r]=this.fix_start_zeroes(n,r),e.passages=[{start:{b:a.b,c:r},end:{b:a.b,c:r},valid:n}],null!=e.start_context.translations&&(e.passages[0].translations=e.start_context.translations),s.push(e),a.c=r,this.reset_context(a,["v"]),null==e.absolute_indices&&(e.absolute_indices=this.get_absolute_indices(e.indices)),[s,a])}c_psalm(e,s,t){var a;return e.type="bc",a=parseInt(this.books[e.value].value.match(/^\d+/)[0],10),e.value=[{type:"b",value:e.value,indices:e.indices},{type:"c",value:[{type:"integer",value:a,indices:e.indices}],indices:e.indices}],this.bc(e,s,t)}c_title(e,s,a){var r;return e.start_context=t.shallow_clone(a),"Ps"!==a.b?this.c(e.value[0],s,a):(r=this.pluck("title",e.value),e.value[1]={type:"v",value:[{type:"integer",value:1,indices:r.indices}],indices:r.indices},e.type="cv",this.cv(e,s,e.start_context))}cv(e,s,a){var r,n,i;return e.start_context=t.shallow_clone(a),r=this.pluck("c",e.value).value,n=this.pluck("v",e.value).value,i=this.validate_ref(e.start_context.translations,{b:a.b,c:r,v:n}),[r,n]=this.fix_start_zeroes(i,r,n),e.passages=[{start:{b:a.b,c:r,v:n},end:{b:a.b,c:r,v:n},valid:i}],null!=e.start_context.translations&&(e.passages[0].translations=e.start_context.translations),s.push(e),a.c=r,a.v=n,null==e.absolute_indices&&(e.absolute_indices=this.get_absolute_indices(e.indices)),[s,a]}cb_range(e,s,t){var a,r,n;return e.type="range",[a,n,r]=e.value,e.value=[{type:"bc",value:[a,n],indices:e.indices},r],r.indices[1]=e.indices[1],this.range(e,s,t)}cv_range(e,s,a){var r,n,i,o,l;for(i in e.start_context=t.shallow_clone(a),e.type="range",[l,n]=e.value,r=null,o=this.books)if(o[i].parsed.indexOf(a.b)>=0){r=i;break}return e.value=[{type:"bcv",value:[{type:"bc",value:[{type:"b",value:r,indices:e.indices},{type:"c",value:[{type:"integer",value:a.c,indices:e.indices}],indices:e.indices}],indices:e.indices},l],indices:e.indices},n],this.range(e,s,a)}bc_cv_range(e,s,a){var r,n,i,o,l,u;return e.start_context=t.shallow_clone(a),e.type="range",[n,o]=e.value,r=this.pluck("b",n.value).value,i=this.pluck("c",n.value).value,[u,l]=o.value,e.value=[{type:"bcv",value:[{type:"bc",value:[{type:"b",value:r,indices:e.indices},{type:"c",value:[{type:"integer",value:i,indices:e.indices}],indices:e.indices}],indices:e.indices},u],indices:e.indices},l],this.range(e,s,a)}context(e,s,a){var n,i;for(n in e.start_context=t.shallow_clone(a),e.passages=[],i=this.books[e.value].context)r.call(i,n)&&(a[n]=this.books[e.value].context[n]);return s.push(e),[s,a]}cv_psalm(e,s,a){var r,n,i;return e.start_context=t.shallow_clone(a),e.type="bcv",[n,i]=e.value,[[r]]=this.c_psalm(n,[],e.start_context),e.value=[r,i],this.bcv(e,s,a)}ff(e,s,a){return e.start_context=t.shallow_clone(a),e.value.push({type:"integer",indices:e.indices,value:999}),[[e],a]=this.range(e,[],e.start_context),e.value[0].indices=e.value[1].indices,e.value[0].absolute_indices=e.value[1].absolute_indices,e.value.pop(),null!=e.passages[0].valid.messages.end_verse_not_exist&&delete e.passages[0].valid.messages.end_verse_not_exist,null!=e.passages[0].valid.messages.end_chapter_not_exist&&delete e.passages[0].valid.messages.end_chapter_not_exist,null!=e.passages[0].end.original_c&&delete e.passages[0].end.original_c,s.push(e),[s,a]}integer_title(e,s,a){return e.start_context=t.shallow_clone(a),"Ps"!==a.b?this.integer(e.value[0],s,a):(e.value[0]={type:"c",value:[e.value[0]],indices:[e.value[0].indices[0],e.value[0].indices[1]]},e.value[1].type="v",e.value[1].original_type="title",e.value[1].value=[{type:"integer",value:1,indices:e.value[1].value.indices}],e.type="cv",this.cv(e,s,e.start_context))}integer(e,s,t){return null!=t.v?this.v(e,s,t):this.c(e,s,t)}next_v(e,s,a){var r,n;return e.start_context=t.shallow_clone(a),null==(r=this.pluck_last_recursively("integer",e.value))&&(r={value:1}),e.value.push({type:"integer",indices:e.indices,value:r.value+1}),[[n],a]=this.range(e,[],e.start_context),null!=n.passages[0].valid.messages.end_verse_not_exist&&null==n.passages[0].valid.messages.start_verse_not_exist&&null==n.passages[0].valid.messages.start_chapter_not_exist&&null!=a.c&&(e.value.pop(),e.value.push({type:"cv",indices:e.indices,value:[{type:"c",value:[{type:"integer",value:a.c+1,indices:e.indices}],indices:e.indices},{type:"v",value:[{type:"integer",value:1,indices:e.indices}],indices:e.indices}]}),[[n],a]=this.range(e,[],e.start_context)),n.value[0].indices=n.value[1].indices,n.value[0].absolute_indices=n.value[1].absolute_indices,n.value.pop(),null!=n.passages[0].valid.messages.end_verse_not_exist&&delete n.passages[0].valid.messages.end_verse_not_exist,null!=n.passages[0].valid.messages.end_chapter_not_exist&&delete n.passages[0].valid.messages.end_chapter_not_exist,null!=n.passages[0].end.original_c&&delete n.passages[0].end.original_c,s.push(n),[s,a]}sequence(e,s,a){var r,n,i,o,l,u,c,p,h;for(e.start_context=t.shallow_clone(a),e.passages=[],r=0,i=(c=e.value).length;r<i;r++)for(l=c[r],[[u],a]=this.handle_array(l,[],a),n=0,o=(p=u.passages).length;n<o;n++)null==(h=p[n]).type&&(h.type=u.type),null==h.absolute_indices&&(h.absolute_indices=u.absolute_indices),null!=u.start_context.translations&&(h.translations=u.start_context.translations),h.enclosed_absolute_indices="sequence_post_enclosed"===u.type?u.absolute_indices:[-1,-1],e.passages.push(h);return null==e.absolute_indices&&(e.passages.length>0&&"sequence"===e.type?e.absolute_indices=[e.passages[0].absolute_indices[0],e.passages[e.passages.length-1].absolute_indices[1]]:e.absolute_indices=this.get_absolute_indices(e.indices)),s.push(e),[s,a]}sequence_post_enclosed(e,s,t){return this.sequence(e,s,t)}v(e,s,a){var r,n,i,o;return i="integer"===e.type?e.value:this.pluck("integer",e.value).value,e.start_context=t.shallow_clone(a),r=null!=a.c?a.c:1,o=this.validate_ref(e.start_context.translations,{b:a.b,c:r,v:i}),[n,i]=this.fix_start_zeroes(o,0,i),e.passages=[{start:{b:a.b,c:r,v:i},end:{b:a.b,c:r,v:i},valid:o}],null!=e.start_context.translations&&(e.passages[0].translations=e.start_context.translations),null==e.absolute_indices&&(e.absolute_indices=this.get_absolute_indices(e.indices)),s.push(e),a.v=i,[s,a]}range(e,s,a){var r,n,i,o,l,u,c,p,h,g,x;return e.start_context=t.shallow_clone(a),[h,r]=e.value,[[h],a]=this.handle_obj(h,[],a),"v"!==r.type||("bc"!==h.type||(null!=(i=h.passages)&&null!=(o=i[0])&&null!=(l=o.valid)&&null!=(u=l.messages)?u.start_chapter_not_exist_in_single_chapter_book:void 0))&&"c"!==h.type||"verse"!==this.options.end_range_digits_strategy?([[r],a]=this.handle_obj(r,[],a),e.value=[h,r],e.indices=[h.indices[0],r.indices[1]],delete e.absolute_indices,g={b:h.passages[0].start.b,c:h.passages[0].start.c,v:h.passages[0].start.v,type:h.type},n={b:r.passages[0].end.b,c:r.passages[0].end.c,v:r.passages[0].end.v,type:r.type},r.passages[0].valid.messages.start_chapter_is_zero&&(n.c=0),r.passages[0].valid.messages.start_verse_is_zero&&(n.v=0),(x=this.validate_ref(e.start_context.translations,g,n)).valid?([c,p]=this.range_handle_valid(x,e,h,g,r,n,s),c?p:(null==e.absolute_indices&&(e.absolute_indices=this.get_absolute_indices(e.indices)),e.passages=[{start:g,end:n,valid:x}],null!=e.start_context.translations&&(e.passages[0].translations=e.start_context.translations),"b"===g.type?"b"===n.type?e.type="b_range":e.type="b_range_start":"b"===n.type&&(e.type="range_end_b"),s.push(e),[s,a])):this.range_handle_invalid(x,e,h,g,r,n,s)):(e.value[0]=h,this.range_change_integer_end(e,s))}range_change_end(e,s,t){var a,r,n;return[n,a]=e.value,"integer"===a.type?(a.original_value=a.value,a.value=t):"v"===a.type?((r=this.pluck("integer",a.value)).original_value=r.value,r.value=t):"cv"===a.type&&((r=this.pluck("c",a.value)).original_value=r.value,r.value=t),this.handle_obj(e,s,e.start_context)}range_change_integer_end(e,s){var t,a;return[a,t]=e.value,null==e.original_type&&(e.original_type=e.type),null==e.original_value&&(e.original_value=[a,t]),e.type="integer"===a.type?"cv":a.type+"v","integer"===a.type&&(e.value[0]={type:"c",value:[a],indices:a.indices}),"integer"===t.type&&(e.value[1]={type:"v",value:[t],indices:t.indices}),this.handle_obj(e,s,e.start_context)}range_check_new_end(e,s,t,a){var r,n,i;return r=0,i=null,a.messages.end_chapter_before_start?i="c":a.messages.end_verse_before_start&&(i="v"),null!=i&&(r=this.range_get_new_end_value(s,t,a,i)),r>0&&((n={b:t.b,c:t.c,v:t.v})[i]=r,this.validate_ref(e,n).valid||(r=0)),r}range_end_b(e,s,t){return this.range(e,s,t)}range_get_new_end_value(e,s,t,a){var r;return r=0,"c"===a&&t.messages.end_chapter_is_zero||"v"===a&&t.messages.end_verse_is_zero||(e[a]>=10&&s[a]<10&&e[a]-10*Math.floor(e[a]/10)<s[a]?r=s[a]+10*Math.floor(e[a]/10):e[a]>=100&&s[a]<100&&e[a]-100<s[a]&&(r=s[a]+100)),r}range_handle_invalid(e,s,t,a,r,n,i){var o,l;return(!1===e.valid&&(e.messages.end_chapter_before_start||e.messages.end_verse_before_start)&&("integer"===r.type||"v"===r.type)||!1===e.valid&&e.messages.end_chapter_before_start&&"cv"===r.type)&&(o=this.range_check_new_end(s.start_context.translations,a,n,e))>0?this.range_change_end(s,i,o):"verse"!==this.options.end_range_digits_strategy||null!=a.v||"integer"!==r.type&&"v"!==r.type||(l="v"===r.type?this.pluck("integer",r.value):r.value,!this.validate_ref(s.start_context.translations,{b:a.b,c:a.c,v:l}).valid)?(null==s.original_type&&(s.original_type=s.type),s.type="sequence",[s.original_value,s.value]=[[t,r],[[t],[r]]],this.sequence(s,i,s.start_context)):this.range_change_integer_end(s,i)}range_handle_valid(e,s,t,a,r,n,i){var o;return e.messages.end_chapter_not_exist&&"verse"===this.options.end_range_digits_strategy&&null==a.v&&("integer"===r.type||"v"===r.type)&&this.options.passage_existence_strategy.indexOf("v")>=0&&(o="v"===r.type?this.pluck("integer",r.value):r.value,this.validate_ref(s.start_context.translations,{b:a.b,c:a.c,v:o}).valid)?[!0,this.range_change_integer_end(s,i)]:(this.range_validate(e,a,n,s),[!1,null])}range_validate(e,s,t,a){return e.messages.end_chapter_not_exist||e.messages.end_chapter_not_exist_in_single_chapter_book?(t.original_c=t.c,t.c=e.messages.end_chapter_not_exist?e.messages.end_chapter_not_exist:e.messages.end_chapter_not_exist_in_single_chapter_book,null!=t.v&&(t.v=this.validate_ref(a.start_context.translations,{b:t.b,c:t.c,v:999}).messages.end_verse_not_exist,delete e.messages.end_verse_is_zero)):e.messages.end_verse_not_exist&&(t.original_v=t.v,t.v=e.messages.end_verse_not_exist),e.messages.end_verse_is_zero&&"allow"!==this.options.zero_verse_strategy&&(t.v=e.messages.end_verse_is_zero),e.messages.end_chapter_is_zero&&(t.c=e.messages.end_chapter_is_zero),[s.c,s.v]=this.fix_start_zeroes(e,s.c,s.v),!0}translation_sequence(e,s,a){var r,n,i,o,l,u,c,p;for(e.start_context=t.shallow_clone(a),(c=[]).push({translation:this.books[e.value[0].value].parsed}),r=0,i=(l=e.value[1]).length;r<i;r++)p=l[r],null!=(p=this.books[this.pluck("translation",p).value].parsed)&&c.push({translation:p});for(n=0,o=c.length;n<o;n++)u=c[n],null!=this.translations.aliases[u.translation]?(u.alias=this.translations.aliases[u.translation].alias,u.osis=this.translations.aliases[u.translation].osis||u.translation.toUpperCase()):(u.alias="default",u.osis=u.translation.toUpperCase());return s.length>0&&(a=this.translation_sequence_apply(s,c)),null==e.absolute_indices&&(e.absolute_indices=this.get_absolute_indices(e.indices)),s.push(e),this.reset_context(a,["translations"]),[s,a]}translation_sequence_apply(e,s){var a,r,n,i,o,l;for(l=0,r=n=o=e.length-1;o<=0?n<=0:n>=0;r=o<=0?++n:--n)if(null!=e[r].original_type&&(e[r].type=e[r].original_type),null!=e[r].original_value&&(e[r].value=e[r].original_value),"translation_sequence"===e[r].type){l=r+1;break}return l<e.length?(e[l].start_context.translations=s,[i,a]=this.handle_array(e.slice(l),[],e[l].start_context)):a=t.shallow_clone(e[e.length-1].start_context),a}pluck(e,s){var t,a,r;for(t=0,a=s.length;t<a;t++)if(null!=(r=s[t])&&null!=r.type&&r.type===e)return"c"===e||"v"===e?this.pluck("integer",r.value):r;return null}pluck_last_recursively(e,s){var t,a,r;for(t=s.length-1;t>=0;t+=-1)if(null!=(a=s[t])&&null!=a.type){if(a.type===e)return this.pluck(e,[a]);if(null!=(r=this.pluck_last_recursively(e,a.value)))return r}return null}set_context_from_object(e,s,t){var a,r,n,i;for(n=[],a=0,r=s.length;a<r;a++)null!=t[i=s[a]]&&n.push(e[i]=t[i]);return n}reset_context(e,s){var t,a,r,n;for(r=[],t=0,a=s.length;t<a;t++)n=s[t],r.push(delete e[n]);return r}fix_start_zeroes(e,s,t){return e.messages.start_chapter_is_zero&&"upgrade"===this.options.zero_chapter_strategy&&(s=e.messages.start_chapter_is_zero),e.messages.start_verse_is_zero&&"upgrade"===this.options.zero_verse_strategy&&(t=e.messages.start_verse_is_zero),[s,t]}calculate_indices(e,s){var t,a,r,n,i,o,l,u,c,p,h,g,x,_,d,f;for(d="book",r=[],p=0,s=parseInt(s,10),x=[e],n=0,o=(_=["",""]).length;n<o;n++){for(t=_[n],f=[],i=0,l=x.length;i<l;i++)h=x[i],f=f.concat(h.split(t));x=f}for(c=0,u=x.length;c<u;c++)d="book"===d?"rest":"book",0!==(g=(h=x[c]).length)&&("book"===d?(h=h.replace(/\/\d+$/,""),a=p+g,r.length>0&&r[r.length-1].index===s?r[r.length-1].end=a:r.push({start:p,end:a,index:s}),p+=g+2,s=this.books[h].start_index+this.books[h].value.length-p,r.push({start:a+1,end:a+1,index:s})):(a=p+g-1,r.length>0&&r[r.length-1].index===s?r[r.length-1].end=a:r.push({start:p,end:a,index:s}),p+=g));return r}get_absolute_indices([e,s]){var t,a,r,n,i,o;for(o=null,t=null,r=0,n=(i=this.indices).length;r<n;r++)if(a=i[r],null===o&&a.start<=e&&e<=a.end&&(o=e+a.index),a.start<=s&&s<=a.end){t=s+a.index+1;break}return[o,t]}validate_ref(e,s,t){var a,r,n,i,o,l;for(null!=e&&e.length>0||(e=[{translation:"default",osis:"",alias:"default"}]),l=!1,n={},a=0,r=e.length;a<r;a++)null==(o=e[a]).alias&&(o.alias="default"),null!=o.alias?(null==this.translations.aliases[o.alias]&&(o.alias="default",null==n.translation_unknown&&(n.translation_unknown=[]),n.translation_unknown.push(o)),[i]=this.validate_start_ref(o.alias,s,n),t&&([i]=this.validate_end_ref(o.alias,s,t,i,n)),!0===i&&(l=!0)):(null==n.translation_invalid&&(n.translation_invalid=[]),n.translation_invalid.push(o));return{valid:l,messages:n}}validate_start_ref(e,s,t){var a,r,n,i;if(i=!0,"default"!==e&&null==(null!=(a=this.translations[e])?a.chapters[s.b]:void 0)&&this.promote_book_to_translation(s.b,e),n=null!=(null!=(r=this.translations[e])?r.order:void 0)?e:"default",null!=s.v&&(s.v=parseInt(s.v,10)),null!=this.translations[n].order[s.b]){if(null==s.c&&(s.c=1),s.c=parseInt(s.c,10),isNaN(s.c))return i=!1,t.start_chapter_not_numeric=!0,[i,t];0===s.c&&(t.start_chapter_is_zero=1,"error"===this.options.zero_chapter_strategy?i=!1:s.c=1),null!=s.v&&0===s.v&&(t.start_verse_is_zero=1,"error"===this.options.zero_verse_strategy?i=!1:"upgrade"===this.options.zero_verse_strategy&&(s.v=1)),s.c>0&&null!=this.translations[e].chapters[s.b][s.c-1]?null!=s.v?isNaN(s.v)?(i=!1,t.start_verse_not_numeric=!0):s.v>this.translations[e].chapters[s.b][s.c-1]&&this.options.passage_existence_strategy.indexOf("v")>=0&&(i=!1,t.start_verse_not_exist=this.translations[e].chapters[s.b][s.c-1]):1===s.c&&"verse"===this.options.single_chapter_1_strategy&&1===this.translations[e].chapters[s.b].length&&(t.start_chapter_1=1):1!==s.c&&1===this.translations[e].chapters[s.b].length?(i=!1,t.start_chapter_not_exist_in_single_chapter_book=1):s.c>0&&this.options.passage_existence_strategy.indexOf("c")>=0&&(i=!1,t.start_chapter_not_exist=this.translations[e].chapters[s.b].length)}else null==s.b?(i=!1,t.start_book_not_defined=!0):(this.options.passage_existence_strategy.indexOf("b")>=0&&(i=!1),t.start_book_not_exist=!0);return[i,t]}validate_end_ref(e,s,t,a,r){var n,i;return i=null!=(null!=(n=this.translations[e])?n.order:void 0)?e:"default",null!=t.c&&(t.c=parseInt(t.c,10),isNaN(t.c)?(a=!1,r.end_chapter_not_numeric=!0):0===t.c&&(r.end_chapter_is_zero=1,"error"===this.options.zero_chapter_strategy?a=!1:t.c=1)),null!=t.v&&(t.v=parseInt(t.v,10),isNaN(t.v)?(a=!1,r.end_verse_not_numeric=!0):0===t.v&&(r.end_verse_is_zero=1,"error"===this.options.zero_verse_strategy?a=!1:"upgrade"===this.options.zero_verse_strategy&&(t.v=1))),null!=this.translations[i].order[t.b]?(null==t.c&&1===this.translations[e].chapters[t.b].length&&(t.c=1),null!=this.translations[i].order[s.b]&&this.translations[i].order[s.b]>this.translations[i].order[t.b]&&(this.options.passage_existence_strategy.indexOf("b")>=0&&(a=!1),r.end_book_before_start=!0),s.b!==t.b||null==t.c||isNaN(t.c)||(null==s.c&&(s.c=1),!isNaN(parseInt(s.c,10))&&s.c>t.c?(a=!1,r.end_chapter_before_start=!0):s.c!==t.c||null==t.v||isNaN(t.v)||(null==s.v&&(s.v=1),!isNaN(parseInt(s.v,10))&&s.v>t.v&&(a=!1,r.end_verse_before_start=!0))),null==t.c||isNaN(t.c)||null==this.translations[e].chapters[t.b][t.c-1]&&(1===this.translations[e].chapters[t.b].length?r.end_chapter_not_exist_in_single_chapter_book=1:t.c>0&&this.options.passage_existence_strategy.indexOf("c")>=0&&(r.end_chapter_not_exist=this.translations[e].chapters[t.b].length)),null==t.v||isNaN(t.v)||(null==t.c&&(t.c=this.translations[e].chapters[t.b].length),t.v>this.translations[e].chapters[t.b][t.c-1]&&this.options.passage_existence_strategy.indexOf("v")>=0&&(r.end_verse_not_exist=this.translations[e].chapters[t.b][t.c-1]))):(a=!1,r.end_book_not_exist=!0),[a,r]}promote_book_to_translation(e,s){var a,r;if(null==(a=this.translations)[s]&&(a[s]={}),null==(r=this.translations[s]).chapters&&(r.chapters={}),null==this.translations[s].chapters[e])return this.translations[s].chapters[e]=t.shallow_clone_array(this.translations.default.chapters[e])}}return e.prototype.books=[],e.prototype.indices={},e.prototype.options={},e.prototype.translations={},e}.call(this),t={shallow_clone:function(e){var s,t,a;if(null==e)return e;for(s in t={},e)r.call(e,s)&&(a=e[s],t[s]=a);return t},shallow_clone_array:function(e){var s,t,a,r;if(null==e)return e;for(a=[],s=t=0,r=e.length;0<=r?t<=r:t>=r;s=0<=r?++t:--t)void 0!==e[s]&&(a[s]=e[s]);return a}},e.prototype.regexps.translations=/(?:(?:LUTH(?:1545|ER)|SCH(?:200|195)0|HFA|ELB))\b/gi,e.prototype.translations={aliases:{default:{osis:"",alias:"default"}},alternates:{},default:{order:{Gen:1,Exod:2,Lev:3,Num:4,Deut:5,Josh:6,Judg:7,Ruth:8,"1Sam":9,"2Sam":10,"1Kgs":11,"2Kgs":12,"1Chr":13,"2Chr":14,Ezra:15,Neh:16,Esth:17,Job:18,Ps:19,Prov:20,Eccl:21,Song:22,Isa:23,Jer:24,Lam:25,Ezek:26,Dan:27,Hos:28,Joel:29,Amos:30,Obad:31,Jonah:32,Mic:33,Nah:34,Hab:35,Zeph:36,Hag:37,Zech:38,Mal:39,Matt:40,Mark:41,Luke:42,John:43,Acts:44,Rom:45,"1Cor":46,"2Cor":47,Gal:48,Eph:49,Phil:50,Col:51,"1Thess":52,"2Thess":53,"1Tim":54,"2Tim":55,Titus:56,Phlm:57,Heb:58,Jas:59,"1Pet":60,"2Pet":61,"1John":62,"2John":63,"3John":64,Jude:65,Rev:66,Tob:67,Jdt:68,GkEsth:69,Wis:70,Sir:71,Bar:72,PrAzar:73,Sus:74,Bel:75,SgThree:76,EpJer:77,"1Macc":78,"2Macc":79,"3Macc":80,"4Macc":81,"1Esd":82,"2Esd":83,PrMan:84},chapters:{Gen:[31,25,24,26,32,22,24,22,29,32,32,20,18,24,21,16,27,33,38,18,34,24,20,67,34,35,46,22,35,43,55,32,20,31,29,43,36,30,23,23,57,38,34,34,28,34,31,22,33,26],Exod:[22,25,22,31,23,30,25,32,35,29,10,51,22,31,27,36,16,27,25,26,36,31,33,18,40,37,21,43,46,38,18,35,23,35,35,38,29,31,43,38],Lev:[17,16,17,35,19,30,38,36,24,20,47,8,59,57,33,34,16,30,37,27,24,33,44,23,55,46,34],Num:[54,34,51,49,31,27,89,26,23,36,35,16,33,45,41,50,13,32,22,29,35,41,30,25,18,65,23,31,40,16,54,42,56,29,34,13],Deut:[46,37,29,49,33,25,26,20,29,22,32,32,18,29,23,22,20,22,21,20,23,30,25,22,19,19,26,68,29,20,30,52,29,12],Josh:[18,24,17,24,15,27,26,35,27,43,23,24,33,15,63,10,18,28,51,9,45,34,16,33],Judg:[36,23,31,24,31,40,25,35,57,18,40,15,25,20,20,31,13,31,30,48,25],Ruth:[22,23,18,22],"1Sam":[28,36,21,22,12,21,17,22,27,27,15,25,23,52,35,23,58,30,24,42,15,23,29,22,44,25,12,25,11,31,13],"2Sam":[27,32,39,12,25,23,29,18,13,19,27,31,39,33,37,23,29,33,43,26,22,51,39,25],"1Kgs":[53,46,28,34,18,38,51,66,28,29,43,33,34,31,34,34,24,46,21,43,29,53],"2Kgs":[18,25,27,44,27,33,20,29,37,36,21,21,25,29,38,20,41,37,37,21,26,20,37,20,30],"1Chr":[54,55,24,43,26,81,40,40,44,14,47,40,14,17,29,43,27,17,19,8,30,19,32,31,31,32,34,21,30],"2Chr":[17,18,17,22,14,42,22,18,31,19,23,16,22,15,19,14,19,34,11,37,20,12,21,27,28,23,9,27,36,27,21,33,25,33,27,23],Ezra:[11,70,13,24,17,22,28,36,15,44],Neh:[11,20,32,23,19,19,73,18,38,39,36,47,31],Esth:[22,23,15,17,14,14,10,17,32,3],Job:[22,13,26,21,27,30,21,22,35,22,20,25,28,22,35,22,16,21,29,29,34,30,17,25,6,14,23,28,25,31,40,22,33,37,16,33,24,41,30,24,34,17],Ps:[6,12,8,8,12,10,17,9,20,18,7,8,6,7,5,11,15,50,14,9,13,31,6,10,22,12,14,9,11,12,24,11,22,22,28,12,40,22,13,17,13,11,5,26,17,11,9,14,20,23,19,9,6,7,23,13,11,11,17,12,8,12,11,10,13,20,7,35,36,5,24,20,28,23,10,12,20,72,13,19,16,8,18,12,13,17,7,18,52,17,16,15,5,23,11,13,12,9,9,5,8,28,22,35,45,48,43,13,31,7,10,10,9,8,18,19,2,29,176,7,8,9,4,8,5,6,5,6,8,8,3,18,3,3,21,26,9,8,24,13,10,7,12,15,21,10,20,14,9,6],Prov:[33,22,35,27,23,35,27,36,18,32,31,28,25,35,33,33,28,24,29,30,31,29,35,34,28,28,27,28,27,33,31],Eccl:[18,26,22,16,20,12,29,17,18,20,10,14],Song:[17,17,11,16,16,13,13,14],Isa:[31,22,26,6,30,13,25,22,21,34,16,6,22,32,9,14,14,7,25,6,17,25,18,23,12,21,13,29,24,33,9,20,24,17,10,22,38,22,8,31,29,25,28,28,25,13,15,22,26,11,23,15,12,17,13,12,21,14,21,22,11,12,19,12,25,24],Jer:[19,37,25,31,31,30,34,22,26,25,23,17,27,22,21,21,27,23,15,18,14,30,40,10,38,24,22,17,32,24,40,44,26,22,19,32,21,28,18,16,18,22,13,30,5,28,7,47,39,46,64,34],Lam:[22,22,66,22,22],Ezek:[28,10,27,17,17,14,27,18,11,22,25,28,23,23,8,63,24,32,14,49,32,31,49,27,17,21,36,26,21,26,18,32,33,31,15,38,28,23,29,49,26,20,27,31,25,24,23,35],Dan:[21,49,30,37,31,28,28,27,27,21,45,13],Hos:[11,23,5,19,15,11,16,14,17,15,12,14,16,9],Joel:[20,32,21],Amos:[15,16,15,13,27,14,17,14,15],Obad:[21],Jonah:[17,10,10,11],Mic:[16,13,12,13,15,16,20],Nah:[15,13,19],Hab:[17,20,19],Zeph:[18,15,20],Hag:[15,23],Zech:[21,13,10,14,11,15,14,23,17,12,17,14,9,21],Mal:[14,17,18,6],Matt:[25,23,17,25,48,34,29,34,38,42,30,50,58,36,39,28,27,35,30,34,46,46,39,51,46,75,66,20],Mark:[45,28,35,41,43,56,37,38,50,52,33,44,37,72,47,20],Luke:[80,52,38,44,39,49,50,56,62,42,54,59,35,35,32,31,37,43,48,47,38,71,56,53],John:[51,25,36,54,47,71,53,59,41,42,57,50,38,31,27,33,26,40,42,31,25],Acts:[26,47,26,37,42,15,60,40,43,48,30,25,52,28,41,40,34,28,41,38,40,30,35,27,27,32,44,31],Rom:[32,29,31,25,21,23,25,39,33,21,36,21,14,23,33,27],"1Cor":[31,16,23,21,13,20,40,13,27,33,34,31,13,40,58,24],"2Cor":[24,17,18,18,21,18,16,24,15,18,33,21,14],Gal:[24,21,29,31,26,18],Eph:[23,22,21,32,33,24],Phil:[30,30,21,23],Col:[29,23,25,18],"1Thess":[10,20,13,18,28],"2Thess":[12,17,18],"1Tim":[20,15,16,16,25,21],"2Tim":[18,26,17,22],Titus:[16,15,15],Phlm:[25],Heb:[14,18,19,16,14,20,28,13,28,39,40,29,25],Jas:[27,26,18,17,20],"1Pet":[25,25,22,19,14],"2Pet":[21,22,18],"1John":[10,29,24,21,21],"2John":[13],"3John":[15],Jude:[25],Rev:[20,29,22,11,14,17,17,13,21,11,19,17,18,20,8,21,18,24,21,15,27,21],Tob:[22,14,17,21,22,18,16,21,6,13,18,22,17,15],Jdt:[16,28,10,15,24,21,32,36,14,23,23,20,20,19,14,25],GkEsth:[22,23,15,17,14,14,10,17,32,13,12,6,18,19,16,24],Wis:[16,24,19,20,23,25,30,21,18,21,26,27,19,31,19,29,21,25,22],Sir:[30,18,31,31,15,37,36,19,18,31,34,18,26,27,20,30,32,33,30,31,28,27,27,34,26,29,30,26,28,25,31,24,33,31,26,31,31,34,35,30,22,25,33,23,26,20,25,25,16,29,30],Bar:[22,35,37,37,9],PrAzar:[68],Sus:[64],Bel:[42],SgThree:[39],EpJer:[73],"1Macc":[64,70,60,61,68,63,50,32,73,89,74,53,53,49,41,24],"2Macc":[36,32,40,50,27,31,42,36,29,38,38,45,26,46,39],"3Macc":[29,33,30,21,51,41,23],"4Macc":[35,24,21,26,38,35,23,29,32,21,27,19,27,20,32,25,24,24],"1Esd":[58,30,24,63,73,34,15,96,55],"2Esd":[40,48,36,52,56,59,70,63,47,59,46,51,58,48,63,78],PrMan:[15],Ps151:[7]}},vulgate:{chapters:{Gen:[31,25,24,26,32,22,24,22,29,32,32,20,18,24,21,16,27,33,38,18,34,24,20,67,34,35,46,22,35,43,55,32,20,31,29,43,36,30,23,23,57,38,34,34,28,34,31,22,32,25],Exod:[22,25,22,31,23,30,25,32,35,29,10,51,22,31,27,36,16,27,25,26,36,31,33,18,40,37,21,43,46,38,18,35,23,35,35,38,29,31,43,36],Lev:[17,16,17,35,19,30,38,36,24,20,47,8,59,57,33,34,16,30,37,27,24,33,44,23,55,45,34],Num:[54,34,51,49,31,27,89,26,23,36,34,15,34,45,41,50,13,32,22,30,35,41,30,25,18,65,23,31,39,17,54,42,56,29,34,13],Josh:[18,24,17,25,16,27,26,35,27,44,23,24,33,15,63,10,18,28,51,9,43,34,16,33],Judg:[36,23,31,24,32,40,25,35,57,18,40,15,25,20,20,31,13,31,30,48,24],"1Sam":[28,36,21,22,12,21,17,22,27,27,15,25,23,52,35,23,58,30,24,43,15,23,28,23,44,25,12,25,11,31,13],"1Kgs":[53,46,28,34,18,38,51,66,28,29,43,33,34,31,34,34,24,46,21,43,29,54],"1Chr":[54,55,24,43,26,81,40,40,44,14,46,40,14,17,29,43,27,17,19,7,30,19,32,31,31,32,34,21,30],Neh:[11,20,31,23,19,19,73,18,38,39,36,46,31],Job:[22,13,26,21,27,30,21,22,35,22,20,25,28,22,35,23,16,21,29,29,34,30,17,25,6,14,23,28,25,31,40,22,33,37,16,33,24,41,35,28,25,16],Ps:[6,13,9,10,13,11,18,10,39,8,9,6,7,5,10,15,51,15,10,14,32,6,10,22,12,14,9,11,13,25,11,22,23,28,13,40,23,14,18,14,12,5,26,18,12,10,15,21,23,21,11,7,9,24,13,12,12,18,14,9,13,12,11,14,20,8,36,37,6,24,20,28,23,11,13,21,72,13,20,17,8,19,13,14,17,7,19,53,17,16,16,5,23,11,13,12,9,9,5,8,29,22,35,45,48,43,14,31,7,10,10,9,26,9,10,2,29,176,7,8,9,4,8,5,6,5,6,8,8,3,18,3,3,21,26,9,8,24,14,10,8,12,15,21,10,11,9,14,9,6],Eccl:[18,26,22,17,19,11,30,17,18,20,10,14],Song:[16,17,11,16,17,12,13,14],Jer:[19,37,25,31,31,30,34,22,26,25,23,17,27,22,21,21,27,23,15,18,14,30,40,10,38,24,22,17,32,24,40,44,26,22,19,32,20,28,18,16,18,22,13,30,5,28,7,47,39,46,64,34],Ezek:[28,9,27,17,17,14,27,18,11,22,25,28,23,23,8,63,24,32,14,49,32,31,49,27,17,21,36,26,21,26,18,32,33,31,15,38,28,23,29,49,26,20,27,31,25,24,23,35],Dan:[21,49,100,34,31,28,28,27,27,21,45,13,65,42],Hos:[11,24,5,19,15,11,16,14,17,15,12,14,15,10],Amos:[15,16,15,13,27,15,17,14,14],Jonah:[16,11,10,11],Mic:[16,13,12,13,14,16,20],Hag:[14,24],Matt:[25,23,17,25,48,34,29,34,38,42,30,50,58,36,39,28,26,35,30,34,46,46,39,51,46,75,66,20],Mark:[45,28,35,40,43,56,37,39,49,52,33,44,37,72,47,20],John:[51,25,36,54,47,72,53,59,41,42,57,50,38,31,27,33,26,40,42,31,25],Acts:[26,47,26,37,42,15,59,40,43,48,30,25,52,27,41,40,34,28,40,38,40,30,35,27,27,32,44,31],"2Cor":[24,17,18,18,21,18,16,24,15,18,33,21,13],Rev:[20,29,22,11,14,17,17,13,21,11,19,18,18,20,8,21,18,24,21,15,27,21],Tob:[25,23,25,23,28,22,20,24,12,13,21,22,23,17],Jdt:[12,18,15,17,29,21,25,34,19,20,21,20,31,18,15,31],Wis:[16,25,19,20,24,27,30,21,19,21,27,27,19,31,19,29,20,25,20],Sir:[40,23,34,36,18,37,40,22,25,34,36,19,32,27,22,31,31,33,28,33,31,33,38,47,36,28,33,30,35,27,42,28,33,31,26,28,34,39,41,32,28,26,37,27,31,23,31,28,19,31,38,13],Bar:[22,35,38,37,9,72],"1Macc":[67,70,60,61,68,63,50,32,73,89,74,54,54,49,41,24],"2Macc":[36,33,40,50,27,31,42,36,29,38,38,46,26,46,40]}},ceb:{chapters:{"2Cor":[24,17,18,18,21,18,16,24,15,18,33,21,13],Rev:[20,29,22,11,14,17,17,13,21,11,19,18,18,20,8,21,18,24,21,15,27,21],Tob:[22,14,17,21,22,18,16,21,6,13,18,22,18,15],PrAzar:[67],EpJer:[72],"1Esd":[55,26,24,63,71,33,15,92,55]}},kjv:{chapters:{"3John":[14]}},nab:{order:{Gen:1,Exod:2,Lev:3,Num:4,Deut:5,Josh:6,Judg:7,Ruth:8,"1Sam":9,"2Sam":10,"1Kgs":11,"2Kgs":12,"1Chr":13,"2Chr":14,PrMan:15,Ezra:16,Neh:17,"1Esd":18,"2Esd":19,Tob:20,Jdt:21,Esth:22,GkEsth:23,"1Macc":24,"2Macc":25,"3Macc":26,"4Macc":27,Job:28,Ps:29,Prov:30,Eccl:31,Song:32,Wis:33,Sir:34,Isa:35,Jer:36,Lam:37,Bar:38,EpJer:39,Ezek:40,Dan:41,PrAzar:42,Sus:43,Bel:44,SgThree:45,Hos:46,Joel:47,Amos:48,Obad:49,Jonah:50,Mic:51,Nah:52,Hab:53,Zeph:54,Hag:55,Zech:56,Mal:57,Matt:58,Mark:59,Luke:60,John:61,Acts:62,Rom:63,"1Cor":64,"2Cor":65,Gal:66,Eph:67,Phil:68,Col:69,"1Thess":70,"2Thess":71,"1Tim":72,"2Tim":73,Titus:74,Phlm:75,Heb:76,Jas:77,"1Pet":78,"2Pet":79,"1John":80,"2John":81,"3John":82,Jude:83,Rev:84},chapters:{Gen:[31,25,24,26,32,22,24,22,29,32,32,20,18,24,21,16,27,33,38,18,34,24,20,67,34,35,46,22,35,43,54,33,20,31,29,43,36,30,23,23,57,38,34,34,28,34,31,22,33,26],Exod:[22,25,22,31,23,30,29,28,35,29,10,51,22,31,27,36,16,27,25,26,37,30,33,18,40,37,21,43,46,38,18,35,23,35,35,38,29,31,43,38],Lev:[17,16,17,35,26,23,38,36,24,20,47,8,59,57,33,34,16,30,37,27,24,33,44,23,55,46,34],Num:[54,34,51,49,31,27,89,26,23,36,35,16,33,45,41,35,28,32,22,29,35,41,30,25,19,65,23,31,39,17,54,42,56,29,34,13],Deut:[46,37,29,49,33,25,26,20,29,22,32,31,19,29,23,22,20,22,21,20,23,29,26,22,19,19,26,69,28,20,30,52,29,12],"1Sam":[28,36,21,22,12,21,17,22,27,27,15,25,23,52,35,23,58,30,24,42,16,23,28,23,44,25,12,25,11,31,13],"2Sam":[27,32,39,12,25,23,29,18,13,19,27,31,39,33,37,23,29,32,44,26,22,51,39,25],"1Kgs":[53,46,28,20,32,38,51,66,28,29,43,33,34,31,34,34,24,46,21,43,29,54],"2Kgs":[18,25,27,44,27,33,20,29,37,36,20,22,25,29,38,20,41,37,37,21,26,20,37,20,30],"1Chr":[54,55,24,43,41,66,40,40,44,14,47,41,14,17,29,43,27,17,19,8,30,19,32,31,31,32,34,21,30],"2Chr":[18,17,17,22,14,42,22,18,31,19,23,16,23,14,19,14,19,34,11,37,20,12,21,27,28,23,9,27,36,27,21,33,25,33,27,23],Neh:[11,20,38,17,19,19,72,18,37,40,36,47,31],Job:[22,13,26,21,27,30,21,22,35,22,20,25,28,22,35,22,16,21,29,29,34,30,17,25,6,14,23,28,25,31,40,22,33,37,16,33,24,41,30,32,26,17],Ps:[6,11,9,9,13,11,18,10,21,18,7,9,6,7,5,11,15,51,15,10,14,32,6,10,22,12,14,9,11,13,25,11,22,23,28,13,40,23,14,18,14,12,5,27,18,12,10,15,21,23,21,11,7,9,24,14,12,12,18,14,9,13,12,11,14,20,8,36,37,6,24,20,28,23,11,13,21,72,13,20,17,8,19,13,14,17,7,19,53,17,16,16,5,23,11,13,12,9,9,5,8,29,22,35,45,48,43,14,31,7,10,10,9,8,18,19,2,29,176,7,8,9,4,8,5,6,5,6,8,8,3,18,3,3,21,26,9,8,24,14,10,8,12,15,21,10,20,14,9,6],Eccl:[18,26,22,17,19,12,29,17,18,20,10,14],Song:[17,17,11,16,16,12,14,14],Isa:[31,22,26,6,30,13,25,23,20,34,16,6,22,32,9,14,14,7,25,6,17,25,18,23,12,21,13,29,24,33,9,20,24,17,10,22,38,22,8,31,29,25,28,28,25,13,15,22,26,11,23,15,12,17,13,12,21,14,21,22,11,12,19,11,25,24],Jer:[19,37,25,31,31,30,34,23,25,25,23,17,27,22,21,21,27,23,15,18,14,30,40,10,38,24,22,17,32,24,40,44,26,22,19,32,21,28,18,16,18,22,13,30,5,28,7,47,39,46,64,34],Ezek:[28,10,27,17,17,14,27,18,11,22,25,28,23,23,8,63,24,32,14,44,37,31,49,27,17,21,36,26,21,26,18,32,33,31,15,38,28,23,29,49,26,20,27,31,25,24,23,35],Dan:[21,49,100,34,30,29,28,27,27,21,45,13,64,42],Hos:[9,25,5,19,15,11,16,14,17,15,11,15,15,10],Joel:[20,27,5,21],Jonah:[16,11,10,11],Mic:[16,13,12,14,14,16,20],Nah:[14,14,19],Zech:[17,17,10,14,11,15,14,23,17,12,17,14,9,21],Mal:[14,17,24],Acts:[26,47,26,37,42,15,60,40,43,49,30,25,52,28,41,40,34,28,40,38,40,30,35,27,27,32,44,31],"2Cor":[24,17,18,18,21,18,16,24,15,18,33,21,13],Rev:[20,29,22,11,14,17,17,13,21,11,19,18,18,20,8,21,18,24,21,15,27,21],Tob:[22,14,17,21,22,18,17,21,6,13,18,22,18,15],Sir:[30,18,31,31,15,37,36,19,18,31,34,18,26,27,20,30,32,33,30,31,28,27,27,33,26,29,30,26,28,25,31,24,33,31,26,31,31,34,35,30,22,25,33,23,26,20,25,25,16,29,30],Bar:[22,35,38,37,9,72],"2Macc":[36,32,40,50,27,31,42,36,29,38,38,46,26,46,39]}},nlt:{chapters:{Rev:[20,29,22,11,14,17,17,13,21,11,19,18,18,20,8,21,18,24,21,15,27,21]}},nrsv:{chapters:{"2Cor":[24,17,18,18,21,18,16,24,15,18,33,21,13],Rev:[20,29,22,11,14,17,17,13,21,11,19,18,18,20,8,21,18,24,21,15,27,21]}}},e.prototype.languages=["de"],e.prototype.regexps.space="[\\s\\xa0]",e.prototype.regexps.escaped_passage=RegExp(`(?:^|[^\\x1f\\x1e\\dA-Za-zªµºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ])((?:(?:ch(?:apters?|a?pts?\\.?|a?p?s?\\.?)?\\s*\\d+\\s*(?:[\\u2013\\u2014\\-]|through|thru|to)\\s*\\d+\\s*(?:from|of|in)(?:\\s+the\\s+book\\s+of)?\\s*)|(?:ch(?:apters?|a?pts?\\.?|a?p?s?\\.?)?\\s*\\d+\\s*(?:from|of|in)(?:\\s+the\\s+book\\s+of)?\\s*)|(?:\\d+(?:th|nd|st)\\s*ch(?:apter|a?pt\\.?|a?p?\\.?)?\\s*(?:from|of|in)(?:\\s+the\\s+book\\s+of)?\\s*))?\\x1f(\\d+)(?:/\\d+)?\\x1f(?:/\\d+\\x1f|[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014]|Titel(?![a-z])|und${e.prototype.regexps.space}+siehe${e.prototype.regexps.space}+auch|sowie${e.prototype.regexps.space}+auch|siehe${e.prototype.regexps.space}+auch|und${e.prototype.regexps.space}+siehe|und${e.prototype.regexps.space}+auch|ff(?![a-z0-9äaöoüu])|f(?![a-z0-9äaöoüu])|Kapiteln|Kapiteln|Kapitel|Versen|Verses|siehe|sowie|Verse|Vers|Vers|Kap|bis|und|vgl|Vs|u|&|[a-e](?!\\w)|$)+)`,"gi"),e.prototype.regexps.match_end_split=/\d\W*Titel|\d\W*f(?![a-z0-9äaöoüu])(?:[\s\xa0*]*\.)?|\d\W*ff(?![a-z0-9äaöoüu])(?:[\s\xa0*]*\.)?|\d[\s\xa0*]*[a-e](?!\w)|\x1e(?:[\s\xa0*]*[)\]\uff09])?|[\d\x1f]/gi,e.prototype.regexps.control=/[\x1e\x1f]/g,e.prototype.regexps.pre_book="[^A-Za-zªµºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ]",e.prototype.regexps.first=`(?:Erste[nrs]?|1)\\.?${e.prototype.regexps.space}*`,e.prototype.regexps.second=`(?:Zweite[nrs]?|2)\\.?${e.prototype.regexps.space}*`,e.prototype.regexps.third=`(?:Dritte[nrs]?|3)\\.?${e.prototype.regexps.space}*`,e.prototype.regexps.range_and=`(?:[&–—-]|(?:und${e.prototype.regexps.space}+siehe${e.prototype.regexps.space}+auch|und${e.prototype.regexps.space}+siehe|und${e.prototype.regexps.space}+auch|sowie${e.prototype.regexps.space}+auch|siehe${e.prototype.regexps.space}+auch|siehe|sowie|und|u|&|vgl)|bis)`,e.prototype.regexps.range_only="(?:[–—-]|bis)",e.prototype.regexps.get_books=function(s,t){var a,r,n,i,o;if(r=[{osis:["Ps"],apocrypha:!0,extra:"2",regexp:/(\b)(Ps151)(?=\.1)/g},{osis:["Gen"],regexp:/(^|[^0-9A-Za-zªµºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ])((?:Erste(?:[nrs][\s\xa0]*(?:Buch[\s\xa0]*)?|[\s\xa0]*(?:Buch[\s\xa0]*)?)Mose|1\.?[\s\xa0]*Buch[\s\xa0]*Mose|G(?:enesis|n)|1\.?[\s\xa0]*Mose|1(?:\.[\s\xa0]*Mos?|[\s\xa0]*Mos?)|Gen))(?:(?=[\d\s\xa0.:,;\x1e\x1f&\(\)\uff08\uff09\[\]\/"'\*=~\-\u2013\u2014])|$)/gi},{osis:["Exod"],regexp:/(^|[^0-9A-Za-zªµºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ])((?:Zweite(?:[nrs][\s\xa0]*(?:Buch[\s\xa0]*)?|[\s\xa0]*(?:Buch[\s\xa0]*)?)Mose|2\.?[\s\xa0]*Buch[\s\xa0]*Mose|2\.?[\s\xa0]*Mose|2(?:\.[\s\xa0]*Mos?|[\s\xa0]*Mos?)|Exodus|Ex(?:od)?))(?:(?=[\d\s\xa0.:,;\x1e\x1f&\(\)\uff08\uff09\[\]\/"'\*=~\-\u2013\u2014])|$)/gi},{osis:["Bel"],apocrypha:!0,regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:Bel(?:[\\s\\xa0]*und[\\s\\xa0]*(?:Vom[\\s\\xa0]*Drachen|der?[\\s\\xa0]*Drache))?))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["Lev"],regexp:/(^|[^0-9A-Za-zªµºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ])((?:Dritte(?:[nrs][\s\xa0]*(?:Buch[\s\xa0]*)?|[\s\xa0]*(?:Buch[\s\xa0]*)?)Mose|3\.?[\s\xa0]*Buch[\s\xa0]*Mose|L(?:evitikus|v)|3\.?[\s\xa0]*Mose|3(?:\.[\s\xa0]*Mos?|[\s\xa0]*Mos?)|Lev))(?:(?=[\d\s\xa0.:,;\x1e\x1f&\(\)\uff08\uff09\[\]\/"'\*=~\-\u2013\u2014])|$)/gi},{osis:["Num"],regexp:/(^|[^0-9A-Za-zªµºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ])((?:Vierte(?:[ns][\s\xa0]*(?:Buch[\s\xa0]*)?|[\s\xa0]*(?:Buch[\s\xa0]*)?)Mose|4\.?[\s\xa0]*Buch[\s\xa0]*Mose|4\.?[\s\xa0]*Mose|4(?:\.[\s\xa0]*Mos?|[\s\xa0]*Mos?)|N(?:umeri|m)|Num))(?:(?=[\d\s\xa0.:,;\x1e\x1f&\(\)\uff08\uff09\[\]\/"'\*=~\-\u2013\u2014])|$)/gi},{osis:["Sir"],apocrypha:!0,regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:Ecclesiasticus|Jesus[\\s\\xa0]*Sirach|Sir))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["Wis"],apocrypha:!0,regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:W(?:eish(?:eit(?:[\\s\\xa0]*Salomos)?)?|is)))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["Lam"],regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:Kl(?:ag(?:elieder(?:[\\s\\xa0]*Jeremias)?)?|gl)|Lam))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["EpJer"],apocrypha:!0,regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:Br(?:ief[\\s\\xa0]*des[\\s\\xa0]*Jeremia|[\\s\\xa0]*Jer)|EpJer))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["Rev"],regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:Off(?:enbarung|b)|Rev))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["PrMan"],apocrypha:!0,regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:Das[\\s\\xa0]*Gebet[\\s\\xa0]*(?:des[\\s\\xa0]*Manasse|Manasses)|Gebet[\\s\\xa0]*des[\\s\\xa0]*Manasse|Geb(?:et[\\s\\xa0]*Manasses|[\\s\\xa0]*Man)|Gebet[\\s\\xa0]*Manasse|(?:Or[\\s\\xa0]*|Pr)Man))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["Deut"],regexp:/(^|[^0-9A-Za-zªµºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ])((?:F[u\xFC]nftes[\s\xa0]*(?:Buch[\s\xa0]*)?Mose|D(?:euteronomium|tn)|5\.?[\s\xa0]*Buch[\s\xa0]*Mose|5\.?[\s\xa0]*Mose|5(?:\.[\s\xa0]*Mos?|[\s\xa0]*Mos?)|D(?:eu)?t))(?:(?=[\d\s\xa0.:,;\x1e\x1f&\(\)\uff08\uff09\[\]\/"'\*=~\-\u2013\u2014])|$)/gi},{osis:["Josh"],regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:Jos(?:ua|h)?))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["Judg"],regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:Ri(?:ch(?:ter)?)?|Judg))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["Ruth"],regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:Ru(?:th?)?))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["1Esd"],apocrypha:!0,regexp:/(^|[^0-9A-Za-zªµºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ])((?:1Esd)|(?:Erste(?:[nrs][\s\xa0]*Esd?|[\s\xa0]*Esd?)ra|1(?:(?:\.[\s\xa0]*Esd?|[\s\xa0]*Esd?)ra|\.[\s\xa0]*Es(?:dr|r)?|[\s\xa0]*Es(?:dr|r)?)))(?:(?=[\d\s\xa0.:,;\x1e\x1f&\(\)\uff08\uff09\[\]\/"'\*=~\-\u2013\u2014])|$)/gi},{osis:["2Esd"],apocrypha:!0,regexp:/(^|[^0-9A-Za-zªµºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ])((?:2Esd)|(?:Zweite(?:[nrs][\s\xa0]*Esd?|[\s\xa0]*Esd?)ra|2(?:(?:\.[\s\xa0]*Esd?|[\s\xa0]*Esd?)ra|\.[\s\xa0]*Es(?:dr|r)?|[\s\xa0]*Es(?:dr|r)?)))(?:(?=[\d\s\xa0.:,;\x1e\x1f&\(\)\uff08\uff09\[\]\/"'\*=~\-\u2013\u2014])|$)/gi},{osis:["Isa"],regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:Jes(?:aja)?|Isa(?:ias)?))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["2Sam"],regexp:/(^|[^0-9A-Za-zªµºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ])((?:Zweite[nrs]?[\s\xa0]*Samuel|2(?:\.?[\s\xa0]*Samuel|\.[\s\xa0]*Sam?|[\s\xa0]*Sam?|Sam)))(?:(?=[\d\s\xa0.:,;\x1e\x1f&\(\)\uff08\uff09\[\]\/"'\*=~\-\u2013\u2014])|$)/gi},{osis:["1Sam"],regexp:/(^|[^0-9A-Za-zªµºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ])((?:Erste[nrs]?[\s\xa0]*Samuel|1(?:\.?[\s\xa0]*Samuel|\.[\s\xa0]*Sam?|[\s\xa0]*Sam?|Sam)))(?:(?=[\d\s\xa0.:,;\x1e\x1f&\(\)\uff08\uff09\[\]\/"'\*=~\-\u2013\u2014])|$)/gi},{osis:["2Kgs"],regexp:/(^|[^0-9A-Za-zªµºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ])((?:Zweite(?:[nrs][\s\xa0]*K(?:oe?|\xF6)|[\s\xa0]*K(?:oe?|\xF6))nige|2(?:(?:\.[\s\xa0]*K(?:oe?|\xF6)|[\s\xa0]*K(?:oe?|\xF6))nige|\.[\s\xa0]*K(?:o(?:en?|n)?|\xF6n?)|[\s\xa0]*K(?:o(?:en?|n)?|\xF6n?)|\.[\s\xa0]*Kng|[\s\xa0]*Kng|Kgs)))(?:(?=[\d\s\xa0.:,;\x1e\x1f&\(\)\uff08\uff09\[\]\/"'\*=~\-\u2013\u2014])|$)/gi},{osis:["1Kgs"],regexp:/(^|[^0-9A-Za-zªµºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ])((?:Erste(?:[nrs][\s\xa0]*K(?:oe?|\xF6)|[\s\xa0]*K(?:oe?|\xF6))nige|1(?:(?:\.[\s\xa0]*K(?:oe?|\xF6)|[\s\xa0]*K(?:oe?|\xF6))nige|\.[\s\xa0]*K(?:o(?:en?|n)?|\xF6n?)|[\s\xa0]*K(?:o(?:en?|n)?|\xF6n?)|\.[\s\xa0]*Kng|[\s\xa0]*Kng|Kgs)))(?:(?=[\d\s\xa0.:,;\x1e\x1f&\(\)\uff08\uff09\[\]\/"'\*=~\-\u2013\u2014])|$)/gi},{osis:["2Chr"],regexp:/(^|[^0-9A-Za-zªµºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ])((?:Zweite[nrs]?[\s\xa0]*Chronik|2(?:\.?[\s\xa0]*Chronik|\.[\s\xa0]*Chr(?:on)?|[\s\xa0]*Chr(?:on)?|Chr)))(?:(?=[\d\s\xa0.:,;\x1e\x1f&\(\)\uff08\uff09\[\]\/"'\*=~\-\u2013\u2014])|$)/gi},{osis:["1Chr"],regexp:/(^|[^0-9A-Za-zªµºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ])((?:Erste[nrs]?[\s\xa0]*Chronik|1(?:\.?[\s\xa0]*Chronik|\.[\s\xa0]*Chr(?:on)?|[\s\xa0]*Chr(?:on)?|Chr)))(?:(?=[\d\s\xa0.:,;\x1e\x1f&\(\)\uff08\uff09\[\]\/"'\*=~\-\u2013\u2014])|$)/gi},{osis:["Ezra"],regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:E(?:zra|sra?)))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["Neh"],regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:Neh(?:emia)?))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["GkEsth"],apocrypha:!0,regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:Ester[\\s\\xa0]*\\(Griechisch\\)|G(?:r[\\s\\xa0]*Est|kEsth)))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["Esth"],regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:Est(?:h(?:er)?|er)?))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["Job"],regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:(?:Ij|J)ob|Hi(?:ob)?))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["Ps"],regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:Ps(?:alm(?:en)?|lm)?))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["PrAzar"],apocrypha:!0,regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:Das[\\s\\xa0]*Gebet[\\s\\xa0]*(?:des[\\s\\xa0]*Asarja|Asarjas)|Gebet[\\s\\xa0]*(?:des[\\s\\xa0]*Asarja|Asarjas)|PrAzar|Geb[\\s\\xa0]*As))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["Prov"],regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:Spr(?:ichw(?:oe?|\\xF6)rter|(?:ue?|\\xFC)che)?|Prov))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["Eccl"],regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:E(?:kklesiastes|ccl(?:esiastes)?)|Prediger|Kohelet|Pred|Koh))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["SgThree"],apocrypha:!0,regexp:/(^|[^0-9A-Za-zªµºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ])((?:Gesang[\s\xa0]*der[\s\xa0]*(?:drei(?:[\s\xa0]*(?:M(?:a(?:enner(?:[\s\xa0]*im[\s\xa0]*Feuerofen)?|nner(?:[\s\xa0]*im[\s\xa0]*Feuerofen)?)|\xE4nner(?:[\s\xa0]*im[\s\xa0]*Feuerofen)?)|im[\s\xa0]*Feuerofen))?|Drei)|SgThree|L3J))(?:(?=[\d\s\xa0.:,;\x1e\x1f&\(\)\uff08\uff09\[\]\/"'\*=~\-\u2013\u2014])|$)/gi},{osis:["Song"],regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:H(?:ohe(?:s(?:lied(?:[\\s\\xa0]*Salomo(?:ni)?s)?|[\\s\\xa0]*Lied)|lied(?:[\\s\\xa0]*Salomo(?:ni)?s)?)|ld)|Song))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["Jer"],regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:Jer(?:emias?)?))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["Ezek"],regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:Hes(?:ekiel|ek)?|Ez(?:e(?:chiel|k))?))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["Dan"],regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:Dan(?:iel)?))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["Hos"],regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:Hos(?:ea)?))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["Joel"],regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:Joel))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["Amos"],regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:Am(?:os)?))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["Obad"],regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:Ob(?:adja|ad|d)|Abdias))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["Jonah"],regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:Jona[hs]?))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["Mic"],regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:Mi(?:c(?:h(?:a(?:eas|as)?|\\xE4as)?)?)?))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["Nah"],regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:Nah(?:um)?))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["Hab"],regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:Hab(?:akuk)?))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["Zeph"],regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:Ze(?:ph(?:anja)?|f(?:anja)?)))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["Hag"],regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:Hag(?:g(?:ai)?)?))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["Zech"],regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:Z(?:acharias|ech)|Sach(?:arja)?))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["Mal"],regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:Mal(?:achias|eachi)?))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["Matt"],regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:Das[\\s\\xa0]*Evangelium[\\s\\xa0]*nach[\\s\\xa0]*Matth(?:ae?|\\xE4)us|[\\s\\xa0]*Evangelium[\\s\\xa0]*nach[\\s\\xa0]*Matth(?:ae?|\\xE4)us|M(?:atth(?:ae?|\\xE4)usevangelium|att(?:h(?:ae?|\\xE4)us)?|t)))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["Mark"],regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:Das[\\s\\xa0]*Evangelium[\\s\\xa0]*nach[\\s\\xa0]*Markus|[\\s\\xa0]*Evangelium[\\s\\xa0]*nach[\\s\\xa0]*Markus|M(?:arkusevangelium|ark(?:us)?|k)))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["Luke"],regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:Das[\\s\\xa0]*Evangelium[\\s\\xa0]*nach[\\s\\xa0]*Lukas|[\\s\\xa0]*Evangelium[\\s\\xa0]*nach[\\s\\xa0]*Lukas|L(?:uk(?:asevangelium|e)|uk(?:as)?|k)))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["1John"],regexp:/(^|[^0-9A-Za-zªµºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ])((?:1John)|(?:Erste[nrs]?[\s\xa0]*Johannes|1(?:\.?[\s\xa0]*Johannes|\.[\s\xa0]*Joh?|[\s\xa0]*Joh?)))(?:(?=[\d\s\xa0.:,;\x1e\x1f&\(\)\uff08\uff09\[\]\/"'\*=~\-\u2013\u2014])|$)/gi},{osis:["2John"],regexp:/(^|[^0-9A-Za-zªµºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ])((?:2John)|(?:Zweite[nrs]?[\s\xa0]*Johannes|2(?:\.?[\s\xa0]*Johannes|\.[\s\xa0]*Joh?|[\s\xa0]*Joh?)))(?:(?=[\d\s\xa0.:,;\x1e\x1f&\(\)\uff08\uff09\[\]\/"'\*=~\-\u2013\u2014])|$)/gi},{osis:["3John"],regexp:/(^|[^0-9A-Za-zªµºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ])((?:3John)|(?:Dritte[nrs]?[\s\xa0]*Johannes|3(?:\.?[\s\xa0]*Johannes|\.[\s\xa0]*Joh?|[\s\xa0]*Joh?)))(?:(?=[\d\s\xa0.:,;\x1e\x1f&\(\)\uff08\uff09\[\]\/"'\*=~\-\u2013\u2014])|$)/gi},{osis:["John"],regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:Das[\\s\\xa0]*Evangelium[\\s\\xa0]*nach[\\s\\xa0]*Johannes|[\\s\\xa0]*Evangelium[\\s\\xa0]*nach[\\s\\xa0]*Johannes|Joh(?:annesevangelium|annes|n)?))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["Acts"],regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:A(?:p(?:ostelgeschichte|g)|cts)))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["Rom"],regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:R(?:o(?:em(?:er)?|m(?:er)?)|\\xF6m(?:er)?|m)))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["2Cor"],regexp:/(^|[^0-9A-Za-zªµºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ])((?:(?:Zweite[nrs]?[\s\xa0]*Korinthe|2(?:\.?[\s\xa0]*Korinthe|(?:\.?[\s\xa0]*K|C)o))r))(?:(?=[\d\s\xa0.:,;\x1e\x1f&\(\)\uff08\uff09\[\]\/"'\*=~\-\u2013\u2014])|$)/gi},{osis:["1Cor"],regexp:/(^|[^0-9A-Za-zªµºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ])((?:(?:Erste[nrs]?[\s\xa0]*Korinthe|1(?:\.?[\s\xa0]*Korinthe|(?:\.?[\s\xa0]*K|C)o))r))(?:(?=[\d\s\xa0.:,;\x1e\x1f&\(\)\uff08\uff09\[\]\/"'\*=~\-\u2013\u2014])|$)/gi},{osis:["Gal"],regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:Gal(?:ater)?))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["Eph"],regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:Eph(?:eser)?))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["Phil"],regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:Phil(?:ipper)?))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["Col"],regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:Kol(?:osser)?|Col))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["2Thess"],regexp:/(^|[^0-9A-Za-zªµºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ])((?:Zweite[nrs]?[\s\xa0]*Thessalonicher|2(?:\.?[\s\xa0]*Thessalonicher|\.[\s\xa0]*Th(?:ess)?|[\s\xa0]*Th(?:ess)?|Thess)))(?:(?=[\d\s\xa0.:,;\x1e\x1f&\(\)\uff08\uff09\[\]\/"'\*=~\-\u2013\u2014])|$)/gi},{osis:["1Thess"],regexp:/(^|[^0-9A-Za-zªµºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ])((?:Erste[nrs]?[\s\xa0]*Thessalonicher|1(?:\.?[\s\xa0]*Thessalonicher|\.[\s\xa0]*Th(?:ess)?|[\s\xa0]*Th(?:ess)?|Thess)))(?:(?=[\d\s\xa0.:,;\x1e\x1f&\(\)\uff08\uff09\[\]\/"'\*=~\-\u2013\u2014])|$)/gi},{osis:["2Tim"],regexp:/(^|[^0-9A-Za-zªµºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ])((?:Zweite[nrs]?[\s\xa0]*Timotheus|2(?:\.?[\s\xa0]*Timotheus|(?:\.?[\s\xa0]*)?Tim)))(?:(?=[\d\s\xa0.:,;\x1e\x1f&\(\)\uff08\uff09\[\]\/"'\*=~\-\u2013\u2014])|$)/gi},{osis:["1Tim"],regexp:/(^|[^0-9A-Za-zªµºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ])((?:Erste[nrs]?[\s\xa0]*Timotheus|1(?:\.?[\s\xa0]*Timotheus|(?:\.?[\s\xa0]*)?Tim)))(?:(?=[\d\s\xa0.:,;\x1e\x1f&\(\)\uff08\uff09\[\]\/"'\*=~\-\u2013\u2014])|$)/gi},{osis:["Titus"],regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:Tit(?:us)?))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["Phlm"],regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:Ph(?:ilemon|l?m)))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["Heb"],regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:H(?:eb(?:r(?:aee?r|\\xE4er)?)?|b)))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["Jas"],regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:J(?:a(?:k(?:obus(?:brief)?)?|s)|k)))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["2Pet"],regexp:/(^|[^0-9A-Za-zªµºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ])((?:Zweite[nrs]?[\s\xa0]*Petrus|2(?:\.?[\s\xa0]*Petrus|\.[\s\xa0]*Petr?|[\s\xa0]*Petr?|(?:\.[\s\xa0]*P|Pe|[\s\xa0]*P)t)))(?:(?=[\d\s\xa0.:,;\x1e\x1f&\(\)\uff08\uff09\[\]\/"'\*=~\-\u2013\u2014])|$)/gi},{osis:["1Pet"],regexp:/(^|[^0-9A-Za-zªµºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ])((?:Erste[nrs]?[\s\xa0]*Petrus|1(?:\.?[\s\xa0]*Petrus|\.[\s\xa0]*Petr?|[\s\xa0]*Petr?|(?:\.[\s\xa0]*P|Pe|[\s\xa0]*P)t)))(?:(?=[\d\s\xa0.:,;\x1e\x1f&\(\)\uff08\uff09\[\]\/"'\*=~\-\u2013\u2014])|$)/gi},{osis:["Jude"],regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:Jud(?:as|e)?))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["Tob"],apocrypha:!0,regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:Tob(?:i(?:as|t))?))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["Jdt"],apocrypha:!0,regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:J(?:udi|d)t))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["Bar"],apocrypha:!0,regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:Bar(?:uch)?))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["Sus"],apocrypha:!0,regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:Sus(?:anna)?))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["2Macc"],apocrypha:!0,regexp:/(^|[^0-9A-Za-zªµºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ])((?:Zweite(?:[nrs][\s\xa0]*Makkab(?:aee?|\xE4e)|[\s\xa0]*Makkab(?:aee?|\xE4e))r|2(?:\.?[\s\xa0]*Makkab(?:aee?|\xE4e)r|\.?[\s\xa0]*Makk|Macc)))(?:(?=[\d\s\xa0.:,;\x1e\x1f&\(\)\uff08\uff09\[\]\/"'\*=~\-\u2013\u2014])|$)/gi},{osis:["3Macc"],apocrypha:!0,regexp:/(^|[^0-9A-Za-zªµºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ])((?:Dritte(?:[nrs][\s\xa0]*Makkab(?:aee?|\xE4e)|[\s\xa0]*Makkab(?:aee?|\xE4e))r|3(?:\.?[\s\xa0]*Makkab(?:aee?|\xE4e)r|\.?[\s\xa0]*Makk|Macc)))(?:(?=[\d\s\xa0.:,;\x1e\x1f&\(\)\uff08\uff09\[\]\/"'\*=~\-\u2013\u2014])|$)/gi},{osis:["4Macc"],apocrypha:!0,regexp:/(^|[^0-9A-Za-zªµºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ])((?:Vierte(?:[ns][\s\xa0]*Makkab(?:aee?|\xE4e)|[\s\xa0]*Makkab(?:aee?|\xE4e))r|4(?:\.?[\s\xa0]*Makkab(?:aee?|\xE4e)r|\.?[\s\xa0]*Makk|Macc)))(?:(?=[\d\s\xa0.:,;\x1e\x1f&\(\)\uff08\uff09\[\]\/"'\*=~\-\u2013\u2014])|$)/gi},{osis:["1Macc"],apocrypha:!0,regexp:/(^|[^0-9A-Za-zªµºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ])((?:Erste(?:[nrs][\s\xa0]*Makkab(?:aee?|\xE4e)|[\s\xa0]*Makkab(?:aee?|\xE4e))r|1(?:\.?[\s\xa0]*Makkab(?:aee?|\xE4e)r|\.?[\s\xa0]*Makk|Macc)))(?:(?=[\d\s\xa0.:,;\x1e\x1f&\(\)\uff08\uff09\[\]\/"'\*=~\-\u2013\u2014])|$)/gi}],!0===s&&"none"===t)return r;for(o=[],n=0,i=r.length;n<i;n++)a=r[n],!1===s&&null!=a.apocrypha&&!0===a.apocrypha||("books"===t&&(a.regexp=new RegExp(a.regexp.source,"g")),o.push(a));return o},e.prototype.regexps.books=e.prototype.regexps.get_books(!1,"none"),function(){"use strict";function e(s,t,a,r){var n=Error.call(this,s);return Object.setPrototypeOf&&Object.setPrototypeOf(n,e.prototype),n.expected=t,n.found=a,n.location=r,n.name="SyntaxError",n}function s(e,s,t){return t=t||" ",e.length>s?e:(s-=e.length,e+(t+=t.repeat(s)).slice(0,s))}!function(e,s){function t(){this.constructor=e}t.prototype=s.prototype,e.prototype=new t}(e,Error),e.prototype.format=function(e){var t="Error: "+this.message;if(this.location){var a,r=null;for(a=0;a<e.length;a++)if(e[a].source===this.location.source){r=e[a].text.split(/\r\n|\n|\r/g);break}var n=this.location.start,i=this.location.source&&"function"==typeof this.location.source.offset?this.location.source.offset(n):n,o=this.location.source+":"+i.line+":"+i.column;if(r){var l=this.location.end,u=s("",i.line.toString().length," "),c=r[n.line-1],p=(n.line===l.line?l.column:c.length+1)-n.column||1;t+="\n --\x3e "+o+"\n"+u+" |\n"+i.line+" | "+c+"\n"+u+" | "+s("",n.column-1," ")+s("",p,"^")}else t+="\n at "+o}return t},e.buildMessage=function(e,s){var t={literal:function(e){return'"'+r(e.text)+'"'},class:function(e){var s=e.parts.map((function(e){return Array.isArray(e)?n(e[0])+"-"+n(e[1]):n(e)}));return"["+(e.inverted?"^":"")+s.join("")+"]"},any:function(){return"any character"},end:function(){return"end of input"},other:function(e){return e.description}};function a(e){return e.charCodeAt(0).toString(16).toUpperCase()}function r(e){return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,(function(e){return"\\x0"+a(e)})).replace(/[\x10-\x1F\x7F-\x9F]/g,(function(e){return"\\x"+a(e)}))}function n(e){return e.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,(function(e){return"\\x0"+a(e)})).replace(/[\x10-\x1F\x7F-\x9F]/g,(function(e){return"\\x"+a(e)}))}function i(e){return t[e.type](e)}return"Expected "+function(e){var s,t,a=e.map(i);if(a.sort(),a.length>0){for(s=1,t=1;s<a.length;s++)a[s-1]!==a[s]&&(a[t]=a[s],t++);a.length=t}switch(a.length){case 1:return a[0];case 2:return a[0]+" or "+a[1];default:return a.slice(0,-1).join(", ")+", or "+a[a.length-1]}}(e)+" but "+function(e){return e?'"'+r(e)+'"':"end of input"}(s)+" found."},a={StartRules:["start"],SyntaxError:e,parse:function(s,t){var a,r={},n=(t=void 0!==t?t:{}).grammarSource,i={start:nt},o=nt,l="(",u=")",c="f",p="",h="/",g=",",x=".",_="-",d="th",f="nd",v="st",b="/1",y="ff",k="/9",m="/2",E=".1",$="kap",A="iteln",M="itel",J="v",C="ersen",P="erses",z="erse",R="ers",w="s",S="und",Z="siehe",T="auch",K="sowie",F="u",N="&",j="vgl",q="bis",B="titel",H="from",D="of",G="in",L="the",O="book",I="",W=/^[a-z0-9\xE4a\xF6o\xFCu]/i,V=/^[1-8]/,U=/^[a-z]/,Q=/^[0-9]/,X=/^[a-e]/,Y=/^["']/,ee=/^[,;\/:&\-\u2013\u2014~]/,se=/^[\-\u2013\u2014]/,te=/^[([]/,ae=/^[)\]]/,re=/^[^\x1F\x1E([]/,ne=Ys("(",!1),ie=Ys(")",!1),oe=Ys("f",!1),le=et([["a","z"],["0","9"],"ä","a","ö","o","ü","u"],!1,!0),ue=Ys("",!1),ce=Ys("/",!1),pe=et([["1","8"]],!1,!1),he=Ys(",",!1),ge=Ys(".",!1),xe=Ys("-",!1),_e=Ys("th",!1),de=Ys("nd",!1),fe=Ys("st",!1),ve=Ys("/1",!1),be=Ys("ff",!1),ye=et([["a","z"]],!1,!1),ke=Ys("/9",!1),me=Ys("/2",!1),Ee=Ys(".1",!1),$e=et([["0","9"]],!1,!1),Ae=et([["a","e"]],!1,!1),Me=Ys("kap",!1),Je=Ys("iteln",!1),Ce=Ys("itel",!1),Pe=Ys("v",!1),ze=Ys("ersen",!1),Re=Ys("erses",!1),we=Ys("erse",!1),Se=Ys("ers",!1),Ze=Ys("s",!1),Te=Ys(":",!1),Ke=et(['"',"'"],!1,!1),Fe=et([",",";","/",":","&","-","–","—","~"],!1,!1),Ne=Ys("und",!1),je=Ys("siehe",!1),qe=Ys("auch",!1),Be=Ys("sowie",!1),He=Ys("u",!1),De=Ys("&",!1),Ge=Ys("vgl",!1),Le=et(["-","–","—"],!1,!1),Oe=Ys("bis",!1),Ie=Ys("titel",!1),We=Ys("from",!1),Ve=Ys("of",!1),Ue=Ys("in",!1),Qe=Ys("the",!1),Xe=Ys("book",!1),Ye=et(["(","["],!1,!1),es=et([")","]"],!1,!1),ss=Ys("",!1),ts=(Ys(",000",!1),et(["","","(","["],!0,!1)),as=(et([" ","\t","\r","\n"," ","*"],!1,!1),function(e,s){return s.unshift([e]),{type:"sequence",value:s,indices:[Ws,Is-1]}}),rs=function(e,s){return void 0===s&&(s=[]),s.unshift([e]),{type:"sequence_post_enclosed",value:s,indices:[Ws,Is-1]}},ns=function(e,s){return e.length&&2===e.length&&(e=e[0]),{type:"range",value:[e,s],indices:[Ws,Is-1]}},is=function(e,s){return{type:"cv_range",value:[e,s],indices:[Ws,Is-1]}},os=function(e,s){return{type:"bc_cv_range",value:[e,s],indices:[Ws,Is-1]}},ls=function(e){return{type:"b",value:e.value,indices:[Ws,Is-1]}},us=function(e,s){return{type:"bc",value:[e,s],indices:[Ws,Is-1]}},cs=function(e,s){return{type:"bc",value:[e,s],indices:[Ws,Is-1]}},ps=function(e,s){return{type:"bc_title",value:[e,s],indices:[Ws,Is-1]}},hs=function(e,s){return{type:"bcv",value:[e,s],indices:[Ws,Is-1]}},gs=function(e,s){return{type:"bcv",value:[e,s],indices:[Ws,Is-1]}},xs=function(e,s){return{type:"bcv",value:[e,s],indices:[Ws,Is-1]}},_s=function(e,s,t,a){return{type:"range",value:[{type:"bcv",value:[{type:"bc",value:[e,s],indices:[e.indices[0],s.indices[1]]},t],indices:[e.indices[0],t.indices[1]]},a],indices:[Ws,Is-1]}},ds=function(e,s){return{type:"bv",value:[e,s],indices:[Ws,Is-1]}},fs=function(e,s){return{type:"bc",value:[s,e],indices:[Ws,Is-1]}},vs=function(e,s,t){return{type:"cb_range",value:[t,e,s],indices:[Ws,Is-1]}},bs=function(e,s){return{type:"bcv",value:[e,s],indices:[Ws,Is-1]}},ys=function(e,s){return{type:"bc",value:[s,e],indices:[Ws,Is-1]}},ks=function(e,s){return{type:"bcv",value:[e,s],indices:[Ws,Is-1]}},ms=function(e){return{type:"c_psalm",value:e.value,indices:[Ws,Is-1]}},Es=function(e,s){return{type:"cv_psalm",value:[e,s],indices:[Ws,Is-1]}},$s=function(e,s){return{type:"c_title",value:[e,s],indices:[Ws,Is-1]}},As=function(e,s){return{type:"cv",value:[e,s],indices:[Ws,Is-1]}},Ms=function(e,s){return{type:"cv",value:[e,s],indices:[Ws,Is-1]}},Js=function(e){return{type:"c",value:[e],indices:[Ws,Is-1]}},Cs=function(e){return{type:"ff",value:[e],indices:[Ws,Is-1]}},Ps=function(e){return{type:"next_v",value:[e],indices:[Ws,Is-1]}},zs=function(e,s){return{type:"integer_title",value:[e,s],indices:[Ws,Is-1]}},Rs=function(e){return{type:"context",value:e.value,indices:[Ws,Is-1]}},ws=function(e){return{type:"b",value:e.value,indices:[Ws,Is-1]}},Ss=function(e){return{type:"bc",value:[e,{type:"c",value:[{type:"integer",value:151,indices:[Is-2,Is-1]}],indices:[Is-2,Is-1]}],indices:[Ws,Is-1]}},Zs=function(e,s){return{type:"bcv",value:[e,{type:"v",value:[s],indices:[s.indices[0],s.indices[1]]}],indices:[Ws,Is-1]}},Ts=function(e){return{type:"v",value:[e],indices:[Ws,Is-1]}},Ks=function(e){return{type:"v",value:[e],indices:[Ws,Is-1]}},Fs=function(){return{type:"c_explicit"}},Ns=function(){return{type:"v_explicit"}},js=function(){return""},qs=function(e){return{type:"title",value:[e],indices:[Ws,Is-1]}},Bs=function(e){return{type:"translation_sequence",value:e,indices:[Ws,Is-1]}},Hs=function(e){return{type:"translation_sequence",value:e,indices:[Ws,Is-1]}},Ds=function(e){return{type:"translation",value:e.value,indices:[Ws,Is-1]}},Gs=function(e){return{type:"integer",value:parseInt(e.join(""),10),indices:[Ws,Is-1]}},Ls=function(e){return{type:"word",value:e.join(""),indices:[Ws,Is-1]}},Os=function(e){return{type:"stop",value:e,indices:[Ws,Is-1]}},Is=0|t.peg$currPos,Ws=Is,Vs=[{line:1,column:1}],Us=Is,Qs=t.peg$maxFailExpected||[],Xs=0|t.peg$silentFails;if(t.startRule){if(!(t.startRule in i))throw new Error("Can't start parsing from rule \""+t.startRule+'".');o=i[t.startRule]}function Ys(e,s){return{type:"literal",text:e,ignoreCase:s}}function et(e,s,t){return{type:"class",parts:e,inverted:s,ignoreCase:t}}function st(e){var t,a=Vs[e];if(a)return a;if(e>=Vs.length)t=Vs.length-1;else for(t=e;!Vs[--t];);for(a={line:(a=Vs[t]).line,column:a.column};t<e;)10===s.charCodeAt(t)?(a.line++,a.column=1):a.column++,t++;return Vs[e]=a,a}function tt(e,s,t){var a=st(e),r=st(s),i={source:n,start:{offset:e,line:a.line,column:a.column},end:{offset:s,line:r.line,column:r.column}};return t&&n&&"function"==typeof n.offset&&(i.start=n.offset(i.start),i.end=n.offset(i.end)),i}function at(e){Is<Us||(Is>Us&&(Us=Is,Qs=[]),Qs.push(e))}function rt(s,t,a){return new e(e.buildMessage(s,t),s,t,a)}function nt(){var e,s;if(e=[],(s=ft())===r&&(s=ct())===r&&(s=it())===r&&(s=yt())===r&&(s=lt())===r&&(s=ut())===r&&(s=Rt())===r&&(s=zt())===r&&(s=dt())===r&&(s=gt())===r&&(s=Tt())===r&&(s=xt())===r&&(s=_t())===r&&(s=Zt())===r&&(s=ht())===r&&(s=At())===r&&(s=vt())===r&&(s=$t())===r&&(s=pt())===r&&(s=kt())===r&&(s=Et())===r&&(s=bt())===r&&(s=mt())===r&&(s=It())===r&&(s=Wt())===r&&(s=Ht())===r&&(s=Mt())===r&&(s=wt())===r&&(s=Jt())===r&&(s=Ct())===r&&(s=Kt())===r&&(s=Ut())===r&&(s=Pt())===r&&(s=Ft())===r&&(s=Xt())===r&&(s=Yt())===r&&(s=St()),s!==r)for(;s!==r;)e.push(s),(s=ft())===r&&(s=ct())===r&&(s=it())===r&&(s=yt())===r&&(s=lt())===r&&(s=ut())===r&&(s=Rt())===r&&(s=zt())===r&&(s=dt())===r&&(s=gt())===r&&(s=Tt())===r&&(s=xt())===r&&(s=_t())===r&&(s=Zt())===r&&(s=ht())===r&&(s=At())===r&&(s=vt())===r&&(s=$t())===r&&(s=pt())===r&&(s=kt())===r&&(s=Et())===r&&(s=bt())===r&&(s=mt())===r&&(s=It())===r&&(s=Wt())===r&&(s=Ht())===r&&(s=Mt())===r&&(s=wt())===r&&(s=Jt())===r&&(s=Ct())===r&&(s=Kt())===r&&(s=Ut())===r&&(s=Pt())===r&&(s=Ft())===r&&(s=Xt())===r&&(s=Yt())===r&&(s=St());else e=r;return e}function it(){var e,s,t,a,n,i;if(e=Is,(s=yt())===r&&(s=ft())===r&&(s=lt())===r&&(s=Rt())===r&&(s=zt())===r&&(s=dt())===r&&(s=gt())===r&&(s=Tt())===r&&(s=xt())===r&&(s=_t())===r&&(s=Zt())===r&&(s=ht())===r&&(s=At())===r&&(s=vt())===r&&(s=$t())===r&&(s=pt())===r&&(s=kt())===r&&(s=Et())===r&&(s=bt())===r&&(s=mt())===r&&(s=St()),s!==r){if(t=[],a=Is,(n=Ht())===r&&(n=null),(i=ot())!==r?a=n=[n,i]:(Is=a,a=r),a!==r)for(;a!==r;)t.push(a),a=Is,(n=Ht())===r&&(n=null),(i=ot())!==r?a=n=[n,i]:(Is=a,a=r);else t=r;t!==r?(Ws=e,e=as(s,t)):(Is=e,e=r)}else Is=e,e=r;return e}function ot(){var e;return(e=function(){var e,t,a,n,i,o,c;if(e=Is,40===s.charCodeAt(Is)?(t=l,Is++):(t=r,0===Xs&&at(ne)),t!==r)if(ea(),Ht(),(a=ot())!==r){for(n=[],i=Is,(o=Ht())===r&&(o=null),(c=ot())!==r?i=o=[o,c]:(Is=i,i=r);i!==r;)n.push(i),i=Is,(o=Ht())===r&&(o=null),(c=ot())!==r?i=o=[o,c]:(Is=i,i=r);i=ea(),41===s.charCodeAt(Is)?(o=u,Is++):(o=r,0===Xs&&at(ie)),o!==r?(Ws=e,e=rs(a,n)):(Is=e,e=r)}else Is=e,e=r;else Is=e,e=r;return e}())===r&&(e=yt())===r&&(e=ft())===r&&(e=ut())===r&&(e=lt())===r&&(e=Rt())===r&&(e=zt())===r&&(e=dt())===r&&(e=gt())===r&&(e=Tt())===r&&(e=xt())===r&&(e=_t())===r&&(e=Zt())===r&&(e=ht())===r&&(e=At())===r&&(e=vt())===r&&(e=$t())===r&&(e=pt())===r&&(e=kt())===r&&(e=Et())===r&&(e=bt())===r&&(e=mt())===r&&(e=Mt())===r&&(e=wt())===r&&(e=Jt())===r&&(e=Ct())===r&&(e=Kt())===r&&(e=Ut())===r&&(e=Pt())===r&&(e=Ft()),e}function lt(){var e,s,t,a,n,i,o;return e=Is,(s=dt())===r&&(s=gt())===r&&(s=Tt())===r&&(s=xt())===r&&(s=_t())===r&&(s=Zt())===r&&(s=ht())===r&&(s=At())===r&&(s=vt())===r&&(s=Is,(t=pt())!==r?(a=Is,Xs++,n=Is,(i=Dt())!==r?((o=dt())===r&&(o=gt())===r&&(o=Tt())===r&&(o=xt())===r&&(o=_t())===r&&(o=Zt())===r&&(o=ht())===r&&(o=vt())===r&&(o=pt()),o!==r?n=i=[i,o]:(Is=n,n=r)):(Is=n,n=r),Xs--,n!==r?(Is=a,a=void 0):a=r,a!==r?s=t=[t,a]:(Is=s,s=r)):(Is=s,s=r),s===r&&(s=kt())===r&&(s=Et())===r&&(s=$t())===r&&(s=bt())===r&&(s=mt())===r&&(s=Mt())===r&&(s=wt())===r&&(s=Jt())===r&&(s=Ct())===r&&(s=Kt())===r&&(s=Ut())===r&&(s=Pt())===r&&(s=Ft())),s!==r&&(t=Dt())!==r?((a=Rt())===r&&(a=zt())===r&&(a=dt())===r&&(a=gt())===r&&(a=Tt())===r&&(a=xt())===r&&(a=_t())===r&&(a=Zt())===r&&(a=ht())===r&&(a=At())===r&&(a=vt())===r&&(a=pt())===r&&(a=kt())===r&&(a=Et())===r&&(a=$t())===r&&(a=bt())===r&&(a=mt())===r&&(a=Mt())===r&&(a=wt())===r&&(a=Jt())===r&&(a=Kt())===r&&(a=Ut())===r&&(a=Ct())===r&&(a=Pt())===r&&(a=Ft()),a!==r?(Ws=e,e=ns(s,a)):(Is=e,e=r)):(Is=e,e=r),e}function ut(){var e,t,a,n,i,o,l,u;return e=Is,(t=Kt())===r&&(t=Ft()),t!==r&&Dt()!==r?((a=Kt())===r&&(a=Ft()),a!==r?(n=Is,Xs++,i=Is,102===s.charCodeAt(Is)?(o=c,Is++):(o=r,0===Xs&&at(oe)),o!==r?(l=Is,Xs++,u=s.charAt(Is),W.test(u)?Is++:(u=r,0===Xs&&at(le)),Xs--,u===r?l=void 0:(Is=l,l=r),l!==r?i=o=[o,l]:(Is=i,i=r)):(Is=i,i=r),Xs--,i===r?n=void 0:(Is=n,n=r),n!==r?(Ws=e,e=is(t,a)):(Is=e,e=r)):(Is=e,e=r)):(Is=e,e=r),e}function ct(){var e,s,t;return e=Is,(s=ht())!==r&&Ht()!==r&&(t=ut())!==r?(Ws=e,e=os(s,t)):(Is=e,e=r),e}function pt(){var e,t,a,n,i,o;return e=Is,31===s.charCodeAt(Is)?(t=p,Is++):(t=r,0===Xs&&at(ue)),t!==r&&(a=Qt())!==r?(n=Is,47===s.charCodeAt(Is)?(i=h,Is++):(i=r,0===Xs&&at(ce)),i!==r?(o=s.charAt(Is),V.test(o)?Is++:(o=r,0===Xs&&at(pe)),o!==r?n=i=[i,o]:(Is=n,n=r)):(Is=n,n=r),n===r&&(n=null),31===s.charCodeAt(Is)?(i=p,Is++):(i=r,0===Xs&&at(ue)),i!==r?(Ws=e,e=ls(a)):(Is=e,e=r)):(Is=e,e=r),e}function ht(){var e,s,t,a,n,i,o,l,u;if(e=Is,(s=pt())!==r){if(t=Is,(a=jt())!==r?(n=Is,Xs++,i=Is,(o=Pt())!==r&&(l=qt())!==r&&(u=Ft())!==r?i=o=[o,l,u]:(Is=i,i=r),Xs--,i!==r?(Is=n,n=void 0):n=r,n!==r?t=a=[a,n]:(Is=t,t=r)):(Is=t,t=r),t===r){if(t=[],(a=qt())!==r)for(;a!==r;)t.push(a),a=qt();else t=r;if(t===r){if(t=[],(a=Bt())!==r)for(;a!==r;)t.push(a),a=Bt();else t=r;if(t===r){if(t=[],(a=Dt())!==r)for(;a!==r;)t.push(a),a=Dt();else t=r;t===r&&(t=ea())}}}t!==r&&(a=Pt())!==r?(Ws=e,e=us(s,a)):(Is=e,e=r)}else Is=e,e=r;return e}function gt(){var e,s,t;return e=Is,(s=Zt())===r&&(s=ht()),s!==r&&(t=Gt())!==r?(Ws=e,e=ps(s,t)):(Is=e,e=r),e}function xt(){var e,t,a,n,i,o,l;return e=Is,(t=Zt())===r&&(t=ht()),t!==r?(a=Is,Xs++,n=Is,46===s.charCodeAt(Is)?(i=x,Is++):(i=r,0===Xs&&at(ge)),i!==r&&(o=jt())!==r&&(l=Ft())!==r?n=i=[i,o,l]:(Is=n,n=r),n===r&&(n=Is,(i=Ht())===r&&(i=null),(o=jt())!==r&&(l=Jt())!==r?n=i=[i,o,l]:(Is=n,n=r)),Xs--,n===r?a=void 0:(Is=a,a=r),a!==r?(n=Is,(i=qt())===r&&(i=Ht()),i===r&&(i=null),(o=jt())!==r?n=i=[i,o]:(Is=n,n=r),n===r&&(n=qt()),n!==r?((i=Kt())===r&&(i=Ft()),i!==r?(Ws=e,e=hs(t,i)):(Is=e,e=r)):(Is=e,e=r)):(Is=e,e=r)):(Is=e,e=r),e}function _t(){var e,s,t,a,n,i,o;return e=Is,(s=Zt())===r&&(s=ht()),s!==r&&Bt()!==r?((t=Kt())===r&&(t=Ft()),t!==r?(a=Is,Xs++,n=Is,(i=qt())!==r&&(o=Ft())!==r?n=i=[i,o]:(Is=n,n=r),Xs--,n===r?a=void 0:(Is=a,a=r),a!==r?(Ws=e,e=gs(s,t)):(Is=e,e=r)):(Is=e,e=r)):(Is=e,e=r),e}function dt(){var e,t,a,n,i,o,l,u;return e=Is,t=function(){var e,t,a,n;return e=Is,(t=pt())!==r?(ea(),44===s.charCodeAt(Is)?(a=g,Is++):(a=r,0===Xs&&at(he)),a!==r?(ea(),(n=Pt())!==r?(Ws=e,e=cs(t,n)):(Is=e,e=r)):(Is=e,e=r)):(Is=e,e=r),e}(),t!==r?(ea(),44===s.charCodeAt(Is)?(a=g,Is++):(a=r,0===Xs&&at(he)),a!==r?(ea(),(n=Kt())===r&&(n=Ft()),n!==r?(i=Is,Xs++,o=Is,(l=qt())!==r&&(u=Ft())!==r?o=l=[l,u]:(Is=o,o=r),Xs--,o===r?i=void 0:(Is=i,i=r),i!==r?(Ws=e,e=xs(t,n)):(Is=e,e=r)):(Is=e,e=r)):(Is=e,e=r)):(Is=e,e=r),e}function ft(){var e,t,a,n,i,o,l,u;return e=Is,(t=pt())!==r?(45===s.charCodeAt(Is)?(a=_,Is++):(a=r,0===Xs&&at(xe)),a===r&&(a=sa()),a===r&&(a=null),(n=Pt())!==r?(45===s.charCodeAt(Is)?(i=_,Is++):(i=r,0===Xs&&at(xe)),i!==r&&(o=Ft())!==r?(45===s.charCodeAt(Is)?(l=_,Is++):(l=r,0===Xs&&at(xe)),l!==r&&(u=Ft())!==r?(Ws=e,e=_s(t,n,o,u)):(Is=e,e=r)):(Is=e,e=r)):(Is=e,e=r)):(Is=e,e=r),e}function vt(){var e,s,t,a,n,i;if(e=Is,(s=pt())!==r){if(t=[],(a=qt())!==r)for(;a!==r;)t.push(a),a=qt();else t=r;if(t===r){if(t=[],(a=Bt())!==r)for(;a!==r;)t.push(a),a=Bt();else t=r;if(t===r){if(t=[],(a=Dt())!==r)for(;a!==r;)t.push(a),a=Dt();else t=r;if(t===r){if(t=Is,a=[],(n=Ht())!==r)for(;n!==r;)a.push(n),n=Ht();else a=r;a!==r?(n=Is,Xs++,i=jt(),Xs--,i!==r?(Is=n,n=void 0):n=r,n!==r?t=a=[a,n]:(Is=t,t=r)):(Is=t,t=r),t===r&&(t=ea())}}}t!==r?((a=Kt())===r&&(a=Ft()),a!==r?(Ws=e,e=ds(s,a)):(Is=e,e=r)):(Is=e,e=r)}else Is=e,e=r;return e}function bt(){var e,s,t;return e=Is,Nt()!==r&&(s=Pt())!==r?(Lt()===r&&null,(t=pt())!==r?(Ws=e,e=fs(s,t)):(Is=e,e=r)):(Is=e,e=r),e}function yt(){var e,s,t,a;return e=Is,Nt()!==r&&(s=Pt())!==r&&Dt()!==r&&(t=Pt())!==r?(Lt()===r&&null,(a=pt())!==r?(Ws=e,e=vs(s,t,a)):(Is=e,e=r)):(Is=e,e=r),e}function kt(){var e,s,t;return e=Is,(s=bt())!==r?(Ht()===r&&null,jt()!==r&&(t=Ft())!==r?(Ws=e,e=bs(s,t)):(Is=e,e=r)):(Is=e,e=r),e}function mt(){var e,t,a,n;return e=Is,(t=Pt())!==r?(s.substr(Is,2)===d?(a=d,Is+=2):(a=r,0===Xs&&at(_e)),a===r&&(s.substr(Is,2)===f?(a=f,Is+=2):(a=r,0===Xs&&at(de)),a===r&&(s.substr(Is,2)===v?(a=v,Is+=2):(a=r,0===Xs&&at(fe)))),a!==r&&Nt()!==r?(Lt()===r&&null,(n=pt())!==r?(Ws=e,e=ys(t,n)):(Is=e,e=r)):(Is=e,e=r)):(Is=e,e=r),e}function Et(){var e,s,t;return e=Is,(s=mt())!==r?(Ht()===r&&null,jt()!==r&&(t=Ft())!==r?(Ws=e,e=ks(s,t)):(Is=e,e=r)):(Is=e,e=r),e}function $t(){var e,t,a,n;return e=Is,31===s.charCodeAt(Is)?(t=p,Is++):(t=r,0===Xs&&at(ue)),t!==r&&(a=Qt())!==r?(s.substr(Is,3)===b?(n=b,Is+=3):(n=r,0===Xs&&at(ve)),n!==r?(Ws=e,e=ms(a)):(Is=e,e=r)):(Is=e,e=r),e}function At(){var e,s,t;return e=Is,(s=$t())!==r?(Ht()===r&&null,jt()!==r&&(t=Ft())!==r?(Ws=e,e=Es(s,t)):(Is=e,e=r)):(Is=e,e=r),e}function Mt(){var e,s,t;return e=Is,Nt()!==r&&(s=Pt())!==r&&(t=Gt())!==r?(Ws=e,e=$s(s,t)):(Is=e,e=r),e}function Jt(){var e,t,a,n,i,o,l;return e=Is,jt()===r&&null,(t=Pt())!==r?(a=Is,Xs++,n=Is,46===s.charCodeAt(Is)?(i=x,Is++):(i=r,0===Xs&&at(ge)),i!==r&&(o=jt())!==r&&(l=Ft())!==r?n=i=[i,o,l]:(Is=n,n=r),Xs--,n===r?a=void 0:(Is=a,a=r),a!==r?(n=Is,(i=qt())===r&&(i=null),(o=jt())!==r?n=i=[i,o]:(Is=n,n=r),n===r&&(n=qt()),n!==r?((i=Kt())===r&&(i=Ft()),i!==r?(Ws=e,e=As(t,i)):(Is=e,e=r)):(Is=e,e=r)):(Is=e,e=r)):(Is=e,e=r),e}function Ct(){var e,s,t,a,n,i,o;return e=Is,(s=Pt())!==r&&Bt()!==r?((t=Kt())===r&&(t=Ft()),t!==r?(a=Is,Xs++,n=Is,(i=qt())!==r&&(o=Ft())!==r?n=i=[i,o]:(Is=n,n=r),Xs--,n===r?a=void 0:(Is=a,a=r),a!==r?(Ws=e,e=Ms(s,t)):(Is=e,e=r)):(Is=e,e=r)):(Is=e,e=r),e}function Pt(){var e,s;return e=Is,Nt()===r&&null,(s=Ut())!==r?(Ws=e,e=Js(s)):(Is=e,e=r),e}function zt(){var e,t,a,n,i,o,l;return e=Is,(t=xt())===r&&(t=_t())===r&&(t=ht())===r&&(t=vt())===r&&(t=Jt())===r&&(t=Ct())===r&&(t=Ut())===r&&(t=Pt())===r&&(t=Ft()),t!==r?(ea(),s.substr(Is,2)===y?(a=y,Is+=2):(a=r,0===Xs&&at(be)),a!==r?(n=Is,Xs++,i=s.charAt(Is),W.test(i)?Is++:(i=r,0===Xs&&at(le)),Xs--,i===r?n=void 0:(Is=n,n=r),n!==r?((i=Ot())===r&&(i=null),o=Is,Xs++,l=s.charAt(Is),U.test(l)?Is++:(l=r,0===Xs&&at(ye)),Xs--,l===r?o=void 0:(Is=o,o=r),o!==r?(Ws=e,e=Cs(t)):(Is=e,e=r)):(Is=e,e=r)):(Is=e,e=r)):(Is=e,e=r),e}function Rt(){var e,t,a,n,i,o,l;return e=Is,(t=xt())===r&&(t=_t())===r&&(t=ht())===r&&(t=vt())===r&&(t=Jt())===r&&(t=Ct())===r&&(t=Ut())===r&&(t=Pt())===r&&(t=Ft()),t!==r?(ea(),102===s.charCodeAt(Is)?(a=c,Is++):(a=r,0===Xs&&at(oe)),a!==r?(n=Is,Xs++,i=s.charAt(Is),W.test(i)?Is++:(i=r,0===Xs&&at(le)),Xs--,i===r?n=void 0:(Is=n,n=r),n!==r?((i=Ot())===r&&(i=null),o=Is,Xs++,l=s.charAt(Is),U.test(l)?Is++:(l=r,0===Xs&&at(ye)),Xs--,l===r?o=void 0:(Is=o,o=r),o!==r?(Ws=e,e=Ps(t)):(Is=e,e=r)):(Is=e,e=r)):(Is=e,e=r)):(Is=e,e=r),e}function wt(){var e,s,t;return e=Is,(s=Ut())!==r&&(t=Gt())!==r?(Ws=e,e=zs(s,t)):(Is=e,e=r),e}function St(){var e,t,a,n;return e=Is,31===s.charCodeAt(Is)?(t=p,Is++):(t=r,0===Xs&&at(ue)),t!==r&&(a=Qt())!==r?(s.substr(Is,3)===k?(n=k,Is+=3):(n=r,0===Xs&&at(ke)),n!==r?(Ws=e,e=Rs(a)):(Is=e,e=r)):(Is=e,e=r),e}function Zt(){var e,t,a,n,i;return e=Is,t=function(){var e,t,a,n;return e=Is,31===s.charCodeAt(Is)?(t=p,Is++):(t=r,0===Xs&&at(ue)),t!==r&&(a=Qt())!==r?(s.substr(Is,3)===m?(n=m,Is+=3):(n=r,0===Xs&&at(me)),n!==r?(Ws=e,e=ws(a)):(Is=e,e=r)):(Is=e,e=r),e}(),t!==r?(s.substr(Is,2)===E?(a=E,Is+=2):(a=r,0===Xs&&at(Ee)),a!==r?(n=Is,Xs++,i=s.charAt(Is),Q.test(i)?Is++:(i=r,0===Xs&&at($e)),Xs--,i===r?n=void 0:(Is=n,n=r),n!==r?(Ws=e,e=Ss(t)):(Is=e,e=r)):(Is=e,e=r)):(Is=e,e=r),e}function Tt(){var e,t,a,n;return e=Is,(t=Zt())!==r?(46===s.charCodeAt(Is)?(a=x,Is++):(a=r,0===Xs&&at(ge)),a!==r&&(n=Ut())!==r?(Ws=e,e=Zs(t,n)):(Is=e,e=r)):(Is=e,e=r),e}function Kt(){var e,t,a,n,i,o,l;return e=Is,jt()===r&&null,(t=Ut())!==r?(ea(),a=Is,Xs++,n=Is,102===s.charCodeAt(Is)?(i=c,Is++):(i=r,0===Xs&&at(oe)),i!==r?(o=Is,Xs++,l=s.charAt(Is),W.test(l)?Is++:(l=r,0===Xs&&at(le)),Xs--,l===r?o=void 0:(Is=o,o=r),o!==r?n=i=[i,o]:(Is=n,n=r)):(Is=n,n=r),n===r&&(n=Is,s.substr(Is,2)===y?(i=y,Is+=2):(i=r,0===Xs&&at(be)),i!==r?(o=Is,Xs++,l=s.charAt(Is),W.test(l)?Is++:(l=r,0===Xs&&at(le)),Xs--,l===r?o=void 0:(Is=o,o=r),o!==r?n=i=[i,o]:(Is=n,n=r)):(Is=n,n=r)),Xs--,n===r?a=void 0:(Is=a,a=r),a!==r?(n=s.charAt(Is),X.test(n)?Is++:(n=r,0===Xs&&at(Ae)),n!==r?(i=Is,Xs++,o=s.charAt(Is),U.test(o)?Is++:(o=r,0===Xs&&at(ye)),Xs--,o===r?i=void 0:(Is=i,i=r),i!==r?(Ws=e,e=Ts(t)):(Is=e,e=r)):(Is=e,e=r)):(Is=e,e=r)):(Is=e,e=r),e}function Ft(){var e,s;return e=Is,jt()===r&&null,(s=Ut())!==r?(Ws=e,e=Ks(s)):(Is=e,e=r),e}function Nt(){var e,t,a,n;return e=Is,ea(),t=Is,s.substr(Is,3)===$?(a=$,Is+=3):(a=r,0===Xs&&at(Me)),a!==r?(s.substr(Is,5)===A?(n=A,Is+=5):(n=r,0===Xs&&at(Je)),n===r&&(s.substr(Is,5)===A?(n=A,Is+=5):(n=r,0===Xs&&at(Je)),n===r&&(s.substr(Is,4)===M?(n=M,Is+=4):(n=r,0===Xs&&at(Ce)),n===r&&(n=Ot())===r&&(n=null))),n!==r?t=a=[a,n]:(Is=t,t=r)):(Is=t,t=r),t!==r?(a=ea(),Ws=e,e=Fs()):(Is=e,e=r),e}function jt(){var e,t,a,n,i,o;return e=Is,ea(),t=Is,118===s.charCodeAt(Is)?(a=J,Is++):(a=r,0===Xs&&at(Pe)),a!==r?(s.substr(Is,5)===C?(n=C,Is+=5):(n=r,0===Xs&&at(ze)),n===r&&(s.substr(Is,5)===P?(n=P,Is+=5):(n=r,0===Xs&&at(Re)),n===r&&(s.substr(Is,4)===z?(n=z,Is+=4):(n=r,0===Xs&&at(we)),n===r&&(n=Is,s.substr(Is,3)===R?(i=R,Is+=3):(i=r,0===Xs&&at(Se)),i!==r?((o=Ot())===r&&(o=null),n=i=[i,o]):(Is=n,n=r),n===r&&(s.substr(Is,3)===R?(n=R,Is+=3):(n=r,0===Xs&&at(Se)),n===r&&(n=Is,115===s.charCodeAt(Is)?(i=w,Is++):(i=r,0===Xs&&at(Ze)),i!==r?((o=Ot())===r&&(o=null),n=i=[i,o]):(Is=n,n=r)))))),n!==r?t=a=[a,n]:(Is=t,t=r)):(Is=t,t=r),t!==r?(a=Is,Xs++,n=s.charAt(Is),U.test(n)?Is++:(n=r,0===Xs&&at(ye)),Xs--,n===r?a=void 0:(Is=a,a=r),a!==r?(n=ea(),Ws=e,e=Ns()):(Is=e,e=r)):(Is=e,e=r),e}function qt(){var e,t,a,n,i,o,l,u,c,p;if(e=Is,t=ea(),a=[],58===s.charCodeAt(Is)?(n=":",Is++):(n=r,0===Xs&&at(Te)),n!==r)for(;n!==r;)a.push(n),58===s.charCodeAt(Is)?(n=":",Is++):(n=r,0===Xs&&at(Te));else a=r;return a===r&&(a=Is,46===s.charCodeAt(Is)?(n=x,Is++):(n=r,0===Xs&&at(ge)),n!==r?(i=Is,Xs++,o=Is,l=ea(),46===s.charCodeAt(Is)?(u=x,Is++):(u=r,0===Xs&&at(ge)),u!==r?(c=ea(),46===s.charCodeAt(Is)?(p=x,Is++):(p=r,0===Xs&&at(ge)),p!==r?o=l=[l,u,c,p]:(Is=o,o=r)):(Is=o,o=r),Xs--,o===r?i=void 0:(Is=i,i=r),i!==r?a=n=[n,i]:(Is=a,a=r)):(Is=a,a=r)),a!==r?e=t=[t,a,n=ea()]:(Is=e,e=r),e}function Bt(){var e,t,a;return e=Is,t=ea(),a=s.charAt(Is),Y.test(a)?Is++:(a=r,0===Xs&&at(Ke)),a!==r?e=t=[t,a,ea()]:(Is=e,e=r),e===r&&(e=sa()),e}function Ht(){var e,t,a,n,i,o,l,u,c,p;if(e=Is,t=[],a=s.charAt(Is),ee.test(a)?Is++:(a=r,0===Xs&&at(Fe)),a===r&&(a=Is,46===s.charCodeAt(Is)?(n=x,Is++):(n=r,0===Xs&&at(ge)),n!==r?(i=Is,Xs++,o=Is,l=ea(),46===s.charCodeAt(Is)?(u=x,Is++):(u=r,0===Xs&&at(ge)),u!==r?(c=ea(),46===s.charCodeAt(Is)?(p=x,Is++):(p=r,0===Xs&&at(ge)),p!==r?o=l=[l,u,c,p]:(Is=o,o=r)):(Is=o,o=r),Xs--,o===r?i=void 0:(Is=i,i=r),i!==r?a=n=[n,i]:(Is=a,a=r)):(Is=a,a=r),a===r&&(a=Is,s.substr(Is,3)===S?(n=S,Is+=3):(n=r,0===Xs&&at(Ne)),n!==r&&(i=sa())!==r?(s.substr(Is,5)===Z?(o=Z,Is+=5):(o=r,0===Xs&&at(je)),o!==r&&(l=sa())!==r?(s.substr(Is,4)===T?(u=T,Is+=4):(u=r,0===Xs&&at(qe)),u!==r?a=n=[n,i,o,l,u]:(Is=a,a=r)):(Is=a,a=r)):(Is=a,a=r),a===r&&(a=Is,s.substr(Is,3)===S?(n=S,Is+=3):(n=r,0===Xs&&at(Ne)),n!==r&&(i=sa())!==r?(s.substr(Is,5)===Z?(o=Z,Is+=5):(o=r,0===Xs&&at(je)),o!==r?a=n=[n,i,o]:(Is=a,a=r)):(Is=a,a=r),a===r&&(a=Is,s.substr(Is,3)===S?(n=S,Is+=3):(n=r,0===Xs&&at(Ne)),n!==r&&(i=sa())!==r?(s.substr(Is,4)===T?(o=T,Is+=4):(o=r,0===Xs&&at(qe)),o!==r?a=n=[n,i,o]:(Is=a,a=r)):(Is=a,a=r),a===r&&(a=Is,s.substr(Is,5)===K?(n=K,Is+=5):(n=r,0===Xs&&at(Be)),n!==r&&(i=sa())!==r?(s.substr(Is,4)===T?(o=T,Is+=4):(o=r,0===Xs&&at(qe)),o!==r?a=n=[n,i,o]:(Is=a,a=r)):(Is=a,a=r),a===r&&(a=Is,s.substr(Is,5)===Z?(n=Z,Is+=5):(n=r,0===Xs&&at(je)),n!==r&&(i=sa())!==r?(s.substr(Is,4)===T?(o=T,Is+=4):(o=r,0===Xs&&at(qe)),o!==r?a=n=[n,i,o]:(Is=a,a=r)):(Is=a,a=r),a===r&&(s.substr(Is,5)===Z?(a=Z,Is+=5):(a=r,0===Xs&&at(je)),a===r&&(s.substr(Is,5)===K?(a=K,Is+=5):(a=r,0===Xs&&at(Be)),a===r&&(s.substr(Is,3)===S?(a=S,Is+=3):(a=r,0===Xs&&at(Ne)),a===r&&(a=Is,117===s.charCodeAt(Is)?(n=F,Is++):(n=r,0===Xs&&at(He)),n!==r?((i=Ot())===r&&(i=null),a=n=[n,i]):(Is=a,a=r),a===r&&(38===s.charCodeAt(Is)?(a=N,Is++):(a=r,0===Xs&&at(De)),a===r&&(a=Is,s.substr(Is,3)===j?(n=j,Is+=3):(n=r,0===Xs&&at(Ge)),n!==r?((i=Ot())===r&&(i=null),a=n=[n,i]):(Is=a,a=r),a===r&&(a=sa()))))))))))))),a!==r)for(;a!==r;)t.push(a),a=s.charAt(Is),ee.test(a)?Is++:(a=r,0===Xs&&at(Fe)),a===r&&(a=Is,46===s.charCodeAt(Is)?(n=x,Is++):(n=r,0===Xs&&at(ge)),n!==r?(i=Is,Xs++,o=Is,l=ea(),46===s.charCodeAt(Is)?(u=x,Is++):(u=r,0===Xs&&at(ge)),u!==r?(c=ea(),46===s.charCodeAt(Is)?(p=x,Is++):(p=r,0===Xs&&at(ge)),p!==r?o=l=[l,u,c,p]:(Is=o,o=r)):(Is=o,o=r),Xs--,o===r?i=void 0:(Is=i,i=r),i!==r?a=n=[n,i]:(Is=a,a=r)):(Is=a,a=r),a===r&&(a=Is,s.substr(Is,3)===S?(n=S,Is+=3):(n=r,0===Xs&&at(Ne)),n!==r&&(i=sa())!==r?(s.substr(Is,5)===Z?(o=Z,Is+=5):(o=r,0===Xs&&at(je)),o!==r&&(l=sa())!==r?(s.substr(Is,4)===T?(u=T,Is+=4):(u=r,0===Xs&&at(qe)),u!==r?a=n=[n,i,o,l,u]:(Is=a,a=r)):(Is=a,a=r)):(Is=a,a=r),a===r&&(a=Is,s.substr(Is,3)===S?(n=S,Is+=3):(n=r,0===Xs&&at(Ne)),n!==r&&(i=sa())!==r?(s.substr(Is,5)===Z?(o=Z,Is+=5):(o=r,0===Xs&&at(je)),o!==r?a=n=[n,i,o]:(Is=a,a=r)):(Is=a,a=r),a===r&&(a=Is,s.substr(Is,3)===S?(n=S,Is+=3):(n=r,0===Xs&&at(Ne)),n!==r&&(i=sa())!==r?(s.substr(Is,4)===T?(o=T,Is+=4):(o=r,0===Xs&&at(qe)),o!==r?a=n=[n,i,o]:(Is=a,a=r)):(Is=a,a=r),a===r&&(a=Is,s.substr(Is,5)===K?(n=K,Is+=5):(n=r,0===Xs&&at(Be)),n!==r&&(i=sa())!==r?(s.substr(Is,4)===T?(o=T,Is+=4):(o=r,0===Xs&&at(qe)),o!==r?a=n=[n,i,o]:(Is=a,a=r)):(Is=a,a=r),a===r&&(a=Is,s.substr(Is,5)===Z?(n=Z,Is+=5):(n=r,0===Xs&&at(je)),n!==r&&(i=sa())!==r?(s.substr(Is,4)===T?(o=T,Is+=4):(o=r,0===Xs&&at(qe)),o!==r?a=n=[n,i,o]:(Is=a,a=r)):(Is=a,a=r),a===r&&(s.substr(Is,5)===Z?(a=Z,Is+=5):(a=r,0===Xs&&at(je)),a===r&&(s.substr(Is,5)===K?(a=K,Is+=5):(a=r,0===Xs&&at(Be)),a===r&&(s.substr(Is,3)===S?(a=S,Is+=3):(a=r,0===Xs&&at(Ne)),a===r&&(a=Is,117===s.charCodeAt(Is)?(n=F,Is++):(n=r,0===Xs&&at(He)),n!==r?((i=Ot())===r&&(i=null),a=n=[n,i]):(Is=a,a=r),a===r&&(38===s.charCodeAt(Is)?(a=N,Is++):(a=r,0===Xs&&at(De)),a===r&&(a=Is,s.substr(Is,3)===j?(n=j,Is+=3):(n=r,0===Xs&&at(Ge)),n!==r?((i=Ot())===r&&(i=null),a=n=[n,i]):(Is=a,a=r),a===r&&(a=sa())))))))))))));else t=r;return t!==r&&(Ws=e,t=js()),e=t}function Dt(){var e,t,a,n,i;if(e=Is,t=ea(),a=[],n=Is,i=s.charAt(Is),se.test(i)?Is++:(i=r,0===Xs&&at(Le)),i!==r?n=i=[i,ea()]:(Is=n,n=r),n===r&&(n=Is,s.substr(Is,3)===q?(i=q,Is+=3):(i=r,0===Xs&&at(Oe)),i!==r?n=i=[i,ea()]:(Is=n,n=r)),n!==r)for(;n!==r;)a.push(n),n=Is,i=s.charAt(Is),se.test(i)?Is++:(i=r,0===Xs&&at(Le)),i!==r?n=i=[i,ea()]:(Is=n,n=r),n===r&&(n=Is,s.substr(Is,3)===q?(i=q,Is+=3):(i=r,0===Xs&&at(Oe)),i!==r?n=i=[i,ea()]:(Is=n,n=r));else a=r;return a!==r?e=t=[t,a]:(Is=e,e=r),e}function Gt(){var e,t,a;return e=Is,(t=qt())===r&&(t=Ht()),t===r&&(t=null),s.substr(Is,5)===B?(a=B,Is+=5):(a=r,0===Xs&&at(Ie)),a!==r?(Ws=e,e=qs(a)):(Is=e,e=r),e}function Lt(){var e,t,a,n,i,o,l,u,c,p;return e=Is,t=ea(),s.substr(Is,4)===H?(a=H,Is+=4):(a=r,0===Xs&&at(We)),a===r&&(s.substr(Is,2)===D?(a=D,Is+=2):(a=r,0===Xs&&at(Ve)),a===r&&(s.substr(Is,2)===G?(a=G,Is+=2):(a=r,0===Xs&&at(Ue)))),a!==r?(n=ea(),i=Is,s.substr(Is,3)===L?(o=L,Is+=3):(o=r,0===Xs&&at(Qe)),o!==r?(l=ea(),s.substr(Is,4)===O?(u=O,Is+=4):(u=r,0===Xs&&at(Xe)),u!==r?(c=ea(),s.substr(Is,2)===D?(p=D,Is+=2):(p=r,0===Xs&&at(Ve)),p!==r?i=o=[o,l,u,c,p,ea()]:(Is=i,i=r)):(Is=i,i=r)):(Is=i,i=r),i===r&&(i=null),e=t=[t,a,n,i]):(Is=e,e=r),e}function Ot(){var e,t,a,n,i,o,l,u,c;return e=Is,t=ea(),46===s.charCodeAt(Is)?(a=x,Is++):(a=r,0===Xs&&at(ge)),a!==r?(n=Is,Xs++,i=Is,o=ea(),46===s.charCodeAt(Is)?(l=x,Is++):(l=r,0===Xs&&at(ge)),l!==r?(u=ea(),46===s.charCodeAt(Is)?(c=x,Is++):(c=r,0===Xs&&at(ge)),c!==r?i=o=[o,l,u,c]:(Is=i,i=r)):(Is=i,i=r),Xs--,i===r?n=void 0:(Is=n,n=r),n!==r?e=t=[t,a,n]:(Is=e,e=r)):(Is=e,e=r),e}function It(){var e,t,a,n,i,o,l,u;if(e=Is,ea(),t=s.charAt(Is),te.test(t)?Is++:(t=r,0===Xs&&at(Ye)),t!==r){if(ea(),a=Is,(n=Vt())!==r){for(i=[],o=Is,(l=Ht())!==r&&(u=Vt())!==r?o=l=[l,u]:(Is=o,o=r);o!==r;)i.push(o),o=Is,(l=Ht())!==r&&(u=Vt())!==r?o=l=[l,u]:(Is=o,o=r);a=n=[n,i]}else Is=a,a=r;a!==r?(n=ea(),i=s.charAt(Is),ae.test(i)?Is++:(i=r,0===Xs&&at(es)),i!==r?(Ws=e,e=Bs(a)):(Is=e,e=r)):(Is=e,e=r)}else Is=e,e=r;return e}function Wt(){var e,t,a,n,i,o,l,u;if(e=Is,ea(),t=Is,44===s.charCodeAt(Is)?(a=g,Is++):(a=r,0===Xs&&at(he)),a!==r?t=a=[a,n=ea()]:(Is=t,t=r),t===r&&(t=null),a=Is,(n=Vt())!==r){for(i=[],o=Is,(l=Ht())!==r&&(u=Vt())!==r?o=l=[l,u]:(Is=o,o=r);o!==r;)i.push(o),o=Is,(l=Ht())!==r&&(u=Vt())!==r?o=l=[l,u]:(Is=o,o=r);a=n=[n,i]}else Is=a,a=r;return a!==r?(Ws=e,e=Hs(a)):(Is=e,e=r),e}function Vt(){var e,t,a,n;return e=Is,30===s.charCodeAt(Is)?(t=I,Is++):(t=r,0===Xs&&at(ss)),t!==r&&(a=Qt())!==r?(30===s.charCodeAt(Is)?(n=I,Is++):(n=r,0===Xs&&at(ss)),n!==r?(Ws=e,e=Ds(a)):(Is=e,e=r)):(Is=e,e=r),e}function Ut(){var e;return(e=/^[0-9]{1,3}(?!\d|,000)/.exec(s.substr(Is)))?(Ws=Is,Is+=e[0].length,{type:"integer",value:parseInt(e[0],10),indices:[Ws,Is-1]}):r}function Qt(){var e,t,a;if(e=Is,t=[],a=s.charAt(Is),Q.test(a)?Is++:(a=r,0===Xs&&at($e)),a!==r)for(;a!==r;)t.push(a),a=s.charAt(Is),Q.test(a)?Is++:(a=r,0===Xs&&at($e));else t=r;return t!==r&&(Ws=e,t=Gs(t)),e=t}function Xt(){var e,t,a;if(e=Is,t=[],a=s.charAt(Is),re.test(a)?Is++:(a=r,0===Xs&&at(ts)),a!==r)for(;a!==r;)t.push(a),a=s.charAt(Is),re.test(a)?Is++:(a=r,0===Xs&&at(ts));else t=r;return t!==r&&(Ws=e,t=Ls(t)),e=t}function Yt(){var e,t;return e=Is,t=s.charAt(Is),te.test(t)?Is++:(t=r,0===Xs&&at(Ye)),t!==r&&(Ws=e,t=Os(t)),e=t}function ea(){var e;return(e=sa())===r&&(e=null),e}function sa(){var e;return(e=/^[\s\xa0*]+/.exec(s.substr(Is)))?(Is+=e[0].length,[]):r}if("punctuation_strategy"in t&&"eu"===t.punctuation_strategy&&(qt=function(){var e,t,a;e=Is,t=ea(),44===s.charCodeAt(Is)?(a=g,Is++):(a=r,0===Xs&&at(he));a!==r?e=t=[t,a,ea()]:(Is=e,e=r);return e},ee=/^[;\/:&\-\u2013\u2014~]/),a=o(),t.peg$library)return{peg$result:a,peg$currPos:Is,peg$FAILED:r,peg$maxFailExpected:Qs,peg$maxFailPos:Us};if(a!==r&&Is===s.length)return a;throw a!==r&&Is<s.length&&at({type:"end"}),rt(Qs,Us<s.length?s.charAt(Us):null,Us<s.length?tt(Us,Us+1):tt(Us,Us))}}}()}).call(this);
|
|
1
|
+
(function(){var e,s,t,a,r={}.hasOwnProperty;e=function(){class e{constructor(){var s,t,a;for(s in this.options={},t=e.prototype.options)r.call(t,s)&&(a=t[s],this.options[s]=a);this.versification_system(this.options.versification_system)}parse(e){return this.reset(),this.s=e,e=this.replace_control_characters(e),[e,this.passage.books]=this.match_books(e),[this.entities]=this.match_passages(e),this}parse_with_context(e,s){var t;return this.reset(),[s,this.passage.books]=this.match_books(this.replace_control_characters(s)),[t,s]=this.match_passages(s),this.reset(),this.s=e,e=this.replace_control_characters(e),[e,this.passage.books]=this.match_books(e),this.passage.books.push({value:"",parsed:[],start_index:0,type:"context",context:s}),e=""+(this.passage.books.length-1)+"/9"+e,[this.entities]=this.match_passages(e),this}reset(){return this.s="",this.entities=[],this.passage?(this.passage.books=[],this.passage.indices={}):(this.passage=new s,this.passage.options=this.options,this.passage.translations=this.translations)}set_options(e){var s,t;for(s in e)r.call(e,s)&&(t=e[s],"include_apocrypha"===s||"versification_system"===s||"case_sensitive"===s?this[s](t):this.options[s]=t);return this}include_apocrypha(e){var s,a,n,i,o;if(null==e||!0!==e&&!1!==e)return this;for(i in this.options.include_apocrypha=e,this.regexps.books=this.regexps.get_books(e,this.options.case_sensitive),n=this.translations)r.call(n,i)&&"aliases"!==i&&"alternates"!==i&&(null==(s=this.translations[i]).chapters&&(s.chapters={}),null==(a=this.translations[i].chapters).Ps&&(a.Ps=t.shallow_clone_array(this.translations.default.chapters.Ps)),!0===e?(o=null!=this.translations[i].chapters.Ps151?this.translations[i].chapters.Ps151[0]:this.translations.default.chapters.Ps151[0],this.translations[i].chapters.Ps[150]=o):151===this.translations[i].chapters.Ps.length&&this.translations[i].chapters.Ps.pop());return this}versification_system(e){var s,a,n,i,o,l,u;if(null==e||null==this.translations[e])return this;if(null!=this.translations.alternates.default)if("default"===e)for(i in null!=this.translations.alternates.default.order&&(this.translations.default.order=t.shallow_clone(this.translations.alternates.default.order)),l=this.translations.alternates.default.chapters)r.call(l,i)&&(o=l[i],this.translations.default.chapters[i]=t.shallow_clone_array(o));else this.versification_system("default");if(null==(s=this.translations.alternates).default&&(s.default={order:null,chapters:{}}),"default"!==e&&null!=this.translations[e].order&&(null==(a=this.translations.alternates.default).order&&(a.order=t.shallow_clone(this.translations.default.order)),this.translations.default.order=t.shallow_clone(this.translations[e].order)),"default"!==e&&null!=this.translations[e].chapters)for(i in u=this.translations[e].chapters)r.call(u,i)&&(o=u[i],null==(n=this.translations.alternates.default.chapters)[i]&&(n[i]=t.shallow_clone_array(this.translations.default.chapters[i])),this.translations.default.chapters[i]=t.shallow_clone_array(o));return this.options.versification_system=e,this.include_apocrypha(this.options.include_apocrypha),this}case_sensitive(e){return null==e||"none"!==e&&"books"!==e||e===this.options.case_sensitive||(this.options.case_sensitive=e,this.regexps.books=this.regexps.get_books(this.options.include_apocrypha,e)),this}translation_info(e="default"){var s,a,n,i,o,l,u,c;for(s in null!=e&&null!=(null!=(l=this.translations.aliases[e])?l.alias:void 0)&&(e=this.translations.aliases[e].alias),null!=e&&null!=this.translations[e]||(e="default"),e!==(i=this.options.versification_system)&&this.versification_system(e),o={alias:e,books:[],chapters:{},order:t.shallow_clone(this.translations.default.order)},u=this.translations.default.chapters)r.call(u,s)&&(a=u[s],o.chapters[s]=t.shallow_clone_array(a));for(s in c=o.order)r.call(c,s)&&(n=c[s],o.books[n-1]=s);return e!==i&&this.versification_system(i),o}replace_control_characters(e){return e=(e=(e=e.replace(this.regexps.control," ")).replace(/\uFF1A/g,":")).replace(/\uFF1B/g,";"),"replace"===this.options.non_latin_digits_strategy&&(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=e.replace(/[٠۰߀०০੦૦୦0౦೦൦๐໐༠၀႐០᠐᥆᧐᪀᪐᭐᮰᱀᱐꘠꣐꤀꧐꩐꯰0]/g,"0")).replace(/[١۱߁१১੧૧୧௧౧೧൧๑໑༡၁႑១᠑᥇᧑᪁᪑᭑᮱᱁᱑꘡꣑꤁꧑꩑꯱1]/g,"1")).replace(/[٢۲߂२২੨૨୨௨౨೨൨๒໒༢၂႒២᠒᥈᧒᪂᪒᭒᮲᱂᱒꘢꣒꤂꧒꩒꯲2]/g,"2")).replace(/[٣۳߃३৩੩૩୩௩౩೩൩๓໓༣၃႓៣᠓᥉᧓᪃᪓᭓᮳᱃᱓꘣꣓꤃꧓꩓꯳3]/g,"3")).replace(/[٤۴߄४৪੪૪୪௪౪೪൪๔໔༤၄႔៤᠔᥊᧔᪄᪔᭔᮴᱄᱔꘤꣔꤄꧔꩔꯴4]/g,"4")).replace(/[٥۵߅५৫੫૫୫௫౫೫൫๕໕༥၅႕៥᠕᥋᧕᪅᪕᭕᮵᱅᱕꘥꣕꤅꧕꩕꯵5]/g,"5")).replace(/[٦۶߆६৬੬૬୬௬౬೬൬๖໖༦၆႖៦᠖᥌᧖᪆᪖᭖᮶᱆᱖꘦꣖꤆꧖꩖꯶6]/g,"6")).replace(/[٧۷߇७৭੭૭୭௭౭೭൭๗໗༧၇႗៧᠗᥍᧗᪇᪗᭗᮷᱇᱗꘧꣗꤇꧗꩗꯷7]/g,"7")).replace(/[٨۸߈८৮੮૮୮௮౮೮൮๘໘༨၈႘៨᠘᥎᧘᪈᪘᭘᮸᱈᱘꘨꣘꤈꧘꩘꯸8]/g,"8")).replace(/[٩۹߉९৯੯૯୯௯౯೯൯๙໙༩၉႙៩᠙᥏᧙᪉᪙᭙᮹᱉᱙꘩꣙꤉꧙꩙꯹9]/g,"9")),e}match_books(e){var s,t,a,r,n,i;for(t=[],r=0,n=(i=this.regexps.books).length;r<n&&(s=i[r],a=!1,e=e.replace(s.regexp,(function(e,r,n){var i;return a=!0,t.push({value:n,parsed:s.osis,type:"book"}),i=null!=s.extra?`/${s.extra}`:"",`${r}${t.length-1}${i}`})),!0!==a||!/^[\s\x1f\d:.,;\-\u2013\u2014]+$/.test(e));r++);return[e=e.replace(this.regexps.translations,(function(e){return t.push({value:e,parsed:e.toLowerCase(),type:"translation"}),`${t.length-1}`})),this.get_book_indices(t,e)]}get_book_indices(e,s){var t,a,r;for(t=0,r=/([\x1f\x1e])(\d+)(?:\/\d+)?\1/g;a=r.exec(s);)e[a[2]].start_index=a.index+t,t+=e[a[2]].value.length-a[0].length;return e}match_passages(e){var s,t,r,n,i,o,l,u,c,p,h,g;for(r=[],p={};i=this.regexps.escaped_passage.exec(e);)[n,u,t]=i,l=u.length,i.index+=n.length-l,/\s[2-9]\d\d\s*$|\s\d{4,}\s*$/.test(u)&&(u=u.replace(/\s+\d+\s*$/,"")),/[\d\x1f\x1e)]$/.test(u)||(u=this.replace_match_end(u)),"delete"===this.options.captive_end_digits_strategy&&(o=i.index+u.length,e.length>o&&/^\w/.test(e.substr(o,1))&&(u=u.replace(/[\s*]+\d+$/,"")),u=u.replace(/(\x1e[)\]]?)[\s*]*\d+$/,"$1")),g=""===(u=u.replace(/[A-Z]+/g,(function(e){return e.toLowerCase()}))).substr(0,1)?0:u.split("")[0].length,c={value:a.parse(u,{punctuation_strategy:this.options.punctuation_strategy}),type:"base",start_index:this.passage.books[t].start_index-g,match:u},"full"===this.options.book_alone_strategy&&"include"===this.options.book_range_strategy&&"b"===c.value[0].type&&(1===c.value.length||c.value.length>1&&"translation_sequence"===c.value[1].type)&&0===g&&(1===this.passage.books[t].parsed.length||this.passage.books[t].parsed.length>1&&"translation"===this.passage.books[t].parsed[1].type)&&/^[234]/.test(this.passage.books[t].parsed[0])&&this.create_book_range(e,c,t),[s,p]=this.passage.handle_obj(c),r=r.concat(s),(h=this.adjust_regexp_end(s,l,u.length))>0&&(this.regexps.escaped_passage.lastIndex-=h);return[r,p]}adjust_regexp_end(e,s,t){var a;return a=0,e.length>0?a=s-e[e.length-1].indices[1]-1:s!==t&&(a=s-t),a}replace_match_end(e){var s,t;for(t=e.length;s=this.regexps.match_end_split.exec(e);)t=s.index+s[0].length;return t<e.length&&(e=e.substr(0,t)),e}create_book_range(s,t,a){var r,n,i,o,l,u,c;for(r=[e.prototype.regexps.first,e.prototype.regexps.second,e.prototype.regexps.third],n=i=1,c=o=parseInt(this.passage.books[a].parsed[0].substr(0,1),10);1<=c?i<c:i>c;n=1<=c?++i:--i)if(u=n===o-1?e.prototype.regexps.range_and:e.prototype.regexps.range_only,null!=(l=s.match(RegExp(`(?:^|\\W)(${r[n-1]}\\s*${u}\\s*)\\x1f${a}\\x1f`,"i"))))return this.add_book_range_object(t,l,n);return!1}add_book_range_object(e,s,t){var a,r,n,i,o,l;if(n=s[1].length,e.value[0]={type:"b_range_pre",value:[{type:"b_pre",value:t.toString(),indices:[s.index,s.index+n]},e.value[0]],indices:[0,e.value[0].indices[1]+n]},e.value[0].value[1].indices[0]+=n,e.value[0].value[1].indices[1]+=n,e.start_index-=n,e.match=s[1]+e.match,1!==e.value.length){for(l=[],a=r=1,i=e.value.length;1<=i?r<i:r>i;a=1<=i?++r:--r)null!=e.value[a].value&&(null!=(null!=(o=e.value[a].value[0])?o.indices:void 0)&&(e.value[a].value[0].indices[0]+=n,e.value[a].value[0].indices[1]+=n),e.value[a].indices[0]+=n,l.push(e.value[a].indices[1]+=n));return l}}osis(){var e,s,t,a,r;for(a=[],e=0,s=(r=this.parsed_entities()).length;e<s;e++)(t=r[e]).osis.length>0&&a.push(t.osis);return a.join(",")}osis_and_translations(){var e,s,t,a,r;for(a=[],e=0,s=(r=this.parsed_entities()).length;e<s;e++)(t=r[e]).osis.length>0&&a.push([t.osis,t.translations.join(",")]);return a}osis_and_indices(){var e,s,t,a,r;for(a=[],e=0,s=(r=this.parsed_entities()).length;e<s;e++)(t=r[e]).osis.length>0&&a.push({osis:t.osis,translations:t.translations,indices:t.indices});return a}parsed_entities(){var e,s,t,a,r,n,i,o,l,u,c,p,h,g,x,_,d,f,v,b,y,k,m,E,$,A,M,J,C,P,z,R;for(_=[],s=a=0,k=this.entities.length;0<=k?a<k:a>k;s=0<=k?++a:--a)if((e=this.entities[s]).type&&"translation_sequence"===e.type&&_.length>0&&s===_[_.length-1].entity_id+1&&(_[_.length-1].indices[1]=e.absolute_indices[1]),null!=e.passages&&!("b"===e.type&&"ignore"===this.options.book_alone_strategy||"b_range"===e.type&&"ignore"===this.options.book_range_strategy||"context"===e.type)){if(R=[],P=null,null!=e.passages[0].translations)for(r=0,i=(m=e.passages[0].translations).length;r<i;r++)z=(null!=(E=(C=m[r]).osis)?E.length:void 0)>0?C.osis:"",null==P&&(P=C.alias),R.push(z);else R=[""],P="default";for(x=[],p=[],t=u=0,$=l=e.passages.length;0<=$?u<$:u>$;t=0<=$?++u:--u)if(null==(d=e.passages[t]).type&&(d.type=e.type),!1!==d.valid.valid||("ignore"===this.options.invalid_sequence_strategy&&"sequence"===e.type&&this.snap_sequence("ignore",e,x,t,l),"ignore"!==this.options.invalid_passage_strategy))if("b"!==d.type&&"b_range"!==d.type||"ignore"!==this.options.book_sequence_strategy||"sequence"!==e.type)if("b_range_start"!==d.type&&"range_end_b"!==d.type||"ignore"!==this.options.book_range_strategy||this.snap_range(e,t),null==d.absolute_indices&&(d.absolute_indices=e.absolute_indices),"separate-chapters"===this.options.consecutive_combination_strategy&&d.start.c!==d.end.c)for(t=c=A=d.start.c,M=d.end.c;A<=M?c<=M:c>=M;t=A<=M?++c:--c)y=t===d.start.c?d.start.v:1,v=t===d.end.c?d.end.v:this.translations[P].chapters[d.start.b][t-1],b={b:d.start.b,c:t,v:"bcv"===d.start.type?y:null,type:d.start.type},f={b:d.end.b,c:t,v:"bcv"===d.start.type?v:null,type:d.start.type},p.push({osis:d.valid.valid?this.to_osis(b,f,P):"",type:d.type,indices:d.absolute_indices,translations:R,start:b,end:f,enclosed_indices:d.enclosed_absolute_indices,entity_id:s,entities:[d]});else x.push({osis:d.valid.valid?this.to_osis(d.start,d.end,P):"",type:d.type,indices:d.absolute_indices,translations:R,start:d.start,end:d.end,enclosed_indices:d.enclosed_absolute_indices,entity_id:s,entities:[d]});else this.snap_sequence("book",e,x,t,l);if(0!==x.length||0!==p.length)if("combine"!==this.options.consecutive_combination_strategy&&"separate-chapters"!==this.options.consecutive_combination_strategy||(x.length>1&&(x=this.combine_consecutive_passages(x,P)),x=x.concat(p).sort(((e,s)=>e.indices[0]-s.indices[0]))),"separate"===this.options.sequence_combination_strategy)_=_.concat(x);else{for(J=[],null!=x[n=x.length-1].enclosed_indices&&x[n].enclosed_indices[1]>=0&&(e.absolute_indices[1]=x[n].enclosed_indices[1]),h=0,o=x.length;h<o;h++)(g=x[h]).osis.length>0&&J.push(g.osis);_.push({osis:J.join(","),indices:e.absolute_indices,translations:R,entity_id:s,entities:x})}}return _}to_osis(e,s,t){var a,r;return null==s.c&&null==s.v&&e.b===s.b&&null==e.c&&null==e.v&&"first_chapter"===this.options.book_alone_strategy&&(s.c=1),a={start:"",end:""},null==e.c&&(e.c=1),null==e.v&&(e.v=1),null==s.c&&(this.options.passage_existence_strategy.indexOf("c")>=0||null!=this.passage.translations[t].chapters[s.b]&&1===this.passage.translations[t].chapters[s.b].length?s.c=this.passage.translations[t].chapters[s.b].length:s.c=999),null==s.v&&(null!=this.passage.translations[t].chapters[s.b][s.c-1]&&this.options.passage_existence_strategy.indexOf("v")>=0?s.v=this.passage.translations[t].chapters[s.b][s.c-1]:s.v=999),this.options.include_apocrypha&&"b"===this.options.ps151_strategy&&(151===e.c&&"Ps"===e.b||151===s.c&&"Ps"===s.b)&&this.fix_ps151(e,s,t),"b"===this.options.osis_compaction_strategy&&1===e.c&&1===e.v&&(999===s.c&&999===s.v||s.c===this.passage.translations[t].chapters[s.b].length&&this.options.passage_existence_strategy.indexOf("c")>=0&&(999===s.v||s.v===this.passage.translations[t].chapters[s.b][s.c-1]&&this.options.passage_existence_strategy.indexOf("v")>=0))?(a.start=e.b,a.end=s.b):this.options.osis_compaction_strategy.length<=2&&1===e.v&&(999===s.v||s.v===this.passage.translations[t].chapters[s.b][s.c-1]&&this.options.passage_existence_strategy.indexOf("v")>=0)?(a.start=e.b+"."+e.c.toString(),a.end=s.b+"."+s.c.toString()):(a.start=e.b+"."+e.c.toString()+"."+e.v.toString(),a.end=s.b+"."+s.c.toString()+"."+s.v.toString()),r=a.start===a.end?a.start:a.start+"-"+a.end,null!=e.extra&&(r=e.extra+","+r),null!=s.extra&&(r+=","+s.extra),r}fix_ps151(e,s,t){var a;return"default"!==t&&null==(null!=(a=this.translations[t])?a.chapters.Ps151:void 0)&&this.passage.promote_book_to_translation("Ps151",t),151===e.c&&"Ps"===e.b?151===s.c&&"Ps"===s.b?(e.b="Ps151",e.c=1,s.b="Ps151",s.c=1):(e.extra=this.to_osis({b:"Ps151",c:1,v:e.v},{b:"Ps151",c:1,v:this.passage.translations[t].chapters.Ps151[0]},t),e.b="Prov",e.c=1,e.v=1):(s.extra=this.to_osis({b:"Ps151",c:1,v:1},{b:"Ps151",c:1,v:s.v},t),s.c=150,s.v=this.passage.translations[t].chapters.Ps[149])}combine_consecutive_passages(e,s){var t,a,r,n,i,o,l,u,c,p,h;for(u=[],c={},t=-1,a=!1,r=i=0,h=o=e.length-1;0<=h?i<=h:i>=h;r=0<=h?++i:--i)(l=e[r]).osis.length>0?(p=u.length-1,n=!1,l.enclosed_indices[0]!==t&&(t=l.enclosed_indices[0]),t>=0&&(r===o||e[r+1].enclosed_indices[0]!==l.enclosed_indices[0])&&(n=!0,a=!0),this.is_verse_consecutive(c,l.start,s)?(u[p].end=l.end,u[p].is_enclosed_last=n,u[p].indices[1]=l.indices[1],u[p].enclosed_indices[1]=l.enclosed_indices[1],u[p].osis=this.to_osis(u[p].start,l.end,s)):u.push(l),c={b:l.end.b,c:l.end.c,v:l.end.v}):(u.push(l),c={});return a&&this.snap_enclosed_indices(u),u}snap_enclosed_indices(e){var s,t,a;for(s=0,t=e.length;s<t;s++)null!=(a=e[s]).is_enclosed_last&&(a.enclosed_indices[0]<0&&a.is_enclosed_last&&(a.indices[1]=a.enclosed_indices[1]),delete a.is_enclosed_last);return e}is_verse_consecutive(e,s,t){var a;if(null==e.b)return!1;if(a=null!=this.passage.translations[t].order?this.passage.translations[t].order:this.passage.translations.default.order,e.b===s.b){if(e.c===s.c){if(e.v===s.v-1)return!0}else if(1===s.v&&e.c===s.c-1&&e.v===this.passage.translations[t].chapters[e.b][e.c-1])return!0}else if(1===s.c&&1===s.v&&a[e.b]===a[s.b]-1&&e.c===this.passage.translations[t].chapters[e.b].length&&e.v===this.passage.translations[t].chapters[e.b][e.c-1])return!0;return!1}snap_range(e,s){var t,a,n,i,o,l,u,c;for(a in"b_range_start"===e.type||"sequence"===e.type&&"b_range_start"===e.passages[s].type?(t=1,o="end",c="b_range_start"):(t=0,o="start",c="range_end_b"),l="end"===o?"start":"end",i=e.passages[s][l])r.call(i,a)&&(e.passages[s][l][a]=e.passages[s][o][a]);return"sequence"===e.type?(s>=e.value.length&&(s=e.value.length-1),null!=(n=this.passage.pluck(c,e.value[s]))&&(u=this.snap_range(n,0),0===s?e.absolute_indices[0]=u.absolute_indices[0]:e.absolute_indices[1]=u.absolute_indices[1])):(e.original_type=e.type,e.type=e.value[t].type,e.absolute_indices=[e.value[t].absolute_indices[0],e.value[t].absolute_indices[1]]),e}snap_sequence(e,s,t,a,r){var n;return(n=s.passages[a]).absolute_indices[0]===s.absolute_indices[0]&&a<r-1&&this.get_snap_sequence_i(s.passages,a,r)!==a?(s.absolute_indices[0]=s.passages[a+1].absolute_indices[0],this.remove_absolute_indices(s.passages,a+1)):n.absolute_indices[1]===s.absolute_indices[1]&&a>0?s.absolute_indices[1]=t.length>0?t[t.length-1].indices[1]:s.passages[a-1].absolute_indices[1]:"book"===e&&a<r-1&&!this.starts_with_book(s.passages[a+1])&&(s.passages[a+1].absolute_indices[0]=n.absolute_indices[0]),s}get_snap_sequence_i(e,s,t){var a,r,n,i;for(a=r=n=s+1,i=t;n<=i?r<i:r>i;a=n<=i?++r:--r){if(this.starts_with_book(e[a]))return a;if(e[a].valid.valid)return s}return s}starts_with_book(e){return"b"===e.type.substr(0,1)||("range"===e.type||"ff"===e.type)&&"b"===e.start.type.substr(0,1)}remove_absolute_indices(e,s){var t,a,r,n,i,o;if(e[s].enclosed_absolute_indices[0]<0)return!1;for([o,t]=e[s].enclosed_absolute_indices,a=0,r=(i=e.slice(s)).length;a<r&&((n=i[a]).enclosed_absolute_indices[0]===o&&n.enclosed_absolute_indices[1]===t);a++)n.enclosed_absolute_indices=[-1,-1];return!0}}return e.prototype.s="",e.prototype.entities=[],e.prototype.passage=null,e.prototype.regexps={},e.prototype.options={consecutive_combination_strategy:"combine",osis_compaction_strategy:"b",book_sequence_strategy:"ignore",invalid_sequence_strategy:"ignore",sequence_combination_strategy:"combine",punctuation_strategy:"us",invalid_passage_strategy:"ignore",non_latin_digits_strategy:"ignore",passage_existence_strategy:"bcv",zero_chapter_strategy:"error",zero_verse_strategy:"error",single_chapter_1_strategy:"chapter",book_alone_strategy:"ignore",book_range_strategy:"ignore",captive_end_digits_strategy:"delete",end_range_digits_strategy:"verse",include_apocrypha:!1,ps151_strategy:"c",versification_system:"default",case_sensitive:"none"},e}.call(this),this.bcv_parser=e,s=function(){class e{handle_array(e,s=[],t={}){var a,r,n;for(a=0,r=e.length;a<r;a++)if(null!=(n=e[a])){if("stop"===n.type)break;[s,t]=this.handle_obj(n,s,t)}return[s,t]}handle_obj(e,s,t){return null!=e.type&&null!=this[e.type]?this[e.type](e,s,t):[s,t]}b(e,s,a){var r,n,i,o,l,u,c;for(e.start_context=t.shallow_clone(a),e.passages=[],r=[],i=0,o=(u=this.books[e.value].parsed).length;i<o;i++)l={start:{b:n=u[i]},end:{b:n},valid:c=this.validate_ref(e.start_context.translations,{b:n})},0===e.passages.length&&c.valid?e.passages.push(l):r.push(l);return 0===e.passages.length&&e.passages.push(r.shift()),r.length>0&&(e.passages[0].alternates=r),null!=e.start_context.translations&&(e.passages[0].translations=e.start_context.translations),null==e.absolute_indices&&(e.absolute_indices=this.get_absolute_indices(e.indices)),s.push(e),a={b:e.passages[0].start.b},null!=e.start_context.translations&&(a.translations=e.start_context.translations),[s,a]}b_range(e,s,t){return this.range(e,s,t)}b_range_pre(e,s,a){var r,n,i;return e.start_context=t.shallow_clone(a),e.passages=[],r=this.pluck("b",e.value),[[n],a]=this.b(r,[],a),null==e.absolute_indices&&(e.absolute_indices=this.get_absolute_indices(e.indices)),i={b:e.value[0].value+n.passages[0].start.b.substr(1),type:"b"},e.passages=[{start:i,end:n.passages[0].end,valid:n.passages[0].valid}],null!=e.start_context.translations&&(e.passages[0].translations=e.start_context.translations),s.push(e),[s,a]}b_range_start(e,s,t){return this.range(e,s,t)}base(e,s,t){return this.indices=this.calculate_indices(e.match,e.start_index),this.handle_array(e.value,s,t)}bc(e,s,a){var r,n,i,o,l,u,c,p,h;for(e.start_context=t.shallow_clone(a),e.passages=[],this.reset_context(a,["b","c","v"]),i=this.pluck("c",e.value).value,r=[],l=0,u=(p=this.books[this.pluck("b",e.value).value].parsed).length;l<u;l++)o="c",c={start:{b:n=p[l]},end:{b:n},valid:h=this.validate_ref(e.start_context.translations,{b:n,c:i})},(h.messages.start_chapter_not_exist_in_single_chapter_book||h.messages.start_chapter_1)&&(c.valid=this.validate_ref(e.start_context.translations,{b:n,v:i}),h.messages.start_chapter_not_exist_in_single_chapter_book&&(c.valid.messages.start_chapter_not_exist_in_single_chapter_book=1),c.start.c=1,c.end.c=1,o="v"),c.start[o]=i,[c.start.c,c.start.v]=this.fix_start_zeroes(c.valid,c.start.c,c.start.v),null==c.start.v&&delete c.start.v,c.end[o]=c.start[o],0===e.passages.length&&c.valid.valid?e.passages.push(c):r.push(c);return 0===e.passages.length&&e.passages.push(r.shift()),r.length>0&&(e.passages[0].alternates=r),null!=e.start_context.translations&&(e.passages[0].translations=e.start_context.translations),null==e.absolute_indices&&(e.absolute_indices=this.get_absolute_indices(e.indices)),this.set_context_from_object(a,["b","c","v"],e.passages[0].start),s.push(e),[s,a]}bc_title(e,s,a){var r,n,i,o,l;if(e.start_context=t.shallow_clone(a),[[r],a]=this.bc(this.pluck("bc",e.value),[],a),"Ps"!==r.passages[0].start.b.substr(0,2)&&null!=r.passages[0].alternates)for(n=i=0,o=r.passages[0].alternates.length;0<=o?i<o:i>o;n=0<=o?++i:--i)if("Ps"===r.passages[0].alternates[n].start.b.substr(0,2)){r.passages[0]=r.passages[0].alternates[n];break}return"Ps"!==r.passages[0].start.b.substr(0,2)?(s.push(r),[s,a]):(this.books[this.pluck("b",r.value).value].parsed=["Ps"],null==(l=this.pluck("title",e.value))&&(l=this.pluck("v",e.value)),e.value[1]={type:"v",value:[{type:"integer",value:1,indices:l.indices}],indices:l.indices},e.type="bcv",this.bcv(e,s,e.start_context))}bcv(e,s,a){var r,n,i,o,l,u,c,p,h,g;for(e.start_context=t.shallow_clone(a),e.passages=[],this.reset_context(a,["b","c","v"]),i=this.pluck("bc",e.value),o=this.pluck("c",i.value).value,h=this.pluck("v",e.value).value,r=[],l=0,u=(p=this.books[this.pluck("b",i.value).value].parsed).length;l<u;l++)n=p[l],g=this.validate_ref(e.start_context.translations,{b:n,c:o,v:h}),[o,h]=this.fix_start_zeroes(g,o,h),c={start:{b:n,c:o,v:h},end:{b:n,c:o,v:h},valid:g},0===e.passages.length&&g.valid?e.passages.push(c):r.push(c);return 0===e.passages.length&&e.passages.push(r.shift()),r.length>0&&(e.passages[0].alternates=r),null!=e.start_context.translations&&(e.passages[0].translations=e.start_context.translations),null==e.absolute_indices&&(e.absolute_indices=this.get_absolute_indices(e.indices)),this.set_context_from_object(a,["b","c","v"],e.passages[0].start),s.push(e),[s,a]}bv(e,s,a){var r,n,i;return e.start_context=t.shallow_clone(a),[r,i]=e.value,n={indices:e.indices,value:[{type:"bc",value:[r,{type:"c",value:[{type:"integer",value:1}]}]},i]},[[n],a]=this.bcv(n,[],a),e.passages=n.passages,null==e.absolute_indices&&(e.absolute_indices=this.get_absolute_indices(e.indices)),s.push(e),[s,a]}c(e,s,a){var r,n;return e.start_context=t.shallow_clone(a),r="integer"===e.type?e.value:this.pluck("integer",e.value).value,!(n=this.validate_ref(e.start_context.translations,{b:a.b,c:r})).valid&&n.messages.start_chapter_not_exist_in_single_chapter_book?this.v(e,s,a):([r]=this.fix_start_zeroes(n,r),e.passages=[{start:{b:a.b,c:r},end:{b:a.b,c:r},valid:n}],null!=e.start_context.translations&&(e.passages[0].translations=e.start_context.translations),s.push(e),a.c=r,this.reset_context(a,["v"]),null==e.absolute_indices&&(e.absolute_indices=this.get_absolute_indices(e.indices)),[s,a])}c_psalm(e,s,t){var a;return e.type="bc",a=parseInt(this.books[e.value].value.match(/^\d+/)[0],10),e.value=[{type:"b",value:e.value,indices:e.indices},{type:"c",value:[{type:"integer",value:a,indices:e.indices}],indices:e.indices}],this.bc(e,s,t)}c_title(e,s,a){var r;return e.start_context=t.shallow_clone(a),"Ps"!==a.b?this.c(e.value[0],s,a):(r=this.pluck("title",e.value),e.value[1]={type:"v",value:[{type:"integer",value:1,indices:r.indices}],indices:r.indices},e.type="cv",this.cv(e,s,e.start_context))}cv(e,s,a){var r,n,i;return e.start_context=t.shallow_clone(a),r=this.pluck("c",e.value).value,n=this.pluck("v",e.value).value,i=this.validate_ref(e.start_context.translations,{b:a.b,c:r,v:n}),[r,n]=this.fix_start_zeroes(i,r,n),e.passages=[{start:{b:a.b,c:r,v:n},end:{b:a.b,c:r,v:n},valid:i}],null!=e.start_context.translations&&(e.passages[0].translations=e.start_context.translations),s.push(e),a.c=r,a.v=n,null==e.absolute_indices&&(e.absolute_indices=this.get_absolute_indices(e.indices)),[s,a]}cb_range(e,s,t){var a,r,n;return e.type="range",[a,n,r]=e.value,e.value=[{type:"bc",value:[a,n],indices:e.indices},r],r.indices[1]=e.indices[1],this.range(e,s,t)}context(e,s,a){var n,i;for(n in e.start_context=t.shallow_clone(a),e.passages=[],i=this.books[e.value].context)r.call(i,n)&&(a[n]=this.books[e.value].context[n]);return s.push(e),[s,a]}cv_psalm(e,s,a){var r,n,i;return e.start_context=t.shallow_clone(a),e.type="bcv",[n,i]=e.value,[[r]]=this.c_psalm(n,[],e.start_context),e.value=[r,i],this.bcv(e,s,a)}ff(e,s,a){return e.start_context=t.shallow_clone(a),e.value.push({type:"integer",indices:e.indices,value:999}),[[e],a]=this.range(e,[],e.start_context),e.value[0].indices=e.value[1].indices,e.value[0].absolute_indices=e.value[1].absolute_indices,e.value.pop(),null!=e.passages[0].valid.messages.end_verse_not_exist&&delete e.passages[0].valid.messages.end_verse_not_exist,null!=e.passages[0].valid.messages.end_chapter_not_exist&&delete e.passages[0].valid.messages.end_chapter_not_exist,null!=e.passages[0].end.original_c&&delete e.passages[0].end.original_c,s.push(e),[s,a]}integer_title(e,s,a){return e.start_context=t.shallow_clone(a),"Ps"!==a.b?this.integer(e.value[0],s,a):(e.value[0]={type:"c",value:[e.value[0]],indices:[e.value[0].indices[0],e.value[0].indices[1]]},e.value[1].type="v",e.value[1].original_type="title",e.value[1].value=[{type:"integer",value:1,indices:e.value[1].value.indices}],e.type="cv",this.cv(e,s,e.start_context))}integer(e,s,t){return null!=t.v?this.v(e,s,t):this.c(e,s,t)}next_v(e,s,a){var r,n;return e.start_context=t.shallow_clone(a),null==(r=this.pluck_last_recursively("integer",e.value))&&(r={value:1}),e.value.push({type:"integer",indices:e.indices,value:r.value+1}),[[n],a]=this.range(e,[],e.start_context),null!=n.passages[0].valid.messages.end_verse_not_exist&&null==n.passages[0].valid.messages.start_verse_not_exist&&null==n.passages[0].valid.messages.start_chapter_not_exist&&null!=a.c&&(e.value.pop(),e.value.push({type:"cv",indices:e.indices,value:[{type:"c",value:[{type:"integer",value:a.c+1,indices:e.indices}],indices:e.indices},{type:"v",value:[{type:"integer",value:1,indices:e.indices}],indices:e.indices}]}),[[n],a]=this.range(e,[],e.start_context)),n.value[0].indices=n.value[1].indices,n.value[0].absolute_indices=n.value[1].absolute_indices,n.value.pop(),null!=n.passages[0].valid.messages.end_verse_not_exist&&delete n.passages[0].valid.messages.end_verse_not_exist,null!=n.passages[0].valid.messages.end_chapter_not_exist&&delete n.passages[0].valid.messages.end_chapter_not_exist,null!=n.passages[0].end.original_c&&delete n.passages[0].end.original_c,s.push(n),[s,a]}sequence(e,s,a){var r,n,i,o,l,u,c,p,h;for(e.start_context=t.shallow_clone(a),e.passages=[],r=0,i=(c=e.value).length;r<i;r++)for(l=c[r],[[u],a]=this.handle_array(l,[],a),n=0,o=(p=u.passages).length;n<o;n++)null==(h=p[n]).type&&(h.type=u.type),null==h.absolute_indices&&(h.absolute_indices=u.absolute_indices),null!=u.start_context.translations&&(h.translations=u.start_context.translations),h.enclosed_absolute_indices="sequence_post_enclosed"===u.type?u.absolute_indices:[-1,-1],e.passages.push(h);return null==e.absolute_indices&&(e.passages.length>0&&"sequence"===e.type?e.absolute_indices=[e.passages[0].absolute_indices[0],e.passages[e.passages.length-1].absolute_indices[1]]:e.absolute_indices=this.get_absolute_indices(e.indices)),s.push(e),[s,a]}sequence_post_enclosed(e,s,t){return this.sequence(e,s,t)}v(e,s,a){var r,n,i,o;return i="integer"===e.type?e.value:this.pluck("integer",e.value).value,e.start_context=t.shallow_clone(a),r=null!=a.c?a.c:1,o=this.validate_ref(e.start_context.translations,{b:a.b,c:r,v:i}),[n,i]=this.fix_start_zeroes(o,0,i),e.passages=[{start:{b:a.b,c:r,v:i},end:{b:a.b,c:r,v:i},valid:o}],null!=e.start_context.translations&&(e.passages[0].translations=e.start_context.translations),null==e.absolute_indices&&(e.absolute_indices=this.get_absolute_indices(e.indices)),s.push(e),a.v=i,[s,a]}range(e,s,a){var r,n,i,o,l,u,c,p,h,g,x;return e.start_context=t.shallow_clone(a),[h,r]=e.value,[[h],a]=this.handle_obj(h,[],a),"v"!==r.type||("bc"!==h.type||(null!=(i=h.passages)&&null!=(o=i[0])&&null!=(l=o.valid)&&null!=(u=l.messages)?u.start_chapter_not_exist_in_single_chapter_book:void 0))&&"c"!==h.type||"verse"!==this.options.end_range_digits_strategy?([[r],a]=this.handle_obj(r,[],a),e.value=[h,r],e.indices=[h.indices[0],r.indices[1]],delete e.absolute_indices,g={b:h.passages[0].start.b,c:h.passages[0].start.c,v:h.passages[0].start.v,type:h.type},n={b:r.passages[0].end.b,c:r.passages[0].end.c,v:r.passages[0].end.v,type:r.type},r.passages[0].valid.messages.start_chapter_is_zero&&(n.c=0),r.passages[0].valid.messages.start_verse_is_zero&&(n.v=0),(x=this.validate_ref(e.start_context.translations,g,n)).valid?([c,p]=this.range_handle_valid(x,e,h,g,r,n,s),c?p:(null==e.absolute_indices&&(e.absolute_indices=this.get_absolute_indices(e.indices)),e.passages=[{start:g,end:n,valid:x}],null!=e.start_context.translations&&(e.passages[0].translations=e.start_context.translations),"b"===g.type?"b"===n.type?e.type="b_range":e.type="b_range_start":"b"===n.type&&(e.type="range_end_b"),s.push(e),[s,a])):this.range_handle_invalid(x,e,h,g,r,n,s)):(e.value[0]=h,this.range_change_integer_end(e,s))}range_change_end(e,s,t){var a,r,n;return[n,a]=e.value,"integer"===a.type?(a.original_value=a.value,a.value=t):"v"===a.type?((r=this.pluck("integer",a.value)).original_value=r.value,r.value=t):"cv"===a.type&&((r=this.pluck("c",a.value)).original_value=r.value,r.value=t),this.handle_obj(e,s,e.start_context)}range_change_integer_end(e,s){var t,a;return[a,t]=e.value,null==e.original_type&&(e.original_type=e.type),null==e.original_value&&(e.original_value=[a,t]),e.type="integer"===a.type?"cv":a.type+"v","integer"===a.type&&(e.value[0]={type:"c",value:[a],indices:a.indices}),"integer"===t.type&&(e.value[1]={type:"v",value:[t],indices:t.indices}),this.handle_obj(e,s,e.start_context)}range_check_new_end(e,s,t,a){var r,n,i;return r=0,i=null,a.messages.end_chapter_before_start?i="c":a.messages.end_verse_before_start&&(i="v"),null!=i&&(r=this.range_get_new_end_value(s,t,a,i)),r>0&&((n={b:t.b,c:t.c,v:t.v})[i]=r,this.validate_ref(e,n).valid||(r=0)),r}range_end_b(e,s,t){return this.range(e,s,t)}range_get_new_end_value(e,s,t,a){var r;return r=0,"c"===a&&t.messages.end_chapter_is_zero||"v"===a&&t.messages.end_verse_is_zero||(e[a]>=10&&s[a]<10&&e[a]-10*Math.floor(e[a]/10)<s[a]?r=s[a]+10*Math.floor(e[a]/10):e[a]>=100&&s[a]<100&&e[a]-100<s[a]&&(r=s[a]+100)),r}range_handle_invalid(e,s,t,a,r,n,i){var o,l;return(!1===e.valid&&(e.messages.end_chapter_before_start||e.messages.end_verse_before_start)&&("integer"===r.type||"v"===r.type)||!1===e.valid&&e.messages.end_chapter_before_start&&"cv"===r.type)&&(o=this.range_check_new_end(s.start_context.translations,a,n,e))>0?this.range_change_end(s,i,o):"verse"!==this.options.end_range_digits_strategy||null!=a.v||"integer"!==r.type&&"v"!==r.type||(l="v"===r.type?this.pluck("integer",r.value):r.value,!this.validate_ref(s.start_context.translations,{b:a.b,c:a.c,v:l}).valid)?(null==s.original_type&&(s.original_type=s.type),s.type="sequence",[s.original_value,s.value]=[[t,r],[[t],[r]]],this.sequence(s,i,s.start_context)):this.range_change_integer_end(s,i)}range_handle_valid(e,s,t,a,r,n,i){var o;return e.messages.end_chapter_not_exist&&"verse"===this.options.end_range_digits_strategy&&null==a.v&&("integer"===r.type||"v"===r.type)&&this.options.passage_existence_strategy.indexOf("v")>=0&&(o="v"===r.type?this.pluck("integer",r.value):r.value,this.validate_ref(s.start_context.translations,{b:a.b,c:a.c,v:o}).valid)?[!0,this.range_change_integer_end(s,i)]:(this.range_validate(e,a,n,s),[!1,null])}range_validate(e,s,t,a){return e.messages.end_chapter_not_exist||e.messages.end_chapter_not_exist_in_single_chapter_book?(t.original_c=t.c,t.c=e.messages.end_chapter_not_exist?e.messages.end_chapter_not_exist:e.messages.end_chapter_not_exist_in_single_chapter_book,null!=t.v&&(t.v=this.validate_ref(a.start_context.translations,{b:t.b,c:t.c,v:999}).messages.end_verse_not_exist,delete e.messages.end_verse_is_zero)):e.messages.end_verse_not_exist&&(t.original_v=t.v,t.v=e.messages.end_verse_not_exist),e.messages.end_verse_is_zero&&"allow"!==this.options.zero_verse_strategy&&(t.v=e.messages.end_verse_is_zero),e.messages.end_chapter_is_zero&&(t.c=e.messages.end_chapter_is_zero),[s.c,s.v]=this.fix_start_zeroes(e,s.c,s.v),!0}translation_sequence(e,s,a){var r,n,i,o,l,u,c,p;for(e.start_context=t.shallow_clone(a),(c=[]).push({translation:this.books[e.value[0].value].parsed}),r=0,i=(l=e.value[1]).length;r<i;r++)p=l[r],null!=(p=this.books[this.pluck("translation",p).value].parsed)&&c.push({translation:p});for(n=0,o=c.length;n<o;n++)u=c[n],null!=this.translations.aliases[u.translation]?(u.alias=this.translations.aliases[u.translation].alias,u.osis=this.translations.aliases[u.translation].osis||u.translation.toUpperCase()):(u.alias="default",u.osis=u.translation.toUpperCase());return s.length>0&&(a=this.translation_sequence_apply(s,c)),null==e.absolute_indices&&(e.absolute_indices=this.get_absolute_indices(e.indices)),s.push(e),this.reset_context(a,["translations"]),[s,a]}translation_sequence_apply(e,s){var a,r,n,i,o,l;for(l=0,r=n=o=e.length-1;o<=0?n<=0:n>=0;r=o<=0?++n:--n)if(null!=e[r].original_type&&(e[r].type=e[r].original_type),null!=e[r].original_value&&(e[r].value=e[r].original_value),"translation_sequence"===e[r].type){l=r+1;break}return l<e.length?(e[l].start_context.translations=s,[i,a]=this.handle_array(e.slice(l),[],e[l].start_context)):a=t.shallow_clone(e[e.length-1].start_context),a}pluck(e,s){var t,a,r;for(t=0,a=s.length;t<a;t++)if(null!=(r=s[t])&&null!=r.type&&r.type===e)return"c"===e||"v"===e?this.pluck("integer",r.value):r;return null}pluck_last_recursively(e,s){var t,a,r;for(t=s.length-1;t>=0;t+=-1)if(null!=(a=s[t])&&null!=a.type){if(a.type===e)return this.pluck(e,[a]);if(null!=(r=this.pluck_last_recursively(e,a.value)))return r}return null}set_context_from_object(e,s,t){var a,r,n,i;for(n=[],a=0,r=s.length;a<r;a++)null!=t[i=s[a]]&&n.push(e[i]=t[i]);return n}reset_context(e,s){var t,a,r,n;for(r=[],t=0,a=s.length;t<a;t++)n=s[t],r.push(delete e[n]);return r}fix_start_zeroes(e,s,t){return e.messages.start_chapter_is_zero&&"upgrade"===this.options.zero_chapter_strategy&&(s=e.messages.start_chapter_is_zero),e.messages.start_verse_is_zero&&"upgrade"===this.options.zero_verse_strategy&&(t=e.messages.start_verse_is_zero),[s,t]}calculate_indices(e,s){var t,a,r,n,i,o,l,u,c,p,h,g,x,_,d,f;for(d="book",r=[],p=0,s=parseInt(s,10),x=[e],n=0,o=(_=["",""]).length;n<o;n++){for(t=_[n],f=[],i=0,l=x.length;i<l;i++)h=x[i],f=f.concat(h.split(t));x=f}for(c=0,u=x.length;c<u;c++)d="book"===d?"rest":"book",0!==(g=(h=x[c]).length)&&("book"===d?(h=h.replace(/\/\d+$/,""),a=p+g,r.length>0&&r[r.length-1].index===s?r[r.length-1].end=a:r.push({start:p,end:a,index:s}),p+=g+2,s=this.books[h].start_index+this.books[h].value.length-p,r.push({start:a+1,end:a+1,index:s})):(a=p+g-1,r.length>0&&r[r.length-1].index===s?r[r.length-1].end=a:r.push({start:p,end:a,index:s}),p+=g));return r}get_absolute_indices([e,s]){var t,a,r,n,i,o;for(o=null,t=null,r=0,n=(i=this.indices).length;r<n;r++)if(a=i[r],null===o&&a.start<=e&&e<=a.end&&(o=e+a.index),a.start<=s&&s<=a.end){t=s+a.index+1;break}return[o,t]}validate_ref(e,s,t){var a,r,n,i,o,l;for(null!=e&&e.length>0||(e=[{translation:"default",osis:"",alias:"default"}]),l=!1,n={},a=0,r=e.length;a<r;a++)null==(o=e[a]).alias&&(o.alias="default"),null!=o.alias?(null==this.translations.aliases[o.alias]&&(o.alias="default",null==n.translation_unknown&&(n.translation_unknown=[]),n.translation_unknown.push(o)),[i]=this.validate_start_ref(o.alias,s,n),t&&([i]=this.validate_end_ref(o.alias,s,t,i,n)),!0===i&&(l=!0)):(null==n.translation_invalid&&(n.translation_invalid=[]),n.translation_invalid.push(o));return{valid:l,messages:n}}validate_start_ref(e,s,t){var a,r,n,i;if(i=!0,"default"!==e&&null==(null!=(a=this.translations[e])?a.chapters[s.b]:void 0)&&this.promote_book_to_translation(s.b,e),n=null!=(null!=(r=this.translations[e])?r.order:void 0)?e:"default",null!=s.v&&(s.v=parseInt(s.v,10)),null!=this.translations[n].order[s.b]){if(null==s.c&&(s.c=1),s.c=parseInt(s.c,10),isNaN(s.c))return i=!1,t.start_chapter_not_numeric=!0,[i,t];0===s.c&&(t.start_chapter_is_zero=1,"error"===this.options.zero_chapter_strategy?i=!1:s.c=1),null!=s.v&&0===s.v&&(t.start_verse_is_zero=1,"error"===this.options.zero_verse_strategy?i=!1:"upgrade"===this.options.zero_verse_strategy&&(s.v=1)),s.c>0&&null!=this.translations[e].chapters[s.b][s.c-1]?null!=s.v?isNaN(s.v)?(i=!1,t.start_verse_not_numeric=!0):s.v>this.translations[e].chapters[s.b][s.c-1]&&this.options.passage_existence_strategy.indexOf("v")>=0&&(i=!1,t.start_verse_not_exist=this.translations[e].chapters[s.b][s.c-1]):1===s.c&&"verse"===this.options.single_chapter_1_strategy&&1===this.translations[e].chapters[s.b].length&&(t.start_chapter_1=1):1!==s.c&&1===this.translations[e].chapters[s.b].length?(i=!1,t.start_chapter_not_exist_in_single_chapter_book=1):s.c>0&&this.options.passage_existence_strategy.indexOf("c")>=0&&(i=!1,t.start_chapter_not_exist=this.translations[e].chapters[s.b].length)}else null==s.b?(i=!1,t.start_book_not_defined=!0):(this.options.passage_existence_strategy.indexOf("b")>=0&&(i=!1),t.start_book_not_exist=!0);return[i,t]}validate_end_ref(e,s,t,a,r){var n,i;return i=null!=(null!=(n=this.translations[e])?n.order:void 0)?e:"default",null!=t.c&&(t.c=parseInt(t.c,10),isNaN(t.c)?(a=!1,r.end_chapter_not_numeric=!0):0===t.c&&(r.end_chapter_is_zero=1,"error"===this.options.zero_chapter_strategy?a=!1:t.c=1)),null!=t.v&&(t.v=parseInt(t.v,10),isNaN(t.v)?(a=!1,r.end_verse_not_numeric=!0):0===t.v&&(r.end_verse_is_zero=1,"error"===this.options.zero_verse_strategy?a=!1:"upgrade"===this.options.zero_verse_strategy&&(t.v=1))),null!=this.translations[i].order[t.b]?(null==t.c&&1===this.translations[e].chapters[t.b].length&&(t.c=1),null!=this.translations[i].order[s.b]&&this.translations[i].order[s.b]>this.translations[i].order[t.b]&&(this.options.passage_existence_strategy.indexOf("b")>=0&&(a=!1),r.end_book_before_start=!0),s.b!==t.b||null==t.c||isNaN(t.c)||(null==s.c&&(s.c=1),!isNaN(parseInt(s.c,10))&&s.c>t.c?(a=!1,r.end_chapter_before_start=!0):s.c!==t.c||null==t.v||isNaN(t.v)||(null==s.v&&(s.v=1),!isNaN(parseInt(s.v,10))&&s.v>t.v&&(a=!1,r.end_verse_before_start=!0))),null==t.c||isNaN(t.c)||null==this.translations[e].chapters[t.b][t.c-1]&&(1===this.translations[e].chapters[t.b].length?r.end_chapter_not_exist_in_single_chapter_book=1:t.c>0&&this.options.passage_existence_strategy.indexOf("c")>=0&&(r.end_chapter_not_exist=this.translations[e].chapters[t.b].length)),null==t.v||isNaN(t.v)||(null==t.c&&(t.c=this.translations[e].chapters[t.b].length),t.v>this.translations[e].chapters[t.b][t.c-1]&&this.options.passage_existence_strategy.indexOf("v")>=0&&(r.end_verse_not_exist=this.translations[e].chapters[t.b][t.c-1]))):(a=!1,r.end_book_not_exist=!0),[a,r]}promote_book_to_translation(e,s){var a,r;if(null==(a=this.translations)[s]&&(a[s]={}),null==(r=this.translations[s]).chapters&&(r.chapters={}),null==this.translations[s].chapters[e])return this.translations[s].chapters[e]=t.shallow_clone_array(this.translations.default.chapters[e])}}return e.prototype.books=[],e.prototype.indices={},e.prototype.options={},e.prototype.translations={},e}.call(this),t={shallow_clone:function(e){var s,t,a;if(null==e)return e;for(s in t={},e)r.call(e,s)&&(a=e[s],t[s]=a);return t},shallow_clone_array:function(e){var s,t,a,r;if(null==e)return e;for(a=[],s=t=0,r=e.length;0<=r?t<=r:t>=r;s=0<=r?++t:--t)void 0!==e[s]&&(a[s]=e[s]);return a}},e.prototype.regexps.translations=/(?:(?:LUTH(?:1545|ER)|SCH(?:200|195)0|HFA|ELB))\b/gi,e.prototype.translations={aliases:{default:{osis:"",alias:"default"}},alternates:{},default:{order:{Gen:1,Exod:2,Lev:3,Num:4,Deut:5,Josh:6,Judg:7,Ruth:8,"1Sam":9,"2Sam":10,"1Kgs":11,"2Kgs":12,"1Chr":13,"2Chr":14,Ezra:15,Neh:16,Esth:17,Job:18,Ps:19,Prov:20,Eccl:21,Song:22,Isa:23,Jer:24,Lam:25,Ezek:26,Dan:27,Hos:28,Joel:29,Amos:30,Obad:31,Jonah:32,Mic:33,Nah:34,Hab:35,Zeph:36,Hag:37,Zech:38,Mal:39,Matt:40,Mark:41,Luke:42,John:43,Acts:44,Rom:45,"1Cor":46,"2Cor":47,Gal:48,Eph:49,Phil:50,Col:51,"1Thess":52,"2Thess":53,"1Tim":54,"2Tim":55,Titus:56,Phlm:57,Heb:58,Jas:59,"1Pet":60,"2Pet":61,"1John":62,"2John":63,"3John":64,Jude:65,Rev:66,Tob:67,Jdt:68,GkEsth:69,Wis:70,Sir:71,Bar:72,PrAzar:73,Sus:74,Bel:75,SgThree:76,EpJer:77,"1Macc":78,"2Macc":79,"3Macc":80,"4Macc":81,"1Esd":82,"2Esd":83,PrMan:84},chapters:{Gen:[31,25,24,26,32,22,24,22,29,32,32,20,18,24,21,16,27,33,38,18,34,24,20,67,34,35,46,22,35,43,55,32,20,31,29,43,36,30,23,23,57,38,34,34,28,34,31,22,33,26],Exod:[22,25,22,31,23,30,25,32,35,29,10,51,22,31,27,36,16,27,25,26,36,31,33,18,40,37,21,43,46,38,18,35,23,35,35,38,29,31,43,38],Lev:[17,16,17,35,19,30,38,36,24,20,47,8,59,57,33,34,16,30,37,27,24,33,44,23,55,46,34],Num:[54,34,51,49,31,27,89,26,23,36,35,16,33,45,41,50,13,32,22,29,35,41,30,25,18,65,23,31,40,16,54,42,56,29,34,13],Deut:[46,37,29,49,33,25,26,20,29,22,32,32,18,29,23,22,20,22,21,20,23,30,25,22,19,19,26,68,29,20,30,52,29,12],Josh:[18,24,17,24,15,27,26,35,27,43,23,24,33,15,63,10,18,28,51,9,45,34,16,33],Judg:[36,23,31,24,31,40,25,35,57,18,40,15,25,20,20,31,13,31,30,48,25],Ruth:[22,23,18,22],"1Sam":[28,36,21,22,12,21,17,22,27,27,15,25,23,52,35,23,58,30,24,42,15,23,29,22,44,25,12,25,11,31,13],"2Sam":[27,32,39,12,25,23,29,18,13,19,27,31,39,33,37,23,29,33,43,26,22,51,39,25],"1Kgs":[53,46,28,34,18,38,51,66,28,29,43,33,34,31,34,34,24,46,21,43,29,53],"2Kgs":[18,25,27,44,27,33,20,29,37,36,21,21,25,29,38,20,41,37,37,21,26,20,37,20,30],"1Chr":[54,55,24,43,26,81,40,40,44,14,47,40,14,17,29,43,27,17,19,8,30,19,32,31,31,32,34,21,30],"2Chr":[17,18,17,22,14,42,22,18,31,19,23,16,22,15,19,14,19,34,11,37,20,12,21,27,28,23,9,27,36,27,21,33,25,33,27,23],Ezra:[11,70,13,24,17,22,28,36,15,44],Neh:[11,20,32,23,19,19,73,18,38,39,36,47,31],Esth:[22,23,15,17,14,14,10,17,32,3],Job:[22,13,26,21,27,30,21,22,35,22,20,25,28,22,35,22,16,21,29,29,34,30,17,25,6,14,23,28,25,31,40,22,33,37,16,33,24,41,30,24,34,17],Ps:[6,12,8,8,12,10,17,9,20,18,7,8,6,7,5,11,15,50,14,9,13,31,6,10,22,12,14,9,11,12,24,11,22,22,28,12,40,22,13,17,13,11,5,26,17,11,9,14,20,23,19,9,6,7,23,13,11,11,17,12,8,12,11,10,13,20,7,35,36,5,24,20,28,23,10,12,20,72,13,19,16,8,18,12,13,17,7,18,52,17,16,15,5,23,11,13,12,9,9,5,8,28,22,35,45,48,43,13,31,7,10,10,9,8,18,19,2,29,176,7,8,9,4,8,5,6,5,6,8,8,3,18,3,3,21,26,9,8,24,13,10,7,12,15,21,10,20,14,9,6],Prov:[33,22,35,27,23,35,27,36,18,32,31,28,25,35,33,33,28,24,29,30,31,29,35,34,28,28,27,28,27,33,31],Eccl:[18,26,22,16,20,12,29,17,18,20,10,14],Song:[17,17,11,16,16,13,13,14],Isa:[31,22,26,6,30,13,25,22,21,34,16,6,22,32,9,14,14,7,25,6,17,25,18,23,12,21,13,29,24,33,9,20,24,17,10,22,38,22,8,31,29,25,28,28,25,13,15,22,26,11,23,15,12,17,13,12,21,14,21,22,11,12,19,12,25,24],Jer:[19,37,25,31,31,30,34,22,26,25,23,17,27,22,21,21,27,23,15,18,14,30,40,10,38,24,22,17,32,24,40,44,26,22,19,32,21,28,18,16,18,22,13,30,5,28,7,47,39,46,64,34],Lam:[22,22,66,22,22],Ezek:[28,10,27,17,17,14,27,18,11,22,25,28,23,23,8,63,24,32,14,49,32,31,49,27,17,21,36,26,21,26,18,32,33,31,15,38,28,23,29,49,26,20,27,31,25,24,23,35],Dan:[21,49,30,37,31,28,28,27,27,21,45,13],Hos:[11,23,5,19,15,11,16,14,17,15,12,14,16,9],Joel:[20,32,21],Amos:[15,16,15,13,27,14,17,14,15],Obad:[21],Jonah:[17,10,10,11],Mic:[16,13,12,13,15,16,20],Nah:[15,13,19],Hab:[17,20,19],Zeph:[18,15,20],Hag:[15,23],Zech:[21,13,10,14,11,15,14,23,17,12,17,14,9,21],Mal:[14,17,18,6],Matt:[25,23,17,25,48,34,29,34,38,42,30,50,58,36,39,28,27,35,30,34,46,46,39,51,46,75,66,20],Mark:[45,28,35,41,43,56,37,38,50,52,33,44,37,72,47,20],Luke:[80,52,38,44,39,49,50,56,62,42,54,59,35,35,32,31,37,43,48,47,38,71,56,53],John:[51,25,36,54,47,71,53,59,41,42,57,50,38,31,27,33,26,40,42,31,25],Acts:[26,47,26,37,42,15,60,40,43,48,30,25,52,28,41,40,34,28,41,38,40,30,35,27,27,32,44,31],Rom:[32,29,31,25,21,23,25,39,33,21,36,21,14,23,33,27],"1Cor":[31,16,23,21,13,20,40,13,27,33,34,31,13,40,58,24],"2Cor":[24,17,18,18,21,18,16,24,15,18,33,21,14],Gal:[24,21,29,31,26,18],Eph:[23,22,21,32,33,24],Phil:[30,30,21,23],Col:[29,23,25,18],"1Thess":[10,20,13,18,28],"2Thess":[12,17,18],"1Tim":[20,15,16,16,25,21],"2Tim":[18,26,17,22],Titus:[16,15,15],Phlm:[25],Heb:[14,18,19,16,14,20,28,13,28,39,40,29,25],Jas:[27,26,18,17,20],"1Pet":[25,25,22,19,14],"2Pet":[21,22,18],"1John":[10,29,24,21,21],"2John":[13],"3John":[15],Jude:[25],Rev:[20,29,22,11,14,17,17,13,21,11,19,17,18,20,8,21,18,24,21,15,27,21],Tob:[22,14,17,21,22,18,16,21,6,13,18,22,17,15],Jdt:[16,28,10,15,24,21,32,36,14,23,23,20,20,19,14,25],GkEsth:[22,23,15,17,14,14,10,17,32,13,12,6,18,19,16,24],Wis:[16,24,19,20,23,25,30,21,18,21,26,27,19,31,19,29,21,25,22],Sir:[30,18,31,31,15,37,36,19,18,31,34,18,26,27,20,30,32,33,30,31,28,27,27,34,26,29,30,26,28,25,31,24,33,31,26,31,31,34,35,30,22,25,33,23,26,20,25,25,16,29,30],Bar:[22,35,37,37,9],PrAzar:[68],Sus:[64],Bel:[42],SgThree:[39],EpJer:[73],"1Macc":[64,70,60,61,68,63,50,32,73,89,74,53,53,49,41,24],"2Macc":[36,32,40,50,27,31,42,36,29,38,38,45,26,46,39],"3Macc":[29,33,30,21,51,41,23],"4Macc":[35,24,21,26,38,35,23,29,32,21,27,19,27,20,32,25,24,24],"1Esd":[58,30,24,63,73,34,15,96,55],"2Esd":[40,48,36,52,56,59,70,63,47,59,46,51,58,48,63,78],PrMan:[15],Ps151:[7]}},vulgate:{chapters:{Gen:[31,25,24,26,32,22,24,22,29,32,32,20,18,24,21,16,27,33,38,18,34,24,20,67,34,35,46,22,35,43,55,32,20,31,29,43,36,30,23,23,57,38,34,34,28,34,31,22,32,25],Exod:[22,25,22,31,23,30,25,32,35,29,10,51,22,31,27,36,16,27,25,26,36,31,33,18,40,37,21,43,46,38,18,35,23,35,35,38,29,31,43,36],Lev:[17,16,17,35,19,30,38,36,24,20,47,8,59,57,33,34,16,30,37,27,24,33,44,23,55,45,34],Num:[54,34,51,49,31,27,89,26,23,36,34,15,34,45,41,50,13,32,22,30,35,41,30,25,18,65,23,31,39,17,54,42,56,29,34,13],Josh:[18,24,17,25,16,27,26,35,27,44,23,24,33,15,63,10,18,28,51,9,43,34,16,33],Judg:[36,23,31,24,32,40,25,35,57,18,40,15,25,20,20,31,13,31,30,48,24],"1Sam":[28,36,21,22,12,21,17,22,27,27,15,25,23,52,35,23,58,30,24,43,15,23,28,23,44,25,12,25,11,31,13],"1Kgs":[53,46,28,34,18,38,51,66,28,29,43,33,34,31,34,34,24,46,21,43,29,54],"1Chr":[54,55,24,43,26,81,40,40,44,14,46,40,14,17,29,43,27,17,19,7,30,19,32,31,31,32,34,21,30],Neh:[11,20,31,23,19,19,73,18,38,39,36,46,31],Job:[22,13,26,21,27,30,21,22,35,22,20,25,28,22,35,23,16,21,29,29,34,30,17,25,6,14,23,28,25,31,40,22,33,37,16,33,24,41,35,28,25,16],Ps:[6,13,9,10,13,11,18,10,39,8,9,6,7,5,10,15,51,15,10,14,32,6,10,22,12,14,9,11,13,25,11,22,23,28,13,40,23,14,18,14,12,5,26,18,12,10,15,21,23,21,11,7,9,24,13,12,12,18,14,9,13,12,11,14,20,8,36,37,6,24,20,28,23,11,13,21,72,13,20,17,8,19,13,14,17,7,19,53,17,16,16,5,23,11,13,12,9,9,5,8,29,22,35,45,48,43,14,31,7,10,10,9,26,9,10,2,29,176,7,8,9,4,8,5,6,5,6,8,8,3,18,3,3,21,26,9,8,24,14,10,8,12,15,21,10,11,9,14,9,6],Eccl:[18,26,22,17,19,11,30,17,18,20,10,14],Song:[16,17,11,16,17,12,13,14],Jer:[19,37,25,31,31,30,34,22,26,25,23,17,27,22,21,21,27,23,15,18,14,30,40,10,38,24,22,17,32,24,40,44,26,22,19,32,20,28,18,16,18,22,13,30,5,28,7,47,39,46,64,34],Ezek:[28,9,27,17,17,14,27,18,11,22,25,28,23,23,8,63,24,32,14,49,32,31,49,27,17,21,36,26,21,26,18,32,33,31,15,38,28,23,29,49,26,20,27,31,25,24,23,35],Dan:[21,49,100,34,31,28,28,27,27,21,45,13,65,42],Hos:[11,24,5,19,15,11,16,14,17,15,12,14,15,10],Amos:[15,16,15,13,27,15,17,14,14],Jonah:[16,11,10,11],Mic:[16,13,12,13,14,16,20],Hag:[14,24],Matt:[25,23,17,25,48,34,29,34,38,42,30,50,58,36,39,28,26,35,30,34,46,46,39,51,46,75,66,20],Mark:[45,28,35,40,43,56,37,39,49,52,33,44,37,72,47,20],John:[51,25,36,54,47,72,53,59,41,42,57,50,38,31,27,33,26,40,42,31,25],Acts:[26,47,26,37,42,15,59,40,43,48,30,25,52,27,41,40,34,28,40,38,40,30,35,27,27,32,44,31],"2Cor":[24,17,18,18,21,18,16,24,15,18,33,21,13],Rev:[20,29,22,11,14,17,17,13,21,11,19,18,18,20,8,21,18,24,21,15,27,21],Tob:[25,23,25,23,28,22,20,24,12,13,21,22,23,17],Jdt:[12,18,15,17,29,21,25,34,19,20,21,20,31,18,15,31],Wis:[16,25,19,20,24,27,30,21,19,21,27,27,19,31,19,29,20,25,20],Sir:[40,23,34,36,18,37,40,22,25,34,36,19,32,27,22,31,31,33,28,33,31,33,38,47,36,28,33,30,35,27,42,28,33,31,26,28,34,39,41,32,28,26,37,27,31,23,31,28,19,31,38,13],Bar:[22,35,38,37,9,72],"1Macc":[67,70,60,61,68,63,50,32,73,89,74,54,54,49,41,24],"2Macc":[36,33,40,50,27,31,42,36,29,38,38,46,26,46,40]}},ceb:{chapters:{"2Cor":[24,17,18,18,21,18,16,24,15,18,33,21,13],Rev:[20,29,22,11,14,17,17,13,21,11,19,18,18,20,8,21,18,24,21,15,27,21],Tob:[22,14,17,21,22,18,16,21,6,13,18,22,18,15],PrAzar:[67],EpJer:[72],"1Esd":[55,26,24,63,71,33,15,92,55]}},kjv:{chapters:{"3John":[14]}},nab:{order:{Gen:1,Exod:2,Lev:3,Num:4,Deut:5,Josh:6,Judg:7,Ruth:8,"1Sam":9,"2Sam":10,"1Kgs":11,"2Kgs":12,"1Chr":13,"2Chr":14,PrMan:15,Ezra:16,Neh:17,"1Esd":18,"2Esd":19,Tob:20,Jdt:21,Esth:22,GkEsth:23,"1Macc":24,"2Macc":25,"3Macc":26,"4Macc":27,Job:28,Ps:29,Prov:30,Eccl:31,Song:32,Wis:33,Sir:34,Isa:35,Jer:36,Lam:37,Bar:38,EpJer:39,Ezek:40,Dan:41,PrAzar:42,Sus:43,Bel:44,SgThree:45,Hos:46,Joel:47,Amos:48,Obad:49,Jonah:50,Mic:51,Nah:52,Hab:53,Zeph:54,Hag:55,Zech:56,Mal:57,Matt:58,Mark:59,Luke:60,John:61,Acts:62,Rom:63,"1Cor":64,"2Cor":65,Gal:66,Eph:67,Phil:68,Col:69,"1Thess":70,"2Thess":71,"1Tim":72,"2Tim":73,Titus:74,Phlm:75,Heb:76,Jas:77,"1Pet":78,"2Pet":79,"1John":80,"2John":81,"3John":82,Jude:83,Rev:84},chapters:{Gen:[31,25,24,26,32,22,24,22,29,32,32,20,18,24,21,16,27,33,38,18,34,24,20,67,34,35,46,22,35,43,54,33,20,31,29,43,36,30,23,23,57,38,34,34,28,34,31,22,33,26],Exod:[22,25,22,31,23,30,29,28,35,29,10,51,22,31,27,36,16,27,25,26,37,30,33,18,40,37,21,43,46,38,18,35,23,35,35,38,29,31,43,38],Lev:[17,16,17,35,26,23,38,36,24,20,47,8,59,57,33,34,16,30,37,27,24,33,44,23,55,46,34],Num:[54,34,51,49,31,27,89,26,23,36,35,16,33,45,41,35,28,32,22,29,35,41,30,25,19,65,23,31,39,17,54,42,56,29,34,13],Deut:[46,37,29,49,33,25,26,20,29,22,32,31,19,29,23,22,20,22,21,20,23,29,26,22,19,19,26,69,28,20,30,52,29,12],"1Sam":[28,36,21,22,12,21,17,22,27,27,15,25,23,52,35,23,58,30,24,42,16,23,28,23,44,25,12,25,11,31,13],"2Sam":[27,32,39,12,25,23,29,18,13,19,27,31,39,33,37,23,29,32,44,26,22,51,39,25],"1Kgs":[53,46,28,20,32,38,51,66,28,29,43,33,34,31,34,34,24,46,21,43,29,54],"2Kgs":[18,25,27,44,27,33,20,29,37,36,20,22,25,29,38,20,41,37,37,21,26,20,37,20,30],"1Chr":[54,55,24,43,41,66,40,40,44,14,47,41,14,17,29,43,27,17,19,8,30,19,32,31,31,32,34,21,30],"2Chr":[18,17,17,22,14,42,22,18,31,19,23,16,23,14,19,14,19,34,11,37,20,12,21,27,28,23,9,27,36,27,21,33,25,33,27,23],Neh:[11,20,38,17,19,19,72,18,37,40,36,47,31],Job:[22,13,26,21,27,30,21,22,35,22,20,25,28,22,35,22,16,21,29,29,34,30,17,25,6,14,23,28,25,31,40,22,33,37,16,33,24,41,30,32,26,17],Ps:[6,11,9,9,13,11,18,10,21,18,7,9,6,7,5,11,15,51,15,10,14,32,6,10,22,12,14,9,11,13,25,11,22,23,28,13,40,23,14,18,14,12,5,27,18,12,10,15,21,23,21,11,7,9,24,14,12,12,18,14,9,13,12,11,14,20,8,36,37,6,24,20,28,23,11,13,21,72,13,20,17,8,19,13,14,17,7,19,53,17,16,16,5,23,11,13,12,9,9,5,8,29,22,35,45,48,43,14,31,7,10,10,9,8,18,19,2,29,176,7,8,9,4,8,5,6,5,6,8,8,3,18,3,3,21,26,9,8,24,14,10,8,12,15,21,10,20,14,9,6],Eccl:[18,26,22,17,19,12,29,17,18,20,10,14],Song:[17,17,11,16,16,12,14,14],Isa:[31,22,26,6,30,13,25,23,20,34,16,6,22,32,9,14,14,7,25,6,17,25,18,23,12,21,13,29,24,33,9,20,24,17,10,22,38,22,8,31,29,25,28,28,25,13,15,22,26,11,23,15,12,17,13,12,21,14,21,22,11,12,19,11,25,24],Jer:[19,37,25,31,31,30,34,23,25,25,23,17,27,22,21,21,27,23,15,18,14,30,40,10,38,24,22,17,32,24,40,44,26,22,19,32,21,28,18,16,18,22,13,30,5,28,7,47,39,46,64,34],Ezek:[28,10,27,17,17,14,27,18,11,22,25,28,23,23,8,63,24,32,14,44,37,31,49,27,17,21,36,26,21,26,18,32,33,31,15,38,28,23,29,49,26,20,27,31,25,24,23,35],Dan:[21,49,100,34,30,29,28,27,27,21,45,13,64,42],Hos:[9,25,5,19,15,11,16,14,17,15,11,15,15,10],Joel:[20,27,5,21],Jonah:[16,11,10,11],Mic:[16,13,12,14,14,16,20],Nah:[14,14,19],Zech:[17,17,10,14,11,15,14,23,17,12,17,14,9,21],Mal:[14,17,24],Acts:[26,47,26,37,42,15,60,40,43,49,30,25,52,28,41,40,34,28,40,38,40,30,35,27,27,32,44,31],"2Cor":[24,17,18,18,21,18,16,24,15,18,33,21,13],Rev:[20,29,22,11,14,17,17,13,21,11,19,18,18,20,8,21,18,24,21,15,27,21],Tob:[22,14,17,21,22,18,17,21,6,13,18,22,18,15],Sir:[30,18,31,31,15,37,36,19,18,31,34,18,26,27,20,30,32,33,30,31,28,27,27,33,26,29,30,26,28,25,31,24,33,31,26,31,31,34,35,30,22,25,33,23,26,20,25,25,16,29,30],Bar:[22,35,38,37,9,72],"2Macc":[36,32,40,50,27,31,42,36,29,38,38,46,26,46,39]}},nlt:{chapters:{Rev:[20,29,22,11,14,17,17,13,21,11,19,18,18,20,8,21,18,24,21,15,27,21]}},nrsv:{chapters:{"2Cor":[24,17,18,18,21,18,16,24,15,18,33,21,13],Rev:[20,29,22,11,14,17,17,13,21,11,19,18,18,20,8,21,18,24,21,15,27,21]}}},e.prototype.languages=["de"],e.prototype.regexps.space="[\\s\\xa0]",e.prototype.regexps.escaped_passage=RegExp(`(?:^|[^\\x1f\\x1e\\dA-Za-zªµºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ])((?:(?:ch(?:apters?|a?pts?\\.?|a?p?s?\\.?)?\\s*\\d+\\s*(?:[\\u2013\\u2014\\-]|through|thru|to)\\s*\\d+\\s*(?:from|of|in)(?:\\s+the\\s+book\\s+of)?\\s*)|(?:ch(?:apters?|a?pts?\\.?|a?p?s?\\.?)?\\s*\\d+\\s*(?:from|of|in)(?:\\s+the\\s+book\\s+of)?\\s*)|(?:\\d+(?:th|nd|st)\\s*ch(?:apter|a?pt\\.?|a?p?\\.?)?\\s*(?:from|of|in)(?:\\s+the\\s+book\\s+of)?\\s*))?\\x1f(\\d+)(?:/\\d+)?\\x1f(?:/\\d+\\x1f|[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014]|Titel(?![a-z])|und${e.prototype.regexps.space}+siehe${e.prototype.regexps.space}+auch|sowie${e.prototype.regexps.space}+auch|siehe${e.prototype.regexps.space}+auch|und${e.prototype.regexps.space}+siehe|und${e.prototype.regexps.space}+auch|ff(?![a-z0-9äaöoüu])|f(?![a-z0-9äaöoüu])|Kapiteln|Kapiteln|Kapitel|Versen|Verses|siehe|sowie|Verse|Vers|Vers|Kap|bis|und|vgl|Vs|u|&|[a-e](?!\\w)|$)+)`,"gi"),e.prototype.regexps.match_end_split=/\d\W*Titel|\d\W*f(?![a-z0-9äaöoüu])(?:[\s\xa0*]*\.)?|\d\W*ff(?![a-z0-9äaöoüu])(?:[\s\xa0*]*\.)?|\d[\s\xa0*]*[a-e](?!\w)|\x1e(?:[\s\xa0*]*[)\]\uff09])?|[\d\x1f]/gi,e.prototype.regexps.control=/[\x1e\x1f]/g,e.prototype.regexps.pre_book="[^A-Za-zªµºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ]",e.prototype.regexps.first=`(?:Erste[nrs]?|1)\\.?${e.prototype.regexps.space}*`,e.prototype.regexps.second=`(?:Zweite[nrs]?|2)\\.?${e.prototype.regexps.space}*`,e.prototype.regexps.third=`(?:Dritte[nrs]?|3)\\.?${e.prototype.regexps.space}*`,e.prototype.regexps.range_and=`(?:[&–—-]|(?:und${e.prototype.regexps.space}+siehe${e.prototype.regexps.space}+auch|und${e.prototype.regexps.space}+siehe|und${e.prototype.regexps.space}+auch|sowie${e.prototype.regexps.space}+auch|siehe${e.prototype.regexps.space}+auch|siehe|sowie|und|u|&|vgl)|bis)`,e.prototype.regexps.range_only="(?:[–—-]|bis)",e.prototype.regexps.get_books=function(s,t){var a,r,n,i,o;if(r=[{osis:["Ps"],apocrypha:!0,extra:"2",regexp:/(\b)(Ps151)(?=\.1)/g},{osis:["Gen"],regexp:/(^|[^0-9A-Za-zªµºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ])((?:Erste(?:[nrs][\s\xa0]*(?:Buch[\s\xa0]*)?|[\s\xa0]*(?:Buch[\s\xa0]*)?)Mose|1\.?[\s\xa0]*Buch[\s\xa0]*Mose|G(?:enesis|n)|1\.?[\s\xa0]*Mose|1(?:\.[\s\xa0]*Mos?|[\s\xa0]*Mos?)|Gen))(?:(?=[\d\s\xa0.:,;\x1e\x1f&\(\)\uff08\uff09\[\]\/"'\*=~\-\u2013\u2014])|$)/gi},{osis:["Exod"],regexp:/(^|[^0-9A-Za-zªµºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ])((?:Zweite(?:[nrs][\s\xa0]*(?:Buch[\s\xa0]*)?|[\s\xa0]*(?:Buch[\s\xa0]*)?)Mose|2\.?[\s\xa0]*Buch[\s\xa0]*Mose|2\.?[\s\xa0]*Mose|2(?:\.[\s\xa0]*Mos?|[\s\xa0]*Mos?)|Exodus|Ex(?:od)?))(?:(?=[\d\s\xa0.:,;\x1e\x1f&\(\)\uff08\uff09\[\]\/"'\*=~\-\u2013\u2014])|$)/gi},{osis:["Bel"],apocrypha:!0,regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:Bel(?:[\\s\\xa0]*und[\\s\\xa0]*(?:Vom[\\s\\xa0]*Drachen|der?[\\s\\xa0]*Drache))?))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["Lev"],regexp:/(^|[^0-9A-Za-zªµºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ])((?:Dritte(?:[nrs][\s\xa0]*(?:Buch[\s\xa0]*)?|[\s\xa0]*(?:Buch[\s\xa0]*)?)Mose|3\.?[\s\xa0]*Buch[\s\xa0]*Mose|L(?:evitikus|v)|3\.?[\s\xa0]*Mose|3(?:\.[\s\xa0]*Mos?|[\s\xa0]*Mos?)|Lev))(?:(?=[\d\s\xa0.:,;\x1e\x1f&\(\)\uff08\uff09\[\]\/"'\*=~\-\u2013\u2014])|$)/gi},{osis:["Num"],regexp:/(^|[^0-9A-Za-zªµºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ])((?:Vierte(?:[ns][\s\xa0]*(?:Buch[\s\xa0]*)?|[\s\xa0]*(?:Buch[\s\xa0]*)?)Mose|4\.?[\s\xa0]*Buch[\s\xa0]*Mose|4\.?[\s\xa0]*Mose|4(?:\.[\s\xa0]*Mos?|[\s\xa0]*Mos?)|N(?:umeri|m)|Num))(?:(?=[\d\s\xa0.:,;\x1e\x1f&\(\)\uff08\uff09\[\]\/"'\*=~\-\u2013\u2014])|$)/gi},{osis:["Sir"],apocrypha:!0,regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:Ecclesiasticus|Jesus[\\s\\xa0]*Sirach|Sir))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["Wis"],apocrypha:!0,regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:W(?:eish(?:eit(?:[\\s\\xa0]*Salomos)?)?|is)))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["Lam"],regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:Kl(?:ag(?:elieder(?:[\\s\\xa0]*Jeremias)?)?|gl)|Lam))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["EpJer"],apocrypha:!0,regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:Br(?:ief[\\s\\xa0]*des[\\s\\xa0]*Jeremia|[\\s\\xa0]*Jer)|EpJer))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["Rev"],regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:Off(?:enbarung|b)|Rev))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["PrMan"],apocrypha:!0,regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:Das[\\s\\xa0]*Gebet[\\s\\xa0]*(?:des[\\s\\xa0]*Manasse|Manasses)|Gebet[\\s\\xa0]*des[\\s\\xa0]*Manasse|Geb(?:et[\\s\\xa0]*Manasses|[\\s\\xa0]*Man)|Gebet[\\s\\xa0]*Manasse|(?:Or[\\s\\xa0]*|Pr)Man))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["Deut"],regexp:/(^|[^0-9A-Za-zªµºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ])((?:F[u\xFC]nftes[\s\xa0]*(?:Buch[\s\xa0]*)?Mose|D(?:euteronomium|tn)|5\.?[\s\xa0]*Buch[\s\xa0]*Mose|5\.?[\s\xa0]*Mose|5(?:\.[\s\xa0]*Mos?|[\s\xa0]*Mos?)|D(?:eu)?t))(?:(?=[\d\s\xa0.:,;\x1e\x1f&\(\)\uff08\uff09\[\]\/"'\*=~\-\u2013\u2014])|$)/gi},{osis:["Josh"],regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:Jos(?:ua|h)?))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["Judg"],regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:Ri(?:ch(?:ter)?)?|Judg))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["Ruth"],regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:Ru(?:th?)?))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["1Esd"],apocrypha:!0,regexp:/(^|[^0-9A-Za-zªµºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ])((?:1Esd)|(?:Erste(?:[nrs][\s\xa0]*Esd?|[\s\xa0]*Esd?)ra|1(?:(?:\.[\s\xa0]*Esd?|[\s\xa0]*Esd?)ra|\.[\s\xa0]*Es(?:dr|r)?|[\s\xa0]*Es(?:dr|r)?)))(?:(?=[\d\s\xa0.:,;\x1e\x1f&\(\)\uff08\uff09\[\]\/"'\*=~\-\u2013\u2014])|$)/gi},{osis:["2Esd"],apocrypha:!0,regexp:/(^|[^0-9A-Za-zªµºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ])((?:2Esd)|(?:Zweite(?:[nrs][\s\xa0]*Esd?|[\s\xa0]*Esd?)ra|2(?:(?:\.[\s\xa0]*Esd?|[\s\xa0]*Esd?)ra|\.[\s\xa0]*Es(?:dr|r)?|[\s\xa0]*Es(?:dr|r)?)))(?:(?=[\d\s\xa0.:,;\x1e\x1f&\(\)\uff08\uff09\[\]\/"'\*=~\-\u2013\u2014])|$)/gi},{osis:["Isa"],regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:Jes(?:aja)?|Isa(?:ias)?))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["2Sam"],regexp:/(^|[^0-9A-Za-zªµºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ])((?:Zweite[nrs]?[\s\xa0]*Samuel|2(?:\.?[\s\xa0]*Samuel|\.[\s\xa0]*Sam?|[\s\xa0]*Sam?|Sam)))(?:(?=[\d\s\xa0.:,;\x1e\x1f&\(\)\uff08\uff09\[\]\/"'\*=~\-\u2013\u2014])|$)/gi},{osis:["1Sam"],regexp:/(^|[^0-9A-Za-zªµºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ])((?:Erste[nrs]?[\s\xa0]*Samuel|1(?:\.?[\s\xa0]*Samuel|\.[\s\xa0]*Sam?|[\s\xa0]*Sam?|Sam)))(?:(?=[\d\s\xa0.:,;\x1e\x1f&\(\)\uff08\uff09\[\]\/"'\*=~\-\u2013\u2014])|$)/gi},{osis:["2Kgs"],regexp:/(^|[^0-9A-Za-zªµºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ])((?:Zweite(?:[nrs][\s\xa0]*K(?:oe?|\xF6)|[\s\xa0]*K(?:oe?|\xF6))nige|2(?:(?:\.[\s\xa0]*K(?:oe?|\xF6)|[\s\xa0]*K(?:oe?|\xF6))nige|\.[\s\xa0]*K(?:o(?:en?|n)?|\xF6n?)|[\s\xa0]*K(?:o(?:en?|n)?|\xF6n?)|\.[\s\xa0]*Kng|[\s\xa0]*Kng|Kgs)))(?:(?=[\d\s\xa0.:,;\x1e\x1f&\(\)\uff08\uff09\[\]\/"'\*=~\-\u2013\u2014])|$)/gi},{osis:["1Kgs"],regexp:/(^|[^0-9A-Za-zªµºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ])((?:Erste(?:[nrs][\s\xa0]*K(?:oe?|\xF6)|[\s\xa0]*K(?:oe?|\xF6))nige|1(?:(?:\.[\s\xa0]*K(?:oe?|\xF6)|[\s\xa0]*K(?:oe?|\xF6))nige|\.[\s\xa0]*K(?:o(?:en?|n)?|\xF6n?)|[\s\xa0]*K(?:o(?:en?|n)?|\xF6n?)|\.[\s\xa0]*Kng|[\s\xa0]*Kng|Kgs)))(?:(?=[\d\s\xa0.:,;\x1e\x1f&\(\)\uff08\uff09\[\]\/"'\*=~\-\u2013\u2014])|$)/gi},{osis:["2Chr"],regexp:/(^|[^0-9A-Za-zªµºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ])((?:Zweite[nrs]?[\s\xa0]*Chronik|2(?:\.?[\s\xa0]*Chronik|\.[\s\xa0]*Chr(?:on)?|[\s\xa0]*Chr(?:on)?|Chr)))(?:(?=[\d\s\xa0.:,;\x1e\x1f&\(\)\uff08\uff09\[\]\/"'\*=~\-\u2013\u2014])|$)/gi},{osis:["1Chr"],regexp:/(^|[^0-9A-Za-zªµºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ])((?:Erste[nrs]?[\s\xa0]*Chronik|1(?:\.?[\s\xa0]*Chronik|\.[\s\xa0]*Chr(?:on)?|[\s\xa0]*Chr(?:on)?|Chr)))(?:(?=[\d\s\xa0.:,;\x1e\x1f&\(\)\uff08\uff09\[\]\/"'\*=~\-\u2013\u2014])|$)/gi},{osis:["Ezra"],regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:E(?:zra|sra?)))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["Neh"],regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:Neh(?:emia)?))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["GkEsth"],apocrypha:!0,regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:Ester[\\s\\xa0]*\\(Griechisch\\)|G(?:r[\\s\\xa0]*Est|kEsth)))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["Esth"],regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:Est(?:h(?:er)?|er)?))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["Job"],regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:(?:Ij|J)ob|Hi(?:ob)?))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["Ps"],regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:Ps(?:alm(?:en)?|lm)?))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["PrAzar"],apocrypha:!0,regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:Das[\\s\\xa0]*Gebet[\\s\\xa0]*(?:des[\\s\\xa0]*Asarja|Asarjas)|Gebet[\\s\\xa0]*(?:des[\\s\\xa0]*Asarja|Asarjas)|PrAzar|Geb[\\s\\xa0]*As))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["Prov"],regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:Spr(?:ichw(?:oe?|\\xF6)rter|(?:ue?|\\xFC)che)?|Prov))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["Eccl"],regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:E(?:kklesiastes|ccl(?:esiastes)?)|Prediger|Kohelet|Pred|Koh))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["SgThree"],apocrypha:!0,regexp:/(^|[^0-9A-Za-zªµºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ])((?:Gesang[\s\xa0]*der[\s\xa0]*(?:drei(?:[\s\xa0]*(?:M(?:a(?:enner(?:[\s\xa0]*im[\s\xa0]*Feuerofen)?|nner(?:[\s\xa0]*im[\s\xa0]*Feuerofen)?)|\xE4nner(?:[\s\xa0]*im[\s\xa0]*Feuerofen)?)|im[\s\xa0]*Feuerofen))?|Drei)|SgThree|L3J))(?:(?=[\d\s\xa0.:,;\x1e\x1f&\(\)\uff08\uff09\[\]\/"'\*=~\-\u2013\u2014])|$)/gi},{osis:["Song"],regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:H(?:ohe(?:s(?:lied(?:[\\s\\xa0]*Salomo(?:ni)?s)?|[\\s\\xa0]*Lied)|lied(?:[\\s\\xa0]*Salomo(?:ni)?s)?)|ld)|Song))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["Jer"],regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:Jer(?:emias?)?))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["Ezek"],regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:Hes(?:ekiel|ek)?|Ez(?:e(?:chiel|k))?))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["Dan"],regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:Dan(?:iel)?))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["Hos"],regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:Hos(?:ea)?))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["Joel"],regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:Joel))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["Amos"],regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:Am(?:os)?))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["Obad"],regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:Ob(?:adja|ad|d)|Abdias))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["Jonah"],regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:Jona[hs]?))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["Mic"],regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:Mi(?:c(?:h(?:a(?:eas|as)?|\\xE4as)?)?)?))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["Nah"],regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:Nah(?:um)?))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["Hab"],regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:Hab(?:akuk)?))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["Zeph"],regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:Ze(?:ph(?:anja)?|f(?:anja)?)))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["Hag"],regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:Hag(?:g(?:ai)?)?))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["Zech"],regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:Z(?:acharias|ech)|Sach(?:arja)?))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["Mal"],regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:Mal(?:achias|eachi)?))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["Matt"],regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:Das[\\s\\xa0]*Evangelium[\\s\\xa0]*nach[\\s\\xa0]*Matth(?:ae?|\\xE4)us|[\\s\\xa0]*Evangelium[\\s\\xa0]*nach[\\s\\xa0]*Matth(?:ae?|\\xE4)us|M(?:atth(?:ae?|\\xE4)usevangelium|att(?:h(?:ae?|\\xE4)us)?|t)))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["Mark"],regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:Das[\\s\\xa0]*Evangelium[\\s\\xa0]*nach[\\s\\xa0]*Markus|[\\s\\xa0]*Evangelium[\\s\\xa0]*nach[\\s\\xa0]*Markus|M(?:arkusevangelium|ark(?:us)?|k)))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["Luke"],regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:Das[\\s\\xa0]*Evangelium[\\s\\xa0]*nach[\\s\\xa0]*Lukas|[\\s\\xa0]*Evangelium[\\s\\xa0]*nach[\\s\\xa0]*Lukas|L(?:uk(?:asevangelium|e)|uk(?:as)?|k)))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["1John"],regexp:/(^|[^0-9A-Za-zªµºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ])((?:1John)|(?:Erste[nrs]?[\s\xa0]*Johannes|1(?:\.?[\s\xa0]*Johannes|\.[\s\xa0]*Joh?|[\s\xa0]*Joh?)))(?:(?=[\d\s\xa0.:,;\x1e\x1f&\(\)\uff08\uff09\[\]\/"'\*=~\-\u2013\u2014])|$)/gi},{osis:["2John"],regexp:/(^|[^0-9A-Za-zªµºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ])((?:2John)|(?:Zweite[nrs]?[\s\xa0]*Johannes|2(?:\.?[\s\xa0]*Johannes|\.[\s\xa0]*Joh?|[\s\xa0]*Joh?)))(?:(?=[\d\s\xa0.:,;\x1e\x1f&\(\)\uff08\uff09\[\]\/"'\*=~\-\u2013\u2014])|$)/gi},{osis:["3John"],regexp:/(^|[^0-9A-Za-zªµºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ])((?:3John)|(?:Dritte[nrs]?[\s\xa0]*Johannes|3(?:\.?[\s\xa0]*Johannes|\.[\s\xa0]*Joh?|[\s\xa0]*Joh?)))(?:(?=[\d\s\xa0.:,;\x1e\x1f&\(\)\uff08\uff09\[\]\/"'\*=~\-\u2013\u2014])|$)/gi},{osis:["John"],regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:Das[\\s\\xa0]*Evangelium[\\s\\xa0]*nach[\\s\\xa0]*Johannes|[\\s\\xa0]*Evangelium[\\s\\xa0]*nach[\\s\\xa0]*Johannes|Joh(?:annesevangelium|annes|n)?))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["Acts"],regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:A(?:p(?:ostelgeschichte|g)|cts)))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["Rom"],regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:R(?:o(?:em(?:er)?|m(?:er)?)|\\xF6m(?:er)?|m)))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["2Cor"],regexp:/(^|[^0-9A-Za-zªµºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ])((?:(?:Zweite[nrs]?[\s\xa0]*Korinthe|2(?:\.?[\s\xa0]*Korinthe|(?:\.?[\s\xa0]*K|C)o))r))(?:(?=[\d\s\xa0.:,;\x1e\x1f&\(\)\uff08\uff09\[\]\/"'\*=~\-\u2013\u2014])|$)/gi},{osis:["1Cor"],regexp:/(^|[^0-9A-Za-zªµºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ])((?:(?:Erste[nrs]?[\s\xa0]*Korinthe|1(?:\.?[\s\xa0]*Korinthe|(?:\.?[\s\xa0]*K|C)o))r))(?:(?=[\d\s\xa0.:,;\x1e\x1f&\(\)\uff08\uff09\[\]\/"'\*=~\-\u2013\u2014])|$)/gi},{osis:["Gal"],regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:Gal(?:ater)?))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["Eph"],regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:Eph(?:eser)?))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["Phil"],regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:Phil(?:ipper)?))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["Col"],regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:Kol(?:osser)?|Col))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["2Thess"],regexp:/(^|[^0-9A-Za-zªµºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ])((?:Zweite[nrs]?[\s\xa0]*Thessalonicher|2(?:\.?[\s\xa0]*Thessalonicher|\.[\s\xa0]*Th(?:ess)?|[\s\xa0]*Th(?:ess)?|Thess)))(?:(?=[\d\s\xa0.:,;\x1e\x1f&\(\)\uff08\uff09\[\]\/"'\*=~\-\u2013\u2014])|$)/gi},{osis:["1Thess"],regexp:/(^|[^0-9A-Za-zªµºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ])((?:Erste[nrs]?[\s\xa0]*Thessalonicher|1(?:\.?[\s\xa0]*Thessalonicher|\.[\s\xa0]*Th(?:ess)?|[\s\xa0]*Th(?:ess)?|Thess)))(?:(?=[\d\s\xa0.:,;\x1e\x1f&\(\)\uff08\uff09\[\]\/"'\*=~\-\u2013\u2014])|$)/gi},{osis:["2Tim"],regexp:/(^|[^0-9A-Za-zªµºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ])((?:Zweite[nrs]?[\s\xa0]*Timotheus|2(?:\.?[\s\xa0]*Timotheus|(?:\.?[\s\xa0]*)?Tim)))(?:(?=[\d\s\xa0.:,;\x1e\x1f&\(\)\uff08\uff09\[\]\/"'\*=~\-\u2013\u2014])|$)/gi},{osis:["1Tim"],regexp:/(^|[^0-9A-Za-zªµºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ])((?:Erste[nrs]?[\s\xa0]*Timotheus|1(?:\.?[\s\xa0]*Timotheus|(?:\.?[\s\xa0]*)?Tim)))(?:(?=[\d\s\xa0.:,;\x1e\x1f&\(\)\uff08\uff09\[\]\/"'\*=~\-\u2013\u2014])|$)/gi},{osis:["Titus"],regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:Tit(?:us)?))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["Phlm"],regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:Ph(?:ilemon|l?m)))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["Heb"],regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:H(?:eb(?:r(?:aee?r|\\xE4er)?)?|b)))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["Jas"],regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:J(?:a(?:k(?:obus(?:brief)?)?|s)|k)))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["2Pet"],regexp:/(^|[^0-9A-Za-zªµºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ])((?:Zweite[nrs]?[\s\xa0]*Petrus|2(?:\.?[\s\xa0]*Petrus|\.[\s\xa0]*Petr?|[\s\xa0]*Petr?|(?:\.[\s\xa0]*P|Pe|[\s\xa0]*P)t)))(?:(?=[\d\s\xa0.:,;\x1e\x1f&\(\)\uff08\uff09\[\]\/"'\*=~\-\u2013\u2014])|$)/gi},{osis:["1Pet"],regexp:/(^|[^0-9A-Za-zªµºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ])((?:Erste[nrs]?[\s\xa0]*Petrus|1(?:\.?[\s\xa0]*Petrus|\.[\s\xa0]*Petr?|[\s\xa0]*Petr?|(?:\.[\s\xa0]*P|Pe|[\s\xa0]*P)t)))(?:(?=[\d\s\xa0.:,;\x1e\x1f&\(\)\uff08\uff09\[\]\/"'\*=~\-\u2013\u2014])|$)/gi},{osis:["Jude"],regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:Jud(?:as|e)?))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["Tob"],apocrypha:!0,regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:Tob(?:i(?:as|t))?))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["Jdt"],apocrypha:!0,regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:J(?:udi|d)t))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["Bar"],apocrypha:!0,regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:Bar(?:uch)?))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["Sus"],apocrypha:!0,regexp:RegExp(`(^|${e.prototype.regexps.pre_book})((?:Sus(?:anna)?))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`,"gi")},{osis:["2Macc"],apocrypha:!0,regexp:/(^|[^0-9A-Za-zªµºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ])((?:Zweite(?:[nrs][\s\xa0]*Makkab(?:aee?|\xE4e)|[\s\xa0]*Makkab(?:aee?|\xE4e))r|2(?:\.?[\s\xa0]*Makkab(?:aee?|\xE4e)r|\.?[\s\xa0]*Makk|Macc)))(?:(?=[\d\s\xa0.:,;\x1e\x1f&\(\)\uff08\uff09\[\]\/"'\*=~\-\u2013\u2014])|$)/gi},{osis:["3Macc"],apocrypha:!0,regexp:/(^|[^0-9A-Za-zªµºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ])((?:Dritte(?:[nrs][\s\xa0]*Makkab(?:aee?|\xE4e)|[\s\xa0]*Makkab(?:aee?|\xE4e))r|3(?:\.?[\s\xa0]*Makkab(?:aee?|\xE4e)r|\.?[\s\xa0]*Makk|Macc)))(?:(?=[\d\s\xa0.:,;\x1e\x1f&\(\)\uff08\uff09\[\]\/"'\*=~\-\u2013\u2014])|$)/gi},{osis:["4Macc"],apocrypha:!0,regexp:/(^|[^0-9A-Za-zªµºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ])((?:Vierte(?:[ns][\s\xa0]*Makkab(?:aee?|\xE4e)|[\s\xa0]*Makkab(?:aee?|\xE4e))r|4(?:\.?[\s\xa0]*Makkab(?:aee?|\xE4e)r|\.?[\s\xa0]*Makk|Macc)))(?:(?=[\d\s\xa0.:,;\x1e\x1f&\(\)\uff08\uff09\[\]\/"'\*=~\-\u2013\u2014])|$)/gi},{osis:["1Macc"],apocrypha:!0,regexp:/(^|[^0-9A-Za-zªµºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ])((?:Erste(?:[nrs][\s\xa0]*Makkab(?:aee?|\xE4e)|[\s\xa0]*Makkab(?:aee?|\xE4e))r|1(?:\.?[\s\xa0]*Makkab(?:aee?|\xE4e)r|\.?[\s\xa0]*Makk|Macc)))(?:(?=[\d\s\xa0.:,;\x1e\x1f&\(\)\uff08\uff09\[\]\/"'\*=~\-\u2013\u2014])|$)/gi}],!0===s&&"none"===t)return r;for(o=[],n=0,i=r.length;n<i;n++)a=r[n],!1===s&&null!=a.apocrypha&&!0===a.apocrypha||("books"===t&&(a.regexp=new RegExp(a.regexp.source,"g")),o.push(a));return o},e.prototype.regexps.books=e.prototype.regexps.get_books(!1,"none"),function(){"use strict";function e(s,t,a,r){var n=Error.call(this,s);return Object.setPrototypeOf&&Object.setPrototypeOf(n,e.prototype),n.expected=t,n.found=a,n.location=r,n.name="SyntaxError",n}function s(e,s,t){return t=t||" ",e.length>s?e:(s-=e.length,e+(t+=t.repeat(s)).slice(0,s))}!function(e,s){function t(){this.constructor=e}t.prototype=s.prototype,e.prototype=new t}(e,Error),e.prototype.format=function(e){var t="Error: "+this.message;if(this.location){var a,r=null;for(a=0;a<e.length;a++)if(e[a].source===this.location.source){r=e[a].text.split(/\r\n|\n|\r/g);break}var n=this.location.start,i=this.location.source&&"function"==typeof this.location.source.offset?this.location.source.offset(n):n,o=this.location.source+":"+i.line+":"+i.column;if(r){var l=this.location.end,u=s("",i.line.toString().length," "),c=r[n.line-1],p=(n.line===l.line?l.column:c.length+1)-n.column||1;t+="\n --\x3e "+o+"\n"+u+" |\n"+i.line+" | "+c+"\n"+u+" | "+s("",n.column-1," ")+s("",p,"^")}else t+="\n at "+o}return t},e.buildMessage=function(e,s){var t={literal:function(e){return'"'+r(e.text)+'"'},class:function(e){var s=e.parts.map((function(e){return Array.isArray(e)?n(e[0])+"-"+n(e[1]):n(e)}));return"["+(e.inverted?"^":"")+s.join("")+"]"},any:function(){return"any character"},end:function(){return"end of input"},other:function(e){return e.description}};function a(e){return e.charCodeAt(0).toString(16).toUpperCase()}function r(e){return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,(function(e){return"\\x0"+a(e)})).replace(/[\x10-\x1F\x7F-\x9F]/g,(function(e){return"\\x"+a(e)}))}function n(e){return e.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,(function(e){return"\\x0"+a(e)})).replace(/[\x10-\x1F\x7F-\x9F]/g,(function(e){return"\\x"+a(e)}))}function i(e){return t[e.type](e)}return"Expected "+function(e){var s,t,a=e.map(i);if(a.sort(),a.length>0){for(s=1,t=1;s<a.length;s++)a[s-1]!==a[s]&&(a[t]=a[s],t++);a.length=t}switch(a.length){case 1:return a[0];case 2:return a[0]+" or "+a[1];default:return a.slice(0,-1).join(", ")+", or "+a[a.length-1]}}(e)+" but "+function(e){return e?'"'+r(e)+'"':"end of input"}(s)+" found."},a={StartRules:["start"],SyntaxError:e,parse:function(s,t){var a,r={},n=(t=void 0!==t?t:{}).grammarSource,i={start:at},o=at,l="(",u=")",c="",p="/",h=",",g=".",x="-",_="th",d="nd",f="st",v="/1",b="ff",y="f",k="/9",m="/2",E=".1",$="kap",A="iteln",M="itel",J="v",C="ersen",P="erses",z="erse",R="ers",w="s",S="und",Z="siehe",T="auch",K="sowie",F="u",N="&",j="vgl",q="bis",B="titel",H="from",D="of",G="in",L="the",O="book",I="",W=/^[1-8]/,V=/^[a-z0-9\xE4a\xF6o\xFCu]/i,U=/^[a-z]/,Q=/^[0-9]/,X=/^[a-e]/,Y=/^["']/,ee=/^[,;\/:&\-\u2013\u2014~]/,se=/^[\-\u2013\u2014]/,te=/^[([]/,ae=/^[)\]]/,re=/^[^\x1F\x1E([]/,ne=Qs("(",!1),ie=Qs(")",!1),oe=Qs("",!1),le=Qs("/",!1),ue=Xs([["1","8"]],!1,!1),ce=Qs(",",!1),pe=Qs(".",!1),he=Qs("-",!1),ge=Qs("th",!1),xe=Qs("nd",!1),_e=Qs("st",!1),de=Qs("/1",!1),fe=Qs("ff",!1),ve=Xs([["a","z"],["0","9"],"ä","a","ö","o","ü","u"],!1,!0),be=Xs([["a","z"]],!1,!1),ye=Qs("f",!1),ke=Qs("/9",!1),me=Qs("/2",!1),Ee=Qs(".1",!1),$e=Xs([["0","9"]],!1,!1),Ae=Xs([["a","e"]],!1,!1),Me=Qs("kap",!1),Je=Qs("iteln",!1),Ce=Qs("itel",!1),Pe=Qs("v",!1),ze=Qs("ersen",!1),Re=Qs("erses",!1),we=Qs("erse",!1),Se=Qs("ers",!1),Ze=Qs("s",!1),Te=Qs(":",!1),Ke=Xs(['"',"'"],!1,!1),Fe=Xs([",",";","/",":","&","-","–","—","~"],!1,!1),Ne=Qs("und",!1),je=Qs("siehe",!1),qe=Qs("auch",!1),Be=Qs("sowie",!1),He=Qs("u",!1),De=Qs("&",!1),Ge=Qs("vgl",!1),Le=Xs(["-","–","—"],!1,!1),Oe=Qs("bis",!1),Ie=Qs("titel",!1),We=Qs("from",!1),Ve=Qs("of",!1),Ue=Qs("in",!1),Qe=Qs("the",!1),Xe=Qs("book",!1),Ye=Xs(["(","["],!1,!1),es=Xs([")","]"],!1,!1),ss=Qs("",!1),ts=(Qs(",000",!1),Xs(["","","(","["],!0,!1)),as=(Xs([" ","\t","\r","\n"," ","*"],!1,!1),function(e,s){return s.unshift([e]),{type:"sequence",value:s,indices:[Os,Ls-1]}}),rs=function(e,s){return void 0===s&&(s=[]),s.unshift([e]),{type:"sequence_post_enclosed",value:s,indices:[Os,Ls-1]}},ns=function(e,s){return e.length&&2===e.length&&(e=e[0]),{type:"range",value:[e,s],indices:[Os,Ls-1]}},is=function(e){return{type:"b",value:e.value,indices:[Os,Ls-1]}},os=function(e,s){return{type:"bc",value:[e,s],indices:[Os,Ls-1]}},ls=function(e,s){return{type:"bc",value:[e,s],indices:[Os,Ls-1]}},us=function(e,s){return{type:"bc_title",value:[e,s],indices:[Os,Ls-1]}},cs=function(e,s){return{type:"bcv",value:[e,s],indices:[Os,Ls-1]}},ps=function(e,s){return{type:"bcv",value:[e,s],indices:[Os,Ls-1]}},hs=function(e,s){return{type:"bcv",value:[e,s],indices:[Os,Ls-1]}},gs=function(e,s,t,a){return{type:"range",value:[{type:"bcv",value:[{type:"bc",value:[e,s],indices:[e.indices[0],s.indices[1]]},t],indices:[e.indices[0],t.indices[1]]},a],indices:[Os,Ls-1]}},xs=function(e,s){return{type:"bv",value:[e,s],indices:[Os,Ls-1]}},_s=function(e,s){return{type:"bc",value:[s,e],indices:[Os,Ls-1]}},ds=function(e,s,t){return{type:"cb_range",value:[t,e,s],indices:[Os,Ls-1]}},fs=function(e,s){return{type:"bcv",value:[e,s],indices:[Os,Ls-1]}},vs=function(e,s){return{type:"bc",value:[s,e],indices:[Os,Ls-1]}},bs=function(e,s){return{type:"bcv",value:[e,s],indices:[Os,Ls-1]}},ys=function(e){return{type:"c_psalm",value:e.value,indices:[Os,Ls-1]}},ks=function(e,s){return{type:"cv_psalm",value:[e,s],indices:[Os,Ls-1]}},ms=function(e,s){return{type:"c_title",value:[e,s],indices:[Os,Ls-1]}},Es=function(e,s){return{type:"cv",value:[e,s],indices:[Os,Ls-1]}},$s=function(e,s){return{type:"cv",value:[e,s],indices:[Os,Ls-1]}},As=function(e){return{type:"c",value:[e],indices:[Os,Ls-1]}},Ms=function(e){return{type:"ff",value:[e],indices:[Os,Ls-1]}},Js=function(e){return{type:"next_v",value:[e],indices:[Os,Ls-1]}},Cs=function(e,s){return{type:"integer_title",value:[e,s],indices:[Os,Ls-1]}},Ps=function(e){return{type:"context",value:e.value,indices:[Os,Ls-1]}},zs=function(e){return{type:"b",value:e.value,indices:[Os,Ls-1]}},Rs=function(e){return{type:"bc",value:[e,{type:"c",value:[{type:"integer",value:151,indices:[Ls-2,Ls-1]}],indices:[Ls-2,Ls-1]}],indices:[Os,Ls-1]}},ws=function(e,s){return{type:"bcv",value:[e,{type:"v",value:[s],indices:[s.indices[0],s.indices[1]]}],indices:[Os,Ls-1]}},Ss=function(e){return{type:"v",value:[e],indices:[Os,Ls-1]}},Zs=function(e){return{type:"v",value:[e],indices:[Os,Ls-1]}},Ts=function(){return{type:"c_explicit"}},Ks=function(){return{type:"v_explicit"}},Fs=function(){return""},Ns=function(e){return{type:"title",value:[e],indices:[Os,Ls-1]}},js=function(e){return{type:"translation_sequence",value:e,indices:[Os,Ls-1]}},qs=function(e){return{type:"translation_sequence",value:e,indices:[Os,Ls-1]}},Bs=function(e){return{type:"translation",value:e.value,indices:[Os,Ls-1]}},Hs=function(e){return{type:"integer",value:parseInt(e.join(""),10),indices:[Os,Ls-1]}},Ds=function(e){return{type:"word",value:e.join(""),indices:[Os,Ls-1]}},Gs=function(e){return{type:"stop",value:e,indices:[Os,Ls-1]}},Ls=0|t.peg$currPos,Os=Ls,Is=[{line:1,column:1}],Ws=Ls,Vs=t.peg$maxFailExpected||[],Us=0|t.peg$silentFails;if(t.startRule){if(!(t.startRule in i))throw new Error("Can't start parsing from rule \""+t.startRule+'".');o=i[t.startRule]}function Qs(e,s){return{type:"literal",text:e,ignoreCase:s}}function Xs(e,s,t){return{type:"class",parts:e,inverted:s,ignoreCase:t}}function Ys(e){var t,a=Is[e];if(a)return a;if(e>=Is.length)t=Is.length-1;else for(t=e;!Is[--t];);for(a={line:(a=Is[t]).line,column:a.column};t<e;)10===s.charCodeAt(t)?(a.line++,a.column=1):a.column++,t++;return Is[e]=a,a}function et(e,s,t){var a=Ys(e),r=Ys(s),i={source:n,start:{offset:e,line:a.line,column:a.column},end:{offset:s,line:r.line,column:r.column}};return t&&n&&"function"==typeof n.offset&&(i.start=n.offset(i.start),i.end=n.offset(i.end)),i}function st(e){Ls<Ws||(Ls>Ws&&(Ws=Ls,Vs=[]),Vs.push(e))}function tt(s,t,a){return new e(e.buildMessage(s,t),s,t,a)}function at(){var e,s;if(e=[],(s=gt())===r&&(s=rt())===r&&(s=dt())===r&&(s=it())===r&&(s=Jt())===r&&(s=Mt())===r&&(s=ht())===r&&(s=ut())===r&&(s=Rt())===r&&(s=ct())===r&&(s=pt())===r&&(s=zt())===r&&(s=lt())===r&&(s=kt())===r&&(s=xt())===r&&(s=yt())===r&&(s=ot())===r&&(s=ft())===r&&(s=bt())===r&&(s=_t())===r&&(s=vt())===r&&(s=Dt())===r&&(s=Gt())===r&&(s=Nt())===r&&(s=mt())===r&&(s=Ct())===r&&(s=Et())===r&&(s=$t())===r&&(s=wt())===r&&(s=Ot())===r&&(s=At())===r&&(s=St())===r&&(s=Wt())===r&&(s=Vt())===r&&(s=Pt()),s!==r)for(;s!==r;)e.push(s),(s=gt())===r&&(s=rt())===r&&(s=dt())===r&&(s=it())===r&&(s=Jt())===r&&(s=Mt())===r&&(s=ht())===r&&(s=ut())===r&&(s=Rt())===r&&(s=ct())===r&&(s=pt())===r&&(s=zt())===r&&(s=lt())===r&&(s=kt())===r&&(s=xt())===r&&(s=yt())===r&&(s=ot())===r&&(s=ft())===r&&(s=bt())===r&&(s=_t())===r&&(s=vt())===r&&(s=Dt())===r&&(s=Gt())===r&&(s=Nt())===r&&(s=mt())===r&&(s=Ct())===r&&(s=Et())===r&&(s=$t())===r&&(s=wt())===r&&(s=Ot())===r&&(s=At())===r&&(s=St())===r&&(s=Wt())===r&&(s=Vt())===r&&(s=Pt());else e=r;return e}function rt(){var e,s,t,a,n,i;if(e=Ls,(s=dt())===r&&(s=gt())===r&&(s=it())===r&&(s=Jt())===r&&(s=Mt())===r&&(s=ht())===r&&(s=ut())===r&&(s=Rt())===r&&(s=ct())===r&&(s=pt())===r&&(s=zt())===r&&(s=lt())===r&&(s=kt())===r&&(s=xt())===r&&(s=yt())===r&&(s=ot())===r&&(s=ft())===r&&(s=bt())===r&&(s=_t())===r&&(s=vt())===r&&(s=Pt()),s!==r){if(t=[],a=Ls,(n=Nt())===r&&(n=null),(i=nt())!==r?a=n=[n,i]:(Ls=a,a=r),a!==r)for(;a!==r;)t.push(a),a=Ls,(n=Nt())===r&&(n=null),(i=nt())!==r?a=n=[n,i]:(Ls=a,a=r);else t=r;t!==r?(Os=e,e=as(s,t)):(Ls=e,e=r)}else Ls=e,e=r;return e}function nt(){var e;return(e=function(){var e,t,a,n,i,o,c;if(e=Ls,40===s.charCodeAt(Ls)?(t=l,Ls++):(t=r,0===Us&&st(ne)),t!==r)if(Ut(),Nt(),(a=nt())!==r){for(n=[],i=Ls,(o=Nt())===r&&(o=null),(c=nt())!==r?i=o=[o,c]:(Ls=i,i=r);i!==r;)n.push(i),i=Ls,(o=Nt())===r&&(o=null),(c=nt())!==r?i=o=[o,c]:(Ls=i,i=r);i=Ut(),41===s.charCodeAt(Ls)?(o=u,Ls++):(o=r,0===Us&&st(ie)),o!==r?(Os=e,e=rs(a,n)):(Ls=e,e=r)}else Ls=e,e=r;else Ls=e,e=r;return e}())===r&&(e=dt())===r&&(e=gt())===r&&(e=it())===r&&(e=Jt())===r&&(e=Mt())===r&&(e=ht())===r&&(e=ut())===r&&(e=Rt())===r&&(e=ct())===r&&(e=pt())===r&&(e=zt())===r&&(e=lt())===r&&(e=kt())===r&&(e=xt())===r&&(e=yt())===r&&(e=ot())===r&&(e=ft())===r&&(e=bt())===r&&(e=_t())===r&&(e=vt())===r&&(e=mt())===r&&(e=Ct())===r&&(e=Et())===r&&(e=$t())===r&&(e=wt())===r&&(e=Ot())===r&&(e=At())===r&&(e=St()),e}function it(){var e,s,t,a,n,i,o;return e=Ls,(s=ht())===r&&(s=ut())===r&&(s=Rt())===r&&(s=ct())===r&&(s=pt())===r&&(s=zt())===r&&(s=lt())===r&&(s=kt())===r&&(s=xt())===r&&(s=Ls,(t=ot())!==r?(a=Ls,Us++,n=Ls,(i=jt())!==r?((o=ht())===r&&(o=ut())===r&&(o=Rt())===r&&(o=ct())===r&&(o=pt())===r&&(o=zt())===r&&(o=lt())===r&&(o=xt())===r&&(o=ot()),o!==r?n=i=[i,o]:(Ls=n,n=r)):(Ls=n,n=r),Us--,n!==r?(Ls=a,a=void 0):a=r,a!==r?s=t=[t,a]:(Ls=s,s=r)):(Ls=s,s=r),s===r&&(s=ft())===r&&(s=bt())===r&&(s=yt())===r&&(s=_t())===r&&(s=vt())===r&&(s=mt())===r&&(s=Ct())===r&&(s=Et())===r&&(s=$t())===r&&(s=wt())===r&&(s=Ot())===r&&(s=At())===r&&(s=St())),s!==r&&(t=jt())!==r?((a=Jt())===r&&(a=Mt())===r&&(a=ht())===r&&(a=ut())===r&&(a=Rt())===r&&(a=ct())===r&&(a=pt())===r&&(a=zt())===r&&(a=lt())===r&&(a=kt())===r&&(a=xt())===r&&(a=ot())===r&&(a=ft())===r&&(a=bt())===r&&(a=yt())===r&&(a=_t())===r&&(a=vt())===r&&(a=mt())===r&&(a=Ct())===r&&(a=Et())===r&&(a=wt())===r&&(a=Ot())===r&&(a=$t())===r&&(a=At())===r&&(a=St()),a!==r?(Os=e,e=ns(s,a)):(Ls=e,e=r)):(Ls=e,e=r),e}function ot(){var e,t,a,n,i,o;return e=Ls,31===s.charCodeAt(Ls)?(t=c,Ls++):(t=r,0===Us&&st(oe)),t!==r&&(a=It())!==r?(n=Ls,47===s.charCodeAt(Ls)?(i=p,Ls++):(i=r,0===Us&&st(le)),i!==r?(o=s.charAt(Ls),W.test(o)?Ls++:(o=r,0===Us&&st(ue)),o!==r?n=i=[i,o]:(Ls=n,n=r)):(Ls=n,n=r),n===r&&(n=null),31===s.charCodeAt(Ls)?(i=c,Ls++):(i=r,0===Us&&st(oe)),i!==r?(Os=e,e=is(a)):(Ls=e,e=r)):(Ls=e,e=r),e}function lt(){var e,s,t,a,n,i,o,l,u;if(e=Ls,(s=ot())!==r){if(t=Ls,(a=Tt())!==r?(n=Ls,Us++,i=Ls,(o=At())!==r&&(l=Kt())!==r&&(u=St())!==r?i=o=[o,l,u]:(Ls=i,i=r),Us--,i!==r?(Ls=n,n=void 0):n=r,n!==r?t=a=[a,n]:(Ls=t,t=r)):(Ls=t,t=r),t===r){if(t=[],(a=Kt())!==r)for(;a!==r;)t.push(a),a=Kt();else t=r;if(t===r){if(t=[],(a=Ft())!==r)for(;a!==r;)t.push(a),a=Ft();else t=r;if(t===r){if(t=[],(a=jt())!==r)for(;a!==r;)t.push(a),a=jt();else t=r;t===r&&(t=Ut())}}}t!==r&&(a=At())!==r?(Os=e,e=os(s,a)):(Ls=e,e=r)}else Ls=e,e=r;return e}function ut(){var e,s,t;return e=Ls,(s=zt())===r&&(s=lt()),s!==r&&(t=qt())!==r?(Os=e,e=us(s,t)):(Ls=e,e=r),e}function ct(){var e,t,a,n,i,o,l;return e=Ls,(t=zt())===r&&(t=lt()),t!==r?(a=Ls,Us++,n=Ls,46===s.charCodeAt(Ls)?(i=g,Ls++):(i=r,0===Us&&st(pe)),i!==r&&(o=Tt())!==r&&(l=St())!==r?n=i=[i,o,l]:(Ls=n,n=r),n===r&&(n=Ls,(i=Nt())===r&&(i=null),(o=Tt())!==r&&(l=Et())!==r?n=i=[i,o,l]:(Ls=n,n=r)),Us--,n===r?a=void 0:(Ls=a,a=r),a!==r?(n=Ls,(i=Kt())===r&&(i=Nt()),i===r&&(i=null),(o=Tt())!==r?n=i=[i,o]:(Ls=n,n=r),n===r&&(n=Kt()),n!==r?((i=wt())===r&&(i=St()),i!==r?(Os=e,e=cs(t,i)):(Ls=e,e=r)):(Ls=e,e=r)):(Ls=e,e=r)):(Ls=e,e=r),e}function pt(){var e,s,t,a,n,i,o;return e=Ls,(s=zt())===r&&(s=lt()),s!==r&&Ft()!==r?((t=wt())===r&&(t=St()),t!==r?(a=Ls,Us++,n=Ls,(i=Kt())!==r&&(o=St())!==r?n=i=[i,o]:(Ls=n,n=r),Us--,n===r?a=void 0:(Ls=a,a=r),a!==r?(Os=e,e=ps(s,t)):(Ls=e,e=r)):(Ls=e,e=r)):(Ls=e,e=r),e}function ht(){var e,t,a,n,i,o,l,u;return e=Ls,t=function(){var e,t,a,n;return e=Ls,(t=ot())!==r?(Ut(),44===s.charCodeAt(Ls)?(a=h,Ls++):(a=r,0===Us&&st(ce)),a!==r?(Ut(),(n=At())!==r?(Os=e,e=ls(t,n)):(Ls=e,e=r)):(Ls=e,e=r)):(Ls=e,e=r),e}(),t!==r?(Ut(),44===s.charCodeAt(Ls)?(a=h,Ls++):(a=r,0===Us&&st(ce)),a!==r?(Ut(),(n=wt())===r&&(n=St()),n!==r?(i=Ls,Us++,o=Ls,(l=Kt())!==r&&(u=St())!==r?o=l=[l,u]:(Ls=o,o=r),Us--,o===r?i=void 0:(Ls=i,i=r),i!==r?(Os=e,e=hs(t,n)):(Ls=e,e=r)):(Ls=e,e=r)):(Ls=e,e=r)):(Ls=e,e=r),e}function gt(){var e,t,a,n,i,o,l,u;return e=Ls,(t=ot())!==r?(45===s.charCodeAt(Ls)?(a=x,Ls++):(a=r,0===Us&&st(he)),a===r&&(a=Qt()),a===r&&(a=null),(n=At())!==r?(45===s.charCodeAt(Ls)?(i=x,Ls++):(i=r,0===Us&&st(he)),i!==r&&(o=St())!==r?(45===s.charCodeAt(Ls)?(l=x,Ls++):(l=r,0===Us&&st(he)),l!==r&&(u=St())!==r?(Os=e,e=gs(t,n,o,u)):(Ls=e,e=r)):(Ls=e,e=r)):(Ls=e,e=r)):(Ls=e,e=r),e}function xt(){var e,s,t,a,n,i;if(e=Ls,(s=ot())!==r){if(t=[],(a=Kt())!==r)for(;a!==r;)t.push(a),a=Kt();else t=r;if(t===r){if(t=[],(a=Ft())!==r)for(;a!==r;)t.push(a),a=Ft();else t=r;if(t===r){if(t=[],(a=jt())!==r)for(;a!==r;)t.push(a),a=jt();else t=r;if(t===r){if(t=Ls,a=[],(n=Nt())!==r)for(;n!==r;)a.push(n),n=Nt();else a=r;a!==r?(n=Ls,Us++,i=Tt(),Us--,i!==r?(Ls=n,n=void 0):n=r,n!==r?t=a=[a,n]:(Ls=t,t=r)):(Ls=t,t=r),t===r&&(t=Ut())}}}t!==r?((a=wt())===r&&(a=St()),a!==r?(Os=e,e=xs(s,a)):(Ls=e,e=r)):(Ls=e,e=r)}else Ls=e,e=r;return e}function _t(){var e,s,t;return e=Ls,Zt()!==r&&(s=At())!==r?(Bt()===r&&null,(t=ot())!==r?(Os=e,e=_s(s,t)):(Ls=e,e=r)):(Ls=e,e=r),e}function dt(){var e,s,t,a;return e=Ls,Zt()!==r&&(s=At())!==r&&jt()!==r&&(t=At())!==r?(Bt()===r&&null,(a=ot())!==r?(Os=e,e=ds(s,t,a)):(Ls=e,e=r)):(Ls=e,e=r),e}function ft(){var e,s,t;return e=Ls,(s=_t())!==r?(Nt()===r&&null,Tt()!==r&&(t=St())!==r?(Os=e,e=fs(s,t)):(Ls=e,e=r)):(Ls=e,e=r),e}function vt(){var e,t,a,n;return e=Ls,(t=At())!==r?(s.substr(Ls,2)===_?(a=_,Ls+=2):(a=r,0===Us&&st(ge)),a===r&&(s.substr(Ls,2)===d?(a=d,Ls+=2):(a=r,0===Us&&st(xe)),a===r&&(s.substr(Ls,2)===f?(a=f,Ls+=2):(a=r,0===Us&&st(_e)))),a!==r&&Zt()!==r?(Bt()===r&&null,(n=ot())!==r?(Os=e,e=vs(t,n)):(Ls=e,e=r)):(Ls=e,e=r)):(Ls=e,e=r),e}function bt(){var e,s,t;return e=Ls,(s=vt())!==r?(Nt()===r&&null,Tt()!==r&&(t=St())!==r?(Os=e,e=bs(s,t)):(Ls=e,e=r)):(Ls=e,e=r),e}function yt(){var e,t,a,n;return e=Ls,31===s.charCodeAt(Ls)?(t=c,Ls++):(t=r,0===Us&&st(oe)),t!==r&&(a=It())!==r?(s.substr(Ls,3)===v?(n=v,Ls+=3):(n=r,0===Us&&st(de)),n!==r?(Os=e,e=ys(a)):(Ls=e,e=r)):(Ls=e,e=r),e}function kt(){var e,s,t;return e=Ls,(s=yt())!==r?(Nt()===r&&null,Tt()!==r&&(t=St())!==r?(Os=e,e=ks(s,t)):(Ls=e,e=r)):(Ls=e,e=r),e}function mt(){var e,s,t;return e=Ls,Zt()!==r&&(s=At())!==r&&(t=qt())!==r?(Os=e,e=ms(s,t)):(Ls=e,e=r),e}function Et(){var e,t,a,n,i,o,l;return e=Ls,Tt()===r&&null,(t=At())!==r?(a=Ls,Us++,n=Ls,46===s.charCodeAt(Ls)?(i=g,Ls++):(i=r,0===Us&&st(pe)),i!==r&&(o=Tt())!==r&&(l=St())!==r?n=i=[i,o,l]:(Ls=n,n=r),Us--,n===r?a=void 0:(Ls=a,a=r),a!==r?(n=Ls,(i=Kt())===r&&(i=null),(o=Tt())!==r?n=i=[i,o]:(Ls=n,n=r),n===r&&(n=Kt()),n!==r?((i=wt())===r&&(i=St()),i!==r?(Os=e,e=Es(t,i)):(Ls=e,e=r)):(Ls=e,e=r)):(Ls=e,e=r)):(Ls=e,e=r),e}function $t(){var e,s,t,a,n,i,o;return e=Ls,(s=At())!==r&&Ft()!==r?((t=wt())===r&&(t=St()),t!==r?(a=Ls,Us++,n=Ls,(i=Kt())!==r&&(o=St())!==r?n=i=[i,o]:(Ls=n,n=r),Us--,n===r?a=void 0:(Ls=a,a=r),a!==r?(Os=e,e=$s(s,t)):(Ls=e,e=r)):(Ls=e,e=r)):(Ls=e,e=r),e}function At(){var e,s;return e=Ls,Zt()===r&&null,(s=Ot())!==r?(Os=e,e=As(s)):(Ls=e,e=r),e}function Mt(){var e,t,a,n,i,o,l;return e=Ls,(t=ct())===r&&(t=pt())===r&&(t=lt())===r&&(t=xt())===r&&(t=Et())===r&&(t=$t())===r&&(t=Ot())===r&&(t=At())===r&&(t=St()),t!==r?(Ut(),s.substr(Ls,2)===b?(a=b,Ls+=2):(a=r,0===Us&&st(fe)),a!==r?(n=Ls,Us++,i=s.charAt(Ls),V.test(i)?Ls++:(i=r,0===Us&&st(ve)),Us--,i===r?n=void 0:(Ls=n,n=r),n!==r?((i=Ht())===r&&(i=null),o=Ls,Us++,l=s.charAt(Ls),U.test(l)?Ls++:(l=r,0===Us&&st(be)),Us--,l===r?o=void 0:(Ls=o,o=r),o!==r?(Os=e,e=Ms(t)):(Ls=e,e=r)):(Ls=e,e=r)):(Ls=e,e=r)):(Ls=e,e=r),e}function Jt(){var e,t,a,n,i,o,l;return e=Ls,(t=ct())===r&&(t=pt())===r&&(t=lt())===r&&(t=xt())===r&&(t=Et())===r&&(t=$t())===r&&(t=Ot())===r&&(t=At())===r&&(t=St()),t!==r?(Ut(),102===s.charCodeAt(Ls)?(a=y,Ls++):(a=r,0===Us&&st(ye)),a!==r?(n=Ls,Us++,i=s.charAt(Ls),V.test(i)?Ls++:(i=r,0===Us&&st(ve)),Us--,i===r?n=void 0:(Ls=n,n=r),n!==r?((i=Ht())===r&&(i=null),o=Ls,Us++,l=s.charAt(Ls),U.test(l)?Ls++:(l=r,0===Us&&st(be)),Us--,l===r?o=void 0:(Ls=o,o=r),o!==r?(Os=e,e=Js(t)):(Ls=e,e=r)):(Ls=e,e=r)):(Ls=e,e=r)):(Ls=e,e=r),e}function Ct(){var e,s,t;return e=Ls,(s=Ot())!==r&&(t=qt())!==r?(Os=e,e=Cs(s,t)):(Ls=e,e=r),e}function Pt(){var e,t,a,n;return e=Ls,31===s.charCodeAt(Ls)?(t=c,Ls++):(t=r,0===Us&&st(oe)),t!==r&&(a=It())!==r?(s.substr(Ls,3)===k?(n=k,Ls+=3):(n=r,0===Us&&st(ke)),n!==r?(Os=e,e=Ps(a)):(Ls=e,e=r)):(Ls=e,e=r),e}function zt(){var e,t,a,n,i;return e=Ls,t=function(){var e,t,a,n;return e=Ls,31===s.charCodeAt(Ls)?(t=c,Ls++):(t=r,0===Us&&st(oe)),t!==r&&(a=It())!==r?(s.substr(Ls,3)===m?(n=m,Ls+=3):(n=r,0===Us&&st(me)),n!==r?(Os=e,e=zs(a)):(Ls=e,e=r)):(Ls=e,e=r),e}(),t!==r?(s.substr(Ls,2)===E?(a=E,Ls+=2):(a=r,0===Us&&st(Ee)),a!==r?(n=Ls,Us++,i=s.charAt(Ls),Q.test(i)?Ls++:(i=r,0===Us&&st($e)),Us--,i===r?n=void 0:(Ls=n,n=r),n!==r?(Os=e,e=Rs(t)):(Ls=e,e=r)):(Ls=e,e=r)):(Ls=e,e=r),e}function Rt(){var e,t,a,n;return e=Ls,(t=zt())!==r?(46===s.charCodeAt(Ls)?(a=g,Ls++):(a=r,0===Us&&st(pe)),a!==r&&(n=Ot())!==r?(Os=e,e=ws(t,n)):(Ls=e,e=r)):(Ls=e,e=r),e}function wt(){var e,t,a,n,i,o,l;return e=Ls,Tt()===r&&null,(t=Ot())!==r?(Ut(),a=Ls,Us++,n=Ls,102===s.charCodeAt(Ls)?(i=y,Ls++):(i=r,0===Us&&st(ye)),i!==r?(o=Ls,Us++,l=s.charAt(Ls),V.test(l)?Ls++:(l=r,0===Us&&st(ve)),Us--,l===r?o=void 0:(Ls=o,o=r),o!==r?n=i=[i,o]:(Ls=n,n=r)):(Ls=n,n=r),n===r&&(n=Ls,s.substr(Ls,2)===b?(i=b,Ls+=2):(i=r,0===Us&&st(fe)),i!==r?(o=Ls,Us++,l=s.charAt(Ls),V.test(l)?Ls++:(l=r,0===Us&&st(ve)),Us--,l===r?o=void 0:(Ls=o,o=r),o!==r?n=i=[i,o]:(Ls=n,n=r)):(Ls=n,n=r)),Us--,n===r?a=void 0:(Ls=a,a=r),a!==r?(n=s.charAt(Ls),X.test(n)?Ls++:(n=r,0===Us&&st(Ae)),n!==r?(i=Ls,Us++,o=s.charAt(Ls),U.test(o)?Ls++:(o=r,0===Us&&st(be)),Us--,o===r?i=void 0:(Ls=i,i=r),i!==r?(Os=e,e=Ss(t)):(Ls=e,e=r)):(Ls=e,e=r)):(Ls=e,e=r)):(Ls=e,e=r),e}function St(){var e,s;return e=Ls,Tt()===r&&null,(s=Ot())!==r?(Os=e,e=Zs(s)):(Ls=e,e=r),e}function Zt(){var e,t,a,n;return e=Ls,Ut(),t=Ls,s.substr(Ls,3)===$?(a=$,Ls+=3):(a=r,0===Us&&st(Me)),a!==r?(s.substr(Ls,5)===A?(n=A,Ls+=5):(n=r,0===Us&&st(Je)),n===r&&(s.substr(Ls,5)===A?(n=A,Ls+=5):(n=r,0===Us&&st(Je)),n===r&&(s.substr(Ls,4)===M?(n=M,Ls+=4):(n=r,0===Us&&st(Ce)),n===r&&(n=Ht())===r&&(n=null))),n!==r?t=a=[a,n]:(Ls=t,t=r)):(Ls=t,t=r),t!==r?(a=Ut(),Os=e,e=Ts()):(Ls=e,e=r),e}function Tt(){var e,t,a,n,i,o;return e=Ls,Ut(),t=Ls,118===s.charCodeAt(Ls)?(a=J,Ls++):(a=r,0===Us&&st(Pe)),a!==r?(s.substr(Ls,5)===C?(n=C,Ls+=5):(n=r,0===Us&&st(ze)),n===r&&(s.substr(Ls,5)===P?(n=P,Ls+=5):(n=r,0===Us&&st(Re)),n===r&&(s.substr(Ls,4)===z?(n=z,Ls+=4):(n=r,0===Us&&st(we)),n===r&&(n=Ls,s.substr(Ls,3)===R?(i=R,Ls+=3):(i=r,0===Us&&st(Se)),i!==r?((o=Ht())===r&&(o=null),n=i=[i,o]):(Ls=n,n=r),n===r&&(s.substr(Ls,3)===R?(n=R,Ls+=3):(n=r,0===Us&&st(Se)),n===r&&(n=Ls,115===s.charCodeAt(Ls)?(i=w,Ls++):(i=r,0===Us&&st(Ze)),i!==r?((o=Ht())===r&&(o=null),n=i=[i,o]):(Ls=n,n=r)))))),n!==r?t=a=[a,n]:(Ls=t,t=r)):(Ls=t,t=r),t!==r?(a=Ls,Us++,n=s.charAt(Ls),U.test(n)?Ls++:(n=r,0===Us&&st(be)),Us--,n===r?a=void 0:(Ls=a,a=r),a!==r?(n=Ut(),Os=e,e=Ks()):(Ls=e,e=r)):(Ls=e,e=r),e}function Kt(){var e,t,a,n,i,o,l,u,c,p;if(e=Ls,t=Ut(),a=[],58===s.charCodeAt(Ls)?(n=":",Ls++):(n=r,0===Us&&st(Te)),n!==r)for(;n!==r;)a.push(n),58===s.charCodeAt(Ls)?(n=":",Ls++):(n=r,0===Us&&st(Te));else a=r;return a===r&&(a=Ls,46===s.charCodeAt(Ls)?(n=g,Ls++):(n=r,0===Us&&st(pe)),n!==r?(i=Ls,Us++,o=Ls,l=Ut(),46===s.charCodeAt(Ls)?(u=g,Ls++):(u=r,0===Us&&st(pe)),u!==r?(c=Ut(),46===s.charCodeAt(Ls)?(p=g,Ls++):(p=r,0===Us&&st(pe)),p!==r?o=l=[l,u,c,p]:(Ls=o,o=r)):(Ls=o,o=r),Us--,o===r?i=void 0:(Ls=i,i=r),i!==r?a=n=[n,i]:(Ls=a,a=r)):(Ls=a,a=r)),a!==r?e=t=[t,a,n=Ut()]:(Ls=e,e=r),e}function Ft(){var e,t,a;return e=Ls,t=Ut(),a=s.charAt(Ls),Y.test(a)?Ls++:(a=r,0===Us&&st(Ke)),a!==r?e=t=[t,a,Ut()]:(Ls=e,e=r),e===r&&(e=Qt()),e}function Nt(){var e,t,a,n,i,o,l,u,c,p;if(e=Ls,t=[],a=s.charAt(Ls),ee.test(a)?Ls++:(a=r,0===Us&&st(Fe)),a===r&&(a=Ls,46===s.charCodeAt(Ls)?(n=g,Ls++):(n=r,0===Us&&st(pe)),n!==r?(i=Ls,Us++,o=Ls,l=Ut(),46===s.charCodeAt(Ls)?(u=g,Ls++):(u=r,0===Us&&st(pe)),u!==r?(c=Ut(),46===s.charCodeAt(Ls)?(p=g,Ls++):(p=r,0===Us&&st(pe)),p!==r?o=l=[l,u,c,p]:(Ls=o,o=r)):(Ls=o,o=r),Us--,o===r?i=void 0:(Ls=i,i=r),i!==r?a=n=[n,i]:(Ls=a,a=r)):(Ls=a,a=r),a===r&&(a=Ls,s.substr(Ls,3)===S?(n=S,Ls+=3):(n=r,0===Us&&st(Ne)),n!==r&&(i=Qt())!==r?(s.substr(Ls,5)===Z?(o=Z,Ls+=5):(o=r,0===Us&&st(je)),o!==r&&(l=Qt())!==r?(s.substr(Ls,4)===T?(u=T,Ls+=4):(u=r,0===Us&&st(qe)),u!==r?a=n=[n,i,o,l,u]:(Ls=a,a=r)):(Ls=a,a=r)):(Ls=a,a=r),a===r&&(a=Ls,s.substr(Ls,3)===S?(n=S,Ls+=3):(n=r,0===Us&&st(Ne)),n!==r&&(i=Qt())!==r?(s.substr(Ls,5)===Z?(o=Z,Ls+=5):(o=r,0===Us&&st(je)),o!==r?a=n=[n,i,o]:(Ls=a,a=r)):(Ls=a,a=r),a===r&&(a=Ls,s.substr(Ls,3)===S?(n=S,Ls+=3):(n=r,0===Us&&st(Ne)),n!==r&&(i=Qt())!==r?(s.substr(Ls,4)===T?(o=T,Ls+=4):(o=r,0===Us&&st(qe)),o!==r?a=n=[n,i,o]:(Ls=a,a=r)):(Ls=a,a=r),a===r&&(a=Ls,s.substr(Ls,5)===K?(n=K,Ls+=5):(n=r,0===Us&&st(Be)),n!==r&&(i=Qt())!==r?(s.substr(Ls,4)===T?(o=T,Ls+=4):(o=r,0===Us&&st(qe)),o!==r?a=n=[n,i,o]:(Ls=a,a=r)):(Ls=a,a=r),a===r&&(a=Ls,s.substr(Ls,5)===Z?(n=Z,Ls+=5):(n=r,0===Us&&st(je)),n!==r&&(i=Qt())!==r?(s.substr(Ls,4)===T?(o=T,Ls+=4):(o=r,0===Us&&st(qe)),o!==r?a=n=[n,i,o]:(Ls=a,a=r)):(Ls=a,a=r),a===r&&(s.substr(Ls,5)===Z?(a=Z,Ls+=5):(a=r,0===Us&&st(je)),a===r&&(s.substr(Ls,5)===K?(a=K,Ls+=5):(a=r,0===Us&&st(Be)),a===r&&(s.substr(Ls,3)===S?(a=S,Ls+=3):(a=r,0===Us&&st(Ne)),a===r&&(a=Ls,117===s.charCodeAt(Ls)?(n=F,Ls++):(n=r,0===Us&&st(He)),n!==r?((i=Ht())===r&&(i=null),a=n=[n,i]):(Ls=a,a=r),a===r&&(38===s.charCodeAt(Ls)?(a=N,Ls++):(a=r,0===Us&&st(De)),a===r&&(a=Ls,s.substr(Ls,3)===j?(n=j,Ls+=3):(n=r,0===Us&&st(Ge)),n!==r?((i=Ht())===r&&(i=null),a=n=[n,i]):(Ls=a,a=r),a===r&&(a=Qt()))))))))))))),a!==r)for(;a!==r;)t.push(a),a=s.charAt(Ls),ee.test(a)?Ls++:(a=r,0===Us&&st(Fe)),a===r&&(a=Ls,46===s.charCodeAt(Ls)?(n=g,Ls++):(n=r,0===Us&&st(pe)),n!==r?(i=Ls,Us++,o=Ls,l=Ut(),46===s.charCodeAt(Ls)?(u=g,Ls++):(u=r,0===Us&&st(pe)),u!==r?(c=Ut(),46===s.charCodeAt(Ls)?(p=g,Ls++):(p=r,0===Us&&st(pe)),p!==r?o=l=[l,u,c,p]:(Ls=o,o=r)):(Ls=o,o=r),Us--,o===r?i=void 0:(Ls=i,i=r),i!==r?a=n=[n,i]:(Ls=a,a=r)):(Ls=a,a=r),a===r&&(a=Ls,s.substr(Ls,3)===S?(n=S,Ls+=3):(n=r,0===Us&&st(Ne)),n!==r&&(i=Qt())!==r?(s.substr(Ls,5)===Z?(o=Z,Ls+=5):(o=r,0===Us&&st(je)),o!==r&&(l=Qt())!==r?(s.substr(Ls,4)===T?(u=T,Ls+=4):(u=r,0===Us&&st(qe)),u!==r?a=n=[n,i,o,l,u]:(Ls=a,a=r)):(Ls=a,a=r)):(Ls=a,a=r),a===r&&(a=Ls,s.substr(Ls,3)===S?(n=S,Ls+=3):(n=r,0===Us&&st(Ne)),n!==r&&(i=Qt())!==r?(s.substr(Ls,5)===Z?(o=Z,Ls+=5):(o=r,0===Us&&st(je)),o!==r?a=n=[n,i,o]:(Ls=a,a=r)):(Ls=a,a=r),a===r&&(a=Ls,s.substr(Ls,3)===S?(n=S,Ls+=3):(n=r,0===Us&&st(Ne)),n!==r&&(i=Qt())!==r?(s.substr(Ls,4)===T?(o=T,Ls+=4):(o=r,0===Us&&st(qe)),o!==r?a=n=[n,i,o]:(Ls=a,a=r)):(Ls=a,a=r),a===r&&(a=Ls,s.substr(Ls,5)===K?(n=K,Ls+=5):(n=r,0===Us&&st(Be)),n!==r&&(i=Qt())!==r?(s.substr(Ls,4)===T?(o=T,Ls+=4):(o=r,0===Us&&st(qe)),o!==r?a=n=[n,i,o]:(Ls=a,a=r)):(Ls=a,a=r),a===r&&(a=Ls,s.substr(Ls,5)===Z?(n=Z,Ls+=5):(n=r,0===Us&&st(je)),n!==r&&(i=Qt())!==r?(s.substr(Ls,4)===T?(o=T,Ls+=4):(o=r,0===Us&&st(qe)),o!==r?a=n=[n,i,o]:(Ls=a,a=r)):(Ls=a,a=r),a===r&&(s.substr(Ls,5)===Z?(a=Z,Ls+=5):(a=r,0===Us&&st(je)),a===r&&(s.substr(Ls,5)===K?(a=K,Ls+=5):(a=r,0===Us&&st(Be)),a===r&&(s.substr(Ls,3)===S?(a=S,Ls+=3):(a=r,0===Us&&st(Ne)),a===r&&(a=Ls,117===s.charCodeAt(Ls)?(n=F,Ls++):(n=r,0===Us&&st(He)),n!==r?((i=Ht())===r&&(i=null),a=n=[n,i]):(Ls=a,a=r),a===r&&(38===s.charCodeAt(Ls)?(a=N,Ls++):(a=r,0===Us&&st(De)),a===r&&(a=Ls,s.substr(Ls,3)===j?(n=j,Ls+=3):(n=r,0===Us&&st(Ge)),n!==r?((i=Ht())===r&&(i=null),a=n=[n,i]):(Ls=a,a=r),a===r&&(a=Qt())))))))))))));else t=r;return t!==r&&(Os=e,t=Fs()),e=t}function jt(){var e,t,a,n,i;if(e=Ls,t=Ut(),a=[],n=Ls,i=s.charAt(Ls),se.test(i)?Ls++:(i=r,0===Us&&st(Le)),i!==r?n=i=[i,Ut()]:(Ls=n,n=r),n===r&&(n=Ls,s.substr(Ls,3)===q?(i=q,Ls+=3):(i=r,0===Us&&st(Oe)),i!==r?n=i=[i,Ut()]:(Ls=n,n=r)),n!==r)for(;n!==r;)a.push(n),n=Ls,i=s.charAt(Ls),se.test(i)?Ls++:(i=r,0===Us&&st(Le)),i!==r?n=i=[i,Ut()]:(Ls=n,n=r),n===r&&(n=Ls,s.substr(Ls,3)===q?(i=q,Ls+=3):(i=r,0===Us&&st(Oe)),i!==r?n=i=[i,Ut()]:(Ls=n,n=r));else a=r;return a!==r?e=t=[t,a]:(Ls=e,e=r),e}function qt(){var e,t,a;return e=Ls,(t=Kt())===r&&(t=Nt()),t===r&&(t=null),s.substr(Ls,5)===B?(a=B,Ls+=5):(a=r,0===Us&&st(Ie)),a!==r?(Os=e,e=Ns(a)):(Ls=e,e=r),e}function Bt(){var e,t,a,n,i,o,l,u,c,p;return e=Ls,t=Ut(),s.substr(Ls,4)===H?(a=H,Ls+=4):(a=r,0===Us&&st(We)),a===r&&(s.substr(Ls,2)===D?(a=D,Ls+=2):(a=r,0===Us&&st(Ve)),a===r&&(s.substr(Ls,2)===G?(a=G,Ls+=2):(a=r,0===Us&&st(Ue)))),a!==r?(n=Ut(),i=Ls,s.substr(Ls,3)===L?(o=L,Ls+=3):(o=r,0===Us&&st(Qe)),o!==r?(l=Ut(),s.substr(Ls,4)===O?(u=O,Ls+=4):(u=r,0===Us&&st(Xe)),u!==r?(c=Ut(),s.substr(Ls,2)===D?(p=D,Ls+=2):(p=r,0===Us&&st(Ve)),p!==r?i=o=[o,l,u,c,p,Ut()]:(Ls=i,i=r)):(Ls=i,i=r)):(Ls=i,i=r),i===r&&(i=null),e=t=[t,a,n,i]):(Ls=e,e=r),e}function Ht(){var e,t,a,n,i,o,l,u,c;return e=Ls,t=Ut(),46===s.charCodeAt(Ls)?(a=g,Ls++):(a=r,0===Us&&st(pe)),a!==r?(n=Ls,Us++,i=Ls,o=Ut(),46===s.charCodeAt(Ls)?(l=g,Ls++):(l=r,0===Us&&st(pe)),l!==r?(u=Ut(),46===s.charCodeAt(Ls)?(c=g,Ls++):(c=r,0===Us&&st(pe)),c!==r?i=o=[o,l,u,c]:(Ls=i,i=r)):(Ls=i,i=r),Us--,i===r?n=void 0:(Ls=n,n=r),n!==r?e=t=[t,a,n]:(Ls=e,e=r)):(Ls=e,e=r),e}function Dt(){var e,t,a,n,i,o,l,u;if(e=Ls,Ut(),t=s.charAt(Ls),te.test(t)?Ls++:(t=r,0===Us&&st(Ye)),t!==r){if(Ut(),a=Ls,(n=Lt())!==r){for(i=[],o=Ls,(l=Nt())!==r&&(u=Lt())!==r?o=l=[l,u]:(Ls=o,o=r);o!==r;)i.push(o),o=Ls,(l=Nt())!==r&&(u=Lt())!==r?o=l=[l,u]:(Ls=o,o=r);a=n=[n,i]}else Ls=a,a=r;a!==r?(n=Ut(),i=s.charAt(Ls),ae.test(i)?Ls++:(i=r,0===Us&&st(es)),i!==r?(Os=e,e=js(a)):(Ls=e,e=r)):(Ls=e,e=r)}else Ls=e,e=r;return e}function Gt(){var e,t,a,n,i,o,l,u;if(e=Ls,Ut(),t=Ls,44===s.charCodeAt(Ls)?(a=h,Ls++):(a=r,0===Us&&st(ce)),a!==r?t=a=[a,n=Ut()]:(Ls=t,t=r),t===r&&(t=null),a=Ls,(n=Lt())!==r){for(i=[],o=Ls,(l=Nt())!==r&&(u=Lt())!==r?o=l=[l,u]:(Ls=o,o=r);o!==r;)i.push(o),o=Ls,(l=Nt())!==r&&(u=Lt())!==r?o=l=[l,u]:(Ls=o,o=r);a=n=[n,i]}else Ls=a,a=r;return a!==r?(Os=e,e=qs(a)):(Ls=e,e=r),e}function Lt(){var e,t,a,n;return e=Ls,30===s.charCodeAt(Ls)?(t=I,Ls++):(t=r,0===Us&&st(ss)),t!==r&&(a=It())!==r?(30===s.charCodeAt(Ls)?(n=I,Ls++):(n=r,0===Us&&st(ss)),n!==r?(Os=e,e=Bs(a)):(Ls=e,e=r)):(Ls=e,e=r),e}function Ot(){var e;return(e=/^[0-9]{1,3}(?!\d|,000)/.exec(s.substr(Ls)))?(Os=Ls,Ls+=e[0].length,{type:"integer",value:parseInt(e[0],10),indices:[Os,Ls-1]}):r}function It(){var e,t,a;if(e=Ls,t=[],a=s.charAt(Ls),Q.test(a)?Ls++:(a=r,0===Us&&st($e)),a!==r)for(;a!==r;)t.push(a),a=s.charAt(Ls),Q.test(a)?Ls++:(a=r,0===Us&&st($e));else t=r;return t!==r&&(Os=e,t=Hs(t)),e=t}function Wt(){var e,t,a;if(e=Ls,t=[],a=s.charAt(Ls),re.test(a)?Ls++:(a=r,0===Us&&st(ts)),a!==r)for(;a!==r;)t.push(a),a=s.charAt(Ls),re.test(a)?Ls++:(a=r,0===Us&&st(ts));else t=r;return t!==r&&(Os=e,t=Ds(t)),e=t}function Vt(){var e,t;return e=Ls,t=s.charAt(Ls),te.test(t)?Ls++:(t=r,0===Us&&st(Ye)),t!==r&&(Os=e,t=Gs(t)),e=t}function Ut(){var e;return(e=Qt())===r&&(e=null),e}function Qt(){var e;return(e=/^[\s\xa0*]+/.exec(s.substr(Ls)))?(Ls+=e[0].length,[]):r}if("punctuation_strategy"in t&&"eu"===t.punctuation_strategy&&(Kt=function(){var e,t,a;e=Ls,t=Ut(),44===s.charCodeAt(Ls)?(a=h,Ls++):(a=r,0===Us&&st(ce));a!==r?e=t=[t,a,Ut()]:(Ls=e,e=r);return e},ee=/^[;\/:&\-\u2013\u2014~]/),a=o(),t.peg$library)return{peg$result:a,peg$currPos:Ls,peg$FAILED:r,peg$maxFailExpected:Vs,peg$maxFailPos:Ws};if(a!==r&&Ls===s.length)return a;throw a!==r&&Ls<s.length&&st({type:"end"}),tt(Vs,Ws<s.length?s.charAt(Ws):null,Ws<s.length?et(Ws,Ws+1):et(Ws,Ws))}}}()}).call(this);
|