praiadeseselle/wire/modules/Jquery/JqueryCore/xregexp.min.js

54 lines
119 KiB
JavaScript
Raw Normal View History

2022-03-08 15:55:41 +01:00
(function(b){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=b()}else{if(typeof define==="function"&&define.amd){define([],b)}else{var a;if(typeof window!=="undefined"){a=window}else{if(typeof global!=="undefined"){a=global}else{if(typeof self!=="undefined"){a=self}else{a=this}}}a.XRegExp=b()}}})(function(){var d,b,a;return(function c(f,k,h){function g(q,n){if(!k[q]){if(!f[q]){var m=typeof require=="function"&&require;if(!n&&m){return m(q,!0)}if(e){return e(q,!0)}var p=new Error("Cannot find module '"+q+"'");throw p.code="MODULE_NOT_FOUND",p}var i=k[q]={exports:{}};f[q][0].call(i.exports,function(l){var o=f[q][1][l];return g(o?o:l)},i,i.exports,c,f,k,h)}return k[q].exports}var e=typeof require=="function"&&require;for(var j=0;j<h.length;j++){g(h[j])}return g})({1:[function(f,g,e){
/*!
* XRegExp.build 3.1.1
* <xregexp.com>
* Steven Levithan (c) 2012-2016 MIT License
* Inspired by Lea Verou's RegExp.create <lea.verou.me>
*/
;g.exports=function(k){var h="xregexp";var j=/(\()(?!\?)|\\([1-9]\d*)|\\[\s\S]|\[(?:[^\\\]]|\\[\s\S])*]/g;var i=k.union([/\({{([\w$]+)}}\)|{{([\w$]+)}}/,j],"g");function m(o){var p=/^(?:\(\?:\))*\^/,n=/\$(?:\(\?:\))*$/;if(p.test(o)&&n.test(o)&&n.test(o.replace(/\\[\s\S]/g,""))){return o.replace(p,"").replace(n,"")}return o}function l(n){return k.isRegExp(n)?(n[h]&&n[h].captureNames?n:k(n.source)):k(n)}k.build=function(x,s,q){var r=/^\(\?([\w$]+)\)/.exec(x),v={},y=0,t,u=0,z=[0],w,n,o;if(r){q=q||"";r[1].replace(/./g,function(p){q+=(q.indexOf(p)>-1?"":p)})}for(o in s){if(s.hasOwnProperty(o)){n=l(s[o]);v[o]={pattern:m(n.source),names:n[h].captureNames||[]}}}x=l(x);w=x[h].captureNames||[];x=x.source.replace(i,function(G,F,D,C,B){var E=F||D,A,H,p;if(E){if(!v.hasOwnProperty(E)){throw new ReferenceError("Undefined property "+G)}if(F){A=w[u];z[++u]=++y;H="(?<"+(A||E)+">"}else{H="(?:"}t=y;return H+v[E].pattern.replace(j,function(I,J,K){if(J){A=v[E].names[y-t];++y;if(A){return"(?<"+A+">"}}else{if(K){p=+K-1;return v[E].names[p]?"\\k<"+v[E].names[p]+">":"\\"+(+K+t)}}return I})+")"}if(C){A=w[u];z[++u]=++y;if(A){return"(?<"+A+">"}}else{if(B){p=+B-1;return w[p]?"\\k<"+w[p]+">":"\\"+z[+B]}}return G});return k(x,q)}}},{}],2:[function(f,g,e){
/*!
* XRegExp.matchRecursive 3.1.1
* <xregexp.com>
* Steven Levithan (c) 2009-2016 MIT License
*/
;g.exports=function(h){function i(k,l,m,j){return{name:k,value:l,start:m,end:j}}h.matchRecursive=function(w,m,z,o,l){o=o||"";l=l||{};var x=o.indexOf("g")>-1,B=o.indexOf("y")>-1,j=o.replace(/y/g,""),C=l.escapeChar,r=l.valueNames,p=[],k=0,q=0,u=0,s=0,t,n,v,y,A;m=h(m,j);z=h(z,j);if(C){if(C.length>1){throw new Error("Cannot use more than one escape character")}C=h.escape(C);A=new RegExp("(?:"+C+"[\\S\\s]|(?:(?!"+h.union([m,z]).source+")[^"+C+"])+)+",o.replace(/[^imu]+/g,""))}while(true){if(C){u+=(h.exec(w,A,u,"sticky")||[""])[0].length}v=h.exec(w,m,u);y=h.exec(w,z,u);if(v&&y){if(v.index<=y.index){y=null}else{v=null}}if(v||y){q=(v||y).index;u=q+(v||y)[0].length}else{if(!k){break}}if(B&&!k&&q>s){break}if(v){if(!k){t=q;n=u}++k}else{if(y&&k){if(!--k){if(r){if(r[0]&&t>s){p.push(i(r[0],w.slice(s,t),s,t))}if(r[1]){p.push(i(r[1],w.slice(t,n),t,n))}if(r[2]){p.push(i(r[2],w.slice(n,q),n,q))}if(r[3]){p.push(i(r[3],w.slice(q,u),q,u))}}else{p.push(w.slice(n,q))}s=u;if(!x){break}}}else{throw new Error("Unbalanced delimiter found in string")}}if(q===u){++u}}if(x&&!B&&r&&r[0]&&w.length>s){p.push(i(r[0],w.slice(s),s,w.length))}return p}}},{}],3:[function(f,g,e){
/*!
* XRegExp Unicode Base 3.1.1
* <xregexp.com>
* Steven Levithan (c) 2008-2016 MIT License
*/
;g.exports=function(o){var h={};var k=o._dec;var j=o._hex;var p=o._pad4;function m(s){return s.replace(/[- _]+/g,"").toLowerCase()}function q(t){var s=/^\\[xu](.+)/.exec(t);return s?k(s[1]):t.charCodeAt(t.charAt(0)==="\\"?1:0)}function i(t){var s="";var u=-1;o.forEach(t,/(\\x..|\\u....|\\?[\s\S])(?:-(\\x..|\\u....|\\?[\s\S]))?/,function(v){var w=q(v[1]);if(w>(u+1)){s+="\\u"+p(j(u+1));if(w>(u+2)){s+="-\\u"+p(j(w-1))}}u=q(v[2]||v[1])});if(u<65535){s+="\\u"+p(j(u+1));if(u<65534){s+="-\\uFFFF"}}return s}function l(s){var t="b!";return h[s][t]||(h[s][t]=i(h[s].bmp))}function n(s,t){var v=h[s],u="";if(v.bmp&&!v.isBmpLast){u="["+v.bmp+"]"+(v.astral?"|":"")}if(v.astral){u+=v.astral}if(v.isBmpLast&&v.bmp){u+=(v.astral?"|":"")+"["+v.bmp+"]"}return t?"(?:(?!"+u+")(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[\0-\uFFFF]))":"(?:"+u+")"}function r(s,t){var u=t?"a!":"a=";return h[s][u]||(h[s][u]=n(s,t))}o.addToken(/\\([pP])(?:{(\^?)([^}]*)}|([A-Za-z]))/,function(z,D,v){var B="Invalid double negation ",w="Unknown Unicode token ",t="Unicode token missing data ",u="Astral mode required for Unicode token ",s="Astral mode does not support Unicode tokens within character classes",A=z[1]==="P"||!!z[2],y=v.indexOf("A")>-1,x=m(z[4]||z[3]),C=h[x];if(z[1]==="P"&&z[2]){throw new SyntaxError(B+z[0])}if(!h.hasOwnProperty(x)){throw new SyntaxError(w+z[0])}if(C.inverseOf){x=m(C.inverseOf);if(!h.hasOwnProperty(x)){throw new ReferenceError(t+z[0]+" -> "+C.inverseOf)}C=h[x];A=!A}if(!(C.bmp||y)){throw new SyntaxError(u+z[0])}if(y){if(D==="class"){throw new SyntaxError(s)}return r(x,A)}return D==="class"?(A?l(x):C.bmp):(A?"[^":"[")+C.bmp+"]"},{scope:"all",optionalFlags:"A",leadChar:"\\"});o.addUnicodeData=function(w){var s="Unicode token requires name",v="Unicode token has no character data ",u,t;for(t=0;t<w.length;++t){u=w[t];if(!u.name){throw new Error(s)}if(!(u.inverseOf||u.bmp||u.astral)){throw new Error(v+u.name)}h[m(u.name)]=u;if(u.alias){h[m(u.alias)]=u}}o.cache.flush("patterns")}}},{}],4:[function(f,g,e){
/*!
* XRegExp Unicode Blocks 3.1.1
* <xregexp.com>
* Steven Levithan (c) 2010-2016 MIT License
* Unicode data by Mathias Bynens <mathiasbynens.be>
*/
;g.exports=function(h){if(!h.addUnicodeData){throw new ReferenceError("Unicode Base must be loaded before Unicode Blocks")}h.addUnicodeData([{name:"InAegean_Numbers",astral:"\uD800[\uDD00-\uDD3F]"},{name:"InAhom",astral:"\uD805[\uDF00-\uDF3F]"},{name:"InAlchemical_Symbols",astral:"\uD83D[\uDF00-\uDF7F]"},{name:"InAlphabetic_Presentation_Forms",bmp:"\uFB00-\uFB4F"},{name:"InAnatolian_Hieroglyphs",astral:"\uD811[\uDC00-\uDE7F]"},{name:"InAncient_Greek_Musical_Notation",astral:"\uD834[\uDE00-\uDE4F]"},{name:"InAncient_Greek_Numbers",astral:"\uD800[\uDD40-\uDD8F]"},{name:"InAncient_Symbols",astral:"\uD800[\uDD90-\uDDCF]"},{name:"InArabic",bmp:"\u0600-\u06FF"},{name:"InArabic_Extended_A",bmp:"\u08A0-\u08FF"},{name:"InArabic_Mathematical_Alphabetic_Symbols",astral:"\uD83B[\uDE00-\uDEFF]"},{name:"InArabic_Presentation_Forms_A",bmp:"\uFB50-\uFDFF"},{name:"InArabic_Presentation_Forms_B",bmp:"\uFE70-\uFEFF"},{name:"InArabic_Supplement",bmp:"\u0750-\u077F"},{name:"InArmenian",bmp:"\u0530-\u058F"},{name:"InArrows",bmp:"\u2190-\u21FF"},{name:"InAvestan",astral:"\uD802[\uDF00-\uDF3F]"},{name:"InBalinese",bmp:"\u1B00-\u1B7F"},{name:"InBamum",bmp:"\uA6A0-\uA6FF"},{name:"InBamum_Supplement",astral:"\uD81A[\uDC00-\uDE3F]"},{name:"InBasic_Latin",bmp:"\0-\x7F"},{name:"InBassa_Vah",astral:"\uD81A[\uDED0-\uDEFF]"},{name:"InBatak",bmp:"\u1BC0-\u1BFF"},{name:"InBengali",bmp:"\u0980-\u09FF"},{name:"InBlock_Elements",bmp:"\u2580-\u259F"},{name:"InBopomofo",bmp:"\u3100-\u312F"},{name:"InBopomofo_Extended",bmp:"\u31A0-\u31BF"},{name:"InBox_Drawing",bmp:"\u2500-\u257F"},{name:"InBrahmi",astral:"\uD804[\uDC00-\uDC7F]"},{name:"InBraille_Patterns",bmp:"\u2800-\u28FF"},{name:"InBuginese",bmp:"\u1A00-\u1A1F"},{name:"InBuhid",bmp:"\u1740-\u175F"},{name:"InByzantine_Musical_Symbols",astral:"\uD834[\uDC00-\uDCFF]"},{name:"InCJK_Compatibility",bmp:"\u3300-\u33FF"},{name:"InCJK_Compatibility_Forms",bmp:"\uFE30-\uFE4F"},{name:"InCJK_Compatibility_Ideographs",bmp:"\uF900-\uFAFF"},{name:"InCJK_Compatibility_Ideographs_Supplement",astral:"\uD87E[\uDC00-\uDE1F]"},{name:"InCJK_Radicals_Supplement",bmp:"\u2E80-\u2EFF"},{name:"InCJK_Strokes",bmp:"\u31C0-\u31EF"},{name:"InCJK_Symbols_and_Punctuation",bmp:"\u3000-\u303F"},{name:"InCJK_Unified_Ideographs",bmp:"\u4E00-\u9FFF"},{name:"InCJK_Unified_Ideographs_Extension_A",bmp:"\u3400-\u4DBF"},{name:"InCJK_Unified_Ideographs_Extension_B",astral:"[\uD840-\uD868][\uDC00-\uDFFF]|\uD869[\uDC00-\uDEDF]"},{name:"InCJK_Unified_Ideographs_Extension_C",astral:"\uD86D[\uDC00-\uDF3F]|[\uD86A-\uD86C][\uDC00-\uDFFF]|\uD869[\uDF00-\uDFFF]"},{name:"InCJK_Unified_Ideographs_Extension_D",astral:"\uD86D[\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1F]"},{name:"InCJK_Unified_Ideographs_Extension_E",astral:"[\uD86F-\uD872][\uDC00-\uDFFF]|\uD873[\uDC00-\uDEAF]|\uD86E[\uDC20-\uDFFF]"},{name:"InCarian",astral:"\uD800[\uDEA0-\uDEDF]"},{name:"InCaucasian_Albanian",astral:"\uD801[\uDD30-\uDD6F]"},{name:"InChakma",astral:"\uD804[\uDD00-\uDD4F]"},{name:"InCham",bmp:"\uAA00-\uAA5F"},{name:"InCherokee",bmp:"\u13A0-\u13FF"},{name:"InCherokee_Supplement",bmp:"\uAB70-\uABBF"},{name:"InCombining_Diacritical_Marks",bmp:"\u0300-\u036F"},{name:"InCombining_Diacritical_Marks_Extended",bmp:"\u1AB0-\u1AFF"},{name:"InCombining_Diacritical_Marks_Supplement",bmp:"\u1DC0-\u1DFF"},{name:"InCombining_Diacritical_Marks_for_Symbols",bmp:"\u20D0-\u20FF"},{name:"InCombining_Half_Marks",bmp:"\uFE20-\uFE2F"},{name:"InCommon_Indic_Number_Forms",bmp:"\uA830-\uA83F"},{name:"InControl_Pictures",bmp:"\u2400-\u243F"},{name:"InCoptic",bmp:"\u2C80-\u2CFF"},{name:"InCoptic_Epact_Numbers",astral:"\uD800[\uDEE0-\uDEFF]"},{name:"InCounting_Rod_Numerals",astral:"\uD834[\uDF60-\uDF7F]"},{name:"InCuneiform",astral:"\uD808[\uDC00-\uDFFF]"},{name:"InCuneiform_Numbers_and_Punctuation",astral:"\uD809[\uDC00-\uDC7F]"},{name:"InCurrency_Symbols",bmp:"\u20A0-\u20CF"},{name:"InCypriot_Syllabary",astral:"\uD802[\uDC00-\uDC3F]"},{name:"InCyrillic",bmp:"\u0400-\u04FF"},{name:"InCyrillic_Extended_A",bmp:"\u2DE0-\u2DFF"},{name:"InCyrillic_Extended_B",bmp:"\uA640-\uA69F"},{name:"InCyrillic_Supplement",bmp:"\u0500
/*!
* XRegExp Unicode Categories 3.1.1
* <xregexp.com>
* Steven Levithan (c) 2010-2016 MIT License
* Unicode data by Mathias Bynens <mathiasbynens.be>
*/
;g.exports=function(h){if(!h.addUnicodeData){throw new ReferenceError("Unicode Base must be loaded before Unicode Categories")}h.addUnicodeData([{name:"C",alias:"Other",isBmpLast:true,bmp:"\0-\x1F\x7F-\x9F\xAD\u0378\u0379\u0380-\u0383\u038B\u038D\u03A2\u0530\u0557\u0558\u0560\u0588\u058B\u058C\u0590\u05C8-\u05CF\u05EB-\u05EF\u05F5-\u0605\u061C\u061D\u06DD\u070E\u070F\u074B\u074C\u07B2-\u07BF\u07FB-\u07FF\u082E\u082F\u083F\u085C\u085D\u085F-\u089F\u08B5-\u08E2\u0984\u098D\u098E\u0991\u0992\u09A9\u09B1\u09B3-\u09B5\u09BA\u09BB\u09C5\u09C6\u09C9\u09CA\u09CF-\u09D6\u09D8-\u09DB\u09DE\u09E4\u09E5\u09FC-\u0A00\u0A04\u0A0B-\u0A0E\u0A11\u0A12\u0A29\u0A31\u0A34\u0A37\u0A3A\u0A3B\u0A3D\u0A43-\u0A46\u0A49\u0A4A\u0A4E-\u0A50\u0A52-\u0A58\u0A5D\u0A5F-\u0A65\u0A76-\u0A80\u0A84\u0A8E\u0A92\u0AA9\u0AB1\u0AB4\u0ABA\u0ABB\u0AC6\u0ACA\u0ACE\u0ACF\u0AD1-\u0ADF\u0AE4\u0AE5\u0AF2-\u0AF8\u0AFA-\u0B00\u0B04\u0B0D\u0B0E\u0B11\u0B12\u0B29\u0B31\u0B34\u0B3A\u0B3B\u0B45\u0B46\u0B49\u0B4A\u0B4E-\u0B55\u0B58-\u0B5B\u0B5E\u0B64\u0B65\u0B78-\u0B81\u0B84\u0B8B-\u0B8D\u0B91\u0B96-\u0B98\u0B9B\u0B9D\u0BA0-\u0BA2\u0BA5-\u0BA7\u0BAB-\u0BAD\u0BBA-\u0BBD\u0BC3-\u0BC5\u0BC9\u0BCE\u0BCF\u0BD1-\u0BD6\u0BD8-\u0BE5\u0BFB-\u0BFF\u0C04\u0C0D\u0C11\u0C29\u0C3A-\u0C3C\u0C45\u0C49\u0C4E-\u0C54\u0C57\u0C5B-\u0C5F\u0C64\u0C65\u0C70-\u0C77\u0C80\u0C84\u0C8D\u0C91\u0CA9\u0CB4\u0CBA\u0CBB\u0CC5\u0CC9\u0CCE-\u0CD4\u0CD7-\u0CDD\u0CDF\u0CE4\u0CE5\u0CF0\u0CF3-\u0D00\u0D04\u0D0D\u0D11\u0D3B\u0D3C\u0D45\u0D49\u0D4F-\u0D56\u0D58-\u0D5E\u0D64\u0D65\u0D76-\u0D78\u0D80\u0D81\u0D84\u0D97-\u0D99\u0DB2\u0DBC\u0DBE\u0DBF\u0DC7-\u0DC9\u0DCB-\u0DCE\u0DD5\u0DD7\u0DE0-\u0DE5\u0DF0\u0DF1\u0DF5-\u0E00\u0E3B-\u0E3E\u0E5C-\u0E80\u0E83\u0E85\u0E86\u0E89\u0E8B\u0E8C\u0E8E-\u0E93\u0E98\u0EA0\u0EA4\u0EA6\u0EA8\u0EA9\u0EAC\u0EBA\u0EBE\u0EBF\u0EC5\u0EC7\u0ECE\u0ECF\u0EDA\u0EDB\u0EE0-\u0EFF\u0F48\u0F6D-\u0F70\u0F98\u0FBD\u0FCD\u0FDB-\u0FFF\u10C6\u10C8-\u10CC\u10CE\u10CF\u1249\u124E\u124F\u1257\u1259\u125E\u125F\u1289\u128E\u128F\u12B1\u12B6\u12B7\u12BF\u12C1\u12C6\u12C7\u12D7\u1311\u1316\u1317\u135B\u135C\u137D-\u137F\u139A-\u139F\u13F6\u13F7\u13FE\u13FF\u169D-\u169F\u16F9-\u16FF\u170D\u1715-\u171F\u1737-\u173F\u1754-\u175F\u176D\u1771\u1774-\u177F\u17DE\u17DF\u17EA-\u17EF\u17FA-\u17FF\u180E\u180F\u181A-\u181F\u1878-\u187F\u18AB-\u18AF\u18F6-\u18FF\u191F\u192C-\u192F\u193C-\u193F\u1941-\u1943\u196E\u196F\u1975-\u197F\u19AC-\u19AF\u19CA-\u19CF\u19DB-\u19DD\u1A1C\u1A1D\u1A5F\u1A7D\u1A7E\u1A8A-\u1A8F\u1A9A-\u1A9F\u1AAE\u1AAF\u1ABF-\u1AFF\u1B4C-\u1B4F\u1B7D-\u1B7F\u1BF4-\u1BFB\u1C38-\u1C3A\u1C4A-\u1C4C\u1C80-\u1CBF\u1CC8-\u1CCF\u1CF7\u1CFA-\u1CFF\u1DF6-\u1DFB\u1F16\u1F17\u1F1E\u1F1F\u1F46\u1F47\u1F4E\u1F4F\u1F58\u1F5A\u1F5C\u1F5E\u1F7E\u1F7F\u1FB5\u1FC5\u1FD4\u1FD5\u1FDC\u1FF0\u1FF1\u1FF5\u1FFF\u200B-\u200F\u202A-\u202E\u2060-\u206F\u2072\u2073\u208F\u209D-\u209F\u20BF-\u20CF\u20F1-\u20FF\u218C-\u218F\u23FB-\u23FF\u2427-\u243F\u244B-\u245F\u2B74\u2B75\u2B96\u2B97\u2BBA-\u2BBC\u2BC9\u2BD2-\u2BEB\u2BF0-\u2BFF\u2C2F\u2C5F\u2CF4-\u2CF8\u2D26\u2D28-\u2D2C\u2D2E\u2D2F\u2D68-\u2D6E\u2D71-\u2D7E\u2D97-\u2D9F\u2DA7\u2DAF\u2DB7\u2DBF\u2DC7\u2DCF\u2DD7\u2DDF\u2E43-\u2E7F\u2E9A\u2EF4-\u2EFF\u2FD6-\u2FEF\u2FFC-\u2FFF\u3040\u3097\u3098\u3100-\u3104\u312E-\u3130\u318F\u31BB-\u31BF\u31E4-\u31EF\u321F\u32FF\u4DB6-\u4DBF\u9FD6-\u9FFF\uA48D-\uA48F\uA4C7-\uA4CF\uA62C-\uA63F\uA6F8-\uA6FF\uA7AE\uA7AF\uA7B8-\uA7F6\uA82C-\uA82F\uA83A-\uA83F\uA878-\uA87F\uA8C5-\uA8CD\uA8DA-\uA8DF\uA8FE\uA8FF\uA954-\uA95E\uA97D-\uA97F\uA9CE\uA9DA-\uA9DD\uA9FF\uAA37-\uAA3F\uAA4E\uAA4F\uAA5A\uAA5B\uAAC3-\uAADA\uAAF7-\uAB00\uAB07\uAB08\uAB0F\uAB10\uAB17-\uAB1F\uAB27\uAB2F\uAB66-\uAB6F\uABEE\uABEF\uABFA-\uABFF\uD7A4-\uD7AF\uD7C7-\uD7CA\uD7FC-\uF8FF\uFA6E\uFA6F\uFADA-\uFAFF\uFB07-\uFB12\uFB18-\uFB1C\uFB37\uFB3D\uFB3F\uFB42\uFB45\uFBC2-\uFBD2\uFD40-\uFD4F\uFD90\uFD91\uFDC8-\uFDEF\uFDFE\uFDFF\uFE1A-\uFE1F\uFE53\uFE67\uFE6C-\uFE6F\uFE75\uFEFD-\uFF00\uFFBF-\uFFC1\uFFC8\uFFC9\uFFD0\uFFD1\uFFD8\uFFD9\uFFDD-\uFFDF\uFFE7\uFFEF-\uFFFB\uFFFE\uFFFF",astral:"\uD834[\uDCF6-\uDCFF\uDD27\uDD28\uDD73-\uDD7A\uDDE9-\uDDFF\uDE46-\uDEFF\uDF57-\uDF5F\uDF72-\uDFFF]|\uD836[\
/*!
* XRegExp Unicode Properties 3.1.1
* <xregexp.com>
* Steven Levithan (c) 2012-2016 MIT License
* Unicode data by Mathias Bynens <mathiasbynens.be>
*/
;g.exports=function(i){if(!i.addUnicodeData){throw new ReferenceError("Unicode Base must be loaded before Unicode Properties")}var h=[{name:"ASCII",bmp:"\0-\x7F"},{name:"Alphabetic",bmp:"A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0345\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05B0-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0657\u0659-\u065F\u066E-\u06D3\u06D5-\u06DC\u06E1-\u06E8\u06ED-\u06EF\u06FA-\u06FC\u06FF\u0710-\u073F\u074D-\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0817\u081A-\u082C\u0840-\u0858\u08A0-\u08B4\u08E3-\u08E9\u08F0-\u093B\u093D-\u094C\u094E-\u0950\u0955-\u0963\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD-\u09C4\u09C7\u09C8\u09CB\u09CC\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09F0\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3E-\u0A42\u0A47\u0A48\u0A4B\u0A4C\u0A51\u0A59-\u0A5C\u0A5E\u0A70-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD-\u0AC5\u0AC7-\u0AC9\u0ACB\u0ACC\u0AD0\u0AE0-\u0AE3\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D-\u0B44\u0B47\u0B48\u0B4B\u0B4C\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCC\u0BD0\u0BD7\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4C\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C81-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCC\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4C\u0D4E\u0D57\u0D5F-\u0D63\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E46\u0E4D\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0ECD\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F71-\u0F81\u0F88-\u0F97\u0F99-\u0FBC\u1000-\u1036\u1038\u103B-\u103F\u1050-\u1062\u1065-\u1068\u106E-\u1086\u108E\u109C\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1713\u1720-\u1733\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17B3\u17B6-\u17C8\u17D7\u17DC\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u1938\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A1B\u1A20-\u1A5E\u1A61-\u1A74\u1AA7\u1B00-\u1B33\u1B35-\u1B43\u1B45-\u1B4B\u1B80-\u1BA9\u1BAC-\u1BAF\u1BBA-\u1BE5\u1BE7-\u1BF1\u1C00-\u1C35\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1D00-\u1DBF\u1DE7-\u1DF4\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u24B6-\u24E9\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30F
/*!
* XRegExp Unicode Scripts 3.1.1
* <xregexp.com>
* Steven Levithan (c) 2010-2016 MIT License
* Unicode data by Mathias Bynens <mathiasbynens.be>
*/
;g.exports=function(h){if(!h.addUnicodeData){throw new ReferenceError("Unicode Base must be loaded before Unicode Scripts")}h.addUnicodeData([{name:"Ahom",astral:"\uD805[\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF3F]"},{name:"Anatolian_Hieroglyphs",astral:"\uD811[\uDC00-\uDE46]"},{name:"Arabic",bmp:"\u0600-\u0604\u0606-\u060B\u060D-\u061A\u061E\u0620-\u063F\u0641-\u064A\u0656-\u066F\u0671-\u06DC\u06DE-\u06FF\u0750-\u077F\u08A0-\u08B4\u08E3-\u08FF\uFB50-\uFBC1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFD\uFE70-\uFE74\uFE76-\uFEFC",astral:"\uD803[\uDE60-\uDE7E]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB\uDEF0\uDEF1]"},{name:"Armenian",bmp:"\u0531-\u0556\u0559-\u055F\u0561-\u0587\u058A\u058D-\u058F\uFB13-\uFB17"},{name:"Avestan",astral:"\uD802[\uDF00-\uDF35\uDF39-\uDF3F]"},{name:"Balinese",bmp:"\u1B00-\u1B4B\u1B50-\u1B7C"},{name:"Bamum",bmp:"\uA6A0-\uA6F7",astral:"\uD81A[\uDC00-\uDE38]"},{name:"Bassa_Vah",astral:"\uD81A[\uDED0-\uDEED\uDEF0-\uDEF5]"},{name:"Batak",bmp:"\u1BC0-\u1BF3\u1BFC-\u1BFF"},{name:"Bengali",bmp:"\u0980-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09FB"},{name:"Bopomofo",bmp:"\u02EA\u02EB\u3105-\u312D\u31A0-\u31BA"},{name:"Brahmi",astral:"\uD804[\uDC00-\uDC4D\uDC52-\uDC6F\uDC7F]"},{name:"Braille",bmp:"\u2800-\u28FF"},{name:"Buginese",bmp:"\u1A00-\u1A1B\u1A1E\u1A1F"},{name:"Buhid",bmp:"\u1740-\u1753"},{name:"Canadian_Aboriginal",bmp:"\u1400-\u167F\u18B0-\u18F5"},{name:"Carian",astral:"\uD800[\uDEA0-\uDED0]"},{name:"Caucasian_Albanian",astral:"\uD801[\uDD30-\uDD63\uDD6F]"},{name:"Chakma",astral:"\uD804[\uDD00-\uDD34\uDD36-\uDD43]"},{name:"Cham",bmp:"\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA5C-\uAA5F"},{name:"Cherokee",bmp:"\u13A0-\u13F5\u13F8-\u13FD\uAB70-\uABBF"},{name:"Common",bmp:"\0-\x40\\x5B-\x60\\x7B-\xA9\xAB-\xB9\xBB-\xBF\xD7\xF7\u02B9-\u02DF\u02E5-\u02E9\u02EC-\u02FF\u0374\u037E\u0385\u0387\u0589\u0605\u060C\u061B\u061C\u061F\u0640\u06DD\u0964\u0965\u0E3F\u0FD5-\u0FD8\u10FB\u16EB-\u16ED\u1735\u1736\u1802\u1803\u1805\u1CD3\u1CE1\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u2000-\u200B\u200E-\u2064\u2066-\u2070\u2074-\u207E\u2080-\u208E\u20A0-\u20BE\u2100-\u2125\u2127-\u2129\u212C-\u2131\u2133-\u214D\u214F-\u215F\u2189-\u218B\u2190-\u23FA\u2400-\u2426\u2440-\u244A\u2460-\u27FF\u2900-\u2B73\u2B76-\u2B95\u2B98-\u2BB9\u2BBD-\u2BC8\u2BCA-\u2BD1\u2BEC-\u2BEF\u2E00-\u2E42\u2FF0-\u2FFB\u3000-\u3004\u3006\u3008-\u3020\u3030-\u3037\u303C-\u303F\u309B\u309C\u30A0\u30FB\u30FC\u3190-\u319F\u31C0-\u31E3\u3220-\u325F\u327F-\u32CF\u3358-\u33FF\u4DC0-\u4DFF\uA700-\uA721\uA788-\uA78A\uA830-\uA839\uA92E\uA9CF\uAB5B\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE66\uFE68-\uFE6B\uFEFF\uFF01-\uFF20\uFF3B-\uFF40\uFF5B-\uFF65\uFF70\uFF9E\uFF9F\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFF9-\uFFFD",astral:"\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDD10-\uDD18\uDD80-\uDD84\uDDC0]|\uD82F[\uDCA0-\uDCA3]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDFCB\uDFCE-\uDFFF]|\uDB40[\uDC01\uDC20-\uDC7F]|\uD83D[\uDC00-\uDD79\uDD7B-\uDDA3\uDDA5-\uDED0\uDEE0-\uDEEC\uDEF0-\uDEF3\uDF00-\uDF73\uDF80-\uDFD4]|\uD800[\uDD00-\uDD02\uDD07-\uDD33\uDD37-\uDD3F\uDD90-\uDD9B\uDDD0-\uDDFC\uDEE1-\uDEFB]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD66\uDD6A-\uDD7A\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDE8\uDF00-\uDF56\uDF60-\uDF71]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD00-\uDD0C\uDD10-\uDD2E\uDD30-\uDD6B\uDD70-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE10-\uDE3A\uDE40-\uDE48\uDE50\uDE51\uDF00-\uDFFF]"},{name:"Coptic",bmp:"\u03E2
/*!
* XRegExp 3.1.1
* <xregexp.com>
* Steven Levithan (c) 2007-2016 MIT License
*/
;"use strict";var L="xregexp";var l={astral:false,natives:false};var H={exec:RegExp.prototype.exec,test:RegExp.prototype.test,match:String.prototype.match,replace:String.prototype.replace,split:String.prototype.split};var p={};var P={};var k={};var B=[];var n="default";var o="class";var f={"default":/\\(?:0(?:[0-3][0-7]{0,2}|[4-7][0-7]?)?|[1-9]\d*|x[\dA-Fa-f]{2}|u(?:[\dA-Fa-f]{4}|{[\dA-Fa-f]+})|c[A-Za-z]|[\s\S])|\(\?(?:[:=!]|<[=!])|[?*+]\?|{\d+(?:,\d*)?}\??|[\s\S]/,"class":/\\(?:[0-3][0-7]{0,2}|[4-7][0-7]?|x[\dA-Fa-f]{2}|u(?:[\dA-Fa-f]{4}|{[\dA-Fa-f]+})|c[A-Za-z]|[\s\S])|[\s\S]/};var E=/\$(?:{([\w$]+)}|(\d\d?|[\s\S]))/g;var q=H.exec.call(/()??/,"")[1]===undefined;var C=/x/.flags!==undefined;var j={}.toString;function R(S){var U=true;try{new RegExp("",S)}catch(T){U=false}if(U&&S==="y"){return new RegExp("aa|.","y").test("b")}return U}var e=R("u");var Q=R("y");var u={g:true,i:true,m:true,u:e,y:Q};function r(V,S,T,X,U){var W;V[L]={captureNames:S};if(U){return V}if(V.__proto__){V.__proto__=K.prototype}else{for(W in K.prototype){V[W]=K.prototype[W]}}V[L].source=T;V[L].flags=X?X.split("").sort().join(""):X;return V}function D(S){return H.replace.call(S,/([\s\S])(?=[\s\S]*\1)/g,"")}function w(X,V){if(!K.isRegExp(X)){throw new TypeError("Type RegExp expected")}var Z=X[L]||{},S=I(X),Y="",U="",T=null,W=null;V=V||{};if(V.removeG){U+="g"}if(V.removeY){U+="y"}if(U){S=H.replace.call(S,new RegExp("["+U+"]+","g"),"")}if(V.addG){Y+="g"}if(V.addY){Y+="y"}if(Y){S=D(S+Y)}if(!V.isInternalOnly){if(Z.source!==undefined){T=Z.source}if(Z.flags!=null){W=Y?D(Z.flags+Y):Z.flags}}X=r(new RegExp(X.source,S),m(X)?Z.captureNames.slice(0):null,T,W,V.isInternalOnly);return X}function v(S){return parseInt(S,16)}function I(S){return C?S.flags:H.exec.call(/\/([a-z]*)$/i,RegExp.prototype.toString.call(S))[1]}function m(S){return !!(S[L]&&S[L].captureNames)}function F(S){return parseInt(S,10).toString(16)}function t(V,U){var S=V.length,T;for(T=0;T<S;++T){if(V[T]===U){return T}}return -1}function z(T,S){return j.call(T)==="[object "+S+"]"}function y(T,U,S){return H.test.call(S.indexOf("x")>-1?/^(?:\s|#[^#\n]*|\(\?#[^)]*\))*(?:[?*+]|{\d+(?:,\d*)?})/:/^(?:\(\?#[^)]*\))*(?:[?*+]|{\d+(?:,\d*)?})/,T.slice(U))}function x(S){while(S.length<4){S="0"+S}return S}function O(U,S){var T;if(D(S)!==S){throw new SyntaxError("Invalid duplicate regex flag "+S)}U=H.replace.call(U,/^\(\?([\w$]+)\)/,function(W,V){if(H.test.call(/[gy]/,V)){throw new SyntaxError("Cannot use flag g or y in mode modifier "+W)}S=D(S+V);return""});for(T=0;T<S.length;++T){if(!u[S.charAt(T)]){throw new SyntaxError("Unknown regex flag "+S.charAt(T))}}return{pattern:U,flags:S}}function N(T){var S={};if(z(T,"String")){K.forEach(T,/[^\s,]+/,function(U){S[U]=true});return S}return T}function s(S){if(!/^[\w$]$/.test(S)){throw new Error("Flag must be a single character A-Za-z0-9_$")}u[S]=true}function h(W,T,X,aa,S){var U=B.length,Y=W.charAt(X),ab=null,V,Z;while(U--){Z=B[U];if((Z.leadChar&&Z.leadChar!==Y)||(Z.scope!==aa&&Z.scope!=="all")||(Z.flag&&T.indexOf(Z.flag)===-1)){continue}V=K.exec(W,Z.regex,X,"sticky");if(V){ab={matchLength:V[0].length,output:Z.handler.call(S,V,aa,T),reparse:Z.reparse};break}}return ab}function M(S){l.astral=S}function G(S){RegExp.prototype.exec=(S?p:H).exec;RegExp.prototype.test=(S?p:H).test;String.prototype.match=(S?p:H).match;String.prototype.replace=(S?p:H).replace;String.prototype.split=(S?p:H).split;l.natives=S}function A(S){if(S==null){throw new TypeError("Cannot convert null or undefined to object")}return S}function K(X,U){if(K.isRegExp(X)){if(U!==undefined){throw new TypeError("Cannot supply flags when copying a RegExp")}return w(X)}X=X===undefined?"":String(X);U=U===undefined?"":String(U);if(K.isInstalled("astral")&&U.indexOf("A")===-1){U+="A"}if(!k[X]){k[X]={}}if(!k[X][U]){var S={hasNamedCapture:false,captureNames:[]};var ac=n;var T="";var aa=0;var ad;var W=O(X,U);var Z=W.pattern;var ab=W.flags;while(aa<Z.length){do{ad=h(Z,ab,aa,ac,S);if(ad&&ad.reparse){Z=Z.slice(0,aa)+ad.output+Z.slice(aa+ad.matchLength)}}while(ad&&ad.reparse);if(ad){T+=ad.output;aa+=(ad.matchLength||1)}els