var Ext=Ext||{};Ext._startTime=(new Date).getTime(),function(){var i,ExtApp,global=this,objectPrototype=Object.prototype,toString=objectPrototype.toString,enumerables=!0,enumerablesTest={toString:1},emptyFn=function(){},callOverrideParent=function(){var method=callOverrideParent.caller.caller;return method.$owner.prototype[method.$name].apply(this,arguments)},nonWhitespaceRe=/\S/,iterableRe=/\[object\s*(?:Array|Arguments|\w*Collection|\w*List|HTML\s+document\.all\s+class)\]/;Ext.global=global;for(i in enumerablesTest)enumerables=null;enumerables&&(enumerables=["hasOwnProperty","valueOf","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","constructor"]),Ext.enumerables=enumerables,Ext.apply=function(object,config,defaults){if(defaults&&Ext.apply(object,defaults),object&&config&&"object"==typeof config){var i,j,k;for(i in config)object[i]=config[i];if(enumerables)for(j=enumerables.length;j--;)k=enumerables[j],config.hasOwnProperty(k)&&(object[k]=config[k])}return object},Ext.buildSettings=Ext.apply({baseCSSPrefix:"x-"},Ext.buildSettings||{}),Ext.apply(Ext,{name:Ext.sandboxName||"Ext",emptyFn:emptyFn,identityFn:function(o){return o},emptyString:new String,baseCSSPrefix:Ext.buildSettings.baseCSSPrefix,applyIf:function(object,config){var property;if(object)for(property in config)void 0===object[property]&&(object[property]=config[property]);return object},iterate:function(object,fn,scope){Ext.isEmpty(object)||(void 0===scope&&(scope=object),Ext.isIterable(object)?Ext.Array.each.call(Ext.Array,object,fn,scope):Ext.Object.each.call(Ext.Object,object,fn,scope))}}),Ext.apply(Ext,{extend:function(){var objectConstructor=objectPrototype.constructor,inlineOverrides=function(o){for(var m in o)o.hasOwnProperty(m)&&(this[m]=o[m])};return function(subclass,superclass,overrides){Ext.isObject(superclass)&&(overrides=superclass,superclass=subclass,subclass=overrides.constructor!==objectConstructor?overrides.constructor:function(){superclass.apply(this,arguments)}),superclass||Ext.Error.raise({sourceClass:"Ext",sourceMethod:"extend",msg:"Attempting to extend from a class which has not been loaded on the page."});var subclassProto,F=function(){},superclassProto=superclass.prototype;return F.prototype=superclassProto,subclassProto=subclass.prototype=new F,subclassProto.constructor=subclass,subclass.superclass=superclassProto,superclassProto.constructor===objectConstructor&&(superclassProto.constructor=superclass),subclass.override=function(overrides){Ext.override(subclass,overrides)},subclassProto.override=inlineOverrides,subclassProto.proto=subclassProto,subclass.override(overrides),subclass.extend=function(o){return Ext.extend(subclass,o)},subclass}}(),override:function(target,overrides){if(target.$isClass)target.override(overrides);else if("function"==typeof target)Ext.apply(target.prototype,overrides);else{var name,value,owner=target.self;if(owner&&owner.$isClass)for(name in overrides)overrides.hasOwnProperty(name)&&(value=overrides[name],"function"==typeof value&&(owner.$className&&(value.displayName=owner.$className+"#"+name),value.$name=name,value.$owner=owner,value.$previous=target.hasOwnProperty(name)?target[name]:callOverrideParent),target[name]=value);else Ext.apply(target,overrides)}return target}}),Ext.apply(Ext,{valueFrom:function(value,defaultValue,allowBlank){return Ext.isEmpty(value,allowBlank)?defaultValue:value},typeOf:function(value){var type;if(null===value)return"null";if("undefined"===(type=typeof value)||"string"===type||"number"===type||"boolean"===type)return type;switch(toString.call(value)){case"[object Array]":return"array";case"[object Date]":return"date";case"[object Boolean]":return"boolean";case"[object Number]":return"number";case"[object RegExp]":return"regexp"}return"function"===type?"function":"object"===type?void 0!==value.nodeType?3===value.nodeType?nonWhitespaceRe.test(value.nodeValue)?"textnode":"whitespace":"element":"object":void Ext.Error.raise({sourceClass:"Ext",sourceMethod:"typeOf",msg:'Failed to determine the type of the specified value "'+value+'". This is most likely a bug.'})},coerce:function(from,to){var fromType=Ext.typeOf(from),toType=Ext.typeOf(to),isString="string"==typeof from;if(fromType!==toType)switch(toType){case"string":return String(from);case"number":return Number(from);case"boolean":return!(isString&&(!from||"false"===from))&&Boolean(from);case"null":return!isString||from&&"null"!==from?from:null;case"undefined":return!isString||from&&"undefined"!==from?from:void 0;case"date":return isString&&isNaN(from)?Ext.Date.parse(from,Ext.Date.defaultFormat):Date(Number(from))}return from},isEmpty:function(value,allowEmptyString){return null===value||void 0===value||!allowEmptyString&&""===value||Ext.isArray(value)&&0===value.length},isArray:"isArray"in Array?Array.isArray:function(value){return"[object Array]"===toString.call(value)},isDate:function(value){return"[object Date]"===toString.call(value)},isObject:"[object Object]"===toString.call(null)?function(value){return null!==value&&void 0!==value&&"[object Object]"===toString.call(value)&&void 0===value.ownerDocument}:function(value){return"[object Object]"===toString.call(value)},isSimpleObject:function(value){return value instanceof Object&&value.constructor===Object},isPrimitive:function(value){var type=typeof value;return"string"===type||"number"===type||"boolean"===type},isFunction:"undefined"!=typeof document&&"function"==typeof document.getElementsByTagName("body")?function(value){return!!value&&"[object Function]"===toString.call(value)}:function(value){return!!value&&"function"==typeof value},isNumber:function(value){return"number"==typeof value&&isFinite(value)},isNumeric:function(value){return!isNaN(parseFloat(value))&&isFinite(value)},isString:function(value){return"string"==typeof value},isBoolean:function(value){return"boolean"==typeof value},isElement:function(value){return!!value&&1===value.nodeType},isTextNode:function(value){return!!value&&"#text"===value.nodeName},isDefined:function(value){return void 0!==value},isIterable:function(value){return!(!value||"number"!=typeof value.length||"string"==typeof value||Ext.isFunction(value))&&(value.propertyIsEnumerable?!(!value.hasOwnProperty("length")||value.propertyIsEnumerable("length"))||iterableRe.test(toString.call(value)):!!value.item)}}),Ext.apply(Ext,{clone:function(item){var type,i,j,k,clone,key;if(null===item||void 0===item)return item;if(item.nodeType&&item.cloneNode)return item.cloneNode(!0);if("[object Date]"===(type=toString.call(item)))return new Date(item.getTime());if("[object Array]"===type)for(i=item.length,clone=[];i--;)clone[i]=Ext.clone(item[i]);else if("[object Object]"===type&&item.constructor===Object){clone={};for(key in item)clone[key]=Ext.clone(item[key]);if(enumerables)for(j=enumerables.length;j--;)k=enumerables[j],item.hasOwnProperty(k)&&(clone[k]=item[k])}return clone||item},getUniqueGlobalNamespace:function(){var i,uniqueGlobalNamespace=this.uniqueGlobalNamespace;if(void 0===uniqueGlobalNamespace){i=0;do{uniqueGlobalNamespace="ExtBox"+ ++i}while(void 0!==Ext.global[uniqueGlobalNamespace]);Ext.global[uniqueGlobalNamespace]=Ext,this.uniqueGlobalNamespace=uniqueGlobalNamespace}return uniqueGlobalNamespace},functionFactoryCache:{},cacheableFunctionFactory:function(){var idx,fn,ln,me=this,args=Array.prototype.slice.call(arguments),cache=me.functionFactoryCache;return Ext.isSandboxed&&(ln=args.length)>0&&(ln--,args[ln]="var Ext=window."+Ext.name+";"+args[ln]),idx=args.join(""),fn=cache[idx],fn||(fn=Function.prototype.constructor.apply(Function.prototype,args),cache[idx]=fn),fn},functionFactory:function(){var ln,args=Array.prototype.slice.call(arguments);return Ext.isSandboxed&&(ln=args.length)>0&&(ln--,args[ln]="var Ext=window."+Ext.name+";"+args[ln]),Function.prototype.constructor.apply(Function.prototype,args)},Logger:{verbose:emptyFn,log:emptyFn,info:emptyFn,warn:emptyFn,error:function(message){throw new Error(message)},deprecate:emptyFn}}),Ext.type=Ext.typeOf,ExtApp=Ext.app,ExtApp||(ExtApp=Ext.app={}),Ext.apply(ExtApp,{namespaces:{},collectNamespaces:function(paths){var path,namespaces=Ext.app.namespaces;for(path in paths)paths.hasOwnProperty(path)&&(namespaces[path]=!0)},addNamespaces:function(ns){var i,l,namespaces=Ext.app.namespaces;for(Ext.isArray(ns)||(ns=[ns]),i=0,l=ns.length;ideepestPrefix.length&&prefix+"."===className.substring(0,prefix.length+1)&&(deepestPrefix=prefix);return""===deepestPrefix?void 0:deepestPrefix}})}(),Ext.globalEval=Ext.global.execScript?function(code){execScript(code)}:function($$code){!function(){var Ext=this.Ext;eval($$code)}()};!function(){var Version,checkVerTemp=[""],endOfVersionRe=/([^\d\.])/,notDigitsRe=/[^\d]/g,plusMinusRe=/[\-+]/g,stripRe=/\s/g,underscoreRe=/_/g;Ext.Version=Version=Ext.extend(Object,{isVersion:!0,padModes:{"~":NaN,"^":1/0},release:"",constructor:function(version,defaultMode){var ch,i,pad,parts,release,releaseStartIndex,ver,me=this,padModes=me.padModes;if(version.isVersion)return version;me.version=ver=String(version).toLowerCase().replace(underscoreRe,".").replace(plusMinusRe,""),ch=ver.charAt(0),ch in padModes?(ver=ver.substring(1),pad=padModes[ch]):pad=defaultMode?padModes[defaultMode]:0,me.pad=pad,releaseStartIndex=ver.search(endOfVersionRe),me.shortVersion=ver,-1!==releaseStartIndex&&(me.release=release=ver.substr(releaseStartIndex,version.length),me.shortVersion=ver.substr(0,releaseStartIndex),release=Version.releaseValueMap[release]||release),me.releaseValue=release||pad,me.shortVersion=me.shortVersion.replace(notDigitsRe,""),me.parts=parts=ver.split(".");for(i=parts.length;i--;)parts[i]=parseInt(parts[i],10);return pad===1/0&&parts.push(pad),me.major=parts[0]||pad,me.minor=parts[1]||pad,me.patch=parts[2]||pad,me.build=parts[3]||pad,me},compareTo:function(other){var i,lhs,rhs,me=this,lhsPad=me.pad,lhsParts=me.parts,lhsLength=lhsParts.length,rhsVersion=other.isVersion?other:new Version(other),rhsPad=rhsVersion.pad,rhsParts=rhsVersion.parts,rhsLength=rhsParts.length,length=Math.max(lhsLength,rhsLength);for(i=0;irhs)return 1}return lhs=me.releaseValue,rhs=rhsVersion.releaseValue,lhsrhs?1:0},toString:function(){return this.version},valueOf:function(){return this.version},getMajor:function(){return this.major},getMinor:function(){return this.minor},getPatch:function(){return this.patch},getBuild:function(){return this.build},getRelease:function(){return this.release},getReleaseValue:function(){return this.releaseValue},isGreaterThan:function(target){return this.compareTo(target)>0},isGreaterThanOrEqual:function(target){return this.compareTo(target)>=0},isLessThan:function(target){return this.compareTo(target)<0},isLessThanOrEqual:function(target){return this.compareTo(target)<=0},equals:function(target){return 0===this.compareTo(target)},match:function(target){return target=String(target),this.version.substr(0,target.length)===target},toArray:function(){var me=this;return[me.getMajor(),me.getMinor(),me.getPatch(),me.getBuild(),me.getRelease()]},getShortVersion:function(){return this.shortVersion},gt:function(target){return this.compareTo(target)>0},lt:function(target){return this.compareTo(target)<0},gtEq:function(target){return this.compareTo(target)>=0},ltEq:function(target){return this.compareTo(target)<=0}}),Ext.apply(Version,{releaseValueMap:{dev:-6,alpha:-5,a:-5,beta:-4,b:-4,rc:-3,"#":-2,p:-1,pl:-1},getComponentValue:function(value){return value?isNaN(value)?this.releaseValueMap[value]||value:parseInt(value,10):0},compare:function(current,target){return(current.isVersion?current:new Version(current)).compareTo(target)}}),Ext.apply(Ext,{versions:{},lastRegisteredVersion:null,setVersion:function(packageName,version){return Ext.lastRegisteredVersion=Ext.versions[packageName]=new Version(version),this},getVersion:function(packageName){return void 0===packageName?Ext.lastRegisteredVersion:Ext.versions[packageName]},checkVersion:function(specs,matchAll){var i,index,matches,minVer,maxVer,spec,range,ver,isArray=Ext.isArray(specs),compat=isArray?specs:checkVerTemp,length=compat.length,versions=Ext.versions,frameworkVer=versions.ext||versions.touch;for(isArray||(checkVerTemp[0]=specs),i=0;i=0&&(spec=spec.replace(stripRe,"")),(index=spec.indexOf("@"))<0)range=spec,ver=frameworkVer;else{if(!(ver=versions[spec.substring(0,index)])){if(matchAll)return!1;continue}range=spec.substring(index+1)}index=range.indexOf("-"),index<0?"+"===range.charAt(index=range.length-1)?(minVer=range.substring(0,index),maxVer=null):minVer=maxVer=range:index>0?(minVer=range.substring(0,index),maxVer=range.substring(index+1)):(minVer=null,maxVer=range.substring(index+1)),matches=!0,minVer&&(minVer=new Version(minVer,"~"),matches=minVer.ltEq(ver)),matches&&maxVer&&(maxVer=new Version(maxVer,"~"),matches=maxVer.gtEq(ver))}else matches=Ext.checkVersion(spec.and||spec.or,!spec.or),spec.not&&(matches=!matches);if(matches){if(!matchAll)return!0}else if(matchAll)return!1}return!!matchAll},deprecate:function(packageName,since,closure,scope){Version.compare(Ext.getVersion(packageName),since)<1&&closure.call(scope)}}),Ext.setVersion("core","4.2.2.1144")}();Ext.String=function(){var charToEntity,entityToChar,charToEntityRegex,entityToCharRegex,trimRegex=/^[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u2028\u2029\u202f\u205f\u3000]+|[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u2028\u2029\u202f\u205f\u3000]+$/g,escapeRe=/('|\\)/g,formatRe=/\{(\d+)\}/g,escapeRegexRe=/([-.*+?\^${}()|\[\]\/\\])/g,basicTrimRe=/^\s+|\s+$/g,whitespaceRe=/\s+/,varReplace=/(^[^a-z]*|[^\w])/gi,htmlEncodeReplaceFn=function(match,capture){return charToEntity[capture]},htmlDecodeReplaceFn=function(match,capture){return capture in entityToChar?entityToChar[capture]:String.fromCharCode(parseInt(capture.substr(2),10))},boundsCheck=function(s,other){return null!==s&&void 0!==s&&null!==other&&void 0!==other&&other.length<=s.length};return{insert:function(s,value,index){if(!s)return value;if(!value)return s;var len=s.length;return index||0===index||(index=len),index<0&&(index*=-1,index=index>=len?0:len-index),0===index?s=value+s:index>=s.length?s+=value:s=s.substr(0,index)+value+s.substr(index),s},startsWith:function(s,start,ignoreCase){var result=boundsCheck(s,start);return result&&(ignoreCase&&(s=s.toLowerCase(),start=start.toLowerCase()),result=0===s.lastIndexOf(start,0)),result},endsWith:function(s,end,ignoreCase){var result=boundsCheck(s,end);return result&&(ignoreCase&&(s=s.toLowerCase(),end=end.toLowerCase()),result=-1!==s.indexOf(end,s.length-end.length)),result},createVarName:function(s){return s.replace(varReplace,"")},htmlEncode:function(value){return value?String(value).replace(charToEntityRegex,htmlEncodeReplaceFn):value},htmlDecode:function(value){return value?String(value).replace(entityToCharRegex,htmlDecodeReplaceFn):value},hasHtmlCharacters:function(s){return charToEntityRegex.test(s)},addCharacterEntities:function(newEntities){var key,echar,charKeys=[],entityKeys=[];for(key in newEntities)echar=newEntities[key],entityToChar[key]=echar,charToEntity[echar]=key,charKeys.push(echar),entityKeys.push(key);charToEntityRegex=new RegExp("("+charKeys.join("|")+")","g"),entityToCharRegex=new RegExp("("+entityKeys.join("|")+"|&#[0-9]{1,5};)","g")},resetCharacterEntities:function(){charToEntity={},entityToChar={},this.addCharacterEntities({"&":"&",">":">","<":"<",""":'"',"'":"'"})},urlAppend:function(url,string){return Ext.isEmpty(string)?url:url+(-1===url.indexOf("?")?"?":"&")+string},trim:function(string){return string.replace(trimRegex,"")},capitalize:function(string){return string.charAt(0).toUpperCase()+string.substr(1)},uncapitalize:function(string){return string.charAt(0).toLowerCase()+string.substr(1)},ellipsis:function(value,len,word){if(value&&value.length>len){if(word){var vs=value.substr(0,len-2),index=Math.max(vs.lastIndexOf(" "),vs.lastIndexOf("."),vs.lastIndexOf("!"),vs.lastIndexOf("?"));if(-1!==index&&index>=len-15)return vs.substr(0,index)+"..."}return value.substr(0,len-3)+"..."}return value},escapeRegex:function(string){return string.replace(escapeRegexRe,"\\$1")},escape:function(string){return string.replace(escapeRe,"\\$1")},toggle:function(string,value,other){return string===value?other:value},leftPad:function(string,size,character){var result=String(string);for(character=character||" ";result.lengthmax?max:x},snap:function(value,increment,minValue,maxValue){var m;return void 0===value||value=increment?value+=increment:2*m<-increment&&(value-=increment)),me.constrain(value,minValue,maxValue))},snapInRange:function(value,increment,minValue,maxValue){var tween;return minValue=minValue||0,void 0===value||value=increment&&(value+=increment)),void 0!==maxValue&&value>(maxValue=me.snapInRange(maxValue,increment,minValue))&&(value=maxValue),value)},toFixed:isToFixedBroken?function(value,precision){precision=precision||0;var pow=math.pow(10,precision);return(math.round(value*pow)/pow).toFixed(precision)}:function(value,precision){return value.toFixed(precision)},from:function(value,defaultValue){return isFinite(value)&&(value=parseFloat(value)),isNaN(value)?defaultValue:value},randomInt:function(from,to){return math.floor(math.random()*(to-from+1)+from)},correctFloat:function(n){return parseFloat(n.toPrecision(14))}}),Ext.num=function(){return me.from.apply(this,arguments)}};!function(){function fixArrayIndex(array,index){return index<0?Math.max(0,array.length+index):Math.min(array.length,index)}function replaceSim(array,index,removeCount,insert){var remove,tailOldPos,tailNewPos,tailCount,lengthAfterRemove,i,add=insert?insert.length:0,length=array.length,pos=fixArrayIndex(array,index);if(pos===length)add&&array.push.apply(array,insert);else{if(remove=Math.min(removeCount,length-pos),tailOldPos=pos+remove,tailNewPos=tailOldPos+add-remove,tailCount=length-tailOldPos,lengthAfterRemove=length-remove,tailNewPostailOldPos)for(i=tailCount;i--;)array[tailNewPos+i]=array[tailOldPos+i];if(add&&pos===lengthAfterRemove)array.length=lengthAfterRemove,array.push.apply(array,insert);else for(array.length=lengthAfterRemove+add,i=0;i-1;i--)if(!1===fn.call(scope||array[i],array[i],i,array))return i;return!0},forEach:supportsForEach?function(array,fn,scope){array.forEach(fn,scope)}:function(array,fn,scope){for(var i=0,ln=array.length;imax&&(max=item);return max},mean:function(array){return array.length>0?ExtArray.sum(array)/array.length:void 0},sum:function(array){var i,ln,item,sum=0;for(i=0,ln=array.length;i0?setTimeout(Ext.supports.TimeoutActualLateness?function(){fn()}:fn,millis):(fn(),0)},createSequence:function(originalFn,newFn,scope){return newFn?function(){var result=originalFn.apply(this,arguments);return newFn.apply(scope||this,arguments),result}:originalFn},createBuffered:function(fn,buffer,scope,args){var timerId;return function(){var callArgs=args||Array.prototype.slice.call(arguments,0),me=scope||this;timerId&&clearTimeout(timerId),timerId=setTimeout(function(){fn.apply(me,callArgs)},buffer)}},createThrottled:function(fn,interval,scope){var lastCallTime,elapsed,lastArgs,timer,execute=function(){fn.apply(scope||this,lastArgs),lastCallTime=Ext.Date.now()};return function(){elapsed=Ext.Date.now()-lastCallTime,lastArgs=arguments,clearTimeout(timer),!lastCallTime||elapsed>=interval?execute():timer=setTimeout(execute,interval-elapsed)}},interceptBefore:function(object,methodName,fn,scope){var method=object[methodName]||Ext.emptyFn;return object[methodName]=function(){var ret=fn.apply(scope||this,arguments);return method.apply(this,arguments),ret}},interceptAfter:function(object,methodName,fn,scope){var method=object[methodName]||Ext.emptyFn;return object[methodName]=function(){return method.apply(this,arguments),fn.apply(scope||this,arguments)}}},Ext.defer=Ext.Function.alias(Ext.Function,"defer"),Ext.pass=Ext.Function.alias(Ext.Function,"pass"),Ext.bind=Ext.Function.alias(Ext.Function,"bind");!function(){var TemplateClass=function(){},ExtObject=Ext.Object={chain:Object.create||function(object){TemplateClass.prototype=object;var result=new TemplateClass;return TemplateClass.prototype=null,result},clear:function(object){for(var keys=ExtObject.getKeys(object),n=keys.length;n--;)delete object[keys[n]];return object},toQueryObjects:function(name,value,recursive){var i,ln,self=ExtObject.toQueryObjects,objects=[];if(Ext.isArray(value))for(i=0,ln=value.length;i0)if(components=part.split("="),name=decodeURIComponent(components[0]),value=void 0!==components[1]?decodeURIComponent(components[1]):"",recursive){if(matchedKeys=name.match(/(\[):?([^\]]*)\]/g),!(matchedName=name.match(/^([^\[]+)/)))throw new Error('[Ext.Object.fromQueryString] Malformed query string given, failed parsing name from "'+part+'"');if(name=matchedName[0],keys=[],null===matchedKeys){object[name]=value;continue}for(j=0,subLn=matchedKeys.length;j daysInMonth) {","d = daysInMonth;","}","}","h = from(h, from(def.h, dt.getHours()));","i = from(i, from(def.i, dt.getMinutes()));","s = from(s, from(def.s, dt.getSeconds()));","ms = from(ms, from(def.ms, dt.getMilliseconds()));","if(z >= 0 && y >= 0){","v = me.add(new Date(y < 100 ? 100 : y, 0, 1, h, i, s, ms), me.YEAR, y < 100 ? y - 100 : 0);","v = !strict? v : (strict === true && (z <= 364 || (me.isLeapYear(v) && z <= 365))? me.add(v, me.DAY, z) : null);","}else if(strict === true && !me.isValid(y, m + 1, d, h, i, s, ms)){","v = null;","}else{","if (W) {","year = y || (new Date()).getFullYear(),","jan4 = new Date(year, 0, 4, 0, 0, 0),","week1monday = new Date(jan4.getTime() - ((jan4.getDay() - 1) * 86400000));","v = Ext.Date.clearTime(new Date(week1monday.getTime() + ((W - 1) * 604800000)));","} else {","v = me.add(new Date(y < 100 ? 100 : y, m, d, h, i, s, ms), me.YEAR, y < 100 ? y - 100 : 0);","}","}","}","}","if(v){","if(zz != null){","v = me.add(v, me.SECOND, -v.getTimezoneOffset() * 60 - zz);","}else if(o){","v = me.add(v, me.MINUTE, -v.getTimezoneOffset() + (sn == '+'? -1 : 1) * (hr * 60 + mn));","}","}","return v;"].join("\n");Ext.apply(utilDate,{now:Date.now||function(){return+new Date},toString:function(date){var pad=Ext.String.leftPad;return date.getFullYear()+"-"+pad(date.getMonth()+1,2,"0")+"-"+pad(date.getDate(),2,"0")+"T"+pad(date.getHours(),2,"0")+":"+pad(date.getMinutes(),2,"0")+":"+pad(date.getSeconds(),2,"0")},getElapsed:function(dateA,dateB){return Math.abs(dateA-(dateB||utilDate.now()))},useStrict:!1,formatCodeToRegex:function(character,currentGroup){var p=utilDate.parseCodes[character];return p&&(p="function"==typeof p?p():p,utilDate.parseCodes[character]=p),p?Ext.applyIf({c:p.c?xf(p.c,currentGroup||"{0}"):p.c},p):{g:0,c:null,s:Ext.String.escapeRegex(character)}},parseFunctions:{MS:function(input,strict){var r=(input||"").match(MSFormatRe);return r?new Date(1*((r[1]||"")+r[2])):null},time:function(input,strict){var num=parseInt(input,10);return num||0===num?new Date(num):null},timestamp:function(input,strict){var num=parseInt(input,10);return num||0===num?new Date(1e3*num):null}},parseRegexes:[],formatFunctions:{MS:function(){return"\\/Date("+this.getTime()+")\\/"},time:function(){return this.getTime().toString()},timestamp:function(){return utilDate.format(this,"U")}},y2kYear:50,MILLI:"ms",SECOND:"s",MINUTE:"mi",HOUR:"h",DAY:"d",MONTH:"mo",YEAR:"y",defaults:{},dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNumbers:{January:0,Jan:0,February:1,Feb:1,March:2,Mar:2,April:3,Apr:3,May:4,June:5,Jun:5,July:6,Jul:6,August:7,Aug:7,September:8,Sep:8,October:9,Oct:9,November:10,Nov:10,December:11,Dec:11},defaultFormat:"m/d/Y",getShortMonthName:function(month){return Ext.Date.monthNames[month].substring(0,3)},getShortDayName:function(day){return Ext.Date.dayNames[day].substring(0,3)},getMonthNumber:function(name){return Ext.Date.monthNumbers[name.substring(0,1).toUpperCase()+name.substring(1,3).toLowerCase()]},formatContainsHourInfo:function(format){return hourInfoRe.test(format.replace(stripEscapeRe,""))},formatContainsDateInfo:function(format){return dateInfoRe.test(format.replace(stripEscapeRe,""))},unescapeFormat:function(format){return format.replace(slashRe,"")},formatCodes:{d:"Ext.String.leftPad(this.getDate(), 2, '0')",D:"Ext.Date.getShortDayName(this.getDay())",j:"this.getDate()",l:"Ext.Date.dayNames[this.getDay()]",N:"(this.getDay() ? this.getDay() : 7)",S:"Ext.Date.getSuffix(this)",w:"this.getDay()",z:"Ext.Date.getDayOfYear(this)",W:"Ext.String.leftPad(Ext.Date.getWeekOfYear(this), 2, '0')",F:"Ext.Date.monthNames[this.getMonth()]",m:"Ext.String.leftPad(this.getMonth() + 1, 2, '0')",M:"Ext.Date.getShortMonthName(this.getMonth())",n:"(this.getMonth() + 1)",t:"Ext.Date.getDaysInMonth(this)",L:"(Ext.Date.isLeapYear(this) ? 1 : 0)",o:"(this.getFullYear() + (Ext.Date.getWeekOfYear(this) == 1 && this.getMonth() > 0 ? +1 : (Ext.Date.getWeekOfYear(this) >= 52 && this.getMonth() < 11 ? -1 : 0)))",Y:"Ext.String.leftPad(this.getFullYear(), 4, '0')",y:"('' + this.getFullYear()).substring(2, 4)",a:"(this.getHours() < 12 ? 'am' : 'pm')",A:"(this.getHours() < 12 ? 'AM' : 'PM')",g:"((this.getHours() % 12) ? this.getHours() % 12 : 12)",G:"this.getHours()",h:"Ext.String.leftPad((this.getHours() % 12) ? this.getHours() % 12 : 12, 2, '0')",H:"Ext.String.leftPad(this.getHours(), 2, '0')",i:"Ext.String.leftPad(this.getMinutes(), 2, '0')",s:"Ext.String.leftPad(this.getSeconds(), 2, '0')",u:"Ext.String.leftPad(this.getMilliseconds(), 3, '0')",O:"Ext.Date.getGMTOffset(this)",P:"Ext.Date.getGMTOffset(this, true)",T:"Ext.Date.getTimezone(this)",Z:"(this.getTimezoneOffset() * -60)",c:function(){var c,code,i,l,e;for(c="Y-m-dTH:i:sP",code=[],i=0,l=c.length;i me.y2kYear ? 1900 + ty : 2000 + ty;\n",s:"(\\d{1,2})"},a:{g:1,c:"if (/(am)/i.test(results[{0}])) {\nif (!h || h == 12) { h = 0; }\n} else { if (!h || h < 12) { h = (h || 0) + 12; }}",s:"(am|pm|AM|PM)",calcAtEnd:!0},A:{g:1,c:"if (/(am)/i.test(results[{0}])) {\nif (!h || h == 12) { h = 0; }\n} else { if (!h || h < 12) { h = (h || 0) + 12; }}",s:"(AM|PM|am|pm)",calcAtEnd:!0},g:{g:1,c:"h = parseInt(results[{0}], 10);\n",s:"(1[0-2]|[0-9])"},G:{g:1,c:"h = parseInt(results[{0}], 10);\n",s:"(2[0-3]|1[0-9]|[0-9])"},h:{g:1,c:"h = parseInt(results[{0}], 10);\n",s:"(1[0-2]|0[1-9])"},H:{g:1,c:"h = parseInt(results[{0}], 10);\n",s:"(2[0-3]|[0-1][0-9])"},i:{g:1,c:"i = parseInt(results[{0}], 10);\n",s:"([0-5][0-9])"},s:{g:1,c:"s = parseInt(results[{0}], 10);\n",s:"([0-5][0-9])"},u:{g:1,c:"ms = results[{0}]; ms = parseInt(ms, 10)/Math.pow(10, ms.length - 3);\n",s:"(\\d+)"},O:{g:1,c:["o = results[{0}];","var sn = o.substring(0,1),","hr = o.substring(1,3)*1 + Math.floor(o.substring(3,5) / 60),","mn = o.substring(3,5) % 60;","o = ((-12 <= (hr*60 + mn)/60) && ((hr*60 + mn)/60 <= 14))? (sn + Ext.String.leftPad(hr, 2, '0') + Ext.String.leftPad(mn, 2, '0')) : null;\n"].join("\n"),s:"([+-]\\d{4})"},P:{g:1,c:["o = results[{0}];","var sn = o.substring(0,1),","hr = o.substring(1,3)*1 + Math.floor(o.substring(4,6) / 60),","mn = o.substring(4,6) % 60;","o = ((-12 <= (hr*60 + mn)/60) && ((hr*60 + mn)/60 <= 14))? (sn + Ext.String.leftPad(hr, 2, '0') + Ext.String.leftPad(mn, 2, '0')) : null;\n"].join("\n"),s:"([+-]\\d{2}:\\d{2})"},T:{g:0,c:null,s:"[A-Z]{1,5}"},Z:{g:1,c:"zz = results[{0}] * 1;\nzz = (-43200 <= zz && zz <= 50400)? zz : null;\n",s:"([+-]?\\d{1,5})"},c:function(){var i,l,calc=[],arr=[utilDate.formatCodeToRegex("Y",1),utilDate.formatCodeToRegex("m",2),utilDate.formatCodeToRegex("d",3),utilDate.formatCodeToRegex("H",4),utilDate.formatCodeToRegex("i",5),utilDate.formatCodeToRegex("s",6),{c:"ms = results[7] || '0'; ms = parseInt(ms, 10)/Math.pow(10, ms.length - 3);\n"},{c:["if(results[8]) {","if(results[8] == 'Z'){","zz = 0;","}else if (results[8].indexOf(':') > -1){",utilDate.formatCodeToRegex("P",8).c,"}else{",utilDate.formatCodeToRegex("O",8).c,"}","}"].join("\n")}];for(i=0,l=arr.length;i0?"-":"+")+Ext.String.leftPad(Math.floor(Math.abs(offset)/60),2,"0")+(colon?":":"")+Ext.String.leftPad(Math.abs(offset%60),2,"0")},getDayOfYear:function(date){var i,num=0,d=Ext.Date.clone(date),m=date.getMonth();for(i=0,d.setDate(1),d.setMonth(0);i28&&(day=Math.min(day,Ext.Date.getLastDateOfMonth(Ext.Date.add(Ext.Date.getFirstDateOfMonth(date),Ext.Date.MONTH,value)).getDate())),d.setDate(day),d.setMonth(date.getMonth()+value);break;case Ext.Date.YEAR:day=date.getDate(),day>28&&(day=Math.min(day,Ext.Date.getLastDateOfMonth(Ext.Date.add(Ext.Date.getFirstDateOfMonth(date),Ext.Date.YEAR,value)).getDate())),d.setDate(day),d.setFullYear(date.getFullYear()+value)}if(decimalValue){switch(interval.toLowerCase()){case Ext.Date.MILLI:base=1;break;case Ext.Date.SECOND:base=1e3;break;case Ext.Date.MINUTE:base=6e4;break;case Ext.Date.HOUR:base=36e5;break;case Ext.Date.DAY:base=864e5;break;case Ext.Date.MONTH:day=utilDate.getDaysInMonth(d),base=864e5*day;break;case Ext.Date.YEAR:day=utilDate.isLeapYear(d)?366:365,base=864e5*day}base&&d.setTime(d.getTime()+base*decimalValue)}return d},subtract:function(date,interval,value){return utilDate.add(date,interval,-value)},between:function(date,start,end){var t=date.getTime();return start.getTime()<=t&&t<=end.getTime()},compat:function(){var p,stat,prot,s,nativeDate=window.Date,statics=["useStrict","formatCodeToRegex","parseFunctions","parseRegexes","formatFunctions","y2kYear","MILLI","SECOND","MINUTE","HOUR","DAY","MONTH","YEAR","defaults","dayNames","monthNames","monthNumbers","getShortMonthName","getShortDayName","getMonthNumber","formatCodes","isValid","parseDate","getFormatCode","createFormat","createParser","parseCodes"],proto=["dateFormat","format","getTimezone","getGMTOffset","getDayOfYear","getWeekOfYear","isLeapYear","getFirstDayOfMonth","getLastDayOfMonth","getDaysInMonth","getSuffix","clone","isDST","clearTime","add","between"],sLen=statics.length,pLen=proto.length;for(s=0;s0)for(i=0;i> Ext.Class#onBeforeCreated",arguments),Class.addMembers(data),hooks.onCreated.call(Class,Class),Ext.classSystemMonitor&&Ext.classSystemMonitor(Class,"<< Ext.Class#onBeforeCreated",arguments)},create:function(Class,data){var name,i;for(Class||(Class=makeCtor(data.$className)),i=0;i0){if(prefix===className)return paths[prefix];path=paths[prefix],className=className.substring(prefix.length+1)}return path.length>0&&(path+="/"),path.replace(slashDotSlashRe,"/")+className.replace(dotRe,"/")+".js"},getPrefix:function(className){var prefix,paths=Loader.config.paths,deepestPrefix="";if(paths.hasOwnProperty(className))return className;for(prefix in paths)paths.hasOwnProperty(prefix)&&prefix+"."===className.substring(0,prefix.length+1)&&prefix.length>deepestPrefix.length&&(deepestPrefix=prefix);return deepestPrefix},isAClassNameWithAKnownPrefix:function(className){var prefix=Loader.getPrefix(className);return""!==prefix&&prefix!==className},require:function(expressions,fn,scope,excludes){fn&&fn.call(scope)},syncRequire:function(){},exclude:function(excludes){return{require:function(expressions,fn,scope){return Loader.require(expressions,fn,scope,excludes)},syncRequire:function(expressions,fn,scope){return Loader.syncRequire(expressions,fn,scope,excludes)}}},onReady:function(fn,scope,withDomReady,options){var oldFn;!1!==withDomReady&&Ext.onDocumentReady&&(oldFn=fn,fn=function(){Ext.onDocumentReady(oldFn,scope,options)}),fn.call(scope)}});var queue=[],isClassFileLoaded={},isFileLoaded={},classNameToFilePathMap={},scriptElements={},readyListeners=[],usedClasses=[],requiresMap={},comparePriority=function(listenerA,listenerB){return listenerB.priority-listenerA.priority};Ext.apply(Loader,{documentHead:"undefined"!=typeof document&&(document.head||document.getElementsByTagName("head")[0]),isLoading:!1,queue:queue,isClassFileLoaded:isClassFileLoaded,isFileLoaded:isFileLoaded,readyListeners:readyListeners,optionalRequires:usedClasses,requiresMap:requiresMap,numPendingFiles:0,numLoadedFiles:0,hasFileLoadError:!1,classNameToFilePathMap:classNameToFilePathMap,scriptsLoading:0,syncModeEnabled:!1,scriptElements:scriptElements,refreshQueue:function(){var i,item,j,requires,ln=queue.length;if(!ln&&!Loader.scriptsLoading)return Loader.triggerReady();for(i=0;iLoader.numLoadedFiles)continue;for(j=0;j=200&&status<300||304===status||isPhantomJS?(Ext.isIE||(debugSourceURL="\n//@ sourceURL="+url),Ext.globalEval(xhr.responseText+debugSourceURL),onLoad.call(scope)):onError.call(Loader,"Failed loading synchronously via XHR: '"+url+"'; please verify that the file exists. XHR status code: "+status,synchronous),xhr=null}else onScriptError=function(){onError.call(scope,"Failed loading '"+url+"', please verify that the file exists",synchronous)},scriptElements[url]=Loader.injectScriptElement(noCacheUrl,onLoad,onScriptError,scope)},syncRequire:function(){var syncModeEnabled=Loader.syncModeEnabled;syncModeEnabled||(Loader.syncModeEnabled=!0),Loader.require.apply(Loader,arguments),syncModeEnabled||(Loader.syncModeEnabled=!1),Loader.refreshQueue()},require:function(expressions,fn,scope,excludes){var callback,syncModeEnabled,filePath,expression,exclude,className,possibleClassName,i,j,ln,subLn,excluded={},included={},excludedClassNames=[],possibleClassNames=[],classNames=[],references=[];if(excludes)for(excludes="string"==typeof excludes?[excludes]:excludes,i=0,ln=excludes.length;i0)for(excludedClassNames=Manager.getNamesByExpression(exclude),j=0,subLn=excludedClassNames.length;j0?function(){var i,ln,classes=[];for(i=0,ln=references.length;i0)for(possibleClassNames=Manager.getNamesByExpression(expression),subLn=possibleClassNames.length,j=0;j0))return callback.call(scope),Loader;if(!Loader.config.enabled)throw new Error("Ext.Loader is not enabled, so dependencies cannot be resolved dynamically. Missing required class"+(classNames.length>1?"es":"")+": "+classNames.join(", "));for(syncModeEnabled=Loader.syncModeEnabled,syncModeEnabled||queue.push({requires:classNames.slice(),callback:callback,scope:scope}),ln=classNames.length,i=0;i ")+" -> "+deadlockPath[0]);for(i=0,ln=requiresMap[cls].length;iwindow.innerWidth?"portrait":"landscape"},destroy:function(){var i,arg,ln=arguments.length;for(i=0;i1&&(message+=Array.prototype.slice.call(arguments,1).join("")),message=indent?Ext.String.repeat(" ",log.indentSize*indent)+message:message,"log"!=level&&(message="["+level.charAt(0).toUpperCase()+"] "+message),con?(con[level]?con[level](message):con.log(message),dump&&con.dir(dump),stack&&con.trace&&(con.firebug&&"error"==level||con.trace())):Ext.isOpera?opera.postError(message):(out=log.out,max=log.max,out.length>=max&&Ext.Array.erase(out,0,out.length-3*Math.floor(max/4)),out.push(message)),++log.count,++log.counters[level]}function logx(level,args){"string"==typeof args[0]&&args.unshift({}),args[0].level=level,log.apply(this,args)}var nullLog,check=function(regex){return regex.test(Ext.userAgent)},isStrict="CSS1Compat"==document.compatMode,version=function(is,regex){var m;return is&&(m=regex.exec(Ext.userAgent))?parseFloat(m[1]):0},docMode=document.documentMode,isOpera=check(/opera/),isOpera10_5=isOpera&&check(/version\/10\.5/),isChrome=check(/\bchrome\b/),isWebKit=check(/webkit/),isSafari=!isChrome&&check(/safari/),isSafari2=isSafari&&check(/applewebkit\/4/),isSafari3=isSafari&&check(/version\/3/),isSafari4=isSafari&&check(/version\/4/),isSafari5_0=isSafari&&check(/version\/5\.0/),isSafari5=isSafari&&check(/version\/5/),isIE=!isOpera&&(check(/msie/)||check(/trident/)),isIE7=isIE&&(check(/msie 7/)&&8!=docMode&&9!=docMode&&10!=docMode||7==docMode),isIE8=isIE&&(check(/msie 8/)&&7!=docMode&&9!=docMode&&10!=docMode||8==docMode),isIE9=isIE&&(check(/msie 9/)&&7!=docMode&&8!=docMode&&10!=docMode||9==docMode),isIE10=isIE&&(check(/msie 10/)&&7!=docMode&&8!=docMode&&9!=docMode||10==docMode),isIE11=isIE&&(check(/trident\/7\.0/)&&7!=docMode&&8!=docMode&&9!=docMode&&10!=docMode||11==docMode),isIE6=isIE&&check(/msie 6/),isGecko=!isWebKit&&!isIE&&check(/gecko/),isGecko3=isGecko&&check(/rv:1\.9/),isGecko4=isGecko&&check(/rv:2\.0/),isGecko5=isGecko&&check(/rv:5\./),isGecko10=isGecko&&check(/rv:10\./),isFF3_0=isGecko3&&check(/rv:1\.9\.0/),isFF3_5=isGecko3&&check(/rv:1\.9\.1/),isFF3_6=isGecko3&&check(/rv:1\.9\.2/),isWindows=check(/windows|win32/),isMac=check(/macintosh|mac os x/),isLinux=check(/linux/),scrollbarSize=null,chromeVersion=version(!0,/\bchrome\/(\d+\.\d+)/),firefoxVersion=version(!0,/\bfirefox\/(\d+\.\d+)/),ieVersion=version(isIE,/msie (\d+\.\d+)/),operaVersion=version(isOpera,/version\/(\d+\.\d+)/),safariVersion=version(isSafari,/version\/(\d+\.\d+)/),webKitVersion=version(isWebKit,/webkit\/(\d+\.\d+)/),isSecure=/^https/i.test(window.location.protocol);try{document.execCommand("BackgroundImageCache",!1,!0)}catch(e){}var primitiveRe=/string|number|boolean/;log.error=function(){logx("error",Array.prototype.slice.call(arguments))},log.info=function(){logx("info",Array.prototype.slice.call(arguments))},log.warn=function(){logx("warn",Array.prototype.slice.call(arguments))},log.count=0,log.counters={error:0,warn:0,info:0,log:0},log.indentSize=2,log.out=[],log.max=750,log.show=function(){window.open("","extlog").document.write(['