phodal/congee

View on GitHub
ckeditor/plugins/autosave/js/extensions.min.js

Summary

Maintainability
A
0 mins
Test Coverage
__whitespace={" ":true,"\t":true,"\n":true,"\f":true,"\r":true};difflib={defaultJunkFunction:function(a){return a in __whitespace},stripLinebreaks:function(a){return a.replace(/^[\n\r]*|[\n\r]*$/g,"")},stringAsLines:function(f){var a=f.indexOf("\n");var e=f.indexOf("\r");var d=((a>-1&&e>-1)||e<0)?"\n":"\r";var b=f.split(d);for(var c=0;c<b.length;c++){b[c]=difflib.stripLinebreaks(b[c])}return b},__reduce:function(c,e,b){if(b!=null){var d=b;var a=0}else{if(e){var d=e[0];var a=1}else{return null}}for(;a<e.length;a++){d=c(d,e[a])}return d},__ntuplecomp:function(d,c){var e=Math.max(d.length,c.length);for(var f=0;f<e;f++){if(d[f]<c[f]){return -1}if(d[f]>c[f]){return 1}}return d.length==c.length?0:(d.length<c.length?-1:1)},__calculate_ratio:function(b,a){return a?2*b/a:1},__isindict:function(a){return function(b){return b in a}},__dictget:function(c,b,a){return b in c?c[b]:a},SequenceMatcher:function(e,c,d){this.set_seqs=function(g,f){this.set_seq1(g);this.set_seq2(f)};this.set_seq1=function(b){if(b==this.a){return}this.a=b;this.matching_blocks=this.opcodes=null};this.set_seq2=function(a){if(a==this.b){return}this.b=a;this.matching_blocks=this.opcodes=this.fullbcount=null;this.__chain_b()};this.__chain_b=function(){var o=this.b;var g=o.length;var h=this.b2j={};var j={};for(var m=0;m<o.length;m++){var l=o[m];if(l in h){var p=h[l];if(g>=200&&p.length*100>g){j[l]=1;delete h[l]}else{p.push(m)}}else{h[l]=[m]}}for(var l in j){delete h[l]}var f=this.isjunk;var a={};if(f){for(var l in j){if(f(l)){a[l]=1;delete j[l]}}for(var l in h){if(f(l)){a[l]=1;delete h[l]}}}this.isbjunk=difflib.__isindict(a);this.isbpopular=difflib.__isindict(j)};this.find_longest_match=function(g,w,q,n){var y=this.a;var x=this.b;var z=this.b2j;var f=this.isbjunk;var o=g;var m=q;var l=0;var t=null;var s={};var p=[];for(var u=g;u<w;u++){var h={};var r=difflib.__dictget(z,y[u],p);for(var v in r){t=r[v];if(t<q){continue}if(t>=n){break}h[t]=k=difflib.__dictget(s,t-1,0)+1;if(k>l){o=u-k+1;m=t-k+1;l=k}}s=h}while(o>g&&m>q&&!f(x[m-1])&&y[o-1]==x[m-1]){o--;m--;l++}while(o+l<w&&m+l<n&&!f(x[m+l])&&y[o+l]==x[m+l]){l++}while(o>g&&m>q&&f(x[m-1])&&y[o-1]==x[m-1]){o--;m--;l++}while(o+l<w&&m+l<n&&f(x[m+l])&&y[o+l]==x[m+l]){l++}return[o,m,l]};this.get_matching_blocks=function(){if(this.matching_blocks!=null){return this.matching_blocks}var f=this.a.length;var b=this.b.length;var q=[[0,f,0,b]];var l=[];var s,m,v,r,a,p,n,h,t;while(q.length){a=q.pop();s=a[0];m=a[1];v=a[2];r=a[3];t=this.find_longest_match(s,m,v,r);p=t[0];n=t[1];h=t[2];if(h){l.push(t);if(s<p&&v<n){q.push([s,p,v,n])}if(p+h<m&&n+h<r){q.push([p+h,m,n+h,r])}}}l.sort(difflib.__ntuplecomp);var g=j1=k1=block=0;var o=[];for(var u in l){block=l[u];i2=block[0];j2=block[1];k2=block[2];if(g+k1==i2&&j1+k1==j2){k1+=k2}else{if(k1){o.push([g,j1,k1])}g=i2;j1=j2;k1=k2}}if(k1){o.push([g,j1,k1])}o.push([f,b,0]);this.matching_blocks=o;return this.matching_blocks};this.get_opcodes=function(){if(this.opcodes!=null){return this.opcodes}var h=0;var g=0;var n=[];this.opcodes=n;var f,l,b,o,p;var a=this.get_matching_blocks();for(var m in a){f=a[m];l=f[0];b=f[1];o=f[2];p="";if(h<l&&g<b){p="replace"}else{if(h<l){p="delete"}else{if(g<b){p="insert"}}}if(p){n.push([p,h,l,g,b])}h=l+o;g=b+o;if(o){n.push(["equal",l,h,b,g])}}return n};this.get_grouped_opcodes=function(g){if(!g){g=3}var a=this.get_opcodes();if(!a){a=[["equal",0,1,0,1]]}var b,p,i,h,o,m;if(a[0][0]=="equal"){b=a[0];p=b[0];i=b[1];h=b[2];o=b[3];m=b[4];a[0]=[p,Math.max(i,h-g),h,Math.max(o,m-g),m]}if(a[a.length-1][0]=="equal"){b=a[a.length-1];p=b[0];i=b[1];h=b[2];o=b[3];m=b[4];a[a.length-1]=[p,i,Math.min(h,i+g),o,Math.min(m,o+g)]}var l=g+g;var f=[];for(var j in a){b=a[j];p=b[0];i=b[1];h=b[2];o=b[3];m=b[4];if(p=="equal"&&h-i>l){f.push([p,i,Math.min(h,i+g),o,Math.min(m,o+g)]);i=Math.max(i,h-g);o=Math.max(o,m-g)}f.push([p,i,h,o,m])}if(f&&f[f.length-1][0]=="equal"){f.pop()}return f};this.ratio=function(){matches=difflib.__reduce(function(a,b){return a+b[b.length-1]},this.get_matching_blocks(),0);return difflib.__calculate_ratio(matches,this.a.length+this.b.length)};this.quick_ratio=function(){var a,b;if(this.fullbcount==null){this.fullbcount=a={};for(var g=0;g<this.b.length;g++){b=this.b[g];a[b]=difflib.__dictget(a,b,0)+1}}a=this.fullbcount;var j={};var f=difflib.__isindict(j);var h=numb=0;for(var g=0;g<this.a.length;g++){b=this.a[g];if(f(b)){numb=j[b]}else{numb=difflib.__dictget(a,b,0)}j[b]=numb-1;if(numb>0){h++}}return difflib.__calculate_ratio(h,this.a.length+this.b.length)};this.real_quick_ratio=function(){var b=this.a.length;var a=this.b.length;return _calculate_ratio(Math.min(b,a),b+a)};this.isjunk=d?d:difflib.defaultJunkFunction;this.a=this.b=null;this.set_seqs(e,c)}};diffview={buildView:function(C){var u=C.baseTextLines;var e=C.newTextLines;var o=C.opcodes;var h=C.baseTextName?C.baseTextName:"Base Text";var v=C.newTextName?C.newTextName:"New Text";var q=C.contextSize;var d=(C.viewType==0||C.viewType==1)?C.viewType:0;if(u==null){throw"Cannot build diff view; baseTextLines is not defined."}if(e==null){throw"Cannot build diff view; newTextLines is not defined."}if(!o){throw"Canno build diff view; opcodes is not defined."}function E(i,b){var n=document.createElement(i);n.className=b;return n}function p(b,n){var i=document.createElement(b);i.appendChild(document.createTextNode(n));return i}function r(i,b,H){var n=document.createElement(i);n.className=b;n.innerHTML=H;return n}var s=document.createElement("thead");var y=document.createElement("tr");s.appendChild(y);if(d){y.appendChild(document.createElement("th"));y.appendChild(document.createElement("th"));y.appendChild(r("th","texttitle",h+" vs. "+v))}else{y.appendChild(document.createElement("th"));y.appendChild(r("th","texttitle",h));y.appendChild(document.createElement("th"));y.appendChild(r("th","texttitle",v))}s=[s];var m=[];var a;function c(H,b,n,i,I){if(b<n){H.appendChild(p("th",(b+1).toString()));H.appendChild(r("td",I,i[b].replace(/\t/g,"\u00a0\u00a0\u00a0\u00a0")));return b+1}else{H.appendChild(document.createElement("th"));H.appendChild(E("td","empty"));return b}}function B(H,b,n,i,I){H.appendChild(p("th",b==null?"":(b+1).toString()));H.appendChild(p("th",n==null?"":(n+1).toString()));H.appendChild(r("td",I,i[b!=null?b:n].replace(/\t/g,"\u00a0\u00a0\u00a0\u00a0")))}for(var t=0;t<o.length;t++){code=o[t];change=code[0];var D=code[1];var f=code[2];var w=code[3];var l=code[4];var G=Math.max(f-D,l-w);var x=[];var A=[];for(var z=0;z<G;z++){if(q&&o.length>1&&((t>0&&z==q)||(t==0&&z==0))&&change=="equal"){var g=G-((t==0?1:2)*q);if(g>1){x.push(y=document.createElement("tr"));D+=g;w+=g;z+=g-1;y.appendChild(p("th","..."));if(!d){y.appendChild(r("td","skip",""))}y.appendChild(p("th","..."));y.appendChild(r("td","skip",""));if(t+1==o.length){break}else{continue}}}x.push(y=document.createElement("tr"));if(d){if(change=="insert"){B(y,null,w++,e,change)}else{if(change=="replace"){A.push(a=document.createElement("tr"));if(D<f){B(y,D++,null,u,"delete")}if(w<l){B(a,null,w++,e,"insert")}}else{if(change=="delete"){B(y,D++,null,u,change)}else{B(y,D++,w++,u,change)}}}}else{var F=diffString2(D<f?u[D]:"",w<l?e[w]:"");if(D<f){u[D]=F.o}if(w<l){e[w]=F.n}D=c(y,D,f,u,change=="replace"?"delete":change);w=c(y,w,l,e,change=="replace"?"insert":change)}}for(var z=0;z<x.length;z++){m.push(x[z])}for(var z=0;z<A.length;z++){m.push(A[z])}}var j="combined <a href='http://snowtide.com/jsdifflib'>jsdifflib</a> ";j+="and John Resig's <a href='http://ejohn.org/projects/javascript-diff-algorithm/'>diff</a> ";j+="by <a href='http://richardbondi.net'>Richard Bondi</a>";m.push(y=r("th","author",j));y.setAttribute("colspan",d?3:4);s.push(y=document.createElement("tbody"));for(var t in m){y.appendChild(m[t])}y=E("table","diff"+(d?" inlinediff":""));for(var t in s){y.appendChild(s[t])}return y}};function escape_jsdiff(a){var b=a;b=b.replace(/&/g,"&amp;");b=b.replace(/</g,"&lt;");b=b.replace(/>/g,"&gt;");b=b.replace(/"/g,"&quot;");return b}function diffString(g,h){g=g.replace(/\s+$/,"");h=h.replace(/\s+$/,"");var b=diff(g==""?[]:g.split(/\s+/),h==""?[]:h.split(/\s+/));var f="";var a=g.match(/\s+/g);if(a==null){a=["\n"]}else{a.push("\n")}var d=h.match(/\s+/g);if(d==null){d=["\n"]}else{d.push("\n")}if(b.n.length==0){for(var c=0;c<b.o.length;c++){f+="<del>"+escape_jsdiff(b.o[c])+a[c]+"</del>"}}else{if(b.n[0].text==null){for(h=0;h<b.o.length&&b.o[h].text==null;h++){f+="<del>"+escape_jsdiff(b.o[h])+a[h]+"</del>"}}for(var c=0;c<b.n.length;c++){if(b.n[c].text==null){f+="<ins>"+escape_jsdiff(b.n[c])+d[c]+"</ins>"}else{var e="";for(h=b.n[c].row+1;h<b.o.length&&b.o[h].text==null;h++){e+="<del>"+escape_jsdiff(b.o[h])+a[h]+"</del>"}f+=" "+b.n[c].text+d[c]+e}}}return f}function randomColor(){return"rgb("+(Math.random()*100)+"%, "+(Math.random()*100)+"%, "+(Math.random()*100)+"%)"}function diffString2(b,c){b=b.replace(/\s+$/,"");c=c.replace(/\s+$/,"");var e=diff(b==""?[]:b.split(/\s+/),c==""?[]:c.split(/\s+/));var j=b.match(/\s+/g);if(j==null){j=["\n"]}else{j.push("\n")}var g=c.match(/\s+/g);if(g==null){g=["\n"]}else{g.push("\n")}var d="";var a=new Array();for(var f=0;f<e.o.length;f++){a[f]=randomColor();if(e.o[f].text!=null){d+=escape_jsdiff(e.o[f].text)+j[f]}else{d+="<del>"+escape_jsdiff(e.o[f])+j[f]+"</del>"}}var h="";for(var f=0;f<e.n.length;f++){if(e.n[f].text!=null){h+=escape_jsdiff(e.n[f].text)+g[f]}else{h+="<ins>"+escape_jsdiff(e.n[f])+g[f]+"</ins>"}}return{o:d,n:h}}function diff(d,e){var b=new Object();var c=new Object();for(var a=0;a<e.length;a++){if(b[e[a]]==null){b[e[a]]={rows:new Array(),o:null}}b[e[a]].rows.push(a)}for(var a=0;a<d.length;a++){if(c[d[a]]==null){c[d[a]]={rows:new Array(),n:null}}c[d[a]].rows.push(a)}for(var a in b){if(b[a].rows.length==1&&typeof(c[a])!="undefined"&&c[a].rows.length==1){e[b[a].rows[0]]={text:e[b[a].rows[0]],row:c[a].rows[0]};d[c[a].rows[0]]={text:d[c[a].rows[0]],row:b[a].rows[0]}}}for(var a=0;a<e.length-1;a++){if(e[a].text!=null&&e[a+1].text==null&&e[a].row+1<d.length&&d[e[a].row+1].text==null&&e[a+1]==d[e[a].row+1]){e[a+1]={text:e[a+1],row:e[a].row+1};d[e[a].row+1]={text:d[e[a].row+1],row:a+1}}}for(var a=e.length-1;a>0;a--){if(e[a].text!=null&&e[a-1].text==null&&e[a].row>0&&d[e[a].row-1].text==null&&e[a-1]==d[e[a].row-1]){e[a-1]={text:e[a-1],row:e[a].row-1};d[e[a].row-1]={text:d[e[a].row-1],row:a-1}}}return{o:d,n:e}}(function(b,a){typeof exports==="object"&&typeof module!=="undefined"?module.exports=a():typeof define==="function"&&define.amd?define(a):b.moment=a()}(this,function(){var b6;function dc(){return b6.apply(null,arguments)}function a0(dY){b6=dY}function bv(dY){return Object.prototype.toString.call(dY)==="[object Array]"}function aN(dY){return dY instanceof Date||Object.prototype.toString.call(dY)==="[object Date]"}function a5(dY,d1){var d0=[],dZ;for(dZ=0;dZ<dY.length;++dZ){d0.push(d1(dY[dZ],dZ))}return d0}function bb(dZ,dY){return Object.prototype.hasOwnProperty.call(dZ,dY)}function cH(dZ,dY){for(var d0 in dY){if(bb(dY,d0)){dZ[d0]=dY[d0]}}if(bb(dY,"toString")){dZ.toString=dY.toString}if(bb(dY,"valueOf")){dZ.valueOf=dY.valueOf}return dZ}function K(d0,d1,dY,dZ){return c4(d0,d1,dY,dZ,true).utc()}function aI(){return{empty:false,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:false,invalidMonth:null,invalidFormat:false,userInvalidated:false,iso:false}}function cs(dY){if(dY._pf==null){dY._pf=aI()}return dY._pf}function b(dY){if(dY._isValid==null){var dZ=cs(dY);dY._isValid=!isNaN(dY._d.getTime())&&dZ.overflow<0&&!dZ.empty&&!dZ.invalidMonth&&!dZ.invalidWeekday&&!dZ.nullInput&&!dZ.invalidFormat&&!dZ.userInvalidated;if(dY._strict){dY._isValid=dY._isValid&&dZ.charsLeftOver===0&&dZ.unusedTokens.length===0&&dZ.bigHour===undefined}}return dY._isValid}function bY(dZ){var dY=K(NaN);if(dZ!=null){cH(cs(dY),dZ)}else{cs(dY).userInvalidated=true}return dY}var ar=dc.momentProperties=[];function t(d2,d1){var dY,d0,dZ;if(typeof d1._isAMomentObject!=="undefined"){d2._isAMomentObject=d1._isAMomentObject}if(typeof d1._i!=="undefined"){d2._i=d1._i}if(typeof d1._f!=="undefined"){d2._f=d1._f}if(typeof d1._l!=="undefined"){d2._l=d1._l}if(typeof d1._strict!=="undefined"){d2._strict=d1._strict}if(typeof d1._tzm!=="undefined"){d2._tzm=d1._tzm}if(typeof d1._isUTC!=="undefined"){d2._isUTC=d1._isUTC}if(typeof d1._offset!=="undefined"){d2._offset=d1._offset}if(typeof d1._pf!=="undefined"){d2._pf=cs(d1)}if(typeof d1._locale!=="undefined"){d2._locale=d1._locale}if(ar.length>0){for(dY in ar){d0=ar[dY];dZ=d1[d0];if(typeof dZ!=="undefined"){d2[d0]=dZ}}}return d2}var dI=false;function bF(dY){t(this,dY);this._d=new Date(dY._d!=null?dY._d.getTime():NaN);if(dI===false){dI=true;dc.updateOffset(this);dI=false}}function bT(dY){return dY instanceof bF||(dY!=null&&dY._isAMomentObject!=null)}function bD(dY){if(dY<0){return Math.ceil(dY)}else{return Math.floor(dY)}}function dQ(dY){var d0=+dY,dZ=0;if(d0!==0&&isFinite(d0)){dZ=bD(d0)}return dZ}function O(d3,d2,dZ){var dY=Math.min(d3.length,d2.length),d0=Math.abs(d3.length-d2.length),d4=0,d1;for(d1=0;d1<dY;d1++){if((dZ&&d3[d1]!==d2[d1])||(!dZ&&dQ(d3[d1])!==dQ(d2[d1]))){d4++}}return d4+d0}function aK(){}var cO={};var aC;function dz(dY){return dY?dY.toLowerCase().replace("_","-"):dY}function ab(d3){var d1=0,dZ,d2,dY,d0;while(d1<d3.length){d0=dz(d3[d1]).split("-");dZ=d0.length;d2=dz(d3[d1+1]);d2=d2?d2.split("-"):null;while(dZ>0){dY=ad(d0.slice(0,dZ).join("-"));if(dY){return dY}if(d2&&d2.length>=dZ&&O(d0,d2,true)>=dZ-1){break}dZ--}d1++}return null}function ad(dY){var d0=null;if(!cO[dY]&&typeof module!=="undefined"&&module&&module.exports){try{d0=aC._abbr;require("./locale/"+dY);ds(d0)}catch(dZ){}}return cO[dY]}function ds(dZ,dY){var d0;if(dZ){if(typeof dY==="undefined"){d0=q(dZ)}else{d0=n(dZ,dY)}if(d0){aC=d0}}return aC._abbr}function n(dZ,dY){if(dY!==null){dY.abbr=dZ;cO[dZ]=cO[dZ]||new aK();cO[dZ].set(dY);ds(dZ);return cO[dZ]}else{delete cO[dZ];return null}}function q(dZ){var dY;if(dZ&&dZ._locale&&dZ._locale._abbr){dZ=dZ._locale._abbr}if(!dZ){return aC}if(!bv(dZ)){dY=ad(dZ);if(dY){return dY}dZ=[dZ]}return ab(dZ)}var o={};function dL(d0,dY){var dZ=d0.toLowerCase();o[dZ]=o[dZ+"s"]=o[dY]=d0}function ac(dY){return typeof dY==="string"?o[dY]||o[dY.toLowerCase()]:undefined}function cJ(d0){var dZ={},dY,d1;for(d1 in d0){if(bb(d0,d1)){dY=ac(d1);if(dY){dZ[dY]=d0[d1]}}}return dZ}function b5(dY,dZ){return function(d0){if(d0!=null){P(this,dY,d0);dc.updateOffset(this,dZ);return this}else{return at(this,dY)}}}function at(dZ,dY){return dZ._d["get"+(dZ._isUTC?"UTC":"")+dY]()}function P(dZ,dY,d0){return dZ._d["set"+(dZ._isUTC?"UTC":"")+dY](d0)}function bt(dY,d0){var dZ;if(typeof dY==="object"){for(dZ in dY){this.set(dZ,dY[dZ])}}else{dY=ac(dY);if(typeof this[dY]==="function"){return this[dY](d0)}}return this}function V(d3,d2,dZ){var d1=""+Math.abs(d3),d0=d2-d1.length,dY=d3>=0;return(dY?(dZ?"+":""):"-")+Math.pow(10,Math.max(0,d0)).toString().substr(1)+d1}var y=/(\[[^\[]*\])|(\\)?(Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Q|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g;var aW=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g;var a8={};var dk={};function a6(dZ,d0,dY,d2){var d1=d2;if(typeof d2==="string"){d1=function(){return this[d2]()}}if(dZ){dk[dZ]=d1}if(d0){dk[d0[0]]=function(){return V(d1.apply(this,arguments),d0[1],d0[2])}}if(dY){dk[dY]=function(){return this.localeData().ordinal(d1.apply(this,arguments),dZ)}}}function cV(dY){if(dY.match(/\[[\s\S]/)){return dY.replace(/^\[|\]$/g,"")}return dY.replace(/\\/g,"")}function a7(d0){var d1=d0.match(y),dY,dZ;for(dY=0,dZ=d1.length;dY<dZ;dY++){if(dk[d1[dY]]){d1[dY]=dk[d1[dY]]}else{d1[dY]=cV(d1[dY])}}return function(d3){var d2="";for(dY=0;dY<dZ;dY++){d2+=d1[dY] instanceof Function?d1[dY].call(d3,d0):d1[dY]}return d2}}function i(dY,dZ){if(!dY.isValid()){return dY.localeData().invalidDate()}dZ=cC(dZ,dY.localeData());a8[dZ]=a8[dZ]||a7(dZ);return a8[dZ](dY)}function cC(d1,dY){var dZ=5;function d0(d2){return dY.longDateFormat(d2)||d2}aW.lastIndex=0;while(dZ>=0&&aW.test(d1)){d1=d1.replace(aW,d0);aW.lastIndex=0;dZ-=1}return d1}var dG=/\d/;var dF=/\d\d/;var dD=/\d{3}/;var dC=/\d{4}/;var dB=/[+-]?\d{6}/;var cw=/\d\d?/;var ct=/\d{1,3}/;var cq=/\d{1,4}/;var co=/[+-]?\d{1,6}/;var aH=/\d+/;var dR=/[+-]?\d+/;var dS=/Z|[+-]\d\d:?\d\d/gi;var U=/[+-]?\d+(\.\d{1,3})?/;var D=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i;var cG={};function I(dY){return typeof dY==="function"&&Object.prototype.toString.call(dY)==="[object Function]"}function m(dY,dZ,d0){cG[dY]=I(dZ)?dZ:function(d1){return(d1&&d0)?d0:dZ}}function ao(dZ,dY){if(!bb(cG,dZ)){return new RegExp(bc(dZ))}return cG[dZ](dY._strict,dY._locale)}function bc(dY){return dY.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(dZ,d3,d2,d1,d0){return d3||d2||d1||d0}).replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var Q={};function cb(dZ,d1){var dY,d0=d1;if(typeof dZ==="string"){dZ=[dZ]}if(typeof d1==="number"){d0=function(d2,d3){d3[d1]=dQ(d2)}}for(dY=0;dY<dZ.length;dY++){Q[dZ[dY]]=d0}}function dW(dY,dZ){cb(dY,function(d0,d3,d1,d2){d1._w=d1._w||{};dZ(d0,d1._w,d1,d2)})}function a3(d0,dY,dZ){if(dY!=null&&bb(Q,d0)){Q[d0](dY,dZ._a,dZ,d0)}}var cp=0;var cB=1;var ci=2;var aB=3;var dl=4;var cE=5;var dN=6;function cL(dY,dZ){return new Date(Date.UTC(dY,dZ+1,0)).getUTCDate()}a6("M",["MM",2],"Mo",function(){return this.month()+1});a6("MMM",0,0,function(dY){return this.localeData().monthsShort(this,dY)});a6("MMMM",0,0,function(dY){return this.localeData().months(this,dY)});dL("month","M");m("M",cw);m("MM",cw,dF);m("MMM",D);m("MMMM",D);cb(["M","MM"],function(dY,dZ){dZ[cB]=dQ(dY)-1});cb(["MMM","MMMM"],function(dY,d2,dZ,d0){var d1=dZ._locale.monthsParse(dY,d0,dZ._strict);if(d1!=null){d2[cB]=d1}else{cs(dZ).invalidMonth=dY}});var dU="January_February_March_April_May_June_July_August_September_October_November_December".split("_");function cy(dY){return this._months[dY.month()]}var bA="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_");function cN(dY){return this._monthsShort[dY.month()]}function bJ(dZ,d3,dY){var d0,d2,d1;if(!this._monthsParse){this._monthsParse=[];this._longMonthsParse=[];this._shortMonthsParse=[]}for(d0=0;d0<12;d0++){d2=K([2000,d0]);if(dY&&!this._longMonthsParse[d0]){this._longMonthsParse[d0]=new RegExp("^"+this.months(d2,"").replace(".","")+"$","i");this._shortMonthsParse[d0]=new RegExp("^"+this.monthsShort(d2,"").replace(".","")+"$","i")}if(!dY&&!this._monthsParse[d0]){d1="^"+this.months(d2,"")+"|^"+this.monthsShort(d2,"");this._monthsParse[d0]=new RegExp(d1.replace(".",""),"i")}if(dY&&d3==="MMMM"&&this._longMonthsParse[d0].test(dZ)){return d0}else{if(dY&&d3==="MMM"&&this._shortMonthsParse[d0].test(dZ)){return d0}else{if(!dY&&this._monthsParse[d0].test(dZ)){return d0}}}}}function dx(dY,dZ){var d0;if(typeof dZ==="string"){dZ=dY.localeData().monthsParse(dZ);if(typeof dZ!=="number"){return dY}}d0=Math.min(dY.date(),cL(dY.year(),dZ));dY._d["set"+(dY._isUTC?"UTC":"")+"Month"](dZ,d0);return dY}function r(dY){if(dY!=null){dx(this,dY);dc.updateOffset(this,true);return this}else{return at(this,"Month")}}function aX(){return cL(this.year(),this.month())}function cv(dY){var d0;var dZ=dY._a;if(dZ&&cs(dY).overflow===-2){d0=dZ[cB]<0||dZ[cB]>11?cB:dZ[ci]<1||dZ[ci]>cL(dZ[cp],dZ[cB])?ci:dZ[aB]<0||dZ[aB]>24||(dZ[aB]===24&&(dZ[dl]!==0||dZ[cE]!==0||dZ[dN]!==0))?aB:dZ[dl]<0||dZ[dl]>59?dl:dZ[cE]<0||dZ[cE]>59?cE:dZ[dN]<0||dZ[dN]>999?dN:-1;if(cs(dY)._overflowDayOfYear&&(d0<cp||d0>ci)){d0=ci}cs(dY).overflow=d0}return dY}function dq(dY){if(dc.suppressDeprecationWarnings===false&&typeof console!=="undefined"&&console.warn){console.warn("Deprecation warning: "+dY)}}function cK(dZ,dY){var d0=true;return cH(function(){if(d0){dq(dZ+"\n"+(new Error()).stack);d0=false}return dY.apply(this,arguments)},dY)}var ak={};function cl(dY,dZ){if(!ak[dY]){dq(dZ);ak[dY]=true}}dc.suppressDeprecationWarnings=false;var b8=/^\s*(?:[+-]\d{6}|\d{4})-(?:(\d\d-\d\d)|(W\d\d$)|(W\d\d-\d)|(\d\d\d))((T| )(\d\d(:\d\d(:\d\d(\.\d+)?)?)?)?([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/;var dr=[["YYYYYY-MM-DD",/[+-]\d{6}-\d{2}-\d{2}/],["YYYY-MM-DD",/\d{4}-\d{2}-\d{2}/],["GGGG-[W]WW-E",/\d{4}-W\d{2}-\d/],["GGGG-[W]WW",/\d{4}-W\d{2}/],["YYYY-DDD",/\d{4}-\d{3}/]];var cn=[["HH:mm:ss.SSSS",/(T| )\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss",/(T| )\d\d:\d\d:\d\d/],["HH:mm",/(T| )\d\d:\d\d/],["HH",/(T| )\d\d/]];var dj=/^\/?Date\((\-?\d+)/i;function f(d1){var d2,dY,d0=d1._i,dZ=b8.exec(d0);if(dZ){cs(d1).iso=true;for(d2=0,dY=dr.length;d2<dY;d2++){if(dr[d2][1].exec(d0)){d1._f=dr[d2][0];break}}for(d2=0,dY=cn.length;d2<dY;d2++){if(cn[d2][1].exec(d0)){d1._f+=(dZ[6]||" ")+cn[d2][0];break}}if(d0.match(dS)){d1._f+="Z"}A(d1)}else{d1._isValid=false}}function bu(dZ){var dY=dj.exec(dZ._i);if(dY!==null){dZ._d=new Date(+dY[1]);return}f(dZ);if(dZ._isValid===false){delete dZ._isValid;dc.createFromInputFallback(dZ)}}dc.createFromInputFallback=cK("moment construction falls back to js Date. This is discouraged and will be removed in upcoming major release. Please refer to https://github.com/moment/moment/issues/1407 for more info.",function(dY){dY._d=new Date(dY._i+(dY._useUTC?" UTC":""))});function ax(d5,dY,d3,d2,d4,d1,d0){var dZ=new Date(d5,dY,d3,d2,d4,d1,d0);if(d5<1970){dZ.setFullYear(d5)}return dZ}function bI(dZ){var dY=new Date(Date.UTC.apply(null,arguments));if(dZ<1970){dY.setUTCFullYear(dZ)}return dY}a6(0,["YY",2],0,function(){return this.year()%100});a6(0,["YYYY",4],0,"year");a6(0,["YYYYY",5],0,"year");a6(0,["YYYYYY",6,true],0,"year");dL("year","y");m("Y",dR);m("YY",cw,dF);m("YYYY",cq,dC);m("YYYYY",co,dB);m("YYYYYY",co,dB);cb(["YYYYY","YYYYYY"],cp);cb("YYYY",function(dY,dZ){dZ[cp]=dY.length===2?dc.parseTwoDigitYear(dY):dQ(dY)});cb("YY",function(dY,dZ){dZ[cp]=dc.parseTwoDigitYear(dY)});function dw(dY){return b3(dY)?366:365}function b3(dY){return(dY%4===0&&dY%100!==0)||dY%400===0}dc.parseTwoDigitYear=function(dY){return dQ(dY)+(dQ(dY)>68?1900:2000)};var X=b5("FullYear",false);function cU(){return b3(this.year())}a6("w",["ww",2],"wo","week");a6("W",["WW",2],"Wo","isoWeek");dL("week","w");dL("isoWeek","W");m("w",cw);m("ww",cw,dF);m("W",cw);m("WW",cw,dF);dW(["w","ww","W","WW"],function(dY,d1,dZ,d0){d1[d0.substr(0,1)]=dQ(dY)});function dX(d2,d0,d3){var dZ=d3-d0,dY=d3-d2.day(),d1;if(dY>dZ){dY-=7}if(dY<dZ-7){dY+=7}d1=bX(d2).add(dY,"d");return{week:Math.ceil(d1.dayOfYear()/7),year:d1.year()}}function c3(dY){return dX(dY,this._week.dow,this._week.doy).week}var bz={dow:0,doy:6};function aP(){return this._week.dow}function v(){return this._week.doy}function bn(dY){var dZ=this.localeData().week(this);return dY==null?dZ:this.add((dY-dZ)*7,"d")}function dA(dY){var dZ=dX(this,1,4).week;return dY==null?dZ:this.add((dY-dZ)*7,"d")}a6("DDD",["DDDD",3],"DDDo","dayOfYear");dL("dayOfYear","DDD");m("DDD",ct);m("DDDD",dD);cb(["DDD","DDDD"],function(dY,d0,dZ){dZ._dayOfYear=dQ(dY)});function aE(d4,d0,d2,dZ,dY){var d6=6+dY-dZ,d1=bI(d4,0,1+d6),d3=d1.getUTCDay(),d5;if(d3<dY){d3+=7}d2=d2!=null?1*d2:dY;d5=1+d6+7*(d0-1)-d3+d2;return{year:d5>0?d4:d4-1,dayOfYear:d5>0?d5:dw(d4-1)+d5}}function bQ(dY){var dZ=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/86400000)+1;return dY==null?dZ:this.add((dY-dZ),"d")}function be(dZ,dY,d0){if(dZ!=null){return dZ}if(dY!=null){return dY}return d0}function bo(dZ){var dY=new Date();if(dZ._useUTC){return[dY.getUTCFullYear(),dY.getUTCMonth(),dY.getUTCDate()]}return[dY.getFullYear(),dY.getMonth(),dY.getDate()]}function T(d2){var d3,d1,d0=[],dZ,dY;if(d2._d){return}dZ=bo(d2);if(d2._w&&d2._a[ci]==null&&d2._a[cB]==null){af(d2)}if(d2._dayOfYear){dY=be(d2._a[cp],dZ[cp]);if(d2._dayOfYear>dw(dY)){cs(d2)._overflowDayOfYear=true}d1=bI(dY,0,d2._dayOfYear);d2._a[cB]=d1.getUTCMonth();d2._a[ci]=d1.getUTCDate()}for(d3=0;d3<3&&d2._a[d3]==null;++d3){d2._a[d3]=d0[d3]=dZ[d3]}for(;d3<7;d3++){d2._a[d3]=d0[d3]=(d2._a[d3]==null)?(d3===2?1:0):d2._a[d3]}if(d2._a[aB]===24&&d2._a[dl]===0&&d2._a[cE]===0&&d2._a[dN]===0){d2._nextDay=true;d2._a[aB]=0}d2._d=(d2._useUTC?bI:ax).apply(null,d0);if(d2._tzm!=null){d2._d.setUTCMinutes(d2._d.getUTCMinutes()-d2._tzm)}if(d2._nextDay){d2._a[aB]=24}}function af(d0){var dY,d2,d1,d3,d5,d4,dZ;dY=d0._w;if(dY.GG!=null||dY.W!=null||dY.E!=null){d5=1;d4=4;d2=be(dY.GG,d0._a[cp],dX(bX(),1,4).year);d1=be(dY.W,1);d3=be(dY.E,1)}else{d5=d0._locale._week.dow;d4=d0._locale._week.doy;d2=be(dY.gg,d0._a[cp],dX(bX(),d5,d4).year);d1=be(dY.w,1);if(dY.d!=null){d3=dY.d;if(d3<d5){++d1}}else{if(dY.e!=null){d3=dY.e+d5}else{d3=d5}}}dZ=aE(d2,d1,d3,d4,d5);d0._a[cp]=dZ.year;d0._dayOfYear=dZ.dayOfYear}dc.ISO_8601=function(){};function A(d0){if(d0._f===dc.ISO_8601){f(d0);return}d0._a=[];cs(d0).empty=true;var d3=""+d0._i,d2,dZ,d6,d1,d5,dY=d3.length,d4=0;d6=cC(d0._f,d0._locale).match(y)||[];for(d2=0;d2<d6.length;d2++){d1=d6[d2];dZ=(d3.match(ao(d1,d0))||[])[0];if(dZ){d5=d3.substr(0,d3.indexOf(dZ));if(d5.length>0){cs(d0).unusedInput.push(d5)}d3=d3.slice(d3.indexOf(dZ)+dZ.length);d4+=dZ.length}if(dk[d1]){if(dZ){cs(d0).empty=false}else{cs(d0).unusedTokens.push(d1)}a3(d1,dZ,d0)}else{if(d0._strict&&!dZ){cs(d0).unusedTokens.push(d1)}}}cs(d0).charsLeftOver=dY-d4;if(d3.length>0){cs(d0).unusedInput.push(d3)}if(cs(d0).bigHour===true&&d0._a[aB]<=12&&d0._a[aB]>0){cs(d0).bigHour=undefined}d0._a[aB]=b1(d0._locale,d0._a[aB],d0._meridiem);T(d0);cv(d0)}function b1(dY,d0,d1){var dZ;if(d1==null){return d0}if(dY.meridiemHour!=null){return dY.meridiemHour(d0,d1)}else{if(dY.isPM!=null){dZ=dY.isPM(d1);if(dZ&&d0<12){d0+=12}if(!dZ&&d0===12){d0=0}return d0}else{return d0}}}function z(dY){var d2,d0,d1,dZ,d3;if(dY._f.length===0){cs(dY).invalidFormat=true;dY._d=new Date(NaN);return}for(dZ=0;dZ<dY._f.length;dZ++){d3=0;d2=t({},dY);if(dY._useUTC!=null){d2._useUTC=dY._useUTC}d2._f=dY._f[dZ];A(d2);if(!b(d2)){continue}d3+=cs(d2).charsLeftOver;d3+=cs(d2).unusedTokens.length*10;cs(d2).score=d3;if(d1==null||d3<d1){d1=d3;d0=d2}}cH(dY,d0||d2)}function cm(dY){if(dY._d){return}var dZ=cJ(dY._i);dY._a=[dZ.year,dZ.month,dZ.day||dZ.date,dZ.hour,dZ.minute,dZ.second,dZ.millisecond];T(dY)}function ch(dY){var dZ=new bF(cv(dP(dY)));if(dZ._nextDay){dZ.add(1,"d");dZ._nextDay=undefined}return dZ}function dP(dZ){var dY=dZ._i,d0=dZ._f;dZ._locale=dZ._locale||q(dZ._l);if(dY===null||(d0===undefined&&dY==="")){return bY({nullInput:true})}if(typeof dY==="string"){dZ._i=dY=dZ._locale.preparse(dY)}if(bT(dY)){return new bF(cv(dY))}else{if(bv(d0)){z(dZ)}else{if(d0){A(dZ)}else{if(aN(dY)){dZ._d=dY}else{br(dZ)}}}}return dZ}function br(dZ){var dY=dZ._i;if(dY===undefined){dZ._d=new Date()}else{if(aN(dY)){dZ._d=new Date(+dY)}else{if(typeof dY==="string"){bu(dZ)}else{if(bv(dY)){dZ._a=a5(dY.slice(0),function(d0){return parseInt(d0,10)});T(dZ)}else{if(typeof(dY)==="object"){cm(dZ)}else{if(typeof(dY)==="number"){dZ._d=new Date(dY)}else{dc.createFromInputFallback(dZ)}}}}}}}function c4(d1,d2,dY,d0,dZ){var d3={};if(typeof(dY)==="boolean"){d0=dY;dY=undefined}d3._isAMomentObject=true;d3._useUTC=d3._isUTC=dZ;d3._l=dY;d3._i=d1;d3._f=d2;d3._strict=d0;return ch(d3)}function bX(d0,d1,dY,dZ){return c4(d0,d1,dY,dZ,false)}var aM=cK("moment().min is deprecated, use moment.min instead. https://github.com/moment/moment/issues/1548",function(){var dY=bX.apply(null,arguments);return dY<this?this:dY});var dJ=cK("moment().max is deprecated, use moment.max instead. https://github.com/moment/moment/issues/1548",function(){var dY=bX.apply(null,arguments);return dY>this?this:dY});function bW(d0,d1){var dZ,dY;if(d1.length===1&&bv(d1[0])){d1=d1[0]}if(!d1.length){return bX()}dZ=d1[0];for(dY=1;dY<d1.length;++dY){if(!d1[dY].isValid()||d1[dY][d0](dZ)){dZ=d1[dY]}}return dZ}function cD(){var dY=[].slice.call(arguments,0);return bW("isBefore",dY)}function aY(){var dY=[].slice.call(arguments,0);return bW("isAfter",dY)}function ah(d3){var d5=cJ(d3),d4=d5.year||0,dZ=d5.quarter||0,d0=d5.month||0,dY=d5.week||0,d8=d5.day||0,d6=d5.hour||0,d2=d5.minute||0,d7=d5.second||0,d1=d5.millisecond||0;this._milliseconds=+d1+d7*1000+d2*60000+d6*3600000;this._days=+d8+dY*7;this._months=+d0+dZ*3+d4*12;this._data={};this._locale=q();this._bubble()}function N(dY){return dY instanceof ah}function dE(dY,dZ){a6(dY,0,0,function(){var d1=this.utcOffset();var d0="+";if(d1<0){d1=-d1;d0="-"}return d0+V(~~(d1/60),2)+dZ+V(~~(d1)%60,2)})}dE("Z",":");dE("ZZ","");m("Z",dS);m("ZZ",dS);cb(["Z","ZZ"],function(dY,d0,dZ){dZ._useUTC=true;dZ._tzm=bB(dY)});var bw=/([\+\-]|\d\d)/gi;function bB(dZ){var d1=((dZ||"").match(dS)||[]);var dY=d1[d1.length-1]||[];var d2=(dY+"").match(bw)||["-",0,0];var d0=+(d2[1]*60)+dQ(d2[2]);return d2[0]==="+"?d0:-d0}function E(dY,dZ){var d0,d1;if(dZ._isUTC){d0=dZ.clone();d1=(bT(dY)||aN(dY)?+dY:+bX(dY))-(+d0);d0._d.setTime(+d0._d+d1);dc.updateOffset(d0,false);return d0}else{return bX(dY).local()}}function a(dY){return -Math.round(dY._d.getTimezoneOffset()/15)*15}dc.updateOffset=function(){};function ck(dY,d1){var d0=this._offset||0,dZ;if(dY!=null){if(typeof dY==="string"){dY=bB(dY)}if(Math.abs(dY)<16){dY=dY*60}if(!this._isUTC&&d1){dZ=a(this)}this._offset=dY;this._isUTC=true;if(dZ!=null){this.add(dZ,"m")}if(d0!==dY){if(!d1||this._changeInProgress){p(this,c0(dY-d0,"m"),1,false)}else{if(!this._changeInProgress){this._changeInProgress=true;dc.updateOffset(this,true);this._changeInProgress=null}}}return this}else{return this._isUTC?d0:a(this)}}function aA(dY,dZ){if(dY!=null){if(typeof dY!=="string"){dY=-dY}this.utcOffset(dY,dZ);return this}else{return -this.utcOffset()}}function h(dY){return this.utcOffset(0,dY)}function bq(dY){if(this._isUTC){this.utcOffset(0,dY);this._isUTC=false;if(dY){this.subtract(a(this),"m")}}return this}function bE(){if(this._tzm){this.utcOffset(this._tzm)}else{if(typeof this._i==="string"){this.utcOffset(bB(this._i))}}return this}function cf(dY){dY=dY?bX(dY).utcOffset():0;return(this.utcOffset()-dY)%60===0}function cj(){return(this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset())}function c5(){if(typeof this._isDSTShifted!=="undefined"){return this._isDSTShifted}var dZ={};t(dZ,this);dZ=dP(dZ);if(dZ._a){var dY=dZ._isUTC?K(dZ._a):bX(dZ._a);this._isDSTShifted=this.isValid()&&O(dZ._a,dY.toArray())>0}else{this._isDSTShifted=false}return this._isDSTShifted}function ba(){return !this._isUTC}function bP(){return this._isUTC}function a9(){return this._isUTC&&this._offset===0}var aR=/(\-)?(?:(\d*)\.)?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?)?/;var aL=/^(-)?P(?:(?:([0-9,.]*)Y)?(?:([0-9,.]*)M)?(?:([0-9,.]*)D)?(?:T(?:([0-9,.]*)H)?(?:([0-9,.]*)M)?(?:([0-9,.]*)S)?)?|([0-9,.]*)W)$/;function c0(d0,d3){var d4=d0,d2=null,dZ,d1,dY;if(N(d0)){d4={ms:d0._milliseconds,d:d0._days,M:d0._months}}else{if(typeof d0==="number"){d4={};if(d3){d4[d3]=d0}else{d4.milliseconds=d0}}else{if(!!(d2=aR.exec(d0))){dZ=(d2[1]==="-")?-1:1;d4={y:0,d:dQ(d2[ci])*dZ,h:dQ(d2[aB])*dZ,m:dQ(d2[dl])*dZ,s:dQ(d2[cE])*dZ,ms:dQ(d2[dN])*dZ}}else{if(!!(d2=aL.exec(d0))){dZ=(d2[1]==="-")?-1:1;d4={y:bZ(d2[2],dZ),M:bZ(d2[3],dZ),d:bZ(d2[4],dZ),h:bZ(d2[5],dZ),m:bZ(d2[6],dZ),s:bZ(d2[7],dZ),w:bZ(d2[8],dZ)}}else{if(d4==null){d4={}}else{if(typeof d4==="object"&&("from" in d4||"to" in d4)){dY=aZ(bX(d4.from),bX(d4.to));d4={};d4.ms=dY.milliseconds;d4.M=dY.months}}}}}}d1=new ah(d4);if(N(d0)&&bb(d0,"_locale")){d1._locale=d0._locale}return d1}c0.fn=ah.prototype;function bZ(d0,dY){var dZ=d0&&parseFloat(d0.replace(",","."));return(isNaN(dZ)?0:dZ)*dY}function dn(d0,dY){var dZ={milliseconds:0,months:0};dZ.months=dY.month()-d0.month()+(dY.year()-d0.year())*12;if(d0.clone().add(dZ.months,"M").isAfter(dY)){--dZ.months}dZ.milliseconds=+dY-+(d0.clone().add(dZ.months,"M"));return dZ}function aZ(d0,dY){var dZ;dY=E(dY,d0);if(d0.isBefore(dY)){dZ=dn(d0,dY)}else{dZ=dn(dY,d0);dZ.milliseconds=-dZ.milliseconds;dZ.months=-dZ.months}return dZ}function bp(dZ,dY){return function(d3,d2){var d1,d0;if(d2!==null&&!isNaN(+d2)){cl(dY,"moment()."+dY+"(period, number) is deprecated. Please use moment()."+dY+"(number, period).");d0=d3;d3=d2;d2=d0}d3=typeof d3==="string"?+d3:d3;d1=c0(d3,d2);p(this,d1,dZ);return this}}function p(d0,d3,d2,d1){var dZ=d3._milliseconds,d4=d3._days,dY=d3._months;d1=d1==null?true:d1;if(dZ){d0._d.setTime(+d0._d+dZ*d2)}if(d4){P(d0,"Date",at(d0,"Date")+d4*d2)}if(dY){dx(d0,at(d0,"Month")+dY*d2)}if(d1){dc.updateOffset(d0,d4||dY)}}var Z=bp(1,"add");var bS=bp(-1,"subtract");function am(d3,dY){var d0=d3||bX(),dZ=E(d0,this).startOf("day"),d2=this.diff(dZ,"days",true),d1=d2<-6?"sameElse":d2<-1?"lastWeek":d2<0?"lastDay":d2<1?"sameDay":d2<2?"nextDay":d2<7?"nextWeek":"sameElse";return this.format(dY&&dY[d1]||this.localeData().calendar(d1,this,bX(d0)))}function cY(){return new bF(this)}function bO(dZ,dY){var d0;dY=ac(typeof dY!=="undefined"?dY:"millisecond");if(dY==="millisecond"){dZ=bT(dZ)?dZ:bX(dZ);return +this>+dZ}else{d0=bT(dZ)?+dZ:+bX(dZ);return d0<+this.clone().startOf(dY)}}function cd(dZ,dY){var d0;dY=ac(typeof dY!=="undefined"?dY:"millisecond");if(dY==="millisecond"){dZ=bT(dZ)?dZ:bX(dZ);return +this<+dZ}else{d0=bT(dZ)?+dZ:+bX(dZ);return +this.clone().endOf(dY)<d0}}function bN(d0,dZ,dY){return this.isAfter(d0,dY)&&this.isBefore(dZ,dY)}function J(dZ,dY){var d0;dY=ac(dY||"millisecond");if(dY==="millisecond"){dZ=bT(dZ)?dZ:bX(dZ);return +this===+dZ}else{d0=+bX(dZ);return +(this.clone().startOf(dY))<=d0&&d0<=+(this.clone().endOf(dY))}}function cu(d1,d0,dY){var d3=E(d1,this),d2=(d3.utcOffset()-this.utcOffset())*60000,d4,dZ;d0=ac(d0);if(d0==="year"||d0==="month"||d0==="quarter"){dZ=cF(this,d3);if(d0==="quarter"){dZ=dZ/3}else{if(d0==="year"){dZ=dZ/12}}}else{d4=this-d3;dZ=d0==="second"?d4/1000:d0==="minute"?d4/60000:d0==="hour"?d4/3600000:d0==="day"?(d4-d2)/86400000:d0==="week"?(d4-d2)/604800000:d4}return dY?dZ:bD(dZ)}function cF(dZ,dY){var d3=((dY.year()-dZ.year())*12)+(dY.month()-dZ.month()),d0=dZ.clone().add(d3,"months"),d1,d2;if(dY-d0<0){d1=dZ.clone().add(d3-1,"months");d2=(dY-d0)/(d0-d1)}else{d1=dZ.clone().add(d3+1,"months");d2=(dY-d0)/(d1-d0)}return -(d3+d2)}dc.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";function H(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function cx(){var dY=this.clone().utc();if(0<dY.year()&&dY.year()<=9999){if("function"===typeof Date.prototype.toISOString){return this.toDate().toISOString()}else{return i(dY,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]")}}else{return i(dY,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]")}}function l(dZ){var dY=i(this,dZ||dc.defaultFormat);return this.localeData().postformat(dY)}function cT(dZ,dY){if(!this.isValid()){return this.localeData().invalidDate()}return c0({to:this,from:dZ}).locale(this.locale()).humanize(!dY)}function bg(dY){return this.from(bX(),dY)}function aJ(dZ,dY){if(!this.isValid()){return this.localeData().invalidDate()}return c0({from:this,to:dZ}).locale(this.locale()).humanize(!dY)}function aV(dY){return this.to(bX(),dY)}function b2(dZ){var dY;if(dZ===undefined){return this._locale._abbr}else{dY=q(dZ);if(dY!=null){this._locale=dY}return this}}var dd=cK("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(dY){if(dY===undefined){return this.localeData()}else{return this.locale(dY)}});function bM(){return this._locale}function dv(dY){dY=ac(dY);switch(dY){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}if(dY==="week"){this.weekday(0)}if(dY==="isoWeek"){this.isoWeekday(1)}if(dY==="quarter"){this.month(Math.floor(this.month()/3)*3)}return this}function cP(dY){dY=ac(dY);if(dY===undefined||dY==="millisecond"){return this}return this.startOf(dY).add(1,(dY==="isoWeek"?"week":dY)).subtract(1,"ms")}function bK(){return +this._d-((this._offset||0)*60000)}function bL(){return Math.floor(+this/1000)}function aD(){return this._offset?new Date(+this):this._d}function M(){var dY=this;return[dY.year(),dY.month(),dY.date(),dY.hour(),dY.minute(),dY.second(),dY.millisecond()]}function aO(){var dY=this;return{years:dY.year(),months:dY.month(),date:dY.date(),hours:dY.hours(),minutes:dY.minutes(),seconds:dY.seconds(),milliseconds:dY.milliseconds()}}function cz(){return b(this)}function g(){return cH({},cs(this))}function bi(){return cs(this).overflow}a6(0,["gg",2],0,function(){return this.weekYear()%100});a6(0,["GG",2],0,function(){return this.isoWeekYear()%100});function aj(dZ,dY){a6(0,[dZ,dZ.length],0,dY)}aj("gggg","weekYear");aj("ggggg","weekYear");aj("GGGG","isoWeekYear");aj("GGGGG","isoWeekYear");dL("weekYear","gg");dL("isoWeekYear","GG");m("G",dR);m("g",dR);m("GG",cw,dF);m("gg",cw,dF);m("GGGG",cq,dC);m("gggg",cq,dC);m("GGGGG",co,dB);m("ggggg",co,dB);dW(["gggg","ggggg","GGGG","GGGGG"],function(dY,d1,dZ,d0){d1[d0.substr(0,2)]=dQ(dY)});dW(["gg","GG"],function(dY,d1,dZ,d0){d1[d0]=dc.parseTwoDigitYear(dY)});function aq(dY,d0,dZ){return dX(bX([dY,11,31+d0-dZ]),d0,dZ).week}function cM(dY){var dZ=dX(this,this.localeData()._week.dow,this.localeData()._week.doy).year;return dY==null?dZ:this.add((dY-dZ),"y")}function cI(dY){var dZ=dX(this,1,4).year;return dY==null?dZ:this.add((dY-dZ),"y")}function dV(){return aq(this.year(),1,4)}function da(){var dY=this.localeData()._week;return aq(this.year(),dY.dow,dY.doy)}a6("Q",0,0,"quarter");dL("quarter","Q");m("Q",dG);cb("Q",function(dY,dZ){dZ[cB]=(dQ(dY)-1)*3});function bV(dY){return dY==null?Math.ceil((this.month()+1)/3):this.month((dY-1)*3+this.month()%3)}a6("D",["DD",2],"Do","date");dL("date","D");m("D",cw);m("DD",cw,dF);m("Do",function(dZ,dY){return dZ?dY._ordinalParse:dY._ordinalParseLenient});cb(["D","DD"],ci);cb("Do",function(dY,dZ){dZ[ci]=dQ(dY.match(cw)[0],10)});var L=b5("Date",true);a6("d",0,"do","day");a6("dd",0,0,function(dY){return this.localeData().weekdaysMin(this,dY)});a6("ddd",0,0,function(dY){return this.localeData().weekdaysShort(this,dY)});a6("dddd",0,0,function(dY){return this.localeData().weekdays(this,dY)});a6("e",0,0,"weekday");a6("E",0,0,"isoWeekday");dL("day","d");dL("weekday","e");dL("isoWeekday","E");m("d",cw);m("e",cw);m("E",cw);m("dd",D);m("ddd",D);m("dddd",D);dW(["dd","ddd","dddd"],function(dY,d0,dZ){var d1=dZ._locale.weekdaysParse(dY);if(d1!=null){d0.d=d1}else{cs(dZ).invalidWeekday=dY}});dW(["d","e","E"],function(dY,d1,dZ,d0){d1[d0]=dQ(dY)});function c9(dZ,dY){if(typeof dZ!=="string"){return dZ}if(!isNaN(dZ)){return parseInt(dZ,10)}dZ=dY.weekdaysParse(dZ);if(typeof dZ==="number"){return dZ}return null}var ap="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_");function bR(dY){return this._weekdays[dY.day()]}var x="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_");function G(dY){return this._weekdaysShort[dY.day()]}var cX="Su_Mo_Tu_We_Th_Fr_Sa".split("_");function C(dY){return this._weekdaysMin[dY.day()]}function dm(d1){var dY,d0,dZ;this._weekdaysParse=this._weekdaysParse||[];for(dY=0;dY<7;dY++){if(!this._weekdaysParse[dY]){d0=bX([2000,1]).day(dY);dZ="^"+this.weekdays(d0,"")+"|^"+this.weekdaysShort(d0,"")+"|^"+this.weekdaysMin(d0,"");this._weekdaysParse[dY]=new RegExp(dZ.replace(".",""),"i")}if(this._weekdaysParse[dY].test(d1)){return dY}}}function cZ(dZ){var dY=this._isUTC?this._d.getUTCDay():this._d.getDay();if(dZ!=null){dZ=c9(dZ,this.localeData());return this.add(dZ-dY,"d")}else{return dY}}function aQ(dY){var dZ=(this.day()+7-this.localeData()._week.dow)%7;return dY==null?dZ:this.add(dY-dZ,"d")}function by(dY){return dY==null?this.day()||7:this.day(this.day()%7?dY:dY-7)}a6("H",["HH",2],0,"hour");a6("h",["hh",2],0,function(){return this.hours()%12||12});function s(dY,dZ){a6(dY,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),dZ)})}s("a",true);s("A",false);dL("hour","h");function cA(dZ,dY){return dY._meridiemParse}m("a",cA);m("A",cA);m("H",cw);m("h",cw);m("HH",cw,dF);m("hh",cw,dF);cb(["H","HH"],aB);cb(["a","A"],function(dY,d0,dZ){dZ._isPm=dZ._locale.isPM(dY);dZ._meridiem=dY});cb(["h","hh"],function(dY,d0,dZ){d0[aB]=dQ(dY);cs(dZ).bigHour=true});function bm(dY){return((dY+"").toLowerCase().charAt(0)==="p")}var du=/[ap]\.?m?\.?/i;function e(dY,dZ,d0){if(dY>11){return d0?"pm":"PM"}else{return d0?"am":"AM"}}var cQ=b5("Hours",true);a6("m",["mm",2],0,"minute");dL("minute","m");m("m",cw);m("mm",cw,dF);cb(["m","mm"],dl);var dg=b5("Minutes",false);a6("s",["ss",2],0,"second");dL("second","s");m("s",cw);m("ss",cw,dF);cb(["s","ss"],cE);var cr=b5("Seconds",false);a6("S",0,0,function(){return ~~(this.millisecond()/100)});a6(0,["SS",2],0,function(){return ~~(this.millisecond()/10)});a6(0,["SSS",3],0,"millisecond");a6(0,["SSSS",4],0,function(){return this.millisecond()*10});a6(0,["SSSSS",5],0,function(){return this.millisecond()*100});a6(0,["SSSSSS",6],0,function(){return this.millisecond()*1000});a6(0,["SSSSSSS",7],0,function(){return this.millisecond()*10000});a6(0,["SSSSSSSS",8],0,function(){return this.millisecond()*100000});a6(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1000000});dL("millisecond","ms");m("S",ct,dG);m("SS",ct,dF);m("SSS",ct,dD);var bf;for(bf="SSSS";bf.length<=9;bf+="S"){m(bf,aH)}function aG(dY,dZ){dZ[dN]=dQ(("0."+dY)*1000)}for(bf="S";bf.length<=9;bf+="S"){cb(bf,aG)}var au=b5("Milliseconds",false);a6("z",0,0,"zoneAbbr");a6("zz",0,0,"zoneName");function S(){return this._isUTC?"UTC":""}function ca(){return this._isUTC?"Coordinated Universal Time":""}var dT=bF.prototype;dT.add=Z;dT.calendar=am;dT.clone=cY;dT.diff=cu;dT.endOf=cP;dT.format=l;dT.from=cT;dT.fromNow=bg;dT.to=aJ;dT.toNow=aV;dT.get=bt;dT.invalidAt=bi;dT.isAfter=bO;dT.isBefore=cd;dT.isBetween=bN;dT.isSame=J;dT.isValid=cz;dT.lang=dd;dT.locale=b2;dT.localeData=bM;dT.max=dJ;dT.min=aM;dT.parsingFlags=g;dT.set=bt;dT.startOf=dv;dT.subtract=bS;dT.toArray=M;dT.toObject=aO;dT.toDate=aD;dT.toISOString=cx;dT.toJSON=cx;dT.toString=H;dT.unix=bL;dT.valueOf=bK;dT.year=X;dT.isLeapYear=cU;dT.weekYear=cM;dT.isoWeekYear=cI;dT.quarter=dT.quarters=bV;dT.month=r;dT.daysInMonth=aX;dT.week=dT.weeks=bn;dT.isoWeek=dT.isoWeeks=dA;dT.weeksInYear=da;dT.isoWeeksInYear=dV;dT.date=L;dT.day=dT.days=cZ;dT.weekday=aQ;dT.isoWeekday=by;dT.dayOfYear=bQ;dT.hour=dT.hours=cQ;dT.minute=dT.minutes=dg;dT.second=dT.seconds=cr;dT.millisecond=dT.milliseconds=au;dT.utcOffset=ck;dT.utc=h;dT.local=bq;dT.parseZone=bE;dT.hasAlignedHourOffset=cf;dT.isDST=cj;dT.isDSTShifted=c5;dT.isLocal=ba;dT.isUtcOffset=bP;dT.isUtc=a9;dT.isUTC=a9;dT.zoneAbbr=S;dT.zoneName=ca;dT.dates=cK("dates accessor is deprecated. Use date instead.",L);dT.months=cK("months accessor is deprecated. Use month instead",r);dT.years=cK("years accessor is deprecated. Use year instead",X);dT.zone=cK("moment().zone is deprecated, use moment().utcOffset instead. https://github.com/moment/moment/issues/1779",aA);var aU=dT;function bH(dY){return bX(dY*1000)}function a2(){return bX.apply(null,arguments).parseZone()}var aF={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function bx(d0,d1,dZ){var dY=this._calendar[d0];return typeof dY==="function"?dY.call(d1,dZ):dY}var av={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function ce(dY){var dZ=this._longDateFormat[dY],d0=this._longDateFormat[dY.toUpperCase()];if(dZ||!d0){return dZ}this._longDateFormat[dY]=d0.replace(/MMMM|MM|DD|dddd/g,function(d1){return d1.slice(1)});return this._longDateFormat[dY]}var al="Invalid date";function cR(){return this._invalidDate}var bj="%d";var dt=/\d{1,2}/;function az(dY){return this._ordinal.replace("%d",dY)}function w(dY){return dY}var c8={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function di(d1,d0,dZ,d2){var dY=this._relativeTime[dZ];return(typeof dY==="function")?dY(d1,d0,dZ,d2):dY.replace(/%d/i,d1)}function c7(d0,dY){var dZ=this._relativeTime[d0>0?"future":"past"];return typeof dZ==="function"?dZ(dY):dZ.replace(/%s/i,dY)}function dO(dY){var d0,dZ;for(dZ in dY){d0=dY[dZ];if(typeof d0==="function"){this[dZ]=d0}else{this["_"+dZ]=d0}}this._ordinalParseLenient=new RegExp(this._ordinalParse.source+"|"+(/\d{1,2}/).source)}var bs=aK.prototype;bs._calendar=aF;bs.calendar=bx;bs._longDateFormat=av;bs.longDateFormat=ce;bs._invalidDate=al;bs.invalidDate=cR;bs._ordinal=bj;bs.ordinal=az;bs._ordinalParse=dt;bs.preparse=w;bs.postformat=w;bs._relativeTime=c8;bs.relativeTime=di;bs.pastFuture=c7;bs.set=dO;bs.months=cy;bs._months=dU;bs.monthsShort=cN;bs._monthsShort=bA;bs.monthsParse=bJ;bs.week=c3;bs._week=bz;bs.firstDayOfYear=v;bs.firstDayOfWeek=aP;bs.weekdays=bR;bs._weekdays=ap;bs.weekdaysMin=C;bs._weekdaysMin=cX;bs.weekdaysShort=G;bs._weekdaysShort=x;bs.weekdaysParse=dm;bs.isPM=bm;bs._meridiemParse=du;bs.meridiem=e;function bk(d2,dZ,d1,d3){var dY=q();var d0=K().set(d3,dZ);return dY[d1](d0,d2)}function aS(d3,dZ,d2,d1,d4){if(typeof d3==="number"){dZ=d3;d3=undefined}d3=d3||"";if(dZ!=null){return bk(d3,dZ,d2,d4)}var d0;var dY=[];for(d0=0;d0<d1;d0++){dY[d0]=bk(d3,d0,d2,d4)}return dY}function ay(dZ,dY){return aS(dZ,dY,"months",12,"month")}function bC(dZ,dY){return aS(dZ,dY,"monthsShort",12,"month")}function db(dZ,dY){return aS(dZ,dY,"weekdays",7,"day")}function dp(dZ,dY){return aS(dZ,dY,"weekdaysShort",7,"day")}function c2(dZ,dY){return aS(dZ,dY,"weekdaysMin",7,"day")}ds("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(d0){var dY=d0%10,dZ=(dQ(d0%100/10)===1)?"th":(dY===1)?"st":(dY===2)?"nd":(dY===3)?"rd":"th";return d0+dZ}});dc.lang=cK("moment.lang is deprecated. Use moment.locale instead.",ds);dc.langData=cK("moment.langData is deprecated. Use moment.localeData instead.",q);var j=Math.abs;function bG(){var dY=this._data;this._milliseconds=j(this._milliseconds);this._days=j(this._days);this._months=j(this._months);dY.milliseconds=j(dY.milliseconds);dY.seconds=j(dY.seconds);dY.minutes=j(dY.minutes);dY.hours=j(dY.hours);dY.months=j(dY.months);dY.years=j(dY.years);return this}function cS(d2,dZ,d0,d1){var dY=c0(dZ,d0);d2._milliseconds+=d1*dY._milliseconds;d2._days+=d1*dY._days;d2._months+=d1*dY._months;return d2._bubble()}function bU(dY,dZ){return cS(this,dY,dZ,1)}function b7(dY,dZ){return cS(this,dY,dZ,-1)}function dM(dY){if(dY<0){return Math.floor(dY)}else{return Math.ceil(dY)}}function b0(){var d0=this._milliseconds;var d6=this._days;var dY=this._months;var d2=this._data;var d5,d1,d4,d3,dZ;if(!((d0>=0&&d6>=0&&dY>=0)||(d0<=0&&d6<=0&&dY<=0))){d0+=dM(c6(dY)+d6)*86400000;d6=0;dY=0}d2.milliseconds=d0%1000;d5=bD(d0/1000);d2.seconds=d5%60;d1=bD(d5/60);d2.minutes=d1%60;d4=bD(d1/60);d2.hours=d4%24;d6+=bD(d4/24);dZ=bD(d(d6));dY+=dZ;d6-=dM(c6(dZ));d3=bD(dY/12);dY%=12;d2.days=d6;d2.months=dY;d2.years=d3;return this}function d(dY){return dY*4800/146097}function c6(dY){return dY*146097/4800}function df(dZ){var d1;var dY;var d0=this._milliseconds;dZ=ac(dZ);if(dZ==="month"||dZ==="year"){d1=this._days+d0/86400000;dY=this._months+d(d1);return dZ==="month"?dY:dY/12}else{d1=this._days+Math.round(c6(this._months));switch(dZ){case"week":return d1/7+d0/604800000;case"day":return d1+d0/86400000;case"hour":return d1*24+d0/3600000;case"minute":return d1*1440+d0/60000;case"second":return d1*86400+d0/1000;case"millisecond":return Math.floor(d1*86400000)+d0;default:throw new Error("Unknown unit "+dZ)}}}function a1(){return(this._milliseconds+this._days*86400000+(this._months%12)*2592000000+dQ(this._months/12)*31536000000)}function dH(dY){return function(){return this.as(dY)}}var u=dH("ms");var B=dH("s");var a4=dH("m");var F=dH("h");var c1=dH("d");var bl=dH("w");var Y=dH("M");var aT=dH("y");function ai(dY){dY=ac(dY);return this[dY+"s"]()}function cW(dY){return function(){return this._data[dY]}}var c=cW("milliseconds");var ag=cW("seconds");var bd=cW("minutes");var b9=cW("hours");var aa=cW("days");var de=cW("months");var dh=cW("years");function dK(){return bD(this.days()/7)}var W=Math.round;var bh={s:45,m:45,h:22,d:26,M:11};function dy(dZ,d1,d0,d2,dY){return dY.relativeTime(d1||1,!!d0,dZ,d2)}function aw(d2,dZ,d6){var d0=c0(d2).abs();var d7=W(d0.as("s"));var d1=W(d0.as("m"));var d5=W(d0.as("h"));var d8=W(d0.as("d"));var dY=W(d0.as("M"));var d3=W(d0.as("y"));var d4=d7<bh.s&&["s",d7]||d1===1&&["m"]||d1<bh.m&&["mm",d1]||d5===1&&["h"]||d5<bh.h&&["hh",d5]||d8===1&&["d"]||d8<bh.d&&["dd",d8]||dY===1&&["M"]||dY<bh.M&&["MM",dY]||d3===1&&["y"]||["yy",d3];d4[2]=dZ;d4[3]=+d2>0;d4[4]=d6;return dy.apply(null,d4)}function an(dY,dZ){if(bh[dY]===undefined){return false}if(dZ===undefined){return bh[dY]}bh[dY]=dZ;return true}function b4(d0){var dY=this.localeData();var dZ=aw(this,!d0,dY);if(d0){dZ=dY.pastFuture(+this,dZ)}return dY.postformat(dZ)}var cc=Math.abs;function R(){var d8=cc(this._milliseconds)/1000;var d9=cc(this._days);var d0=cc(this._months);var d2,d7,d4;d2=bD(d8/60);d7=bD(d2/60);d8%=60;d2%=60;d4=bD(d0/12);d0%=12;var dZ=d4;var d5=d0;var dY=d9;var d3=d7;var d1=d2;var ea=d8;var d6=this.asSeconds();if(!d6){return"P0D"}return(d6<0?"-":"")+"P"+(dZ?dZ+"Y":"")+(d5?d5+"M":"")+(dY?dY+"D":"")+((d3||d1||ea)?"T":"")+(d3?d3+"H":"")+(d1?d1+"M":"")+(ea?ea+"S":"")}var ae=ah.prototype;ae.abs=bG;ae.add=bU;ae.subtract=b7;ae.as=df;ae.asMilliseconds=u;ae.asSeconds=B;ae.asMinutes=a4;ae.asHours=F;ae.asDays=c1;ae.asWeeks=bl;ae.asMonths=Y;ae.asYears=aT;ae.valueOf=a1;ae._bubble=b0;ae.get=ai;ae.milliseconds=c;ae.seconds=ag;ae.minutes=bd;ae.hours=b9;ae.days=aa;ae.weeks=dK;ae.months=de;ae.years=dh;ae.humanize=b4;ae.toISOString=R;ae.toString=R;ae.toJSON=R;ae.locale=b2;ae.localeData=bM;ae.toIsoString=cK("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",R);ae.lang=dd;a6("X",0,0,"unix");a6("x",0,0,"valueOf");m("x",dR);m("X",U);cb("X",function(dY,d0,dZ){dZ._d=new Date(parseFloat(dY,10)*1000)});cb("x",function(dY,d0,dZ){dZ._d=new Date(dQ(dY))});dc.version="2.10.6";a0(bX);dc.fn=aU;dc.min=cD;dc.max=aY;dc.utc=K;dc.unix=bH;dc.months=ay;dc.isDate=aN;dc.locale=ds;dc.invalid=bY;dc.duration=c0;dc.isMoment=bT;dc.weekdays=db;dc.parseZone=a2;dc.localeData=q;dc.isDuration=N;dc.monthsShort=bC;dc.weekdaysMin=c2;dc.defineLocale=n;dc.weekdaysShort=dp;dc.normalizeUnits=ac;dc.relativeTimeThreshold=an;var cg=dc;return cg}));var LZString={_f:String.fromCharCode,_keyStrBase64:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_keyStrUriSafe:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",_getBaseValue:function(c,b){if(!LZString._baseReverseDic){LZString._baseReverseDic={}}if(!LZString._baseReverseDic[c]){LZString._baseReverseDic[c]={};for(var a=0;a<c.length;a++){LZString._baseReverseDic[c][c[a]]=a}}return LZString._baseReverseDic[c][b]},compressToBase64:function(a){if(a==null){return""}var b=LZString._compress(a,6,function(c){return LZString._keyStrBase64.charAt(c)});switch(b.length%4){default:case 0:return b;case 1:return b+"===";case 2:return b+"==";case 3:return b+"="}},decompressFromBase64:function(a){if(a==null){return""}if(a==""){return null}return LZString._decompress(a.length,32,function(b){return LZString._getBaseValue(LZString._keyStrBase64,a.charAt(b))})},compressToUTF16:function(a){if(a==null){return""}return LZString._compress(a,15,function(b){return String.fromCharCode(b+32)})+" "},decompressFromUTF16:function(a){if(a==null){return""}if(a==""){return null}return LZString._decompress(a.length,16384,function(b){return a.charCodeAt(b)-32})},compressToUint8Array:function(f){var e=LZString.compress(f);var b=new Uint8Array(e.length*2);for(var d=0,c=e.length;d<c;d++){var a=e.charCodeAt(d);b[d*2]=a>>>8;b[d*2+1]=a%256}return b},decompressFromUint8Array:function(e){if(e===null||e===undefined){return LZString.decompress(e)}else{var b=new Array(e.length/2);for(var d=0,c=b.length;d<c;d++){b[d]=e[d*2]*256+e[d*2+1]}var a=[];b.forEach(function(f){a.push(String.fromCharCode(f))});return LZString.decompress(a.join(""))}},compressToEncodedURIComponent:function(a){if(a==null){return""}return LZString._compress(a,6,function(b){return LZString._keyStrUriSafe.charAt(b)})},decompressFromEncodedURIComponent:function(a){if(a==null){return""}if(a==""){return null}a=a.replace(/ /g,"+");return LZString._decompress(a.length,32,function(b){return LZString._getBaseValue(LZString._keyStrUriSafe,a.charAt(b))})},compress:function(a){return LZString._compress(a,16,function(b){return String.fromCharCode(b)})},_compress:function(j,p,e){if(j==null){return""}var q,o,h={},t={},r="",u="",c="",a=2,l=3,n=2,m=[],d=0,b=0,g,s=LZString._f;for(g=0;g<j.length;g+=1){r=j[g];if(!Object.prototype.hasOwnProperty.call(h,r)){h[r]=l++;t[r]=true}u=c+r;if(Object.prototype.hasOwnProperty.call(h,u)){c=u}else{if(Object.prototype.hasOwnProperty.call(t,c)){if(c.charCodeAt(0)<256){for(q=0;q<n;q++){d=(d<<1);if(b==p-1){b=0;m.push(e(d));d=0}else{b++}}o=c.charCodeAt(0);for(q=0;q<8;q++){d=(d<<1)|(o&1);if(b==p-1){b=0;m.push(e(d));d=0}else{b++}o=o>>1}}else{o=1;for(q=0;q<n;q++){d=(d<<1)|o;if(b==p-1){b=0;m.push(e(d));d=0}else{b++}o=0}o=c.charCodeAt(0);for(q=0;q<16;q++){d=(d<<1)|(o&1);if(b==p-1){b=0;m.push(e(d));d=0}else{b++}o=o>>1}}a--;if(a==0){a=Math.pow(2,n);n++}delete t[c]}else{o=h[c];for(q=0;q<n;q++){d=(d<<1)|(o&1);if(b==p-1){b=0;m.push(e(d));d=0}else{b++}o=o>>1}}a--;if(a==0){a=Math.pow(2,n);n++}h[u]=l++;c=String(r)}}if(c!==""){if(Object.prototype.hasOwnProperty.call(t,c)){if(c.charCodeAt(0)<256){for(q=0;q<n;q++){d=(d<<1);if(b==p-1){b=0;m.push(e(d));d=0}else{b++}}o=c.charCodeAt(0);for(q=0;q<8;q++){d=(d<<1)|(o&1);if(b==p-1){b=0;m.push(e(d));d=0}else{b++}o=o>>1}}else{o=1;for(q=0;q<n;q++){d=(d<<1)|o;if(b==p-1){b=0;m.push(e(d));d=0}else{b++}o=0}o=c.charCodeAt(0);for(q=0;q<16;q++){d=(d<<1)|(o&1);if(b==p-1){b=0;m.push(e(d));d=0}else{b++}o=o>>1}}a--;if(a==0){a=Math.pow(2,n);n++}delete t[c]}else{o=h[c];for(q=0;q<n;q++){d=(d<<1)|(o&1);if(b==p-1){b=0;m.push(e(d));d=0}else{b++}o=o>>1}}a--;if(a==0){a=Math.pow(2,n);n++}}o=2;for(q=0;q<n;q++){d=(d<<1)|(o&1);if(b==p-1){b=0;m.push(e(d));d=0}else{b++}o=o>>1}while(true){d=(d<<1);if(b==p-1){m.push(e(d));break}else{b++}}return m.join("")},decompress:function(a){if(a==null){return""}if(a==""){return null}return LZString._decompress(a.length,32768,function(b){return a.charCodeAt(b)})},_decompress:function(d,e,a){var n=[],p,h=4,q=4,o=3,b="",l=[],s,m,r,v,g,j,u,t=LZString._f,x={val:a(0),position:e,index:1};for(s=0;s<3;s+=1){n[s]=s}r=0;g=Math.pow(2,2);j=1;while(j!=g){v=x.val&x.position;x.position>>=1;if(x.position==0){x.position=e;x.val=a(x.index++)}r|=(v>0?1:0)*j;j<<=1}switch(p=r){case 0:r=0;g=Math.pow(2,8);j=1;while(j!=g){v=x.val&x.position;x.position>>=1;if(x.position==0){x.position=e;x.val=a(x.index++)}r|=(v>0?1:0)*j;j<<=1}u=t(r);break;case 1:r=0;g=Math.pow(2,16);j=1;while(j!=g){v=x.val&x.position;x.position>>=1;if(x.position==0){x.position=e;x.val=a(x.index++)}r|=(v>0?1:0)*j;j<<=1}u=t(r);break;case 2:return""}n[3]=u;m=u;l.push(u);while(true){if(x.index>d){return""}r=0;g=Math.pow(2,o);j=1;while(j!=g){v=x.val&x.position;x.position>>=1;if(x.position==0){x.position=e;x.val=a(x.index++)}r|=(v>0?1:0)*j;j<<=1}switch(u=r){case 0:r=0;g=Math.pow(2,8);j=1;while(j!=g){v=x.val&x.position;x.position>>=1;if(x.position==0){x.position=e;x.val=a(x.index++)}r|=(v>0?1:0)*j;j<<=1}n[q++]=t(r);u=q-1;h--;break;case 1:r=0;g=Math.pow(2,16);j=1;while(j!=g){v=x.val&x.position;x.position>>=1;if(x.position==0){x.position=e;x.val=a(x.index++)}r|=(v>0?1:0)*j;j<<=1}n[q++]=t(r);u=q-1;h--;break;case 2:return l.join("")}if(h==0){h=Math.pow(2,o);o++}if(n[u]){b=n[u]}else{if(u===q){b=m+m[0]}else{return null}}l.push(b);n[q++]=m+b[0];h--;m=b;if(h==0){h=Math.pow(2,o);o++}}}};if(typeof module!=="undefined"&&module!=null){module.exports=LZString};