function e(a){throw a;}
var i=void 0,j=!0,k=null,l=!1,m,n=this,aa=function(){},ba=function(a){a.Zb=function(){return a.Jc||(a.Jc=new a)}},da=function(a){var b=typeof a;if("object"==b)if(a){if(a instanceof Array)return"array";if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if("[object Window]"==c)return"object";if("[object Array]"==c||"number"==typeof a.length&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return"array";if("[object Function]"==
c||"undefined"!=typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return"function"}else return"null";else if("function"==b&&"undefined"==typeof a.call)return"object";return b},p=function(a){return a!==i},q=function(a){return"array"==da(a)},ea=function(a){var b=da(a);return"array"==b||"object"==b&&"number"==typeof a.length},s=function(a){return"string"==typeof a},fa=function(a){return"function"==da(a)},ga=function(a){var b=typeof a;return"object"==b&&a!=k||
"function"==b},ja=function(a){return a[ha]||(a[ha]=++ia)},ha="closure_uid_"+Math.floor(2147483648*Math.random()).toString(36),ia=0,la=function(a,b,c){return a.call.apply(a.bind,arguments)},ma=function(a,b,c){a||e(Error());if(2<arguments.length){var d=Array.prototype.slice.call(arguments,2);return function(){var c=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(c,d);return a.apply(b,c)}}return function(){return a.apply(b,arguments)}},t=function(a,b,c){t=Function.prototype.bind&&
-1!=Function.prototype.bind.toString().indexOf("native code")?la:ma;return t.apply(k,arguments)},na=Date.now||function(){return+new Date},u=function(a,b){var c=a.split("."),d=n;!(c[0]in d)&&d.execScript&&d.execScript("var "+c[0]);for(var g;c.length&&(g=c.shift());)!c.length&&p(b)?d[g]=b:d=d[g]?d[g]:d[g]={}},v=function(a,b){function c(){}c.prototype=b.prototype;a.a=b.prototype;a.prototype=new c};
Function.prototype.bind=Function.prototype.bind||function(a,b){if(1<arguments.length){var c=Array.prototype.slice.call(arguments,1);c.unshift(this,a);return t.apply(k,c)}return t(this,a)};var oa=function(a){this.action=a;this.wfv=l};var pa=function(a){oa.call(this,"visibility");this.visible=a};v(pa,oa);var qa=function(a){this.stack=Error().stack||"";a&&(this.message=""+a)};v(qa,Error);qa.prototype.name="CustomError";var ra=function(a,b){for(var c=1;c<arguments.length;c++)var d=(""+arguments[c]).replace(/\$/g,"$$$$"),a=a.replace(/\%s/,d);return a},sa=/^[a-zA-Z0-9\-_.!~*'()]*$/,ta=function(a){a=""+a;return!sa.test(a)?encodeURIComponent(a):a},za=function(a){if(!ua.test(a))return a;-1!=a.indexOf("&")&&(a=a.replace(va,"&amp;"));-1!=a.indexOf("<")&&(a=a.replace(wa,"&lt;"));-1!=a.indexOf(">")&&(a=a.replace(xa,"&gt;"));-1!=a.indexOf('"')&&(a=a.replace(ya,"&quot;"));return a},va=/&/g,wa=/</g,xa=/>/g,ya=/\"/g,ua=/[&<>\"]/,
Aa=function(){return Math.floor(2147483648*Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^na()).toString(36)};Math.random();var Ba=function(a,b){b.unshift(a);qa.call(this,ra.apply(k,b));b.shift()};v(Ba,qa);Ba.prototype.name="AssertionError";var x=function(a,b,c){if(!a){var d=Array.prototype.slice.call(arguments,2),g="Assertion failed";if(b)var g=g+(": "+b),f=d;e(new Ba(""+g,f||[]))}};var y=Array.prototype,Ca=y.indexOf?function(a,b,c){x(a.length!=k);return y.indexOf.call(a,b,c)}:function(a,b,c){c=c==k?0:0>c?Math.max(0,a.length+c):c;if(s(a))return!s(b)||1!=b.length?-1:a.indexOf(b,c);for(;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1},Da=y.forEach?function(a,b,c){x(a.length!=k);y.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,g=s(a)?a.split(""):a,f=0;f<d;f++)f in g&&b.call(c,g[f],f,a)},Ea=y.filter?function(a,b,c){x(a.length!=k);return y.filter.call(a,b,c)}:function(a,
b,c){for(var d=a.length,g=[],f=0,h=s(a)?a.split(""):a,o=0;o<d;o++)if(o in h){var r=h[o];b.call(c,r,o,a)&&(g[f++]=r)}return g},Fa=y.map?function(a,b,c){x(a.length!=k);return y.map.call(a,b,c)}:function(a,b,c){for(var d=a.length,g=Array(d),f=s(a)?a.split(""):a,h=0;h<d;h++)h in f&&(g[h]=b.call(c,f[h],h,a));return g},Ha=function(a){for(var b=Ga,c=a.length,d=s(a)?a.split(""):a,c=c-1;0<=c;c--)if(c in d&&b.call(i,d[c],c,a))return c;return-1},Ia=function(a,b){var c=Ca(a,b);0<=c&&(x(a.length!=k),y.splice.call(a,
c,1))},Ja=function(a){return y.concat.apply(y,arguments)},Ka=function(a){if(q(a))return Ja(a);for(var b=[],c=0,d=a.length;c<d;c++)b[c]=a[c];return b},La=function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c],g;if(q(d)||(g=ea(d))&&d.hasOwnProperty("callee"))a.push.apply(a,d);else if(g)for(var f=a.length,h=d.length,o=0;o<h;o++)a[f+o]=d[o];else a.push(d)}},Ma=function(a,b,c){x(a.length!=k);return 2>=arguments.length?y.slice.call(a,b):y.slice.call(a,b,c)};var Na,Oa=function(a){a=a.className;return s(a)&&a.match(/\S+/g)||[]},Pa=function(a,b){for(var c=Oa(a),d=Ma(arguments,1),g=c.length+d.length,f=c,h=0;h<d.length;h++)0<=Ca(f,d[h])||f.push(d[h]);a.className=c.join(" ");return c.length==g},Ra=function(a,b){var c=Oa(a),d=Ma(arguments,1),c=Qa(c,d);a.className=c.join(" ")},Qa=function(a,b){return Ea(a,function(a){return!(0<=Ca(b,a))})};var Sa=function(a,b){this.x=p(a)?a:0;this.y=p(b)?b:0};Sa.prototype.w=function(){return new Sa(this.x,this.y)};Sa.prototype.toString=function(){return"("+this.x+", "+this.y+")"};var A=function(a,b){this.width=a;this.height=b};A.prototype.w=function(){return new A(this.width,this.height)};A.prototype.toString=function(){return"("+this.width+" x "+this.height+")"};A.prototype.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};A.prototype.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};var Ta=function(a,b){for(var c in a)b.call(i,a[c],c,a)},Ua=function(a,b){var c={},d;for(d in a)b.call(i,a[d],d,a)&&(c[d]=a[d]);return c},Va=function(a,b){var c={},d;for(d in a)c[d]=b.call(i,a[d],d,a);return c},Wa=function(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b},Xa=function(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b},Ya=function(a){for(var b in a)return l;return j},Za="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),$a=function(a,
b){for(var c,d,g=1;g<arguments.length;g++){d=arguments[g];for(c in d)a[c]=d[c];for(var f=0;f<Za.length;f++)c=Za[f],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}};var ab,bb,cb,db,eb,fb,gb=function(){return n.navigator?n.navigator.userAgent:k},hb=function(){return n.navigator};eb=db=cb=bb=ab=l;var ib;if(ib=gb()){var jb=hb();ab=0==ib.indexOf("Opera");bb=!ab&&-1!=ib.indexOf("MSIE");db=(cb=!ab&&-1!=ib.indexOf("WebKit"))&&-1!=ib.indexOf("Mobile");eb=!ab&&!cb&&"Gecko"==jb.product}var kb=ab,B=bb,lb=eb,C=cb,mb=db,nb=hb(),ob=nb&&nb.platform||"";fb=-1!=ob.indexOf("Mac");ob.indexOf("Win");ob.indexOf("Linux");var pb=!!hb()&&-1!=(hb().appVersion||"").indexOf("X11"),qb;
a:{var rb="",sb;if(kb&&n.opera)var tb=n.opera.version,rb="function"==typeof tb?tb():tb;else if(lb?sb=/rv\:([^\);]+)(\)|;)/:B?sb=/MSIE\s+([^\);]+)(\)|;)/:C&&(sb=/WebKit\/(\S+)/),sb)var ub=sb.exec(gb()),rb=ub?ub[1]:"";if(B){var vb,wb=n.document;vb=wb?wb.documentMode:i;if(vb>parseFloat(rb)){qb=""+vb;break a}}qb=rb}
var xb=qb,yb={},D=function(a){var b;if(!(b=yb[a])){var c=0;b=(""+xb).replace(/^[\s\xa0]+|[\s\xa0]+$/g,"").split(".");for(var d=(""+a).replace(/^[\s\xa0]+|[\s\xa0]+$/g,"").split("."),g=Math.max(b.length,d.length),f=0;0==c&&f<g;f++){var h=b[f]||"",o=d[f]||"",r=RegExp("(\\d*)(\\D*)","g"),w=RegExp("(\\d*)(\\D*)","g");do{var ca=r.exec(h)||["","",""],z=w.exec(o)||["","",""];if(0==ca[0].length&&0==z[0].length)break;var c=0==ca[1].length?0:parseInt(ca[1],10),ka=0==z[1].length?0:parseInt(z[1],10),c=(c<ka?
-1:c>ka?1:0)||((0==ca[2].length)<(0==z[2].length)?-1:(0==ca[2].length)>(0==z[2].length)?1:0)||(ca[2]<z[2]?-1:ca[2]>z[2]?1:0)}while(0==c)}b=yb[a]=0<=c}return b},zb={},Ab=function(){return zb[9]||(zb[9]=B&&!!document.documentMode&&9<=document.documentMode)};var Bb=!B||Ab();!lb&&!B||B&&Ab()||lb&&D("1.9.1");B&&D("9");var Db=function(a){return a?new E(Cb(a)):Na||(Na=new E)},Fb=function(a,b){Ta(b,function(b,d){"style"==d?a.style.cssText=b:"class"==d?a.className=b:"for"==d?a.htmlFor=b:d in Eb?a.setAttribute(Eb[d],b):0==d.lastIndexOf("aria-",0)?a.setAttribute(d,b):a[d]=b})},Eb={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",rowspan:"rowSpan",valign:"vAlign",height:"height",width:"width",usemap:"useMap",frameborder:"frameBorder",maxlength:"maxLength",type:"type"},Gb=function(a){var a=a||window,
b=a.document;if(C&&!D("500")&&!mb){"undefined"==typeof a.innerHeight&&(a=window);var b=a.innerHeight,c=a.document.documentElement.scrollHeight;a==a.top&&c<b&&(b-=15);a=new A(a.innerWidth,b)}else a="CSS1Compat"==b.compatMode?b.documentElement:b.body,a=new A(a.clientWidth,a.clientHeight);return a},Hb=function(a){return a.parentWindow||a.defaultView},Jb=function(a,b,c,d){function g(c){c&&b.appendChild(s(c)?a.createTextNode(c):c)}for(;d<c.length;d++){var f=c[d];ea(f)&&!(ga(f)&&0<f.nodeType)?Da(Ib(f)?
Ka(f):f,g):g(f)}},Kb=function(a,b){Jb(Cb(a),a,arguments,1)},Lb=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):k},Cb=function(a){return 9==a.nodeType?a:a.ownerDocument||a.document},Ib=function(a){if(a&&"number"==typeof a.length){if(ga(a))return"function"==typeof a.item||"string"==typeof a.item;if(fa(a))return"function"==typeof a.item}return l},E=function(a){this.o=a||n.document||document};E.prototype.f=Db;E.prototype.dc=function(a){this.o=a};var Mb=function(a){return a.o};
E.prototype.b=function(a){return s(a)?this.o.getElementById(a):a};E.prototype.n=function(a,b,c){var d=this.o,g=arguments,f=g[0],h=g[1];if(!Bb&&h&&(h.name||h.type)){f=["<",f];h.name&&f.push(' name="',za(h.name),'"');if(h.type){f.push(' type="',za(h.type),'"');var o={};$a(o,h);h=o;delete h.type}f.push(">");f=f.join("")}f=d.createElement(f);h&&(s(h)?f.className=h:q(h)?Pa.apply(k,[f].concat(h)):Fb(f,h));2<g.length&&Jb(d,f,g,2);return f};E.prototype.createElement=function(a){return this.o.createElement(a)};
E.prototype.createTextNode=function(a){return this.o.createTextNode(a)};var Nb=function(a){return Hb(a.o)},Ob=function(a){var b=a.o,a=!C&&"CSS1Compat"==b.compatMode?b.documentElement:b.body,b=Hb(b);return new Sa(b.pageXOffset||a.scrollLeft,b.pageYOffset||a.scrollTop)};E.prototype.appendChild=function(a,b){a.appendChild(b)};E.prototype.removeNode=Lb;
E.prototype.contains=function(a,b){if(a.contains&&1==b.nodeType)return a==b||a.contains(b);if("undefined"!=typeof a.compareDocumentPosition)return a==b||Boolean(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a};var Pb=function(){};Pb.prototype.Wb=l;Pb.prototype.B=function(){this.Wb||(this.Wb=j,this.k())};Pb.prototype.k=function(){this.Mc&&Qb.apply(k,this.Mc)};var Rb=function(a){a&&"function"==typeof a.B&&a.B()},Qb=function(a){for(var b=0,c=arguments.length;b<c;++b){var d=arguments[b];ea(d)?Qb.apply(k,d):Rb(d)}};var Sb=function(a){a.setAttribute("role","dialog");a.ke="dialog"};var F=function(a,b){this.type=a;this.currentTarget=this.target=b};v(F,Pb);m=F.prototype;m.k=function(){delete this.type;delete this.target;delete this.currentTarget};m.Z=l;m.ya=j;m.stopPropagation=function(){this.Z=j};m.preventDefault=function(){this.ya=l};var Tb=function(a){a.preventDefault()};var Ub=function(a){Ub[" "](a);return a};Ub[" "]=aa;var Vb=!B||Ab(),Wb=!B||Ab(),Xb=B&&!D("8");!C||D("528");lb&&D("1.9b")||B&&D("8")||kb&&D("9.5")||C&&D("528");lb&&!D("8")||B&&D("9");var Yb=function(a,b){a&&this.init(a,b)};v(Yb,F);var Zb=[1,4,2];m=Yb.prototype;m.target=k;m.relatedTarget=k;m.offsetX=0;m.offsetY=0;m.clientX=0;m.clientY=0;m.screenX=0;m.screenY=0;m.button=0;m.keyCode=0;m.charCode=0;m.ctrlKey=l;m.altKey=l;m.shiftKey=l;m.metaKey=l;m.v=k;
m.init=function(a,b){var c=this.type=a.type;F.call(this,c);this.target=a.target||a.srcElement;this.currentTarget=b;var d=a.relatedTarget;if(d){if(lb){var g;a:{try{Ub(d.nodeName);g=j;break a}catch(f){}g=l}g||(d=k)}}else"mouseover"==c?d=a.fromElement:"mouseout"==c&&(d=a.toElement);this.relatedTarget=d;this.offsetX=C||a.offsetX!==i?a.offsetX:a.layerX;this.offsetY=C||a.offsetY!==i?a.offsetY:a.layerY;this.clientX=a.clientX!==i?a.clientX:a.pageX;this.clientY=a.clientY!==i?a.clientY:a.pageY;this.screenX=
a.screenX||0;this.screenY=a.screenY||0;this.button=a.button;this.keyCode=a.keyCode||0;this.charCode=a.charCode||("keypress"==c?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.state=a.state;this.v=a;delete this.ya;delete this.Z};m.stopPropagation=function(){Yb.a.stopPropagation.call(this);this.v.stopPropagation?this.v.stopPropagation():this.v.cancelBubble=j};
m.preventDefault=function(){Yb.a.preventDefault.call(this);var a=this.v;if(a.preventDefault)a.preventDefault();else if(a.returnValue=l,Xb)try{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)a.keyCode=-1}catch(b){}};m.k=function(){Yb.a.k.call(this);this.relatedTarget=this.currentTarget=this.target=this.v=k};var $b=function(){},ac=0;m=$b.prototype;m.j=0;m.V=l;m.tb=l;m.init=function(a,b,c,d,g,f){fa(a)?this.Rb=j:a&&a.handleEvent&&fa(a.handleEvent)?this.Rb=l:e(Error("Invalid listener argument"));this.ha=a;this.Lb=b;this.src=c;this.type=d;this.va=!!g;this.Ha=f;this.tb=l;this.j=++ac;this.V=l};m.handleEvent=function(a){return this.Rb?this.ha.call(this.Ha||this.src,a):this.ha.handleEvent.call(this.ha,a)};var bc={},G={},H={},cc={},dc=function(a,b,c,d,g){if(b){if(q(b)){for(var f=0;f<b.length;f++)dc(a,b[f],c,d,g);return k}var d=!!d,h=G;b in h||(h[b]={c:0,s:0});h=h[b];d in h||(h[d]={c:0,s:0},h.c++);var h=h[d],o=ja(a),r;h.s++;if(h[o]){r=h[o];for(f=0;f<r.length;f++)if(h=r[f],h.ha==c&&h.Ha==g){if(h.V)break;return r[f].j}}else r=h[o]=[],h.c++;f=ec();f.src=a;h=new $b;h.init(c,f,a,b,d,g);c=h.j;f.j=c;r.push(h);bc[c]=h;H[o]||(H[o]=[]);H[o].push(h);a.addEventListener?(a==n||!a.Mb)&&a.addEventListener(b,f,d):a.attachEvent(b in
cc?cc[b]:cc[b]="on"+b,f);return c}e(Error("Invalid event type"))},ec=function(){var a=fc,b=Wb?function(c){return a.call(b.src,b.j,c)}:function(c){c=a.call(b.src,b.j,c);if(!c)return c};return b},gc=function(a,b,c,d,g){if(q(b))for(var f=0;f<b.length;f++)gc(a,b[f],c,d,g);else a=dc(a,b,c,d,g),bc[a].tb=j},hc=function(a,b,c,d,g){if(q(b))for(var f=0;f<b.length;f++)hc(a,b[f],c,d,g);else if(d=!!d,a=ic(a,b,d))for(f=0;f<a.length;f++)if(a[f].ha==c&&a[f].va==d&&a[f].Ha==g){jc(a[f].j);break}},jc=function(a){if(!bc[a])return l;
var b=bc[a];if(b.V)return l;var c=b.src,d=b.type,g=b.Lb,f=b.va;c.removeEventListener?(c==n||!c.Mb)&&c.removeEventListener(d,g,f):c.detachEvent&&c.detachEvent(d in cc?cc[d]:cc[d]="on"+d,g);c=ja(c);g=G[d][f][c];if(H[c]){var h=H[c];Ia(h,b);0==h.length&&delete H[c]}b.V=j;g.Sb=j;kc(d,f,c,g);delete bc[a];return j},kc=function(a,b,c,d){if(!d.Pa&&d.Sb){for(var g=0,f=0;g<d.length;g++)d[g].V?d[g].Lb.src=k:(g!=f&&(d[f]=d[g]),f++);d.length=f;d.Sb=l;0==f&&(delete G[a][b][c],G[a][b].c--,0==G[a][b].c&&(delete G[a][b],
G[a].c--),0==G[a].c&&delete G[a])}},lc=function(a){var b,c=0,d=b==k;b=!!b;if(a==k)Ta(H,function(a){for(var f=a.length-1;0<=f;f--){var g=a[f];if(d||b==g.va)jc(g.j),c++}});else if(a=ja(a),H[a])for(var a=H[a],g=a.length-1;0<=g;g--){var f=a[g];if(d||b==f.va)jc(f.j),c++}},ic=function(a,b,c){var d=G;return b in d&&(d=d[b],c in d&&(d=d[c],a=ja(a),d[a]))?d[a]:k},nc=function(a,b,c,d,g){var f=1,b=ja(b);if(a[b]){a.s--;a=a[b];a.Pa?a.Pa++:a.Pa=1;try{for(var h=a.length,o=0;o<h;o++){var r=a[o];r&&!r.V&&(f&=mc(r,
g)!==l)}}finally{a.Pa--,kc(c,d,b,a)}}return Boolean(f)},mc=function(a,b){var c=a.handleEvent(b);a.tb&&jc(a.j);return c},fc=function(a,b){if(!bc[a])return j;var c=bc[a],d=c.type,g=G;if(!(d in g))return j;var g=g[d],f,h;if(!Wb){var o;if(!(o=b))a:{o=["window","event"];for(var r=n;f=o.shift();)if(r[f]!=k)r=r[f];else{o=k;break a}o=r}f=o;o=j in g;r=l in g;if(o){if(0>f.keyCode||f.returnValue!=i)return j;a:{var w=l;if(0==f.keyCode)try{f.keyCode=-1;break a}catch(ca){w=j}if(w||f.returnValue==i)f.returnValue=
j}}w=new Yb;w.init(f,this);f=j;try{if(o){for(var z=[],ka=w.currentTarget;ka;ka=ka.parentNode)z.push(ka);h=g[j];h.s=h.c;for(var X=z.length-1;!w.Z&&0<=X&&h.s;X--)w.currentTarget=z[X],f&=nc(h,z[X],d,j,w);if(r){h=g[l];h.s=h.c;for(X=0;!w.Z&&X<z.length&&h.s;X++)w.currentTarget=z[X],f&=nc(h,z[X],d,l,w)}}else f=mc(c,w)}finally{z&&(z.length=0),w.B()}return f}d=new Yb(b,this);try{f=mc(c,d)}finally{d.B()}return f};var oc=function(a){this.Ob=a;this.i=[]};v(oc,Pb);var pc=[],I=function(a,b,c,d,g){q(c)||(pc[0]=c,c=pc);for(var f=0;f<c.length;f++)a.i.push(dc(b,c[f],d||a,g||l,a.Ob||a));return a},qc=function(a,b,c,d,g,f){if(q(c))for(var h=0;h<c.length;h++)qc(a,b,c[h],d,g,f);else{a:{d=d||a;f=f||a.Ob||a;g=!!g;if(b=ic(b,c,g))for(c=0;c<b.length;c++)if(!b[c].V&&b[c].ha==d&&b[c].va==g&&b[c].Ha==f){b=b[c];break a}b=k}b&&(b=b.j,jc(b),Ia(a.i,b))}};oc.prototype.Ga=function(){Da(this.i,jc);this.i.length=0};
oc.prototype.k=function(){oc.a.k.call(this);this.Ga()};oc.prototype.handleEvent=function(){e(Error("EventHandler.handleEvent not implemented"))};var rc=function(){};v(rc,Pb);m=rc.prototype;m.Mb=j;m.Ja=k;m.sb=function(a){this.Ja=a};m.addEventListener=function(a,b,c,d){dc(this,a,b,c,d)};m.removeEventListener=function(a,b,c,d){hc(this,a,b,c,d)};
m.dispatchEvent=function(a){var b=a.type||a,c=G;if(b in c){if(s(a))a=new F(a,this);else if(a instanceof F)a.target=a.target||this;else{var d=a,a=new F(b,this);$a(a,d)}var d=1,g,c=c[b],b=j in c,f;if(b){g=[];for(f=this;f;f=f.Ja)g.push(f);f=c[j];f.s=f.c;for(var h=g.length-1;!a.Z&&0<=h&&f.s;h--)a.currentTarget=g[h],d&=nc(f,g[h],a.type,j,a)&&a.ya!=l}if(l in c)if(f=c[l],f.s=f.c,b)for(h=0;!a.Z&&h<g.length&&f.s;h++)a.currentTarget=g[h],d&=nc(f,g[h],a.type,l,a)&&a.ya!=l;else for(g=this;!a.Z&&g&&f.s;g=g.Ja)a.currentTarget=
g,d&=nc(f,g,a.type,l,a)&&a.ya!=l;a=Boolean(d)}else a=j;return a};m.k=function(){rc.a.k.call(this);lc(this);this.Ja=k};var J=function(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d};J.prototype.w=function(){return new J(this.left,this.top,this.width,this.height)};J.prototype.toString=function(){return"("+this.left+", "+this.top+" - "+this.width+"w x "+this.height+"h)"};
J.prototype.contains=function(a){return a instanceof J?this.left<=a.left&&this.left+this.width>=a.left+a.width&&this.top<=a.top&&this.top+this.height>=a.top+a.height:a.x>=this.left&&a.x<=this.left+this.width&&a.y>=this.top&&a.y<=this.top+this.height};var sc=function(a,b,c){this.target=a;this.lb=b||a;this.ob=c||new J(NaN,NaN,NaN,NaN);this.o=Cb(a);this.F=new oc(this);dc(this.lb,["touchstart","mousedown"],this.Fb,l,this)};v(sc,rc);var tc=B||lb&&D("1.9.3");m=sc.prototype;m.clientX=0;m.clientY=0;m.screenX=0;m.screenY=0;m.Jb=0;m.Kb=0;m.ka=0;m.la=0;m.Hb=j;m.O=l;m.Ib=0;m.nc=l;m.t=function(){return this.F};m.k=function(){sc.a.k.call(this);hc(this.lb,["touchstart","mousedown"],this.Fb,l,this);this.F.B();delete this.target;delete this.lb;delete this.F};
m.Fb=function(a){var b="mousedown"==a.type;if(this.Hb&&!this.O&&(!b||(Vb?0==a.v.button:"click"==a.type||a.v.button&Zb[0])&&(!C||!fb||!a.ctrlKey))){uc(a);if(0==this.Ib)if(vc(this,a),this.O)a.preventDefault();else return;else a.preventDefault();var b=this.o,c=b.documentElement,d=!tc;I(this.F,b,["touchmove","mousemove"],this.mc,d);I(this.F,b,["touchend","mouseup"],this.Ma,d);tc?(c.setCapture(l),I(this.F,c,"losecapture",this.Ma)):I(this.F,b?Hb(b):window,"blur",this.Ma);B&&this.nc&&I(this.F,b,"dragstart",
Tb);this.pc&&I(this.F,this.pc,"scroll",this.oc,d);this.clientX=this.Jb=a.clientX;this.clientY=this.Kb=a.clientY;this.screenX=a.screenX;this.screenY=a.screenY;this.ka=this.target.offsetLeft;this.la=this.target.offsetTop;this.nb=Ob(Db(this.o));na()}else this.dispatchEvent("earlycancel")};var vc=function(a,b){a.dispatchEvent(new wc("start",a,b.clientX,b.clientY))!==l&&(a.O=j)};
sc.prototype.Ma=function(a){this.F.Ga();tc&&this.o.releaseCapture();var b=xc(this,this.ka),c=yc(this,this.la);this.O?(uc(a),this.O=l,this.dispatchEvent(new wc("end",this,a.clientX,a.clientY,0,b,c))):this.dispatchEvent("earlycancel");("touchend"==a.type||"touchcancel"==a.type)&&a.preventDefault()};var uc=function(a){var b=a.type;"touchstart"==b||"touchmove"==b?a.init(a.v.targetTouches[0],a.currentTarget):("touchend"==b||"touchcancel"==b)&&a.init(a.v.Yc[0],a.currentTarget)};
sc.prototype.mc=function(a){if(this.Hb){uc(a);var b=a.clientX-this.clientX,c=a.clientY-this.clientY;this.clientX=a.clientX;this.clientY=a.clientY;this.screenX=a.screenX;this.screenY=a.screenY;if(!this.O){var d=this.Jb-this.clientX,g=this.Kb-this.clientY;if(d*d+g*g>this.Ib&&(vc(this,a),!this.O)){this.Ma(a);return}}c=zc(this,b,c);b=c.x;c=c.y;this.O&&this.dispatchEvent(new wc("beforedrag",this,a.clientX,a.clientY,0,b,c))!==l&&(Ac(this,a,b,c),a.preventDefault())}};
var zc=function(a,b,c){var d=Ob(Db(a.o)),b=b+(d.x-a.nb.x),c=c+(d.y-a.nb.y);a.nb=d;a.ka+=b;a.la+=c;b=xc(a,a.ka);a=yc(a,a.la);return new Sa(b,a)};sc.prototype.oc=function(a){var b=zc(this,0,0);a.clientX=this.clientX;a.clientY=this.clientY;Ac(this,a,b.x,b.y)};
var Ac=function(a,b,c,d){a.target.style.left=c+"px";a.target.style.top=d+"px";a.dispatchEvent(new wc("drag",a,b.clientX,b.clientY,0,c,d))},xc=function(a,b){var c=a.ob,d=!isNaN(c.left)?c.left:k,c=!isNaN(c.width)?c.width:0;return Math.min(d!=k?d+c:Infinity,Math.max(d!=k?d:-Infinity,b))},yc=function(a,b){var c=a.ob,d=!isNaN(c.top)?c.top:k,c=!isNaN(c.height)?c.height:0;return Math.min(d!=k?d+c:Infinity,Math.max(d!=k?d:-Infinity,b))},wc=function(a,b,c,d,g,f,h){F.call(this,a);this.clientX=c;this.clientY=
d;this.left=p(f)?f:b.ka;this.top=p(h)?h:b.la};v(wc,F);var Bc="StopIteration"in n?n.StopIteration:Error("StopIteration"),Cc=function(){};Cc.prototype.Dc=function(){e(Bc)};Cc.prototype.xb=function(){return this};var Dc=function(a){if("function"==typeof a.K)return a.K();if(s(a))return a.split("");if(ea(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return Wa(a)},Ec=function(a,b,c){if("function"==typeof a.forEach)a.forEach(b,c);else if(ea(a)||s(a))Da(a,b,c);else{var d;if("function"==typeof a.ma)d=a.ma();else if("function"!=typeof a.K)if(ea(a)||s(a)){d=[];for(var g=a.length,f=0;f<g;f++)d.push(f)}else d=Xa(a);else d=i;for(var g=Dc(a),f=g.length,h=0;h<f;h++)b.call(c,g[h],d&&d[h],a)}};var K=function(a,b){this.m={};this.i=[];var c=arguments.length;if(1<c){c%2&&e(Error("Uneven number of arguments"));for(var d=0;d<c;d+=2)this.set(arguments[d],arguments[d+1])}else a&&this.vb(a)};m=K.prototype;m.c=0;m.Oa=0;m.K=function(){Fc(this);for(var a=[],b=0;b<this.i.length;b++)a.push(this.m[this.i[b]]);return a};m.ma=function(){Fc(this);return this.i.concat()};m.P=function(a){return Gc(this.m,a)};
m.remove=function(a){return Gc(this.m,a)?(delete this.m[a],this.c--,this.Oa++,this.i.length>2*this.c&&Fc(this),j):l};var Fc=function(a){if(a.c!=a.i.length){for(var b=0,c=0;b<a.i.length;){var d=a.i[b];Gc(a.m,d)&&(a.i[c++]=d);b++}a.i.length=c}if(a.c!=a.i.length){for(var g={},c=b=0;b<a.i.length;)d=a.i[b],Gc(g,d)||(a.i[c++]=d,g[d]=1),b++;a.i.length=c}};m=K.prototype;m.get=function(a,b){return Gc(this.m,a)?this.m[a]:b};m.set=function(a,b){Gc(this.m,a)||(this.c++,this.i.push(a),this.Oa++);this.m[a]=b};
m.vb=function(a){var b;a instanceof K?(b=a.ma(),a=a.K()):(b=Xa(a),a=Wa(a));for(var c=0;c<b.length;c++)this.set(b[c],a[c])};m.w=function(){return new K(this)};m.xb=function(a){Fc(this);var b=0,c=this.i,d=this.m,g=this.Oa,f=this,h=new Cc;h.Dc=function(){for(;;){g!=f.Oa&&e(Error("The map has changed since the iterator was created"));b>=c.length&&e(Bc);var h=c[b++];return a?h:d[h]}};return h};var Gc=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var Hc=function(a,b){var c=Cb(a);return c.defaultView&&c.defaultView.getComputedStyle&&(c=c.defaultView.getComputedStyle(a,k))?c[b]||c.getPropertyValue(b):""},Ic=function(a){return Hc(a,"position")||(a.currentStyle?a.currentStyle.position:k)||a.style&&a.style.position},Kc=function(a,b,c){var d,g=lb&&(fb||pb)&&D("1.9");b instanceof Sa?(d=b.x,b=b.y):(d=b,b=c);a.style.left=Jc(d,g);a.style.top=Jc(b,g)},Lc=function(a,b,c){b instanceof A?(c=b.height,b=b.width):c==i&&e(Error("missing height argument"));
a.style.width=Jc(b,j);a.style.height=Jc(c,j)},Jc=function(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a},Nc=function(a){if("none"!=(Hc(a,"display")||(a.currentStyle?a.currentStyle.display:k)||a.style&&a.style.display))return Mc(a);var b=a.style,c=b.display,d=b.visibility,g=b.position;b.visibility="hidden";b.position="absolute";b.display="inline";a=Mc(a);b.display=c;b.position=g;b.visibility=d;return a},Mc=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=C&&!b&&!c;return(!p(b)||
d)&&a.getBoundingClientRect?(b=a.getBoundingClientRect(),B&&(a=a.ownerDocument,b.left-=a.documentElement.clientLeft+a.body.clientLeft,b.top-=a.documentElement.clientTop+a.body.clientTop),new A(b.right-b.left,b.bottom-b.top)):new A(b,c)},Oc=function(a,b){var c=a.style;"opacity"in c?c.opacity=b:"MozOpacity"in c?c.MozOpacity=b:"filter"in c&&(c.filter=""===b?"":"alpha(opacity="+100*b+")")},L=function(a,b){a.style.display=b?"":"none"};var Pc=function(a){this.g=a;a=B?"focusout":"blur";this.qc=dc(this.g,B?"focusin":"focus",this,!B);this.sc=dc(this.g,a,this,!B)};v(Pc,rc);Pc.prototype.handleEvent=function(a){var b=new Yb(a.v);b.type="focusin"==a.type||"focus"==a.type?"focusin":"focusout";try{this.dispatchEvent(b)}finally{b.B()}};Pc.prototype.k=function(){Pc.a.k.call(this);jc(this.qc);jc(this.sc);delete this.g};var Qc=n.window;var Rc=function(){};ba(Rc);Rc.prototype.Ic=0;Rc.Zb();var Sc=function(a){this.T=a||Db()};v(Sc,rc);m=Sc.prototype;m.Hc=Rc.Zb();m.I=k;m.A=l;m.g=k;m.u=k;m.Ea=k;m.M=k;m.jc=l;m.pa=function(){return this.I||(this.I=":"+(this.Hc.Ic++).toString(36))};m.b=function(){return this.g};m.t=function(){return this.ga||(this.ga=new oc(this))};m.Qa=function(a){this==a&&e(Error("Unable to set parent component"));a&&this.u&&this.I&&this.u.M&&this.I&&this.I in this.u.M&&this.u.M[this.I]&&this.u!=a&&e(Error("Unable to set parent component"));this.u=a;Sc.a.sb.call(this,a)};
m.sb=function(a){this.u&&this.u!=a&&e(Error("Method not supported"));Sc.a.sb.call(this,a)};m.f=function(){return this.T};m.n=function(){this.g=this.T.createElement("div")};m.R=function(a){this.A&&e(Error("Component already rendered"));this.g||this.n();a?a.insertBefore(this.g,k):this.T.o.body.appendChild(this.g);(!this.u||this.u.A)&&this.ba()};m.ba=function(){this.A=j;Tc(this,function(a){!a.A&&a.b()&&a.ba()})};m.S=function(){Tc(this,function(a){a.A&&a.S()});this.ga&&this.ga.Ga();this.A=l};
m.k=function(){Sc.a.k.call(this);this.A&&this.S();this.ga&&(this.ga.B(),delete this.ga);Tc(this,function(a){a.B()});!this.jc&&this.g&&Lb(this.g);this.u=this.g=this.M=this.Ea=k};m.jb=function(){return this.g};var Tc=function(a,b){a.Ea&&Da(a.Ea,b,i)};Sc.prototype.removeChild=function(a,b){if(a){var c=s(a)?a:a.pa(),a=this.M&&c?(c in this.M?this.M[c]:i)||k:k;if(c&&a){var d=this.M;c in d&&delete d[c];Ia(this.Ea,a);b&&(a.S(),a.g&&Lb(a.g));a.Qa(k)}}a||e(Error("Child is not in parent component"));return a};var M=function(a,b){this.T=b||Db();this.hc=!!a};v(M,Sc);m=M.prototype;m.ib=k;m.Ka=l;m.p=k;m.l=k;m.D=k;m.Fa=function(){return"goog-modalpopup"};m.Ca=function(){return this.p};
m.n=function(){M.a.n.call(this);var a=this.b();Pa(a,this.Fa());a.tabIndex=0;L(a,l);this.hc&&!this.l&&(this.l=this.f().n("iframe",{frameborder:0,style:"border:0;vertical-align:bottom;",src:'javascript:""'}),this.l.className=this.Fa()+"-bg",L(this.l,l),Oc(this.l,0));this.p||(this.p=this.f().n("div",this.Fa()+"-bg"),L(this.p,l));this.D||(this.D=this.f().createElement("span"),L(this.D,l),this.D.tabIndex=0,this.D.style.position="absolute")};
m.ba=function(){x(!!this.p,"Background element must not be null.");if(this.l){var a=this.b();a.parentNode&&a.parentNode.insertBefore(this.l,a)}a=this.b();a.parentNode&&a.parentNode.insertBefore(this.p,a);M.a.ba.call(this);a=this.b();a.parentNode&&a.parentNode.insertBefore(this.D,a.nextSibling);this.ib=new Pc(Mb(this.f()));I(this.t(),this.ib,"focusin",this.ic)};m.S=function(){this.qa()&&this.q(l);Rb(this.ib);M.a.S.call(this);Lb(this.l);Lb(this.p);Lb(this.D)};
m.q=function(a){x(this.A,"ModalPopup must be rendered first.");a!=this.Ka&&(this.ea&&this.ea.stop(),this.ra&&this.ra.stop(),this.fa&&this.fa.stop(),this.sa&&this.sa.stop(),a?this.Cc():this.Bc())};m.Cc=function(){this.dispatchEvent("beforeshow")&&(this.qb(),this.Nb(),I(this.t(),Nb(this.f()),"resize",this.qb),Uc(this,j),this.focus(),this.Ka=j,this.ea&&this.ra?(gc(this.ea,"end",this.La,l,this),this.ra.play(),this.ea.play()):this.La())};
m.Bc=function(){this.dispatchEvent("beforehide")&&(qc(this.t(),Nb(this.f()),"resize",this.qb),this.Ka=l,this.fa&&this.sa?(gc(this.fa,"end",this.Ia,l,this),this.sa.play(),this.fa.play()):this.Ia())};var Uc=function(a,b){a.l&&L(a.l,b);a.p&&L(a.p,b);L(a.b(),b);L(a.D,b)};m=M.prototype;m.La=function(){this.dispatchEvent("show")};m.Ia=function(){Uc(this,l);this.dispatchEvent("hide")};m.qa=function(){return this.Ka};m.focus=function(){this.Xb()};
m.qb=function(){this.l&&L(this.l,l);this.p&&L(this.p,l);var a=Mb(this.f()),b=Gb((a?Hb(a):window)||window),c=Math.max(a.body.scrollWidth,b.width),a=Math.max(a.body.scrollHeight,b.height);this.l&&(L(this.l,j),Lc(this.l,c,a));this.p&&(L(this.p,j),Lc(this.p,c,a))};
m.Nb=function(){var a=Mb(this.f()),b=(a?Hb(a):window)||window;if("fixed"==Ic(this.b()))var c=a=0;else c=Ob(this.f()),a=c.x,c=c.y;var d=Nc(this.b()),b=Gb(b),a=Math.max(a+b.width/2-d.width/2,0),c=Math.max(c+b.height/2-d.height/2,0);Kc(this.b(),a,c);Kc(this.D,a,c)};m.ic=function(a){a.target==this.D&&(a=this.Xb,fa(a)?this&&(a=t(a,this)):a&&"function"==typeof a.handleEvent?a=t(a.handleEvent,a):e(Error("Invalid listener argument")),Qc.setTimeout(a,0))};m.Xb=function(){try{B&&Mb(this.f()).body.focus(),this.b().focus()}catch(a){}};
m.k=function(){Rb(this.ea);this.ea=k;Rb(this.fa);this.fa=k;Rb(this.ra);this.ra=k;Rb(this.sa);this.sa=k;M.a.k.call(this)};var N=function(a,b,c){M.call(this,b,c);this.C=a||"modal-dialog";this.L=Vc()};v(N,M);m=N.prototype;m.tc=j;m.Ab=j;m.Db=j;m.ec=j;m.hb=0.5;m.gb="";m.Bb="";m.Y=k;m.yc=l;m.ca=k;m.oa=k;m.Cb=k;m.Ba=k;m.fb=k;m.Q=k;m.Fa=function(){return this.C};
m.setTitle=function(a){this.gb=a;if(this.oa){var b=this.oa;if("textContent"in b)b.textContent=a;else if(b.firstChild&&3==b.firstChild.nodeType){for(;b.lastChild!=b.firstChild;)b.removeChild(b.lastChild);b.firstChild.data=a}else{for(var c;c=b.firstChild;)b.removeChild(c);b.appendChild(Cb(b).createTextNode(a))}}};m.yb=function(){return this.gb};m.jb=function(){this.b()||this.R();return this.fb};m.Ca=function(){this.b()||this.R();return N.a.Ca.call(this)};
var Wc=function(a,b){if(a.b()){var c=a.ca,d=a.C+"-title-draggable";b?Pa(c,d):Ra(c,d)}b&&!a.Y?(a.Y=new sc(a.b(),a.ca),Pa(a.ca,a.C+"-title-draggable"),dc(a.Y,"start",a.wc,l,a)):!b&&a.Y&&(a.Y.B(),a.Y=k)};m=N.prototype;
m.n=function(){N.a.n.call(this);var a=this.b();x(a,"getElement() returns null");var b=this.f();this.ca=b.n("div",{className:this.C+"-title",id:this.pa()},this.oa=b.n("span",this.C+"-title-text",this.gb),this.Ba=b.n("span",this.C+"-title-close"));Kb(a,this.ca,this.fb=b.n("div",this.C+"-content"),this.Q=b.n("div",this.C+"-buttons"));this.Cb=this.ca.id;Sb(a);a.setAttribute("aria-labelledby",this.Cb||"");this.Bb&&(this.fb.innerHTML=this.Bb);L(this.Ba,this.Ab);this.L&&(a=this.L,a.g=this.Q,a.R());L(this.Q,
!!this.L);this.hb=this.hb;this.b()&&(a=this.Ca())&&Oc(a,this.hb)};m.ba=function(){N.a.ba.call(this);I(I(this.t(),this.b(),"keydown",this.Eb),this.b(),"keypress",this.Eb);I(this.t(),this.Q,"click",this.fc);Wc(this,this.ec);I(this.t(),this.Ba,"click",this.gc);Sb(this.b());""!==this.oa.id&&this.b().setAttribute("aria-labelledby",this.oa.id);if(!this.Db&&(this.Db=l,this.A)){var a=this.f(),b=this.Ca();a.removeNode(this.l);a.removeNode(b)}};m.S=function(){this.qa()&&this.q(l);Wc(this,l);N.a.S.call(this)};
m.q=function(a){a!=this.qa()&&(this.A||this.R(),N.a.q.call(this,a))};m.La=function(){N.a.La.call(this);this.dispatchEvent("aftershow")};m.Ia=function(){N.a.Ia.call(this);this.dispatchEvent("afterhide");this.yc&&this.B()};
m.focus=function(){N.a.focus.call(this);if(this.L){var a=this.L.Da;if(a)for(var b=Mb(this.f()),c=this.Q.getElementsByTagName("button"),d=0,g;g=c[d];d++)if(g.name==a){try{if(C||kb){var f=b.createElement("input");f.style.cssText="position:fixed;width:0;height:0;left:0;top:0;";this.b().appendChild(f);f.focus();this.b().removeChild(f)}g.focus()}catch(h){}break}}};
m.wc=function(){var a=Mb(this.f()),b=Gb((a?Hb(a):window)||window),c=Math.max(a.body.scrollWidth,b.width),a=Math.max(a.body.scrollHeight,b.height),d=Nc(this.b());this.Y.ob="fixed"==Ic(this.b())?new J(0,0,Math.max(0,b.width-d.width),Math.max(0,b.height-d.height))||new J(NaN,NaN,NaN,NaN):new J(0,0,c-d.width,a-d.height)||new J(NaN,NaN,NaN,NaN)};m.gc=function(){if(this.Ab){var a=this.L,b=a&&a.pb;b?(a=a.get(b),this.dispatchEvent(new Xc(b,a))&&this.q(l)):this.q(l)}};m.k=function(){this.Q=this.Ba=k;N.a.k.call(this)};
m.fc=function(a){a:{for(a=a.target;a!=k&&a!=this.Q;){if("BUTTON"==a.tagName)break a;a=a.parentNode}a=k}if(a&&!a.disabled){var a=a.name,b=this.L.get(a);this.dispatchEvent(new Xc(a,b))&&this.q(l)}};
m.Eb=function(a){var b=l,c=l,d=this.L,g=a.target;if("keydown"==a.type)if(this.tc&&27==a.keyCode){var f=d&&d.pb,g="SELECT"==g.tagName&&!g.disabled;f&&!g?(c=j,b=d.get(f),b=this.dispatchEvent(new Xc(f,b))):g||(b=j)}else 9==a.keyCode&&a.shiftKey&&g==this.b()&&(c=j);else if(13==a.keyCode){if("BUTTON"==g.tagName)f=g.name;else if(d){var h=d.Da,o;if(o=h)a:{o=d.g.getElementsByTagName("BUTTON");for(var r=0,w;w=o[r];r++)if(w.name==h||w.id==h){o=w;break a}o=k}g=("TEXTAREA"==g.tagName||"SELECT"==g.tagName)&&!g.disabled;
o&&!o.disabled&&!g&&(f=h)}f&&d&&(c=j,b=this.dispatchEvent(new Xc(f,""+d.get(f))))}if(b||c)a.stopPropagation(),a.preventDefault();b&&this.q(l)};var Xc=function(a,b){this.type="dialogselect";this.j=a;this.caption=b};v(Xc,F);var O=function(a){this.T=a||Db();K.call(this)};v(O,K);m=O.prototype;m.C="goog-buttonset";m.Da=k;m.g=k;m.pb=k;m.set=function(a,b,c,d){K.prototype.set.call(this,a,b);c&&(this.Da=a);d&&(this.pb=a);return this};var P=function(a,b,c,d){return a.set(b.j,b.caption,c,d)};
O.prototype.R=function(){if(this.g){this.g.innerHTML="";var a=Db(this.g);Ec(this,function(b,c){var d=a.n("button",{name:c},b);c==this.Da&&(d.className=this.C+"-default");this.g.appendChild(d)},this)}};O.prototype.b=function(){return this.g};O.prototype.f=function(){return this.T};
var Yc={j:"ok",caption:"OK"},Zc={j:"cancel",caption:"Cancel"},$c={j:"yes",caption:"Yes"},ad={j:"no",caption:"No"},bd={j:"save",caption:"Save"},cd={j:"continue",caption:"Continue"},Vc=function(){return P(P(new O,Yc,j),Zc,l,j)};"undefined"!=typeof document&&(P(new O,Yc,j,j),Vc(),P(P(new O,$c,j),ad,l,j),P(P(P(new O,$c),ad,j),Zc,l,j),P(P(P(new O,cd),bd),Zc,j,j));var dd=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^/?#]*)@)?([\\w\\d\\-\\u0100-\\uffff.%]*)(?::([0-9]+))?)?([^?#]+)?(?:\\?([^#]*))?(?:#(.*))?$"),fd=function(a){if(ed){ed=l;var b=n.location;if(b){var c=b.href;if(c&&(c=(c=fd(c)[3]||k)&&decodeURIComponent(c))&&c!=b.hostname)ed=j,e(Error())}}return a.match(dd)},ed=C;var Q=function(a,b){var c;a instanceof Q?(this.ia(b==k?a.G:b),gd(this,a.N),hd(this,a.ua),id(this,a.W),jd(this,a.ja),kd(this,a.X),ld(this,a.r.w()),md(this,a.ta)):a&&(c=fd(""+a))?(this.ia(!!b),gd(this,c[1]||"",j),hd(this,c[2]||"",j),id(this,c[3]||"",j),jd(this,c[4]),kd(this,c[5]||"",j),this.Na(c[6]||"",j),md(this,c[7]||"",j)):(this.ia(!!b),this.r=new nd(k,this,this.G))};m=Q.prototype;m.N="";m.ua="";m.W="";m.ja=k;m.X="";m.ta="";m.Oc=l;m.G=l;
m.toString=function(){if(this.z)return this.z;var a=[];this.N&&a.push(od(this.N,pd),":");this.W&&(a.push("//"),this.ua&&a.push(od(this.ua,pd),"@"),a.push(s(this.W)?encodeURIComponent(this.W):k),this.ja!=k&&a.push(":",""+this.ja));this.X&&(this.W&&"/"!=this.X.charAt(0)&&a.push("/"),a.push(od(this.X,"/"==this.X.charAt(0)?qd:rd)));var b=""+this.r;b&&a.push("?",b);this.ta&&a.push("#",od(this.ta,sd));return this.z=a.join("")};
m.w=function(){var a=this.N,b=this.ua,c=this.W,d=this.ja,g=this.X,f=this.r.w(),h=this.ta,o=new Q(k,this.G);a&&gd(o,a);b&&hd(o,b);c&&id(o,c);d&&jd(o,d);g&&kd(o,g);f&&ld(o,f);h&&md(o,h);return o};
var gd=function(a,b,c){R(a);delete a.z;a.N=c?b?decodeURIComponent(b):"":b;a.N&&(a.N=a.N.replace(/:$/,""))},hd=function(a,b,c){R(a);delete a.z;a.ua=c?b?decodeURIComponent(b):"":b},id=function(a,b,c){R(a);delete a.z;a.W=c?b?decodeURIComponent(b):"":b},jd=function(a,b){R(a);delete a.z;b?(b=Number(b),(isNaN(b)||0>b)&&e(Error("Bad port number "+b)),a.ja=b):a.ja=k},kd=function(a,b,c){R(a);delete a.z;a.X=c?b?decodeURIComponent(b):"":b;return a},ld=function(a,b,c){R(a);delete a.z;b instanceof nd?(a.r=b,a.r.e=
a,a.r.ia(a.G)):(c||(b=od(b,td)),a.r=new nd(b,a,a.G));return a};Q.prototype.Na=function(a,b){return ld(this,a,b)};var S=function(a,b,c){R(a);delete a.z;a.r.set(b,c);return a},ud=function(a,b){return a.r.get(b)},md=function(a,b,c){R(a);delete a.z;a.ta=c?b?decodeURIComponent(b):"":b};Q.prototype.removeParameter=function(a){R(this);this.r.remove(a);return this};var R=function(a){a.Oc&&e(Error("Tried to modify a read-only Uri"))};Q.prototype.ia=function(a){this.G=a;this.r&&this.r.ia(a);return this};
var vd=function(a){return a instanceof Q?a.w():new Q(a,i)},wd=/^[a-zA-Z0-9\-_.!~*'():\/;?]*$/,od=function(a,b){var c=k;s(a)&&(c=a,wd.test(c)||(c=encodeURI(a)),0<=c.search(b)&&(c=c.replace(b,xd)));return c},xd=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},pd=/[#\/\?@]/g,rd=/[\#\?:]/g,qd=/[\#\?]/g,td=/[\#\?@]/g,sd=/#/g,nd=function(a,b,c){this.H=a||k;this.e=b||k;this.G=!!c},zd=function(a){if(!a.h&&(a.h=new K,a.c=0,a.H))for(var b=a.H.split("&"),c=0;c<b.length;c++){var d=
b[c].indexOf("="),g=k,f=k;0<=d?(g=b[c].substring(0,d),f=b[c].substring(d+1)):g=b[c];g=decodeURIComponent(g.replace(/\+/g," "));g=yd(a,g);a.add(g,f?decodeURIComponent(f.replace(/\+/g," ")):"")}};m=nd.prototype;m.h=k;m.c=k;m.add=function(a,b){zd(this);Ad(this);a=yd(this,a);if(this.P(a)){var c=this.h.get(a);q(c)?c.push(b):this.h.set(a,[c,b])}else this.h.set(a,b);this.c++;return this};
m.remove=function(a){zd(this);a=yd(this,a);if(this.h.P(a)){Ad(this);var b=this.h.get(a);q(b)?this.c-=b.length:this.c--;return this.h.remove(a)}return l};m.P=function(a){zd(this);a=yd(this,a);return this.h.P(a)};m.ma=function(){zd(this);for(var a=this.h.K(),b=this.h.ma(),c=[],d=0;d<b.length;d++){var g=a[d];if(q(g))for(var f=0;f<g.length;f++)c.push(b[d]);else c.push(b[d])}return c};
m.K=function(a){zd(this);if(a)if(a=yd(this,a),this.P(a)){var b=this.h.get(a);if(q(b))return b;a=[];a.push(b)}else a=[];else for(var b=this.h.K(),a=[],c=0;c<b.length;c++){var d=b[c];q(d)?La(a,d):a.push(d)}return a};m.set=function(a,b){zd(this);Ad(this);a=yd(this,a);if(this.P(a)){var c=this.h.get(a);q(c)?this.c-=c.length:this.c--}this.h.set(a,b);this.c++;return this};m.get=function(a,b){zd(this);a=yd(this,a);if(this.P(a)){var c=this.h.get(a);return q(c)?c[0]:c}return b};
m.toString=function(){if(this.H)return this.H;if(!this.h)return"";for(var a=[],b=0,c=this.h.ma(),d=0;d<c.length;d++){var g=c[d],f=ta(g),g=this.h.get(g);if(q(g))for(var h=0;h<g.length;h++)0<b&&a.push("&"),a.push(f),""!==g[h]&&a.push("=",ta(g[h])),b++;else 0<b&&a.push("&"),a.push(f),""!==g&&a.push("=",ta(g)),b++}return this.H=a.join("")};var Ad=function(a){delete a.rb;delete a.H;a.e&&delete a.e.z};
nd.prototype.w=function(){var a=new nd;this.rb&&(a.rb=this.rb);this.H&&(a.H=this.H);this.h&&(a.h=this.h.w());return a};var yd=function(a,b){var c=""+b;a.G&&(c=c.toLowerCase());return c};nd.prototype.ia=function(a){a&&!this.G&&(zd(this),Ad(this),Ec(this.h,function(a,c){var d=c.toLowerCase();c!=d&&(this.remove(c),this.add(d,a))},this));this.G=a};var Bd={cd:"cancel",Dd:"picked",fe:"uploadProgress",ge:"uploadScheduled",he:"uploadStateChange",vd:"loaded",Hd:"received"};var Cd=function(a){a=a&&Nb(a)||window;return a.gadgets&&a.gadgets.rpc},Dd=k,Ed=function(a,b){var c=b&&Nb(b)||window;if(Cd(b))a();else if(Dd)Dd.push(a);else var d=Dd=[a],g=c.setInterval(function(){if(Cd(b)){c.clearInterval(g);for(var a=0;a<d.length;a++)d[a]();Dd=k}},100)};var Fd=function(a){this.m=new K;a&&this.vb(a)},Gd=function(a){var b=typeof a;return"object"==b&&a||"function"==b?"o"+ja(a):b.substr(0,1)+a};m=Fd.prototype;m.add=function(a){this.m.set(Gd(a),a)};m.vb=function(a){for(var a=Dc(a),b=a.length,c=0;c<b;c++)this.add(a[c])};m.Ga=function(a){for(var a=Dc(a),b=a.length,c=0;c<b;c++)this.remove(a[c])};m.remove=function(a){return this.m.remove(Gd(a))};m.contains=function(a){return this.m.P(Gd(a))};m.K=function(){return this.m.K()};m.w=function(){return new Fd(this)};
m.xb=function(){return this.m.xb(l)};var Hd;ba(function(){});var T=function(a,b,c,d,g){N.call(this,this.xc,j,c);this.U=Aa();this.Qb(a);this.vc=d;this.uc=g;var f;p(i)||(p(d)||p(g)?f=j:(c=ud(vd(a),"hostId"),Hd||(Hd=new Fd("DocVerse,bookmarks,calendar,drawing,fusiontables,geo,geowiki,gm,gmail-gadget,gws,hotpot,jointly,kix,knol,mine,orkut,presentations,punch,pwa,sites,templates,trix,trix-copy-sheet,wave,webstore".split(","))),f=!Hd.contains(c)));this.kc=f;b&&(c=ud(vd(a),"hostId"),b=this.f(),c=c?c.replace(/[^a-z0-9]/gi,""):"onepick",c=ra("//www-%s-opensocial.googleusercontent.com/gadgets/js/rpc.js?c=1&container=%s",
c,c),Cd(b)||(b=b||Db(document),d=b.createElement("script"),d.src=c,d.type="text/javascript",b.o.body.appendChild(d)));b=k;c=a.indexOf("/picker?");-1<c?b=a.substring(0,c+8-1):(c=a.length-7,0<=c&&a.indexOf("/picker",c)==c&&(b=a));b&&this.setRelayUrl(b+"/resources/rpc_relay.html")};v(T,N);m=T.prototype;m.xc="picker modal-dialog";m.kb="";m.da=k;m.wa=aa;
m.R=function(a){T.a.R.call(this,a);a=this.kb;this.da=this.T.n("iframe",{id:this.U,name:this.U,"class":"picker-frame",src:Id(this),onload:t(this.lc,this),frameBorder:"0"});this.jb().appendChild(this.da);Pa(this.b(),"picker-dialog");this.da.src=a};var Id=function(a){return B&&D("7")&&0==a.kb.lastIndexOf("https",0)?"https://about:blank":'javascript:""'};T.prototype.lc=function(){var a=Nb(this.f());this.da.src==Id(this)?I(this.t(),a,"keydown",this.Ub):qc(this.t(),a,"keydown",this.Ub)};
T.prototype.Ub=function(a){27==a.keyCode&&(this.q(l),this.wa({action:"cancel"}))};var Jd=function(a,b){var c=a.f();Ed(function(){b(Nb(c).gadgets.rpc)},c)};m=T.prototype;m.Qb=function(a){var b=Aa();Jd(this,t(function(a){a.setAuthToken(this.U,b)},this));this.kb=S(S(new Q(a),"rpctoken",b),"rpcService",this.U).toString();this.da&&(this.da.src=a)};m.Ra=function(a){this.wa=a;Jd(this,t(function(a){a.register(this.U,t(this.Gc,this))},this))};
m.Gc=function(a){var b=a.action;("picked"==b||"cancel"==b)&&this.q(l);this.wa(a)};m.setRelayUrl=function(a){Jd(this,t(function(b){b.setRelayUrl(this.U,a)},this))};m.Gb=function(a){Jd(this,t(function(b){b.call(this.U,"picker",k,a)},this))};
m.mb=function(){var a=Mb(this.f()),b=(a?Hb(a):window)||window,a=this.vc,c=this.uc;a?(a=Math.max(566,Math.min(1051,a)),c||(b=Gb(b),c=0.85*b.height),b=Math.max(350,Math.min(650,c))):(b=Gb(b),a=0.618*b.width,b=a<b.height?Math.round(Math.max(350,Math.min(650,0.85*a))):Math.round(Math.max(350,Math.min(650,0.85*b.height))),a=Math.round(b/0.618));a=new A(a,b);Lc(this.jb(),a);this.Nb()};
m.q=function(a){if(a!=this.qa()&&this.kc){var b=Mb(this.f()),b=(b?Hb(b):window)||window;a?(this.mb(),I(this.t(),b,"resize",this.mb)):qc(this.t(),b,"resize",this.mb)}T.a.q.call(this,a);this.Gb(new pa(a))};var Kd=function(){this.db=i},Md=function(a,b,c){switch(typeof b){case "string":Ld(b,c);break;case "number":c.push(isFinite(b)&&!isNaN(b)?b:"null");break;case "boolean":c.push(b);break;case "undefined":c.push("null");break;case "object":if(b==k){c.push("null");break}if(q(b)){var d=b.length;c.push("[");for(var g="",f=0;f<d;f++)c.push(g),g=b[f],Md(a,a.db?a.db.call(b,""+f,g):g,c),g=",";c.push("]");break}c.push("{");d="";for(f in b)Object.prototype.hasOwnProperty.call(b,f)&&(g=b[f],"function"!=typeof g&&
(c.push(d),Ld(f,c),c.push(":"),Md(a,a.db?a.db.call(b,f,g):g,c),d=","));c.push("}");break;case "function":break;default:e(Error("Unknown type: "+typeof b))}},Nd={'"':'\\"',"\\":"\\\\","/":"\\/","\u0008":"\\b","\u000c":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\x0B":"\\u000b"},Od=/\uffff/.test("\uffff")?/[\\\"\x00-\x1f\x7f-\uffff]/g:/[\\\"\x00-\x1f\x7f-\xff]/g,Ld=function(a,b){b.push('"',a.replace(Od,function(a){if(a in Nd)return Nd[a];var b=a.charCodeAt(0),g="\\u";16>b?g+="000":256>b?g+="00":4096>b&&
(g+="0");return Nd[a]=g+b.toString(16)}),'"')};var Pd={Zc:"asynct",$c:"acnf",ad:"bulkTag",fd:"faceRecoPromo",gd:"fasterFlashPhotoUploads",hd:"fasterPhotoUploads",jd:"fup",md:"formsEnabled",pd:"horizNav",ud:"laap",wd:"mineOnly",xd:"multiselectEnabled",yd:"navHidden",zd:"ndocsuv",Ad:"npuv",Bd:"nub",Ed:"profilePhoto",Fd:"ppc",Gd:"ppe",Kd:"shapeSuggestions",Ld:"simpleUploadEnabled",ie:"urlInputVisible",je:"white"};var Qd={qd:"ifpc",rd:"iframes",sd:"injected",nd:"gadgets"};var Ga=function(a){return a};var U=function(a){this.I=a;this.d={}};m=U.prototype;m.Yb=function(a){this.Fc=a||i;return this};m.Na=function(a){this.d.query=a;return this};m.Tc=function(a){this.d.mimeTypes=a;return this};m.Pc=function(a){this.d.hideBc=a?"true":k;return this};m.Kc=function(a,b){var c=this.d.data||{};c[a]=b;this.d.data=c;return this};m.Vc=function(a){this.d.notifications=a?"true":k;return this};m.Qa=function(a){this.d.parent=a;return this};
var Rd=function(a){var b=Ua(a.d,function(a){return a!==k}),b=Ya(b)?k:b,a=[a.I,a.Fc,b],b=Ha(a);return a=a.slice(0,b+1)};U.prototype.toString=function(){var a=Rd(this);return"("+Fa(a,function(a){var c=[];Md(new Kd,a,c);return c.join("")}).join(",")+")"};U.prototype.pa=function(){return this.I};var Sd=function(){U.call(this,"blog-search")};v(Sd,U);Sd.prototype.na=function(a){this.d.site=a;return this};var V=function(){U.call(this,"image-search")};v(V,U);V.prototype.na=function(a){this.d.site=a;return this};V.prototype.eb=function(a){this.d.type=a;return this};V.prototype.Rc=function(a){"*"==a?delete this.d.license:this.d.license=a;return this};V.prototype.zb=function(a){this.d.imgsz=a;return this};var Td=function(){U.call(this,"maps")};v(Td,U);Td.prototype.Qc=function(a,b){this.d.center=[a,b];return this};Td.prototype.Xc=function(a){this.d.zoom=a;return this};var W=function(){U.call(this,"photos")};v(W,U);W.prototype.Qa=function(a){this.d.parent=a;return this};W.prototype.Uc=function(a){this.d.upload=a?"true":k;return this};W.prototype.Wc=function(a){this.d.uploadpos=a;return this};W.prototype.eb=function(a){this.d.type=a;return this};var Ud=function(){U.call(this,"url")};v(Ud,U);Ud.prototype.na=function(a){this.d.site=a;return this};Ud.prototype.eb=function(a){this.d.type=a;return this};var Vd=function(){U.call(this,"video-search")};v(Vd,U);Vd.prototype.na=function(a){this.d.site=a;return this};var Wd=function(){U.call(this,"web")};v(Wd,U);Wd.prototype.na=function(a){this.d.site=a;return this};var Y=function(a){this.Vb=s(a)?new U(a):a;this.bb=[];this.d={}};Y.prototype.J=function(a){if(s(a))switch(a){case "blog-search":a=new Sd;break;case "book-search":a=new U(a);break;case "image-search":a=new V;break;case "maps":a=new Td;break;case "photos":a=new W;break;case "url":a=new Ud;break;case "video-search":a=new Vd;break;case "web":a=new Wd;break;default:a=new U(a)}this.bb.push(a);return this};Y.prototype.$=function(a){this.bb.push((new U(k)).Yb(a));return this};
Y.prototype.aa=function(a){this.bb.push(a);return this};Y.prototype.cb=function(){return"("+Fa(this.bb,function(a){return a.toString()}).join(",")+")"};var Xd=function(a){var b=Ua(a.d,function(a){return a!==k});return(b=Ya(b)?k:b)?"("+Va(b,function(){return b.toString()}).join(",")+")":""};Y.prototype.toString=function(){if(this.Vb){var a=["{root:",this.Vb.toString(),",items:",this.cb()],b=Xd(this);b&&(a.push(",options:"),a.push(b));a.push("}");return a.join("")}return this.cb()};var Yd=function(a){this.Ec=a||"https://docs.google.com/picker";this.za()};m=Yd.prototype;m.Aa=k;m.$b=k;m.Va=function(){return this.setTitle("")};m.J=function(a){this.Aa.J(a);return this};m.$=function(a){this.Aa.$(a);return this};m.aa=function(a){this.Aa.aa(a);return this};m.za=function(){this.Aa=new Y;return this};m.wb=function(){return this.Aa.cb()};m.Ra=function(a){this.wa=a;return this};m.f=function(){return this.$b};m.dc=function(a){this.$b=new E(a);return this};var Z=function(a){Yd.call(this,a);this.e=new Q(this.Ec);this.xa("gadgets")};v(Z,Yd);m=Z.prototype;m.Tb=j;m.Pb=l;m.xa=function(a){S(this.e,"protocol",a);return this};m.ac=function(){return ud(this.e,"protocol")};m.setRelayUrl=function(a){S(this.e,"relayUrl",a);return this};m.getRelayUrl=function(){return ud(this.e,"relayUrl")};m.Nc=function(a){S(this.e,"gdttd",a);return this};m.ub=function(a){S(this.e,"hl",a);return this};m.$a=function(a){S(this.e,"thumbs",a);return this};
m.zb=function(a,b){this.Ac=a;this.zc=b;return this};m.setTitle=function(a){S(this.e,"title",a);return this};m.yb=function(){return ud(this.e,"title")};m.Za=function(a){S(this.e,"selectButtonLabel",a);return this};m.bc=function(){return ud(this.e,"selectButtonLabel")};m.Ya=function(a){a instanceof U?S(this.e,"view",a.toString()):S(this.e,"view",a);return this};m.ab=function(a){S(this.e,"uploadToAlbumId",a);return this};m.Xa=function(a){S(this.e,"icons",a);return this};
m.Ua=function(a){S(this.e,a,"true");return this};m.Ta=function(a){this.e.removeParameter(a);return this};m.cc=function(a){return"true"==ud(this.e,a)};m.Sa=function(){return S(this.e,"nav",this.wb()).w()};m.Sc=function(a){this.Tb=a;return this};
m.J=function(a){if(!this.Pb){var b;b=s(a)?a:a.pa();var c;if(!(c="recently-picked"==b))a:{switch(b){case "all":case "docs-videos":case "documents":case "folders":case "forms":case "pdfs":case "presentations":case "spreadsheets":c=j;break a}c=l}c&&(this.Pb=j)}return Z.a.J.call(this,a)};m.Wa=function(a){S(this.e,"hostId",a);return this};
m.Lc=function(){this.getRelayUrl()||this.setRelayUrl(kd(ld(vd(window.location.href),i),"/favicon.ico").toString());var a=new T(this.Sa().toString(),this.Tb,this.f(),this.Ac,this.zc);a.Ra(this.wa);return a};var Zd={DoclistBlob:"file",doc:"document",drawing:"drawing",folder:"folder",kix:"document",pres:"presentation",spread:"spreadsheet"};u("picker.api.Action",Bd);u("picker.api.Action.CANCEL","cancel");u("picker.api.Action.PICKED","picked");u("picker.api.Feature",Pd);u("picker.api.Feature.MULTISELECT_ENABLED","multiselectEnabled");u("picker.api.Feature.NAV_HIDDEN","navHidden");u("picker.api.Feature.SIMPLE_UPLOAD_ENABLED","simpleUploadEnabled");u("picker.api.ImageSearchView",V);u("picker.api.ImageSearchView.License",{NONE:"*",Id:"r",dd:"cr",Jd:"rwm",ed:"crwm"});u("picker.api.ImageSearchView.License.COMMERCIAL_REUSE","cr");
u("picker.api.ImageSearchView.License.COMMERCIAL_REUSE_WITH_MODIFICATION","crwm");u("picker.api.ImageSearchView.License.NONE","*");u("picker.api.ImageSearchView.License.REUSE","r");u("picker.api.ImageSearchView.License.REUSE_WITH_MODIFICATION","rwm");u("picker.api.ImageSearchView.Size",{Xd:"qsvga",Zd:"vga",Yd:"svga",be:"xga",$d:"wxga",ae:"wxga2",Rd:"2mp",Td:"4mp",Ud:"6mp",Wd:"8mp",Md:"10mp",Nd:"12mp",Pd:"15mp",Qd:"20mp",Sd:"40mp",Vd:"70mp",Od:"140mp"});
u("picker.api.ImageSearchView.Size.SIZE_10MP","10mp");u("picker.api.ImageSearchView.Size.SIZE_12MP","12mp");u("picker.api.ImageSearchView.Size.SIZE_140MP","140mp");u("picker.api.ImageSearchView.Size.SIZE_15MP","15mp");u("picker.api.ImageSearchView.Size.SIZE_20MP","20mp");u("picker.api.ImageSearchView.Size.SIZE_2MP","2mp");u("picker.api.ImageSearchView.Size.SIZE_40MP","40mp");u("picker.api.ImageSearchView.Size.SIZE_4MP","4mp");u("picker.api.ImageSearchView.Size.SIZE_6MP","6mp");
u("picker.api.ImageSearchView.Size.SIZE_70MP","70mp");u("picker.api.ImageSearchView.Size.SIZE_8MP","8mp");u("picker.api.ImageSearchView.Size.SIZE_QSVGA","qsvga");u("picker.api.ImageSearchView.Size.SIZE_SVGA","svga");u("picker.api.ImageSearchView.Size.SIZE_VGA","vga");u("picker.api.ImageSearchView.Size.SIZE_WXGA","wxga");u("picker.api.ImageSearchView.Size.SIZE_WXGA2","wxga2");u("picker.api.ImageSearchView.Size.SIZE_XGA","xga");V.prototype.setLicense=V.prototype.Rc;V.prototype.setSite=V.prototype.na;
V.prototype.setSize=V.prototype.zb;u("picker.api.MapsView",Td);Td.prototype.setCenter=Td.prototype.Qc;Td.prototype.setZoom=Td.prototype.Xc;u("picker.api.PhotosView",W);u("picker.api.PhotosView.Type",{bd:"camerasync",kd:"featured",od:"getty",Cd:"ofuser",ce:"streamid",ee:"uploaded"});u("picker.api.PhotosView.Type.FEATURED","featured");u("picker.api.PhotosView.Type.GETTY","getty");u("picker.api.PhotosView.Type.UPLOADED","uploaded");W.prototype.setType=W.prototype.eb;u("picker.api.VideoSearchView",Vd);
u("picker.api.VideoSearchView.YOUTUBE","youtube.com");Vd.prototype.setSite=Vd.prototype.na;u("picker.api.View",U);U.prototype.getId=U.prototype.pa;U.prototype.setQuery=U.prototype.Na;u("picker.api.ViewGroup",Y);Y.prototype.addLabel=Y.prototype.$;Y.prototype.addView=Y.prototype.J;Y.prototype.addViewGroup=Y.prototype.aa;u("picker.api.ViewId.DOCS","all");u("picker.api.ViewId.DOCS_VIDEOS","docs-videos");u("picker.api.ViewId.DOCUMENTS","documents");u("picker.api.ViewId.FOLDERS","folders");
u("picker.api.ViewId.FORMS","forms");u("picker.api.ViewId.IMAGE_SEARCH","image-search");u("picker.api.ViewId.MAPS","maps");u("picker.api.ViewId.PDFS","pdfs");u("picker.api.ViewId.PHOTOS","photos");u("picker.api.ViewId.PHOTO_UPLOAD","photo-upload");u("picker.api.ViewId.PRESENTATIONS","presentations");u("picker.api.ViewId.RECENTLY_PICKED","recently-picked");u("picker.api.ViewId.SPREADSHEETS","spreadsheets");u("picker.api.ViewId.VIDEO_SEARCH","video-search");u("picker.api.ViewId.WEBCAM","webcam");
u("picker.api.ViewId.YOUTUBE","youtube");u("picker.api.Picker",T);T.prototype.isVisible=N.prototype.qa;T.prototype.setCallback=T.prototype.Ra;T.prototype.setRelayUrl=T.prototype.setRelayUrl;T.prototype.setVisible=T.prototype.q;u("picker.api.PickerBuilder",Z);Z.prototype.addView=Z.prototype.J;Z.prototype.addViewGroup=Z.prototype.aa;Z.prototype.build=Z.prototype.Lc;Z.prototype.disableFeature=Z.prototype.Ta;Z.prototype.enableFeature=Z.prototype.Ua;Z.prototype.getRelayUrl=Z.prototype.getRelayUrl;Z.prototype.getTitle=Z.prototype.yb;
Z.prototype.grantDocsTokenToDomain=Z.prototype.Nc;Z.prototype.hideTitleBar=Z.prototype.Va;Z.prototype.isFeatureEnabled=Z.prototype.cc;Z.prototype.setCallback=Z.prototype.Ra;Z.prototype.setDocument=Z.prototype.dc;Z.prototype.setInitialView=Z.prototype.Ya;Z.prototype.setLocale=Z.prototype.ub;Z.prototype.setRelayUrl=Z.prototype.setRelayUrl;Z.prototype.setSize=Z.prototype.zb;Z.prototype.setTitle=Z.prototype.setTitle;Z.prototype.setUploadToAlbumId=Z.prototype.ab;Z.prototype.toUri=Z.prototype.Sa;
u("picker.api.ResourceId.generate",function(a){return!a?k:["application/pdf"==a.mimeType?"pdf":Zd[a.serviceId]||"file",":",a.id].join("")});var $d=function(a){oa.call(this,"cancel-upload");this.id=a};v($d,oa);var ae=function(a){oa.call(this,"set-view");this.view=Rd(a)};v(ae,oa);var $=function(a){Z.call(this,a)};v($,Z);m=$.prototype;m.toString=function(){return this.Sa().toString()};m.xa=function(a){return $.a.xa.call(this,a)};m.setRelayUrl=function(a){return $.a.setRelayUrl.call(this,a)};m.setTitle=function(a){return $.a.setTitle.call(this,a)};m.$a=function(a){return $.a.$a.call(this,a)};m.Za=function(a){return $.a.Za.call(this,a)};m.Wa=function(a){return $.a.Wa.call(this,a)};m.Ya=function(a){return $.a.Ya.call(this,a)};m.ab=function(a){return $.a.ab.call(this,a)};
m.Xa=function(a){return $.a.Xa.call(this,a)};m.ub=function(a){return $.a.ub.call(this,a)};m.Ua=function(a){return $.a.Ua.call(this,a)};m.Ta=function(a){return $.a.Ta.call(this,a)};m.J=function(a){return $.a.J.call(this,a)};m.$=function(a){return $.a.$.call(this,a)};m.aa=function(a){return $.a.aa.call(this,a)};m.za=function(){return $.a.za.call(this)};m.Va=function(){return $.a.Va.call(this)};var be=function(a){U.call(this,"upload");this.d.query=a};v(be,U);be.prototype.Na=function(){e(Error("Query cannot be set for upload views."))};u("picker.api.Action.LOADED","loaded");u("picker.api.Action.UPLOAD_PROGRESS","uploadProgress");u("picker.api.Action.UPLOAD_SCHEDULED","uploadScheduled");u("picker.api.Action.UPLOAD_STATE_CHANGE","uploadStateChange");u("picker.api.Feature.FORMS_ENABLED","formsEnabled");u("picker.api.Feature.PROFILE_PHOTO","profilePhoto");u("picker.api.Feature.URL_INPUT_VISIBLE","urlInputVisible");u("picker.api.Feature.WHITE_STYLE","white");u("picker.api.ImageSearchView.Type",{de:"life"});
u("picker.api.ImageSearchView.Type.TIME_LIFE","life");V.prototype.setType=V.prototype.eb;u("picker.api.PhotosView.UploadPosition",{ld:"first",td:"last"});u("picker.api.PhotosView.UploadPosition.FIRST","first");u("picker.api.PhotosView.UploadPosition.LAST","last");W.prototype.setParent=W.prototype.Qa;W.prototype.setUploadEnabled=W.prototype.Uc;W.prototype.setUploadPosition=W.prototype.Wc;u("picker.api.PickerAction",Bd);u("picker.api.PickerAction.CANCEL","cancel");
u("picker.api.PickerAction.LOADED","loaded");u("picker.api.PickerAction.PICKED","picked");u("picker.api.PickerAction.UPLOAD_PROGRESS","uploadProgress");u("picker.api.PickerAction.UPLOAD_SCHEDULED","uploadScheduled");u("picker.api.PickerAction.UPLOAD_STATE_CHANGE","uploadStateChange");u("picker.api.PickerUriBuilder",$);$.prototype.addLabel=$.prototype.$;$.prototype.addView=$.prototype.J;$.prototype.addViewGroup=$.prototype.aa;$.prototype.disableFeature=$.prototype.Ta;$.prototype.enableFeature=$.prototype.Ua;
$.prototype.getNav=$.prototype.wb;$.prototype.getProtocol=$.prototype.ac;$.prototype.getRelayUrl=$.prototype.getRelayUrl;$.prototype.getSelectButtonLabel=$.prototype.bc;$.prototype.getTitle=$.prototype.yb;$.prototype.hideTitleBar=$.prototype.Va;$.prototype.isFeatureEnabled=$.prototype.cc;$.prototype.resetNav=$.prototype.za;$.prototype.setHostId=$.prototype.Wa;$.prototype.setIconsEnabled=$.prototype.Xa;$.prototype.setInitialView=$.prototype.Ya;$.prototype.setProtocol=$.prototype.xa;
$.prototype.setRelayUrl=$.prototype.setRelayUrl;$.prototype.setSelectButtonLabel=$.prototype.Za;$.prototype.setThumbs=$.prototype.$a;$.prototype.setTitle=$.prototype.setTitle;$.prototype.setUploadToAlbumId=$.prototype.ab;$.prototype.toString=$.prototype.toString;$.prototype.toUri=$.prototype.Sa;u("picker.api.PickerUriBuilderFeature",Pd);u("picker.api.PickerUriBuilderFeature.FORMS_ENABLED","formsEnabled");u("picker.api.PickerUriBuilderFeature.MINE_ONLY","mineOnly");
u("picker.api.PickerUriBuilderFeature.MULTISELECT_ENABLED","multiselectEnabled");u("picker.api.PickerUriBuilderFeature.NAV_HIDDEN","navHidden");u("picker.api.PickerUriBuilderFeature.PROFILE_PHOTO","profilePhoto");u("picker.api.PickerUriBuilderFeature.SIMPLE_UPLOAD_ENABLED","simpleUploadEnabled");u("picker.api.PickerUriBuilderFeature.URL_INPUT_VISIBLE","urlInputVisible");u("picker.api.PickerUriBuilderProtocol",Qd);u("picker.api.PickerUriBuilderProtocol.GADGETS","gadgets");
u("picker.api.PickerUriBuilderProtocol.IFPC","ifpc");u("picker.api.Protocol",Qd);u("picker.api.Protocol.GADGETS","gadgets");u("picker.api.Protocol.IFPC","ifpc");u("picker.api.UploadView",be);u("picker.api.VideoSearchView.GOOGLE_VIDEO","video.google.com");U.prototype.addUploadMetadata=U.prototype.Kc;U.prototype.setBreadcrumbsBarHidden=U.prototype.Pc;U.prototype.setLabel=U.prototype.Yb;U.prototype.setMimeTypes=U.prototype.Tc;U.prototype.setUploadNotificationsEnabled=U.prototype.Vc;
Y.prototype.getItemsString=Y.prototype.cb;u("picker.api.ViewId.UPLOAD","upload");u("picker.api.UploadConfigurationId.PHOTOS","photos");u("picker.api.commands.CancelUploadCommand",$d);u("picker.api.commands.SetViewCommand",ae);T.prototype.sendCommand=T.prototype.Gb;T.prototype.setUrl=T.prototype.Qb;Z.prototype.addLabel=Z.prototype.$;Z.prototype.getNav=Z.prototype.wb;Z.prototype.getProtocol=Z.prototype.ac;Z.prototype.getSelectButtonLabel=Z.prototype.bc;Z.prototype.resetNav=Z.prototype.za;Z.prototype.setHostId=Z.prototype.Wa;Z.prototype.setIconsEnabled=Z.prototype.Xa;Z.prototype.setLoadGadgetsLibrary=Z.prototype.Sc;Z.prototype.setProtocol=Z.prototype.xa;Z.prototype.setSelectButtonLabel=Z.prototype.Za;
Z.prototype.setThumbs=Z.prototype.$a;

