/* This file is part of Ext JS 3.4 Copyright (c) 2011-2014 Sencha Inc Contact: http://www.sencha.com/contact Commercial Usage Licensees holding valid commercial licenses may use this file in accordance with the Commercial Software License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Sencha. If you are unsure which license is appropriate for your use, please contact the sales department at http://www.sencha.com/contact. Build date: 2014-10-27 12:52:39 */ window.undefined=window.undefined;Ext={version:"3.4.3",versionDetail:{major:3,minor:4,patch:3}};Ext.apply=function(d,e,b){if(b){Ext.apply(d,b)}if(d&&e&&typeof e=="object"){for(var a in e){d[a]=e[a]}}return d};(function(){var h=0,f=Object.prototype.toString,z=navigator.userAgent.toLowerCase(),o=function(e){return e.test(z)},u=document,r=u.documentMode,v=u.compatMode=="CSS1Compat",a=o(/opera/),I=o(/\bchrome\b/),A=o(/webkit/),d=!I&&o(/safari/),G=d&&o(/applewebkit\/4/),E=d&&o(/version\/3/),C=d&&o(/version\/4/),k=!a&&(o(/msie/)||o(/trident/)),K=k&&o(/msie 6/),H=k&&((o(/msie 7/)&&r!=8&&r!=9&&r!=10)||r==7),F=k&&((o(/msie 8/)&&r!=7&&r!=9&&r!=10)||r==8),D=k&&((o(/msie 9/)&&r!=7&&r!=8&&r!=10)||r==9),j=k&&((o(/msie 10/)&&r!=7&&r!=8&&r!=9)||r==10),g=k&&((o(/trident\/7.0/)&&r!=7&&r!=8&&r!=9&&r!=10)||r==11),L=k&&(K||H||F||D),c=(!k&&!A)&&o(/gecko/),N=c&&o(/rv:1\.8/),M=c&&o(/rv:1\.9/),n=L&&!v,i=o(/windows|win32/),B=o(/macintosh|mac os x/),q=o(/adobeair/),w=o(/linux/),s=/^https/i.test(window.location.protocol),b=[],x=[],p=Ext.emptyFn,y=Ext.apply({},{constructor:p,toString:p,valueOf:p}),m=function(){var e=m.caller.caller;return e.$owner.prototype[e.$name].apply(this,arguments)};if(y.constructor!==p){x.push("constructor")}if(y.toString!==p){x.push("toString")}if(y.valueOf!==p){x.push("valueOf")}if(!x.length){x=null}function l(){}Ext.apply(l,{$isClass:true,callParent:function(e){var t;return(t=this.callParent.caller)&&(t.$previous||((t=t.$owner?t:t.caller)&&t.$owner.superclass.self[t.$name])).apply(this,e||b)}});l.prototype={constructor:function(){},callParent:function(t){var O,e=(O=this.callParent.caller)&&(O.$previous||((O=O.$owner?O:O.caller)&&O.$owner.superclass[O.$name]));return e.apply(this,t||b)}};if(K){try{u.execCommand("BackgroundImageCache",false,true)}catch(J){}}Ext.apply(Ext,{SSL_SECURE_URL:s&&k?'javascript:""':"about:blank",isStrict:v,isSecure:s,isReady:false,enableForcedBoxModel:false,enableGarbageCollector:true,enableListenerCollection:false,enableNestedListenerRemoval:false,USE_NATIVE_JSON:false,applyIf:function(t,O){if(t){for(var e in O){if(!Ext.isDefined(t[e])){t[e]=O[e]}}}return t},id:function(e,t){e=Ext.getDom(e,true)||{};if(!e.id){e.id=(t||"ext-gen")+(++h)}return e.id},extend:function(){var t=function(P){for(var O in P){this[O]=P[O]}};var e=Object.prototype.constructor;return function(T,Q,S){if(typeof Q=="object"){S=Q;Q=T;T=S.constructor!=e?S.constructor:function(){Q.apply(this,arguments)}}var P=function(){},R,O=Q.prototype;P.prototype=O;R=T.prototype=new P();R.constructor=T;T.superclass=O;if(O.constructor==e){O.constructor=Q}T.override=function(U){Ext.override(T,U)};R.superclass=R.supr=(function(){return O});R.override=t;Ext.override(T,S);T.extend=function(U){return Ext.extend(T,U)};return T}}(),global:(function(){return this})(),Base:l,namespaceCache:{},createNamespace:function(S,P){var e=Ext.namespaceCache,Q=P?S.substring(0,S.lastIndexOf(".")):S,V=e[Q],T,O,t,R,U;if(!V){V=Ext.global;if(Q){U=[];R=Q.split(".");for(T=0,O=R.length;T0;){P=x[Q];if(O.hasOwnProperty(P)){S=O[P];if(typeof S=="function"){S.$owner=t;S.$name=P}R[P]=S}}}},define:function(S,Q,O){var t=Q.override,U,R,e,P;if(t){delete Q.override;U=Ext.getClassByName(t);Ext.override(U,Q)}else{if(S){P=Ext.createNamespace(S,true);e=S.substring(S.lastIndexOf(".")+1)}U=function T(){this.constructor.apply(this,arguments)};if(S){U.displayName=S}U.$isClass=true;U.callParent=Ext.Base.callParent;if(typeof Q=="function"){Q=Q(U)}R=Q.extend;if(R){delete Q.extend;if(typeof R=="string"){R=Ext.getClassByName(R)}}else{R=l}Ext.extend(U,R,Q);if(U.prototype.constructor===U){delete U.prototype.constructor}if(!U.prototype.$isClass){Ext.applyIf(U.prototype,l.prototype)}U.prototype.self=U;if(Q.xtype){Ext.reg(Q.xtype,U)}U=Q.singleton?new U():U;if(S){P[e]=U}}if(O){O.call(U)}return U},override:function(Q,S){var O,R;if(S){if(Q.$isClass){R=S.statics;if(R){delete S.statics}Ext.addMembers(Q,Q.prototype,S,true);if(R){Ext.addMembers(Q,Q,R)}}else{if(typeof Q=="function"){O=Q.prototype;Ext.apply(O,S);if(Ext.isIE&&S.hasOwnProperty("toString")){O.toString=S.toString}}else{var e=Q.self,t,P;if(e&&e.$isClass){for(t in S){if(S.hasOwnProperty(t)){P=S[t];if(typeof P=="function"){if(e.$className){P.displayName=e.$className+"#"+t}P.$name=t;P.$owner=e;P.$previous=Q.hasOwnProperty(t)?Q[t]:m}Q[t]=P}}}else{Ext.apply(Q,S);if(!Q.constructor.$isClass){Q.constructor.prototype.callParent=l.prototype.callParent;Q.constructor.callParent=l.callParent}}}}}},namespace:function(){var P=arguments.length,Q=0,t,O,e,S,R,T;for(;Q0){return setTimeout(d,c)}d();return 0}});Ext.applyIf(String,{format:function(b){var a=Ext.toArray(arguments,1);return b.replace(/\{(\d+)\}/g,function(c,d){return a[d]})}});Ext.applyIf(Array.prototype,{indexOf:function(b,c){var a=this.length;c=c||0;c+=(c<0)?a:0;for(;c0){for(var p=0;p10000){clearInterval(h)}var f=document.getElementById(j);if(f){clearInterval(h);e.call(d||window,f)}};var h=setInterval(g,50)},resolveTextNode:Ext.isGecko?function(e){if(!e){return}var d=HTMLElement.prototype.toString.call(e);if(d=="[xpconnect wrapped native prototype]"||d=="[object XULElement]"){return}return e.nodeType==3?e.parentNode:e}:function(d){return d&&d.nodeType==3?d.parentNode:d},getRelatedTarget:function(e){e=e.browserEvent||e;var d=e.relatedTarget;if(!d){if(e.type=="mouseout"){d=e.toElement}else{if(e.type=="mouseover"){d=e.fromElement}}}return this.resolveTextNode(d)}};Ext.lib.Ajax=function(){var d=function(f){return function(h,g){if((g=="error"||g=="timeout")&&f.failure){f.failure.call(f.scope||window,e(f,h))}else{if(f.success){f.success.call(f.scope||window,e(f,h))}}}};var e=function(f,l){var h={},j,g,i;try{j=l.getAllResponseHeaders();Ext.each(j.replace(/\r\n/g,"\n").split("\n"),function(m){g=m.indexOf(":");if(g>=0){i=m.substr(0,g).toLowerCase();if(m.charAt(g+1)==" "){++g}h[i]=m.substr(g+1)}})}catch(k){}return{responseText:l.responseText,responseXML:l.responseXML,argument:f.argument,status:l.status,statusText:l.statusText,getResponseHeader:function(m){return h[m.toLowerCase()]},getAllResponseHeaders:function(){return j}}};return{request:function(l,i,f,j,g){var k={type:l,url:i,data:j,timeout:f.timeout,complete:d(f)};if(g){var h=g.headers;if(g.xmlData){k.data=g.xmlData;k.processData=false;k.type=(l?l:(g.method?g.method:"POST"));if(!h||!h["Content-Type"]){k.contentType="text/xml"}}else{if(g.jsonData){k.data=typeof g.jsonData=="object"?Ext.encode(g.jsonData):g.jsonData;k.processData=false;k.type=(l?l:(g.method?g.method:"POST"));if(!h||!h["Content-Type"]){k.contentType="application/json"}}}if(h){k.beforeSend=function(n){for(var m in h){if(h.hasOwnProperty(m)){n.setRequestHeader(m,h[m])}}}}}jQuery.ajax(k)},formRequest:function(j,i,g,k,f,h){jQuery.ajax({type:Ext.getDom(j).method||"POST",url:i,data:jQuery(j).serialize()+(k?"&"+k:""),timeout:g.timeout,complete:d(g)})},isCallInProgress:function(f){return false},abort:function(f){return false},serializeForm:function(f){return jQuery(f.dom||f).serialize()}}}();Ext.lib.Anim=function(){var d=function(e,f){var g=true;return{stop:function(h){},isAnimated:function(){return g},proxyCallback:function(){g=false;Ext.callback(e,f)}}};return{scroll:function(h,f,j,k,e,g){var i=d(e,g);h=Ext.getDom(h);if(typeof f.scroll.to[0]=="number"){h.scrollLeft=f.scroll.to[0]}if(typeof f.scroll.to[1]=="number"){h.scrollTop=f.scroll.to[1]}i.proxyCallback();return i},motion:function(h,f,i,j,e,g){return this.run(h,f,i,j,e,g)},color:function(h,f,j,k,e,g){var i=d(e,g);i.proxyCallback();return i},run:function(g,q,j,p,h,s,r){var l=d(h,s),m=Ext.fly(g,"_animrun");var f={};for(var i in q){switch(i){case"points":var n,u;m.position();if(n=q.points.by){var t=m.getXY();u=m.translatePoints([t[0]+n[0],t[1]+n[1]])}else{u=m.translatePoints(q.points.to)}f.left=u.left;f.top=u.top;if(!parseInt(m.getStyle("left"),10)){m.setLeft(0)}if(!parseInt(m.getStyle("top"),10)){m.setTop(0)}if(q.points.from){m.setXY(q.points.from)}break;case"width":f.width=q.width.to;if(q.width.from){m.setWidth(q.width.from)}break;case"height":f.height=q.height.to;if(q.height.from){m.setHeight(q.height.from)}break;case"opacity":f.opacity=q.opacity.to;if(q.opacity.from){m.setOpacity(q.opacity.from)}break;case"left":f.left=q.left.to;if(q.left.from){m.setLeft(q.left.from)}break;case"top":f.top=q.top.to;if(q.top.from){m.setTop(q.top.from)}break;case"callback":case"scope":case"xy":break;default:f[i]=q[i].to;if(q[i].from){m.setStyle(i,q[i].from)}break}}jQuery(g).animate(f,j*1000,undefined,l.proxyCallback);return l}}}();Ext.lib.Region=function(f,g,d,e){this.top=f;this[1]=f;this.right=g;this.bottom=d;this.left=e;this[0]=e};Ext.lib.Region.prototype={contains:function(d){return(d.left>=this.left&&d.right<=this.right&&d.top>=this.top&&d.bottom<=this.bottom)},getArea:function(){return((this.bottom-this.top)*(this.right-this.left))},intersect:function(h){var f=Math.max(this.top,h.top);var g=Math.min(this.right,h.right);var d=Math.min(this.bottom,h.bottom);var e=Math.max(this.left,h.left);if(d>=f&&g>=e){return new Ext.lib.Region(f,g,d,e)}else{return null}},union:function(h){var f=Math.min(this.top,h.top);var g=Math.max(this.right,h.right);var d=Math.max(this.bottom,h.bottom);var e=Math.min(this.left,h.left);return new Ext.lib.Region(f,g,d,e)},constrainTo:function(d){this.top=this.top.constrain(d.top,d.bottom);this.bottom=this.bottom.constrain(d.top,d.bottom);this.left=this.left.constrain(d.left,d.right);this.right=this.right.constrain(d.left,d.right);return this},adjust:function(f,e,d,g){this.top+=f;this.left+=e;this.right+=g;this.bottom+=d;return this}};Ext.lib.Region.getRegion=function(g){var i=Ext.lib.Dom.getXY(g);var f=i[1];var h=i[0]+g.offsetWidth;var d=i[1]+g.offsetHeight;var e=i[0];return new Ext.lib.Region(f,h,d,e)};Ext.lib.Point=function(d,e){if(Ext.isArray(d)){e=d[1];d=d[0]}this.x=this.right=this.left=this[0]=d;this.y=this.top=this.bottom=this[1]=e};Ext.lib.Point.prototype=new Ext.lib.Region();if(Ext.isIE){function a(){var d=Function.prototype;delete d.createSequence;delete d.defer;delete d.createDelegate;delete d.createCallback;delete d.createInterceptor;window.detachEvent("onunload",a)}window.attachEvent("onunload",a)}})();