MooTools.More={version:"1.3.2.1",build:"e586bcd2496e9b22acfde32e12f84d49ce09e59d"},Events.Pseudos=function(a,b,c){var d="monitorEvents:",e=function(a){return{store:a.store?function(b,c){a.store(d+b,c)}:function(b,c){(a.$monitorEvents||(a.$monitorEvents={}))[b]=c},retrieve:a.retrieve?function(b,c){return a.retrieve(d+b,c)}:function(b,c){if(!a.$monitorEvents)return c;return a.$monitorEvents[b]||c}}},f=function(b){if(b.indexOf(":")==-1||!a)return null;var c=Slick.parse(b).expressions[0][0],d=c.pseudos,e=d.length,f=[];while(e--)a[d[e].key]&&f.push({event:c.tag,value:d[e].value,pseudo:d[e].key,original:b});return f.length?f:null},g=function(b){return Object.merge.apply(this,b.map(function(b){return a[b.pseudo].options||{}}))};return{addEvent:function(c,d,h){var i=f(c);if(!i)return b.call(this,c,d,h);var j=e(this),k=j.retrieve(c,[]),l=i[0].event,m=g(i),n=d,o=m[l]||{},p=Array.slice(arguments,2),q=this,r;o.args&&p.append(Array.from(o.args)),o.base&&(l=o.base),o.onAdd&&o.onAdd(this),i.each(function(b){var c=n;n=function(){(o.listener||a[b.pseudo].listener).call(q,b,c,arguments,r,m)}}),r=n.bind(this),k.include({event:d,monitor:r}),j.store(c,k),b.apply(this,[c,d].concat(p));return b.apply(this,[l,r].concat(p))},removeEvent:function(a,b){var d=f(a);if(!d)return c.call(this,a,b);var h=e(this),i=h.retrieve(a);if(!i)return this;var j=d[0].event,k=g(d),l=k[j]||{},m=Array.slice(arguments,2);l.args&&m.append(Array.from(l.args)),l.base&&(j=l.base),l.onRemove&&l.onRemove(this),c.apply(this,[a,b].concat(m)),i.each(function(a,d){(!b||a.event==b)&&c.apply(this,[j,a.monitor].concat(m)),delete i[d]},this),h.store(a,i);return this}}},function(){var a={once:{listener:function(a,b,c,d){b.apply(this,c),this.removeEvent(a.event,d).removeEvent(a.original,b)}},throttle:{listener:function(a,b,c){b._throttled||(b.apply(this,c),b._throttled=setTimeout(function(){b._throttled=!1},a.value||250))}},pause:{listener:function(a,b,c){clearTimeout(b._pause),b._pause=b.delay(a.value||250,this,c)}}};Events.definePseudo=function(b,c){a[b]=Type.isFunction(c)?{listener:c}:c;return this},Events.lookupPseudo=function(b){return a[b]};var b=Events.prototype;Events.implement(Events.Pseudos(a,b.addEvent,b.removeEvent)),["Request","Fx"].each(function(a){this[a]&&this[a].implement(Events.prototype)})}(),Class.refactor=function(a,b){Object.each(b,function(b,c){var d=a.prototype[c];d=d&&d.$origin||d||function(){},a.implement(c,typeof b=="function"?function(){var a=this.previous;this.previous=d;var c=b.apply(this,arguments);this.previous=a;return c}:b)});return a},Class.Mutators.Binds=function(a){this.prototype.initialize||this.implement("initialize",function(){});return Array.from(a).concat(this.prototype.Binds||[])},Class.Mutators.initialize=function(a){return function(){Array.from(this.Binds).each(function(a){var b=this[a];b&&(this[a]=b.bind(this))},this);return a.apply(this,arguments)}},Class.Occlude=new Class({occlude:function(a,b){b=document.id(b||this.element);var c=b.retrieve(a||this.property);if(c&&!this.occluded)return this.occluded=c;this.occluded=!1,b.store(a||this.property,this);return this.occluded}}),function(){var a={wait:function(a){return this.chain(function(){this.callChain.delay(a==null?500:a,this);return this}.bind(this))}};Chain.implement(a),this.Fx&&Fx.implement(a),this.Element&&Element.implement&&this.Fx&&Element.implement({chains:function(a){Array.from(a||["tween","morph","reveal"]).each(function(a){a=this.get(a);!a||a.setOptions({link:"chain"})},this);return this},pauseFx:function(a,b){this.chains(b).get(b||"tween").wait(a);return this}})}(),function(a){Array.implement({min:function(){return Math.min.apply(null,this)},max:function(){return Math.max.apply(null,this)},average:function(){return this.length?this.sum()/this.length:0},sum:function(){var a=0,b=this.length;if(b)while(b--)a+=this[b];return a},unique:function(){return[].combine(this)},shuffle:function(){for(var a=this.length;a&&--a;){var b=this[a],c=Math.floor(Math.random()*(a+1));this[a]=this[c],this[c]=b}return this},reduce:function(b,c){for(var d=0,e=this.length;d3&&a<21?"th":["th","st","nd","rd","th"][Math.min(a%10,4)]},lessThanMinuteAgo:"less than a minute ago",minuteAgo:"about a minute ago",minutesAgo:"{delta} minutes ago",hourAgo:"about an hour ago",hoursAgo:"about {delta} hours ago",dayAgo:"1 day ago",daysAgo:"{delta} days ago",weekAgo:"1 week ago",weeksAgo:"{delta} weeks ago",monthAgo:"1 month ago",monthsAgo:"{delta} months ago",yearAgo:"1 year ago",yearsAgo:"{delta} years ago",lessThanMinuteUntil:"less than a minute from now",minuteUntil:"about a minute from now",minutesUntil:"{delta} minutes from now",hourUntil:"about an hour from now",hoursUntil:"about {delta} hours from now",dayUntil:"1 day from now",daysUntil:"{delta} days from now",weekUntil:"1 week from now",weeksUntil:"{delta} weeks from now",monthUntil:"1 month from now",monthsUntil:"{delta} months from now",yearUntil:"1 year from now",yearsUntil:"{delta} years from now"}),function(){var a=this.Date,b=a.Methods={ms:"Milliseconds",year:"FullYear",min:"Minutes",mo:"Month",sec:"Seconds",hr:"Hours"};["Date","Day","FullYear","Hours","Milliseconds","Minutes","Month","Seconds","Time","TimezoneOffset","Week","Timezone","GMTOffset","DayOfYear","LastMonth","LastDayOfMonth","UTCDate","UTCDay","UTCFullYear","AMPM","Ordinal","UTCHours","UTCMilliseconds","UTCMinutes","UTCMonth","UTCSeconds","UTCMilliseconds"].each(function(b){a.Methods[b.toLowerCase()]=b});var c=function(a,b,d){if(b==1)return a;return a28)return 1;g==0&&h<-2&&(c=(new a(c)).decrement("day",d),d=0),f=(new a(c.get("year"),0,1)).get("day")||7,f>4&&(e=-7)}else f=(new a(c.get("year"),0,1)).get("day");e+=c.get("dayofyear"),e+=6-d,e+=(7+f-b)%7;return e/7},getOrdinal:function(b){return a.getMsg("ordinal",b||this.get("date"))},getTimezone:function(){return this.toString().replace(/^.*? ([A-Z]{3}).[0-9]{4}.*$/,"$1").replace(/^.*?\(([A-Z])[a-z]+ ([A-Z])[a-z]+ ([A-Z])[a-z]+\)$/,"$1$2$3")},getGMTOffset:function(){var a=this.get("timezoneOffset");return(a>0?"-":"+")+c((a.abs()/60).floor(),2)+c(a%60,2)},setAMPM:function(a){a=a.toUpperCase();var b=this.get("hr");if(b>11&&a=="AM")return this.decrement("hour",12);if(b<12&&a=="PM")return this.increment("hour",12);return this},getAMPM:function(){return this.get("hr")<12?"AM":"PM"},parse:function(b){this.set("time",a.parse(b));return this},isValid:function(a){return!isNaN((a||this).valueOf())},format:function(b){if(!this.isValid())return"invalid date";b||(b="%x %X");var e=b.toLowerCase();if(g[e])return g[e](this);b=d[e]||b;var f=this;return b.replace(/%([a-z%])/gi,function(b,d){switch(d){case"a":return a.getMsg("days_abbr")[f.get("day")];case"A":return a.getMsg("days")[f.get("day")];case"b":return a.getMsg("months_abbr")[f.get("month")];case"B":return a.getMsg("months")[f.get("month")];case"c":return f.format("%a %b %d %H:%M:%S %Y");case"d":return c(f.get("date"),2);case"e":return c(f.get("date"),2," ");case"H":return c(f.get("hr"),2);case"I":return c(f.get("hr")%12||12,2);case"j":return c(f.get("dayofyear"),3);case"k":return c(f.get("hr"),2," ");case"l":return c(f.get("hr")%12||12,2," ");case"L":return c(f.get("ms"),3);case"m":return c(f.get("mo")+1,2);case"M":return c(f.get("min"),2);case"o":return f.get("ordinal");case"p":return a.getMsg(f.get("ampm"));case"s":return Math.round(f/1e3);case"S":return c(f.get("seconds"),2);case"T":return f.format("%H:%M:%S");case"U":return c(f.get("week"),2);case"w":return f.get("day");case"x":return f.format(a.getMsg("shortDate"));case"X":return f.format(a.getMsg("shortTime"));case"y":return f.get("year").toString().substr(2);case"Y":return f.get("year");case"z":return f.get("GMTOffset");case"Z":return f.get("Timezone")}return d})},toISOString:function(){return this.format("iso8601")}}).alias({toJSON:"toISOString",compare:"diff",strftime:"format"});var d={db:"%Y-%m-%d %H:%M:%S",compact:"%Y%m%dT%H%M%S","short":"%d %b %H:%M","long":"%B %d, %Y %H:%M"},e=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],f=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],g={rfc822:function(a){return e[a.get("day")]+a.format(", %d ")+f[a.get("month")]+a.format(" %Y %H:%M:%S %Z")},rfc2822:function(a){return e[a.get("day")]+a.format(", %d ")+f[a.get("month")]+a.format(" %Y %H:%M:%S %z")},iso8601:function(a){return a.getUTCFullYear()+"-"+c(a.getUTCMonth()+1,2)+"-"+c(a.getUTCDate(),2)+"T"+c(a.getUTCHours(),2)+":"+c(a.getUTCMinutes(),2)+":"+c(a.getUTCSeconds(),2)+"."+c(a.getUTCMilliseconds(),3)+"Z"}},h=[],i=a.parse,j=function(b,c,d){var e=-1,f=a.getMsg(b+"s");switch(typeOf(c)){case"object":e=f[c.get(b)];break;case"number":e=f[c];if(!e)throw new Error("Invalid "+b+" index: "+c);break;case"string":var g=f.filter(function(a){return this.test(a)},new RegExp("^"+c,"i"));if(!g.length)throw new Error("Invalid "+b+" string");if(g.length>1)throw new Error("Ambiguous "+b);e=g[0]}return d?f.indexOf(e):e},k=1900,l=70;a.extend({getMsg:function(a,b){return Locale.get("Date."+a,b)},units:{ms:Function.from(1),second:Function.from(1e3),minute:Function.from(6e4),hour:Function.from(36e5),day:Function.from(864e5),week:Function.from(6084e5),month:function(b,c){var d=new a;return a.daysInMonth(b!=null?b:d.get("mo"),c!=null?c:d.get("year"))*864e5},year:function(b){b=b||(new a).get("year");return a.isLeapYear(b)?316224e5:31536e6}},daysInMonth:function(b,c){return[31,a.isLeapYear(c)?29:28,31,30,31,30,31,31,30,31,30,31][b]},isLeapYear:function(a){return a%4===0&&a%100!==0||a%400===0},parse:function(b){var c=typeOf(b);if(c=="number")return new a(b);if(c!="string")return b;b=b.clean();if(!b.length)return null;var d;h.some(function(a){var c=a.re.exec(b);return c?d=a.handler(c):!1});if(!d||!d.isValid()){d=new a(i(b));if(!d||!d.isValid())d=new a(b.toInt())}return d},parseDay:function(a,b){return j("day",a,b)},parseMonth:function(a,b){return j("month",a,b)},parseUTC:function(b){var c=new a(b),d=a.UTC(c.get("year"),c.get("mo"),c.get("date"),c.get("hr"),c.get("min"),c.get("sec"),c.get("ms"));return new a(d)},orderIndex:function(b){return a.getMsg("dateOrder").indexOf(b)+1},defineFormat:function(a,b){d[a]=b;return this},defineFormats:function(b){for(var c in b)a.defineFormat(c,b[c]);return this},parsePatterns:h,defineParser:function(a){h.push(a.re&&a.handler?a:r(a));return this},defineParsers:function(){Array.flatten(arguments).each(a.defineParser);return this},define2DigitYearStart:function(a){l=a%100,k=a-l;return this}});var m=function(b){return new RegExp("(?:"+a.getMsg(b).map(function(a){return a.substr(0,3)}).join("|")+")[a-z]*")},n=function(b){switch(b){case"T":return"%H:%M:%S";case"x":return(a.orderIndex("month")==1?"%m[-./]%d":"%d[-./]%m")+"([-./]%y)?";case"X":return"%H([.:]%M)?([.:]%S([.:]%s)?)? ?%p? ?%z?"}return null},o={d:/[0-2]?[0-9]|3[01]/,H:/[01]?[0-9]|2[0-3]/,I:/0?[1-9]|1[0-2]/,M:/[0-5]?\d/,s:/\d+/,o:/[a-z]*/,p:/[ap]\.?m\.?/,y:/\d{2}|\d{4}/,Y:/\d{4}/,z:/Z|[+-]\d{2}(?::?\d{2})?/};o.m=o.I,o.S=o.M;var p,q=function(a){p=a,o.a=o.A=m("days"),o.b=o.B=m("months"),h.each(function(a,b){a.format&&(h[b]=r(a.format))})},r=function(b){if(!p)return{format:b};var c=[],d=(b.source||b).replace(/%([a-z])/gi,function(a,b){return n(b)||a}).replace(/\((?!\?)/g,"(?:").replace(/ (?!\?|\*)/g,",? ").replace(/%([a-z%])/gi,function(a,b){var d=o[b];if(!d)return b;c.push(b);return"("+d.source+")"}).replace(/\[a-z\]/gi,"[a-z\\u00c0-\\uffff;&]");return{format:b,re:new RegExp("^"+d+"$","i"),handler:function(b){b=b.slice(1).associate(c);var d=(new a).clearTime(),e=b.y||b.Y;e!=null&&s.call(d,"y",e),"d"in b&&s.call(d,"d",1),("m"in b||b.b||b.B)&&s.call(d,"m",1);for(var f in b)s.call(d,f,b[f]);return d}}},s=function(b,c){if(!c)return this;switch(b){case"a":case"A":return this.set("day",a.parseDay(c,!0));case"b":case"B":return this.set("mo",a.parseMonth(c,!0));case"d":return this.set("date",c);case"H":case"I":return this.set("hr",c);case"m":return this.set("mo",c-1);case"M":return this.set("min",c);case"p":return this.set("ampm",c.replace(/\./g,""));case"S":return this.set("sec",c);case"s":return this.set("ms",("0."+c)*1e3);case"w":return this.set("day",c);case"Y":return this.set("year",c);case"y":c=+c,c<100&&(c+=k+(c.75*f&&(d=e);break}a/=f,d=e+"s"}a=a.round();return Date.getMsg(d+b,a).substitute({delta:a})}}).defineParsers({re:/^(?:tod|tom|yes)/i,handler:function(a){var b=(new Date).clearTime();switch(a[0]){case"tom":return b.increment();case"yes":return b.decrement();default:return b}}},{re:/^(next|last) ([a-z]+)$/i,handler:function(a){var b=(new Date).clearTime(),c=b.getDay(),d=Date.parseDay(a[2],!0),e=d-c;d<=c&&(e+=7),a[1]=="last"&&(e-=7);return b.set("date",b.getDate()+e)}}).alias("timeAgoInWords","timeDiffInWords"),Locale.define("en-US","Number",{decimal:".",group:",",currency:{prefix:"$ "}}),Number.implement({format:function(a){var b=this;a=a?Object.clone(a):{};var c=function(b){if(a[b]!=null)return a[b];return Locale.get("Number."+b)},d=b<0,e=c("decimal"),f=c("precision"),g=c("group"),h=c("decimals");if(d){var i=c("negative")||{};i.prefix==null&&i.suffix==null&&(i.prefix="-"),["prefix","suffix"].each(function(b){i[b]&&(a[b]=c(b)+i[b])}),b=-b}var j=c("prefix"),k=c("suffix");h!==""&&h>=0&&h<=20&&(b=b.toFixed(h)),f>=1&&f<=21&&(b=(+b).toPrecision(f)),b+="";var l;if(c("scientific")===!1&&b.indexOf("e")>-1){var m=b.split("e"),n=+m[1];b=m[0].replace(".","");if(n<0){n=-n-1,l=m[0].indexOf("."),l>-1&&(n-=l-1);while(n--)b="0"+b;b="0."+b}else{l=m[0].lastIndexOf("."),l>-1&&(n-=m[0].length-l-1);while(n--)b+="0"}}e!="."&&(b=b.replace(".",e));if(g){l=b.lastIndexOf(e),l=l>-1?l:b.length;var o=b.substring(l),p=l;while(p--)(l-p-1)%3==0&&p!=l-1&&(o=g+o),o=b.charAt(p)+o;b=o}j&&(b=j+b),k&&(b+=k);return b},formatCurrency:function(){var a=Locale.get("Number.currency")||{};a.scientific==null&&(a.scientific=!1),a.decimals==null&&(a.decimals=2);return this.format(a)},formatPercentage:function(){var a=Locale.get("Number.percentage")||{};a.suffix==null&&(a.suffix="%"),a.decimals==null&&(a.decimals=2);return this.format(a)}}),function(){var a={a:/[àáâãäåăą]/g,A:/[ÀÁÂÃÄÅĂĄ]/g,c:/[ćčç]/g,C:/[ĆČÇ]/g,d:/[ďđ]/g,D:/[ĎÐ]/g,e:/[èéêëěę]/g,E:/[ÈÉÊËĚĘ]/g,g:/[ğ]/g,G:/[Ğ]/g,i:/[ìíîï]/g,I:/[ÌÍÎÏ]/g,l:/[ĺľł]/g,L:/[ĹĽŁ]/g,n:/[ñňń]/g,N:/[ÑŇŃ]/g,o:/[òóôõöøő]/g,O:/[ÒÓÔÕÖØ]/g,r:/[řŕ]/g,R:/[ŘŔ]/g,s:/[ššş]/g,S:/[ŠŞŚ]/g,t:/[ťţ]/g,T:/[ŤŢ]/g,ue:/[ü]/g,UE:/[Ü]/g,u:/[ùúûůµ]/g,U:/[ÙÚÛŮ]/g,y:/[ÿý]/g,Y:/[ŸÝ]/g,z:/[žźż]/g,Z:/[ŽŹŻ]/g,th:/[þ]/g,TH:/[Þ]/g,dh:/[ð]/g,DH:/[Ð]/g,ss:/[ß]/g,oe:/[œ]/g,OE:/[Œ]/g,ae:/[æ]/g,AE:/[Æ]/g},b={" ":/[\xa0\u2002\u2003\u2009]/g,"*":/[\xb7]/g,"'":/[\u2018\u2019]/g,'"':/[\u201c\u201d]/g,"...":/[\u2026]/g,"-":/[\u2013]/g,"»":/[\uFFFD]/g},c=function(a,b){var c=a,d;for(d in b)c=c.replace(b[d],d);return c},d=function(a,b){a=a||"";var c=b?"<"+a+"(?!\\w)[^>]*>([\\s\\S]*?)":"]+)?>",d=new RegExp(c,"gi");return d};String.implement({standardize:function(){return c(this,a)},repeat:function(a){return Array(a+1).join(this)},pad:function(a,b,c){if(this.length>=a)return this;var d=(b==null?" ":""+b).repeat(a-this.length).substr(0,a-this.length);if(!c||c=="right")return this+d;if(c=="left")return d+this;return d.substr(0,(d.length/2).floor())+this+d.substr(0,(d.length/2).ceil())},getTags:function(a,b){return this.match(d(a,b))||[]},stripTags:function(a,b){return this.replace(d(a,b),"")},tidy:function(){return c(this,b)},truncate:function(a,b,c){var d=this;b==null&&arguments.length==1&&(b="…");if(d.length>a){d=d.substring(0,a);if(c){var e=d.lastIndexOf(c);e!=-1&&(d=d.substr(0,e))}b&&(d+=b)}return d}})}(),String.implement({parseQueryString:function(a,b){a==null&&(a=!0),b==null&&(b=!0);var c=this.split(/[&;]/),d={};if(!c.length)return d;c.each(function(c){var e=c.indexOf("=")+1,f=e?c.substr(e):"",g=e?c.substr(0,e-1).match(/([^\]\[]+|(\B)(?=\]))/g):[c],h=d;!g||(b&&(f=decodeURIComponent(f)),g.each(function(b,c){a&&(b=decodeURIComponent(b));var d=h[b];c0?d.pop():a!="."&&d.push(a)});return d.join("/")+"/"},combine:function(a){return a.value||a.scheme+"://"+(a.user?a.user+(a.password?":"+a.password:"")+"@":"")+(a.host||"")+(a.port&&a.port!=this.schemes[a.scheme]?":"+a.port:"")+(a.directory||"/")+(a.file||"")+(a.query?"?"+a.query:"")+(a.fragment?"#"+a.fragment:"")},set:function(a,c,d){if(a=="value"){var e=c.match(b.regs.scheme);e&&(e=e[1]),e&&this.schemes[e.toLowerCase()]==null?this.parsed={scheme:e,value:c}:this.parsed=this.parse(c,(d||this).parsed)||(e?{scheme:e,value:c}:{value:c})}else a=="data"?this.setData(c):this.parsed[a]=c;return this},get:function(a,b){switch(a){case"value":return this.combine(this.parsed,b?b.parsed:!1);case"data":return this.getData()}return this.parsed[a]||""},go:function(){document.location.href=this.toString()},toURI:function(){return this},getData:function(a,b){var c=this.get(b||"query");if(!c&&c!==0)return a?null:{};var d=c.parseQueryString();return a?d[a]:d},setData:function(a,b,c){if(typeof a=="string"){var d=this.getData();d[arguments[0]]=arguments[1],a=d}else b&&(a=Object.merge(this.getData(),a));return this.set(c||"query",Object.toQueryString(a))},clearData:function(a){return this.set(a||"query","")},toString:a,valueOf:a});b.regs={endSlash:/\/$/,scheme:/^(\w+):/,directoryDot:/\.\/|\.$/},b.base=new b(Array.from(document.getElements("base[href]",!0)).getLast(),{base:document.location}),String.implement({toURI:function(a){return new b(this,a)}})}(),URI=Class.refactor(URI,{combine:function(a,b){if(!b||a.scheme!=b.scheme||a.host!=b.host||a.port!=b.port)return this.previous.apply(this,arguments);var c=a.file+(a.query?"?"+a.query:"")+(a.fragment?"#"+a.fragment:"");if(!b.directory)return(a.directory||(a.file?"":"./"))+c;var d=b.directory.split("/"),e=a.directory.split("/"),f="",g,h=0;for(g=0;g=0||f.parentPositioned||c.allowNegative?d.x:0).toInt(),d.top=(d.y>=0||f.parentPositioned||c.allowNegative?d.y:0).toInt(),b.toMinMax(d,c),(c.relFixedPosition||e.getStyle("position")=="fixed")&&b.toRelFixedPosition(e,d),c.ignoreScroll&&b.toIgnoreScroll(e,d),c.ignoreMargins&&b.toIgnoreMargins(d,c),d.left=Math.ceil(d.left),d.top=Math.ceil(d.top),delete d.x,delete d.y;return d},setPositionCoordinates:function(a,b,c){var d=a.offset.y,e=a.offset.x,f=c==document.body?window.getScroll():c.getPosition(),g=f.y,h=f.x,i=window.getSize();switch(a.position.x){case"left":b.x=h+e;break;case"right":b.x=h+e+c.offsetWidth;break;default:b.x=h+(c==document.body?i.x:c.offsetWidth)/2+e}switch(a.position.y){case"top":b.y=g+d;break;case"bottom":b.y=g+d+c.offsetHeight;break;default:b.y=g+(c==document.body?i.y:c.offsetHeight)/2+d}},toMinMax:function(a,b){var c={left:"x",top:"y"},d;["minimum","maximum"].each(function(e){["left","top"].each(function(f){d=b[e]?b[e][c[f]]:null,d!=null&&(e=="minimum"?a[f]d)&&(a[f]=d)})})},toRelFixedPosition:function(a,b){var c=window.getScroll();b.top+=c.y,b.left+=c.x},toIgnoreScroll:function(a,b){var c=a.getScroll();b.top-=c.y,b.left-=c.x},toIgnoreMargins:function(a,b){a.left+=b.edge.x=="right"?b.dimensions["margin-right"]:b.edge.x!="center"?-b.dimensions["margin-left"]:-b.dimensions["margin-left"]+(b.dimensions["margin-right"]+b.dimensions["margin-left"])/2,a.top+=b.edge.y=="bottom"?b.dimensions["margin-bottom"]:b.edge.y!="center"?-b.dimensions["margin-top"]:-b.dimensions["margin-top"]+(b.dimensions["margin-bottom"]+b.dimensions["margin-top"])/2},toEdge:function(a,b){var c={},d=b.dimensions,e=b.edge;switch(e.x){case"left":c.x=0;break;case"right":c.x=-d.x-d.computedRight-d.computedLeft;break;default:c.x=-Math.round(d.totalWidth/2)}switch(e.y){case"top":c.y=0;break;case"bottom":c.y=-d.y-d.computedTop-d.computedBottom;break;default:c.y=-Math.round(d.totalHeight/2)}a.x+=c.x,a.y+=c.y},getCoordinateFromValue:function(a){if(typeOf(a)!="string")return a;a=a.toLowerCase();return{x:a.test("left")?"left":a.test("right")?"right":"center",y:a.test(/upper|top/)?"top":a.test("bottom")?"bottom":"center"}}};Element.implement({position:function(b){if(b&&(b.x!=null||b.y!=null))return a?a.apply(this,arguments):this;var c=this.setStyle("position","absolute").calculatePosition(b);return b&&b.returnPos?c:this.setStyles(c)},calculatePosition:function(a){return b.getPosition(this,a)}})}(Element.prototype.position),Element.implement({isDisplayed:function(){return this.getStyle("display")!="none"},isVisible:function(){var a=this.offsetWidth,b=this.offsetHeight;return a==0&&b==0?!1:a>0&&b>0?!0:this.style.display!="none"},toggle:function(){return this[this.isDisplayed()?"hide":"show"]()},hide:function(){var a;try{a=this.getStyle("display")}catch(b){}if(a=="none")return this;return this.store("element:_originalDisplay",a||"").setStyle("display","none")},show:function(a){if(!a&&this.isDisplayed())return this;a=a||this.retrieve("element:_originalDisplay")||"block";return this.setStyle("display",a=="none"?"block":a)},swapClass:function(a,b){return this.removeClass(a).addClass(b)}}),Document.implement({clearSelection:function(){if(window.getSelection){var a=window.getSelection();a&&a.removeAllRanges&&a.removeAllRanges()}else if(document.selection&&document.selection.empty)try{document.selection.empty()}catch(b){}}});var IframeShim=new Class({Implements:[Options,Events,Class.Occlude],options:{className:"iframeShim",src:'javascript:false;document.write("");',display:!1,zIndex:null,margin:0,offset:{x:0,y:0},browsers:Browser.ie6||Browser.firefox&&Browser.version<3&&Browser.Platform.mac},property:"IframeShim",initialize:function(a,b){this.element=document.id(a);if(this.occlude())return this.occluded;this.setOptions(b),this.makeShim();return this},makeShim:function(){if(this.options.browsers){var a=this.element.getStyle("zIndex").toInt();if(!a){a=1;var b=this.element.getStyle("position");(b=="static"||!b)&&this.element.setStyle("position","relative"),this.element.setStyle("zIndex",a)}a=(this.options.zIndex!=null||this.options.zIndex===0)&&a>this.options.zIndex?this.options.zIndex:a-1,a<0&&(a=1),this.shim=(new Element("iframe",{src:this.options.src,scrolling:"no",frameborder:0,styles:{zIndex:a,position:"absolute",border:"none",filter:"progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=0)"},"class":this.options.className})).store("IframeShim",this);var c=function(){this.shim.inject(this.element,"after"),this[this.options.display?"show":"hide"](),this.fireEvent("inject")}.bind(this);IframeShim.ready?c():window.addEvent("load",c)}else this.position=this.hide=this.show=this.dispose=Function.from(this)},position:function(){if(!IframeShim.ready||!this.shim)return this;var a=this.element.measure(function(){return this.getSize()});this.options.margin!=undefined&&(a.x=a.x-this.options.margin*2,a.y=a.y-this.options.margin*2,this.options.offset.x+=this.options.margin,this.options.offset.y+=this.options.margin),this.shim.set({width:a.x,height:a.y}).position({relativeTo:this.element,offset:this.options.offset});return this},hide:function(){this.shim&&this.shim.setStyle("display","none");return this},show:function(){this.shim&&this.shim.setStyle("display","block");return this.position()},dispose:function(){this.shim&&this.shim.dispose();return this},destroy:function(){this.shim&&this.shim.destroy();return this}});window.addEvent("load",function(){IframeShim.ready=!0});var Mask=new Class({Implements:[Options,Events],Binds:["position"],options:{style:{},"class":"mask",maskMargins:!1,useIframeShim:!0,iframeShimOptions:{}},initialize:function(a,b){this.target=document.id(a)||document.id(document.body),this.target.store("mask",this),this.setOptions(b),this.render(),this.inject()},render:function(){this.element=new Element("div",{"class":this.options["class"],id:this.options.id||"mask-"+String.uniqueID(),styles:Object.merge({},this.options.style,{display:"none"}),events:{click:function(a){this.fireEvent("click",a),this.options.hideOnClick&&this.hide()}.bind(this)}}),this.hidden=!0},toElement:function(){return this.element},inject:function(a,b){b=b||(this.options.inject?this.options.inject.where:"")||this.target==document.body?"inside":"after",a=a||this.options.inject&&this.options.inject.target||this.target,this.element.inject(a,b),this.options.useIframeShim&&(this.shim=new IframeShim(this.element,this.options.iframeShimOptions),this.addEvents({show:this.shim.show.bind(this.shim),hide:this.shim.hide.bind(this.shim),destroy:this.shim.destroy.bind(this.shim)}))},position:function(){this.resize(this.options.width,this.options.height),this.element.position({relativeTo:this.target,position:"topLeft",ignoreMargins:!this.options.maskMargins,ignoreScroll:this.target==document.body});return this},resize:function(a,b){var c={styles:["padding","border"]};this.options.maskMargins&&c.styles.push("margin");var d=this.target.getComputedSize(c);if(this.target==document.body){this.element.setStyles({width:0,height:0});var e=window.getScrollSize();d.totalHeight=0&&a.options[a.selectedIndex].value!=""):a.get("value")==null||a.get("value").length==0}}),Form.Validator.addAllThese([["required",{errorMsg:function(){return Form.Validator.getMsg("required")},test:function(a){return!Form.Validator.getValidator("IsEmpty").test(a)}}],["minLength",{errorMsg:function(a,b){return typeOf(b.minLength)!="null"?Form.Validator.getMsg("minLength").substitute({minLength:b.minLength,length:a.get("value").length}):""},test:function(a,b){return typeOf(b.minLength)!="null"?a.get("value").length>=(b.minLength||0):!0}}],["maxLength",{errorMsg:function(a,b){return typeOf(b.maxLength)!="null"?Form.Validator.getMsg("maxLength").substitute({maxLength:b.maxLength,length:a.get("value").length}):""},test:function(a,b){return a.get("value").length<=(b.maxLength||1e4)}}],["validate-integer",{errorMsg:Form.Validator.getMsg.pass("integer"),test:function(a){return Form.Validator.getValidator("IsEmpty").test(a)||/^(-?[1-9]\d*|0)$/.test(a.get("value"))}}],["validate-numeric",{errorMsg:Form.Validator.getMsg.pass("numeric"),test:function(a){return Form.Validator.getValidator("IsEmpty").test(a)||/^-?(?:0$0(?=\d*\.)|[1-9]|0)\d*(\.\d+)?$/.test(a.get("value"))}}],["validate-digits",{errorMsg:Form.Validator.getMsg.pass("digits"),test:function(a){return Form.Validator.getValidator("IsEmpty").test(a)||/^[\d() .:\-\+#]+$/.test(a.get("value"))}}],["validate-alpha",{errorMsg:Form.Validator.getMsg.pass("alpha"),test:function(a){return Form.Validator.getValidator("IsEmpty").test(a)||/^[a-zA-Z]+$/.test(a.get("value"))}}],["validate-alphanum",{errorMsg:Form.Validator.getMsg.pass("alphanum"),test:function(a){return Form.Validator.getValidator("IsEmpty").test(a)||!/\W/.test(a.get("value"))}}],["validate-date",{errorMsg:function(a,b){if(Date.parse){var c=b.dateFormat||"%x";return Form.Validator.getMsg("dateSuchAs").substitute({date:(new Date).format(c)})}return Form.Validator.getMsg("dateInFormatMDY")},test:function(a,b){if(Form.Validator.getValidator ("IsEmpty").test(a))return!0;var c=Locale.getCurrent().sets.Date,d=new RegExp([c.days,c.days_abbr,c.months,c.months_abbr].flatten().join("|"),"i"),e=a.get("value"),f=e.match(/[a-z]+/gi);if(f&&!f.every(d.exec,d))return!1;var g=Date.parse(e),h=b.dateFormat||"%x",i=g.format(h);i!="invalid date"&&a.set("value",i);return g.isValid()}}],["validate-email",{errorMsg:Form.Validator.getMsg.pass("email"),test:function(a){return Form.Validator.getValidator("IsEmpty").test(a)||/^(?:[a-z0-9!#$%&'*+\/=?^_`{|}~-]\.?){0,63}[a-z0-9!#$%&'*+\/=?^_`{|}~-]@(?:(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\])$/i.test(a.get("value"))}}],["validate-url",{errorMsg:Form.Validator.getMsg.pass("url"),test:function(a){return Form.Validator.getValidator("IsEmpty").test(a)||/^(https?|ftp|rmtp|mms):\/\/(([A-Z0-9][A-Z0-9_-]*)(\.[A-Z0-9][A-Z0-9_-]*)+)(:(\d+))?\/?/i.test(a.get("value"))}}],["validate-currency-dollar",{errorMsg:Form.Validator.getMsg.pass("currencyDollar"),test:function(a){return Form.Validator.getValidator("IsEmpty").test(a)||/^\$?\-?([1-9]{1}[0-9]{0,2}(\,[0-9]{3})*(\.[0-9]{0,2})?|[1-9]{1}\d*(\.[0-9]{0,2})?|0(\.[0-9]{0,2})?|(\.[0-9]{1,2})?)$/.test(a.get("value"))}}],["validate-one-required",{errorMsg:Form.Validator.getMsg.pass("oneRequired"),test:function(a,b){var c=document.id(b["validate-one-required"])||a.getParent(b["validate-one-required"]);return c.getElements("input").some(function(a){if(["checkbox","radio"].contains(a.get("type")))return a.get("checked");return a.get("value")})}}]]),Element.Properties.validator={set:function(a){this.get("validator").setOptions(a)},get:function(){var a=this.retrieve("validator");a||(a=new Form.Validator(this),this.store("validator",a));return a}},Element.implement({validate:function(a){a&&this.set("validator",a);return this.get("validator").validate()}});var FormValidator=Form.Validator;Form.Validator.Inline=new Class({Extends:Form.Validator,options:{showError:function(a){a.reveal?a.reveal():a.setStyle("display","block")},hideError:function(a){a.dissolve?a.dissolve():a.setStyle("display","none")},scrollToErrorsOnSubmit:!0,scrollToErrorsOnBlur:!1,scrollToErrorsOnChange:!1,scrollFxOptions:{transition:"quad:out",offset:{y:-20}}},initialize:function(a,b){this.parent(a,b),this.addEvent("onElementValidate",function(a,b,c,d){var e=this.getValidator(c);if(!a&&e.getError(b)){d&&b.addClass("warning");var f=this.makeAdvice(c,b,e.getError(b),d);this.insertAdvice(f,b),this.showAdvice(c,b)}else this.hideAdvice(c,b)})},makeAdvice:function(a,b,c,d){var e=d?this.warningPrefix:this.errorPrefix;e+=this.options.useTitles?b.title||c:c;var f=d?"warning-advice":"validation-advice",g=this.getAdvice(a,b);g?g=g.set("html",e):g=(new Element("div",{html:e,styles:{display:"none"},id:"advice-"+a.split(":")[0]+"-"+this.getFieldId(b)})).addClass(f),b.store("$moo:advice-"+a,g);return g},getFieldId:function(a){return a.id?a.id:a.id="input_"+a.name},showAdvice:function(a,b){var c=this.getAdvice(a,b);c&&!b.retrieve("$moo:"+this.getPropName(a))&&(c.getStyle("display")=="none"||c.getStyle("visiblity")=="hidden"||c.getStyle("opacity")==0)&&(b.store("$moo:"+this.getPropName(a),!0),this.options.showError(c),this.fireEvent("showAdvice",[b,c,a]))},hideAdvice:function(a,b){var c=this.getAdvice(a,b);c&&b.retrieve("$moo:"+this.getPropName(a))&&(b.store("$moo:"+this.getPropName(a),!1),this.options.hideError(c),this.fireEvent("hideAdvice",[b,c,a]))},getPropName:function(a){return"advice"+a},resetField:function(a){a=document.id(a);if(!a)return this;this.parent(a),a.get("validators").each(function(b){this.hideAdvice(b,a)},this);return this},getAllAdviceMessages:function(a,b){var c=[];if(a.hasClass("ignoreValidation")&&!b)return c;var d=a.get("validators").some(function(b){var d=b.test("^warn-")||a.hasClass("warnOnly");d&&(b=b.replace(/^warn-/,""));var e=this.getValidator(b);!e||c.push({message:e.getError(a),warnOnly:d,passed:e.test(),validator:e})},this);return c},getAdvice:function(a,b){return b.retrieve("$moo:advice-"+a)},insertAdvice:function(a,b){var c=b.get("validatorProps");!c.msgPos||!document.id(c.msgPos)?b.type&&b.type.toLowerCase()=="radio"?b.getParent().adopt(a):a.inject(document.id(b),"after"):document.id(c.msgPos).grab(a)},validateField:function(a,b,c){var d=this.parent(a,b);if((this.options.scrollToErrorsOnSubmit&&c==null||c)&&!d){var e=document.id(this).getElement(".validation-failed"),f=document.id(this).getParent();while(f!=document.body&&f.getScrollSize().y==f.getSize().y)f=f.getParent();var g=f.retrieve("$moo:fvScroller");!g&&window.Fx&&Fx.Scroll&&(g=new Fx.Scroll(f,this.options.scrollFxOptions),f.store("$moo:fvScroller",g)),e&&(g?g.toElement(e):f.scrollTo(f.getScroll().x,e.getPosition(f).y-20))}return d},watchFields:function(a){a.each(function(a){this.options.evaluateFieldsOnBlur&&a.addEvent("blur",this.validationMonitor.pass([a,!1,this.options.scrollToErrorsOnBlur],this)),this.options.evaluateFieldsOnChange&&a.addEvent("change",this.validationMonitor.pass([a,!0,this.options.scrollToErrorsOnChange],this))},this)}}),Form.Validator.addAllThese([["validate-enforce-oncheck",{test:function(a,b){var c=a.getParent("form").retrieve("validator");if(!c)return!0;(b.toEnforce||document.id(b.enforceChildrenOf).getElements("input, select, textarea")).map(function(b){a.checked?c.enforceField(b):(c.ignoreField(b),c.resetField(b))});return!0}}],["validate-ignore-oncheck",{test:function(a,b){var c=a.getParent("form").retrieve("validator");if(!c)return!0;(b.toIgnore||document.id(b.ignoreChildrenOf).getElements("input, select, textarea")).each(function(b){a.checked?(c.ignoreField(b),c.resetField(b)):c.enforceField(b)});return!0}}],["validate-nospace",{errorMsg:function(){return Form.Validator.getMsg("noSpace")},test:function(a,b){return!a.get("value").test(/\s/)}}],["validate-toggle-oncheck",{test:function(a,b){var c=a.getParent("form").retrieve("validator");if(!c)return!0;var d=b.toToggle||document.id(b.toToggleChildrenOf).getElements("input, select, textarea");a.checked?d.each(function(a){c.enforceField(a)}):d.each(function(a){c.ignoreField(a),c.resetField(a)});return!0}}],["validate-reqchk-bynode",{errorMsg:function(){return Form.Validator.getMsg("reqChkByNode")},test:function(a,b){return document.id(b.nodeId).getElements(b.selector||"input[type=checkbox], input[type=radio]").some(function(a){return a.checked})}}],["validate-required-check",{errorMsg:function(a,b){return b.useTitle?a.get("title"):Form.Validator.getMsg("requiredChk")},test:function(a,b){return!!a.checked}}],["validate-reqchk-byname",{errorMsg:function(a,b){return Form.Validator.getMsg("reqChkByName").substitute({label:b.label||a.get("type")})},test:function(a,b){var c=b.groupName||a.get("name"),d=$$(document.getElementsByName(c)).some(function(a,b){return a.checked}),e=a.getParent("form").retrieve("validator");d&&e&&e.resetField(a);return d}}],["validate-match",{errorMsg:function(a,b){return Form.Validator.getMsg("match").substitute({matchName:b.matchName||document.id(b.matchInput).get("name")})},test:function(a,b){var c=a.get("value"),d=document.id(b.matchInput)&&document.id(b.matchInput).get("value");return c&&d?c==d:!0}}],["validate-after-date",{errorMsg:function(a,b){return Form.Validator.getMsg("afterDate").substitute({label:b.afterLabel||(b.afterElement?Form.Validator.getMsg("startDate"):Form.Validator.getMsg("currentDate"))})},test:function(a,b){var c=document.id(b.afterElement)?Date.parse(document.id(b.afterElement).get("value")):new Date,d=Date.parse(a.get("value"));return d&&c?d>=c:!0}}],["validate-before-date",{errorMsg:function(a,b){return Form.Validator.getMsg("beforeDate").substitute({label:b.beforeLabel||(b.beforeElement?Form.Validator.getMsg("endDate"):Form.Validator.getMsg("currentDate"))})},test:function(a,b){var c=Date.parse(a.get("value")),d=document.id(b.beforeElement)?Date.parse(document.id(b.beforeElement).get("value")):new Date;return d&&c?d>=c:!0}}],["validate-custom-required",{errorMsg:function(){return Form.Validator.getMsg("required")},test:function(a,b){return a.get("value")!=b.emptyValue}}],["validate-same-month",{errorMsg:function(a,b){var c=document.id(b.sameMonthAs)&&document.id(b.sameMonthAs).get("value"),d=a.get("value");if(d!="")return Form.Validator.getMsg(c?"sameMonth":"startMonth")},test:function(a,b){var c=Date.parse(a.get("value")),d=Date.parse(document.id(b.sameMonthAs)&&document.id(b.sameMonthAs).get("value"));return c&&d?c.format("%B")==d.format("%B"):!0}}],["validate-cc-num",{errorMsg:function(a){var b=a.get("value").replace(/[^0-9]/g,"");return Form.Validator.getMsg("creditcard").substitute({length:b.length})},test:function(a){if(Form.Validator.getValidator("IsEmpty").test(a))return!0;var b=a.get("value");b=b.replace(/[^0-9]/g,"");var c=!1;b.test(/^4[0-9]{12}([0-9]{3})?$/)?c="Visa":b.test(/^5[1-5]([0-9]{14})$/)?c="Master Card":b.test(/^3[47][0-9]{13}$/)?c="American Express":b.test(/^6011[0-9]{12}$/)&&(c="Discover");if(c){var d=0,e=0;for(var f=b.length-1;f>=0;--f){e=b.charAt(f).toInt();if(e==0)continue;(b.length-f)%2==0&&(e+=e),e>9&&(e=e.toString().charAt(0).toInt()+e.toString().charAt(1).toInt()),d+=e}if(d%10==0)return!0}var g="";while(b!="")g+=" "+b.substr(0,4),b=b.substr(4);a.getParent("form").retrieve("validator").ignoreField(a),a.set("value",g.clean()),a.getParent("form").retrieve("validator").enforceField(a);return!1}}]]);var OverText=new Class({Implements:[Options,Events,Class.Occlude],Binds:["reposition","assert","focus","hide"],options:{element:"label",labelClass:"overTxtLabel",positionOptions:{position:"upperLeft",edge:"upperLeft",offset:{x:4,y:2}},poll:!1,pollInterval:250,wrap:!1},property:"OverText",initialize:function(a,b){a=this.element=document.id(a);if(this.occlude())return this.occluded;this.setOptions(b),this.attach(a),OverText.instances.push(this),this.options.poll&&this.poll()},toElement:function(){return this.element},attach:function(){var a=this.element,b=this.options,c=b.textOverride||a.get("alt")||a.get("title");if(!c)return this;var d=this.text=(new Element(b.element,{"class":b.labelClass,styles:{lineHeight:"normal",position:"absolute",cursor:"text"},html:c,events:{click:this.hide.pass(b.element=="label",this)}})).inject(a,"after");b.element=="label"&&(a.get("id")||a.set("id","input_"+String.uniqueID()),d.set("for",a.get("id"))),b.wrap&&(this.textHolder=(new Element("div.overTxtWrapper",{styles:{lineHeight:"normal",position:"relative"}})).grab(d).inject(a,"before"));return this.enable()},destroy:function(){this.element.eliminate(this.property),this.disable(),this.text&&this.text.destroy(),this.textHolder&&this.textHolder.destroy();return this},disable:function(){this.element.removeEvents({focus:this.focus,blur:this.assert,change:this.assert}),window.removeEvent("resize",this.reposition),this.hide(!0,!0);return this},enable:function(){this.element.addEvents({focus:this.focus,blur:this.assert,change:this.assert}),window.addEvent("resize",this.reposition),this.assert(!0),this.reposition();return this},wrap:function(){this.options.element=="label"&&(this.element.get("id")||this.element.set("id","input_"+String.uniqueID()),this.text.set("for",this.element.get("id")))},startPolling:function(){this.pollingPaused=!1;return this.poll()},poll:function(a){if(this.poller&&!a)return this;a?clearInterval(this.poller):this.poller=function(){this.pollingPaused||this.assert(!0)}.periodical(this.options.pollInterval,this);return this},stopPolling:function(){this.pollingPaused=!0;return this.poll(!0)},focus:function(){if(this.text&&(!this.text.isDisplayed()||this.element.get("disabled")))return this;return this.hide()},hide:function(a,b){if(this.text&&this.text.isDisplayed()&&(!this.element.get("disabled")||b)){this.text.hide(),this.fireEvent("textHide",[this.text,this.element]),this.pollingPaused=!0;if(!a)try{this.element.fireEvent("focus"),this.element.focus()}catch(c){}}return this},show:function(){this.text&&!this.text.isDisplayed()&&(this.text.show(),this.reposition(),this.fireEvent("textShow",[this.text,this.element]),this.pollingPaused=!1);return this},test:function(){return!this.element.get("value")},assert:function(a){return this[this.test()?"show":"hide"](a)},reposition:function(){this.assert(!0);if(!this.element.isVisible())return this.stopPolling().hide();this.text&&this.test()&&this.text.position(Object.merge(this.options.positionOptions,{relativeTo:this.element}));return this}});OverText.instances=[],Object.append(OverText,{each:function(a){return OverText.instances.each(function(b,c){b.element&&b.text&&a.call(OverText,b,c)})},update:function(){return OverText.each(function(a){return a.reposition()})},hideAll:function(){return OverText.each(function(a){return a.hide(!0,!0)})},showAll:function(){return OverText.each(function(a){return a.show()})}}),Fx.Elements=new Class({Extends:Fx.CSS,initialize:function(a,b){this.elements=this.subject=$$(a),this.parent(b)},compute:function(a,b,c){var d={};for(var e in a){var f=a[e],g=b[e],h=d[e]={};for(var i in f)h[i]=this.parent(f[i],g[i],c)}return d},set:function(a){for(var b in a){if(!this.elements[b])continue;var c=a[b];for(var d in c)this.render(this.elements[b],d,c[d],this.options.unit)}return this},start:function(a){if(!this.check(a))return this;var b={},c={};for(var d in a){if(!this.elements[d])continue;var e=a[d],f=b[d]={},g=c[d]={};for(var h in e){var i=this.prepare(this.elements[d],h,e[h]);f[h]=i.from,g[h]=i.to}}return this.parent(b,c)}}),Fx.Accordion=new Class({Extends:Fx.Elements,options:{fixedHeight:!1,fixedWidth:!1,display:0,show:!1,height:!0,width:!1,opacity:!0,alwaysHide:!1,trigger:"click",initialDisplayFx:!0,resetHeight:!0},initialize:function(){var a=function(a){return a!=null},b=Array.link(arguments,{container:Type.isElement,options:Type.isObject,togglers:a,elements:a});this.parent(b.elements,b.options);var c=this.options,d=this.togglers=$$(b.togglers);this.previous=-1,this.internalChain=new Chain,c.alwaysHide&&(this.options.link="chain");if(c.show||this.options.show===0)c.display=!1,this.previous=c.show;c.start&&(c.display=!1,c.show=!1);var e=this.effects={};c.opacity&&(e.opacity="fullOpacity"),c.width&&(e.width=c.fixedWidth?"fullWidth":"offsetWidth"),c.height&&(e.height=c.fixedHeight?"fullHeight":"scrollHeight");for(var f=0,g=d.length;f=0?d-1:0).chain(f):f();return this},detach:function(a){var b=function(a){a.removeEvent(this.options.trigger,a.retrieve("accordion:display"))}.bind(this);a?b(a):this.togglers.each(b);return this},display:function(a,b){if(!this.check(a,b))return this;var c={},d=this.elements,e=this.options,f=this.effects;b==null&&(b=!0),typeOf(a)=="element"&&(a=d.indexOf(a));if(a==this.previous&&!e.alwaysHide)return this;if(e.resetHeight){var g=d[this.previous];if(g&&!this.selfHidden)for(var h in f)g.setStyle(h,g[f[h]])}if(this.timer&&e.link=="chain"||a===this.previous&&!e.alwaysHide)return this;this.previous=a,this.selfHidden=!1,d.each(function(d,g){c[g]={};var h;g!=a?h=!0:e.alwaysHide&&(d.offsetHeight>0&&e.height||d.offsetWidth>0&&e.width)&&(h=!0,this.selfHidden=!0),this.fireEvent(h?"background":"active",[this.togglers[g],d]);for(var i in f)c[g][i]=h?0:d[f[i]];!b&&!h&&e.resetHeight&&(c[g].height="auto")},this),this.internalChain.clearChain(),this.internalChain.chain(function(){if(e.resetHeight&&!this.selfHidden){var b=d[a];b&&b.setStyle("height","auto")}}.bind(this));return b?this.start(c):this.set(c).internalChain.callChain()}});var Accordion=new Class({Extends:Fx.Accordion,initialize:function(){this.parent.apply(this,arguments);var a=Array.link(arguments,{container:Type.isElement});this.container=a.container},addSection:function(a,b,c){a=document.id(a),b=document.id(b);var d=this.togglers.contains(a),e=this.togglers.length;e&&(!d||c)?(c=c!=null?c:e-1,a.inject(this.togglers[c],"before"),b.inject(a,"after")):this.container&&!d&&(a.inject(this.container),b.inject(this.container));return this.parent.apply(this,arguments)}});Fx.Move=new Class({Extends:Fx.Morph,options:{relativeTo:document.body,position:"center",edge:!1,offset:{x:0,y:0}},start:function(a){var b=this.element,c=b.getStyles("top","left");(c.top=="auto"||c.left=="auto")&&b.setPosition(b.getPosition(b.getOffsetParent()));return this.parent(b.position(Object.merge({},this.options,a,{returnPos:!0})))}}),Element.Properties.move={set:function(a){this.get("move").cancel().setOptions(a);return this},get:function(){var a=this.retrieve("move");a||(a=new Fx.Move(this,{link:"cancel"}),this.store("move",a));return a}},Element.implement({move:function(a){this.get("move").start(a);return this}}),function(){function a(a){return/^(?:body|html)$/i.test(a.tagName)}Fx.Scroll=new Class({Extends:Fx,options:{offset:{x:0,y:0},wheelStops:!0},initialize:function(a,b){this.element=this.subject=document.id(a),this.parent(b),typeOf(this.element)!="element"&&(this.element=document.id(this.element.getDocument().body));if(this.options.wheelStops){var c=this.element,d=this.cancel.pass(!1,this);this.addEvent("start",function(){c.addEvent("mousewheel",d)},!0),this.addEvent("complete",function(){c.removeEvent("mousewheel",d)},!0)}},set:function(){var a=Array.flatten(arguments);Browser.firefox&&(a=[Math.round(a[0]),Math.round(a[1])]),this.element.scrollTo(a[0],a[1]);return this},compute:function(a,b,c){return[0,1].map(function(d){return Fx.compute(a[d],b[d],c)})},start:function(a,b){if(!this.check(a,b))return this;var c=this.element.getScroll();return this.parent([c.x,c.y],[a,b])},calculateScroll:function(a,b){var c=this.element,d=c.getScrollSize(),e=c.getScroll(),f=c.getSize(),g=this.options.offset,h={x:a,y:b};for(var i in h)!h[i]&&h[i]!==0&&(h[i]=e[i]),typeOf(h[i])!="number"&&(h[i]=d[i]-f[i]),h[i]+=g[i];return[h.x,h.y]},toTop:function(){return this.start.apply(this,this.calculateScroll(!1,0))},toLeft:function(){return this.start.apply(this,this.calculateScroll(0,!1))},toRight:function(){return this.start.apply(this,this.calculateScroll("right",!1))},toBottom:function(){return this.start.apply(this,this.calculateScroll(!1,"bottom"))},toElement:function(b,c){c=c?Array.from(c):["x","y"];var d=a(this.element)?{x:0,y:0}:this.element.getScroll(),e=Object.map(document.id(b).getPosition(this.element),function(a,b){return c.contains(b)?a+d[b]:!1});return this.start.apply(this,this.calculateScroll(e.x,e.y))},toElementEdge:function(a,b,c){b=b?Array.from(b):["x","y"],a=document.id(a);var d={},e=a.getPosition(this.element),f=a.getSize(),g=this.element.getScroll(),h=this.element.getSize(),i={x:e.x+f.x,y:e.y+f.y};["x","y"].each(function(a){b.contains(a)&&(i[a]>g[a]+h[a]&&(d[a]=i[a]-h[a]),e[a]this.elements.length&&a.splice(this.elements.length-1,a.length-this.elements.length));var h=0;b=c=0,a.each(function(a){var e={};f?(e.top=b-g[a].top-h,b+=g[a].height):(e.left=c-g[a].left,c+=g[a].width),h=h+g[a].margin,d[a]=e},this);var i={};Array.clone(a).sort().each(function(a){i[a]=d[a]}),this.start(i),this.currentOrder=a;return this},rearrangeDOM:function(a){a=a||this.currentOrder;var b=this.elements[0].getParent(),c=[];this.elements.setStyle("opacity",0),a.each(function(a){c.push(this.elements[a].inject(b).setStyles({top:0,left:0}))},this),this.elements.setStyle("opacity",1),this.elements=$$(c),this.setDefaultOrder();return this},getDefaultOrder:function(){return this.elements.map(function(a,b){return b})},getCurrentOrder:function(){return this.currentOrder},forward:function(){return this.sort(this.getDefaultOrder())},backward:function(){return this.sort(this.getDefaultOrder().reverse())},reverse:function(){return this.sort(this.currentOrder.reverse())},sortByElements:function(a){return this.sort(a.map(function(a){return this.elements.indexOf(a)},this))},swap:function(a,b){typeOf(a)=="element"&&(a=this.elements.indexOf(a)),typeOf(b)=="element"&&(b=this.elements.indexOf(b));var c=Array.clone(this.currentOrder);c[this.currentOrder.indexOf(a)]=b,c[this.currentOrder.indexOf(b)]=a;return this.sort(c)}});var Drag=new Class({Implements:[Events,Options],options:{snap:6,unit:"px",grid:!1,style:!0,limit:!1,handle:!1,invert:!1,preventDefault:!1,stopPropagation:!1,modifiers:{x:"left",y:"top"}},initialize:function(){var a=Array.link(arguments,{options:Type.isObject,element:function(a){return a!=null}});this.element=document.id(a.element),this.document=this.element.getDocument(),this.setOptions(a.options||{});var b=typeOf(this.options.handle);this.handles=(b=="array"||b=="collection"?$$(this.options.handle):document.id(this.options.handle))||this.element,this.mouse={now:{},pos:{}},this.value={start:{},now:{}},this.selection=Browser.ie?"selectstart":"mousedown",Browser.ie&&!Drag.ondragstartFixed&&(document.ondragstart=Function.from(!1),Drag.ondragstartFixed=!0),this.bound={start:this.start.bind(this),check:this.check.bind(this),drag:this.drag.bind(this),stop:this.stop.bind(this),cancel:this.cancel.bind(this),eventStop:Function.from(!1)},this.attach()},attach:function(){this.handles.addEvent("mousedown",this.bound.start);return this},detach:function(){this.handles.removeEvent("mousedown",this.bound.start);return this},start:function(a){var b=this.options;if(!a.rightClick){b.preventDefault&&a.preventDefault(),b.stopPropagation&&a.stopPropagation(),this.mouse.start=a.page,this.fireEvent("beforeStart",this.element);var c=b.limit;this.limit={x:[],y:[]};var d,e;for(d in b.modifiers){if(!b.modifiers[d])continue;var f=this.element.getStyle(b.modifiers[d]);f&&!f.match(/px$/)&&(e||(e=this.element.getCoordinates(this.element.getOffsetParent())),f=e[b.modifiers[d]]),b.style?this.value.now[d]=(f||0).toInt():this.value.now[d]=this.element[b.modifiers[d]],b.invert&&(this.value.now[d]*=-1),this.mouse.pos[d]=a.page[d]-this.value.now[d];if(c&&c[d]){var g=2;while(g--){var h=c[d][g];if(h||h===0)this.limit[d][g]=typeof h=="function"?h():h}}}typeOf(this.options.grid)=="number"&&(this.options.grid={x:this.options.grid,y:this.options.grid});var i={mousemove:this.bound.check,mouseup:this.bound.cancel};i[this.selection]=this.bound.eventStop,this.document.addEvents(i)}},check:function(a){this.options.preventDefault&&a.preventDefault();var b=Math.round(Math.sqrt(Math.pow(a.page.x-this.mouse.start.x,2)+Math.pow(a.page.y-this.mouse.start.y,2)));b>this.options.snap&&(this.cancel(),this.document.addEvents({mousemove:this.bound.drag,mouseup:this.bound.stop}),this.fireEvent("start",[this.element,a]).fireEvent("snap",this.element))},drag:function(a){var b=this.options;b.preventDefault&&a.preventDefault(),this.mouse.now=a.page;for(var c in b.modifiers){if(!b.modifiers[c])continue;this.value.now[c]=this.mouse.now[c]-this.mouse.pos[c],b.invert&&(this.value.now[c]*=-1),b.limit&&this.limit[c]&&((this.limit[c][1]||this.limit[c][1]===0)&&this.value.now[c]>this.limit[c][1]?this.value.now[c]=this.limit[c][1]:(this.limit[c][0]||this.limit[c][0]===0)&&this.value.now[c]a.left&&c.xa.top},this).getLast();this.overed!=a&&(this.overed&&this.fireEvent("leave",[this.element,this.overed]),a&&this.fireEvent("enter",[this.element,a]),this.overed=a)},drag:function(a){this.parent(a),this.options.checkDroppables&&this.droppables.length&&this.checkDroppables()},stop:function(a){this.checkDroppables(),this.fireEvent("drop",[this.element,this.overed,a]),this.overed=null;return this.parent(a)}}),Element.implement({makeDraggable:function(a){var b=new Drag.Move(this,a);this.store("dragger",b);return b}});var Slider=new Class({Implements:[Events,Options],Binds:["clickedElement","draggedKnob","scrolledElement"],options:{onTick:function(a){this.setKnobPosition(a)},initialStep:0,snap:!1,offset:0,range:!1,wheel:!1,steps:100,mode:"horizontal"},initialize:function(a,b,c){this .setOptions(c),c=this.options,this.element=document.id(a),b=this.knob=document.id(b),this.previousChange=this.previousEnd=this.step=-1;var d={},e={x:!1,y:!1};switch(c.mode){case"vertical":this.axis="y",this.property="top",this.offset="offsetHeight";break;case"horizontal":this.axis="x",this.property="left",this.offset="offsetWidth"}this.setSliderDimensions(),this.setRange(c.range),b.getStyle("position")=="static"&&b.setStyle("position","relative"),b.setStyle(this.property,-c.offset),e[this.axis]=this.property,d[this.axis]=[-c.offset,this.full-c.offset];var f={snap:0,limit:d,modifiers:e,onDrag:this.draggedKnob,onStart:this.draggedKnob,onBeforeStart:function(){this.isDragging=!0}.bind(this),onCancel:function(){this.isDragging=!1}.bind(this),onComplete:function(){this.isDragging=!1,this.draggedKnob(),this.end()}.bind(this)};c.snap&&this.setSnap(f),this.drag=new Drag(b,f),this.attach(),c.initialStep!=null&&this.set(c.initialStep)},attach:function(){this.element.addEvent("mousedown",this.clickedElement),this.options.wheel&&this.element.addEvent("mousewheel",this.scrolledElement),this.drag.attach();return this},detach:function(){this.element.removeEvent("mousedown",this.clickedElement).removeEvent("mousewheel",this.scrolledElement),this.drag.detach();return this},autosize:function(){this.setSliderDimensions().setKnobPosition(this.toPosition(this.step)),this.drag.options.limit[this.axis]=[-this.options.offset,this.full-this.options.offset],this.options.snap&&this.setSnap();return this},setSnap:function(a){a||(a=this.drag.options),a.grid=Math.ceil(this.stepWidth),a.limit[this.axis][1]=this.full;return this},setKnobPosition:function(a){this.options.snap&&(a=this.toPosition(this.step)),this.knob.setStyle(this.property,a);return this},setSliderDimensions:function(){this.full=this.element.measure(function(){this.half=this.knob[this.offset]/2;return this.element[this.offset]-this.knob[this.offset]+this.options.offset*2}.bind(this));return this},set:function(a){this.range>0^a0^a>this.max||(a=this.max),this.step=Math.round(a);return this.checkStep().fireEvent("tick",this.toPosition(this.step)).end()},setRange:function(a,b){this.min=Array.pick([a[0],0]),this.max=Array.pick([a[1],this.options.steps]),this.range=this.max-this.min,this.steps=this.options.steps||this.full,this.stepSize=Math.abs(this.range)/this.steps,this.stepWidth=this.stepSize*this.full/Math.abs(this.range),a&&this.set(Array.pick([b,this.step]).floor(this.min).max(this.max));return this},clickedElement:function(a){if(!this.isDragging&&a.target!=this.knob){var b=this.range<0?-1:1,c=a.page[this.axis]-this.element.getPosition()[this.axis]-this.half;c=c.limit(-this.options.offset,this.full-this.options.offset),this.step=Math.round(this.min+b*this.toStep(c)),this.checkStep().fireEvent("tick",c).end()}},scrolledElement:function(a){var b=this.options.mode=="horizontal"?a.wheel<0:a.wheel>0;this.set(this.step+(b?-1:1)*this.stepSize),a.stop()},draggedKnob:function(){var a=this.range<0?-1:1,b=this.drag.value.now[this.axis];b=b.limit(-this.options.offset,this.full-this.options.offset),this.step=Math.round(this.min+a*this.toStep(b)),this.checkStep()},checkStep:function(){var a=this.step;this.previousChange!=a&&(this.previousChange=a,this.fireEvent("change",a));return this},end:function(){var a=this.step;this.previousEnd!==a&&(this.previousEnd=a,this.fireEvent("complete",a+""));return this},toStep:function(a){var b=(a+this.options.offset)*this.stepSize/this.full*this.steps;return this.options.steps?Math.round(b-=b%this.stepSize):b},toPosition:function(a){return this.full*Math.abs(this.min-a)/(this.steps*this.stepSize)-this.options.offset}}),Sortables=new Class({Implements:[Events,Options],options:{opacity:1,clone:!1,revert:!1,handle:!1,dragOptions:{},snap:4,constrain:!1,preventDefault:!1},initialize:function(a,b){this.setOptions(b),this.elements=[],this.lists=[],this.idle=!0,this.addLists($$(document.id(a)||a)),this.options.clone||(this.options.revert=!1),this.options.revert&&(this.effect=new Fx.Morph(null,Object.merge({duration:250,link:"cancel"},this.options.revert)))},attach:function(){this.addLists(this.lists);return this},detach:function(){this.lists=this.removeLists(this.lists);return this},addItems:function(){Array.flatten(arguments).each(function(a){this.elements.push(a);var b=a.retrieve("sortables:start",function(b){this.start.call(this,b,a)}.bind(this));(this.options.handle?a.getElement(this.options.handle)||a:a).addEvent("mousedown",b)},this);return this},addLists:function(){Array.flatten(arguments).each(function(a){this.lists.include(a),this.addItems(a.getChildren())},this);return this},removeItems:function(){return $$(Array.flatten(arguments).map(function(a){this.elements.erase(a);var b=a.retrieve("sortables:start");(this.options.handle?a.getElement(this.options.handle)||a:a).removeEvent("mousedown",b);return a},this))},removeLists:function(){return $$(Array.flatten(arguments).map(function(a){this.lists.erase(a),this.removeItems(a.getChildren());return a},this))},getClone:function(a,b){if(!this.options.clone)return(new Element(b.tagName)).inject(document.body);if(typeOf(this.options.clone)=="function")return this.options.clone.call(this,a,b,this.list);var c=b.clone(!0).setStyles({margin:0,position:"absolute",visibility:"hidden",width:b.getStyle("width")}).addEvent("mousedown",function(a){b.fireEvent("mousedown",a)});c.get("html").test("radio")&&c.getElements("input[type=radio]").each(function(a,c){a.set("name","clone_"+c),a.get("checked")&&b.getElements("input[type=radio]")[c].set("checked",!0)});return c.inject(this.list).setPosition(b.getPosition(b.getOffsetParent()))},getDroppables:function(){var a=this.list.getChildren().erase(this.clone).erase(this.element);this.options.constrain||a.append(this.lists).erase(this.list);return a},insert:function(a,b){var c="inside";this.lists.contains(b)?(this.list=b,this.drag.droppables=this.getDroppables()):c=this.element.getAllPrevious().contains(b)?"before":"after",this.element.inject(b,c),this.fireEvent("sort",[this.element,this.clone])},start:function(a,b){!this.idle||a.rightClick||["button","input","a"].contains(a.target.get("tag"))||(this.idle=!1,this.element=b,this.opacity=b.get("opacity"),this.list=b.getParent(),this.clone=this.getClone(a,b),this.drag=(new Drag.Move(this.clone,Object.merge({preventDefault:this.options.preventDefault,snap:this.options.snap,container:this.options.constrain&&this.element.getParent(),droppables:this.getDroppables()},this.options.dragOptions))).addEvents({onSnap:function(){a.stop(),this.clone.setStyle("visibility","visible"),this.element.set("opacity",this.options.opacity||0),this.fireEvent("start",[this.element,this.clone])}.bind(this),onEnter:this.insert.bind(this),onCancel:this.end.bind(this),onComplete:this.end.bind(this)}),this.clone.inject(this.element,"before"),this.drag.start(a))},end:function(){this.drag.detach(),this.element.set("opacity",this.opacity);if(this.effect){var a=this.element.getStyles("width","height"),b=this.clone,c=b.computePosition(this.element.getPosition(this.clone.getOffsetParent())),d=function(){this.removeEvent("cancel",d),b.destroy()};this.effect.element=b,this.effect.start({top:c.top,left:c.left,width:a.width,height:a.height,opacity:.25}).addEvent("cancel",d).chain(d)}else this.clone.destroy();this.reset()},reset:function(){this.idle=!0,this.fireEvent("complete",this.element)},serialize:function(){var a=Array.link(arguments,{modifier:Type.isFunction,index:function(a){return a!=null}}),b=this.lists.map(function(b){return b.getChildren().map(a.modifier||function(a){return a.get("id")},this)},this),c=a.index;this.lists.length==1&&(c=0);return(c||c===0)&&c>=0&&c2083&&this.fireEvent("error",e),Request.JSONP.request_map["request_"+d]=function(){this.success(arguments,d)}.bind(this);var f=this.getScript(e).inject(a.injectScript);this.fireEvent("request",[e,f]),a.timeout&&this.timeout.delay(a.timeout,this);return this},getScript:function(a){this.script||(this.script=new Element("script",{type:"text/javascript",async:!0,src:a}));return this.script},success:function(a,b){!this.running||this.clear().fireEvent("complete",a).fireEvent("success",a).callChain()},cancel:function(){this.running&&this.clear().fireEvent("cancel");return this},isRunning:function(){return!!this.running},clear:function(){this.running=!1,this.script&&(this.script.destroy(),this.script=null);return this},timeout:function(){this.running&&(this.running=!1,this.fireEvent("timeout",[this.script.get("src"),this.script]).fireEvent("failure").cancel());return this}}),Request.JSONP.counter=0,Request.JSONP.request_map={},Request.Queue=new Class({Implements:[Options,Events],Binds:["attach","request","complete","cancel","success","failure","exception"],options:{stopOnFailure:!0,autoAdvance:!0,concurrent:1,requests:{}},initialize:function(a){var b;a&&(b=a.requests,delete a.requests),this.setOptions(a),this.requests={},this.queue=[],this.reqBinders={},b&&this.addRequests(b)},addRequest:function(a,b){this.requests[a]=b,this.attach(a,b);return this},addRequests:function(a){Object.each(a,function(a,b){this.addRequest(b,a)},this);return this},getName:function(a){return Object.keyOf(this.requests,a)},attach:function(a,b){if(b._groupSend)return this;["request","complete","cancel","success","failure","exception"].each(function(c){this.reqBinders[a]||(this.reqBinders[a]={}),this.reqBinders[a][c]=function(){this["on"+c.capitalize()].apply(this,[a,b].append(arguments))}.bind(this),b.addEvent(c,this.reqBinders[a][c])},this),b._groupSend=b.send,b.send=function(c){this.send(a,c);return b}.bind(this);return this},removeRequest:function(a){var b=typeOf(a)=="object"?this.getName(a):a;if(!b&&typeOf(b)!="string")return this;a=this.requests[b];if(!a)return this;["request","complete","cancel","success","failure","exception"].each(function(c){a.removeEvent(c,this.reqBinders[b][c])},this),a.send=a._groupSend,delete a._groupSend;return this},getRunning:function(){return Object.filter(this.requests,function(a){return a.running})},isRunning:function(){return!!Object.keys(this.getRunning()).length},send:function(a,b){var c=function(){this.requests[a]._groupSend(b),this.queue.erase(c)}.bind(this);c.name=a,Object.keys(this.getRunning()).length>=this.options.concurrent||this.error&&this.options.stopOnFailure?this.queue.push(c):c();return this},hasNext:function(a){return a?!!this.queue.filter(function(b){return b.name==a}).length:!!this.queue.length},resume:function(){this.error=!1,(this.options.concurrent-Object.keys(this.getRunning()).length).times(this.runNext,this);return this},runNext:function(a){if(!this.queue.length)return this;if(!a)this.queue[0]();else{var b;this.queue.each(function(c){!b&&c.name==a&&(b=!0,c())})}return this},runAll:function(){this.queue.each(function(a){a()});return this},clear:function(a){a?this.queue=this.queue.map(function(b){return b.name!=a?b:!1}).filter(function(a){return a}):this.queue.empty();return this},cancel:function(a){this.requests[a].cancel();return this},onRequest:function(){this.fireEvent("request",arguments)},onComplete:function(){this.fireEvent("complete",arguments),this.queue.length||this.fireEvent("end")},onCancel:function(){this.options.autoAdvance&&!this.error&&this.runNext(),this.fireEvent("cancel",arguments)},onSuccess:function(){this.options.autoAdvance&&!this.error&&this.runNext(),this.fireEvent("success",arguments)},onFailure:function(){this.error=!0,!this.options.stopOnFailure&&this.options.autoAdvance&&this.runNext(),this.fireEvent("failure",arguments)},onException:function(){this.error=!0,!this.options.stopOnFailure&&this.options.autoAdvance&&this.runNext(),this.fireEvent("exception",arguments)}}),Request.implement({options:{initialDelay:5e3,delay:5e3,limit:6e4},startTimer:function(a){var b=function(){this.running||this.send({data:a})};this.lastDelay=this.options.initialDelay,this.timer=b.delay(this.lastDelay,this),this.completeCheck=function(a){clearTimeout(this.timer),this.lastDelay=a?this.options.delay:(this.lastDelay+this.options.delay).min(this.options.limit),this.timer=b.delay(this.lastDelay,this)};return this.addEvent("complete",this.completeCheck)},stopTimer:function(){clearTimeout(this.timer);return this.removeEvent("complete",this.completeCheck)}});var Asset={javascript:function(a,b){b||(b={});var c=new Element("script",{src:a,type:"text/javascript"}),d=b.document||document,e=0,f=b.onload||b.onLoad,g=f?function(){++e==1&&f.call(this)}:function(){};delete b.onload,delete b.onLoad,delete b.document;return c.addEvents({load:g,readystatechange:function(){["loaded","complete"].contains(this.readyState)&&g.call(this)}}).set(b).inject(d.head)},css:function(a,b){b||(b={});var c=new Element("link",{rel:"stylesheet",media:"screen",type:"text/css",href:a}),d=b.onload||b.onLoad,e=b.document||document;delete b.onload,delete b.onLoad,delete b.document,d&&c.addEvent("load",d);return c.set(b).inject(e.head)},image:function(a,b){b||(b={});var c=new Image,d=document.id(c)||new Element("img");["load","abort","error"].each(function(a){var e="on"+a,f="on"+a.capitalize(),g=b[e]||b[f]||function(){};delete b[f],delete b[e],c[e]=function(){!c||(d.parentNode||(d.width=c.width,d.height=c.height),c=c.onload=c.onabort=c.onerror=null,g.delay(1,d,d),d.fireEvent(a,d,1))}}),c.src=d.src=a,c&&c.complete&&c.onload.delay(1);return d.set(b)},images:function(a,b){a=Array.from(a);var c=function(){},d=0;b=Object.merge({onComplete:c,onProgress:c,onError:c,properties:{}},b);return new Elements(a.map(function(c,e){return Asset.image(c,Object.append(b.properties,{onload:function(){d++,b.onProgress.call(this,d,e,c),d==a.length&&b.onComplete()},onerror:function(){d++,b.onError.call(this,d,e,c),d==a.length&&b.onComplete()}}))}))}};(function(){var a=this.Color=new Type("Color",function(a,b){arguments.length>=3?(b="rgb",a=Array.slice(arguments,0,3)):typeof a=="string"&&(a.match(/rgb/)?a=a.rgbToHex().hexToRgb(!0):a.match(/hsb/)?a=a.hsbToRgb():a=a.hexToRgb(!0)),b=b||"rgb";switch(b){case"hsb":var c=a;a=a.hsbToRgb(),a.hsb=c;break;case"hex":a=a.hexToRgb(!0)}a.rgb=a.slice(0,3),a.hsb=a.hsb||a.rgbToHsb(),a.hex=a.rgbToHex();return Object.append(a,this)});a.implement({mix:function(){var b=Array.slice(arguments),c=typeOf(b.getLast())=="number"?b.pop():50,d=this.slice();b.each(function(b){b=new a(b);for(var e=0;e<3;e++)d[e]=Math.round(d[e]/100*(100-c)+b[e]/100*c)});return new a(d,"rgb")},invert:function(){return new a(this.map(function(a){return 255-a}))},setHue:function(b){return new a([b,this.hsb[1],this.hsb[2]],"hsb")},setSaturation:function(b){return new a([this.hsb[0],b,this.hsb[2]],"hsb")},setBrightness:function(b){return new a([this.hsb[0],this.hsb[1],b],"hsb")}}),this.$RGB=function(b,c,d){return new a([b,c,d],"rgb")},this.$HSB=function(b,c,d){return new a([b,c,d],"hsb")},this.$HEX=function(b){return new a(b,"hex")},Array.implement({rgbToHsb:function(){var a=this[0],b=this[1],c=this[2],d=0,e=Math.max(a,b,c),f=Math.min(a,b,c),g=e-f,h=e/255,i=e!=0?g/e:0;if(i!=0){var j=(e-a)/g,k=(e-b)/g,l=(e-c)/g;a==e?d=l-k:b==e?d=2+j-l:d=4+k-j,d/=6,d<0&&d++}return[Math.round(d*360),Math.round(i*100),Math.round(h*100)]},hsbToRgb:function(){var a=Math.round(this[2]/100*255);if(this[1]==0)return[a,a,a];var b=this[0]%360,c=b%60,d=Math.round(this[2]*(100-this[1])/1e4*255),e=Math.round(this[2]*(6e3-this[1]*c)/6e5*255),f=Math.round(this[2]*(6e3-this[1]*(60-c))/6e5*255);switch(Math.floor(b/60)){case 0:return[a,f,d];case 1:return[e,a,d];case 2:return[d,a,f];case 3:return[d,e,a];case 4:return[f,d,a];case 5:return[a,d,e]}return!1}}),String.implement({rgbToHsb:function(){var a=this.match(/\d{1,3}/g);return a?a.rgbToHsb():null},hsbToRgb:function(){var a=this.match(/\d{1,3}/g);return a?a.hsbToRgb():null}})})(),function(){this.Group=new Class({initialize:function(){this.instances=Array.flatten(arguments),this.events={},this.checker={}},addEvent:function(a,b){this.checker[a]=this.checker[a]||{},this.events[a]=this.events[a]||[];if(this.events[a].contains(b))return!1;this.events[a].push(b),this.instances.each(function(b,c){b.addEvent(a,this.check.pass([a,b,c],this))},this);return this},check:function(a,b,c){this.checker[a][c]=!0;var d=this.instances.every(function(b,c){return this.checker[a][c]||!1},this);!d||(this.checker[a]={},this.events[a].each(function(a){a.call(this,this.instances,b)},this))}})}(),Hash.Cookie=new Class({Extends:Cookie,options:{autoSave:!0},initialize:function(a,b){this.parent(a,b),this.load()},save:function(){var a=JSON.encode(this.hash);if(!a||a.length>4096)return!1;a=="{}"?this.dispose():this.write(a);return!0},load:function(){this.hash=new Hash(JSON.decode(this.read(),!0));return this}}),Hash.each(Hash.prototype,function(a,b){typeof a=="function"&&Hash.Cookie.implement(b,function(){var b=a.apply(this.hash,arguments);this.options.autoSave&&this.save();return b})}),function(){var a=this.Table=function(){this.length=0;var a=[],b=[];this.set=function(c,d){var e=a.indexOf(c);if(e==-1){var f=a.length;a[f]=c,b[f]=d,this.length++}else b[e]=d;return this},this.get=function(c){var d=a.indexOf(c);return d==-1?null:b[d]},this.erase=function(c){var d=a.indexOf(c);if(d!=-1){this.length--,a.splice(d,1);return b.splice(d,1)[0]}return null},this.each=this.forEach=function(c,d){for(var e=0,f=this.length;e1?$$(a):a.length?document.id(a[0]):!1},setHeaders:function(a){this.set("headers",a);return this},setFooters:function(a){this.set("footers",a);return this},push:function(a,b,c,d,e){if(typeOf(a)=="element"&&a.get("tag")=="tr"){a.inject(c||this.body,e);return{tr:a,tds:a.getChildren("td")}}var f=a.map(function(a){var b=new Element(d||"td",a?a.properties:{}),c=(a?a.content:"")||a,e=typeOf(c);["element","array","collection","elements"].contains(e)?b.adopt(c):b.set("html",c);return b});return{tr:(new Element("tr",b)).inject(c||this.body,e).adopt(f),tds:f}}});["adopt","inject","wraps","grab","replaces","dispose"].each(function(a){HtmlTable.implement(a,function(){this.element[a].apply(this.element,arguments);return this})}),HtmlTable=Class.refactor(HtmlTable,{options:{classZebra:"table-tr-odd",zebra:!0},initialize:function(){this.previous.apply(this,arguments);if(this.occluded)return this.occluded;this.options.zebra&&this.updateZebras()},updateZebras:function(){Array.each(this.body.rows,this.zebra,this)},setRowStyle:function(a,b){this.previous&&this.previous(a,b),this.zebra(a,b)},zebra:function(a,b){return a[(b%2?"remove":"add")+"Class"](this.options.classZebra)},push:function(){var a=this.previous.apply(this,arguments);this.options.zebra&&this.updateZebras();return a}}),HtmlTable=Class.refactor(HtmlTable,{options:{sortIndex:0,sortReverse:!1,parsers:[],defaultParser:"string",classSortable:"table-sortable",classHeadSort:"table-th-sort",classHeadSortRev:"table-th-sort-rev",classNoSort:"table-th-nosort",classGroupHead:"table-tr-group-head",classGroup:"table-tr-group",classCellSort:"table-td-sort",classSortSpan:"table-th-sort-span",sortable:!1,thSelector:"th"},initialize:function(){this.previous.apply(this,arguments);if(this.occluded)return this.occluded;this.sorted={index:null,dir:1},this.bound={headClick:this.headClick.bind(this)},this.sortSpans=new Elements,this.options.sortable&&(this.enableSort(),this.options.sortIndex!=null&&this.sort(this.options.sortIndex,this.options.sortReverse))},attachSorts:function(a){this.detachSorts(),a!==!1&&this.element.addEvent("click:relay("+this.options.thSelector+")",this.bound.headClick)},detachSorts:function(){this.element.removeEvents("click:relay("+this.options.thSelector+")")},setHeaders:function(){this.previous.apply(this,arguments),this.sortEnabled&&this.setParsers()},setParsers:function(){this.parsers=this.detectParsers()},detectParsers:function(){return this.head&&this.head.getElements(this.options.thSelector).flatten().map(this.detectParser,this)},detectParser:function(a,b){if(a.hasClass(this.options.classNoSort)||a.retrieve("htmltable-parser"))return a.retrieve("htmltable-parser");var c=new Element("div");c.adopt(a.childNodes).inject(a);var d=(new Element("span",{"class":this.options.classSortSpan})).inject(c,"top");this.sortSpans.push(d);var e=this.options.parsers[b],f=this.body.rows,g;switch(typeOf(e)){case"function":e={convert:e},g=!0;break;case"string":e=e,g=!0}g||HtmlTable.ParserPriority.some(function(a){var c=HtmlTable.Parsers[a],d=c.match;if(!d)return!1;for(var g=0,h=f.length;gh&&a[f].position--}},setRowStyle:function(a,b){this.previous(a,b),a.cells[this.sorted.index].addClass(this.options.classCellSort)},setGroupSort:function(a,b,c){a==c.value?b.removeClass(this.options.classGroupHead).addClass(this.options.classGroup):b.removeClass(this.options.classGroup).addClass(this.options.classGroupHead);return c.value},getParser:function(){var a=this.parsers[this.sorted.index];return typeOf(a)=="string"?HtmlTable.Parsers[a]:a},sort:function(a,b,c){if(!!this.head){c||(this.clearSort(),this.setSortedState(a,b),this.setHeadSort(!0));var d=this.getParser();if(!d)return;var e;Browser.ie||(e=this.body.getParent(),this.body.dispose());var f=this.parseData(d).sort(function(a,b){if(a.value===b.value)return 0;return a.value>b.value?1:-1});this.sorted.reverse==(d==HtmlTable.Parsers["input-checked"])&&f.reverse(!0),this.setRowSort(f,c),e&&e.grab(this.body),this.fireEvent("stateChanged");return this.fireEvent("sort",[this.body,this.sorted.index])}},parseData:function(a){return Array.map(this.body.rows,function(b,c){var d=a.convert.call(document.id(b.cells[this.sorted.index]));return{position:c,value:d}},this)},clearSort:function(){this.setHeadSort(!1),this.body.getElements("td").removeClass(this.options.classCellSort)},reSort:function(){this.sortEnabled&&this.sort.call(this,this.sorted.index,this.sorted.reverse);return this},enableSort:function(){this.element.addClass(this.options.classSortable),this.attachSorts(!0),this.setParsers(),this.sortEnabled=!0;return this},disableSort:function(){this.element.removeClass(this.options.classSortable),this.attachSorts(!1),this.sortSpans.each(function(a){a.destroy()}),this.sortSpans.empty(),this.sortEnabled=!1;return this}}),HtmlTable.ParserPriority=["date","input-checked","input-value","float","number"],HtmlTable.Parsers={date:{match:/^\d{2}[-\/ ]\d{2}[-\/ ]\d{2,4}$/,convert:function(){var a=Date.parse(this.get("text").stripTags());return typeOf(a)=="date"?a.format("db"):""},type:"date"},"input-checked":{match:/ type="(radio|checkbox)" /,convert:function(){return this.getElement("input").checked}},"input-value":{match:/=b.length&&(c=null);return c},attachSelects:function(a){a=a!=null?a:!0;var b=a?"addEvents":"removeEvents";this.element[b]({mouseleave:this.bound.mouseleave,click:this.bound.activateKeyboard}),this.body[b]({"click:relay(tr)":this.bound.clickRow,"contextmenu:relay(tr)":this.bound.clickRow});if(this.options.useKeyboard||this.keyboard){this.keyboard||(this.keyboard=new Keyboard);if(!this.selectKeysDefined){this.selectKeysDefined=!0;var c,d,e=function(a){var b=function(e){clearTimeout(c),e.preventDefault();var f=this.body.rows[this.getRowByOffset(a)];e.shift&&f&&this.isSelected(f)?(this.deselectRow(this.focused),this.focused=f):(f&&(!this.options.allowMultiSelect||!e.shift)&&this.selectNone(),this.shiftFocus(a,e)),d?c=b.delay(100,this,e):c=function(){d=!0,b(e)}.delay(400)}.bind(this);return b}.bind(this),f=function(){clearTimeout(c),d=!1};this.keyboard.addEvents({"keydown:shift+up":e(-1),"keydown:shift+down":e(1),"keyup:shift+up":f,"keyup:shift+down":f,"keyup:up":f,"keyup:down":f});var g="";this.options.allowMultiSelect&&this.options.shiftForMultiSelect&&this.options.useKeyboard&&(g=" (Shift multi-selects)."),this.keyboard.addShortcuts({"Select Previous Row":{keys:"up",shortcut:"up arrow",handler:e(-1),description:"Select the previous row in the table."+g},"Select Next Row":{keys:"down",shortcut:"down arrow",handler:e(1),description:"Select the next row in the table."+g}})}this.keyboard[a?"activate":"deactivate"]()}this.updateSelects()},mouseleave:function(){this.hovered&&this.leaveRow(this.hovered)}});var Scroller=new Class({Implements:[Events,Options],options:{area:20,velocity:1,onChange:function(a,b){this.element.scrollTo(a,b)},fps:50},initialize:function(a,b){this.setOptions(b),this.element=document.id(a),this.docBody=document.id(this.element.getDocument().body),this.listener=typeOf(this.element)!="element"?this.docBody:this.element,this.timer=null,this.bound={attach:this.attach.bind(this),detach:this.detach.bind(this),getCoords:this.getCoords.bind(this)}},start:function(){this.listener.addEvents({mouseover:this.bound.attach,mouseleave:this.bound.detach});return this},stop:function(){this.listener.removeEvents({mouseover:this.bound.attach,mouseleave:this.bound.detach}),this.detach(),this.timer=clearInterval(this.timer);return this},attach:function(){this.listener.addEvent("mousemove",this.bound.getCoords)},detach:function(){this.listener.removeEvent("mousemove",this.bound.getCoords),this.timer=clearInterval(this.timer)},getCoords:function(a){this.page=this.listener.get("tag")=="body"?a.client:a.page,this.timer||(this.timer=this.scroll.periodical(Math.round(1e3/this.options.fps),this))},scroll:function(){var a=this.element.getSize(),b=this.element.getScroll(),c=this.element!=this.docBody?this.element.getOffsets():{x:0,y:0},d=this.element.getScrollSize(),e={x:0,y:0},f=this.options.area.top||this.options.area,g=this.options.area.bottom||this.options.area;for(var h in this.page)this.page[h]a[h]+c[h]&&b[h]+a[h]!=d[h]&&(e[h]=(this.page[h]-a[h]+g-c[h])*this.options.velocity),e[h]=e[h].round();(e.y||e.x)&&this.fireEvent("change",[b.x+e.x,b.y+e.y])}});(function(){var a=function(a,b){return a?typeOf(a)=="function"?a(b):b.get(a):""};this.Tips=new Class({Implements:[Events,Options],options:{onShow:function(){this.tip.setStyle("display","block")},onHide:function(){this.tip.setStyle("display","none")},title:"title",text:function(a){return a.get("rel")||a.get("href")},showDelay:100,hideDelay:100,className:"tip-wrap",offset:{x:16,y:16},windowPadding:{x:0,y:0},fixed:!1},initialize:function(){var a=Array.link(arguments,{options:Type.isObject,elements:function(a){return a!=null}});this.setOptions(a.options),a.elements&&this.attach(a.elements),this.container=new Element("div",{"class":"tip"})},toElement:function(){if(this.tip)return this.tip;this.tip=(new Element("div",{"class":this.options.className,styles:{position:"absolute",top:0,left:0}})).adopt(new Element("div",{"class":"tip-top"}),this.container,new Element("div",{"class":"tip-bottom"}));return this.tip},attach:function(b){$$(b).each(function(b){var c=a(this.options.title,b),d=a(this.options.text,b);b.set("title","").store("tip:native",c).retrieve("tip:title",c),b.retrieve("tip:text",d),this.fireEvent("attach",[b]);var e=["enter","leave"];this.options.fixed||e.push("move"),e.each(function(a){var c=b.retrieve("tip:"+a);c||(c=function(c){this["element"+a.capitalize()].apply(this,[c,b])}.bind(this)),b.store("tip:"+a,c).addEvent("mouse"+a,c)},this)},this);return this},detach:function(a){$$(a).each(function(a){["enter","leave","move"].each(function(b){a.removeEvent("mouse"+b,a.retrieve("tip:"+b)).eliminate("tip:"+b)}),this.fireEvent("detach",[a]);if(this.options.title=="title"){var b=a.retrieve("tip:native");b&&a.set("title",b)}},this);return this},elementEnter:function(a,b){clearTimeout(this.timer),this.timer=function(){this.container.empty(),["title","text"].each(function(a){var c=b.retrieve("tip:"+a),d=this["_"+a+"Element"]=(new Element("div",{"class":"tip-"+a})).inject(this.container);c&&this.fill(d,c)},this),this.show(b),this.position(this.options.fixed?{page:b.getPosition()}:a)}.delay(this.options.showDelay,this)},elementLeave:function(a,b){clearTimeout(this.timer),this.timer=this.hide.delay(this.options.hideDelay,this,b),this.fireForParent(a,b)},setTitle:function(a){this._titleElement&&(this._titleElement.empty(),this.fill(this._titleElement,a));return this},setText:function(a){this._textElement&&(this._textElement.empty(),this.fill(this._textElement,a));return this},fireForParent:function(a,b){b=b.getParent();!!b&&b!=document.body&&(b.retrieve("tip:enter")?b.fireEvent("mouseenter",a):this.fireForParent(a,b))},elementMove:function(a,b){this.position(a)},position:function(a){this.tip||document.id(this);var b=window.getSize(),c=window.getScroll(),d={x:this.tip.offsetWidth,y:this.tip.offsetHeight},e={x:"left",y:"top"},f={y:!1,x2:!1,y2:!1,x:!1},g={};for(var h in e)g[e[h]]=a.page[h]+this.options.offset[h],g[e[h]]<0&&(f[h]=!0),g[e[h]]+d[h]-c[h]>b[h]-this.options.windowPadding[h]&&(g[e[h]]=a.page[h]-this.options.offset[h]-d[h],f[h+"2"]=!0);this.fireEvent("bound",f),this.tip.setStyles(g)},fill:function(a,b){typeof b=="string"?a.set("html",b):a.adopt(b)},show:function(a){this.tip||document.id(this),this.tip.getParent()||this.tip.inject(document.body),this.fireEvent("show",[this.tip,a])},hide:function(a){this.tip||document.id(this),this.fireEvent("hide",[this.tip,a])}})})(),function(){var a={json:JSON.decode};Locale.Set.defineParser=function(b,c){a[b]=c},Locale.Set.from=function(b,c){if(instanceOf(b,Locale.Set))return b;!c&&typeOf(b)=="string"&&(c="json"),a[c]&&(b=a[c](b));var d=new Locale.Set;d.sets=b.sets||{},b.inherits&&(d.inherits.locales=Array.from(b.inherits.locales),d.inherits.sets=b.inherits.sets||{});return d}}(),Locale.define("ar","Date",{dateOrder:["date","month","year"],shortDate:"%d/%m/%Y",shortTime:"%H:%M"}),Locale.define("ar","FormValidator",{required:"هذا الحقل مطلوب.",minLength:"رجاءً إدخال {minLength} أحرف على الأقل (تم إدخال {length} أحرف).",maxLength:"الرجاء عدم إدخال أكثر من {maxLength} أحرف (تم إدخال {length} أحرف).",integer:"الرجاء إدخال عدد صحيح في هذا الحقل. أي رقم ذو كسر عشري أو مئوي (مثال 1.25 ) غير مسموح.",numeric:'الرجاء إدخال قيم رقمية في هذا الحقل (مثال "1" أو "1.1" أو "-1" أو "-1.1").',digits:"الرجاء أستخدام قيم رقمية وعلامات ترقيمية فقط في هذا الحقل (مثال, رقم هاتف مع نقطة أو شحطة)",alpha:"الرجاء أستخدام أحرف فقط (ا-ي) في هذا الحقل. أي فراغات أو علامات غير مسموحة.",alphanum:"الرجاء أستخدام أحرف فقط (ا-ي) أو أرقام (0-9) فقط في هذا الحقل. أي فراغات أو علامات غير مسموحة.",dateSuchAs:"الرجاء إدخال تاريخ صحيح كالتالي {date}",dateInFormatMDY:"الرجاء إدخال تاريخ صحيح (مثال, 31-12-1999)",email:"الرجاء إدخال بريد إلكتروني صحيح.",url:"الرجاء إدخال عنوان إلكتروني صحيح مثل http://www.example.com",currencyDollar:"الرجاء إدخال قيمة $ صحيحة. مثال, 100.00$",oneRequired:"الرجاء إدخال قيمة في أحد هذه الحقول على الأقل.",errorPrefix:"خطأ: ",warningPrefix:"تحذير: "}),Locale.define("ca-CA","Date",{months:["Gener","Febrer","Març","Abril","Maig","Juny","Juli","Agost","Setembre","Octubre","Novembre","Desembre"],months_abbr:["gen.","febr.","març","abr.","maig","juny","jul.","ag.","set.","oct.","nov.","des."],days:["Diumenge","Dilluns","Dimarts","Dimecres","Dijous","Divendres","Dissabte"],days_abbr:["dg","dl","dt","dc","dj","dv","ds"],dateOrder:["date","month","year"],shortDate:"%d/%m/%Y",shortTime:"%H:%M",AM:"AM",PM:"PM",firstDayOfWeek:0,ordinal:"",lessThanMinuteAgo:"fa menys d`un minut",minuteAgo:"fa un minut",minutesAgo:"fa {delta} minuts",hourAgo:"fa un hora",hoursAgo:"fa unes {delta} hores",dayAgo:"fa un dia",daysAgo:"fa {delta} dies",lessThanMinuteUntil:"menys d`un minut des d`ara",minuteUntil:"un minut des d`ara",minutesUntil:"{delta} minuts des d`ara",hourUntil:"un hora des d`ara",hoursUntil:"unes {delta} hores des d`ara",dayUntil:"1 dia des d`ara",daysUntil:"{delta} dies des d`ara"}),Locale.define("ca-CA","FormValidator",{required:"Aquest camp es obligatori.",minLength:"Per favor introdueix al menys {minLength} caracters (has introduit {length} caracters).",maxLength:"Per favor introdueix no mes de {maxLength} caracters (has introduit {length} caracters).",integer:"Per favor introdueix un nombre enter en aquest camp. Nombres amb decimals (p.e. 1,25) no estan permesos.",numeric:'Per favor introdueix sols valors numerics en aquest camp (p.e. "1" o "1,1" o "-1" o "-1,1").',digits:"Per favor usa sols numeros i puntuacio en aquest camp (per exemple, un nombre de telefon amb guions i punts no esta permes).",alpha:"Per favor utilitza lletres nomes (a-z) en aquest camp. No s´admiteixen espais ni altres caracters.",alphanum:"Per favor, utilitza nomes lletres (a-z) o numeros (0-9) en aquest camp. No s´admiteixen espais ni altres caracters.",dateSuchAs:"Per favor introdueix una data valida com {date}",dateInFormatMDY:'Per favor introdueix una data valida com DD/MM/YYYY (p.e. "31/12/1999")',email:'Per favor, introdueix una adreça de correu electronic valida. Per exemple, "fred@domain.com".',url:"Per favor introdueix una URL valida com http://www.example.com.",currencyDollar:"Per favor introdueix una quantitat valida de €. Per exemple €100,00 .",oneRequired:"Per favor introdueix alguna cosa per al menys una d´aquestes entrades.",errorPrefix:"Error: ",warningPrefix:"Avis: ",noSpace:"No poden haver espais en aquesta entrada.",reqChkByNode:"No hi han elements seleccionats.",requiredChk:"Aquest camp es obligatori.",reqChkByName:"Per favor selecciona una {label}.",match:"Aquest camp necessita coincidir amb el camp {matchName}",startDate:"la data de inici",endDate:"la data de fi",currendDate:"la data actual",afterDate:"La data deu ser igual o posterior a {label}.",beforeDate:"La data deu ser igual o anterior a {label}.",startMonth:"Per favor selecciona un mes d´orige",sameMonth:"Aquestes dos dates deuen estar dins del mateix mes - deus canviar una o altra."}),function(){var a=function(a,b,c,d){return a==1?b:a==2||a==3||a==4?c:d};Locale.define("cs-CZ","Date",{months:["Leden","Únor","Březen","Duben","Květen","Červen","Červenec","Srpen","Září","Říjen","Listopad","Prosinec"],months_abbr:["ledna","února","března","dubna","května","června","července","srpna","září","října","listopadu","prosince"],days:["Neděle","Pondělí","Úterý","Středa","Čtvrtek","Pátek","Sobota"],days_abbr:["ne","po","út","st","čt","pá","so"],dateOrder:["date","month","year"],shortDate:"%d.%m.%Y",shortTime:"%H:%M",AM:"dop.",PM:"odp.",firstDayOfWeek:1,ordinal:".",lessThanMinuteAgo:"před chvílí",minuteAgo:"přibližně před minutou",minutesAgo:function(b){return"před {delta} "+a(b,"minutou","minutami","minutami")},hourAgo:"přibližně před hodinou",hoursAgo:function(b){return"před {delta} "+a(b,"hodinou","hodinami","hodinami")},dayAgo:"před dnem",daysAgo:function(b){return"před {delta} "+a(b,"dnem","dny","dny")},weekAgo:"před týdnem",weeksAgo:function(b){return"před {delta} "+a(b,"týdnem","týdny","týdny")},monthAgo:"před měsícem",monthsAgo:function(b){return"před {delta} "+a(b,"měsícem","měsíci","měsíci")},yearAgo:"před rokem",yearsAgo:function(b){return"před {delta} "+a(b,"rokem","lety","lety")},lessThanMinuteUntil:"za chvíli",minuteUntil:"přibližně za minutu",minutesUntil:function(b){return"za {delta} "+a(b,"minutu","minuty","minut")},hourUntil:"přibližně za hodinu",hoursUntil:function(b){return"za {delta} "+a(b,"hodinu","hodiny","hodin")},dayUntil:"za den",daysUntil:function(b){return"za {delta} "+a(b,"den","dny","dnů")},weekUntil:"za týden",weeksUntil:function(b){return"za {delta} "+a(b,"týden","týdny","týdnů")},monthUntil:"za měsíc",monthsUntil:function(b){return"za {delta} "+a(b,"měsíc","měsíce","měsíců")},yearUntil:"za rok",yearsUntil:function(b){return"za {delta} "+a(b,"rok","roky","let")}})}(),Locale.define("cs-CZ","FormValidator",{required:"Tato položka je povinná.",minLength:"Zadejte prosím alespoň {minLength} znaků (napsáno {length} znaků).",maxLength:"Zadejte prosím méně než {maxLength} znaků (nápsáno {length} znaků).",integer:"Zadejte prosím celé číslo. Desetinná čísla (např. 1.25) nejsou povolena.",numeric:'Zadejte jen číselné hodnoty (tj. "1" nebo "1.1" nebo "-1" nebo "-1.1").',digits:"Zadejte prosím pouze čísla a interpunkční znaménka(například telefonní číslo s pomlčkami nebo tečkami je povoleno).",alpha:"Zadejte prosím pouze písmena (a-z). Mezery nebo jiné znaky nejsou povoleny.",alphanum:"Zadejte prosím pouze písmena (a-z) nebo číslice (0-9). Mezery nebo jiné znaky nejsou povoleny.",dateSuchAs:"Zadejte prosím platné datum jako {date}",dateInFormatMDY:'Zadejte prosím platné datum jako MM / DD / RRRR (tj. "12/31/1999")',email:'Zadejte prosím platnou e-mailovou adresu. Například "fred@domain.com".',url:"Zadejte prosím platnou URL adresu jako http://www.example.com.",currencyDollar:"Zadejte prosím platnou částku. Například $100.00.",oneRequired:"Zadejte prosím alespoň jednu hodnotu pro tyto položky.",errorPrefix:"Chyba: ",warningPrefix:"Upozornění: ",noSpace:"V této položce nejsou povoleny mezery",reqChkByNode:"Nejsou vybrány žádné položky.",requiredChk:"Tato položka je vyžadována.",reqChkByName:"Prosím vyberte {label}.",match:"Tato položka se musí shodovat s položkou {matchName}",startDate:"datum zahájení",endDate:"datum ukončení",currendDate:"aktuální datum",afterDate:"Datum by mělo být stejné nebo větší než {label}.",beforeDate:"Datum by mělo být stejné nebo menší než {label}.",startMonth:"Vyberte počáteční měsíc.",sameMonth:"Tyto dva datumy musí být ve stejném měsíci - změňte jeden z nich.",creditcard:"Zadané číslo kreditní karty je neplatné. Prosím opravte ho. Bylo zadáno {length} čísel."}),Locale.define("da-DK","Date",{months:["Januar","Februar","Marts","April","Maj","Juni","Juli","August","September","Oktober","November","December"],months_abbr:["jan.","feb.","mar.","apr.","maj.","jun.","jul.","aug.","sep.","okt.","nov.","dec."],days:["Søndag","Mandag","Tirsdag","Onsdag","Torsdag","Fredag","Lørdag"],days_abbr:["søn","man","tir","ons","tor","fre","lør"],dateOrder:["date","month","year"],shortDate:"%d-%m-%Y",shortTime:"%H:%M",AM:"AM",PM:"PM",firstDayOfWeek:1,ordinal:".",lessThanMinuteAgo:"mindre end et minut siden",minuteAgo:"omkring et minut siden",minutesAgo:"{delta} minutter siden",hourAgo:"omkring en time siden",hoursAgo:"omkring {delta} timer siden",dayAgo:"1 dag siden",daysAgo:"{delta} dage siden",weekAgo:"1 uge siden",weeksAgo:"{delta} uger siden",monthAgo:"1 måned siden",monthsAgo:"{delta} måneder siden",yearAgo:"1 år siden",yearsAgo:"{delta} år siden",lessThanMinuteUntil:"mindre end et minut fra nu",minuteUntil:"omkring et minut fra nu",minutesUntil:"{delta} minutter fra nu",hourUntil:"omkring en time fra nu",hoursUntil:"omkring {delta} timer fra nu",dayUntil:"1 dag fra nu",daysUntil:"{delta} dage fra nu",weekUntil:"1 uge fra nu",weeksUntil:"{delta} uger fra nu",monthUntil:"1 måned fra nu",monthsUntil:"{delta} måneder fra nu",yearUntil:"1 år fra nu",yearsUntil:"{delta} år fra nu"}),Locale.define("da-DK","FormValidator",{required:"Feltet skal udfyldes.",minLength:"Skriv mindst {minLength} tegn (du skrev {length} tegn).",maxLength:"Skriv maksimalt {maxLength} tegn (du skrev {length} tegn).",integer:"Skriv et tal i dette felt. Decimal tal (f.eks. 1.25) er ikke tilladt.",numeric:'Skriv kun tal i dette felt (i.e. "1" eller "1.1" eller "-1" eller "-1.1").',digits:"Skriv kun tal og tegnsætning i dette felt (eksempel, et telefon nummer med bindestreg eller punktum er tilladt).",alpha:"Skriv kun bogstaver (a-z) i dette felt. Mellemrum og andre tegn er ikke tilladt.",alphanum:"Skriv kun bogstaver (a-z) eller tal (0-9) i dette felt. Mellemrum og andre tegn er ikke tilladt.",dateSuchAs:"Skriv en gyldig dato som {date}",dateInFormatMDY:'Skriv dato i formatet DD-MM-YYYY (f.eks. "31-12-1999")',email:'Skriv en gyldig e-mail adresse. F.eks "fred@domain.com".',url:'Skriv en gyldig URL adresse. F.eks "http://www.example.com".',currencyDollar:"Skriv et gldigt beløb. F.eks Kr.100.00 .",oneRequired:"Et eller flere af felterne i denne formular skal udfyldes.",errorPrefix:"Fejl: ",warningPrefix:"Advarsel: ",noSpace:"Der må ikke benyttes mellemrum i dette felt.",reqChkByNode:"Foretag et valg.",requiredChk:"Dette felt skal udfyldes.",reqChkByName:"Vælg en {label}.",match:"Dette felt skal matche {matchName} feltet",startDate:"start dato",endDate:"slut dato",currendDate:"dags dato",afterDate:"Datoen skal være større end eller lig med {label}.",beforeDate:"Datoen skal være mindre end eller lig med {label}.",startMonth:"Vælg en start måned",sameMonth:"De valgte datoer skal være i samme måned - skift en af dem."}),Locale.define("de-DE","Date",{months:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],months_abbr:["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],days:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],days_abbr:["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."],dateOrder:["date","month","year"],shortDate:"%d.%m.%Y",shortTime:"%H:%M",AM:"vormittags",PM:"nachmittags",firstDayOfWeek:1,ordinal:".",lessThanMinuteAgo:"vor weniger als einer Minute",minuteAgo:"vor einer Minute",minutesAgo:"vor {delta} Minuten",hourAgo:"vor einer Stunde",hoursAgo:"vor {delta} Stunden",dayAgo:"vor einem Tag",daysAgo:"vor {delta} Tagen",weekAgo:"vor einer Woche",weeksAgo:"vor {delta} Wochen",monthAgo:"vor einem Monat",monthsAgo:"vor {delta} Monaten",yearAgo:"vor einem Jahr",yearsAgo:"vor {delta} Jahren",lessThanMinuteUntil:"in weniger als einer Minute",minuteUntil:"in einer Minute",minutesUntil:"in {delta} Minuten",hourUntil:"in ca. einer Stunde",hoursUntil:"in ca. {delta} Stunden",dayUntil:"in einem Tag",daysUntil:"in {delta} Tagen",weekUntil:"in einer Woche",weeksUntil:"in {delta} Wochen",monthUntil:"in einem Monat",monthsUntil:"in {delta} Monaten",yearUntil:"in einem Jahr",yearsUntil:"in {delta} Jahren"}),Locale.define("de-CH").inherit("de-DE","Date"),Locale.define("de-CH","FormValidator",{required:"Dieses Feld ist obligatorisch.",minLength:"Geben Sie bitte mindestens {minLength} Zeichen ein (Sie haben {length} Zeichen eingegeben).",maxLength:"Bitte geben Sie nicht mehr als {maxLength} Zeichen ein (Sie haben {length} Zeichen eingegeben).",integer:"Geben Sie bitte eine ganze Zahl ein. Dezimalzahlen (z.B. 1.25) sind nicht erlaubt.",numeric:"Geben Sie bitte nur Zahlenwerte in dieses Eingabefeld ein (z.B. "1", "1.1", "-1" oder "-1.1").",digits:"Benutzen Sie bitte nur Zahlen und Satzzeichen in diesem Eingabefeld (erlaubt ist z.B. eine Telefonnummer mit Bindestrichen und Punkten).",alpha:"Benutzen Sie bitte nur Buchstaben (a-z) in diesem Feld. Leerzeichen und andere Zeichen sind nicht erlaubt.",alphanum:"Benutzen Sie bitte nur Buchstaben (a-z) und Zahlen (0-9) in diesem Eingabefeld. Leerzeichen und andere Zeichen sind nicht erlaubt.",dateSuchAs:"Geben Sie bitte ein gültiges Datum ein. Wie zum Beispiel {date}",dateInFormatMDY:"Geben Sie bitte ein gültiges Datum ein. Wie zum Beispiel TT.MM.JJJJ (z.B. "31.12.1999")",email:"Geben Sie bitte eine gültige E-Mail Adresse ein. Wie zum Beispiel "maria@bernasconi.ch".",url:"Geben Sie bitte eine gültige URL ein. Wie zum Beispiel http://www.example.com.",currencyDollar:"Geben Sie bitte einen gültigen Betrag in Schweizer Franken ein. Wie zum Beispiel 100.00 CHF .",oneRequired:"Machen Sie für mindestens eines der Eingabefelder einen Eintrag.",errorPrefix:"Fehler: ",warningPrefix:"Warnung: ",noSpace:"In diesem Eingabefeld darf kein Leerzeichen sein.",reqChkByNode:"Es wurden keine Elemente gewählt.",requiredChk:"Dieses Feld ist obligatorisch.",reqChkByName:"Bitte wählen Sie ein {label}.",match:"Dieses Eingabefeld muss mit dem Feld {matchName} übereinstimmen.",startDate:"Das Anfangsdatum",endDate:"Das Enddatum",currendDate:"Das aktuelle Datum",afterDate:"Das Datum sollte zur gleichen Zeit oder später sein {label}.",beforeDate:"Das Datum sollte zur gleichen Zeit oder früher sein {label}.",startMonth:"Wählen Sie bitte einen Anfangsmonat",sameMonth:"Diese zwei Datumsangaben müssen im selben Monat sein - Sie müssen eine von beiden verändern.",creditcard:"Die eingegebene Kreditkartennummer ist ungültig. Bitte überprüfen Sie diese und versuchen Sie es erneut. {length} Zahlen eingegeben."}),Locale.define("de-DE","FormValidator",{required:"Dieses Eingabefeld muss ausgefüllt werden.",minLength:"Geben Sie bitte mindestens {minLength} Zeichen ein (Sie haben nur {length} Zeichen eingegeben).",maxLength:"Geben Sie bitte nicht mehr als {maxLength} Zeichen ein (Sie haben {length} Zeichen eingegeben).",integer:'Geben Sie in diesem Eingabefeld bitte eine ganze Zahl ein. Dezimalzahlen (z.B. "1.25") sind nicht erlaubt.',numeric:'Geben Sie in diesem Eingabefeld bitte nur Zahlenwerte (z.B. "1", "1.1", "-1" oder "-1.1") ein.',digits:"Geben Sie in diesem Eingabefeld bitte nur Zahlen und Satzzeichen ein (z.B. eine Telefonnummer mit Bindestrichen und Punkten ist erlaubt).",alpha:"Geben Sie in diesem Eingabefeld bitte nur Buchstaben (a-z) ein. Leerzeichen und andere Zeichen sind nicht erlaubt.",alphanum:"Geben Sie in diesem Eingabefeld bitte nur Buchstaben (a-z) und Zahlen (0-9) ein. Leerzeichen oder andere Zeichen sind nicht erlaubt.",dateSuchAs:'Geben Sie bitte ein gültiges Datum ein (z.B. "{date}").',dateInFormatMDY:'Geben Sie bitte ein gültiges Datum im Format TT.MM.JJJJ ein (z.B. "31.12.1999").',email:'Geben Sie bitte eine gültige E-Mail-Adresse ein (z.B. "max@mustermann.de").',url:'Geben Sie bitte eine gültige URL ein (z.B. "http://www.example.com").',currencyDollar:"Geben Sie bitte einen gültigen Betrag in EURO ein (z.B. 100.00€).",oneRequired:"Bitte füllen Sie mindestens ein Eingabefeld aus.",errorPrefix:"Fehler: ",warningPrefix:"Warnung: ",noSpace:"Es darf kein Leerzeichen in diesem Eingabefeld sein.",reqChkByNode:"Es wurden keine Elemente gewählt.",requiredChk:"Dieses Feld muss ausgefüllt werden.",reqChkByName:"Bitte wählen Sie ein {label}.",match:"Dieses Eingabefeld muss mit dem {matchName} Eingabefeld übereinstimmen.",startDate:"Das Anfangsdatum",endDate:"Das Enddatum",currendDate:"Das aktuelle Datum",afterDate:"Das Datum sollte zur gleichen Zeit oder später sein als {label}.",beforeDate:"Das Datum sollte zur gleichen Zeit oder früher sein als {label}.",startMonth:"Wählen Sie bitte einen Anfangsmonat",sameMonth:"Diese zwei Datumsangaben müssen im selben Monat sein - Sie müssen eines von beiden verändern.",creditcard:"Die eingegebene Kreditkartennummer ist ungültig. Bitte überprüfen Sie diese und versuchen Sie es erneut. {length} Zahlen eingegeben."}),Locale.define("EU","Number",{decimal:",",group:".",currency:{prefix:"€ "}}),Locale.define("de-DE").inherit("EU","Number"),Locale.define("en-GB","Date",{dateOrder:["date","month","year"],shortDate:"%d/%m/%Y",shortTime:"%H:%M"}).inherit("en-US","Date"),Locale.define("es-ES","Date",{months:["Enero","Febrero","Marzo","Abril","Mayo","Junio","Julio","Agosto","Septiembre","Octubre","Noviembre","Diciembre"],months_abbr:["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic"],days:["Domingo","Lunes","Martes","Miércoles","Jueves","Viernes","Sábado"],days_abbr:["dom","lun","mar","mié","juv","vie","sáb"],dateOrder:["date","month","year"],shortDate:"%d/%m/%Y",shortTime:"%H:%M",AM:"AM",PM:"PM",firstDayOfWeek:1,ordinal:"",lessThanMinuteAgo:"hace menos de un minuto",minuteAgo:"hace un minuto",minutesAgo:"hace {delta} minutos",hourAgo:"hace una hora",hoursAgo:"hace unas {delta} horas",dayAgo:"hace un día",daysAgo:"hace {delta} días",weekAgo:"hace una semana",weeksAgo:"hace unas {delta} semanas",monthAgo:"hace un mes",monthsAgo:"hace {delta} meses",yearAgo:"hace un año",yearsAgo:"hace {delta} años",lessThanMinuteUntil:"menos de un minuto desde ahora",minuteUntil:"un minuto desde ahora",minutesUntil:"{delta} minutos desde ahora",hourUntil:"una hora desde ahora",hoursUntil:"unas {delta} horas desde ahora",dayUntil:"un día desde ahora",daysUntil:"{delta} días desde ahora",weekUntil:"una semana desde ahora",weeksUntil:"unas {delta} semanas desde ahora",monthUntil:"un mes desde ahora",monthsUntil:"{delta} meses desde ahora",yearUntil:"un año desde ahora",yearsUntil:"{delta} años desde ahora"}),Locale.define("es-AR").inherit("es-ES","Date"),Locale.define("es-AR","FormValidator",{required:"Este campo es obligatorio.",minLength:"Por favor ingrese al menos {minLength} caracteres (ha ingresado {length} caracteres).",maxLength:"Por favor no ingrese más de {maxLength} caracteres (ha ingresado {length} caracteres).",integer:"Por favor ingrese un número entero en este campo. Números con decimales (p.e. 1,25) no se permiten.",numeric:'Por favor ingrese solo valores numéricos en este campo (p.e. "1" o "1,1" o "-1" o "-1,1").',digits:"Por favor use sólo números y puntuación en este campo (por ejemplo, un número de teléfono con guiones y/o puntos no está permitido).",alpha:"Por favor use sólo letras (a-z) en este campo. No se permiten espacios ni otros caracteres.",alphanum:"Por favor, usa sólo letras (a-z) o números (0-9) en este campo. No se permiten espacios u otros caracteres.",dateSuchAs:"Por favor ingrese una fecha válida como {date}",dateInFormatMDY:'Por favor ingrese una fecha válida, utulizando el formato DD/MM/YYYY (p.e. "31/12/1999")',email:'Por favor, ingrese una dirección de e-mail válida. Por ejemplo, "fred@dominio.com".',url:"Por favor ingrese una URL válida como http://www.example.com.",currencyDollar:"Por favor ingrese una cantidad válida de pesos. Por ejemplo $100,00 .",oneRequired:"Por favor ingrese algo para por lo menos una de estas entradas.",errorPrefix:"Error: ",warningPrefix:"Advertencia: ",noSpace:"No se permiten espacios en este campo.",reqChkByNode:"No hay elementos seleccionados.",requiredChk:"Este campo es obligatorio.",reqChkByName:"Por favor selecciona una {label}.",match:"Este campo necesita coincidir con el campo {matchName}",startDate:"la fecha de inicio",endDate:"la fecha de fin",currendDate:"la fecha actual",afterDate:"La fecha debe ser igual o posterior a {label}.",beforeDate:"La fecha debe ser igual o anterior a {label}.",startMonth:"Por favor selecciona un mes de origen",sameMonth:"Estas dos fechas deben estar en el mismo mes - debes cambiar una u otra."}),Locale.define("es-ES","FormValidator",{required:"Este campo es obligatorio.",minLength:"Por favor introduce al menos {minLength} caracteres (has introducido {length} caracteres).",maxLength:"Por favor introduce no más de {maxLength} caracteres (has introducido {length} caracteres).",integer:"Por favor introduce un número entero en este campo. Números con decimales (p.e. 1,25) no se permiten.",numeric:'Por favor introduce solo valores numéricos en este campo (p.e. "1" o "1,1" o "-1" o "-1,1").',digits:"Por favor usa solo números y puntuación en este campo (por ejemplo, un número de teléfono con guiones y puntos no esta permitido).",alpha:"Por favor usa letras solo (a-z) en este campo. No se admiten espacios ni otros caracteres.",alphanum:"Por favor, usa solo letras (a-z) o números (0-9) en este campo. No se admiten espacios ni otros caracteres.",dateSuchAs:"Por favor introduce una fecha válida como {date}",dateInFormatMDY:'Por favor introduce una fecha válida como DD/MM/YYYY (p.e. "31/12/1999")',email:'Por favor, introduce una dirección de email válida. Por ejemplo, "fred@domain.com".',url:"Por favor introduce una URL válida como http://www.example.com.",currencyDollar:"Por favor introduce una cantidad válida de €. Por ejemplo €100,00 .",oneRequired:"Por favor introduce algo para por lo menos una de estas entradas.",errorPrefix:"Error: ",warningPrefix:"Aviso: ",noSpace:"No pueden haber espacios en esta entrada.",reqChkByNode:"No hay elementos seleccionados.",requiredChk:"Este campo es obligatorio.",reqChkByName:"Por favor selecciona una {label}.",match:"Este campo necesita coincidir con el campo {matchName}",startDate:"la fecha de inicio",endDate:"la fecha de fin",currendDate:"la fecha actual",afterDate:"La fecha debe ser igual o posterior a {label}.",beforeDate:"La fecha debe ser igual o anterior a {label}.",startMonth:"Por favor selecciona un mes de origen",sameMonth:"Estas dos fechas deben estar en el mismo mes - debes cambiar una u otra."}),Locale.define("et-EE","Date",{months:["jaanuar","veebruar","märts" ,"aprill","mai","juuni","juuli","august","september","oktoober","november","detsember"],months_abbr:["jaan","veebr","märts","apr","mai","juuni","juuli","aug","sept","okt","nov","dets"],days:["pühapäev","esmaspäev","teisipäev","kolmapäev","neljapäev","reede","laupäev"],days_abbr:["pühap","esmasp","teisip","kolmap","neljap","reede","laup"],dateOrder:["month","date","year"],shortDate:"%m.%d.%Y",shortTime:"%H:%M",AM:"AM",PM:"PM",firstDayOfWeek:1,ordinal:"",lessThanMinuteAgo:"vähem kui minut aega tagasi",minuteAgo:"umbes minut aega tagasi",minutesAgo:"{delta} minutit tagasi",hourAgo:"umbes tund aega tagasi",hoursAgo:"umbes {delta} tundi tagasi",dayAgo:"1 päev tagasi",daysAgo:"{delta} päeva tagasi",weekAgo:"1 nädal tagasi",weeksAgo:"{delta} nädalat tagasi",monthAgo:"1 kuu tagasi",monthsAgo:"{delta} kuud tagasi",yearAgo:"1 aasta tagasi",yearsAgo:"{delta} aastat tagasi",lessThanMinuteUntil:"vähem kui minuti aja pärast",minuteUntil:"umbes minuti aja pärast",minutesUntil:"{delta} minuti pärast",hourUntil:"umbes tunni aja pärast",hoursUntil:"umbes {delta} tunni pärast",dayUntil:"1 päeva pärast",daysUntil:"{delta} päeva pärast",weekUntil:"1 nädala pärast",weeksUntil:"{delta} nädala pärast",monthUntil:"1 kuu pärast",monthsUntil:"{delta} kuu pärast",yearUntil:"1 aasta pärast",yearsUntil:"{delta} aasta pärast"}),Locale.define("et-EE","FormValidator",{required:"Väli peab olema täidetud.",minLength:"Palun sisestage vähemalt {minLength} tähte (te sisestasite {length} tähte).",maxLength:"Palun ärge sisestage rohkem kui {maxLength} tähte (te sisestasite {length} tähte).",integer:"Palun sisestage väljale täisarv. Kümnendarvud (näiteks 1.25) ei ole lubatud.",numeric:'Palun sisestage ainult numbreid väljale (näiteks "1", "1.1", "-1" või "-1.1").',digits:"Palun kasutage ainult numbreid ja kirjavahemärke (telefoninumbri sisestamisel on lubatud kasutada kriipse ja punkte).",alpha:"Palun kasutage ainult tähti (a-z). Tühikud ja teised sümbolid on keelatud.",alphanum:"Palun kasutage ainult tähti (a-z) või numbreid (0-9). Tühikud ja teised sümbolid on keelatud.",dateSuchAs:"Palun sisestage kehtiv kuupäev kujul {date}",dateInFormatMDY:'Palun sisestage kehtiv kuupäev kujul MM.DD.YYYY (näiteks: "12.31.1999").',email:'Palun sisestage kehtiv e-maili aadress (näiteks: "fred@domain.com").',url:"Palun sisestage kehtiv URL (näiteks: http://www.example.com).",currencyDollar:"Palun sisestage kehtiv $ summa (näiteks: $100.00).",oneRequired:"Palun sisestage midagi vähemalt ühele antud väljadest.",errorPrefix:"Viga: ",warningPrefix:"Hoiatus: ",noSpace:"Väli ei tohi sisaldada tühikuid.",reqChkByNode:"Ükski väljadest pole valitud.",requiredChk:"Välja täitmine on vajalik.",reqChkByName:"Palun valige üks {label}.",match:"Väli peab sobima {matchName} väljaga",startDate:"algkuupäev",endDate:"lõppkuupäev",currendDate:"praegune kuupäev",afterDate:"Kuupäev peab olema võrdne või pärast {label}.",beforeDate:"Kuupäev peab olema võrdne või enne {label}.",startMonth:"Palun valige algkuupäev.",sameMonth:"Antud kaks kuupäeva peavad olema samas kuus - peate muutma ühte kuupäeva."}),Locale.define("fa","Date",{months:["ژانویه","فوریه","مارس","آپریل","مه","ژوئن","ژوئیه","آگوست","سپتامبر","اکتبر","نوامبر","دسامبر"],months_abbr:["1","2","3","4","5","6","7","8","9","10","11","12"],days:["یکشنبه","دوشنبه","سه شنبه","چهارشنبه","پنجشنبه","جمعه","شنبه"],days_abbr:["ي","د","س","چ","پ","ج","ش"],dateOrder:["month","date","year"],shortDate:"%m/%d/%Y",shortTime:"%I:%M%p",AM:"ق.ظ",PM:"ب.ظ",ordinal:"ام",lessThanMinuteAgo:"کمتر از یک دقیقه پیش",minuteAgo:"حدود یک دقیقه پیش",minutesAgo:"{delta} دقیقه پیش",hourAgo:"حدود یک ساعت پیش",hoursAgo:"حدود {delta} ساعت پیش",dayAgo:"1 روز پیش",daysAgo:"{delta} روز پیش",weekAgo:"1 هفته پیش",weeksAgo:"{delta} هفته پیش",monthAgo:"1 ماه پیش",monthsAgo:"{delta} ماه پیش",yearAgo:"1 سال پیش",yearsAgo:"{delta} سال پیش",lessThanMinuteUntil:"کمتر از یک دقیقه از حالا",minuteUntil:"حدود یک دقیقه از حالا",minutesUntil:"{delta} دقیقه از حالا",hourUntil:"حدود یک ساعت از حالا",hoursUntil:"حدود {delta} ساعت از حالا",dayUntil:"1 روز از حالا",daysUntil:"{delta} روز از حالا",weekUntil:"1 هفته از حالا",weeksUntil:"{delta} هفته از حالا",monthUntil:"1 ماه از حالا",monthsUntil:"{delta} ماه از حالا",yearUntil:"1 سال از حالا",yearsUntil:"{delta} سال از حالا"}),Locale.define("fa","FormValidator",{required:"این فیلد الزامی است.",minLength:"شما باید حداقل {minLength} حرف وارد کنید ({length} حرف وارد کرده اید).",maxLength:"لطفا حداکثر {maxLength} حرف وارد کنید (شما {length} حرف وارد کرده اید).",integer:"لطفا از عدد صحیح استفاده کنید. اعداد اعشاری (مانند 1.25) مجاز نیستند.",numeric:'لطفا فقط داده عددی وارد کنید (مانند "1" یا "1.1" یا "1-" یا "1.1-").',digits:"لطفا فقط از اعداد و علامتها در این فیلد استفاده کنید (برای مثال شماره تلفن با خط تیره و نقطه قابل قبول است).",alpha:"لطفا فقط از حروف الفباء برای این بخش استفاده کنید. کاراکترهای دیگر و فاصله مجاز نیستند.",alphanum:"لطفا فقط از حروف الفباء و اعداد در این بخش استفاده کنید. کاراکترهای دیگر و فاصله مجاز نیستند.",dateSuchAs:"لطفا یک تاریخ معتبر مانند {date} وارد کنید.",dateInFormatMDY:'لطفا یک تاریخ معتبر به شکل MM/DD/YYYY وارد کنید (مانند "12/31/1999").',email:'لطفا یک آدرس ایمیل معتبر وارد کنید. برای مثال "fred@domain.com".',url:"لطفا یک URL معتبر مانند http://www.example.com وارد کنید.",currencyDollar:"لطفا یک محدوده معتبر برای این بخش وارد کنید مانند 100.00$ .",oneRequired:"لطفا حداقل یکی از فیلدها را پر کنید.",errorPrefix:"خطا: ",warningPrefix:"هشدار: ",noSpace:"استفاده از فاصله در این بخش مجاز نیست.",reqChkByNode:"موردی انتخاب نشده است.",requiredChk:"این فیلد الزامی است.",reqChkByName:"لطفا یک {label} را انتخاب کنید.",match:"این فیلد باید با فیلد {matchName} مطابقت داشته باشد.",startDate:"تاریخ شروع",endDate:"تاریخ پایان",currendDate:"تاریخ کنونی",afterDate:"تاریخ میبایست برابر یا بعد از {label} باشد",beforeDate:"تاریخ میبایست برابر یا قبل از {label} باشد",startMonth:"لطفا ماه شروع را انتخاب کنید",sameMonth:"این دو تاریخ باید در یک ماه باشند - شما باید یکی یا هر دو را تغییر دهید.",creditcard:"شماره کارت اعتباری که وارد کرده اید معتبر نیست. لطفا شماره را بررسی کنید و مجددا تلاش کنید. {length} رقم وارد شده است."}),Locale.define("fi-FI","Date",{months:["tammikuu","helmikuu","maaliskuu","huhtikuu","toukokuu","kesäkuu","heinäkuu","elokuu","syyskuu","lokakuu","marraskuu","joulukuu"],months_abbr:["tammik.","helmik.","maalisk.","huhtik.","toukok.","kesäk.","heinäk.","elok.","syysk.","lokak.","marrask.","jouluk."],days:["sunnuntai","maanantai","tiistai","keskiviikko","torstai","perjantai","lauantai"],days_abbr:["su","ma","ti","ke","to","pe","la"],dateOrder:["date","month","year"],shortDate:"%d.%m.%Y",shortTime:"%H:%M",AM:"AM",PM:"PM",firstDayOfWeek:1,ordinal:".",lessThanMinuteAgo:"vajaa minuutti sitten",minuteAgo:"noin minuutti sitten",minutesAgo:"{delta} minuuttia sitten",hourAgo:"noin tunti sitten",hoursAgo:"noin {delta} tuntia sitten",dayAgo:"päivä sitten",daysAgo:"{delta} päivää sitten",weekAgo:"viikko sitten",weeksAgo:"{delta} viikkoa sitten",monthAgo:"kuukausi sitten",monthsAgo:"{delta} kuukautta sitten",yearAgo:"vuosi sitten",yearsAgo:"{delta} vuotta sitten",lessThanMinuteUntil:"vajaan minuutin kuluttua",minuteUntil:"noin minuutin kuluttua",minutesUntil:"{delta} minuutin kuluttua",hourUntil:"noin tunnin kuluttua",hoursUntil:"noin {delta} tunnin kuluttua",dayUntil:"päivän kuluttua",daysUntil:"{delta} päivän kuluttua",weekUntil:"viikon kuluttua",weeksUntil:"{delta} viikon kuluttua",monthUntil:"kuukauden kuluttua",monthsUntil:"{delta} kuukauden kuluttua",yearUntil:"vuoden kuluttua",yearsUntil:"{delta} vuoden kuluttua"}),Locale.define("fi-FI","FormValidator",{required:"Tämä kenttä on pakollinen.",minLength:"Ole hyvä ja anna vähintään {minLength} merkkiä (annoit {length} merkkiä).",maxLength:"Älä anna enempää kuin {maxLength} merkkiä (annoit {length} merkkiä).",integer:"Ole hyvä ja anna kokonaisluku. Luvut, joissa on desimaaleja (esim. 1.25) eivät ole sallittuja.",numeric:'Anna tähän kenttään lukuarvo (kuten "1" tai "1.1" tai "-1" tai "-1.1").',digits:"Käytä pelkästään numeroita ja välimerkkejä tässä kentässä (syötteet, kuten esim. puhelinnumero, jossa on väliviivoja, pilkkuja tai pisteitä, kelpaa).",alpha:"Anna tähän kenttään vain kirjaimia (a-z). Välilyönnit tai muut merkit eivät ole sallittuja.",alphanum:"Anna tähän kenttään vain kirjaimia (a-z) tai numeroita (0-9). Välilyönnit tai muut merkit eivät ole sallittuja.",dateSuchAs:"Ole hyvä ja anna kelvollinen päivmäärä, kuten esimerkiksi {date}",dateInFormatMDY:'Ole hyvä ja anna kelvollinen päivämäärä muodossa pp/kk/vvvv (kuten "12/31/1999")',email:'Ole hyvä ja anna kelvollinen sähköpostiosoite (kuten esimerkiksi "matti@meikalainen.com").',url:"Ole hyvä ja anna kelvollinen URL, kuten esimerkiksi http://www.example.com.",currencyDollar:"Ole hyvä ja anna kelvollinen eurosumma (kuten esimerkiksi 100,00 EUR) .",oneRequired:"Ole hyvä ja syötä jotakin ainakin johonkin näistä kentistä.",errorPrefix:"Virhe: ",warningPrefix:"Varoitus: ",noSpace:"Tässä syötteessä ei voi olla välilyöntejä",reqChkByNode:"Ei valintoja.",requiredChk:"Tämä kenttä on pakollinen.",reqChkByName:"Ole hyvä ja valitse {label}.",match:"Tämän kentän tulee vastata kenttää {matchName}",startDate:"alkupäivämäärä",endDate:"loppupäivämäärä",currendDate:"nykyinen päivämäärä",afterDate:"Päivämäärän tulisi olla sama tai myöhäisempi ajankohta kuin {label}.",beforeDate:"Päivämäärän tulisi olla sama tai aikaisempi ajankohta kuin {label}.",startMonth:"Ole hyvä ja valitse aloituskuukausi",sameMonth:"Näiden kahden päivämäärän tulee olla saman kuun sisällä -- sinun pitää muuttaa jompaa kumpaa.",creditcard:"Annettu luottokortin numero ei kelpaa. Ole hyvä ja tarkista numero sekä yritä uudelleen. {length} numeroa syötetty."}),Locale.define("fi-FI","Number",{group:" "}).inherit("EU","Number"),Locale.define("fr-FR","Date",{months:["Janvier","Février","Mars","Avril","Mai","Juin","Juillet","Août","Septembre","Octobre","Novembre","Décembre"],months_abbr:["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc."],days:["Dimanche","Lundi","Mardi","Mercredi","Jeudi","Vendredi","Samedi"],days_abbr:["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],dateOrder:["date","month","year"],shortDate:"%d/%m/%Y",shortTime:"%H:%M",AM:"AM",PM:"PM",firstDayOfWeek:1,ordinal:function(a){return a>1?"":"er"},lessThanMinuteAgo:"il y a moins d'une minute",minuteAgo:"il y a une minute",minutesAgo:"il y a {delta} minutes",hourAgo:"il y a une heure",hoursAgo:"il y a {delta} heures",dayAgo:"il y a un jour",daysAgo:"il y a {delta} jours",weekAgo:"il y a une semaine",weeksAgo:"il y a {delta} semaines",monthAgo:"il y a 1 mois",monthsAgo:"il y a {delta} mois",yearthAgo:"il y a 1 an",yearsAgo:"il y a {delta} ans",lessThanMinuteUntil:"dans moins d'une minute",minuteUntil:"dans une minute",minutesUntil:"dans {delta} minutes",hourUntil:"dans une heure",hoursUntil:"dans {delta} heures",dayUntil:"dans un jour",daysUntil:"dans {delta} jours",weekUntil:"dans 1 semaine",weeksUntil:"dans {delta} semaines",monthUntil:"dans 1 mois",monthsUntil:"dans {delta} mois",yearUntil:"dans 1 an",yearsUntil:"dans {delta} ans"}),Locale.define("fr-FR","FormValidator",{required:"Ce champ est obligatoire.",minLength:"Veuillez saisir un minimum de {minLength} caractère(s) (vous avez saisi {length} caractère(s)).",maxLength:"Veuillez saisir un maximum de {maxLength} caractère(s) (vous avez saisi {length} caractère(s)).",integer:'Veuillez saisir un nombre entier dans ce champ. Les nombres décimaux (ex : "1,25") ne sont pas autorisés.',numeric:'Veuillez saisir uniquement des chiffres dans ce champ (ex : "1" ou "1,1" ou "-1" ou "-1,1").',digits:"Veuillez saisir uniquement des chiffres et des signes de ponctuation dans ce champ (ex : un numéro de téléphone avec des traits d'union est autorisé).",alpha:"Veuillez saisir uniquement des lettres (a-z) dans ce champ. Les espaces ou autres caractères ne sont pas autorisés.",alphanum:"Veuillez saisir uniquement des lettres (a-z) ou des chiffres (0-9) dans ce champ. Les espaces ou autres caractères ne sont pas autorisés.",dateSuchAs:"Veuillez saisir une date correcte comme {date}",dateInFormatMDY:'Veuillez saisir une date correcte, au format JJ/MM/AAAA (ex : "31/11/1999").',email:'Veuillez saisir une adresse de courrier électronique. Par example "fred@domaine.com".',url:"Veuillez saisir une URL, comme http://www.example.com.",currencyDollar:"Veuillez saisir une quantité correcte. Par example 100,00€.",oneRequired:"Veuillez sélectionner au moins une de ces options.",errorPrefix:"Erreur : ",warningPrefix:"Attention : ",noSpace:"Ce champ n'accepte pas les espaces.",reqChkByNode:"Aucun élément n'est sélectionné.",requiredChk:"Ce champ est obligatoire.",reqChkByName:"Veuillez sélectionner un(e) {label}.",match:"Ce champ doit correspondre avec le champ {matchName}.",startDate:"date de début",endDate:"date de fin",currendDate:"date actuelle",afterDate:"La date doit être identique ou postérieure à {label}.",beforeDate:"La date doit être identique ou antérieure à {label}.",startMonth:"Veuillez sélectionner un mois de début.",sameMonth:"Ces deux dates doivent être dans le même mois - vous devez en modifier une.",creditcard:"Le numéro de carte de crédit est invalide. Merci de vérifier le numéro et de réessayer. Vous avez entré {length} chiffre(s)."}),Locale.define("fr-FR","Number",{group:" "}).inherit("EU","Number"),Locale.define("he-IL","Date",{months:["ינואר","פברואר","מרץ","אפריל","מאי","יוני","יולי","אוגוסט","ספטמבר","אוקטובר","נובמבר","דצמבר"],months_abbr:["ינואר","פברואר","מרץ","אפריל","מאי","יוני","יולי","אוגוסט","ספטמבר","אוקטובר","נובמבר","דצמבר"],days:["ראשון","שני","שלישי","רביעי","חמישי","שישי","שבת"],days_abbr:["ראשון","שני","שלישי","רביעי","חמישי","שישי","שבת"],dateOrder:["date","month","year"],shortDate:"%d/%m/%Y",shortTime:"%H:%M",AM:"AM",PM:"PM",firstDayOfWeek:0,ordinal:"",lessThanMinuteAgo:"לפני פחות מדקה",minuteAgo:"לפני כדקה",minutesAgo:"לפני {delta} דקות",hourAgo:"לפני כשעה",hoursAgo:"לפני {delta} שעות",dayAgo:"לפני יום",daysAgo:"לפני {delta} ימים",weekAgo:"לפני שבוע",weeksAgo:"לפני {delta} שבועות",monthAgo:"לפני חודש",monthsAgo:"לפני {delta} חודשים",yearAgo:"לפני שנה",yearsAgo:"לפני {delta} שנים",lessThanMinuteUntil:"בעוד פחות מדקה",minuteUntil:"בעוד כדקה",minutesUntil:"בעוד {delta} דקות",hourUntil:"בעוד כשעה",hoursUntil:"בעוד {delta} שעות",dayUntil:"בעוד יום",daysUntil:"בעוד {delta} ימים",weekUntil:"בעוד שבוע",weeksUntil:"בעוד {delta} שבועות",monthUntil:"בעוד חודש",monthsUntil:"בעוד {delta} חודשים",yearUntil:"בעוד שנה",yearsUntil:"בעוד {delta} שנים"}),Locale.define("he-IL","FormValidator",{required:"נא למלא שדה זה.",minLength:"נא להזין לפחות {minLength} תווים (הזנת {length} תווים).",maxLength:"נא להזין עד {maxLength} תווים (הזנת {length} תווים).",integer:"נא להזין מספר שלם לשדה זה. מספרים עשרוניים (כמו 1.25) אינם חוקיים.",numeric:'נא להזין ערך מספרי בלבד בשדה זה (כמו "1", "1.1", "-1" או "-1.1").',digits:"נא להזין רק ספרות וסימני הפרדה בשדה זה (למשל, מספר טלפון עם מקפים או נקודות הוא חוקי).",alpha:"נא להזין רק אותיות באנגלית (a-z) בשדה זה. רווחים או תווים אחרים אינם חוקיים.",alphanum:"נא להזין רק אותריות באנגלית (a-z) או ספרות (0-9) בשדה זה. אווחרים או תווים אחרים אינם חוקיים.",dateSuchAs:"נא להזין תאריך חוקי, כמו {date}",dateInFormatMDY:'נא להזין תאריך חוקי בפורמט MM/DD/YYYY (כמו "12/31/1999")',email:'נא להזין כתובת אימייל חוקית. לדוגמה: "fred@domain.com".',url:"נא להזין כתובת אתר חוקית, כמו http://www.example.com.",currencyDollar:"נא להזין סכום דולרי חוקי. לדוגמה $100.00.",oneRequired:"נא לבחור לפחות בשדה אחד.",errorPrefix:"שגיאה: ",warningPrefix:"אזהרה: ",noSpace:"אין להזין רווחים בשדה זה.",reqChkByNode:"נא לבחור אחת מהאפשרויות.",requiredChk:"שדה זה נדרש.",reqChkByName:"נא לבחור {label}.",match:"שדה זה צריך להתאים לשדה {matchName}",startDate:"תאריך ההתחלה",endDate:"תאריך הסיום",currendDate:"התאריך הנוכחי",afterDate:"התאריך צריך להיות זהה או אחרי {label}.",beforeDate:"התאריך צריך להיות זהה או לפני {label}.",startMonth:"נא לבחור חודש התחלה",sameMonth:"שני תאריכים אלה צריכים להיות באותו חודש - נא לשנות אחד התאריכים.",creditcard:"מספר כרטיס האשראי שהוזן אינו חוקי. נא לבדוק שנית. הוזנו {length} ספרות."}),Locale.define("he-IL","Number",{decimal:".",group:",",currency:{suffix:" ₪"}}),Locale.define("hu-HU","Date",{months:["Január","Február","Március","Április","Május","Június","Július","Augusztus","Szeptember","Október","November","December"],months_abbr:["jan.","febr.","márc.","ápr.","máj.","jún.","júl.","aug.","szept.","okt.","nov.","dec."],days:["Vasárnap","Hétfő","Kedd","Szerda","Csütörtök","Péntek","Szombat"],days_abbr:["V","H","K","Sze","Cs","P","Szo"],dateOrder:["year","month","date"],shortDate:"%Y.%m.%d.",shortTime:"%I:%M",AM:"de.",PM:"du.",firstDayOfWeek:1,ordinal:".",lessThanMinuteAgo:"alig egy perce",minuteAgo:"egy perce",minutesAgo:"{delta} perce",hourAgo:"egy órája",hoursAgo:"{delta} órája",dayAgo:"1 napja",daysAgo:"{delta} napja",weekAgo:"1 hete",weeksAgo:"{delta} hete",monthAgo:"1 hónapja",monthsAgo:"{delta} hónapja",yearAgo:"1 éve",yearsAgo:"{delta} éve",lessThanMinuteUntil:"alig egy perc múlva",minuteUntil:"egy perc múlva",minutesUntil:"{delta} perc múlva",hourUntil:"egy óra múlva",hoursUntil:"{delta} óra múlva",dayUntil:"1 nap múlva",daysUntil:"{delta} nap múlva",weekUntil:"1 hét múlva",weeksUntil:"{delta} hét múlva",monthUntil:"1 hónap múlva",monthsUntil:"{delta} hónap múlva",yearUntil:"1 év múlva",yearsUntil:"{delta} év múlva"}),Locale.define("hu-HU","FormValidator",{required:"A mező kitöltése kötelező.",minLength:"Legalább {minLength} karakter megadása szükséges (megadva {length} karakter).",maxLength:"Legfeljebb {maxLength} karakter megadása lehetséges (megadva {length} karakter).",integer:"Egész szám megadása szükséges. A tizedesjegyek (pl. 1.25) nem engedélyezettek.",numeric:'Szám megadása szükséges (pl. "1" vagy "1.1" vagy "-1" vagy "-1.1").',digits:"Csak számok és írásjelek megadása lehetséges (pl. telefonszám kötőjelek és/vagy perjelekkel).",alpha:"Csak betűk (a-z) megadása lehetséges. Szóköz és egyéb karakterek nem engedélyezettek.",alphanum:"Csak betűk (a-z) vagy számok (0-9) megadása lehetséges. Szóköz és egyéb karakterek nem engedélyezettek.",dateSuchAs:"Valós dátum megadása szükséges (pl. {date}).",dateInFormatMDY:'Valós dátum megadása szükséges ÉÉÉÉ.HH.NN. formában. (pl. "1999.12.31.")',email:'Valós e-mail cím megadása szükséges (pl. "fred@domain.hu").',url:"Valós URL megadása szükséges (pl. http://www.example.com).",currencyDollar:"Valós pénzösszeg megadása szükséges (pl. 100.00 Ft.).",oneRequired:"Az alábbi mezők legalább egyikének kitöltése kötelező.",errorPrefix:"Hiba: ",warningPrefix:"Figyelem: ",noSpace:"A mező nem tartalmazhat szóközöket.",reqChkByNode:"Nincs egyetlen kijelölt elem sem.",requiredChk:"A mező kitöltése kötelező.",reqChkByName:"Egy {label} kiválasztása szükséges.",match:"A mezőnek egyeznie kell a(z) {matchName} mezővel.",startDate:"a kezdet dátuma",endDate:"a vég dátuma",currendDate:"jelenlegi dátum",afterDate:"A dátum nem lehet kisebb, mint {label}.",beforeDate:"A dátum nem lehet nagyobb, mint {label}.",startMonth:"Kezdeti hónap megadása szükséges.",sameMonth:"A két dátumnak ugyanazon hónapban kell lennie.",creditcard:"A megadott bankkártyaszám nem valódi (megadva {length} számjegy)."}),Locale.define("it-IT","Date",{months:["Gennaio","Febbraio","Marzo","Aprile","Maggio","Giugno","Luglio","Agosto","Settembre","Ottobre","Novembre","Dicembre"],months_abbr:["gen","feb","mar","apr","mag","giu","lug","ago","set","ott","nov","dic"],days:["Domenica","Lunedì","Martedì","Mercoledì","Giovedì","Venerdì","Sabato"],days_abbr:["dom","lun","mar","mer","gio","ven","sab"],dateOrder:["date","month","year"],shortDate:"%d/%m/%Y",shortTime:"%H.%M",AM:"AM",PM:"PM",firstDayOfWeek:1,ordinal:"º",lessThanMinuteAgo:"meno di un minuto fa",minuteAgo:"circa un minuto fa",minutesAgo:"circa {delta} minuti fa",hourAgo:"circa un'ora fa",hoursAgo:"circa {delta} ore fa",dayAgo:"circa 1 giorno fa",daysAgo:"circa {delta} giorni fa",lessThanMinuteUntil:"tra meno di un minuto",minuteUntil:"tra circa un minuto",minutesUntil:"tra circa {delta} minuti",hourUntil:"tra circa un'ora",hoursUntil:"tra circa {delta} ore",dayUntil:"tra circa un giorno",daysUntil:"tra circa {delta} giorni"}),Locale.define("it-IT","FormValidator",{required:"Il campo è obbligatorio.",minLength:"Inserire almeno {minLength} caratteri (ne sono stati inseriti {length}).",maxLength:"Inserire al massimo {maxLength} caratteri (ne sono stati inseriti {length}).",integer:"Inserire un numero intero. Non sono consentiti decimali (es.: 1.25).",numeric:'Inserire solo valori numerici (es.: "1" oppure "1.1" oppure "-1" oppure "-1.1").',digits:"Inserire solo numeri e caratteri di punteggiatura. Per esempio è consentito un numero telefonico con trattini o punti.",alpha:"Inserire solo lettere (a-z). Non sono consentiti spazi o altri caratteri.",alphanum:"Inserire solo lettere (a-z) o numeri (0-9). Non sono consentiti spazi o altri caratteri.",dateSuchAs:"Inserire una data valida del tipo {date}",dateInFormatMDY:'Inserire una data valida nel formato MM/GG/AAAA (es.: "12/31/1999")',email:'Inserire un indirizzo email valido. Per esempio "nome@dominio.com".',url:'Inserire un indirizzo valido. Per esempio "http://www.example.com".',currencyDollar:'Inserire un importo valido. Per esempio "$100.00".',oneRequired:"Completare almeno uno dei campi richiesti.",errorPrefix:"Errore: ",warningPrefix:"Attenzione: ",noSpace:"Non sono consentiti spazi.",reqChkByNode:"Nessuna voce selezionata.",requiredChk:"Il campo è obbligatorio.",reqChkByName:"Selezionare un(a) {label}.",match:"Il valore deve corrispondere al campo {matchName}",startDate:"data d'inizio",endDate:"data di fine",currendDate:"data attuale",afterDate:"La data deve corrispondere o essere successiva al {label}.",beforeDate:"La data deve corrispondere o essere precedente al {label}.",startMonth:"Selezionare un mese d'inizio",sameMonth:"Le due date devono essere dello stesso mese - occorre modificarne una."}),Locale.define("ja-JP","Date",{months:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],months_abbr:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],days:["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"],days_abbr:["日","月","火","水","木","金","土"],dateOrder:["year","month","date"],shortDate:"%Y/%m/%d",shortTime:"%H:%M",AM:"午前",PM:"午後",firstDayOfWeek:0,ordinal:"",lessThanMinuteAgo:"1分以内前",minuteAgo:"約1分前",minutesAgo:"約{delta}分前",hourAgo:"約1時間前",hoursAgo:"約{delta}時間前",dayAgo:"1日前",daysAgo:"{delta}日前",weekAgo:"1週間前",weeksAgo:"{delta}週間前",monthAgo:"1ヶ月前",monthsAgo:"{delta}ヶ月前",yearAgo:"1年前",yearsAgo:"{delta}年前",lessThanMinuteUntil:"今から約1分以内",minuteUntil:"今から約1分",minutesUntil:"今から約{delta}分",hourUntil:"今から約1時間",hoursUntil:"今から約{delta}時間",dayUntil:"今から1日間",daysUntil:"今から{delta}日間",weekUntil:"今から1週間",weeksUntil:"今から{delta}週間",monthUntil:"今から1ヶ月",monthsUntil:"今から{delta}ヶ月",yearUntil:"今から1年",yearsUntil:"今から{delta}年"}),Locale.define("ja-JP","FormValidator",{required:"入力は必須です。",minLength:"入力文字数は{minLength}以上にしてください。({length}文字)",maxLength:"入力文字数は{maxLength}以下にしてください。({length}文字)",integer:"整数を入力してください。",numeric:'入力できるのは数値だけです。(例: "1", "1.1", "-1", "-1.1"....)',digits:"入力できるのは数値と句読記号です。 (例: -や+を含む電話番号など).",alpha:"入力できるのは半角英字だけです。それ以外の文字は入力できません。",alphanum:"入力できるのは半角英数字だけです。それ以外の文字は入力できません。",dateSuchAs:"有効な日付を入力してください。{date}",dateInFormatMDY:'日付の書式に誤りがあります。YYYY/MM/DD (i.e. "1999/12/31")',email:"メールアドレスに誤りがあります。",url:"URLアドレスに誤りがあります。",currencyDollar:"金額に誤りがあります。",oneRequired:"ひとつ以上入力してください。",errorPrefix:"エラー: ",warningPrefix:"警告: ",noSpace:"スペースは入力できません。",reqChkByNode:"選択されていません。",requiredChk:"この項目は必須です。",reqChkByName:"{label}を選択してください。",match:"{matchName}が入力されている場合必須です。",startDate:"開始日",endDate:"終了日",currendDate:"今日",afterDate:"{label}以降の日付にしてください。",beforeDate:"{label}以前の日付にしてください。",startMonth:"開始月を選択してください。",sameMonth:"日付が同一です。どちらかを変更してください。"}),Locale.define("ja-JP","Number",{decimal:".",group:",",currency:{decimals:0,prefix:"\\"}}),Locale.define("nl-NL","Date",{months:["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"],months_abbr:["jan","feb","mrt","apr","mei","jun","jul","aug","sep","okt","nov","dec"],days:["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"],days_abbr:["zo","ma","di","wo","do","vr","za"],dateOrder:["date","month","year"],shortDate:"%d-%m-%Y",shortTime:"%H:%M",AM:"AM",PM:"PM",firstDayOfWeek:1,ordinal:"e",lessThanMinuteAgo:"minder dan een minuut geleden",minuteAgo:"ongeveer een minuut geleden",minutesAgo:"{delta} minuten geleden",hourAgo:"ongeveer een uur geleden",hoursAgo:"ongeveer {delta} uur geleden",dayAgo:"een dag geleden",daysAgo:"{delta} dagen geleden",weekAgo:"een week geleden",weeksAgo:"{delta} weken geleden",monthAgo:"een maand geleden",monthsAgo:"{delta} maanden geleden",yearAgo:"een jaar geleden",yearsAgo:"{delta} jaar geleden",lessThanMinuteUntil:"over minder dan een minuut",minuteUntil:"over ongeveer een minuut",minutesUntil:"over {delta} minuten",hourUntil:"over ongeveer een uur",hoursUntil:"over {delta} uur",dayUntil:"over ongeveer een dag",daysUntil:"over {delta} dagen",weekUntil:"over een week",weeksUntil:"over {delta} weken",monthUntil:"over een maand",monthsUntil:"over {delta} maanden",yearUntil:"over een jaar",yearsUntil:"over {delta} jaar"}),Locale.define("nl-NL","FormValidator",{required:"Dit veld is verplicht.",minLength:"Vul minimaal {minLength} karakters in (je hebt {length} karakters ingevoerd).",maxLength:"Vul niet meer dan {maxLength} karakters in (je hebt {length} karakters ingevoerd).",integer:"Vul een getal in. Getallen met decimalen (bijvoorbeeld 1.25) zijn niet toegestaan.",numeric:'Vul alleen numerieke waarden in (bijvoorbeeld "1" of "1.1" of "-1" of "-1.1").',digits:"Vul alleen nummers en leestekens in (bijvoorbeeld een telefoonnummer met streepjes is toegestaan).",alpha:"Vul alleen letters in (a-z). Spaties en andere karakters zijn niet toegestaan.",alphanum:"Vul alleen letters (a-z) of nummers (0-9) in. Spaties en andere karakters zijn niet toegestaan.",dateSuchAs:"Vul een geldige datum in, zoals {date}",dateInFormatMDY:'Vul een geldige datum, in het formaat MM/DD/YYYY (bijvoorbeeld "12/31/1999")',email:'Vul een geldig e-mailadres in. Bijvoorbeeld "fred@domein.nl".',url:"Vul een geldige URL in, zoals http://www.example.com.",currencyDollar:"Vul een geldig $ bedrag in. Bijvoorbeeld $100.00 .",oneRequired:"Vul iets in bij in ieder geval een van deze velden.",warningPrefix:"Waarschuwing: ",errorPrefix:"Fout: ",noSpace:"Spaties zijn niet toegestaan in dit veld.",reqChkByNode:"Er zijn geen items geselecteerd.",requiredChk:"Dit veld is verplicht.",reqChkByName:"Selecteer een {label}.",match:"Dit veld moet overeen komen met het {matchName} veld",startDate:"de begin datum",endDate:"de eind datum",currendDate:"de huidige datum",afterDate:"De datum moet hetzelfde of na {label} zijn.",beforeDate:"De datum moet hetzelfde of voor {label} zijn.",startMonth:"Selecteer een begin maand",sameMonth:"Deze twee data moeten in dezelfde maand zijn - u moet een van beide aanpassen.",creditcard:"Het ingevulde creditcardnummer is niet geldig. Controleer het nummer en probeer opnieuw. {length} getallen ingevuld."}),Locale.define("nl-NL").inherit("EU","Number"),Locale.define("no-NO","Date",{dateOrder:["date","month","year"],shortDate:"%d.%m.%Y",shortTime:"%H:%M",AM:"AM",PM:"PM",firstDayOfWeek:1,lessThanMinuteAgo:"kortere enn et minutt siden",minuteAgo:"omtrent et minutt siden",minutesAgo:"{delta} minutter siden",hourAgo:"omtrent en time siden",hoursAgo:"omtrent {delta} timer siden",dayAgo:"{delta} dag siden",daysAgo:"{delta} dager siden"}),Locale.define("no-NO","FormValidator",{required:"Dette feltet er pÃ¥krevd.",minLength:"Vennligst skriv inn minst {minLength} tegn (du skrev {length} tegn).",maxLength:"Vennligst skriv inn maksimalt {maxLength} tegn (du skrev {length} tegn).",integer:"Vennligst skriv inn et tall i dette feltet. Tall med desimaler (for eksempel 1,25) er ikke tillat.",numeric:'Vennligst skriv inn kun numeriske verdier i dette feltet (for eksempel "1", "1.1", "-1" eller "-1.1").',digits:"Vennligst bruk kun nummer og skilletegn i dette feltet.",alpha:"Vennligst bruk kun bokstaver (a-z) i dette feltet. Ingen mellomrom eller andre tegn er tillat.",alphanum:"Vennligst bruk kun bokstaver (a-z) eller nummer (0-9) i dette feltet. Ingen mellomrom eller andre tegn er tillat.",dateSuchAs:"Vennligst skriv inn en gyldig dato, som {date}",dateInFormatMDY:'Vennligst skriv inn en gyldig dato, i formatet MM/DD/YYYY (for eksempel "12/31/1999")',email:'Vennligst skriv inn en gyldig epost-adresse. For eksempel "espen@domene.no".',url:"Vennligst skriv inn en gyldig URL, for eksempel http://www.example.com.",currencyDollar:"Vennligst fyll ut et gyldig $ beløp. For eksempel $100.00 .",oneRequired:"Vennligst fyll ut noe i minst ett av disse feltene.",errorPrefix:"Feil: ",warningPrefix:"Advarsel: "}),Locale.define("pl-PL","Date",{months:["Styczeń","Luty","Marzec","Kwiecień","Maj","Czerwiec","Lipiec","Sierpień","Wrzesień","Październik","Listopad","Grudzień"],months_abbr:["sty","lut","mar","kwi","maj","cze","lip","sie","wrz","paź","lis","gru"],days:["Niedziela","Poniedziałek","Wtorek","Środa","Czwartek","Piątek","Sobota"],days_abbr:["niedz.","pon.","wt.","śr.","czw.","pt.","sob."],dateOrder:["year","month","date"],shortDate:"%Y-%m-%d",shortTime:"%H:%M",AM:"nad ranem",PM:"po południu",firstDayOfWeek:1,ordinal:function(a){return a>3&&a<21?"ty":["ty","szy","gi","ci","ty"][Math.min(a%10,4)]},lessThanMinuteAgo:"mniej niż minute temu",minuteAgo:"około minutę temu",minutesAgo:"{delta} minut temu",hourAgo:"około godzinę temu",hoursAgo:"około {delta} godzin temu",dayAgo:"Wczoraj",daysAgo:"{delta} dni temu",lessThanMinuteUntil:"za niecałą minutę",minuteUntil:"za około minutę",minutesUntil:"za {delta} minut",hourUntil:"za około godzinę",hoursUntil:"za około {delta} godzin",dayUntil:"za 1 dzień",daysUntil:"za {delta} dni"}),Locale.define("pl-PL","FormValidator",{required:"To pole jest wymagane.",minLength:"Wymagane jest przynajmniej {minLength} znaków (wpisanych zostało tylko {length}).",maxLength:"Dozwolone jest nie więcej niż {maxLength} znaków (wpisanych zostało {length})",integer:"To pole wymaga liczb całych. Liczby dziesiętne (np. 1.25) są niedozwolone.",numeric:'Prosimy używać tylko numerycznych wartości w tym polu (np. "1", "1.1", "-1" lub "-1.1").',digits:"Prosimy używać liczb oraz zankow punktuacyjnych w typ polu (dla przykładu, przy numerze telefonu myślniki i kropki są dozwolone).",alpha:"Prosimy używać tylko liter (a-z) w tym polu. Spacje oraz inne znaki są niedozwolone.",alphanum:"Prosimy używać tylko liter (a-z) lub liczb (0-9) w tym polu. Spacje oraz inne znaki są niedozwolone.",dateSuchAs:"Prosimy podać prawidłową datę w formacie: {date}",dateInFormatMDY:'Prosimy podać poprawną date w formacie DD.MM.RRRR (i.e. "12.01.2009")',email:'Prosimy podać prawidłowy adres e-mail, np. "jan@domena.pl".',url:"Prosimy podać prawidłowy adres URL, np. http://www.example.com.",currencyDollar:"Prosimy podać prawidłową sumę w PLN. Dla przykładu: 100.00 PLN.",oneRequired:"Prosimy wypełnić chociaż jedno z pól.",errorPrefix:"Błąd: ",warningPrefix:"Uwaga: ",noSpace:"W tym polu nie mogą znajdować się spacje.",reqChkByNode:"Brak zaznaczonych elementów.",requiredChk:"To pole jest wymagane.",reqChkByName:"Prosimy wybrać z {label}.",match:"To pole musi być takie samo jak {matchName}",startDate:"data początkowa",endDate:"data końcowa",currendDate:"aktualna data",afterDate:"Podana data poinna być taka sama lub po {label}.",beforeDate:"Podana data poinna być taka sama lub przed {label}.",startMonth:"Prosimy wybrać początkowy miesiąc.",sameMonth:"Te dwie daty muszą być w zakresie tego samego miesiąca - wymagana jest zmiana któregoś z pól."}),Locale.define("pt-PT","Date",{months:["Janeiro","Fevereiro","Março","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro"],months_abbr:["Jan","Fev","Mar","Abr","Mai","Jun","Jul","Ago","Set","Out","Nov","Dez"],days:["Domingo","Segunda-feira","Terça-feira","Quarta-feira","Quinta-feira","Sexta-feira","Sábado"],days_abbr:["Dom","Seg","Ter","Qua","Qui","Sex","Sáb"],dateOrder:["date","month","year"],shortDate:"%d-%m-%Y",shortTime:"%H:%M",AM:"AM",PM:"PM",firstDayOfWeek:1,ordinal:"º",lessThanMinuteAgo:"há menos de um minuto",minuteAgo:"há cerca de um minuto",minutesAgo:"há {delta} minutos",hourAgo:"há cerca de uma hora",hoursAgo:"há cerca de {delta} horas",dayAgo:"há um dia",daysAgo:"há {delta} dias",weekAgo:"há uma semana" ,weeksAgo:"há {delta} semanas",monthAgo:"há um mês",monthsAgo:"há {delta} meses",yearAgo:"há um ano",yearsAgo:"há {delta} anos",lessThanMinuteUntil:"em menos de um minuto",minuteUntil:"em um minuto",minutesUntil:"em {delta} minutos",hourUntil:"em uma hora",hoursUntil:"em {delta} horas",dayUntil:"em um dia",daysUntil:"em {delta} dias",weekUntil:"em uma semana",weeksUntil:"em {delta} semanas",monthUntil:"em um mês",monthsUntil:"em {delta} meses",yearUntil:"em um ano",yearsUntil:"em {delta} anos"}),Locale.define("pt-BR","Date",{shortDate:"%d/%m/%Y"}).inherit("pt-PT","Date"),Locale.define("pt-BR","FormValidator",{required:"Este campo é obrigatório.",minLength:"Digite pelo menos {minLength} caracteres (tamanho atual: {length}).",maxLength:"Não digite mais de {maxLength} caracteres (tamanho atual: {length}).",integer:"Por favor digite apenas um número inteiro neste campo. Não são permitidos números decimais (por exemplo, 1,25).",numeric:'Por favor digite apenas valores numéricos neste campo (por exemplo, "1" ou "1.1" ou "-1" ou "-1,1").',digits:"Por favor use apenas números e pontuação neste campo (por exemplo, um número de telefone com traços ou pontos é permitido).",alpha:"Por favor use somente letras (a-z). Espaço e outros caracteres não são permitidos.",alphanum:"Use somente letras (a-z) ou números (0-9) neste campo. Espaço e outros caracteres não são permitidos.",dateSuchAs:"Digite uma data válida, como {date}",dateInFormatMDY:'Digite uma data válida, como DD/MM/YYYY (por exemplo, "31/12/1999")',email:'Digite um endereço de email válido. Por exemplo "nome@dominio.com".',url:"Digite uma URL válida. Exemplo: http://www.example.com.",currencyDollar:"Digite um valor em dinheiro válido. Exemplo: R$100,00 .",oneRequired:"Digite algo para pelo menos um desses campos.",errorPrefix:"Erro: ",warningPrefix:"Aviso: ",noSpace:"Não é possível digitar espaços neste campo.",reqChkByNode:"Não foi selecionado nenhum item.",requiredChk:"Este campo é obrigatório.",reqChkByName:"Por favor digite um {label}.",match:"Este campo deve ser igual ao campo {matchName}.",startDate:"a data inicial",endDate:"a data final",currendDate:"a data atual",afterDate:"A data deve ser igual ou posterior a {label}.",beforeDate:"A data deve ser igual ou anterior a {label}.",startMonth:"Por favor selecione uma data inicial.",sameMonth:"Estas duas datas devem ter o mesmo mês - você deve modificar uma das duas.",creditcard:"O número do cartão de crédito informado é inválido. Por favor verifique o valor e tente novamente. {length} números informados."}),Locale.define("pt-PT","FormValidator",{required:"Este campo é necessário.",minLength:"Digite pelo menos{minLength} caracteres (comprimento {length} caracteres).",maxLength:"Não insira mais de {maxLength} caracteres (comprimento {length} caracteres).",integer:"Digite um número inteiro neste domínio. Com números decimais (por exemplo, 1,25), não são permitidas.",numeric:'Digite apenas valores numéricos neste domínio (p.ex., "1" ou "1.1" ou "-1" ou "-1,1").',digits:"Por favor, use números e pontuação apenas neste campo (p.ex., um número de telefone com traços ou pontos é permitida).",alpha:"Por favor use somente letras (a-z), com nesta área. Não utilize espaços nem outros caracteres são permitidos.",alphanum:"Use somente letras (a-z) ou números (0-9) neste campo. Não utilize espaços nem outros caracteres são permitidos.",dateSuchAs:"Digite uma data válida, como {date}",dateInFormatMDY:'Digite uma data válida, como DD/MM/YYYY (p.ex. "31/12/1999")',email:'Digite um endereço de email válido. Por exemplo "fred@domain.com".',url:"Digite uma URL válida, como http://www.example.com.",currencyDollar:"Digite um valor válido $. Por exemplo $ 100,00. ",oneRequired:"Digite algo para pelo menos um desses insumos.",errorPrefix:"Erro: ",warningPrefix:"Aviso: "}),function(){var a=function(a,b,c,d,e){var f=a%10,g=a%100;return f==1&&g!=11?b:f!=2&&f!=3&&f!=4||g==12||g==13||g==14?f==0||f==5||f==6||f==7||f==8||f==9||g==11||g==12||g==13||g==14?d:e:c};Locale.define("ru-RU","Date",{months:["Январь","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь"],months_abbr:["янв","февр","март","апр","май","июнь","июль","авг","сент","окт","нояб","дек"],days:["Воскресенье","Понедельник","Вторник","Среда","Четверг","Пятница","Суббота"],days_abbr:["Вс","Пн","Вт","Ср","Чт","Пт","Сб"],dateOrder:["date","month","year"],shortDate:"%d.%m.%Y",shortTime:"%H:%M",AM:"AM",PM:"PM",firstDayOfWeek:1,ordinal:"",lessThanMinuteAgo:"меньше минуты назад",minuteAgo:"минуту назад",minutesAgo:function(b){return"{delta} "+a(b,"минуту","минуты","минут")+" назад"},hourAgo:"час назад",hoursAgo:function(b){return"{delta} "+a(b,"час","часа","часов")+" назад"},dayAgo:"вчера",daysAgo:function(b){return"{delta} "+a(b,"день","дня","дней")+" назад"},weekAgo:"неделю назад",weeksAgo:function(b){return"{delta} "+a(b,"неделя","недели","недель")+" назад"},monthAgo:"месяц назад",monthsAgo:function(b){return"{delta} "+a(b,"месяц","месяца","месецев")+" назад"},yearAgo:"год назад",yearsAgo:function(b){return"{delta} "+a(b,"год","года","лет")+" назад"},lessThanMinuteUntil:"меньше чем через минуту",minuteUntil:"через минуту",minutesUntil:function(b){return"через {delta} "+a(b,"час","часа","часов")+""},hourUntil:"через час",hoursUntil:function(b){return"через {delta} "+a(b,"час","часа","часов")+""},dayUntil:"завтра",daysUntil:function(b){return"через {delta} "+a(b,"день","дня","дней")+""},weekUntil:"через неделю",weeksUntil:function(b){return"через {delta} "+a(b,"неделю","недели","недель")+""},monthUntil:"через месяц",monthsUntil:function(b){return"через {delta} "+a(b,"месяц","месяца","месецев")+""},yearUntil:"через",yearsUntil:function(b){return"через {delta} "+a(b,"год","года","лет")+""}}),Locale.define("ru-RU-unicode").inherit("ru-RU","Date")}(),Locale.define("ru-RU","FormValidator",{required:"Это поле обязательно к заполнению.",minLength:"Пожалуйста, введите хотя бы {minLength} символов (Вы ввели {length}).",maxLength:"Пожалуйста, введите не больше {maxLength} символов (Вы ввели {length}).",integer:"Пожалуйста, введите в это поле число. Дробные числа (например 1.25) тут не разрешены.",numeric:'Пожалуйста, введите в это поле число (например "1" или "1.1", или "-1", или "-1.1").',digits:"В этом поле Вы можете использовать только цифры и знаки пунктуации (например, телефонный номер со знаками дефиса или с точками).",alpha:"В этом поле можно использовать только латинские буквы (a-z). Пробелы и другие символы запрещены.",alphanum:"В этом поле можно использовать только латинские буквы (a-z) и цифры (0-9). Пробелы и другие символы запрещены.",dateSuchAs:"Пожалуйста, введите корректную дату {date}",dateInFormatMDY:'Пожалуйста, введите дату в формате ММ/ДД/ГГГГ (например "12/31/1999")',email:'Пожалуйста, введите корректный емейл-адрес. Для примера "fred@domain.com".',url:"Пожалуйста, введите правильную ссылку вида http://www.example.com.",currencyDollar:"Пожалуйста, введите сумму в долларах. Например: $100.00 .",oneRequired:"Пожалуйста, выберите хоть что-нибудь в одном из этих полей.",errorPrefix:"Ошибка: ",warningPrefix:"Внимание: "}),Locale.define("ru-RU-unicode").inherit("ru-RU","FormValidator"),function(){var a=function(a,b,c,d,e){return a>=1&&a<=3?arguments[a]:e};Locale.define("si-SI","Date",{months:["januar","februar","marec","april","maj","junij","julij","avgust","september","oktober","november","december"],months_abbr:["jan","feb","mar","apr","maj","jun","jul","avg","sep","okt","nov","dec"],days:["nedelja","ponedeljek","torek","sreda","četrtek","petek","sobota"],days_abbr:["ned","pon","tor","sre","čet","pet","sob"],dateOrder:["date","month","year"],shortDate:"%d.%m.%Y",shortTime:"%H.%M",AM:"AM",PM:"PM",firstDayOfWeek:1,ordinal:".",lessThanMinuteAgo:"manj kot minuto nazaj",minuteAgo:"minuto nazaj",minutesAgo:function(b){return"{delta} "+a(b,"minuto","minuti","minute","minut")+" nazaj"},hourAgo:"uro nazaj",hoursAgo:function(b){return"{delta} "+a(b,"uro","uri","ure","ur")+" nazaj"},dayAgo:"dan nazaj",daysAgo:function(b){return"{delta} "+a(b,"dan","dneva","dni","dni")+" nazaj"},weekAgo:"teden nazaj",weeksAgo:function(b){return"{delta} "+a(b,"teden","tedna","tedne","tednov")+" nazaj"},monthAgo:"mesec nazaj",monthsAgo:function(b){return"{delta} "+a(b,"mesec","meseca","mesece","mesecov")+" nazaj"},yearthAgo:"leto nazaj",yearsAgo:function(b){return"{delta} "+a(b,"leto","leti","leta","let")+" nazaj"},lessThanMinuteUntil:"še manj kot minuto",minuteUntil:"še minuta",minutesUntil:function(b){return"še {delta} "+a(b,"minuta","minuti","minute","minut")},hourUntil:"še ura",hoursUntil:function(b){return"še {delta} "+a(b,"ura","uri","ure","ur")},dayUntil:"še dan",daysUntil:function(b){return"še {delta} "+a(b,"dan","dneva","dnevi","dni")},weekUntil:"še tedn",weeksUntil:function(b){return"še {delta} "+a(b,"teden","tedna","tedni","tednov")},monthUntil:"še mesec",monthsUntil:function(b){return"še {delta} "+a(b,"mesec","meseca","meseci","mesecov")},yearUntil:"še leto",yearsUntil:function(b){return"še {delta} "+a(b,"leto","leti","leta","let")}})}(),Locale.define("si-SI","FormValidator",{required:"To polje je obvezno",minLength:"Prosim, vnesite vsaj {minLength} znakov (vnesli ste {length} znakov).",maxLength:"Prosim, ne vnesite več kot {maxLength} znakov (vnesli ste {length} znakov).",integer:"Prosim, vnesite celo število. Decimalna števila (kot 1,25) niso dovoljena.",numeric:'Prosim, vnesite samo numerične vrednosti (kot "1" ali "1.1" ali "-1" ali "-1.1").',digits:"Prosim, uporabite številke in ločila le na tem polju (na primer, dovoljena je telefonska številka z pomišlaji ali pikami).",alpha:"Prosim, uporabite le črke v tem plju. Presledki in drugi znaki niso dovoljeni.",alphanum:"Prosim, uporabite samo črke ali številke v tem polju. Presledki in drugi znaki niso dovoljeni.",dateSuchAs:"Prosim, vnesite pravilen datum kot {date}",dateInFormatMDY:'Prosim, vnesite pravilen datum kot MM.DD.YYYY (primer "12.31.1999")',email:'Prosim, vnesite pravilen email naslov. Na primer "fred@domain.com".',url:"Prosim, vnesite pravilen URL kot http://www.example.com.",currencyDollar:"Prosim, vnesit epravilno vrednost €. Primer 100,00€ .",oneRequired:"Prosimo, vnesite nekaj za vsaj eno izmed teh polj.",errorPrefix:"Napaka: ",warningPrefix:"Opozorilo: ",noSpace:"To vnosno polje ne dopušča presledkov.",reqChkByNode:"Nič niste izbrali.",requiredChk:"To polje je obvezno",reqChkByName:"Prosim, izberite {label}.",match:"To polje se mora ujemati z poljem {matchName}",startDate:"datum začetka",endDate:"datum konca",currendDate:"trenuten datum",afterDate:"Datum bi moral biti isti ali po {label}.",beforeDate:"Datum bi moral biti isti ali pred {label}.",startMonth:"Prosim, vnesite začetni datum",sameMonth:"Ta dva datuma morata biti v istem mesecu - premeniti morate eno ali drugo.",creditcard:"Številka kreditne kartice ni pravilna. Preverite številko ali poskusite še enkrat. Vnešenih {length} znakov."}),Locale.define("sv-SE","Date",{months:["januari","februari","mars","april","maj","juni","juli","augusti","september","oktober","november","december"],months_abbr:["jan","feb","mar","apr","maj","jun","jul","aug","sep","okt","nov","dec"],days:["söndag","måndag","tisdag","onsdag","torsdag","fredag","lördag"],days_abbr:["sön","mån","tis","ons","tor","fre","lör"],dateOrder:["year","month","date"],shortDate:"%Y-%m-%d",shortTime:"%H:%M",AM:"",PM:"",firstDayOfWeek:1,ordinal:"",lessThanMinuteAgo:"mindre än en minut sedan",minuteAgo:"ungefär en minut sedan",minutesAgo:"{delta} minuter sedan",hourAgo:"ungefär en timme sedan",hoursAgo:"ungefär {delta} timmar sedan",dayAgo:"1 dag sedan",daysAgo:"{delta} dagar sedan",lessThanMinuteUntil:"mindre än en minut sedan",minuteUntil:"ungefär en minut sedan",minutesUntil:"{delta} minuter sedan",hourUntil:"ungefär en timme sedan",hoursUntil:"ungefär {delta} timmar sedan",dayUntil:"1 dag sedan",daysUntil:"{delta} dagar sedan"}),Locale.define("sv-SE","FormValidator",{required:"Fältet är obligatoriskt.",minLength:"Ange minst {minLength} tecken (du angav {length} tecken).",maxLength:"Ange högst {maxLength} tecken (du angav {length} tecken). ",integer:"Ange ett heltal i fältet. Tal med decimaler (t.ex. 1,25) är inte tillåtna.",numeric:'Ange endast numeriska värden i detta fält (t.ex. "1" eller "1.1" eller "-1" eller "-1,1").',digits:"Använd endast siffror och skiljetecken i detta fält (till exempel ett telefonnummer med bindestreck tillåtet).",alpha:"Använd endast bokstäver (a-ö) i detta fält. Inga mellanslag eller andra tecken är tillåtna.",alphanum:"Använd endast bokstäver (a-ö) och siffror (0-9) i detta fält. Inga mellanslag eller andra tecken är tillåtna.",dateSuchAs:"Ange ett giltigt datum som t.ex. {date}",dateInFormatMDY:'Ange ett giltigt datum som t.ex. YYYY-MM-DD (i.e. "1999-12-31")',email:'Ange en giltig e-postadress. Till exempel "erik@domain.com".',url:"Ange en giltig webbadress som http://www.example.com.",currencyDollar:"Ange en giltig belopp. Exempelvis 100,00.",oneRequired:"Vänligen ange minst ett av dessa alternativ.",errorPrefix:"Fel: ",warningPrefix:"Varning: ",noSpace:"Det får inte finnas några mellanslag i detta fält.",reqChkByNode:"Inga objekt är valda.",requiredChk:"Detta är ett obligatoriskt fält.",reqChkByName:"Välj en {label}.",match:"Detta fält måste matcha {matchName}",startDate:"startdatumet",endDate:"slutdatum",currendDate:"dagens datum",afterDate:"Datumet bör vara samma eller senare än {label}.",beforeDate:"Datumet bör vara samma eller tidigare än {label}.",startMonth:"Välj en start månad",sameMonth:"Dessa två datum måste vara i samma månad - du måste ändra det ena eller det andra."}),function(){var a=function(a,b,c,d,e){var f=(a/10).toInt(),g=a%10,h=(a/100).toInt();if(f==1&&a>10)return d;if(g==1)return b;if(g>0&&g<5)return c;return d};Locale.define("uk-UA","Date",{months:["Січень","Лютий","Березень","Квітень","Травень","Червень","Липень","Серпень","Вересень","Жовтень","Листопад","Грудень"],months_abbr:["Січ","Лют","Бер","Квіт","Трав","Черв","Лип","Серп","Вер","Жовт","Лист","Груд"],days:["Неділя","Понеділок","Вівторок","Середа","Четвер","П'ятниця","Субота"],days_abbr:["Нд","Пн","Вт","Ср","Чт","Пт","Сб"],dateOrder:["date","month","year"],shortDate:"%d/%m/%Y",shortTime:"%H:%M",AM:"до полудня",PM:"по полудню",firstDayOfWeek:1,ordinal:"",lessThanMinuteAgo:"меньше хвилини тому",minuteAgo:"хвилину тому",minutesAgo:function(b){return"{delta} "+a(b,"хвилину","хвилини","хвилин")+" тому"},hourAgo:"годину тому",hoursAgo:function(b){return"{delta} "+a(b,"годину","години","годин")+" тому"},dayAgo:"вчора",daysAgo:function(b){return"{delta} "+a(b,"день","дня","днів")+" тому"},weekAgo:"тиждень тому",weeksAgo:function(b){return"{delta} "+a(b,"тиждень","тижні","тижнів")+" тому"},monthAgo:"місяць тому",monthsAgo:function(b){return"{delta} "+a(b,"місяць","місяці","місяців")+" тому"},yearAgo:"рік тому",yearsAgo:function(b){return"{delta} "+a(b,"рік","роки","років")+" тому"},lessThanMinuteUntil:"за мить",minuteUntil:"через хвилину",minutesUntil:function(b){return"через {delta} "+a(b,"хвилину","хвилини","хвилин")},hourUntil:"через годину",hoursUntil:function(b){return"через {delta} "+a(b,"годину","години","годин")},dayUntil:"завтра",daysUntil:function(b){return"через {delta} "+a(b,"день","дня","днів")},weekUntil:"через тиждень",weeksUntil:function(b){return"через {delta} "+a(b,"тиждень","тижні","тижнів")},monthUntil:"через місяць",monthesUntil:function(b){return"через {delta} "+a(b,"місяць","місяці","місяців")},yearUntil:"через рік",yearsUntil:function(b){return"через {delta} "+a(b,"рік","роки","років")}})}(),Locale.define("uk-UA","FormValidator",{required:"Це поле повинне бути заповненим.",minLength:"Введіть хоча б {minLength} символів (Ви ввели {length}).",maxLength:"Кількість символів не може бути більше {maxLength} (Ви ввели {length}).",integer:"Введіть в це поле число. Дробові числа (наприклад 1.25) не дозволені.",numeric:'Введіть в це поле число (наприклад "1" або "1.1", або "-1", або "-1.1").',digits:"В цьому полі ви можете використовувати лише цифри і знаки пунктіації (наприклад, телефонний номер з знаками дефізу або з крапками).",alpha:"В цьому полі можна використовувати лише латинські літери (a-z). Пробіли і інші символи заборонені.",alphanum:"В цьому полі можна використовувати лише латинські літери (a-z) і цифри (0-9). Пробіли і інші символи заборонені.",dateSuchAs:"Введіть коректну дату {date}.",dateInFormatMDY:'Введіть дату в форматі ММ/ДД/РРРР (наприклад "12/31/2009").',email:'Введіть коректну адресу електронної пошти (наприклад "name@domain.com").',url:"Введіть коректне інтернет-посилання (наприклад http://www.example.com).",currencyDollar:'Введіть суму в доларах (наприклад "$100.00").',oneRequired:"Заповніть одне з полів.",errorPrefix:"Помилка: ",warningPrefix:"Увага: ",noSpace:"Пробіли заборонені.",reqChkByNode:"Не відмічено жодного варіанту.",requiredChk:"Це поле повинне бути віміченим.",reqChkByName:"Будь ласка, відмітьте {label}.",match:"Це поле повинно відповідати {matchName}",startDate:"початкова дата",endDate:"кінцева дата",currendDate:"сьогоднішня дата",afterDate:"Ця дата повинна бути такою ж, або пізнішою за {label}.",beforeDate:"Ця дата повинна бути такою ж, або ранішою за {label}.",startMonth:"Будь ласка, виберіть початковий місяць",sameMonth:"Ці дати повинні відноситись одного і того ж місяця. Будь ласка, змініть одну з них.",creditcard:"Номер кредитної карти введений неправильно. Будь ласка, перевірте його. Введено {length} символів."}),Locale.define("zh-CHS","Date",{months:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],months_abbr:["一","二","三","四","五","六","七","八","九","十","十一","十二"],days:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],days_abbr:["日","一","二","三","四","五","六"],dateOrder:["year","month","date"],shortDate:"%Y-%m-%d",shortTime:"%I:%M%p",AM:"AM",PM:"PM",firstDayOfWeek:1,ordinal:"",lessThanMinuteAgo:"不到1分钟前",minuteAgo:"大约1分钟前",minutesAgo:"{delta}分钟之前",hourAgo:"大约1小时前",hoursAgo:"大约{delta}小时前",dayAgo:"1天前",daysAgo:"{delta}天前",weekAgo:"1星期前",weeksAgo:"{delta}星期前",monthAgo:"1个月前",monthsAgo:"{delta}个月前",yearAgo:"1年前",yearsAgo:"{delta}年前",lessThanMinuteUntil:"从现在开始不到1分钟",minuteUntil:"从现在开始約1分钟",minutesUntil:"从现在开始约{delta}分钟",hourUntil:"从现在开始1小时",hoursUntil:"从现在开始约{delta}小时",dayUntil:"从现在开始1天",daysUntil:"从现在开始{delta}天",weekUntil:"从现在开始1星期",weeksUntil:"从现在开始{delta}星期",monthUntil:"从现在开始一个月",monthsUntil:"从现在开始{delta}个月",yearUntil:"从现在开始1年",yearsUntil:"从现在开始{delta}年"}),Locale.define("zh-CHT","Date",{months:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],months_abbr:["一","二","三","四","五","六","七","八","九","十","十一","十二"],days:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],days_abbr:["日","一","二","三","四","五","六"],dateOrder:["year","month","date"],shortDate:"%Y-%m-%d",shortTime:"%I:%M%p",AM:"AM",PM:"PM",firstDayOfWeek:1,ordinal:"",lessThanMinuteAgo:"不到1分鐘前",minuteAgo:"大約1分鐘前",minutesAgo:"{delta}分鐘之前",hourAgo:"大約1小時前",hoursAgo:"大約{delta}小時前",dayAgo:"1天前",daysAgo:"{delta}天前",weekAgo:"1星期前",weeksAgo:"{delta}星期前",monthAgo:"1个月前",monthsAgo:"{delta}个月前",yearAgo:"1年前",yearsAgo:"{delta}年前",lessThanMinuteUntil:"從現在開始不到1分鐘",minuteUntil:"從現在開始約1分鐘",minutesUntil:"從現在開始約{delta}分鐘",hourUntil:"從現在開始1小時",hoursUntil:"從現在開始約{delta}小時",dayUntil:"從現在開始1天",daysUntil:"從現在開始{delta}天",weekUntil:"從現在開始1星期",weeksUntil:"從現在開始{delta}星期",monthUntil:"從現在開始一個月",monthsUntil:"從現在開始{delta}個月",yearUntil:"從現在開始1年",yearsUntil:"從現在開始{delta}年"}),Locale.define("zh-CHS","FormValidator",{required:"此项必填。",minLength:"请至少输入 {minLength} 个字符 (已输入 {length} 个)。",maxLength:"最多只能输入 {maxLength} 个字符 (已输入 {length} 个)。",integer:'请输入一个整数,不能包含小数点。例如:"1", "200"。',numeric:'请输入一个数字,例如:"1", "1.1", "-1", "-1.1"。',digits:"请输入由数字和标点符号组成的内容。例如电话号码。",alpha:"请输入 A-Z 的 26 个字母,不能包含空格或任何其他字符。",alphanum:"请输入 A-Z 的 26 个字母或 0-9 的 10 个数字,不能包含空格或任何其他字符。",dateSuchAs:"请输入合法的日期格式,如:{date}。",dateInFormatMDY:'请输入合法的日期格式,例如:YYYY-MM-DD ("2010-12-31")。',email:'请输入合法的电子信箱地址,例如:"fred@domain.com"。',url:"请输入合法的 Url 地址,例如:http://www.example.com。",currencyDollar:"请输入合法的货币符号,例如:¥100.0",oneRequired:"请至少选择一项。",errorPrefix:"错误:",warningPrefix:"警告:",noSpace:"不能包含空格。",reqChkByNode:"未选择任何内容。",requiredChk:"此项必填。",reqChkByName:"请选择 {label}.",match:"必须与{matchName}相匹配",startDate:"起始日期",endDate:"结束日期",currendDate:"当前日期",afterDate:"日期必须等于或晚于 {label}.",beforeDate:"日期必须早于或等于 {label}.",startMonth:"请选择起始月份",sameMonth:"您必须修改两个日期中的一个,以确保它们在同一月份。",creditcard:"您输入的信用卡号码不正确。当前已输入{length}个字符。"}),Locale.define("zh-CHT","FormValidator",{required:"此項必填。 ",minLength:"請至少輸入{minLength} 個字符(已輸入{length} 個)。 ",maxLength:"最多只能輸入{maxLength} 個字符(已輸入{length} 個)。 ",integer:'請輸入一個整數,不能包含小數點。例如:"1", "200"。 ',numeric:'請輸入一個數字,例如:"1", "1.1", "-1", "-1.1"。 ',digits:"請輸入由數字和標點符號組成的內容。例如電話號碼。 ",alpha:"請輸入AZ 的26 個字母,不能包含空格或任何其他字符。 ",alphanum:"請輸入AZ 的26 個字母或0-9 的10 個數字,不能包含空格或任何其他字符。 ",dateSuchAs:"請輸入合法的日期格式,如:{date}。 ",dateInFormatMDY:'請輸入合法的日期格式,例如:YYYY-MM-DD ("2010-12-31")。 ',email:'請輸入合法的電子信箱地址,例如:"fred@domain.com"。 ',url:"請輸入合法的Url 地址,例如:http://www.example.com。 ",currencyDollar:"請輸入合法的貨幣符號,例如:¥100.0",oneRequired:"請至少選擇一項。 ",errorPrefix:"錯誤:",warningPrefix:"警告:",noSpace:"不能包含空格。 ",reqChkByNode:"未選擇任何內容。 ",requiredChk:"此項必填。 ",reqChkByName:"請選擇 {label}.",match:"必須與{matchName}相匹配",startDate:"起始日期",endDate:"結束日期",currendDate:"當前日期",afterDate:"日期必須等於或晚於{label}.",beforeDate:"日期必須早於或等於{label}.",startMonth:"請選擇起始月份",sameMonth:"您必須修改兩個日期中的一個,以確保它們在同一月份。 ",creditcard:"您輸入的信用卡號碼不正確。當前已輸入{length}個字符。 "}),Form.Validator.add("validate-currency-yuan",{errorMsg:function(){return Form.Validator.getMsg("currencyYuan")},test:function(a){return Form.Validator.getValidator("IsEmpty").test(a)||/^¥?\-?([1-9]{1}[0-9]{0,2}(\,[0-9]{3})*(\.[0-9]{0,2})?|[1-9]{1}\d*(\.[0-9]{0,2})?|0(\.[0-9]{0,2})?|(\.[0-9]{1,2})?)$/.test(a.get("value"))}})