Uploaded by Breidy C. Encarnacion

f

advertisement
(function(){var GBS_HOST = "https://books.google.com/";(function(){var f;function aa(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}}function ba(a){var b="undefined"!=typeof Symbol&&Symbol.iterator&&a[Symbol.iterator];return b?b.call(a):{next:aa(a)}}var ca="function"==typeof Object.create?Object.create:function(a){function b(){}b.prototype=a;return new b},da;
if("function"==typeof Object.setPrototypeOf)da=Object.setPrototypeOf;else{var ea;a:{var ha={a:!0},ia={};try{ia.__proto__=ha;ea=ia.a;break a}catch(a){}ea=!1}da=ea?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null}var ka=da;
function la(a,b){a.prototype=ca(b.prototype);a.prototype.constructor=a;if(ka)ka(a,b);else for(var c in b)if("prototype"!=c)if(Object.defineProperties){var d=Object.getOwnPropertyDescriptor(b,c);d&&Object.defineProperty(a,c,d)}else a[c]=b[c];a.ma=b.prototype}
var ma="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){a!=Array.prototype&&a!=Object.prototype&&(a[b]=c.value)},na="undefined"!=typeof window&&window===this?this:"undefined"!=typeof global&&null!=global?global:this;function oa(a,b){if(b){for(var c=na,d=a.split("."),e=0;e<d.length-1;e++){var g=d[e];g in c||(c[g]={});c=c[g]}d=d[d.length-1];e=c[d];g=b(e);g!=e&&null!=g&&ma(c,d,{configurable:!0,writable:!0,value:g})}}
function pa(a,b,c){if(null==a)throw new TypeError("The 'this' value for String.prototype."+c+" must not be null or undefined");if(b instanceof RegExp)throw new TypeError("First argument to String.prototype."+c+" must not be a regular expression");return a+""}oa("String.prototype.endsWith",function(a){return a?a:function(b,c){var d=pa(this,b,"endsWith");void 0===c&&(c=d.length);for(var e=Math.max(0,Math.min(c|0,d.length)),g=b.length;0<g&&0<e;)if(d[--e]!=b[--g])return!1;return 0>=g}});
oa("String.prototype.startsWith",function(a){return a?a:function(b,c){for(var d=pa(this,b,"startsWith"),e=d.length,g=b.length,h=Math.max(0,Math.min(c|0,d.length)),k=0;k<g&&h<e;)if(d[h++]!=b[k++])return!1;return k>=g}});function qa(){qa=function(){};na.Symbol||(na.Symbol=ra)}function sa(a,b){this.b=a;ma(this,"description",{configurable:!0,writable:!0,value:b})}sa.prototype.toString=function(){return this.b};
var ra=function(){function a(c){if(this instanceof a)throw new TypeError("Symbol is not a constructor");return new sa("jscomp_symbol_"+(c||"")+"_"+b++,c)}var b=0;return a}();function ta(){qa();var a=na.Symbol.iterator;a||(a=na.Symbol.iterator=na.Symbol("Symbol.iterator"));"function"!=typeof Array.prototype[a]&&ma(Array.prototype,a,{configurable:!0,writable:!0,value:function(){return ua(aa(this))}});ta=function(){}}
function ua(a){ta();a={next:a};a[na.Symbol.iterator]=function(){return this};return a}oa("Array.from",function(a){return a?a:function(b,c,d){c=null!=c?c:function(k){return k};var e=[],g="undefined"!=typeof Symbol&&Symbol.iterator&&b[Symbol.iterator];if("function"==typeof g){b=g.call(b);for(var h=0;!(g=b.next()).done;)e.push(c.call(d,g.value,h++))}else for(g=b.length,h=0;h<g;h++)e.push(c.call(d,b[h],h));return e}});function va(a,b){return Object.prototype.hasOwnProperty.call(a,b)}
oa("WeakMap",function(a){function b(l){this.Oa=(k+=Math.random()+1).toString();if(l){l=ba(l);for(var m;!(m=l.next()).done;)m=m.value,this.set(m[0],m[1])}}function c(){}function d(l){var m=typeof l;return"object"===m&&null!==l||"function"===m}function e(l){if(!va(l,h)){var m=new c;ma(l,h,{value:m})}}function g(l){var m=Object[l];m&&(Object[l]=function(q){if(q instanceof c)return q;e(q);return m(q)})}if(function(){if(!a||!Object.seal)return!1;try{var l=Object.seal({}),m=Object.seal({}),q=new a([[l,
2],[m,3]]);if(2!=q.get(l)||3!=q.get(m))return!1;q["delete"](l);q.set(m,4);return!q.has(l)&&4==q.get(m)}catch(B){return!1}}())return a;var h="$jscomp_hidden_"+Math.random();g("freeze");g("preventExtensions");g("seal");var k=0;b.prototype.set=function(l,m){if(!d(l))throw Error("Invalid WeakMap key");e(l);if(!va(l,h))throw Error("WeakMap key fail: "+l);l[h][this.Oa]=m;return this};b.prototype.get=function(l){return d(l)&&va(l,h)?l[h][this.Oa]:void 0};b.prototype.has=function(l){return d(l)&&va(l,h)&&
va(l[h],this.Oa)};b.prototype["delete"]=function(l){return d(l)&&va(l,h)&&va(l[h],this.Oa)?delete l[h][this.Oa]:!1};return b});
oa("Map",function(a){function b(){var k={};return k.Zc=k.next=k.head=k}function c(k,l){var m=k.b;return ua(function(){if(m){for(;m.head!=k.b;)m=m.Zc;for(;m.next!=m.head;)return m=m.next,{done:!1,value:l(m)};m=null}return{done:!0,value:void 0}})}function d(k,l){var m=l&&typeof l;"object"==m||"function"==m?g.has(l)?m=g.get(l):(m=""+ ++h,g.set(l,m)):m="p_"+l;var q=k.g[m];if(q&&va(k.g,m))for(var B=0;B<q.length;B++){var A=q[B];if(l!==l&&A.key!==A.key||l===A.key)return{id:m,list:q,index:B,Cb:A}}return{id:m,
list:q,index:-1,Cb:void 0}}function e(k){this.g={};this.b=b();this.size=0;if(k){k=ba(k);for(var l;!(l=k.next()).done;)l=l.value,this.set(l[0],l[1])}}if(function(){if(!a||"function"!=typeof a||!a.prototype.entries||"function"!=typeof Object.seal)return!1;try{var k=Object.seal({x:4}),l=new a(ba([[k,"s"]]));if("s"!=l.get(k)||1!=l.size||l.get({x:4})||l.set({x:4},"t")!=l||2!=l.size)return!1;var m=l.entries(),q=m.next();if(q.done||q.value[0]!=k||"s"!=q.value[1])return!1;q=m.next();return q.done||4!=q.value[0].x||
"t"!=q.value[1]||!m.next().done?!1:!0}catch(B){return!1}}())return a;ta();var g=new WeakMap;e.prototype.set=function(k,l){k=0===k?0:k;var m=d(this,k);m.list||(m.list=this.g[m.id]=[]);m.Cb?m.Cb.value=l:(m.Cb={next:this.b,Zc:this.b.Zc,head:this.b,key:k,value:l},m.list.push(m.Cb),this.b.Zc.next=m.Cb,this.b.Zc=m.Cb,this.size++);return this};e.prototype["delete"]=function(k){k=d(this,k);return k.Cb&&k.list?(k.list.splice(k.index,1),k.list.length||delete this.g[k.id],k.Cb.Zc.next=k.Cb.next,k.Cb.next.Zc=
k.Cb.Zc,k.Cb.head=null,this.size--,!0):!1};e.prototype.clear=function(){this.g={};this.b=this.b.Zc=b();this.size=0};e.prototype.has=function(k){return!!d(this,k).Cb};e.prototype.get=function(k){return(k=d(this,k).Cb)&&k.value};e.prototype.entries=function(){return c(this,function(k){return[k.key,k.value]})};e.prototype.keys=function(){return c(this,function(k){return k.key})};e.prototype.values=function(){return c(this,function(k){return k.value})};e.prototype.forEach=function(k,l){for(var m=this.entries(),
q;!(q=m.next()).done;)q=q.value,k.call(l,q[1],q[0],this)};e.prototype[Symbol.iterator]=e.prototype.entries;var h=0;return e});
oa("Set",function(a){function b(c){this.b=new Map;if(c){c=ba(c);for(var d;!(d=c.next()).done;)this.add(d.value)}this.size=this.b.size}if(function(){if(!a||"function"!=typeof a||!a.prototype.entries||"function"!=typeof Object.seal)return!1;try{var c=Object.seal({x:4}),d=new a(ba([c]));if(!d.has(c)||1!=d.size||d.add(c)!=d||1!=d.size||d.add({x:4})!=d||2!=d.size)return!1;var e=d.entries(),g=e.next();if(g.done||g.value[0]!=c||g.value[1]!=c)return!1;g=e.next();return g.done||g.value[0]==c||4!=g.value[0].x||
g.value[1]!=g.value[0]?!1:e.next().done}catch(h){return!1}}())return a;ta();b.prototype.add=function(c){c=0===c?0:c;this.b.set(c,c);this.size=this.b.size;return this};b.prototype["delete"]=function(c){c=this.b["delete"](c);this.size=this.b.size;return c};b.prototype.clear=function(){this.b.clear();this.size=0};b.prototype.has=function(c){return this.b.has(c)};b.prototype.entries=function(){return this.b.entries()};b.prototype.values=function(){return this.b.values()};b.prototype.keys=b.prototype.values;
b.prototype[Symbol.iterator]=b.prototype.values;b.prototype.forEach=function(c,d){var e=this;this.b.forEach(function(g){return c.call(d,g,g,e)})};return b});var wa=wa||{},n=this||self;function p(a){return void 0!==a}function r(a){return"string"==typeof a}function xa(a){return"number"==typeof a}var ya=/^[\w+/_-]+[=]{0,2}$/,za=null;function Aa(a,b){for(var c=a.split("."),d=b||n,e=0;e<c.length;e++)if(d=d[c[e]],null==d)return null;return d}function t(){}
function Ba(a){a.Rg=void 0;a.Ta=function(){return a.Rg?a.Rg:a.Rg=new a}}
function Ca(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}function Da(a){return"array"==Ca(a)}function Ea(a){var b=Ca(a);return"array"==b||"object"==b&&"number"==typeof a.length}function Fa(a){return"function"==Ca(a)}function Ga(a){var b=typeof a;return"object"==b&&null!=a||"function"==b}function Ha(a){return a[Ia]||(a[Ia]=++Ja)}var Ia="closure_uid_"+(1E9*Math.random()>>>0),Ja=0;function Ka(a,b,c){return a.call.apply(a.bind,arguments)}
function La(a,b,c){if(!a)throw Error();if(2<arguments.length){var d=Array.prototype.slice.call(arguments,2);return function(){var e=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(e,d);return a.apply(b,e)}}return function(){return a.apply(b,arguments)}}function u(a,b,c){Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?u=Ka:u=La;return u.apply(null,arguments)}
function v(a,b){var c=Array.prototype.slice.call(arguments,1);return function(){var d=c.slice();d.push.apply(d,arguments);return a.apply(this,d)}}var Ma=Date.now||function(){return+new Date};function Na(a,b){var c=a.split("."),d=n;c[0]in d||"undefined"==typeof d.execScript||d.execScript("var "+c[0]);for(var e;c.length&&(e=c.shift());)!c.length&&p(b)?d[e]=b:d[e]&&d[e]!==Object.prototype[e]?d=d[e]:d=d[e]={}}
function w(a,b){function c(){}c.prototype=b.prototype;a.ma=b.prototype;a.prototype=new c;a.prototype.constructor=a};var Oa;function Pa(a,b,c){for(var d in a)b.call(c,a[d],d,a)}function Qa(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1}function Ra(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b}function Sa(a,b){for(var c in a)if(a[c]==b)return!0;return!1}function Ta(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return c}function Ua(){var a=Va,b;for(b in a)return!1;return!0}function Wa(a,b,c){if(null!==a&&b in a)throw Error('The object already contains the key "'+b+'"');a[b]=c}
function Xa(a){var b={},c;for(c in a)b[c]=a[c];return b}var Ya="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");function Za(a,b){for(var c,d,e=1;e<arguments.length;e++){d=arguments[e];for(c in d)a[c]=d[c];for(var g=0;g<Ya.length;g++)c=Ya[g],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}}
function ab(a){var b=arguments.length;if(1==b&&Da(arguments[0]))return ab.apply(null,arguments[0]);if(b%2)throw Error("Uneven number of arguments");for(var c={},d=0;d<b;d+=2)c[arguments[d]]=arguments[d+1];return c}function bb(a){var b=arguments.length;if(1==b&&Da(arguments[0]))return bb.apply(null,arguments[0]);for(var c={},d=0;d<b;d++)c[arguments[d]]=!0;return c};function cb(a){if(Error.captureStackTrace)Error.captureStackTrace(this,cb);else{var b=Error().stack;b&&(this.stack=b)}a&&(this.message=String(a))}w(cb,Error);cb.prototype.name="CustomError";var db;function eb(a,b){for(var c=a.split("%s"),d="",e=c.length-1,g=0;g<e;g++)d+=c[g]+(g<b.length?b[g]:"%s");cb.call(this,d+c[e])}w(eb,cb);eb.prototype.name="AssertionError";function fb(a){return a[a.length-1]}var gb=Array.prototype.indexOf?function(a,b){return Array.prototype.indexOf.call(a,b,void 0)}:function(a,b){if(r(a))return r(b)&&1==b.length?a.indexOf(b,0):-1;for(var c=0;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1},x=Array.prototype.forEach?function(a,b,c){Array.prototype.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=r(a)?a.split(""):a,g=0;g<d;g++)g in e&&b.call(c,e[g],g,a)};
function hb(a,b){for(var c=r(a)?a.split(""):a,d=a.length-1;0<=d;--d)d in c&&b.call(void 0,c[d],d,a)}
var ib=Array.prototype.filter?function(a,b,c){return Array.prototype.filter.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=[],g=0,h=r(a)?a.split(""):a,k=0;k<d;k++)if(k in h){var l=h[k];b.call(c,l,k,a)&&(e[g++]=l)}return e},y=Array.prototype.map?function(a,b,c){return Array.prototype.map.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=Array(d),g=r(a)?a.split(""):a,h=0;h<d;h++)h in g&&(e[h]=b.call(c,g[h],h,a));return e},jb=Array.prototype.reduce?function(a,b,c){return Array.prototype.reduce.call(a,
b,c)}:function(a,b,c){var d=c;x(a,function(e,g){d=b.call(void 0,d,e,g,a)});return d},kb=Array.prototype.some?function(a,b){return Array.prototype.some.call(a,b,void 0)}:function(a,b){for(var c=a.length,d=r(a)?a.split(""):a,e=0;e<c;e++)if(e in d&&b.call(void 0,d[e],e,a))return!0;return!1},lb=Array.prototype.every?function(a,b){return Array.prototype.every.call(a,b,void 0)}:function(a,b){for(var c=a.length,d=r(a)?a.split(""):a,e=0;e<c;e++)if(e in d&&!b.call(void 0,d[e],e,a))return!1;return!0};
function mb(a,b){var c=nb(a,b);return 0>c?null:r(a)?a.charAt(c):a[c]}function nb(a,b){for(var c=a.length,d=r(a)?a.split(""):a,e=0;e<c;e++)if(e in d&&b.call(void 0,d[e],e,a))return e;return-1}function ob(a,b){return 0<=gb(a,b)}function pb(a,b){ob(a,b)||a.push(b)}function qb(a,b){var c=gb(a,b),d;(d=0<=c)&&rb(a,c);return d}function rb(a,b){Array.prototype.splice.call(a,b,1)}function sb(a,b){var c=nb(a,b);0<=c&&rb(a,c)}function tb(a){return Array.prototype.concat.apply([],arguments)}
function ub(a){var b=a.length;if(0<b){for(var c=Array(b),d=0;d<b;d++)c[d]=a[d];return c}return[]}function vb(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(Ea(d)){var e=a.length||0,g=d.length||0;a.length=e+g;for(var h=0;h<g;h++)a[e+h]=d[h]}else a.push(d)}}function wb(a,b,c,d){Array.prototype.splice.apply(a,yb(arguments,1))}function yb(a,b,c){return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)}function zb(a,b){a.sort(b||Ab)}
function Bb(a,b){var c=Ab;zb(a,function(d,e){return c(b(d),b(e))})}function Ab(a,b){return a>b?1:a<b?-1:0}function Cb(a,b){for(var c={},d=0;d<a.length;d++){var e=a[d],g=b.call(void 0,e,d,a);p(g)&&(c[g]||(c[g]=[])).push(e)}return c}function Db(a){for(var b=[],c=0;c<arguments.length;c++){var d=arguments[c];if(Da(d))for(var e=0;e<d.length;e+=8192)for(var g=Db.apply(null,yb(d,e,e+8192)),h=0;h<g.length;h++)b.push(g[h]);else b.push(d)}return b}
function Eb(a){if(a.length){var b=1%a.length;0<b?Array.prototype.unshift.apply(a,a.splice(-b,b)):0>b&&Array.prototype.push.apply(a,a.splice(0,-b))}return a}function Fb(a,b){return tb.apply([],y(a,b,void 0))};function Gb(a){return/^[\s\xa0]*$/.test(a)}var Hb=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]};
function Ib(a,b){if(b)a=a.replace(Jb,"&").replace(Kb,"<").replace(Lb,">").replace(Mb,""").replace(Nb,"'").replace(Ob,"�");else{if(!Pb.test(a))return a;-1!=a.indexOf("&")&&(a=a.replace(Jb,"&"));-1!=a.indexOf("<")&&(a=a.replace(Kb,"<"));-1!=a.indexOf(">")&&(a=a.replace(Lb,">"));-1!=a.indexOf('"')&&(a=a.replace(Mb,"""));-1!=a.indexOf("'")&&(a=a.replace(Nb,"'"));-1!=a.indexOf("\x00")&&(a=a.replace(Ob,"�"))}return a}
var Jb=/&/g,Kb=/</g,Lb=/>/g,Mb=/"/g,Nb=/'/g,Ob=/\x00/g,Pb=/[\x00&<>"']/;
function Qb(a,b){for(var c=0,d=Hb(String(a)).split("."),e=Hb(String(b)).split("."),g=Math.max(d.length,e.length),h=0;0==c&&h<g;h++){var k=d[h]||"",l=e[h]||"";do{k=/(\d*)(\D*)(.*)/.exec(k)||["","","",""];l=/(\d*)(\D*)(.*)/.exec(l)||["","","",""];if(0==k[0].length&&0==l[0].length)break;c=Rb(0==k[1].length?0:parseInt(k[1],10),0==l[1].length?0:parseInt(l[1],10))||Rb(0==k[2].length,0==l[2].length)||Rb(k[2],l[2]);k=k[3];l=l[3]}while(0==c)}return c}function Rb(a,b){return a<b?-1:a>b?1:0};var Sb;a:{var Tb=n.navigator;if(Tb){var Ub=Tb.userAgent;if(Ub){Sb=Ub;break a}}Sb=""}function z(a){return-1!=Sb.indexOf(a)};function Vb(){return z("Firefox")||z("FxiOS")}function Wb(){return(z("Chrome")||z("CriOS"))&&!z("Edge")};function Xb(){return!0}function Yb(){return null}function Zb(a,b){function c(){}c.prototype=a.prototype;var d=new c;a.apply(d,Array.prototype.slice.call(arguments,1));return d};var $b={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0};function ac(a,b){this.b=a===bc&&b||"";this.g=cc}ac.prototype.yc=!0;ac.prototype.Sb=function(){return this.b};ac.prototype.toString=function(){return"Const{"+this.b+"}"};function dc(a){return a instanceof ac&&a.constructor===ac&&a.g===cc?a.b:"type_error:Const"}function ec(a){return new ac(bc,a)}var cc={},bc={},fc=ec("");var gc=RegExp("[A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0900-\u1fff\u200e\u2c00-\ud801\ud804-\ud839\ud83c-\udbff\uf900-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]"),hc=RegExp("^[^A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0900-\u1fff\u200e\u2c00-\ud801\ud804-\ud839\ud83c-\udbff\uf900-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]*[\u0591-\u06ef\u06fa-\u08ff\u200f\ud802-\ud803\ud83a-\ud83b\ufb1d-\ufdff\ufe70-\ufefc]"),ic=/^http:\/\/.*/,jc=/\s+/,kc=/[\d\u06f0-\u06f9]/;function lc(){this.g="";this.i=mc}lc.prototype.yc=!0;lc.prototype.Sb=function(){return this.g.toString()};lc.prototype.Pg=!0;lc.prototype.b=function(){return 1};function nc(a){if(a instanceof lc&&a.constructor===lc&&a.i===mc)return a.g;Ca(a);return"type_error:TrustedResourceUrl"}var oc=/^([^?#]*)(\?[^#]*)?(#[\s\S]*)?/,mc={};function pc(a){var b=new lc;b.g=a;return b}
function qc(a,b,c){if(null==c)return b;if(r(c))return c?a+encodeURIComponent(c):"";for(var d in c){var e=c[d];e=Da(e)?e:[e];for(var g=0;g<e.length;g++){var h=e[g];null!=h&&(b||(b=a),b+=(b.length>a.length?"&":"")+encodeURIComponent(d)+"="+encodeURIComponent(String(h)))}}return b};function rc(){this.g="";this.i=sc}rc.prototype.yc=!0;rc.prototype.Sb=function(){return this.g.toString()};rc.prototype.Pg=!0;rc.prototype.b=function(){return 1};function tc(a){if(a instanceof rc&&a.constructor===rc&&a.i===sc)return a.g;Ca(a);return"type_error:SafeUrl"}
var uc=/^(?:audio\/(?:3gpp2|3gpp|aac|L16|midi|mp3|mp4|mpeg|oga|ogg|opus|x-m4a|x-wav|wav|webm)|image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp|x-icon)|text\/csv|video\/(?:mpeg|mp4|ogg|webm|quicktime))(?:;\w+=(?:\w+|"[\w;=]+"))*$/i,vc=/^data:([^,]*);base64,[a-z0-9+\/]+=*$/i,wc=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i;function xc(a){if(a instanceof rc)return a;a="object"==typeof a&&a.yc?a.Sb():String(a);wc.test(a)||(a="about:invalid#zClosurez");return yc(a)}
function zc(a,b){if(a instanceof rc)return a;a="object"==typeof a&&a.yc?a.Sb():String(a);if(b&&/^data:/i.test(a)){var c=a.replace(/(%0A|%0D)/g,"");var d=c.match(vc);d=d&&uc.test(d[1]);c=yc(d?c:"about:invalid#zClosurez");if(c.Sb()==a)return c}wc.test(a)||(a="about:invalid#zClosurez");return yc(a)}var sc={};function yc(a){var b=new rc;b.g=a;return b}yc("about:blank");function Ac(){this.b="";this.g=Bc}Ac.prototype.yc=!0;var Bc={};Ac.prototype.Sb=function(){return this.b};function Cc(a){if(a instanceof Ac&&a.constructor===Ac&&a.g===Bc)return a.b;Ca(a);return"type_error:SafeStyle"}function Dc(a){var b=new Ac;b.b=a;return b}var Ec=Dc("");function Fc(a){var b="",c;for(c in a){if(!/^[-_a-zA-Z0-9]+$/.test(c))throw Error("Name allows only [-_a-zA-Z0-9], got: "+c);var d=a[c];null!=d&&(d=Da(d)?y(d,Gc).join(" "):Gc(d),b+=c+":"+d+";")}return b?Dc(b):Ec}
function Gc(a){if(a instanceof rc)return'url("'+tc(a).toString().replace(/</g,"%3c").replace(/[\\"]/g,"\\$&")+'")';if(a instanceof ac)a=dc(a);else{a=String(a);var b=a.replace(Hc,"$1").replace(Hc,"$1").replace(Ic,"url");if(Jc.test(b)){if(b=!Kc.test(a)){for(var c=b=!0,d=0;d<a.length;d++){var e=a.charAt(d);"'"==e&&c?b=!b:'"'==e&&b&&(c=!c)}b=b&&c&&Lc(a)}a=b?Mc(a):"zClosurez"}else a="zClosurez"}if(/[{;}]/.test(a))throw new eb("Value does not allow [{;}], got: %s.",[a]);return a}
function Lc(a){for(var b=!0,c=/^[-_a-zA-Z0-9]$/,d=0;d<a.length;d++){var e=a.charAt(d);if("]"==e){if(b)return!1;b=!0}else if("["==e){if(!b)return!1;b=!1}else if(!b&&!c.test(e))return!1}return b}var Jc=/^[-,."'%_!# a-zA-Z0-9\[\]]+$/,Ic=RegExp("\\b(url\\([ \t\n]*)('[ -&(-\\[\\]-~]*'|\"[ !#-\\[\\]-~]*\"|[!#-&*-\\[\\]-~]*)([ \t\n]*\\))","g"),Hc=RegExp("\\b(hsl|hsla|rgb|rgba|matrix|calc|minmax|fit-content|repeat|(rotate|scale|translate)(X|Y|Z|3d)?)\\([-+*/0-9a-z.%\\[\\], ]+\\)","g"),Kc=/\/\*/;
function Mc(a){return a.replace(Ic,function(b,c,d,e){var g="";d=d.replace(/^(['"])(.*)\1$/,function(h,k,l){g=k;return l});b=xc(d).Sb();return c+g+b+g+e})};function Nc(){this.b="";this.g=Oc}Nc.prototype.yc=!0;var Oc={};
function Pc(a,b){if(-1!=a.indexOf("<"))throw Error("Selector does not allow '<', got: "+a);var c=a.replace(/('|")((?!\1)[^\r\n\f\\]|\\[\s\S])*\1/g,"");if(!/^[-_a-zA-Z0-9#.:* ,>+~[\]()=^$|]+$/.test(c))throw Error("Selector allows only [-_a-zA-Z0-9#.:* ,>+~[\\]()=^$|] and strings, got: "+a);a:{for(var d={"(":")","[":"]"},e=[],g=0;g<c.length;g++){var h=c[g];if(d[h])e.push(d[h]);else if(Sa(d,h)&&e.pop()!=h){c=!1;break a}}c=0==e.length}if(!c)throw Error("() and [] in selector must be balanced, got: "+a);
b instanceof Ac||(b=Fc(b));c=a+"{"+Cc(b).replace(/</g,"\\3C ")+"}";return Qc(c)}function Rc(a){function b(d){Da(d)?x(d,b):c+=Sc(d)}var c="";x(arguments,b);return Qc(c)}Nc.prototype.Sb=function(){return this.b};function Sc(a){if(a instanceof Nc&&a.constructor===Nc&&a.g===Oc)return a.b;Ca(a);return"type_error:SafeStyleSheet"}function Qc(a){var b=new Nc;b.b=a;return b}var Tc=Qc("");function Uc(){this.g="";this.j=Vc;this.i=null}Uc.prototype.Pg=!0;Uc.prototype.b=function(){return this.i};Uc.prototype.yc=!0;Uc.prototype.Sb=function(){return this.g.toString()};function Wc(a){if(a instanceof Uc&&a.constructor===Uc&&a.j===Vc)return a.g;Ca(a);return"type_error:SafeHtml"}function Xc(a){if(a instanceof Uc)return a;var b="object"==typeof a,c=null;b&&a.Pg&&(c=a.b());return Yc(Ib(b&&a.yc?a.Sb():String(a)),c)}
function Zc(a){if(a instanceof Uc)return a;a=Xc(a);return Yc(Wc(a).toString().replace(/(\r\n|\r|\n)/g,"<br>"),a.b())}var $c=/^[a-zA-Z0-9-]+$/,ad={action:!0,cite:!0,data:!0,formaction:!0,href:!0,manifest:!0,poster:!0,src:!0},bd={APPLET:!0,BASE:!0,EMBED:!0,IFRAME:!0,LINK:!0,MATH:!0,META:!0,OBJECT:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0};
function cd(a,b,c){var d=String(a);if(!$c.test(d))throw Error("Invalid tag name <"+d+">.");if(d.toUpperCase()in bd)throw Error("Tag name <"+d+"> is not allowed for SafeHtml.");return dd(String(a),b,c)}function ed(a){function b(g){Da(g)?x(g,b):(g=Xc(g),e.push(Wc(g).toString()),g=g.b(),0==d?d=g:0!=g&&d!=g&&(d=null))}var c=Xc(fd),d=c.b(),e=[];x(a,b);return Yc(e.join(Wc(c).toString()),d)}function gd(a){return ed(Array.prototype.slice.call(arguments))}var Vc={};function Yc(a,b){return hd(a,b)}
function hd(a,b){var c=new Uc;c.g=a;c.i=b;return c}
function dd(a,b,c){var d=null,e="";if(b)for(l in b){if(!$c.test(l))throw Error('Invalid attribute name "'+l+'".');var g=b[l];if(null!=g){var h=a;var k=l;if(g instanceof ac)g=dc(g);else if("style"==k.toLowerCase()){if(!Ga(g))throw Error('The "style" attribute requires goog.html.SafeStyle or map of style properties, '+typeof g+" given: "+g);g instanceof Ac||(g=Fc(g));g=Cc(g)}else{if(/^on/i.test(k))throw Error('Attribute "'+k+'" requires goog.string.Const value, "'+g+'" given.');if(k.toLowerCase()in
ad)if(g instanceof lc)g=nc(g).toString();else if(g instanceof rc)g=tc(g).toString();else if(r(g))g=xc(g).Sb();else throw Error('Attribute "'+k+'" on tag "'+h+'" requires goog.html.SafeUrl, goog.string.Const, or string, value "'+g+'" given.');}g.yc&&(g=g.Sb());k=k+'="'+Ib(String(g))+'"';e+=" "+k}}var l="<"+a+e;null!=c?Da(c)||(c=[c]):c=[];!0===$b[a.toLowerCase()]?l+=">":(d=gd(c),l+=">"+Wc(d).toString()+"</"+a+">",d=d.b());(a=b&&b.dir)&&(/^(ltr|rtl|auto)$/i.test(a)?d=0:d=null);return hd(l,d)}
hd("<!DOCTYPE html>",0);var fd=hd("",0);hd("<br>",0);var id=function(a){var b=!1,c;return function(){b||(c=a(),b=!0);return c}}(function(){var a=document.createElement("div"),b=document.createElement("div");b.appendChild(document.createElement("div"));a.appendChild(b);b=a.firstChild.firstChild;a.innerHTML=Wc(fd);return!b.parentElement});function C(a,b){if(id())for(;a.lastChild;)a.removeChild(a.lastChild);a.innerHTML=Wc(b)}function jd(a,b){var c=b instanceof rc?b:zc(b);a.href=tc(c)}
function kd(a,b){var c=b instanceof rc?b:zc(b,/^data:image\//i.test(b));a.src=tc(c)}function ld(a){var b=pc(dc(fc));a.src=nc(b).toString()}function md(a,b){a.src=nc(b);if(null===za)b:{var c=n.document;if((c=c.querySelector&&c.querySelector("script[nonce]"))&&(c=c.nonce||c.getAttribute("nonce"))&&ya.test(c)){za=c;break b}za=""}c=za;c&&a.setAttribute("nonce",c)}function nd(a,b){var c=b instanceof rc?b:zc(b);a.href=tc(c)}function od(a,b){var c=b instanceof rc?b:zc(b);a.replace(tc(c))};function pd(a,b){for(var c=a.split("%s"),d="",e=Array.prototype.slice.call(arguments,1);e.length&&1<c.length;)d+=c.shift()+e.shift();return d+c.join("%s")}function qd(a){return a.replace(/[\s\xa0]+/g," ").replace(/^\s+|\s+$/g,"")}function rd(a){return a.replace(/[\t\r\n ]+/g," ").replace(/^[\t\r\n ]+|[\t\r\n ]+$/g,"")}function sd(a){return decodeURIComponent(a.replace(/\+/g," "))}function td(a){return a=Ib(a,void 0)}function ud(a){return-1!=a.indexOf("&")?"document"in n?vd(a):wd(a):a}
function vd(a){var b={"&":"&","<":"<",">":">",""":'"'};var c=n.document.createElement("div");return a.replace(xd,function(d,e){var g=b[d];if(g)return g;if("#"==e.charAt(0)){var h=Number("0"+e.substr(1));isNaN(h)||(g=String.fromCharCode(h))}g||(g=hd(d+" ",null),C(c,g),g=c.firstChild.nodeValue.slice(0,-1));return b[d]=g})}
function wd(a){return a.replace(/&([^;]+);/g,function(b,c){switch(c){case "amp":return"&";case "lt":return"<";case "gt":return">";case "quot":return'"';default:if("#"==c.charAt(0)){var d=Number("0"+c.substr(1));if(!isNaN(d))return String.fromCharCode(d)}return b}})}var xd=/&([^;\s<&]+);?/g;function yd(a){return String(a).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")}function zd(a){return null==a?"":String(a)}
function Ad(){return Math.floor(2147483648*Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^Ma()).toString(36)}function Bd(a){return String(a).replace(/\-([a-z])/g,function(b,c){return c.toUpperCase()})}function Cd(a){var b=r(void 0)?yd(void 0):"\\s";return a.replace(new RegExp("(^"+(b?"|["+b+"]+":"")+")([a-z])","g"),function(c,d,e){return d+e.toUpperCase()})};function Dd(){return z("iPhone")&&!z("iPod")&&!z("iPad")}function Ed(){return Dd()||z("iPad")||z("iPod")};function Fd(a){Fd[" "](a);return a}Fd[" "]=t;function Gd(a,b){try{return Fd(a[b]),!0}catch(c){}return!1}function Hd(a,b){var c=Id;return Object.prototype.hasOwnProperty.call(c,a)?c[a]:c[a]=b(a)};var Jd=z("Opera"),D=z("Trident")||z("MSIE"),Kd=z("Edge"),Ld=Kd||D,E=z("Gecko")&&!(-1!=Sb.toLowerCase().indexOf("webkit")&&!z("Edge"))&&!(z("Trident")||z("MSIE"))&&!z("Edge"),Md=-1!=Sb.toLowerCase().indexOf("webkit")&&!z("Edge"),Nd=z("Macintosh"),Od=z("Windows"),Pd=z("Android"),Qd=Dd(),Rd=z("iPad"),Sd=z("iPod"),Td=Ed();function Ud(){var a=n.document;return a?a.documentMode:void 0}var Vd;
a:{var Wd="",Xd=function(){var a=Sb;if(E)return/rv:([^\);]+)(\)|;)/.exec(a);if(Kd)return/Edge\/([\d\.]+)/.exec(a);if(D)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(Md)return/WebKit\/(\S+)/.exec(a);if(Jd)return/(?:Version)[ \/]?(\S+)/.exec(a)}();Xd&&(Wd=Xd?Xd[1]:"");if(D){var Yd=Ud();if(null!=Yd&&Yd>parseFloat(Wd)){Vd=String(Yd);break a}}Vd=Wd}var Zd=Vd,Id={};function F(a){return Hd(a,function(){return 0<=Qb(Zd,a)})}function $d(a){return Number(ae)>=a}var be;be=n.document&&D?Ud():void 0;
var ae=be;var ce=!D||$d(9),de=!E&&!D||D&&$d(9)||E&&F("1.9.1"),ee=D&&!F("9");function fe(a,b,c){return Math.min(Math.max(a,b),c)};function G(a,b){this.x=p(a)?a:0;this.y=p(b)?b:0}f=G.prototype;f.clone=function(){return new G(this.x,this.y)};function ge(a,b){return a==b?!0:a&&b?a.x==b.x&&a.y==b.y:!1}function he(a,b){return new G(a.x-b.x,a.y-b.y)}f.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};f.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};f.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};
f.Bg=function(a,b){var c=xa(b)?b:a;this.x*=a;this.y*=c;return this};function ie(a,b){this.width=a;this.height=b}function je(a,b){return a==b?!0:a&&b?a.width==b.width&&a.height==b.height:!1}f=ie.prototype;f.clone=function(){return new ie(this.width,this.height)};f.aspectRatio=function(){return this.width/this.height};f.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};f.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};
f.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};function ke(a){return a?new le(me(a)):db||(db=new le)}function H(a){return r(a)?document.getElementById(a):a}function ne(a,b){var c=b||document;return c.querySelectorAll&&c.querySelector?c.querySelectorAll("."+a):oe(document,"*",a,b)}function pe(a,b){var c=b||document;if(c.getElementsByClassName)c=c.getElementsByClassName(a)[0];else{c=document;var d=b||c;c=d.querySelectorAll&&d.querySelector&&a?d.querySelector(a?"."+a:""):oe(c,"*",a,b)[0]||null}return c||null}
function oe(a,b,c,d){a=d||a;b=b&&"*"!=b?String(b).toUpperCase():"";if(a.querySelectorAll&&a.querySelector&&(b||c))return a.querySelectorAll(b+(c?"."+c:""));if(c&&a.getElementsByClassName){a=a.getElementsByClassName(c);if(b){d={};for(var e=0,g=0,h;h=a[g];g++)b==h.nodeName&&(d[e++]=h);d.length=e;return d}return a}a=a.getElementsByTagName(b||"*");if(c){d={};for(g=e=0;h=a[g];g++)b=h.className,"function"==typeof b.split&&ob(b.split(/\s+/),c)&&(d[e++]=h);d.length=e;return d}return a}
function qe(a,b){Pa(b,function(c,d){c&&"object"==typeof c&&c.yc&&(c=c.Sb());"style"==d?a.style.cssText=c:"class"==d?a.className=c:"for"==d?a.htmlFor=c:re.hasOwnProperty(d)?a.setAttribute(re[d],c):0==d.lastIndexOf("aria-",0)||0==d.lastIndexOf("data-",0)?a.setAttribute(d,c):a[d]=c})}
var re={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:"height",maxlength:"maxLength",nonce:"nonce",role:"role",rowspan:"rowSpan",type:"type",usemap:"useMap",valign:"vAlign",width:"width"};function se(a){a=a.document;a=te(a)?a.documentElement:a.body;return new ie(a.clientWidth,a.clientHeight)}
function ue(a){var b=ve(a);a=we(a);return D&&F("10")&&a.pageYOffset!=b.scrollTop?new G(b.scrollLeft,b.scrollTop):new G(a.pageXOffset||b.scrollLeft,a.pageYOffset||b.scrollTop)}function ve(a){return a.scrollingElement?a.scrollingElement:!Md&&te(a)?a.documentElement:a.body||a.documentElement}function xe(a){return a?we(a):window}function we(a){return a.parentWindow||a.defaultView}function I(a,b,c){return ye(document,arguments)}
function ye(a,b){var c=String(b[0]),d=b[1];if(!ce&&d&&(d.name||d.type)){c=["<",c];d.name&&c.push(' name="',td(d.name),'"');if(d.type){c.push(' type="',td(d.type),'"');var e={};Za(e,d);delete e.type;d=e}c.push(">");c=c.join("")}c=a.createElement(c);d&&(r(d)?c.className=d:Da(d)?c.className=d.join(" "):qe(c,d));2<b.length&&ze(a,c,b,2);return c}
function ze(a,b,c,d){function e(h){h&&b.appendChild(r(h)?a.createTextNode(h):h)}for(;d<c.length;d++){var g=c[d];!Ea(g)||Ga(g)&&0<g.nodeType?e(g):x(Ae(g)?ub(g):g,e)}}function J(a){return document.createElement(String(a))}function Be(a){return document.createTextNode(String(a))}function te(a){return"CSS1Compat"==a.compatMode}function Ce(a,b){a.appendChild(b)}function De(a){for(var b;b=a.firstChild;)a.removeChild(b)}function K(a){return a&&a.parentNode?a.parentNode.removeChild(a):null}
function Ee(a,b){var c=b.parentNode;c&&c.replaceChild(a,b)}function Fe(a){return de&&void 0!=a.children?a.children:ib(a.childNodes,function(b){return 1==b.nodeType})}function Ge(a){return p(a.firstElementChild)?a.firstElementChild:He(a.firstChild,!0)}function He(a,b){for(;a&&1!=a.nodeType;)a=b?a.nextSibling:a.previousSibling;return a}
function Ie(a,b){if(!a||!b)return!1;if(a.contains&&1==b.nodeType)return a==b||a.contains(b);if("undefined"!=typeof a.compareDocumentPosition)return a==b||!!(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a}function me(a){return 9==a.nodeType?a:a.ownerDocument||a.document}function Je(a){return a.contentDocument||a.contentWindow.document}
function L(a,b){if("textContent"in a)a.textContent=b;else if(3==a.nodeType)a.data=String(b);else if(a.firstChild&&3==a.firstChild.nodeType){for(;a.lastChild!=a.firstChild;)a.removeChild(a.lastChild);a.firstChild.data=String(b)}else De(a),a.appendChild(me(a).createTextNode(String(b)))}var Ke={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1},Le={IMG:" ",BR:"\n"};function Me(a,b){b?a.tabIndex=0:(a.tabIndex=-1,a.removeAttribute("tabIndex"))}
function Ne(a){return D&&!F("9")?(a=a.getAttributeNode("tabindex"),null!=a&&a.specified):a.hasAttribute("tabindex")}function Oe(a){a=a.tabIndex;return xa(a)&&0<=a&&32768>a}function Pe(a){if(ee&&null!==a&&"innerText"in a)a=a.innerText.replace(/(\r\n|\r|\n)/g,"\n");else{var b=[];Qe(a,b,!0);a=b.join("")}a=a.replace(/ \xAD /g," ").replace(/\xAD/g,"");a=a.replace(/\u200B/g,"");ee||(a=a.replace(/ +/g," "));" "!=a&&(a=a.replace(/^\s*/,""));return a}function Re(a){var b=[];Qe(a,b,!1);return b.join("")}
function Qe(a,b,c){if(!(a.nodeName in Ke))if(3==a.nodeType)c?b.push(String(a.nodeValue).replace(/(\r\n|\r|\n)/g,"")):b.push(a.nodeValue);else if(a.nodeName in Le)b.push(Le[a.nodeName]);else for(a=a.firstChild;a;)Qe(a,b,c),a=a.nextSibling}function Ae(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!1}
function Se(a){return Te(a,function(b){return"DIV"==b.nodeName&&r(b.className)&&ob(b.className.split(/\s+/),"slider-box")},void 0)}function Te(a,b,c){for(var d=0;a&&(null==c||d<=c);){if(b(a))return a;a=a.parentNode;d++}return null}function Ue(a){try{var b=a&&a.activeElement;return b&&b.nodeName?b:null}catch(c){return null}}function le(a){this.b=a||n.document||document}f=le.prototype;f.R=function(a){return r(a)?this.b.getElementById(a):a};f.Ra=function(a,b,c){return ye(this.b,arguments)};
f.appendChild=Ce;f.di=function(a,b){ze(me(a),a,arguments,1)};f.ei=De;f.dk=K;f.Zh=Ge;f.bk=Ie;bb("A AREA BUTTON HEAD INPUT LINK MENU META OPTGROUP OPTION PROGRESS STYLE SELECT SOURCE TEXTAREA TITLE TRACK".split(" "));var Ve="combobox grid group listbox menu menubar radiogroup row rowgroup tablist textbox toolbar tree treegrid".split(" ");function We(a,b){b?a.setAttribute("role",b):a.removeAttribute("role")}
function Xe(a,b,c){Da(c)&&(c=c.join(" "));var d="aria-"+b;""===c||void 0==c?(Oa||(Oa={atomic:!1,autocomplete:"none",dropeffect:"none",haspopup:!1,live:"off",multiline:!1,multiselectable:!1,orientation:"vertical",readonly:!1,relevant:"additions text",required:!1,sort:"none",busy:!1,disabled:!1,hidden:!1,invalid:"false"}),c=Oa,b in c?a.setAttribute(d,c[b]):a.removeAttribute(d)):a.setAttribute(d,c)}
function Ye(a){var b=a.getAttribute("aria-activedescendant");return me(a).getElementById(null==b||void 0==b?"":String(b))}function Ze(a,b){var c="";b&&(c=b.id);Xe(a,"activedescendant",c)};function $e(){this.ac=this.ac;this.$a=this.$a}$e.prototype.ac=!1;$e.prototype.Da=function(){this.ac||(this.ac=!0,this.va())};function af(a,b){var c=v(bf,b);a.ac?p(void 0)?c.call(void 0):c():(a.$a||(a.$a=[]),a.$a.push(p(void 0)?u(c,void 0):c))}$e.prototype.va=function(){if(this.$a)for(;this.$a.length;)this.$a.shift()()};function bf(a){a&&"function"==typeof a.Da&&a.Da()};var cf=!D||$d(9),df=!D||$d(9),ef=D&&!F("9"),ff=function(){if(!n.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{n.addEventListener("test",t,b),n.removeEventListener("test",t,b)}catch(c){}return a}();function gf(a,b){this.type=a;this.i=this.target=b;this.j=!1;this.nj=!0}gf.prototype.b=function(){this.j=!0};gf.prototype.preventDefault=function(){this.nj=!1};function hf(a){a.preventDefault()};var jf={Ld:"mousedown",Md:"mouseup",te:"mousecancel",Jm:"mousemove",Lm:"mouseover",Km:"mouseout",Hm:"mouseenter",Im:"mouseleave"};function kf(a,b){gf.call(this,a?a.type:"");this.relatedTarget=this.i=this.target=null;this.button=this.screenY=this.screenX=this.clientY=this.clientX=0;this.key="";this.o=this.keyCode=0;this.s=this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.pointerId=0;this.pointerType="";this.g=null;if(a){var c=this.type=a.type,d=a.changedTouches&&a.changedTouches.length?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.i=b;var e=a.relatedTarget;e?E&&(Gd(e,"nodeName")||(e=null)):"mouseover"==
c?e=a.fromElement:"mouseout"==c&&(e=a.toElement);this.relatedTarget=e;d?(this.clientX=void 0!==d.clientX?d.clientX:d.pageX,this.clientY=void 0!==d.clientY?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=d.screenY||0):(this.clientX=void 0!==a.clientX?a.clientX:a.pageX,this.clientY=void 0!==a.clientY?a.clientY:a.pageY,this.screenX=a.screenX||0,this.screenY=a.screenY||0);this.button=a.button;this.keyCode=a.keyCode||0;this.key=a.key||"";this.o=a.charCode||("keypress"==c?a.keyCode:0);this.ctrlKey=
a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.s=Nd?a.metaKey:a.ctrlKey;this.pointerId=a.pointerId||0;this.pointerType=r(a.pointerType)?a.pointerType:lf[a.pointerType]||"";this.g=a;a.defaultPrevented&&this.preventDefault()}}w(kf,gf);var mf=[1,4,2],lf={2:"touch",3:"pen",4:"mouse"};function nf(a){return(cf?0==a.g.button:"click"==a.type?!0:!!(a.g.button&mf[0]))&&!(Md&&Nd&&a.ctrlKey)}
kf.prototype.b=function(){kf.ma.b.call(this);this.g.stopPropagation?this.g.stopPropagation():this.g.cancelBubble=!0};kf.prototype.preventDefault=function(){kf.ma.preventDefault.call(this);var a=this.g;if(a.preventDefault)a.preventDefault();else if(a.returnValue=!1,ef)try{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)a.keyCode=-1}catch(b){}};var of="closure_listenable_"+(1E6*Math.random()|0);function pf(a){return!(!a||!a[of])}var qf=0;function rf(a,b,c,d,e){this.listener=a;this.b=null;this.src=b;this.type=c;this.capture=!!d;this.yf=e;this.key=++qf;this.ne=this.ff=!1}function tf(a){a.ne=!0;a.listener=null;a.b=null;a.src=null;a.yf=null};function uf(a){this.src=a;this.b={};this.g=0}uf.prototype.add=function(a,b,c,d,e){var g=a.toString();a=this.b[g];a||(a=this.b[g]=[],this.g++);var h=vf(a,b,d,e);-1<h?(b=a[h],c||(b.ff=!1)):(b=new rf(b,this.src,g,!!d,e),b.ff=c,a.push(b));return b};uf.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.b))return!1;var e=this.b[a];b=vf(e,b,c,d);return-1<b?(tf(e[b]),rb(e,b),0==e.length&&(delete this.b[a],this.g--),!0):!1};
function wf(a,b){var c=b.type;c in a.b&&qb(a.b[c],b)&&(tf(b),0==a.b[c].length&&(delete a.b[c],a.g--))}uf.prototype.Be=function(a,b,c,d){a=this.b[a.toString()];var e=-1;a&&(e=vf(a,b,c,d));return-1<e?a[e]:null};uf.prototype.hasListener=function(a,b){var c=p(a),d=c?a.toString():"",e=p(b);return Qa(this.b,function(g){for(var h=0;h<g.length;++h)if(!(c&&g[h].type!=d||e&&g[h].capture!=b))return!0;return!1})};
function vf(a,b,c,d){for(var e=0;e<a.length;++e){var g=a[e];if(!g.ne&&g.listener==b&&g.capture==!!c&&g.yf==d)return e}return-1};var xf="closure_lm_"+(1E6*Math.random()|0),yf={},zf=0;function M(a,b,c,d,e){if(d&&d.once)return Af(a,b,c,d,e);if(Da(b)){for(var g=0;g<b.length;g++)M(a,b[g],c,d,e);return null}c=Bf(c);return pf(a)?a.ka(b,c,Ga(d)?!!d.capture:!!d,e):Cf(a,b,c,!1,d,e)}
function Cf(a,b,c,d,e,g){if(!b)throw Error("Invalid event type");var h=Ga(e)?!!e.capture:!!e,k=Df(a);k||(a[xf]=k=new uf(a));c=k.add(b,c,d,h,g);if(c.b)return c;d=Ef();c.b=d;d.src=a;d.listener=c;if(a.addEventListener)ff||(e=h),void 0===e&&(e=!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(Ff(b.toString()),d);else if(a.addListener&&a.removeListener)a.addListener(d);else throw Error("addEventListener and attachEvent are unavailable.");zf++;return c}
function Ef(){var a=Gf,b=df?function(c){return a.call(b.src,b.listener,c)}:function(c){c=a.call(b.src,b.listener,c);if(!c)return c};return b}function Af(a,b,c,d,e){if(Da(b)){for(var g=0;g<b.length;g++)Af(a,b[g],c,d,e);return null}c=Bf(c);return pf(a)?a.nd(b,c,Ga(d)?!!d.capture:!!d,e):Cf(a,b,c,!0,d,e)}function Hf(a,b,c,d,e){if(Da(b))for(var g=0;g<b.length;g++)Hf(a,b[g],c,d,e);else d=Ga(d)?!!d.capture:!!d,c=Bf(c),pf(a)?a.Wa(b,c,d,e):a&&(a=Df(a))&&(b=a.Be(b,c,d,e))&&If(b)}
function If(a){if(!xa(a)&&a&&!a.ne){var b=a.src;if(pf(b))wf(b.sc,a);else{var c=a.type,d=a.b;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(Ff(c),d):b.addListener&&b.removeListener&&b.removeListener(d);zf--;(c=Df(b))?(wf(c,a),0==c.g&&(c.src=null,b[xf]=null)):tf(a)}}}function Ff(a){return a in yf?yf[a]:yf[a]="on"+a}
function Jf(a,b,c,d){var e=!0;if(a=Df(a))if(b=a.b[b.toString()])for(b=b.concat(),a=0;a<b.length;a++){var g=b[a];g&&g.capture==c&&!g.ne&&(g=Kf(g,d),e=e&&!1!==g)}return e}function Kf(a,b){var c=a.listener,d=a.yf||a.src;a.ff&&If(a);return c.call(d,b)}
function Gf(a,b){if(a.ne)return!0;if(!df){var c=b||Aa("window.event"),d=new kf(c,this),e=!0;if(!(0>c.keyCode||void 0!=c.returnValue)){a:{var g=!1;if(0==c.keyCode)try{c.keyCode=-1;break a}catch(l){g=!0}if(g||void 0==c.returnValue)c.returnValue=!0}c=[];for(g=d.i;g;g=g.parentNode)c.push(g);g=a.type;for(var h=c.length-1;!d.j&&0<=h;h--){d.i=c[h];var k=Jf(c[h],g,!0,d);e=e&&k}for(h=0;!d.j&&h<c.length;h++)d.i=c[h],k=Jf(c[h],g,!1,d),e=e&&k}return e}return Kf(a,new kf(b,this))}
function Df(a){a=a[xf];return a instanceof uf?a:null}var Lf="__closure_events_fn_"+(1E9*Math.random()>>>0);function Bf(a){if(Fa(a))return a;a[Lf]||(a[Lf]=function(b){return a.handleEvent(b)});return a[Lf]};function O(){$e.call(this);this.sc=new uf(this);this.Fj=this;this.oh=null}w(O,$e);O.prototype[of]=!0;f=O.prototype;f.Ud=function(){return this.oh};f.Xe=function(a){this.oh=a};f.addEventListener=function(a,b,c,d){M(this,a,b,c,d)};f.removeEventListener=function(a,b,c,d){Hf(this,a,b,c,d)};
f.dispatchEvent=function(a){var b,c=this.Ud();if(c)for(b=[];c;c=c.Ud())b.push(c);c=this.Fj;var d=a.type||a;if(r(a))a=new gf(a,c);else if(a instanceof gf)a.target=a.target||c;else{var e=a;a=new gf(d,c);Za(a,e)}e=!0;if(b)for(var g=b.length-1;!a.j&&0<=g;g--){var h=a.i=b[g];e=Mf(h,d,!0,a)&&e}a.j||(h=a.i=c,e=Mf(h,d,!0,a)&&e,a.j||(e=Mf(h,d,!1,a)&&e));if(b)for(g=0;!a.j&&g<b.length;g++)h=a.i=b[g],e=Mf(h,d,!1,a)&&e;return e};
f.va=function(){O.ma.va.call(this);if(this.sc){var a=this.sc,b=0,c;for(c in a.b){for(var d=a.b[c],e=0;e<d.length;e++)++b,tf(d[e]);delete a.b[c];a.g--}}this.oh=null};f.ka=function(a,b,c,d){return this.sc.add(String(a),b,!1,c,d)};f.nd=function(a,b,c,d){return this.sc.add(String(a),b,!0,c,d)};f.Wa=function(a,b,c,d){return this.sc.remove(String(a),b,c,d)};
function Mf(a,b,c,d){b=a.sc.b[String(b)];if(!b)return!0;b=b.concat();for(var e=!0,g=0;g<b.length;++g){var h=b[g];if(h&&!h.ne&&h.capture==c){var k=h.listener,l=h.yf||h.src;h.ff&&wf(a.sc,h);e=!1!==k.call(l,d)&&e}}return e&&0!=d.nj}f.Be=function(a,b,c,d){return this.sc.Be(String(a),b,c,d)};f.hasListener=function(a,b){return this.sc.hasListener(p(a)?String(a):void 0,b)};function Nf(a,b){this.i=a;this.j=b;this.g=0;this.b=null}Nf.prototype.get=function(){if(0<this.g){this.g--;var a=this.b;this.b=a.next;a.next=null}else a=this.i();return a};function Of(a,b){a.j(b);100>a.g&&(a.g++,b.next=a.b,a.b=b)};function Pf(a){n.setTimeout(function(){throw a;},0)}var Qf;
function Rf(){var a=n.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!z("Presto")&&(a=function(){var e=document.createElement("IFRAME");e.style.display="none";ld(e);document.documentElement.appendChild(e);var g=e.contentWindow;e=g.document;e.open();e.write(Wc(fd));e.close();var h="callImmediate"+Math.random(),k="file:"==g.location.protocol?"*":g.location.protocol+"//"+g.location.host;e=u(function(l){if(("*"==k||l.origin==k)&&l.data==
h)this.port1.onmessage()},this);g.addEventListener("message",e,!1);this.port1={};this.port2={postMessage:function(){g.postMessage(h,k)}}});if("undefined"!==typeof a&&!z("Trident")&&!z("MSIE")){var b=new a,c={},d=c;b.port1.onmessage=function(){if(p(c.next)){c=c.next;var e=c.cb;c.cb=null;e()}};return function(e){d.next={cb:e};d=d.next;b.port2.postMessage(0)}}return"undefined"!==typeof document&&"onreadystatechange"in document.createElement("SCRIPT")?function(e){var g=document.createElement("SCRIPT");
g.onreadystatechange=function(){g.onreadystatechange=null;g.parentNode.removeChild(g);g=null;e();e=null};document.documentElement.appendChild(g)}:function(e){n.setTimeout(e,0)}};function Sf(){this.g=this.b=null}var Uf=new Nf(function(){return new Tf},function(a){a.reset()});Sf.prototype.add=function(a,b){var c=Uf.get();c.set(a,b);this.g?this.g.next=c:this.b=c;this.g=c};Sf.prototype.remove=function(){var a=null;this.b&&(a=this.b,this.b=this.b.next,this.b||(this.g=null),a.next=null);return a};function Tf(){this.next=this.g=this.b=null}Tf.prototype.set=function(a,b){this.b=a;this.g=b;this.next=null};Tf.prototype.reset=function(){this.next=this.g=this.b=null};function Vf(a,b){Wf||Xf();Yf||(Wf(),Yf=!0);Zf.add(a,b)}var Wf;function Xf(){if(n.Promise&&n.Promise.resolve){var a=n.Promise.resolve(void 0);Wf=function(){a.then($f)}}else Wf=function(){var b=$f;!Fa(n.setImmediate)||n.Window&&n.Window.prototype&&!z("Edge")&&n.Window.prototype.setImmediate==n.setImmediate?(Qf||(Qf=Rf()),Qf(b)):n.setImmediate(b)}}var Yf=!1,Zf=new Sf;function $f(){for(var a;a=Zf.remove();){try{a.b.call(a.g)}catch(b){Pf(b)}Of(Uf,a)}Yf=!1};function ag(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};function bg(a){this.b=0;this.V=void 0;this.j=this.g=this.i=null;this.o=this.s=!1;if(a!=t)try{var b=this;a.call(void 0,function(c){cg(b,2,c)},function(c){cg(b,3,c)})}catch(c){cg(this,3,c)}}function dg(){this.next=this.i=this.g=this.j=this.b=null;this.o=!1}dg.prototype.reset=function(){this.i=this.g=this.j=this.b=null;this.o=!1};var eg=new Nf(function(){return new dg},function(a){a.reset()});function fg(a,b,c){var d=eg.get();d.j=a;d.g=b;d.i=c;return d}
bg.prototype.then=function(a,b,c){return gg(this,Fa(a)?a:null,Fa(b)?b:null,c)};bg.prototype.$goog_Thenable=!0;bg.prototype.cancel=function(a){0==this.b&&Vf(function(){var b=new hg(a);ig(this,b)},this)};function ig(a,b){if(0==a.b)if(a.i){var c=a.i;if(c.g){for(var d=0,e=null,g=null,h=c.g;h&&(h.o||(d++,h.b==a&&(e=h),!(e&&1<d)));h=h.next)e||(g=h);e&&(0==c.b&&1==d?ig(c,b):(g?(d=g,d.next==c.j&&(c.j=d),d.next=d.next.next):jg(c),kg(c,e,3,b)))}a.i=null}else cg(a,3,b)}
function lg(a,b){a.g||2!=a.b&&3!=a.b||mg(a);a.j?a.j.next=b:a.g=b;a.j=b}function gg(a,b,c,d){var e=fg(null,null,null);e.b=new bg(function(g,h){e.j=b?function(k){try{var l=b.call(d,k);g(l)}catch(m){h(m)}}:g;e.g=c?function(k){try{var l=c.call(d,k);!p(l)&&k instanceof hg?h(k):g(l)}catch(m){h(m)}}:h});e.b.i=a;lg(a,e);return e.b}bg.prototype.ra=function(a){this.b=0;cg(this,2,a)};bg.prototype.$a=function(a){this.b=0;cg(this,3,a)};
function cg(a,b,c){if(0==a.b){a===c&&(b=3,c=new TypeError("Promise cannot resolve to itself"));a.b=1;a:{var d=c,e=a.ra,g=a.$a;if(d instanceof bg){lg(d,fg(e||t,g||null,a));var h=!0}else if(ag(d))d.then(e,g,a),h=!0;else{if(Ga(d))try{var k=d.then;if(Fa(k)){ng(d,k,e,g,a);h=!0;break a}}catch(l){g.call(a,l);h=!0;break a}h=!1}}h||(a.V=c,a.b=b,a.i=null,mg(a),3!=b||c instanceof hg||og(a,c))}}
function ng(a,b,c,d,e){function g(l){k||(k=!0,d.call(e,l))}function h(l){k||(k=!0,c.call(e,l))}var k=!1;try{b.call(a,h,g)}catch(l){g(l)}}function mg(a){a.s||(a.s=!0,Vf(a.ha,a))}function jg(a){var b=null;a.g&&(b=a.g,a.g=b.next,b.next=null);a.g||(a.j=null);return b}bg.prototype.ha=function(){for(var a;a=jg(this);)kg(this,a,this.b,this.V);this.s=!1};
function kg(a,b,c,d){if(3==c&&b.g&&!b.o)for(;a&&a.o;a=a.i)a.o=!1;if(b.b)b.b.i=null,pg(b,c,d);else try{b.o?b.j.call(b.i):pg(b,c,d)}catch(e){qg.call(null,e)}Of(eg,b)}function pg(a,b,c){2==b?a.j.call(a.i,c):a.g&&a.g.call(a.i,c)}function og(a,b){a.o=!0;Vf(function(){a.o&&qg.call(null,b)})}var qg=Pf;function hg(a){cb.call(this,a)}w(hg,cb);hg.prototype.name="cancel";function rg(a,b){O.call(this);this.g=a||1;this.b=b||n;this.i=u(this.Am,this);this.j=Ma()}w(rg,O);f=rg.prototype;f.De=!1;f.jc=null;function sg(a,b){a.g=b;a.jc&&a.De?(a.stop(),a.start()):a.jc&&a.stop()}f.Am=function(){if(this.De){var a=Ma()-this.j;0<a&&a<.8*this.g?this.jc=this.b.setTimeout(this.i,this.g-a):(this.jc&&(this.b.clearTimeout(this.jc),this.jc=null),this.dispatchEvent("tick"),this.De&&(this.stop(),this.start()))}};
f.start=function(){this.De=!0;this.jc||(this.jc=this.b.setTimeout(this.i,this.g),this.j=Ma())};f.stop=function(){this.De=!1;this.jc&&(this.b.clearTimeout(this.jc),this.jc=null)};f.va=function(){rg.ma.va.call(this);this.stop();delete this.b};function P(a,b,c){if(Fa(a))c&&(a=u(a,c));else if(a&&"function"==typeof a.handleEvent)a=u(a.handleEvent,a);else throw Error("Invalid listener argument");return 2147483647<Number(b)?-1:n.setTimeout(a,b||0)}function tg(a){n.clearTimeout(a)};function ug(a,b,c){$e.call(this);this.b=a;this.j=b||0;this.g=c;this.i=u(this.ak,this)}w(ug,$e);f=ug.prototype;f.Oa=0;f.va=function(){ug.ma.va.call(this);this.stop();delete this.b;delete this.g};f.start=function(a){this.stop();this.Oa=P(this.i,p(a)?a:this.j)};f.stop=function(){0!=this.Oa&&tg(this.Oa);this.Oa=0};f.ak=function(){this.Oa=0;this.b&&this.b.call(this.g)};function vg(a){if(a.classList)return a.classList;a=a.className;return r(a)&&a.match(/\S+/g)||[]}function wg(a,b){return a.classList?a.classList.contains(b):ob(vg(a),b)}function Q(a,b){a.classList?a.classList.add(b):wg(a,b)||(a.className+=0<a.className.length?" "+b:b)}function xg(a,b){if(a.classList)x(b,function(e){Q(a,e)});else{var c={};x(vg(a),function(e){c[e]=!0});x(b,function(e){c[e]=!0});a.className="";for(var d in c)a.className+=0<a.className.length?" "+d:d}}
function yg(a,b){a.classList?a.classList.remove(b):wg(a,b)&&(a.className=ib(vg(a),function(c){return c!=b}).join(" "))}function zg(a,b){a.classList?x(b,function(c){yg(a,c)}):a.className=ib(vg(a),function(c){return!ob(b,c)}).join(" ")}function Ag(a,b,c){c?Q(a,b):yg(a,b)};function Bg(a){O.call(this);a=a||ke();this.b=a.Ra(D?"DIV":"IFRAME",{style:"position:absolute;width:9em;height:9em;top:-99em",tabIndex:-1,"aria-hidden":"true"});a=a.b.body;a.insertBefore(this.b,a.firstChild);if(D)var b=this.b;else a:{a=this.b;try{b=a.contentWindow||(a.contentDocument?xe(a.contentDocument):null);break a}catch(c){}b=null}b=this.j=b;E&&(a=b.document,a.open(),a.close());M(b,"resize",this.g,!1,this);this.i=this.b.offsetWidth}w(Bg,O);
Bg.prototype.va=function(){Bg.ma.va.call(this);Hf(this.j,"resize",this.g,!1,this);this.j=null;E&&!F("1.9")||K(this.b);delete this.b};Bg.prototype.g=function(){var a=this.b.offsetWidth;this.i!=a&&(this.i=a,this.dispatchEvent("fontsizechange"))};function Cg(a){var b=0,c=0;if(Dg(a))b=a.selectionStart,c=-1;else if(D&&!F("9")){var d=Eg(a),e=d[0];d=d[1];if(e.inRange(d)){e.setEndPoint("EndToStart",d);if("textarea"==a.type){d.duplicate();b=a=e.text;for(c=!1;!c;)0==e.compareEndPoints("StartToEnd",e)?c=!0:(e.moveEnd("character",-1),e.text==a?b+="\r\n":c=!0);e=[b.length,-1];return e}b=e.text.length;c=-1}}return[b,c]}
function Eg(a){var b=a.ownerDocument||a.document,c=b.selection.createRange();"textarea"==a.type?(b=b.body.createTextRange(),b.moveToElementText(a)):b=a.createTextRange();return[b,c]}function Fg(a,b){"textarea"==a.type&&(b=a.value.substring(0,b).replace(/(\r\n|\r|\n)/g,"\n").length);return b}function Dg(a){try{return"number"==typeof a.selectionStart}catch(b){return!1}};function Gg(a){O.call(this);this.b=a||window;this.i=M(this.b,"resize",this.j,!1,this);this.g=se(this.b||window)}w(Gg,O);Gg.prototype.Aa=function(){return this.g?this.g.clone():null};Gg.prototype.va=function(){Gg.ma.va.call(this);this.i&&(If(this.i),this.i=null);this.g=this.b=null};Gg.prototype.j=function(){var a=se(this.b||window);je(a,this.g)||(this.g=a,this.dispatchEvent("resize"))};function R(a){$e.call(this);this.ua=a;this.i={}}w(R,$e);var Hg=[];f=R.prototype;f.ka=function(a,b,c,d){return Ig(this,a,b,c,d)};function Ig(a,b,c,d,e,g){Da(c)||(c&&(Hg[0]=c.toString()),c=Hg);for(var h=0;h<c.length;h++){var k=M(b,c[h],d||a.handleEvent,e||!1,g||a.ua||a);if(!k)break;a.i[k.key]=k}return a}f.nd=function(a,b,c,d){return Jg(this,a,b,c,d)};
function Jg(a,b,c,d,e,g){if(Da(c))for(var h=0;h<c.length;h++)Jg(a,b,c[h],d,e,g);else{b=Af(b,c,d||a.handleEvent,e,g||a.ua||a);if(!b)return a;a.i[b.key]=b}return a}f.Wa=function(a,b,c,d,e){if(Da(b))for(var g=0;g<b.length;g++)this.Wa(a,b[g],c,d,e);else c=c||this.handleEvent,d=Ga(d)?!!d.capture:!!d,e=e||this.ua||this,c=Bf(c),d=!!d,b=pf(a)?a.Be(b,c,d,e):a?(a=Df(a))?a.Be(b,c,d,e):null:null,b&&(If(b),delete this.i[b.key]);return this};
function Kg(a){Pa(a.i,function(b,c){this.i.hasOwnProperty(c)&&If(b)},a);a.i={}}f.va=function(){R.ma.va.call(this);Kg(this)};f.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};function Lg(a){O.call(this);this.wa=a;a=D?"focusout":"blur";this.b=M(this.wa,D?"focusin":"focus",this,!D);this.g=M(this.wa,a,this,!D)}w(Lg,O);Lg.prototype.handleEvent=function(a){var b=new kf(a.g);b.type="focusin"==a.type||"focus"==a.type?"focusin":"focusout";this.dispatchEvent(b)};Lg.prototype.va=function(){Lg.ma.va.call(this);If(this.b);If(this.g);delete this.wa};function Mg(a,b,c,d,e,g){if(Md&&!F("525"))return!0;if(Nd&&e)return Ng(a);if(e&&!d)return!1;if(!E){xa(b)&&(b=Og(b));var h=17==b||18==b||Nd&&91==b;if((!c||Nd)&&h||Nd&&16==b&&(d||g))return!1}if((Md||Kd)&&d&&c)switch(a){case 220:case 219:case 221:case 192:case 186:case 189:case 187:case 188:case 190:case 191:case 192:case 222:return!1}if(D&&d&&b==a)return!1;switch(a){case 13:return E?g||e?!1:!(c&&d):!0;case 27:return!(Md||Kd||E)}return E&&(d||e||g)?!1:Ng(a)}
function Ng(a){if(48<=a&&57>=a||96<=a&&106>=a||65<=a&&90>=a||(Md||Kd)&&0==a)return!0;switch(a){case 32:case 43:case 63:case 64:case 107:case 109:case 110:case 111:case 186:case 59:case 189:case 187:case 61:case 188:case 190:case 191:case 192:case 222:case 219:case 220:case 221:case 163:return!0;case 173:return E;default:return!1}}function Og(a){if(E)a=Pg(a);else if(Nd&&Md)switch(a){case 93:a=91}return a}
function Pg(a){switch(a){case 61:return 187;case 59:return 186;case 173:return 189;case 224:return 91;case 0:return 224;default:return a}};function Qg(a,b){O.call(this);a&&Rg(this,a,b)}w(Qg,O);f=Qg.prototype;f.wa=null;f.Ff=null;f.Ug=null;f.Gf=null;f.Jb=-1;f.zc=-1;f.jg=!1;
var Sg={3:13,12:144,63232:38,63233:40,63234:37,63235:39,63236:112,63237:113,63238:114,63239:115,63240:116,63241:117,63242:118,63243:119,63244:120,63245:121,63246:122,63247:123,63248:44,63272:46,63273:36,63275:35,63276:33,63277:34,63289:144,63302:45},Tg={Up:38,Down:40,Left:37,Right:39,Enter:13,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,"U+007F":46,Home:36,End:35,PageUp:33,PageDown:34,Insert:45},Ug=!Md||F("525"),Vg=Nd&&E;f=Qg.prototype;
f.Lk=function(a){if(Md||Kd)if(17==this.Jb&&!a.ctrlKey||18==this.Jb&&!a.altKey||Nd&&91==this.Jb&&!a.metaKey)this.zc=this.Jb=-1;-1==this.Jb&&(a.ctrlKey&&17!=a.keyCode?this.Jb=17:a.altKey&&18!=a.keyCode?this.Jb=18:a.metaKey&&91!=a.keyCode&&(this.Jb=91));Ug&&!Mg(a.keyCode,this.Jb,a.shiftKey,a.ctrlKey,a.altKey,a.metaKey)?this.handleEvent(a):(this.zc=Og(a.keyCode),Vg&&(this.jg=a.altKey))};f.ek=function(a){this.zc=this.Jb=-1;this.jg=a.altKey};
f.handleEvent=function(a){var b=a.g,c=b.altKey;if(D&&"keypress"==a.type){var d=this.zc;var e=13!=d&&27!=d?b.keyCode:0}else(Md||Kd)&&"keypress"==a.type?(d=this.zc,e=0<=b.charCode&&63232>b.charCode&&Ng(d)?b.charCode:0):Jd&&!Md?(d=this.zc,e=Ng(d)?b.keyCode:0):("keypress"==a.type?(Vg&&(c=this.jg),b.keyCode==b.charCode?32>b.keyCode?(d=b.keyCode,e=0):(d=this.zc,e=b.charCode):(d=b.keyCode||this.zc,e=b.charCode||0)):(d=b.keyCode||this.zc,e=b.charCode||0),Nd&&63==e&&224==d&&(d=191));var g=d=Og(d);d?63232<=
d&&d in Sg?g=Sg[d]:25==d&&a.shiftKey&&(g=9):b.keyIdentifier&&b.keyIdentifier in Tg&&(g=Tg[b.keyIdentifier]);E&&Ug&&"keypress"==a.type&&!Mg(g,this.Jb,a.shiftKey,a.ctrlKey,c,a.metaKey)||(a=g==this.Jb,this.Jb=g,b=new Wg(g,e,a,b),b.altKey=c,this.dispatchEvent(b))};f.R=function(){return this.wa};function Rg(a,b,c){a.Gf&&Xg(a);a.wa=b;a.Ff=M(a.wa,"keypress",a,c);a.Ug=M(a.wa,"keydown",a.Lk,c,a);a.Gf=M(a.wa,"keyup",a.ek,c,a)}
function Xg(a){a.Ff&&(If(a.Ff),If(a.Ug),If(a.Gf),a.Ff=null,a.Ug=null,a.Gf=null);a.wa=null;a.Jb=-1;a.zc=-1}f.va=function(){Qg.ma.va.call(this);Xg(this)};function Wg(a,b,c,d){kf.call(this,d);this.type="key";this.keyCode=a;this.o=b;this.repeat=c}w(Wg,kf);function Yg(a,b){var c=a.match(Zg);return c?Number(c[1])*b[c[2]]:NaN}var Zg=/^([-]?\d+\.?\d*)([K,M,G,T,P,E,Z,Y,k,m,u,n]?)[B]?$/,$g={"":1,n:1E-9,u:1E-6,m:.001,k:1E3,K:1E3,M:1E6,G:1E9,T:1E12,P:1E15,E:1E18,Z:1E21,Y:1E24},ah={"":1,n:Math.pow(1024,-3),u:Math.pow(1024,-2),m:1/1024,k:1024,K:1024,M:Math.pow(1024,2),G:Math.pow(1024,3),T:Math.pow(1024,4),P:Math.pow(1024,5),E:Math.pow(1024,6),Z:Math.pow(1024,7),Y:Math.pow(1024,8)};var Va={},bh=null;function ch(a){a=Ha(a);delete Va[a];Ua()&&bh&&bh.stop()}function dh(){bh||(bh=new ug(function(){eh()},20));var a=bh;0!=a.Oa||a.start()}function eh(){var a=Ma();Pa(Va,function(b){fh(b,a)});Ua()||dh()};function gh(){O.call(this);this.g=0;this.endTime=this.b=null}w(gh,O);gh.prototype.j=function(){this.Lc("begin")};gh.prototype.i=function(){this.Lc("end")};gh.prototype.Lc=function(a){this.dispatchEvent(a)};function hh(a,b,c,d){gh.call(this);if(!Da(a)||!Da(b))throw Error("Start and end parameters must be arrays");if(a.length!=b.length)throw Error("Start and end points must be the same length");this.o=a;this.ta=b;this.duration=c;this.ra=d;this.coords=[];this.progress=0}w(hh,gh);f=hh.prototype;
f.play=function(a){if(a||0==this.g)this.progress=0,this.coords=this.o;else if(1==this.g)return!1;ch(this);this.b=a=Ma();-1==this.g&&(this.b-=this.duration*this.progress);this.endTime=this.b+this.duration;this.progress||this.j();this.Lc("play");-1==this.g&&this.Lc("resume");this.g=1;var b=Ha(this);b in Va||(Va[b]=this);dh();fh(this,a);return!0};f.stop=function(a){ch(this);this.g=0;a&&(this.progress=1);ih(this,this.progress);this.Lc("stop");this.i()};
f.va=function(){0==this.g||this.stop(!1);this.Lc("destroy");hh.ma.va.call(this)};function fh(a,b){b<a.b&&(a.endTime=b+a.endTime-a.b,a.b=b);a.progress=(b-a.b)/(a.endTime-a.b);1<a.progress&&(a.progress=1);ih(a,a.progress);1==a.progress?(a.g=0,ch(a),a.Lc("finish"),a.i()):1==a.g&&a.mh()}function ih(a,b){Fa(a.ra)&&(b=a.ra(b));a.coords=Array(a.o.length);for(var c=0;c<a.o.length;c++)a.coords[c]=(a.ta[c]-a.o[c])*b+a.o[c]}f.mh=function(){this.Lc("animate")};f.Lc=function(a){this.dispatchEvent(new jh(a,this))};
function jh(a,b){gf.call(this,a);this.coords=b.coords;this.x=b.coords[0];this.y=b.coords[1];this.duration=b.duration;this.progress=b.progress}w(jh,gf);function kh(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d}function lh(a){for(var b=new kh(arguments[0].y,arguments[0].x,arguments[0].y,arguments[0].x),c=1;c<arguments.length;c++){var d=b,e=arguments[c];d.top=Math.min(d.top,e.y);d.right=Math.max(d.right,e.x);d.bottom=Math.max(d.bottom,e.y);d.left=Math.min(d.left,e.x)}return b}f=kh.prototype;f.Fb=function(){return this.right-this.left};f.hc=function(){return this.bottom-this.top};
f.clone=function(){return new kh(this.top,this.right,this.bottom,this.left)};function mh(a,b){return a&&b?b instanceof kh?b.left>=a.left&&b.right<=a.right&&b.top>=a.top&&b.bottom<=a.bottom:b.x>=a.left&&b.x<=a.right&&b.y>=a.top&&b.y<=a.bottom:!1}function nh(a,b){var c=b.x<a.left?b.x-a.left:b.x>a.right?b.x-a.right:0,d=b.y<a.top?b.y-a.top:b.y>a.bottom?b.y-a.bottom:0;return Math.sqrt(c*c+d*d)}
f.ceil=function(){this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bottom=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return this};f.floor=function(){this.top=Math.floor(this.top);this.right=Math.floor(this.right);this.bottom=Math.floor(this.bottom);this.left=Math.floor(this.left);return this};f.round=function(){this.top=Math.round(this.top);this.right=Math.round(this.right);this.bottom=Math.round(this.bottom);this.left=Math.round(this.left);return this};function oh(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d}f=oh.prototype;f.clone=function(){return new oh(this.left,this.top,this.width,this.height)};function ph(a){return new kh(a.top,a.left+a.width,a.top+a.height,a.left)}function qh(a){return new oh(a.left,a.top,a.right-a.left,a.bottom-a.top)}
function rh(a,b){var c=Math.max(a.left,b.left),d=Math.min(a.left+a.width,b.left+b.width);if(c<=d){var e=Math.max(a.top,b.top),g=Math.min(a.top+a.height,b.top+b.height);if(e<=g)return new oh(c,e,d-c,g-e)}return null}function sh(a,b){if(!a||!b)return null;var c=new oh(a.left,a.top,a.width,a.height),d=Math.max(c.left+c.width,b.left+b.width),e=Math.max(c.top+c.height,b.top+b.height);c.left=Math.min(c.left,b.left);c.top=Math.min(c.top,b.top);c.width=d-c.left;c.height=e-c.top;return c}
f.Aa=function(){return new ie(this.width,this.height)};f.ceil=function(){this.left=Math.ceil(this.left);this.top=Math.ceil(this.top);this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};f.floor=function(){this.left=Math.floor(this.left);this.top=Math.floor(this.top);this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};
f.round=function(){this.left=Math.round(this.left);this.top=Math.round(this.top);this.width=Math.round(this.width);this.height=Math.round(this.height);return this};function S(a,b,c){if(r(b))(b=th(a,b))&&(a.style[b]=c);else for(var d in b){c=a;var e=b[d],g=th(c,d);g&&(c.style[g]=e)}}var uh={};function th(a,b){var c=uh[b];if(!c){var d=Bd(b);c=d;void 0===a.style[d]&&(d=(Md?"Webkit":E?"Moz":D?"ms":Jd?"O":null)+Cd(d),void 0!==a.style[d]&&(c=d));uh[b]=c}return c}function vh(a,b){var c=a.style[Bd(b)];return"undefined"!==typeof c?c:a.style[th(a,b)]||""}
function wh(a,b){var c=me(a);return c.defaultView&&c.defaultView.getComputedStyle&&(c=c.defaultView.getComputedStyle(a,null))?c[b]||c.getPropertyValue(b)||"":""}function xh(a,b){return wh(a,b)||(a.currentStyle?a.currentStyle[b]:null)||a.style&&a.style[b]}function yh(a,b,c){if(b instanceof G){var d=b.x;b=b.y}else d=b,b=c;a.style.left=zh(d,!1);a.style.top=zh(b,!1)}function Ah(a){return new G(a.offsetLeft,a.offsetTop)}
function Bh(a){a=a?me(a):document;return!D||$d(9)||te(ke(a).b)?a.documentElement:a.body}function Ch(a){try{var b=a.getBoundingClientRect()}catch(c){return{left:0,top:0,right:0,bottom:0}}D&&a.ownerDocument.body&&(a=a.ownerDocument,b.left-=a.documentElement.clientLeft+a.body.clientLeft,b.top-=a.documentElement.clientTop+a.body.clientTop);return b}
function Dh(a){if(D&&!$d(8))return a.offsetParent;var b=me(a),c=xh(a,"position"),d="fixed"==c||"absolute"==c;for(a=a.parentNode;a&&a!=b;a=a.parentNode)if(11==a.nodeType&&a.host&&(a=a.host),c=xh(a,"position"),d=d&&"static"==c&&a!=b.documentElement&&a!=b.body,!d&&(a.scrollWidth>a.clientWidth||a.scrollHeight>a.clientHeight||"fixed"==c||"absolute"==c||"relative"==c))return a;return null}
function Eh(a){for(var b=new kh(0,Infinity,Infinity,0),c=ke(a),d=c.b.body,e=c.b.documentElement,g=ve(c.b);a=Dh(a);)if(!(D&&0==a.clientWidth||Md&&0==a.clientHeight&&a==d)&&a!=d&&a!=e&&"visible"!=xh(a,"overflow")){var h=Fh(a),k=new G(a.clientLeft,a.clientTop);h.x+=k.x;h.y+=k.y;b.top=Math.max(b.top,h.y);b.right=Math.min(b.right,h.x+a.clientWidth);b.bottom=Math.min(b.bottom,h.y+a.clientHeight);b.left=Math.max(b.left,h.x)}d=g.scrollLeft;g=g.scrollTop;b.left=Math.max(b.left,d);b.top=Math.max(b.top,g);c=
se(we(c.b)||window);b.right=Math.min(b.right,d+c.width);b.bottom=Math.min(b.bottom,g+c.height);return 0<=b.top&&0<=b.left&&b.bottom>b.top&&b.right>b.left?b:null}
function Gh(a,b){var c=b||ve(document);var d=c||ve(document);var e=Fh(a),g=Fh(d),h=Hh(d);if(d==ve(document)){var k=e.x-d.scrollLeft;e=e.y-d.scrollTop;D&&!$d(10)&&(k+=h.left,e+=h.top)}else k=e.x-g.x-h.left,e=e.y-g.y-h.top;h=Ih(a);g=d.clientHeight-h.height;var l=d.scrollLeft,m=d.scrollTop;l+=Math.min(k,Math.max(k-(d.clientWidth-h.width),0));m+=Math.min(e,Math.max(e-g,0));d=new G(l,m);c.scrollLeft=d.x;c.scrollTop=d.y}
function Fh(a){var b=me(a),c=new G(0,0),d=Bh(b);if(a==d)return c;a=Ch(a);b=ue(ke(b).b);c.x=a.left+b.x;c.y=a.top+b.y;return c}function Jh(a,b){var c=Kh(a),d=Kh(b);return new G(c.x-d.x,c.y-d.y)}function Lh(a){a=Ch(a);return new G(a.left,a.top)}function Kh(a){if(1==a.nodeType)return Lh(a);a=a.changedTouches?a.changedTouches[0]:a;return new G(a.clientX,a.clientY)}
function T(a,b,c){if(b instanceof ie)c=b.height,b=b.width;else if(void 0==c)throw Error("missing height argument");a.style.width=zh(b,!0);a.style.height=zh(c,!0)}function zh(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a}function Mh(a){var b=Ih;if("none"!=xh(a,"display"))return b(a);var c=a.style,d=c.display,e=c.visibility,g=c.position;c.visibility="hidden";c.position="absolute";c.display="inline";a=b(a);c.display=d;c.position=g;c.visibility=e;return a}
function Ih(a){var b=a.offsetWidth,c=a.offsetHeight,d=Md&&!b&&!c;return p(b)&&!d||!a.getBoundingClientRect?new ie(b,c):(a=Ch(a),new ie(a.right-a.left,a.bottom-a.top))}function Nh(a){var b=Fh(a);a=Mh(a);return new oh(b.x,b.y,a.width,a.height)}function Oh(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*Number(b)+")")}function U(a,b){a.style.display=b?"":"none"}function Ph(a){return"rtl"==xh(a,"direction")}
var Qh=E?"MozUserSelect":Md||Kd?"WebkitUserSelect":null;function Rh(a,b,c){c=c?null:a.getElementsByTagName("*");if(Qh){if(b=b?"none":"",a.style&&(a.style[Qh]=b),c){a=0;for(var d;d=c[a];a++)d.style&&(d.style[Qh]=b)}}else if(D||Jd)if(b=b?"on":"",a.setAttribute("unselectable",b),c)for(a=0;d=c[a];a++)d.setAttribute("unselectable",b)}
function Sh(a,b){var c=te(ke(me(a)).b);if(!D||F("10")||c&&F("8"))Th(a,b,"border-box");else{var d=a.style;if(c){c=Uh(a);var e=Hh(a);d.pixelWidth=b.width-e.left-c.left-c.right-e.right;d.pixelHeight=b.height-e.top-c.top-c.bottom-e.bottom}else d.pixelWidth=b.width,d.pixelHeight=b.height}}
function Vh(a){var b=me(a),c=D&&a.currentStyle;if(c&&te(ke(b).b)&&"auto"!=c.width&&"auto"!=c.height&&!c.boxSizing)return b=Wh(a,c.width,"width","pixelWidth"),a=Wh(a,c.height,"height","pixelHeight"),new ie(b,a);c=new ie(a.offsetWidth,a.offsetHeight);b=Uh(a);a=Hh(a);return new ie(c.width-a.left-b.left-b.right-a.right,c.height-a.top-b.top-b.bottom-a.bottom)}
function Th(a,b,c){a=a.style;E?a.MozBoxSizing=c:Md?a.WebkitBoxSizing=c:a.boxSizing=c;a.width=Math.max(b.width,0)+"px";a.height=Math.max(b.height,0)+"px"}function Wh(a,b,c,d){if(/^\d+px?$/.test(b))return parseInt(b,10);var e=a.style[c],g=a.runtimeStyle[c];a.runtimeStyle[c]=a.currentStyle[c];a.style[c]=b;b=a.style[d];a.style[c]=e;a.runtimeStyle[c]=g;return+b}function Xh(a,b){var c=a.currentStyle?a.currentStyle[b]:null;return c?Wh(a,c,"left","pixelLeft"):0}
function Uh(a){if(D){var b=Xh(a,"paddingLeft"),c=Xh(a,"paddingRight"),d=Xh(a,"paddingTop");a=Xh(a,"paddingBottom");return new kh(d,c,a,b)}b=wh(a,"paddingLeft");c=wh(a,"paddingRight");d=wh(a,"paddingTop");a=wh(a,"paddingBottom");return new kh(parseFloat(d),parseFloat(c),parseFloat(a),parseFloat(b))}var Yh={thin:2,medium:4,thick:6};
function Zh(a,b){if("none"==(a.currentStyle?a.currentStyle[b+"Style"]:null))return 0;var c=a.currentStyle?a.currentStyle[b+"Width"]:null;return c in Yh?Yh[c]:Wh(a,c,"left","pixelLeft")}
function Hh(a){if(D&&!$d(9)){var b=Zh(a,"borderLeft"),c=Zh(a,"borderRight"),d=Zh(a,"borderTop");a=Zh(a,"borderBottom");return new kh(d,c,a,b)}b=wh(a,"borderLeftWidth");c=wh(a,"borderRightWidth");d=wh(a,"borderTopWidth");a=wh(a,"borderBottomWidth");return new kh(parseFloat(d),parseFloat(c),parseFloat(a),parseFloat(b))}function $h(a,b){a.style[D?"styleFloat":"cssFloat"]=b};var ai=function(){if(Od){var a=/Windows NT ([0-9.]+)/;return(a=a.exec(Sb))?a[1]:"0"}return Nd?(a=/10[_.][0-9_.]+/,(a=a.exec(Sb))?a[0].replace(/_/g,"."):"10"):Pd?(a=/Android\s+([^\);]+)(\)|;)/,(a=a.exec(Sb))?a[1]:""):Qd||Rd||Sd?(a=/(?:iPhone|CPU)\s+OS\s+(\S+)/,(a=a.exec(Sb))?a[1].replace(/_/g,"."):""):""}();var bi=Vb(),ci=Dd()||z("iPod"),di=z("iPad"),ei=z("Android")&&!(Wb()||Vb()||z("Opera")||z("Silk")),fi=Wb(),gi=z("Safari")&&!(Wb()||z("Coast")||z("Opera")||z("Edge")||z("Edg/")||z("OPR")||Vb()||z("Silk")||z("Android"))&&!Ed();function hi(a){return(a=a.exec(Sb))?a[1]:""}var ii=function(){if(bi)return hi(/Firefox\/([0-9.]+)/);if(D||Kd||Jd)return Zd;if(fi)return Ed()?hi(/CriOS\/([0-9.]+)/):hi(/Chrome\/([0-9.]+)/);if(gi&&!Ed())return hi(/Version\/([0-9.]+)/);if(ci||di){var a=/Version\/(\S+).*Mobile\/(\S+)/.exec(Sb);if(a)return a[1]+"."+a[2]}else if(ei)return(a=hi(/Android\s+([0-9.]+)/))?a:hi(/Version\/([0-9.]+)/);return""}();function ji(a,b,c,d,e){hh.call(this,b,c,d,e);this.V=a}w(ji,hh);ji.prototype.s=t;ji.prototype.mh=function(){this.s();ji.ma.mh.call(this)};ji.prototype.i=function(){this.s();ji.ma.i.call(this)};ji.prototype.j=function(){this.s();ji.ma.j.call(this)};function ki(a,b,c,d,e){xa(b)&&(b=[b]);xa(c)&&(c=[c]);ji.call(this,a,b,c,d,e);if(1!=b.length||1!=c.length)throw Error("Start and end points must be 1D");this.ha=-1}w(ki,ji);var li=1/1024;
ki.prototype.s=function(){var a=this.coords[0];Math.abs(a-this.ha)>=li&&(Oh(this.V,a),this.ha=a)};ki.prototype.j=function(){this.ha=-1;ki.ma.j.call(this)};ki.prototype.i=function(){this.ha=-1;ki.ma.i.call(this)};function mi(a,b,c){ki.call(this,a,1,0,b,c)}w(mi,ki);mi.prototype.j=function(){this.V.style.display="";mi.ma.j.call(this)};mi.prototype.i=function(){this.V.style.display="none";mi.ma.i.call(this)};
function ni(a,b,c,d,e){if(3!=b.length||3!=c.length)throw Error("Start and end points must be 3D");ji.call(this,a,b,c,d,e)}w(ni,ji);ni.prototype.s=function(){for(var a=[],b=0;b<this.coords.length;b++)a[b]=Math.round(this.coords[b]);this.V.style.backgroundColor="rgb("+a.join(",")+")"};function oi(a,b,c){O.call(this);this.target=a;this.s=b||a;this.ha=c||new oh(NaN,NaN,NaN,NaN);this.i=me(a);this.b=new R(this);af(this,this.b);this.deltaY=this.deltaX=this.ta=this.ra=this.screenY=this.screenX=this.clientY=this.clientX=0;this.o=!0;this.g=!1;M(this.s,["touchstart","mousedown"],this.wj,!1,this);this.j=pi}w(oi,O);var pi=n.document&&n.document.documentElement&&!!n.document.documentElement.setCapture&&!!n.document.releaseCapture;f=oi.prototype;f.Ga=function(a){this.o=a};
f.va=function(){oi.ma.va.call(this);Hf(this.s,["touchstart","mousedown"],this.wj,!1,this);Kg(this.b);this.j&&this.i.releaseCapture();this.s=this.target=null};
f.wj=function(a){var b="mousedown"==a.type;if(!this.o||this.g||b&&!nf(a))this.dispatchEvent("earlycancel");else if(this.dispatchEvent(new qi("start",this,a.clientX,a.clientY,a))){this.g=!0;b&&a.preventDefault();b=this.i;var c=b.documentElement,d=!this.j;this.b.ka(b,["touchmove","mousemove"],this.Sk,{capture:d,passive:!1});this.b.ka(b,["touchend","mouseup"],this.jf,d);this.j?(c.setCapture(!1),this.b.ka(c,"losecapture",this.jf)):this.b.ka(xe(b),"blur",this.jf);this.ua&&this.b.ka(this.ua,"scroll",this.$l,
d);this.clientX=this.ra=a.clientX;this.clientY=this.ta=a.clientY;this.screenX=a.screenX;this.screenY=a.screenY;this.deltaX=this.target.offsetLeft;this.deltaY=this.target.offsetTop;this.V=ue(ke(this.i).b)}};f.jf=function(a,b){Kg(this.b);this.j&&this.i.releaseCapture();this.g?(this.g=!1,this.dispatchEvent(new qi("end",this,a.clientX,a.clientY,a,ri(this,this.deltaX),si(this,this.deltaY),b||"touchcancel"==a.type))):this.dispatchEvent("earlycancel")};
f.Sk=function(a){if(this.o){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.g){var d=this.ra-this.clientX,e=this.ta-this.clientY;if(0<d*d+e*e)if(this.dispatchEvent(new qi("start",this,a.clientX,a.clientY,a)))this.g=!0;else{this.ac||this.jf(a);return}}c=ti(this,b,c);b=c.x;c=c.y;this.g&&this.dispatchEvent(new qi("beforedrag",this,a.clientX,a.clientY,a,b,c))&&(ui(this,a,b,c),a.preventDefault())}};
function ti(a,b,c){var d=ue(ke(a.i).b);b+=d.x-a.V.x;c+=d.y-a.V.y;a.V=d;a.deltaX+=b;a.deltaY+=c;return new G(ri(a,a.deltaX),si(a,a.deltaY))}f.$l=function(a){var b=ti(this,0,0);a.clientX=this.clientX;a.clientY=this.clientY;ui(this,a,b.x,b.y)};function ui(a,b,c,d){a.Rh(c,d);a.dispatchEvent(new qi("drag",a,b.clientX,b.clientY,b,c,d))}function ri(a,b){var c=a.ha,d=isNaN(c.left)?null:c.left;c=isNaN(c.width)?0:c.width;return Math.min(null!=d?d+c:Infinity,Math.max(null!=d?d:-Infinity,b))}
function si(a,b){var c=a.ha,d=isNaN(c.top)?null:c.top;c=isNaN(c.height)?0:c.height;return Math.min(null!=d?d+c:Infinity,Math.max(null!=d?d:-Infinity,b))}f.Rh=function(a,b){this.target.style.left=a+"px";this.target.style.top=b+"px"};function qi(a,b,c,d,e,g,h){gf.call(this,a);this.clientX=c;this.clientY=d;this.left=p(g)?g:b.deltaX;this.top=p(h)?h:b.deltaY}w(qi,gf);function vi(a){return Math.pow(a,3)}function wi(a){return 3*a*a-2*a*a*a};function xi(a){gf.call(this,"navigate");this.V=a}w(xi,gf);function yi(){return!(z("iPad")||z("Android")&&!z("Mobile")||z("Silk"))&&(z("iPod")||z("iPhone")||z("Android")||z("IEMobile"))};function zi(a,b){for(var c=[a],d=b.length-1;0<=d;--d)c.push(typeof b[d],b[d]);return c.join("\x0B")};function Ai(a,b,c,d){O.call(this);if(a&&!b)throw Error("Can't use invisible history without providing a blank page.");if(c)var e=c;else{e="history_state"+Bi;var g=cd("input",{type:"text",name:e,id:e,style:ec("display:none")});document.write(Wc(g));e=H(e)}this.V=e;this.b=c?xe(me(c)):window;this.ua=b;D&&!b&&(this.ua="https"==window.location.protocol?pc(dc(ec("https:///"))):pc(dc(ec('javascript:""'))));this.g=new rg(150);af(this,this.g);this.j=!a;this.i=new R(this);if(a||Ci){if(d)var h=d;else{a="history_iframe"+
Bi;d=this.ua;b={id:a,style:ec("display:none"),sandbox:void 0};d&&nc(d);c={};c.src=d||null;c.srcdoc=null;d={sandbox:""};e={};for(h in c)e[h]=c[h];for(h in d)e[h]=d[h];for(h in b){g=h.toLowerCase();if(g in c)throw Error('Cannot override "'+g+'" attribute, got "'+h+'" with value "'+b[h]+'"');g in d&&delete e[g];e[h]=b[h]}h=dd("iframe",e,void 0);document.write(Wc(h));h=H(a)}this.ra=h;this.Ba=!0}Ci&&(this.i.ka(this.b,"load",this.Vl),this.ya=this.ta=!1);this.j?Di(this,Ei(this),!0):Fi(this,this.V.value);
Bi++}w(Ai,O);Ai.prototype.ha=!1;Ai.prototype.s=!1;Ai.prototype.o=null;var Gi=function(a,b){var c=b||zi;return function(){var d=this||n;d=d.closure_memoize_cache_||(d.closure_memoize_cache_={});var e=c(Ha(a),arguments);return d.hasOwnProperty(e)?d[e]:d[e]=a.apply(this,arguments)}}(function(){return D?$d(8):"onhashchange"in n}),Ci=D&&!$d(8);f=Ai.prototype;f.fe=null;f.va=function(){Ai.ma.va.call(this);this.i.Da();this.Ga(!1)};
f.Ga=function(a){if(a!=this.ha)if(Ci&&!this.ta)this.ya=a;else if(a)if(Jd?this.i.ka(this.b.document,Hi,this.em):E&&this.i.ka(this.b,"pageshow",this.am),Gi()&&this.j)this.i.ka(this.b,"hashchange",this.Wl),this.ha=!0,this.dispatchEvent(new xi(Ei(this),!1));else{if(!D||yi()||this.ta)this.i.ka(this.g,"tick",u(this.ai,this,!0)),this.ha=!0,Ci||(this.o=Ei(this),this.dispatchEvent(new xi(Ei(this),!1))),this.g.start()}else this.ha=!1,Kg(this.i),this.g.stop()};
f.Vl=function(){this.ta=!0;this.V.value&&Fi(this,this.V.value,!0);this.Ga(this.ya)};f.am=function(a){a.g.persisted&&(this.Ga(!1),this.Ga(!0))};f.Wl=function(){var a=Ii(this.b);a!=this.o&&Ji(this,a,!0)};function Ei(a){return null!=a.fe?a.fe:a.j?Ii(a.b):Ki(a)||""}function Ii(a){a=a.location.href;var b=a.indexOf("#");return 0>b?"":a.substring(b+1)}function Di(a,b,c){a=a.b.location;var d=a.href.split("#")[0],e=-1!=a.href.indexOf("#");if(Ci||e||b)d+="#"+b;d!=a.href&&(b=yc(d),c?od(a,b):nd(a,b))}
function Fi(a,b,c,d){if(a.Ba||b!=Ki(a))if(a.Ba=!1,b=encodeURIComponent(String(b)),D){var e=Je(a.ra);e.open("text/html",c?"replace":void 0);c=gd(cd("title",{},d||a.b.document.title),cd("body",{},b));e.write(Wc(c));e.close()}else e=nc(a.ua).toString()+"#"+b,(a=a.ra.contentWindow)&&(c?od(a.location,e):nd(a.location,e))}
function Ki(a){if(D)return a=Je(a.ra),a.body?sd(a.body.innerHTML):null;var b=a.ra.contentWindow;if(b){try{var c=sd(Ii(b))}catch(d){return a.s||(1!=a.s&&sg(a.g,1E4),a.s=!0),null}a.s&&(0!=a.s&&sg(a.g,150),a.s=!1);return c||null}return null}f.ai=function(a){if(this.j){var b=Ii(this.b);b!=this.o&&Ji(this,b,a)}if(!this.j||Ci)if(b=Ki(this)||"",null==this.fe||b==this.fe)this.fe=null,b!=this.o&&Ji(this,b,a)};
function Ji(a,b,c){a.o=a.V.value=b;a.j?(Ci&&Fi(a,b),Di(a,b)):Fi(a,b);a.dispatchEvent(new xi(Ei(a),c))}f.em=function(){this.g.stop();this.g.start()};var Hi=["mousedown","keydown","mousemove"],Bi=0;var Li={};
function Mi(a){if(D&&!F(9))return[0,0,0,0];var b=Li.hasOwnProperty(a)?Li[a]:null;if(b)return b;65536<Object.keys(Li).length&&(Li={});var c=[0,0,0,0],d=RegExp("\\\\[0-9A-Fa-f]{1,5}\\s","g");b=Ni(a,RegExp("\\\\[0-9A-Fa-f]{6}\\s?","g"));b=Ni(b,d);b=Ni(b,/\\./g);b=b.replace(RegExp(":not\\(([^\\)]*)\\)","g")," $1 ");b=b.replace(RegExp("{[^]*","gm"),"");b=Oi(b,c,RegExp("(\\[[^\\]]+\\])","g"),2);b=Oi(b,c,RegExp("(#[^\\#\\s\\+>~\\.\\[:]+)","g"),1);b=Oi(b,c,RegExp("(\\.[^\\s\\+>~\\.\\[:]+)","g"),2);b=
Oi(b,c,/(::[^\s\+>~\.\[:]+|:first-line|:first-letter|:before|:after)/gi,3);b=Oi(b,c,/(:[\w-]+\([^\)]*\))/gi,2);b=Oi(b,c,/(:[^\s\+>~\.\[:]+)/g,2);b=b.replace(/[\*\s\+>~]/g," ");b=b.replace(/[#\.]/g," ");Oi(b,c,/([^\s\+>~\.\[:]+)/g,3);b=c;return Li[a]=b}function Oi(a,b,c,d){return a.replace(c,function(e){b[d]+=1;return Array(e.length+1).join(" ")})}function Ni(a,b){return a.replace(b,function(c){return Array(c.length+1).join("A")})};var Pi={"* ARIA-CHECKED":!0,"* ARIA-COLCOUNT":!0,"* ARIA-COLINDEX":!0,"* ARIA-DESCRIBEDBY":!0,"* ARIA-DISABLED":!0,"* ARIA-GOOG-EDITABLE":!0,"* ARIA-LABEL":!0,"* ARIA-LABELLEDBY":!0,"* ARIA-MULTILINE":!0,"* ARIA-MULTISELECTABLE":!0,"* ARIA-ORIENTATION":!0,"* ARIA-PLACEHOLDER":!0,"* ARIA-READONLY":!0,"* ARIA-REQUIRED":!0,"* ARIA-ROLEDESCRIPTION":!0,"* ARIA-ROWCOUNT":!0,"* ARIA-ROWINDEX":!0,"* ARIA-SELECTED":!0,"* ABBR":!0,"* ACCEPT":!0,"* ACCESSKEY":!0,"* ALIGN":!0,"* ALT":!0,"* AUTOCOMPLETE":!0,"* AXIS":!0,
"* BGCOLOR":!0,"* BORDER":!0,"* CELLPADDING":!0,"* CELLSPACING":!0,"* CHAROFF":!0,"* CHAR":!0,"* CHECKED":!0,"* CLEAR":!0,"* COLOR":!0,"* COLSPAN":!0,"* COLS":!0,"* COMPACT":!0,"* COORDS":!0,"* DATETIME":!0,"* DIR":!0,"* DISABLED":!0,"* ENCTYPE":!0,"* FACE":!0,"* FRAME":!0,"* HEIGHT":!0,"* HREFLANG":!0,"* HSPACE":!0,"* ISMAP":!0,"* LABEL":!0,"* LANG":!0,"* MAX":!0,"* MAXLENGTH":!0,"* METHOD":!0,"* MULTIPLE":!0,"* NOHREF":!0,"* NOSHADE":!0,"* NOWRAP":!0,"* OPEN":!0,"* READONLY":!0,"* REQUIRED":!0,
"* REL":!0,"* REV":!0,"* ROLE":!0,"* ROWSPAN":!0,"* ROWS":!0,"* RULES":!0,"* SCOPE":!0,"* SELECTED":!0,"* SHAPE":!0,"* SIZE":!0,"* SPAN":!0,"* START":!0,"* SUMMARY":!0,"* TABINDEX":!0,"* TITLE":!0,"* TYPE":!0,"* VALIGN":!0,"* VALUE":!0,"* VSPACE":!0,"* WIDTH":!0},Qi={"* USEMAP":!0,"* ACTION":!0,"* CITE":!0,"* HREF":!0,"* LONGDESC":!0,"* SRC":!0,"LINK HREF":!0,"* FOR":!0,"* HEADERS":!0,"* NAME":!0,"A TARGET":!0,"* CLASS":!0,"* ID":!0,"* STYLE":!0};var Ri={rgb:!0,rgba:!0,alpha:!0,rect:!0,image:!0,"linear-gradient":!0,"radial-gradient":!0,"repeating-linear-gradient":!0,"repeating-radial-gradient":!0,"cubic-bezier":!0,matrix:!0,perspective:!0,rotate:!0,rotate3d:!0,rotatex:!0,rotatey:!0,steps:!0,rotatez:!0,scale:!0,scale3d:!0,scalex:!0,scaley:!0,scalez:!0,skew:!0,skewx:!0,skewy:!0,translate:!0,translate3d:!0,translatex:!0,translatey:!0,translatez:!0},Si=/[\n\f\r"'()*<>]/g,Ti={"\n":"%0a","\f":"%0c","\r":"%0d",'"':"%22","'":"%27","(":"%28",")":"%29",
"*":"%2a","<":"%3c",">":"%3e"};function Ui(a){return Ti[a]}
function Vi(a,b,c){b=Hb(b);if(""==b)return null;var d=String(b.substr(0,4)).toLowerCase();if(0==("url("<d?-1:"url("==d?0:1)){if(!b.endsWith(")")||1<(b?b.split("(").length-1:0)||1<(b?b.split(")").length-1:0)||!c)a=null;else{a:for(b=b.substring(4,b.length-1),d=0;2>d;d++){var e="\"'".charAt(d);if(b.charAt(0)==e&&b.charAt(b.length-1)==e){b=b.substring(1,b.length-1);break a}}a=c?(a=c(b,a))&&"about:invalid#zClosurez"!=tc(a).toString()?'url("'+tc(a).toString().replace(Si,Ui)+'")':null:null}return a}if(0<
b.indexOf("(")){if(/"|'/.test(b))return null;for(a=/([\-\w]+)\(/g;c=a.exec(b);)if(!(c[1]in Ri))return null}return b};function Wi(a,b){var c=n[a];return c&&c.prototype?(c=Object.getOwnPropertyDescriptor(c.prototype,b))&&c.get||null:null}function Xi(a,b){var c=n[a];return c&&c.prototype&&c.prototype[b]||null}
var Yi=Wi("Element","attributes")||Wi("Node","attributes"),Zi=Xi("Element","hasAttribute"),$i=Xi("Element","getAttribute"),aj=Xi("Element","setAttribute"),bj=Xi("Element","removeAttribute"),cj=Xi("Element","getElementsByTagName"),dj=Xi("Element","matches")||Xi("Element","msMatchesSelector"),ej=Wi("Node","nodeName"),fj=Wi("Node","nodeType"),gj=Wi("Node","parentNode"),hj=Wi("HTMLElement","style")||Wi("Element","style"),ij=Wi("HTMLStyleElement","sheet"),jj=Xi("CSSStyleDeclaration","getPropertyValue"),
kj=Xi("CSSStyleDeclaration","setProperty");function lj(a,b,c,d){if(a)return a.apply(b);a=b[c];if(!d(a))throw Error("Clobbering detected");return a}function mj(a,b,c,d){if(a)return a.apply(b,d);if(D&&10>document.documentMode){if(!b[c].call)throw Error("IE Clobbering detected");}else if("function"!=typeof b[c])throw Error("Clobbering detected");return b[c].apply(b,d)}function nj(a){return lj(Yi,a,"attributes",function(b){return b instanceof NamedNodeMap})}
function oj(a,b,c){try{mj(aj,a,"setAttribute",[b,c])}catch(d){if(-1==d.message.indexOf("A security problem occurred"))throw d;}}function pj(a){return lj(hj,a,"style",function(b){return b instanceof CSSStyleDeclaration})}function qj(a){return lj(ij,a,"sheet",function(b){return b instanceof CSSStyleSheet})}function rj(a){return lj(ej,a,"nodeName",function(b){return"string"==typeof b})}function sj(a){return lj(fj,a,"nodeType",function(b){return"number"==typeof b})}
function tj(a){return lj(gj,a,"parentNode",function(b){return!(b&&"string"==typeof b.name&&b.name&&"parentnode"==b.name.toLowerCase())})}function uj(a,b){return mj(jj,a,a.getPropertyValue?"getPropertyValue":"getAttribute",[b])||""}function vj(a,b,c){mj(kj,a,a.setProperty?"setProperty":"setAttribute",[b,c])};var wj=D&&10>document.documentMode?null:RegExp("\\s*([^\\s'\",]+[^'\",]*(('([^'\\r\\n\\f\\\\]|\\\\[^])*')|(\"([^\"\\r\\n\\f\\\\]|\\\\[^])*\")|[^'\",])*)","g"),xj={"-webkit-border-horizontal-spacing":!0,"-webkit-border-vertical-spacing":!0};
function yj(a,b,c){var d=[];a=zj(ub(a.cssRules));x(a,function(e){if(b&&!/[a-zA-Z][\w-:\.]*/.test(b))throw Error("Invalid container id");if(!(b&&D&&10==document.documentMode&&/\\['"]/.test(e.selectorText))){var g=b?e.selectorText.replace(wj,"#"+b+" $1"):e.selectorText;d.push(Pc(g,Aj(e.style,c)))}});return Rc(d)}function zj(a){return ib(a,function(b){return b instanceof CSSStyleRule||b.type==CSSRule.STYLE_RULE})}
function Bj(a,b,c){a=Cj("<style>"+a+"</style>");return null==a||null==a.sheet?Tc:yj(a.sheet,void 0!=b?b:null,c)}function Cj(a){if(D&&!F(10)||"function"!=typeof n.DOMParser)return null;a=hd("<html><head></head><body>"+a+"</body></html>",null);return(new DOMParser).parseFromString(Wc(a),"text/html").body.children[0]}
function Aj(a,b){if(!a)return Ec;var c=document.createElement("div").style,d=Dj(a);x(d,function(e){var g=Md&&e in xj?e:e.replace(/^-(?:apple|css|epub|khtml|moz|mso?|o|rim|wap|webkit|xv)-(?=[a-z])/i,"");0!=g.lastIndexOf("--",0)&&0!=g.lastIndexOf("var",0)&&(e=uj(a,e),e=Vi(g,e,b),null!=e&&vj(c,g,e))});return Dc(c.cssText||"")}
function Ej(a){var b=Array.from(mj(cj,a,"getElementsByTagName",["STYLE"])),c=Fb(b,function(e){return ub(qj(e).cssRules)});c=zj(c);c.sort(function(e,g){var h=Mi(e.selectorText);a:{for(var k=Mi(g.selectorText),l=Ab,m=Math.min(h.length,k.length),q=0;q<m;q++){var B=l(h[q],k[q]);if(0!=B){h=B;break a}}h=Ab(h.length,k.length)}return-h});a=document.createTreeWalker(a,NodeFilter.SHOW_ELEMENT,null,!1);for(var d;d=a.nextNode();)x(c,function(e){mj(dj,d,d.matches?"matches":"msMatchesSelector",[e.selectorText])&&
e.style&&Fj(d,e.style)});x(b,K)}function Fj(a,b){var c=Dj(a.style),d=Dj(b);x(d,function(e){if(!(0<=c.indexOf(e))){var g=uj(b,e);vj(a.style,e,g)}})}function Dj(a){Ea(a)?a=ub(a):(a=Ra(a),qb(a,"cssText"));return a};var Gj="undefined"!=typeof WeakMap&&-1!=WeakMap.toString().indexOf("[native code]"),Hj=0;function Ij(){this.i=[];this.g=[];this.b="data-elementweakmap-index-"+Hj++}Ij.prototype.set=function(a,b){if(mj(Zi,a,"hasAttribute",[this.b])){var c=parseInt(mj($i,a,"getAttribute",[this.b])||null,10);this.g[c]=b}else c=this.g.push(b)-1,oj(a,this.b,c.toString()),this.i.push(a);return this};
Ij.prototype.get=function(a){if(mj(Zi,a,"hasAttribute",[this.b]))return a=parseInt(mj($i,a,"getAttribute",[this.b])||null,10),this.g[a]};Ij.prototype.clear=function(){this.i.forEach(function(a){mj(bj,a,"removeAttribute",[this.b])},this);this.i=[];this.g=[]};var Jj=!D||$d(10),Kj=!D||null==document.documentMode;function Lj(){};var Mj={APPLET:!0,AUDIO:!0,BASE:!0,BGSOUND:!0,EMBED:!0,FORM:!0,IFRAME:!0,ISINDEX:!0,KEYGEN:!0,LAYER:!0,LINK:!0,META:!0,OBJECT:!0,SCRIPT:!0,SVG:!0,STYLE:!0,TEMPLATE:!0,VIDEO:!0};var Oj={A:!0,ABBR:!0,ACRONYM:!0,ADDRESS:!0,AREA:!0,ARTICLE:!0,ASIDE:!0,B:!0,BDI:!0,BDO:!0,BIG:!0,BLOCKQUOTE:!0,BR:!0,BUTTON:!0,CAPTION:!0,CENTER:!0,CITE:!0,CODE:!0,COL:!0,COLGROUP:!0,DATA:!0,DATALIST:!0,DD:!0,DEL:!0,DETAILS:!0,DFN:!0,DIALOG:!0,DIR:!0,DIV:!0,DL:!0,DT:!0,EM:!0,FIELDSET:!0,FIGCAPTION:!0,FIGURE:!0,FONT:!0,FOOTER:!0,FORM:!0,H1:!0,H2:!0,H3:!0,H4:!0,H5:!0,H6:!0,HEADER:!0,HGROUP:!0,HR:!0,I:!0,IMG:!0,INPUT:!0,INS:!0,KBD:!0,LABEL:!0,LEGEND:!0,LI:!0,MAIN:!0,MAP:!0,MARK:!0,MENU:!0,METER:!0,NAV:!0,
NOSCRIPT:!0,OL:!0,OPTGROUP:!0,OPTION:!0,OUTPUT:!0,P:!0,PRE:!0,PROGRESS:!0,Q:!0,S:!0,SAMP:!0,SECTION:!0,SELECT:!0,SMALL:!0,SOURCE:!0,SPAN:!0,STRIKE:!0,STRONG:!0,STYLE:!0,SUB:!0,SUMMARY:!0,SUP:!0,TABLE:!0,TBODY:!0,TD:!0,TEXTAREA:!0,TFOOT:!0,TH:!0,THEAD:!0,TIME:!0,TR:!0,TT:!0,U:!0,UL:!0,VAR:!0,WBR:!0};function Pj(a){a=a||new Qj;Rj(a);this.b=Xa(a.b);this.j=Xa(a.$a);this.o=Xa(a.ta);this.ha=a.ha;x(a.s,function(b){if(0!=b.lastIndexOf("data-",0))throw new eb('Only "data-" attributes allowed, got: %s.',[b]);if(0==b.lastIndexOf("data-sanitizer-",0))throw new eb('Attributes with "%s" prefix are not allowed, got: %s.',["data-sanitizer-",b]);this.b["* "+b.toUpperCase()]=Sj},this);this.V=a.i;this.i=a.ra;this.g=null;this.s=a.V}w(Pj,Lj);
function Tj(a){return function(b,c){var d=a(Hb(b),c);return d&&"about:invalid#zClosurez"!=tc(d).toString()?tc(d).toString():null}}function Qj(){this.b={};x([Pi,Qi],function(a){x(Ra(a),function(b){this.b[b]=Sj},this)},this);this.g={};this.s=[];this.$a=Xa(Mj);this.ta=Xa(Oj);this.ha=!1;this.Ba=xc;this.ya=this.o=this.ua=this.i=Yb;this.ra=null;this.j=this.V=!1}function Uj(a,b){return function(c,d,e,g){c=a(c,d,e,g);return null==c?null:b(c,d,e,g)}}function Vj(a,b,c,d){a[c]&&!b[c]&&(a[c]=Uj(a[c],d))}
function Rj(a){if(a.j)throw Error("HtmlSanitizer.Builder.build() can only be used once.");Vj(a.b,a.g,"* USEMAP",Wj);var b=Tj(a.Ba);x(["* ACTION","* CITE","* HREF"],function(d){Vj(this.b,this.g,d,b)},a);var c=Tj(a.i);x(["* LONGDESC","* SRC","LINK HREF"],function(d){Vj(this.b,this.g,d,c)},a);x(["* FOR","* HEADERS","* NAME"],function(d){Vj(this.b,this.g,d,v(Xj,this.ua))},a);Vj(a.b,a.g,"A TARGET",v(Yj,["_blank","_self"]));Vj(a.b,a.g,"* CLASS",v(Zj,a.o));Vj(a.b,a.g,"* ID",v(ak,a.o));Vj(a.b,a.g,"* STYLE",
v(a.ya,c));a.j=!0}function bk(a,b){a||(a="*");return(a+" "+b).toUpperCase()}function Sj(a){return Hb(a)}function Yj(a,b){var c=Hb(b);return ob(a,c.toLowerCase())?c:null}function Wj(a){return(a=Hb(a))&&"#"==a.charAt(0)?a:null}function Xj(a,b,c){return a(Hb(b),c)}function Zj(a,b,c){b=b.split(/(?:\s+)/);for(var d=[],e=0;e<b.length;e++){var g=a(b[e],c);g&&d.push(g)}return 0==d.length?null:d.join(" ")}function ak(a,b,c){return a(Hb(b),c)}
function ck(a,b){var c=!("STYLE"in a.j)&&"STYLE"in a.o;c="*"==a.i&&c?"sanitizer-"+Ad():a.i;a.g=c;if(Jj){var d=b;if(Jj){c=J("SPAN");a.g&&"*"==a.i&&(c.id=a.g);a.s&&(d=Cj("<div>"+d+"</div>"),Ej(d),d=d.innerHTML);d=hd(d,null);var e=document.createElement("template");if(Kj&&"content"in e)C(e,d),e=e.content;else{var g=document.implementation.createHTMLDocument("x");e=g.body;C(g.body,d)}d=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT|NodeFilter.SHOW_TEXT,null,!1);for(e=Gj?new WeakMap:new Ij;g=d.nextNode();){c:{var h=
a;var k=g;switch(sj(k)){case 3:h=dk(h,k);break c;case 1:if("TEMPLATE"==rj(k).toUpperCase())h=null;else{var l=rj(k).toUpperCase();if(l in h.j)var m=null;else h.o[l]?m=document.createElement(l):(m=J("SPAN"),h.ha&&oj(m,"data-sanitizer-original-tag",l.toLowerCase()));if(m){var q=m,B=nj(k);if(null!=B)for(var A=0;l=B[A];A++)if(l.specified){var N=h;var fa=k,ja=l,xb=ja.name;if(0==xb.lastIndexOf("data-sanitizer-",0))N=null;else{var sf=rj(fa);ja=ja.value;var $a={tagName:Hb(sf).toLowerCase(),attributeName:Hb(xb).toLowerCase()},
Nj={Qj:void 0};"style"==$a.attributeName&&(Nj.Qj=pj(fa));fa=bk(sf,xb);fa in N.b?(N=N.b[fa],N=N(ja,$a,Nj)):(xb=bk(null,xb),xb in N.b?(N=N.b[xb],N=N(ja,$a,Nj)):N=null)}null===N||oj(q,l.name,N)}h=m}else h=null}break c;default:h=null}}if(h){if(1==sj(h)&&e.set(g,h),g=tj(g),k=!1,g)l=sj(g),m=rj(g).toLowerCase(),q=tj(g),11!=l||q?"body"==m&&q&&(l=tj(q))&&!tj(l)&&(k=!0):k=!0,l=null,k||!g?l=c:1==sj(g)&&(l=e.get(g)),l.content&&(l=l.content),l.appendChild(h)}else De(g)}e.clear&&e.clear()}else c=J("SPAN");0<nj(c).length&&
(d=J("SPAN"),d.appendChild(c),c=d);c=(new XMLSerializer).serializeToString(c);c=c.slice(c.indexOf(">")+1,c.lastIndexOf("</"))}else c="";return hd(c,null)}function dk(a,b){var c=b.data,d=tj(b);d&&"style"==rj(d).toLowerCase()&&!("STYLE"in a.j)&&"STYLE"in a.o&&(c=Sc(Bj(c,a.g,u(function(e,g){return this.V(e,{Pm:g})},a))));return document.createTextNode(c)};function ek(a){return ud(Hb(a.replace(fk,function(b,c){return gk.test(c)?"":" "}).replace(/[\t\n ]+/g," ")))}var gk=/^(?:abbr|acronym|address|b|em|i|small|strong|su[bp]|u)$/i,fk=/<[!\/]?([a-z0-9]+)([\/ ][^>]*)?>/gi;function hk(a){a=String(a);if(/^\s*$/.test(a)?0:/^[\],:{}\s\u2028\u2029]*$/.test(a.replace(/\\["\\\/bfnrtu]/g,"@").replace(/(?:"[^"\\\n\r\u2028\u2029\x00-\x08\x0a-\x1f]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?)[\s\u2028\u2029]*(?=:|,|]|}|$)/g,"]").replace(/(?:^|:|,)(?:[\s\u2028\u2029]*\[)+/g,"")))try{return eval("("+a+")")}catch(b){}throw Error("Invalid JSON string: "+a);};function ik(a,b){this.x=a;this.y=b}w(ik,G);function jk(a){return new ik(a.x,a.y)}ik.prototype.clone=function(){return new ik(this.x,this.y)};ik.prototype.Bg=G.prototype.Bg;ik.prototype.add=function(a){this.x+=a.x;this.y+=a.y;return this};/*
Portions of this code are from MochiKit, received by
The Closure Authors under the MIT license. All other code is Copyright
2005-2009 The Closure Authors. All Rights Reserved.
*/
function kk(a){var b=lk;this.o=[];this.ua=b;this.ta=a||null;this.j=this.b=!1;this.i=void 0;this.ra=this.ya=this.V=!1;this.s=0;this.g=null;this.ha=0}kk.prototype.cancel=function(a){if(this.b)this.i instanceof kk&&this.i.cancel();else{if(this.g){var b=this.g;delete this.g;a?b.cancel(a):(b.ha--,0>=b.ha&&b.cancel())}this.ua?this.ua.call(this.ta,this):this.ra=!0;this.b||(a=new mk(this),nk(this),ok(this,!1,a))}};kk.prototype.$a=function(a,b){this.V=!1;ok(this,a,b)};
function ok(a,b,c){a.b=!0;a.i=c;a.j=!b;pk(a)}function nk(a){if(a.b){if(!a.ra)throw new qk(a);a.ra=!1}}kk.prototype.Oh=function(a){nk(this);ok(this,!0,a)};function rk(a,b,c,d){a.o.push([b,c,d]);a.b&&pk(a)}kk.prototype.then=function(a,b,c){var d,e,g=new bg(function(h,k){d=h;e=k});rk(this,d,function(h){h instanceof mk?g.cancel():e(h)});return g.then(a,b,c)};kk.prototype.$goog_Thenable=!0;function sk(a){return kb(a.o,function(b){return Fa(b[1])})}
function pk(a){if(a.s&&a.b&&sk(a)){var b=a.s,c=tk[b];c&&(n.clearTimeout(c.Oa),delete tk[b]);a.s=0}a.g&&(a.g.ha--,delete a.g);b=a.i;for(var d=c=!1;a.o.length&&!a.V;){var e=a.o.shift(),g=e[0],h=e[1];e=e[2];if(g=a.j?h:g)try{var k=g.call(e||a.ta,b);p(k)&&(a.j=a.j&&(k==b||k instanceof Error),a.i=b=k);if(ag(b)||"function"===typeof n.Promise&&b instanceof n.Promise)d=!0,a.V=!0}catch(l){b=l,a.j=!0,sk(a)||(c=!0)}}a.i=b;d&&(k=u(a.$a,a,!0),d=u(a.$a,a,!1),b instanceof kk?(rk(b,k,d),b.ya=!0):b.then(k,d));c&&(b=
new uk(b),tk[b.Oa]=b,a.s=b.Oa)}function qk(){cb.call(this)}w(qk,cb);qk.prototype.message="Deferred has already fired";qk.prototype.name="AlreadyCalledError";function mk(){cb.call(this)}w(mk,cb);mk.prototype.message="Deferred was canceled";mk.prototype.name="CanceledError";function uk(a){this.Oa=n.setTimeout(u(this.g,this),0);this.b=a}uk.prototype.g=function(){delete tk[this.Oa];throw this.b;};var tk={};function vk(a,b){var c=b||{},d=c.document||document,e=nc(a).toString(),g=J("SCRIPT"),h={qj:g,Id:void 0},k=new kk(h),l=null,m=null!=c.timeout?c.timeout:5E3;0<m&&(l=window.setTimeout(function(){wk(g,!0);var q=new xk(1,"Timeout reached for loading script "+e);nk(k);ok(k,!1,q)},m),h.Id=l);g.onload=g.onreadystatechange=function(){g.readyState&&"loaded"!=g.readyState&&"complete"!=g.readyState||(wk(g,c.Mj||!1,l),k.Oh(null))};g.onerror=function(){wk(g,!0,l);var q=new xk(0,"Error while loading script "+e);
nk(k);ok(k,!1,q)};h=c.attributes||{};Za(h,{type:"text/javascript",charset:"UTF-8"});qe(g,h);md(g,a);yk(d).appendChild(g);return k}function yk(a){var b=(a||document).getElementsByTagName("HEAD");return b&&0!=b.length?b[0]:a.documentElement}function lk(){if(this&&this.qj){var a=this.qj;a&&"SCRIPT"==a.tagName&&wk(a,!0,this.Id)}}function wk(a,b,c){null!=c&&n.clearTimeout(c);a.onload=t;a.onerror=t;a.onreadystatechange=t;b&&window.setTimeout(function(){K(a)},0)}
function xk(a,b){var c="Jsloader error (code #"+a+")";b&&(c+=": "+b);cb.call(this,c);this.code=a}w(xk,cb);function zk(){this.b=Ak;this.Id=5E3}var Bk=0;zk.prototype.send=function(a,b,c,d){a=a?Xa(a):{};d=d||"_"+(Bk++).toString(36)+Ma().toString(36);var e="_callbacks___"+d;b&&(n[e]=Ck(d,b),a.callback=e);b={timeout:this.Id,Mj:!0};e=nc(this.b).toString();e=oc.exec(e);var g=e[3]||"";e=pc(e[1]+qc("?",e[2]||"",a)+qc("#",g,void 0));b=vk(e,b);rk(b,null,Dk(d,a,c),void 0);return{Oa:d,Sh:b}};zk.prototype.cancel=function(a){a&&(a.Sh&&a.Sh.cancel(),a.Oa&&Ek(a.Oa,!1))};
function Dk(a,b,c){return function(){Ek(a,!1);c&&c(b)}}function Ck(a,b){return function(c){Ek(a,!0);b.apply(void 0,arguments)}}function Ek(a,b){var c="_callbacks___"+a;if(n[c])if(b)try{delete n[c]}catch(d){n[c]=void 0}else n[c]=t};function Fk(){}Fk.prototype.b=null;function Gk(a){var b;(b=a.b)||(b={},Hk(a)&&(b[0]=!0,b[1]=!0),b=a.b=b);return b};var Ik;function Jk(){}w(Jk,Fk);function Kk(a){return(a=Hk(a))?new ActiveXObject(a):new XMLHttpRequest}function Hk(a){if(!a.g&&"undefined"==typeof XMLHttpRequest&&"undefined"!=typeof ActiveXObject){for(var b=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"],c=0;c<b.length;c++){var d=b[c];try{return new ActiveXObject(d),a.g=d}catch(e){}}throw Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed");}return a.g}Ik=new Jk;function Lk(a,b){this.g={};this.b=[];this.i=0;var c=arguments.length;if(1<c){if(c%2)throw Error("Uneven number of arguments");for(var d=0;d<c;d+=2)this.set(arguments[d],arguments[d+1])}else if(a)if(a instanceof Lk)for(c=a.Wb(),d=0;d<c.length;d++)this.set(c[d],a.get(c[d]));else for(d in a)this.set(d,a[d])}f=Lk.prototype;f.wb=function(){Mk(this);for(var a=[],b=0;b<this.b.length;b++)a.push(this.g[this.b[b]]);return a};f.Wb=function(){Mk(this);return this.b.concat()};
function Nk(a,b){return Ok(a.g,b)}f.remove=function(a){return Ok(this.g,a)?(delete this.g[a],this.i--,this.b.length>2*this.i&&Mk(this),!0):!1};function Mk(a){if(a.i!=a.b.length){for(var b=0,c=0;b<a.b.length;){var d=a.b[b];Ok(a.g,d)&&(a.b[c++]=d);b++}a.b.length=c}if(a.i!=a.b.length){var e={};for(c=b=0;b<a.b.length;)d=a.b[b],Ok(e,d)||(a.b[c++]=d,e[d]=1),b++;a.b.length=c}}f.get=function(a,b){return Ok(this.g,a)?this.g[a]:b};f.set=function(a,b){Ok(this.g,a)||(this.i++,this.b.push(a));this.g[a]=b};
f.forEach=function(a,b){for(var c=this.Wb(),d=0;d<c.length;d++){var e=c[d],g=this.get(e);a.call(b,g,e,this)}};f.clone=function(){return new Lk(this)};function Ok(a,b){return Object.prototype.hasOwnProperty.call(a,b)};function Pk(a){if(a.wb&&"function"==typeof a.wb)return a.wb();if(r(a))return a.split("");if(Ea(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}b=[];c=0;for(d in a)b[c++]=a[d];return b}function Qk(a){if(a.Wb&&"function"==typeof a.Wb)return a.Wb();if(!a.wb||"function"!=typeof a.wb){if(Ea(a)||r(a)){var b=[];a=a.length;for(var c=0;c<a;c++)b.push(c);return b}return Ra(a)}}
function Rk(a,b){if(a.forEach&&"function"==typeof a.forEach)a.forEach(b,void 0);else if(Ea(a)||r(a))x(a,b,void 0);else for(var c=Qk(a),d=Pk(a),e=d.length,g=0;g<e;g++)b.call(void 0,d[g],c&&c[g],a)};var Sk=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/#?]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/;function Tk(a,b){if(a)for(var c=a.split("&"),d=0;d<c.length;d++){var e=c[d].indexOf("="),g=null;if(0<=e){var h=c[d].substring(0,e);g=c[d].substring(e+1)}else h=c[d];b(h,g?sd(g):"")}}
function Uk(a,b,c){c=null!=c?"="+encodeURIComponent(String(c)):"";if(b+=c){c=a.indexOf("#");0>c&&(c=a.length);var d=a.indexOf("?");if(0>d||d>c){d=c;var e=""}else e=a.substring(d+1,c);a=[a.substr(0,d),e,a.substr(c)];c=a[1];a[1]=b?c?c+"&"+b:b:c;a=a[0]+(a[1]?"?"+a[1]:"")+a[2]}return a}function Vk(a,b,c,d){for(var e=c.length;0<=(b=a.indexOf(c,b))&&b<d;){var g=a.charCodeAt(b-1);if(38==g||63==g)if(g=a.charCodeAt(b+e),!g||61==g||38==g||35==g)return b;b+=e+1}return-1}var Wk=/#|$/;
function Xk(a){var b=window.location.href,c=b.search(Wk),d=Vk(b,0,a,c);if(0>d)return null;var e=b.indexOf("&",d);if(0>e||e>c)e=c;d+=a.length+1;return sd(b.substr(d,e-d))}var Yk=/[?&]($|#)/;function Zk(a){O.call(this);this.headers=new Lk;this.V=a||null;this.g=!1;this.s=this.b=null;this.ta="";this.i=this.ra=this.j=this.ha=!1;this.ua=0;this.o=null;this.Ba="";this.ya=this.Sa=!1}w(Zk,O);var $k=/^https?$/i,al=["POST","PUT"],bl=[];function cl(a,b,c){var d=new Zk;bl.push(d);b&&d.ka("complete",b);d.nd("ready",d.Lj);d.send(a,c,void 0,void 0)}f=Zk.prototype;f.Lj=function(){this.Da();qb(bl,this)};
f.send=function(a,b,c,d){if(this.b)throw Error("[goog.net.XhrIo] Object is active with another request="+this.ta+"; newUri="+a);b=b?b.toUpperCase():"GET";this.ta=a;this.ha=!1;this.g=!0;this.b=this.V?Kk(this.V):Kk(Ik);this.s=this.V?Gk(this.V):Gk(Ik);this.b.onreadystatechange=u(this.bj,this);try{this.ra=!0,this.b.open(b,String(a),!0),this.ra=!1}catch(g){dl(this);return}a=c||"";var e=this.headers.clone();d&&Rk(d,function(g,h){e.set(h,g)});d=mb(e.Wb(),el);c=n.FormData&&a instanceof n.FormData;!ob(al,
b)||d||c||e.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");e.forEach(function(g,h){this.b.setRequestHeader(h,g)},this);this.Ba&&(this.b.responseType=this.Ba);"withCredentials"in this.b&&this.b.withCredentials!==this.Sa&&(this.b.withCredentials=this.Sa);try{fl(this),0<this.ua&&((this.ya=gl(this.b))?(this.b.timeout=this.ua,this.b.ontimeout=u(this.Id,this)):this.o=P(this.Id,this.ua,this)),this.j=!0,this.b.send(a),this.j=!1}catch(g){dl(this)}};
function gl(a){return D&&F(9)&&xa(a.timeout)&&p(a.ontimeout)}function el(a){return"content-type"==a.toLowerCase()}f.Id=function(){"undefined"!=typeof wa&&this.b&&(this.dispatchEvent("timeout"),this.abort(8))};function dl(a){a.g=!1;a.b&&(a.i=!0,a.b.abort(),a.i=!1);hl(a);il(a)}function hl(a){a.ha||(a.ha=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))}f.abort=function(){this.b&&this.g&&(this.g=!1,this.i=!0,this.b.abort(),this.i=!1,this.dispatchEvent("complete"),this.dispatchEvent("abort"),il(this))};
f.va=function(){this.b&&(this.g&&(this.g=!1,this.i=!0,this.b.abort(),this.i=!1),il(this,!0));Zk.ma.va.call(this)};f.bj=function(){this.ac||(this.ra||this.j||this.i?jl(this):this.Zl())};f.Zl=function(){jl(this)};
function jl(a){if(a.g&&"undefined"!=typeof wa&&(!a.s[1]||4!=(a.b?a.b.readyState:0)||2!=kl(a)))if(a.j&&4==(a.b?a.b.readyState:0))P(a.bj,0,a);else if(a.dispatchEvent("readystatechange"),4==(a.b?a.b.readyState:0)){a.g=!1;try{ll(a)?(a.dispatchEvent("complete"),a.dispatchEvent("success")):hl(a)}finally{il(a)}}}function il(a,b){if(a.b){fl(a);var c=a.b,d=a.s[0]?t:null;a.b=null;a.s=null;b||a.dispatchEvent("ready");try{c.onreadystatechange=d}catch(e){}}}
function fl(a){a.b&&a.ya&&(a.b.ontimeout=null);a.o&&(tg(a.o),a.o=null)}function ll(a){var b=kl(a);a:switch(b){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:var c=!0;break a;default:c=!1}if(!c){if(b=0===b)a=String(a.ta).match(Sk)[1]||null,!a&&n.self&&n.self.location&&(a=n.self.location.protocol,a=a.substr(0,a.length-1)),b=!$k.test(a?a.toLowerCase():"");c=b}return c}function kl(a){try{return 2<(a.b?a.b.readyState:0)?a.b.status:-1}catch(b){return-1}}
function ml(a){if(a.b){a:{a=a.b.responseText;if(n.JSON)try{var b=n.JSON.parse(a);break a}catch(c){}b=hk(a)}return b}};function V(a){this.s=this.V=this.o="";this.ha=null;this.g=this.j="";this.i=!1;var b;a instanceof V?(this.i=p(void 0)?void 0:a.i,nl(this,a.o),this.V=a.V,this.s=a.s,ol(this,a.ha),this.j=a.j,pl(this,a.b.clone()),this.g=a.g):a&&(b=String(a).match(Sk))?(this.i=!1,nl(this,b[1]||"",!0),this.V=ql(b[2]||""),this.s=ql(b[3]||"",!0),ol(this,b[4]),this.j=ql(b[5]||"",!0),pl(this,b[6]||"",!0),this.g=ql(b[7]||"")):(this.i=!1,this.b=new rl(null,this.i))}
V.prototype.toString=function(){var a=[],b=this.o;b&&a.push(sl(b,tl,!0),":");var c=this.s;if(c||"file"==b)a.push("//"),(b=this.V)&&a.push(sl(b,tl,!0),"@"),a.push(encodeURIComponent(String(c)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.ha,null!=c&&a.push(":",String(c));if(c=this.j)this.s&&"/"!=c.charAt(0)&&a.push("/"),a.push(sl(c,"/"==c.charAt(0)?ul:vl,!0));(c=this.b.toString())&&a.push("?",c);(c=this.g)&&a.push("#",sl(c,wl));return a.join("")};V.prototype.clone=function(){return new V(this)};
function nl(a,b,c){a.o=c?ql(b,!0):b;a.o&&(a.o=a.o.replace(/:$/,""))}function ol(a,b){if(b){b=Number(b);if(isNaN(b)||0>b)throw Error("Bad port number "+b);a.ha=b}else a.ha=null}function pl(a,b,c){b instanceof rl?(a.b=b,xl(a.b,a.i)):(c||(b=sl(b,yl)),a.b=new rl(b,a.i))}V.prototype.getQuery=function(){return this.b.toString()};function W(a,b,c){a.b.set(b,c);return a}function zl(a,b){return a.b.get(b)}function ql(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""}
function sl(a,b,c){return r(a)?(a=encodeURI(a).replace(b,Al),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null}function Al(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)}var tl=/[#\/\?@]/g,vl=/[#\?:]/g,ul=/[#\?]/g,yl=/[#\?@]/g,wl=/#/g;function rl(a,b){this.g=this.b=null;this.i=a||null;this.j=!!b}function Bl(a){a.b||(a.b=new Lk,a.g=0,a.i&&Tk(a.i,function(b,c){a.add(sd(b),c)}))}f=rl.prototype;
f.add=function(a,b){Bl(this);this.i=null;a=Cl(this,a);var c=this.b.get(a);c||this.b.set(a,c=[]);c.push(b);this.g+=1;return this};f.remove=function(a){Bl(this);a=Cl(this,a);return Nk(this.b,a)?(this.i=null,this.g-=this.b.get(a).length,this.b.remove(a)):!1};function Dl(a,b){Bl(a);b=Cl(a,b);return Nk(a.b,b)}f.forEach=function(a,b){Bl(this);this.b.forEach(function(c,d){x(c,function(e){a.call(b,e,d,this)},this)},this)};
f.Wb=function(){Bl(this);for(var a=this.b.wb(),b=this.b.Wb(),c=[],d=0;d<b.length;d++)for(var e=a[d],g=0;g<e.length;g++)c.push(b[d]);return c};f.wb=function(a){Bl(this);var b=[];if(r(a))Dl(this,a)&&(b=tb(b,this.b.get(Cl(this,a))));else{a=this.b.wb();for(var c=0;c<a.length;c++)b=tb(b,a[c])}return b};f.set=function(a,b){Bl(this);this.i=null;a=Cl(this,a);Dl(this,a)&&(this.g-=this.b.get(a).length);this.b.set(a,[b]);this.g+=1;return this};
f.get=function(a,b){if(!a)return b;var c=this.wb(a);return 0<c.length?String(c[0]):b};function El(a,b,c){a.remove(b);0<c.length&&(a.i=null,a.b.set(Cl(a,b),ub(c)),a.g+=c.length)}f.toString=function(){if(this.i)return this.i;if(!this.b)return"";for(var a=[],b=this.b.Wb(),c=0;c<b.length;c++){var d=b[c],e=encodeURIComponent(String(d));d=this.wb(d);for(var g=0;g<d.length;g++){var h=e;""!==d[g]&&(h+="="+encodeURIComponent(String(d[g])));a.push(h)}}return this.i=a.join("&")};
f.clone=function(){var a=new rl;a.i=this.i;this.b&&(a.b=this.b.clone(),a.g=this.g);return a};function Cl(a,b){var c=String(b);a.j&&(c=c.toLowerCase());return c}function xl(a,b){b&&!a.j&&(Bl(a),a.i=null,a.b.forEach(function(c,d){var e=d.toLowerCase();d!=e&&(this.remove(d),El(this,e,c))},a));a.j=b};function Fl(){}Fl.prototype.Gb=function(){};function Gl(a,b,c,d,e,g,h,k,l){var m=Hl(c),q=Nh(a),B=Eh(a);if(B){var A=qh(B);B=Math.max(q.left,A.left);var N=Math.min(q.left+q.width,A.left+A.width);if(B<=N){var fa=Math.max(q.top,A.top);A=Math.min(q.top+q.height,A.top+A.height);fa<=A&&(q.left=B,q.top=fa,q.width=N-B,q.height=A-fa)}}B=ke(a);fa=ke(c);if(B.b!=fa.b){N=B.b.body;fa=we(fa.b);A=new G(0,0);var ja=xe(me(N));if(Gd(ja,"parent")){var xb=N;do{var sf=ja==fa?Fh(xb):Lh(xb);A.x+=sf.x;A.y+=sf.y}while(ja&&ja!=fa&&ja!=ja.parent&&(xb=ja.frameElement)&&
(ja=ja.parent))}N=he(A,Fh(N));!D||$d(9)||te(B.b)||(N=he(N,ue(B.b)));q.left+=N.x;q.top+=N.y}a=Il(a,b);b=q.left;a&4?b+=q.width:a&2&&(b+=q.width/2);q=new G(b,q.top+(a&1?q.height:0));q=he(q,m);e&&(q.x+=(a&4?-1:1)*e.x,q.y+=(a&1?-1:1)*e.y);if(h)if(l)var $a=l;else if($a=Eh(c))$a.top-=m.y,$a.right-=m.x,$a.bottom-=m.y,$a.left-=m.x;return Jl(q,c,d,g,$a,h,k)}
function Hl(a){if(a=a.offsetParent){var b="HTML"==a.tagName||"BODY"==a.tagName;if(!b||"static"!=xh(a,"position")){var c=Fh(a);if(!b){b=Ph(a);var d;if(d=b){if(d=gi)d=0<=Qb(ii,10);var e;if(e=Td)e=0<=Qb(ai,10);d=E||d||e}b=d?-a.scrollLeft:!b||Ld&&F("8")||"visible"==xh(a,"overflowX")?a.scrollLeft:a.scrollWidth-a.clientWidth-a.scrollLeft;c=he(c,new G(b,a.scrollTop))}}}return c||new G}
function Jl(a,b,c,d,e,g,h){a=a.clone();var k=Il(b,c);c=Mh(b);h=h?h.clone():c.clone();a=a.clone();h=h.clone();var l=0;if(d||0!=k)k&4?a.x-=h.width+(d?d.right:0):k&2?a.x-=h.width/2:d&&(a.x+=d.left),k&1?a.y-=h.height+(d?d.bottom:0):d&&(a.y+=d.top);if(g){if(e){d=a;k=h;l=0;65==(g&65)&&(d.x<e.left||d.x>=e.right)&&(g&=-2);132==(g&132)&&(d.y<e.top||d.y>=e.bottom)&&(g&=-5);d.x<e.left&&g&1&&(d.x=e.left,l|=1);if(g&16){var m=d.x;d.x<e.left&&(d.x=e.left,l|=4);d.x+k.width>e.right&&(k.width=Math.min(e.right-d.x,
m+k.width-e.left),k.width=Math.max(k.width,0),l|=4)}d.x+k.width>e.right&&g&1&&(d.x=Math.max(e.right-k.width,e.left),l|=1);g&2&&(l|=(d.x<e.left?16:0)|(d.x+k.width>e.right?32:0));d.y<e.top&&g&4&&(d.y=e.top,l|=2);g&32&&(m=d.y,d.y<e.top&&(d.y=e.top,l|=8),d.y+k.height>e.bottom&&(k.height=Math.min(e.bottom-d.y,m+k.height-e.top),k.height=Math.max(k.height,0),l|=8));d.y+k.height>e.bottom&&g&4&&(d.y=Math.max(e.bottom-k.height,e.top),l|=2);g&8&&(l|=(d.y<e.top?64:0)|(d.y+k.height>e.bottom?128:0));e=l}else e=
256;l=e}e=new oh(0,0,0,0);e.left=a.x;e.top=a.y;e.width=h.width;e.height=h.height;a=l;if(a&496)return a;yh(b,new G(e.left,e.top));h=e.Aa();je(c,h)||Sh(b,h);return a}function Il(a,b){return(b&8&&Ph(a)?b^4:b)&-9};function Kl(a,b){this.b=a instanceof G?a:new G(a,b)}w(Kl,Fl);Kl.prototype.Gb=function(a,b,c,d){Jl(this.b,a,b,c,null,null,d)};function Ll(a,b,c){this.b=a;this.g=b;this.V=c}w(Ll,Fl);Ll.prototype.Gb=function(a,b,c){Gl(this.b,this.g,a,b,void 0,c,this.V)};function Ml(a,b,c,d){Ll.call(this,a,b);this.i=c?5:0;this.o=d||void 0}w(Ml,Ll);Ml.prototype.s=function(){return this.i};Ml.prototype.j=function(a){this.i=a};Ml.prototype.Gb=function(a,b,c,d){var e=Gl(this.b,this.g,a,b,null,c,10,d,this.o);if(e&496){var g=Nl(e,this.g);b=Nl(e,b);e=Gl(this.b,g,a,b,null,c,10,d,this.o);e&496&&(g=Nl(e,g),b=Nl(e,b),Gl(this.b,g,a,b,null,c,this.i,d,this.o))}};function Nl(a,b){a&48&&(b^=4);a&192&&(b^=1);return b};function Ol(a,b){this.b=a instanceof G?a:new G(a,b)}w(Ol,Fl);Ol.prototype.Gb=function(a,b,c,d){var e=me(a);var g=e.body;e=e.documentElement;e=new G(g.scrollLeft||e.scrollLeft,g.scrollTop||e.scrollTop);g=this.b.x+e.x;e=this.b.y+e.y;var h=Hl(a);g-=h.x;e-=h.y;Jl(new G(g,e),a,b,c,null,null,d)};function Pl(a,b,c,d){Ml.call(this,a,b,c||d);(c||d)&&this.j(65|(d?32:132))}w(Pl,Ml);function Ql(a,b){Ol.call(this,a,b)}w(Ql,Ol);Ql.prototype.g=0;Ql.prototype.j=function(a){this.g=a};Ql.prototype.Gb=function(a,b,c,d){var e=Bh(a);e=Eh(e);var g=ve(ke(a).b);g=new G(this.b.x+g.scrollLeft,this.b.y+g.scrollTop);var h=b,k=Jl(g,a,h,c,e,10,d);if(0!=(k&496)){if(k&16||k&32)h^=4;if(k&64||k&128)h^=1;k=Jl(g,a,h,c,e,10,d);0!=(k&496)&&Jl(g,a,b,c,e,this.g,d)}};function Rl(a,b){this.b=a instanceof G?a:new G(a,b)}w(Rl,Fl);Rl.prototype.Gb=function(a,b,c,d){Gl(Bh(a),0,a,b,this.b,c,null,d)};function Sl(){$e.call(this);this.b=[];this.g=[]}w(Sl,$e);Sl.prototype.va=function(){Sl.ma.va.call(this);this.g.length=0;this.b.length=0};var Tl={},Ul={};function Vl(){throw Error("Do not instantiate directly");}Vl.prototype.qg=null;Vl.prototype.Rb=function(){return this.content};Vl.prototype.toString=function(){return this.content};function Wl(){Vl.call(this)}w(Wl,Vl);Wl.prototype.Rd=Tl;function Xl(){this.g=new Lk;this.b=new Yl("",void 0);this.b.next=this.b.b=this.b}f=Xl.prototype;f.get=function(a,b){var c=this.g.get(a);return c?c.value:b};f.set=function(a,b){var c=this.g.get(a);c?c.value=b:(c=new Yl(a,b),this.g.set(a,c),c.b=this.b.b,c.next=this.b,this.b.b=c,c.b.next=c)};f.shift=function(){return Zl(this,this.b.next)};f.pop=function(){return Zl(this,this.b.b)};f.remove=function(a){return(a=this.g.get(a))?(a.remove(),this.g.remove(a.key),!0):!1};
f.Wb=function(){return $l(this,function(a,b){return b})};f.wb=function(){return $l(this,function(a){return a})};f.forEach=function(a,b){for(var c=this.b.next;c!=this.b;c=c.next)a.call(b,c.value,c.key,this)};function $l(a,b){for(var c=[],d=a.b.next;d!=a.b;d=d.next)c.push(b.call(void 0,d.value,d.key,a));return c}function Zl(a,b){a.b!=b&&(b.remove(),a.g.remove(b.key));return b.value}function Yl(a,b){this.key=a;this.value=b}
Yl.prototype.remove=function(){this.b.next=this.next;this.next.b=this.b;delete this.b;delete this.next};function am(a){this.b=new Lk;if(a){a=Pk(a);for(var b=a.length,c=0;c<b;c++)this.add(a[c])}}function bm(a){var b=typeof a;return"object"==b&&a||"function"==b?"o"+Ha(a):b.charAt(0)+a}am.prototype.add=function(a){this.b.set(bm(a),a)};am.prototype.remove=function(a){return this.b.remove(bm(a))};am.prototype.wb=function(){return this.b.wb()};am.prototype.clone=function(){return new am(this)};function cm(a,b,c){if(E&&!Od)return a;a='url("'+b+'")';Md&&(a+=" 7 5");return a+(", "+c)};function dm(a,b,c){O.call(this);this.ha=a;this.ta=c;this.i=b;M(b,["hilite","select","canceldismiss","dismiss"],this.handleEvent,!1,this);this.s=null;this.b=[];this.j=-1;this.g=0;this.o=this.V=null;this.ua={}}w(dm,O);f=dm.prototype;f.Nh=!0;f.ig=!1;f.Qc=function(){return this.i};
f.handleEvent=function(a){var b=this.ha;if(a.target==this.i)switch(a.type){case "hilite":this.Vc(a.rd);break;case "select":var c=!1;if(xa(a.rd)){a=a.rd;var d=this.b[em(this,a)];c=!!d&&b.Tg&&b.Tg(d);d&&!c&&this.j!=a&&this.Vc(a)}c||this.oe();break;case "canceldismiss":fm(this);break;case "dismiss":gm(this)}};function hm(a){for(var b=a.g+a.b.length-1,c=a.j,d=0;d<a.b.length;d++){if(c>=a.g&&c<b)c++;else if(-1==c)c=a.g;else{a.ig&&c==b&&a.Vc(-1);break}if(a.Vc(c))break}}
f.Vc=function(a){var b=em(this,a),c=this.b[b];return c&&this.ha.Tg&&this.ha.Tg(c)?!1:(this.j=a,this.i.Vc(a),-1!=b)};
f.oe=function(){var a=em(this,this.j);if(-1!=a){var b=this.b[a],c=this.ta;if(c.Va){var d=b.toString();if(p(void 0)?0:c.j){var e=im(c,c.tb(),Cg(c.Va)[0]),g=jm(c,c.tb());c.ta&&!c.ta.test(d)&&(d=d.replace(/[\s\xa0]+$/,"")+c.ya);0==e||Gb(g[e-1])||(d=" "+d);e==g.length-1&&(d+=" ");if(d!=g[e]){g[e]=d;d=c.Va;(E||D&&F("9"))&&d.blur();d.value=g.join("");for(var h=0,k=0;k<=e;k++)h+=g[k].length;d.focus();e=h;g=c.Va;d=e;Dg(g)?g.selectionStart=d:D&&!F("9")&&(h=Eg(g),k=h[0],k.inRange(h[1])&&(d=Fg(g,d),k.collapse(!0),
k.move("character",d),k.select()));g=c.Va;Dg(g)?g.selectionEnd=e:D&&!F("9")&&(h=Eg(g),d=h[1],h[0].inRange(d)&&(e=Fg(g,e),g=Fg(g,Cg(g)[0]),d.collapse(!0),d.moveEnd("character",e-g),d.select()))}}else c.Nb(d);c.rh=!0}this.Jc();this.dispatchEvent({type:"update",rd:b,index:a});return!0}this.Jc();this.dispatchEvent({type:"update",rd:null,index:null});return!1};
f.Jc=function(){this.j=-1;this.s=null;this.g+=this.b.length;this.b=[];window.clearTimeout(this.o);this.o=null;this.i.Jc();this.dispatchEvent("suggestionsupdate");this.dispatchEvent("dismiss")};function gm(a){a.o||(a.o=window.setTimeout(u(a.Jc,a),100))}f.zi=function(){return this.o?(window.clearTimeout(this.o),this.o=null,!0):!1};function fm(a){a.zi()||window.setTimeout(u(a.zi,a),10)}f.va=function(){dm.ma.va.call(this);delete this.ua;this.i.Da();this.ta.Da();this.ha=null};
f.tl=function(a,b,c){this.s==a&&this.qh(b,c)};f.qh=function(a,b){var c="object"==Ca(b)&&b,d=(c?c.Rm():b)?em(this,this.j):-1;this.g+=this.b.length;this.b=a;for(var e=[],g=0;g<a.length;++g)e.push({id:this.g+g,data:a[g]});g=null;this.V&&(g=this.ua[Ha(this.V)]||this.V);this.i.sh(g);this.i.qh(e,this.s,this.V);g=this.Nh;c&&void 0!==c.Yj()&&(g=c.Yj());this.j=-1;(g||0<=d)&&0!=e.length&&this.s&&(0<=d?this.Vc(this.g+d):hm(this));this.dispatchEvent("suggestionsupdate")};
function em(a,b){var c=b-a.g;return 0>c||c>=a.b.length?-1:c}f.update=function(a){this.ta.update(a)};function km(a,b,c,d){$e.call(this);d=d||150;this.j=null!=c?c:!0;this.s=a||",;";this.ya=this.s.charAt(0);a=this.j?"[\\s"+this.s+"]+":"[\\s]+";this.ua=new RegExp("^"+a+"|"+a+"$","g");this.ta=new RegExp("\\s*["+this.s+"]$");this.ra=b||"";this.Ba=this.j;this.i=0<d?new rg(d):null;this.g=new R(this);this.V=new R(this);this.o=new Qg;this.ha=-1}w(km,$e);var lm=(ci||di)&&!F("533.17.9");f=km.prototype;f.eg=null;f.Va=null;f.Xg="";f.vd=!1;f.rh=!1;f.tb=function(){return this.Va.value};
f.Nb=function(a){this.Va.value=a};f.rk=function(a){for(var b=0;b<arguments.length;b++){var c=arguments[b];Ga(c)&&1==c.nodeType&&(We(c,"combobox"),Xe(c,"autocomplete","list"));this.g.ka(c,"focus",this.ji);this.g.ka(c,"blur",this.sk);this.Va||(this.V.ka(c,"keydown",this.Xl),Ga(c)&&1==c.nodeType&&Ue(me(c))==c&&mm(this,c))}};f.va=function(){km.ma.va.call(this);null!=this.eg&&window.clearTimeout(this.eg);this.g.Da();delete this.g;this.V.Da();this.o.Da();bf(this.i)};
f.Ib=function(a){switch(a.keyCode){case 40:if(this.b.i.isVisible())return hm(this.b),a.preventDefault(),!0;if(!this.j)return this.update(!0),a.preventDefault(),!0;break;case 38:if(this.b.i.isVisible()){a:for(var b=this.b,c=b.j,d=0;d<b.b.length;d++){if(c>b.g)c--;else{b.ig&&c==b.g&&b.Vc(-1);break}if(b.Vc(c))break a}a.preventDefault();return!0}break;case 9:if(!this.b.i.isVisible()||a.shiftKey)this.b.Jc();else if(this.update(),this.b.oe()&&this.Ba)return a.preventDefault(),!0;break;case 13:if(this.b.i.isVisible()){if(this.update(),
this.b.oe())return a.preventDefault(),a.b(),!0}else this.b.Jc();break;case 27:if(this.b.i.isVisible())return this.b.Jc(),a.preventDefault(),a.b(),!0;break;case 229:if(!this.vd)return this.vd||(this.g.ka(this.Va,"keyup",this.Yi),this.g.ka(this.Va,"keypress",this.Xi),this.vd=!0),!0}return nm(this,a)};function nm(a,b){var c=a.j&&b.o&&-1!=a.s.indexOf(String.fromCharCode(b.o));c&&a.update();return c&&a.b.oe()?(b.preventDefault(),!0):!1}f.Mk=function(){return!1};f.ji=function(a){mm(this,a.target||null)};
function mm(a,b){Kg(a.V);a.b&&fm(a.b);b!=a.Va&&(a.Va=b,a.i&&(a.i.start(),a.g.ka(a.i,"tick",a.ki)),a.Xg=a.tb(),Rg(a.o,a.Va),a.g.ka(a.o,"key",a.Zi),a.g.ka(a.Va,"mousedown",a.$i),D&&a.g.ka(a.Va,"keypress",a.Wi))}f.sk=function(){lm?this.eg=window.setTimeout(u(this.jj,this),0):this.jj()};
f.jj=function(){this.Va&&(this.g.Wa(this.o,"key",this.Zi),Xg(this.o),this.g.Wa(this.Va,"keyup",this.Mk),this.g.Wa(this.Va,"mousedown",this.$i),D&&this.g.Wa(this.Va,"keypress",this.Wi),this.vd&&om(this),this.Va=null,this.i&&(this.i.stop(),this.g.Wa(this.i,"tick",this.ki)),this.b&&gm(this.b))};f.ki=function(){this.update()};f.Xl=function(a){this.ji(a)};f.Zi=function(a){this.ha=a.keyCode;this.b&&this.Ib(a)};f.Xi=function(){this.vd&&229!=this.ha&&om(this)};
f.Yi=function(a){this.vd&&(13==a.keyCode||77==a.keyCode&&a.ctrlKey)&&om(this)};f.$i=function(){};function om(a){a.vd&&(a.vd=!1,a.g.Wa(a.Va,"keypress",a.Xi),a.g.Wa(a.Va,"keyup",a.Yi))}f.Wi=function(a){nm(this,a)};
f.update=function(a){if(this.Va&&(a||this.tb()!=this.Xg)){if(a||!this.rh){a=Cg(this.Va)[0];var b=this.tb();a=jm(this,b)[im(this,b,a)];b=this.ua?String(a).replace(this.ua,""):a;if(this.b&&(this.b.V=this.Va,a=this.b,this.tb(),a.s!=b)){a.s=b;b=a.ha;var c=u(a.tl,a),d={client:"books",ds:"bo",q:a.s};c=u(b.g,b,c);b.b&&b.b.cancel();b.b=new zk;b.b.send(d,c);fm(a)}}this.Xg=this.tb()}this.rh=!1};
function im(a,b,c){a=jm(a,b);if(c==b.length)return a.length-1;for(var d=b=0,e=0;d<a.length&&e<=c;d++)e+=a[d].length,b=d;return b}function jm(a,b){if(!a.j)return[b];for(var c=String(b).split(""),d=[],e=[],g=0,h=!1;g<c.length;g++)a.ra&&-1!=a.ra.indexOf(c[g])?(h||(d.push(e.join("")),e.length=0),e.push(c[g]),h=!h):h||-1==a.s.indexOf(c[g])?e.push(c[g]):(e.push(c[g]),d.push(e.join("")),e.length=0);d.push(e.join(""));return d};function pm(){}Ba(pm);pm.prototype.b=0;function qm(a){return":"+(a.b++).toString(36)};function rm(a,b,c,d){O.call(this);this.ra=a||document.body;this.g=ke(this.ra);this.ua=!a;this.wa=null;this.ta="";this.b=[];this.o=[];this.ya=this.ha=-1;this.V=!1;this.className="ac-renderer";this.Na="ac-highlighted";this.s=b||null;this.Ub=null!=d?d:!0;this.Pb=!!c}w(rm,O);f=rm.prototype;f.R=function(){return this.wa};f.sh=function(a){this.Sa=a};f.qh=function(a,b,c){this.ta=b;this.b=a;this.ha=-1;this.ya=Ma();this.i=c;this.o=[];sm(this)};f.Jc=function(){this.V&&(this.V=!1,tm(this,!1),U(this.wa,!1))};
function um(a){a.V||(a.V=!0,tm(a,!0),U(a.wa,!0))}function tm(a,b){a.i&&(Xe(a.i,"haspopup",b),Xe(a.wa,"expanded",b),Xe(a.i,"expanded",b),b?Xe(a.i,"owns",a.wa.id):(a.i.removeAttribute("aria-owns"),Ze(a.i,null)))}f.isVisible=function(){return this.V};
function vm(a,b){var c=0<=b&&b<a.b.length?a.b[b]:void 0,d=0<=b&&b<a.o.length?a.o[b]:void 0;a.dispatchEvent({type:"rowhilite",ha:d,rd:c?c.data:null})&&(0<=a.ha&&zg(a.o[a.ha],["ac-active","active"]),a.ha=b,d&&(xg(d,["ac-active","active"]),a.i&&Ze(a.i,d),Gh(d,a.wa)))}f.Vc=function(a){if(-1==a)vm(this,-1);else for(var b=0;b<this.b.length;b++)if(this.b[b].id==a){vm(this,b);break}};
function wm(a){if(!a.wa){var b=a.g.Ra("DIV",{style:"display:none"});a.wa=b;xg(b,Hb(a.className).split(" "));We(b,"listbox");b.id=qm(pm.Ta());a.g.appendChild(a.ra,b);M(b,"click",a.li,!1,a);M(b,"mousedown",a.mi,!1,a);M(b,"mouseover",a.ti,!1,a)}}
function sm(a){wm(a);a.Jd&&(a.wa.style.minWidth=a.Jd.clientWidth-0+"px");a.nb&&(a.wa.style.maxWidth=a.nb.clientWidth-0+"px");a.o.length=0;a.g.ei(a.wa);a.s&&a.s.render?a.s.render(a,a.wa,a.b,a.ta):x(a.b,function(b){var c=this.ta,d=this.g.Ra("DIV",{className:"ac-row",id:qm(pm.Ta())});We(d,"option");this.s&&this.s.lm?this.s.lm(b,c,d):L(d,b.data.toString());c&&this.Ub&&(this.Ba=!1,xm(this,d,c));Q(d,"ac-row");this.o.push(d);this.g.appendChild(this.wa,d)},a);0==a.b.length?a.Jc():(um(a),a.Jg(),Rh(a.wa,!0))}
f.Jg=function(){if(this.i&&this.ua){var a=this.Sa||this.i;var b=this.Pb?5:1;Gl(a,b,this.wa,b^1,null,null,65)}};f.va=function(){this.wa&&(Hf(this.wa,"click",this.li,!1,this),Hf(this.wa,"mousedown",this.mi,!1,this),Hf(this.wa,"mouseover",this.ti,!1,this),this.g.dk(this.wa),this.wa=null,this.V=!1);bf(this.j);this.ra=null;rm.ma.va.call(this)};
function xm(a,b,c){if(!a.Ba)if(3==b.nodeType){var d=null;Da(c)&&1<c.length&&(d=yb(c,1));c=ym(c);if(0!=c.length){var e=b.nodeValue,g=new RegExp("\\b(?:"+c+")","gi");c=[];for(var h=0,k=g.exec(e),l=0;k;)l++,c.push(e.substring(h,k.index)),c.push(e.substring(k.index,g.lastIndex)),h=g.lastIndex,k=g.exec(e);c.push(e.substring(h));if(1<c.length){for(d=0;1>d;d++)e=2*d,b.nodeValue=c[e],g=a.g.b.createElement("B"),g.className=a.Na,a.g.appendChild(g,a.g.b.createTextNode(String(c[e+1]))),g=b.parentNode.insertBefore(g,
b.nextSibling),b.parentNode.insertBefore(a.g.b.createTextNode(""),g.nextSibling),b=g.nextSibling;b.nodeValue=yb(c,2).join("");a.Ba=!0}else d&&xm(a,b,d)}}else for(b=b.firstChild;b;)d=b.nextSibling,xm(a,b,c),b=d}function ym(a){var b="";if(!a)return b;Da(a)&&(a=ib(a,function(c){return!Gb(zd(c))}));Da(a)?b=0<a.length?yd(a[0]):"":/^\W/.test(a)||(b=yd(a));return b}function zm(a,b){for(;b&&b!=a.wa&&!wg(b,"ac-row");)b=b.parentNode;return b?gb(a.o,b):-1}
f.li=function(a){var b=zm(this,a.target);0<=b&&this.dispatchEvent({type:"select",rd:this.b[b].id});a.b()};f.mi=function(a){a.b();a.preventDefault()};f.ti=function(a){a=zm(this,a.target);0<=a&&!(300>Ma()-this.ya)&&this.dispatchEvent({type:"hilite",rd:this.b[a].id})};function Am(a,b){O.call(this);this.i=new R(this);this.Hg(a||null);b&&(this.Zd=b)}w(Am,O);f=Am.prototype;f.wa=null;f.Mh=!0;f.Lh=null;f.Xd=!1;f.Wg=-1;f.Uh=!0;f.Zd="toggle_display";f.R=function(){return this.wa};f.Hg=function(a){Bm(this);this.wa=a};function Bm(a){if(a.Xd)throw Error("Can not change this state of the popup while showing.");}f.isVisible=function(){return this.Xd};
f.Ja=function(a){this.Na&&this.Na.stop();this.Ba&&this.Ba.stop();if(a){if(!this.Xd&&this.nh()){if(!this.wa)throw Error("Caller must call setElement before trying to show the popup");this.Yd();a=me(this.wa);if(this.Mh)if(this.i.ka(a,"mousedown",this.Vi,!0),D){try{var b=a.activeElement}catch(d){}for(;b&&"IFRAME"==b.nodeName;){try{var c=Je(b)}catch(d){break}a=c;b=a.activeElement}this.i.ka(a,"mousedown",this.Vi,!0);this.i.ka(a,"deactivate",this.Ui)}else this.i.ka(a,"blur",this.Ui);"toggle_display"==this.Zd?
(this.wa.style.visibility="visible",U(this.wa,!0)):"move_offscreen"==this.Zd&&this.Yd();this.Xd=!0;this.Wg=Ma();this.Na?(Af(this.Na,"end",this.Mf,!1,this),this.Na.play()):this.Mf()}}else Cm(this)};f.Yd=t;function Cm(a,b){a.Xd&&a.dispatchEvent({type:"beforehide",target:b})&&(a.i&&Kg(a.i),a.Xd=!1,Ma(),a.Ba?(Af(a.Ba,"end",v(a.Qh,b),!1,a),a.Ba.play()):a.Qh(b))}f.Qh=function(a){"toggle_display"==this.Zd?this.ll():"move_offscreen"==this.Zd&&(this.wa.style.top="-10000px");this.Ve(a)};
f.ll=function(){this.wa.style.visibility="hidden";U(this.wa,!1)};f.nh=function(){return this.dispatchEvent("beforeshow")};f.Mf=function(){this.dispatchEvent("show")};f.Ve=function(a){this.dispatchEvent({type:"hide",target:a})};f.Vi=function(a){a=a.target;Ie(this.wa,a)||Dm(this,a)||150>Ma()-this.Wg||Cm(this,a)};
f.Ui=function(a){if(this.Uh){var b=me(this.wa);if("undefined"!=typeof document.activeElement){if(a=b.activeElement,!a||Ie(this.wa,a)||"BODY"==a.tagName)return}else if(a.target!=b)return;150>Ma()-this.Wg||Cm(this)}};function Dm(a,b){return kb(a.Lh||[],function(c){return b===c||Ie(c,b)})}f.va=function(){Am.ma.va.call(this);this.i.Da();bf(this.Na);bf(this.Ba);delete this.wa;delete this.i;delete this.Lh};function Em(a,b){this.Gh=8;this.vb=b||void 0;Am.call(this,a)}w(Em,Am);Em.prototype.Xb=function(){return this.vb||null};Em.prototype.setPosition=function(a){this.vb=a||void 0;this.isVisible()&&this.Yd()};Em.prototype.Yd=function(){if(this.vb){var a=!this.isVisible()&&"move_offscreen"!=this.Zd,b=this.R();a&&(b.style.visibility="hidden",U(b,!0));this.vb.Gb(b,this.Gh,this.Yg);a&&U(b,!1)}};function Fm(a,b,c){this.j=c||(a?ke(H(a)):ke());Em.call(this,this.j.Ra("DIV",{style:"position:absolute;display:none;"}));this.o=new G(1,1);this.ha=new am;this.s=null;a&&(a=H(a),this.ha.add(a),M(a,"mouseover",this.Uc,!1,this),M(a,"mouseout",this.wf,!1,this),M(a,"mousemove",this.$d,!1,this),M(a,"focus",this.ii,!1,this),M(a,"blur",this.wf,!1,this));null!=b&&L(this.R(),b)}w(Fm,Em);var Gm=[];f=Fm.prototype;f.kb=null;f.className="goog-tooltip";f.Vf=500;f.Ng=0;f.yg=function(){return this.Ng};
f.Hg=function(a){var b=this.R();b&&K(b);Fm.ma.Hg.call(this,a);a?(b=this.j.b.body,b.insertBefore(a,b.lastChild),bf(this.s),this.s=new Lg(this.R()),af(this,this.s),M(this.s,"focusin",this.Od,void 0,this),M(this.s,"focusout",this.Ye,void 0,this)):(bf(this.s),this.s=null)};function Hm(a){return a.ya?a.isVisible()?4:1:a.ta?3:a.isVisible()?2:0}f.Cf=function(a){if(!this.isVisible())return!1;var b=Fh(this.R()),c=Mh(this.R());return b.x<=a.x&&a.x<=b.x+c.width&&b.y<=a.y&&a.y<=b.y+c.height};
f.nh=function(){if(!Am.prototype.nh.call(this))return!1;if(this.b)for(var a,b=0;a=Gm[b];b++)Ie(a.R(),this.b)||a.Ja(!1);pb(Gm,this);a=this.R();a.className=this.className;this.Od();M(a,"mouseover",this.Mg,!1,this);M(a,"mouseout",this.wi,!1,this);Im(this);return!0};f.Ve=function(){qb(Gm,this);for(var a=this.R(),b,c=0;b=Gm[c];c++)b.b&&Ie(a,b.b)&&b.Ja(!1);this.Kd&&this.Kd.Ye();Hf(a,"mouseover",this.Mg,!1,this);Hf(a,"mouseout",this.wi,!1,this);this.b=void 0;0==Hm(this)&&(this.Ab=!1);Am.prototype.Ve.call(this)};
f.Le=function(a,b){this.b==a&&Nk(this.ha.b,bm(this.b))&&(this.Ab||!this.Gm?(this.Ja(!1),this.isVisible()||(this.b=a,this.setPosition(b||Jm(this,0)),this.Ja(!0))):this.b=void 0);this.ya=void 0};f.Di=function(a){this.ta=void 0;if(a==this.b){a=this.j;var b;a=(b=Ue(a.b))&&this.R()&&a.bk(this.R(),b);null!=this.kb&&(this.kb==this.R()||Nk(this.ha.b,bm(this.kb)))||a||this.V&&this.V.kb||this.Ja(!1)}};function Km(a,b){var c=ue(a.j.b);a.o.x=b.clientX+c.x;a.o.y=b.clientY+c.y}
f.Uc=function(a){var b=Lm(this,a.target);this.kb=b;this.Od();b!=this.b&&(this.b=b,this.Xf(b),Mm(this),Km(this,a))};function Lm(a,b){try{for(;b&&!Nk(a.ha.b,bm(b));)b=b.parentNode;return b}catch(c){return null}}f.$d=function(a){Km(this,a);this.Ab=!0};f.ii=function(a){this.kb=a=Lm(this,a.target);this.Ab=!0;if(this.b!=a){this.b=a;var b=Jm(this,1);this.Od();this.Xf(a,b);Mm(this)}};function Jm(a,b){if(0==b){var c=a.o.clone();return new Nm(c)}return new Om(a.kb)}
function Mm(a){if(a.b)for(var b,c=0;b=Gm[c];c++)Ie(b.R(),a.b)&&(b.V=a,a.Kd=b)}f.wf=function(a){var b=Lm(this,a.target),c=Lm(this,a.relatedTarget);b!=c&&(b==this.kb&&(this.kb=null),Im(this),this.Ab=!1,!this.isVisible()||a.relatedTarget&&Ie(this.R(),a.relatedTarget)?this.b=void 0:this.Ye())};f.Mg=function(){var a=this.R();this.kb!=a&&(this.Od(),this.kb=a)};f.wi=function(a){var b=this.R();this.kb!=b||a.relatedTarget&&Ie(b,a.relatedTarget)||(this.kb=null,this.Ye())};
f.Xf=function(a,b){this.ya||(this.ya=P(u(this.Le,this,a,b),this.Vf))};function Im(a){a.ya&&(tg(a.ya),a.ya=void 0)}f.Ye=function(){2==Hm(this)&&(this.ta=P(u(this.Di,this,this.b),this.yg()))};f.Od=function(){this.ta&&(tg(this.ta),this.ta=void 0)};
f.va=function(){var a;this.Ja(!1);Im(this);for(var b=this.ha.wb(),c=0;a=b[c];c++)Hf(a,"mouseover",this.Uc,!1,this),Hf(a,"mouseout",this.wf,!1,this),Hf(a,"mousemove",this.$d,!1,this),Hf(a,"focus",this.ii,!1,this),Hf(a,"blur",this.wf,!1,this);b=this.ha.b;b.g={};b.b.length=0;b.i=0;this.R()&&K(this.R());this.kb=null;delete this.j;Fm.ma.va.call(this)};function Nm(a,b){Rl.call(this,a,b)}w(Nm,Rl);
Nm.prototype.Gb=function(a,b,c){b=Bh(a);b=Eh(b);c=c?new kh(c.top+10,c.right,c.bottom,c.left+10):new kh(10,0,0,10);Jl(this.b,a,8,c,b,9)&496&&Jl(this.b,a,8,c,b,5)};function Om(a){Ll.call(this,a,5)}w(Om,Ll);Om.prototype.Gb=function(a,b,c){var d=new G(10,0);Gl(this.b,this.g,a,b,d,c,9)&496&&Gl(this.b,4,a,1,d,c,5)};function Pm(a,b,c){Fm.call(this,a,b,c)}w(Pm,Fm);f=Pm.prototype;f.rg=!1;f.af=!1;f.Mf=function(){Pm.ma.Mf.call(this);this.nb=ph(Nh(this.R()));this.b&&(this.Pb=ph(Nh(this.b)));this.af=this.rg;M(this.j.b,"mousemove",this.$d,!1,this)};f.Ve=function(){Hf(this.j.b,"mousemove",this.$d,!1,this);this.Pb=this.nb=null;this.af=!1;Pm.ma.Ve.call(this)};
f.Cf=function(a){if(this.Sa){var b=Fh(this.R()),c=Mh(this.R());return b.x-this.Sa.left<=a.x&&a.x<=b.x+c.width+this.Sa.right&&b.y-this.Sa.top<=a.y&&a.y<=b.y+c.height+this.Sa.bottom}return Pm.ma.Cf.call(this,a)};function Qm(a,b){if(a.Pb&&mh(a.Pb,b)||a.Cf(b))return!0;var c=a.V;return!!c&&c.Cf(b)}f.Di=function(a){this.ta=void 0;a!=this.b||Qm(this,this.o)||this.kb||this.V&&this.V.kb||E&&0==this.o.x&&0==this.o.y||this.Ja(!1)};
f.$d=function(a){var b=this.isVisible();if(this.nb){var c=ue(this.j.b);c=new G(a.clientX+c.x,a.clientY+c.y);Qm(this,c)?b=!1:this.af&&(b=nh(this.nb,c)>=nh(this.nb,this.o))}if(b){if(this.Ye(),this.kb=null,b=this.V)b.kb=null}else 3==Hm(this)&&this.Od();Pm.ma.$d.call(this,a)};f.Mg=function(){this.kb!=this.R()&&(this.af=!1,this.kb=this.R())};f.yg=function(){return this.af?100:Pm.ma.yg.call(this)};function Rm(a){O.call(this);this.g=a||ke();this.Sa=Sm;this.Oa=null;this.La=!1;this.wa=null;this.ra=void 0;this.V=this.o=this.s=this.ah=null;this.Ub=!1}w(Rm,O);Rm.prototype.Jd=pm.Ta();var Sm=null;
function Tm(a,b){switch(a){case 1:return b?"disable":"enable";case 2:return b?"highlight":"unhighlight";case 4:return b?"activate":"deactivate";case 8:return b?"select":"unselect";case 16:return b?"check":"uncheck";case 32:return b?"focus":"blur";case 64:return b?"open":"close"}throw Error("Invalid component state");}f=Rm.prototype;f.getId=function(){return this.Oa||(this.Oa=qm(this.Jd))};function Um(a,b){if(a.s&&a.s.V){var c=a.s.V,d=a.Oa;d in c&&delete c[d];Wa(a.s.V,b,a)}a.Oa=b}f.R=function(){return this.wa};
function Vm(a){a.ra||(a.ra=new R(a));return a.ra}f.ad=function(a){if(this==a)throw Error("Unable to set parent component");if(a&&this.s&&this.Oa&&Wm(this.s,this.Oa)&&this.s!=a)throw Error("Unable to set parent component");this.s=a;Rm.ma.Xe.call(this,a)};f.getParent=function(){return this.s};f.Xe=function(a){if(this.s&&this.s!=a)throw Error("Method not supported");Rm.ma.Xe.call(this,a)};f.kc=function(){this.wa=this.g.b.createElement("DIV")};f.render=function(a){Xm(this,a)};
function Xm(a,b,c){if(a.La)throw Error("Component already rendered");a.wa||a.kc();b?b.insertBefore(a.wa,c||null):a.g.b.body.appendChild(a.wa);a.s&&!a.s.La||a.Pa()}function Ym(a,b){if(a.La)throw Error("Component already rendered");if(b&&a.Cg(b)){a.Ub=!0;var c=me(b);a.g&&a.g.b==c||(a.g=ke(b));a.Vb(b);a.Pa()}else throw Error("Invalid element to decorate");}f.Cg=function(){return!0};f.Vb=function(a){this.wa=a};f.Pa=function(){this.La=!0;Zm(this,function(a){!a.La&&a.R()&&a.Pa()})};
f.Db=function(){Zm(this,function(a){a.La&&a.Db()});this.ra&&Kg(this.ra);this.La=!1};f.va=function(){this.La&&this.Db();this.ra&&(this.ra.Da(),delete this.ra);Zm(this,function(a){a.Da()});!this.Ub&&this.wa&&K(this.wa);this.s=this.ah=this.wa=this.V=this.o=null;Rm.ma.va.call(this)};f.Ea=function(a,b){this.Nd(a,$m(this),b)};
f.Nd=function(a,b,c){if(a.La&&(c||!this.La))throw Error("Component already rendered");if(0>b||b>$m(this))throw Error("Child component index out of bounds");this.V&&this.o||(this.V={},this.o=[]);if(a.getParent()==this){var d=a.getId();this.V[d]=a;qb(this.o,a)}else Wa(this.V,a.getId(),a);a.ad(this);wb(this.o,b,0,a);a.La&&this.La&&a.getParent()==this?(c=this.zd(),b=c.childNodes[b]||null,b!=a.R()&&c.insertBefore(a.R(),b)):c?(this.wa||this.kc(),b=an(this,b+1),Xm(a,this.zd(),b?b.wa:null)):this.La&&!a.La&&
a.wa&&a.wa.parentNode&&1==a.wa.parentNode.nodeType&&a.Pa()};f.zd=function(){return this.wa};function bn(a){null==a.Sa&&(a.Sa=Ph(a.La?a.wa:a.g.b.body));return a.Sa}function $m(a){return a.o?a.o.length:0}function Wm(a,b){if(a.V&&b){var c=a.V;c=(null!==c&&b in c?c[b]:void 0)||null}else c=null;return c}function an(a,b){return a.o?a.o[b]||null:null}function Zm(a,b,c){a.o&&x(a.o,b,c)}function cn(a,b){return a.o&&b?gb(a.o,b):-1}
f.removeChild=function(a,b){if(a){var c=r(a)?a:a.getId();a=Wm(this,c);if(c&&a){var d=this.V;c in d&&delete d[c];qb(this.o,a);b&&(a.Db(),a.wa&&K(a.wa));a.ad(null)}}if(!a)throw Error("Child is not in parent component");return a};function dn(){}var en;Ba(dn);var fn={button:"pressed",checkbox:"checked",menuitem:"selected",menuitemcheckbox:"checked",menuitemradio:"checked",radio:"checked",tab:"selected",treeitem:"selected"};f=dn.prototype;f.Wd=function(){};f.Hb=function(a){return a.g.Ra("DIV",gn(this,a).join(" "),a.Rb())};f.Tb=function(a){return a};function hn(a,b,c){if(a=a.R?a.R():a){var d=[b];D&&!F("7")&&(d=jn(vg(a),b),d.push(b));(c?xg:zg)(a,d)}}f.sf=function(){return!0};
f.Za=function(a,b){b.id&&Um(a,b.id);var c=this.Tb(b);c&&c.firstChild?kn(a,c.firstChild.nextSibling?ub(c.childNodes):c.firstChild):a.Dd=null;var d=0,e=this.Fa(),g=this.Fa(),h=!1,k=!1,l=!1,m=ub(vg(b));x(m,function(A){h||A!=e?k||A!=g?d|=this.nf(A):k=!0:(h=!0,g==e&&(k=!0));1==this.nf(A)&&Ne(c)&&Oe(c)&&Me(c,!1)},this);a.vc=d;h||(m.push(e),g==e&&(k=!0));k||m.push(g);var q=a.bc;q&&m.push.apply(m,q);if(D&&!F("7")){var B=jn(m);0<B.length&&(m.push.apply(m,B),l=!0)}if(!h||!k||q||l)b.className=m.join(" ");return b};
f.tf=function(a){bn(a)&&this.hi(a.R(),!0);a.isEnabled()&&this.Ee(a,a.isVisible())};function ln(a,b,c){if(a=c||a.Wd())c=b.getAttribute("role")||null,a!=c&&We(b,a)}function mn(a,b,c){b.isVisible()||Xe(c,"hidden",!b.isVisible());b.isEnabled()||a.Gc(c,1,!b.isEnabled());nn(b,8)&&a.Gc(c,8,X(b,8));nn(b,16)&&a.Gc(c,16,X(b,16));nn(b,64)&&a.Gc(c,64,X(b,64))}f.Fg=function(a,b){Rh(a,!b,!D&&!Jd)};f.hi=function(a,b){hn(a,this.Fa()+"-rtl",b)};f.fi=function(a){var b;return nn(a,32)&&(b=a.R())?Ne(b)&&Oe(b):!1};
f.Ee=function(a,b){var c;if(nn(a,32)&&(c=a.R())){if(!b&&X(a,32)){try{c.blur()}catch(d){}X(a,32)&&a.uf(null)}(Ne(c)&&Oe(c))!=b&&Me(c,b)}};f.Ja=function(a,b){U(a,b);a&&Xe(a,"hidden",!b)};f.Mb=function(a,b,c){var d=a.R();if(d){var e=this.ye(b);e&&hn(a,e,c);this.Gc(d,b,c)}};f.Gc=function(a,b,c){en||(en={1:"disabled",8:"selected",16:"checked",64:"expanded"});b=en[b];var d=a.getAttribute("role")||null;d&&(d=fn[d]||b,b="checked"==b||"selected"==b?d:b);b&&Xe(a,b,c)};
f.Cd=function(a,b){var c=this.Tb(a);if(c&&(De(c),b))if(r(b))L(c,b);else{var d=function(e){if(e){var g=me(c);c.appendChild(r(e)?g.createTextNode(e):e)}};Da(b)?x(b,d):!Ea(b)||"nodeType"in b?d(b):x(ub(b),d)}};f.Fa=function(){return"goog-control"};function gn(a,b){var c=a.Fa(),d=[c],e=a.Fa();e!=c&&d.push(e);c=b.vc;for(e=[];c;){var g=c&-c;e.push(a.ye(g));c&=~g}d.push.apply(d,e);(c=b.bc)&&d.push.apply(d,c);D&&!F("7")&&d.push.apply(d,jn(d));return d}
function jn(a,b){var c=[];b&&(a=tb(a,[b]));x([],function(d){!lb(d,v(ob,a))||b&&!ob(d,b)||c.push(d.join("_"))});return c}f.ye=function(a){this.b||on(this);return this.b[a]};f.nf=function(a){if(!this.ta){this.b||on(this);var b=this.b,c={},d;for(d in b)c[b[d]]=d;this.ta=c}a=parseInt(this.ta[a],10);return isNaN(a)?0:a};function on(a){var b=a.Fa();a.b={1:b+"-disabled",2:b+"-hover",4:b+"-active",8:b+"-selected",16:b+"-checked",32:b+"-focused",64:b+"-open"}};function pn(){}w(pn,dn);Ba(pn);f=pn.prototype;f.Wd=function(){return"button"};f.Gc=function(a,b,c){switch(b){case 8:case 16:Xe(a,"pressed",c);break;default:case 64:case 1:pn.ma.Gc.call(this,a,b,c)}};f.Hb=function(a){var b=pn.ma.Hb.call(this,a);qn(b,a.ha);var c=a.tb();c&&this.Nb(b,c);nn(a,16)&&this.Gc(b,16,X(a,16));return b};f.Za=function(a,b){b=pn.ma.Za.call(this,a,b);var c=this.tb(b);a.nb=c;a.ha=b.title;nn(a,16)&&this.Gc(b,16,X(a,16));return b};f.tb=t;f.Nb=t;
function qn(a,b){a&&(b?a.title=b:a.removeAttribute("title"))}f.Fa=function(){return"goog-button"};function rn(a,b){if(!a)throw Error("Invalid class name "+a);if(!Fa(b))throw Error("Invalid decorator function "+b);sn[a]=b}var tn={},sn={};function un(a,b,c){Rm.call(this,c);if(!b){b=this.constructor;for(var d;b;){d=Ha(b);if(d=tn[d])break;b=b.ma?b.ma.constructor:null}b=d?Fa(d.Ta)?d.Ta():new d:null}this.i=b;this.Dd=p(a)?a:null}w(un,Rm);f=un.prototype;f.Dd=null;f.vc=0;f.$e=39;f.wd=255;f.Ze=0;f.vf=!0;f.bc=null;f.Gg=!0;function vn(a,b){a.La&&b!=a.Gg&&wn(a,b);a.Gg=b}f.Qc=function(){return this.i};function xn(a,b){b&&(a.bc?ob(a.bc,b)||a.bc.push(b):a.bc=[b],hn(a,b,!0))}
function yn(a,b,c){c?xn(a,b):b&&a.bc&&qb(a.bc,b)&&(0==a.bc.length&&(a.bc=null),hn(a,b,!1))}f.kc=function(){var a=this.i.Hb(this);this.wa=a;ln(this.i,a,this.Ce());this.i.Fg(a,!1);this.isVisible()||this.i.Ja(a,!1)};f.Ce=function(){return null};f.zd=function(){return this.i.Tb(this.R())};f.Cg=function(a){return this.i.sf(a)};f.Vb=function(a){this.wa=a=this.i.Za(this,a);ln(this.i,a,this.Ce());this.i.Fg(a,!1);this.vf="none"!=a.style.display};
f.Pa=function(){un.ma.Pa.call(this);mn(this.i,this,this.wa);this.i.tf(this);if(this.$e&-2&&(this.Gg&&wn(this,!0),nn(this,32))){var a=this.R();if(a){var b=this.ta||(this.ta=new Qg);Rg(b,a);Vm(this).ka(b,"key",this.Ib).ka(a,"focus",this.kk).ka(a,"blur",this.uf)}}};
function wn(a,b){var c=Vm(a),d=a.R();b?(c.ka(d,jf.Ld,a.md).ka(d,[jf.Md,jf.te],a.xc).ka(d,"mouseover",a.Uc).ka(d,"mouseout",a.Lg),a.Ge!=t&&c.ka(d,"contextmenu",a.Ge),D&&(F(9)||c.ka(d,"dblclick",a.oi),a.ua||(a.ua=new zn(a),af(a,a.ua)))):(c.Wa(d,jf.Ld,a.md).Wa(d,[jf.Md,jf.te],a.xc).Wa(d,"mouseover",a.Uc).Wa(d,"mouseout",a.Lg),a.Ge!=t&&c.Wa(d,"contextmenu",a.Ge),D&&(F(9)||c.Wa(d,"dblclick",a.oi),bf(a.ua),a.ua=null))}
f.Db=function(){un.ma.Db.call(this);this.ta&&Xg(this.ta);this.isVisible()&&this.isEnabled()&&this.i.Ee(this,!1)};f.va=function(){un.ma.va.call(this);this.ta&&(this.ta.Da(),delete this.ta);delete this.i;this.ua=this.bc=this.Dd=null};f.Rb=function(){return this.Dd};function kn(a,b){a.Dd=b}f.mf=function(){var a=this.Rb();if(!a)return"";a=r(a)?a:Da(a)?y(a,Re).join(""):Pe(a);return rd(a)};f.isVisible=function(){return this.vf};
f.Ja=function(a,b){if(b||this.vf!=a&&this.dispatchEvent(a?"show":"hide")){var c=this.R();c&&this.i.Ja(c,a);this.isEnabled()&&this.i.Ee(this,a);this.vf=a;return!0}return!1};f.isEnabled=function(){return!X(this,1)};f.Ga=function(a){var b=this.getParent();b&&"function"==typeof b.isEnabled&&!b.isEnabled()||!An(this,1,!a)||(a||(Bn(this,!1),this.Lb(!1)),this.isVisible()&&this.i.Ee(this,a),this.Mb(1,!a,!0))};f.Lb=function(a){An(this,2,a)&&this.Mb(2,a)};function Bn(a,b){An(a,4,b)&&a.Mb(4,b)}
f.th=function(a){An(this,8,a)&&this.Mb(8,a)};f.sd=function(a){An(this,16,a)&&this.Mb(16,a)};f.Sf=function(a){An(this,32,a)&&this.Mb(32,a)};f.Ya=function(a){An(this,64,a)&&this.Mb(64,a)};function X(a,b){return!!(a.vc&b)}f.Mb=function(a,b,c){c||1!=a?nn(this,a)&&b!=X(this,a)&&(this.i.Mb(this,a,b),this.vc=b?this.vc|a:this.vc&~a):this.Ga(!b)};function nn(a,b){return!!(a.$e&b)}
f.hb=function(a,b){if(this.La&&X(this,a)&&!b)throw Error("Component already rendered");!b&&X(this,a)&&this.Mb(a,!1);this.$e=b?this.$e|a:this.$e&~a};function Cn(a,b){return!!(a.wd&b)&&nn(a,b)}function An(a,b,c){return nn(a,b)&&X(a,b)!=c&&(!(a.Ze&b)||a.dispatchEvent(Tm(b,c)))&&!a.ac}f.Uc=function(a){(!a.relatedTarget||!Ie(this.R(),a.relatedTarget))&&this.dispatchEvent("enter")&&this.isEnabled()&&Cn(this,2)&&this.Lb(!0)};
f.Lg=function(a){a.relatedTarget&&Ie(this.R(),a.relatedTarget)||!this.dispatchEvent("leave")||(Cn(this,4)&&Bn(this,!1),Cn(this,2)&&this.Lb(!1))};f.Ge=t;f.md=function(a){this.isEnabled()&&(Cn(this,2)&&this.Lb(!0),nf(a)&&(Cn(this,4)&&Bn(this,!0),this.i&&this.i.fi(this)&&this.R().focus()));nf(a)&&a.preventDefault()};f.xc=function(a){this.isEnabled()&&(Cn(this,2)&&this.Lb(!0),X(this,4)&&this.Yc(a)&&Cn(this,4)&&Bn(this,!1))};f.oi=function(a){this.isEnabled()&&this.Yc(a)};
f.Yc=function(a){Cn(this,16)&&this.sd(!X(this,16));Cn(this,8)&&this.th(!0);Cn(this,64)&&this.Ya(!X(this,64));var b=new gf("action",this);a&&(b.altKey=a.altKey,b.ctrlKey=a.ctrlKey,b.metaKey=a.metaKey,b.shiftKey=a.shiftKey,b.s=a.s);return this.dispatchEvent(b)};f.kk=function(){Cn(this,32)&&this.Sf(!0)};f.uf=function(){Cn(this,4)&&Bn(this,!1);Cn(this,32)&&this.Sf(!1)};f.Ib=function(a){return this.isVisible()&&this.isEnabled()&&this.wc(a)?(a.preventDefault(),a.b(),!0):!1};
f.wc=function(a){return 13==a.keyCode&&this.Yc(a)};if(!Fa(un))throw Error("Invalid component class "+un);if(!Fa(dn))throw Error("Invalid renderer class "+dn);var Dn=Ha(un);tn[Dn]=dn;rn("goog-control",function(){return new un(null)});function zn(a){$e.call(this);this.g=a;this.b=!1;this.i=new R(this);af(this,this.i);a=this.g.wa;this.i.ka(a,jf.Ld,this.o).ka(a,jf.Md,this.s).ka(a,"click",this.j)}w(zn,$e);var En=!D||$d(9);zn.prototype.o=function(){this.b=!1};zn.prototype.s=function(){this.b=!0};
function Fn(a,b){if(!En)return a.button=0,a.type=b,a;var c=document.createEvent("MouseEvents");c.initMouseEvent(b,a.bubbles,a.cancelable,a.view||null,a.detail,a.screenX,a.screenY,a.clientX,a.clientY,a.ctrlKey,a.altKey,a.shiftKey,a.metaKey,0,a.relatedTarget||null);return c}zn.prototype.j=function(a){if(this.b)this.b=!1;else{var b=a.g,c=b.button,d=b.type,e=Fn(b,"mousedown");this.g.md(new kf(e,a.i));e=Fn(b,"mouseup");this.g.xc(new kf(e,a.i));En||(b.button=c,b.type=d)}};
zn.prototype.va=function(){this.g=null;zn.ma.va.call(this)};function Gn(){}w(Gn,pn);Ba(Gn);f=Gn.prototype;f.Wd=function(){};f.Hb=function(a){vn(a,!1);a.wd&=-256;a.hb(32,!1);return a.g.Ra("BUTTON",{"class":gn(this,a).join(" "),disabled:!a.isEnabled(),title:a.ha||"",value:a.tb()||""},a.mf()||"")};f.sf=function(a){return"BUTTON"==a.tagName||"INPUT"==a.tagName&&("button"==a.type||"submit"==a.type||"reset"==a.type)};f.Za=function(a,b){vn(a,!1);a.wd&=-256;a.hb(32,!1);if(b.disabled){var c=this.ye(1);Q(b,c)}return Gn.ma.Za.call(this,a,b)};
f.tf=function(a){Vm(a).ka(a.R(),"click",a.Yc)};f.Fg=t;f.hi=t;f.fi=function(a){return a.isEnabled()};f.Ee=t;f.Mb=function(a,b,c){Gn.ma.Mb.call(this,a,b,c);(a=a.R())&&1==b&&(a.disabled=c)};f.tb=function(a){return a.value};f.Nb=function(a,b){a&&(a.value=b)};f.Gc=t;function Hn(a,b,c){un.call(this,a,b||Gn.Ta(),c)}w(Hn,un);f=Hn.prototype;f.tb=function(){return this.nb};f.Nb=function(a){this.nb=a;this.Qc().Nb(this.R(),a)};f.Yb=function(a){this.ha=a;qn(this.R(),a)};function In(a,b){var c=a.Qc(),d=bn(a),e=c.Fa()+"-collapse-left";c=c.Fa()+"-collapse-right";yn(a,d?c:e,!!(b&1));yn(a,d?e:c,!!(b&2))}f.va=function(){Hn.ma.va.call(this);delete this.nb;delete this.ha};f.Pa=function(){Hn.ma.Pa.call(this);if(nn(this,32)){var a=this.R();a&&Vm(this).ka(a,"keyup",this.wc)}};
f.wc=function(a){return 13==a.keyCode&&"key"==a.type||32==a.keyCode&&"keyup"==a.type?this.Yc(a):32==a.keyCode};rn("goog-button",function(){return new Hn(null)});function Jn(){this.g=[]}w(Jn,dn);Ba(Jn);function Kn(a,b){var c=a.g[b];if(!c){switch(b){case 0:c=a.Fa()+"-highlight";break;case 1:c=a.Fa()+"-checkbox";break;case 2:c=a.Fa()+"-content"}a.g[b]=c}return c}f=Jn.prototype;f.Wd=function(){return"menuitem"};f.Hb=function(a){var b=a.g.Ra("DIV",gn(this,a).join(" "),Ln(this,a.Rb(),a.g));Mn(this,a,b,nn(a,8)||nn(a,16));return b};f.Tb=function(a){return a&&a.firstChild};
f.Za=function(a,b){var c=Ge(b),d=Kn(this,2);c&&wg(c,d)||b.appendChild(Ln(this,b.childNodes,a.g));wg(b,"goog-option")&&(a.We(!0),this.We(a,b,!0));return Jn.ma.Za.call(this,a,b)};f.Cd=function(a,b){var c=this.Tb(a),d=Nn(this,a)?c.firstChild:null;Jn.ma.Cd.call(this,a,b);d&&!Nn(this,a)&&c.insertBefore(d,c.firstChild||null)};function Ln(a,b,c){a=Kn(a,2);return c.Ra("DIV",a,b)}f.sj=function(a,b,c){a&&b&&Mn(this,a,b,c)};f.We=function(a,b,c){a&&b&&Mn(this,a,b,c)};
function Nn(a,b){var c=a.Tb(b);if(c){c=c.firstChild;var d=Kn(a,1);return!!c&&Ga(c)&&1==c.nodeType&&wg(c,d)}return!1}function Mn(a,b,c,d){ln(a,c,b.Ce());mn(a,b,c);d!=Nn(a,c)&&(Ag(c,"goog-option",d),c=a.Tb(c),d?(a=Kn(a,1),c.insertBefore(b.g.Ra("DIV",a),c.firstChild||null)):c.removeChild(c.firstChild))}f.ye=function(a){switch(a){case 2:return Kn(this,0);case 16:case 8:return"goog-option-selected";default:return Jn.ma.ye.call(this,a)}};
f.nf=function(a){var b=Kn(this,0);switch(a){case "goog-option-selected":return 16;case b:return 2;default:return Jn.ma.nf.call(this,a)}};f.Fa=function(){return"goog-menuitem"};function On(a,b,c,d){un.call(this,a,d||Jn.Ta(),c);this.Nb(b)}w(On,un);f=On.prototype;f.tb=function(){var a=this.ah;return null!=a?a:this.mf()};f.Nb=function(a){this.ah=a};f.hb=function(a,b){On.ma.hb.call(this,a,b);switch(a){case 8:X(this,16)&&!b&&this.sd(!1);var c=this.R();c&&this.Qc().sj(this,c,b);break;case 16:(c=this.R())&&this.Qc().We(this,c,b)}};f.sj=function(a){this.hb(8,a)};f.We=function(a){this.hb(16,a)};
f.mf=function(){var a=this.Rb();return Da(a)?(a=y(a,function(b){return Ga(b)&&1==b.nodeType&&(wg(b,"goog-menuitem-accel")||wg(b,"goog-menuitem-mnemonic-separator"))?"":Re(b)}).join(""),rd(a)):On.ma.mf.call(this)};f.xc=function(a){var b=this.getParent();if(b){var c=b.j;b.j=null;if(c&&xa(a.clientX)&&ge(c,new G(a.clientX,a.clientY)))return}On.ma.xc.call(this,a)};f.wc=function(a){return a.keyCode==this.$g&&this.Yc(a)?!0:On.ma.wc.call(this,a)};f.Zj=function(){return this.$g};rn("goog-menuitem",function(){return new On(null)});
On.prototype.Ce=function(){return nn(this,16)?"menuitemcheckbox":nn(this,8)?"menuitemradio":On.ma.Ce.call(this)};On.prototype.getParent=function(){return un.prototype.getParent.call(this)};On.prototype.Ud=function(){return un.prototype.Ud.call(this)};function Pn(a,b,c){On.call(this,a,b,c);this.We(!0)}w(Pn,On);rn("goog-checkbox-menuitem",function(){return new Pn(null)});function Qn(a){this.b=a}Ba(Qn);function Rn(a,b){a&&(a.tabIndex=b?0:-1)}f=Qn.prototype;f.Dg=function(a){return"DIV"==a.tagName};function Sn(a,b,c){c.id&&Um(b,c.id);var d=a.Vd(),e=!1,g=vg(c);g&&x(g,function(h){h==d?e=!0:h&&(h==d+"-disabled"?b.Ga(!1):h==d+"-horizontal"?Tn(b,"horizontal"):h==d+"-vertical"&&Tn(b,"vertical"))},a);e||Q(c,d);Un(a,b,c);return c}
function Un(a,b,c){if(c)for(var d=c.firstChild,e;d&&d.parentNode==c;){e=d.nextSibling;if(1==d.nodeType){var g=a.ze(d);g&&(g.wa=d,b.isEnabled()||g.Ga(!1),b.Ea(g),Ym(g,d))}else d.nodeValue&&""!=Hb(d.nodeValue)||c.removeChild(d);d=e}}f.ze=function(a){a:{a=vg(a);for(var b=0,c=a.length;b<c;b++){var d=a[b];if(d=d in sn?sn[d]():null){a=d;break a}}a=null}return a};f.Eg=function(a){a=a.R();Rh(a,!0,E);D&&(a.hideFocus=!0);var b=this.b;b&&We(a,b)};f.Vd=function(){return"goog-container"};
function Vn(a,b){var c=a.Vd(),d=[c,"horizontal"==b.Gd?c+"-horizontal":c+"-vertical"];b.isEnabled()||d.push(c+"-disabled");return d}f.Xh=function(){return"vertical"};function Wn(a,b,c){Rm.call(this,c);this.ld=b||Qn.Ta();this.Gd=a||this.ld.Xh()}w(Wn,Rm);f=Wn.prototype;f.Vg=null;f.Bd=null;f.ld=null;f.Gd=null;f.Tc=!0;f.Ad=!0;f.Td=!0;f.lb=-1;f.mb=null;f.Ac=!1;f.Ic=null;function Xn(a){return a.Vg||a.R()}f.Qc=function(){return this.ld};f.kc=function(){this.wa=this.g.Ra("DIV",Vn(this.ld,this).join(" "))};f.zd=function(){return this.R()};f.Cg=function(a){return this.ld.Dg(a)};f.Vb=function(a){this.wa=Sn(this.ld,this,a);"none"==a.style.display&&(this.Tc=!1)};
f.Pa=function(){Wn.ma.Pa.call(this);Zm(this,function(b){b.La&&Yn(this,b)},this);var a=this.R();this.ld.Eg(this);this.Ja(this.Tc,!0);Vm(this).ka(this,"enter",this.Kg).ka(this,"highlight",this.hk).ka(this,"unhighlight",this.jk).ka(this,"open",this.Tk).ka(this,"close",this.fk).ka(a,jf.Ld,this.ik).ka(me(a),[jf.Md,jf.te],this.Ak).ka(a,[jf.Ld,jf.Md,jf.te,"mouseover","mouseout","contextmenu"],this.xk);this.Td&&Zn(this,!0)};
function Zn(a,b){var c=Vm(a),d=Xn(a);b?c.ka(d,"focus",a.rf).ka(d,"blur",a.qf).ka(a.Bd||(a.Bd=new Qg(Xn(a))),"key",a.Ib):c.Wa(d,"focus",a.rf).Wa(d,"blur",a.qf).Wa(a.Bd||(a.Bd=new Qg(Xn(a))),"key",a.Ib)}f.Db=function(){this.Fc(-1);this.mb&&this.mb.Ya(!1);this.Ac=!1;Wn.ma.Db.call(this)};f.va=function(){Wn.ma.va.call(this);this.Bd&&(this.Bd.Da(),this.Bd=null);this.ld=this.mb=this.Ic=this.Vg=null};f.Kg=function(){return!0};
f.hk=function(a){var b=cn(this,a.target);if(-1<b&&b!=this.lb){var c=$n(this);c&&c.Lb(!1);this.lb=b;c=$n(this);this.Ac&&Bn(c,!0);this.mb&&c!=this.mb&&(nn(c,64)?c.Ya(!0):this.mb.Ya(!1))}b=this.R();null!=a.target.R()&&Xe(b,"activedescendant",a.target.R().id)};f.jk=function(a){a.target==$n(this)&&(this.lb=-1);this.R().removeAttribute("aria-activedescendant")};f.Tk=function(a){(a=a.target)&&a!=this.mb&&a.getParent()==this&&(this.mb&&this.mb.Ya(!1),this.mb=a)};
f.fk=function(a){a.target==this.mb&&(this.mb=null);var b=this.R(),c=a.target.R();b&&X(a.target,2)&&c&&Ze(b,c)};f.ik=function(a){this.Ad&&(this.Ac=!0);var b=Xn(this);b&&Ne(b)&&Oe(b)?b.focus():a.preventDefault()};f.Ak=function(){this.Ac=!1};
f.xk=function(a){a:{var b=a.target;if(this.Ic)for(var c=this.R();b&&b!==c;){var d=b.id;if(d in this.Ic){b=this.Ic[d];break a}b=b.parentNode}b=null}if(b)switch(a.type){case jf.Ld:b.md(a);break;case jf.Md:case jf.te:b.xc(a);break;case "mouseover":b.Uc(a);break;case "mouseout":b.Lg(a);break;case "contextmenu":b.Ge(a)}};f.rf=function(){};f.qf=function(){this.Fc(-1);this.Ac=!1;this.mb&&this.mb.Ya(!1)};
f.Ib=function(a){return this.isEnabled()&&this.isVisible()&&(0!=$m(this)||this.Vg)&&this.wc(a)?(a.preventDefault(),a.b(),!0):!1};
f.wc=function(a){var b=$n(this);if(b&&"function"==typeof b.Ib&&b.Ib(a)||this.mb&&this.mb!=b&&"function"==typeof this.mb.Ib&&this.mb.Ib(a))return!0;if(a.shiftKey||a.ctrlKey||a.metaKey||a.altKey)return!1;switch(a.keyCode){case 27:if(this.Td)Xn(this).blur();else return!1;break;case 36:ao(this);break;case 35:bo(this);break;case 38:if("vertical"==this.Gd)co(this);else return!1;break;case 37:if("horizontal"==this.Gd)bn(this)?eo(this):co(this);else return!1;break;case 40:if("vertical"==this.Gd)eo(this);
else return!1;break;case 39:if("horizontal"==this.Gd)bn(this)?co(this):eo(this);else return!1;break;default:return!1}return!0};function Yn(a,b){var c=b.R();c=c.id||(c.id=b.getId());a.Ic||(a.Ic={});a.Ic[c]=b}f.Ea=function(a,b){Wn.ma.Ea.call(this,a,b)};
f.Nd=function(a,b,c){a.Ze|=2;a.Ze|=64;a.hb(32,!1);vn(a,!1);var d=a.getParent()==this?cn(this,a):-1;Wn.ma.Nd.call(this,a,b,c);a.La&&this.La&&Yn(this,a);a=d;-1==a&&(a=$m(this));a==this.lb?this.lb=Math.min($m(this)-1,b):a>this.lb&&b<=this.lb?this.lb++:a<this.lb&&b>this.lb&&this.lb--};
f.removeChild=function(a,b){if(a=r(a)?Wm(this,a):a){var c=cn(this,a);-1!=c&&(c==this.lb?(a.Lb(!1),this.lb=-1):c<this.lb&&this.lb--);var d=a.R();d&&d.id&&this.Ic&&(c=this.Ic,d=d.id,d in c&&delete c[d])}a=Wn.ma.removeChild.call(this,a,b);vn(a,!0);return a};function Tn(a,b){if(a.R())throw Error("Component already rendered");a.Gd=b}f.isVisible=function(){return this.Tc};
f.Ja=function(a,b){if(b||this.Tc!=a&&this.dispatchEvent(a?"show":"hide")){this.Tc=a;var c=this.R();c&&(U(c,a),this.Td&&Rn(Xn(this),this.Ad&&this.Tc),b||this.dispatchEvent(this.Tc?"aftershow":"afterhide"));return!0}return!1};f.isEnabled=function(){return this.Ad};f.Ga=function(a){this.Ad!=a&&this.dispatchEvent(a?"enable":"disable")&&(a?(this.Ad=!0,Zm(this,function(b){b.Bj?delete b.Bj:b.Ga(!0)})):(Zm(this,function(b){b.isEnabled()?b.Ga(!1):b.Bj=!0}),this.Ac=this.Ad=!1),this.Td&&Rn(Xn(this),a&&this.Tc))};
function fo(a,b){b!=a.Td&&a.La&&Zn(a,b);a.Td=b;a.Ad&&a.Tc&&Rn(Xn(a),b)}f.Fc=function(a){(a=an(this,a))?a.Lb(!0):-1<this.lb&&$n(this).Lb(!1)};f.Lb=function(a){this.Fc(cn(this,a))};function $n(a){return an(a,a.lb)}function ao(a){go(a,function(b,c){return(b+1)%c},$m(a)-1)}function bo(a){go(a,function(b,c){b--;return 0>b?c-1:b},0)}function eo(a){go(a,function(b,c){return(b+1)%c},a.lb)}function co(a){go(a,function(b,c){b--;return 0>b?c-1:b},a.lb)}
function go(a,b,c){c=0>c?cn(a,a.mb):c;var d=$m(a);c=b.call(a,c,d);for(var e=0;e<=d;){var g=an(a,c);if(g&&a.Ph(g)){a.Fc(c);break}e++;c=b.call(a,c,d)}}f.Ph=function(a){return a.isVisible()&&a.isEnabled()&&nn(a,2)};function ho(){}w(ho,pn);Ba(ho);f=ho.prototype;f.Hb=function(a){var b=gn(this,a);b=a.g.Ra("DIV","goog-inline-block "+b.join(" "),this.hf(a.Rb(),a.g));qn(b,a.ha);return b};f.Wd=function(){return"button"};f.Tb=function(a){return a&&a.firstChild&&a.firstChild.firstChild};f.hf=function(a,b){return b.Ra("DIV","goog-inline-block "+(this.Fa()+"-outer-box"),b.Ra("DIV","goog-inline-block "+(this.Fa()+"-inner-box"),a))};f.sf=function(a){return"DIV"==a.tagName};
f.Za=function(a,b){io(b,!0);io(b,!1);a:{var c=a.g.Zh(b);var d=this.Fa()+"-outer-box";if(c&&wg(c,d)&&(c=a.g.Zh(c),d=this.Fa()+"-inner-box",c&&wg(c,d))){c=!0;break a}c=!1}c||b.appendChild(this.hf(b.childNodes,a.g));xg(b,["goog-inline-block",this.Fa()]);return ho.ma.Za.call(this,a,b)};f.Fa=function(){return"goog-custom-button"};
function io(a,b){if(a)for(var c=b?a.firstChild:a.lastChild,d;c&&c.parentNode==a;){d=b?c.nextSibling:c.previousSibling;if(3==c.nodeType){var e=c.nodeValue;if(""==Hb(e))a.removeChild(c);else{c.nodeValue=b?e.replace(/^[\s\xa0]+/,""):e.replace(/[\s\xa0]+$/,"");break}}else break;c=d}};function jo(){}w(jo,pn);Ba(jo);f=jo.prototype;f.Hb=function(a){var b=gn(this,a);b=a.g.Ra("DIV","goog-inline-block "+b.join(" "),a.Rb());qn(b,a.ha);return b};f.Wd=function(){return"button"};f.sf=function(a){return"DIV"==a.tagName};f.Za=function(a,b){Q(b,"goog-inline-block");return jo.ma.Za.call(this,a,b)};f.tb=function(){return""};f.Fa=function(){return"goog-flat-button"};rn("goog-flat-button",function(){return new Hn(null,jo.Ta())});function ko(){}w(ko,dn);Ba(ko);ko.prototype.Fa=function(){return"goog-menuheader"};function lo(a,b,c){un.call(this,a,c||ko.Ta(),b);this.hb(1,!1);this.hb(2,!1);this.hb(4,!1);this.hb(32,!1);this.vc=1}w(lo,un);rn("goog-menuheader",function(){return new lo(null)});function mo(){}w(mo,dn);Ba(mo);mo.prototype.Hb=function(a){return a.g.Ra("DIV",this.Fa())};mo.prototype.Za=function(a,b){b.id&&Um(a,b.id);if("HR"==b.tagName){var c=b;b=this.Hb(a);c.parentNode&&c.parentNode.insertBefore(b,c);K(c)}else Q(b,this.Fa());return b};mo.prototype.Cd=function(){};mo.prototype.Fa=function(){return"goog-menuseparator"};function no(a,b){un.call(this,null,a||mo.Ta(),b);this.hb(1,!1);this.hb(2,!1);this.hb(4,!1);this.hb(32,!1);this.vc=1}w(no,un);no.prototype.Pa=function(){no.ma.Pa.call(this);We(this.R(),"separator")};rn("goog-menuseparator",function(){return new no});function oo(a){this.b=a||"menu"}w(oo,Qn);Ba(oo);f=oo.prototype;f.Dg=function(a){return"UL"==a.tagName||oo.ma.Dg.call(this,a)};f.ze=function(a){return"HR"==a.tagName?new no:oo.ma.ze.call(this,a)};f.qc=function(a,b){return Ie(a.R(),b)};f.Vd=function(){return"goog-menu"};f.Eg=function(a){oo.ma.Eg.call(this,a);Xe(a.R(),"haspopup","true")};rn("goog-menuseparator",function(){return new no});function po(a,b){Wn.call(this,"vertical",b||oo.Ta(),a);fo(this,!1)}w(po,Wn);f=po.prototype;f.fg=!0;f.qc=function(a){if(this.Qc().qc(this,a))return!0;for(var b=0,c=$m(this);b<c;b++){var d=an(this,b);if("function"==typeof d.qc&&d.qc(a))return!0}return!1};f.Qb=function(a){this.Ea(a,!0)};f.ue=function(a,b){this.Nd(a,b,!0)};f.yd=function(){var a=[];Zm(this,function(b){a.push(b)});return a};
f.setPosition=function(a,b){var c=this.isVisible();c||U(this.R(),!0);var d=this.R(),e=a,g=b,h=Fh(d);e instanceof G&&(g=e.y,e=e.x);yh(d,d.offsetLeft+(e-h.x),d.offsetTop+(Number(g)-h.y));c||U(this.R(),!1)};f.Xb=function(){return this.isVisible()?Fh(this.R()):null};function qo(a,b){(a.fg=b)&&fo(a,!0)}f.Ja=function(a,b,c){(b=po.ma.Ja.call(this,a,b))&&a&&this.La&&this.fg&&Xn(this).focus();a&&c&&xa(c.clientX)?this.j=new G(c.clientX,c.clientY):this.j=null;return b};
f.Kg=function(a){this.fg&&Xn(this).focus();return po.ma.Kg.call(this,a)};f.Ph=function(a){return a.isEnabled()&&a.isVisible()&&nn(a,2)};f.Vb=function(a){for(var b=this.Qc(),c=oe(this.g.b,"DIV",b.Vd()+"-content",a),d=c.length,e=0;e<d;e++)Un(b,this,c[e]);po.ma.Vb.call(this,a)};f.wc=function(a){var b=po.ma.wc.call(this,a);b||Zm(this,function(c){!b&&c.Zj&&c.$g==a.keyCode&&(this.isEnabled()&&this.Lb(c),b=c.Ib(a))},this);return b};f.Fc=function(a){po.ma.Fc.call(this,a);(a=an(this,a))&&Gh(a.R(),this.R())};function ro(){}w(ro,ho);Ba(ro);ro.prototype.Tb=function(a){return ro.ma.Tb.call(this,a&&a.firstChild)};ro.prototype.Za=function(a,b){var c=oe(document,"*","goog-menu",b)[0];if(c){U(c,!1);me(c).body.appendChild(c);var d=new po;Ym(d,c);a.Hd(d)}return ro.ma.Za.call(this,a,b)};ro.prototype.hf=function(a,b){return ro.ma.hf.call(this,[b.Ra("DIV","goog-inline-block "+(this.Fa()+"-caption"),a),b.Ra("DIV","goog-inline-block "+(this.Fa()+"-dropdown"),"\u00a0")],b)};ro.prototype.Fa=function(){return"goog-menu-button"};function so(){this.g=[]}w(so,Jn);Ba(so);so.prototype.Hb=function(a){var b=so.ma.Hb.call(this,a);Q(b,"goog-submenu");to(this,a,b);return b};so.prototype.Za=function(a,b){b=so.ma.Za.call(this,a,b);Q(b,"goog-submenu");to(this,a,b);var c=oe(document,"DIV","goog-menu",b);if(c.length){var d=new po(a.g);c=c[0];U(c,!1);a.g.b.body.appendChild(c);Ym(d,c);a.Hd(d,!0)}return b};
so.prototype.Cd=function(a,b){var c=this.Tb(a),d=c&&c.lastChild;so.ma.Cd.call(this,a,b);d&&c.lastChild!=d&&wg(d,"goog-submenu-arrow")&&c.appendChild(d)};so.prototype.tf=function(a){so.ma.tf.call(this,a);var b=a.zd(),c=oe(a.g.b,"SPAN","goog-submenu-arrow",b)[0];uo(a,c);c!=b.lastChild&&b.appendChild(c);Xe(a.R(),"haspopup","true")};function to(a,b,c){var d=b.g.Ra("SPAN");d.className="goog-submenu-arrow";uo(b,d);a.Tb(c).appendChild(d)}
function uo(a,b){bn(a)?(Q(b,"goog-submenu-arrow-rtl"),L(b,"\u25c4")):(yg(b,"goog-submenu-arrow-rtl"),L(b,"\u25ba"))};function vo(a,b,c,d){On.call(this,a,b,c,d||so.Ta())}w(vo,On);f=vo.prototype;f.Fe=null;f.zh=null;f.Zg=!1;f.ub=null;f.kf=!1;f.Pa=function(){vo.ma.Pa.call(this);Vm(this).ka(this.getParent(),"hide",this.aj);this.ub&&wo(this,this.ub,!0)};f.Db=function(){Vm(this).Wa(this.getParent(),"hide",this.aj);this.ub&&(wo(this,this.ub,!1),this.kf||(this.ub.Db(),K(this.ub.R())));vo.ma.Db.call(this)};f.va=function(){this.ub&&!this.kf&&this.ub.Da();this.ub=null;vo.ma.va.call(this)};
f.Lb=function(a){vo.ma.Lb.call(this,a);a||(this.Fe&&tg(this.Fe),this.Fe=P(this.Kc,218,this))};f.yh=function(){var a=this.getParent();a&&$n(a)==this&&(xo(this,!0),yo(this))};f.Kc=function(){var a=this.ub;a&&a.getParent()==this&&(xo(this,!1),Zm(a,function(b){"function"==typeof b.Kc&&b.Kc()}))};function zo(a){a.Fe&&tg(a.Fe);a.zh&&tg(a.zh)}f.Ja=function(a,b){var c=vo.ma.Ja.call(this,a,b);c&&!this.isVisible()&&this.Kc();return c};
function yo(a){Zm(a.getParent(),function(b){b!=this&&"function"==typeof b.Kc&&(b.Kc(),zo(b))},a)}f.Ib=function(a){var b=a.keyCode,c=bn(this)?37:39,d=bn(this)?39:37;if(!this.Zg){if(!this.isEnabled()||b!=c&&13!=b&&b!=this.$g)return!1;this.yh();ao(Ao(this));zo(this)}else if(!Ao(this).Ib(a))if(b==d)this.Kc();else return!1;a.preventDefault();return!0};f.Tl=function(){this.ub.getParent()==this&&(zo(this),this.Ud().Lb(this),yo(this))};f.aj=function(a){a.target==this.Ud()&&(this.Kc(),zo(this))};
f.Uc=function(a){this.isEnabled()&&(zo(this),this.zh=P(this.yh,218,this));vo.ma.Uc.call(this,a)};f.Yc=function(a){zo(this);if(nn(this,8)||nn(this,16))return vo.ma.Yc.call(this,a);this.yh();return!0};
function xo(a,b){!b&&Ao(a)&&Ao(a).Fc(-1);a.dispatchEvent(Tm(64,b));var c=Ao(a);b!=a.Zg&&Ag(a.R(),"goog-submenu-open",b);if(b!=c.isVisible()&&(b&&(c.La||c.render(),c.Fc(-1)),c.Ja(b),b)){c=new Ml(a.R(),12,!1);var d=Ao(a),e=d.R();d.isVisible()||(e.style.visibility="hidden",U(e,!0));c.Gb(e,8);d.isVisible()||(U(e,!1),e.style.visibility="visible")}a.Zg=b}function wo(a,b,c){var d=Vm(a);(c?d.ka:d.Wa).call(d,b,"enter",a.Tl)}f.Qb=function(a){Ao(this).Ea(a,!0)};f.ue=function(a,b){Ao(this).Nd(a,b,!0)};f.yd=function(){return Ao(this).yd()};
function Ao(a){a.ub?a.kf&&a.ub.getParent()!=a&&a.ub.ad(a):a.Hd(new po(a.g),!0);a.ub.R()||a.ub.kc();return a.ub}f.Hd=function(a,b){var c=this.ub;a!=c&&(c&&(this.Kc(),this.La&&wo(this,c,!1)),this.ub=a,this.kf=!b,a&&(a.ad(this),a.Ja(!1,!0),qo(a,!1),fo(a,!1),this.La&&wo(this,a,!0)))};f.qc=function(a){return Ao(this).qc(a)};rn("goog-submenu",function(){return new vo(null)});function Bo(a,b,c,d,e){Hn.call(this,a,c||ro.Ta(),d);this.hb(64,!0);this.j=new Pl(null,9);b&&this.Hd(b);this.ya=new rg(500);!ci&&!di||F("533.17.9")||(this.Je=!0);this.Kd=e||oo.Ta()}w(Bo,Hn);f=Bo.prototype;f.Je=!1;f.Pa=function(){Bo.ma.Pa.call(this);Co(this,!0);this.b&&Do(this,this.b,!0);Xe(this.wa,"haspopup",!!this.b)};f.Db=function(){Bo.ma.Db.call(this);Co(this,!1);if(this.b){this.Ya(!1);this.b.Db();Do(this,this.b,!1);var a=this.b.R();a&&K(a)}};
f.va=function(){Bo.ma.va.call(this);this.b&&(this.b.Da(),delete this.b);delete this.Ab;this.ya.Da()};f.md=function(a){Bo.ma.md.call(this,a);X(this,4)&&(this.Ya(!X(this,64),a),this.b&&(this.b.Ac=X(this,64)))};f.xc=function(a){Bo.ma.xc.call(this,a);this.b&&!X(this,4)&&(this.b.Ac=!1)};f.Yc=function(){Bn(this,!1);return!0};f.zk=function(a){this.b&&this.b.isVisible()&&!this.qc(a.target)&&this.Ya(!1)};f.qc=function(a){return a&&Ie(this.R(),a)||this.b&&this.b.qc(a)||!1};
f.wc=function(a){if(32==a.keyCode){if(a.preventDefault(),"keyup"!=a.type)return!0}else if("key"!=a.type)return!1;if(this.b&&this.b.isVisible()){var b=13==a.keyCode||32==a.keyCode,c=this.b.Ib(a);return c&&this.b&&this.b.mb instanceof vo||27!=a.keyCode&&!b?c:(this.Ya(!1),!0)}return 40==a.keyCode||38==a.keyCode||32==a.keyCode||13==a.keyCode?(this.Ya(!0,a),!0):!1};f.Ok=function(){this.Ya(!1)};f.Pk=function(){X(this,4)||this.Ya(!1)};f.uf=function(a){this.Je||this.Ya(!1);Bo.ma.uf.call(this,a)};
function Eo(a){a.b||a.Hd(new po(a.g,a.Kd));return a.b||null}f.Hd=function(a){var b=this.b;a!=b&&(b&&(this.Ya(!1),this.La&&Do(this,b,!1),delete this.b),this.La&&Xe(this.wa,"haspopup",!!a),a&&(this.b=a,a.ad(this),a.Ja(!1),qo(a,this.Je),this.La&&Do(this,a,!0)))};function Fo(a,b){b&&(a.j=b,a.Ab=b.b)}f.Qb=function(a){Eo(this).Ea(a,!0)};f.ue=function(a,b){Eo(this).Nd(a,b,!0)};f.Ja=function(a,b){var c=Bo.ma.Ja.call(this,a,b);c&&!this.isVisible()&&this.Ya(!1);return c};
f.Ga=function(a){Bo.ma.Ga.call(this,a);this.isEnabled()||this.Ya(!1)};
f.Ya=function(a,b){Bo.ma.Ya.call(this,a);if(this.b&&X(this,64)==a){if(a)this.b.La||this.b.render(),this.Pb=Eh(this.R()),this.vb=Nh(this.R()),Go(this),!b||40!=b.keyCode&&38!=b.keyCode?this.b.Fc(-1):ao(this.b);else{Bn(this,!1);this.b.Ac=!1;var c=this.R();c&&(Xe(c,"activedescendant",""),Xe(c,"owns",""));null!=this.Ba&&(this.Ba=void 0,(c=this.b.R())&&T(c,"",""))}this.b.Ja(a,!1,b);if(!this.ac){c=Vm(this);var d=a?c.ka:c.Wa;d.call(c,this.g.b,"mousedown",this.zk,!0);this.Je&&d.call(c,this.b,"blur",this.Pk);
d.call(c,this.ya,"tick",this.qk);a?this.ya.start():this.ya.stop()}}this.b&&this.b.R()&&this.b.wa.removeAttribute("aria-hidden")};function Go(a){if(a.b.La){var b=a.j;a.j.b=a.Ab||a.R();var c=a.b.R();a.b.isVisible()||(c.style.visibility="hidden",U(c,!0));!a.Ba&&a.j.s&&a.j.i&32&&(a.Ba=Mh(c));b.Gb(c,b.g^1,null,a.Ba);a.b.isVisible()||(U(c,!1),c.style.visibility="visible")}}
f.qk=function(){var a=Nh(this.R()),b=Eh(this.R());var c=this.vb;(c=!(c==a||c&&a&&c.left==a.left&&c.width==a.width&&c.top==a.top&&c.height==a.height))||(c=this.Pb,c=!(c==b||c&&b&&c.top==b.top&&c.right==b.right&&c.bottom==b.bottom&&c.left==b.left));c&&(this.vb=a,this.Pb=b,Go(this))};function Do(a,b,c){var d=Vm(a);c=c?d.ka:d.Wa;c.call(d,b,"action",a.Ok);c.call(d,b,"close",a.lk);c.call(d,b,"highlight",a.mk);c.call(d,b,"unhighlight",a.nk)}
function Co(a,b){var c=Vm(a);(b?c.ka:c.Wa).call(c,a.R(),"keydown",a.Kk)}f.mk=function(a){(a=a.target.R())&&Ho(this,a)};f.Kk=function(a){nn(this,32)&&this.R()&&this.b&&this.b.isVisible()&&a.b()};f.nk=function(){if(!$n(this.b)){var a=this.R();Xe(a,"activedescendant","");Xe(a,"owns","")}};f.lk=function(a){if(X(this,64)&&a.target instanceof On){a=a.target;var b=a.R();a.isVisible()&&X(a,2)&&null!=b&&Ho(this,b)}};
function Ho(a,b){var c=a.R(),d=Ye(b)||b;if(!d.id){var e=pm.Ta();d.id=qm(e)}Ze(c,d);Xe(c,"owns",d.id)}rn("goog-menu-button",function(){return new Bo(null)});function Io(){}w(Io,jo);Ba(Io);Io.prototype.Hb=function(a){var b=gn(this,a);b=a.g.Ra("DIV","goog-inline-block "+b.join(" "),[Jo(this,a.Rb(),a.g),Ko(this,a.g)]);qn(b,a.ha);return b};Io.prototype.Tb=function(a){return a&&a.firstChild};
Io.prototype.Za=function(a,b){var c=oe(document,"*","goog-menu",b)[0];if(c){U(c,!1);a.g.b.body.appendChild(c);var d=new po;Ym(d,c);a.Hd(d)}oe(document,"*",this.Fa()+"-caption",b)[0]||b.appendChild(Jo(this,b.childNodes,a.g));oe(document,"*",this.Fa()+"-dropdown",b)[0]||b.appendChild(Ko(this,a.g));return Io.ma.Za.call(this,a,b)};function Jo(a,b,c){return c.Ra("DIV","goog-inline-block "+(a.Fa()+"-caption"),b)}
function Ko(a,b){return b.Ra("DIV",{"class":"goog-inline-block "+(a.Fa()+"-dropdown"),"aria-hidden":!0},"\u00a0")}Io.prototype.Fa=function(){return"goog-flat-menu-button"};rn("goog-flat-menu-button",function(){return new Bo(null,null,Io.Ta())});function Lo(a,b){Rm.call(this,b);this.b=a||""}var Mo;w(Lo,Rm);f=Lo.prototype;f.tc=null;function No(){null!=Mo||(Mo="placeholder"in J("INPUT"));return Mo}f.Ie=!1;f.kc=function(){this.wa=this.g.Ra("INPUT",{type:"text"})};f.Vb=function(a){Lo.ma.Vb.call(this,a);this.b||(this.b=a.getAttribute("label")||"");Ue(me(a))==a&&(this.Ie=!0,yg(this.R(),"label-input-label"));No()&&(this.R().placeholder=this.b);Xe(this.R(),"label",this.b)};
f.Pa=function(){Lo.ma.Pa.call(this);var a=new R(this);a.ka(this.R(),"focus",this.ri);a.ka(this.R(),"blur",this.wk);No()?this.i=a:(E&&a.ka(this.R(),["keypress","keydown","keyup"],this.Ek),a.ka(xe(me(this.R())),"load",this.il),this.i=a,Oo(this));Po(this);this.R().g=this};f.Db=function(){Lo.ma.Db.call(this);this.i&&(this.i.Da(),this.i=null);this.R().g=null};function Oo(a){!a.j&&a.i&&a.R().form&&(a.i.ka(a.R().form,"submit",a.Hk),a.j=!0)}
f.va=function(){Lo.ma.va.call(this);this.i&&(this.i.Da(),this.i=null)};f.ri=function(){this.Ie=!0;yg(this.R(),"label-input-label");if(!No()&&!Qo(this)&&!this.ha){var a=this,b=function(){a.R()&&(a.R().value="")};D?P(b,10):b()}};f.wk=function(){No()||(this.i.Wa(this.R(),"click",this.ri),this.tc=null);this.Ie=!1;Po(this)};f.Ek=function(a){27==a.keyCode&&("keydown"==a.type?this.tc=this.R().value:"keypress"==a.type?this.R().value=this.tc:"keyup"==a.type&&(this.tc=null),a.preventDefault())};
f.Hk=function(){Qo(this)||(this.R().value="",P(this.tk,10,this))};f.tk=function(){Qo(this)||(this.R().value=this.b)};f.il=function(){Po(this)};function Qo(a){return!!a.R()&&""!=a.R().value&&a.R().value!=a.b}f.reset=function(){Qo(this)&&(this.R().value="",null!=this.tc&&(this.tc=""),Po(this))};f.Nb=function(a){null!=this.tc&&(this.tc=a);this.R().value=a;Po(this)};f.tb=function(){return null!=this.tc?this.tc:Qo(this)?this.R().value:""};f.Oc=function(){return this.b};
function Po(a){var b=a.R();No()?a.R().placeholder!=a.b&&(a.R().placeholder=a.b):Oo(a);Xe(b,"label",a.b);Qo(a)?(b=a.R(),yg(b,"label-input-label")):(a.ha||a.Ie||(b=a.R(),Q(b,"label-input-label")),No()||P(a.nm,10,a))}f.Ga=function(a){this.R().disabled=!a;Ag(this.R(),"label-input-label-disabled",!a)};f.isEnabled=function(){return!this.R().disabled};f.nm=function(){!this.R()||Qo(this)||this.Ie||(this.R().value=this.b)};function Ro(a,b){po.call(this,a,b);qo(this,!0);this.Ja(!1,!0);this.b=new Lk}w(Ro,po);f=Ro.prototype;f.zj=!1;f.Bi=0;f.Vb=function(a){Ro.ma.Vb.call(this,a);(a=a.getAttribute("for")||a.htmlFor)&&So(this,this.g.R(a),1)};f.Pa=function(){Ro.ma.Pa.call(this);this.b.forEach(this.Jh,this);var a=Vm(this);a.ka(this,"action",this.Sl);a.ka(this.g.b,"mousedown",this.Ul,!0)};
function So(a,b,c,d){b&&Nk(a.b,Ha(b))||(b?(c={wa:b,yj:c,vl:d,Vh:"mousedown",Yg:void 0},a.b.set(Ha(b),c)):c=null,a.La&&a.Jh(c),b=v(a.Yl,b),a.R()&&Vm(a).ka(a.R(),"keydown",b))}f.Yl=function(a,b){if(27==b.keyCode)a.focus();else{var c=an(this,this.lb);if(c){c=c.R();var d=new kf(b.g,c);d.target=c;if(32==b.keyCode||13==b.keyCode)pf(c)?Mf(c,"keydown",!1,d):Jf(c,"keydown",!1,d);32==b.keyCode&&To(this)}}};f.Jh=function(a){Vm(this).ka(a.wa,a.Vh,this.bm);"contextmenu"!=a.Vh&&Vm(this).ka(a.wa,"keydown",this.dm)};
function Uo(a,b,c,d){var e=a.isVisible(),g;(g=a.isVisible())||(g=150>Ma()-a.Bi);g&&a.zj?To(a):a.dispatchEvent("beforeshow")&&(c="undefined"!=typeof c?c:8,e||(a.R().style.visibility="hidden"),U(a.R(),!0),b.Gb(a.R(),c,d),e||(a.R().style.visibility="visible"),a.Fc(-1),a.Ja(!0))}function To(a){a.isVisible()&&(a.Ja(!1),a.isVisible()||(a.Bi=Ma()))}f.Sl=function(){To(this)};f.bm=function(a){Vo(this,a)};f.dm=function(a){32!=a.keyCode&&13!=a.keyCode&&40!=a.keyCode||Vo(this,a);40==a.keyCode&&ao(this)};
function Vo(a,b){for(var c=a.b.Wb(),d=0;d<c.length;d++){var e=a.b.get(c[d]);if(e.wa==b.i){c=a;d=p(e.yj)?new Ml(e.wa,e.yj,!0):new Ql(b.clientX,b.clientY);d.j&&d.j(5);Uo(c,d,e.vl,e.Yg);b.preventDefault();b.b();break}}}f.Ul=function(a){this.isVisible()&&!this.qc(a.target)&&To(this)};f.qf=function(a){Ro.ma.qf.call(this,a);To(this)};f.va=function(){Ro.ma.va.call(this);if(this.b){var a=this.b;a.g={};a.b.length=0;a.i=0;delete this.b}};function Wo(a){O.call(this);this.b=[];Xo(this,a)}w(Wo,O);f=Wo.prototype;f.Qf=null;f.Ig=null;function Yo(a,b){a.Ig=b}function Xo(a,b){b&&(x(b,function(c){Zo(this,c,!1)},a),vb(a.b,b))}f.Qb=function(a){this.ue(a,this.b.length)};f.ue=function(a,b){a&&(Zo(this,a,!1),wb(this.b,b,0,a))};f.yd=function(){return ub(this.b)};function $o(a,b){b!=a.Qf&&(Zo(a,a.Qf,!1),a.Qf=b,Zo(a,b,!0));a.dispatchEvent("select")}f.va=function(){Wo.ma.va.call(this);delete this.b;this.Qf=null};
function Zo(a,b,c){b&&("function"==typeof a.Ig?a.Ig(b,c):"function"==typeof b.th&&b.th(c))};function ap(){}w(ap,mo);Ba(ap);ap.prototype.Hb=function(a){return a.g.Ra("DIV",gn(this,a).join(" ")+" goog-inline-block","\u00a0")};ap.prototype.Za=function(a,b){b=ap.ma.Za.call(this,a,b);Q(b,"goog-inline-block");return b};ap.prototype.Fa=function(){return"goog-toolbar-separator"};function bp(){this.b="toolbar"}w(bp,Qn);Ba(bp);bp.prototype.ze=function(a){return"HR"==a.tagName?new no(ap.Ta()):bp.ma.ze.call(this,a)};bp.prototype.Vd=function(){return"goog-toolbar"};bp.prototype.Xh=function(){return"horizontal"};function cp(a,b,c){Wn.call(this,b,a||bp.Ta(),c)}w(cp,Wn);cp.prototype.rf=function(a){cp.ma.rf.call(this,a);this.Ac||ao(this)};function dp(){}w(dp,ho);Ba(dp);dp.prototype.Fa=function(){return"goog-toolbar-button"};function ep(a,b,c){Hn.call(this,a,b||dp.Ta(),c)}w(ep,Hn);rn("goog-toolbar-button",function(){return new ep(null)});function fp(a,b){no.call(this,a||ap.Ta(),b)}w(fp,no);rn("goog-toolbar-separator",function(){return new fp});function gp(a,b,c,d,e,g){function h(l){if(l){l.tabIndex=0;We(l,k.ta);Q(l,"goog-zippy-header");l&&k.ra.ka(l,"click",k.ua);var m=k;l&&(Rg(m.V,l),m.ha.ka(m.V,"key",m.ya))}}O.call(this);this.s=e||ke();this.g=this.s.R(a)||null;this.j=this.s.R(d||null);this.o=Fa(b)?b:null;this.ta=g||"tab";this.i=this.o||!b?null:this.s.R(b);this.b=1==c;p(c)||this.o||(this.j?this.b="none"!=this.j.style.display:this.g&&(this.b=wg(this.g,"goog-zippy-expanded")));this.ha=new R(this);this.V=new Qg;this.ra=new R(this);var k=this;
h(this.g);h(this.j);hp(this,this.b)}w(gp,O);gp.prototype.va=function(){gp.ma.va.call(this);bf(this.ha);bf(this.V);bf(this.ra)};function hp(a,b){a.i?U(a.i,b):b&&a.o&&(a.i=a.o());a.i&&Q(a.i,"goog-zippy-content");a.j?(U(a.g,!b),U(a.j,b)):a.g&&(Ag(a.g,"goog-zippy-expanded",b),Ag(a.g,"goog-zippy-collapsed",!b),Xe(a.g,"expanded",b));a.b=b;a.dispatchEvent(new ip("toggle",a,a.b))}
gp.prototype.ya=function(a){if(13==a.keyCode||32==a.keyCode)hp(this,!this.b),this.dispatchEvent(new ip("action",this,this.b,a)),a.preventDefault(),a.b()};gp.prototype.ua=function(a){hp(this,!this.b);this.dispatchEvent(new ip("action",this,this.b,a))};function ip(a,b){gf.call(this,a,b)}w(ip,gf);function jp(a,b){Rm.call(this,b);this.b=a}w(jp,Rm);jp.prototype.i="info";jp.prototype.j=!1;var kp={info:"jfk-butterBar-info",error:"jfk-butterBar-error",warning:"jfk-butterBar-warning",promo:"jfk-butterBar-promo"};jp.prototype.isVisible=function(){var a=this.R();return null!=a&&wg(a,"jfk-butterBar-shown")};jp.prototype.Ja=function(a){Ag(this.R(),"jfk-butterBar-shown",a)};
jp.prototype.kc=function(){this.wa=this.g.Ra("DIV","jfk-butterBar");var a=this.R();a&&(Xe(a,"live","assertive"),Xe(a,"atomic","true"));this.b=this.b;if(a=this.R()){var b=this.g;b.ei(a);b.di(a,this.b)}this.j=this.j;(a=this.R())&&Ag(a,"jfk-butterBar-mini",this.j);a=this.i;if(this.zd()){b=this.R();var c=kp[a];yg(b,kp[this.i]);Q(b,c)}this.i=a};function lp(a){if(null!=a)switch(a.qg){case 1:return 1;case -1:return-1;case 0:return 0}return null}var mp=function(a){function b(c){this.content=c}b.prototype=a.prototype;return function(c,d){var e=new b(String(c));void 0!==d&&(e.qg=d);return e}}(Wl);function np(a){return null!=a&&a.Rd===Tl?String(String(a.Rb()).replace(op,"").replace(pp,"<")).replace(qp,rp):td(String(a))}
var sp={"\x00":"�","\t":"	","\n":"
","\x0B":"","\f":"","\r":"
"," ":" ",'"':""","&":"&","'":"'","-":"-","/":"/","<":"<","=":"=",">":">","`":"`","\u0085":"…","\u00a0":" ","\u2028":"
","\u2029":"
"};function rp(a){return sp[a]}
var qp=/[\x00\x22\x27\x3c\x3e]/g,tp=/^(?!on|src|(?:action|archive|background|cite|classid|codebase|content|data|dsync|href|http-equiv|longdesc|style|usemap)\s*$)(?:[a-z0-9_$:-]*)$/i,op=/<(?:!|\/?([a-zA-Z][a-zA-Z0-9:\-]*))(?:[^>'"]|"[^"]*"|'[^']*')*>/g,pp=/</g;function up(a,b){this.i=a;this.s=!!b;this.j={0:this.i+"-arrowright",1:this.i+"-arrowup",2:this.i+"-arrowdown",3:this.i+"-arrowleft"}}w(up,Fl);f=up.prototype;f.Ai=!1;f.kg=2;f.Ih=20;f.lg=3;f.lh=-5;f.hg=!1;f.sh=function(a){this.g=a};f.setPosition=function(a,b,c,d){null!=a&&(this.lg=a);null!=b&&(this.kg=b);xa(c)&&(this.Ih=Math.max(c,15));xa(d)&&(this.lh=d)};f.Gb=function(a,b,c){a=this.kg;2==a&&(a=0);vp(this,this.lg,a,2==this.kg?wp(this.lg)?this.b.offsetHeight/2:this.b.offsetWidth/2:this.Ih,0,c)};
function vp(a,b,c,d,e,g){if(a.g){var h=xp(b,c);var k=a.g;var l=Mh(k);l=(wp(b)?l.height/2:l.width/2)-d;var m=Il(k,h),q;if(q=Eh(k))k=ph(Nh(k)),wp(b)?k.top<q.top&&!(m&1)?l-=q.top-k.top:k.bottom>q.bottom&&m&1&&(l-=k.bottom-q.bottom):k.left<q.left&&!(m&4)?l-=q.left-k.left:k.right>q.right&&m&4&&(l-=k.right-q.right);k=l;k=wp(b)?new G(a.lh,k):new G(k,a.lh);l=wp(b)?6:9;a.hg&&2==e&&(l=wp(b)?4:1);m=b^3;wp(b)&&"rtl"==a.g.dir&&(m=b);h=Gl(a.g,xp(m,c),a.b,h,k,g,a.Ai?l:0,void 0,null);if(2!=e&&h&496){vp(a,b^3,c,d,
a.hg&&0==e?1:2,g);return}!a.s||h&496||(e=parseFloat(a.b.style.left),g=parseFloat(a.b.style.top),isFinite(e)&&0==e%1&&isFinite(g)&&0==g%1||yh(a.b,Math.round(e),Math.round(g)))}yp(a,b,c,d)}
function yp(a,b,c,d){var e=a.o;Pa(a.j,function(g){Ag(e,g,!1)},a);Q(e,a.j[b]);e.style.top=e.style.left=e.style.right=e.style.bottom="";a.g?(c=Jh(a.g,a.b),d=zp(a.g,b),wp(b)?e.style.top=Ap(c.y+d.y,a.b.offsetHeight-15)+"px":e.style.left=Ap(c.x+d.x,a.b.offsetWidth-15)+"px"):e.style[0==c?wp(b)?"top":"left":wp(b)?"bottom":"right"]=d+"px"}function Ap(a,b){return 15>b?15:fe(a,15,b)}function xp(a,b){switch(a){case 2:return 0==b?1:5;case 1:return 0==b?0:4;case 0:return 0==b?12:13;default:return 0==b?8:9}}
function zp(a,b){var c=0,d=0,e=Mh(a);switch(b){case 2:c=e.width/2;break;case 1:c=e.width/2;d=e.height;break;case 0:d=e.height/2;break;case 3:c=e.width,d=e.height/2}return new G(c,d)}function wp(a){return 0==a||3==a};function Bp(a){$e.call(this);this.g=a||ke()}w(Bp,$e);Bp.prototype.o=function(){We(this.R(),"tooltip");Xe(this.R(),"live","polite")};function Cp(a){Bp.call(this,a);this.b=this.g.Ra("DIV","jfk-tooltip-contentId");this.j=this.g.Ra("DIV","jfk-tooltip-arrow",this.g.Ra("DIV","jfk-tooltip-arrowimplbefore"),this.g.Ra("DIV","jfk-tooltip-arrowimplafter"));this.i=this.g.Ra("DIV",{"class":"jfk-tooltip",role:"tooltip"},this.b,this.j);this.o()}w(Cp,Bp);Cp.prototype.R=function(){return this.i};Cp.prototype.va=function(){Cp.ma.va.call(this);this.i&&K(this.i)};function Dp(a){Cp.call(this,a)}w(Dp,Cp);Dp.prototype.o=function(){We(this.R(),"tooltip")};var Ep={};function Fp(a){R.call(this);this.ya=a;this.ta=new ug(this.xm,0,this);af(this,this.ta);var b=xe();this.V=Fa(b.MutationObserver)?new b.MutationObserver(u(this.vk,this)):null;a=a.b;this.ka(a,"mouseout mousedown click blur focusout keydown".split(" "),this.Nj,!0);this.ka(a,["mouseover","focus","focusin"],this.tm,!0)}w(Fp,R);f=Fp.prototype;f.va=function(){Gp(this);Fp.ma.va.call(this)};
function Hp(a,b){switch(b.type){case "mousedown":case "mouseover":case "mouseout":case "click":a.Ba=!1;break;case "keydown":a.Ba=!0}}f.tm=function(a){this.V&&this.V.disconnect();Hp(this,a);var b=a.target;a="focus"==a.type||"focusin"==a.type;var c=this.b&&Ie(this.b.b,b);if(this.Ba||!a||c){this.Sa=a;if(a=b&&b.getAttribute&&this.V)a=b.getAttribute("role")||null,a=ob(Ve,a);a&&(this.V.observe(b,{attributes:!0}),(a=Ye(b))&&(b=a));this.j=b}else this.j=null;Ip(this)};
f.Nj=function(a){Hp(this,a);var b=a.target;b=this.b&&Ie(this.b.b,b);if("mousedown"!=a.type&&"click"!=a.type||!b)this.j=null,Ip(this)};f.vk=function(a){x(a,u(function(b){var c=Ye(b.target);c&&"aria-activedescendant"==b.attributeName&&(this.j=c,Ip(this))},this))};function Ip(a){if(0==a.ta.Oa||!a.g||!a.s){Gp(a);var b=null!=a.s?a.s:50;a.ta.start(a.g?b:300)}}function Gp(a){a.ha&&(tg(a.ha),a.ha=0,a.g=null)}
f.xm=function(){if(!this.j)Jp(this),this.s=this.g=null;else if(!(this.g&&this.b&&Ie(this.b.R(),this.j))||this.g.getAttribute("data-tooltip-unhoverable")){var a=Te(this.j,function(k){return k.getAttribute&&(k.getAttribute("data-tooltip-contained")||k.getAttribute("data-tooltip")||k.b)&&!k.getAttribute("data-tooltip-suspended")}),b=!1;this.g&&this.g!=a&&(Jp(this),this.s=this.g=null,b=!0);if(!this.g&&a&&(this.g=a,Kp(this,a))){var c=fd;if(a.getAttribute("data-tooltip-contained"))for(var d=ne("jfk-tooltip-data",
a),e=0;e<d.length;e++){if(d[e].parentNode==a){c=d[e].cloneNode(!0);break}}else c=a.b?a.b:Zc(a.getAttribute("data-tooltip"));d=a.getAttribute("data-tooltip-align");e=a.getAttribute("data-tooltip-class");var g=a.getAttribute("data-tooltip-offset");g=Gb(zd(g))?-1:Number(g);var h=a.getAttribute("data-tooltip-hide-delay");h=Gb(zd(h))?null:Number(h);if(!b&&(a=a.getAttribute("data-tooltip-delay"),a=Math.max(0,a-300))){this.ha=P(v(this.uj,this.g,c,d,g,e,h),a,this);return}this.uj(this.g,c,d,g,e,h)}}};
function Kp(a,b){return b.getAttribute("data-tooltip-only-on-overflow")&&b.offsetWidth>=b.scrollWidth&&b.offsetHeight>=b.scrollHeight||a.Sa&&"mouse"==b.getAttribute("data-tooltip-trigger")?!1:!0}function Lp(a){if(a)switch(a.toLowerCase().split(",")[0]){case "l":return 0;case "t":return 2;case "r":return 3}return 1}
f.uj=function(a,b,c,d,e,g){this.ha=0;this.s=g;if(!this.b){this.b=new Dp(this.ya);Jp(this);this.ya.b.body.appendChild(this.b.R());af(this,this.b);this.o=new up("jfk-tooltip",!0);this.o.Ai=!0;this.o.hg=!0;g=this.o;var h=this.b.j;g.b=this.b.R();g.o=h}a:{if(c)switch(c.toLowerCase().split(",")[1]){case "l":g=0;break a;case "r":g=1;break a}g=2}this.o.setPosition(Lp(c),g,void 0,d);yg(this.b.R(),"jfk-tooltip-hide");this.ra!=e&&(this.ra&&!Gb(zd(this.ra))&&yg(this.b.R(),this.ra),Gb(zd(e))||Q(this.b.R(),e),
this.ra=e);yh(this.b.R(),0,0);if(b instanceof Uc)C(this.b.b,b);else for(De(this.b.b);c=b.firstChild;)this.b.b.appendChild(c);this.o.sh(a);this.o.Gb(null,0)};function Jp(a){a.b&&Q(a.b.R(),"jfk-tooltip-hide")};function Y(a,b,c,d){Hn.call(this,a,Mp.Ta(),b);this.ya=c||0;this.j=d||0;this.Na=!1}w(Y,Hn);f=Y.prototype;f.Fb=function(){return this.j};
f.Yb=function(a){this.ha=a;var b=this.R();if(b)if(this.Na){var c=a instanceof Uc?ek(Wc(a).toString()):a;b.removeAttribute("title");b.removeAttribute("data-tooltip-contained");b.removeAttribute("data-tooltip");a?(a instanceof Uc?b.b=a:(b.setAttribute("data-tooltip",a),b.b=null),b.setAttribute("aria-label",c)):(b.b=null,b.removeAttribute("aria-label"));a=ke(b)||ke();b=Ha(a.b);Ep[b]||(Ep[b]=new Fp(a))}else a?b.title=a:b.removeAttribute("title")};
f.Ga=function(a){this.isEnabled()!=a&&(Y.ma.Ga.call(this,a),Np(this))};f.Sf=function(a){Y.ma.Sf.call(this,a);Op(this,!1)};f.md=function(a){Y.ma.md.call(this,a);this.isEnabled()&&Op(this,!0)};f.xc=function(a){Y.ma.xc.call(this,a);this.isEnabled()&&Op(this,!0)};function Op(a,b){a.R()&&Ag(a.R(),"jfk-button-clear-outline",b)}function Np(a){a.R()&&Pp(a.Qc(),a)}
function Qp(a,b){if(r(a)){var c=a;a=I("IMG");kd(a,c);T(a,21,21)}Q(a,"jfk-button-img");c=[];c.push(a);if(b){var d=I("SPAN","jfk-button-label",b);c.push(d)}return c}function Mp(){this.$a=this.Fa()+"-standard";this.g=this.Fa()+"-action";this.ra=this.Fa()+"-primary";this.o=this.Fa()+"-default";this.s=this.Fa()+"-flat";this.ha=this.Fa()+"-narrow";this.V=this.Fa()+"-mini";this.j=this.Fa()+"-contrast"}w(Mp,pn);Ba(Mp);f=Mp.prototype;f.ud=function(a,b,c){a&&c.ya!=a&&(c.ya=a,Np(c));b&&c.j!=b&&(c.j=b,Np(c))};
f.Fa=function(){return"jfk-button"};
f.Hb=function(a){var b=a.g,c={disabled:!a.isEnabled(),checked:X(a,16),style:a.ya,title:a.ha,Dm:a.Na,value:a.tb(),width:a.Fb()};c=c||{};var d=c.attributes;var e=c.content;var g=c.disabled,h=c.id,k=c.Xm,l=c.title,m=c.Dm,q=c.value;h='<div role="button"'+(h?' id="'+np(h)+'"':"")+' class="';var B=c||{};c=B.Om;var A=B.disabled,N=B.checked,fa=B.width,ja="goog-inline-block jfk-button ";B=B.style;switch(Ga(B)?B.toString():B){case 0:ja+="jfk-button-standard";break;case 2:ja+="jfk-button-action";break;case 3:ja+=
"jfk-button-primary";break;case 1:ja+="jfk-button-default";break;case 4:ja+="jfk-button-flat";break;case 5:ja+="jfk-button-mini";break;case 6:ja+="jfk-button-contrast";break;default:ja+="jfk-button-standard"}fa=Fa(fa)&&Fa(1)?fa.Rd!==(1).Rd?!1:fa.toString()===(1).toString():1==fa;g=h+np(ja+((fa?" jfk-button-narrow":"")+(N?" jfk-button-checked":"")+(c?" "+c:"")+(A?" jfk-button-disabled":"")))+'"'+(g?' aria-disabled="true"':' tabindex="'+(k?np(k):"0")+'"')+(l?m?' data-tooltip="'+np(l)+'"':' title="'+
np(l)+'"':"")+(q?' value="'+np(q)+'"':"");d?(null!=d&&d.Rd===Ul?d=d.Rb().replace(/([^"'\s])$/,"$1 "):(d=String(d),d=tp.test(d)?d:"zSoyz"),d=" "+d):d="";d=g+d+">";e=null!=e?e:"";e=null!=e&&e.Rd===Tl?e:e instanceof Uc?mp(Wc(e).toString(),e.b()):mp(td(String(String(e))),lp(e));d=mp(d+e+"</div>");e=(b||ke()).b.createElement("DIV");if(Ga(d))if(d instanceof Vl){if(d.Rd!==Tl)throw Error("Sanitized content was not of kind HTML.");d=hd(d.toString(),d.qg||null)}else d=Xc("zSoyz");else d=Xc(String(d));C(e,d);
1==e.childNodes.length&&(d=e.firstChild,1==d.nodeType&&(e=d));b.di(e,a.Rb());this.Za(a,e);return e};f.Za=function(a,b){Mp.ma.Za.call(this,a,b);this.i||(this.i=ab(this.$a,v(this.ud,0,null),this.g,v(this.ud,2,null),this.ra,v(this.ud,3,null),this.o,v(this.ud,1,null),this.s,v(this.ud,4,null),this.V,v(this.ud,5,null),this.j,v(this.ud,6,null),this.ha,v(this.ud,null,1)));for(var c=vg(b),d=0;d<c.length;++d){var e=this.i[c[d]];e&&e(a)}if(c=b.getAttribute("data-tooltip"))a.ha=c,a.Na=!0;return b};
f.tb=function(a){return a.getAttribute("value")||""};f.Nb=function(a,b){a&&a.setAttribute("value",b)};function Pp(a,b){function c(h,k){(h?d:e).push(k)}var d=[],e=[],g=b.ya;c(0==g,a.$a);c(2==g,a.g);c(3==g,a.ra);c(4==g,a.s);c(5==g,a.V);c(1==g,a.o);c(6==g,a.j);c(1==b.Fb(),a.ha);c(!b.isEnabled(),a.Fa()+"-disabled");zg(b.R(),e);xg(b.R(),d)};function Rp(a){var b=new Qj;b=new Pj(b);return ck(b,a)};function Sp(a,b){var c=new Pm(a);var d=hd(b.innerHTML,null);var e=c.R();e&&C(e,d);c.className="buy-tip-card";c.Sa=new kh(5,5,5,5);c.rg=!0;c.Vf=500;c.Ng=250};function Z(){O.call(this);this.b=new R(this)}w(Z,O);Z.prototype.va=function(){this.dispatchEvent("dispose");Z.ma.va.call(this);this.b.Da()};function Tp(a,b){this.o=a||200;this.j=b||108;Z.call(this)}w(Tp,Z);Tp.prototype.hc=function(){return this.o};Tp.prototype.Fb=function(){return this.j};function Up(a){Fm.call(this,a,void 0,void 0);this.Uh=!1;this.rg=!0;this.Vf=500}la(Up,Pm);Up.prototype.Xf=function(a,b){b||(b=new Ml(a,9,!0));Pm.prototype.Xf.call(this,a,b)};Up.prototype.className="unified-hovercard";var Vp={update:function(a){for(var b in a)Vp[b]=a[b]},Hj:function(a){if(r(a))try{a=JSON.parse(a)}catch(c){a=null}for(var b in a)Vp.Gj(b,a[b])},Gj:function(a,b){Vp[a]=b}};Na("_OC_addFlags",Vp.Hj);var Wp="ganpub ganclk dapp source_ip source_country source_domain authuser".split(" ");function Xp(a){var b=void 0===b?window.location.href:b;var c=new V(b);W(a,"hl","en");(b=zl(c,"output"))&&W(a,"output",b);b=zl(c,"source");"ge-ipad-app"==b?(W(a,"dapp","2"),a.b.remove("output")):"ge-tablet-app"==b?(W(a,"dapp","4"),a.b.remove("output")):"ge-ip-app"==b?W(a,"dapp","1"):"ge-android-app"==b&&W(a,"dapp","3");zl(c,"authuser")||a.b.remove("authuser");x(Wp,function(d){var e=zl(c,d);e&&W(a,d,e)})};function Yp(a,b,c){$e.call(this);this.g=null;this.data=a;this.b=b;this.j=c||500}la(Yp,$e);Yp.prototype.va=function(){this.g&&this.g.Da()};function Zp(a){return a.g||(a.g=new R(a))}
Yp.prototype.i=function(a){var b=I("DIV"),c=new V(this.data.b.de||this.data.b.ij);this.data.b.source&&W(c,"source",this.data.b.source);var d=this.data.b.title;this.data.b.xj&&(d+=": "+this.data.b.xj);d=I("A",{},d);d.classList.add(this.b+"-title");jd(d,c.toString());b.appendChild(d);a.appendChild(b);$p(this,a);b=I("DIV");if(xa(this.data.b.lj||0)){d=this.data.b.lj||0;c=Math.floor(d);d=0<d-c?1:0;for(var e=5-c-d,g=I("SPAN",this.b+"-stars goog-inline-block");0<c;){c--;var h=I("SPAN","card-star-on goog-inline-block");
g.appendChild(h)}for(;0<d;)d--,h=I("SPAN","card-star-half goog-inline-block"),g.appendChild(h);for(;0<e;)e--,h=I("SPAN","card-star-off goog-inline-block"),g.appendChild(h);b.appendChild(g)}c=this.data.b.om;d=I("A",{},this.data.b.wl+" reviews");d.classList.add(this.b+"-reviews-link");d.classList.add("goog-inline-block");jd(d,c);b.appendChild(d);a.appendChild(b);this.data.b.vj&&(c=new Pj,b=I("DIV",this.b+"-snippet"),c=ck(c,this.data.b.vj+" "),C(b,c),c=I("A",{},"more \u00bb"),c.classList.add(this.b+
"-more-link"),jd(c,this.data.b.de),b.appendChild(c),a.appendChild(b))};
function $p(a,b){var c="",d=I("DIV"),e=a.data.b.Kh;if(!Gb(zd(e))){c=e.split(/\s*,\s*/g);e=c.length;if(!e)return;var g=I("SPAN","author"),h=e-1,k=Be(", ");x(c,function(l,m){var q=l?l.replace(aq,""):"";q=qd(q);var B=new V(pd('/ebooks?output=ws2&as_brr=5&q=inauthor:"%s"',q));Xp(B);q=I("A",{},q);jd(q,B.toString());g.appendChild(q);m<h&&(B=k.cloneNode(!0),g.appendChild(B))},a);d.appendChild(g);c="\u00a0-\u00a0"}a.data.b.kj&&(Ce(d,I("SPAN",a.b+"-pubdate",c+a.data.b.kj)),c="\u00a0-\u00a0");a.data.b.Fi&&
(d.appendChild(Be(c)),Ce(d,I("SPAN",a.b+"-pagesnum",a.data.b.Fi+" pages")));b.appendChild(d)}
function bq(a,b,c,d,e,g,h){c=I("A",{id:h||""},c);jd(c,e?"#":d);c.classList.add(a.b+"-button");c.classList.add(a.b+"-button-hilite");g&&c.classList.add("disabled");e&&(e=di||ei?"touchstart":"click",Zp(a).nd(c,e,function(k){k.preventDefault();k=I("FORM",{method:"POST"});var l=d instanceof rc?d:zc(d);k.action=tc(l);S(k,{position:"absolute",overflow:"hidden",width:"1px",height:"1px",visibility:"hidden"});b.appendChild(k);k.submit()},!1));b.appendChild(c)}
var aq=/(<b\s*>)|(<\/b>)/ig,cq={VIEW_PAGES_PARTIAL:2,VIEW_PAGES_ALL:5,VIEW_PAGES_PARTIAL_FIXED:6,VIEW_PURCHASED:7,VIEW_GOOGLE_EDITIONS_PREVIEW:8};function dq(){this.b={}}f=dq.prototype;f.Sc=function(){return this.b.Dh};f.lc=function(){return this.b.lc};f.Sg=function(){return this.b.Sg};f.Ed=function(){return this.b.Ed};f.Ke=function(){return this.b.Ke};function eq(){this.b=[]}eq.prototype.getId=function(){return this.Oa};eq.prototype.s=function(a,b,c){var d=null;ll(c.target)&&(d=new dq,d.b.Dh=a,this.b.push(d));b(d)};eq.prototype.ra=function(a,b,c){var d=null;ll(c.target)&&(d=fq(this,a),gq(this,d));b(d)};function gq(a,b){sb(a.b,function(c){return c.Sc()==b.Sc()})}function fq(a,b){return mb(a.b,function(c){return c&&c.Sc()==b})};function hq(a){a=new V(a);var b=a.j.split("/");b[0]||b.shift();return 3<b.length?b[3]:zl(a,"id")||""}function iq(){var a=window.location.pathname.split("/");return 1>a.length?"":a[1]};function jq(a){this.b={};this.b.title=a.title;this.b.xj=a.subtitle;this.b.Kh=a.authors;this.b.ij=a.preview_url;this.b.de=a.info_url;this.b.kj=a.pub_date;this.b.Fi=a.num_pages;this.b.Fm=a.viewability;this.b.Wm=a.subject;this.b.ym=a.thumbnail_url;this.b.vj=a.snippet;this.b.Tm=a.list_price;this.b.oj=a.sale_price;this.b.Vm=a.sale_price_better;this.b.Rl=a.offer_price;this.b.mg=a.buy_url;this.b.mj=a.read_url;this.b.Ef=a.is_free_ebook||!1;this.b.Bf=a.in_my_ebooks||!1;this.b.Um=a.my_ebooks_url||"";this.b.lj=
a.rating_score||0;this.b.wl=a.num_reviews||0;this.b.lc=a.is_purchased||!1;this.b.Df=a.is_ebook||!1;this.b.Ym=a.write_review_url||"";this.b.Xj=a.add_to_my_ebooks_url||"";this.b.km=a.preview_ebook_url||"";this.b.om=a.reviews_url||"";this.b.ag=a.view_order_url||"";this.b.Mm=a.add_to_my_ebooks_url;this.b.Jj=a.add_to_my_ebooks_url_is_on_play||!1;this.b.zf=a.has_flowing_text||!1;this.b.Af=a.has_scanned_text||!1;var b=hq(a.info_url);this.b.Dh=b;this.b.Nm=a.canonical_atb_url||"";this.b.Sg=a.is_rentable||
!1;this.b.le=a.is_pre_order||!1;this.b.dj=a.on_sale_date||"";this.b.Ed=a.is_pre_ordered||!1;this.b.Sm=a.issue_volume_count||0;this.b.Ke=a.is_volume_cancelled||!1;this.b.Kj=a.cancelled_reason||"0";switch(a.rental_state){case 1:this.b.Pf=1;break;case 2:this.b.Pf=2}this.b.mm=a.rental_end_utc||0}w(jq,dq);function kq(a){this.b=[];this.Oa=a.id;this.se=a.title;this.$a=a.num_volumes;this.g=a.access||"0";this.ta=a.predefined;this.ha=a.can_remove_volumes;this.o=a.can_add_volumes;this.V=a.can_only_add_ebooks||!1;this.i=new V(a.add_vol_base_url);this.j=new V(a.del_vol_base_url);a.volumes&&(this.b=y(a.volumes,function(b){return new jq(b)}))}w(kq,eq);function lq(){Z.call(this);this.i=[];this.g=[]}w(lq,Z);function mq(a){var b=new V(xe().location);b=new V(b);return a===parseInt(zl(b,"as_coll"),10)}function nq(a,b){return mb(Db(a.i,a.g),function(c){return c.getId()==b})};function oq(a,b){var c=I("A",{},"View order");jd(c,a);c.classList.add(b);return c};function pq(a,b,c){Yp.call(this,a,b,c);zl(new V(this.data.b.de),"dapp")}la(pq,Yp);
pq.prototype.render=function(a){De(a);var b=I("DIV",this.b),c=I("DIV",this.b+"-meta");this.i(c);var d=I("DIV",this.data.b.Df?this.b+"-footer":this.b+"-footer-nonebook"),e=I("DIV",this.b+"-footer-inner");if(this.data.b.Df)if(this.data.Ke()&&mq(1))qq(this,e);else if(this.data.b.le&&!this.data.lc()||this.data.Ed()){var g=I("DIV",this.b+"-pre-order-date");g.textContent="Available on: "+this.data.b.dj;e.appendChild(g);this.data.Ed()&&mq(1)&&qq(this,e)}else if(this.data.lc()&&mq(1))rq(this,e),qq(this,e);
else{rq(this,e);g=!this.data.lc()&&!this.data.b.Ef;var h=this.data.b.Ef&&!this.data.b.Bf;if(g||h){g=I("SPAN",{"class":this.b+"-footer-inner-right"});if(h=this.data.b.km||this.data.b.mj){for(var k=h.search(Wk),l=0,m,q=[];0<=(m=Vk(h,l,"source",k));)q.push(h.substring(l,m)),l=Math.min(h.indexOf("&",m)+1||k,k);q.push(h.substr(l));h=q.join("").replace(Yk,"$1");h=Uk(h,"source","ebookstore")}h&&(k=I("A",{id:"unified-hovercard-preview-link"},"preview it"),jd(k,h),g.appendChild(k));e.appendChild(g)}}d.appendChild(e);
b.appendChild(c);b.appendChild(d);a.appendChild(b);Mh(a).width>this.j&&T(a,this.j,"")};
pq.prototype.i=function(a){if(!(this.data.lc()||this.data.Ed()||this.data.Ke())&&this.data.b.ag&&mq(1)){var b=I("IMG",{src:"/googlebooks/images/purchase_error.gif","class":this.b+"-error-icon"});b=I("DIV",this.b+"-card-error",b,"Credit card declined:");if(this.data.b.ag){var c=oq(this.data.b.ag,"primary"),d=I("SPAN");d.innerText=" ";b.appendChild(d);b.appendChild(c)}a.appendChild(b)}Yp.prototype.i.call(this,a);b=I("DIV",this.b+"-book-options");this.data.b.Df?(this.data.b.Ef?this.data.b.Bf?sq(this,
b):bq(this,b,"eBook - FREE",this.data.b.Xj,!this.data.b.Jj,void 0,"unified-hovercard-free-btn"):this.data.Ed()?(c=I("SPAN",this.b+"-pre-ordered","Pre-ordered"),b.appendChild(c)):this.data.Ke()&&mq(1)?(c=I("DIV",this.b+"-cancelled"),d=this.data.b.Kj,0==d?L(c,"Cancelled - by customer request"):1==d?L(c,"Cancelled - problem with eBook"):2==d?L(c,"Cancelled - price change"):3==d?L(c,"Cancelled - publisher cancellation"):L(c,"Cancelled"),b.appendChild(c)):this.data.lc()||this.data.b.Bf?!this.data.lc()&&
this.data.b.Bf?tq(this,b):this.data.lc()&&sq(this,b):tq(this,b),mq(7)&&(c=I("SPAN",this.b+"-offline-remove-options"),d=I("SPAN",{id:"unified-hovercard-remove-from-ebooks","class":this.b+"-fake-link"},"Remove from My eBooks"),d.id="hovercard-remove-from-my-ebooks",c.appendChild(d),b.appendChild(c))):(c=this.data.b.ij,Sa(cq,this.data.b.Fm)&&!Gb(c)?bq(this,b,"Preview",c,void 0,void 0,"unified-hovercard-preview-sample"):bq(this,b,"Preview",c,!1,!0,"unified-hovercard-preview-sample"));a.appendChild(b)};
function qq(a,b){var c=I("DIV",{id:"unified-hovercard-purchased-shelf-links","class":a.b+"-order-links-container"}),d=a.data.b.ag;d&&(d=oq(d,""),c.appendChild(d));a.data.Ed()||(d=I("DIV",{id:"unified-hovercard-delete-forever","class":a.b+"-footer-fake-link"},"Delete forever"),Q(d,a.b+"-footer-action-link"),d.id="hovercard-delete-forever",c.appendChild(d));b.appendChild(c)}
function tq(a,b){a.data.b.le&&!a.data.lc()?bq(a,b,"Pre-order eBook - "+a.data.b.oj,a.data.b.mg,void 0,void 0,"unified-hovercard-buy-btn"):a.data.Sg()?bq(a,b,"EBOOK FROM "+a.data.b.Rl,a.data.b.mg,void 0,void 0,"unified-hovercard-buy-btn"):bq(a,b,"Buy eBook - "+a.data.b.oj,a.data.b.mg,void 0,void 0,"unified-hovercard-buy-btn")}function sq(a,b){bq(a,b,"Read now",a.data.b.mj,void 0,void 0,"unified-hovercard-read-now")}
function rq(a,b){var c=I("DIV",a.b+"-supported-devices"),d=a.b+"-device-type",e=a.b+"-device-supported",g=a.b+"-device-not-supported",h=I("SPAN",d,"Web"),k=I("SPAN",d,"Tablet / iPad"),l=I("SPAN",d,"eReader");d=I("SPAN",d,"Smartphone");var m=I("SPAN","goog-inline-block"),q=I("SPAN","goog-inline-block"),B=I("SPAN","goog-inline-block"),A=I("SPAN","goog-inline-block");a.data.b.zf?(Q(m,e),Q(q,e),Q(B,e),Q(A,e)):(a.data.b.Af?(Q(m,e),Q(q,e)):(Q(m,g),Q(q,g)),Q(B,g),Q(A,g));c.appendChild(m);c.appendChild(h);
c.appendChild(q);c.appendChild(k);c.appendChild(B);c.appendChild(l);c.appendChild(A);c.appendChild(d);b.appendChild(c)};function uq(a,b){if(vq()){var c=b,d=/\s*([.\d][.\w]*)\s+([.\d][.\w]*)\s+([.\d][.\w]*)\s+([.\d][.\w]*)/g,e=/left/g,g=/right/g,h=/Left/g,k=/Right/g,l=/%%%%/g,m={},q;for(q in c){var B=c[q].replace(d,"$1 $4 $3 $2");B=B.replace(e,"%%%%").replace(g,"left").replace(l,"right");var A=q.replace(e,"%%%%").replace(g,"left").replace(l,"right");A=A.replace(h,"%%%%").replace(k,"Left").replace(l,"Right");m[A]=B}b=m}S(a,b)}function vq(){return"rtl"==document.body.dir}
function wq(a){vq()?$h(a,"left"):$h(a,"right")}var xq={border:!0,padding:!0,margin:!0},yq=["Top","Bottom","Right","Left"],zq={color:"#0000cc",textDecoration:"underline"};function Aq(a){var b={backgroundColor:"transparent",border:"0px",color:"#000",fontFamily:"Arial, sans-serif",fontSize:"13.28px",fontWeight:"normal",lineHeight:"1",margin:"0px",padding:"0px",textAlign:"left",textDecoration:"none",verticalAlign:"middle"};x(a,function(c){Pa(b,v(Bq,c))})}
function Bq(a,b,c){var d=""==vh(a,c);xq[c]?x(yq,function(e){d&&""==vh(a,c+e)&&S(a,c+e,b)}):d&&("a"==a.tagName.toLowerCase()&&zq[c]?S(a,c,zq[c]):S(a,c,b))}function Cq(a,b){var c={img:!0,div:!0,table:!0,td:!0,span:!0,a:!0},d=[];c[a.tagName.toLowerCase()]&&d.push(a);b||Pa(c,function(e,g){vb(d,ub(a.getElementsByTagName(g)))});Aq(d)};function Dq(a,b,c){Up.call(this,a);this.Ub=vq();this.ra=this.ua=this.Jd=null;this.Dj=b;this.g=null;this.Ej=!!c;this.render(b);Eq(this)}la(Dq,Up);Dq.prototype.va=function(){Zp(this.g).Da();K(this.R())};Dq.prototype.Le=function(a,b){Up.prototype.Le.call(this,a,b);this.isVisible()&&(this.Yg=this.Ub?new kh(0,-2,0,0):new kh(0,0,0,-2),this.isVisible()&&this.Yd(),this.Jd=this.b,Fq(this))};
Dq.prototype.render=function(a){this.g&&(this.g.Da(),this.ra=this.ua=null);this.g=new pq(a,this.className,435,this.Ej);this.g.render(this.R());Eq(this);this.isVisible()&&Fq(this)};
function Fq(a){var b=I("DIV"),c=I("DIV");var d=Nh(a.Jd||null);var e=Nh(a.R());if(d){d.top=Math.ceil(d.top);e.top=Math.ceil(e.top);d.left=Math.ceil(d.left);e.left=Math.ceil(e.left);var g=e.top>=d.top,h=rh(e,d);h||(h=new oh(d.left,0,d.width,0));d=a.Ub?e.left+e.width-h.left-(h.width/2+12):h.left-e.left+(h.width/2-12);e={x:0<d?d:0,y:e.height-2,rl:g}}else e=null;g=a.Ub?"marginRight":"marginLeft";S(c,g,e.x+"px");S(b,g,e.x-1+"px");Q(a.R(),a.className+"-tooltip");e.rl?(S(c,"bottom",e.y+"px"),S(b,"bottom",
e.y+1+"px"),Q(c,a.className+"-arrow-up"),Q(b,a.className+"-arrow-up-border")):(S(c,"top",e.y+"px"),S(b,"top",e.y+1+"px"),a.Dj.b.Df||Q(c,a.className+"-nofooter"),Q(c,a.className+"-arrow-down"),Q(b,a.className+"-arrow-down-border"));a.ra?Ee(b,a.ra):a.R().appendChild(b);a.ua?Ee(c,a.ua):a.R().appendChild(c);a.ua=c;a.ra=b}
Dq.prototype.Cj=function(a){var b=a.target||null;if(b){3==b.nodeType&&(b=b.parentNode);switch(b.id){case "hovercard-remove-from-my-ebooks":a.preventDefault();var c="c";break;case "hovercard-save-sample-for-later":case "hovercard-add-to-my-ebooks":a.preventDefault();c="a";break;case "hovercard-delete-forever":a.preventDefault();c="b";break;default:b.href&&(c="f","touchstart"==a.type&&od(window.location,b.href))}c&&this.dispatchEvent(new gf(c,this))}};
function Eq(a){var b=di||ei?"touchstart":"click",c=Zp(a.g);Ig(c,a.R(),b,a.Cj,!1,a)};function Gq(a,b,c){Tp.call(this,b);this.g=a;this.i=null;this.V=!1;if(c==(1).toString()||c==(7).toString())this.V=!0}w(Gq,Tp);var Hq=new O;
Gq.prototype.Mc=function(a){var b=I("A",{className:"slider-link goog-inline-block"});T(b,"",this.hc());var c=new V(this.g.b.de);this.g.b.source?W(c,"source",this.g.b.source):W(c,"source","gbs_slider_thumb");c.b.remove("num");jd(b,c.toString());a.appendChild(b);this.i=J("img");this.i.alt="";this.b.nd(this.i,"load",u(this.ya,this));Hq.dispatchEvent("start");(a=this.g.b.ym)?(a=new V(a),W(a,"h",this.hc()),W(a,"stbn",1),a.b.remove("edge"),this.i.src=a.toString()):this.i.src="/googlebooks/images/no_cover_thumb.gif";
T(this.i,"",this.hc());b.appendChild(this.i);this.V&&2==this.g.b.Pf?(this.s=I("SPAN",["bookcard-badge","bookcard-sample-label"],"Expired"),b.appendChild(this.s)):this.V&&1==this.g.b.Pf?(a=this.g,1==a.b.Pf?(a=a.b.mm-Ma()/1E3,a=Math.round(a/3600),c=Math.round(a/24),a=1>=a?"Expiring soon":48>=a?a+" hours":c+" days"):a="",this.s=I("SPAN",["bookcard-badge","bookcard-sample-label"],a),b.appendChild(this.s)):!this.V||this.g.lc()||this.g.b.Ef||(this.s=I("SPAN",["bookcard-badge","bookcard-sample-label"],"Sample"),
b.appendChild(this.s));Af(b,"mouseover",u(this.ta,this,b))};Gq.prototype.ya=function(){this.dispatchEvent("render");Hq.dispatchEvent("complete");if(this.s){var a=Mh(this.i).width;this.s.style.width=zh(a,!0)}};Gq.prototype.ta=function(a,b){(new Dq(a,this.g)).Uc(b)};function Iq(a,b,c){Gq.call(this,a,b-40,c);this.ha=I("DIV","slider-annotation");this.ra=!1}la(Iq,Gq);Iq.prototype.Mc=function(a){Af(this,"render",u(this.ua,this));Gq.prototype.Mc.call(this,a);a.appendChild(this.ha)};
Iq.prototype.ua=function(a){if(!this.ra){a.b();a=this.ha;var b=this.g,c=J("DIV"),d=I("A",{href:b.b.de,className:"slider-annotation-title"},Be(b.b.title));c.appendChild(d);if(b=b.b.Kh)b=I("DIV","slider-annotation-author",Be(b)),c.appendChild(b);T(c,Mh(this.i).width+5,"");a.appendChild(c);this.ra=!0;this.dispatchEvent("render")}};function Jq(a,b,c){Iq.call(this,a,b,c)}la(Jq,Iq);Jq.prototype.Mc=function(a){Iq.prototype.Mc.call(this,a)};function Kq(a,b,c,d){this.ya=a;this.ra=null;this.vb=c||null;this.Ba="boolean"==typeof b?b:!0;this.nb=d||0;b=new Lq;c=new Mq(this.vb||a,this.nb);c.ua=!0;d=new km(null,null,!1);dm.call(this,b,c,d);d.b=this;d.rk(a);this.V=a;this.Nh=!1;this.ig=!0;M(this,"update",u(this.Sa,this))}w(Kq,dm);Kq.prototype.oe=function(){this.Na=this.ya.value;Kq.ma.oe.call(this);return!1};
Kq.prototype.Sa=function(a){a.rd&&(a=this.ya.form,this.ra||(this.ra=I("INPUT",{type:"hidden",name:"oq"}),a.appendChild(this.ra)),this.ra.value=this.Na,this.Ba&&a.submit())};function Lq(){}var Ak=pc(dc(ec("//suggestqueries.google.com/complete/search")));Lq.prototype.g=function(a,b){var c=y(b[1],function(d){return d[0]});a(b[0],c)};function Mq(a,b){rm.call(this);this.vb=a;this.Ab=b||0}w(Mq,rm);
Mq.prototype.Jg=function(){Mq.ma.Jg.call(this);var a=0,b=H("gbfwa");b||(b=pe("gbqfwa"));b&&(a=b.offsetTop+b.offsetHeight-1);x(oe(document,"div","ac-renderer",void 0),function(c){a&&S(c,"top",a+"px");S(c,"width",Mh(this.vb).width-2+"px");S(c,"left",parseInt(c.style.left,10)+this.Ab+"px")},this)};function Nq(a,b,c,d,e,g){Z.call(this);this.ra=a;this.V=b;this.Ba=e;this.ya=g||{};this.o=xa(d)?d:this.V?200:80;this.V||Q(this.ra,"slider-small");this.ha=[];this.i=J("A");this.i.innerHTML=vq()?"›":"‹";this.i.setAttribute("title","Scroll left");Rh(this.i,!0);this.ra.appendChild(this.i);this.g=J("div");Q(this.g,"slider-drawables");this.ra.appendChild(this.g);this.s=J("A");this.s.innerHTML=vq()?"‹":"›";this.s.setAttribute("title","Scroll right");Rh(this.s,!0);this.ra.appendChild(this.s);
this.b.ka(this.i,"click",u(this.Ei,this,-.75));this.b.ka(this.s,"click",u(this.Ei,this,.75));this.df();a=new Gg;this.b.ka(a,"resize",this.hh);this.hh();this.ta=0;this.ua=D&&F("8")&&!F("9")&&vq();c&&Oq(this,c)}w(Nq,Z);function Pq(a){var b=Math.ceil(1.25*Qq(a));b=Math.min(a.ha.length,a.ta+b);x(yb(a.ha,a.ta,b),u(a.Tj,a));a.df();a.ta=b;b>=a.ha.length&&a.dispatchEvent("render")}f=Nq.prototype;
f.Tj=function(a){var b=I("DIV",{"class":"goog-inline-block slider-loading"});this.g.appendChild(b);var c=I("DIV",{"class":"goog-inline-block slider-drawable"});U(c,!1);this.g.appendChild(c);this.b.nd(a,"render",u(this.Uj,this,b,c));a.Mc(c)};f.Uj=function(a,b){K(a);this.df();U(b,!0)};function Oq(a,b){var c=y(b,function(d){return this.V?new Jq(d,this.o):new Gq(d,this.o,this.Ba,this.ya)},a);Rq(a,c)}function Rq(a,b){vb(a.ha,b);Pq(a)}
f.Ei=function(a){(vq()?0>a:0<a)&&Pq(this);a*=this.ua?-1:1;a*=Mh(this.g).width+20;this.j&&(this.j.Da(),this.j=null);this.j=new hh([this.g.scrollLeft,0],[this.g.scrollLeft+a,0],500,wi);M(this.j,"animate",u(this.Gl,this));M(this.j,"end",u(this.df,this));this.j.play()};f.Gl=function(a){a=y(a.coords,Math.round);this.g.scrollLeft=a[0]};
f.df=function(){if(E&&vq()||this.ua){var a=this.g.scrollLeft<=-1*(this.g.scrollWidth-Mh(this.g).width);var b=0==this.g.scrollLeft}else a=0==this.g.scrollLeft,b=this.g.scrollLeft>=this.g.scrollWidth-Mh(this.g).width;this.i.className=a?"slider-button slider-button-left slider-button-disabled":"slider-button slider-button-left";this.s.className=b?"slider-button slider-button-right slider-button-disabled":"slider-button slider-button-right"};f.hh=function(){this.df()};
function Qq(a){var b=a.V?110:50;return Math.ceil(Mh(a.g).width/b)};function Sq(a,b){Z.call(this);this.V=a;this.source=b?b:"gbs_bookshelf_slider";this.ha=0;this.j=new Gg;this.ta=this.j.Aa();this.ra="";Af(this.j,"resize",u(this.Gi,this))}la(Sq,Z);f=Sq.prototype;f.Gi=function(){this.j.Aa().width>this.ta.width?this.lf():Af(this.j,"resize",u(this.Gi,this))};f.render=function(a){this.o=a;this.g=new Nq(this.o,!0,void 0,void 0,this.V.getId());this.b.ka(this.g,"render",u(this.lf,this))};
f.lf=function(){this.g.hh();var a=Math.ceil(1.25*Qq(this.g))+1,b=Tq(this,this.ha,a);b&&(this.ha+=a,cl(b,u(this.hl,this)))};f.hl=function(a){a=a.target;if(ll(a)){if((a=(new kq(ml(a))).b)&&a.length){var b=hq(a[a.length-1].b.de);this.ra!=b&&(this.ra=b,Rq(this.g,Uq(this,a)));(a=Se(this.R()))&&Oh(a,1)}this.dispatchEvent("success")}};function Uq(a,b){return y(a.sg(b),function(c){return this.g.V?new Jq(c,200,this.V.getId()):new Gq(c,80,this.V.getId())},a)}f.R=function(){return this.o};
f.sg=function(a){return this.source?y(a,function(b){b.b.source=this.source;return b},this):a};function Vq(a,b,c,d,e){Sq.call(this,a,e);this.i=b;this.s=c||!1;this.ua=d||[]}la(Vq,Sq);function Tq(a,b,c){var d=new V("/books?jscmd=SearchVolume");Xp(d);W(d,"start",b);W(d,"num",c);a.s?(W(d,"as_pt","MAGAZINES"),W(d,"as_coll2",a.i)):(W(d,"as_brr",3),W(d,"q",a.i),hb(a.ua,function(e){W(d,e.name,e.value)}));return d}Vq.prototype.render=function(a){this.o=a;this.g=new Nq(a,!this.s);this.b.ka(this.g,"render",u(this.lf,this))};
Vq.prototype.sg=function(a){return this.s?y(a,function(b){b.b.source="gbs_other_issues";return b},this):Sq.prototype.sg.call(this,a)};function Wq(){}f=Wq.prototype;f.Bb=function(a){this.j=a.width;this.o=a.height};f.Aa=function(){return new ie(this.j,this.o)};f.Ae=function(){return this.s};f.jd=function(){return this.g};f.Fb=function(){return this.j};f.hc=function(){return this.o};f.Xb=function(){return new G(this.s,this.g)};function Xq(a){return new oh(a.s,a.g,a.j,a.o)};function Yq(a){this.i=a}w(Yq,Wq);Yq.prototype.Ca=function(){return this.i};Yq.prototype.Bb=function(a){void 0==a.width?(this.o=a.height,this.j=Math.round(a.height*Zq(this.i))):void 0==a.height?(this.j=a.width,this.o=Math.round(a.width/Zq(this.i))):(this.j=a.width,this.o=a.height)};function $q(){O.call(this);this.b=new Xl}w($q,O);function ar(a,b){b.sort(br);x(b,function(c){c.ad(this)},a);a.b=new Xl;x(b,function(c){this.b.set(c.Qa(),c)},a);a.dispatchEvent("update")}function br(a,b){return cr(a)-cr(b)}function dr(a){return a.b.wb()}function er(a,b,c){a=dr(a);for(var d=-1,e=0;e<a.length;e++)if(a[e].Qa()==b){d=e;break}if(0<=d)return a[c+d]}function fr(a,b){return a.b.get(b)}function gr(a,b){b=Hb(b);if(0!=b.length)return mb(dr(a),function(c){return hr(c)==b})};function ir(a){O.call(this);this.b={};a&&this.Fd(a)}w(ir,O);f=ir.prototype;f.ke=function(){return this.b.w||this.getParent().hd.width};f.zg=function(){return this.b.h||this.getParent().hd.height};function Zq(a){return a.ke()/a.zg()}f.Aa=function(){return new ie(this.ke(),this.zg())};f.Fd=function(a){for(var b in a)this.b[b]=a[b];this.dispatchEvent("update")};f.ad=function(a){this.Ka=a};f.getParent=function(){return this.Ka};function hr(a){return a.b.title}
f.Oc=function(){var a=hr(this);return a?"Page "+a:""};function cr(a){return a.b.order}f.Rc=function(a){if(this.b.src&&a){var b=new V(this.b.src);W(b,"w",a.width);return b.toString()}return this.b.src};f.Qa=function(){return this.b.pid};function jr(a,b,c){this.V=a;this.i=b;this.ha=c||!1;a=this.Aa();this.b()?a.height=120:a.height=65;this.Bb(a)}w(jr,Wq);jr.prototype.b=function(){var a=H("gb-mobile-menu-pubinfo");return a?0<Fe(a).length&&null!=this.V&&0==cr(this.V):!1};function kr(){this.g=[]}kr.prototype.Qb=function(a){this.g.push(a)};kr.prototype.Aa=function(){var a=this.Fb(),b=this.hc();return null===a||null===b?null:new ie(a,b)};kr.prototype.yd=function(a){return ib(this.g,a||Xb)};function lr(a,b){for(var c=0;c<a.g.length;c++){var d=a.g[c];if(b(d))return d}return null}function mr(a,b){return lr(a,function(c){return c.jd()<=b&&c.jd()+c.Aa().height>=b})}function nr(a,b){return mb(a.g,function(c){return mh(ph(Xq(c)),b)})};function or(){this.g=[];this.cells=[]}w(or,kr);f=or.prototype;f.marginTop=0;f.jh=0;f.Og=0;f.$f=0;f.Em=!1;f.Fb=function(){return this.j};f.hc=function(){return this.o};function pr(a){qr(a);for(var b=0,c=0;c<a.s;c++){var d=rr(a,c);x(a.cells[c],function(h){if(h){var k=b+Math.round((d-h.Aa().width)/2);h.s=k}});b+=d+a.Og}a.j=b;var e=a.marginTop;for(c=0;c<a.b;c++){var g=sr(a,c);x(tr(a,c),function(h){if(h)if(this.Em){var k=e+Math.round((g-h.Aa().height)/2);h.g=k}else h.g=e});e+=g+a.$f}a.o=e+a.jh}
function tr(a,b){return y(a.cells,function(c){return c[b]})}function rr(a,b){var c=0;x(a.cells[b],function(d){d&&(c=Math.max(c,d.Aa().width))});return c}function sr(a,b){var c=0;x(tr(a,b),function(d){d&&(c=Math.max(c,d.Aa().height))});return c};function ur(a){or.call(this);this.s=a}w(ur,or);function qr(a){a.b=Math.ceil(a.g.length/a.s);for(var b=0;b<a.b;b++)for(var c=0;c<a.s;c++){var d=b*a.s+c;a.cells[c]=a.cells[c]||[];a.cells[c][b]=a.g[d]}};function vr(a){ur.call(this,a);this.V=new Map}w(vr,ur);vr.prototype.Pc=function(a){return this.V.get(wr(Yq,a))};vr.prototype.ra=function(a){if(a instanceof jr)a=wr(a.constructor,a.i);else if(a instanceof Yq)a=wr(a.constructor,a.Ca());else throw Error("Input item must be a LayoutPage or LayoutSeparator.");return this.V.get(a)};
vr.prototype.Qb=function(a){if(a instanceof jr){var b=wr(a.constructor,a.i);this.V.set(b,a)}else a instanceof Yq&&(b=wr(a.constructor,a.Ca()),this.V.set(b,a));vr.ma.Qb.call(this,a)};function wr(a,b){return Ha(a)+"#"+b.Qa()};function xr(a,b,c,d){this.$f=this.Og=10;this.jh=this.marginTop=20;b=Math.floor((b-20)/(100+this.Og));d&&2<b&&(b-=b%2);vr.call(this,b);dr(a);a=y(dr(a),function(e){e=new Yq(e);var g=e.Aa();g.width=100;e.Bb(g);return e});c&&(c=a[0].Aa(),d=new Wq,d.Bb(c),this.Qb(d));x(a,u(this.Qb,this));pr(this)}w(xr,vr);function yr(a,b,c,d,e){vr.call(this,1);this.ha=b;this.i=c;var g=d||!1,h;a=dr(a);x(a,function(k){g&&h&&1<cr(k)-cr(h)&&zr(this,h,k);var l=H("gb-mobile-menu-pubinfo");l&&0<Fe(l).length&&!g&&h&&k&&0==cr(h)&&zr(this,h,k,!0);l=new Yq(k);var m=l.Aa();"fixed_height"==this.ha?m.height=this.i:m.width=this.i;l.Bb(m);this.Qb(l);h=k},this);g&&h&&e&&cr(h)<cr(e)&&zr(this,h,e);pr(this)}w(yr,vr);function zr(a,b,c,d){b=new jr(b,c,d||!1);c=b.Aa();"fixed_height"==a.ha?c.height=a.i:c.width=a.i;b.Bb(c);a.Qb(b)}
yr.prototype.Ag=function(){return this.i};yr.prototype.Oi=function(){return this.ha};yr.prototype.$f=8;function Ar(){};function Br(a,b){this.b=b}w(Br,Ar);Br.prototype.render=function(a){var b=this.b(a);b.Bb(a.Aa());b.setPosition(a.Xb());return b};function Cr(a,b){var c=Dr(a),d=Dr(b);0==cr(a)||0==cr(b)?d="This is a preview. The total pages displayed will be limited.":!xa(c)||!xa(d)||c>=d||1==Math.abs(c-d)?d="Some pages are omitted from this book preview.":Er(a,b)?d="Page "+(--d+" is not part of this book preview."):(c=++c+"",d=--d+"",d="Pages "+(c+(" to "+(d+" are not shown in this preview."))));return d}function Dr(a){a=hr(a);if(/[^0-9]/.test(a)||Gb(a))a=null;else{var b=a.length-1;a=0<=b&&a.indexOf("B",b)==b?Yg(a,ah):Yg(a,$g)}return a}
function Er(a,b){var c=Dr(a),d=Dr(b);return 0==c+1-(d-1)};function Fr(){Z.call(this)}w(Fr,Z);function Gr(a,b){Z.call(this);this.s=a;this.o=b;this.j=b.V;this.i=b.i;this.g=J("DIV");this.g.className="separator-container";this.s.appendChild(this.g);var c=J("TABLE");c.className="separator-outer-table";this.g.appendChild(c);var d=c.insertRow(-1).insertCell(-1);d.align="center";var e=J("DIV");e.className="separator-background";d.appendChild(e);d=J("TABLE");d.className="separator-inner-table";e.appendChild(d);d.align="center";if(b.b()){var g=H("gb-mobile-menu-pubinfo");if(g){var h=(g||document).getElementsByTagName("IMG");
if(1==h.length){h=h[0].cloneNode(!0);var k=d.insertRow(-1).insertCell(-1);k.insertBefore(h,k.childNodes[0]||null);Q(k,"separator-message");Q(k,"separator-pubinfo-message")}h=Cr(this.j,this.i);k=Pe(g);d=d.insertRow(-1).insertCell(-1);g=J("SPAN");g.className="separator-text";d.appendChild(g);var l=this.o;l.b&&l.ha?(h=Rp(k),C(g,h)):(h=Rp(h+"<br>"+k),C(g,h));Q(d,"separator-message");Q(d,"separator-pubinfo-message")}Q(c,"separator-pubinfo");Q(e,"separator-pubinfo")}else c=d.insertRow(-1).insertCell(-1),
Q(c,"separator-message"),c.innerHTML=Cr(this.j,this.i);Rh(this.g,!0);Cq(this.g)}la(Gr,Fr);Gr.prototype.Bb=function(a){T(this.g,a)};Gr.prototype.setPosition=function(a){yh(this.g,a)};Gr.prototype.Xa=function(){K(this.g)};function Hr(a,b){this.b=a;this.g=b};function Ir(a){O.call(this);Jr(this,a||"")}w(Ir,O);Ir.prototype.getQuery=function(){return this.i};function Jr(a,b){a.i!=b&&(a.i=b,a.dispatchEvent("change"))};function Kr(){this.b={}};function Lr(a){this.g=a}Lr.prototype.Ob=function(a){this.b&&(this.b.Da(),De(this.g.Ia().i.g));this.b=new a(this.g);this.b.ra&&this.b.ra(this.g.Ca());this.b.ta&&this.b.ta()};Lr.prototype.Ia=function(){return this.b};function Mr(a){Z.call(this);this.ha=a;De(a);S(a,"overflow","hidden");this.o=J("div");S(this.ha,{position:"relative",padding:"0px"});a=this.ha;a.insertBefore(this.o,a.childNodes[0]||null);this.ua=new Kr;this.ra=[];this.j=[];a=u(this.xi,this,1);this.j.push(["next",a]);a=u(this.xi,this,-1);this.j.push(["previous",a]);a=u(this.dl,this);this.j.push(["turntopage",a]);a=u(this.jl,this);this.j.push(["zoomin",a]);a=u(this.kl,this);this.j.push(["zoomout",a]);this.s=new Lr(this);a=J("div");Cq(a,!0);S(a,{position:"absolute",
left:"0px",top:"0px"});this.ha.appendChild(a);this.ta=a;this.Bb(Vh(this.ha));Nr.push(this);this.Ua=new Ir;M(this.Ua,"change",this.Zk,!1,this)}w(Mr,Z);var Nr=[];f=Mr.prototype;
f.Bb=function(a){a.width=Math.max(a.width,0);a.height=Math.max(a.height,0);if(!this.g||!je(this.g,a)){var b=this.o,c=te(ke(me(b)).b);if(!D||F("10")||c&&F("8"))Th(b,a,"content-box");else{var d=b.style;c?(d.pixelWidth=a.width,d.pixelHeight=a.height):(c=Uh(b),b=Hh(b),d.pixelWidth=a.width+b.left+c.left+c.right+b.right,d.pixelHeight=a.height+b.top+c.top+c.bottom+b.bottom)}this.g=a;(d=this.s.Ia())&&d.Bb(a);this.dispatchEvent("resize")}};f.Aa=function(){return this.g};f.Fb=function(){return this.g.width};
f.hc=function(){return this.g.height};f.go=function(){this.dispatchEvent("load")};f.Ob=function(a){this.V!=a&&(this.V=a,this.s.Ob(a),this.dispatchEvent("viewportmodechange"))};f.Ia=function(){return this.s.Ia()};function Or(a,b){if(a.Ka)throw"";a.Ka=b;M(b,"update",u(a.Vk,a))}f.Vk=function(){this.dispatchEvent("pagesupdate")};function Pr(a,b){var c=fr(a.Ka,b);c&&a.yb(c,void 0)}f.yb=function(a,b){if(this.i!=a||b)this.i=a,this.dispatchEvent("pagechange")};
function Qr(a,b){Rr(a,b,u(function(c){P(u(this.yb,this,c))},a))}function Rr(a,b,c){a=a.Ka;new V(b);b=new a.g({url:b});b.ad(a);c=u(a.o,a,c);Sr(b,Tr(b),c)}f.Yk=function(a,b,c,d){(c=Ur(d,c))&&Vr(this,a,b,c)};function Vr(a,b,c,d){if(d&&d.length){for(var e=d[0],g=1;g<d.length;g++)e=sh(e,d[g]);d=b.Ca().ke();d=b.Aa().width/d;e=new ik(e.left,e.top);e.Bg(d);e.x=Math.round(e.x);e.y=Math.round(e.y);b=jk(b.Xb());b.add(e);b.x-=c.x;b.y-=c.y;a.Ia().hj(b)}}f.Qa=function(){return this.i.Qa()};f.Ca=function(){return this.i};
f.nc=function(a){for(var b=[],c=0;c<arguments.length;c++)b.push(arguments[c]);this.ra.push(b);1==this.ra.length&&Wr(this)};function Wr(a){var b=a.ra.shift();if(b){for(var c=b.shift(),d=0;d<a.j.length;d++)a.j[d][0]==c&&a.j[d][1].apply(a,b);Wr(a)}}function Xr(a){var b=a.s.Ia();b.tg&&b.tg(a.Ca())}f.xi=function(a){var b=this.s.Ia(),c;b.Na?c=b.Na(this.Ca(),a):c=er(this.Ka,this.Ca().Qa(),a);c&&(this.yb(c),Xr(this),this.dispatchEvent("pageturn"))};f.dl=function(a){if(a=fr(this.Ka,a))this.yb(a),Xr(this)};
f.jl=function(){var a=this.s.Ia();a.dg&&(a.dg(),Xr(this))};f.kl=function(){var a=this.s.Ia();a.Fh&&(a.Fh(),Xr(this))};f.Zk=function(){this.dispatchEvent("searchupdate")};function Yr(a){var b=this;Z.call(this);this.i=a;this.ya=a.i;this.Bb(Vh(this.ya));this.s=new G(0,0);this.ha=null;this.Ba=new ug(function(){U(b.ha,!1)},600);af(this,this.Ba)}w(Yr,Z);f=Yr.prototype;f.Bb=function(a){if(!this.g||!je(this.g,a)){this.g=a;var b=this.i;b.ra=a;Zr(b);this.dispatchEvent("resize")}};function $r(a,b){a.o=b;a.V.Xa();var c=a.i,d=a.Aa();c.ra=d;Zr(c);c=a.i;d=new ie(b.Fb(),b.hc());c.ta=d;c.s=!0;T(c.g,d);P(c.ua,0,c);Zr(c);a.dispatchEvent("layoutchange")}function as(a,b){a.V=b}
f.$b=function(){var a=this.o.yd();this.Sa&&(a=this.Sa.xg(a));bs(this.V,a);this.dispatchEvent("update")};function cs(a,b){a.Sa=b}
function ds(a,b){var c=a.s.x,d=a.s.y;xa(b.x)&&(b.x=fe(b.x,0,Math.max(a.o.Fb()-a.g.width,0)));xa(b.y)&&(b.y=fe(b.y,0,Math.max(a.o.hc()-a.g.height,0)));xa(b.x)&&(c=b.x);xa(b.y)&&(1<b.y-d?a.dispatchEvent("scrolldown"):1<d-b.y&&a.dispatchEvent("scrollup"),d=b.y);a.s=new G(c,d);d=a.i;c=a.s;d.ha||(d=d.i,null!=c.y&&(d.scrollTop=c.y),null!=c.x&&(d.scrollLeft=c.x));a.dispatchEvent("move")}function es(a){var b=a.s;return b?new oh(b.x,b.y,a.g.width,a.g.height):null}f.Aa=function(){return this.g};
f.qd=function(a){this.dispatchEvent("movestart");ds(this,a);this.dispatchEvent("moveend")};function fs(a,b,c){a=a.s;c(new G(a.x+b.x,a.y+b.y))}
f.hj=function(a){var b=this.s,c=this.Aa();if(!b||Math.abs(b.x-a.x)>c.width||Math.abs(b.y-a.y)>c.height)this.qd(a);else{this.j&&(this.j.Da(),this.j=null);c=b.x-a.x;var d=b.y-a.y;this.j=new hh([b.x,b.y],[a.x,a.y],250+250*fe(Math.sqrt(c*c+d*d)/800,0,1),wi);M(this.j,"animate",u(this.Si,this));M(this.j,"end",u(this.uk,this));this.dispatchEvent("movestart");Af(this,"movestart",u(this.j.Da,this.j));this.j.play()}};f.Si=function(a){a=y(a.coords,Math.round);ds(this,new G(a[0],a[1]))};
f.uk=function(a){this.Si(a);this.dispatchEvent("moveend")};function gs(a){return new G(Math.round(a.s.x+a.g.width/2),Math.round(a.s.y+a.g.height/2))}f.va=function(){Yr.ma.va.call(this);this.V.Xa()};f.ug=function(a){null==this.ha&&(this.ha=a);this.ha.style.opacity=0;this.Ba.start()};f.Wj=function(){var a=this;this.Ba.stop();U(this.ha,!0);P(function(){a.ha.style.opacity=1})};f.Hh=1;function hs(a,b){Yr.call(this,b);this.Ma=a;this.b.ka(a,"pagechange",this.ta);this.b.ka(this.Ma,"searchupdate",this.Pb);var c=H("subscription-bar");c&&(this.b.ka(this,"scrolldown",v(this.ug,c)),this.b.ka(this,"scrollup",v(this.Wj,c)))}w(hs,Yr);function is(a,b){var c=[];"fixed_width"==a.o.Oi()&&c.push(a.Aa().width);if(a.uc){a:{var d=a.uc();var e=a.o.Ag();c=js(d,c);if(0<b)for(d=0;d<c.length;d++){if(c[d]>e){e=c[d];break a}}else for(d=c.length-1;0<=d;d--)if(c[d]<e){e=c[d];break a}}e&&a.ef(a.Sd(e))}}
hs.prototype.ef=function(a){var b=this.o;$r(this,a);if(b){b=new Hr(b,a);a=gs(this);var c=nr(b.b,a);if(!c)a:{c=Number.POSITIVE_INFINITY;for(var d=b.b.yd(),e=d[0],g=0;g<d.length;g++){var h=d[g],k=nh(ph(Xq(h)),a);if(k<c){c=k;if(0==k){c=h;break a}e=h}}c=e}b=b.g.ra(c);a=jk(a);d=c.Xb();a.x-=d.x;a.y-=d.y;d=b.Aa().width/c.Aa().width;c=b.Aa().height/c.Aa().height;a=new G(Math.round(a.x*d),Math.round(a.y*c));a=jk(b.Xb()).add(a);a=new G(Math.round(a.x+this.g.width/2*-1),Math.round(a.y+this.g.height/2*-1));this.qd(a)}};
hs.prototype.ta=function(){this.nb||this.ra(this.Ma.Ca())};hs.prototype.ra=function(a){this.o.Pc&&(a=this.o.Pc(a))&&ds(this,new G(Math.round(a.Ae()),Math.round(a.jd())))};hs.prototype.Pb=function(){ks&&(this.V.Xa(),this.vb&&this.vb(),this.$b())};var ks=!0;function ls(){this.b=new Map}ls.prototype.add=function(a,b){this.b.set(Ha(a),b)};function ms(a,b){b=void 0===b?[]:b;for(var c=new Set(b.map(function(h){return Ha(h)})),d=ba(a.b.keys()),e=d.next();!e.done;e=d.next())if(e=e.value,!c.has(e)){var g=a.b.get(e);g&&g.Xa();a.b["delete"](e)}};function ns(){this.g={};this.b=new ls}function os(a,b,c){a.g[Ha(b)]=c}ns.prototype.Xa=function(){ms(this.b)};function bs(a,b){b=ib(b,function(c){return!!this.g[Ha(c.constructor)]},a);ms(a.b,b);x(b,function(c){this.b.b.has(Ha(c))||this.b.add(c,this.g[Ha(c.constructor)].render(c))},a)};function ps(a,b){this.g=a;this.b=b}w(ps,Ar);ps.prototype.render=function(a){var b=this.b(),c=a.Ca(),d=fb(this.g.uc().Ti)/a.Aa().width,e=a.Aa();b.Of=e.width;b.Nf=e.height;e=a.Aa().clone();var g=xa(void 0)?void 0:d;e.width*=d;e.height*=g;b.ol=e.width;b.nl=e.height;b.setPosition(a.Ae(),a.jd());b.yb(c);b.Mc();return b};function qs(){};function rs(a){this.b=a}w(rs,qs);rs.prototype.xg=function(a){var b=ss(this,a);a=b[0]||[];b=b[1]||[];b.sort(v(ts,gs(this.b)));var c=[];vb(c,a,b);return c};function ts(a,b,c){return nh(ph(Xq(b)),a)-nh(ph(Xq(c)),a)}function ss(a,b){var c=es(a.b),d=new oh(c.left-800,c.top-800,c.width+1600,c.height+1600);return Cb(b,function(e){e=Xq(e);if(rh(d,e))return rh(c,e)?0:1})};function us(a,b){this.b=b;this.g=a}w(us,rs);us.prototype.xg=function(a){var b=us.ma.xg.call(this,a),c=this.g.Ca();if(c){var d=[],e=this.g.Ka;x([1,-1],function(){var g=er(e,c.Qa(),1);g&&d.push(g)});x(a,function(g){g.Ca&&ob(d,g.Ca())&&pb(b,g)})}return b};function vs(){Z.call(this)}w(vs,Z);vs.prototype.Wc=function(a){this.g=a;this.i=ws(a)};vs.prototype.va=function(){vs.ma.va.call(this);K(this.i)};function xs(a){Z.call(this);this.ha=a;this.V=[]}w(xs,vs);f=xs.prototype;f.Wc=function(a){xs.ma.Wc.call(this,a);this.He();this.Ca()&&this.b.ka(this.Ca(),"update",this.He)};f.Ca=function(){return this.g.Ca()};f.Ue=function(a,b,c,d){var e=J("div");Cq(e,!0);this.i.appendChild(e);a=ys(this,a,b,c,d);S(e,{position:"absolute",left:a[0]+"px",top:a[1]+"px",width:a[2]+"px",height:a[3]+"px"});this.ha&&(S(e,{backgroundColor:this.ha}),Oh(e,.3));this.V.push(new oh(a[0],a[1],a[2],a[3]));return e};
function zs(a){return a.g.Aa().width/a.g.Ca().getParent().hd.width}function ys(a,b,c,d,e){var g=zs(a);return y([b,c,d,e],function(h){return Math.round(h*g)})}function As(a,b){x(b,function(c){this.Ue.apply(this,c)},a)}f.Th=function(a){return this.Ue(a.left,a.top,a.width,a.height)};f.Pd=function(){De(this.i);this.V=[]};f.He=t;function Bs(){xs.call(this)}w(Bs,xs);f=Bs.prototype;f.He=function(){if(!this.j){var a=this.Ca();a&&(a=Cs(a))&&(As(this,a),this.j=!0)}};
f.Ue=function(a,b,c,d){this.o=Bs.ma.Ue.call(this,a,b,c,d);S(this.o,{border:"2px #aaaaff dashed"});this.s=J("img");this.o.appendChild(this.s);this.s.src="/googlebooks/images/dialog_close_x.gif";a=ys(this,a,b,c,d);S(this.s,{position:"absolute",cursor:"pointer",left:a[2]-19+"px",top:"4px",display:"none"});M(this.o,"mouseout",u(this.Nl,this));M(this.o,"mouseover",u(this.yi,this,!0));Af(this.s,"click",u(this.Xa,this));return this.o};f.Xa=function(){K(this.o)};f.Nl=function(a){Ie(this.o,a.target)||this.yi(!1)};
f.yi=function(a){S(this.s,{display:a?"":"none"})};function Ds(a){xs.call(this);this.o=a}w(Ds,xs);Ds.prototype.He=function(){if(!this.j){var a=this.Ca();a&&(a=Es(a))&&(x(a,function(b){var c=b.pop(),d=b.pop();b=this.Ue.apply(this,b);S(b,{cursor:"pointer"});this.b.ka(b,"click",u(this.s,this,d,c))},this),this.j=!0)}};Ds.prototype.s=function(a,b){var c=fr(this.o.Ka,a);c?this.o.yb(c):Qr(this.o,b)};function Fs(a,b){this.i=a;this.b=b}Fs.prototype.Ca=function(){return this.i};Fs.prototype.j=function(){return this.i.Rc(this.b)};function Gs(a,b,c){Fs.call(this,a,b);this.g=c}w(Gs,Fs);Gs.prototype.j=function(){return this.g.width>this.b.width?this.i.Rc(this.g):Gs.ma.j.call(this)};function Hs(a,b,c){if(D&&!F("9")){var d=[];d[0]=M(a,"readystatechange",v(Is,a,v(Js,b),d))}else Af(a,"load",v(Js,b));c&&Af(a,"error",v(Js,c))}function Js(a){P(a)}function Is(a,b,c){if("complete"!=a.readyState)return!0;If(c[0]);b();return!1}var Ks=J("div");function Ls(a){if(a)if(D){Ks.appendChild(a);var b=v(K,a);Hs(a,b,b);a.src="//www.google.com/images/cleardot.gif"}else a.src="//www.google.com/images/cleardot.gif",K(a)};function Ms(a){this.Bh={};for(var b=0;b<a.length;b++){var c=a[b];this.Bh[c.z]=new ie(c.w,c.h)}}function Ns(a,b){var c=Ta(a.Bh,function(d){return d.height==b});return c?Number(c):null};function Os(a){if(a)return a.isEntityPageViewport;a=zl(new V(window.location.href),"source");return"entity_page"==a||"entity_page_gbs_snippet"==a};function Ps(a){ir.call(this,a);this.Rf={};this.ya={};this.o={};this.ua=this.Ba=null}var Qs;w(Ps,ir);f=Ps.prototype;f.Fd=function(a,b){Ps.ma.Fd.call(this,a);b&&(this.ta=b)};function Tr(a){var b=Rs(a);W(b,"jscmd","click3");var c;a.Ua&&(c=a.Ua.getQuery());Ss(a,"vq",c);Pa(a.Rf,function(d,e){W(b,e,d)});return b}
function Sr(a,b,c){b=b.toString();if(b==a.ta)c&&c(a);else if(c&&(a.o[b]=a.o[b]||[]).push(c),b!=a.V){a.V=b;a.j&&n.clearTimeout(a.j);a.j=n.setTimeout(u(a.Gk,a,b),6E3);var d;a.Ua&&(d=a.Ua.getQuery());Qs(b,u(a.Jl,a,b,d))}}function Ss(a,b,c){c?a.Rf[b]=c:delete a.Rf[b]}f.Rf=null;f.Jl=function(a,b,c){this.V==a&&(this.V=null,this.j&&(n.clearTimeout(this.j),this.j=null),this.ta=a,Ts(this,c.page[0]),this.Ka.Qg(c),b=this.o[a])&&(x(b,function(d){d(this)},this),delete this.o[a])};
f.Gk=function(a){this.j=this.V=null;delete this.o[a]};function Rs(a){var b=a.b.url;b?b=new V(b):(b=new V(a.Ka.jm),W(b,"pg",a.Qa()),a.b.sig&&W(b,"sig",a.b.sig));Os()&&W(b,"source","entity_page");return b}f.ke=function(){return this.b.w||this.getParent().hd.width};f.zg=function(){return this.b.h||this.getParent().hd.height};var Us={additional_info:"additional_info",content:"content",feedbackUrl:"uf",flags:"flags",highlights:"highlights",links:"links",order:"order",pid:"pid",src:"src",snippetSrc:"snippet_src"};
function Ts(a,b){var c={},d;for(d in Us){var e=Us[d],g=b[e];p(g)&&("highlights"==e?a.ya[b.vq]=g:c[d]=g)}c.additional_info&&(d=c.additional_info["[NewspaperJSONPageInfo]"])&&(a.Ba=new Ms(d.tileres),d=d.page_scanjob_coordinates)&&(a.ua=""+d.x+","+d.y);a.Fd(c)}Ps.prototype.Rb=function(){return this.b.content};Ps.prototype.i=function(a){return!!(this.b.flags&a)};function Vs(a,b){b=td(b);b=b.replace(/'/g,"'");var c=a.ya[b];if(c){var d=[];x(c,function(e){d.push([e.X,e.Y,e.W,e.H])});return d}}
function Ur(a,b){var c=Vs(a,b);if(c)return y(c,v(Ws,1))}function Ws(a,b){var c=y(b,function(d){return Math.round(d*a)});return new oh(c[0],c[1],c[2],c[3])}function Es(a){if(a.b.links)return y(a.b.links,function(b){var c=b.region;return[c.X,c.Y,c.W,c.H,b.target_pid,b.url]})}function Cs(a){if(a.b.clip_highlight||a.b.clip_highlights){var b=[];x(a.b.clip_highlights||[a.b.clip_highlight],function(c){var d=[];x(["X","Y","W","H"],function(e){d.push(c[e])});b.push(d)});return b}return null}
Ps.prototype.Rc=function(a){if(this.b.src&&a){var b=new V(this.b.src);a&&Pa(this.Yh(),function(c,d){"height"==d&&a.height?W(b,c,a.height):"width"==d&&a.width&&W(b,c,a.width)});return b.toString()}return this.b.src};Ps.prototype.Yh=function(){return{width:"w",height:"h"}};function Xs(a,b,c,d,e){Z.call(this);this.Xe(a.Ia());this.o=a;this.g=c;this.ta=[];this.Ri=d;T(d,c);this.Ba=ws(this);S(this.Ba,"backgroundColor","#fff");T(this.Ba,c);if(this.Sa=p(e)?e:!0)a=ws(this),T(a,c),this.ya=new Ys(a),S(this.ya.b,{display:""});b&&(this.i=b,this.b.ka(b,"update",this.ae),Sr(b,Tr(b),void 0))}w(Xs,Z);f=Xs.prototype;f.Aa=function(){return this.g};f.Ca=function(){return this.i};function Zs(a,b){a.ta.push(b);b.Wc(a)}f.ae=t;
function $s(a){a.dispatchEvent("load");a.Sa&&S(a.ya.b,{display:"none"})}function ws(a){var b=J("div");Cq(b,!0);S(b,{position:"absolute",left:0,top:0});a.Ri.appendChild(b);return b}f.Xa=function(){x(this.ta,function(a){a.Da()});this.ta=null;this.s&&K(this.s)};function at(a){a.V=ws(a);T(a.V,a.Aa());S(a.V,{backgroundImage:"url(//www.google.com/images/cleardot.gif)",backgroundRepeat:"repeat"});a.b.ka(a.V,"mousedown",a.Ol);a.b.ka(a.V,"dragstart",hf)}f.Ol=function(a){a.display=this;bt.dispatchEvent(a)};
var bt=new O;function Ys(a){this.b=a;a={position:"absolute",left:0,color:"#808080",fontSize:"13px",backgroundColor:"white"};for(var b=0;2>b;b++){var c=J("div");Cq(c);S(c,a);this.b.appendChild(c);c.textContent="Loading...";a.bottom=0}}function ct(a,b){a.s&&K(a.s);a.s=ws(a);new dt(a.s,a.Aa(),b)}function dt(a,b,c){this.b=a;S(a,{backgroundColor:"#FFF",textAlign:"center"});T(a,b);a.innerHTML=c||"";Cq(this.b)};function et(a,b,c){Xs.call(this,a,b.Ca(),b.b,c);this.Xe(ft);a=ws(this);this.ra=new gt(b.b,a);a=ws(this);this.ha=new gt(b.b,a);at(this);Rh(c,!0);Q(c,"pageImageDisplay");this.Na=b;b.Ca()&&this.ae()}w(et,Xs);var ft=new O;et.prototype.yb=function(a){Ss(a,"output",null);et.ma.yb.call(this,a);a.Rc()&&this.ae()};
et.prototype.ae=function(){var a=this.Ca(),b=this.Na.j();if(b&&!this.j){b=ht(b);Af(this.ra,"load",u(this.ua,this,a,b,this.Aa().width));it(this.ra,[b]);var c=this.o.ua,d=a.Qa(),e=[];if(c.b[d]){var g=[],h;for(h in c.b[d])g.push(h);zb(g);for(h=0;h<g.length;h++)e.push(c.b[d][g[h]])}e.push(b);it(this.ha,e);this.j=!0;a==this.o.Ca()&&this.dispatchEvent("fetch")}kb([16,8],u(a.i,a))&&(a=pd('<table width=100% height=100%><tr><td><img src="%s"/><br/>%s</td></tr></table>',"/googlebooks/restricted_logo.gif","You have either reached a page that is unavailable for viewing or reached your viewing limit for this book."),
ct(this,a),$s(this))};function ht(a){return a}et.prototype.ua=function(a,b,c){a==this.o.Ca()&&this.dispatchEvent("loaded");this.ha.empty();var d=this.o.ua;a=a.Qa();d.b[a]=d.b[a]||{};d.b[a][c]=b;$s(this)};et.prototype.Xa=function(){this.j=!1;this.ra.empty();this.ha.empty();et.ma.Xa.call(this)};function gt(a,b){O.call(this);this.g=a;this.i=b;this.b=J("img");this.b.width=this.g.width;this.i.appendChild(this.b);Cq(this.i)}w(gt,O);gt.prototype.empty=function(){for(var a;a=Ge(this.i);)Ls(a)};
function it(a,b){Hs(a.b,u(a.j,a,a.b));for(var c=0;c<b.length;c++)a.b.src=b[c]}gt.prototype.j=function(a){this.b==a&&this.dispatchEvent("load")};function jt(a,b,c,d,e,g,h){O.call(this);this.ha=a;this.j=b;this.o=c;this.i=d;this.g=e;this.ta=g;this.ra=h;this.s=Math.ceil(this.j/this.i);this.V=Math.ceil(this.o/this.g);this.b=[];for(a=0;a<this.s;++a){b=[];for(c=0;c<this.V;++c)b.push(null);this.b.push(b)}}w(jt,O);jt.prototype.empty=function(){for(var a;a=this.ha.firstChild;)Ls(a)};jt.prototype.ya=function(a,b){S(a,{display:""});this.ra&&this.ra(b)};jt.prototype.ua=function(){};function kt(a,b,c,d){Xs.call(this,a,b.Ca(),b.b,c,d);this.ha=ws(this);at(this);b.Ca()&&this.ae();this.o=a;this.ra=M(this.o.Ia(),"update",this.ua,!1,this)}w(kt,Xs);kt.prototype.ae=function(){var a=this.Ca(),b=a.Rc(),c=this.o.Ha.Yf,d=a.Ba;if(b&&d&&!this.j){var e=Ns(d,this.Aa().height);xa(e)&&(d=(d=d.Bh[e])?d.width:null,b=new V(b),W(b,"zoom",e),W(b,"pg",a.ua),b=b.toString(),this.Na=new jt(this.ha,d,this.Aa().height,c.Ni,c.Mi,u(c.$j,c,b,d,this.Aa().height),null),this.j=!0,this.ua())}};
kt.prototype.ua=function(){if(this.j){var a=Eh(this.ha);if(a){var b=Kh(this.ha);a.top-=b.y;a.bottom-=b.y;a.left-=b.x;a.right-=b.x;if(0<a.bottom-a.top&&0<a.right-a.left){b=this.Na;a=qh(a);var c=Math.floor(a.left/b.i),d=Math.floor(a.top/b.g),e=Math.ceil((a.left+a.width)/b.i),g=Math.ceil((a.top+a.height)/b.g);e=Math.min(e,b.s);for(g=Math.min(g,b.V);c<e;c++)for(var h=d;h<g;h++)if(!b.b[c][h]){var k=b;var l=c,m=h;if(!k.b[l][m]){var q=J("img");S(q,{position:"absolute",left:l*k.i+"px",top:m*k.g+"px",display:"none"});
k.b[l][m]=q;k.ha.appendChild(q)}k=k.b[l][m];l=b.ta(c,h);Hs(k,u(b.ya,b,k,l),u(b.ua,b,k,l));k.src=l}for(c=0;c<b.s;++c)for(h=0;h<b.V;++h){if(d=!!b.b[c][h])d=new oh(c*b.i,h*b.g,(c+1)*b.i,(h+1)*b.g),d=!(d.left<=a.left+a.width&&a.left<=d.left+d.width&&d.top<=a.top+a.height&&a.top<=d.top+d.height);d&&(Ls(b.b[c][h]),b.b[c][h]=null)}}}Xr(this.o)}};kt.prototype.Xa=function(){this.j&&(this.Na.empty(),this.j=!1);this.ra&&(If(this.ra),this.ra=null);kt.ma.Xa.call(this)};function lt(a){this.Ua=a;xs.call(this,"#ffff00")}w(lt,xs);lt.prototype.He=function(){var a=this.g.Ca();if(a){var b=this.Ua.getQuery();b!=this.j&&(a=Ur(a,b),this.Pd(),a&&(y(a,u(this.Th,this)),this.j=b))}};function mt(a){O.call(this);this.url=a;this.s=null;this.o=!0}w(mt,O);mt.prototype.Lf=function(){if(this.o)this.o=!1;else throw Error();};function nt(a,b){mt.call(this,a);this.V=b||"GET";this.i=new R;this.b=new Zk}w(nt,mt);f=nt.prototype;f.Lf=function(a,b){nt.ma.Lf.call(this,a,b);this.j=a;this.g=b;this.i.ka(this.b,"success",u(this.bl,this));this.i.ka(this.b,"error",u(this.Fk,this));this.b.send(this.url.toString(),this.V,void 0)};f.bl=function(a){a=a.target;try{var b=a.b?a.b.responseText:""}catch(c){b=""}this.s=JSON.parse(b);P(u(this.dispatchEvent,this,"success"));this.j&&P(v(this.j,this.s));P(u(this.ng,this))};
f.Fk=function(){P(u(this.dispatchEvent,this,"error"));this.g&&P(this.g);P(u(this.ng,this))};f.abort=function(){this.b.abort();this.ng();return!1};f.ng=function(){Kg(this.i);this.g=this.j=null};Ad();new Sl;function ot(a,b,c){var d=n.ga;d&&d("send","event",a,b,c)}function pt(){var a="gb-get-book-content";r(a)&&(a=H(a));a&&M(a,"click",v(ot,"Buy","Click","Play Books Viewport"))}Na("_OC_analyticsTrack",ot);function qt(a){return a.length?jb(a,function(b,c){return sh(b,c)},a[0].clone()):null};function rt(a,b,c,d,e){Z.call(this);this.s=a;this.ta=b;this.ya=e;this.i=d;this.g=!1;this.o=J("div");c.appendChild(this.o);this.b.ka(b,"mousemove",this.V);this.b.ka(b,"mouseup",this.ha)}w(rt,Z);rt.prototype.V=function(a){if(!this.ua){a=he(new G(a.clientX,a.clientY),Fh(this.ta));a=lh(a,this.ya);S(this.o,{border:"2px dashed #99AAEE",position:"absolute"});var b=a.right-a.left,c=a.bottom-a.top;yh(this.o,a.left,a.top);T(this.o,b,c);this.j=a}};
rt.prototype.ha=function(a){this.V(a);this.ua=!0;a=this.i;var b=qh(this.j),c=zs(this.s);c=st(b,1/c);b=tt(st(c,1/a.Aa().width*1E3));a=new V(Rs(a).toString());W(a,"ci",[b.left,b.top,b.width,b.height].join());W(a,"jscmd","click3");W(a,"output","text");c=tt(c);ut(this.s,[c]);K(this.o);(new nt(a)).Lf(u(this.ra,this,c,b));this.dispatchEvent("endsize")};
rt.prototype.ra=function(a,b,c){c=c.page[0];var d=!1,e=c.clip_highlights;if(e){var g=[];x(e,function(h){g.push(new oh(h.X,h.Y,h.W,h.H))});if(c=c.content)ut(this.s,[a],c,b),d=!0,ot("Web Reader","Selection")}d||this.s.Pd();this.Da()};function st(a,b){return new oh(a.left*b,a.top*b,a.width*b,a.height*b)}function tt(a){return new oh(Math.round(a.left),Math.round(a.top),Math.round(a.width),Math.round(a.height))}rt.prototype.va=function(){rt.ma.va.call(this);K(this.o)};function vt(a,b){Z.call(this);this.ha=a;this.s=b}var wt;w(vt,vs);f=vt.prototype;f.Wc=function(a){vt.ma.Wc.call(this,a);a=this.i;var b=J("div");Cq(b,!0);a.appendChild(b);b.className="selection-layer";T(a,this.g.Aa());T(b,this.g.Aa());this.b.ka(b,"click",this.Pl);this.b.ka(b,"mousedown",this.Ql)};
f.Ql=function(a){if(wt){a.b();this.j&&this.j.Da();var b=this.g.Ri;a=he(new G(a.clientX,a.clientY),Fh(b));this.j=new rt(this.ha,b,this.i,this.g.Ca(),a);this.V=M(document.body,"mousemove",u(this.Rk,this));Af(this.j,["endsize","dispose"],u(this.Vj,this))}};f.Pl=function(a){wt&&a.b()};
f.Rk=function(a){if(this.j&&!this.j.ac){var b=new G(a.clientX,a.clientY),c=ph(Nh(this.s.ya));if(mh(c,b)){var d=new G(0,0);x([[c.top-a.clientY,0,-1],[c.bottom-a.clientY,0,1],[c.left-a.clientX,-1,0],[c.right-a.clientX,1,0]],function(e){40>Math.abs(e[0])&&(d.x=e[1]||d.x,d.y=e[2]||d.y)});this.o||(this.o=new rg(100),this.b.ka(this.o,"tick",this.sm));this.ra=d;d.x||d.y?this.o.start():this.o.stop()}}};f.sm=function(){var a=this.ra,b=this.s;fs(b,new G(15*a.x,15*a.y),u(b.qd,b))};
f.Vj=function(){If(this.V);bf(this.o);this.o=null};function xt(){this.b=!1;var a=I("DIV","entity-page-snackbar"),b=I("SPAN","entity-page-snackbar-text");L(b,"Selection copied to clipboard");a.appendChild(b);document.body.appendChild(a);this.j=a}xt.prototype.i=function(){S(this.j,"bottom","0");this.b=!0};xt.prototype.g=function(){S(this.j,"bottom","-48px");this.b=!1};function yt(a){this.b=a;this.g=new xt;this.j=zt(this)}yt.prototype.R=function(){return this.j};
function zt(a){var b=I("DIV");xg(b,["entity-page-copy-button","entity-page-action-chip"]);var c=I("IMG");Q(c,"entity-page-action-chip-icon");c.src="https://www.gstatic.com/images/icons/material/system/1x/content_copy_googblue_18dp.png";var d=I("SPAN");Q(d,"entity-page-action-chip-label");L(d,"Copy");b.appendChild(c);b.appendChild(d);M(b,"click",function(){a.b.focus();a.b.select();document.execCommand("copy");var e=a.g;e.b?(e.g(),P(u(e.i,e),500)):e.i();P(u(e.g,e),6E3)});return b};function At(a){Em.call(this,a);Bm(this);this.Mh=!1;this.b=new R;this.g=Os();Q(a,"viewport-selection-popup");Bt&&Bt.Da();Bt=this}w(At,Em);var Bt=null;At.prototype.j=function(){this.dispatchEvent("close");this.Da()};
function Ct(a,b,c){var d=a.R(),e=J("div");Q(e,"selection-popup-select-container");d.appendChild(e);d=J("div");Q(d,"selection-popup-select-label");e.appendChild(d);d.appendChild(Be(b));e.appendChild(J("div"));b=J("input");b.value=c;Q(b,"viewport-input");e.appendChild(b);Rh(b,!1);a.g&&(c=(new yt(b)).R(),e.appendChild(c));a.b.ka(b,"mousedown",Dt)}function Dt(a){a.b()}At.prototype.va=function(){K(this.R());At.ma.va.call(this);this.b.Da()};function Et(){xs.call(this,"#4a95d6")}w(Et,xs);Et.prototype.Wc=function(a){Et.ma.Wc.call(this,a);S(this.i,{cursor:"pointer"});this.b.ka(this.i,"mousedown",Ft)};function Ft(a){a.b()}
function ut(a,b,c,d){a.Pd();y(b,u(a.Th,a));a.o&&If(a.o);a.j&&a.j.Da();b=J("div");document.body.appendChild(b);var e=qt(a.V);if(e){var g=Fh(a.i);b=new At(b);if(c&&d){var h=a.Ca(),k=h.Rc();if(k){var l=new V(k);d=[d.left,d.top,d.width,d.height].join();W(l,"ci",d);W(l,"edge",0);l=l.toString();var m=new V(Rs(h).toString());W(m,"ci",d);W(m,"source","bookclip");m=pd('<a href="%s"><img src="%s"/></a>',m.toString(),l)}d=m;De(b.R());m=b.R();h=J("img");h.src="/googlebooks/images/material/close_black_24dp.png";
Q(h,"selection-popup-close");m.appendChild(h);b.b.nd(h,"click",u(b.j,b));h=I("DIV",{innerHTML:"Share this clip"});Q(h,"selection-popup-title");m.appendChild(h);c&&(Ct(b,"Selection text",c),m=J("DIV"),Q(m,"selection-popup-translate-container"),b.R().appendChild(m),h=new V("https://translate.google.com/translate_t"),W(h,"text",c),W(h,"sl","auto"),W(h,"tl","auto"),c=J("A"),c.href=h.toString(),c.target="_blank",b.g&&(h=I("IMG"),xg(h,["selection-popup-translate-icon","entity-page-action-chip-icon"]),h.src=
"https://www.gstatic.com/images/icons/material/system/1x/translate_googblue_18dp.png",c.appendChild(h)),h=I("SPAN"),L(h,"Translate"),Q(h,"entity-page-action-chip-label"),c.appendChild(h),h=J("SPAN"),L(h,"\u00bb"),Q(h,"selection-popup-translate-arrow"),c.appendChild(h),Q(c,"selection-popup-translate-link"),Q(c,"entity-page-action-chip"),m.appendChild(c));l&&Ct(b,"Image",l);d&&Ct(b,"Embed",d)}else c=J("DIV"),L(c,"Loading..."),Q(c,"selection-popup-loading-msg"),b.R().appendChild(c);b.Gh=4;b.isVisible()&&
b.Yd();a.j=b;c=g.x+e.left+e.width;e=g.y+e.top+e.height;g=Mh(b.R()).width;24>c-g&&(c=g+24);P(v(Gt,b,new Ql(new G(c,e))));a.o=Af(b,"close",u(a.Pd,a))}}function Gt(a,b){a.ac||(a.setPosition(b),a.Ja(!0))}Et.prototype.Pd=function(){Et.ma.Pd.call(this);this.j&&this.j.Da()};Et.prototype.va=function(){Et.ma.va.call(this);this.j&&this.j.Da();this.o&&If(this.o)};function Ht(a,b,c){return a.Ha.Yf?new kt(a,b,c):new et(a,b,c)}function It(a,b){if(b instanceof et){Zs(b,new lt(a.Ua));Zs(b,new Bs);var c=new Et(a.o),d=new vt(c,a.Ia());Zs(b,d);Zs(b,c);Zs(b,new Ds(a))}};function Jt(a,b,c){Z.call(this);this.ha=a;this.j=J("div");Cq(this.j,!0);S(this.j,{position:"absolute",display:"none"});c.appendChild(this.j);this.V=J("div");Cq(this.V,!0);S(this.V,{position:"absolute"});this.j.appendChild(this.V);this.o=J("div");Cq(this.o,!0);this.j.appendChild(this.o);this.s=J("div");Cq(this.s,!0);this.o.appendChild(this.s);U(this.j,!1)}w(Jt,Fr);f=Jt.prototype;
f.Mc=function(){var a=this.Of-2,b=this.Nf-2,c=this.ol-2,d=this.nl-2;S(this.o,{backgroundColor:"#cccccc",position:"absolute"});yh(this.o,0,0);T(this.o,this.Of,this.Nf);S(this.s,{overflow:"hidden",backgroundColor:"#fcfcfc",position:"absolute"});yh(this.s,1,1);T(this.s,a,b);U(this.j,!0);var e=this.ha;a=Ht(e,new Gs(this.Ca(),new ie(a,b),new ie(c,d)),this.s);a instanceof et?It(e,a):a instanceof kt&&a instanceof kt&&Zs(a,new lt(e.Ua));this.g=a};f.Xa=function(){this.g&&this.g.Xa();K(this.j)};
f.setPosition=function(a,b){yh(this.j,a,b)};f.jd=function(){return Ah(this.j).x};f.Ae=function(){return Ah(this.j).y};f.yb=function(a){this.i=a};f.Ca=function(){return this.i};f.hc=function(){return this.Nf};f.Fb=function(){return this.Of};function Kt(a){return a+2}f.Aa=function(){return new ie(this.Of,this.Nf)};function Lt(a){Z.call(this);De(a);Cq(a);this.i=a;this.g=J("div");Cq(this.g,!0);vq()&&(qe(a,{dir:"ltr"}),qe(this.g,{dir:"rtl"}));a.appendChild(this.g)}w(Lt,Z);function Mt(a,b){Lt.call(this,b);this.o=a;this.b.ka(b,"scroll",this.V);S(b,"position","relative");S(this.g,"position","absolute");this.j=J("div");Cq(this.j,!0);b.appendChild(this.j);this.j.appendChild(this.g)}w(Mt,Lt);function Zr(a){var b=a.ta;a.ra&&b&&(S(a.g,"left",Math.floor(Math.max(0,a.o.i.i.clientWidth-b.width)/2)+"px"),S(a.j,"height",b.height+"px"))}Mt.prototype.ua=function(){this.s=!1;this.V()};
Mt.prototype.V=function(){if(!this.s){var a=this.o.s;if(a){a=a.clone();var b=this.i;b=new G(b.scrollLeft,b.scrollTop);ge(a,b)||(this.ha=!0,this.o.qd(b),this.ha=!1)}}};function Nt(a){this.Ti=a}function js(a,b){var c=b||[],d=ib(a.Ti,function(e){return!kb(c,function(g){return 50>Math.abs(g-e)})});d.push.apply(d,c);zb(d);return d};function Ot(a){var b=a.o,c=new Mt(this,b);Pt(b);hs.call(this,a,c);cs(this,new us(a,this));as(this,Qt(this));var d=a.Ka,e=a.Ha.eh;this.ua=a.Ha.Wh?function(g){return new yr(d,e,g)}:a.Ha.Ci?function(g){return new yr(d,e,g,!0,a.Ha.Ci)}:function(g){return new yr(d,e,g,!0)};b=this.Ma.Ha;"fixed_height"==b.eh?(b=b.uc(),b=b[Math.floor(b.length/2)]+2):b=(b.j?b.j:b.i&&b.i.width?b.i.width:575)+2;this.ef(this.Sd(b));this.b.ka(this.Ma,"pagesupdate",this.Wk);this.b.ka(this.Ma,"pagemodechange",this.Bl);this.b.ka(this,
"move",this.$b);this.b.ka(this,"move",this.Cm)}w(Ot,hs);function Pt(a){S(a,"overflow","auto");S(a,{overflowX:"auto",overflowY:"scroll"});Q(a,"overflow-scrolling");qe(a,{dir:"ltr"})}f=Ot.prototype;f.dg=function(){is(this,1)};f.Fh=function(){is(this,-1)};f.uc=function(){var a=this.Ma.Ha,b=ub(a.uc());"fixed_width"==a.eh&&(a=this.Ma.Ha.ul)&&150<a-fb(b)&&(1500>a?pb(b,a):pb(b,1500));return new Nt(y(b,Kt))};f.Sd=function(a){return this.ua(a)};
f.Aa=function(){if(this.ya.hasChildNodes()){var a=Vh(this.ya.childNodes[0]).width;a=new ie(a,this.g.height)}else a=this.g;return a};function Qt(a){var b=new ns;os(b,Yq,new ps(a,v(Zb,Jt,a.Ma,a,a.i.g)));os(b,jr,new Br(a.Ma,function(c){return new Gr(a.i.g,c)}));return b}f.Cm=function(){if(this.Ub){var a=mr(this.o,gs(this).y);a&&a.Ca&&(a=a.Ca(),this.Ma.Ca()!=a&&(this.nb=!0,Pr(this.Ma,a.Qa()),this.nb=!1))}this.Ub=!0};
f.Wk=function(){var a=this.Ma.Ca(),b=this.Ma.Ka,c=fr(b,a.Qa());if(!c)a:{c=cr(a);b=dr(b);for(a=b.length-1;0<=a;a--){var d=b[a];if(cr(d)<=c){c=d;break a}}c=null}a=this.s;b=this.o;d=b.Pc(c);a=he(a,d.Xb());b=this.Sd(b.Ag());c=b.Pc(c).Xb();c=new G(c.x+a.x,c.y+a.y);$r(this,b);this.qd(c)};f.Bl=function(){this.V.Xa();this.$b()};
function Rt(a,b){if(b.$h&&b.s){a:{var c=b.s;var d=c.ve.x_focus,e=c.ve.y_focus;if(!p(d)||!p(e)){c=St(c);if(!c.length){c=null;break a}d=c[0][0];e=c[0][1]}c=new G(d,e)}d=c.x-40;c=c.y-40;e=a.o.Pc(b);var g=e.Fb()/b.ke();return new G(e.Ae()+Math.round(g*d),e.jd()+Math.round(g*c))}return null}
f.tg=function(a){if(a.$h&&a.s){var b=a.s;if(null!=a.ha)var c=a.ha;else a.ha=new Tt(this.i.g),c=a.ha;c.b=this.i.g;H("focus_article_div")&&K(H("focus_article_div"));var d=this.o.Pc(a);a=d.Fb()/a.ke();if(St(b)&&(b=St(b))){var e=b[0];if(e&&4==e.length){b=a*e[0]+d.Ae();d=a*e[1]+d.jd();var g=a*e[2];a*=e[3];e=J("DIV");e.setAttribute("id","focus_article_div");Cq(e,!0);Oh(e,.3);S(e,{position:"absolute",left:b+"px",top:d+"px",width:g+"px",height:a+"px",cursor:"pointer",backgroundColor:"#36C",border:"2px solid #00F"});
c.b.appendChild(e)}}}};function Ut(a,b,c,d,e){Z.call(this);this.j=a;this.i=c;var g=J("div");S(g,{position:"absolute"});e=e.width-2;yh(g,d.x+(vq()?e:0),d.y);b.i.g.appendChild(g);this.o=g;b=Math.floor(e/Zq(c));g=new ie(e,b);this.g=J("div");this.o.appendChild(this.g);S(this.g,{padding:"1px",position:"absolute"});this.s();b=J("div");this.g.appendChild(b);S(b,{overflow:"hidden",backgroundColor:"#fcfcfc"});T(b,g);this.g.appendChild(b);d=J("img");d.title=c.Oc();this.ha=d;e=V;var h=new V(c.Ka.ql);W(h,"pg",c.Qa());c.b.sig&&W(h,
"sig",c.b.sig);e=new e(h.toString());W(e,"zoom","1");W(e,"img","1");W(e,"w",g.width);if(g=this.j.Ha.zm)W(e,"imgtk",g),W(e,"jtp",cr(c));d.src=e.toString();b.appendChild(d);S(this.g,"cursor","pointer");this.b.ka(this.g,"click",this.V);this.b.ka(a,"pagechange",this.s)}la(Ut,Fr);Ut.prototype.s=function(){var a=!1,b=this.j.Ca();b&&b==this.i&&(a=!0);S(this.g,"backgroundColor",a?"#6B90DA":"#ccc")};Ut.prototype.V=function(){this.j.Ob(Ot);this.j.yb(this.i);Vt.dispatchEvent("click")};
Ut.prototype.Xa=function(){Ls(this.ha);K(this.o)};var Vt=new O;function Wt(a,b){this.b=a;this.g=b}w(Wt,Ar);Wt.prototype.render=function(a){return new Ut(this.b,this.g,a.Ca(),a.Xb(),a.Aa())};function Xt(a){var b=a.o;S(b,{overflow:"hidden"});var c=new Mt(this,b);hs.call(this,a,c);this.b.ka(this,"move",this.$b);S(b,{overflow:"auto"});as(this,Yt(this));$r(this,Zt(this));cs(this,new rs(this));P(u(this.$b,this),0);this.b.ka(this,"resize",this.ua);var d=H("subscription-bar");d&&(this.ug(d),P(function(){U(d,!1)},600))}w(Xt,hs);Xt.prototype.ra=function(a){a=this.o.Pc(a).Xb();this.qd(new G(void 0,a.y-40))};function Zt(a){var b=a.Ma.Ha.hm;return new xr(a.Ma.Ka,a.Aa().width,b,b)}
Xt.prototype.ua=function(){$r(this,Zt(this));this.ra(this.Ma.Ca())};function Yt(a){var b=new ns;os(b,Yq,new Wt(a.Ma,a));return b};function $t(a,b,c){Z.call(this);this.g=a;this.s=b;this.j=this.g.Ha.Kf;this.V=!!this.g.Ha.Kf;this.ra=!!this.g.Ha.Zf;this.o=Os(c);if(this.V){a:{a=this.g.Ka;for(b=0;b<this.j.length;b++)if(c=fr(a,this.j[b].getId())){var d;b:{for(d=b+1;d<this.j.length;d++){var e=fr(this.g.Ka,this.j[d].getId());if(e){d=e;break b}}d=null}d=d?cr(d)-1:cr(fb(dr(a)));e=cr(this.g.Ca());if(e>=cr(c)&&e<=d){a=b;break a}}a=-1}this.ha=a}}w($t,Z);f=$t.prototype;
f.render=function(a){this.i=J("div");document.body.appendChild(this.i);P(u(this.um,this));this.ta=a;if(this.V)au(this);else if(this.ra){Q(this.i,"base-image-toc-div");a=this.g.Ha.Zf;var b=fr(this.g.Ka,a);b&&bu(this,b);1<this.g.Ha.xl&&(a=er(this.g.Ka,a,1))&&bu(this,a);this.Jf()}else this.Da()};f.um=function(){this.b.ka(document,"click",this.Da);this.b.ka(this.g,"resize",this.Jf)};
function bu(a,b){var c=new ie(128,0),d=I("IMG",{width:128});Q(d,"toc-page-image");a.b.ka(d,"click",u(a.g.yb,a.g,b));E&&vq()&&a.b.ka(d,"load",a.Jf);b.Rc(c)?a.rj(d,b,c):(c=v(a.rj,d,b,c),Sr(b,Tr(b),c));a.i.appendChild(d)}f.rj=function(a,b,c){qe(a,{src:b.Rc(c)})};
function au(a){var b=I("DIV",{"class":"toc-div"}),c;x(a.j,function(d,e){var g=d.getId();g=fr(this.g.Ka,g);var h=d.fm,k=this.j[e+1]?"":"-last",l="toc-middle-cell"+k;k="toc-right-cell"+k;var m=I("DIV",{"class":g?"toc-row":"toc-disabled-row"}),q=J("div");Q(q,"goog-inline-block");Q(q,"toc-left-cell");e==this.ha&&(Q(q,vq()?"SPRITE_toc_selected_item_arrow_right":"SPRITE_toc_selected_item_arrow_left"),Q(m,"toc-row-selected"));var B=J("div");Q(B,"goog-inline-block");Q(B,l);E&&!F("1.9")&&S(B,"overflow","hidden");
var A=d.se;if(this.o)var N=A;else N=A,35<N.length&&(N=N.substring(0,32)+"...");N=Rp(N);C(B,N);this.o&&(B.title=A);A=J("div");Q(A,"goog-inline-block");Q(A,k);h=Rp(Gb(zd(h))?" ":h);C(A,h);m.appendChild(q);m.appendChild(B);m.appendChild(A);g?this.b.ka(m,"click",u(this.g.yb,this.g,g)):(yg(B,l),Q(B,"toc-middle-disabled-cell"),yg(A,k),Q(A,"toc-right-disabled-cell"));b.appendChild(m);e==this.ha&&(c=m)},a);c&&P(u(a.rm,a,c));a.i.appendChild(b);300<Mh(a.i).height&&(S(a.i,"height","300px"),Q(a.i,"scroll-toc-div-wide"));
Q(a.i,"scroll-toc-div");a.Jf()}f.rm=function(a){300<a.offsetTop+Mh(a).height&&(a=p(a.previousElementSibling)?a.previousElementSibling:He(a.previousSibling,!1))&&(this.i.scrollTop=a.offsetTop)};f.Jf=function(){Gl(this.s.R(),this.o?9:13,this.i,this.o?8:12,new G(0,-this.ta))};f.va=function(){$t.ma.va.call(this);K(this.i);this.s.sd(!1)};function cu(){}w(cu,Wq);function du(a){Z.call(this);this.j=a}la(du,vs);du.prototype.Ja=function(a){U(this.i,a)};
du.prototype.Wc=function(a){vs.prototype.Wc.call(this,a);var b=this.g.Aa();a=this.i;var c=b.width,d=b.height,e=Math.floor(.035*c);b=this.j?"/googlebooks/images/burn-left.png":"/googlebooks/images/burn-right.png";yh(a,this.j?c-e:0,0);T(a,e,d);S(a,{position:"absolute"});D?(a=a.style,D?a.filter='progid:DXImageTransform.Microsoft.AlphaImageLoader(src="'+b+'", sizingMethod="scale")':(a.backgroundImage="url("+b+")",a.backgroundRepeat="no-repeat")):(c=I("IMG",{src:b,width:e,height:d,border:0,position:"absolute",
top:0,left:0}),a.appendChild(c))};function eu(a,b){this.s=a;var c=Math.floor(b/2),d=Math.floor(c/this.s.Ka.hd.aspectRatio());this.g=new ie(c,d);this.i=J("div");S(this.i,{position:"absolute",backgroundColor:"white",top:0,left:0});this.ua=[];a.Ia().i.g.appendChild(this.i);this.j=J("div");this.V=J("div");this.ua.push(M(this.j,"dblclick",u(this.Nk,this)));c={overflow:"hidden",backgroundColor:"#fcfcfc",position:"absolute",border:"1px solid #ccc"};S(this.j,c);S(this.V,c);this.i.appendChild(this.j);this.i.appendChild(this.V);this.ra=J("div");
this.ta=J("div");this.j.appendChild(this.ra);this.V.appendChild(this.ta);fu(this)}w(eu,Fr);function fu(a){a.o&&a.o.Xa();a.ha&&a.ha.Xa();De(a.ra);De(a.ta);Sh(a.j,a.g);Sh(a.V,a.g);a.o=Ht(a.s,new Fs(a.ya,a.g),a.ra);It(a.s,a.o);a.Ba=new du(!0);Zs(a.o,a.Ba);a.ha=Ht(a.s,new Fs(a.Sa,a.g),a.ta);a.Na=new du(!1);It(a.s,a.ha);Zs(a.ha,a.Na)}f=eu.prototype;f.setPosition=function(a){0>a.x&&(a.x=0);yh(this.i,a)};f.Nk=function(a){a.preventDefault();a.b();this.s.nc("previous")};
f.Ja=function(a){S(this.i,{display:a?"":"none"})};f.Mc=function(){S(this.j,{left:0,top:0});S(this.V,{left:this.g.width+"px",top:0})};function gu(a){return ib([a.ya,a.Sa],function(b){return!!b})}f.Xa=function(){this.o.Xa();this.ha.Xa();for(var a;a=this.ua.pop();)If(a);this.i.parentNode&&K(this.i)};function hu(a){return 2*a};function iu(a){this.g=a}w(iu,Ar);iu.prototype.render=function(a){var b=new eu(this.g,a.Aa().width);b.setPosition(a.Xb());b.Mc();b.Ja(!0);return this.b=b};function ju(a,b,c){O.call(this);this.o=a;this.i=b;this.g=Mh(b).width;this.s=c;this.rb=!1;this.j=vq()}la(ju,O);function ku(a,b){if(b!=a.rb){a.rb=b;var c=a.o.Ia().i.g;U(c,!1);Mh(c);c=[v(lu,a.i,a.s,a.g,a.j,b),u(a.b,a),v(U,c,!0)];x(c,P)}}ju.prototype.b=function(){this.dispatchEvent("change")};function lu(a,b,c,d,e){var g=b.style.width;d=d?"right":"left";e?(b.style[d]="0",b.style.width=g+c):(b.style[d]="",b.style.width="");U(a,!e)};function mu(a,b,c){this.ra=a;this.ha=b;this.s=c;a=J("div");S(a,{whiteSpace:"nowrap",padding:"5px",border:"1px solid #fff588",backgroundColor:"#ffffcc",fontSize:"13.28px",position:"relative"});this.b=a;this.ra.appendChild(this.b);mu.prototype.g.apply(this);M(this.s,"change",u(this.i,this));M(new Gg,"resize",u(P,null,u(this.i,this)))}mu.prototype.i=function(){var a=Mh(this.b);if(0<a.width){var b=Math.round(Mh(this.ha).width/2);yh(this.b,b-Math.round(a.width/2),0)}};
mu.prototype.j=function(){U(this.b,!0);this.i()};mu.prototype.g=function(){U(this.b,!1)};function nu(a,b,c){mu.apply(this,arguments);this.o=new mi(this.b,500);this.V=new ug(u(this.g,this))}w(nu,mu);nu.prototype.j=function(a){Oh(this.b,1);mu.prototype.j.apply(this);a&&this.V.start(a)};nu.prototype.g=function(){this.o.play()};var ou=null;function pu(a,b){R.call(this);this.g=ou;this.j=a;this.b=b;this.j.Ha.Wh||(this.ka(this.j,"pageturn",this.o),this.ka(this.b,"dispose",this.Da))}w(pu,R);pu.prototype.o=function(){var a=gu(this.b.ua.b)[0]||new ir,b=gu(this.b.ua.b)[1]||new ir,c=this.V,d=this.s,e=d?cr(d):-1,g=cr(a)||-1,h=cr(b)||-1,k=Math.max(c?cr(c):-1,e),l=Math.max(g,h);if(Math.abs(l-k)>this.b.Hh){if(0<l-k){var m=k==e?d:c;var q=a}0>l-k&&(m=-1!=h?b:a,q=d);1<h-g&&(m=a,q=b);!Er(m,q)&&p(m)&&p(q)&&(a=Cr(m,q),this.g.b.innerHTML=a,this.g.j(3E3))}};function qu(a){this.ve=a}function St(a){var b=[];a.ve.head_boxes&&x(a.ve.head_boxes,function(c){b.push([c.X,c.Y,c.W,c.H])});return b};function Tt(a){this.b=a};function ru(a){Ps.call(this,a)}w(ru,Ps);f=ru.prototype;f.Fd=function(a){ru.ma.Fd.call(this,a);a&&a.additional_info&&(this.ra=a.additional_info["[NewspaperJSONPageInfo]"],this.ra.articles&&(this.g={},x(this.ra.articles,function(b){var c=b.aid;c&&(this.g[c]=new qu(b))},this)))};f.Oc=function(){return this.i(32)?"Front Cover":this.i(64)?"Back Cover":ru.ma.Oc.call(this)};f.Yh=function(){return{width:"w"}};
f.wg=function(a){if(!this.g)return null;if(a in this.g)return this.g[a];var b=y(Object.keys(this.g),function(c){var d=c.split(","),e=a.split(","),g=parseInt(d[0],10)-parseInt(e[0],10);d=parseInt(d[1],10)-parseInt(e[1],10);return[g*g+d*d,this.g[c]]},this);Bb(b,function(c){return c[0]});return b&&b[0]&&b[0][1]?b[0][1]:null};f.$h=function(){return this.s};function su(a,b){$q.call(this);this.j={};if(a){this.jm=a.prefix;this.ql=a.image_prefix||a.prefix;var c=y(a.page,function(d){d=new this.g(d);b&&(d.Ua=b);return d},this);ar(this,c)}}w(su,$q);su.prototype.Qg=function(a){a=a.page;for(var b=0;b<a.length;b++){var c=a[b],d=fr(this,c.pid);d&&Ts(d,c)}};su.prototype.g=Ps;su.prototype.o=function(a,b){if(!fr(this,b.Qa())){var c=ub(dr(this));vb(c,b);ar(this,c)}this.j[b.Qa()]=!0;a&&a(b)};function tu(a){su.apply(this,arguments);this.i();M(this,"update",u(this.i,this))}w(tu,su);function uu(a,b){var c={};x(b.page,function(g){var h=fr(this,g.pid);h&&Ts(h,g);c[g.pid]=!0},a);var d=dr(a),e=ib(d,function(g){return!!c[g.Qa()]||!!this.j[g.Qa()]},a);d.length!=e.length&&ar(a,e)}tu.prototype.Qg=function(a){this.s?uu(this,a):tu.ma.Qg.call(this,a)};
tu.prototype.i=function(){var a={},b=0;x(dr(this),function(h){var k=cr(h);a[k]=h;b=Math.max(b,k)});for(var c=[],d=-1;d<=b;d+=2){var e=a[d],g=a[d+1];(e||g)&&c.push([e,g])}this.fj=c};tu.prototype.g=ru;function vu(a){ur.call(this,1);var b=new cu;b.Bb(a);this.Qb(b);pr(this)}w(vu,ur);vu.prototype.ra=function(){return this.g[0]};vu.prototype.Ag=function(){return this.Fb()||0};vu.prototype.Oi=function(){return"fixed_width"};function wu(a){var b=a.o,c=new Mt(this,b);S(b,{overflow:"hidden"});hs.call(this,a,c);this.ua=new iu(a);b=new ns;os(b,cu,this.ua);this.V=b;b=a.Ka.hd.aspectRatio();c=this.Aa();b=this.Sd(Math.min(2*Math.floor(c.height*b),c.width));$r(this,b);this.Ub=new pu(a,this);this.b.ka(this.Ma,"pagemodechange",this.Al);P(this.$b,0,this)}w(wu,hs);f=wu.prototype;f.uc=function(){var a=tb(xu,this.Ma.Ha.uc());return new Nt(y(a,hu))};f.ef=function(a){wu.ma.ef.call(this,a);this.V.Xa();this.$b()};
f.dg=function(){is(this,1)};f.Fh=function(){is(this,-1)};f.Al=function(){this.V.Xa();this.$b()};f.Hh=2;f.Sd=function(a){this.Aa();var b=this.Ma.Ka.hd.aspectRatio();return new vu(new ie(a,Math.floor(Math.floor(a/2)/b)))};var xu=[180,220,280];
wu.prototype.ta=function(){var a=yu(this,this.Ma.Ca()),b=this.ua.b;if(b){var c=this.Ub,d=gu(b);c.s=d[0];c.V=d[1];c=a[0];d=a[1];var e=!0;a=!0;b.ya=c;b.Sa=d;fu(b);if(c){if(c.i(64)||void 0==d)a=!1}else ct(b.o);if(d){if(d.i(32)||void 0==c)e=!1}else ct(b.ha);c=e;d=a?"":"hidden";S(b.j,"visibility",c?"":"hidden");S(b.V,"visibility",d);c=c&&a;b.Ba.Ja(c);b.Na.Ja(c)}this.dispatchEvent("pagechange")};function yu(a,b){return mb(a.Ma.Ka.fj,function(c){return ob(c,b)})}
wu.prototype.$b=function(){wu.ma.$b.call(this);this.ta()};wu.prototype.Na=function(a,b){for(var c=this.Ma.Ka.fj,d=cr(a),e,g,h=0;h<c.length;++h){var k=c[h];if(k[0]&&d==cr(k[0])||k[1]&&d==cr(k[1])){e=h;break}else if(g){var l=k[0]||k[1];if(d>=cr(g[0]||g[1])&&d<cr(l)){e=0<b?h-b:h;break}}g=k}return(c=c[xa(e)?e+b:0])?c[0]||c[1]:null};function zu(a){Z.call(this);this.ha=a;this.g=null}w(zu,Z);f=zu.prototype;
f.render=function(a,b){this.j=a;var c=a.R(),d=Fh(c).y,e=Mh(c);d=d+e.height+3;e="";b&&(e=Fh(c).x);this.g=I("DIV",{"class":"linkbar-panel-div"});yh(this.g,e,d);this.V=I("DIV",{"class":"SPRITE_close_v2 linkbar-panel-close"});this.g.appendChild(this.V);E&&Nd&&!F("1.9")&&(this.o=I("IFRAME",{style:"position: absolute;",Qm:"0"}),this.ha.appendChild(this.o));this.ha.appendChild(this.g);this.o&&(T(this.o,Mh(this.g)),yh(this.o,Ah(this.g)));P(u(this.uh,this))};
f.uh=function(){this.b.ka(this.V,"click",this.Da);this.b.ka(this.j,"action",this.Cl);this.b.ka(document,"mousedown",this.Rj)};f.Cl=function(){X(this.j,16)||this.Da()};f.Rj=function(a){Ie(this.g,a.target)||Ie(this.j.R(),a.target)||this.Da()};f.va=function(){zu.ma.va.call(this);K(this.g);K(this.o)};f.R=function(){return this.g};function Au(a,b,c){zu.call(this,a);this.ra=b;this.s=c}w(Au,zu);
Au.prototype.render=function(a,b){Au.ma.render.call(this,a,b);var c=I("DIV",{innerHTML:"Paste link in <b>email</b> or <b>IM</b>",style:"padding-top:5px; font-size: 13px;"});this.R().appendChild(c);this.i=J("input");T(this.i,"100%","auto");this.R().appendChild(this.i);this.s&&(c=I("DIV",{innerHTML:"Embed",style:"font-size: 13px; padding-top: 7px;"}),this.R().appendChild(c),this.Nc=J("input"),T(this.Nc,"100%","auto"),this.R().appendChild(this.Nc));c=this.ra.Ca();var d=(new V(window.location)).g;var e=
new V(Rs(c).toString());e.g=d;this.i.value=e.toString();P(v(Bu,this.i));this.s&&(c=new V(Rs(c).toString()),W(c,"output","embed"),this.Nc.value=Cu(c.toString()))};Au.prototype.uh=function(){Au.ma.uh.call(this);this.b.ka(this.i,"click",v(Bu,this.i));this.s&&this.b.ka(this.Nc,"click",v(Bu,this.Nc))};function Bu(a){a.select()}function Cu(a){return pd('<iframe frameborder="0" scrolling="no" style="border:0px" src="%s" width=500 height=500></iframe>',a)};function Du(a,b){Eu()&&vk(Fu,{document:a}).then(function(){var c=Aa("gapi.load",b);c&&c("gapi.rpc",{Oh:function(){var d=Aa("gapi.rpc.register");Fa(d)&&d("handshake",function(){});Gu()},onerror:function(){return null},timeout:5E3,ontimeout:function(){return null}})})}function Gu(){M(document,"keydown",function(a){27==a.keyCode&&Hu("closeViewportDialog")})}function Hu(a,b){if(Eu()){var c=Aa("gapi.rpc.call");Fa(c)&&c("..",a,null,b)}}
function Eu(){try{return window.self!==window.top}catch(a){return!0}}var Fu=pc(dc(ec("//apis.google.com/js/api.js")));function Iu(a,b){Z.call(this);this.s=a;this.i=b;this.g=J("div");a.i.g.appendChild(this.g);Q(this.g,"sitb_result");yh(this.g,b.Xb());T(this.g,b.Aa());var c=J("div");Q(c,"sitb-result-header");this.g.appendChild(c);this.j=J("div");Q(this.j,"sitb-result-page-link");var d=b.b.b;this.j.textContent=d?"Page "+d:"Page";c.appendChild(this.j);this.o=J("div");this.g.appendChild(this.o);if(c=fr(this.s.ua.Ka,this.i.b.Qa())){d=this.s.ua.Ua.getQuery();var e=c.b.snippetSrc,g;if(g=e)g=new V(e),g=zl(g,"q")||zl(g,"vq")||
zl(g,"dq"),g=d==g;g?Ju(this,e):(d=Tr(c),"entity_page"==zl(d,"source")?W(d,"source","entity_page_gbs_snippet"):W(d,"source","gbs_snippet"),Sr(c,d,u(this.V,this)))}else Ku(this)}la(Iu,Fr);Iu.prototype.ha=function(a){this.s.kd(a.b)};Iu.prototype.V=function(a){(a=a.b.snippetSrc)?Ju(this,a):Ku(this)};function Ju(a,b){De(a.o);var c=J("img");c.src=b;Lu(a);var d=a.i.Aa().width-25;S(c,{width:d+"px"});a.o.appendChild(c)}
function Lu(a){Q(a.g,"sitb-result-clickable");Q(a.j,"sitb-result-link");var b=Pe(a.j);b=Rp(b+" »");C(a.j,b);a.b.ka(a.g,"click",u(a.ha,a,a.i))}
function Ku(a){De(a.o);var b=J("div");Q(b,"sitb-result-snippet");a.o.appendChild(b);S(b,{width:Math.floor(.75*a.i.Aa().width)+"px"});b.innerHTML=a.i.b.g;b=J("div");Q(b,"sitb-result-explanatory-link");a.o.appendChild(b);var c=fr(a.s.ua.Ka,a.i.b.Qa()),d;if(d=c&&c.Rc())d=!kb([4,8,16],u(c.i,c));d&&c.i(2)?(Lu(a),a=Rp("We couldn't make an image for this result.  "),C(b,a),a=J("span"),c=Rp("Click to view the whole page."),C(a,c),b.appendChild(a),Q(a,"sitb-result-link")):(a=Rp("No preview available for this page.  "),
C(b,a),a=J("a"),Q(a,"sitb-result-buy-link"),c=Rp("Buy this book."),C(a,c),b.appendChild(a),b=new V(window.location.href),W(b,"sitesec","buy"),W(b,"source","gbs_snippet"),b.b.remove("printsec"),a.href=b.toString())}Iu.prototype.Xa=function(){K(this.g);this.Da()};function Mu(a){this.b=a}w(Mu,Ar);Mu.prototype.render=function(a){return new Iu(this.b,a)};function Nu(a){this.i=a.page_id;this.b=a.page_number||"";this.g=a.snippet_text||""}Nu.prototype.Qa=function(){return this.i};function Ou(a){this.$c=a;0<this.$c.number_of_results?(this.Eb=y(this.$c.search_results,function(b){return new Nu(b)},this),this.id=this.$c.search_results[0].page_id+Pu(this)+this.$c.search_results[this.$c.number_of_results-1].page_id):this.Eb=[]}function Pu(a){return a.$c.search_query_escaped};function Qu(a){this.b=a}w(Qu,Wq);function Ru(a){ur.call(this,1);this.ab=a;this.$f=this.jh=this.marginTop=20;a.Eb&&(x(a.Eb,u(this.i,this)),pr(this))}w(Ru,ur);Ru.prototype.i=function(a){a=new Qu(a);a.Bb(new ie(600,166));this.Qb(a)};function Su(a){var b=a.o;S(b,"overflow","hidden");var c=new Mt(this,b);Yr.call(this,c);this.ua=a;cs(this,new rs(this));this.b.ka(this,"move",this.$b);var d=H("subscription-bar");d&&(this.ug(d),P(function(){U(d,!1)},600));as(this,Tu(this));Uu(b)}w(Su,Yr);function Uu(a){S(a,"overflow","auto");S(a,{overflowX:"auto",overflowY:"scroll"});qe(a,{dir:"ltr"})}function Tu(a){var b=new ns;os(b,Qu,new Mu(a));return b}Su.prototype.kd=function(a,b){return this.Ab(a,b)};function Vu(a){this.b=a||{}}Vu.prototype.wb=function(){return this.b};Vu.prototype.Ob=function(a){var b=Ta(Wu,function(c){return c==a});this.b.v=b};Vu.prototype.getQuery=function(){return this.b.q};var Wu={onepage:Ot,twopage:wu,thumbnail:Xt,snippet:Su};function Xu(a,b){this.g=new Ai;M(this.g,"navigate",u(this.o,this));this.b=a;this.rb=b}Xu.prototype.o=function(a){Yu(this,a.V)};function Yu(a,b){if(!(a.j&&""==b||a.i))if((D||Md)&&""==b)window.history.go(-2);else if(b){var c={},d=new rl(b);x(d.Wb(),function(g){var h=d.get(g);h in Zu&&(h=Zu[h]);c[g]=h});var e=new Vu(c);a.b.Ob(Wu[e.b.v]||Ot);ku(a.rb,!!e.b.f);p(e.getQuery())&&Jr(a.b.Ua,e.getQuery())}}var Zu={"true":!0,"false":!1};
Xu.prototype.Ga=function(a){this.j=!0;this.g.Ga(a);D&&(a=(new V(window.location)).g,Yu(this,a));this.j=!1};
Xu.prototype.update=function(){var a=new Vu;a.Ob(this.b.V);var b=this.b.Ua.getQuery();a.b.q=b;var c={};c.q=b;Hu("updateInViewportPage",c);a.b.f=this.rb.rb;c=a.wb();a=Qk(c);if("undefined"==typeof a)throw Error("Keys are undefined");b=new rl(null,void 0);c=Pk(c);for(var d=0;d<a.length;d++){var e=a[d],g=c[d];Da(g)?El(b,e,g):b.add(e,g)}a=b.toString();this.i=!0;b=this.g;Ei(b)!=a&&(b.j?(Di(b,a,!1),Gi()||D&&!yi()&&Fi(b,a,!1,void 0),b.ha&&b.ai(!1)):(Fi(b,a,!1),b.fe=b.o=b.V.value=a,b.dispatchEvent(new xi(a,
!1))));this.i=!1};function $u(a){Pn.call(this,ud(a.se),a.getId());this.b=a}la($u,Pn);$u.prototype.Vb=function(a){Pn.prototype.Vb.call(this,a);if(this.b.g){var b=(a=1==this.b.g)?"Public bookshelf":"Private bookshelf";a=I("IMG",{src:"/googlebooks/images/sharing_"+(a?"public":"private")+".gif",alt:b,title:b,style:"padding-top:2px;padding-left:8px;float:"+(vq()?"left":"right")});a=I("DIV","goog-menuitem-accel",a,Be(String(this.b.$a)));b=this.zd();b.insertBefore(a,b.childNodes[1]||null)}};function av(a,b,c){c=void 0===c?!1:c;Ro.call(this);this.i=a;this.ha=b;this.ta=c}la(av,Ro);f=av.prototype;f.kc=function(){Ro.prototype.kc.call(this);var a=this.ha;a=Db(a.i,a.g);x(a,this.Ij,this)};f.Pa=function(){Ro.prototype.Pa.call(this);this.R().style.maxHeight="200px";this.R().style.overflowY="scroll";var a=Vm(this);a.ka(this.R(),"mouseout",this.Kl);a.ka(this.R(),"scroll",this.Xk)};f.Kl=function(a){Ie(this.R(),a.relatedTarget)||this.Ja(!1)};
f.Jk=function(a){var b=a.target,c=b.b,d=this.i.Sc();X(b,16)?!fq(c,d)&&null!=c.i&&c.o&&(b=c.i.clone(),c=u(c.s,c,d,t),W(b,"id",d),cl(b,c,"POST")):fq(c,d)&&null!=c.j&&c.ha&&(b=c.j.clone(),c=u(c.ra,c,d,t),W(b,"id",d),cl(b,c,"POST"));this.dispatchEvent("g");a.b()};f.Xk=function(a){a.b()};f.Ij=function(a){var b=!Gb(zd(a.se)),c=a.o&&(!a.V||this.i.o),d=!!fq(a,this.i.Sc());b&&(c||d)&&(b=new $u(a),b.sd(d),b.Ga(this.ha.j!=a.getId()||this.ta),this.Ea(b,!0),Vm(this).ka(b,"action",this.Jk))};
function bv(a){var b=[];Zm(a,function(c){c instanceof $u&&X(c,16)&&b.push(c.b)});return b};function cv(a,b,c){Y.call(this,null,null,c?5:0);this.b=new av(a,b);this.b.ad(this);af(this,this.b);this.Ba=new Image(16,16);this.Ba.src="/googlebooks/images/my_library_logo.png";this.hb(64,!0)}la(cv,Y);f=cv.prototype;f.kc=function(){Y.prototype.kc.call(this);Q(this.R(),"add-to-library")};
function dv(a){a.b.La||a.b.render();var b=bv(a.b);switch(b.length){case 0:var c="Add to my library";break;case 1:c="Added to "+b[0].se;break;default:c="Added to "+(b.length+" shelves")}0<b.length&&(c=Qp(a.Ba,c));b=c;a.i.Cd(a.R(),b);a.Dd=b}f.Ya=function(a){this.og();Y.prototype.Ya.call(this,a);this.b.La||this.b.render();a?Uo(this.b,new Pl(this.R(),8,!0),void 0,null):To(this.b)};
f.Pa=function(){Y.prototype.Pa.call(this);var a=Vm(this);a.ka(this,"enter",this.wm);a.ka(this,"leave",this.og);a.ka(this,"action",this.Ll);a.ka(this.b,"g",this.Qk);dv(this)};f.Qk=function(){dv(this)};f.Ll=function(){this.Ya(!0)};f.wm=function(){this.og();this.ej=P(u(this.Ya,this,!0),200)};f.og=function(){tg(this.ej)};f.ej=null;function ev(){};function fv(a){this.se=a.Title;this.b=a.Pid;this.fm=a.PgNum}fv.prototype.getId=function(){return this.b};function gv(a,b,c,d){this.Ni=a||256;this.Mi=b||256;this.g=c||3;this.i=d||3;this.b=null}function hv(a,b){a.b=b}gv.prototype.$j=function(a,b,c,d,e){var g=this.g,h=this.i;b=Math.ceil(b/this.Ni);c=Math.ceil(c/this.Mi);var k=Math.floor(e/g),l=Math.floor(d/h),m=g*b*k;e-=k*g;g=Math.min(g,c-k*g);m+=g*h*l;d-=l*h;h=Math.min(h,b-l*h);d=m+(e*h+d);a=new V(a);W(a,"tid",d);this.b&&(a=this.b(a,d));return a.toString()};function iv(){};function jv(a){this.se=a.title||"";this.Wh=!!a.fullview;this.Zf=a.table_of_contents_page_id||"";this.xl=a.num_toc_pages||"";this.j=a.initial_zoom_width_override;this.ul=a.max_resolution_image_width;this.hm=!!a.paired_thumbnails;this.zm=a.thumbnail_token||"";this.ra=a.containing_bookshelves||[];this.Ab=a.volume_id||"";this.Na=a.other_issues_query||"";this.ua=!!a.is_browsable;this.Ba=!!a.is_public_domain;a.last_page&&(this.Ci=new Ps(a.last_page));this.i=new ie(a.page_width,a.page_height);this.o=a.is_ebook||
!1;var b=a.additional_info,c={};b&&(c=b["[JsonBookInfo]"]);c.BuyLinks&&y(c.BuyLinks,function(){return new ev},this);c.TocLine&&(this.Kf=y(c.TocLine,function(d){return new fv(d)}));c=null;b&&(c=b["[NewspaperJSONVolumeInfo]"]);this.b=c;this.Yf=null==c?null:new gv(c.tile_h,c.tile_w,c.x_win,c.y_win);this.vb=a.sample_url||"";this.ya=a.is_newspaper||!1;(this.s=a.newspaper_tile_base_url)&&this.Yf&&hv(this.Yf,u(this.nb,this));this.Sa=c?c.res_h:kv;this.eh=this.ya?"fixed_height":"fixed_width";this.le=a.is_pre_order||
!1;this.dj=a.on_sale_date||"";this.zf=a.volumeresult&&a.volumeresult.has_flowing_text;this.Af=a.volumeresult&&a.volumeresult.has_scanned_text;this.ha=a.volumeresult&&a.volumeresult.can_download_pdf;this.V=a.volumeresult&&a.volumeresult.can_download_epub;this.ta=a.volumeresult?a.volumeresult.download_pdf_url:"";this.$a=a.volumeresult?a.volumeresult.download_epub_url:""}w(jv,iv);jv.prototype.Sc=function(){return this.Ab};var kv=[350,410,495,575,685,800,910,1025];jv.prototype.uc=function(){return this.Sa};
jv.prototype.nb=function(a){a=a.toString();var b=a.indexOf("?");0<=b&&(a=this.s+a.substring(b));return new V(a)};function lv(a,b,c){cl(a,v(mv,b,c))}function mv(a,b,c){c=c.target;ll(c)?a(ml(c)):b&&b()};function nv(a){lq.call(this);null!=a&&a.bookshelf&&x(a.bookshelf,function(b){b=new kq(b);nq(this,b.getId())||(b.ta?this.i:this.g).push(b)},this)}la(nv,lq);function ov(a,b){var c=new nv(b);a&&x(a,function(d){pv(d.Sc(),d.ra,c)});return c}function pv(a,b,c){x(b,function(d){var e=new dq;e.b.Dh=a;(d=nq(c,String(d)))&&d.b.push(e)})};function qv(a){return a.split(rv).filter(function(b){return 0<b.length})}
var sv=/\s/,tv=/[ -]/,rv=/[+,;]/,uv=/-?"[^"]+"|[^\s"]+/g,vv=RegExp('["\\u201C\\u201D\\u201E\\u201F\\u275D\\u275E\\u301D-\\u301F\\uFF02]',"g"),wv=RegExp("[,!-%'-/:-@\\[-^`{-~\\xA1\\xAB\\xBB\\xB7\\xBF\\u05F3\\u05F4\\u200B\\u2010-\\u2014\\u2018-\\u201A\\u2026\\u2039\\u203A\\u2060\\u3001\\u3002\\u3008-\\u3011\\u30FB\\uFF01-\\uFF05\\uFF07-\\uFF0F\\uFF1A-\\uFF20\\uFF3B-\\uFF3E\\uFF40\\uFF5B-\\uFF65,\"\\u201C\\u201D\\u201E\\u201F\\u275D\\u275E\\u301D-\\u301F\\uFF02,]"),xv=RegExp("^[\\s\\xA0!-%'-/:-@\\[-^`{-~\\xA1\\xAB\\xBB\\xB7\\xBF\\u05F3\\u05F4\\u200B\\u2010-\\u2014\\u2018-\\u201A\\u2026\\u2039\\u203A\\u2060\\u3001\\u3002\\u3008-\\u3011\\u30FB\\uFF01-\\uFF05\\uFF07-\\uFF0F\\uFF1A-\\uFF20\\uFF3B-\\uFF3E\\uFF40\\uFF5B-\\uFF65]+|[\\s\\xA0!-%'-/:-@\\[-^`{-~\\xA1\\xAB\\xBB\\xB7\\xBF\\u05F3\\u05F4\\u200B\\u2010-\\u2014\\u2018-\\u201A\\u2026\\u2039\\u203A\\u2060\\u3001\\u3002\\u3008-\\u3011\\u30FB\\uFF01-\\uFF05\\uFF07-\\uFF0F\\uFF1A-\\uFF20\\uFF3B-\\uFF3E\\uFF40\\uFF5B-\\uFF65]+$",
"g");function yv(a){var b={};zv(a).forEach(function(c){for(var d=b,e=0;e<c.length;e++){var g=c.charAt(e);g=wv.test(g)?"-":g;d[g]||(d[g]={});d=d[g]}d!=b&&(d.$=Av)});return b}
function zv(a){a=qd(a.toLowerCase());var b=a.match(vv);b&&(a=a.replace(vv,'"'),b.length&1&&(a+='"'));b=a.match(uv);if(!b)return[];a=new Set;b=ba(b);for(var c=b.next();!c.done;c=b.next())if(c=c.value,c.startsWith('"'))a.add(c.replace(xv,""));else if(!c.startsWith("-")){c=qv(c.replace(xv,""));c=ba(c);for(var d=c.next();!d.done;d=c.next())a.add(d.value)}a["delete"]("");return Array.from(a)}var Av={};function Bv(a){var b=!0;b=void 0===b?!1:b;this.g=r(a)?yv(a):a;this.i=b;this.b=[]}
function Cv(a,b,c,d){for(var e=fb(d),g=a.b,h=g.length-1,k;k=g[h];h--){var l=k;var m=b;var q=c,B=!1;if(l.b)if(tv.test(m)){if(B=!!l.b.$,l.b=l.b[" "]||l.b["-"],l.b)for(;m=l.b[" "]||l.b["-"];)l.b=m}else l.endOffset=q+1,l.xe=void 0,l.b=l.b[m]||null;l.g=!l.b;if(B){l={startOffset:k.startOffset,Wf:k.Wf,endOffset:k.endOffset,xe:k.xe};if(a.i)for(;e&&e.startOffset<=l.endOffset&&l.startOffset<=e.endOffset;){d.pop();if(e.startOffset<l.startOffset||e.endOffset>l.endOffset)l={startOffset:e.startOffset,Wf:e.Wf,endOffset:l.endOffset,
xe:l.xe};e=fb(d)}d.push(l);e=l}k.g&&rb(g,h)}}function Dv(a,b){this.startOffset=a;this.Wf=void 0;this.endOffset=a;this.xe=void 0;this.g=!1;this.b=b};function Ev(a,b){var c=void 0;c=void 0===c?Infinity:c;var d=new Bv(b);c=void 0===c?Infinity:c;var e=void 0===e?[]:e;var g=" ",h;for(h=0;h<a.length&&e.length<c;h++){var k=a.charAt(h).toLowerCase();var l=tv.test(g);if(sv.test(k)){if(k=" ",l)continue}else if(wv.test(k)){if(k="-",l)continue}else l&&d.g[k]&&d.b.push(new Dv(h,d.g));Cv(d,k,h,e);g=k}tv.test(g)||Cv(d," ",h,e);e.length>=c&&(e.length=c);return e};function Fv(a){var b=yv(a);a=Gv();x(a,function(c){Hv(b,c)})}function Gv(){var a=[],b=ub(ne("patent-text")),c=pe("patent-title");for(c&&b.push(c);c=b.pop();)3==c.nodeType?a.push(c):vb(b,c.childNodes);return a}function Hv(a,b){var c=Re(b),d=Ev(c,a);if(d.length){var e="",g=0;x(d,function(h){e+=td(c.substring(g,h.startOffset))+'<span class="patent-text-highlight">'+td(c.substring(h.startOffset,h.endOffset))+"</span>";g=h.endOffset});e+=td(c.substring(g));d=J("span");d.innerHTML=e;Ee(d,b)}};function Iv(){On.call(this,"Turn off highlighting");var a=Xk("dq")||Xk("q");a&&Fv(a);this.b=!0}la(Iv,On);Iv.prototype.Pa=function(){On.prototype.Pa.call(this);Vm(this).ka(this,"action",this.j)};Iv.prototype.j=function(){this.b=!this.b;Ag(window.document.body,"patent-highlight-disabled",!this.b);var a=this.b?"Turn off highlighting":"Turn on highlighting";this.i.Cd(this.R(),a);this.Dd=a};function Jv(a){bp.call(this);this.g=a}w(Jv,bp);var Kv={};Jv.prototype.Vd=function(){return this.g||"ocean-chrome-toolbar"};function Lv(a){return Kv[a]||(Kv[a]=new Jv(a))};function Mv(a){cp.call(this,Lv(a||"viewport-chrome-toolbar"));this.ua={};this.i=new R(this)}w(Mv,cp);function Nv(a,b,c,d){b.hb(16,!0);if(c){var e=a.ua[c];e||(e=new Wo,Yo(e,function(g,h){g&&g.sd(h)}),a.ua[c]=e);e.Qb(b);b.wd&=-17;M(b,"action",function(g){$o(e,g.target)});d&&$o(e,b)}else b.Mb(16,!!d)}function Ov(a,b){a.ua.viewport&&$o(a.ua.viewport,b)}Mv.prototype.va=function(){Mv.ma.va.call(this);this.i.Da();Pa(this.ua,function(a){a.Da()})};function Pv(a){Mv.call(this);this.b=a.Ma;this.rb=a.vg;this.Ab=a.history;this.Ha=a.Eh;this.Ba=a.Ch;this.ya=a.flags;this.vb=a.we;this.nb="patents"==iq();if(!a.ee){var b=H("appbar-patents-prior-art-finder-link");if(b&&(b=b.getAttribute("href"))){var c=new Y("Find prior art",void 0,2);this.Ea(c,!0);this.i.ka(c,"action",u(this.Bc,this,b))}if(c=H("appbar-patents-discuss-this-link"))if(b=c.getAttribute("href")){if("true"==c.getAttribute("data-is-grant")){var d="Discuss this patent";c="Discuss this patent on Stack Exchange"}else d=
"Discuss this application",c="Discuss this application on Stack Exchange";d=new Y(d,void 0,2);d.Yb(c);this.Ea(d,!0);this.i.ka(d,"action",u(this.Bc,this,b))}!this.b&&(b=H("appbar-read-patent-link"))&&(b=b.getAttribute("href"))&&(c=new Y("View PDF"),this.Ea(c,!0),this.i.ka(c,"action",u(this.Bc,this,b)))}if(this.b){this.Kd=!!a.re||!!a.qe;a.ee&&(b=Qp("/googlebooks/images/kennedy/zoom_tool.png"),this.Oe=new Y(b,void 0,void 0,1),In(this.Oe,2),this.Ea(this.Oe,!0),M(this.Oe,"action",u(this.Ii,this,"zoomin")),
b=Qp("/googlebooks/images/kennedy/zoom_out.png"),this.Pe=new Y(b,void 0,void 0,1),In(this.Pe,1),this.Ea(this.Pe,!0),M(this.Pe,"action",u(this.Ii,this,"zoomout")));c=!!a.re;b=!!a.qe;if(c||b){d=Qp("/googlebooks/images/kennedy/one_up_page_view.png");this.he=new Y(d,void 0,void 0,1);In(this.he,2);M(this.he,"action",u(this.dh,this,Ot));this.Ea(this.he,!0);Nv(this,this.he,"viewport",!0);if(c){d=Qp("/googlebooks/images/kennedy/two_up_page_view.png");this.je=new Y(d,void 0,void 0,1);c=1;if(this.rb||b)c=3;
In(this.je,c);M(this.je,"action",u(this.dh,this,wu));this.Ea(this.je,!0);Nv(this,this.je,"viewport")}b&&(d=Qp("/googlebooks/images/kennedy/thumbnail.png"),this.ie=new Y(d,void 0,void 0,1),c=1,this.rb&&(c=3),In(this.ie,c),M(this.ie,"action",u(this.dh,this,Xt)),this.Ea(this.ie,!0),Nv(this,this.ie,"viewport"));this.i.ka(this.b,"viewportmodechange",this.Hi);this.Hi()}this.rb&&(b=Qp("/googlebooks/images/kennedy/maximize.png"),this.ta=new Y(b,void 0,void 0,1),this.ta.hb(16,!0),this.ta.sd(!1),this.Kd&&In(this.ta,
1),this.Ea(this.ta,!0),this.i.ka(this.ta,"action",this.Bm),this.i.ka(this.rb,"change",this.Ik));this.vb&&(b=Qp("/googlebooks/images/kennedy/clip.png"),this.ha=new Y(b,void 0,void 0,1),this.ha.hb(16,!0),In(this.ha,2),this.ha.sd(!1),this.Ea(this.ha,!0),M(this.ha,"action",u(this.$k,this)));a.wh&&(b=Qp("/googlebooks/images/kennedy/insert_link.png"),this.j=new Y(b,void 0,void 0,1),this.j.hb(16,!0),this.ha&&In(this.j,1),this.Ea(this.j,!0),M(this.j,"action",u(this.Pj,this)));a.xh&&(b=!!this.b.Ha.Kf,c=!!fr(this.b.Ka,
this.b.Ha.Zf),d=this.b.Ca().Oc()||"Contents",b||c?(b=Qp("/googlebooks/images/kennedy/menu_down_arrow.png",d),b=Eb(b),this.Ne=b[0],this.mc=new Y(b),In(this.mc,2),this.Ea(this.mc,!0),this.i.ka(this.mc,"action",this.zl),Nv(this,this.mc)):(this.Ne=I("SPAN","jfk-button-label",d),this.mc=new Y(this.Ne),this.mc.Ga(!1),In(this.mc,2),this.Ea(this.mc,!0)),b=Qp("/googlebooks/images/kennedy/page_left.png"),this.Hf=new Y(b,void 0,void 0,1),In(this.Hf,3),this.Ea(this.Hf,!0),M(this.Hf,"action",u(this.b.nc,this.b,
"previous")),b=Qp("/googlebooks/images/kennedy/page_right.png"),this.If=new Y(b,void 0,void 0,1),In(this.If,1),this.Ea(this.If,!0),M(this.If,"action",u(this.b.nc,this.b,"next")),this.i.ka(this.b,"pagechange",this.yl))}if(a.tj&&(b=H("appbar-view-print-sample-link"))&&(b=b.getAttribute("href"))){c=H("appbar-view-ebook-sample-link");var e;c&&(e=c.getAttribute("href"));c=new Y("View sample");xn(c,"gb-view-sample-button");this.Ea(c,!0);this.i.ka(c,"action",u(this.Bc,this,b));e&&(In(c,2),c=new po,d=new On("Sample print book"),
this.i.ka(d,"action",u(this.Bc,this,b)),c.Ea(d,!0),xn(d,"gb-sample-print-book-menuitem"),b=new On("Sample eBook"),this.i.ka(b,"action",u(this.Bc,this,e)),c.Ea(b,!0),xn(b,"gb-sample-ebook-menuitem"),e=new Bo("",c,Io.Ta()),xn(e,"gb-jfk-margin-fix"),xn(e,"gb-view-sample-dropdown"),In(e,1),this.Ea(e,!0))}this.ya&&!this.ya.is_cobrand&&this.Ha&&!this.nb&&(e=this.Ba&&this.Ba.uid,b=ov([this.Ha],this.Ba),e?(this.Me=new cv(this.Ha,b),this.Ea(this.Me,!0)):(e=Qp("/googlebooks/images/kennedy/menu_down_arrow.png",
"Add to my library"),e=Eb(e),this.Me=new Y(e),this.Ea(this.Me,!0),e=u(this.Bc,this,this.ya.sign_in_url||this.ya.signInUrl),Af(this.Me,"action",e)));if(a.ee){if(e=H("appbar-write-review-link"))if(e=e.getAttribute("href"))this.Pb=new Y("Write review"),this.Ea(this.Pb,!0),this.i.ka(this.Pb,"action",u(this.Bc,this,e));Qv(this,"appbar-application-grant-link","application-grant");Qv(this,"appbar-content-language-link","content-language")}else if(e=H("appbar-download-pdf-link"))if(e=e.getAttribute("href"))b=
new Y("Download PDF"),this.Ea(b,!0),this.i.ka(b,"action",u(this.Bc,this,e));a.vm&&(a=Qp("/googlebooks/images/kennedy/settings.png"),Q(a[0],"goog-flat-menu-button-img"),e=I("DIV",{"class":"toc-div"}),b=new po,b.Ea(new un(e),!0),(c=document.getElementById("ofe-gear-menu-contents"))&&e.appendChild(c.cloneNode(!0)),this.Na=new Bo(a,b,Io.Ta()),this.Ea(this.Na,!0),this.nb&&!this.b&&(a=new Iv,this.Na.ue(a,0)))}la(Pv,Mv);f=Pv.prototype;f.Bm=function(){var a=this.rb;ku(a,!a.rb);this.Ab.update()};
f.Ik=function(){this.ta.Mb(16,this.rb.rb)};f.$k=function(){this.vb(X(this.ha,16))};f.Pj=function(){if(X(this.j,16)){var a=new Au(document.body,this.b,!0);a.render(this.j,!0);Af(a,"dispose",u(this.j.sd,this.j,!1))}};f.dh=function(a){this.b.Ob(a);this.b.Ua.getQuery()||this.Ab.update()};f.Hi=function(){var a=this.b.Ia();a instanceof Ot&&Ov(this,this.he);a instanceof wu&&Ov(this,this.je);a instanceof Xt&&Ov(this,this.ie);a=a.dg;this.Pe.Ga(a);this.Oe.Ga(a)};f.Ii=function(a){this.b.nc(a)};
function Qv(a,b,c){if(b=ne(b)){var d=b.length;if(1<d)for(var e=0;e<d;++e){var g=b[e],h=g.getAttribute("href"),k=g.getAttribute("data-label");g=g.getAttribute("data-selected");k=new Y(k);0==e&&e!=d-1?In(k,2):e==d-1&&0!=e?In(k,1):0!=e&&e!=d-1&&In(k,3);a.Ea(k,!0);Nv(a,k,c,!!g);g||a.i.ka(k,"action",u(a.Bc,a,h))}}}f.yl=function(){var a=this.b.Ca().Oc()||"Contents";this.Ne&&(this.Ne.innerHTML=a)};f.zl=function(){this.mc.vc&16&&(new $t(this.b,this.mc,this.ya)).render(3)};
f.Bc=function(a){nd(window.location,a)};f.he=null;f.je=null;f.ie=null;f.Oe=null;f.Pe=null;f.If=null;f.Hf=null;f.mc=null;f.Ne=null;f.Me=null;function Rv(a,b){Up.call(this,a);this.Ha=b}la(Rv,Up);
Rv.prototype.render=function(){var a=this.R();Q(a,this.className+"-tooltip");Q(a,this.className+"-device-and-format");S(a,"z-index",1E4);if(this.Ha.o){for(var b=this.className,c=I("DIV",this.className+"-meta"),d=document,e=d.createElement("TABLE"),g=e.appendChild(d.createElement("TBODY")),h=0;1>h;h++){for(var k=d.createElement("TR"),l=0;2>l;l++)k.appendChild(d.createElement("TD"));g.appendChild(k)}Q(e,this.className+"-table-layout");d=e.rows[0].cells;g=Sv(this);d[0].appendChild(g);g=Tv(this);d[1].appendChild(g);
g=I("DIV",this.className+"-link");h=new V(window.location.href);k=new V("/support/bin/answer.py?answer=1062949");h=zl(h,"hl")?W(k,"hl",zl(h,"hl")).toString():"/support/bin/answer.py?answer=1062949";h=I("A",{target:"_blank",href:h},"Help with devices & formats");g.appendChild(h);d[1].appendChild(g);c.appendChild(e);d=this.Ha;(e=d.vb)&&!d.le&&d.ua&&(e=I("P",this.className+"-additional",I("A",{href:e},d.Ba?"Read the book for FREE":"Read the first chapter - FREE!")),c.appendChild(e));if(d.ha||d.V)if(g=
d.$a,h=d.ta,g||h)e=I("P",this.className+"-additional",Be("Download ")),g&&(k=I("A",{href:g},"EPUB"),e.appendChild(k)),h&&(g&&e.appendChild(Be(", ")),g=I("A",{href:h},"PDF"),e.appendChild(g)),e.appendChild(Be(" - ")),d=d.Sc(),g=(new V(window.location.href)).j.split("/"),g=new V("/"+g[1]),Xp(g),W(g,"output","acs_help"),W(g,"id",d),d=I("A",{href:g.toString()},"read eReader instructions"),e.appendChild(d),c.appendChild(e);e=I("A",{href:"https://books.google.com/support/bin/topic.py?topic=28528",target:"_blank"},
"Learn more about books on Google Play");this.ra=I("DIV",this.className+"-footer",e);b=I("DIV",b,c,this.ra);Q(b,this.className+"-device-content");a.appendChild(b)}};
function Sv(a){var b=I("UL",a.className+"-list"),c=I("H4",null,"Good for:");b.appendChild(c);var d=a.className+"-device-type";c=a.className+"-device-supported";var e=a.className+"-device-not-supported",g=a.className+"-device-unknown-supported",h=I("A",{"class":d,href:"/help/ebooks/webreader.html"},"Web"),k=I("A",{"class":d,href:"/help/ebooks/devices.html"},"Tablet / iPad"),l=I("A",{"class":d,href:"/help/ebooks/ereader.html"},"eReader"),m=I("A",{"class":d,href:"/help/ebooks/devices.html"},"Smartphone"),
q=a.Ha.zf,B=a.Ha.Af,A=a.Ha.le;d=new R(a);h=I("LI",null,h);A?d.ka(h,"mouseover",v(a.g,"The format of this book is currently unknown. We will update this when we receive the information from the publisher.")):(q||B)&&d.ka(h,"mouseover",v(a.g,"This eBook, like all Google eBooks, is formatted to be readable on the web."));d.ka(h,"mouseout",a.ua);b.appendChild(h);k=I("LI",null,k);A?d.ka(k,"mouseover",v(a.g,"The format of this book is currently unknown. We will update this when we receive the information from the publisher.")):
(q||B)&&d.ka(k,"mouseover",v(a.g,"This eBook, like all Google eBooks, is formatted to be readable on tablet devices like Android tablets and the iPad."));d.ka(k,"mouseout",a.ua);b.appendChild(k);l=I("LI",null,l);d.ka(l,"mouseover",function(){A?this.g("The format of this book is currently unknown. We will update this when we receive the information from the publisher."):q?this.g("This Google eBook includes flowing text, so you can adjust the font to read comfortably on an eReader."):this.g("This Google eBook does not include flowing text, so you cannot adjust the font on an eReader.")});
d.ka(l,"mouseout",a.ua);b.appendChild(l);m=I("LI",null,m);d.ka(m,"mouseover",function(){A?this.g("The format of this book is currently unknown. We will update this when we receive the information from the publisher."):q&&B?this.g("This eBook is good for smartphones like Android and iPhone / iPod touch."):q?this.g("This Google eBook includes flowing text so you can adjust the font to read comfortably on the small screen of a smartphone."):this.g("This eBook may be hard to read on smartphones like Android and iPhone / iPod touch.")});
d.ka(m,"mouseout",a.ua);b.appendChild(m);A?(Q(h,g),Q(k,g),Q(l,g),Q(m,g)):q?(Q(h,c),Q(k,c),Q(l,c),Q(m,c)):(B?(Q(h,c),Q(k,c)):(Q(h,e),Q(k,e)),Q(l,e),Q(m,e));return b}
function Tv(a){var b=I("UL",a.className+"-list"),c=I("H4",null,"Features:");b.appendChild(c);var d=a.className+"-device-supported",e=a.className+"-device-not-supported",g=a.className+"-device-unknown-supported";c=I("A",{href:"/support/bin/answer.py?answer=1062949"},"Flowing text");var h=I("A",{href:"/support/bin/answer.py?answer=1062949"},"Scanned pages"),k=a.Ha.zf,l=a.Ha.Af,m=a.Ha.le;m?(c=I("LI",g,c),d=I("LI",g,h)):(c=I("LI",k?d:e,c),d=I("LI",l?d:e,h));e=new R(a);e.ka(c,"mouseover",function(){m?
this.g("The format of this book is currently unknown. We will update this when we receive the information from the publisher."):k?this.g("This eBook includes flowing text, so you can adjust the font size and style to read comfortably on any device."):this.g("This book does not include flowing text, so you cannot adjust the font. Instead, you see images of pages, with a fixed layout. This is good for larger screens, but not always ideal for eReaders and smartphones.")});e.ka(c,"mouseout",a.ua);e.ka(d,
"mouseover",function(){m?this.g("The format of this book is currently unknown. We will update this when we receive the information from the publisher."):l?this.g("This eBook includes scanned pages, so pages appear as they would in a printed book."):this.g("This eBook does not include scanned pages, which retain the format of a printed book. Instead, the text can be adjusted and it flows to fit any screen.")});e.ka(d,"mouseout",a.ua);b.appendChild(c);b.appendChild(d);return b}
Rv.prototype.ua=function(){De(this.ra);var a=I("A",{href:"https://books.google.com/support/bin/topic.py?topic=28528",target:"_blank"},"Learn more about books on Google Play");this.ra.appendChild(a)};Rv.prototype.g=function(a){De(this.ra);r(a)?this.ra.appendChild(Be(a)):this.ra.appendChild(a)};function Uv(a,b){Y.call(this,b,void 0,3);this.Ha=a}la(Uv,Y);Uv.prototype.render=function(a){Y.prototype.render.call(this,a);Q(this.R(),"gb-get-book")};Uv.prototype.Pa=function(){Y.prototype.Pa.call(this);this.b=new Rv(this.R(),this.Ha);this.b.render();var a=pe("about_title",H("menu_container"));a&&K(a)};
function Vv(){var a=H("gb-buy-options-trigger");if(a&&a.parentNode&&a.parentNode.parentNode?!wg(a.parentNode.parentNode,"jfk-button"):1){a=H("gb-buy-options-trigger");var b=H("buy");if(a&&b){yg(b,"about_content");var c=I("SPAN","gb-buy-options-arrow","\u25bc");a.appendChild(c);Q(b,"gb-buy-options-list");Q(b,"unified-hovercard");Gl(a,9,b,8);U(b,!1);M(document,"mousedown",v(Wv,a,b))}}}
function Wv(a,b,c){a=Ie(a,c.target);c=Ie(b,c.target);var d="none"!=b.style.display;a||c||!d?a&&(U(b,!d),d||Oh(b,1)):U(b,!1)};function Xv(a,b,c,d){if(b.child_node&&0<b.child_node.length){var e=Yv(b,!0,c,d),g=I("UL",c+"-list");a.appendChild(e);a.appendChild(g);hp(new gp(e,g),!b.collapsed);x(b.child_node,function(h){Xv(g,h,c,d)})}else a.appendChild(Yv(b,!1,c,d))}function Yv(a,b,c,d){var e;if(b){b=c+"-heading";var g=c+"-header"}else b=c+"-link",g=c+"-item";""!=a.url?e=I("A",{"class":b,href:a.url},ud(a.title)):e=I("DIV",b,a.title);e=I("DIV",g,e);d==a.id&&Q(e,c+"-selected");return e}
Na("_OC_InitNavbar",function(a){var b=H("navbarContainer");if(b&&a.child_node){var c=I("UL","gb-left-nav-list");x(a.child_node,function(d){Xv(c,d,"gb-left-nav",a.highlighted_node_id)});b.appendChild(c)}});function Zv(a,b,c){var d=H("prev_btn"),e=H("next_btn"),g={cursor:"pointer"};S(d,g);M(d,"click",u(this.o,this));S(e,g);M(e,"click",u(this.j,this));c.innerHTML?this.s=c:(c.form.action="javascript:",M(c.form,"submit",u(this.i,this)),c.go&&S(c.go,{display:"none"}),this.g=c.input);this.b=a;this.Ka=b;M(a,"pagechange",u(this.update,this));this.update()}
Zv.prototype.i=function(){var a=this.g.value;var b=this.b;var c=gr(b.Ka,a);c?(b.yb(c),b=!0):b=!1;if(b)this.update();else if(!Gb(a)&&!/[^0-9]/.test(a)){a:{b=dr(this.Ka);for(c=b.length-1;0<=c;c--){var d=hr(b[c]);if(!Gb(d)&&!/[^0-9]/.test(d)){b=parseInt(d,10);break a}}b=-1}a=parseInt(a,10);0<b&&a>b&&(this.b.yb(fb(dr(this.Ka))),this.update())}return!1};Zv.prototype.o=function(){this.b.nc("previous")};Zv.prototype.j=function(){this.b.nc("next")};
Zv.prototype.update=function(){var a=this.b.Ca();a&&(this.g?this.g.value=hr(a)||"":(a=Rp(a.Oc()),C(this.s,a)))};function $v(a){Z.call(this);this.i=a;this.j=new R;this.g=J("div");S(this.g,{backgroundColor:"#AAA",display:"",position:"absolute",cursor:"pointer"});Oh(this.g,0);a.ta.appendChild(this.g);this.b.ka(a,"resize",this.fh);this.b.ka(this.g,"click",this.Dl);this.b.ka(this.g,"mouseout",this.El);this.b.ka(this.g,"mouseover",u(this.Tf,this,!0));this.b.ka(a,"viewportmodechange",this.Ji);if(a=this.i.Ia())a instanceof Ot&&(this.xd=!0),this.Ji()}w($v,Z);f=$v.prototype;f.Ga=function(a){U(this.g,a)};
f.fh=function(){P(u(this.Fl,this),10)};f.Fl=function(){var a=this.i.Ia();a&&(a.Aa(),a=a.i.i,T(this.g,a.clientWidth,40),yh(this.g,0,a.clientHeight-40))};f.Dl=function(){var a=this.i.Ia(),b=a.Aa().height-40,c=J("div");S(c,{backgroundColor:"#000",position:"absolute",width:"100%",height:"1px",overflow:"hidden"});Oh(c,.15);yh(c,0,a.s.y+b);a.i.j.appendChild(c);P(v(aw,c),1E3);this.xd=!1;a=this.i.Ia();fs(a,new G(void 0,b-20),u(a.hj,a))};
function aw(a){var b=new ki(a,.15,0,200);b.play();Af(b,"end",v(bw,b,a))}function bw(a,b){K(b);a.Da()}f.xd=!1;f.El=function(){this.xd||this.Tf(!1)};f.Tf=function(a){if(a){if(!this.o){var b=J("div");S(b,{backgroundColor:"#000",height:"1px",overflow:"hidden"});this.g.appendChild(b);P(u(this.Sj,this),10)}this.o=!0}Oh(this.g,a?.15:0)};
f.Sj=function(){x(["left","right"],function(a){var b=I("DIV",{"class":"SPRITE_page_down"});this.g.appendChild(b);$h(b,a);S(b,{marginTop:"14px"});S(b,"margin-"+a,"16px")},this)};f.Ji=function(){var a=this.i.Ia(),b=a instanceof Ot;b?this.fh():this.xd=!1;this.Ga(b);this.Tf(this.xd);Kg(this.j);this.j.nd(a,"move",u(this.fl,this));this.j.ka(a,"layoutchange",u(this.fh,this))};f.fl=function(){this.xd&&this.Tf(!1);this.xd=!1};function cw(a,b,c,d,e){this.V=a;this.ha=b;this.s=Mh(c);this.g=null;d&&(this.g=d,S(this.g,{overflow:"auto"}));this.o=e;a=u(this.j,this);this.i=new Gg;M(this.i,"resize",a);b=new Bg;M(b,"fontsizechange",a);M(window,"DOMContentLoaded",u(this.b,this))}cw.prototype.j=function(){this.b();P(u(this.b,this),100)};
cw.prototype.b=function(){var a=!1;this.o?this.rb&&(a=this.rb.rb):a=!0;var b=this.i.Aa();a=a?0:this.s.width;var c=Math.round(Fh(this.ha).y);this.V.Bb(new ie(Math.max(0,b.width-a),Math.max(0,b.height-c)));this.g&&(a=this.g,S(a,"border","0px"),c=Math.round(Fh(a).y),b=Math.max(0,b.height-c),S(a,"height",b+"px"),a.clientWidth<a.offsetWidth&&S(a,{borderTop:pd("%spx solid #ebeff9",2),height:Math.max(0,b-2)+"px"}))};function dw(a,b){a.rb=b;M(b,"change",u(a.b,a))};function ew(a,b,c){Lo.call(this,null!=c?c:"Search in this book");this.Vb(a);this.Pa();b&&this.Nb(b)}la(ew,Lo);function fw(a,b){O.call(this);this.wa=a;this.b=b||null;Q(a,"with-auto-dir-text");M(this.wa,"keyup",u(this.i,this));M(this.wa,"paste",u(this.g,this))}la(fw,O);fw.prototype.i=function(){gw(this.wa,this.b)};fw.prototype.g=function(){hw(this.wa,this.b)};function hw(a,b){P(v(function(){gw(a,b)}))}
function gw(a,b){var c=!1,d;if(a.value){for(var e=d=0,g=!1,h=a.value.split(jc),k=0;k<h.length;k++){var l=h[k];hc.test(l)?(d++,e++):ic.test(l)?g=!0:gc.test(l)?e++:kc.test(l)&&(g=!0)}d=-1==(0==e?g?1:0:.4<d/e?-1:1)}else d=vq();d?(c=!0,S(a,"textAlign","right"),qe(a,{dir:"rtl"})):(S(a,"textAlign","left"),qe(a,{dir:"ltr"}));b&&(c?(yg(b,"input-direction-ltr"),Q(b,"input-direction-rtl")):(Q(b,"input-direction-ltr"),yg(b,"input-direction-rtl")))}
function iw(a,b){var c=H(a);if(c){var d=b?H(b):null;gw(c,d);new fw(c,d)}}Na("_OC_autoDir",iw);function jw(a){Mv.call(this);this.b=a.Ma;this.Na=a.history;this.ta=a.we;this.ha=!!a.re;this.j=!!a.qe;this.Ba=a.flags;if(this.ya=a.ee){a=!!this.b.Ha.Kf;var b=this.b.Ha.Zf;b=b&&!!fr(this.b.Ka,b);a||b?(a=Qp("/googlebooks/images/material/arrow_drop_down_black_20dp.png",this.b.Ca().Oc()||"Contents"),a=Eb(a),this.Qe=a[0],this.Zb=new Y(a,void 0,4),this.Ea(this.Zb,!0),this.i.ka(this.Zb,"action",this.Il),Nv(this,this.Zb),this.i.ka(this.b,"pagechange",this.Hl)):(this.Qe=I("SPAN","jfk-button-label","Table of contents unavailable"),
this.Zb=new Y(this.Qe,void 0,4),this.Zb.Ga(!1),this.Ea(this.Zb,!0));a=H("gb-entity-page-toolbar-search");H("search_form_input").setAttribute("autocomplete","off");S(a,"visibility","visible");Du(this.g.b,we(this.g.b))}else{a=Qp("/googlebooks/images/material/arrow_left_black_24dp.png");this.Re=new Y(a,void 0,4);this.Re.Yb("Previous Page");this.Ea(this.Re,!0);M(this.Re,"action",u(this.b.nc,this.b,"previous"));a=Qp("/googlebooks/images/material/arrow_right_black_24dp.png");this.Se=new Y(a,void 0,4);this.Se.Yb("Next Page");
this.Ea(this.Se,!0);M(this.Se,"action",u(this.b.nc,this.b,"next"));a=Qp("/googlebooks/images/material/zoom_in_black_24dp.png");this.od=new Y(a,void 0,4);this.od.Yb("Zoom in");this.Ea(this.od,!0);M(this.od,"action",u(this.Li,this,"zoomin"));a=Qp("/googlebooks/images/material/zoom_out_black_24dp.png");this.Te=new Y(a,void 0,4);this.Te.Yb("Zoom out");this.Ea(this.Te,!0);M(this.Te,"action",u(this.Li,this,"zoomout"));b=this.ha;a=this.j;var c=Qp("/googlebooks/images/material/onepage_view_black_24dp.png");
this.Cc=new Y(c,void 0,4);this.Cc.Yb("Single page view");M(this.Cc,"action",u(this.ih,this,Ot));Nv(this,this.Cc,"viewport",!0);this.Ea(this.Cc,!0);c=Qp("/googlebooks/images/material/twopage_view_black_24dp.png");this.Ec=new Y(c,void 0,4);this.Ec.Ga(!1);this.Ec.Yb("Two page view unavailable");b&&(this.Ec.Ga(!0),this.Ec.Yb("Two page view"),M(this.Ec,"action",u(this.ih,this,wu)),Nv(this,this.Ec,"viewport"));this.Ea(this.Ec,!0);b=Qp("/googlebooks/images/material/thumbnail_view_black_24dp.png");this.Dc=
new Y(b,void 0,4);this.Dc.Ga(!1);this.Dc.Yb("Thumbnail view unavailable");a&&(this.Dc.Ga(!0),this.Dc.Yb("Thumbnail view"),M(this.Dc,"action",u(this.ih,this,Xt)),Nv(this,this.Dc,"viewport"));this.Ea(this.Dc,!0);this.i.ka(this.b,"viewportmodechange",this.Ki);this.Ki();a=new po;b=Qp("/googlebooks/images/material/more_vert_black_24dp.png");Q(b[0],"goog-flat-menu-button-img");b[0].setAttribute("aria-hidden",!0);this.Xc=new Bo(b,a,Io.Ta());Fo(this.Xc,new Pl(null,13));this.Xc.Yb("More actions menu");this.Ea(this.Xc,
!0);kw(this,a);lw(this,a);if(c=document.getElementById("gb-mobile-buy-section")){b=I("DIV",{"class":"menu-div"});c=c.cloneNode(!0);b.appendChild(c);c=oe(document,"A","gb-mobile-buy-link",b);for(var d=0;d<c.length;d++)c[d].setAttribute("target","_top");mw(this,b,"Buy this book",a)}this.ta&&(b=I("DIV",{"class":"more-menu-link"}),c=I("SPAN",{"class":"more-menu-link-text"}),L(c,"Share a clip"),b.appendChild(c),M(b,"click",u(v(this.ni,!0),this)),a.Ea(new un(b),!0));if(c=document.getElementById("gb-entity-page-menu-contents")){b=
I("DIV",{"class":"menu-div"});c=c.cloneNode(!0);yg(c,"more-menu-hidden");b.appendChild(c);c=oe(document,"A","more-menu-link",b);for(d=0;d<c.length;d++)c[d].setAttribute("target","_top");a.Ea(new un(b),!0)}if(c=document.getElementById("gb-entity-page-copyright-page-id"))b=I("DIV",{"class":"more-menu-link"}),d=I("SPAN",{"class":"more-menu-link-text"}),L(d,"Copyright information"),b.appendChild(d),c=Pe(c),c=fr(this.b.Ka,c),M(b,"click",u(this.b.yb,this.b,c)),a.Ea(new un(b),!0);nw()}}la(jw,Mv);
function kw(a,b){var c=Pe(document.getElementById("gb-entity-page-base-ogen-url")),d=new V(c);a.Uf=I("INPUT");a.Uf.value=d.toString();c=ow("Share",a.Uf);mw(a,c,"Share",b,function(){var e=new V(Rs(a.b.Ca()).toString());W(d,"pg",zl(e,"pg"));a.b.Ua.getQuery()&&W(d,"bsq",a.b.Ua.getQuery());a.Uf.value=d.toString()})}
function lw(a,b){a.Nc=I("INPUT");var c=ow("Embed",a.Nc);mw(a,c,"Embed",b,function(){var d=new V(Rs(a.b.Ca()).toString());d.b.remove("source");W(d,"output","embed");a.Nc.value=Cu(d.toString())})}function ow(a,b){var c=I("DIV",{"class":"linkto-menu-container"}),d=I("DIV");L(d,a);Q(d,"popup-menu-title");c.appendChild(d);d=I("DIV",{"class":"linkto-menu"});b.type="text";b.readOnly=!0;Q(b,"viewport-input");d.appendChild(b);var e=(new yt(b)).R();d.appendChild(e);c.appendChild(d);return c}
function mw(a,b,c,d,e){var g=new po;qo(g,!0);g.render();g.R().appendChild(b);b=I("DIV",{"class":"more-menu-link"});var h=I("SPAN",{"class":"more-menu-link-text"});L(h,c);b.appendChild(h);M(b,"click",function(){a.Xc.Ya(!1);null!=e&&e.call(a)});c=new Bo(b,g,Io.Ta());c.Je=!0;Fo(c,new Pl(a.Xc.R(),13));d.Ea(c,!0)}
function nw(){var a=H("gb-entity-page-play-reader-link");if(a){a=a.getAttribute("href");var b=I("DIV");xg(b,["play-redirect-popup","goog-menu","goog-menu-vertical"]);var c=I("DIV",{"class":"popup-menu-title"}),d=I("SPAN");L(d,"You own this book");var e=I("A",{"class":"play-redirect-close"}),g=I("IMG",{"class":"play-redirect-close-icon"});kd(g,"/googlebooks/images/material/close_black_24dp.png");T(g,24,24);M(e,"click",function(){U(b,!1)});e.appendChild(g);c.appendChild(d);c.appendChild(e);d=I("A",
{"class":"play-redirect-button"});e=I("IMG",{"class":"play-redirect-button-icon"});kd(e,"/googlebooks/images/material/googleplaybooks_20x20.png");T(e,20,20);g=I("SPAN",{"class":"play-redirect-button-text"});L(g,"Open in Google Play");d.setAttribute("href",a);d.setAttribute("target","_top");d.appendChild(e);d.appendChild(g);b.appendChild(c);b.appendChild(d);document.body.appendChild(b)}}f=jw.prototype;f.Il=function(){this.Zb.vc&16&&(new $t(this.b,this.Zb,this.Ba)).render(3)};
f.Hl=function(){var a=this.b.Ca().Oc()||"Contents";this.Qe&&(a=Rp(a),C(this.Qe,a))};f.Ki=function(){var a=this.b.Ia();a instanceof Ot?(Ov(this,this.Cc),pw(this,!0),qw(this,!0),rw(this,!0)):a instanceof wu?(Ov(this,this.Ec),pw(this,!0),qw(this,!0),rw(this,!0)):a instanceof Xt?(Ov(this,this.Dc),pw(this,!1),qw(this,!0),rw(this,!0)):(pw(this,!1),qw(this,!1),rw(this,!1))};
f.ni=function(a){this.ta(a);var b=H("search_bar");if(a){a=J("DIV");var c=J("SPAN");L(c,"Select a clip to share");Q(c,"custom-result-bar-bold-text");a.appendChild(c);c=J("SPAN");xg(c,["search-bar-link","search-bar-close-link","custom-result-bar-clear"]);L(c,"Exit selection mode");M(c,"click",u(v(this.ni,!1),this));a.appendChild(c);this.Qd=new jp(a);this.Qd.render(b);this.Qd.Ja(!0);this.Qd.R()&&Q(this.Qd.R(),"custom-result-bar")}else De(b),this.Qd=null};
f.ih=function(a){this.b.Ob(a);this.b.Ua.getQuery()||this.Na.update()};function pw(a,b){a.Te.Ga(b);a.od.Ga(b)}function rw(a,b){a.Re.Ga(b);a.Se.Ga(b)}function qw(a,b){a.Cc.Ga(b);a.ha&&a.Ec.Ga(b);a.j&&a.Dc.Ga(b)}f.Li=function(a){this.b.nc(a)};
function sw(a,b,c){a.Zb&&a.Zb.R()&&Q(a.Zb.R(),"toc-button");if(a.Xc&&a.Xc.R()){var d=a.Xc.R();yg(d,"goog-flat-menu-button");xg(d,["jfk-button","jfk-button-flat","jfk-button-clear-outline","start-button-group"])}a.od&&a.od.R()&&Q(a.od.R(),"start-button-group");a.Cc&&a.Cc.R()&&Q(a.Cc.R(),"start-button-group");a=ne("jfk-button-img",b);for(b=0;b<a.length;b++)c?T(a[b],20,20):T(a[b],24,24)}f.Cc=null;f.Ec=null;f.Dc=null;f.od=null;f.Te=null;f.Se=null;f.Re=null;f.Xc=null;f.Zb=null;f.Qe=null;f.Uf=null;
f.Nc=null;f.Qd=null;var tw=null;function uw(){tw||(tw={},tw[1]=Ot,tw[2]=wu)}function vw(a){var b={},c=(new V(window.location.href)).g;c&&x(c.split(","),function(d){b[d.charAt(0)]=d.substring(1)});return b[a]};function ww(a,b){O.call(this);this.Hc=J("div");a.appendChild(this.Hc);S(this.Hc,{position:"absolute",backgroundColor:"#b2c4e9",width:"100%",height:"5px",cursor:"pointer"});this.b=new xw(this.Hc,b);M(this.Hc,"click",u(this.dispatchEvent,this,"click"));M(this.b.R(),"click",u(this.dispatchEvent,this,"click"));M(this.Hc,"mouseover",u(this.g,this,!0));M(this.Hc,"mouseout",u(this.g,this,!1))}la(ww,O);function yw(a,b){S(a.Hc,{backgroundColor:b?"#ffcc00":"#b2c4e9"});a.i=b}
ww.prototype.g=function(a){this.i||S(this.Hc,{backgroundColor:a?"#ffffcc":"#b2c4e9"})};ww.prototype.va=function(){this.b.Da();O.prototype.va.call(this)};
function xw(a,b){Fm.call(this,a);this.g=a;this.Vf=200;this.Ng=500;var c=this.R();S(c,{backgroundColor:"#FFF",color:"#333",border:"1px solid #6b90da",padding:"6px",fontSize:"83%",width:"350px",cursor:"pointer"});var d=J("div");S(d,{fontWeight:"bold"});d.appendChild(Be("Page "+b.b));c.appendChild(d);d=J("div");var e=Rp(b.g);C(d,e);c.appendChild(d)}la(xw,Fm);xw.prototype.Le=function(a){var b=Fh(this.g),c=Mh(this.R());Fm.prototype.Le.call(this,a,new Kl(b.x-c.width,Math.min(b.y,se(window).height-c.height)))};function zw(a){Z.call(this);this.g=a;this.i=this.g.Kb.g;this.o={};this.V=new R;this.j=J("div");S(this.j,{backgroundColor:"#fcfcff",position:"absolute"});this.i.ta.appendChild(this.j);x(this.g.ab.Eb,u(this.Oj,this));this.b.ka(this.i,"pagechange",this.Aj);this.Aj();this.b.ka(this.i,"resize",this.kh);this.b.ka(this.i,"viewportmodechange",this.Pi);this.i.Ia()&&this.Pi()}w(zw,Z);f=zw.prototype;f.Aj=function(){this.s&&(yw(this.s,!1),this.s=null);var a=this.o[this.i.Ca().Qa()];a&&(this.s=a,yw(a,!0))};
f.Pi=function(){var a=this.i.Ia(),b=a instanceof Ot;b&&this.kh();Kg(this.V);this.V.ka(a,"layoutchange",u(this.kh,this));U(this.j,b)};f.kh=function(){P(u(this.Ml,this),10)};f.Ml=function(){var a=this.i.Ia();a&&a instanceof Ot&&(a.Aa(),a=a.i.i,T(this.j,15,a.clientHeight),yh(this.j,a.clientWidth-15,0),Aw(this))};function Aw(a){var b=a.i.Ia().o.yd(function(d){return d instanceof Yq}),c={};x(b,function(d){c[d.Ca().Qa()]=d});x(a.g.ab.Eb,u(a.im,a,c))}
f.im=function(a,b){var c=this.i.Ia().i.g.clientHeight,d=a[b.Qa()];if(d){var e=Nd?5:15;yh(this.o[b.Qa()].Hc,0,Math.floor(d.jd()/c*(this.j.clientHeight-e-(Nd?30:15)))+e)}};f.Oj=function(a){var b=new ww(this.j,a);this.o[a.Qa()]=b;this.b.ka(b,"click",u(this.g.kd,this.g,a,null))};f.va=function(){K(this.j);Pa(this.o,function(a){a.va.call(a)});zw.ma.va.call(this)};function Bw(a){Z.call(this);this.Kb=a;this.Ah="n"}w(Bw,Z);Bw.prototype.g=function(a,b,c){this.ab=new Ou(b);b=this.Kb.g;b.V||b.Ob(Ot);0==this.ab.Eb.length?Cw(this.Kb.j):a?c?(a=mb(this.ab.Eb,function(d){return c==d.Qa()}))?this.kd(a):this.kd(this.ab.Eb[0],c):this.kd(this.ab.Eb[0]):Dw(this);this.i=new zw(this)};
function Dw(a){var b=a.Kb.g,c=b.V;if(c==Ot||c==wu)a.Kb.o=c;b.Ob(Su);b=b.Ia();c=a.Kb.j;if(c.ua)Ew(c,!0);else{var d="n"==c.g.Ah;U(c.ya,d);U(c.Ba,!d)}d=Rp("Showing <b>"+(c.g.ab.Eb.length+"</b> results in this book for <b>"+(Pu(c.g.ab)+"</b>")));C(c.i,d);Fw(c,!0);c=a.ab;c!=b.ab&&(b.ab=c,c=new Ru(b.ab,b.Aa().width),$r(b,c),b.$b());a=u(a.kd,a);b.Ab=a;ds(b,new G(0,0))}
Bw.prototype.kd=function(a,b){ks=!0;var c=this.Kb.j;Fw(c,!1);c.o=gb(c.g.ab.Eb,a);var d=Rp("Result <b>"+(c.o+1+"</b> of <b>"+(c.g.ab.Eb.length+"</b> in this book for <b>"+(Pu(c.g.ab)+"</b>"))));C(c.i,d);c=this.Kb.g;d=fr(c.Ka,a.Qa());if(!d)return null;var e=c.Ia();e instanceof Ot||e instanceof wu||(this.Kb.o==wu?c.Ob(wu):c.Ob(Ot));if(b)return Pr(c,b),null;a:{if((e=c.s.Ia().o)&&e.Pc&&(e=e.Pc(d))){var g=new G(40,80),h=c.Ua.getQuery();if(!h)break a;var k=Ur(d,h);if(k){Vr(c,e,g,k);break a}e=u(c.Yk,c,e,
g,h);Sr(d,Tr(d),e)}c.yb(d)}return d};Bw.prototype.va=function(){bf(this.i);Bw.ma.va.call(this)};function Gw(a){Z.call(this);this.V=J("div");this.ua=Os(a);this.ha=this.ra=null;this.ta=new jp(this.V);this.ta.render(Hw);this.ta.Ja(!0);if(a=this.ta.R())uq(a,{"text-align":"left"}),a.style.height="100%";a=J("span");this.V.appendChild(a);uq(a,{cursor:"pointer",margin:"0 0 0 25px",whiteSpace:"nowrap"});wq(a);this.b.ka(a,"click",this.vi);var b=Iw(this,a,"Clear search",u(this.vi,this));Q(b,"search-bar-close-link");b=J("img");b.src="/googlebooks/images/close_x.gif";Q(b,"search-bar-close-img");uq(b,{backgroundColor:"#fff",
margin:"0 6px",verticalAlign:"middle"});a.appendChild(b);this.i=J("span");this.V.appendChild(this.i);this.j=J("SPAN");this.V.appendChild(this.j);this.ua?(wq(this.j),xg(this.j,["search-bar-sort-dropdown-button-container","search-bar-close-link"]),this.ra=I("A",{"class":"search-bar-sort-dropdown-link"}),this.j.appendChild(this.ra),a=I("SPAN",{"class":"search-bar-sort-dropdown-text"}),L(a,"Order by"),this.ha=I("SPAN",{"class":"search-bar-sort-dropdown-selected"}),L(this.ha,"relevance"),a.appendChild(this.ha),
this.ra.appendChild(a),a=Qp("/googlebooks/images/material/arrow_drop_down_black_20dp.png"),Q(a[0],"search-bar-sort-dropdown-icon"),this.ra.appendChild(a[0]),a=new Ro,b=new On("relevance"),a.Ea(b,!0),Q(b.R(),"search-bar-sort-dropdown-item"),b=new On("pages"),a.Ea(b,!0),Q(b.R(),"search-bar-sort-dropdown-item"),a.zj=!0,a.render(document.body),So(a,this.ra,13,12),this.b.ka(a,"action",this.Uk)):(this.V.appendChild(this.j),uq(this.j,{marginLeft:"5px",whiteSpace:"nowrap"}),this.j.innerHTML="-  ",
this.j.appendChild(Be("Order by: ")),this.ya=J("span"),this.j.appendChild(this.ya),Iw(this,this.ya,"relevance",u(this.xf,this,"r")),a=J("span"),b=Rp(" | <b>pages</b>"),C(a,b),this.ya.appendChild(a),this.Ba=J("span"),this.j.appendChild(this.Ba),a=J("span"),b=Rp("<b>relevance</b> | "),C(a,b),this.Ba.appendChild(a),Iw(this,this.Ba,"pages",u(this.xf,this,"n")));this.s=J("span");this.V.appendChild(this.s);uq(this.s,{marginLeft:"8px",whiteSpace:"nowrap"});this.s.innerHTML="-  ";
Iw(this,this.s,"‹ Previous",u(this.ui,this,-1));a=J("span");a.innerHTML="  ";this.s.appendChild(a);Iw(this,this.s,"Next ›",u(this.ui,this,1));a=J("span");a.innerHTML="  -  ";this.s.appendChild(a);Iw(this,this.s,"View all",u(this.el,this));Rh(this.V,!0)}var Hw,Jw,Kw;w(Gw,Z);function Fw(a,b){U(Jw,!b);U(a.j,b);U(a.s,!b&&1<a.g.ab.Eb.length);U(a.V,!0);null!=Kw&&Kw.b()}function Lw(a){a.ua?Ew(a,!1):U(a.j,!1);U(a.s,!1);De(a.i)}
function Cw(a){Lw(a);var b=a.g.ab,c=b.$c.spellresults&&b.$c.spellresults.correct_spell?b.$c.spellresults.correct_spell:null,d=null;if(c){d=J("span");var e=Rp("Did you mean: ");C(d,e);Iw(a,d,c,u(a.al,a,c))}c=J("span");b=Rp(Hb("No results found in this book for "+Pu(b)));C(c,b);b=J("a");e=Rp("Search all books");C(b,e);b.setAttribute("target","_top");Q(b,"sitb-action-link");e="patents"==iq()?new V("https://www.google.com/search?tbm=pts&tbo=p&hl=en"):new V("https://www.google.com/search?tbm=bks&tbo=p");
Xp(e);"embed"==zl(e,"output")&&e.b.remove("output");W(e,"q",ud(Pu(a.g.ab)));jd(b,e.toString());a.ua?(a.i.appendChild(c),a.i.appendChild(b),d&&(c=Rp("  ·  "),d.insertAdjacentHTML("afterbegin",Wc(c)),a.i.appendChild(d))):(d&&(a.i.appendChild(d),a.i.appendChild(J("br"))),d=Rp("  -  "),c.insertAdjacentHTML("beforeend",Wc(d)),a.i.appendChild(c),d=Rp(" »"),b.insertAdjacentHTML("beforeend",Wc(d)),a.i.appendChild(b));null!=Kw&&Kw.b()}f=Gw.prototype;
f.va=function(){Gw.ma.va.call(this);bf(this.ta);U(Jw,!0);K(this.V);null!=Kw&&Kw.b()};function Iw(a,b,c,d){var e=J("span");Q(e,"search-bar-link");b.appendChild(e);b=Rp(c);C(e,b);a.b.ka(e,"click",d);return e}f.vi=function(){Jr(this.g.Kb.g.Ua,"");var a=this.g.Kb;a&&a.V.update()};f.ui=function(a){Mw(this,this.o,a)};function Mw(a,b,c){var d=a.g.ab.Eb.length;a.o+=c;a.o>=d&&(a.o=0);0>a.o&&(a.o=d-1);a.o!=b&&(a.g.kd(a.g.ab.Eb[a.o])||Mw(a,b,c))}f.xf=function(a){var b=this.g.Kb;b&&b.update(a)};f.el=function(){Dw(this.g)};
f.al=function(a){var b=this.g.Kb;b&&(a=ud(a),Jr(b.g.Ua,a),b.s.Nb(a),b.V.update())};f.Uk=function(a){if((a=a.target.Rb())&&this.ha)switch(a){case "pages":this.xf("n");L(this.ha,"pages");break;case "relevance":this.xf("r"),L(this.ha,"relevance")}};function Ew(a,b){Ag(a.ra,"search-bar-sort-dropdown-disabled",!b);var c="n"==a.g.Ah;b&&!c&&L(a.ha,"relevance")};function Nw(a,b,c,d){Z.call(this);this.g=a;this.s=b;this.V=c;this.ha=d;this.b.ka(a.Ua,"change",u(this.update,this,"r",null))}w(Nw,Z);
Nw.prototype.update=function(a,b,c){this.i?(this.i.Da(),this.i=null):(this.g.V&&(this.o=this.g.V),this.j=new Gw(this.ha));var d=this.g.Ua.getQuery();b&&!b.search_query_escaped&&0<b.number_of_results&&d&&(b.search_query_escaped=d);if(b&&b.search_query_escaped)this.i=new Bw(this),this.j.g=this.i,a=!zl(new V(window.location.toString()),"q"),this.i.g(a,b,c);else if(d){this.i=new Bw(this);b=this.j.g=this.i;c=b.Kb.j;Lw(c);var e=Rp("Loading...");C(c.i,e);c=new V(window.location.href);W(c,"jscmd","SearchWithinVolume");
W(c,"q",d);W(c,"scoring",a);(new nt(c)).Lf(u(b.g,b,!1));b.Ah=a;this.s.Nb(d)}else this.i&&(this.i.Da(),this.i=null),this.g.Ia()instanceof Su&&this.g.Ob(this.o),this.j&&(this.j.Da(),this.j=null),this.s.Nb("")};function Ow(a,b){var c=H(a),d=H(b);c&&d&&M(c,"submit",v(Pw,d))}function Pw(a,b){""==a.value&&b.preventDefault()};function Qw(a){Z.call(this);this.g=a;this.i=new R;this.b.ka(a,"viewportmodechange",this.Qi);this.g.Ia()&&this.Qi()}w(Qw,Z);f=Qw.prototype;f.Qi=function(){Kg(this.i);this.j&&this.j.Da();this.o=this.g.Ia().i.j;var a=new oi(this.o);a.Rh=t;this.j=a;this.i.ka(this.o,"dblclick",u(this.yk,this));this.i.ka(a,"start",u(this.Ck,this));this.i.ka(a,"drag",u(this.Dk,this));this.i.ka(a,"end",u(this.Bk,this));Rw(this,!1)};f.yk=function(){this.g.nc("next")};
function Rw(a,b){var c=a.o;var d=E?b?"-moz-grabbing":"-moz-grab":b?cm("-moz-grabbing","/googlebooks/images/closedhand.cur","move"):cm("-moz-grab","/googlebooks/images/openhand.cur","default");S(c,"cursor",d)}f.Ck=function(){this.s=this.g.Ia().s;Rw(this,!0)};f.Dk=function(){var a=this.j,b=this.s;ds(this.g.Ia(),new G(b.x-a.deltaX,b.y-a.deltaY))};f.Bk=function(){this.s=null;Rw(this,!1)};f.va=function(){Qw.ma.va.call(this)};function Sw(a){this.s=a;this.ra=new Qg(document);this.j={};this.V={};M(this.ra,"key",u(this.ha,this));Tw(this,33,u(this.o,this,-1),!1,!0);Tw(this,34,u(this.o,this,1),!1,!0);Tw(this,38,u(this.b,this,0,-Sw.prototype.g),!1,!0);Tw(this,40,u(this.b,this,0,Sw.prototype.g),!1,!0);Tw(this,37,u(this.b,this,-Sw.prototype.g,0),!1,!0);Tw(this,39,u(this.b,this,Sw.prototype.g,0),!1,!0);Tw(this,32,u(this.o,this,1),!0,!0);Tw(this,74,u(this.i,this,"next"),!0);Tw(this,75,u(this.i,this,"previous"),!0);a=u(this.i,this,
"zoomin");this.j["+"]=v(Uw,a,!0,void 0);a=u(this.i,this,"zoomout");this.j["-"]=v(Uw,a,!0,void 0)}function Tw(a,b,c,d,e){a.V[b]=v(Uw,c,d,e)}Sw.prototype.ha=function(a){var b=this.j[String.fromCharCode(a.o)]||this.V[a.keyCode];b&&b(a)};function Uw(a,b,c,d){b&&d.repeat||d.ctrlKey||d.altKey||d.metaKey||Vw[d.target.tagName.toUpperCase()]||(c&&d.preventDefault(),a())}var Vw={BUTTON:!0,INPUT:!0,SELECT:!0,TEXTAREA:!0};Sw.prototype.i=function(a){this.s.nc(a)};
Sw.prototype.o=function(a){a=Math.floor(a*this.s.Ia().Aa().height*.75);this.b(0,a)};Sw.prototype.b=function(a,b){var c=this.s.Ia();fs(c,new G(a,b),u(c.qd,c))};Sw.prototype.g=20;Na("_OC_Run",function(a,b,c,d,e,g,h){Vp.update(c);e=H("gb-get-book-container");var k=H("gb-get-book-content");if(e&&k){var l=new jv(b);(new Uv(l,k)).render(e)}Vv();Qs=lv;Cq=t;l=H("viewport");M(document,"selectionchange",Ww);c.stereoscopic&&(ht=Xw);e=new Mr(l);S(document.body,{overflow:"hidden"});H("titlebar")&&S(H("titlebar"),"white-space","nowrap");var m=new cw(e,l,H("volume-left"),H("menu_scroll"),Os(c)?!1:!0);m.b();Kw=m;l=new jv(b);var q=new tu(a,e.Ua);q.s=Vp.pseudocontinuous;Or(e,q);e.Ha=l;q.hd=
l.i;a=Ot;b.disable_twopage||(uw(),a=tw[vw("M")]||Ot);d=Yw(q,d);uw();var B=vw("P");var A;d&&(A=d.Qa());k=new ju(e,H("volume-left"),H("volume-center"));dw(m,k);A=[B,A,q.b.wb()[0].Qa()];var N;kb(A,function(fa){return fa&&fr(q,fa)?(N=fa,!0):!1});A=e.Ua;g&&Jr(A,ud(g.search_query_escaped));Pr(e,N);A=new Xu(e,k);Hw=H("search_bar");Jw=H("toolbar_container");m=Zw(e,v($w,e,A));m=new Nw(e,m,A,c);g?(m.o=a,m.update("n",g,N)):e.Ob(a);ou=new nu(e.ta,e.o,k);ax(e,q);bx(e);cx();new Qw(e);g=new $v(e);e.go();A.Ga(!0);
A.update();M(Vt,"click",u(A.update,A));dx(l.Na);P(v(ex,e,k,A,!b.disable_twopage,Vp.enableThumbnailViewport,c,l,h,Vp.enableClips?v(fx,g):void 0));h&&gx(l,h);_OC_InitHooks(v(hx,e),t,t,t,t,t);M(document,"keydown",ix);Ow("vheadf","vheadq");Ow("gbqf","gbqfq");b=H("buy-tooltip");c=H("buy-tooltip-box");b&&c&&Sp(b,c);pt();b=H("gbqfq");c=H("gbqfqw");b&&new Kq(b,!0,c,-9);P(v(jx,e,d))});
function jx(a,b){var c=a.Ha;if(c.b&&c.b.focus_aid&&b.wg){var d=c.b?c.b.focus_aid:null,e=a.Ia();b.wg(d)&&(d=b.wg(d).ve.aid,b.g&&d in b.g&&(b.s=b.g[d]),d=c.uc(),xa(c.g)||(c.g=c.b.read_zm,c.g=xa(c.g)?c.b.read_zm:4,c.g=fe(c.g,-1,c.uc().length-1)),e.ef(e.Sd(d[c.g]+2)),Rt(e,b)&&(c=Rt(e,b),e.qd(c),e.tg(b)))}}function gx(a,b){var c=ov([a],b),d=H("addToLibraryLink"+a.Sc());d&&(c=new cv(a,c),Q(d,"jfk-button-standard"),Ym(c,d),c.Ja(!0))}
function ex(a,b,c,d,e,g,h,k,l){Os(g)?(b=H("gb-entity-page-toolbar-left"),g=new jw({Ma:a,flags:g,ee:!0}),g.render(b),sw(g,b,!0),g=H("gb-entity-page-toolbar-right"),c=new jw({Ma:a,history:c,re:d,qe:e,we:l,ee:!1}),c.render(g),sw(c,g,!1)):(c={Ma:a,vg:b,history:c,re:d,qe:e,xh:!0,Eh:h,Ch:k,flags:g,we:l,wh:!0},d=H("left-toolbar-buttons"),e=H("right-toolbar-buttons"),(new Pv({Ma:c.Ma,vg:c.vg,history:c.history,re:c.re,qe:c.qe,Eh:c.Eh,Ch:c.Ch,flags:c.flags,we:c.we,wh:c.wh,ee:!0,tj:c.tj})).render(d),(new Pv({Ma:c.Ma,
xh:c.xh,vm:!0})).render(e));c=H("toolbar_container");De(c);c.style.padding="0";new Sw(a)}function Ww(){if(D&&document.selection&&!kx){var a=document.selection.createRange();Ie(a.parentElement(),H("viewport"))&&(kx=!0,document.selection.empty(),P(lx))}}function lx(){kx=!1}var kx=!1;function hx(a,b,c){(b=fr(a.Ka,b))?a.yb(b):c&&nd(window.location,c)}function Yw(a,b){var c=b.page[0],d=fr(a,c.pid);return d?(d.Fd(c,Tr(d).toString()),Ts(d,c),d):null}
function cx(){for(var a=["footer_table"],b=0;b<a.length;b++){var c=H(a[b]);c&&S(c,{display:"none"})}}function ax(a,b){var c=H("page_label");c||(c={form:H("jtp_form"),input:H("jtp")});new Zv(a,b,c)}function bx(a){a.dispatchEvent("pagemodechange");var b=H("text_mode");b&&(S(b,{cursor:"pointer"}),M(b,"click",v(mx,a)))}function $w(a,b,c){Jr(a.Ua,c);b.update()}function Zw(a,b){iw("search_form_input");var c=new ew(H("search_form_input"),a.Ua.getQuery());M(H("search_form"),"submit",v(nx,c,b));return c}
function nx(a,b,c){var d=H("sits");d&&d.checked&&""!=H("search_form_input").value||(c.preventDefault(),ks=!1,H("search_form_input").blur(),b(a.tb()))}function dx(a){var b=H("magazine_other_issues");if(b&&a){a=new Vq(new eq,a,!0);var c=I("DIV",{"class":"other_issues_content"});b.appendChild(c);a.render(c);a.lf()}}function mx(a,b){b.preventDefault();var c=new V(Rs(a.Ca()).toString());W(c,"output","text");nd(window.location,c.toString())}
function fx(a,b){Ag(H("viewport"),"selection-mode",b);wt=b;a.Ga(!b)}function ix(a){(Nd?a.metaKey:a.ctrlKey)&&70==a.keyCode&&(a.preventDefault(),a=H("search_form_input"),ox=ox||new ni(a,[255,255,136],[255,255,255],700,vi),ox.play(!0),a.focus())}var ox=null;function Xw(a){return Uk(a,"edge","3d")}Na("_OC_MenuHideHook",t);}).call(this);
})();
Download