~ted/lazr-js/annoying-debug-message

« back to all changes in this revision

Viewing changes to src-js/lazrjs/yui/yui/yui-base-min.js

  • Committer: Launchpad Patch Queue Manager
  • Date: 2010-09-09 14:20:30 UTC
  • mfrom: (182.1.3 yui-3.2)
  • Revision ID: launchpad@pqm.canonical.com-20100909142030-13w6vo0ixfysxc15
[r=beuno] Update lazr-js to yui-3.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
Copyright (c) 2010, Yahoo! Inc. All rights reserved.
3
3
Code licensed under the BSD License:
4
4
http://developer.yahoo.com/yui/license.html
5
 
version: 3.1.2
6
 
build: 56
 
5
version: 3.2.0
 
6
build: 2676
7
7
*/
8
 
if(typeof YUI==="undefined"){var YUI=function(){var D=this,B=arguments,C,A=B.length,E=(typeof YUI_config!=="undefined")&&YUI_config;if(!(D instanceof YUI)){D=new YUI();for(C=0;C<A;C++){D._config(B[C]);}return D;}else{D._init();if(E){D._config(E);}for(C=0;C<A;C++){D._config(B[C]);}D._setup();return D;}};}(function(){var L,B,M="3.1.2",K="http://yui.yahooapis.com/",P="yui3-js-enabled",I=function(){},G=Array.prototype.slice,N={"io.xdrReady":1,"io.xdrResponse":1,"SWF.eventHandler":1},F=(typeof window!="undefined"),E=(F)?window:null,R=(F)?E.document:null,D=R&&R.documentElement,A=D&&D.className,C={},H=new Date().getTime(),J=function(V,U,T,S){if(V&&V.addEventListener){V.addEventListener(U,T,S);}else{if(V&&V.attachEvent){V.attachEvent("on"+U,T);}}},Q=function(W,V,U,S){if(W&&W.removeEventListener){try{W.removeEventListener(V,U,S);}catch(T){}}else{if(W&&W.detachEvent){W.detachEvent("on"+V,U);}}},O=function(){YUI.Env.windowLoaded=true;YUI.Env.DOMReady=true;if(F){Q(window,"load",O);}};if(D&&A.indexOf(P)==-1){if(A){A+=" ";}A+=P;D.className=A;}if(M.indexOf("@")>-1){M="3.0.0";}YUI.prototype={_config:function(Y){Y=Y||{};var T,V,W,U=this.config,X=U.modules,S=U.groups;for(V in Y){T=Y[V];if(X&&V=="modules"){for(W in T){X[W]=T[W];}}else{if(S&&V=="groups"){for(W in T){S[W]=T[W];}}else{if(V=="win"){U[V]=T.contentWindow||T;U.doc=U[V].document;}else{U[V]=T;}}}}},_init:function(){var U,V=this,S=YUI.Env,T=V.Env;V.version=M;if(!T){V.Env={mods:{},base:K,cdn:K+M+"/build/",bootstrapped:false,_idx:0,_used:{},_attached:{},_yidx:0,_uidx:0,_guidp:"y",_loaded:{},getBase:function(c,a){var W,X,Z,d,Y;X=(R&&R.getElementsByTagName("script"))||[];for(Z=0;Z<X.length;Z=Z+1){d=X[Z].src;if(d){Y=d.match(c);W=Y&&Y[1];if(W){U=Y[2];Y=d.match(a);if(Y&&Y[3]){W=Y[1]+Y[3];}break;}}}return W||T.cdn;}};T=V.Env;T._loaded[M]={};if(S&&V!==YUI){T._yidx=++S._yidx;T._guidp=("yui_"+M+"_"+T._yidx+"_"+H).replace(/\./g,"_");}V.id=V.stamp(V);C[V.id]=V;}V.constructor=YUI;V.config=V.config||{win:E,doc:R,debug:true,useBrowserConsole:true,throwFail:true,bootstrap:true,fetchCSS:true};V.config.base=YUI.config.base||V.Env.getBase(/^(.*)yui\/yui([\.\-].*)js(\?.*)?$/,/^(.*\?)(.*\&)(.*)yui\/yui[\.\-].*js(\?.*)?$/);V.config.loaderPath=YUI.config.loaderPath||"loader/loader"+(U||"-min.")+"js";},_setup:function(X){var T,W=this,S=[],V=YUI.Env.mods,U=W.config.core||["get","intl-base","loader","yui-log","yui-later","yui-throttle"];for(T=0;T<U.length;T++){if(V[U[T]]){S.push(U[T]);}}W.use("yui-base");W.use.apply(W,S);},applyTo:function(Y,X,U){if(!(X in N)){this.log(X+": applyTo not allowed","warn","yui");return null;}var T=C[Y],W,S,V;if(T){W=X.split(".");S=T;for(V=0;V<W.length;V=V+1){S=S[W[V]];if(!S){this.log("applyTo not found: "+X,"warn","yui");}}return S.apply(T,U);}return null;},add:function(T,V,S,U){U=U||{};YUI.Env.mods[T]={name:T,fn:V,version:S,details:U};return this;},_attach:function(S,W){var Y,V,b,T,a,U,c=YUI.Env.mods,X=this.Env._attached,Z=S.length;for(Y=0;Y<Z;Y++){V=S[Y];b=c[V];if(!X[V]&&b){X[V]=true;T=b.details;a=T.requires;U=T.use;if(a&&a.length){this._attach(this.Array(a));}if(b.fn){b.fn(this,V);}if(U&&U.length){this._attach(this.Array(U));}}}},use:function(){if(!this.Array){this._attach(["yui-base"]);}var i,c,j,T=this,k=YUI.Env,U=G.call(arguments,0),V=k.mods,S=T.Env,Z=S._used,g=k._loaderQueue,m=U[0],W=U[U.length-1],b=T.Array,l=T.config,a=l.bootstrap,h=[],e=[],X=l.fetchCSS,f=function(o){e.push(o);if(Z[o]){return;}var Y=V[o],p,n;if(Y){Z[o]=true;p=Y.details.requires;n=Y.details.use;}else{if(!k._loaded[M][o]){h.push(o);}else{Z[o]=true;}}if(p){b.each(b(p),f);}if(n){b.each(b(n),f);}},d=function(q){var o=q||{success:true,msg:"not dynamic"},p,n,Y,r=o.data;T._loading=false;if(r){Y=h.concat();h=[];T.Array.each(r,f);n=h.length;if(n){if(h.sort().join()==Y.sort().join()){n=false;}}}if(n&&r){p=r.concat();p.push(function(){T._attach(r);if(W){W(T,o);}});T._loading=false;T.use.apply(T,p);}else{if(r){T._attach(r);}if(W){W(T,o);}}if(T._useQueue&&T._useQueue.size()&&!T._loading){T.use.apply(T,T._useQueue.next());}};if(T._loading){T._useQueue=T._useQueue||new T.Queue();T._useQueue.add(U);return T;}if(typeof W==="function"){U.pop();}else{W=null;}if(m==="*"){U=T.Object.keys(V);}if(T.Loader){c=new T.Loader(l);c.require(U);c.ignoreRegistered=true;c.calculate(null,(X)?null:"js");U=c.sorted;}b.each(U,f);i=h.length;if(i){h=T.Object.keys(b.hash(h));i=h.length;}if(a&&i&&T.Loader){T._loading=true;c=new T.Loader(l);c.onEnd=d;c.context=T;c.attaching=U;c.data=U;c.require((X)?h:U);c.insert(null,(X)?null:"js");}else{if(a&&i&&T.Get&&!S.bootstrapped){T._loading=true;U=b(arguments,0,true);j=function(){T._loading=false;g.running=false;S.bootstrapped=true;T._attach(["loader"]);T.use.apply(T,U);};if(k._bootstrapping){g.add(j);}else{k._bootstrapping=true;T.Get.script(l.base+l.loaderPath,{onEnd:j});}}else{if(i){T.message("Requirement NOT loaded: "+h,"warn","yui");}T._attach(e);d();}}return T;},namespace:function(){var S=arguments,W=null,U,T,V;for(U=0;U<S.length;U=U+1){V=(""+S[U]).split(".");W=this;for(T=(V[0]=="YAHOO")?1:0;T<V.length;T=T+1){W[V[T]]=W[V[T]]||{};W=W[V[T]];}}return W;},log:I,message:I,error:function(T,S){if(this.config.throwFail){throw (S||new Error(T));}else{this.message(T,"error");}return this;},guid:function(S){var T=this.Env._guidp+(++this.Env._uidx);return(S)?(S+T):T;},stamp:function(U,V){if(!U){return U;}var S=(typeof U==="string")?U:U._yuid;if(!S){S=this.guid();if(!V){try{U._yuid=S;}catch(T){S=null;}}}return S;}};L=YUI.prototype;for(B in L){YUI[B]=L[B];}YUI._init();if(F){J(window,"load",O);}else{O();}YUI.Env.add=J;YUI.Env.remove=Q;if(typeof exports=="object"){exports.YUI=YUI;}})();YUI.add("yui-base",function(B){(function(){B.Lang=B.Lang||{};var R=B.Lang,G="array",I="boolean",D="date",M="error",S="function",H="number",K="null",F="object",O="regexp",N="string",C=Object.prototype.toString,P="undefined",E={"undefined":P,"number":H,"boolean":I,"string":N,"[object Function]":S,"[object RegExp]":O,"[object Array]":G,"[object Date]":D,"[object Error]":M},J=/^\s+|\s+$/g,Q="";R.isArray=function(L){return R.type(L)===G;
9
 
};R.isBoolean=function(L){return typeof L===I;};R.isFunction=function(L){return R.type(L)===S;};R.isDate=function(L){return R.type(L)===D&&L.toString()!=="Invalid Date"&&!isNaN(L);};R.isNull=function(L){return L===null;};R.isNumber=function(L){return typeof L===H&&isFinite(L);};R.isObject=function(U,T){var L=typeof U;return(U&&(L===F||(!T&&(L===S||R.isFunction(U)))))||false;};R.isString=function(L){return typeof L===N;};R.isUndefined=function(L){return typeof L===P;};R.trim=function(L){try{return L.replace(J,Q);}catch(T){return L;}};R.isValue=function(T){var L=R.type(T);switch(L){case H:return isFinite(T);case K:case P:return false;default:return !!(L);}};R.type=function(L){return E[typeof L]||E[C.call(L)]||(L?F:K);};})();(function(){var C=B.Lang,D=Array.prototype,E="length",F=function(M,K,I){var J=(I)?2:F.test(M),H,G,N=K||0;if(J){try{return D.slice.call(M,N);}catch(L){G=[];H=M.length;for(;N<H;N++){G.push(M[N]);}return G;}}else{return[M];}};B.Array=F;F.test=function(I){var G=0;if(C.isObject(I)){if(C.isArray(I)){G=1;}else{try{if((E in I)&&!I.tagName&&!I.alert&&!I.apply){G=2;}}catch(H){}}}return G;};F.each=(D.forEach)?function(G,H,I){D.forEach.call(G||[],H,I||B);return B;}:function(H,J,K){var G=(H&&H.length)||0,I;for(I=0;I<G;I=I+1){J.call(K||B,H[I],I,H);}return B;};F.hash=function(I,H){var L={},G=I.length,K=H&&H.length,J;for(J=0;J<G;J=J+1){if(I[J]){L[I[J]]=(K&&K>J)?H[J]:true;}}return L;};F.indexOf=(D.indexOf)?function(G,H){return D.indexOf.call(G,H);}:function(G,I){for(var H=0;H<G.length;H=H+1){if(G[H]===I){return H;}}return -1;};F.numericSort=function(H,G){return(H-G);};F.some=(D.some)?function(G,H,I){return D.some.call(G,H,I);}:function(H,J,K){var G=H.length,I;for(I=0;I<G;I=I+1){if(J.call(K,H[I],I,H)){return true;}}return false;};})();function A(){this._init();this.add.apply(this,arguments);}A.prototype={_init:function(){this._q=[];},next:function(){return this._q.shift();},last:function(){return this._q.pop();},add:function(){B.Array.each(B.Array(arguments,0,true),function(C){this._q.push(C);},this);return this;},size:function(){return this._q.length;}};B.Queue=A;YUI.Env._loaderQueue=YUI.Env._loaderQueue||new A();(function(){var D=B.Lang,C="__",E=function(H,G){var F=G.toString;if(D.isFunction(F)&&F!=Object.prototype.toString){H.toString=F;}};B.merge=function(){var G=arguments,I={},H,F=G.length;for(H=0;H<F;H=H+1){B.mix(I,G[H],true);}return I;};B.mix=function(F,O,H,N,K,M){if(!O||!F){return F||B;}if(K){switch(K){case 1:return B.mix(F.prototype,O.prototype,H,N,0,M);case 2:B.mix(F.prototype,O.prototype,H,N,0,M);break;case 3:return B.mix(F,O.prototype,H,N,0,M);case 4:return B.mix(F.prototype,O,H,N,0,M);default:}}var J,I,G,L;if(N&&N.length){for(J=0,I=N.length;J<I;++J){G=N[J];L=D.type(F[G]);if(O.hasOwnProperty(G)){if(M&&L=="object"){B.mix(F[G],O[G]);}else{if(H||!(G in F)){F[G]=O[G];}}}}}else{for(J in O){if(O.hasOwnProperty(J)){if(M&&D.isObject(F[J],true)){B.mix(F[J],O[J],H,N,0,true);}else{if(H||!(J in F)){F[J]=O[J];}}}}if(B.UA.ie){E(F,O);}}return F;};B.cached=function(H,F,G){F=F||{};return function(K,J){var I=(J)?Array.prototype.join.call(arguments,C):K;if(!(I in F)||(G&&F[I]==G)){F[I]=H.apply(H,arguments);}return F[I];};};})();(function(){B.Object=function(H){var G=function(){};G.prototype=H;return new G();};var E=B.Object,F=function(H,G){return H&&H.hasOwnProperty&&H.hasOwnProperty(G);},D=undefined,C=function(K,J){var I=(J===2),G=(I)?0:[],H;for(H in K){if(F(K,H)){if(I){G++;}else{G.push((J)?K[H]:H);}}}return G;};E.keys=function(G){return C(G);};E.values=function(G){return C(G,1);};E.size=function(G){return C(G,2);};E.hasKey=F;E.hasValue=function(H,G){return(B.Array.indexOf(E.values(H),G)>-1);};E.owns=F;E.each=function(K,J,L,I){var H=L||B,G;for(G in K){if(I||F(K,G)){J.call(H,K[G],G,K);}}return B;};E.some=function(K,J,L,I){var H=L||B,G;for(G in K){if(I||F(K,G)){if(J.call(H,K[G],G,K)){return true;}}}return false;};E.getValue=function(K,J){if(!B.Lang.isObject(K)){return D;}var H,I=B.Array(J),G=I.length;for(H=0;K!==D&&H<G;H++){K=K[I[H]];}return K;};E.setValue=function(M,K,L){var G,J=B.Array(K),I=J.length-1,H=M;if(I>=0){for(G=0;H!==D&&G<I;G++){H=H[J[G]];}if(H!==D){H[J[G]]=L;}else{return D;}}return M;};})();B.UA=function(){var F=function(K){var L=0;return parseFloat(K.replace(/\./g,function(){return(L++==1)?"":".";}));},G=B.config.win,J=G&&G.navigator,I={ie:0,opera:0,gecko:0,webkit:0,chrome:0,mobile:null,air:0,caja:J&&J.cajaVersion,secure:false,os:null},E=J&&J.userAgent,H=G&&G.location,D=H&&H.href,C;I.secure=D&&(D.toLowerCase().indexOf("https")===0);if(E){if((/windows|win32/i).test(E)){I.os="windows";}else{if((/macintosh/i).test(E)){I.os="macintosh";}else{if((/rhino/i).test(E)){I.os="rhino";}}}if((/KHTML/).test(E)){I.webkit=1;}C=E.match(/AppleWebKit\/([^\s]*)/);if(C&&C[1]){I.webkit=F(C[1]);if(/ Mobile\//.test(E)){I.mobile="Apple";}else{C=E.match(/NokiaN[^\/]*|Android \d\.\d|webOS\/\d\.\d/);if(C){I.mobile=C[0];}}C=E.match(/Chrome\/([^\s]*)/);if(C&&C[1]){I.chrome=F(C[1]);}else{C=E.match(/AdobeAIR\/([^\s]*)/);if(C){I.air=C[0];}}}if(!I.webkit){C=E.match(/Opera[\s\/]([^\s]*)/);if(C&&C[1]){I.opera=F(C[1]);C=E.match(/Opera Mini[^;]*/);if(C){I.mobile=C[0];}}else{C=E.match(/MSIE\s([^;]*)/);if(C&&C[1]){I.ie=F(C[1]);}else{C=E.match(/Gecko\/([^\s]*)/);if(C){I.gecko=1;C=E.match(/rv:([^\s\)]*)/);if(C&&C[1]){I.gecko=F(C[1]);}}}}}}return I;}();},"3.1.2");
 
 
b'\\ No newline at end of file'
 
8
if(typeof YUI!="undefined"){var _YUI=YUI;}var YUI=function(){var c=0,e=this,b=arguments,a=b.length,d=(typeof YUI_config!=="undefined")&&YUI_config;if(!(e instanceof YUI)){e=new YUI();}else{e._init();if(d){e.applyConfig(d);}if(!a){e._setup();}}if(a){for(;c<a;c++){e.applyConfig(b[c]);}e._setup();}return e;};(function(){var n,b,o="3.2.0",l="http://yui.yahooapis.com/",r="yui3-js-enabled",j=function(){},g=Array.prototype.slice,p={"io.xdrReady":1,"io.xdrResponse":1,"SWF.eventHandler":1},f=(typeof window!="undefined"),e=(f)?window:null,t=(f)?e.document:null,d=t&&t.documentElement,a=d&&d.className,c={},h=new Date().getTime(),k=function(x,w,v,u){if(x&&x.addEventListener){x.addEventListener(w,v,u);}else{if(x&&x.attachEvent){x.attachEvent("on"+w,v);}}},s=function(y,x,w,u){if(y&&y.removeEventListener){try{y.removeEventListener(x,w,u);}catch(v){}}else{if(y&&y.detachEvent){y.detachEvent("on"+x,w);}}},q=function(){YUI.Env.windowLoaded=true;YUI.Env.DOMReady=true;if(f){s(window,"load",q);}},i=function(w,v){var u=w.Env._loader;if(u){u.ignoreRegistered=false;u.onEnd=null;u.data=null;u.required=[];u.loadType=null;}else{u=new w.Loader(w.config);w.Env._loader=u;}return u;},m=function(w,v){for(var u in v){if(v.hasOwnProperty(u)){w[u]=v[u];}}};if(d&&a.indexOf(r)==-1){if(a){a+=" ";}a+=r;d.className=a;}if(o.indexOf("@")>-1){o="3.2.0pr1";}n={applyConfig:function(B){B=B||j;var w,y,x=this.config,z=x.modules,v=x.groups,A=x.rls,u=this.Env._loader;for(y in B){if(B.hasOwnProperty(y)){w=B[y];if(z&&y=="modules"){m(z,w);}else{if(v&&y=="groups"){m(v,w);}else{if(A&&y=="rls"){m(A,w);}else{if(y=="win"){x[y]=w.contentWindow||w;x.doc=x[y].document;}else{if(y=="_yuid"){}else{x[y]=w;}}}}}}}if(u){u._config(B);}},_config:function(u){this.applyConfig(u);},_init:function(){var x,y=this,u=YUI.Env,v=y.Env,z,w;y.version=o;if(!v){y.Env={mods:{},versions:{},base:l,cdn:l+o+"/build/",_idx:0,_used:{},_attached:{},_yidx:0,_uidx:0,_guidp:"y",_loaded:{},getBase:u&&u.getBase||function(F,E){var A,B,D,G,C;B=(t&&t.getElementsByTagName("script"))||[];for(D=0;D<B.length;D=D+1){G=B[D].src;if(G){C=G.match(F);A=C&&C[1];if(A){x=C[2];if(x){C=x.indexOf("js");if(C>-1){x=x.substr(0,C);}}C=G.match(E);if(C&&C[3]){A=C[1]+C[3];}break;}}}return A||v.cdn;}};v=y.Env;v._loaded[o]={};if(u&&y!==YUI){v._yidx=++u._yidx;v._guidp=("yui_"+o+"_"+v._yidx+"_"+h).replace(/\./g,"_");}else{if(typeof _YUI!="undefined"){u=_YUI.Env;v._yidx+=u._yidx;v._uidx+=u._uidx;for(z in u){if(!(z in v)){v[z]=u[z];}}}}y.id=y.stamp(y);c[y.id]=y;}y.constructor=YUI;y.config=y.config||{win:e,doc:t,debug:true,useBrowserConsole:true,throwFail:true,bootstrap:true,fetchCSS:true};w=y.config;w.base=YUI.config.base||y.Env.getBase(/^(.*)yui\/yui([\.\-].*)js(\?.*)?$/,/^(.*\?)(.*\&)(.*)yui\/yui[\.\-].*js(\?.*)?$/);w.loaderPath=YUI.config.loaderPath||"loader/loader"+(x||"-min.")+"js";},_setup:function(z){var v,y=this,u=[],x=YUI.Env.mods,w=y.config.core||["get","rls","intl-base","loader","yui-log","yui-later","yui-throttle"];for(v=0;v<w.length;v++){if(x[w[v]]){u.push(w[v]);}}y._attach(["yui-base"]);y._attach(u);},applyTo:function(A,z,w){if(!(z in p)){this.log(z+": applyTo not allowed","warn","yui");return null;}var v=c[A],y,u,x;if(v){y=z.split(".");u=v;for(x=0;x<y.length;x=x+1){u=u[y[x]];if(!u){this.log("applyTo not found: "+z,"warn","yui");}}return u.apply(v,w);}return null;},add:function(w,B,v,z){z=z||{};var A=YUI.Env,y={name:w,fn:B,version:v,details:z},u,x;A.mods[w]=y;A.versions[v]=A.versions[v]||{};A.versions[v][w]=y;for(x in c){if(c.hasOwnProperty(x)){u=c[x].Env._loader;if(u){if(!u.moduleInfo[w]){u.addModule(z,w);}}}}return this;},_attach:function(u,z){var B,x,F,v,E,w,G=YUI.Env.mods,y=this,A=y.Env._attached,C=u.length;for(B=0;B<C;B++){x=u[B];F=G[x];if(!A[x]&&F){A[x]=true;v=F.details;E=v.requires;w=v.use;if(E&&E.length){if(!y._attach(E)){return false;}}if(F.fn){try{F.fn(y,x);}catch(D){y.error("Attach error: "+x,D,x);return false;}}if(w&&w.length){if(!y._attach(w)){return false;}}}}return true;},use:function(){if(!this.Array){this._attach(["yui-base"]);}var K,D,L,v=this,M=YUI.Env,w=g.call(arguments,0),x=M.mods,u=v.Env,A=u._used,I=M._loaderQueue,Q=w[0],y=w[w.length-1],C=v.Array,O=v.config,B=O.bootstrap,J=[],G=[],N,P=true,z=O.fetchCSS,H=function(S,R){if(!S.length){return;}C.each(S,function(V){if(!R){G.push(V);}if(A[V]){return;}var T=x[V],W,U;if(T){A[V]=true;W=T.details.requires;U=T.details.use;}else{if(!M._loaded[o][V]){J.push(V);}else{A[V]=true;}}if(W&&W.length){H(W);}if(U&&U.length){H(U,1);}});},F=function(R){if(y){try{y(v,R);}catch(S){v.error("use callback error",S,w);}}},E=function(W){var T=W||{success:true,msg:"not dynamic"},V,S,R,U=true,X=T.data;v._loading=false;if(X){R=J.concat();J=[];G=[];H(X);S=J.length;if(S){if(J.sort().join()==R.sort().join()){S=false;}}}if(S&&X){V=w.concat();V.push(function(){if(v._attach(X)){F(T);}});v._loading=false;v.use.apply(v,V);}else{if(X){U=v._attach(X);}if(U){F(T);}}if(v._useQueue&&v._useQueue.size()&&!v._loading){v.use.apply(v,v._useQueue.next());}};if(v._loading){v._useQueue=v._useQueue||new v.Queue();v._useQueue.add(w);return v;}if(typeof y==="function"){w.pop();}else{y=null;}if(Q==="*"){N=true;w=v.Object.keys(x);}if(B&&!N&&v.Loader&&w.length){D=i(v);D.require(w);D.ignoreRegistered=true;D.calculate(null,(z)?null:"js");w=D.sorted;}H(w);K=J.length;if(K){J=v.Object.keys(C.hash(J));K=J.length;}if(B&&K&&v.Loader){v._loading=true;D=i(v);D.onEnd=E;D.context=v;D.data=w;D.require((z)?J:w);D.insert(null,(z)?null:"js");}else{if(K&&v.config.use_rls){v.Get.script(v._rls(w),{onEnd:function(R){E(R);},data:w});}else{if(B&&K&&v.Get&&!u.bootstrapped){v._loading=true;w=C(arguments,0,true);L=function(){v._loading=false;I.running=false;u.bootstrapped=true;if(v._attach(["loader"])){v.use.apply(v,w);}};if(M._bootstrapping){I.add(L);}else{M._bootstrapping=true;v.Get.script(O.base+O.loaderPath,{onEnd:L});}}else{if(K){v.message("Requirement NOT loaded: "+J,"warn","yui");}P=v._attach(w);if(P){E();}}}}return v;},namespace:function(){var u=arguments,y=null,w,v,x;for(w=0;w<u.length;w=w+1){x=(""+u[w]).split(".");
 
9
y=this;for(v=(x[0]=="YAHOO")?1:0;v<x.length;v=v+1){y[x[v]]=y[x[v]]||{};y=y[x[v]];}}return y;},log:j,message:j,error:function(x,v){var w=this,u;if(w.config.errorFn){u=w.config.errorFn.apply(w,arguments);}if(w.config.throwFail&&!u){throw (v||new Error(x));}else{w.message(x,"error");}return w;},guid:function(u){var v=this.Env._guidp+(++this.Env._uidx);return(u)?(u+v):v;},stamp:function(w,x){var u;if(!w){return w;}if(w.uniqueID&&w.nodeType&&w.nodeType!==9){u=w.uniqueID;}else{u=(typeof w==="string")?w:w._yuid;}if(!u){u=this.guid();if(!x){try{w._yuid=u;}catch(v){u=null;}}}return u;}};YUI.prototype=n;for(b in n){if(n.hasOwnProperty(b)){YUI[b]=n[b];}}YUI._init();if(f){k(window,"load",q);}else{q();}YUI.Env.add=k;YUI.Env.remove=s;if(typeof exports=="object"){exports.YUI=YUI;}})();YUI.add("yui-base",function(b){b.Lang=b.Lang||{};var g=b.Lang,q="array",j="boolean",d="date",e="error",f="function",l="number",p="null",i="object",n="regexp",k="string",h=Object.prototype.toString,s="undefined",a={"undefined":s,"number":l,"boolean":j,"string":k,"[object Function]":f,"[object RegExp]":n,"[object Array]":q,"[object Date]":d,"[object Error]":e},m=/^\s+|\s+$/g,o="",c=/\{\s*([^\|\}]+?)\s*(?:\|([^\}]*))?\s*\}/g;g.isArray=function(t){return g.type(t)===q;};g.isBoolean=function(t){return typeof t===j;};g.isFunction=function(t){return g.type(t)===f;};g.isDate=function(t){return g.type(t)===d&&t.toString()!=="Invalid Date"&&!isNaN(t);};g.isNull=function(t){return t===null;};g.isNumber=function(t){return typeof t===l&&isFinite(t);};g.isObject=function(w,v){var u=typeof w;return(w&&(u===i||(!v&&(u===f||g.isFunction(w)))))||false;};g.isString=function(t){return typeof t===k;};g.isUndefined=function(t){return typeof t===s;};g.trim=function(t){try{return t.replace(m,o);}catch(u){return t;}};g.isValue=function(v){var u=g.type(v);switch(u){case l:return isFinite(v);case p:case s:return false;default:return !!(u);}};g.type=function(t){return a[typeof t]||a[h.call(t)]||(t?i:p);};g.sub=function(t,u){return((t.replace)?t.replace(c,function(v,w){return(!g.isUndefined(u[w]))?u[w]:v;}):t);};(function(){var t=b.Lang,u=Array.prototype,v="length",w=function(D,B,z){var A=(z)?2:w.test(D),y,x,E=B||0;if(A){try{return u.slice.call(D,E);}catch(C){x=[];y=D.length;for(;E<y;E++){x.push(D[E]);}return x;}}else{return[D];}};b.Array=w;w.test=function(z){var x=0;if(t.isObject(z)){if(t.isArray(z)){x=1;}else{try{if((v in z)&&!z.tagName&&!z.alert&&!z.apply){x=2;}}catch(y){}}}return x;};w.each=(u.forEach)?function(x,y,z){u.forEach.call(x||[],y,z||b);return b;}:function(y,A,B){var x=(y&&y.length)||0,z;for(z=0;z<x;z=z+1){A.call(B||b,y[z],z,y);}return b;};w.hash=function(z,y){var C={},x=z.length,B=y&&y.length,A;for(A=0;A<x;A=A+1){C[z[A]]=(B&&B>A)?y[A]:true;}return C;};w.indexOf=(u.indexOf)?function(x,y){return u.indexOf.call(x,y);}:function(x,z){for(var y=0;y<x.length;y=y+1){if(x[y]===z){return y;}}return -1;};w.numericSort=function(y,x){return(y-x);};w.some=(u.some)?function(x,y,z){return u.some.call(x,y,z);}:function(y,A,B){var x=y.length,z;for(z=0;z<x;z=z+1){if(A.call(B,y[z],z,y)){return true;}}return false;};})();function r(){this._init();this.add.apply(this,arguments);}r.prototype={_init:function(){this._q=[];},next:function(){return this._q.shift();},last:function(){return this._q.pop();},add:function(){b.Array.each(b.Array(arguments,0,true),function(t){this._q.push(t);},this);return this;},size:function(){return this._q.length;}};b.Queue=r;YUI.Env._loaderQueue=YUI.Env._loaderQueue||new r();(function(){var u=b.Lang,t="__",v=function(y,x){var w=x.toString;if(u.isFunction(w)&&w!=Object.prototype.toString){y.toString=w;}};b.merge=function(){var x=arguments,z={},y,w=x.length;for(y=0;y<w;y=y+1){b.mix(z,x[y],true);}return z;};b.mix=function(w,F,y,E,B,D){if(!F||!w){return w||b;}if(B){switch(B){case 1:return b.mix(w.prototype,F.prototype,y,E,0,D);case 2:b.mix(w.prototype,F.prototype,y,E,0,D);break;case 3:return b.mix(w,F.prototype,y,E,0,D);case 4:return b.mix(w.prototype,F,y,E,0,D);default:}}var A,z,x,C;if(E&&E.length){for(A=0,z=E.length;A<z;++A){x=E[A];C=u.type(w[x]);if(F.hasOwnProperty(x)){if(D&&C=="object"){b.mix(w[x],F[x]);}else{if(y||!(x in w)){w[x]=F[x];}}}}}else{for(A in F){if(F.hasOwnProperty(A)){if(D&&u.isObject(w[A],true)){b.mix(w[A],F[A],y,E,0,true);}else{if(y||!(A in w)){w[A]=F[A];}}}}if(b.UA.ie){v(w,F);}}return w;};b.cached=function(y,w,x){w=w||{};return function(A){var z=(arguments.length>1)?Array.prototype.join.call(arguments,t):A;if(!(z in w)||(x&&w[z]==x)){w[z]=y.apply(y,arguments);}return w[z];};};})();(function(){b.Object=function(y){var x=function(){};x.prototype=y;return new x();};var v=b.Object,w=function(y,x){return y&&y.hasOwnProperty&&y.hasOwnProperty(x);},u,t=function(B,A){var z=(A===2),x=(z)?0:[],y;for(y in B){if(w(B,y)){if(z){x++;}else{x.push((A)?B[y]:y);}}}return x;};v.keys=function(x){return t(x);};v.values=function(x){return t(x,1);};v.size=function(x){return t(x,2);};v.hasKey=w;v.hasValue=function(y,x){return(b.Array.indexOf(v.values(y),x)>-1);};v.owns=w;v.each=function(B,A,C,z){var y=C||b,x;for(x in B){if(z||w(B,x)){A.call(y,B[x],x,B);}}return b;};v.some=function(B,A,C,z){var y=C||b,x;for(x in B){if(z||w(B,x)){if(A.call(y,B[x],x,B)){return true;}}}return false;};v.getValue=function(B,A){if(!b.Lang.isObject(B)){return u;}var y,z=b.Array(A),x=z.length;for(y=0;B!==u&&y<x;y++){B=B[z[y]];}return B;};v.setValue=function(D,B,C){var x,A=b.Array(B),z=A.length-1,y=D;if(z>=0){for(x=0;y!==u&&x<z;x++){y=y[A[x]];}if(y!==u){y[A[x]]=C;}else{return u;}}return D;};v.isEmpty=function(y){for(var x in y){if(w(y,x)){return false;}}return true;};})();b.UA=YUI.Env.UA||function(){var w=function(B){var C=0;return parseFloat(B.replace(/\./g,function(){return(C++==1)?"":".";}));},x=b.config.win,A=x&&x.navigator,z={ie:0,opera:0,gecko:0,webkit:0,chrome:0,mobile:null,air:0,ipad:0,iphone:0,ipod:0,ios:null,android:0,caja:A&&A.cajaVersion,secure:false,os:null},v=A&&A.userAgent,y=x&&x.location,u=y&&y.href,t;z.secure=u&&(u.toLowerCase().indexOf("https")===0);
 
10
if(v){if((/windows|win32/i).test(v)){z.os="windows";}else{if((/macintosh/i).test(v)){z.os="macintosh";}else{if((/rhino/i).test(v)){z.os="rhino";}}}if((/KHTML/).test(v)){z.webkit=1;}t=v.match(/AppleWebKit\/([^\s]*)/);if(t&&t[1]){z.webkit=w(t[1]);if(/ Mobile\//.test(v)){z.mobile="Apple";t=v.match(/OS ([^\s]*)/);if(t&&t[1]){t=w(t[1].replace("_","."));}z.ipad=(navigator.platform=="iPad")?t:0;z.ipod=(navigator.platform=="iPod")?t:0;z.iphone=(navigator.platform=="iPhone")?t:0;z.ios=z.ipad||z.iphone||z.ipod;}else{t=v.match(/NokiaN[^\/]*|Android \d\.\d|webOS\/\d\.\d/);if(t){z.mobile=t[0];}if(/ Android/.test(v)){z.mobile="Android";t=v.match(/Android ([^\s]*);/);if(t&&t[1]){z.android=w(t[1]);}}}t=v.match(/Chrome\/([^\s]*)/);if(t&&t[1]){z.chrome=w(t[1]);}else{t=v.match(/AdobeAIR\/([^\s]*)/);if(t){z.air=t[0];}}}if(!z.webkit){t=v.match(/Opera[\s\/]([^\s]*)/);if(t&&t[1]){z.opera=w(t[1]);t=v.match(/Opera Mini[^;]*/);if(t){z.mobile=t[0];}}else{t=v.match(/MSIE\s([^;]*)/);if(t&&t[1]){z.ie=w(t[1]);}else{t=v.match(/Gecko\/([^\s]*)/);if(t){z.gecko=1;t=v.match(/rv:([^\s\)]*)/);if(t&&t[1]){z.gecko=w(t[1]);}}}}}}YUI.Env.UA=z;return z;}();},"3.2.0");
 
 
b'\\ No newline at end of file'