").append(x.parseHTML(e)).find(i):e)}).complete(r&&function(e,t){s.each(r,o||[e.responseText,t,e])}),this},x.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){x.fn[t]=function(e){return this.on(t,e)}}),x.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:yn,type:"GET",isLocal:Cn.test(mn[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Dn,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":x.parseJSON,"text xml":x.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?_n(_n(e,x.ajaxSettings),t):_n(x.ajaxSettings,e)},ajaxPrefilter:Hn(An),ajaxTransport:Hn(jn),ajax:function(e,n){"object"==typeof e&&(n=e,e=t),n=n||{};var r,i,o,a,s,l,u,c,p=x.ajaxSetup({},n),f=p.context||p,d=p.context&&(f.nodeType||f.jquery)?x(f):x.event,h=x.Deferred(),g=x.Callbacks("once memory"),m=p.statusCode||{},y={},v={},b=0,w="canceled",C={readyState:0,getResponseHeader:function(e){var t;if(2===b){if(!c){c={};while(t=Tn.exec(a))c[t[1].toLowerCase()]=t[2]}t=c[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===b?a:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return b||(e=v[n]=v[n]||e,y[e]=t),this},overrideMimeType:function(e){return b||(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(2>b)for(t in e)m[t]=[m[t],e[t]];else C.always(e[C.status]);return this},abort:function(e){var t=e||w;return u&&u.abort(t),k(0,t),this}};if(h.promise(C).complete=g.add,C.success=C.done,C.error=C.fail,p.url=((e||p.url||yn)+"").replace(xn,"").replace(kn,mn[1]+"//"),p.type=n.method||n.type||p.method||p.type,p.dataTypes=x.trim(p.dataType||"*").toLowerCase().match(T)||[""],null==p.crossDomain&&(r=En.exec(p.url.toLowerCase()),p.crossDomain=!(!r||r[1]===mn[1]&&r[2]===mn[2]&&(r[3]||("http:"===r[1]?"80":"443"))===(mn[3]||("http:"===mn[1]?"80":"443")))),p.data&&p.processData&&"string"!=typeof p.data&&(p.data=x.param(p.data,p.traditional)),qn(An,p,n,C),2===b)return C;l=p.global,l&&0===x.active++&&x.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Nn.test(p.type),o=p.url,p.hasContent||(p.data&&(o=p.url+=(bn.test(o)?"&":"?")+p.data,delete p.data),p.cache===!1&&(p.url=wn.test(o)?o.replace(wn,"$1_="+vn++):o+(bn.test(o)?"&":"?")+"_="+vn++)),p.ifModified&&(x.lastModified[o]&&C.setRequestHeader("If-Modified-Since",x.lastModified[o]),x.etag[o]&&C.setRequestHeader("If-None-Match",x.etag[o])),(p.data&&p.hasContent&&p.contentType!==!1||n.contentType)&&C.setRequestHeader("Content-Type",p.contentType),C.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+Dn+"; q=0.01":""):p.accepts["*"]);for(i in p.headers)C.setRequestHeader(i,p.headers[i]);if(p.beforeSend&&(p.beforeSend.call(f,C,p)===!1||2===b))return C.abort();w="abort";for(i in{success:1,error:1,complete:1})C[i](p[i]);if(u=qn(jn,p,n,C)){C.readyState=1,l&&d.trigger("ajaxSend",[C,p]),p.async&&p.timeout>0&&(s=setTimeout(function(){C.abort("timeout")},p.timeout));try{b=1,u.send(y,k)}catch(N){if(!(2>b))throw N;k(-1,N)}}else k(-1,"No Transport");function k(e,n,r,i){var c,y,v,w,T,N=n;2!==b&&(b=2,s&&clearTimeout(s),u=t,a=i||"",C.readyState=e>0?4:0,c=e>=200&&300>e||304===e,r&&(w=Mn(p,C,r)),w=On(p,w,C,c),c?(p.ifModified&&(T=C.getResponseHeader("Last-Modified"),T&&(x.lastModified[o]=T),T=C.getResponseHeader("etag"),T&&(x.etag[o]=T)),204===e||"HEAD"===p.type?N="nocontent":304===e?N="notmodified":(N=w.state,y=w.data,v=w.error,c=!v)):(v=N,(e||!N)&&(N="error",0>e&&(e=0))),C.status=e,C.statusText=(n||N)+"",c?h.resolveWith(f,[y,N,C]):h.rejectWith(f,[C,N,v]),C.statusCode(m),m=t,l&&d.trigger(c?"ajaxSuccess":"ajaxError",[C,p,c?y:v]),g.fireWith(f,[C,N]),l&&(d.trigger("ajaxComplete",[C,p]),--x.active||x.event.trigger("ajaxStop")))}return C},getJSON:function(e,t,n){return x.get(e,t,n,"json")},getScript:function(e,n){return x.get(e,t,n,"script")}}),x.each(["get","post"],function(e,n){x[n]=function(e,r,i,o){return x.isFunction(r)&&(o=o||i,i=r,r=t),x.ajax({url:e,type:n,dataType:o,data:r,success:i})}});function Mn(e,n,r){var i,o,a,s,l=e.contents,u=e.dataTypes;while("*"===u[0])u.shift(),o===t&&(o=e.mimeType||n.getResponseHeader("Content-Type"));if(o)for(s in l)if(l[s]&&l[s].test(o)){u.unshift(s);break}if(u[0]in r)a=u[0];else{for(s in r){if(!u[0]||e.converters[s+" "+u[0]]){a=s;break}i||(i=s)}a=a||i}return a?(a!==u[0]&&u.unshift(a),r[a]):t}function On(e,t,n,r){var i,o,a,s,l,u={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)u[a.toLowerCase()]=e.converters[a];o=c.shift();while(o)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!l&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=o,o=c.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(a=u[l+" "+o]||u["* "+o],!a)for(i in u)if(s=i.split(" "),s[1]===o&&(a=u[l+" "+s[0]]||u["* "+s[0]])){a===!0?a=u[i]:u[i]!==!0&&(o=s[0],c.unshift(s[1]));break}if(a!==!0)if(a&&e["throws"])t=a(t);else try{t=a(t)}catch(p){return{state:"parsererror",error:a?p:"No conversion from "+l+" to "+o}}}return{state:"success",data:t}}x.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(e){return x.globalEval(e),e}}}),x.ajaxPrefilter("script",function(e){e.cache===t&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),x.ajaxTransport("script",function(e){if(e.crossDomain){var n,r=a.head||x("head")[0]||a.documentElement;return{send:function(t,i){n=a.createElement("script"),n.async=!0,e.scriptCharset&&(n.charset=e.scriptCharset),n.src=e.url,n.onload=n.onreadystatechange=function(e,t){(t||!n.readyState||/loaded|complete/.test(n.readyState))&&(n.onload=n.onreadystatechange=null,n.parentNode&&n.parentNode.removeChild(n),n=null,t||i(200,"success"))},r.insertBefore(n,r.firstChild)},abort:function(){n&&n.onload(t,!0)}}}});var Fn=[],Bn=/(=)\?(?=&|$)|\?\?/;x.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Fn.pop()||x.expando+"_"+vn++;return this[e]=!0,e}}),x.ajaxPrefilter("json jsonp",function(n,r,i){var o,a,s,l=n.jsonp!==!1&&(Bn.test(n.url)?"url":"string"==typeof n.data&&!(n.contentType||"").indexOf("application/x-www-form-urlencoded")&&Bn.test(n.data)&&"data");return l||"jsonp"===n.dataTypes[0]?(o=n.jsonpCallback=x.isFunction(n.jsonpCallback)?n.jsonpCallback():n.jsonpCallback,l?n[l]=n[l].replace(Bn,"$1"+o):n.jsonp!==!1&&(n.url+=(bn.test(n.url)?"&":"?")+n.jsonp+"="+o),n.converters["script json"]=function(){return s||x.error(o+" was not called"),s[0]},n.dataTypes[0]="json",a=e[o],e[o]=function(){s=arguments},i.always(function(){e[o]=a,n[o]&&(n.jsonpCallback=r.jsonpCallback,Fn.push(o)),s&&x.isFunction(a)&&a(s[0]),s=a=t}),"script"):t});var Pn,Rn,Wn=0,$n=e.ActiveXObject&&function(){var e;for(e in Pn)Pn[e](t,!0)};function In(){try{return new e.XMLHttpRequest}catch(t){}}function zn(){try{return new e.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}x.ajaxSettings.xhr=e.ActiveXObject?function(){return!this.isLocal&&In()||zn()}:In,Rn=x.ajaxSettings.xhr(),x.support.cors=!!Rn&&"withCredentials"in Rn,Rn=x.support.ajax=!!Rn,Rn&&x.ajaxTransport(function(n){if(!n.crossDomain||x.support.cors){var r;return{send:function(i,o){var a,s,l=n.xhr();if(n.username?l.open(n.type,n.url,n.async,n.username,n.password):l.open(n.type,n.url,n.async),n.xhrFields)for(s in n.xhrFields)l[s]=n.xhrFields[s];n.mimeType&&l.overrideMimeType&&l.overrideMimeType(n.mimeType),n.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest");try{for(s in i)l.setRequestHeader(s,i[s])}catch(u){}l.send(n.hasContent&&n.data||null),r=function(e,i){var s,u,c,p;try{if(r&&(i||4===l.readyState))if(r=t,a&&(l.onreadystatechange=x.noop,$n&&delete Pn[a]),i)4!==l.readyState&&l.abort();else{p={},s=l.status,u=l.getAllResponseHeaders(),"string"==typeof l.responseText&&(p.text=l.responseText);try{c=l.statusText}catch(f){c=""}s||!n.isLocal||n.crossDomain?1223===s&&(s=204):s=p.text?200:404}}catch(d){i||o(-1,d)}p&&o(s,c,p,u)},n.async?4===l.readyState?setTimeout(r):(a=++Wn,$n&&(Pn||(Pn={},x(e).unload($n)),Pn[a]=r),l.onreadystatechange=r):r()},abort:function(){r&&r(t,!0)}}}});var Xn,Un,Vn=/^(?:toggle|show|hide)$/,Yn=RegExp("^(?:([+-])=|)("+w+")([a-z%]*)$","i"),Jn=/queueHooks$/,Gn=[nr],Qn={"*":[function(e,t){var n=this.createTween(e,t),r=n.cur(),i=Yn.exec(t),o=i&&i[3]||(x.cssNumber[e]?"":"px"),a=(x.cssNumber[e]||"px"!==o&&+r)&&Yn.exec(x.css(n.elem,e)),s=1,l=20;if(a&&a[3]!==o){o=o||a[3],i=i||[],a=+r||1;do s=s||".5",a/=s,x.style(n.elem,e,a+o);while(s!==(s=n.cur()/r)&&1!==s&&--l)}return i&&(a=n.start=+a||+r||0,n.unit=o,n.end=i[1]?a+(i[1]+1)*i[2]:+i[2]),n}]};function Kn(){return setTimeout(function(){Xn=t}),Xn=x.now()}function Zn(e,t,n){var r,i=(Qn[t]||[]).concat(Qn["*"]),o=0,a=i.length;for(;a>o;o++)if(r=i[o].call(n,t,e))return r}function er(e,t,n){var r,i,o=0,a=Gn.length,s=x.Deferred().always(function(){delete l.elem}),l=function(){if(i)return!1;var t=Xn||Kn(),n=Math.max(0,u.startTime+u.duration-t),r=n/u.duration||0,o=1-r,a=0,l=u.tweens.length;for(;l>a;a++)u.tweens[a].run(o);return s.notifyWith(e,[u,o,n]),1>o&&l?n:(s.resolveWith(e,[u]),!1)},u=s.promise({elem:e,props:x.extend({},t),opts:x.extend(!0,{specialEasing:{}},n),originalProperties:t,originalOptions:n,startTime:Xn||Kn(),duration:n.duration,tweens:[],createTween:function(t,n){var r=x.Tween(e,u.opts,t,n,u.opts.specialEasing[t]||u.opts.easing);return u.tweens.push(r),r},stop:function(t){var n=0,r=t?u.tweens.length:0;if(i)return this;for(i=!0;r>n;n++)u.tweens[n].run(1);return t?s.resolveWith(e,[u,t]):s.rejectWith(e,[u,t]),this}}),c=u.props;for(tr(c,u.opts.specialEasing);a>o;o++)if(r=Gn[o].call(u,e,c,u.opts))return r;return x.map(c,Zn,u),x.isFunction(u.opts.start)&&u.opts.start.call(e,u),x.fx.timer(x.extend(l,{elem:e,anim:u,queue:u.opts.queue})),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always)}function tr(e,t){var n,r,i,o,a;for(n in e)if(r=x.camelCase(n),i=t[r],o=e[n],x.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),a=x.cssHooks[r],a&&"expand"in a){o=a.expand(o),delete e[r];for(n in o)n in e||(e[n]=o[n],t[n]=i)}else t[r]=i}x.Animation=x.extend(er,{tweener:function(e,t){x.isFunction(e)?(t=e,e=["*"]):e=e.split(" ");var n,r=0,i=e.length;for(;i>r;r++)n=e[r],Qn[n]=Qn[n]||[],Qn[n].unshift(t)},prefilter:function(e,t){t?Gn.unshift(e):Gn.push(e)}});function nr(e,t,n){var r,i,o,a,s,l,u=this,c={},p=e.style,f=e.nodeType&&nn(e),d=x._data(e,"fxshow");n.queue||(s=x._queueHooks(e,"fx"),null==s.unqueued&&(s.unqueued=0,l=s.empty.fire,s.empty.fire=function(){s.unqueued||l()}),s.unqueued++,u.always(function(){u.always(function(){s.unqueued--,x.queue(e,"fx").length||s.empty.fire()})})),1===e.nodeType&&("height"in t||"width"in t)&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],"inline"===x.css(e,"display")&&"none"===x.css(e,"float")&&(x.support.inlineBlockNeedsLayout&&"inline"!==ln(e.nodeName)?p.zoom=1:p.display="inline-block")),n.overflow&&(p.overflow="hidden",x.support.shrinkWrapBlocks||u.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]}));for(r in t)if(i=t[r],Vn.exec(i)){if(delete t[r],o=o||"toggle"===i,i===(f?"hide":"show"))continue;c[r]=d&&d[r]||x.style(e,r)}if(!x.isEmptyObject(c)){d?"hidden"in d&&(f=d.hidden):d=x._data(e,"fxshow",{}),o&&(d.hidden=!f),f?x(e).show():u.done(function(){x(e).hide()}),u.done(function(){var t;x._removeData(e,"fxshow");for(t in c)x.style(e,t,c[t])});for(r in c)a=Zn(f?d[r]:0,r,u),r in d||(d[r]=a.start,f&&(a.end=a.start,a.start="width"===r||"height"===r?1:0))}}function rr(e,t,n,r,i){return new rr.prototype.init(e,t,n,r,i)}x.Tween=rr,rr.prototype={constructor:rr,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||"swing",this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(x.cssNumber[n]?"":"px")},cur:function(){var e=rr.propHooks[this.prop];return e&&e.get?e.get(this):rr.propHooks._default.get(this)},run:function(e){var t,n=rr.propHooks[this.prop];return this.pos=t=this.options.duration?x.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):rr.propHooks._default.set(this),this}},rr.prototype.init.prototype=rr.prototype,rr.propHooks={_default:{get:function(e){var t;return null==e.elem[e.prop]||e.elem.style&&null!=e.elem.style[e.prop]?(t=x.css(e.elem,e.prop,""),t&&"auto"!==t?t:0):e.elem[e.prop]},set:function(e){x.fx.step[e.prop]?x.fx.step[e.prop](e):e.elem.style&&(null!=e.elem.style[x.cssProps[e.prop]]||x.cssHooks[e.prop])?x.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},rr.propHooks.scrollTop=rr.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},x.each(["toggle","show","hide"],function(e,t){var n=x.fn[t];x.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(ir(t,!0),e,r,i)}}),x.fn.extend({fadeTo:function(e,t,n,r){return this.filter(nn).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=x.isEmptyObject(e),o=x.speed(t,n,r),a=function(){var t=er(this,x.extend({},e),o);(i||x._data(this,"finish"))&&t.stop(!0)};return a.finish=a,i||o.queue===!1?this.each(a):this.queue(o.queue,a)},stop:function(e,n,r){var i=function(e){var t=e.stop;delete e.stop,t(r)};return"string"!=typeof e&&(r=n,n=e,e=t),n&&e!==!1&&this.queue(e||"fx",[]),this.each(function(){var t=!0,n=null!=e&&e+"queueHooks",o=x.timers,a=x._data(this);if(n)a[n]&&a[n].stop&&i(a[n]);else for(n in a)a[n]&&a[n].stop&&Jn.test(n)&&i(a[n]);for(n=o.length;n--;)o[n].elem!==this||null!=e&&o[n].queue!==e||(o[n].anim.stop(r),t=!1,o.splice(n,1));(t||!r)&&x.dequeue(this,e)})},finish:function(e){return e!==!1&&(e=e||"fx"),this.each(function(){var t,n=x._data(this),r=n[e+"queue"],i=n[e+"queueHooks"],o=x.timers,a=r?r.length:0;for(n.finish=!0,x.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;a>t;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish})}});function ir(e,t){var n,r={height:e},i=0;for(t=t?1:0;4>i;i+=2-t)n=Zt[i],r["margin"+n]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}x.each({slideDown:ir("show"),slideUp:ir("hide"),slideToggle:ir("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){x.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),x.speed=function(e,t,n){var r=e&&"object"==typeof e?x.extend({},e):{complete:n||!n&&t||x.isFunction(e)&&e,duration:e,easing:n&&t||t&&!x.isFunction(t)&&t};return r.duration=x.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in x.fx.speeds?x.fx.speeds[r.duration]:x.fx.speeds._default,(null==r.queue||r.queue===!0)&&(r.queue="fx"),r.old=r.complete,r.complete=function(){x.isFunction(r.old)&&r.old.call(this),r.queue&&x.dequeue(this,r.queue)},r},x.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2}},x.timers=[],x.fx=rr.prototype.init,x.fx.tick=function(){var e,n=x.timers,r=0;for(Xn=x.now();n.length>r;r++)e=n[r],e()||n[r]!==e||n.splice(r--,1);n.length||x.fx.stop(),Xn=t},x.fx.timer=function(e){e()&&x.timers.push(e)&&x.fx.start()},x.fx.interval=13,x.fx.start=function(){Un||(Un=setInterval(x.fx.tick,x.fx.interval))},x.fx.stop=function(){clearInterval(Un),Un=null},x.fx.speeds={slow:600,fast:200,_default:400},x.fx.step={},x.expr&&x.expr.filters&&(x.expr.filters.animated=function(e){return x.grep(x.timers,function(t){return e===t.elem}).length}),x.fn.offset=function(e){if(arguments.length)return e===t?this:this.each(function(t){x.offset.setOffset(this,e,t)});var n,r,o={top:0,left:0},a=this[0],s=a&&a.ownerDocument;if(s)return n=s.documentElement,x.contains(n,a)?(typeof a.getBoundingClientRect!==i&&(o=a.getBoundingClientRect()),r=or(s),{top:o.top+(r.pageYOffset||n.scrollTop)-(n.clientTop||0),left:o.left+(r.pageXOffset||n.scrollLeft)-(n.clientLeft||0)}):o},x.offset={setOffset:function(e,t,n){var r=x.css(e,"position");"static"===r&&(e.style.position="relative");var i=x(e),o=i.offset(),a=x.css(e,"top"),s=x.css(e,"left"),l=("absolute"===r||"fixed"===r)&&x.inArray("auto",[a,s])>-1,u={},c={},p,f;l?(c=i.position(),p=c.top,f=c.left):(p=parseFloat(a)||0,f=parseFloat(s)||0),x.isFunction(t)&&(t=t.call(e,n,o)),null!=t.top&&(u.top=t.top-o.top+p),null!=t.left&&(u.left=t.left-o.left+f),"using"in t?t.using.call(e,u):i.css(u)}},x.fn.extend({position:function(){if(this[0]){var e,t,n={top:0,left:0},r=this[0];return"fixed"===x.css(r,"position")?t=r.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),x.nodeName(e[0],"html")||(n=e.offset()),n.top+=x.css(e[0],"borderTopWidth",!0),n.left+=x.css(e[0],"borderLeftWidth",!0)),{top:t.top-n.top-x.css(r,"marginTop",!0),left:t.left-n.left-x.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent||s;while(e&&!x.nodeName(e,"html")&&"static"===x.css(e,"position"))e=e.offsetParent;return e||s})}}),x.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,n){var r=/Y/.test(n);x.fn[e]=function(i){return x.access(this,function(e,i,o){var a=or(e);return o===t?a?n in a?a[n]:a.document.documentElement[i]:e[i]:(a?a.scrollTo(r?x(a).scrollLeft():o,r?o:x(a).scrollTop()):e[i]=o,t)},e,i,arguments.length,null)}});function or(e){return x.isWindow(e)?e:9===e.nodeType?e.defaultView||e.parentWindow:!1}x.each({Height:"height",Width:"width"},function(e,n){x.each({padding:"inner"+e,content:n,"":"outer"+e},function(r,i){x.fn[i]=function(i,o){var a=arguments.length&&(r||"boolean"!=typeof i),s=r||(i===!0||o===!0?"margin":"border");return x.access(this,function(n,r,i){var o;return x.isWindow(n)?n.document.documentElement["client"+e]:9===n.nodeType?(o=n.documentElement,Math.max(n.body["scroll"+e],o["scroll"+e],n.body["offset"+e],o["offset"+e],o["client"+e])):i===t?x.css(n,r,s):x.style(n,r,i,s)},n,a?i:t,a,null)}})}),x.fn.size=function(){return this.length},x.fn.andSelf=x.fn.addBack,"object"==typeof module&&module&&"object"==typeof module.exports?module.exports=x:(e.jQuery=e.$=x,"function"==typeof define&&define.amd&&define("jquery",[],function(){return x}))})(window);
diff --git a/static/admin/jquery.ui.datepicker.jalali/scripts/jquery-1.10.2.min.map b/static/admin/jquery.ui.datepicker.jalali/scripts/jquery-1.10.2.min.map
new file mode 100644
index 0000000..4dc4920
--- /dev/null
+++ b/static/admin/jquery.ui.datepicker.jalali/scripts/jquery-1.10.2.min.map
@@ -0,0 +1 @@
+{"version":3,"file":"jquery-1.10.2.min.js","sources":["jquery-1.10.2.js"],"names":["window","undefined","readyList","rootjQuery","core_strundefined","location","document","docElem","documentElement","_jQuery","jQuery","_$","$","class2type","core_deletedIds","core_version","core_concat","concat","core_push","push","core_slice","slice","core_indexOf","indexOf","core_toString","toString","core_hasOwn","hasOwnProperty","core_trim","trim","selector","context","fn","init","core_pnum","source","core_rnotwhite","rtrim","rquickExpr","rsingleTag","rvalidchars","rvalidbraces","rvalidescape","rvalidtokens","rmsPrefix","rdashAlpha","fcamelCase","all","letter","toUpperCase","completed","event","addEventListener","type","readyState","detach","ready","removeEventListener","detachEvent","prototype","jquery","constructor","match","elem","this","charAt","length","exec","find","merge","parseHTML","nodeType","ownerDocument","test","isPlainObject","isFunction","attr","getElementById","parentNode","id","makeArray","toArray","call","get","num","pushStack","elems","ret","prevObject","each","callback","args","promise","done","apply","arguments","first","eq","last","i","len","j","map","end","sort","splice","extend","src","copyIsArray","copy","name","options","clone","target","deep","isArray","expando","Math","random","replace","noConflict","isReady","readyWait","holdReady","hold","wait","body","setTimeout","resolveWith","trigger","off","obj","Array","isWindow","isNumeric","isNaN","parseFloat","isFinite","String","key","e","support","ownLast","isEmptyObject","error","msg","Error","data","keepScripts","parsed","scripts","createElement","buildFragment","remove","childNodes","parseJSON","JSON","parse","Function","parseXML","xml","tmp","DOMParser","parseFromString","ActiveXObject","async","loadXML","getElementsByTagName","noop","globalEval","execScript","camelCase","string","nodeName","toLowerCase","value","isArraylike","text","arr","results","Object","inArray","max","second","l","grep","inv","retVal","arg","guid","proxy","access","chainable","emptyGet","raw","bulk","now","Date","getTime","swap","old","style","Deferred","attachEvent","top","frameElement","doScroll","doScrollCheck","split","cachedruns","Expr","getText","isXML","compile","outermostContext","sortInput","setDocument","documentIsHTML","rbuggyQSA","rbuggyMatches","matches","contains","preferredDoc","dirruns","classCache","createCache","tokenCache","compilerCache","hasDuplicate","sortOrder","a","b","strundefined","MAX_NEGATIVE","hasOwn","pop","push_native","booleans","whitespace","characterEncoding","identifier","attributes","pseudos","RegExp","rcomma","rcombinators","rsibling","rattributeQuotes","rpseudo","ridentifier","matchExpr","ID","CLASS","TAG","ATTR","PSEUDO","CHILD","bool","needsContext","rnative","rinputs","rheader","rescape","runescape","funescape","_","escaped","escapedWhitespace","high","fromCharCode","els","Sizzle","seed","m","groups","nid","newContext","newSelector","getElementsByClassName","qsa","tokenize","getAttribute","setAttribute","toSelector","join","querySelectorAll","qsaError","removeAttribute","select","keys","cache","cacheLength","shift","markFunction","assert","div","removeChild","addHandle","attrs","handler","attrHandle","siblingCheck","cur","diff","sourceIndex","nextSibling","createInputPseudo","createButtonPseudo","createPositionalPseudo","argument","matchIndexes","node","doc","parent","defaultView","className","appendChild","createComment","innerHTML","firstChild","getById","getElementsByName","filter","attrId","getAttributeNode","tag","input","matchesSelector","webkitMatchesSelector","mozMatchesSelector","oMatchesSelector","msMatchesSelector","disconnectedMatch","compareDocumentPosition","adown","bup","compare","sortDetached","aup","ap","bp","unshift","expr","elements","val","specified","uniqueSort","duplicates","detectDuplicates","sortStable","textContent","nodeValue","selectors","createPseudo","relative",">","dir"," ","+","~","preFilter","excess","unquoted","nodeNameSelector","pattern","operator","check","result","what","simple","forward","ofType","outerCache","nodeIndex","start","useCache","lastChild","pseudo","setFilters","idx","matched","not","matcher","unmatched","has","innerText","lang","elemLang","hash","root","focus","activeElement","hasFocus","href","tabIndex","enabled","disabled","checked","selected","selectedIndex","empty","header","button","even","odd","lt","gt","radio","checkbox","file","password","image","submit","reset","filters","parseOnly","tokens","soFar","preFilters","cached","addCombinator","combinator","base","checkNonElements","doneName","dirkey","elementMatcher","matchers","condense","newUnmatched","mapped","setMatcher","postFilter","postFinder","postSelector","temp","preMap","postMap","preexisting","multipleContexts","matcherIn","matcherOut","matcherFromTokens","checkContext","leadingRelative","implicitRelative","matchContext","matchAnyContext","matcherFromGroupMatchers","elementMatchers","setMatchers","matcherCachedRuns","bySet","byElement","superMatcher","expandContext","setMatched","matchedCount","outermost","contextBackup","dirrunsUnique","group","contexts","token","div1","defaultValue","unique","isXMLDoc","optionsCache","createOptions","object","flag","Callbacks","firing","memory","fired","firingLength","firingIndex","firingStart","list","stack","once","fire","stopOnFalse","self","disable","add","index","lock","locked","fireWith","func","tuples","state","always","deferred","fail","then","fns","newDefer","tuple","action","returned","resolve","reject","progress","notify","pipe","stateString","when","subordinate","resolveValues","remaining","updateFunc","values","progressValues","notifyWith","progressContexts","resolveContexts","fragment","opt","eventName","isSupported","cssText","getSetAttribute","leadingWhitespace","tbody","htmlSerialize","hrefNormalized","opacity","cssFloat","checkOn","optSelected","enctype","html5Clone","cloneNode","outerHTML","inlineBlockNeedsLayout","shrinkWrapBlocks","pixelPosition","deleteExpando","noCloneEvent","reliableMarginRight","boxSizingReliable","noCloneChecked","optDisabled","radioValue","createDocumentFragment","appendChecked","checkClone","click","change","focusin","backgroundClip","clearCloneStyle","container","marginDiv","tds","divReset","offsetHeight","display","reliableHiddenOffsets","zoom","boxSizing","offsetWidth","getComputedStyle","width","marginRight","rbrace","rmultiDash","internalData","pvt","acceptData","thisCache","internalKey","isNode","toJSON","internalRemoveData","isEmptyDataObject","cleanData","noData","applet","embed","hasData","removeData","_data","_removeData","dataAttr","queue","dequeue","startLength","hooks","_queueHooks","next","stop","setter","delay","time","fx","speeds","timeout","clearTimeout","clearQueue","count","defer","nodeHook","boolHook","rclass","rreturn","rfocusable","rclickable","ruseDefault","getSetInput","removeAttr","prop","removeProp","propFix","addClass","classes","clazz","proceed","removeClass","toggleClass","stateVal","classNames","hasClass","valHooks","set","option","one","optionSet","nType","attrHooks","propName","attrNames","for","class","notxml","propHooks","tabindex","parseInt","getter","setAttributeNode","createAttribute","coords","contenteditable","rformElems","rkeyEvent","rmouseEvent","rfocusMorph","rtypenamespace","returnTrue","returnFalse","safeActiveElement","err","global","types","events","t","handleObjIn","special","eventHandle","handleObj","handlers","namespaces","origType","elemData","handle","triggered","dispatch","delegateType","bindType","namespace","delegateCount","setup","mappedTypes","origCount","teardown","removeEvent","onlyHandlers","ontype","bubbleType","eventPath","Event","isTrigger","namespace_re","noBubble","parentWindow","isPropagationStopped","preventDefault","isDefaultPrevented","_default","fix","handlerQueue","delegateTarget","preDispatch","currentTarget","isImmediatePropagationStopped","stopPropagation","postDispatch","sel","originalEvent","fixHook","fixHooks","mouseHooks","keyHooks","props","srcElement","metaKey","original","which","charCode","keyCode","eventDoc","fromElement","pageX","clientX","scrollLeft","clientLeft","pageY","clientY","scrollTop","clientTop","relatedTarget","toElement","load","blur","beforeunload","returnValue","simulate","bubble","isSimulated","defaultPrevented","getPreventDefault","timeStamp","cancelBubble","stopImmediatePropagation","mouseenter","mouseleave","orig","related","submitBubbles","form","_submit_bubble","changeBubbles","propertyName","_just_changed","focusinBubbles","attaches","on","origFn","triggerHandler","isSimple","rparentsprev","rneedsContext","guaranteedUnique","children","contents","prev","targets","winnow","is","closest","pos","prevAll","addBack","sibling","parents","parentsUntil","until","nextAll","nextUntil","prevUntil","siblings","contentDocument","contentWindow","reverse","n","r","qualifier","createSafeFragment","nodeNames","safeFrag","rinlinejQuery","rnoshimcache","rleadingWhitespace","rxhtmlTag","rtagName","rtbody","rhtml","rnoInnerhtml","manipulation_rcheckableType","rchecked","rscriptType","rscriptTypeMasked","rcleanScript","wrapMap","legend","area","param","thead","tr","col","td","safeFragment","fragmentDiv","optgroup","tfoot","colgroup","caption","th","append","createTextNode","domManip","manipulationTarget","prepend","insertBefore","before","after","keepData","getAll","setGlobalEval","dataAndEvents","deepDataAndEvents","html","replaceWith","allowIntersection","hasScripts","iNoClone","disableScript","restoreScript","_evalUrl","content","refElements","cloneCopyEvent","dest","oldData","curData","fixCloneNodeIssues","defaultChecked","defaultSelected","appendTo","prependTo","insertAfter","replaceAll","insert","found","fixDefaultChecked","destElements","srcElements","inPage","selection","wrap","safe","nodes","url","ajax","dataType","throws","wrapAll","wrapInner","unwrap","iframe","getStyles","curCSS","ralpha","ropacity","rposition","rdisplayswap","rmargin","rnumsplit","rnumnonpx","rrelNum","elemdisplay","BODY","cssShow","position","visibility","cssNormalTransform","letterSpacing","fontWeight","cssExpand","cssPrefixes","vendorPropName","capName","origName","isHidden","el","css","showHide","show","hidden","css_defaultDisplay","styles","hide","toggle","cssHooks","computed","cssNumber","columnCount","fillOpacity","lineHeight","order","orphans","widows","zIndex","cssProps","float","extra","_computed","minWidth","maxWidth","getPropertyValue","currentStyle","left","rs","rsLeft","runtimeStyle","pixelLeft","setPositiveNumber","subtract","augmentWidthOrHeight","isBorderBox","getWidthOrHeight","valueIsBorderBox","actualDisplay","write","close","$1","visible","margin","padding","border","prefix","suffix","expand","expanded","parts","r20","rbracket","rCRLF","rsubmitterTypes","rsubmittable","serialize","serializeArray","traditional","s","encodeURIComponent","ajaxSettings","buildParams","v","hover","fnOver","fnOut","bind","unbind","delegate","undelegate","ajaxLocParts","ajaxLocation","ajax_nonce","ajax_rquery","rhash","rts","rheaders","rlocalProtocol","rnoContent","rprotocol","rurl","_load","prefilters","transports","allTypes","addToPrefiltersOrTransports","structure","dataTypeExpression","dataTypes","inspectPrefiltersOrTransports","originalOptions","jqXHR","inspected","seekingTransport","inspect","prefilterOrFactory","dataTypeOrTransport","ajaxExtend","flatOptions","params","response","responseText","complete","status","active","lastModified","etag","isLocal","processData","contentType","accepts","*","json","responseFields","converters","* text","text html","text json","text xml","ajaxSetup","settings","ajaxPrefilter","ajaxTransport","cacheURL","responseHeadersString","timeoutTimer","fireGlobals","transport","responseHeaders","callbackContext","globalEventContext","completeDeferred","statusCode","requestHeaders","requestHeadersNames","strAbort","getResponseHeader","getAllResponseHeaders","setRequestHeader","lname","overrideMimeType","mimeType","code","abort","statusText","finalText","success","method","crossDomain","hasContent","ifModified","headers","beforeSend","send","nativeStatusText","responses","isSuccess","modified","ajaxHandleResponses","ajaxConvert","rejectWith","getJSON","getScript","firstDataType","ct","finalDataType","conv2","current","conv","dataFilter","script","text script","head","scriptCharset","charset","onload","onreadystatechange","isAbort","oldCallbacks","rjsonp","jsonp","jsonpCallback","originalSettings","callbackName","overwritten","responseContainer","jsonProp","xhrCallbacks","xhrSupported","xhrId","xhrOnUnloadAbort","createStandardXHR","XMLHttpRequest","createActiveXHR","xhr","cors","username","open","xhrFields","firefoxAccessException","unload","fxNow","timerId","rfxtypes","rfxnum","rrun","animationPrefilters","defaultPrefilter","tweeners","tween","createTween","unit","scale","maxIterations","createFxNow","animation","collection","Animation","properties","stopped","tick","currentTime","startTime","duration","percent","tweens","run","opts","specialEasing","originalProperties","Tween","easing","gotoEnd","propFilter","timer","anim","tweener","prefilter","oldfire","dataShow","unqueued","overflow","overflowX","overflowY","eased","step","cssFn","speed","animate","genFx","fadeTo","to","optall","doAnimation","finish","stopQueue","timers","includeWidth","height","slideDown","slideUp","slideToggle","fadeIn","fadeOut","fadeToggle","linear","p","swing","cos","PI","interval","setInterval","clearInterval","slow","fast","animated","offset","setOffset","win","box","getBoundingClientRect","getWindow","pageYOffset","pageXOffset","curElem","curOffset","curCSSTop","curCSSLeft","calculatePosition","curPosition","curTop","curLeft","using","offsetParent","parentOffset","scrollTo","Height","Width","defaultExtra","funcName","size","andSelf","module","exports","define","amd"],"mappings":";;;CAaA,SAAWA,EAAQC,GAOnB,GAECC,GAGAC,EAIAC,QAA2BH,GAG3BI,EAAWL,EAAOK,SAClBC,EAAWN,EAAOM,SAClBC,EAAUD,EAASE,gBAGnBC,EAAUT,EAAOU,OAGjBC,EAAKX,EAAOY,EAGZC,KAGAC,KAEAC,EAAe,SAGfC,EAAcF,EAAgBG,OAC9BC,EAAYJ,EAAgBK,KAC5BC,EAAaN,EAAgBO,MAC7BC,EAAeR,EAAgBS,QAC/BC,EAAgBX,EAAWY,SAC3BC,EAAcb,EAAWc,eACzBC,EAAYb,EAAac,KAGzBnB,EAAS,SAAUoB,EAAUC,GAE5B,MAAO,IAAIrB,GAAOsB,GAAGC,KAAMH,EAAUC,EAAS5B,IAI/C+B,EAAY,sCAAsCC,OAGlDC,EAAiB,OAGjBC,EAAQ,qCAKRC,EAAa,sCAGbC,EAAa,6BAGbC,EAAc,gBACdC,EAAe,uBACfC,EAAe,qCACfC,EAAe,kEAGfC,EAAY,QACZC,EAAa,eAGbC,EAAa,SAAUC,EAAKC,GAC3B,MAAOA,GAAOC,eAIfC,EAAY,SAAUC,IAGhB7C,EAAS8C,kBAAmC,SAAfD,EAAME,MAA2C,aAAxB/C,EAASgD,cACnEC,IACA7C,EAAO8C,UAITD,EAAS,WACHjD,EAAS8C,kBACb9C,EAASmD,oBAAqB,mBAAoBP,GAAW,GAC7DlD,EAAOyD,oBAAqB,OAAQP,GAAW,KAG/C5C,EAASoD,YAAa,qBAAsBR,GAC5ClD,EAAO0D,Y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AAQ0M,EAAK,SAAW1M,GAC9C/C,EAAK+D,KAAM,SAAWhB,GAAQ0M,EAAK,SAAW1M,GAC9C0M,EAAK,SAAW1M,KAIXiE,IAAU9K,EAEhBS,EAAO82B,IAAKzzB,EAAMV,EAAMu1B,GAGxBl4B,EAAO+L,MAAO1I,EAAMV,EAAM0H,EAAO6tB,IAChCv1B,EAAM2I,EAAYkuB,EAASj6B,EAAW+L,EAAW,WAQvDtL,EAAOsB,GAAGooC,KAAO,WAChB,MAAOpmC,MAAKE,QAGbxD,EAAOsB,GAAGqoC,QAAU3pC,EAAOsB,GAAG6tB,QAGP,gBAAXya,SAAuBA,QAAoC,gBAAnBA,QAAOC,QAK1DD,OAAOC,QAAU7pC,GAGjBV,EAAOU,OAASV,EAAOY,EAAIF,EASJ,kBAAX8pC,SAAyBA,OAAOC,KAC3CD,OAAQ,YAAc,WAAc,MAAO9pC,QAIzCV"}
\ No newline at end of file
diff --git a/static/admin/jquery.ui.datepicker.jalali/scripts/jquery.ui.core.js b/static/admin/jquery.ui.datepicker.jalali/scripts/jquery.ui.core.js
new file mode 100644
index 0000000..91ca5ff
--- /dev/null
+++ b/static/admin/jquery.ui.datepicker.jalali/scripts/jquery.ui.core.js
@@ -0,0 +1,320 @@
+/*!
+ * jQuery UI Core 1.10.3
+ * http://jqueryui.com
+ *
+ * Copyright 2013 jQuery Foundation and other contributors
+ * Released under the MIT license.
+ * http://jquery.org/license
+ *
+ * http://api.jqueryui.com/category/ui-core/
+ */
+(function( $, undefined ) {
+
+var uuid = 0,
+ runiqueId = /^ui-id-\d+$/;
+
+// $.ui might exist from components with no dependencies, e.g., $.ui.position
+$.ui = $.ui || {};
+
+$.extend( $.ui, {
+ version: "1.10.3",
+
+ keyCode: {
+ BACKSPACE: 8,
+ COMMA: 188,
+ DELETE: 46,
+ DOWN: 40,
+ END: 35,
+ ENTER: 13,
+ ESCAPE: 27,
+ HOME: 36,
+ LEFT: 37,
+ NUMPAD_ADD: 107,
+ NUMPAD_DECIMAL: 110,
+ NUMPAD_DIVIDE: 111,
+ NUMPAD_ENTER: 108,
+ NUMPAD_MULTIPLY: 106,
+ NUMPAD_SUBTRACT: 109,
+ PAGE_DOWN: 34,
+ PAGE_UP: 33,
+ PERIOD: 190,
+ RIGHT: 39,
+ SPACE: 32,
+ TAB: 9,
+ UP: 38
+ }
+});
+
+// plugins
+$.fn.extend({
+ focus: (function( orig ) {
+ return function( delay, fn ) {
+ return typeof delay === "number" ?
+ this.each(function() {
+ var elem = this;
+ setTimeout(function() {
+ $( elem ).focus();
+ if ( fn ) {
+ fn.call( elem );
+ }
+ }, delay );
+ }) :
+ orig.apply( this, arguments );
+ };
+ })( $.fn.focus ),
+
+ scrollParent: function() {
+ var scrollParent;
+ if (($.ui.ie && (/(static|relative)/).test(this.css("position"))) || (/absolute/).test(this.css("position"))) {
+ scrollParent = this.parents().filter(function() {
+ return (/(relative|absolute|fixed)/).test($.css(this,"position")) && (/(auto|scroll)/).test($.css(this,"overflow")+$.css(this,"overflow-y")+$.css(this,"overflow-x"));
+ }).eq(0);
+ } else {
+ scrollParent = this.parents().filter(function() {
+ return (/(auto|scroll)/).test($.css(this,"overflow")+$.css(this,"overflow-y")+$.css(this,"overflow-x"));
+ }).eq(0);
+ }
+
+ return (/fixed/).test(this.css("position")) || !scrollParent.length ? $(document) : scrollParent;
+ },
+
+ zIndex: function( zIndex ) {
+ if ( zIndex !== undefined ) {
+ return this.css( "zIndex", zIndex );
+ }
+
+ if ( this.length ) {
+ var elem = $( this[ 0 ] ), position, value;
+ while ( elem.length && elem[ 0 ] !== document ) {
+ // Ignore z-index if position is set to a value where z-index is ignored by the browser
+ // This makes behavior of this function consistent across browsers
+ // WebKit always returns auto if the element is positioned
+ position = elem.css( "position" );
+ if ( position === "absolute" || position === "relative" || position === "fixed" ) {
+ // IE returns 0 when zIndex is not specified
+ // other browsers return a string
+ // we ignore the case of nested elements with an explicit value of 0
+ //
+ value = parseInt( elem.css( "zIndex" ), 10 );
+ if ( !isNaN( value ) && value !== 0 ) {
+ return value;
+ }
+ }
+ elem = elem.parent();
+ }
+ }
+
+ return 0;
+ },
+
+ uniqueId: function() {
+ return this.each(function() {
+ if ( !this.id ) {
+ this.id = "ui-id-" + (++uuid);
+ }
+ });
+ },
+
+ removeUniqueId: function() {
+ return this.each(function() {
+ if ( runiqueId.test( this.id ) ) {
+ $( this ).removeAttr( "id" );
+ }
+ });
+ }
+});
+
+// selectors
+function focusable( element, isTabIndexNotNaN ) {
+ var map, mapName, img,
+ nodeName = element.nodeName.toLowerCase();
+ if ( "area" === nodeName ) {
+ map = element.parentNode;
+ mapName = map.name;
+ if ( !element.href || !mapName || map.nodeName.toLowerCase() !== "map" ) {
+ return false;
+ }
+ img = $( "img[usemap=#" + mapName + "]" )[0];
+ return !!img && visible( img );
+ }
+ return ( /input|select|textarea|button|object/.test( nodeName ) ?
+ !element.disabled :
+ "a" === nodeName ?
+ element.href || isTabIndexNotNaN :
+ isTabIndexNotNaN) &&
+ // the element and all of its ancestors must be visible
+ visible( element );
+}
+
+function visible( element ) {
+ return $.expr.filters.visible( element ) &&
+ !$( element ).parents().addBack().filter(function() {
+ return $.css( this, "visibility" ) === "hidden";
+ }).length;
+}
+
+$.extend( $.expr[ ":" ], {
+ data: $.expr.createPseudo ?
+ $.expr.createPseudo(function( dataName ) {
+ return function( elem ) {
+ return !!$.data( elem, dataName );
+ };
+ }) :
+ // support: jQuery <1.8
+ function( elem, i, match ) {
+ return !!$.data( elem, match[ 3 ] );
+ },
+
+ focusable: function( element ) {
+ return focusable( element, !isNaN( $.attr( element, "tabindex" ) ) );
+ },
+
+ tabbable: function( element ) {
+ var tabIndex = $.attr( element, "tabindex" ),
+ isTabIndexNaN = isNaN( tabIndex );
+ return ( isTabIndexNaN || tabIndex >= 0 ) && focusable( element, !isTabIndexNaN );
+ }
+});
+
+// support: jQuery <1.8
+if ( !$( "
" ).outerWidth( 1 ).jquery ) {
+ $.each( [ "Width", "Height" ], function( i, name ) {
+ var side = name === "Width" ? [ "Left", "Right" ] : [ "Top", "Bottom" ],
+ type = name.toLowerCase(),
+ orig = {
+ innerWidth: $.fn.innerWidth,
+ innerHeight: $.fn.innerHeight,
+ outerWidth: $.fn.outerWidth,
+ outerHeight: $.fn.outerHeight
+ };
+
+ function reduce( elem, size, border, margin ) {
+ $.each( side, function() {
+ size -= parseFloat( $.css( elem, "padding" + this ) ) || 0;
+ if ( border ) {
+ size -= parseFloat( $.css( elem, "border" + this + "Width" ) ) || 0;
+ }
+ if ( margin ) {
+ size -= parseFloat( $.css( elem, "margin" + this ) ) || 0;
+ }
+ });
+ return size;
+ }
+
+ $.fn[ "inner" + name ] = function( size ) {
+ if ( size === undefined ) {
+ return orig[ "inner" + name ].call( this );
+ }
+
+ return this.each(function() {
+ $( this ).css( type, reduce( this, size ) + "px" );
+ });
+ };
+
+ $.fn[ "outer" + name] = function( size, margin ) {
+ if ( typeof size !== "number" ) {
+ return orig[ "outer" + name ].call( this, size );
+ }
+
+ return this.each(function() {
+ $( this).css( type, reduce( this, size, true, margin ) + "px" );
+ });
+ };
+ });
+}
+
+// support: jQuery <1.8
+if ( !$.fn.addBack ) {
+ $.fn.addBack = function( selector ) {
+ return this.add( selector == null ?
+ this.prevObject : this.prevObject.filter( selector )
+ );
+ };
+}
+
+// support: jQuery 1.6.1, 1.6.2 (http://bugs.jquery.com/ticket/9413)
+if ( $( " " ).data( "a-b", "a" ).removeData( "a-b" ).data( "a-b" ) ) {
+ $.fn.removeData = (function( removeData ) {
+ return function( key ) {
+ if ( arguments.length ) {
+ return removeData.call( this, $.camelCase( key ) );
+ } else {
+ return removeData.call( this );
+ }
+ };
+ })( $.fn.removeData );
+}
+
+
+
+
+
+// deprecated
+$.ui.ie = !!/msie [\w.]+/.exec( navigator.userAgent.toLowerCase() );
+
+$.support.selectstart = "onselectstart" in document.createElement( "div" );
+$.fn.extend({
+ disableSelection: function() {
+ return this.bind( ( $.support.selectstart ? "selectstart" : "mousedown" ) +
+ ".ui-disableSelection", function( event ) {
+ event.preventDefault();
+ });
+ },
+
+ enableSelection: function() {
+ return this.unbind( ".ui-disableSelection" );
+ }
+});
+
+$.extend( $.ui, {
+ // $.ui.plugin is deprecated. Use $.widget() extensions instead.
+ plugin: {
+ add: function( module, option, set ) {
+ var i,
+ proto = $.ui[ module ].prototype;
+ for ( i in set ) {
+ proto.plugins[ i ] = proto.plugins[ i ] || [];
+ proto.plugins[ i ].push( [ option, set[ i ] ] );
+ }
+ },
+ call: function( instance, name, args ) {
+ var i,
+ set = instance.plugins[ name ];
+ if ( !set || !instance.element[ 0 ].parentNode || instance.element[ 0 ].parentNode.nodeType === 11 ) {
+ return;
+ }
+
+ for ( i = 0; i < set.length; i++ ) {
+ if ( instance.options[ set[ i ][ 0 ] ] ) {
+ set[ i ][ 1 ].apply( instance.element, args );
+ }
+ }
+ }
+ },
+
+ // only used by resizable
+ hasScroll: function( el, a ) {
+
+ //If overflow is hidden, the element might have extra content, but the user wants to hide it
+ if ( $( el ).css( "overflow" ) === "hidden") {
+ return false;
+ }
+
+ var scroll = ( a && a === "left" ) ? "scrollLeft" : "scrollTop",
+ has = false;
+
+ if ( el[ scroll ] > 0 ) {
+ return true;
+ }
+
+ // TODO: determine which cases actually cause this to happen
+ // if the element doesn't have the scroll set, see if it's possible to
+ // set the scroll
+ el[ scroll ] = 1;
+ has = ( el[ scroll ] > 0 );
+ el[ scroll ] = 0;
+ return has;
+ }
+});
+
+})( jQuery );
diff --git a/static/admin/jquery.ui.datepicker.jalali/scripts/jquery.ui.datepicker-cc-fa.js b/static/admin/jquery.ui.datepicker.jalali/scripts/jquery.ui.datepicker-cc-fa.js
new file mode 100644
index 0000000..4e03f14
--- /dev/null
+++ b/static/admin/jquery.ui.datepicker.jalali/scripts/jquery.ui.datepicker-cc-fa.js
@@ -0,0 +1,103 @@
+// Mahdi Hasheminezhad. email: hasheminezhad at gmail dot com (http://hasheminezhad.com)
+jQuery(function($){
+ $.datepicker.regional['fa'] = {
+ calendar: JalaliDate,
+ closeText: 'بستن',
+ prevText: 'قبل',
+ nextText: 'بعد',
+ currentText: 'امروز',
+ monthNames: ['فروردین','اردیبهشت','خرداد','تیر','مرداد','شهریور','مهر','آبان','آذر','دی','بهمن','اسفند'],
+ monthNamesShort: ['فروردین','اردیبهشت','خرداد','تیر','مرداد','شهریور','مهر','آبان','آذر','دی','بهمن','اسفند'],
+ dayNames: ['یکشنبه', 'دوشنبه', 'سه شنبه', 'چهارشنبه', 'پنجشنبه', 'جمعه', 'شنبه'],
+ dayNamesShort: ['یک', 'دو', 'سه', 'چهار', 'پنج', 'جمعه', 'شنبه'],
+ dayNamesMin: ['ی','د','س','چ','پ','ج','ش'],
+ weekHeader: 'ه',
+ dateFormat: 'dd/mm/yy',
+ firstDay: 6,
+ isRTL: true,
+ showMonthAfterYear: false,
+ yearSuffix: '',
+ calculateWeek: function(date) {
+ var checkDate = new JalaliDate(date.getFullYear(), date.getMonth(), date.getDate() + (date.getDay() || 7) - 3);
+ return Math.floor(Math.round((checkDate.getTime() - new JalaliDate(checkDate.getFullYear(), 0, 1).getTime()) / 86400000) / 7) + 1;
+ }};
+ $.datepicker.setDefaults($.datepicker.regional['fa']);
+});
+
+function JalaliDate(p0, p1, p2) {
+ var gregorianDate;
+ var jalaliDate;
+
+ if (!isNaN(parseInt(p0)) && !isNaN(parseInt(p1)) && !isNaN(parseInt(p2))) {
+ var g = jalali_to_gregorian([parseInt(p0, 10), parseInt(p1, 10), parseInt(p2, 10)]);
+ setFullDate(new Date(g[0], g[1], g[2]));
+ } else {
+ setFullDate(p0);
+ };
+
+ function jalali_to_gregorian(d) {
+ var adjustDay = 0;
+ if(d[1]<0){
+ adjustDay = leap_persian(d[0]-1)? 30: 29;
+ d[1]++;
+ }
+ var gregorian = jd_to_gregorian(persian_to_jd(d[0], d[1] + 1, d[2])-adjustDay);
+ gregorian[1]--;
+ return gregorian;
+ };
+
+ function gregorian_to_jalali(d) {
+ var jalali = jd_to_persian(gregorian_to_jd(d[0], d[1] + 1, d[2]));
+ jalali[1]--;
+ return jalali;
+ };
+
+ function setFullDate(date) {
+ if (date && date.getGregorianDate) date = date.getGregorianDate();
+ gregorianDate = new Date(date);
+ gregorianDate.setHours(gregorianDate.getHours() > 12 ? gregorianDate.getHours() + 2 : 0)
+ if (!gregorianDate || gregorianDate == 'Invalid Date' || isNaN(gregorianDate || !gregorianDate.getDate())) {
+ gregorianDate = new Date();
+ }
+ jalaliDate = gregorian_to_jalali([
+ gregorianDate.getFullYear(),
+ gregorianDate.getMonth(),
+ gregorianDate.getDate()]);
+ return this;
+ };
+
+ this.getGregorianDate = function() { return gregorianDate; }
+
+ this.setFullDate = setFullDate;
+
+ this.setMonth = function(e) {
+ jalaliDate[1] = e;
+ var g = jalali_to_gregorian(jalaliDate);
+ gregorianDate = new Date(g[0], g[1], g[2]);
+ jalaliDate = gregorian_to_jalali([g[0], g[1], g[2]]);
+ };
+
+ this.setDate = function(e) {
+ jalaliDate[2] = e;
+ var g = jalali_to_gregorian(jalaliDate);
+ gregorianDate = new Date(g[0], g[1], g[2]);
+ jalaliDate = gregorian_to_jalali([g[0], g[1], g[2]]);
+ };
+
+ this.getFullYear = function() { return jalaliDate[0]; };
+ this.getMonth = function() { return jalaliDate[1]; };
+ this.getDate = function() { return jalaliDate[2]; };
+ this.toString = function() { return jalaliDate.join(',').toString(); };
+ this.getDay = function() { return gregorianDate.getDay(); };
+ this.getHours = function() { return gregorianDate.getHours(); };
+ this.getMinutes = function() { return gregorianDate.getMinutes(); };
+ this.getSeconds = function() { return gregorianDate.getSeconds(); };
+ this.getTime = function() { return gregorianDate.getTime(); };
+ this.getTimeZoneOffset = function() { return gregorianDate.getTimeZoneOffset(); };
+ this.getYear = function() { return jalaliDate[0] % 100; };
+
+ this.setHours = function(e) { gregorianDate.setHours(e) };
+ this.setMinutes = function(e) { gregorianDate.setMinutes(e) };
+ this.setSeconds = function(e) { gregorianDate.setSeconds(e) };
+ this.setMilliseconds = function(e) { gregorianDate.setMilliseconds(e) };
+};
diff --git a/static/admin/jquery.ui.datepicker.jalali/scripts/jquery.ui.datepicker-cc.js b/static/admin/jquery.ui.datepicker.jalali/scripts/jquery.ui.datepicker-cc.js
new file mode 100644
index 0000000..4b85208
--- /dev/null
+++ b/static/admin/jquery.ui.datepicker.jalali/scripts/jquery.ui.datepicker-cc.js
@@ -0,0 +1,2069 @@
+/*!
+ * jQuery UI Datepicker 1.10.3
+ * http://jqueryui.com
+ *
+ * Copyright 2013 jQuery Foundation and other contributors
+ * Released under the MIT license.
+ * http://jquery.org/license
+ *
+ * http://api.jqueryui.com/datepicker/
+ *
+ * Depends:
+ * jquery.ui.core.js
+ Developed for fa calendar by Caspico Group
+ */
+(function( $, undefined ) {
+
+$.extend($.ui, { datepicker: { version: "1.10.3" } });
+
+var PROP_NAME = "datepicker",
+ instActive;
+
+/* Date picker manager.
+ Use the singleton instance of this class, $.datepicker, to interact with the date picker.
+ Settings for (groups of) date pickers are maintained in an instance object,
+ allowing multiple different settings on the same page. */
+
+function Datepicker() {
+ this._curInst = null; // The current instance in use
+ this._keyEvent = false; // If the last event was a key event
+ this._disabledInputs = []; // List of date picker inputs that have been disabled
+ this._datepickerShowing = false; // True if the popup picker is showing , false if not
+ this._inDialog = false; // True if showing within a "dialog", false if not
+ this._mainDivId = "ui-datepicker-div"; // The ID of the main datepicker division
+ this._inlineClass = "ui-datepicker-inline"; // The name of the inline marker class
+ this._appendClass = "ui-datepicker-append"; // The name of the append marker class
+ this._triggerClass = "ui-datepicker-trigger"; // The name of the trigger marker class
+ this._dialogClass = "ui-datepicker-dialog"; // The name of the dialog marker class
+ this._disableClass = "ui-datepicker-disabled"; // The name of the disabled covering marker class
+ this._unselectableClass = "ui-datepicker-unselectable"; // The name of the unselectable cell marker class
+ this._currentClass = "ui-datepicker-current-day"; // The name of the current day marker class
+ this._dayOverClass = "ui-datepicker-days-cell-over"; // The name of the day hover marker class
+ this.regional = []; // Available regional settings, indexed by language code
+ this.regional[""] = { // Default regional settings
+ closeText: "Done", // Display text for close link
+ prevText: "Prev", // Display text for previous month link
+ nextText: "Next", // Display text for next month link
+ currentText: "Today", // Display text for current month link
+ monthNames: ["January","February","March","April","May","June",
+ "July","August","September","October","November","December"], // Names of months for drop-down and formatting
+ monthNamesShort: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], // For formatting
+ dayNames: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], // For formatting
+ dayNamesShort: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], // For formatting
+ dayNamesMin: ["Su","Mo","Tu","We","Th","Fr","Sa"], // Column headings for days starting at Sunday
+ weekHeader: "Wk", // Column header for week of the year
+ dateFormat: "mm/dd/yy", // See format options on parseDate
+ firstDay: 0, // The first day of the week, Sun = 0, Mon = 1, ...
+ isRTL: false, // True if right-to-left language, false if left-to-right
+ showMonthAfterYear: false, // True if the year select precedes month, false for month then year
+ yearSuffix: "" // Additional text to append to the year in the month headers
+ };
+ this._defaults = { // Global defaults for all the date picker instances
+ showOn: "focus", // "focus" for popup on focus,
+ // "button" for trigger button, or "both" for either
+ showAnim: "fadeIn", // Name of jQuery animation for popup
+ showOptions: {}, // Options for enhanced animations
+ defaultDate: null, // Used when field is blank: actual date,
+ // +/-number for offset from today, null for today
+ appendText: "", // Display text following the input box, e.g. showing the format
+ buttonText: "...", // Text for trigger button
+ buttonImage: "", // URL for trigger button image
+ buttonImageOnly: false, // True if the image appears alone, false if it appears on a button
+ hideIfNoPrevNext: false, // True to hide next/previous month links
+ // if not applicable, false to just disable them
+ navigationAsDateFormat: false, // True if date formatting applied to prev/today/next links
+ gotoCurrent: false, // True if today link goes back to current selection instead
+ changeMonth: false, // True if month can be selected directly, false if only prev/next
+ changeYear: false, // True if year can be selected directly, false if only prev/next
+ yearRange: "c-10:c+10", // Range of years to display in drop-down,
+ // either relative to today's year (-nn:+nn), relative to currently displayed year
+ // (c-nn:c+nn), absolute (nnnn:nnnn), or a combination of the above (nnnn:-n)
+ showOtherMonths: false, // True to show dates in other months, false to leave blank
+ selectOtherMonths: false, // True to allow selection of dates in other months, false for unselectable
+ showWeek: false, // True to show week of the year, false to not show it
+ calculateWeek: this.iso8601Week, // How to calculate the week of the year,
+ // takes a Date and returns the number of the week for it
+ shortYearCutoff: "+10", // Short year values < this are in the current century,
+ // > this are in the previous century,
+ // string value starting with "+" for current year + value
+ minDate: null, // The earliest selectable date, or null for no limit
+ maxDate: null, // The latest selectable date, or null for no limit
+ duration: "fast", // Duration of display/closure
+ beforeShowDay: null, // Function that takes a date and returns an array with
+ // [0] = true if selectable, false if not, [1] = custom CSS class name(s) or "",
+ // [2] = cell title (optional), e.g. $.datepicker.noWeekends
+ beforeShow: null, // Function that takes an input field and
+ // returns a set of custom settings for the date picker
+ onSelect: null, // Define a callback function when a date is selected
+ onChangeMonthYear: null, // Define a callback function when the month or year is changed
+ onClose: null, // Define a callback function when the datepicker is closed
+ numberOfMonths: 1, // Number of months to show at a time
+ showCurrentAtPos: 0, // The position in multipe months at which to show the current month (starting at 0)
+ stepMonths: 1, // Number of months to step back/forward
+ stepBigMonths: 12, // Number of months to step back/forward for the big links
+ altField: "", // Selector for an alternate field to store selected dates into
+ altFormat: "", // The date format to use for the alternate field
+ constrainInput: true, // The input is constrained by the current date format
+ showButtonPanel: false, // True to show button panel, false to not show it
+ autoSize: false, // True to size the input for the date format, false to leave as is
+ disabled: false // The initial disabled state
+ };
+ $.extend(this._defaults, this.regional[""]);
+ this.dpDiv = bindHover($("
"));
+}
+
+$.extend(Datepicker.prototype, {
+ /* Class name added to elements to indicate already configured with a date picker. */
+ markerClassName: "hasDatepicker",
+
+ //Keep track of the maximum number of rows displayed (see #7043)
+ maxRows: 4,
+
+ // TODO rename to "widget" when switching to widget factory
+ _widgetDatepicker: function() {
+ return this.dpDiv;
+ },
+
+ /* Override the default settings for all instances of the date picker.
+ * @param settings object - the new settings to use as defaults (anonymous object)
+ * @return the manager object
+ */
+ setDefaults: function(settings) {
+ extendRemove(this._defaults, settings || {});
+ return this;
+ },
+
+ /* Attach the date picker to a jQuery selection.
+ * @param target element - the target input field or division or span
+ * @param settings object - the new settings to use for this date picker instance (anonymous)
+ */
+ _attachDatepicker: function(target, settings) {
+ var inlineSettings = null;
+ for (var attrName in this._defaults) {
+ var attrValue = target.getAttribute('date:' + attrName);
+ if (attrValue) {
+ inlineSettings = inlineSettings || {};
+ try {
+ inlineSettings[attrName] = eval(attrValue);
+ } catch (err) {
+ inlineSettings[attrName] = attrValue;
+ }
+ }
+ }
+ var nodeName = target.nodeName.toLowerCase();
+ var inline = (nodeName == 'div' || nodeName == 'span');
+ if (!target.id) {
+ this.uuid += 1;
+ target.id = 'dp' + this.uuid;
+ }
+ var inst = this._newInst($(target), inline);
+ var regional = $.extend({}, settings && this.regional[settings['regional']] || {});//[CC]
+ inst.settings = $.extend(regional, settings || {}, inlineSettings || {});//[CC]
+ inst.settings = $.extend({}, settings || {}, inlineSettings || {});
+ if (nodeName == 'input') {
+ this._connectDatepicker(target, inst);
+ } else if (inline) {
+ this._inlineDatepicker(target, inst);
+ }
+ },
+
+ /* Create a new instance object. */
+ _newInst: function(target, inline) {
+ var id = target[0].id.replace(/([^A-Za-z0-9_\-])/g, "\\\\$1"); // escape jQuery meta chars
+ return {id: id, input: target, // associated target
+ selectedDay: 0, selectedMonth: 0, selectedYear: 0, // current selection
+ drawMonth: 0, drawYear: 0, // month being drawn
+ inline: inline, // is datepicker inline or not
+ dpDiv: (!inline ? this.dpDiv : // presentation div
+ bindHover($("
")))};
+ },
+
+ /* Attach the date picker to an input field. */
+ _connectDatepicker: function(target, inst) {
+ var input = $(target);
+ inst.append = $([]);
+ inst.trigger = $([]);
+ if (input.hasClass(this.markerClassName)) {
+ return;
+ }
+ this._attachments(input, inst);
+ input.addClass(this.markerClassName).keydown(this._doKeyDown).
+ keypress(this._doKeyPress).keyup(this._doKeyUp);
+ this._autoSize(inst);
+ $.data(target, PROP_NAME, inst);
+ //If disabled option is true, disable the datepicker once it has been attached to the input (see ticket #5665)
+ if( inst.settings.disabled ) {
+ this._disableDatepicker( target );
+ }
+ },
+
+ /* Make attachments based on settings. */
+ _attachments: function(input, inst) {
+ var showOn, buttonText, buttonImage,
+ appendText = this._get(inst, "appendText"),
+ isRTL = this._get(inst, "isRTL");
+
+ if (inst.append) {
+ inst.append.remove();
+ }
+ if (appendText) {
+ inst.append = $("" + appendText + " ");
+ input[isRTL ? "before" : "after"](inst.append);
+ }
+
+ input.unbind("focus", this._showDatepicker);
+
+ if (inst.trigger) {
+ inst.trigger.remove();
+ }
+
+ showOn = this._get(inst, "showOn");
+ if (showOn === "focus" || showOn === "both") { // pop-up date picker when in the marked field
+ input.focus(this._showDatepicker);
+ }
+ if (showOn === "button" || showOn === "both") { // pop-up date picker when button clicked
+ buttonText = this._get(inst, "buttonText");
+ buttonImage = this._get(inst, "buttonImage");
+ inst.trigger = $(this._get(inst, "buttonImageOnly") ?
+ $(" ").addClass(this._triggerClass).
+ attr({ src: buttonImage, alt: buttonText, title: buttonText }) :
+ $(" ").addClass(this._triggerClass).
+ html(!buttonImage ? buttonText : $(" ").attr(
+ { src:buttonImage, alt:buttonText, title:buttonText })));
+ input[isRTL ? "before" : "after"](inst.trigger);
+ inst.trigger.click(function() {
+ if ($.datepicker._datepickerShowing && $.datepicker._lastInput === input[0]) {
+ $.datepicker._hideDatepicker();
+ } else if ($.datepicker._datepickerShowing && $.datepicker._lastInput !== input[0]) {
+ $.datepicker._hideDatepicker();
+ $.datepicker._showDatepicker(input[0]);
+ } else {
+ $.datepicker._showDatepicker(input[0]);
+ }
+ return false;
+ });
+ }
+ },
+
+ /* Apply the maximum length for the date format. */
+ _autoSize: function(inst) {
+ if (this._get(inst, "autoSize") && !inst.inline) {
+ var findMax, max, maxI, i,
+ date = new Date(2009, 12 - 1, 20), // Ensure double digits
+ dateFormat = this._get(inst, "dateFormat");
+
+ if (dateFormat.match(/[DM]/)) {
+ findMax = function(names) {
+ max = 0;
+ maxI = 0;
+ for (i = 0; i < names.length; i++) {
+ if (names[i].length > max) {
+ max = names[i].length;
+ maxI = i;
+ }
+ }
+ return maxI;
+ };
+ date.setMonth(findMax(this._get(inst, (dateFormat.match(/MM/) ?
+ "monthNames" : "monthNamesShort"))));
+ date.setDate(findMax(this._get(inst, (dateFormat.match(/DD/) ?
+ "dayNames" : "dayNamesShort"))) + 20 - date.getDay());
+ }
+ inst.input.attr("size", this._formatDate(inst, date).length);
+ }
+ },
+
+ /* Attach an inline date picker to a div. */
+ _inlineDatepicker: function(target, inst) {
+ var divSpan = $(target);
+ if (divSpan.hasClass(this.markerClassName)) {
+ return;
+ }
+ divSpan.addClass(this.markerClassName).append(inst.dpDiv);
+ $.data(target, PROP_NAME, inst);
+ this._setDate(inst, this._getDefaultDate(inst), true);
+ this._updateDatepicker(inst);
+ this._updateAlternate(inst);
+ //If disabled option is true, disable the datepicker before showing it (see ticket #5665)
+ if( inst.settings.disabled ) {
+ this._disableDatepicker( target );
+ }
+ // Set display:block in place of inst.dpDiv.show() which won't work on disconnected elements
+ // http://bugs.jqueryui.com/ticket/7552 - A Datepicker created on a detached div has zero height
+ inst.dpDiv.css( "display", "block" );
+ },
+
+ /* Pop-up the date picker in a "dialog" box.
+ * @param input element - ignored
+ * @param date string or Date - the initial date to display
+ * @param onSelect function - the function to call when a date is selected
+ * @param settings object - update the dialog date picker instance's settings (anonymous object)
+ * @param pos int[2] - coordinates for the dialog's position within the screen or
+ * event - with x/y coordinates or
+ * leave empty for default (screen centre)
+ * @return the manager object
+ */
+ _dialogDatepicker: function(input, date, onSelect, settings, pos) {
+ var id, browserWidth, browserHeight, scrollX, scrollY,
+ inst = this._dialogInst; // internal instance
+
+ if (!inst) {
+ this.uuid += 1;
+ id = "dp" + this.uuid;
+ this._dialogInput = $(" ");
+ this._dialogInput.keydown(this._doKeyDown);
+ $("body").append(this._dialogInput);
+ inst = this._dialogInst = this._newInst(this._dialogInput, false);
+ inst.settings = {};
+ $.data(this._dialogInput[0], PROP_NAME, inst);
+ }
+ extendRemove(inst.settings, settings || {});
+ date = (date && date.constructor === Date ? this._formatDate(inst, date) : date);
+ this._dialogInput.val(date);
+
+ this._pos = (pos ? (pos.length ? pos : [pos.pageX, pos.pageY]) : null);
+ if (!this._pos) {
+ browserWidth = document.documentElement.clientWidth;
+ browserHeight = document.documentElement.clientHeight;
+ scrollX = document.documentElement.scrollLeft || document.body.scrollLeft;
+ scrollY = document.documentElement.scrollTop || document.body.scrollTop;
+ this._pos = // should use actual width/height below
+ [(browserWidth / 2) - 100 + scrollX, (browserHeight / 2) - 150 + scrollY];
+ }
+
+ // move input on screen for focus, but hidden behind dialog
+ this._dialogInput.css("left", (this._pos[0] + 20) + "px").css("top", this._pos[1] + "px");
+ inst.settings.onSelect = onSelect;
+ this._inDialog = true;
+ this.dpDiv.addClass(this._dialogClass);
+ this._showDatepicker(this._dialogInput[0]);
+ if ($.blockUI) {
+ $.blockUI(this.dpDiv);
+ }
+ $.data(this._dialogInput[0], PROP_NAME, inst);
+ return this;
+ },
+
+ /* Detach a datepicker from its control.
+ * @param target element - the target input field or division or span
+ */
+ _destroyDatepicker: function(target) {
+ var nodeName,
+ $target = $(target),
+ inst = $.data(target, PROP_NAME);
+
+ if (!$target.hasClass(this.markerClassName)) {
+ return;
+ }
+
+ nodeName = target.nodeName.toLowerCase();
+ $.removeData(target, PROP_NAME);
+ if (nodeName === "input") {
+ inst.append.remove();
+ inst.trigger.remove();
+ $target.removeClass(this.markerClassName).
+ unbind("focus", this._showDatepicker).
+ unbind("keydown", this._doKeyDown).
+ unbind("keypress", this._doKeyPress).
+ unbind("keyup", this._doKeyUp);
+ } else if (nodeName === "div" || nodeName === "span") {
+ $target.removeClass(this.markerClassName).empty();
+ }
+ },
+
+ /* Enable the date picker to a jQuery selection.
+ * @param target element - the target input field or division or span
+ */
+ _enableDatepicker: function(target) {
+ var nodeName, inline,
+ $target = $(target),
+ inst = $.data(target, PROP_NAME);
+
+ if (!$target.hasClass(this.markerClassName)) {
+ return;
+ }
+
+ nodeName = target.nodeName.toLowerCase();
+ if (nodeName === "input") {
+ target.disabled = false;
+ inst.trigger.filter("button").
+ each(function() { this.disabled = false; }).end().
+ filter("img").css({opacity: "1.0", cursor: ""});
+ } else if (nodeName === "div" || nodeName === "span") {
+ inline = $target.children("." + this._inlineClass);
+ inline.children().removeClass("ui-state-disabled");
+ inline.find("select.ui-datepicker-month, select.ui-datepicker-year").
+ prop("disabled", false);
+ }
+ this._disabledInputs = $.map(this._disabledInputs,
+ function(value) { return (value === target ? null : value); }); // delete entry
+ },
+
+ /* Disable the date picker to a jQuery selection.
+ * @param target element - the target input field or division or span
+ */
+ _disableDatepicker: function(target) {
+ var nodeName, inline,
+ $target = $(target),
+ inst = $.data(target, PROP_NAME);
+
+ if (!$target.hasClass(this.markerClassName)) {
+ return;
+ }
+
+ nodeName = target.nodeName.toLowerCase();
+ if (nodeName === "input") {
+ target.disabled = true;
+ inst.trigger.filter("button").
+ each(function() { this.disabled = true; }).end().
+ filter("img").css({opacity: "0.5", cursor: "default"});
+ } else if (nodeName === "div" || nodeName === "span") {
+ inline = $target.children("." + this._inlineClass);
+ inline.children().addClass("ui-state-disabled");
+ inline.find("select.ui-datepicker-month, select.ui-datepicker-year").
+ prop("disabled", true);
+ }
+ this._disabledInputs = $.map(this._disabledInputs,
+ function(value) { return (value === target ? null : value); }); // delete entry
+ this._disabledInputs[this._disabledInputs.length] = target;
+ },
+
+ /* Is the first field in a jQuery collection disabled as a datepicker?
+ * @param target element - the target input field or division or span
+ * @return boolean - true if disabled, false if enabled
+ */
+ _isDisabledDatepicker: function(target) {
+ if (!target) {
+ return false;
+ }
+ for (var i = 0; i < this._disabledInputs.length; i++) {
+ if (this._disabledInputs[i] === target) {
+ return true;
+ }
+ }
+ return false;
+ },
+
+ /* Retrieve the instance data for the target control.
+ * @param target element - the target input field or division or span
+ * @return object - the associated instance data
+ * @throws error if a jQuery problem getting data
+ */
+ _getInst: function(target) {
+ try {
+ return $.data(target, PROP_NAME);
+ }
+ catch (err) {
+ throw "Missing instance data for this datepicker";
+ }
+ },
+
+ /* Update or retrieve the settings for a date picker attached to an input field or division.
+ * @param target element - the target input field or division or span
+ * @param name object - the new settings to update or
+ * string - the name of the setting to change or retrieve,
+ * when retrieving also "all" for all instance settings or
+ * "defaults" for all global defaults
+ * @param value any - the new value for the setting
+ * (omit if above is an object or to retrieve a value)
+ */
+ _optionDatepicker: function(target, name, value) {
+ var settings, date, minDate, maxDate,
+ inst = this._getInst(target);
+
+ if (arguments.length === 2 && typeof name === "string") {
+ return (name === "defaults" ? $.extend({}, $.datepicker._defaults) :
+ (inst ? (name === "all" ? $.extend({}, inst.settings) :
+ this._get(inst, name)) : null));
+ }
+
+ settings = name || {};
+ if (typeof name === "string") {
+ settings = {};
+ settings[name] = value;
+ }
+
+ if (inst) {
+ if (this._curInst === inst) {
+ this._hideDatepicker();
+ }
+
+ date = this._getDateDatepicker(target, true);
+ minDate = this._getMinMaxDate(inst, "min");
+ maxDate = this._getMinMaxDate(inst, "max");
+ extendRemove(inst.settings, settings);
+ // reformat the old minDate/maxDate values if dateFormat changes and a new minDate/maxDate isn't provided
+ if (minDate !== null && settings.dateFormat !== undefined && settings.minDate === undefined) {
+ inst.settings.minDate = this._formatDate(inst, minDate);
+ }
+ if (maxDate !== null && settings.dateFormat !== undefined && settings.maxDate === undefined) {
+ inst.settings.maxDate = this._formatDate(inst, maxDate);
+ }
+ if ( "disabled" in settings ) {
+ if ( settings.disabled ) {
+ this._disableDatepicker(target);
+ } else {
+ this._enableDatepicker(target);
+ }
+ }
+ this._attachments($(target), inst);
+ this._autoSize(inst);
+ this._setDate(inst, date);
+ this._updateAlternate(inst);
+ this._updateDatepicker(inst);
+ }
+ },
+
+ // change method deprecated
+ _changeDatepicker: function(target, name, value) {
+ this._optionDatepicker(target, name, value);
+ },
+
+ /* Redraw the date picker attached to an input field or division.
+ * @param target element - the target input field or division or span
+ */
+ _refreshDatepicker: function(target) {
+ var inst = this._getInst(target);
+ if (inst) {
+ this._updateDatepicker(inst);
+ }
+ },
+
+ /* Set the dates for a jQuery selection.
+ * @param target element - the target input field or division or span
+ * @param date Date - the new date
+ */
+ _setDateDatepicker: function(target, date) {
+ var inst = this._getInst(target);
+ if (inst) {
+ this._setDate(inst, date);
+ this._updateDatepicker(inst);
+ this._updateAlternate(inst);
+ }
+ },
+
+ /* Get the date(s) for the first entry in a jQuery selection.
+ * @param target element - the target input field or division or span
+ * @param noDefault boolean - true if no default date is to be used
+ * @return Date - the current date
+ */
+ _getDateDatepicker: function(target, noDefault) {
+ var inst = this._getInst(target);
+ if (inst && !inst.inline) {
+ this._setDateFromField(inst, noDefault);
+ }
+ return (inst ? this._getDate(inst) : null);
+ },
+
+ /* Handle keystrokes. */
+ _doKeyDown: function(event) {
+ var onSelect, dateStr, sel,
+ inst = $.datepicker._getInst(event.target),
+ handled = true,
+ isRTL = inst.dpDiv.is(".ui-datepicker-rtl");
+
+ inst._keyEvent = true;
+ if ($.datepicker._datepickerShowing) {
+ switch (event.keyCode) {
+ case 9: $.datepicker._hideDatepicker();
+ handled = false;
+ break; // hide on tab out
+ case 13: sel = $("td." + $.datepicker._dayOverClass + ":not(." +
+ $.datepicker._currentClass + ")", inst.dpDiv);
+ if (sel[0]) {
+ $.datepicker._selectDay(event.target, inst.selectedMonth, inst.selectedYear, sel[0]);
+ }
+
+ onSelect = $.datepicker._get(inst, "onSelect");
+ if (onSelect) {
+ dateStr = $.datepicker._formatDate(inst);
+
+ // trigger custom callback
+ onSelect.apply((inst.input ? inst.input[0] : null), [dateStr, inst]);
+ } else {
+ $.datepicker._hideDatepicker();
+ }
+
+ return false; // don't submit the form
+ case 27: $.datepicker._hideDatepicker();
+ break; // hide on escape
+ case 33: $.datepicker._adjustDate(event.target, (event.ctrlKey ?
+ -$.datepicker._get(inst, "stepBigMonths") :
+ -$.datepicker._get(inst, "stepMonths")), "M");
+ break; // previous month/year on page up/+ ctrl
+ case 34: $.datepicker._adjustDate(event.target, (event.ctrlKey ?
+ +$.datepicker._get(inst, "stepBigMonths") :
+ +$.datepicker._get(inst, "stepMonths")), "M");
+ break; // next month/year on page down/+ ctrl
+ case 35: if (event.ctrlKey || event.metaKey) {
+ $.datepicker._clearDate(event.target);
+ }
+ handled = event.ctrlKey || event.metaKey;
+ break; // clear on ctrl or command +end
+ case 36: if (event.ctrlKey || event.metaKey) {
+ $.datepicker._gotoToday(event.target);
+ }
+ handled = event.ctrlKey || event.metaKey;
+ break; // current on ctrl or command +home
+ case 37: if (event.ctrlKey || event.metaKey) {
+ $.datepicker._adjustDate(event.target, (isRTL ? +1 : -1), "D");
+ }
+ handled = event.ctrlKey || event.metaKey;
+ // -1 day on ctrl or command +left
+ if (event.originalEvent.altKey) {
+ $.datepicker._adjustDate(event.target, (event.ctrlKey ?
+ -$.datepicker._get(inst, "stepBigMonths") :
+ -$.datepicker._get(inst, "stepMonths")), "M");
+ }
+ // next month/year on alt +left on Mac
+ break;
+ case 38: if (event.ctrlKey || event.metaKey) {
+ $.datepicker._adjustDate(event.target, -7, "D");
+ }
+ handled = event.ctrlKey || event.metaKey;
+ break; // -1 week on ctrl or command +up
+ case 39: if (event.ctrlKey || event.metaKey) {
+ $.datepicker._adjustDate(event.target, (isRTL ? -1 : +1), "D");
+ }
+ handled = event.ctrlKey || event.metaKey;
+ // +1 day on ctrl or command +right
+ if (event.originalEvent.altKey) {
+ $.datepicker._adjustDate(event.target, (event.ctrlKey ?
+ +$.datepicker._get(inst, "stepBigMonths") :
+ +$.datepicker._get(inst, "stepMonths")), "M");
+ }
+ // next month/year on alt +right
+ break;
+ case 40: if (event.ctrlKey || event.metaKey) {
+ $.datepicker._adjustDate(event.target, +7, "D");
+ }
+ handled = event.ctrlKey || event.metaKey;
+ break; // +1 week on ctrl or command +down
+ default: handled = false;
+ }
+ } else if (event.keyCode === 36 && event.ctrlKey) { // display the date picker on ctrl+home
+ $.datepicker._showDatepicker(this);
+ } else {
+ handled = false;
+ }
+
+ if (handled) {
+ event.preventDefault();
+ event.stopPropagation();
+ }
+ },
+
+ /* Filter entered characters - based on date format. */
+ _doKeyPress: function(event) {
+ var chars, chr,
+ inst = $.datepicker._getInst(event.target);
+
+ if ($.datepicker._get(inst, "constrainInput")) {
+ chars = $.datepicker._possibleChars($.datepicker._get(inst, "dateFormat"));
+ chr = String.fromCharCode(event.charCode == null ? event.keyCode : event.charCode);
+ return event.ctrlKey || event.metaKey || (chr < " " || !chars || chars.indexOf(chr) > -1);
+ }
+ },
+
+ /* Synchronise manual entry and field/alternate field. */
+ _doKeyUp: function(event) {
+ var date,
+ inst = $.datepicker._getInst(event.target);
+
+ if (inst.input.val() !== inst.lastVal) {
+ try {
+ date = $.datepicker.parseDate($.datepicker._get(inst, "dateFormat"),
+ (inst.input ? inst.input.val() : null),
+ $.datepicker._getFormatConfig(inst));
+
+ if (date) { // only if valid
+ $.datepicker._setDateFromField(inst);
+ $.datepicker._updateAlternate(inst);
+ $.datepicker._updateDatepicker(inst);
+ }
+ }
+ catch (err) {
+ }
+ }
+ return true;
+ },
+
+ /* Pop-up the date picker for a given input field.
+ * If false returned from beforeShow event handler do not show.
+ * @param input element - the input field attached to the date picker or
+ * event - if triggered by focus
+ */
+ _showDatepicker: function(input) {
+ input = input.target || input;
+ if (input.nodeName.toLowerCase() !== "input") { // find from button/image trigger
+ input = $("input", input.parentNode)[0];
+ }
+
+ if ($.datepicker._isDisabledDatepicker(input) || $.datepicker._lastInput === input) { // already here
+ return;
+ }
+
+ var inst, beforeShow, beforeShowSettings, isFixed,
+ offset, showAnim, duration;
+
+ inst = $.datepicker._getInst(input);
+ if ($.datepicker._curInst && $.datepicker._curInst !== inst) {
+ $.datepicker._curInst.dpDiv.stop(true, true);
+ if ( inst && $.datepicker._datepickerShowing ) {
+ $.datepicker._hideDatepicker( $.datepicker._curInst.input[0] );
+ }
+ }
+
+ beforeShow = $.datepicker._get(inst, "beforeShow");
+ beforeShowSettings = beforeShow ? beforeShow.apply(input, [input, inst]) : {};
+ if(beforeShowSettings === false){
+ return;
+ }
+ extendRemove(inst.settings, beforeShowSettings);
+
+ inst.lastVal = null;
+ $.datepicker._lastInput = input;
+ $.datepicker._setDateFromField(inst);
+
+ if ($.datepicker._inDialog) { // hide cursor
+ input.value = "";
+ }
+ if (!$.datepicker._pos) { // position below input
+ $.datepicker._pos = $.datepicker._findPos(input);
+ $.datepicker._pos[1] += input.offsetHeight; // add the height
+ }
+
+ isFixed = false;
+ $(input).parents().each(function() {
+ isFixed |= $(this).css("position") === "fixed";
+ return !isFixed;
+ });
+
+ offset = {left: $.datepicker._pos[0], top: $.datepicker._pos[1]};
+ $.datepicker._pos = null;
+ //to avoid flashes on Firefox
+ inst.dpDiv.empty();
+ // determine sizing offscreen
+ inst.dpDiv.css({position: "absolute", display: "block", top: "-1000px"});
+ $.datepicker._updateDatepicker(inst);
+ // fix width for dynamic number of date pickers
+ // and adjust position before showing
+ offset = $.datepicker._checkOffset(inst, offset, isFixed);
+ inst.dpDiv.css({position: ($.datepicker._inDialog && $.blockUI ?
+ "static" : (isFixed ? "fixed" : "absolute")), display: "none",
+ left: offset.left + "px", top: offset.top + "px"});
+
+ if (!inst.inline) {
+ showAnim = $.datepicker._get(inst, "showAnim");
+ duration = $.datepicker._get(inst, "duration");
+ inst.dpDiv.zIndex($(input).zIndex()+1);
+ $.datepicker._datepickerShowing = true;
+
+ if ( $.effects && $.effects.effect[ showAnim ] ) {
+ inst.dpDiv.show(showAnim, $.datepicker._get(inst, "showOptions"), duration);
+ } else {
+ inst.dpDiv[showAnim || "show"](showAnim ? duration : null);
+ }
+
+ if ( $.datepicker._shouldFocusInput( inst ) ) {
+ inst.input.focus();
+ }
+
+ $.datepicker._curInst = inst;
+ }
+ },
+
+ /* Generate the date picker content. */
+ _updateDatepicker: function(inst) {
+ this.maxRows = 4; //Reset the max number of rows being displayed (see #7043)
+ instActive = inst; // for delegate hover events
+ inst.dpDiv.empty().append(this._generateHTML(inst));
+ this._attachHandlers(inst);
+ inst.dpDiv.find("." + this._dayOverClass + " a").mouseover();
+
+ var origyearshtml,
+ numMonths = this._getNumberOfMonths(inst),
+ cols = numMonths[1],
+ width = 17;
+
+ inst.dpDiv.removeClass("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4").width("");
+ if (cols > 1) {
+ inst.dpDiv.addClass("ui-datepicker-multi-" + cols).css("width", (width * cols) + "em");
+ }
+ inst.dpDiv[(numMonths[0] !== 1 || numMonths[1] !== 1 ? "add" : "remove") +
+ "Class"]("ui-datepicker-multi");
+ inst.dpDiv[(this._get(inst, "isRTL") ? "add" : "remove") +
+ "Class"]("ui-datepicker-rtl");
+
+ if (inst === $.datepicker._curInst && $.datepicker._datepickerShowing && $.datepicker._shouldFocusInput( inst ) ) {
+ inst.input.focus();
+ }
+
+ // deffered render of the years select (to avoid flashes on Firefox)
+ if( inst.yearshtml ){
+ origyearshtml = inst.yearshtml;
+ setTimeout(function(){
+ //assure that inst.yearshtml didn't change.
+ if( origyearshtml === inst.yearshtml && inst.yearshtml ){
+ inst.dpDiv.find("select.ui-datepicker-year:first").replaceWith(inst.yearshtml);
+ }
+ origyearshtml = inst.yearshtml = null;
+ }, 0);
+ }
+ },
+
+ // #6694 - don't focus the input if it's already focused
+ // this breaks the change event in IE
+ // Support: IE and jQuery <1.9
+ _shouldFocusInput: function( inst ) {
+ return inst.input && inst.input.is( ":visible" ) && !inst.input.is( ":disabled" ) && !inst.input.is( ":focus" );
+ },
+
+ /* Check positioning to remain on screen. */
+ _checkOffset: function(inst, offset, isFixed) {
+ var dpWidth = inst.dpDiv.outerWidth(),
+ dpHeight = inst.dpDiv.outerHeight(),
+ inputWidth = inst.input ? inst.input.outerWidth() : 0,
+ inputHeight = inst.input ? inst.input.outerHeight() : 0,
+ viewWidth = document.documentElement.clientWidth + (isFixed ? 0 : $(document).scrollLeft()),
+ viewHeight = document.documentElement.clientHeight + (isFixed ? 0 : $(document).scrollTop());
+
+ offset.left -= (this._get(inst, "isRTL") ? (dpWidth - inputWidth) : 0);
+ offset.left -= (isFixed && offset.left === inst.input.offset().left) ? $(document).scrollLeft() : 0;
+ offset.top -= (isFixed && offset.top === (inst.input.offset().top + inputHeight)) ? $(document).scrollTop() : 0;
+
+ // now check if datepicker is showing outside window viewport - move to a better place if so.
+ offset.left -= Math.min(offset.left, (offset.left + dpWidth > viewWidth && viewWidth > dpWidth) ?
+ Math.abs(offset.left + dpWidth - viewWidth) : 0);
+ offset.top -= Math.min(offset.top, (offset.top + dpHeight > viewHeight && viewHeight > dpHeight) ?
+ Math.abs(dpHeight + inputHeight) : 0);
+
+ return offset;
+ },
+
+ /* Find an object's position on the screen. */
+ _findPos: function(obj) {
+ var position,
+ inst = this._getInst(obj),
+ isRTL = this._get(inst, "isRTL");
+
+ while (obj && (obj.type === "hidden" || obj.nodeType !== 1 || $.expr.filters.hidden(obj))) {
+ obj = obj[isRTL ? "previousSibling" : "nextSibling"];
+ }
+
+ position = $(obj).offset();
+ return [position.left, position.top];
+ },
+
+ /* Hide the date picker from view.
+ * @param input element - the input field attached to the date picker
+ */
+ _hideDatepicker: function(input) {
+ var showAnim, duration, postProcess, onClose,
+ inst = this._curInst;
+
+ if (!inst || (input && inst !== $.data(input, PROP_NAME))) {
+ return;
+ }
+
+ if (this._datepickerShowing) {
+ showAnim = this._get(inst, "showAnim");
+ duration = this._get(inst, "duration");
+ postProcess = function() {
+ $.datepicker._tidyDialog(inst);
+ };
+
+ // DEPRECATED: after BC for 1.8.x $.effects[ showAnim ] is not needed
+ if ( $.effects && ( $.effects.effect[ showAnim ] || $.effects[ showAnim ] ) ) {
+ inst.dpDiv.hide(showAnim, $.datepicker._get(inst, "showOptions"), duration, postProcess);
+ } else {
+ inst.dpDiv[(showAnim === "slideDown" ? "slideUp" :
+ (showAnim === "fadeIn" ? "fadeOut" : "hide"))]((showAnim ? duration : null), postProcess);
+ }
+
+ if (!showAnim) {
+ postProcess();
+ }
+ this._datepickerShowing = false;
+
+ onClose = this._get(inst, "onClose");
+ if (onClose) {
+ onClose.apply((inst.input ? inst.input[0] : null), [(inst.input ? inst.input.val() : ""), inst]);
+ }
+
+ this._lastInput = null;
+ if (this._inDialog) {
+ this._dialogInput.css({ position: "absolute", left: "0", top: "-100px" });
+ if ($.blockUI) {
+ $.unblockUI();
+ $("body").append(this.dpDiv);
+ }
+ }
+ this._inDialog = false;
+ }
+ },
+
+ /* Tidy up after a dialog display. */
+ _tidyDialog: function(inst) {
+ inst.dpDiv.removeClass(this._dialogClass).unbind(".ui-datepicker-calendar");
+ },
+
+ /* Close date picker if clicked elsewhere. */
+ _checkExternalClick: function(event) {
+ if (!$.datepicker._curInst) {
+ return;
+ }
+
+ var $target = $(event.target),
+ inst = $.datepicker._getInst($target[0]);
+
+ if ( ( ( $target[0].id !== $.datepicker._mainDivId &&
+ $target.parents("#" + $.datepicker._mainDivId).length === 0 &&
+ !$target.hasClass($.datepicker.markerClassName) &&
+ !$target.closest("." + $.datepicker._triggerClass).length &&
+ $.datepicker._datepickerShowing && !($.datepicker._inDialog && $.blockUI) ) ) ||
+ ( $target.hasClass($.datepicker.markerClassName) && $.datepicker._curInst !== inst ) ) {
+ $.datepicker._hideDatepicker();
+ }
+ },
+
+ /* Adjust one of the date sub-fields. */
+ _adjustDate: function(id, offset, period) {
+ var target = $(id),
+ inst = this._getInst(target[0]);
+
+ if (this._isDisabledDatepicker(target[0])) {
+ return;
+ }
+ this._adjustInstDate(inst, offset +
+ (period === "M" ? this._get(inst, "showCurrentAtPos") : 0), // undo positioning
+ period);
+ this._updateDatepicker(inst);
+ },
+
+ /* Action for current link. */
+ _gotoToday: function(id) {
+ var date,
+ target = $(id),
+ inst = this._getInst(target[0]);
+
+ if (this._get(inst, "gotoCurrent") && inst.currentDay) {
+ inst.selectedDay = inst.currentDay;
+ inst.drawMonth = inst.selectedMonth = inst.currentMonth;
+ inst.drawYear = inst.selectedYear = inst.currentYear;
+ } else {
+ date = new Date();
+ inst.selectedDay = date.getDate();
+ inst.drawMonth = inst.selectedMonth = date.getMonth();
+ inst.drawYear = inst.selectedYear = date.getFullYear();
+ }
+ this._notifyChange(inst);
+ this._adjustDate(target);
+ },
+
+ /* Action for selecting a new month/year. */
+ _selectMonthYear: function(id, select, period) {
+ var target = $(id),
+ inst = this._getInst(target[0]);
+
+ inst["selected" + (period === "M" ? "Month" : "Year")] =
+ inst["draw" + (period === "M" ? "Month" : "Year")] =
+ parseInt(select.options[select.selectedIndex].value,10);
+
+ this._notifyChange(inst);
+ this._adjustDate(target);
+ },
+
+ /* Action for selecting a day. */
+ _selectDay: function(id, month, year, td) {
+ var inst,
+ target = $(id);
+
+ if ($(td).hasClass(this._unselectableClass) || this._isDisabledDatepicker(target[0])) {
+ return;
+ }
+
+ inst = this._getInst(target[0]);
+ inst.selectedDay = inst.currentDay = $("a", td).html();
+ inst.selectedMonth = inst.currentMonth = month;
+ inst.selectedYear = inst.currentYear = year;
+ this._selectDate(id, this._formatDate(inst,
+ inst.currentDay, inst.currentMonth, inst.currentYear));
+ },
+
+ /* Erase the input field and hide the date picker. */
+ _clearDate: function(id) {
+ var target = $(id);
+ this._selectDate(target, "");
+ },
+
+ /* Update the input field with the selected date. */
+ _selectDate: function(id, dateStr) {
+ var onSelect,
+ target = $(id),
+ inst = this._getInst(target[0]);
+
+ dateStr = (dateStr != null ? dateStr : this._formatDate(inst));
+ if (inst.input) {
+ inst.input.val(dateStr);
+ }
+ this._updateAlternate(inst);
+
+ onSelect = this._get(inst, "onSelect");
+ if (onSelect) {
+ onSelect.apply((inst.input ? inst.input[0] : null), [dateStr, inst]); // trigger custom callback
+ } else if (inst.input) {
+ inst.input.trigger("change"); // fire the change event
+ }
+
+ if (inst.inline){
+ this._updateDatepicker(inst);
+ } else {
+ this._hideDatepicker();
+ this._lastInput = inst.input[0];
+ if (typeof(inst.input[0]) !== "object") {
+ inst.input.focus(); // restore focus
+ }
+ this._lastInput = null;
+ }
+ },
+
+ /* Update any alternate field to synchronise with the main field. */
+ _updateAlternate: function(inst) {
+ var altFormat, date, dateStr,
+ altField = this._get(inst, "altField");
+
+ if (altField) { // update alternate field too
+ altFormat = this._get(inst, "altFormat") || this._get(inst, "dateFormat");
+ date = this._getDate(inst);
+ dateStr = this.formatDate(altFormat, date, this._getFormatConfig(inst));
+ $(altField).each(function() { $(this).val(dateStr); });
+ }
+ },
+
+ /* Set as beforeShowDay function to prevent selection of weekends.
+ * @param date Date - the date to customise
+ * @return [boolean, string] - is this date selectable?, what is its CSS class?
+ */
+ noWeekends: function(date) {
+ var day = date.getDay();
+ return [(day > 0 && day < 6), ""];
+ },
+
+ /* Set as calculateWeek to determine the week of the year based on the ISO 8601 definition.
+ * @param date Date - the date to get the week for
+ * @return number - the number of the week within the year that contains this date
+ */
+ iso8601Week: function(date) {
+ var time,
+ checkDate = new Date(date.getTime());
+
+ // Find Thursday of this week starting on Monday
+ checkDate.setDate(checkDate.getDate() + 4 - (checkDate.getDay() || 7));
+
+ time = checkDate.getTime();
+ checkDate.setMonth(0); // Compare with Jan 1
+ checkDate.setDate(1);
+ return Math.floor(Math.round((time - checkDate) / 86400000) / 7) + 1;
+ },
+
+ /* Parse a string value into a date object.
+ * See formatDate below for the possible formats.
+ *
+ * @param format string - the expected format of the date
+ * @param value string - the date in the above format
+ * @param settings Object - attributes include:
+ * shortYearCutoff number - the cutoff year for determining the century (optional)
+ * dayNamesShort string[7] - abbreviated names of the days from Sunday (optional)
+ * dayNames string[7] - names of the days from Sunday (optional)
+ * monthNamesShort string[12] - abbreviated names of the months (optional)
+ * monthNames string[12] - names of the months (optional)
+ * @return Date - the extracted date value or null if value is blank
+ */
+ parseDate: function (format, value, settings) {
+ if (format == null || value == null) {
+ throw "Invalid arguments";
+ }
+
+ value = (typeof value === "object" ? value.toString() : value + "");
+ if (value === "") {
+ return null;
+ }
+
+ var iFormat, dim, extra,
+ iValue = 0,
+ shortYearCutoffTemp = (settings ? settings.shortYearCutoff : null) || this._defaults.shortYearCutoff,
+ shortYearCutoff = (typeof shortYearCutoffTemp !== "string" ? shortYearCutoffTemp :
+ new this.CDate().getFullYear() % 100 + parseInt(shortYearCutoffTemp, 10)),//[CC]
+ dayNamesShort = (settings ? settings.dayNamesShort : null) || this._defaults.dayNamesShort,
+ dayNames = (settings ? settings.dayNames : null) || this._defaults.dayNames,
+ monthNamesShort = (settings ? settings.monthNamesShort : null) || this._defaults.monthNamesShort,
+ monthNames = (settings ? settings.monthNames : null) || this._defaults.monthNames,
+ year = -1,
+ month = -1,
+ day = -1,
+ doy = -1,
+ literal = false,
+ date,
+ // Check whether a format character is doubled
+ lookAhead = function(match) {
+ var matches = (iFormat + 1 < format.length && format.charAt(iFormat + 1) === match);
+ if (matches) {
+ iFormat++;
+ }
+ return matches;
+ },
+ // Extract a number from the string value
+ getNumber = function(match) {
+ var isDoubled = lookAhead(match),
+ size = (match === "@" ? 14 : (match === "!" ? 20 :
+ (match === "y" && isDoubled ? 4 : (match === "o" ? 3 : 2)))),
+ digits = new RegExp("^\\d{1," + size + "}"),
+ num = value.substring(iValue).match(digits);
+ if (!num) {
+ throw "Missing number at position " + iValue;
+ }
+ iValue += num[0].length;
+ return parseInt(num[0], 10);
+ },
+ // Extract a name from the string value and convert to an index
+ getName = function(match, shortNames, longNames) {
+ var index = -1,
+ names = $.map(lookAhead(match) ? longNames : shortNames, function (v, k) {
+ return [ [k, v] ];
+ }).sort(function (a, b) {
+ return -(a[1].length - b[1].length);
+ });
+
+ $.each(names, function (i, pair) {
+ var name = pair[1];
+ if (value.substr(iValue, name.length).toLowerCase() === name.toLowerCase()) {
+ index = pair[0];
+ iValue += name.length;
+ return false;
+ }
+ });
+ if (index !== -1) {
+ return index + 1;
+ } else {
+ throw "Unknown name at position " + iValue;
+ }
+ },
+ // Confirm that a literal character matches the string value
+ checkLiteral = function() {
+ if (value.charAt(iValue) !== format.charAt(iFormat)) {
+ throw "Unexpected literal at position " + iValue;
+ }
+ iValue++;
+ };
+
+ for (iFormat = 0; iFormat < format.length; iFormat++) {
+ if (literal) {
+ if (format.charAt(iFormat) === "'" && !lookAhead("'")) {
+ literal = false;
+ } else {
+ checkLiteral();
+ }
+ } else {
+ switch (format.charAt(iFormat)) {
+ case "d":
+ day = getNumber("d");
+ break;
+ case "D":
+ getName("D", dayNamesShort, dayNames);
+ break;
+ case "o":
+ doy = getNumber("o");
+ break;
+ case "m":
+ month = getNumber("m");
+ break;
+ case "M":
+ month = getName("M", monthNamesShort, monthNames);
+ break;
+ case "y":
+ year = getNumber("y");
+ break;
+ case "@":
+ date = new this.CDate(getNumber("@"));//[CC]
+ year = date.getFullYear();
+ month = date.getMonth() + 1;
+ day = date.getDate();
+ break;
+ case "!":
+ date = new Date((getNumber("!") - this._ticksTo1970) / 10000);
+ year = date.getFullYear();
+ month = date.getMonth() + 1;
+ day = date.getDate();
+ break;
+ case "'":
+ if (lookAhead("'")){
+ checkLiteral();
+ } else {
+ literal = true;
+ }
+ break;
+ default:
+ checkLiteral();
+ }
+ }
+ }
+
+ if (iValue < value.length){
+ extra = value.substr(iValue);
+ if (!/^\s+/.test(extra)) {
+ throw "Extra/unparsed characters found in date: " + extra;
+ }
+ }
+
+ if (year === -1) {
+ year = new this.CDate().getFullYear();//[CC]
+ } else if (year < 100) {
+ year += new this.CDate().getFullYear() - new this.CDate().getFullYear() % 100 +
+ (year <= shortYearCutoff ? 0 : -100);//[CC]
+ }
+
+ if (doy > -1) {
+ month = 1;
+ day = doy;
+ do {
+ dim = this._getDaysInMonth(year, month - 1);
+ if (day <= dim) {
+ break;
+ }
+ month++;
+ day -= dim;
+ } while (true);
+ }
+
+ date = this._daylightSavingAdjust(new this.CDate(year, month - 1, day));//[CC]
+ if (date.getFullYear() !== year || date.getMonth() + 1 !== month || date.getDate() !== day) {
+ throw "Invalid date"; // E.g. 31/02/00
+ }
+ return date;
+ },
+
+ /* Standard date formats. */
+ ATOM: "yy-mm-dd", // RFC 3339 (ISO 8601)
+ COOKIE: "D, dd M yy",
+ ISO_8601: "yy-mm-dd",
+ RFC_822: "D, d M y",
+ RFC_850: "DD, dd-M-y",
+ RFC_1036: "D, d M y",
+ RFC_1123: "D, d M yy",
+ RFC_2822: "D, d M yy",
+ RSS: "D, d M y", // RFC 822
+ TICKS: "!",
+ TIMESTAMP: "@",
+ W3C: "yy-mm-dd", // ISO 8601
+
+ _ticksTo1970: (((1970 - 1) * 365 + Math.floor(1970 / 4) - Math.floor(1970 / 100) +
+ Math.floor(1970 / 400)) * 24 * 60 * 60 * 10000000),
+
+ /* Format a date object into a string value.
+ * The format can be combinations of the following:
+ * d - day of month (no leading zero)
+ * dd - day of month (two digit)
+ * o - day of year (no leading zeros)
+ * oo - day of year (three digit)
+ * D - day name short
+ * DD - day name long
+ * m - month of year (no leading zero)
+ * mm - month of year (two digit)
+ * M - month name short
+ * MM - month name long
+ * y - year (two digit)
+ * yy - year (four digit)
+ * @ - Unix timestamp (ms since 01/01/1970)
+ * ! - Windows ticks (100ns since 01/01/0001)
+ * "..." - literal text
+ * '' - single quote
+ *
+ * @param format string - the desired format of the date
+ * @param date Date - the date value to format
+ * @param settings Object - attributes include:
+ * dayNamesShort string[7] - abbreviated names of the days from Sunday (optional)
+ * dayNames string[7] - names of the days from Sunday (optional)
+ * monthNamesShort string[12] - abbreviated names of the months (optional)
+ * monthNames string[12] - names of the months (optional)
+ * @return string - the date in the above format
+ */
+ formatDate: function (format, date, settings) {
+ if (!date) {
+ return "";
+ }
+
+ var iFormat,
+ dayNamesShort = (settings ? settings.dayNamesShort : null) || this._defaults.dayNamesShort,
+ dayNames = (settings ? settings.dayNames : null) || this._defaults.dayNames,
+ monthNamesShort = (settings ? settings.monthNamesShort : null) || this._defaults.monthNamesShort,
+ monthNames = (settings ? settings.monthNames : null) || this._defaults.monthNames,
+ // Check whether a format character is doubled
+ lookAhead = function(match) {
+ var matches = (iFormat + 1 < format.length && format.charAt(iFormat + 1) === match);
+ if (matches) {
+ iFormat++;
+ }
+ return matches;
+ },
+ // Format a number, with leading zero if necessary
+ formatNumber = function(match, value, len) {
+ var num = "" + value;
+ if (lookAhead(match)) {
+ while (num.length < len) {
+ num = "0" + num;
+ }
+ }
+ return num;
+ },
+ // Format a name, short or long as requested
+ formatName = function(match, value, shortNames, longNames) {
+ return (lookAhead(match) ? longNames[value] : shortNames[value]);
+ },
+ output = "",
+ literal = false;
+
+ if (date) {
+ for (iFormat = 0; iFormat < format.length; iFormat++) {
+ if (literal) {
+ if (format.charAt(iFormat) === "'" && !lookAhead("'")) {
+ literal = false;
+ } else {
+ output += format.charAt(iFormat);
+ }
+ } else {
+ switch (format.charAt(iFormat)) {
+ case "d":
+ output += formatNumber("d", date.getDate(), 2);
+ break;
+ case "D":
+ output += formatName("D", date.getDay(), dayNamesShort, dayNames);
+ break;
+ case "o":
+ output += formatNumber("o",
+ Math.round((new Date(date.getFullYear(), date.getMonth(), date.getDate()).getTime() - new Date(date.getFullYear(), 0, 0).getTime()) / 86400000), 3);
+ break;
+ case "m":
+ output += formatNumber("m", date.getMonth() + 1, 2);
+ break;
+ case "M":
+ output += formatName("M", date.getMonth(), monthNamesShort, monthNames);
+ break;
+ case "y":
+ output += (lookAhead("y") ? date.getFullYear() :
+ (date.getYear() % 100 < 10 ? "0" : "") + date.getYear() % 100);
+ break;
+ case "@":
+ output += date.getTime();
+ break;
+ case "!":
+ output += date.getTime() * 10000 + this._ticksTo1970;
+ break;
+ case "'":
+ if (lookAhead("'")) {
+ output += "'";
+ } else {
+ literal = true;
+ }
+ break;
+ default:
+ output += format.charAt(iFormat);
+ }
+ }
+ }
+ }
+ return output;
+ },
+
+ /* Extract all possible characters from the date format. */
+ _possibleChars: function (format) {
+ var iFormat,
+ chars = "",
+ literal = false,
+ // Check whether a format character is doubled
+ lookAhead = function(match) {
+ var matches = (iFormat + 1 < format.length && format.charAt(iFormat + 1) === match);
+ if (matches) {
+ iFormat++;
+ }
+ return matches;
+ };
+
+ for (iFormat = 0; iFormat < format.length; iFormat++) {
+ if (literal) {
+ if (format.charAt(iFormat) === "'" && !lookAhead("'")) {
+ literal = false;
+ } else {
+ chars += format.charAt(iFormat);
+ }
+ } else {
+ switch (format.charAt(iFormat)) {
+ case "d": case "m": case "y": case "@":
+ chars += "0123456789";
+ break;
+ case "D": case "M":
+ return null; // Accept anything
+ case "'":
+ if (lookAhead("'")) {
+ chars += "'";
+ } else {
+ literal = true;
+ }
+ break;
+ default:
+ chars += format.charAt(iFormat);
+ }
+ }
+ }
+ return chars;
+ },
+
+ /* Get a setting value, defaulting if necessary. */
+ _get: function(inst, name) {
+ return inst.settings[name] !== undefined ?
+ inst.settings[name] : this._defaults[name];
+ },
+
+ /* Parse existing date and initialise date picker. */
+ _setDateFromField: function(inst, noDefault) {
+ if (inst.input.val() === inst.lastVal) {
+ return;
+ }
+
+ var dateFormat = this._get(inst, "dateFormat"),
+ dates = inst.lastVal = inst.input ? inst.input.val() : null,
+ defaultDate = this._getDefaultDate(inst),
+ date = defaultDate,
+ settings = this._getFormatConfig(inst);
+
+ try {
+ date = this.parseDate(dateFormat, dates, settings) || defaultDate;
+ } catch (event) {
+ dates = (noDefault ? "" : dates);
+ }
+ inst.selectedDay = date.getDate();
+ inst.drawMonth = inst.selectedMonth = date.getMonth();
+ inst.drawYear = inst.selectedYear = date.getFullYear();
+ inst.currentDay = (dates ? date.getDate() : 0);
+ inst.currentMonth = (dates ? date.getMonth() : 0);
+ inst.currentYear = (dates ? date.getFullYear() : 0);
+ this._adjustInstDate(inst);
+ },
+
+ /* Retrieve the default date shown on opening. */
+ _getDefaultDate: function(inst) {
+ this.CDate = this._get(inst, 'calendar');//[CC]
+ return this._restrictMinMax(inst,
+ this._determineDate(inst, this._get(inst, "defaultDate"), new this.CDate()));//[CC]
+ },
+
+ /* A date may be specified as an exact value or a relative one. */
+ _determineDate: function(inst, date, defaultDate) {
+ var offsetNumeric = function(offset) {
+ var Date = this.CDate;//[CC]
+ date.setDate(date.getDate() + offset);
+ return date;
+ },
+ offsetString = function(offset) {
+ try {
+ return $.datepicker.parseDate($.datepicker._get(inst, "dateFormat"),
+ offset, $.datepicker._getFormatConfig(inst));
+ }
+ catch (e) {
+ // Ignore
+ }
+
+ var date = (offset.toLowerCase().match(/^c/) ?
+ $.datepicker._getDate(inst) : null) || new Date(),
+ year = date.getFullYear(),
+ month = date.getMonth(),
+ day = date.getDate(),
+ pattern = /([+\-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g,
+ matches = pattern.exec(offset);
+
+ while (matches) {
+ switch (matches[2] || "d") {
+ case "d" : case "D" :
+ day += parseInt(matches[1],10); break;
+ case "w" : case "W" :
+ day += parseInt(matches[1],10) * 7; break;
+ case "m" : case "M" :
+ month += parseInt(matches[1],10);
+ day = Math.min(day, $.datepicker._getDaysInMonth(year, month));
+ break;
+ case "y": case "Y" :
+ year += parseInt(matches[1],10);
+ day = Math.min(day, $.datepicker._getDaysInMonth(year, month));
+ break;
+ }
+ matches = pattern.exec(offset);
+ }
+ return new Date(year, month, day);
+ },
+ newDate = (date == null || date === "" ? defaultDate : (typeof date === "string" ? offsetString(date) :
+ (typeof date === "number" ? (isNaN(date) ? defaultDate : offsetNumeric(date)) : new Date(date.getTime()))));
+
+ newDate = (newDate && newDate.toString() === "Invalid Date" ? defaultDate : newDate);
+ if (newDate) {
+ newDate.setHours(0);
+ newDate.setMinutes(0);
+ newDate.setSeconds(0);
+ newDate.setMilliseconds(0);
+ }
+ return this._daylightSavingAdjust(newDate);
+ },
+
+ /* Handle switch to/from daylight saving.
+ * Hours may be non-zero on daylight saving cut-over:
+ * > 12 when midnight changeover, but then cannot generate
+ * midnight datetime, so jump to 1AM, otherwise reset.
+ * @param date (Date) the date to check
+ * @return (Date) the corrected date
+ */
+ _daylightSavingAdjust: function(date) {
+ if (!date) {
+ return null;
+ }
+ date.setHours(date.getHours() > 12 ? date.getHours() + 2 : 0);
+ return date;
+ },
+
+ /* Set the date(s) directly. */
+ _setDate: function(inst, date, noChange) {
+ this.CDate = this._get(inst, 'calendar');//[CC]
+ var clear = !date,
+ origMonth = inst.selectedMonth,
+ origYear = inst.selectedYear,
+
+ newDate = this._restrictMinMax(inst, this._determineDate(inst, date, new this.CDate()));//[CC]
+
+ inst.selectedDay = inst.currentDay = newDate.getDate();
+ inst.drawMonth = inst.selectedMonth = inst.currentMonth = newDate.getMonth();
+ inst.drawYear = inst.selectedYear = inst.currentYear = newDate.getFullYear();
+ if ((origMonth !== inst.selectedMonth || origYear !== inst.selectedYear) && !noChange) {
+ this._notifyChange(inst);
+ }
+ this._adjustInstDate(inst);
+ if (inst.input) {
+ inst.input.val(clear ? "" : this._formatDate(inst));
+ }
+ },
+
+ /* Retrieve the date(s) directly. */
+ _getDate: function(inst) {
+ this.CDate = this._get(inst, 'calendar');//[CC]
+ var startDate = (!inst.currentYear || (inst.input && inst.input.val() === "") ? null :
+ this._daylightSavingAdjust(new this.CDate(//[CC]
+ inst.currentYear, inst.currentMonth, inst.currentDay)));
+ return startDate;
+ },
+
+ /* Attach the onxxx handlers. These are declared statically so
+ * they work with static code transformers like Caja.
+ */
+ _attachHandlers: function(inst) {
+ var stepMonths = this._get(inst, "stepMonths"),
+ id = "#" + inst.id.replace( /\\\\/g, "\\" );
+ inst.dpDiv.find("[data-handler]").map(function () {
+ var handler = {
+ prev: function () {
+ $.datepicker._adjustDate(id, -stepMonths, "M");
+ },
+ next: function () {
+ $.datepicker._adjustDate(id, +stepMonths, "M");
+ },
+ hide: function () {
+ $.datepicker._hideDatepicker();
+ },
+ today: function () {
+ $.datepicker._gotoToday(id);
+ },
+ selectDay: function () {
+ $.datepicker._selectDay(id, +this.getAttribute("data-month"), +this.getAttribute("data-year"), this);
+ return false;
+ },
+ selectMonth: function () {
+ $.datepicker._selectMonthYear(id, this, "M");
+ return false;
+ },
+ selectYear: function () {
+ $.datepicker._selectMonthYear(id, this, "Y");
+ return false;
+ }
+ };
+ $(this).bind(this.getAttribute("data-event"), handler[this.getAttribute("data-handler")]);
+ });
+ },
+
+ /* Generate the HTML for the current state of the date picker. */
+ _generateHTML: function(inst) {
+ var today = new this.CDate();//[CC]
+ var maxDraw, prevText, prev, nextText, next, currentText, gotoDate,
+ controls, buttonPanel, firstDay, showWeek, dayNames, dayNamesMin,
+ monthNames, monthNamesShort, beforeShowDay, showOtherMonths,
+ selectOtherMonths, defaultDate, html, dow, row, group, col, selectedDate,
+ cornerClass, calender, thead, day, daysInMonth, leadDays, curRows, numRows,
+ printDate, dRow, tbody, daySettings, otherMonth, unselectable,
+ tempDate = new Date(),
+ today = this._daylightSavingAdjust(
+ new this.CDate(tempDate.getFullYear(), tempDate.getMonth(), tempDate.getDate())), // clear time//[CC]
+ isRTL = this._get(inst, "isRTL"),
+ showButtonPanel = this._get(inst, "showButtonPanel"),
+ hideIfNoPrevNext = this._get(inst, "hideIfNoPrevNext"),
+ navigationAsDateFormat = this._get(inst, "navigationAsDateFormat"),
+ numMonths = this._getNumberOfMonths(inst),
+ showCurrentAtPos = this._get(inst, "showCurrentAtPos"),
+ stepMonths = this._get(inst, "stepMonths"),
+ isMultiMonth = (numMonths[0] !== 1 || numMonths[1] !== 1),
+ currentDate = this._daylightSavingAdjust((!inst.currentDay ? new Date(9999, 9, 9) :
+ new this.CDate(inst.currentYear, inst.currentMonth, inst.currentDay))),//[CC]
+ minDate = this._getMinMaxDate(inst, "min"),
+ maxDate = this._getMinMaxDate(inst, "max"),
+ drawMonth = inst.drawMonth - showCurrentAtPos,
+ drawYear = inst.drawYear;
+
+ if (drawMonth < 0) {
+ drawMonth += 12;
+ drawYear--;
+ }
+ if (maxDate) {
+ maxDraw = this._daylightSavingAdjust(new this.CDate(maxDate.getFullYear(),//[CC]
+ maxDate.getMonth() - (numMonths[0] * numMonths[1]) + 1, maxDate.getDate()));
+ maxDraw = (minDate && maxDraw < minDate ? minDate : maxDraw);
+ while (this._daylightSavingAdjust(new this.CDate(drawYear, drawMonth, 1)) > maxDraw) {//[CC]
+ drawMonth--;
+ if (drawMonth < 0) {
+ drawMonth = 11;
+ drawYear--;
+ }
+ }
+ }
+ inst.drawMonth = drawMonth;
+ inst.drawYear = drawYear;
+
+ prevText = this._get(inst, "prevText");
+ prevText = (!navigationAsDateFormat ? prevText : this.formatDate(prevText,
+ this._daylightSavingAdjust(new this.CDate(drawYear, drawMonth - stepMonths, 1)),//[CC]
+ this._getFormatConfig(inst)));
+
+ prev = (this._canAdjustMonth(inst, -1, drawYear, drawMonth) ?
+ " " + prevText + " " :
+ (hideIfNoPrevNext ? "" : "
" + prevText + " "));//[CC]: direction:ltr
+
+ nextText = this._get(inst, "nextText");
+ nextText = (!navigationAsDateFormat ? nextText : this.formatDate(nextText,
+ this._daylightSavingAdjust(new this.CDate(drawYear, drawMonth + stepMonths, 1)),//[CC]
+ this._getFormatConfig(inst)));
+
+ next = (this._canAdjustMonth(inst, +1, drawYear, drawMonth) ?
+ "
" + nextText + " " :
+ (hideIfNoPrevNext ? "" : "
" + nextText + " "));
+
+ currentText = this._get(inst, "currentText");
+ gotoDate = (this._get(inst, "gotoCurrent") && inst.currentDay ? currentDate : today);
+ currentText = (!navigationAsDateFormat ? currentText :
+ this.formatDate(currentText, gotoDate, this._getFormatConfig(inst)));
+
+ controls = (!inst.inline ? "
" +
+ this._get(inst, "closeText") + " " : "");
+
+ buttonPanel = (showButtonPanel) ? "
" + (isRTL ? controls : "") +
+ (this._isInRange(inst, gotoDate) ? "" + currentText + " " : "") + (isRTL ? "" : controls) + "
" : "";
+
+ firstDay = parseInt(this._get(inst, "firstDay"),10);
+ firstDay = (isNaN(firstDay) ? 0 : firstDay);
+
+ showWeek = this._get(inst, "showWeek");
+ dayNames = this._get(inst, "dayNames");
+ dayNamesMin = this._get(inst, "dayNamesMin");
+ monthNames = this._get(inst, "monthNames");
+ monthNamesShort = this._get(inst, "monthNamesShort");
+ beforeShowDay = this._get(inst, "beforeShowDay");
+ showOtherMonths = this._get(inst, "showOtherMonths");
+ selectOtherMonths = this._get(inst, "selectOtherMonths");
+ defaultDate = this._getDefaultDate(inst);
+ html = "";
+ dow;
+ for (row = 0; row < numMonths[0]; row++) {
+ group = "";
+ this.maxRows = 4;
+ for (col = 0; col < numMonths[1]; col++) {
+ selectedDate = this._daylightSavingAdjust(new this.CDate(drawYear, drawMonth, inst.selectedDay));//[CC]
+ cornerClass = " ui-corner-all";
+ calender = "";
+ if (isMultiMonth) {
+ calender += "
";
+ }
+ calender += "
" +
+ "";
+ thead = (showWeek ? "" + this._get(inst, "weekHeader") + " " : "");
+ for (dow = 0; dow < 7; dow++) { // days of the week
+ day = (dow + firstDay) % 7;
+ thead += "= 5 ? " class='ui-datepicker-week-end'" : "") + ">" +
+ "" + dayNamesMin[day] + " ";
+ }
+ calender += thead + " ";
+ daysInMonth = this._getDaysInMonth(drawYear, drawMonth);
+ if (drawYear === inst.selectedYear && drawMonth === inst.selectedMonth) {
+ inst.selectedDay = Math.min(inst.selectedDay, daysInMonth);
+ }
+ leadDays = (this._getFirstDayOfMonth(drawYear, drawMonth) - firstDay + 7) % 7;
+ curRows = Math.ceil((leadDays + daysInMonth) / 7); // calculate the number of rows to generate
+ numRows = (isMultiMonth ? this.maxRows > curRows ? this.maxRows : curRows : curRows); //If multiple months, use the higher number of rows (see #7043)
+ this.maxRows = numRows;
+ printDate = this._daylightSavingAdjust(new this.CDate(drawYear, drawMonth, 1 - leadDays));//[CC]
+ for (dRow = 0; dRow < numRows; dRow++) { // create date picker rows
+ calender += "";
+ tbody = (!showWeek ? "" : "" +
+ this._get(inst, "calculateWeek")(printDate) + " ");
+ for (dow = 0; dow < 7; dow++) { // create date picker days
+ daySettings = (beforeShowDay ?
+ beforeShowDay.apply((inst.input ? inst.input[0] : null), [printDate]) : [true, ""]);
+ otherMonth = (printDate.getMonth() !== drawMonth);
+ var unselectable = (otherMonth && !selectOtherMonths) || !daySettings[0] ||
+ ((minDate && this._compareDate(printDate, '<', minDate)) || (maxDate && this._compareDate(printDate, '>', maxDate)));//[CC]
+ tbody += "" + // actions
+ (otherMonth && !showOtherMonths ? " " : // display for other months
+ (unselectable ? "" + printDate.getDate() + " " : "" + printDate.getDate() + " ")) + " "; // display selectable date
+ printDate.setDate(printDate.getDate() + 1);
+ printDate = this._daylightSavingAdjust(printDate);
+ }
+ calender += tbody + " ";
+ }
+ drawMonth++;
+ if (drawMonth > 11) {
+ drawMonth = 0;
+ drawYear++;
+ }
+ calender += "
" + (isMultiMonth ? "
" +
+ ((numMonths[0] > 0 && col === numMonths[1]-1) ? "
" : "") : "");
+ group += calender;
+ }
+ html += group;
+ }
+ html += buttonPanel;
+ inst._keyEvent = false;
+ return html;
+ },
+
+ /* Generate the month and year header. */
+ _generateMonthYearHeader: function(inst, drawMonth, drawYear, minDate, maxDate,
+ secondary, monthNames, monthNamesShort) {
+
+ var inMinYear, inMaxYear, month, years, thisYear, determineYear, year, endYear,
+ changeMonth = this._get(inst, "changeMonth"),
+ changeYear = this._get(inst, "changeYear"),
+ showMonthAfterYear = this._get(inst, "showMonthAfterYear"),
+ html = "
",
+ monthHtml = "";
+
+ // month selection
+ if (secondary || !changeMonth) {
+ monthHtml += "" + monthNames[drawMonth] + " ";
+ } else {
+ inMinYear = (minDate && minDate.getFullYear() === drawYear);
+ inMaxYear = (maxDate && maxDate.getFullYear() === drawYear);
+ monthHtml += "";
+ for ( month = 0; month < 12; month++) {
+ if ((!inMinYear || month >= minDate.getMonth()) && (!inMaxYear || month <= maxDate.getMonth())) {
+ monthHtml += "" + monthNamesShort[month] + " ";
+ }
+ }
+ monthHtml += " ";
+ }
+
+ if (!showMonthAfterYear) {
+ html += monthHtml + (secondary || !(changeMonth && changeYear) ? " " : "");
+ }
+
+ // year selection
+ if ( !inst.yearshtml ) {
+ inst.yearshtml = "";
+ if (secondary || !changeYear) {
+ html += "" + drawYear + " ";
+ } else {
+ // determine range of years to display
+ years = this._get(inst, "yearRange").split(":");
+ thisYear = new this.CDate().getFullYear();//[CC]
+ determineYear = function(value) {
+ var year = (value.match(/c[+\-].*/) ? drawYear + parseInt(value.substring(1), 10) :
+ (value.match(/[+\-].*/) ? thisYear + parseInt(value, 10) :
+ parseInt(value, 10)));
+ return (isNaN(year) ? thisYear : year);
+ };
+ year = determineYear(years[0]);
+ endYear = Math.max(year, determineYear(years[1] || ""));
+ year = (minDate ? Math.max(year, minDate.getFullYear()) : year);
+ endYear = (maxDate ? Math.min(endYear, maxDate.getFullYear()) : endYear);
+ inst.yearshtml += "";
+ for (; year <= endYear; year++) {
+ inst.yearshtml += "" + year + " ";
+ }
+ inst.yearshtml += " ";
+
+ html += inst.yearshtml;
+ inst.yearshtml = null;
+ }
+ }
+
+ html += this._get(inst, "yearSuffix");
+ if (showMonthAfterYear) {
+ html += (secondary || !(changeMonth && changeYear) ? " " : "") + monthHtml;
+ }
+ html += "
"; // Close datepicker_header
+ return html;
+ },
+
+ /* Adjust one of the date sub-fields. */
+ _adjustInstDate: function(inst, offset, period) {
+ var year = inst.drawYear + (period === "Y" ? offset : 0),
+ month = inst.drawMonth + (period === "M" ? offset : 0),
+ day = Math.min(inst.selectedDay, this._getDaysInMonth(year, month)) + (period === "D" ? offset : 0),
+ date = this._restrictMinMax(inst, this._daylightSavingAdjust(new this.CDate(year, month, day)));//[CC]
+
+ inst.selectedDay = date.getDate();
+ inst.drawMonth = inst.selectedMonth = date.getMonth();
+ inst.drawYear = inst.selectedYear = date.getFullYear();
+ if (period === "M" || period === "Y") {
+ this._notifyChange(inst);
+ }
+ },
+
+ /* Ensure a date is within any min/max bounds. */
+ _restrictMinMax: function(inst, date) {
+ var minDate = this._getMinMaxDate(inst, "min"),
+ maxDate = this._getMinMaxDate(inst, "max"),
+ newDate = (minDate && this._compareDate(date, '<', minDate)) ? minDate : date;//[CC]
+ return (maxDate && this._compareDate(newDate, '>', maxDate)) ? maxDate : newDate;//[CC]
+ },
+
+ /* Notify change of month/year. */
+ _notifyChange: function(inst) {
+ var onChange = this._get(inst, "onChangeMonthYear");
+ if (onChange) {
+ onChange.apply((inst.input ? inst.input[0] : null),
+ [inst.selectedYear, inst.selectedMonth + 1, inst]);
+ }
+ },
+
+ /* Determine the number of months to show. */
+ _getNumberOfMonths: function(inst) {
+ var numMonths = this._get(inst, "numberOfMonths");
+ return (numMonths == null ? [1, 1] : (typeof numMonths === "number" ? [1, numMonths] : numMonths));
+ },
+
+ /* Determine the current maximum date - ensure no time components are set. */
+ _getMinMaxDate: function(inst, minMax) {
+ return this._determineDate(inst, this._get(inst, minMax + "Date"), null);
+ },
+
+ /* Find the number of days in a given month. */
+ _getDaysInMonth: function(year, month) {
+ return 32 - this._daylightSavingAdjust(new this.CDate(year, month, 32)).getDate();//[CC]
+ },
+
+ /* Find the day of the week of the first of a month. */
+ _getFirstDayOfMonth: function(year, month) {
+ return new this.CDate(year, month, 1).getDay();//[CC]
+ },
+
+ /* Determines if we should allow a "next/prev" month display change. */
+ _canAdjustMonth: function(inst, offset, curYear, curMonth) {
+ var numMonths = this._getNumberOfMonths(inst),
+ date = this._daylightSavingAdjust(new this.CDate(curYear,//[CC]
+ curMonth + (offset < 0 ? offset : numMonths[0] * numMonths[1]), 1));
+
+ if (offset < 0) {
+ date.setDate(this._getDaysInMonth(date.getFullYear(), date.getMonth()));
+ }
+ return this._isInRange(inst, date);
+ },
+
+ /* Is the given date in the accepted range? */
+ _isInRange: function(inst, date) {
+ var yearSplit, currentYear,
+ minDate = this._getMinMaxDate(inst, "min"),
+ maxDate = this._getMinMaxDate(inst, "max"),
+ minYear = null,
+ maxYear = null,
+ years = this._get(inst, "yearRange");
+ if (years){
+ yearSplit = years.split(":");
+ currentYear = new Date().getFullYear();
+ minYear = parseInt(yearSplit[0], 10);
+ maxYear = parseInt(yearSplit[1], 10);
+ if ( yearSplit[0].match(/[+\-].*/) ) {
+ minYear += currentYear;
+ }
+ if ( yearSplit[1].match(/[+\-].*/) ) {
+ maxYear += currentYear;
+ }
+ }
+
+ return ((!minDate || date.getTime() >= minDate.getTime()) &&
+ (!maxDate || date.getTime() <= maxDate.getTime()) &&
+ (!minYear || date.getFullYear() >= minYear) &&
+ (!maxYear || date.getFullYear() <= maxYear));
+ },
+
+ /* Provide the configuration settings for formatting/parsing. */
+ _getFormatConfig: function(inst) {
+ var shortYearCutoff = this._get(inst, "shortYearCutoff");
+ this.CDate = this._get(inst, 'calendar');//[CC]
+ shortYearCutoff = (typeof shortYearCutoff !== "string" ? shortYearCutoff :
+ new this.CDate().getFullYear() % 100 + parseInt(shortYearCutoff, 10));//[CC]
+ return {shortYearCutoff: shortYearCutoff,
+ dayNamesShort: this._get(inst, "dayNamesShort"), dayNames: this._get(inst, "dayNames"),
+ monthNamesShort: this._get(inst, "monthNamesShort"), monthNames: this._get(inst, "monthNames")};
+ },
+
+ /* Format the given date for display. */
+ _formatDate: function(inst, day, month, year) {
+ if (!day) {
+ inst.currentDay = inst.selectedDay;
+ inst.currentMonth = inst.selectedMonth;
+ inst.currentYear = inst.selectedYear;
+ }
+ var date = (day ? (typeof day === "object" ? day :
+ this._daylightSavingAdjust(new this.CDate(year, month, day))) ://[CC]
+ this._daylightSavingAdjust(new this.CDate(inst.currentYear, inst.currentMonth, inst.currentDay)));//[CC]
+ return this.formatDate(this._get(inst, "dateFormat"), date, this._getFormatConfig(inst));
+ },
+ /* [CC]Compare two dates */
+ _compareDate: function(d1, op, d2) {//[CC]
+ if(d1 && d2) {//[CC]
+ if(d1.getGregorianDate) d1 = d1.getGregorianDate();//[CC]
+ if(d2.getGregorianDate) d2 = d2.getGregorianDate();//[CC]
+ if(op == '<') return d1 < d2;//[CC]
+ return d1 > d2;//[CC]
+ } else {//[CC]
+ return null;//[CC]
+ }//[CC]
+ }//[CC]
+});
+
+/*
+ * Bind hover events for datepicker elements.
+ * Done via delegate so the binding only occurs once in the lifetime of the parent div.
+ * Global instActive, set by _updateDatepicker allows the handlers to find their way back to the active picker.
+ */
+function bindHover(dpDiv) {
+ var selector = "button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a";
+ return dpDiv.delegate(selector, "mouseout", function() {
+ $(this).removeClass("ui-state-hover");
+ if (this.className.indexOf("ui-datepicker-prev") !== -1) {
+ $(this).removeClass("ui-datepicker-prev-hover");
+ }
+ if (this.className.indexOf("ui-datepicker-next") !== -1) {
+ $(this).removeClass("ui-datepicker-next-hover");
+ }
+ })
+ .delegate(selector, "mouseover", function(){
+ if (!$.datepicker._isDisabledDatepicker( instActive.inline ? dpDiv.parent()[0] : instActive.input[0])) {
+ $(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover");
+ $(this).addClass("ui-state-hover");
+ if (this.className.indexOf("ui-datepicker-prev") !== -1) {
+ $(this).addClass("ui-datepicker-prev-hover");
+ }
+ if (this.className.indexOf("ui-datepicker-next") !== -1) {
+ $(this).addClass("ui-datepicker-next-hover");
+ }
+ }
+ });
+}
+
+/* jQuery extend now ignores nulls! */
+function extendRemove(target, props) {
+ $.extend(target, props);
+ for (var name in props) {
+ if (props[name] == null) {
+ target[name] = props[name];
+ }
+ }
+ return target;
+}
+
+/* Invoke the datepicker functionality.
+ @param options string - a command, optionally followed by additional parameters or
+ Object - settings for attaching new datepicker functionality
+ @return jQuery object */
+$.fn.datepicker = function(options){
+
+ /* Verify an empty collection wasn't passed - Fixes #6976 */
+ if ( !this.length ) {
+ return this;
+ }
+
+ /* Initialise the date picker. */
+ if (!$.datepicker.initialized) {
+ $(document).mousedown($.datepicker._checkExternalClick);
+ $.datepicker.initialized = true;
+ }
+
+ /* Append datepicker main container to body if not exist. */
+ if ($("#"+$.datepicker._mainDivId).length === 0) {
+ $("body").append($.datepicker.dpDiv);
+ }
+
+ var otherArgs = Array.prototype.slice.call(arguments, 1);
+ if (typeof options === "string" && (options === "isDisabled" || options === "getDate" || options === "widget")) {
+ return $.datepicker["_" + options + "Datepicker"].
+ apply($.datepicker, [this[0]].concat(otherArgs));
+ }
+ if (options === "option" && arguments.length === 2 && typeof arguments[1] === "string") {
+ return $.datepicker["_" + options + "Datepicker"].
+ apply($.datepicker, [this[0]].concat(otherArgs));
+ }
+ return this.each(function() {
+ typeof options === "string" ?
+ $.datepicker["_" + options + "Datepicker"].
+ apply($.datepicker, [this].concat(otherArgs)) :
+ $.datepicker._attachDatepicker(this, options);
+ });
+};
+
+$.datepicker = new Datepicker(); // singleton instance
+$.datepicker.initialized = false;
+$.datepicker.uuid = new Date().getTime();
+$.datepicker.version = "1.10.3";
+
+})(jQuery);
diff --git a/static/admin/jquery.ui.datepicker.jalali/themes/base/images/ui-icons_444444_256x240.png b/static/admin/jquery.ui.datepicker.jalali/themes/base/images/ui-icons_444444_256x240.png
new file mode 100644
index 0000000..19f664d
Binary files /dev/null and b/static/admin/jquery.ui.datepicker.jalali/themes/base/images/ui-icons_444444_256x240.png differ
diff --git a/static/admin/jquery.ui.datepicker.jalali/themes/base/images/ui-icons_555555_256x240.png b/static/admin/jquery.ui.datepicker.jalali/themes/base/images/ui-icons_555555_256x240.png
new file mode 100644
index 0000000..e965f6d
Binary files /dev/null and b/static/admin/jquery.ui.datepicker.jalali/themes/base/images/ui-icons_555555_256x240.png differ
diff --git a/static/admin/jquery.ui.datepicker.jalali/themes/base/images/ui-icons_777620_256x240.png b/static/admin/jquery.ui.datepicker.jalali/themes/base/images/ui-icons_777620_256x240.png
new file mode 100644
index 0000000..9785948
Binary files /dev/null and b/static/admin/jquery.ui.datepicker.jalali/themes/base/images/ui-icons_777620_256x240.png differ
diff --git a/static/admin/jquery.ui.datepicker.jalali/themes/base/images/ui-icons_777777_256x240.png b/static/admin/jquery.ui.datepicker.jalali/themes/base/images/ui-icons_777777_256x240.png
new file mode 100644
index 0000000..323c456
Binary files /dev/null and b/static/admin/jquery.ui.datepicker.jalali/themes/base/images/ui-icons_777777_256x240.png differ
diff --git a/static/admin/jquery.ui.datepicker.jalali/themes/base/images/ui-icons_cc0000_256x240.png b/static/admin/jquery.ui.datepicker.jalali/themes/base/images/ui-icons_cc0000_256x240.png
new file mode 100644
index 0000000..45ac778
Binary files /dev/null and b/static/admin/jquery.ui.datepicker.jalali/themes/base/images/ui-icons_cc0000_256x240.png differ
diff --git a/static/admin/jquery.ui.datepicker.jalali/themes/base/images/ui-icons_ffffff_256x240.png b/static/admin/jquery.ui.datepicker.jalali/themes/base/images/ui-icons_ffffff_256x240.png
new file mode 100644
index 0000000..fe41d2d
Binary files /dev/null and b/static/admin/jquery.ui.datepicker.jalali/themes/base/images/ui-icons_ffffff_256x240.png differ
diff --git a/static/admin/jquery.ui.datepicker.jalali/themes/base/jquery-ui.min.css b/static/admin/jquery.ui.datepicker.jalali/themes/base/jquery-ui.min.css
new file mode 100644
index 0000000..3de9fb5
--- /dev/null
+++ b/static/admin/jquery.ui.datepicker.jalali/themes/base/jquery-ui.min.css
@@ -0,0 +1,7 @@
+/*! jQuery UI - v1.12.1 - 2017-09-11
+* http://jqueryui.com
+* Includes: core.css, datepicker.css, theme.css
+* To view and modify this theme, visit http://jqueryui.com/themeroller/?scope=&folderName=base&cornerRadiusShadow=8px&offsetLeftShadow=0px&offsetTopShadow=0px&thicknessShadow=5px&opacityShadow=30&bgImgOpacityShadow=0&bgTextureShadow=flat&bgColorShadow=666666&opacityOverlay=30&bgImgOpacityOverlay=0&bgTextureOverlay=flat&bgColorOverlay=aaaaaa&iconColorError=cc0000&fcError=5f3f3f&borderColorError=f1a899&bgTextureError=flat&bgColorError=fddfdf&iconColorHighlight=777620&fcHighlight=777620&borderColorHighlight=dad55e&bgTextureHighlight=flat&bgColorHighlight=fffa90&iconColorActive=ffffff&fcActive=ffffff&borderColorActive=003eff&bgTextureActive=flat&bgColorActive=007fff&iconColorHover=555555&fcHover=2b2b2b&borderColorHover=cccccc&bgTextureHover=flat&bgColorHover=ededed&iconColorDefault=777777&fcDefault=454545&borderColorDefault=c5c5c5&bgTextureDefault=flat&bgColorDefault=f6f6f6&iconColorContent=444444&fcContent=333333&borderColorContent=dddddd&bgTextureContent=flat&bgColorContent=ffffff&iconColorHeader=444444&fcHeader=333333&borderColorHeader=dddddd&bgTextureHeader=flat&bgColorHeader=e9e9e9&cornerRadius=3px&fwDefault=normal&fsDefault=1em&ffDefault=Arial%2CHelvetica%2Csans-serif
+* Copyright jQuery Foundation and other contributors; Licensed MIT */
+
+.ui-helper-hidden{display:none}.ui-helper-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.ui-helper-reset{margin:0;padding:0;border:0;outline:0;line-height:1.3;text-decoration:none;font-size:100%;list-style:none}.ui-helper-clearfix:before,.ui-helper-clearfix:after{content:"";display:table;border-collapse:collapse}.ui-helper-clearfix:after{clear:both}.ui-helper-zfix{width:100%;height:100%;top:0;left:0;position:absolute;opacity:0;filter:Alpha(Opacity=0)}.ui-front{z-index:100}.ui-state-disabled{cursor:default!important;pointer-events:none}.ui-icon{display:inline-block;vertical-align:middle;margin-top:-.25em;position:relative;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat}.ui-widget-icon-block{left:50%;margin-left:-8px;display:block}.ui-widget-overlay{position:fixed;top:0;left:0;width:100%;height:100%}.ui-datepicker{width:17em;padding:.2em .2em 0;display:none}.ui-datepicker .ui-datepicker-header{position:relative;padding:.2em 0}.ui-datepicker .ui-datepicker-prev,.ui-datepicker .ui-datepicker-next{position:absolute;top:7px;width:1.8em;height:1.8em}.ui-datepicker .ui-datepicker-prev-hover,.ui-datepicker .ui-datepicker-next-hover{top:6px}.ui-datepicker .ui-datepicker-prev{left:2px}.ui-datepicker .ui-datepicker-next{right:2px}.ui-datepicker .ui-datepicker-prev-hover{left:1px}.ui-datepicker .ui-datepicker-next-hover{right:1px}.ui-datepicker .ui-datepicker-prev span,.ui-datepicker .ui-datepicker-next span{display:block;position:absolute;left:50%;margin-left:-8px;top:50%;margin-top:-8px}.ui-datepicker .ui-datepicker-title{margin:0 2.3em;line-height:1.8em;text-align:center}.ui-datepicker .ui-datepicker-title select{font-size:1em;margin:1px 0}.ui-datepicker select.ui-datepicker-month,.ui-datepicker select.ui-datepicker-year{width:45%}.ui-datepicker table{width:100%;font-size:.9em;border-collapse:collapse;margin:0 0 .4em}.ui-datepicker th{padding:.7em .3em;text-align:center;font-weight:bold;border:0}.ui-datepicker td{border:0;padding:1px}.ui-datepicker td span,.ui-datepicker td a{display:block;padding:.2em;text-align:right;text-decoration:none}.ui-datepicker .ui-datepicker-buttonpane{background-image:none;margin:.7em 0 0 0;padding:0 .2em;border-left:0;border-right:0;border-bottom:0}.ui-datepicker .ui-datepicker-buttonpane button{float:right;margin:.5em .2em .4em;cursor:pointer;padding:.2em .6em .3em .6em;width:auto;overflow:visible}.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current{float:left}.ui-datepicker.ui-datepicker-multi{width:auto}.ui-datepicker-multi .ui-datepicker-group{float:left}.ui-datepicker-multi .ui-datepicker-group table{width:95%;margin:0 auto .4em}.ui-datepicker-multi-2 .ui-datepicker-group{width:50%}.ui-datepicker-multi-3 .ui-datepicker-group{width:33.3%}.ui-datepicker-multi-4 .ui-datepicker-group{width:25%}.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header{border-left-width:0}.ui-datepicker-multi .ui-datepicker-buttonpane{clear:left}.ui-datepicker-row-break{clear:both;width:100%;font-size:0}.ui-datepicker-rtl{direction:rtl}.ui-datepicker-rtl .ui-datepicker-prev{right:2px;left:auto}.ui-datepicker-rtl .ui-datepicker-next{left:2px;right:auto}.ui-datepicker-rtl .ui-datepicker-prev:hover{right:1px;left:auto}.ui-datepicker-rtl .ui-datepicker-next:hover{left:1px;right:auto}.ui-datepicker-rtl .ui-datepicker-buttonpane{clear:right}.ui-datepicker-rtl .ui-datepicker-buttonpane button{float:left}.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current,.ui-datepicker-rtl .ui-datepicker-group{float:right}.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header{border-right-width:0;border-left-width:1px}.ui-datepicker .ui-icon{display:block;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat;left:.5em;top:.3em}.ui-widget{font-family:Arial,Helvetica,sans-serif;font-size:1em}.ui-widget .ui-widget{font-size:1em}.ui-widget input,.ui-widget select,.ui-widget textarea,.ui-widget button{font-family:Arial,Helvetica,sans-serif;font-size:1em}.ui-widget.ui-widget-content{border:1px solid #c5c5c5}.ui-widget-content{border:1px solid #ddd;background:#fff;color:#333}.ui-widget-content a{color:#333}.ui-widget-header{border:1px solid #ddd;background:#e9e9e9;color:#333;font-weight:bold}.ui-widget-header a{color:#333}.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default,.ui-button,html .ui-button.ui-state-disabled:hover,html .ui-button.ui-state-disabled:active{border:1px solid #c5c5c5;background:#f6f6f6;font-weight:normal;color:#454545;text-align:center;}.ui-state-default a,.ui-state-default a:link,.ui-state-default a:visited,a.ui-button,a:link.ui-button,a:visited.ui-button,.ui-button{color:#454545;text-decoration:none}.ui-state-hover,.ui-widget-content .ui-state-hover,.ui-widget-header .ui-state-hover,.ui-state-focus,.ui-widget-content .ui-state-focus,.ui-widget-header .ui-state-focus,.ui-button:hover,.ui-button:focus{border:1px solid #ccc;background:#ededed;font-weight:normal;color:#2b2b2b}.ui-state-hover a,.ui-state-hover a:hover,.ui-state-hover a:link,.ui-state-hover a:visited,.ui-state-focus a,.ui-state-focus a:hover,.ui-state-focus a:link,.ui-state-focus a:visited,a.ui-button:hover,a.ui-button:focus{color:#2b2b2b;text-decoration:none}.ui-visual-focus{box-shadow:0 0 3px 1px rgb(94,158,214)}.ui-state-active,.ui-widget-content .ui-state-active,.ui-widget-header .ui-state-active,a.ui-button:active,.ui-button:active,.ui-button.ui-state-active:hover{border:1px solid #003eff;background:#007fff;font-weight:normal;color:#fff}.ui-icon-background,.ui-state-active .ui-icon-background{border:#003eff;background-color:#fff}.ui-state-active a,.ui-state-active a:link,.ui-state-active a:visited{color:#fff;text-decoration:none}.ui-state-highlight,.ui-widget-content .ui-state-highlight,.ui-widget-header .ui-state-highlight{border:1px solid #dad55e;background:#fffa90;color:#777620}.ui-state-checked{border:1px solid #dad55e;background:#fffa90}.ui-state-highlight a,.ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a{color:#777620}.ui-state-error,.ui-widget-content .ui-state-error,.ui-widget-header .ui-state-error{border:1px solid #f1a899;background:#fddfdf;color:#5f3f3f}.ui-state-error a,.ui-widget-content .ui-state-error a,.ui-widget-header .ui-state-error a{color:#5f3f3f}.ui-state-error-text,.ui-widget-content .ui-state-error-text,.ui-widget-header .ui-state-error-text{color:#5f3f3f}.ui-priority-primary,.ui-widget-content .ui-priority-primary,.ui-widget-header .ui-priority-primary{font-weight:bold}.ui-priority-secondary,.ui-widget-content .ui-priority-secondary,.ui-widget-header .ui-priority-secondary{opacity:.7;filter:Alpha(Opacity=70);font-weight:normal}.ui-state-disabled,.ui-widget-content .ui-state-disabled,.ui-widget-header .ui-state-disabled{opacity:.35;filter:Alpha(Opacity=35);background-image:none}.ui-state-disabled .ui-icon{filter:Alpha(Opacity=35)}.ui-icon{width:16px;height:16px}.ui-icon,.ui-widget-content .ui-icon{background-image:url("images/ui-icons_444444_256x240.png")}.ui-widget-header .ui-icon{background-image:url("images/ui-icons_444444_256x240.png")}.ui-state-hover .ui-icon,.ui-state-focus .ui-icon,.ui-button:hover .ui-icon,.ui-button:focus .ui-icon{background-image:url("images/ui-icons_555555_256x240.png")}.ui-state-active .ui-icon,.ui-button:active .ui-icon{background-image:url("images/ui-icons_ffffff_256x240.png")}.ui-state-highlight .ui-icon,.ui-button .ui-state-highlight.ui-icon{background-image:url("images/ui-icons_777620_256x240.png")}.ui-state-error .ui-icon,.ui-state-error-text .ui-icon{background-image:url("images/ui-icons_cc0000_256x240.png")}.ui-button .ui-icon{background-image:url("images/ui-icons_777777_256x240.png")}.ui-icon-blank{background-position:16px 16px}.ui-icon-caret-1-n{background-position:0 0}.ui-icon-caret-1-ne{background-position:-16px 0}.ui-icon-caret-1-e{background-position:-32px 0}.ui-icon-caret-1-se{background-position:-48px 0}.ui-icon-caret-1-s{background-position:-65px 0}.ui-icon-caret-1-sw{background-position:-80px 0}.ui-icon-caret-1-w{background-position:-96px 0}.ui-icon-caret-1-nw{background-position:-112px 0}.ui-icon-caret-2-n-s{background-position:-128px 0}.ui-icon-caret-2-e-w{background-position:-144px 0}.ui-icon-triangle-1-n{background-position:0 -16px}.ui-icon-triangle-1-ne{background-position:-16px -16px}.ui-icon-triangle-1-e{background-position:-32px -16px}.ui-icon-triangle-1-se{background-position:-48px -16px}.ui-icon-triangle-1-s{background-position:-65px -16px}.ui-icon-triangle-1-sw{background-position:-80px -16px}.ui-icon-triangle-1-w{background-position:-96px -16px}.ui-icon-triangle-1-nw{background-position:-112px -16px}.ui-icon-triangle-2-n-s{background-position:-128px -16px}.ui-icon-triangle-2-e-w{background-position:-144px -16px}.ui-icon-arrow-1-n{background-position:0 -32px}.ui-icon-arrow-1-ne{background-position:-16px -32px}.ui-icon-arrow-1-e{background-position:-32px -32px}.ui-icon-arrow-1-se{background-position:-48px -32px}.ui-icon-arrow-1-s{background-position:-65px -32px}.ui-icon-arrow-1-sw{background-position:-80px -32px}.ui-icon-arrow-1-w{background-position:-96px -32px}.ui-icon-arrow-1-nw{background-position:-112px -32px}.ui-icon-arrow-2-n-s{background-position:-128px -32px}.ui-icon-arrow-2-ne-sw{background-position:-144px -32px}.ui-icon-arrow-2-e-w{background-position:-160px -32px}.ui-icon-arrow-2-se-nw{background-position:-176px -32px}.ui-icon-arrowstop-1-n{background-position:-192px -32px}.ui-icon-arrowstop-1-e{background-position:-208px -32px}.ui-icon-arrowstop-1-s{background-position:-224px -32px}.ui-icon-arrowstop-1-w{background-position:-240px -32px}.ui-icon-arrowthick-1-n{background-position:1px -48px}.ui-icon-arrowthick-1-ne{background-position:-16px -48px}.ui-icon-arrowthick-1-e{background-position:-32px -48px}.ui-icon-arrowthick-1-se{background-position:-48px -48px}.ui-icon-arrowthick-1-s{background-position:-64px -48px}.ui-icon-arrowthick-1-sw{background-position:-80px -48px}.ui-icon-arrowthick-1-w{background-position:-96px -48px}.ui-icon-arrowthick-1-nw{background-position:-112px -48px}.ui-icon-arrowthick-2-n-s{background-position:-128px -48px}.ui-icon-arrowthick-2-ne-sw{background-position:-144px -48px}.ui-icon-arrowthick-2-e-w{background-position:-160px -48px}.ui-icon-arrowthick-2-se-nw{background-position:-176px -48px}.ui-icon-arrowthickstop-1-n{background-position:-192px -48px}.ui-icon-arrowthickstop-1-e{background-position:-208px -48px}.ui-icon-arrowthickstop-1-s{background-position:-224px -48px}.ui-icon-arrowthickstop-1-w{background-position:-240px -48px}.ui-icon-arrowreturnthick-1-w{background-position:0 -64px}.ui-icon-arrowreturnthick-1-n{background-position:-16px -64px}.ui-icon-arrowreturnthick-1-e{background-position:-32px -64px}.ui-icon-arrowreturnthick-1-s{background-position:-48px -64px}.ui-icon-arrowreturn-1-w{background-position:-64px -64px}.ui-icon-arrowreturn-1-n{background-position:-80px -64px}.ui-icon-arrowreturn-1-e{background-position:-96px -64px}.ui-icon-arrowreturn-1-s{background-position:-112px -64px}.ui-icon-arrowrefresh-1-w{background-position:-128px -64px}.ui-icon-arrowrefresh-1-n{background-position:-144px -64px}.ui-icon-arrowrefresh-1-e{background-position:-160px -64px}.ui-icon-arrowrefresh-1-s{background-position:-176px -64px}.ui-icon-arrow-4{background-position:0 -80px}.ui-icon-arrow-4-diag{background-position:-16px -80px}.ui-icon-extlink{background-position:-32px -80px}.ui-icon-newwin{background-position:-48px -80px}.ui-icon-refresh{background-position:-64px -80px}.ui-icon-shuffle{background-position:-80px -80px}.ui-icon-transfer-e-w{background-position:-96px -80px}.ui-icon-transferthick-e-w{background-position:-112px -80px}.ui-icon-folder-collapsed{background-position:0 -96px}.ui-icon-folder-open{background-position:-16px -96px}.ui-icon-document{background-position:-32px -96px}.ui-icon-document-b{background-position:-48px -96px}.ui-icon-note{background-position:-64px -96px}.ui-icon-mail-closed{background-position:-80px -96px}.ui-icon-mail-open{background-position:-96px -96px}.ui-icon-suitcase{background-position:-112px -96px}.ui-icon-comment{background-position:-128px -96px}.ui-icon-person{background-position:-144px -96px}.ui-icon-print{background-position:-160px -96px}.ui-icon-trash{background-position:-176px -96px}.ui-icon-locked{background-position:-192px -96px}.ui-icon-unlocked{background-position:-208px -96px}.ui-icon-bookmark{background-position:-224px -96px}.ui-icon-tag{background-position:-240px -96px}.ui-icon-home{background-position:0 -112px}.ui-icon-flag{background-position:-16px -112px}.ui-icon-calendar{background-position:-32px -112px}.ui-icon-cart{background-position:-48px -112px}.ui-icon-pencil{background-position:-64px -112px}.ui-icon-clock{background-position:-80px -112px}.ui-icon-disk{background-position:-96px -112px}.ui-icon-calculator{background-position:-112px -112px}.ui-icon-zoomin{background-position:-128px -112px}.ui-icon-zoomout{background-position:-144px -112px}.ui-icon-search{background-position:-160px -112px}.ui-icon-wrench{background-position:-176px -112px}.ui-icon-gear{background-position:-192px -112px}.ui-icon-heart{background-position:-208px -112px}.ui-icon-star{background-position:-224px -112px}.ui-icon-link{background-position:-240px -112px}.ui-icon-cancel{background-position:0 -128px}.ui-icon-plus{background-position:-16px -128px}.ui-icon-plusthick{background-position:-32px -128px}.ui-icon-minus{background-position:-48px -128px}.ui-icon-minusthick{background-position:-64px -128px}.ui-icon-close{background-position:-80px -128px}.ui-icon-closethick{background-position:-96px -128px}.ui-icon-key{background-position:-112px -128px}.ui-icon-lightbulb{background-position:-128px -128px}.ui-icon-scissors{background-position:-144px -128px}.ui-icon-clipboard{background-position:-160px -128px}.ui-icon-copy{background-position:-176px -128px}.ui-icon-contact{background-position:-192px -128px}.ui-icon-image{background-position:-208px -128px}.ui-icon-video{background-position:-224px -128px}.ui-icon-script{background-position:-240px -128px}.ui-icon-alert{background-position:0 -144px}.ui-icon-info{background-position:-16px -144px}.ui-icon-notice{background-position:-32px -144px}.ui-icon-help{background-position:-48px -144px}.ui-icon-check{background-position:-64px -144px}.ui-icon-bullet{background-position:-80px -144px}.ui-icon-radio-on{background-position:-96px -144px}.ui-icon-radio-off{background-position:-112px -144px}.ui-icon-pin-w{background-position:-128px -144px}.ui-icon-pin-s{background-position:-144px -144px}.ui-icon-play{background-position:0 -160px}.ui-icon-pause{background-position:-16px -160px}.ui-icon-seek-next{background-position:-32px -160px}.ui-icon-seek-prev{background-position:-48px -160px}.ui-icon-seek-end{background-position:-64px -160px}.ui-icon-seek-start{background-position:-80px -160px}.ui-icon-seek-first{background-position:-80px -160px}.ui-icon-stop{background-position:-96px -160px}.ui-icon-eject{background-position:-112px -160px}.ui-icon-volume-off{background-position:-128px -160px}.ui-icon-volume-on{background-position:-144px -160px}.ui-icon-power{background-position:0 -176px}.ui-icon-signal-diag{background-position:-16px -176px}.ui-icon-signal{background-position:-32px -176px}.ui-icon-battery-0{background-position:-48px -176px}.ui-icon-battery-1{background-position:-64px -176px}.ui-icon-battery-2{background-position:-80px -176px}.ui-icon-battery-3{background-position:-96px -176px}.ui-icon-circle-plus{background-position:0 -192px}.ui-icon-circle-minus{background-position:-16px -192px}.ui-icon-circle-close{background-position:-32px -192px}.ui-icon-circle-triangle-e{background-position:-48px -192px}.ui-icon-circle-triangle-s{background-position:-64px -192px}.ui-icon-circle-triangle-w{background-position:-80px -192px}.ui-icon-circle-triangle-n{background-position:-96px -192px}.ui-icon-circle-arrow-e{background-position:-112px -192px}.ui-icon-circle-arrow-s{background-position:-128px -192px}.ui-icon-circle-arrow-w{background-position:-144px -192px}.ui-icon-circle-arrow-n{background-position:-160px -192px}.ui-icon-circle-zoomin{background-position:-176px -192px}.ui-icon-circle-zoomout{background-position:-192px -192px}.ui-icon-circle-check{background-position:-208px -192px}.ui-icon-circlesmall-plus{background-position:0 -208px}.ui-icon-circlesmall-minus{background-position:-16px -208px}.ui-icon-circlesmall-close{background-position:-32px -208px}.ui-icon-squaresmall-plus{background-position:-48px -208px}.ui-icon-squaresmall-minus{background-position:-64px -208px}.ui-icon-squaresmall-close{background-position:-80px -208px}.ui-icon-grip-dotted-vertical{background-position:0 -224px}.ui-icon-grip-dotted-horizontal{background-position:-16px -224px}.ui-icon-grip-solid-vertical{background-position:-32px -224px}.ui-icon-grip-solid-horizontal{background-position:-48px -224px}.ui-icon-gripsmall-diagonal-se{background-position:-64px -224px}.ui-icon-grip-diagonal-se{background-position:-80px -224px}.ui-corner-all,.ui-corner-top,.ui-corner-left,.ui-corner-tl{border-top-left-radius:3px}.ui-corner-all,.ui-corner-top,.ui-corner-right,.ui-corner-tr{border-top-right-radius:3px}.ui-corner-all,.ui-corner-bottom,.ui-corner-left,.ui-corner-bl{border-bottom-left-radius:3px}.ui-corner-all,.ui-corner-bottom,.ui-corner-right,.ui-corner-br{border-bottom-right-radius:3px}.ui-widget-overlay{background:#aaa;opacity:.3;filter:Alpha(Opacity=30)}.ui-widget-shadow{-webkit-box-shadow:0 0 5px #666;box-shadow:0 0 5px #666} td.ui-datepicker-days-cell-over a.ui-state-default{border:1px solid #dad55e;background-color:#fffa90;color:#777620;}
\ No newline at end of file
diff --git a/static/admin/js/SelectBox.js b/static/admin/js/SelectBox.js
index ace6d9d..3db4ec7 100644
--- a/static/admin/js/SelectBox.js
+++ b/static/admin/js/SelectBox.js
@@ -41,6 +41,10 @@
}
SelectBox.redisplay(id);
},
+ get_hidden_node_count(id) {
+ const cache = SelectBox.cache[id] || [];
+ return cache.filter(node => node.displayed === 0).length;
+ },
delete_from_cache: function(id, value) {
let delete_index = null;
const cache = SelectBox.cache[id];
diff --git a/static/admin/js/SelectFilter2.js b/static/admin/js/SelectFilter2.js
index 194c2db..fc59eba 100644
--- a/static/admin/js/SelectFilter2.js
+++ b/static/admin/js/SelectFilter2.js
@@ -30,6 +30,9 @@ Requires core.js and SelectBox.js.
//
or
const selector_div = quickElement('div', from_box.parentNode);
+ // Make sure the selector div is at the beginning so that the
+ // add link would be displayed to the right of the widget.
+ from_box.parentNode.prepend(selector_div);
selector_div.className = is_stacked ? 'selector stacked' : 'selector';
//
@@ -78,7 +81,7 @@ Requires core.js and SelectBox.js.
remove_link.className = 'selector-remove';
//
- const selector_chosen = quickElement('div', selector_div);
+ const selector_chosen = quickElement('div', selector_div, '', 'id', field_id + '_selector_chosen');
selector_chosen.className = 'selector-chosen';
const title_chosen = quickElement('h2', selector_chosen, interpolate(gettext('Chosen %s') + ' ', [field_name]));
quickElement(
@@ -93,9 +96,30 @@ Requires core.js and SelectBox.js.
[field_name]
)
);
+
+ const filter_selected_p = quickElement('p', selector_chosen, '', 'id', field_id + '_filter_selected');
+ filter_selected_p.className = 'selector-filter';
+
+ const search_filter_selected_label = quickElement('label', filter_selected_p, '', 'for', field_id + '_selected_input');
+
+ quickElement(
+ 'span', search_filter_selected_label, '',
+ 'class', 'help-tooltip search-label-icon',
+ 'title', interpolate(gettext("Type into this box to filter down the list of selected %s."), [field_name])
+ );
+
+ filter_selected_p.appendChild(document.createTextNode(' '));
+
+ const filter_selected_input = quickElement('input', filter_selected_p, '', 'type', 'text', 'placeholder', gettext("Filter"));
+ filter_selected_input.id = field_id + '_selected_input';
const to_box = quickElement('select', selector_chosen, '', 'id', field_id + '_to', 'multiple', '', 'size', from_box.size, 'name', from_box.name);
to_box.className = 'filtered';
+
+ const warning_footer = quickElement('div', selector_chosen, '', 'class', 'list-footer-display');
+ quickElement('span', warning_footer, '', 'id', field_id + '_list-footer-display-text');
+ quickElement('span', warning_footer, ' (click to clear)', 'class', 'list-footer-display__clear');
+
const clear_all = quickElement('a', selector_chosen, gettext('Remove all'), 'title', interpolate(gettext('Click to remove all chosen %s at once.'), [field_name]), 'href', '#', 'id', field_id + '_remove_all_link');
clear_all.className = 'selector-clearall';
@@ -106,6 +130,8 @@ Requires core.js and SelectBox.js.
if (elem.classList.contains('active')) {
move_func(from, to);
SelectFilter.refresh_icons(field_id);
+ SelectFilter.refresh_filtered_selects(field_id);
+ SelectFilter.refresh_filtered_warning(field_id);
}
e.preventDefault();
};
@@ -121,14 +147,29 @@ Requires core.js and SelectBox.js.
clear_all.addEventListener('click', function(e) {
move_selection(e, this, SelectBox.move_all, field_id + '_to', field_id + '_from');
});
+ warning_footer.addEventListener('click', function(e) {
+ filter_selected_input.value = '';
+ SelectBox.filter(field_id + '_to', '');
+ SelectFilter.refresh_filtered_warning(field_id);
+ SelectFilter.refresh_icons(field_id);
+ });
filter_input.addEventListener('keypress', function(e) {
- SelectFilter.filter_key_press(e, field_id);
+ SelectFilter.filter_key_press(e, field_id, '_from', '_to');
});
filter_input.addEventListener('keyup', function(e) {
- SelectFilter.filter_key_up(e, field_id);
+ SelectFilter.filter_key_up(e, field_id, '_from');
});
filter_input.addEventListener('keydown', function(e) {
- SelectFilter.filter_key_down(e, field_id);
+ SelectFilter.filter_key_down(e, field_id, '_from', '_to');
+ });
+ filter_selected_input.addEventListener('keypress', function(e) {
+ SelectFilter.filter_key_press(e, field_id, '_to', '_from');
+ });
+ filter_selected_input.addEventListener('keyup', function(e) {
+ SelectFilter.filter_key_up(e, field_id, '_to', '_selected_input');
+ });
+ filter_selected_input.addEventListener('keydown', function(e) {
+ SelectFilter.filter_key_down(e, field_id, '_to', '_from');
});
selector_div.addEventListener('change', function(e) {
if (e.target.tagName === 'SELECT') {
@@ -146,6 +187,7 @@ Requires core.js and SelectBox.js.
}
});
from_box.closest('form').addEventListener('submit', function() {
+ SelectBox.filter(field_id + '_to', '');
SelectBox.select_all(field_id + '_to');
});
SelectBox.init(field_id + '_from');
@@ -163,6 +205,24 @@ Requires core.js and SelectBox.js.
field.required = false;
return any_selected;
},
+ refresh_filtered_warning: function(field_id) {
+ const count = SelectBox.get_hidden_node_count(field_id + '_to');
+ const selector = document.getElementById(field_id + '_selector_chosen');
+ const warning = document.getElementById(field_id + '_list-footer-display-text');
+ selector.className = selector.className.replace('selector-chosen--with-filtered', '');
+ warning.textContent = interpolate(ngettext(
+ '%s selected option not visible',
+ '%s selected options not visible',
+ count
+ ), [count]);
+ if(count > 0) {
+ selector.className += ' selector-chosen--with-filtered';
+ }
+ },
+ refresh_filtered_selects: function(field_id) {
+ SelectBox.filter(field_id + '_from', document.getElementById(field_id + "_input").value);
+ SelectBox.filter(field_id + '_to', document.getElementById(field_id + "_selected_input").value);
+ },
refresh_icons: function(field_id) {
const from = document.getElementById(field_id + '_from');
const to = document.getElementById(field_id + '_to');
@@ -172,39 +232,47 @@ Requires core.js and SelectBox.js.
// Active if the corresponding box isn't empty
document.getElementById(field_id + '_add_all_link').classList.toggle('active', from.querySelector('option'));
document.getElementById(field_id + '_remove_all_link').classList.toggle('active', to.querySelector('option'));
+ SelectFilter.refresh_filtered_warning(field_id);
},
- filter_key_press: function(event, field_id) {
- const from = document.getElementById(field_id + '_from');
+ filter_key_press: function(event, field_id, source, target) {
+ const source_box = document.getElementById(field_id + source);
// don't submit form if user pressed Enter
if ((event.which && event.which === 13) || (event.keyCode && event.keyCode === 13)) {
- from.selectedIndex = 0;
- SelectBox.move(field_id + '_from', field_id + '_to');
- from.selectedIndex = 0;
+ source_box.selectedIndex = 0;
+ SelectBox.move(field_id + source, field_id + target);
+ source_box.selectedIndex = 0;
event.preventDefault();
}
},
- filter_key_up: function(event, field_id) {
- const from = document.getElementById(field_id + '_from');
- const temp = from.selectedIndex;
- SelectBox.filter(field_id + '_from', document.getElementById(field_id + '_input').value);
- from.selectedIndex = temp;
+ filter_key_up: function(event, field_id, source, filter_input) {
+ const input = filter_input || '_input';
+ const source_box = document.getElementById(field_id + source);
+ const temp = source_box.selectedIndex;
+ SelectBox.filter(field_id + source, document.getElementById(field_id + input).value);
+ source_box.selectedIndex = temp;
+ SelectFilter.refresh_filtered_warning(field_id);
+ SelectFilter.refresh_icons(field_id);
},
- filter_key_down: function(event, field_id) {
- const from = document.getElementById(field_id + '_from');
+ filter_key_down: function(event, field_id, source, target) {
+ const source_box = document.getElementById(field_id + source);
+ // right key (39) or left key (37)
+ const direction = source === '_from' ? 39 : 37;
// right arrow -- move across
- if ((event.which && event.which === 39) || (event.keyCode && event.keyCode === 39)) {
- const old_index = from.selectedIndex;
- SelectBox.move(field_id + '_from', field_id + '_to');
- from.selectedIndex = (old_index === from.length) ? from.length - 1 : old_index;
+ if ((event.which && event.which === direction) || (event.keyCode && event.keyCode === direction)) {
+ const old_index = source_box.selectedIndex;
+ SelectBox.move(field_id + source, field_id + target);
+ SelectFilter.refresh_filtered_selects(field_id);
+ SelectFilter.refresh_filtered_warning(field_id);
+ source_box.selectedIndex = (old_index === source_box.length) ? source_box.length - 1 : old_index;
return;
}
// down arrow -- wrap around
if ((event.which && event.which === 40) || (event.keyCode && event.keyCode === 40)) {
- from.selectedIndex = (from.length === from.selectedIndex + 1) ? 0 : from.selectedIndex + 1;
+ source_box.selectedIndex = (source_box.length === source_box.selectedIndex + 1) ? 0 : source_box.selectedIndex + 1;
}
// up arrow -- wrap around
if ((event.which && event.which === 38) || (event.keyCode && event.keyCode === 38)) {
- from.selectedIndex = (from.selectedIndex === 0) ? from.length - 1 : from.selectedIndex - 1;
+ source_box.selectedIndex = (source_box.selectedIndex === 0) ? source_box.length - 1 : source_box.selectedIndex - 1;
}
}
};
diff --git a/static/admin/js/actions.js b/static/admin/js/actions.js
index 20a5c14..6a2ae91 100644
--- a/static/admin/js/actions.js
+++ b/static/admin/js/actions.js
@@ -179,6 +179,9 @@
}
});
}
+ // Sync counter when navigating to the page, such as through the back
+ // button.
+ window.addEventListener('pageshow', (event) => updateCounter(actionCheckboxes, options));
};
// Call function fn when the DOM is loaded and ready. If it is already
diff --git a/static/admin/js/admin/DateTimeShortcuts.js b/static/admin/js/admin/DateTimeShortcuts.js
index 176b0e3..aa1cae9 100644
--- a/static/admin/js/admin/DateTimeShortcuts.js
+++ b/static/admin/js/admin/DateTimeShortcuts.js
@@ -90,10 +90,9 @@
}
message = interpolate(message, [timezoneOffset]);
- const warning = document.createElement('span');
- warning.className = warningClass;
+ const warning = document.createElement('div');
+ warning.classList.add('help', warningClass);
warning.textContent = message;
- inp.parentNode.appendChild(document.createElement('br'));
inp.parentNode.appendChild(warning);
},
// Add clock widget to a given field
diff --git a/static/admin/js/admin/RelatedObjectLookups.js b/static/admin/js/admin/RelatedObjectLookups.js
index 5c9c0d8..32e3f5b 100644
--- a/static/admin/js/admin/RelatedObjectLookups.js
+++ b/static/admin/js/admin/RelatedObjectLookups.js
@@ -26,13 +26,11 @@
}
function addPopupIndex(name) {
- name = name + "__" + (popupIndex + 1);
- return name;
+ return name + "__" + (popupIndex + 1);
}
function removePopupIndex(name) {
- name = name.replace(new RegExp("__" + (popupIndex + 1) + "$"), '');
- return name;
+ return name.replace(new RegExp("__" + (popupIndex + 1) + "$"), '');
}
function showAdminPopup(triggeringLink, name_regexp, add_popup) {
@@ -81,9 +79,11 @@
siblings.each(function() {
const elm = $(this);
elm.attr('href', elm.attr('data-href-template').replace('__fk__', value));
+ elm.removeAttr('aria-disabled');
});
} else {
siblings.removeAttr('href');
+ siblings.attr('aria-disabled', true);
}
}
@@ -96,7 +96,8 @@
// Extract the model from the popup url '.../
/add/' or
// '...///change/' depending the action (add or change).
const modelName = path.split('/')[path.split('/').length - (objId ? 4 : 3)];
- const selectsRelated = document.querySelectorAll(`[data-model-ref="${modelName}"] select`);
+ // Exclude autocomplete selects.
+ const selectsRelated = document.querySelectorAll(`[data-model-ref="${modelName}"] select:not(.admin-autocomplete)`);
selectsRelated.forEach(function(select) {
if (currentSelect === select) {
diff --git a/static/admin/js/calendar.js b/static/admin/js/calendar.js
index a62d10a..776310f 100644
--- a/static/admin/js/calendar.js
+++ b/static/admin/js/calendar.js
@@ -36,6 +36,24 @@ depends on core.js for utility functions like removeChildren or quickElement
pgettext('abbrev. month December', 'Dec')
],
daysOfWeek: [
+ gettext('Sunday'),
+ gettext('Monday'),
+ gettext('Tuesday'),
+ gettext('Wednesday'),
+ gettext('Thursday'),
+ gettext('Friday'),
+ gettext('Saturday')
+ ],
+ daysOfWeekAbbrev: [
+ pgettext('abbrev. day Sunday', 'Sun'),
+ pgettext('abbrev. day Monday', 'Mon'),
+ pgettext('abbrev. day Tuesday', 'Tue'),
+ pgettext('abbrev. day Wednesday', 'Wed'),
+ pgettext('abbrev. day Thursday', 'Thur'),
+ pgettext('abbrev. day Friday', 'Fri'),
+ pgettext('abbrev. day Saturday', 'Sat')
+ ],
+ daysOfWeekInitial: [
pgettext('one letter Sunday', 'S'),
pgettext('one letter Monday', 'M'),
pgettext('one letter Tuesday', 'T'),
@@ -98,7 +116,7 @@ depends on core.js for utility functions like removeChildren or quickElement
// Draw days-of-week header
let tableRow = quickElement('tr', tableBody);
for (let i = 0; i < 7; i++) {
- quickElement('th', tableRow, CalendarNamespace.daysOfWeek[(i + CalendarNamespace.firstDayOfWeek) % 7]);
+ quickElement('th', tableRow, CalendarNamespace.daysOfWeekInitial[(i + CalendarNamespace.firstDayOfWeek) % 7]);
}
const startingPos = new Date(year, month - 1, 1 - CalendarNamespace.firstDayOfWeek).getDay();
diff --git a/static/admin/js/change_form.js b/static/admin/js/change_form.js
index 0ba16ef..96a4c62 100644
--- a/static/admin/js/change_form.js
+++ b/static/admin/js/change_form.js
@@ -1,23 +1,9 @@
-/*global gettext*/
'use strict';
{
const inputTags = ['BUTTON', 'INPUT', 'SELECT', 'TEXTAREA'];
const modelName = document.getElementById('django-admin-form-add-constants').dataset.modelName;
- let submitted = false;
-
if (modelName) {
const form = document.getElementById(modelName + '_form');
-
- form.addEventListener('submit', (event) => {
- event.preventDefault();
- if (submitted) {
- const answer = window.confirm(gettext('You have already submitted this form. Are you sure you want to submit it again?'));
- if (!answer) {return;}
- };
- event.target.submit();
- submitted = true;
- });
-
for (const element of form.elements) {
// HTMLElement.offsetParent returns null when the element is not
// rendered.
diff --git a/static/admin/js/core.js b/static/admin/js/core.js
index afdae28..10504d4 100644
--- a/static/admin/js/core.js
+++ b/static/admin/js/core.js
@@ -85,6 +85,18 @@ function findPosY(obj) {
return (this.getSeconds() < 10) ? '0' + this.getSeconds() : this.getSeconds();
};
+ Date.prototype.getAbbrevDayName = function() {
+ return typeof window.CalendarNamespace === "undefined"
+ ? '0' + this.getDay()
+ : window.CalendarNamespace.daysOfWeekAbbrev[this.getDay()];
+ };
+
+ Date.prototype.getFullDayName = function() {
+ return typeof window.CalendarNamespace === "undefined"
+ ? '0' + this.getDay()
+ : window.CalendarNamespace.daysOfWeek[this.getDay()];
+ };
+
Date.prototype.getAbbrevMonthName = function() {
return typeof window.CalendarNamespace === "undefined"
? this.getTwoDigitMonth()
@@ -99,6 +111,8 @@ function findPosY(obj) {
Date.prototype.strftime = function(format) {
const fields = {
+ a: this.getAbbrevDayName(),
+ A: this.getFullDayName(),
b: this.getAbbrevMonthName(),
B: this.getFullMonthName(),
c: this.toString(),
@@ -119,11 +133,11 @@ function findPosY(obj) {
let result = '', i = 0;
while (i < format.length) {
if (format.charAt(i) === '%') {
- result = result + fields[format.charAt(i + 1)];
+ result += fields[format.charAt(i + 1)];
++i;
}
else {
- result = result + format.charAt(i);
+ result += format.charAt(i);
}
++i;
}
diff --git a/static/admin/js/django_jalali..js b/static/admin/js/django_jalali..js
new file mode 100644
index 0000000..d9c8726
--- /dev/null
+++ b/static/admin/js/django_jalali..js
@@ -0,0 +1,8095 @@
+function mod(e, t) {
+ return e - t * Math.floor(e / t);
+}
+function leap_gregorian(e) {
+ return e % 4 == 0 && !(e % 100 == 0 && e % 400 != 0);
+}
+function gregorian_to_jd(e, t, n) {
+ return (
+ GREGORIAN_EPOCH -
+ 1 +
+ 365 * (e - 1) +
+ Math.floor((e - 1) / 4) +
+ -Math.floor((e - 1) / 100) +
+ Math.floor((e - 1) / 400) +
+ Math.floor(
+ (367 * t - 362) / 12 + (t <= 2 ? 0 : leap_gregorian(e) ? -1 : -2) + n
+ )
+ );
+}
+function jd_to_gregorian(e) {
+ var t, n, i, r, a, s, o, l, u, c, d, p;
+ return (
+ (t = Math.floor(e - 0.5) + 0.5),
+ (n = t - GREGORIAN_EPOCH),
+ (i = Math.floor(n / 146097)),
+ (r = mod(n, 146097)),
+ (a = Math.floor(r / 36524)),
+ (s = mod(r, 36524)),
+ (o = Math.floor(s / 1461)),
+ (l = mod(s, 1461)),
+ (u = Math.floor(l / 365)),
+ (c = 400 * i + 100 * a + 4 * o + u),
+ 4 != a && 4 != u && c++,
+ (d = t - gregorian_to_jd(c, 1, 1)),
+ (p = t < gregorian_to_jd(c, 3, 1) ? 0 : leap_gregorian(c) ? 1 : 2),
+ (month = Math.floor((12 * (d + p) + 373) / 367)),
+ (day = t - gregorian_to_jd(c, month, 1) + 1),
+ new Array(c, month, day)
+ );
+}
+function leap_islamic(e) {
+ return (11 * e + 14) % 30 < 11;
+}
+function islamic_to_jd(e, t, n) {
+ return (
+ n +
+ Math.ceil(29.5 * (t - 1)) +
+ 354 * (e - 1) +
+ Math.floor((3 + 11 * e) / 30) +
+ ISLAMIC_EPOCH -
+ 1
+ );
+}
+function jd_to_islamic(e) {
+ var t, n, i;
+ return (
+ (e = Math.floor(e) + 0.5),
+ (t = Math.floor((30 * (e - ISLAMIC_EPOCH) + 10646) / 10631)),
+ (n = Math.min(
+ 12,
+ Math.ceil((e - (29 + islamic_to_jd(t, 1, 1))) / 29.5) + 1
+ )),
+ (i = e - islamic_to_jd(t, n, 1) + 1),
+ new Array(t, n, i)
+ );
+}
+function leap_persian(e) {
+ return (682 * (((e - (e > 0 ? 474 : 473)) % 2820) + 474 + 38)) % 2816 < 682;
+}
+function persian_to_jd(e, t, n) {
+ var i, r;
+ return (
+ (i = e - (e >= 0 ? 474 : 473)),
+ (r = 474 + mod(i, 2820)),
+ n +
+ (t <= 7 ? 31 * (t - 1) : 30 * (t - 1) + 6) +
+ Math.floor((682 * r - 110) / 2816) +
+ 365 * (r - 1) +
+ 1029983 * Math.floor(i / 2820) +
+ (PERSIAN_EPOCH - 1)
+ );
+}
+function jd_to_persian(e) {
+ var t, n, i, r, a, s, o, l, u, c;
+ return (
+ (e = Math.floor(e) + 0.5),
+ (r = e - persian_to_jd(475, 1, 1)),
+ (a = Math.floor(r / 1029983)),
+ (s = mod(r, 1029983)),
+ 1029982 == s
+ ? (o = 2820)
+ : ((l = Math.floor(s / 366)),
+ (u = mod(s, 366)),
+ (o = Math.floor((2134 * l + 2816 * u + 2815) / 1028522) + l + 1)),
+ (t = o + 2820 * a + 474) <= 0 && t--,
+ (c = e - persian_to_jd(t, 1, 1) + 1),
+ (n = c <= 186 ? Math.ceil(c / 31) : Math.ceil((c - 6) / 30)),
+ (i = e - persian_to_jd(t, n, 1) + 1),
+ new Array(t, n, i)
+ );
+}
+function JalaliDate(e, t, n) {
+ function i(e) {
+ var t = 0;
+ e[1] < 0 && ((t = leap_persian(e[0] - 1) ? 30 : 29), e[1]++);
+ var n = jd_to_gregorian(persian_to_jd(e[0], e[1] + 1, e[2]) - t);
+ return n[1]--, n;
+ }
+ function r(e) {
+ var t = jd_to_persian(gregorian_to_jd(e[0], e[1] + 1, e[2]));
+ return t[1]--, t;
+ }
+ function a(e) {
+ return (
+ e && e.getGregorianDate && (e = e.getGregorianDate()),
+ (s = new Date(e)).setHours(s.getHours() > 12 ? s.getHours() + 2 : 0),
+ (s && "Invalid Date" != s && !isNaN(s || !s.getDate())) ||
+ (s = new Date()),
+ (o = r([s.getFullYear(), s.getMonth(), s.getDate()])),
+ this
+ );
+ }
+ var s, o;
+ if (isNaN(parseInt(e)) || isNaN(parseInt(t)) || isNaN(parseInt(n))) a(e);
+ else {
+ var l = i([parseInt(e, 10), parseInt(t, 10), parseInt(n, 10)]);
+ a(new Date(l[0], l[1], l[2]));
+ }
+ (this.getGregorianDate = function () {
+ return s;
+ }),
+ (this.setFullDate = a),
+ (this.setMonth = function (e) {
+ o[1] = e;
+ var t = i(o);
+ (s = new Date(t[0], t[1], t[2])), (o = r([t[0], t[1], t[2]]));
+ }),
+ (this.setDate = function (e) {
+ o[2] = e;
+ var t = i(o);
+ (s = new Date(t[0], t[1], t[2])), (o = r([t[0], t[1], t[2]]));
+ }),
+ (this.getFullYear = function () {
+ return o[0];
+ }),
+ (this.getMonth = function () {
+ return o[1];
+ }),
+ (this.getDate = function () {
+ return o[2];
+ }),
+ (this.toString = function () {
+ return o.join(",").toString();
+ }),
+ (this.getDay = function () {
+ return s.getDay();
+ }),
+ (this.getHours = function () {
+ return s.getHours();
+ }),
+ (this.getMinutes = function () {
+ return s.getMinutes();
+ }),
+ (this.getSeconds = function () {
+ return s.getSeconds();
+ }),
+ (this.getTime = function () {
+ return s.getTime();
+ }),
+ (this.getTimeZoneOffset = function () {
+ return s.getTimeZoneOffset();
+ }),
+ (this.getYear = function () {
+ return o[0] % 100;
+ }),
+ (this.setHours = function (e) {
+ s.setHours(e);
+ }),
+ (this.setMinutes = function (e) {
+ s.setMinutes(e);
+ }),
+ (this.setSeconds = function (e) {
+ s.setSeconds(e);
+ }),
+ (this.setMilliseconds = function (e) {
+ s.setMilliseconds(e);
+ });
+}
+!(function (e, t) {
+ function n(e) {
+ var t = e.length,
+ n = ue.type(e);
+ return (
+ !ue.isWindow(e) &&
+ (!(1 !== e.nodeType || !t) ||
+ "array" === n ||
+ ("function" !== n &&
+ (0 === t || ("number" == typeof t && t > 0 && t - 1 in e))))
+ );
+ }
+ function i(e) {
+ var t = (we[e] = {});
+ return (
+ ue.each(e.match(de) || [], function (e, n) {
+ t[n] = !0;
+ }),
+ t
+ );
+ }
+ function r(e, n, i, r) {
+ if (ue.acceptData(e)) {
+ var a,
+ s,
+ o = ue.expando,
+ l = e.nodeType,
+ u = l ? ue.cache : e,
+ c = l ? e[o] : e[o] && o;
+ if ((c && u[c] && (r || u[c].data)) || i !== t || "string" != typeof n)
+ return (
+ c || (c = l ? (e[o] = ee.pop() || ue.guid++) : o),
+ u[c] || (u[c] = l ? {} : { toJSON: ue.noop }),
+ ("object" == typeof n || "function" == typeof n) &&
+ (r
+ ? (u[c] = ue.extend(u[c], n))
+ : (u[c].data = ue.extend(u[c].data, n))),
+ (s = u[c]),
+ r || (s.data || (s.data = {}), (s = s.data)),
+ i !== t && (s[ue.camelCase(n)] = i),
+ "string" == typeof n
+ ? null == (a = s[n]) && (a = s[ue.camelCase(n)])
+ : (a = s),
+ a
+ );
+ }
+ }
+ function a(e, t, n) {
+ if (ue.acceptData(e)) {
+ var i,
+ r,
+ a = e.nodeType,
+ s = a ? ue.cache : e,
+ l = a ? e[ue.expando] : ue.expando;
+ if (s[l]) {
+ if (t && (i = n ? s[l] : s[l].data)) {
+ ue.isArray(t)
+ ? (t = t.concat(ue.map(t, ue.camelCase)))
+ : t in i
+ ? (t = [t])
+ : ((t = ue.camelCase(t)), (t = t in i ? [t] : t.split(" "))),
+ (r = t.length);
+ for (; r--; ) delete i[t[r]];
+ if (n ? !o(i) : !ue.isEmptyObject(i)) return;
+ }
+ (n || (delete s[l].data, o(s[l]))) &&
+ (a
+ ? ue.cleanData([e], !0)
+ : ue.support.deleteExpando || s != s.window
+ ? delete s[l]
+ : (s[l] = null));
+ }
+ }
+ }
+ function s(e, n, i) {
+ if (i === t && 1 === e.nodeType) {
+ var r = "data-" + n.replace(Te, "-$1").toLowerCase();
+ if ("string" == typeof (i = e.getAttribute(r))) {
+ try {
+ i =
+ "true" === i ||
+ ("false" !== i &&
+ ("null" === i
+ ? null
+ : +i + "" === i
+ ? +i
+ : Ce.test(i)
+ ? ue.parseJSON(i)
+ : i));
+ } catch (e) {}
+ ue.data(e, n, i);
+ } else i = t;
+ }
+ return i;
+ }
+ function o(e) {
+ var t;
+ for (t in e)
+ if (("data" !== t || !ue.isEmptyObject(e[t])) && "toJSON" !== t)
+ return !1;
+ return !0;
+ }
+ function l() {
+ return !0;
+ }
+ function u() {
+ return !1;
+ }
+ function c() {
+ try {
+ return G.activeElement;
+ } catch (e) {}
+ }
+ function d(e, t) {
+ do {
+ e = e[t];
+ } while (e && 1 !== e.nodeType);
+ return e;
+ }
+ function p(e, t, n) {
+ if (ue.isFunction(t))
+ return ue.grep(e, function (e, i) {
+ return !!t.call(e, i, e) !== n;
+ });
+ if (t.nodeType)
+ return ue.grep(e, function (e) {
+ return (e === t) !== n;
+ });
+ if ("string" == typeof t) {
+ if (Ye.test(t)) return ue.filter(t, e, n);
+ t = ue.filter(t, e);
+ }
+ return ue.grep(e, function (e) {
+ return ue.inArray(e, t) >= 0 !== n;
+ });
+ }
+ function h(e) {
+ var t = ze.split("|"),
+ n = e.createDocumentFragment();
+ if (n.createElement) for (; t.length; ) n.createElement(t.pop());
+ return n;
+ }
+ function f(e, t) {
+ return ue.nodeName(e, "table") &&
+ ue.nodeName(1 === t.nodeType ? t : t.firstChild, "tr")
+ ? e.getElementsByTagName("tbody")[0] ||
+ e.appendChild(e.ownerDocument.createElement("tbody"))
+ : e;
+ }
+ function g(e) {
+ return (e.type = (null !== ue.find.attr(e, "type")) + "/" + e.type), e;
+ }
+ function m(e) {
+ var t = it.exec(e.type);
+ return t ? (e.type = t[1]) : e.removeAttribute("type"), e;
+ }
+ function y(e, t) {
+ for (var n, i = 0; null != (n = e[i]); i++)
+ ue._data(n, "globalEval", !t || ue._data(t[i], "globalEval"));
+ }
+ function v(e, t) {
+ if (1 === t.nodeType && ue.hasData(e)) {
+ var n,
+ i,
+ r,
+ a = ue._data(e),
+ s = ue._data(t, a),
+ o = a.events;
+ if (o) {
+ delete s.handle, (s.events = {});
+ for (n in o)
+ for (i = 0, r = o[n].length; r > i; i++) ue.event.add(t, n, o[n][i]);
+ }
+ s.data && (s.data = ue.extend({}, s.data));
+ }
+ }
+ function b(e, t) {
+ var n, i, r;
+ if (1 === t.nodeType) {
+ if (
+ ((n = t.nodeName.toLowerCase()),
+ !ue.support.noCloneEvent && t[ue.expando])
+ ) {
+ r = ue._data(t);
+ for (i in r.events) ue.removeEvent(t, i, r.handle);
+ t.removeAttribute(ue.expando);
+ }
+ "script" === n && t.text !== e.text
+ ? ((g(t).text = e.text), m(t))
+ : "object" === n
+ ? (t.parentNode && (t.outerHTML = e.outerHTML),
+ ue.support.html5Clone &&
+ e.innerHTML &&
+ !ue.trim(t.innerHTML) &&
+ (t.innerHTML = e.innerHTML))
+ : "input" === n && et.test(e.type)
+ ? ((t.defaultChecked = t.checked = e.checked),
+ t.value !== e.value && (t.value = e.value))
+ : "option" === n
+ ? (t.defaultSelected = t.selected = e.defaultSelected)
+ : ("input" === n || "textarea" === n) &&
+ (t.defaultValue = e.defaultValue);
+ }
+ }
+ function _(e, n) {
+ var i,
+ r,
+ a = 0,
+ s =
+ typeof e.getElementsByTagName !== U
+ ? e.getElementsByTagName(n || "*")
+ : typeof e.querySelectorAll !== U
+ ? e.querySelectorAll(n || "*")
+ : t;
+ if (!s)
+ for (s = [], i = e.childNodes || e; null != (r = i[a]); a++)
+ !n || ue.nodeName(r, n) ? s.push(r) : ue.merge(s, _(r, n));
+ return n === t || (n && ue.nodeName(e, n)) ? ue.merge([e], s) : s;
+ }
+ function x(e) {
+ et.test(e.type) && (e.defaultChecked = e.checked);
+ }
+ function k(e, t) {
+ if (t in e) return t;
+ for (
+ var n = t.charAt(0).toUpperCase() + t.slice(1), i = t, r = kt.length;
+ r--;
+
+ )
+ if ((t = kt[r] + n) in e) return t;
+ return i;
+ }
+ function D(e, t) {
+ return (
+ (e = t || e),
+ "none" === ue.css(e, "display") || !ue.contains(e.ownerDocument, e)
+ );
+ }
+ function w(e, t) {
+ for (var n, i, r, a = [], s = 0, o = e.length; o > s; s++)
+ (i = e[s]).style &&
+ ((a[s] = ue._data(i, "olddisplay")),
+ (n = i.style.display),
+ t
+ ? (a[s] || "none" !== n || (i.style.display = ""),
+ "" === i.style.display &&
+ D(i) &&
+ (a[s] = ue._data(i, "olddisplay", M(i.nodeName))))
+ : a[s] ||
+ ((r = D(i)),
+ ((n && "none" !== n) || !r) &&
+ ue._data(i, "olddisplay", r ? n : ue.css(i, "display"))));
+ for (s = 0; o > s; s++)
+ (i = e[s]).style &&
+ ((t && "none" !== i.style.display && "" !== i.style.display) ||
+ (i.style.display = t ? a[s] || "" : "none"));
+ return e;
+ }
+ function C(e, t, n) {
+ var i = gt.exec(t);
+ return i ? Math.max(0, i[1] - (n || 0)) + (i[2] || "px") : t;
+ }
+ function T(e, t, n, i, r) {
+ for (
+ var a = n === (i ? "border" : "content") ? 4 : "width" === t ? 1 : 0,
+ s = 0;
+ 4 > a;
+ a += 2
+ )
+ "margin" === n && (s += ue.css(e, n + xt[a], !0, r)),
+ i
+ ? ("content" === n && (s -= ue.css(e, "padding" + xt[a], !0, r)),
+ "margin" !== n &&
+ (s -= ue.css(e, "border" + xt[a] + "Width", !0, r)))
+ : ((s += ue.css(e, "padding" + xt[a], !0, r)),
+ "padding" !== n &&
+ (s += ue.css(e, "border" + xt[a] + "Width", !0, r)));
+ return s;
+ }
+ function N(e, t, n) {
+ var i = !0,
+ r = "width" === t ? e.offsetWidth : e.offsetHeight,
+ a = lt(e),
+ s =
+ ue.support.boxSizing && "border-box" === ue.css(e, "boxSizing", !1, a);
+ if (0 >= r || null == r) {
+ if (
+ ((0 > (r = ut(e, t, a)) || null == r) && (r = e.style[t]), mt.test(r))
+ )
+ return r;
+ (i = s && (ue.support.boxSizingReliable || r === e.style[t])),
+ (r = parseFloat(r) || 0);
+ }
+ return r + T(e, t, n || (s ? "border" : "content"), i, a) + "px";
+ }
+ function M(e) {
+ var t = G,
+ n = vt[e];
+ return (
+ n ||
+ (("none" !== (n = S(e, t)) && n) ||
+ ((ot = (
+ ot ||
+ ue("").css(
+ "cssText",
+ "display:block !important"
+ )
+ ).appendTo(t.documentElement)),
+ (t = (ot[0].contentWindow || ot[0].contentDocument).document).write(
+ ""
+ ),
+ t.close(),
+ (n = S(e, t)),
+ ot.detach()),
+ (vt[e] = n)),
+ n
+ );
+ }
+ function S(e, t) {
+ var n = ue(t.createElement(e)).appendTo(t.body),
+ i = ue.css(n[0], "display");
+ return n.remove(), i;
+ }
+ function $(e, t, n, i) {
+ var r;
+ if (ue.isArray(t))
+ ue.each(t, function (t, r) {
+ n || wt.test(e)
+ ? i(e, r)
+ : $(e + "[" + ("object" == typeof r ? t : "") + "]", r, n, i);
+ });
+ else if (n || "object" !== ue.type(t)) i(e, t);
+ else for (r in t) $(e + "[" + r + "]", t[r], n, i);
+ }
+ function A(e) {
+ return function (t, n) {
+ "string" != typeof t && ((n = t), (t = "*"));
+ var i,
+ r = 0,
+ a = t.toLowerCase().match(de) || [];
+ if (ue.isFunction(n))
+ for (; (i = a[r++]); )
+ "+" === i[0]
+ ? ((i = i.slice(1) || "*"), (e[i] = e[i] || []).unshift(n))
+ : (e[i] = e[i] || []).push(n);
+ };
+ }
+ function E(e, n, i, r) {
+ function a(l) {
+ var u;
+ return (
+ (s[l] = !0),
+ ue.each(e[l] || [], function (e, l) {
+ var c = l(n, i, r);
+ return "string" != typeof c || o || s[c]
+ ? o
+ ? !(u = c)
+ : t
+ : (n.dataTypes.unshift(c), a(c), !1);
+ }),
+ u
+ );
+ }
+ var s = {},
+ o = e === Yt;
+ return a(n.dataTypes[0]) || (!s["*"] && a("*"));
+ }
+ function j(e, n) {
+ var i,
+ r,
+ a = ue.ajaxSettings.flatOptions || {};
+ for (r in n) n[r] !== t && ((a[r] ? e : i || (i = {}))[r] = n[r]);
+ return i && ue.extend(!0, e, i), e;
+ }
+ function I(e, n, i) {
+ for (var r, a, s, o, l = e.contents, u = e.dataTypes; "*" === u[0]; )
+ u.shift(),
+ a === t && (a = e.mimeType || n.getResponseHeader("Content-Type"));
+ if (a)
+ for (o in l)
+ if (l[o] && l[o].test(a)) {
+ u.unshift(o);
+ break;
+ }
+ if (u[0] in i) s = u[0];
+ else {
+ for (o in i) {
+ if (!u[0] || e.converters[o + " " + u[0]]) {
+ s = o;
+ break;
+ }
+ r || (r = o);
+ }
+ s = s || r;
+ }
+ return s ? (s !== u[0] && u.unshift(s), i[s]) : t;
+ }
+ function F(e, t, n, i) {
+ var r,
+ a,
+ s,
+ o,
+ l,
+ u = {},
+ c = e.dataTypes.slice();
+ if (c[1]) for (s in e.converters) u[s.toLowerCase()] = e.converters[s];
+ for (a = c.shift(); a; )
+ if (
+ (e.responseFields[a] && (n[e.responseFields[a]] = t),
+ !l && i && e.dataFilter && (t = e.dataFilter(t, e.dataType)),
+ (l = a),
+ (a = c.shift()))
+ )
+ if ("*" === a) a = l;
+ else if ("*" !== l && l !== a) {
+ if (!(s = u[l + " " + a] || u["* " + a]))
+ for (r in u)
+ if (
+ (o = r.split(" "))[1] === a &&
+ (s = u[l + " " + o[0]] || u["* " + o[0]])
+ ) {
+ !0 === s
+ ? (s = u[r])
+ : !0 !== u[r] && ((a = o[0]), c.unshift(o[1]));
+ break;
+ }
+ if (!0 !== s)
+ if (s && e.throws) t = s(t);
+ else
+ try {
+ t = s(t);
+ } catch (e) {
+ return {
+ state: "parsererror",
+ error: s ? e : "No conversion from " + l + " to " + a,
+ };
+ }
+ }
+ return { state: "success", data: t };
+ }
+ function L() {
+ try {
+ return new e.XMLHttpRequest();
+ } catch (e) {}
+ }
+ function H() {
+ try {
+ return new e.ActiveXObject("Microsoft.XMLHTTP");
+ } catch (e) {}
+ }
+ function O() {
+ return (
+ setTimeout(function () {
+ Gt = t;
+ }),
+ (Gt = ue.now())
+ );
+ }
+ function P(e, t, n) {
+ for (
+ var i, r = (tn[t] || []).concat(tn["*"]), a = 0, s = r.length;
+ s > a;
+ a++
+ )
+ if ((i = r[a].call(n, t, e))) return i;
+ }
+ function R(e, t, n) {
+ var i,
+ r,
+ a = 0,
+ s = en.length,
+ o = ue.Deferred().always(function () {
+ delete l.elem;
+ }),
+ l = function () {
+ if (r) return !1;
+ for (
+ var t = Gt || O(),
+ n = Math.max(0, u.startTime + u.duration - t),
+ i = 1 - (n / u.duration || 0),
+ a = 0,
+ s = u.tweens.length;
+ s > a;
+ a++
+ )
+ u.tweens[a].run(i);
+ return (
+ o.notifyWith(e, [u, i, n]),
+ 1 > i && s ? n : (o.resolveWith(e, [u]), !1)
+ );
+ },
+ u = o.promise({
+ elem: e,
+ props: ue.extend({}, t),
+ opts: ue.extend(!0, { specialEasing: {} }, n),
+ originalProperties: t,
+ originalOptions: n,
+ startTime: Gt || O(),
+ duration: n.duration,
+ tweens: [],
+ createTween: function (t, n) {
+ var i = ue.Tween(
+ e,
+ u.opts,
+ t,
+ n,
+ u.opts.specialEasing[t] || u.opts.easing
+ );
+ return u.tweens.push(i), i;
+ },
+ stop: function (t) {
+ var n = 0,
+ i = t ? u.tweens.length : 0;
+ if (r) return this;
+ for (r = !0; i > n; n++) u.tweens[n].run(1);
+ return t ? o.resolveWith(e, [u, t]) : o.rejectWith(e, [u, t]), this;
+ },
+ }),
+ c = u.props;
+ for (Y(c, u.opts.specialEasing); s > a; a++)
+ if ((i = en[a].call(u, e, c, u.opts))) return i;
+ return (
+ ue.map(c, P, u),
+ ue.isFunction(u.opts.start) && u.opts.start.call(e, u),
+ ue.fx.timer(ue.extend(l, { elem: e, anim: u, queue: u.opts.queue })),
+ u
+ .progress(u.opts.progress)
+ .done(u.opts.done, u.opts.complete)
+ .fail(u.opts.fail)
+ .always(u.opts.always)
+ );
+ }
+ function Y(e, t) {
+ var n, i, r, a, s;
+ for (n in e)
+ if (
+ ((i = ue.camelCase(n)),
+ (r = t[i]),
+ (a = e[n]),
+ ue.isArray(a) && ((r = a[1]), (a = e[n] = a[0])),
+ n !== i && ((e[i] = a), delete e[n]),
+ (s = ue.cssHooks[i]) && "expand" in s)
+ ) {
+ (a = s.expand(a)), delete e[i];
+ for (n in a) n in e || ((e[n] = a[n]), (t[n] = r));
+ } else t[i] = r;
+ }
+ function q(e, t, n, i, r) {
+ return new q.prototype.init(e, t, n, i, r);
+ }
+ function W(e, t) {
+ var n,
+ i = { height: e },
+ r = 0;
+ for (t = t ? 1 : 0; 4 > r; r += 2 - t)
+ (n = xt[r]), (i["margin" + n] = i["padding" + n] = e);
+ return t && (i.opacity = i.width = e), i;
+ }
+ function B(e) {
+ return ue.isWindow(e)
+ ? e
+ : 9 === e.nodeType && (e.defaultView || e.parentWindow);
+ }
+ var z,
+ K,
+ U = typeof t,
+ X = e.location,
+ G = e.document,
+ V = G.documentElement,
+ J = e.jQuery,
+ Q = e.$,
+ Z = {},
+ ee = [],
+ te = "1.10.2",
+ ne = ee.concat,
+ ie = ee.push,
+ re = ee.slice,
+ ae = ee.indexOf,
+ se = Z.toString,
+ oe = Z.hasOwnProperty,
+ le = te.trim,
+ ue = function (e, t) {
+ return new ue.fn.init(e, t, K);
+ },
+ ce = /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,
+ de = /\S+/g,
+ pe = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,
+ he = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,
+ fe = /^<(\w+)\s*\/?>(?:<\/\1>|)$/,
+ ge = /^[\],:{}\s]*$/,
+ me = /(?:^|:|,)(?:\s*\[)+/g,
+ ye = /\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,
+ ve = /"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g,
+ be = /^-ms-/,
+ _e = /-([\da-z])/gi,
+ xe = function (e, t) {
+ return t.toUpperCase();
+ },
+ ke = function (e) {
+ (G.addEventListener ||
+ "load" === e.type ||
+ "complete" === G.readyState) &&
+ (De(), ue.ready());
+ },
+ De = function () {
+ G.addEventListener
+ ? (G.removeEventListener("DOMContentLoaded", ke, !1),
+ e.removeEventListener("load", ke, !1))
+ : (G.detachEvent("onreadystatechange", ke),
+ e.detachEvent("onload", ke));
+ };
+ (ue.fn = ue.prototype =
+ {
+ jquery: te,
+ constructor: ue,
+ init: function (e, n, i) {
+ var r, a;
+ if (!e) return this;
+ if ("string" == typeof e) {
+ if (
+ !(r =
+ "<" === e.charAt(0) &&
+ ">" === e.charAt(e.length - 1) &&
+ e.length >= 3
+ ? [null, e, null]
+ : he.exec(e)) ||
+ (!r[1] && n)
+ )
+ return !n || n.jquery
+ ? (n || i).find(e)
+ : this.constructor(n).find(e);
+ if (r[1]) {
+ if (
+ ((n = n instanceof ue ? n[0] : n),
+ ue.merge(
+ this,
+ ue.parseHTML(
+ r[1],
+ n && n.nodeType ? n.ownerDocument || n : G,
+ !0
+ )
+ ),
+ fe.test(r[1]) && ue.isPlainObject(n))
+ )
+ for (r in n)
+ ue.isFunction(this[r]) ? this[r](n[r]) : this.attr(r, n[r]);
+ return this;
+ }
+ if ((a = G.getElementById(r[2])) && a.parentNode) {
+ if (a.id !== r[2]) return i.find(e);
+ (this.length = 1), (this[0] = a);
+ }
+ return (this.context = G), (this.selector = e), this;
+ }
+ return e.nodeType
+ ? ((this.context = this[0] = e), (this.length = 1), this)
+ : ue.isFunction(e)
+ ? i.ready(e)
+ : (e.selector !== t &&
+ ((this.selector = e.selector), (this.context = e.context)),
+ ue.makeArray(e, this));
+ },
+ selector: "",
+ length: 0,
+ toArray: function () {
+ return re.call(this);
+ },
+ get: function (e) {
+ return null == e
+ ? this.toArray()
+ : 0 > e
+ ? this[this.length + e]
+ : this[e];
+ },
+ pushStack: function (e) {
+ var t = ue.merge(this.constructor(), e);
+ return (t.prevObject = this), (t.context = this.context), t;
+ },
+ each: function (e, t) {
+ return ue.each(this, e, t);
+ },
+ ready: function (e) {
+ return ue.ready.promise().done(e), this;
+ },
+ slice: function () {
+ return this.pushStack(re.apply(this, arguments));
+ },
+ first: function () {
+ return this.eq(0);
+ },
+ last: function () {
+ return this.eq(-1);
+ },
+ eq: function (e) {
+ var t = this.length,
+ n = +e + (0 > e ? t : 0);
+ return this.pushStack(n >= 0 && t > n ? [this[n]] : []);
+ },
+ map: function (e) {
+ return this.pushStack(
+ ue.map(this, function (t, n) {
+ return e.call(t, n, t);
+ })
+ );
+ },
+ end: function () {
+ return this.prevObject || this.constructor(null);
+ },
+ push: ie,
+ sort: [].sort,
+ splice: [].splice,
+ }),
+ (ue.fn.init.prototype = ue.fn),
+ (ue.extend = ue.fn.extend =
+ function () {
+ var e,
+ n,
+ i,
+ r,
+ a,
+ s,
+ o = arguments[0] || {},
+ l = 1,
+ u = arguments.length,
+ c = !1;
+ for (
+ "boolean" == typeof o && ((c = o), (o = arguments[1] || {}), (l = 2)),
+ "object" == typeof o || ue.isFunction(o) || (o = {}),
+ u === l && ((o = this), --l);
+ u > l;
+ l++
+ )
+ if (null != (a = arguments[l]))
+ for (r in a)
+ (e = o[r]),
+ (i = a[r]),
+ o !== i &&
+ (c && i && (ue.isPlainObject(i) || (n = ue.isArray(i)))
+ ? (n
+ ? ((n = !1), (s = e && ue.isArray(e) ? e : []))
+ : (s = e && ue.isPlainObject(e) ? e : {}),
+ (o[r] = ue.extend(c, s, i)))
+ : i !== t && (o[r] = i));
+ return o;
+ }),
+ ue.extend({
+ expando: "jQuery" + (te + Math.random()).replace(/\D/g, ""),
+ noConflict: function (t) {
+ return (
+ e.$ === ue && (e.$ = Q), t && e.jQuery === ue && (e.jQuery = J), ue
+ );
+ },
+ isReady: !1,
+ readyWait: 1,
+ holdReady: function (e) {
+ e ? ue.readyWait++ : ue.ready(!0);
+ },
+ ready: function (e) {
+ if (!0 === e ? !--ue.readyWait : !ue.isReady) {
+ if (!G.body) return setTimeout(ue.ready);
+ (ue.isReady = !0),
+ (!0 !== e && --ue.readyWait > 0) ||
+ (z.resolveWith(G, [ue]),
+ ue.fn.trigger && ue(G).trigger("ready").off("ready"));
+ }
+ },
+ isFunction: function (e) {
+ return "function" === ue.type(e);
+ },
+ isArray:
+ Array.isArray ||
+ function (e) {
+ return "array" === ue.type(e);
+ },
+ isWindow: function (e) {
+ return null != e && e == e.window;
+ },
+ isNumeric: function (e) {
+ return !isNaN(parseFloat(e)) && isFinite(e);
+ },
+ type: function (e) {
+ return null == e
+ ? e + ""
+ : "object" == typeof e || "function" == typeof e
+ ? Z[se.call(e)] || "object"
+ : typeof e;
+ },
+ isPlainObject: function (e) {
+ var n;
+ if (!e || "object" !== ue.type(e) || e.nodeType || ue.isWindow(e))
+ return !1;
+ try {
+ if (
+ e.constructor &&
+ !oe.call(e, "constructor") &&
+ !oe.call(e.constructor.prototype, "isPrototypeOf")
+ )
+ return !1;
+ } catch (e) {
+ return !1;
+ }
+ if (ue.support.ownLast) for (n in e) return oe.call(e, n);
+ for (n in e);
+ return n === t || oe.call(e, n);
+ },
+ isEmptyObject: function (e) {
+ var t;
+ for (t in e) return !1;
+ return !0;
+ },
+ error: function (e) {
+ throw Error(e);
+ },
+ parseHTML: function (e, t, n) {
+ if (!e || "string" != typeof e) return null;
+ "boolean" == typeof t && ((n = t), (t = !1)), (t = t || G);
+ var i = fe.exec(e),
+ r = !n && [];
+ return i
+ ? [t.createElement(i[1])]
+ : ((i = ue.buildFragment([e], t, r)),
+ r && ue(r).remove(),
+ ue.merge([], i.childNodes));
+ },
+ parseJSON: function (n) {
+ return e.JSON && e.JSON.parse
+ ? e.JSON.parse(n)
+ : null === n
+ ? n
+ : "string" == typeof n &&
+ (n = ue.trim(n)) &&
+ ge.test(n.replace(ye, "@").replace(ve, "]").replace(me, ""))
+ ? Function("return " + n)()
+ : (ue.error("Invalid JSON: " + n), t);
+ },
+ parseXML: function (n) {
+ var i, r;
+ if (!n || "string" != typeof n) return null;
+ try {
+ e.DOMParser
+ ? ((r = new DOMParser()), (i = r.parseFromString(n, "text/xml")))
+ : ((i = new ActiveXObject("Microsoft.XMLDOM")),
+ (i.async = "false"),
+ i.loadXML(n));
+ } catch (e) {
+ i = t;
+ }
+ return (
+ (i &&
+ i.documentElement &&
+ !i.getElementsByTagName("parsererror").length) ||
+ ue.error("Invalid XML: " + n),
+ i
+ );
+ },
+ noop: function () {},
+ globalEval: function (t) {
+ t &&
+ ue.trim(t) &&
+ (
+ e.execScript ||
+ function (t) {
+ e.eval.call(e, t);
+ }
+ )(t);
+ },
+ camelCase: function (e) {
+ return e.replace(be, "ms-").replace(_e, xe);
+ },
+ nodeName: function (e, t) {
+ return e.nodeName && e.nodeName.toLowerCase() === t.toLowerCase();
+ },
+ each: function (e, t, i) {
+ var r = 0,
+ a = e.length,
+ s = n(e);
+ if (i) {
+ if (s) for (; a > r && !1 !== t.apply(e[r], i); r++);
+ else for (r in e) if (!1 === t.apply(e[r], i)) break;
+ } else if (s) for (; a > r && !1 !== t.call(e[r], r, e[r]); r++);
+ else for (r in e) if (!1 === t.call(e[r], r, e[r])) break;
+ return e;
+ },
+ trim:
+ le && !le.call("\ufeff ")
+ ? function (e) {
+ return null == e ? "" : le.call(e);
+ }
+ : function (e) {
+ return null == e ? "" : (e + "").replace(pe, "");
+ },
+ makeArray: function (e, t) {
+ var i = t || [];
+ return (
+ null != e &&
+ (n(Object(e))
+ ? ue.merge(i, "string" == typeof e ? [e] : e)
+ : ie.call(i, e)),
+ i
+ );
+ },
+ inArray: function (e, t, n) {
+ var i;
+ if (t) {
+ if (ae) return ae.call(t, e, n);
+ for (
+ i = t.length, n = n ? (0 > n ? Math.max(0, i + n) : n) : 0;
+ i > n;
+ n++
+ )
+ if (n in t && t[n] === e) return n;
+ }
+ return -1;
+ },
+ merge: function (e, n) {
+ var i = n.length,
+ r = e.length,
+ a = 0;
+ if ("number" == typeof i) for (; i > a; a++) e[r++] = n[a];
+ else for (; n[a] !== t; ) e[r++] = n[a++];
+ return (e.length = r), e;
+ },
+ grep: function (e, t, n) {
+ var i,
+ r = [],
+ a = 0,
+ s = e.length;
+ for (n = !!n; s > a; a++) (i = !!t(e[a], a)), n !== i && r.push(e[a]);
+ return r;
+ },
+ map: function (e, t, i) {
+ var r,
+ a = 0,
+ s = e.length,
+ o = [];
+ if (n(e))
+ for (; s > a; a++) null != (r = t(e[a], a, i)) && (o[o.length] = r);
+ else for (a in e) null != (r = t(e[a], a, i)) && (o[o.length] = r);
+ return ne.apply([], o);
+ },
+ guid: 1,
+ proxy: function (e, n) {
+ var i, r, a;
+ return (
+ "string" == typeof n && ((a = e[n]), (n = e), (e = a)),
+ ue.isFunction(e)
+ ? ((i = re.call(arguments, 2)),
+ (r = function () {
+ return e.apply(n || this, i.concat(re.call(arguments)));
+ }),
+ (r.guid = e.guid = e.guid || ue.guid++),
+ r)
+ : t
+ );
+ },
+ access: function (e, n, i, r, a, s, o) {
+ var l = 0,
+ u = e.length,
+ c = null == i;
+ if ("object" === ue.type(i)) {
+ a = !0;
+ for (l in i) ue.access(e, n, l, i[l], !0, s, o);
+ } else if (
+ r !== t &&
+ ((a = !0),
+ ue.isFunction(r) || (o = !0),
+ c &&
+ (o
+ ? (n.call(e, r), (n = null))
+ : ((c = n),
+ (n = function (e, t, n) {
+ return c.call(ue(e), n);
+ }))),
+ n)
+ )
+ for (; u > l; l++) n(e[l], i, o ? r : r.call(e[l], l, n(e[l], i)));
+ return a ? e : c ? n.call(e) : u ? n(e[0], i) : s;
+ },
+ now: function () {
+ return new Date().getTime();
+ },
+ swap: function (e, t, n, i) {
+ var r,
+ a,
+ s = {};
+ for (a in t) (s[a] = e.style[a]), (e.style[a] = t[a]);
+ r = n.apply(e, i || []);
+ for (a in t) e.style[a] = s[a];
+ return r;
+ },
+ }),
+ (ue.ready.promise = function (t) {
+ if (!z)
+ if (((z = ue.Deferred()), "complete" === G.readyState))
+ setTimeout(ue.ready);
+ else if (G.addEventListener)
+ G.addEventListener("DOMContentLoaded", ke, !1),
+ e.addEventListener("load", ke, !1);
+ else {
+ G.attachEvent("onreadystatechange", ke), e.attachEvent("onload", ke);
+ var n = !1;
+ try {
+ n = null == e.frameElement && G.documentElement;
+ } catch (e) {}
+ n &&
+ n.doScroll &&
+ (function e() {
+ if (!ue.isReady) {
+ try {
+ n.doScroll("left");
+ } catch (t) {
+ return setTimeout(e, 50);
+ }
+ De(), ue.ready();
+ }
+ })();
+ }
+ return z.promise(t);
+ }),
+ ue.each(
+ "Boolean Number String Function Array Date RegExp Object Error".split(
+ " "
+ ),
+ function (e, t) {
+ Z["[object " + t + "]"] = t.toLowerCase();
+ }
+ ),
+ (K = ue(G)),
+ (function (e, t) {
+ function n(e, t, n, i) {
+ var r, a, s, o, l, u, p, h, f, g;
+ if (
+ ((t ? t.ownerDocument || t : O) !== $ && S(t),
+ (t = t || $),
+ (n = n || []),
+ !e || "string" != typeof e)
+ )
+ return n;
+ if (1 !== (o = t.nodeType) && 9 !== o) return [];
+ if (E && !i) {
+ if ((r = ye.exec(e)))
+ if ((s = r[1])) {
+ if (9 === o) {
+ if (!(a = t.getElementById(s)) || !a.parentNode) return n;
+ if (a.id === s) return n.push(a), n;
+ } else if (
+ t.ownerDocument &&
+ (a = t.ownerDocument.getElementById(s)) &&
+ L(t, a) &&
+ a.id === s
+ )
+ return n.push(a), n;
+ } else {
+ if (r[2]) return Q.apply(n, t.getElementsByTagName(e)), n;
+ if (
+ (s = r[3]) &&
+ x.getElementsByClassName &&
+ t.getElementsByClassName
+ )
+ return Q.apply(n, t.getElementsByClassName(s)), n;
+ }
+ if (x.qsa && (!j || !j.test(e))) {
+ if (
+ ((h = p = H),
+ (f = t),
+ (g = 9 === o && e),
+ 1 === o && "object" !== t.nodeName.toLowerCase())
+ ) {
+ for (
+ u = c(e),
+ (p = t.getAttribute("id"))
+ ? (h = p.replace(_e, "\\$&"))
+ : t.setAttribute("id", h),
+ h = "[id='" + h + "'] ",
+ l = u.length;
+ l--;
+
+ )
+ u[l] = h + d(u[l]);
+ (f = (de.test(e) && t.parentNode) || t), (g = u.join(","));
+ }
+ if (g)
+ try {
+ return Q.apply(n, f.querySelectorAll(g)), n;
+ } catch (e) {
+ } finally {
+ p || t.removeAttribute("id");
+ }
+ }
+ }
+ return b(e.replace(oe, "$1"), t, n, i);
+ }
+ function i() {
+ function e(n, i) {
+ return (
+ t.push((n += " ")) > D.cacheLength && delete e[t.shift()],
+ (e[n] = i)
+ );
+ }
+ var t = [];
+ return e;
+ }
+ function r(e) {
+ return (e[H] = !0), e;
+ }
+ function a(e) {
+ var t = $.createElement("div");
+ try {
+ return !!e(t);
+ } catch (e) {
+ return !1;
+ } finally {
+ t.parentNode && t.parentNode.removeChild(t), (t = null);
+ }
+ }
+ function s(e, t) {
+ for (var n = e.split("|"), i = e.length; i--; ) D.attrHandle[n[i]] = t;
+ }
+ function o(e, t) {
+ var n = t && e,
+ i =
+ n &&
+ 1 === e.nodeType &&
+ 1 === t.nodeType &&
+ (~t.sourceIndex || U) - (~e.sourceIndex || U);
+ if (i) return i;
+ if (n) for (; (n = n.nextSibling); ) if (n === t) return -1;
+ return e ? 1 : -1;
+ }
+ function l(e) {
+ return r(function (t) {
+ return (
+ (t = +t),
+ r(function (n, i) {
+ for (var r, a = e([], n.length, t), s = a.length; s--; )
+ n[(r = a[s])] && (n[r] = !(i[r] = n[r]));
+ })
+ );
+ });
+ }
+ function u() {}
+ function c(e, t) {
+ var i,
+ r,
+ a,
+ s,
+ o,
+ l,
+ u,
+ c = q[e + " "];
+ if (c) return t ? 0 : c.slice(0);
+ for (o = e, l = [], u = D.preFilter; o; ) {
+ (!i || (r = le.exec(o))) &&
+ (r && (o = o.slice(r[0].length) || o), l.push((a = []))),
+ (i = !1),
+ (r = ce.exec(o)) &&
+ ((i = r.shift()),
+ a.push({ value: i, type: r[0].replace(oe, " ") }),
+ (o = o.slice(i.length)));
+ for (s in D.filter)
+ !(r = ge[s].exec(o)) ||
+ (u[s] && !(r = u[s](r))) ||
+ ((i = r.shift()),
+ a.push({ value: i, type: s, matches: r }),
+ (o = o.slice(i.length)));
+ if (!i) break;
+ }
+ return t ? o.length : o ? n.error(e) : q(e, l).slice(0);
+ }
+ function d(e) {
+ for (var t = 0, n = e.length, i = ""; n > t; t++) i += e[t].value;
+ return i;
+ }
+ function p(e, t, n) {
+ var i = t.dir,
+ r = n && "parentNode" === i,
+ a = R++;
+ return t.first
+ ? function (t, n, a) {
+ for (; (t = t[i]); ) if (1 === t.nodeType || r) return e(t, n, a);
+ }
+ : function (t, n, s) {
+ var o,
+ l,
+ u,
+ c = P + " " + a;
+ if (s) {
+ for (; (t = t[i]); )
+ if ((1 === t.nodeType || r) && e(t, n, s)) return !0;
+ } else
+ for (; (t = t[i]); )
+ if (1 === t.nodeType || r)
+ if (((u = t[H] || (t[H] = {})), (l = u[i]) && l[0] === c)) {
+ if (!0 === (o = l[1]) || o === k) return !0 === o;
+ } else if (
+ ((l = u[i] = [c]), (l[1] = e(t, n, s) || k), !0 === l[1])
+ )
+ return !0;
+ };
+ }
+ function h(e) {
+ return e.length > 1
+ ? function (t, n, i) {
+ for (var r = e.length; r--; ) if (!e[r](t, n, i)) return !1;
+ return !0;
+ }
+ : e[0];
+ }
+ function f(e, t, n, i, r) {
+ for (var a, s = [], o = 0, l = e.length, u = null != t; l > o; o++)
+ (a = e[o]) && (!n || n(a, i, r)) && (s.push(a), u && t.push(o));
+ return s;
+ }
+ function g(e, t, n, i, a, s) {
+ return (
+ i && !i[H] && (i = g(i)),
+ a && !a[H] && (a = g(a, s)),
+ r(function (r, s, o, l) {
+ var u,
+ c,
+ d,
+ p = [],
+ h = [],
+ g = s.length,
+ m = r || v(t || "*", o.nodeType ? [o] : o, []),
+ y = !e || (!r && t) ? m : f(m, p, e, o, l),
+ b = n ? (a || (r ? e : g || i) ? [] : s) : y;
+ if ((n && n(y, b, o, l), i))
+ for (u = f(b, h), i(u, [], o, l), c = u.length; c--; )
+ (d = u[c]) && (b[h[c]] = !(y[h[c]] = d));
+ if (r) {
+ if (a || e) {
+ if (a) {
+ for (u = [], c = b.length; c--; )
+ (d = b[c]) && u.push((y[c] = d));
+ a(null, (b = []), u, l);
+ }
+ for (c = b.length; c--; )
+ (d = b[c]) &&
+ (u = a ? ee.call(r, d) : p[c]) > -1 &&
+ (r[u] = !(s[u] = d));
+ }
+ } else (b = f(b === s ? b.splice(g, b.length) : b)), a ? a(null, s, b, l) : Q.apply(s, b);
+ })
+ );
+ }
+ function m(e) {
+ for (
+ var t,
+ n,
+ i,
+ r = e.length,
+ a = D.relative[e[0].type],
+ s = a || D.relative[" "],
+ o = a ? 1 : 0,
+ l = p(
+ function (e) {
+ return e === t;
+ },
+ s,
+ !0
+ ),
+ u = p(
+ function (e) {
+ return ee.call(t, e) > -1;
+ },
+ s,
+ !0
+ ),
+ c = [
+ function (e, n, i) {
+ return (
+ (!a && (i || n !== N)) ||
+ ((t = n).nodeType ? l(e, n, i) : u(e, n, i))
+ );
+ },
+ ];
+ r > o;
+ o++
+ )
+ if ((n = D.relative[e[o].type])) c = [p(h(c), n)];
+ else {
+ if ((n = D.filter[e[o].type].apply(null, e[o].matches))[H]) {
+ for (i = ++o; r > i && !D.relative[e[i].type]; i++);
+ return g(
+ o > 1 && h(c),
+ o > 1 &&
+ d(
+ e
+ .slice(0, o - 1)
+ .concat({ value: " " === e[o - 2].type ? "*" : "" })
+ ).replace(oe, "$1"),
+ n,
+ i > o && m(e.slice(o, i)),
+ r > i && m((e = e.slice(i))),
+ r > i && d(e)
+ );
+ }
+ c.push(n);
+ }
+ return h(c);
+ }
+ function y(e, t) {
+ var i = 0,
+ a = t.length > 0,
+ s = e.length > 0,
+ o = function (r, o, l, u, c) {
+ var d,
+ p,
+ h,
+ g = [],
+ m = 0,
+ y = "0",
+ v = r && [],
+ b = null != c,
+ _ = N,
+ x = r || (s && D.find.TAG("*", (c && o.parentNode) || o)),
+ w = (P += null == _ ? 1 : Math.random() || 0.1);
+ for (b && ((N = o !== $ && o), (k = i)); null != (d = x[y]); y++) {
+ if (s && d) {
+ for (p = 0; (h = e[p++]); )
+ if (h(d, o, l)) {
+ u.push(d);
+ break;
+ }
+ b && ((P = w), (k = ++i));
+ }
+ a && ((d = !h && d) && m--, r && v.push(d));
+ }
+ if (((m += y), a && y !== m)) {
+ for (p = 0; (h = t[p++]); ) h(v, g, o, l);
+ if (r) {
+ if (m > 0) for (; y--; ) v[y] || g[y] || (g[y] = V.call(u));
+ g = f(g);
+ }
+ Q.apply(u, g),
+ b && !r && g.length > 0 && m + t.length > 1 && n.uniqueSort(u);
+ }
+ return b && ((P = w), (N = _)), v;
+ };
+ return a ? r(o) : o;
+ }
+ function v(e, t, i) {
+ for (var r = 0, a = t.length; a > r; r++) n(e, t[r], i);
+ return i;
+ }
+ function b(e, t, n, i) {
+ var r,
+ a,
+ s,
+ o,
+ l,
+ u = c(e);
+ if (!i && 1 === u.length) {
+ if (
+ (a = u[0] = u[0].slice(0)).length > 2 &&
+ "ID" === (s = a[0]).type &&
+ x.getById &&
+ 9 === t.nodeType &&
+ E &&
+ D.relative[a[1].type]
+ ) {
+ if (!(t = (D.find.ID(s.matches[0].replace(xe, ke), t) || [])[0]))
+ return n;
+ e = e.slice(a.shift().value.length);
+ }
+ for (
+ r = ge.needsContext.test(e) ? 0 : a.length;
+ r-- && ((s = a[r]), !D.relative[(o = s.type)]);
+
+ )
+ if (
+ (l = D.find[o]) &&
+ (i = l(
+ s.matches[0].replace(xe, ke),
+ (de.test(a[0].type) && t.parentNode) || t
+ ))
+ ) {
+ if ((a.splice(r, 1), !(e = i.length && d(a))))
+ return Q.apply(n, i), n;
+ break;
+ }
+ }
+ return T(e, u)(i, t, !E, n, de.test(e)), n;
+ }
+ var _,
+ x,
+ k,
+ D,
+ w,
+ C,
+ T,
+ N,
+ M,
+ S,
+ $,
+ A,
+ E,
+ j,
+ I,
+ F,
+ L,
+ H = "sizzle" + -new Date(),
+ O = e.document,
+ P = 0,
+ R = 0,
+ Y = i(),
+ q = i(),
+ W = i(),
+ B = !1,
+ z = function (e, t) {
+ return e === t ? ((B = !0), 0) : 0;
+ },
+ K = typeof t,
+ U = 1 << 31,
+ X = {}.hasOwnProperty,
+ G = [],
+ V = G.pop,
+ J = G.push,
+ Q = G.push,
+ Z = G.slice,
+ ee =
+ G.indexOf ||
+ function (e) {
+ for (var t = 0, n = this.length; n > t; t++)
+ if (this[t] === e) return t;
+ return -1;
+ },
+ te =
+ "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",
+ ne = "[\\x20\\t\\r\\n\\f]",
+ ie = "(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",
+ re = ie.replace("w", "w#"),
+ ae =
+ "\\[" +
+ ne +
+ "*(" +
+ ie +
+ ")" +
+ ne +
+ "*(?:([*^$|!~]?=)" +
+ ne +
+ "*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|(" +
+ re +
+ ")|)|)" +
+ ne +
+ "*\\]",
+ se =
+ ":(" +
+ ie +
+ ")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|" +
+ ae.replace(3, 8) +
+ ")*)|.*)\\)|)",
+ oe = RegExp("^" + ne + "+|((?:^|[^\\\\])(?:\\\\.)*)" + ne + "+$", "g"),
+ le = RegExp("^" + ne + "*," + ne + "*"),
+ ce = RegExp("^" + ne + "*([>+~]|" + ne + ")" + ne + "*"),
+ de = RegExp(ne + "*[+~]"),
+ pe = RegExp("=" + ne + "*([^\\]'\"]*)" + ne + "*\\]", "g"),
+ he = RegExp(se),
+ fe = RegExp("^" + re + "$"),
+ ge = {
+ ID: RegExp("^#(" + ie + ")"),
+ CLASS: RegExp("^\\.(" + ie + ")"),
+ TAG: RegExp("^(" + ie.replace("w", "w*") + ")"),
+ ATTR: RegExp("^" + ae),
+ PSEUDO: RegExp("^" + se),
+ CHILD: RegExp(
+ "^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" +
+ ne +
+ "*(even|odd|(([+-]|)(\\d*)n|)" +
+ ne +
+ "*(?:([+-]|)" +
+ ne +
+ "*(\\d+)|))" +
+ ne +
+ "*\\)|)",
+ "i"
+ ),
+ bool: RegExp("^(?:" + te + ")$", "i"),
+ needsContext: RegExp(
+ "^" +
+ ne +
+ "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" +
+ ne +
+ "*((?:-\\d)?\\d*)" +
+ ne +
+ "*\\)|)(?=[^-]|$)",
+ "i"
+ ),
+ },
+ me = /^[^{]+\{\s*\[native \w/,
+ ye = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,
+ ve = /^(?:input|select|textarea|button)$/i,
+ be = /^h\d$/i,
+ _e = /'|\\/g,
+ xe = RegExp("\\\\([\\da-f]{1,6}" + ne + "?|(" + ne + ")|.)", "ig"),
+ ke = function (e, t, n) {
+ var i = "0x" + t - 65536;
+ return i !== i || n
+ ? t
+ : 0 > i
+ ? String.fromCharCode(i + 65536)
+ : String.fromCharCode(55296 | (i >> 10), 56320 | (1023 & i));
+ };
+ try {
+ Q.apply((G = Z.call(O.childNodes)), O.childNodes),
+ G[O.childNodes.length].nodeType;
+ } catch (e) {
+ Q = {
+ apply: G.length
+ ? function (e, t) {
+ J.apply(e, Z.call(t));
+ }
+ : function (e, t) {
+ for (var n = e.length, i = 0; (e[n++] = t[i++]); );
+ e.length = n - 1;
+ },
+ };
+ }
+ (C = n.isXML =
+ function (e) {
+ var t = e && (e.ownerDocument || e).documentElement;
+ return !!t && "HTML" !== t.nodeName;
+ }),
+ (x = n.support = {}),
+ (S = n.setDocument =
+ function (e) {
+ var n = e ? e.ownerDocument || e : O,
+ i = n.defaultView;
+ return n !== $ && 9 === n.nodeType && n.documentElement
+ ? (($ = n),
+ (A = n.documentElement),
+ (E = !C(n)),
+ i &&
+ i.attachEvent &&
+ i !== i.top &&
+ i.attachEvent("onbeforeunload", function () {
+ S();
+ }),
+ (x.attributes = a(function (e) {
+ return (e.className = "i"), !e.getAttribute("className");
+ })),
+ (x.getElementsByTagName = a(function (e) {
+ return (
+ e.appendChild(n.createComment("")),
+ !e.getElementsByTagName("*").length
+ );
+ })),
+ (x.getElementsByClassName = a(function (e) {
+ return (
+ (e.innerHTML =
+ "
"),
+ (e.firstChild.className = "i"),
+ 2 === e.getElementsByClassName("i").length
+ );
+ })),
+ (x.getById = a(function (e) {
+ return (
+ (A.appendChild(e).id = H),
+ !n.getElementsByName || !n.getElementsByName(H).length
+ );
+ })),
+ x.getById
+ ? ((D.find.ID = function (e, t) {
+ if (typeof t.getElementById !== K && E) {
+ var n = t.getElementById(e);
+ return n && n.parentNode ? [n] : [];
+ }
+ }),
+ (D.filter.ID = function (e) {
+ var t = e.replace(xe, ke);
+ return function (e) {
+ return e.getAttribute("id") === t;
+ };
+ }))
+ : (delete D.find.ID,
+ (D.filter.ID = function (e) {
+ var t = e.replace(xe, ke);
+ return function (e) {
+ var n =
+ typeof e.getAttributeNode !== K &&
+ e.getAttributeNode("id");
+ return n && n.value === t;
+ };
+ })),
+ (D.find.TAG = x.getElementsByTagName
+ ? function (e, n) {
+ return typeof n.getElementsByTagName !== K
+ ? n.getElementsByTagName(e)
+ : t;
+ }
+ : function (e, t) {
+ var n,
+ i = [],
+ r = 0,
+ a = t.getElementsByTagName(e);
+ if ("*" === e) {
+ for (; (n = a[r++]); ) 1 === n.nodeType && i.push(n);
+ return i;
+ }
+ return a;
+ }),
+ (D.find.CLASS =
+ x.getElementsByClassName &&
+ function (e, n) {
+ return typeof n.getElementsByClassName !== K && E
+ ? n.getElementsByClassName(e)
+ : t;
+ }),
+ (I = []),
+ (j = []),
+ (x.qsa = me.test(n.querySelectorAll)) &&
+ (a(function (e) {
+ (e.innerHTML =
+ " "),
+ e.querySelectorAll("[selected]").length ||
+ j.push("\\[" + ne + "*(?:value|" + te + ")"),
+ e.querySelectorAll(":checked").length ||
+ j.push(":checked");
+ }),
+ a(function (e) {
+ var t = n.createElement("input");
+ t.setAttribute("type", "hidden"),
+ e.appendChild(t).setAttribute("t", ""),
+ e.querySelectorAll("[t^='']").length &&
+ j.push("[*^$]=" + ne + "*(?:''|\"\")"),
+ e.querySelectorAll(":enabled").length ||
+ j.push(":enabled", ":disabled"),
+ e.querySelectorAll("*,:x"),
+ j.push(",.*:");
+ })),
+ (x.matchesSelector = me.test(
+ (F =
+ A.webkitMatchesSelector ||
+ A.mozMatchesSelector ||
+ A.oMatchesSelector ||
+ A.msMatchesSelector)
+ )) &&
+ a(function (e) {
+ (x.disconnectedMatch = F.call(e, "div")),
+ F.call(e, "[s!='']:x"),
+ I.push("!=", se);
+ }),
+ (j = j.length && RegExp(j.join("|"))),
+ (I = I.length && RegExp(I.join("|"))),
+ (L =
+ me.test(A.contains) || A.compareDocumentPosition
+ ? function (e, t) {
+ var n = 9 === e.nodeType ? e.documentElement : e,
+ i = t && t.parentNode;
+ return (
+ e === i ||
+ !(
+ !i ||
+ 1 !== i.nodeType ||
+ !(n.contains
+ ? n.contains(i)
+ : e.compareDocumentPosition &&
+ 16 & e.compareDocumentPosition(i))
+ )
+ );
+ }
+ : function (e, t) {
+ if (t)
+ for (; (t = t.parentNode); ) if (t === e) return !0;
+ return !1;
+ }),
+ (z = A.compareDocumentPosition
+ ? function (e, t) {
+ if (e === t) return (B = !0), 0;
+ var i =
+ t.compareDocumentPosition &&
+ e.compareDocumentPosition &&
+ e.compareDocumentPosition(t);
+ return i
+ ? 1 & i ||
+ (!x.sortDetached &&
+ t.compareDocumentPosition(e) === i)
+ ? e === n || L(O, e)
+ ? -1
+ : t === n || L(O, t)
+ ? 1
+ : M
+ ? ee.call(M, e) - ee.call(M, t)
+ : 0
+ : 4 & i
+ ? -1
+ : 1
+ : e.compareDocumentPosition
+ ? -1
+ : 1;
+ }
+ : function (e, t) {
+ var i,
+ r = 0,
+ a = e.parentNode,
+ s = t.parentNode,
+ l = [e],
+ u = [t];
+ if (e === t) return (B = !0), 0;
+ if (!a || !s)
+ return e === n
+ ? -1
+ : t === n
+ ? 1
+ : a
+ ? -1
+ : s
+ ? 1
+ : M
+ ? ee.call(M, e) - ee.call(M, t)
+ : 0;
+ if (a === s) return o(e, t);
+ for (i = e; (i = i.parentNode); ) l.unshift(i);
+ for (i = t; (i = i.parentNode); ) u.unshift(i);
+ for (; l[r] === u[r]; ) r++;
+ return r
+ ? o(l[r], u[r])
+ : l[r] === O
+ ? -1
+ : u[r] === O
+ ? 1
+ : 0;
+ }),
+ n)
+ : $;
+ }),
+ (n.matches = function (e, t) {
+ return n(e, null, null, t);
+ }),
+ (n.matchesSelector = function (e, t) {
+ if (
+ ((e.ownerDocument || e) !== $ && S(e),
+ (t = t.replace(pe, "='$1']")),
+ !(!x.matchesSelector || !E || (I && I.test(t)) || (j && j.test(t))))
+ )
+ try {
+ var i = F.call(e, t);
+ if (
+ i ||
+ x.disconnectedMatch ||
+ (e.document && 11 !== e.document.nodeType)
+ )
+ return i;
+ } catch (e) {}
+ return n(t, $, null, [e]).length > 0;
+ }),
+ (n.contains = function (e, t) {
+ return (e.ownerDocument || e) !== $ && S(e), L(e, t);
+ }),
+ (n.attr = function (e, n) {
+ (e.ownerDocument || e) !== $ && S(e);
+ var i = D.attrHandle[n.toLowerCase()],
+ r = i && X.call(D.attrHandle, n.toLowerCase()) ? i(e, n, !E) : t;
+ return r === t
+ ? x.attributes || !E
+ ? e.getAttribute(n)
+ : (r = e.getAttributeNode(n)) && r.specified
+ ? r.value
+ : null
+ : r;
+ }),
+ (n.error = function (e) {
+ throw Error("Syntax error, unrecognized expression: " + e);
+ }),
+ (n.uniqueSort = function (e) {
+ var t,
+ n = [],
+ i = 0,
+ r = 0;
+ if (
+ ((B = !x.detectDuplicates),
+ (M = !x.sortStable && e.slice(0)),
+ e.sort(z),
+ B)
+ ) {
+ for (; (t = e[r++]); ) t === e[r] && (i = n.push(r));
+ for (; i--; ) e.splice(n[i], 1);
+ }
+ return e;
+ }),
+ (w = n.getText =
+ function (e) {
+ var t,
+ n = "",
+ i = 0,
+ r = e.nodeType;
+ if (r) {
+ if (1 === r || 9 === r || 11 === r) {
+ if ("string" == typeof e.textContent) return e.textContent;
+ for (e = e.firstChild; e; e = e.nextSibling) n += w(e);
+ } else if (3 === r || 4 === r) return e.nodeValue;
+ } else for (; (t = e[i]); i++) n += w(t);
+ return n;
+ }),
+ ((D = n.selectors =
+ {
+ cacheLength: 50,
+ createPseudo: r,
+ match: ge,
+ attrHandle: {},
+ find: {},
+ relative: {
+ ">": { dir: "parentNode", first: !0 },
+ " ": { dir: "parentNode" },
+ "+": { dir: "previousSibling", first: !0 },
+ "~": { dir: "previousSibling" },
+ },
+ preFilter: {
+ ATTR: function (e) {
+ return (
+ (e[1] = e[1].replace(xe, ke)),
+ (e[3] = (e[4] || e[5] || "").replace(xe, ke)),
+ "~=" === e[2] && (e[3] = " " + e[3] + " "),
+ e.slice(0, 4)
+ );
+ },
+ CHILD: function (e) {
+ return (
+ (e[1] = e[1].toLowerCase()),
+ "nth" === e[1].slice(0, 3)
+ ? (e[3] || n.error(e[0]),
+ (e[4] = +(e[4]
+ ? e[5] + (e[6] || 1)
+ : 2 * ("even" === e[3] || "odd" === e[3]))),
+ (e[5] = +(e[7] + e[8] || "odd" === e[3])))
+ : e[3] && n.error(e[0]),
+ e
+ );
+ },
+ PSEUDO: function (e) {
+ var n,
+ i = !e[5] && e[2];
+ return ge.CHILD.test(e[0])
+ ? null
+ : (e[3] && e[4] !== t
+ ? (e[2] = e[4])
+ : i &&
+ he.test(i) &&
+ (n = c(i, !0)) &&
+ (n = i.indexOf(")", i.length - n) - i.length) &&
+ ((e[0] = e[0].slice(0, n)), (e[2] = i.slice(0, n))),
+ e.slice(0, 3));
+ },
+ },
+ filter: {
+ TAG: function (e) {
+ var t = e.replace(xe, ke).toLowerCase();
+ return "*" === e
+ ? function () {
+ return !0;
+ }
+ : function (e) {
+ return e.nodeName && e.nodeName.toLowerCase() === t;
+ };
+ },
+ CLASS: function (e) {
+ var t = Y[e + " "];
+ return (
+ t ||
+ ((t = RegExp("(^|" + ne + ")" + e + "(" + ne + "|$)")) &&
+ Y(e, function (e) {
+ return t.test(
+ ("string" == typeof e.className && e.className) ||
+ (typeof e.getAttribute !== K &&
+ e.getAttribute("class")) ||
+ ""
+ );
+ }))
+ );
+ },
+ ATTR: function (e, t, i) {
+ return function (r) {
+ var a = n.attr(r, e);
+ return null == a
+ ? "!=" === t
+ : !t ||
+ ((a += ""),
+ "=" === t
+ ? a === i
+ : "!=" === t
+ ? a !== i
+ : "^=" === t
+ ? i && 0 === a.indexOf(i)
+ : "*=" === t
+ ? i && a.indexOf(i) > -1
+ : "$=" === t
+ ? i && a.slice(-i.length) === i
+ : "~=" === t
+ ? (" " + a + " ").indexOf(i) > -1
+ : "|=" === t &&
+ (a === i || a.slice(0, i.length + 1) === i + "-"));
+ };
+ },
+ CHILD: function (e, t, n, i, r) {
+ var a = "nth" !== e.slice(0, 3),
+ s = "last" !== e.slice(-4),
+ o = "of-type" === t;
+ return 1 === i && 0 === r
+ ? function (e) {
+ return !!e.parentNode;
+ }
+ : function (t, n, l) {
+ var u,
+ c,
+ d,
+ p,
+ h,
+ f,
+ g = a !== s ? "nextSibling" : "previousSibling",
+ m = t.parentNode,
+ y = o && t.nodeName.toLowerCase(),
+ v = !l && !o;
+ if (m) {
+ if (a) {
+ for (; g; ) {
+ for (d = t; (d = d[g]); )
+ if (
+ o
+ ? d.nodeName.toLowerCase() === y
+ : 1 === d.nodeType
+ )
+ return !1;
+ f = g = "only" === e && !f && "nextSibling";
+ }
+ return !0;
+ }
+ if (((f = [s ? m.firstChild : m.lastChild]), s && v)) {
+ for (
+ h =
+ (u = (c = m[H] || (m[H] = {}))[e] || [])[0] ===
+ P && u[1],
+ p = u[0] === P && u[2],
+ d = h && m.childNodes[h];
+ (d = (++h && d && d[g]) || (p = h = 0) || f.pop());
+
+ )
+ if (1 === d.nodeType && ++p && d === t) {
+ c[e] = [P, h, p];
+ break;
+ }
+ } else if (
+ v &&
+ (u = (t[H] || (t[H] = {}))[e]) &&
+ u[0] === P
+ )
+ p = u[1];
+ else
+ for (
+ ;
+ (d =
+ (++h && d && d[g]) || (p = h = 0) || f.pop()) &&
+ ((o
+ ? d.nodeName.toLowerCase() !== y
+ : 1 !== d.nodeType) ||
+ !++p ||
+ (v && ((d[H] || (d[H] = {}))[e] = [P, p]),
+ d !== t));
+
+ );
+ return (p -= r) === i || (0 == p % i && p / i >= 0);
+ }
+ };
+ },
+ PSEUDO: function (e, t) {
+ var i,
+ a =
+ D.pseudos[e] ||
+ D.setFilters[e.toLowerCase()] ||
+ n.error("unsupported pseudo: " + e);
+ return a[H]
+ ? a(t)
+ : a.length > 1
+ ? ((i = [e, e, "", t]),
+ D.setFilters.hasOwnProperty(e.toLowerCase())
+ ? r(function (e, n) {
+ for (var i, r = a(e, t), s = r.length; s--; )
+ (i = ee.call(e, r[s])), (e[i] = !(n[i] = r[s]));
+ })
+ : function (e) {
+ return a(e, 0, i);
+ })
+ : a;
+ },
+ },
+ pseudos: {
+ not: r(function (e) {
+ var t = [],
+ n = [],
+ i = T(e.replace(oe, "$1"));
+ return i[H]
+ ? r(function (e, t, n, r) {
+ for (var a, s = i(e, null, r, []), o = e.length; o--; )
+ (a = s[o]) && (e[o] = !(t[o] = a));
+ })
+ : function (e, r, a) {
+ return (t[0] = e), i(t, null, a, n), !n.pop();
+ };
+ }),
+ has: r(function (e) {
+ return function (t) {
+ return n(e, t).length > 0;
+ };
+ }),
+ contains: r(function (e) {
+ return function (t) {
+ return (t.textContent || t.innerText || w(t)).indexOf(e) > -1;
+ };
+ }),
+ lang: r(function (e) {
+ return (
+ fe.test(e || "") || n.error("unsupported lang: " + e),
+ (e = e.replace(xe, ke).toLowerCase()),
+ function (t) {
+ var n;
+ do {
+ if (
+ (n = E
+ ? t.lang
+ : t.getAttribute("xml:lang") ||
+ t.getAttribute("lang"))
+ )
+ return (
+ (n = n.toLowerCase()) === e ||
+ 0 === n.indexOf(e + "-")
+ );
+ } while ((t = t.parentNode) && 1 === t.nodeType);
+ return !1;
+ }
+ );
+ }),
+ target: function (t) {
+ var n = e.location && e.location.hash;
+ return n && n.slice(1) === t.id;
+ },
+ root: function (e) {
+ return e === A;
+ },
+ focus: function (e) {
+ return (
+ e === $.activeElement &&
+ (!$.hasFocus || $.hasFocus()) &&
+ !!(e.type || e.href || ~e.tabIndex)
+ );
+ },
+ enabled: function (e) {
+ return !1 === e.disabled;
+ },
+ disabled: function (e) {
+ return !0 === e.disabled;
+ },
+ checked: function (e) {
+ var t = e.nodeName.toLowerCase();
+ return (
+ ("input" === t && !!e.checked) ||
+ ("option" === t && !!e.selected)
+ );
+ },
+ selected: function (e) {
+ return (
+ e.parentNode && e.parentNode.selectedIndex, !0 === e.selected
+ );
+ },
+ empty: function (e) {
+ for (e = e.firstChild; e; e = e.nextSibling)
+ if (e.nodeName > "@" || 3 === e.nodeType || 4 === e.nodeType)
+ return !1;
+ return !0;
+ },
+ parent: function (e) {
+ return !D.pseudos.empty(e);
+ },
+ header: function (e) {
+ return be.test(e.nodeName);
+ },
+ input: function (e) {
+ return ve.test(e.nodeName);
+ },
+ button: function (e) {
+ var t = e.nodeName.toLowerCase();
+ return ("input" === t && "button" === e.type) || "button" === t;
+ },
+ text: function (e) {
+ var t;
+ return (
+ "input" === e.nodeName.toLowerCase() &&
+ "text" === e.type &&
+ (null == (t = e.getAttribute("type")) ||
+ t.toLowerCase() === e.type)
+ );
+ },
+ first: l(function () {
+ return [0];
+ }),
+ last: l(function (e, t) {
+ return [t - 1];
+ }),
+ eq: l(function (e, t, n) {
+ return [0 > n ? n + t : n];
+ }),
+ even: l(function (e, t) {
+ for (var n = 0; t > n; n += 2) e.push(n);
+ return e;
+ }),
+ odd: l(function (e, t) {
+ for (var n = 1; t > n; n += 2) e.push(n);
+ return e;
+ }),
+ lt: l(function (e, t, n) {
+ for (var i = 0 > n ? n + t : n; --i >= 0; ) e.push(i);
+ return e;
+ }),
+ gt: l(function (e, t, n) {
+ for (var i = 0 > n ? n + t : n; t > ++i; ) e.push(i);
+ return e;
+ }),
+ },
+ }).pseudos.nth = D.pseudos.eq);
+ for (_ in { radio: !0, checkbox: !0, file: !0, password: !0, image: !0 })
+ D.pseudos[_] = (function (e) {
+ return function (t) {
+ return "input" === t.nodeName.toLowerCase() && t.type === e;
+ };
+ })(_);
+ for (_ in { submit: !0, reset: !0 })
+ D.pseudos[_] = (function (e) {
+ return function (t) {
+ var n = t.nodeName.toLowerCase();
+ return ("input" === n || "button" === n) && t.type === e;
+ };
+ })(_);
+ (u.prototype = D.filters = D.pseudos),
+ (D.setFilters = new u()),
+ (T = n.compile =
+ function (e, t) {
+ var n,
+ i = [],
+ r = [],
+ a = W[e + " "];
+ if (!a) {
+ for (t || (t = c(e)), n = t.length; n--; )
+ (a = m(t[n])), a[H] ? i.push(a) : r.push(a);
+ a = W(e, y(r, i));
+ }
+ return a;
+ }),
+ (x.sortStable = H.split("").sort(z).join("") === H),
+ (x.detectDuplicates = B),
+ S(),
+ (x.sortDetached = a(function (e) {
+ return 1 & e.compareDocumentPosition($.createElement("div"));
+ })),
+ a(function (e) {
+ return (
+ (e.innerHTML = " "),
+ "#" === e.firstChild.getAttribute("href")
+ );
+ }) ||
+ s("type|href|height|width", function (e, n, i) {
+ return i
+ ? t
+ : e.getAttribute(n, "type" === n.toLowerCase() ? 1 : 2);
+ }),
+ (x.attributes &&
+ a(function (e) {
+ return (
+ (e.innerHTML = " "),
+ e.firstChild.setAttribute("value", ""),
+ "" === e.firstChild.getAttribute("value")
+ );
+ })) ||
+ s("value", function (e, n, i) {
+ return i || "input" !== e.nodeName.toLowerCase()
+ ? t
+ : e.defaultValue;
+ }),
+ a(function (e) {
+ return null == e.getAttribute("disabled");
+ }) ||
+ s(te, function (e, n, i) {
+ var r;
+ return i
+ ? t
+ : (r = e.getAttributeNode(n)) && r.specified
+ ? r.value
+ : !0 === e[n]
+ ? n.toLowerCase()
+ : null;
+ }),
+ (ue.find = n),
+ (ue.expr = n.selectors),
+ (ue.expr[":"] = ue.expr.pseudos),
+ (ue.unique = n.uniqueSort),
+ (ue.text = n.getText),
+ (ue.isXMLDoc = n.isXML),
+ (ue.contains = n.contains);
+ })(e);
+ var we = {};
+ (ue.Callbacks = function (e) {
+ var n,
+ r,
+ a,
+ s,
+ o,
+ l,
+ u = [],
+ c =
+ !(e = "string" == typeof e ? we[e] || i(e) : ue.extend({}, e)).once &&
+ [],
+ d = function (t) {
+ for (
+ r = e.memory && t, a = !0, o = l || 0, l = 0, s = u.length, n = !0;
+ u && s > o;
+ o++
+ )
+ if (!1 === u[o].apply(t[0], t[1]) && e.stopOnFalse) {
+ r = !1;
+ break;
+ }
+ (n = !1),
+ u && (c ? c.length && d(c.shift()) : r ? (u = []) : p.disable());
+ },
+ p = {
+ add: function () {
+ if (u) {
+ var t = u.length;
+ (function t(n) {
+ ue.each(n, function (n, i) {
+ var r = ue.type(i);
+ "function" === r
+ ? (e.unique && p.has(i)) || u.push(i)
+ : i && i.length && "string" !== r && t(i);
+ });
+ })(arguments),
+ n ? (s = u.length) : r && ((l = t), d(r));
+ }
+ return this;
+ },
+ remove: function () {
+ return (
+ u &&
+ ue.each(arguments, function (e, t) {
+ for (var i; (i = ue.inArray(t, u, i)) > -1; )
+ u.splice(i, 1), n && (s >= i && s--, o >= i && o--);
+ }),
+ this
+ );
+ },
+ has: function (e) {
+ return e ? ue.inArray(e, u) > -1 : !(!u || !u.length);
+ },
+ empty: function () {
+ return (u = []), (s = 0), this;
+ },
+ disable: function () {
+ return (u = c = r = t), this;
+ },
+ disabled: function () {
+ return !u;
+ },
+ lock: function () {
+ return (c = t), r || p.disable(), this;
+ },
+ locked: function () {
+ return !c;
+ },
+ fireWith: function (e, t) {
+ return (
+ !u ||
+ (a && !c) ||
+ ((t = t || []),
+ (t = [e, t.slice ? t.slice() : t]),
+ n ? c.push(t) : d(t)),
+ this
+ );
+ },
+ fire: function () {
+ return p.fireWith(this, arguments), this;
+ },
+ fired: function () {
+ return !!a;
+ },
+ };
+ return p;
+ }),
+ ue.extend({
+ Deferred: function (e) {
+ var t = [
+ ["resolve", "done", ue.Callbacks("once memory"), "resolved"],
+ ["reject", "fail", ue.Callbacks("once memory"), "rejected"],
+ ["notify", "progress", ue.Callbacks("memory")],
+ ],
+ n = "pending",
+ i = {
+ state: function () {
+ return n;
+ },
+ always: function () {
+ return r.done(arguments).fail(arguments), this;
+ },
+ then: function () {
+ var e = arguments;
+ return ue
+ .Deferred(function (n) {
+ ue.each(t, function (t, a) {
+ var s = a[0],
+ o = ue.isFunction(e[t]) && e[t];
+ r[a[1]](function () {
+ var e = o && o.apply(this, arguments);
+ e && ue.isFunction(e.promise)
+ ? e
+ .promise()
+ .done(n.resolve)
+ .fail(n.reject)
+ .progress(n.notify)
+ : n[s + "With"](
+ this === i ? n.promise() : this,
+ o ? [e] : arguments
+ );
+ });
+ }),
+ (e = null);
+ })
+ .promise();
+ },
+ promise: function (e) {
+ return null != e ? ue.extend(e, i) : i;
+ },
+ },
+ r = {};
+ return (
+ (i.pipe = i.then),
+ ue.each(t, function (e, a) {
+ var s = a[2],
+ o = a[3];
+ (i[a[1]] = s.add),
+ o &&
+ s.add(
+ function () {
+ n = o;
+ },
+ t[1 ^ e][2].disable,
+ t[2][2].lock
+ ),
+ (r[a[0]] = function () {
+ return r[a[0] + "With"](this === r ? i : this, arguments), this;
+ }),
+ (r[a[0] + "With"] = s.fireWith);
+ }),
+ i.promise(r),
+ e && e.call(r, r),
+ r
+ );
+ },
+ when: function (e) {
+ var t,
+ n,
+ i,
+ r = 0,
+ a = re.call(arguments),
+ s = a.length,
+ o = 1 !== s || (e && ue.isFunction(e.promise)) ? s : 0,
+ l = 1 === o ? e : ue.Deferred(),
+ u = function (e, n, i) {
+ return function (r) {
+ (n[e] = this),
+ (i[e] = arguments.length > 1 ? re.call(arguments) : r),
+ i === t ? l.notifyWith(n, i) : --o || l.resolveWith(n, i);
+ };
+ };
+ if (s > 1)
+ for (t = Array(s), n = Array(s), i = Array(s); s > r; r++)
+ a[r] && ue.isFunction(a[r].promise)
+ ? a[r]
+ .promise()
+ .done(u(r, i, a))
+ .fail(l.reject)
+ .progress(u(r, n, t))
+ : --o;
+ return o || l.resolveWith(i, a), l.promise();
+ },
+ }),
+ (ue.support = (function (t) {
+ var n,
+ i,
+ r,
+ a,
+ s,
+ o,
+ l,
+ u,
+ c,
+ d = G.createElement("div");
+ if (
+ (d.setAttribute("className", "t"),
+ (d.innerHTML =
+ " a "),
+ (n = d.getElementsByTagName("*") || []),
+ !(i = d.getElementsByTagName("a")[0]) || !i.style || !n.length)
+ )
+ return t;
+ (o = (a = G.createElement("select")).appendChild(
+ G.createElement("option")
+ )),
+ (r = d.getElementsByTagName("input")[0]),
+ (i.style.cssText = "top:1px;float:left;opacity:.5"),
+ (t.getSetAttribute = "t" !== d.className),
+ (t.leadingWhitespace = 3 === d.firstChild.nodeType),
+ (t.tbody = !d.getElementsByTagName("tbody").length),
+ (t.htmlSerialize = !!d.getElementsByTagName("link").length),
+ (t.style = /top/.test(i.getAttribute("style"))),
+ (t.hrefNormalized = "/a" === i.getAttribute("href")),
+ (t.opacity = /^0.5/.test(i.style.opacity)),
+ (t.cssFloat = !!i.style.cssFloat),
+ (t.checkOn = !!r.value),
+ (t.optSelected = o.selected),
+ (t.enctype = !!G.createElement("form").enctype),
+ (t.html5Clone =
+ "<:nav>" !== G.createElement("nav").cloneNode(!0).outerHTML),
+ (t.inlineBlockNeedsLayout = !1),
+ (t.shrinkWrapBlocks = !1),
+ (t.pixelPosition = !1),
+ (t.deleteExpando = !0),
+ (t.noCloneEvent = !0),
+ (t.reliableMarginRight = !0),
+ (t.boxSizingReliable = !0),
+ (r.checked = !0),
+ (t.noCloneChecked = r.cloneNode(!0).checked),
+ (a.disabled = !0),
+ (t.optDisabled = !o.disabled);
+ try {
+ delete d.test;
+ } catch (e) {
+ t.deleteExpando = !1;
+ }
+ (r = G.createElement("input")).setAttribute("value", ""),
+ (t.input = "" === r.getAttribute("value")),
+ (r.value = "t"),
+ r.setAttribute("type", "radio"),
+ (t.radioValue = "t" === r.value),
+ r.setAttribute("checked", "t"),
+ r.setAttribute("name", "t"),
+ (s = G.createDocumentFragment()).appendChild(r),
+ (t.appendChecked = r.checked),
+ (t.checkClone = s.cloneNode(!0).cloneNode(!0).lastChild.checked),
+ d.attachEvent &&
+ (d.attachEvent("onclick", function () {
+ t.noCloneEvent = !1;
+ }),
+ d.cloneNode(!0).click());
+ for (c in { submit: !0, change: !0, focusin: !0 })
+ d.setAttribute((l = "on" + c), "t"),
+ (t[c + "Bubbles"] = l in e || !1 === d.attributes[l].expando);
+ (d.style.backgroundClip = "content-box"),
+ (d.cloneNode(!0).style.backgroundClip = ""),
+ (t.clearCloneStyle = "content-box" === d.style.backgroundClip);
+ for (c in ue(t)) break;
+ return (
+ (t.ownLast = "0" !== c),
+ ue(function () {
+ var n,
+ i,
+ r,
+ a =
+ "padding:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;",
+ s = G.getElementsByTagName("body")[0];
+ s &&
+ ((n = G.createElement("div")),
+ (n.style.cssText =
+ "border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px"),
+ s.appendChild(n).appendChild(d),
+ (d.innerHTML = ""),
+ (r = d.getElementsByTagName("td")),
+ (r[0].style.cssText = "padding:0;margin:0;border:0;display:none"),
+ (u = 0 === r[0].offsetHeight),
+ (r[0].style.display = ""),
+ (r[1].style.display = "none"),
+ (t.reliableHiddenOffsets = u && 0 === r[0].offsetHeight),
+ (d.innerHTML = ""),
+ (d.style.cssText =
+ "box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;"),
+ ue.swap(s, null != s.style.zoom ? { zoom: 1 } : {}, function () {
+ t.boxSizing = 4 === d.offsetWidth;
+ }),
+ e.getComputedStyle &&
+ ((t.pixelPosition =
+ "1%" !== (e.getComputedStyle(d, null) || {}).top),
+ (t.boxSizingReliable =
+ "4px" ===
+ (e.getComputedStyle(d, null) || { width: "4px" }).width),
+ (i = d.appendChild(G.createElement("div"))),
+ (i.style.cssText = d.style.cssText = a),
+ (i.style.marginRight = i.style.width = "0"),
+ (d.style.width = "1px"),
+ (t.reliableMarginRight = !parseFloat(
+ (e.getComputedStyle(i, null) || {}).marginRight
+ ))),
+ typeof d.style.zoom !== U &&
+ ((d.innerHTML = ""),
+ (d.style.cssText =
+ a + "width:1px;padding:1px;display:inline;zoom:1"),
+ (t.inlineBlockNeedsLayout = 3 === d.offsetWidth),
+ (d.style.display = "block"),
+ (d.innerHTML = "
"),
+ (d.firstChild.style.width = "5px"),
+ (t.shrinkWrapBlocks = 3 !== d.offsetWidth),
+ t.inlineBlockNeedsLayout && (s.style.zoom = 1)),
+ s.removeChild(n),
+ (n = d = r = i = null));
+ }),
+ (n = a = s = o = i = r = null),
+ t
+ );
+ })({}));
+ var Ce = /(?:\{[\s\S]*\}|\[[\s\S]*\])$/,
+ Te = /([A-Z])/g;
+ ue.extend({
+ cache: {},
+ noData: {
+ applet: !0,
+ embed: !0,
+ object: "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",
+ },
+ hasData: function (e) {
+ return (
+ !!(e = e.nodeType ? ue.cache[e[ue.expando]] : e[ue.expando]) && !o(e)
+ );
+ },
+ data: function (e, t, n) {
+ return r(e, t, n);
+ },
+ removeData: function (e, t) {
+ return a(e, t);
+ },
+ _data: function (e, t, n) {
+ return r(e, t, n, !0);
+ },
+ _removeData: function (e, t) {
+ return a(e, t, !0);
+ },
+ acceptData: function (e) {
+ if (e.nodeType && 1 !== e.nodeType && 9 !== e.nodeType) return !1;
+ var t = e.nodeName && ue.noData[e.nodeName.toLowerCase()];
+ return !t || (!0 !== t && e.getAttribute("classid") === t);
+ },
+ }),
+ ue.fn.extend({
+ data: function (e, n) {
+ var i,
+ r,
+ a = null,
+ o = 0,
+ l = this[0];
+ if (e === t) {
+ if (
+ this.length &&
+ ((a = ue.data(l)), 1 === l.nodeType && !ue._data(l, "parsedAttrs"))
+ ) {
+ for (i = l.attributes; i.length > o; o++)
+ 0 === (r = i[o].name).indexOf("data-") &&
+ ((r = ue.camelCase(r.slice(5))), s(l, r, a[r]));
+ ue._data(l, "parsedAttrs", !0);
+ }
+ return a;
+ }
+ return "object" == typeof e
+ ? this.each(function () {
+ ue.data(this, e);
+ })
+ : arguments.length > 1
+ ? this.each(function () {
+ ue.data(this, e, n);
+ })
+ : l
+ ? s(l, e, ue.data(l, e))
+ : null;
+ },
+ removeData: function (e) {
+ return this.each(function () {
+ ue.removeData(this, e);
+ });
+ },
+ }),
+ ue.extend({
+ queue: function (e, n, i) {
+ var r;
+ return e
+ ? ((n = (n || "fx") + "queue"),
+ (r = ue._data(e, n)),
+ i &&
+ (!r || ue.isArray(i)
+ ? (r = ue._data(e, n, ue.makeArray(i)))
+ : r.push(i)),
+ r || [])
+ : t;
+ },
+ dequeue: function (e, t) {
+ t = t || "fx";
+ var n = ue.queue(e, t),
+ i = n.length,
+ r = n.shift(),
+ a = ue._queueHooks(e, t);
+ "inprogress" === r && ((r = n.shift()), i--),
+ r &&
+ ("fx" === t && n.unshift("inprogress"),
+ delete a.stop,
+ r.call(
+ e,
+ function () {
+ ue.dequeue(e, t);
+ },
+ a
+ )),
+ !i && a && a.empty.fire();
+ },
+ _queueHooks: function (e, t) {
+ var n = t + "queueHooks";
+ return (
+ ue._data(e, n) ||
+ ue._data(e, n, {
+ empty: ue.Callbacks("once memory").add(function () {
+ ue._removeData(e, t + "queue"), ue._removeData(e, n);
+ }),
+ })
+ );
+ },
+ }),
+ ue.fn.extend({
+ queue: function (e, n) {
+ var i = 2;
+ return (
+ "string" != typeof e && ((n = e), (e = "fx"), i--),
+ i > arguments.length
+ ? ue.queue(this[0], e)
+ : n === t
+ ? this
+ : this.each(function () {
+ var t = ue.queue(this, e, n);
+ ue._queueHooks(this, e),
+ "fx" === e && "inprogress" !== t[0] && ue.dequeue(this, e);
+ })
+ );
+ },
+ dequeue: function (e) {
+ return this.each(function () {
+ ue.dequeue(this, e);
+ });
+ },
+ delay: function (e, t) {
+ return (
+ (e = ue.fx ? ue.fx.speeds[e] || e : e),
+ (t = t || "fx"),
+ this.queue(t, function (t, n) {
+ var i = setTimeout(t, e);
+ n.stop = function () {
+ clearTimeout(i);
+ };
+ })
+ );
+ },
+ clearQueue: function (e) {
+ return this.queue(e || "fx", []);
+ },
+ promise: function (e, n) {
+ var i,
+ r = 1,
+ a = ue.Deferred(),
+ s = this,
+ o = this.length,
+ l = function () {
+ --r || a.resolveWith(s, [s]);
+ };
+ for ("string" != typeof e && ((n = e), (e = t)), e = e || "fx"; o--; )
+ (i = ue._data(s[o], e + "queueHooks")) &&
+ i.empty &&
+ (r++, i.empty.add(l));
+ return l(), a.promise(n);
+ },
+ });
+ var Ne,
+ Me,
+ Se = /[\t\r\n\f]/g,
+ $e = /\r/g,
+ Ae = /^(?:input|select|textarea|button|object)$/i,
+ Ee = /^(?:a|area)$/i,
+ je = /^(?:checked|selected)$/i,
+ Ie = ue.support.getSetAttribute,
+ Fe = ue.support.input;
+ ue.fn.extend({
+ attr: function (e, t) {
+ return ue.access(this, ue.attr, e, t, arguments.length > 1);
+ },
+ removeAttr: function (e) {
+ return this.each(function () {
+ ue.removeAttr(this, e);
+ });
+ },
+ prop: function (e, t) {
+ return ue.access(this, ue.prop, e, t, arguments.length > 1);
+ },
+ removeProp: function (e) {
+ return (
+ (e = ue.propFix[e] || e),
+ this.each(function () {
+ try {
+ (this[e] = t), delete this[e];
+ } catch (e) {}
+ })
+ );
+ },
+ addClass: function (e) {
+ var t,
+ n,
+ i,
+ r,
+ a,
+ s = 0,
+ o = this.length,
+ l = "string" == typeof e && e;
+ if (ue.isFunction(e))
+ return this.each(function (t) {
+ ue(this).addClass(e.call(this, t, this.className));
+ });
+ if (l)
+ for (t = (e || "").match(de) || []; o > s; s++)
+ if (
+ ((n = this[s]),
+ (i =
+ 1 === n.nodeType &&
+ (n.className ? (" " + n.className + " ").replace(Se, " ") : " ")))
+ ) {
+ for (a = 0; (r = t[a++]); )
+ 0 > i.indexOf(" " + r + " ") && (i += r + " ");
+ n.className = ue.trim(i);
+ }
+ return this;
+ },
+ removeClass: function (e) {
+ var t,
+ n,
+ i,
+ r,
+ a,
+ s = 0,
+ o = this.length,
+ l = 0 === arguments.length || ("string" == typeof e && e);
+ if (ue.isFunction(e))
+ return this.each(function (t) {
+ ue(this).removeClass(e.call(this, t, this.className));
+ });
+ if (l)
+ for (t = (e || "").match(de) || []; o > s; s++)
+ if (
+ ((n = this[s]),
+ (i =
+ 1 === n.nodeType &&
+ (n.className ? (" " + n.className + " ").replace(Se, " ") : "")))
+ ) {
+ for (a = 0; (r = t[a++]); )
+ for (; i.indexOf(" " + r + " ") >= 0; )
+ i = i.replace(" " + r + " ", " ");
+ n.className = e ? ue.trim(i) : "";
+ }
+ return this;
+ },
+ toggleClass: function (e, t) {
+ var n = typeof e;
+ return "boolean" == typeof t && "string" === n
+ ? t
+ ? this.addClass(e)
+ : this.removeClass(e)
+ : ue.isFunction(e)
+ ? this.each(function (n) {
+ ue(this).toggleClass(e.call(this, n, this.className, t), t);
+ })
+ : this.each(function () {
+ if ("string" === n)
+ for (
+ var t, i = 0, r = ue(this), a = e.match(de) || [];
+ (t = a[i++]);
+
+ )
+ r.hasClass(t) ? r.removeClass(t) : r.addClass(t);
+ else
+ (n === U || "boolean" === n) &&
+ (this.className &&
+ ue._data(this, "__className__", this.className),
+ (this.className =
+ this.className || !1 === e
+ ? ""
+ : ue._data(this, "__className__") || ""));
+ });
+ },
+ hasClass: function (e) {
+ for (var t = " " + e + " ", n = 0, i = this.length; i > n; n++)
+ if (
+ 1 === this[n].nodeType &&
+ (" " + this[n].className + " ").replace(Se, " ").indexOf(t) >= 0
+ )
+ return !0;
+ return !1;
+ },
+ val: function (e) {
+ var n,
+ i,
+ r,
+ a = this[0];
+ return arguments.length
+ ? ((r = ue.isFunction(e)),
+ this.each(function (n) {
+ var a;
+ 1 === this.nodeType &&
+ ((a = r ? e.call(this, n, ue(this).val()) : e),
+ null == a
+ ? (a = "")
+ : "number" == typeof a
+ ? (a += "")
+ : ue.isArray(a) &&
+ (a = ue.map(a, function (e) {
+ return null == e ? "" : e + "";
+ })),
+ ((i =
+ ue.valHooks[this.type] ||
+ ue.valHooks[this.nodeName.toLowerCase()]) &&
+ "set" in i &&
+ i.set(this, a, "value") !== t) ||
+ (this.value = a));
+ }))
+ : a
+ ? ((i = ue.valHooks[a.type] || ue.valHooks[a.nodeName.toLowerCase()]),
+ i && "get" in i && (n = i.get(a, "value")) !== t
+ ? n
+ : ((n = a.value),
+ "string" == typeof n ? n.replace($e, "") : null == n ? "" : n))
+ : void 0;
+ },
+ }),
+ ue.extend({
+ valHooks: {
+ option: {
+ get: function (e) {
+ var t = ue.find.attr(e, "value");
+ return null != t ? t : e.text;
+ },
+ },
+ select: {
+ get: function (e) {
+ for (
+ var t,
+ n,
+ i = e.options,
+ r = e.selectedIndex,
+ a = "select-one" === e.type || 0 > r,
+ s = a ? null : [],
+ o = a ? r + 1 : i.length,
+ l = 0 > r ? o : a ? r : 0;
+ o > l;
+ l++
+ )
+ if (
+ !(
+ (!(n = i[l]).selected && l !== r) ||
+ (ue.support.optDisabled
+ ? n.disabled
+ : null !== n.getAttribute("disabled")) ||
+ (n.parentNode.disabled &&
+ ue.nodeName(n.parentNode, "optgroup"))
+ )
+ ) {
+ if (((t = ue(n).val()), a)) return t;
+ s.push(t);
+ }
+ return s;
+ },
+ set: function (e, t) {
+ for (
+ var n, i, r = e.options, a = ue.makeArray(t), s = r.length;
+ s--;
+
+ )
+ (i = r[s]),
+ (i.selected = ue.inArray(ue(i).val(), a) >= 0) && (n = !0);
+ return n || (e.selectedIndex = -1), a;
+ },
+ },
+ },
+ attr: function (e, n, i) {
+ var r,
+ a,
+ s = e.nodeType;
+ if (e && 3 !== s && 8 !== s && 2 !== s)
+ return typeof e.getAttribute === U
+ ? ue.prop(e, n, i)
+ : ((1 === s && ue.isXMLDoc(e)) ||
+ ((n = n.toLowerCase()),
+ (r =
+ ue.attrHooks[n] || (ue.expr.match.bool.test(n) ? Me : Ne))),
+ i === t
+ ? r && "get" in r && null !== (a = r.get(e, n))
+ ? a
+ : ((a = ue.find.attr(e, n)), null == a ? t : a)
+ : null !== i
+ ? r && "set" in r && (a = r.set(e, i, n)) !== t
+ ? a
+ : (e.setAttribute(n, i + ""), i)
+ : (ue.removeAttr(e, n), t));
+ },
+ removeAttr: function (e, t) {
+ var n,
+ i,
+ r = 0,
+ a = t && t.match(de);
+ if (a && 1 === e.nodeType)
+ for (; (n = a[r++]); )
+ (i = ue.propFix[n] || n),
+ ue.expr.match.bool.test(n)
+ ? (Fe && Ie) || !je.test(n)
+ ? (e[i] = !1)
+ : (e[ue.camelCase("default-" + n)] = e[i] = !1)
+ : ue.attr(e, n, ""),
+ e.removeAttribute(Ie ? n : i);
+ },
+ attrHooks: {
+ type: {
+ set: function (e, t) {
+ if (
+ !ue.support.radioValue &&
+ "radio" === t &&
+ ue.nodeName(e, "input")
+ ) {
+ var n = e.value;
+ return e.setAttribute("type", t), n && (e.value = n), t;
+ }
+ },
+ },
+ },
+ propFix: { for: "htmlFor", class: "className" },
+ prop: function (e, n, i) {
+ var r,
+ a,
+ s = e.nodeType;
+ if (e && 3 !== s && 8 !== s && 2 !== s)
+ return (
+ (1 !== s || !ue.isXMLDoc(e)) &&
+ ((n = ue.propFix[n] || n), (a = ue.propHooks[n])),
+ i !== t
+ ? a && "set" in a && (r = a.set(e, i, n)) !== t
+ ? r
+ : (e[n] = i)
+ : a && "get" in a && null !== (r = a.get(e, n))
+ ? r
+ : e[n]
+ );
+ },
+ propHooks: {
+ tabIndex: {
+ get: function (e) {
+ var t = ue.find.attr(e, "tabindex");
+ return t
+ ? parseInt(t, 10)
+ : Ae.test(e.nodeName) || (Ee.test(e.nodeName) && e.href)
+ ? 0
+ : -1;
+ },
+ },
+ },
+ }),
+ (Me = {
+ set: function (e, t, n) {
+ return (
+ !1 === t
+ ? ue.removeAttr(e, n)
+ : (Fe && Ie) || !je.test(n)
+ ? e.setAttribute((!Ie && ue.propFix[n]) || n, n)
+ : (e[ue.camelCase("default-" + n)] = e[n] = !0),
+ n
+ );
+ },
+ }),
+ ue.each(ue.expr.match.bool.source.match(/\w+/g), function (e, n) {
+ var i = ue.expr.attrHandle[n] || ue.find.attr;
+ ue.expr.attrHandle[n] =
+ (Fe && Ie) || !je.test(n)
+ ? function (e, n, r) {
+ var a = ue.expr.attrHandle[n],
+ s = r
+ ? t
+ : (ue.expr.attrHandle[n] = t) != i(e, n, r)
+ ? n.toLowerCase()
+ : null;
+ return (ue.expr.attrHandle[n] = a), s;
+ }
+ : function (e, n, i) {
+ return i
+ ? t
+ : e[ue.camelCase("default-" + n)]
+ ? n.toLowerCase()
+ : null;
+ };
+ }),
+ (Fe && Ie) ||
+ (ue.attrHooks.value = {
+ set: function (e, n, i) {
+ return ue.nodeName(e, "input")
+ ? ((e.defaultValue = n), t)
+ : Ne && Ne.set(e, n, i);
+ },
+ }),
+ Ie ||
+ ((Ne = {
+ set: function (e, n, i) {
+ var r = e.getAttributeNode(i);
+ return (
+ r || e.setAttributeNode((r = e.ownerDocument.createAttribute(i))),
+ (r.value = n += ""),
+ "value" === i || n === e.getAttribute(i) ? n : t
+ );
+ },
+ }),
+ (ue.expr.attrHandle.id =
+ ue.expr.attrHandle.name =
+ ue.expr.attrHandle.coords =
+ function (e, n, i) {
+ var r;
+ return i
+ ? t
+ : (r = e.getAttributeNode(n)) && "" !== r.value
+ ? r.value
+ : null;
+ }),
+ (ue.valHooks.button = {
+ get: function (e, n) {
+ var i = e.getAttributeNode(n);
+ return i && i.specified ? i.value : t;
+ },
+ set: Ne.set,
+ }),
+ (ue.attrHooks.contenteditable = {
+ set: function (e, t, n) {
+ Ne.set(e, "" !== t && t, n);
+ },
+ }),
+ ue.each(["width", "height"], function (e, n) {
+ ue.attrHooks[n] = {
+ set: function (e, i) {
+ return "" === i ? (e.setAttribute(n, "auto"), i) : t;
+ },
+ };
+ })),
+ ue.support.hrefNormalized ||
+ ue.each(["href", "src"], function (e, t) {
+ ue.propHooks[t] = {
+ get: function (e) {
+ return e.getAttribute(t, 4);
+ },
+ };
+ }),
+ ue.support.style ||
+ (ue.attrHooks.style = {
+ get: function (e) {
+ return e.style.cssText || t;
+ },
+ set: function (e, t) {
+ return (e.style.cssText = t + "");
+ },
+ }),
+ ue.support.optSelected ||
+ (ue.propHooks.selected = {
+ get: function (e) {
+ var t = e.parentNode;
+ return (
+ t && (t.selectedIndex, t.parentNode && t.parentNode.selectedIndex),
+ null
+ );
+ },
+ }),
+ ue.each(
+ [
+ "tabIndex",
+ "readOnly",
+ "maxLength",
+ "cellSpacing",
+ "cellPadding",
+ "rowSpan",
+ "colSpan",
+ "useMap",
+ "frameBorder",
+ "contentEditable",
+ ],
+ function () {
+ ue.propFix[this.toLowerCase()] = this;
+ }
+ ),
+ ue.support.enctype || (ue.propFix.enctype = "encoding"),
+ ue.each(["radio", "checkbox"], function () {
+ (ue.valHooks[this] = {
+ set: function (e, n) {
+ return ue.isArray(n)
+ ? (e.checked = ue.inArray(ue(e).val(), n) >= 0)
+ : t;
+ },
+ }),
+ ue.support.checkOn ||
+ (ue.valHooks[this].get = function (e) {
+ return null === e.getAttribute("value") ? "on" : e.value;
+ });
+ });
+ var Le = /^(?:input|select|textarea)$/i,
+ He = /^key/,
+ Oe = /^(?:mouse|contextmenu)|click/,
+ Pe = /^(?:focusinfocus|focusoutblur)$/,
+ Re = /^([^.]*)(?:\.(.+)|)$/;
+ (ue.event = {
+ global: {},
+ add: function (e, n, i, r, a) {
+ var s,
+ o,
+ l,
+ u,
+ c,
+ d,
+ p,
+ h,
+ f,
+ g,
+ m,
+ y = ue._data(e);
+ if (y) {
+ for (
+ i.handler && ((u = i), (i = u.handler), (a = u.selector)),
+ i.guid || (i.guid = ue.guid++),
+ (o = y.events) || (o = y.events = {}),
+ (d = y.handle) ||
+ ((d = y.handle =
+ function (e) {
+ return typeof ue === U || (e && ue.event.triggered === e.type)
+ ? t
+ : ue.event.dispatch.apply(d.elem, arguments);
+ }),
+ (d.elem = e)),
+ l = (n = (n || "").match(de) || [""]).length;
+ l--;
+
+ )
+ (s = Re.exec(n[l]) || []),
+ (f = m = s[1]),
+ (g = (s[2] || "").split(".").sort()),
+ f &&
+ ((c = ue.event.special[f] || {}),
+ (f = (a ? c.delegateType : c.bindType) || f),
+ (c = ue.event.special[f] || {}),
+ (p = ue.extend(
+ {
+ type: f,
+ origType: m,
+ data: r,
+ handler: i,
+ guid: i.guid,
+ selector: a,
+ needsContext: a && ue.expr.match.needsContext.test(a),
+ namespace: g.join("."),
+ },
+ u
+ )),
+ (h = o[f]) ||
+ ((h = o[f] = []),
+ (h.delegateCount = 0),
+ (c.setup && !1 !== c.setup.call(e, r, g, d)) ||
+ (e.addEventListener
+ ? e.addEventListener(f, d, !1)
+ : e.attachEvent && e.attachEvent("on" + f, d))),
+ c.add &&
+ (c.add.call(e, p), p.handler.guid || (p.handler.guid = i.guid)),
+ a ? h.splice(h.delegateCount++, 0, p) : h.push(p),
+ (ue.event.global[f] = !0));
+ e = null;
+ }
+ },
+ remove: function (e, t, n, i, r) {
+ var a,
+ s,
+ o,
+ l,
+ u,
+ c,
+ d,
+ p,
+ h,
+ f,
+ g,
+ m = ue.hasData(e) && ue._data(e);
+ if (m && (c = m.events)) {
+ for (u = (t = (t || "").match(de) || [""]).length; u--; )
+ if (
+ ((o = Re.exec(t[u]) || []),
+ (h = g = o[1]),
+ (f = (o[2] || "").split(".").sort()),
+ h)
+ ) {
+ for (
+ d = ue.event.special[h] || {},
+ p = c[(h = (i ? d.delegateType : d.bindType) || h)] || [],
+ o =
+ o[2] &&
+ RegExp("(^|\\.)" + f.join("\\.(?:.*\\.|)") + "(\\.|$)"),
+ l = a = p.length;
+ a--;
+
+ )
+ (s = p[a]),
+ (!r && g !== s.origType) ||
+ (n && n.guid !== s.guid) ||
+ (o && !o.test(s.namespace)) ||
+ (i && i !== s.selector && ("**" !== i || !s.selector)) ||
+ (p.splice(a, 1),
+ s.selector && p.delegateCount--,
+ d.remove && d.remove.call(e, s));
+ l &&
+ !p.length &&
+ ((d.teardown && !1 !== d.teardown.call(e, f, m.handle)) ||
+ ue.removeEvent(e, h, m.handle),
+ delete c[h]);
+ } else for (h in c) ue.event.remove(e, h + t[u], n, i, !0);
+ ue.isEmptyObject(c) && (delete m.handle, ue._removeData(e, "events"));
+ }
+ },
+ trigger: function (n, i, r, a) {
+ var s,
+ o,
+ l,
+ u,
+ c,
+ d,
+ p,
+ h = [r || G],
+ f = oe.call(n, "type") ? n.type : n,
+ g = oe.call(n, "namespace") ? n.namespace.split(".") : [];
+ if (
+ ((l = d = r = r || G),
+ 3 !== r.nodeType &&
+ 8 !== r.nodeType &&
+ !Pe.test(f + ue.event.triggered) &&
+ (f.indexOf(".") >= 0 &&
+ ((g = f.split(".")), (f = g.shift()), g.sort()),
+ (o = 0 > f.indexOf(":") && "on" + f),
+ (n = n[ue.expando] ? n : new ue.Event(f, "object" == typeof n && n)),
+ (n.isTrigger = a ? 2 : 3),
+ (n.namespace = g.join(".")),
+ (n.namespace_re = n.namespace
+ ? RegExp("(^|\\.)" + g.join("\\.(?:.*\\.|)") + "(\\.|$)")
+ : null),
+ (n.result = t),
+ n.target || (n.target = r),
+ (i = null == i ? [n] : ue.makeArray(i, [n])),
+ (c = ue.event.special[f] || {}),
+ a || !c.trigger || !1 !== c.trigger.apply(r, i)))
+ ) {
+ if (!a && !c.noBubble && !ue.isWindow(r)) {
+ for (
+ u = c.delegateType || f, Pe.test(u + f) || (l = l.parentNode);
+ l;
+ l = l.parentNode
+ )
+ h.push(l), (d = l);
+ d === (r.ownerDocument || G) &&
+ h.push(d.defaultView || d.parentWindow || e);
+ }
+ for (p = 0; (l = h[p++]) && !n.isPropagationStopped(); )
+ (n.type = p > 1 ? u : c.bindType || f),
+ (s =
+ (ue._data(l, "events") || {})[n.type] && ue._data(l, "handle")) &&
+ s.apply(l, i),
+ (s = o && l[o]) &&
+ ue.acceptData(l) &&
+ s.apply &&
+ !1 === s.apply(l, i) &&
+ n.preventDefault();
+ if (
+ ((n.type = f),
+ !a &&
+ !n.isDefaultPrevented() &&
+ (!c._default || !1 === c._default.apply(h.pop(), i)) &&
+ ue.acceptData(r) &&
+ o &&
+ r[f] &&
+ !ue.isWindow(r))
+ ) {
+ (d = r[o]) && (r[o] = null), (ue.event.triggered = f);
+ try {
+ r[f]();
+ } catch (e) {}
+ (ue.event.triggered = t), d && (r[o] = d);
+ }
+ return n.result;
+ }
+ },
+ dispatch: function (e) {
+ e = ue.event.fix(e);
+ var n,
+ i,
+ r,
+ a,
+ s,
+ o = [],
+ l = re.call(arguments),
+ u = (ue._data(this, "events") || {})[e.type] || [],
+ c = ue.event.special[e.type] || {};
+ if (
+ ((l[0] = e),
+ (e.delegateTarget = this),
+ !c.preDispatch || !1 !== c.preDispatch.call(this, e))
+ ) {
+ for (
+ o = ue.event.handlers.call(this, e, u), n = 0;
+ (a = o[n++]) && !e.isPropagationStopped();
+
+ )
+ for (
+ e.currentTarget = a.elem, s = 0;
+ (r = a.handlers[s++]) && !e.isImmediatePropagationStopped();
+
+ )
+ (!e.namespace_re || e.namespace_re.test(r.namespace)) &&
+ ((e.handleObj = r),
+ (e.data = r.data),
+ (i = (
+ (ue.event.special[r.origType] || {}).handle || r.handler
+ ).apply(a.elem, l)) !== t &&
+ !1 === (e.result = i) &&
+ (e.preventDefault(), e.stopPropagation()));
+ return c.postDispatch && c.postDispatch.call(this, e), e.result;
+ }
+ },
+ handlers: function (e, n) {
+ var i,
+ r,
+ a,
+ s,
+ o = [],
+ l = n.delegateCount,
+ u = e.target;
+ if (l && u.nodeType && (!e.button || "click" !== e.type))
+ for (; u != this; u = u.parentNode || this)
+ if (1 === u.nodeType && (!0 !== u.disabled || "click" !== e.type)) {
+ for (a = [], s = 0; l > s; s++)
+ (r = n[s]),
+ (i = r.selector + " "),
+ a[i] === t &&
+ (a[i] = r.needsContext
+ ? ue(i, this).index(u) >= 0
+ : ue.find(i, this, null, [u]).length),
+ a[i] && a.push(r);
+ a.length && o.push({ elem: u, handlers: a });
+ }
+ return n.length > l && o.push({ elem: this, handlers: n.slice(l) }), o;
+ },
+ fix: function (e) {
+ if (e[ue.expando]) return e;
+ var t,
+ n,
+ i,
+ r = e.type,
+ a = e,
+ s = this.fixHooks[r];
+ for (
+ s ||
+ (this.fixHooks[r] = s =
+ Oe.test(r) ? this.mouseHooks : He.test(r) ? this.keyHooks : {}),
+ i = s.props ? this.props.concat(s.props) : this.props,
+ e = new ue.Event(a),
+ t = i.length;
+ t--;
+
+ )
+ (n = i[t]), (e[n] = a[n]);
+ return (
+ e.target || (e.target = a.srcElement || G),
+ 3 === e.target.nodeType && (e.target = e.target.parentNode),
+ (e.metaKey = !!e.metaKey),
+ s.filter ? s.filter(e, a) : e
+ );
+ },
+ props:
+ "altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(
+ " "
+ ),
+ fixHooks: {},
+ keyHooks: {
+ props: "char charCode key keyCode".split(" "),
+ filter: function (e, t) {
+ return (
+ null == e.which &&
+ (e.which = null != t.charCode ? t.charCode : t.keyCode),
+ e
+ );
+ },
+ },
+ mouseHooks: {
+ props:
+ "button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(
+ " "
+ ),
+ filter: function (e, n) {
+ var i,
+ r,
+ a,
+ s = n.button,
+ o = n.fromElement;
+ return (
+ null == e.pageX &&
+ null != n.clientX &&
+ ((r = e.target.ownerDocument || G),
+ (a = r.documentElement),
+ (i = r.body),
+ (e.pageX =
+ n.clientX +
+ ((a && a.scrollLeft) || (i && i.scrollLeft) || 0) -
+ ((a && a.clientLeft) || (i && i.clientLeft) || 0)),
+ (e.pageY =
+ n.clientY +
+ ((a && a.scrollTop) || (i && i.scrollTop) || 0) -
+ ((a && a.clientTop) || (i && i.clientTop) || 0))),
+ !e.relatedTarget &&
+ o &&
+ (e.relatedTarget = o === e.target ? n.toElement : o),
+ e.which ||
+ s === t ||
+ (e.which = 1 & s ? 1 : 2 & s ? 3 : 4 & s ? 2 : 0),
+ e
+ );
+ },
+ },
+ special: {
+ load: { noBubble: !0 },
+ focus: {
+ trigger: function () {
+ if (this !== c() && this.focus)
+ try {
+ return this.focus(), !1;
+ } catch (e) {}
+ },
+ delegateType: "focusin",
+ },
+ blur: {
+ trigger: function () {
+ return this === c() && this.blur ? (this.blur(), !1) : t;
+ },
+ delegateType: "focusout",
+ },
+ click: {
+ trigger: function () {
+ return ue.nodeName(this, "input") &&
+ "checkbox" === this.type &&
+ this.click
+ ? (this.click(), !1)
+ : t;
+ },
+ _default: function (e) {
+ return ue.nodeName(e.target, "a");
+ },
+ },
+ beforeunload: {
+ postDispatch: function (e) {
+ e.result !== t && (e.originalEvent.returnValue = e.result);
+ },
+ },
+ },
+ simulate: function (e, t, n, i) {
+ var r = ue.extend(new ue.Event(), n, {
+ type: e,
+ isSimulated: !0,
+ originalEvent: {},
+ });
+ i ? ue.event.trigger(r, null, t) : ue.event.dispatch.call(t, r),
+ r.isDefaultPrevented() && n.preventDefault();
+ },
+ }),
+ (ue.removeEvent = G.removeEventListener
+ ? function (e, t, n) {
+ e.removeEventListener && e.removeEventListener(t, n, !1);
+ }
+ : function (e, t, n) {
+ var i = "on" + t;
+ e.detachEvent &&
+ (typeof e[i] === U && (e[i] = null), e.detachEvent(i, n));
+ }),
+ (ue.Event = function (e, n) {
+ return this instanceof ue.Event
+ ? (e && e.type
+ ? ((this.originalEvent = e),
+ (this.type = e.type),
+ (this.isDefaultPrevented =
+ e.defaultPrevented ||
+ !1 === e.returnValue ||
+ (e.getPreventDefault && e.getPreventDefault())
+ ? l
+ : u))
+ : (this.type = e),
+ n && ue.extend(this, n),
+ (this.timeStamp = (e && e.timeStamp) || ue.now()),
+ (this[ue.expando] = !0),
+ t)
+ : new ue.Event(e, n);
+ }),
+ (ue.Event.prototype = {
+ isDefaultPrevented: u,
+ isPropagationStopped: u,
+ isImmediatePropagationStopped: u,
+ preventDefault: function () {
+ var e = this.originalEvent;
+ (this.isDefaultPrevented = l),
+ e && (e.preventDefault ? e.preventDefault() : (e.returnValue = !1));
+ },
+ stopPropagation: function () {
+ var e = this.originalEvent;
+ (this.isPropagationStopped = l),
+ e &&
+ (e.stopPropagation && e.stopPropagation(), (e.cancelBubble = !0));
+ },
+ stopImmediatePropagation: function () {
+ (this.isImmediatePropagationStopped = l), this.stopPropagation();
+ },
+ }),
+ ue.each(
+ { mouseenter: "mouseover", mouseleave: "mouseout" },
+ function (e, t) {
+ ue.event.special[e] = {
+ delegateType: t,
+ bindType: t,
+ handle: function (e) {
+ var n,
+ i = this,
+ r = e.relatedTarget,
+ a = e.handleObj;
+ return (
+ (!r || (r !== i && !ue.contains(i, r))) &&
+ ((e.type = a.origType),
+ (n = a.handler.apply(this, arguments)),
+ (e.type = t)),
+ n
+ );
+ },
+ };
+ }
+ ),
+ ue.support.submitBubbles ||
+ (ue.event.special.submit = {
+ setup: function () {
+ return (
+ !ue.nodeName(this, "form") &&
+ (ue.event.add(this, "click._submit keypress._submit", function (e) {
+ var n = e.target,
+ i =
+ ue.nodeName(n, "input") || ue.nodeName(n, "button")
+ ? n.form
+ : t;
+ i &&
+ !ue._data(i, "submitBubbles") &&
+ (ue.event.add(i, "submit._submit", function (e) {
+ e._submit_bubble = !0;
+ }),
+ ue._data(i, "submitBubbles", !0));
+ }),
+ t)
+ );
+ },
+ postDispatch: function (e) {
+ e._submit_bubble &&
+ (delete e._submit_bubble,
+ this.parentNode &&
+ !e.isTrigger &&
+ ue.event.simulate("submit", this.parentNode, e, !0));
+ },
+ teardown: function () {
+ return (
+ !ue.nodeName(this, "form") && (ue.event.remove(this, "._submit"), t)
+ );
+ },
+ }),
+ ue.support.changeBubbles ||
+ (ue.event.special.change = {
+ setup: function () {
+ return Le.test(this.nodeName)
+ ? (("checkbox" === this.type || "radio" === this.type) &&
+ (ue.event.add(this, "propertychange._change", function (e) {
+ "checked" === e.originalEvent.propertyName &&
+ (this._just_changed = !0);
+ }),
+ ue.event.add(this, "click._change", function (e) {
+ this._just_changed &&
+ !e.isTrigger &&
+ (this._just_changed = !1),
+ ue.event.simulate("change", this, e, !0);
+ })),
+ !1)
+ : (ue.event.add(this, "beforeactivate._change", function (e) {
+ var t = e.target;
+ Le.test(t.nodeName) &&
+ !ue._data(t, "changeBubbles") &&
+ (ue.event.add(t, "change._change", function (e) {
+ !this.parentNode ||
+ e.isSimulated ||
+ e.isTrigger ||
+ ue.event.simulate("change", this.parentNode, e, !0);
+ }),
+ ue._data(t, "changeBubbles", !0));
+ }),
+ t);
+ },
+ handle: function (e) {
+ var n = e.target;
+ return this !== n ||
+ e.isSimulated ||
+ e.isTrigger ||
+ ("radio" !== n.type && "checkbox" !== n.type)
+ ? e.handleObj.handler.apply(this, arguments)
+ : t;
+ },
+ teardown: function () {
+ return ue.event.remove(this, "._change"), !Le.test(this.nodeName);
+ },
+ }),
+ ue.support.focusinBubbles ||
+ ue.each({ focus: "focusin", blur: "focusout" }, function (e, t) {
+ var n = 0,
+ i = function (e) {
+ ue.event.simulate(t, e.target, ue.event.fix(e), !0);
+ };
+ ue.event.special[t] = {
+ setup: function () {
+ 0 == n++ && G.addEventListener(e, i, !0);
+ },
+ teardown: function () {
+ 0 == --n && G.removeEventListener(e, i, !0);
+ },
+ };
+ }),
+ ue.fn.extend({
+ on: function (e, n, i, r, a) {
+ var s, o;
+ if ("object" == typeof e) {
+ "string" != typeof n && ((i = i || n), (n = t));
+ for (s in e) this.on(s, n, i, e[s], a);
+ return this;
+ }
+ if (
+ (null == i && null == r
+ ? ((r = n), (i = n = t))
+ : null == r &&
+ ("string" == typeof n
+ ? ((r = i), (i = t))
+ : ((r = i), (i = n), (n = t))),
+ !1 === r)
+ )
+ r = u;
+ else if (!r) return this;
+ return (
+ 1 === a &&
+ ((o = r),
+ (r = function (e) {
+ return ue().off(e), o.apply(this, arguments);
+ }),
+ (r.guid = o.guid || (o.guid = ue.guid++))),
+ this.each(function () {
+ ue.event.add(this, e, r, i, n);
+ })
+ );
+ },
+ one: function (e, t, n, i) {
+ return this.on(e, t, n, i, 1);
+ },
+ off: function (e, n, i) {
+ var r, a;
+ if (e && e.preventDefault && e.handleObj)
+ return (
+ (r = e.handleObj),
+ ue(e.delegateTarget).off(
+ r.namespace ? r.origType + "." + r.namespace : r.origType,
+ r.selector,
+ r.handler
+ ),
+ this
+ );
+ if ("object" == typeof e) {
+ for (a in e) this.off(a, n, e[a]);
+ return this;
+ }
+ return (
+ (!1 === n || "function" == typeof n) && ((i = n), (n = t)),
+ !1 === i && (i = u),
+ this.each(function () {
+ ue.event.remove(this, e, i, n);
+ })
+ );
+ },
+ trigger: function (e, t) {
+ return this.each(function () {
+ ue.event.trigger(e, t, this);
+ });
+ },
+ triggerHandler: function (e, n) {
+ var i = this[0];
+ return i ? ue.event.trigger(e, n, i, !0) : t;
+ },
+ });
+ var Ye = /^.[^:#\[\.,]*$/,
+ qe = /^(?:parents|prev(?:Until|All))/,
+ We = ue.expr.match.needsContext,
+ Be = { children: !0, contents: !0, next: !0, prev: !0 };
+ ue.fn.extend({
+ find: function (e) {
+ var t,
+ n = [],
+ i = this,
+ r = i.length;
+ if ("string" != typeof e)
+ return this.pushStack(
+ ue(e).filter(function () {
+ for (t = 0; r > t; t++) if (ue.contains(i[t], this)) return !0;
+ })
+ );
+ for (t = 0; r > t; t++) ue.find(e, i[t], n);
+ return (
+ (n = this.pushStack(r > 1 ? ue.unique(n) : n)),
+ (n.selector = this.selector ? this.selector + " " + e : e),
+ n
+ );
+ },
+ has: function (e) {
+ var t,
+ n = ue(e, this),
+ i = n.length;
+ return this.filter(function () {
+ for (t = 0; i > t; t++) if (ue.contains(this, n[t])) return !0;
+ });
+ },
+ not: function (e) {
+ return this.pushStack(p(this, e || [], !0));
+ },
+ filter: function (e) {
+ return this.pushStack(p(this, e || [], !1));
+ },
+ is: function (e) {
+ return !!p(this, "string" == typeof e && We.test(e) ? ue(e) : e || [], !1)
+ .length;
+ },
+ closest: function (e, t) {
+ for (
+ var n,
+ i = 0,
+ r = this.length,
+ a = [],
+ s = We.test(e) || "string" != typeof e ? ue(e, t || this.context) : 0;
+ r > i;
+ i++
+ )
+ for (n = this[i]; n && n !== t; n = n.parentNode)
+ if (
+ 11 > n.nodeType &&
+ (s
+ ? s.index(n) > -1
+ : 1 === n.nodeType && ue.find.matchesSelector(n, e))
+ ) {
+ n = a.push(n);
+ break;
+ }
+ return this.pushStack(a.length > 1 ? ue.unique(a) : a);
+ },
+ index: function (e) {
+ return e
+ ? "string" == typeof e
+ ? ue.inArray(this[0], ue(e))
+ : ue.inArray(e.jquery ? e[0] : e, this)
+ : this[0] && this[0].parentNode
+ ? this.first().prevAll().length
+ : -1;
+ },
+ add: function (e, t) {
+ var n =
+ "string" == typeof e
+ ? ue(e, t)
+ : ue.makeArray(e && e.nodeType ? [e] : e),
+ i = ue.merge(this.get(), n);
+ return this.pushStack(ue.unique(i));
+ },
+ addBack: function (e) {
+ return this.add(null == e ? this.prevObject : this.prevObject.filter(e));
+ },
+ }),
+ ue.each(
+ {
+ parent: function (e) {
+ var t = e.parentNode;
+ return t && 11 !== t.nodeType ? t : null;
+ },
+ parents: function (e) {
+ return ue.dir(e, "parentNode");
+ },
+ parentsUntil: function (e, t, n) {
+ return ue.dir(e, "parentNode", n);
+ },
+ next: function (e) {
+ return d(e, "nextSibling");
+ },
+ prev: function (e) {
+ return d(e, "previousSibling");
+ },
+ nextAll: function (e) {
+ return ue.dir(e, "nextSibling");
+ },
+ prevAll: function (e) {
+ return ue.dir(e, "previousSibling");
+ },
+ nextUntil: function (e, t, n) {
+ return ue.dir(e, "nextSibling", n);
+ },
+ prevUntil: function (e, t, n) {
+ return ue.dir(e, "previousSibling", n);
+ },
+ siblings: function (e) {
+ return ue.sibling((e.parentNode || {}).firstChild, e);
+ },
+ children: function (e) {
+ return ue.sibling(e.firstChild);
+ },
+ contents: function (e) {
+ return ue.nodeName(e, "iframe")
+ ? e.contentDocument || e.contentWindow.document
+ : ue.merge([], e.childNodes);
+ },
+ },
+ function (e, t) {
+ ue.fn[e] = function (n, i) {
+ var r = ue.map(this, t, n);
+ return (
+ "Until" !== e.slice(-5) && (i = n),
+ i && "string" == typeof i && (r = ue.filter(i, r)),
+ this.length > 1 &&
+ (Be[e] || (r = ue.unique(r)), qe.test(e) && (r = r.reverse())),
+ this.pushStack(r)
+ );
+ };
+ }
+ ),
+ ue.extend({
+ filter: function (e, t, n) {
+ var i = t[0];
+ return (
+ n && (e = ":not(" + e + ")"),
+ 1 === t.length && 1 === i.nodeType
+ ? ue.find.matchesSelector(i, e)
+ ? [i]
+ : []
+ : ue.find.matches(
+ e,
+ ue.grep(t, function (e) {
+ return 1 === e.nodeType;
+ })
+ )
+ );
+ },
+ dir: function (e, n, i) {
+ for (
+ var r = [], a = e[n];
+ a &&
+ 9 !== a.nodeType &&
+ (i === t || 1 !== a.nodeType || !ue(a).is(i));
+
+ )
+ 1 === a.nodeType && r.push(a), (a = a[n]);
+ return r;
+ },
+ sibling: function (e, t) {
+ for (var n = []; e; e = e.nextSibling)
+ 1 === e.nodeType && e !== t && n.push(e);
+ return n;
+ },
+ });
+ var ze =
+ "abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",
+ Ke = / jQuery\d+="(?:null|\d+)"/g,
+ Ue = RegExp("<(?:" + ze + ")[\\s/>]", "i"),
+ Xe = /^\s+/,
+ Ge =
+ /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,
+ Ve = /<([\w:]+)/,
+ Je = /\s*$/g,
+ at = {
+ option: [1, "", " "],
+ legend: [1, "", " "],
+ area: [1, "", " "],
+ param: [1, "", " "],
+ thead: [1, ""],
+ tr: [2, ""],
+ col: [2, ""],
+ td: [3, ""],
+ _default: ue.support.htmlSerialize
+ ? [0, "", ""]
+ : [1, "X", "
"],
+ },
+ st = h(G).appendChild(G.createElement("div"));
+ (at.optgroup = at.option),
+ (at.tbody = at.tfoot = at.colgroup = at.caption = at.thead),
+ (at.th = at.td),
+ ue.fn.extend({
+ text: function (e) {
+ return ue.access(
+ this,
+ function (e) {
+ return e === t
+ ? ue.text(this)
+ : this.empty().append(
+ ((this[0] && this[0].ownerDocument) || G).createTextNode(e)
+ );
+ },
+ null,
+ e,
+ arguments.length
+ );
+ },
+ append: function () {
+ return this.domManip(arguments, function (e) {
+ (1 !== this.nodeType &&
+ 11 !== this.nodeType &&
+ 9 !== this.nodeType) ||
+ f(this, e).appendChild(e);
+ });
+ },
+ prepend: function () {
+ return this.domManip(arguments, function (e) {
+ if (
+ 1 === this.nodeType ||
+ 11 === this.nodeType ||
+ 9 === this.nodeType
+ ) {
+ var t = f(this, e);
+ t.insertBefore(e, t.firstChild);
+ }
+ });
+ },
+ before: function () {
+ return this.domManip(arguments, function (e) {
+ this.parentNode && this.parentNode.insertBefore(e, this);
+ });
+ },
+ after: function () {
+ return this.domManip(arguments, function (e) {
+ this.parentNode && this.parentNode.insertBefore(e, this.nextSibling);
+ });
+ },
+ remove: function (e, t) {
+ for (
+ var n, i = e ? ue.filter(e, this) : this, r = 0;
+ null != (n = i[r]);
+ r++
+ )
+ t || 1 !== n.nodeType || ue.cleanData(_(n)),
+ n.parentNode &&
+ (t && ue.contains(n.ownerDocument, n) && y(_(n, "script")),
+ n.parentNode.removeChild(n));
+ return this;
+ },
+ empty: function () {
+ for (var e, t = 0; null != (e = this[t]); t++) {
+ for (1 === e.nodeType && ue.cleanData(_(e, !1)); e.firstChild; )
+ e.removeChild(e.firstChild);
+ e.options && ue.nodeName(e, "select") && (e.options.length = 0);
+ }
+ return this;
+ },
+ clone: function (e, t) {
+ return (
+ (e = null != e && e),
+ (t = null == t ? e : t),
+ this.map(function () {
+ return ue.clone(this, e, t);
+ })
+ );
+ },
+ html: function (e) {
+ return ue.access(
+ this,
+ function (e) {
+ var n = this[0] || {},
+ i = 0,
+ r = this.length;
+ if (e === t)
+ return 1 === n.nodeType ? n.innerHTML.replace(Ke, "") : t;
+ if (
+ !(
+ "string" != typeof e ||
+ Ze.test(e) ||
+ (!ue.support.htmlSerialize && Ue.test(e)) ||
+ (!ue.support.leadingWhitespace && Xe.test(e)) ||
+ at[(Ve.exec(e) || ["", ""])[1].toLowerCase()]
+ )
+ ) {
+ e = e.replace(Ge, "<$1>$2>");
+ try {
+ for (; r > i; i++)
+ 1 === (n = this[i] || {}).nodeType &&
+ (ue.cleanData(_(n, !1)), (n.innerHTML = e));
+ n = 0;
+ } catch (e) {}
+ }
+ n && this.empty().append(e);
+ },
+ null,
+ e,
+ arguments.length
+ );
+ },
+ replaceWith: function () {
+ var e = ue.map(this, function (e) {
+ return [e.nextSibling, e.parentNode];
+ }),
+ t = 0;
+ return (
+ this.domManip(
+ arguments,
+ function (n) {
+ var i = e[t++],
+ r = e[t++];
+ r &&
+ (i && i.parentNode !== r && (i = this.nextSibling),
+ ue(this).remove(),
+ r.insertBefore(n, i));
+ },
+ !0
+ ),
+ t ? this : this.remove()
+ );
+ },
+ detach: function (e) {
+ return this.remove(e, !0);
+ },
+ domManip: function (e, t, n) {
+ e = ne.apply([], e);
+ var i,
+ r,
+ a,
+ s,
+ o,
+ l,
+ u = 0,
+ c = this.length,
+ d = this,
+ p = c - 1,
+ h = e[0],
+ f = ue.isFunction(h);
+ if (
+ f ||
+ (!(1 >= c || "string" != typeof h || ue.support.checkClone) &&
+ tt.test(h))
+ )
+ return this.each(function (i) {
+ var r = d.eq(i);
+ f && (e[0] = h.call(this, i, r.html())), r.domManip(e, t, n);
+ });
+ if (
+ c &&
+ ((l = ue.buildFragment(e, this[0].ownerDocument, !1, !n && this)),
+ (i = l.firstChild),
+ 1 === l.childNodes.length && (l = i),
+ i)
+ ) {
+ for (a = (s = ue.map(_(l, "script"), g)).length; c > u; u++)
+ (r = l),
+ u !== p &&
+ ((r = ue.clone(r, !0, !0)), a && ue.merge(s, _(r, "script"))),
+ t.call(this[u], r, u);
+ if (a)
+ for (
+ o = s[s.length - 1].ownerDocument, ue.map(s, m), u = 0;
+ a > u;
+ u++
+ )
+ (r = s[u]),
+ nt.test(r.type || "") &&
+ !ue._data(r, "globalEval") &&
+ ue.contains(o, r) &&
+ (r.src
+ ? ue._evalUrl(r.src)
+ : ue.globalEval(
+ (r.text || r.textContent || r.innerHTML || "").replace(
+ rt,
+ ""
+ )
+ ));
+ l = i = null;
+ }
+ return this;
+ },
+ }),
+ ue.each(
+ {
+ appendTo: "append",
+ prependTo: "prepend",
+ insertBefore: "before",
+ insertAfter: "after",
+ replaceAll: "replaceWith",
+ },
+ function (e, t) {
+ ue.fn[e] = function (e) {
+ for (var n, i = 0, r = [], a = ue(e), s = a.length - 1; s >= i; i++)
+ (n = i === s ? this : this.clone(!0)),
+ ue(a[i])[t](n),
+ ie.apply(r, n.get());
+ return this.pushStack(r);
+ };
+ }
+ ),
+ ue.extend({
+ clone: function (e, t, n) {
+ var i,
+ r,
+ a,
+ s,
+ o,
+ l = ue.contains(e.ownerDocument, e);
+ if (
+ (ue.support.html5Clone ||
+ ue.isXMLDoc(e) ||
+ !Ue.test("<" + e.nodeName + ">")
+ ? (a = e.cloneNode(!0))
+ : ((st.innerHTML = e.outerHTML),
+ st.removeChild((a = st.firstChild))),
+ !(
+ (ue.support.noCloneEvent && ue.support.noCloneChecked) ||
+ (1 !== e.nodeType && 11 !== e.nodeType) ||
+ ue.isXMLDoc(e)
+ ))
+ )
+ for (i = _(a), o = _(e), s = 0; null != (r = o[s]); ++s)
+ i[s] && b(r, i[s]);
+ if (t)
+ if (n)
+ for (o = o || _(e), i = i || _(a), s = 0; null != (r = o[s]); s++)
+ v(r, i[s]);
+ else v(e, a);
+ return (
+ (i = _(a, "script")).length > 0 && y(i, !l && _(e, "script")),
+ (i = o = r = null),
+ a
+ );
+ },
+ buildFragment: function (e, t, n, i) {
+ for (
+ var r, a, s, o, l, u, c, d = e.length, p = h(t), f = [], g = 0;
+ d > g;
+ g++
+ )
+ if ((a = e[g]) || 0 === a)
+ if ("object" === ue.type(a)) ue.merge(f, a.nodeType ? [a] : a);
+ else if (Qe.test(a)) {
+ for (
+ o = o || p.appendChild(t.createElement("div")),
+ l = (Ve.exec(a) || ["", ""])[1].toLowerCase(),
+ c = at[l] || at._default,
+ o.innerHTML = c[1] + a.replace(Ge, "<$1>$2>") + c[2],
+ r = c[0];
+ r--;
+
+ )
+ o = o.lastChild;
+ if (
+ (!ue.support.leadingWhitespace &&
+ Xe.test(a) &&
+ f.push(t.createTextNode(Xe.exec(a)[0])),
+ !ue.support.tbody)
+ )
+ for (
+ r =
+ (a =
+ "table" !== l || Je.test(a)
+ ? "" !== c[1] || Je.test(a)
+ ? 0
+ : o
+ : o.firstChild) && a.childNodes.length;
+ r--;
+
+ )
+ ue.nodeName((u = a.childNodes[r]), "tbody") &&
+ !u.childNodes.length &&
+ a.removeChild(u);
+ for (
+ ue.merge(f, o.childNodes), o.textContent = "";
+ o.firstChild;
+
+ )
+ o.removeChild(o.firstChild);
+ o = p.lastChild;
+ } else f.push(t.createTextNode(a));
+ for (
+ o && p.removeChild(o),
+ ue.support.appendChecked || ue.grep(_(f, "input"), x),
+ g = 0;
+ (a = f[g++]);
+
+ )
+ if (
+ (!i || -1 === ue.inArray(a, i)) &&
+ ((s = ue.contains(a.ownerDocument, a)),
+ (o = _(p.appendChild(a), "script")),
+ s && y(o),
+ n)
+ )
+ for (r = 0; (a = o[r++]); ) nt.test(a.type || "") && n.push(a);
+ return (o = null), p;
+ },
+ cleanData: function (e, t) {
+ for (
+ var n,
+ i,
+ r,
+ a,
+ s = 0,
+ o = ue.expando,
+ l = ue.cache,
+ u = ue.support.deleteExpando,
+ c = ue.event.special;
+ null != (n = e[s]);
+ s++
+ )
+ if ((t || ue.acceptData(n)) && ((r = n[o]), (a = r && l[r]))) {
+ if (a.events)
+ for (i in a.events)
+ c[i] ? ue.event.remove(n, i) : ue.removeEvent(n, i, a.handle);
+ l[r] &&
+ (delete l[r],
+ u
+ ? delete n[o]
+ : typeof n.removeAttribute !== U
+ ? n.removeAttribute(o)
+ : (n[o] = null),
+ ee.push(r));
+ }
+ },
+ _evalUrl: function (e) {
+ return ue.ajax({
+ url: e,
+ type: "GET",
+ dataType: "script",
+ async: !1,
+ global: !1,
+ throws: !0,
+ });
+ },
+ }),
+ ue.fn.extend({
+ wrapAll: function (e) {
+ if (ue.isFunction(e))
+ return this.each(function (t) {
+ ue(this).wrapAll(e.call(this, t));
+ });
+ if (this[0]) {
+ var t = ue(e, this[0].ownerDocument).eq(0).clone(!0);
+ this[0].parentNode && t.insertBefore(this[0]),
+ t
+ .map(function () {
+ for (
+ var e = this;
+ e.firstChild && 1 === e.firstChild.nodeType;
+
+ )
+ e = e.firstChild;
+ return e;
+ })
+ .append(this);
+ }
+ return this;
+ },
+ wrapInner: function (e) {
+ return ue.isFunction(e)
+ ? this.each(function (t) {
+ ue(this).wrapInner(e.call(this, t));
+ })
+ : this.each(function () {
+ var t = ue(this),
+ n = t.contents();
+ n.length ? n.wrapAll(e) : t.append(e);
+ });
+ },
+ wrap: function (e) {
+ var t = ue.isFunction(e);
+ return this.each(function (n) {
+ ue(this).wrapAll(t ? e.call(this, n) : e);
+ });
+ },
+ unwrap: function () {
+ return this.parent()
+ .each(function () {
+ ue.nodeName(this, "body") || ue(this).replaceWith(this.childNodes);
+ })
+ .end();
+ },
+ });
+ var ot,
+ lt,
+ ut,
+ ct = /alpha\([^)]*\)/i,
+ dt = /opacity\s*=\s*([^)]*)/,
+ pt = /^(top|right|bottom|left)$/,
+ ht = /^(none|table(?!-c[ea]).+)/,
+ ft = /^margin/,
+ gt = RegExp("^(" + ce + ")(.*)$", "i"),
+ mt = RegExp("^(" + ce + ")(?!px)[a-z%]+$", "i"),
+ yt = RegExp("^([+-])=(" + ce + ")", "i"),
+ vt = { BODY: "block" },
+ bt = { position: "absolute", visibility: "hidden", display: "block" },
+ _t = { letterSpacing: 0, fontWeight: 400 },
+ xt = ["Top", "Right", "Bottom", "Left"],
+ kt = ["Webkit", "O", "Moz", "ms"];
+ ue.fn.extend({
+ css: function (e, n) {
+ return ue.access(
+ this,
+ function (e, n, i) {
+ var r,
+ a,
+ s = {},
+ o = 0;
+ if (ue.isArray(n)) {
+ for (a = lt(e), r = n.length; r > o; o++)
+ s[n[o]] = ue.css(e, n[o], !1, a);
+ return s;
+ }
+ return i !== t ? ue.style(e, n, i) : ue.css(e, n);
+ },
+ e,
+ n,
+ arguments.length > 1
+ );
+ },
+ show: function () {
+ return w(this, !0);
+ },
+ hide: function () {
+ return w(this);
+ },
+ toggle: function (e) {
+ return "boolean" == typeof e
+ ? e
+ ? this.show()
+ : this.hide()
+ : this.each(function () {
+ D(this) ? ue(this).show() : ue(this).hide();
+ });
+ },
+ }),
+ ue.extend({
+ cssHooks: {
+ opacity: {
+ get: function (e, t) {
+ if (t) {
+ var n = ut(e, "opacity");
+ return "" === n ? "1" : n;
+ }
+ },
+ },
+ },
+ cssNumber: {
+ columnCount: !0,
+ fillOpacity: !0,
+ fontWeight: !0,
+ lineHeight: !0,
+ opacity: !0,
+ order: !0,
+ orphans: !0,
+ widows: !0,
+ zIndex: !0,
+ zoom: !0,
+ },
+ cssProps: { float: ue.support.cssFloat ? "cssFloat" : "styleFloat" },
+ style: function (e, n, i, r) {
+ if (e && 3 !== e.nodeType && 8 !== e.nodeType && e.style) {
+ var a,
+ s,
+ o,
+ l = ue.camelCase(n),
+ u = e.style;
+ if (
+ ((n = ue.cssProps[l] || (ue.cssProps[l] = k(u, l))),
+ (o = ue.cssHooks[n] || ue.cssHooks[l]),
+ i === t)
+ )
+ return o && "get" in o && (a = o.get(e, !1, r)) !== t ? a : u[n];
+ if (
+ ("string" === (s = typeof i) &&
+ (a = yt.exec(i)) &&
+ ((i = (a[1] + 1) * a[2] + parseFloat(ue.css(e, n))),
+ (s = "number")),
+ !(
+ null == i ||
+ ("number" === s && isNaN(i)) ||
+ ("number" !== s || ue.cssNumber[l] || (i += "px"),
+ ue.support.clearCloneStyle ||
+ "" !== i ||
+ 0 !== n.indexOf("background") ||
+ (u[n] = "inherit"),
+ o && "set" in o && (i = o.set(e, i, r)) === t)
+ ))
+ )
+ try {
+ u[n] = i;
+ } catch (e) {}
+ }
+ },
+ css: function (e, n, i, r) {
+ var a,
+ s,
+ o,
+ l = ue.camelCase(n);
+ return (
+ (n = ue.cssProps[l] || (ue.cssProps[l] = k(e.style, l))),
+ (o = ue.cssHooks[n] || ue.cssHooks[l]) &&
+ "get" in o &&
+ (s = o.get(e, !0, i)),
+ s === t && (s = ut(e, n, r)),
+ "normal" === s && n in _t && (s = _t[n]),
+ "" === i || i
+ ? ((a = parseFloat(s)), !0 === i || ue.isNumeric(a) ? a || 0 : s)
+ : s
+ );
+ },
+ }),
+ e.getComputedStyle
+ ? ((lt = function (t) {
+ return e.getComputedStyle(t, null);
+ }),
+ (ut = function (e, n, i) {
+ var r,
+ a,
+ s,
+ o = i || lt(e),
+ l = o ? o.getPropertyValue(n) || o[n] : t,
+ u = e.style;
+ return (
+ o &&
+ ("" !== l ||
+ ue.contains(e.ownerDocument, e) ||
+ (l = ue.style(e, n)),
+ mt.test(l) &&
+ ft.test(n) &&
+ ((r = u.width),
+ (a = u.minWidth),
+ (s = u.maxWidth),
+ (u.minWidth = u.maxWidth = u.width = l),
+ (l = o.width),
+ (u.width = r),
+ (u.minWidth = a),
+ (u.maxWidth = s))),
+ l
+ );
+ }))
+ : G.documentElement.currentStyle &&
+ ((lt = function (e) {
+ return e.currentStyle;
+ }),
+ (ut = function (e, n, i) {
+ var r,
+ a,
+ s,
+ o = i || lt(e),
+ l = o ? o[n] : t,
+ u = e.style;
+ return (
+ null == l && u && u[n] && (l = u[n]),
+ mt.test(l) &&
+ !pt.test(n) &&
+ ((r = u.left),
+ (a = e.runtimeStyle),
+ (s = a && a.left) && (a.left = e.currentStyle.left),
+ (u.left = "fontSize" === n ? "1em" : l),
+ (l = u.pixelLeft + "px"),
+ (u.left = r),
+ s && (a.left = s)),
+ "" === l ? "auto" : l
+ );
+ })),
+ ue.each(["height", "width"], function (e, n) {
+ ue.cssHooks[n] = {
+ get: function (e, i, r) {
+ return i
+ ? 0 === e.offsetWidth && ht.test(ue.css(e, "display"))
+ ? ue.swap(e, bt, function () {
+ return N(e, n, r);
+ })
+ : N(e, n, r)
+ : t;
+ },
+ set: function (e, t, i) {
+ var r = i && lt(e);
+ return C(
+ e,
+ t,
+ i
+ ? T(
+ e,
+ n,
+ i,
+ ue.support.boxSizing &&
+ "border-box" === ue.css(e, "boxSizing", !1, r),
+ r
+ )
+ : 0
+ );
+ },
+ };
+ }),
+ ue.support.opacity ||
+ (ue.cssHooks.opacity = {
+ get: function (e, t) {
+ return dt.test(
+ (t && e.currentStyle ? e.currentStyle.filter : e.style.filter) || ""
+ )
+ ? 0.01 * parseFloat(RegExp.$1) + ""
+ : t
+ ? "1"
+ : "";
+ },
+ set: function (e, t) {
+ var n = e.style,
+ i = e.currentStyle,
+ r = ue.isNumeric(t) ? "alpha(opacity=" + 100 * t + ")" : "",
+ a = (i && i.filter) || n.filter || "";
+ (n.zoom = 1),
+ ((t >= 1 || "" === t) &&
+ "" === ue.trim(a.replace(ct, "")) &&
+ n.removeAttribute &&
+ (n.removeAttribute("filter"), "" === t || (i && !i.filter))) ||
+ (n.filter = ct.test(a) ? a.replace(ct, r) : a + " " + r);
+ },
+ }),
+ ue(function () {
+ ue.support.reliableMarginRight ||
+ (ue.cssHooks.marginRight = {
+ get: function (e, n) {
+ return n
+ ? ue.swap(e, { display: "inline-block" }, ut, [e, "marginRight"])
+ : t;
+ },
+ }),
+ !ue.support.pixelPosition &&
+ ue.fn.position &&
+ ue.each(["top", "left"], function (e, n) {
+ ue.cssHooks[n] = {
+ get: function (e, i) {
+ return i
+ ? ((i = ut(e, n)),
+ mt.test(i) ? ue(e).position()[n] + "px" : i)
+ : t;
+ },
+ };
+ });
+ }),
+ ue.expr &&
+ ue.expr.filters &&
+ ((ue.expr.filters.hidden = function (e) {
+ return (
+ (0 >= e.offsetWidth && 0 >= e.offsetHeight) ||
+ (!ue.support.reliableHiddenOffsets &&
+ "none" === ((e.style && e.style.display) || ue.css(e, "display")))
+ );
+ }),
+ (ue.expr.filters.visible = function (e) {
+ return !ue.expr.filters.hidden(e);
+ })),
+ ue.each({ margin: "", padding: "", border: "Width" }, function (e, t) {
+ (ue.cssHooks[e + t] = {
+ expand: function (n) {
+ for (
+ var i = 0, r = {}, a = "string" == typeof n ? n.split(" ") : [n];
+ 4 > i;
+ i++
+ )
+ r[e + xt[i] + t] = a[i] || a[i - 2] || a[0];
+ return r;
+ },
+ }),
+ ft.test(e) || (ue.cssHooks[e + t].set = C);
+ });
+ var Dt = /%20/g,
+ wt = /\[\]$/,
+ Ct = /\r?\n/g,
+ Tt = /^(?:submit|button|image|reset|file)$/i,
+ Nt = /^(?:input|select|textarea|keygen)/i;
+ ue.fn.extend({
+ serialize: function () {
+ return ue.param(this.serializeArray());
+ },
+ serializeArray: function () {
+ return this.map(function () {
+ var e = ue.prop(this, "elements");
+ return e ? ue.makeArray(e) : this;
+ })
+ .filter(function () {
+ var e = this.type;
+ return (
+ this.name &&
+ !ue(this).is(":disabled") &&
+ Nt.test(this.nodeName) &&
+ !Tt.test(e) &&
+ (this.checked || !et.test(e))
+ );
+ })
+ .map(function (e, t) {
+ var n = ue(this).val();
+ return null == n
+ ? null
+ : ue.isArray(n)
+ ? ue.map(n, function (e) {
+ return { name: t.name, value: e.replace(Ct, "\r\n") };
+ })
+ : { name: t.name, value: n.replace(Ct, "\r\n") };
+ })
+ .get();
+ },
+ }),
+ (ue.param = function (e, n) {
+ var i,
+ r = [],
+ a = function (e, t) {
+ (t = ue.isFunction(t) ? t() : null == t ? "" : t),
+ (r[r.length] = encodeURIComponent(e) + "=" + encodeURIComponent(t));
+ };
+ if (
+ (n === t && (n = ue.ajaxSettings && ue.ajaxSettings.traditional),
+ ue.isArray(e) || (e.jquery && !ue.isPlainObject(e)))
+ )
+ ue.each(e, function () {
+ a(this.name, this.value);
+ });
+ else for (i in e) $(i, e[i], n, a);
+ return r.join("&").replace(Dt, "+");
+ }),
+ ue.each(
+ "blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(
+ " "
+ ),
+ function (e, t) {
+ ue.fn[t] = function (e, n) {
+ return arguments.length > 0
+ ? this.on(t, null, e, n)
+ : this.trigger(t);
+ };
+ }
+ ),
+ ue.fn.extend({
+ hover: function (e, t) {
+ return this.mouseenter(e).mouseleave(t || e);
+ },
+ bind: function (e, t, n) {
+ return this.on(e, null, t, n);
+ },
+ unbind: function (e, t) {
+ return this.off(e, null, t);
+ },
+ delegate: function (e, t, n, i) {
+ return this.on(t, e, n, i);
+ },
+ undelegate: function (e, t, n) {
+ return 1 === arguments.length
+ ? this.off(e, "**")
+ : this.off(t, e || "**", n);
+ },
+ });
+ var Mt,
+ St,
+ $t = ue.now(),
+ At = /\?/,
+ Et = /#.*$/,
+ jt = /([?&])_=[^&]*/,
+ It = /^(.*?):[ \t]*([^\r\n]*)\r?$/gm,
+ Ft = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/,
+ Lt = /^(?:GET|HEAD)$/,
+ Ht = /^\/\//,
+ Ot = /^([\w.+-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,
+ Pt = ue.fn.load,
+ Rt = {},
+ Yt = {},
+ qt = "*/".concat("*");
+ try {
+ St = X.href;
+ } catch (e) {
+ ((St = G.createElement("a")).href = ""), (St = St.href);
+ }
+ (Mt = Ot.exec(St.toLowerCase()) || []),
+ (ue.fn.load = function (e, n, i) {
+ if ("string" != typeof e && Pt) return Pt.apply(this, arguments);
+ var r,
+ a,
+ s,
+ o = this,
+ l = e.indexOf(" ");
+ return (
+ l >= 0 && ((r = e.slice(l, e.length)), (e = e.slice(0, l))),
+ ue.isFunction(n)
+ ? ((i = n), (n = t))
+ : n && "object" == typeof n && (s = "POST"),
+ o.length > 0 &&
+ ue
+ .ajax({ url: e, type: s, dataType: "html", data: n })
+ .done(function (e) {
+ (a = arguments),
+ o.html(r ? ue("").append(ue.parseHTML(e)).find(r) : e);
+ })
+ .complete(
+ i &&
+ function (e, t) {
+ o.each(i, a || [e.responseText, t, e]);
+ }
+ ),
+ this
+ );
+ }),
+ ue.each(
+ [
+ "ajaxStart",
+ "ajaxStop",
+ "ajaxComplete",
+ "ajaxError",
+ "ajaxSuccess",
+ "ajaxSend",
+ ],
+ function (e, t) {
+ ue.fn[t] = function (e) {
+ return this.on(t, e);
+ };
+ }
+ ),
+ ue.extend({
+ active: 0,
+ lastModified: {},
+ etag: {},
+ ajaxSettings: {
+ url: St,
+ type: "GET",
+ isLocal: Ft.test(Mt[1]),
+ global: !0,
+ processData: !0,
+ async: !0,
+ contentType: "application/x-www-form-urlencoded; charset=UTF-8",
+ accepts: {
+ "*": qt,
+ text: "text/plain",
+ html: "text/html",
+ xml: "application/xml, text/xml",
+ json: "application/json, text/javascript",
+ },
+ contents: { xml: /xml/, html: /html/, json: /json/ },
+ responseFields: {
+ xml: "responseXML",
+ text: "responseText",
+ json: "responseJSON",
+ },
+ converters: {
+ "* text": String,
+ "text html": !0,
+ "text json": ue.parseJSON,
+ "text xml": ue.parseXML,
+ },
+ flatOptions: { url: !0, context: !0 },
+ },
+ ajaxSetup: function (e, t) {
+ return t ? j(j(e, ue.ajaxSettings), t) : j(ue.ajaxSettings, e);
+ },
+ ajaxPrefilter: A(Rt),
+ ajaxTransport: A(Yt),
+ ajax: function (e, n) {
+ function i(e, n, i, r) {
+ var a,
+ d,
+ v,
+ b,
+ x,
+ D = n;
+ 2 !== _ &&
+ ((_ = 2),
+ l && clearTimeout(l),
+ (c = t),
+ (o = r || ""),
+ (k.readyState = e > 0 ? 4 : 0),
+ (a = (e >= 200 && 300 > e) || 304 === e),
+ i && (b = I(p, k, i)),
+ (b = F(p, b, k, a)),
+ a
+ ? (p.ifModified &&
+ ((x = k.getResponseHeader("Last-Modified")) &&
+ (ue.lastModified[s] = x),
+ (x = k.getResponseHeader("etag")) && (ue.etag[s] = x)),
+ 204 === e || "HEAD" === p.type
+ ? (D = "nocontent")
+ : 304 === e
+ ? (D = "notmodified")
+ : ((D = b.state), (d = b.data), (v = b.error), (a = !v)))
+ : ((v = D), (e || !D) && ((D = "error"), 0 > e && (e = 0))),
+ (k.status = e),
+ (k.statusText = (n || D) + ""),
+ a ? g.resolveWith(h, [d, D, k]) : g.rejectWith(h, [k, D, v]),
+ k.statusCode(y),
+ (y = t),
+ u && f.trigger(a ? "ajaxSuccess" : "ajaxError", [k, p, a ? d : v]),
+ m.fireWith(h, [k, D]),
+ u &&
+ (f.trigger("ajaxComplete", [k, p]),
+ --ue.active || ue.event.trigger("ajaxStop")));
+ }
+ "object" == typeof e && ((n = e), (e = t)), (n = n || {});
+ var r,
+ a,
+ s,
+ o,
+ l,
+ u,
+ c,
+ d,
+ p = ue.ajaxSetup({}, n),
+ h = p.context || p,
+ f = p.context && (h.nodeType || h.jquery) ? ue(h) : ue.event,
+ g = ue.Deferred(),
+ m = ue.Callbacks("once memory"),
+ y = p.statusCode || {},
+ v = {},
+ b = {},
+ _ = 0,
+ x = "canceled",
+ k = {
+ readyState: 0,
+ getResponseHeader: function (e) {
+ var t;
+ if (2 === _) {
+ if (!d)
+ for (d = {}; (t = It.exec(o)); ) d[t[1].toLowerCase()] = t[2];
+ t = d[e.toLowerCase()];
+ }
+ return null == t ? null : t;
+ },
+ getAllResponseHeaders: function () {
+ return 2 === _ ? o : null;
+ },
+ setRequestHeader: function (e, t) {
+ var n = e.toLowerCase();
+ return _ || ((e = b[n] = b[n] || e), (v[e] = t)), this;
+ },
+ overrideMimeType: function (e) {
+ return _ || (p.mimeType = e), this;
+ },
+ statusCode: function (e) {
+ var t;
+ if (e)
+ if (2 > _) for (t in e) y[t] = [y[t], e[t]];
+ else k.always(e[k.status]);
+ return this;
+ },
+ abort: function (e) {
+ var t = e || x;
+ return c && c.abort(t), i(0, t), this;
+ },
+ };
+ if (
+ ((g.promise(k).complete = m.add),
+ (k.success = k.done),
+ (k.error = k.fail),
+ (p.url = ((e || p.url || St) + "")
+ .replace(Et, "")
+ .replace(Ht, Mt[1] + "//")),
+ (p.type = n.method || n.type || p.method || p.type),
+ (p.dataTypes = ue
+ .trim(p.dataType || "*")
+ .toLowerCase()
+ .match(de) || [""]),
+ null == p.crossDomain &&
+ ((r = Ot.exec(p.url.toLowerCase())),
+ (p.crossDomain = !(
+ !r ||
+ (r[1] === Mt[1] &&
+ r[2] === Mt[2] &&
+ (r[3] || ("http:" === r[1] ? "80" : "443")) ===
+ (Mt[3] || ("http:" === Mt[1] ? "80" : "443")))
+ ))),
+ p.data &&
+ p.processData &&
+ "string" != typeof p.data &&
+ (p.data = ue.param(p.data, p.traditional)),
+ E(Rt, p, n, k),
+ 2 === _)
+ )
+ return k;
+ (u = p.global) && 0 == ue.active++ && ue.event.trigger("ajaxStart"),
+ (p.type = p.type.toUpperCase()),
+ (p.hasContent = !Lt.test(p.type)),
+ (s = p.url),
+ p.hasContent ||
+ (p.data &&
+ ((s = p.url += (At.test(s) ? "&" : "?") + p.data), delete p.data),
+ !1 === p.cache &&
+ (p.url = jt.test(s)
+ ? s.replace(jt, "$1_=" + $t++)
+ : s + (At.test(s) ? "&" : "?") + "_=" + $t++)),
+ p.ifModified &&
+ (ue.lastModified[s] &&
+ k.setRequestHeader("If-Modified-Since", ue.lastModified[s]),
+ ue.etag[s] && k.setRequestHeader("If-None-Match", ue.etag[s])),
+ ((p.data && p.hasContent && !1 !== p.contentType) || n.contentType) &&
+ k.setRequestHeader("Content-Type", p.contentType),
+ k.setRequestHeader(
+ "Accept",
+ p.dataTypes[0] && p.accepts[p.dataTypes[0]]
+ ? p.accepts[p.dataTypes[0]] +
+ ("*" !== p.dataTypes[0] ? ", " + qt + "; q=0.01" : "")
+ : p.accepts["*"]
+ );
+ for (a in p.headers) k.setRequestHeader(a, p.headers[a]);
+ if (p.beforeSend && (!1 === p.beforeSend.call(h, k, p) || 2 === _))
+ return k.abort();
+ x = "abort";
+ for (a in { success: 1, error: 1, complete: 1 }) k[a](p[a]);
+ if ((c = E(Yt, p, n, k))) {
+ (k.readyState = 1),
+ u && f.trigger("ajaxSend", [k, p]),
+ p.async &&
+ p.timeout > 0 &&
+ (l = setTimeout(function () {
+ k.abort("timeout");
+ }, p.timeout));
+ try {
+ (_ = 1), c.send(v, i);
+ } catch (e) {
+ if (!(2 > _)) throw e;
+ i(-1, e);
+ }
+ } else i(-1, "No Transport");
+ return k;
+ },
+ getJSON: function (e, t, n) {
+ return ue.get(e, t, n, "json");
+ },
+ getScript: function (e, n) {
+ return ue.get(e, t, n, "script");
+ },
+ }),
+ ue.each(["get", "post"], function (e, n) {
+ ue[n] = function (e, i, r, a) {
+ return (
+ ue.isFunction(i) && ((a = a || r), (r = i), (i = t)),
+ ue.ajax({ url: e, type: n, dataType: a, data: i, success: r })
+ );
+ };
+ }),
+ ue.ajaxSetup({
+ accepts: {
+ script:
+ "text/javascript, application/javascript, application/ecmascript, application/x-ecmascript",
+ },
+ contents: { script: /(?:java|ecma)script/ },
+ converters: {
+ "text script": function (e) {
+ return ue.globalEval(e), e;
+ },
+ },
+ }),
+ ue.ajaxPrefilter("script", function (e) {
+ e.cache === t && (e.cache = !1),
+ e.crossDomain && ((e.type = "GET"), (e.global = !1));
+ }),
+ ue.ajaxTransport("script", function (e) {
+ if (e.crossDomain) {
+ var n,
+ i = G.head || ue("head")[0] || G.documentElement;
+ return {
+ send: function (t, r) {
+ ((n = G.createElement("script")).async = !0),
+ e.scriptCharset && (n.charset = e.scriptCharset),
+ (n.src = e.url),
+ (n.onload = n.onreadystatechange =
+ function (e, t) {
+ (t ||
+ !n.readyState ||
+ /loaded|complete/.test(n.readyState)) &&
+ ((n.onload = n.onreadystatechange = null),
+ n.parentNode && n.parentNode.removeChild(n),
+ (n = null),
+ t || r(200, "success"));
+ }),
+ i.insertBefore(n, i.firstChild);
+ },
+ abort: function () {
+ n && n.onload(t, !0);
+ },
+ };
+ }
+ });
+ var Wt = [],
+ Bt = /(=)\?(?=&|$)|\?\?/;
+ ue.ajaxSetup({
+ jsonp: "callback",
+ jsonpCallback: function () {
+ var e = Wt.pop() || ue.expando + "_" + $t++;
+ return (this[e] = !0), e;
+ },
+ }),
+ ue.ajaxPrefilter("json jsonp", function (n, i, r) {
+ var a,
+ s,
+ o,
+ l =
+ !1 !== n.jsonp &&
+ (Bt.test(n.url)
+ ? "url"
+ : "string" == typeof n.data &&
+ !(n.contentType || "").indexOf(
+ "application/x-www-form-urlencoded"
+ ) &&
+ Bt.test(n.data) &&
+ "data");
+ return l || "jsonp" === n.dataTypes[0]
+ ? ((a = n.jsonpCallback =
+ ue.isFunction(n.jsonpCallback)
+ ? n.jsonpCallback()
+ : n.jsonpCallback),
+ l
+ ? (n[l] = n[l].replace(Bt, "$1" + a))
+ : !1 !== n.jsonp &&
+ (n.url += (At.test(n.url) ? "&" : "?") + n.jsonp + "=" + a),
+ (n.converters["script json"] = function () {
+ return o || ue.error(a + " was not called"), o[0];
+ }),
+ (n.dataTypes[0] = "json"),
+ (s = e[a]),
+ (e[a] = function () {
+ o = arguments;
+ }),
+ r.always(function () {
+ (e[a] = s),
+ n[a] && ((n.jsonpCallback = i.jsonpCallback), Wt.push(a)),
+ o && ue.isFunction(s) && s(o[0]),
+ (o = s = t);
+ }),
+ "script")
+ : t;
+ });
+ var zt,
+ Kt,
+ Ut = 0,
+ Xt =
+ e.ActiveXObject &&
+ function () {
+ var e;
+ for (e in zt) zt[e](t, !0);
+ };
+ (ue.ajaxSettings.xhr = e.ActiveXObject
+ ? function () {
+ return (!this.isLocal && L()) || H();
+ }
+ : L),
+ (Kt = ue.ajaxSettings.xhr()),
+ (ue.support.cors = !!Kt && "withCredentials" in Kt),
+ (Kt = ue.support.ajax = !!Kt) &&
+ ue.ajaxTransport(function (n) {
+ if (!n.crossDomain || ue.support.cors) {
+ var i;
+ return {
+ send: function (r, a) {
+ var s,
+ o,
+ l = n.xhr();
+ if (
+ (n.username
+ ? l.open(n.type, n.url, n.async, n.username, n.password)
+ : l.open(n.type, n.url, n.async),
+ n.xhrFields)
+ )
+ for (o in n.xhrFields) l[o] = n.xhrFields[o];
+ n.mimeType &&
+ l.overrideMimeType &&
+ l.overrideMimeType(n.mimeType),
+ n.crossDomain ||
+ r["X-Requested-With"] ||
+ (r["X-Requested-With"] = "XMLHttpRequest");
+ try {
+ for (o in r) l.setRequestHeader(o, r[o]);
+ } catch (e) {}
+ l.send((n.hasContent && n.data) || null),
+ (i = function (e, r) {
+ var o, u, c, d;
+ try {
+ if (i && (r || 4 === l.readyState))
+ if (
+ ((i = t),
+ s &&
+ ((l.onreadystatechange = ue.noop),
+ Xt && delete zt[s]),
+ r)
+ )
+ 4 !== l.readyState && l.abort();
+ else {
+ (d = {}),
+ (o = l.status),
+ (u = l.getAllResponseHeaders()),
+ "string" == typeof l.responseText &&
+ (d.text = l.responseText);
+ try {
+ c = l.statusText;
+ } catch (e) {
+ c = "";
+ }
+ o || !n.isLocal || n.crossDomain
+ ? 1223 === o && (o = 204)
+ : (o = d.text ? 200 : 404);
+ }
+ } catch (e) {
+ r || a(-1, e);
+ }
+ d && a(o, c, d, u);
+ }),
+ n.async
+ ? 4 === l.readyState
+ ? setTimeout(i)
+ : ((s = ++Ut),
+ Xt && (zt || ((zt = {}), ue(e).unload(Xt)), (zt[s] = i)),
+ (l.onreadystatechange = i))
+ : i();
+ },
+ abort: function () {
+ i && i(t, !0);
+ },
+ };
+ }
+ });
+ var Gt,
+ Vt,
+ Jt = /^(?:toggle|show|hide)$/,
+ Qt = RegExp("^(?:([+-])=|)(" + ce + ")([a-z%]*)$", "i"),
+ Zt = /queueHooks$/,
+ en = [
+ function (e, t, n) {
+ var i,
+ r,
+ a,
+ s,
+ o,
+ l,
+ u = this,
+ c = {},
+ d = e.style,
+ p = e.nodeType && D(e),
+ h = ue._data(e, "fxshow");
+ n.queue ||
+ (null == (o = ue._queueHooks(e, "fx")).unqueued &&
+ ((o.unqueued = 0),
+ (l = o.empty.fire),
+ (o.empty.fire = function () {
+ o.unqueued || l();
+ })),
+ o.unqueued++,
+ u.always(function () {
+ u.always(function () {
+ o.unqueued--, ue.queue(e, "fx").length || o.empty.fire();
+ });
+ })),
+ 1 === e.nodeType &&
+ ("height" in t || "width" in t) &&
+ ((n.overflow = [d.overflow, d.overflowX, d.overflowY]),
+ "inline" === ue.css(e, "display") &&
+ "none" === ue.css(e, "float") &&
+ (ue.support.inlineBlockNeedsLayout && "inline" !== M(e.nodeName)
+ ? (d.zoom = 1)
+ : (d.display = "inline-block"))),
+ n.overflow &&
+ ((d.overflow = "hidden"),
+ ue.support.shrinkWrapBlocks ||
+ u.always(function () {
+ (d.overflow = n.overflow[0]),
+ (d.overflowX = n.overflow[1]),
+ (d.overflowY = n.overflow[2]);
+ }));
+ for (i in t)
+ if (((r = t[i]), Jt.exec(r))) {
+ if (
+ (delete t[i],
+ (a = a || "toggle" === r),
+ r === (p ? "hide" : "show"))
+ )
+ continue;
+ c[i] = (h && h[i]) || ue.style(e, i);
+ }
+ if (!ue.isEmptyObject(c)) {
+ h ? "hidden" in h && (p = h.hidden) : (h = ue._data(e, "fxshow", {})),
+ a && (h.hidden = !p),
+ p
+ ? ue(e).show()
+ : u.done(function () {
+ ue(e).hide();
+ }),
+ u.done(function () {
+ var t;
+ ue._removeData(e, "fxshow");
+ for (t in c) ue.style(e, t, c[t]);
+ });
+ for (i in c)
+ (s = P(p ? h[i] : 0, i, u)),
+ i in h ||
+ ((h[i] = s.start),
+ p &&
+ ((s.end = s.start),
+ (s.start = "width" === i || "height" === i ? 1 : 0)));
+ }
+ },
+ ],
+ tn = {
+ "*": [
+ function (e, t) {
+ var n = this.createTween(e, t),
+ i = n.cur(),
+ r = Qt.exec(t),
+ a = (r && r[3]) || (ue.cssNumber[e] ? "" : "px"),
+ s =
+ (ue.cssNumber[e] || ("px" !== a && +i)) &&
+ Qt.exec(ue.css(n.elem, e)),
+ o = 1,
+ l = 20;
+ if (s && s[3] !== a) {
+ (a = a || s[3]), (r = r || []), (s = +i || 1);
+ do {
+ (o = o || ".5"), (s /= o), ue.style(n.elem, e, s + a);
+ } while (o !== (o = n.cur() / i) && 1 !== o && --l);
+ }
+ return (
+ r &&
+ ((s = n.start = +s || +i || 0),
+ (n.unit = a),
+ (n.end = r[1] ? s + (r[1] + 1) * r[2] : +r[2])),
+ n
+ );
+ },
+ ],
+ };
+ (ue.Animation = ue.extend(R, {
+ tweener: function (e, t) {
+ ue.isFunction(e) ? ((t = e), (e = ["*"])) : (e = e.split(" "));
+ for (var n, i = 0, r = e.length; r > i; i++)
+ (n = e[i]), (tn[n] = tn[n] || []), tn[n].unshift(t);
+ },
+ prefilter: function (e, t) {
+ t ? en.unshift(e) : en.push(e);
+ },
+ })),
+ (ue.Tween = q),
+ (q.prototype = {
+ constructor: q,
+ init: function (e, t, n, i, r, a) {
+ (this.elem = e),
+ (this.prop = n),
+ (this.easing = r || "swing"),
+ (this.options = t),
+ (this.start = this.now = this.cur()),
+ (this.end = i),
+ (this.unit = a || (ue.cssNumber[n] ? "" : "px"));
+ },
+ cur: function () {
+ var e = q.propHooks[this.prop];
+ return e && e.get ? e.get(this) : q.propHooks._default.get(this);
+ },
+ run: function (e) {
+ var t,
+ n = q.propHooks[this.prop];
+ return (
+ (this.pos = t =
+ this.options.duration
+ ? ue.easing[this.easing](
+ e,
+ this.options.duration * e,
+ 0,
+ 1,
+ this.options.duration
+ )
+ : e),
+ (this.now = (this.end - this.start) * t + this.start),
+ this.options.step &&
+ this.options.step.call(this.elem, this.now, this),
+ n && n.set ? n.set(this) : q.propHooks._default.set(this),
+ this
+ );
+ },
+ }),
+ (q.prototype.init.prototype = q.prototype),
+ (q.propHooks = {
+ _default: {
+ get: function (e) {
+ var t;
+ return null == e.elem[e.prop] ||
+ (e.elem.style && null != e.elem.style[e.prop])
+ ? ((t = ue.css(e.elem, e.prop, "")), t && "auto" !== t ? t : 0)
+ : e.elem[e.prop];
+ },
+ set: function (e) {
+ ue.fx.step[e.prop]
+ ? ue.fx.step[e.prop](e)
+ : e.elem.style &&
+ (null != e.elem.style[ue.cssProps[e.prop]] || ue.cssHooks[e.prop])
+ ? ue.style(e.elem, e.prop, e.now + e.unit)
+ : (e.elem[e.prop] = e.now);
+ },
+ },
+ }),
+ (q.propHooks.scrollTop = q.propHooks.scrollLeft =
+ {
+ set: function (e) {
+ e.elem.nodeType && e.elem.parentNode && (e.elem[e.prop] = e.now);
+ },
+ }),
+ ue.each(["toggle", "show", "hide"], function (e, t) {
+ var n = ue.fn[t];
+ ue.fn[t] = function (e, i, r) {
+ return null == e || "boolean" == typeof e
+ ? n.apply(this, arguments)
+ : this.animate(W(t, !0), e, i, r);
+ };
+ }),
+ ue.fn.extend({
+ fadeTo: function (e, t, n, i) {
+ return this.filter(D)
+ .css("opacity", 0)
+ .show()
+ .end()
+ .animate({ opacity: t }, e, n, i);
+ },
+ animate: function (e, t, n, i) {
+ var r = ue.isEmptyObject(e),
+ a = ue.speed(t, n, i),
+ s = function () {
+ var t = R(this, ue.extend({}, e), a);
+ (r || ue._data(this, "finish")) && t.stop(!0);
+ };
+ return (
+ (s.finish = s),
+ r || !1 === a.queue ? this.each(s) : this.queue(a.queue, s)
+ );
+ },
+ stop: function (e, n, i) {
+ var r = function (e) {
+ var t = e.stop;
+ delete e.stop, t(i);
+ };
+ return (
+ "string" != typeof e && ((i = n), (n = e), (e = t)),
+ n && !1 !== e && this.queue(e || "fx", []),
+ this.each(function () {
+ var t = !0,
+ n = null != e && e + "queueHooks",
+ a = ue.timers,
+ s = ue._data(this);
+ if (n) s[n] && s[n].stop && r(s[n]);
+ else for (n in s) s[n] && s[n].stop && Zt.test(n) && r(s[n]);
+ for (n = a.length; n--; )
+ a[n].elem !== this ||
+ (null != e && a[n].queue !== e) ||
+ (a[n].anim.stop(i), (t = !1), a.splice(n, 1));
+ (t || !i) && ue.dequeue(this, e);
+ })
+ );
+ },
+ finish: function (e) {
+ return (
+ !1 !== e && (e = e || "fx"),
+ this.each(function () {
+ var t,
+ n = ue._data(this),
+ i = n[e + "queue"],
+ r = n[e + "queueHooks"],
+ a = ue.timers,
+ s = i ? i.length : 0;
+ for (
+ n.finish = !0,
+ ue.queue(this, e, []),
+ r && r.stop && r.stop.call(this, !0),
+ t = a.length;
+ t--;
+
+ )
+ a[t].elem === this &&
+ a[t].queue === e &&
+ (a[t].anim.stop(!0), a.splice(t, 1));
+ for (t = 0; s > t; t++)
+ i[t] && i[t].finish && i[t].finish.call(this);
+ delete n.finish;
+ })
+ );
+ },
+ }),
+ ue.each(
+ {
+ slideDown: W("show"),
+ slideUp: W("hide"),
+ slideToggle: W("toggle"),
+ fadeIn: { opacity: "show" },
+ fadeOut: { opacity: "hide" },
+ fadeToggle: { opacity: "toggle" },
+ },
+ function (e, t) {
+ ue.fn[e] = function (e, n, i) {
+ return this.animate(t, e, n, i);
+ };
+ }
+ ),
+ (ue.speed = function (e, t, n) {
+ var i =
+ e && "object" == typeof e
+ ? ue.extend({}, e)
+ : {
+ complete: n || (!n && t) || (ue.isFunction(e) && e),
+ duration: e,
+ easing: (n && t) || (t && !ue.isFunction(t) && t),
+ };
+ return (
+ (i.duration = ue.fx.off
+ ? 0
+ : "number" == typeof i.duration
+ ? i.duration
+ : i.duration in ue.fx.speeds
+ ? ue.fx.speeds[i.duration]
+ : ue.fx.speeds._default),
+ (null == i.queue || !0 === i.queue) && (i.queue = "fx"),
+ (i.old = i.complete),
+ (i.complete = function () {
+ ue.isFunction(i.old) && i.old.call(this),
+ i.queue && ue.dequeue(this, i.queue);
+ }),
+ i
+ );
+ }),
+ (ue.easing = {
+ linear: function (e) {
+ return e;
+ },
+ swing: function (e) {
+ return 0.5 - Math.cos(e * Math.PI) / 2;
+ },
+ }),
+ (ue.timers = []),
+ (ue.fx = q.prototype.init),
+ (ue.fx.tick = function () {
+ var e,
+ n = ue.timers,
+ i = 0;
+ for (Gt = ue.now(); n.length > i; i++)
+ (e = n[i])() || n[i] !== e || n.splice(i--, 1);
+ n.length || ue.fx.stop(), (Gt = t);
+ }),
+ (ue.fx.timer = function (e) {
+ e() && ue.timers.push(e) && ue.fx.start();
+ }),
+ (ue.fx.interval = 13),
+ (ue.fx.start = function () {
+ Vt || (Vt = setInterval(ue.fx.tick, ue.fx.interval));
+ }),
+ (ue.fx.stop = function () {
+ clearInterval(Vt), (Vt = null);
+ }),
+ (ue.fx.speeds = { slow: 600, fast: 200, _default: 400 }),
+ (ue.fx.step = {}),
+ ue.expr &&
+ ue.expr.filters &&
+ (ue.expr.filters.animated = function (e) {
+ return ue.grep(ue.timers, function (t) {
+ return e === t.elem;
+ }).length;
+ }),
+ (ue.fn.offset = function (e) {
+ if (arguments.length)
+ return e === t
+ ? this
+ : this.each(function (t) {
+ ue.offset.setOffset(this, e, t);
+ });
+ var n,
+ i,
+ r = { top: 0, left: 0 },
+ a = this[0],
+ s = a && a.ownerDocument;
+ return s
+ ? ((n = s.documentElement),
+ ue.contains(n, a)
+ ? (typeof a.getBoundingClientRect !== U &&
+ (r = a.getBoundingClientRect()),
+ (i = B(s)),
+ {
+ top:
+ r.top + (i.pageYOffset || n.scrollTop) - (n.clientTop || 0),
+ left:
+ r.left +
+ (i.pageXOffset || n.scrollLeft) -
+ (n.clientLeft || 0),
+ })
+ : r)
+ : void 0;
+ }),
+ (ue.offset = {
+ setOffset: function (e, t, n) {
+ var i = ue.css(e, "position");
+ "static" === i && (e.style.position = "relative");
+ var r,
+ a,
+ s = ue(e),
+ o = s.offset(),
+ l = ue.css(e, "top"),
+ u = ue.css(e, "left"),
+ c = {},
+ d = {};
+ ("absolute" === i || "fixed" === i) && ue.inArray("auto", [l, u]) > -1
+ ? ((d = s.position()), (r = d.top), (a = d.left))
+ : ((r = parseFloat(l) || 0), (a = parseFloat(u) || 0)),
+ ue.isFunction(t) && (t = t.call(e, n, o)),
+ null != t.top && (c.top = t.top - o.top + r),
+ null != t.left && (c.left = t.left - o.left + a),
+ "using" in t ? t.using.call(e, c) : s.css(c);
+ },
+ }),
+ ue.fn.extend({
+ position: function () {
+ if (this[0]) {
+ var e,
+ t,
+ n = { top: 0, left: 0 },
+ i = this[0];
+ return (
+ "fixed" === ue.css(i, "position")
+ ? (t = i.getBoundingClientRect())
+ : ((e = this.offsetParent()),
+ (t = this.offset()),
+ ue.nodeName(e[0], "html") || (n = e.offset()),
+ (n.top += ue.css(e[0], "borderTopWidth", !0)),
+ (n.left += ue.css(e[0], "borderLeftWidth", !0))),
+ {
+ top: t.top - n.top - ue.css(i, "marginTop", !0),
+ left: t.left - n.left - ue.css(i, "marginLeft", !0),
+ }
+ );
+ }
+ },
+ offsetParent: function () {
+ return this.map(function () {
+ for (
+ var e = this.offsetParent || V;
+ e && !ue.nodeName(e, "html") && "static" === ue.css(e, "position");
+
+ )
+ e = e.offsetParent;
+ return e || V;
+ });
+ },
+ }),
+ ue.each(
+ { scrollLeft: "pageXOffset", scrollTop: "pageYOffset" },
+ function (e, n) {
+ var i = /Y/.test(n);
+ ue.fn[e] = function (r) {
+ return ue.access(
+ this,
+ function (e, r, a) {
+ var s = B(e);
+ return a === t
+ ? s
+ ? n in s
+ ? s[n]
+ : s.document.documentElement[r]
+ : e[r]
+ : (s
+ ? s.scrollTo(
+ i ? ue(s).scrollLeft() : a,
+ i ? a : ue(s).scrollTop()
+ )
+ : (e[r] = a),
+ t);
+ },
+ e,
+ r,
+ arguments.length,
+ null
+ );
+ };
+ }
+ ),
+ ue.each({ Height: "height", Width: "width" }, function (e, n) {
+ ue.each(
+ { padding: "inner" + e, content: n, "": "outer" + e },
+ function (i, r) {
+ ue.fn[r] = function (r, a) {
+ var s = arguments.length && (i || "boolean" != typeof r),
+ o = i || (!0 === r || !0 === a ? "margin" : "border");
+ return ue.access(
+ this,
+ function (n, i, r) {
+ var a;
+ return ue.isWindow(n)
+ ? n.document.documentElement["client" + e]
+ : 9 === n.nodeType
+ ? ((a = n.documentElement),
+ Math.max(
+ n.body["scroll" + e],
+ a["scroll" + e],
+ n.body["offset" + e],
+ a["offset" + e],
+ a["client" + e]
+ ))
+ : r === t
+ ? ue.css(n, i, o)
+ : ue.style(n, i, r, o);
+ },
+ n,
+ s ? r : t,
+ s,
+ null
+ );
+ };
+ }
+ );
+ }),
+ (ue.fn.size = function () {
+ return this.length;
+ }),
+ (ue.fn.andSelf = ue.fn.addBack),
+ "object" == typeof module && module && "object" == typeof module.exports
+ ? (module.exports = ue)
+ : ((e.jQuery = e.$ = ue),
+ "function" == typeof define &&
+ define.amd &&
+ define("jquery", [], function () {
+ return ue;
+ }));
+})(window),
+ (function (e, t) {
+ function n(t, n) {
+ var r,
+ a,
+ s,
+ o = t.nodeName.toLowerCase();
+ return "area" === o
+ ? ((r = t.parentNode),
+ (a = r.name),
+ !(!t.href || !a || "map" !== r.nodeName.toLowerCase()) &&
+ !!(s = e("img[usemap=#" + a + "]")[0]) &&
+ i(s))
+ : (/input|select|textarea|button|object/.test(o)
+ ? !t.disabled
+ : "a" === o
+ ? t.href || n
+ : n) && i(t);
+ }
+ function i(t) {
+ return (
+ e.expr.filters.visible(t) &&
+ !e(t)
+ .parents()
+ .addBack()
+ .filter(function () {
+ return "hidden" === e.css(this, "visibility");
+ }).length
+ );
+ }
+ var r = 0,
+ a = /^ui-id-\d+$/;
+ (e.ui = e.ui || {}),
+ e.extend(e.ui, {
+ version: "1.10.3",
+ keyCode: {
+ BACKSPACE: 8,
+ COMMA: 188,
+ DELETE: 46,
+ DOWN: 40,
+ END: 35,
+ ENTER: 13,
+ ESCAPE: 27,
+ HOME: 36,
+ LEFT: 37,
+ NUMPAD_ADD: 107,
+ NUMPAD_DECIMAL: 110,
+ NUMPAD_DIVIDE: 111,
+ NUMPAD_ENTER: 108,
+ NUMPAD_MULTIPLY: 106,
+ NUMPAD_SUBTRACT: 109,
+ PAGE_DOWN: 34,
+ PAGE_UP: 33,
+ PERIOD: 190,
+ RIGHT: 39,
+ SPACE: 32,
+ TAB: 9,
+ UP: 38,
+ },
+ }),
+ e.fn.extend({
+ focus: (function (t) {
+ return function (n, i) {
+ return "number" == typeof n
+ ? this.each(function () {
+ var t = this;
+ setTimeout(function () {
+ e(t).focus(), i && i.call(t);
+ }, n);
+ })
+ : t.apply(this, arguments);
+ };
+ })(e.fn.focus),
+ scrollParent: function () {
+ var t;
+ return (
+ (t =
+ (e.ui.ie && /(static|relative)/.test(this.css("position"))) ||
+ /absolute/.test(this.css("position"))
+ ? this.parents()
+ .filter(function () {
+ return (
+ /(relative|absolute|fixed)/.test(
+ e.css(this, "position")
+ ) &&
+ /(auto|scroll)/.test(
+ e.css(this, "overflow") +
+ e.css(this, "overflow-y") +
+ e.css(this, "overflow-x")
+ )
+ );
+ })
+ .eq(0)
+ : this.parents()
+ .filter(function () {
+ return /(auto|scroll)/.test(
+ e.css(this, "overflow") +
+ e.css(this, "overflow-y") +
+ e.css(this, "overflow-x")
+ );
+ })
+ .eq(0)),
+ /fixed/.test(this.css("position")) || !t.length ? e(document) : t
+ );
+ },
+ zIndex: function (t) {
+ if (void 0 !== t) return this.css("zIndex", t);
+ if (this.length)
+ for (var n, i, r = e(this[0]); r.length && r[0] !== document; ) {
+ if (
+ ("absolute" === (n = r.css("position")) ||
+ "relative" === n ||
+ "fixed" === n) &&
+ ((i = parseInt(r.css("zIndex"), 10)), !isNaN(i) && 0 !== i)
+ )
+ return i;
+ r = r.parent();
+ }
+ return 0;
+ },
+ uniqueId: function () {
+ return this.each(function () {
+ this.id || (this.id = "ui-id-" + ++r);
+ });
+ },
+ removeUniqueId: function () {
+ return this.each(function () {
+ a.test(this.id) && e(this).removeAttr("id");
+ });
+ },
+ }),
+ e.extend(e.expr[":"], {
+ data: e.expr.createPseudo
+ ? e.expr.createPseudo(function (t) {
+ return function (n) {
+ return !!e.data(n, t);
+ };
+ })
+ : function (t, n, i) {
+ return !!e.data(t, i[3]);
+ },
+ focusable: function (t) {
+ return n(t, !isNaN(e.attr(t, "tabindex")));
+ },
+ tabbable: function (t) {
+ var i = e.attr(t, "tabindex"),
+ r = isNaN(i);
+ return (r || i >= 0) && n(t, !r);
+ },
+ }),
+ e("
").outerWidth(1).jquery ||
+ e.each(["Width", "Height"], function (t, n) {
+ function i(t, n, i, a) {
+ return (
+ e.each(r, function () {
+ (n -= parseFloat(e.css(t, "padding" + this)) || 0),
+ i &&
+ (n -= parseFloat(e.css(t, "border" + this + "Width")) || 0),
+ a && (n -= parseFloat(e.css(t, "margin" + this)) || 0);
+ }),
+ n
+ );
+ }
+ var r = "Width" === n ? ["Left", "Right"] : ["Top", "Bottom"],
+ a = n.toLowerCase(),
+ s = {
+ innerWidth: e.fn.innerWidth,
+ innerHeight: e.fn.innerHeight,
+ outerWidth: e.fn.outerWidth,
+ outerHeight: e.fn.outerHeight,
+ };
+ (e.fn["inner" + n] = function (t) {
+ return void 0 === t
+ ? s["inner" + n].call(this)
+ : this.each(function () {
+ e(this).css(a, i(this, t) + "px");
+ });
+ }),
+ (e.fn["outer" + n] = function (t, r) {
+ return "number" != typeof t
+ ? s["outer" + n].call(this, t)
+ : this.each(function () {
+ e(this).css(a, i(this, t, !0, r) + "px");
+ });
+ });
+ }),
+ e.fn.addBack ||
+ (e.fn.addBack = function (e) {
+ return this.add(
+ null == e ? this.prevObject : this.prevObject.filter(e)
+ );
+ }),
+ e(" ").data("a-b", "a").removeData("a-b").data("a-b") &&
+ (e.fn.removeData = (function (t) {
+ return function (n) {
+ return arguments.length
+ ? t.call(this, e.camelCase(n))
+ : t.call(this);
+ };
+ })(e.fn.removeData)),
+ (e.ui.ie = !!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase())),
+ (e.support.selectstart =
+ "onselectstart" in document.createElement("div")),
+ e.fn.extend({
+ disableSelection: function () {
+ return this.bind(
+ (e.support.selectstart ? "selectstart" : "mousedown") +
+ ".ui-disableSelection",
+ function (e) {
+ e.preventDefault();
+ }
+ );
+ },
+ enableSelection: function () {
+ return this.unbind(".ui-disableSelection");
+ },
+ }),
+ e.extend(e.ui, {
+ plugin: {
+ add: function (t, n, i) {
+ var r,
+ a = e.ui[t].prototype;
+ for (r in i)
+ (a.plugins[r] = a.plugins[r] || []), a.plugins[r].push([n, i[r]]);
+ },
+ call: function (e, t, n) {
+ var i,
+ r = e.plugins[t];
+ if (
+ r &&
+ e.element[0].parentNode &&
+ 11 !== e.element[0].parentNode.nodeType
+ )
+ for (i = 0; i < r.length; i++)
+ e.options[r[i][0]] && r[i][1].apply(e.element, n);
+ },
+ },
+ hasScroll: function (t, n) {
+ if ("hidden" === e(t).css("overflow")) return !1;
+ var i = n && "left" === n ? "scrollLeft" : "scrollTop",
+ r = !1;
+ return t[i] > 0 || ((t[i] = 1), (r = t[i] > 0), (t[i] = 0), r);
+ },
+ });
+ })(jQuery);
+var GREGORIAN_EPOCH = 1721425.5,
+ ISLAMIC_EPOCH = 1948439.5,
+ PERSIAN_EPOCH = 1948320.5;
+!(function ($, undefined) {
+ function Datepicker() {
+ (this._curInst = null),
+ (this._keyEvent = !1),
+ (this._disabledInputs = []),
+ (this._datepickerShowing = !1),
+ (this._inDialog = !1),
+ (this._mainDivId = "ui-datepicker-div"),
+ (this._inlineClass = "ui-datepicker-inline"),
+ (this._appendClass = "ui-datepicker-append"),
+ (this._triggerClass = "ui-datepicker-trigger"),
+ (this._dialogClass = "ui-datepicker-dialog"),
+ (this._disableClass = "ui-datepicker-disabled"),
+ (this._unselectableClass = "ui-datepicker-unselectable"),
+ (this._currentClass = "ui-datepicker-current-day"),
+ (this._dayOverClass = "ui-datepicker-days-cell-over"),
+ (this.regional = []),
+ (this.regional[""] = {
+ closeText: "Done",
+ prevText: "Prev",
+ nextText: "Next",
+ currentText: "Today",
+ monthNames: [
+ "January",
+ "February",
+ "March",
+ "April",
+ "May",
+ "June",
+ "July",
+ "August",
+ "September",
+ "October",
+ "November",
+ "December",
+ ],
+ monthNamesShort: [
+ "Jan",
+ "Feb",
+ "Mar",
+ "Apr",
+ "May",
+ "Jun",
+ "Jul",
+ "Aug",
+ "Sep",
+ "Oct",
+ "Nov",
+ "Dec",
+ ],
+ dayNames: [
+ "Sunday",
+ "Monday",
+ "Tuesday",
+ "Wednesday",
+ "Thursday",
+ "Friday",
+ "Saturday",
+ ],
+ dayNamesShort: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
+ dayNamesMin: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
+ weekHeader: "Wk",
+ dateFormat: "mm/dd/yy",
+ firstDay: 0,
+ isRTL: !1,
+ showMonthAfterYear: !1,
+ yearSuffix: "",
+ }),
+ (this._defaults = {
+ showOn: "focus",
+ showAnim: "fadeIn",
+ showOptions: {},
+ defaultDate: null,
+ appendText: "",
+ buttonText: "...",
+ buttonImage: "",
+ buttonImageOnly: !1,
+ hideIfNoPrevNext: !1,
+ navigationAsDateFormat: !1,
+ gotoCurrent: !1,
+ changeMonth: !1,
+ changeYear: !1,
+ yearRange: "c-10:c+10",
+ showOtherMonths: !1,
+ selectOtherMonths: !1,
+ showWeek: !1,
+ calculateWeek: this.iso8601Week,
+ shortYearCutoff: "+10",
+ minDate: null,
+ maxDate: null,
+ duration: "fast",
+ beforeShowDay: null,
+ beforeShow: null,
+ onSelect: null,
+ onChangeMonthYear: null,
+ onClose: null,
+ numberOfMonths: 1,
+ showCurrentAtPos: 0,
+ stepMonths: 1,
+ stepBigMonths: 12,
+ altField: "",
+ altFormat: "",
+ constrainInput: !0,
+ showButtonPanel: !1,
+ autoSize: !1,
+ disabled: !1,
+ }),
+ $.extend(this._defaults, this.regional[""]),
+ (this.dpDiv = bindHover(
+ $(
+ "
"
+ )
+ ));
+ }
+ function bindHover(e) {
+ var t =
+ "button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a";
+ return e
+ .delegate(t, "mouseout", function () {
+ $(this).removeClass("ui-state-hover"),
+ -1 !== this.className.indexOf("ui-datepicker-prev") &&
+ $(this).removeClass("ui-datepicker-prev-hover"),
+ -1 !== this.className.indexOf("ui-datepicker-next") &&
+ $(this).removeClass("ui-datepicker-next-hover");
+ })
+ .delegate(t, "mouseover", function () {
+ $.datepicker._isDisabledDatepicker(
+ instActive.inline ? e.parent()[0] : instActive.input[0]
+ ) ||
+ ($(this)
+ .parents(".ui-datepicker-calendar")
+ .find("a")
+ .removeClass("ui-state-hover"),
+ $(this).addClass("ui-state-hover"),
+ -1 !== this.className.indexOf("ui-datepicker-prev") &&
+ $(this).addClass("ui-datepicker-prev-hover"),
+ -1 !== this.className.indexOf("ui-datepicker-next") &&
+ $(this).addClass("ui-datepicker-next-hover"));
+ });
+ }
+ function extendRemove(e, t) {
+ $.extend(e, t);
+ for (var n in t) null == t[n] && (e[n] = t[n]);
+ return e;
+ }
+ $.extend($.ui, { datepicker: { version: "1.10.3" } });
+ var PROP_NAME = "datepicker",
+ instActive;
+ $.extend(Datepicker.prototype, {
+ markerClassName: "hasDatepicker",
+ maxRows: 4,
+ _widgetDatepicker: function () {
+ return this.dpDiv;
+ },
+ setDefaults: function (e) {
+ return extendRemove(this._defaults, e || {}), this;
+ },
+ _attachDatepicker: function (target, settings) {
+ var inlineSettings = null;
+ for (var attrName in this._defaults) {
+ var attrValue = target.getAttribute("date:" + attrName);
+ if (attrValue) {
+ inlineSettings = inlineSettings || {};
+ try {
+ inlineSettings[attrName] = eval(attrValue);
+ } catch (e) {
+ inlineSettings[attrName] = attrValue;
+ }
+ }
+ }
+ var nodeName = target.nodeName.toLowerCase(),
+ inline = "div" == nodeName || "span" == nodeName;
+ target.id || ((this.uuid += 1), (target.id = "dp" + this.uuid));
+ var inst = this._newInst($(target), inline),
+ regional = $.extend(
+ {},
+ (settings && this.regional[settings.regional]) || {}
+ );
+ (inst.settings = $.extend(
+ regional,
+ settings || {},
+ inlineSettings || {}
+ )),
+ (inst.settings = $.extend({}, settings || {}, inlineSettings || {})),
+ "input" == nodeName
+ ? this._connectDatepicker(target, inst)
+ : inline && this._inlineDatepicker(target, inst);
+ },
+ _newInst: function (e, t) {
+ return {
+ id: e[0].id.replace(/([^A-Za-z0-9_\-])/g, "\\\\$1"),
+ input: e,
+ selectedDay: 0,
+ selectedMonth: 0,
+ selectedYear: 0,
+ drawMonth: 0,
+ drawYear: 0,
+ inline: t,
+ dpDiv: t
+ ? bindHover(
+ $(
+ "
"
+ )
+ )
+ : this.dpDiv,
+ };
+ },
+ _connectDatepicker: function (e, t) {
+ var n = $(e);
+ (t.append = $([])),
+ (t.trigger = $([])),
+ n.hasClass(this.markerClassName) ||
+ (this._attachments(n, t),
+ n
+ .addClass(this.markerClassName)
+ .keydown(this._doKeyDown)
+ .keypress(this._doKeyPress)
+ .keyup(this._doKeyUp),
+ this._autoSize(t),
+ $.data(e, PROP_NAME, t),
+ t.settings.disabled && this._disableDatepicker(e));
+ },
+ _attachments: function (e, t) {
+ var n,
+ i,
+ r,
+ a = this._get(t, "appendText"),
+ s = this._get(t, "isRTL");
+ t.append && t.append.remove(),
+ a &&
+ ((t.append = $(
+ "" + a + " "
+ )),
+ e[s ? "before" : "after"](t.append)),
+ e.unbind("focus", this._showDatepicker),
+ t.trigger && t.trigger.remove(),
+ ("focus" !== (n = this._get(t, "showOn")) && "both" !== n) ||
+ e.focus(this._showDatepicker),
+ ("button" !== n && "both" !== n) ||
+ ((i = this._get(t, "buttonText")),
+ (r = this._get(t, "buttonImage")),
+ (t.trigger = $(
+ this._get(t, "buttonImageOnly")
+ ? $(" ")
+ .addClass(this._triggerClass)
+ .attr({ src: r, alt: i, title: i })
+ : $(" ")
+ .addClass(this._triggerClass)
+ .html(r ? $(" ").attr({ src: r, alt: i, title: i }) : i)
+ )),
+ e[s ? "before" : "after"](t.trigger),
+ t.trigger.click(function () {
+ return (
+ $.datepicker._datepickerShowing &&
+ $.datepicker._lastInput === e[0]
+ ? $.datepicker._hideDatepicker()
+ : $.datepicker._datepickerShowing &&
+ $.datepicker._lastInput !== e[0]
+ ? ($.datepicker._hideDatepicker(),
+ $.datepicker._showDatepicker(e[0]))
+ : $.datepicker._showDatepicker(e[0]),
+ !1
+ );
+ }));
+ },
+ _autoSize: function (e) {
+ if (this._get(e, "autoSize") && !e.inline) {
+ var t,
+ n,
+ i,
+ r,
+ a = new Date(2009, 11, 20),
+ s = this._get(e, "dateFormat");
+ s.match(/[DM]/) &&
+ ((t = function (e) {
+ for (n = 0, i = 0, r = 0; r < e.length; r++)
+ e[r].length > n && ((n = e[r].length), (i = r));
+ return i;
+ }),
+ a.setMonth(
+ t(this._get(e, s.match(/MM/) ? "monthNames" : "monthNamesShort"))
+ ),
+ a.setDate(
+ t(this._get(e, s.match(/DD/) ? "dayNames" : "dayNamesShort")) +
+ 20 -
+ a.getDay()
+ )),
+ e.input.attr("size", this._formatDate(e, a).length);
+ }
+ },
+ _inlineDatepicker: function (e, t) {
+ var n = $(e);
+ n.hasClass(this.markerClassName) ||
+ (n.addClass(this.markerClassName).append(t.dpDiv),
+ $.data(e, PROP_NAME, t),
+ this._setDate(t, this._getDefaultDate(t), !0),
+ this._updateDatepicker(t),
+ this._updateAlternate(t),
+ t.settings.disabled && this._disableDatepicker(e),
+ t.dpDiv.css("display", "block"));
+ },
+ _dialogDatepicker: function (e, t, n, i, r) {
+ var a,
+ s,
+ o,
+ l,
+ u,
+ c = this._dialogInst;
+ return (
+ c ||
+ ((this.uuid += 1),
+ (a = "dp" + this.uuid),
+ (this._dialogInput = $(
+ " "
+ )),
+ this._dialogInput.keydown(this._doKeyDown),
+ $("body").append(this._dialogInput),
+ ((c = this._dialogInst =
+ this._newInst(this._dialogInput, !1)).settings = {}),
+ $.data(this._dialogInput[0], PROP_NAME, c)),
+ extendRemove(c.settings, i || {}),
+ (t = t && t.constructor === Date ? this._formatDate(c, t) : t),
+ this._dialogInput.val(t),
+ (this._pos = r ? (r.length ? r : [r.pageX, r.pageY]) : null),
+ this._pos ||
+ ((s = document.documentElement.clientWidth),
+ (o = document.documentElement.clientHeight),
+ (l = document.documentElement.scrollLeft || document.body.scrollLeft),
+ (u = document.documentElement.scrollTop || document.body.scrollTop),
+ (this._pos = [s / 2 - 100 + l, o / 2 - 150 + u])),
+ this._dialogInput
+ .css("left", this._pos[0] + 20 + "px")
+ .css("top", this._pos[1] + "px"),
+ (c.settings.onSelect = n),
+ (this._inDialog = !0),
+ this.dpDiv.addClass(this._dialogClass),
+ this._showDatepicker(this._dialogInput[0]),
+ $.blockUI && $.blockUI(this.dpDiv),
+ $.data(this._dialogInput[0], PROP_NAME, c),
+ this
+ );
+ },
+ _destroyDatepicker: function (e) {
+ var t,
+ n = $(e),
+ i = $.data(e, PROP_NAME);
+ n.hasClass(this.markerClassName) &&
+ ((t = e.nodeName.toLowerCase()),
+ $.removeData(e, PROP_NAME),
+ "input" === t
+ ? (i.append.remove(),
+ i.trigger.remove(),
+ n
+ .removeClass(this.markerClassName)
+ .unbind("focus", this._showDatepicker)
+ .unbind("keydown", this._doKeyDown)
+ .unbind("keypress", this._doKeyPress)
+ .unbind("keyup", this._doKeyUp))
+ : ("div" !== t && "span" !== t) ||
+ n.removeClass(this.markerClassName).empty());
+ },
+ _enableDatepicker: function (e) {
+ var t,
+ n,
+ i = $(e),
+ r = $.data(e, PROP_NAME);
+ i.hasClass(this.markerClassName) &&
+ ("input" === (t = e.nodeName.toLowerCase())
+ ? ((e.disabled = !1),
+ r.trigger
+ .filter("button")
+ .each(function () {
+ this.disabled = !1;
+ })
+ .end()
+ .filter("img")
+ .css({ opacity: "1.0", cursor: "" }))
+ : ("div" !== t && "span" !== t) ||
+ ((n = i.children("." + this._inlineClass))
+ .children()
+ .removeClass("ui-state-disabled"),
+ n
+ .find("select.ui-datepicker-month, select.ui-datepicker-year")
+ .prop("disabled", !1)),
+ (this._disabledInputs = $.map(this._disabledInputs, function (t) {
+ return t === e ? null : t;
+ })));
+ },
+ _disableDatepicker: function (e) {
+ var t,
+ n,
+ i = $(e),
+ r = $.data(e, PROP_NAME);
+ i.hasClass(this.markerClassName) &&
+ ("input" === (t = e.nodeName.toLowerCase())
+ ? ((e.disabled = !0),
+ r.trigger
+ .filter("button")
+ .each(function () {
+ this.disabled = !0;
+ })
+ .end()
+ .filter("img")
+ .css({ opacity: "0.5", cursor: "default" }))
+ : ("div" !== t && "span" !== t) ||
+ ((n = i.children("." + this._inlineClass))
+ .children()
+ .addClass("ui-state-disabled"),
+ n
+ .find("select.ui-datepicker-month, select.ui-datepicker-year")
+ .prop("disabled", !0)),
+ (this._disabledInputs = $.map(this._disabledInputs, function (t) {
+ return t === e ? null : t;
+ })),
+ (this._disabledInputs[this._disabledInputs.length] = e));
+ },
+ _isDisabledDatepicker: function (e) {
+ if (!e) return !1;
+ for (var t = 0; t < this._disabledInputs.length; t++)
+ if (this._disabledInputs[t] === e) return !0;
+ return !1;
+ },
+ _getInst: function (e) {
+ try {
+ return $.data(e, PROP_NAME);
+ } catch (e) {
+ throw "Missing instance data for this datepicker";
+ }
+ },
+ _optionDatepicker: function (e, t, n) {
+ var i,
+ r,
+ a,
+ s,
+ o = this._getInst(e);
+ if (2 === arguments.length && "string" == typeof t)
+ return "defaults" === t
+ ? $.extend({}, $.datepicker._defaults)
+ : o
+ ? "all" === t
+ ? $.extend({}, o.settings)
+ : this._get(o, t)
+ : null;
+ (i = t || {}),
+ "string" == typeof t && ((i = {})[t] = n),
+ o &&
+ (this._curInst === o && this._hideDatepicker(),
+ (r = this._getDateDatepicker(e, !0)),
+ (a = this._getMinMaxDate(o, "min")),
+ (s = this._getMinMaxDate(o, "max")),
+ extendRemove(o.settings, i),
+ null !== a &&
+ i.dateFormat !== undefined &&
+ i.minDate === undefined &&
+ (o.settings.minDate = this._formatDate(o, a)),
+ null !== s &&
+ i.dateFormat !== undefined &&
+ i.maxDate === undefined &&
+ (o.settings.maxDate = this._formatDate(o, s)),
+ "disabled" in i &&
+ (i.disabled
+ ? this._disableDatepicker(e)
+ : this._enableDatepicker(e)),
+ this._attachments($(e), o),
+ this._autoSize(o),
+ this._setDate(o, r),
+ this._updateAlternate(o),
+ this._updateDatepicker(o));
+ },
+ _changeDatepicker: function (e, t, n) {
+ this._optionDatepicker(e, t, n);
+ },
+ _refreshDatepicker: function (e) {
+ var t = this._getInst(e);
+ t && this._updateDatepicker(t);
+ },
+ _setDateDatepicker: function (e, t) {
+ var n = this._getInst(e);
+ n &&
+ (this._setDate(n, t),
+ this._updateDatepicker(n),
+ this._updateAlternate(n));
+ },
+ _getDateDatepicker: function (e, t) {
+ var n = this._getInst(e);
+ return (
+ n && !n.inline && this._setDateFromField(n, t),
+ n ? this._getDate(n) : null
+ );
+ },
+ _doKeyDown: function (e) {
+ var t,
+ n,
+ i,
+ r = $.datepicker._getInst(e.target),
+ a = !0,
+ s = r.dpDiv.is(".ui-datepicker-rtl");
+ if (((r._keyEvent = !0), $.datepicker._datepickerShowing))
+ switch (e.keyCode) {
+ case 9:
+ $.datepicker._hideDatepicker(), (a = !1);
+ break;
+ case 13:
+ return (
+ (i = $(
+ "td." +
+ $.datepicker._dayOverClass +
+ ":not(." +
+ $.datepicker._currentClass +
+ ")",
+ r.dpDiv
+ ))[0] &&
+ $.datepicker._selectDay(
+ e.target,
+ r.selectedMonth,
+ r.selectedYear,
+ i[0]
+ ),
+ (t = $.datepicker._get(r, "onSelect")),
+ t
+ ? ((n = $.datepicker._formatDate(r)),
+ t.apply(r.input ? r.input[0] : null, [n, r]))
+ : $.datepicker._hideDatepicker(),
+ !1
+ );
+ case 27:
+ $.datepicker._hideDatepicker();
+ break;
+ case 33:
+ $.datepicker._adjustDate(
+ e.target,
+ e.ctrlKey
+ ? -$.datepicker._get(r, "stepBigMonths")
+ : -$.datepicker._get(r, "stepMonths"),
+ "M"
+ );
+ break;
+ case 34:
+ $.datepicker._adjustDate(
+ e.target,
+ e.ctrlKey
+ ? +$.datepicker._get(r, "stepBigMonths")
+ : +$.datepicker._get(r, "stepMonths"),
+ "M"
+ );
+ break;
+ case 35:
+ (e.ctrlKey || e.metaKey) && $.datepicker._clearDate(e.target),
+ (a = e.ctrlKey || e.metaKey);
+ break;
+ case 36:
+ (e.ctrlKey || e.metaKey) && $.datepicker._gotoToday(e.target),
+ (a = e.ctrlKey || e.metaKey);
+ break;
+ case 37:
+ (e.ctrlKey || e.metaKey) &&
+ $.datepicker._adjustDate(e.target, s ? 1 : -1, "D"),
+ (a = e.ctrlKey || e.metaKey),
+ e.originalEvent.altKey &&
+ $.datepicker._adjustDate(
+ e.target,
+ e.ctrlKey
+ ? -$.datepicker._get(r, "stepBigMonths")
+ : -$.datepicker._get(r, "stepMonths"),
+ "M"
+ );
+ break;
+ case 38:
+ (e.ctrlKey || e.metaKey) &&
+ $.datepicker._adjustDate(e.target, -7, "D"),
+ (a = e.ctrlKey || e.metaKey);
+ break;
+ case 39:
+ (e.ctrlKey || e.metaKey) &&
+ $.datepicker._adjustDate(e.target, s ? -1 : 1, "D"),
+ (a = e.ctrlKey || e.metaKey),
+ e.originalEvent.altKey &&
+ $.datepicker._adjustDate(
+ e.target,
+ e.ctrlKey
+ ? +$.datepicker._get(r, "stepBigMonths")
+ : +$.datepicker._get(r, "stepMonths"),
+ "M"
+ );
+ break;
+ case 40:
+ (e.ctrlKey || e.metaKey) &&
+ $.datepicker._adjustDate(e.target, 7, "D"),
+ (a = e.ctrlKey || e.metaKey);
+ break;
+ default:
+ a = !1;
+ }
+ else
+ 36 === e.keyCode && e.ctrlKey
+ ? $.datepicker._showDatepicker(this)
+ : (a = !1);
+ a && (e.preventDefault(), e.stopPropagation());
+ },
+ _doKeyPress: function (e) {
+ var t,
+ n,
+ i = $.datepicker._getInst(e.target);
+ if ($.datepicker._get(i, "constrainInput"))
+ return (
+ (t = $.datepicker._possibleChars($.datepicker._get(i, "dateFormat"))),
+ (n = String.fromCharCode(
+ null == e.charCode ? e.keyCode : e.charCode
+ )),
+ e.ctrlKey || e.metaKey || n < " " || !t || t.indexOf(n) > -1
+ );
+ },
+ _doKeyUp: function (e) {
+ var t = $.datepicker._getInst(e.target);
+ if (t.input.val() !== t.lastVal)
+ try {
+ $.datepicker.parseDate(
+ $.datepicker._get(t, "dateFormat"),
+ t.input ? t.input.val() : null,
+ $.datepicker._getFormatConfig(t)
+ ) &&
+ ($.datepicker._setDateFromField(t),
+ $.datepicker._updateAlternate(t),
+ $.datepicker._updateDatepicker(t));
+ } catch (e) {}
+ return !0;
+ },
+ _showDatepicker: function (e) {
+ if (
+ ("input" !== (e = e.target || e).nodeName.toLowerCase() &&
+ (e = $("input", e.parentNode)[0]),
+ !$.datepicker._isDisabledDatepicker(e) && $.datepicker._lastInput !== e)
+ ) {
+ var t, n, i, r, a, s, o;
+ (t = $.datepicker._getInst(e)),
+ $.datepicker._curInst &&
+ $.datepicker._curInst !== t &&
+ ($.datepicker._curInst.dpDiv.stop(!0, !0),
+ t &&
+ $.datepicker._datepickerShowing &&
+ $.datepicker._hideDatepicker($.datepicker._curInst.input[0])),
+ !1 !==
+ (i = (n = $.datepicker._get(t, "beforeShow"))
+ ? n.apply(e, [e, t])
+ : {}) &&
+ (extendRemove(t.settings, i),
+ (t.lastVal = null),
+ ($.datepicker._lastInput = e),
+ $.datepicker._setDateFromField(t),
+ $.datepicker._inDialog && (e.value = ""),
+ $.datepicker._pos ||
+ (($.datepicker._pos = $.datepicker._findPos(e)),
+ ($.datepicker._pos[1] += e.offsetHeight)),
+ (r = !1),
+ $(e)
+ .parents()
+ .each(function () {
+ return !(r |= "fixed" === $(this).css("position"));
+ }),
+ (a = { left: $.datepicker._pos[0], top: $.datepicker._pos[1] }),
+ ($.datepicker._pos = null),
+ t.dpDiv.empty(),
+ t.dpDiv.css({
+ position: "absolute",
+ display: "block",
+ top: "-1000px",
+ }),
+ $.datepicker._updateDatepicker(t),
+ (a = $.datepicker._checkOffset(t, a, r)),
+ t.dpDiv.css({
+ position:
+ $.datepicker._inDialog && $.blockUI
+ ? "static"
+ : r
+ ? "fixed"
+ : "absolute",
+ display: "none",
+ left: a.left + "px",
+ top: a.top + "px",
+ }),
+ t.inline ||
+ ((s = $.datepicker._get(t, "showAnim")),
+ (o = $.datepicker._get(t, "duration")),
+ t.dpDiv.zIndex($(e).zIndex() + 1),
+ ($.datepicker._datepickerShowing = !0),
+ $.effects && $.effects.effect[s]
+ ? t.dpDiv.show(s, $.datepicker._get(t, "showOptions"), o)
+ : t.dpDiv[s || "show"](s ? o : null),
+ $.datepicker._shouldFocusInput(t) && t.input.focus(),
+ ($.datepicker._curInst = t)));
+ }
+ },
+ _updateDatepicker: function (e) {
+ (this.maxRows = 4),
+ (instActive = e),
+ e.dpDiv.empty().append(this._generateHTML(e)),
+ this._attachHandlers(e),
+ e.dpDiv.find("." + this._dayOverClass + " a").mouseover();
+ var t,
+ n = this._getNumberOfMonths(e),
+ i = n[1];
+ e.dpDiv
+ .removeClass(
+ "ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4"
+ )
+ .width(""),
+ i > 1 &&
+ e.dpDiv
+ .addClass("ui-datepicker-multi-" + i)
+ .css("width", 17 * i + "em"),
+ e.dpDiv[(1 !== n[0] || 1 !== n[1] ? "add" : "remove") + "Class"](
+ "ui-datepicker-multi"
+ ),
+ e.dpDiv[(this._get(e, "isRTL") ? "add" : "remove") + "Class"](
+ "ui-datepicker-rtl"
+ ),
+ e === $.datepicker._curInst &&
+ $.datepicker._datepickerShowing &&
+ $.datepicker._shouldFocusInput(e) &&
+ e.input.focus(),
+ e.yearshtml &&
+ ((t = e.yearshtml),
+ setTimeout(function () {
+ t === e.yearshtml &&
+ e.yearshtml &&
+ e.dpDiv
+ .find("select.ui-datepicker-year:first")
+ .replaceWith(e.yearshtml),
+ (t = e.yearshtml = null);
+ }, 0));
+ },
+ _shouldFocusInput: function (e) {
+ return (
+ e.input &&
+ e.input.is(":visible") &&
+ !e.input.is(":disabled") &&
+ !e.input.is(":focus")
+ );
+ },
+ _checkOffset: function (e, t, n) {
+ var i = e.dpDiv.outerWidth(),
+ r = e.dpDiv.outerHeight(),
+ a = e.input ? e.input.outerWidth() : 0,
+ s = e.input ? e.input.outerHeight() : 0,
+ o =
+ document.documentElement.clientWidth +
+ (n ? 0 : $(document).scrollLeft()),
+ l =
+ document.documentElement.clientHeight +
+ (n ? 0 : $(document).scrollTop());
+ return (
+ (t.left -= this._get(e, "isRTL") ? i - a : 0),
+ (t.left -=
+ n && t.left === e.input.offset().left ? $(document).scrollLeft() : 0),
+ (t.top -=
+ n && t.top === e.input.offset().top + s
+ ? $(document).scrollTop()
+ : 0),
+ (t.left -= Math.min(
+ t.left,
+ t.left + i > o && o > i ? Math.abs(t.left + i - o) : 0
+ )),
+ (t.top -= Math.min(
+ t.top,
+ t.top + r > l && l > r ? Math.abs(r + s) : 0
+ )),
+ t
+ );
+ },
+ _findPos: function (e) {
+ for (
+ var t, n = this._getInst(e), i = this._get(n, "isRTL");
+ e &&
+ ("hidden" === e.type || 1 !== e.nodeType || $.expr.filters.hidden(e));
+
+ )
+ e = e[i ? "previousSibling" : "nextSibling"];
+ return (t = $(e).offset()), [t.left, t.top];
+ },
+ _hideDatepicker: function (e) {
+ var t,
+ n,
+ i,
+ r,
+ a = this._curInst;
+ !a ||
+ (e && a !== $.data(e, PROP_NAME)) ||
+ (this._datepickerShowing &&
+ ((t = this._get(a, "showAnim")),
+ (n = this._get(a, "duration")),
+ (i = function () {
+ $.datepicker._tidyDialog(a);
+ }),
+ $.effects && ($.effects.effect[t] || $.effects[t])
+ ? a.dpDiv.hide(t, $.datepicker._get(a, "showOptions"), n, i)
+ : a.dpDiv[
+ "slideDown" === t
+ ? "slideUp"
+ : "fadeIn" === t
+ ? "fadeOut"
+ : "hide"
+ ](t ? n : null, i),
+ t || i(),
+ (this._datepickerShowing = !1),
+ (r = this._get(a, "onClose")) &&
+ r.apply(a.input ? a.input[0] : null, [
+ a.input ? a.input.val() : "",
+ a,
+ ]),
+ (this._lastInput = null),
+ this._inDialog &&
+ (this._dialogInput.css({
+ position: "absolute",
+ left: "0",
+ top: "-100px",
+ }),
+ $.blockUI && ($.unblockUI(), $("body").append(this.dpDiv))),
+ (this._inDialog = !1)));
+ },
+ _tidyDialog: function (e) {
+ e.dpDiv.removeClass(this._dialogClass).unbind(".ui-datepicker-calendar");
+ },
+ _checkExternalClick: function (e) {
+ if ($.datepicker._curInst) {
+ var t = $(e.target),
+ n = $.datepicker._getInst(t[0]);
+ ((t[0].id === $.datepicker._mainDivId ||
+ 0 !== t.parents("#" + $.datepicker._mainDivId).length ||
+ t.hasClass($.datepicker.markerClassName) ||
+ t.closest("." + $.datepicker._triggerClass).length ||
+ !$.datepicker._datepickerShowing ||
+ ($.datepicker._inDialog && $.blockUI)) &&
+ (!t.hasClass($.datepicker.markerClassName) ||
+ $.datepicker._curInst === n)) ||
+ $.datepicker._hideDatepicker();
+ }
+ },
+ _adjustDate: function (e, t, n) {
+ var i = $(e),
+ r = this._getInst(i[0]);
+ this._isDisabledDatepicker(i[0]) ||
+ (this._adjustInstDate(
+ r,
+ t + ("M" === n ? this._get(r, "showCurrentAtPos") : 0),
+ n
+ ),
+ this._updateDatepicker(r));
+ },
+ _gotoToday: function (e) {
+ var t,
+ n = $(e),
+ i = this._getInst(n[0]);
+ this._get(i, "gotoCurrent") && i.currentDay
+ ? ((i.selectedDay = i.currentDay),
+ (i.drawMonth = i.selectedMonth = i.currentMonth),
+ (i.drawYear = i.selectedYear = i.currentYear))
+ : ((t = new Date()),
+ (i.selectedDay = t.getDate()),
+ (i.drawMonth = i.selectedMonth = t.getMonth()),
+ (i.drawYear = i.selectedYear = t.getFullYear())),
+ this._notifyChange(i),
+ this._adjustDate(n);
+ },
+ _selectMonthYear: function (e, t, n) {
+ var i = $(e),
+ r = this._getInst(i[0]);
+ (r["selected" + ("M" === n ? "Month" : "Year")] = r[
+ "draw" + ("M" === n ? "Month" : "Year")
+ ] =
+ parseInt(t.options[t.selectedIndex].value, 10)),
+ this._notifyChange(r),
+ this._adjustDate(i);
+ },
+ _selectDay: function (e, t, n, i) {
+ var r,
+ a = $(e);
+ $(i).hasClass(this._unselectableClass) ||
+ this._isDisabledDatepicker(a[0]) ||
+ (((r = this._getInst(a[0])).selectedDay = r.currentDay =
+ $("a", i).html()),
+ (r.selectedMonth = r.currentMonth = t),
+ (r.selectedYear = r.currentYear = n),
+ this._selectDate(
+ e,
+ this._formatDate(r, r.currentDay, r.currentMonth, r.currentYear)
+ ));
+ },
+ _clearDate: function (e) {
+ var t = $(e);
+ this._selectDate(t, "");
+ },
+ _selectDate: function (e, t) {
+ var n,
+ i = $(e),
+ r = this._getInst(i[0]);
+ (t = null != t ? t : this._formatDate(r)),
+ r.input && r.input.val(t),
+ this._updateAlternate(r),
+ (n = this._get(r, "onSelect"))
+ ? n.apply(r.input ? r.input[0] : null, [t, r])
+ : r.input && r.input.trigger("change"),
+ r.inline
+ ? this._updateDatepicker(r)
+ : (this._hideDatepicker(),
+ (this._lastInput = r.input[0]),
+ "object" != typeof r.input[0] && r.input.focus(),
+ (this._lastInput = null));
+ },
+ _updateAlternate: function (e) {
+ var t,
+ n,
+ i,
+ r = this._get(e, "altField");
+ r &&
+ ((t = this._get(e, "altFormat") || this._get(e, "dateFormat")),
+ (n = this._getDate(e)),
+ (i = this.formatDate(t, n, this._getFormatConfig(e))),
+ $(r).each(function () {
+ $(this).val(i);
+ }));
+ },
+ noWeekends: function (e) {
+ var t = e.getDay();
+ return [t > 0 && t < 6, ""];
+ },
+ iso8601Week: function (e) {
+ var t,
+ n = new Date(e.getTime());
+ return (
+ n.setDate(n.getDate() + 4 - (n.getDay() || 7)),
+ (t = n.getTime()),
+ n.setMonth(0),
+ n.setDate(1),
+ Math.floor(Math.round((t - n) / 864e5) / 7) + 1
+ );
+ },
+ parseDate: function (e, t, n) {
+ if (null == e || null == t) throw "Invalid arguments";
+ if ("" === (t = "object" == typeof t ? t.toString() : t + ""))
+ return null;
+ var i,
+ r,
+ a,
+ s,
+ o = 0,
+ l = (n ? n.shortYearCutoff : null) || this._defaults.shortYearCutoff,
+ u =
+ "string" != typeof l
+ ? l
+ : (new this.CDate().getFullYear() % 100) + parseInt(l, 10),
+ c = (n ? n.dayNamesShort : null) || this._defaults.dayNamesShort,
+ d = (n ? n.dayNames : null) || this._defaults.dayNames,
+ p = (n ? n.monthNamesShort : null) || this._defaults.monthNamesShort,
+ h = (n ? n.monthNames : null) || this._defaults.monthNames,
+ f = -1,
+ g = -1,
+ m = -1,
+ y = -1,
+ v = !1,
+ b = function (t) {
+ var n = i + 1 < e.length && e.charAt(i + 1) === t;
+ return n && i++, n;
+ },
+ _ = function (e) {
+ var n = b(e),
+ i =
+ "@" === e
+ ? 14
+ : "!" === e
+ ? 20
+ : "y" === e && n
+ ? 4
+ : "o" === e
+ ? 3
+ : 2,
+ r = new RegExp("^\\d{1," + i + "}"),
+ a = t.substring(o).match(r);
+ if (!a) throw "Missing number at position " + o;
+ return (o += a[0].length), parseInt(a[0], 10);
+ },
+ x = function (e, n, i) {
+ var r = -1,
+ a = $.map(b(e) ? i : n, function (e, t) {
+ return [[t, e]];
+ }).sort(function (e, t) {
+ return -(e[1].length - t[1].length);
+ });
+ if (
+ ($.each(a, function (e, n) {
+ var i = n[1];
+ if (t.substr(o, i.length).toLowerCase() === i.toLowerCase())
+ return (r = n[0]), (o += i.length), !1;
+ }),
+ -1 !== r)
+ )
+ return r + 1;
+ throw "Unknown name at position " + o;
+ },
+ k = function () {
+ if (t.charAt(o) !== e.charAt(i))
+ throw "Unexpected literal at position " + o;
+ o++;
+ };
+ for (i = 0; i < e.length; i++)
+ if (v) "'" !== e.charAt(i) || b("'") ? k() : (v = !1);
+ else
+ switch (e.charAt(i)) {
+ case "d":
+ m = _("d");
+ break;
+ case "D":
+ x("D", c, d);
+ break;
+ case "o":
+ y = _("o");
+ break;
+ case "m":
+ g = _("m");
+ break;
+ case "M":
+ g = x("M", p, h);
+ break;
+ case "y":
+ f = _("y");
+ break;
+ case "@":
+ (f = (s = new this.CDate(_("@"))).getFullYear()),
+ (g = s.getMonth() + 1),
+ (m = s.getDate());
+ break;
+ case "!":
+ (f = (s = new Date(
+ (_("!") - this._ticksTo1970) / 1e4
+ )).getFullYear()),
+ (g = s.getMonth() + 1),
+ (m = s.getDate());
+ break;
+ case "'":
+ b("'") ? k() : (v = !0);
+ break;
+ default:
+ k();
+ }
+ if (o < t.length && ((a = t.substr(o)), !/^\s+/.test(a)))
+ throw "Extra/unparsed characters found in date: " + a;
+ if (
+ (-1 === f
+ ? (f = new this.CDate().getFullYear())
+ : f < 100 &&
+ (f +=
+ new this.CDate().getFullYear() -
+ (new this.CDate().getFullYear() % 100) +
+ (f <= u ? 0 : -100)),
+ y > -1)
+ )
+ for (g = 1, m = y; ; ) {
+ if (((r = this._getDaysInMonth(f, g - 1)), m <= r)) break;
+ g++, (m -= r);
+ }
+ if (
+ (s = this._daylightSavingAdjust(
+ new this.CDate(f, g - 1, m)
+ )).getFullYear() !== f ||
+ s.getMonth() + 1 !== g ||
+ s.getDate() !== m
+ )
+ throw "Invalid date";
+ return s;
+ },
+ ATOM: "yy-mm-dd",
+ COOKIE: "D, dd M yy",
+ ISO_8601: "yy-mm-dd",
+ RFC_822: "D, d M y",
+ RFC_850: "DD, dd-M-y",
+ RFC_1036: "D, d M y",
+ RFC_1123: "D, d M yy",
+ RFC_2822: "D, d M yy",
+ RSS: "D, d M y",
+ TICKS: "!",
+ TIMESTAMP: "@",
+ W3C: "yy-mm-dd",
+ _ticksTo1970:
+ 24 *
+ (718685 + Math.floor(492.5) - Math.floor(19.7) + Math.floor(4.925)) *
+ 60 *
+ 60 *
+ 1e7,
+ formatDate: function (e, t, n) {
+ if (!t) return "";
+ var i,
+ r = (n ? n.dayNamesShort : null) || this._defaults.dayNamesShort,
+ a = (n ? n.dayNames : null) || this._defaults.dayNames,
+ s = (n ? n.monthNamesShort : null) || this._defaults.monthNamesShort,
+ o = (n ? n.monthNames : null) || this._defaults.monthNames,
+ l = function (t) {
+ var n = i + 1 < e.length && e.charAt(i + 1) === t;
+ return n && i++, n;
+ },
+ u = function (e, t, n) {
+ var i = "" + t;
+ if (l(e)) for (; i.length < n; ) i = "0" + i;
+ return i;
+ },
+ c = function (e, t, n, i) {
+ return l(e) ? i[t] : n[t];
+ },
+ d = "",
+ p = !1;
+ if (t)
+ for (i = 0; i < e.length; i++)
+ if (p) "'" !== e.charAt(i) || l("'") ? (d += e.charAt(i)) : (p = !1);
+ else
+ switch (e.charAt(i)) {
+ case "d":
+ d += u("d", t.getDate(), 2);
+ break;
+ case "D":
+ d += c("D", t.getDay(), r, a);
+ break;
+ case "o":
+ d += u(
+ "o",
+ Math.round(
+ (new Date(
+ t.getFullYear(),
+ t.getMonth(),
+ t.getDate()
+ ).getTime() -
+ new Date(t.getFullYear(), 0, 0).getTime()) /
+ 864e5
+ ),
+ 3
+ );
+ break;
+ case "m":
+ d += u("m", t.getMonth() + 1, 2);
+ break;
+ case "M":
+ d += c("M", t.getMonth(), s, o);
+ break;
+ case "y":
+ d += l("y")
+ ? t.getFullYear()
+ : (t.getYear() % 100 < 10 ? "0" : "") + (t.getYear() % 100);
+ break;
+ case "@":
+ d += t.getTime();
+ break;
+ case "!":
+ d += 1e4 * t.getTime() + this._ticksTo1970;
+ break;
+ case "'":
+ l("'") ? (d += "'") : (p = !0);
+ break;
+ default:
+ d += e.charAt(i);
+ }
+ return d;
+ },
+ _possibleChars: function (e) {
+ var t,
+ n = "",
+ i = !1,
+ r = function (n) {
+ var i = t + 1 < e.length && e.charAt(t + 1) === n;
+ return i && t++, i;
+ };
+ for (t = 0; t < e.length; t++)
+ if (i) "'" !== e.charAt(t) || r("'") ? (n += e.charAt(t)) : (i = !1);
+ else
+ switch (e.charAt(t)) {
+ case "d":
+ case "m":
+ case "y":
+ case "@":
+ n += "0123456789";
+ break;
+ case "D":
+ case "M":
+ return null;
+ case "'":
+ r("'") ? (n += "'") : (i = !0);
+ break;
+ default:
+ n += e.charAt(t);
+ }
+ return n;
+ },
+ _get: function (e, t) {
+ return e.settings[t] !== undefined ? e.settings[t] : this._defaults[t];
+ },
+ _setDateFromField: function (e, t) {
+ if (e.input.val() !== e.lastVal) {
+ var n = this._get(e, "dateFormat"),
+ i = (e.lastVal = e.input ? e.input.val() : null),
+ r = this._getDefaultDate(e),
+ a = r,
+ s = this._getFormatConfig(e);
+ try {
+ a = this.parseDate(n, i, s) || r;
+ } catch (e) {
+ i = t ? "" : i;
+ }
+ (e.selectedDay = a.getDate()),
+ (e.drawMonth = e.selectedMonth = a.getMonth()),
+ (e.drawYear = e.selectedYear = a.getFullYear()),
+ (e.currentDay = i ? a.getDate() : 0),
+ (e.currentMonth = i ? a.getMonth() : 0),
+ (e.currentYear = i ? a.getFullYear() : 0),
+ this._adjustInstDate(e);
+ }
+ },
+ _getDefaultDate: function (e) {
+ return (
+ (this.CDate = this._get(e, "calendar")),
+ this._restrictMinMax(
+ e,
+ this._determineDate(e, this._get(e, "defaultDate"), new this.CDate())
+ )
+ );
+ },
+ _determineDate: function (e, t, n) {
+ var i =
+ null == t || "" === t
+ ? n
+ : "string" == typeof t
+ ? (function (t) {
+ try {
+ return $.datepicker.parseDate(
+ $.datepicker._get(e, "dateFormat"),
+ t,
+ $.datepicker._getFormatConfig(e)
+ );
+ } catch (e) {}
+ for (
+ var n =
+ (t.toLowerCase().match(/^c/)
+ ? $.datepicker._getDate(e)
+ : null) || new Date(),
+ i = n.getFullYear(),
+ r = n.getMonth(),
+ a = n.getDate(),
+ s = /([+\-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g,
+ o = s.exec(t);
+ o;
+
+ ) {
+ switch (o[2] || "d") {
+ case "d":
+ case "D":
+ a += parseInt(o[1], 10);
+ break;
+ case "w":
+ case "W":
+ a += 7 * parseInt(o[1], 10);
+ break;
+ case "m":
+ case "M":
+ (r += parseInt(o[1], 10)),
+ (a = Math.min(a, $.datepicker._getDaysInMonth(i, r)));
+ break;
+ case "y":
+ case "Y":
+ (i += parseInt(o[1], 10)),
+ (a = Math.min(a, $.datepicker._getDaysInMonth(i, r)));
+ }
+ o = s.exec(t);
+ }
+ return new Date(i, r, a);
+ })(t)
+ : "number" == typeof t
+ ? isNaN(t)
+ ? n
+ : (function (e) {
+ this.CDate;
+ return t.setDate(t.getDate() + e), t;
+ })(t)
+ : new Date(t.getTime());
+ return (
+ (i = i && "Invalid Date" === i.toString() ? n : i) &&
+ (i.setHours(0),
+ i.setMinutes(0),
+ i.setSeconds(0),
+ i.setMilliseconds(0)),
+ this._daylightSavingAdjust(i)
+ );
+ },
+ _daylightSavingAdjust: function (e) {
+ return e
+ ? (e.setHours(e.getHours() > 12 ? e.getHours() + 2 : 0), e)
+ : null;
+ },
+ _setDate: function (e, t, n) {
+ this.CDate = this._get(e, "calendar");
+ var i = !t,
+ r = e.selectedMonth,
+ a = e.selectedYear,
+ s = this._restrictMinMax(
+ e,
+ this._determineDate(e, t, new this.CDate())
+ );
+ (e.selectedDay = e.currentDay = s.getDate()),
+ (e.drawMonth = e.selectedMonth = e.currentMonth = s.getMonth()),
+ (e.drawYear = e.selectedYear = e.currentYear = s.getFullYear()),
+ (r === e.selectedMonth && a === e.selectedYear) ||
+ n ||
+ this._notifyChange(e),
+ this._adjustInstDate(e),
+ e.input && e.input.val(i ? "" : this._formatDate(e));
+ },
+ _getDate: function (e) {
+ return (
+ (this.CDate = this._get(e, "calendar")),
+ !e.currentYear || (e.input && "" === e.input.val())
+ ? null
+ : this._daylightSavingAdjust(
+ new this.CDate(e.currentYear, e.currentMonth, e.currentDay)
+ )
+ );
+ },
+ _attachHandlers: function (e) {
+ var t = this._get(e, "stepMonths"),
+ n = "#" + e.id.replace(/\\\\/g, "\\");
+ e.dpDiv.find("[data-handler]").map(function () {
+ var e = {
+ prev: function () {
+ $.datepicker._adjustDate(n, -t, "M");
+ },
+ next: function () {
+ $.datepicker._adjustDate(n, +t, "M");
+ },
+ hide: function () {
+ $.datepicker._hideDatepicker();
+ },
+ today: function () {
+ $.datepicker._gotoToday(n);
+ },
+ selectDay: function () {
+ return (
+ $.datepicker._selectDay(
+ n,
+ +this.getAttribute("data-month"),
+ +this.getAttribute("data-year"),
+ this
+ ),
+ !1
+ );
+ },
+ selectMonth: function () {
+ return $.datepicker._selectMonthYear(n, this, "M"), !1;
+ },
+ selectYear: function () {
+ return $.datepicker._selectMonthYear(n, this, "Y"), !1;
+ },
+ };
+ $(this).bind(
+ this.getAttribute("data-event"),
+ e[this.getAttribute("data-handler")]
+ );
+ });
+ },
+ _generateHTML: function (e) {
+ var t,
+ n,
+ i,
+ r,
+ a,
+ s,
+ o,
+ l,
+ u,
+ c,
+ d,
+ p,
+ h,
+ f,
+ g,
+ m,
+ y,
+ v,
+ b,
+ _,
+ x,
+ k,
+ D,
+ w,
+ C,
+ T,
+ N,
+ M,
+ S,
+ $,
+ A,
+ E,
+ j,
+ I,
+ F,
+ L,
+ H,
+ O,
+ P = new this.CDate(),
+ R = new Date(),
+ P = this._daylightSavingAdjust(
+ new this.CDate(R.getFullYear(), R.getMonth(), R.getDate())
+ ),
+ Y = this._get(e, "isRTL"),
+ q = this._get(e, "showButtonPanel"),
+ W = this._get(e, "hideIfNoPrevNext"),
+ B = this._get(e, "navigationAsDateFormat"),
+ z = this._getNumberOfMonths(e),
+ K = this._get(e, "showCurrentAtPos"),
+ U = this._get(e, "stepMonths"),
+ X = 1 !== z[0] || 1 !== z[1],
+ G = this._daylightSavingAdjust(
+ e.currentDay
+ ? new this.CDate(e.currentYear, e.currentMonth, e.currentDay)
+ : new Date(9999, 9, 9)
+ ),
+ V = this._getMinMaxDate(e, "min"),
+ J = this._getMinMaxDate(e, "max"),
+ Q = e.drawMonth - K,
+ Z = e.drawYear;
+ if ((Q < 0 && ((Q += 12), Z--), J))
+ for (
+ t = this._daylightSavingAdjust(
+ new this.CDate(
+ J.getFullYear(),
+ J.getMonth() - z[0] * z[1] + 1,
+ J.getDate()
+ )
+ ),
+ t = V && t < V ? V : t;
+ this._daylightSavingAdjust(new this.CDate(Z, Q, 1)) > t;
+
+ )
+ --Q < 0 && ((Q = 11), Z--);
+ for (
+ e.drawMonth = Q,
+ e.drawYear = Z,
+ n = this._get(e, "prevText"),
+ n = B
+ ? this.formatDate(
+ n,
+ this._daylightSavingAdjust(new this.CDate(Z, Q - U, 1)),
+ this._getFormatConfig(e)
+ )
+ : n,
+ i = this._canAdjustMonth(e, -1, Z, Q)
+ ? " " +
+ n +
+ " "
+ : W
+ ? ""
+ : "
" +
+ n +
+ " ",
+ r = this._get(e, "nextText"),
+ r = B
+ ? this.formatDate(
+ r,
+ this._daylightSavingAdjust(new this.CDate(Z, Q + U, 1)),
+ this._getFormatConfig(e)
+ )
+ : r,
+ a = this._canAdjustMonth(e, 1, Z, Q)
+ ? "
" +
+ r +
+ " "
+ : W
+ ? ""
+ : "
" +
+ r +
+ " ",
+ s = this._get(e, "currentText"),
+ o = this._get(e, "gotoCurrent") && e.currentDay ? G : P,
+ s = B ? this.formatDate(s, o, this._getFormatConfig(e)) : s,
+ l = e.inline
+ ? ""
+ : "
" +
+ this._get(e, "closeText") +
+ " ",
+ u = q
+ ? "
" +
+ (Y ? l : "") +
+ (this._isInRange(e, o)
+ ? "" +
+ s +
+ " "
+ : "") +
+ (Y ? "" : l) +
+ "
"
+ : "",
+ c = parseInt(this._get(e, "firstDay"), 10),
+ c = isNaN(c) ? 0 : c,
+ d = this._get(e, "showWeek"),
+ p = this._get(e, "dayNames"),
+ h = this._get(e, "dayNamesMin"),
+ f = this._get(e, "monthNames"),
+ g = this._get(e, "monthNamesShort"),
+ m = this._get(e, "beforeShowDay"),
+ y = this._get(e, "showOtherMonths"),
+ v = this._get(e, "selectOtherMonths"),
+ b = this._getDefaultDate(e),
+ _ = "",
+ k = 0;
+ k < z[0];
+ k++
+ ) {
+ for (D = "", this.maxRows = 4, w = 0; w < z[1]; w++) {
+ if (
+ ((C = this._daylightSavingAdjust(
+ new this.CDate(Z, Q, e.selectedDay)
+ )),
+ (T = " ui-corner-all"),
+ (N = ""),
+ X)
+ ) {
+ if (((N += "
";
+ }
+ for (
+ N +=
+ "
",
+ M = d
+ ? "" +
+ this._get(e, "weekHeader") +
+ " "
+ : "",
+ x = 0;
+ x < 7;
+ x++
+ )
+ (S = (x + c) % 7),
+ (M +=
+ "= 5
+ ? " class='ui-datepicker-week-end'"
+ : "") +
+ ">" +
+ h[S] +
+ " ");
+ for (
+ N += M + " ",
+ $ = this._getDaysInMonth(Z, Q),
+ Z === e.selectedYear &&
+ Q === e.selectedMonth &&
+ (e.selectedDay = Math.min(e.selectedDay, $)),
+ A = (this._getFirstDayOfMonth(Z, Q) - c + 7) % 7,
+ E = Math.ceil((A + $) / 7),
+ j = X && this.maxRows > E ? this.maxRows : E,
+ this.maxRows = j,
+ I = this._daylightSavingAdjust(new this.CDate(Z, Q, 1 - A)),
+ F = 0;
+ F < j;
+ F++
+ ) {
+ for (
+ N += "",
+ L = d
+ ? "" +
+ this._get(e, "calculateWeek")(I) +
+ " "
+ : "",
+ x = 0;
+ x < 7;
+ x++
+ ) {
+ H = m ? m.apply(e.input ? e.input[0] : null, [I]) : [!0, ""];
+ var ee =
+ ((O = I.getMonth() !== Q) && !v) ||
+ !H[0] ||
+ (V && this._compareDate(I, "<", V)) ||
+ (J && this._compareDate(I, ">", J));
+ (L +=
+ "" +
+ (O && !y
+ ? " "
+ : ee
+ ? "" + I.getDate() + " "
+ : "" +
+ I.getDate() +
+ " ") +
+ " "),
+ I.setDate(I.getDate() + 1),
+ (I = this._daylightSavingAdjust(I));
+ }
+ N += L + " ";
+ }
+ ++Q > 11 && ((Q = 0), Z++),
+ (D += N +=
+ "
" +
+ (X
+ ? "
" +
+ (z[0] > 0 && w === z[1] - 1
+ ? "
"
+ : "")
+ : ""));
+ }
+ _ += D;
+ }
+ return (_ += u), (e._keyEvent = !1), _;
+ },
+ _generateMonthYearHeader: function (e, t, n, i, r, a, s, o) {
+ var l,
+ u,
+ c,
+ d,
+ p,
+ h,
+ f,
+ g,
+ m = this._get(e, "changeMonth"),
+ y = this._get(e, "changeYear"),
+ v = this._get(e, "showMonthAfterYear"),
+ b = "
",
+ _ = "";
+ if (a || !m) _ += "" + s[t] + " ";
+ else {
+ for (
+ l = i && i.getFullYear() === n,
+ u = r && r.getFullYear() === n,
+ _ +=
+ "",
+ c = 0;
+ c < 12;
+ c++
+ )
+ (!l || c >= i.getMonth()) &&
+ (!u || c <= r.getMonth()) &&
+ (_ +=
+ "" +
+ o[c] +
+ " ");
+ _ += " ";
+ }
+ if ((v || (b += _ + (!a && m && y ? "" : " ")), !e.yearshtml))
+ if (((e.yearshtml = ""), a || !y))
+ b += "" + n + " ";
+ else {
+ for (
+ d = this._get(e, "yearRange").split(":"),
+ p = new this.CDate().getFullYear(),
+ f = (h = function (e) {
+ var t = e.match(/c[+\-].*/)
+ ? n + parseInt(e.substring(1), 10)
+ : e.match(/[+\-].*/)
+ ? p + parseInt(e, 10)
+ : parseInt(e, 10);
+ return isNaN(t) ? p : t;
+ })(d[0]),
+ g = Math.max(f, h(d[1] || "")),
+ f = i ? Math.max(f, i.getFullYear()) : f,
+ g = r ? Math.min(g, r.getFullYear()) : g,
+ e.yearshtml +=
+ "";
+ f <= g;
+ f++
+ )
+ e.yearshtml +=
+ "" +
+ f +
+ " ";
+ (e.yearshtml += " "),
+ (b += e.yearshtml),
+ (e.yearshtml = null);
+ }
+ return (
+ (b += this._get(e, "yearSuffix")),
+ v && (b += (!a && m && y ? "" : " ") + _),
+ (b += "
")
+ );
+ },
+ _adjustInstDate: function (e, t, n) {
+ var i = e.drawYear + ("Y" === n ? t : 0),
+ r = e.drawMonth + ("M" === n ? t : 0),
+ a =
+ Math.min(e.selectedDay, this._getDaysInMonth(i, r)) +
+ ("D" === n ? t : 0),
+ s = this._restrictMinMax(
+ e,
+ this._daylightSavingAdjust(new this.CDate(i, r, a))
+ );
+ (e.selectedDay = s.getDate()),
+ (e.drawMonth = e.selectedMonth = s.getMonth()),
+ (e.drawYear = e.selectedYear = s.getFullYear()),
+ ("M" !== n && "Y" !== n) || this._notifyChange(e);
+ },
+ _restrictMinMax: function (e, t) {
+ var n = this._getMinMaxDate(e, "min"),
+ i = this._getMinMaxDate(e, "max"),
+ r = n && this._compareDate(t, "<", n) ? n : t;
+ return i && this._compareDate(r, ">", i) ? i : r;
+ },
+ _notifyChange: function (e) {
+ var t = this._get(e, "onChangeMonthYear");
+ t &&
+ t.apply(e.input ? e.input[0] : null, [
+ e.selectedYear,
+ e.selectedMonth + 1,
+ e,
+ ]);
+ },
+ _getNumberOfMonths: function (e) {
+ var t = this._get(e, "numberOfMonths");
+ return null == t ? [1, 1] : "number" == typeof t ? [1, t] : t;
+ },
+ _getMinMaxDate: function (e, t) {
+ return this._determineDate(e, this._get(e, t + "Date"), null);
+ },
+ _getDaysInMonth: function (e, t) {
+ return (
+ 32 - this._daylightSavingAdjust(new this.CDate(e, t, 32)).getDate()
+ );
+ },
+ _getFirstDayOfMonth: function (e, t) {
+ return new this.CDate(e, t, 1).getDay();
+ },
+ _canAdjustMonth: function (e, t, n, i) {
+ var r = this._getNumberOfMonths(e),
+ a = this._daylightSavingAdjust(
+ new this.CDate(n, i + (t < 0 ? t : r[0] * r[1]), 1)
+ );
+ return (
+ t < 0 && a.setDate(this._getDaysInMonth(a.getFullYear(), a.getMonth())),
+ this._isInRange(e, a)
+ );
+ },
+ _isInRange: function (e, t) {
+ var n,
+ i,
+ r = this._getMinMaxDate(e, "min"),
+ a = this._getMinMaxDate(e, "max"),
+ s = null,
+ o = null,
+ l = this._get(e, "yearRange");
+ return (
+ l &&
+ ((n = l.split(":")),
+ (i = new Date().getFullYear()),
+ (s = parseInt(n[0], 10)),
+ (o = parseInt(n[1], 10)),
+ n[0].match(/[+\-].*/) && (s += i),
+ n[1].match(/[+\-].*/) && (o += i)),
+ (!r || t.getTime() >= r.getTime()) &&
+ (!a || t.getTime() <= a.getTime()) &&
+ (!s || t.getFullYear() >= s) &&
+ (!o || t.getFullYear() <= o)
+ );
+ },
+ _getFormatConfig: function (e) {
+ var t = this._get(e, "shortYearCutoff");
+ return (
+ (this.CDate = this._get(e, "calendar")),
+ (t =
+ "string" != typeof t
+ ? t
+ : (new this.CDate().getFullYear() % 100) + parseInt(t, 10)),
+ {
+ shortYearCutoff: t,
+ dayNamesShort: this._get(e, "dayNamesShort"),
+ dayNames: this._get(e, "dayNames"),
+ monthNamesShort: this._get(e, "monthNamesShort"),
+ monthNames: this._get(e, "monthNames"),
+ }
+ );
+ },
+ _formatDate: function (e, t, n, i) {
+ t ||
+ ((e.currentDay = e.selectedDay),
+ (e.currentMonth = e.selectedMonth),
+ (e.currentYear = e.selectedYear));
+ var r = t
+ ? "object" == typeof t
+ ? t
+ : this._daylightSavingAdjust(new this.CDate(i, n, t))
+ : this._daylightSavingAdjust(
+ new this.CDate(e.currentYear, e.currentMonth, e.currentDay)
+ );
+ return this.formatDate(
+ this._get(e, "dateFormat"),
+ r,
+ this._getFormatConfig(e)
+ );
+ },
+ _compareDate: function (e, t, n) {
+ return e && n
+ ? (e.getGregorianDate && (e = e.getGregorianDate()),
+ n.getGregorianDate && (n = n.getGregorianDate()),
+ "<" == t ? e < n : e > n)
+ : null;
+ },
+ }),
+ ($.fn.datepicker = function (e) {
+ if (!this.length) return this;
+ $.datepicker.initialized ||
+ ($(document).mousedown($.datepicker._checkExternalClick),
+ ($.datepicker.initialized = !0)),
+ 0 === $("#" + $.datepicker._mainDivId).length &&
+ $("body").append($.datepicker.dpDiv);
+ var t = Array.prototype.slice.call(arguments, 1);
+ return "string" != typeof e ||
+ ("isDisabled" !== e && "getDate" !== e && "widget" !== e)
+ ? "option" === e &&
+ 2 === arguments.length &&
+ "string" == typeof arguments[1]
+ ? $.datepicker["_" + e + "Datepicker"].apply(
+ $.datepicker,
+ [this[0]].concat(t)
+ )
+ : this.each(function () {
+ "string" == typeof e
+ ? $.datepicker["_" + e + "Datepicker"].apply(
+ $.datepicker,
+ [this].concat(t)
+ )
+ : $.datepicker._attachDatepicker(this, e);
+ })
+ : $.datepicker["_" + e + "Datepicker"].apply(
+ $.datepicker,
+ [this[0]].concat(t)
+ );
+ }),
+ ($.datepicker = new Datepicker()),
+ ($.datepicker.initialized = !1),
+ ($.datepicker.uuid = new Date().getTime()),
+ ($.datepicker.version = "1.10.3");
+})(jQuery),
+ jQuery(function (e) {
+ (e.datepicker.regional.fa = {
+ calendar: JalaliDate,
+ closeText: "بستن",
+ prevText: "قبل",
+ nextText: "بعد",
+ currentText: "امروز",
+ monthNames: [
+ "فروردین",
+ "اردیبهشت",
+ "خرداد",
+ "تیر",
+ "مرداد",
+ "شهریور",
+ "مهر",
+ "آبان",
+ "آذر",
+ "دی",
+ "بهمن",
+ "اسفند",
+ ],
+ monthNamesShort: [
+ "فروردین",
+ "اردیبهشت",
+ "خرداد",
+ "تیر",
+ "مرداد",
+ "شهریور",
+ "مهر",
+ "آبان",
+ "آذر",
+ "دی",
+ "بهمن",
+ "اسفند",
+ ],
+ dayNames: [
+ "یکشنبه",
+ "دوشنبه",
+ "سه شنبه",
+ "چهارشنبه",
+ "پنجشنبه",
+ "جمعه",
+ "شنبه",
+ ],
+ dayNamesShort: ["یک", "دو", "سه", "چهار", "پنج", "جمعه", "شنبه"],
+ dayNamesMin: ["ی", "د", "س", "چ", "پ", "ج", "ش"],
+ weekHeader: "ه",
+ dateFormat: "dd/mm/yy",
+ firstDay: 6,
+ isRTL: !0,
+ showMonthAfterYear: !1,
+ yearSuffix: "",
+ calculateWeek: function (e) {
+ var t = new JalaliDate(
+ e.getFullYear(),
+ e.getMonth(),
+ e.getDate() + (e.getDay() || 7) - 3
+ );
+ return (
+ Math.floor(
+ Math.round(
+ (t.getTime() - new JalaliDate(t.getFullYear(), 0, 1).getTime()) /
+ 864e5
+ ) / 7
+ ) + 1
+ );
+ },
+ }),
+ e.datepicker.setDefaults(e.datepicker.regional.fa);
+ }),
+ $(document).ready(function () {
+ let JQ = jQuery || {};
+ if (typeof django !== "undefined") {
+ JQ = django.jQuery;
+ }
+ JQ(".jalali_date-date").datepicker({
+ dateFormat: "yy-mm-dd",
+ changeMonth: !0,
+ changeYear: !0,
+ yearRange: "c-70:c+10",
+ });
+ $('.add-row').click(function () {
+ let JQ = jQuery || {};
+ if (typeof django !== "undefined") {
+ JQ = django.jQuery;
+ }
+ // set delay to verify thats the new row was successfully created
+ setTimeout(function(){
+ console.log('add-row')
+ JQ(".jalali_date-date").datepicker({
+ dateFormat: "yy-mm-dd",
+ changeMonth: !0,
+ changeYear: !0,
+ yearRange: "c-70:c+10",
+ });
+ }, 300)
+ })
+ });
diff --git a/static/admin/js/django_jalali.min.js b/static/admin/js/django_jalali.min.js
new file mode 100644
index 0000000..fa10072
--- /dev/null
+++ b/static/admin/js/django_jalali.min.js
@@ -0,0 +1,5 @@
+function mod(e,t){return e-t*Math.floor(e/t)}function leap_gregorian(e){return e%4==0&&!(e%100==0&&e%400!=0)}function gregorian_to_jd(e,t,n){return GREGORIAN_EPOCH-1+365*(e-1)+Math.floor((e-1)/4)+-Math.floor((e-1)/100)+Math.floor((e-1)/400)+Math.floor((367*t-362)/12+(t<=2?0:leap_gregorian(e)?-1:-2)+n)}function jd_to_gregorian(e){var t,n,i,r,a,o,s,l,u,c,d,p;return t=Math.floor(e-.5)+.5,n=t-GREGORIAN_EPOCH,i=Math.floor(n/146097),r=mod(n,146097),a=Math.floor(r/36524),o=mod(r,36524),s=Math.floor(o/1461),l=mod(o,1461),u=Math.floor(l/365),c=400*i+100*a+4*s+u,4!=a&&4!=u&&c++,d=t-gregorian_to_jd(c,1,1),p=t
0?474:473))%2820+474+38)%2816<682}function persian_to_jd(e,t,n){var i,r;return i=e-(e>=0?474:473),r=474+mod(i,2820),n+(t<=7?31*(t-1):30*(t-1)+6)+Math.floor((682*r-110)/2816)+365*(r-1)+1029983*Math.floor(i/2820)+(PERSIAN_EPOCH-1)}function jd_to_persian(e){var t,n,i,r,a,o,s,l,u,c;return e=Math.floor(e)+.5,r=e-persian_to_jd(475,1,1),a=Math.floor(r/1029983),o=mod(r,1029983),1029982==o?s=2820:(l=Math.floor(o/366),u=mod(o,366),s=Math.floor((2134*l+2816*u+2815)/1028522)+l+1),(t=s+2820*a+474)<=0&&t--,c=e-persian_to_jd(t,1,1)+1,n=c<=186?Math.ceil(c/31):Math.ceil((c-6)/30),i=e-persian_to_jd(t,n,1)+1,new Array(t,n,i)}function JalaliDate(e,t,n){function i(e){var t=0;e[1]<0&&(t=leap_persian(e[0]-1)?30:29,e[1]++);var n=jd_to_gregorian(persian_to_jd(e[0],e[1]+1,e[2])-t);return n[1]--,n}function r(e){var t=jd_to_persian(gregorian_to_jd(e[0],e[1]+1,e[2]));return t[1]--,t}function a(e){return e&&e.getGregorianDate&&(e=e.getGregorianDate()),(o=new Date(e)).setHours(o.getHours()>12?o.getHours()+2:0),o&&"Invalid Date"!=o&&!isNaN(o||!o.getDate())||(o=new Date),s=r([o.getFullYear(),o.getMonth(),o.getDate()]),this}var o,s;if(isNaN(parseInt(e))||isNaN(parseInt(t))||isNaN(parseInt(n)))a(e);else{var l=i([parseInt(e,10),parseInt(t,10),parseInt(n,10)]);a(new Date(l[0],l[1],l[2]))}this.getGregorianDate=function(){return o},this.setFullDate=a,this.setMonth=function(e){s[1]=e;var t=i(s);o=new Date(t[0],t[1],t[2]),s=r([t[0],t[1],t[2]])},this.setDate=function(e){s[2]=e;var t=i(s);o=new Date(t[0],t[1],t[2]),s=r([t[0],t[1],t[2]])},this.getFullYear=function(){return s[0]},this.getMonth=function(){return s[1]},this.getDate=function(){return s[2]},this.toString=function(){return s.join(",").toString()},this.getDay=function(){return o.getDay()},this.getHours=function(){return o.getHours()},this.getMinutes=function(){return o.getMinutes()},this.getSeconds=function(){return o.getSeconds()},this.getTime=function(){return o.getTime()},this.getTimeZoneOffset=function(){return o.getTimeZoneOffset()},this.getYear=function(){return s[0]%100},this.setHours=function(e){o.setHours(e)},this.setMinutes=function(e){o.setMinutes(e)},this.setSeconds=function(e){o.setSeconds(e)},this.setMilliseconds=function(e){o.setMilliseconds(e)}}!function(e,t){function n(e){var t=e.length,n=ue.type(e);return!ue.isWindow(e)&&(!(1!==e.nodeType||!t)||"array"===n||"function"!==n&&(0===t||"number"==typeof t&&t>0&&t-1 in e))}function i(e){var t=we[e]={};return ue.each(e.match(de)||[],function(e,n){t[n]=!0}),t}function r(e,n,i,r){if(ue.acceptData(e)){var a,o,s=ue.expando,l=e.nodeType,u=l?ue.cache:e,c=l?e[s]:e[s]&&s;if(c&&u[c]&&(r||u[c].data)||i!==t||"string"!=typeof n)return c||(c=l?e[s]=ee.pop()||ue.guid++:s),u[c]||(u[c]=l?{}:{toJSON:ue.noop}),("object"==typeof n||"function"==typeof n)&&(r?u[c]=ue.extend(u[c],n):u[c].data=ue.extend(u[c].data,n)),o=u[c],r||(o.data||(o.data={}),o=o.data),i!==t&&(o[ue.camelCase(n)]=i),"string"==typeof n?null==(a=o[n])&&(a=o[ue.camelCase(n)]):a=o,a}}function a(e,t,n){if(ue.acceptData(e)){var i,r,a=e.nodeType,o=a?ue.cache:e,l=a?e[ue.expando]:ue.expando;if(o[l]){if(t&&(i=n?o[l]:o[l].data)){ue.isArray(t)?t=t.concat(ue.map(t,ue.camelCase)):t in i?t=[t]:(t=ue.camelCase(t),t=t in i?[t]:t.split(" ")),r=t.length;for(;r--;)delete i[t[r]];if(n?!s(i):!ue.isEmptyObject(i))return}(n||(delete o[l].data,s(o[l])))&&(a?ue.cleanData([e],!0):ue.support.deleteExpando||o!=o.window?delete o[l]:o[l]=null)}}}function o(e,n,i){if(i===t&&1===e.nodeType){var r="data-"+n.replace(Te,"-$1").toLowerCase();if("string"==typeof(i=e.getAttribute(r))){try{i="true"===i||"false"!==i&&("null"===i?null:+i+""===i?+i:Ce.test(i)?ue.parseJSON(i):i)}catch(e){}ue.data(e,n,i)}else i=t}return i}function s(e){var t;for(t in e)if(("data"!==t||!ue.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}function l(){return!0}function u(){return!1}function c(){try{return G.activeElement}catch(e){}}function d(e,t){do{e=e[t]}while(e&&1!==e.nodeType);return e}function p(e,t,n){if(ue.isFunction(t))return ue.grep(e,function(e,i){return!!t.call(e,i,e)!==n});if(t.nodeType)return ue.grep(e,function(e){return e===t!==n});if("string"==typeof t){if(Ye.test(t))return ue.filter(t,e,n);t=ue.filter(t,e)}return ue.grep(e,function(e){return ue.inArray(e,t)>=0!==n})}function h(e){var t=ze.split("|"),n=e.createDocumentFragment();if(n.createElement)for(;t.length;)n.createElement(t.pop());return n}function f(e,t){return ue.nodeName(e,"table")&&ue.nodeName(1===t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function g(e){return e.type=(null!==ue.find.attr(e,"type"))+"/"+e.type,e}function m(e){var t=it.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function y(e,t){for(var n,i=0;null!=(n=e[i]);i++)ue._data(n,"globalEval",!t||ue._data(t[i],"globalEval"))}function v(e,t){if(1===t.nodeType&&ue.hasData(e)){var n,i,r,a=ue._data(e),o=ue._data(t,a),s=a.events;if(s)for(n in delete o.handle,o.events={},s)for(i=0,r=s[n].length;r>i;i++)ue.event.add(t,n,s[n][i]);o.data&&(o.data=ue.extend({},o.data))}}function b(e,t){var n,i,r;if(1===t.nodeType){if(n=t.nodeName.toLowerCase(),!ue.support.noCloneEvent&&t[ue.expando]){for(i in r=ue._data(t),r.events)ue.removeEvent(t,i,r.handle);t.removeAttribute(ue.expando)}"script"===n&&t.text!==e.text?(g(t).text=e.text,m(t)):"object"===n?(t.parentNode&&(t.outerHTML=e.outerHTML),ue.support.html5Clone&&e.innerHTML&&!ue.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):"input"===n&&et.test(e.type)?(t.defaultChecked=t.checked=e.checked,t.value!==e.value&&(t.value=e.value)):"option"===n?t.defaultSelected=t.selected=e.defaultSelected:("input"===n||"textarea"===n)&&(t.defaultValue=e.defaultValue)}}function _(e,n){var i,r,a=0,o=typeof e.getElementsByTagName!==U?e.getElementsByTagName(n||"*"):typeof e.querySelectorAll!==U?e.querySelectorAll(n||"*"):t;if(!o)for(o=[],i=e.childNodes||e;null!=(r=i[a]);a++)!n||ue.nodeName(r,n)?o.push(r):ue.merge(o,_(r,n));return n===t||n&&ue.nodeName(e,n)?ue.merge([e],o):o}function x(e){et.test(e.type)&&(e.defaultChecked=e.checked)}function k(e,t){if(t in e)return t;for(var n=t.charAt(0).toUpperCase()+t.slice(1),i=t,r=kt.length;r--;)if((t=kt[r]+n)in e)return t;return i}function D(e,t){return e=t||e,"none"===ue.css(e,"display")||!ue.contains(e.ownerDocument,e)}function w(e,t){for(var n,i,r,a=[],o=0,s=e.length;s>o;o++)(i=e[o]).style&&(a[o]=ue._data(i,"olddisplay"),n=i.style.display,t?(a[o]||"none"!==n||(i.style.display=""),""===i.style.display&&D(i)&&(a[o]=ue._data(i,"olddisplay",M(i.nodeName)))):a[o]||(r=D(i),(n&&"none"!==n||!r)&&ue._data(i,"olddisplay",r?n:ue.css(i,"display"))));for(o=0;s>o;o++)(i=e[o]).style&&(t&&"none"!==i.style.display&&""!==i.style.display||(i.style.display=t?a[o]||"":"none"));return e}function C(e,t,n){var i=gt.exec(t);return i?Math.max(0,i[1]-(n||0))+(i[2]||"px"):t}function T(e,t,n,i,r){for(var a=n===(i?"border":"content")?4:"width"===t?1:0,o=0;4>a;a+=2)"margin"===n&&(o+=ue.css(e,n+xt[a],!0,r)),i?("content"===n&&(o-=ue.css(e,"padding"+xt[a],!0,r)),"margin"!==n&&(o-=ue.css(e,"border"+xt[a]+"Width",!0,r))):(o+=ue.css(e,"padding"+xt[a],!0,r),"padding"!==n&&(o+=ue.css(e,"border"+xt[a]+"Width",!0,r)));return o}function N(e,t,n){var i=!0,r="width"===t?e.offsetWidth:e.offsetHeight,a=lt(e),o=ue.support.boxSizing&&"border-box"===ue.css(e,"boxSizing",!1,a);if(0>=r||null==r){if((0>(r=ut(e,t,a))||null==r)&&(r=e.style[t]),mt.test(r))return r;i=o&&(ue.support.boxSizingReliable||r===e.style[t]),r=parseFloat(r)||0}return r+T(e,t,n||(o?"border":"content"),i,a)+"px"}function M(e){var t=G,n=vt[e];return n||("none"!==(n=S(e,t))&&n||(st=(st||ue("").css("cssText","display:block !important")).appendTo(t.documentElement),(t=(st[0].contentWindow||st[0].contentDocument).document).write(""),t.close(),n=S(e,t),st.detach()),vt[e]=n),n}function S(e,t){var n=ue(t.createElement(e)).appendTo(t.body),i=ue.css(n[0],"display");return n.remove(),i}function $(e,t,n,i){var r;if(ue.isArray(t))ue.each(t,function(t,r){n||wt.test(e)?i(e,r):$(e+"["+("object"==typeof r?t:"")+"]",r,n,i)});else if(n||"object"!==ue.type(t))i(e,t);else for(r in t)$(e+"["+r+"]",t[r],n,i)}function A(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var i,r=0,a=t.toLowerCase().match(de)||[];if(ue.isFunction(n))for(;i=a[r++];)"+"===i[0]?(i=i.slice(1)||"*",(e[i]=e[i]||[]).unshift(n)):(e[i]=e[i]||[]).push(n)}}function E(e,n,i,r){function a(l){var u;return o[l]=!0,ue.each(e[l]||[],function(e,l){var c=l(n,i,r);return"string"!=typeof c||s||o[c]?s?!(u=c):t:(n.dataTypes.unshift(c),a(c),!1)}),u}var o={},s=e===Yt;return a(n.dataTypes[0])||!o["*"]&&a("*")}function j(e,n){var i,r,a=ue.ajaxSettings.flatOptions||{};for(r in n)n[r]!==t&&((a[r]?e:i||(i={}))[r]=n[r]);return i&&ue.extend(!0,e,i),e}function I(e,n,i){for(var r,a,o,s,l=e.contents,u=e.dataTypes;"*"===u[0];)u.shift(),a===t&&(a=e.mimeType||n.getResponseHeader("Content-Type"));if(a)for(s in l)if(l[s]&&l[s].test(a)){u.unshift(s);break}if(u[0]in i)o=u[0];else{for(s in i){if(!u[0]||e.converters[s+" "+u[0]]){o=s;break}r||(r=s)}o=o||r}return o?(o!==u[0]&&u.unshift(o),i[o]):t}function F(e,t,n,i){var r,a,o,s,l,u={},c=e.dataTypes.slice();if(c[1])for(o in e.converters)u[o.toLowerCase()]=e.converters[o];for(a=c.shift();a;)if(e.responseFields[a]&&(n[e.responseFields[a]]=t),!l&&i&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=a,a=c.shift())if("*"===a)a=l;else if("*"!==l&&l!==a){if(!(o=u[l+" "+a]||u["* "+a]))for(r in u)if((s=r.split(" "))[1]===a&&(o=u[l+" "+s[0]]||u["* "+s[0]])){!0===o?o=u[r]:!0!==u[r]&&(a=s[0],c.unshift(s[1]));break}if(!0!==o)if(o&&e.throws)t=o(t);else try{t=o(t)}catch(e){return{state:"parsererror",error:o?e:"No conversion from "+l+" to "+a}}}return{state:"success",data:t}}function L(){try{return new e.XMLHttpRequest}catch(e){}}function H(){try{return new e.ActiveXObject("Microsoft.XMLHTTP")}catch(e){}}function O(){return setTimeout(function(){Gt=t}),Gt=ue.now()}function P(e,t,n){for(var i,r=(tn[t]||[]).concat(tn["*"]),a=0,o=r.length;o>a;a++)if(i=r[a].call(n,t,e))return i}function R(e,t,n){var i,r,a=0,o=en.length,s=ue.Deferred().always(function(){delete l.elem}),l=function(){if(r)return!1;for(var t=Gt||O(),n=Math.max(0,u.startTime+u.duration-t),i=1-(n/u.duration||0),a=0,o=u.tweens.length;o>a;a++)u.tweens[a].run(i);return s.notifyWith(e,[u,i,n]),1>i&&o?n:(s.resolveWith(e,[u]),!1)},u=s.promise({elem:e,props:ue.extend({},t),opts:ue.extend(!0,{specialEasing:{}},n),originalProperties:t,originalOptions:n,startTime:Gt||O(),duration:n.duration,tweens:[],createTween:function(t,n){var i=ue.Tween(e,u.opts,t,n,u.opts.specialEasing[t]||u.opts.easing);return u.tweens.push(i),i},stop:function(t){var n=0,i=t?u.tweens.length:0;if(r)return this;for(r=!0;i>n;n++)u.tweens[n].run(1);return t?s.resolveWith(e,[u,t]):s.rejectWith(e,[u,t]),this}}),c=u.props;for(Y(c,u.opts.specialEasing);o>a;a++)if(i=en[a].call(u,e,c,u.opts))return i;return ue.map(c,P,u),ue.isFunction(u.opts.start)&&u.opts.start.call(e,u),ue.fx.timer(ue.extend(l,{elem:e,anim:u,queue:u.opts.queue})),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always)}function Y(e,t){var n,i,r,a,o;for(n in e)if(i=ue.camelCase(n),r=t[i],a=e[n],ue.isArray(a)&&(r=a[1],a=e[n]=a[0]),n!==i&&(e[i]=a,delete e[n]),(o=ue.cssHooks[i])&&"expand"in o)for(n in a=o.expand(a),delete e[i],a)n in e||(e[n]=a[n],t[n]=r);else t[i]=r}function q(e,t,n,i,r){return new q.prototype.init(e,t,n,i,r)}function W(e,t){var n,i={height:e},r=0;for(t=t?1:0;4>r;r+=2-t)n=xt[r],i["margin"+n]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function B(e){return ue.isWindow(e)?e:9===e.nodeType&&(e.defaultView||e.parentWindow)}var z,K,U=typeof t,X=e.location,G=e.document,V=G.documentElement,J=e.jQuery,Q=e.$,Z={},ee=[],te="1.10.2",ne=ee.concat,ie=ee.push,re=ee.slice,ae=ee.indexOf,oe=Z.toString,se=Z.hasOwnProperty,le=te.trim,ue=function(e,t){return new ue.fn.init(e,t,K)},ce=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,de=/\S+/g,pe=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,he=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,fe=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,ge=/^[\],:{}\s]*$/,me=/(?:^|:|,)(?:\s*\[)+/g,ye=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,ve=/"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g,be=/^-ms-/,_e=/-([\da-z])/gi,xe=function(e,t){return t.toUpperCase()},ke=function(e){(G.addEventListener||"load"===e.type||"complete"===G.readyState)&&(De(),ue.ready())},De=function(){G.addEventListener?(G.removeEventListener("DOMContentLoaded",ke,!1),e.removeEventListener("load",ke,!1)):(G.detachEvent("onreadystatechange",ke),e.detachEvent("onload",ke))};ue.fn=ue.prototype={jquery:te,constructor:ue,init:function(e,n,i){var r,a;if(!e)return this;if("string"==typeof e){if(!(r="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:he.exec(e))||!r[1]&&n)return!n||n.jquery?(n||i).find(e):this.constructor(n).find(e);if(r[1]){if(n=n instanceof ue?n[0]:n,ue.merge(this,ue.parseHTML(r[1],n&&n.nodeType?n.ownerDocument||n:G,!0)),fe.test(r[1])&&ue.isPlainObject(n))for(r in n)ue.isFunction(this[r])?this[r](n[r]):this.attr(r,n[r]);return this}if((a=G.getElementById(r[2]))&&a.parentNode){if(a.id!==r[2])return i.find(e);this.length=1,this[0]=a}return this.context=G,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):ue.isFunction(e)?i.ready(e):(e.selector!==t&&(this.selector=e.selector,this.context=e.context),ue.makeArray(e,this))},selector:"",length:0,toArray:function(){return re.call(this)},get:function(e){return null==e?this.toArray():0>e?this[this.length+e]:this[e]},pushStack:function(e){var t=ue.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e,t){return ue.each(this,e,t)},ready:function(e){return ue.ready.promise().done(e),this},slice:function(){return this.pushStack(re.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(0>e?t:0);return this.pushStack(n>=0&&t>n?[this[n]]:[])},map:function(e){return this.pushStack(ue.map(this,function(t,n){return e.call(t,n,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:ie,sort:[].sort,splice:[].splice},ue.fn.init.prototype=ue.fn,ue.extend=ue.fn.extend=function(){var e,n,i,r,a,o,s=arguments[0]||{},l=1,u=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[1]||{},l=2),"object"==typeof s||ue.isFunction(s)||(s={}),u===l&&(s=this,--l);u>l;l++)if(null!=(a=arguments[l]))for(r in a)e=s[r],i=a[r],s!==i&&(c&&i&&(ue.isPlainObject(i)||(n=ue.isArray(i)))?(n?(n=!1,o=e&&ue.isArray(e)?e:[]):o=e&&ue.isPlainObject(e)?e:{},s[r]=ue.extend(c,o,i)):i!==t&&(s[r]=i));return s},ue.extend({expando:"jQuery"+(te+Math.random()).replace(/\D/g,""),noConflict:function(t){return e.$===ue&&(e.$=Q),t&&e.jQuery===ue&&(e.jQuery=J),ue},isReady:!1,readyWait:1,holdReady:function(e){e?ue.readyWait++:ue.ready(!0)},ready:function(e){if(!0===e?!--ue.readyWait:!ue.isReady){if(!G.body)return setTimeout(ue.ready);ue.isReady=!0,!0!==e&&--ue.readyWait>0||(z.resolveWith(G,[ue]),ue.fn.trigger&&ue(G).trigger("ready").off("ready"))}},isFunction:function(e){return"function"===ue.type(e)},isArray:Array.isArray||function(e){return"array"===ue.type(e)},isWindow:function(e){return null!=e&&e==e.window},isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?Z[oe.call(e)]||"object":typeof e},isPlainObject:function(e){var n;if(!e||"object"!==ue.type(e)||e.nodeType||ue.isWindow(e))return!1;try{if(e.constructor&&!se.call(e,"constructor")&&!se.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(e){return!1}if(ue.support.ownLast)for(n in e)return se.call(e,n);for(n in e);return n===t||se.call(e,n)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},error:function(e){throw Error(e)},parseHTML:function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||G;var i=fe.exec(e),r=!n&&[];return i?[t.createElement(i[1])]:(i=ue.buildFragment([e],t,r),r&&ue(r).remove(),ue.merge([],i.childNodes))},parseJSON:function(n){return e.JSON&&e.JSON.parse?e.JSON.parse(n):null===n?n:"string"==typeof n&&(n=ue.trim(n))&&ge.test(n.replace(ye,"@").replace(ve,"]").replace(me,""))?Function("return "+n)():(ue.error("Invalid JSON: "+n),t)},parseXML:function(n){var i,r;if(!n||"string"!=typeof n)return null;try{e.DOMParser?(r=new DOMParser,i=r.parseFromString(n,"text/xml")):(i=new ActiveXObject("Microsoft.XMLDOM"),i.async="false",i.loadXML(n))}catch(e){i=t}return i&&i.documentElement&&!i.getElementsByTagName("parsererror").length||ue.error("Invalid XML: "+n),i},noop:function(){},globalEval:function(t){t&&ue.trim(t)&&(e.execScript||function(t){e.eval.call(e,t)})(t)},camelCase:function(e){return e.replace(be,"ms-").replace(_e,xe)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t,i){var r=0,a=e.length,o=n(e);if(i){if(o)for(;a>r&&!1!==t.apply(e[r],i);r++);else for(r in e)if(!1===t.apply(e[r],i))break}else if(o)for(;a>r&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},trim:le&&!le.call("\ufeff ")?function(e){return null==e?"":le.call(e)}:function(e){return null==e?"":(e+"").replace(pe,"")},makeArray:function(e,t){var i=t||[];return null!=e&&(n(Object(e))?ue.merge(i,"string"==typeof e?[e]:e):ie.call(i,e)),i},inArray:function(e,t,n){var i;if(t){if(ae)return ae.call(t,e,n);for(i=t.length,n=n?0>n?Math.max(0,i+n):n:0;i>n;n++)if(n in t&&t[n]===e)return n}return-1},merge:function(e,n){var i=n.length,r=e.length,a=0;if("number"==typeof i)for(;i>a;a++)e[r++]=n[a];else for(;n[a]!==t;)e[r++]=n[a++];return e.length=r,e},grep:function(e,t,n){var i,r=[],a=0,o=e.length;for(n=!!n;o>a;a++)i=!!t(e[a],a),n!==i&&r.push(e[a]);return r},map:function(e,t,i){var r,a=0,o=e.length,s=[];if(n(e))for(;o>a;a++)null!=(r=t(e[a],a,i))&&(s[s.length]=r);else for(a in e)null!=(r=t(e[a],a,i))&&(s[s.length]=r);return ne.apply([],s)},guid:1,proxy:function(e,n){var i,r,a;return"string"==typeof n&&(a=e[n],n=e,e=a),ue.isFunction(e)?(i=re.call(arguments,2),r=function(){return e.apply(n||this,i.concat(re.call(arguments)))},r.guid=e.guid=e.guid||ue.guid++,r):t},access:function(e,n,i,r,a,o,s){var l=0,u=e.length,c=null==i;if("object"===ue.type(i))for(l in a=!0,i)ue.access(e,n,l,i[l],!0,o,s);else if(r!==t&&(a=!0,ue.isFunction(r)||(s=!0),c&&(s?(n.call(e,r),n=null):(c=n,n=function(e,t,n){return c.call(ue(e),n)})),n))for(;u>l;l++)n(e[l],i,s?r:r.call(e[l],l,n(e[l],i)));return a?e:c?n.call(e):u?n(e[0],i):o},now:function(){return(new Date).getTime()},swap:function(e,t,n,i){var r,a,o={};for(a in t)o[a]=e.style[a],e.style[a]=t[a];for(a in r=n.apply(e,i||[]),t)e.style[a]=o[a];return r}}),ue.ready.promise=function(t){if(!z)if(z=ue.Deferred(),"complete"===G.readyState)setTimeout(ue.ready);else if(G.addEventListener)G.addEventListener("DOMContentLoaded",ke,!1),e.addEventListener("load",ke,!1);else{G.attachEvent("onreadystatechange",ke),e.attachEvent("onload",ke);var n=!1;try{n=null==e.frameElement&&G.documentElement}catch(e){}n&&n.doScroll&&function e(){if(!ue.isReady){try{n.doScroll("left")}catch(t){return setTimeout(e,50)}De(),ue.ready()}}()}return z.promise(t)},ue.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(e,t){Z["[object "+t+"]"]=t.toLowerCase()}),K=ue(G),function(e,t){function n(e,t,n,i){var r,a,o,s,l,u,p,h,f,g;if((t?t.ownerDocument||t:O)!==$&&S(t),t=t||$,n=n||[],!e||"string"!=typeof e)return n;if(1!==(s=t.nodeType)&&9!==s)return[];if(E&&!i){if(r=ye.exec(e))if(o=r[1]){if(9===s){if(!(a=t.getElementById(o))||!a.parentNode)return n;if(a.id===o)return n.push(a),n}else if(t.ownerDocument&&(a=t.ownerDocument.getElementById(o))&&L(t,a)&&a.id===o)return n.push(a),n}else{if(r[2])return Q.apply(n,t.getElementsByTagName(e)),n;if((o=r[3])&&x.getElementsByClassName&&t.getElementsByClassName)return Q.apply(n,t.getElementsByClassName(o)),n}if(x.qsa&&(!j||!j.test(e))){if(h=p=H,f=t,g=9===s&&e,1===s&&"object"!==t.nodeName.toLowerCase()){for(u=c(e),(p=t.getAttribute("id"))?h=p.replace(_e,"\\$&"):t.setAttribute("id",h),h="[id='"+h+"'] ",l=u.length;l--;)u[l]=h+d(u[l]);f=de.test(e)&&t.parentNode||t,g=u.join(",")}if(g)try{return Q.apply(n,f.querySelectorAll(g)),n}catch(e){}finally{p||t.removeAttribute("id")}}}return b(e.replace(se,"$1"),t,n,i)}function i(){function e(n,i){return t.push(n+=" ")>D.cacheLength&&delete e[t.shift()],e[n]=i}var t=[];return e}function r(e){return e[H]=!0,e}function a(e){var t=$.createElement("div");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function o(e,t){for(var n=e.split("|"),i=e.length;i--;)D.attrHandle[n[i]]=t}function s(e,t){var n=t&&e,i=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||U)-(~e.sourceIndex||U);if(i)return i;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function l(e){return r(function(t){return t=+t,r(function(n,i){for(var r,a=e([],n.length,t),o=a.length;o--;)n[r=a[o]]&&(n[r]=!(i[r]=n[r]))})})}function u(){}function c(e,t){var i,r,a,o,s,l,u,c=q[e+" "];if(c)return t?0:c.slice(0);for(s=e,l=[],u=D.preFilter;s;){for(o in(!i||(r=le.exec(s)))&&(r&&(s=s.slice(r[0].length)||s),l.push(a=[])),i=!1,(r=ce.exec(s))&&(i=r.shift(),a.push({value:i,type:r[0].replace(se," ")}),s=s.slice(i.length)),D.filter)!(r=ge[o].exec(s))||u[o]&&!(r=u[o](r))||(i=r.shift(),a.push({value:i,type:o,matches:r}),s=s.slice(i.length));if(!i)break}return t?s.length:s?n.error(e):q(e,l).slice(0)}function d(e){for(var t=0,n=e.length,i="";n>t;t++)i+=e[t].value;return i}function p(e,t,n){var i=t.dir,r=n&&"parentNode"===i,a=R++;return t.first?function(t,n,a){for(;t=t[i];)if(1===t.nodeType||r)return e(t,n,a)}:function(t,n,o){var s,l,u,c=P+" "+a;if(o){for(;t=t[i];)if((1===t.nodeType||r)&&e(t,n,o))return!0}else for(;t=t[i];)if(1===t.nodeType||r)if(u=t[H]||(t[H]={}),(l=u[i])&&l[0]===c){if(!0===(s=l[1])||s===k)return!0===s}else if(l=u[i]=[c],l[1]=e(t,n,o)||k,!0===l[1])return!0}}function h(e){return e.length>1?function(t,n,i){for(var r=e.length;r--;)if(!e[r](t,n,i))return!1;return!0}:e[0]}function f(e,t,n,i,r){for(var a,o=[],s=0,l=e.length,u=null!=t;l>s;s++)(a=e[s])&&(!n||n(a,i,r))&&(o.push(a),u&&t.push(s));return o}function g(e,t,n,i,a,o){return i&&!i[H]&&(i=g(i)),a&&!a[H]&&(a=g(a,o)),r(function(r,o,s,l){var u,c,d,p=[],h=[],g=o.length,m=r||v(t||"*",s.nodeType?[s]:s,[]),y=!e||!r&&t?m:f(m,p,e,s,l),b=n?a||(r?e:g||i)?[]:o:y;if(n&&n(y,b,s,l),i)for(u=f(b,h),i(u,[],s,l),c=u.length;c--;)(d=u[c])&&(b[h[c]]=!(y[h[c]]=d));if(r){if(a||e){if(a){for(u=[],c=b.length;c--;)(d=b[c])&&u.push(y[c]=d);a(null,b=[],u,l)}for(c=b.length;c--;)(d=b[c])&&(u=a?ee.call(r,d):p[c])>-1&&(r[u]=!(o[u]=d))}}else b=f(b===o?b.splice(g,b.length):b),a?a(null,o,b,l):Q.apply(o,b)})}function m(e){for(var t,n,i,r=e.length,a=D.relative[e[0].type],o=a||D.relative[" "],s=a?1:0,l=p(function(e){return e===t},o,!0),u=p(function(e){return ee.call(t,e)>-1},o,!0),c=[function(e,n,i){return!a&&(i||n!==N)||((t=n).nodeType?l(e,n,i):u(e,n,i))}];r>s;s++)if(n=D.relative[e[s].type])c=[p(h(c),n)];else{if((n=D.filter[e[s].type].apply(null,e[s].matches))[H]){for(i=++s;r>i&&!D.relative[e[i].type];i++);return g(s>1&&h(c),s>1&&d(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(se,"$1"),n,i>s&&m(e.slice(s,i)),r>i&&m(e=e.slice(i)),r>i&&d(e))}c.push(n)}return h(c)}function y(e,t){var i=0,a=t.length>0,o=e.length>0,s=function(r,s,l,u,c){var d,p,h,g=[],m=0,y="0",v=r&&[],b=null!=c,_=N,x=r||o&&D.find.TAG("*",c&&s.parentNode||s),w=P+=null==_?1:Math.random()||.1;for(b&&(N=s!==$&&s,k=i);null!=(d=x[y]);y++){if(o&&d){for(p=0;h=e[p++];)if(h(d,s,l)){u.push(d);break}b&&(P=w,k=++i)}a&&((d=!h&&d)&&m--,r&&v.push(d))}if(m+=y,a&&y!==m){for(p=0;h=t[p++];)h(v,g,s,l);if(r){if(m>0)for(;y--;)v[y]||g[y]||(g[y]=V.call(u));g=f(g)}Q.apply(u,g),b&&!r&&g.length>0&&m+t.length>1&&n.uniqueSort(u)}return b&&(P=w,N=_),v};return a?r(s):s}function v(e,t,i){for(var r=0,a=t.length;a>r;r++)n(e,t[r],i);return i}function b(e,t,n,i){var r,a,o,s,l,u=c(e);if(!i&&1===u.length){if((a=u[0]=u[0].slice(0)).length>2&&"ID"===(o=a[0]).type&&x.getById&&9===t.nodeType&&E&&D.relative[a[1].type]){if(!(t=(D.find.ID(o.matches[0].replace(xe,ke),t)||[])[0]))return n;e=e.slice(a.shift().value.length)}for(r=ge.needsContext.test(e)?0:a.length;r--&&(o=a[r],!D.relative[s=o.type]);)if((l=D.find[s])&&(i=l(o.matches[0].replace(xe,ke),de.test(a[0].type)&&t.parentNode||t))){if(a.splice(r,1),!(e=i.length&&d(a)))return Q.apply(n,i),n;break}}return T(e,u)(i,t,!E,n,de.test(e)),n}var _,x,k,D,w,C,T,N,M,S,$,A,E,j,I,F,L,H="sizzle"+-new Date,O=e.document,P=0,R=0,Y=i(),q=i(),W=i(),B=!1,z=function(e,t){return e===t?(B=!0,0):0},K=typeof t,U=1<<31,X={}.hasOwnProperty,G=[],V=G.pop,J=G.push,Q=G.push,Z=G.slice,ee=G.indexOf||function(e){for(var t=0,n=this.length;n>t;t++)if(this[t]===e)return t;return-1},te="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",ne="[\\x20\\t\\r\\n\\f]",ie="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",re=ie.replace("w","w#"),ae="\\["+ne+"*("+ie+")"+ne+"*(?:([*^$|!~]?=)"+ne+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+re+")|)|)"+ne+"*\\]",oe=":("+ie+")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|"+ae.replace(3,8)+")*)|.*)\\)|)",se=RegExp("^"+ne+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ne+"+$","g"),le=RegExp("^"+ne+"*,"+ne+"*"),ce=RegExp("^"+ne+"*([>+~]|"+ne+")"+ne+"*"),de=RegExp(ne+"*[+~]"),pe=RegExp("="+ne+"*([^\\]'\"]*)"+ne+"*\\]","g"),he=RegExp(oe),fe=RegExp("^"+re+"$"),ge={ID:RegExp("^#("+ie+")"),CLASS:RegExp("^\\.("+ie+")"),TAG:RegExp("^("+ie.replace("w","w*")+")"),ATTR:RegExp("^"+ae),PSEUDO:RegExp("^"+oe),CHILD:RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ne+"*(even|odd|(([+-]|)(\\d*)n|)"+ne+"*(?:([+-]|)"+ne+"*(\\d+)|))"+ne+"*\\)|)","i"),bool:RegExp("^(?:"+te+")$","i"),needsContext:RegExp("^"+ne+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ne+"*((?:-\\d)?\\d*)"+ne+"*\\)|)(?=[^-]|$)","i")},me=/^[^{]+\{\s*\[native \w/,ye=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ve=/^(?:input|select|textarea|button)$/i,be=/^h\d$/i,_e=/'|\\/g,xe=RegExp("\\\\([\\da-f]{1,6}"+ne+"?|("+ne+")|.)","ig"),ke=function(e,t,n){var i="0x"+t-65536;return i!=i||n?t:0>i?String.fromCharCode(i+65536):String.fromCharCode(55296|i>>10,56320|1023&i)};try{Q.apply(G=Z.call(O.childNodes),O.childNodes),G[O.childNodes.length].nodeType}catch(e){Q={apply:G.length?function(e,t){J.apply(e,Z.call(t))}:function(e,t){for(var n=e.length,i=0;e[n++]=t[i++];);e.length=n-1}}}for(_ in C=n.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},x=n.support={},S=n.setDocument=function(e){var n=e?e.ownerDocument||e:O,i=n.defaultView;return n!==$&&9===n.nodeType&&n.documentElement?($=n,A=n.documentElement,E=!C(n),i&&i.attachEvent&&i!==i.top&&i.attachEvent("onbeforeunload",function(){S()}),x.attributes=a(function(e){return e.className="i",!e.getAttribute("className")}),x.getElementsByTagName=a(function(e){return e.appendChild(n.createComment("")),!e.getElementsByTagName("*").length}),x.getElementsByClassName=a(function(e){return e.innerHTML="
",e.firstChild.className="i",2===e.getElementsByClassName("i").length}),x.getById=a(function(e){return A.appendChild(e).id=H,!n.getElementsByName||!n.getElementsByName(H).length}),x.getById?(D.find.ID=function(e,t){if(typeof t.getElementById!==K&&E){var n=t.getElementById(e);return n&&n.parentNode?[n]:[]}},D.filter.ID=function(e){var t=e.replace(xe,ke);return function(e){return e.getAttribute("id")===t}}):(delete D.find.ID,D.filter.ID=function(e){var t=e.replace(xe,ke);return function(e){var n=typeof e.getAttributeNode!==K&&e.getAttributeNode("id");return n&&n.value===t}}),D.find.TAG=x.getElementsByTagName?function(e,n){return typeof n.getElementsByTagName!==K?n.getElementsByTagName(e):t}:function(e,t){var n,i=[],r=0,a=t.getElementsByTagName(e);if("*"===e){for(;n=a[r++];)1===n.nodeType&&i.push(n);return i}return a},D.find.CLASS=x.getElementsByClassName&&function(e,n){return typeof n.getElementsByClassName!==K&&E?n.getElementsByClassName(e):t},I=[],j=[],(x.qsa=me.test(n.querySelectorAll))&&(a(function(e){e.innerHTML=" ",e.querySelectorAll("[selected]").length||j.push("\\["+ne+"*(?:value|"+te+")"),e.querySelectorAll(":checked").length||j.push(":checked")}),a(function(e){var t=n.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("t",""),e.querySelectorAll("[t^='']").length&&j.push("[*^$]="+ne+"*(?:''|\"\")"),e.querySelectorAll(":enabled").length||j.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),j.push(",.*:")})),(x.matchesSelector=me.test(F=A.webkitMatchesSelector||A.mozMatchesSelector||A.oMatchesSelector||A.msMatchesSelector))&&a(function(e){x.disconnectedMatch=F.call(e,"div"),F.call(e,"[s!='']:x"),I.push("!=",oe)}),j=j.length&&RegExp(j.join("|")),I=I.length&&RegExp(I.join("|")),L=me.test(A.contains)||A.compareDocumentPosition?function(e,t){var n=9===e.nodeType?e.documentElement:e,i=t&&t.parentNode;return e===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):e.compareDocumentPosition&&16&e.compareDocumentPosition(i)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},z=A.compareDocumentPosition?function(e,t){if(e===t)return B=!0,0;var i=t.compareDocumentPosition&&e.compareDocumentPosition&&e.compareDocumentPosition(t);return i?1&i||!x.sortDetached&&t.compareDocumentPosition(e)===i?e===n||L(O,e)?-1:t===n||L(O,t)?1:M?ee.call(M,e)-ee.call(M,t):0:4&i?-1:1:e.compareDocumentPosition?-1:1}:function(e,t){var i,r=0,a=e.parentNode,o=t.parentNode,l=[e],u=[t];if(e===t)return B=!0,0;if(!a||!o)return e===n?-1:t===n?1:a?-1:o?1:M?ee.call(M,e)-ee.call(M,t):0;if(a===o)return s(e,t);for(i=e;i=i.parentNode;)l.unshift(i);for(i=t;i=i.parentNode;)u.unshift(i);for(;l[r]===u[r];)r++;return r?s(l[r],u[r]):l[r]===O?-1:u[r]===O?1:0},n):$},n.matches=function(e,t){return n(e,null,null,t)},n.matchesSelector=function(e,t){if((e.ownerDocument||e)!==$&&S(e),t=t.replace(pe,"='$1']"),!(!x.matchesSelector||!E||I&&I.test(t)||j&&j.test(t)))try{var i=F.call(e,t);if(i||x.disconnectedMatch||e.document&&11!==e.document.nodeType)return i}catch(e){}return n(t,$,null,[e]).length>0},n.contains=function(e,t){return(e.ownerDocument||e)!==$&&S(e),L(e,t)},n.attr=function(e,n){(e.ownerDocument||e)!==$&&S(e);var i=D.attrHandle[n.toLowerCase()],r=i&&X.call(D.attrHandle,n.toLowerCase())?i(e,n,!E):t;return r===t?x.attributes||!E?e.getAttribute(n):(r=e.getAttributeNode(n))&&r.specified?r.value:null:r},n.error=function(e){throw Error("Syntax error, unrecognized expression: "+e)},n.uniqueSort=function(e){var t,n=[],i=0,r=0;if(B=!x.detectDuplicates,M=!x.sortStable&&e.slice(0),e.sort(z),B){for(;t=e[r++];)t===e[r]&&(i=n.push(r));for(;i--;)e.splice(n[i],1)}return e},
+w=n.getText=function(e){var t,n="",i=0,r=e.nodeType;if(r){if(1===r||9===r||11===r){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=w(e)}else if(3===r||4===r)return e.nodeValue}else for(;t=e[i];i++)n+=w(t);return n},(D=n.selectors={cacheLength:50,createPseudo:r,match:ge,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(xe,ke),e[3]=(e[4]||e[5]||"").replace(xe,ke),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||n.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&n.error(e[0]),e},PSEUDO:function(e){var n,i=!e[5]&&e[2];return ge.CHILD.test(e[0])?null:(e[3]&&e[4]!==t?e[2]=e[4]:i&&he.test(i)&&(n=c(i,!0))&&(n=i.indexOf(")",i.length-n)-i.length)&&(e[0]=e[0].slice(0,n),e[2]=i.slice(0,n)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(xe,ke).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=Y[e+" "];return t||(t=RegExp("(^|"+ne+")"+e+"("+ne+"|$)"))&&Y(e,function(e){return t.test("string"==typeof e.className&&e.className||typeof e.getAttribute!==K&&e.getAttribute("class")||"")})},ATTR:function(e,t,i){return function(r){var a=n.attr(r,e);return null==a?"!="===t:!t||(a+="","="===t?a===i:"!="===t?a!==i:"^="===t?i&&0===a.indexOf(i):"*="===t?i&&a.indexOf(i)>-1:"$="===t?i&&a.slice(-i.length)===i:"~="===t?(" "+a+" ").indexOf(i)>-1:"|="===t&&(a===i||a.slice(0,i.length+1)===i+"-"))}},CHILD:function(e,t,n,i,r){var a="nth"!==e.slice(0,3),o="last"!==e.slice(-4),s="of-type"===t;return 1===i&&0===r?function(e){return!!e.parentNode}:function(t,n,l){var u,c,d,p,h,f,g=a!==o?"nextSibling":"previousSibling",m=t.parentNode,y=s&&t.nodeName.toLowerCase(),v=!l&&!s;if(m){if(a){for(;g;){for(d=t;d=d[g];)if(s?d.nodeName.toLowerCase()===y:1===d.nodeType)return!1;f=g="only"===e&&!f&&"nextSibling"}return!0}if(f=[o?m.firstChild:m.lastChild],o&&v){for(h=(u=(c=m[H]||(m[H]={}))[e]||[])[0]===P&&u[1],p=u[0]===P&&u[2],d=h&&m.childNodes[h];d=++h&&d&&d[g]||(p=h=0)||f.pop();)if(1===d.nodeType&&++p&&d===t){c[e]=[P,h,p];break}}else if(v&&(u=(t[H]||(t[H]={}))[e])&&u[0]===P)p=u[1];else for(;(d=++h&&d&&d[g]||(p=h=0)||f.pop())&&((s?d.nodeName.toLowerCase()!==y:1!==d.nodeType)||!++p||(v&&((d[H]||(d[H]={}))[e]=[P,p]),d!==t)););return(p-=r)===i||0==p%i&&p/i>=0}}},PSEUDO:function(e,t){var i,a=D.pseudos[e]||D.setFilters[e.toLowerCase()]||n.error("unsupported pseudo: "+e);return a[H]?a(t):a.length>1?(i=[e,e,"",t],D.setFilters.hasOwnProperty(e.toLowerCase())?r(function(e,n){for(var i,r=a(e,t),o=r.length;o--;)i=ee.call(e,r[o]),e[i]=!(n[i]=r[o])}):function(e){return a(e,0,i)}):a}},pseudos:{not:r(function(e){var t=[],n=[],i=T(e.replace(se,"$1"));return i[H]?r(function(e,t,n,r){for(var a,o=i(e,null,r,[]),s=e.length;s--;)(a=o[s])&&(e[s]=!(t[s]=a))}):function(e,r,a){return t[0]=e,i(t,null,a,n),!n.pop()}}),has:r(function(e){return function(t){return n(e,t).length>0}}),contains:r(function(e){return function(t){return(t.textContent||t.innerText||w(t)).indexOf(e)>-1}}),lang:r(function(e){return fe.test(e||"")||n.error("unsupported lang: "+e),e=e.replace(xe,ke).toLowerCase(),function(t){var n;do{if(n=E?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===A},focus:function(e){return e===$.activeElement&&(!$.hasFocus||$.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return!1===e.disabled},disabled:function(e){return!0===e.disabled},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeName>"@"||3===e.nodeType||4===e.nodeType)return!1;return!0},parent:function(e){return!D.pseudos.empty(e)},header:function(e){return be.test(e.nodeName)},input:function(e){return ve.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||t.toLowerCase()===e.type)},first:l(function(){return[0]}),last:l(function(e,t){return[t-1]}),eq:l(function(e,t,n){return[0>n?n+t:n]}),even:l(function(e,t){for(var n=0;t>n;n+=2)e.push(n);return e}),odd:l(function(e,t){for(var n=1;t>n;n+=2)e.push(n);return e}),lt:l(function(e,t,n){for(var i=0>n?n+t:n;--i>=0;)e.push(i);return e}),gt:l(function(e,t,n){for(var i=0>n?n+t:n;t>++i;)e.push(i);return e})}}).pseudos.nth=D.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})D.pseudos[_]=function(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}(_);for(_ in{submit:!0,reset:!0})D.pseudos[_]=function(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}(_);u.prototype=D.filters=D.pseudos,D.setFilters=new u,T=n.compile=function(e,t){var n,i=[],r=[],a=W[e+" "];if(!a){for(t||(t=c(e)),n=t.length;n--;)a=m(t[n]),a[H]?i.push(a):r.push(a);a=W(e,y(r,i))}return a},x.sortStable=H.split("").sort(z).join("")===H,x.detectDuplicates=B,S(),x.sortDetached=a(function(e){return 1&e.compareDocumentPosition($.createElement("div"))}),a(function(e){return e.innerHTML=" ","#"===e.firstChild.getAttribute("href")})||o("type|href|height|width",function(e,n,i){return i?t:e.getAttribute(n,"type"===n.toLowerCase()?1:2)}),x.attributes&&a(function(e){return e.innerHTML=" ",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||o("value",function(e,n,i){return i||"input"!==e.nodeName.toLowerCase()?t:e.defaultValue}),a(function(e){return null==e.getAttribute("disabled")})||o(te,function(e,n,i){var r;return i?t:(r=e.getAttributeNode(n))&&r.specified?r.value:!0===e[n]?n.toLowerCase():null}),ue.find=n,ue.expr=n.selectors,ue.expr[":"]=ue.expr.pseudos,ue.unique=n.uniqueSort,ue.text=n.getText,ue.isXMLDoc=n.isXML,ue.contains=n.contains}(e);var we={};ue.Callbacks=function(e){var n,r,a,o,s,l,u=[],c=!(e="string"==typeof e?we[e]||i(e):ue.extend({},e)).once&&[],d=function(t){for(r=e.memory&&t,a=!0,s=l||0,l=0,o=u.length,n=!0;u&&o>s;s++)if(!1===u[s].apply(t[0],t[1])&&e.stopOnFalse){r=!1;break}n=!1,u&&(c?c.length&&d(c.shift()):r?u=[]:p.disable())},p={add:function(){if(u){var t=u.length;(function t(n){ue.each(n,function(n,i){var r=ue.type(i);"function"===r?e.unique&&p.has(i)||u.push(i):i&&i.length&&"string"!==r&&t(i)})})(arguments),n?o=u.length:r&&(l=t,d(r))}return this},remove:function(){return u&&ue.each(arguments,function(e,t){for(var i;(i=ue.inArray(t,u,i))>-1;)u.splice(i,1),n&&(o>=i&&o--,s>=i&&s--)}),this},has:function(e){return e?ue.inArray(e,u)>-1:!(!u||!u.length)},empty:function(){return u=[],o=0,this},disable:function(){return u=c=r=t,this},disabled:function(){return!u},lock:function(){return c=t,r||p.disable(),this},locked:function(){return!c},fireWith:function(e,t){return!u||a&&!c||(t=t||[],t=[e,t.slice?t.slice():t],n?c.push(t):d(t)),this},fire:function(){return p.fireWith(this,arguments),this},fired:function(){return!!a}};return p},ue.extend({Deferred:function(e){var t=[["resolve","done",ue.Callbacks("once memory"),"resolved"],["reject","fail",ue.Callbacks("once memory"),"rejected"],["notify","progress",ue.Callbacks("memory")]],n="pending",i={state:function(){return n},always:function(){return r.done(arguments).fail(arguments),this},then:function(){var e=arguments;return ue.Deferred(function(n){ue.each(t,function(t,a){var o=a[0],s=ue.isFunction(e[t])&&e[t];r[a[1]](function(){var e=s&&s.apply(this,arguments);e&&ue.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[o+"With"](this===i?n.promise():this,s?[e]:arguments)})}),e=null}).promise()},promise:function(e){return null!=e?ue.extend(e,i):i}},r={};return i.pipe=i.then,ue.each(t,function(e,a){var o=a[2],s=a[3];i[a[1]]=o.add,s&&o.add(function(){n=s},t[1^e][2].disable,t[2][2].lock),r[a[0]]=function(){return r[a[0]+"With"](this===r?i:this,arguments),this},r[a[0]+"With"]=o.fireWith}),i.promise(r),e&&e.call(r,r),r},when:function(e){var t,n,i,r=0,a=re.call(arguments),o=a.length,s=1!==o||e&&ue.isFunction(e.promise)?o:0,l=1===s?e:ue.Deferred(),u=function(e,n,i){return function(r){n[e]=this,i[e]=arguments.length>1?re.call(arguments):r,i===t?l.notifyWith(n,i):--s||l.resolveWith(n,i)}};if(o>1)for(t=Array(o),n=Array(o),i=Array(o);o>r;r++)a[r]&&ue.isFunction(a[r].promise)?a[r].promise().done(u(r,i,a)).fail(l.reject).progress(u(r,n,t)):--s;return s||l.resolveWith(i,a),l.promise()}}),ue.support=function(t){var n,i,r,a,o,s,l,u,c,d=G.createElement("div");if(d.setAttribute("className","t"),d.innerHTML=" a ",n=d.getElementsByTagName("*")||[],!(i=d.getElementsByTagName("a")[0])||!i.style||!n.length)return t;s=(a=G.createElement("select")).appendChild(G.createElement("option")),r=d.getElementsByTagName("input")[0],i.style.cssText="top:1px;float:left;opacity:.5",t.getSetAttribute="t"!==d.className,t.leadingWhitespace=3===d.firstChild.nodeType,t.tbody=!d.getElementsByTagName("tbody").length,t.htmlSerialize=!!d.getElementsByTagName("link").length,t.style=/top/.test(i.getAttribute("style")),t.hrefNormalized="/a"===i.getAttribute("href"),t.opacity=/^0.5/.test(i.style.opacity),t.cssFloat=!!i.style.cssFloat,t.checkOn=!!r.value,t.optSelected=s.selected,t.enctype=!!G.createElement("form").enctype,t.html5Clone="<:nav>"!==G.createElement("nav").cloneNode(!0).outerHTML,t.inlineBlockNeedsLayout=!1,t.shrinkWrapBlocks=!1,t.pixelPosition=!1,t.deleteExpando=!0,t.noCloneEvent=!0,t.reliableMarginRight=!0,t.boxSizingReliable=!0,r.checked=!0,t.noCloneChecked=r.cloneNode(!0).checked,a.disabled=!0,t.optDisabled=!s.disabled;try{delete d.test}catch(e){t.deleteExpando=!1}for(c in(r=G.createElement("input")).setAttribute("value",""),t.input=""===r.getAttribute("value"),r.value="t",r.setAttribute("type","radio"),t.radioValue="t"===r.value,r.setAttribute("checked","t"),r.setAttribute("name","t"),(o=G.createDocumentFragment()).appendChild(r),t.appendChecked=r.checked,t.checkClone=o.cloneNode(!0).cloneNode(!0).lastChild.checked,d.attachEvent&&(d.attachEvent("onclick",function(){t.noCloneEvent=!1}),d.cloneNode(!0).click()),{submit:!0,change:!0,focusin:!0})d.setAttribute(l="on"+c,"t"),t[c+"Bubbles"]=l in e||!1===d.attributes[l].expando;for(c in d.style.backgroundClip="content-box",d.cloneNode(!0).style.backgroundClip="",t.clearCloneStyle="content-box"===d.style.backgroundClip,ue(t))break;return t.ownLast="0"!==c,ue(function(){var n,i,r,a="padding:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;",o=G.getElementsByTagName("body")[0];o&&(n=G.createElement("div"),n.style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px",o.appendChild(n).appendChild(d),d.innerHTML="",r=d.getElementsByTagName("td"),r[0].style.cssText="padding:0;margin:0;border:0;display:none",u=0===r[0].offsetHeight,r[0].style.display="",r[1].style.display="none",t.reliableHiddenOffsets=u&&0===r[0].offsetHeight,d.innerHTML="",d.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",ue.swap(o,null!=o.style.zoom?{zoom:1}:{},function(){t.boxSizing=4===d.offsetWidth}),e.getComputedStyle&&(t.pixelPosition="1%"!==(e.getComputedStyle(d,null)||{}).top,t.boxSizingReliable="4px"===(e.getComputedStyle(d,null)||{width:"4px"}).width,i=d.appendChild(G.createElement("div")),i.style.cssText=d.style.cssText=a,i.style.marginRight=i.style.width="0",d.style.width="1px",t.reliableMarginRight=!parseFloat((e.getComputedStyle(i,null)||{}).marginRight)),typeof d.style.zoom!==U&&(d.innerHTML="",d.style.cssText=a+"width:1px;padding:1px;display:inline;zoom:1",t.inlineBlockNeedsLayout=3===d.offsetWidth,d.style.display="block",d.innerHTML="
",d.firstChild.style.width="5px",t.shrinkWrapBlocks=3!==d.offsetWidth,t.inlineBlockNeedsLayout&&(o.style.zoom=1)),o.removeChild(n),n=d=r=i=null)}),n=a=o=s=i=r=null,t}({});var Ce=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,Te=/([A-Z])/g;ue.extend({cache:{},noData:{applet:!0,embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(e){return!!(e=e.nodeType?ue.cache[e[ue.expando]]:e[ue.expando])&&!s(e)},data:function(e,t,n){return r(e,t,n)},removeData:function(e,t){return a(e,t)},_data:function(e,t,n){return r(e,t,n,!0)},_removeData:function(e,t){return a(e,t,!0)},acceptData:function(e){if(e.nodeType&&1!==e.nodeType&&9!==e.nodeType)return!1;var t=e.nodeName&&ue.noData[e.nodeName.toLowerCase()];return!t||!0!==t&&e.getAttribute("classid")===t}}),ue.fn.extend({data:function(e,n){var i,r,a=null,s=0,l=this[0];if(e===t){if(this.length&&(a=ue.data(l),1===l.nodeType&&!ue._data(l,"parsedAttrs"))){for(i=l.attributes;i.length>s;s++)0===(r=i[s].name).indexOf("data-")&&(r=ue.camelCase(r.slice(5)),o(l,r,a[r]));ue._data(l,"parsedAttrs",!0)}return a}return"object"==typeof e?this.each(function(){ue.data(this,e)}):arguments.length>1?this.each(function(){ue.data(this,e,n)}):l?o(l,e,ue.data(l,e)):null},removeData:function(e){return this.each(function(){ue.removeData(this,e)})}}),ue.extend({queue:function(e,n,i){var r;return e?(n=(n||"fx")+"queue",r=ue._data(e,n),i&&(!r||ue.isArray(i)?r=ue._data(e,n,ue.makeArray(i)):r.push(i)),r||[]):t},dequeue:function(e,t){t=t||"fx";var n=ue.queue(e,t),i=n.length,r=n.shift(),a=ue._queueHooks(e,t);"inprogress"===r&&(r=n.shift(),i--),r&&("fx"===t&&n.unshift("inprogress"),delete a.stop,r.call(e,function(){ue.dequeue(e,t)},a)),!i&&a&&a.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return ue._data(e,n)||ue._data(e,n,{empty:ue.Callbacks("once memory").add(function(){ue._removeData(e,t+"queue"),ue._removeData(e,n)})})}}),ue.fn.extend({queue:function(e,n){var i=2;return"string"!=typeof e&&(n=e,e="fx",i--),i>arguments.length?ue.queue(this[0],e):n===t?this:this.each(function(){var t=ue.queue(this,e,n);ue._queueHooks(this,e),"fx"===e&&"inprogress"!==t[0]&&ue.dequeue(this,e)})},dequeue:function(e){return this.each(function(){ue.dequeue(this,e)})},delay:function(e,t){return e=ue.fx&&ue.fx.speeds[e]||e,t=t||"fx",this.queue(t,function(t,n){var i=setTimeout(t,e);n.stop=function(){clearTimeout(i)}})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,n){var i,r=1,a=ue.Deferred(),o=this,s=this.length,l=function(){--r||a.resolveWith(o,[o])};for("string"!=typeof e&&(n=e,e=t),e=e||"fx";s--;)(i=ue._data(o[s],e+"queueHooks"))&&i.empty&&(r++,i.empty.add(l));return l(),a.promise(n)}});var Ne,Me,Se=/[\t\r\n\f]/g,$e=/\r/g,Ae=/^(?:input|select|textarea|button|object)$/i,Ee=/^(?:a|area)$/i,je=/^(?:checked|selected)$/i,Ie=ue.support.getSetAttribute,Fe=ue.support.input;ue.fn.extend({attr:function(e,t){return ue.access(this,ue.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){ue.removeAttr(this,e)})},prop:function(e,t){return ue.access(this,ue.prop,e,t,arguments.length>1)},removeProp:function(e){return e=ue.propFix[e]||e,this.each(function(){try{this[e]=t,delete this[e]}catch(e){}})},addClass:function(e){var t,n,i,r,a,o=0,s=this.length,l="string"==typeof e&&e;if(ue.isFunction(e))return this.each(function(t){ue(this).addClass(e.call(this,t,this.className))});if(l)for(t=(e||"").match(de)||[];s>o;o++)if(n=this[o],i=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(Se," "):" ")){for(a=0;r=t[a++];)0>i.indexOf(" "+r+" ")&&(i+=r+" ");n.className=ue.trim(i)}return this},removeClass:function(e){var t,n,i,r,a,o=0,s=this.length,l=0===arguments.length||"string"==typeof e&&e;if(ue.isFunction(e))return this.each(function(t){ue(this).removeClass(e.call(this,t,this.className))});if(l)for(t=(e||"").match(de)||[];s>o;o++)if(n=this[o],i=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(Se," "):"")){for(a=0;r=t[a++];)for(;i.indexOf(" "+r+" ")>=0;)i=i.replace(" "+r+" "," ");n.className=e?ue.trim(i):""}return this},toggleClass:function(e,t){var n=typeof e;return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):ue.isFunction(e)?this.each(function(n){ue(this).toggleClass(e.call(this,n,this.className,t),t)}):this.each(function(){if("string"===n)for(var t,i=0,r=ue(this),a=e.match(de)||[];t=a[i++];)r.hasClass(t)?r.removeClass(t):r.addClass(t);else(n===U||"boolean"===n)&&(this.className&&ue._data(this,"__className__",this.className),this.className=this.className||!1===e?"":ue._data(this,"__className__")||"")})},hasClass:function(e){for(var t=" "+e+" ",n=0,i=this.length;i>n;n++)if(1===this[n].nodeType&&(" "+this[n].className+" ").replace(Se," ").indexOf(t)>=0)return!0;return!1},val:function(e){var n,i,r,a=this[0];return arguments.length?(r=ue.isFunction(e),this.each(function(n){var a;1===this.nodeType&&(a=r?e.call(this,n,ue(this).val()):e,null==a?a="":"number"==typeof a?a+="":ue.isArray(a)&&(a=ue.map(a,function(e){return null==e?"":e+""})),(i=ue.valHooks[this.type]||ue.valHooks[this.nodeName.toLowerCase()])&&"set"in i&&i.set(this,a,"value")!==t||(this.value=a))})):a?(i=ue.valHooks[a.type]||ue.valHooks[a.nodeName.toLowerCase()],i&&"get"in i&&(n=i.get(a,"value"))!==t?n:(n=a.value,"string"==typeof n?n.replace($e,""):null==n?"":n)):void 0}}),ue.extend({valHooks:{option:{get:function(e){var t=ue.find.attr(e,"value");return null!=t?t:e.text}},select:{get:function(e){for(var t,n,i=e.options,r=e.selectedIndex,a="select-one"===e.type||0>r,o=a?null:[],s=a?r+1:i.length,l=0>r?s:a?r:0;s>l;l++)if(!(!(n=i[l]).selected&&l!==r||(ue.support.optDisabled?n.disabled:null!==n.getAttribute("disabled"))||n.parentNode.disabled&&ue.nodeName(n.parentNode,"optgroup"))){if(t=ue(n).val(),a)return t;o.push(t)}return o},set:function(e,t){for(var n,i,r=e.options,a=ue.makeArray(t),o=r.length;o--;)i=r[o],(i.selected=ue.inArray(ue(i).val(),a)>=0)&&(n=!0);return n||(e.selectedIndex=-1),a}}},attr:function(e,n,i){var r,a,o=e.nodeType;if(e&&3!==o&&8!==o&&2!==o)return typeof e.getAttribute===U?ue.prop(e,n,i):(1===o&&ue.isXMLDoc(e)||(n=n.toLowerCase(),r=ue.attrHooks[n]||(ue.expr.match.bool.test(n)?Me:Ne)),i===t?r&&"get"in r&&null!==(a=r.get(e,n))?a:(a=ue.find.attr(e,n),null==a?t:a):null!==i?r&&"set"in r&&(a=r.set(e,i,n))!==t?a:(e.setAttribute(n,i+""),i):(ue.removeAttr(e,n),t))},removeAttr:function(e,t){var n,i,r=0,a=t&&t.match(de);if(a&&1===e.nodeType)for(;n=a[r++];)i=ue.propFix[n]||n,ue.expr.match.bool.test(n)?Fe&&Ie||!je.test(n)?e[i]=!1:e[ue.camelCase("default-"+n)]=e[i]=!1:ue.attr(e,n,""),e.removeAttribute(Ie?n:i)},attrHooks:{type:{set:function(e,t){if(!ue.support.radioValue&&"radio"===t&&ue.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},propFix:{for:"htmlFor",class:"className"},prop:function(e,n,i){var r,a,o=e.nodeType;if(e&&3!==o&&8!==o&&2!==o)return(1!==o||!ue.isXMLDoc(e))&&(n=ue.propFix[n]||n,a=ue.propHooks[n]),i!==t?a&&"set"in a&&(r=a.set(e,i,n))!==t?r:e[n]=i:a&&"get"in a&&null!==(r=a.get(e,n))?r:e[n]},propHooks:{tabIndex:{get:function(e){var t=ue.find.attr(e,"tabindex");return t?parseInt(t,10):Ae.test(e.nodeName)||Ee.test(e.nodeName)&&e.href?0:-1}}}}),Me={set:function(e,t,n){return!1===t?ue.removeAttr(e,n):Fe&&Ie||!je.test(n)?e.setAttribute(!Ie&&ue.propFix[n]||n,n):e[ue.camelCase("default-"+n)]=e[n]=!0,n}},ue.each(ue.expr.match.bool.source.match(/\w+/g),function(e,n){var i=ue.expr.attrHandle[n]||ue.find.attr;ue.expr.attrHandle[n]=Fe&&Ie||!je.test(n)?function(e,n,r){var a=ue.expr.attrHandle[n],o=r?t:(ue.expr.attrHandle[n]=t)!=i(e,n,r)?n.toLowerCase():null;return ue.expr.attrHandle[n]=a,o}:function(e,n,i){return i?t:e[ue.camelCase("default-"+n)]?n.toLowerCase():null}}),Fe&&Ie||(ue.attrHooks.value={set:function(e,n,i){return ue.nodeName(e,"input")?(e.defaultValue=n,t):Ne&&Ne.set(e,n,i)}}),Ie||(Ne={set:function(e,n,i){var r=e.getAttributeNode(i);return r||e.setAttributeNode(r=e.ownerDocument.createAttribute(i)),r.value=n+="","value"===i||n===e.getAttribute(i)?n:t}},ue.expr.attrHandle.id=ue.expr.attrHandle.name=ue.expr.attrHandle.coords=function(e,n,i){var r;return i?t:(r=e.getAttributeNode(n))&&""!==r.value?r.value:null},ue.valHooks.button={get:function(e,n){var i=e.getAttributeNode(n);return i&&i.specified?i.value:t},set:Ne.set},ue.attrHooks.contenteditable={set:function(e,t,n){Ne.set(e,""!==t&&t,n)}},ue.each(["width","height"],function(e,n){ue.attrHooks[n]={set:function(e,i){return""===i?(e.setAttribute(n,"auto"),i):t}}})),ue.support.hrefNormalized||ue.each(["href","src"],function(e,t){ue.propHooks[t]={get:function(e){return e.getAttribute(t,4)}}}),ue.support.style||(ue.attrHooks.style={get:function(e){return e.style.cssText||t},set:function(e,t){return e.style.cssText=t+""}}),ue.support.optSelected||(ue.propHooks.selected={get:function(e){var t=e.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null}}),ue.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){ue.propFix[this.toLowerCase()]=this}),ue.support.enctype||(ue.propFix.enctype="encoding"),ue.each(["radio","checkbox"],function(){ue.valHooks[this]={set:function(e,n){return ue.isArray(n)?e.checked=ue.inArray(ue(e).val(),n)>=0:t}},ue.support.checkOn||(ue.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var Le=/^(?:input|select|textarea)$/i,He=/^key/,Oe=/^(?:mouse|contextmenu)|click/,Pe=/^(?:focusinfocus|focusoutblur)$/,Re=/^([^.]*)(?:\.(.+)|)$/;ue.event={global:{},add:function(e,n,i,r,a){var o,s,l,u,c,d,p,h,f,g,m,y=ue._data(e);if(y){for(i.handler&&(u=i,i=u.handler,a=u.selector),i.guid||(i.guid=ue.guid++),(s=y.events)||(s=y.events={}),(d=y.handle)||(d=y.handle=function(e){return typeof ue===U||e&&ue.event.triggered===e.type?t:ue.event.dispatch.apply(d.elem,arguments)},d.elem=e),l=(n=(n||"").match(de)||[""]).length;l--;)o=Re.exec(n[l])||[],f=m=o[1],g=(o[2]||"").split(".").sort(),f&&(c=ue.event.special[f]||{},f=(a?c.delegateType:c.bindType)||f,c=ue.event.special[f]||{},p=ue.extend({type:f,origType:m,data:r,handler:i,guid:i.guid,selector:a,needsContext:a&&ue.expr.match.needsContext.test(a),namespace:g.join(".")},u),(h=s[f])||(h=s[f]=[],h.delegateCount=0,c.setup&&!1!==c.setup.call(e,r,g,d)||(e.addEventListener?e.addEventListener(f,d,!1):e.attachEvent&&e.attachEvent("on"+f,d))),c.add&&(c.add.call(e,p),p.handler.guid||(p.handler.guid=i.guid)),a?h.splice(h.delegateCount++,0,p):h.push(p),ue.event.global[f]=!0);e=null}},remove:function(e,t,n,i,r){var a,o,s,l,u,c,d,p,h,f,g,m=ue.hasData(e)&&ue._data(e);if(m&&(c=m.events)){for(u=(t=(t||"").match(de)||[""]).length;u--;)if(s=Re.exec(t[u])||[],h=g=s[1],f=(s[2]||"").split(".").sort(),h){for(d=ue.event.special[h]||{},p=c[h=(i?d.delegateType:d.bindType)||h]||[],s=s[2]&&RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),l=a=p.length;a--;)o=p[a],!r&&g!==o.origType||n&&n.guid!==o.guid||s&&!s.test(o.namespace)||i&&i!==o.selector&&("**"!==i||!o.selector)||(p.splice(a,1),o.selector&&p.delegateCount--,d.remove&&d.remove.call(e,o));l&&!p.length&&(d.teardown&&!1!==d.teardown.call(e,f,m.handle)||ue.removeEvent(e,h,m.handle),delete c[h])}else for(h in c)ue.event.remove(e,h+t[u],n,i,!0);ue.isEmptyObject(c)&&(delete m.handle,ue._removeData(e,"events"))}},trigger:function(n,i,r,a){var o,s,l,u,c,d,p,h=[r||G],f=se.call(n,"type")?n.type:n,g=se.call(n,"namespace")?n.namespace.split("."):[];if(l=d=r=r||G,3!==r.nodeType&&8!==r.nodeType&&!Pe.test(f+ue.event.triggered)&&(f.indexOf(".")>=0&&(g=f.split("."),f=g.shift(),g.sort()),s=0>f.indexOf(":")&&"on"+f,n=n[ue.expando]?n:new ue.Event(f,"object"==typeof n&&n),n.isTrigger=a?2:3,n.namespace=g.join("."),n.namespace_re=n.namespace?RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,n.result=t,n.target||(n.target=r),i=null==i?[n]:ue.makeArray(i,[n]),c=ue.event.special[f]||{},a||!c.trigger||!1!==c.trigger.apply(r,i))){if(!a&&!c.noBubble&&!ue.isWindow(r)){for(u=c.delegateType||f,Pe.test(u+f)||(l=l.parentNode);l;l=l.parentNode)h.push(l),d=l;d===(r.ownerDocument||G)&&h.push(d.defaultView||d.parentWindow||e)}for(p=0;(l=h[p++])&&!n.isPropagationStopped();)n.type=p>1?u:c.bindType||f,(o=(ue._data(l,"events")||{})[n.type]&&ue._data(l,"handle"))&&o.apply(l,i),(o=s&&l[s])&&ue.acceptData(l)&&o.apply&&!1===o.apply(l,i)&&n.preventDefault();if(n.type=f,!a&&!n.isDefaultPrevented()&&(!c._default||!1===c._default.apply(h.pop(),i))&&ue.acceptData(r)&&s&&r[f]&&!ue.isWindow(r)){(d=r[s])&&(r[s]=null),ue.event.triggered=f;try{r[f]()}catch(e){}ue.event.triggered=t,d&&(r[s]=d)}return n.result}},dispatch:function(e){e=ue.event.fix(e);var n,i,r,a,o,s=[],l=re.call(arguments),u=(ue._data(this,"events")||{})[e.type]||[],c=ue.event.special[e.type]||{};if(l[0]=e,e.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,e)){for(s=ue.event.handlers.call(this,e,u),n=0;(a=s[n++])&&!e.isPropagationStopped();)for(e.currentTarget=a.elem,o=0;(r=a.handlers[o++])&&!e.isImmediatePropagationStopped();)(!e.namespace_re||e.namespace_re.test(r.namespace))&&(e.handleObj=r,e.data=r.data,(i=((ue.event.special[r.origType]||{}).handle||r.handler).apply(a.elem,l))!==t&&!1===(e.result=i)&&(e.preventDefault(),e.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,e),e.result}},handlers:function(e,n){var i,r,a,o,s=[],l=n.delegateCount,u=e.target;if(l&&u.nodeType&&(!e.button||"click"!==e.type))for(;u!=this;u=u.parentNode||this)if(1===u.nodeType&&(!0!==u.disabled||"click"!==e.type)){for(a=[],o=0;l>o;o++)r=n[o],i=r.selector+" ",a[i]===t&&(a[i]=r.needsContext?ue(i,this).index(u)>=0:ue.find(i,this,null,[u]).length),a[i]&&a.push(r);a.length&&s.push({elem:u,handlers:a})}return n.length>l&&s.push({elem:this,handlers:n.slice(l)}),s},fix:function(e){if(e[ue.expando])return e;var t,n,i,r=e.type,a=e,o=this.fixHooks[r];for(o||(this.fixHooks[r]=o=Oe.test(r)?this.mouseHooks:He.test(r)?this.keyHooks:{}),i=o.props?this.props.concat(o.props):this.props,e=new ue.Event(a),t=i.length;t--;)n=i[t],e[n]=a[n];return e.target||(e.target=a.srcElement||G),3===e.target.nodeType&&(e.target=e.target.parentNode),e.metaKey=!!e.metaKey,o.filter?o.filter(e,a):e},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,n){var i,r,a,o=n.button,s=n.fromElement;return null==e.pageX&&null!=n.clientX&&(r=e.target.ownerDocument||G,a=r.documentElement,i=r.body,e.pageX=n.clientX+(a&&a.scrollLeft||i&&i.scrollLeft||0)-(a&&a.clientLeft||i&&i.clientLeft||0),e.pageY=n.clientY+(a&&a.scrollTop||i&&i.scrollTop||0)-(a&&a.clientTop||i&&i.clientTop||0)),!e.relatedTarget&&s&&(e.relatedTarget=s===e.target?n.toElement:s),e.which||o===t||(e.which=1&o?1:2&o?3:4&o?2:0),e}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==c()&&this.focus)try{return this.focus(),!1}catch(e){}},delegateType:"focusin"},blur:{trigger:function(){return this===c()&&this.blur?(this.blur(),!1):t},delegateType:"focusout"},click:{trigger:function(){return ue.nodeName(this,"input")&&"checkbox"===this.type&&this.click?(this.click(),!1):t},_default:function(e){return ue.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){e.result!==t&&(e.originalEvent.returnValue=e.result)}}},simulate:function(e,t,n,i){var r=ue.extend(new ue.Event,n,{type:e,isSimulated:!0,originalEvent:{}});i?ue.event.trigger(r,null,t):ue.event.dispatch.call(t,r),r.isDefaultPrevented()&&n.preventDefault()}},ue.removeEvent=G.removeEventListener?function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n,!1)}:function(e,t,n){var i="on"+t;e.detachEvent&&(typeof e[i]===U&&(e[i]=null),e.detachEvent(i,n))},ue.Event=function(e,n){return this instanceof ue.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||!1===e.returnValue||e.getPreventDefault&&e.getPreventDefault()?l:u):this.type=e,n&&ue.extend(this,n),this.timeStamp=e&&e.timeStamp||ue.now(),this[ue.expando]=!0,t):new ue.Event(e,n)},ue.Event.prototype={isDefaultPrevented:u,isPropagationStopped:u,isImmediatePropagationStopped:u,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=l,e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=l,e&&(e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=l,this.stopPropagation()}},ue.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(e,t){ue.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,i=this,r=e.relatedTarget,a=e.handleObj;return(!r||r!==i&&!ue.contains(i,r))&&(e.type=a.origType,n=a.handler.apply(this,arguments),e.type=t),n}}}),ue.support.submitBubbles||(ue.event.special.submit={setup:function(){return!ue.nodeName(this,"form")&&(ue.event.add(this,"click._submit keypress._submit",function(e){var n=e.target,i=ue.nodeName(n,"input")||ue.nodeName(n,"button")?n.form:t;i&&!ue._data(i,"submitBubbles")&&(ue.event.add(i,"submit._submit",function(e){e._submit_bubble=!0}),ue._data(i,"submitBubbles",!0))}),t)},postDispatch:function(e){e._submit_bubble&&(delete e._submit_bubble,this.parentNode&&!e.isTrigger&&ue.event.simulate("submit",this.parentNode,e,!0))},teardown:function(){return!ue.nodeName(this,"form")&&(ue.event.remove(this,"._submit"),t)}}),ue.support.changeBubbles||(ue.event.special.change={setup:function(){return Le.test(this.nodeName)?(("checkbox"===this.type||"radio"===this.type)&&(ue.event.add(this,"propertychange._change",function(e){"checked"===e.originalEvent.propertyName&&(this._just_changed=!0)}),ue.event.add(this,"click._change",function(e){this._just_changed&&!e.isTrigger&&(this._just_changed=!1),ue.event.simulate("change",this,e,!0)})),!1):(ue.event.add(this,"beforeactivate._change",function(e){var t=e.target;Le.test(t.nodeName)&&!ue._data(t,"changeBubbles")&&(ue.event.add(t,"change._change",function(e){!this.parentNode||e.isSimulated||e.isTrigger||ue.event.simulate("change",this.parentNode,e,!0)}),ue._data(t,"changeBubbles",!0))}),t)},handle:function(e){var n=e.target;return this!==n||e.isSimulated||e.isTrigger||"radio"!==n.type&&"checkbox"!==n.type?e.handleObj.handler.apply(this,arguments):t},teardown:function(){return ue.event.remove(this,"._change"),!Le.test(this.nodeName)}}),ue.support.focusinBubbles||ue.each({focus:"focusin",blur:"focusout"},function(e,t){var n=0,i=function(e){ue.event.simulate(t,e.target,ue.event.fix(e),!0)};ue.event.special[t]={setup:function(){0==n++&&G.addEventListener(e,i,!0)},teardown:function(){0==--n&&G.removeEventListener(e,i,!0)}}}),ue.fn.extend({on:function(e,n,i,r,a){var o,s;if("object"==typeof e){for(o in"string"!=typeof n&&(i=i||n,n=t),e)this.on(o,n,i,e[o],a);return this}if(null==i&&null==r?(r=n,i=n=t):null==r&&("string"==typeof n?(r=i,i=t):(r=i,i=n,n=t)),!1===r)r=u;else if(!r)return this;return 1===a&&(s=r,r=function(e){return ue().off(e),s.apply(this,arguments)},r.guid=s.guid||(s.guid=ue.guid++)),this.each(function(){ue.event.add(this,e,r,i,n)})},one:function(e,t,n,i){return this.on(e,t,n,i,1)},off:function(e,n,i){var r,a;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,ue(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this
+;if("object"==typeof e){for(a in e)this.off(a,n,e[a]);return this}return(!1===n||"function"==typeof n)&&(i=n,n=t),!1===i&&(i=u),this.each(function(){ue.event.remove(this,e,i,n)})},trigger:function(e,t){return this.each(function(){ue.event.trigger(e,t,this)})},triggerHandler:function(e,n){var i=this[0];return i?ue.event.trigger(e,n,i,!0):t}});var Ye=/^.[^:#\[\.,]*$/,qe=/^(?:parents|prev(?:Until|All))/,We=ue.expr.match.needsContext,Be={children:!0,contents:!0,next:!0,prev:!0};ue.fn.extend({find:function(e){var t,n=[],i=this,r=i.length;if("string"!=typeof e)return this.pushStack(ue(e).filter(function(){for(t=0;r>t;t++)if(ue.contains(i[t],this))return!0}));for(t=0;r>t;t++)ue.find(e,i[t],n);return n=this.pushStack(r>1?ue.unique(n):n),n.selector=this.selector?this.selector+" "+e:e,n},has:function(e){var t,n=ue(e,this),i=n.length;return this.filter(function(){for(t=0;i>t;t++)if(ue.contains(this,n[t]))return!0})},not:function(e){return this.pushStack(p(this,e||[],!0))},filter:function(e){return this.pushStack(p(this,e||[],!1))},is:function(e){return!!p(this,"string"==typeof e&&We.test(e)?ue(e):e||[],!1).length},closest:function(e,t){for(var n,i=0,r=this.length,a=[],o=We.test(e)||"string"!=typeof e?ue(e,t||this.context):0;r>i;i++)for(n=this[i];n&&n!==t;n=n.parentNode)if(11>n.nodeType&&(o?o.index(n)>-1:1===n.nodeType&&ue.find.matchesSelector(n,e))){n=a.push(n);break}return this.pushStack(a.length>1?ue.unique(a):a)},index:function(e){return e?"string"==typeof e?ue.inArray(this[0],ue(e)):ue.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){var n="string"==typeof e?ue(e,t):ue.makeArray(e&&e.nodeType?[e]:e),i=ue.merge(this.get(),n);return this.pushStack(ue.unique(i))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),ue.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return ue.dir(e,"parentNode")},parentsUntil:function(e,t,n){return ue.dir(e,"parentNode",n)},next:function(e){return d(e,"nextSibling")},prev:function(e){return d(e,"previousSibling")},nextAll:function(e){return ue.dir(e,"nextSibling")},prevAll:function(e){return ue.dir(e,"previousSibling")},nextUntil:function(e,t,n){return ue.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return ue.dir(e,"previousSibling",n)},siblings:function(e){return ue.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return ue.sibling(e.firstChild)},contents:function(e){return ue.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:ue.merge([],e.childNodes)}},function(e,t){ue.fn[e]=function(n,i){var r=ue.map(this,t,n);return"Until"!==e.slice(-5)&&(i=n),i&&"string"==typeof i&&(r=ue.filter(i,r)),this.length>1&&(Be[e]||(r=ue.unique(r)),qe.test(e)&&(r=r.reverse())),this.pushStack(r)}}),ue.extend({filter:function(e,t,n){var i=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===i.nodeType?ue.find.matchesSelector(i,e)?[i]:[]:ue.find.matches(e,ue.grep(t,function(e){return 1===e.nodeType}))},dir:function(e,n,i){for(var r=[],a=e[n];a&&9!==a.nodeType&&(i===t||1!==a.nodeType||!ue(a).is(i));)1===a.nodeType&&r.push(a),a=a[n];return r},sibling:function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}});var ze="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",Ke=/ jQuery\d+="(?:null|\d+)"/g,Ue=RegExp("<(?:"+ze+")[\\s/>]","i"),Xe=/^\s+/,Ge=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,Ve=/<([\w:]+)/,Je=/\s*$/g,at={option:[1,""," "],legend:[1,""," "],area:[1,""," "],param:[1,""," "],thead:[1,""],tr:[2,""],col:[2,""],td:[3,""],_default:ue.support.htmlSerialize?[0,"",""]:[1,"X","
"]},ot=h(G).appendChild(G.createElement("div"));at.optgroup=at.option,at.tbody=at.tfoot=at.colgroup=at.caption=at.thead,at.th=at.td,ue.fn.extend({text:function(e){return ue.access(this,function(e){return e===t?ue.text(this):this.empty().append((this[0]&&this[0].ownerDocument||G).createTextNode(e))},null,e,arguments.length)},append:function(){return this.domManip(arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||f(this,e).appendChild(e)})},prepend:function(){return this.domManip(arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=f(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},remove:function(e,t){for(var n,i=e?ue.filter(e,this):this,r=0;null!=(n=i[r]);r++)t||1!==n.nodeType||ue.cleanData(_(n)),n.parentNode&&(t&&ue.contains(n.ownerDocument,n)&&y(_(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){for(var e,t=0;null!=(e=this[t]);t++){for(1===e.nodeType&&ue.cleanData(_(e,!1));e.firstChild;)e.removeChild(e.firstChild);e.options&&ue.nodeName(e,"select")&&(e.options.length=0)}return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return ue.clone(this,e,t)})},html:function(e){return ue.access(this,function(e){var n=this[0]||{},i=0,r=this.length;if(e===t)return 1===n.nodeType?n.innerHTML.replace(Ke,""):t;if(!("string"!=typeof e||Ze.test(e)||!ue.support.htmlSerialize&&Ue.test(e)||!ue.support.leadingWhitespace&&Xe.test(e)||at[(Ve.exec(e)||["",""])[1].toLowerCase()])){e=e.replace(Ge,"<$1>$2>");try{for(;r>i;i++)1===(n=this[i]||{}).nodeType&&(ue.cleanData(_(n,!1)),n.innerHTML=e);n=0}catch(e){}}n&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=ue.map(this,function(e){return[e.nextSibling,e.parentNode]}),t=0;return this.domManip(arguments,function(n){var i=e[t++],r=e[t++];r&&(i&&i.parentNode!==r&&(i=this.nextSibling),ue(this).remove(),r.insertBefore(n,i))},!0),t?this:this.remove()},detach:function(e){return this.remove(e,!0)},domManip:function(e,t,n){e=ne.apply([],e);var i,r,a,o,s,l,u=0,c=this.length,d=this,p=c-1,h=e[0],f=ue.isFunction(h);if(f||!(1>=c||"string"!=typeof h||ue.support.checkClone)&&tt.test(h))return this.each(function(i){var r=d.eq(i);f&&(e[0]=h.call(this,i,r.html())),r.domManip(e,t,n)});if(c&&(l=ue.buildFragment(e,this[0].ownerDocument,!1,!n&&this),i=l.firstChild,1===l.childNodes.length&&(l=i),i)){for(a=(o=ue.map(_(l,"script"),g)).length;c>u;u++)r=l,u!==p&&(r=ue.clone(r,!0,!0),a&&ue.merge(o,_(r,"script"))),t.call(this[u],r,u);if(a)for(s=o[o.length-1].ownerDocument,ue.map(o,m),u=0;a>u;u++)r=o[u],nt.test(r.type||"")&&!ue._data(r,"globalEval")&&ue.contains(s,r)&&(r.src?ue._evalUrl(r.src):ue.globalEval((r.text||r.textContent||r.innerHTML||"").replace(rt,"")));l=i=null}return this}}),ue.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){ue.fn[e]=function(e){for(var n,i=0,r=[],a=ue(e),o=a.length-1;o>=i;i++)n=i===o?this:this.clone(!0),ue(a[i])[t](n),ie.apply(r,n.get());return this.pushStack(r)}}),ue.extend({clone:function(e,t,n){var i,r,a,o,s,l=ue.contains(e.ownerDocument,e);if(ue.support.html5Clone||ue.isXMLDoc(e)||!Ue.test("<"+e.nodeName+">")?a=e.cloneNode(!0):(ot.innerHTML=e.outerHTML,ot.removeChild(a=ot.firstChild)),!(ue.support.noCloneEvent&&ue.support.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||ue.isXMLDoc(e)))for(i=_(a),s=_(e),o=0;null!=(r=s[o]);++o)i[o]&&b(r,i[o]);if(t)if(n)for(s=s||_(e),i=i||_(a),o=0;null!=(r=s[o]);o++)v(r,i[o]);else v(e,a);return(i=_(a,"script")).length>0&&y(i,!l&&_(e,"script")),i=s=r=null,a},buildFragment:function(e,t,n,i){for(var r,a,o,s,l,u,c,d=e.length,p=h(t),f=[],g=0;d>g;g++)if((a=e[g])||0===a)if("object"===ue.type(a))ue.merge(f,a.nodeType?[a]:a);else if(Qe.test(a)){for(s=s||p.appendChild(t.createElement("div")),l=(Ve.exec(a)||["",""])[1].toLowerCase(),c=at[l]||at._default,s.innerHTML=c[1]+a.replace(Ge,"<$1>$2>")+c[2],r=c[0];r--;)s=s.lastChild;if(!ue.support.leadingWhitespace&&Xe.test(a)&&f.push(t.createTextNode(Xe.exec(a)[0])),!ue.support.tbody)for(r=(a="table"!==l||Je.test(a)?""!==c[1]||Je.test(a)?0:s:s.firstChild)&&a.childNodes.length;r--;)ue.nodeName(u=a.childNodes[r],"tbody")&&!u.childNodes.length&&a.removeChild(u);for(ue.merge(f,s.childNodes),s.textContent="";s.firstChild;)s.removeChild(s.firstChild);s=p.lastChild}else f.push(t.createTextNode(a));for(s&&p.removeChild(s),ue.support.appendChecked||ue.grep(_(f,"input"),x),g=0;a=f[g++];)if((!i||-1===ue.inArray(a,i))&&(o=ue.contains(a.ownerDocument,a),s=_(p.appendChild(a),"script"),o&&y(s),n))for(r=0;a=s[r++];)nt.test(a.type||"")&&n.push(a);return s=null,p},cleanData:function(e,t){for(var n,i,r,a,o=0,s=ue.expando,l=ue.cache,u=ue.support.deleteExpando,c=ue.event.special;null!=(n=e[o]);o++)if((t||ue.acceptData(n))&&(r=n[s],a=r&&l[r])){if(a.events)for(i in a.events)c[i]?ue.event.remove(n,i):ue.removeEvent(n,i,a.handle);l[r]&&(delete l[r],u?delete n[s]:typeof n.removeAttribute!==U?n.removeAttribute(s):n[s]=null,ee.push(r))}},_evalUrl:function(e){return ue.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,throws:!0})}}),ue.fn.extend({wrapAll:function(e){if(ue.isFunction(e))return this.each(function(t){ue(this).wrapAll(e.call(this,t))});if(this[0]){var t=ue(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstChild&&1===e.firstChild.nodeType;)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(e){return ue.isFunction(e)?this.each(function(t){ue(this).wrapInner(e.call(this,t))}):this.each(function(){var t=ue(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=ue.isFunction(e);return this.each(function(n){ue(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){ue.nodeName(this,"body")||ue(this).replaceWith(this.childNodes)}).end()}});var st,lt,ut,ct=/alpha\([^)]*\)/i,dt=/opacity\s*=\s*([^)]*)/,pt=/^(top|right|bottom|left)$/,ht=/^(none|table(?!-c[ea]).+)/,ft=/^margin/,gt=RegExp("^("+ce+")(.*)$","i"),mt=RegExp("^("+ce+")(?!px)[a-z%]+$","i"),yt=RegExp("^([+-])=("+ce+")","i"),vt={BODY:"block"},bt={position:"absolute",visibility:"hidden",display:"block"},_t={letterSpacing:0,fontWeight:400},xt=["Top","Right","Bottom","Left"],kt=["Webkit","O","Moz","ms"];ue.fn.extend({css:function(e,n){return ue.access(this,function(e,n,i){var r,a,o={},s=0;if(ue.isArray(n)){for(a=lt(e),r=n.length;r>s;s++)o[n[s]]=ue.css(e,n[s],!1,a);return o}return i!==t?ue.style(e,n,i):ue.css(e,n)},e,n,arguments.length>1)},show:function(){return w(this,!0)},hide:function(){return w(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){D(this)?ue(this).show():ue(this).hide()})}}),ue.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=ut(e,"opacity");return""===n?"1":n}}}},cssNumber:{columnCount:!0,fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:ue.support.cssFloat?"cssFloat":"styleFloat"},style:function(e,n,i,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var a,o,s,l=ue.camelCase(n),u=e.style;if(n=ue.cssProps[l]||(ue.cssProps[l]=k(u,l)),s=ue.cssHooks[n]||ue.cssHooks[l],i===t)return s&&"get"in s&&(a=s.get(e,!1,r))!==t?a:u[n];if("string"==(o=typeof i)&&(a=yt.exec(i))&&(i=(a[1]+1)*a[2]+parseFloat(ue.css(e,n)),o="number"),!(null==i||"number"===o&&isNaN(i)||("number"!==o||ue.cssNumber[l]||(i+="px"),ue.support.clearCloneStyle||""!==i||0!==n.indexOf("background")||(u[n]="inherit"),s&&"set"in s&&(i=s.set(e,i,r))===t)))try{u[n]=i}catch(e){}}},css:function(e,n,i,r){var a,o,s,l=ue.camelCase(n);return n=ue.cssProps[l]||(ue.cssProps[l]=k(e.style,l)),(s=ue.cssHooks[n]||ue.cssHooks[l])&&"get"in s&&(o=s.get(e,!0,i)),o===t&&(o=ut(e,n,r)),"normal"===o&&n in _t&&(o=_t[n]),""===i||i?(a=parseFloat(o),!0===i||ue.isNumeric(a)?a||0:o):o}}),e.getComputedStyle?(lt=function(t){return e.getComputedStyle(t,null)},ut=function(e,n,i){var r,a,o,s=i||lt(e),l=s?s.getPropertyValue(n)||s[n]:t,u=e.style;return s&&(""!==l||ue.contains(e.ownerDocument,e)||(l=ue.style(e,n)),mt.test(l)&&ft.test(n)&&(r=u.width,a=u.minWidth,o=u.maxWidth,u.minWidth=u.maxWidth=u.width=l,l=s.width,u.width=r,u.minWidth=a,u.maxWidth=o)),l}):G.documentElement.currentStyle&&(lt=function(e){return e.currentStyle},ut=function(e,n,i){var r,a,o,s=i||lt(e),l=s?s[n]:t,u=e.style;return null==l&&u&&u[n]&&(l=u[n]),mt.test(l)&&!pt.test(n)&&(r=u.left,a=e.runtimeStyle,(o=a&&a.left)&&(a.left=e.currentStyle.left),u.left="fontSize"===n?"1em":l,l=u.pixelLeft+"px",u.left=r,o&&(a.left=o)),""===l?"auto":l}),ue.each(["height","width"],function(e,n){ue.cssHooks[n]={get:function(e,i,r){return i?0===e.offsetWidth&&ht.test(ue.css(e,"display"))?ue.swap(e,bt,function(){return N(e,n,r)}):N(e,n,r):t},set:function(e,t,i){var r=i&<(e);return C(e,t,i?T(e,n,i,ue.support.boxSizing&&"border-box"===ue.css(e,"boxSizing",!1,r),r):0)}}}),ue.support.opacity||(ue.cssHooks.opacity={get:function(e,t){return dt.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var n=e.style,i=e.currentStyle,r=ue.isNumeric(t)?"alpha(opacity="+100*t+")":"",a=i&&i.filter||n.filter||"";n.zoom=1,(t>=1||""===t)&&""===ue.trim(a.replace(ct,""))&&n.removeAttribute&&(n.removeAttribute("filter"),""===t||i&&!i.filter)||(n.filter=ct.test(a)?a.replace(ct,r):a+" "+r)}}),ue(function(){ue.support.reliableMarginRight||(ue.cssHooks.marginRight={get:function(e,n){return n?ue.swap(e,{display:"inline-block"},ut,[e,"marginRight"]):t}}),!ue.support.pixelPosition&&ue.fn.position&&ue.each(["top","left"],function(e,n){ue.cssHooks[n]={get:function(e,i){return i?(i=ut(e,n),mt.test(i)?ue(e).position()[n]+"px":i):t}}})}),ue.expr&&ue.expr.filters&&(ue.expr.filters.hidden=function(e){return 0>=e.offsetWidth&&0>=e.offsetHeight||!ue.support.reliableHiddenOffsets&&"none"===(e.style&&e.style.display||ue.css(e,"display"))},ue.expr.filters.visible=function(e){return!ue.expr.filters.hidden(e)}),ue.each({margin:"",padding:"",border:"Width"},function(e,t){ue.cssHooks[e+t]={expand:function(n){for(var i=0,r={},a="string"==typeof n?n.split(" "):[n];4>i;i++)r[e+xt[i]+t]=a[i]||a[i-2]||a[0];return r}},ft.test(e)||(ue.cssHooks[e+t].set=C)});var Dt=/%20/g,wt=/\[\]$/,Ct=/\r?\n/g,Tt=/^(?:submit|button|image|reset|file)$/i,Nt=/^(?:input|select|textarea|keygen)/i;ue.fn.extend({serialize:function(){return ue.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=ue.prop(this,"elements");return e?ue.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!ue(this).is(":disabled")&&Nt.test(this.nodeName)&&!Tt.test(e)&&(this.checked||!et.test(e))}).map(function(e,t){var n=ue(this).val();return null==n?null:ue.isArray(n)?ue.map(n,function(e){return{name:t.name,value:e.replace(Ct,"\r\n")}}):{name:t.name,value:n.replace(Ct,"\r\n")}}).get()}}),ue.param=function(e,n){var i,r=[],a=function(e,t){t=ue.isFunction(t)?t():null==t?"":t,r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(n===t&&(n=ue.ajaxSettings&&ue.ajaxSettings.traditional),ue.isArray(e)||e.jquery&&!ue.isPlainObject(e))ue.each(e,function(){a(this.name,this.value)});else for(i in e)$(i,e[i],n,a);return r.join("&").replace(Dt,"+")},ue.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(e,t){ue.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),ue.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)},bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,i){return this.on(t,e,n,i)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}});var Mt,St,$t=ue.now(),At=/\?/,Et=/#.*$/,jt=/([?&])_=[^&]*/,It=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Ft=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Lt=/^(?:GET|HEAD)$/,Ht=/^\/\//,Ot=/^([\w.+-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,Pt=ue.fn.load,Rt={},Yt={},qt="*/".concat("*");try{St=X.href}catch(e){(St=G.createElement("a")).href="",St=St.href}Mt=Ot.exec(St.toLowerCase())||[],ue.fn.load=function(e,n,i){if("string"!=typeof e&&Pt)return Pt.apply(this,arguments);var r,a,o,s=this,l=e.indexOf(" ");return l>=0&&(r=e.slice(l,e.length),e=e.slice(0,l)),ue.isFunction(n)?(i=n,n=t):n&&"object"==typeof n&&(o="POST"),s.length>0&&ue.ajax({url:e,type:o,dataType:"html",data:n}).done(function(e){a=arguments,s.html(r?ue("").append(ue.parseHTML(e)).find(r):e)}).complete(i&&function(e,t){s.each(i,a||[e.responseText,t,e])}),this},ue.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){ue.fn[t]=function(e){return this.on(t,e)}}),ue.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:St,type:"GET",isLocal:Ft.test(Mt[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":qt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":ue.parseJSON,"text xml":ue.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?j(j(e,ue.ajaxSettings),t):j(ue.ajaxSettings,e)},ajaxPrefilter:A(Rt),ajaxTransport:A(Yt),ajax:function(e,n){function i(e,n,i,r){var a,d,v,b,x,D=n;2!==_&&(_=2,l&&clearTimeout(l),c=t,s=r||"",k.readyState=e>0?4:0,a=e>=200&&300>e||304===e,i&&(b=I(p,k,i)),b=F(p,b,k,a),a?(p.ifModified&&((x=k.getResponseHeader("Last-Modified"))&&(ue.lastModified[o]=x),(x=k.getResponseHeader("etag"))&&(ue.etag[o]=x)),204===e||"HEAD"===p.type?D="nocontent":304===e?D="notmodified":(D=b.state,d=b.data,v=b.error,a=!v)):(v=D,(e||!D)&&(D="error",0>e&&(e=0))),k.status=e,k.statusText=(n||D)+"",a?g.resolveWith(h,[d,D,k]):g.rejectWith(h,[k,D,v]),k.statusCode(y),y=t,u&&f.trigger(a?"ajaxSuccess":"ajaxError",[k,p,a?d:v]),m.fireWith(h,[k,D]),u&&(f.trigger("ajaxComplete",[k,p]),--ue.active||ue.event.trigger("ajaxStop")))}"object"==typeof e&&(n=e,e=t),n=n||{};var r,a,o,s,l,u,c,d,p=ue.ajaxSetup({},n),h=p.context||p,f=p.context&&(h.nodeType||h.jquery)?ue(h):ue.event,g=ue.Deferred(),m=ue.Callbacks("once memory"),y=p.statusCode||{},v={},b={},_=0,x="canceled",k={readyState:0,getResponseHeader:function(e){var t;if(2===_){if(!d)for(d={};t=It.exec(s);)d[t[1].toLowerCase()]=t[2];t=d[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===_?s:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return _||(e=b[n]=b[n]||e,v[e]=t),this},overrideMimeType:function(e){return _||(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(2>_)for(t in e)y[t]=[y[t],e[t]];else k.always(e[k.status]);return this},abort:function(e){var t=e||x;return c&&c.abort(t),i(0,t),this}};if(g.promise(k).complete=m.add,k.success=k.done,k.error=k.fail,p.url=((e||p.url||St)+"").replace(Et,"").replace(Ht,Mt[1]+"//"),p.type=n.method||n.type||p.method||p.type,p.dataTypes=ue.trim(p.dataType||"*").toLowerCase().match(de)||[""],null==p.crossDomain&&(r=Ot.exec(p.url.toLowerCase()),p.crossDomain=!(!r||r[1]===Mt[1]&&r[2]===Mt[2]&&(r[3]||("http:"===r[1]?"80":"443"))===(Mt[3]||("http:"===Mt[1]?"80":"443")))),p.data&&p.processData&&"string"!=typeof p.data&&(p.data=ue.param(p.data,p.traditional)),E(Rt,p,n,k),2===_)return k;for(a in(u=p.global)&&0==ue.active++&&ue.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Lt.test(p.type),o=p.url,p.hasContent||(p.data&&(o=p.url+=(At.test(o)?"&":"?")+p.data,delete p.data),!1===p.cache&&(p.url=jt.test(o)?o.replace(jt,"$1_="+$t++):o+(At.test(o)?"&":"?")+"_="+$t++)),p.ifModified&&(ue.lastModified[o]&&k.setRequestHeader("If-Modified-Since",ue.lastModified[o]),ue.etag[o]&&k.setRequestHeader("If-None-Match",ue.etag[o])),(p.data&&p.hasContent&&!1!==p.contentType||n.contentType)&&k.setRequestHeader("Content-Type",p.contentType),k.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+qt+"; q=0.01":""):p.accepts["*"]),p.headers)k.setRequestHeader(a,p.headers[a]);if(p.beforeSend&&(!1===p.beforeSend.call(h,k,p)||2===_))return k.abort();for(a in x="abort",{success:1,error:1,complete:1})k[a](p[a]);if(c=E(Yt,p,n,k)){k.readyState=1,u&&f.trigger("ajaxSend",[k,p]),p.async&&p.timeout>0&&(l=setTimeout(function(){k.abort("timeout")},p.timeout));try{_=1,c.send(v,i)}catch(e){if(!(2>_))throw e;i(-1,e)}}else i(-1,"No Transport");return k},getJSON:function(e,t,n){return ue.get(e,t,n,"json")},getScript:function(e,n){return ue.get(e,t,n,"script")}}),ue.each(["get","post"],function(e,n){ue[n]=function(e,i,r,a){return ue.isFunction(i)&&(a=a||r,r=i,i=t),ue.ajax({url:e,type:n,dataType:a,data:i,success:r})}}),ue.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(e){return ue.globalEval(e),e}}}),ue.ajaxPrefilter("script",function(e){e.cache===t&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),ue.ajaxTransport("script",function(e){if(e.crossDomain){var n,i=G.head||ue("head")[0]||G.documentElement;return{send:function(t,r){(n=G.createElement("script")).async=!0,e.scriptCharset&&(n.charset=e.scriptCharset),n.src=e.url,n.onload=n.onreadystatechange=function(e,t){(t||!n.readyState||/loaded|complete/.test(n.readyState))&&(n.onload=n.onreadystatechange=null,n.parentNode&&n.parentNode.removeChild(n),n=null,t||r(200,"success"))},i.insertBefore(n,i.firstChild)},abort:function(){n&&n.onload(t,!0)}}}});var Wt=[],Bt=/(=)\?(?=&|$)|\?\?/;ue.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Wt.pop()||ue.expando+"_"+$t++;return this[e]=!0,e}}),ue.ajaxPrefilter("json jsonp",function(n,i,r){var a,o,s,l=!1!==n.jsonp&&(Bt.test(n.url)?"url":"string"==typeof n.data&&!(n.contentType||"").indexOf("application/x-www-form-urlencoded")&&Bt.test(n.data)&&"data");return l||"jsonp"===n.dataTypes[0]?(a=n.jsonpCallback=ue.isFunction(n.jsonpCallback)?n.jsonpCallback():n.jsonpCallback,l?n[l]=n[l].replace(Bt,"$1"+a):!1!==n.jsonp&&(n.url+=(At.test(n.url)?"&":"?")+n.jsonp+"="+a),n.converters["script json"]=function(){return s||ue.error(a+" was not called"),s[0]},n.dataTypes[0]="json",o=e[a],e[a]=function(){s=arguments},r.always(function(){e[a]=o,n[a]&&(n.jsonpCallback=i.jsonpCallback,Wt.push(a)),s&&ue.isFunction(o)&&o(s[0]),s=o=t}),"script"):t});var zt,Kt,Ut=0,Xt=e.ActiveXObject&&function(){var e;for(e in zt)zt[e](t,!0)};ue.ajaxSettings.xhr=e.ActiveXObject?function(){return!this.isLocal&&L()||H()}:L,Kt=ue.ajaxSettings.xhr(),ue.support.cors=!!Kt&&"withCredentials"in Kt,(Kt=ue.support.ajax=!!Kt)&&ue.ajaxTransport(function(n){var i;if(!n.crossDomain||ue.support.cors)return{send:function(r,a){var o,s,l=n.xhr();if(n.username?l.open(n.type,n.url,n.async,n.username,n.password):l.open(n.type,n.url,n.async),n.xhrFields)for(s in n.xhrFields)l[s]=n.xhrFields[s];n.mimeType&&l.overrideMimeType&&l.overrideMimeType(n.mimeType),n.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest");try{for(s in r)l.setRequestHeader(s,r[s])}catch(e){}l.send(n.hasContent&&n.data||null),i=function(e,r){var s,u,c,d;try{if(i&&(r||4===l.readyState))if(i=t,o&&(l.onreadystatechange=ue.noop,Xt&&delete zt[o]),r)4!==l.readyState&&l.abort();else{d={},s=l.status,u=l.getAllResponseHeaders(),"string"==typeof l.responseText&&(d.text=l.responseText);try{c=l.statusText}catch(e){c=""}s||!n.isLocal||n.crossDomain?1223===s&&(s=204):s=d.text?200:404}}catch(e){r||a(-1,e)}d&&a(s,c,d,u)},n.async?4===l.readyState?setTimeout(i):(o=++Ut,Xt&&(zt||(zt={},ue(e).unload(Xt)),zt[o]=i),l.onreadystatechange=i):i()},abort:function(){i&&i(t,!0)}}});var Gt,Vt,Jt=/^(?:toggle|show|hide)$/,Qt=RegExp("^(?:([+-])=|)("+ce+")([a-z%]*)$","i"),Zt=/queueHooks$/,en=[function(e,t,n){var i,r,a,o,s,l,u=this,c={},d=e.style,p=e.nodeType&&D(e),h=ue._data(e,"fxshow");for(i in n.queue||(null==(s=ue._queueHooks(e,"fx")).unqueued&&(s.unqueued=0,l=s.empty.fire,s.empty.fire=function(){s.unqueued||l()}),s.unqueued++,u.always(function(){u.always(function(){s.unqueued--,ue.queue(e,"fx").length||s.empty.fire()})})),1===e.nodeType&&("height"in t||"width"in t)&&(n.overflow=[d.overflow,d.overflowX,d.overflowY],"inline"===ue.css(e,"display")&&"none"===ue.css(e,"float")&&(ue.support.inlineBlockNeedsLayout&&"inline"!==M(e.nodeName)?d.zoom=1:d.display="inline-block")),n.overflow&&(d.overflow="hidden",ue.support.shrinkWrapBlocks||u.always(function(){d.overflow=n.overflow[0],d.overflowX=n.overflow[1],d.overflowY=n.overflow[2]})),t)if(r=t[i],Jt.exec(r)){if(delete t[i],a=a||"toggle"===r,r===(p?"hide":"show"))continue;c[i]=h&&h[i]||ue.style(e,i)}if(!ue.isEmptyObject(c))for(i in h?"hidden"in h&&(p=h.hidden):h=ue._data(e,"fxshow",{}),a&&(h.hidden=!p),p?ue(e).show():u.done(function(){ue(e).hide()}),u.done(function(){var t;for(t in ue._removeData(e,"fxshow"),c)ue.style(e,t,c[t])}),c)o=P(p?h[i]:0,i,u),i in h||(h[i]=o.start,p&&(o.end=o.start,o.start="width"===i||"height"===i?1:0))}],tn={"*":[function(e,t){var n=this.createTween(e,t),i=n.cur(),r=Qt.exec(t),a=r&&r[3]||(ue.cssNumber[e]?"":"px"),o=(ue.cssNumber[e]||"px"!==a&&+i)&&Qt.exec(ue.css(n.elem,e)),s=1,l=20;if(o&&o[3]!==a){a=a||o[3],r=r||[],o=+i||1;do{s=s||".5",o/=s,ue.style(n.elem,e,o+a)}while(s!==(s=n.cur()/i)&&1!==s&&--l)}return r&&(o=n.start=+o||+i||0,n.unit=a,n.end=r[1]?o+(r[1]+1)*r[2]:+r[2]),n}]};ue.Animation=ue.extend(R,{tweener:function(e,t){ue.isFunction(e)?(t=e,e=["*"]):e=e.split(" ");for(var n,i=0,r=e.length;r>i;i++)n=e[i],tn[n]=tn[n]||[],tn[n].unshift(t)},prefilter:function(e,t){t?en.unshift(e):en.push(e)}}),ue.Tween=q,q.prototype={constructor:q,init:function(e,t,n,i,r,a){this.elem=e,this.prop=n,this.easing=r||"swing",this.options=t,this.start=this.now=this.cur(),this.end=i,this.unit=a||(ue.cssNumber[n]?"":"px")},cur:function(){var e=q.propHooks[this.prop];return e&&e.get?e.get(this):q.propHooks._default.get(this)},run:function(e){var t,n=q.propHooks[this.prop];return this.pos=t=this.options.duration?ue.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):q.propHooks._default.set(this),this}},q.prototype.init.prototype=q.prototype,q.propHooks={_default:{get:function(e){var t;return null==e.elem[e.prop]||e.elem.style&&null!=e.elem.style[e.prop]?(t=ue.css(e.elem,e.prop,""),t&&"auto"!==t?t:0):e.elem[e.prop]},set:function(e){ue.fx.step[e.prop]?ue.fx.step[e.prop](e):e.elem.style&&(null!=e.elem.style[ue.cssProps[e.prop]]||ue.cssHooks[e.prop])?ue.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},q.propHooks.scrollTop=q.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},ue.each(["toggle","show","hide"],function(e,t){var n=ue.fn[t];ue.fn[t]=function(e,i,r){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(W(t,!0),e,i,r)}}),ue.fn.extend({fadeTo:function(e,t,n,i){return this.filter(D).css("opacity",0).show().end().animate({opacity:t},e,n,i)},animate:function(e,t,n,i){var r=ue.isEmptyObject(e),a=ue.speed(t,n,i),o=function(){var t=R(this,ue.extend({},e),a);(r||ue._data(this,"finish"))&&t.stop(!0)};return o.finish=o,r||!1===a.queue?this.each(o):this.queue(a.queue,o)},stop:function(e,n,i){var r=function(e){var t=e.stop;delete e.stop,t(i)};return"string"!=typeof e&&(i=n,n=e,e=t),n&&!1!==e&&this.queue(e||"fx",[]),this.each(function(){var t=!0,n=null!=e&&e+"queueHooks",a=ue.timers,o=ue._data(this);if(n)o[n]&&o[n].stop&&r(o[n]);else for(n in o)o[n]&&o[n].stop&&Zt.test(n)&&r(o[n]);for(n=a.length;n--;)a[n].elem!==this||null!=e&&a[n].queue!==e||(a[n].anim.stop(i),t=!1,a.splice(n,1));(t||!i)&&ue.dequeue(this,e)})},finish:function(e){return!1!==e&&(e=e||"fx"),this.each(function(){var t,n=ue._data(this),i=n[e+"queue"],r=n[e+"queueHooks"],a=ue.timers,o=i?i.length:0;for(n.finish=!0,ue.queue(this,e,[]),r&&r.stop&&r.stop.call(this,!0),t=a.length;t--;)a[t].elem===this&&a[t].queue===e&&(a[t].anim.stop(!0),a.splice(t,1));for(t=0;o>t;t++)i[t]&&i[t].finish&&i[t].finish.call(this);delete n.finish})}}),ue.each({slideDown:W("show"),slideUp:W("hide"),slideToggle:W("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){ue.fn[e]=function(e,n,i){return this.animate(t,e,n,i)}}),ue.speed=function(e,t,n){var i=e&&"object"==typeof e?ue.extend({},e):{complete:n||!n&&t||ue.isFunction(e)&&e,duration:e,easing:n&&t||t&&!ue.isFunction(t)&&t};return i.duration=ue.fx.off?0:"number"==typeof i.duration?i.duration:i.duration in ue.fx.speeds?ue.fx.speeds[i.duration]:ue.fx.speeds._default,(null==i.queue||!0===i.queue)&&(i.queue="fx"),i.old=i.complete,i.complete=function(){ue.isFunction(i.old)&&i.old.call(this),i.queue&&ue.dequeue(this,i.queue)},i},ue.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2}},ue.timers=[],ue.fx=q.prototype.init,ue.fx.tick=function(){var e,n=ue.timers,i=0;for(Gt=ue.now();n.length>i;i++)(e=n[i])()||n[i]!==e||n.splice(i--,1);n.length||ue.fx.stop(),Gt=t},ue.fx.timer=function(e){e()&&ue.timers.push(e)&&ue.fx.start()},ue.fx.interval=13,ue.fx.start=function(){Vt||(Vt=setInterval(ue.fx.tick,ue.fx.interval))},ue.fx.stop=function(){clearInterval(Vt),Vt=null},ue.fx.speeds={slow:600,fast:200,_default:400},ue.fx.step={},ue.expr&&ue.expr.filters&&(ue.expr.filters.animated=function(e){return ue.grep(ue.timers,function(t){return e===t.elem}).length}),ue.fn.offset=function(e){if(arguments.length)return e===t?this:this.each(function(t){ue.offset.setOffset(this,e,t)});var n,i,r={top:0,left:0},a=this[0],o=a&&a.ownerDocument;return o?(n=o.documentElement,ue.contains(n,a)?(typeof a.getBoundingClientRect!==U&&(r=a.getBoundingClientRect()),i=B(o),{top:r.top+(i.pageYOffset||n.scrollTop)-(n.clientTop||0),left:r.left+(i.pageXOffset||n.scrollLeft)-(n.clientLeft||0)}):r):void 0},ue.offset={setOffset:function(e,t,n){var i=ue.css(e,"position");"static"===i&&(e.style.position="relative");var r,a,o=ue(e),s=o.offset(),l=ue.css(e,"top"),u=ue.css(e,"left"),c={},d={};("absolute"===i||"fixed"===i)&&ue.inArray("auto",[l,u])>-1?(d=o.position(),r=d.top,a=d.left):(r=parseFloat(l)||0,a=parseFloat(u)||0),ue.isFunction(t)&&(t=t.call(e,n,s)),null!=t.top&&(c.top=t.top-s.top+r),null!=t.left&&(c.left=t.left-s.left+a),"using"in t?t.using.call(e,c):o.css(c)}},ue.fn.extend({position:function(){if(this[0]){var e,t,n={top:0,left:0},i=this[0];return"fixed"===ue.css(i,"position")?t=i.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),ue.nodeName(e[0],"html")||(n=e.offset()),n.top+=ue.css(e[0],"borderTopWidth",!0),n.left+=ue.css(e[0],"borderLeftWidth",!0)),{top:t.top-n.top-ue.css(i,"marginTop",!0),left:t.left-n.left-ue.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent||V;e&&!ue.nodeName(e,"html")&&"static"===ue.css(e,"position");)e=e.offsetParent;return e||V})}}),ue.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,n){var i=/Y/.test(n);ue.fn[e]=function(r){return ue.access(this,function(e,r,a){var o=B(e)
+;return a===t?o?n in o?o[n]:o.document.documentElement[r]:e[r]:(o?o.scrollTo(i?ue(o).scrollLeft():a,i?a:ue(o).scrollTop()):e[r]=a,t)},e,r,arguments.length,null)}}),ue.each({Height:"height",Width:"width"},function(e,n){ue.each({padding:"inner"+e,content:n,"":"outer"+e},function(i,r){ue.fn[r]=function(r,a){var o=arguments.length&&(i||"boolean"!=typeof r),s=i||(!0===r||!0===a?"margin":"border");return ue.access(this,function(n,i,r){var a;return ue.isWindow(n)?n.document.documentElement["client"+e]:9===n.nodeType?(a=n.documentElement,Math.max(n.body["scroll"+e],a["scroll"+e],n.body["offset"+e],a["offset"+e],a["client"+e])):r===t?ue.css(n,i,s):ue.style(n,i,r,s)},n,o?r:t,o,null)}})}),ue.fn.size=function(){return this.length},ue.fn.andSelf=ue.fn.addBack,"object"==typeof module&&module&&"object"==typeof module.exports?module.exports=ue:(e.jQuery=e.$=ue,"function"==typeof define&&define.amd&&define("jquery",[],function(){return ue}))}(window),function(e,t){function n(t,n){var r,a,o,s=t.nodeName.toLowerCase();return"area"===s?(r=t.parentNode,a=r.name,!(!t.href||!a||"map"!==r.nodeName.toLowerCase())&&!!(o=e("img[usemap=#"+a+"]")[0])&&i(o)):(/input|select|textarea|button|object/.test(s)?!t.disabled:"a"===s&&t.href||n)&&i(t)}function i(t){return e.expr.filters.visible(t)&&!e(t).parents().addBack().filter(function(){return"hidden"===e.css(this,"visibility")}).length}var r=0,a=/^ui-id-\d+$/;e.ui=e.ui||{},e.extend(e.ui,{version:"1.10.3",keyCode:{BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38}}),e.fn.extend({focus:function(t){return function(n,i){return"number"==typeof n?this.each(function(){var t=this;setTimeout(function(){e(t).focus(),i&&i.call(t)},n)}):t.apply(this,arguments)}}(e.fn.focus),scrollParent:function(){var t;return t=e.ui.ie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?this.parents().filter(function(){return/(relative|absolute|fixed)/.test(e.css(this,"position"))&&/(auto|scroll)/.test(e.css(this,"overflow")+e.css(this,"overflow-y")+e.css(this,"overflow-x"))}).eq(0):this.parents().filter(function(){return/(auto|scroll)/.test(e.css(this,"overflow")+e.css(this,"overflow-y")+e.css(this,"overflow-x"))}).eq(0),/fixed/.test(this.css("position"))||!t.length?e(document):t},zIndex:function(t){if(void 0!==t)return this.css("zIndex",t);if(this.length)for(var n,i,r=e(this[0]);r.length&&r[0]!==document;){if(("absolute"===(n=r.css("position"))||"relative"===n||"fixed"===n)&&(i=parseInt(r.css("zIndex"),10),!isNaN(i)&&0!==i))return i;r=r.parent()}return 0},uniqueId:function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++r)})},removeUniqueId:function(){return this.each(function(){a.test(this.id)&&e(this).removeAttr("id")})}}),e.extend(e.expr[":"],{data:e.expr.createPseudo?e.expr.createPseudo(function(t){return function(n){return!!e.data(n,t)}}):function(t,n,i){return!!e.data(t,i[3])},focusable:function(t){return n(t,!isNaN(e.attr(t,"tabindex")))},tabbable:function(t){var i=e.attr(t,"tabindex"),r=isNaN(i);return(r||i>=0)&&n(t,!r)}}),e("
").outerWidth(1).jquery||e.each(["Width","Height"],function(t,n){function i(t,n,i,a){return e.each(r,function(){n-=parseFloat(e.css(t,"padding"+this))||0,i&&(n-=parseFloat(e.css(t,"border"+this+"Width"))||0),a&&(n-=parseFloat(e.css(t,"margin"+this))||0)}),n}var r="Width"===n?["Left","Right"]:["Top","Bottom"],a=n.toLowerCase(),o={innerWidth:e.fn.innerWidth,innerHeight:e.fn.innerHeight,outerWidth:e.fn.outerWidth,outerHeight:e.fn.outerHeight};e.fn["inner"+n]=function(t){return void 0===t?o["inner"+n].call(this):this.each(function(){e(this).css(a,i(this,t)+"px")})},e.fn["outer"+n]=function(t,r){return"number"!=typeof t?o["outer"+n].call(this,t):this.each(function(){e(this).css(a,i(this,t,!0,r)+"px")})}}),e.fn.addBack||(e.fn.addBack=function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}),e(" ").data("a-b","a").removeData("a-b").data("a-b")&&(e.fn.removeData=function(t){return function(n){return arguments.length?t.call(this,e.camelCase(n)):t.call(this)}}(e.fn.removeData)),e.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase()),e.support.selectstart="onselectstart"in document.createElement("div"),e.fn.extend({disableSelection:function(){return this.bind((e.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(e){e.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}}),e.extend(e.ui,{plugin:{add:function(t,n,i){var r,a=e.ui[t].prototype;for(r in i)a.plugins[r]=a.plugins[r]||[],a.plugins[r].push([n,i[r]])},call:function(e,t,n){var i,r=e.plugins[t];if(r&&e.element[0].parentNode&&11!==e.element[0].parentNode.nodeType)for(i=0;i0||(t[i]=1,r=t[i]>0,t[i]=0,r)}})}(jQuery);var GREGORIAN_EPOCH=1721425.5,ISLAMIC_EPOCH=1948439.5,PERSIAN_EPOCH=1948320.5;!function($,undefined){function Datepicker(){this._curInst=null,this._keyEvent=!1,this._disabledInputs=[],this._datepickerShowing=!1,this._inDialog=!1,this._mainDivId="ui-datepicker-div",this._inlineClass="ui-datepicker-inline",this._appendClass="ui-datepicker-append",this._triggerClass="ui-datepicker-trigger",this._dialogClass="ui-datepicker-dialog",this._disableClass="ui-datepicker-disabled",this._unselectableClass="ui-datepicker-unselectable",this._currentClass="ui-datepicker-current-day",this._dayOverClass="ui-datepicker-days-cell-over",this.regional=[],this.regional[""]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"mm/dd/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},this._defaults={showOn:"focus",showAnim:"fadeIn",showOptions:{},defaultDate:null,appendText:"",buttonText:"...",buttonImage:"",buttonImageOnly:!1,hideIfNoPrevNext:!1,navigationAsDateFormat:!1,gotoCurrent:!1,changeMonth:!1,changeYear:!1,yearRange:"c-10:c+10",showOtherMonths:!1,selectOtherMonths:!1,showWeek:!1,calculateWeek:this.iso8601Week,shortYearCutoff:"+10",minDate:null,maxDate:null,duration:"fast",beforeShowDay:null,beforeShow:null,onSelect:null,onChangeMonthYear:null,onClose:null,numberOfMonths:1,showCurrentAtPos:0,stepMonths:1,stepBigMonths:12,altField:"",altFormat:"",constrainInput:!0,showButtonPanel:!1,autoSize:!1,disabled:!1},$.extend(this._defaults,this.regional[""]),this.dpDiv=bindHover($("
"))}function bindHover(e){var t="button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a";return e.delegate(t,"mouseout",function(){$(this).removeClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&$(this).removeClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&$(this).removeClass("ui-datepicker-next-hover")}).delegate(t,"mouseover",function(){$.datepicker._isDisabledDatepicker(instActive.inline?e.parent()[0]:instActive.input[0])||($(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover"),$(this).addClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&$(this).addClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&$(this).addClass("ui-datepicker-next-hover"))})}function extendRemove(e,t){for(var n in $.extend(e,t),t)null==t[n]&&(e[n]=t[n]);return e}$.extend($.ui,{datepicker:{version:"1.10.3"}});var PROP_NAME="datepicker",instActive;$.extend(Datepicker.prototype,{markerClassName:"hasDatepicker",maxRows:4,_widgetDatepicker:function(){return this.dpDiv},setDefaults:function(e){return extendRemove(this._defaults,e||{}),this},_attachDatepicker:function(target,settings){var inlineSettings=null;for(var attrName in this._defaults){var attrValue=target.getAttribute("date:"+attrName);if(attrValue){inlineSettings=inlineSettings||{};try{inlineSettings[attrName]=eval(attrValue)}catch(e){inlineSettings[attrName]=attrValue}}}var nodeName=target.nodeName.toLowerCase(),inline="div"==nodeName||"span"==nodeName;target.id||(this.uuid+=1,target.id="dp"+this.uuid);var inst=this._newInst($(target),inline),regional=$.extend({},settings&&this.regional[settings.regional]||{});inst.settings=$.extend(regional,settings||{},inlineSettings||{}),inst.settings=$.extend({},settings||{},inlineSettings||{}),"input"==nodeName?this._connectDatepicker(target,inst):inline&&this._inlineDatepicker(target,inst)},_newInst:function(e,t){return{id:e[0].id.replace(/([^A-Za-z0-9_\-])/g,"\\\\$1"),input:e,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:t,dpDiv:t?bindHover($("
")):this.dpDiv}},_connectDatepicker:function(e,t){var n=$(e);t.append=$([]),t.trigger=$([]),n.hasClass(this.markerClassName)||(this._attachments(n,t),n.addClass(this.markerClassName).keydown(this._doKeyDown).keypress(this._doKeyPress).keyup(this._doKeyUp),this._autoSize(t),$.data(e,PROP_NAME,t),t.settings.disabled&&this._disableDatepicker(e))},_attachments:function(e,t){var n,i,r,a=this._get(t,"appendText"),o=this._get(t,"isRTL");t.append&&t.append.remove(),a&&(t.append=$(""+a+" "),e[o?"before":"after"](t.append)),e.unbind("focus",this._showDatepicker),t.trigger&&t.trigger.remove(),"focus"!==(n=this._get(t,"showOn"))&&"both"!==n||e.focus(this._showDatepicker),"button"!==n&&"both"!==n||(i=this._get(t,"buttonText"),r=this._get(t,"buttonImage"),t.trigger=$(this._get(t,"buttonImageOnly")?$(" ").addClass(this._triggerClass).attr({src:r,alt:i,title:i}):$(" ").addClass(this._triggerClass).html(r?$(" ").attr({src:r,alt:i,title:i}):i)),e[o?"before":"after"](t.trigger),t.trigger.click(function(){return $.datepicker._datepickerShowing&&$.datepicker._lastInput===e[0]?$.datepicker._hideDatepicker():$.datepicker._datepickerShowing&&$.datepicker._lastInput!==e[0]?($.datepicker._hideDatepicker(),$.datepicker._showDatepicker(e[0])):$.datepicker._showDatepicker(e[0]),!1}))},_autoSize:function(e){if(this._get(e,"autoSize")&&!e.inline){var t,n,i,r,a=new Date(2009,11,20),o=this._get(e,"dateFormat");o.match(/[DM]/)&&(t=function(e){for(n=0,i=0,r=0;rn&&(n=e[r].length,i=r);return i},a.setMonth(t(this._get(e,o.match(/MM/)?"monthNames":"monthNamesShort"))),a.setDate(t(this._get(e,o.match(/DD/)?"dayNames":"dayNamesShort"))+20-a.getDay())),e.input.attr("size",this._formatDate(e,a).length)}},_inlineDatepicker:function(e,t){var n=$(e);n.hasClass(this.markerClassName)||(n.addClass(this.markerClassName).append(t.dpDiv),$.data(e,PROP_NAME,t),this._setDate(t,this._getDefaultDate(t),!0),this._updateDatepicker(t),this._updateAlternate(t),t.settings.disabled&&this._disableDatepicker(e),t.dpDiv.css("display","block"))},_dialogDatepicker:function(e,t,n,i,r){var a,o,s,l,u,c=this._dialogInst;return c||(this.uuid+=1,a="dp"+this.uuid,this._dialogInput=$(" "),this._dialogInput.keydown(this._doKeyDown),$("body").append(this._dialogInput),(c=this._dialogInst=this._newInst(this._dialogInput,!1)).settings={},$.data(this._dialogInput[0],PROP_NAME,c)),extendRemove(c.settings,i||{}),t=t&&t.constructor===Date?this._formatDate(c,t):t,this._dialogInput.val(t),this._pos=r?r.length?r:[r.pageX,r.pageY]:null,this._pos||(o=document.documentElement.clientWidth,s=document.documentElement.clientHeight,l=document.documentElement.scrollLeft||document.body.scrollLeft,u=document.documentElement.scrollTop||document.body.scrollTop,this._pos=[o/2-100+l,s/2-150+u]),this._dialogInput.css("left",this._pos[0]+20+"px").css("top",this._pos[1]+"px"),c.settings.onSelect=n,this._inDialog=!0,this.dpDiv.addClass(this._dialogClass),this._showDatepicker(this._dialogInput[0]),$.blockUI&&$.blockUI(this.dpDiv),$.data(this._dialogInput[0],PROP_NAME,c),this},_destroyDatepicker:function(e){var t,n=$(e),i=$.data(e,PROP_NAME);n.hasClass(this.markerClassName)&&(t=e.nodeName.toLowerCase(),$.removeData(e,PROP_NAME),"input"===t?(i.append.remove(),i.trigger.remove(),n.removeClass(this.markerClassName).unbind("focus",this._showDatepicker).unbind("keydown",this._doKeyDown).unbind("keypress",this._doKeyPress).unbind("keyup",this._doKeyUp)):"div"!==t&&"span"!==t||n.removeClass(this.markerClassName).empty())},_enableDatepicker:function(e){var t,n,i=$(e),r=$.data(e,PROP_NAME);i.hasClass(this.markerClassName)&&("input"===(t=e.nodeName.toLowerCase())?(e.disabled=!1,r.trigger.filter("button").each(function(){this.disabled=!1}).end().filter("img").css({opacity:"1.0",cursor:""})):"div"!==t&&"span"!==t||((n=i.children("."+this._inlineClass)).children().removeClass("ui-state-disabled"),n.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!1)),this._disabledInputs=$.map(this._disabledInputs,function(t){return t===e?null:t}))},_disableDatepicker:function(e){var t,n,i=$(e),r=$.data(e,PROP_NAME);i.hasClass(this.markerClassName)&&("input"===(t=e.nodeName.toLowerCase())?(e.disabled=!0,r.trigger.filter("button").each(function(){this.disabled=!0}).end().filter("img").css({opacity:"0.5",cursor:"default"})):"div"!==t&&"span"!==t||((n=i.children("."+this._inlineClass)).children().addClass("ui-state-disabled"),n.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!0)),this._disabledInputs=$.map(this._disabledInputs,function(t){return t===e?null:t}),this._disabledInputs[this._disabledInputs.length]=e)},_isDisabledDatepicker:function(e){if(!e)return!1;for(var t=0;t-1},_doKeyUp:function(e){var t=$.datepicker._getInst(e.target);if(t.input.val()!==t.lastVal)try{$.datepicker.parseDate($.datepicker._get(t,"dateFormat"),t.input?t.input.val():null,$.datepicker._getFormatConfig(t))&&($.datepicker._setDateFromField(t),$.datepicker._updateAlternate(t),$.datepicker._updateDatepicker(t))}catch(e){}return!0},_showDatepicker:function(e){var t,n,i,r,a,o,s;("input"!==(e=e.target||e).nodeName.toLowerCase()&&(e=$("input",e.parentNode)[0]),$.datepicker._isDisabledDatepicker(e)||$.datepicker._lastInput===e)||(t=$.datepicker._getInst(e),$.datepicker._curInst&&$.datepicker._curInst!==t&&($.datepicker._curInst.dpDiv.stop(!0,!0),t&&$.datepicker._datepickerShowing&&$.datepicker._hideDatepicker($.datepicker._curInst.input[0])),!1!==(i=(n=$.datepicker._get(t,"beforeShow"))?n.apply(e,[e,t]):{})&&(extendRemove(t.settings,i),t.lastVal=null,$.datepicker._lastInput=e,$.datepicker._setDateFromField(t),$.datepicker._inDialog&&(e.value=""),$.datepicker._pos||($.datepicker._pos=$.datepicker._findPos(e),$.datepicker._pos[1]+=e.offsetHeight),r=!1,$(e).parents().each(function(){return!(r|="fixed"===$(this).css("position"))}),a={left:$.datepicker._pos[0],top:$.datepicker._pos[1]},$.datepicker._pos=null,t.dpDiv.empty(),t.dpDiv.css({position:"absolute",display:"block",top:"-1000px"}),$.datepicker._updateDatepicker(t),a=$.datepicker._checkOffset(t,a,r),t.dpDiv.css({position:$.datepicker._inDialog&&$.blockUI?"static":r?"fixed":"absolute",display:"none",left:a.left+"px",top:a.top+"px"}),t.inline||(o=$.datepicker._get(t,"showAnim"),s=$.datepicker._get(t,"duration"),t.dpDiv.zIndex($(e).zIndex()+1),$.datepicker._datepickerShowing=!0,$.effects&&$.effects.effect[o]?t.dpDiv.show(o,$.datepicker._get(t,"showOptions"),s):t.dpDiv[o||"show"](o?s:null),$.datepicker._shouldFocusInput(t)&&t.input.focus(),$.datepicker._curInst=t)))},_updateDatepicker:function(e){this.maxRows=4,instActive=e,e.dpDiv.empty().append(this._generateHTML(e)),this._attachHandlers(e),e.dpDiv.find("."+this._dayOverClass+" a").mouseover();var t,n=this._getNumberOfMonths(e),i=n[1];e.dpDiv.removeClass("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4").width(""),i>1&&e.dpDiv.addClass("ui-datepicker-multi-"+i).css("width",17*i+"em"),e.dpDiv[(1!==n[0]||1!==n[1]?"add":"remove")+"Class"]("ui-datepicker-multi"),e.dpDiv[(this._get(e,"isRTL")?"add":"remove")+"Class"]("ui-datepicker-rtl"),e===$.datepicker._curInst&&$.datepicker._datepickerShowing&&$.datepicker._shouldFocusInput(e)&&e.input.focus(),e.yearshtml&&(t=e.yearshtml,setTimeout(function(){t===e.yearshtml&&e.yearshtml&&e.dpDiv.find("select.ui-datepicker-year:first").replaceWith(e.yearshtml),t=e.yearshtml=null},0))},_shouldFocusInput:function(e){return e.input&&e.input.is(":visible")&&!e.input.is(":disabled")&&!e.input.is(":focus")},_checkOffset:function(e,t,n){var i=e.dpDiv.outerWidth(),r=e.dpDiv.outerHeight(),a=e.input?e.input.outerWidth():0,o=e.input?e.input.outerHeight():0,s=document.documentElement.clientWidth+(n?0:$(document).scrollLeft()),l=document.documentElement.clientHeight+(n?0:$(document).scrollTop());return t.left-=this._get(e,"isRTL")?i-a:0,t.left-=n&&t.left===e.input.offset().left?$(document).scrollLeft():0,t.top-=n&&t.top===e.input.offset().top+o?$(document).scrollTop():0,t.left-=Math.min(t.left,t.left+i>s&&s>i?Math.abs(t.left+i-s):0),t.top-=Math.min(t.top,t.top+r>l&&l>r?Math.abs(r+o):0),t},_findPos:function(e){for(var t,n=this._getInst(e),i=this._get(n,"isRTL");e&&("hidden"===e.type||1!==e.nodeType||$.expr.filters.hidden(e));)e=e[i?"previousSibling":"nextSibling"];return t=$(e).offset(),[t.left,t.top]},_hideDatepicker:function(e){var t,n,i,r,a=this._curInst;!a||e&&a!==$.data(e,PROP_NAME)||this._datepickerShowing&&(t=this._get(a,"showAnim"),n=this._get(a,"duration"),i=function(){$.datepicker._tidyDialog(a)},$.effects&&($.effects.effect[t]||$.effects[t])?a.dpDiv.hide(t,$.datepicker._get(a,"showOptions"),n,i):a.dpDiv["slideDown"===t?"slideUp":"fadeIn"===t?"fadeOut":"hide"](t?n:null,i),t||i(),this._datepickerShowing=!1,(r=this._get(a,"onClose"))&&r.apply(a.input?a.input[0]:null,[a.input?a.input.val():"",a]),this._lastInput=null,this._inDialog&&(this._dialogInput.css({position:"absolute",left:"0",top:"-100px"}),$.blockUI&&($.unblockUI(),$("body").append(this.dpDiv))),this._inDialog=!1)},_tidyDialog:function(e){e.dpDiv.removeClass(this._dialogClass).unbind(".ui-datepicker-calendar")},_checkExternalClick:function(e){if($.datepicker._curInst){var t=$(e.target),n=$.datepicker._getInst(t[0]);(t[0].id===$.datepicker._mainDivId||0!==t.parents("#"+$.datepicker._mainDivId).length||t.hasClass($.datepicker.markerClassName)||t.closest("."+$.datepicker._triggerClass).length||!$.datepicker._datepickerShowing||$.datepicker._inDialog&&$.blockUI)&&(!t.hasClass($.datepicker.markerClassName)||$.datepicker._curInst===n)||$.datepicker._hideDatepicker()}},_adjustDate:function(e,t,n){var i=$(e),r=this._getInst(i[0]);this._isDisabledDatepicker(i[0])||(this._adjustInstDate(r,t+("M"===n?this._get(r,"showCurrentAtPos"):0),n),this._updateDatepicker(r))},_gotoToday:function(e){var t,n=$(e),i=this._getInst(n[0]);this._get(i,"gotoCurrent")&&i.currentDay?(i.selectedDay=i.currentDay,i.drawMonth=i.selectedMonth=i.currentMonth,i.drawYear=i.selectedYear=i.currentYear):(t=new Date,i.selectedDay=t.getDate(),i.drawMonth=i.selectedMonth=t.getMonth(),i.drawYear=i.selectedYear=t.getFullYear()),this._notifyChange(i),this._adjustDate(n)},_selectMonthYear:function(e,t,n){var i=$(e),r=this._getInst(i[0]);r["selected"+("M"===n?"Month":"Year")]=r["draw"+("M"===n?"Month":"Year")]=parseInt(t.options[t.selectedIndex].value,10),this._notifyChange(r),this._adjustDate(i)},_selectDay:function(e,t,n,i){var r,a=$(e);$(i).hasClass(this._unselectableClass)||this._isDisabledDatepicker(a[0])||((r=this._getInst(a[0])).selectedDay=r.currentDay=$("a",i).html(),r.selectedMonth=r.currentMonth=t,r.selectedYear=r.currentYear=n,this._selectDate(e,this._formatDate(r,r.currentDay,r.currentMonth,r.currentYear)))},_clearDate:function(e){var t=$(e);this._selectDate(t,"")},_selectDate:function(e,t){var n,i=$(e),r=this._getInst(i[0]);t=null!=t?t:this._formatDate(r),r.input&&r.input.val(t),this._updateAlternate(r),(n=this._get(r,"onSelect"))?n.apply(r.input?r.input[0]:null,[t,r]):r.input&&r.input.trigger("change"),r.inline?this._updateDatepicker(r):(this._hideDatepicker(),this._lastInput=r.input[0],"object"!=typeof r.input[0]&&r.input.focus(),this._lastInput=null)},_updateAlternate:function(e){var t,n,i,r=this._get(e,"altField");r&&(t=this._get(e,"altFormat")||this._get(e,"dateFormat"),n=this._getDate(e),i=this.formatDate(t,n,this._getFormatConfig(e)),$(r).each(function(){$(this).val(i)}))},noWeekends:function(e){var t=e.getDay();return[t>0&&t<6,""]},iso8601Week:function(e){var t,n=new Date(e.getTime());return n.setDate(n.getDate()+4-(n.getDay()||7)),t=n.getTime(),n.setMonth(0),n.setDate(1),Math.floor(Math.round((t-n)/864e5)/7)+1},parseDate:function(e,t,n){if(null==e||null==t)throw"Invalid arguments";if(""===(t="object"==typeof t?t.toString():t+""))return null;var i,r,a,o,s=0,l=(n?n.shortYearCutoff:null)||this._defaults.shortYearCutoff,u="string"!=typeof l?l:(new this.CDate).getFullYear()%100+parseInt(l,10),c=(n?n.dayNamesShort:null)||this._defaults.dayNamesShort,d=(n?n.dayNames:null)||this._defaults.dayNames,p=(n?n.monthNamesShort:null)||this._defaults.monthNamesShort,h=(n?n.monthNames:null)||this._defaults.monthNames,f=-1,g=-1,m=-1,y=-1,v=!1,b=function(t){var n=i+1-1)for(g=1,m=y;r=this._getDaysInMonth(f,g-1),!(m<=r);)g++,m-=r;if((o=this._daylightSavingAdjust(new this.CDate(f,g-1,m))).getFullYear()!==f||o.getMonth()+1!==g||o.getDate()!==m)throw"Invalid date";return o},ATOM:"yy-mm-dd",COOKIE:"D, dd M yy",ISO_8601:"yy-mm-dd",RFC_822:"D, d M y",RFC_850:"DD, dd-M-y",RFC_1036:"D, d M y",RFC_1123:"D, d M yy",RFC_2822:"D, d M yy",RSS:"D, d M y",TICKS:"!",TIMESTAMP:"@",W3C:"yy-mm-dd",_ticksTo1970:24*(718685+Math.floor(492.5)-Math.floor(19.7)+Math.floor(4.925))*60*60*1e7,formatDate:function(e,t,n){if(!t)return"";var i,r=(n?n.dayNamesShort:null)||this._defaults.dayNamesShort,a=(n?n.dayNames:null)||this._defaults.dayNames,o=(n?n.monthNamesShort:null)||this._defaults.monthNamesShort,s=(n?n.monthNames:null)||this._defaults.monthNames,l=function(t){var n=i+112?e.getHours()+2:0),e):null},_setDate:function(e,t,n){this.CDate=this._get(e,"calendar");var i=!t,r=e.selectedMonth,a=e.selectedYear,o=this._restrictMinMax(e,this._determineDate(e,t,new this.CDate));e.selectedDay=e.currentDay=o.getDate(),e.drawMonth=e.selectedMonth=e.currentMonth=o.getMonth(),e.drawYear=e.selectedYear=e.currentYear=o.getFullYear(),r===e.selectedMonth&&a===e.selectedYear||n||this._notifyChange(e),this._adjustInstDate(e),e.input&&e.input.val(i?"":this._formatDate(e))},_getDate:function(e){return this.CDate=this._get(e,"calendar"),!e.currentYear||e.input&&""===e.input.val()?null:this._daylightSavingAdjust(new this.CDate(e.currentYear,e.currentMonth,e.currentDay))},_attachHandlers:function(e){var t=this._get(e,"stepMonths"),n="#"+e.id.replace(/\\\\/g,"\\");e.dpDiv.find("[data-handler]").map(function(){var e={prev:function(){$.datepicker._adjustDate(n,-t,"M")},next:function(){$.datepicker._adjustDate(n,+t,"M")},hide:function(){$.datepicker._hideDatepicker()},today:function(){$.datepicker._gotoToday(n)},selectDay:function(){return $.datepicker._selectDay(n,+this.getAttribute("data-month"),+this.getAttribute("data-year"),this),!1},selectMonth:function(){return $.datepicker._selectMonthYear(n,this,"M"),!1},selectYear:function(){return $.datepicker._selectMonthYear(n,this,"Y"),!1}};$(this).bind(this.getAttribute("data-event"),e[this.getAttribute("data-handler")])})},_generateHTML:function(e){
+var t,n,i,r,a,o,s,l,u,c,d,p,h,f,g,m,y,v,b,_,x,k,D,w,C,T,N,M,S,$,A,E,j,I,F,L,H,O,P=new this.CDate,R=new Date,Y=(P=this._daylightSavingAdjust(new this.CDate(R.getFullYear(),R.getMonth(),R.getDate())),this._get(e,"isRTL")),q=this._get(e,"showButtonPanel"),W=this._get(e,"hideIfNoPrevNext"),B=this._get(e,"navigationAsDateFormat"),z=this._getNumberOfMonths(e),K=this._get(e,"showCurrentAtPos"),U=this._get(e,"stepMonths"),X=1!==z[0]||1!==z[1],G=this._daylightSavingAdjust(e.currentDay?new this.CDate(e.currentYear,e.currentMonth,e.currentDay):new Date(9999,9,9)),V=this._getMinMaxDate(e,"min"),J=this._getMinMaxDate(e,"max"),Q=e.drawMonth-K,Z=e.drawYear;if(Q<0&&(Q+=12,Z--),J)for(t=this._daylightSavingAdjust(new this.CDate(J.getFullYear(),J.getMonth()-z[0]*z[1]+1,J.getDate())),t=V&&tt;)--Q<0&&(Q=11,Z--);for(e.drawMonth=Q,e.drawYear=Z,n=this._get(e,"prevText"),n=B?this.formatDate(n,this._daylightSavingAdjust(new this.CDate(Z,Q-U,1)),this._getFormatConfig(e)):n,i=this._canAdjustMonth(e,-1,Z,Q)?""+n+" ":W?"":""+n+" ",r=this._get(e,"nextText"),r=B?this.formatDate(r,this._daylightSavingAdjust(new this.CDate(Z,Q+U,1)),this._getFormatConfig(e)):r,a=this._canAdjustMonth(e,1,Z,Q)?""+r+" ":W?"":""+r+" ",o=this._get(e,"currentText"),s=this._get(e,"gotoCurrent")&&e.currentDay?G:P,o=B?this.formatDate(o,s,this._getFormatConfig(e)):o,l=e.inline?"":""+this._get(e,"closeText")+" ",u=q?""+(Y?l:"")+(this._isInRange(e,s)?""+o+" ":"")+(Y?"":l)+"
":"",c=parseInt(this._get(e,"firstDay"),10),c=isNaN(c)?0:c,d=this._get(e,"showWeek"),p=this._get(e,"dayNames"),h=this._get(e,"dayNamesMin"),f=this._get(e,"monthNames"),g=this._get(e,"monthNamesShort"),m=this._get(e,"beforeShowDay"),y=this._get(e,"showOtherMonths"),v=this._get(e,"selectOtherMonths"),b=this._getDefaultDate(e),_="",k=0;k"}for(N+="",M=d?""+this._get(e,"weekHeader")+" ":"",x=0;x<7;x++)S=(x+c)%7,M+="=5?" class='ui-datepicker-week-end'":"")+">"+h[S]+" ";for(N+=M+" ",$=this._getDaysInMonth(Z,Q),Z===e.selectedYear&&Q===e.selectedMonth&&(e.selectedDay=Math.min(e.selectedDay,$)),A=(this._getFirstDayOfMonth(Z,Q)-c+7)%7,E=Math.ceil((A+$)/7),j=X&&this.maxRows>E?this.maxRows:E,this.maxRows=j,I=this._daylightSavingAdjust(new this.CDate(Z,Q,1-A)),F=0;F",L=d?""+this._get(e,"calculateWeek")(I)+" ":"",x=0;x<7;x++){H=m?m.apply(e.input?e.input[0]:null,[I]):[!0,""];var ee=(O=I.getMonth()!==Q)&&!v||!H[0]||V&&this._compareDate(I,"<",V)||J&&this._compareDate(I,">",J);L+=""+(O&&!y?" ":ee?""+I.getDate()+" ":""+I.getDate()+" ")+" ",I.setDate(I.getDate()+1),I=this._daylightSavingAdjust(I)}N+=L+""}++Q>11&&(Q=0,Z++),D+=N+="
"+(X?" "+(z[0]>0&&w===z[1]-1?"
":""):"")}_+=D}return _+=u,e._keyEvent=!1,_},_generateMonthYearHeader:function(e,t,n,i,r,a,o,s){var l,u,c,d,p,h,f,g,m=this._get(e,"changeMonth"),y=this._get(e,"changeYear"),v=this._get(e,"showMonthAfterYear"),b="",_="";if(a||!m)_+=""+o[t]+" ";else{for(l=i&&i.getFullYear()===n,u=r&&r.getFullYear()===n,_+="",c=0;c<12;c++)(!l||c>=i.getMonth())&&(!u||c<=r.getMonth())&&(_+=""+s[c]+" ");_+=" "}if(v||(b+=_+(!a&&m&&y?"":" ")),!e.yearshtml)if(e.yearshtml="",a||!y)b+=""+n+" ";else{for(d=this._get(e,"yearRange").split(":"),p=(new this.CDate).getFullYear(),f=(h=function(e){var t=e.match(/c[+\-].*/)?n+parseInt(e.substring(1),10):e.match(/[+\-].*/)?p+parseInt(e,10):parseInt(e,10);return isNaN(t)?p:t})(d[0]),g=Math.max(f,h(d[1]||"")),f=i?Math.max(f,i.getFullYear()):f,g=r?Math.min(g,r.getFullYear()):g,e.yearshtml+="";f<=g;f++)e.yearshtml+=""+f+" ";e.yearshtml+=" ",b+=e.yearshtml,e.yearshtml=null}return b+=this._get(e,"yearSuffix"),v&&(b+=(!a&&m&&y?"":" ")+_),b+"
"},_adjustInstDate:function(e,t,n){var i=e.drawYear+("Y"===n?t:0),r=e.drawMonth+("M"===n?t:0),a=Math.min(e.selectedDay,this._getDaysInMonth(i,r))+("D"===n?t:0),o=this._restrictMinMax(e,this._daylightSavingAdjust(new this.CDate(i,r,a)));e.selectedDay=o.getDate(),e.drawMonth=e.selectedMonth=o.getMonth(),e.drawYear=e.selectedYear=o.getFullYear(),"M"!==n&&"Y"!==n||this._notifyChange(e)},_restrictMinMax:function(e,t){var n=this._getMinMaxDate(e,"min"),i=this._getMinMaxDate(e,"max"),r=n&&this._compareDate(t,"<",n)?n:t;return i&&this._compareDate(r,">",i)?i:r},_notifyChange:function(e){var t=this._get(e,"onChangeMonthYear");t&&t.apply(e.input?e.input[0]:null,[e.selectedYear,e.selectedMonth+1,e])},_getNumberOfMonths:function(e){var t=this._get(e,"numberOfMonths");return null==t?[1,1]:"number"==typeof t?[1,t]:t},_getMinMaxDate:function(e,t){return this._determineDate(e,this._get(e,t+"Date"),null)},_getDaysInMonth:function(e,t){return 32-this._daylightSavingAdjust(new this.CDate(e,t,32)).getDate()},_getFirstDayOfMonth:function(e,t){return new this.CDate(e,t,1).getDay()},_canAdjustMonth:function(e,t,n,i){var r=this._getNumberOfMonths(e),a=this._daylightSavingAdjust(new this.CDate(n,i+(t<0?t:r[0]*r[1]),1));return t<0&&a.setDate(this._getDaysInMonth(a.getFullYear(),a.getMonth())),this._isInRange(e,a)},_isInRange:function(e,t){var n,i,r=this._getMinMaxDate(e,"min"),a=this._getMinMaxDate(e,"max"),o=null,s=null,l=this._get(e,"yearRange");return l&&(n=l.split(":"),i=(new Date).getFullYear(),o=parseInt(n[0],10),s=parseInt(n[1],10),n[0].match(/[+\-].*/)&&(o+=i),n[1].match(/[+\-].*/)&&(s+=i)),(!r||t.getTime()>=r.getTime())&&(!a||t.getTime()<=a.getTime())&&(!o||t.getFullYear()>=o)&&(!s||t.getFullYear()<=s)},_getFormatConfig:function(e){var t=this._get(e,"shortYearCutoff");return this.CDate=this._get(e,"calendar"),t="string"!=typeof t?t:(new this.CDate).getFullYear()%100+parseInt(t,10),{shortYearCutoff:t,dayNamesShort:this._get(e,"dayNamesShort"),dayNames:this._get(e,"dayNames"),monthNamesShort:this._get(e,"monthNamesShort"),monthNames:this._get(e,"monthNames")}},_formatDate:function(e,t,n,i){t||(e.currentDay=e.selectedDay,e.currentMonth=e.selectedMonth,e.currentYear=e.selectedYear);var r=t?"object"==typeof t?t:this._daylightSavingAdjust(new this.CDate(i,n,t)):this._daylightSavingAdjust(new this.CDate(e.currentYear,e.currentMonth,e.currentDay));return this.formatDate(this._get(e,"dateFormat"),r,this._getFormatConfig(e))},_compareDate:function(e,t,n){return e&&n?(e.getGregorianDate&&(e=e.getGregorianDate()),n.getGregorianDate&&(n=n.getGregorianDate()),"<"==t?en):null}}),$.fn.datepicker=function(e){if(!this.length)return this;$.datepicker.initialized||($(document).mousedown($.datepicker._checkExternalClick),$.datepicker.initialized=!0),0===$("#"+$.datepicker._mainDivId).length&&$("body").append($.datepicker.dpDiv);var t=Array.prototype.slice.call(arguments,1);return"string"!=typeof e||"isDisabled"!==e&&"getDate"!==e&&"widget"!==e?"option"===e&&2===arguments.length&&"string"==typeof arguments[1]?$.datepicker["_"+e+"Datepicker"].apply($.datepicker,[this[0]].concat(t)):this.each(function(){"string"==typeof e?$.datepicker["_"+e+"Datepicker"].apply($.datepicker,[this].concat(t)):$.datepicker._attachDatepicker(this,e)}):$.datepicker["_"+e+"Datepicker"].apply($.datepicker,[this[0]].concat(t))},$.datepicker=new Datepicker,$.datepicker.initialized=!1,$.datepicker.uuid=(new Date).getTime(),$.datepicker.version="1.10.3"}(jQuery),jQuery(function(e){e.datepicker.regional.fa={calendar:JalaliDate,closeText:"بستن",prevText:"قبل",nextText:"بعد",currentText:"امروز",monthNames:["فروردین","اردیبهشت","خرداد","تیر","مرداد","شهریور","مهر","آبان","آذر","دی","بهمن","اسفند"],monthNamesShort:["فروردین","اردیبهشت","خرداد","تیر","مرداد","شهریور","مهر","آبان","آذر","دی","بهمن","اسفند"],dayNames:["یکشنبه","دوشنبه","سه شنبه","چهارشنبه","پنجشنبه","جمعه","شنبه"],dayNamesShort:["یک","دو","سه","چهار","پنج","جمعه","شنبه"],dayNamesMin:["ی","د","س","چ","پ","ج","ش"],weekHeader:"ه",dateFormat:"dd/mm/yy",firstDay:6,isRTL:!0,showMonthAfterYear:!1,yearSuffix:"",calculateWeek:function(e){var t=new JalaliDate(e.getFullYear(),e.getMonth(),e.getDate()+(e.getDay()||7)-3);return Math.floor(Math.round((t.getTime()-new JalaliDate(t.getFullYear(),0,1).getTime())/864e5)/7)+1}},e.datepicker.setDefaults(e.datepicker.regional.fa)}),$(document).ready(function(){let e=jQuery||{};"undefined"!=typeof django&&(e=django.jQuery),e(".jalali_date-date").datepicker({dateFormat:"yy-mm-dd",changeMonth:!0,changeYear:!0,yearRange:"c-70:c+10"}),$(".add-row").click(function(){let e=jQuery||{};"undefined"!=typeof django&&(e=django.jQuery),setTimeout(function(){console.log("add-row"),e(".jalali_date-date").datepicker({dateFormat:"yy-mm-dd",changeMonth:!0,changeYear:!0,yearRange:"c-70:c+10"})},300)})});
\ No newline at end of file
diff --git a/static/admin/js/filters.js b/static/admin/js/filters.js
index ba691ac..f5536eb 100644
--- a/static/admin/js/filters.js
+++ b/static/admin/js/filters.js
@@ -11,7 +11,7 @@
}
Object.entries(filters).forEach(([key, value]) => {
- const detailElement = document.querySelector(`[data-filter-title='${key}']`);
+ const detailElement = document.querySelector(`[data-filter-title='${CSS.escape(key)}']`);
// Check if the filter is present, it could be from other view.
if (detailElement) {
diff --git a/static/admin/js/main.js b/static/admin/js/main.js
new file mode 100644
index 0000000..0453d8d
--- /dev/null
+++ b/static/admin/js/main.js
@@ -0,0 +1,16 @@
+/**
+ * Created by arman on 7/24/16.
+ */
+$(document).ready(function () {
+ let JQ = jQuery || {};
+ if (typeof django !== 'undefined') {
+ JQ = django.jQuery;
+ }
+
+ JQ(".jalali_date-date").datepicker({
+ dateFormat: "yy-mm-dd",
+ changeMonth: !0,
+ changeYear: !0,
+ yearRange: "c-70:c+10"
+ })
+});
\ No newline at end of file
diff --git a/static/admin/js/nav_sidebar.js b/static/admin/js/nav_sidebar.js
index 261a9d4..7e735db 100644
--- a/static/admin/js/nav_sidebar.js
+++ b/static/admin/js/nav_sidebar.js
@@ -2,47 +2,24 @@
{
const toggleNavSidebar = document.getElementById('toggle-nav-sidebar');
if (toggleNavSidebar !== null) {
- const navLinks = document.querySelectorAll('#nav-sidebar a');
- function disableNavLinkTabbing() {
- for (const navLink of navLinks) {
- navLink.tabIndex = -1;
- }
- }
- function enableNavLinkTabbing() {
- for (const navLink of navLinks) {
- navLink.tabIndex = 0;
- }
- }
- function disableNavFilterTabbing() {
- document.getElementById('nav-filter').tabIndex = -1;
- }
- function enableNavFilterTabbing() {
- document.getElementById('nav-filter').tabIndex = 0;
- }
-
+ const navSidebar = document.getElementById('nav-sidebar');
const main = document.getElementById('main');
let navSidebarIsOpen = localStorage.getItem('django.admin.navSidebarIsOpen');
if (navSidebarIsOpen === null) {
navSidebarIsOpen = 'true';
}
- if (navSidebarIsOpen === 'false') {
- disableNavLinkTabbing();
- disableNavFilterTabbing();
- }
main.classList.toggle('shifted', navSidebarIsOpen === 'true');
+ navSidebar.setAttribute('aria-expanded', navSidebarIsOpen);
toggleNavSidebar.addEventListener('click', function() {
if (navSidebarIsOpen === 'true') {
navSidebarIsOpen = 'false';
- disableNavLinkTabbing();
- disableNavFilterTabbing();
} else {
navSidebarIsOpen = 'true';
- enableNavLinkTabbing();
- enableNavFilterTabbing();
}
localStorage.setItem('django.admin.navSidebarIsOpen', navSidebarIsOpen);
main.classList.toggle('shifted');
+ navSidebar.setAttribute('aria-expanded', navSidebarIsOpen);
});
}
diff --git a/static/admin/js/theme.js b/static/admin/js/theme.js
new file mode 100644
index 0000000..794cd15
--- /dev/null
+++ b/static/admin/js/theme.js
@@ -0,0 +1,56 @@
+'use strict';
+{
+ window.addEventListener('load', function(e) {
+
+ function setTheme(mode) {
+ if (mode !== "light" && mode !== "dark" && mode !== "auto") {
+ console.error(`Got invalid theme mode: ${mode}. Resetting to auto.`);
+ mode = "auto";
+ }
+ document.documentElement.dataset.theme = mode;
+ localStorage.setItem("theme", mode);
+ }
+
+ function cycleTheme() {
+ const currentTheme = localStorage.getItem("theme") || "auto";
+ const prefersDark = window.matchMedia("(prefers-color-scheme: dark)").matches;
+
+ if (prefersDark) {
+ // Auto (dark) -> Light -> Dark
+ if (currentTheme === "auto") {
+ setTheme("light");
+ } else if (currentTheme === "light") {
+ setTheme("dark");
+ } else {
+ setTheme("auto");
+ }
+ } else {
+ // Auto (light) -> Dark -> Light
+ if (currentTheme === "auto") {
+ setTheme("dark");
+ } else if (currentTheme === "dark") {
+ setTheme("light");
+ } else {
+ setTheme("auto");
+ }
+ }
+ }
+
+ function initTheme() {
+ // set theme defined in localStorage if there is one, or fallback to auto mode
+ const currentTheme = localStorage.getItem("theme");
+ currentTheme ? setTheme(currentTheme) : setTheme("auto");
+ }
+
+ function setupTheme() {
+ // Attach event handlers for toggling themes
+ const buttons = document.getElementsByClassName("theme-toggle");
+ Array.from(buttons).forEach((btn) => {
+ btn.addEventListener("click", cycleTheme);
+ });
+ initTheme();
+ }
+
+ setupTheme();
+ });
+}
diff --git a/static/admin/js/urlify.js b/static/admin/js/urlify.js
index 61dedb2..9fc0409 100644
--- a/static/admin/js/urlify.js
+++ b/static/admin/js/urlify.js
@@ -163,8 +163,7 @@
s = s.replace(/^\s+|\s+$/g, ''); // trim leading/trailing spaces
s = s.replace(/[-\s]+/g, '-'); // convert spaces to hyphens
s = s.substring(0, num_chars); // trim to first num_chars chars
- s = s.replace(/-+$/g, ''); // trim any trailing hyphens
- return s;
+ return s.replace(/-+$/g, ''); // trim any trailing hyphens
}
window.URLify = URLify;
}
diff --git a/static/admin/js/vendor/jquery/jquery.js b/static/admin/js/vendor/jquery/jquery.js
index fc6c299..1a86433 100644
--- a/static/admin/js/vendor/jquery/jquery.js
+++ b/static/admin/js/vendor/jquery/jquery.js
@@ -1,15 +1,12 @@
/*!
- * jQuery JavaScript Library v3.6.0
+ * jQuery JavaScript Library v3.7.1
* https://jquery.com/
*
- * Includes Sizzle.js
- * https://sizzlejs.com/
- *
* Copyright OpenJS Foundation and other contributors
* Released under the MIT license
* https://jquery.org/license
*
- * Date: 2021-03-02T17:08Z
+ * Date: 2023-08-28T13:37Z
*/
( function( global, factory ) {
@@ -23,7 +20,7 @@
// (such as Node.js), expose a factory as module.exports.
// This accentuates the need for the creation of a real `window`.
// e.g. var jQuery = require("jquery")(window);
- // See ticket #14549 for more info.
+ // See ticket trac-14549 for more info.
module.exports = global.document ?
factory( global, true ) :
function( w ) {
@@ -150,8 +147,9 @@ function toType( obj ) {
-var
- version = "3.6.0",
+var version = "3.7.1",
+
+ rhtmlSuffix = /HTML$/i,
// Define a local copy of jQuery
jQuery = function( selector, context ) {
@@ -397,6 +395,38 @@ jQuery.extend( {
return obj;
},
+
+ // Retrieve the text value of an array of DOM nodes
+ text: function( elem ) {
+ var node,
+ ret = "",
+ i = 0,
+ nodeType = elem.nodeType;
+
+ if ( !nodeType ) {
+
+ // If no nodeType, this is expected to be an array
+ while ( ( node = elem[ i++ ] ) ) {
+
+ // Do not traverse comment nodes
+ ret += jQuery.text( node );
+ }
+ }
+ if ( nodeType === 1 || nodeType === 11 ) {
+ return elem.textContent;
+ }
+ if ( nodeType === 9 ) {
+ return elem.documentElement.textContent;
+ }
+ if ( nodeType === 3 || nodeType === 4 ) {
+ return elem.nodeValue;
+ }
+
+ // Do not include comment or processing instruction nodes
+
+ return ret;
+ },
+
// results is for internal usage only
makeArray: function( arr, results ) {
var ret = results || [];
@@ -419,6 +449,15 @@ jQuery.extend( {
return arr == null ? -1 : indexOf.call( arr, elem, i );
},
+ isXMLDoc: function( elem ) {
+ var namespace = elem && elem.namespaceURI,
+ docElem = elem && ( elem.ownerDocument || elem ).documentElement;
+
+ // Assume HTML when documentElement doesn't yet exist, such as inside
+ // document fragments.
+ return !rhtmlSuffix.test( namespace || docElem && docElem.nodeName || "HTML" );
+ },
+
// Support: Android <=4.0 only, PhantomJS 1 only
// push.apply(_, arraylike) throws on ancient WebKit
merge: function( first, second ) {
@@ -520,43 +559,98 @@ function isArrayLike( obj ) {
return type === "array" || length === 0 ||
typeof length === "number" && length > 0 && ( length - 1 ) in obj;
}
-var Sizzle =
-/*!
- * Sizzle CSS Selector Engine v2.3.6
- * https://sizzlejs.com/
- *
- * Copyright JS Foundation and other contributors
- * Released under the MIT license
- * https://js.foundation/
- *
- * Date: 2021-02-16
- */
-( function( window ) {
+
+
+function nodeName( elem, name ) {
+
+ return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase();
+
+}
+var pop = arr.pop;
+
+
+var sort = arr.sort;
+
+
+var splice = arr.splice;
+
+
+var whitespace = "[\\x20\\t\\r\\n\\f]";
+
+
+var rtrimCSS = new RegExp(
+ "^" + whitespace + "+|((?:^|[^\\\\])(?:\\\\.)*)" + whitespace + "+$",
+ "g"
+);
+
+
+
+
+// Note: an element does not contain itself
+jQuery.contains = function( a, b ) {
+ var bup = b && b.parentNode;
+
+ return a === bup || !!( bup && bup.nodeType === 1 && (
+
+ // Support: IE 9 - 11+
+ // IE doesn't have `contains` on SVG.
+ a.contains ?
+ a.contains( bup ) :
+ a.compareDocumentPosition && a.compareDocumentPosition( bup ) & 16
+ ) );
+};
+
+
+
+
+// CSS string/identifier serialization
+// https://drafts.csswg.org/cssom/#common-serializing-idioms
+var rcssescape = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;
+
+function fcssescape( ch, asCodePoint ) {
+ if ( asCodePoint ) {
+
+ // U+0000 NULL becomes U+FFFD REPLACEMENT CHARACTER
+ if ( ch === "\0" ) {
+ return "\uFFFD";
+ }
+
+ // Control characters and (dependent upon position) numbers get escaped as code points
+ return ch.slice( 0, -1 ) + "\\" + ch.charCodeAt( ch.length - 1 ).toString( 16 ) + " ";
+ }
+
+ // Other potentially-special ASCII characters get backslash-escaped
+ return "\\" + ch;
+}
+
+jQuery.escapeSelector = function( sel ) {
+ return ( sel + "" ).replace( rcssescape, fcssescape );
+};
+
+
+
+
+var preferredDoc = document,
+ pushNative = push;
+
+( function() {
+
var i,
- support,
Expr,
- getText,
- isXML,
- tokenize,
- compile,
- select,
outermostContext,
sortInput,
hasDuplicate,
+ push = pushNative,
// Local document vars
- setDocument,
document,
- docElem,
+ documentElement,
documentIsHTML,
rbuggyQSA,
- rbuggyMatches,
matches,
- contains,
// Instance-specific data
- expando = "sizzle" + 1 * new Date(),
- preferredDoc = window.document,
+ expando = jQuery.expando,
dirruns = 0,
done = 0,
classCache = createCache(),
@@ -570,47 +664,22 @@ var i,
return 0;
},
- // Instance methods
- hasOwn = ( {} ).hasOwnProperty,
- arr = [],
- pop = arr.pop,
- pushNative = arr.push,
- push = arr.push,
- slice = arr.slice,
-
- // Use a stripped-down indexOf as it's faster than native
- // https://jsperf.com/thor-indexof-vs-for/5
- indexOf = function( list, elem ) {
- var i = 0,
- len = list.length;
- for ( ; i < len; i++ ) {
- if ( list[ i ] === elem ) {
- return i;
- }
- }
- return -1;
- },
-
- booleans = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|" +
- "ismap|loop|multiple|open|readonly|required|scoped",
+ booleans = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|" +
+ "loop|multiple|open|readonly|required|scoped",
// Regular expressions
- // http://www.w3.org/TR/css3-selectors/#whitespace
- whitespace = "[\\x20\\t\\r\\n\\f]",
-
// https://www.w3.org/TR/css-syntax-3/#ident-token-diagram
identifier = "(?:\\\\[\\da-fA-F]{1,6}" + whitespace +
"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",
- // Attribute selectors: http://www.w3.org/TR/selectors/#attribute-selectors
+ // Attribute selectors: https://www.w3.org/TR/selectors/#attribute-selectors
attributes = "\\[" + whitespace + "*(" + identifier + ")(?:" + whitespace +
// Operator (capture 2)
"*([*^$|!~]?=)" + whitespace +
- // "Attribute values must be CSS identifiers [capture 5]
- // or strings [capture 3 or capture 4]"
+ // "Attribute values must be CSS identifiers [capture 5] or strings [capture 3 or capture 4]"
"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + identifier + "))|)" +
whitespace + "*\\]",
@@ -629,101 +698,88 @@ var i,
// Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter
rwhitespace = new RegExp( whitespace + "+", "g" ),
- rtrim = new RegExp( "^" + whitespace + "+|((?:^|[^\\\\])(?:\\\\.)*)" +
- whitespace + "+$", "g" ),
rcomma = new RegExp( "^" + whitespace + "*," + whitespace + "*" ),
- rcombinators = new RegExp( "^" + whitespace + "*([>+~]|" + whitespace + ")" + whitespace +
- "*" ),
+ rleadingCombinator = new RegExp( "^" + whitespace + "*([>+~]|" + whitespace + ")" +
+ whitespace + "*" ),
rdescend = new RegExp( whitespace + "|>" ),
rpseudo = new RegExp( pseudos ),
ridentifier = new RegExp( "^" + identifier + "$" ),
matchExpr = {
- "ID": new RegExp( "^#(" + identifier + ")" ),
- "CLASS": new RegExp( "^\\.(" + identifier + ")" ),
- "TAG": new RegExp( "^(" + identifier + "|[*])" ),
- "ATTR": new RegExp( "^" + attributes ),
- "PSEUDO": new RegExp( "^" + pseudos ),
- "CHILD": new RegExp( "^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" +
- whitespace + "*(even|odd|(([+-]|)(\\d*)n|)" + whitespace + "*(?:([+-]|)" +
- whitespace + "*(\\d+)|))" + whitespace + "*\\)|)", "i" ),
- "bool": new RegExp( "^(?:" + booleans + ")$", "i" ),
+ ID: new RegExp( "^#(" + identifier + ")" ),
+ CLASS: new RegExp( "^\\.(" + identifier + ")" ),
+ TAG: new RegExp( "^(" + identifier + "|[*])" ),
+ ATTR: new RegExp( "^" + attributes ),
+ PSEUDO: new RegExp( "^" + pseudos ),
+ CHILD: new RegExp(
+ "^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" +
+ whitespace + "*(even|odd|(([+-]|)(\\d*)n|)" + whitespace + "*(?:([+-]|)" +
+ whitespace + "*(\\d+)|))" + whitespace + "*\\)|)", "i" ),
+ bool: new RegExp( "^(?:" + booleans + ")$", "i" ),
// For use in libraries implementing .is()
// We use this for POS matching in `select`
- "needsContext": new RegExp( "^" + whitespace +
+ needsContext: new RegExp( "^" + whitespace +
"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + whitespace +
"*((?:-\\d)?\\d*)" + whitespace + "*\\)|)(?=[^-]|$)", "i" )
},
- rhtml = /HTML$/i,
rinputs = /^(?:input|select|textarea|button)$/i,
rheader = /^h\d$/i,
- rnative = /^[^{]+\{\s*\[native \w/,
-
// Easily-parseable/retrievable ID or TAG or CLASS selectors
rquickExpr = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,
rsibling = /[+~]/,
// CSS escapes
- // http://www.w3.org/TR/CSS21/syndata.html#escaped-characters
- runescape = new RegExp( "\\\\[\\da-fA-F]{1,6}" + whitespace + "?|\\\\([^\\r\\n\\f])", "g" ),
+ // https://www.w3.org/TR/CSS21/syndata.html#escaped-characters
+ runescape = new RegExp( "\\\\[\\da-fA-F]{1,6}" + whitespace +
+ "?|\\\\([^\\r\\n\\f])", "g" ),
funescape = function( escape, nonHex ) {
var high = "0x" + escape.slice( 1 ) - 0x10000;
- return nonHex ?
+ if ( nonHex ) {
// Strip the backslash prefix from a non-hex escape sequence
- nonHex :
-
- // Replace a hexadecimal escape sequence with the encoded Unicode code point
- // Support: IE <=11+
- // For values outside the Basic Multilingual Plane (BMP), manually construct a
- // surrogate pair
- high < 0 ?
- String.fromCharCode( high + 0x10000 ) :
- String.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 );
- },
-
- // CSS string/identifier serialization
- // https://drafts.csswg.org/cssom/#common-serializing-idioms
- rcssescape = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,
- fcssescape = function( ch, asCodePoint ) {
- if ( asCodePoint ) {
-
- // U+0000 NULL becomes U+FFFD REPLACEMENT CHARACTER
- if ( ch === "\0" ) {
- return "\uFFFD";
- }
-
- // Control characters and (dependent upon position) numbers get escaped as code points
- return ch.slice( 0, -1 ) + "\\" +
- ch.charCodeAt( ch.length - 1 ).toString( 16 ) + " ";
+ return nonHex;
}
- // Other potentially-special ASCII characters get backslash-escaped
- return "\\" + ch;
+ // Replace a hexadecimal escape sequence with the encoded Unicode code point
+ // Support: IE <=11+
+ // For values outside the Basic Multilingual Plane (BMP), manually construct a
+ // surrogate pair
+ return high < 0 ?
+ String.fromCharCode( high + 0x10000 ) :
+ String.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 );
},
- // Used for iframes
- // See setDocument()
+ // Used for iframes; see `setDocument`.
+ // Support: IE 9 - 11+, Edge 12 - 18+
// Removing the function wrapper causes a "Permission Denied"
- // error in IE
+ // error in IE/Edge.
unloadHandler = function() {
setDocument();
},
inDisabledFieldset = addCombinator(
function( elem ) {
- return elem.disabled === true && elem.nodeName.toLowerCase() === "fieldset";
+ return elem.disabled === true && nodeName( elem, "fieldset" );
},
{ dir: "parentNode", next: "legend" }
);
+// Support: IE <=9 only
+// Accessing document.activeElement can throw unexpectedly
+// https://bugs.jquery.com/ticket/13393
+function safeActiveElement() {
+ try {
+ return document.activeElement;
+ } catch ( err ) { }
+}
+
// Optimize for push.apply( _, NodeList )
try {
push.apply(
@@ -731,32 +787,22 @@ try {
preferredDoc.childNodes
);
- // Support: Android<4.0
+ // Support: Android <=4.0
// Detect silently failing push.apply
// eslint-disable-next-line no-unused-expressions
arr[ preferredDoc.childNodes.length ].nodeType;
} catch ( e ) {
- push = { apply: arr.length ?
-
- // Leverage slice if possible
- function( target, els ) {
+ push = {
+ apply: function( target, els ) {
pushNative.apply( target, slice.call( els ) );
- } :
-
- // Support: IE<9
- // Otherwise append directly
- function( target, els ) {
- var j = target.length,
- i = 0;
-
- // Can't trust NodeList.length
- while ( ( target[ j++ ] = els[ i++ ] ) ) {}
- target.length = j - 1;
+ },
+ call: function( target ) {
+ pushNative.apply( target, slice.call( arguments, 1 ) );
}
};
}
-function Sizzle( selector, context, results, seed ) {
+function find( selector, context, results, seed ) {
var m, i, elem, nid, match, groups, newSelector,
newContext = context && context.ownerDocument,
@@ -790,11 +836,10 @@ function Sizzle( selector, context, results, seed ) {
if ( nodeType === 9 ) {
if ( ( elem = context.getElementById( m ) ) ) {
- // Support: IE, Opera, Webkit
- // TODO: identify versions
+ // Support: IE 9 only
// getElementById can match elements by name instead of ID
if ( elem.id === m ) {
- results.push( elem );
+ push.call( results, elem );
return results;
}
} else {
@@ -804,14 +849,13 @@ function Sizzle( selector, context, results, seed ) {
// Element context
} else {
- // Support: IE, Opera, Webkit
- // TODO: identify versions
+ // Support: IE 9 only
// getElementById can match elements by name instead of ID
if ( newContext && ( elem = newContext.getElementById( m ) ) &&
- contains( context, elem ) &&
+ find.contains( context, elem ) &&
elem.id === m ) {
- results.push( elem );
+ push.call( results, elem );
return results;
}
}
@@ -822,22 +866,15 @@ function Sizzle( selector, context, results, seed ) {
return results;
// Class selector
- } else if ( ( m = match[ 3 ] ) && support.getElementsByClassName &&
- context.getElementsByClassName ) {
-
+ } else if ( ( m = match[ 3 ] ) && context.getElementsByClassName ) {
push.apply( results, context.getElementsByClassName( m ) );
return results;
}
}
// Take advantage of querySelectorAll
- if ( support.qsa &&
- !nonnativeSelectorCache[ selector + " " ] &&
- ( !rbuggyQSA || !rbuggyQSA.test( selector ) ) &&
-
- // Support: IE 8 only
- // Exclude object elements
- ( nodeType !== 1 || context.nodeName.toLowerCase() !== "object" ) ) {
+ if ( !nonnativeSelectorCache[ selector + " " ] &&
+ ( !rbuggyQSA || !rbuggyQSA.test( selector ) ) ) {
newSelector = selector;
newContext = context;
@@ -850,7 +887,7 @@ function Sizzle( selector, context, results, seed ) {
// as such selectors are not recognized by querySelectorAll.
// Thanks to Andrew Dupont for this technique.
if ( nodeType === 1 &&
- ( rdescend.test( selector ) || rcombinators.test( selector ) ) ) {
+ ( rdescend.test( selector ) || rleadingCombinator.test( selector ) ) ) {
// Expand context for sibling selectors
newContext = rsibling.test( selector ) && testContext( context.parentNode ) ||
@@ -858,11 +895,15 @@ function Sizzle( selector, context, results, seed ) {
// We can use :scope instead of the ID hack if the browser
// supports it & if we're not changing the context.
- if ( newContext !== context || !support.scope ) {
+ // Support: IE 11+, Edge 17 - 18+
+ // IE/Edge sometimes throw a "Permission denied" error when
+ // strict-comparing two documents; shallow comparisons work.
+ // eslint-disable-next-line eqeqeq
+ if ( newContext != context || !support.scope ) {
// Capture the context ID, setting it first if necessary
if ( ( nid = context.getAttribute( "id" ) ) ) {
- nid = nid.replace( rcssescape, fcssescape );
+ nid = jQuery.escapeSelector( nid );
} else {
context.setAttribute( "id", ( nid = expando ) );
}
@@ -895,7 +936,7 @@ function Sizzle( selector, context, results, seed ) {
}
// All others
- return select( selector.replace( rtrim, "$1" ), context, results, seed );
+ return select( selector.replace( rtrimCSS, "$1" ), context, results, seed );
}
/**
@@ -909,7 +950,8 @@ function createCache() {
function cache( key, value ) {
- // Use (key + " ") to avoid collision with native prototype properties (see Issue #157)
+ // Use (key + " ") to avoid collision with native prototype properties
+ // (see https://github.com/jquery/sizzle/issues/157)
if ( keys.push( key + " " ) > Expr.cacheLength ) {
// Only keep the most recent entries
@@ -921,7 +963,7 @@ function createCache() {
}
/**
- * Mark a function for special use by Sizzle
+ * Mark a function for special use by jQuery selector module
* @param {Function} fn The function to mark
*/
function markFunction( fn ) {
@@ -952,56 +994,13 @@ function assert( fn ) {
}
}
-/**
- * Adds the same handler for all of the specified attrs
- * @param {String} attrs Pipe-separated list of attributes
- * @param {Function} handler The method that will be applied
- */
-function addHandle( attrs, handler ) {
- var arr = attrs.split( "|" ),
- i = arr.length;
-
- while ( i-- ) {
- Expr.attrHandle[ arr[ i ] ] = handler;
- }
-}
-
-/**
- * Checks document order of two siblings
- * @param {Element} a
- * @param {Element} b
- * @returns {Number} Returns less than 0 if a precedes b, greater than 0 if a follows b
- */
-function siblingCheck( a, b ) {
- var cur = b && a,
- diff = cur && a.nodeType === 1 && b.nodeType === 1 &&
- a.sourceIndex - b.sourceIndex;
-
- // Use IE sourceIndex if available on both nodes
- if ( diff ) {
- return diff;
- }
-
- // Check if b follows a
- if ( cur ) {
- while ( ( cur = cur.nextSibling ) ) {
- if ( cur === b ) {
- return -1;
- }
- }
- }
-
- return a ? 1 : -1;
-}
-
/**
* Returns a function to use in pseudos for input types
* @param {String} type
*/
function createInputPseudo( type ) {
return function( elem ) {
- var name = elem.nodeName.toLowerCase();
- return name === "input" && elem.type === type;
+ return nodeName( elem, "input" ) && elem.type === type;
};
}
@@ -1011,8 +1010,8 @@ function createInputPseudo( type ) {
*/
function createButtonPseudo( type ) {
return function( elem ) {
- var name = elem.nodeName.toLowerCase();
- return ( name === "input" || name === "button" ) && elem.type === type;
+ return ( nodeName( elem, "input" ) || nodeName( elem, "button" ) ) &&
+ elem.type === type;
};
}
@@ -1048,14 +1047,13 @@ function createDisabledPseudo( disabled ) {
}
}
- // Support: IE 6 - 11
+ // Support: IE 6 - 11+
// Use the isDisabled shortcut property to check for disabled fieldset ancestors
return elem.isDisabled === disabled ||
// Where there is no isDisabled, check manually
- /* jshint -W018 */
elem.isDisabled !== !disabled &&
- inDisabledFieldset( elem ) === disabled;
+ inDisabledFieldset( elem ) === disabled;
}
return elem.disabled === disabled;
@@ -1095,7 +1093,7 @@ function createPositionalPseudo( fn ) {
}
/**
- * Checks a node for validity as a Sizzle context
+ * Checks a node for validity as a jQuery selector context
* @param {Element|Object=} context
* @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value
*/
@@ -1103,31 +1101,13 @@ function testContext( context ) {
return context && typeof context.getElementsByTagName !== "undefined" && context;
}
-// Expose support vars for convenience
-support = Sizzle.support = {};
-
-/**
- * Detects XML nodes
- * @param {Element|Object} elem An element or a document
- * @returns {Boolean} True iff elem is a non-HTML XML node
- */
-isXML = Sizzle.isXML = function( elem ) {
- var namespace = elem && elem.namespaceURI,
- docElem = elem && ( elem.ownerDocument || elem ).documentElement;
-
- // Support: IE <=8
- // Assume HTML when documentElement doesn't yet exist, such as inside loading iframes
- // https://bugs.jquery.com/ticket/4833
- return !rhtml.test( namespace || docElem && docElem.nodeName || "HTML" );
-};
-
/**
* Sets document-related variables once based on the current document
- * @param {Element|Object} [doc] An element or document object to use to set the document
+ * @param {Element|Object} [node] An element or document object to use to set the document
* @returns {Object} Returns the current document
*/
-setDocument = Sizzle.setDocument = function( node ) {
- var hasCompare, subWindow,
+function setDocument( node ) {
+ var subWindow,
doc = node ? node.ownerDocument || node : preferredDoc;
// Return early if doc is invalid or already selected
@@ -1141,87 +1121,90 @@ setDocument = Sizzle.setDocument = function( node ) {
// Update global variables
document = doc;
- docElem = document.documentElement;
- documentIsHTML = !isXML( document );
+ documentElement = document.documentElement;
+ documentIsHTML = !jQuery.isXMLDoc( document );
+
+ // Support: iOS 7 only, IE 9 - 11+
+ // Older browsers didn't support unprefixed `matches`.
+ matches = documentElement.matches ||
+ documentElement.webkitMatchesSelector ||
+ documentElement.msMatchesSelector;
// Support: IE 9 - 11+, Edge 12 - 18+
- // Accessing iframe documents after unload throws "permission denied" errors (jQuery #13936)
- // Support: IE 11+, Edge 17 - 18+
- // IE/Edge sometimes throw a "Permission denied" error when strict-comparing
- // two documents; shallow comparisons work.
- // eslint-disable-next-line eqeqeq
- if ( preferredDoc != document &&
+ // Accessing iframe documents after unload throws "permission denied" errors
+ // (see trac-13936).
+ // Limit the fix to IE & Edge Legacy; despite Edge 15+ implementing `matches`,
+ // all IE 9+ and Edge Legacy versions implement `msMatchesSelector` as well.
+ if ( documentElement.msMatchesSelector &&
+
+ // Support: IE 11+, Edge 17 - 18+
+ // IE/Edge sometimes throw a "Permission denied" error when strict-comparing
+ // two documents; shallow comparisons work.
+ // eslint-disable-next-line eqeqeq
+ preferredDoc != document &&
( subWindow = document.defaultView ) && subWindow.top !== subWindow ) {
- // Support: IE 11, Edge
- if ( subWindow.addEventListener ) {
- subWindow.addEventListener( "unload", unloadHandler, false );
-
- // Support: IE 9 - 10 only
- } else if ( subWindow.attachEvent ) {
- subWindow.attachEvent( "onunload", unloadHandler );
- }
+ // Support: IE 9 - 11+, Edge 12 - 18+
+ subWindow.addEventListener( "unload", unloadHandler );
}
- // Support: IE 8 - 11+, Edge 12 - 18+, Chrome <=16 - 25 only, Firefox <=3.6 - 31 only,
- // Safari 4 - 5 only, Opera <=11.6 - 12.x only
- // IE/Edge & older browsers don't support the :scope pseudo-class.
- // Support: Safari 6.0 only
- // Safari 6.0 supports :scope but it's an alias of :root there.
- support.scope = assert( function( el ) {
- docElem.appendChild( el ).appendChild( document.createElement( "div" ) );
- return typeof el.querySelectorAll !== "undefined" &&
- !el.querySelectorAll( ":scope fieldset div" ).length;
- } );
-
- /* Attributes
- ---------------------------------------------------------------------- */
-
- // Support: IE<8
- // Verify that getAttribute really returns attributes and not properties
- // (excepting IE8 booleans)
- support.attributes = assert( function( el ) {
- el.className = "i";
- return !el.getAttribute( "className" );
- } );
-
- /* getElement(s)By*
- ---------------------------------------------------------------------- */
-
- // Check if getElementsByTagName("*") returns only elements
- support.getElementsByTagName = assert( function( el ) {
- el.appendChild( document.createComment( "" ) );
- return !el.getElementsByTagName( "*" ).length;
- } );
-
- // Support: IE<9
- support.getElementsByClassName = rnative.test( document.getElementsByClassName );
-
- // Support: IE<10
+ // Support: IE <10
// Check if getElementById returns elements by name
// The broken getElementById methods don't pick up programmatically-set names,
// so use a roundabout getElementsByName test
support.getById = assert( function( el ) {
- docElem.appendChild( el ).id = expando;
- return !document.getElementsByName || !document.getElementsByName( expando ).length;
+ documentElement.appendChild( el ).id = jQuery.expando;
+ return !document.getElementsByName ||
+ !document.getElementsByName( jQuery.expando ).length;
+ } );
+
+ // Support: IE 9 only
+ // Check to see if it's possible to do matchesSelector
+ // on a disconnected node.
+ support.disconnectedMatch = assert( function( el ) {
+ return matches.call( el, "*" );
+ } );
+
+ // Support: IE 9 - 11+, Edge 12 - 18+
+ // IE/Edge don't support the :scope pseudo-class.
+ support.scope = assert( function() {
+ return document.querySelectorAll( ":scope" );
+ } );
+
+ // Support: Chrome 105 - 111 only, Safari 15.4 - 16.3 only
+ // Make sure the `:has()` argument is parsed unforgivingly.
+ // We include `*` in the test to detect buggy implementations that are
+ // _selectively_ forgiving (specifically when the list includes at least
+ // one valid selector).
+ // Note that we treat complete lack of support for `:has()` as if it were
+ // spec-compliant support, which is fine because use of `:has()` in such
+ // environments will fail in the qSA path and fall back to jQuery traversal
+ // anyway.
+ support.cssHas = assert( function() {
+ try {
+ document.querySelector( ":has(*,:jqfake)" );
+ return false;
+ } catch ( e ) {
+ return true;
+ }
} );
// ID filter and find
if ( support.getById ) {
- Expr.filter[ "ID" ] = function( id ) {
+ Expr.filter.ID = function( id ) {
var attrId = id.replace( runescape, funescape );
return function( elem ) {
return elem.getAttribute( "id" ) === attrId;
};
};
- Expr.find[ "ID" ] = function( id, context ) {
+ Expr.find.ID = function( id, context ) {
if ( typeof context.getElementById !== "undefined" && documentIsHTML ) {
var elem = context.getElementById( id );
return elem ? [ elem ] : [];
}
};
} else {
- Expr.filter[ "ID" ] = function( id ) {
+ Expr.filter.ID = function( id ) {
var attrId = id.replace( runescape, funescape );
return function( elem ) {
var node = typeof elem.getAttributeNode !== "undefined" &&
@@ -1232,7 +1215,7 @@ setDocument = Sizzle.setDocument = function( node ) {
// Support: IE 6 - 7 only
// getElementById is not reliable as a find shortcut
- Expr.find[ "ID" ] = function( id, context ) {
+ Expr.find.ID = function( id, context ) {
if ( typeof context.getElementById !== "undefined" && documentIsHTML ) {
var node, i, elems,
elem = context.getElementById( id );
@@ -1262,40 +1245,18 @@ setDocument = Sizzle.setDocument = function( node ) {
}
// Tag
- Expr.find[ "TAG" ] = support.getElementsByTagName ?
- function( tag, context ) {
- if ( typeof context.getElementsByTagName !== "undefined" ) {
- return context.getElementsByTagName( tag );
+ Expr.find.TAG = function( tag, context ) {
+ if ( typeof context.getElementsByTagName !== "undefined" ) {
+ return context.getElementsByTagName( tag );
- // DocumentFragment nodes don't have gEBTN
- } else if ( support.qsa ) {
- return context.querySelectorAll( tag );
- }
- } :
-
- function( tag, context ) {
- var elem,
- tmp = [],
- i = 0,
-
- // By happy coincidence, a (broken) gEBTN appears on DocumentFragment nodes too
- results = context.getElementsByTagName( tag );
-
- // Filter out possible comments
- if ( tag === "*" ) {
- while ( ( elem = results[ i++ ] ) ) {
- if ( elem.nodeType === 1 ) {
- tmp.push( elem );
- }
- }
-
- return tmp;
- }
- return results;
- };
+ // DocumentFragment nodes don't have gEBTN
+ } else {
+ return context.querySelectorAll( tag );
+ }
+ };
// Class
- Expr.find[ "CLASS" ] = support.getElementsByClassName && function( className, context ) {
+ Expr.find.CLASS = function( className, context ) {
if ( typeof context.getElementsByClassName !== "undefined" && documentIsHTML ) {
return context.getElementsByClassName( className );
}
@@ -1306,177 +1267,94 @@ setDocument = Sizzle.setDocument = function( node ) {
// QSA and matchesSelector support
- // matchesSelector(:active) reports false when true (IE9/Opera 11.5)
- rbuggyMatches = [];
-
- // qSa(:focus) reports false when true (Chrome 21)
- // We allow this because of a bug in IE8/9 that throws an error
- // whenever `document.activeElement` is accessed on an iframe
- // So, we allow :focus to pass through QSA all the time to avoid the IE error
- // See https://bugs.jquery.com/ticket/13378
rbuggyQSA = [];
- if ( ( support.qsa = rnative.test( document.querySelectorAll ) ) ) {
+ // Build QSA regex
+ // Regex strategy adopted from Diego Perini
+ assert( function( el ) {
- // Build QSA regex
- // Regex strategy adopted from Diego Perini
- assert( function( el ) {
+ var input;
- var input;
+ documentElement.appendChild( el ).innerHTML =
+ " " +
+ "" +
+ " ";
- // Select is set to empty string on purpose
- // This is to test IE's treatment of not explicitly
- // setting a boolean content attribute,
- // since its presence should be enough
- // https://bugs.jquery.com/ticket/12359
- docElem.appendChild( el ).innerHTML = " " +
- "" +
- " ";
+ // Support: iOS <=7 - 8 only
+ // Boolean attributes and "value" are not treated correctly in some XML documents
+ if ( !el.querySelectorAll( "[selected]" ).length ) {
+ rbuggyQSA.push( "\\[" + whitespace + "*(?:value|" + booleans + ")" );
+ }
- // Support: IE8, Opera 11-12.16
- // Nothing should be selected when empty strings follow ^= or $= or *=
- // The test attribute must be unknown in Opera but "safe" for WinRT
- // https://msdn.microsoft.com/en-us/library/ie/hh465388.aspx#attribute_section
- if ( el.querySelectorAll( "[msallowcapture^='']" ).length ) {
- rbuggyQSA.push( "[*^$]=" + whitespace + "*(?:''|\"\")" );
- }
+ // Support: iOS <=7 - 8 only
+ if ( !el.querySelectorAll( "[id~=" + expando + "-]" ).length ) {
+ rbuggyQSA.push( "~=" );
+ }
- // Support: IE8
- // Boolean attributes and "value" are not treated correctly
- if ( !el.querySelectorAll( "[selected]" ).length ) {
- rbuggyQSA.push( "\\[" + whitespace + "*(?:value|" + booleans + ")" );
- }
+ // Support: iOS 8 only
+ // https://bugs.webkit.org/show_bug.cgi?id=136851
+ // In-page `selector#id sibling-combinator selector` fails
+ if ( !el.querySelectorAll( "a#" + expando + "+*" ).length ) {
+ rbuggyQSA.push( ".#.+[+~]" );
+ }
- // Support: Chrome<29, Android<4.4, Safari<7.0+, iOS<7.0+, PhantomJS<1.9.8+
- if ( !el.querySelectorAll( "[id~=" + expando + "-]" ).length ) {
- rbuggyQSA.push( "~=" );
- }
+ // Support: Chrome <=105+, Firefox <=104+, Safari <=15.4+
+ // In some of the document kinds, these selectors wouldn't work natively.
+ // This is probably OK but for backwards compatibility we want to maintain
+ // handling them through jQuery traversal in jQuery 3.x.
+ if ( !el.querySelectorAll( ":checked" ).length ) {
+ rbuggyQSA.push( ":checked" );
+ }
- // Support: IE 11+, Edge 15 - 18+
- // IE 11/Edge don't find elements on a `[name='']` query in some cases.
- // Adding a temporary attribute to the document before the selection works
- // around the issue.
- // Interestingly, IE 10 & older don't seem to have the issue.
- input = document.createElement( "input" );
- input.setAttribute( "name", "" );
- el.appendChild( input );
- if ( !el.querySelectorAll( "[name='']" ).length ) {
- rbuggyQSA.push( "\\[" + whitespace + "*name" + whitespace + "*=" +
- whitespace + "*(?:''|\"\")" );
- }
+ // Support: Windows 8 Native Apps
+ // The type and name attributes are restricted during .innerHTML assignment
+ input = document.createElement( "input" );
+ input.setAttribute( "type", "hidden" );
+ el.appendChild( input ).setAttribute( "name", "D" );
- // Webkit/Opera - :checked should return selected option elements
- // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked
- // IE8 throws error here and will not see later tests
- if ( !el.querySelectorAll( ":checked" ).length ) {
- rbuggyQSA.push( ":checked" );
- }
+ // Support: IE 9 - 11+
+ // IE's :disabled selector does not pick up the children of disabled fieldsets
+ // Support: Chrome <=105+, Firefox <=104+, Safari <=15.4+
+ // In some of the document kinds, these selectors wouldn't work natively.
+ // This is probably OK but for backwards compatibility we want to maintain
+ // handling them through jQuery traversal in jQuery 3.x.
+ documentElement.appendChild( el ).disabled = true;
+ if ( el.querySelectorAll( ":disabled" ).length !== 2 ) {
+ rbuggyQSA.push( ":enabled", ":disabled" );
+ }
- // Support: Safari 8+, iOS 8+
- // https://bugs.webkit.org/show_bug.cgi?id=136851
- // In-page `selector#id sibling-combinator selector` fails
- if ( !el.querySelectorAll( "a#" + expando + "+*" ).length ) {
- rbuggyQSA.push( ".#.+[+~]" );
- }
+ // Support: IE 11+, Edge 15 - 18+
+ // IE 11/Edge don't find elements on a `[name='']` query in some cases.
+ // Adding a temporary attribute to the document before the selection works
+ // around the issue.
+ // Interestingly, IE 10 & older don't seem to have the issue.
+ input = document.createElement( "input" );
+ input.setAttribute( "name", "" );
+ el.appendChild( input );
+ if ( !el.querySelectorAll( "[name='']" ).length ) {
+ rbuggyQSA.push( "\\[" + whitespace + "*name" + whitespace + "*=" +
+ whitespace + "*(?:''|\"\")" );
+ }
+ } );
- // Support: Firefox <=3.6 - 5 only
- // Old Firefox doesn't throw on a badly-escaped identifier.
- el.querySelectorAll( "\\\f" );
- rbuggyQSA.push( "[\\r\\n\\f]" );
- } );
+ if ( !support.cssHas ) {
- assert( function( el ) {
- el.innerHTML = " " +
- " ";
-
- // Support: Windows 8 Native Apps
- // The type and name attributes are restricted during .innerHTML assignment
- var input = document.createElement( "input" );
- input.setAttribute( "type", "hidden" );
- el.appendChild( input ).setAttribute( "name", "D" );
-
- // Support: IE8
- // Enforce case-sensitivity of name attribute
- if ( el.querySelectorAll( "[name=d]" ).length ) {
- rbuggyQSA.push( "name" + whitespace + "*[*^$|!~]?=" );
- }
-
- // FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled)
- // IE8 throws error here and will not see later tests
- if ( el.querySelectorAll( ":enabled" ).length !== 2 ) {
- rbuggyQSA.push( ":enabled", ":disabled" );
- }
-
- // Support: IE9-11+
- // IE's :disabled selector does not pick up the children of disabled fieldsets
- docElem.appendChild( el ).disabled = true;
- if ( el.querySelectorAll( ":disabled" ).length !== 2 ) {
- rbuggyQSA.push( ":enabled", ":disabled" );
- }
-
- // Support: Opera 10 - 11 only
- // Opera 10-11 does not throw on post-comma invalid pseudos
- el.querySelectorAll( "*,:x" );
- rbuggyQSA.push( ",.*:" );
- } );
- }
-
- if ( ( support.matchesSelector = rnative.test( ( matches = docElem.matches ||
- docElem.webkitMatchesSelector ||
- docElem.mozMatchesSelector ||
- docElem.oMatchesSelector ||
- docElem.msMatchesSelector ) ) ) ) {
-
- assert( function( el ) {
-
- // Check to see if it's possible to do matchesSelector
- // on a disconnected node (IE 9)
- support.disconnectedMatch = matches.call( el, "*" );
-
- // This should fail with an exception
- // Gecko does not error, returns false instead
- matches.call( el, "[s!='']:x" );
- rbuggyMatches.push( "!=", pseudos );
- } );
+ // Support: Chrome 105 - 110+, Safari 15.4 - 16.3+
+ // Our regular `try-catch` mechanism fails to detect natively-unsupported
+ // pseudo-classes inside `:has()` (such as `:has(:contains("Foo"))`)
+ // in browsers that parse the `:has()` argument as a forgiving selector list.
+ // https://drafts.csswg.org/selectors/#relational now requires the argument
+ // to be parsed unforgivingly, but browsers have not yet fully adjusted.
+ rbuggyQSA.push( ":has" );
}
rbuggyQSA = rbuggyQSA.length && new RegExp( rbuggyQSA.join( "|" ) );
- rbuggyMatches = rbuggyMatches.length && new RegExp( rbuggyMatches.join( "|" ) );
-
- /* Contains
- ---------------------------------------------------------------------- */
- hasCompare = rnative.test( docElem.compareDocumentPosition );
-
- // Element contains another
- // Purposefully self-exclusive
- // As in, an element does not contain itself
- contains = hasCompare || rnative.test( docElem.contains ) ?
- function( a, b ) {
- var adown = a.nodeType === 9 ? a.documentElement : a,
- bup = b && b.parentNode;
- return a === bup || !!( bup && bup.nodeType === 1 && (
- adown.contains ?
- adown.contains( bup ) :
- a.compareDocumentPosition && a.compareDocumentPosition( bup ) & 16
- ) );
- } :
- function( a, b ) {
- if ( b ) {
- while ( ( b = b.parentNode ) ) {
- if ( b === a ) {
- return true;
- }
- }
- }
- return false;
- };
/* Sorting
---------------------------------------------------------------------- */
// Document order sorting
- sortOrder = hasCompare ?
- function( a, b ) {
+ sortOrder = function( a, b ) {
// Flag for duplicate removal
if ( a === b ) {
@@ -1510,8 +1388,8 @@ setDocument = Sizzle.setDocument = function( node ) {
// IE/Edge sometimes throw a "Permission denied" error when strict-comparing
// two documents; shallow comparisons work.
// eslint-disable-next-line eqeqeq
- if ( a == document || a.ownerDocument == preferredDoc &&
- contains( preferredDoc, a ) ) {
+ if ( a === document || a.ownerDocument == preferredDoc &&
+ find.contains( preferredDoc, a ) ) {
return -1;
}
@@ -1519,100 +1397,33 @@ setDocument = Sizzle.setDocument = function( node ) {
// IE/Edge sometimes throw a "Permission denied" error when strict-comparing
// two documents; shallow comparisons work.
// eslint-disable-next-line eqeqeq
- if ( b == document || b.ownerDocument == preferredDoc &&
- contains( preferredDoc, b ) ) {
+ if ( b === document || b.ownerDocument == preferredDoc &&
+ find.contains( preferredDoc, b ) ) {
return 1;
}
// Maintain original order
return sortInput ?
- ( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) :
+ ( indexOf.call( sortInput, a ) - indexOf.call( sortInput, b ) ) :
0;
}
return compare & 4 ? -1 : 1;
- } :
- function( a, b ) {
-
- // Exit early if the nodes are identical
- if ( a === b ) {
- hasDuplicate = true;
- return 0;
- }
-
- var cur,
- i = 0,
- aup = a.parentNode,
- bup = b.parentNode,
- ap = [ a ],
- bp = [ b ];
-
- // Parentless nodes are either documents or disconnected
- if ( !aup || !bup ) {
-
- // Support: IE 11+, Edge 17 - 18+
- // IE/Edge sometimes throw a "Permission denied" error when strict-comparing
- // two documents; shallow comparisons work.
- /* eslint-disable eqeqeq */
- return a == document ? -1 :
- b == document ? 1 :
- /* eslint-enable eqeqeq */
- aup ? -1 :
- bup ? 1 :
- sortInput ?
- ( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) :
- 0;
-
- // If the nodes are siblings, we can do a quick check
- } else if ( aup === bup ) {
- return siblingCheck( a, b );
- }
-
- // Otherwise we need full lists of their ancestors for comparison
- cur = a;
- while ( ( cur = cur.parentNode ) ) {
- ap.unshift( cur );
- }
- cur = b;
- while ( ( cur = cur.parentNode ) ) {
- bp.unshift( cur );
- }
-
- // Walk down the tree looking for a discrepancy
- while ( ap[ i ] === bp[ i ] ) {
- i++;
- }
-
- return i ?
-
- // Do a sibling check if the nodes have a common ancestor
- siblingCheck( ap[ i ], bp[ i ] ) :
-
- // Otherwise nodes in our document sort first
- // Support: IE 11+, Edge 17 - 18+
- // IE/Edge sometimes throw a "Permission denied" error when strict-comparing
- // two documents; shallow comparisons work.
- /* eslint-disable eqeqeq */
- ap[ i ] == preferredDoc ? -1 :
- bp[ i ] == preferredDoc ? 1 :
- /* eslint-enable eqeqeq */
- 0;
};
return document;
+}
+
+find.matches = function( expr, elements ) {
+ return find( expr, null, null, elements );
};
-Sizzle.matches = function( expr, elements ) {
- return Sizzle( expr, null, null, elements );
-};
-
-Sizzle.matchesSelector = function( elem, expr ) {
+find.matchesSelector = function( elem, expr ) {
setDocument( elem );
- if ( support.matchesSelector && documentIsHTML &&
+ if ( documentIsHTML &&
!nonnativeSelectorCache[ expr + " " ] &&
- ( !rbuggyMatches || !rbuggyMatches.test( expr ) ) &&
- ( !rbuggyQSA || !rbuggyQSA.test( expr ) ) ) {
+ ( !rbuggyQSA || !rbuggyQSA.test( expr ) ) ) {
try {
var ret = matches.call( elem, expr );
@@ -1620,9 +1431,9 @@ Sizzle.matchesSelector = function( elem, expr ) {
// IE 9's matchesSelector returns false on disconnected nodes
if ( ret || support.disconnectedMatch ||
- // As well, disconnected nodes are said to be in a document
- // fragment in IE 9
- elem.document && elem.document.nodeType !== 11 ) {
+ // As well, disconnected nodes are said to be in a document
+ // fragment in IE 9
+ elem.document && elem.document.nodeType !== 11 ) {
return ret;
}
} catch ( e ) {
@@ -1630,10 +1441,10 @@ Sizzle.matchesSelector = function( elem, expr ) {
}
}
- return Sizzle( expr, document, null, [ elem ] ).length > 0;
+ return find( expr, document, null, [ elem ] ).length > 0;
};
-Sizzle.contains = function( context, elem ) {
+find.contains = function( context, elem ) {
// Set document vars if needed
// Support: IE 11+, Edge 17 - 18+
@@ -1643,10 +1454,11 @@ Sizzle.contains = function( context, elem ) {
if ( ( context.ownerDocument || context ) != document ) {
setDocument( context );
}
- return contains( context, elem );
+ return jQuery.contains( context, elem );
};
-Sizzle.attr = function( elem, name ) {
+
+find.attr = function( elem, name ) {
// Set document vars if needed
// Support: IE 11+, Edge 17 - 18+
@@ -1659,25 +1471,19 @@ Sizzle.attr = function( elem, name ) {
var fn = Expr.attrHandle[ name.toLowerCase() ],
- // Don't get fooled by Object.prototype properties (jQuery #13807)
+ // Don't get fooled by Object.prototype properties (see trac-13807)
val = fn && hasOwn.call( Expr.attrHandle, name.toLowerCase() ) ?
fn( elem, name, !documentIsHTML ) :
undefined;
- return val !== undefined ?
- val :
- support.attributes || !documentIsHTML ?
- elem.getAttribute( name ) :
- ( val = elem.getAttributeNode( name ) ) && val.specified ?
- val.value :
- null;
+ if ( val !== undefined ) {
+ return val;
+ }
+
+ return elem.getAttribute( name );
};
-Sizzle.escape = function( sel ) {
- return ( sel + "" ).replace( rcssescape, fcssescape );
-};
-
-Sizzle.error = function( msg ) {
+find.error = function( msg ) {
throw new Error( "Syntax error, unrecognized expression: " + msg );
};
@@ -1685,16 +1491,20 @@ Sizzle.error = function( msg ) {
* Document sorting and removing duplicates
* @param {ArrayLike} results
*/
-Sizzle.uniqueSort = function( results ) {
+jQuery.uniqueSort = function( results ) {
var elem,
duplicates = [],
j = 0,
i = 0;
// Unless we *know* we can detect duplicates, assume their presence
- hasDuplicate = !support.detectDuplicates;
- sortInput = !support.sortStable && results.slice( 0 );
- results.sort( sortOrder );
+ //
+ // Support: Android <=4.0+
+ // Testing for detecting duplicates is unpredictable so instead assume we can't
+ // depend on duplicate detection in all browsers without a stable sort.
+ hasDuplicate = !support.sortStable;
+ sortInput = !support.sortStable && slice.call( results, 0 );
+ sort.call( results, sortOrder );
if ( hasDuplicate ) {
while ( ( elem = results[ i++ ] ) ) {
@@ -1703,7 +1513,7 @@ Sizzle.uniqueSort = function( results ) {
}
}
while ( j-- ) {
- results.splice( duplicates[ j ], 1 );
+ splice.call( results, duplicates[ j ], 1 );
}
}
@@ -1714,47 +1524,11 @@ Sizzle.uniqueSort = function( results ) {
return results;
};
-/**
- * Utility function for retrieving the text value of an array of DOM nodes
- * @param {Array|Element} elem
- */
-getText = Sizzle.getText = function( elem ) {
- var node,
- ret = "",
- i = 0,
- nodeType = elem.nodeType;
-
- if ( !nodeType ) {
-
- // If no nodeType, this is expected to be an array
- while ( ( node = elem[ i++ ] ) ) {
-
- // Do not traverse comment nodes
- ret += getText( node );
- }
- } else if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) {
-
- // Use textContent for elements
- // innerText usage removed for consistency of new lines (jQuery #11153)
- if ( typeof elem.textContent === "string" ) {
- return elem.textContent;
- } else {
-
- // Traverse its children
- for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) {
- ret += getText( elem );
- }
- }
- } else if ( nodeType === 3 || nodeType === 4 ) {
- return elem.nodeValue;
- }
-
- // Do not include comment or processing instruction nodes
-
- return ret;
+jQuery.fn.uniqueSort = function() {
+ return this.pushStack( jQuery.uniqueSort( slice.apply( this ) ) );
};
-Expr = Sizzle.selectors = {
+Expr = jQuery.expr = {
// Can be adjusted by the user
cacheLength: 50,
@@ -1775,12 +1549,12 @@ Expr = Sizzle.selectors = {
},
preFilter: {
- "ATTR": function( match ) {
+ ATTR: function( match ) {
match[ 1 ] = match[ 1 ].replace( runescape, funescape );
// Move the given value to match[3] whether quoted or unquoted
- match[ 3 ] = ( match[ 3 ] || match[ 4 ] ||
- match[ 5 ] || "" ).replace( runescape, funescape );
+ match[ 3 ] = ( match[ 3 ] || match[ 4 ] || match[ 5 ] || "" )
+ .replace( runescape, funescape );
if ( match[ 2 ] === "~=" ) {
match[ 3 ] = " " + match[ 3 ] + " ";
@@ -1789,7 +1563,7 @@ Expr = Sizzle.selectors = {
return match.slice( 0, 4 );
},
- "CHILD": function( match ) {
+ CHILD: function( match ) {
/* matches from matchExpr["CHILD"]
1 type (only|nth|...)
@@ -1807,29 +1581,30 @@ Expr = Sizzle.selectors = {
// nth-* requires argument
if ( !match[ 3 ] ) {
- Sizzle.error( match[ 0 ] );
+ find.error( match[ 0 ] );
}
// numeric x and y parameters for Expr.filter.CHILD
// remember that false/true cast respectively to 0/1
match[ 4 ] = +( match[ 4 ] ?
match[ 5 ] + ( match[ 6 ] || 1 ) :
- 2 * ( match[ 3 ] === "even" || match[ 3 ] === "odd" ) );
+ 2 * ( match[ 3 ] === "even" || match[ 3 ] === "odd" )
+ );
match[ 5 ] = +( ( match[ 7 ] + match[ 8 ] ) || match[ 3 ] === "odd" );
- // other types prohibit arguments
+ // other types prohibit arguments
} else if ( match[ 3 ] ) {
- Sizzle.error( match[ 0 ] );
+ find.error( match[ 0 ] );
}
return match;
},
- "PSEUDO": function( match ) {
+ PSEUDO: function( match ) {
var excess,
unquoted = !match[ 6 ] && match[ 2 ];
- if ( matchExpr[ "CHILD" ].test( match[ 0 ] ) ) {
+ if ( matchExpr.CHILD.test( match[ 0 ] ) ) {
return null;
}
@@ -1858,36 +1633,36 @@ Expr = Sizzle.selectors = {
filter: {
- "TAG": function( nodeNameSelector ) {
- var nodeName = nodeNameSelector.replace( runescape, funescape ).toLowerCase();
+ TAG: function( nodeNameSelector ) {
+ var expectedNodeName = nodeNameSelector.replace( runescape, funescape ).toLowerCase();
return nodeNameSelector === "*" ?
function() {
return true;
} :
function( elem ) {
- return elem.nodeName && elem.nodeName.toLowerCase() === nodeName;
+ return nodeName( elem, expectedNodeName );
};
},
- "CLASS": function( className ) {
+ CLASS: function( className ) {
var pattern = classCache[ className + " " ];
return pattern ||
- ( pattern = new RegExp( "(^|" + whitespace +
- ")" + className + "(" + whitespace + "|$)" ) ) && classCache(
- className, function( elem ) {
- return pattern.test(
- typeof elem.className === "string" && elem.className ||
- typeof elem.getAttribute !== "undefined" &&
- elem.getAttribute( "class" ) ||
- ""
- );
+ ( pattern = new RegExp( "(^|" + whitespace + ")" + className +
+ "(" + whitespace + "|$)" ) ) &&
+ classCache( className, function( elem ) {
+ return pattern.test(
+ typeof elem.className === "string" && elem.className ||
+ typeof elem.getAttribute !== "undefined" &&
+ elem.getAttribute( "class" ) ||
+ ""
+ );
} );
},
- "ATTR": function( name, operator, check ) {
+ ATTR: function( name, operator, check ) {
return function( elem ) {
- var result = Sizzle.attr( elem, name );
+ var result = find.attr( elem, name );
if ( result == null ) {
return operator === "!=";
@@ -1898,22 +1673,34 @@ Expr = Sizzle.selectors = {
result += "";
- /* eslint-disable max-len */
-
- return operator === "=" ? result === check :
- operator === "!=" ? result !== check :
- operator === "^=" ? check && result.indexOf( check ) === 0 :
- operator === "*=" ? check && result.indexOf( check ) > -1 :
- operator === "$=" ? check && result.slice( -check.length ) === check :
- operator === "~=" ? ( " " + result.replace( rwhitespace, " " ) + " " ).indexOf( check ) > -1 :
- operator === "|=" ? result === check || result.slice( 0, check.length + 1 ) === check + "-" :
- false;
- /* eslint-enable max-len */
+ if ( operator === "=" ) {
+ return result === check;
+ }
+ if ( operator === "!=" ) {
+ return result !== check;
+ }
+ if ( operator === "^=" ) {
+ return check && result.indexOf( check ) === 0;
+ }
+ if ( operator === "*=" ) {
+ return check && result.indexOf( check ) > -1;
+ }
+ if ( operator === "$=" ) {
+ return check && result.slice( -check.length ) === check;
+ }
+ if ( operator === "~=" ) {
+ return ( " " + result.replace( rwhitespace, " " ) + " " )
+ .indexOf( check ) > -1;
+ }
+ if ( operator === "|=" ) {
+ return result === check || result.slice( 0, check.length + 1 ) === check + "-";
+ }
+ return false;
};
},
- "CHILD": function( type, what, _argument, first, last ) {
+ CHILD: function( type, what, _argument, first, last ) {
var simple = type.slice( 0, 3 ) !== "nth",
forward = type.slice( -4 ) !== "last",
ofType = what === "of-type";
@@ -1926,7 +1713,7 @@ Expr = Sizzle.selectors = {
} :
function( elem, _context, xml ) {
- var cache, uniqueCache, outerCache, node, nodeIndex, start,
+ var cache, outerCache, node, nodeIndex, start,
dir = simple !== forward ? "nextSibling" : "previousSibling",
parent = elem.parentNode,
name = ofType && elem.nodeName.toLowerCase(),
@@ -1941,7 +1728,7 @@ Expr = Sizzle.selectors = {
node = elem;
while ( ( node = node[ dir ] ) ) {
if ( ofType ?
- node.nodeName.toLowerCase() === name :
+ nodeName( node, name ) :
node.nodeType === 1 ) {
return false;
@@ -1960,17 +1747,8 @@ Expr = Sizzle.selectors = {
if ( forward && useCache ) {
// Seek `elem` from a previously-cached index
-
- // ...in a gzip-friendly way
- node = parent;
- outerCache = node[ expando ] || ( node[ expando ] = {} );
-
- // Support: IE <9 only
- // Defend against cloned attroperties (jQuery gh-1709)
- uniqueCache = outerCache[ node.uniqueID ] ||
- ( outerCache[ node.uniqueID ] = {} );
-
- cache = uniqueCache[ type ] || [];
+ outerCache = parent[ expando ] || ( parent[ expando ] = {} );
+ cache = outerCache[ type ] || [];
nodeIndex = cache[ 0 ] === dirruns && cache[ 1 ];
diff = nodeIndex && cache[ 2 ];
node = nodeIndex && parent.childNodes[ nodeIndex ];
@@ -1982,7 +1760,7 @@ Expr = Sizzle.selectors = {
// When found, cache indexes on `parent` and break
if ( node.nodeType === 1 && ++diff && node === elem ) {
- uniqueCache[ type ] = [ dirruns, nodeIndex, diff ];
+ outerCache[ type ] = [ dirruns, nodeIndex, diff ];
break;
}
}
@@ -1991,17 +1769,8 @@ Expr = Sizzle.selectors = {
// Use previously-cached element index if available
if ( useCache ) {
-
- // ...in a gzip-friendly way
- node = elem;
- outerCache = node[ expando ] || ( node[ expando ] = {} );
-
- // Support: IE <9 only
- // Defend against cloned attroperties (jQuery gh-1709)
- uniqueCache = outerCache[ node.uniqueID ] ||
- ( outerCache[ node.uniqueID ] = {} );
-
- cache = uniqueCache[ type ] || [];
+ outerCache = elem[ expando ] || ( elem[ expando ] = {} );
+ cache = outerCache[ type ] || [];
nodeIndex = cache[ 0 ] === dirruns && cache[ 1 ];
diff = nodeIndex;
}
@@ -2015,7 +1784,7 @@ Expr = Sizzle.selectors = {
( diff = nodeIndex = 0 ) || start.pop() ) ) {
if ( ( ofType ?
- node.nodeName.toLowerCase() === name :
+ nodeName( node, name ) :
node.nodeType === 1 ) &&
++diff ) {
@@ -2023,13 +1792,7 @@ Expr = Sizzle.selectors = {
if ( useCache ) {
outerCache = node[ expando ] ||
( node[ expando ] = {} );
-
- // Support: IE <9 only
- // Defend against cloned attroperties (jQuery gh-1709)
- uniqueCache = outerCache[ node.uniqueID ] ||
- ( outerCache[ node.uniqueID ] = {} );
-
- uniqueCache[ type ] = [ dirruns, diff ];
+ outerCache[ type ] = [ dirruns, diff ];
}
if ( node === elem ) {
@@ -2047,19 +1810,19 @@ Expr = Sizzle.selectors = {
};
},
- "PSEUDO": function( pseudo, argument ) {
+ PSEUDO: function( pseudo, argument ) {
// pseudo-class names are case-insensitive
- // http://www.w3.org/TR/selectors/#pseudo-classes
+ // https://www.w3.org/TR/selectors/#pseudo-classes
// Prioritize by case sensitivity in case custom pseudos are added with uppercase letters
// Remember that setFilters inherits from pseudos
var args,
fn = Expr.pseudos[ pseudo ] || Expr.setFilters[ pseudo.toLowerCase() ] ||
- Sizzle.error( "unsupported pseudo: " + pseudo );
+ find.error( "unsupported pseudo: " + pseudo );
// The user may use createPseudo to indicate that
// arguments are needed to create the filter function
- // just as Sizzle does
+ // just as jQuery does
if ( fn[ expando ] ) {
return fn( argument );
}
@@ -2073,7 +1836,7 @@ Expr = Sizzle.selectors = {
matched = fn( seed, argument ),
i = matched.length;
while ( i-- ) {
- idx = indexOf( seed, matched[ i ] );
+ idx = indexOf.call( seed, matched[ i ] );
seed[ idx ] = !( matches[ idx ] = matched[ i ] );
}
} ) :
@@ -2089,14 +1852,14 @@ Expr = Sizzle.selectors = {
pseudos: {
// Potentially complex pseudos
- "not": markFunction( function( selector ) {
+ not: markFunction( function( selector ) {
// Trim the selector passed to compile
// to avoid treating leading and trailing
// spaces as combinators
var input = [],
results = [],
- matcher = compile( selector.replace( rtrim, "$1" ) );
+ matcher = compile( selector.replace( rtrimCSS, "$1" ) );
return matcher[ expando ] ?
markFunction( function( seed, matches, _context, xml ) {
@@ -2115,22 +1878,23 @@ Expr = Sizzle.selectors = {
input[ 0 ] = elem;
matcher( input, null, xml, results );
- // Don't keep the element (issue #299)
+ // Don't keep the element
+ // (see https://github.com/jquery/sizzle/issues/299)
input[ 0 ] = null;
return !results.pop();
};
} ),
- "has": markFunction( function( selector ) {
+ has: markFunction( function( selector ) {
return function( elem ) {
- return Sizzle( selector, elem ).length > 0;
+ return find( selector, elem ).length > 0;
};
} ),
- "contains": markFunction( function( text ) {
+ contains: markFunction( function( text ) {
text = text.replace( runescape, funescape );
return function( elem ) {
- return ( elem.textContent || getText( elem ) ).indexOf( text ) > -1;
+ return ( elem.textContent || jQuery.text( elem ) ).indexOf( text ) > -1;
};
} ),
@@ -2140,12 +1904,12 @@ Expr = Sizzle.selectors = {
// or beginning with the identifier C immediately followed by "-".
// The matching of C against the element's language value is performed case-insensitively.
// The identifier C does not have to be a valid language name."
- // http://www.w3.org/TR/selectors/#lang-pseudo
- "lang": markFunction( function( lang ) {
+ // https://www.w3.org/TR/selectors/#lang-pseudo
+ lang: markFunction( function( lang ) {
// lang value must be a valid identifier
if ( !ridentifier.test( lang || "" ) ) {
- Sizzle.error( "unsupported lang: " + lang );
+ find.error( "unsupported lang: " + lang );
}
lang = lang.replace( runescape, funescape ).toLowerCase();
return function( elem ) {
@@ -2164,38 +1928,39 @@ Expr = Sizzle.selectors = {
} ),
// Miscellaneous
- "target": function( elem ) {
+ target: function( elem ) {
var hash = window.location && window.location.hash;
return hash && hash.slice( 1 ) === elem.id;
},
- "root": function( elem ) {
- return elem === docElem;
+ root: function( elem ) {
+ return elem === documentElement;
},
- "focus": function( elem ) {
- return elem === document.activeElement &&
- ( !document.hasFocus || document.hasFocus() ) &&
+ focus: function( elem ) {
+ return elem === safeActiveElement() &&
+ document.hasFocus() &&
!!( elem.type || elem.href || ~elem.tabIndex );
},
// Boolean properties
- "enabled": createDisabledPseudo( false ),
- "disabled": createDisabledPseudo( true ),
+ enabled: createDisabledPseudo( false ),
+ disabled: createDisabledPseudo( true ),
- "checked": function( elem ) {
+ checked: function( elem ) {
// In CSS3, :checked should return both checked and selected elements
- // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked
- var nodeName = elem.nodeName.toLowerCase();
- return ( nodeName === "input" && !!elem.checked ) ||
- ( nodeName === "option" && !!elem.selected );
+ // https://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked
+ return ( nodeName( elem, "input" ) && !!elem.checked ) ||
+ ( nodeName( elem, "option" ) && !!elem.selected );
},
- "selected": function( elem ) {
+ selected: function( elem ) {
- // Accessing this property makes selected-by-default
- // options in Safari work properly
+ // Support: IE <=11+
+ // Accessing the selectedIndex property
+ // forces the browser to treat the default option as
+ // selected when in an optgroup.
if ( elem.parentNode ) {
// eslint-disable-next-line no-unused-expressions
elem.parentNode.selectedIndex;
@@ -2205,9 +1970,9 @@ Expr = Sizzle.selectors = {
},
// Contents
- "empty": function( elem ) {
+ empty: function( elem ) {
- // http://www.w3.org/TR/selectors/#empty-pseudo
+ // https://www.w3.org/TR/selectors/#empty-pseudo
// :empty is negated by element (1) or content nodes (text: 3; cdata: 4; entity ref: 5),
// but not by others (comment: 8; processing instruction: 7; etc.)
// nodeType < 6 works because attributes (2) do not appear as children
@@ -2219,49 +1984,49 @@ Expr = Sizzle.selectors = {
return true;
},
- "parent": function( elem ) {
- return !Expr.pseudos[ "empty" ]( elem );
+ parent: function( elem ) {
+ return !Expr.pseudos.empty( elem );
},
// Element/input types
- "header": function( elem ) {
+ header: function( elem ) {
return rheader.test( elem.nodeName );
},
- "input": function( elem ) {
+ input: function( elem ) {
return rinputs.test( elem.nodeName );
},
- "button": function( elem ) {
- var name = elem.nodeName.toLowerCase();
- return name === "input" && elem.type === "button" || name === "button";
+ button: function( elem ) {
+ return nodeName( elem, "input" ) && elem.type === "button" ||
+ nodeName( elem, "button" );
},
- "text": function( elem ) {
+ text: function( elem ) {
var attr;
- return elem.nodeName.toLowerCase() === "input" &&
- elem.type === "text" &&
+ return nodeName( elem, "input" ) && elem.type === "text" &&
- // Support: IE<8
- // New HTML5 attribute values (e.g., "search") appear with elem.type === "text"
+ // Support: IE <10 only
+ // New HTML5 attribute values (e.g., "search") appear
+ // with elem.type === "text"
( ( attr = elem.getAttribute( "type" ) ) == null ||
attr.toLowerCase() === "text" );
},
// Position-in-collection
- "first": createPositionalPseudo( function() {
+ first: createPositionalPseudo( function() {
return [ 0 ];
} ),
- "last": createPositionalPseudo( function( _matchIndexes, length ) {
+ last: createPositionalPseudo( function( _matchIndexes, length ) {
return [ length - 1 ];
} ),
- "eq": createPositionalPseudo( function( _matchIndexes, length, argument ) {
+ eq: createPositionalPseudo( function( _matchIndexes, length, argument ) {
return [ argument < 0 ? argument + length : argument ];
} ),
- "even": createPositionalPseudo( function( matchIndexes, length ) {
+ even: createPositionalPseudo( function( matchIndexes, length ) {
var i = 0;
for ( ; i < length; i += 2 ) {
matchIndexes.push( i );
@@ -2269,7 +2034,7 @@ Expr = Sizzle.selectors = {
return matchIndexes;
} ),
- "odd": createPositionalPseudo( function( matchIndexes, length ) {
+ odd: createPositionalPseudo( function( matchIndexes, length ) {
var i = 1;
for ( ; i < length; i += 2 ) {
matchIndexes.push( i );
@@ -2277,19 +2042,24 @@ Expr = Sizzle.selectors = {
return matchIndexes;
} ),
- "lt": createPositionalPseudo( function( matchIndexes, length, argument ) {
- var i = argument < 0 ?
- argument + length :
- argument > length ?
- length :
- argument;
+ lt: createPositionalPseudo( function( matchIndexes, length, argument ) {
+ var i;
+
+ if ( argument < 0 ) {
+ i = argument + length;
+ } else if ( argument > length ) {
+ i = length;
+ } else {
+ i = argument;
+ }
+
for ( ; --i >= 0; ) {
matchIndexes.push( i );
}
return matchIndexes;
} ),
- "gt": createPositionalPseudo( function( matchIndexes, length, argument ) {
+ gt: createPositionalPseudo( function( matchIndexes, length, argument ) {
var i = argument < 0 ? argument + length : argument;
for ( ; ++i < length; ) {
matchIndexes.push( i );
@@ -2299,7 +2069,7 @@ Expr = Sizzle.selectors = {
}
};
-Expr.pseudos[ "nth" ] = Expr.pseudos[ "eq" ];
+Expr.pseudos.nth = Expr.pseudos.eq;
// Add button/input type pseudos
for ( i in { radio: true, checkbox: true, file: true, password: true, image: true } ) {
@@ -2314,7 +2084,7 @@ function setFilters() {}
setFilters.prototype = Expr.filters = Expr.pseudos;
Expr.setFilters = new setFilters();
-tokenize = Sizzle.tokenize = function( selector, parseOnly ) {
+function tokenize( selector, parseOnly ) {
var matched, match, tokens, type,
soFar, groups, preFilters,
cached = tokenCache[ selector + " " ];
@@ -2342,13 +2112,13 @@ tokenize = Sizzle.tokenize = function( selector, parseOnly ) {
matched = false;
// Combinators
- if ( ( match = rcombinators.exec( soFar ) ) ) {
+ if ( ( match = rleadingCombinator.exec( soFar ) ) ) {
matched = match.shift();
tokens.push( {
value: matched,
// Cast descendant combinators to space
- type: match[ 0 ].replace( rtrim, " " )
+ type: match[ 0 ].replace( rtrimCSS, " " )
} );
soFar = soFar.slice( matched.length );
}
@@ -2375,14 +2145,16 @@ tokenize = Sizzle.tokenize = function( selector, parseOnly ) {
// Return the length of the invalid excess
// if we're just parsing
// Otherwise, throw an error or return tokens
- return parseOnly ?
- soFar.length :
- soFar ?
- Sizzle.error( selector ) :
+ if ( parseOnly ) {
+ return soFar.length;
+ }
- // Cache the tokens
- tokenCache( selector, groups ).slice( 0 );
-};
+ return soFar ?
+ find.error( selector ) :
+
+ // Cache the tokens
+ tokenCache( selector, groups ).slice( 0 );
+}
function toSelector( tokens ) {
var i = 0,
@@ -2415,7 +2187,7 @@ function addCombinator( matcher, combinator, base ) {
// Check against all ancestor/preceding elements
function( elem, context, xml ) {
- var oldCache, uniqueCache, outerCache,
+ var oldCache, outerCache,
newCache = [ dirruns, doneName ];
// We can't set arbitrary data on XML nodes, so they don't benefit from combinator caching
@@ -2432,14 +2204,9 @@ function addCombinator( matcher, combinator, base ) {
if ( elem.nodeType === 1 || checkNonElements ) {
outerCache = elem[ expando ] || ( elem[ expando ] = {} );
- // Support: IE <9 only
- // Defend against cloned attroperties (jQuery gh-1709)
- uniqueCache = outerCache[ elem.uniqueID ] ||
- ( outerCache[ elem.uniqueID ] = {} );
-
- if ( skip && skip === elem.nodeName.toLowerCase() ) {
+ if ( skip && nodeName( elem, skip ) ) {
elem = elem[ dir ] || elem;
- } else if ( ( oldCache = uniqueCache[ key ] ) &&
+ } else if ( ( oldCache = outerCache[ key ] ) &&
oldCache[ 0 ] === dirruns && oldCache[ 1 ] === doneName ) {
// Assign to newCache so results back-propagate to previous elements
@@ -2447,7 +2214,7 @@ function addCombinator( matcher, combinator, base ) {
} else {
// Reuse newcache so results back-propagate to previous elements
- uniqueCache[ key ] = newCache;
+ outerCache[ key ] = newCache;
// A match means we're done; a fail means we have to keep checking
if ( ( newCache[ 2 ] = matcher( elem, context, xml ) ) ) {
@@ -2479,7 +2246,7 @@ function multipleContexts( selector, contexts, results ) {
var i = 0,
len = contexts.length;
for ( ; i < len; i++ ) {
- Sizzle( selector, contexts[ i ], results );
+ find( selector, contexts[ i ], results );
}
return results;
}
@@ -2513,38 +2280,37 @@ function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postS
postFinder = setMatcher( postFinder, postSelector );
}
return markFunction( function( seed, results, context, xml ) {
- var temp, i, elem,
+ var temp, i, elem, matcherOut,
preMap = [],
postMap = [],
preexisting = results.length,
// Get initial elements from seed or context
- elems = seed || multipleContexts(
- selector || "*",
- context.nodeType ? [ context ] : context,
- []
- ),
+ elems = seed ||
+ multipleContexts( selector || "*",
+ context.nodeType ? [ context ] : context, [] ),
// Prefilter to get matcher input, preserving a map for seed-results synchronization
matcherIn = preFilter && ( seed || !selector ) ?
condense( elems, preMap, preFilter, context, xml ) :
- elems,
+ elems;
- matcherOut = matcher ?
-
- // If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results,
- postFinder || ( seed ? preFilter : preexisting || postFilter ) ?
-
- // ...intermediate processing is necessary
- [] :
-
- // ...otherwise use results directly
- results :
- matcherIn;
-
- // Find primary matches
if ( matcher ) {
+
+ // If we have a postFinder, or filtered seed, or non-seed postFilter
+ // or preexisting results,
+ matcherOut = postFinder || ( seed ? preFilter : preexisting || postFilter ) ?
+
+ // ...intermediate processing is necessary
+ [] :
+
+ // ...otherwise use results directly
+ results;
+
+ // Find primary matches
matcher( matcherIn, matcherOut, context, xml );
+ } else {
+ matcherOut = matcherIn;
}
// Apply postFilter
@@ -2582,7 +2348,7 @@ function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postS
i = matcherOut.length;
while ( i-- ) {
if ( ( elem = matcherOut[ i ] ) &&
- ( temp = postFinder ? indexOf( seed, elem ) : preMap[ i ] ) > -1 ) {
+ ( temp = postFinder ? indexOf.call( seed, elem ) : preMap[ i ] ) > -1 ) {
seed[ temp ] = !( results[ temp ] = elem );
}
@@ -2617,15 +2383,21 @@ function matcherFromTokens( tokens ) {
return elem === checkContext;
}, implicitRelative, true ),
matchAnyContext = addCombinator( function( elem ) {
- return indexOf( checkContext, elem ) > -1;
+ return indexOf.call( checkContext, elem ) > -1;
}, implicitRelative, true ),
matchers = [ function( elem, context, xml ) {
- var ret = ( !leadingRelative && ( xml || context !== outermostContext ) ) || (
+
+ // Support: IE 11+, Edge 17 - 18+
+ // IE/Edge sometimes throw a "Permission denied" error when strict-comparing
+ // two documents; shallow comparisons work.
+ // eslint-disable-next-line eqeqeq
+ var ret = ( !leadingRelative && ( xml || context != outermostContext ) ) || (
( checkContext = context ).nodeType ?
matchContext( elem, context, xml ) :
matchAnyContext( elem, context, xml ) );
- // Avoid hanging onto element (issue #299)
+ // Avoid hanging onto element
+ // (see https://github.com/jquery/sizzle/issues/299)
checkContext = null;
return ret;
} ];
@@ -2650,11 +2422,10 @@ function matcherFromTokens( tokens ) {
i > 1 && elementMatcher( matchers ),
i > 1 && toSelector(
- // If the preceding token was a descendant combinator, insert an implicit any-element `*`
- tokens
- .slice( 0, i - 1 )
- .concat( { value: tokens[ i - 2 ].type === " " ? "*" : "" } )
- ).replace( rtrim, "$1" ),
+ // If the preceding token was a descendant combinator, insert an implicit any-element `*`
+ tokens.slice( 0, i - 1 )
+ .concat( { value: tokens[ i - 2 ].type === " " ? "*" : "" } )
+ ).replace( rtrimCSS, "$1" ),
matcher,
i < j && matcherFromTokens( tokens.slice( i, j ) ),
j < len && matcherFromTokens( ( tokens = tokens.slice( j ) ) ),
@@ -2680,7 +2451,7 @@ function matcherFromGroupMatchers( elementMatchers, setMatchers ) {
contextBackup = outermostContext,
// We must always have either seed elements or outermost context
- elems = seed || byElement && Expr.find[ "TAG" ]( "*", outermost ),
+ elems = seed || byElement && Expr.find.TAG( "*", outermost ),
// Use integer dirruns iff this is the outermost matcher
dirrunsUnique = ( dirruns += contextBackup == null ? 1 : Math.random() || 0.1 ),
@@ -2696,8 +2467,9 @@ function matcherFromGroupMatchers( elementMatchers, setMatchers ) {
}
// Add elements passing elementMatchers directly to results
- // Support: IE<9, Safari
- // Tolerate NodeList properties (IE: "length"; Safari: ) matching elements by id
+ // Support: iOS <=7 - 9 only
+ // Tolerate NodeList properties (IE: "length"; Safari: ) matching
+ // elements by id. (see trac-14142)
for ( ; i !== len && ( elem = elems[ i ] ) != null; i++ ) {
if ( byElement && elem ) {
j = 0;
@@ -2712,7 +2484,7 @@ function matcherFromGroupMatchers( elementMatchers, setMatchers ) {
}
while ( ( matcher = elementMatchers[ j++ ] ) ) {
if ( matcher( elem, context || document, xml ) ) {
- results.push( elem );
+ push.call( results, elem );
break;
}
}
@@ -2775,7 +2547,7 @@ function matcherFromGroupMatchers( elementMatchers, setMatchers ) {
if ( outermost && !seed && setMatched.length > 0 &&
( matchedCount + setMatchers.length ) > 1 ) {
- Sizzle.uniqueSort( results );
+ jQuery.uniqueSort( results );
}
}
@@ -2793,7 +2565,7 @@ function matcherFromGroupMatchers( elementMatchers, setMatchers ) {
superMatcher;
}
-compile = Sizzle.compile = function( selector, match /* Internal Use Only */ ) {
+function compile( selector, match /* Internal Use Only */ ) {
var i,
setMatchers = [],
elementMatchers = [],
@@ -2816,27 +2588,25 @@ compile = Sizzle.compile = function( selector, match /* Internal Use Only */ ) {
}
// Cache the compiled function
- cached = compilerCache(
- selector,
- matcherFromGroupMatchers( elementMatchers, setMatchers )
- );
+ cached = compilerCache( selector,
+ matcherFromGroupMatchers( elementMatchers, setMatchers ) );
// Save selector and tokenization
cached.selector = selector;
}
return cached;
-};
+}
/**
- * A low-level selection function that works with Sizzle's compiled
+ * A low-level selection function that works with jQuery's compiled
* selector functions
* @param {String|Function} selector A selector or a pre-compiled
- * selector function built with Sizzle.compile
+ * selector function built with jQuery selector compile
* @param {Element} context
* @param {Array} [results]
* @param {Array} [seed] A set of elements to match against
*/
-select = Sizzle.select = function( selector, context, results, seed ) {
+function select( selector, context, results, seed ) {
var i, tokens, token, type, find,
compiled = typeof selector === "function" && selector,
match = !seed && tokenize( ( selector = compiled.selector || selector ) );
@@ -2850,10 +2620,12 @@ select = Sizzle.select = function( selector, context, results, seed ) {
// Reduce context if the leading compound selector is an ID
tokens = match[ 0 ] = match[ 0 ].slice( 0 );
if ( tokens.length > 2 && ( token = tokens[ 0 ] ).type === "ID" &&
- context.nodeType === 9 && documentIsHTML && Expr.relative[ tokens[ 1 ].type ] ) {
+ context.nodeType === 9 && documentIsHTML && Expr.relative[ tokens[ 1 ].type ] ) {
- context = ( Expr.find[ "ID" ]( token.matches[ 0 ]
- .replace( runescape, funescape ), context ) || [] )[ 0 ];
+ context = ( Expr.find.ID(
+ token.matches[ 0 ].replace( runescape, funescape ),
+ context
+ ) || [] )[ 0 ];
if ( !context ) {
return results;
@@ -2866,7 +2638,7 @@ select = Sizzle.select = function( selector, context, results, seed ) {
}
// Fetch a seed set for right-to-left matching
- i = matchExpr[ "needsContext" ].test( selector ) ? 0 : tokens.length;
+ i = matchExpr.needsContext.test( selector ) ? 0 : tokens.length;
while ( i-- ) {
token = tokens[ i ];
@@ -2879,8 +2651,8 @@ select = Sizzle.select = function( selector, context, results, seed ) {
// Search, expanding context for leading sibling combinators
if ( ( seed = find(
token.matches[ 0 ].replace( runescape, funescape ),
- rsibling.test( tokens[ 0 ].type ) && testContext( context.parentNode ) ||
- context
+ rsibling.test( tokens[ 0 ].type ) &&
+ testContext( context.parentNode ) || context
) ) ) {
// If seed is empty or no tokens remain, we can return early
@@ -2907,21 +2679,18 @@ select = Sizzle.select = function( selector, context, results, seed ) {
!context || rsibling.test( selector ) && testContext( context.parentNode ) || context
);
return results;
-};
+}
// One-time assignments
+// Support: Android <=4.0 - 4.1+
// Sort stability
support.sortStable = expando.split( "" ).sort( sortOrder ).join( "" ) === expando;
-// Support: Chrome 14-35+
-// Always assume duplicates if they aren't passed to the comparison function
-support.detectDuplicates = !!hasDuplicate;
-
// Initialize against the default document
setDocument();
-// Support: Webkit<537.32 - Safari 6.0.3/Chrome 25 (fixed in Chrome 27)
+// Support: Android <=4.0 - 4.1+
// Detached nodes confoundingly follow *each other*
support.sortDetached = assert( function( el ) {
@@ -2929,68 +2698,29 @@ support.sortDetached = assert( function( el ) {
return el.compareDocumentPosition( document.createElement( "fieldset" ) ) & 1;
} );
-// Support: IE<8
-// Prevent attribute/property "interpolation"
-// https://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx
-if ( !assert( function( el ) {
- el.innerHTML = " ";
- return el.firstChild.getAttribute( "href" ) === "#";
-} ) ) {
- addHandle( "type|href|height|width", function( elem, name, isXML ) {
- if ( !isXML ) {
- return elem.getAttribute( name, name.toLowerCase() === "type" ? 1 : 2 );
- }
- } );
-}
-
-// Support: IE<9
-// Use defaultValue in place of getAttribute("value")
-if ( !support.attributes || !assert( function( el ) {
- el.innerHTML = " ";
- el.firstChild.setAttribute( "value", "" );
- return el.firstChild.getAttribute( "value" ) === "";
-} ) ) {
- addHandle( "value", function( elem, _name, isXML ) {
- if ( !isXML && elem.nodeName.toLowerCase() === "input" ) {
- return elem.defaultValue;
- }
- } );
-}
-
-// Support: IE<9
-// Use getAttributeNode to fetch booleans when getAttribute lies
-if ( !assert( function( el ) {
- return el.getAttribute( "disabled" ) == null;
-} ) ) {
- addHandle( booleans, function( elem, name, isXML ) {
- var val;
- if ( !isXML ) {
- return elem[ name ] === true ? name.toLowerCase() :
- ( val = elem.getAttributeNode( name ) ) && val.specified ?
- val.value :
- null;
- }
- } );
-}
-
-return Sizzle;
-
-} )( window );
-
-
-
-jQuery.find = Sizzle;
-jQuery.expr = Sizzle.selectors;
+jQuery.find = find;
// Deprecated
jQuery.expr[ ":" ] = jQuery.expr.pseudos;
-jQuery.uniqueSort = jQuery.unique = Sizzle.uniqueSort;
-jQuery.text = Sizzle.getText;
-jQuery.isXMLDoc = Sizzle.isXML;
-jQuery.contains = Sizzle.contains;
-jQuery.escapeSelector = Sizzle.escape;
+jQuery.unique = jQuery.uniqueSort;
+// These have always been private, but they used to be documented as part of
+// Sizzle so let's maintain them for now for backwards compatibility purposes.
+find.compile = compile;
+find.select = select;
+find.setDocument = setDocument;
+find.tokenize = tokenize;
+find.escape = jQuery.escapeSelector;
+find.getText = jQuery.text;
+find.isXML = jQuery.isXMLDoc;
+find.selectors = jQuery.expr;
+find.support = jQuery.support;
+find.uniqueSort = jQuery.uniqueSort;
+
+ /* eslint-enable */
+
+} )();
var dir = function( elem, dir, until ) {
@@ -3024,13 +2754,6 @@ var siblings = function( n, elem ) {
var rneedsContext = jQuery.expr.match.needsContext;
-
-
-function nodeName( elem, name ) {
-
- return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase();
-
-}
var rsingleTag = ( /^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i );
@@ -3129,8 +2852,8 @@ jQuery.fn.extend( {
var rootjQuery,
// A simple way to check for HTML strings
- // Prioritize #id over to avoid XSS via location.hash (#9521)
- // Strict HTML recognition (#11290: must start with <)
+ // Prioritize #id over to avoid XSS via location.hash (trac-9521)
+ // Strict HTML recognition (trac-11290: must start with <)
// Shortcut simple #id case for speed
rquickExpr = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,
@@ -3281,7 +3004,7 @@ jQuery.fn.extend( {
if ( cur.nodeType < 11 && ( targets ?
targets.index( cur ) > -1 :
- // Don't pass non-elements to Sizzle
+ // Don't pass non-elements to jQuery#find
cur.nodeType === 1 &&
jQuery.find.matchesSelector( cur, selectors ) ) ) {
@@ -3836,7 +3559,7 @@ jQuery.extend( {
if ( jQuery.Deferred.exceptionHook ) {
jQuery.Deferred.exceptionHook( e,
- process.stackTrace );
+ process.error );
}
// Support: Promises/A+ section 2.3.3.3.4.1
@@ -3864,10 +3587,17 @@ jQuery.extend( {
process();
} else {
- // Call an optional hook to record the stack, in case of exception
+ // Call an optional hook to record the error, in case of exception
// since it's otherwise lost when execution goes async
- if ( jQuery.Deferred.getStackHook ) {
- process.stackTrace = jQuery.Deferred.getStackHook();
+ if ( jQuery.Deferred.getErrorHook ) {
+ process.error = jQuery.Deferred.getErrorHook();
+
+ // The deprecated alias of the above. While the name suggests
+ // returning the stack, not an error instance, jQuery just passes
+ // it directly to `console.warn` so both will work; an instance
+ // just better cooperates with source maps.
+ } else if ( jQuery.Deferred.getStackHook ) {
+ process.error = jQuery.Deferred.getStackHook();
}
window.setTimeout( process );
}
@@ -4042,12 +3772,16 @@ jQuery.extend( {
// warn about them ASAP rather than swallowing them by default.
var rerrorNames = /^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;
-jQuery.Deferred.exceptionHook = function( error, stack ) {
+// If `jQuery.Deferred.getErrorHook` is defined, `asyncError` is an error
+// captured before the async barrier to get the original error cause
+// which may otherwise be hidden.
+jQuery.Deferred.exceptionHook = function( error, asyncError ) {
// Support: IE 8 - 9 only
// Console exists when dev tools are open, which can happen at any time
if ( window.console && window.console.warn && error && rerrorNames.test( error.name ) ) {
- window.console.warn( "jQuery.Deferred exception: " + error.message, error.stack, stack );
+ window.console.warn( "jQuery.Deferred exception: " + error.message,
+ error.stack, asyncError );
}
};
@@ -4087,7 +3821,7 @@ jQuery.extend( {
isReady: false,
// A counter to track how many items to wait for before
- // the ready event fires. See #6781
+ // the ready event fires. See trac-6781
readyWait: 1,
// Handle when the DOM is ready
@@ -4215,7 +3949,7 @@ function fcamelCase( _all, letter ) {
// Convert dashed to camelCase; used by the css and data modules
// Support: IE <=9 - 11, Edge 12 - 15
-// Microsoft forgot to hump their vendor prefix (#9572)
+// Microsoft forgot to hump their vendor prefix (trac-9572)
function camelCase( string ) {
return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase );
}
@@ -4251,7 +3985,7 @@ Data.prototype = {
value = {};
// We can accept data for non-element nodes in modern browsers,
- // but we should not, see #8335.
+ // but we should not, see trac-8335.
// Always return an empty object.
if ( acceptData( owner ) ) {
@@ -4490,7 +4224,7 @@ jQuery.fn.extend( {
while ( i-- ) {
// Support: IE 11 only
- // The attrs elements can be null (#14894)
+ // The attrs elements can be null (trac-14894)
if ( attrs[ i ] ) {
name = attrs[ i ].name;
if ( name.indexOf( "data-" ) === 0 ) {
@@ -4913,9 +4647,9 @@ var rscriptType = ( /^$|^module$|\/(?:java|ecma)script/i );
input = document.createElement( "input" );
// Support: Android 4.0 - 4.3 only
- // Check state lost if the name is set (#11217)
+ // Check state lost if the name is set (trac-11217)
// Support: Windows Web Apps (WWA)
- // `name` and `type` must use .setAttribute for WWA (#14901)
+ // `name` and `type` must use .setAttribute for WWA (trac-14901)
input.setAttribute( "type", "radio" );
input.setAttribute( "checked", "checked" );
input.setAttribute( "name", "t" );
@@ -4939,7 +4673,7 @@ var rscriptType = ( /^$|^module$|\/(?:java|ecma)script/i );
} )();
-// We have to close these tags to support XHTML (#13200)
+// We have to close these tags to support XHTML (trac-13200)
var wrapMap = {
// XHTML parsers do not magically insert elements in the
@@ -4965,7 +4699,7 @@ if ( !support.option ) {
function getAll( context, tag ) {
// Support: IE <=9 - 11 only
- // Use typeof to avoid zero-argument method invocation on host objects (#15151)
+ // Use typeof to avoid zero-argument method invocation on host objects (trac-15151)
var ret;
if ( typeof context.getElementsByTagName !== "undefined" ) {
@@ -5048,7 +4782,7 @@ function buildFragment( elems, context, scripts, selection, ignored ) {
// Remember the top-level container
tmp = fragment.firstChild;
- // Ensure the created nodes are orphaned (#12392)
+ // Ensure the created nodes are orphaned (trac-12392)
tmp.textContent = "";
}
}
@@ -5103,25 +4837,6 @@ function returnFalse() {
return false;
}
-// Support: IE <=9 - 11+
-// focus() and blur() are asynchronous, except when they are no-op.
-// So expect focus to be synchronous when the element is already active,
-// and blur to be synchronous when the element is not already active.
-// (focus and blur are always synchronous in other supported browsers,
-// this just defines when we can count on it).
-function expectSync( elem, type ) {
- return ( elem === safeActiveElement() ) === ( type === "focus" );
-}
-
-// Support: IE <=9 only
-// Accessing document.activeElement can throw unexpectedly
-// https://bugs.jquery.com/ticket/13393
-function safeActiveElement() {
- try {
- return document.activeElement;
- } catch ( err ) { }
-}
-
function on( elem, types, selector, data, fn, one ) {
var origFn, type;
@@ -5469,15 +5184,15 @@ jQuery.event = {
for ( ; cur !== this; cur = cur.parentNode || this ) {
- // Don't check non-elements (#13208)
- // Don't process clicks on disabled elements (#6911, #8165, #11382, #11764)
+ // Don't check non-elements (trac-13208)
+ // Don't process clicks on disabled elements (trac-6911, trac-8165, trac-11382, trac-11764)
if ( cur.nodeType === 1 && !( event.type === "click" && cur.disabled === true ) ) {
matchedHandlers = [];
matchedSelectors = {};
for ( i = 0; i < delegateCount; i++ ) {
handleObj = handlers[ i ];
- // Don't conflict with Object.prototype properties (#13203)
+ // Don't conflict with Object.prototype properties (trac-13203)
sel = handleObj.selector + " ";
if ( matchedSelectors[ sel ] === undefined ) {
@@ -5559,7 +5274,7 @@ jQuery.event = {
el.click && nodeName( el, "input" ) ) {
// dataPriv.set( el, "click", ... )
- leverageNative( el, "click", returnTrue );
+ leverageNative( el, "click", true );
}
// Return false to allow normal processing in the caller
@@ -5610,10 +5325,10 @@ jQuery.event = {
// synthetic events by interrupting progress until reinvoked in response to
// *native* events that it fires directly, ensuring that state changes have
// already occurred before other listeners are invoked.
-function leverageNative( el, type, expectSync ) {
+function leverageNative( el, type, isSetup ) {
- // Missing expectSync indicates a trigger call, which must force setup through jQuery.event.add
- if ( !expectSync ) {
+ // Missing `isSetup` indicates a trigger call, which must force setup through jQuery.event.add
+ if ( !isSetup ) {
if ( dataPriv.get( el, type ) === undefined ) {
jQuery.event.add( el, type, returnTrue );
}
@@ -5625,15 +5340,13 @@ function leverageNative( el, type, expectSync ) {
jQuery.event.add( el, type, {
namespace: false,
handler: function( event ) {
- var notAsync, result,
+ var result,
saved = dataPriv.get( this, type );
if ( ( event.isTrigger & 1 ) && this[ type ] ) {
// Interrupt processing of the outer synthetic .trigger()ed event
- // Saved data should be false in such cases, but might be a leftover capture object
- // from an async native handler (gh-4350)
- if ( !saved.length ) {
+ if ( !saved ) {
// Store arguments for use when handling the inner native event
// There will always be at least one argument (an event object), so this array
@@ -5642,33 +5355,22 @@ function leverageNative( el, type, expectSync ) {
dataPriv.set( this, type, saved );
// Trigger the native event and capture its result
- // Support: IE <=9 - 11+
- // focus() and blur() are asynchronous
- notAsync = expectSync( this, type );
this[ type ]();
result = dataPriv.get( this, type );
- if ( saved !== result || notAsync ) {
- dataPriv.set( this, type, false );
- } else {
- result = {};
- }
+ dataPriv.set( this, type, false );
+
if ( saved !== result ) {
// Cancel the outer synthetic event
event.stopImmediatePropagation();
event.preventDefault();
- // Support: Chrome 86+
- // In Chrome, if an element having a focusout handler is blurred by
- // clicking outside of it, it invokes the handler synchronously. If
- // that handler calls `.remove()` on the element, the data is cleared,
- // leaving `result` undefined. We need to guard against this.
- return result && result.value;
+ return result;
}
// If this is an inner synthetic event for an event with a bubbling surrogate
- // (focus or blur), assume that the surrogate already propagated from triggering the
- // native event and prevent that from happening again here.
+ // (focus or blur), assume that the surrogate already propagated from triggering
+ // the native event and prevent that from happening again here.
// This technically gets the ordering wrong w.r.t. to `.trigger()` (in which the
// bubbling surrogate propagates *after* the non-bubbling base), but that seems
// less bad than duplication.
@@ -5678,22 +5380,25 @@ function leverageNative( el, type, expectSync ) {
// If this is a native event triggered above, everything is now in order
// Fire an inner synthetic event with the original arguments
- } else if ( saved.length ) {
+ } else if ( saved ) {
// ...and capture the result
- dataPriv.set( this, type, {
- value: jQuery.event.trigger(
+ dataPriv.set( this, type, jQuery.event.trigger(
+ saved[ 0 ],
+ saved.slice( 1 ),
+ this
+ ) );
- // Support: IE <=9 - 11+
- // Extend with the prototype to reset the above stopImmediatePropagation()
- jQuery.extend( saved[ 0 ], jQuery.Event.prototype ),
- saved.slice( 1 ),
- this
- )
- } );
-
- // Abort handling of the native event
- event.stopImmediatePropagation();
+ // Abort handling of the native event by all jQuery handlers while allowing
+ // native handlers on the same element to run. On target, this is achieved
+ // by stopping immediate propagation just on the jQuery event. However,
+ // the native event is re-wrapped by a jQuery one on each level of the
+ // propagation so the only way to stop it for jQuery is to stop it for
+ // everyone via native `stopPropagation()`. This is not a problem for
+ // focus/blur which don't bubble, but it does also stop click on checkboxes
+ // and radios. We accept this limitation.
+ event.stopPropagation();
+ event.isImmediatePropagationStopped = returnTrue;
}
}
} );
@@ -5731,7 +5436,7 @@ jQuery.Event = function( src, props ) {
// Create target properties
// Support: Safari <=6 - 7 only
- // Target should not be a text node (#504, #13143)
+ // Target should not be a text node (trac-504, trac-13143)
this.target = ( src.target && src.target.nodeType === 3 ) ?
src.target.parentNode :
src.target;
@@ -5832,18 +5537,73 @@ jQuery.each( {
}, jQuery.event.addProp );
jQuery.each( { focus: "focusin", blur: "focusout" }, function( type, delegateType ) {
+
+ function focusMappedHandler( nativeEvent ) {
+ if ( document.documentMode ) {
+
+ // Support: IE 11+
+ // Attach a single focusin/focusout handler on the document while someone wants
+ // focus/blur. This is because the former are synchronous in IE while the latter
+ // are async. In other browsers, all those handlers are invoked synchronously.
+
+ // `handle` from private data would already wrap the event, but we need
+ // to change the `type` here.
+ var handle = dataPriv.get( this, "handle" ),
+ event = jQuery.event.fix( nativeEvent );
+ event.type = nativeEvent.type === "focusin" ? "focus" : "blur";
+ event.isSimulated = true;
+
+ // First, handle focusin/focusout
+ handle( nativeEvent );
+
+ // ...then, handle focus/blur
+ //
+ // focus/blur don't bubble while focusin/focusout do; simulate the former by only
+ // invoking the handler at the lower level.
+ if ( event.target === event.currentTarget ) {
+
+ // The setup part calls `leverageNative`, which, in turn, calls
+ // `jQuery.event.add`, so event handle will already have been set
+ // by this point.
+ handle( event );
+ }
+ } else {
+
+ // For non-IE browsers, attach a single capturing handler on the document
+ // while someone wants focusin/focusout.
+ jQuery.event.simulate( delegateType, nativeEvent.target,
+ jQuery.event.fix( nativeEvent ) );
+ }
+ }
+
jQuery.event.special[ type ] = {
// Utilize native event if possible so blur/focus sequence is correct
setup: function() {
+ var attaches;
+
// Claim the first handler
// dataPriv.set( this, "focus", ... )
// dataPriv.set( this, "blur", ... )
- leverageNative( this, type, expectSync );
+ leverageNative( this, type, true );
- // Return false to allow normal processing in the caller
- return false;
+ if ( document.documentMode ) {
+
+ // Support: IE 9 - 11+
+ // We use the same native handler for focusin & focus (and focusout & blur)
+ // so we need to coordinate setup & teardown parts between those events.
+ // Use `delegateType` as the key as `type` is already used by `leverageNative`.
+ attaches = dataPriv.get( this, delegateType );
+ if ( !attaches ) {
+ this.addEventListener( delegateType, focusMappedHandler );
+ }
+ dataPriv.set( this, delegateType, ( attaches || 0 ) + 1 );
+ } else {
+
+ // Return false to allow normal processing in the caller
+ return false;
+ }
},
trigger: function() {
@@ -5854,14 +5614,84 @@ jQuery.each( { focus: "focusin", blur: "focusout" }, function( type, delegateTyp
return true;
},
- // Suppress native focus or blur as it's already being fired
- // in leverageNative.
- _default: function() {
- return true;
+ teardown: function() {
+ var attaches;
+
+ if ( document.documentMode ) {
+ attaches = dataPriv.get( this, delegateType ) - 1;
+ if ( !attaches ) {
+ this.removeEventListener( delegateType, focusMappedHandler );
+ dataPriv.remove( this, delegateType );
+ } else {
+ dataPriv.set( this, delegateType, attaches );
+ }
+ } else {
+
+ // Return false to indicate standard teardown should be applied
+ return false;
+ }
+ },
+
+ // Suppress native focus or blur if we're currently inside
+ // a leveraged native-event stack
+ _default: function( event ) {
+ return dataPriv.get( event.target, type );
},
delegateType: delegateType
};
+
+ // Support: Firefox <=44
+ // Firefox doesn't have focus(in | out) events
+ // Related ticket - https://bugzilla.mozilla.org/show_bug.cgi?id=687787
+ //
+ // Support: Chrome <=48 - 49, Safari <=9.0 - 9.1
+ // focus(in | out) events fire after focus & blur events,
+ // which is spec violation - http://www.w3.org/TR/DOM-Level-3-Events/#events-focusevent-event-order
+ // Related ticket - https://bugs.chromium.org/p/chromium/issues/detail?id=449857
+ //
+ // Support: IE 9 - 11+
+ // To preserve relative focusin/focus & focusout/blur event order guaranteed on the 3.x branch,
+ // attach a single handler for both events in IE.
+ jQuery.event.special[ delegateType ] = {
+ setup: function() {
+
+ // Handle: regular nodes (via `this.ownerDocument`), window
+ // (via `this.document`) & document (via `this`).
+ var doc = this.ownerDocument || this.document || this,
+ dataHolder = document.documentMode ? this : doc,
+ attaches = dataPriv.get( dataHolder, delegateType );
+
+ // Support: IE 9 - 11+
+ // We use the same native handler for focusin & focus (and focusout & blur)
+ // so we need to coordinate setup & teardown parts between those events.
+ // Use `delegateType` as the key as `type` is already used by `leverageNative`.
+ if ( !attaches ) {
+ if ( document.documentMode ) {
+ this.addEventListener( delegateType, focusMappedHandler );
+ } else {
+ doc.addEventListener( type, focusMappedHandler, true );
+ }
+ }
+ dataPriv.set( dataHolder, delegateType, ( attaches || 0 ) + 1 );
+ },
+ teardown: function() {
+ var doc = this.ownerDocument || this.document || this,
+ dataHolder = document.documentMode ? this : doc,
+ attaches = dataPriv.get( dataHolder, delegateType ) - 1;
+
+ if ( !attaches ) {
+ if ( document.documentMode ) {
+ this.removeEventListener( delegateType, focusMappedHandler );
+ } else {
+ doc.removeEventListener( type, focusMappedHandler, true );
+ }
+ dataPriv.remove( dataHolder, delegateType );
+ } else {
+ dataPriv.set( dataHolder, delegateType, attaches );
+ }
+ }
+ };
} );
// Create mouseenter/leave events using mouseover/out and event-time checks
@@ -5956,7 +5786,8 @@ var
// checked="checked" or checked
rchecked = /checked\s*(?:[^=]|=\s*.checked.)/i,
- rcleanScript = /^\s*\s*$/g;
+
+ rcleanScript = /^\s*\s*$/g;
// Prefer a tbody over its parent table for containing new rows
function manipulationTarget( elem, content ) {
@@ -6070,7 +5901,7 @@ function domManip( collection, args, callback, ignored ) {
// Use the original fragment for the last item
// instead of the first because it can end up
- // being emptied incorrectly in certain situations (#8070).
+ // being emptied incorrectly in certain situations (trac-8070).
for ( ; i < l; i++ ) {
node = fragment;
@@ -6092,7 +5923,7 @@ function domManip( collection, args, callback, ignored ) {
if ( hasScripts ) {
doc = scripts[ scripts.length - 1 ].ownerDocument;
- // Reenable scripts
+ // Re-enable scripts
jQuery.map( scripts, restoreScript );
// Evaluate executable scripts on first document insertion
@@ -6111,6 +5942,12 @@ function domManip( collection, args, callback, ignored ) {
}, doc );
}
} else {
+
+ // Unwrap a CDATA section containing script contents. This shouldn't be
+ // needed as in XML documents they're already not visible when
+ // inspecting element contents and in HTML documents they have no
+ // meaning but we're preserving that logic for backwards compatibility.
+ // This will be removed completely in 4.0. See gh-4904.
DOMEval( node.textContent.replace( rcleanScript, "" ), node, doc );
}
}
@@ -6157,7 +5994,8 @@ jQuery.extend( {
if ( !support.noCloneChecked && ( elem.nodeType === 1 || elem.nodeType === 11 ) &&
!jQuery.isXMLDoc( elem ) ) {
- // We eschew Sizzle here for performance reasons: https://jsperf.com/getall-vs-sizzle/2
+ // We eschew jQuery#find here for performance reasons:
+ // https://jsperf.com/getall-vs-sizzle/2
destElements = getAll( clone );
srcElements = getAll( elem );
@@ -6393,9 +6231,12 @@ jQuery.each( {
} );
var rnumnonpx = new RegExp( "^(" + pnum + ")(?!px)[a-z%]+$", "i" );
+var rcustomProp = /^--/;
+
+
var getStyles = function( elem ) {
- // Support: IE <=11 only, Firefox <=30 (#15098, #14150)
+ // Support: IE <=11 only, Firefox <=30 (trac-15098, trac-14150)
// IE throws on elements created in popups
// FF meanwhile throws on frame elements through "defaultView.getComputedStyle"
var view = elem.ownerDocument.defaultView;
@@ -6495,7 +6336,7 @@ var rboxStyle = new RegExp( cssExpand.join( "|" ), "i" );
}
// Support: IE <=9 - 11 only
- // Style of cloned element affects source element cloned (#8908)
+ // Style of cloned element affects source element cloned (trac-8908)
div.style.backgroundClip = "content-box";
div.cloneNode( true ).style.backgroundClip = "";
support.clearCloneStyle = div.style.backgroundClip === "content-box";
@@ -6539,7 +6380,7 @@ var rboxStyle = new RegExp( cssExpand.join( "|" ), "i" );
trChild = document.createElement( "div" );
table.style.cssText = "position:absolute;left:-11111px;border-collapse:separate";
- tr.style.cssText = "border:1px solid";
+ tr.style.cssText = "box-sizing:content-box;border:1px solid";
// Support: Chrome 86+
// Height set through cssText does not get applied.
@@ -6551,7 +6392,7 @@ var rboxStyle = new RegExp( cssExpand.join( "|" ), "i" );
// In our bodyBackground.html iframe,
// display for all div elements is set to "inline",
// which causes a problem only in Android 8 Chrome 86.
- // Ensuring the div is display: block
+ // Ensuring the div is `display: block`
// gets around this issue.
trChild.style.display = "block";
@@ -6575,6 +6416,7 @@ var rboxStyle = new RegExp( cssExpand.join( "|" ), "i" );
function curCSS( elem, name, computed ) {
var width, minWidth, maxWidth, ret,
+ isCustomProp = rcustomProp.test( name ),
// Support: Firefox 51+
// Retrieving style before computed somehow
@@ -6585,11 +6427,42 @@ function curCSS( elem, name, computed ) {
computed = computed || getStyles( elem );
// getPropertyValue is needed for:
- // .css('filter') (IE 9 only, #12537)
- // .css('--customProperty) (#3144)
+ // .css('filter') (IE 9 only, trac-12537)
+ // .css('--customProperty) (gh-3144)
if ( computed ) {
+
+ // Support: IE <=9 - 11+
+ // IE only supports `"float"` in `getPropertyValue`; in computed styles
+ // it's only available as `"cssFloat"`. We no longer modify properties
+ // sent to `.css()` apart from camelCasing, so we need to check both.
+ // Normally, this would create difference in behavior: if
+ // `getPropertyValue` returns an empty string, the value returned
+ // by `.css()` would be `undefined`. This is usually the case for
+ // disconnected elements. However, in IE even disconnected elements
+ // with no styles return `"none"` for `getPropertyValue( "float" )`
ret = computed.getPropertyValue( name ) || computed[ name ];
+ if ( isCustomProp && ret ) {
+
+ // Support: Firefox 105+, Chrome <=105+
+ // Spec requires trimming whitespace for custom properties (gh-4926).
+ // Firefox only trims leading whitespace. Chrome just collapses
+ // both leading & trailing whitespace to a single space.
+ //
+ // Fall back to `undefined` if empty string returned.
+ // This collapses a missing definition with property defined
+ // and set to an empty string but there's no standard API
+ // allowing us to differentiate them without a performance penalty
+ // and returning `undefined` aligns with older jQuery.
+ //
+ // rtrimCSS treats U+000D CARRIAGE RETURN and U+000C FORM FEED
+ // as whitespace while CSS does not, but this is not a problem
+ // because CSS preprocessing replaces them with U+000A LINE FEED
+ // (which *is* CSS whitespace)
+ // https://www.w3.org/TR/css-syntax-3/#input-preprocessing
+ ret = ret.replace( rtrimCSS, "$1" ) || undefined;
+ }
+
if ( ret === "" && !isAttached( elem ) ) {
ret = jQuery.style( elem, name );
}
@@ -6685,7 +6558,6 @@ var
// except "table", "table-cell", or "table-caption"
// See here for display values: https://developer.mozilla.org/en-US/docs/CSS/display
rdisplayswap = /^(none|table(?!-c[ea]).+)/,
- rcustomProp = /^--/,
cssShow = { position: "absolute", visibility: "hidden", display: "block" },
cssNormalTransform = {
letterSpacing: "0",
@@ -6707,7 +6579,8 @@ function setPositiveNumber( _elem, value, subtract ) {
function boxModelAdjustment( elem, dimension, box, isBorderBox, styles, computedVal ) {
var i = dimension === "width" ? 1 : 0,
extra = 0,
- delta = 0;
+ delta = 0,
+ marginDelta = 0;
// Adjustment may not be necessary
if ( box === ( isBorderBox ? "border" : "content" ) ) {
@@ -6717,8 +6590,10 @@ function boxModelAdjustment( elem, dimension, box, isBorderBox, styles, computed
for ( ; i < 4; i += 2 ) {
// Both box models exclude margin
+ // Count margin delta separately to only add it after scroll gutter adjustment.
+ // This is needed to make negative margins work with `outerHeight( true )` (gh-3982).
if ( box === "margin" ) {
- delta += jQuery.css( elem, box + cssExpand[ i ], true, styles );
+ marginDelta += jQuery.css( elem, box + cssExpand[ i ], true, styles );
}
// If we get here with a content-box, we're seeking "padding" or "border" or "margin"
@@ -6769,7 +6644,7 @@ function boxModelAdjustment( elem, dimension, box, isBorderBox, styles, computed
) ) || 0;
}
- return delta;
+ return delta + marginDelta;
}
function getWidthOrHeight( elem, dimension, extra ) {
@@ -6867,26 +6742,35 @@ jQuery.extend( {
// Don't automatically add "px" to these possibly-unitless properties
cssNumber: {
- "animationIterationCount": true,
- "columnCount": true,
- "fillOpacity": true,
- "flexGrow": true,
- "flexShrink": true,
- "fontWeight": true,
- "gridArea": true,
- "gridColumn": true,
- "gridColumnEnd": true,
- "gridColumnStart": true,
- "gridRow": true,
- "gridRowEnd": true,
- "gridRowStart": true,
- "lineHeight": true,
- "opacity": true,
- "order": true,
- "orphans": true,
- "widows": true,
- "zIndex": true,
- "zoom": true
+ animationIterationCount: true,
+ aspectRatio: true,
+ borderImageSlice: true,
+ columnCount: true,
+ flexGrow: true,
+ flexShrink: true,
+ fontWeight: true,
+ gridArea: true,
+ gridColumn: true,
+ gridColumnEnd: true,
+ gridColumnStart: true,
+ gridRow: true,
+ gridRowEnd: true,
+ gridRowStart: true,
+ lineHeight: true,
+ opacity: true,
+ order: true,
+ orphans: true,
+ scale: true,
+ widows: true,
+ zIndex: true,
+ zoom: true,
+
+ // SVG-related
+ fillOpacity: true,
+ floodOpacity: true,
+ stopOpacity: true,
+ strokeMiterlimit: true,
+ strokeOpacity: true
},
// Add in properties whose names you wish to fix before
@@ -6921,15 +6805,15 @@ jQuery.extend( {
if ( value !== undefined ) {
type = typeof value;
- // Convert "+=" or "-=" to relative numbers (#7345)
+ // Convert "+=" or "-=" to relative numbers (trac-7345)
if ( type === "string" && ( ret = rcssNum.exec( value ) ) && ret[ 1 ] ) {
value = adjustCSS( elem, name, ret );
- // Fixes bug #9237
+ // Fixes bug trac-9237
type = "number";
}
- // Make sure that null and NaN values aren't set (#7116)
+ // Make sure that null and NaN values aren't set (trac-7116)
if ( value == null || value !== value ) {
return;
}
@@ -7553,7 +7437,7 @@ function Animation( elem, properties, options ) {
remaining = Math.max( 0, animation.startTime + animation.duration - currentTime ),
// Support: Android 2.3 only
- // Archaic crash bug won't allow us to use `1 - ( 0.5 || 0 )` (#12497)
+ // Archaic crash bug won't allow us to use `1 - ( 0.5 || 0 )` (trac-12497)
temp = remaining / animation.duration || 0,
percent = 1 - temp,
index = 0,
@@ -7943,7 +7827,6 @@ jQuery.fx.speeds = {
// Based off of the plugin by Clint Helfers, with permission.
-// https://web.archive.org/web/20100324014747/http://blindsignals.com/index.php/2009/07/jquery-delay/
jQuery.fn.delay = function( time, type ) {
time = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time;
type = type || "fx";
@@ -8168,8 +8051,7 @@ jQuery.extend( {
// Support: IE <=9 - 11 only
// elem.tabIndex doesn't always return the
// correct value when it hasn't been explicitly set
- // https://web.archive.org/web/20141116233347/http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/
- // Use proper attribute retrieval(#12072)
+ // Use proper attribute retrieval (trac-12072)
var tabindex = jQuery.find.attr( elem, "tabindex" );
if ( tabindex ) {
@@ -8273,8 +8155,7 @@ function classesToArray( value ) {
jQuery.fn.extend( {
addClass: function( value ) {
- var classes, elem, cur, curValue, clazz, j, finalValue,
- i = 0;
+ var classNames, cur, curValue, className, i, finalValue;
if ( isFunction( value ) ) {
return this.each( function( j ) {
@@ -8282,36 +8163,35 @@ jQuery.fn.extend( {
} );
}
- classes = classesToArray( value );
+ classNames = classesToArray( value );
- if ( classes.length ) {
- while ( ( elem = this[ i++ ] ) ) {
- curValue = getClass( elem );
- cur = elem.nodeType === 1 && ( " " + stripAndCollapse( curValue ) + " " );
+ if ( classNames.length ) {
+ return this.each( function() {
+ curValue = getClass( this );
+ cur = this.nodeType === 1 && ( " " + stripAndCollapse( curValue ) + " " );
if ( cur ) {
- j = 0;
- while ( ( clazz = classes[ j++ ] ) ) {
- if ( cur.indexOf( " " + clazz + " " ) < 0 ) {
- cur += clazz + " ";
+ for ( i = 0; i < classNames.length; i++ ) {
+ className = classNames[ i ];
+ if ( cur.indexOf( " " + className + " " ) < 0 ) {
+ cur += className + " ";
}
}
// Only assign if different to avoid unneeded rendering.
finalValue = stripAndCollapse( cur );
if ( curValue !== finalValue ) {
- elem.setAttribute( "class", finalValue );
+ this.setAttribute( "class", finalValue );
}
}
- }
+ } );
}
return this;
},
removeClass: function( value ) {
- var classes, elem, cur, curValue, clazz, j, finalValue,
- i = 0;
+ var classNames, cur, curValue, className, i, finalValue;
if ( isFunction( value ) ) {
return this.each( function( j ) {
@@ -8323,45 +8203,42 @@ jQuery.fn.extend( {
return this.attr( "class", "" );
}
- classes = classesToArray( value );
+ classNames = classesToArray( value );
- if ( classes.length ) {
- while ( ( elem = this[ i++ ] ) ) {
- curValue = getClass( elem );
+ if ( classNames.length ) {
+ return this.each( function() {
+ curValue = getClass( this );
// This expression is here for better compressibility (see addClass)
- cur = elem.nodeType === 1 && ( " " + stripAndCollapse( curValue ) + " " );
+ cur = this.nodeType === 1 && ( " " + stripAndCollapse( curValue ) + " " );
if ( cur ) {
- j = 0;
- while ( ( clazz = classes[ j++ ] ) ) {
+ for ( i = 0; i < classNames.length; i++ ) {
+ className = classNames[ i ];
// Remove *all* instances
- while ( cur.indexOf( " " + clazz + " " ) > -1 ) {
- cur = cur.replace( " " + clazz + " ", " " );
+ while ( cur.indexOf( " " + className + " " ) > -1 ) {
+ cur = cur.replace( " " + className + " ", " " );
}
}
// Only assign if different to avoid unneeded rendering.
finalValue = stripAndCollapse( cur );
if ( curValue !== finalValue ) {
- elem.setAttribute( "class", finalValue );
+ this.setAttribute( "class", finalValue );
}
}
- }
+ } );
}
return this;
},
toggleClass: function( value, stateVal ) {
- var type = typeof value,
+ var classNames, className, i, self,
+ type = typeof value,
isValidValue = type === "string" || Array.isArray( value );
- if ( typeof stateVal === "boolean" && isValidValue ) {
- return stateVal ? this.addClass( value ) : this.removeClass( value );
- }
-
if ( isFunction( value ) ) {
return this.each( function( i ) {
jQuery( this ).toggleClass(
@@ -8371,17 +8248,20 @@ jQuery.fn.extend( {
} );
}
- return this.each( function() {
- var className, i, self, classNames;
+ if ( typeof stateVal === "boolean" && isValidValue ) {
+ return stateVal ? this.addClass( value ) : this.removeClass( value );
+ }
+ classNames = classesToArray( value );
+
+ return this.each( function() {
if ( isValidValue ) {
// Toggle individual class names
- i = 0;
self = jQuery( this );
- classNames = classesToArray( value );
- while ( ( className = classNames[ i++ ] ) ) {
+ for ( i = 0; i < classNames.length; i++ ) {
+ className = classNames[ i ];
// Check each className given, space separated list
if ( self.hasClass( className ) ) {
@@ -8515,7 +8395,7 @@ jQuery.extend( {
val :
// Support: IE <=10 - 11 only
- // option.text throws exceptions (#14686, #14858)
+ // option.text throws exceptions (trac-14686, trac-14858)
// Strip and collapse whitespace
// https://html.spec.whatwg.org/#strip-and-collapse-whitespace
stripAndCollapse( jQuery.text( elem ) );
@@ -8542,7 +8422,7 @@ jQuery.extend( {
option = options[ i ];
// Support: IE <=9 only
- // IE8-9 doesn't update selected after form reset (#2551)
+ // IE8-9 doesn't update selected after form reset (trac-2551)
if ( ( option.selected || i === index ) &&
// Don't return options that are disabled or in a disabled optgroup
@@ -8616,9 +8496,39 @@ jQuery.each( [ "radio", "checkbox" ], function() {
// Return jQuery for attributes-only inclusion
+var location = window.location;
+
+var nonce = { guid: Date.now() };
+
+var rquery = ( /\?/ );
-support.focusin = "onfocusin" in window;
+
+// Cross-browser xml parsing
+jQuery.parseXML = function( data ) {
+ var xml, parserErrorElem;
+ if ( !data || typeof data !== "string" ) {
+ return null;
+ }
+
+ // Support: IE 9 - 11 only
+ // IE throws on parseFromString with invalid input.
+ try {
+ xml = ( new window.DOMParser() ).parseFromString( data, "text/xml" );
+ } catch ( e ) {}
+
+ parserErrorElem = xml && xml.getElementsByTagName( "parsererror" )[ 0 ];
+ if ( !xml || parserErrorElem ) {
+ jQuery.error( "Invalid XML: " + (
+ parserErrorElem ?
+ jQuery.map( parserErrorElem.childNodes, function( el ) {
+ return el.textContent;
+ } ).join( "\n" ) :
+ data
+ ) );
+ }
+ return xml;
+};
var rfocusMorph = /^(?:focusinfocus|focusoutblur)$/,
@@ -8685,8 +8595,8 @@ jQuery.extend( jQuery.event, {
return;
}
- // Determine event propagation path in advance, per W3C events spec (#9951)
- // Bubble up to document, then to window; watch for a global ownerDocument var (#9724)
+ // Determine event propagation path in advance, per W3C events spec (trac-9951)
+ // Bubble up to document, then to window; watch for a global ownerDocument var (trac-9724)
if ( !onlyHandlers && !special.noBubble && !isWindow( elem ) ) {
bubbleType = special.delegateType || type;
@@ -8738,7 +8648,7 @@ jQuery.extend( jQuery.event, {
acceptData( elem ) ) {
// Call a native DOM method on the target with the same name as the event.
- // Don't do default actions on window, that's where global variables be (#6170)
+ // Don't do default actions on window, that's where global variables be (trac-6170)
if ( ontype && isFunction( elem[ type ] ) && !isWindow( elem ) ) {
// Don't re-trigger an onFOO event when we call its FOO() method
@@ -8806,85 +8716,6 @@ jQuery.fn.extend( {
} );
-// Support: Firefox <=44
-// Firefox doesn't have focus(in | out) events
-// Related ticket - https://bugzilla.mozilla.org/show_bug.cgi?id=687787
-//
-// Support: Chrome <=48 - 49, Safari <=9.0 - 9.1
-// focus(in | out) events fire after focus & blur events,
-// which is spec violation - http://www.w3.org/TR/DOM-Level-3-Events/#events-focusevent-event-order
-// Related ticket - https://bugs.chromium.org/p/chromium/issues/detail?id=449857
-if ( !support.focusin ) {
- jQuery.each( { focus: "focusin", blur: "focusout" }, function( orig, fix ) {
-
- // Attach a single capturing handler on the document while someone wants focusin/focusout
- var handler = function( event ) {
- jQuery.event.simulate( fix, event.target, jQuery.event.fix( event ) );
- };
-
- jQuery.event.special[ fix ] = {
- setup: function() {
-
- // Handle: regular nodes (via `this.ownerDocument`), window
- // (via `this.document`) & document (via `this`).
- var doc = this.ownerDocument || this.document || this,
- attaches = dataPriv.access( doc, fix );
-
- if ( !attaches ) {
- doc.addEventListener( orig, handler, true );
- }
- dataPriv.access( doc, fix, ( attaches || 0 ) + 1 );
- },
- teardown: function() {
- var doc = this.ownerDocument || this.document || this,
- attaches = dataPriv.access( doc, fix ) - 1;
-
- if ( !attaches ) {
- doc.removeEventListener( orig, handler, true );
- dataPriv.remove( doc, fix );
-
- } else {
- dataPriv.access( doc, fix, attaches );
- }
- }
- };
- } );
-}
-var location = window.location;
-
-var nonce = { guid: Date.now() };
-
-var rquery = ( /\?/ );
-
-
-
-// Cross-browser xml parsing
-jQuery.parseXML = function( data ) {
- var xml, parserErrorElem;
- if ( !data || typeof data !== "string" ) {
- return null;
- }
-
- // Support: IE 9 - 11 only
- // IE throws on parseFromString with invalid input.
- try {
- xml = ( new window.DOMParser() ).parseFromString( data, "text/xml" );
- } catch ( e ) {}
-
- parserErrorElem = xml && xml.getElementsByTagName( "parsererror" )[ 0 ];
- if ( !xml || parserErrorElem ) {
- jQuery.error( "Invalid XML: " + (
- parserErrorElem ?
- jQuery.map( parserErrorElem.childNodes, function( el ) {
- return el.textContent;
- } ).join( "\n" ) :
- data
- ) );
- }
- return xml;
-};
-
-
var
rbracket = /\[\]$/,
rCRLF = /\r?\n/g,
@@ -9012,7 +8843,7 @@ var
rantiCache = /([?&])_=[^&]*/,
rheaders = /^(.*?):[ \t]*([^\r\n]*)$/mg,
- // #7653, #8125, #8152: local protocol detection
+ // trac-7653, trac-8125, trac-8152: local protocol detection
rlocalProtocol = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/,
rnoContent = /^(?:GET|HEAD)$/,
rprotocol = /^\/\//,
@@ -9035,7 +8866,7 @@ var
*/
transports = {},
- // Avoid comment-prolog char sequence (#10098); must appease lint and evade compression
+ // Avoid comment-prolog char sequence (trac-10098); must appease lint and evade compression
allTypes = "*/".concat( "*" ),
// Anchor tag for parsing the document origin
@@ -9106,7 +8937,7 @@ function inspectPrefiltersOrTransports( structure, options, originalOptions, jqX
// A special extend for ajax options
// that takes "flat" options (not to be deep extended)
-// Fixes #9887
+// Fixes trac-9887
function ajaxExtend( target, src ) {
var key, deep,
flatOptions = jQuery.ajaxSettings.flatOptions || {};
@@ -9517,12 +9348,12 @@ jQuery.extend( {
deferred.promise( jqXHR );
// Add protocol if not provided (prefilters might expect it)
- // Handle falsy url in the settings object (#10093: consistency with old signature)
+ // Handle falsy url in the settings object (trac-10093: consistency with old signature)
// We also use the url parameter if available
s.url = ( ( url || s.url || location.href ) + "" )
.replace( rprotocol, location.protocol + "//" );
- // Alias method option to type as per ticket #12004
+ // Alias method option to type as per ticket trac-12004
s.type = options.method || options.type || s.method || s.type;
// Extract dataTypes list
@@ -9565,7 +9396,7 @@ jQuery.extend( {
}
// We can fire global events as of now if asked to
- // Don't fire events if jQuery.event is undefined in an AMD-usage scenario (#15118)
+ // Don't fire events if jQuery.event is undefined in an AMD-usage scenario (trac-15118)
fireGlobals = jQuery.event && s.global;
// Watch for a new set of requests
@@ -9594,7 +9425,7 @@ jQuery.extend( {
if ( s.data && ( s.processData || typeof s.data === "string" ) ) {
cacheURL += ( rquery.test( cacheURL ) ? "&" : "?" ) + s.data;
- // #9682: remove data so that it's not used in an eventual retry
+ // trac-9682: remove data so that it's not used in an eventual retry
delete s.data;
}
@@ -9867,7 +9698,7 @@ jQuery._evalUrl = function( url, options, doc ) {
return jQuery.ajax( {
url: url,
- // Make this explicit, since user can override this through ajaxSetup (#11264)
+ // Make this explicit, since user can override this through ajaxSetup (trac-11264)
type: "GET",
dataType: "script",
cache: true,
@@ -9976,7 +9807,7 @@ var xhrSuccessStatus = {
0: 200,
// Support: IE <=9 only
- // #1450: sometimes IE returns 1223 when it should be 204
+ // trac-1450: sometimes IE returns 1223 when it should be 204
1223: 204
},
xhrSupported = jQuery.ajaxSettings.xhr();
@@ -10048,7 +9879,7 @@ jQuery.ajaxTransport( function( options ) {
} else {
complete(
- // File: protocol always yields status 0; see #8605, #14207
+ // File: protocol always yields status 0; see trac-8605, trac-14207
xhr.status,
xhr.statusText
);
@@ -10109,7 +9940,7 @@ jQuery.ajaxTransport( function( options ) {
xhr.send( options.hasContent && options.data || null );
} catch ( e ) {
- // #14683: Only rethrow if this hasn't been notified as an error yet
+ // trac-14683: Only rethrow if this hasn't been notified as an error yet
if ( callback ) {
throw e;
}
@@ -10729,7 +10560,9 @@ jQuery.fn.extend( {
},
hover: function( fnOver, fnOut ) {
- return this.mouseenter( fnOver ).mouseleave( fnOut || fnOver );
+ return this
+ .on( "mouseenter", fnOver )
+ .on( "mouseleave", fnOut || fnOver );
}
} );
@@ -10753,7 +10586,9 @@ jQuery.each(
// Support: Android <=4.0 only
// Make sure we trim BOM and NBSP
-var rtrim = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;
+// Require that the "whitespace run" starts from a non-whitespace
+// to avoid O(N^2) behavior when the engine would try matching "\s+$" at each space position.
+var rtrim = /^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;
// Bind a function to a context, optionally partially applying any
// arguments.
@@ -10820,7 +10655,7 @@ jQuery.isNumeric = function( obj ) {
jQuery.trim = function( text ) {
return text == null ?
"" :
- ( text + "" ).replace( rtrim, "" );
+ ( text + "" ).replace( rtrim, "$1" );
};
@@ -10868,8 +10703,8 @@ jQuery.noConflict = function( deep ) {
};
// Expose jQuery and $ identifiers, even in AMD
-// (#7102#comment:10, https://github.com/jquery/jquery/pull/557)
-// and CommonJS for browser emulators (#13566)
+// (trac-7102#comment:10, https://github.com/jquery/jquery/pull/557)
+// and CommonJS for browser emulators (trac-13566)
if ( typeof noGlobal === "undefined" ) {
window.jQuery = window.$ = jQuery;
}
diff --git a/static/admin/js/vendor/jquery/jquery.min.js b/static/admin/js/vendor/jquery/jquery.min.js
index c4c6022..7f37b5d 100644
--- a/static/admin/js/vendor/jquery/jquery.min.js
+++ b/static/admin/js/vendor/jquery/jquery.min.js
@@ -1,2 +1,2 @@
-/*! jQuery v3.6.0 | (c) OpenJS Foundation and other contributors | jquery.org/license */
-!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(C,e){"use strict";var t=[],r=Object.getPrototypeOf,s=t.slice,g=t.flat?function(e){return t.flat.call(e)}:function(e){return t.concat.apply([],e)},u=t.push,i=t.indexOf,n={},o=n.toString,v=n.hasOwnProperty,a=v.toString,l=a.call(Object),y={},m=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},x=function(e){return null!=e&&e===e.window},E=C.document,c={type:!0,src:!0,nonce:!0,noModule:!0};function b(e,t,n){var r,i,o=(n=n||E).createElement("script");if(o.text=e,t)for(r in c)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[o.call(e)]||"object":typeof e}var f="3.6.0",S=function(e,t){return new S.fn.init(e,t)};function p(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!m(e)&&!x(e)&&("array"===n||0===t||"number"==typeof t&&0+~]|"+M+")"+M+"*"),U=new RegExp(M+"|>"),X=new RegExp(F),V=new RegExp("^"+I+"$"),G={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+F),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+M+"?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){T()},ae=be(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{H.apply(t=O.call(p.childNodes),p.childNodes),t[p.childNodes.length].nodeType}catch(e){H={apply:t.length?function(e,t){L.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function se(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&(T(e),e=e||C,E)){if(11!==p&&(u=Z.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(f&&(a=f.getElementById(i))&&y(e,a)&&a.id===i)return n.push(a),n}else{if(u[2])return H.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&d.getElementsByClassName&&e.getElementsByClassName)return H.apply(n,e.getElementsByClassName(i)),n}if(d.qsa&&!N[t+" "]&&(!v||!v.test(t))&&(1!==p||"object"!==e.nodeName.toLowerCase())){if(c=t,f=e,1===p&&(U.test(t)||z.test(t))){(f=ee.test(t)&&ye(e.parentNode)||e)===e&&d.scope||((s=e.getAttribute("id"))?s=s.replace(re,ie):e.setAttribute("id",s=S)),o=(l=h(t)).length;while(o--)l[o]=(s?"#"+s:":scope")+" "+xe(l[o]);c=l.join(",")}try{return H.apply(n,f.querySelectorAll(c)),n}catch(e){N(t,!0)}finally{s===S&&e.removeAttribute("id")}}}return g(t.replace($,"$1"),e,n,r)}function ue(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function le(e){return e[S]=!0,e}function ce(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){var n=e.split("|"),r=n.length;while(r--)b.attrHandle[n[r]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function de(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function he(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function ge(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ve(a){return le(function(o){return o=+o,le(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ye(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}for(e in d=se.support={},i=se.isXML=function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},T=se.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:p;return r!=C&&9===r.nodeType&&r.documentElement&&(a=(C=r).documentElement,E=!i(C),p!=C&&(n=C.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",oe,!1):n.attachEvent&&n.attachEvent("onunload",oe)),d.scope=ce(function(e){return a.appendChild(e).appendChild(C.createElement("div")),"undefined"!=typeof e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length}),d.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),d.getElementsByTagName=ce(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),d.getElementsByClassName=K.test(C.getElementsByClassName),d.getById=ce(function(e){return a.appendChild(e).id=S,!C.getElementsByName||!C.getElementsByName(S).length}),d.getById?(b.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(te,ne);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=d.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):d.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},b.find.CLASS=d.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&E)return t.getElementsByClassName(e)},s=[],v=[],(d.qsa=K.test(C.querySelectorAll))&&(ce(function(e){var t;a.appendChild(e).innerHTML=" ",e.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||v.push("\\["+M+"*(?:value|"+R+")"),e.querySelectorAll("[id~="+S+"-]").length||v.push("~="),(t=C.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||v.push("\\["+M+"*name"+M+"*="+M+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||v.push(":checked"),e.querySelectorAll("a#"+S+"+*").length||v.push(".#.+[+~]"),e.querySelectorAll("\\\f"),v.push("[\\r\\n\\f]")}),ce(function(e){e.innerHTML=" ";var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")})),(d.matchesSelector=K.test(c=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&ce(function(e){d.disconnectedMatch=c.call(e,"*"),c.call(e,"[s!='']:x"),s.push("!=",F)}),v=v.length&&new RegExp(v.join("|")),s=s.length&&new RegExp(s.join("|")),t=K.test(a.compareDocumentPosition),y=t||K.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},j=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e==C||e.ownerDocument==p&&y(p,e)?-1:t==C||t.ownerDocument==p&&y(p,t)?1:u?P(u,e)-P(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e==C?-1:t==C?1:i?-1:o?1:u?P(u,e)-P(u,t):0;if(i===o)return pe(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?pe(a[r],s[r]):a[r]==p?-1:s[r]==p?1:0}),C},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(T(e),d.matchesSelector&&E&&!N[t+" "]&&(!s||!s.test(t))&&(!v||!v.test(t)))try{var n=c.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){N(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=h(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=m[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&m(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=se.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,n,r){return m(n)?S.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?S.grep(e,function(e){return e===n!==r}):"string"!=typeof n?S.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(S.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||D,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:q.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof S?t[0]:t,S.merge(this,S.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:E,!0)),N.test(r[1])&&S.isPlainObject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=E.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(S):S.makeArray(e,this)}).prototype=S.fn,D=S(E);var L=/^(?:parents|prev(?:Until|All))/,H={children:!0,contents:!0,next:!0,prev:!0};function O(e,t){while((e=e[t])&&1!==e.nodeType);return e}S.fn.extend({has:function(e){var t=S(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i;ce=E.createDocumentFragment().appendChild(E.createElement("div")),(fe=E.createElement("input")).setAttribute("type","radio"),fe.setAttribute("checked","checked"),fe.setAttribute("name","t"),ce.appendChild(fe),y.checkClone=ce.cloneNode(!0).cloneNode(!0).lastChild.checked,ce.innerHTML="",y.noCloneChecked=!!ce.cloneNode(!0).lastChild.defaultValue,ce.innerHTML=" ",y.option=!!ce.lastChild;var ge={thead:[1,""],col:[2,""],tr:[2,""],td:[3,""],_default:[0,"",""]};function ve(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?S.merge([e],n):n}function ye(e,t){for(var n=0,r=e.length;n",""]);var me=/<|?\w+;/;function xe(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d\s*$/g;function je(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&S(e).children("tbody")[0]||e}function De(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function qe(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Le(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(Y.hasData(e)&&(s=Y.get(e).events))for(i in Y.remove(t,"handle events"),s)for(n=0,r=s[i].length;n").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),E.head.appendChild(r[0])},abort:function(){i&&i()}}});var _t,zt=[],Ut=/(=)\?(?=&|$)|\?\?/;S.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=zt.pop()||S.expando+"_"+wt.guid++;return this[e]=!0,e}}),S.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Ut.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ut.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=m(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Ut,"$1"+r):!1!==e.jsonp&&(e.url+=(Tt.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||S.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=C[r],C[r]=function(){o=arguments},n.always(function(){void 0===i?S(C).removeProp(r):C[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,zt.push(r)),o&&m(i)&&i(o[0]),o=i=void 0}),"script"}),y.createHTMLDocument=((_t=E.implementation.createHTMLDocument("").body).innerHTML="",2===_t.childNodes.length),S.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(y.createHTMLDocument?((r=(t=E.implementation.createHTMLDocument("")).createElement("base")).href=E.location.href,t.head.appendChild(r)):t=E),o=!n&&[],(i=N.exec(e))?[t.createElement(i[1])]:(i=xe([e],t,o),o&&o.length&&S(o).remove(),S.merge([],i.childNodes)));var r,i,o},S.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1").append(S.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},S.expr.pseudos.animated=function(t){return S.grep(S.timers,function(e){return t===e.elem}).length},S.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=S.css(e,"position"),c=S(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=S.css(e,"top"),u=S.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),m(t)&&(t=t.call(e,n,S.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},S.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){S.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===S.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===S.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=S(e).offset()).top+=S.css(e,"borderTopWidth",!0),i.left+=S.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-S.css(r,"marginTop",!0),left:t.left-i.left-S.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===S.css(e,"position"))e=e.offsetParent;return e||re})}}),S.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;S.fn[t]=function(e){return $(this,function(e,t,n){var r;if(x(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),S.each(["top","left"],function(e,n){S.cssHooks[n]=Fe(y.pixelPosition,function(e,t){if(t)return t=We(e,n),Pe.test(t)?S(e).position()[n]+"px":t})}),S.each({Height:"height",Width:"width"},function(a,s){S.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){S.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return $(this,function(e,t,n){var r;return x(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?S.css(e,t,i):S.style(e,t,n,i)},s,n?e:void 0,n)}})}),S.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){S.fn[t]=function(e){return this.on(t,e)}}),S.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),S.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){S.fn[n]=function(e,t){return 0+~]|"+ge+")"+ge+"*"),x=new RegExp(ge+"|>"),j=new RegExp(g),A=new RegExp("^"+t+"$"),D={ID:new RegExp("^#("+t+")"),CLASS:new RegExp("^\\.("+t+")"),TAG:new RegExp("^("+t+"|[*])"),ATTR:new RegExp("^"+p),PSEUDO:new RegExp("^"+g),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ge+"*(even|odd|(([+-]|)(\\d*)n|)"+ge+"*(?:([+-]|)"+ge+"*(\\d+)|))"+ge+"*\\)|)","i"),bool:new RegExp("^(?:"+f+")$","i"),needsContext:new RegExp("^"+ge+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ge+"*((?:-\\d)?\\d*)"+ge+"*\\)|)(?=[^-]|$)","i")},N=/^(?:input|select|textarea|button)$/i,q=/^h\d$/i,L=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,H=/[+~]/,O=new RegExp("\\\\[\\da-fA-F]{1,6}"+ge+"?|\\\\([^\\r\\n\\f])","g"),P=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},M=function(){V()},R=J(function(e){return!0===e.disabled&&fe(e,"fieldset")},{dir:"parentNode",next:"legend"});try{k.apply(oe=ae.call(ye.childNodes),ye.childNodes),oe[ye.childNodes.length].nodeType}catch(e){k={apply:function(e,t){me.apply(e,ae.call(t))},call:function(e){me.apply(e,ae.call(arguments,1))}}}function I(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&(V(e),e=e||T,C)){if(11!==p&&(u=L.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return k.call(n,a),n}else if(f&&(a=f.getElementById(i))&&I.contains(e,a)&&a.id===i)return k.call(n,a),n}else{if(u[2])return k.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&e.getElementsByClassName)return k.apply(n,e.getElementsByClassName(i)),n}if(!(h[t+" "]||d&&d.test(t))){if(c=t,f=e,1===p&&(x.test(t)||m.test(t))){(f=H.test(t)&&U(e.parentNode)||e)==e&&le.scope||((s=e.getAttribute("id"))?s=ce.escapeSelector(s):e.setAttribute("id",s=S)),o=(l=Y(t)).length;while(o--)l[o]=(s?"#"+s:":scope")+" "+Q(l[o]);c=l.join(",")}try{return k.apply(n,f.querySelectorAll(c)),n}catch(e){h(t,!0)}finally{s===S&&e.removeAttribute("id")}}}return re(t.replace(ve,"$1"),e,n,r)}function W(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function F(e){return e[S]=!0,e}function $(e){var t=T.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function B(t){return function(e){return fe(e,"input")&&e.type===t}}function _(t){return function(e){return(fe(e,"input")||fe(e,"button"))&&e.type===t}}function z(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&R(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function X(a){return F(function(o){return o=+o,F(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function U(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}function V(e){var t,n=e?e.ownerDocument||e:ye;return n!=T&&9===n.nodeType&&n.documentElement&&(r=(T=n).documentElement,C=!ce.isXMLDoc(T),i=r.matches||r.webkitMatchesSelector||r.msMatchesSelector,r.msMatchesSelector&&ye!=T&&(t=T.defaultView)&&t.top!==t&&t.addEventListener("unload",M),le.getById=$(function(e){return r.appendChild(e).id=ce.expando,!T.getElementsByName||!T.getElementsByName(ce.expando).length}),le.disconnectedMatch=$(function(e){return i.call(e,"*")}),le.scope=$(function(){return T.querySelectorAll(":scope")}),le.cssHas=$(function(){try{return T.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}}),le.getById?(b.filter.ID=function(e){var t=e.replace(O,P);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&C){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(O,P);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&C){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},b.find.CLASS=function(e,t){if("undefined"!=typeof t.getElementsByClassName&&C)return t.getElementsByClassName(e)},d=[],$(function(e){var t;r.appendChild(e).innerHTML=" ",e.querySelectorAll("[selected]").length||d.push("\\["+ge+"*(?:value|"+f+")"),e.querySelectorAll("[id~="+S+"-]").length||d.push("~="),e.querySelectorAll("a#"+S+"+*").length||d.push(".#.+[+~]"),e.querySelectorAll(":checked").length||d.push(":checked"),(t=T.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),r.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&d.push(":enabled",":disabled"),(t=T.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||d.push("\\["+ge+"*name"+ge+"*="+ge+"*(?:''|\"\")")}),le.cssHas||d.push(":has"),d=d.length&&new RegExp(d.join("|")),l=function(e,t){if(e===t)return a=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!le.sortDetached&&t.compareDocumentPosition(e)===n?e===T||e.ownerDocument==ye&&I.contains(ye,e)?-1:t===T||t.ownerDocument==ye&&I.contains(ye,t)?1:o?se.call(o,e)-se.call(o,t):0:4&n?-1:1)}),T}for(e in I.matches=function(e,t){return I(e,null,null,t)},I.matchesSelector=function(e,t){if(V(e),C&&!h[t+" "]&&(!d||!d.test(t)))try{var n=i.call(e,t);if(n||le.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){h(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(O,P),e[3]=(e[3]||e[4]||e[5]||"").replace(O,P),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||I.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&I.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return D.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&j.test(n)&&(t=Y(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(O,P).toLowerCase();return"*"===e?function(){return!0}:function(e){return fe(e,t)}},CLASS:function(e){var t=s[e+" "];return t||(t=new RegExp("(^|"+ge+")"+e+"("+ge+"|$)"))&&s(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=I.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function T(e,n,r){return v(n)?ce.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?ce.grep(e,function(e){return e===n!==r}):"string"!=typeof n?ce.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(ce.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||k,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:S.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof ce?t[0]:t,ce.merge(this,ce.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:C,!0)),w.test(r[1])&&ce.isPlainObject(t))for(r in t)v(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=C.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):v(e)?void 0!==n.ready?n.ready(e):e(ce):ce.makeArray(e,this)}).prototype=ce.fn,k=ce(C);var E=/^(?:parents|prev(?:Until|All))/,j={children:!0,contents:!0,next:!0,prev:!0};function A(e,t){while((e=e[t])&&1!==e.nodeType);return e}ce.fn.extend({has:function(e){var t=ce(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,Ce=/^$|^module$|\/(?:java|ecma)script/i;xe=C.createDocumentFragment().appendChild(C.createElement("div")),(be=C.createElement("input")).setAttribute("type","radio"),be.setAttribute("checked","checked"),be.setAttribute("name","t"),xe.appendChild(be),le.checkClone=xe.cloneNode(!0).cloneNode(!0).lastChild.checked,xe.innerHTML="",le.noCloneChecked=!!xe.cloneNode(!0).lastChild.defaultValue,xe.innerHTML=" ",le.option=!!xe.lastChild;var ke={thead:[1,""],col:[2,""],tr:[2,""],td:[3,""],_default:[0,"",""]};function Se(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&fe(e,t)?ce.merge([e],n):n}function Ee(e,t){for(var n=0,r=e.length;n",""]);var je=/<|?\w+;/;function Ae(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d\s*$/g;function Re(e,t){return fe(e,"table")&&fe(11!==t.nodeType?t:t.firstChild,"tr")&&ce(e).children("tbody")[0]||e}function Ie(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function We(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Fe(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(_.hasData(e)&&(s=_.get(e).events))for(i in _.remove(t,"handle events"),s)for(n=0,r=s[i].length;n").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),C.head.appendChild(r[0])},abort:function(){i&&i()}}});var Jt,Kt=[],Zt=/(=)\?(?=&|$)|\?\?/;ce.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Kt.pop()||ce.expando+"_"+jt.guid++;return this[e]=!0,e}}),ce.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Zt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Zt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=v(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Zt,"$1"+r):!1!==e.jsonp&&(e.url+=(At.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||ce.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=ie[r],ie[r]=function(){o=arguments},n.always(function(){void 0===i?ce(ie).removeProp(r):ie[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Kt.push(r)),o&&v(i)&&i(o[0]),o=i=void 0}),"script"}),le.createHTMLDocument=((Jt=C.implementation.createHTMLDocument("").body).innerHTML="",2===Jt.childNodes.length),ce.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(le.createHTMLDocument?((r=(t=C.implementation.createHTMLDocument("")).createElement("base")).href=C.location.href,t.head.appendChild(r)):t=C),o=!n&&[],(i=w.exec(e))?[t.createElement(i[1])]:(i=Ae([e],t,o),o&&o.length&&ce(o).remove(),ce.merge([],i.childNodes)));var r,i,o},ce.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1").append(ce.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},ce.expr.pseudos.animated=function(t){return ce.grep(ce.timers,function(e){return t===e.elem}).length},ce.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=ce.css(e,"position"),c=ce(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=ce.css(e,"top"),u=ce.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),v(t)&&(t=t.call(e,n,ce.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},ce.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){ce.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===ce.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===ce.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=ce(e).offset()).top+=ce.css(e,"borderTopWidth",!0),i.left+=ce.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-ce.css(r,"marginTop",!0),left:t.left-i.left-ce.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===ce.css(e,"position"))e=e.offsetParent;return e||J})}}),ce.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;ce.fn[t]=function(e){return M(this,function(e,t,n){var r;if(y(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),ce.each(["top","left"],function(e,n){ce.cssHooks[n]=Ye(le.pixelPosition,function(e,t){if(t)return t=Ge(e,n),_e.test(t)?ce(e).position()[n]+"px":t})}),ce.each({Height:"height",Width:"width"},function(a,s){ce.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){ce.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return M(this,function(e,t,n){var r;return y(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?ce.css(e,t,i):ce.style(e,t,n,i)},s,n?e:void 0,n)}})}),ce.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){ce.fn[t]=function(e){return this.on(t,e)}}),ce.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)}}),ce.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){ce.fn[n]=function(e,t){return 0
+Copyright (c) 2007-present Steven Levithan
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
diff --git a/static/admin/js/vendor/xregexp/xregexp.js b/static/admin/js/vendor/xregexp/xregexp.js
index ded6f6f..215482c 100644
--- a/static/admin/js/vendor/xregexp/xregexp.js
+++ b/static/admin/js/vendor/xregexp/xregexp.js
@@ -1,2820 +1,547 @@
-(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.XRegExp = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
+
+function _unsupportedIterableToArray(o, minLen) { var _context4; if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = _sliceInstanceProperty(_context4 = Object.prototype.toString.call(o)).call(_context4, 8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return _Array$from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
+
+function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
+
/*!
- * XRegExp.build 3.2.0
+ * XRegExp Unicode Base 5.1.1
*
- * Steven Levithan (c) 2012-2017 MIT License
- * Inspired by Lea Verou's RegExp.create
+ * Steven Levithan (c) 2008-present MIT License
*/
+var _default = function _default(XRegExp) {
+ /**
+ * Adds base support for Unicode matching:
+ * - Adds syntax `\p{..}` for matching Unicode tokens. Tokens can be inverted using `\P{..}` or
+ * `\p{^..}`. Token names ignore case, spaces, hyphens, and underscores. You can omit the
+ * braces for token names that are a single letter (e.g. `\pL` or `PL`).
+ * - Adds flag A (astral), which enables 21-bit Unicode support.
+ * - Adds the `XRegExp.addUnicodeData` method used by other addons to provide character data.
+ *
+ * Unicode Base relies on externally provided Unicode character data. Official addons are
+ * available to provide data for Unicode categories, scripts, and properties.
+ *
+ * @requires XRegExp
+ */
+ // ==--------------------------==
+ // Private stuff
+ // ==--------------------------==
+ // Storage for Unicode data
+ var unicode = {};
+ var unicodeTypes = {}; // Reuse utils
-module.exports = function(XRegExp) {
- 'use strict';
+ var dec = XRegExp._dec;
+ var hex = XRegExp._hex;
+ var pad4 = XRegExp._pad4; // Generates a token lookup name: lowercase, with hyphens, spaces, and underscores removed
- var REGEX_DATA = 'xregexp';
- var subParts = /(\()(?!\?)|\\([1-9]\d*)|\\[\s\S]|\[(?:[^\\\]]|\\[\s\S])*\]/g;
- var parts = XRegExp.union([/\({{([\w$]+)}}\)|{{([\w$]+)}}/, subParts], 'g', {
- conjunction: 'or'
+ function normalize(name) {
+ return name.replace(/[- _]+/g, '').toLowerCase();
+ } // Gets the decimal code of a literal code unit, \xHH, \uHHHH, or a backslash-escaped literal
+
+
+ function charCode(chr) {
+ var esc = /^\\[xu](.+)/.exec(chr);
+ return esc ? dec(esc[1]) : chr.charCodeAt(chr[0] === '\\' ? 1 : 0);
+ } // Inverts a list of ordered BMP characters and ranges
+
+
+ function invertBmp(range) {
+ var output = '';
+ var lastEnd = -1;
+ (0, _forEach["default"])(XRegExp).call(XRegExp, range, /(\\x..|\\u....|\\?[\s\S])(?:-(\\x..|\\u....|\\?[\s\S]))?/, function (m) {
+ var start = charCode(m[1]);
+
+ if (start > lastEnd + 1) {
+ output += "\\u".concat(pad4(hex(lastEnd + 1)));
+
+ if (start > lastEnd + 2) {
+ output += "-\\u".concat(pad4(hex(start - 1)));
+ }
+ }
+
+ lastEnd = charCode(m[2] || m[1]);
});
- /**
- * Strips a leading `^` and trailing unescaped `$`, if both are present.
- *
- * @private
- * @param {String} pattern Pattern to process.
- * @returns {String} Pattern with edge anchors removed.
- */
- function deanchor(pattern) {
- // Allow any number of empty noncapturing groups before/after anchors, because regexes
- // built/generated by XRegExp sometimes include them
- var leadingAnchor = /^(?:\(\?:\))*\^/;
- var trailingAnchor = /\$(?:\(\?:\))*$/;
+ if (lastEnd < 0xFFFF) {
+ output += "\\u".concat(pad4(hex(lastEnd + 1)));
- if (
- leadingAnchor.test(pattern) &&
- trailingAnchor.test(pattern) &&
- // Ensure that the trailing `$` isn't escaped
- trailingAnchor.test(pattern.replace(/\\[\s\S]/g, ''))
- ) {
- return pattern.replace(leadingAnchor, '').replace(trailingAnchor, '');
- }
-
- return pattern;
+ if (lastEnd < 0xFFFE) {
+ output += '-\\uFFFF';
+ }
}
- /**
- * Converts the provided value to an XRegExp. Native RegExp flags are not preserved.
- *
- * @private
- * @param {String|RegExp} value Value to convert.
- * @param {Boolean} [addFlagX] Whether to apply the `x` flag in cases when `value` is not
- * already a regex generated by XRegExp
- * @returns {RegExp} XRegExp object with XRegExp syntax applied.
- */
- function asXRegExp(value, addFlagX) {
- var flags = addFlagX ? 'x' : '';
- return XRegExp.isRegExp(value) ?
- (value[REGEX_DATA] && value[REGEX_DATA].captureNames ?
- // Don't recompile, to preserve capture names
- value :
- // Recompile as XRegExp
- XRegExp(value.source, flags)
- ) :
- // Compile string as XRegExp
- XRegExp(value, flags);
+ return output;
+ } // Generates an inverted BMP range on first use
+
+
+ function cacheInvertedBmp(slug) {
+ var prop = 'b!';
+ return unicode[slug][prop] || (unicode[slug][prop] = invertBmp(unicode[slug].bmp));
+ } // Combines and optionally negates BMP and astral data
+
+
+ function buildAstral(slug, isNegated) {
+ var item = unicode[slug];
+ var combined = '';
+
+ if (item.bmp && !item.isBmpLast) {
+ var _context;
+
+ combined = (0, _concat["default"])(_context = "[".concat(item.bmp, "]")).call(_context, item.astral ? '|' : '');
}
- /**
- * Builds regexes using named subpatterns, for readability and pattern reuse. Backreferences in
- * the outer pattern and provided subpatterns are automatically renumbered to work correctly.
- * Native flags used by provided subpatterns are ignored in favor of the `flags` argument.
- *
- * @memberOf XRegExp
- * @param {String} pattern XRegExp pattern using `{{name}}` for embedded subpatterns. Allows
- * `({{name}})` as shorthand for `(?{{name}})`. Patterns cannot be embedded within
- * character classes.
- * @param {Object} subs Lookup object for named subpatterns. Values can be strings or regexes. A
- * leading `^` and trailing unescaped `$` are stripped from subpatterns, if both are present.
- * @param {String} [flags] Any combination of XRegExp flags.
- * @returns {RegExp} Regex with interpolated subpatterns.
- * @example
- *
- * var time = XRegExp.build('(?x)^ {{hours}} ({{minutes}}) $', {
- * hours: XRegExp.build('{{h12}} : | {{h24}}', {
- * h12: /1[0-2]|0?[1-9]/,
- * h24: /2[0-3]|[01][0-9]/
- * }, 'x'),
- * minutes: /^[0-5][0-9]$/
- * });
- * time.test('10:59'); // -> true
- * XRegExp.exec('10:59', time).minutes; // -> '59'
- */
- XRegExp.build = function(pattern, subs, flags) {
- flags = flags || '';
- // Used with `asXRegExp` calls for `pattern` and subpatterns in `subs`, to work around how
- // some browsers convert `RegExp('\n')` to a regex that contains the literal characters `\`
- // and `n`. See more details at .
- var addFlagX = flags.indexOf('x') > -1;
- var inlineFlags = /^\(\?([\w$]+)\)/.exec(pattern);
- // Add flags within a leading mode modifier to the overall pattern's flags
- if (inlineFlags) {
- flags = XRegExp._clipDuplicates(flags + inlineFlags[1]);
+ if (item.astral) {
+ combined += item.astral;
+ }
+
+ if (item.isBmpLast && item.bmp) {
+ var _context2;
+
+ combined += (0, _concat["default"])(_context2 = "".concat(item.astral ? '|' : '', "[")).call(_context2, item.bmp, "]");
+ } // Astral Unicode tokens always match a code point, never a code unit
+
+
+ return isNegated ? "(?:(?!".concat(combined, ")(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[\0-\uFFFF]))") : "(?:".concat(combined, ")");
+ } // Builds a complete astral pattern on first use
+
+
+ function cacheAstral(slug, isNegated) {
+ var prop = isNegated ? 'a!' : 'a=';
+ return unicode[slug][prop] || (unicode[slug][prop] = buildAstral(slug, isNegated));
+ } // ==--------------------------==
+ // Core functionality
+ // ==--------------------------==
+
+ /*
+ * Add astral mode (flag A) and Unicode token syntax: `\p{..}`, `\P{..}`, `\p{^..}`, `\pC`.
+ */
+
+
+ XRegExp.addToken( // Use `*` instead of `+` to avoid capturing `^` as the token name in `\p{^}`
+ /\\([pP])(?:{(\^?)(?:(\w+)=)?([^}]*)}|([A-Za-z]))/, function (match, scope, flags) {
+ var ERR_DOUBLE_NEG = 'Invalid double negation ';
+ var ERR_UNKNOWN_NAME = 'Unknown Unicode token ';
+ var ERR_UNKNOWN_REF = 'Unicode token missing data ';
+ var ERR_ASTRAL_ONLY = 'Astral mode required for Unicode token ';
+ var ERR_ASTRAL_IN_CLASS = 'Astral mode does not support Unicode tokens within character classes';
+
+ var _match = (0, _slicedToArray2["default"])(match, 6),
+ fullToken = _match[0],
+ pPrefix = _match[1],
+ caretNegation = _match[2],
+ typePrefix = _match[3],
+ tokenName = _match[4],
+ tokenSingleCharName = _match[5]; // Negated via \P{..} or \p{^..}
+
+
+ var isNegated = pPrefix === 'P' || !!caretNegation; // Switch from BMP (0-FFFF) to astral (0-10FFFF) mode via flag A
+
+ var isAstralMode = (0, _indexOf["default"])(flags).call(flags, 'A') !== -1; // Token lookup name. Check `tokenSingleCharName` first to avoid passing `undefined`
+ // via `\p{}`
+
+ var slug = normalize(tokenSingleCharName || tokenName); // Token data object
+
+ var item = unicode[slug];
+
+ if (pPrefix === 'P' && caretNegation) {
+ throw new SyntaxError(ERR_DOUBLE_NEG + fullToken);
+ }
+
+ if (!unicode.hasOwnProperty(slug)) {
+ throw new SyntaxError(ERR_UNKNOWN_NAME + fullToken);
+ }
+
+ if (typePrefix) {
+ if (!(unicodeTypes[typePrefix] && unicodeTypes[typePrefix][slug])) {
+ throw new SyntaxError(ERR_UNKNOWN_NAME + fullToken);
+ }
+ } // Switch to the negated form of the referenced Unicode token
+
+
+ if (item.inverseOf) {
+ slug = normalize(item.inverseOf);
+
+ if (!unicode.hasOwnProperty(slug)) {
+ var _context3;
+
+ throw new ReferenceError((0, _concat["default"])(_context3 = "".concat(ERR_UNKNOWN_REF + fullToken, " -> ")).call(_context3, item.inverseOf));
+ }
+
+ item = unicode[slug];
+ isNegated = !isNegated;
+ }
+
+ if (!(item.bmp || isAstralMode)) {
+ throw new SyntaxError(ERR_ASTRAL_ONLY + fullToken);
+ }
+
+ if (isAstralMode) {
+ if (scope === 'class') {
+ throw new SyntaxError(ERR_ASTRAL_IN_CLASS);
+ }
+
+ return cacheAstral(slug, isNegated);
+ }
+
+ return scope === 'class' ? isNegated ? cacheInvertedBmp(slug) : item.bmp : "".concat((isNegated ? '[^' : '[') + item.bmp, "]");
+ }, {
+ scope: 'all',
+ optionalFlags: 'A',
+ leadChar: '\\'
+ });
+ /**
+ * Adds to the list of Unicode tokens that XRegExp regexes can match via `\p` or `\P`.
+ *
+ * @memberOf XRegExp
+ * @param {Array} data Objects with named character ranges. Each object may have properties
+ * `name`, `alias`, `isBmpLast`, `inverseOf`, `bmp`, and `astral`. All but `name` are
+ * optional, although one of `bmp` or `astral` is required (unless `inverseOf` is set). If
+ * `astral` is absent, the `bmp` data is used for BMP and astral modes. If `bmp` is absent,
+ * the name errors in BMP mode but works in astral mode. If both `bmp` and `astral` are
+ * provided, the `bmp` data only is used in BMP mode, and the combination of `bmp` and
+ * `astral` data is used in astral mode. `isBmpLast` is needed when a token matches orphan
+ * high surrogates *and* uses surrogate pairs to match astral code points. The `bmp` and
+ * `astral` data should be a combination of literal characters and `\xHH` or `\uHHHH` escape
+ * sequences, with hyphens to create ranges. Any regex metacharacters in the data should be
+ * escaped, apart from range-creating hyphens. The `astral` data can additionally use
+ * character classes and alternation, and should use surrogate pairs to represent astral code
+ * points. `inverseOf` can be used to avoid duplicating character data if a Unicode token is
+ * defined as the exact inverse of another token.
+ * @param {String} [typePrefix] Enables optionally using this type as a prefix for all of the
+ * provided Unicode tokens, e.g. if given `'Type'`, then `\p{TokenName}` can also be written
+ * as `\p{Type=TokenName}`.
+ * @example
+ *
+ * // Basic use
+ * XRegExp.addUnicodeData([{
+ * name: 'XDigit',
+ * alias: 'Hexadecimal',
+ * bmp: '0-9A-Fa-f'
+ * }]);
+ * XRegExp('\\p{XDigit}:\\p{Hexadecimal}+').test('0:3D'); // -> true
+ */
+
+ XRegExp.addUnicodeData = function (data, typePrefix) {
+ var ERR_NO_NAME = 'Unicode token requires name';
+ var ERR_NO_DATA = 'Unicode token has no character data ';
+
+ if (typePrefix) {
+ // Case sensitive to match ES2018
+ unicodeTypes[typePrefix] = {};
+ }
+
+ var _iterator = _createForOfIteratorHelper(data),
+ _step;
+
+ try {
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
+ var item = _step.value;
+
+ if (!item.name) {
+ throw new Error(ERR_NO_NAME);
}
- var data = {};
- for (var p in subs) {
- if (subs.hasOwnProperty(p)) {
- // Passing to XRegExp enables extended syntax and ensures independent validity,
- // lest an unescaped `(`, `)`, `[`, or trailing `\` breaks the `(?:)` wrapper. For
- // subpatterns provided as native regexes, it dies on octals and adds the property
- // used to hold extended regex instance data, for simplicity.
- var sub = asXRegExp(subs[p], addFlagX);
- data[p] = {
- // Deanchoring allows embedding independently useful anchored regexes. If you
- // really need to keep your anchors, double them (i.e., `^^...$$`).
- pattern: deanchor(sub.source),
- names: sub[REGEX_DATA].captureNames || []
- };
- }
+ if (!(item.inverseOf || item.bmp || item.astral)) {
+ throw new Error(ERR_NO_DATA + item.name);
}
- // Passing to XRegExp dies on octals and ensures the outer pattern is independently valid;
- // helps keep this simple. Named captures will be put back.
- var patternAsRegex = asXRegExp(pattern, addFlagX);
+ var normalizedName = normalize(item.name);
+ unicode[normalizedName] = item;
- // 'Caps' is short for 'captures'
- var numCaps = 0;
- var numPriorCaps;
- var numOuterCaps = 0;
- var outerCapsMap = [0];
- var outerCapNames = patternAsRegex[REGEX_DATA].captureNames || [];
- var output = patternAsRegex.source.replace(parts, function($0, $1, $2, $3, $4) {
- var subName = $1 || $2;
- var capName;
- var intro;
- var localCapIndex;
- // Named subpattern
- if (subName) {
- if (!data.hasOwnProperty(subName)) {
- throw new ReferenceError('Undefined property ' + $0);
- }
- // Named subpattern was wrapped in a capturing group
- if ($1) {
- capName = outerCapNames[numOuterCaps];
- outerCapsMap[++numOuterCaps] = ++numCaps;
- // If it's a named group, preserve the name. Otherwise, use the subpattern name
- // as the capture name
- intro = '(?<' + (capName || subName) + '>';
- } else {
- intro = '(?:';
- }
- numPriorCaps = numCaps;
- return intro + data[subName].pattern.replace(subParts, function(match, paren, backref) {
- // Capturing group
- if (paren) {
- capName = data[subName].names[numCaps - numPriorCaps];
- ++numCaps;
- // If the current capture has a name, preserve the name
- if (capName) {
- return '(?<' + capName + '>';
- }
- // Backreference
- } else if (backref) {
- localCapIndex = +backref - 1;
- // Rewrite the backreference
- return data[subName].names[localCapIndex] ?
- // Need to preserve the backreference name in case using flag `n`
- '\\k<' + data[subName].names[localCapIndex] + '>' :
- '\\' + (+backref + numPriorCaps);
- }
- return match;
- }) + ')';
- }
- // Capturing group
- if ($3) {
- capName = outerCapNames[numOuterCaps];
- outerCapsMap[++numOuterCaps] = ++numCaps;
- // If the current capture has a name, preserve the name
- if (capName) {
- return '(?<' + capName + '>';
- }
- // Backreference
- } else if ($4) {
- localCapIndex = +$4 - 1;
- // Rewrite the backreference
- return outerCapNames[localCapIndex] ?
- // Need to preserve the backreference name in case using flag `n`
- '\\k<' + outerCapNames[localCapIndex] + '>' :
- '\\' + outerCapsMap[+$4];
- }
- return $0;
- });
+ if (typePrefix) {
+ unicodeTypes[typePrefix][normalizedName] = true;
+ }
- return XRegExp(output, flags);
- };
+ if (item.alias) {
+ var normalizedAlias = normalize(item.alias);
+ unicode[normalizedAlias] = item;
+ if (typePrefix) {
+ unicodeTypes[typePrefix][normalizedAlias] = true;
+ }
+ }
+ } // Reset the pattern cache used by the `XRegExp` constructor, since the same pattern and
+ // flags might now produce different results
+
+ } catch (err) {
+ _iterator.e(err);
+ } finally {
+ _iterator.f();
+ }
+
+ XRegExp.cache.flush('patterns');
+ };
+ /**
+ * @ignore
+ *
+ * Return a reference to the internal Unicode definition structure for the given Unicode
+ * Property if the given name is a legal Unicode Property for use in XRegExp `\p` or `\P` regex
+ * constructs.
+ *
+ * @memberOf XRegExp
+ * @param {String} name Name by which the Unicode Property may be recognized (case-insensitive),
+ * e.g. `'N'` or `'Number'`. The given name is matched against all registered Unicode
+ * Properties and Property Aliases.
+ * @returns {Object} Reference to definition structure when the name matches a Unicode Property.
+ *
+ * @note
+ * For more info on Unicode Properties, see also http://unicode.org/reports/tr18/#Categories.
+ *
+ * @note
+ * This method is *not* part of the officially documented API and may change or be removed in
+ * the future. It is meant for userland code that wishes to reuse the (large) internal Unicode
+ * structures set up by XRegExp.
+ */
+
+
+ XRegExp._getUnicodeProperty = function (name) {
+ var slug = normalize(name);
+ return unicode[slug];
+ };
};
-},{}],2:[function(require,module,exports){
+exports["default"] = _default;
+module.exports = exports.default;
+},{"@babel/runtime-corejs3/core-js-stable/array/from":5,"@babel/runtime-corejs3/core-js-stable/array/is-array":6,"@babel/runtime-corejs3/core-js-stable/instance/concat":7,"@babel/runtime-corejs3/core-js-stable/instance/for-each":9,"@babel/runtime-corejs3/core-js-stable/instance/index-of":10,"@babel/runtime-corejs3/core-js-stable/instance/slice":11,"@babel/runtime-corejs3/core-js-stable/object/define-property":14,"@babel/runtime-corejs3/core-js-stable/symbol":16,"@babel/runtime-corejs3/core-js/get-iterator-method":19,"@babel/runtime-corejs3/helpers/interopRequireDefault":24,"@babel/runtime-corejs3/helpers/slicedToArray":27}],2:[function(require,module,exports){
+"use strict";
+
+var _Object$defineProperty = require("@babel/runtime-corejs3/core-js-stable/object/define-property");
+
+var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
+
+_Object$defineProperty(exports, "__esModule", {
+ value: true
+});
+
+exports["default"] = void 0;
+
+var _categories = _interopRequireDefault(require("../../tools/output/categories"));
+
/*!
- * XRegExp.matchRecursive 3.2.0
+ * XRegExp Unicode Categories 5.1.1
*
- * Steven Levithan (c) 2009-2017 MIT License
- */
-
-module.exports = function(XRegExp) {
- 'use strict';
-
- /**
- * Returns a match detail object composed of the provided values.
- *
- * @private
- */
- function row(name, value, start, end) {
- return {
- name: name,
- value: value,
- start: start,
- end: end
- };
- }
-
- /**
- * Returns an array of match strings between outermost left and right delimiters, or an array of
- * objects with detailed match parts and position data. An error is thrown if delimiters are
- * unbalanced within the data.
- *
- * @memberOf XRegExp
- * @param {String} str String to search.
- * @param {String} left Left delimiter as an XRegExp pattern.
- * @param {String} right Right delimiter as an XRegExp pattern.
- * @param {String} [flags] Any native or XRegExp flags, used for the left and right delimiters.
- * @param {Object} [options] Lets you specify `valueNames` and `escapeChar` options.
- * @returns {Array} Array of matches, or an empty array.
- * @example
- *
- * // Basic usage
- * var str = '(t((e))s)t()(ing)';
- * XRegExp.matchRecursive(str, '\\(', '\\)', 'g');
- * // -> ['t((e))s', '', 'ing']
- *
- * // Extended information mode with valueNames
- * str = 'Here is example';
- * XRegExp.matchRecursive(str, '', '
', 'gi', {
- * valueNames: ['between', 'left', 'match', 'right']
- * });
- * // -> [
- * // {name: 'between', value: 'Here is ', start: 0, end: 8},
- * // {name: 'left', value: '', start: 8, end: 13},
- * // {name: 'match', value: '
an
', start: 13, end: 27},
- * // {name: 'right', value: '
', start: 27, end: 33},
- * // {name: 'between', value: ' example', start: 33, end: 41}
- * // ]
- *
- * // Omitting unneeded parts with null valueNames, and using escapeChar
- * str = '...{1}.\\{{function(x,y){return {y:x}}}';
- * XRegExp.matchRecursive(str, '{', '}', 'g', {
- * valueNames: ['literal', null, 'value', null],
- * escapeChar: '\\'
- * });
- * // -> [
- * // {name: 'literal', value: '...', start: 0, end: 3},
- * // {name: 'value', value: '1', start: 4, end: 5},
- * // {name: 'literal', value: '.\\{', start: 6, end: 9},
- * // {name: 'value', value: 'function(x,y){return {y:x}}', start: 10, end: 37}
- * // ]
- *
- * // Sticky mode via flag y
- * str = '<1><<<2>>><3>4<5>';
- * XRegExp.matchRecursive(str, '<', '>', 'gy');
- * // -> ['1', '<<2>>', '3']
- */
- XRegExp.matchRecursive = function(str, left, right, flags, options) {
- flags = flags || '';
- options = options || {};
- var global = flags.indexOf('g') > -1;
- var sticky = flags.indexOf('y') > -1;
- // Flag `y` is controlled internally
- var basicFlags = flags.replace(/y/g, '');
- var escapeChar = options.escapeChar;
- var vN = options.valueNames;
- var output = [];
- var openTokens = 0;
- var delimStart = 0;
- var delimEnd = 0;
- var lastOuterEnd = 0;
- var outerStart;
- var innerStart;
- var leftMatch;
- var rightMatch;
- var esc;
- left = XRegExp(left, basicFlags);
- right = XRegExp(right, basicFlags);
-
- if (escapeChar) {
- if (escapeChar.length > 1) {
- throw new Error('Cannot use more than one escape character');
- }
- escapeChar = XRegExp.escape(escapeChar);
- // Example of concatenated `esc` regex:
- // `escapeChar`: '%'
- // `left`: '<'
- // `right`: '>'
- // Regex is: /(?:%[\S\s]|(?:(?!<|>)[^%])+)+/
- esc = new RegExp(
- '(?:' + escapeChar + '[\\S\\s]|(?:(?!' +
- // Using `XRegExp.union` safely rewrites backreferences in `left` and `right`.
- // Intentionally not passing `basicFlags` to `XRegExp.union` since any syntax
- // transformation resulting from those flags was already applied to `left` and
- // `right` when they were passed through the XRegExp constructor above.
- XRegExp.union([left, right], '', {conjunction: 'or'}).source +
- ')[^' + escapeChar + '])+)+',
- // Flags `gy` not needed here
- flags.replace(/[^imu]+/g, '')
- );
- }
-
- while (true) {
- // If using an escape character, advance to the delimiter's next starting position,
- // skipping any escaped characters in between
- if (escapeChar) {
- delimEnd += (XRegExp.exec(str, esc, delimEnd, 'sticky') || [''])[0].length;
- }
- leftMatch = XRegExp.exec(str, left, delimEnd);
- rightMatch = XRegExp.exec(str, right, delimEnd);
- // Keep the leftmost match only
- if (leftMatch && rightMatch) {
- if (leftMatch.index <= rightMatch.index) {
- rightMatch = null;
- } else {
- leftMatch = null;
- }
- }
- // Paths (LM: leftMatch, RM: rightMatch, OT: openTokens):
- // LM | RM | OT | Result
- // 1 | 0 | 1 | loop
- // 1 | 0 | 0 | loop
- // 0 | 1 | 1 | loop
- // 0 | 1 | 0 | throw
- // 0 | 0 | 1 | throw
- // 0 | 0 | 0 | break
- // The paths above don't include the sticky mode special case. The loop ends after the
- // first completed match if not `global`.
- if (leftMatch || rightMatch) {
- delimStart = (leftMatch || rightMatch).index;
- delimEnd = delimStart + (leftMatch || rightMatch)[0].length;
- } else if (!openTokens) {
- break;
- }
- if (sticky && !openTokens && delimStart > lastOuterEnd) {
- break;
- }
- if (leftMatch) {
- if (!openTokens) {
- outerStart = delimStart;
- innerStart = delimEnd;
- }
- ++openTokens;
- } else if (rightMatch && openTokens) {
- if (!--openTokens) {
- if (vN) {
- if (vN[0] && outerStart > lastOuterEnd) {
- output.push(row(vN[0], str.slice(lastOuterEnd, outerStart), lastOuterEnd, outerStart));
- }
- if (vN[1]) {
- output.push(row(vN[1], str.slice(outerStart, innerStart), outerStart, innerStart));
- }
- if (vN[2]) {
- output.push(row(vN[2], str.slice(innerStart, delimStart), innerStart, delimStart));
- }
- if (vN[3]) {
- output.push(row(vN[3], str.slice(delimStart, delimEnd), delimStart, delimEnd));
- }
- } else {
- output.push(str.slice(innerStart, delimStart));
- }
- lastOuterEnd = delimEnd;
- if (!global) {
- break;
- }
- }
- } else {
- throw new Error('Unbalanced delimiter found in string');
- }
- // If the delimiter matched an empty string, avoid an infinite loop
- if (delimStart === delimEnd) {
- ++delimEnd;
- }
- }
-
- if (global && !sticky && vN && vN[0] && str.length > lastOuterEnd) {
- output.push(row(vN[0], str.slice(lastOuterEnd), lastOuterEnd, str.length));
- }
-
- return output;
- };
-
-};
-
-},{}],3:[function(require,module,exports){
-/*!
- * XRegExp Unicode Base 3.2.0
- *
- * Steven Levithan (c) 2008-2017 MIT License
- */
-
-module.exports = function(XRegExp) {
- 'use strict';
-
- /**
- * Adds base support for Unicode matching:
- * - Adds syntax `\p{..}` for matching Unicode tokens. Tokens can be inverted using `\P{..}` or
- * `\p{^..}`. Token names ignore case, spaces, hyphens, and underscores. You can omit the
- * braces for token names that are a single letter (e.g. `\pL` or `PL`).
- * - Adds flag A (astral), which enables 21-bit Unicode support.
- * - Adds the `XRegExp.addUnicodeData` method used by other addons to provide character data.
- *
- * Unicode Base relies on externally provided Unicode character data. Official addons are
- * available to provide data for Unicode categories, scripts, blocks, and properties.
- *
- * @requires XRegExp
- */
-
- // ==--------------------------==
- // Private stuff
- // ==--------------------------==
-
- // Storage for Unicode data
- var unicode = {};
-
- // Reuse utils
- var dec = XRegExp._dec;
- var hex = XRegExp._hex;
- var pad4 = XRegExp._pad4;
-
- // Generates a token lookup name: lowercase, with hyphens, spaces, and underscores removed
- function normalize(name) {
- return name.replace(/[- _]+/g, '').toLowerCase();
- }
-
- // Gets the decimal code of a literal code unit, \xHH, \uHHHH, or a backslash-escaped literal
- function charCode(chr) {
- var esc = /^\\[xu](.+)/.exec(chr);
- return esc ?
- dec(esc[1]) :
- chr.charCodeAt(chr.charAt(0) === '\\' ? 1 : 0);
- }
-
- // Inverts a list of ordered BMP characters and ranges
- function invertBmp(range) {
- var output = '';
- var lastEnd = -1;
-
- XRegExp.forEach(
- range,
- /(\\x..|\\u....|\\?[\s\S])(?:-(\\x..|\\u....|\\?[\s\S]))?/,
- function(m) {
- var start = charCode(m[1]);
- if (start > (lastEnd + 1)) {
- output += '\\u' + pad4(hex(lastEnd + 1));
- if (start > (lastEnd + 2)) {
- output += '-\\u' + pad4(hex(start - 1));
- }
- }
- lastEnd = charCode(m[2] || m[1]);
- }
- );
-
- if (lastEnd < 0xFFFF) {
- output += '\\u' + pad4(hex(lastEnd + 1));
- if (lastEnd < 0xFFFE) {
- output += '-\\uFFFF';
- }
- }
-
- return output;
- }
-
- // Generates an inverted BMP range on first use
- function cacheInvertedBmp(slug) {
- var prop = 'b!';
- return (
- unicode[slug][prop] ||
- (unicode[slug][prop] = invertBmp(unicode[slug].bmp))
- );
- }
-
- // Combines and optionally negates BMP and astral data
- function buildAstral(slug, isNegated) {
- var item = unicode[slug];
- var combined = '';
-
- if (item.bmp && !item.isBmpLast) {
- combined = '[' + item.bmp + ']' + (item.astral ? '|' : '');
- }
- if (item.astral) {
- combined += item.astral;
- }
- if (item.isBmpLast && item.bmp) {
- combined += (item.astral ? '|' : '') + '[' + item.bmp + ']';
- }
-
- // Astral Unicode tokens always match a code point, never a code unit
- return isNegated ?
- '(?:(?!' + combined + ')(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[\0-\uFFFF]))' :
- '(?:' + combined + ')';
- }
-
- // Builds a complete astral pattern on first use
- function cacheAstral(slug, isNegated) {
- var prop = isNegated ? 'a!' : 'a=';
- return (
- unicode[slug][prop] ||
- (unicode[slug][prop] = buildAstral(slug, isNegated))
- );
- }
-
- // ==--------------------------==
- // Core functionality
- // ==--------------------------==
-
- /*
- * Add astral mode (flag A) and Unicode token syntax: `\p{..}`, `\P{..}`, `\p{^..}`, `\pC`.
- */
- XRegExp.addToken(
- // Use `*` instead of `+` to avoid capturing `^` as the token name in `\p{^}`
- /\\([pP])(?:{(\^?)([^}]*)}|([A-Za-z]))/,
- function(match, scope, flags) {
- var ERR_DOUBLE_NEG = 'Invalid double negation ';
- var ERR_UNKNOWN_NAME = 'Unknown Unicode token ';
- var ERR_UNKNOWN_REF = 'Unicode token missing data ';
- var ERR_ASTRAL_ONLY = 'Astral mode required for Unicode token ';
- var ERR_ASTRAL_IN_CLASS = 'Astral mode does not support Unicode tokens within character classes';
- // Negated via \P{..} or \p{^..}
- var isNegated = match[1] === 'P' || !!match[2];
- // Switch from BMP (0-FFFF) to astral (0-10FFFF) mode via flag A
- var isAstralMode = flags.indexOf('A') > -1;
- // Token lookup name. Check `[4]` first to avoid passing `undefined` via `\p{}`
- var slug = normalize(match[4] || match[3]);
- // Token data object
- var item = unicode[slug];
-
- if (match[1] === 'P' && match[2]) {
- throw new SyntaxError(ERR_DOUBLE_NEG + match[0]);
- }
- if (!unicode.hasOwnProperty(slug)) {
- throw new SyntaxError(ERR_UNKNOWN_NAME + match[0]);
- }
-
- // Switch to the negated form of the referenced Unicode token
- if (item.inverseOf) {
- slug = normalize(item.inverseOf);
- if (!unicode.hasOwnProperty(slug)) {
- throw new ReferenceError(ERR_UNKNOWN_REF + match[0] + ' -> ' + item.inverseOf);
- }
- item = unicode[slug];
- isNegated = !isNegated;
- }
-
- if (!(item.bmp || isAstralMode)) {
- throw new SyntaxError(ERR_ASTRAL_ONLY + match[0]);
- }
- if (isAstralMode) {
- if (scope === 'class') {
- throw new SyntaxError(ERR_ASTRAL_IN_CLASS);
- }
-
- return cacheAstral(slug, isNegated);
- }
-
- return scope === 'class' ?
- (isNegated ? cacheInvertedBmp(slug) : item.bmp) :
- (isNegated ? '[^' : '[') + item.bmp + ']';
- },
- {
- scope: 'all',
- optionalFlags: 'A',
- leadChar: '\\'
- }
- );
-
- /**
- * Adds to the list of Unicode tokens that XRegExp regexes can match via `\p` or `\P`.
- *
- * @memberOf XRegExp
- * @param {Array} data Objects with named character ranges. Each object may have properties
- * `name`, `alias`, `isBmpLast`, `inverseOf`, `bmp`, and `astral`. All but `name` are
- * optional, although one of `bmp` or `astral` is required (unless `inverseOf` is set). If
- * `astral` is absent, the `bmp` data is used for BMP and astral modes. If `bmp` is absent,
- * the name errors in BMP mode but works in astral mode. If both `bmp` and `astral` are
- * provided, the `bmp` data only is used in BMP mode, and the combination of `bmp` and
- * `astral` data is used in astral mode. `isBmpLast` is needed when a token matches orphan
- * high surrogates *and* uses surrogate pairs to match astral code points. The `bmp` and
- * `astral` data should be a combination of literal characters and `\xHH` or `\uHHHH` escape
- * sequences, with hyphens to create ranges. Any regex metacharacters in the data should be
- * escaped, apart from range-creating hyphens. The `astral` data can additionally use
- * character classes and alternation, and should use surrogate pairs to represent astral code
- * points. `inverseOf` can be used to avoid duplicating character data if a Unicode token is
- * defined as the exact inverse of another token.
- * @example
- *
- * // Basic use
- * XRegExp.addUnicodeData([{
- * name: 'XDigit',
- * alias: 'Hexadecimal',
- * bmp: '0-9A-Fa-f'
- * }]);
- * XRegExp('\\p{XDigit}:\\p{Hexadecimal}+').test('0:3D'); // -> true
- */
- XRegExp.addUnicodeData = function(data) {
- var ERR_NO_NAME = 'Unicode token requires name';
- var ERR_NO_DATA = 'Unicode token has no character data ';
- var item;
-
- for (var i = 0; i < data.length; ++i) {
- item = data[i];
- if (!item.name) {
- throw new Error(ERR_NO_NAME);
- }
- if (!(item.inverseOf || item.bmp || item.astral)) {
- throw new Error(ERR_NO_DATA + item.name);
- }
- unicode[normalize(item.name)] = item;
- if (item.alias) {
- unicode[normalize(item.alias)] = item;
- }
- }
-
- // Reset the pattern cache used by the `XRegExp` constructor, since the same pattern and
- // flags might now produce different results
- XRegExp.cache.flush('patterns');
- };
-
- /**
- * @ignore
- *
- * Return a reference to the internal Unicode definition structure for the given Unicode
- * Property if the given name is a legal Unicode Property for use in XRegExp `\p` or `\P` regex
- * constructs.
- *
- * @memberOf XRegExp
- * @param {String} name Name by which the Unicode Property may be recognized (case-insensitive),
- * e.g. `'N'` or `'Number'`. The given name is matched against all registered Unicode
- * Properties and Property Aliases.
- * @returns {Object} Reference to definition structure when the name matches a Unicode Property.
- *
- * @note
- * For more info on Unicode Properties, see also http://unicode.org/reports/tr18/#Categories.
- *
- * @note
- * This method is *not* part of the officially documented API and may change or be removed in
- * the future. It is meant for userland code that wishes to reuse the (large) internal Unicode
- * structures set up by XRegExp.
- */
- XRegExp._getUnicodeProperty = function(name) {
- var slug = normalize(name);
- return unicode[slug];
- };
-
-};
-
-},{}],4:[function(require,module,exports){
-/*!
- * XRegExp Unicode Blocks 3.2.0
- *
- * Steven Levithan (c) 2010-2017 MIT License
+ * Steven Levithan (c) 2010-present MIT License
* Unicode data by Mathias Bynens
*/
+var _default = function _default(XRegExp) {
+ /**
+ * Adds support for Unicode's general categories. E.g., `\p{Lu}` or `\p{Uppercase Letter}`. See
+ * category descriptions in UAX #44 . Token
+ * names are case insensitive, and any spaces, hyphens, and underscores are ignored.
+ *
+ * Uses Unicode 14.0.0.
+ *
+ * @requires XRegExp, Unicode Base
+ */
+ if (!XRegExp.addUnicodeData) {
+ throw new ReferenceError('Unicode Base must be loaded before Unicode Categories');
+ }
-module.exports = function(XRegExp) {
- 'use strict';
-
- /**
- * Adds support for all Unicode blocks. Block names use the prefix 'In'. E.g.,
- * `\p{InBasicLatin}`. Token names are case insensitive, and any spaces, hyphens, and
- * underscores are ignored.
- *
- * Uses Unicode 9.0.0.
- *
- * @requires XRegExp, Unicode Base
- */
-
- if (!XRegExp.addUnicodeData) {
- throw new ReferenceError('Unicode Base must be loaded before Unicode Blocks');
- }
-
- XRegExp.addUnicodeData([
- {
- name: 'InAdlam',
- astral: '\uD83A[\uDD00-\uDD5F]'
- },
- {
- 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: 'InBhaiksuki',
- astral: '\uD807[\uDC00-\uDC6F]'
- },
- {
- 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: '\uD869[\uDF00-\uDFFF]|[\uD86A-\uD86C][\uDC00-\uDFFF]|\uD86D[\uDC00-\uDF3F]'
- },
- {
- name: 'InCJK_Unified_Ideographs_Extension_D',
- astral: '\uD86D[\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1F]'
- },
- {
- name: 'InCJK_Unified_Ideographs_Extension_E',
- astral: '\uD86E[\uDC20-\uDFFF]|[\uD86F-\uD872][\uDC00-\uDFFF]|\uD873[\uDC00-\uDEAF]'
- },
- {
- 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_Extended_C',
- bmp: '\u1C80-\u1C8F'
- },
- {
- name: 'InCyrillic_Supplement',
- bmp: '\u0500-\u052F'
- },
- {
- name: 'InDeseret',
- astral: '\uD801[\uDC00-\uDC4F]'
- },
- {
- name: 'InDevanagari',
- bmp: '\u0900-\u097F'
- },
- {
- name: 'InDevanagari_Extended',
- bmp: '\uA8E0-\uA8FF'
- },
- {
- name: 'InDingbats',
- bmp: '\u2700-\u27BF'
- },
- {
- name: 'InDomino_Tiles',
- astral: '\uD83C[\uDC30-\uDC9F]'
- },
- {
- name: 'InDuployan',
- astral: '\uD82F[\uDC00-\uDC9F]'
- },
- {
- name: 'InEarly_Dynastic_Cuneiform',
- astral: '\uD809[\uDC80-\uDD4F]'
- },
- {
- name: 'InEgyptian_Hieroglyphs',
- astral: '\uD80C[\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2F]'
- },
- {
- name: 'InElbasan',
- astral: '\uD801[\uDD00-\uDD2F]'
- },
- {
- name: 'InEmoticons',
- astral: '\uD83D[\uDE00-\uDE4F]'
- },
- {
- name: 'InEnclosed_Alphanumeric_Supplement',
- astral: '\uD83C[\uDD00-\uDDFF]'
- },
- {
- name: 'InEnclosed_Alphanumerics',
- bmp: '\u2460-\u24FF'
- },
- {
- name: 'InEnclosed_CJK_Letters_and_Months',
- bmp: '\u3200-\u32FF'
- },
- {
- name: 'InEnclosed_Ideographic_Supplement',
- astral: '\uD83C[\uDE00-\uDEFF]'
- },
- {
- name: 'InEthiopic',
- bmp: '\u1200-\u137F'
- },
- {
- name: 'InEthiopic_Extended',
- bmp: '\u2D80-\u2DDF'
- },
- {
- name: 'InEthiopic_Extended_A',
- bmp: '\uAB00-\uAB2F'
- },
- {
- name: 'InEthiopic_Supplement',
- bmp: '\u1380-\u139F'
- },
- {
- name: 'InGeneral_Punctuation',
- bmp: '\u2000-\u206F'
- },
- {
- name: 'InGeometric_Shapes',
- bmp: '\u25A0-\u25FF'
- },
- {
- name: 'InGeometric_Shapes_Extended',
- astral: '\uD83D[\uDF80-\uDFFF]'
- },
- {
- name: 'InGeorgian',
- bmp: '\u10A0-\u10FF'
- },
- {
- name: 'InGeorgian_Supplement',
- bmp: '\u2D00-\u2D2F'
- },
- {
- name: 'InGlagolitic',
- bmp: '\u2C00-\u2C5F'
- },
- {
- name: 'InGlagolitic_Supplement',
- astral: '\uD838[\uDC00-\uDC2F]'
- },
- {
- name: 'InGothic',
- astral: '\uD800[\uDF30-\uDF4F]'
- },
- {
- name: 'InGrantha',
- astral: '\uD804[\uDF00-\uDF7F]'
- },
- {
- name: 'InGreek_Extended',
- bmp: '\u1F00-\u1FFF'
- },
- {
- name: 'InGreek_and_Coptic',
- bmp: '\u0370-\u03FF'
- },
- {
- name: 'InGujarati',
- bmp: '\u0A80-\u0AFF'
- },
- {
- name: 'InGurmukhi',
- bmp: '\u0A00-\u0A7F'
- },
- {
- name: 'InHalfwidth_and_Fullwidth_Forms',
- bmp: '\uFF00-\uFFEF'
- },
- {
- name: 'InHangul_Compatibility_Jamo',
- bmp: '\u3130-\u318F'
- },
- {
- name: 'InHangul_Jamo',
- bmp: '\u1100-\u11FF'
- },
- {
- name: 'InHangul_Jamo_Extended_A',
- bmp: '\uA960-\uA97F'
- },
- {
- name: 'InHangul_Jamo_Extended_B',
- bmp: '\uD7B0-\uD7FF'
- },
- {
- name: 'InHangul_Syllables',
- bmp: '\uAC00-\uD7AF'
- },
- {
- name: 'InHanunoo',
- bmp: '\u1720-\u173F'
- },
- {
- name: 'InHatran',
- astral: '\uD802[\uDCE0-\uDCFF]'
- },
- {
- name: 'InHebrew',
- bmp: '\u0590-\u05FF'
- },
- {
- name: 'InHigh_Private_Use_Surrogates',
- bmp: '\uDB80-\uDBFF'
- },
- {
- name: 'InHigh_Surrogates',
- bmp: '\uD800-\uDB7F'
- },
- {
- name: 'InHiragana',
- bmp: '\u3040-\u309F'
- },
- {
- name: 'InIPA_Extensions',
- bmp: '\u0250-\u02AF'
- },
- {
- name: 'InIdeographic_Description_Characters',
- bmp: '\u2FF0-\u2FFF'
- },
- {
- name: 'InIdeographic_Symbols_and_Punctuation',
- astral: '\uD81B[\uDFE0-\uDFFF]'
- },
- {
- name: 'InImperial_Aramaic',
- astral: '\uD802[\uDC40-\uDC5F]'
- },
- {
- name: 'InInscriptional_Pahlavi',
- astral: '\uD802[\uDF60-\uDF7F]'
- },
- {
- name: 'InInscriptional_Parthian',
- astral: '\uD802[\uDF40-\uDF5F]'
- },
- {
- name: 'InJavanese',
- bmp: '\uA980-\uA9DF'
- },
- {
- name: 'InKaithi',
- astral: '\uD804[\uDC80-\uDCCF]'
- },
- {
- name: 'InKana_Supplement',
- astral: '\uD82C[\uDC00-\uDCFF]'
- },
- {
- name: 'InKanbun',
- bmp: '\u3190-\u319F'
- },
- {
- name: 'InKangxi_Radicals',
- bmp: '\u2F00-\u2FDF'
- },
- {
- name: 'InKannada',
- bmp: '\u0C80-\u0CFF'
- },
- {
- name: 'InKatakana',
- bmp: '\u30A0-\u30FF'
- },
- {
- name: 'InKatakana_Phonetic_Extensions',
- bmp: '\u31F0-\u31FF'
- },
- {
- name: 'InKayah_Li',
- bmp: '\uA900-\uA92F'
- },
- {
- name: 'InKharoshthi',
- astral: '\uD802[\uDE00-\uDE5F]'
- },
- {
- name: 'InKhmer',
- bmp: '\u1780-\u17FF'
- },
- {
- name: 'InKhmer_Symbols',
- bmp: '\u19E0-\u19FF'
- },
- {
- name: 'InKhojki',
- astral: '\uD804[\uDE00-\uDE4F]'
- },
- {
- name: 'InKhudawadi',
- astral: '\uD804[\uDEB0-\uDEFF]'
- },
- {
- name: 'InLao',
- bmp: '\u0E80-\u0EFF'
- },
- {
- name: 'InLatin_Extended_Additional',
- bmp: '\u1E00-\u1EFF'
- },
- {
- name: 'InLatin_Extended_A',
- bmp: '\u0100-\u017F'
- },
- {
- name: 'InLatin_Extended_B',
- bmp: '\u0180-\u024F'
- },
- {
- name: 'InLatin_Extended_C',
- bmp: '\u2C60-\u2C7F'
- },
- {
- name: 'InLatin_Extended_D',
- bmp: '\uA720-\uA7FF'
- },
- {
- name: 'InLatin_Extended_E',
- bmp: '\uAB30-\uAB6F'
- },
- {
- name: 'InLatin_1_Supplement',
- bmp: '\x80-\xFF'
- },
- {
- name: 'InLepcha',
- bmp: '\u1C00-\u1C4F'
- },
- {
- name: 'InLetterlike_Symbols',
- bmp: '\u2100-\u214F'
- },
- {
- name: 'InLimbu',
- bmp: '\u1900-\u194F'
- },
- {
- name: 'InLinear_A',
- astral: '\uD801[\uDE00-\uDF7F]'
- },
- {
- name: 'InLinear_B_Ideograms',
- astral: '\uD800[\uDC80-\uDCFF]'
- },
- {
- name: 'InLinear_B_Syllabary',
- astral: '\uD800[\uDC00-\uDC7F]'
- },
- {
- name: 'InLisu',
- bmp: '\uA4D0-\uA4FF'
- },
- {
- name: 'InLow_Surrogates',
- bmp: '\uDC00-\uDFFF'
- },
- {
- name: 'InLycian',
- astral: '\uD800[\uDE80-\uDE9F]'
- },
- {
- name: 'InLydian',
- astral: '\uD802[\uDD20-\uDD3F]'
- },
- {
- name: 'InMahajani',
- astral: '\uD804[\uDD50-\uDD7F]'
- },
- {
- name: 'InMahjong_Tiles',
- astral: '\uD83C[\uDC00-\uDC2F]'
- },
- {
- name: 'InMalayalam',
- bmp: '\u0D00-\u0D7F'
- },
- {
- name: 'InMandaic',
- bmp: '\u0840-\u085F'
- },
- {
- name: 'InManichaean',
- astral: '\uD802[\uDEC0-\uDEFF]'
- },
- {
- name: 'InMarchen',
- astral: '\uD807[\uDC70-\uDCBF]'
- },
- {
- name: 'InMathematical_Alphanumeric_Symbols',
- astral: '\uD835[\uDC00-\uDFFF]'
- },
- {
- name: 'InMathematical_Operators',
- bmp: '\u2200-\u22FF'
- },
- {
- name: 'InMeetei_Mayek',
- bmp: '\uABC0-\uABFF'
- },
- {
- name: 'InMeetei_Mayek_Extensions',
- bmp: '\uAAE0-\uAAFF'
- },
- {
- name: 'InMende_Kikakui',
- astral: '\uD83A[\uDC00-\uDCDF]'
- },
- {
- name: 'InMeroitic_Cursive',
- astral: '\uD802[\uDDA0-\uDDFF]'
- },
- {
- name: 'InMeroitic_Hieroglyphs',
- astral: '\uD802[\uDD80-\uDD9F]'
- },
- {
- name: 'InMiao',
- astral: '\uD81B[\uDF00-\uDF9F]'
- },
- {
- name: 'InMiscellaneous_Mathematical_Symbols_A',
- bmp: '\u27C0-\u27EF'
- },
- {
- name: 'InMiscellaneous_Mathematical_Symbols_B',
- bmp: '\u2980-\u29FF'
- },
- {
- name: 'InMiscellaneous_Symbols',
- bmp: '\u2600-\u26FF'
- },
- {
- name: 'InMiscellaneous_Symbols_and_Arrows',
- bmp: '\u2B00-\u2BFF'
- },
- {
- name: 'InMiscellaneous_Symbols_and_Pictographs',
- astral: '\uD83C[\uDF00-\uDFFF]|\uD83D[\uDC00-\uDDFF]'
- },
- {
- name: 'InMiscellaneous_Technical',
- bmp: '\u2300-\u23FF'
- },
- {
- name: 'InModi',
- astral: '\uD805[\uDE00-\uDE5F]'
- },
- {
- name: 'InModifier_Tone_Letters',
- bmp: '\uA700-\uA71F'
- },
- {
- name: 'InMongolian',
- bmp: '\u1800-\u18AF'
- },
- {
- name: 'InMongolian_Supplement',
- astral: '\uD805[\uDE60-\uDE7F]'
- },
- {
- name: 'InMro',
- astral: '\uD81A[\uDE40-\uDE6F]'
- },
- {
- name: 'InMultani',
- astral: '\uD804[\uDE80-\uDEAF]'
- },
- {
- name: 'InMusical_Symbols',
- astral: '\uD834[\uDD00-\uDDFF]'
- },
- {
- name: 'InMyanmar',
- bmp: '\u1000-\u109F'
- },
- {
- name: 'InMyanmar_Extended_A',
- bmp: '\uAA60-\uAA7F'
- },
- {
- name: 'InMyanmar_Extended_B',
- bmp: '\uA9E0-\uA9FF'
- },
- {
- name: 'InNKo',
- bmp: '\u07C0-\u07FF'
- },
- {
- name: 'InNabataean',
- astral: '\uD802[\uDC80-\uDCAF]'
- },
- {
- name: 'InNew_Tai_Lue',
- bmp: '\u1980-\u19DF'
- },
- {
- name: 'InNewa',
- astral: '\uD805[\uDC00-\uDC7F]'
- },
- {
- name: 'InNumber_Forms',
- bmp: '\u2150-\u218F'
- },
- {
- name: 'InOgham',
- bmp: '\u1680-\u169F'
- },
- {
- name: 'InOl_Chiki',
- bmp: '\u1C50-\u1C7F'
- },
- {
- name: 'InOld_Hungarian',
- astral: '\uD803[\uDC80-\uDCFF]'
- },
- {
- name: 'InOld_Italic',
- astral: '\uD800[\uDF00-\uDF2F]'
- },
- {
- name: 'InOld_North_Arabian',
- astral: '\uD802[\uDE80-\uDE9F]'
- },
- {
- name: 'InOld_Permic',
- astral: '\uD800[\uDF50-\uDF7F]'
- },
- {
- name: 'InOld_Persian',
- astral: '\uD800[\uDFA0-\uDFDF]'
- },
- {
- name: 'InOld_South_Arabian',
- astral: '\uD802[\uDE60-\uDE7F]'
- },
- {
- name: 'InOld_Turkic',
- astral: '\uD803[\uDC00-\uDC4F]'
- },
- {
- name: 'InOptical_Character_Recognition',
- bmp: '\u2440-\u245F'
- },
- {
- name: 'InOriya',
- bmp: '\u0B00-\u0B7F'
- },
- {
- name: 'InOrnamental_Dingbats',
- astral: '\uD83D[\uDE50-\uDE7F]'
- },
- {
- name: 'InOsage',
- astral: '\uD801[\uDCB0-\uDCFF]'
- },
- {
- name: 'InOsmanya',
- astral: '\uD801[\uDC80-\uDCAF]'
- },
- {
- name: 'InPahawh_Hmong',
- astral: '\uD81A[\uDF00-\uDF8F]'
- },
- {
- name: 'InPalmyrene',
- astral: '\uD802[\uDC60-\uDC7F]'
- },
- {
- name: 'InPau_Cin_Hau',
- astral: '\uD806[\uDEC0-\uDEFF]'
- },
- {
- name: 'InPhags_pa',
- bmp: '\uA840-\uA87F'
- },
- {
- name: 'InPhaistos_Disc',
- astral: '\uD800[\uDDD0-\uDDFF]'
- },
- {
- name: 'InPhoenician',
- astral: '\uD802[\uDD00-\uDD1F]'
- },
- {
- name: 'InPhonetic_Extensions',
- bmp: '\u1D00-\u1D7F'
- },
- {
- name: 'InPhonetic_Extensions_Supplement',
- bmp: '\u1D80-\u1DBF'
- },
- {
- name: 'InPlaying_Cards',
- astral: '\uD83C[\uDCA0-\uDCFF]'
- },
- {
- name: 'InPrivate_Use_Area',
- bmp: '\uE000-\uF8FF'
- },
- {
- name: 'InPsalter_Pahlavi',
- astral: '\uD802[\uDF80-\uDFAF]'
- },
- {
- name: 'InRejang',
- bmp: '\uA930-\uA95F'
- },
- {
- name: 'InRumi_Numeral_Symbols',
- astral: '\uD803[\uDE60-\uDE7F]'
- },
- {
- name: 'InRunic',
- bmp: '\u16A0-\u16FF'
- },
- {
- name: 'InSamaritan',
- bmp: '\u0800-\u083F'
- },
- {
- name: 'InSaurashtra',
- bmp: '\uA880-\uA8DF'
- },
- {
- name: 'InSharada',
- astral: '\uD804[\uDD80-\uDDDF]'
- },
- {
- name: 'InShavian',
- astral: '\uD801[\uDC50-\uDC7F]'
- },
- {
- name: 'InShorthand_Format_Controls',
- astral: '\uD82F[\uDCA0-\uDCAF]'
- },
- {
- name: 'InSiddham',
- astral: '\uD805[\uDD80-\uDDFF]'
- },
- {
- name: 'InSinhala',
- bmp: '\u0D80-\u0DFF'
- },
- {
- name: 'InSinhala_Archaic_Numbers',
- astral: '\uD804[\uDDE0-\uDDFF]'
- },
- {
- name: 'InSmall_Form_Variants',
- bmp: '\uFE50-\uFE6F'
- },
- {
- name: 'InSora_Sompeng',
- astral: '\uD804[\uDCD0-\uDCFF]'
- },
- {
- name: 'InSpacing_Modifier_Letters',
- bmp: '\u02B0-\u02FF'
- },
- {
- name: 'InSpecials',
- bmp: '\uFFF0-\uFFFF'
- },
- {
- name: 'InSundanese',
- bmp: '\u1B80-\u1BBF'
- },
- {
- name: 'InSundanese_Supplement',
- bmp: '\u1CC0-\u1CCF'
- },
- {
- name: 'InSuperscripts_and_Subscripts',
- bmp: '\u2070-\u209F'
- },
- {
- name: 'InSupplemental_Arrows_A',
- bmp: '\u27F0-\u27FF'
- },
- {
- name: 'InSupplemental_Arrows_B',
- bmp: '\u2900-\u297F'
- },
- {
- name: 'InSupplemental_Arrows_C',
- astral: '\uD83E[\uDC00-\uDCFF]'
- },
- {
- name: 'InSupplemental_Mathematical_Operators',
- bmp: '\u2A00-\u2AFF'
- },
- {
- name: 'InSupplemental_Punctuation',
- bmp: '\u2E00-\u2E7F'
- },
- {
- name: 'InSupplemental_Symbols_and_Pictographs',
- astral: '\uD83E[\uDD00-\uDDFF]'
- },
- {
- name: 'InSupplementary_Private_Use_Area_A',
- astral: '[\uDB80-\uDBBF][\uDC00-\uDFFF]'
- },
- {
- name: 'InSupplementary_Private_Use_Area_B',
- astral: '[\uDBC0-\uDBFF][\uDC00-\uDFFF]'
- },
- {
- name: 'InSutton_SignWriting',
- astral: '\uD836[\uDC00-\uDEAF]'
- },
- {
- name: 'InSyloti_Nagri',
- bmp: '\uA800-\uA82F'
- },
- {
- name: 'InSyriac',
- bmp: '\u0700-\u074F'
- },
- {
- name: 'InTagalog',
- bmp: '\u1700-\u171F'
- },
- {
- name: 'InTagbanwa',
- bmp: '\u1760-\u177F'
- },
- {
- name: 'InTags',
- astral: '\uDB40[\uDC00-\uDC7F]'
- },
- {
- name: 'InTai_Le',
- bmp: '\u1950-\u197F'
- },
- {
- name: 'InTai_Tham',
- bmp: '\u1A20-\u1AAF'
- },
- {
- name: 'InTai_Viet',
- bmp: '\uAA80-\uAADF'
- },
- {
- name: 'InTai_Xuan_Jing_Symbols',
- astral: '\uD834[\uDF00-\uDF5F]'
- },
- {
- name: 'InTakri',
- astral: '\uD805[\uDE80-\uDECF]'
- },
- {
- name: 'InTamil',
- bmp: '\u0B80-\u0BFF'
- },
- {
- name: 'InTangut',
- astral: '[\uD81C-\uD821][\uDC00-\uDFFF]'
- },
- {
- name: 'InTangut_Components',
- astral: '\uD822[\uDC00-\uDEFF]'
- },
- {
- name: 'InTelugu',
- bmp: '\u0C00-\u0C7F'
- },
- {
- name: 'InThaana',
- bmp: '\u0780-\u07BF'
- },
- {
- name: 'InThai',
- bmp: '\u0E00-\u0E7F'
- },
- {
- name: 'InTibetan',
- bmp: '\u0F00-\u0FFF'
- },
- {
- name: 'InTifinagh',
- bmp: '\u2D30-\u2D7F'
- },
- {
- name: 'InTirhuta',
- astral: '\uD805[\uDC80-\uDCDF]'
- },
- {
- name: 'InTransport_and_Map_Symbols',
- astral: '\uD83D[\uDE80-\uDEFF]'
- },
- {
- name: 'InUgaritic',
- astral: '\uD800[\uDF80-\uDF9F]'
- },
- {
- name: 'InUnified_Canadian_Aboriginal_Syllabics',
- bmp: '\u1400-\u167F'
- },
- {
- name: 'InUnified_Canadian_Aboriginal_Syllabics_Extended',
- bmp: '\u18B0-\u18FF'
- },
- {
- name: 'InVai',
- bmp: '\uA500-\uA63F'
- },
- {
- name: 'InVariation_Selectors',
- bmp: '\uFE00-\uFE0F'
- },
- {
- name: 'InVariation_Selectors_Supplement',
- astral: '\uDB40[\uDD00-\uDDEF]'
- },
- {
- name: 'InVedic_Extensions',
- bmp: '\u1CD0-\u1CFF'
- },
- {
- name: 'InVertical_Forms',
- bmp: '\uFE10-\uFE1F'
- },
- {
- name: 'InWarang_Citi',
- astral: '\uD806[\uDCA0-\uDCFF]'
- },
- {
- name: 'InYi_Radicals',
- bmp: '\uA490-\uA4CF'
- },
- {
- name: 'InYi_Syllables',
- bmp: '\uA000-\uA48F'
- },
- {
- name: 'InYijing_Hexagram_Symbols',
- bmp: '\u4DC0-\u4DFF'
- }
- ]);
-
+ XRegExp.addUnicodeData(_categories["default"]);
};
-},{}],5:[function(require,module,exports){
+exports["default"] = _default;
+module.exports = exports.default;
+},{"../../tools/output/categories":222,"@babel/runtime-corejs3/core-js-stable/object/define-property":14,"@babel/runtime-corejs3/helpers/interopRequireDefault":24}],3:[function(require,module,exports){
+"use strict";
+
+var _Object$defineProperty = require("@babel/runtime-corejs3/core-js-stable/object/define-property");
+
+var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
+
+_Object$defineProperty(exports, "__esModule", {
+ value: true
+});
+
+exports["default"] = void 0;
+
+var _xregexp = _interopRequireDefault(require("./xregexp"));
+
+var _unicodeBase = _interopRequireDefault(require("./addons/unicode-base"));
+
+var _unicodeCategories = _interopRequireDefault(require("./addons/unicode-categories"));
+
+(0, _unicodeBase["default"])(_xregexp["default"]);
+(0, _unicodeCategories["default"])(_xregexp["default"]);
+var _default = _xregexp["default"];
+exports["default"] = _default;
+module.exports = exports.default;
+},{"./addons/unicode-base":1,"./addons/unicode-categories":2,"./xregexp":4,"@babel/runtime-corejs3/core-js-stable/object/define-property":14,"@babel/runtime-corejs3/helpers/interopRequireDefault":24}],4:[function(require,module,exports){
+"use strict";
+
+var _sliceInstanceProperty2 = require("@babel/runtime-corejs3/core-js-stable/instance/slice");
+
+var _Array$from = require("@babel/runtime-corejs3/core-js-stable/array/from");
+
+var _Symbol = require("@babel/runtime-corejs3/core-js-stable/symbol");
+
+var _getIteratorMethod = require("@babel/runtime-corejs3/core-js/get-iterator-method");
+
+var _Array$isArray = require("@babel/runtime-corejs3/core-js-stable/array/is-array");
+
+var _Object$defineProperty = require("@babel/runtime-corejs3/core-js-stable/object/define-property");
+
+var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
+
+_Object$defineProperty(exports, "__esModule", {
+ value: true
+});
+
+exports["default"] = void 0;
+
+var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/slicedToArray"));
+
+var _flags = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable/instance/flags"));
+
+var _sort = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable/instance/sort"));
+
+var _slice = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable/instance/slice"));
+
+var _parseInt2 = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable/parse-int"));
+
+var _indexOf = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable/instance/index-of"));
+
+var _forEach = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable/instance/for-each"));
+
+var _create = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable/object/create"));
+
+var _concat = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable/instance/concat"));
+
+function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof _Symbol !== "undefined" && _getIteratorMethod(o) || o["@@iterator"]; if (!it) { if (_Array$isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
+
+function _unsupportedIterableToArray(o, minLen) { var _context9; if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = _sliceInstanceProperty2(_context9 = Object.prototype.toString.call(o)).call(_context9, 8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return _Array$from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
+
+function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
+
/*!
- * XRegExp Unicode Categories 3.2.0
+ * XRegExp 5.1.1
*
- * Steven Levithan (c) 2010-2017 MIT License
- * Unicode data by Mathias Bynens
+ * Steven Levithan (c) 2007-present MIT License
*/
-module.exports = function(XRegExp) {
- 'use strict';
-
- /**
- * Adds support for Unicode's general categories. E.g., `\p{Lu}` or `\p{Uppercase Letter}`. See
- * category descriptions in UAX #44 . Token
- * names are case insensitive, and any spaces, hyphens, and underscores are ignored.
- *
- * Uses Unicode 9.0.0.
- *
- * @requires XRegExp, Unicode Base
- */
-
- if (!XRegExp.addUnicodeData) {
- throw new ReferenceError('Unicode Base must be loaded before Unicode Categories');
- }
-
- XRegExp.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\u08BE-\u08D3\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\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\u0D50-\u0D53\u0D64\u0D65\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\u1C89-\u1CBF\u1CC8-\u1CCF\u1CF7\u1CFA-\u1CFF\u1DF6-\u1DFA\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\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\u2E45-\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\uA7AF\uA7B8-\uA7F6\uA82C-\uA82F\uA83A-\uA83F\uA878-\uA87F\uA8C6-\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\uF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uDF74-\uDF7F\uDFD5-\uDFFF]|\uD83E[\uDC0C-\uDC0F\uDC48-\uDC4F\uDC5A-\uDC5F\uDC88-\uDC8F\uDCAE-\uDD0F\uDD1F\uDD28-\uDD2F\uDD31\uDD32\uDD3F\uDD4C-\uDD4F\uDD5F-\uDD7F\uDD92-\uDDBF\uDDC1-\uDFFF]|\uD869[\uDED7-\uDEFF]|\uD86D[\uDF35-\uDF3F]|\uD86E[\uDC1E\uDC1F]|\uD873[\uDEA2-\uDFFF]|\uD87E[\uDE1E-\uDFFF]|\uDB40[\uDC00-\uDCFF\uDDF0-\uDFFF]'
- },
- {
- name: 'Cc',
- alias: 'Control',
- bmp: '\0-\x1F\x7F-\x9F'
- },
- {
- name: 'Cf',
- alias: 'Format',
- bmp: '\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB',
- astral: '\uD804\uDCBD|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]'
- },
- {
- name: 'Cn',
- alias: 'Unassigned',
- bmp: '\u0378\u0379\u0380-\u0383\u038B\u038D\u03A2\u0530\u0557\u0558\u0560\u0588\u058B\u058C\u0590\u05C8-\u05CF\u05EB-\u05EF\u05F5-\u05FF\u061D\u070E\u074B\u074C\u07B2-\u07BF\u07FB-\u07FF\u082E\u082F\u083F\u085C\u085D\u085F-\u089F\u08B5\u08BE-\u08D3\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\u0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F98\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\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\u1C89-\u1CBF\u1CC8-\u1CCF\u1CF7\u1CFA-\u1CFF\u1DF6-\u1DFA\u1F16\u1F17\u1F1E\u1F1F\u1F46\u1F47\u1F4E\u1F4F\u1F58\u1F5A\u1F5C\u1F5E\u1F7E\u1F7F\u1FB5\u1FC5\u1FD4\u1FD5\u1FDC\u1FF0\u1FF1\u1FF5\u1FFF\u2065\u2072\u2073\u208F\u209D-\u209F\u20BF-\u20CF\u20F1-\u20FF\u218C-\u218F\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\u2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0-\uDBFE][\uDC00-\uDFFF]|[\uDBBF\uDBFF][\uDC00-\uDFFD]'
- },
- {
- name: 'Cs',
- alias: 'Surrogate',
- bmp: '\uD800-\uDFFF'
- },
- {
- name: 'L',
- alias: 'Letter',
- bmp: 'A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\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\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\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\u2183\u2184\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\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC',
- astral: '\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5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},
- {
- name: 'Ll',
- alias: 'Lowercase_Letter',
- bmp: 'a-z\xB5\xDF-\xF6\xF8-\xFF\u0101\u0103\u0105\u0107\u0109\u010B\u010D\u010F\u0111\u0113\u0115\u0117\u0119\u011B\u011D\u011F\u0121\u0123\u0125\u0127\u0129\u012B\u012D\u012F\u0131\u0133\u0135\u0137\u0138\u013A\u013C\u013E\u0140\u0142\u0144\u0146\u0148\u0149\u014B\u014D\u014F\u0151\u0153\u0155\u0157\u0159\u015B\u015D\u015F\u0161\u0163\u0165\u0167\u0169\u016B\u016D\u016F\u0171\u0173\u0175\u0177\u017A\u017C\u017E-\u0180\u0183\u0185\u0188\u018C\u018D\u0192\u0195\u0199-\u019B\u019E\u01A1\u01A3\u01A5\u01A8\u01AA\u01AB\u01AD\u01B0\u01B4\u01B6\u01B9\u01BA\u01BD-\u01BF\u01C6\u01C9\u01CC\u01CE\u01D0\u01D2\u01D4\u01D6\u01D8\u01DA\u01DC\u01DD\u01DF\u01E1\u01E3\u01E5\u01E7\u01E9\u01EB\u01ED\u01EF\u01F0\u01F3\u01F5\u01F9\u01FB\u01FD\u01FF\u0201\u0203\u0205\u0207\u0209\u020B\u020D\u020F\u0211\u0213\u0215\u0217\u0219\u021B\u021D\u021F\u0221\u0223\u0225\u0227\u0229\u022B\u022D\u022F\u0231\u0233-\u0239\u023C\u023F\u0240\u0242\u0247\u0249\u024B\u024D\u024F-\u0293\u0295-\u02AF\u0371\u0373\u0377\u037B-\u037D\u0390\u03AC-\u03CE\u03D0\u03D1\u03D5-\u03D7\u03D9\u03DB\u03DD\u03DF\u03E1\u03E3\u03E5\u03E7\u03E9\u03EB\u03ED\u03EF-\u03F3\u03F5\u03F8\u03FB\u03FC\u0430-\u045F\u0461\u0463\u0465\u0467\u0469\u046B\u046D\u046F\u0471\u0473\u0475\u0477\u0479\u047B\u047D\u047F\u0481\u048B\u048D\u048F\u0491\u0493\u0495\u0497\u0499\u049B\u049D\u049F\u04A1\u04A3\u04A5\u04A7\u04A9\u04AB\u04AD\u04AF\u04B1\u04B3\u04B5\u04B7\u04B9\u04BB\u04BD\u04BF\u04C2\u04C4\u04C6\u04C8\u04CA\u04CC\u04CE\u04CF\u04D1\u04D3\u04D5\u04D7\u04D9\u04DB\u04DD\u04DF\u04E1\u04E3\u04E5\u04E7\u04E9\u04EB\u04ED\u04EF\u04F1\u04F3\u04F5\u04F7\u04F9\u04FB\u04FD\u04FF\u0501\u0503\u0505\u0507\u0509\u050B\u050D\u050F\u0511\u0513\u0515\u0517\u0519\u051B\u051D\u051F\u0521\u0523\u0525\u0527\u0529\u052B\u052D\u052F\u0561-\u0587\u13F8-\u13FD\u1C80-\u1C88\u1D00-\u1D2B\u1D6B-\u1D77\u1D79-\u1D9A\u1E01\u1E03\u1E05\u1E07\u1E09\u1E0B\u1E0D\u1E0F\u1E11\u1E13\u1E15\u1E17\u1E19\u1E1B\u1E1D\u1E1F\u1E21\u1E23\u1E25\u1E27\u1E29\u1E2B\u1E2D\u1E2F\u1E31\u1E33\u1E35\u1E37\u1E39\u1E3B\u1E3D\u1E3F\u1E41\u1E43\u1E45\u1E47\u1E49\u1E4B\u1E4D\u1E4F\u1E51\u1E53\u1E55\u1E57\u1E59\u1E5B\u1E5D\u1E5F\u1E61\u1E63\u1E65\u1E67\u1E69\u1E6B\u1E6D\u1E6F\u1E71\u1E73\u1E75\u1E77\u1E79\u1E7B\u1E7D\u1E7F\u1E81\u1E83\u1E85\u1E87\u1E89\u1E8B\u1E8D\u1E8F\u1E91\u1E93\u1E95-\u1E9D\u1E9F\u1EA1\u1EA3\u1EA5\u1EA7\u1EA9\u1EAB\u1EAD\u1EAF\u1EB1\u1EB3\u1EB5\u1EB7\u1EB9\u1EBB\u1EBD\u1EBF\u1EC1\u1EC3\u1EC5\u1EC7\u1EC9\u1ECB\u1ECD\u1ECF\u1ED1\u1ED3\u1ED5\u1ED7\u1ED9\u1EDB\u1EDD\u1EDF\u1EE1\u1EE3\u1EE5\u1EE7\u1EE9\u1EEB\u1EED\u1EEF\u1EF1\u1EF3\u1EF5\u1EF7\u1EF9\u1EFB\u1EFD\u1EFF-\u1F07\u1F10-\u1F15\u1F20-\u1F27\u1F30-\u1F37\u1F40-\u1F45\u1F50-\u1F57\u1F60-\u1F67\u1F70-\u1F7D\u1F80-\u1F87\u1F90-\u1F97\u1FA0-\u1FA7\u1FB0-\u1FB4\u1FB6\u1FB7\u1FBE\u1FC2-\u1FC4\u1FC6\u1FC7\u1FD0-\u1FD3\u1FD6\u1FD7\u1FE0-\u1FE7\u1FF2-\u1FF4\u1FF6\u1FF7\u210A\u210E\u210F\u2113\u212F\u2134\u2139\u213C\u213D\u2146-\u2149\u214E\u2184\u2C30-\u2C5E\u2C61\u2C65\u2C66\u2C68\u2C6A\u2C6C\u2C71\u2C73\u2C74\u2C76-\u2C7B\u2C81\u2C83\u2C85\u2C87\u2C89\u2C8B\u2C8D\u2C8F\u2C91\u2C93\u2C95\u2C97\u2C99\u2C9B\u2C9D\u2C9F\u2CA1\u2CA3\u2CA5\u2CA7\u2CA9\u2CAB\u2CAD\u2CAF\u2CB1\u2CB3\u2CB5\u2CB7\u2CB9\u2CBB\u2CBD\u2CBF\u2CC1\u2CC3\u2CC5\u2CC7\u2CC9\u2CCB\u2CCD\u2CCF\u2CD1\u2CD3\u2CD5\u2CD7\u2CD9\u2CDB\u2CDD\u2CDF\u2CE1\u2CE3\u2CE4\u2CEC\u2CEE\u2CF3\u2D00-\u2D25\u2D27\u2D2D\uA641\uA643\uA645\uA647\uA649\uA64B\uA64D\uA64F\uA651\uA653\uA655\uA657\uA659\uA65B\uA65D\uA65F\uA661\uA663\uA665\uA667\uA669\uA66B\uA66D\uA681\uA683\uA685\uA687\uA689\uA68B\uA68D\uA68F\uA691\uA693\uA695\uA697\uA699\uA69B\uA723\uA725\uA727\uA729\uA72B\uA72D\uA72F-\uA731\uA733\uA735\uA737\uA739\uA73B\uA73D\uA73F\uA741\uA743\uA745\uA747\uA749\uA74B\uA74D\uA74F\uA751\uA753\uA755\uA757\uA759\uA75B\uA75D\uA75F\uA761\uA763\uA765\uA767\uA769\uA76B\uA76D\uA76F\uA771-\uA778\uA77A\uA77C\uA77F\uA781\uA783\uA785\uA787\uA78C\uA78E\uA791\uA793-\uA795\uA797\uA799\uA79B\uA79D\uA79F\uA7A1\uA7A3\uA7A5\uA7A7\uA7A9\uA7B5\uA7B7\uA7FA\uAB30-\uAB5A\uAB60-\uAB65\uAB70-\uABBF\uFB00-\uFB06\uFB13-\uFB17\uFF41-\uFF5A',
- astral: '\uD801[\uDC28-\uDC4F\uDCD8-\uDCFB]|\uD803[\uDCC0-\uDCF2]|\uD806[\uDCC0-\uDCDF]|\uD835[\uDC1A-\uDC33\uDC4E-\uDC54\uDC56-\uDC67\uDC82-\uDC9B\uDCB6-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDCEA-\uDD03\uDD1E-\uDD37\uDD52-\uDD6B\uDD86-\uDD9F\uDDBA-\uDDD3\uDDEE-\uDE07\uDE22-\uDE3B\uDE56-\uDE6F\uDE8A-\uDEA5\uDEC2-\uDEDA\uDEDC-\uDEE1\uDEFC-\uDF14\uDF16-\uDF1B\uDF36-\uDF4E\uDF50-\uDF55\uDF70-\uDF88\uDF8A-\uDF8F\uDFAA-\uDFC2\uDFC4-\uDFC9\uDFCB]|\uD83A[\uDD22-\uDD43]'
- },
- {
- name: 'Lm',
- alias: 'Modifier_Letter',
- bmp: '\u02B0-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0374\u037A\u0559\u0640\u06E5\u06E6\u07F4\u07F5\u07FA\u081A\u0824\u0828\u0971\u0E46\u0EC6\u10FC\u17D7\u1843\u1AA7\u1C78-\u1C7D\u1D2C-\u1D6A\u1D78\u1D9B-\u1DBF\u2071\u207F\u2090-\u209C\u2C7C\u2C7D\u2D6F\u2E2F\u3005\u3031-\u3035\u303B\u309D\u309E\u30FC-\u30FE\uA015\uA4F8-\uA4FD\uA60C\uA67F\uA69C\uA69D\uA717-\uA71F\uA770\uA788\uA7F8\uA7F9\uA9CF\uA9E6\uAA70\uAADD\uAAF3\uAAF4\uAB5C-\uAB5F\uFF70\uFF9E\uFF9F',
- astral: '\uD81A[\uDF40-\uDF43]|\uD81B[\uDF93-\uDF9F\uDFE0]'
- },
- {
- name: 'Lo',
- alias: 'Other_Letter',
- bmp: '\xAA\xBA\u01BB\u01C0-\u01C3\u0294\u05D0-\u05EA\u05F0-\u05F2\u0620-\u063F\u0641-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u0800-\u0815\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0972-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E45\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10D0-\u10FA\u10FD-\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\u1380-\u138F\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17DC\u1820-\u1842\u1844-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C77\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u2135-\u2138\u2D30-\u2D67\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3006\u303C\u3041-\u3096\u309F\u30A1-\u30FA\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA014\uA016-\uA48C\uA4D0-\uA4F7\uA500-\uA60B\uA610-\uA61F\uA62A\uA62B\uA66E\uA6A0-\uA6E5\uA78F\uA7F7\uA7FB-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9E0-\uA9E4\uA9E7-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA6F\uAA71-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB\uAADC\uAAE0-\uAAEA\uAAF2\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF66-\uFF6F\uFF71-\uFF9D\uFFA0-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC',
- astral: '\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC50-\uDC9D\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD83A[\uDC00-\uDCC4]|\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]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]'
- },
- {
- name: 'Lt',
- alias: 'Titlecase_Letter',
- bmp: '\u01C5\u01C8\u01CB\u01F2\u1F88-\u1F8F\u1F98-\u1F9F\u1FA8-\u1FAF\u1FBC\u1FCC\u1FFC'
- },
- {
- name: 'Lu',
- alias: 'Uppercase_Letter',
- bmp: 'A-Z\xC0-\xD6\xD8-\xDE\u0100\u0102\u0104\u0106\u0108\u010A\u010C\u010E\u0110\u0112\u0114\u0116\u0118\u011A\u011C\u011E\u0120\u0122\u0124\u0126\u0128\u012A\u012C\u012E\u0130\u0132\u0134\u0136\u0139\u013B\u013D\u013F\u0141\u0143\u0145\u0147\u014A\u014C\u014E\u0150\u0152\u0154\u0156\u0158\u015A\u015C\u015E\u0160\u0162\u0164\u0166\u0168\u016A\u016C\u016E\u0170\u0172\u0174\u0176\u0178\u0179\u017B\u017D\u0181\u0182\u0184\u0186\u0187\u0189-\u018B\u018E-\u0191\u0193\u0194\u0196-\u0198\u019C\u019D\u019F\u01A0\u01A2\u01A4\u01A6\u01A7\u01A9\u01AC\u01AE\u01AF\u01B1-\u01B3\u01B5\u01B7\u01B8\u01BC\u01C4\u01C7\u01CA\u01CD\u01CF\u01D1\u01D3\u01D5\u01D7\u01D9\u01DB\u01DE\u01E0\u01E2\u01E4\u01E6\u01E8\u01EA\u01EC\u01EE\u01F1\u01F4\u01F6-\u01F8\u01FA\u01FC\u01FE\u0200\u0202\u0204\u0206\u0208\u020A\u020C\u020E\u0210\u0212\u0214\u0216\u0218\u021A\u021C\u021E\u0220\u0222\u0224\u0226\u0228\u022A\u022C\u022E\u0230\u0232\u023A\u023B\u023D\u023E\u0241\u0243-\u0246\u0248\u024A\u024C\u024E\u0370\u0372\u0376\u037F\u0386\u0388-\u038A\u038C\u038E\u038F\u0391-\u03A1\u03A3-\u03AB\u03CF\u03D2-\u03D4\u03D8\u03DA\u03DC\u03DE\u03E0\u03E2\u03E4\u03E6\u03E8\u03EA\u03EC\u03EE\u03F4\u03F7\u03F9\u03FA\u03FD-\u042F\u0460\u0462\u0464\u0466\u0468\u046A\u046C\u046E\u0470\u0472\u0474\u0476\u0478\u047A\u047C\u047E\u0480\u048A\u048C\u048E\u0490\u0492\u0494\u0496\u0498\u049A\u049C\u049E\u04A0\u04A2\u04A4\u04A6\u04A8\u04AA\u04AC\u04AE\u04B0\u04B2\u04B4\u04B6\u04B8\u04BA\u04BC\u04BE\u04C0\u04C1\u04C3\u04C5\u04C7\u04C9\u04CB\u04CD\u04D0\u04D2\u04D4\u04D6\u04D8\u04DA\u04DC\u04DE\u04E0\u04E2\u04E4\u04E6\u04E8\u04EA\u04EC\u04EE\u04F0\u04F2\u04F4\u04F6\u04F8\u04FA\u04FC\u04FE\u0500\u0502\u0504\u0506\u0508\u050A\u050C\u050E\u0510\u0512\u0514\u0516\u0518\u051A\u051C\u051E\u0520\u0522\u0524\u0526\u0528\u052A\u052C\u052E\u0531-\u0556\u10A0-\u10C5\u10C7\u10CD\u13A0-\u13F5\u1E00\u1E02\u1E04\u1E06\u1E08\u1E0A\u1E0C\u1E0E\u1E10\u1E12\u1E14\u1E16\u1E18\u1E1A\u1E1C\u1E1E\u1E20\u1E22\u1E24\u1E26\u1E28\u1E2A\u1E2C\u1E2E\u1E30\u1E32\u1E34\u1E36\u1E38\u1E3A\u1E3C\u1E3E\u1E40\u1E42\u1E44\u1E46\u1E48\u1E4A\u1E4C\u1E4E\u1E50\u1E52\u1E54\u1E56\u1E58\u1E5A\u1E5C\u1E5E\u1E60\u1E62\u1E64\u1E66\u1E68\u1E6A\u1E6C\u1E6E\u1E70\u1E72\u1E74\u1E76\u1E78\u1E7A\u1E7C\u1E7E\u1E80\u1E82\u1E84\u1E86\u1E88\u1E8A\u1E8C\u1E8E\u1E90\u1E92\u1E94\u1E9E\u1EA0\u1EA2\u1EA4\u1EA6\u1EA8\u1EAA\u1EAC\u1EAE\u1EB0\u1EB2\u1EB4\u1EB6\u1EB8\u1EBA\u1EBC\u1EBE\u1EC0\u1EC2\u1EC4\u1EC6\u1EC8\u1ECA\u1ECC\u1ECE\u1ED0\u1ED2\u1ED4\u1ED6\u1ED8\u1EDA\u1EDC\u1EDE\u1EE0\u1EE2\u1EE4\u1EE6\u1EE8\u1EEA\u1EEC\u1EEE\u1EF0\u1EF2\u1EF4\u1EF6\u1EF8\u1EFA\u1EFC\u1EFE\u1F08-\u1F0F\u1F18-\u1F1D\u1F28-\u1F2F\u1F38-\u1F3F\u1F48-\u1F4D\u1F59\u1F5B\u1F5D\u1F5F\u1F68-\u1F6F\u1FB8-\u1FBB\u1FC8-\u1FCB\u1FD8-\u1FDB\u1FE8-\u1FEC\u1FF8-\u1FFB\u2102\u2107\u210B-\u210D\u2110-\u2112\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u2130-\u2133\u213E\u213F\u2145\u2183\u2C00-\u2C2E\u2C60\u2C62-\u2C64\u2C67\u2C69\u2C6B\u2C6D-\u2C70\u2C72\u2C75\u2C7E-\u2C80\u2C82\u2C84\u2C86\u2C88\u2C8A\u2C8C\u2C8E\u2C90\u2C92\u2C94\u2C96\u2C98\u2C9A\u2C9C\u2C9E\u2CA0\u2CA2\u2CA4\u2CA6\u2CA8\u2CAA\u2CAC\u2CAE\u2CB0\u2CB2\u2CB4\u2CB6\u2CB8\u2CBA\u2CBC\u2CBE\u2CC0\u2CC2\u2CC4\u2CC6\u2CC8\u2CCA\u2CCC\u2CCE\u2CD0\u2CD2\u2CD4\u2CD6\u2CD8\u2CDA\u2CDC\u2CDE\u2CE0\u2CE2\u2CEB\u2CED\u2CF2\uA640\uA642\uA644\uA646\uA648\uA64A\uA64C\uA64E\uA650\uA652\uA654\uA656\uA658\uA65A\uA65C\uA65E\uA660\uA662\uA664\uA666\uA668\uA66A\uA66C\uA680\uA682\uA684\uA686\uA688\uA68A\uA68C\uA68E\uA690\uA692\uA694\uA696\uA698\uA69A\uA722\uA724\uA726\uA728\uA72A\uA72C\uA72E\uA732\uA734\uA736\uA738\uA73A\uA73C\uA73E\uA740\uA742\uA744\uA746\uA748\uA74A\uA74C\uA74E\uA750\uA752\uA754\uA756\uA758\uA75A\uA75C\uA75E\uA760\uA762\uA764\uA766\uA768\uA76A\uA76C\uA76E\uA779\uA77B\uA77D\uA77E\uA780\uA782\uA784\uA786\uA78B\uA78D\uA790\uA792\uA796\uA798\uA79A\uA79C\uA79E\uA7A0\uA7A2\uA7A4\uA7A6\uA7A8\uA7AA-\uA7AE\uA7B0-\uA7B4\uA7B6\uFF21-\uFF3A',
- astral: '\uD801[\uDC00-\uDC27\uDCB0-\uDCD3]|\uD803[\uDC80-\uDCB2]|\uD806[\uDCA0-\uDCBF]|\uD835[\uDC00-\uDC19\uDC34-\uDC4D\uDC68-\uDC81\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB5\uDCD0-\uDCE9\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD38\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD6C-\uDD85\uDDA0-\uDDB9\uDDD4-\uDDED\uDE08-\uDE21\uDE3C-\uDE55\uDE70-\uDE89\uDEA8-\uDEC0\uDEE2-\uDEFA\uDF1C-\uDF34\uDF56-\uDF6E\uDF90-\uDFA8\uDFCA]|\uD83A[\uDD00-\uDD21]'
- },
- {
- name: 'M',
- alias: 'Mark',
- bmp: '\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D4-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C03\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D01-\u0D03\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF5\u1DFB-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F',
- astral: '\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD804[\uDC00-\uDC02\uDC38-\uDC46\uDC7F-\uDC82\uDCB0-\uDCBA\uDD00-\uDD02\uDD27-\uDD34\uDD73\uDD80-\uDD82\uDDB3-\uDDC0\uDDCA-\uDDCC\uDE2C-\uDE37\uDE3E\uDEDF-\uDEEA\uDF00-\uDF03\uDF3C\uDF3E-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF57\uDF62\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC35-\uDC46\uDCB0-\uDCC3\uDDAF-\uDDB5\uDDB8-\uDDC0\uDDDC\uDDDD\uDE30-\uDE40\uDEAB-\uDEB7\uDF1D-\uDF2B]|\uD807[\uDC2F-\uDC36\uDC38-\uDC3F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF51-\uDF7E\uDF8F-\uDF92]|\uD82F[\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDCD0-\uDCD6\uDD44-\uDD4A]|\uDB40[\uDD00-\uDDEF]'
- },
- {
- name: 'Mc',
- alias: 'Spacing_Mark',
- bmp: '\u0903\u093B\u093E-\u0940\u0949-\u094C\u094E\u094F\u0982\u0983\u09BE-\u09C0\u09C7\u09C8\u09CB\u09CC\u09D7\u0A03\u0A3E-\u0A40\u0A83\u0ABE-\u0AC0\u0AC9\u0ACB\u0ACC\u0B02\u0B03\u0B3E\u0B40\u0B47\u0B48\u0B4B\u0B4C\u0B57\u0BBE\u0BBF\u0BC1\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCC\u0BD7\u0C01-\u0C03\u0C41-\u0C44\u0C82\u0C83\u0CBE\u0CC0-\u0CC4\u0CC7\u0CC8\u0CCA\u0CCB\u0CD5\u0CD6\u0D02\u0D03\u0D3E-\u0D40\u0D46-\u0D48\u0D4A-\u0D4C\u0D57\u0D82\u0D83\u0DCF-\u0DD1\u0DD8-\u0DDF\u0DF2\u0DF3\u0F3E\u0F3F\u0F7F\u102B\u102C\u1031\u1038\u103B\u103C\u1056\u1057\u1062-\u1064\u1067-\u106D\u1083\u1084\u1087-\u108C\u108F\u109A-\u109C\u17B6\u17BE-\u17C5\u17C7\u17C8\u1923-\u1926\u1929-\u192B\u1930\u1931\u1933-\u1938\u1A19\u1A1A\u1A55\u1A57\u1A61\u1A63\u1A64\u1A6D-\u1A72\u1B04\u1B35\u1B3B\u1B3D-\u1B41\u1B43\u1B44\u1B82\u1BA1\u1BA6\u1BA7\u1BAA\u1BE7\u1BEA-\u1BEC\u1BEE\u1BF2\u1BF3\u1C24-\u1C2B\u1C34\u1C35\u1CE1\u1CF2\u1CF3\u302E\u302F\uA823\uA824\uA827\uA880\uA881\uA8B4-\uA8C3\uA952\uA953\uA983\uA9B4\uA9B5\uA9BA\uA9BB\uA9BD-\uA9C0\uAA2F\uAA30\uAA33\uAA34\uAA4D\uAA7B\uAA7D\uAAEB\uAAEE\uAAEF\uAAF5\uABE3\uABE4\uABE6\uABE7\uABE9\uABEA\uABEC',
- astral: '\uD804[\uDC00\uDC02\uDC82\uDCB0-\uDCB2\uDCB7\uDCB8\uDD2C\uDD82\uDDB3-\uDDB5\uDDBF\uDDC0\uDE2C-\uDE2E\uDE32\uDE33\uDE35\uDEE0-\uDEE2\uDF02\uDF03\uDF3E\uDF3F\uDF41-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF57\uDF62\uDF63]|\uD805[\uDC35-\uDC37\uDC40\uDC41\uDC45\uDCB0-\uDCB2\uDCB9\uDCBB-\uDCBE\uDCC1\uDDAF-\uDDB1\uDDB8-\uDDBB\uDDBE\uDE30-\uDE32\uDE3B\uDE3C\uDE3E\uDEAC\uDEAE\uDEAF\uDEB6\uDF20\uDF21\uDF26]|\uD807[\uDC2F\uDC3E\uDCA9\uDCB1\uDCB4]|\uD81B[\uDF51-\uDF7E]|\uD834[\uDD65\uDD66\uDD6D-\uDD72]'
- },
- {
- name: 'Me',
- alias: 'Enclosing_Mark',
- bmp: '\u0488\u0489\u1ABE\u20DD-\u20E0\u20E2-\u20E4\uA670-\uA672'
- },
- {
- name: 'Mn',
- alias: 'Nonspacing_Mark',
- bmp: '\u0300-\u036F\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D4-\u08E1\u08E3-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962\u0963\u0981\u09BC\u09C1-\u09C4\u09CD\u09E2\u09E3\u0A01\u0A02\u0A3C\u0A41\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7\u0AC8\u0ACD\u0AE2\u0AE3\u0B01\u0B3C\u0B3F\u0B41-\u0B44\u0B4D\u0B56\u0B62\u0B63\u0B82\u0BC0\u0BCD\u0C00\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81\u0CBC\u0CBF\u0CC6\u0CCC\u0CCD\u0CE2\u0CE3\u0D01\u0D41-\u0D44\u0D4D\u0D62\u0D63\u0DCA\u0DD2-\u0DD4\u0DD6\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F71-\u0F7E\u0F80-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039\u103A\u103D\u103E\u1058\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085\u1086\u108D\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1ABD\u1B00-\u1B03\u1B34\u1B36-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80\u1B81\u1BA2-\u1BA5\u1BA8\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF5\u1DFB-\u1DFF\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302D\u3099\u309A\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA825\uA826\uA8C4\uA8C5\uA8E0-\uA8F1\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\uA9E5\uAA29-\uAA2E\uAA31\uAA32\uAA35\uAA36\uAA43\uAA4C\uAA7C\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEC\uAAED\uAAF6\uABE5\uABE8\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F',
- astral: '\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD804[\uDC01\uDC38-\uDC46\uDC7F-\uDC81\uDCB3-\uDCB6\uDCB9\uDCBA\uDD00-\uDD02\uDD27-\uDD2B\uDD2D-\uDD34\uDD73\uDD80\uDD81\uDDB6-\uDDBE\uDDCA-\uDDCC\uDE2F-\uDE31\uDE34\uDE36\uDE37\uDE3E\uDEDF\uDEE3-\uDEEA\uDF00\uDF01\uDF3C\uDF40\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC38-\uDC3F\uDC42-\uDC44\uDC46\uDCB3-\uDCB8\uDCBA\uDCBF\uDCC0\uDCC2\uDCC3\uDDB2-\uDDB5\uDDBC\uDDBD\uDDBF\uDDC0\uDDDC\uDDDD\uDE33-\uDE3A\uDE3D\uDE3F\uDE40\uDEAB\uDEAD\uDEB0-\uDEB5\uDEB7\uDF1D-\uDF1F\uDF22-\uDF25\uDF27-\uDF2B]|\uD807[\uDC30-\uDC36\uDC38-\uDC3D\uDC3F\uDC92-\uDCA7\uDCAA-\uDCB0\uDCB2\uDCB3\uDCB5\uDCB6]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF8F-\uDF92]|\uD82F[\uDC9D\uDC9E]|\uD834[\uDD67-\uDD69\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDCD0-\uDCD6\uDD44-\uDD4A]|\uDB40[\uDD00-\uDDEF]'
- },
- {
- name: 'N',
- alias: 'Number',
- bmp: '0-9\xB2\xB3\xB9\xBC-\xBE\u0660-\u0669\u06F0-\u06F9\u07C0-\u07C9\u0966-\u096F\u09E6-\u09EF\u09F4-\u09F9\u0A66-\u0A6F\u0AE6-\u0AEF\u0B66-\u0B6F\u0B72-\u0B77\u0BE6-\u0BF2\u0C66-\u0C6F\u0C78-\u0C7E\u0CE6-\u0CEF\u0D58-\u0D5E\u0D66-\u0D78\u0DE6-\u0DEF\u0E50-\u0E59\u0ED0-\u0ED9\u0F20-\u0F33\u1040-\u1049\u1090-\u1099\u1369-\u137C\u16EE-\u16F0\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1946-\u194F\u19D0-\u19DA\u1A80-\u1A89\u1A90-\u1A99\u1B50-\u1B59\u1BB0-\u1BB9\u1C40-\u1C49\u1C50-\u1C59\u2070\u2074-\u2079\u2080-\u2089\u2150-\u2182\u2185-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2CFD\u3007\u3021-\u3029\u3038-\u303A\u3192-\u3195\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\uA620-\uA629\uA6E6-\uA6EF\uA830-\uA835\uA8D0-\uA8D9\uA900-\uA909\uA9D0-\uA9D9\uA9F0-\uA9F9\uAA50-\uAA59\uABF0-\uABF9\uFF10-\uFF19',
- astral: '\uD800[\uDD07-\uDD33\uDD40-\uDD78\uDD8A\uDD8B\uDEE1-\uDEFB\uDF20-\uDF23\uDF41\uDF4A\uDFD1-\uDFD5]|\uD801[\uDCA0-\uDCA9]|\uD802[\uDC58-\uDC5F\uDC79-\uDC7F\uDCA7-\uDCAF\uDCFB-\uDCFF\uDD16-\uDD1B\uDDBC\uDDBD\uDDC0-\uDDCF\uDDD2-\uDDFF\uDE40-\uDE47\uDE7D\uDE7E\uDE9D-\uDE9F\uDEEB-\uDEEF\uDF58-\uDF5F\uDF78-\uDF7F\uDFA9-\uDFAF]|\uD803[\uDCFA-\uDCFF\uDE60-\uDE7E]|\uD804[\uDC52-\uDC6F\uDCF0-\uDCF9\uDD36-\uDD3F\uDDD0-\uDDD9\uDDE1-\uDDF4\uDEF0-\uDEF9]|\uD805[\uDC50-\uDC59\uDCD0-\uDCD9\uDE50-\uDE59\uDEC0-\uDEC9\uDF30-\uDF3B]|\uD806[\uDCE0-\uDCF2]|\uD807[\uDC50-\uDC6C]|\uD809[\uDC00-\uDC6E]|\uD81A[\uDE60-\uDE69\uDF50-\uDF59\uDF5B-\uDF61]|\uD834[\uDF60-\uDF71]|\uD835[\uDFCE-\uDFFF]|\uD83A[\uDCC7-\uDCCF\uDD50-\uDD59]|\uD83C[\uDD00-\uDD0C]'
- },
- {
- name: 'Nd',
- alias: 'Decimal_Number',
- bmp: '0-9\u0660-\u0669\u06F0-\u06F9\u07C0-\u07C9\u0966-\u096F\u09E6-\u09EF\u0A66-\u0A6F\u0AE6-\u0AEF\u0B66-\u0B6F\u0BE6-\u0BEF\u0C66-\u0C6F\u0CE6-\u0CEF\u0D66-\u0D6F\u0DE6-\u0DEF\u0E50-\u0E59\u0ED0-\u0ED9\u0F20-\u0F29\u1040-\u1049\u1090-\u1099\u17E0-\u17E9\u1810-\u1819\u1946-\u194F\u19D0-\u19D9\u1A80-\u1A89\u1A90-\u1A99\u1B50-\u1B59\u1BB0-\u1BB9\u1C40-\u1C49\u1C50-\u1C59\uA620-\uA629\uA8D0-\uA8D9\uA900-\uA909\uA9D0-\uA9D9\uA9F0-\uA9F9\uAA50-\uAA59\uABF0-\uABF9\uFF10-\uFF19',
- astral: '\uD801[\uDCA0-\uDCA9]|\uD804[\uDC66-\uDC6F\uDCF0-\uDCF9\uDD36-\uDD3F\uDDD0-\uDDD9\uDEF0-\uDEF9]|\uD805[\uDC50-\uDC59\uDCD0-\uDCD9\uDE50-\uDE59\uDEC0-\uDEC9\uDF30-\uDF39]|\uD806[\uDCE0-\uDCE9]|\uD807[\uDC50-\uDC59]|\uD81A[\uDE60-\uDE69\uDF50-\uDF59]|\uD835[\uDFCE-\uDFFF]|\uD83A[\uDD50-\uDD59]'
- },
- {
- name: 'Nl',
- alias: 'Letter_Number',
- bmp: '\u16EE-\u16F0\u2160-\u2182\u2185-\u2188\u3007\u3021-\u3029\u3038-\u303A\uA6E6-\uA6EF',
- astral: '\uD800[\uDD40-\uDD74\uDF41\uDF4A\uDFD1-\uDFD5]|\uD809[\uDC00-\uDC6E]'
- },
- {
- name: 'No',
- alias: 'Other_Number',
- bmp: '\xB2\xB3\xB9\xBC-\xBE\u09F4-\u09F9\u0B72-\u0B77\u0BF0-\u0BF2\u0C78-\u0C7E\u0D58-\u0D5E\u0D70-\u0D78\u0F2A-\u0F33\u1369-\u137C\u17F0-\u17F9\u19DA\u2070\u2074-\u2079\u2080-\u2089\u2150-\u215F\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2CFD\u3192-\u3195\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\uA830-\uA835',
- astral: '\uD800[\uDD07-\uDD33\uDD75-\uDD78\uDD8A\uDD8B\uDEE1-\uDEFB\uDF20-\uDF23]|\uD802[\uDC58-\uDC5F\uDC79-\uDC7F\uDCA7-\uDCAF\uDCFB-\uDCFF\uDD16-\uDD1B\uDDBC\uDDBD\uDDC0-\uDDCF\uDDD2-\uDDFF\uDE40-\uDE47\uDE7D\uDE7E\uDE9D-\uDE9F\uDEEB-\uDEEF\uDF58-\uDF5F\uDF78-\uDF7F\uDFA9-\uDFAF]|\uD803[\uDCFA-\uDCFF\uDE60-\uDE7E]|\uD804[\uDC52-\uDC65\uDDE1-\uDDF4]|\uD805[\uDF3A\uDF3B]|\uD806[\uDCEA-\uDCF2]|\uD807[\uDC5A-\uDC6C]|\uD81A[\uDF5B-\uDF61]|\uD834[\uDF60-\uDF71]|\uD83A[\uDCC7-\uDCCF]|\uD83C[\uDD00-\uDD0C]'
- },
- {
- name: 'P',
- alias: 'Punctuation',
- bmp: '\x21-\x23\x25-\\x2A\x2C-\x2F\x3A\x3B\\x3F\x40\\x5B-\\x5D\x5F\\x7B\x7D\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E44\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65',
- astral: '\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD807[\uDC41-\uDC45\uDC70\uDC71]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]'
- },
- {
- name: 'Pc',
- alias: 'Connector_Punctuation',
- bmp: '\x5F\u203F\u2040\u2054\uFE33\uFE34\uFE4D-\uFE4F\uFF3F'
- },
- {
- name: 'Pd',
- alias: 'Dash_Punctuation',
- bmp: '\\x2D\u058A\u05BE\u1400\u1806\u2010-\u2015\u2E17\u2E1A\u2E3A\u2E3B\u2E40\u301C\u3030\u30A0\uFE31\uFE32\uFE58\uFE63\uFF0D'
- },
- {
- name: 'Pe',
- alias: 'Close_Punctuation',
- bmp: '\\x29\\x5D\x7D\u0F3B\u0F3D\u169C\u2046\u207E\u208E\u2309\u230B\u232A\u2769\u276B\u276D\u276F\u2771\u2773\u2775\u27C6\u27E7\u27E9\u27EB\u27ED\u27EF\u2984\u2986\u2988\u298A\u298C\u298E\u2990\u2992\u2994\u2996\u2998\u29D9\u29DB\u29FD\u2E23\u2E25\u2E27\u2E29\u3009\u300B\u300D\u300F\u3011\u3015\u3017\u3019\u301B\u301E\u301F\uFD3E\uFE18\uFE36\uFE38\uFE3A\uFE3C\uFE3E\uFE40\uFE42\uFE44\uFE48\uFE5A\uFE5C\uFE5E\uFF09\uFF3D\uFF5D\uFF60\uFF63'
- },
- {
- name: 'Pf',
- alias: 'Final_Punctuation',
- bmp: '\xBB\u2019\u201D\u203A\u2E03\u2E05\u2E0A\u2E0D\u2E1D\u2E21'
- },
- {
- name: 'Pi',
- alias: 'Initial_Punctuation',
- bmp: '\xAB\u2018\u201B\u201C\u201F\u2039\u2E02\u2E04\u2E09\u2E0C\u2E1C\u2E20'
- },
- {
- name: 'Po',
- alias: 'Other_Punctuation',
- bmp: '\x21-\x23\x25-\x27\\x2A\x2C\\x2E\x2F\x3A\x3B\\x3F\x40\\x5C\xA1\xA7\xB6\xB7\xBF\u037E\u0387\u055A-\u055F\u0589\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u166D\u166E\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u1805\u1807-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2016\u2017\u2020-\u2027\u2030-\u2038\u203B-\u203E\u2041-\u2043\u2047-\u2051\u2053\u2055-\u205E\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00\u2E01\u2E06-\u2E08\u2E0B\u2E0E-\u2E16\u2E18\u2E19\u2E1B\u2E1E\u2E1F\u2E2A-\u2E2E\u2E30-\u2E39\u2E3C-\u2E3F\u2E41\u2E43\u2E44\u3001-\u3003\u303D\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFE10-\uFE16\uFE19\uFE30\uFE45\uFE46\uFE49-\uFE4C\uFE50-\uFE52\uFE54-\uFE57\uFE5F-\uFE61\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF07\uFF0A\uFF0C\uFF0E\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3C\uFF61\uFF64\uFF65',
- astral: '\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD807[\uDC41-\uDC45\uDC70\uDC71]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]'
- },
- {
- name: 'Ps',
- alias: 'Open_Punctuation',
- bmp: '\\x28\\x5B\\x7B\u0F3A\u0F3C\u169B\u201A\u201E\u2045\u207D\u208D\u2308\u230A\u2329\u2768\u276A\u276C\u276E\u2770\u2772\u2774\u27C5\u27E6\u27E8\u27EA\u27EC\u27EE\u2983\u2985\u2987\u2989\u298B\u298D\u298F\u2991\u2993\u2995\u2997\u29D8\u29DA\u29FC\u2E22\u2E24\u2E26\u2E28\u2E42\u3008\u300A\u300C\u300E\u3010\u3014\u3016\u3018\u301A\u301D\uFD3F\uFE17\uFE35\uFE37\uFE39\uFE3B\uFE3D\uFE3F\uFE41\uFE43\uFE47\uFE59\uFE5B\uFE5D\uFF08\uFF3B\uFF5B\uFF5F\uFF62'
- },
- {
- name: 'S',
- alias: 'Symbol',
- bmp: '\\x24\\x2B\x3C-\x3E\\x5E\x60\\x7C\x7E\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20BE\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u23FE\u2400-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B98-\u2BB9\u2BBD-\u2BC8\u2BCA-\u2BD1\u2BEC-\u2BEF\u2CE5-\u2CEA\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFB\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u32FE\u3300-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uFB29\uFBB2-\uFBC1\uFDFC\uFDFD\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD',
- astral: '\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9B\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDE8\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD83B[\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD10-\uDD2E\uDD30-\uDD6B\uDD70-\uDDAC\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED2\uDEE0-\uDEEC\uDEF0-\uDEF6\uDF00-\uDF73\uDF80-\uDFD4]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDD10-\uDD1E\uDD20-\uDD27\uDD30\uDD33-\uDD3E\uDD40-\uDD4B\uDD50-\uDD5E\uDD80-\uDD91\uDDC0]'
- },
- {
- name: 'Sc',
- alias: 'Currency_Symbol',
- bmp: '\\x24\xA2-\xA5\u058F\u060B\u09F2\u09F3\u09FB\u0AF1\u0BF9\u0E3F\u17DB\u20A0-\u20BE\uA838\uFDFC\uFE69\uFF04\uFFE0\uFFE1\uFFE5\uFFE6'
- },
- {
- name: 'Sk',
- alias: 'Modifier_Symbol',
- bmp: '\\x5E\x60\xA8\xAF\xB4\xB8\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u309B\u309C\uA700-\uA716\uA720\uA721\uA789\uA78A\uAB5B\uFBB2-\uFBC1\uFF3E\uFF40\uFFE3',
- astral: '\uD83C[\uDFFB-\uDFFF]'
- },
- {
- name: 'Sm',
- alias: 'Math_Symbol',
- bmp: '\\x2B\x3C-\x3E\\x7C\x7E\xAC\xB1\xD7\xF7\u03F6\u0606-\u0608\u2044\u2052\u207A-\u207C\u208A-\u208C\u2118\u2140-\u2144\u214B\u2190-\u2194\u219A\u219B\u21A0\u21A3\u21A6\u21AE\u21CE\u21CF\u21D2\u21D4\u21F4-\u22FF\u2320\u2321\u237C\u239B-\u23B3\u23DC-\u23E1\u25B7\u25C1\u25F8-\u25FF\u266F\u27C0-\u27C4\u27C7-\u27E5\u27F0-\u27FF\u2900-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2AFF\u2B30-\u2B44\u2B47-\u2B4C\uFB29\uFE62\uFE64-\uFE66\uFF0B\uFF1C-\uFF1E\uFF5C\uFF5E\uFFE2\uFFE9-\uFFEC',
- astral: '\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD83B[\uDEF0\uDEF1]'
- },
- {
- name: 'So',
- alias: 'Other_Symbol',
- bmp: '\xA6\xA9\xAE\xB0\u0482\u058D\u058E\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u09FA\u0B70\u0BF3-\u0BF8\u0BFA\u0C7F\u0D4F\u0D79\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116\u2117\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u214A\u214C\u214D\u214F\u218A\u218B\u2195-\u2199\u219C-\u219F\u21A1\u21A2\u21A4\u21A5\u21A7-\u21AD\u21AF-\u21CD\u21D0\u21D1\u21D3\u21D5-\u21F3\u2300-\u2307\u230C-\u231F\u2322-\u2328\u232B-\u237B\u237D-\u239A\u23B4-\u23DB\u23E2-\u23FE\u2400-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u25B6\u25B8-\u25C0\u25C2-\u25F7\u2600-\u266E\u2670-\u2767\u2794-\u27BF\u2800-\u28FF\u2B00-\u2B2F\u2B45\u2B46\u2B4D-\u2B73\u2B76-\u2B95\u2B98-\u2BB9\u2BBD-\u2BC8\u2BCA-\u2BD1\u2BEC-\u2BEF\u2CE5-\u2CEA\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFB\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u32FE\u3300-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA828-\uA82B\uA836\uA837\uA839\uAA77-\uAA79\uFDFD\uFFE4\uFFE8\uFFED\uFFEE\uFFFC\uFFFD',
- astral: '\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9B\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDE8\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD10-\uDD2E\uDD30-\uDD6B\uDD70-\uDDAC\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDF00-\uDFFA]|\uD83D[\uDC00-\uDED2\uDEE0-\uDEEC\uDEF0-\uDEF6\uDF00-\uDF73\uDF80-\uDFD4]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDD10-\uDD1E\uDD20-\uDD27\uDD30\uDD33-\uDD3E\uDD40-\uDD4B\uDD50-\uDD5E\uDD80-\uDD91\uDDC0]'
- },
- {
- name: 'Z',
- alias: 'Separator',
- bmp: '\x20\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000'
- },
- {
- name: 'Zl',
- alias: 'Line_Separator',
- bmp: '\u2028'
- },
- {
- name: 'Zp',
- alias: 'Paragraph_Separator',
- bmp: '\u2029'
- },
- {
- name: 'Zs',
- alias: 'Space_Separator',
- bmp: '\x20\xA0\u1680\u2000-\u200A\u202F\u205F\u3000'
- }
- ]);
-
-};
-
-},{}],6:[function(require,module,exports){
-/*!
- * XRegExp Unicode Properties 3.2.0
- *
- * Steven Levithan (c) 2012-2017 MIT License
- * Unicode data by Mathias Bynens
- */
-
-module.exports = function(XRegExp) {
- 'use strict';
-
- /**
- * Adds properties to meet the UTS #18 Level 1 RL1.2 requirements for Unicode regex support. See
- * . Following are definitions of these properties from
- * UAX #44 :
- *
- * - Alphabetic
- * Characters with the Alphabetic property. Generated from: Lowercase + Uppercase + Lt + Lm +
- * Lo + Nl + Other_Alphabetic.
- *
- * - Default_Ignorable_Code_Point
- * For programmatic determination of default ignorable code points. New characters that should
- * be ignored in rendering (unless explicitly supported) will be assigned in these ranges,
- * permitting programs to correctly handle the default rendering of such characters when not
- * otherwise supported.
- *
- * - Lowercase
- * Characters with the Lowercase property. Generated from: Ll + Other_Lowercase.
- *
- * - Noncharacter_Code_Point
- * Code points permanently reserved for internal use.
- *
- * - Uppercase
- * Characters with the Uppercase property. Generated from: Lu + Other_Uppercase.
- *
- * - White_Space
- * Spaces, separator characters and other control characters which should be treated by
- * programming languages as "white space" for the purpose of parsing elements.
- *
- * The properties ASCII, Any, and Assigned are also included but are not defined in UAX #44. UTS
- * #18 RL1.2 additionally requires support for Unicode scripts and general categories. These are
- * included in XRegExp's Unicode Categories and Unicode Scripts addons.
- *
- * Token names are case insensitive, and any spaces, hyphens, and underscores are ignored.
- *
- * Uses Unicode 9.0.0.
- *
- * @requires XRegExp, Unicode Base
- */
-
- if (!XRegExp.addUnicodeData) {
- throw new ReferenceError('Unicode Base must be loaded before Unicode Properties');
- }
-
- var unicodeData = [
- {
- 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\u08B6-\u08BD\u08D4-\u08DF\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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-\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\u1C80-\u1C88\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-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA674-\uA67B\uA67F-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA827\uA840-\uA873\uA880-\uA8C3\uA8C5\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA92A\uA930-\uA952\uA960-\uA97C\uA980-\uA9B2\uA9B4-\uA9BF\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\u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C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC45\uDC82-\uDCB8\uDCD0-\uDCE8\uDD00-\uDD32\uDD50-\uDD72\uDD76\uDD80-\uDDBF\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE34\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEE8\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D-\uDF44\uDF47\uDF48\uDF4B\uDF4C\uDF50\uDF57\uDF5D-\uDF63]|\uD805[\uDC00-\uDC41\uDC43-\uDC45\uDC47-\uDC4A\uDC80-\uDCC1\uDCC4\uDCC5\uDCC7\uDD80-\uDDB5\uDDB8-\uDDBE\uDDD8-\uDDDD\uDE00-\uDE3E\uDE40\uDE44\uDE80-\uDEB5\uDF00-\uDF19\uDF1D-\uDF2A]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC3E\uDC40\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF36\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF93-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9E]|\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-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD47]|\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]|\uD83C[\uDD30-\uDD49\uDD50-\uDD69\uDD70-\uDD89]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]'
- },
- {
- name: 'Any',
- isBmpLast: true,
- bmp: '\0-\uFFFF',
- astral: '[\uD800-\uDBFF][\uDC00-\uDFFF]'
- },
- {
- name: 'Default_Ignorable_Code_Point',
- bmp: '\xAD\u034F\u061C\u115F\u1160\u17B4\u17B5\u180B-\u180E\u200B-\u200F\u202A-\u202E\u2060-\u206F\u3164\uFE00-\uFE0F\uFEFF\uFFA0\uFFF0-\uFFF8',
- astral: '\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|[\uDB40-\uDB43][\uDC00-\uDFFF]'
- },
- {
- name: 'Lowercase',
- bmp: 'a-z\xAA\xB5\xBA\xDF-\xF6\xF8-\xFF\u0101\u0103\u0105\u0107\u0109\u010B\u010D\u010F\u0111\u0113\u0115\u0117\u0119\u011B\u011D\u011F\u0121\u0123\u0125\u0127\u0129\u012B\u012D\u012F\u0131\u0133\u0135\u0137\u0138\u013A\u013C\u013E\u0140\u0142\u0144\u0146\u0148\u0149\u014B\u014D\u014F\u0151\u0153\u0155\u0157\u0159\u015B\u015D\u015F\u0161\u0163\u0165\u0167\u0169\u016B\u016D\u016F\u0171\u0173\u0175\u0177\u017A\u017C\u017E-\u0180\u0183\u0185\u0188\u018C\u018D\u0192\u0195\u0199-\u019B\u019E\u01A1\u01A3\u01A5\u01A8\u01AA\u01AB\u01AD\u01B0\u01B4\u01B6\u01B9\u01BA\u01BD-\u01BF\u01C6\u01C9\u01CC\u01CE\u01D0\u01D2\u01D4\u01D6\u01D8\u01DA\u01DC\u01DD\u01DF\u01E1\u01E3\u01E5\u01E7\u01E9\u01EB\u01ED\u01EF\u01F0\u01F3\u01F5\u01F9\u01FB\u01FD\u01FF\u0201\u0203\u0205\u0207\u0209\u020B\u020D\u020F\u0211\u0213\u0215\u0217\u0219\u021B\u021D\u021F\u0221\u0223\u0225\u0227\u0229\u022B\u022D\u022F\u0231\u0233-\u0239\u023C\u023F\u0240\u0242\u0247\u0249\u024B\u024D\u024F-\u0293\u0295-\u02B8\u02C0\u02C1\u02E0-\u02E4\u0345\u0371\u0373\u0377\u037A-\u037D\u0390\u03AC-\u03CE\u03D0\u03D1\u03D5-\u03D7\u03D9\u03DB\u03DD\u03DF\u03E1\u03E3\u03E5\u03E7\u03E9\u03EB\u03ED\u03EF-\u03F3\u03F5\u03F8\u03FB\u03FC\u0430-\u045F\u0461\u0463\u0465\u0467\u0469\u046B\u046D\u046F\u0471\u0473\u0475\u0477\u0479\u047B\u047D\u047F\u0481\u048B\u048D\u048F\u0491\u0493\u0495\u0497\u0499\u049B\u049D\u049F\u04A1\u04A3\u04A5\u04A7\u04A9\u04AB\u04AD\u04AF\u04B1\u04B3\u04B5\u04B7\u04B9\u04BB\u04BD\u04BF\u04C2\u04C4\u04C6\u04C8\u04CA\u04CC\u04CE\u04CF\u04D1\u04D3\u04D5\u04D7\u04D9\u04DB\u04DD\u04DF\u04E1\u04E3\u04E5\u04E7\u04E9\u04EB\u04ED\u04EF\u04F1\u04F3\u04F5\u04F7\u04F9\u04FB\u04FD\u04FF\u0501\u0503\u0505\u0507\u0509\u050B\u050D\u050F\u0511\u0513\u0515\u0517\u0519\u051B\u051D\u051F\u0521\u0523\u0525\u0527\u0529\u052B\u052D\u052F\u0561-\u0587\u13F8-\u13FD\u1C80-\u1C88\u1D00-\u1DBF\u1E01\u1E03\u1E05\u1E07\u1E09\u1E0B\u1E0D\u1E0F\u1E11\u1E13\u1E15\u1E17\u1E19\u1E1B\u1E1D\u1E1F\u1E21\u1E23\u1E25\u1E27\u1E29\u1E2B\u1E2D\u1E2F\u1E31\u1E33\u1E35\u1E37\u1E39\u1E3B\u1E3D\u1E3F\u1E41\u1E43\u1E45\u1E47\u1E49\u1E4B\u1E4D\u1E4F\u1E51\u1E53\u1E55\u1E57\u1E59\u1E5B\u1E5D\u1E5F\u1E61\u1E63\u1E65\u1E67\u1E69\u1E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C9\u2CCB\u2CCD\u2CCF\u2CD1\u2CD3\u2CD5\u2CD7\u2CD9\u2CDB\u2CDD\u2CDF\u2CE1\u2CE3\u2CE4\u2CEC\u2CEE\u2CF3\u2D00-\u2D25\u2D27\u2D2D\uA641\uA643\uA645\uA647\uA649\uA64B\uA64D\uA64F\uA651\uA653\uA655\uA657\uA659\uA65B\uA65D\uA65F\uA661\uA663\uA665\uA667\uA669\uA66B\uA66D\uA681\uA683\uA685\uA687\uA689\uA68B\uA68D\uA68F\uA691\uA693\uA695\uA697\uA699\uA69B-\uA69D\uA723\uA725\uA727\uA729\uA72B\uA72D\uA72F-\uA731\uA733\uA735\uA737\uA739\uA73B\uA73D\uA73F\uA741\uA743\uA745\uA747\uA749\uA74B\uA74D\uA74F\uA751\uA753\uA755\uA757\uA759\uA75B\uA75D\uA75F\uA761\uA763\uA765\uA767\uA769\uA76B\uA76D\uA76F-\uA778\uA77A\uA77C\uA77F\uA781\uA783\uA785\uA787\uA78C\uA78E\uA791\uA793-\uA795\uA797\uA799\uA79B\uA79D\uA79F\uA7A1\uA7A3\uA7A5\uA7A7\uA7A9\uA7B5\uA7B7\uA7F8-\uA7FA\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABBF\uFB00-\uFB06\uFB13-\uFB17\uFF41-\uFF5A',
- astral: '\uD801[\uDC28-\uDC4F\uDCD8-\uDCFB]|\uD803[\uDCC0-\uDCF2]|\uD806[\uDCC0-\uDCDF]|\uD835[\uDC1A-\uDC33\uDC4E-\uDC54\uDC56-\uDC67\uDC82-\uDC9B\uDCB6-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDCEA-\uDD03\uDD1E-\uDD37\uDD52-\uDD6B\uDD86-\uDD9F\uDDBA-\uDDD3\uDDEE-\uDE07\uDE22-\uDE3B\uDE56-\uDE6F\uDE8A-\uDEA5\uDEC2-\uDEDA\uDEDC-\uDEE1\uDEFC-\uDF14\uDF16-\uDF1B\uDF36-\uDF4E\uDF50-\uDF55\uDF70-\uDF88\uDF8A-\uDF8F\uDFAA-\uDFC2\uDFC4-\uDFC9\uDFCB]|\uD83A[\uDD22-\uDD43]'
- },
- {
- name: 'Noncharacter_Code_Point',
- bmp: '\uFDD0-\uFDEF\uFFFE\uFFFF',
- astral: '[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDFFE\uDFFF]'
- },
- {
- name: 'Uppercase',
- bmp: 'A-Z\xC0-\xD6\xD8-\xDE\u0100\u0102\u0104\u0106\u0108\u010A\u010C\u010E\u0110\u0112\u0114\u0116\u0118\u011A\u011C\u011E\u0120\u0122\u0124\u0126\u0128\u012A\u012C\u012E\u0130\u0132\u0134\u0136\u0139\u013B\u013D\u013F\u0141\u0143\u0145\u0147\u014A\u014C\u014E\u0150\u0152\u0154\u0156\u0158\u015A\u015C\u015E\u0160\u0162\u0164\u0166\u0168\u016A\u016C\u016E\u0170\u0172\u0174\u0176\u0178\u0179\u017B\u017D\u0181\u0182\u0184\u0186\u0187\u0189-\u018B\u018E-\u0191\u0193\u0194\u0196-\u0198\u019C\u019D\u019F\u01A0\u01A2\u01A4\u01A6\u01A7\u01A9\u01AC\u01AE\u01AF\u01B1-\u01B3\u01B5\u01B7\u01B8\u01BC\u01C4\u01C7\u01CA\u01CD\u01CF\u01D1\u01D3\u01D5\u01D7\u01D9\u01DB\u01DE\u01E0\u01E2\u01E4\u01E6\u01E8\u01EA\u01EC\u01EE\u01F1\u01F4\u01F6-\u01F8\u01FA\u01FC\u01FE\u0200\u0202\u0204\u0206\u0208\u020A\u020C\u020E\u0210\u0212\u0214\u0216\u0218\u021A\u021C\u021E\u0220\u0222\u0224\u0226\u0228\u022A\u022C\u022E\u0230\u0232\u023A\u023B\u023D\u023E\u0241\u0243-\u0246\u0248\u024A\u024C\u024E\u0370\u0372\u0376\u037F\u0386\u0388-\u038A\u038C\u038E\u038F\u0391-\u03A1\u03A3-\u03AB\u03CF\u03D2-\u03D4\u03D8\u03DA\u03DC\u03DE\u03E0\u03E2\u03E4\u03E6\u03E8\u03EA\u03EC\u03EE\u03F4\u03F7\u03F9\u03FA\u03FD-\u042F\u0460\u0462\u0464\u0466\u0468\u046A\u046C\u046E\u0470\u0472\u0474\u0476\u0478\u047A\u047C\u047E\u0480\u048A\u048C\u048E\u0490\u0492\u0494\u0496\u0498\u049A\u049C\u049E\u04A0\u04A2\u04A4\u04A6\u04A8\u04AA\u04AC\u04AE\u04B0\u04B2\u04B4\u04B6\u04B8\u04BA\u04BC\u04BE\u04C0\u04C1\u04C3\u04C5\u04C7\u04C9\u04CB\u04CD\u04D0\u04D2\u04D4\u04D6\u04D8\u04DA\u04DC\u04DE\u04E0\u04E2\u04E4\u04E6\u04E8\u04EA\u04EC\u04EE\u04F0\u04F2\u04F4\u04F6\u04F8\u04FA\u04FC\u04FE\u0500\u0502\u0504\u0506\u0508\u050A\u050C\u050E\u0510\u0512\u0514\u0516\u0518\u051A\u051C\u051E\u0520\u0522\u0524\u0526\u0528\u052A\u052C\u052E\u0531-\u0556\u10A0-\u10C5\u10C7\u10CD\u13A0-\u13F5\u1E00\u1E02\u1E04\u1E06\u1E08\u1E0A\u1E0C\u1E0E\u1E10\u1E12\u1E14\u1E16\u1E18\u1E1A\u1E1C\u1E1E\u1E20\u1E22\u1E24\u1E26\u1E28\u1E2A\u1E2C\u1E2E\u1E30\u1E32\u1E34\u1E36\u1E38\u1E3A\u1E3C\u1E3E\u1E40\u1E42\u1E44\u1E46\u1E48\u1E4A\u1E4C\u1E4E\u1E50\u1E52\u1E54\u1E56\u1E58\u1E5A\u1E5C\u1E5E\u1E60\u1E62\u1E64\u1E66\u1E68\u1E6A\u1E6C\u1E6E\u1E70\u1E72\u1E74\u1E76\u1E78\u1E7A\u1E7C\u1E7E\u1E80\u1E82\u1E84\u1E86\u1E88\u1E8A\u1E8C\u1E8E\u1E90\u1E92\u1E94\u1E9E\u1EA0\u1EA2\u1EA4\u1EA6\u1EA8\u1EAA\u1EAC\u1EAE\u1EB0\u1EB2\u1EB4\u1EB6\u1EB8\u1EBA\u1EBC\u1EBE\u1EC0\u1EC2\u1EC4\u1EC6\u1EC8\u1ECA\u1ECC\u1ECE\u1ED0\u1ED2\u1ED4\u1ED6\u1ED8\u1EDA\u1EDC\u1EDE\u1EE0\u1EE2\u1EE4\u1EE6\u1EE8\u1EEA\u1EEC\u1EEE\u1EF0\u1EF2\u1EF4\u1EF6\u1EF8\u1EFA\u1EFC\u1EFE\u1F08-\u1F0F\u1F18-\u1F1D\u1F28-\u1F2F\u1F38-\u1F3F\u1F48-\u1F4D\u1F59\u1F5B\u1F5D\u1F5F\u1F68-\u1F6F\u1FB8-\u1FBB\u1FC8-\u1FCB\u1FD8-\u1FDB\u1FE8-\u1FEC\u1FF8-\u1FFB\u2102\u2107\u210B-\u210D\u2110-\u2112\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u2130-\u2133\u213E\u213F\u2145\u2160-\u216F\u2183\u24B6-\u24CF\u2C00-\u2C2E\u2C60\u2C62-\u2C64\u2C67\u2C69\u2C6B\u2C6D-\u2C70\u2C72\u2C75\u2C7E-\u2C80\u2C82\u2C84\u2C86\u2C88\u2C8A\u2C8C\u2C8E\u2C90\u2C92\u2C94\u2C96\u2C98\u2C9A\u2C9C\u2C9E\u2CA0\u2CA2\u2CA4\u2CA6\u2CA8\u2CAA\u2CAC\u2CAE\u2CB0\u2CB2\u2CB4\u2CB6\u2CB8\u2CBA\u2CBC\u2CBE\u2CC0\u2CC2\u2CC4\u2CC6\u2CC8\u2CCA\u2CCC\u2CCE\u2CD0\u2CD2\u2CD4\u2CD6\u2CD8\u2CDA\u2CDC\u2CDE\u2CE0\u2CE2\u2CEB\u2CED\u2CF2\uA640\uA642\uA644\uA646\uA648\uA64A\uA64C\uA64E\uA650\uA652\uA654\uA656\uA658\uA65A\uA65C\uA65E\uA660\uA662\uA664\uA666\uA668\uA66A\uA66C\uA680\uA682\uA684\uA686\uA688\uA68A\uA68C\uA68E\uA690\uA692\uA694\uA696\uA698\uA69A\uA722\uA724\uA726\uA728\uA72A\uA72C\uA72E\uA732\uA734\uA736\uA738\uA73A\uA73C\uA73E\uA740\uA742\uA744\uA746\uA748\uA74A\uA74C\uA74E\uA750\uA752\uA754\uA756\uA758\uA75A\uA75C\uA75E\uA760\uA762\uA764\uA766\uA768\uA76A\uA76C\uA76E\uA779\uA77B\uA77D\uA77E\uA780\uA782\uA784\uA786\uA78B\uA78D\uA790\uA792\uA796\uA798\uA79A\uA79C\uA79E\uA7A0\uA7A2\uA7A4\uA7A6\uA7A8\uA7AA-\uA7AE\uA7B0-\uA7B4\uA7B6\uFF21-\uFF3A',
- astral: '\uD801[\uDC00-\uDC27\uDCB0-\uDCD3]|\uD803[\uDC80-\uDCB2]|\uD806[\uDCA0-\uDCBF]|\uD835[\uDC00-\uDC19\uDC34-\uDC4D\uDC68-\uDC81\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB5\uDCD0-\uDCE9\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD38\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD6C-\uDD85\uDDA0-\uDDB9\uDDD4-\uDDED\uDE08-\uDE21\uDE3C-\uDE55\uDE70-\uDE89\uDEA8-\uDEC0\uDEE2-\uDEFA\uDF1C-\uDF34\uDF56-\uDF6E\uDF90-\uDFA8\uDFCA]|\uD83A[\uDD00-\uDD21]|\uD83C[\uDD30-\uDD49\uDD50-\uDD69\uDD70-\uDD89]'
- },
- {
- name: 'White_Space',
- bmp: '\x09-\x0D\x20\x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000'
- }
- ];
-
- // Add non-generated data
- unicodeData.push({
- name: 'Assigned',
- // Since this is defined as the inverse of Unicode category Cn (Unassigned), the Unicode
- // Categories addon is required to use this property
- inverseOf: 'Cn'
- });
-
- XRegExp.addUnicodeData(unicodeData);
-
-};
-
-},{}],7:[function(require,module,exports){
-/*!
- * XRegExp Unicode Scripts 3.2.0
- *
- * Steven Levithan (c) 2010-2017 MIT License
- * Unicode data by Mathias Bynens
- */
-
-module.exports = function(XRegExp) {
- 'use strict';
-
- /**
- * Adds support for all Unicode scripts. E.g., `\p{Latin}`. Token names are case insensitive,
- * and any spaces, hyphens, and underscores are ignored.
- *
- * Uses Unicode 9.0.0.
- *
- * @requires XRegExp, Unicode Base
- */
-
- if (!XRegExp.addUnicodeData) {
- throw new ReferenceError('Unicode Base must be loaded before Unicode Scripts');
- }
-
- XRegExp.addUnicodeData([
- {
- name: 'Adlam',
- astral: '\uD83A[\uDD00-\uDD4A\uDD50-\uDD59\uDD5E\uDD5F]'
- },
- {
- 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\u08B6-\u08BD\u08D4-\u08E1\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: 'Bhaiksuki',
- astral: '\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC45\uDC50-\uDC6C]'
- },
- {
- 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\u08E2\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-\u23FE\u2400-\u2426\u2440-\u244A\u2460-\u27FF\u2900-\u2B73\u2B76-\u2B95\u2B98-\u2BB9\u2BBD-\u2BC8\u2BCA-\u2BD1\u2BEC-\u2BEF\u2E00-\u2E44\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: '\uD800[\uDD00-\uDD02\uDD07-\uDD33\uDD37-\uDD3F\uDD90-\uDD9B\uDDD0-\uDDFC\uDEE1-\uDEFB]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD66\uDD6A-\uDD7A\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDE8\uDF00-\uDF56\uDF60-\uDF71]|\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]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD00-\uDD0C\uDD10-\uDD2E\uDD30-\uDD6B\uDD70-\uDDAC\uDDE6-\uDDFF\uDE01\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED2\uDEE0-\uDEEC\uDEF0-\uDEF6\uDF00-\uDF73\uDF80-\uDFD4]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDD10-\uDD1E\uDD20-\uDD27\uDD30\uDD33-\uDD3E\uDD40-\uDD4B\uDD50-\uDD5E\uDD80-\uDD91\uDDC0]|\uDB40[\uDC01\uDC20-\uDC7F]'
- },
- {
- name: 'Coptic',
- bmp: '\u03E2-\u03EF\u2C80-\u2CF3\u2CF9-\u2CFF'
- },
- {
- name: 'Cuneiform',
- astral: '\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC70-\uDC74\uDC80-\uDD43]'
- },
- {
- name: 'Cypriot',
- astral: '\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F]'
- },
- {
- name: 'Cyrillic',
- bmp: '\u0400-\u0484\u0487-\u052F\u1C80-\u1C88\u1D2B\u1D78\u2DE0-\u2DFF\uA640-\uA69F\uFE2E\uFE2F'
- },
- {
- name: 'Deseret',
- astral: '\uD801[\uDC00-\uDC4F]'
- },
- {
- name: 'Devanagari',
- bmp: '\u0900-\u0950\u0953-\u0963\u0966-\u097F\uA8E0-\uA8FD'
- },
- {
- name: 'Duployan',
- astral: '\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9C-\uDC9F]'
- },
- {
- name: 'Egyptian_Hieroglyphs',
- astral: '\uD80C[\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]'
- },
- {
- name: 'Elbasan',
- astral: '\uD801[\uDD00-\uDD27]'
- },
- {
- name: 'Ethiopic',
- bmp: '\u1200-\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\u135D-\u137C\u1380-\u1399\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E'
- },
- {
- name: 'Georgian',
- bmp: '\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u10FF\u2D00-\u2D25\u2D27\u2D2D'
- },
- {
- name: 'Glagolitic',
- bmp: '\u2C00-\u2C2E\u2C30-\u2C5E',
- astral: '\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]'
- },
- {
- name: 'Gothic',
- astral: '\uD800[\uDF30-\uDF4A]'
- },
- {
- name: 'Grantha',
- astral: '\uD804[\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]'
- },
- {
- name: 'Greek',
- bmp: '\u0370-\u0373\u0375-\u0377\u037A-\u037D\u037F\u0384\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03E1\u03F0-\u03FF\u1D26-\u1D2A\u1D5D-\u1D61\u1D66-\u1D6A\u1DBF\u1F00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FC4\u1FC6-\u1FD3\u1FD6-\u1FDB\u1FDD-\u1FEF\u1FF2-\u1FF4\u1FF6-\u1FFE\u2126\uAB65',
- astral: '\uD800[\uDD40-\uDD8E\uDDA0]|\uD834[\uDE00-\uDE45]'
- },
- {
- name: 'Gujarati',
- bmp: '\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AF1\u0AF9'
- },
- {
- name: 'Gurmukhi',
- bmp: '\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75'
- },
- {
- name: 'Han',
- bmp: '\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u3005\u3007\u3021-\u3029\u3038-\u303B\u3400-\u4DB5\u4E00-\u9FD5\uF900-\uFA6D\uFA70-\uFAD9',
- astral: '[\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]'
- },
- {
- name: 'Hangul',
- bmp: '\u1100-\u11FF\u302E\u302F\u3131-\u318E\u3200-\u321E\u3260-\u327E\uA960-\uA97C\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uFFA0-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC'
- },
- {
- name: 'Hanunoo',
- bmp: '\u1720-\u1734'
- },
- {
- name: 'Hatran',
- astral: '\uD802[\uDCE0-\uDCF2\uDCF4\uDCF5\uDCFB-\uDCFF]'
- },
- {
- name: 'Hebrew',
- bmp: '\u0591-\u05C7\u05D0-\u05EA\u05F0-\u05F4\uFB1D-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFB4F'
- },
- {
- name: 'Hiragana',
- bmp: '\u3041-\u3096\u309D-\u309F',
- astral: '\uD82C\uDC01|\uD83C\uDE00'
- },
- {
- name: 'Imperial_Aramaic',
- astral: '\uD802[\uDC40-\uDC55\uDC57-\uDC5F]'
- },
- {
- name: 'Inherited',
- bmp: '\u0300-\u036F\u0485\u0486\u064B-\u0655\u0670\u0951\u0952\u1AB0-\u1ABE\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF5\u1DFB-\u1DFF\u200C\u200D\u20D0-\u20F0\u302A-\u302D\u3099\u309A\uFE00-\uFE0F\uFE20-\uFE2D',
- astral: '\uD800[\uDDFD\uDEE0]|\uD834[\uDD67-\uDD69\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD]|\uDB40[\uDD00-\uDDEF]'
- },
- {
- name: 'Inscriptional_Pahlavi',
- astral: '\uD802[\uDF60-\uDF72\uDF78-\uDF7F]'
- },
- {
- name: 'Inscriptional_Parthian',
- astral: '\uD802[\uDF40-\uDF55\uDF58-\uDF5F]'
- },
- {
- name: 'Javanese',
- bmp: '\uA980-\uA9CD\uA9D0-\uA9D9\uA9DE\uA9DF'
- },
- {
- name: 'Kaithi',
- astral: '\uD804[\uDC80-\uDCC1]'
- },
- {
- name: 'Kannada',
- bmp: '\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2'
- },
- {
- name: 'Katakana',
- bmp: '\u30A1-\u30FA\u30FD-\u30FF\u31F0-\u31FF\u32D0-\u32FE\u3300-\u3357\uFF66-\uFF6F\uFF71-\uFF9D',
- astral: '\uD82C\uDC00'
- },
- {
- name: 'Kayah_Li',
- bmp: '\uA900-\uA92D\uA92F'
- },
- {
- name: 'Kharoshthi',
- astral: '\uD802[\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F-\uDE47\uDE50-\uDE58]'
- },
- {
- name: 'Khmer',
- bmp: '\u1780-\u17DD\u17E0-\u17E9\u17F0-\u17F9\u19E0-\u19FF'
- },
- {
- name: 'Khojki',
- astral: '\uD804[\uDE00-\uDE11\uDE13-\uDE3E]'
- },
- {
- name: 'Khudawadi',
- astral: '\uD804[\uDEB0-\uDEEA\uDEF0-\uDEF9]'
- },
- {
- name: 'Lao',
- bmp: '\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF'
- },
- {
- name: 'Latin',
- bmp: 'A-Za-z\xAA\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02B8\u02E0-\u02E4\u1D00-\u1D25\u1D2C-\u1D5C\u1D62-\u1D65\u1D6B-\u1D77\u1D79-\u1DBE\u1E00-\u1EFF\u2071\u207F\u2090-\u209C\u212A\u212B\u2132\u214E\u2160-\u2188\u2C60-\u2C7F\uA722-\uA787\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA7FF\uAB30-\uAB5A\uAB5C-\uAB64\uFB00-\uFB06\uFF21-\uFF3A\uFF41-\uFF5A'
- },
- {
- name: 'Lepcha',
- bmp: '\u1C00-\u1C37\u1C3B-\u1C49\u1C4D-\u1C4F'
- },
- {
- name: 'Limbu',
- bmp: '\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1940\u1944-\u194F'
- },
- {
- name: 'Linear_A',
- astral: '\uD801[\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]'
- },
- {
- name: 'Linear_B',
- astral: '\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA]'
- },
- {
- name: 'Lisu',
- bmp: '\uA4D0-\uA4FF'
- },
- {
- name: 'Lycian',
- astral: '\uD800[\uDE80-\uDE9C]'
- },
- {
- name: 'Lydian',
- astral: '\uD802[\uDD20-\uDD39\uDD3F]'
- },
- {
- name: 'Mahajani',
- astral: '\uD804[\uDD50-\uDD76]'
- },
- {
- name: 'Malayalam',
- bmp: '\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4F\u0D54-\u0D63\u0D66-\u0D7F'
- },
- {
- name: 'Mandaic',
- bmp: '\u0840-\u085B\u085E'
- },
- {
- name: 'Manichaean',
- astral: '\uD802[\uDEC0-\uDEE6\uDEEB-\uDEF6]'
- },
- {
- name: 'Marchen',
- astral: '\uD807[\uDC70-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]'
- },
- {
- name: 'Meetei_Mayek',
- bmp: '\uAAE0-\uAAF6\uABC0-\uABED\uABF0-\uABF9'
- },
- {
- name: 'Mende_Kikakui',
- astral: '\uD83A[\uDC00-\uDCC4\uDCC7-\uDCD6]'
- },
- {
- name: 'Meroitic_Cursive',
- astral: '\uD802[\uDDA0-\uDDB7\uDDBC-\uDDCF\uDDD2-\uDDFF]'
- },
- {
- name: 'Meroitic_Hieroglyphs',
- astral: '\uD802[\uDD80-\uDD9F]'
- },
- {
- name: 'Miao',
- astral: '\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F]'
- },
- {
- name: 'Modi',
- astral: '\uD805[\uDE00-\uDE44\uDE50-\uDE59]'
- },
- {
- name: 'Mongolian',
- bmp: '\u1800\u1801\u1804\u1806-\u180E\u1810-\u1819\u1820-\u1877\u1880-\u18AA',
- astral: '\uD805[\uDE60-\uDE6C]'
- },
- {
- name: 'Mro',
- astral: '\uD81A[\uDE40-\uDE5E\uDE60-\uDE69\uDE6E\uDE6F]'
- },
- {
- name: 'Multani',
- astral: '\uD804[\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA9]'
- },
- {
- name: 'Myanmar',
- bmp: '\u1000-\u109F\uA9E0-\uA9FE\uAA60-\uAA7F'
- },
- {
- name: 'Nabataean',
- astral: '\uD802[\uDC80-\uDC9E\uDCA7-\uDCAF]'
- },
- {
- name: 'New_Tai_Lue',
- bmp: '\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u19DE\u19DF'
- },
- {
- name: 'Newa',
- astral: '\uD805[\uDC00-\uDC59\uDC5B\uDC5D]'
- },
- {
- name: 'Nko',
- bmp: '\u07C0-\u07FA'
- },
- {
- name: 'Ogham',
- bmp: '\u1680-\u169C'
- },
- {
- name: 'Ol_Chiki',
- bmp: '\u1C50-\u1C7F'
- },
- {
- name: 'Old_Hungarian',
- astral: '\uD803[\uDC80-\uDCB2\uDCC0-\uDCF2\uDCFA-\uDCFF]'
- },
- {
- name: 'Old_Italic',
- astral: '\uD800[\uDF00-\uDF23]'
- },
- {
- name: 'Old_North_Arabian',
- astral: '\uD802[\uDE80-\uDE9F]'
- },
- {
- name: 'Old_Permic',
- astral: '\uD800[\uDF50-\uDF7A]'
- },
- {
- name: 'Old_Persian',
- astral: '\uD800[\uDFA0-\uDFC3\uDFC8-\uDFD5]'
- },
- {
- name: 'Old_South_Arabian',
- astral: '\uD802[\uDE60-\uDE7F]'
- },
- {
- name: 'Old_Turkic',
- astral: '\uD803[\uDC00-\uDC48]'
- },
- {
- name: 'Oriya',
- bmp: '\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B77'
- },
- {
- name: 'Osage',
- astral: '\uD801[\uDCB0-\uDCD3\uDCD8-\uDCFB]'
- },
- {
- name: 'Osmanya',
- astral: '\uD801[\uDC80-\uDC9D\uDCA0-\uDCA9]'
- },
- {
- name: 'Pahawh_Hmong',
- astral: '\uD81A[\uDF00-\uDF45\uDF50-\uDF59\uDF5B-\uDF61\uDF63-\uDF77\uDF7D-\uDF8F]'
- },
- {
- name: 'Palmyrene',
- astral: '\uD802[\uDC60-\uDC7F]'
- },
- {
- name: 'Pau_Cin_Hau',
- astral: '\uD806[\uDEC0-\uDEF8]'
- },
- {
- name: 'Phags_Pa',
- bmp: '\uA840-\uA877'
- },
- {
- name: 'Phoenician',
- astral: '\uD802[\uDD00-\uDD1B\uDD1F]'
- },
- {
- name: 'Psalter_Pahlavi',
- astral: '\uD802[\uDF80-\uDF91\uDF99-\uDF9C\uDFA9-\uDFAF]'
- },
- {
- name: 'Rejang',
- bmp: '\uA930-\uA953\uA95F'
- },
- {
- name: 'Runic',
- bmp: '\u16A0-\u16EA\u16EE-\u16F8'
- },
- {
- name: 'Samaritan',
- bmp: '\u0800-\u082D\u0830-\u083E'
- },
- {
- name: 'Saurashtra',
- bmp: '\uA880-\uA8C5\uA8CE-\uA8D9'
- },
- {
- name: 'Sharada',
- astral: '\uD804[\uDD80-\uDDCD\uDDD0-\uDDDF]'
- },
- {
- name: 'Shavian',
- astral: '\uD801[\uDC50-\uDC7F]'
- },
- {
- name: 'Siddham',
- astral: '\uD805[\uDD80-\uDDB5\uDDB8-\uDDDD]'
- },
- {
- name: 'SignWriting',
- astral: '\uD836[\uDC00-\uDE8B\uDE9B-\uDE9F\uDEA1-\uDEAF]'
- },
- {
- name: 'Sinhala',
- bmp: '\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2-\u0DF4',
- astral: '\uD804[\uDDE1-\uDDF4]'
- },
- {
- name: 'Sora_Sompeng',
- astral: '\uD804[\uDCD0-\uDCE8\uDCF0-\uDCF9]'
- },
- {
- name: 'Sundanese',
- bmp: '\u1B80-\u1BBF\u1CC0-\u1CC7'
- },
- {
- name: 'Syloti_Nagri',
- bmp: '\uA800-\uA82B'
- },
- {
- name: 'Syriac',
- bmp: '\u0700-\u070D\u070F-\u074A\u074D-\u074F'
- },
- {
- name: 'Tagalog',
- bmp: '\u1700-\u170C\u170E-\u1714'
- },
- {
- name: 'Tagbanwa',
- bmp: '\u1760-\u176C\u176E-\u1770\u1772\u1773'
- },
- {
- name: 'Tai_Le',
- bmp: '\u1950-\u196D\u1970-\u1974'
- },
- {
- name: 'Tai_Tham',
- bmp: '\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA0-\u1AAD'
- },
- {
- name: 'Tai_Viet',
- bmp: '\uAA80-\uAAC2\uAADB-\uAADF'
- },
- {
- name: 'Takri',
- astral: '\uD805[\uDE80-\uDEB7\uDEC0-\uDEC9]'
- },
- {
- name: 'Tamil',
- bmp: '\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BFA'
- },
- {
- name: 'Tangut',
- astral: '\uD81B\uDFE0|[\uD81C-\uD820][\uDC00-\uDFFF]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]'
- },
- {
- name: 'Telugu',
- bmp: '\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C78-\u0C7F'
- },
- {
- name: 'Thaana',
- bmp: '\u0780-\u07B1'
- },
- {
- name: 'Thai',
- bmp: '\u0E01-\u0E3A\u0E40-\u0E5B'
- },
- {
- name: 'Tibetan',
- bmp: '\u0F00-\u0F47\u0F49-\u0F6C\u0F71-\u0F97\u0F99-\u0FBC\u0FBE-\u0FCC\u0FCE-\u0FD4\u0FD9\u0FDA'
- },
- {
- name: 'Tifinagh',
- bmp: '\u2D30-\u2D67\u2D6F\u2D70\u2D7F'
- },
- {
- name: 'Tirhuta',
- astral: '\uD805[\uDC80-\uDCC7\uDCD0-\uDCD9]'
- },
- {
- name: 'Ugaritic',
- astral: '\uD800[\uDF80-\uDF9D\uDF9F]'
- },
- {
- name: 'Vai',
- bmp: '\uA500-\uA62B'
- },
- {
- name: 'Warang_Citi',
- astral: '\uD806[\uDCA0-\uDCF2\uDCFF]'
- },
- {
- name: 'Yi',
- bmp: '\uA000-\uA48C\uA490-\uA4C6'
- }
- ]);
-
-};
-
-},{}],8:[function(require,module,exports){
-var XRegExp = require('./xregexp');
-
-require('./addons/build')(XRegExp);
-require('./addons/matchrecursive')(XRegExp);
-require('./addons/unicode-base')(XRegExp);
-require('./addons/unicode-blocks')(XRegExp);
-require('./addons/unicode-categories')(XRegExp);
-require('./addons/unicode-properties')(XRegExp);
-require('./addons/unicode-scripts')(XRegExp);
-
-module.exports = XRegExp;
-
-},{"./addons/build":1,"./addons/matchrecursive":2,"./addons/unicode-base":3,"./addons/unicode-blocks":4,"./addons/unicode-categories":5,"./addons/unicode-properties":6,"./addons/unicode-scripts":7,"./xregexp":9}],9:[function(require,module,exports){
-/*!
- * XRegExp 3.2.0
- *
- * Steven Levithan (c) 2007-2017 MIT License
- */
-
-'use strict';
-
/**
* XRegExp provides augmented, extensible regular expressions. You get additional regex syntax and
* flags, beyond what browsers support natively. XRegExp is also a regex utility belt with tools to
* make your client-side grepping simpler and more powerful, while freeing you from related
* cross-browser inconsistencies.
*/
-
// ==--------------------------==
// Private stuff
// ==--------------------------==
-
// Property name used for extended regex instance data
-var REGEX_DATA = 'xregexp';
-// Optional features that can be installed and uninstalled
+var REGEX_DATA = 'xregexp'; // Optional features that can be installed and uninstalled
+
var features = {
- astral: false,
- natives: false
-};
-// Native methods to use and restore ('native' is an ES3 reserved keyword)
-var nativ = {
- exec: RegExp.prototype.exec,
- test: RegExp.prototype.test,
- match: String.prototype.match,
- replace: String.prototype.replace,
- split: String.prototype.split
-};
-// Storage for fixed/extended native methods
-var fixed = {};
-// Storage for regexes cached by `XRegExp.cache`
-var regexCache = {};
-// Storage for pattern details cached by the `XRegExp` constructor
-var patternCache = {};
-// Storage for regex syntax tokens added internally or by `XRegExp.addToken`
-var tokens = [];
-// Token scopes
+ astral: false,
+ namespacing: true
+}; // Storage for fixed/extended native methods
+
+var fixed = {}; // Storage for regexes cached by `XRegExp.cache`
+
+var regexCache = {}; // Storage for pattern details cached by the `XRegExp` constructor
+
+var patternCache = {}; // Storage for regex syntax tokens added internally or by `XRegExp.addToken`
+
+var tokens = []; // Token scopes
+
var defaultScope = 'default';
-var classScope = 'class';
-// Regexes that match native regex syntax, including octals
+var classScope = 'class'; // Regexes that match native regex syntax, including octals
+
var nativeTokens = {
- // Any native multicharacter token in default scope, or any single character
- '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]/,
- // Any native multicharacter token in character class scope, or any single character
- '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]/
-};
-// Any backreference or dollar-prefixed character in replacement strings
-var replacementToken = /\$(?:{([\w$]+)}|(\d\d?|[\s\S]))/g;
-// Check for correct `exec` handling of nonparticipating capturing groups
-var correctExecNpcg = nativ.exec.call(/()??/, '')[1] === undefined;
-// Check for ES6 `flags` prop support
-var hasFlagsProp = /x/.flags !== undefined;
-// Shortcut to `Object.prototype.toString`
-var toString = {}.toString;
+ // Any native multicharacter token in default scope, or any single character
+ '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]/,
+ // Any native multicharacter token in character class scope, or any single character
+ '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]/
+}; // Any backreference or dollar-prefixed character in replacement strings
+
+var replacementToken = /\$(?:\{([^\}]+)\}|<([^>]+)>|(\d\d?|[\s\S]?))/g; // Check for correct `exec` handling of nonparticipating capturing groups
+
+var correctExecNpcg = /()??/.exec('')[1] === undefined; // Check for ES6 `flags` prop support
+
+var hasFlagsProp = (0, _flags["default"])(/x/) !== undefined;
function hasNativeFlag(flag) {
- // Can't check based on the presence of properties/getters since browsers might support such
- // properties even when they don't support the corresponding flag in regex construction (tested
- // in Chrome 48, where `'unicode' in /x/` is true but trying to construct a regex with flag `u`
- // throws an error)
- var isSupported = true;
- try {
- // Can't use regex literals for testing even in a `try` because regex literals with
- // unsupported flags cause a compilation error in IE
- new RegExp('', flag);
- } catch (exception) {
- isSupported = false;
- }
- return isSupported;
-}
-// Check for ES6 `u` flag support
-var hasNativeU = hasNativeFlag('u');
-// Check for ES6 `y` flag support
-var hasNativeY = hasNativeFlag('y');
-// Tracker for known flags, including addon flags
-var registeredFlags = {
- g: true,
- i: true,
- m: true,
- u: hasNativeU,
- y: hasNativeY
-};
+ // Can't check based on the presence of properties/getters since browsers might support such
+ // properties even when they don't support the corresponding flag in regex construction (tested
+ // in Chrome 48, where `'unicode' in /x/` is true but trying to construct a regex with flag `u`
+ // throws an error)
+ var isSupported = true;
+ try {
+ // Can't use regex literals for testing even in a `try` because regex literals with
+ // unsupported flags cause a compilation error in IE
+ new RegExp('', flag); // Work around a broken/incomplete IE11 polyfill for sticky introduced in core-js 3.6.0
+
+ if (flag === 'y') {
+ // Using function to avoid babel transform to regex literal
+ var gy = function () {
+ return 'gy';
+ }();
+
+ var incompleteY = '.a'.replace(new RegExp('a', gy), '.') === '..';
+
+ if (incompleteY) {
+ isSupported = false;
+ }
+ }
+ } catch (exception) {
+ isSupported = false;
+ }
+
+ return isSupported;
+} // Check for ES2021 `d` flag support
+
+
+var hasNativeD = hasNativeFlag('d'); // Check for ES2018 `s` flag support
+
+var hasNativeS = hasNativeFlag('s'); // Check for ES6 `u` flag support
+
+var hasNativeU = hasNativeFlag('u'); // Check for ES6 `y` flag support
+
+var hasNativeY = hasNativeFlag('y'); // Tracker for known flags, including addon flags
+
+var registeredFlags = {
+ d: hasNativeD,
+ g: true,
+ i: true,
+ m: true,
+ s: hasNativeS,
+ u: hasNativeU,
+ y: hasNativeY
+}; // Flags to remove when passing to native `RegExp` constructor
+
+var nonnativeFlags = hasNativeS ? /[^dgimsuy]+/g : /[^dgimuy]+/g;
/**
* Attaches extended data and `XRegExp.prototype` properties to a regex object.
*
@@ -2826,49 +553,49 @@ var registeredFlags = {
* @param {Boolean} [isInternalOnly=false] Whether the regex will be used only for internal
* operations, and never exposed to users. For internal-only regexes, we can improve perf by
* skipping some operations like attaching `XRegExp.prototype` properties.
- * @returns {RegExp} Augmented regex.
+ * @returns {!RegExp} Augmented regex.
*/
+
function augment(regex, captureNames, xSource, xFlags, isInternalOnly) {
- var p;
+ var _context;
- regex[REGEX_DATA] = {
- captureNames: captureNames
- };
-
- if (isInternalOnly) {
- return regex;
- }
-
- // Can't auto-inherit these since the XRegExp constructor returns a nonprimitive value
- if (regex.__proto__) {
- regex.__proto__ = XRegExp.prototype;
- } else {
- for (p in XRegExp.prototype) {
- // An `XRegExp.prototype.hasOwnProperty(p)` check wouldn't be worth it here, since this
- // is performance sensitive, and enumerable `Object.prototype` or `RegExp.prototype`
- // extensions exist on `regex.prototype` anyway
- regex[p] = XRegExp.prototype[p];
- }
- }
-
- regex[REGEX_DATA].source = xSource;
- // Emulate the ES6 `flags` prop by ensuring flags are in alphabetical order
- regex[REGEX_DATA].flags = xFlags ? xFlags.split('').sort().join('') : xFlags;
+ regex[REGEX_DATA] = {
+ captureNames: captureNames
+ };
+ if (isInternalOnly) {
return regex;
-}
+ } // Can't auto-inherit these since the XRegExp constructor returns a nonprimitive value
+
+ if (regex.__proto__) {
+ regex.__proto__ = XRegExp.prototype;
+ } else {
+ for (var p in XRegExp.prototype) {
+ // An `XRegExp.prototype.hasOwnProperty(p)` check wouldn't be worth it here, since this
+ // is performance sensitive, and enumerable `Object.prototype` or `RegExp.prototype`
+ // extensions exist on `regex.prototype` anyway
+ regex[p] = XRegExp.prototype[p];
+ }
+ }
+
+ regex[REGEX_DATA].source = xSource; // Emulate the ES6 `flags` prop by ensuring flags are in alphabetical order
+
+ regex[REGEX_DATA].flags = xFlags ? (0, _sort["default"])(_context = xFlags.split('')).call(_context).join('') : xFlags;
+ return regex;
+}
/**
* Removes any duplicate characters from the provided string.
*
* @private
* @param {String} str String to remove duplicate characters from.
- * @returns {String} String with any duplicate characters removed.
+ * @returns {string} String with any duplicate characters removed.
*/
-function clipDuplicates(str) {
- return nativ.replace.call(str, /([\s\S])(?=[\s\S]*\1)/g, '');
-}
+
+function clipDuplicates(str) {
+ return str.replace(/([\s\S])(?=[\s\S]*\1)/g, '');
+}
/**
* Copies a regex object while preserving extended data and augmenting with `XRegExp.prototype`
* properties. The copy has a fresh `lastIndex` property (set to zero). Allows adding and removing
@@ -2887,71 +614,80 @@ function clipDuplicates(str) {
* - `source` {String} Overrides `.source`, for special cases.
* @returns {RegExp} Copy of the provided regex, possibly with modified flags.
*/
+
+
function copyRegex(regex, options) {
- if (!XRegExp.isRegExp(regex)) {
- throw new TypeError('Type RegExp expected');
+ var _context2;
+
+ if (!XRegExp.isRegExp(regex)) {
+ throw new TypeError('Type RegExp expected');
+ }
+
+ var xData = regex[REGEX_DATA] || {};
+ var flags = getNativeFlags(regex);
+ var flagsToAdd = '';
+ var flagsToRemove = '';
+ var xregexpSource = null;
+ var xregexpFlags = null;
+ options = options || {};
+
+ if (options.removeG) {
+ flagsToRemove += 'g';
+ }
+
+ if (options.removeY) {
+ flagsToRemove += 'y';
+ }
+
+ if (flagsToRemove) {
+ flags = flags.replace(new RegExp("[".concat(flagsToRemove, "]+"), 'g'), '');
+ }
+
+ if (options.addG) {
+ flagsToAdd += 'g';
+ }
+
+ if (options.addY) {
+ flagsToAdd += 'y';
+ }
+
+ if (flagsToAdd) {
+ flags = clipDuplicates(flags + flagsToAdd);
+ }
+
+ if (!options.isInternalOnly) {
+ if (xData.source !== undefined) {
+ xregexpSource = xData.source;
+ } // null or undefined; don't want to add to `flags` if the previous value was null, since
+ // that indicates we're not tracking original precompilation flags
+
+
+ if ((0, _flags["default"])(xData) != null) {
+ // Flags are only added for non-internal regexes by `XRegExp.globalize`. Flags are never
+ // removed for non-internal regexes, so don't need to handle it
+ xregexpFlags = flagsToAdd ? clipDuplicates((0, _flags["default"])(xData) + flagsToAdd) : (0, _flags["default"])(xData);
}
+ } // Augment with `XRegExp.prototype` properties, but use the native `RegExp` constructor to avoid
+ // searching for special tokens. That would be wrong for regexes constructed by `RegExp`, and
+ // unnecessary for regexes constructed by `XRegExp` because the regex has already undergone the
+ // translation to native regex syntax
- var xData = regex[REGEX_DATA] || {};
- var flags = getNativeFlags(regex);
- var flagsToAdd = '';
- var flagsToRemove = '';
- var xregexpSource = null;
- var xregexpFlags = null;
- options = options || {};
-
- if (options.removeG) {flagsToRemove += 'g';}
- if (options.removeY) {flagsToRemove += 'y';}
- if (flagsToRemove) {
- flags = nativ.replace.call(flags, new RegExp('[' + flagsToRemove + ']+', 'g'), '');
- }
-
- if (options.addG) {flagsToAdd += 'g';}
- if (options.addY) {flagsToAdd += 'y';}
- if (flagsToAdd) {
- flags = clipDuplicates(flags + flagsToAdd);
- }
-
- if (!options.isInternalOnly) {
- if (xData.source !== undefined) {
- xregexpSource = xData.source;
- }
- // null or undefined; don't want to add to `flags` if the previous value was null, since
- // that indicates we're not tracking original precompilation flags
- if (xData.flags != null) {
- // Flags are only added for non-internal regexes by `XRegExp.globalize`. Flags are never
- // removed for non-internal regexes, so don't need to handle it
- xregexpFlags = flagsToAdd ? clipDuplicates(xData.flags + flagsToAdd) : xData.flags;
- }
- }
-
- // Augment with `XRegExp.prototype` properties, but use the native `RegExp` constructor to avoid
- // searching for special tokens. That would be wrong for regexes constructed by `RegExp`, and
- // unnecessary for regexes constructed by `XRegExp` because the regex has already undergone the
- // translation to native regex syntax
- regex = augment(
- new RegExp(options.source || regex.source, flags),
- hasNamedCapture(regex) ? xData.captureNames.slice(0) : null,
- xregexpSource,
- xregexpFlags,
- options.isInternalOnly
- );
-
- return regex;
+ regex = augment(new RegExp(options.source || regex.source, flags), hasNamedCapture(regex) ? (0, _slice["default"])(_context2 = xData.captureNames).call(_context2, 0) : null, xregexpSource, xregexpFlags, options.isInternalOnly);
+ return regex;
}
-
/**
* Converts hexadecimal to decimal.
*
* @private
* @param {String} hex
- * @returns {Number}
+ * @returns {number}
*/
-function dec(hex) {
- return parseInt(hex, 16);
-}
+
+function dec(hex) {
+ return (0, _parseInt2["default"])(hex, 16);
+}
/**
* Returns a pattern that can be used in a native RegExp in place of an ignorable token such as an
* inline comment or whitespace with flag x. This is used directly as a token handler function
@@ -2961,134 +697,136 @@ function dec(hex) {
* @param {String} match Match arg of `XRegExp.addToken` handler
* @param {String} scope Scope arg of `XRegExp.addToken` handler
* @param {String} flags Flags arg of `XRegExp.addToken` handler
- * @returns {String} Either '' or '(?:)', depending on which is needed in the context of the match.
+ * @returns {string} Either '' or '(?:)', depending on which is needed in the context of the match.
*/
-function getContextualTokenSeparator(match, scope, flags) {
- if (
- // No need to separate tokens if at the beginning or end of a group
- match.input.charAt(match.index - 1) === '(' ||
- match.input.charAt(match.index + match[0].length) === ')' ||
- // Avoid separating tokens when the following token is a quantifier
- isPatternNext(match.input, match.index + match[0].length, flags, '[?*+]|{\\d+(?:,\\d*)?}')
- ) {
- return '';
- }
- // Keep tokens separated. This avoids e.g. inadvertedly changing `\1 1` or `\1(?#)1` to `\11`.
- // This also ensures all tokens remain as discrete atoms, e.g. it avoids converting the syntax
- // error `(? :` into `(?:`.
- return '(?:)';
-}
+
+function getContextualTokenSeparator(match, scope, flags) {
+ var matchEndPos = match.index + match[0].length;
+ var precedingChar = match.input[match.index - 1];
+ var followingChar = match.input[matchEndPos];
+
+ if ( // No need to separate tokens if at the beginning or end of a group, before or after a
+ // group, or before or after a `|`
+ /^[()|]$/.test(precedingChar) || /^[()|]$/.test(followingChar) || // No need to separate tokens if at the beginning or end of the pattern
+ match.index === 0 || matchEndPos === match.input.length || // No need to separate tokens if at the beginning of a noncapturing group or lookaround.
+ // Looks only at the last 4 chars (at most) for perf when constructing long regexes.
+ /\(\?(?:[:=!]|<[=!])$/.test(match.input.substring(match.index - 4, match.index)) || // Avoid separating tokens when the following token is a quantifier
+ isQuantifierNext(match.input, matchEndPos, flags)) {
+ return '';
+ } // Keep tokens separated. This avoids e.g. inadvertedly changing `\1 1` or `\1(?#)1` to `\11`.
+ // This also ensures all tokens remain as discrete atoms, e.g. it prevents converting the
+ // syntax error `(? :` into `(?:`.
+
+
+ return '(?:)';
+}
/**
* Returns native `RegExp` flags used by a regex object.
*
* @private
* @param {RegExp} regex Regex to check.
- * @returns {String} Native flags in use.
+ * @returns {string} Native flags in use.
*/
-function getNativeFlags(regex) {
- return hasFlagsProp ?
- regex.flags :
- // Explicitly using `RegExp.prototype.toString` (rather than e.g. `String` or concatenation
- // with an empty string) allows this to continue working predictably when
- // `XRegExp.proptotype.toString` is overridden
- nativ.exec.call(/\/([a-z]*)$/i, RegExp.prototype.toString.call(regex))[1];
-}
+
+function getNativeFlags(regex) {
+ return hasFlagsProp ? (0, _flags["default"])(regex) : // Explicitly using `RegExp.prototype.toString` (rather than e.g. `String` or concatenation
+ // with an empty string) allows this to continue working predictably when
+ // `XRegExp.proptotype.toString` is overridden
+ /\/([a-z]*)$/i.exec(RegExp.prototype.toString.call(regex))[1];
+}
/**
* Determines whether a regex has extended instance data used to track capture names.
*
* @private
* @param {RegExp} regex Regex to check.
- * @returns {Boolean} Whether the regex uses named capture.
+ * @returns {boolean} Whether the regex uses named capture.
*/
-function hasNamedCapture(regex) {
- return !!(regex[REGEX_DATA] && regex[REGEX_DATA].captureNames);
-}
+
+function hasNamedCapture(regex) {
+ return !!(regex[REGEX_DATA] && regex[REGEX_DATA].captureNames);
+}
/**
* Converts decimal to hexadecimal.
*
* @private
* @param {Number|String} dec
- * @returns {String}
+ * @returns {string}
*/
+
+
function hex(dec) {
- return parseInt(dec, 10).toString(16);
+ return (0, _parseInt2["default"])(dec, 10).toString(16);
}
-
/**
- * Returns the first index at which a given value can be found in an array.
- *
- * @private
- * @param {Array} array Array to search.
- * @param {*} value Value to locate in the array.
- * @returns {Number} Zero-based index at which the item is found, or -1.
- */
-function indexOf(array, value) {
- var len = array.length;
- var i;
-
- for (i = 0; i < len; ++i) {
- if (array[i] === value) {
- return i;
- }
- }
-
- return -1;
-}
-
-/**
- * Checks whether the next nonignorable token after the specified position matches the
- * `needlePattern`
+ * Checks whether the next nonignorable token after the specified position is a quantifier.
*
* @private
* @param {String} pattern Pattern to search within.
* @param {Number} pos Index in `pattern` to search at.
* @param {String} flags Flags used by the pattern.
- * @param {String} needlePattern Pattern to match the next token against.
- * @returns {Boolean} Whether the next nonignorable token matches `needlePattern`
+ * @returns {Boolean} Whether the next nonignorable token is a quantifier.
*/
-function isPatternNext(pattern, pos, flags, needlePattern) {
- var inlineCommentPattern = '\\(\\?#[^)]*\\)';
- var lineCommentPattern = '#[^#\\n]*';
- var patternsToIgnore = flags.indexOf('x') > -1 ?
- // Ignore any leading whitespace, line comments, and inline comments
- ['\\s', lineCommentPattern, inlineCommentPattern] :
- // Ignore any leading inline comments
- [inlineCommentPattern];
- return nativ.test.call(
- new RegExp('^(?:' + patternsToIgnore.join('|') + ')*(?:' + needlePattern + ')'),
- pattern.slice(pos)
- );
-}
+
+function isQuantifierNext(pattern, pos, flags) {
+ var inlineCommentPattern = '\\(\\?#[^)]*\\)';
+ var lineCommentPattern = '#[^#\\n]*';
+ var quantifierPattern = '[?*+]|{\\d+(?:,\\d*)?}';
+ var regex = (0, _indexOf["default"])(flags).call(flags, 'x') !== -1 ? // Ignore any leading whitespace, line comments, and inline comments
+ /^(?:\s|#[^#\n]*|\(\?#[^)]*\))*(?:[?*+]|{\d+(?:,\d*)?})/ : // Ignore any leading inline comments
+ /^(?:\(\?#[^)]*\))*(?:[?*+]|{\d+(?:,\d*)?})/;
+ return regex.test((0, _slice["default"])(pattern).call(pattern, pos));
+}
/**
* Determines whether a value is of the specified type, by resolving its internal [[Class]].
*
* @private
* @param {*} value Object to check.
* @param {String} type Type to check for, in TitleCase.
- * @returns {Boolean} Whether the object matches the type.
+ * @returns {boolean} Whether the object matches the type.
*/
-function isType(value, type) {
- return toString.call(value) === '[object ' + type + ']';
-}
+
+function isType(value, type) {
+ return Object.prototype.toString.call(value) === "[object ".concat(type, "]");
+}
+/**
+ * Returns the object, or throws an error if it is `null` or `undefined`. This is used to follow
+ * the ES5 abstract operation `ToObject`.
+ *
+ * @private
+ * @param {*} value Object to check and return.
+ * @returns {*} The provided object.
+ */
+
+
+function nullThrows(value) {
+ // null or undefined
+ if (value == null) {
+ throw new TypeError('Cannot convert null or undefined to object');
+ }
+
+ return value;
+}
/**
* Adds leading zeros if shorter than four characters. Used for fixed-length hexadecimal values.
*
* @private
* @param {String} str
- * @returns {String}
+ * @returns {string}
*/
-function pad4(str) {
- while (str.length < 4) {
- str = '0' + str;
- }
- return str;
-}
+
+function pad4(str) {
+ while (str.length < 4) {
+ str = "0".concat(str);
+ }
+
+ return str;
+}
/**
* Checks for flag-related errors, and strips/applies flags in a leading mode modifier. Offloads
* the flag preparation logic from the `XRegExp` constructor.
@@ -3096,39 +834,49 @@ function pad4(str) {
* @private
* @param {String} pattern Regex pattern, possibly with a leading mode modifier.
* @param {String} flags Any combination of flags.
- * @returns {Object} Object with properties `pattern` and `flags`.
+ * @returns {!Object} Object with properties `pattern` and `flags`.
*/
+
+
function prepareFlags(pattern, flags) {
- var i;
+ // Recent browsers throw on duplicate flags, so copy this behavior for nonnative flags
+ if (clipDuplicates(flags) !== flags) {
+ throw new SyntaxError("Invalid duplicate regex flag ".concat(flags));
+ } // Strip and apply a leading mode modifier with any combination of flags except `dgy`
- // Recent browsers throw on duplicate flags, so copy this behavior for nonnative flags
- if (clipDuplicates(flags) !== flags) {
- throw new SyntaxError('Invalid duplicate regex flag ' + flags);
+
+ pattern = pattern.replace(/^\(\?([\w$]+)\)/, function ($0, $1) {
+ if (/[dgy]/.test($1)) {
+ throw new SyntaxError("Cannot use flags dgy in mode modifier ".concat($0));
+ } // Allow duplicate flags within the mode modifier
+
+
+ flags = clipDuplicates(flags + $1);
+ return '';
+ }); // Throw on unknown native or nonnative flags
+
+ var _iterator = _createForOfIteratorHelper(flags),
+ _step;
+
+ try {
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
+ var flag = _step.value;
+
+ if (!registeredFlags[flag]) {
+ throw new SyntaxError("Unknown regex flag ".concat(flag));
+ }
}
+ } catch (err) {
+ _iterator.e(err);
+ } finally {
+ _iterator.f();
+ }
- // Strip and apply a leading mode modifier with any combination of flags except g or y
- pattern = nativ.replace.call(pattern, /^\(\?([\w$]+)\)/, function($0, $1) {
- if (nativ.test.call(/[gy]/, $1)) {
- throw new SyntaxError('Cannot use flag g or y in mode modifier ' + $0);
- }
- // Allow duplicate flags within the mode modifier
- flags = clipDuplicates(flags + $1);
- return '';
- });
-
- // Throw on unknown native or nonnative flags
- for (i = 0; i < flags.length; ++i) {
- if (!registeredFlags[flags.charAt(i)]) {
- throw new SyntaxError('Unknown regex flag ' + flags.charAt(i));
- }
- }
-
- return {
- pattern: pattern,
- flags: flags
- };
+ return {
+ pattern: pattern,
+ flags: flags
+ };
}
-
/**
* Prepares an options object from the given value.
*
@@ -3136,34 +884,35 @@ function prepareFlags(pattern, flags) {
* @param {String|Object} value Value to convert to an options object.
* @returns {Object} Options object.
*/
+
+
function prepareOptions(value) {
- var options = {};
+ var options = {};
- if (isType(value, 'String')) {
- XRegExp.forEach(value, /[^\s,]+/, function(match) {
- options[match] = true;
- });
+ if (isType(value, 'String')) {
+ (0, _forEach["default"])(XRegExp).call(XRegExp, value, /[^\s,]+/, function (match) {
+ options[match] = true;
+ });
+ return options;
+ }
- return options;
- }
-
- return value;
+ return value;
}
-
/**
* Registers a flag so it doesn't throw an 'unknown flag' error.
*
* @private
* @param {String} flag Single-character flag to register.
*/
+
+
function registerFlag(flag) {
- if (!/^[\w$]$/.test(flag)) {
- throw new Error('Flag must be a single character A-Za-z0-9_$');
- }
+ if (!/^[\w$]$/.test(flag)) {
+ throw new Error('Flag must be a single character A-Za-z0-9_$');
+ }
- registeredFlags[flag] = true;
+ registeredFlags[flag] = true;
}
-
/**
* Runs built-in and custom regex syntax tokens in reverse insertion order at the specified
* position, until a match is found.
@@ -3176,39 +925,37 @@ function registerFlag(flag) {
* @param {Object} context Context object to use for token handler functions.
* @returns {Object} Object with properties `matchLength`, `output`, and `reparse`; or `null`.
*/
+
+
function runTokens(pattern, flags, pos, scope, context) {
- var i = tokens.length;
- var leadChar = pattern.charAt(pos);
- var result = null;
- var match;
- var t;
+ var i = tokens.length;
+ var leadChar = pattern[pos];
+ var result = null;
+ var match;
+ var t; // Run in reverse insertion order
- // Run in reverse insertion order
- while (i--) {
- t = tokens[i];
- if (
- (t.leadChar && t.leadChar !== leadChar) ||
- (t.scope !== scope && t.scope !== 'all') ||
- (t.flag && flags.indexOf(t.flag) === -1)
- ) {
- continue;
- }
+ while (i--) {
+ t = tokens[i];
- match = XRegExp.exec(pattern, t.regex, pos, 'sticky');
- if (match) {
- result = {
- matchLength: match[0].length,
- output: t.handler.call(context, match, scope, flags),
- reparse: t.reparse
- };
- // Finished with token tests
- break;
- }
+ if (t.leadChar && t.leadChar !== leadChar || t.scope !== scope && t.scope !== 'all' || t.flag && !((0, _indexOf["default"])(flags).call(flags, t.flag) !== -1)) {
+ continue;
}
- return result;
-}
+ match = XRegExp.exec(pattern, t.regex, pos, 'sticky');
+ if (match) {
+ result = {
+ matchLength: match[0].length,
+ output: t.handler.call(context, match, scope, flags),
+ reparse: t.reparse
+ }; // Finished with token tests
+
+ break;
+ }
+ }
+
+ return result;
+}
/**
* Enables or disables implicit astral mode opt-in. When enabled, flag A is automatically added to
* all new regexes created by XRegExp. This causes an error to be thrown when creating regexes if
@@ -3217,44 +964,23 @@ function runTokens(pattern, flags, pos, scope, context) {
* @private
* @param {Boolean} on `true` to enable; `false` to disable.
*/
-function setAstral(on) {
- features.astral = on;
-}
+
+function setAstral(on) {
+ features.astral = on;
+}
/**
- * Enables or disables native method overrides.
+ * Adds named capture groups to the `groups` property of match arrays. See here for details:
+ * https://github.com/tc39/proposal-regexp-named-groups
*
* @private
* @param {Boolean} on `true` to enable; `false` to disable.
*/
-function setNatives(on) {
- RegExp.prototype.exec = (on ? fixed : nativ).exec;
- RegExp.prototype.test = (on ? fixed : nativ).test;
- String.prototype.match = (on ? fixed : nativ).match;
- String.prototype.replace = (on ? fixed : nativ).replace;
- String.prototype.split = (on ? fixed : nativ).split;
- features.natives = on;
-}
-/**
- * Returns the object, or throws an error if it is `null` or `undefined`. This is used to follow
- * the ES5 abstract operation `ToObject`.
- *
- * @private
- * @param {*} value Object to check and return.
- * @returns {*} The provided object.
- */
-function toObject(value) {
- // null or undefined
- if (value == null) {
- throw new TypeError('Cannot convert null or undefined to object');
- }
-
- return value;
-}
-
-// ==--------------------------==
+function setNamespacing(on) {
+ features.namespacing = on;
+} // ==--------------------------==
// Constructor
// ==--------------------------==
@@ -3268,122 +994,119 @@ function toObject(value) {
* @param {String|RegExp} pattern Regex pattern string, or an existing regex object to copy.
* @param {String} [flags] Any combination of flags.
* Native flags:
+ * - `d` - indices for capturing groups (ES2021)
* - `g` - global
* - `i` - ignore case
* - `m` - multiline anchors
* - `u` - unicode (ES6)
* - `y` - sticky (Firefox 3+, ES6)
* Additional XRegExp flags:
- * - `n` - explicit capture
- * - `s` - dot matches all (aka singleline)
+ * - `n` - named capture only
+ * - `s` - dot matches all (aka singleline) - works even when not natively supported
* - `x` - free-spacing and line comments (aka extended)
- * - `A` - astral (requires the Unicode Base addon)
+ * - `A` - 21-bit Unicode properties (aka astral) - requires the Unicode Base addon
* Flags cannot be provided when constructing one `RegExp` from another.
* @returns {RegExp} Extended regular expression object.
* @example
*
* // With named capture and flag x
- * XRegExp('(? [0-9]{4} ) -? # year \n\
- * (? [0-9]{2} ) -? # month \n\
- * (? [0-9]{2} ) # day ', 'x');
+ * XRegExp(`(? [0-9]{4} ) -? # year
+ * (? [0-9]{2} ) -? # month
+ * (? [0-9]{2} ) # day`, 'x');
*
* // Providing a regex object copies it. Native regexes are recompiled using native (not XRegExp)
* // syntax. Copies maintain extended data, are augmented with `XRegExp.prototype` properties, and
* // have fresh `lastIndex` properties (set to zero).
* XRegExp(/regex/);
*/
+
+
function XRegExp(pattern, flags) {
- if (XRegExp.isRegExp(pattern)) {
- if (flags !== undefined) {
- throw new TypeError('Cannot supply flags when copying a RegExp');
+ if (XRegExp.isRegExp(pattern)) {
+ if (flags !== undefined) {
+ throw new TypeError('Cannot supply flags when copying a RegExp');
+ }
+
+ return copyRegex(pattern);
+ } // Copy the argument behavior of `RegExp`
+
+
+ pattern = pattern === undefined ? '' : String(pattern);
+ flags = flags === undefined ? '' : String(flags);
+
+ if (XRegExp.isInstalled('astral') && !((0, _indexOf["default"])(flags).call(flags, 'A') !== -1)) {
+ // This causes an error to be thrown if the Unicode Base addon is not available
+ flags += 'A';
+ }
+
+ if (!patternCache[pattern]) {
+ patternCache[pattern] = {};
+ }
+
+ if (!patternCache[pattern][flags]) {
+ var context = {
+ hasNamedCapture: false,
+ captureNames: []
+ };
+ var scope = defaultScope;
+ var output = '';
+ var pos = 0;
+ var result; // Check for flag-related errors, and strip/apply flags in a leading mode modifier
+
+ var applied = prepareFlags(pattern, flags);
+ var appliedPattern = applied.pattern;
+ var appliedFlags = (0, _flags["default"])(applied); // Use XRegExp's tokens to translate the pattern to a native regex pattern.
+ // `appliedPattern.length` may change on each iteration if tokens use `reparse`
+
+ while (pos < appliedPattern.length) {
+ do {
+ // Check for custom tokens at the current position
+ result = runTokens(appliedPattern, appliedFlags, pos, scope, context); // If the matched token used the `reparse` option, splice its output into the
+ // pattern before running tokens again at the same position
+
+ if (result && result.reparse) {
+ appliedPattern = (0, _slice["default"])(appliedPattern).call(appliedPattern, 0, pos) + result.output + (0, _slice["default"])(appliedPattern).call(appliedPattern, pos + result.matchLength);
}
- return copyRegex(pattern);
- }
+ } while (result && result.reparse);
- // Copy the argument behavior of `RegExp`
- pattern = pattern === undefined ? '' : String(pattern);
- flags = flags === undefined ? '' : String(flags);
+ if (result) {
+ output += result.output;
+ pos += result.matchLength || 1;
+ } else {
+ // Get the native token at the current position
+ var _XRegExp$exec = XRegExp.exec(appliedPattern, nativeTokens[scope], pos, 'sticky'),
+ _XRegExp$exec2 = (0, _slicedToArray2["default"])(_XRegExp$exec, 1),
+ token = _XRegExp$exec2[0];
- if (XRegExp.isInstalled('astral') && flags.indexOf('A') === -1) {
- // This causes an error to be thrown if the Unicode Base addon is not available
- flags += 'A';
- }
+ output += token;
+ pos += token.length;
- if (!patternCache[pattern]) {
- patternCache[pattern] = {};
- }
-
- if (!patternCache[pattern][flags]) {
- var context = {
- hasNamedCapture: false,
- captureNames: []
- };
- var scope = defaultScope;
- var output = '';
- var pos = 0;
- var result;
-
- // Check for flag-related errors, and strip/apply flags in a leading mode modifier
- var applied = prepareFlags(pattern, flags);
- var appliedPattern = applied.pattern;
- var appliedFlags = applied.flags;
-
- // Use XRegExp's tokens to translate the pattern to a native regex pattern.
- // `appliedPattern.length` may change on each iteration if tokens use `reparse`
- while (pos < appliedPattern.length) {
- do {
- // Check for custom tokens at the current position
- result = runTokens(appliedPattern, appliedFlags, pos, scope, context);
- // If the matched token used the `reparse` option, splice its output into the
- // pattern before running tokens again at the same position
- if (result && result.reparse) {
- appliedPattern = appliedPattern.slice(0, pos) +
- result.output +
- appliedPattern.slice(pos + result.matchLength);
- }
- } while (result && result.reparse);
-
- if (result) {
- output += result.output;
- pos += (result.matchLength || 1);
- } else {
- // Get the native token at the current position
- var token = XRegExp.exec(appliedPattern, nativeTokens[scope], pos, 'sticky')[0];
- output += token;
- pos += token.length;
- if (token === '[' && scope === defaultScope) {
- scope = classScope;
- } else if (token === ']' && scope === classScope) {
- scope = defaultScope;
- }
- }
+ if (token === '[' && scope === defaultScope) {
+ scope = classScope;
+ } else if (token === ']' && scope === classScope) {
+ scope = defaultScope;
}
-
- patternCache[pattern][flags] = {
- // Use basic cleanup to collapse repeated empty groups like `(?:)(?:)` to `(?:)`. Empty
- // groups are sometimes inserted during regex transpilation in order to keep tokens
- // separated. However, more than one empty group in a row is never needed.
- pattern: nativ.replace.call(output, /(?:\(\?:\))+/g, '(?:)'),
- // Strip all but native flags
- flags: nativ.replace.call(appliedFlags, /[^gimuy]+/g, ''),
- // `context.captureNames` has an item for each capturing group, even if unnamed
- captures: context.hasNamedCapture ? context.captureNames : null
- };
+ }
}
- var generated = patternCache[pattern][flags];
- return augment(
- new RegExp(generated.pattern, generated.flags),
- generated.captures,
- pattern,
- flags
- );
-}
+ patternCache[pattern][flags] = {
+ // Use basic cleanup to collapse repeated empty groups like `(?:)(?:)` to `(?:)`. Empty
+ // groups are sometimes inserted during regex transpilation in order to keep tokens
+ // separated. However, more than one empty group in a row is never needed.
+ pattern: output.replace(/(?:\(\?:\))+/g, '(?:)'),
+ // Strip all but native flags
+ flags: appliedFlags.replace(nonnativeFlags, ''),
+ // `context.captureNames` has an item for each capturing group, even if unnamed
+ captures: context.hasNamedCapture ? context.captureNames : null
+ };
+ }
-// Add `RegExp.prototype` to the prototype chain
-XRegExp.prototype = new RegExp();
+ var generated = patternCache[pattern][flags];
+ return augment(new RegExp(generated.pattern, (0, _flags["default"])(generated)), generated.captures, pattern, flags);
+} // Add `RegExp.prototype` to the prototype chain
-// ==--------------------------==
+
+XRegExp.prototype = /(?:)/; // ==--------------------------==
// Public properties
// ==--------------------------==
@@ -3395,19 +1118,17 @@ XRegExp.prototype = new RegExp();
* @memberOf XRegExp
* @type String
*/
-XRegExp.version = '3.2.0';
-// ==--------------------------==
+XRegExp.version = '5.1.1'; // ==--------------------------==
// Public methods
// ==--------------------------==
-
// Intentionally undocumented; used in tests and addons
+
XRegExp._clipDuplicates = clipDuplicates;
XRegExp._hasNativeFlag = hasNativeFlag;
XRegExp._dec = dec;
XRegExp._hex = hex;
XRegExp._pad4 = pad4;
-
/**
* Extends XRegExp syntax and allows custom flags. This is used internally and can be used to
* create XRegExp addons. If more than one token can match the same string, the last added wins.
@@ -3441,7 +1162,7 @@ XRegExp._pad4 = pad4;
* // Basic usage: Add \a for the ALERT control code
* XRegExp.addToken(
* /\\a/,
- * function() {return '\\x07';},
+ * () => '\\x07',
* {scope: 'all'}
* );
* XRegExp('\\a[\\a-\\n]+').test('\x07\n\x07'); // -> true
@@ -3451,47 +1172,57 @@ XRegExp._pad4 = pad4;
* // character classes only)
* XRegExp.addToken(
* /([?*+]|{\d+(?:,\d*)?})(\??)/,
- * function(match) {return match[1] + (match[2] ? '' : '?');},
+ * (match) => `${match[1]}${match[2] ? '' : '?'}`,
* {flag: 'U'}
* );
* XRegExp('a+', 'U').exec('aaa')[0]; // -> 'a'
* XRegExp('a+?', 'U').exec('aaa')[0]; // -> 'aaa'
*/
-XRegExp.addToken = function(regex, handler, options) {
- options = options || {};
- var optionalFlags = options.optionalFlags;
- var i;
- if (options.flag) {
- registerFlag(options.flag);
+XRegExp.addToken = function (regex, handler, options) {
+ options = options || {};
+ var _options = options,
+ optionalFlags = _options.optionalFlags;
+
+ if (options.flag) {
+ registerFlag(options.flag);
+ }
+
+ if (optionalFlags) {
+ optionalFlags = optionalFlags.split('');
+
+ var _iterator2 = _createForOfIteratorHelper(optionalFlags),
+ _step2;
+
+ try {
+ for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
+ var flag = _step2.value;
+ registerFlag(flag);
+ }
+ } catch (err) {
+ _iterator2.e(err);
+ } finally {
+ _iterator2.f();
}
+ } // Add to the private list of syntax tokens
- if (optionalFlags) {
- optionalFlags = nativ.split.call(optionalFlags, '');
- for (i = 0; i < optionalFlags.length; ++i) {
- registerFlag(optionalFlags[i]);
- }
- }
- // Add to the private list of syntax tokens
- tokens.push({
- regex: copyRegex(regex, {
- addG: true,
- addY: hasNativeY,
- isInternalOnly: true
- }),
- handler: handler,
- scope: options.scope || defaultScope,
- flag: options.flag,
- reparse: options.reparse,
- leadChar: options.leadChar
- });
+ tokens.push({
+ regex: copyRegex(regex, {
+ addG: true,
+ addY: hasNativeY,
+ isInternalOnly: true
+ }),
+ handler: handler,
+ scope: options.scope || defaultScope,
+ flag: options.flag,
+ reparse: options.reparse,
+ leadChar: options.leadChar
+ }); // Reset the pattern cache used by the `XRegExp` constructor, since the same pattern and flags
+ // might now produce different results
- // Reset the pattern cache used by the `XRegExp` constructor, since the same pattern and flags
- // might now produce different results
- XRegExp.cache.flush('patterns');
+ XRegExp.cache.flush('patterns');
};
-
/**
* Caches and returns the result of calling `XRegExp(pattern, flags)`. On any subsequent call with
* the same pattern and flag combination, the cached copy of the regex is returned.
@@ -3502,53 +1233,71 @@ XRegExp.addToken = function(regex, handler, options) {
* @returns {RegExp} Cached XRegExp object.
* @example
*
- * while (match = XRegExp.cache('.', 'gs').exec(str)) {
+ * let match;
+ * while (match = XRegExp.cache('.', 'gs').exec('abc')) {
* // The regex is compiled once only
* }
*/
-XRegExp.cache = function(pattern, flags) {
- if (!regexCache[pattern]) {
- regexCache[pattern] = {};
- }
- return regexCache[pattern][flags] || (
- regexCache[pattern][flags] = XRegExp(pattern, flags)
- );
-};
-// Intentionally undocumented; used in tests
-XRegExp.cache.flush = function(cacheName) {
- if (cacheName === 'patterns') {
- // Flush the pattern cache used by the `XRegExp` constructor
- patternCache = {};
- } else {
- // Flush the regex cache populated by `XRegExp.cache`
- regexCache = {};
- }
-};
+XRegExp.cache = function (pattern, flags) {
+ if (!regexCache[pattern]) {
+ regexCache[pattern] = {};
+ }
+
+ return regexCache[pattern][flags] || (regexCache[pattern][flags] = XRegExp(pattern, flags));
+}; // Intentionally undocumented; used in tests
+
+
+XRegExp.cache.flush = function (cacheName) {
+ if (cacheName === 'patterns') {
+ // Flush the pattern cache used by the `XRegExp` constructor
+ patternCache = {};
+ } else {
+ // Flush the regex cache populated by `XRegExp.cache`
+ regexCache = {};
+ }
+};
/**
* Escapes any regular expression metacharacters, for use when matching literal strings. The result
- * can safely be used at any point within a regex that uses any flags.
+ * can safely be used at any position within a regex that uses any flags.
*
* @memberOf XRegExp
* @param {String} str String to escape.
- * @returns {String} String with regex metacharacters escaped.
+ * @returns {string} String with regex metacharacters escaped.
* @example
*
* XRegExp.escape('Escaped? <.>');
- * // -> 'Escaped\?\ <\.>'
+ * // -> 'Escaped\?\u0020<\.>'
*/
-XRegExp.escape = function(str) {
- return nativ.replace.call(toObject(str), /[-\[\]{}()*+?.,\\^$|#\s]/g, '\\$&');
-};
+// Following are the contexts where each metacharacter needs to be escaped because it would
+// otherwise have a special meaning, change the meaning of surrounding characters, or cause an
+// error. Context 'default' means outside character classes only.
+// - `\` - context: all
+// - `[()*+?.$|` - context: default
+// - `]` - context: default with flag u or if forming the end of a character class
+// - `{}` - context: default with flag u or if part of a valid/complete quantifier pattern
+// - `,` - context: default if in a position that causes an unescaped `{` to turn into a quantifier.
+// Ex: `/^a{1\,2}$/` matches `'a{1,2}'`, but `/^a{1,2}$/` matches `'a'` or `'aa'`
+// - `#` and - context: default with flag x
+// - `^` - context: default, and context: class if it's the first character in the class
+// - `-` - context: class if part of a valid character class range
+
+XRegExp.escape = function (str) {
+ return String(nullThrows(str)). // Escape most special chars with a backslash
+ replace(/[\\\[\]{}()*+?.^$|]/g, '\\$&'). // Convert to \uNNNN for special chars that can't be escaped when used with ES6 flag `u`
+ replace(/[\s#\-,]/g, function (match) {
+ return "\\u".concat(pad4(hex(match.charCodeAt(0))));
+ });
+};
/**
* Executes a regex search in a specified string. Returns a match array or `null`. If the provided
- * regex uses named capture, named backreference properties are included on the match array.
- * Optional `pos` and `sticky` arguments specify the search start position, and whether the match
- * must start at the specified position only. The `lastIndex` property of the provided regex is not
- * used, but is updated for compatibility. Also fixes browser bugs compared to the native
- * `RegExp.prototype.exec` and can be used reliably cross-browser.
+ * regex uses named capture, named capture properties are included on the match array's `groups`
+ * property. Optional `pos` and `sticky` arguments specify the search start position, and whether
+ * the match must start at the specified position only. The `lastIndex` property of the provided
+ * regex is not used, but is updated for compatibility. Also fixes browser bugs compared to the
+ * native `RegExp.prototype.exec` and can be used reliably cross-browser.
*
* @memberOf XRegExp
* @param {String} str String to search.
@@ -3556,73 +1305,68 @@ XRegExp.escape = function(str) {
* @param {Number} [pos=0] Zero-based index at which to start the search.
* @param {Boolean|String} [sticky=false] Whether the match must start at the specified position
* only. The string `'sticky'` is accepted as an alternative to `true`.
- * @returns {Array} Match array with named backreference properties, or `null`.
+ * @returns {Array} Match array with named capture properties on the `groups` object, or `null`. If
+ * the `namespacing` feature is off, named capture properties are directly on the match array.
* @example
*
- * // Basic use, with named backreference
- * var match = XRegExp.exec('U+2620', XRegExp('U\\+(?[0-9A-F]{4})'));
- * match.hex; // -> '2620'
+ * // Basic use, with named capturing group
+ * let match = XRegExp.exec('U+2620', XRegExp('U\\+(?[0-9A-F]{4})'));
+ * match.groups.hex; // -> '2620'
*
* // With pos and sticky, in a loop
- * var pos = 2, result = [], match;
+ * let pos = 3, result = [], match;
* while (match = XRegExp.exec('<1><2><3><4>5<6>', /<(\d)>/, pos, 'sticky')) {
* result.push(match[1]);
* pos = match.index + match[0].length;
* }
* // result -> ['2', '3', '4']
*/
-XRegExp.exec = function(str, regex, pos, sticky) {
- var cacheKey = 'g';
- var addY = false;
- var fakeY = false;
- var match;
- var r2;
- addY = hasNativeY && !!(sticky || (regex.sticky && sticky !== false));
- if (addY) {
- cacheKey += 'y';
- } else if (sticky) {
- // Simulate sticky matching by appending an empty capture to the original regex. The
- // resulting regex will succeed no matter what at the current index (set with `lastIndex`),
- // and will not search the rest of the subject string. We'll know that the original regex
- // has failed if that last capture is `''` rather than `undefined` (i.e., if that last
- // capture participated in the match).
- fakeY = true;
- cacheKey += 'FakeY';
- }
- regex[REGEX_DATA] = regex[REGEX_DATA] || {};
+XRegExp.exec = function (str, regex, pos, sticky) {
+ var cacheKey = 'g';
+ var addY = false;
+ var fakeY = false;
+ var match;
+ addY = hasNativeY && !!(sticky || regex.sticky && sticky !== false);
- // Shares cached copies with `XRegExp.match`/`replace`
- r2 = regex[REGEX_DATA][cacheKey] || (
- regex[REGEX_DATA][cacheKey] = copyRegex(regex, {
- addG: true,
- addY: addY,
- source: fakeY ? regex.source + '|()' : undefined,
- removeY: sticky === false,
- isInternalOnly: true
- })
- );
+ if (addY) {
+ cacheKey += 'y';
+ } else if (sticky) {
+ // Simulate sticky matching by appending an empty capture to the original regex. The
+ // resulting regex will succeed no matter what at the current index (set with `lastIndex`),
+ // and will not search the rest of the subject string. We'll know that the original regex
+ // has failed if that last capture is `''` rather than `undefined` (i.e., if that last
+ // capture participated in the match).
+ fakeY = true;
+ cacheKey += 'FakeY';
+ }
- pos = pos || 0;
- r2.lastIndex = pos;
+ regex[REGEX_DATA] = regex[REGEX_DATA] || {}; // Shares cached copies with `XRegExp.match`/`replace`
- // Fixed `exec` required for `lastIndex` fix, named backreferences, etc.
- match = fixed.exec.call(r2, str);
+ var r2 = regex[REGEX_DATA][cacheKey] || (regex[REGEX_DATA][cacheKey] = copyRegex(regex, {
+ addG: true,
+ addY: addY,
+ source: fakeY ? "".concat(regex.source, "|()") : undefined,
+ removeY: sticky === false,
+ isInternalOnly: true
+ }));
+ pos = pos || 0;
+ r2.lastIndex = pos; // Fixed `exec` required for `lastIndex` fix, named backreferences, etc.
- // Get rid of the capture added by the pseudo-sticky matcher if needed. An empty string means
- // the original regexp failed (see above).
- if (fakeY && match && match.pop() === '') {
- match = null;
- }
+ match = fixed.exec.call(r2, str); // Get rid of the capture added by the pseudo-sticky matcher if needed. An empty string means
+ // the original regexp failed (see above).
- if (regex.global) {
- regex.lastIndex = match ? r2.lastIndex : 0;
- }
+ if (fakeY && match && match.pop() === '') {
+ match = null;
+ }
- return match;
+ if (regex.global) {
+ regex.lastIndex = match ? r2.lastIndex : 0;
+ }
+
+ return match;
};
-
/**
* Executes a provided function once per regex match. Searches always start at the beginning of the
* string and continue until the end, regardless of the state of the regex's `global` property and
@@ -3639,30 +1383,30 @@ XRegExp.exec = function(str, regex, pos, sticky) {
* @example
*
* // Extracts every other digit from a string
- * var evens = [];
- * XRegExp.forEach('1a2345', /\d/, function(match, i) {
+ * const evens = [];
+ * XRegExp.forEach('1a2345', /\d/, (match, i) => {
* if (i % 2) evens.push(+match[0]);
* });
* // evens -> [2, 4]
*/
-XRegExp.forEach = function(str, regex, callback) {
- var pos = 0;
- var i = -1;
- var match;
- while ((match = XRegExp.exec(str, regex, pos))) {
- // Because `regex` is provided to `callback`, the function could use the deprecated/
- // nonstandard `RegExp.prototype.compile` to mutate the regex. However, since `XRegExp.exec`
- // doesn't use `lastIndex` to set the search position, this can't lead to an infinite loop,
- // at least. Actually, because of the way `XRegExp.exec` caches globalized versions of
- // regexes, mutating the regex will not have any effect on the iteration or matched strings,
- // which is a nice side effect that brings extra safety.
- callback(match, ++i, str, regex);
- pos = match.index + (match[0].length || 1);
- }
+XRegExp.forEach = function (str, regex, callback) {
+ var pos = 0;
+ var i = -1;
+ var match;
+
+ while (match = XRegExp.exec(str, regex, pos)) {
+ // Because `regex` is provided to `callback`, the function could use the deprecated/
+ // nonstandard `RegExp.prototype.compile` to mutate the regex. However, since `XRegExp.exec`
+ // doesn't use `lastIndex` to set the search position, this can't lead to an infinite loop,
+ // at least. Actually, because of the way `XRegExp.exec` caches globalized versions of
+ // regexes, mutating the regex will not have any effect on the iteration or matched strings,
+ // which is a nice side effect that brings extra safety.
+ callback(match, ++i, str, regex);
+ pos = match.index + (match[0].length || 1);
+ }
};
-
/**
* Copies a regex object and adds flag `g`. The copy maintains extended data, is augmented with
* `XRegExp.prototype` properties, and has a fresh `lastIndex` property (set to zero). Native
@@ -3673,13 +1417,16 @@ XRegExp.forEach = function(str, regex, callback) {
* @returns {RegExp} Copy of the provided regex with flag `g` added.
* @example
*
- * var globalCopy = XRegExp.globalize(/regex/);
+ * const globalCopy = XRegExp.globalize(/regex/);
* globalCopy.global; // -> true
*/
-XRegExp.globalize = function(regex) {
- return copyRegex(regex, {addG: true});
-};
+
+XRegExp.globalize = function (regex) {
+ return copyRegex(regex, {
+ addG: true
+ });
+};
/**
* Installs optional features according to the specified options. Can be undone using
* `XRegExp.uninstall`.
@@ -3693,48 +1440,50 @@ XRegExp.globalize = function(regex) {
* // Enables support for astral code points in Unicode addons (implicitly sets flag A)
* astral: true,
*
- * // DEPRECATED: Overrides native regex methods with fixed/extended versions
- * natives: true
+ * // Adds named capture groups to the `groups` property of matches
+ * namespacing: true
* });
*
* // With an options string
- * XRegExp.install('astral natives');
+ * XRegExp.install('astral namespacing');
*/
-XRegExp.install = function(options) {
- options = prepareOptions(options);
- if (!features.astral && options.astral) {
- setAstral(true);
- }
- if (!features.natives && options.natives) {
- setNatives(true);
- }
+XRegExp.install = function (options) {
+ options = prepareOptions(options);
+
+ if (!features.astral && options.astral) {
+ setAstral(true);
+ }
+
+ if (!features.namespacing && options.namespacing) {
+ setNamespacing(true);
+ }
};
-
/**
* Checks whether an individual optional feature is installed.
*
* @memberOf XRegExp
* @param {String} feature Name of the feature to check. One of:
* - `astral`
- * - `natives`
- * @returns {Boolean} Whether the feature is installed.
+ * - `namespacing`
+ * @returns {boolean} Whether the feature is installed.
* @example
*
* XRegExp.isInstalled('astral');
*/
-XRegExp.isInstalled = function(feature) {
- return !!(features[feature]);
-};
+
+XRegExp.isInstalled = function (feature) {
+ return !!features[feature];
+};
/**
* Returns `true` if an object is a regex; `false` if it isn't. This works correctly for regexes
* created in another frame, when `instanceof` and `constructor` checks would fail.
*
* @memberOf XRegExp
* @param {*} value Object to check.
- * @returns {Boolean} Whether the object is a `RegExp` object.
+ * @returns {boolean} Whether the object is a `RegExp` object.
* @example
*
* XRegExp.isRegExp('string'); // -> false
@@ -3742,10 +1491,12 @@ XRegExp.isInstalled = function(feature) {
* XRegExp.isRegExp(RegExp('^', 'm')); // -> true
* XRegExp.isRegExp(XRegExp('(?s).')); // -> true
*/
-XRegExp.isRegExp = function(value) {
- return toString.call(value) === '[object RegExp]';
- //return isType(value, 'RegExp');
-};
+
+
+XRegExp.isRegExp = function (value) {
+ return Object.prototype.toString.call(value) === '[object RegExp]';
+}; // Same as `isType(value, 'RegExp')`, but avoiding that function call here for perf since
+// `isRegExp` is used heavily by internals including regex construction
/**
* Returns the first matched string, or in global mode, an array containing all matched strings.
@@ -3774,36 +1525,27 @@ XRegExp.isRegExp = function(value) {
* XRegExp.match('abc', /\w/, 'all'); // -> ['a', 'b', 'c']
* XRegExp.match('abc', /x/, 'all'); // -> []
*/
-XRegExp.match = function(str, regex, scope) {
- var global = (regex.global && scope !== 'one') || scope === 'all';
- var cacheKey = ((global ? 'g' : '') + (regex.sticky ? 'y' : '')) || 'noGY';
- var result;
- var r2;
- regex[REGEX_DATA] = regex[REGEX_DATA] || {};
- // Shares cached copies with `XRegExp.exec`/`replace`
- r2 = regex[REGEX_DATA][cacheKey] || (
- regex[REGEX_DATA][cacheKey] = copyRegex(regex, {
- addG: !!global,
- removeG: scope === 'one',
- isInternalOnly: true
- })
- );
+XRegExp.match = function (str, regex, scope) {
+ var global = regex.global && scope !== 'one' || scope === 'all';
+ var cacheKey = (global ? 'g' : '') + (regex.sticky ? 'y' : '') || 'noGY';
+ regex[REGEX_DATA] = regex[REGEX_DATA] || {}; // Shares cached copies with `XRegExp.exec`/`replace`
- result = nativ.match.call(toObject(str), r2);
+ var r2 = regex[REGEX_DATA][cacheKey] || (regex[REGEX_DATA][cacheKey] = copyRegex(regex, {
+ addG: !!global,
+ removeG: scope === 'one',
+ isInternalOnly: true
+ }));
+ var result = String(nullThrows(str)).match(r2);
- if (regex.global) {
- regex.lastIndex = (
- (scope === 'one' && result) ?
- // Can't use `r2.lastIndex` since `r2` is nonglobal in this case
- (result.index + result[0].length) : 0
- );
- }
+ if (regex.global) {
+ regex.lastIndex = scope === 'one' && result ? // Can't use `r2.lastIndex` since `r2` is nonglobal in this case
+ result.index + result[0].length : 0;
+ }
- return global ? (result || []) : (result && result[0]);
+ return global ? result || [] : result && result[0];
};
-
/**
* Retrieves the matches from searching a string using a chain of regexes that successively search
* within previous matches. The provided `chain` array can contain regexes and or objects with
@@ -3824,53 +1566,68 @@ XRegExp.match = function(str, regex, scope) {
* // -> ['2', '4', '56']
*
* // Passing forward and returning specific backreferences
- * html = 'XRegExp \
- * Google ';
+ * const html = `XRegExp
+ * Google `;
* XRegExp.matchChain(html, [
* {regex: //i, backref: 1},
* {regex: XRegExp('(?i)^https?://(?[^/?#]+)'), backref: 'domain'}
* ]);
* // -> ['xregexp.com', 'www.google.com']
*/
-XRegExp.matchChain = function(str, chain) {
- return (function recurseChain(values, level) {
- var item = chain[level].regex ? chain[level] : {regex: chain[level]};
- var matches = [];
- function addMatch(match) {
- if (item.backref) {
- // Safari 4.0.5 (but not 5.0.5+) inappropriately uses sparse arrays to hold the
- // `undefined`s for backreferences to nonparticipating capturing groups. In such
- // cases, a `hasOwnProperty` or `in` check on its own would inappropriately throw
- // the exception, so also check if the backreference is a number that is within the
- // bounds of the array.
- if (!(match.hasOwnProperty(item.backref) || +item.backref < match.length)) {
- throw new ReferenceError('Backreference to undefined group: ' + item.backref);
- }
- matches.push(match[item.backref] || '');
- } else {
- matches.push(match[0]);
- }
+XRegExp.matchChain = function (str, chain) {
+ return function recurseChain(values, level) {
+ var item = chain[level].regex ? chain[level] : {
+ regex: chain[level]
+ };
+ var matches = [];
+
+ function addMatch(match) {
+ if (item.backref) {
+ var ERR_UNDEFINED_GROUP = "Backreference to undefined group: ".concat(item.backref);
+ var isNamedBackref = isNaN(item.backref);
+
+ if (isNamedBackref && XRegExp.isInstalled('namespacing')) {
+ // `groups` has `null` as prototype, so using `in` instead of `hasOwnProperty`
+ if (!(match.groups && item.backref in match.groups)) {
+ throw new ReferenceError(ERR_UNDEFINED_GROUP);
+ }
+ } else if (!match.hasOwnProperty(item.backref)) {
+ throw new ReferenceError(ERR_UNDEFINED_GROUP);
}
- for (var i = 0; i < values.length; ++i) {
- XRegExp.forEach(values[i], item.regex, addMatch);
- }
+ var backrefValue = isNamedBackref && XRegExp.isInstalled('namespacing') ? match.groups[item.backref] : match[item.backref];
+ matches.push(backrefValue || '');
+ } else {
+ matches.push(match[0]);
+ }
+ }
- return ((level === chain.length - 1) || !matches.length) ?
- matches :
- recurseChain(matches, level + 1);
- }([str], 0));
+ var _iterator3 = _createForOfIteratorHelper(values),
+ _step3;
+
+ try {
+ for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
+ var value = _step3.value;
+ (0, _forEach["default"])(XRegExp).call(XRegExp, value, item.regex, addMatch);
+ }
+ } catch (err) {
+ _iterator3.e(err);
+ } finally {
+ _iterator3.f();
+ }
+
+ return level === chain.length - 1 || !matches.length ? matches : recurseChain(matches, level + 1);
+ }([str], 0);
};
-
/**
* Returns a new string with one or all matches of a pattern replaced. The pattern can be a string
* or regex, and the replacement can be a string or a function to be called for each match. To
* perform a global search and replace, use the optional `scope` argument or include flag g if using
- * a regex. Replacement strings can use `${n}` for named and numbered backreferences. Replacement
- * functions can use named backreferences via `arguments[0].name`. Also fixes browser bugs compared
- * to the native `String.prototype.replace` and can be used reliably cross-browser.
+ * a regex. Replacement strings can use `$` or `${n}` for named and numbered backreferences.
+ * Replacement functions can use named backreferences via the last argument. Also fixes browser bugs
+ * compared to the native `String.prototype.replace` and can be used reliably cross-browser.
*
* @memberOf XRegExp
* @param {String} str String to search.
@@ -3881,29 +1638,34 @@ XRegExp.matchChain = function(str, chain) {
* - $&, $0 - Inserts the matched substring.
* - $` - Inserts the string that precedes the matched substring (left context).
* - $' - Inserts the string that follows the matched substring (right context).
- * - $n, $nn - Where n/nn are digits referencing an existent capturing group, inserts
+ * - $n, $nn - Where n/nn are digits referencing an existing capturing group, inserts
* backreference n/nn.
- * - ${n} - Where n is a name or any number of digits that reference an existent capturing
+ * - $, ${n} - Where n is a name or any number of digits that reference an existing capturing
* group, inserts backreference n.
* Replacement functions are invoked with three or more arguments:
- * - The matched substring (corresponds to $& above). Named backreferences are accessible as
- * properties of this first argument.
- * - 0..n arguments, one for each backreference (corresponding to $1, $2, etc. above).
- * - The zero-based index of the match within the total search string.
- * - The total string being searched.
- * @param {String} [scope='one'] Use 'one' to replace the first match only, or 'all'. If not
- * explicitly specified and using a regex with flag g, `scope` is 'all'.
+ * - args[0] - The matched substring (corresponds to `$&` above). If the `namespacing` feature
+ * is off, named backreferences are accessible as properties of this argument.
+ * - args[1..n] - One argument for each backreference (corresponding to `$1`, `$2`, etc. above).
+ * If the regex has no capturing groups, no arguments appear in this position.
+ * - args[n+1] - The zero-based index of the match within the entire search string.
+ * - args[n+2] - The total string being searched.
+ * - args[n+3] - If the the search pattern is a regex with named capturing groups, the last
+ * argument is the groups object. Its keys are the backreference names and its values are the
+ * backreference values. If the `namespacing` feature is off, this argument is not present.
+ * @param {String} [scope] Use 'one' to replace the first match only, or 'all'. Defaults to 'one'.
+ * Defaults to 'all' if using a regex with flag g.
* @returns {String} New string with one or all matches replaced.
* @example
*
* // Regex search, using named backreferences in replacement string
- * var name = XRegExp('(?\\w+) (?\\w+)');
- * XRegExp.replace('John Smith', name, '${last}, ${first}');
+ * const name = XRegExp('(?\\w+) (?\\w+)');
+ * XRegExp.replace('John Smith', name, '$, $');
* // -> 'Smith, John'
*
* // Regex search, using named backreferences in replacement function
- * XRegExp.replace('John Smith', name, function(match) {
- * return match.last + ', ' + match.first;
+ * XRegExp.replace('John Smith', name, (...args) => {
+ * const groups = args[args.length - 1];
+ * return `${groups.last}, ${groups.first}`;
* });
* // -> 'Smith, John'
*
@@ -3911,46 +1673,44 @@ XRegExp.matchChain = function(str, chain) {
* XRegExp.replace('RegExp builds RegExps', 'RegExp', 'XRegExp', 'all');
* // -> 'XRegExp builds XRegExps'
*/
-XRegExp.replace = function(str, search, replacement, scope) {
- var isRegex = XRegExp.isRegExp(search);
- var global = (search.global && scope !== 'one') || scope === 'all';
- var cacheKey = ((global ? 'g' : '') + (search.sticky ? 'y' : '')) || 'noGY';
- var s2 = search;
- var result;
- if (isRegex) {
- search[REGEX_DATA] = search[REGEX_DATA] || {};
- // Shares cached copies with `XRegExp.exec`/`match`. Since a copy is used, `search`'s
- // `lastIndex` isn't updated *during* replacement iterations
- s2 = search[REGEX_DATA][cacheKey] || (
- search[REGEX_DATA][cacheKey] = copyRegex(search, {
- addG: !!global,
- removeG: scope === 'one',
- isInternalOnly: true
- })
- );
- } else if (global) {
- s2 = new RegExp(XRegExp.escape(String(search)), 'g');
- }
+XRegExp.replace = function (str, search, replacement, scope) {
+ var isRegex = XRegExp.isRegExp(search);
+ var global = search.global && scope !== 'one' || scope === 'all';
+ var cacheKey = (global ? 'g' : '') + (search.sticky ? 'y' : '') || 'noGY';
+ var s2 = search;
- // Fixed `replace` required for named backreferences, etc.
- result = fixed.replace.call(toObject(str), s2, replacement);
+ if (isRegex) {
+ search[REGEX_DATA] = search[REGEX_DATA] || {}; // Shares cached copies with `XRegExp.exec`/`match`. Since a copy is used, `search`'s
+ // `lastIndex` isn't updated *during* replacement iterations
- if (isRegex && search.global) {
- // Fixes IE, Safari bug (last tested IE 9, Safari 5.1)
- search.lastIndex = 0;
- }
+ s2 = search[REGEX_DATA][cacheKey] || (search[REGEX_DATA][cacheKey] = copyRegex(search, {
+ addG: !!global,
+ removeG: scope === 'one',
+ isInternalOnly: true
+ }));
+ } else if (global) {
+ s2 = new RegExp(XRegExp.escape(String(search)), 'g');
+ } // Fixed `replace` required for named backreferences, etc.
- return result;
+
+ var result = fixed.replace.call(nullThrows(str), s2, replacement);
+
+ if (isRegex && search.global) {
+ // Fixes IE, Safari bug (last tested IE 9, Safari 5.1)
+ search.lastIndex = 0;
+ }
+
+ return result;
};
-
/**
* Performs batch processing of string replacements. Used like `XRegExp.replace`, but accepts an
* array of replacement details. Later replacements operate on the output of earlier replacements.
* Replacement details are accepted as an array with a regex or string to search for, the
* replacement string or function, and an optional scope of 'one' or 'all'. Uses the XRegExp
- * replacement text syntax, which supports named backreference properties via `${name}`.
+ * replacement text syntax, which supports named backreference properties via `$` or
+ * `${name}`.
*
* @memberOf XRegExp
* @param {String} str String to search.
@@ -3959,28 +1719,33 @@ XRegExp.replace = function(str, search, replacement, scope) {
* @example
*
* str = XRegExp.replaceEach(str, [
- * [XRegExp('(?a)'), 'z${name}'],
+ * [XRegExp('(?a)'), 'z$'],
* [/b/gi, 'y'],
* [/c/g, 'x', 'one'], // scope 'one' overrides /g
* [/d/, 'w', 'all'], // scope 'all' overrides lack of /g
* ['e', 'v', 'all'], // scope 'all' allows replace-all for strings
- * [/f/g, function($0) {
- * return $0.toUpperCase();
- * }]
+ * [/f/g, (match) => match.toUpperCase()]
* ]);
*/
-XRegExp.replaceEach = function(str, replacements) {
- var i;
- var r;
- for (i = 0; i < replacements.length; ++i) {
- r = replacements[i];
- str = XRegExp.replace(str, r[0], r[1], r[2]);
+
+XRegExp.replaceEach = function (str, replacements) {
+ var _iterator4 = _createForOfIteratorHelper(replacements),
+ _step4;
+
+ try {
+ for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
+ var r = _step4.value;
+ str = XRegExp.replace(str, r[0], r[1], r[2]);
}
+ } catch (err) {
+ _iterator4.e(err);
+ } finally {
+ _iterator4.f();
+ }
- return str;
+ return str;
};
-
/**
* Splits a string into an array of strings using a regex or string separator. Matches of the
* separator are not included in the result array. However, if `separator` is a regex that contains
@@ -4007,10 +1772,11 @@ XRegExp.replaceEach = function(str, replacements) {
* XRegExp.split('..word1..', /([a-z]+)(\d+)/i);
* // -> ['..', 'word', '1', '..']
*/
-XRegExp.split = function(str, separator, limit) {
- return fixed.split.call(toObject(str), separator, limit);
-};
+
+XRegExp.split = function (str, separator, limit) {
+ return fixed.split.call(nullThrows(str), separator, limit);
+};
/**
* Executes a regex search in a specified string. Returns `true` or `false`. Optional `pos` and
* `sticky` arguments specify the search start position, and whether the match must start at the
@@ -4024,7 +1790,7 @@ XRegExp.split = function(str, separator, limit) {
* @param {Number} [pos=0] Zero-based index at which to start the search.
* @param {Boolean|String} [sticky=false] Whether the match must start at the specified position
* only. The string `'sticky'` is accepted as an alternative to `true`.
- * @returns {Boolean} Whether the regex matched the provided value.
+ * @returns {boolean} Whether the regex matched the provided value.
* @example
*
* // Basic use
@@ -4034,14 +1800,15 @@ XRegExp.split = function(str, separator, limit) {
* XRegExp.test('abc', /c/, 0, 'sticky'); // -> false
* XRegExp.test('abc', /c/, 2, 'sticky'); // -> true
*/
-XRegExp.test = function(str, regex, pos, sticky) {
- // Do this the easy way :-)
- return !!XRegExp.exec(str, regex, pos, sticky);
-};
+// Do this the easy way :-)
+
+XRegExp.test = function (str, regex, pos, sticky) {
+ return !!XRegExp.exec(str, regex, pos, sticky);
+};
/**
- * Uninstalls optional features according to the specified options. All optional features start out
- * uninstalled, so this is used to undo the actions of `XRegExp.install`.
+ * Uninstalls optional features according to the specified options. Used to undo the actions of
+ * `XRegExp.install`.
*
* @memberOf XRegExp
* @param {Object|String} options Options object or string.
@@ -4049,28 +1816,29 @@ XRegExp.test = function(str, regex, pos, sticky) {
*
* // With an options object
* XRegExp.uninstall({
- * // Disables support for astral code points in Unicode addons
+ * // Disables support for astral code points in Unicode addons (unless enabled per regex)
* astral: true,
*
- * // DEPRECATED: Restores native regex methods
- * natives: true
+ * // Don't add named capture groups to the `groups` property of matches
+ * namespacing: true
* });
*
* // With an options string
- * XRegExp.uninstall('astral natives');
+ * XRegExp.uninstall('astral namespacing');
*/
-XRegExp.uninstall = function(options) {
- options = prepareOptions(options);
- if (features.astral && options.astral) {
- setAstral(false);
- }
- if (features.natives && options.natives) {
- setNatives(false);
- }
+XRegExp.uninstall = function (options) {
+ options = prepareOptions(options);
+
+ if (features.astral && options.astral) {
+ setAstral(false);
+ }
+
+ if (features.namespacing && options.namespacing) {
+ setNamespacing(false);
+ }
};
-
/**
* Returns an XRegExp object that is the union of the given patterns. Patterns can be provided as
* regex objects or strings. Metacharacters are escaped in patterns provided as strings.
@@ -4092,360 +1860,417 @@ XRegExp.uninstall = function(options) {
* XRegExp.union([/man/, /bear/, /pig/], 'i', {conjunction: 'none'});
* // -> /manbearpig/i
*/
-XRegExp.union = function(patterns, flags, options) {
- options = options || {};
- var conjunction = options.conjunction || 'or';
- var numCaptures = 0;
- var numPriorCaptures;
- var captureNames;
- function rewrite(match, paren, backref) {
- var name = captureNames[numCaptures - numPriorCaptures];
- // Capturing group
- if (paren) {
- ++numCaptures;
- // If the current capture has a name, preserve the name
- if (name) {
- return '(?<' + name + '>';
- }
- // Backreference
- } else if (backref) {
- // Rewrite the backreference
- return '\\' + (+backref + numPriorCaptures);
- }
+XRegExp.union = function (patterns, flags, options) {
+ options = options || {};
+ var conjunction = options.conjunction || 'or';
+ var numCaptures = 0;
+ var numPriorCaptures;
+ var captureNames;
- return match;
+ function rewrite(match, paren, backref) {
+ var name = captureNames[numCaptures - numPriorCaptures]; // Capturing group
+
+ if (paren) {
+ ++numCaptures; // If the current capture has a name, preserve the name
+
+ if (name) {
+ return "(?<".concat(name, ">");
+ } // Backreference
+
+ } else if (backref) {
+ // Rewrite the backreference
+ return "\\".concat(+backref + numPriorCaptures);
}
- if (!(isType(patterns, 'Array') && patterns.length)) {
- throw new TypeError('Must provide a nonempty array of patterns to merge');
+ return match;
+ }
+
+ if (!(isType(patterns, 'Array') && patterns.length)) {
+ throw new TypeError('Must provide a nonempty array of patterns to merge');
+ }
+
+ var parts = /(\()(?!\?)|\\([1-9]\d*)|\\[\s\S]|\[(?:[^\\\]]|\\[\s\S])*\]/g;
+ var output = [];
+
+ var _iterator5 = _createForOfIteratorHelper(patterns),
+ _step5;
+
+ try {
+ for (_iterator5.s(); !(_step5 = _iterator5.n()).done;) {
+ var pattern = _step5.value;
+
+ if (XRegExp.isRegExp(pattern)) {
+ numPriorCaptures = numCaptures;
+ captureNames = pattern[REGEX_DATA] && pattern[REGEX_DATA].captureNames || []; // Rewrite backreferences. Passing to XRegExp dies on octals and ensures patterns are
+ // independently valid; helps keep this simple. Named captures are put back
+
+ output.push(XRegExp(pattern.source).source.replace(parts, rewrite));
+ } else {
+ output.push(XRegExp.escape(pattern));
+ }
}
+ } catch (err) {
+ _iterator5.e(err);
+ } finally {
+ _iterator5.f();
+ }
- var parts = /(\()(?!\?)|\\([1-9]\d*)|\\[\s\S]|\[(?:[^\\\]]|\\[\s\S])*\]/g;
- var output = [];
- var pattern;
- for (var i = 0; i < patterns.length; ++i) {
- pattern = patterns[i];
-
- if (XRegExp.isRegExp(pattern)) {
- numPriorCaptures = numCaptures;
- captureNames = (pattern[REGEX_DATA] && pattern[REGEX_DATA].captureNames) || [];
-
- // Rewrite backreferences. Passing to XRegExp dies on octals and ensures patterns are
- // independently valid; helps keep this simple. Named captures are put back
- output.push(nativ.replace.call(XRegExp(pattern.source).source, parts, rewrite));
- } else {
- output.push(XRegExp.escape(pattern));
- }
- }
-
- var separator = conjunction === 'none' ? '' : '|';
- return XRegExp(output.join(separator), flags);
-};
-
-// ==--------------------------==
+ var separator = conjunction === 'none' ? '' : '|';
+ return XRegExp(output.join(separator), flags);
+}; // ==--------------------------==
// Fixed/extended native methods
// ==--------------------------==
/**
* Adds named capture support (with backreferences returned as `result.name`), and fixes browser
- * bugs in the native `RegExp.prototype.exec`. Calling `XRegExp.install('natives')` uses this to
- * override the native method. Use via `XRegExp.exec` without overriding natives.
+ * bugs in the native `RegExp.prototype.exec`. Use via `XRegExp.exec`.
*
* @memberOf RegExp
* @param {String} str String to search.
* @returns {Array} Match array with named backreference properties, or `null`.
*/
-fixed.exec = function(str) {
- var origLastIndex = this.lastIndex;
- var match = nativ.exec.apply(this, arguments);
- var name;
- var r2;
- var i;
- if (match) {
- // Fix browsers whose `exec` methods don't return `undefined` for nonparticipating capturing
- // groups. This fixes IE 5.5-8, but not IE 9's quirks mode or emulation of older IEs. IE 9
- // in standards mode follows the spec.
- if (!correctExecNpcg && match.length > 1 && indexOf(match, '') > -1) {
- r2 = copyRegex(this, {
- removeG: true,
- isInternalOnly: true
- });
- // Using `str.slice(match.index)` rather than `match[0]` in case lookahead allowed
- // matching due to characters outside the match
- nativ.replace.call(String(str).slice(match.index), r2, function() {
- var len = arguments.length;
- var i;
- // Skip index 0 and the last 2
- for (i = 1; i < len - 2; ++i) {
- if (arguments[i] === undefined) {
- match[i] = undefined;
- }
- }
- });
- }
- // Attach named capture properties
- if (this[REGEX_DATA] && this[REGEX_DATA].captureNames) {
- // Skip index 0
- for (i = 1; i < match.length; ++i) {
- name = this[REGEX_DATA].captureNames[i - 1];
- if (name) {
- match[name] = match[i];
- }
- }
- }
+fixed.exec = function (str) {
+ var origLastIndex = this.lastIndex;
+ var match = RegExp.prototype.exec.apply(this, arguments);
- // Fix browsers that increment `lastIndex` after zero-length matches
- if (this.global && !match[0].length && (this.lastIndex > match.index)) {
- this.lastIndex = match.index;
+ if (match) {
+ // Fix browsers whose `exec` methods don't return `undefined` for nonparticipating capturing
+ // groups. This fixes IE 5.5-8, but not IE 9's quirks mode or emulation of older IEs. IE 9
+ // in standards mode follows the spec.
+ if (!correctExecNpcg && match.length > 1 && (0, _indexOf["default"])(match).call(match, '') !== -1) {
+ var _context3;
+
+ var r2 = copyRegex(this, {
+ removeG: true,
+ isInternalOnly: true
+ }); // Using `str.slice(match.index)` rather than `match[0]` in case lookahead allowed
+ // matching due to characters outside the match
+
+ (0, _slice["default"])(_context3 = String(str)).call(_context3, match.index).replace(r2, function () {
+ var len = arguments.length; // Skip index 0 and the last 2
+
+ for (var i = 1; i < len - 2; ++i) {
+ if ((i < 0 || arguments.length <= i ? undefined : arguments[i]) === undefined) {
+ match[i] = undefined;
+ }
}
+ });
+ } // Attach named capture properties
+
+
+ if (this[REGEX_DATA] && this[REGEX_DATA].captureNames) {
+ var groupsObject = match;
+
+ if (XRegExp.isInstalled('namespacing')) {
+ // https://tc39.github.io/proposal-regexp-named-groups/#sec-regexpbuiltinexec
+ match.groups = (0, _create["default"])(null);
+ groupsObject = match.groups;
+ } // Skip index 0
+
+
+ for (var i = 1; i < match.length; ++i) {
+ var name = this[REGEX_DATA].captureNames[i - 1];
+
+ if (name) {
+ groupsObject[name] = match[i];
+ }
+ } // Preserve any existing `groups` obj that came from native ES2018 named capture
+
+ } else if (!match.groups && XRegExp.isInstalled('namespacing')) {
+ match.groups = undefined;
+ } // Fix browsers that increment `lastIndex` after zero-length matches
+
+
+ if (this.global && !match[0].length && this.lastIndex > match.index) {
+ this.lastIndex = match.index;
}
+ }
- if (!this.global) {
- // Fixes IE, Opera bug (last tested IE 9, Opera 11.6)
- this.lastIndex = origLastIndex;
- }
+ if (!this.global) {
+ // Fixes IE, Opera bug (last tested IE 9, Opera 11.6)
+ this.lastIndex = origLastIndex;
+ }
- return match;
+ return match;
};
-
/**
- * Fixes browser bugs in the native `RegExp.prototype.test`. Calling `XRegExp.install('natives')`
- * uses this to override the native method.
+ * Fixes browser bugs in the native `RegExp.prototype.test`.
*
* @memberOf RegExp
* @param {String} str String to search.
- * @returns {Boolean} Whether the regex matched the provided value.
+ * @returns {boolean} Whether the regex matched the provided value.
*/
-fixed.test = function(str) {
- // Do this the easy way :-)
- return !!fixed.exec.call(this, str);
-};
+
+fixed.test = function (str) {
+ // Do this the easy way :-)
+ return !!fixed.exec.call(this, str);
+};
/**
* Adds named capture support (with backreferences returned as `result.name`), and fixes browser
- * bugs in the native `String.prototype.match`. Calling `XRegExp.install('natives')` uses this to
- * override the native method.
+ * bugs in the native `String.prototype.match`.
*
* @memberOf String
* @param {RegExp|*} regex Regex to search with. If not a regex object, it is passed to `RegExp`.
* @returns {Array} If `regex` uses flag g, an array of match strings or `null`. Without flag g,
* the result of calling `regex.exec(this)`.
*/
-fixed.match = function(regex) {
- var result;
- if (!XRegExp.isRegExp(regex)) {
- // Use the native `RegExp` rather than `XRegExp`
- regex = new RegExp(regex);
- } else if (regex.global) {
- result = nativ.match.apply(this, arguments);
- // Fixes IE bug
- regex.lastIndex = 0;
- return result;
- }
+fixed.match = function (regex) {
+ if (!XRegExp.isRegExp(regex)) {
+ // Use the native `RegExp` rather than `XRegExp`
+ regex = new RegExp(regex);
+ } else if (regex.global) {
+ var result = String.prototype.match.apply(this, arguments); // Fixes IE bug
- return fixed.exec.call(regex, toObject(this));
+ regex.lastIndex = 0;
+ return result;
+ }
+
+ return fixed.exec.call(regex, nullThrows(this));
};
-
/**
- * Adds support for `${n}` tokens for named and numbered backreferences in replacement text, and
- * provides named backreferences to replacement functions as `arguments[0].name`. Also fixes browser
- * bugs in replacement text syntax when performing a replacement using a nonregex search value, and
- * the value of a replacement regex's `lastIndex` property during replacement iterations and upon
- * completion. Calling `XRegExp.install('natives')` uses this to override the native method. Note
- * that this doesn't support SpiderMonkey's proprietary third (`flags`) argument. Use via
- * `XRegExp.replace` without overriding natives.
+ * Adds support for `${n}` (or `$`) tokens for named and numbered backreferences in replacement
+ * text, and provides named backreferences to replacement functions as `arguments[0].name`. Also
+ * fixes browser bugs in replacement text syntax when performing a replacement using a nonregex
+ * search value, and the value of a replacement regex's `lastIndex` property during replacement
+ * iterations and upon completion. Note that this doesn't support SpiderMonkey's proprietary third
+ * (`flags`) argument. Use via `XRegExp.replace`.
*
* @memberOf String
* @param {RegExp|String} search Search pattern to be replaced.
* @param {String|Function} replacement Replacement string or a function invoked to create it.
- * @returns {String} New string with one or all matches replaced.
+ * @returns {string} New string with one or all matches replaced.
*/
-fixed.replace = function(search, replacement) {
- var isRegex = XRegExp.isRegExp(search);
- var origLastIndex;
- var captureNames;
- var result;
- if (isRegex) {
- if (search[REGEX_DATA]) {
- captureNames = search[REGEX_DATA].captureNames;
- }
- // Only needed if `search` is nonglobal
- origLastIndex = search.lastIndex;
- } else {
- search += ''; // Type-convert
- }
- // Don't use `typeof`; some older browsers return 'function' for regex objects
- if (isType(replacement, 'Function')) {
- // Stringifying `this` fixes a bug in IE < 9 where the last argument in replacement
- // functions isn't type-converted to a string
- result = nativ.replace.call(String(this), search, function() {
- var args = arguments;
- var i;
- if (captureNames) {
- // Change the `arguments[0]` string primitive to a `String` object that can store
- // properties. This really does need to use `String` as a constructor
- args[0] = new String(args[0]);
- // Store named backreferences on the first argument
- for (i = 0; i < captureNames.length; ++i) {
- if (captureNames[i]) {
- args[0][captureNames[i]] = args[i + 1];
- }
- }
- }
- // Update `lastIndex` before calling `replacement`. Fixes IE, Chrome, Firefox, Safari
- // bug (last tested IE 9, Chrome 17, Firefox 11, Safari 5.1)
- if (isRegex && search.global) {
- search.lastIndex = args[args.length - 2] + args[0].length;
- }
- // ES6 specs the context for replacement functions as `undefined`
- return replacement.apply(undefined, args);
- });
- } else {
- // Ensure that the last value of `args` will be a string when given nonstring `this`,
- // while still throwing on null or undefined context
- result = nativ.replace.call(this == null ? this : String(this), search, function() {
- // Keep this function's `arguments` available through closure
- var args = arguments;
- return nativ.replace.call(String(replacement), replacementToken, function($0, $1, $2) {
- var n;
- // Named or numbered backreference with curly braces
- if ($1) {
- // XRegExp behavior for `${n}`:
- // 1. Backreference to numbered capture, if `n` is an integer. Use `0` for the
- // entire match. Any number of leading zeros may be used.
- // 2. Backreference to named capture `n`, if it exists and is not an integer
- // overridden by numbered capture. In practice, this does not overlap with
- // numbered capture since XRegExp does not allow named capture to use a bare
- // integer as the name.
- // 3. If the name or number does not refer to an existing capturing group, it's
- // an error.
- n = +$1; // Type-convert; drop leading zeros
- if (n <= args.length - 3) {
- return args[n] || '';
- }
- // Groups with the same name is an error, else would need `lastIndexOf`
- n = captureNames ? indexOf(captureNames, $1) : -1;
- if (n < 0) {
- throw new SyntaxError('Backreference to undefined group ' + $0);
- }
- return args[n + 1] || '';
- }
- // Else, special variable or numbered backreference without curly braces
- if ($2 === '$') { // $$
- return '$';
- }
- if ($2 === '&' || +$2 === 0) { // $&, $0 (not followed by 1-9), $00
- return args[0];
- }
- if ($2 === '`') { // $` (left context)
- return args[args.length - 1].slice(0, args[args.length - 2]);
- }
- if ($2 === "'") { // $' (right context)
- return args[args.length - 1].slice(args[args.length - 2] + args[0].length);
- }
- // Else, numbered backreference without curly braces
- $2 = +$2; // Type-convert; drop leading zero
- // XRegExp behavior for `$n` and `$nn`:
- // - Backrefs end after 1 or 2 digits. Use `${..}` for more digits.
- // - `$1` is an error if no capturing groups.
- // - `$10` is an error if less than 10 capturing groups. Use `${1}0` instead.
- // - `$01` is `$1` if at least one capturing group, else it's an error.
- // - `$0` (not followed by 1-9) and `$00` are the entire match.
- // Native behavior, for comparison:
- // - Backrefs end after 1 or 2 digits. Cannot reference capturing group 100+.
- // - `$1` is a literal `$1` if no capturing groups.
- // - `$10` is `$1` followed by a literal `0` if less than 10 capturing groups.
- // - `$01` is `$1` if at least one capturing group, else it's a literal `$01`.
- // - `$0` is a literal `$0`.
- if (!isNaN($2)) {
- if ($2 > args.length - 3) {
- throw new SyntaxError('Backreference to undefined group ' + $0);
- }
- return args[$2] || '';
- }
- // `$` followed by an unsupported char is an error, unlike native JS
- throw new SyntaxError('Invalid token ' + $0);
- });
- });
- }
+fixed.replace = function (search, replacement) {
+ var isRegex = XRegExp.isRegExp(search);
+ var origLastIndex;
+ var captureNames;
+ var result;
- if (isRegex) {
- if (search.global) {
- // Fixes IE, Safari bug (last tested IE 9, Safari 5.1)
- search.lastIndex = 0;
+ if (isRegex) {
+ if (search[REGEX_DATA]) {
+ captureNames = search[REGEX_DATA].captureNames;
+ } // Only needed if `search` is nonglobal
+
+
+ origLastIndex = search.lastIndex;
+ } else {
+ search += ''; // Type-convert
+ } // Don't use `typeof`; some older browsers return 'function' for regex objects
+
+
+ if (isType(replacement, 'Function')) {
+ // Stringifying `this` fixes a bug in IE < 9 where the last argument in replacement
+ // functions isn't type-converted to a string
+ result = String(this).replace(search, function () {
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
+ args[_key] = arguments[_key];
+ }
+
+ if (captureNames) {
+ var groupsObject;
+
+ if (XRegExp.isInstalled('namespacing')) {
+ // https://tc39.github.io/proposal-regexp-named-groups/#sec-regexpbuiltinexec
+ groupsObject = (0, _create["default"])(null);
+ args.push(groupsObject);
} else {
- // Fixes IE, Opera bug (last tested IE 9, Opera 11.6)
- search.lastIndex = origLastIndex;
+ // Change the `args[0]` string primitive to a `String` object that can store
+ // properties. This really does need to use `String` as a constructor
+ args[0] = new String(args[0]);
+ groupsObject = args[0];
+ } // Store named backreferences
+
+
+ for (var i = 0; i < captureNames.length; ++i) {
+ if (captureNames[i]) {
+ groupsObject[captureNames[i]] = args[i + 1];
+ }
}
+ } // ES6 specs the context for replacement functions as `undefined`
+
+
+ return replacement.apply(void 0, args);
+ });
+ } else {
+ // Ensure that the last value of `args` will be a string when given nonstring `this`,
+ // while still throwing on null or undefined context
+ result = String(nullThrows(this)).replace(search, function () {
+ for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
+ args[_key2] = arguments[_key2];
+ }
+
+ return String(replacement).replace(replacementToken, replacer);
+
+ function replacer($0, bracketed, angled, dollarToken) {
+ bracketed = bracketed || angled; // ES2018 added a new trailing `groups` arg that's passed to replacement functions
+ // when the search regex uses native named capture
+
+ var numNonCaptureArgs = isType(args[args.length - 1], 'Object') ? 4 : 3;
+ var numCaptures = args.length - numNonCaptureArgs; // Handle named or numbered backreference with curly or angled braces: ${n}, $
+
+ if (bracketed) {
+ // Handle backreference to numbered capture, if `bracketed` is an integer. Use
+ // `0` for the entire match. Any number of leading zeros may be used.
+ if (/^\d+$/.test(bracketed)) {
+ // Type-convert and drop leading zeros
+ var _n = +bracketed;
+
+ if (_n <= numCaptures) {
+ return args[_n] || '';
+ }
+ } // Handle backreference to named capture. If the name does not refer to an
+ // existing capturing group, it's an error. Also handles the error for numbered
+ // backference that does not refer to an existing group.
+ // Using `indexOf` since having groups with the same name is already an error,
+ // otherwise would need `lastIndexOf`.
+
+
+ var n = captureNames ? (0, _indexOf["default"])(captureNames).call(captureNames, bracketed) : -1;
+
+ if (n < 0) {
+ throw new SyntaxError("Backreference to undefined group ".concat($0));
+ }
+
+ return args[n + 1] || '';
+ } // Handle `$`-prefixed variable
+ // Handle space/blank first because type conversion with `+` drops space padding
+ // and converts spaces and empty strings to `0`
+
+
+ if (dollarToken === '' || dollarToken === ' ') {
+ throw new SyntaxError("Invalid token ".concat($0));
+ }
+
+ if (dollarToken === '&' || +dollarToken === 0) {
+ // $&, $0 (not followed by 1-9), $00
+ return args[0];
+ }
+
+ if (dollarToken === '$') {
+ // $$
+ return '$';
+ }
+
+ if (dollarToken === '`') {
+ var _context4;
+
+ // $` (left context)
+ return (0, _slice["default"])(_context4 = args[args.length - 1]).call(_context4, 0, args[args.length - 2]);
+ }
+
+ if (dollarToken === "'") {
+ var _context5;
+
+ // $' (right context)
+ return (0, _slice["default"])(_context5 = args[args.length - 1]).call(_context5, args[args.length - 2] + args[0].length);
+ } // Handle numbered backreference without braces
+ // Type-convert and drop leading zero
+
+
+ dollarToken = +dollarToken; // XRegExp behavior for `$n` and `$nn`:
+ // - Backrefs end after 1 or 2 digits. Use `${..}` or `$<..>` for more digits.
+ // - `$1` is an error if no capturing groups.
+ // - `$10` is an error if less than 10 capturing groups. Use `${1}0` or `$<1>0`
+ // instead.
+ // - `$01` is `$1` if at least one capturing group, else it's an error.
+ // - `$0` (not followed by 1-9) and `$00` are the entire match.
+ // Native behavior, for comparison:
+ // - Backrefs end after 1 or 2 digits. Cannot reference capturing group 100+.
+ // - `$1` is a literal `$1` if no capturing groups.
+ // - `$10` is `$1` followed by a literal `0` if less than 10 capturing groups.
+ // - `$01` is `$1` if at least one capturing group, else it's a literal `$01`.
+ // - `$0` is a literal `$0`.
+
+ if (!isNaN(dollarToken)) {
+ if (dollarToken > numCaptures) {
+ throw new SyntaxError("Backreference to undefined group ".concat($0));
+ }
+
+ return args[dollarToken] || '';
+ } // `$` followed by an unsupported char is an error, unlike native JS
+
+
+ throw new SyntaxError("Invalid token ".concat($0));
+ }
+ });
+ }
+
+ if (isRegex) {
+ if (search.global) {
+ // Fixes IE, Safari bug (last tested IE 9, Safari 5.1)
+ search.lastIndex = 0;
+ } else {
+ // Fixes IE, Opera bug (last tested IE 9, Opera 11.6)
+ search.lastIndex = origLastIndex;
}
+ }
- return result;
+ return result;
};
-
/**
- * Fixes browser bugs in the native `String.prototype.split`. Calling `XRegExp.install('natives')`
- * uses this to override the native method. Use via `XRegExp.split` without overriding natives.
+ * Fixes browser bugs in the native `String.prototype.split`. Use via `XRegExp.split`.
*
* @memberOf String
* @param {RegExp|String} separator Regex or string to use for separating the string.
* @param {Number} [limit] Maximum number of items to include in the result array.
- * @returns {Array} Array of substrings.
+ * @returns {!Array} Array of substrings.
*/
-fixed.split = function(separator, limit) {
- if (!XRegExp.isRegExp(separator)) {
- // Browsers handle nonregex split correctly, so use the faster native method
- return nativ.split.apply(this, arguments);
+
+
+fixed.split = function (separator, limit) {
+ if (!XRegExp.isRegExp(separator)) {
+ // Browsers handle nonregex split correctly, so use the faster native method
+ return String.prototype.split.apply(this, arguments);
+ }
+
+ var str = String(this);
+ var output = [];
+ var origLastIndex = separator.lastIndex;
+ var lastLastIndex = 0;
+ var lastLength; // Values for `limit`, per the spec:
+ // If undefined: pow(2,32) - 1
+ // If 0, Infinity, or NaN: 0
+ // If positive number: limit = floor(limit); if (limit >= pow(2,32)) limit -= pow(2,32);
+ // If negative number: pow(2,32) - floor(abs(limit))
+ // If other: Type-convert, then use the above rules
+ // This line fails in very strange ways for some values of `limit` in Opera 10.5-10.63, unless
+ // Opera Dragonfly is open (go figure). It works in at least Opera 9.5-10.1 and 11+
+
+ limit = (limit === undefined ? -1 : limit) >>> 0;
+ (0, _forEach["default"])(XRegExp).call(XRegExp, str, separator, function (match) {
+ // This condition is not the same as `if (match[0].length)`
+ if (match.index + match[0].length > lastLastIndex) {
+ output.push((0, _slice["default"])(str).call(str, lastLastIndex, match.index));
+
+ if (match.length > 1 && match.index < str.length) {
+ Array.prototype.push.apply(output, (0, _slice["default"])(match).call(match, 1));
+ }
+
+ lastLength = match[0].length;
+ lastLastIndex = match.index + lastLength;
}
+ });
- var str = String(this);
- var output = [];
- var origLastIndex = separator.lastIndex;
- var lastLastIndex = 0;
- var lastLength;
-
- // Values for `limit`, per the spec:
- // If undefined: pow(2,32) - 1
- // If 0, Infinity, or NaN: 0
- // If positive number: limit = floor(limit); if (limit >= pow(2,32)) limit -= pow(2,32);
- // If negative number: pow(2,32) - floor(abs(limit))
- // If other: Type-convert, then use the above rules
- // This line fails in very strange ways for some values of `limit` in Opera 10.5-10.63, unless
- // Opera Dragonfly is open (go figure). It works in at least Opera 9.5-10.1 and 11+
- limit = (limit === undefined ? -1 : limit) >>> 0;
-
- XRegExp.forEach(str, separator, function(match) {
- // This condition is not the same as `if (match[0].length)`
- if ((match.index + match[0].length) > lastLastIndex) {
- output.push(str.slice(lastLastIndex, match.index));
- if (match.length > 1 && match.index < str.length) {
- Array.prototype.push.apply(output, match.slice(1));
- }
- lastLength = match[0].length;
- lastLastIndex = match.index + lastLength;
- }
- });
-
- if (lastLastIndex === str.length) {
- if (!nativ.test.call(separator, '') || lastLength) {
- output.push('');
- }
- } else {
- output.push(str.slice(lastLastIndex));
+ if (lastLastIndex === str.length) {
+ if (!separator.test('') || lastLength) {
+ output.push('');
}
+ } else {
+ output.push((0, _slice["default"])(str).call(str, lastLastIndex));
+ }
- separator.lastIndex = origLastIndex;
- return output.length > limit ? output.slice(0, limit) : output;
-};
-
-// ==--------------------------==
+ separator.lastIndex = origLastIndex;
+ return output.length > limit ? (0, _slice["default"])(output).call(output, 0, limit) : output;
+}; // ==--------------------------==
// Built-in syntax/flag tokens
// ==--------------------------==
@@ -4454,21 +2279,19 @@ fixed.split = function(separator, limit) {
* SyntaxErrors but are allowed in web reality. XRegExp makes them errors for cross-browser
* consistency and to reserve their syntax, but lets them be superseded by addons.
*/
-XRegExp.addToken(
- /\\([ABCE-RTUVXYZaeg-mopqyz]|c(?![A-Za-z])|u(?![\dA-Fa-f]{4}|{[\dA-Fa-f]+})|x(?![\dA-Fa-f]{2}))/,
- function(match, scope) {
- // \B is allowed in default scope only
- if (match[1] === 'B' && scope === defaultScope) {
- return match[0];
- }
- throw new SyntaxError('Invalid escape ' + match[0]);
- },
- {
- scope: 'all',
- leadChar: '\\'
- }
-);
+
+XRegExp.addToken(/\\([ABCE-RTUVXYZaeg-mopqyz]|c(?![A-Za-z])|u(?![\dA-Fa-f]{4}|{[\dA-Fa-f]+})|x(?![\dA-Fa-f]{2}))/, function (match, scope) {
+ // \B is allowed in default scope only
+ if (match[1] === 'B' && scope === defaultScope) {
+ return match[0];
+ }
+
+ throw new SyntaxError("Invalid escape ".concat(match[0]));
+}, {
+ scope: 'all',
+ leadChar: '\\'
+});
/*
* Unicode code point escape with curly braces: `\u{N..}`. `N..` is any one or more digit
* hexadecimal number from 0-10FFFF, and can include leading zeros. Requires the native ES6 `u` flag
@@ -4477,176 +2300,3827 @@ XRegExp.addToken(
* if you follow a `\u{N..}` token that references a code point above U+FFFF with a quantifier, or
* if you use the same in a character class.
*/
-XRegExp.addToken(
- /\\u{([\dA-Fa-f]+)}/,
- function(match, scope, flags) {
- var code = dec(match[1]);
- if (code > 0x10FFFF) {
- throw new SyntaxError('Invalid Unicode code point ' + match[0]);
- }
- if (code <= 0xFFFF) {
- // Converting to \uNNNN avoids needing to escape the literal character and keep it
- // separate from preceding tokens
- return '\\u' + pad4(hex(code));
- }
- // If `code` is between 0xFFFF and 0x10FFFF, require and defer to native handling
- if (hasNativeU && flags.indexOf('u') > -1) {
- return match[0];
- }
- throw new SyntaxError('Cannot use Unicode code point above \\u{FFFF} without flag u');
- },
- {
- scope: 'all',
- leadChar: '\\'
- }
-);
-/*
- * Empty character class: `[]` or `[^]`. This fixes a critical cross-browser syntax inconsistency.
- * Unless this is standardized (per the ES spec), regex syntax can't be accurately parsed because
- * character class endings can't be determined.
- */
-XRegExp.addToken(
- /\[(\^?)\]/,
- function(match) {
- // For cross-browser compatibility with ES3, convert [] to \b\B and [^] to [\s\S].
- // (?!) should work like \b\B, but is unreliable in some versions of Firefox
- return match[1] ? '[\\s\\S]' : '\\b\\B';
- },
- {leadChar: '['}
-);
+XRegExp.addToken(/\\u{([\dA-Fa-f]+)}/, function (match, scope, flags) {
+ var code = dec(match[1]);
+ if (code > 0x10FFFF) {
+ throw new SyntaxError("Invalid Unicode code point ".concat(match[0]));
+ }
+
+ if (code <= 0xFFFF) {
+ // Converting to \uNNNN avoids needing to escape the literal character and keep it
+ // separate from preceding tokens
+ return "\\u".concat(pad4(hex(code)));
+ } // If `code` is between 0xFFFF and 0x10FFFF, require and defer to native handling
+
+
+ if (hasNativeU && (0, _indexOf["default"])(flags).call(flags, 'u') !== -1) {
+ return match[0];
+ }
+
+ throw new SyntaxError('Cannot use Unicode code point above \\u{FFFF} without flag u');
+}, {
+ scope: 'all',
+ leadChar: '\\'
+});
/*
* Comment pattern: `(?# )`. Inline comments are an alternative to the line comments allowed in
* free-spacing mode (flag x).
*/
-XRegExp.addToken(
- /\(\?#[^)]*\)/,
- getContextualTokenSeparator,
- {leadChar: '('}
-);
+XRegExp.addToken(/\(\?#[^)]*\)/, getContextualTokenSeparator, {
+ leadChar: '('
+});
/*
* Whitespace and line comments, in free-spacing mode (aka extended mode, flag x) only.
*/
-XRegExp.addToken(
- /\s+|#[^\n]*\n?/,
- getContextualTokenSeparator,
- {flag: 'x'}
-);
+XRegExp.addToken(/\s+|#[^\n]*\n?/, getContextualTokenSeparator, {
+ flag: 'x'
+});
/*
- * Dot, in dotall mode (aka singleline mode, flag s) only.
+ * Dot, in dotAll mode (aka singleline mode, flag s) only.
*/
-XRegExp.addToken(
- /\./,
- function() {
- return '[\\s\\S]';
- },
- {
- flag: 's',
- leadChar: '.'
- }
-);
+if (!hasNativeS) {
+ XRegExp.addToken(/\./, function () {
+ return '[\\s\\S]';
+ }, {
+ flag: 's',
+ leadChar: '.'
+ });
+}
/*
- * Named backreference: `\k`. Backreference names can use the characters A-Z, a-z, 0-9, _,
- * and $ only. Also allows numbered backreferences as `\k`.
+ * Named backreference: `\k`. Backreference names can use RegExpIdentifierName characters
+ * only. Also allows numbered backreferences as `\k`.
*/
-XRegExp.addToken(
- /\\k<([\w$]+)>/,
- function(match) {
- // Groups with the same name is an error, else would need `lastIndexOf`
- var index = isNaN(match[1]) ? (indexOf(this.captureNames, match[1]) + 1) : +match[1];
- var endIndex = match.index + match[0].length;
- if (!index || index > this.captureNames.length) {
- throw new SyntaxError('Backreference to undefined group ' + match[0]);
- }
- // Keep backreferences separate from subsequent literal numbers. This avoids e.g.
- // inadvertedly changing `(?)\k1` to `()\11`.
- return '\\' + index + (
- endIndex === match.input.length || isNaN(match.input.charAt(endIndex)) ?
- '' : '(?:)'
- );
- },
- {leadChar: '\\'}
-);
+
+XRegExp.addToken(/\\k<([^>]+)>/, function (match) {
+ var _context6, _context7;
+
+ // Groups with the same name is an error, else would need `lastIndexOf`
+ var index = isNaN(match[1]) ? (0, _indexOf["default"])(_context6 = this.captureNames).call(_context6, match[1]) + 1 : +match[1];
+ var endIndex = match.index + match[0].length;
+
+ if (!index || index > this.captureNames.length) {
+ throw new SyntaxError("Backreference to undefined group ".concat(match[0]));
+ } // Keep backreferences separate from subsequent literal numbers. This avoids e.g.
+ // inadvertedly changing `(?)\k1` to `()\11`.
+
+
+ return (0, _concat["default"])(_context7 = "\\".concat(index)).call(_context7, endIndex === match.input.length || isNaN(match.input[endIndex]) ? '' : '(?:)');
+}, {
+ leadChar: '\\'
+});
/*
* Numbered backreference or octal, plus any following digits: `\0`, `\11`, etc. Octals except `\0`
* not followed by 0-9 and backreferences to unopened capture groups throw an error. Other matches
* are returned unaltered. IE < 9 doesn't support backreferences above `\99` in regex syntax.
*/
-XRegExp.addToken(
- /\\(\d+)/,
- function(match, scope) {
- if (
- !(
- scope === defaultScope &&
- /^[1-9]/.test(match[1]) &&
- +match[1] <= this.captureNames.length
- ) &&
- match[1] !== '0'
- ) {
- throw new SyntaxError('Cannot use octal escape or backreference to undefined group ' +
- match[0]);
- }
- return match[0];
- },
- {
- scope: 'all',
- leadChar: '\\'
- }
-);
+XRegExp.addToken(/\\(\d+)/, function (match, scope) {
+ if (!(scope === defaultScope && /^[1-9]/.test(match[1]) && +match[1] <= this.captureNames.length) && match[1] !== '0') {
+ throw new SyntaxError("Cannot use octal escape or backreference to undefined group ".concat(match[0]));
+ }
+
+ return match[0];
+}, {
+ scope: 'all',
+ leadChar: '\\'
+});
/*
* Named capturing group; match the opening delimiter only: `(?`. Capture names can use the
- * characters A-Z, a-z, 0-9, _, and $ only. Names can't be integers. Supports Python-style
+ * RegExpIdentifierName characters only. Names can't be integers. Supports Python-style
* `(?P` as an alternate syntax to avoid issues in some older versions of Opera which natively
* supported the Python-style syntax. Otherwise, XRegExp might treat numbered backreferences to
* Python-style named capture as octals.
*/
-XRegExp.addToken(
- /\(\?P?<([\w$]+)>/,
- function(match) {
- // Disallow bare integers as names because named backreferences are added to match arrays
- // and therefore numeric properties may lead to incorrect lookups
- if (!isNaN(match[1])) {
- throw new SyntaxError('Cannot use integer as capture name ' + match[0]);
- }
- if (match[1] === 'length' || match[1] === '__proto__') {
- throw new SyntaxError('Cannot use reserved word as capture name ' + match[0]);
- }
- if (indexOf(this.captureNames, match[1]) > -1) {
- throw new SyntaxError('Cannot use same name for multiple groups ' + match[0]);
- }
- this.captureNames.push(match[1]);
- this.hasNamedCapture = true;
- return '(';
- },
- {leadChar: '('}
-);
+XRegExp.addToken(/\(\?P?<((?:[\$A-Z_a-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\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\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\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\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\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\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09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15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\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-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\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]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])(?:[\$0-9A-Z_a-z\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05EF-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u07FD\u0800-\u082D\u0840-\u085B\u0860-\u086A\u0870-\u0887\u0889-\u088E\u0898-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\u09FE\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\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-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3C-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C5D\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDD\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D00-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D81-\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\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\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1715\u171F-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u1820-\u1878\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B4C\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CD0-\u1CD2\u1CD4-\u1CFA\u1D00-\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\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA827\uA82C\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDF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DEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3B-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC5E-\uDC61\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB8\uDEC0-\uDEC9\uDF00-\uDF1A\uDF1D-\uDF2B\uDF30-\uDF39\uDF40-\uDF46]|\uD806[\uDC00-\uDC3A\uDCA0-\uDCE9\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD35\uDD37\uDD38\uDD3B-\uDD43\uDD50-\uDD59\uDDA0-\uDDA7\uDDAA-\uDDD7\uDDDA-\uDDE1\uDDE3\uDDE4\uDE00-\uDE3E\uDE47\uDE50-\uDE99\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD8E\uDD90\uDD91\uDD93-\uDD98\uDDA0-\uDDA9\uDEE0-\uDEF6\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD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uDF1E]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDD00-\uDD2C\uDD30-\uDD3D\uDD40-\uDD49\uDD4E\uDE90-\uDEAE\uDEC0-\uDEF9]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4B\uDD50-\uDD59]|\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]|\uD83E[\uDFF0-\uDFF9]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A]|\uDB40[\uDD00-\uDDEF])*)>/, function (match) {
+ var _context8;
+
+ if (!XRegExp.isInstalled('namespacing') && (match[1] === 'length' || match[1] === '__proto__')) {
+ throw new SyntaxError("Cannot use reserved word as capture name ".concat(match[0]));
+ }
+
+ if ((0, _indexOf["default"])(_context8 = this.captureNames).call(_context8, match[1]) !== -1) {
+ throw new SyntaxError("Cannot use same name for multiple groups ".concat(match[0]));
+ }
+
+ this.captureNames.push(match[1]);
+ this.hasNamedCapture = true;
+ return '(';
+}, {
+ leadChar: '('
+});
/*
* Capturing group; match the opening parenthesis only. Required for support of named capturing
- * groups. Also adds explicit capture mode (flag n).
+ * groups. Also adds named capture only mode (flag n).
*/
-XRegExp.addToken(
- /\((?!\?)/,
- function(match, scope, flags) {
- if (flags.indexOf('n') > -1) {
- return '(?:';
+
+XRegExp.addToken(/\((?!\?)/, function (match, scope, flags) {
+ if ((0, _indexOf["default"])(flags).call(flags, 'n') !== -1) {
+ return '(?:';
+ }
+
+ this.captureNames.push(null);
+ return '(';
+}, {
+ optionalFlags: 'n',
+ leadChar: '('
+});
+var _default = XRegExp;
+exports["default"] = _default;
+module.exports = exports.default;
+},{"@babel/runtime-corejs3/core-js-stable/array/from":5,"@babel/runtime-corejs3/core-js-stable/array/is-array":6,"@babel/runtime-corejs3/core-js-stable/instance/concat":7,"@babel/runtime-corejs3/core-js-stable/instance/flags":8,"@babel/runtime-corejs3/core-js-stable/instance/for-each":9,"@babel/runtime-corejs3/core-js-stable/instance/index-of":10,"@babel/runtime-corejs3/core-js-stable/instance/slice":11,"@babel/runtime-corejs3/core-js-stable/instance/sort":12,"@babel/runtime-corejs3/core-js-stable/object/create":13,"@babel/runtime-corejs3/core-js-stable/object/define-property":14,"@babel/runtime-corejs3/core-js-stable/parse-int":15,"@babel/runtime-corejs3/core-js-stable/symbol":16,"@babel/runtime-corejs3/core-js/get-iterator-method":19,"@babel/runtime-corejs3/helpers/interopRequireDefault":24,"@babel/runtime-corejs3/helpers/slicedToArray":27}],5:[function(require,module,exports){
+module.exports = require("core-js-pure/stable/array/from");
+},{"core-js-pure/stable/array/from":208}],6:[function(require,module,exports){
+module.exports = require("core-js-pure/stable/array/is-array");
+},{"core-js-pure/stable/array/is-array":209}],7:[function(require,module,exports){
+module.exports = require("core-js-pure/stable/instance/concat");
+},{"core-js-pure/stable/instance/concat":212}],8:[function(require,module,exports){
+module.exports = require("core-js-pure/stable/instance/flags");
+},{"core-js-pure/stable/instance/flags":213}],9:[function(require,module,exports){
+module.exports = require("core-js-pure/stable/instance/for-each");
+},{"core-js-pure/stable/instance/for-each":214}],10:[function(require,module,exports){
+module.exports = require("core-js-pure/stable/instance/index-of");
+},{"core-js-pure/stable/instance/index-of":215}],11:[function(require,module,exports){
+module.exports = require("core-js-pure/stable/instance/slice");
+},{"core-js-pure/stable/instance/slice":216}],12:[function(require,module,exports){
+module.exports = require("core-js-pure/stable/instance/sort");
+},{"core-js-pure/stable/instance/sort":217}],13:[function(require,module,exports){
+module.exports = require("core-js-pure/stable/object/create");
+},{"core-js-pure/stable/object/create":218}],14:[function(require,module,exports){
+module.exports = require("core-js-pure/stable/object/define-property");
+},{"core-js-pure/stable/object/define-property":219}],15:[function(require,module,exports){
+module.exports = require("core-js-pure/stable/parse-int");
+},{"core-js-pure/stable/parse-int":220}],16:[function(require,module,exports){
+module.exports = require("core-js-pure/stable/symbol");
+},{"core-js-pure/stable/symbol":221}],17:[function(require,module,exports){
+module.exports = require("core-js-pure/features/array/from");
+},{"core-js-pure/features/array/from":52}],18:[function(require,module,exports){
+module.exports = require("core-js-pure/features/array/is-array");
+},{"core-js-pure/features/array/is-array":53}],19:[function(require,module,exports){
+module.exports = require("core-js-pure/features/get-iterator-method");
+},{"core-js-pure/features/get-iterator-method":54}],20:[function(require,module,exports){
+module.exports = require("core-js-pure/features/instance/slice");
+},{"core-js-pure/features/instance/slice":55}],21:[function(require,module,exports){
+module.exports = require("core-js-pure/features/symbol");
+},{"core-js-pure/features/symbol":56}],22:[function(require,module,exports){
+function _arrayLikeToArray(arr, len) {
+ if (len == null || len > arr.length) len = arr.length;
+
+ for (var i = 0, arr2 = new Array(len); i < len; i++) {
+ arr2[i] = arr[i];
+ }
+
+ return arr2;
+}
+
+module.exports = _arrayLikeToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
+},{}],23:[function(require,module,exports){
+var _Array$isArray = require("@babel/runtime-corejs3/core-js/array/is-array");
+
+function _arrayWithHoles(arr) {
+ if (_Array$isArray(arr)) return arr;
+}
+
+module.exports = _arrayWithHoles, module.exports.__esModule = true, module.exports["default"] = module.exports;
+},{"@babel/runtime-corejs3/core-js/array/is-array":18}],24:[function(require,module,exports){
+function _interopRequireDefault(obj) {
+ return obj && obj.__esModule ? obj : {
+ "default": obj
+ };
+}
+
+module.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports["default"] = module.exports;
+},{}],25:[function(require,module,exports){
+var _Symbol = require("@babel/runtime-corejs3/core-js/symbol");
+
+var _getIteratorMethod = require("@babel/runtime-corejs3/core-js/get-iterator-method");
+
+function _iterableToArrayLimit(arr, i) {
+ var _i = arr == null ? null : typeof _Symbol !== "undefined" && _getIteratorMethod(arr) || arr["@@iterator"];
+
+ if (_i == null) return;
+ var _arr = [];
+ var _n = true;
+ var _d = false;
+
+ var _s, _e;
+
+ try {
+ for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {
+ _arr.push(_s.value);
+
+ if (i && _arr.length === i) break;
+ }
+ } catch (err) {
+ _d = true;
+ _e = err;
+ } finally {
+ try {
+ if (!_n && _i["return"] != null) _i["return"]();
+ } finally {
+ if (_d) throw _e;
+ }
+ }
+
+ return _arr;
+}
+
+module.exports = _iterableToArrayLimit, module.exports.__esModule = true, module.exports["default"] = module.exports;
+},{"@babel/runtime-corejs3/core-js/get-iterator-method":19,"@babel/runtime-corejs3/core-js/symbol":21}],26:[function(require,module,exports){
+function _nonIterableRest() {
+ throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
+}
+
+module.exports = _nonIterableRest, module.exports.__esModule = true, module.exports["default"] = module.exports;
+},{}],27:[function(require,module,exports){
+var arrayWithHoles = require("./arrayWithHoles.js");
+
+var iterableToArrayLimit = require("./iterableToArrayLimit.js");
+
+var unsupportedIterableToArray = require("./unsupportedIterableToArray.js");
+
+var nonIterableRest = require("./nonIterableRest.js");
+
+function _slicedToArray(arr, i) {
+ return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();
+}
+
+module.exports = _slicedToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
+},{"./arrayWithHoles.js":23,"./iterableToArrayLimit.js":25,"./nonIterableRest.js":26,"./unsupportedIterableToArray.js":28}],28:[function(require,module,exports){
+var _sliceInstanceProperty = require("@babel/runtime-corejs3/core-js/instance/slice");
+
+var _Array$from = require("@babel/runtime-corejs3/core-js/array/from");
+
+var arrayLikeToArray = require("./arrayLikeToArray.js");
+
+function _unsupportedIterableToArray(o, minLen) {
+ var _context;
+
+ if (!o) return;
+ if (typeof o === "string") return arrayLikeToArray(o, minLen);
+
+ var n = _sliceInstanceProperty(_context = Object.prototype.toString.call(o)).call(_context, 8, -1);
+
+ if (n === "Object" && o.constructor) n = o.constructor.name;
+ if (n === "Map" || n === "Set") return _Array$from(o);
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen);
+}
+
+module.exports = _unsupportedIterableToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
+},{"./arrayLikeToArray.js":22,"@babel/runtime-corejs3/core-js/array/from":17,"@babel/runtime-corejs3/core-js/instance/slice":20}],29:[function(require,module,exports){
+var parent = require('../../stable/array/from');
+
+module.exports = parent;
+
+},{"../../stable/array/from":208}],30:[function(require,module,exports){
+var parent = require('../../stable/array/is-array');
+
+module.exports = parent;
+
+},{"../../stable/array/is-array":209}],31:[function(require,module,exports){
+var parent = require('../stable/get-iterator-method');
+
+module.exports = parent;
+
+},{"../stable/get-iterator-method":211}],32:[function(require,module,exports){
+var parent = require('../../stable/instance/slice');
+
+module.exports = parent;
+
+},{"../../stable/instance/slice":216}],33:[function(require,module,exports){
+var parent = require('../../stable/symbol');
+
+module.exports = parent;
+
+},{"../../stable/symbol":221}],34:[function(require,module,exports){
+require('../../modules/es.string.iterator');
+require('../../modules/es.array.from');
+var path = require('../../internals/path');
+
+module.exports = path.Array.from;
+
+},{"../../internals/path":142,"../../modules/es.array.from":170,"../../modules/es.string.iterator":184}],35:[function(require,module,exports){
+require('../../modules/es.array.is-array');
+var path = require('../../internals/path');
+
+module.exports = path.Array.isArray;
+
+},{"../../internals/path":142,"../../modules/es.array.is-array":172}],36:[function(require,module,exports){
+require('../../../modules/es.array.concat');
+var entryVirtual = require('../../../internals/entry-virtual');
+
+module.exports = entryVirtual('Array').concat;
+
+},{"../../../internals/entry-virtual":91,"../../../modules/es.array.concat":168}],37:[function(require,module,exports){
+require('../../../modules/es.array.for-each');
+var entryVirtual = require('../../../internals/entry-virtual');
+
+module.exports = entryVirtual('Array').forEach;
+
+},{"../../../internals/entry-virtual":91,"../../../modules/es.array.for-each":169}],38:[function(require,module,exports){
+require('../../../modules/es.array.index-of');
+var entryVirtual = require('../../../internals/entry-virtual');
+
+module.exports = entryVirtual('Array').indexOf;
+
+},{"../../../internals/entry-virtual":91,"../../../modules/es.array.index-of":171}],39:[function(require,module,exports){
+require('../../../modules/es.array.slice');
+var entryVirtual = require('../../../internals/entry-virtual');
+
+module.exports = entryVirtual('Array').slice;
+
+},{"../../../internals/entry-virtual":91,"../../../modules/es.array.slice":174}],40:[function(require,module,exports){
+require('../../../modules/es.array.sort');
+var entryVirtual = require('../../../internals/entry-virtual');
+
+module.exports = entryVirtual('Array').sort;
+
+},{"../../../internals/entry-virtual":91,"../../../modules/es.array.sort":175}],41:[function(require,module,exports){
+require('../modules/es.array.iterator');
+require('../modules/es.string.iterator');
+var getIteratorMethod = require('../internals/get-iterator-method');
+
+module.exports = getIteratorMethod;
+
+},{"../internals/get-iterator-method":101,"../modules/es.array.iterator":173,"../modules/es.string.iterator":184}],42:[function(require,module,exports){
+var isPrototypeOf = require('../../internals/object-is-prototype-of');
+var method = require('../array/virtual/concat');
+
+var ArrayPrototype = Array.prototype;
+
+module.exports = function (it) {
+ var own = it.concat;
+ return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.concat) ? method : own;
+};
+
+},{"../../internals/object-is-prototype-of":135,"../array/virtual/concat":36}],43:[function(require,module,exports){
+var isPrototypeOf = require('../../internals/object-is-prototype-of');
+var flags = require('../regexp/flags');
+
+var RegExpPrototype = RegExp.prototype;
+
+module.exports = function (it) {
+ return (it === RegExpPrototype || isPrototypeOf(RegExpPrototype, it)) ? flags(it) : it.flags;
+};
+
+},{"../../internals/object-is-prototype-of":135,"../regexp/flags":50}],44:[function(require,module,exports){
+var isPrototypeOf = require('../../internals/object-is-prototype-of');
+var method = require('../array/virtual/index-of');
+
+var ArrayPrototype = Array.prototype;
+
+module.exports = function (it) {
+ var own = it.indexOf;
+ return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.indexOf) ? method : own;
+};
+
+},{"../../internals/object-is-prototype-of":135,"../array/virtual/index-of":38}],45:[function(require,module,exports){
+var isPrototypeOf = require('../../internals/object-is-prototype-of');
+var method = require('../array/virtual/slice');
+
+var ArrayPrototype = Array.prototype;
+
+module.exports = function (it) {
+ var own = it.slice;
+ return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.slice) ? method : own;
+};
+
+},{"../../internals/object-is-prototype-of":135,"../array/virtual/slice":39}],46:[function(require,module,exports){
+var isPrototypeOf = require('../../internals/object-is-prototype-of');
+var method = require('../array/virtual/sort');
+
+var ArrayPrototype = Array.prototype;
+
+module.exports = function (it) {
+ var own = it.sort;
+ return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.sort) ? method : own;
+};
+
+},{"../../internals/object-is-prototype-of":135,"../array/virtual/sort":40}],47:[function(require,module,exports){
+require('../../modules/es.object.create');
+var path = require('../../internals/path');
+
+var Object = path.Object;
+
+module.exports = function create(P, D) {
+ return Object.create(P, D);
+};
+
+},{"../../internals/path":142,"../../modules/es.object.create":178}],48:[function(require,module,exports){
+require('../../modules/es.object.define-property');
+var path = require('../../internals/path');
+
+var Object = path.Object;
+
+var defineProperty = module.exports = function defineProperty(it, key, desc) {
+ return Object.defineProperty(it, key, desc);
+};
+
+if (Object.defineProperty.sham) defineProperty.sham = true;
+
+},{"../../internals/path":142,"../../modules/es.object.define-property":179}],49:[function(require,module,exports){
+require('../modules/es.parse-int');
+var path = require('../internals/path');
+
+module.exports = path.parseInt;
+
+},{"../internals/path":142,"../modules/es.parse-int":181}],50:[function(require,module,exports){
+require('../../modules/es.regexp.flags');
+var uncurryThis = require('../../internals/function-uncurry-this');
+var regExpFlags = require('../../internals/regexp-flags');
+
+module.exports = uncurryThis(regExpFlags);
+
+},{"../../internals/function-uncurry-this":99,"../../internals/regexp-flags":144,"../../modules/es.regexp.flags":183}],51:[function(require,module,exports){
+require('../../modules/es.array.concat');
+require('../../modules/es.object.to-string');
+require('../../modules/es.symbol');
+require('../../modules/es.symbol.async-iterator');
+require('../../modules/es.symbol.description');
+require('../../modules/es.symbol.has-instance');
+require('../../modules/es.symbol.is-concat-spreadable');
+require('../../modules/es.symbol.iterator');
+require('../../modules/es.symbol.match');
+require('../../modules/es.symbol.match-all');
+require('../../modules/es.symbol.replace');
+require('../../modules/es.symbol.search');
+require('../../modules/es.symbol.species');
+require('../../modules/es.symbol.split');
+require('../../modules/es.symbol.to-primitive');
+require('../../modules/es.symbol.to-string-tag');
+require('../../modules/es.symbol.unscopables');
+require('../../modules/es.json.to-string-tag');
+require('../../modules/es.math.to-string-tag');
+require('../../modules/es.reflect.to-string-tag');
+var path = require('../../internals/path');
+
+module.exports = path.Symbol;
+
+},{"../../internals/path":142,"../../modules/es.array.concat":168,"../../modules/es.json.to-string-tag":176,"../../modules/es.math.to-string-tag":177,"../../modules/es.object.to-string":180,"../../modules/es.reflect.to-string-tag":182,"../../modules/es.symbol":190,"../../modules/es.symbol.async-iterator":185,"../../modules/es.symbol.description":186,"../../modules/es.symbol.has-instance":187,"../../modules/es.symbol.is-concat-spreadable":188,"../../modules/es.symbol.iterator":189,"../../modules/es.symbol.match":192,"../../modules/es.symbol.match-all":191,"../../modules/es.symbol.replace":193,"../../modules/es.symbol.search":194,"../../modules/es.symbol.species":195,"../../modules/es.symbol.split":196,"../../modules/es.symbol.to-primitive":197,"../../modules/es.symbol.to-string-tag":198,"../../modules/es.symbol.unscopables":199}],52:[function(require,module,exports){
+var parent = require('../../actual/array/from');
+
+module.exports = parent;
+
+},{"../../actual/array/from":29}],53:[function(require,module,exports){
+var parent = require('../../actual/array/is-array');
+
+module.exports = parent;
+
+},{"../../actual/array/is-array":30}],54:[function(require,module,exports){
+var parent = require('../actual/get-iterator-method');
+
+module.exports = parent;
+
+},{"../actual/get-iterator-method":31}],55:[function(require,module,exports){
+var parent = require('../../actual/instance/slice');
+
+module.exports = parent;
+
+},{"../../actual/instance/slice":32}],56:[function(require,module,exports){
+var parent = require('../../actual/symbol');
+require('../../modules/esnext.symbol.async-dispose');
+require('../../modules/esnext.symbol.dispose');
+require('../../modules/esnext.symbol.matcher');
+require('../../modules/esnext.symbol.metadata');
+require('../../modules/esnext.symbol.observable');
+// TODO: Remove from `core-js@4`
+require('../../modules/esnext.symbol.pattern-match');
+// TODO: Remove from `core-js@4`
+require('../../modules/esnext.symbol.replace-all');
+
+module.exports = parent;
+
+},{"../../actual/symbol":33,"../../modules/esnext.symbol.async-dispose":200,"../../modules/esnext.symbol.dispose":201,"../../modules/esnext.symbol.matcher":202,"../../modules/esnext.symbol.metadata":203,"../../modules/esnext.symbol.observable":204,"../../modules/esnext.symbol.pattern-match":205,"../../modules/esnext.symbol.replace-all":206}],57:[function(require,module,exports){
+var global = require('../internals/global');
+var isCallable = require('../internals/is-callable');
+var tryToString = require('../internals/try-to-string');
+
+var TypeError = global.TypeError;
+
+// `Assert: IsCallable(argument) is true`
+module.exports = function (argument) {
+ if (isCallable(argument)) return argument;
+ throw TypeError(tryToString(argument) + ' is not a function');
+};
+
+},{"../internals/global":104,"../internals/is-callable":114,"../internals/try-to-string":162}],58:[function(require,module,exports){
+var global = require('../internals/global');
+var isCallable = require('../internals/is-callable');
+
+var String = global.String;
+var TypeError = global.TypeError;
+
+module.exports = function (argument) {
+ if (typeof argument == 'object' || isCallable(argument)) return argument;
+ throw TypeError("Can't set " + String(argument) + ' as a prototype');
+};
+
+},{"../internals/global":104,"../internals/is-callable":114}],59:[function(require,module,exports){
+module.exports = function () { /* empty */ };
+
+},{}],60:[function(require,module,exports){
+var global = require('../internals/global');
+var isObject = require('../internals/is-object');
+
+var String = global.String;
+var TypeError = global.TypeError;
+
+// `Assert: Type(argument) is Object`
+module.exports = function (argument) {
+ if (isObject(argument)) return argument;
+ throw TypeError(String(argument) + ' is not an object');
+};
+
+},{"../internals/global":104,"../internals/is-object":117}],61:[function(require,module,exports){
+'use strict';
+var $forEach = require('../internals/array-iteration').forEach;
+var arrayMethodIsStrict = require('../internals/array-method-is-strict');
+
+var STRICT_METHOD = arrayMethodIsStrict('forEach');
+
+// `Array.prototype.forEach` method implementation
+// https://tc39.es/ecma262/#sec-array.prototype.foreach
+module.exports = !STRICT_METHOD ? function forEach(callbackfn /* , thisArg */) {
+ return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
+// eslint-disable-next-line es/no-array-prototype-foreach -- safe
+} : [].forEach;
+
+},{"../internals/array-iteration":64,"../internals/array-method-is-strict":66}],62:[function(require,module,exports){
+'use strict';
+var global = require('../internals/global');
+var bind = require('../internals/function-bind-context');
+var call = require('../internals/function-call');
+var toObject = require('../internals/to-object');
+var callWithSafeIterationClosing = require('../internals/call-with-safe-iteration-closing');
+var isArrayIteratorMethod = require('../internals/is-array-iterator-method');
+var isConstructor = require('../internals/is-constructor');
+var lengthOfArrayLike = require('../internals/length-of-array-like');
+var createProperty = require('../internals/create-property');
+var getIterator = require('../internals/get-iterator');
+var getIteratorMethod = require('../internals/get-iterator-method');
+
+var Array = global.Array;
+
+// `Array.from` method implementation
+// https://tc39.es/ecma262/#sec-array.from
+module.exports = function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) {
+ var O = toObject(arrayLike);
+ var IS_CONSTRUCTOR = isConstructor(this);
+ var argumentsLength = arguments.length;
+ var mapfn = argumentsLength > 1 ? arguments[1] : undefined;
+ var mapping = mapfn !== undefined;
+ if (mapping) mapfn = bind(mapfn, argumentsLength > 2 ? arguments[2] : undefined);
+ var iteratorMethod = getIteratorMethod(O);
+ var index = 0;
+ var length, result, step, iterator, next, value;
+ // if the target is not iterable or it's an array with the default iterator - use a simple case
+ if (iteratorMethod && !(this == Array && isArrayIteratorMethod(iteratorMethod))) {
+ iterator = getIterator(O, iteratorMethod);
+ next = iterator.next;
+ result = IS_CONSTRUCTOR ? new this() : [];
+ for (;!(step = call(next, iterator)).done; index++) {
+ value = mapping ? callWithSafeIterationClosing(iterator, mapfn, [step.value, index], true) : step.value;
+ createProperty(result, index, value);
+ }
+ } else {
+ length = lengthOfArrayLike(O);
+ result = IS_CONSTRUCTOR ? new this(length) : Array(length);
+ for (;length > index; index++) {
+ value = mapping ? mapfn(O[index], index) : O[index];
+ createProperty(result, index, value);
+ }
+ }
+ result.length = index;
+ return result;
+};
+
+},{"../internals/call-with-safe-iteration-closing":72,"../internals/create-property":80,"../internals/function-bind-context":96,"../internals/function-call":97,"../internals/get-iterator":102,"../internals/get-iterator-method":101,"../internals/global":104,"../internals/is-array-iterator-method":112,"../internals/is-constructor":115,"../internals/length-of-array-like":123,"../internals/to-object":157}],63:[function(require,module,exports){
+var toIndexedObject = require('../internals/to-indexed-object');
+var toAbsoluteIndex = require('../internals/to-absolute-index');
+var lengthOfArrayLike = require('../internals/length-of-array-like');
+
+// `Array.prototype.{ indexOf, includes }` methods implementation
+var createMethod = function (IS_INCLUDES) {
+ return function ($this, el, fromIndex) {
+ var O = toIndexedObject($this);
+ var length = lengthOfArrayLike(O);
+ var index = toAbsoluteIndex(fromIndex, length);
+ var value;
+ // Array#includes uses SameValueZero equality algorithm
+ // eslint-disable-next-line no-self-compare -- NaN check
+ if (IS_INCLUDES && el != el) while (length > index) {
+ value = O[index++];
+ // eslint-disable-next-line no-self-compare -- NaN check
+ if (value != value) return true;
+ // Array#indexOf ignores holes, Array#includes - not
+ } else for (;length > index; index++) {
+ if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
+ } return !IS_INCLUDES && -1;
+ };
+};
+
+module.exports = {
+ // `Array.prototype.includes` method
+ // https://tc39.es/ecma262/#sec-array.prototype.includes
+ includes: createMethod(true),
+ // `Array.prototype.indexOf` method
+ // https://tc39.es/ecma262/#sec-array.prototype.indexof
+ indexOf: createMethod(false)
+};
+
+},{"../internals/length-of-array-like":123,"../internals/to-absolute-index":153,"../internals/to-indexed-object":154}],64:[function(require,module,exports){
+var bind = require('../internals/function-bind-context');
+var uncurryThis = require('../internals/function-uncurry-this');
+var IndexedObject = require('../internals/indexed-object');
+var toObject = require('../internals/to-object');
+var lengthOfArrayLike = require('../internals/length-of-array-like');
+var arraySpeciesCreate = require('../internals/array-species-create');
+
+var push = uncurryThis([].push);
+
+// `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation
+var createMethod = function (TYPE) {
+ var IS_MAP = TYPE == 1;
+ var IS_FILTER = TYPE == 2;
+ var IS_SOME = TYPE == 3;
+ var IS_EVERY = TYPE == 4;
+ var IS_FIND_INDEX = TYPE == 6;
+ var IS_FILTER_REJECT = TYPE == 7;
+ var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;
+ return function ($this, callbackfn, that, specificCreate) {
+ var O = toObject($this);
+ var self = IndexedObject(O);
+ var boundFunction = bind(callbackfn, that);
+ var length = lengthOfArrayLike(self);
+ var index = 0;
+ var create = specificCreate || arraySpeciesCreate;
+ var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined;
+ var value, result;
+ for (;length > index; index++) if (NO_HOLES || index in self) {
+ value = self[index];
+ result = boundFunction(value, index, O);
+ if (TYPE) {
+ if (IS_MAP) target[index] = result; // map
+ else if (result) switch (TYPE) {
+ case 3: return true; // some
+ case 5: return value; // find
+ case 6: return index; // findIndex
+ case 2: push(target, value); // filter
+ } else switch (TYPE) {
+ case 4: return false; // every
+ case 7: push(target, value); // filterReject
}
- this.captureNames.push(null);
- return '(';
+ }
+ }
+ return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;
+ };
+};
+
+module.exports = {
+ // `Array.prototype.forEach` method
+ // https://tc39.es/ecma262/#sec-array.prototype.foreach
+ forEach: createMethod(0),
+ // `Array.prototype.map` method
+ // https://tc39.es/ecma262/#sec-array.prototype.map
+ map: createMethod(1),
+ // `Array.prototype.filter` method
+ // https://tc39.es/ecma262/#sec-array.prototype.filter
+ filter: createMethod(2),
+ // `Array.prototype.some` method
+ // https://tc39.es/ecma262/#sec-array.prototype.some
+ some: createMethod(3),
+ // `Array.prototype.every` method
+ // https://tc39.es/ecma262/#sec-array.prototype.every
+ every: createMethod(4),
+ // `Array.prototype.find` method
+ // https://tc39.es/ecma262/#sec-array.prototype.find
+ find: createMethod(5),
+ // `Array.prototype.findIndex` method
+ // https://tc39.es/ecma262/#sec-array.prototype.findIndex
+ findIndex: createMethod(6),
+ // `Array.prototype.filterReject` method
+ // https://github.com/tc39/proposal-array-filtering
+ filterReject: createMethod(7)
+};
+
+},{"../internals/array-species-create":71,"../internals/function-bind-context":96,"../internals/function-uncurry-this":99,"../internals/indexed-object":109,"../internals/length-of-array-like":123,"../internals/to-object":157}],65:[function(require,module,exports){
+var fails = require('../internals/fails');
+var wellKnownSymbol = require('../internals/well-known-symbol');
+var V8_VERSION = require('../internals/engine-v8-version');
+
+var SPECIES = wellKnownSymbol('species');
+
+module.exports = function (METHOD_NAME) {
+ // We can't use this feature detection in V8 since it causes
+ // deoptimization and serious performance degradation
+ // https://github.com/zloirock/core-js/issues/677
+ return V8_VERSION >= 51 || !fails(function () {
+ var array = [];
+ var constructor = array.constructor = {};
+ constructor[SPECIES] = function () {
+ return { foo: 1 };
+ };
+ return array[METHOD_NAME](Boolean).foo !== 1;
+ });
+};
+
+},{"../internals/engine-v8-version":89,"../internals/fails":94,"../internals/well-known-symbol":166}],66:[function(require,module,exports){
+'use strict';
+var fails = require('../internals/fails');
+
+module.exports = function (METHOD_NAME, argument) {
+ var method = [][METHOD_NAME];
+ return !!method && fails(function () {
+ // eslint-disable-next-line no-useless-call,no-throw-literal -- required for testing
+ method.call(null, argument || function () { throw 1; }, 1);
+ });
+};
+
+},{"../internals/fails":94}],67:[function(require,module,exports){
+var global = require('../internals/global');
+var toAbsoluteIndex = require('../internals/to-absolute-index');
+var lengthOfArrayLike = require('../internals/length-of-array-like');
+var createProperty = require('../internals/create-property');
+
+var Array = global.Array;
+var max = Math.max;
+
+module.exports = function (O, start, end) {
+ var length = lengthOfArrayLike(O);
+ var k = toAbsoluteIndex(start, length);
+ var fin = toAbsoluteIndex(end === undefined ? length : end, length);
+ var result = Array(max(fin - k, 0));
+ for (var n = 0; k < fin; k++, n++) createProperty(result, n, O[k]);
+ result.length = n;
+ return result;
+};
+
+},{"../internals/create-property":80,"../internals/global":104,"../internals/length-of-array-like":123,"../internals/to-absolute-index":153}],68:[function(require,module,exports){
+var uncurryThis = require('../internals/function-uncurry-this');
+
+module.exports = uncurryThis([].slice);
+
+},{"../internals/function-uncurry-this":99}],69:[function(require,module,exports){
+var arraySlice = require('../internals/array-slice-simple');
+
+var floor = Math.floor;
+
+var mergeSort = function (array, comparefn) {
+ var length = array.length;
+ var middle = floor(length / 2);
+ return length < 8 ? insertionSort(array, comparefn) : merge(
+ array,
+ mergeSort(arraySlice(array, 0, middle), comparefn),
+ mergeSort(arraySlice(array, middle), comparefn),
+ comparefn
+ );
+};
+
+var insertionSort = function (array, comparefn) {
+ var length = array.length;
+ var i = 1;
+ var element, j;
+
+ while (i < length) {
+ j = i;
+ element = array[i];
+ while (j && comparefn(array[j - 1], element) > 0) {
+ array[j] = array[--j];
+ }
+ if (j !== i++) array[j] = element;
+ } return array;
+};
+
+var merge = function (array, left, right, comparefn) {
+ var llength = left.length;
+ var rlength = right.length;
+ var lindex = 0;
+ var rindex = 0;
+
+ while (lindex < llength || rindex < rlength) {
+ array[lindex + rindex] = (lindex < llength && rindex < rlength)
+ ? comparefn(left[lindex], right[rindex]) <= 0 ? left[lindex++] : right[rindex++]
+ : lindex < llength ? left[lindex++] : right[rindex++];
+ } return array;
+};
+
+module.exports = mergeSort;
+
+},{"../internals/array-slice-simple":67}],70:[function(require,module,exports){
+var global = require('../internals/global');
+var isArray = require('../internals/is-array');
+var isConstructor = require('../internals/is-constructor');
+var isObject = require('../internals/is-object');
+var wellKnownSymbol = require('../internals/well-known-symbol');
+
+var SPECIES = wellKnownSymbol('species');
+var Array = global.Array;
+
+// a part of `ArraySpeciesCreate` abstract operation
+// https://tc39.es/ecma262/#sec-arrayspeciescreate
+module.exports = function (originalArray) {
+ var C;
+ if (isArray(originalArray)) {
+ C = originalArray.constructor;
+ // cross-realm fallback
+ if (isConstructor(C) && (C === Array || isArray(C.prototype))) C = undefined;
+ else if (isObject(C)) {
+ C = C[SPECIES];
+ if (C === null) C = undefined;
+ }
+ } return C === undefined ? Array : C;
+};
+
+},{"../internals/global":104,"../internals/is-array":113,"../internals/is-constructor":115,"../internals/is-object":117,"../internals/well-known-symbol":166}],71:[function(require,module,exports){
+var arraySpeciesConstructor = require('../internals/array-species-constructor');
+
+// `ArraySpeciesCreate` abstract operation
+// https://tc39.es/ecma262/#sec-arrayspeciescreate
+module.exports = function (originalArray, length) {
+ return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);
+};
+
+},{"../internals/array-species-constructor":70}],72:[function(require,module,exports){
+var anObject = require('../internals/an-object');
+var iteratorClose = require('../internals/iterator-close');
+
+// call something on iterator step with safe closing on error
+module.exports = function (iterator, fn, value, ENTRIES) {
+ try {
+ return ENTRIES ? fn(anObject(value)[0], value[1]) : fn(value);
+ } catch (error) {
+ iteratorClose(iterator, 'throw', error);
+ }
+};
+
+},{"../internals/an-object":60,"../internals/iterator-close":120}],73:[function(require,module,exports){
+var wellKnownSymbol = require('../internals/well-known-symbol');
+
+var ITERATOR = wellKnownSymbol('iterator');
+var SAFE_CLOSING = false;
+
+try {
+ var called = 0;
+ var iteratorWithReturn = {
+ next: function () {
+ return { done: !!called++ };
+ },
+ 'return': function () {
+ SAFE_CLOSING = true;
+ }
+ };
+ iteratorWithReturn[ITERATOR] = function () {
+ return this;
+ };
+ // eslint-disable-next-line es/no-array-from, no-throw-literal -- required for testing
+ Array.from(iteratorWithReturn, function () { throw 2; });
+} catch (error) { /* empty */ }
+
+module.exports = function (exec, SKIP_CLOSING) {
+ if (!SKIP_CLOSING && !SAFE_CLOSING) return false;
+ var ITERATION_SUPPORT = false;
+ try {
+ var object = {};
+ object[ITERATOR] = function () {
+ return {
+ next: function () {
+ return { done: ITERATION_SUPPORT = true };
+ }
+ };
+ };
+ exec(object);
+ } catch (error) { /* empty */ }
+ return ITERATION_SUPPORT;
+};
+
+},{"../internals/well-known-symbol":166}],74:[function(require,module,exports){
+var uncurryThis = require('../internals/function-uncurry-this');
+
+var toString = uncurryThis({}.toString);
+var stringSlice = uncurryThis(''.slice);
+
+module.exports = function (it) {
+ return stringSlice(toString(it), 8, -1);
+};
+
+},{"../internals/function-uncurry-this":99}],75:[function(require,module,exports){
+var global = require('../internals/global');
+var TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');
+var isCallable = require('../internals/is-callable');
+var classofRaw = require('../internals/classof-raw');
+var wellKnownSymbol = require('../internals/well-known-symbol');
+
+var TO_STRING_TAG = wellKnownSymbol('toStringTag');
+var Object = global.Object;
+
+// ES3 wrong here
+var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
+
+// fallback for IE11 Script Access Denied error
+var tryGet = function (it, key) {
+ try {
+ return it[key];
+ } catch (error) { /* empty */ }
+};
+
+// getting tag from ES6+ `Object.prototype.toString`
+module.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
+ var O, tag, result;
+ return it === undefined ? 'Undefined' : it === null ? 'Null'
+ // @@toStringTag case
+ : typeof (tag = tryGet(O = Object(it), TO_STRING_TAG)) == 'string' ? tag
+ // builtinTag case
+ : CORRECT_ARGUMENTS ? classofRaw(O)
+ // ES3 arguments fallback
+ : (result = classofRaw(O)) == 'Object' && isCallable(O.callee) ? 'Arguments' : result;
+};
+
+},{"../internals/classof-raw":74,"../internals/global":104,"../internals/is-callable":114,"../internals/to-string-tag-support":160,"../internals/well-known-symbol":166}],76:[function(require,module,exports){
+var fails = require('../internals/fails');
+
+module.exports = !fails(function () {
+ function F() { /* empty */ }
+ F.prototype.constructor = null;
+ // eslint-disable-next-line es/no-object-getprototypeof -- required for testing
+ return Object.getPrototypeOf(new F()) !== F.prototype;
+});
+
+},{"../internals/fails":94}],77:[function(require,module,exports){
+'use strict';
+var IteratorPrototype = require('../internals/iterators-core').IteratorPrototype;
+var create = require('../internals/object-create');
+var createPropertyDescriptor = require('../internals/create-property-descriptor');
+var setToStringTag = require('../internals/set-to-string-tag');
+var Iterators = require('../internals/iterators');
+
+var returnThis = function () { return this; };
+
+module.exports = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) {
+ var TO_STRING_TAG = NAME + ' Iterator';
+ IteratorConstructor.prototype = create(IteratorPrototype, { next: createPropertyDescriptor(+!ENUMERABLE_NEXT, next) });
+ setToStringTag(IteratorConstructor, TO_STRING_TAG, false, true);
+ Iterators[TO_STRING_TAG] = returnThis;
+ return IteratorConstructor;
+};
+
+},{"../internals/create-property-descriptor":79,"../internals/iterators":122,"../internals/iterators-core":121,"../internals/object-create":127,"../internals/set-to-string-tag":147}],78:[function(require,module,exports){
+var DESCRIPTORS = require('../internals/descriptors');
+var definePropertyModule = require('../internals/object-define-property');
+var createPropertyDescriptor = require('../internals/create-property-descriptor');
+
+module.exports = DESCRIPTORS ? function (object, key, value) {
+ return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));
+} : function (object, key, value) {
+ object[key] = value;
+ return object;
+};
+
+},{"../internals/create-property-descriptor":79,"../internals/descriptors":83,"../internals/object-define-property":129}],79:[function(require,module,exports){
+module.exports = function (bitmap, value) {
+ return {
+ enumerable: !(bitmap & 1),
+ configurable: !(bitmap & 2),
+ writable: !(bitmap & 4),
+ value: value
+ };
+};
+
+},{}],80:[function(require,module,exports){
+'use strict';
+var toPropertyKey = require('../internals/to-property-key');
+var definePropertyModule = require('../internals/object-define-property');
+var createPropertyDescriptor = require('../internals/create-property-descriptor');
+
+module.exports = function (object, key, value) {
+ var propertyKey = toPropertyKey(key);
+ if (propertyKey in object) definePropertyModule.f(object, propertyKey, createPropertyDescriptor(0, value));
+ else object[propertyKey] = value;
+};
+
+},{"../internals/create-property-descriptor":79,"../internals/object-define-property":129,"../internals/to-property-key":159}],81:[function(require,module,exports){
+'use strict';
+var $ = require('../internals/export');
+var call = require('../internals/function-call');
+var IS_PURE = require('../internals/is-pure');
+var FunctionName = require('../internals/function-name');
+var isCallable = require('../internals/is-callable');
+var createIteratorConstructor = require('../internals/create-iterator-constructor');
+var getPrototypeOf = require('../internals/object-get-prototype-of');
+var setPrototypeOf = require('../internals/object-set-prototype-of');
+var setToStringTag = require('../internals/set-to-string-tag');
+var createNonEnumerableProperty = require('../internals/create-non-enumerable-property');
+var redefine = require('../internals/redefine');
+var wellKnownSymbol = require('../internals/well-known-symbol');
+var Iterators = require('../internals/iterators');
+var IteratorsCore = require('../internals/iterators-core');
+
+var PROPER_FUNCTION_NAME = FunctionName.PROPER;
+var CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE;
+var IteratorPrototype = IteratorsCore.IteratorPrototype;
+var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;
+var ITERATOR = wellKnownSymbol('iterator');
+var KEYS = 'keys';
+var VALUES = 'values';
+var ENTRIES = 'entries';
+
+var returnThis = function () { return this; };
+
+module.exports = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) {
+ createIteratorConstructor(IteratorConstructor, NAME, next);
+
+ var getIterationMethod = function (KIND) {
+ if (KIND === DEFAULT && defaultIterator) return defaultIterator;
+ if (!BUGGY_SAFARI_ITERATORS && KIND in IterablePrototype) return IterablePrototype[KIND];
+ switch (KIND) {
+ case KEYS: return function keys() { return new IteratorConstructor(this, KIND); };
+ case VALUES: return function values() { return new IteratorConstructor(this, KIND); };
+ case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); };
+ } return function () { return new IteratorConstructor(this); };
+ };
+
+ var TO_STRING_TAG = NAME + ' Iterator';
+ var INCORRECT_VALUES_NAME = false;
+ var IterablePrototype = Iterable.prototype;
+ var nativeIterator = IterablePrototype[ITERATOR]
+ || IterablePrototype['@@iterator']
+ || DEFAULT && IterablePrototype[DEFAULT];
+ var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);
+ var anyNativeIterator = NAME == 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator;
+ var CurrentIteratorPrototype, methods, KEY;
+
+ // fix native
+ if (anyNativeIterator) {
+ CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable()));
+ if (CurrentIteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {
+ if (!IS_PURE && getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {
+ if (setPrototypeOf) {
+ setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype);
+ } else if (!isCallable(CurrentIteratorPrototype[ITERATOR])) {
+ redefine(CurrentIteratorPrototype, ITERATOR, returnThis);
+ }
+ }
+ // Set @@toStringTag to native iterators
+ setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG, true, true);
+ if (IS_PURE) Iterators[TO_STRING_TAG] = returnThis;
+ }
+ }
+
+ // fix Array.prototype.{ values, @@iterator }.name in V8 / FF
+ if (PROPER_FUNCTION_NAME && DEFAULT == VALUES && nativeIterator && nativeIterator.name !== VALUES) {
+ if (!IS_PURE && CONFIGURABLE_FUNCTION_NAME) {
+ createNonEnumerableProperty(IterablePrototype, 'name', VALUES);
+ } else {
+ INCORRECT_VALUES_NAME = true;
+ defaultIterator = function values() { return call(nativeIterator, this); };
+ }
+ }
+
+ // export additional methods
+ if (DEFAULT) {
+ methods = {
+ values: getIterationMethod(VALUES),
+ keys: IS_SET ? defaultIterator : getIterationMethod(KEYS),
+ entries: getIterationMethod(ENTRIES)
+ };
+ if (FORCED) for (KEY in methods) {
+ if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
+ redefine(IterablePrototype, KEY, methods[KEY]);
+ }
+ } else $({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
+ }
+
+ // define iterator
+ if ((!IS_PURE || FORCED) && IterablePrototype[ITERATOR] !== defaultIterator) {
+ redefine(IterablePrototype, ITERATOR, defaultIterator, { name: DEFAULT });
+ }
+ Iterators[NAME] = defaultIterator;
+
+ return methods;
+};
+
+},{"../internals/create-iterator-constructor":77,"../internals/create-non-enumerable-property":78,"../internals/export":93,"../internals/function-call":97,"../internals/function-name":98,"../internals/is-callable":114,"../internals/is-pure":118,"../internals/iterators":122,"../internals/iterators-core":121,"../internals/object-get-prototype-of":134,"../internals/object-set-prototype-of":139,"../internals/redefine":143,"../internals/set-to-string-tag":147,"../internals/well-known-symbol":166}],82:[function(require,module,exports){
+var path = require('../internals/path');
+var hasOwn = require('../internals/has-own-property');
+var wrappedWellKnownSymbolModule = require('../internals/well-known-symbol-wrapped');
+var defineProperty = require('../internals/object-define-property').f;
+
+module.exports = function (NAME) {
+ var Symbol = path.Symbol || (path.Symbol = {});
+ if (!hasOwn(Symbol, NAME)) defineProperty(Symbol, NAME, {
+ value: wrappedWellKnownSymbolModule.f(NAME)
+ });
+};
+
+},{"../internals/has-own-property":105,"../internals/object-define-property":129,"../internals/path":142,"../internals/well-known-symbol-wrapped":165}],83:[function(require,module,exports){
+var fails = require('../internals/fails');
+
+// Detect IE8's incomplete defineProperty implementation
+module.exports = !fails(function () {
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
+ return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
+});
+
+},{"../internals/fails":94}],84:[function(require,module,exports){
+var global = require('../internals/global');
+var isObject = require('../internals/is-object');
+
+var document = global.document;
+// typeof document.createElement is 'object' in old IE
+var EXISTS = isObject(document) && isObject(document.createElement);
+
+module.exports = function (it) {
+ return EXISTS ? document.createElement(it) : {};
+};
+
+},{"../internals/global":104,"../internals/is-object":117}],85:[function(require,module,exports){
+// iterable DOM collections
+// flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods
+module.exports = {
+ CSSRuleList: 0,
+ CSSStyleDeclaration: 0,
+ CSSValueList: 0,
+ ClientRectList: 0,
+ DOMRectList: 0,
+ DOMStringList: 0,
+ DOMTokenList: 1,
+ DataTransferItemList: 0,
+ FileList: 0,
+ HTMLAllCollection: 0,
+ HTMLCollection: 0,
+ HTMLFormElement: 0,
+ HTMLSelectElement: 0,
+ MediaList: 0,
+ MimeTypeArray: 0,
+ NamedNodeMap: 0,
+ NodeList: 1,
+ PaintRequestList: 0,
+ Plugin: 0,
+ PluginArray: 0,
+ SVGLengthList: 0,
+ SVGNumberList: 0,
+ SVGPathSegList: 0,
+ SVGPointList: 0,
+ SVGStringList: 0,
+ SVGTransformList: 0,
+ SourceBufferList: 0,
+ StyleSheetList: 0,
+ TextTrackCueList: 0,
+ TextTrackList: 0,
+ TouchList: 0
+};
+
+},{}],86:[function(require,module,exports){
+var userAgent = require('../internals/engine-user-agent');
+
+var firefox = userAgent.match(/firefox\/(\d+)/i);
+
+module.exports = !!firefox && +firefox[1];
+
+},{"../internals/engine-user-agent":88}],87:[function(require,module,exports){
+var UA = require('../internals/engine-user-agent');
+
+module.exports = /MSIE|Trident/.test(UA);
+
+},{"../internals/engine-user-agent":88}],88:[function(require,module,exports){
+var getBuiltIn = require('../internals/get-built-in');
+
+module.exports = getBuiltIn('navigator', 'userAgent') || '';
+
+},{"../internals/get-built-in":100}],89:[function(require,module,exports){
+var global = require('../internals/global');
+var userAgent = require('../internals/engine-user-agent');
+
+var process = global.process;
+var Deno = global.Deno;
+var versions = process && process.versions || Deno && Deno.version;
+var v8 = versions && versions.v8;
+var match, version;
+
+if (v8) {
+ match = v8.split('.');
+ // in old Chrome, versions of V8 isn't V8 = Chrome / 10
+ // but their correct versions are not interesting for us
+ version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);
+}
+
+// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`
+// so check `userAgent` even if `.v8` exists, but 0
+if (!version && userAgent) {
+ match = userAgent.match(/Edge\/(\d+)/);
+ if (!match || match[1] >= 74) {
+ match = userAgent.match(/Chrome\/(\d+)/);
+ if (match) version = +match[1];
+ }
+}
+
+module.exports = version;
+
+},{"../internals/engine-user-agent":88,"../internals/global":104}],90:[function(require,module,exports){
+var userAgent = require('../internals/engine-user-agent');
+
+var webkit = userAgent.match(/AppleWebKit\/(\d+)\./);
+
+module.exports = !!webkit && +webkit[1];
+
+},{"../internals/engine-user-agent":88}],91:[function(require,module,exports){
+var path = require('../internals/path');
+
+module.exports = function (CONSTRUCTOR) {
+ return path[CONSTRUCTOR + 'Prototype'];
+};
+
+},{"../internals/path":142}],92:[function(require,module,exports){
+// IE8- don't enum bug keys
+module.exports = [
+ 'constructor',
+ 'hasOwnProperty',
+ 'isPrototypeOf',
+ 'propertyIsEnumerable',
+ 'toLocaleString',
+ 'toString',
+ 'valueOf'
+];
+
+},{}],93:[function(require,module,exports){
+'use strict';
+var global = require('../internals/global');
+var apply = require('../internals/function-apply');
+var uncurryThis = require('../internals/function-uncurry-this');
+var isCallable = require('../internals/is-callable');
+var getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;
+var isForced = require('../internals/is-forced');
+var path = require('../internals/path');
+var bind = require('../internals/function-bind-context');
+var createNonEnumerableProperty = require('../internals/create-non-enumerable-property');
+var hasOwn = require('../internals/has-own-property');
+
+var wrapConstructor = function (NativeConstructor) {
+ var Wrapper = function (a, b, c) {
+ if (this instanceof Wrapper) {
+ switch (arguments.length) {
+ case 0: return new NativeConstructor();
+ case 1: return new NativeConstructor(a);
+ case 2: return new NativeConstructor(a, b);
+ } return new NativeConstructor(a, b, c);
+ } return apply(NativeConstructor, this, arguments);
+ };
+ Wrapper.prototype = NativeConstructor.prototype;
+ return Wrapper;
+};
+
+/*
+ options.target - name of the target object
+ options.global - target is the global object
+ options.stat - export as static methods of target
+ options.proto - export as prototype methods of target
+ options.real - real prototype method for the `pure` version
+ options.forced - export even if the native feature is available
+ options.bind - bind methods to the target, required for the `pure` version
+ options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
+ options.unsafe - use the simple assignment of property instead of delete + defineProperty
+ options.sham - add a flag to not completely full polyfills
+ options.enumerable - export as enumerable property
+ options.noTargetGet - prevent calling a getter on target
+ options.name - the .name of the function if it does not match the key
+*/
+module.exports = function (options, source) {
+ var TARGET = options.target;
+ var GLOBAL = options.global;
+ var STATIC = options.stat;
+ var PROTO = options.proto;
+
+ var nativeSource = GLOBAL ? global : STATIC ? global[TARGET] : (global[TARGET] || {}).prototype;
+
+ var target = GLOBAL ? path : path[TARGET] || createNonEnumerableProperty(path, TARGET, {})[TARGET];
+ var targetPrototype = target.prototype;
+
+ var FORCED, USE_NATIVE, VIRTUAL_PROTOTYPE;
+ var key, sourceProperty, targetProperty, nativeProperty, resultProperty, descriptor;
+
+ for (key in source) {
+ FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
+ // contains in native
+ USE_NATIVE = !FORCED && nativeSource && hasOwn(nativeSource, key);
+
+ targetProperty = target[key];
+
+ if (USE_NATIVE) if (options.noTargetGet) {
+ descriptor = getOwnPropertyDescriptor(nativeSource, key);
+ nativeProperty = descriptor && descriptor.value;
+ } else nativeProperty = nativeSource[key];
+
+ // export native or implementation
+ sourceProperty = (USE_NATIVE && nativeProperty) ? nativeProperty : source[key];
+
+ if (USE_NATIVE && typeof targetProperty == typeof sourceProperty) continue;
+
+ // bind timers to global for call from export context
+ if (options.bind && USE_NATIVE) resultProperty = bind(sourceProperty, global);
+ // wrap global constructors for prevent changs in this version
+ else if (options.wrap && USE_NATIVE) resultProperty = wrapConstructor(sourceProperty);
+ // make static versions for prototype methods
+ else if (PROTO && isCallable(sourceProperty)) resultProperty = uncurryThis(sourceProperty);
+ // default case
+ else resultProperty = sourceProperty;
+
+ // add a flag to not completely full polyfills
+ if (options.sham || (sourceProperty && sourceProperty.sham) || (targetProperty && targetProperty.sham)) {
+ createNonEnumerableProperty(resultProperty, 'sham', true);
+ }
+
+ createNonEnumerableProperty(target, key, resultProperty);
+
+ if (PROTO) {
+ VIRTUAL_PROTOTYPE = TARGET + 'Prototype';
+ if (!hasOwn(path, VIRTUAL_PROTOTYPE)) {
+ createNonEnumerableProperty(path, VIRTUAL_PROTOTYPE, {});
+ }
+ // export virtual prototype methods
+ createNonEnumerableProperty(path[VIRTUAL_PROTOTYPE], key, sourceProperty);
+ // export real prototype methods
+ if (options.real && targetPrototype && !targetPrototype[key]) {
+ createNonEnumerableProperty(targetPrototype, key, sourceProperty);
+ }
+ }
+ }
+};
+
+},{"../internals/create-non-enumerable-property":78,"../internals/function-apply":95,"../internals/function-bind-context":96,"../internals/function-uncurry-this":99,"../internals/global":104,"../internals/has-own-property":105,"../internals/is-callable":114,"../internals/is-forced":116,"../internals/object-get-own-property-descriptor":130,"../internals/path":142}],94:[function(require,module,exports){
+module.exports = function (exec) {
+ try {
+ return !!exec();
+ } catch (error) {
+ return true;
+ }
+};
+
+},{}],95:[function(require,module,exports){
+var FunctionPrototype = Function.prototype;
+var apply = FunctionPrototype.apply;
+var bind = FunctionPrototype.bind;
+var call = FunctionPrototype.call;
+
+// eslint-disable-next-line es/no-reflect -- safe
+module.exports = typeof Reflect == 'object' && Reflect.apply || (bind ? call.bind(apply) : function () {
+ return call.apply(apply, arguments);
+});
+
+},{}],96:[function(require,module,exports){
+var uncurryThis = require('../internals/function-uncurry-this');
+var aCallable = require('../internals/a-callable');
+
+var bind = uncurryThis(uncurryThis.bind);
+
+// optional / simple context binding
+module.exports = function (fn, that) {
+ aCallable(fn);
+ return that === undefined ? fn : bind ? bind(fn, that) : function (/* ...args */) {
+ return fn.apply(that, arguments);
+ };
+};
+
+},{"../internals/a-callable":57,"../internals/function-uncurry-this":99}],97:[function(require,module,exports){
+var call = Function.prototype.call;
+
+module.exports = call.bind ? call.bind(call) : function () {
+ return call.apply(call, arguments);
+};
+
+},{}],98:[function(require,module,exports){
+var DESCRIPTORS = require('../internals/descriptors');
+var hasOwn = require('../internals/has-own-property');
+
+var FunctionPrototype = Function.prototype;
+// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
+var getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor;
+
+var EXISTS = hasOwn(FunctionPrototype, 'name');
+// additional protection from minified / mangled / dropped function names
+var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
+var CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable));
+
+module.exports = {
+ EXISTS: EXISTS,
+ PROPER: PROPER,
+ CONFIGURABLE: CONFIGURABLE
+};
+
+},{"../internals/descriptors":83,"../internals/has-own-property":105}],99:[function(require,module,exports){
+var FunctionPrototype = Function.prototype;
+var bind = FunctionPrototype.bind;
+var call = FunctionPrototype.call;
+var callBind = bind && bind.bind(call);
+
+module.exports = bind ? function (fn) {
+ return fn && callBind(call, fn);
+} : function (fn) {
+ return fn && function () {
+ return call.apply(fn, arguments);
+ };
+};
+
+},{}],100:[function(require,module,exports){
+var path = require('../internals/path');
+var global = require('../internals/global');
+var isCallable = require('../internals/is-callable');
+
+var aFunction = function (variable) {
+ return isCallable(variable) ? variable : undefined;
+};
+
+module.exports = function (namespace, method) {
+ return arguments.length < 2 ? aFunction(path[namespace]) || aFunction(global[namespace])
+ : path[namespace] && path[namespace][method] || global[namespace] && global[namespace][method];
+};
+
+},{"../internals/global":104,"../internals/is-callable":114,"../internals/path":142}],101:[function(require,module,exports){
+var classof = require('../internals/classof');
+var getMethod = require('../internals/get-method');
+var Iterators = require('../internals/iterators');
+var wellKnownSymbol = require('../internals/well-known-symbol');
+
+var ITERATOR = wellKnownSymbol('iterator');
+
+module.exports = function (it) {
+ if (it != undefined) return getMethod(it, ITERATOR)
+ || getMethod(it, '@@iterator')
+ || Iterators[classof(it)];
+};
+
+},{"../internals/classof":75,"../internals/get-method":103,"../internals/iterators":122,"../internals/well-known-symbol":166}],102:[function(require,module,exports){
+var global = require('../internals/global');
+var call = require('../internals/function-call');
+var aCallable = require('../internals/a-callable');
+var anObject = require('../internals/an-object');
+var tryToString = require('../internals/try-to-string');
+var getIteratorMethod = require('../internals/get-iterator-method');
+
+var TypeError = global.TypeError;
+
+module.exports = function (argument, usingIterator) {
+ var iteratorMethod = arguments.length < 2 ? getIteratorMethod(argument) : usingIterator;
+ if (aCallable(iteratorMethod)) return anObject(call(iteratorMethod, argument));
+ throw TypeError(tryToString(argument) + ' is not iterable');
+};
+
+},{"../internals/a-callable":57,"../internals/an-object":60,"../internals/function-call":97,"../internals/get-iterator-method":101,"../internals/global":104,"../internals/try-to-string":162}],103:[function(require,module,exports){
+var aCallable = require('../internals/a-callable');
+
+// `GetMethod` abstract operation
+// https://tc39.es/ecma262/#sec-getmethod
+module.exports = function (V, P) {
+ var func = V[P];
+ return func == null ? undefined : aCallable(func);
+};
+
+},{"../internals/a-callable":57}],104:[function(require,module,exports){
+(function (global){(function (){
+var check = function (it) {
+ return it && it.Math == Math && it;
+};
+
+// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
+module.exports =
+ // eslint-disable-next-line es/no-global-this -- safe
+ check(typeof globalThis == 'object' && globalThis) ||
+ check(typeof window == 'object' && window) ||
+ // eslint-disable-next-line no-restricted-globals -- safe
+ check(typeof self == 'object' && self) ||
+ check(typeof global == 'object' && global) ||
+ // eslint-disable-next-line no-new-func -- fallback
+ (function () { return this; })() || Function('return this')();
+
+}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
+},{}],105:[function(require,module,exports){
+var uncurryThis = require('../internals/function-uncurry-this');
+var toObject = require('../internals/to-object');
+
+var hasOwnProperty = uncurryThis({}.hasOwnProperty);
+
+// `HasOwnProperty` abstract operation
+// https://tc39.es/ecma262/#sec-hasownproperty
+module.exports = Object.hasOwn || function hasOwn(it, key) {
+ return hasOwnProperty(toObject(it), key);
+};
+
+},{"../internals/function-uncurry-this":99,"../internals/to-object":157}],106:[function(require,module,exports){
+module.exports = {};
+
+},{}],107:[function(require,module,exports){
+var getBuiltIn = require('../internals/get-built-in');
+
+module.exports = getBuiltIn('document', 'documentElement');
+
+},{"../internals/get-built-in":100}],108:[function(require,module,exports){
+var DESCRIPTORS = require('../internals/descriptors');
+var fails = require('../internals/fails');
+var createElement = require('../internals/document-create-element');
+
+// Thank's IE8 for his funny defineProperty
+module.exports = !DESCRIPTORS && !fails(function () {
+ // eslint-disable-next-line es/no-object-defineproperty -- requied for testing
+ return Object.defineProperty(createElement('div'), 'a', {
+ get: function () { return 7; }
+ }).a != 7;
+});
+
+},{"../internals/descriptors":83,"../internals/document-create-element":84,"../internals/fails":94}],109:[function(require,module,exports){
+var global = require('../internals/global');
+var uncurryThis = require('../internals/function-uncurry-this');
+var fails = require('../internals/fails');
+var classof = require('../internals/classof-raw');
+
+var Object = global.Object;
+var split = uncurryThis(''.split);
+
+// fallback for non-array-like ES3 and non-enumerable old V8 strings
+module.exports = fails(function () {
+ // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
+ // eslint-disable-next-line no-prototype-builtins -- safe
+ return !Object('z').propertyIsEnumerable(0);
+}) ? function (it) {
+ return classof(it) == 'String' ? split(it, '') : Object(it);
+} : Object;
+
+},{"../internals/classof-raw":74,"../internals/fails":94,"../internals/function-uncurry-this":99,"../internals/global":104}],110:[function(require,module,exports){
+var uncurryThis = require('../internals/function-uncurry-this');
+var isCallable = require('../internals/is-callable');
+var store = require('../internals/shared-store');
+
+var functionToString = uncurryThis(Function.toString);
+
+// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
+if (!isCallable(store.inspectSource)) {
+ store.inspectSource = function (it) {
+ return functionToString(it);
+ };
+}
+
+module.exports = store.inspectSource;
+
+},{"../internals/function-uncurry-this":99,"../internals/is-callable":114,"../internals/shared-store":149}],111:[function(require,module,exports){
+var NATIVE_WEAK_MAP = require('../internals/native-weak-map');
+var global = require('../internals/global');
+var uncurryThis = require('../internals/function-uncurry-this');
+var isObject = require('../internals/is-object');
+var createNonEnumerableProperty = require('../internals/create-non-enumerable-property');
+var hasOwn = require('../internals/has-own-property');
+var shared = require('../internals/shared-store');
+var sharedKey = require('../internals/shared-key');
+var hiddenKeys = require('../internals/hidden-keys');
+
+var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
+var TypeError = global.TypeError;
+var WeakMap = global.WeakMap;
+var set, get, has;
+
+var enforce = function (it) {
+ return has(it) ? get(it) : set(it, {});
+};
+
+var getterFor = function (TYPE) {
+ return function (it) {
+ var state;
+ if (!isObject(it) || (state = get(it)).type !== TYPE) {
+ throw TypeError('Incompatible receiver, ' + TYPE + ' required');
+ } return state;
+ };
+};
+
+if (NATIVE_WEAK_MAP || shared.state) {
+ var store = shared.state || (shared.state = new WeakMap());
+ var wmget = uncurryThis(store.get);
+ var wmhas = uncurryThis(store.has);
+ var wmset = uncurryThis(store.set);
+ set = function (it, metadata) {
+ if (wmhas(store, it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);
+ metadata.facade = it;
+ wmset(store, it, metadata);
+ return metadata;
+ };
+ get = function (it) {
+ return wmget(store, it) || {};
+ };
+ has = function (it) {
+ return wmhas(store, it);
+ };
+} else {
+ var STATE = sharedKey('state');
+ hiddenKeys[STATE] = true;
+ set = function (it, metadata) {
+ if (hasOwn(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);
+ metadata.facade = it;
+ createNonEnumerableProperty(it, STATE, metadata);
+ return metadata;
+ };
+ get = function (it) {
+ return hasOwn(it, STATE) ? it[STATE] : {};
+ };
+ has = function (it) {
+ return hasOwn(it, STATE);
+ };
+}
+
+module.exports = {
+ set: set,
+ get: get,
+ has: has,
+ enforce: enforce,
+ getterFor: getterFor
+};
+
+},{"../internals/create-non-enumerable-property":78,"../internals/function-uncurry-this":99,"../internals/global":104,"../internals/has-own-property":105,"../internals/hidden-keys":106,"../internals/is-object":117,"../internals/native-weak-map":125,"../internals/shared-key":148,"../internals/shared-store":149}],112:[function(require,module,exports){
+var wellKnownSymbol = require('../internals/well-known-symbol');
+var Iterators = require('../internals/iterators');
+
+var ITERATOR = wellKnownSymbol('iterator');
+var ArrayPrototype = Array.prototype;
+
+// check on default Array iterator
+module.exports = function (it) {
+ return it !== undefined && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it);
+};
+
+},{"../internals/iterators":122,"../internals/well-known-symbol":166}],113:[function(require,module,exports){
+var classof = require('../internals/classof-raw');
+
+// `IsArray` abstract operation
+// https://tc39.es/ecma262/#sec-isarray
+// eslint-disable-next-line es/no-array-isarray -- safe
+module.exports = Array.isArray || function isArray(argument) {
+ return classof(argument) == 'Array';
+};
+
+},{"../internals/classof-raw":74}],114:[function(require,module,exports){
+// `IsCallable` abstract operation
+// https://tc39.es/ecma262/#sec-iscallable
+module.exports = function (argument) {
+ return typeof argument == 'function';
+};
+
+},{}],115:[function(require,module,exports){
+var uncurryThis = require('../internals/function-uncurry-this');
+var fails = require('../internals/fails');
+var isCallable = require('../internals/is-callable');
+var classof = require('../internals/classof');
+var getBuiltIn = require('../internals/get-built-in');
+var inspectSource = require('../internals/inspect-source');
+
+var noop = function () { /* empty */ };
+var empty = [];
+var construct = getBuiltIn('Reflect', 'construct');
+var constructorRegExp = /^\s*(?:class|function)\b/;
+var exec = uncurryThis(constructorRegExp.exec);
+var INCORRECT_TO_STRING = !constructorRegExp.exec(noop);
+
+var isConstructorModern = function isConstructor(argument) {
+ if (!isCallable(argument)) return false;
+ try {
+ construct(noop, empty, argument);
+ return true;
+ } catch (error) {
+ return false;
+ }
+};
+
+var isConstructorLegacy = function isConstructor(argument) {
+ if (!isCallable(argument)) return false;
+ switch (classof(argument)) {
+ case 'AsyncFunction':
+ case 'GeneratorFunction':
+ case 'AsyncGeneratorFunction': return false;
+ }
+ try {
+ // we can't check .prototype since constructors produced by .bind haven't it
+ // `Function#toString` throws on some built-it function in some legacy engines
+ // (for example, `DOMQuad` and similar in FF41-)
+ return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument));
+ } catch (error) {
+ return true;
+ }
+};
+
+isConstructorLegacy.sham = true;
+
+// `IsConstructor` abstract operation
+// https://tc39.es/ecma262/#sec-isconstructor
+module.exports = !construct || fails(function () {
+ var called;
+ return isConstructorModern(isConstructorModern.call)
+ || !isConstructorModern(Object)
+ || !isConstructorModern(function () { called = true; })
+ || called;
+}) ? isConstructorLegacy : isConstructorModern;
+
+},{"../internals/classof":75,"../internals/fails":94,"../internals/function-uncurry-this":99,"../internals/get-built-in":100,"../internals/inspect-source":110,"../internals/is-callable":114}],116:[function(require,module,exports){
+var fails = require('../internals/fails');
+var isCallable = require('../internals/is-callable');
+
+var replacement = /#|\.prototype\./;
+
+var isForced = function (feature, detection) {
+ var value = data[normalize(feature)];
+ return value == POLYFILL ? true
+ : value == NATIVE ? false
+ : isCallable(detection) ? fails(detection)
+ : !!detection;
+};
+
+var normalize = isForced.normalize = function (string) {
+ return String(string).replace(replacement, '.').toLowerCase();
+};
+
+var data = isForced.data = {};
+var NATIVE = isForced.NATIVE = 'N';
+var POLYFILL = isForced.POLYFILL = 'P';
+
+module.exports = isForced;
+
+},{"../internals/fails":94,"../internals/is-callable":114}],117:[function(require,module,exports){
+var isCallable = require('../internals/is-callable');
+
+module.exports = function (it) {
+ return typeof it == 'object' ? it !== null : isCallable(it);
+};
+
+},{"../internals/is-callable":114}],118:[function(require,module,exports){
+module.exports = true;
+
+},{}],119:[function(require,module,exports){
+var global = require('../internals/global');
+var getBuiltIn = require('../internals/get-built-in');
+var isCallable = require('../internals/is-callable');
+var isPrototypeOf = require('../internals/object-is-prototype-of');
+var USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');
+
+var Object = global.Object;
+
+module.exports = USE_SYMBOL_AS_UID ? function (it) {
+ return typeof it == 'symbol';
+} : function (it) {
+ var $Symbol = getBuiltIn('Symbol');
+ return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, Object(it));
+};
+
+},{"../internals/get-built-in":100,"../internals/global":104,"../internals/is-callable":114,"../internals/object-is-prototype-of":135,"../internals/use-symbol-as-uid":164}],120:[function(require,module,exports){
+var call = require('../internals/function-call');
+var anObject = require('../internals/an-object');
+var getMethod = require('../internals/get-method');
+
+module.exports = function (iterator, kind, value) {
+ var innerResult, innerError;
+ anObject(iterator);
+ try {
+ innerResult = getMethod(iterator, 'return');
+ if (!innerResult) {
+ if (kind === 'throw') throw value;
+ return value;
+ }
+ innerResult = call(innerResult, iterator);
+ } catch (error) {
+ innerError = true;
+ innerResult = error;
+ }
+ if (kind === 'throw') throw value;
+ if (innerError) throw innerResult;
+ anObject(innerResult);
+ return value;
+};
+
+},{"../internals/an-object":60,"../internals/function-call":97,"../internals/get-method":103}],121:[function(require,module,exports){
+'use strict';
+var fails = require('../internals/fails');
+var isCallable = require('../internals/is-callable');
+var create = require('../internals/object-create');
+var getPrototypeOf = require('../internals/object-get-prototype-of');
+var redefine = require('../internals/redefine');
+var wellKnownSymbol = require('../internals/well-known-symbol');
+var IS_PURE = require('../internals/is-pure');
+
+var ITERATOR = wellKnownSymbol('iterator');
+var BUGGY_SAFARI_ITERATORS = false;
+
+// `%IteratorPrototype%` object
+// https://tc39.es/ecma262/#sec-%iteratorprototype%-object
+var IteratorPrototype, PrototypeOfArrayIteratorPrototype, arrayIterator;
+
+/* eslint-disable es/no-array-prototype-keys -- safe */
+if ([].keys) {
+ arrayIterator = [].keys();
+ // Safari 8 has buggy iterators w/o `next`
+ if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS = true;
+ else {
+ PrototypeOfArrayIteratorPrototype = getPrototypeOf(getPrototypeOf(arrayIterator));
+ if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype = PrototypeOfArrayIteratorPrototype;
+ }
+}
+
+var NEW_ITERATOR_PROTOTYPE = IteratorPrototype == undefined || fails(function () {
+ var test = {};
+ // FF44- legacy iterators case
+ return IteratorPrototype[ITERATOR].call(test) !== test;
+});
+
+if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype = {};
+else if (IS_PURE) IteratorPrototype = create(IteratorPrototype);
+
+// `%IteratorPrototype%[@@iterator]()` method
+// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
+if (!isCallable(IteratorPrototype[ITERATOR])) {
+ redefine(IteratorPrototype, ITERATOR, function () {
+ return this;
+ });
+}
+
+module.exports = {
+ IteratorPrototype: IteratorPrototype,
+ BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS
+};
+
+},{"../internals/fails":94,"../internals/is-callable":114,"../internals/is-pure":118,"../internals/object-create":127,"../internals/object-get-prototype-of":134,"../internals/redefine":143,"../internals/well-known-symbol":166}],122:[function(require,module,exports){
+arguments[4][106][0].apply(exports,arguments)
+},{"dup":106}],123:[function(require,module,exports){
+var toLength = require('../internals/to-length');
+
+// `LengthOfArrayLike` abstract operation
+// https://tc39.es/ecma262/#sec-lengthofarraylike
+module.exports = function (obj) {
+ return toLength(obj.length);
+};
+
+},{"../internals/to-length":156}],124:[function(require,module,exports){
+/* eslint-disable es/no-symbol -- required for testing */
+var V8_VERSION = require('../internals/engine-v8-version');
+var fails = require('../internals/fails');
+
+// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
+module.exports = !!Object.getOwnPropertySymbols && !fails(function () {
+ var symbol = Symbol();
+ // Chrome 38 Symbol has incorrect toString conversion
+ // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
+ return !String(symbol) || !(Object(symbol) instanceof Symbol) ||
+ // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
+ !Symbol.sham && V8_VERSION && V8_VERSION < 41;
+});
+
+},{"../internals/engine-v8-version":89,"../internals/fails":94}],125:[function(require,module,exports){
+var global = require('../internals/global');
+var isCallable = require('../internals/is-callable');
+var inspectSource = require('../internals/inspect-source');
+
+var WeakMap = global.WeakMap;
+
+module.exports = isCallable(WeakMap) && /native code/.test(inspectSource(WeakMap));
+
+},{"../internals/global":104,"../internals/inspect-source":110,"../internals/is-callable":114}],126:[function(require,module,exports){
+var global = require('../internals/global');
+var fails = require('../internals/fails');
+var uncurryThis = require('../internals/function-uncurry-this');
+var toString = require('../internals/to-string');
+var trim = require('../internals/string-trim').trim;
+var whitespaces = require('../internals/whitespaces');
+
+var $parseInt = global.parseInt;
+var Symbol = global.Symbol;
+var ITERATOR = Symbol && Symbol.iterator;
+var hex = /^[+-]?0x/i;
+var exec = uncurryThis(hex.exec);
+var FORCED = $parseInt(whitespaces + '08') !== 8 || $parseInt(whitespaces + '0x16') !== 22
+ // MS Edge 18- broken with boxed symbols
+ || (ITERATOR && !fails(function () { $parseInt(Object(ITERATOR)); }));
+
+// `parseInt` method
+// https://tc39.es/ecma262/#sec-parseint-string-radix
+module.exports = FORCED ? function parseInt(string, radix) {
+ var S = trim(toString(string));
+ return $parseInt(S, (radix >>> 0) || (exec(hex, S) ? 16 : 10));
+} : $parseInt;
+
+},{"../internals/fails":94,"../internals/function-uncurry-this":99,"../internals/global":104,"../internals/string-trim":152,"../internals/to-string":161,"../internals/whitespaces":167}],127:[function(require,module,exports){
+/* global ActiveXObject -- old IE, WSH */
+var anObject = require('../internals/an-object');
+var defineProperties = require('../internals/object-define-properties');
+var enumBugKeys = require('../internals/enum-bug-keys');
+var hiddenKeys = require('../internals/hidden-keys');
+var html = require('../internals/html');
+var documentCreateElement = require('../internals/document-create-element');
+var sharedKey = require('../internals/shared-key');
+
+var GT = '>';
+var LT = '<';
+var PROTOTYPE = 'prototype';
+var SCRIPT = 'script';
+var IE_PROTO = sharedKey('IE_PROTO');
+
+var EmptyConstructor = function () { /* empty */ };
+
+var scriptTag = function (content) {
+ return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;
+};
+
+// Create object with fake `null` prototype: use ActiveX Object with cleared prototype
+var NullProtoObjectViaActiveX = function (activeXDocument) {
+ activeXDocument.write(scriptTag(''));
+ activeXDocument.close();
+ var temp = activeXDocument.parentWindow.Object;
+ activeXDocument = null; // avoid memory leak
+ return temp;
+};
+
+// Create object with fake `null` prototype: use iframe Object with cleared prototype
+var NullProtoObjectViaIFrame = function () {
+ // Thrash, waste and sodomy: IE GC bug
+ var iframe = documentCreateElement('iframe');
+ var JS = 'java' + SCRIPT + ':';
+ var iframeDocument;
+ iframe.style.display = 'none';
+ html.appendChild(iframe);
+ // https://github.com/zloirock/core-js/issues/475
+ iframe.src = String(JS);
+ iframeDocument = iframe.contentWindow.document;
+ iframeDocument.open();
+ iframeDocument.write(scriptTag('document.F=Object'));
+ iframeDocument.close();
+ return iframeDocument.F;
+};
+
+// Check for document.domain and active x support
+// No need to use active x approach when document.domain is not set
+// see https://github.com/es-shims/es5-shim/issues/150
+// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346
+// avoid IE GC bug
+var activeXDocument;
+var NullProtoObject = function () {
+ try {
+ activeXDocument = new ActiveXObject('htmlfile');
+ } catch (error) { /* ignore */ }
+ NullProtoObject = typeof document != 'undefined'
+ ? document.domain && activeXDocument
+ ? NullProtoObjectViaActiveX(activeXDocument) // old IE
+ : NullProtoObjectViaIFrame()
+ : NullProtoObjectViaActiveX(activeXDocument); // WSH
+ var length = enumBugKeys.length;
+ while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];
+ return NullProtoObject();
+};
+
+hiddenKeys[IE_PROTO] = true;
+
+// `Object.create` method
+// https://tc39.es/ecma262/#sec-object.create
+module.exports = Object.create || function create(O, Properties) {
+ var result;
+ if (O !== null) {
+ EmptyConstructor[PROTOTYPE] = anObject(O);
+ result = new EmptyConstructor();
+ EmptyConstructor[PROTOTYPE] = null;
+ // add "__proto__" for Object.getPrototypeOf polyfill
+ result[IE_PROTO] = O;
+ } else result = NullProtoObject();
+ return Properties === undefined ? result : defineProperties(result, Properties);
+};
+
+},{"../internals/an-object":60,"../internals/document-create-element":84,"../internals/enum-bug-keys":92,"../internals/hidden-keys":106,"../internals/html":107,"../internals/object-define-properties":128,"../internals/shared-key":148}],128:[function(require,module,exports){
+var DESCRIPTORS = require('../internals/descriptors');
+var definePropertyModule = require('../internals/object-define-property');
+var anObject = require('../internals/an-object');
+var toIndexedObject = require('../internals/to-indexed-object');
+var objectKeys = require('../internals/object-keys');
+
+// `Object.defineProperties` method
+// https://tc39.es/ecma262/#sec-object.defineproperties
+// eslint-disable-next-line es/no-object-defineproperties -- safe
+module.exports = DESCRIPTORS ? Object.defineProperties : function defineProperties(O, Properties) {
+ anObject(O);
+ var props = toIndexedObject(Properties);
+ var keys = objectKeys(Properties);
+ var length = keys.length;
+ var index = 0;
+ var key;
+ while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);
+ return O;
+};
+
+},{"../internals/an-object":60,"../internals/descriptors":83,"../internals/object-define-property":129,"../internals/object-keys":137,"../internals/to-indexed-object":154}],129:[function(require,module,exports){
+var global = require('../internals/global');
+var DESCRIPTORS = require('../internals/descriptors');
+var IE8_DOM_DEFINE = require('../internals/ie8-dom-define');
+var anObject = require('../internals/an-object');
+var toPropertyKey = require('../internals/to-property-key');
+
+var TypeError = global.TypeError;
+// eslint-disable-next-line es/no-object-defineproperty -- safe
+var $defineProperty = Object.defineProperty;
+
+// `Object.defineProperty` method
+// https://tc39.es/ecma262/#sec-object.defineproperty
+exports.f = DESCRIPTORS ? $defineProperty : function defineProperty(O, P, Attributes) {
+ anObject(O);
+ P = toPropertyKey(P);
+ anObject(Attributes);
+ if (IE8_DOM_DEFINE) try {
+ return $defineProperty(O, P, Attributes);
+ } catch (error) { /* empty */ }
+ if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported');
+ if ('value' in Attributes) O[P] = Attributes.value;
+ return O;
+};
+
+},{"../internals/an-object":60,"../internals/descriptors":83,"../internals/global":104,"../internals/ie8-dom-define":108,"../internals/to-property-key":159}],130:[function(require,module,exports){
+var DESCRIPTORS = require('../internals/descriptors');
+var call = require('../internals/function-call');
+var propertyIsEnumerableModule = require('../internals/object-property-is-enumerable');
+var createPropertyDescriptor = require('../internals/create-property-descriptor');
+var toIndexedObject = require('../internals/to-indexed-object');
+var toPropertyKey = require('../internals/to-property-key');
+var hasOwn = require('../internals/has-own-property');
+var IE8_DOM_DEFINE = require('../internals/ie8-dom-define');
+
+// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
+var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
+
+// `Object.getOwnPropertyDescriptor` method
+// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
+exports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
+ O = toIndexedObject(O);
+ P = toPropertyKey(P);
+ if (IE8_DOM_DEFINE) try {
+ return $getOwnPropertyDescriptor(O, P);
+ } catch (error) { /* empty */ }
+ if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]);
+};
+
+},{"../internals/create-property-descriptor":79,"../internals/descriptors":83,"../internals/function-call":97,"../internals/has-own-property":105,"../internals/ie8-dom-define":108,"../internals/object-property-is-enumerable":138,"../internals/to-indexed-object":154,"../internals/to-property-key":159}],131:[function(require,module,exports){
+/* eslint-disable es/no-object-getownpropertynames -- safe */
+var classof = require('../internals/classof-raw');
+var toIndexedObject = require('../internals/to-indexed-object');
+var $getOwnPropertyNames = require('../internals/object-get-own-property-names').f;
+var arraySlice = require('../internals/array-slice-simple');
+
+var windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames
+ ? Object.getOwnPropertyNames(window) : [];
+
+var getWindowNames = function (it) {
+ try {
+ return $getOwnPropertyNames(it);
+ } catch (error) {
+ return arraySlice(windowNames);
+ }
+};
+
+// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window
+module.exports.f = function getOwnPropertyNames(it) {
+ return windowNames && classof(it) == 'Window'
+ ? getWindowNames(it)
+ : $getOwnPropertyNames(toIndexedObject(it));
+};
+
+},{"../internals/array-slice-simple":67,"../internals/classof-raw":74,"../internals/object-get-own-property-names":132,"../internals/to-indexed-object":154}],132:[function(require,module,exports){
+var internalObjectKeys = require('../internals/object-keys-internal');
+var enumBugKeys = require('../internals/enum-bug-keys');
+
+var hiddenKeys = enumBugKeys.concat('length', 'prototype');
+
+// `Object.getOwnPropertyNames` method
+// https://tc39.es/ecma262/#sec-object.getownpropertynames
+// eslint-disable-next-line es/no-object-getownpropertynames -- safe
+exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
+ return internalObjectKeys(O, hiddenKeys);
+};
+
+},{"../internals/enum-bug-keys":92,"../internals/object-keys-internal":136}],133:[function(require,module,exports){
+// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
+exports.f = Object.getOwnPropertySymbols;
+
+},{}],134:[function(require,module,exports){
+var global = require('../internals/global');
+var hasOwn = require('../internals/has-own-property');
+var isCallable = require('../internals/is-callable');
+var toObject = require('../internals/to-object');
+var sharedKey = require('../internals/shared-key');
+var CORRECT_PROTOTYPE_GETTER = require('../internals/correct-prototype-getter');
+
+var IE_PROTO = sharedKey('IE_PROTO');
+var Object = global.Object;
+var ObjectPrototype = Object.prototype;
+
+// `Object.getPrototypeOf` method
+// https://tc39.es/ecma262/#sec-object.getprototypeof
+module.exports = CORRECT_PROTOTYPE_GETTER ? Object.getPrototypeOf : function (O) {
+ var object = toObject(O);
+ if (hasOwn(object, IE_PROTO)) return object[IE_PROTO];
+ var constructor = object.constructor;
+ if (isCallable(constructor) && object instanceof constructor) {
+ return constructor.prototype;
+ } return object instanceof Object ? ObjectPrototype : null;
+};
+
+},{"../internals/correct-prototype-getter":76,"../internals/global":104,"../internals/has-own-property":105,"../internals/is-callable":114,"../internals/shared-key":148,"../internals/to-object":157}],135:[function(require,module,exports){
+var uncurryThis = require('../internals/function-uncurry-this');
+
+module.exports = uncurryThis({}.isPrototypeOf);
+
+},{"../internals/function-uncurry-this":99}],136:[function(require,module,exports){
+var uncurryThis = require('../internals/function-uncurry-this');
+var hasOwn = require('../internals/has-own-property');
+var toIndexedObject = require('../internals/to-indexed-object');
+var indexOf = require('../internals/array-includes').indexOf;
+var hiddenKeys = require('../internals/hidden-keys');
+
+var push = uncurryThis([].push);
+
+module.exports = function (object, names) {
+ var O = toIndexedObject(object);
+ var i = 0;
+ var result = [];
+ var key;
+ for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key);
+ // Don't enum bug & hidden keys
+ while (names.length > i) if (hasOwn(O, key = names[i++])) {
+ ~indexOf(result, key) || push(result, key);
+ }
+ return result;
+};
+
+},{"../internals/array-includes":63,"../internals/function-uncurry-this":99,"../internals/has-own-property":105,"../internals/hidden-keys":106,"../internals/to-indexed-object":154}],137:[function(require,module,exports){
+var internalObjectKeys = require('../internals/object-keys-internal');
+var enumBugKeys = require('../internals/enum-bug-keys');
+
+// `Object.keys` method
+// https://tc39.es/ecma262/#sec-object.keys
+// eslint-disable-next-line es/no-object-keys -- safe
+module.exports = Object.keys || function keys(O) {
+ return internalObjectKeys(O, enumBugKeys);
+};
+
+},{"../internals/enum-bug-keys":92,"../internals/object-keys-internal":136}],138:[function(require,module,exports){
+'use strict';
+var $propertyIsEnumerable = {}.propertyIsEnumerable;
+// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
+var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
+
+// Nashorn ~ JDK8 bug
+var NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1);
+
+// `Object.prototype.propertyIsEnumerable` method implementation
+// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
+exports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
+ var descriptor = getOwnPropertyDescriptor(this, V);
+ return !!descriptor && descriptor.enumerable;
+} : $propertyIsEnumerable;
+
+},{}],139:[function(require,module,exports){
+/* eslint-disable no-proto -- safe */
+var uncurryThis = require('../internals/function-uncurry-this');
+var anObject = require('../internals/an-object');
+var aPossiblePrototype = require('../internals/a-possible-prototype');
+
+// `Object.setPrototypeOf` method
+// https://tc39.es/ecma262/#sec-object.setprototypeof
+// Works with __proto__ only. Old v8 can't work with null proto objects.
+// eslint-disable-next-line es/no-object-setprototypeof -- safe
+module.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {
+ var CORRECT_SETTER = false;
+ var test = {};
+ var setter;
+ try {
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
+ setter = uncurryThis(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
+ setter(test, []);
+ CORRECT_SETTER = test instanceof Array;
+ } catch (error) { /* empty */ }
+ return function setPrototypeOf(O, proto) {
+ anObject(O);
+ aPossiblePrototype(proto);
+ if (CORRECT_SETTER) setter(O, proto);
+ else O.__proto__ = proto;
+ return O;
+ };
+}() : undefined);
+
+},{"../internals/a-possible-prototype":58,"../internals/an-object":60,"../internals/function-uncurry-this":99}],140:[function(require,module,exports){
+'use strict';
+var TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');
+var classof = require('../internals/classof');
+
+// `Object.prototype.toString` method implementation
+// https://tc39.es/ecma262/#sec-object.prototype.tostring
+module.exports = TO_STRING_TAG_SUPPORT ? {}.toString : function toString() {
+ return '[object ' + classof(this) + ']';
+};
+
+},{"../internals/classof":75,"../internals/to-string-tag-support":160}],141:[function(require,module,exports){
+var global = require('../internals/global');
+var call = require('../internals/function-call');
+var isCallable = require('../internals/is-callable');
+var isObject = require('../internals/is-object');
+
+var TypeError = global.TypeError;
+
+// `OrdinaryToPrimitive` abstract operation
+// https://tc39.es/ecma262/#sec-ordinarytoprimitive
+module.exports = function (input, pref) {
+ var fn, val;
+ if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;
+ if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val;
+ if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;
+ throw TypeError("Can't convert object to primitive value");
+};
+
+},{"../internals/function-call":97,"../internals/global":104,"../internals/is-callable":114,"../internals/is-object":117}],142:[function(require,module,exports){
+arguments[4][106][0].apply(exports,arguments)
+},{"dup":106}],143:[function(require,module,exports){
+var createNonEnumerableProperty = require('../internals/create-non-enumerable-property');
+
+module.exports = function (target, key, value, options) {
+ if (options && options.enumerable) target[key] = value;
+ else createNonEnumerableProperty(target, key, value);
+};
+
+},{"../internals/create-non-enumerable-property":78}],144:[function(require,module,exports){
+'use strict';
+var anObject = require('../internals/an-object');
+
+// `RegExp.prototype.flags` getter implementation
+// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags
+module.exports = function () {
+ var that = anObject(this);
+ var result = '';
+ if (that.global) result += 'g';
+ if (that.ignoreCase) result += 'i';
+ if (that.multiline) result += 'm';
+ if (that.dotAll) result += 's';
+ if (that.unicode) result += 'u';
+ if (that.sticky) result += 'y';
+ return result;
+};
+
+},{"../internals/an-object":60}],145:[function(require,module,exports){
+var global = require('../internals/global');
+
+var TypeError = global.TypeError;
+
+// `RequireObjectCoercible` abstract operation
+// https://tc39.es/ecma262/#sec-requireobjectcoercible
+module.exports = function (it) {
+ if (it == undefined) throw TypeError("Can't call method on " + it);
+ return it;
+};
+
+},{"../internals/global":104}],146:[function(require,module,exports){
+var global = require('../internals/global');
+
+// eslint-disable-next-line es/no-object-defineproperty -- safe
+var defineProperty = Object.defineProperty;
+
+module.exports = function (key, value) {
+ try {
+ defineProperty(global, key, { value: value, configurable: true, writable: true });
+ } catch (error) {
+ global[key] = value;
+ } return value;
+};
+
+},{"../internals/global":104}],147:[function(require,module,exports){
+var TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');
+var defineProperty = require('../internals/object-define-property').f;
+var createNonEnumerableProperty = require('../internals/create-non-enumerable-property');
+var hasOwn = require('../internals/has-own-property');
+var toString = require('../internals/object-to-string');
+var wellKnownSymbol = require('../internals/well-known-symbol');
+
+var TO_STRING_TAG = wellKnownSymbol('toStringTag');
+
+module.exports = function (it, TAG, STATIC, SET_METHOD) {
+ if (it) {
+ var target = STATIC ? it : it.prototype;
+ if (!hasOwn(target, TO_STRING_TAG)) {
+ defineProperty(target, TO_STRING_TAG, { configurable: true, value: TAG });
+ }
+ if (SET_METHOD && !TO_STRING_TAG_SUPPORT) {
+ createNonEnumerableProperty(target, 'toString', toString);
+ }
+ }
+};
+
+},{"../internals/create-non-enumerable-property":78,"../internals/has-own-property":105,"../internals/object-define-property":129,"../internals/object-to-string":140,"../internals/to-string-tag-support":160,"../internals/well-known-symbol":166}],148:[function(require,module,exports){
+var shared = require('../internals/shared');
+var uid = require('../internals/uid');
+
+var keys = shared('keys');
+
+module.exports = function (key) {
+ return keys[key] || (keys[key] = uid(key));
+};
+
+},{"../internals/shared":150,"../internals/uid":163}],149:[function(require,module,exports){
+var global = require('../internals/global');
+var setGlobal = require('../internals/set-global');
+
+var SHARED = '__core-js_shared__';
+var store = global[SHARED] || setGlobal(SHARED, {});
+
+module.exports = store;
+
+},{"../internals/global":104,"../internals/set-global":146}],150:[function(require,module,exports){
+var IS_PURE = require('../internals/is-pure');
+var store = require('../internals/shared-store');
+
+(module.exports = function (key, value) {
+ return store[key] || (store[key] = value !== undefined ? value : {});
+})('versions', []).push({
+ version: '3.20.0',
+ mode: IS_PURE ? 'pure' : 'global',
+ copyright: '© 2021 Denis Pushkarev (zloirock.ru)'
+});
+
+},{"../internals/is-pure":118,"../internals/shared-store":149}],151:[function(require,module,exports){
+var uncurryThis = require('../internals/function-uncurry-this');
+var toIntegerOrInfinity = require('../internals/to-integer-or-infinity');
+var toString = require('../internals/to-string');
+var requireObjectCoercible = require('../internals/require-object-coercible');
+
+var charAt = uncurryThis(''.charAt);
+var charCodeAt = uncurryThis(''.charCodeAt);
+var stringSlice = uncurryThis(''.slice);
+
+var createMethod = function (CONVERT_TO_STRING) {
+ return function ($this, pos) {
+ var S = toString(requireObjectCoercible($this));
+ var position = toIntegerOrInfinity(pos);
+ var size = S.length;
+ var first, second;
+ if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined;
+ first = charCodeAt(S, position);
+ return first < 0xD800 || first > 0xDBFF || position + 1 === size
+ || (second = charCodeAt(S, position + 1)) < 0xDC00 || second > 0xDFFF
+ ? CONVERT_TO_STRING
+ ? charAt(S, position)
+ : first
+ : CONVERT_TO_STRING
+ ? stringSlice(S, position, position + 2)
+ : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;
+ };
+};
+
+module.exports = {
+ // `String.prototype.codePointAt` method
+ // https://tc39.es/ecma262/#sec-string.prototype.codepointat
+ codeAt: createMethod(false),
+ // `String.prototype.at` method
+ // https://github.com/mathiasbynens/String.prototype.at
+ charAt: createMethod(true)
+};
+
+},{"../internals/function-uncurry-this":99,"../internals/require-object-coercible":145,"../internals/to-integer-or-infinity":155,"../internals/to-string":161}],152:[function(require,module,exports){
+var uncurryThis = require('../internals/function-uncurry-this');
+var requireObjectCoercible = require('../internals/require-object-coercible');
+var toString = require('../internals/to-string');
+var whitespaces = require('../internals/whitespaces');
+
+var replace = uncurryThis(''.replace);
+var whitespace = '[' + whitespaces + ']';
+var ltrim = RegExp('^' + whitespace + whitespace + '*');
+var rtrim = RegExp(whitespace + whitespace + '*$');
+
+// `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation
+var createMethod = function (TYPE) {
+ return function ($this) {
+ var string = toString(requireObjectCoercible($this));
+ if (TYPE & 1) string = replace(string, ltrim, '');
+ if (TYPE & 2) string = replace(string, rtrim, '');
+ return string;
+ };
+};
+
+module.exports = {
+ // `String.prototype.{ trimLeft, trimStart }` methods
+ // https://tc39.es/ecma262/#sec-string.prototype.trimstart
+ start: createMethod(1),
+ // `String.prototype.{ trimRight, trimEnd }` methods
+ // https://tc39.es/ecma262/#sec-string.prototype.trimend
+ end: createMethod(2),
+ // `String.prototype.trim` method
+ // https://tc39.es/ecma262/#sec-string.prototype.trim
+ trim: createMethod(3)
+};
+
+},{"../internals/function-uncurry-this":99,"../internals/require-object-coercible":145,"../internals/to-string":161,"../internals/whitespaces":167}],153:[function(require,module,exports){
+var toIntegerOrInfinity = require('../internals/to-integer-or-infinity');
+
+var max = Math.max;
+var min = Math.min;
+
+// Helper for a popular repeating case of the spec:
+// Let integer be ? ToInteger(index).
+// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
+module.exports = function (index, length) {
+ var integer = toIntegerOrInfinity(index);
+ return integer < 0 ? max(integer + length, 0) : min(integer, length);
+};
+
+},{"../internals/to-integer-or-infinity":155}],154:[function(require,module,exports){
+// toObject with fallback for non-array-like ES3 strings
+var IndexedObject = require('../internals/indexed-object');
+var requireObjectCoercible = require('../internals/require-object-coercible');
+
+module.exports = function (it) {
+ return IndexedObject(requireObjectCoercible(it));
+};
+
+},{"../internals/indexed-object":109,"../internals/require-object-coercible":145}],155:[function(require,module,exports){
+var ceil = Math.ceil;
+var floor = Math.floor;
+
+// `ToIntegerOrInfinity` abstract operation
+// https://tc39.es/ecma262/#sec-tointegerorinfinity
+module.exports = function (argument) {
+ var number = +argument;
+ // eslint-disable-next-line no-self-compare -- safe
+ return number !== number || number === 0 ? 0 : (number > 0 ? floor : ceil)(number);
+};
+
+},{}],156:[function(require,module,exports){
+var toIntegerOrInfinity = require('../internals/to-integer-or-infinity');
+
+var min = Math.min;
+
+// `ToLength` abstract operation
+// https://tc39.es/ecma262/#sec-tolength
+module.exports = function (argument) {
+ return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
+};
+
+},{"../internals/to-integer-or-infinity":155}],157:[function(require,module,exports){
+var global = require('../internals/global');
+var requireObjectCoercible = require('../internals/require-object-coercible');
+
+var Object = global.Object;
+
+// `ToObject` abstract operation
+// https://tc39.es/ecma262/#sec-toobject
+module.exports = function (argument) {
+ return Object(requireObjectCoercible(argument));
+};
+
+},{"../internals/global":104,"../internals/require-object-coercible":145}],158:[function(require,module,exports){
+var global = require('../internals/global');
+var call = require('../internals/function-call');
+var isObject = require('../internals/is-object');
+var isSymbol = require('../internals/is-symbol');
+var getMethod = require('../internals/get-method');
+var ordinaryToPrimitive = require('../internals/ordinary-to-primitive');
+var wellKnownSymbol = require('../internals/well-known-symbol');
+
+var TypeError = global.TypeError;
+var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');
+
+// `ToPrimitive` abstract operation
+// https://tc39.es/ecma262/#sec-toprimitive
+module.exports = function (input, pref) {
+ if (!isObject(input) || isSymbol(input)) return input;
+ var exoticToPrim = getMethod(input, TO_PRIMITIVE);
+ var result;
+ if (exoticToPrim) {
+ if (pref === undefined) pref = 'default';
+ result = call(exoticToPrim, input, pref);
+ if (!isObject(result) || isSymbol(result)) return result;
+ throw TypeError("Can't convert object to primitive value");
+ }
+ if (pref === undefined) pref = 'number';
+ return ordinaryToPrimitive(input, pref);
+};
+
+},{"../internals/function-call":97,"../internals/get-method":103,"../internals/global":104,"../internals/is-object":117,"../internals/is-symbol":119,"../internals/ordinary-to-primitive":141,"../internals/well-known-symbol":166}],159:[function(require,module,exports){
+var toPrimitive = require('../internals/to-primitive');
+var isSymbol = require('../internals/is-symbol');
+
+// `ToPropertyKey` abstract operation
+// https://tc39.es/ecma262/#sec-topropertykey
+module.exports = function (argument) {
+ var key = toPrimitive(argument, 'string');
+ return isSymbol(key) ? key : key + '';
+};
+
+},{"../internals/is-symbol":119,"../internals/to-primitive":158}],160:[function(require,module,exports){
+var wellKnownSymbol = require('../internals/well-known-symbol');
+
+var TO_STRING_TAG = wellKnownSymbol('toStringTag');
+var test = {};
+
+test[TO_STRING_TAG] = 'z';
+
+module.exports = String(test) === '[object z]';
+
+},{"../internals/well-known-symbol":166}],161:[function(require,module,exports){
+var global = require('../internals/global');
+var classof = require('../internals/classof');
+
+var String = global.String;
+
+module.exports = function (argument) {
+ if (classof(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
+ return String(argument);
+};
+
+},{"../internals/classof":75,"../internals/global":104}],162:[function(require,module,exports){
+var global = require('../internals/global');
+
+var String = global.String;
+
+module.exports = function (argument) {
+ try {
+ return String(argument);
+ } catch (error) {
+ return 'Object';
+ }
+};
+
+},{"../internals/global":104}],163:[function(require,module,exports){
+var uncurryThis = require('../internals/function-uncurry-this');
+
+var id = 0;
+var postfix = Math.random();
+var toString = uncurryThis(1.0.toString);
+
+module.exports = function (key) {
+ return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
+};
+
+},{"../internals/function-uncurry-this":99}],164:[function(require,module,exports){
+/* eslint-disable es/no-symbol -- required for testing */
+var NATIVE_SYMBOL = require('../internals/native-symbol');
+
+module.exports = NATIVE_SYMBOL
+ && !Symbol.sham
+ && typeof Symbol.iterator == 'symbol';
+
+},{"../internals/native-symbol":124}],165:[function(require,module,exports){
+var wellKnownSymbol = require('../internals/well-known-symbol');
+
+exports.f = wellKnownSymbol;
+
+},{"../internals/well-known-symbol":166}],166:[function(require,module,exports){
+var global = require('../internals/global');
+var shared = require('../internals/shared');
+var hasOwn = require('../internals/has-own-property');
+var uid = require('../internals/uid');
+var NATIVE_SYMBOL = require('../internals/native-symbol');
+var USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');
+
+var WellKnownSymbolsStore = shared('wks');
+var Symbol = global.Symbol;
+var symbolFor = Symbol && Symbol['for'];
+var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol : Symbol && Symbol.withoutSetter || uid;
+
+module.exports = function (name) {
+ if (!hasOwn(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL || typeof WellKnownSymbolsStore[name] == 'string')) {
+ var description = 'Symbol.' + name;
+ if (NATIVE_SYMBOL && hasOwn(Symbol, name)) {
+ WellKnownSymbolsStore[name] = Symbol[name];
+ } else if (USE_SYMBOL_AS_UID && symbolFor) {
+ WellKnownSymbolsStore[name] = symbolFor(description);
+ } else {
+ WellKnownSymbolsStore[name] = createWellKnownSymbol(description);
+ }
+ } return WellKnownSymbolsStore[name];
+};
+
+},{"../internals/global":104,"../internals/has-own-property":105,"../internals/native-symbol":124,"../internals/shared":150,"../internals/uid":163,"../internals/use-symbol-as-uid":164}],167:[function(require,module,exports){
+// a string of all valid unicode whitespaces
+module.exports = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' +
+ '\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
+
+},{}],168:[function(require,module,exports){
+'use strict';
+var $ = require('../internals/export');
+var global = require('../internals/global');
+var fails = require('../internals/fails');
+var isArray = require('../internals/is-array');
+var isObject = require('../internals/is-object');
+var toObject = require('../internals/to-object');
+var lengthOfArrayLike = require('../internals/length-of-array-like');
+var createProperty = require('../internals/create-property');
+var arraySpeciesCreate = require('../internals/array-species-create');
+var arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');
+var wellKnownSymbol = require('../internals/well-known-symbol');
+var V8_VERSION = require('../internals/engine-v8-version');
+
+var IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable');
+var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;
+var MAXIMUM_ALLOWED_INDEX_EXCEEDED = 'Maximum allowed index exceeded';
+var TypeError = global.TypeError;
+
+// We can't use this feature detection in V8 since it causes
+// deoptimization and serious performance degradation
+// https://github.com/zloirock/core-js/issues/679
+var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails(function () {
+ var array = [];
+ array[IS_CONCAT_SPREADABLE] = false;
+ return array.concat()[0] !== array;
+});
+
+var SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('concat');
+
+var isConcatSpreadable = function (O) {
+ if (!isObject(O)) return false;
+ var spreadable = O[IS_CONCAT_SPREADABLE];
+ return spreadable !== undefined ? !!spreadable : isArray(O);
+};
+
+var FORCED = !IS_CONCAT_SPREADABLE_SUPPORT || !SPECIES_SUPPORT;
+
+// `Array.prototype.concat` method
+// https://tc39.es/ecma262/#sec-array.prototype.concat
+// with adding support of @@isConcatSpreadable and @@species
+$({ target: 'Array', proto: true, forced: FORCED }, {
+ // eslint-disable-next-line no-unused-vars -- required for `.length`
+ concat: function concat(arg) {
+ var O = toObject(this);
+ var A = arraySpeciesCreate(O, 0);
+ var n = 0;
+ var i, k, length, len, E;
+ for (i = -1, length = arguments.length; i < length; i++) {
+ E = i === -1 ? O : arguments[i];
+ if (isConcatSpreadable(E)) {
+ len = lengthOfArrayLike(E);
+ if (n + len > MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
+ for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]);
+ } else {
+ if (n >= MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
+ createProperty(A, n++, E);
+ }
+ }
+ A.length = n;
+ return A;
+ }
+});
+
+},{"../internals/array-method-has-species-support":65,"../internals/array-species-create":71,"../internals/create-property":80,"../internals/engine-v8-version":89,"../internals/export":93,"../internals/fails":94,"../internals/global":104,"../internals/is-array":113,"../internals/is-object":117,"../internals/length-of-array-like":123,"../internals/to-object":157,"../internals/well-known-symbol":166}],169:[function(require,module,exports){
+'use strict';
+var $ = require('../internals/export');
+var forEach = require('../internals/array-for-each');
+
+// `Array.prototype.forEach` method
+// https://tc39.es/ecma262/#sec-array.prototype.foreach
+// eslint-disable-next-line es/no-array-prototype-foreach -- safe
+$({ target: 'Array', proto: true, forced: [].forEach != forEach }, {
+ forEach: forEach
+});
+
+},{"../internals/array-for-each":61,"../internals/export":93}],170:[function(require,module,exports){
+var $ = require('../internals/export');
+var from = require('../internals/array-from');
+var checkCorrectnessOfIteration = require('../internals/check-correctness-of-iteration');
+
+var INCORRECT_ITERATION = !checkCorrectnessOfIteration(function (iterable) {
+ // eslint-disable-next-line es/no-array-from -- required for testing
+ Array.from(iterable);
+});
+
+// `Array.from` method
+// https://tc39.es/ecma262/#sec-array.from
+$({ target: 'Array', stat: true, forced: INCORRECT_ITERATION }, {
+ from: from
+});
+
+},{"../internals/array-from":62,"../internals/check-correctness-of-iteration":73,"../internals/export":93}],171:[function(require,module,exports){
+'use strict';
+/* eslint-disable es/no-array-prototype-indexof -- required for testing */
+var $ = require('../internals/export');
+var uncurryThis = require('../internals/function-uncurry-this');
+var $IndexOf = require('../internals/array-includes').indexOf;
+var arrayMethodIsStrict = require('../internals/array-method-is-strict');
+
+var un$IndexOf = uncurryThis([].indexOf);
+
+var NEGATIVE_ZERO = !!un$IndexOf && 1 / un$IndexOf([1], 1, -0) < 0;
+var STRICT_METHOD = arrayMethodIsStrict('indexOf');
+
+// `Array.prototype.indexOf` method
+// https://tc39.es/ecma262/#sec-array.prototype.indexof
+$({ target: 'Array', proto: true, forced: NEGATIVE_ZERO || !STRICT_METHOD }, {
+ indexOf: function indexOf(searchElement /* , fromIndex = 0 */) {
+ var fromIndex = arguments.length > 1 ? arguments[1] : undefined;
+ return NEGATIVE_ZERO
+ // convert -0 to +0
+ ? un$IndexOf(this, searchElement, fromIndex) || 0
+ : $IndexOf(this, searchElement, fromIndex);
+ }
+});
+
+},{"../internals/array-includes":63,"../internals/array-method-is-strict":66,"../internals/export":93,"../internals/function-uncurry-this":99}],172:[function(require,module,exports){
+var $ = require('../internals/export');
+var isArray = require('../internals/is-array');
+
+// `Array.isArray` method
+// https://tc39.es/ecma262/#sec-array.isarray
+$({ target: 'Array', stat: true }, {
+ isArray: isArray
+});
+
+},{"../internals/export":93,"../internals/is-array":113}],173:[function(require,module,exports){
+'use strict';
+var toIndexedObject = require('../internals/to-indexed-object');
+var addToUnscopables = require('../internals/add-to-unscopables');
+var Iterators = require('../internals/iterators');
+var InternalStateModule = require('../internals/internal-state');
+var defineProperty = require('../internals/object-define-property').f;
+var defineIterator = require('../internals/define-iterator');
+var IS_PURE = require('../internals/is-pure');
+var DESCRIPTORS = require('../internals/descriptors');
+
+var ARRAY_ITERATOR = 'Array Iterator';
+var setInternalState = InternalStateModule.set;
+var getInternalState = InternalStateModule.getterFor(ARRAY_ITERATOR);
+
+// `Array.prototype.entries` method
+// https://tc39.es/ecma262/#sec-array.prototype.entries
+// `Array.prototype.keys` method
+// https://tc39.es/ecma262/#sec-array.prototype.keys
+// `Array.prototype.values` method
+// https://tc39.es/ecma262/#sec-array.prototype.values
+// `Array.prototype[@@iterator]` method
+// https://tc39.es/ecma262/#sec-array.prototype-@@iterator
+// `CreateArrayIterator` internal method
+// https://tc39.es/ecma262/#sec-createarrayiterator
+module.exports = defineIterator(Array, 'Array', function (iterated, kind) {
+ setInternalState(this, {
+ type: ARRAY_ITERATOR,
+ target: toIndexedObject(iterated), // target
+ index: 0, // next index
+ kind: kind // kind
+ });
+// `%ArrayIteratorPrototype%.next` method
+// https://tc39.es/ecma262/#sec-%arrayiteratorprototype%.next
+}, function () {
+ var state = getInternalState(this);
+ var target = state.target;
+ var kind = state.kind;
+ var index = state.index++;
+ if (!target || index >= target.length) {
+ state.target = undefined;
+ return { value: undefined, done: true };
+ }
+ if (kind == 'keys') return { value: index, done: false };
+ if (kind == 'values') return { value: target[index], done: false };
+ return { value: [index, target[index]], done: false };
+}, 'values');
+
+// argumentsList[@@iterator] is %ArrayProto_values%
+// https://tc39.es/ecma262/#sec-createunmappedargumentsobject
+// https://tc39.es/ecma262/#sec-createmappedargumentsobject
+var values = Iterators.Arguments = Iterators.Array;
+
+// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
+addToUnscopables('keys');
+addToUnscopables('values');
+addToUnscopables('entries');
+
+// V8 ~ Chrome 45- bug
+if (!IS_PURE && DESCRIPTORS && values.name !== 'values') try {
+ defineProperty(values, 'name', { value: 'values' });
+} catch (error) { /* empty */ }
+
+},{"../internals/add-to-unscopables":59,"../internals/define-iterator":81,"../internals/descriptors":83,"../internals/internal-state":111,"../internals/is-pure":118,"../internals/iterators":122,"../internals/object-define-property":129,"../internals/to-indexed-object":154}],174:[function(require,module,exports){
+'use strict';
+var $ = require('../internals/export');
+var global = require('../internals/global');
+var isArray = require('../internals/is-array');
+var isConstructor = require('../internals/is-constructor');
+var isObject = require('../internals/is-object');
+var toAbsoluteIndex = require('../internals/to-absolute-index');
+var lengthOfArrayLike = require('../internals/length-of-array-like');
+var toIndexedObject = require('../internals/to-indexed-object');
+var createProperty = require('../internals/create-property');
+var wellKnownSymbol = require('../internals/well-known-symbol');
+var arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');
+var un$Slice = require('../internals/array-slice');
+
+var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('slice');
+
+var SPECIES = wellKnownSymbol('species');
+var Array = global.Array;
+var max = Math.max;
+
+// `Array.prototype.slice` method
+// https://tc39.es/ecma262/#sec-array.prototype.slice
+// fallback for not array-like ES3 strings and DOM objects
+$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {
+ slice: function slice(start, end) {
+ var O = toIndexedObject(this);
+ var length = lengthOfArrayLike(O);
+ var k = toAbsoluteIndex(start, length);
+ var fin = toAbsoluteIndex(end === undefined ? length : end, length);
+ // inline `ArraySpeciesCreate` for usage native `Array#slice` where it's possible
+ var Constructor, result, n;
+ if (isArray(O)) {
+ Constructor = O.constructor;
+ // cross-realm fallback
+ if (isConstructor(Constructor) && (Constructor === Array || isArray(Constructor.prototype))) {
+ Constructor = undefined;
+ } else if (isObject(Constructor)) {
+ Constructor = Constructor[SPECIES];
+ if (Constructor === null) Constructor = undefined;
+ }
+ if (Constructor === Array || Constructor === undefined) {
+ return un$Slice(O, k, fin);
+ }
+ }
+ result = new (Constructor === undefined ? Array : Constructor)(max(fin - k, 0));
+ for (n = 0; k < fin; k++, n++) if (k in O) createProperty(result, n, O[k]);
+ result.length = n;
+ return result;
+ }
+});
+
+},{"../internals/array-method-has-species-support":65,"../internals/array-slice":68,"../internals/create-property":80,"../internals/export":93,"../internals/global":104,"../internals/is-array":113,"../internals/is-constructor":115,"../internals/is-object":117,"../internals/length-of-array-like":123,"../internals/to-absolute-index":153,"../internals/to-indexed-object":154,"../internals/well-known-symbol":166}],175:[function(require,module,exports){
+'use strict';
+var $ = require('../internals/export');
+var uncurryThis = require('../internals/function-uncurry-this');
+var aCallable = require('../internals/a-callable');
+var toObject = require('../internals/to-object');
+var lengthOfArrayLike = require('../internals/length-of-array-like');
+var toString = require('../internals/to-string');
+var fails = require('../internals/fails');
+var internalSort = require('../internals/array-sort');
+var arrayMethodIsStrict = require('../internals/array-method-is-strict');
+var FF = require('../internals/engine-ff-version');
+var IE_OR_EDGE = require('../internals/engine-is-ie-or-edge');
+var V8 = require('../internals/engine-v8-version');
+var WEBKIT = require('../internals/engine-webkit-version');
+
+var test = [];
+var un$Sort = uncurryThis(test.sort);
+var push = uncurryThis(test.push);
+
+// IE8-
+var FAILS_ON_UNDEFINED = fails(function () {
+ test.sort(undefined);
+});
+// V8 bug
+var FAILS_ON_NULL = fails(function () {
+ test.sort(null);
+});
+// Old WebKit
+var STRICT_METHOD = arrayMethodIsStrict('sort');
+
+var STABLE_SORT = !fails(function () {
+ // feature detection can be too slow, so check engines versions
+ if (V8) return V8 < 70;
+ if (FF && FF > 3) return;
+ if (IE_OR_EDGE) return true;
+ if (WEBKIT) return WEBKIT < 603;
+
+ var result = '';
+ var code, chr, value, index;
+
+ // generate an array with more 512 elements (Chakra and old V8 fails only in this case)
+ for (code = 65; code < 76; code++) {
+ chr = String.fromCharCode(code);
+
+ switch (code) {
+ case 66: case 69: case 70: case 72: value = 3; break;
+ case 68: case 71: value = 4; break;
+ default: value = 2;
+ }
+
+ for (index = 0; index < 47; index++) {
+ test.push({ k: chr + index, v: value });
+ }
+ }
+
+ test.sort(function (a, b) { return b.v - a.v; });
+
+ for (index = 0; index < test.length; index++) {
+ chr = test[index].k.charAt(0);
+ if (result.charAt(result.length - 1) !== chr) result += chr;
+ }
+
+ return result !== 'DGBEFHACIJK';
+});
+
+var FORCED = FAILS_ON_UNDEFINED || !FAILS_ON_NULL || !STRICT_METHOD || !STABLE_SORT;
+
+var getSortCompare = function (comparefn) {
+ return function (x, y) {
+ if (y === undefined) return -1;
+ if (x === undefined) return 1;
+ if (comparefn !== undefined) return +comparefn(x, y) || 0;
+ return toString(x) > toString(y) ? 1 : -1;
+ };
+};
+
+// `Array.prototype.sort` method
+// https://tc39.es/ecma262/#sec-array.prototype.sort
+$({ target: 'Array', proto: true, forced: FORCED }, {
+ sort: function sort(comparefn) {
+ if (comparefn !== undefined) aCallable(comparefn);
+
+ var array = toObject(this);
+
+ if (STABLE_SORT) return comparefn === undefined ? un$Sort(array) : un$Sort(array, comparefn);
+
+ var items = [];
+ var arrayLength = lengthOfArrayLike(array);
+ var itemsLength, index;
+
+ for (index = 0; index < arrayLength; index++) {
+ if (index in array) push(items, array[index]);
+ }
+
+ internalSort(items, getSortCompare(comparefn));
+
+ itemsLength = items.length;
+ index = 0;
+
+ while (index < itemsLength) array[index] = items[index++];
+ while (index < arrayLength) delete array[index++];
+
+ return array;
+ }
+});
+
+},{"../internals/a-callable":57,"../internals/array-method-is-strict":66,"../internals/array-sort":69,"../internals/engine-ff-version":86,"../internals/engine-is-ie-or-edge":87,"../internals/engine-v8-version":89,"../internals/engine-webkit-version":90,"../internals/export":93,"../internals/fails":94,"../internals/function-uncurry-this":99,"../internals/length-of-array-like":123,"../internals/to-object":157,"../internals/to-string":161}],176:[function(require,module,exports){
+var global = require('../internals/global');
+var setToStringTag = require('../internals/set-to-string-tag');
+
+// JSON[@@toStringTag] property
+// https://tc39.es/ecma262/#sec-json-@@tostringtag
+setToStringTag(global.JSON, 'JSON', true);
+
+},{"../internals/global":104,"../internals/set-to-string-tag":147}],177:[function(require,module,exports){
+// empty
+
+},{}],178:[function(require,module,exports){
+var $ = require('../internals/export');
+var DESCRIPTORS = require('../internals/descriptors');
+var create = require('../internals/object-create');
+
+// `Object.create` method
+// https://tc39.es/ecma262/#sec-object.create
+$({ target: 'Object', stat: true, sham: !DESCRIPTORS }, {
+ create: create
+});
+
+},{"../internals/descriptors":83,"../internals/export":93,"../internals/object-create":127}],179:[function(require,module,exports){
+var $ = require('../internals/export');
+var DESCRIPTORS = require('../internals/descriptors');
+var objectDefinePropertyModile = require('../internals/object-define-property');
+
+// `Object.defineProperty` method
+// https://tc39.es/ecma262/#sec-object.defineproperty
+$({ target: 'Object', stat: true, forced: !DESCRIPTORS, sham: !DESCRIPTORS }, {
+ defineProperty: objectDefinePropertyModile.f
+});
+
+},{"../internals/descriptors":83,"../internals/export":93,"../internals/object-define-property":129}],180:[function(require,module,exports){
+arguments[4][177][0].apply(exports,arguments)
+},{"dup":177}],181:[function(require,module,exports){
+var $ = require('../internals/export');
+var $parseInt = require('../internals/number-parse-int');
+
+// `parseInt` method
+// https://tc39.es/ecma262/#sec-parseint-string-radix
+$({ global: true, forced: parseInt != $parseInt }, {
+ parseInt: $parseInt
+});
+
+},{"../internals/export":93,"../internals/number-parse-int":126}],182:[function(require,module,exports){
+arguments[4][177][0].apply(exports,arguments)
+},{"dup":177}],183:[function(require,module,exports){
+arguments[4][177][0].apply(exports,arguments)
+},{"dup":177}],184:[function(require,module,exports){
+'use strict';
+var charAt = require('../internals/string-multibyte').charAt;
+var toString = require('../internals/to-string');
+var InternalStateModule = require('../internals/internal-state');
+var defineIterator = require('../internals/define-iterator');
+
+var STRING_ITERATOR = 'String Iterator';
+var setInternalState = InternalStateModule.set;
+var getInternalState = InternalStateModule.getterFor(STRING_ITERATOR);
+
+// `String.prototype[@@iterator]` method
+// https://tc39.es/ecma262/#sec-string.prototype-@@iterator
+defineIterator(String, 'String', function (iterated) {
+ setInternalState(this, {
+ type: STRING_ITERATOR,
+ string: toString(iterated),
+ index: 0
+ });
+// `%StringIteratorPrototype%.next` method
+// https://tc39.es/ecma262/#sec-%stringiteratorprototype%.next
+}, function next() {
+ var state = getInternalState(this);
+ var string = state.string;
+ var index = state.index;
+ var point;
+ if (index >= string.length) return { value: undefined, done: true };
+ point = charAt(string, index);
+ state.index += point.length;
+ return { value: point, done: false };
+});
+
+},{"../internals/define-iterator":81,"../internals/internal-state":111,"../internals/string-multibyte":151,"../internals/to-string":161}],185:[function(require,module,exports){
+var defineWellKnownSymbol = require('../internals/define-well-known-symbol');
+
+// `Symbol.asyncIterator` well-known symbol
+// https://tc39.es/ecma262/#sec-symbol.asynciterator
+defineWellKnownSymbol('asyncIterator');
+
+},{"../internals/define-well-known-symbol":82}],186:[function(require,module,exports){
+arguments[4][177][0].apply(exports,arguments)
+},{"dup":177}],187:[function(require,module,exports){
+var defineWellKnownSymbol = require('../internals/define-well-known-symbol');
+
+// `Symbol.hasInstance` well-known symbol
+// https://tc39.es/ecma262/#sec-symbol.hasinstance
+defineWellKnownSymbol('hasInstance');
+
+},{"../internals/define-well-known-symbol":82}],188:[function(require,module,exports){
+var defineWellKnownSymbol = require('../internals/define-well-known-symbol');
+
+// `Symbol.isConcatSpreadable` well-known symbol
+// https://tc39.es/ecma262/#sec-symbol.isconcatspreadable
+defineWellKnownSymbol('isConcatSpreadable');
+
+},{"../internals/define-well-known-symbol":82}],189:[function(require,module,exports){
+var defineWellKnownSymbol = require('../internals/define-well-known-symbol');
+
+// `Symbol.iterator` well-known symbol
+// https://tc39.es/ecma262/#sec-symbol.iterator
+defineWellKnownSymbol('iterator');
+
+},{"../internals/define-well-known-symbol":82}],190:[function(require,module,exports){
+'use strict';
+var $ = require('../internals/export');
+var global = require('../internals/global');
+var getBuiltIn = require('../internals/get-built-in');
+var apply = require('../internals/function-apply');
+var call = require('../internals/function-call');
+var uncurryThis = require('../internals/function-uncurry-this');
+var IS_PURE = require('../internals/is-pure');
+var DESCRIPTORS = require('../internals/descriptors');
+var NATIVE_SYMBOL = require('../internals/native-symbol');
+var fails = require('../internals/fails');
+var hasOwn = require('../internals/has-own-property');
+var isArray = require('../internals/is-array');
+var isCallable = require('../internals/is-callable');
+var isObject = require('../internals/is-object');
+var isPrototypeOf = require('../internals/object-is-prototype-of');
+var isSymbol = require('../internals/is-symbol');
+var anObject = require('../internals/an-object');
+var toObject = require('../internals/to-object');
+var toIndexedObject = require('../internals/to-indexed-object');
+var toPropertyKey = require('../internals/to-property-key');
+var $toString = require('../internals/to-string');
+var createPropertyDescriptor = require('../internals/create-property-descriptor');
+var nativeObjectCreate = require('../internals/object-create');
+var objectKeys = require('../internals/object-keys');
+var getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');
+var getOwnPropertyNamesExternal = require('../internals/object-get-own-property-names-external');
+var getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');
+var getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');
+var definePropertyModule = require('../internals/object-define-property');
+var propertyIsEnumerableModule = require('../internals/object-property-is-enumerable');
+var arraySlice = require('../internals/array-slice');
+var redefine = require('../internals/redefine');
+var shared = require('../internals/shared');
+var sharedKey = require('../internals/shared-key');
+var hiddenKeys = require('../internals/hidden-keys');
+var uid = require('../internals/uid');
+var wellKnownSymbol = require('../internals/well-known-symbol');
+var wrappedWellKnownSymbolModule = require('../internals/well-known-symbol-wrapped');
+var defineWellKnownSymbol = require('../internals/define-well-known-symbol');
+var setToStringTag = require('../internals/set-to-string-tag');
+var InternalStateModule = require('../internals/internal-state');
+var $forEach = require('../internals/array-iteration').forEach;
+
+var HIDDEN = sharedKey('hidden');
+var SYMBOL = 'Symbol';
+var PROTOTYPE = 'prototype';
+var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');
+
+var setInternalState = InternalStateModule.set;
+var getInternalState = InternalStateModule.getterFor(SYMBOL);
+
+var ObjectPrototype = Object[PROTOTYPE];
+var $Symbol = global.Symbol;
+var SymbolPrototype = $Symbol && $Symbol[PROTOTYPE];
+var TypeError = global.TypeError;
+var QObject = global.QObject;
+var $stringify = getBuiltIn('JSON', 'stringify');
+var nativeGetOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
+var nativeDefineProperty = definePropertyModule.f;
+var nativeGetOwnPropertyNames = getOwnPropertyNamesExternal.f;
+var nativePropertyIsEnumerable = propertyIsEnumerableModule.f;
+var push = uncurryThis([].push);
+
+var AllSymbols = shared('symbols');
+var ObjectPrototypeSymbols = shared('op-symbols');
+var StringToSymbolRegistry = shared('string-to-symbol-registry');
+var SymbolToStringRegistry = shared('symbol-to-string-registry');
+var WellKnownSymbolsStore = shared('wks');
+
+// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173
+var USE_SETTER = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;
+
+// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687
+var setSymbolDescriptor = DESCRIPTORS && fails(function () {
+ return nativeObjectCreate(nativeDefineProperty({}, 'a', {
+ get: function () { return nativeDefineProperty(this, 'a', { value: 7 }).a; }
+ })).a != 7;
+}) ? function (O, P, Attributes) {
+ var ObjectPrototypeDescriptor = nativeGetOwnPropertyDescriptor(ObjectPrototype, P);
+ if (ObjectPrototypeDescriptor) delete ObjectPrototype[P];
+ nativeDefineProperty(O, P, Attributes);
+ if (ObjectPrototypeDescriptor && O !== ObjectPrototype) {
+ nativeDefineProperty(ObjectPrototype, P, ObjectPrototypeDescriptor);
+ }
+} : nativeDefineProperty;
+
+var wrap = function (tag, description) {
+ var symbol = AllSymbols[tag] = nativeObjectCreate(SymbolPrototype);
+ setInternalState(symbol, {
+ type: SYMBOL,
+ tag: tag,
+ description: description
+ });
+ if (!DESCRIPTORS) symbol.description = description;
+ return symbol;
+};
+
+var $defineProperty = function defineProperty(O, P, Attributes) {
+ if (O === ObjectPrototype) $defineProperty(ObjectPrototypeSymbols, P, Attributes);
+ anObject(O);
+ var key = toPropertyKey(P);
+ anObject(Attributes);
+ if (hasOwn(AllSymbols, key)) {
+ if (!Attributes.enumerable) {
+ if (!hasOwn(O, HIDDEN)) nativeDefineProperty(O, HIDDEN, createPropertyDescriptor(1, {}));
+ O[HIDDEN][key] = true;
+ } else {
+ if (hasOwn(O, HIDDEN) && O[HIDDEN][key]) O[HIDDEN][key] = false;
+ Attributes = nativeObjectCreate(Attributes, { enumerable: createPropertyDescriptor(0, false) });
+ } return setSymbolDescriptor(O, key, Attributes);
+ } return nativeDefineProperty(O, key, Attributes);
+};
+
+var $defineProperties = function defineProperties(O, Properties) {
+ anObject(O);
+ var properties = toIndexedObject(Properties);
+ var keys = objectKeys(properties).concat($getOwnPropertySymbols(properties));
+ $forEach(keys, function (key) {
+ if (!DESCRIPTORS || call($propertyIsEnumerable, properties, key)) $defineProperty(O, key, properties[key]);
+ });
+ return O;
+};
+
+var $create = function create(O, Properties) {
+ return Properties === undefined ? nativeObjectCreate(O) : $defineProperties(nativeObjectCreate(O), Properties);
+};
+
+var $propertyIsEnumerable = function propertyIsEnumerable(V) {
+ var P = toPropertyKey(V);
+ var enumerable = call(nativePropertyIsEnumerable, this, P);
+ if (this === ObjectPrototype && hasOwn(AllSymbols, P) && !hasOwn(ObjectPrototypeSymbols, P)) return false;
+ return enumerable || !hasOwn(this, P) || !hasOwn(AllSymbols, P) || hasOwn(this, HIDDEN) && this[HIDDEN][P]
+ ? enumerable : true;
+};
+
+var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(O, P) {
+ var it = toIndexedObject(O);
+ var key = toPropertyKey(P);
+ if (it === ObjectPrototype && hasOwn(AllSymbols, key) && !hasOwn(ObjectPrototypeSymbols, key)) return;
+ var descriptor = nativeGetOwnPropertyDescriptor(it, key);
+ if (descriptor && hasOwn(AllSymbols, key) && !(hasOwn(it, HIDDEN) && it[HIDDEN][key])) {
+ descriptor.enumerable = true;
+ }
+ return descriptor;
+};
+
+var $getOwnPropertyNames = function getOwnPropertyNames(O) {
+ var names = nativeGetOwnPropertyNames(toIndexedObject(O));
+ var result = [];
+ $forEach(names, function (key) {
+ if (!hasOwn(AllSymbols, key) && !hasOwn(hiddenKeys, key)) push(result, key);
+ });
+ return result;
+};
+
+var $getOwnPropertySymbols = function getOwnPropertySymbols(O) {
+ var IS_OBJECT_PROTOTYPE = O === ObjectPrototype;
+ var names = nativeGetOwnPropertyNames(IS_OBJECT_PROTOTYPE ? ObjectPrototypeSymbols : toIndexedObject(O));
+ var result = [];
+ $forEach(names, function (key) {
+ if (hasOwn(AllSymbols, key) && (!IS_OBJECT_PROTOTYPE || hasOwn(ObjectPrototype, key))) {
+ push(result, AllSymbols[key]);
+ }
+ });
+ return result;
+};
+
+// `Symbol` constructor
+// https://tc39.es/ecma262/#sec-symbol-constructor
+if (!NATIVE_SYMBOL) {
+ $Symbol = function Symbol() {
+ if (isPrototypeOf(SymbolPrototype, this)) throw TypeError('Symbol is not a constructor');
+ var description = !arguments.length || arguments[0] === undefined ? undefined : $toString(arguments[0]);
+ var tag = uid(description);
+ var setter = function (value) {
+ if (this === ObjectPrototype) call(setter, ObjectPrototypeSymbols, value);
+ if (hasOwn(this, HIDDEN) && hasOwn(this[HIDDEN], tag)) this[HIDDEN][tag] = false;
+ setSymbolDescriptor(this, tag, createPropertyDescriptor(1, value));
+ };
+ if (DESCRIPTORS && USE_SETTER) setSymbolDescriptor(ObjectPrototype, tag, { configurable: true, set: setter });
+ return wrap(tag, description);
+ };
+
+ SymbolPrototype = $Symbol[PROTOTYPE];
+
+ redefine(SymbolPrototype, 'toString', function toString() {
+ return getInternalState(this).tag;
+ });
+
+ redefine($Symbol, 'withoutSetter', function (description) {
+ return wrap(uid(description), description);
+ });
+
+ propertyIsEnumerableModule.f = $propertyIsEnumerable;
+ definePropertyModule.f = $defineProperty;
+ getOwnPropertyDescriptorModule.f = $getOwnPropertyDescriptor;
+ getOwnPropertyNamesModule.f = getOwnPropertyNamesExternal.f = $getOwnPropertyNames;
+ getOwnPropertySymbolsModule.f = $getOwnPropertySymbols;
+
+ wrappedWellKnownSymbolModule.f = function (name) {
+ return wrap(wellKnownSymbol(name), name);
+ };
+
+ if (DESCRIPTORS) {
+ // https://github.com/tc39/proposal-Symbol-description
+ nativeDefineProperty(SymbolPrototype, 'description', {
+ configurable: true,
+ get: function description() {
+ return getInternalState(this).description;
+ }
+ });
+ if (!IS_PURE) {
+ redefine(ObjectPrototype, 'propertyIsEnumerable', $propertyIsEnumerable, { unsafe: true });
+ }
+ }
+}
+
+$({ global: true, wrap: true, forced: !NATIVE_SYMBOL, sham: !NATIVE_SYMBOL }, {
+ Symbol: $Symbol
+});
+
+$forEach(objectKeys(WellKnownSymbolsStore), function (name) {
+ defineWellKnownSymbol(name);
+});
+
+$({ target: SYMBOL, stat: true, forced: !NATIVE_SYMBOL }, {
+ // `Symbol.for` method
+ // https://tc39.es/ecma262/#sec-symbol.for
+ 'for': function (key) {
+ var string = $toString(key);
+ if (hasOwn(StringToSymbolRegistry, string)) return StringToSymbolRegistry[string];
+ var symbol = $Symbol(string);
+ StringToSymbolRegistry[string] = symbol;
+ SymbolToStringRegistry[symbol] = string;
+ return symbol;
+ },
+ // `Symbol.keyFor` method
+ // https://tc39.es/ecma262/#sec-symbol.keyfor
+ keyFor: function keyFor(sym) {
+ if (!isSymbol(sym)) throw TypeError(sym + ' is not a symbol');
+ if (hasOwn(SymbolToStringRegistry, sym)) return SymbolToStringRegistry[sym];
+ },
+ useSetter: function () { USE_SETTER = true; },
+ useSimple: function () { USE_SETTER = false; }
+});
+
+$({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL, sham: !DESCRIPTORS }, {
+ // `Object.create` method
+ // https://tc39.es/ecma262/#sec-object.create
+ create: $create,
+ // `Object.defineProperty` method
+ // https://tc39.es/ecma262/#sec-object.defineproperty
+ defineProperty: $defineProperty,
+ // `Object.defineProperties` method
+ // https://tc39.es/ecma262/#sec-object.defineproperties
+ defineProperties: $defineProperties,
+ // `Object.getOwnPropertyDescriptor` method
+ // https://tc39.es/ecma262/#sec-object.getownpropertydescriptors
+ getOwnPropertyDescriptor: $getOwnPropertyDescriptor
+});
+
+$({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL }, {
+ // `Object.getOwnPropertyNames` method
+ // https://tc39.es/ecma262/#sec-object.getownpropertynames
+ getOwnPropertyNames: $getOwnPropertyNames,
+ // `Object.getOwnPropertySymbols` method
+ // https://tc39.es/ecma262/#sec-object.getownpropertysymbols
+ getOwnPropertySymbols: $getOwnPropertySymbols
+});
+
+// Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives
+// https://bugs.chromium.org/p/v8/issues/detail?id=3443
+$({ target: 'Object', stat: true, forced: fails(function () { getOwnPropertySymbolsModule.f(1); }) }, {
+ getOwnPropertySymbols: function getOwnPropertySymbols(it) {
+ return getOwnPropertySymbolsModule.f(toObject(it));
+ }
+});
+
+// `JSON.stringify` method behavior with symbols
+// https://tc39.es/ecma262/#sec-json.stringify
+if ($stringify) {
+ var FORCED_JSON_STRINGIFY = !NATIVE_SYMBOL || fails(function () {
+ var symbol = $Symbol();
+ // MS Edge converts symbol values to JSON as {}
+ return $stringify([symbol]) != '[null]'
+ // WebKit converts symbol values to JSON as null
+ || $stringify({ a: symbol }) != '{}'
+ // V8 throws on boxed symbols
+ || $stringify(Object(symbol)) != '{}';
+ });
+
+ $({ target: 'JSON', stat: true, forced: FORCED_JSON_STRINGIFY }, {
+ // eslint-disable-next-line no-unused-vars -- required for `.length`
+ stringify: function stringify(it, replacer, space) {
+ var args = arraySlice(arguments);
+ var $replacer = replacer;
+ if (!isObject(replacer) && it === undefined || isSymbol(it)) return; // IE8 returns string on undefined
+ if (!isArray(replacer)) replacer = function (key, value) {
+ if (isCallable($replacer)) value = call($replacer, this, key, value);
+ if (!isSymbol(value)) return value;
+ };
+ args[1] = replacer;
+ return apply($stringify, null, args);
+ }
+ });
+}
+
+// `Symbol.prototype[@@toPrimitive]` method
+// https://tc39.es/ecma262/#sec-symbol.prototype-@@toprimitive
+if (!SymbolPrototype[TO_PRIMITIVE]) {
+ var valueOf = SymbolPrototype.valueOf;
+ // eslint-disable-next-line no-unused-vars -- required for .length
+ redefine(SymbolPrototype, TO_PRIMITIVE, function (hint) {
+ // TODO: improve hint logic
+ return call(valueOf, this);
+ });
+}
+// `Symbol.prototype[@@toStringTag]` property
+// https://tc39.es/ecma262/#sec-symbol.prototype-@@tostringtag
+setToStringTag($Symbol, SYMBOL);
+
+hiddenKeys[HIDDEN] = true;
+
+},{"../internals/an-object":60,"../internals/array-iteration":64,"../internals/array-slice":68,"../internals/create-property-descriptor":79,"../internals/define-well-known-symbol":82,"../internals/descriptors":83,"../internals/export":93,"../internals/fails":94,"../internals/function-apply":95,"../internals/function-call":97,"../internals/function-uncurry-this":99,"../internals/get-built-in":100,"../internals/global":104,"../internals/has-own-property":105,"../internals/hidden-keys":106,"../internals/internal-state":111,"../internals/is-array":113,"../internals/is-callable":114,"../internals/is-object":117,"../internals/is-pure":118,"../internals/is-symbol":119,"../internals/native-symbol":124,"../internals/object-create":127,"../internals/object-define-property":129,"../internals/object-get-own-property-descriptor":130,"../internals/object-get-own-property-names":132,"../internals/object-get-own-property-names-external":131,"../internals/object-get-own-property-symbols":133,"../internals/object-is-prototype-of":135,"../internals/object-keys":137,"../internals/object-property-is-enumerable":138,"../internals/redefine":143,"../internals/set-to-string-tag":147,"../internals/shared":150,"../internals/shared-key":148,"../internals/to-indexed-object":154,"../internals/to-object":157,"../internals/to-property-key":159,"../internals/to-string":161,"../internals/uid":163,"../internals/well-known-symbol":166,"../internals/well-known-symbol-wrapped":165}],191:[function(require,module,exports){
+var defineWellKnownSymbol = require('../internals/define-well-known-symbol');
+
+// `Symbol.matchAll` well-known symbol
+// https://tc39.es/ecma262/#sec-symbol.matchall
+defineWellKnownSymbol('matchAll');
+
+},{"../internals/define-well-known-symbol":82}],192:[function(require,module,exports){
+var defineWellKnownSymbol = require('../internals/define-well-known-symbol');
+
+// `Symbol.match` well-known symbol
+// https://tc39.es/ecma262/#sec-symbol.match
+defineWellKnownSymbol('match');
+
+},{"../internals/define-well-known-symbol":82}],193:[function(require,module,exports){
+var defineWellKnownSymbol = require('../internals/define-well-known-symbol');
+
+// `Symbol.replace` well-known symbol
+// https://tc39.es/ecma262/#sec-symbol.replace
+defineWellKnownSymbol('replace');
+
+},{"../internals/define-well-known-symbol":82}],194:[function(require,module,exports){
+var defineWellKnownSymbol = require('../internals/define-well-known-symbol');
+
+// `Symbol.search` well-known symbol
+// https://tc39.es/ecma262/#sec-symbol.search
+defineWellKnownSymbol('search');
+
+},{"../internals/define-well-known-symbol":82}],195:[function(require,module,exports){
+var defineWellKnownSymbol = require('../internals/define-well-known-symbol');
+
+// `Symbol.species` well-known symbol
+// https://tc39.es/ecma262/#sec-symbol.species
+defineWellKnownSymbol('species');
+
+},{"../internals/define-well-known-symbol":82}],196:[function(require,module,exports){
+var defineWellKnownSymbol = require('../internals/define-well-known-symbol');
+
+// `Symbol.split` well-known symbol
+// https://tc39.es/ecma262/#sec-symbol.split
+defineWellKnownSymbol('split');
+
+},{"../internals/define-well-known-symbol":82}],197:[function(require,module,exports){
+var defineWellKnownSymbol = require('../internals/define-well-known-symbol');
+
+// `Symbol.toPrimitive` well-known symbol
+// https://tc39.es/ecma262/#sec-symbol.toprimitive
+defineWellKnownSymbol('toPrimitive');
+
+},{"../internals/define-well-known-symbol":82}],198:[function(require,module,exports){
+var defineWellKnownSymbol = require('../internals/define-well-known-symbol');
+
+// `Symbol.toStringTag` well-known symbol
+// https://tc39.es/ecma262/#sec-symbol.tostringtag
+defineWellKnownSymbol('toStringTag');
+
+},{"../internals/define-well-known-symbol":82}],199:[function(require,module,exports){
+var defineWellKnownSymbol = require('../internals/define-well-known-symbol');
+
+// `Symbol.unscopables` well-known symbol
+// https://tc39.es/ecma262/#sec-symbol.unscopables
+defineWellKnownSymbol('unscopables');
+
+},{"../internals/define-well-known-symbol":82}],200:[function(require,module,exports){
+var defineWellKnownSymbol = require('../internals/define-well-known-symbol');
+
+// `Symbol.asyncDispose` well-known symbol
+// https://github.com/tc39/proposal-using-statement
+defineWellKnownSymbol('asyncDispose');
+
+},{"../internals/define-well-known-symbol":82}],201:[function(require,module,exports){
+var defineWellKnownSymbol = require('../internals/define-well-known-symbol');
+
+// `Symbol.dispose` well-known symbol
+// https://github.com/tc39/proposal-using-statement
+defineWellKnownSymbol('dispose');
+
+},{"../internals/define-well-known-symbol":82}],202:[function(require,module,exports){
+var defineWellKnownSymbol = require('../internals/define-well-known-symbol');
+
+// `Symbol.matcher` well-known symbol
+// https://github.com/tc39/proposal-pattern-matching
+defineWellKnownSymbol('matcher');
+
+},{"../internals/define-well-known-symbol":82}],203:[function(require,module,exports){
+var defineWellKnownSymbol = require('../internals/define-well-known-symbol');
+
+// `Symbol.metadata` well-known symbol
+// https://github.com/tc39/proposal-decorators
+defineWellKnownSymbol('metadata');
+
+},{"../internals/define-well-known-symbol":82}],204:[function(require,module,exports){
+var defineWellKnownSymbol = require('../internals/define-well-known-symbol');
+
+// `Symbol.observable` well-known symbol
+// https://github.com/tc39/proposal-observable
+defineWellKnownSymbol('observable');
+
+},{"../internals/define-well-known-symbol":82}],205:[function(require,module,exports){
+// TODO: remove from `core-js@4`
+var defineWellKnownSymbol = require('../internals/define-well-known-symbol');
+
+// `Symbol.patternMatch` well-known symbol
+// https://github.com/tc39/proposal-pattern-matching
+defineWellKnownSymbol('patternMatch');
+
+},{"../internals/define-well-known-symbol":82}],206:[function(require,module,exports){
+// TODO: remove from `core-js@4`
+var defineWellKnownSymbol = require('../internals/define-well-known-symbol');
+
+defineWellKnownSymbol('replaceAll');
+
+},{"../internals/define-well-known-symbol":82}],207:[function(require,module,exports){
+require('../modules/es.array.iterator');
+var DOMIterables = require('../internals/dom-iterables');
+var global = require('../internals/global');
+var classof = require('../internals/classof');
+var createNonEnumerableProperty = require('../internals/create-non-enumerable-property');
+var Iterators = require('../internals/iterators');
+var wellKnownSymbol = require('../internals/well-known-symbol');
+
+var TO_STRING_TAG = wellKnownSymbol('toStringTag');
+
+for (var COLLECTION_NAME in DOMIterables) {
+ var Collection = global[COLLECTION_NAME];
+ var CollectionPrototype = Collection && Collection.prototype;
+ if (CollectionPrototype && classof(CollectionPrototype) !== TO_STRING_TAG) {
+ createNonEnumerableProperty(CollectionPrototype, TO_STRING_TAG, COLLECTION_NAME);
+ }
+ Iterators[COLLECTION_NAME] = Iterators.Array;
+}
+
+},{"../internals/classof":75,"../internals/create-non-enumerable-property":78,"../internals/dom-iterables":85,"../internals/global":104,"../internals/iterators":122,"../internals/well-known-symbol":166,"../modules/es.array.iterator":173}],208:[function(require,module,exports){
+var parent = require('../../es/array/from');
+
+module.exports = parent;
+
+},{"../../es/array/from":34}],209:[function(require,module,exports){
+var parent = require('../../es/array/is-array');
+
+module.exports = parent;
+
+},{"../../es/array/is-array":35}],210:[function(require,module,exports){
+var parent = require('../../../es/array/virtual/for-each');
+
+module.exports = parent;
+
+},{"../../../es/array/virtual/for-each":37}],211:[function(require,module,exports){
+var parent = require('../es/get-iterator-method');
+require('../modules/web.dom-collections.iterator');
+
+module.exports = parent;
+
+},{"../es/get-iterator-method":41,"../modules/web.dom-collections.iterator":207}],212:[function(require,module,exports){
+var parent = require('../../es/instance/concat');
+
+module.exports = parent;
+
+},{"../../es/instance/concat":42}],213:[function(require,module,exports){
+var parent = require('../../es/instance/flags');
+
+module.exports = parent;
+
+},{"../../es/instance/flags":43}],214:[function(require,module,exports){
+require('../../modules/web.dom-collections.iterator');
+var classof = require('../../internals/classof');
+var hasOwn = require('../../internals/has-own-property');
+var isPrototypeOf = require('../../internals/object-is-prototype-of');
+var method = require('../array/virtual/for-each');
+
+var ArrayPrototype = Array.prototype;
+
+var DOMIterables = {
+ DOMTokenList: true,
+ NodeList: true
+};
+
+module.exports = function (it) {
+ var own = it.forEach;
+ return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.forEach)
+ || hasOwn(DOMIterables, classof(it)) ? method : own;
+};
+
+},{"../../internals/classof":75,"../../internals/has-own-property":105,"../../internals/object-is-prototype-of":135,"../../modules/web.dom-collections.iterator":207,"../array/virtual/for-each":210}],215:[function(require,module,exports){
+var parent = require('../../es/instance/index-of');
+
+module.exports = parent;
+
+},{"../../es/instance/index-of":44}],216:[function(require,module,exports){
+var parent = require('../../es/instance/slice');
+
+module.exports = parent;
+
+},{"../../es/instance/slice":45}],217:[function(require,module,exports){
+var parent = require('../../es/instance/sort');
+
+module.exports = parent;
+
+},{"../../es/instance/sort":46}],218:[function(require,module,exports){
+var parent = require('../../es/object/create');
+
+module.exports = parent;
+
+},{"../../es/object/create":47}],219:[function(require,module,exports){
+var parent = require('../../es/object/define-property');
+
+module.exports = parent;
+
+},{"../../es/object/define-property":48}],220:[function(require,module,exports){
+var parent = require('../es/parse-int');
+
+module.exports = parent;
+
+},{"../es/parse-int":49}],221:[function(require,module,exports){
+var parent = require('../../es/symbol');
+require('../../modules/web.dom-collections.iterator');
+
+module.exports = parent;
+
+},{"../../es/symbol":51,"../../modules/web.dom-collections.iterator":207}],222:[function(require,module,exports){
+module.exports = [
+ {
+ 'name': 'C',
+ 'alias': 'Other',
+ 'isBmpLast': true,
+ 'bmp': '\0-\x1F\x7F-\x9F\xAD\u0378\u0379\u0380-\u0383\u038B\u038D\u03A2\u0530\u0557\u0558\u058B\u058C\u0590\u05C8-\u05CF\u05EB-\u05EE\u05F5-\u0605\u061C\u06DD\u070E\u070F\u074B\u074C\u07B2-\u07BF\u07FB\u07FC\u082E\u082F\u083F\u085C\u085D\u085F\u086B-\u086F\u088F-\u0897\u08E2\u0984\u098D\u098E\u0991\u0992\u09A9\u09B1\u09B3-\u09B5\u09BA\u09BB\u09C5\u09C6\u09C9\u09CA\u09CF-\u09D6\u09D8-\u09DB\u09DE\u09E4\u09E5\u09FF\u0A00\u0A04\u0A0B-\u0A0E\u0A11\u0A12\u0A29\u0A31\u0A34\u0A37\u0A3A\u0A3B\u0A3D\u0A43-\u0A46\u0A49\u0A4A\u0A4E-\u0A50\u0A52-\u0A58\u0A5D\u0A5F-\u0A65\u0A77-\u0A80\u0A84\u0A8E\u0A92\u0AA9\u0AB1\u0AB4\u0ABA\u0ABB\u0AC6\u0ACA\u0ACE\u0ACF\u0AD1-\u0ADF\u0AE4\u0AE5\u0AF2-\u0AF8\u0B00\u0B04\u0B0D\u0B0E\u0B11\u0B12\u0B29\u0B31\u0B34\u0B3A\u0B3B\u0B45\u0B46\u0B49\u0B4A\u0B4E-\u0B54\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\u0C0D\u0C11\u0C29\u0C3A\u0C3B\u0C45\u0C49\u0C4E-\u0C54\u0C57\u0C5B\u0C5C\u0C5E\u0C5F\u0C64\u0C65\u0C70-\u0C76\u0C8D\u0C91\u0CA9\u0CB4\u0CBA\u0CBB\u0CC5\u0CC9\u0CCE-\u0CD4\u0CD7-\u0CDC\u0CDF\u0CE4\u0CE5\u0CF0\u0CF3-\u0CFF\u0D0D\u0D11\u0D45\u0D49\u0D50-\u0D53\u0D64\u0D65\u0D80\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\u0E8B\u0EA4\u0EA6\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\u1716-\u171E\u1737-\u173F\u1754-\u175F\u176D\u1771\u1774-\u177F\u17DE\u17DF\u17EA-\u17EF\u17FA-\u17FF\u180E\u181A-\u181F\u1879-\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\u1ACF-\u1AFF\u1B4D-\u1B4F\u1B7F\u1BF4-\u1BFB\u1C38-\u1C3A\u1C4A-\u1C4C\u1C89-\u1C8F\u1CBB\u1CBC\u1CC8-\u1CCF\u1CFB-\u1CFF\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\u20C1-\u20CF\u20F1-\u20FF\u218C-\u218F\u2427-\u243F\u244B-\u245F\u2B74\u2B75\u2B96\u2CF4-\u2CF8\u2D26\u2D28-\u2D2C\u2D2E\u2D2F\u2D68-\u2D6E\u2D71-\u2D7E\u2D97-\u2D9F\u2DA7\u2DAF\u2DB7\u2DBF\u2DC7\u2DCF\u2DD7\u2DDF\u2E5E-\u2E7F\u2E9A\u2EF4-\u2EFF\u2FD6-\u2FEF\u2FFC-\u2FFF\u3040\u3097\u3098\u3100-\u3104\u3130\u318F\u31E4-\u31EF\u321F\uA48D-\uA48F\uA4C7-\uA4CF\uA62C-\uA63F\uA6F8-\uA6FF\uA7CB-\uA7CF\uA7D2\uA7D4\uA7DA-\uA7F1\uA82D-\uA82F\uA83A-\uA83F\uA878-\uA87F\uA8C6-\uA8CD\uA8DA-\uA8DF\uA954-\uA95E\uA97D-\uA97F\uA9CE\uA9DA-\uA9DD\uA9FF\uAA37-\uAA3F\uAA4E\uAA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uDF74-\uDF7F\uDFD9-\uDFDF\uDFEC-\uDFEF\uDFF1-\uDFFF]|\uD83E[\uDC0C-\uDC0F\uDC48-\uDC4F\uDC5A-\uDC5F\uDC88-\uDC8F\uDCAE\uDCAF\uDCB2-\uDCFF\uDE54-\uDE5F\uDE6E\uDE6F\uDE75-\uDE77\uDE7D-\uDE7F\uDE87-\uDE8F\uDEAD-\uDEAF\uDEBB-\uDEBF\uDEC6-\uDECF\uDEDA-\uDEDF\uDEE8-\uDEEF\uDEF7-\uDEFF\uDF93\uDFCB-\uDFEF\uDFFA-\uDFFF]|\uD869[\uDEE0-\uDEFF]|\uD86D[\uDF39-\uDF3F]|\uD86E[\uDC1E\uDC1F]|\uD873[\uDEA2-\uDEAF]|\uD87A[\uDFE1-\uDFFF]|\uD87E[\uDE1E-\uDFFF]|\uD884[\uDF4B-\uDFFF]|\uDB40[\uDC00-\uDCFF\uDDF0-\uDFFF]'
},
{
- optionalFlags: 'n',
- leadChar: '('
+ 'name': 'Cc',
+ 'alias': 'Control',
+ 'bmp': '\0-\x1F\x7F-\x9F'
+ },
+ {
+ 'name': 'Cf',
+ 'alias': 'Format',
+ 'bmp': '\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB',
+ 'astral': '\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC38]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]'
+ },
+ {
+ 'name': 'Cn',
+ 'alias': 'Unassigned',
+ 'bmp': '\u0378\u0379\u0380-\u0383\u038B\u038D\u03A2\u0530\u0557\u0558\u058B\u058C\u0590\u05C8-\u05CF\u05EB-\u05EE\u05F5-\u05FF\u070E\u074B\u074C\u07B2-\u07BF\u07FB\u07FC\u082E\u082F\u083F\u085C\u085D\u085F\u086B-\u086F\u088F\u0892-\u0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F1\u0DF5-\u0E00\u0E3B-\u0E3E\u0E5C-\u0E80\u0E83\u0E85\u0E8B\u0EA4\u0EA6\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\u1716-\u171E\u1737-\u173F\u1754-\u175F\u176D\u1771\u1774-\u177F\u17DE\u17DF\u17EA-\u17EF\u17FA-\u17FF\u181A-\u181F\u1879-\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\u1ACF-\u1AFF\u1B4D-\u1B4F\u1B7F\u1BF4-\u1BFB\u1C38-\u1C3A\u1C4A-\u1C4C\u1C89-\u1C8F\u1CBB\u1CBC\u1CC8-\u1CCF\u1CFB-\u1CFF\u1F16\u1F17\u1F1E\u1F1F\u1F46\u1F47\u1F4E\u1F4F\u1F58\u1F5A\u1F5C\u1F5E\u1F7E\u1F7F\u1FB5\u1FC5\u1FD4\u1FD5\u1FDC\u1FF0\u1FF1\u1FF5\u1FFF\u2065\u2072\u2073\u208F\u209D-\u209F\u20C1-\u20CF\u20F1-\u20FF\u218C-\u218F\u2427-\u243F\u244B-\u245F\u2B74\u2B75\u2B96\u2CF4-\u2CF8\u2D26\u2D28-\u2D2C\u2D2E\u2D2F\u2D68-\u2D6E\u2D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\uDBFF][\uDC00-\uDFFD]'
+ },
+ {
+ 'name': 'Cs',
+ 'alias': 'Surrogate',
+ 'bmp': '\uD800-\uDFFF'
+ },
+ {
+ 'name': 'L',
+ 'alias': 'Letter',
+ 'bmp': 'A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\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\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\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\u2183\u2184\u2C00-\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\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC',
+ 'astral': '\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\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-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\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]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A]'
+ },
+ {
+ 'name': 'LC',
+ 'alias': 'Cased_Letter',
+ 'bmp': 'A-Za-z\xB5\xC0-\xD6\xD8-\xF6\xF8-\u01BA\u01BC-\u01BF\u01C4-\u0293\u0295-\u02AF\u0370-\u0373\u0376\u0377\u037B-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0560-\u0588\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FD-\u10FF\u13A0-\u13F5\u13F8-\u13FD\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1D00-\u1D2B\u1D6B-\u1D77\u1D79-\u1D9A\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\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2134\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C7B\u2C7E-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\uA640-\uA66D\uA680-\uA69B\uA722-\uA76F\uA771-\uA787\uA78B-\uA78E\uA790-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F5\uA7F6\uA7FA\uAB30-\uAB5A\uAB60-\uAB68\uAB70-\uABBF\uFB00-\uFB06\uFB13-\uFB17\uFF21-\uFF3A\uFF41-\uFF5A',
+ 'astral': '\uD801[\uDC00-\uDC4F\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC]|\uD803[\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD806[\uDCA0-\uDCDF]|\uD81B[\uDE40-\uDE7F]|\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-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF09\uDF0B-\uDF1E]|\uD83A[\uDD00-\uDD43]'
+ },
+ {
+ 'name': 'Ll',
+ 'alias': 'Lowercase_Letter',
+ 'bmp': 'a-z\xB5\xDF-\xF6\xF8-\xFF\u0101\u0103\u0105\u0107\u0109\u010B\u010D\u010F\u0111\u0113\u0115\u0117\u0119\u011B\u011D\u011F\u0121\u0123\u0125\u0127\u0129\u012B\u012D\u012F\u0131\u0133\u0135\u0137\u0138\u013A\u013C\u013E\u0140\u0142\u0144\u0146\u0148\u0149\u014B\u014D\u014F\u0151\u0153\u0155\u0157\u0159\u015B\u015D\u015F\u0161\u0163\u0165\u0167\u0169\u016B\u016D\u016F\u0171\u0173\u0175\u0177\u017A\u017C\u017E-\u0180\u0183\u0185\u0188\u018C\u018D\u0192\u0195\u0199-\u019B\u019E\u01A1\u01A3\u01A5\u01A8\u01AA\u01AB\u01AD\u01B0\u01B4\u01B6\u01B9\u01BA\u01BD-\u01BF\u01C6\u01C9\u01CC\u01CE\u01D0\u01D2\u01D4\u01D6\u01D8\u01DA\u01DC\u01DD\u01DF\u01E1\u01E3\u01E5\u01E7\u01E9\u01EB\u01ED\u01EF\u01F0\u01F3\u01F5\u01F9\u01FB\u01FD\u01FF\u0201\u0203\u0205\u0207\u0209\u020B\u020D\u020F\u0211\u0213\u0215\u0217\u0219\u021B\u021D\u021F\u0221\u0223\u0225\u0227\u0229\u022B\u022D\u022F\u0231\u0233-\u0239\u023C\u023F\u0240\u0242\u0247\u0249\u024B\u024D\u024F-\u0293\u0295-\u02AF\u0371\u0373\u0377\u037B-\u037D\u0390\u03AC-\u03CE\u03D0\u03D1\u03D5-\u03D7\u03D9\u03DB\u03DD\u03DF\u03E1\u03E3\u03E5\u03E7\u03E9\u03EB\u03ED\u03EF-\u03F3\u03F5\u03F8\u03FB\u03FC\u0430-\u045F\u0461\u0463\u0465\u0467\u0469\u046B\u046D\u046F\u0471\u0473\u0475\u0477\u0479\u047B\u047D\u047F\u0481\u048B\u048D\u048F\u0491\u0493\u0495\u0497\u0499\u049B\u049D\u049F\u04A1\u04A3\u04A5\u04A7\u04A9\u04AB\u04AD\u04AF\u04B1\u04B3\u04B5\u04B7\u04B9\u04BB\u04BD\u04BF\u04C2\u04C4\u04C6\u04C8\u04CA\u04CC\u04CE\u04CF\u04D1\u04D3\u04D5\u04D7\u04D9\u04DB\u04DD\u04DF\u04E1\u04E3\u04E5\u04E7\u04E9\u04EB\u04ED\u04EF\u04F1\u04F3\u04F5\u04F7\u04F9\u04FB\u04FD\u04FF\u0501\u0503\u0505\u0507\u0509\u050B\u050D\u050F\u0511\u0513\u0515\u0517\u0519\u051B\u051D\u051F\u0521\u0523\u0525\u0527\u0529\u052B\u052D\u052F\u0560-\u0588\u10D0-\u10FA\u10FD-\u10FF\u13F8-\u13FD\u1C80-\u1C88\u1D00-\u1D2B\u1D6B-\u1D77\u1D79-\u1D9A\u1E01\u1E03\u1E05\u1E07\u1E09\u1E0B\u1E0D\u1E0F\u1E11\u1E13\u1E15\u1E17\u1E19\u1E1B\u1E1D\u1E1F\u1E21\u1E23\u1E25\u1E27\u1E29\u1E2B\u1E2D\u1E2F\u1E31\u1E33\u1E35\u1E37\u1E39\u1E3B\u1E3D\u1E3F\u1E41\u1E43\u1E45\u1E47\u1E49\u1E4B\u1E4D\u1E4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BD\u2CBF\u2CC1\u2CC3\u2CC5\u2CC7\u2CC9\u2CCB\u2CCD\u2CCF\u2CD1\u2CD3\u2CD5\u2CD7\u2CD9\u2CDB\u2CDD\u2CDF\u2CE1\u2CE3\u2CE4\u2CEC\u2CEE\u2CF3\u2D00-\u2D25\u2D27\u2D2D\uA641\uA643\uA645\uA647\uA649\uA64B\uA64D\uA64F\uA651\uA653\uA655\uA657\uA659\uA65B\uA65D\uA65F\uA661\uA663\uA665\uA667\uA669\uA66B\uA66D\uA681\uA683\uA685\uA687\uA689\uA68B\uA68D\uA68F\uA691\uA693\uA695\uA697\uA699\uA69B\uA723\uA725\uA727\uA729\uA72B\uA72D\uA72F-\uA731\uA733\uA735\uA737\uA739\uA73B\uA73D\uA73F\uA741\uA743\uA745\uA747\uA749\uA74B\uA74D\uA74F\uA751\uA753\uA755\uA757\uA759\uA75B\uA75D\uA75F\uA761\uA763\uA765\uA767\uA769\uA76B\uA76D\uA76F\uA771-\uA778\uA77A\uA77C\uA77F\uA781\uA783\uA785\uA787\uA78C\uA78E\uA791\uA793-\uA795\uA797\uA799\uA79B\uA79D\uA79F\uA7A1\uA7A3\uA7A5\uA7A7\uA7A9\uA7AF\uA7B5\uA7B7\uA7B9\uA7BB\uA7BD\uA7BF\uA7C1\uA7C3\uA7C8\uA7CA\uA7D1\uA7D3\uA7D5\uA7D7\uA7D9\uA7F6\uA7FA\uAB30-\uAB5A\uAB60-\uAB68\uAB70-\uABBF\uFB00-\uFB06\uFB13-\uFB17\uFF41-\uFF5A',
+ 'astral': '\uD801[\uDC28-\uDC4F\uDCD8-\uDCFB\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC]|\uD803[\uDCC0-\uDCF2]|\uD806[\uDCC0-\uDCDF]|\uD81B[\uDE60-\uDE7F]|\uD835[\uDC1A-\uDC33\uDC4E-\uDC54\uDC56-\uDC67\uDC82-\uDC9B\uDCB6-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDCEA-\uDD03\uDD1E-\uDD37\uDD52-\uDD6B\uDD86-\uDD9F\uDDBA-\uDDD3\uDDEE-\uDE07\uDE22-\uDE3B\uDE56-\uDE6F\uDE8A-\uDEA5\uDEC2-\uDEDA\uDEDC-\uDEE1\uDEFC-\uDF14\uDF16-\uDF1B\uDF36-\uDF4E\uDF50-\uDF55\uDF70-\uDF88\uDF8A-\uDF8F\uDFAA-\uDFC2\uDFC4-\uDFC9\uDFCB]|\uD837[\uDF00-\uDF09\uDF0B-\uDF1E]|\uD83A[\uDD22-\uDD43]'
+ },
+ {
+ 'name': 'Lm',
+ 'alias': 'Modifier_Letter',
+ 'bmp': '\u02B0-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0374\u037A\u0559\u0640\u06E5\u06E6\u07F4\u07F5\u07FA\u081A\u0824\u0828\u08C9\u0971\u0E46\u0EC6\u10FC\u17D7\u1843\u1AA7\u1C78-\u1C7D\u1D2C-\u1D6A\u1D78\u1D9B-\u1DBF\u2071\u207F\u2090-\u209C\u2C7C\u2C7D\u2D6F\u2E2F\u3005\u3031-\u3035\u303B\u309D\u309E\u30FC-\u30FE\uA015\uA4F8-\uA4FD\uA60C\uA67F\uA69C\uA69D\uA717-\uA71F\uA770\uA788\uA7F2-\uA7F4\uA7F8\uA7F9\uA9CF\uA9E6\uAA70\uAADD\uAAF3\uAAF4\uAB5C-\uAB5F\uAB69\uFF70\uFF9E\uFF9F',
+ 'astral': '\uD801[\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD81A[\uDF40-\uDF43]|\uD81B[\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD838[\uDD37-\uDD3D]|\uD83A\uDD4B'
+ },
+ {
+ 'name': 'Lo',
+ 'alias': 'Other_Letter',
+ 'bmp': '\xAA\xBA\u01BB\u01C0-\u01C3\u0294\u05D0-\u05EA\u05EF-\u05F2\u0620-\u063F\u0641-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u0800-\u0815\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C8\u0904-\u0939\u093D\u0950\u0958-\u0961\u0972-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E45\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u1100-\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\u1380-\u138F\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17DC\u1820-\u1842\u1844-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C77\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u2135-\u2138\u2D30-\u2D67\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3006\u303C\u3041-\u3096\u309F\u30A1-\u30FA\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA014\uA016-\uA48C\uA4D0-\uA4F7\uA500-\uA60B\uA610-\uA61F\uA62A\uA62B\uA66E\uA6A0-\uA6E5\uA78F\uA7F7\uA7FB-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9E0-\uA9E4\uA9E7-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA6F\uAA71-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB\uAADC\uAAE0-\uAAEA\uAAF2\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF66-\uFF6F\uFF71-\uFF9D\uFFA0-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC',
+ 'astral': '\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC50-\uDC9D\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF4A\uDF50]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD837\uDF0A|\uD838[\uDD00-\uDD2C\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4]|\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]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A]'
+ },
+ {
+ 'name': 'Lt',
+ 'alias': 'Titlecase_Letter',
+ 'bmp': '\u01C5\u01C8\u01CB\u01F2\u1F88-\u1F8F\u1F98-\u1F9F\u1FA8-\u1FAF\u1FBC\u1FCC\u1FFC'
+ },
+ {
+ 'name': 'Lu',
+ 'alias': 'Uppercase_Letter',
+ 'bmp': 'A-Z\xC0-\xD6\xD8-\xDE\u0100\u0102\u0104\u0106\u0108\u010A\u010C\u010E\u0110\u0112\u0114\u0116\u0118\u011A\u011C\u011E\u0120\u0122\u0124\u0126\u0128\u012A\u012C\u012E\u0130\u0132\u0134\u0136\u0139\u013B\u013D\u013F\u0141\u0143\u0145\u0147\u014A\u014C\u014E\u0150\u0152\u0154\u0156\u0158\u015A\u015C\u015E\u0160\u0162\u0164\u0166\u0168\u016A\u016C\u016E\u0170\u0172\u0174\u0176\u0178\u0179\u017B\u017D\u0181\u0182\u0184\u0186\u0187\u0189-\u018B\u018E-\u0191\u0193\u0194\u0196-\u0198\u019C\u019D\u019F\u01A0\u01A2\u01A4\u01A6\u01A7\u01A9\u01AC\u01AE\u01AF\u01B1-\u01B3\u01B5\u01B7\u01B8\u01BC\u01C4\u01C7\u01CA\u01CD\u01CF\u01D1\u01D3\u01D5\u01D7\u01D9\u01DB\u01DE\u01E0\u01E2\u01E4\u01E6\u01E8\u01EA\u01EC\u01EE\u01F1\u01F4\u01F6-\u01F8\u01FA\u01FC\u01FE\u0200\u0202\u0204\u0206\u0208\u020A\u020C\u020E\u0210\u0212\u0214\u0216\u0218\u021A\u021C\u021E\u0220\u0222\u0224\u0226\u0228\u022A\u022C\u022E\u0230\u0232\u023A\u023B\u023D\u023E\u0241\u0243-\u0246\u0248\u024A\u024C\u024E\u0370\u0372\u0376\u037F\u0386\u0388-\u038A\u038C\u038E\u038F\u0391-\u03A1\u03A3-\u03AB\u03CF\u03D2-\u03D4\u03D8\u03DA\u03DC\u03DE\u03E0\u03E2\u03E4\u03E6\u03E8\u03EA\u03EC\u03EE\u03F4\u03F7\u03F9\u03FA\u03FD-\u042F\u0460\u0462\u0464\u0466\u0468\u046A\u046C\u046E\u0470\u0472\u0474\u0476\u0478\u047A\u047C\u047E\u0480\u048A\u048C\u048E\u0490\u0492\u0494\u0496\u0498\u049A\u049C\u049E\u04A0\u04A2\u04A4\u04A6\u04A8\u04AA\u04AC\u04AE\u04B0\u04B2\u04B4\u04B6\u04B8\u04BA\u04BC\u04BE\u04C0\u04C1\u04C3\u04C5\u04C7\u04C9\u04CB\u04CD\u04D0\u04D2\u04D4\u04D6\u04D8\u04DA\u04DC\u04DE\u04E0\u04E2\u04E4\u04E6\u04E8\u04EA\u04EC\u04EE\u04F0\u04F2\u04F4\u04F6\u04F8\u04FA\u04FC\u04FE\u0500\u0502\u0504\u0506\u0508\u050A\u050C\u050E\u0510\u0512\u0514\u0516\u0518\u051A\u051C\u051E\u0520\u0522\u0524\u0526\u0528\u052A\u052C\u052E\u0531-\u0556\u10A0-\u10C5\u10C7\u10CD\u13A0-\u13F5\u1C90-\u1CBA\u1CBD-\u1CBF\u1E00\u1E02\u1E04\u1E06\u1E08\u1E0A\u1E0C\u1E0E\u1E10\u1E12\u1E14\u1E16\u1E18\u1E1A\u1E1C\u1E1E\u1E20\u1E22\u1E24\u1E26\u1E28\u1E2A\u1E2C\u1E2E\u1E30\u1E32\u1E34\u1E36\u1E38\u1E3A\u1E3C\u1E3E\u1E40\u1E42\u1E44\u1E46\u1E48\u1E4A\u1E4C\u1E4E\u1E50\u1E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D0\u2CD2\u2CD4\u2CD6\u2CD8\u2CDA\u2CDC\u2CDE\u2CE0\u2CE2\u2CEB\u2CED\u2CF2\uA640\uA642\uA644\uA646\uA648\uA64A\uA64C\uA64E\uA650\uA652\uA654\uA656\uA658\uA65A\uA65C\uA65E\uA660\uA662\uA664\uA666\uA668\uA66A\uA66C\uA680\uA682\uA684\uA686\uA688\uA68A\uA68C\uA68E\uA690\uA692\uA694\uA696\uA698\uA69A\uA722\uA724\uA726\uA728\uA72A\uA72C\uA72E\uA732\uA734\uA736\uA738\uA73A\uA73C\uA73E\uA740\uA742\uA744\uA746\uA748\uA74A\uA74C\uA74E\uA750\uA752\uA754\uA756\uA758\uA75A\uA75C\uA75E\uA760\uA762\uA764\uA766\uA768\uA76A\uA76C\uA76E\uA779\uA77B\uA77D\uA77E\uA780\uA782\uA784\uA786\uA78B\uA78D\uA790\uA792\uA796\uA798\uA79A\uA79C\uA79E\uA7A0\uA7A2\uA7A4\uA7A6\uA7A8\uA7AA-\uA7AE\uA7B0-\uA7B4\uA7B6\uA7B8\uA7BA\uA7BC\uA7BE\uA7C0\uA7C2\uA7C4-\uA7C7\uA7C9\uA7D0\uA7D6\uA7D8\uA7F5\uFF21-\uFF3A',
+ 'astral': '\uD801[\uDC00-\uDC27\uDCB0-\uDCD3\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95]|\uD803[\uDC80-\uDCB2]|\uD806[\uDCA0-\uDCBF]|\uD81B[\uDE40-\uDE5F]|\uD835[\uDC00-\uDC19\uDC34-\uDC4D\uDC68-\uDC81\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB5\uDCD0-\uDCE9\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD38\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD6C-\uDD85\uDDA0-\uDDB9\uDDD4-\uDDED\uDE08-\uDE21\uDE3C-\uDE55\uDE70-\uDE89\uDEA8-\uDEC0\uDEE2-\uDEFA\uDF1C-\uDF34\uDF56-\uDF6E\uDF90-\uDFA8\uDFCA]|\uD83A[\uDD00-\uDD21]'
+ },
+ {
+ 'name': 'M',
+ 'alias': 'Mark',
+ 'bmp': '\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0898-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u180F\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F',
+ 'astral': '\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0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D836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDD30-\uDD36\uDEAE\uDEEC-\uDEEF]|\uD83A[\uDCD0-\uDCD6\uDD44-\uDD4A]|\uDB40[\uDD00-\uDDEF]'
+ },
+ {
+ 'name': 'Mc',
+ 'alias': 'Spacing_Mark',
+ 'bmp': '\u0903\u093B\u093E-\u0940\u0949-\u094C\u094E\u094F\u0982\u0983\u09BE-\u09C0\u09C7\u09C8\u09CB\u09CC\u09D7\u0A03\u0A3E-\u0A40\u0A83\u0ABE-\u0AC0\u0AC9\u0ACB\u0ACC\u0B02\u0B03\u0B3E\u0B40\u0B47\u0B48\u0B4B\u0B4C\u0B57\u0BBE\u0BBF\u0BC1\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCC\u0BD7\u0C01-\u0C03\u0C41-\u0C44\u0C82\u0C83\u0CBE\u0CC0-\u0CC4\u0CC7\u0CC8\u0CCA\u0CCB\u0CD5\u0CD6\u0D02\u0D03\u0D3E-\u0D40\u0D46-\u0D48\u0D4A-\u0D4C\u0D57\u0D82\u0D83\u0DCF-\u0DD1\u0DD8-\u0DDF\u0DF2\u0DF3\u0F3E\u0F3F\u0F7F\u102B\u102C\u1031\u1038\u103B\u103C\u1056\u1057\u1062-\u1064\u1067-\u106D\u1083\u1084\u1087-\u108C\u108F\u109A-\u109C\u1715\u1734\u17B6\u17BE-\u17C5\u17C7\u17C8\u1923-\u1926\u1929-\u192B\u1930\u1931\u1933-\u1938\u1A19\u1A1A\u1A55\u1A57\u1A61\u1A63\u1A64\u1A6D-\u1A72\u1B04\u1B35\u1B3B\u1B3D-\u1B41\u1B43\u1B44\u1B82\u1BA1\u1BA6\u1BA7\u1BAA\u1BE7\u1BEA-\u1BEC\u1BEE\u1BF2\u1BF3\u1C24-\u1C2B\u1C34\u1C35\u1CE1\u1CF7\u302E\u302F\uA823\uA824\uA827\uA880\uA881\uA8B4-\uA8C3\uA952\uA953\uA983\uA9B4\uA9B5\uA9BA\uA9BB\uA9BE-\uA9C0\uAA2F\uAA30\uAA33\uAA34\uAA4D\uAA7B\uAA7D\uAAEB\uAAEE\uAAEF\uAAF5\uABE3\uABE4\uABE6\uABE7\uABE9\uABEA\uABEC',
+ 'astral': '\uD804[\uDC00\uDC02\uDC82\uDCB0-\uDCB2\uDCB7\uDCB8\uDD2C\uDD45\uDD46\uDD82\uDDB3-\uDDB5\uDDBF\uDDC0\uDDCE\uDE2C-\uDE2E\uDE32\uDE33\uDE35\uDEE0-\uDEE2\uDF02\uDF03\uDF3E\uDF3F\uDF41-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF57\uDF62\uDF63]|\uD805[\uDC35-\uDC37\uDC40\uDC41\uDC45\uDCB0-\uDCB2\uDCB9\uDCBB-\uDCBE\uDCC1\uDDAF-\uDDB1\uDDB8-\uDDBB\uDDBE\uDE30-\uDE32\uDE3B\uDE3C\uDE3E\uDEAC\uDEAE\uDEAF\uDEB6\uDF20\uDF21\uDF26]|\uD806[\uDC2C-\uDC2E\uDC38\uDD30-\uDD35\uDD37\uDD38\uDD3D\uDD40\uDD42\uDDD1-\uDDD3\uDDDC-\uDDDF\uDDE4\uDE39\uDE57\uDE58\uDE97]|\uD807[\uDC2F\uDC3E\uDCA9\uDCB1\uDCB4\uDD8A-\uDD8E\uDD93\uDD94\uDD96\uDEF5\uDEF6]|\uD81B[\uDF51-\uDF87\uDFF0\uDFF1]|\uD834[\uDD65\uDD66\uDD6D-\uDD72]'
+ },
+ {
+ 'name': 'Me',
+ 'alias': 'Enclosing_Mark',
+ 'bmp': '\u0488\u0489\u1ABE\u20DD-\u20E0\u20E2-\u20E4\uA670-\uA672'
+ },
+ {
+ 'name': 'Mn',
+ 'alias': 'Nonspacing_Mark',
+ 'bmp': '\u0300-\u036F\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0898-\u089F\u08CA-\u08E1\u08E3-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962\u0963\u0981\u09BC\u09C1-\u09C4\u09CD\u09E2\u09E3\u09FE\u0A01\u0A02\u0A3C\u0A41\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7\u0AC8\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01\u0B3C\u0B3F\u0B41-\u0B44\u0B4D\u0B55\u0B56\u0B62\u0B63\u0B82\u0BC0\u0BCD\u0C00\u0C04\u0C3C\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81\u0CBC\u0CBF\u0CC6\u0CCC\u0CCD\u0CE2\u0CE3\u0D00\u0D01\u0D3B\u0D3C\u0D41-\u0D44\u0D4D\u0D62\u0D63\u0D81\u0DCA\u0DD2-\u0DD4\u0DD6\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F71-\u0F7E\u0F80-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039\u103A\u103D\u103E\u1058\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085\u1086\u108D\u109D\u135D-\u135F\u1712-\u1714\u1732\u1733\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u180F\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B03\u1B34\u1B36-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80\u1B81\u1BA2-\u1BA5\u1BA8\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DFF\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302D\u3099\u309A\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA825\uA826\uA82C\uA8C4\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\uA9BD\uA9E5\uAA29-\uAA2E\uAA31\uAA32\uAA35\uAA36\uAA43\uAA4C\uAA7C\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEC\uAAED\uAAF6\uABE5\uABE8\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F',
+ 'astral': '\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD803[\uDD24-\uDD27\uDEAB\uDEAC\uDF46-\uDF50\uDF82-\uDF85]|\uD804[\uDC01\uDC38-\uDC46\uDC70\uDC73\uDC74\uDC7F-\uDC81\uDCB3-\uDCB6\uDCB9\uDCBA\uDCC2\uDD00-\uDD02\uDD27-\uDD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uDC26-\uDC2A\uDD30-\uDD36\uDEAE\uDEEC-\uDEEF]|\uD83A[\uDCD0-\uDCD6\uDD44-\uDD4A]|\uDB40[\uDD00-\uDDEF]'
+ },
+ {
+ 'name': 'N',
+ 'alias': 'Number',
+ 'bmp': '0-9\xB2\xB3\xB9\xBC-\xBE\u0660-\u0669\u06F0-\u06F9\u07C0-\u07C9\u0966-\u096F\u09E6-\u09EF\u09F4-\u09F9\u0A66-\u0A6F\u0AE6-\u0AEF\u0B66-\u0B6F\u0B72-\u0B77\u0BE6-\u0BF2\u0C66-\u0C6F\u0C78-\u0C7E\u0CE6-\u0CEF\u0D58-\u0D5E\u0D66-\u0D78\u0DE6-\u0DEF\u0E50-\u0E59\u0ED0-\u0ED9\u0F20-\u0F33\u1040-\u1049\u1090-\u1099\u1369-\u137C\u16EE-\u16F0\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1946-\u194F\u19D0-\u19DA\u1A80-\u1A89\u1A90-\u1A99\u1B50-\u1B59\u1BB0-\u1BB9\u1C40-\u1C49\u1C50-\u1C59\u2070\u2074-\u2079\u2080-\u2089\u2150-\u2182\u2185-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2CFD\u3007\u3021-\u3029\u3038-\u303A\u3192-\u3195\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\uA620-\uA629\uA6E6-\uA6EF\uA830-\uA835\uA8D0-\uA8D9\uA900-\uA909\uA9D0-\uA9D9\uA9F0-\uA9F9\uAA50-\uAA59\uABF0-\uABF9\uFF10-\uFF19',
+ 'astral': '\uD800[\uDD07-\uDD33\uDD40-\uDD78\uDD8A\uDD8B\uDEE1-\uDEFB\uDF20-\uDF23\uDF41\uDF4A\uDFD1-\uDFD5]|\uD801[\uDCA0-\uDCA9]|\uD802[\uDC58-\uDC5F\uDC79-\uDC7F\uDCA7-\uDCAF\uDCFB-\uDCFF\uDD16-\uDD1B\uDDBC\uDDBD\uDDC0-\uDDCF\uDDD2-\uDDFF\uDE40-\uDE48\uDE7D\uDE7E\uDE9D-\uDE9F\uDEEB-\uDEEF\uDF58-\uDF5F\uDF78-\uDF7F\uDFA9-\uDFAF]|\uD803[\uDCFA-\uDCFF\uDD30-\uDD39\uDE60-\uDE7E\uDF1D-\uDF26\uDF51-\uDF54\uDFC5-\uDFCB]|\uD804[\uDC52-\uDC6F\uDCF0-\uDCF9\uDD36-\uDD3F\uDDD0-\uDDD9\uDDE1-\uDDF4\uDEF0-\uDEF9]|\uD805[\uDC50-\uDC59\uDCD0-\uDCD9\uDE50-\uDE59\uDEC0-\uDEC9\uDF30-\uDF3B]|\uD806[\uDCE0-\uDCF2\uDD50-\uDD59]|\uD807[\uDC50-\uDC6C\uDD50-\uDD59\uDDA0-\uDDA9\uDFC0-\uDFD4]|\uD809[\uDC00-\uDC6E]|\uD81A[\uDE60-\uDE69\uDEC0-\uDEC9\uDF50-\uDF59\uDF5B-\uDF61]|\uD81B[\uDE80-\uDE96]|\uD834[\uDEE0-\uDEF3\uDF60-\uDF78]|\uD835[\uDFCE-\uDFFF]|\uD838[\uDD40-\uDD49\uDEF0-\uDEF9]|\uD83A[\uDCC7-\uDCCF\uDD50-\uDD59]|\uD83B[\uDC71-\uDCAB\uDCAD-\uDCAF\uDCB1-\uDCB4\uDD01-\uDD2D\uDD2F-\uDD3D]|\uD83C[\uDD00-\uDD0C]|\uD83E[\uDFF0-\uDFF9]'
+ },
+ {
+ 'name': 'Nd',
+ 'alias': 'Decimal_Number',
+ 'bmp': '0-9\u0660-\u0669\u06F0-\u06F9\u07C0-\u07C9\u0966-\u096F\u09E6-\u09EF\u0A66-\u0A6F\u0AE6-\u0AEF\u0B66-\u0B6F\u0BE6-\u0BEF\u0C66-\u0C6F\u0CE6-\u0CEF\u0D66-\u0D6F\u0DE6-\u0DEF\u0E50-\u0E59\u0ED0-\u0ED9\u0F20-\u0F29\u1040-\u1049\u1090-\u1099\u17E0-\u17E9\u1810-\u1819\u1946-\u194F\u19D0-\u19D9\u1A80-\u1A89\u1A90-\u1A99\u1B50-\u1B59\u1BB0-\u1BB9\u1C40-\u1C49\u1C50-\u1C59\uA620-\uA629\uA8D0-\uA8D9\uA900-\uA909\uA9D0-\uA9D9\uA9F0-\uA9F9\uAA50-\uAA59\uABF0-\uABF9\uFF10-\uFF19',
+ 'astral': '\uD801[\uDCA0-\uDCA9]|\uD803[\uDD30-\uDD39]|\uD804[\uDC66-\uDC6F\uDCF0-\uDCF9\uDD36-\uDD3F\uDDD0-\uDDD9\uDEF0-\uDEF9]|\uD805[\uDC50-\uDC59\uDCD0-\uDCD9\uDE50-\uDE59\uDEC0-\uDEC9\uDF30-\uDF39]|\uD806[\uDCE0-\uDCE9\uDD50-\uDD59]|\uD807[\uDC50-\uDC59\uDD50-\uDD59\uDDA0-\uDDA9]|\uD81A[\uDE60-\uDE69\uDEC0-\uDEC9\uDF50-\uDF59]|\uD835[\uDFCE-\uDFFF]|\uD838[\uDD40-\uDD49\uDEF0-\uDEF9]|\uD83A[\uDD50-\uDD59]|\uD83E[\uDFF0-\uDFF9]'
+ },
+ {
+ 'name': 'Nl',
+ 'alias': 'Letter_Number',
+ 'bmp': '\u16EE-\u16F0\u2160-\u2182\u2185-\u2188\u3007\u3021-\u3029\u3038-\u303A\uA6E6-\uA6EF',
+ 'astral': '\uD800[\uDD40-\uDD74\uDF41\uDF4A\uDFD1-\uDFD5]|\uD809[\uDC00-\uDC6E]'
+ },
+ {
+ 'name': 'No',
+ 'alias': 'Other_Number',
+ 'bmp': '\xB2\xB3\xB9\xBC-\xBE\u09F4-\u09F9\u0B72-\u0B77\u0BF0-\u0BF2\u0C78-\u0C7E\u0D58-\u0D5E\u0D70-\u0D78\u0F2A-\u0F33\u1369-\u137C\u17F0-\u17F9\u19DA\u2070\u2074-\u2079\u2080-\u2089\u2150-\u215F\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2CFD\u3192-\u3195\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\uA830-\uA835',
+ 'astral': '\uD800[\uDD07-\uDD33\uDD75-\uDD78\uDD8A\uDD8B\uDEE1-\uDEFB\uDF20-\uDF23]|\uD802[\uDC58-\uDC5F\uDC79-\uDC7F\uDCA7-\uDCAF\uDCFB-\uDCFF\uDD16-\uDD1B\uDDBC\uDDBD\uDDC0-\uDDCF\uDDD2-\uDDFF\uDE40-\uDE48\uDE7D\uDE7E\uDE9D-\uDE9F\uDEEB-\uDEEF\uDF58-\uDF5F\uDF78-\uDF7F\uDFA9-\uDFAF]|\uD803[\uDCFA-\uDCFF\uDE60-\uDE7E\uDF1D-\uDF26\uDF51-\uDF54\uDFC5-\uDFCB]|\uD804[\uDC52-\uDC65\uDDE1-\uDDF4]|\uD805[\uDF3A\uDF3B]|\uD806[\uDCEA-\uDCF2]|\uD807[\uDC5A-\uDC6C\uDFC0-\uDFD4]|\uD81A[\uDF5B-\uDF61]|\uD81B[\uDE80-\uDE96]|\uD834[\uDEE0-\uDEF3\uDF60-\uDF78]|\uD83A[\uDCC7-\uDCCF]|\uD83B[\uDC71-\uDCAB\uDCAD-\uDCAF\uDCB1-\uDCB4\uDD01-\uDD2D\uDD2F-\uDD3D]|\uD83C[\uDD00-\uDD0C]'
+ },
+ {
+ 'name': 'P',
+ 'alias': 'Punctuation',
+ 'bmp': '!-#%-\\*,-\\/:;\\?@\\[-\\]_\\{\\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65',
+ 'astral': '\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]'
+ },
+ {
+ 'name': 'Pc',
+ 'alias': 'Connector_Punctuation',
+ 'bmp': '_\u203F\u2040\u2054\uFE33\uFE34\uFE4D-\uFE4F\uFF3F'
+ },
+ {
+ 'name': 'Pd',
+ 'alias': 'Dash_Punctuation',
+ 'bmp': '\\-\u058A\u05BE\u1400\u1806\u2010-\u2015\u2E17\u2E1A\u2E3A\u2E3B\u2E40\u2E5D\u301C\u3030\u30A0\uFE31\uFE32\uFE58\uFE63\uFF0D',
+ 'astral': '\uD803\uDEAD'
+ },
+ {
+ 'name': 'Pe',
+ 'alias': 'Close_Punctuation',
+ 'bmp': '\\)\\]\\}\u0F3B\u0F3D\u169C\u2046\u207E\u208E\u2309\u230B\u232A\u2769\u276B\u276D\u276F\u2771\u2773\u2775\u27C6\u27E7\u27E9\u27EB\u27ED\u27EF\u2984\u2986\u2988\u298A\u298C\u298E\u2990\u2992\u2994\u2996\u2998\u29D9\u29DB\u29FD\u2E23\u2E25\u2E27\u2E29\u2E56\u2E58\u2E5A\u2E5C\u3009\u300B\u300D\u300F\u3011\u3015\u3017\u3019\u301B\u301E\u301F\uFD3E\uFE18\uFE36\uFE38\uFE3A\uFE3C\uFE3E\uFE40\uFE42\uFE44\uFE48\uFE5A\uFE5C\uFE5E\uFF09\uFF3D\uFF5D\uFF60\uFF63'
+ },
+ {
+ 'name': 'Pf',
+ 'alias': 'Final_Punctuation',
+ 'bmp': '\xBB\u2019\u201D\u203A\u2E03\u2E05\u2E0A\u2E0D\u2E1D\u2E21'
+ },
+ {
+ 'name': 'Pi',
+ 'alias': 'Initial_Punctuation',
+ 'bmp': '\xAB\u2018\u201B\u201C\u201F\u2039\u2E02\u2E04\u2E09\u2E0C\u2E1C\u2E20'
+ },
+ {
+ 'name': 'Po',
+ 'alias': 'Other_Punctuation',
+ 'bmp': '!-#%-\'\\*,\\.\\/:;\\?@\\\xA1\xA7\xB6\xB7\xBF\u037E\u0387\u055A-\u055F\u0589\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u166E\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u1805\u1807-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2016\u2017\u2020-\u2027\u2030-\u2038\u203B-\u203E\u2041-\u2043\u2047-\u2051\u2053\u2055-\u205E\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00\u2E01\u2E06-\u2E08\u2E0B\u2E0E-\u2E16\u2E18\u2E19\u2E1B\u2E1E\u2E1F\u2E2A-\u2E2E\u2E30-\u2E39\u2E3C-\u2E3F\u2E41\u2E43-\u2E4F\u2E52-\u2E54\u3001-\u3003\u303D\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFE10-\uFE16\uFE19\uFE30\uFE45\uFE46\uFE49-\uFE4C\uFE50-\uFE52\uFE54-\uFE57\uFE5F-\uFE61\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF07\uFF0A\uFF0C\uFF0E\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3C\uFF61\uFF64\uFF65',
+ 'astral': '\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]'
+ },
+ {
+ 'name': 'Ps',
+ 'alias': 'Open_Punctuation',
+ 'bmp': '\\(\\[\\{\u0F3A\u0F3C\u169B\u201A\u201E\u2045\u207D\u208D\u2308\u230A\u2329\u2768\u276A\u276C\u276E\u2770\u2772\u2774\u27C5\u27E6\u27E8\u27EA\u27EC\u27EE\u2983\u2985\u2987\u2989\u298B\u298D\u298F\u2991\u2993\u2995\u2997\u29D8\u29DA\u29FC\u2E22\u2E24\u2E26\u2E28\u2E42\u2E55\u2E57\u2E59\u2E5B\u3008\u300A\u300C\u300E\u3010\u3014\u3016\u3018\u301A\u301D\uFD3F\uFE17\uFE35\uFE37\uFE39\uFE3B\uFE3D\uFE3F\uFE41\uFE43\uFE47\uFE59\uFE5B\uFE5D\uFF08\uFF3B\uFF5B\uFF5F\uFF62'
+ },
+ {
+ 'name': 'S',
+ 'alias': 'Symbol',
+ 'bmp': '\\$\\+<->\\^`\\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFB\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD',
+ 'astral': '\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDD-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF73\uDF80-\uDFD8\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE74\uDE78-\uDE7C\uDE80-\uDE86\uDE90-\uDEAC\uDEB0-\uDEBA\uDEC0-\uDEC5\uDED0-\uDED9\uDEE0-\uDEE7\uDEF0-\uDEF6\uDF00-\uDF92\uDF94-\uDFCA]'
+ },
+ {
+ 'name': 'Sc',
+ 'alias': 'Currency_Symbol',
+ 'bmp': '\\$\xA2-\xA5\u058F\u060B\u07FE\u07FF\u09F2\u09F3\u09FB\u0AF1\u0BF9\u0E3F\u17DB\u20A0-\u20C0\uA838\uFDFC\uFE69\uFF04\uFFE0\uFFE1\uFFE5\uFFE6',
+ 'astral': '\uD807[\uDFDD-\uDFE0]|\uD838\uDEFF|\uD83B\uDCB0'
+ },
+ {
+ 'name': 'Sk',
+ 'alias': 'Modifier_Symbol',
+ 'bmp': '\\^`\xA8\xAF\xB4\xB8\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u0888\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u309B\u309C\uA700-\uA716\uA720\uA721\uA789\uA78A\uAB5B\uAB6A\uAB6B\uFBB2-\uFBC2\uFF3E\uFF40\uFFE3',
+ 'astral': '\uD83C[\uDFFB-\uDFFF]'
+ },
+ {
+ 'name': 'Sm',
+ 'alias': 'Math_Symbol',
+ 'bmp': '\\+<->\\|~\xAC\xB1\xD7\xF7\u03F6\u0606-\u0608\u2044\u2052\u207A-\u207C\u208A-\u208C\u2118\u2140-\u2144\u214B\u2190-\u2194\u219A\u219B\u21A0\u21A3\u21A6\u21AE\u21CE\u21CF\u21D2\u21D4\u21F4-\u22FF\u2320\u2321\u237C\u239B-\u23B3\u23DC-\u23E1\u25B7\u25C1\u25F8-\u25FF\u266F\u27C0-\u27C4\u27C7-\u27E5\u27F0-\u27FF\u2900-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2AFF\u2B30-\u2B44\u2B47-\u2B4C\uFB29\uFE62\uFE64-\uFE66\uFF0B\uFF1C-\uFF1E\uFF5C\uFF5E\uFFE2\uFFE9-\uFFEC',
+ 'astral': '\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD83B[\uDEF0\uDEF1]'
+ },
+ {
+ 'name': 'So',
+ 'alias': 'Other_Symbol',
+ 'bmp': '\xA6\xA9\xAE\xB0\u0482\u058D\u058E\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u09FA\u0B70\u0BF3-\u0BF8\u0BFA\u0C7F\u0D4F\u0D79\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116\u2117\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u214A\u214C\u214D\u214F\u218A\u218B\u2195-\u2199\u219C-\u219F\u21A1\u21A2\u21A4\u21A5\u21A7-\u21AD\u21AF-\u21CD\u21D0\u21D1\u21D3\u21D5-\u21F3\u2300-\u2307\u230C-\u231F\u2322-\u2328\u232B-\u237B\u237D-\u239A\u23B4-\u23DB\u23E2-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u25B6\u25B8-\u25C0\u25C2-\u25F7\u2600-\u266E\u2670-\u2767\u2794-\u27BF\u2800-\u28FF\u2B00-\u2B2F\u2B45\u2B46\u2B4D-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFB\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA828-\uA82B\uA836\uA837\uA839\uAA77-\uAA79\uFD40-\uFD4F\uFDCF\uFDFD-\uFDFF\uFFE4\uFFE8\uFFED\uFFEE\uFFFC\uFFFD',
+ 'astral': '\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFDC\uDFE1-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838\uDD4F|\uD83B[\uDCAC\uDD2E]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFA]|\uD83D[\uDC00-\uDED7\uDEDD-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF73\uDF80-\uDFD8\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE74\uDE78-\uDE7C\uDE80-\uDE86\uDE90-\uDEAC\uDEB0-\uDEBA\uDEC0-\uDEC5\uDED0-\uDED9\uDEE0-\uDEE7\uDEF0-\uDEF6\uDF00-\uDF92\uDF94-\uDFCA]'
+ },
+ {
+ 'name': 'Z',
+ 'alias': 'Separator',
+ 'bmp': ' \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000'
+ },
+ {
+ 'name': 'Zl',
+ 'alias': 'Line_Separator',
+ 'bmp': '\u2028'
+ },
+ {
+ 'name': 'Zp',
+ 'alias': 'Paragraph_Separator',
+ 'bmp': '\u2029'
+ },
+ {
+ 'name': 'Zs',
+ 'alias': 'Space_Separator',
+ 'bmp': ' \xA0\u1680\u2000-\u200A\u202F\u205F\u3000'
}
-);
+];
-module.exports = XRegExp;
-
-},{}]},{},[8])(8)
+},{}]},{},[3])(3)
});
diff --git a/static/admin/js/vendor/xregexp/xregexp.min.js b/static/admin/js/vendor/xregexp/xregexp.min.js
index 6d56b1b..6d36ca5 100644
--- a/static/admin/js/vendor/xregexp/xregexp.min.js
+++ b/static/admin/js/vendor/xregexp/xregexp.min.js
@@ -1,160 +1,17 @@
-/*
- XRegExp.build 3.2.0
-
- Steven Levithan (c) 2012-2017 MIT License
- Inspired by Lea Verou's RegExp.create
- XRegExp.matchRecursive 3.2.0
-
- Steven Levithan (c) 2009-2017 MIT License
- XRegExp Unicode Base 3.2.0
-
- Steven Levithan (c) 2008-2017 MIT License
- XRegExp Unicode Blocks 3.2.0
-
- Steven Levithan (c) 2010-2017 MIT License
- Unicode data by Mathias Bynens
- XRegExp Unicode Categories 3.2.0
-
- Steven Levithan (c) 2010-2017 MIT License
- Unicode data by Mathias Bynens
- XRegExp Unicode Properties 3.2.0
-
- Steven Levithan (c) 2012-2017 MIT License
- Unicode data by Mathias Bynens
- XRegExp Unicode Scripts 3.2.0
-
- Steven Levithan (c) 2010-2017 MIT License
- Unicode data by Mathias Bynens
- XRegExp 3.2.0
-
- Steven Levithan (c) 2007-2017 MIT License
-*/
-(function(H){"object"===typeof exports&&"undefined"!==typeof module?module.exports=H():"function"===typeof define&&define.amd?define([],H):("undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof self?self:this).XRegExp=H()})(function(){return function c(d,g,p){function A(l,b){if(!g[l]){if(!d[l]){var k="function"==typeof require&&require;if(!b&&k)return k(l,!0);if(B)return B(l,!0);b=Error("Cannot find module '"+l+"'");throw b.code="MODULE_NOT_FOUND",b;}b=g[l]={exports:{}};
-d[l][0].call(b.exports,function(b){var c=d[l][1][b];return A(c?c:b)},b,b.exports,c,d,g,p)}return g[l].exports}for(var B="function"==typeof require&&require,z=0;z"}else b="(?:";v=x;return b+h[n].pattern.replace(z,function(f,b,c){if(b){if(k=h[n].names[x-v],++x,k)return"(?<"+k+">"}else if(c)return g=+c-1,h[n].names[g]?"\\k<"+h[n].names[g]+">":"\\"+(+c+v);return f})+")"}if(l){if(k=d[q],f[++q]=++x,k)return"(?<"+k+">"}else if(y){var g=+y-1;return d[g]?"\\k<"+d[g]+">":"\\"+f[+y]}return b});return c(b,g)}}},{}],2:[function(d,g,p){g.exports=function(c){function g(c,g,l,b){return{name:c,value:g,start:l,end:b}}c.matchRecursive=function(d,
-p,l,b,k){b=b||"";k=k||{};var A=-1f)break;if(b){if(!x){var n=v;var r=q}++x}else if(m&&x){if(!--x&&(k?(k[0]&&n>f&&w.push(g(k[0],d.slice(f,n),f,n)),k[1]&&w.push(g(k[1],d.slice(n,r),n,r)),k[2]&&w.push(g(k[2],d.slice(r,v),r,v)),k[3]&&w.push(g(k[3],d.slice(v,q),v,q))):w.push(d.slice(r,v)),f=q,!A))break}else throw Error("Unbalanced delimiter found in string");v===q&&++q}A&&!y&&k&&k[0]&&d.length>f&&w.push(g(k[0],d.slice(f),f,d.length));return w}}},{}],3:[function(d,
-g,p){g.exports=function(c){function g(b){return b.replace(/[- _]+/g,"").toLowerCase()}function d(c){var m=/^\\[xu](.+)/.exec(c);return m?b(m[1]):c.charCodeAt("\\"===c.charAt(0)?1:0)}function p(b){var m="",h=-1;c.forEach(b,/(\\x..|\\u....|\\?[\s\S])(?:-(\\x..|\\u....|\\?[\s\S]))?/,function(b){var c=d(b[1]);c>h+1&&(m+="\\u"+C(k(h+1)),c>h+2&&(m+="-\\u"+C(k(c-1))));h=d(b[2]||b[1])});65535>h&&(m+="\\u"+C(k(h+1)),65534>h&&(m+="-\\uFFFF"));return m}var l={},b=c._dec,k=c._hex,C=c._pad4;c.addToken(/\\([pP])(?:{(\^?)([^}]*)}|([A-Za-z]))/,
-function(b,c,h){var m="P"===b[1]||!!b[2],d=-1 "+k.inverseOf);k=l[h];m=!m}if(!k.bmp&&!d)throw new SyntaxError("Astral mode required for Unicode token "+b[0]);if(d){if("class"===c)throw new SyntaxError("Astral mode does not support Unicode tokens within character classes");
-b=m?"a!":"a=";(c=l[h][b])||(c=l[h],h=l[h],d="",h.bmp&&!h.isBmpLast&&(d="["+h.bmp+"]"+(h.astral?"|":"")),h.astral&&(d+=h.astral),h.isBmpLast&&h.bmp&&(d+=(h.astral?"|":"")+"["+h.bmp+"]"),c=c[b]=m?"(?:(?!"+d+")(?:[\ud800-\udbff][\udc00-\udfff]|[\x00-\uffff]))":"(?:"+d+")");return c}return"class"===c?m?l[h]["b!"]||(l[h]["b!"]=p(l[h].bmp)):k.bmp:(m?"[^":"[")+k.bmp+"]"},{scope:"all",optionalFlags:"A",leadChar:"\\"});c.addUnicodeData=function(b){for(var d,h=0;h\\x5E`\\x7C~\u00a2-\u00a6\u00a8\u00a9\u00ac\u00ae-\u00b1\u00b4\u00b8\u00d7\u00f7\u02c2-\u02c5\u02d2-\u02df\u02e5-\u02eb\u02ed\u02ef-\u02ff\u0375\u0384\u0385\u03f6\u0482\u058d-\u058f\u0606-\u0608\u060b\u060e\u060f\u06de\u06e9\u06fd\u06fe\u07f6\u09f2\u09f3\u09fa\u09fb\u0af1\u0b70\u0bf3-\u0bfa\u0c7f\u0d4f\u0d79\u0e3f\u0f01-\u0f03\u0f13\u0f15-\u0f17\u0f1a-\u0f1f\u0f34\u0f36\u0f38\u0fbe-\u0fc5\u0fc7-\u0fcc\u0fce\u0fcf\u0fd5-\u0fd8\u109e\u109f\u1390-\u1399\u17db\u1940\u19de-\u19ff\u1b61-\u1b6a\u1b74-\u1b7c\u1fbd\u1fbf-\u1fc1\u1fcd-\u1fcf\u1fdd-\u1fdf\u1fed-\u1fef\u1ffd\u1ffe\u2044\u2052\u207a-\u207c\u208a-\u208c\u20a0-\u20be\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211e-\u2123\u2125\u2127\u2129\u212e\u213a\u213b\u2140-\u2144\u214a-\u214d\u214f\u218a\u218b\u2190-\u2307\u230c-\u2328\u232b-\u23fe\u2400-\u2426\u2440-\u244a\u249c-\u24e9\u2500-\u2767\u2794-\u27c4\u27c7-\u27e5\u27f0-\u2982\u2999-\u29d7\u29dc-\u29fb\u29fe-\u2b73\u2b76-\u2b95\u2b98-\u2bb9\u2bbd-\u2bc8\u2bca-\u2bd1\u2bec-\u2bef\u2ce5-\u2cea\u2e80-\u2e99\u2e9b-\u2ef3\u2f00-\u2fd5\u2ff0-\u2ffb\u3004\u3012\u3013\u3020\u3036\u3037\u303e\u303f\u309b\u309c\u3190\u3191\u3196-\u319f\u31c0-\u31e3\u3200-\u321e\u322a-\u3247\u3250\u3260-\u327f\u328a-\u32b0\u32c0-\u32fe\u3300-\u33ff\u4dc0-\u4dff\ua490-\ua4c6\ua700-\ua716\ua720\ua721\ua789\ua78a\ua828-\ua82b\ua836-\ua839\uaa77-\uaa79\uab5b\ufb29\ufbb2-\ufbc1\ufdfc\ufdfd\ufe62\ufe64-\ufe66\ufe69\uff04\uff0b\uff1c-\uff1e\uff3e\uff40\uff5c\uff5e\uffe0-\uffe6\uffe8-\uffee\ufffc\ufffd",
-astral:"\ud800[\udd37-\udd3f\udd79-\udd89\udd8c-\udd8e\udd90-\udd9b\udda0\uddd0-\uddfc]|\ud802[\udc77\udc78\udec8]|\ud805\udf3f|\ud81a[\udf3c-\udf3f\udf45]|\ud82f\udc9c|\ud834[\udc00-\udcf5\udd00-\udd26\udd29-\udd64\udd6a-\udd6c\udd83\udd84\udd8c-\udda9\uddae-\udde8\ude00-\ude41\ude45\udf00-\udf56]|\ud835[\udec1\udedb\udefb\udf15\udf35\udf4f\udf6f\udf89\udfa9\udfc3]|\ud836[\udc00-\uddff\ude37-\ude3a\ude6d-\ude74\ude76-\ude83\ude85\ude86]|\ud83b[\udef0\udef1]|\ud83c[\udc00-\udc2b\udc30-\udc93\udca0-\udcae\udcb1-\udcbf\udcc1-\udccf\udcd1-\udcf5\udd10-\udd2e\udd30-\udd6b\udd70-\uddac\udde6-\ude02\ude10-\ude3b\ude40-\ude48\ude50\ude51\udf00-\udfff]|\ud83d[\udc00-\uded2\udee0-\udeec\udef0-\udef6\udf00-\udf73\udf80-\udfd4]|\ud83e[\udc00-\udc0b\udc10-\udc47\udc50-\udc59\udc60-\udc87\udc90-\udcad\udd10-\udd1e\udd20-\udd27\udd30\udd33-\udd3e\udd40-\udd4b\udd50-\udd5e\udd80-\udd91\uddc0]"},
-{name:"Sc",alias:"Currency_Symbol",bmp:"\\x24\u00a2-\u00a5\u058f\u060b\u09f2\u09f3\u09fb\u0af1\u0bf9\u0e3f\u17db\u20a0-\u20be\ua838\ufdfc\ufe69\uff04\uffe0\uffe1\uffe5\uffe6"},{name:"Sk",alias:"Modifier_Symbol",bmp:"\\x5E`\u00a8\u00af\u00b4\u00b8\u02c2-\u02c5\u02d2-\u02df\u02e5-\u02eb\u02ed\u02ef-\u02ff\u0375\u0384\u0385\u1fbd\u1fbf-\u1fc1\u1fcd-\u1fcf\u1fdd-\u1fdf\u1fed-\u1fef\u1ffd\u1ffe\u309b\u309c\ua700-\ua716\ua720\ua721\ua789\ua78a\uab5b\ufbb2-\ufbc1\uff3e\uff40\uffe3",astral:"\ud83c[\udffb-\udfff]"},
-{name:"Sm",alias:"Math_Symbol",bmp:"\\x2B<->\\x7C~\u00ac\u00b1\u00d7\u00f7\u03f6\u0606-\u0608\u2044\u2052\u207a-\u207c\u208a-\u208c\u2118\u2140-\u2144\u214b\u2190-\u2194\u219a\u219b\u21a0\u21a3\u21a6\u21ae\u21ce\u21cf\u21d2\u21d4\u21f4-\u22ff\u2320\u2321\u237c\u239b-\u23b3\u23dc-\u23e1\u25b7\u25c1\u25f8-\u25ff\u266f\u27c0-\u27c4\u27c7-\u27e5\u27f0-\u27ff\u2900-\u2982\u2999-\u29d7\u29dc-\u29fb\u29fe-\u2aff\u2b30-\u2b44\u2b47-\u2b4c\ufb29\ufe62\ufe64-\ufe66\uff0b\uff1c-\uff1e\uff5c\uff5e\uffe2\uffe9-\uffec",
-astral:"\ud835[\udec1\udedb\udefb\udf15\udf35\udf4f\udf6f\udf89\udfa9\udfc3]|\ud83b[\udef0\udef1]"},{name:"So",alias:"Other_Symbol",bmp:"\u00a6\u00a9\u00ae\u00b0\u0482\u058d\u058e\u060e\u060f\u06de\u06e9\u06fd\u06fe\u07f6\u09fa\u0b70\u0bf3-\u0bf8\u0bfa\u0c7f\u0d4f\u0d79\u0f01-\u0f03\u0f13\u0f15-\u0f17\u0f1a-\u0f1f\u0f34\u0f36\u0f38\u0fbe-\u0fc5\u0fc7-\u0fcc\u0fce\u0fcf\u0fd5-\u0fd8\u109e\u109f\u1390-\u1399\u1940\u19de-\u19ff\u1b61-\u1b6a\u1b74-\u1b7c\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116\u2117\u211e-\u2123\u2125\u2127\u2129\u212e\u213a\u213b\u214a\u214c\u214d\u214f\u218a\u218b\u2195-\u2199\u219c-\u219f\u21a1\u21a2\u21a4\u21a5\u21a7-\u21ad\u21af-\u21cd\u21d0\u21d1\u21d3\u21d5-\u21f3\u2300-\u2307\u230c-\u231f\u2322-\u2328\u232b-\u237b\u237d-\u239a\u23b4-\u23db\u23e2-\u23fe\u2400-\u2426\u2440-\u244a\u249c-\u24e9\u2500-\u25b6\u25b8-\u25c0\u25c2-\u25f7\u2600-\u266e\u2670-\u2767\u2794-\u27bf\u2800-\u28ff\u2b00-\u2b2f\u2b45\u2b46\u2b4d-\u2b73\u2b76-\u2b95\u2b98-\u2bb9\u2bbd-\u2bc8\u2bca-\u2bd1\u2bec-\u2bef\u2ce5-\u2cea\u2e80-\u2e99\u2e9b-\u2ef3\u2f00-\u2fd5\u2ff0-\u2ffb\u3004\u3012\u3013\u3020\u3036\u3037\u303e\u303f\u3190\u3191\u3196-\u319f\u31c0-\u31e3\u3200-\u321e\u322a-\u3247\u3250\u3260-\u327f\u328a-\u32b0\u32c0-\u32fe\u3300-\u33ff\u4dc0-\u4dff\ua490-\ua4c6\ua828-\ua82b\ua836\ua837\ua839\uaa77-\uaa79\ufdfd\uffe4\uffe8\uffed\uffee\ufffc\ufffd",
-astral:"\ud800[\udd37-\udd3f\udd79-\udd89\udd8c-\udd8e\udd90-\udd9b\udda0\uddd0-\uddfc]|\ud802[\udc77\udc78\udec8]|\ud805\udf3f|\ud81a[\udf3c-\udf3f\udf45]|\ud82f\udc9c|\ud834[\udc00-\udcf5\udd00-\udd26\udd29-\udd64\udd6a-\udd6c\udd83\udd84\udd8c-\udda9\uddae-\udde8\ude00-\ude41\ude45\udf00-\udf56]|\ud836[\udc00-\uddff\ude37-\ude3a\ude6d-\ude74\ude76-\ude83\ude85\ude86]|\ud83c[\udc00-\udc2b\udc30-\udc93\udca0-\udcae\udcb1-\udcbf\udcc1-\udccf\udcd1-\udcf5\udd10-\udd2e\udd30-\udd6b\udd70-\uddac\udde6-\ude02\ude10-\ude3b\ude40-\ude48\ude50\ude51\udf00-\udffa]|\ud83d[\udc00-\uded2\udee0-\udeec\udef0-\udef6\udf00-\udf73\udf80-\udfd4]|\ud83e[\udc00-\udc0b\udc10-\udc47\udc50-\udc59\udc60-\udc87\udc90-\udcad\udd10-\udd1e\udd20-\udd27\udd30\udd33-\udd3e\udd40-\udd4b\udd50-\udd5e\udd80-\udd91\uddc0]"},
-{name:"Z",alias:"Separator",bmp:" \u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000"},{name:"Zl",alias:"Line_Separator",bmp:"\u2028"},{name:"Zp",alias:"Paragraph_Separator",bmp:"\u2029"},{name:"Zs",alias:"Space_Separator",bmp:" \u00a0\u1680\u2000-\u200a\u202f\u205f\u3000"}])}},{}],6:[function(d,g,p){g.exports=function(c){if(!c.addUnicodeData)throw new ReferenceError("Unicode Base must be loaded before Unicode Properties");var d=[{name:"ASCII",bmp:"\x00-\u007f"},{name:"Alphabetic",bmp:"A-Za-z\u00aa\u00b5\u00ba\u00c0-\u00d6\u00d8-\u00f6\u00f8-\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\u08b6-\u08bd\u08d4-\u08df\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\u0c80-\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\u0d54-\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\u1c80-\u1c88\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-\u30fa\u30fc-\u30ff\u3105-\u312d\u3131-\u318e\u31a0-\u31ba\u31f0-\u31ff\u3400-\u4db5\u4e00-\u9fd5\ua000-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua61f\ua62a\ua62b\ua640-\ua66e\ua674-\ua67b\ua67f-\ua6ef\ua717-\ua71f\ua722-\ua788\ua78b-\ua7ae\ua7b0-\ua7b7\ua7f7-\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua827\ua840-\ua873\ua880-\ua8c3\ua8c5\ua8f2-\ua8f7\ua8fb\ua8fd\ua90a-\ua92a\ua930-\ua952\ua960-\ua97c\ua980-\ua9b2\ua9b4-\ua9bf\ua9cf\ua9e0-\ua9e4\ua9e6-\ua9ef\ua9fa-\ua9fe\uaa00-\uaa36\uaa40-\uaa4d\uaa60-\uaa76\uaa7a\uaa7e-\uaabe\uaac0\uaac2\uaadb-\uaadd\uaae0-\uaaef\uaaf2-\uaaf5\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uab30-\uab5a\uab5c-\uab65\uab70-\uabea\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40\ufb41\ufb43\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe70-\ufe74\ufe76-\ufefc\uff21-\uff3a\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc",
-astral:"\ud800[\udc00-\udc0b\udc0d-\udc26\udc28-\udc3a\udc3c\udc3d\udc3f-\udc4d\udc50-\udc5d\udc80-\udcfa\udd40-\udd74\ude80-\ude9c\udea0-\uded0\udf00-\udf1f\udf30-\udf4a\udf50-\udf7a\udf80-\udf9d\udfa0-\udfc3\udfc8-\udfcf\udfd1-\udfd5]|\ud801[\udc00-\udc9d\udcb0-\udcd3\udcd8-\udcfb\udd00-\udd27\udd30-\udd63\ude00-\udf36\udf40-\udf55\udf60-\udf67]|\ud802[\udc00-\udc05\udc08\udc0a-\udc35\udc37\udc38\udc3c\udc3f-\udc55\udc60-\udc76\udc80-\udc9e\udce0-\udcf2\udcf4\udcf5\udd00-\udd15\udd20-\udd39\udd80-\uddb7\uddbe\uddbf\ude00-\ude03\ude05\ude06\ude0c-\ude13\ude15-\ude17\ude19-\ude33\ude60-\ude7c\ude80-\ude9c\udec0-\udec7\udec9-\udee4\udf00-\udf35\udf40-\udf55\udf60-\udf72\udf80-\udf91]|\ud803[\udc00-\udc48\udc80-\udcb2\udcc0-\udcf2]|\ud804[\udc00-\udc45\udc82-\udcb8\udcd0-\udce8\udd00-\udd32\udd50-\udd72\udd76\udd80-\uddbf\uddc1-\uddc4\uddda\udddc\ude00-\ude11\ude13-\ude34\ude37\ude3e\ude80-\ude86\ude88\ude8a-\ude8d\ude8f-\ude9d\ude9f-\udea8\udeb0-\udee8\udf00-\udf03\udf05-\udf0c\udf0f\udf10\udf13-\udf28\udf2a-\udf30\udf32\udf33\udf35-\udf39\udf3d-\udf44\udf47\udf48\udf4b\udf4c\udf50\udf57\udf5d-\udf63]|\ud805[\udc00-\udc41\udc43-\udc45\udc47-\udc4a\udc80-\udcc1\udcc4\udcc5\udcc7\udd80-\uddb5\uddb8-\uddbe\uddd8-\udddd\ude00-\ude3e\ude40\ude44\ude80-\udeb5\udf00-\udf19\udf1d-\udf2a]|\ud806[\udca0-\udcdf\udcff\udec0-\udef8]|\ud807[\udc00-\udc08\udc0a-\udc36\udc38-\udc3e\udc40\udc72-\udc8f\udc92-\udca7\udca9-\udcb6]|\ud808[\udc00-\udf99]|\ud809[\udc00-\udc6e\udc80-\udd43]|[\ud80c\ud81c-\ud820\ud840-\ud868\ud86a-\ud86c\ud86f-\ud872][\udc00-\udfff]|\ud80d[\udc00-\udc2e]|\ud811[\udc00-\ude46]|\ud81a[\udc00-\ude38\ude40-\ude5e\uded0-\udeed\udf00-\udf36\udf40-\udf43\udf63-\udf77\udf7d-\udf8f]|\ud81b[\udf00-\udf44\udf50-\udf7e\udf93-\udf9f\udfe0]|\ud821[\udc00-\udfec]|\ud822[\udc00-\udef2]|\ud82c[\udc00\udc01]|\ud82f[\udc00-\udc6a\udc70-\udc7c\udc80-\udc88\udc90-\udc99\udc9e]|\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-\udec0\udec2-\udeda\udedc-\udefa\udefc-\udf14\udf16-\udf34\udf36-\udf4e\udf50-\udf6e\udf70-\udf88\udf8a-\udfa8\udfaa-\udfc2\udfc4-\udfcb]|\ud838[\udc00-\udc06\udc08-\udc18\udc1b-\udc21\udc23\udc24\udc26-\udc2a]|\ud83a[\udc00-\udcc4\udd00-\udd43\udd47]|\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]|\ud83c[\udd30-\udd49\udd50-\udd69\udd70-\udd89]|\ud869[\udc00-\uded6\udf00-\udfff]|\ud86d[\udc00-\udf34\udf40-\udfff]|\ud86e[\udc00-\udc1d\udc20-\udfff]|\ud873[\udc00-\udea1]|\ud87e[\udc00-\ude1d]"},
-{name:"Any",isBmpLast:!0,bmp:"\x00-\uffff",astral:"[\ud800-\udbff][\udc00-\udfff]"},{name:"Default_Ignorable_Code_Point",bmp:"\u00ad\u034f\u061c\u115f\u1160\u17b4\u17b5\u180b-\u180e\u200b-\u200f\u202a-\u202e\u2060-\u206f\u3164\ufe00-\ufe0f\ufeff\uffa0\ufff0-\ufff8",astral:"\ud82f[\udca0-\udca3]|\ud834[\udd73-\udd7a]|[\udb40-\udb43][\udc00-\udfff]"},{name:"Lowercase",bmp:"a-z\u00aa\u00b5\u00ba\u00df-\u00f6\u00f8-\u00ff\u0101\u0103\u0105\u0107\u0109\u010b\u010d\u010f\u0111\u0113\u0115\u0117\u0119\u011b\u011d\u011f\u0121\u0123\u0125\u0127\u0129\u012b\u012d\u012f\u0131\u0133\u0135\u0137\u0138\u013a\u013c\u013e\u0140\u0142\u0144\u0146\u0148\u0149\u014b\u014d\u014f\u0151\u0153\u0155\u0157\u0159\u015b\u015d\u015f\u0161\u0163\u0165\u0167\u0169\u016b\u016d\u016f\u0171\u0173\u0175\u0177\u017a\u017c\u017e-\u0180\u0183\u0185\u0188\u018c\u018d\u0192\u0195\u0199-\u019b\u019e\u01a1\u01a3\u01a5\u01a8\u01aa\u01ab\u01ad\u01b0\u01b4\u01b6\u01b9\u01ba\u01bd-\u01bf\u01c6\u01c9\u01cc\u01ce\u01d0\u01d2\u01d4\u01d6\u01d8\u01da\u01dc\u01dd\u01df\u01e1\u01e3\u01e5\u01e7\u01e9\u01eb\u01ed\u01ef\u01f0\u01f3\u01f5\u01f9\u01fb\u01fd\u01ff\u0201\u0203\u0205\u0207\u0209\u020b\u020d\u020f\u0211\u0213\u0215\u0217\u0219\u021b\u021d\u021f\u0221\u0223\u0225\u0227\u0229\u022b\u022d\u022f\u0231\u0233-\u0239\u023c\u023f\u0240\u0242\u0247\u0249\u024b\u024d\u024f-\u0293\u0295-\u02b8\u02c0\u02c1\u02e0-\u02e4\u0345\u0371\u0373\u0377\u037a-\u037d\u0390\u03ac-\u03ce\u03d0\u03d1\u03d5-\u03d7\u03d9\u03db\u03dd\u03df\u03e1\u03e3\u03e5\u03e7\u03e9\u03eb\u03ed\u03ef-\u03f3\u03f5\u03f8\u03fb\u03fc\u0430-\u045f\u0461\u0463\u0465\u0467\u0469\u046b\u046d\u046f\u0471\u0473\u0475\u0477\u0479\u047b\u047d\u047f\u0481\u048b\u048d\u048f\u0491\u0493\u0495\u0497\u0499\u049b\u049d\u049f\u04a1\u04a3\u04a5\u04a7\u04a9\u04ab\u04ad\u04af\u04b1\u04b3\u04b5\u04b7\u04b9\u04bb\u04bd\u04bf\u04c2\u04c4\u04c6\u04c8\u04ca\u04cc\u04ce\u04cf\u04d1\u04d3\u04d5\u04d7\u04d9\u04db\u04dd\u04df\u04e1\u04e3\u04e5\u04e7\u04e9\u04eb\u04ed\u04ef\u04f1\u04f3\u04f5\u04f7\u04f9\u04fb\u04fd\u04ff\u0501\u0503\u0505\u0507\u0509\u050b\u050d\u050f\u0511\u0513\u0515\u0517\u0519\u051b\u051d\u051f\u0521\u0523\u0525\u0527\u0529\u052b\u052d\u052f\u0561-\u0587\u13f8-\u13fd\u1c80-\u1c88\u1d00-\u1dbf\u1e01\u1e03\u1e05\u1e07\u1e09\u1e0b\u1e0d\u1e0f\u1e11\u1e13\u1e15\u1e17\u1e19\u1e1b\u1e1d\u1e1f\u1e21\u1e23\u1e25\u1e27\u1e29\u1e2b\u1e2d\u1e2f\u1e31\u1e33\u1e35\u1e37\u1e39\u1e3b\u1e3d\u1e3f\u1e41\u1e43\u1e45\u1e47\u1e49\u1e4b\u1e4d\u1e4f\u1e51\u1e53\u1e55\u1e57\u1e59\u1e5b\u1e5d\u1e5f\u1e61\u1e63\u1e65\u1e67\u1e69\u1e6b\u1e6d\u1e6f\u1e71\u1e73\u1e75\u1e77\u1e79\u1e7b\u1e7d\u1e7f\u1e81\u1e83\u1e85\u1e87\u1e89\u1e8b\u1e8d\u1e8f\u1e91\u1e93\u1e95-\u1e9d\u1e9f\u1ea1\u1ea3\u1ea5\u1ea7\u1ea9\u1eab\u1ead\u1eaf\u1eb1\u1eb3\u1eb5\u1eb7\u1eb9\u1ebb\u1ebd\u1ebf\u1ec1\u1ec3\u1ec5\u1ec7\u1ec9\u1ecb\u1ecd\u1ecf\u1ed1\u1ed3\u1ed5\u1ed7\u1ed9\u1edb\u1edd\u1edf\u1ee1\u1ee3\u1ee5\u1ee7\u1ee9\u1eeb\u1eed\u1eef\u1ef1\u1ef3\u1ef5\u1ef7\u1ef9\u1efb\u1efd\u1eff-\u1f07\u1f10-\u1f15\u1f20-\u1f27\u1f30-\u1f37\u1f40-\u1f45\u1f50-\u1f57\u1f60-\u1f67\u1f70-\u1f7d\u1f80-\u1f87\u1f90-\u1f97\u1fa0-\u1fa7\u1fb0-\u1fb4\u1fb6\u1fb7\u1fbe\u1fc2-\u1fc4\u1fc6\u1fc7\u1fd0-\u1fd3\u1fd6\u1fd7\u1fe0-\u1fe7\u1ff2-\u1ff4\u1ff6\u1ff7\u2071\u207f\u2090-\u209c\u210a\u210e\u210f\u2113\u212f\u2134\u2139\u213c\u213d\u2146-\u2149\u214e\u2170-\u217f\u2184\u24d0-\u24e9\u2c30-\u2c5e\u2c61\u2c65\u2c66\u2c68\u2c6a\u2c6c\u2c71\u2c73\u2c74\u2c76-\u2c7d\u2c81\u2c83\u2c85\u2c87\u2c89\u2c8b\u2c8d\u2c8f\u2c91\u2c93\u2c95\u2c97\u2c99\u2c9b\u2c9d\u2c9f\u2ca1\u2ca3\u2ca5\u2ca7\u2ca9\u2cab\u2cad\u2caf\u2cb1\u2cb3\u2cb5\u2cb7\u2cb9\u2cbb\u2cbd\u2cbf\u2cc1\u2cc3\u2cc5\u2cc7\u2cc9\u2ccb\u2ccd\u2ccf\u2cd1\u2cd3\u2cd5\u2cd7\u2cd9\u2cdb\u2cdd\u2cdf\u2ce1\u2ce3\u2ce4\u2cec\u2cee\u2cf3\u2d00-\u2d25\u2d27\u2d2d\ua641\ua643\ua645\ua647\ua649\ua64b\ua64d\ua64f\ua651\ua653\ua655\ua657\ua659\ua65b\ua65d\ua65f\ua661\ua663\ua665\ua667\ua669\ua66b\ua66d\ua681\ua683\ua685\ua687\ua689\ua68b\ua68d\ua68f\ua691\ua693\ua695\ua697\ua699\ua69b-\ua69d\ua723\ua725\ua727\ua729\ua72b\ua72d\ua72f-\ua731\ua733\ua735\ua737\ua739\ua73b\ua73d\ua73f\ua741\ua743\ua745\ua747\ua749\ua74b\ua74d\ua74f\ua751\ua753\ua755\ua757\ua759\ua75b\ua75d\ua75f\ua761\ua763\ua765\ua767\ua769\ua76b\ua76d\ua76f-\ua778\ua77a\ua77c\ua77f\ua781\ua783\ua785\ua787\ua78c\ua78e\ua791\ua793-\ua795\ua797\ua799\ua79b\ua79d\ua79f\ua7a1\ua7a3\ua7a5\ua7a7\ua7a9\ua7b5\ua7b7\ua7f8-\ua7fa\uab30-\uab5a\uab5c-\uab65\uab70-\uabbf\ufb00-\ufb06\ufb13-\ufb17\uff41-\uff5a",
-astral:"\ud801[\udc28-\udc4f\udcd8-\udcfb]|\ud803[\udcc0-\udcf2]|\ud806[\udcc0-\udcdf]|\ud835[\udc1a-\udc33\udc4e-\udc54\udc56-\udc67\udc82-\udc9b\udcb6-\udcb9\udcbb\udcbd-\udcc3\udcc5-\udccf\udcea-\udd03\udd1e-\udd37\udd52-\udd6b\udd86-\udd9f\uddba-\uddd3\uddee-\ude07\ude22-\ude3b\ude56-\ude6f\ude8a-\udea5\udec2-\udeda\udedc-\udee1\udefc-\udf14\udf16-\udf1b\udf36-\udf4e\udf50-\udf55\udf70-\udf88\udf8a-\udf8f\udfaa-\udfc2\udfc4-\udfc9\udfcb]|\ud83a[\udd22-\udd43]"},{name:"Noncharacter_Code_Point",
-bmp:"\ufdd0-\ufdef\ufffe\uffff",astral:"[\ud83f\ud87f\ud8bf\ud8ff\ud93f\ud97f\ud9bf\ud9ff\uda3f\uda7f\udabf\udaff\udb3f\udb7f\udbbf\udbff][\udffe\udfff]"},{name:"Uppercase",bmp:"A-Z\u00c0-\u00d6\u00d8-\u00de\u0100\u0102\u0104\u0106\u0108\u010a\u010c\u010e\u0110\u0112\u0114\u0116\u0118\u011a\u011c\u011e\u0120\u0122\u0124\u0126\u0128\u012a\u012c\u012e\u0130\u0132\u0134\u0136\u0139\u013b\u013d\u013f\u0141\u0143\u0145\u0147\u014a\u014c\u014e\u0150\u0152\u0154\u0156\u0158\u015a\u015c\u015e\u0160\u0162\u0164\u0166\u0168\u016a\u016c\u016e\u0170\u0172\u0174\u0176\u0178\u0179\u017b\u017d\u0181\u0182\u0184\u0186\u0187\u0189-\u018b\u018e-\u0191\u0193\u0194\u0196-\u0198\u019c\u019d\u019f\u01a0\u01a2\u01a4\u01a6\u01a7\u01a9\u01ac\u01ae\u01af\u01b1-\u01b3\u01b5\u01b7\u01b8\u01bc\u01c4\u01c7\u01ca\u01cd\u01cf\u01d1\u01d3\u01d5\u01d7\u01d9\u01db\u01de\u01e0\u01e2\u01e4\u01e6\u01e8\u01ea\u01ec\u01ee\u01f1\u01f4\u01f6-\u01f8\u01fa\u01fc\u01fe\u0200\u0202\u0204\u0206\u0208\u020a\u020c\u020e\u0210\u0212\u0214\u0216\u0218\u021a\u021c\u021e\u0220\u0222\u0224\u0226\u0228\u022a\u022c\u022e\u0230\u0232\u023a\u023b\u023d\u023e\u0241\u0243-\u0246\u0248\u024a\u024c\u024e\u0370\u0372\u0376\u037f\u0386\u0388-\u038a\u038c\u038e\u038f\u0391-\u03a1\u03a3-\u03ab\u03cf\u03d2-\u03d4\u03d8\u03da\u03dc\u03de\u03e0\u03e2\u03e4\u03e6\u03e8\u03ea\u03ec\u03ee\u03f4\u03f7\u03f9\u03fa\u03fd-\u042f\u0460\u0462\u0464\u0466\u0468\u046a\u046c\u046e\u0470\u0472\u0474\u0476\u0478\u047a\u047c\u047e\u0480\u048a\u048c\u048e\u0490\u0492\u0494\u0496\u0498\u049a\u049c\u049e\u04a0\u04a2\u04a4\u04a6\u04a8\u04aa\u04ac\u04ae\u04b0\u04b2\u04b4\u04b6\u04b8\u04ba\u04bc\u04be\u04c0\u04c1\u04c3\u04c5\u04c7\u04c9\u04cb\u04cd\u04d0\u04d2\u04d4\u04d6\u04d8\u04da\u04dc\u04de\u04e0\u04e2\u04e4\u04e6\u04e8\u04ea\u04ec\u04ee\u04f0\u04f2\u04f4\u04f6\u04f8\u04fa\u04fc\u04fe\u0500\u0502\u0504\u0506\u0508\u050a\u050c\u050e\u0510\u0512\u0514\u0516\u0518\u051a\u051c\u051e\u0520\u0522\u0524\u0526\u0528\u052a\u052c\u052e\u0531-\u0556\u10a0-\u10c5\u10c7\u10cd\u13a0-\u13f5\u1e00\u1e02\u1e04\u1e06\u1e08\u1e0a\u1e0c\u1e0e\u1e10\u1e12\u1e14\u1e16\u1e18\u1e1a\u1e1c\u1e1e\u1e20\u1e22\u1e24\u1e26\u1e28\u1e2a\u1e2c\u1e2e\u1e30\u1e32\u1e34\u1e36\u1e38\u1e3a\u1e3c\u1e3e\u1e40\u1e42\u1e44\u1e46\u1e48\u1e4a\u1e4c\u1e4e\u1e50\u1e52\u1e54\u1e56\u1e58\u1e5a\u1e5c\u1e5e\u1e60\u1e62\u1e64\u1e66\u1e68\u1e6a\u1e6c\u1e6e\u1e70\u1e72\u1e74\u1e76\u1e78\u1e7a\u1e7c\u1e7e\u1e80\u1e82\u1e84\u1e86\u1e88\u1e8a\u1e8c\u1e8e\u1e90\u1e92\u1e94\u1e9e\u1ea0\u1ea2\u1ea4\u1ea6\u1ea8\u1eaa\u1eac\u1eae\u1eb0\u1eb2\u1eb4\u1eb6\u1eb8\u1eba\u1ebc\u1ebe\u1ec0\u1ec2\u1ec4\u1ec6\u1ec8\u1eca\u1ecc\u1ece\u1ed0\u1ed2\u1ed4\u1ed6\u1ed8\u1eda\u1edc\u1ede\u1ee0\u1ee2\u1ee4\u1ee6\u1ee8\u1eea\u1eec\u1eee\u1ef0\u1ef2\u1ef4\u1ef6\u1ef8\u1efa\u1efc\u1efe\u1f08-\u1f0f\u1f18-\u1f1d\u1f28-\u1f2f\u1f38-\u1f3f\u1f48-\u1f4d\u1f59\u1f5b\u1f5d\u1f5f\u1f68-\u1f6f\u1fb8-\u1fbb\u1fc8-\u1fcb\u1fd8-\u1fdb\u1fe8-\u1fec\u1ff8-\u1ffb\u2102\u2107\u210b-\u210d\u2110-\u2112\u2115\u2119-\u211d\u2124\u2126\u2128\u212a-\u212d\u2130-\u2133\u213e\u213f\u2145\u2160-\u216f\u2183\u24b6-\u24cf\u2c00-\u2c2e\u2c60\u2c62-\u2c64\u2c67\u2c69\u2c6b\u2c6d-\u2c70\u2c72\u2c75\u2c7e-\u2c80\u2c82\u2c84\u2c86\u2c88\u2c8a\u2c8c\u2c8e\u2c90\u2c92\u2c94\u2c96\u2c98\u2c9a\u2c9c\u2c9e\u2ca0\u2ca2\u2ca4\u2ca6\u2ca8\u2caa\u2cac\u2cae\u2cb0\u2cb2\u2cb4\u2cb6\u2cb8\u2cba\u2cbc\u2cbe\u2cc0\u2cc2\u2cc4\u2cc6\u2cc8\u2cca\u2ccc\u2cce\u2cd0\u2cd2\u2cd4\u2cd6\u2cd8\u2cda\u2cdc\u2cde\u2ce0\u2ce2\u2ceb\u2ced\u2cf2\ua640\ua642\ua644\ua646\ua648\ua64a\ua64c\ua64e\ua650\ua652\ua654\ua656\ua658\ua65a\ua65c\ua65e\ua660\ua662\ua664\ua666\ua668\ua66a\ua66c\ua680\ua682\ua684\ua686\ua688\ua68a\ua68c\ua68e\ua690\ua692\ua694\ua696\ua698\ua69a\ua722\ua724\ua726\ua728\ua72a\ua72c\ua72e\ua732\ua734\ua736\ua738\ua73a\ua73c\ua73e\ua740\ua742\ua744\ua746\ua748\ua74a\ua74c\ua74e\ua750\ua752\ua754\ua756\ua758\ua75a\ua75c\ua75e\ua760\ua762\ua764\ua766\ua768\ua76a\ua76c\ua76e\ua779\ua77b\ua77d\ua77e\ua780\ua782\ua784\ua786\ua78b\ua78d\ua790\ua792\ua796\ua798\ua79a\ua79c\ua79e\ua7a0\ua7a2\ua7a4\ua7a6\ua7a8\ua7aa-\ua7ae\ua7b0-\ua7b4\ua7b6\uff21-\uff3a",
-astral:"\ud801[\udc00-\udc27\udcb0-\udcd3]|\ud803[\udc80-\udcb2]|\ud806[\udca0-\udcbf]|\ud835[\udc00-\udc19\udc34-\udc4d\udc68-\udc81\udc9c\udc9e\udc9f\udca2\udca5\udca6\udca9-\udcac\udcae-\udcb5\udcd0-\udce9\udd04\udd05\udd07-\udd0a\udd0d-\udd14\udd16-\udd1c\udd38\udd39\udd3b-\udd3e\udd40-\udd44\udd46\udd4a-\udd50\udd6c-\udd85\udda0-\uddb9\uddd4-\udded\ude08-\ude21\ude3c-\ude55\ude70-\ude89\udea8-\udec0\udee2-\udefa\udf1c-\udf34\udf56-\udf6e\udf90-\udfa8\udfca]|\ud83a[\udd00-\udd21]|\ud83c[\udd30-\udd49\udd50-\udd69\udd70-\udd89]"},
-{name:"White_Space",bmp:"\t-\r \u0085\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000"}];d.push({name:"Assigned",inverseOf:"Cn"});c.addUnicodeData(d)}},{}],7:[function(d,g,p){g.exports=function(c){if(!c.addUnicodeData)throw new ReferenceError("Unicode Base must be loaded before Unicode Scripts");c.addUnicodeData([{name:"Adlam",astral:"\ud83a[\udd00-\udd4a\udd50-\udd59\udd5e\udd5f]"},{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\u08b6-\u08bd\u08d4-\u08e1\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:"Bhaiksuki",astral:"\ud807[\udc00-\udc08\udc0a-\udc36\udc38-\udc45\udc50-\udc6c]"},{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:"\x00-@\\x5B-`\\x7B-\u00a9\u00ab-\u00b9\u00bb-\u00bf\u00d7\u00f7\u02b9-\u02df\u02e5-\u02e9\u02ec-\u02ff\u0374\u037e\u0385\u0387\u0589\u0605\u060c\u061b\u061c\u061f\u0640\u06dd\u08e2\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-\u23fe\u2400-\u2426\u2440-\u244a\u2460-\u27ff\u2900-\u2b73\u2b76-\u2b95\u2b98-\u2bb9\u2bbd-\u2bc8\u2bca-\u2bd1\u2bec-\u2bef\u2e00-\u2e44\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:"\ud800[\udd00-\udd02\udd07-\udd33\udd37-\udd3f\udd90-\udd9b\uddd0-\uddfc\udee1-\udefb]|\ud82f[\udca0-\udca3]|\ud834[\udc00-\udcf5\udd00-\udd26\udd29-\udd66\udd6a-\udd7a\udd83\udd84\udd8c-\udda9\uddae-\udde8\udf00-\udf56\udf60-\udf71]|\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]|\ud83c[\udc00-\udc2b\udc30-\udc93\udca0-\udcae\udcb1-\udcbf\udcc1-\udccf\udcd1-\udcf5\udd00-\udd0c\udd10-\udd2e\udd30-\udd6b\udd70-\uddac\udde6-\uddff\ude01\ude02\ude10-\ude3b\ude40-\ude48\ude50\ude51\udf00-\udfff]|\ud83d[\udc00-\uded2\udee0-\udeec\udef0-\udef6\udf00-\udf73\udf80-\udfd4]|\ud83e[\udc00-\udc0b\udc10-\udc47\udc50-\udc59\udc60-\udc87\udc90-\udcad\udd10-\udd1e\udd20-\udd27\udd30\udd33-\udd3e\udd40-\udd4b\udd50-\udd5e\udd80-\udd91\uddc0]|\udb40[\udc01\udc20-\udc7f]"},
-{name:"Coptic",bmp:"\u03e2-\u03ef\u2c80-\u2cf3\u2cf9-\u2cff"},{name:"Cuneiform",astral:"\ud808[\udc00-\udf99]|\ud809[\udc00-\udc6e\udc70-\udc74\udc80-\udd43]"},{name:"Cypriot",astral:"\ud802[\udc00-\udc05\udc08\udc0a-\udc35\udc37\udc38\udc3c\udc3f]"},{name:"Cyrillic",bmp:"\u0400-\u0484\u0487-\u052f\u1c80-\u1c88\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f"},{name:"Deseret",astral:"\ud801[\udc00-\udc4f]"},{name:"Devanagari",bmp:"\u0900-\u0950\u0953-\u0963\u0966-\u097f\ua8e0-\ua8fd"},{name:"Duployan",
-astral:"\ud82f[\udc00-\udc6a\udc70-\udc7c\udc80-\udc88\udc90-\udc99\udc9c-\udc9f]"},{name:"Egyptian_Hieroglyphs",astral:"\ud80c[\udc00-\udfff]|\ud80d[\udc00-\udc2e]"},{name:"Elbasan",astral:"\ud801[\udd00-\udd27]"},{name:"Ethiopic",bmp:"\u1200-\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\u135d-\u137c\u1380-\u1399\u2d80-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e"},
-{name:"Georgian",bmp:"\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u10ff\u2d00-\u2d25\u2d27\u2d2d"},{name:"Glagolitic",bmp:"\u2c00-\u2c2e\u2c30-\u2c5e",astral:"\ud838[\udc00-\udc06\udc08-\udc18\udc1b-\udc21\udc23\udc24\udc26-\udc2a]"},{name:"Gothic",astral:"\ud800[\udf30-\udf4a]"},{name:"Grantha",astral:"\ud804[\udf00-\udf03\udf05-\udf0c\udf0f\udf10\udf13-\udf28\udf2a-\udf30\udf32\udf33\udf35-\udf39\udf3c-\udf44\udf47\udf48\udf4b-\udf4d\udf50\udf57\udf5d-\udf63\udf66-\udf6c\udf70-\udf74]"},{name:"Greek",
-bmp:"\u0370-\u0373\u0375-\u0377\u037a-\u037d\u037f\u0384\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03e1\u03f0-\u03ff\u1d26-\u1d2a\u1d5d-\u1d61\u1d66-\u1d6a\u1dbf\u1f00-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fc4\u1fc6-\u1fd3\u1fd6-\u1fdb\u1fdd-\u1fef\u1ff2-\u1ff4\u1ff6-\u1ffe\u2126\uab65",astral:"\ud800[\udd40-\udd8e\udda0]|\ud834[\ude00-\ude45]"},{name:"Gujarati",bmp:"\u0a81-\u0a83\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2\u0ab3\u0ab5-\u0ab9\u0abc-\u0ac5\u0ac7-\u0ac9\u0acb-\u0acd\u0ad0\u0ae0-\u0ae3\u0ae6-\u0af1\u0af9"},
-{name:"Gurmukhi",bmp:"\u0a01-\u0a03\u0a05-\u0a0a\u0a0f\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32\u0a33\u0a35\u0a36\u0a38\u0a39\u0a3c\u0a3e-\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a59-\u0a5c\u0a5e\u0a66-\u0a75"},{name:"Han",bmp:"\u2e80-\u2e99\u2e9b-\u2ef3\u2f00-\u2fd5\u3005\u3007\u3021-\u3029\u3038-\u303b\u3400-\u4db5\u4e00-\u9fd5\uf900-\ufa6d\ufa70-\ufad9",astral:"[\ud840-\ud868\ud86a-\ud86c\ud86f-\ud872][\udc00-\udfff]|\ud869[\udc00-\uded6\udf00-\udfff]|\ud86d[\udc00-\udf34\udf40-\udfff]|\ud86e[\udc00-\udc1d\udc20-\udfff]|\ud873[\udc00-\udea1]|\ud87e[\udc00-\ude1d]"},
-{name:"Hangul",bmp:"\u1100-\u11ff\u302e\u302f\u3131-\u318e\u3200-\u321e\u3260-\u327e\ua960-\ua97c\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uffa0-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc"},{name:"Hanunoo",bmp:"\u1720-\u1734"},{name:"Hatran",astral:"\ud802[\udce0-\udcf2\udcf4\udcf5\udcfb-\udcff]"},{name:"Hebrew",bmp:"\u0591-\u05c7\u05d0-\u05ea\u05f0-\u05f4\ufb1d-\ufb36\ufb38-\ufb3c\ufb3e\ufb40\ufb41\ufb43\ufb44\ufb46-\ufb4f"},{name:"Hiragana",bmp:"\u3041-\u3096\u309d-\u309f",astral:"\ud82c\udc01|\ud83c\ude00"},
-{name:"Imperial_Aramaic",astral:"\ud802[\udc40-\udc55\udc57-\udc5f]"},{name:"Inherited",bmp:"\u0300-\u036f\u0485\u0486\u064b-\u0655\u0670\u0951\u0952\u1ab0-\u1abe\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1cf4\u1cf8\u1cf9\u1dc0-\u1df5\u1dfb-\u1dff\u200c\u200d\u20d0-\u20f0\u302a-\u302d\u3099\u309a\ufe00-\ufe0f\ufe20-\ufe2d",astral:"\ud800[\uddfd\udee0]|\ud834[\udd67-\udd69\udd7b-\udd82\udd85-\udd8b\uddaa-\uddad]|\udb40[\udd00-\uddef]"},{name:"Inscriptional_Pahlavi",astral:"\ud802[\udf60-\udf72\udf78-\udf7f]"},
-{name:"Inscriptional_Parthian",astral:"\ud802[\udf40-\udf55\udf58-\udf5f]"},{name:"Javanese",bmp:"\ua980-\ua9cd\ua9d0-\ua9d9\ua9de\ua9df"},{name:"Kaithi",astral:"\ud804[\udc80-\udcc1]"},{name:"Kannada",bmp:"\u0c80-\u0c83\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbc-\u0cc4\u0cc6-\u0cc8\u0cca-\u0ccd\u0cd5\u0cd6\u0cde\u0ce0-\u0ce3\u0ce6-\u0cef\u0cf1\u0cf2"},{name:"Katakana",bmp:"\u30a1-\u30fa\u30fd-\u30ff\u31f0-\u31ff\u32d0-\u32fe\u3300-\u3357\uff66-\uff6f\uff71-\uff9d",astral:"\ud82c\udc00"},
-{name:"Kayah_Li",bmp:"\ua900-\ua92d\ua92f"},{name:"Kharoshthi",astral:"\ud802[\ude00-\ude03\ude05\ude06\ude0c-\ude13\ude15-\ude17\ude19-\ude33\ude38-\ude3a\ude3f-\ude47\ude50-\ude58]"},{name:"Khmer",bmp:"\u1780-\u17dd\u17e0-\u17e9\u17f0-\u17f9\u19e0-\u19ff"},{name:"Khojki",astral:"\ud804[\ude00-\ude11\ude13-\ude3e]"},{name:"Khudawadi",astral:"\ud804[\udeb0-\udeea\udef0-\udef9]"},{name:"Lao",bmp:"\u0e81\u0e82\u0e84\u0e87\u0e88\u0e8a\u0e8d\u0e94-\u0e97\u0e99-\u0e9f\u0ea1-\u0ea3\u0ea5\u0ea7\u0eaa\u0eab\u0ead-\u0eb9\u0ebb-\u0ebd\u0ec0-\u0ec4\u0ec6\u0ec8-\u0ecd\u0ed0-\u0ed9\u0edc-\u0edf"},
-{name:"Latin",bmp:"A-Za-z\u00aa\u00ba\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u02e0-\u02e4\u1d00-\u1d25\u1d2c-\u1d5c\u1d62-\u1d65\u1d6b-\u1d77\u1d79-\u1dbe\u1e00-\u1eff\u2071\u207f\u2090-\u209c\u212a\u212b\u2132\u214e\u2160-\u2188\u2c60-\u2c7f\ua722-\ua787\ua78b-\ua7ae\ua7b0-\ua7b7\ua7f7-\ua7ff\uab30-\uab5a\uab5c-\uab64\ufb00-\ufb06\uff21-\uff3a\uff41-\uff5a"},{name:"Lepcha",bmp:"\u1c00-\u1c37\u1c3b-\u1c49\u1c4d-\u1c4f"},{name:"Limbu",bmp:"\u1900-\u191e\u1920-\u192b\u1930-\u193b\u1940\u1944-\u194f"},
-{name:"Linear_A",astral:"\ud801[\ude00-\udf36\udf40-\udf55\udf60-\udf67]"},{name:"Linear_B",astral:"\ud800[\udc00-\udc0b\udc0d-\udc26\udc28-\udc3a\udc3c\udc3d\udc3f-\udc4d\udc50-\udc5d\udc80-\udcfa]"},{name:"Lisu",bmp:"\ua4d0-\ua4ff"},{name:"Lycian",astral:"\ud800[\ude80-\ude9c]"},{name:"Lydian",astral:"\ud802[\udd20-\udd39\udd3f]"},{name:"Mahajani",astral:"\ud804[\udd50-\udd76]"},{name:"Malayalam",bmp:"\u0d01-\u0d03\u0d05-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d-\u0d44\u0d46-\u0d48\u0d4a-\u0d4f\u0d54-\u0d63\u0d66-\u0d7f"},
-{name:"Mandaic",bmp:"\u0840-\u085b\u085e"},{name:"Manichaean",astral:"\ud802[\udec0-\udee6\udeeb-\udef6]"},{name:"Marchen",astral:"\ud807[\udc70-\udc8f\udc92-\udca7\udca9-\udcb6]"},{name:"Meetei_Mayek",bmp:"\uaae0-\uaaf6\uabc0-\uabed\uabf0-\uabf9"},{name:"Mende_Kikakui",astral:"\ud83a[\udc00-\udcc4\udcc7-\udcd6]"},{name:"Meroitic_Cursive",astral:"\ud802[\udda0-\uddb7\uddbc-\uddcf\uddd2-\uddff]"},{name:"Meroitic_Hieroglyphs",astral:"\ud802[\udd80-\udd9f]"},{name:"Miao",astral:"\ud81b[\udf00-\udf44\udf50-\udf7e\udf8f-\udf9f]"},
-{name:"Modi",astral:"\ud805[\ude00-\ude44\ude50-\ude59]"},{name:"Mongolian",bmp:"\u1800\u1801\u1804\u1806-\u180e\u1810-\u1819\u1820-\u1877\u1880-\u18aa",astral:"\ud805[\ude60-\ude6c]"},{name:"Mro",astral:"\ud81a[\ude40-\ude5e\ude60-\ude69\ude6e\ude6f]"},{name:"Multani",astral:"\ud804[\ude80-\ude86\ude88\ude8a-\ude8d\ude8f-\ude9d\ude9f-\udea9]"},{name:"Myanmar",bmp:"\u1000-\u109f\ua9e0-\ua9fe\uaa60-\uaa7f"},{name:"Nabataean",astral:"\ud802[\udc80-\udc9e\udca7-\udcaf]"},{name:"New_Tai_Lue",bmp:"\u1980-\u19ab\u19b0-\u19c9\u19d0-\u19da\u19de\u19df"},
-{name:"Newa",astral:"\ud805[\udc00-\udc59\udc5b\udc5d]"},{name:"Nko",bmp:"\u07c0-\u07fa"},{name:"Ogham",bmp:"\u1680-\u169c"},{name:"Ol_Chiki",bmp:"\u1c50-\u1c7f"},{name:"Old_Hungarian",astral:"\ud803[\udc80-\udcb2\udcc0-\udcf2\udcfa-\udcff]"},{name:"Old_Italic",astral:"\ud800[\udf00-\udf23]"},{name:"Old_North_Arabian",astral:"\ud802[\ude80-\ude9f]"},{name:"Old_Permic",astral:"\ud800[\udf50-\udf7a]"},{name:"Old_Persian",astral:"\ud800[\udfa0-\udfc3\udfc8-\udfd5]"},{name:"Old_South_Arabian",astral:"\ud802[\ude60-\ude7f]"},
-{name:"Old_Turkic",astral:"\ud803[\udc00-\udc48]"},{name:"Oriya",bmp:"\u0b01-\u0b03\u0b05-\u0b0c\u0b0f\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32\u0b33\u0b35-\u0b39\u0b3c-\u0b44\u0b47\u0b48\u0b4b-\u0b4d\u0b56\u0b57\u0b5c\u0b5d\u0b5f-\u0b63\u0b66-\u0b77"},{name:"Osage",astral:"\ud801[\udcb0-\udcd3\udcd8-\udcfb]"},{name:"Osmanya",astral:"\ud801[\udc80-\udc9d\udca0-\udca9]"},{name:"Pahawh_Hmong",astral:"\ud81a[\udf00-\udf45\udf50-\udf59\udf5b-\udf61\udf63-\udf77\udf7d-\udf8f]"},{name:"Palmyrene",astral:"\ud802[\udc60-\udc7f]"},
-{name:"Pau_Cin_Hau",astral:"\ud806[\udec0-\udef8]"},{name:"Phags_Pa",bmp:"\ua840-\ua877"},{name:"Phoenician",astral:"\ud802[\udd00-\udd1b\udd1f]"},{name:"Psalter_Pahlavi",astral:"\ud802[\udf80-\udf91\udf99-\udf9c\udfa9-\udfaf]"},{name:"Rejang",bmp:"\ua930-\ua953\ua95f"},{name:"Runic",bmp:"\u16a0-\u16ea\u16ee-\u16f8"},{name:"Samaritan",bmp:"\u0800-\u082d\u0830-\u083e"},{name:"Saurashtra",bmp:"\ua880-\ua8c5\ua8ce-\ua8d9"},{name:"Sharada",astral:"\ud804[\udd80-\uddcd\uddd0-\udddf]"},{name:"Shavian",
-astral:"\ud801[\udc50-\udc7f]"},{name:"Siddham",astral:"\ud805[\udd80-\uddb5\uddb8-\udddd]"},{name:"SignWriting",astral:"\ud836[\udc00-\ude8b\ude9b-\ude9f\udea1-\udeaf]"},{name:"Sinhala",bmp:"\u0d82\u0d83\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0dca\u0dcf-\u0dd4\u0dd6\u0dd8-\u0ddf\u0de6-\u0def\u0df2-\u0df4",astral:"\ud804[\udde1-\uddf4]"},{name:"Sora_Sompeng",astral:"\ud804[\udcd0-\udce8\udcf0-\udcf9]"},{name:"Sundanese",bmp:"\u1b80-\u1bbf\u1cc0-\u1cc7"},{name:"Syloti_Nagri",bmp:"\ua800-\ua82b"},
-{name:"Syriac",bmp:"\u0700-\u070d\u070f-\u074a\u074d-\u074f"},{name:"Tagalog",bmp:"\u1700-\u170c\u170e-\u1714"},{name:"Tagbanwa",bmp:"\u1760-\u176c\u176e-\u1770\u1772\u1773"},{name:"Tai_Le",bmp:"\u1950-\u196d\u1970-\u1974"},{name:"Tai_Tham",bmp:"\u1a20-\u1a5e\u1a60-\u1a7c\u1a7f-\u1a89\u1a90-\u1a99\u1aa0-\u1aad"},{name:"Tai_Viet",bmp:"\uaa80-\uaac2\uaadb-\uaadf"},{name:"Takri",astral:"\ud805[\ude80-\udeb7\udec0-\udec9]"},{name:"Tamil",bmp:"\u0b82\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99\u0b9a\u0b9c\u0b9e\u0b9f\u0ba3\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bbe-\u0bc2\u0bc6-\u0bc8\u0bca-\u0bcd\u0bd0\u0bd7\u0be6-\u0bfa"},
-{name:"Tangut",astral:"\ud81b\udfe0|[\ud81c-\ud820][\udc00-\udfff]|\ud821[\udc00-\udfec]|\ud822[\udc00-\udef2]"},{name:"Telugu",bmp:"\u0c00-\u0c03\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c39\u0c3d-\u0c44\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c58-\u0c5a\u0c60-\u0c63\u0c66-\u0c6f\u0c78-\u0c7f"},{name:"Thaana",bmp:"\u0780-\u07b1"},{name:"Thai",bmp:"\u0e01-\u0e3a\u0e40-\u0e5b"},{name:"Tibetan",bmp:"\u0f00-\u0f47\u0f49-\u0f6c\u0f71-\u0f97\u0f99-\u0fbc\u0fbe-\u0fcc\u0fce-\u0fd4\u0fd9\u0fda"},
-{name:"Tifinagh",bmp:"\u2d30-\u2d67\u2d6f\u2d70\u2d7f"},{name:"Tirhuta",astral:"\ud805[\udc80-\udcc7\udcd0-\udcd9]"},{name:"Ugaritic",astral:"\ud800[\udf80-\udf9d\udf9f]"},{name:"Vai",bmp:"\ua500-\ua62b"},{name:"Warang_Citi",astral:"\ud806[\udca0-\udcf2\udcff]"},{name:"Yi",bmp:"\ua000-\ua48c\ua490-\ua4c6"}])}},{}],8:[function(d,g,p){p=d("./xregexp");d("./addons/build")(p);d("./addons/matchrecursive")(p);d("./addons/unicode-base")(p);d("./addons/unicode-blocks")(p);d("./addons/unicode-categories")(p);
-d("./addons/unicode-properties")(p);d("./addons/unicode-scripts")(p);g.exports=p},{"./addons/build":1,"./addons/matchrecursive":2,"./addons/unicode-base":3,"./addons/unicode-blocks":4,"./addons/unicode-categories":5,"./addons/unicode-properties":6,"./addons/unicode-scripts":7,"./xregexp":9}],9:[function(d,g,p){function c(a){var e=!0;try{RegExp("",a)}catch(u){e=!1}return e}function A(a,e,u,b,c){var J;a.xregexp={captureNames:e};if(c)return a;if(a.__proto__)a.__proto__=f.prototype;else for(J in f.prototype)a[J]=
-f.prototype[J];a.xregexp.source=u;a.xregexp.flags=b?b.split("").sort().join(""):b;return a}function B(a){return n.replace.call(a,/([\s\S])(?=[\s\S]*\1)/g,"")}function z(a,e){if(!f.isRegExp(a))throw new TypeError("Type RegExp expected");var u=a.xregexp||{},b=Q?a.flags:n.exec.call(/\/([a-z]*)$/i,RegExp.prototype.toString.call(a))[1],c="",d="",E=null,h=null;e=e||{};e.removeG&&(d+="g");e.removeY&&(d+="y");d&&(b=n.replace.call(b,new RegExp("["+d+"]+","g"),""));e.addG&&(c+="g");e.addY&&(c+="y");c&&(b=B(b+
-c));e.isInternalOnly||(void 0!==u.source&&(E=u.source),null!=u.flags&&(h=c?B(u.flags+c):u.flags));return a=A(new RegExp(e.source||a.source,b),a.xregexp&&a.xregexp.captureNames?u.captureNames.slice(0):null,E,h,e.isInternalOnly)}function l(a){return parseInt(a,16)}function b(a,e,b){(e="("===a.input.charAt(a.index-1)||")"===a.input.charAt(a.index+a[0].length))||(e=a.input,a=a.index+a[0].length,b=-1a.length;)a="0"+a;return a}function h(a,e){var b;if(B(e)!==e)throw new SyntaxError("Invalid duplicate regex flag "+e);a=n.replace.call(a,/^\(\?([\w$]+)\)/,function(a,b){if(n.test.call(/[gy]/,b))throw new SyntaxError("Cannot use flag g or y in mode modifier "+
-a);e=B(e+b);return""});for(b=0;b"}else if(c)return"\\"+(+c+u);return a}c=c||{};c=c.conjunction||"or";var e=
-0;if(!y(a,"Array")||!a.length)throw new TypeError("Must provide a nonempty array of patterns to merge");for(var g=/(\()(?!\?)|\\([1-9]\d*)|\\[\s\S]|\[(?:[^\\\]]|\\[\s\S])*\]/g,h=[],k,l=0;lc.index&&(this.lastIndex=c.index)}this.global||(this.lastIndex=b);return c};r.test=function(a){return!!r.exec.call(this,a)};r.match=function(a){if(!f.isRegExp(a))a=new RegExp(a);
-else if(a.global){var b=n.match.apply(this,arguments);a.lastIndex=0;return b}return r.exec.call(a,q(this))};r.replace=function(a,b){var c=f.isRegExp(a);if(c){if(a.xregexp)var d=a.xregexp.captureNames;var e=a.lastIndex}else a+="";var g=y(b,"Function")?n.replace.call(String(this),a,function(){var e=arguments,f;if(d)for(e[0]=new String(e[0]),f=0;fe)throw new SyntaxError("Backreference to undefined group "+b);return a[e+1]||""}if("$"===e)return"$";if("&"===e||0===+e)return a[0];if("`"===e)return a[a.length-1].slice(0,a[a.length-2]);if("'"===e)return a[a.length-1].slice(a[a.length-2]+a[0].length);e=+e;if(!isNaN(e)){if(e>a.length-3)throw new SyntaxError("Backreference to undefined group "+b);return a[e]||
-""}throw new SyntaxError("Invalid token "+b);})});c&&(a.lastIndex=a.global?0:e);return g};r.split=function(a,b){if(!f.isRegExp(a))return n.split.apply(this,arguments);var c=String(this),d=[],e=a.lastIndex,g=0,h;b=(void 0===b?-1:b)>>>0;f.forEach(c,a,function(a){a.index+a[0].length>g&&(d.push(c.slice(g,a.index)),1
-b?d.slice(0,b):d};f.addToken(/\\([ABCE-RTUVXYZaeg-mopqyz]|c(?![A-Za-z])|u(?![\dA-Fa-f]{4}|{[\dA-Fa-f]+})|x(?![\dA-Fa-f]{2}))/,function(a,b){if("B"===a[1]&&"default"===b)return a[0];throw new SyntaxError("Invalid escape "+a[0]);},{scope:"all",leadChar:"\\"});f.addToken(/\\u{([\dA-Fa-f]+)}/,function(a,b,c){b=l(a[1]);if(1114111=b)return"\\u"+m(k(b));if(M&&-1/,function(a){var b=isNaN(a[1])?C(this.captureNames,a[1])+1:+a[1],c=a.index+a[0].length;if(!b||b>this.captureNames.length)throw new SyntaxError("Backreference to undefined group "+a[0]);return"\\"+b+(c===a.input.length||
-isNaN(a.input.charAt(c))?"":"(?:)")},{leadChar:"\\"});f.addToken(/\\(\d+)/,function(a,b){if(!("default"===b&&/^[1-9]/.test(a[1])&&+a[1]<=this.captureNames.length)&&"0"!==a[1])throw new SyntaxError("Cannot use octal escape or backreference to undefined group "+a[0]);return a[0]},{scope:"all",leadChar:"\\"});f.addToken(/\(\?P?<([\w$]+)>/,function(a){if(!isNaN(a[1]))throw new SyntaxError("Cannot use integer as capture name "+a[0]);if("length"===a[1]||"__proto__"===a[1])throw new SyntaxError("Cannot use reserved word as capture name "+
-a[0]);if(-1=u.length?{done:!0}:{done:!1,value:u[p++]}},e:function e(u){throw u},f:b}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var y,m=!0,A=!1;return{s:function s(){t=t.call(u)},n:function n(){var u=t.next();return m=u.done,u},e:function e(u){A=!0,y=u},f:function f(){try{m||null==t.return||t.return()}finally{if(A)throw y}}}}function _arrayLikeToArray(u,d){(null==d||d>u.length)&&(d=u.length);for(var t=0,a=new Array(d);t
+ * Steven Levithan (c) 2008-present MIT License
+ */t.default=function _default(u){var d={},t={},a=u._dec,c=u._hex,i=u._pad4;function normalize(u){return u.replace(/[- _]+/g,"").toLowerCase()}function charCode(u){var d=/^\\[xu](.+)/.exec(u);return d?a(d[1]):u.charCodeAt("\\"===u[0]?1:0)}function cacheInvertedBmp(t){return d[t]["b!"]||(d[t]["b!"]=function invertBmp(d){var t="",a=-1;return(0,m.default)(u).call(u,d,/(\\x..|\\u....|\\?[\s\S])(?:-(\\x..|\\u....|\\?[\s\S]))?/,(function(u){var d=charCode(u[1]);d>a+1&&(t+="\\u".concat(i(c(a+1))),d>a+2&&(t+="-\\u".concat(i(c(d-1))))),a=charCode(u[2]||u[1])})),a<65535&&(t+="\\u".concat(i(c(a+1))),a<65534&&(t+="-\\uFFFF")),t}(d[t].bmp))}function cacheAstral(u,t){var a=t?"a!":"a=";return d[u][a]||(d[u][a]=function buildAstral(u,t){var a,c,i=d[u],l="";return i.bmp&&!i.isBmpLast&&(l=(0,A.default)(a="[".concat(i.bmp,"]")).call(a,i.astral?"|":"")),i.astral&&(l+=i.astral),i.isBmpLast&&i.bmp&&(l+=(0,A.default)(c="".concat(i.astral?"|":"","[")).call(c,i.bmp,"]")),t?"(?:(?!".concat(l,")(?:[\ud800-\udbff][\udc00-\udfff]|[\0-]))"):"(?:".concat(l,")")}(u,t))}u.addToken(/\\([pP])(?:{(\^?)(?:(\w+)=)?([^}]*)}|([A-Za-z]))/,(function(u,a,c){var i="Unknown Unicode token ",l=(0,y.default)(u,6),D=l[0],p=l[1],b=l[2],m=l[3],C=l[4],g=l[5],h="P"===p||!!b,x=-1!==(0,E.default)(c).call(c,"A"),v=normalize(g||C),B=d[v];if("P"===p&&b)throw new SyntaxError("Invalid double negation "+D);if(!d.hasOwnProperty(v))throw new SyntaxError(i+D);if(m&&(!t[m]||!t[m][v]))throw new SyntaxError(i+D);if(B.inverseOf){var w;if(v=normalize(B.inverseOf),!d.hasOwnProperty(v))throw new ReferenceError((0,A.default)(w="".concat("Unicode token missing data "+D," -> ")).call(w,B.inverseOf));B=d[v],h=!h}if(!B.bmp&&!x)throw new SyntaxError("Astral mode required for Unicode token "+D);if(x){if("class"===a)throw new SyntaxError("Astral mode does not support Unicode tokens within character classes");return cacheAstral(v,h)}return"class"===a?h?cacheInvertedBmp(v):B.bmp:"".concat((h?"[^":"[")+B.bmp,"]")}),{scope:"all",optionalFlags:"A",leadChar:"\\"}),u.addUnicodeData=function(a,c){c&&(t[c]={});var i,l=_createForOfIteratorHelper(a);try{for(l.s();!(i=l.n()).done;){var D=i.value;if(!D.name)throw new Error("Unicode token requires name");if(!(D.inverseOf||D.bmp||D.astral))throw new Error("Unicode token has no character data "+D.name);var p=normalize(D.name);if(d[p]=D,c&&(t[c][p]=!0),D.alias){var b=normalize(D.alias);d[b]=D,c&&(t[c][b]=!0)}}}catch(u){l.e(u)}finally{l.f()}u.cache.flush("patterns")},u._getUnicodeProperty=function(u){var t=normalize(u);return d[t]}},d.exports=t.default},{"@babel/runtime-corejs3/core-js-stable/array/from":5,"@babel/runtime-corejs3/core-js-stable/array/is-array":6,"@babel/runtime-corejs3/core-js-stable/instance/concat":7,"@babel/runtime-corejs3/core-js-stable/instance/for-each":9,"@babel/runtime-corejs3/core-js-stable/instance/index-of":10,"@babel/runtime-corejs3/core-js-stable/instance/slice":11,"@babel/runtime-corejs3/core-js-stable/object/define-property":14,"@babel/runtime-corejs3/core-js-stable/symbol":16,"@babel/runtime-corejs3/core-js/get-iterator-method":19,"@babel/runtime-corejs3/helpers/interopRequireDefault":24,"@babel/runtime-corejs3/helpers/slicedToArray":27}],2:[function(u,d,t){"use strict";var a=u("@babel/runtime-corejs3/core-js-stable/object/define-property"),c=u("@babel/runtime-corejs3/helpers/interopRequireDefault");a(t,"__esModule",{value:!0}),t.default=void 0;var i=c(u("../../tools/output/categories"));
+/*!
+ * XRegExp Unicode Categories 5.1.1
+ *
+ * Steven Levithan (c) 2010-present MIT License
+ * Unicode data by Mathias Bynens
+ */t.default=function _default(u){if(!u.addUnicodeData)throw new ReferenceError("Unicode Base must be loaded before Unicode Categories");u.addUnicodeData(i.default)},d.exports=t.default},{"../../tools/output/categories":222,"@babel/runtime-corejs3/core-js-stable/object/define-property":14,"@babel/runtime-corejs3/helpers/interopRequireDefault":24}],3:[function(u,d,t){"use strict";var a=u("@babel/runtime-corejs3/core-js-stable/object/define-property"),c=u("@babel/runtime-corejs3/helpers/interopRequireDefault");a(t,"__esModule",{value:!0}),t.default=void 0;var i=c(u("./xregexp")),l=c(u("./addons/unicode-base")),D=c(u("./addons/unicode-categories"));(0,l.default)(i.default),(0,D.default)(i.default);var p=i.default;t.default=p,d.exports=t.default},{"./addons/unicode-base":1,"./addons/unicode-categories":2,"./xregexp":4,"@babel/runtime-corejs3/core-js-stable/object/define-property":14,"@babel/runtime-corejs3/helpers/interopRequireDefault":24}],4:[function(u,d,t){"use strict";var a=u("@babel/runtime-corejs3/core-js-stable/instance/slice"),c=u("@babel/runtime-corejs3/core-js-stable/array/from"),i=u("@babel/runtime-corejs3/core-js-stable/symbol"),l=u("@babel/runtime-corejs3/core-js/get-iterator-method"),D=u("@babel/runtime-corejs3/core-js-stable/array/is-array"),p=u("@babel/runtime-corejs3/core-js-stable/object/define-property"),b=u("@babel/runtime-corejs3/helpers/interopRequireDefault");p(t,"__esModule",{value:!0}),t.default=void 0;var y=b(u("@babel/runtime-corejs3/helpers/slicedToArray")),m=b(u("@babel/runtime-corejs3/core-js-stable/instance/flags")),A=b(u("@babel/runtime-corejs3/core-js-stable/instance/sort")),E=b(u("@babel/runtime-corejs3/core-js-stable/instance/slice")),C=b(u("@babel/runtime-corejs3/core-js-stable/parse-int")),g=b(u("@babel/runtime-corejs3/core-js-stable/instance/index-of")),h=b(u("@babel/runtime-corejs3/core-js-stable/instance/for-each")),x=b(u("@babel/runtime-corejs3/core-js-stable/object/create")),v=b(u("@babel/runtime-corejs3/core-js-stable/instance/concat"));function _createForOfIteratorHelper(u,d){var t=void 0!==i&&l(u)||u["@@iterator"];if(!t){if(D(u)||(t=function _unsupportedIterableToArray(u,d){var t;if(!u)return;if("string"==typeof u)return _arrayLikeToArray(u,d);var i=a(t=Object.prototype.toString.call(u)).call(t,8,-1);"Object"===i&&u.constructor&&(i=u.constructor.name);if("Map"===i||"Set"===i)return c(u);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return _arrayLikeToArray(u,d)}(u))||d&&u&&"number"==typeof u.length){t&&(u=t);var p=0,b=function F(){};return{s:b,n:function n(){return p>=u.length?{done:!0}:{done:!1,value:u[p++]}},e:function e(u){throw u},f:b}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var y,m=!0,A=!1;return{s:function s(){t=t.call(u)},n:function n(){var u=t.next();return m=u.done,u},e:function e(u){A=!0,y=u},f:function f(){try{m||null==t.return||t.return()}finally{if(A)throw y}}}}function _arrayLikeToArray(u,d){(null==d||d>u.length)&&(d=u.length);for(var t=0,a=new Array(d);t
+ * Steven Levithan (c) 2007-present MIT License
+ */var B={astral:!1,namespacing:!0},w={},j={},k={},S=[],O="default",R="class",_={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]/},T=/\$(?:\{([^\}]+)\}|<([^>]+)>|(\d\d?|[\s\S]?))/g,I=void 0===/()??/.exec("")[1],P=void 0!==(0,m.default)(/x/);function hasNativeFlag(u){var d=!0;try{if(new RegExp("",u),"y"===u){".."===".a".replace(new RegExp("a","gy"),".")&&(d=!1)}}catch(u){d=!1}return d}var X=hasNativeFlag("d"),L=hasNativeFlag("s"),N=hasNativeFlag("u"),M=hasNativeFlag("y"),U={d:X,g:!0,i:!0,m:!0,s:L,u:N,y:M},G=L?/[^dgimsuy]+/g:/[^dgimuy]+/g;function augment(u,d,t,a,c){var i;if(u.xregexp={captureNames:d},c)return u;if(u.__proto__)u.__proto__=XRegExp.prototype;else for(var l in XRegExp.prototype)u[l]=XRegExp.prototype[l];return u.xregexp.source=t,u.xregexp.flags=a?(0,A.default)(i=a.split("")).call(i).join(""):a,u}function clipDuplicates(u){return u.replace(/([\s\S])(?=[\s\S]*\1)/g,"")}function copyRegex(u,d){var t;if(!XRegExp.isRegExp(u))throw new TypeError("Type RegExp expected");var a=u.xregexp||{},c=function getNativeFlags(u){return P?(0,m.default)(u):/\/([a-z]*)$/i.exec(RegExp.prototype.toString.call(u))[1]}(u),i="",l="",D=null,p=null;return(d=d||{}).removeG&&(l+="g"),d.removeY&&(l+="y"),l&&(c=c.replace(new RegExp("[".concat(l,"]+"),"g"),"")),d.addG&&(i+="g"),d.addY&&(i+="y"),i&&(c=clipDuplicates(c+i)),d.isInternalOnly||(void 0!==a.source&&(D=a.source),null!=(0,m.default)(a)&&(p=i?clipDuplicates((0,m.default)(a)+i):(0,m.default)(a))),u=augment(new RegExp(d.source||u.source,c),function hasNamedCapture(u){return!(!u.xregexp||!u.xregexp.captureNames)}(u)?(0,E.default)(t=a.captureNames).call(t,0):null,D,p,d.isInternalOnly)}function dec(u){return(0,C.default)(u,16)}function getContextualTokenSeparator(u,d,t){var a=u.index+u[0].length,c=u.input[u.index-1],i=u.input[a];return/^[()|]$/.test(c)||/^[()|]$/.test(i)||0===u.index||a===u.input.length||/\(\?(?:[:=!]|<[=!])$/.test(u.input.substring(u.index-4,u.index))||function isQuantifierNext(u,d,t){return(-1!==(0,g.default)(t).call(t,"x")?/^(?:\s|#[^#\n]*|\(\?#[^)]*\))*(?:[?*+]|{\d+(?:,\d*)?})/:/^(?:\(\?#[^)]*\))*(?:[?*+]|{\d+(?:,\d*)?})/).test((0,E.default)(u).call(u,d))}(u.input,a,t)?"":"(?:)"}function hex(u){return(0,C.default)(u,10).toString(16)}function isType(u,d){return Object.prototype.toString.call(u)==="[object ".concat(d,"]")}function nullThrows(u){if(null==u)throw new TypeError("Cannot convert null or undefined to object");return u}function pad4(u){for(;u.length<4;)u="0".concat(u);return u}function prepareOptions(u){var d={};return isType(u,"String")?((0,h.default)(XRegExp).call(XRegExp,u,/[^\s,]+/,(function(u){d[u]=!0})),d):u}function registerFlag(u){if(!/^[\w$]$/.test(u))throw new Error("Flag must be a single character A-Za-z0-9_$");U[u]=!0}function runTokens(u,d,t,a,c){for(var i,l,D=S.length,p=u[t],b=null;D--;)if(!((l=S[D]).leadChar&&l.leadChar!==p||l.scope!==a&&"all"!==l.scope||l.flag&&-1===(0,g.default)(d).call(d,l.flag))&&(i=XRegExp.exec(u,l.regex,t,"sticky"))){b={matchLength:i[0].length,output:l.handler.call(c,i,a,d),reparse:l.reparse};break}return b}function setAstral(u){B.astral=u}function setNamespacing(u){B.namespacing=u}function XRegExp(u,d){if(XRegExp.isRegExp(u)){if(void 0!==d)throw new TypeError("Cannot supply flags when copying a RegExp");return copyRegex(u)}if(u=void 0===u?"":String(u),d=void 0===d?"":String(d),XRegExp.isInstalled("astral")&&-1===(0,g.default)(d).call(d,"A")&&(d+="A"),k[u]||(k[u]={}),!k[u][d]){for(var t,a={hasNamedCapture:!1,captureNames:[]},c=O,i="",l=0,D=function prepareFlags(u,d){if(clipDuplicates(d)!==d)throw new SyntaxError("Invalid duplicate regex flag ".concat(d));u=u.replace(/^\(\?([\w$]+)\)/,(function(u,t){if(/[dgy]/.test(t))throw new SyntaxError("Cannot use flags dgy in mode modifier ".concat(u));return d=clipDuplicates(d+t),""}));var t,a=_createForOfIteratorHelper(d);try{for(a.s();!(t=a.n()).done;){var c=t.value;if(!U[c])throw new SyntaxError("Unknown regex flag ".concat(c))}}catch(u){a.e(u)}finally{a.f()}return{pattern:u,flags:d}}(u,d),p=D.pattern,b=(0,m.default)(D);l")}else if(t)return"\\".concat(+t+a);return u}if(!isType(u,"Array")||!u.length)throw new TypeError("Must provide a nonempty array of patterns to merge");var D,p=/(\()(?!\?)|\\([1-9]\d*)|\\[\s\S]|\[(?:[^\\\]]|\\[\s\S])*\]/g,b=[],y=_createForOfIteratorHelper(u);try{for(y.s();!(D=y.n()).done;){var m=D.value;XRegExp.isRegExp(m)?(a=l,c=m.xregexp&&m.xregexp.captureNames||[],b.push(XRegExp(m.source).source.replace(p,rewrite))):b.push(XRegExp.escape(m))}}catch(u){y.e(u)}finally{y.f()}var A="none"===i?"":"|";return XRegExp(b.join(A),d)},w.exec=function(u){var d=this.lastIndex,t=RegExp.prototype.exec.apply(this,arguments);if(t){if(!I&&t.length>1&&-1!==(0,g.default)(t).call(t,"")){var a,c=copyRegex(this,{removeG:!0,isInternalOnly:!0});(0,E.default)(a=String(u)).call(a,t.index).replace(c,(function(){for(var u=arguments.length,d=1;dt.index&&(this.lastIndex=t.index)}return this.global||(this.lastIndex=d),t},w.test=function(u){return!!w.exec.call(this,u)},w.match=function(u){if(XRegExp.isRegExp(u)){if(u.global){var d=String.prototype.match.apply(this,arguments);return u.lastIndex=0,d}}else u=new RegExp(u);return w.exec.call(u,nullThrows(this))},w.replace=function(u,d){var t,a,c,i=XRegExp.isRegExp(u);return i?(u.xregexp&&(a=u.xregexp.captureNames),t=u.lastIndex):u+="",c=isType(d,"Function")?String(this).replace(u,(function(){for(var u=arguments.length,t=new Array(u),c=0;cb)throw new SyntaxError("Backreference to undefined group ".concat(u));return t[i]||""}throw new SyntaxError("Invalid token ".concat(u))}})),i&&(u.global?u.lastIndex=0:u.lastIndex=t),c},w.split=function(u,d){if(!XRegExp.isRegExp(u))return String.prototype.split.apply(this,arguments);var t,a=String(this),c=[],i=u.lastIndex,l=0;return d=(void 0===d?-1:d)>>>0,(0,h.default)(XRegExp).call(XRegExp,a,u,(function(u){u.index+u[0].length>l&&(c.push((0,E.default)(a).call(a,l,u.index)),u.length>1&&u.indexd?(0,E.default)(c).call(c,0,d):c},XRegExp.addToken(/\\([ABCE-RTUVXYZaeg-mopqyz]|c(?![A-Za-z])|u(?![\dA-Fa-f]{4}|{[\dA-Fa-f]+})|x(?![\dA-Fa-f]{2}))/,(function(u,d){if("B"===u[1]&&d===O)return u[0];throw new SyntaxError("Invalid escape ".concat(u[0]))}),{scope:"all",leadChar:"\\"}),XRegExp.addToken(/\\u{([\dA-Fa-f]+)}/,(function(u,d,t){var a=dec(u[1]);if(a>1114111)throw new SyntaxError("Invalid Unicode code point ".concat(u[0]));if(a<=65535)return"\\u".concat(pad4(hex(a)));if(N&&-1!==(0,g.default)(t).call(t,"u"))return u[0];throw new SyntaxError("Cannot use Unicode code point above \\u{FFFF} without flag u")}),{scope:"all",leadChar:"\\"}),XRegExp.addToken(/\(\?#[^)]*\)/,getContextualTokenSeparator,{leadChar:"("}),XRegExp.addToken(/\s+|#[^\n]*\n?/,getContextualTokenSeparator,{flag:"x"}),L||XRegExp.addToken(/\./,(function(){return"[\\s\\S]"}),{flag:"s",leadChar:"."}),XRegExp.addToken(/\\k<([^>]+)>/,(function(u){var d,t,a=isNaN(u[1])?(0,g.default)(d=this.captureNames).call(d,u[1])+1:+u[1],c=u.index+u[0].length;if(!a||a>this.captureNames.length)throw new SyntaxError("Backreference to undefined group ".concat(u[0]));return(0,v.default)(t="\\".concat(a)).call(t,c===u.input.length||isNaN(u.input[c])?"":"(?:)")}),{leadChar:"\\"}),XRegExp.addToken(/\\(\d+)/,(function(u,d){if(!(d===O&&/^[1-9]/.test(u[1])&&+u[1]<=this.captureNames.length)&&"0"!==u[1])throw new SyntaxError("Cannot use octal escape or backreference to undefined group ".concat(u[0]));return u[0]}),{scope:"all",leadChar:"\\"}),XRegExp.addToken(/\(\?P?<((?:[\$A-Z_a-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\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\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\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\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\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\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A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uD884[\uDC00-\uDF4A])(?:[\$0-9A-Z_a-z\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05EF-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u07FD\u0800-\u082D\u0840-\u085B\u0860-\u086A\u0870-\u0887\u0889-\u088E\u0898-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\u09FE\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-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\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\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\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1715\u171F-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u1820-\u1878\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B4C\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CD0-\u1CD2\u1CD4-\u1CFA\u1D00-\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\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA827\uA82C\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\u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uDE3E\uDE47\uDE50-\uDE99\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD8E\uDD90\uDD91\uDD93-\uDD98\uDDA0-\uDDA9\uDEE0-\uDEF6\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDE70-\uDEBE\uDEC0-\uDEC9\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF4F-\uDF87\uDF8F-\uDF9F\uDFE0\uDFE1\uDFE3\uDFE4\uDFF0\uDFF1]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD833[\uDF00-\uDF2D\uDF30-\uDF46]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA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F9]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A]|\uDB40[\uDD00-\uDDEF])*)>/,(function(u){var d;if(!XRegExp.isInstalled("namespacing")&&("length"===u[1]||"__proto__"===u[1]))throw new SyntaxError("Cannot use reserved word as capture name ".concat(u[0]));if(-1!==(0,g.default)(d=this.captureNames).call(d,u[1]))throw new SyntaxError("Cannot use same name for multiple groups ".concat(u[0]));return this.captureNames.push(u[1]),this.hasNamedCapture=!0,"("}),{leadChar:"("}),XRegExp.addToken(/\((?!\?)/,(function(u,d,t){return-1!==(0,g.default)(t).call(t,"n")?"(?:":(this.captureNames.push(null),"(")}),{optionalFlags:"n",leadChar:"("});var q=XRegExp;t.default=q,d.exports=t.default},{"@babel/runtime-corejs3/core-js-stable/array/from":5,"@babel/runtime-corejs3/core-js-stable/array/is-array":6,"@babel/runtime-corejs3/core-js-stable/instance/concat":7,"@babel/runtime-corejs3/core-js-stable/instance/flags":8,"@babel/runtime-corejs3/core-js-stable/instance/for-each":9,"@babel/runtime-corejs3/core-js-stable/instance/index-of":10,"@babel/runtime-corejs3/core-js-stable/instance/slice":11,"@babel/runtime-corejs3/core-js-stable/instance/sort":12,"@babel/runtime-corejs3/core-js-stable/object/create":13,"@babel/runtime-corejs3/core-js-stable/object/define-property":14,"@babel/runtime-corejs3/core-js-stable/parse-int":15,"@babel/runtime-corejs3/core-js-stable/symbol":16,"@babel/runtime-corejs3/core-js/get-iterator-method":19,"@babel/runtime-corejs3/helpers/interopRequireDefault":24,"@babel/runtime-corejs3/helpers/slicedToArray":27}],5:[function(u,d,t){d.exports=u("core-js-pure/stable/array/from")},{"core-js-pure/stable/array/from":208}],6:[function(u,d,t){d.exports=u("core-js-pure/stable/array/is-array")},{"core-js-pure/stable/array/is-array":209}],7:[function(u,d,t){d.exports=u("core-js-pure/stable/instance/concat")},{"core-js-pure/stable/instance/concat":212}],8:[function(u,d,t){d.exports=u("core-js-pure/stable/instance/flags")},{"core-js-pure/stable/instance/flags":213}],9:[function(u,d,t){d.exports=u("core-js-pure/stable/instance/for-each")},{"core-js-pure/stable/instance/for-each":214}],10:[function(u,d,t){d.exports=u("core-js-pure/stable/instance/index-of")},{"core-js-pure/stable/instance/index-of":215}],11:[function(u,d,t){d.exports=u("core-js-pure/stable/instance/slice")},{"core-js-pure/stable/instance/slice":216}],12:[function(u,d,t){d.exports=u("core-js-pure/stable/instance/sort")},{"core-js-pure/stable/instance/sort":217}],13:[function(u,d,t){d.exports=u("core-js-pure/stable/object/create")},{"core-js-pure/stable/object/create":218}],14:[function(u,d,t){d.exports=u("core-js-pure/stable/object/define-property")},{"core-js-pure/stable/object/define-property":219}],15:[function(u,d,t){d.exports=u("core-js-pure/stable/parse-int")},{"core-js-pure/stable/parse-int":220}],16:[function(u,d,t){d.exports=u("core-js-pure/stable/symbol")},{"core-js-pure/stable/symbol":221}],17:[function(u,d,t){d.exports=u("core-js-pure/features/array/from")},{"core-js-pure/features/array/from":52}],18:[function(u,d,t){d.exports=u("core-js-pure/features/array/is-array")},{"core-js-pure/features/array/is-array":53}],19:[function(u,d,t){d.exports=u("core-js-pure/features/get-iterator-method")},{"core-js-pure/features/get-iterator-method":54}],20:[function(u,d,t){d.exports=u("core-js-pure/features/instance/slice")},{"core-js-pure/features/instance/slice":55}],21:[function(u,d,t){d.exports=u("core-js-pure/features/symbol")},{"core-js-pure/features/symbol":56}],22:[function(u,d,t){d.exports=function _arrayLikeToArray(u,d){(null==d||d>u.length)&&(d=u.length);for(var t=0,a=new Array(d);t1?arguments[1]:void 0)}},{"../internals/array-iteration":64,"../internals/array-method-is-strict":66}],62:[function(u,d,t){"use strict";var a=u("../internals/global"),c=u("../internals/function-bind-context"),i=u("../internals/function-call"),l=u("../internals/to-object"),D=u("../internals/call-with-safe-iteration-closing"),p=u("../internals/is-array-iterator-method"),b=u("../internals/is-constructor"),y=u("../internals/length-of-array-like"),m=u("../internals/create-property"),A=u("../internals/get-iterator"),E=u("../internals/get-iterator-method"),C=a.Array;d.exports=function from(u){var d=l(u),t=b(this),a=arguments.length,g=a>1?arguments[1]:void 0,h=void 0!==g;h&&(g=c(g,a>2?arguments[2]:void 0));var x,v,B,w,j,k,S=E(d),O=0;if(!S||this==C&&p(S))for(x=y(d),v=t?new this(x):C(x);x>O;O++)k=h?g(d[O],O):d[O],m(v,O,k);else for(j=(w=A(d,S)).next,v=t?new this:[];!(B=i(j,w)).done;O++)k=h?D(w,g,[B.value,O],!0):B.value,m(v,O,k);return v.length=O,v}},{"../internals/call-with-safe-iteration-closing":72,"../internals/create-property":80,"../internals/function-bind-context":96,"../internals/function-call":97,"../internals/get-iterator":102,"../internals/get-iterator-method":101,"../internals/global":104,"../internals/is-array-iterator-method":112,"../internals/is-constructor":115,"../internals/length-of-array-like":123,"../internals/to-object":157}],63:[function(u,d,t){var a=u("../internals/to-indexed-object"),c=u("../internals/to-absolute-index"),i=u("../internals/length-of-array-like"),createMethod=function(u){return function(d,t,l){var D,p=a(d),b=i(p),y=c(l,b);if(u&&t!=t){for(;b>y;)if((D=p[y++])!=D)return!0}else for(;b>y;y++)if((u||y in p)&&p[y]===t)return u||y||0;return!u&&-1}};d.exports={includes:createMethod(!0),indexOf:createMethod(!1)}},{"../internals/length-of-array-like":123,"../internals/to-absolute-index":153,"../internals/to-indexed-object":154}],64:[function(u,d,t){var a=u("../internals/function-bind-context"),c=u("../internals/function-uncurry-this"),i=u("../internals/indexed-object"),l=u("../internals/to-object"),D=u("../internals/length-of-array-like"),p=u("../internals/array-species-create"),b=c([].push),createMethod=function(u){var d=1==u,t=2==u,c=3==u,y=4==u,m=6==u,A=7==u,E=5==u||m;return function(C,g,h,x){for(var v,B,w=l(C),j=i(w),k=a(g,h),S=D(j),O=0,R=x||p,_=d?R(C,S):t||A?R(C,0):void 0;S>O;O++)if((E||O in j)&&(B=k(v=j[O],O,w),u))if(d)_[O]=B;else if(B)switch(u){case 3:return!0;case 5:return v;case 6:return O;case 2:b(_,v)}else switch(u){case 4:return!1;case 7:b(_,v)}return m?-1:c||y?y:_}};d.exports={forEach:createMethod(0),map:createMethod(1),filter:createMethod(2),some:createMethod(3),every:createMethod(4),find:createMethod(5),findIndex:createMethod(6),filterReject:createMethod(7)}},{"../internals/array-species-create":71,"../internals/function-bind-context":96,"../internals/function-uncurry-this":99,"../internals/indexed-object":109,"../internals/length-of-array-like":123,"../internals/to-object":157}],65:[function(u,d,t){var a=u("../internals/fails"),c=u("../internals/well-known-symbol"),i=u("../internals/engine-v8-version"),l=c("species");d.exports=function(u){return i>=51||!a((function(){var d=[];return(d.constructor={})[l]=function(){return{foo:1}},1!==d[u](Boolean).foo}))}},{"../internals/engine-v8-version":89,"../internals/fails":94,"../internals/well-known-symbol":166}],66:[function(u,d,t){"use strict";var a=u("../internals/fails");d.exports=function(u,d){var t=[][u];return!!t&&a((function(){t.call(null,d||function(){throw 1},1)}))}},{"../internals/fails":94}],67:[function(u,d,t){var a=u("../internals/global"),c=u("../internals/to-absolute-index"),i=u("../internals/length-of-array-like"),l=u("../internals/create-property"),D=a.Array,p=Math.max;d.exports=function(u,d,t){for(var a=i(u),b=c(d,a),y=c(void 0===t?a:t,a),m=D(p(y-b,0)),A=0;b0;)u[a]=u[--a];a!==i++&&(u[a]=t)}return u},merge=function(u,d,t,a){for(var c=d.length,i=t.length,l=0,D=0;l0&&a[0]<4?1:+(a[0]+a[1])),!c&&l&&(!(a=l.match(/Edge\/(\d+)/))||a[1]>=74)&&(a=l.match(/Chrome\/(\d+)/))&&(c=+a[1]),d.exports=c},{"../internals/engine-user-agent":88,"../internals/global":104}],90:[function(u,d,t){var a=u("../internals/engine-user-agent").match(/AppleWebKit\/(\d+)\./);d.exports=!!a&&+a[1]},{"../internals/engine-user-agent":88}],91:[function(u,d,t){var a=u("../internals/path");d.exports=function(u){return a[u+"Prototype"]}},{"../internals/path":142}],92:[function(u,d,t){d.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},{}],93:[function(u,d,t){"use strict";var a=u("../internals/global"),c=u("../internals/function-apply"),i=u("../internals/function-uncurry-this"),l=u("../internals/is-callable"),D=u("../internals/object-get-own-property-descriptor").f,p=u("../internals/is-forced"),b=u("../internals/path"),y=u("../internals/function-bind-context"),m=u("../internals/create-non-enumerable-property"),A=u("../internals/has-own-property"),wrapConstructor=function(u){var Wrapper=function(d,t,a){if(this instanceof Wrapper){switch(arguments.length){case 0:return new u;case 1:return new u(d);case 2:return new u(d,t)}return new u(d,t,a)}return c(u,this,arguments)};return Wrapper.prototype=u.prototype,Wrapper};d.exports=function(u,d){var t,c,E,C,g,h,x,v,B=u.target,w=u.global,j=u.stat,k=u.proto,S=w?a:j?a[B]:(a[B]||{}).prototype,O=w?b:b[B]||m(b,B,{})[B],R=O.prototype;for(E in d)t=!p(w?E:B+(j?".":"#")+E,u.forced)&&S&&A(S,E),g=O[E],t&&(h=u.noTargetGet?(v=D(S,E))&&v.value:S[E]),C=t&&h?h:d[E],t&&typeof g==typeof C||(x=u.bind&&t?y(C,a):u.wrap&&t?wrapConstructor(C):k&&l(C)?i(C):C,(u.sham||C&&C.sham||g&&g.sham)&&m(x,"sham",!0),m(O,E,x),k&&(A(b,c=B+"Prototype")||m(b,c,{}),m(b[c],E,C),u.real&&R&&!R[E]&&m(R,E,C)))}},{"../internals/create-non-enumerable-property":78,"../internals/function-apply":95,"../internals/function-bind-context":96,"../internals/function-uncurry-this":99,"../internals/global":104,"../internals/has-own-property":105,"../internals/is-callable":114,"../internals/is-forced":116,"../internals/object-get-own-property-descriptor":130,"../internals/path":142}],94:[function(u,d,t){d.exports=function(u){try{return!!u()}catch(u){return!0}}},{}],95:[function(u,d,t){var a=Function.prototype,c=a.apply,i=a.bind,l=a.call;d.exports="object"==typeof Reflect&&Reflect.apply||(i?l.bind(c):function(){return l.apply(c,arguments)})},{}],96:[function(u,d,t){var a=u("../internals/function-uncurry-this"),c=u("../internals/a-callable"),i=a(a.bind);d.exports=function(u,d){return c(u),void 0===d?u:i?i(u,d):function(){return u.apply(d,arguments)}}},{"../internals/a-callable":57,"../internals/function-uncurry-this":99}],97:[function(u,d,t){var a=Function.prototype.call;d.exports=a.bind?a.bind(a):function(){return a.apply(a,arguments)}},{}],98:[function(u,d,t){var a=u("../internals/descriptors"),c=u("../internals/has-own-property"),i=Function.prototype,l=a&&Object.getOwnPropertyDescriptor,D=c(i,"name"),p=D&&"something"===function something(){}.name,b=D&&(!a||a&&l(i,"name").configurable);d.exports={EXISTS:D,PROPER:p,CONFIGURABLE:b}},{"../internals/descriptors":83,"../internals/has-own-property":105}],99:[function(u,d,t){var a=Function.prototype,c=a.bind,i=a.call,l=c&&c.bind(i);d.exports=c?function(u){return u&&l(i,u)}:function(u){return u&&function(){return i.apply(u,arguments)}}},{}],100:[function(u,d,t){var a=u("../internals/path"),c=u("../internals/global"),i=u("../internals/is-callable"),aFunction=function(u){return i(u)?u:void 0};d.exports=function(u,d){return arguments.length<2?aFunction(a[u])||aFunction(c[u]):a[u]&&a[u][d]||c[u]&&c[u][d]}},{"../internals/global":104,"../internals/is-callable":114,"../internals/path":142}],101:[function(u,d,t){var a=u("../internals/classof"),c=u("../internals/get-method"),i=u("../internals/iterators"),l=u("../internals/well-known-symbol")("iterator");d.exports=function(u){if(null!=u)return c(u,l)||c(u,"@@iterator")||i[a(u)]}},{"../internals/classof":75,"../internals/get-method":103,"../internals/iterators":122,"../internals/well-known-symbol":166}],102:[function(u,d,t){var a=u("../internals/global"),c=u("../internals/function-call"),i=u("../internals/a-callable"),l=u("../internals/an-object"),D=u("../internals/try-to-string"),p=u("../internals/get-iterator-method"),b=a.TypeError;d.exports=function(u,d){var t=arguments.length<2?p(u):d;if(i(t))return l(c(t,u));throw b(D(u)+" is not iterable")}},{"../internals/a-callable":57,"../internals/an-object":60,"../internals/function-call":97,"../internals/get-iterator-method":101,"../internals/global":104,"../internals/try-to-string":162}],103:[function(u,d,t){var a=u("../internals/a-callable");d.exports=function(u,d){var t=u[d];return null==t?void 0:a(t)}},{"../internals/a-callable":57}],104:[function(u,d,t){(function(u){(function(){var check=function(u){return u&&u.Math==Math&&u};d.exports=check("object"==typeof globalThis&&globalThis)||check("object"==typeof window&&window)||check("object"==typeof self&&self)||check("object"==typeof u&&u)||function(){return this}()||Function("return this")()}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],105:[function(u,d,t){var a=u("../internals/function-uncurry-this"),c=u("../internals/to-object"),i=a({}.hasOwnProperty);d.exports=Object.hasOwn||function hasOwn(u,d){return i(c(u),d)}},{"../internals/function-uncurry-this":99,"../internals/to-object":157}],106:[function(u,d,t){d.exports={}},{}],107:[function(u,d,t){var a=u("../internals/get-built-in");d.exports=a("document","documentElement")},{"../internals/get-built-in":100}],108:[function(u,d,t){var a=u("../internals/descriptors"),c=u("../internals/fails"),i=u("../internals/document-create-element");d.exports=!a&&!c((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},{"../internals/descriptors":83,"../internals/document-create-element":84,"../internals/fails":94}],109:[function(u,d,t){var a=u("../internals/global"),c=u("../internals/function-uncurry-this"),i=u("../internals/fails"),l=u("../internals/classof-raw"),D=a.Object,p=c("".split);d.exports=i((function(){return!D("z").propertyIsEnumerable(0)}))?function(u){return"String"==l(u)?p(u,""):D(u)}:D},{"../internals/classof-raw":74,"../internals/fails":94,"../internals/function-uncurry-this":99,"../internals/global":104}],110:[function(u,d,t){var a=u("../internals/function-uncurry-this"),c=u("../internals/is-callable"),i=u("../internals/shared-store"),l=a(Function.toString);c(i.inspectSource)||(i.inspectSource=function(u){return l(u)}),d.exports=i.inspectSource},{"../internals/function-uncurry-this":99,"../internals/is-callable":114,"../internals/shared-store":149}],111:[function(u,d,t){var a,c,i,l=u("../internals/native-weak-map"),D=u("../internals/global"),p=u("../internals/function-uncurry-this"),b=u("../internals/is-object"),y=u("../internals/create-non-enumerable-property"),m=u("../internals/has-own-property"),A=u("../internals/shared-store"),E=u("../internals/shared-key"),C=u("../internals/hidden-keys"),g="Object already initialized",h=D.TypeError,x=D.WeakMap;if(l||A.state){var v=A.state||(A.state=new x),B=p(v.get),w=p(v.has),j=p(v.set);a=function(u,d){if(w(v,u))throw new h(g);return d.facade=u,j(v,u,d),d},c=function(u){return B(v,u)||{}},i=function(u){return w(v,u)}}else{var k=E("state");C[k]=!0,a=function(u,d){if(m(u,k))throw new h(g);return d.facade=u,y(u,k,d),d},c=function(u){return m(u,k)?u[k]:{}},i=function(u){return m(u,k)}}d.exports={set:a,get:c,has:i,enforce:function(u){return i(u)?c(u):a(u,{})},getterFor:function(u){return function(d){var t;if(!b(d)||(t=c(d)).type!==u)throw h("Incompatible receiver, "+u+" required");return t}}}},{"../internals/create-non-enumerable-property":78,"../internals/function-uncurry-this":99,"../internals/global":104,"../internals/has-own-property":105,"../internals/hidden-keys":106,"../internals/is-object":117,"../internals/native-weak-map":125,"../internals/shared-key":148,"../internals/shared-store":149}],112:[function(u,d,t){var a=u("../internals/well-known-symbol"),c=u("../internals/iterators"),i=a("iterator"),l=Array.prototype;d.exports=function(u){return void 0!==u&&(c.Array===u||l[i]===u)}},{"../internals/iterators":122,"../internals/well-known-symbol":166}],113:[function(u,d,t){var a=u("../internals/classof-raw");d.exports=Array.isArray||function isArray(u){return"Array"==a(u)}},{"../internals/classof-raw":74}],114:[function(u,d,t){d.exports=function(u){return"function"==typeof u}},{}],115:[function(u,d,t){var a=u("../internals/function-uncurry-this"),c=u("../internals/fails"),i=u("../internals/is-callable"),l=u("../internals/classof"),D=u("../internals/get-built-in"),p=u("../internals/inspect-source"),noop=function(){},b=[],y=D("Reflect","construct"),m=/^\s*(?:class|function)\b/,A=a(m.exec),E=!m.exec(noop),C=function isConstructor(u){if(!i(u))return!1;try{return y(noop,b,u),!0}catch(u){return!1}},g=function isConstructor(u){if(!i(u))return!1;switch(l(u)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return E||!!A(m,p(u))}catch(u){return!0}};g.sham=!0,d.exports=!y||c((function(){var u;return C(C.call)||!C(Object)||!C((function(){u=!0}))||u}))?g:C},{"../internals/classof":75,"../internals/fails":94,"../internals/function-uncurry-this":99,"../internals/get-built-in":100,"../internals/inspect-source":110,"../internals/is-callable":114}],116:[function(u,d,t){var a=u("../internals/fails"),c=u("../internals/is-callable"),i=/#|\.prototype\./,isForced=function(u,d){var t=D[l(u)];return t==b||t!=p&&(c(d)?a(d):!!d)},l=isForced.normalize=function(u){return String(u).replace(i,".").toLowerCase()},D=isForced.data={},p=isForced.NATIVE="N",b=isForced.POLYFILL="P";d.exports=isForced},{"../internals/fails":94,"../internals/is-callable":114}],117:[function(u,d,t){var a=u("../internals/is-callable");d.exports=function(u){return"object"==typeof u?null!==u:a(u)}},{"../internals/is-callable":114}],118:[function(u,d,t){d.exports=!0},{}],119:[function(u,d,t){var a=u("../internals/global"),c=u("../internals/get-built-in"),i=u("../internals/is-callable"),l=u("../internals/object-is-prototype-of"),D=u("../internals/use-symbol-as-uid"),p=a.Object;d.exports=D?function(u){return"symbol"==typeof u}:function(u){var d=c("Symbol");return i(d)&&l(d.prototype,p(u))}},{"../internals/get-built-in":100,"../internals/global":104,"../internals/is-callable":114,"../internals/object-is-prototype-of":135,"../internals/use-symbol-as-uid":164}],120:[function(u,d,t){var a=u("../internals/function-call"),c=u("../internals/an-object"),i=u("../internals/get-method");d.exports=function(u,d,t){var l,D;c(u);try{if(!(l=i(u,"return"))){if("throw"===d)throw t;return t}l=a(l,u)}catch(u){D=!0,l=u}if("throw"===d)throw t;if(D)throw l;return c(l),t}},{"../internals/an-object":60,"../internals/function-call":97,"../internals/get-method":103}],121:[function(u,d,t){"use strict";var a,c,i,l=u("../internals/fails"),D=u("../internals/is-callable"),p=u("../internals/object-create"),b=u("../internals/object-get-prototype-of"),y=u("../internals/redefine"),m=u("../internals/well-known-symbol"),A=u("../internals/is-pure"),E=m("iterator"),C=!1;[].keys&&("next"in(i=[].keys())?(c=b(b(i)))!==Object.prototype&&(a=c):C=!0),null==a||l((function(){var u={};return a[E].call(u)!==u}))?a={}:A&&(a=p(a)),D(a[E])||y(a,E,(function(){return this})),d.exports={IteratorPrototype:a,BUGGY_SAFARI_ITERATORS:C}},{"../internals/fails":94,"../internals/is-callable":114,"../internals/is-pure":118,"../internals/object-create":127,"../internals/object-get-prototype-of":134,"../internals/redefine":143,"../internals/well-known-symbol":166}],122:[function(u,d,t){arguments[4][106][0].apply(t,arguments)},{dup:106}],123:[function(u,d,t){var a=u("../internals/to-length");d.exports=function(u){return a(u.length)}},{"../internals/to-length":156}],124:[function(u,d,t){var a=u("../internals/engine-v8-version"),c=u("../internals/fails");d.exports=!!Object.getOwnPropertySymbols&&!c((function(){var u=Symbol();return!String(u)||!(Object(u)instanceof Symbol)||!Symbol.sham&&a&&a<41}))},{"../internals/engine-v8-version":89,"../internals/fails":94}],125:[function(u,d,t){var a=u("../internals/global"),c=u("../internals/is-callable"),i=u("../internals/inspect-source"),l=a.WeakMap;d.exports=c(l)&&/native code/.test(i(l))},{"../internals/global":104,"../internals/inspect-source":110,"../internals/is-callable":114}],126:[function(u,d,t){var a=u("../internals/global"),c=u("../internals/fails"),i=u("../internals/function-uncurry-this"),l=u("../internals/to-string"),D=u("../internals/string-trim").trim,p=u("../internals/whitespaces"),b=a.parseInt,y=a.Symbol,m=y&&y.iterator,A=/^[+-]?0x/i,E=i(A.exec),C=8!==b(p+"08")||22!==b(p+"0x16")||m&&!c((function(){b(Object(m))}));d.exports=C?function parseInt(u,d){var t=D(l(u));return b(t,d>>>0||(E(A,t)?16:10))}:b},{"../internals/fails":94,"../internals/function-uncurry-this":99,"../internals/global":104,"../internals/string-trim":152,"../internals/to-string":161,"../internals/whitespaces":167}],127:[function(u,d,t){var a,c=u("../internals/an-object"),i=u("../internals/object-define-properties"),l=u("../internals/enum-bug-keys"),D=u("../internals/hidden-keys"),p=u("../internals/html"),b=u("../internals/document-create-element"),y=u("../internals/shared-key"),m=y("IE_PROTO"),EmptyConstructor=function(){},scriptTag=function(u){return"
+
+
+
+
+
+
+ ExampleSite
+
+
+
+{# #}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Welcome to my blog
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file